Consider the following example:
Code: Select all
\documentclass{article}
\usepackage[danish]{babel}
\begin{document}
\section{Horse}
Test.
\part{Dog}
Test.
\section{Goat}
Test.
\end{document}
How do I fix this?
Thank you in advance!
Code: Select all
\documentclass{article}
\usepackage[danish]{babel}
\begin{document}
\section{Horse}
Test.
\part{Dog}
Test.
\section{Goat}
Test.
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\documentclass{article}
\usepackage[danish]{babel}
\usepackage{hyperref}
\begin{document}
\tableofcontents
\section{Horse}
Test.
\part{Dog}
Test.
\section{Goat}
Test.
\end{document}
At the same level as the ones after the first part command, i.e., one level deeper than the part.meho_r wrote:If you have a section before the first part command, where would you put it?
Section 2 has a parent node, i.e. part 1 (which is the highest level in the document) and being at level 2 is fine. But section 1 has no parent, so it would have to "hang in air", be child of nothing and I'm really not sure how would that be possible. That is what I'm trying to tell you. Even in PDF editors like PDF-Xchange, putting a bookmark at level 2 when there is no level 1 prior to it doesn't seem to be achievable.svend_tveskaeg wrote:At the same level as the ones after the first part command, i.e., one level deeper than the part.meho_r wrote:If you have a section before the first part command, where would you put it?
Any way I can get this (even though it isn't correct, apparently)?
NEW: TikZ book now 40% off at Amazon.com for a short time.