View Single Post
Old 04-03-2022, 02:06 AM   #3
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Quoth View Post
I use two styles in the wordprocessor, a a flush first paragraph for after any centred item and an an indented style for all others.
That's what I've always done.
But I came across a few books that use the p+p trick and thought it was useful and made a simpler code.

However, it just does not work reliably in Kindle, so I reverted to explicitly setting each para's style.

Code:
p {margin:0; text-indent:1.4em; text-align:justify;}
.first {margin-top:1.5em; text-indent:0;}
Putting the indent in the base style so the great majority of text is just <p>
all other p styles have to set indent to 0.
AlanHK is offline   Reply With Quote