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

0
votes
0answers
6 views

Refer to page number in separate document [duplicate]

I have two Latex documents, both are 'report' document class. The first doc is a manual used for teaching, the second contains solutions to exercises. In the second doc, I would like to refer to page ...
3
votes
1answer
46 views

Multiple versions include of a chapter

I would like to include a chapter two times, a short version in the main part and a long version in the appendix. Everything works fine except the labels and references. Is there a way to redefine ...
5
votes
1answer
70 views

Repeat the Entire Labeled Text upon Referencing

I would like for the text of an item in and enumerate environment to be repeated automatically upon referencing. This is similar to MS Word's cross-referencing option for inserting entire text. Can ...
0
votes
0answers
18 views

Referencing at separate points to just one book

I have a book called $\pi$ unleashed that I wish to reference several times in my document. I want to reference it so that in the text it would say [2 p45], [2 p65] etc and then in the bibliograpy ...
-1
votes
0answers
28 views

Automate changing labels

In my .tex file, I have several sections and labels for these sections, and these labels are cross referenced in the text like this: \subsection{My Section Title} \label{sub:my_section_label} Lorem ...
3
votes
1answer
23 views

How to reference figures with short path correctly?

I am trying to reference figures with short path but every time I compile I get a blank space, the code I used is: \documentclass[15pt,a4paper]{article} \usepackage{lipsum} \usepackage{url} ...
0
votes
0answers
20 views

Ref to table without actually having a table [duplicate]

I would like to generate TOC entries for tables, without actually having a table but something other in place (a image) The background is, that in my document are some tables, which were quite big ...
0
votes
1answer
28 views

Detect / use flag to alter command behaviour at beginning of sentence

Due to my lazyness I defined a command to ease insertion of references to tables, meaning it automatically inserts "table X" instead of only "X" (see MWE below). Depending on if the reference is the ...
0
votes
0answers
36 views

PDF bookmarks don't work correctly (every reference points to the first page of the document)

As I almost described in the title of this question, my problem is the following: I'm trying to create suitable PDF bookmarks to my document but all the references (bookmarks on the left side, ...
0
votes
1answer
18 views

Cross-referencing specific words [duplicate]

I would like to cross reference to specific words in a document so that when I click on a word, it will bring me to a specific place in the document; similar to a hyperlink, except the 'URL' would be ...
0
votes
0answers
15 views

One of my references is listed with no information [closed]

I have a document with some references. One of them is listed like this: With no information listed. The bib file is: @article{Shaklee1971, author = {Shaklee, K. L. and Leheny, R. F.}, ...
0
votes
0answers
25 views

Many erros when refer to equations [closed]

In my documents I usually refer to the equations in different environments like align gather equation. Then I found that \eqref are not stable commands. Sometimes \eqref can give me correct ...
1
vote
1answer
28 views

Table of contents in black. Cross references and bibliography references in blue

I am using article as document class and chicago as bibliographystyle. I want to display the table of contents in black (still being able to click on the sections and subsections) and the cross ...
1
vote
0answers
29 views

Making a newspaper entrytype based on the article entrytype

I'm having a great deal of difficulty with defining a newspaper entrytype and adjusting the citation style to match my university's guidelines. I'm required to use Harvard format, so my newspaper ...
5
votes
3answers
36 views

change the way \ref reference a subsection [duplicate]

Hi I have a problem with sectioning: I would like to call each section with Roman numbers I, II, III and each subsection with letters A, B, C and subsubsections with Arabic numbers 1, 2, 3. However ...
1
vote
0answers
33 views

How to change the bracketed references at the end of an article to parenthesis, i.e., [1] to (1). [duplicate]

How to change the bracketed references at the end of an article to parenthesis, i.e., [1] to (1). The journal in question wants (1) at end of the article not [1] which I get with latex \article.
0
votes
1answer
28 views

\autoref{} printed “Theorem 2.1” instead of “Lemma 2.1”. How to change? [duplicate]

I labeled my lemma with \label{lem1} and referred to it later using \autoref{lem1}. However, what was printed was "Theorem 2.1" where it should really say "Lemma 2.1". How do I fix this? ...
-1
votes
0answers
20 views

exponential reference notation within the text using \article [duplicate]

How is the easiest way to change references in the text from [#] to exponential notation within latex \article?
8
votes
7answers
273 views

How to define optional second argument for macro?

I've defined a command which lets me quickly reference to the number (of figure or table) AND page at the same time: Command \newcommand{\kplref}[2]{~\ref{#1}, S.~\pageref{#1}{#2}\xspace} The ...
2
votes
2answers
39 views

How to get the lettering in \citeyear?

I have the following document \documentclass[12pt,a4paper]{report} \usepackage{fontspec} \usepackage{xunicode} \usepackage{polyglossia} \usepackage[maxlevel=3]{csquotes} \usepackage{graphicx} ...
10
votes
1answer
142 views

LaTeX Labels: Any Constraints on Length

Are there any limitations to how long the text in a \label{text} can be? I'm asking syntax-wise not aesthetic/practicality-wise.
3
votes
1answer
42 views

Incompatibility between package [francais]{babel} and refcheck

Below is an example that fails, giving, at compilation: ! Missing \endcsname inserted. <to be read again> \penalty l.10 On identifie \ref{eq:xx} With ...
1
vote
2answers
35 views

Multiple labels for one line of alignment

I have these four equations thus aligned, and would like to label each of them separately, placing the labels to the left of the two equations on the left and to the right of the other two. So far, ...
0
votes
1answer
24 views

Create a figure reference without defining a figure

I am writing a physics lab and I have a list of figures in the appendix, each figure has a reference. I also have two pages that have handwriting that are to be included in the report, and I want to ...
1
vote
0answers
22 views

Software to manage labelled objects for efficient cross-referencing (theorems, proofs, equationarrays, …)

Is there perhaps open-source software for managing labelled objects? I am looking for a BibDesk for theorems basically because I have rather many propositions and theorems floating around that I ...
2
votes
1answer
40 views

Managing Labels and their References in one TEX file that includes various TEX files

I have one TEX file that utilizes various TEX files via INCLUDE command. My problem is to cite a label of one file in another file. FOR EXAMPLE. I have created labels in all Chapt1 to Chapt4 files. ...
0
votes
0answers
49 views

Collection of 'clickable' resources in LaTeX

Coming from software development, I'm used to Cmd+click on resources in my IDE to open a referenced file or to jump to a certain position in the current file. Currently and in TexShop, one can rely on ...
6
votes
1answer
29 views

imakeidx \see clash with \backmatter

I wonder if someone could explain what's happening in the following MWE, where the use of \backmatter will make disappear the index crossed-refs (\see and \seealso commands); try uncommenting ...
4
votes
1answer
54 views

How to add text to a title without it appearing in the reference?

I'm trying to make a section title with additional information next to it. Currently I'm simply changing the style and adding the text directly to the section title but it has the unintended side ...
1
vote
0answers
41 views

Cross-reference auto-completion with Subfile [closed]

I'm using Sublime Text 3 with LatexTools for my document. I have a document main.tex, which has subfiles Chapter1.tex, Chapter2.tex, etc. I would like to be able to have auto-complete for my ...
0
votes
0answers
19 views

Make a hyperlink in Latex document [duplicate]

Currently I am labelling equations in Latex by \label{name} and quoting them again with \ref{name}. Now I saw in quite a few papers that it is apparently possible to have not just a reference ...
2
votes
1answer
37 views

Make reference to the name of the thing you refer to

I'm giving an example \section{About Cats and Dogs}\label{sec:catsdogs} some text [...] In Section \ref{sec:catsdogs}, we have ... I know there's a command \nameref{sec:catsdogs}, but this just ...
2
votes
1answer
20 views

Different reference headings using chapterbib

I'm writing my thesis, in which I have a few chapters. Each chapter is included as a separate file. I use chapterbib to generate a separate reference list at the end of each chapter by the following ...
1
vote
0answers
47 views

Recent alternatives to the historian package

The historian reference style is almost exactly what I need, but it's causing a lot of errors and seems to be kind of outdated. Are there any recommended recent alternatives? I need footnote ...
3
votes
1answer
32 views

Printing Caption of an environment in text automatically

Consider the following situation Suppose that I have several environments, each with a caption. To be clear, suppose that I have the following environments: \newtheorem{theorem}{Theorem} ...
4
votes
2answers
35 views

Refer to the item that follows a certain label/reference

We are creating use cases with a scenario represented by an enumeration: 1. Do step 1 2. Do step 2 3. Do step that can fail Some steps can trigger an alternative scenario that are listed as ...
2
votes
1answer
29 views

When referencing a figure, make text and figure name clickable

When referecnging a figure, you write something like: \begin{figure}[here] \includegraphics[width=0.9\textwidth]{images/example.jpg} \caption{A figure} \label{figureExample} \end{figure} and to ...
3
votes
1answer
67 views

Hidden line numbers

MWE: \documentclass[12pt]{book} \usepackage{lineno} \begin{document} \chapter{Hidden Line Number}\label{cha:hln} \linenumbers %\begin{nolinenumbers} One Two\linelabel{two}\label{two} Three The ...
3
votes
1answer
59 views

Label a word or sentence?

Is it possible to refer to a word in a sentence? Example: Hi, I love\label{Word: Love} learning so I ask a lot of questions. I would like to refer to the word "love" in the above sentence. For ...
8
votes
1answer
152 views

How to refer to section*{Masi}?

Assume you have \documentclass{article} \begin{document} \section*{Methods} Please, see Section \ref{section:lorem} for the evaluation of this topic. \section*{Evaluation} \label{section:lorem} ...
1
vote
0answers
22 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
27 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
50 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
100 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
86 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
21 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 ...
2
votes
0answers
42 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
84 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
75 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
37 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 ...