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

Remove colored box of \ref locally [duplicate]

I have a theorem A and another one whose numbering is the numbering of A followed by a prime. However, I don't want the red box of the numbering for the second theorem, and this is the single place ...
4
votes
1answer
77 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 ...
6
votes
1answer
111 views

Cleveref: abbreviation for following page(s) (f./ff.)

I want cleveref to display references to page ranges of one or two pages as "5f." or "5ff." instead of "5–6" or "5–7" respectively. According to Martin Schröder's comment in Reference to page-range: ...
3
votes
3answers
65 views

Getting the `\pageref` out from under `hyperref`

I thought I was pretty cool when I modified \ref to also print a page number when the referenced float was more than a few pages back. But I really want it to be a nice link using the hyperref package ...
2
votes
1answer
46 views

Couldn't reference the figures [closed]

I am trying to reference the figures in [2] with [1]. The figures are inside multicols. When I compile it, I just get ?? in the refs. I get the error in [3]. What am I doing wrong? [1] References to ...
3
votes
3answers
178 views

Is there a way I can separately store all of my new commands in a single file?

Basically what the title says. I feel like if this is possible it's probably well known but I didn't find anything from searching. I just want to have a single place where I can store all of my new ...
0
votes
0answers
23 views

cross-references from other documents [duplicate]

I'm writing on a large document with many tables. Rules require me to provide every table as a standalone PDF file as well, so I do this: In main.tex: \documentclass{article} \usepackage{standalone} ...
0
votes
0answers
19 views

Change the Order of “Author, Title, Year” in Reference When bibstyle=numeric [duplicate]

I would like to have authoryear as my citation style while having numbers in the reference page. I have done the following: \documentclass{article} ...
3
votes
2answers
186 views

Bibtex error message: I was expecting a `,'

I have been trying to fix my bib-tex reference file for a while now, and keep getting the same error message: This is BibTeX, Version 0.99d (TeX Live 2015) The top-level auxiliary file: _Gilead ...
1
vote
0answers
33 views

Problems with references to figures and tables

I am finishing my course conclusion work writing using LaTeX, and insert the images I used standard codes, such as \begin{figure}[!h] \centering \includegraphics[width=13cm]{lixeoutroa} ...
2
votes
1answer
28 views

How can I create list of sections that a command appears in?

I have a modular document that specifies the following command; \newcommand{\specify}{A block of warning text} I need to include at the end of the document a list of references for every section ...
2
votes
1answer
31 views

cleveref: changing conjunction for pair

I want to change the conjunction used for a pair of equations. It keeps printing "and", I've tried a few different with \crefpairconjunction but I just can't get it to work. I didn't find anything ...
0
votes
1answer
12 views

Is it possible to insert a cross-reference within a lstlisting

Is there a way to use the \ref{} inside an lstlisting? Like this: \begin{lstlisting} \ref{sec:name} \end{lstlisting}
1
vote
2answers
113 views

How to make a custom \crefformat dependent on language chosen with babel?

For my custom class I use the cleveref package and define new custom reference styles: \crefformat{figure}{Meine tolle Abbildung ~#2#1#3} Is there a way to make this command consider the language ...
3
votes
2answers
52 views

Change style of references to memoir's subfloats

Is there a way to configure the style of references to memoir's built-in subfloats, i.e. when using \subcaptionref, and \ref? For example, is it possible to remove the parentheses? From the memoir ...
2
votes
1answer
75 views

Combine cross reference to multiple figures

I am writing a paper in Automatica journal format. The sample and style file can be found here. I want to use a cross reference to serveral figures such as Fig.~\ref{fig:aaa,fig:bbb,fig:ccc} and get ...
1
vote
1answer
76 views

Bibulous not recognizing references in included file

I am using the Bibulous tool to create nicely customizable bib styles (see also Create clean and simple custom bibstyle) i.e. this tool uses an alternative command to parse the *.bib file and create ...
1
vote
0answers
48 views

Refer to specific place in reference

What is the revtex standard (or commonly accepted practice) to refer to an equation/table/figure/section in an external source? (i.e. when I don't know the \label, therefore cannot use \ref). For ...
0
votes
1answer
29 views

How to plot all the sectioning levels using \ref{label}?

In following MWE, the \ref command returns the actual numbering of the subsection it refers to (here "a" -- cf. red box on the picture below). How to make it to return "1.a"? In more generic terms : ...
8
votes
3answers
3k views

Reference table rows by automatic counter

Problem I have defined an environment to automatically number example sentences throughout my document. It uses the tabular environment and automatically numbers the first column of each row using a ...
0
votes
0answers
23 views

linguex refer to multiple parts of an example

I frequently use linguex in my writing, and I sometimes want to reference multiple parts of an example. \ex. \label{X} \a. This is an example \label{Xa} \b. This is another example \label{Xb} ...
3
votes
1answer
124 views

Bates numbering of multiple pdfs with label reference to the page numbers

I really didn't think this was even possible until I came across, cross-referencing-to-included-pdf-with-counter-and-argument-in-the-label, reading that post gave me some hope. I have a document, ...
5
votes
1answer
67 views

Label and reference a symbol that represents a statement?

For example, suppose A \iff B \iff C. What's a way to put a number (like equation number) on each \iff symbol, label them, and reference them separately later?
0
votes
0answers
73 views

In-line citation using cross-referenced bibliography

I am trying to place in-line citations using a bibliography built in a separate LyX file. For example, I have Document1.lyx and I'd like to cite John Doe who wrote a paper on the subject I'm ...
4
votes
1answer
104 views

Replacing \citet and \cref with a single command (acme of laziness)

What would be the easiest way to accomplish the following? I want a single command, say \vcref, which automatically becomes \citet if all of its arguments are in the list of references and otherwise ...
3
votes
1answer
76 views

Cross-referencing to included PDF with counter and argument in the label

I would like to use the following code for including PDF documents in my LaTeX document: \documentclass[12pt,a4paper,fleqn,parskip=half]{scrartcl} \usepackage{lscape} \usepackage[latin1]{inputenc} ...
3
votes
1answer
185 views

Number and reference paragraphs

For "law-documents" you often want to enumerate every paragraph and cite them somewhere else in your document. This enumeration shall increase through the whole document and have the possibility to ...
2
votes
1answer
53 views

Multiple cross references (not citations)

I'm trying to refer to multiple references (not citations) at once and I can't figure out how to do it, and have it display the way I want. Essentially I want to refer to figures 1.4, 1.5 and 1.6 and ...
3
votes
1answer
128 views

Footnote Issue in Overleaf

I am facing a problem dealing with references to the same footnote text using the Overleaf online TeX/LaTeX system. Here is a minimum working example which compiles perfectly using MikTeX/TeXLive, but ...
5
votes
2answers
3k views

Reference a slide in Beamer

I have an example in my beamer presentation which I mention in another page. I want to include the page of that example in an automatic way. Here is my code. The reference to the example is on the ...
4
votes
1answer
63 views

label/reference isn't working properly [duplicate]

I am labelling my first table and then referencing it later, but the number that comes up when I reference it is completely different from the one in the caption. I am expecting Table 1, but I am ...
1
vote
0answers
32 views

Auto-create a list of conjectures from given documents

I have three mathematical documents. I want to auto-create fourth document, which should show all conjectures and problems from the first three documents. I mean that the following should be ...
3
votes
1answer
151 views

References used in article

How to verify all the references used in the article or not from the auxiliary file? Or is there any other file to check it? If any one reference not included in the article, whether that ...
3
votes
1answer
25 views

How to use correctly the reference on lstinputlisting command?

In my tex I have this command: \lstinputlisting[breaklines=true,label={lst:use_case_ip}]{ch5/code/get.txt} \captionof{lstlisting}{HTTP Request where string was found} which generate 1.2 value when ...
5
votes
1answer
106 views

making external references stick out

I am splitting some text into several files, so there are external references. These I would like to emphasize in some way, for printing, like: "theorem 7 (from OtherPaper)". Since there is a lot of ...
4
votes
0answers
57 views

\cref not referencing \chapter which is in separate file [closed]

I started using \cref from the cleveref package because it gives me better readability than \autoref from hyperref package. But I am having problems with \cref command not recognizing the label that ...
2
votes
0answers
29 views

Create a graph of references

I have a document containing references to sections (and figures and tables). I would like to generate a graph (V,E) of the following kind. The vertices (nodes) are the sections and the v1 -> v2 is ...
3
votes
1answer
48 views

How can I make \pdfbookmark anchor on the page where a figure locates?

I want to direct to a series of figures included in text. So I added something like \pdfbookmark[1]{Figure 1}{fig:1} But it goes to the same point it occurs in the source text, not the exact ...
13
votes
1answer
17k views

How to make \ref references include the word 'Figure'? [duplicate]

Possible Duplicate: Table, Figure, and Listing prefixes Automatically inserting “Section, Subsection, etc” I'm using the package hyperref. When referencing my figure, I ...
0
votes
0answers
14 views

How to split a tex file while still keeping correct equation references? [duplicate]

I need to split a manuscript into main text and online supplement, as required for publication on a journal. The problem is that in the online supplement, I refer to many equations and theorems in the ...
2
votes
1answer
267 views

Referencing wrong appendix in chapter. Should reference A.1 instead references A

My problem is when I reference a piece of document which is in my appendix it states the wrong one in my chapter content. I.e blah blah in 'A'. When it should be 'A.1'. Every document in the appendix ...
3
votes
1answer
50 views

Labeling a text and referencing it later

Is there a way to attach a label to a string and then refer to that string with a reference? For example, \labelText{This is a text that is also a tag}{label:text} and then refer to this string ...
1
vote
0answers
50 views

Right language for reference to appendix

I used the package cleveref to make references to appendix, so that: \documentclass[...(various arguments)...]{scrbook} \usepackage{cleveref} \begin{document} ... As I show in \cref{app:A}. ... ...
3
votes
1answer
386 views

Different fancyref strings for different reference targets?

I use fancyref with the default prefixes (chap:, fig: and so on). I'm not entirely happy with the way the references are generated when the referenced object is on a different page. For tables and ...
2
votes
1answer
32 views

cleveref and ulem/soul compatibility

I'm trying to use uwave and cleveref together: \documentclass{article} \usepackage{ulem} \usepackage{cleveref} \begin{document} \uwave{\cref{sec:A}} \section{A} \label{sec:A} \end{document} After ...
2
votes
1answer
25 views

Change citep{} style from (NAME, YEAR) to (Name (YEAR))

I a bloody nood regarding LaTeX and in the process of writing my bachelor thesis with it. However, my University has a citation standard, which i cannot achieve at the moment. Following styles are ...
5
votes
2answers
38 views

Package similar to upref for hyperrefs

I have been using upref to remove italics in \refs. Does there exist a package that does the same for \hyperrefs? As per request, a minimal example: \begin{theorem} Each ...
2
votes
1answer
27 views

Label not listed for table while using Kile

I am using Kile on Ubuntu 12.04 for a project. I have a table in a separate file from the main document. This table has a label \label{table} The table is called by the document with ...
1
vote
0answers
14 views

Change citep{} style from (NAME, YEAR) to (Name (YEAR))

I am a bloody noob regarding LaTeX and in the process of writing my bachelor thesis with it. However, my University has a citation standard, which i cannot achieve at the moment. Following styles are ...
1
vote
0answers
39 views

How to get a reference page for each chapter in apa-like style

I am trying to get to get the following in apa style. \begin{filecontents*}{references.bib} @BOOK{childs_temperature, title = {Practical Temperature Measurement}, publisher = {Butterworth - ...