{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
13 views

Numbered references with authoryear in the text

A small sample of the reference list \begin{thebibliography}{} \bibitem[\protect\citeauthoryear{Binney \& Tremaine}{2008}]{BT08} Binney J., Tremaine S., 2008, Galactic Dynamics, ...
0
votes
0answers
20 views

How to make References bold in the TOC while using chapterbib package

I am using the chapterbib package to have bibliography after each chapter. Also I am using the tocbibind package with option nottoc to have "Reference" displayed in the TOC. What I want is simply to ...
0
votes
0answers
23 views

Changing the appendix figure numbering without losing the working of cross-references

I have been trying to change the figure numbering of the appendix and I have found the way of doing so with: \renewcommand\thefigure{\thesection.\arabic{figure}} However, the labelling in the main ...
0
votes
0answers
15 views

Bibtex doesn't create an output when I run it [duplicate]

I'm trying to use Bibtex to make the bibliography for my bachelor thesis. Although I don't get any error message, Bibtex doesn't create an output with the references. The main .tex is: ...
1
vote
0answers
45 views

how to organise a multivolume book series in (La)TeX

When searching the questions asked on this list I came accross "Starting a PhD; Any guides to setting up a 'system'?" but the problem for me is that a multivolume book series (not necessarily ...
3
votes
1answer
33 views

Search for a cross-reference

In the LyX editor, how can I search for a cross-reference for a certain figure, e.g., search for all places where I reference fig:abc? My current workaround is to delete the reference. Then, when I ...
0
votes
1answer
75 views

Cross reference figure appears as “??”

I'm using Texmaker for a report and am fairly new to latex. My cross referenced equations seem to appear just fine, but not my figures. I've labelled them and referenced the label using ref. I ran ...
3
votes
2answers
90 views

cross reference with xr fails (ShareLatex)

I try to use xr for cross referencing, and I get question marks instead of the reference and a warning: Reference updateEq on page 1 undefined on input line 93 on the document i am referring to ...
1
vote
1answer
28 views

URL missing in references when using Authordate1 bibliographystyle (bibtex)

How do i include the URL text in my references using the bibliographystyle Authordate1? \documentclass[11pt,a4paper]{memoir} \usepackage{natbib} \begin{document} \citep[MBBL2014] ...
1
vote
1answer
46 views

References linked to website by click

I am new to LaTeX and I have the problem about linking the references to the available papers in the internet. I have loaded these packages \usepackage[bibstyle=authoryear-ibid,citestyle=authoryear, ...
26
votes
3answers
2k views

Referencing to “above” or “below”?

I would like to know if it is good practice, and if so how it can be achieved, to make references like: "as mentioned above...". Or am I going to far and should I just type the word? I've read ...
2
votes
2answers
89 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 ...
6
votes
3answers
120 views

How to mark equation number but not change the reference text?

I would like to mark a few equations as special by adding an asterisk (or some other symbol) to the equation number. I accomplish this as follows: \documentclass{article} \usepackage{amsmath} ...
1
vote
0answers
42 views

Reference style issue using the elsarticle template

New to this community - so bear with me. I recently submitted a manuscript for Bioresource Technology, Elsevier, using their tex templates. I was requested to use the elsarticle-template-2-harv.tex ...
0
votes
0answers
19 views

Editing Reference Style

I am very new to LaTeX, I have to write my MSc dissertation and have to use a specific type of style for the referencing, how do you edit the referencing style? I am currently using natbib package for ...
4
votes
2answers
45 views

Assigning multiple values to a subsection?

Is there an easy way to add multiple attributes/properties to a section in a document? I want for example add some sort of rating to a product that is discussed in a subsection. Example: ...
4
votes
3answers
45 views

Use defined variables in \ref

When trying to use defined variables in \ref and I get an error: ! Missing \endcsname inserted. Here's how I use and define the variable, respectively. ...
10
votes
2answers
593 views

Making refcheck work with cleveref

It seems that refcheck does not recognize references made by cleveref: \documentclass{article} \usepackage{amsmath} \usepackage{cleveref} \usepackage{refcheck} \begin{document} \begin{align} a ...
0
votes
1answer
16 views

Line number in cross reference without visible line number in the entire document

My question is related to Line number in cross reference. I would like to give a reference to the line number of an specific line without any visible line number on the entire document. The below ...
1
vote
1answer
47 views

auto-completion of \eqref

All references are marked with eq -> equation tab -> table fig -> figure app -> appendix sec -> section chp -> chapter So a reference would look like \label{eq:NT_LoM} \label{sec:intro} for ...
1
vote
1answer
240 views

Error: multiply-defined labels

Below given example gives this error. ! SIAM Label Error: There were multiply-defined labels. Correct multiply-defined labels. \documentclass[final,leqno,onefignum,onetabnum]{siamltex1213} ...
2
votes
1answer
34 views

Remove space in the default `\cref` command

I have my crefs defined as \crefname{section}{§}{§} \crefname{subsection}{§§}{§§} And when I reference it displays, for example, like § 4.5. I would like the middle space to dissapear and this ...
1
vote
0answers
17 views

Wrong table numbers used in references [duplicate]

I am writing a thesis in LaTeX, using a class file provided by my institution. This class file uses the hyperref package. My thesis contains figures, listings (using the package listings) and ...
1
vote
0answers
37 views

Incorrect Typesetting while referencing to a table

I would like to make reference of a table that I have introduced before. However, after I try to typeset the first time, I have double question marks like this table ??. I know that I need to ...
0
votes
0answers
9 views

Display the text inside a bibitem in the footnote [duplicate]

I have a bibitem; \bibitem{Javawiki}{\href{http://en.wikipedia.org/wiki/Java_development_kit}{Java Development Kit Wikipedia} It looks like [1] Java Development Kit Wikipedia. and I have ...
0
votes
1answer
35 views

Cannot cross-reference figure after using \captionof [closed]

I'm using \captionof instead of \caption because I had a problem with the figure environment. Whenever I wrote the code to place two figures and some text between them, the text was placed before the ...
0
votes
0answers
38 views

Cross-referencing custom labeled examples

I'm having trouble with linguex cross-referencing examples with an optional argument as in: \documentclass{article} \usepackage{linguex} \title{Title} \begin{document} \maketitle ...
1
vote
0answers
36 views

How to split a string to figure float with figure name, label and caption?

I am struggling with a shorthand macro that converts a string to a figure. At the end is a working, but unstable version what I am trying to do. The goal is to parse make a command (or macro) like ...
2
votes
1answer
31 views

Reference name of description list items in latex [duplicate]

I want to refer to a description list item by name instead of number. To that effect, I've added labels to each item, but when referencing them I only get the name of the section, not of the list ...
1
vote
1answer
57 views

Latex Bib-File doesn't sort by appearance in text

I've been trying many different ways to sort my Bibliography as it appears in the text. But unfortunately it's always sorted the alphabetical way. I'm using the following packages in my master file ...
0
votes
0answers
63 views

Why do I always have to xelatex twice to make references work properly?

I found that I always have to xelatex at least twice to make references work (referring figures or equations), otherwise I have such wrong reference: The following error message appears when the ...
2
votes
1answer
64 views

Automatic creations of labels

I have a bad habit of not labeling my headlines and I find creating them afterwards rather cumbersome. Is there any script/program that can create a label automatically from the headline, so that ...
1
vote
2answers
29 views

\phantomsection inside tabular: alignment problems

I would like to use \ref and \label for two lines in a table, which can be done using \phantomsection: \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \begin{document} ...
0
votes
1answer
32 views

cross reference? [duplicate]

I can reference a figure (or table) from text using \label(fig:example) between \begin{figure} and \end{figure}, and using \ref(fig:example) within my text. However, my figures are at the end of my ...
0
votes
0answers
10 views

References not listed for second chapter

I have a large document made up of different chapters and I want to list the citations in the chapter at the end of each one. Each chapter ends with: \bibliography{Chapters/PhD_Library_chapter3} ...
2
votes
1answer
37 views

Question marks in pdf file when referring to table

Have a look at the MWE below. In the pdf file I get questionmarks when reffering to the table, rather than a numeric reference. Even if I run LaTeX twice. Any ideas how this can be solved? ...
3
votes
1answer
100 views

Using \ref in tikzpicture node while using externalize

Here's the MWE: \documentclass[12pt]{article} \usepackage{tikz} \usepackage{pgfplots} \usepgfplotslibrary{external} \tikzexternalize[prefix=extfig/] \begin{document} \begin{equation} a = b ...
1
vote
2answers
53 views

How to number and reference to “definitions” in latex

I want the following format in LaTeX: Definition 1 [apple]: apple is a fruit. Definition 2 [cat]: cat is a fluffy animal. . .
17
votes
5answers
3k views

Not using abbreviations with cleveref

I’d like to use the cleveref package but I don’t like that it inserts most names as abbreviations; for instance, it will print “… fig. 2.1 …” instead of “… figure 2.1 …”. Is there a way of changing ...
0
votes
0answers
12 views

How do I get rid of the red boxes [duplicate]

How do I get rid of the red boxes generated around the hyperlinks of cross-references, citation etc. It is also making the report dirty especially the 'table of content' part. Will it appear in the ...
1
vote
1answer
56 views

What is a good debugging procedure to fix undefined citations?

I have a small example that has undefined citations problems. I want to solve these problems, but I've encountered similar problems before and don't have a good debugging procedure for them (I've ...
0
votes
0answers
26 views

Including updated references in latex response letter

I have two .tex documents. One is a main manuscript which is being revised, and second is the response letter which shows changes in the revised manuscript. In order to include updated references in ...
24
votes
4answers
1k views

Best practices for publishing computer code with LaTeX?

I work a lot with MATLAB, and I want to enable the reader of my paper to easily reproduce my computations. I also want the pdf document to be self-contained, i.e., no hyperlinks to a webpage on which ...
5
votes
1answer
42 views

Customising initials in bibtex

How do I customize initials using bibtex. For instance, several references use 'Gh.' as the initial for the name 'Gheorghe' and I believe they are right. Now, bibtex always gives the initial as 'G.' ...
1
vote
1answer
75 views

Define starting line number when using mcode.sty to display Matlab code and referring to the code

I want to include parts of my Matlab code in my LaTeX document using mcode.sty. Here's a MWE: \documentclass[b5paper, 10pt, twoside, openright, dvipsnames,cmyk]{report} \usepackage{listings} % Is ...
1
vote
2answers
48 views

references section - no indent in first line + formatting

hope you can help me out with this one. here's the issue: I'm trying to create the references section in my paper. I already have a long list with the authors. But the problem is that the first line ...
0
votes
0answers
40 views

Latex (TexWorks) not referencing figures properly in minipage environment [closed]

I am inserting two figures into a latex document I am writing. I am using a minipage environment so they appear side by side. When referenced later in the text the first figure number appears ...
0
votes
1answer
45 views

Latex. Figure reference doesn't work

Any idea why the figure referencing of the following code doesn't work ? \usepackage{graphicx} \usepackage{floatrow} \begin{figure}[h] ...
2
votes
2answers
78 views

Provide only relevant context when printing section number in a cross-reference

I inserted a number of cross-references to different parts of my book. Currently, I simply do so by calling a self-defined macro: \newcommand\secref[1]{See \ref{#1}, \nameref{#1}.} This will print ...
2
votes
3answers
46 views

Using reference labels in mathematical calculations

EDIT: This answer points to a good solution. I wanted to use reference labels in mathematical calculations and was under the impression that if I use the calc package, it will be rather ...