Questions tagged [cross-referencing]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

\chapter{\label{sec: }} make double references in the table of contents of Wuhan University template

I am using the template of Wuhan University. I found that if I do as \chapter{\label{sec: }}, the table of contents will show double references. For example,in the chapter 1.tex I input \chapter{1}\...
user avatar
  • 685
0 votes
1 answer
12 views

How do I add prepend string if not exists to a reference label?

I need some latex help for my thesis. So I have the following command: \newcommand{\refChap}[1]{Chap.~\ref{chap:#1}} which allows me to write references to chapters of my document with: \refChap{...
user avatar
  • 103
0 votes
2 answers
31 views

How to use "Chapter One" instead of "Chapter 1" when referring to it in the main text

I want to use "chapter one" instead of "chapter 1" when I refer to a chapter inside the text. When I use \ref{ch:label} it just returns the chapter number, and when I use \autoref{...
user avatar
2 votes
1 answer
23 views

Reference section inside table including labels set in that section

L.S., For a modular document where .tex files containing a section can be added and removed, i'm looking for a way to include an overview table of these sections. In this table labels that are set in ...
user avatar
4 votes
1 answer
43 views

References to paragraphs

I'm writing a legal document, using article as the document class. The document is divided into numbered sections (\S). The sections themselves are divided into numbered paragraphs, which in turn can ...
user avatar
0 votes
1 answer
31 views

Cross reference not able to find table, while example table is working

I am trying to reference a table. However I get the error: Reference `table:PortfolioSummary' on page 7 undefined I used an example table to see if that works, and it works. The example table and the ...
user avatar
  • 1
0 votes
0 answers
29 views

LaTeX Warning: Reference undefined

My document: \documentclass{article} \begin{document} As known, \begin{equation} \label{trivial} 7\times9=63. \end{equation} It follows from the formula (\ref{trivial}) that $63/9=7$. \...
user avatar
0 votes
1 answer
46 views

How to change the superscripted bibliographic citation number to a normal size number in specific cases?

I am using this journal template where all bibliographic citations are superscripted such as: This is true.4 With the corresponding script being: This is true.\cite{paper_4} However, I would like ...
user avatar
  • 1
1 vote
0 answers
12 views

How to number a newtheorem the same as one written before [duplicate]

In one section I wrote some numbered hypothesis, for which I created a theorem environment as follows: \newtheorem{ipotesi}{Ipotesi}%[section] \renewcommand{\theipotesi}{A\arabic{ipotesi}} In another ...
user avatar
0 votes
0 answers
10 views

Problem with References section vertical align

Good day to all Problem is, that when latex have more than 2 pages of references, page that contain only references (without title "References", 2nd in this case) ending before the bottom of ...
user avatar
3 votes
1 answer
68 views

Wrong figure caption and number, attempt to implement APA 7 style

I'm trying to adjust the figure formatting style to the APA 7 style. So far I'm doing well, but now I got an issue. When cross-referencing a figure in the text, it appears as "Figure 1a" ...
user avatar
0 votes
0 answers
40 views

\ref doens't output the good reference

I have a big .aux file (850 lines), which contains the line: \newlabel{aumilieudesalarmes}{{6}{\pageref {86testpage}}} When I set \ref{aumilieudesalarmes}, I expect to see 6. But, in this case, i ...
user avatar
1 vote
0 answers
30 views

Referencing not working properly [closed]

I am new to LaTeX so please excuse my limited knowledge in terminology. I am working on a project report. I was given a template which uses multiple documents which are then called with \input in the ...
user avatar
  • 23
2 votes
1 answer
18 views

Referencing, am trying to reference two articles that I haven't read inside of an article that I have read [duplicate]

Hello I am trying to reference two articles that I haven't read that are cited in an article that I have read using the macros of the natbib citation management package: \citep{tenopir_electronic_2009,...
user avatar
  • 21
0 votes
1 answer
32 views

Cross reference not working properly

\documentclass[notitlepage, 12pt]{amsart} \usepackage{amsthm, amsmath, amsaddr, amssymb, graphicx, dsfont,} \usepackage[dvipsnames]{xcolor} \usepackage[ colorlinks=true, linkcolor=Blue, citecolor=...
user avatar
  • 241
0 votes
0 answers
20 views

Reference a figure and get latex to write the word "Figure" for you

This might seem a bit lazy, but having come from a MS word world, my instinct is not to write the word "figure" every time I reference one in latex. This leads to me leaving the word figure ...
user avatar
0 votes
0 answers
7 views

Glossaries - Exclude page numbers from certain section

I am using the glossaries-extra package in my document. Here is an excerpt: \chapter{List of Nicknames} \label{chapter:nicknames} % PAGE 4 OF THE OUTPUT PDF % I am actually using the `acronyms` ...
user avatar
  • 123
1 vote
1 answer
84 views

nameref, ref, and other issues with referencing back

I amm having issues with \nameref and \ref not returning the desired output. I would like to have definitions referred to by Definition 0.0.1 (see below). I do not want the result of \nameref{defn1} ...
user avatar
0 votes
0 answers
21 views

"Also known as" or "alternative names" field for glossaries

I am trying to define a term in my glossary using bib2gls and glossaries (i.e., glossaries-extra). The term is: Unix time the number of seconds that have elapsed since the Unix epoch, excluding leap ...
user avatar
  • 123
0 votes
0 answers
13 views

Different spacing in the reference list

I am using the Official Springer Template on Overleaf. https://www.overleaf.com/latex/templates/springer-nature-latex-template/gsvvftmrppwq When I switch to APA style (this is done at the beginning of ...
user avatar
  • 11
2 votes
1 answer
11 views

In springer nature template (sn-jnl), cross-reference of label in `enumerate' does not work well

When I nest the enumerate environment, it seems that the reference of lower levels are generated multiply. How should I fix it without modifying the template itself? Minimal example \documentclass[sn-...
user avatar
  • 87
0 votes
0 answers
60 views

The command \eqref doesn't seem to work

I'm writing a thesis in the Overleaf environment, with several .tex files. In the main one that includes all the rest I have \usepackage{amsmath}. Here are all of my packeages used: \documentclass[MSc]...
user avatar
  • 1
0 votes
0 answers
24 views

How can I add reference with both number and text in LaTeX?

How can I add reference with both number and text in LaTeX? The accepted answer here uses hyperref but unfortunately it doesn't automatically add the section number.
user avatar
  • 443
1 vote
1 answer
49 views

A Hint-System for Exercises

A couple months ago, I read Euclidean Geometry in Math Olympiads by Evan Chen and he had a really cool hint system that I would like to incorporate as well. For many of the problems in the book, he ...
user avatar
0 votes
0 answers
42 views

How to reference and cite corporate authors with acronymised names?

I'm referencing the following tech report by the "New South Wales Environmental Protection Agency" which is a long corporate author name that I'd like to acronymise in my text. The suitable ...
user avatar
0 votes
0 answers
40 views

Using sentence for titles in biblatex without manually editing

I have a huge bib file, and I want my references to be in Sentence Case, not Title case. I found a function that probably does it, but I don't know how to use it. I am new to latex. Can anyone guide ...
user avatar
  • 1
4 votes
1 answer
67 views

\eqref generates name of the equation instead of number and gives "Undefined control sequence" error

Command \eqref just shows the name of the equation (SBmetamodel) instead of the equation number (which is shown next to the equation), and I get the error: "Undefined control sequence. ...as ...
user avatar
0 votes
1 answer
48 views

Indexing Question Numbers

I'm typesetting a math book. Since the book spirals, and there are different types of questions in each assignment, I'd like a simple way to refer students to problem types. I tried using a simple ...
user avatar
1 vote
0 answers
59 views

How automatic numbering would behave if 0 through 9 are replaced with matching unicode characters in other languages?

Relating to the following question I asked: Does vref of varioref work with page numbers which are not built-in arabic? I would like to know the consequences I might encounter if I do the following as ...
user avatar
  • 115
0 votes
0 answers
13 views

Cannot reference individual algorithm line numbers in tufte-book figure

I am encountering a strange problem with the tufte-book class. I am trying to reference the individual line numbers of an algorithm block that lives inside a figure environment. The following MWE ...
user avatar
1 vote
1 answer
32 views

Combination of pgfplot crossreferences and invoke before with externalize produces error

I would like to use the "legend to name" feature of pgfplots with externalize. This works fine if I don't use the "invoke before crossref tikzpicture" which I use to set the ...
user avatar
0 votes
0 answers
24 views

Referencing a list item no bracket appearing?

I am referencing an item in a list using the style [i], and package enumerate. My text goes something like this : \begin{enumerate}[(i)] \item\label{item 1} \end{enumerate} blah blah \ref{item 1}. ...
user avatar
  • 1
1 vote
1 answer
42 views

Alignment of pgfplot inline legend in body text and caption

I would like to use pgfplots' "legend to name" feature to reference the (named) legend in the caption of the respective figure environment. Additionally, it would be nice to be able to put ...
user avatar
1 vote
1 answer
29 views

Reference in caption, errors with make4ht

Putting a cross-reference inside a caption prompts a bunch of scary error messages from make4ht, though somehow the example still converts. In a larger document, it would abort or hang. Take this ...
user avatar
  • 11.9k
0 votes
0 answers
27 views

IEEE references

Writing an IEEE paper using bibtex. Wondering if it is possible to include a small quote from the source in the bibliography itself. The issue is that some refs are informal – blogs, even comments on ...
user avatar
  • 353
0 votes
0 answers
29 views

problem with \ref getting ?? Texshop 4.74 4.77

I have a mac desktop running TexShop 4.74 and a macbook air M1 running 4.77. When I run a document (created on the former and running PERFECTLY) but over on the latter, any \ref to a tagged equation ...
user avatar
  • 1
0 votes
1 answer
33 views

Formatted reference in LyX

I am trying to insert cross-references so that whenever I refer to a lemma, proposition, theorem, etc. both the title "lemma" and its number are added automatically to the version. If I ...
user avatar
0 votes
0 answers
19 views

Citation and Bib not showing up in PDF - Texmaker/MikTex

My references aren't showing up at all when I try to complile my PDF. I've already compiled in the following manner pdflatex file.tex && bibtex file.aux && pdflatex file.tex && ...
user avatar
1 vote
2 answers
32 views

Changing the output of a theorem environment reference

When referencing a theorem environment, you get an output consisting of just the number of the theorem. What I need is a theorem that, when referenced, displays the letter "T" next to the ...
user avatar
0 votes
1 answer
24 views

Changing the format of the label to refer tables in the same section

I am trying to refer to different tables that are at the end of the table but the reference comes up the same: \documentclass{article} %----------------------------------------------------------------...
user avatar
1 vote
0 answers
30 views

Add a label to a table while using \input{}

I have tables saved as separate .tex files and am using them as input files when compiling my main document. I was wondering if there was a way that I could label my tables as I input them rather than ...
user avatar
0 votes
0 answers
9 views

Multiple reference lists in article class document

I would like to have three different reference lists (these shall go to the appendix) in my document (article document class), i.e., one giving the list of first-author publications, the second the ...
user avatar
0 votes
2 answers
89 views

"Relativize" reference from input file?

I'm trying to figure out a way to have an input .tex file that contains a reference, but for the target of this reference to be partially based on where the .tex file is included. What I'm going for ...
user avatar
0 votes
0 answers
14 views

Citation links are being highlighted separately for author name and year

\documentclass{article} \usepackage[utf8]{inputenc} \title{tex test} \usepackage[colorlinks=true,urlcolor=blue, linkcolor=blue, citecolor=blue]{hyperref} \usepackage{natbib} \begin{document} ...
user avatar
0 votes
0 answers
18 views

Only the first figure in a section can be referenced

I have some figures in each section and all of them are like : \begin{figure}[h!] \begin{center} \subfloat{ \includegraphics[width=0.52\textwidth]{....jpg} } \subfloat{ \includegraphics[...
user avatar
0 votes
1 answer
26 views

Referencing formatted text

I am looking for an easy way to reference text I have in my document. Something like the following: \documentclass{article} \def\labeltext[#1]#2{#2} \begin{document} Refer forward to (\ref{text:...
user avatar
  • 1,609
0 votes
1 answer
34 views

Latex: Add figure with references

I have created the figure below in PowerPoint and included it as a picture in Latex. However, now I want to cite some references in the text of the figure. This isn't possible in PowerPoint. So I am ...
user avatar
  • 1
0 votes
0 answers
39 views

Reference towards a displayquote - Csquotes

I have multiple displayquotes in a page, and I want to reference a specific one later in the text : e.g. Given the previous phrase (specific ref here) ... I have already tried : \label{itm:phrase_book}...
user avatar
0 votes
1 answer
31 views

Change references to question marks when I use a multiply-defined label

LaTeX's default behaviour for a multiply-defined label is to overwrite the existing label. This makes it hard to notice errors when I am proof-reading. Is there any way to force LaTeX to store these ...
user avatar
  • 173
0 votes
0 answers
36 views

Problem combining hyperref and imakeidx in book parts

I have a book with different parts. I number the chapters and pages per part, using the \numberwithin command. I have defined an index per part using {imakeidx} and {hyperref}. The indices list the ...
user avatar
  • 1

1
2 3 4 5
87