3
votes
1answer
85 views

How to lowercase first word of sentence

I have a section like this in my document. \section{\textit{Use case} 5: Restore backup} \label{sec:UC5} I am using the hyperref package to make references that includes the content of the section ...
4
votes
0answers
54 views

Using the long form of a section title in the TOC

I would like to use a full section title for: the section title itself (of course) the table of contents the running heads But, I would like a short name to be used with \nameref{}, because ...
1
vote
1answer
18 views

Sections in ToC with links but without headings

I want to include some external documents (PDFs) in the appendix of the document I am writing. I would like to have these included documents listed in my table of contents, but no section heading ...
2
votes
1answer
54 views

Glossaries package has a conflict with \boldsymbol in headings while hyperref is loaded

I have encountered an error while trying to add glossaries to a document where I had used \boldsymbol in a \section command, this error occurs only if the package hyperref is loaded. I hope the ...
10
votes
3answers
228 views

How can I make subsections lose the section number within the section and gain the section number outside it?

For a paper I am typesetting, the author wants subsections to be written with single numerals. So far, OK, \renewcommand{\thesubsection}{\arabic{subsection}} does the job. Yet frequently, he ...
1
vote
1answer
65 views

\autoref showing subsection and subsubsection

I'm using the \autoref command from the hyperref package. I have the following code: \subsection{Foo} \label{ssec:bar} This is the overview. \subsubsection{Bar} \label{sssec:bar} This is the small ...
2
votes
2answers
68 views

How to add dot after \section number in headline and ToC, without adding dot to \ref command

I need \section (\subsection, \subsubsection ...) titles printed with dot after numbering. Example: My Title For this purpose i use: \renewcommand\thesection{\normalfont \arabic{section}.} ...
3
votes
2answers
34 views

How to put \ast in bookmark?

I need \section{\texorpdfstring{$V^\ast$}{V\textasciicircum\ast}} but \ast yields a warning.
4
votes
1answer
72 views

How to have hyperref correctly refer to phantom sections without clearing a double page

When using starred sections in a double page layout, in order to get the table of contents refer to the correct place, it is usually advised to use the method \cleardoublepage \phantomsection ...
2
votes
0answers
67 views

Incrementing counters with subsubsection instead of subsection [closed]

I have previously tried to make a document with questions and answers. In a previous question I was shown a great way to do this, using the answer package in combination with hyperref. Adding ...
2
votes
0answers
128 views

\renewcommand{\bibheadtitle} not working with hyperref package [closed]

I had a document that properly divided my biblography into three sections with the help of multibib package, and forcing the Biliography Section Titles by means of a \renewcommand{\bibheadtitle}, but ...
5
votes
1answer
177 views

bookmarksnumbered option of hyperref in beamer document

I wanted to put section numbers in pdf bookmarks of a beamer document. But section numbers didn't show up. What is the problem? \documentclass{beamer} \hypersetup{ bookmarksnumbered=true } ...
1
vote
0answers
141 views

All \ref{} to an equation refer to the section, not to the labeled equation [closed]

I am writing a document in LaTeX using TeXShop on OS X Mavericks. My .tex file looks like this: \documentclass[11pt,titlepage]{article} ...
7
votes
1answer
130 views

Second optional input to \chapter to rename bookmark

I would like to include a second optional argument in \chapter's definition to be able to give the bookmark a name different from the one displayed on the toc. The reason for this is that on the toc ...
3
votes
1answer
141 views

Incorrect link in \listoftables after \setcounter{table}{0}

I'm trying to put together a statistical analysis plan using LaTeX. This is something I've never tried before. I want to create a section at the end called table shells, but I'm running into a couple ...
5
votes
2answers
228 views

How do I use nameref's label with addcontentsline

I am trying to use the nameref \label functionality alongside the use of \addcontentsline that creates invisible sections and subsections that appear in the \tableofcontents. The commands can be seen ...
2
votes
0answers
45 views

Manually deleting \chapter ruins all hyperlinks in the document

I'm a tex noob and I'm using doxygen to generate a pdf documentation. I had doxygen generate a refman.tex file which contains something like \chapter{Program Reference} ...
2
votes
1answer
134 views

Getting table of contents to recognize titlesec paragraph

I am using hyperref to make a clickable table of contents. I am using titlesec to use \paragraph{ } as if it were a subsubsubsection. How do i get this use of \paragraph to display in my table of ...
1
vote
1answer
150 views

how to make TOC's 'List of Figure' link to title not the list itself

I made a table of content with clickable links. Links to chapters and sections work fine: when I click on them I see the chapter title and its content. On the other hand, when I click to the list of ...
0
votes
1answer
93 views

Bibiliography included in ToC but wrong hyperref linking [duplicate]

I included my bibliography in the tableofcontents as follows (documentclass report): \clearpage \addcontentsline{toc}{chapter}{References} \phantomsection \bibliographystyle{IEEEtran} ...
7
votes
1answer
114 views

pgfplots and hyperref clash for complicated figure in book class

When using the book class, pgfplots, hyperref, and section labeling according to "How to reset chapter and section counter with \part", I get the following error ! You can't use `the character -' ...
3
votes
2answers
113 views

how to link previous section

I have a document with multiple sections and a clickable TOC. I belive the TOC to be created by the following command in a package that I use. \tableofcontents As I wanted the TOC to be ...
4
votes
1answer
180 views

section titles, cyrillic and hyperref

I need to use cyrillic. I hacked from somewhere the def of \textcyrw you see below. Everything works fine, but when I need to use \textcyrw within a section title. It seems that the culprit is ...
2
votes
1answer
132 views

\nameref breaks for star versions of section/paragraph when titlesec is loaded

\nameref breaks for the star versions of section, paragraph when titlesec is loaded. I have a document that numbers paragraphs by default, but I have a few I do not want to number but would like to ...
3
votes
1answer
115 views

How to embed the list figures into the document's main ToC without bad effects on the PDF ToC

For a relatively short report I would like to merge the list of figures (LoF) into the document's table of contents. In two related questions, Gonzalo Medina has suggested to just change the file ...
6
votes
1answer
2k views

Hyperref warning which doesn't affect the output of the PDF

I have encountered a hyperref warning but there are no visible negative consequences. Additionally, LaTeX complete without a complaint. I only found the warning by looking at the .log file. Package ...
0
votes
0answers
59 views

Creating subsubsubsection and using \ref and \label (+hyperref) [duplicate]

I'm writing on my thesis and need more levels of sections. This seems to be not a rare problem. So, after some search on the web i defined my custom deeper sections in terms of the following code. ...
2
votes
2answers
266 views

Make \phantomsection get me where links to chapter usually do

I have such code: \documentclass{report} \usepackage{hyperref} \newcommand{\specnodala}[1]{\newpage\phantomsection\addcontentsline{toc}{chapter}{#1}\section*{#1}} \begin{document} \tableofcontents ...
3
votes
1answer
275 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
73 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
102 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
270 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 ...
9
votes
1answer
1k 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
165 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 ...
4
votes
1answer
256 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 ...
4
votes
1answer
98 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
259 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
940 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
196 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
222 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
213 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
275 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 ...
12
votes
4answers
451 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
721 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
1k 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
353 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
632 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
447 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
323 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
2k 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 ...