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

Cross-referencing tables generated by xtable

I'd like to cross-reference a table that I generated with xtable in R. I cannot able to. Here is what I did: \documentclass{article} \begin{document} Look at \ref{tab:mytable}. ...
2
votes
1answer
26 views

How can I refer to the bibliography chapter generated by biblatex using cleveref?

I am using biblatex to generate my bibliography using printbibliography. I want to reference the bibliography from another chapter, using cleveref like this: \Cref{chap:bibliography} lists the ...
1
vote
1answer
37 views

Table row content, duplicate or quote in a different table

Following on from Arbitrary named counter, referenced, which was answered very comprehensively, I have a follow up question. This one's difficult to describe so my searching around the internet and ...
2
votes
2answers
36 views

cite references in the text by superscript numbers and listed at the end

How I can cite references in the text by superscript numbers and listed at the end of the paper in the order in which they appear in the text e.g Engel KH, Heidlas J, Tressl R. Food is wonderful, I ...
4
votes
1answer
225 views

\autoref subsections in appendix

MWE \documentclass{article} \usepackage{appendix} \usepackage{lipsum} \usepackage[colorlinks]{hyperref} \def\sectionautorefname{Section} \def\subsectionautorefname{Section} ...
1
vote
1answer
34 views

cleveref — using both abbreviated and full form references?

The words chapter, part, appendix, table, figure, and the like are lowercased and spelled out in text (though sometimes abbreviated in parenthetical references). (Chicago Manual of Style, 16th ...
4
votes
0answers
30 views

How to change cleveref references to 'verbal' varioref style?

I would like to use cleveref's automatic ref target type recognition but with the more verbal page reference of varioref. This is my MWE: \documentclass{report} \usepackage{varioref} ...
4
votes
2answers
54 views

How to refer to same footnote twice in REVTeX?

I am using REVTeX 4.1 with BibTeX for references. The author guidelines for a journal state: Authors should ensure that the journal article contains a reference in the reference list as ...
1
vote
2answers
27 views

problem in generating a reference

I had a problem with this reference, can someone assist me with it?. I do not know what could be wrong!. @article{nnnnn, author = {hku khfd}, journal = {Opt. Express}, keywords = {Guided waves; ...
0
votes
1answer
26 views

Error: multiply-defined labels

Below given example gives this error. ! SIAM Label Error: There were multiply-defined labels. Correct multiply-defined labels. \documentclass[final,leqno,onefignum,onetabnum]{siamltex1213} ...
0
votes
0answers
23 views

table of contents has wrong section references (scrreprt)

I noticed wrong references in my toc of my document. I'm trying to provide an MWE as goog as possible. Here's my code: ...
1
vote
1answer
58 views

Labels and Cross-referencing in items

I have itemize environment and I want to cross-reference between two items. How do I do that?
9
votes
2answers
469 views

Enumerate after \label

I have the following code: \usepackage{hyperref} \newtheorem{thm}{Theorem} \begin{thm} \label{mythm} \begin{enumerate} \item \end{enumerate} \end{thm} \ref{mythm} The ref prints the ...
2
votes
0answers
25 views

Placing ref/pageref target labels inside a section

Is it somehow possible to place a "virtual label" that will behave just like the most recent "structural label" when used with \ref but will still produce the page number where the label is actually ...
1
vote
0answers
47 views

Different labels pointing to the same object

I have the following code (an MWE) which creates two A4 pages, each with one figure which is composed of three subfigures. On the second page there are also two references: one to a subfigure of the ...
2
votes
1answer
35 views

cross-referencing figures : Any way to use Fig. instead of figure

I'm using IEEEtran.cls to produce an article. When setting captions on figures, the text begins with Fig 1. (for example). However, when I reference this figure by using \ref{img:something}, ...
1
vote
1answer
77 views

TeXStudio - Cross-reference in case of multiple files

I have a master document and for each chapter a separate file like: main.tex % preamble etc. \input{chapter1} \input{chapter2} \input{chapter3} % and so on chapter1.tex % Some figure with a ...
5
votes
1answer
20 views

alltt and hyperref package not playing nice together

I'm am trying to create some cross references between two documents. I'm using alltt in both docs to control the layout of some of the content. For the cross reference links, I am defining the ...
1
vote
0answers
45 views

The reference section does not appear at the end of my document

I am writing my first LaTeX document. Whenever I view it as a PDF file, the reference section does not appear where I want it to be (at the end of my document), instead it appears in between the ...
1
vote
0answers
65 views

Displaying authors in color bibtex

If I call a reference by \citet{xxx}, it appears in my document as Author [number], where the number appears in the color I defined in \hypersetup{citecolor=red} while Author and [] appear in black ...
8
votes
1answer
97 views

Reference label with included file and relaxed clearpage

I am running into a rather weird error that apparently originates from the combination of \include, \let\clearpage\relax and a referenced label after a page break. In this particular example, the ...
2
votes
1answer
233 views

Referencing tables in pandoc

Pandoc allows referencing images via inline Latex commands. However, it seems it does not work for tables. I'm aware of several workarounds, including manipulating a resulting TeX file manually, but ...
3
votes
0answers
35 views

Where can I download upref version 2.04?

From this PDF, it looks as if the current version of upref is 2.04, but the version on CTAN is 2.01. Where can I download version 2.04? upref version 2.01 does not seem to handle italic corrections ...
11
votes
2answers
120 views

Need to use \pageref to a page that has *-equations

I am sure that this has been asked before, but I don't seem to be able to find the answer. I need to make a reference to a page. That is, I would like to use \pageref{}. I specifically need to make a ...
5
votes
1answer
86 views

Find point of page break in an external document

I am creating multiple versions of a document from a single LaTeX source. Specifically, I have a series of lessons that have an instructor version (with notes and answers) and a plain student version. ...
3
votes
1answer
29 views

Minted custom label and reference

I use minted for listing Objective-C code and I need to replace the label text from Listing 1. to Source Code #chapter_number#.#subsection_number#.#subsubsection_number#.#label_number# like "Source ...
2
votes
1answer
48 views

Correct capitalization for crossreferences

There are packages that allow us to nicely reference sections/figures/etc. without having to actually specify to what we're referring, such as hyperref's \autoref or cleverref's \cref. That's ...
2
votes
1answer
41 views

Custom label for chemical structures

I need a custom label for my chemical structures and everything works fine but the label isn't centered. Does anyone know how to center the label? \documentclass{minimal} \usepackage{hyperref} ...
0
votes
0answers
15 views

Can figures be referenced verbally (automatically) with respect to their place mentioned in the text? [duplicate]

I realised that sometimes when referencing a figure in my thesis (KOMA-script fyi) I end up saying the above/below/right/left figure rather than always default to saying and in Figure XX and using the ...
3
votes
1answer
68 views

How to get Proper APA referencing format

I'm trying to use reference in apa format for my report. \documentclass[a4paper,12pt,openany]{report} \usepackage{apacite} \begin{document} \bibliographystyle{apacite} \chapter{Intro} A traditional ...
0
votes
0answers
12 views

Document class breaking references [duplicate]

I am using this document class for a resume, however when I include the class, I cannot reference labels. I get the error: LaTeX Warning: Reference `LastPage' on page 1 undefined As you can see I ...
2
votes
2answers
94 views

\ref and \label

\documentclass[b5paper,10pt,twoside,onecolumn,draft]{article}‎ ‎\usepackage{seamb}‎ \begin{document}‎‎ \begin{lem}\label{t2} This is my lemma. \end{lem} By Lemma \ref{t2}, we have ...
4
votes
1answer
53 views

Hyperref cross-references across splitted documents

Say I have a document of type \documentclass{article} \usepackeage{hyperref} %\includeonly{Chap1} %\includeonly{Chap2} \begin{document} \include{Chap1} \include{Chap2} \end{document} Where ...
3
votes
1answer
48 views

Creating own ref-label system without using additional parameters using newcommand?

is there any possibility to create a command by to make a reference without using additional parameters? I would use something like \newcommand{\something}[#1]{\label{#1}} Is it possible to do it ...
2
votes
1answer
50 views

Editing the reference style for subfigures using cleveref and memoir

I'm using the cleveref package to reference floats (in this case subfigures) in the memoir class. Currently the output looks like this (sorry for the danish, I don't think it matters): Using the ...
3
votes
2answers
31 views

How to change the word “table”/“cuadro” for “tabla” using \cref?

I´m starting using cleveref package. I like it. But now I´m typing in spanish and when \cref is pointing to a table I want that use the word "tabla" instead "cuadro", in the text. When I type "is ...
10
votes
2answers
257 views

Macro to generate ordinal words from numbers?

Is there a macro available that will turn "1" into "first", "2" into "second", etc. Let's call this macro "wordth". Then, for example, if item number 2 in an enumerate environment is labeled by ...
0
votes
1answer
33 views

When I try to reference figures, eg “see Figure~\ref{lattice1}”, the output it “Figure ??”. Did I label it wrong? [duplicate]

\documentclass{article} \begin{document} \begin{figure} % \begin{subfigure}[b]{0.30\textwidth} \centering \begin{tikzpicture}[ decoration={ markings, mark=between positions 0 and 1 step ...
2
votes
0answers
28 views

Collect text in mdframed and print at the bottom of the next page

am trying to collect say fruits mentioned in a page and print them at the bottom of the next page. all text is always enclosed in a frame and the frame can span multiple pages but the collected fruits ...
19
votes
2answers
2k 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 ...
0
votes
1answer
31 views

LaTeX is truncating my theorem reference numbers. How do I correct this?

I will have a Theorem, Lemma or Corollary and it will be numbered, say for example, 2.2.3 ... Unfortunately, every reference back to ANY Theorem, Lemma or Corollary simply state 2.2 ... It seems to be ...
3
votes
2answers
193 views

Macros formatting/arranging words {A_1}{A_2},…{A_n} into predefined paragraph for varying n and tagging

How does one robustly (without breaking most environments) construct the macros with arbitrary number of parameters that output the parameters into a predesigned paragraph such that several of these ...
0
votes
0answers
26 views

Problems with referencing to tables A1, A2 etc in appendix(with IEEEtran class)

I'm trying to refer to some tables in the appendix of my paper, the following command have been used to number the tables as A1, A2 etc.: \setcounter{table}{0} ...
0
votes
1answer
639 views

Cross-reference to an entry in the toc?

Is there any way to cross-reference to sections/subsections via their title? I find myself writing "Please see section 4 for more details", and it gets annoying very soon, especially when I have to ...
0
votes
1answer
45 views

Referencing theorems by numbers [duplicate]

I was wondering if there was a way that I could reference the numbers of the theorems in my document would actually having to write "theorem 1.11". So that if the numbering of my theorems change then ...
1
vote
1answer
64 views

Structuring a Large Document

I just started to write my thesis and i want to organize my document in Latex using the \input command, so for example, the main file main.tex is like this: \begin{document} ...
1
vote
1answer
20 views

How should I use reference with setcounter{lstlisting}{0}?

I specified in my lstlisting both caption and label. Also before every section I use: \setcounter{lstlisting}{0} My listing from PDF view looks like: Listing 4.1.2 SomeCaption When I am using ...
1
vote
0answers
22 views

Changing the order of crossreferences in biblatex footnotes [duplicate]

I'm trying to use biblatex-dw and the crossref functionality to make my bibliography more structured and easier to edit. I'm using the mvcollection, collection, and incollection types for the ...
2
votes
1answer
29 views

Roman numeral of defined counter

I defined myself a counter for Examples and want it to be displayed in uppercase Roman numerals. \newcounter{exampleCounter} \newenvironment*{Example}{\refstepcounter{exampleCounter}~\\ \noindent ...
3
votes
1answer
39 views

Natbib, sort&compress [closed]

I have finally managed to get my references in my thesis how i want them, correct style etc. however for some reason the natbib package is managing to sort my references, but not compress them. This ...