diff options
| author | Georg Brandl <georg@python.org> | 2012-12-17 08:07:17 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2012-12-17 08:07:17 +0100 |
| commit | a84a5d5f0555a343bad75fd5d5ecb4e5183023aa (patch) | |
| tree | 08419e1caf1d0d8fdee35db64aaef92edf0e143c /sphinx/texinputs | |
| parent | f9dced4bfb96284ec4e096fdd2e4c165f3da5086 (diff) | |
| download | sphinx-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.sty | 4 |
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 |
