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

0
votes
0answers
6 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
69 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
86 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
44 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
49 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
46 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
23 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
45 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
57 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
134 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
79 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
50 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
185 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
36 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
82 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
28 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
26 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
12 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 ...
3
votes
1answer
69 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
74 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
55 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
25 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
14 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
243 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
41 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
248 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 ...
5
votes
1answer
41 views

substitute a character from one script to another

I am working in XeLaTeX + Memoir, and I have two documents: one typeset in English and another typeset in Arabic. As the two documents are related, I am using the package xr to establish ...
0
votes
0answers
25 views

Custom punctuation and format in references using [natbib]{apa6}

I need to change to reference entry format. I am using [natbib]{apa6} for managing my references; basic structure is as below: \documentclass[natbib]{apa6} \begin{document} ...
1
vote
0answers
18 views

\ref to algorithm/algorithmic not working [duplicate]

I am trying to reference an algorithm in my thesis, made using the algorithmicx and algorithm packages, but it fails, ending up with the dreaded ?? and the following error: LaTeX Warning: Reference ...
1
vote
1answer
90 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 ...
2
votes
1answer
38 views

Question on why hyperlinks are not aligned with adjusted page counting

When I adjust the page countering the hyperreference under the hyperref package shows the correct page, but when the hyperlink is clicked it takes me to the page which had been indicated without the ...
4
votes
1answer
88 views

Fancyref with fmtcount

When I use fancyref with the vario package option: \usepackage[vario]{fancyref} \newcommand{\figvref}[1]{\figurename~\vref{#1}} \newcommand{\tabvref}[1]{\tablename~\vref{#1}} The above would ...
5
votes
2answers
34 views

Context dependent cross reference formatting

I'd like to format my equations so that within any chapter, the label generated is (\thesection.\theequation) 1+1 =2 (without chapter number). A cross-reference within a given chapter ...
2
votes
0answers
122 views

Cleveref: Change behaviour of \Cref to use the abbreviated form

The journal International Journal of Solids and Structures uses always capitalised and abbreviated form of references, i.e. Fig. 1, Eq. 1, even at the beginning of a sentence. I use the package ...
3
votes
1answer
49 views

How can I label an equation as (*) [duplicate]

Here is the code which has an equation in the form of \[... \]: \documentclass[12pt]{report} \usepackage{braket} \usepackage{amssymb} \usepackage{amsmath} \begin{document} \textbf{Proof-} Every ...
2
votes
0answers
44 views

Cross-reference in muliple chapter in multi-file thesis

I want to cross-reference between different chapters. For example I have chap2.tex and chap3.tex as files containing all the theorems and methods, respectively. The following chapters 4,5...7 will ...
0
votes
1answer
16 views

Howto refer to (or avoid) a numbered entity in section title [duplicate]

In a master thesis, I need to refer to a model described elsewhere, from a section title, like \section{Analysis of model X} One way of referring to a model is to create a new counter, and then ...
2
votes
1answer
36 views

How to refer to (or avoid) a numbered entity in section title

I need to refer to a model described elsewhere, from a section title, like \section{Analysis of model X} One way of referring to a model is to create a new counter, and then write ...
6
votes
2answers
127 views

\ref and \nameref with alpha enumerated items

Is there a way to keep the enumeration list with (a), (b), etc., and have references provide the complete context like 1.1.1(a)? The section and sub-section references display as I’d like with 1.1 ...
2
votes
1answer
48 views

How can I reference figure*'s subfigure? [duplicate]

I'm writing a paper to submit a conference. However, I am having some problems fixing non-resolved references in latex. \begin{figure*}[ht!] \begin{subfigure}[b]{0.3\linewidth} ...
2
votes
2answers
62 views

How to cross-reference another document

I am writing a response letter response.tex to an academic paper review. In my response letter, I want to reference specific pages in the revised paper paper.tex, e.g. "see page 12 of the revised ...
0
votes
2answers
72 views

Referring to \chapter*

In my document I used \chapter* to take out the number of the chapter in the title and in the table of content as below: \chapter*{Chapter One\\ Introduction}\label{intro} ...
3
votes
1answer
49 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 ...
7
votes
2answers
150 views

How to label items

Is it possible to label items in latex in the following manner: We have the following theorem: Theorem 3.2 (I) bla bla bla (II) ble ble ble (III) bli bli bli So I would like ...
4
votes
1answer
90 views

change the format of \ref (enumerate package)

I am writing a list of questions using enumerate package. Something like this : \documentclass[a4paper,10pt]{scrreprt} \usepackage{enumerate} \begin{document} \begin{enumerate} \item \label{itm:1} ...
1
vote
1answer
44 views

How can I remove the italics in the article title in my references? I am using natbib with apalike2

I need to format my references for the International Review of Economics and Finance. Which means that they should look pretty much like the output I get combining natbib with apalike, with the ...
1
vote
1answer
30 views

hyperref for symbols

I have the following code, which prints a list of symbols in the end. \documentclass[12pt]{book} \usepackage{hyperref} \usepackage{thmtools} \usepackage[nottoc]{tocbibind} \usepackage{tocloft} ...
1
vote
1answer
23 views

Compound referencing with achemso

I would like to reference the compounds in my schemes with achemso in a manner similar to the options given by chemstyle, but is that possible? The documentation for achemso list a scheme environment ...
1
vote
0answers
50 views

\ref, \cite and \footnote not working any more (LaTeX and jurabib)

With jurabib I had a document with the right footnotes and references in the text (for tables and figures, and you could click on the titles, it was great) but the bibliography was not satisfying. So ...