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
title page rule:
HorizontalRuleStyletitle page logo:
FlowableStyletitle page title:
ParagraphStyletitle page subtitle:
ParagraphStyletitle page author:
ParagraphStyletitle page date:
ParagraphStyletitle page extra:
ParagraphStylefront matter section title:
ParagraphStylebody matter chapter label:
ParagraphStylebody matter chapter number:
TextStylebody matter chapter title:
ParagraphStylefallback:
TextStyleitalic:
TextStylebold:
TextStylemonospaced:
TextStyleemphasis:
TextStylestrong:
TextStyleliteral emphasis:
TextStyleliteral strong:
TextStyleinline math:
TextStylequote:
TextStylefile path:
TextStylekeystrokes:
TextStyleregular expression:
TextStylecode with variable:
TextStylemail header:
TextStyleMIME type:
TextStylenewsgroup:
TextStylecommand:
TextStylemake variable:
TextStyleprogram:
TextStyleman page:
TextStylewindow title:
TextStyleUI control:
TextStyleUI control accelerator:
TextStylemenu cascade:
TextStyledraft comment:
TextStyletitle reference:
TextStyleerror:
TextStylelinked reference:
ReferenceStyleexternal hyperlink:
TextStylebroken hyperlink:
TextStyleglossary inline definition:
TextStylebody:
ParagraphStylecode block:
ParagraphStylecode block caption:
CaptionStylemath block:
ParagraphStyleattribution:
ParagraphStylecentered:
ParagraphStyleline block:
ParagraphStyleblock quote:
GroupedFlowablesStylechapter:
SectionStyleheading level 1:
HeadingStyleunnumbered heading level 1:
HeadingStyleheading level 2:
HeadingStyleunnumbered heading level 2:
HeadingStyleheading level 3:
HeadingStyleunnumbered heading level 3:
HeadingStyleheading level 4:
HeadingStyleunnumbered heading level 4:
HeadingStyleheading level 5:
HeadingStyleunnumbered heading level 5:
HeadingStyleother heading levels:
HeadingStyleappendix:
SectionStyleappendix heading level 1:
HeadingStyleappendix heading level 2:
HeadingStyleappendix heading level 3:
HeadingStyleappendix heading level 4:
HeadingStyleappendix heading level 5:
HeadingStyletitle:
ParagraphStyleprerequisites:
GroupedFlowablesStyleprerequisites title:
ParagraphStylepost requirement:
GroupedFlowablesStyleabstract:
GroupedFlowablesStyleabstract paragraph:
ParagraphStyleexample:
GroupedFlowablesStyleexample title:
ParagraphStyletopic:
GroupedFlowablesStyletopic title:
ParagraphStylerubric:
ParagraphStylesidebar:
GroupedFlowablesStylesidebar title:
ParagraphStylesidebar subtitle:
ParagraphStylelist item label:
ListItemLabelStylelist item body:
GroupedFlowablesStylelist item paragraph:
ParagraphStyleenumerated list:
ListStyleenumerated list item:
LabeledFlowableStyleenumerated list item label:
ListItemLabelStylenested enumerated list:
ListStyle(table) enumerated list:
ListStyle(table) enumerated list item:
LabeledFlowableStyle(table) enumerated list item label:
ListItemLabelStylebulleted list:
ListStylecompact bulleted list:
ListStylebulleted list item:
LabeledFlowableStylebulleted list item label:
ListItemLabelStylenested bulleted list:
ListStyle(table) bulleted list:
ListStyle(table) bulleted list item:
LabeledFlowableStyle(table) bulleted list item label:
ListItemLabelStylesteps list:
ListStylesteps list title:
ParagraphStylesteps list item:
LabeledFlowableStylesteps list item label:
ListItemLabelStyleunordered steps list:
ListStyleunordered steps list title:
ParagraphStyleunordered steps list item:
LabeledFlowableStyleunordered steps list item label:
ListItemLabelStylechoices list:
ListStylechoices list item:
LabeledFlowableStylechoices list item label:
ListItemLabelStyledefinition list:
GroupedFlowablesStyledefinition list item:
LabeledFlowableStyledefinition term:
GroupedFlowablesStyledefinition term paragraph:
ParagraphStyledefinition term classifier:
TextStyledefinition:
GroupedFlowablesStyledefinition paragraph:
ParagraphStylerelated links:
GroupedFlowablesStylerelated links section title:
ParagraphStylerelated links list:
ListStylerelated links list item:
LabeledFlowableStylerelated links list item label:
ListItemLabelStylerelated links list item paragraph:
ReferencingParagraphStylerelated link title reference:
ReferenceStylerelated link page reference:
ReferenceStylerelated link number reference:
ReferenceStylerelated link reference:
ReferenceStyleversionmodified:
TextStyleobject description:
LabeledFlowableStyleobject signatures:
GroupedFlowablesStyleobject signature:
ParagraphStyleobject name:
TextStyleadditional name part:
TextStyleobject type:
TextStyleobject returns:
TextStyleobject parentheses:
TextStyleobject parameter list:
TextStyleobject parameter:
TextStyleobject parameter (no emphasis):
TextStyleobject brackets:
TextStyleobject optional parameter:
TextStyleobject annotation:
TextStyleobject description content:
GroupedFlowablesStyleobject description content paragraph:
ParagraphStyleproduction list:
GroupedFlowablesStyleproduction:
LabeledFlowableStyletoken name:
ParagraphStyletoken definition:
ParagraphStylefield list:
GroupedFlowablesStylefield list item:
LabeledFlowableStylefield name:
ParagraphStyleoption list:
GroupedFlowablesStyleoption list item:
LabeledFlowableStyleoption:
ParagraphStyleoption string:
TextStyleoption argument:
TextStyleadmonition:
AdmonitionStyleadmonition title:
ParagraphStyleadmonition inline title:
TextStyleattention admonition:
AdmonitionStyleattention admonition title:
ParagraphStyleattention admonition inline title:
TextStylecaution admonition:
AdmonitionStylecaution admonition title:
ParagraphStylecaution admonition inline title:
TextStyledanger admonition:
AdmonitionStyledanger admonition title:
ParagraphStyledanger admonition inline title:
TextStyleerror admonition:
AdmonitionStyleerror admonition title:
ParagraphStyleerror admonition inline title:
TextStylehint admonition:
AdmonitionStylehint admonition title:
ParagraphStylehint admonition inline title:
TextStyleimportant admonition:
AdmonitionStyleimportant admonition title:
ParagraphStyleimportant admonition inline title:
TextStylenote admonition:
AdmonitionStylenote admonition title:
ParagraphStylenote admonition inline title:
TextStyletip admonition:
AdmonitionStyletip admonition title:
ParagraphStyletip admonition inline title:
TextStylewarning admonition:
AdmonitionStylewarning admonition title:
ParagraphStylewarning admonition inline title:
TextStyleseealso admonition:
AdmonitionStyleseealso admonition title:
ParagraphStyleseealso admonition inline title:
TextStyleheader:
ParagraphStylefooter:
ParagraphStylefootnote marker:
NoteMarkerStylecitation marker:
NoteMarkerStylefootnote paragraph:
ParagraphStylefootnote label:
ParagraphStyleimage:
FlowableStyleinline image:
InlineFlowableStylefigure:
FigureStylefigure image:
FlowableStylefigure caption:
CaptionStylefigure legend:
GroupedFlowablesStylefigure legend paragraph:
ParagraphStyletable of contents section:
SectionStyletable of contents title:
HeadingStyletable of contents:
TableOfContentsStylelocal table of contents:
TableOfContentsStyletoc level 1:
TableOfContentsEntryStyletoc level 2:
TableOfContentsEntryStyletoc level 3:
TableOfContentsEntryStyleL3 toc level 3:
TableOfContentsEntryStyletoc entry number reference field:
ReferenceStylelist of figures section:
SectionStylelist of figures:
ListOfStylelist of figures entry:
ListOfEntryStylelist of tables section:
SectionStylelist of tables:
ListOfStylelist of tables entry:
ListOfEntryStyletable:
TableStyletable with caption:
TableWithCaptionStyletable caption:
CaptionStylechoices table:
TableStyletable cell:
TableCellStyletable body cell background on even row:
TableCellBackgroundStyletable body cell background on odd row:
TableCellBackgroundStyletable body cell paragraph:
ParagraphStyletable first column paragraph:
ParagraphStyletable body cell list item number:
ParagraphStyletable head cell:
TableCellStyletable head cell paragraph:
ParagraphStyletable cell left border:
TableCellBorderStyletable cell top border:
TableCellBorderStyletable cell right border:
TableCellBorderStyletable cell bottom border:
TableCellBorderStyletable top border:
TableCellBorderStyletable bottom border:
TableCellBorderStyletable left border:
TableCellBorderStyletable right border:
TableCellBorderStyletable head cell left border:
TableCellBorderStyletable head cell right border:
TableCellBorderStyletable head bottom border:
TableCellBorderStyletable head left border:
TableCellBorderStyletable head right border:
TableCellBorderStyletable body top border:
TableCellBorderStyletable body left border:
TableCellBorderStyletable body right border:
TableCellBorderStylehorizontal rule:
HorizontalRuleStyleindex:
IndexStyleindex section label:
ParagraphStylelevel 1 index entry:
ParagraphStylelevel 2 index entry:
ParagraphStylelevel 3 index entry:
ParagraphStylelevel 4 index entry:
ParagraphStyledomain index entry name:
TextStyle
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.
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |
|
Style class for |