@@ -1464,16 +1464,6 @@ Macros
14641464 ``\sphinxsamedocref ``; ``\emph{#1} ``
14651465 ``\sphinxparam ``; ``\emph{#1} ``
14661466 ``\sphinxoptional ``; ``[#1] `` with larger brackets, see source
1467- ``\sphinxnotetitle ``; ``\sphinxstrong{#1}<space> ``
1468- ``\sphinxhinttitle ``; *idem *
1469- ``\sphinximportanttitle ``; *idem *
1470- ``\sphinxtiptitle ``; *idem *
1471- ``\sphinxwarningtitle ``; *idem *
1472- ``\sphinxcautiontitle ``; *idem *
1473- ``\sphinxattentiontitle ``; *idem *
1474- ``\sphinxdangertitle ``; *idem *
1475- ``\sphinxerrortitle ``; *idem *
1476- ``\sphinxseealsotitle ``; ``\sphinxstrong{#1}\par\nopagebreak ``
14771467
14781468 .. versionadded :: 1.4.5
14791469 Use of ``\sphinx `` prefixed macro names to limit possibilities of conflict
@@ -1488,53 +1478,42 @@ Macros
14881478 .. versionadded :: 6.2.0
14891479 ``\sphinxparam ``, ``\sphinxsamedocref ``
14901480
1491- .. versionadded :: 6.2.0
1492- ``\sphinxnotetitle `` et al. The ``#1 `` is the localized name of the
1493- directive, with a final colon. Wrap it as ``\sphinxremovefinalcolon{#1} ``
1494- if this final colon is to be removed. Example:
1495-
1496- .. code-block :: latex
1497-
1498- \renewcommand \sphinxwarningtitle [1]{%
1499- \u nderline{\t extbf{\s phinxremovefinalcolon{#1}}}\par
1500- }
1501- \renewcommand {\s phinxnotetitle}[1]{%
1502- \t extit{\t extbf{\s phinxremovefinalcolon{#1}}}\par\nobreak
1503- % LaTeX syntax is complex and we would be better off using \hrule here.
1504- {\p arskip0pt\n oindent}%
1505- \raisebox {1ex}%
1506- {\m akebox[\l inewidth]{\t extcolor{sphinxnoteBorderColor}{\d otfill}}}
1507- % It is complex to obtain nice vertical spacing for both a paragraph or
1508- % a list following up; this set-up is better for a text paragraph next.
1509- \par\vskip -\parskip
1510- }
1511-
15121481- More text styling:
15131482
15141483 .. csv-table ::
15151484 :header: Name, ``maps argument #1 to: ``
15161485 :align: left
15171486 :delim: ;
15181487
1519- ``\sphinxstyleindexentry ``; ``\texttt{#1} ``
1520- ``\sphinxstyleindexextra ``; ``(\emph{#1}) `` (with a space upfront)
1521- ``\sphinxstyleindexpageref ``; ``, \pageref{#1} ``
1522- ``\sphinxstyleindexpagemain ``; ``\textbf{#1} ``
1523- ``\sphinxstyleindexlettergroup ``; ``{\Large\sffamily#1}\nopagebreak\vspace{1mm} ``
1488+ ``\sphinxstyleindexentry ``; ``\texttt{#1} ``
1489+ ``\sphinxstyleindexextra ``; ``(\emph{#1}) `` (with a space upfront)
1490+ ``\sphinxstyleindexpageref ``; ``, \pageref{#1} ``
1491+ ``\sphinxstyleindexpagemain ``; ``\textbf{#1} ``
1492+ ``\sphinxstyleindexlettergroup ``; ``{\Large\sffamily#1}\nopagebreak\vspace{1mm} ``
15241493 ``\sphinxstyleindexlettergroupDefault ``; check source, too long for here
1525- ``\sphinxstyletopictitle ``; ``\textbf{#1}\par\medskip ``
1526- ``\sphinxstylesidebartitle ``; ``\textbf{#1}\par\medskip ``
1527- ``\sphinxstyleothertitle ``; ``\textbf{#1} ``
1528- ``\sphinxstylesidebarsubtitle ``; ``~\\\textbf{#1} \smallskip ``
1529- ``\sphinxstyletheadfamily ``; ``\sffamily `` (*this one has no argument *)
1530- ``\sphinxstyleemphasis ``; ``\emph{#1} ``
1531- ``\sphinxstyleliteralemphasis ``; ``\emph{\sphinxcode{#1}} ``
1532- ``\sphinxstylestrong ``; ``\textbf{#1} ``
1533- ``\sphinxstyleliteralstrong ``; ``\sphinxbfcode{#1} ``
1534- ``\sphinxstyleabbreviation ``; ``\textsc{#1} ``
1535- ``\sphinxstyleliteralintitle ``; ``\sphinxcode{#1} ``
1536- ``\sphinxstylecodecontinued ``; ``{\footnotesize(#1)}} ``
1537- ``\sphinxstylecodecontinues ``; ``{\footnotesize(#1)}} ``
1494+ ``\sphinxstyletopictitle ``; ``\textbf{#1}\par\medskip ``
1495+ ``\sphinxstylesidebartitle ``; ``\textbf{#1}\par\medskip ``
1496+ ``\sphinxstyleothertitle ``; ``\textbf{#1} ``
1497+ ``\sphinxstylesidebarsubtitle ``; ``~\\\textbf{#1} \smallskip ``
1498+ ``\sphinxstyletheadfamily ``; ``\sffamily `` (*this one has no argument *)
1499+ ``\sphinxstyleemphasis ``; ``\emph{#1} ``
1500+ ``\sphinxstyleliteralemphasis ``; ``\emph{\sphinxcode{#1}} ``
1501+ ``\sphinxstylestrong ``; ``\textbf{#1} ``
1502+ ``\sphinxstyleliteralstrong ``; ``\sphinxbfcode{#1} ``
1503+ ``\sphinxstyleabbreviation ``; ``\textsc{#1} ``
1504+ ``\sphinxstyleliteralintitle ``; ``\sphinxcode{#1} ``
1505+ ``\sphinxstylecodecontinued ``; ``{\footnotesize(#1)}} ``
1506+ ``\sphinxstylecodecontinues ``; ``{\footnotesize(#1)}} ``
1507+ ``\sphinxstylenotetitle ``; ``\sphinxstrong{#1}<space> ``
1508+ ``\sphinxstylehinttitle ``; *idem *
1509+ ``\sphinxstyleimportanttitle ``; *idem *
1510+ ``\sphinxstyletiptitle ``; *idem *
1511+ ``\sphinxstylewarningtitle ``; *idem *
1512+ ``\sphinxstylecautiontitle ``; *idem *
1513+ ``\sphinxstyleattentiontitle ``; *idem *
1514+ ``\sphinxstyledangertitle ``; *idem *
1515+ ``\sphinxstyleerrortitle ``; *idem *
1516+ ``\sphinxstyleseealsotitle ``; ``\sphinxstrong{#1}\par\nopagebreak ``
15381517
15391518 .. versionadded :: 1.5
15401519 These macros were formerly hard-coded as non customizable ``\texttt ``,
@@ -1550,6 +1529,26 @@ Macros
15501529 .. versionadded :: 1.8
15511530 ``\sphinxstyleindexlettergroup ``, ``\sphinxstyleindexlettergroupDefault ``.
15521531
1532+ .. versionadded :: 6.2.0
1533+ ``\sphinxstylenotetitle `` et al. The ``#1 `` is the localized name of the
1534+ directive, with a final colon. Wrap it as ``\sphinxremovefinalcolon{#1} ``
1535+ if this final colon is to be removed. Examples:
1536+
1537+ .. code-block :: latex
1538+
1539+ \renewcommand \sphinxstylewarningtitle [1]{%
1540+ \u nderline{\t extbf{\s phinxremovefinalcolon{#1}}}\par
1541+ }
1542+ \renewcommand {\s phinxstylenotetitle}[1]{%
1543+ \t extit{\t extbf{\s phinxremovefinalcolon{#1}}}\par\nobreak
1544+ % LaTeX syntax is complex and we would be better off using \hrule.
1545+ {\p arskip0pt\n oindent}%
1546+ \raisebox {1ex}%
1547+ {\m akebox[\l inewidth]{\t extcolor{sphinxnoteBorderColor}{\d otfill}}}
1548+ % It is complex to obtain nice vertical spacing for both a paragraph
1549+ % or a list following up; this set-up is better for a paragraph next.
1550+ \par\vskip -\parskip
1551+ }
15531552
15541553- ``\sphinxtableofcontents ``: A wrapper (defined differently in
15551554 :file: `sphinxhowto.cls ` and in :file: `sphinxmanual.cls `) of standard
0 commit comments