FLM Feature flm.feature.quote¶
Provides block quotation environments (quote, blockquote, address)
with support for structured quote sections (\text, \lines,
\attributed, \block). Content can be auto-wrapped into a default
section type, and \lines sections support per-line \indent and
\\ line breaks.
- class flm.feature.quote.FeatureQuote(quote_environments: Mapping[str, TypeQuoteEnvironmentDef] | None = None)¶
Bases:
FeatureFeature plugin for block quotations. Registers configurable quote-type environments (by default
quote,blockquote, andaddress), each with its own set of enabled section commands and optional auto-wrapping of bare content. Does not require document- or render-level manager state.- feature_title: str | None = "Quote other people's words, with attribution"¶
Descriptive name or title for this feature.
- feature_flm_doc = '\n Provides the \\verbcode+\\begin{quote} ... \\end{quote}+ environment to produce\n block literary quotations.\n '¶
- DocumentManager: Type[FeatureDocumentManagerBase] | None = None¶
The document manager class to use for this feature. Instances of this class will automatically be created when a new
flmdocument.FLMDocumentis instantiated. This class is expected to be a subclass offlm.feature.FeatureDocumentManagerBase. Alternatively, set this class attribute to None in your feature subclass to indicate that this feature does not need any document manager instance.
- RenderManager: Type[FeatureRenderManagerBase] | None = None¶
The render manager class to use for this feature. Instances of this class will automatically be created when rendering a
flmdocument.FLMDocument(seeflm.flmdocument.FLMDocument.render(), and more specificallyflm.flmdocument.FLMDocument.make_render_context()). This class is expected to be a subclass offlm.feature.FeatureRenderManagerBase. Alternatively, set this class attribute to None in your feature subclass to indicate that this feature does not need any document manager instance.
- add_latex_context_definitions()¶
- flm.feature.quote.FeatureClass = <class 'flm.feature.quote.FeatureQuote'>¶
Feature plugin for block quotations. Registers configurable quote-type environments (by default
quote,blockquote, andaddress), each with its own set of enabled section commands and optional auto-wrapping of bare content. Does not require document- or render-level manager state.