PG-RST Classes

PG-RST ClassesA list of classes you can use in PG-RST.Classes For Inline TextThese 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 IClassExplanationitalicsSwitch to italic font.boldSwitch to boldface.small-capsSwitch to small capitals.gesperrtSwitch to gesperrt (extended letter spacing).antiquaSwitch to antiqua.monospacedSwitch to monospaced font.Classes For Inline Text IIClassExplanationsmallerSwitch to smaller font.largerSwitch to larger font.xx-smallSwitch to smallest font.x-smallSwitch to very small font.smallSwitch to small font.mediumSwitch to normal font size.largeSwitch to large font.x-largeSwitch to very large font.xx-largeSwitch to largest font.Classes For Inline Text IIIClassExplanationredSwitch to red font.greenSwitch to green font.blueSwitch to blue font.yellowSwitch to yellow font.whiteSwitch to white font.graySwitch to gray font.blackSwitch to black font.Classes For Block TextThese 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 thealignoption.Classes For Block TextClassExplanationleftLeft-aligns the text in the block.centerCenters the text in the block.rightRight-aligns the text in the block.justifyJustifies the text in the block.white-space-pre-linePreserves newlines.Classes For Front Matter MarkupEpubMaker 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 MarkupClassExplanationcoverpageThe cover page.frontispieceThe frontispiece.titlepageThe title page.versoThe title page verso.dedicationThe dedication page.plainpageA general class for page.Use these classes on acontainer. 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.

PG-RST ClassesA list of classes you can use in PG-RST.Classes For Inline TextThese 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 IClassExplanationitalicsSwitch to italic font.boldSwitch to boldface.small-capsSwitch to small capitals.gesperrtSwitch to gesperrt (extended letter spacing).antiquaSwitch to antiqua.monospacedSwitch to monospaced font.Classes For Inline Text IIClassExplanationsmallerSwitch to smaller font.largerSwitch to larger font.xx-smallSwitch to smallest font.x-smallSwitch to very small font.smallSwitch to small font.mediumSwitch to normal font size.largeSwitch to large font.x-largeSwitch to very large font.xx-largeSwitch to largest font.Classes For Inline Text IIIClassExplanationredSwitch to red font.greenSwitch to green font.blueSwitch to blue font.yellowSwitch to yellow font.whiteSwitch to white font.graySwitch to gray font.blackSwitch to black font.Classes For Block TextThese 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 thealignoption.Classes For Block TextClassExplanationleftLeft-aligns the text in the block.centerCenters the text in the block.rightRight-aligns the text in the block.justifyJustifies the text in the block.white-space-pre-linePreserves newlines.Classes For Front Matter MarkupEpubMaker 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 MarkupClassExplanationcoverpageThe cover page.frontispieceThe frontispiece.titlepageThe title page.versoThe title page verso.dedicationThe dedication page.plainpageA general class for page.Use these classes on acontainer. 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.

A list of classes you can use in PG-RST.

Classes For Inline TextThese 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 IClassExplanationitalicsSwitch to italic font.boldSwitch to boldface.small-capsSwitch to small capitals.gesperrtSwitch to gesperrt (extended letter spacing).antiquaSwitch to antiqua.monospacedSwitch to monospaced font.Classes For Inline Text IIClassExplanationsmallerSwitch to smaller font.largerSwitch to larger font.xx-smallSwitch to smallest font.x-smallSwitch to very small font.smallSwitch to small font.mediumSwitch to normal font size.largeSwitch to large font.x-largeSwitch to very large font.xx-largeSwitch to largest font.Classes For Inline Text IIIClassExplanationredSwitch to red font.greenSwitch to green font.blueSwitch to blue font.yellowSwitch to yellow font.whiteSwitch to white font.graySwitch to gray font.blackSwitch to black font.

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.

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.

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.

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 TextThese 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 thealignoption.Classes For Block TextClassExplanationleftLeft-aligns the text in the block.centerCenters the text in the block.rightRight-aligns the text in the block.justifyJustifies the text in the block.white-space-pre-linePreserves newlines.

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 thealignoption.

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 MarkupEpubMaker 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 MarkupClassExplanationcoverpageThe cover page.frontispieceThe frontispiece.titlepageThe title page.versoThe title page verso.dedicationThe dedication page.plainpageA general class for page.Use these classes on acontainer. 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.

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.

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 acontainer. 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.

.. container:: titlepage| Pride and Prejudice|| Written by Jane Austen.


Back to IndexNext