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

2
votes
1answer
9 views

Titlesec and \ref do not match

I am using the titlesec package to modify how the sections are numbered. The problem is that when I label it and refer latter, the reference will use the standard section number. Here is a minimal ...
1
vote
0answers
21 views

xindy not sorting cross-reference targets

When compiling \documentclass{article} \usepackage{index} \newindex{i}{idx}{idn}{Index} \begin{document} Let's discuss letter d\index[i]{d}\index[i]{letter|see{d}} and ...
0
votes
0answers
29 views

How to typeset a cross-referenced encylopedia?

What LaTeX package I need to typeset an encyclopedia? i.e. a list of word definitions that contain cross-references and that is automatically ordered alphabetically
2
votes
1answer
42 views

Referencing formula before defining it

I'm writing a scientific article and I would like to reference a formula before it appears in the text. In principle it should work, the problem is that I want to use the hyperref package, so that I ...
0
votes
0answers
15 views

Referencing to full width table in two-column environment [duplicate]

I am using two-column environment and there I have some tables that have to bu displayed full-width. \documentclass[ DIV=calc,twocolumn]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{subfig} ...
0
votes
0answers
21 views

Numbering equations within a table, \ref not working [duplicate]

I'm numbering equations within a table. First I setup \newcommand{\teqtag}{\hfill\stepcounter{equation}(\theequation)} Then within each table cell I have $x=y\teqtag\label{eq:myeqn}$ And ...
1
vote
0answers
13 views

pdfTeX warning (dest): name{environment.1.1} has been referenced but does not exist, replaced by a fixed one [duplicate]

I get a warning with this minimal code pdfTeX warning (dest): name{exercise.1.2} has been referenced but does not exist, replaced by a fixed one And the reference \ref{a} points to the wrong ...
0
votes
0answers
29 views

Mixing label of equations,figures, and tables among chapters in latex?

I have 8 chapters in my report. I do not know how to label my equations and tables and figures. In a way when I refer e.g an equation in e.g. chapter .1 does not refer to equation in e.g. chapter 2? ...
0
votes
1answer
23 views

point after a Cross reference for section in article

I use the commands \label and \ref in my article but I had a point after the number; for example, in Section 5. How do I remove this point ?
1
vote
1answer
36 views

Can we get references into externalized pgfplots images to work?

I have some plots created with TikZ and pgfplots. In the captions, I use \ref{...} with plot labels in order to get the marker printed there; a neat feature indeed. Now, when submitting to arXiv one ...
3
votes
3answers
53 views

(sub)section with number, subsubsection with letter - \ref shows only the letter

when I try following code, everything works as expected: \documentclass{article} %\renewcommand{\thesubsubsection}{\alph{subsubsection})} \begin{document} \section{A Section} \subsection{A ...
4
votes
1answer
49 views

Referring with cleveref to a custom listing (\lstnewenvironment)

I use cleveref's \cref command for referencing, and \lstnewenvironment to create a new listing type. My document has multiple types of listings, each of them with their own counter. However, cleveref ...
3
votes
1answer
53 views

Questions about Label and Cross Reference

I am trying to use cross reference in an article, here is a sample of my code. \documentclass[11pt]{amsart} \usepackage[margin=1in]{geometry} % set the margins to 1in on all sides ...
0
votes
1answer
32 views

Renumbering chapter after part, correct ref, ToC and chap header aspect

The title may seems unclear. I have a document with several parts, including several chapters. I want the numbering of the chapter to be reset after each new part (easy) BUT : - I want the header of ...
3
votes
1answer
19 views

Biblatex not putting a dot behind “abbreviated” single character author name

Here it is claimed that using biber as backend is enough to correctly "abbreviate" with a dot author names given as a single character, however, from my MWE it does not seem like this would be the ...
5
votes
0answers
80 views

Implement fixedlabel in memoir

I would like to implement a command called \newfixedlabel in analogy of memoirs \newfixedcaption in such a way that: \begin{myfloat} \caption{...} \label{myfloat:a} ... \end{myfloat} Yields the ...
1
vote
1answer
25 views

How to make a link within a TeX file into to a page of an existing PDF file

Suppose there is a large online textbook in PDF, without TeX source code. How do I refer to a certain page of it within my PDFLaTeX document?
0
votes
1answer
20 views

References in captions out of order

I have a document that starts with a LOC and LOF with references in the main body text and one reference in a figure caption. For some reason the reference in the figure caption is numbered 1 and ...
1
vote
1answer
16 views

References not working for \lstinputlisting

I may be doing something wrong but can't realize what... I want to set a label for a piece of code represented by: \lstinputlisting[language=Python, label={lst:control_os_call}, firstline=231, ...
2
votes
0answers
31 views

How do I “bake in” cross references?

We've been writing a paper with its supplementary materials as two .tex files, using the xr package to handle cross-references. Now the journal wants the sources for just the paper, and I think this ...
1
vote
0answers
12 views

Using the dfgproposal and dfgreporting classes

I came accorss the dfgproposal and dfgreporting classes which I started to use. In this class the command \dfgprojpapers is defined. As I understand it, it is supposed to generate a small list of ...
2
votes
0answers
34 views

Referencing in enumitem list levels

The following defines my enumeration parameters: %---------------------------------------------------------------------------------- % Enumeration Parameters ...
1
vote
3answers
63 views

How to use table in text format as regular table (and reference to it)

I have such text table: Descriptive statistics ================================================================= Statistic N Mean St. Dev. Min Pctl(25) Median Pctl(75) Max ...
1
vote
1answer
39 views

Refer to a table as figure

I have a table where I have put pictures (plots) in each cell. The whole point of making this table is for comparison of the plots. However it does not look good to refer to this set as a table, ...
2
votes
1answer
31 views

mdframed box, cross-reference, paragraph spacing

I'm trying to create an environment that provides a framed box within a report. My current problems are: The interparagraph spacing does not match the body text spacing (the space within the box is ...
2
votes
1answer
20 views

Specify Figure name color and slant

Every time I have to denote a figure name in the text I have to type: {\textcolor{ocre}{\bf{\emph{Fig.\;\ref{figurename}(b)}}}} Is there an optimized way to specify this in the preamble so I do ...
1
vote
2answers
79 views

Automatically suggest arguments for user defined commands

When using the command \ref{ it automatically suggests several arguments, such as eqn:equation1, fig:figure1, and so on. I have defined the command \newcommand{\fref}[1]{Fig. \ref{#1}}, which rather ...
1
vote
1answer
26 views

Get comma between multiple reference superscript numbers

When I add multiple references at the same point in my document, the superscript numbers are shown directly next to each other. I want a comma between them but cannot work out how to do that. It was ...
1
vote
0answers
40 views

Multiple equations given the same number

Without doing anything "odd" LaTeX has starting assigning the same number to different equations. It labels them fine up until 31, then it goes back to 30, then again 31, then again 31. After this it ...
5
votes
2answers
43 views

Arabic Support in Babel Mess up Chapter referencing

\documentclass[12pt]{book} \usepackage[utf8]{inputenc} \usepackage[arabic,main=english]{babel} \begin{document} \chapter{Introduction} \label{ch:intro} We talked about the second chapter ...
4
votes
1answer
36 views

Why does \ref only enter the numbers?

Is there way so that one can replace By Theorem \ref{theo1} by By \ref{theo1} without changing output in the following document: \documentclass{article} \usepackage[utf8]{inputenc} ...
2
votes
0answers
33 views

I need a pop-up on my in-text references AND I want the reference to still be 'clickable'

I need a pop-up to appear above my in-text references. The pop-up should display the page number where the citation can be found on (i.e. so the reader can check that the cited article actually siad ...
2
votes
0answers
31 views

Reference in Spanish and English language in BibTeX

I'm typing my thesis and I'm using LaTeX for it. I've found one problem in my references. I'm using two language for my references: Spanish and English, but for the last language , I can't change the ...
0
votes
0answers
31 views

Have “Figure”, “Table”… word generated automatically when referencing

Is there a way to get \ref generate also the "word", not only the number? As in: Using \ref{eq:gauss}, we can now prove I'd like this to turn into Using Equation 1, we can now prove. Right now it ...
3
votes
0answers
30 views

Table reference does not show the word 'Table' [duplicate]

I'm trying to refer to a table in my report, but the reference wouldn't include the word 'Table' as follows. Any ideas why? :) The LaTeX code is as follows: \documentclass[11pt,a4paper]{article} ...
7
votes
1answer
40 views

How to create custom labels which can be referenced?

I would like to label the hypotheses in my thesis similar to equations (e.g., the first hypothesis in chapter 3 should be “H-3.1”). Also similar to equations, I would like to reference these ...
0
votes
0answers
18 views

Wrong figure reference number in table [duplicate]

Hi I'm using images in longtable. To define captions in the longtable enviroment I defined this: \makeatletter \def\figcaption{% \refstepcounter{figure}% \@dblarg{\@caption{figure}}} ...
3
votes
1answer
61 views

How to use thumbnails with tabu environment in latex

I have been trying to add thumbnails as a column entry in {longtabu}. LaTeX - Insert thumbnail with link to fullsize image contained in appendix came to the rescue. Now, the thumbnails inserted as ...
0
votes
0answers
22 views

Different \eqref{} styles depending on the number of arguments

I am using the following command to make references to equations of the form "Eq. (X.X)" \let\originaleqref\eqref \renewcommand{\eqref}{Eq.~\originaleqref} (see: Modify \eqref command) But there ...
1
vote
0answers
42 views

why all the bibliography files are not showing in the pdf?

I have 10 references and im using TeXmaker but only 6 are showing after compiling it.Here is my tex file \documentclass[12pt, a4paper]{report} \usepackage{graphicx} \usepackage{url} ...
4
votes
1answer
29 views

newcommand with optional argument displays wrong text

I tried to set up a new command with optional arguments. The problem is that the command displays 'st:code'. What's wrong? Thanks in advance! \documentclass[a4paper,twoside,10pt]{report} ...
0
votes
1answer
43 views

Referencing my own command

I'm trying make my own command for a requirements document. I'm now looking for a way to reference my requirements. This should be possible by using \ref and the later on with the hyerref package. ...
0
votes
0answers
28 views

How to refer to a result of an equation [duplicate]

I have a question: is it possible to \ref a result of an equation? For example I have something like: A is: A = \frac{B}{10} B is: B = 1 + 2 = \somelabelfunction{B}{3} %I want this to show the ...
5
votes
1answer
48 views

Referenced equation numbers not shown in unreferenced equations

I like very much the mathtools option showonlyrefs which allows that labels of an equation are displayed only, if there is a reference to the equation. The problem is, that references in an equation ...
0
votes
0answers
22 views

How to ignore undefined references (e.g. when temporarily commenting out whole chapters)?

I'm working on a fairly large document, and compilation times are somewhat annoying. My general workflow is to use: latexmk in continuous mode to compile the document (pdflatex), and rubber-info on ...
0
votes
1answer
12 views

Trouble with referencing elements from bibliography

I am currently writing my bachelor's thesis, and have been having some trouble with Bibtex. I created a Bibliography successfully through Mendeley - However, the way the ressources are listed are as ...
0
votes
0answers
10 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
58 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
78 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 ...