Tagged Questions

{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
1answer
30 views

compatibility cleveref and varioref amsmath [duplicate]

I try to use cleveref and varioref and ams* packages together. But I get some trouble, equations and sections label type seems to change and that does work well. Here is my example: ...
0
votes
0answers
53 views

How to diagnose what is changing a label?

I was getting this only last warning, no matter how many times I rerun my .tex file: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. Then I saw this question and the ...
2
votes
1answer
44 views

ConTeXt: Cross-references for Table of Contents hyperlinks

Background Looking to customize the table of contents. Problem In the example, the following problems exist: The last entry in the table of contents is not hyperlinked. All hyperlinks are off by ...
0
votes
0answers
27 views

How do I include figure or equation references inside algorithm environment in Lyx?

I would like to cross reference figures (and also maybe equations) inside the algorithm environment in Lyx but could not figure out how to do this. Help please?
5
votes
1answer
66 views

How to reference properly when citations are grouped by sections

I want to number and prefix my references in each section by the number of the section. However, I need to cite a reference from a section in another subsection, but my solution does not allow it. ...
4
votes
2answers
126 views

Cross-referencing within a Table

I have defined a new counter to track chemical reactions listed in a Table \begin{table} \begin{tabular}{clccr} \hline \# & Reaction & $\log_{10}A$ & $n$ ...
7
votes
2answers
109 views

\xrdef and \xref in eplain

I tried to upgrade eplain used in the book "TeX for the Impatient" from version 1.9 to latest version 3.6, but came across the following problem with new eplain. The follwing code could be compiled ...
3
votes
2answers
23 views

References for asparenum enviroment with counters dependable from section

guys! I'm writing math lectures using my own enviroment for definitions: \newenvironment{mydefs} {\begin{asparaenum}[\P\slshape\thesection.a]} {\end{asparaenum}} So every definition is numbered ...
1
vote
1answer
88 views

What could go wrong if I don't use * in my \hyperref command?

The Latex manual on wikibooks says that you should use the \hyperref command as follows: We use \hyperref[mainlemma]{lemma \ref*{mainlemma} }. Where "mainlemma" is the labelname. It then says: ...
5
votes
1answer
55 views

Problem with underscores in \newcommand

I am currently writing my thesis and I have each chapter as a separate project- I've been told I should join them up but I don't want to for now as I would find it overwhelming. I'd like to be able to ...
2
votes
1answer
26 views

Referencing subfigures/Increasing figure counter

There is a problem with referencing subfigures. When I add the line containing \caption{}, everything works perfect, but caption of a figure must be below the figure. How can I solve this ...
0
votes
0answers
13 views

My table is refered in Alphabetical order! [duplicate]

In my text i put my table \ref{table:3} AND IN MY TABLE I START BY \begin{table}[H]\label{table:1} \centering But imagine my surprise when I see my table being referred as table a in my ...
5
votes
1answer
58 views

enumitem: using label for a defined item

Whenever I try to label an item that is defined, it never seems to work. For example, consider the following: \documentclass{article} \usepackage{enumitem} \usepackage[noabbrev]{cleveref} ...
0
votes
0answers
27 views

\titlesec mesh up with bookmark anchor in star-section

When \titlesec is enable, the bookmark anchor to \section*{text} is shifted one line. How can I redifine \titlesec so it does not add a line in *-mode? \documentclass{book} \usepackage{titlesec} ...
2
votes
1answer
37 views

\pageref out of sync with \label

I have \pagerfer pointing to the code listing on the next page. The listing is equipped with \label. When I generate PDF from the TeX file using latexmk -pdflatex='pdflatex -shell-escape ...
0
votes
0answers
30 views

Let \ref show “Section” or “Appendix”

I want my \ref{} command to include "Section" or "Appendix" depending on what it references to. To include "Section" I did the following: \makeatletter \renewcommand{\p@section}{Section ...
2
votes
0answers
14 views

Is there a way to make the LaTeX labels appear in the .pdf (say as a note)? [duplicate]

Here's some background: I have multiple chapters in the dissertation I am writing. I have LaTeX-labelled the figures, the table and the equations. Whenever I add a chapter, I create a .pdf of the ...
2
votes
0answers
50 views

How can I get \framezoom to work in evince?

The \framezoom feature of the beamer class is awesome, but unfortunately it doesn't work correctly in evince (and the TeXworks previewer). When clicking the zoom button, the viewer correctly jumps to ...
6
votes
1answer
30 views

Refer to an endnote with the 'enotez' package points to the wrong note

I've previously used the \footref command from the footmisc package to refer to an endnote. This has worked fine in combination with the endnotes package: \documentclass{article} ...
3
votes
1answer
47 views

Avoid space preceding a reference

I use \vref{something} to reference to figures. As long as this is in regular text everything is fine. But When I surround this with brackets like this (\vref{something}) then is the result is a ...
1
vote
1answer
27 views

How do I include the book/part name in the cross-references (if cross-book/part)?

My document structure is basically a collection of other smaller documents. I decided not to go down the xr-hyper road and having individual PDF documents, because the requirement in the end is a ...
5
votes
3answers
166 views

New counter that can be referenced

I have created a method \makeExample that creates a new counter called example. Can you tell me how I can modify it, so that I can make references to the example counter? So that I for example can ...
2
votes
2answers
59 views

How do you reset counters?

I would like to reset the counter that appears next to equations in \begin{equation} and \begin{align} so that my last homework problem doesn't refer to an equation several lines up as equation 42. Is ...
0
votes
0answers
20 views

natbib citet does not give me year for every reference

I am using package \usepackage[square,sort]{natbib} and \citet{}, which is working fine for some of my references, but for few it just gives me the authors without year... I can't see any ...
2
votes
0answers
21 views

LaTeX; Refer in one document-class to chapters in another document-class [duplicate]

I want to include an article (with documentclass: IEEEtran) into a report (with another, company specific, documentclass). I want to refer in the article (myarticle.pdf) to the ten appendices of the ...
0
votes
0answers
100 views

tikz/gnuplot legend inside the caption

I want to add my legend inside the caption, similarly the one given in this question. But I want to use gnuplot environment as in the following MWE. Unfortunately, I am getting '??' because ...
0
votes
1answer
32 views

Add manually a custom citation to a reference database created by Mendeley

Is there a way to add manually a custom citation in LaTex to an existent reference database created by Mendeley without disturbing this tool; i.e., when synchronizing the library of Mendeley, the ...
3
votes
1answer
53 views

How do I reset the footnote cross-referencing counter for each chapter?

I am writing my thesis in the document class scrbook, and have the footnotes counter set to start again from 1 in each chapter. However when I reference a source more than once within a chapter, it ...
4
votes
2answers
101 views

Cleveref reference name depending on label instead of counter?

Let's say I have this: \documentclass{article} \usepackage{cleveref} \begin{document} \section{Section One} \label{a:sec1} \cref{a:sec1} \section{Section Two} \label{b:sec2} \cref{b:sec2} ...
3
votes
1answer
30 views

Why renew section make \ref comand to section labels do not work?

An example. \documentclass{article} \renewcommand{\section}[1]{\medskip \addtocounter{section}{1}\raggedright \textbf{\Roman{section}. \ #1}\medskip} \begin{document} \section{First Section} In ...
2
votes
0answers
42 views

Include Chapter number in reference if target is in different chapter

I'm using a setup where the chapter numbers are in Roman and the normal referencing commands do not include a chapter reference: \renewcommand{\thechapter}{\Roman{chapter}} ...
7
votes
3answers
208 views

Replace instances of \cite that have a specific argument

In LaTeX, is there a way to define a macro (or something) to replace every instance of \cite{a_literal_string} with \ref{appendix:a_different_literal_string} without touching instances of \cite ...
3
votes
1answer
31 views

referencing several tables in one reference

I need to reference several tables like Tables 1-3 or Tables 3.1 to 3.3 related with the section, I'm using the normal \ref{table1,table2,table3} to do what I want, but when I compile I get something ...
2
votes
2answers
71 views

Change bibtex in-text citation reference

I'm using this bst file which provides the unified style sheet for linguistics style as my bibliography style for my term paper http://comments.gmane.org/gmane.comp.tex.linguistics/1047 but it's ...
0
votes
0answers
21 views

Referring to a complete subequation environment. Is there a recommended style?

I have a subequations environment which is labelled and inside it I have an alignat environment which has a label for each line. Would you say it is ok to refer to the complete model as I do it in ...
6
votes
2answers
37 views

unable to label a line in \align* environment with tag being a matrix

I try to do this \begin{align*} \label{labelname}\tag{$\begin{smallmatrix}0\\1\end{smallmatrix}$}a=b\\ c=d \end{align*} But it does not allow me to add the label and pops up an error message saying ...
2
votes
1answer
109 views

\label and \ref are different

When I used in theorem environment, I found that \ref{} didn't point to what I labeled. For example, I used \label{1.1.1} and \ref{1.1.1}, but it turned out to be Theorem 1.1. I don't know why? ...
1
vote
1answer
47 views

Section referencing disabled by \renewcommand

The sections in my article have to be re-styled as follows : \renewcommand{\section}[1]{\medskip \addtocounter{section}{1}\flushleft \textbf{\Roman{section}. \ #1}\medskip \setcounter{subsection}{0} ...
4
votes
1answer
38 views

Hyperref: how to correctly redefine `\@currentlabel`?

I am using my own solution to this question to create custom cross-references. \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \title{My notes for Bla} \author{myself} ...
4
votes
1answer
70 views

How to \ref a \subsubsection

I'm trying to reference 2 subsubsections from my document. My structure is like: \chapter{something} \section{1.1} \subsection{1.1.2} \subsubsection{Number 1} \label{sssec:num1} ...
2
votes
1answer
62 views

tocloft cross-references a section as a subsection

I have document which creates a new list of examples. The list has a label \label{sec:examples} which labels the title of the list, which is rendered as a section. However, cross referencing ...
0
votes
1answer
56 views

All figures at end of section (or Chapter) but in the order they were cited in the text

I've been trying to do this for so long, it would make my life so much easier. I have a *.tex file containing all the details of the figures in a chapter (but not necessarily in the right order), ...
0
votes
0answers
27 views

Using glossaries without cross-referencing

I am attempting to use the glossaries package to add multiple glossaries to my thesis. Essentially I want a list of acronyms and a list of mathematical symbols. However I do not want to cross ...
3
votes
2answers
104 views

Subsection label appearing within text

I have a document in "book" format (strictly speaking, in an environment defined by the book publisher I am using, the details of which are way beyond my comprehension), and I very much want to have ...
2
votes
1answer
49 views

Pageref the “List of…”

In my thesis I have a "writing conventions" at the very beginning. There it is explained how abbreviations are introduced. In this explanation, I would like to say A list of abbreviations can be ...
4
votes
1answer
35 views

Enumerate item refering to theorem environment

In the conclusion part of my paper, I am creating a enumerated list using the enumerate enviroment. \begin{enumerate}[label=\textbf{Property \arabic*.}, leftmargin=25mm] \item Stationarity \item ...
5
votes
0answers
68 views

How to see dependencies between theorems [duplicate]

I have a paper that uses \label for naming theorems, propositions and etc. We say that a theorem, proposition and etc X depends on the theorem, proposition and etc Y if Y is mentioned in the closest ...
4
votes
1answer
118 views

How to \label and get recognised?

This issue actually frustrates me for a while, but prior for finding the solution, I would like to know why this happens. In a nutshell: My TeXStudio does recognise ALL my \label, but the output does ...
2
votes
1answer
39 views

Referring a point in the text with a specified name

Please suggest as how can I implement the following code: \documentclass{article} \usepackage{amssymb,ntheorem,float} \begin{document} We summarize our results. \begin{table}[H] \centering % used ...
1
vote
0answers
43 views

hyperref package within AMS latex environment

How can I use link references using hyperref package within AMS latex environment? Is it possible to use it with \cite{} or need to use anything else? When i try to create a dvi file I have an error ...