Classes For Inline Text
These classes have an effect on inline text. If you put them on a block, all inline contents of the block will be rendered accordingly.
Classes For Inline Text I Class | Explanation |
italics | Switch to italic font. |
bold | Switch to boldface. |
small-caps | Switch to small capitals. |
gesperrt | Switch to gesperrt (extended letter spacing). |
antiqua | Switch to antiqua. |
monospaced | Switch to monospaced font. |
Classes For Inline Text II Class | Explanation |
smaller | Switch to smaller font. |
larger | Switch to larger font. |
xx-small | Switch to smallest font. |
x-small | Switch to very small font. |
small | Switch to small font. |
medium | Switch to normal font size. |
large | Switch to large font. |
x-large | Switch to very large font. |
xx-large | Switch to largest font. |
Classes For Inline Text III Class | Explanation |
red | Switch to red font. |
green | Switch to green font. |
blue | Switch to blue font. |
yellow | Switch to yellow font. |
white | Switch to white font. |
gray | Switch to gray font. |
black | Switch to black font. |
Classes For Block Text
These classes have an effect on block text. Please do not confuse the alignment of the block with the alignment of the text in the block. Eg. a table can be centered, while the text inside the table is left-aligned. The alignment of the block is set with the align option.
Classes For Block Text Class | Explanation |
left | Left-aligns the text in the block. |
center | Centers the text in the block. |
right | Right-aligns the text in the block. |
justify | Justifies the text in the block. |
white-space-pre-line | Preserves newlines. |
Classes For Front Matter Markup
EpubMaker includes a few classes to markup front matter. While it is not necessary to do this, it adds value. In future the PG catalog might automatically extract not only the cover page but also the title page, verso, etc.
Classes For Front Matter Markup Class | Explanation |
coverpage | The cover page. |
frontispiece | The frontispiece. |
titlepage | The title page. |
verso | The title page verso. |
dedication | The dedication page. |
plainpage | A general class for page. |
Use these classes on a container. These classes already insert page breaks before the container so you need not insert page breaks on your own.
.. container:: titlepage
" Pride and Prejudice
"
" Written by Jane Austen.