Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite5daf7a

Browse files
tacaswellQuLogic
authored andcommitted
DOC: Use latex_elements instead of individual settings.
They were deprecated in Sphinx 0.5.
1 parentf051405 commite5daf7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎doc/conf.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,6 @@
241241
# The paper size ('letter' or 'a4').
242242
latex_paper_size='letter'
243243

244-
# The font size ('10pt', '11pt' or '12pt').
245-
latex_font_size='11pt'
246-
247244
# Grouping the document tree into LaTeX files. List of tuples
248245
# (source start file, target name, title, author, document class [howto/manual]).
249246

@@ -258,8 +255,9 @@
258255
# the title page.
259256
latex_logo=None
260257

258+
latex_elements= {}
261259
# Additional stuff for the LaTeX preamble.
262-
latex_preamble=r"""
260+
latex_elements['preamble']=r"""
263261
% In the parameters section, place a newline after the Parameters
264262
% header. (This is stolen directly from Numpy's conf.py, since it
265263
% affects Numpy-style docstrings).
@@ -279,7 +277,9 @@
279277
\usepackage{enumitem}
280278
\setlistdepth{2048}
281279
"""
280+
latex_elements['pointsize']='11pt'
282281

282+
# Grouping the document tree into LaTeX files. List of tuples
283283
# Documents to append as an appendix to all manuals.
284284
latex_appendices= []
285285

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp