File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1151,6 +1151,20 @@ Miscellany
11511151 Formerly, use of *fncychap * with other styles than ``Bjarne `` was
11521152 dysfunctional.
11531153
1154+ - Docutils :dudir: `container ` directives are supported in LaTeX output: to
1155+ let a container class with name ``foo `` influence the final PDF via LaTeX,
1156+ it is only needed to define in the preamble an environment
1157+ ``sphinxclassfoo ``. A simple example would be:
1158+
1159+ .. code-block :: latex
1160+
1161+ \newenvironment {sphinxclassred}{\c olor{red}}{}
1162+
1163+ Currently the class names must contain only ascii characters and avoid
1164+ characters special to LaTeX such as ``\ ``.
1165+
1166+ .. versionadded :: 4.1.0
1167+
11541168.. hint ::
11551169
11561170 As an experimental feature, Sphinx can use user-defined template file for
You can’t perform that action at this time.
0 commit comments