Tagged Questions
0
votes
0answers
24 views
Table of Contents skipping first slide on beamer [closed]
I have this presentation with a table of contents, a background image and a "go back" button on the slides after the ToC. I know that the ToC automatically hyperlinks the existing sections, but when I ...
2
votes
1answer
38 views
How do I add section/subsection numbers to pdf bookmarks?
I'm writing up solutions to some exercises, and having problems with the bookmarks produced in the resulting pdf file. In the document I'm using \section (slightly modified) and \exercise (based on ...
5
votes
2answers
44 views
\href macro in \section conflicts with local hyperref linking in ToC
If I have a section like so
\section{Section 1}
then in the ToC, so long as I use the hyperref package, it is linked to that particular section. However, if I use an href tag as the section ...
5
votes
1answer
50 views
Avoiding pdfbookmark with amsbook
I am using the amsbook class. I want a subsection with a title different from the ToC entry as in the example below
\documentclass{amsbook}
\usepackage{hyperref}
...
7
votes
3answers
116 views
Part numbering with suffixes: I, II, IIIa, IIIb, IV,
I would like to have my parts numbered like this:
I, II, IIIa, IIIb, ... , IV, ...
I have written some code which works fine. But when using hyperref, I get this warning:
destination with the same ...
5
votes
1answer
71 views
List section in pdf bookmarks, but omit in LaTeX table of contents
Normally (under pdflatex with hyperref) a section added with \section will appear in both the LaTeX table of contents, and the pdf metadata; while a \section* will be omitted from both.
Is it ...
3
votes
1answer
84 views
Reference to section where is label
I have these equations with one label:
\section{This is super math section}
\begin{eqnarray}
c + d \\
\label{eq:eq2}
a + b
\end{eqnarray}
But how to do if I want get the section number where is the ...
3
votes
1answer
75 views
Cross reference in section title broken in header [duplicate]
I've tried searching and can't find this anywhere, but sorry if it's been asked before.
I'm using the memoir class to write a thesis using LaTeX (which I'm fairly new to) and I've got a section in my ...
3
votes
1answer
50 views
Passing normal title to the pdf bookmark
I am writing a document and a section as a very long title troubling my header. To work around this, I am using the short title like this:
\section[bla]{blablabla}
This works fine for the header, ...
3
votes
1answer
93 views
Renew table of contents level and pdf bookmarks
I'm using the labbook class which uses the commands \labday, \experiment, and \subexperiment as the 0,1,2 table of contents levels. I want to add my own chapters with TOC level of 1 and have the ...
2
votes
2answers
234 views
Problem using latexdiff and pdflatex with custom command
Using latexdiff I have the problem, that by adding new \section, I get the following error by trying to run pdflatex.
! Argument of \UL@word has an extra }.
<inserted text>
...
3
votes
1answer
92 views
How to link section title if too long and truncated using nameref command?
I use \nameref command in order to link section title. But if section title is too long and truncated it will not linked.
\documentclass[twocolumn]{article}
\usepackage{hyperref}
\begin{document}
...
6
votes
2answers
96 views
Hyperlinks in section name
I am trying to use the memoir class to typeset a document in which the section headings function as hyperlinks to other locations in the document, using the hyperref package. One of the ways that ...
3
votes
1answer
117 views
A part with sections and subsections but without chapters in ToC
My document consists of three parts. Parts 1 and 3 contain chapters and sections. Part 2 however is a bound in research paper, and as such only contains sections and subsections, however no chapters. ...
5
votes
2answers
180 views
\@startsection, hyperref and newunicodechar; protection needed?
When working with custom defined environments using \@startsection I found, after switching to newunicodechar for defining my unicode characters, that the sectioning headings give this peculiar ...
9
votes
3answers
174 views
Set chapters at section level in the table of contents
I have
\chapter{My first chapter}
\chapter{My second chapter}
\phantomsection
\addcontentsline{toc}{chapter}{Appendixes}
\appendix
\makeatletter
\def\toclevel@chapter{1}\def\toclevel@section{2}
...
6
votes
1answer
431 views
TeX capacity exceeded, when flexisym scrreport, hyperref, and section heading with math all used together
I'm getting the error:
TeX capacity exceeded, sorry [input stack size=5000]
Under the following very specific combination of packages and document class:
\documentclass{scrreprt}
...
1
vote
2answers
626 views
titlesec messin' up my hyperref'd table of contents
Please consider the following multipage MWE, which contains page number restarting; made to compile with pdflatex test.tex:
\documentclass[12pt]{article}
\usepackage{geometry}
...
5
votes
1answer
197 views
Error when using \bm in *numbered* section title, when hyperref is loaded
I am getting an error when I use the command \bm in a section title that is numbered, when the package hyperref is loaded. Here is the error:
ERROR: TeX capacity exceeded, sorry [input stack ...
3
votes
2answers
442 views
Hide section number for a specific section
I'd like to hide the number of a specific section, but it's subsections should keep the right numbering, as should the labels and numbers that appear in the PDF's bookmarks (I think it's the hyperref ...
2
votes
1answer
283 views
apa6: hyperref fails to recognize \subsubsection
I recently experienced several issues after some packages got updated. The one remaining is that hyperref doesn't recognize \subsubsection{} anymore when using the apa6 class. The bookmarks in the PDF ...
5
votes
1answer
202 views
How to define parallel section-like headings?
I am trying to help typeset a book for a friend, and I've converted most to use chapters, sections, subsections and subsubsections. However, some sections are of the form "Digression N: Text". The ...
3
votes
1answer
1k views
How to fix moderncv's ToC generation to get nesting in the PDF ToC
I am preparing a (somewhat lengthly) application using the moderncv class. For this I would like to provide for some additional structure in the PDFs ToC, that is, use something like ...
4
votes
1answer
470 views
Is it safe to use \texorpdfstring from package hyperref, outside the sectioning commands?
I have several commands with some math that I use inside and outside the sectioning commands (\section, etc.). Of course, package hyperref complains. I do not want to scan the sectioning commands to ...
3
votes
1answer
792 views
Reference to an unnumbered section
I am writing a thesis with document class report and I am using hyperref.
My structure is the following:
\chapter{First chapter}
\section{First section}
\subsection{First sub section}
...
4
votes
2answers
305 views
Linking the section titles to the ToC
(Somewhat related to Defining a Command for Linked and Indexed Section Headings).
I'm trying to have the section headings link to their entry in the Table of Contents so as to get "two-way" ...
9
votes
2answers
504 views
Linking the section text to the TOC
I'd like the section headings in running text to link to their "line" in the Table of Contents so as to get "two-way" navigation, eg: a user looks in the Table of Contents for a section title, jumps ...
7
votes
1answer
118 views
Adding to section names based on their contents
I've got a document that talks about requirements fulfilled. Each requirement has an official name, and so I've made macros that consume a requirement name and make marginpars and index entries with ...
2
votes
4answers
493 views
Letter prefix for “sections”
Between chapter and section level I sometimes need another level, which is indicated by a letter prefix. The table of contents might look like this:
1
1.1
1.2
2
A.2.1
A.2.2
B.2.1
B.2.2
3
3.1
Now I ...
0
votes
1answer
132 views
Hyperref levels are embedded, aren't being reset
I'm using the hyperref package with a custom class, and I'm having a problem with hyperref not creating the tree correctly. What I expect to see is this:
+ Section 1
++ Section 1.1
++ Section 1.2
+++ ...
3
votes
1answer
422 views
Why does hyperref bookmark work?
The \appendix command resets the section counter to zero:
*\documentclass{article}
*\show\appendix
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h ...
6
votes
1answer
490 views
\subsection{\citeauthor{some-bib-ref}} => “Token not allowed in PDF string”
I've got a section in my document in which every \subsection{} is about some paper and should be headed by a (textual) reference to that paper in the bibliography.
However, with hyperref included, ...
4
votes
1answer
805 views
part with setcounter — destination with the same identifier
When using two parts in my document and resetting the counter for the second one, I get the following warning:
destination with the same identifier (name{section.1}) has been already used, ...
2
votes
3answers
1k views
How to change the style of “Contents” heading?
Help me, please to make the style of "Contents" heading to be as \chapter{Le choix du thème}.
Also I would like to put all headings a little bit higher and to fix the hyperref for "Contents" in pdf
...
2
votes
2answers
1k views
How to hypertarget a numbered section?
I want to \hypertarget some of my sections. I know I could \label them or hypertarget right before them, but this is part of a larger framework and I don't want to treat the case where the target ...
13
votes
1answer
890 views
Defining custom sectioning commands
In a document of mine (scrbook class) I have to describe several different scenarios as part of a subsection. I originally used \subsubsection for each which are not numbered with the default setting ...
1
vote
1answer
468 views
toc/hyperref heading issue
The bibliography in my document is "incorporating" the appendices in the TOC and the bookmark structure using hyperref. The page number in TOC for Bibliography is also bigger than all other page ...
9
votes
2answers
2k views
TOC entries and labels for included PDF pages
I am embedding full pages from another PDF document (using the pdfpages package), but I would like to be able to declare my own section headings before each embedded document (for e.g. hyperlinking / ...
10
votes
1answer
859 views
titlesec, hyperref, algorithm2e, and \appendix
When I use titlesec, hyperref, and algorithm2e together, sections after an \appendix are not numbered properly.
\documentclass{article}
\usepackage{titlesec}
\usepackage{hyperref}
...
14
votes
2answers
6k views
How to put a line-break in section heading?
I have some section headings occupying two lines and I'm not satisfied with the way XeLaTeX breaks the heading. If I manually add \\ the output looks fine, but I get the following warning:
[hyperref] ...
2
votes
1answer
572 views
Short title that is not displayed in the ToC {hyperref}
I am using TexShop and because there is nothing like a navigation (or at least I don't know how to create it) and my document comprises about 200-300 pages, I try to build my own navigation in the ...
6
votes
3answers
535 views
Is it possible to add \chapter after a few \part's at the same level of hierarchy?
Consider the following code:
\documentclass{scrbook}
\usepackage[bookmarks, bookmarkstype=toc]{hyperref}
\begin{document}
\tableofcontents
\chapter{Introduction}
\part{First part}
...
5
votes
2answers
588 views
Quotation marks in section titles
I have a question similar to that in Cite in the caption of a graphic but not in \listoffigures?
I'm using this to create bookmarks in my generated PDFs:
\usepackage[pdftex,bookmarks=true]{hyperref}
...
6
votes
1answer
968 views
Problems with part-labels using titlesec
I'm using titlesec to define the layout of my headings. It's working but I've run into a problem when I use the package to define the layout of \part's.
When I try to reference to a \part, which is ...
9
votes
2answers
999 views
\autoref should call sections within the appendix “appendix” not “section”
I make use of autoref thoughout my now rather long document. I have an appendix with sections, though currently a small number, so changes could be made here.
I want references in my document to ...
3
votes
1answer
293 views
isodate in section titles with correct PDF bookmarks
I want to use isodate's \printdate as part of a command to create a new section. Simplified example:
\documentclass{article}
\usepackage{hyperref}
\usepackage[american]{isodate}
...

