![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2018
Device: iBooks on iPad Pro
|
Indentation in second line
Hi. See the red line in the attached picture. How can I make special indentation for 2. (and following) line(s) like the one shown in the picture? Also I need all the ":" (colons) to be aligned. Regards.
|
![]() |
![]() |
![]() |
#2 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
|
Quote:
Code:
.verse { display: block; font-size: 1em; font-style: italic; line-height: 1.2; margin-bottom: 0.1em; margin-left: 3em; margin-top: 0; text-align: left; text-indent: -2em; } |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Someone is stuck on "exactly as a PRINTED book"
![]() Take a Picture. That won't reflow. EVER. Won't cause problems with those pesky dots having the wrong count. There are no PAGES in an e-book. Screens full, yes! And the partial solution to your mess: Hanging Indent |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2018
Device: iBooks on iPad Pro
|
Thank you very much retired biker.
theducks - I don't want a result exactly as a printed book - but I want to keep some of the stunning features characterizing the original historic text (see attachment). Regards degn |
![]() |
![]() |
![]() |
#5 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
This is not a question about the Calibre editor. Moved to the ePub forum.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Your original example was a TOC with a fill of dots to a page number. There is no 'fill' that would adjust to changing of a font size, viewing on a different screen size. Something can be done, others.... One of the first things I did when learning EPUB style HTML, was to create a (code) sampler of looks for books ![]() ![]() |
|
![]() |
![]() |
![]() |
#7 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
One issue with the dropcap you showed is that every device and application are very likely to render the page slightly differently. A couple of years back, I spent too much time working with an author trying to get his dropcap images to look good on multiple devices. We finally gave up and generated multiple variations of his ebook that were optimized for different stores (Kobo, iBooks and Amazon).
|
![]() |
![]() |
![]() |
#8 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Nope, the only way--and even that won't work--is a table. When you create a table, in ePUB/MOBI format, the cells cheerfully resize themselves to the content. You will end up with a table that has cells sized to the longest content. You could, possibly, create a three column table. Put content on the left, put the colons in the middle, and then the other content in the right-hand cell. But in your case, you're using a proportional font (most likely) to create the emdash, then space (which is always, always fungible, even when an nbsp) and then the colon. You're asking for migraines, and worse--it's not going to work. Honestly, at that you might as well go for a print replica (fixed-layout in ePUB3). Why inflict that on your readers? You talk about "stunning features," but surely, a colon is not in and of itself, stunning. That's...that's a TOC. It's functional, not stunning. You can't do the dot leaders, either--those will never work in a reflowable environment, so...why not embrace the new environment, use a suitable font, and try to make it work that way? In terms of BFLS, Boxed letters, you're also going to have headaches with those, as Ducky and DNSB have told you. All you need is someone to change the font size--or change the font, or be using a device that doesn't display embedded fonts, and VOILA!, your careful work is all undone, and the boxed-letter is floating around above the paragraph someplace. There are ways to embrace content. Ask Granny Grump, who's around here someplace. Channel the look and feel, but don't slavishly try to replicate the looks that you simply cannot do. The kluges that you come up with will negatively affect your readers, which you don't want. I am really not trying to dissuade you--I'm just trying to save you many, many hours of work and experimentation that are going to end up not working, when push comes to shove. It's like your other post--justified content, with the last widowed line centered. Oy! That will never work, not today. Believe me when I tell you, been there, done that and I always end up rueing the work. Hitch |
|
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#10 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,221
Karma: 35037583
Join Date: May 2011
Location: PA {back in the usa!}
Device: Sony PRS-T2, ADE on PC
|
Of course, the first thing to ask --- are you doing this for your own personal reading? Or are you producing a book to distribute to other people?
There are things you can do to make it look exactly as you wish if you only have to set it up for your own device/software. But other people won't be using your device or software, and as everybody here is warning you, things can go very wrong. You can test this yourself just by changing font sizes in your own reader, and see what happens. ps--@TheDucks --- OSFN ??? One Size Fits Nobody? Last edited by GrannyGrump; 03-04-2019 at 04:14 AM. |
![]() |
![]() |
![]() |
#11 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
![]() Thanks, Granny--I was wondering that my own dang self. Hitch |
|
![]() |
![]() |
![]() |
#12 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#13 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
![]() |
![]() |
![]() |
#14 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
![]() |
![]() |
![]() |
#15 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
Tags |
calibre, indentation, layout |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Code snippet misses line numbers and messes indentation up | dom9 | Conversion | 3 | 10-08-2017 11:09 PM |
Indentation in right aligned long line poems | AlexBell | ePub | 25 | 07-13-2015 02:26 PM |
How do I create first line paragraph indentation with Calibre? | stutzj | Calibre | 4 | 01-21-2014 11:09 AM |
[Suggestion] Change indentation to one letter per indentation level. | John Peterson | Development | 1 | 10-22-2012 02:05 PM |
Preserving Indentation | zaph0d | Conversion | 5 | 05-30-2011 04:41 PM |