summaryrefslogtreecommitdiff
path: root/sphinx/texinputs
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-12-17 08:07:17 +0100
committerGeorg Brandl <georg@python.org>2012-12-17 08:07:17 +0100
commita84a5d5f0555a343bad75fd5d5ecb4e5183023aa (patch)
tree08419e1caf1d0d8fdee35db64aaef92edf0e143c /sphinx/texinputs
parentf9dced4bfb96284ec4e096fdd2e4c165f3da5086 (diff)
downloadsphinx-a84a5d5f0555a343bad75fd5d5ecb4e5183023aa.tar.gz
Replace \bf and \rm by \textbf and \textrm. Patch by
Marcin Szamotulski.
Diffstat (limited to 'sphinx/texinputs')
-rw-r--r--sphinx/texinputs/sphinx.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty
index c9d3e100..ce15591a 100644
--- a/sphinx/texinputs/sphinx.sty
+++ b/sphinx/texinputs/sphinx.sty
@@ -137,7 +137,7 @@
% Some custom font markup commands.
%
-\newcommand{\strong}[1]{{\bf #1}}
+\newcommand{\strong}[1]{{\textbf{#1}}}
\newcommand{\code}[1]{\texttt{#1}}
\newcommand{\bfcode}[1]{\code{\bfseries#1}}
\newcommand{\email}[1]{\textsf{#1}}
@@ -333,7 +333,7 @@
\@ifundefined{ChTitleVar}{}{
\ChNameVar{\raggedleft\normalsize\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*{}:
\def\@makechapterhead#1{%
{\parindent \z@ \raggedright \normalfont