mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Replace \bf and \rm by \textbf and \textrm. Patch by
Marcin Szamotulski.
This commit is contained in:
parent
5e8d7b9c38
commit
ab5d4107c8
@ -137,7 +137,7 @@
|
|||||||
|
|
||||||
% Some custom font markup commands.
|
% Some custom font markup commands.
|
||||||
%
|
%
|
||||||
\newcommand{\strong}[1]{{\bf #1}}
|
\newcommand{\strong}[1]{{\textbf{#1}}}
|
||||||
\newcommand{\code}[1]{\texttt{#1}}
|
\newcommand{\code}[1]{\texttt{#1}}
|
||||||
\newcommand{\bfcode}[1]{\code{\bfseries#1}}
|
\newcommand{\bfcode}[1]{\code{\bfseries#1}}
|
||||||
\newcommand{\email}[1]{\textsf{#1}}
|
\newcommand{\email}[1]{\textsf{#1}}
|
||||||
@ -333,7 +333,7 @@
|
|||||||
\@ifundefined{ChTitleVar}{}{
|
\@ifundefined{ChTitleVar}{}{
|
||||||
\ChNameVar{\raggedleft\normalsize\py@HeaderFamily}
|
\ChNameVar{\raggedleft\normalsize\py@HeaderFamily}
|
||||||
\ChNumVar{\raggedleft \bfseries\Large\py@HeaderFamily}
|
\ChNumVar{\raggedleft \bfseries\Large\py@HeaderFamily}
|
||||||
\ChTitleVar{\raggedleft \rm\Huge\py@HeaderFamily}
|
\ChTitleVar{\raggedleft \textrm{\Huge\py@HeaderFamily}}
|
||||||
% This creates chapter heads without the leading \vspace*{}:
|
% This creates chapter heads without the leading \vspace*{}:
|
||||||
\def\@makechapterhead#1{%
|
\def\@makechapterhead#1{%
|
||||||
{\parindent \z@ \raggedright \normalfont
|
{\parindent \z@ \raggedright \normalfont
|
||||||
|
Loading…
Reference in New Issue
Block a user