[XeTeX] \subsubsection or something similar?

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sat Jul 5 20:31:55 CEST 2014


On 05.07.2014 19:01, Sharon Kimble wrote:
> 
> How can I have "\subsubsection*{Indications}" showing in the PDF, but
> not in the toc? This is in the "article class", and using the above
> there is no differentation between the heading and the rest of the
> text. \section is used for the chapter headings, \subsection for the
> individual drug names, and \subsubsection for the individual sections of
> the drug. Or is there anything that I could use in place of
> \subsubsection please?

I assume you meant PDF bookmarks/outlines with PDF:


\documentclass{article}
\usepackage{hyperref}
\usepackage{bookmark}
\bookmarksetup{
  depth=subsubsection,
  numbered,
}
\setcounter{tocdepth}{2}

\begin{document}
\tableofcontents
\section{Chapter heading}
\subsection{Drug name}
\subsubsection{Individual section}
\end{document}

Yours sincerely
  Heiko Oberdiek



More information about the XeTeX mailing list