Article¶
The article template consists of a title page, an optional table of contents and the body text. By default, it uses a single numbering style for all pages and the same template for even and odd pages.
- class rinoh.templates.article.Article(document_tree, configuration=None, backend=None)¶
- stylesheet¶
Overrides the default set in
DocumentTemplateAccepts
StyleSheet: the name of an installed style sheet or the filename of a stylesheet file (with the.rtsextension)Default:
sphinx_article(=rinoh.stylesheets.sphinx_article)
- abstract_location¶
Where to place the abstract
Accepts
AbstractLocation:title,front matterDefault:
front matter
- parts¶
Overrides the default set in
DocumentTemplateAccepts
PartsList: a space-separated list of document part template namesDefault:
titlefront_mattercontents
- language¶
The main language of the document (inherited from
DocumentTemplate)Accepts
Language: the code of one of the supported languagesDefault:
EN(English)
- strings¶
Strings to override standard element names (inherited from
DocumentTemplate)Accepts
Strings: strings need to be entered in INI sections named after theStringCollectionsubclassesDefault:
none
- title¶
base:
None- Type
- front_matter¶
base:
NoneOverrides these defaults:
page_number_format=continue
- Type
ArticleFrontMatter
- contents¶
base:
NoneOverrides these defaults:
page_number_format=continue
- Type
- title_page¶
base:
pageOverrides these defaults:
top_margin=8cm
- Type
- Configuration¶
alias of
rinoh.template.ArticleConfiguration
- ConfigurationFile¶
alias of
rinoh.template.ArticleConfigurationFile
- class rinoh.templates.article.AbstractLocation¶
Where to place the article’s abstract
Accepts:
title,front matter