View Single Post
Old 05-16-2024, 09:03 PM   #30
graycyn
Wizard
graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.
 
Posts: 1,591
Karma: 11722446
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
Quote:
Originally Posted by RMOP View Post
Why, indeed? Because the author of the books I've converted to ePub format uses them, and it would look very much off if I didn't follow suite. He uses the em dash very frequently, the 2-em dash infrequently, and the 3-em dash only a very few times and in only one book. He uses each type of em dash for different purposes, and while his style is a bit eccentric, so is his content, and I enjoy being as consistent w it as possible.
You could try using serial em-dashes inside of a "nowrap" span. That seems to work pretty well in ADE, can't guarantee it works everywhere and under any reading system.

It's what I do when I come up against this very question for ebooks I'm making for myself. And I found the code right here on MobileRead, courtesy of RbnJrg:

https://www.mobileread.com/forums/sh...78&postcount=5

Whole thread: https://www.mobileread.com/forums/sh...d.php?t=291090

Code:
.nowrap {
    text-indent: 0;
    display: inline-block;
}
Just a thought. It's not a perfect world when it comes to ebooks.

Last edited by graycyn; 05-16-2024 at 09:06 PM. Reason: Added a link to the entire thread I referenced.
graycyn is offline   Reply With Quote