Tagged Questions
3
votes
1answer
27 views
Abstract environment: interaction between hyperref and acronyms in ettauth.cls
I am submitting a paper for a journal that uses class ettauth.cls. Inside abstract I use some acronyms with the help of acronym package. I also load hyperref package for the cross-referencing. With ...
2
votes
1answer
47 views
cleveref fails to reference algorithms
In the following example document, both \autoref and plain ref will correctly link and number an algorithm reference, but cleveref fails that task. It will just insert question marks instead. In ...
0
votes
0answers
25 views
Problem when using hyperref together with cleveref [duplicate]
As it says in the cleveref documentation hyperref must be loaded before cleveref. But at me I have to load at least one package between them and I would really like to know why.
The not working ...
4
votes
2answers
57 views
How to use Nameref with Algorithm2e
As the title suggests, I'm trying to reference to an algorithm created by algorithm2e package. Here is a MWE:
\documentclass[12pt,a4paper]{report}
\usepackage[linesnumbered]{algorithm2e}
...
0
votes
0answers
27 views
pdfTex, hyperref: jumps beetwen two pdf files [duplicate]
I use hyperref package and pdftex to generate a PDF file.
I have file_A.pdf and file_B.pdf.
I will assign a destination point in a file_B.pdf (not at first page) and use this destination to make ...
5
votes
2answers
41 views
Create \ref for nested enumitem \item without nesting in the output
Sorry the question is a bit awkward.
Basically I have nested \begin{enumerate} lists. I'd like something to appear like this:
1 Foo
1.1 Bar
Please see additional information in subsection 1
...
1
vote
1answer
45 views
In the hyperref-pkg, is there a way to (sometimes) use abbreviations; e.g. tab. _vs_ table?
"Manually", both of the following do the trick (as far as I can tell):
\ldots as presented in table~\ref{tab:birds_and_bees} \ldots
\ldots as presented in tab.~\ref{tab:birds_and_bees} \ldots
With ...
3
votes
0answers
65 views
How to change color of hyperlink to an external URL? [duplicate]
I have written the following command to create a link with black or green color :
\documentclass[11pt,twoside,a4paper]{article}
\usepackage[margin=1.5in]{geometry}
\usepackage{hyperref}
...
3
votes
1answer
51 views
hyperref and cross-referencing
When you are using the hyperref package, it creates nice, clickable links within the PDF output when you use cross references (\ref{chap:label}). But, when I refer to "Section 1", only the "1" is ...
4
votes
1answer
50 views
Hyperref warning when using amsthm and enumerate
hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE):
...
10
votes
1answer
86 views
Two colors in one hyperlink
As usual writing a few documents. As one can see having too much color and gloss in a document is never good. Therefore having boxes, and a myriad of colors in the hyperlinks is a bad idea. I really ...
2
votes
0answers
60 views
Using autoref with my own label to my own new environment [closed]
I defined my own environment. Now I want to refer to my environment with autoref. But autoref should refer with my own defined name. But I don't know how to do this. Could someone help me?
My code ...
4
votes
2answers
140 views
Cross reference in LyX
I would like to use the \autoref function in LyX, so that when I refer to a labeled figure or theorem, it is typeset as "Figure #" or "Theorem #". According to this answer, I can redefine the \ref ...
1
vote
0answers
30 views
using xr with import package
I am working on the following project. It is a series of labs designed to teach numerical computing.
https://github.com/byuimpact/numerical_computing
The latex files are organized into to ...
2
votes
0answers
90 views
\ref, \autoref and hyperref expansion
I'm trying to write section numbers to a file with the newfile package.
In details, this MWE basically tries to write to a .ref file with lines like A-B. The A and B are generated by \label and \ref ...
2
votes
0answers
62 views
enumitem-zref: reference items automatically [closed]
I am trying to use the enumitem-zref package in order to reference automatically all item of an enumeration. Here is a simple example (found on the Internet, but seems to agree with the ...
3
votes
1answer
83 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 ...
2
votes
0answers
29 views
Problem with hyperref/cleveref interaction and specially tagged equations [duplicate]
I would like to resolve the infamous warning destination with the same identifier (name{equation.0.1}) has been already used, duplicate ignored in my MWE below.
Reading around this site, the package ...
3
votes
0answers
77 views
\autoref doesn't work correctly when used in tufte-book
i want to use the \autoref command (from the hyperref package) in the document-class tufte-book.
mini-example:
\documentclass{tufte-book}
\usepackage{hyperref}
\begin{document}
...
1
vote
1answer
185 views
\autoref with links that include only the number, but not the text, and have counter-dependent colors
I would like the functionality of hyperref's \autoref, but in a way that the link border box covers only the number and not the preceding text (e.g. "section"). This is normally possible with the ...
0
votes
1answer
57 views
Number equation with previously used (auto-assigned) number [duplicate]
Assume you have a long text (i.e. a thesis/book/etc) with a lot of equations per chapter. At some point later in the text, you not only want to reference an equation but actually spell it out again, ...
2
votes
1answer
53 views
\ref for data file sources
I am writing my bachelor's in statistics and use a lot of freely downloadable data for my analysis, eg from http://www.fueleconomy.gov/.
The question is, how do I list and \ref the files TeX way? I ...
2
votes
3answers
132 views
\ref doesn't work in math mode if hyperref and bidi packages are loaded [closed]
Is \ref supposed to work in math mode? If hyperref and bidi are loaded, it generates errors:
\documentclass{article}
\usepackage{hyperref}
\usepackage{bidi}
\begin{document}
Testing labels with ...
3
votes
1answer
71 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 ...
1
vote
0answers
109 views
Lyx : change cross reference color [duplicate]
When i make a refference to a figure , the text appears black. How can i change cross reference's default black color to blye or cyan ?
I had the same issue with citations but i figured it out with ...
2
votes
1answer
129 views
autoref uses wrong name for section, if label occurs after figure
I have a document where labels occur inside of sections, i.e., not only at the beginning of a section. If the section contains environments, then autoref wronlgy uses for all following labels the name ...
2
votes
1answer
183 views
Problem with algorithm(ic) and hyperref
The following code works ... fine!
\documentclass{book}
% \usepackage{subfig}
% \usepackage{subcaption}
\usepackage[colorlinks]{hyperref}
\usepackage{algorithm}
\usepackage[noend]{algorithmic}
...
4
votes
1answer
36 views
Create link to the top of a page which contains a certain labelled object
I want to create a clickable link from which I can jump to the top of the page which contains a certain labelled object. I tried \pageref but then clicking on the corresponding link results in a jump ...
5
votes
1answer
95 views
How do I associate a label with a non-section document element? [duplicate]
Possible Duplicate:
Incorrect target of \label link produced by hyperref
Labeling and linking in LaTeX confuses me.
I have something like the following:
\section{main section}
...
8
votes
1answer
62 views
How to avoid the hyperlink on a particular \ref
I use hyperref and I produce the pdf via pdflatex.
Everytime I use \ref I get in the pdf a clickable link and I am happy with it... but I would like to disable the hyperlink in the pdf for one ...
6
votes
1answer
112 views
Change caption of figure for references
I changed the caption of my figures running the following command (I'm using the babel package):
\addto\captionsngerman{\renewcommand{\figurename}{Abb.}}
If I use \autoref{$LABEL} to reference to ...
7
votes
2answers
68 views
How can I add linked text in front of \ref{myRef}?
I am currently making references like this:
\section{BliBlaBlup} \label{sec:BliBlaBlup}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi pharetra
pharetra viverra. Vestibulum ante ipsum ...
6
votes
2answers
98 views
Reference table value in text
I want to be able to reference a table value in my text (this is because I often update my tables, and then list the specific values in the text). Here is an example table I would use:
% Example ...
6
votes
1answer
124 views
redefining \label and \ref when using hyperref
I'm editing a book that includes about 25 papers written in LaTeX by different authors. Since many of them use the same \label, to avoid collisions I redefined the \label command (and \ref and ...
5
votes
1answer
77 views
Link enumerate item to subsection
I have an enumerate like this
\begin{enumerate}
\item this is item 1 in \ref{SectionName1}
\item this is item 2 in \ref{SectionName2}
\end{enumerate}
\section{AAA}
\label{SectionName1}
text
...
8
votes
1answer
216 views
Why doesn't \renewcommand{\ref}{\autoref} change \ref into \autoref?
First off, I'm very grateful of the help this community has provided me so far. Anyway, to my problem:
I feel like I'm missing something obvious here. I want...
\documentclass{article}
...
6
votes
2answers
133 views
Hyperref within hyperref
I'm using the hyperref package in LaTeX. In the compiled PDF, in the table of contents (TOC), I correctly get all the links to the corresponding chapters and sections.
There is only one chapter which ...
2
votes
1answer
108 views
How to put \hyperdef{category}{name}{} at the same position as \label{name}?
I am using the hyperref package that comes without the destlabel option (I tried to use the most recent version of hyperref, but it doesn't work with my LaTeX version).
So to be able to create named ...
0
votes
1answer
53 views
Hyperref under section dont link to items [duplicate]
Possible Duplicate:
Can individual items in an itemize list be labelled and hyperref linked?
\documentclass[11pt,a4paper]{article}
\usepackage[colorlinks=true]{hyperref}
\begin{document}
...
7
votes
2answers
125 views
How to get a customized counter in enumerate environments and how to label and refer to the items?
In my enumerate environments, I want to have something like \myitem which automatically prints 3(a)., 3(b). etc. (and of course, the regular \items which still print the regular 1., 2., etc.)
BTW, I ...
11
votes
1answer
111 views
Create a register of persons with references
To
Create a register of persons with biblatex seems to be much more complicate then i expected.
How can i create nice a register of persons semiautomatic with \ref?
Lets assume i have 20 persons ...
3
votes
1answer
72 views
Link to equation and change text?
I am interested in linking to an equation - but being able to change the text.
I had thought I could combine this answer and this answer, but I cannot seem to get it to work.
I have attempted a ...
10
votes
1answer
128 views
Creating a new environment with referencing
I'm trying to create a referenceable "system" environment that basically displays an equation with a custom counter. Then I want to reference the environment with autoref, so as to have "System (S1)" ...
4
votes
2answers
174 views
Can individual items in an itemize list be labelled and hyperref linked?
If I try to label items in a list as in
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{itemize}
\item blah \label{list:blah}
\pagebreak
\item foo \label{list:foo}
...
5
votes
1answer
92 views
Remove link from selected references
I am using the hyperref package, but I would like a way to use \ref without making it into a link (but not always). To give an example:
\documentclass[a4paper,10pt]{article}
\usepackage{enumerate}
...
1
vote
1answer
54 views
Preserving “\label” in the final PDF to retrieve it with poppler?
Our PDF contains lots of \label{foo} commands, where we jump to from links from within the PDF (using the hyperlinks package)
When I tried to jump to there from within our PDF displaying application, ...
1
vote
0answers
63 views
Package algorithmic [closed]
So my problem is whenever I try to use the algorthmic package, it gives me an error related to citations!
And when I comment out the algorithmic block, everything works fine.
I read somewhere that ...
4
votes
3answers
265 views
undefined control sequence when cross-referencing with xr-hyper
I'm trying to create references between two documents. Normally it works great, but I can't figure out why using siunitx inside a chapter name, causes build errors.
Simple example:
doc1.tex
...
2
votes
1answer
50 views
How to reference a point in a document with a counter and descriptive text?
This is a follow-up question to the previous questions:
How to label a word inside a paragraph?
How to refer back to a point in the document with custom counters?
The code below
...
2
votes
1answer
84 views
How to put a reference into nlset command of algorithm2e package
I would like to provide an alternative version of only some part of already existing algorithm, using the algorithm2e package. My source looks like:
\begin{algorithm}[t]
\dots \;
...


