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
0answers
14 views

Suppress counter label in header of table with a custom counter

I created a custom environment to have the first column of a table be a counter with labels that can be referred to throughout the text. I can't figure out how to suppress the counter label (1) in the ...
4
votes
2answers
174 views

Math equation and numeric label - align environment

I'm writing a large equation for which I need to introduce line breaks in order to make it more legible. I'm using the following code: \documentclass{report} \usepackage{mathtools} \begin{document} \...
0
votes
2answers
74 views

Latex Tikz drawing loop diagram

I am new to tikz and I wanted to draw a surface with this loop on latex but I don't know how to insert the labels or even properly drawing the curves. Do you have any suggestions on where to start or ...
0
votes
0answers
18 views

How to add a label zero (number 0) [duplicate]

I would like to have label "0". See pictures : Can you help me, please ? \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel= ...
1
vote
1answer
47 views

plot with pgfplots two horizontal labels

I want to produce the following plot: Is a Lorentzian function, centered at x=408. But notice the upper label in the frame, that indicates a wave number associated to the coordinate measured in ...
0
votes
1answer
25 views

How to move label

\begin{circuitikz} \draw (opamp.out) to [short,-*] ++(-1.5,0) to ++(0,1.2) to[R, l=R] ++(1.6,0)coordinate[label=](r) to(r)-|(...
1
vote
1answer
27 views

Inserting text between two labelled equation in a single line

I read here how to create a single line with multiple labelled equations. But I want to add a text between each of the two consecutive equations like 'and', 'or' etc. How do I do this?
0
votes
1answer
15 views

How to use appendix label instead of chapter label in the TOC

\documentclass{report} \usepackage[pagestyles, outermarks, newparttoc]{titlesec} \usepackage[title]{appendix} \usepackage{tocloft} \newlength\mylength \renewcommand\cftchappresnum{\chaptername~} \...
4
votes
1answer
47 views

Problem with label and tick in tkz-euclide

I have an old .tex file, which worked correctly before, now I'm having a problem with the following code, \documentclass{standalone} \usepackage{tkz-euclide} \usepackage{pgfplots} \begin{document} ...
1
vote
0answers
15 views

How to add appendix label to appendices for report document class

The following MWE works fine for the article class, but it doesn't work for the report class. \documentclass{report} \usepackage[title]{appendix} \begin{document} \section{title 1} \section{title 2}...
2
votes
1answer
80 views

How to write comments under each matrix?

I would like to write long sentences under each matrix. How can I do that in multi lines? \documentclass{beamer} \usetheme{Singapore} \usepackage{amsmath} \begin{document} \begin{frame} \[ \...
1
vote
2answers
28 views

Algorithm caption?

I am writing my final thesis and I am not too practical working with LaTeX. In my document, I have to write some algorithms; my professor gave me the following code to put in the preamble: \newcounter{...
0
votes
0answers
12 views

Referring to environment starting with list

When referring to an environment that starts with a list, the numbering is correct, but when clicking the link created by hyperref, one gets sent to the wrong page. This phenomenon does not happen ...
2
votes
1answer
48 views

How to make a new line associated to the same equation inside subnumcases?

I would like to write a new line associated to the same equation inside a subnumcases environment, as the whole equation is too big to fit into a single line. For that purpose, I tried to use the \\ ...
2
votes
2answers
21 views

Referencing the subequations block doesn't show the section number

I am new to this stackexchange group so forgive me if my question is not proper. If some extra information is required then kindly comment, I will attach those details. I am using the following lines \...
5
votes
2answers
70 views

Automatized parenthesized subitem behavior with enumitem

I would like to obtain the following item/subitem behavior with enumitem: \documentclass{article} \begin{document} \begin{enumerate} \item [(1)] first item; \item [(2)] second item; \begin{...
2
votes
0answers
24 views

Redefining and Conditional Defining of labels

This is a fairly unimportant itch, but if it is easy/exists, please let me know. The \newlabel macro defines a label and warns if another label wants to overwrite it. In analogy with \newcommand / \...
0
votes
1answer
28 views

Labeling sentences and words

Is there an easy way to label a sentence or a word inside a document to reference it somewhere else, something like an internal, invisible label? I mean I could also put it into a subsection and write ...
0
votes
2answers
32 views

Use of ref/label: Also linking word before label number

Is it somehow possible that I can extend the link to something which I produce by using \ref with a label by the word standing before \ref? If I write something like that: For further information, ...
1
vote
1answer
30 views

Tikz: strange behaviour for label position angle

When trying to achieve precise positioning of labels, I sometimes see the label position not respond as I would expect to small changes in the position angle. Can someone explain what is going on? See ...
5
votes
2answers
57 views

Tag certain lines and recall them into a list

I would like to know if it's possibile to "tag" certain lines of text and then recall them into a separate page, like this: Possible exam question{There are many variations of passages of ...
0
votes
0answers
33 views

How to label equation without item text?

The enumerate environment I use is as follows: \begin{enumerate}[label={\bfseries{Problem }\arabic*}] \item\mbox{} \begin{enumerate}[label=(\alph*)] \item The text of the problem \begin{eqnarray} f(0)&...
0
votes
0answers
35 views

\listoffigures does not display the caption of the figures

I am currently writing my thesis and need to create a list of figures (and tables, but have not reached that point yet). I have successfully created the actual list, but it does not display the ...
0
votes
2answers
47 views

Use arabic chapter label for figure and table, if chapter use \NUMBERSTRING{chapter}

I use %% Use CHAPTER ONE instead of CHAPTER 1 \renewcommand{\thechapter}{\NUMBERstring{chapter}} to change CHAPTER 1 to CHAPTER ONE. However, for Equation, Table and Figure. I want to use arabic for ...
4
votes
1answer
190 views

Can tikzlings work with equation tag and label?

\tikz\panda from tikzlings works as a tag for an equation, but if I insert a \label in the equation I get an error. MWE: \documentclass[11pt,american]{beamer} \usepackage{tikzlings-pandas} \begin{...
0
votes
0answers
25 views

Changing the Number of Labels

Here, lets say I have \begin{alignat}{4} &x_1+x_2+&x_3&\leq 3,\\ &2x_1 + &3x_3&\leq 5. \end{alignat} Since I already have an alignat earlier in the ...
0
votes
0answers
20 views

get chapter of label using hyperref and autoref

There is some label that can be referenced using ... gemäß \autoref{lem:shadowmap} bezüglich ..., however I do not want this reference but the chapter where this reference is located in. Is there some ...
0
votes
1answer
40 views

How to label a figure outside of the float environment? [duplicate]

I am trying to label a figure outside of the float environment. I am using the command \label{} and \ref{}. Unfortunately, Latex does print the correct number of the figure. Does someone know how to ...
2
votes
1answer
27 views

Problem with ref and box of theorem

Dear all I have a problem when \label and \ref as it is in this minimal example please help me \documentclass[12pt,a4paper,openany]{book} %------------------------------------------------------- \...
0
votes
1answer
56 views

Is there a way to create a CheckBox without a label?

I am using Hyperref and Form to create a CheckBox, but I don't want any text near it. It should be without any labels, but I can't leave the parentheses empty, like so: \CheckBox[checked=true]{} I ...
0
votes
0answers
20 views

Custom label and reference equations in numcases [duplicate]

I have labelled and tagged a piece-wise function using numcases. However, when I reference the equation later, it is not displaying the right tag in the text. \documentclass[11pt,fleqn]{article} \...
2
votes
1answer
35 views

How can I customize the \part numbering (beyond choosing \arabic, \roman, etc.) in \documentclass{report}

I am trying to customize the \part{ } numbering as it appears in my Table of Contents. Currently, when I use \part{Stuff}, it appears in the TOC as: "I Stuff (long whitespace) 2" ...
3
votes
1answer
58 views

How to label & caption a circuitikz environment

I have been looking for a way to label and caption my circuitikz environment but I cannot seem to figure it out. Any help? Here's my MWE: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{...
1
vote
2answers
62 views

Reproducing a picture

does any of you know how I can reproduce the following picture in latex? My main concerns are the labeled connecting arrows. Thanks in advance for your help.
1
vote
2answers
54 views

Labeling two different parts of one equation with two arrows with different start and end points

I want to write a formula, like the attachment picture, with two different arrows for two parts of the formula. I could write the below code by \xymatrix finally. But the starting point of the second ...
4
votes
1answer
85 views

There is a space between label and punctuation/comma when I used \ref{label} command

I am writing a thesis using my institution's template. However, when I use \ref{label} command, there is a spacing after the label and punctuation/comma. My working is as follows: \makeatletter \let\...
3
votes
2answers
146 views

How to make fake labels

I have a .tex document that contains some references to non-existing labels. For example, it may have \ref*{some:string}, but no \label{some:string}. This results in printing double question-marks ?? ...
0
votes
1answer
22 views

Referencing to unnumbered sections does not work

I have unnumbered sections in my appendix to which I want to refer to specifically. As the sections are unnumbered, it always just shows the number of the chapter. My example code: \documentclass{...
0
votes
0answers
36 views

Highlight and label anything in LaTex article

I'm looking for a package that highlights and labels anything I wrap with it. So that I can then create a list of those highlights according to the label. I was thinking of something like the ...
0
votes
1answer
30 views

Managing references to custom counters

I would like to have a precise control on references to custom counters. For instance, I would like to give a reference to a series of two independent counters I would like to choose the formatting ...
0
votes
0answers
13 views

Spaces in labels [duplicate]

One of my co-authors added an equation like the following \begin{equation}\label{a trivial equality} A = B \end{equation} Refer to \eqref{a trivial equality} which surprisingly seems to work in LaTeX....
1
vote
0answers
22 views

How to make in RevTex format a reference for a specific word?

Hi I'm using a RevTex template and I would like to create a reference for a single word for instance 'molecule'. So i would like to use the reference for this word everytime I should write the word ...
6
votes
2answers
118 views

Why does `xstring`s `\StrBefore` work, but not `\IfBeginWith`?

I'm currently using the package showkeys to debug the labels in my document. Using the command \renewcommand{\showkeyslabelformat}[1]{...} one can customise the display of the labels. I want to handle ...
0
votes
0answers
32 views

ref and cref point to page of label, not label

I have the case that \ref (also \cref) point to the page of the label, but not directly the label. How can I make it point to the label directly? Example which uses the ICML 2021 template: \...
3
votes
1answer
55 views

Beamer Lecture: reference title of lecture in the course

Example: \documentclass{beamer} \begin{document} \lecture{lecture 1}{week 1} \begin{frame} \end{frame} \begin{frame} see Lecture \ref{week 1} \end{frame} \end{document} This yields yet it would ...
3
votes
1answer
56 views

Showkeys and eqref prints undesired labels in equation

The following MWE produces an undesirable result, shown below: \documentclass[11pt, a4paper, twoside]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage[...
2
votes
2answers
52 views

Add newlines to label-displays in `showkeys` package

I'm using the package showkeys to display labels in my LaTeX file. All my labels are of the form type:name:details. Since my labels tend to get very long (lemma:the_name_of_the_lemma:...) I'd like to ...
1
vote
1answer
27 views

Two equation labels appears in align

Question: I am writing a long equation inside align which produced two labels ((1) and (2)) actually this is only one equation. How can I label this only one label at center? MWE: \documentclass[12pt]{...
0
votes
0answers
56 views

show all equation labels when typing \eqref

I use AUCTeX + RefTeX a lot and really like the convenience. Is there a way of automatically showing all equation labels with I type \eqref{ followed by a TAB in the Emacs window? I know that C-) e ...
0
votes
0answers
40 views

How to allocate separate parts of a LaTex document to several distinct parts in a uniform file?

Hello dear readers and researchers, I have begun learning La-Tex and I want to divide the main file into several section in separate sub sections of a uniform La-Tex project (pardon me for that I am ...

1
2 3 4 5
28