Page Layout ⇒ how to equal high of lines in table of content
how to equal high of lines in table of content
One entry in my table of content involves a supscript symbol, thus the high of corresponding line is larger than others.
How can I equal high of all lines in order to get a beatiful table of content
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
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
how to equal high of lines in table of content
Code: Select all
\documentclass{article}
\begin{document}
\tableofcontents
\section{Top Level}
\subsection{Sample Heading Above~3}
\subsection{Sample Heading Above~2}
\subsection{Sample Heading Above}
\subsection{This Is an SN$_2$ Reaction}
\subsection{Sample Heading Below}
\subsection{Sample Heading Below~2}
\subsection{Sample Heading Below~3}
\section{Bottom Level}
\subsection{Sample Heading Above~3}
\subsection{Sample Heading Above~2}
\subsection{Sample Heading Above}
\subsection{This Is Si$^{29}$ NMR Spectroscopy}
\subsection{Sample Heading Below}
\subsection{Sample Heading Below~2}
\subsection{Sample Heading Below~3}
\end{document}
