diff options
author | jfbu <jfbu@free.fr> | 2018-07-01 10:06:23 +0200 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2018-07-04 08:32:02 +0200 |
commit | 46bc56636e1799f80ead24215c4d4d41fc4665c1 (patch) | |
tree | e83bc6ce5c2007cb418025e45e355cd9eddea34d /sphinx/texinputs/python.ist | |
parent | 1140e81df7ee9df1135ef9f35302ffd72d5bd764 (diff) | |
download | sphinx-git-46bc56636e1799f80ead24215c4d4d41fc4665c1.tar.gz |
Fix: #5133 via ``\sphinxsymbolsname``, ``\sphinxnumbersname``
Also adds usage of \sphinxstyleindexletterhead in python.ist as a
customizable alias of original \bigletter.
Diffstat (limited to 'sphinx/texinputs/python.ist')
-rw-r--r-- | sphinx/texinputs/python.ist | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/texinputs/python.ist b/sphinx/texinputs/python.ist index 687d26cd4..acb71712e 100644 --- a/sphinx/texinputs/python.ist +++ b/sphinx/texinputs/python.ist @@ -3,11 +3,11 @@ headings_flag 1 heading_prefix " \\bigletter " preamble "\\begin{sphinxtheindex} -\\def\\bigletter#1{{\\Large\\sffamily#1}\\nopagebreak\\vspace{1mm}} +\\let\\bigletter\\sphinxstyleindexletterhead " postamble "\n\n\\end{sphinxtheindex}\n" -symhead_positive "{Symbols}" -numhead_positive "{Numbers}" +symhead_positive "{\\sphinxsymbolsname}" +numhead_positive "{\\sphinxnumbersname}" |