LaTeX forum ⇒ Page Layouthow to equal high of lines in table of content

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Posts: 4
Joined: Sat Apr 20, 2013 6:18 pm

how to equal high of lines in table of content

Postby nguyennb » Wed Jun 18, 2014 2:26 am

Hi all!
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


Posts: 636
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Wed Jun 18, 2014 4:51 am

I can't reproduce your problem. Example:
  1. \documentclass{article}
  2. \begin{document}
  3. \tableofcontents
  4. \section{Top Level}
  5. \subsection{Sample Heading Above~3}
  6. \subsection{Sample Heading Above~2}
  7. \subsection{Sample Heading Above}
  8. \subsection{This Is an SN$_2$ Reaction}
  9. \subsection{Sample Heading Below}
  10. \subsection{Sample Heading Below~2}
  11. \subsection{Sample Heading Below~3}
  12. \section{Bottom Level}
  13. \subsection{Sample Heading Above~3}
  14. \subsection{Sample Heading Above~2}
  15. \subsection{Sample Heading Above}
  16. \subsection{This Is Si$^{29}$ NMR Spectroscopy}
  17. \subsection{Sample Heading Below}
  18. \subsection{Sample Heading Below~2}
  19. \subsection{Sample Heading Below~3}
  20. \end{document}

Please post a Infominimal working example and I'll see what I can do.

Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 1 guest