{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)

1
vote
1answer
11 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{...} ...
2
votes
0answers
10 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
12 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
27 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
22 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
39 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 ...
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 ...
1
vote
1answer
32 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 ...
0
votes
1answer
48 views

point after a Cross reference for section in article

I use the commands \label and \ref in my article but I had a point after the number; for example, in Section 5. How do I remove this point ?
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 ...
5
votes
2answers
150 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
42 views

multiple subequations same line with reference compact

I posted a question earlier, multiple subequations same line with reference But I'd like to be able to combine the numbering at the end of the line for the following two cases: Re = UL/nu , Ha = BL ...
7
votes
3answers
139 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 ...
67
votes
8answers
45k views

Reference different places to the same footnote

For example, I want to make footnotes both at Sentence 1 and Sentence 2 (which are on the same page) to the same footnote. Wikipedia's "References" have this effect.
1
vote
1answer
19 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 ...
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 ...
11
votes
4answers
236 views

Automatically insert “in the next [chapter/section/subsection]” if reference is sequential

I'm aware of the cleveref package \cref which adds the correct reference name (see: Automatically inserting "Section", "Subsection", etc). I have a few references which refer to ...
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 ...
22
votes
2answers
3k views

Multiple references with \autoref

I am currently using the \autoref command from the hyperref package to refer to my theorems etc. However, I want to be able to (easily) refer to two or more theorems/lemmas/..., e.g. by calling ...
3
votes
2answers
2k views

How can I get capitalised cross references in LyX with refstyle

LyX (v2.03) uses refstyle for cross references. By default if you use the GUI to create a reference it produces source that looks like: \tabref{label1} \figref{label2} which produces an output like ...
1
vote
1answer
15 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
18 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
1answer
34 views

Reference year sequence change

I am working with a report type document, with the settings of: \usepackage[round]{natbib} % omit 'round' option if you prefer square brackets \bibliographystyle{plainnat} \setlength{\bibsep}{18pt} ...
3
votes
2answers
47 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, ...
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} ...
2
votes
0answers
40 views

I need a pop-up on my in-text references AND I want the reference to still be 'clickable'

I need a pop-up to appear above my in-text references. The pop-up should display the page number where the citation can be found on (i.e. so the reader can check that the cited article actually siad ...
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 ...
4
votes
2answers
56 views

Using xr to refer to another document without hyperref

I have two documents A and B. I wish to refer to theorems and lemmas from A in B. To do this I am using the package xr in B. If I use the package hyperref in B then it's all fine. Otherwise, when I ...
2
votes
1answer
31 views

Problem with references [closed]

The problem is that i have good labels ('good' I mean that they are after caption, I tried with labels in the same line as the caption, and in the next line) and I'm trying to use references to my ...
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}. ...
3
votes
1answer
209 views

Varioref, cleveref and autonum together

I'm trying to mix varioref, cleveref and autonum to have the following behaviors: Automatic adding of reference type (i.e. adding "section" when referencing a section). -> cleveref; Adding the "on ...
4
votes
1answer
19 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 ...
12
votes
5answers
3k views

Wrong reference number for subfloat

I am trying to reference a subfigure in my text but it is numbered incorrectly. Here is a minimal working example: \documentclass{scrartcl} \usepackage[demo]{graphicx} \usepackage{subfig} ...
2
votes
0answers
15 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 ...
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
24 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} ...
2
votes
1answer
31 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
48 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 ...
3
votes
1answer
35 views

multiple handcrafted labels for figure

The following MWE shows my attempt to create a list of references in a document, with links from text to reference and back. It works well in text, but badly in figures when I try make the reference ...
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
48 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
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 ...