|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2024
Device: none
|
Creating a line under chapter number
Hi, I need help.
I am still learning Calibre. To create an elegant, small line between my chapter number and my character’s name at the chapter opener, is it better to use a png of a small line, or is it ok to use a Bergamot Ornament typeface?Selecting the tilde ~ gives a nice little line in Bergamot Ornament. But I’m worried that all epub readers will strip out the Bergamot Ornament typeface. I see these lines with tapered ends in other epubs. Are they using images? Thanks!! |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,707
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
There are various methods, but it depends on...
1. What type of line you are wanting. Just a simple straight line, or some type of ornamental Fleuron? 2. Which ereader will you be reading it on? Maybe post a screenshot of what you want it to look like. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,356
Karma: 62500000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Or simple, basic CSS ways
Keywords: <hr /> text-decoration: underline (see the 'box model' theory for understanding) border-bottom padding-bottom |
|
|
|
|
|
#4 |
|
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,241
Karma: 111120239
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
And css can have width: 30%; like on an <hr class="small" />
|
|
|
|
|
|
#5 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,356
Karma: 62500000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,241
Karma: 111120239
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Then no margin-left is needed, but yes the math approach is reliable. Of course maybe the line isn't wanted to be centred, but margin-left: 1.5em;. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating headers from parent chapter and not section | shlomikalfa | Conversion | 1 | 06-05-2021 06:57 AM |
| Number of pages in a chapter | Ashjuk | Sigil | 13 | 12-31-2020 12:59 PM |
| Creating Chapter Divisions with Plain Text Files | KitsuneStylinson | Conversion | 6 | 09-02-2012 10:57 AM |
| Creating an empty line - which way is better? | NASCARaddicted | ePub | 4 | 10-31-2011 06:24 AM |
| Ebook chapter titles: with or without chapter number? | amoroso | Writers' Corner | 16 | 06-14-2011 07:35 AM |