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

8
votes
2answers
7k views

I get double question marks when referring to labels inside figures

I have some charts embedded in figures, and I want to be able to refer to them easily using the "Figure x" notation. I'm doing it like this (in this order): \documentclass[12pt,letterpaper]{article} ...
3
votes
2answers
23 views

How to refer to an inparaenum subitem within an enumerate item?

How can I typeset just the b (a subitem's label) without the 2 (the enclosing item's label) from a inparaenum list within a enumerate list? \documentclass {article} \usepackage {paralist} \begin ...
2
votes
0answers
12 views

Clickable file links from in-text reference

I am currently using natbib to reference articles that I have in Mendeley. I have figured out how to get clickable links such that clicking on the in-text reference brings me to the actual reference ...
2
votes
1answer
18 views

Enumerate starting at equation number

The following MWE contains proofs of equations numbered (2) through (4). I structure the proofs using an enumerate environment, so that the proof of equation (2) is labeled with 2., the proof of (3) ...
1
vote
1answer
28 views

LaTeX missing reference [duplicate]

A weird, possibly trivial, problem is happening. After running pdflatex test with the following in the file test.tex % -*- coding: utf-8 -*- \documentclass[11pt]{article} \begin{document} ...
2
votes
0answers
54 views
+50

Order references alphabetically with “elsarticle-num-names.bst”

How Can I order my references alphabetically using the bibliographystyle "elsarticle-num-names.bst"?
1
vote
1answer
12 views

Cross-referencing within table with set numbers

I need to reference in table cell to another cell in another table. In both cells should be exhibited a number - the same number (once as a plain text inserted by me and once as a cross reference). ...
0
votes
0answers
23 views

How can i avoid comma along with and in latex reference(.bib)?

Comma sign in Bibliography Last portion of above link contains both comma and and which is grammatically incorrect. How can i avoid comma?
1
vote
1answer
29 views

nbconvert-generated labels fail with babel, work without it or with large margins

I'm using ipython nbconvert (which uses pandoc) to transform an IPython notebook and the document code contains the following lines \subsection{Vytvářeni polí ...
1
vote
1answer
29 views

Label of theorems

Is there an equivalent of \figurename for theorems and lemmas? For instance, given that I've defined \newtheorem{theorem}{Theorem} \newtheorem{lemma}{Lemma} \newtheorem{example}{Example} and in ...
4
votes
3answers
48 views

Part cross reference name clash with redefinition of \thepart

I want to use some automatic cross referencing (I am using hyperref in the whole document which I customized) to write something like : We see in \autoref{partname} that To print : We see in ...
2
votes
1answer
47 views

Custom Figure Citation Linking Text

Below is my Coding \documentclass{article} \usepackage[colorlinks]{hyperref} \begin{document} To test whether Figure \ref{fig1} a suspicious URL is vulnerable, we utilize the URL to download a ...
1
vote
1answer
44 views

How to reference a chapter after using the \setcounter{chapter}{0}

I'm trying to create a reference the appendix. The appendix package is resetting the chapter and section exectly like I do and I started to notice this bug while using it... So I use the \setcounter ...
3
votes
2answers
49 views

Operation mode in pgfplots (referencing from externalized graphics)

I am using the externalize feature of tikz/pgf to save space for my thesis. I am using TeXShop on a Mac. I am running into trouble referencing something in the main document from the externalized ...
3
votes
2answers
35 views

References for asparenum environment with counters depending on section

I'm writing math lectures using my own environment for definitions: \newenvironment{mydefs} {\begin{asparaenum}[\P\slshape\thesection.a]} {\end{asparaenum}} So every definition is numbered like ...
5
votes
2answers
264 views

Multiply a label by 3 and print result

I would like to create a quiz for my students where the more parts I add to the question the more points it is worth. For each extra part, I want it to be 3 more points. In the following example, I ...
0
votes
0answers
22 views

gap between reference title and references list [on hold]

i m reading a master's report and my script is a class document. my problem is a large gap between the bibliography title and the bibliography list. I have tried to reduce it by using the function : ...
3
votes
1answer
19 views

wrong numbering in subfigure environment when caption is on top

I got wrong numbering with \subfigure environment when I use \ref to call a figure in the text. The problem only happens when I change caption position to the top of the figures (and yes, I need on ...
4
votes
1answer
34 views

How to refer a figure?

I am trying to add some results (images). I want to refer these images in other chapter(s) of the PDF so that the reader can just click the reference and go to the image directly. How I can do that?
1
vote
1answer
34 views

Remove last character from decription label in cross reference label

I read how to make a reference that has as a label the label of a description label (Reference name of description list item in LaTeX): \makeatletter \let\orgdescriptionlabel\descriptionlabel ...
3
votes
3answers
83 views

What is the correct way to type "See Eq. (n)

I am writing a document with equations and I am used to refer to equations with \eqref{label}. However if I want to refer to it in a commentary with parenthesis (see Eq. \eqref{label}), it will make ...
0
votes
0answers
30 views

Insert portion of code before every line break in gather environment

This is a follow-up question to Redefine equation environment: auto labeling. I want to have something like \AtEndEnvironment{gather}{\label{equ:\theequation}}(at the end) plus ...
0
votes
1answer
25 views

Referencing style in Lyx

Journal example: Gray, Jo Anna. (1976). "Wage Indexation-A Macroeconomic Approach." Journal of Monetary Economics 2, 221-235. Book example Blanchard, Olivier J., and Stanley Fischer. (1989). Lectures ...
5
votes
2answers
55 views

strange caption numbers in cross-references and list-of-figures

I am trying to fit a large figure containing four subfigures into my document. The whole thing is close to a page break, so I decided to split the figure via \ContinuedFloat. So just in case the ...
0
votes
1answer
19 views

BibLaTeX doesn't print bibliography

I'm using sharelatex to work on a project with a fellow student, but we are unable to get the biblatex to be printed. The file we use with for our bibliography is currently stored as sample.bib. Can ...
1
vote
1answer
363 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 ...
3
votes
1answer
12 views

Reference to \lstnewenvironment

\documentclass{scrreprt} \usepackage{regexpatch}% http://ctan.org/pkg/regexpatch \usepackage{color} \definecolor{codecolor}{rgb}{0.8,0.9,0.9} \definecolor{chatcolor}{rgb}{0.9,0.9,0.8} ...
1
vote
1answer
21 views

Continuous multiple reference numbering

I want to have three different sections for my references. Lets say Reference1, References2 and References3. A custom ordering of my references. However, I want that the numbering of each Reference ...
4
votes
5answers
2k views

TexMaker - working with multiple tex files, autocomplete is not working

Background: The document that I am currently writing is getting pretty big, so I decided to split it. I've tried \include and \input commands, but the problem still remains to be solved. I have ...
1
vote
0answers
51 views

Macro: Replace all occurrences of words which are identical to content of \label{…} into \nameref{…} (unless of course the \label itself)

This question is a follow-up of Macro: Replace all occurrences of a word, but would like to ask for a possibility to do the same with words (e.g. foo) that are identical to the contents of certain or ...
1
vote
1answer
32 views

Redefine equation environment: auto labeling

Hi i want to auto label every equation with its number (\theequation), i found a simple solution (to avoid manual environment redfinition) but i cant figured out what i am missing. Why it doesnt ...
1
vote
1answer
147 views

glossaries: display `see` reference but not page numbers

I am trying to display the see cross references but not the page numbers in my document. I understood that it's impossible with the means provided by standard, so I tried to use ...
2
votes
1answer
17 views

How can I solve the conflict issue in refcheck and bookmark packages

I am using refcheck package to check which equation is not cited in my paper. However, it is conflicted with a package "bookmarks". How can I solve that issue, but still use bookmark package ...
6
votes
2answers
89 views

\label-\ref consecutively numbered theorems using varioref

I hope all definitions, lemmas, theorems, propositions and corollaries are numbered consecutively. The code as below. My trouble is: when I reference, like \ref{<lemma 4>}, get 'definition 4'. ...
1
vote
1answer
30 views

Referencing equation like a figure

I have made an arrow equation (xymatrix) with text. Now I need to reference it like a figure. Any ideas how to achieve that. If I put in \label{} it will be numbered according equations. I need it ...
1
vote
1answer
40 views

URL of web page in bibliography not output

First time trying to write my thesis in Lyx which has been great up until this point, and getting rather close to submission time I have noticed that webpage references are not outputting with the URL ...
1
vote
1answer
33 views

Pandoc / Markdown: References on last page

Currently I am writing a document. And I have written most in Markdown with some embedded LaTeX. However, now all references are now placed on the page where they are defined. Is it possible to ...
1
vote
0answers
21 views

Customize reference system [duplicate]

My problem is the following : I want a reference to another section to be like that : "See section 3.2" I tried \textbf{section~ref{section}} but there are two problems : Only the number of ...
1
vote
0answers
23 views

Referencing to inputted table

I have many tables generated automatically in separated tex files which i input in my main document using \input{table1} \input{table2} ... Is it possible to refer to this table by using its name or ...
1
vote
1answer
24 views

How to change label/reference formats

I have just been using the default label and reference formats, i.e. $\label{eqn:a}$ and \ref{eqn:a} but I was wondering if there's a way to change the format of the references. For example if I am ...
2
votes
0answers
62 views

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

I 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 ...
2
votes
1answer
33 views

Natbib references does not appear in the bibliography

I must have a bibliography like this one I use TeXstudio in Win7 I tried different natbib styles but until I was not successful. My code: \documentclass[11pt,a4paper,twoside]{memoir} ...
4
votes
1answer
61 views

Listing all sections in which something is referenced

Is there some way to get a list of all sections in which something is referenced? For example, in This\label{test} is referenced in \magicalthingy{test}. \section{1} One\ref{test} \section{2} Two ...
0
votes
0answers
12 views

Citation inside Glossary

On the "We put \cite{} everywhere" topic, I've source citations in definitions some of my glossary entries. I use the unsrt style. As the Glossary is in the frontmatter, one can easily guess that my ...
1
vote
0answers
34 views

What is a better way to link questions and answers on a problem sheet?

I write many problem sheets. The basic structure is thus: \section{Questions} \begin{enumerate} \item Question 1 \item Question 2 \item Question 3 \end{enumerate} ...
2
votes
1answer
86 views

How to cross-reference an unnumbered theorem using hyperref and cleveref

In two previous questions (i.e. Distinguishing \ref and \cref through different colors, and ''Proof of Theorem x'' header trough modification of \ref) I addressed some problems I had with hyperref ...
2
votes
1answer
17 views

Numbered reference writing style: Breakable space or not?

Should a list of numbered reference be displayed with non-breakable spaces ? If I have only one, the obvious rule is to use "~", e.g. Lemma~\ref{fundamental}. But if I want to say "By Lemma 1, 2 and ...
1
vote
0answers
26 views

Bibtex and Chapter References [on hold]

I am having trouble with the template that my university gives. Since I cannot upload, here is the link ...
3
votes
1answer
24 views

How to link a figure without subsection?

I have many figures in my text, and they get numbers (in the first Section) 1.1, 1.2 etc. So just the number of section and then the number of Figure. But when I try to link the figures, they get out ...
2
votes
1answer
14 views

Reference to subfigure is either not showing or showing wrong

I am using the subfigure environment, but when I refer to it, the counter is either not showing or showing incorrectly. Here is the code. \documentclass[11pt]{article} \usepackage{amsmath} ...