Page LayoutProblem Page in Table of Contents

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Problem Page in Table of Contents

Post by coachbennett1981 »

Here is the code I am using for a table of contents. Page 1 is blank and it should not be, I can't figure out how to get ride of the blank page. Any suggestions?

Code: Select all

\documentclass[12pt]{book}
\usepackage{amsmath,amssymb,amsfonts} % Typical maths resource packages
\usepackage{fancyhdr}

\pagestyle{fancyplain}
\fancyfoot{}
\cfoot{\thepage}

\begin{document}

\begin{center}
\section*{CONTENTS}
\end{center}
\begin{tabular*}{\textwidth}{llr}
	 		&\textbf{Introduction}   &\textbf{5}\\
	 		&\textbf{About the Authors} \hspace{3in}  &\textbf{6}\\
\\
\textbf{Section I:} 	&\textbf{Assessment Test}& \textbf{9}\\ 
\\			
			&Chapter 1: Assessment Test\dotfill &10\\
			&Interpret your Score\dotfill&29\\
\\

\textbf{Section II:} 	&\textbf{Pre-Algebra}& \textbf{30}\\
\\
			&Chapter 2: Fractions\dotfill &31\\
			&Chapter 3: Order of Operations\dotfill &43 \\
			&Chapter 4: Negative Numbers\dotfill &54\\
\\			
\textbf{Section III:}	&\textbf{Algebra}& \textbf{66}\\
\\
			&Chapter 5: Simplifying Expressions\dotfill &67\\
			&Chapter 6: Exponents and Roots \dotfill &82\\
			&Chapter 7: Algebraic Manipulation\dotfill &92\\
			&Chapter 8. Inequalities\dotfill &110\\
\\		
\textbf{Section IV: }	&\textbf{Word Problems} &\textbf{124}\\
\\			
			&Chapter 9. Proportion\dotfill &125\\
			&Chapter 10. Percent\dotfill&137\\
			&Chapter 11. Miscellaneous Word Problems\dotfill &149\\
\\
\textbf{Section V:}	&\textbf{Geometry}&\textbf{163}\\
\\			
			
			&Chapter 12. Angles and Triangles\dotfill &164\\
			&Chapter 13. Lines\dotfill&182 \\
			&Chapter 14. Circles, Quadrilaterals, Multiple Figures \dotfill &189\\
			&Chapter 15. Area, Perimeter and Volume \dotfill &201\\
\\
\textbf{Section VI: }	&\textbf{Graphs} &\textbf{212}\\
\\
			&Chapter 16. Coordinate Geometry \dotfill &213\\
			&Chapter 17. Interpretation of Graphs \dotfill &231\\
\\
\textbf{Section VII:}	&\textbf{Statistics}&\textbf{247}\\
\\			
			&Chapter 18. Statistics  \dotfill &248\\ 
\\
\end{tabular*}
\newpage
\begin{tabular*}{\textwidth}{llr}
\\
\textbf{Section VIII:}	&\textbf{Miscellaneous Topics}&\textbf{256}\\	
\\
			&Chapter 19. Scientific Notation \dotfill &257\\
			&Chapter 20. Measurements \dotfill &267\\
			&Chapter 21. Patterns and Functions\dotfill &279\\
			&Chapter 22. Estimation \dotfill &292\\
\\		
\textbf{Section IX:} 	&\textbf{Final Test} & \textbf{301}\\
\\
			&Chapter 23. Final Test\dotfill &302\\


\end{tabular*} 

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Frits
Posts: 169
Joined: Wed Feb 02, 2011 6:02 pm

Problem Page in Table of Contents

Post by Frits »

Try using the longtable package. In your preamble, define

Code: Select all

\usepackage{longtable}
\setlength\LTleft{0pt}
\setlength\LTright{0pt}
and then call the longtable environment: \begin{longtable}..\end{longtable} (which is able to span multiple pages)
howtoTeX.com - Your LaTeX resource site (Tips, Tricks, Templates and more!)
Follow howtoTeX on twitter
Post Reply