Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 08-20-2018, 04:05 PM   #1
BookGirl310
Junior Member
BookGirl310 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2018
Device: Nook GlowLight
Post Can’t get formatting correct

Not sure if anyone is familiar with the Ellen Hopkins books (Burned, Crank, Impluse, etc.), but I’m having trouble getting formatting correct.

The books are all printed in a certain way, broken up a bit so certain words line up to make other sentences & such, like this:



I don’t even know if there IS a way to get the text to line up properly in Calibre. I know the formatting is possible, as the downloaded samples of other of her books from the Nook store are correct, but is there any way to do it myself?

Last edited by BookGirl310; 08-20-2018 at 04:08 PM.
BookGirl310 is offline   Reply With Quote
Old 08-20-2018, 04:38 PM   #2
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
It looks like different paragraphs with a padding-left/margin-left > 0 and a text-indent < 0 in the css stylesheet. If that doesn't work, I'm out of ideas.
Terisa de morgan is online now   Reply With Quote
Old 08-20-2018, 06:47 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,550
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@BookGirl310 - this is really an XHTML coding question. It would be better asked in the ePUB forum, which is where the ePub coding specialists tend to hang out.

I can move the thread there if you wish.

BR
BetterRed is online now   Reply With Quote
Old 08-20-2018, 10:21 PM   #4
retiredbiker
Addict
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 384
Karma: 1638210
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Ubuntu, Jutoh,Kobo Forma
Not difficult, but depending on what you have to start with it could be a bit tedious. There are probably many ways to code it, but this should give you an idea. Like some verse, you may have to have each line as its own paragraph with its specific style class, and if there are lines long enough to spill over (depending on how you're reading it, display size, and so on) you would have to figure out how to handle that.

The title line, "triangle" might have CSS code for its class like this: (name the classes whatever you like)

Code:
font-size: 2em;
font-weight: bold;
text-align: left;
text-indent: 0;
margin-top: 0;
margin-right:0;
margin-bottom: 2em;
margin-left: 0;

Then each indented line like "Scientists say..." would be something like:

Code:
font-size: 1em;
text-align: left;
text-indent: 0;
margin-top: 0;
margin-right:0;
margin-bottom: 0;
margin-left: 3em;
And each line like "I say" would be:

Code:
font-size: 1em;
text-align: left;
text-indent: 0;
margin-top: 1.5em;
margin-right:0;
margin-bottom: .5em
margin-left: 0;
I'm just guessing at the actual margin values from your example, you can play with them, but this should give a reasonable approximation.
retiredbiker is offline   Reply With Quote
Reply

Tags
artistic formatting, formatting, help please, nook glowlight, oddness


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing ebooks (epub) to correct or change formatting WigglePig Workshop 5 10-29-2014 08:45 AM
PDF to mobi: getting the formatting correct. Matteob Conversion 3 11-06-2013 04:23 PM
help with correct formatting mario932 Conversion 1 01-05-2013 09:17 PM
Correct formatting of punctuation ghostyjack Workshop 12 08-16-2010 01:36 PM


All times are GMT -4. The time now is 05:22 AM.


MobileRead.com is a privately owned, operated and funded community.