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:
Bradley M. Kuhn 2014-02-20 13:37:23 -05:00
parent e402fe14fb
commit f54257ba65
2 changed files with 10 additions and 9 deletions

View file

@ -10,15 +10,7 @@
left=1in, right=1in, top=1.25in, bottom=.75in,
]{geometry}
% 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
%\input{no-numbers-on-table-of-contents}
\begin{document}
\pagestyle{plain}

View 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