2
votes
0answers
33 views

How can I get \framezoom to work in evince?

The \framezoom feature of the beamer class is awesome, but unfortunately it doesn't work correctly in evince (and the TeXworks previewer). When clicking the zoom button, the viewer correctly jumps to ...
4
votes
1answer
30 views

Hyperref: how to correctly redefine `\@currentlabel`?

I am using my own solution to this question to create custom cross-references. \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \title{My notes for Bla} \author{myself} ...
1
vote
0answers
37 views

hyperref package within AMS latex environment

How can I use link references using hyperref package within AMS latex environment? Is it possible to use it with \cite{} or need to use anything else? When i try to create a dvi file I have an error ...
3
votes
2answers
55 views

Change the output format of \cref from table to Table and from eq. to Equation

if you use \cref then you get references as eq. (1) / table (1) / fig. (1) but I want it to produce Equation 1 / Table 1 / Figure 1 how to I set this? I also want to know if it is possible to use ...
6
votes
2answers
64 views

Referring to Second Last Page in pageref in lastpage package

I can use \pageref{LastPage} to give the reference of last page with lastpage package. The last page of document is the back cover so I don't want to count it. I wonder how to specify the second last ...
2
votes
1answer
49 views

Generate HTML from document that uses autoref/cleveref

I have an existing document that was written using hyperref and natbib, and am trying to generate a website alongside the PDF that is already built. The document was written using autoref references ...
2
votes
1answer
55 views

Possibility to ref link different areas of an image to different labels?

I have a diagram as an image. There are described different components which are later described and marked with \label tags. Can I ref link different areas/sections of one image to different \label ...
0
votes
1answer
40 views

No hyperref link in stackrel with xelatex

Consider the following example document: \documentclass{article} \usepackage{amsmath} \usepackage{hyperref} \begin{document} \begin{equation} \label{eq:eq1} a = b\quad \wedge \quad b = c ...
1
vote
0answers
63 views

Different labels pointing to the same object

I have the following code (an MWE) which creates two A4 pages, each with one figure which is composed of three subfigures. On the second page there are also two references: one to a subfigure of the ...
5
votes
1answer
27 views

alltt and hyperref package not playing nice together

I'm am trying to create some cross references between two documents. I'm using alltt in both docs to control the layout of some of the content. For the cross reference links, I am defining the ...
2
votes
1answer
61 views

Custom label for chemical structures

I need a custom label for my chemical structures and everything works fine but the label isn't centered. Does anyone know how to center the label? \documentclass{minimal} \usepackage{hyperref} ...
1
vote
1answer
34 views

How should I use reference with setcounter{lstlisting}{0}?

I specified in my lstlisting both caption and label. Also before every section I use: \setcounter{lstlisting}{0} My listing from PDF view looks like: Listing 4.1.2 SomeCaption When I am using ...
3
votes
1answer
48 views

hyperlink on equation number

I would like to link an equation to a sentence at the end of the document (e.g. code below) but placing the hyperlink on the equation number and not on the equation itself? Is it possible? THanks for ...
0
votes
1answer
63 views

Why doesn't latex recognize my figure

I've got a figure, which is displayed fine: \begin{figure}[htbp] \centering \begin{subfigure}[b]{0.48\textwidth} \includegraphics[width=\textwidth]{xp_potato.eps} ...
4
votes
1answer
64 views

pgfplots externalize with hyperref

I'm using pgfplots with externalize because my document has a lot of plots which causes problems with memory limitation in LaTeX. In one of my plots I have a reference to an equation. In the file ...
2
votes
1answer
67 views

Prefix “Figure” and giving reference to figures

Is it possible to adjust the font size of the prefix Figure when captioning an included image? Furthermore, is it possible to refer to a picture in a meaningful way without using a caption; I tried ...
4
votes
1answer
44 views

\ref{} does not work under certain circumstances

So I know that the problem is at \setcounter{secnumdepth}{0} But I don't know if there is a fix to this (without deleting this line, since I don't want numbered sections), since the link in ...
3
votes
1answer
89 views

Controlling Theorem tags in Beamer

I am writing slides which follow a textbook, and it is obviously desirable for the theorem and equation numbering to coincide with that in the text. I have no problem \tag-ing equations and linking ...
4
votes
2answers
158 views

Place parentheses around a cross-reference

Is possible to surround a cross-reference with brackets or parentheses? For example when I write a command like some text \ref{some label} then when compiled the output was some text (12) without ...
5
votes
3answers
71 views

Use label to refer to text and print it

I want to make requirements in a latex document and I would like to refer to them. What I have so far is this: \documentclass{memoir} \usepackage{hyperref} \usepackage{lipsum} ...
1
vote
0answers
20 views

Why might I not want to set naturalnames and hypertexnames both equal to false in hyperref?

I know from these questions that you can solve a lot of internal linking problems in your PDF by setting naturalnames and hypertexnames both equal to false (naturalnames being set to false by ...
5
votes
1answer
61 views

\@currentlabelname and custom counter

Suppose I have a counter, say, count. I can do something like this \setcounter{count}{0} \refstepcounter{count}\thecounter{count}\label{cool} \ref{cool} This will give me "1" in the end. Now, I ...
3
votes
1answer
55 views

Giving a custom environment a name

I have defined a custom environment: \documentclass[11pt]{article} \usepackage[table,hyperref]{xcolor} % Better control over color \usepackage[colorlinks=true, linkcolor=DarkBlue, ...
4
votes
1answer
69 views

Hyperref cross-references across split documents

Say I have a document of type \documentclass{article} \usepackeage{hyperref} %\includeonly{Chap1} %\includeonly{Chap2} \begin{document} \include{Chap1} \include{Chap2} \end{document} Where ...
7
votes
1answer
118 views

How to put numbers in parenthesis using cleveref

I am using the cleveref package for cross-referencing. When I use \cref{tab1} and \cref{fig1} I got the output as table 1 and fig. 1 respectively. I would instead like to get table ...
1
vote
1answer
124 views

Cross referencing between chapters of a thesis

Hi I am new to the forum and fairly new to Tex, if I miss anything out please let me know and I will be glad to post it. I am writing up my PhD thesis using Texmaker on a windows system. I have my ...
5
votes
1answer
50 views

How to change the number of a subsection used in a cross-reference? [duplicate]

I was wondering if I could change the number that appears in my "\labelcref"? (I use hyperref, cleveref and nameref packages) More precisely, I'm writing a document where there are several sections ...
9
votes
2answers
130 views

nameref (hyperref) evaluating counter instead of section name

What's the proper way to reference a section with a counter in the title? The TOC generates correctly, but the cross references aren't so lucky. MWE: \documentclass[letterpaper, 12pt, twoside]{exam} ...
3
votes
1answer
64 views

Memoir's \NumToName doesn't work with cross-referenced items

I got external references to work with memoir and hyperref here: hyperref and xr-hyper break memoir's \titleref, but references to external documents don't work with memoir \NumToName: ...
6
votes
5answers
345 views

Reference to the Table of Contents page

I thought that someone must have asked this, but my searches didn't find it. I am looking to refer back to the table of contents from places in my document. How can I do this?
5
votes
2answers
108 views

hyperref and xr-hyper break memoir's \titleref

I have one document that has hyperref loaded, and works fine. I have a second document that I am using xr-hyper to reference the first. If I remove hyperref from the first document, the \titleref{} ...
4
votes
1answer
96 views

Reference that includes section number and name

I'm trying to refer (hyperlink preferably) to another section, or in this spesific case a subsection. I've fixed the problem by creating a new command: \usepackage{hyperref} ...
7
votes
2answers
158 views

Reference to List Items in Theorem Environment with Label Type “Theorem”

I'm trying to set up references to list items in theorem environments. Using the thmtools and the cref-package I am able to reference theorem environments, such that the theorem type, e.g. theorem, ...
3
votes
1answer
210 views

How to imitate great looking Motion Mountain ToC, including hyperlinks?

I wanted to customize my ToC to look more or less like the one in Motion Mountain physics textbook, including clickable page numbers. My decision was to use hyperref and titletocpackages. Now it seems ...
1
vote
1answer
62 views

How to customize the chapter in front of figure page in listoffigures?

I am using the the packages \usepackage{url} \usepackage{graphicx} \usepackage{rotating} \usepackage[hypcap]{caption} \usepackage{hyperref} to include referencable graphics in my work. The ...
0
votes
1answer
46 views

How to refer to labels in other documents? [duplicate]

I have two documents file1.tex and file2.tex in two different folds fold1 and fold2, which are in the fold father. In file1, I defined \label{file1:hello}, how do I use it in file2?
7
votes
1answer
81 views

Referencing unnumbered theorems

I would like to reference named (but unnumbered theorems) with a hyperlink. I have a solution which I consider at least a semi-hack: \documentclass{amsart} \usepackage[colorlinks=true]{hyperref} ...
2
votes
0answers
148 views

Mysterious error message regarding missing reference

At the very end of my pdflatex compilation, I get the following error messages: (see the transcript file for additional information)pdfTeX warning (dest): name {theorem.10.2} has been referenced but ...
6
votes
2answers
78 views

How to get boxed citations and references but colored,unboxed \hrefs

It seems that if I change from boxed links to coloured links using the \hypersetup{colorlinks=false,true} command from the hyperref package, this has a global effects on all types of links, be it ...
3
votes
1answer
50 views

reference the table of contents/ hyperlink

when i use the \tableofcontents or \listoffigures, it creates a page with the hyperlink placed on the name of the section.There is a red square around the title. However i want the hyperlink to be on ...
6
votes
2answers
338 views

Splitting(!) one latex document into two pdf outputs including references

I have a quite huge thesis-latex-document with lots of references to the appendix. The whole document I would like to split into two pdf-files. That means: I would like to have the thesis and the ...
3
votes
3answers
613 views

Combining \autoref and \eqref

Say the equation is \begin{equation} r^2 = x^2 + y^2 \text{.} \label{eq:circ} \end{equation} Now, if I use \autoref{eq:circ} I get Equation 1. How do I get Equation (1) (the parenthesis that we ...
6
votes
1answer
326 views

Reference equation in align* environment with cleveref

In order to control equations numbering I use the Align* environment where I put \numberthis at the end of the equation that I want to number. After, I label the numbered equation but when I want to ...
5
votes
0answers
124 views

How to enable smart references when using xr-hyper package for producing multi-volume book?

I'm using xr-hyper package by @David Carlisle and smartref package by Giuseppe Bilotta to compile a multi-volume book. xr-hyper enables cross-references between different volumes as shows the ...
4
votes
1answer
82 views

Mix hyperref and varioref

I like that hyperref gives me results like \ref{eq:first-equation} % yields "equation (1)" and that varioref gives results like \vref{eq:first-equation} % yields "1 on the following page" but ...
3
votes
1answer
56 views

Name referencing for arbitrary text?

In my TeX file I have a something like this: \newcommand{\head}[2]{ \textbf{#1 \imp:} \textit{#2}\\ } \newcommand{\definition}[1]{ \head{Definition}{#1} } \newcommand{\lemma}[1]{ \head{Lemma}{#1} } ...
7
votes
1answer
52 views

nameref + fontenc causes umlauts in aux-File

I wrote a small new command that makes use of \@currentlabelname and \nameref. When I have Umlauts in the labelname (the argument of \@currentlabelname) everything works fine until I use the fontenc ...
4
votes
1answer
323 views

\autoref subsections in appendix

MWE \documentclass{article} \usepackage{appendix} \usepackage{lipsum} \usepackage[colorlinks]{hyperref} \def\sectionautorefname{Section} \def\subsectionautorefname{Section} ...
3
votes
4answers
158 views

Incorrect reference to a line in algorithmic using hyperref

I am using algpseudocode and algorithm packages to typeset pseudocode. I also use float, hyperref and caption packages. The problem is that when I reference a line in the pseudocode, the number is ...
2
votes
0answers
43 views

What is the label of the glossary? [duplicate]

I'd like to add a link to the glossary in my main text. See the \nameref{XXX} on page \ref{XXX}. So far I couldn't find out the name of the label of the glossary. There should be one, since the ...