{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
18 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 ...
1
vote
1answer
24 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
46 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
42 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
20 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 ...
4
votes
2answers
36 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
76 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
25 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
15 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
46 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 ...
0
votes
0answers
24 views

Table error: Not in outer par mode

I'm using Latex and Sweave. The example below is a MWE of my .Snw file. \usepackage[utf8]{inputenc} \usepackage[portuguese]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{colortbl} ...
3
votes
2answers
43 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
32 views

Descriptive text for figure depending on location

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
32 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
15 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
44 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
29 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
21 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
0answers
24 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
99 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
22 views

Edit figure numbering in LyX

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
27 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
54 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}% ...
1
vote
1answer
26 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
50 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 ...
4
votes
1answer
51 views

Why do I just get “?? ” when I try to get the reference of a equation with \autoref

I use \autoref to reference everything in my Thesis. I get without problem the references of the images and the Tables but when I try to get the references of a equation I get just ??. \noindent Die ...
4
votes
1answer
26 views

multiple reference to single footnotes in table

I have been trying to include multiple footnotes in a table. I have tried using longtable inside a minipage with \footnotes, \footnotemark and \footnotetext. I have multiple footnotes and some are ...
1
vote
1answer
36 views

How to write dot automatically after reference to images and equations?

When I use \ref{fig:sth}, LaTeX writes the number of the figure into the text. How do I make LaTeX automatically write a dot after the number of the figure/table/equation/etc.?
2
votes
1answer
43 views

Taking off the reference number from in text cite

I have a question about how to take off the reference number from in text cite? to explain more, I am using a thesis template, which uses the bibtex. This is how I cite a reference in text: ...
3
votes
1answer
40 views

Setting the enumi counter under custom enumeration with enumitem

I have a several items in an 'enumitem' enumerate environment with custom label styles, and I would like to repeat them at various points later on. Something like this: (a) Unicorns don't exist. ...
4
votes
0answers
51 views

add the page number next to the reference

I am using KOMA-script in lyx for my thesis. I would like to add the page number next to the reference in bibliography. Some thing like this: S. J. Young, G. Evermann, M. J. F. Gales, T. Hain, D. ...
9
votes
1answer
126 views

Theorems and labels

Let me give a bit of background before the actual questions. I took a look at latex.ltx to see how labels are handled. I found that: \def\label#1{\@bsphack \protected@write\@auxout{}% ...
1
vote
1answer
23 views

Getting the \currentsection and \currentsubsection in memoir

As you know in memoir there's no easy way to get the current section and/or subsection, you can only get the \currenttitle, which tells you the header of the last sectioning command. That's a ...
2
votes
1answer
27 views

Using Cleveref with LIPICs documentclass fails for theorem environments sharing the same counter

I want theorems and lemmas to be referred to in the text as "Theorem 1" and "Corollary 2", sharing the same counter. This works fine when I'm using the normal article documentclass, but fails when ...
0
votes
0answers
19 views

Reference table rows by automatic counter with a unique first row

I want to use the method that are represented here, but I want a unique first row for describe the content in each column, like this : . How can i achieve this?
1
vote
1answer
19 views

Adding a new crossref type for a user-defined environment

In short, I'm trying to define an environment comment which has its own crossref type and counter. I want to be able to refer to these comment environments later. Looks like cleveref does what I ...
1
vote
1answer
28 views

Display all authors in cite bibliography

When I cite the reference I have only the first author and the year. I want to display all authors and year. What I must do ? \documentclass{article} \usepackage{natbib} \usepackage{paralist} ...
5
votes
1answer
55 views

Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?

Let us consider this code which uses the exam class. \documentclass{exam} %\printanswers \begin{document} \begin{questions} \question Why do we get undefined references warning in this case? ...
0
votes
1answer
29 views

Put references in a separate pages

I am writing a scientific paper with maximally 5 pages, where the the 5th page contains references only. How can I put the references in a separate page? thanks
3
votes
2answers
44 views

Reference of subfloat not appearing in pdf

I'm trying to reference the subfloat using \ref{img1} and \ref{img2} but its not working, a ? keeps appearing in the reference location. If anyone could please advise. \begin{figure}[t] ...
7
votes
1answer
78 views

Get the value of current \label

I am trying to work out a modification of the index in a complex document. The point is, I have a table of contents and so on. But we also want to add an index for specific terms like in: " .... a ...
2
votes
1answer
29 views

(Re)define \ref for chapter that includes the part number

Consider this MWE: \documentclass{book} \usepackage{xcolor} \pagecolor{yellow!10} \usepackage{trace} % avoid page breaks of \part, \chapter \makeatletter \renewcommand{\part}{\secdef \@part ...
1
vote
0answers
29 views

externaldocument references with standalone

I have a main document, /home/con/Documents/Thesis/thesis.tex, that loads a file /home/con/Documents/RNA/rna.tex with standalone. This works surprisingly well. However, there are 2 problems: 1. ...
1
vote
1answer
128 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 ...
3
votes
0answers
34 views

apa6e referencing required for elsevier article

I need apa6e referencing style for an Elsevier article. I don't know why I encounter errors. Here is the example: \documentclass[preprint,12pt,authoryear]{elsarticle} \usepackage{apacite} ...
2
votes
1answer
43 views

Problem with citation and bibliography

I want that when I cite references, to obtain these forms as a link: Here is the file.tex : \documentclass{article} \usepackage[style=apa]{biblatex} \usepackage[american]{babel} ...
1
vote
1answer
29 views

Reference equation number in subscript of equation.

I have some chemical reaction equations which I want to reference in the subscript of an inline equation. \begin{subequations} \begin{align} \cee{ \text{NO} +\text{O}_3 &-> \text{NO}_2 ...
6
votes
1answer
36 views

cref multiple labels don't grab the label type

I have a strange situation where cref is working great for single labels, i.e. \cref{eq:some equation} and for the first two multiple references of the form \cref{thm:first theorem,thm:second ...
4
votes
1answer
23 views

Trouble using namedef and nameref to augment the default \ref command

I'm trying to enhance the builtin \label and \ref commands to let me add some additional text to the number typically associated with a reference. That is, I want to say ...