Skip to content

Commit 0e35fd0

Browse files
authored
Merge pull request #34 from larrybradley/fix-latex-preamble
Remove latex preamble section redefining warnings and notes
2 parents ea81d03 + d34ea18 commit 0e35fd0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

sphinx_astropy/conf/v1.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,6 @@ def check_sphinx_version(expected_version):
298298
\DeclareUnicodeCharacter{00B0}{\ensuremath{^{\circ}}}
299299
\DeclareUnicodeCharacter{2032}{\ensuremath{^{\prime}}}
300300
\DeclareUnicodeCharacter{2033}{\ensuremath{^{\prime\prime}}}
301-
302-
% Make the "warning" and "notes" sections use a sans-serif font to
303-
% make them stand out more.
304-
\renewenvironment{notice}[2]{
305-
\def\py@noticetype{#1}
306-
\csname py@noticestart@#1\endcsname
307-
\textsf{\textbf{#2}}
308-
}{\csname py@noticeend@\py@noticetype\endcsname}
309301
"""
310302

311303
# Documents to append as an appendix to all manuals.

0 commit comments

Comments
 (0)