mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #2694: LaTeX error because of \sphinxstyleliteralintitle
This commit is contained in:
parent
4be797ccd3
commit
c7c07db86b
@ -903,17 +903,17 @@
|
||||
\fi
|
||||
|
||||
% additional customizable styling
|
||||
\let\sphinxstyleindexentry\texttt
|
||||
\newcommand*{\sphinxstyleindexentry}{\texttt}
|
||||
\newcommand{\sphinxstyleindexextra}[1]{ \emph{(#1)}}
|
||||
\newcommand*{\sphinxstyleindexpageref}{, \pageref}
|
||||
\newcommand{\sphinxstyletopictitle}[1]{\textbf{#1}\par\medskip}
|
||||
\let\sphinxstylesidebartitle\sphinxstyletopictitle
|
||||
\let\sphinxstyleothertitle\textbf
|
||||
\newcommand*{\sphinxstyleothertitle}{\textbf}
|
||||
\newcommand{\sphinxstylesidebarsubtitle}[1]{~\\\textbf{#1} \smallskip}
|
||||
\let\sphinxstylethead\textsf
|
||||
\let\sphinxstyleemphasis\emph
|
||||
\newcommand*{\sphinxstylethead}{\textsf}
|
||||
\newcommand*{\sphinxstyleemphasis}{\emph}
|
||||
\newcommand{\sphinxstyleliteralemphasis}[1]{\emph{\texttt{#1}}}
|
||||
\let\sphinxstylestrong\textbf
|
||||
\newcommand*{\sphinxstylestrong}{\textbf}
|
||||
\newcommand{\sphinxstyleliteralstrong}[1]{\textbf{\texttt{#1}}}
|
||||
\let\sphinxstyleabbreviation\textsc
|
||||
\let\sphinxstyleliteralintitle\texttt
|
||||
\newcommand*{\sphinxstyleabbreviation}{\textsc}
|
||||
\newcommand*{\sphinxstyleliteralintitle}{\texttt}
|
||||
|
Loading…
Reference in New Issue
Block a user