diff options
Diffstat (limited to 'texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex')
-rw-r--r-- | texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex b/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex index d3dd0df1..51a1307b 100644 --- a/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex +++ b/texmf-dist/doc/latex/aeb-minitoc/examples/minitoc-art.tex @@ -1,10 +1,20 @@ \documentclass{article} \usepackage{xcolor} -\usepackage[linktocpage,colorlinks]{hyperref} +\usepackage[linktocpage,colorlinks,bookmarksnumbered]{hyperref} \usepackage{booktabs} \usepackage[!nominitocs]{aeb-minitoc} % try compiling with the nominitocs option \usepackage{ifthen} +\title{The \textsf{aeb-minitoc} Package\texorpdfstring{\\[1ex]}{: }Demo for article class} +\author{D. P. Story} + +\hypersetup{% + pdftitle={The \textsf{aeb-minitoc} Package\texorpdfstring{\\[1ex]}{: }Demo for article class}, + pdfauthor={D. P. Story}, + pdfkeywords={minitoc,latex,pdf}, + pdfsubject={package to create mini-tocs within a latex document} +} + % Try uncommenting the next line, change subsection to subsection* % and subsubsection to subsubsection* in the minitocfmt below. What other % changes are needed to get a good looking mini-toc? @@ -54,6 +64,8 @@ \begin{document} +\maketitle + \tableofcontents \newpage @@ -65,9 +77,9 @@ The topic headings of this section are listed below. \insMinitoc{\minitocFmt} - -For long section headings, for them to wrap around, we need to take the hyperref option -\texttt{linktocpage}, unless pdflatex or xelatex are used. +\noindent +For long section headings to wrap around within the TOC, we need to take the hyperref option +\texttt{linktocpage}, unless \textsf{pdflatex} or \textsf{xelatex} are used. \subsection{Now is the time for all good men to come to the aid of their country, so it has been said} |