{cross-referencing} is about making connections from a point in a document to related information elsewhere, usually within the same document. Standard commands are \label and \ref. For questions about citing or bibliographies, use {bibliographies} instead.

learn more… | top users | synonyms (1)

3
votes
1answer
22 views

How do I label and refer to a specific row of a table?

I'm creating a table to record some rules for calculating prox-operators. I'd like to be able to label certain rows and refer to them later. What's a good way to do that? Here's a MWE for the table ...
3
votes
1answer
22 views

Slide Reference vs. Link Display

Problem Given the beamer class, can I label a specific slide and same time reference this with a custom name? The first works with \label<slide>[label-name]. The second works with ...
1
vote
1answer
17 views

Hyperref adds horizontal space to custom equation reference

When hyperref package is used, Equation (Section#-Equation#) becomes Equation ( Section#-Equation#) I am having difficulty narrowing down how hyperlink adds the space. MWE ...
3
votes
1answer
23 views

How do you reference using apa style in latex?

I googled and searched alot or maybe i'm just missing something i dont know.. My problem is i want to do a reference page using apa style. I kept on trying but doesn't seem to give any output.. Anyone ...
2
votes
1answer
34 views

automatic numbering of labeled equations

Since autonum doesn't play nicely with cleveref (nor does the mathtools automatic numbering option work for me), I'm looking for a simpler solution. I'd like equations to be numbered automatically if ...
2
votes
1answer
21 views

autonum and cleveref conflict

The following code produces erroneous output. When I put cleveref first, it doesn't pick up the references at all. When I put autonum first, really weird stuff happens. See the images below. I ...
1
vote
1answer
30 views

Referring to a label: how to change the name?

I define a basic hypothesis called "Hyp A", using theorem environment, and also give it a label (say Hyp_A). Then when I refer to this hypothesis, how to display something like "Let X and G satisfy ...
1
vote
1answer
14 views

Custom Figure Citation Linking Text

Below is my Coding \documentclass{article} \usepackage[colorlinks]{hyperref} \begin{document} To test whether Figure \ref{fig1} a suspicious URL is vulnerable, we utilize the URL to download a ...
1
vote
0answers
13 views

Reference label in polyglossia for hebrew

When I compile the following code: \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{hebrew} \setotherlanguage{english} \setmainfont{Frank Ruehl CLM} \begin{document} נתחיל לכתוב. ...
2
votes
2answers
124 views

How can I make \eqrefs clickable?

I have modified the \eqref macro like this \let\originaleqref\eqref \renewcommand{\eqref}{equation~\originaleqref} as per this answer. I want to have the reference be typeset like equation x or ...
2
votes
0answers
11 views

Separate references of appendix from the references of the rest writing

I want to make sure the references in the appendix are separated from the main body making them more accessible to the reader. How can you make it in LaTex? \\\\\\\ Conceptual example \\\\\\\\\\ ...
0
votes
0answers
13 views

Parenthesized subfigure references except when already in parenthesis

I would like to style my subfigure references as Fig. 1(a) in running text and (Fig. 1a) when parenthetical. The subfigure labels are created using this code. (I would prefer to use subcaption like in ...
2
votes
1answer
31 views

Referring to example numbers in tcolorbox

In a question I asked before, I implemented method 2 by feculededentier. However, now I am facing difficulty in referring to different examples in this case. For example, what should be the Latex code ...
3
votes
1answer
26 views

Exsheets: how to get a counter/reference combining section and question numbers

I am writing a document that has several major sections, and each section will have some exercises and solutions. I am using the exsheets package, which seems to do almost everything I want. However, ...
1
vote
1answer
33 views

Refer to appendix with \includepdf

I have included a PDF by using \includepdf into my appendix. I also added a label to that pdf but when I refer to it like as you can see in Appendix \ref{mylabel} it prints "as you can see in Appendix ...
5
votes
2answers
152 views

\ref shows the right label but jumps to the wrong \label

in this MWE you can see/explore (hopefully, as it does not work for me) that \ref{tab:2} produces the right label but if you click on it, it will lead you to the \label{tab:1}. \usepackage{appendix} ...
1
vote
1answer
12 views

Modify plainnat.bst to not include “note”

I am using natbib with my thesis, and in particular I am using a self-modified version of plainnat.bst to always respect capitalization in titles. Now, I'd like to make another modification: I never ...
5
votes
1answer
42 views

Abbreviate \ref within same section

Given sample code \section{One} \begin{enumerate} \item\label{li:one} \end{enumerate} \section{Two} \begin{enumerate} \item\label{li:two} \end{enumerate} I am referencing \ref{li:one} and ...
0
votes
0answers
11 views

formatting indentation in a reference text [duplicate]

I made a document in word and then in a rush I had to change it to Latex, I do not have time to use the bibtex for my references, so I just copy and paste them from word. The problem that I got is ...
1
vote
1answer
21 views

Cross Referencing numbers missing for the Sections only, of a document prepared in latex

I am using cross reference for a document prepared in latex. The document gets compiled and all the included figures, tables and equations gets proper cross reference. Unlikely, before I am using ...
7
votes
3answers
141 views

How to make the enumeration of theorem-like environments indipendent from cross-referencing in a particular way

I'm writing a mathematical paper, and right now I'm using \newtheorem{theorem}{Theorem}[section] to enumerate theorems, propositions, etc. In this way, every statement shows the number of the ...
1
vote
1answer
18 views

Using undefined references to set counters

Consider this example where a number from a previous reference is being used to set a counter. \documentclass{article} \begin{document} \begin{enumerate} \item \label{e:one} One \end{enumerate} ...
2
votes
1answer
19 views

\refstepcounter within \subsection breaks \ref to \subsubsection

Usually a \ref to a \subsubsection gives 1.1.1 (from the parent \subsection). Sample: \documentclass{book} \begin{document} \chapter{chap} \section{sec} \subsection{sub} \subsubsection{subsub} ...
0
votes
0answers
5 views

Create cross-reference like “in the previous section” where appropriate [duplicate]

Is there a referencing command that will use the wording "the previous section" or "the next section" if appropriate, and default to "Section x.y" (as in cleveref)? \documentclass{scrartcl} ...
3
votes
2answers
48 views

Changing cleveref type for a single chapter

I have an appendix in my thesis that, due to fancyheader constraints, I define as \chapter* and not \appendix. However, now when I refer to it using \cref I get "chapter", I can change this manually, ...
6
votes
2answers
60 views

Renewing the \thelstlisting command when hyperref is on

I'm trying to change the appearance of the cross-ref to a listing in the appendix, so that it prints as \textsc{a}.1, not just A.1. The redefinition ...
0
votes
0answers
15 views

Problem linking Appendix [duplicate]

I am new to LaTeX. I am just about to complete my final dissertation with LaTeX. I want to refer the result in my Appendix with a clickable link. But when I use the command \ref{ap:data}, where ...
0
votes
0answers
23 views

Referring to an equation in a different section

I am using the procedure in writing a document of setting a main page and including sections in side tex documents using \include{...}. In one section I have an equation that I labeled as \label{6}. ...
4
votes
1answer
20 views

How to make linenumber referencing in lstlisting work with autoref

This Link provides an answer to the question how to make line-number referencing work with lstlisting. However, if I use \autoref it will only return the number and not something like Line 31.
1
vote
1answer
32 views

tilde between Figure (or Table) and number when \ref{…} with chemstyle and babel spanish

When I reference a figure or table in the text using \ref{something} it appears a tilde between Figura (or Tabla) and the number (something like Figura~1), but I realized it's only when using packages ...
2
votes
0answers
17 views

Combine Bibliography and Reference

The LaTex file was made by someone else, now I'm trying to make some modifications to the file. Q1. The .pdf file generated from .tex only containes the Bibliography part. The reference is in the ...
2
votes
1answer
27 views

How can a \gls entry in the text be appended by the specific glossary entry page number?

How can one refer in the main text to a glossary name followed by the exact page number of the glossary entry, i.e. instead of just: See \gls{<label>} which of course works something like: ...
5
votes
1answer
38 views

cleveref and aliascnt: referring to subequations and inequalities in a smart way

Preliminary Remark: A document may contain labels referring to equations and subequations, respectively. Moreover, some of the equations may actually represent inequalities. When using the cleveref ...
5
votes
1answer
115 views

How can I synchronize page-breaking text across columns?

tl;dr: Like footnotes, but on the side (easy part). These notes must be on the same page as their reference points, so the "main text" needs to break whenever the notes break. I'm trying to produce ...
6
votes
3answers
69 views

Why does \def fail inside \edef?

An answer to one of my previous questions provided this code for referencing a range of lines in which a line labels were placed at the beginning and end of the line range. \makeatletter ...
1
vote
1answer
26 views

Forcing abbreviations with cleverref

As an apposite situation of this question, I would like to use cleveref, but it constantly prints unabbreviated text (Chapter, Section, etc.). Is there a way to force the abbreviated form (Chap., ...
6
votes
2answers
100 views

Placing the equation number in the left-hand margin

I use \renewcommand{\theequation}{{\hspace*{-3.05cm}\thesection.\arabic{equation}}} to move my equation numbers into the margins (corporate design), it looks like this: The problem is that ...
2
votes
1answer
34 views

How do I cite a range of lines?

I want to be able to specify a short excerpt of text that can be cited as a range of lines in the output PDF, ideally with this kind of syntax: \documentclass{memoir} \usepackage{lineno} ...
3
votes
2answers
52 views

varioref: change default “on the facing page” string

I would like to be able to change the varioref strings. In particular, the on the facing page one. It should not be a problem. The documentation clearly states various macros used, and I would think ...
2
votes
1answer
25 views

How can I cross reference a column name in a table?

I have quite a big table in my latex document and in the text accompaning the table, I would like to state something like: As presented in column A in Table III, it is ... I know how to cross ...
1
vote
1answer
12 views

Autoref not properly placing links

I have the following code: \autoref{fig:vc_dimension} \begin{figure}[t] \begin{subfigure}[b]{0.5\textwidth} \centering \includegraphics[width=\textwidth]{vc_dimension_1} \caption{...} ...
1
vote
0answers
11 views

How do I format my section/subsection titles without changing the cross-referencing result [duplicate]

I am using some code recommended by the editor of a journal. However, the \renewcommand line for \thesubsection and \thesubsubsection seems to be causing a problem with the cross-referencing function ...
2
votes
1answer
50 views

Appendix labels in small caps and hyperref

I'm using the book class and I'd like appendix labels (letters) to be in small caps everywhere, particularly those generated by \ref and \autoref. I've tried doing it by redefining \thechapter after ...
1
vote
1answer
44 views

Can I cross-reference to an external document if path and filename have spaces?

PART I: BLANK SPACES IN PATH I am a tech writer trying to cross-reference to a file in a different folder. Both the folder name and the file name I inherited have one or more spaces. If I change the ...
2
votes
2answers
35 views

How to use \ref to print the value of a counter the way it was originally produced?

I want to number the lines in a table with roman numerals, and then when I cross-reference them have the reference printed in the same way. For example, \documentclass{article} \begin{document} ...
2
votes
1answer
21 views

How do I fix at least one of my attempts to reference a label in a file in another folder?

I am unsuccessful in trying to follow instruction to do a \ref to a \label in a different file. Ultimately, this will be for a file in a different folder; I have one folder for Installation Guide ...
1
vote
1answer
13 views

Is it possible to link to the acronym definition without using the full acronym

I'm trying to be a bit fancy with the acronym package. I have several acronyms defined (I dump an example below) and I'd like to make a link to the acronym definition from my text, but for the first ...
1
vote
1answer
42 views

Latex external document referencing from Main tex file

I have a file structure like this Main.tex chapters (folder) Chapter_1 (folder) chap1.tex Chapter_2 (folder) chap2.tex To refence diagrams and equations from chap1.tex in chap2.tex, I ...
2
votes
1answer
32 views

Always getting upright numbers in references created with \cref, with italic-correction for conjunction between references

How do I make it so that I get upright numbers all the time in references created with \cref? I believe I'm supposed to do this with \crefdefaultlabelformat{#2\textup{#1}#3}. But in my example below, ...
3
votes
2answers
119 views

Removing the trailing period when referencing a section number

I'm writing a prospectus and my college has given me the following class for formatting it. I'm new to Latex and I've seen the these examples already (one, two, and three) but I can't understand how ...