{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
0answers
23 views

No references generated [duplicate]

I'm pretty new to latex but I'm having a real problem generating references. Here's my tex file \documentclass[11pt a4paper]{report} \begin{document} This is the first reference \cite{Shaklee1971} ...
0
votes
1answer
30 views

New page for chapters but not for sections

I would like my report to show the chapter headings in the next page but the sections on the same page. It is a double page report. \documentclass[a4paper,12pt,twoside]{report} \chapter{Introduction} ...
0
votes
1answer
63 views

Numbering equations

If I am writing a LaTeX document on TexMaker and I want to number my equation but most probably I will be adding details later on and I do not want to fall into retyping it all over again. So if for ...
2
votes
3answers
111 views

Label my own items

I am writing a small financial report by latex... There are several expenses which repeat quite often in the whole report, for instance food, hotels, train tickets, etc. I think it will be convenient ...
3
votes
3answers
97 views

cross references across chapters

I renewed my command for chapter/section...etc So I don't see the chapter number in all (sub)sections name. Also the point was that when I'm in a chapter and I use \ref to reference to a section of ...
2
votes
1answer
33 views

How can I get correct labelling of sub-figures with subfig and floatrow?

I am using subfig and floatrow to manage sub-figures. Without floatrow, everything works OK, but I need floatrow to easily align the captions, as the subfig manual explains. Adapting the example on ...
7
votes
1answer
793 views

Cleveref: AUCTeX and RefTeX set-up

How can I set up cleveref to work with AUCTeX and RefTeX? I have tried the advice on Emacs, RefTeX and Cleveref – can they work together? but it didn't work. Additionally, when I hit enter, \ref{} ...
2
votes
0answers
55 views

! Missing \endcsname error… I cant not find the problem

I can not compile my tex file into pdf using winedit 9. This is my issue. I have attached the tex file as well. Please any help would be appreciated in fixing this problem. The issue is apparently ...
4
votes
1answer
102 views

Problem with converting footnotes into endnotes

I'm using endnotes package to create endnotes, and since my existing body of text already contains lots of footnotes, I use \let\footnote=\endnote to convert footnotes into endnotes. ...
3
votes
2answers
85 views

How to mix \ref{} and \pageref{}?

There is \ref{} and \pageref{}. But I want mixed behaviour. I would like to have something like "XXX (page.YYY)" in text, where XXX is what \ref{} usually produce (chapter/section/etc number), while ...
1
vote
1answer
44 views

Equation labeling in latex [duplicate]

I need referencing from an equation, such as: \documentclass{article} \usepackage{amssymb,amsmath} \begin{document} \begin{equation} \label{eq:1} y+x=3 \end{equation} some text \ref{eq:1} some text ...
8
votes
1answer
77 views

Label naming strategy

I study physics and use LaTeX to typeset math-heavy writing. While I can write LaTeX fairly quickly, I often find myself spending too much time on thinking of reasonable names for my equation labels. ...
1
vote
1answer
36 views

Cross-referencing label and table of contents

I am using a label for referencing. I just added my table of contents and saw the label is used as chaptertitle. How could I fix this? My MWE: \documentclass[a4paper,dutch]{report} ...
6
votes
2answers
78 views

Referring to label and value of counter at that point

I'm putting together a catalogue of artworks. These are given a running Roman number, and divided into groups given letters (so A1, A2, B3, etc.). At the moment I am manually looking to see what group ...
2
votes
1answer
61 views

Problem with authors names in the references [duplicate]

I'm having a problem in the references. When I have multiple names, I wrote all the names before compiling the file but that it selects randomly a few authors names by writing just the first letter of ...
5
votes
2answers
127 views

References as text decorations (using multiple files)

I would like to draw a picture in which a line connects two points. Along this line, there should be a text "x", where x is the number of a specific equation in another document. Unfortunately, I am ...
6
votes
2answers
255 views

Problems with tilde (~) and line breaking

I'm trying to avoid a line break between the word "Table" and the number reference for that table. Following the advice of another Q&A, I went through my whole document and replaced all spaces ...
5
votes
1answer
62 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 ...
4
votes
1answer
73 views

how to use cleveref with IEEEeqnarray?

Here is the codes. I have 3 questions about the labeling by using the packages IEEEtrantools and cleveref together. \documentclass{amsart} \usepackage[colorlinks]{hyperref} ...
1
vote
1answer
50 views

table number is off in cross-references

I have a longtable and a regular table that were generated by a statistics package. I am inserting then into an article like this: \input{../Tables/sum_stats.tex} \label{sum_stats} and then ...
0
votes
1answer
55 views

Update references each time LaTeX compiles document

When I use my TeXnicCenter and hit the compile button I want that all references are updated ... So I don't have to compile 3 times till all those references update. Because with a bunch of pictures ...
2
votes
1answer
39 views

Referencing figure in adjustbox

I have rotated my figure to 90 degrees using adjustbox as follows: \begin{figure}[ht] \begin{adjustbox}{addcode={\begin{minipage}{\width}}{\caption{% My caption ...
2
votes
2answers
45 views

Cross-references and citation call-outs in color

I want to know what are the packages that do the following. When I cross-reference an Assumption or Theorem or cite a bibliographic entry ... I want that it will be colored in blue. I will put images ...
3
votes
0answers
28 views

How to get the counter value for a reference? [duplicate]

The command \label{here} defines a label and \ref{here} outputs the corresponding representation in the text. Is it possible to get the correspondig (numeric) counter value for the here reference so ...
2
votes
1answer
38 views

Using xr to refer to another document without hyperref

I have two documents A and B. I wish to refer to theorems and lemmas from A in B. To do this I am using the package xr in B. If I use the package hyperref in B then it's all fine. Otherwise, when I ...
4
votes
2answers
117 views

Change from capital F in \figurename

To save some time when writing reports I usually define something like: \newcommand{\figref}{\figurename~\ref} I use the variable \figurename because I want to use the same code for writing in ...
3
votes
1answer
43 views

Incorrect formatting when cross-referencing equations

I am having trouble correctly formatting cross-referenced equations. When I reference an equation I would like the equation number to appear on the far right-hand side of the page, just as the ...
0
votes
0answers
45 views

Reverse figure links

I like the way that hyperref provides links from references in the text back to figures or equations but at times I'd actually be interested to have the reverse work as well. Such that figures and ...
0
votes
0answers
54 views

How to make reference to a codebox?

I am using the clrscode3e package to typeset pseudocode and I want to make reference to the procedures in codeboxes to produce something like "Procedure InsertionSort". How to do that? For example, ...
4
votes
2answers
71 views

Setting the enumi counter under parametrized enumitem

This is a variation on two previously asked questions: Setting the enumi counter under custom enumeration with enumitem and Looking for a numbered List, with parameter, custom label and custom ...
1
vote
1answer
346 views

Biber Problem in OSX: why references not compiled?

[Update] This is solved thanks to Adam Liter's contribution in chat. This is summarised to a community answer below. I cannot understand why the references do not get compiled. I am running Yosemite ...
9
votes
1answer
50 views

How do define label system with labels given by counter?

I would like to have two commands \makelabel{foo} and \referlabel{foo} to be used as in the example \documentclass{article} \usepackage{amsmath} \begin{document} \[ A \overset{\makelabel{foo}}{=} B ...
5
votes
1answer
276 views

How do I use the target caption of a \hypertarget as the link caption in a \hyperlink?

I'm building a software requirements document and using my own set of counters to generate unique requirement identifiers. I'm also grouping different requirements into longtables, e.g. ...
4
votes
1answer
39 views

Line number in cross reference

Cross references in Latex allow me to print the page number of a reference. How can I print the line number too (for instance the word Lily appears on page xxx, line xx)? Thank you, A
5
votes
3answers
132 views

How can I get my IDE to recognize listing labels?

I'm using the listings package to print code snippets. My IDE is TeXstudio 2.8.8. I mention this for the sake of completeness - I assume the behaviour is the same for all IDEs, which is why I wrote a ...
0
votes
0answers
45 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 ...
11
votes
2answers
176 views

How to compare the output of \ref to a number?

I want to compare the output of \ref to a number in LaTeX. I thought it would be easy but after spending lots of hours surfing the net I still don't know the answer. I found similar questions on this ...
0
votes
1answer
68 views

All figures at end of section (or Chapter) but in the order they were cited in the text

I've been trying to do this for so long, it would make my life so much easier. I have a *.tex file containing all the details of the figures in a chapter (but not necessarily in the right order), ...
1
vote
1answer
37 views

citing reference

when I cited reference in theorem environment, the complied result is of the form Lemma 4.1. [ 10, Lemma 5.1.] A is of full rank. Namely, the font is oblique. But I want the form of Lemma 4.1. [ ...
1
vote
1answer
48 views

Using \lstinputlisting to include portion of file using labels instead of line numbers

I know I can include a portion of a code file like so: \lstinputlisting[language=XML, firstline=37, lastline=45]{source_filename.xml} But the line numbers will change if I modify the code file. Is ...
1
vote
0answers
103 views

TeXMaker auto-completion corrupted for new FIGURE command including label

I defined a new command \FIGURE, which takes all arguments for the filepath, label, short/long caption and size and then builds a figure environment for this. I.e. I also define the label for this ...
2
votes
1answer
52 views

“Label multiply defined” when using ifthispageodd in includeonly

I am using several \included files and within them several instances of KOMAs \ifthispageodd mechanism like in the following MWE: \documentclass{scrbook} \begin{filecontents}{fileA.tex} ...
1
vote
0answers
55 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 ...
3
votes
1answer
50 views

Cleveref does not sort self defined tags

Because I have many equations in my document and most of them do not need to be referred to, I always use \begin{align*}...\end{align*}. For the times I do need an equation number I have written a ...
1
vote
1answer
359 views

Having hyper-referenced items for the symbols in a nomenclature table

I am trying to replicate the following picture, with some modifications, in my thesis which shows a nomenclature in a long table format. I want to have this along with classicthesis package version ...
0
votes
1answer
51 views

redefine \ref{…} commands - TeXMaker ref auto-completion

I am redefining my reference command, to more easily reference chapters, tables, figures, etc.. Here e.g. for chapters \newcommand{\CHAPREF}[1]{chapter \ref{#1}} %Reference template for chapter ...
1
vote
1answer
94 views

Insert labels inside table rows

I have a long table with different equation, I need to make a label and then refer to them in some cells, trying to do that by putting usual label giving me wrong results in LyX, more precisely if the ...
0
votes
2answers
116 views

Referencing appendix returns chapter number instead of letter (memoir class)

I'm using an adapted version of the memoir class to typeset my thesis. I'm attempting to add an appendix, which I will reference in various chapters. Here is the basic code (to compile, need ukthesis ...
3
votes
1answer
102 views

Separate bibliography for articles

I have a bibliography that mixes every refrence type (mostly books and articles together). Now, I would love to be able to separate only the articles from the rest and display them under a separate ...
1
vote
1answer
35 views

Ref command does not work in pseudocode

I want to use \ref command in my pseudocode like this: 1st Line : "mut Eq. x" 2nd Line :"cr Eq. y" 3rd Line :"sel Eq. z" But i am getting "Latex Error : Command \item invalid in math mode" in the 2nd ...