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

Commitb13d891

Browse files
committed
DOC: Make chapters appear in PDF table of contents
1 parentaf9428b commitb13d891

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,8 @@ def _check_dependencies():
461461

462462
# Additional stuff for the LaTeX preamble.
463463
latex_elements['preamble']=r"""
464+
% Show Parts and Chapters in Table of Contents
465+
\setcounter{tocdepth}{0}
464466
% One line per author on title page
465467
\DeclareRobustCommand{\and}%
466468
{\end{tabular}\kern-\tabcolsep\\\begin{tabular}[t]{c}}%

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp