Skip to main content

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
3 votes
1 answer
59 views

Create an alias to a label

This is probably an unusual way of using labels, but I would be happy if there was a way for me to create an alias to a label without just writing another \label at the target environment. I imagine ...
Adi Ostrov's user avatar
4 votes
2 answers
145 views

Oversetting a symbol without disrupting horizontal spacing

I have a question regarding oversets (and undersets) in LaTeX. The idea is to overset a specific character but not disrupt the spacing between characters. For instance, here is this minimum working ...
The_Scientist___'s user avatar
3 votes
1 answer
132 views

latex/tikz loop issue

I have a foreach loop which includes labels in a .tex document: \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{tikzpicture} \foreach \x/\y/\col/\lab in { 2.5/1.2/blue/(0,0), ...
xico net's user avatar
1 vote
1 answer
80 views

Label sub-equations inside dcases envrionment [duplicate]

I have a tex file \documentclass[reqno]{amsart} \usepackage{amsthm,mathtools} \begin{document} We have \begin{equation} \label{eq1} \begin{dcases} A & = B , \\ C & = D . \end{dcases} \end{...
Akira's user avatar
  • 3,205
0 votes
1 answer
39 views

Label and cross-reference a dialogue

I am using the dialogue package to write numbered dialogues. I have created a command with counters to automatically increment the numbers of the dialogue. I want to know whether there is any way to ...
Damitr's user avatar
  • 2,149
0 votes
3 answers
119 views

Create a sequence of all labels found in the .aux file [closed]

The closest thing I have found is this: David Carlisle’s answer in which a macro \lablist is used to typeset all labels found in the .aux file. Unfortunately, I can’t really wrap my head around the ...
Grass's user avatar
  • 800
5 votes
2 answers
162 views

ConTeXt: label of theorem environment not correct

I use ConTeXt ver: 2025.08.21 23:32 LMTX fmt: 2025.9.18 and have a tex file (modified from this answer): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \startluacode local labels = languages.data.labels.texts ...
Akira's user avatar
  • 3,205
0 votes
0 answers
37 views

Why is my LyX local layout not exporting to pdf?

I'm currently pulling together the rules for a boardgame and its expansion modules using Lyx. To be consistent with the actual rule documentation, I've made a local layout to change the font and ...
Archie Reed's user avatar
3 votes
1 answer
60 views

Tcolorbox - How to label theorems correctly using the tcolorbox and hyperref packages?

This is my code: \documentclass{standalone} \usepackage[most]{tcolorbox} \usepackage{hyperref} \tcbuselibrary{theorems} \NewTcbTheorem[number within=section]{Definition}{Definition}% {label type=...
user2379123's user avatar
6 votes
1 answer
118 views

Has \subnode broken or am I doing something daft?

The following code compiles without error but gives unexpected (to me) results. In particular, the labels never 'settle'. As far as I can tell, LaTeX perpetually reports that the labels may have ...
cfr's user avatar
  • 245k
3 votes
1 answer
100 views

\MakeLowercase inside \label

I am trying to make some text lowercase and use it inside a label: \begin{document} \documentclass[a4paper,11pt]{article} \label{\MakeLowercase{ABC}} \end{document} But I get the following error: ...
Pascal's user avatar
  • 881
2 votes
1 answer
112 views

How to use counter in labels with expl3 syntax?

I am writing a expl3 package, and I have to re-create the behavior \refstepcounter, in particular my goals are to: create a counter, increment the counter and print his value, create an automatic ...
Sascast's user avatar
  • 23
0 votes
1 answer
84 views

How to add hypertarget entries in the table of contents

Can the text of the table of contents be edited ? I would like to add hyperref's \hypertarget entries -- that is: text and label references -- to it. Consider a common table of contents like Chapter 1 ...
Hilton Fernandes's user avatar
0 votes
1 answer
87 views

Aligning the labels from enumerate and task

I've been learning LaTex for a while and have come to a bit of a roadblock. I've been trying to use both enumerate and tasks to make lists, and have faced some trouble aligning their labels. Below is ...
Huson's user avatar
  • 1
1 vote
1 answer
82 views

Problem using hyperref with label in tex4ht. It displays label different than pdf

Did something change in tex4ht? I am using TL 2025, installed fresh one week ago on new Linux. When doing \hyperref[1]{1} then later \subsection{Problem 1}\label{1} , I expected the link to point and ...
Nasser's user avatar
  • 21.9k

15 30 50 per page
1
2 3 4 5
119