New answers tagged

1 vote

How can I get page numbers to link to the table of contents in latex?

This worked for me. % Make the page number link back to the table of contents \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyfoot[C]{\hyperlink{toc}{\thepage}} \fancypagestyle{plain}{ \...
TeamDman's user avatar
  • 111
0 votes

markdown-package: problem with # sign in url and hyperref

May I note, that the same issue arises with the ifthenelse package: \ifthenelse{\isnamedefined{ProcessIntegrationDevice}} {% \url{https://sourceforge.net/p/com0com/bugs/32/#c463} The solution in ...
Harald Oehlmann's user avatar
0 votes

Change the label display value

The problem was fixed by adding \makeatletter before \newtcblisting! Credit to Ulrike Fischer for the solution in the comments. The code below illustrates the solution: \documentclass{article} \...
Lucyanno Frota's user avatar
3 votes
Accepted

Physical Review Letters supporting information separate PDF

PRL content guidelines say Cite the manuscript’s Supplemental Material in the reference list as follows: See Supplemental Material at [URL will be inserted by publisher] for [give brief description ...
user1079505's user avatar
0 votes

hyperref not create clickable links but text is colored

Compiling with pdflatex rather than latex did the trick <_<
Aerylia's user avatar
  • 101
2 votes
Accepted

Multiple footnotemarks inside display math mode

Well footnote links between \footnotemark and \footnotetext are difficult ;-). As soon as you have a row of \footnotemark hyperref loose track of the names. You can try it with a sort of explicit ...
Ulrike Fischer's user avatar
2 votes
Accepted

How to inlude orcid for lni class?

orcidlink loads package hyperref without option, but lni wants to load hyperref with option bookmarks=false via \AtEndPreamble, after it has been loaded by orcidlink (without option). This fails. ...
cabohah's user avatar
  • 8,268
1 vote

broken hyperlinks with memoir, caption, hyperref, sidecaption, and pdflatex

The author of the caption package just implemented a fix: https://gitlab.com/axelsommerfeldt/caption/-/issues/175, thanks to this question. It is not released on CTAN yet, but you can already ...
Tomas's user avatar
  • 2,049
2 votes
Accepted

Adding hyperref package makes tex4ht change its split level order

This is caused by the fact that TeX4ht checks for the existence of the \@chapter command to decide which sectioning levels it should use to break to pages. Normally, this command is undefined in the ...
michal.h21's user avatar
  • 49.5k
0 votes

Link a theorem to its restatable

Here is an option that uses thmtools' internal \ifthmt@thisistheone to test if we're in the original or restated theorem. The idea is to define a theorem style, taking inspiration from egreg's answer ...
mbert's user avatar
  • 2,615
1 vote

Typesetting \gls in subscripts and superscript in the right size

Personally I find both glossary entries and links in superscripts definitively odd and for a real solution I would look for options to disable \gls and the links there. Beside this: on the dvips route ...
Ulrike Fischer's user avatar
1 vote

Set the print flag on links with hyperref to preserve them with Ghostscript >= 9.25

The OP @alex-pacini asked on the hyperref repo and, two and a half years later :) it was mentioned that it's possible to set the print flag by default on the hyperlinks created by hyperref, but one ...
aleb's user avatar
  • 141
1 vote
Accepted

Issues with making lstnumber two-digit with hyperref and tcolorbox

You can change the representation of the lstnumber counter: \renewcommand{\thelstnumber}{% \ifnum\value{lstnumber}<10 0\fi\arabic{lstnumber}% } Full example: \documentclass{scrartcl} %\...
egreg's user avatar
  • 1.1m
1 vote
Accepted

Cleveref in conflict with hyperref

I encounter no problems if I execute the \theoremstyle and \newtheorem directives after loading hyperref and cleveref. By the way, doing so is expressly recommended in section 8.3.1 of the user guide ...
Mico's user avatar
  • 490k
2 votes

Anchors defined with `\hyperdef` are lost when the PDF is processed by `gs`

With qpdf --qdf --object-streams=disable example.pdf example.txt looking in the resulting file there is an object with /Names which seems to be relevant because it's missing from the processed PDF. ...
aleb's user avatar
  • 141

Top 50 recent answers are included