Questions tagged [labels]

{labels} is about customizing the labels of {diagrams} and mathematical constructs like {matrices}. For questions about \label or similar commands, use {cross-referencing} instead.

Filter by
Sorted by
Tagged with
1 vote
0 answers
20 views

Standard for labelling align environment

Is there a standard for referencing equations in an align environment 'collectively'? Meaning that there is one global label along with all the individual labels as in \begin{align} % \label{eq:abcd}...
user avatar
  • 258
0 votes
0 answers
58 views

How to add label to bent arrow?

I use this code: \begin{tikzpicture} \node[place, accepting, label=above:$p_1^1$] (p11) at (-3,0) {}; \node[transition, minimum width=1.5mm, ...
user avatar
  • 1
1 vote
1 answer
12 views

algorithm2e: Cross reference to subsubsection after algorithm not working

while writing my thesis I became aware of a problem related to the algorithm2e package regarding the label referencing of subsubsections following an algorithm. Here is a simple example: \...
user avatar
0 votes
1 answer
43 views

Refer to a specific token of a cross-ref label / Clarifications on refcount and zref

First, before any downvoting, I am aware of the existence and content of this post https://tex.stackexchange.com/a/577464/262813 and let me point out that I am not asking this question out of nowhere, ...
user avatar
0 votes
2 answers
37 views

Independent labelling of a Figure and Table (in the same Figure environment) with a combined caption

I am trying to reference a Figure and Table (with ~\ref{}) in my document. I placed both elements in a figure environment (figure first, table second, both inside of a minipage) to have them displayed ...
user avatar
  • 1
0 votes
1 answer
26 views

\label{uniqueID} works with \pageref{uniqueID} to print correct page numbers, but it is linking to the wrong page

I need to build page that is sort-of like an index ... but it isn't exactly an index. I pretty much accomplished what I want using \label{some unique ID} to capture the page number ... and \pageref{...
user avatar
  • 161
0 votes
1 answer
23 views

Managing pgfplot labels [duplicate]

I am working with Pgfplot to plot some graphics, and I am having some trouble managing its labels. Specifically, I would like to know how to remove an automatically generated label. Let's take a look ...
user avatar
0 votes
1 answer
19 views

tag on the left in align environment [duplicate]

in align environment, my tags are on the right, and that is fine. but in some paragraphs I'd want to put my tags on the left. How can I do this?
user avatar
  • 1
1 vote
2 answers
83 views

Align equations separated by paragraphs

I would like to align equations separated by paragraphs while retaining there auto-generated label and \listof label for after the toc. How would I align these equations and keep the \...
user avatar
0 votes
0 answers
38 views

\ref Equation name from \listofmyequations

I have a \listof equations (after the toc) and want to cross-reference with the \myequation{Ionosphere-free Linear Combination} not the \label{iono-free}. I want to retain the auto-generated numeric ...
user avatar
1 vote
2 answers
37 views

Add numeration to each column in align environment

So this is my code: \begin{align} s &= \frac{u + v}{2}t & v^2 &= u^2 + 2as \\ v &= u + at & s &= vt - \frac{at^2}{2} \\ s &= ut + \frac{at^2}{2} \end{align} and it shows ...
user avatar
  • 15
1 vote
1 answer
20 views

Subcaption label positions - unexpected behaviour with twoside report

I need to position subfigure labels on the top left of their respective figures. I can do this fine for a normal report, however if I change to a twosided report the labels are incorrect on even pages....
user avatar
0 votes
1 answer
24 views

Place subcaption labels topright of subfigures using subcaption package

I am trying to place the subcaption labels at the topright corner of the subfigures, using the \subcaption package. I have sort of managed to do it with the margin setting, but I have a couple of ...
user avatar
1 vote
1 answer
52 views

latex label with &

I need to write a label that contains a '&'. This is a strange need, but it is for use in a \keyword macro, which also adds a string to the aux file, which I can later parse (e.g., with an ...
user avatar
  • 3,261
0 votes
1 answer
37 views

Problem with latex labels using btex and etex in METAPOST

The following simple METAPOST code does not compile without error: verbatimtex %&latex \documentclass{article} \begin{document} etex beginfig(1); z0 = (0,0); z1 = (sqrt(3)*cm,0); z2 = (sqrt(3)*cm,...
user avatar
  • 103
0 votes
0 answers
12 views

How can I mix arabic two counter styles in caption formatting? [duplicate]

I am hoping to mix two counter styles ( arabic numerals and lower case letters) for the caption formatting as shown in the subsequent exemple:
user avatar
2 votes
2 answers
59 views

refstepcounter inside description item

My purpose is to create visual steps in proofs. I cooked this from the environment description: \documentclass{article} \newcounter{subproofcount} \newcommand{\thesubproffcount}{\arabic{subproofcount}...
user avatar
1 vote
2 answers
38 views

Label number in loop "for" in metapost

I first create ten points p[1],..., p[10] in MetaPost. Afterward, I use the following loop: for i = 1 upto 10: dotlabel.bot(btex i etex, p[i]); endfor then it creates in the pdf file 10 letters '...
user avatar
0 votes
1 answer
31 views

Distinguishing the first run of latex vs. the successive ones, to avoid generating unnecessary missing labels warnings

Is there a standard way to check whether the current run of latex is the first one or a successive one? I am writing a package that, as part of its functionality, needs to warn the user if a label is ...
user avatar
2 votes
1 answer
67 views

Tikz-graph vertices with two labels(one in, one out)

I would like to create the following kind of vertex in my graph: Circular node One label inside (similar to vstyle = Normal) One label out and under (similar to Welsh) It seems that it isn't a ...
user avatar
  • 213
1 vote
0 answers
62 views

\eqref prints the word Equation. How to remove it? [closed]

Currently, when I type \ref{eq:myEquation} or \eqref{myEquation} in my thesis, the output is Equation 1.2 or (Equation 1.2), respectively. I want the output to be 1.2 or (1.2), respectively. How to ...
user avatar
  • 111
0 votes
1 answer
36 views

Horizontally center part page in memoir with working reference

For my memoir document, I want to have a quite large outer margin. This has the side effect of putting the text on Part pages quite far towards the spine - something that I would like to remedy. I ...
user avatar
1 vote
2 answers
59 views

Use counter with tcolorbox : Tcbincludegraphics with tcbcounter

I am writing a paper for my college and I use the tcolorbox package. What I am trying to do is using simultaneously the tcbincludegraphics but with the tcbcounter, and not another counter. I want to ...
user avatar
  • 43
1 vote
1 answer
26 views

Label several equations with symbols without leaving a blank space

So I am labeling three equations with symbols, each one in a different line. The problem is that when I do this, a huge amont of blank space is left between equations, and I don't like it. Can someone ...
user avatar
  • 141
2 votes
0 answers
42 views

Copying the Label Command

I want to copy the label command locally to preserve its use, for example when other packages might modify its behavior later on. For this reason, I would like to copy label using let (or similar) ...
user avatar
3 votes
1 answer
48 views

Environment with a given number n of empty pages at the end works for n > 0, but fails for n = 0

I'd like to construct an exam environment that allows to add a number of empty pages at the end of each exam. Each exam consists of a) a cover page, b) main pages with problems and c) empty pages at ...
user avatar
0 votes
1 answer
36 views

Is there a way to move the cursor to a label definition in TexStudio

I wonder if there is a direct way to move the cursor (in a.tex file) to where a label is defined in TexStudio. Currently, I have to go to the pdf file first, and then move to the label definition and ...
user avatar
  • 462
5 votes
1 answer
136 views

Can \ref make reference to two labels?

I would like to use the label/ref mechanism with two labels. For instance, in this example: \refstepcounter{B} A = 1, B = 1 \label{1} \refstepcounter{B} A = 1, B = 2 \label{2} \refstepcounter{B} A = 1,...
user avatar
  • 6,130
0 votes
1 answer
24 views

Generate Automatic Labels in Lineno Package

I am trying to generate automatic labels to work with package lineno. For this, I defined a new counter lineref to work with the command \linelabel in the command \linelabel{l\thelineref}. The problem ...
user avatar
0 votes
0 answers
47 views

tkz-euclide: How can I label a point with white border around the letter

I want to label a point like L_A in the above picture (the letter is above the line). I tried "fill=white", but it creates a big white square around the letter (the point C in the second ...
user avatar
1 vote
1 answer
33 views

Referencing a listing and getting two question marks

I'm using TexShop 4.69 and I'm using lstlistings. But now after inserting my 3rd lstlisting, I can't get an adequate reference number. I'm receiving now two “??" in my text. Can somebody please ...
user avatar
  • 81
1 vote
0 answers
58 views

Biblatex labelprefix with counter

I am writing a proposal and I need to split my bibliography into (1) own published papers, (2) own unpublished papers, and (3) other references Parts (1) and (2) are limited to 10 references and I ...
user avatar
  • 11
0 votes
0 answers
16 views

Cross-referencing Custom Axiom Environment

I made an environment corresponding to @musarithmia’s response to Custom List-Like Environment. However, I wanted to make each axiom cross-referenceable individually, so I wrote this after an ...
user avatar
0 votes
2 answers
39 views

Avoiding subequations from overflowing linewidth

I am trying to have a couple of equations aligned in the subequations environment but due to the length of the first equation, it looks like the equation labels have overflowed a line above. \begin{...
user avatar
1 vote
1 answer
48 views

How to Remove Redundant Chapter Labels from Both the Chapter Endnotes and TOC

The following code produces chapter endnotes at the end the end of each chapter and rename "Notes" as "Chapter I. Endnotes" and "Chapter II Endnotes," respectively: \...
user avatar
  • 4,841
1 vote
0 answers
165 views

Label Without Proper Reference

I keep getting 'label without proper reference' and 'Reference 'tab1' on page 9 undefined'. Here is the code: \begin{table}[ht] \begin{center} \begin{tabular}{|P{7cm}|P{7cm}|} \...
user avatar
0 votes
1 answer
26 views

Cross reference and caption for Tabularx?

\documentclass[12pt]{article} \usepackage{float} \usepackage{tabularx} \title{Tabularx Test} \begin{document} \maketitle \begin{center} \begin{tabularx}{100pt}{c|c|c|} \multicolumn{1}{c}{ } &\...
user avatar
  • 91
0 votes
1 answer
35 views

How to place point labels in a TikZ scatter plot

I would like the labels of the points in this figure: \documentclass[tikz,margin=2mm]{standalone} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \usepackage{pgfplotstable} \begin{document} \...
user avatar
  • 1,004
0 votes
0 answers
19 views

Ref/ label problems with custom designed List of equations

Writing my thesis I needed to define a custom list of equations. The code works as expected to deliver what I need it to be. This is how I designed the list of equations ( Not my design, I had it from ...
user avatar
0 votes
1 answer
44 views

Update figure labels in a PDF

I have some pdf figures that I generated in Mathematica with latex labels using matex. I need to update the labels on the figures, but I generated them a few years ago and I can't get the Mathematica ...
user avatar
  • 111
0 votes
1 answer
30 views

Why does hyperlink jump with offset at destination?

I use hyperlinks and labels in beamer to jump across frames. Usually I want to jump to the beginning of a frame, as in the example: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \...
user avatar
0 votes
1 answer
172 views

Advanced Cross-Referencing with Linguex/Philex: Skipping and Stripping

\documentclass{report} \usepackage{philex} % Includes linguex. Only loading it for \phildashes. \usepackage{cleveref} % Referring to Subexample Ranges \crefname{ExNo}{}{} \crefname{SubExNo}{}{} \...
user avatar
0 votes
0 answers
41 views

Removing unused labels

I'm trying to remove unused labels from my latex document. I realize that this question has been addressed before. However, it doesn't answer my query, because the package refcheck is not compatible ...
user avatar
0 votes
1 answer
33 views

Adding a vertex weight on top of a labeled vertex

I'm using tikz to draw my graph (a complete graph). I labeled the edges and the vertices and want to add the weight of each vertices on top of it. Here's what I've done: \documentclass{article} \...
user avatar
  • 1
1 vote
1 answer
47 views

Is there a way to manage label indexes in TeXstudio

I am using TeXstudio for writing Latex papers. I have found that it is often troublesome to manage label indexes (for theorems, definitions, etc) such as whether an index has been used already and ...
user avatar
  • 462
0 votes
1 answer
50 views

Automatically add section label based on file name

I am trying to automatically add section label based on the file name. My structure is as such: main.tex 1.0.introduction.tex 1.1.0.foo.tex 1.1.1.bar.tex I am using \currfilename from package ...
user avatar
  • 106
1 vote
1 answer
19 views

Hyperlink to supplemental Figure S1 links to Figure 1. How to make a new set of links?

I have supplemental material, which should have its own set of figures, equations, etc. These can be numbered correctly by resetting the figure counter and adding "S" to the label. However,...
user avatar
0 votes
1 answer
21 views

Labels Numbering Chapter.NR

What I am trying to do Is to have more precise Labels next to my equations which I reference later. Currently, all I get is (1),(2), usw. what I would like to have is (1.1) for the first label in the ...
user avatar
3 votes
2 answers
72 views

Target of \label placed inaccurately by hyperref

I have a line like '\begin{thm}\label{tPrimes}', where thm is defined using \newtheorem. It generates a line starting with 'Theorem 1.2' in bold. It seems that the target defined by \label is always ...
user avatar
  • 31
1 vote
1 answer
94 views

Why do my equation labels print with question marks?

I have a problem because when I add labels to equations (Pic.1), they appear in the margins of the text (Pic.2). If I do not add a label it gets a question mark in the margin. Unfortunately the ...
user avatar

1
2 3 4 5
31