Skip to content

Commit

Permalink
start table of contents from page 7
Browse files Browse the repository at this point in the history
  • Loading branch information
avsm committed May 28, 2022
1 parent 6b94ccd commit 2855faa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions book/cup-template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
\usepackage{newtxmath}
\usepackage{graphicx}
\makeatletter
\renewcommand*{\pagenumbering}[1]{%
\gdef\thepage{\csname @#1\endcsname\c@page}%
}
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
Expand Down Expand Up @@ -253,6 +256,7 @@
and unlocked my imagination.~~~--Anil
\end{dedication}
\tocmax{2.10}{2.8.8}{}
\setcounter{page}{6}
\tableofcontents
%\listoffigures
%\listoftables
Expand Down

0 comments on commit 2855faa

Please sign in to comment.