Style Sheets

Included Style Sheets

These style sheets are included with rinohtype:

rinoh.stylesheets.sphinx

Mostly a copy of the LaTeX style included with Sphinx

Entry point name: sphinx

rinoh.stylesheets.sphinx_article

The Sphinx stylesheet adjusted for the article template

Entry point name: sphinx_article

rinoh.stylesheets.sphinx_base14

The Sphinx stylesheet, but using the fonts from the PDF core set (yielding smaller PDF files)

Entry point name: sphinx_base14

Additional style sheets can be installed from PyPI. The installed style sheets can be listed using rinoh --list-stylesheets.

Default Matcher

The default matcher provides the selectors for the styles used in the standard style sheets.

rinoh.stylesheets.matcher

The default matcher defines the following styles

Element Style Classes

These are the style classes corresponding to each type of document element. For each style class, the supported style attributes are listed along with the values that can be assigned to them in a style sheet.

draw.LineStyle

Style class for Line

draw.ShapeStyle

Style class for Shape

flowable.FlowableStyle

Style class for Flowable

flowable.LabeledFlowableStyle

Style class for LabeledFlowable

flowable.GroupedFlowablesStyle

Style class for GroupedFlowables

flowable.FloatStyle

Style class for Float

image.CaptionStyle

Style class for Caption

image.FigureStyle

Style class for Figure

index.IndexStyle

Style class for Index

paragraph.ParagraphStyle

Style class for Paragraph

text.TextStyle

Style class for Text

inline.InlineFlowableStyle

Style class for InlineFlowable

reference.ReferencingParagraphStyle

Style class for ReferencingParagraph

reference.NoteMarkerStyle

Style class for NoteMarker

structure.SectionStyle

Style class for Section

structure.HeadingStyle

Style class for Heading

structure.ListStyle

Style class for List

structure.ListItemLabelStyle

Style class for ListItemLabel

structure.TableOfContentsStyle

Style class for TableOfContents

structure.TableOfContentsEntryStyle

Style class for TableOfContentsEntry

structure.AdmonitionStyle

Style class for Admonition

structure.HorizontalRuleStyle

Style class for HorizontalRule

table.TableStyle

Style class for Table

table.TableCellStyle

Style class for TableCell

table.TableCellBorderStyle

Style class for TableCellBorder

table.TableCellBackgroundStyle

Style class for TableCellBackground