white on black title. Make page 1 show up in PDF sidebar
This commit is contained in:
@ -2,7 +2,12 @@
|
||||
LAMMPS Documentation (|version| version)
|
||||
########################################
|
||||
|
||||
**About LAMMPS and this manual**
|
||||
.. toctree::
|
||||
:caption: About LAMMPS
|
||||
|
||||
****************************
|
||||
About LAMMPS and this manual
|
||||
****************************
|
||||
|
||||
LAMMPS stands for **L**\ arge-scale **A**\ tomic/**M**\ olecular
|
||||
**M**\ assively **P**\ arallel **S**\ imulator.
|
||||
|
||||
@ -301,6 +301,7 @@ latex_elements = {
|
||||
'preamble': r'''
|
||||
\usepackage{xcolor}
|
||||
\setcounter{tocdepth}{2}
|
||||
\setcounter{part}{-1}
|
||||
\renewcommand{\sfdefault}{ptm} % Use Times New Roman font for \textrm
|
||||
\renewcommand{\sfdefault}{phv} % Use Helvetica font for \textsf
|
||||
\usepackage[columns=1]{idxlayout} % create index with only one column
|
||||
@ -339,6 +340,7 @@ latex_elements = {
|
||||
% Make ToC number fields wider to accommodate sections with >= 100 subsections
|
||||
% or >= 10 subsections with >= 10 subsubsections
|
||||
\makeatletter
|
||||
% reset chapter counter for each part
|
||||
\@addtoreset{chapter}{part}
|
||||
\renewcommand*{\sphinxtableofcontentshook}{%
|
||||
\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{3.1em}}
|
||||
|
||||
Reference in New Issue
Block a user