Tag Info

3

acmsmall expects that \r@@nf<n> (where <n> is the number of the figure) expands to {<figure number>}{<page number>} in order to set a conditional depending on the odd or even page number. With hyperref the expansion of \r@@nf<n> is, instead, {<figure number>}{<page number>}{...}{...}{...} with five braced ...

2

It seems that \hyperref forces alignment of cell content according to its own standards. In the case of tabular, this means cell content will be top aligned. This doesn't matter, when the images included by \includegraphics{...} have the same height... In your case, however, the images have different heights. If you prefer them to be bottom aligned, then ...

2

There are many ways to achieve this, one way which preserves the capability to click the links allows coloured links before the table of contents is to use { \hypersetup{hidelinks} \tableofcontents }. Pay attention to the curly brackets around the code, this puts the \hypersetup together with the table of contents inside a group, so it will not effect ...

2

As far as a I know there's no way to use \crefdefaultlabelformat in order to query the current counter type to be referenced and thereby getting the relevant name of the counter as being defined with \crefname and \Crefname. However, the \crefformat can be used to change the specific formating with to sans-serif with this setup (shown for the section ...

18

3

If you want to (temporarily) disable hyperref you can use the draft option: \usepackage[draft]{hyperref} or \hypersetup{draft} In your case: \usepackage[ draft, pdfpagelabels=false, pdfpagelabels=false, hyperindex=false, pageanchor=false ]{hyperref} Switch to final if you want to enable hyperref again. As mentioned before, if you don't want ...

4

1

If you replace the problematic part of your code with \xpatchbibmacro{textcite} {\printnames{labelname}} {\printtext[bibhyperref]{\printnames{labelname}}}{}{} You get a clickable author name and year. Only the space between and the parenthesis remain unclickable. Is this enough clickability? \documentclass{beamer} \usepackage{xpatch} \usepackage{...

0

Inserting \pdfbookmark{<bookmark-name>}{<label-name>} before each row, I managed to get the respective .pdf bookmarks to them. They work as intended, only if the command is put in the right place (or else it doesn't appear in correct order) along with the correct label. I can't get the level=0 or 1 option to work, but all good things in due time, ...

0

With \protect\section everything seems alright`. If a link is needed, more has to be done, of course. \documentclass{article} \usepackage{longtable} \usepackage[bookmarksopen,bookmarksopenlevel=3]{hyperref} \usepackage{bookmark} \usepackage{blindtext} \begin{filecontents}{firstpart.tex} \blindtext[3] \end{filecontents} \begin{document} \tableofcontents \...

2

You should never have a paragraph break before a displayed equation, TeX always does the wrong thing in such a situation. Here I removed the spurious par, also added some missing % I left in the \noindent although in almost all cases that shouldn't be used in latex, \documentclass[fleqn]{report} \usepackage{hyperref} \usepackage{amsmath} \newcommand{\...

2

By using the bookmarks package, it is possible as follows: \section*{Acknowledgements} \hypertarget{Acknowledgements}{} \bookmark[dest=Acknowledgements]{Acknowledgements} Credits go to http://tex.stackexchange.com/a/11965/9075 for hypertarget.

4

If you do not want to escape # from the link and not worry about it, here is a lualatex \documentclass[11pt]{scrartcl} \usepackage{hyperref,xcolor} %\colorlet{linkcolor}{green!20!black} \colorlet{linkcolor}{red} %changed to red to make it more clear \usepackage{luacode} \begin{luacode*} function linc(arg1,arg2) tex.print("\\href{"..arg1.."}{".."\\...

1

In this case you need to escape the # symbol of \linc's first argument. The following will work without error: \documentclass{article} \usepackage{hyperref,xcolor} \colorlet{linkcolor}{green!20!black} \newcommand{\linc}[2]{\href{#1}{\textcolor{linkcolor}{#2}}} \begin{document} \linc{http://tex.stackexchange.com/}{TeX.SE}%Causes no errors \linc{https://...

2

I can't see any documented changes that would have affected this but I think you can do something like the following to add a hyperref anchor at \ex and make a link in the reference. \documentclass{scrartcl} \usepackage{graphicx} \usepackage{color,expex,hyperref} \makeatletter \def\ex@c{% \ex@setup \leavevmode \ifx\@optionaltag\@empty\else \...

3

Load lastpage after pdfcomment. \documentclass{report} \usepackage{graphicx} \usepackage[a3paper,landscape]{geometry} \usepackage[author={Max Schlezpig}]{pdfcomment} \usepackage[rgb]{xcolor} \usepackage{lastpage}% \usepackage{hyperref,bookmark} \begin{document} \pdfmarkupcomment[markup=Highlight,color=yellow]{This highlighted Text Has Tool Tip With ...

4

An unnumbered entity cannot be referenced by number. There are alternatives: \documentclass{article} \usepackage[colorlinks]{hyperref} \begin{document} \section*{First section} \label{sec:first} Reference by title: \nameref{sec:first}\\ Page reference: \pageref{sec:first}\\ Arbitrary text: \hyperref[sec:first]{This section} \end{document}

2

There are in fact two issues. Both can be fixed easily thanks to the hooks provided by the packages. Firstly, the index entries are modified by hyperref, which doesn't recognize a macro defined by spanish. This issue is fixed with the following line before \printindex: \def\esromanindex#1{\hyperindexformat{\textsc}} Second, there is little bug in ...

0

You don't mention how you create your citation call-outs, so I will assume that you're using either BibTeX or biblatex to manage the bibliographic entries, the citation commands, and the formatting of the bibliography itself. If that's the case, all you need to do is add the instruction \usepackage{hyperref} to your preamble. Note that this instruction ...

4

The reason why the OP example fails is the reset of the section counter without taking into account that \theHsection should be changed too -- doing so will lead to correct hyper anchors. The appendix package takes care of this and \begin{appendices}...\end{appendices} should be used in order to get everything setup, as well as the toc option, if needed (...

5

It looks to me like you should set up a semi-customized enumerated list environment. One way to do this is with the facilities of the enumitem package. In the following example, a new enumerated list called "exlist" is defined and its formatting, labeling, and cross-referencing properties are specified. That way, items in the list can be cross-referenced ...

3

I think the problem here is that you do not grok the concept of label-reference in LaTeX ☺. You should have an automatic numbered thing to use the automatic referencing one --- otherwise it has no sense (if you fix the exercise to "1", you can use "1", no?). For example: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \...

3

Package hypcap is called with option all in class siamart0516: \RequirePackage[all]{hypcap} [1.11] Option all is a shortcut for the option list figure, figure*, table, table*. Also there is a global option table: \documentclass[table]{siamart0516} That means, the code for option table is executed twice, as part of option all and as global option table. ...

2

\documentclass{article} \usepackage{hyperref} \begin{document} \cite{Vandewalle} \bibliography{mybib} \bibliographystyle{plain} \end{document} with mybib.bib: @article{Vandewalle, title = {Symmetry breaking in a few-body system with magnetocapillary interactions}, author = {Vandewalle, N. and Clermont, L. and Terwagne, D.}, journal ...

1

nameref does lots of redefinitions of its commands when\begin{document} is issued, in case this or that package is loaded. Therefore, we have to change its definition after all that. Output Code \documentclass{article} \usepackage{nameref} \usepackage{xcolor} \begin{document} \makeatletter \DeclareRobustCommand*{\nameref}{% \color{red}% \@...

2

The current version of llncs.cls (2015/06/24 v2.20) issues an additional \phantomsection as part of a theorem-related construction. As such, you would see the same behaviour when using a case, conjecture, corollary, definition, example, ... Old llncs.cls: 1065: \def\@spthm#1#2#3#4{\topsep 7\p@ \@plus2\p@ \@minus4\p@ 1066: \refstepcounter{#1}% 1067: \@...

0


Top 50 recent answers are included