{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
68 views

Using newcommand inside newenvironment to print a table

I have the following self defined counter and command: \documentclass{article} \newcounter{usecase}[section] \newcommand{\usecasenumber}{\arabic{usecase} \stepcounter{usecase} ...
1
vote
0answers
24 views

Using newcommand and newenvironment to print a labled tabular [duplicate]

I posted this question as guest with some issues that should be fixed in this version so here it goes. I have the following self defined counter and command: \documentclass{article} ...
1
vote
1answer
48 views

PGFPlots external crossref updates

I’m using the PGFPlots package along with its external library for my dissertation. Overall, it's worked great and has been extremely helpful. But I've had issues when trying to update ...
4
votes
1answer
24 views

How can I create context-sensitive reference names for an environment which defines label prefixes on-the-fly?

Background: I asked a rather muddled but related question earlier. I received an excellent answer from Manuel to that question but my confusion about the problem means that I unfortunately asked the ...
8
votes
2answers
536 views

cleveref & varioref : Missing \endcsname inserted

I read the excellent question Difference between ref, varioref and cleveref. Decision for a thesis and various doc on the net (the varioref package documentation) and tried to use it... but with many ...
3
votes
2answers
48 views

Creating new counter formats on-the-fly with enumitem's \AddEnumerateCounter*

Aesthetic caveat: I am actually using small-caps with hanging figures and not lining. However, in creating a minimal example, I have succumbed to the defaults and created a typographical monstrosity. ...
3
votes
1answer
49 views

\subfloat \caption odd behavior

I'm very new to Latex and trying my best to adopt it as my method of choice for paper and my Thesis. I have always managed to solve any problems encountered by browsing through this forum but can't ...
1
vote
1answer
21 views

Marking something as undated in the bibliography

I would like undated books to show up in the bibliography as undated, e.g. as something like: Oslo kommune (undated). Nedre poenggrense for inntak til Vg1 (videregående trinn 1) for ...
3
votes
2answers
109 views

Referencing a quote environment

I currently have a quote in my tex file like this: \begin{quote} blabla \end{quote} Now I want to refer to this quote inline. Adding a label works but I cannot get the caption to work, in order to ...
6
votes
2answers
79 views

Make footnote clickable both ways

Using the hyperref package, footnotes become clickable and lead to the bottom of the page where the footnote is printed. However, clicking on the footnote's number does not bring the reader back to ...
2
votes
1answer
33 views

citation with page number does not work

i want to cite some books as references and add the page number to the reference, for example i have this bibliography entry : @book{ref2, title={Introduction to Information Systems: Supporting and ...
2
votes
1answer
30 views

How to make a reference to the first occurence of a citation in biblatex

How can I get the number of the footnote where an entry was cited for the first time using \ifciteseen? MWE: \documentclass{article} \usepackage[ backend=biber, citetracker=true, ...
4
votes
1answer
53 views

Re-using label names for different items across chapters

I'm writing my thesis (using a university-specific document type) and am importing many chapters (using the package import). Each chapter is taken directly from a latex file that once served as an ...
1
vote
1answer
23 views

Mis-referencing of a label from an enumerate environment

MWE: \documentclass[12pt]{article} \usepackage{icomma} \usepackage[english]{babel} \newcommand{\bookcite}[6]{#1, #2: \textit{#3}. #4 ed. #5, #6 pp.} \usepackage{enumitem} \usepackage{hyperref} ...
0
votes
0answers
15 views

Natbib - Cite full author name [duplicate]

I'm using natbib for formatting my references. I want to include; World Health Organization (2015) or (World Health Organization, 2015) as \citet and \citep. However, as you may guess, it only ...
6
votes
1answer
117 views

Insert caption text to body

The \ref command can refer only the number of the table, like the following code. \documentclass{article} \begin{document} According to Table \ref{table} [[HERE]], we blah blah. \begin{table}[tb] ...
1
vote
1answer
62 views

Bad crossref error [closed]

I am using TexMaker on Mac. In my BIB file, I have an item like: @inproceedings{DBLP:conf/wsdm/YeungI11, author = {Ching{-}man Au Yeung and Tomoharu Iwata}, title = ...
3
votes
1answer
53 views

Is it possible to insert figure, caption, graphic from other tex file

I have two .tex files. The first .tex file includes two figure: Fig.1 and Fig.2. Could I cross reference whole detail of each figure in other tex file, including graphic, caption, figure number...? ...
0
votes
0answers
37 views

How to cross reference across child documents in Classicthesis LyX version

I have perfect solution for cross referencing propositions etc within each Chapter, that is, each child document, see my previous question. but I am stuck again in cross referencing them aross Chapter ...
1
vote
2answers
62 views

How to cross reference theorem lemma etc as for example “Theorem 1” in LyX

I have loaded the theorem by type and theorem by type within Chapter (TIP for learner:add the first in order to add the second). So I use theorem environment for different types: proposition, ...
1
vote
2answers
33 views

Failure to use bibliography in other tex file

I have two .tex files: reftest.tex which contains the main details: reference, figure, equation; and cross_ref.tex. In cross_ref.tex, I want to cross-reference citation of refernece in the reftest.tex ...
2
votes
1answer
24 views

Changing the printing of a counter only in references

I have the following problem : I have a counter (in my case enumi) that I want to use for referencing with a different name than when it is appears first. Is there a tool in Tex/Latex to do this? ...
1
vote
1answer
32 views

Problem with inserting “page” in Glossary

I read this question to insert "Page" before the occurencing page of a Glossary Entry. I tried the proposed solution, which rely on the following code : \renewcommand{\glsnumberformat}[1]{% ...
4
votes
1answer
97 views

get the value of the current counter

I'd like to recover the value of the current environment counter and store it for my own uses, e.g. in the example below I'd like to store (not print) the number 1. With \@currenvir I can get the ...
1
vote
1answer
64 views

Appendix and cross-referencing

first my code: (I added all packages I'm currently using) \documentclass[12pt,a4paper,notitlepage]{report} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} ...
27
votes
3answers
16k views

How to reference \paragraph?

It is well-known that \section environment may be assigned a label \label{refname} and then the refname may be used in order to reference this section: \section{My nice section} ...
3
votes
1answer
3k views

“Wrong” numbers while referencing lstlistings in text

I'm using the lstlisting package to put sourcecode in my pdf file: \documentclass{scrbook} \usepackage{listings} \lstset{ % language=xml, basicstyle=\footnotesize, % the size of the fonts that ...
1
vote
1answer
52 views

Problem Hyperref Coloring Only TOC

I would like to use the hypperref to create blue links for only toc sections and subsections. \documentclass[12pt,oneside]{book} ...
2
votes
1answer
36 views

Cross Reference of Environments

I defined a personalized table environment as follows: \newcounter{Table}[section] \newenvironment{Table}[1][]{ \refstepcounter{Table} \newcommand{\tbtitle}{#1} \begin{center} } { ...
1
vote
1answer
71 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}. ...
1
vote
0answers
27 views

Cross-referencing inside empheq environment

Today I encountered a problem getting a cross-reference of one of my equation inside the empheq package. I use the gather environment inside my empheq equation and would like to label both equation ...
0
votes
0answers
16 views

changing cross-references' names in LyX 2.1.0

Salut. I am writing an article in LyX 2.1.0 in a language other than English. How do I change the cross-references' names, eg. from "Figure 1" or "equation 1" to "xxx 1" and "yyy 1" ? I have been ...
0
votes
1answer
30 views

Change label numbering prefix

I want to change the labeling of my figures from A.1, A.2, ... to Abb. 1, Abb. 2, ..., because my appendix chapter is already labeled with A and this causes some confusion (whether A.1 is meaning the ...
6
votes
3answers
8k views

Figure reference \ref{fig:result} renders as ?? in PDF

I have an article with the following figure (there are 2 small charts near each other, horizontally): \begin{figure}[h] \centering \includegraphics{left-graph} \includegraphics{right-graph} ...
8
votes
3answers
174 views

Write out referenced chapter number

Is it possible to write out the referenced chapter number? Instead of I’m referencing Chapter 1, „Referencing“ I would like to see I’m referencing Chapter one, „Referencing“. MWE: ...
2
votes
1answer
35 views

unexpected linebreak when using `\nameref` in marginpar

I have an unexpected linebreak in my \marginpar and don't know where it comes from. It appears right in the middle of the \nameref... Does anyone see the mistake? ...
13
votes
3answers
2k views

varioref: \vref or \vpageref at page boundary (may loop)

Sometimes a have situations, where I'm not able to compile a document, because the varioref package result in a loop. Here is a MWE, which result not in an endless loop, but it demonstrate the issue ...
0
votes
1answer
38 views

What package should I load to use refsegment?

I am using this thesis template: https://github.com/kks32/phd-thesis-template/ I want to print a reference list for each chapter. When I insert the following command I get a lot of errors. The ...
91
votes
9answers
63k 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.
4
votes
4answers
121 views

Excluding subsection from toc but allow proper referencing

I am involved in the later stages of a big project, in which we use the following \tocless command to exclude specific subsections from appearing in the table of contents: ...
7
votes
3answers
210 views

Best practices in labeling (giving labels to equations, theorems, items, etc..)

Are there some Latex style guides with part dedicating to labeling? I want to use some persistent labeling scheme, but don't know any (except for uncertain one in my mind). What labeling scheme ...
49
votes
3answers
61k views

Label equation with a symbol

I would like to label an equation with an arbitrary symbol, rather than a number, or letter. Is this possible?
0
votes
0answers
26 views

Italic correction after a reference

It seems that italic correction doesn't work after a \ref. I wanted to name a variant of a theorem with a prime, and this causes a problem if there's a reference in italic mode. Here's a simple ...
2
votes
0answers
36 views

How to modify the sorting of cleveref?

In the backmatter of my document I have the part with plates. Each page is one plate with several figures in it. The counter for the figures starts on each page/plate, but the number of the figure ...
0
votes
0answers
18 views

Cross-reference line numbers [duplicate]

I recently found a helpful post about cross-referencing line numbers in LaTeX. This seems great for responses to reviewers, but suffers from a particular limitation. Quoting the original article, ...
3
votes
2answers
102 views

Postfix for cross references of enum lists

I have a question to manipulate cross references to enumeration lists. To change the appearance of the list, I know the commands \theenumi to choose the type (roman, arabic, alph...), \labelenumi for ...
11
votes
1answer
162 views

Refer to a node in tikz that will be defined “in the future” (two passes)?

I have devised a small couple of commands to have a nice "callout thing" for my notes; please consider the following MWE (the problem is also explained there): \documentclass{book} ...
1
vote
0answers
20 views

how is the easiest way to refer to references in the text as supernumbers rather than bracketed numbers. I am using documentclass article

How is the easiest way to refer to references as super numbers rather than as bracketed numbers (e.g., [3]). I am using documentclass article with no special bibliography indications.
0
votes
0answers
20 views

Back reference in the bibliography

Hellow I used this source to view the bibliographie \usepackage{harvard} ..... \bibliographystyle{dcu} \bibliography{These} I search how view the cited pages in the bibliographie references? I ...
0
votes
1answer
20 views

Reference to table into appendix

I am a new user of latex and I want write in my text some reference to several table in appendix If from a chapter write \ref{tab:1d_1_sta} I have only A.1 and not A.1.1 How can solve this ...