I wanted to have a toc in bookmark to I used
Code: Select all
\tableofcontents
\addcontentsline{toc}{section}{Table of Contents}Thanks.
casper
Code: Select all
\tableofcontents
\addcontentsline{toc}{section}{Table of Contents}Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\pdfbookmark[1]{\contentsname}{toc}
Stefan_K wrote:Hi Casper,
tryPerhaps \clearpage and \phantomsection right before that and the \tableofcontents.Code: Select all
\pdfbookmark[1]{\contentsname}{toc}
Stefan
Code: Select all
\clearpage
\tableofcontents
\pdfbookmark[1]{\contentsname}{toc}Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis