diff --git a/comprehensive-gpl-guide.tex b/comprehensive-gpl-guide.tex index f406dac..159c917 100644 --- a/comprehensive-gpl-guide.tex +++ b/comprehensive-gpl-guide.tex @@ -9,6 +9,16 @@ 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 + \begin{document} \pagestyle{plain} \pagenumbering{roman}