4
votes
3answers
54 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
17 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
21 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
36 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
26 views

Hyperref cross-references across splitted 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
70 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
0answers
49 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
41 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
68 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
43 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: ...
5
votes
5answers
172 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
51 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
63 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
91 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, ...
2
votes
1answer
165 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
52 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
30 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
57 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
61 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
61 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
35 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 ...
5
votes
2answers
107 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
148 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
104 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
64 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
54 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
49 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
43 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
130 views

\autoref subsections in appendix

MWE \documentclass{article} \usepackage{appendix} \usepackage{lipsum} \usepackage[colorlinks]{hyperref} \def\sectionautorefname{Section} \def\subsectionautorefname{Section} ...
3
votes
4answers
130 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 ...
0
votes
0answers
78 views

No caption label using minted with caption and hyperref

I'm trying to use the caption and hyperref with the listing environment and the minted package. If you compile the MWE, the listing will only show a number but no name. hyperref inserts a link, ...
1
vote
1answer
116 views

How to modify the label output in cleveref and varioref?

EDIT: The mentioned solution on the bottom of this page works perfectly for the label output. But now I am struggling with the distance of the \crefname and the counter. Instead of a space I would ...
2
votes
1answer
71 views

How do you make a reference from all page numbers to the ToC?

Hey fellow LaTeX users. Is there any way to make the page numbers in a document hyperrefback to the header of the TOC? It would be very useful in my document so I quickly could jump back and forth ...
3
votes
1answer
63 views

Differentiate reference based on type (problem with argument expansion)

Since I use unnumbered sections, I'd like to have a variation of \autoref that uses names instead of numbers in the case of sectioning, but keeps its usual behaviour for other environments. I've come ...
1
vote
1answer
88 views

create a link to open another pdf, not in the current directory [duplicate]

How can I make a hyperlink to a pdf file located somwhere out of the current directory of .tex file? For example, my .tex file is located in C:\myWritings and the pdf file to be linked in the tex is ...
2
votes
1answer
82 views

Clickable hyperlinks wrong for sidewaysfigure

I have a few figures which must be shown rotated in landscape orientation. For that I use \begin{sidewaysfigure} instead of \begin{figure}. But now I found in my text there is a problem between the ...
1
vote
0answers
116 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} ...
4
votes
1answer
32 views

\pageref to customised float environment

I would like to include some pictures in my document that are not really figures and should therefore not appear in the list-of-figures. They are to cover a whole page each, which I achieved using the ...
0
votes
0answers
25 views

Is it possible to use \autoref without thmtools? [duplicate]

I have the following tex file; \documentclass[a4paper]{article} \usepackage{amsthm} \usepackage{thmtools} \usepackage[hidelinks]{hyperref} \newtheorem{thm}{Theorem} \begin{document} ...
4
votes
0answers
73 views

hyperref link to file at position

I'm a newbie. I've figured out how to set up a hyperlink link to a file (in my case, a PDF) on the hard drive. But I would also like to change the starting position when this PDF opens up. This PDF ...
0
votes
2answers
84 views

Hyperref + footnotebackref in longtable

While I'm aware that hyperref doesn't suport footnotes and I quote: hyperfootnotes boolean true Makes the footnote marks into hyperlinks to the footnote text. Easily broken … I'm ...
8
votes
1answer
142 views

Bad page break with \newenvironment, \refstepcounter and hyperref

I tried to define some environment but came across bad page breaks sometimes. The minimal working example is as follows: \documentclass[b5paper]{article} \usepackage{hyperref} % page break is correct ...
0
votes
0answers
76 views

Problem using thmtools, hyperref and showkeys all together

When I use \eqref (from amsmath) in the optional argument to the proof environment (from amsthm) and the three packages thmtools, hyperref, and showkeys are loaded, TeX runs into an infinite loop. ...
3
votes
0answers
61 views

How can I automatically copy a LyX-generated .aux file to the working directory for cross referencing?

This is a follow up to: Using the xr package in LyX (for cross-referencing an external LyX document) I have two LyX documents, called draft.lyx and supplement.lyx. I need to compile them into ...
2
votes
1answer
140 views

Hyperref and the float package

There is an issue when using the hyperref package, which provides links and bookmarks, together with the float package, which implements changes in float placement in the document. Loading both has ...
2
votes
1answer
56 views

Hyperlinks to repeated & variant equations with \tag{} don't work

Suppose I have the following equation (42), a variant version of it (42ᵇⁱˢ), and then a repeated version of (42). Here is how I would express them in my document: Original equation: \begin{equation} ...
5
votes
1answer
124 views

How do I use the target caption of a \hypertarget as the link caption in a \hyperlink?

I'm building a software requirements document and using my own set of counters to generate unique requirement identifiers. I'm also grouping different requirements into longtables, e.g. ...
0
votes
1answer
159 views

Having hyper-referenced items for the symbols in a nomenclature table

I am trying to replicate the following picture, with some modifications, in my thesis which shows a nomenclature in a long table format. I want to have this along with classicthesis package version ...
4
votes
1answer
83 views

How can I link to the bibliography chapter within the text of a document with \ref?

I have a project which has a bibliography which I have included into my table of contents using tocbibind. In my report I have a section which details the structure of the report, I mention each ...