{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
42 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
44 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 ...
0
votes
1answer
27 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
56 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
61 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 ...
1
vote
1answer
28 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 ...
0
votes
1answer
19 views

showlabels package and segmented document

I have a segmented document, namely I import packages through \input{Preambule}. However, the showlabels package does nothing when called in the Preambule file, but works when called in the main. ...
2
votes
0answers
34 views

How to cross reference between different beamer presentations

for my lectures I am preparing beamer presentations. I would like to include sections (possibly more than one in a single beamer presentation) and to be able to have continuing numbering of ...
2
votes
1answer
24 views

hide specific table, keep cross-references and caption in \listoftables

I have some supporting tables in an article that need to be submitted as a separate pdf file, however I need the cross-references and table numbers with captions (\listoftables) in the main document. ...
2
votes
1answer
56 views

How to automatically links questions and solutions with the Exsheets package?

I'm writing up some lecture notes that contain questions/problems for the reader scattered accross the text. The solutions are provided in the end of each chapter. Exsheets appears to be a nice ...
5
votes
1answer
41 views

Making \cpageref output commas instead of “and”

I can use \cpageref to output a list of page references. For example, the markup: You should check \cpageref{sec:section1,sec:section2,sec:section3}. ... renders as: You should check pages 3, 5 ...
1
vote
1answer
48 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 ...
1
vote
0answers
30 views

Include file with prefixed labels

Say I \include A.tex and B.tex in main.tex. Say A.tex has something labeled in it, \label{a}. Then I can just reference this in B.tex as \ref{a} without any problem. I don't want to be able to do ...
2
votes
1answer
89 views

Multiple Altconditions within LaTeX Document

The question refers to this solution and trying to modify the code to support multiple altconditions in my document. The problem is to allow two sets of alternative conditions within the same ...
0
votes
2answers
106 views

How to create labels and references automatically in LaTeX?

I have defined two custom macros: \translation{ORIGINAL}{TRANSLATION} \printtranslations The first macro prints out the translation and puts the original and the translation into a list. The list ...
0
votes
0answers
31 views

stand-alone tex file for cross reference

I'm writing a the supplementary material (I'll call that sup.tex) for a paper that uses the xr package to do cross-referencing for equations, as in \usepackage{xr} \externaldocument{foo} which ...
5
votes
1answer
92 views

Automate generation of table from data in enumerated lists

I'm working on a document that contains the requirements and specification for a code suite, and I'd like to create a requirements traceability matrix that shows what part of the spec covers each ...
0
votes
0answers
21 views

memoir does not generate figure cross reference [duplicate]

I do have this short file \documentclass%[colorlinks=true] {memoir} \usepackage[pdftex]{hyperref} \begin{document} %\chapter{first} Here goes the figure. \begin{figure}[!h] \label{fig:MyFigure} this ...
2
votes
1answer
48 views

Unexpected output when citing in afparticle class (apacite/natbib)

I compiled the source below and got the output following: \documentclass[preprint]{afparticle} \begin{document} \volumenumber{1} \issuenumber{1} \publicationyear{2015} \publicationmonth{July} ...
5
votes
1answer
93 views

Hide content to show later

My question appeared about this egreg's answer: http://tex.stackexchange.com/a/210564/15256 I have a list of exercise-answers but I don't want to show the answers immediately but after till I'll pull ...
4
votes
1answer
64 views

Figures\Subfigures referencing in Latex

I have a figure with 3 subfigures. I used the \ref{fig:2} in my text and I got 2a. Can anyone knows how to make it 2(a) instead of 2a? Below is an example of my code: \begin{document} ...
1
vote
1answer
92 views

Linking to a place further forward

I know how to make a link to an URL or to a place further backward in a LaTeX document using the hyperref package. However, if I wish to redirect readers to a place further forward in the document, I ...
5
votes
1answer
103 views

How to add a (*) into the align environment

How can I add a (*) to the align environment with some regular equation in the center? It's so I can type afterwards, "By (*), ..."
1
vote
2answers
65 views

Continuous referencing of subfigures

Yes, I know it is deprecated, but I am for now stuck with using the subfigure package for my document. I added the following lines to have continuous numbering in my figures and tables: ...
0
votes
0answers
8 views

Latex - Miktex cross references linking back to ref point [duplicate]

Using pdftex i can cross ref to a label say \ref{label1} for example. Clickin on it in the .pdf document you 'll be linked to the label. I'd like there to be a "back reference link" to the point that ...
1
vote
1answer
49 views

How to add labels in verbatim env. in Latex?

I'm writing master thesis where I need to include some parts of program code. This code needs to be commented and properly described in text below/above. I would like to add some specific labels in ...
2
votes
1answer
37 views

Question marks showing up while trying to reference equation [duplicate]

Similar questions have been asked, but I've found them to be of no help. When I try to reference an equation in texstudio, all I get is ?? An example of code I have inserted which does this (I have ...
3
votes
1answer
90 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 ...
3
votes
1answer
52 views

links to theorem-environments take me to first page

I'm currently creating a big document in multiple TeX-files and used dozens of links to parts I put into theorem-environments. However, only some of the links do not work, they take me to the first ...
0
votes
0answers
22 views

How to control the Bibliography numbered and author year in single command

I am using natbib package. I would like to control bib style in single command \numberedref. My requirement is if the \numberedref command is available in the tex file the output is shown in numbered ...
5
votes
2answers
60 views

Issues with using \nameref (hyperref) and \mdtheorem (mdframed) together

When using the \mdtheorem command (from mdframed) with \nameref (from hyperref), it seems that labels applied to an theorem made using \mdtheorem will not appropriately take the title given to the ...
2
votes
0answers
99 views

Cross-referencing on 2 kinds of end-footnotes (separated and with different coloured numbers)

In the beginning I used parnotes and endnotes to distinguish between the 2 seperated kinds of end-footnotes: Attention: to be able to compile the first "grey box" of trial code, one must download ...
0
votes
1answer
54 views

Change page number of manually added TOC entry without adding blank pages

I have a main LaTeX document and an external PDF that I used to include with pdfpages (and it looks great!). But, now I want to insert TOC entries to reference sections and subsections inside external ...
0
votes
0answers
16 views

Autoref uses wrong name [duplicate]

Here is my MWE: \documentclass{amsart} \usepackage[all]{xy} \usepackage[colorlinks]{hyperref} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \theoremstyle{definition} ...
2
votes
2answers
55 views

Line thickness of links

Links coming from ref or gls are accompanied by boxes (I know about colorlinks and the possibility to switch them off). I somehow like the idea of the boxes but the lines are way to thick in my ...
3
votes
2answers
59 views

hyperref targets without \refstepcounter

I am trying to create a document-internal link using the hyperref package. At the position where the link should point to, I execute the following command (as part of the setup of a LaTeX ...
1
vote
0answers
39 views

Descriptive text for figure depending on location [duplicate]

I often find myself writing see Figure~\ref{fig:figname}, below or see Figure~\ref{fig:figname}, above, or similar phrases. Is there a way to make LaTeX automatically decide between "above" and ...
3
votes
1answer
37 views

running number/counter (e.g. {244}{a}) for a text

To assign a running counter to parts (not paragraphs, not lines) of a document with facing greek text and translation (finally I will use eledpar) I need a command (call it \Steph) which 1a) inserts a ...
0
votes
0answers
22 views

Another way to do cross-referencing in multiple chapters

I'm trying to do cross-referencing in multiple chapters, this answer of Cross-referencing in multiple chapters provides a nice solution. However, I wonder if there is another solution. More ...
1
vote
1answer
95 views

Minitoc conflict creating aux error defcounter refsection

While compiling my book, I encountered the following error: (./Book.aux ./Book.aux:94: Undefined control sequence. l.94 ...\defcounter {refsection}{0}\relax }\@write The thing is that a simple ...
1
vote
1answer
44 views

Section references in RevTex 4.1

How does one reference sections in RevTex4.1? I've tried \section{\label{sec:Coupling}Coupling Efficiency} \section{Coupling Efficiency\label{sec:Coupling}} \section{Coupling ...
0
votes
0answers
22 views

cross-references across multiple documents [duplicate]

I have three related (though independent) documents, theory.tex, problems.tex and solutions.tex (I hope the names are suggestive). Each of the three is divided into sections, subsections, etc. and ...
0
votes
1answer
34 views

Appendix for thesis with only one file (also: reference in toc)

The Appendix of my thesis consists only of one long table. Now its time for some style. But here is the problem: normal use of \appendix like: \documentclass[a4paper]{scrbook} \begin{document} ...
7
votes
2answers
130 views

number equations according to subsections but do not display subsections without numbers

I wish to number my equations according to their (sub)section so when I reference them it shows for example (1.1) but my sections and subsections should not display their number so the section should ...
1
vote
0answers
13 views

How to make refcheck work with autoref? [duplicate]

I have just discovered refcheck and would love it to bits if my document wasn't full of \autoref's. According to refcheck's documentation, it works with hyperref in general, as long as the latter is ...
1
vote
0answers
33 views

Edit figure numbering in LyX [closed]

I am beginner to LaTeX and LyX as well. I am writing my survey report and got an issue with labeling the figures. I first inserted a figure float and then the picture.Once I add a float it names that ...
1
vote
0answers
28 views

Appendix header and references in sections [duplicate]

I am trying to use Appendix for some proofs in the thesis. The appendix looks like this: \chapter{Proofs for Chapter ABC} \section{Proof of \thmref{thm:some_theorem}} While the "Proofs for Chapter ...
3
votes
3answers
58 views

Label four equations on one line

I have an equation in an align environment that I wrote as \documentclass{article} \usepackage{amsmath} \usepackage[pdfencoding = auto, psdextra, bookmarksdepth = 4]{hyperref}% ...
2
votes
1answer
42 views

Why does autonum fail to number and label a referenced equation in a split environment?

Here's my MWE: \documentclass{article} \usepackage{autonum} \begin{document} References to equations \ref{1} and \ref{2} and \ref{3}. \begin{equation} \label{1} \begin{split} \textrm{(1) This ...
2
votes
2answers
53 views

What is the standard way to cite a Section in a chapter?

Currently I cite Section X placed in Chapter Y as follows: In Chapter Y, Section X we studied the problem of... or: In Section Y.X we studied the problem of... I was wondering if any of the ...