Move stuff to make the ToC with now ...'s and numbers to another file,
and comment it out by default.
This commit is contained in:
parent
e402fe14fb
commit
f54257ba65
2 changed files with 10 additions and 9 deletions
|
@ -10,15 +10,7 @@
|
||||||
left=1in, right=1in, top=1.25in, bottom=.75in,
|
left=1in, right=1in, top=1.25in, bottom=.75in,
|
||||||
]{geometry}
|
]{geometry}
|
||||||
|
|
||||||
% BEGIN CODE TO FORCE NO PAGE NUMBER ON ToC
|
%\input{no-numbers-on-table-of-contents}
|
||||||
\usepackage{tocloft}
|
|
||||||
\addtocontents{toc}{\cftpagenumbersoff{part}} %% Similarly for subsection, figure... as you wish
|
|
||||||
\addtocontents{toc}{\cftpagenumbersoff{section}} %% Similarly for subsection, figure... as you wish
|
|
||||||
\addtocontents{toc}{\cftpagenumbersoff{chapter}}
|
|
||||||
\addtocontents{toc}{\cftpagenumbersoff{section}} %% Similarly for subsection, figure... as you wish
|
|
||||||
\addtocontents{toc}{\cftpagenumbersoff{subsection}} %% Similarly for subsection, figure... as you wish
|
|
||||||
\renewcommand{\cftdot}{} %empty {} for no dots. you can have any symbol inside. For example put {\ensuremath{\ast}} and see what happens.
|
|
||||||
% END CODE TO FORCE NO PAGE NUMBER ON ToC
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\pagestyle{plain}
|
\pagestyle{plain}
|
||||||
|
|
9
no-numbers-on-table-of-contents.tex
Normal file
9
no-numbers-on-table-of-contents.tex
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
% BEGIN CODE TO FORCE NO PAGE NUMBER ON ToC
|
||||||
|
\usepackage{tocloft}
|
||||||
|
\addtocontents{toc}{\cftpagenumbersoff{part}} %% Similarly for subsection, figure... as you wish
|
||||||
|
\addtocontents{toc}{\cftpagenumbersoff{section}} %% Similarly for subsection, figure... as you wish
|
||||||
|
\addtocontents{toc}{\cftpagenumbersoff{chapter}}
|
||||||
|
\addtocontents{toc}{\cftpagenumbersoff{section}} %% Similarly for subsection, figure... as you wish
|
||||||
|
\addtocontents{toc}{\cftpagenumbersoff{subsection}} %% Similarly for subsection, figure... as you wish
|
||||||
|
\renewcommand{\cftdot}{} %empty {} for no dots. you can have any symbol inside. For example put {\ensuremath{\ast}} and see what happens.
|
||||||
|
% END CODE TO FORCE NO PAGE NUMBER ON ToC
|
Loading…
Reference in a new issue