{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
37 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
45 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 ...
4
votes
3answers
45 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 ...
0
votes
1answer
18 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 ...
5
votes
2answers
261 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
19 views

gap between reference title and references list

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
18 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
78 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
29 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
18 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
355 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 ...
0
votes
1answer
33 views

How to cut the “short tail” of the item in bibliography? [closed]

I use \bibliography to show the references, I found that some items often need to take up one more line in comparison with the same items in others' articles. For example, some items should fit within ...
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
31 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
146 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
88 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
38 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
32 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
23 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
32 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
33 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
85 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
25 views

Bibtex and Chapter References

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} ...
4
votes
2answers
2k views

How can I get capitalised cross references in LyX with refstyle

LyX (v2.03) uses refstyle for cross references. By default if you use the GUI to create a reference it produces source that looks like: \tabref{label1} \figref{label2} which produces an output like ...
0
votes
1answer
86 views

Hyperref under section don't link to items [duplicate]

Possible Duplicate: Can individual items in an itemize list be labelled and hyperref linked? \documentclass[11pt,a4paper]{article} \usepackage[colorlinks=true]{hyperref} \begin{document} ...
4
votes
1answer
71 views

Give an error if I don't reference a label

I would like to have LaTeX compilation (I use pdflatex) give an error if there exists one label in my document that I do not reference. Is this possible? This is to ensure that I mention every table ...
2
votes
1answer
39 views

How to separate glossary entries from section references in hyperref

I have a document, a glossary and references. I am using the hyperref package to create hyperlinks \usepackage[colorlinks = true, linkcolor = red, urlcolor = green, citecolor ...
1
vote
1answer
12 views

biblatex inbook custom page number postion

I borrowed the following code from here. \documentclass{article} \usepackage{xpatch} \usepackage[style = authoryear-comp, maxnames = 99]{biblatex} ...
5
votes
1answer
60 views

Would it be possible to create a navigation menu at the end of each section with automatically generated links?

I want to make a navigation menu at the bottom of each section|subsection|subsubsection|paragraph. This document will be embedded in the binary of an application. It is what the user will see when ...
1
vote
1answer
14 views

Referencing a custom labeled item in enumitem inline list

I'd like to have a list where most items use the standard labels but one or two have custom labels. I'd like to be able to reference each item and have its label show up. I use enumitem, and this ...
1
vote
0answers
19 views

Alphabetize index subentries with references

I'm able to print an index alphabetically. However, if I use \ref in the index entry, the subentries are not in alphabetical order. I'd like Module 3 entry to come after Module 2 entry. How can I tell ...
0
votes
0answers
23 views

Cross-referencing with \addcontentsline

I'm using \addcontentsline to make an entry for a PDF appendix (included with \includepdf in the ToC. The command I'm using is \addcontentsline{toc}{chapter}{Appendix A \ Window specification}, and I ...