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
0
votes
1answer
24 views

problem with y label and x label

I have a problem with the axis labels. When I scale down the graph it changes my location and they don't look like they should. If I set the scale to 1 it looks good but I change the scale and mess up ...
1
vote
2answers
43 views

tikz automata: making the label positioning of a transition independent from the fact that a state is accepting or not

While writing some code that generates TikZ code for displaying an automaton, I encounter the following issue: with the same label annotation, namely 'edge[bend angle=18,bend right] node[below=0,...
1
vote
1answer
24 views

y label,angle,node problems

I have three problems... I need to pass the "y label" down, where the arrow is. Also, the orange node has to be lying on the arrow (I made an orange box). Lastly, I need to mark the angle that I ...
1
vote
1answer
150 views

Caption and label on xltabular environment

I have been trying to add caption and label to a long table (not entirely written below) inside the xltabular environment. After checking Caption on tabular environment, labels with tabular and some ...
0
votes
1answer
51 views

How to label equation inside tabbing environment?

I 've used tabbing environment instead of align* environment in order to align all equations inside all align environment together as suggested in that answer for another: https://tex.stackexchange....
0
votes
1answer
37 views

Subsubsection label — alphabetical

I'm working with a thesis template and trying to change the subsection to alphabetical style, while leaving the chapter section headings as numerals (i.e. 1.1.A). After looking at other questions on ...
1
vote
0answers
26 views

Displaying BibTex item Bibliography without label

Similar to this previous tex.stackexchange question I would like to remove the labels from the bibliography but within the "report" document class. When injecting the following code in my preamble : ...
1
vote
2answers
94 views

Two separate equation counters?

I do my homework in LaTeX, and I encountered a new problem. I usually don't number my equations. In this assignment, I would like to number at least one equation of mine that I will reference later. ...
2
votes
2answers
44 views

Recreating a table as a list

I'm trying to recreate a table I've made as a list, because it is easier to customize and is consistent over the whole document. But I can't get the label indentation right. I can't figure out what ...
0
votes
2answers
30 views

How to replace 'subsubsection' with just 'section' whilst using autoref package?

I am using the autoref package to make labelling of sections, figures and graphs much easier, and it really is much easier. However, when I am referring to a particular subsubsection, I just want it ...
2
votes
1answer
35 views

Label within multiple stackinsets

For my thesis I wanted to put theorems in a special box, for which I have created a command \specialbox which utilizes \stackinset, such that I get a partial frame around the theorem. Credits to its ...
0
votes
0answers
56 views

Why cleveref changes show keys in equations and theorems environments?

I think my question is not very clear, the reason is that I am not sure which package gives the problem: When I label an equation as \label{eq:abc}, on the right of the equation I obtain: {eq:abc} --...
0
votes
1answer
56 views

How do I change the label for a new command referencing to Roman numbering?

I am creating a new command in order to reference to a list of building codes I'm using. I don't want to include these in my standard bibliography, as I'm using natbib and it doesn't seem to be ...
0
votes
0answers
17 views

How to get a table of labels in the .tex and their corresponding numbers in the .pdf?

For doing corrections on my .tex files, it would be helpful to create a file with a table containing all the labels in one column and their corresponding equation, picture or theorem in the pdf. It ...
2
votes
3answers
124 views

How to mark special theorems with star?

In LaTeX, how can I give stars to some theorems that are somehow special theorems? Like Theorem 1.1. This is a normal theorem. Theorem 1.2*. This is a special theorem.
2
votes
1answer
53 views

edge labels with boundary in tikz

I have the following graph I am trying to replicate with Tikz. I am having trouble creating the square edge label containers. Is there an easy way to do this in tikz? EDIT I made a small example ...
1
vote
1answer
44 views

Subtable labels not updating in body of article

I want to refer to "Table 1 panel A" but the label of the subtable just doesn't get picked up: I get Table 1 & ?? \documentclass[letterpaper, 12pt]{article} \usepackage{tabularx} \usepackage{...
0
votes
0answers
25 views

Edge/vertex labels in tikz - Disctinct behavior in book or standalone documentclass

Certainly I'm new using tikz; my current problem is that creating a simple graph, its edge labels behave correct if I use standalone document class but in book class edge labels appear all in the same ...
3
votes
1answer
95 views

How can I label subfigures as (4a), (4b), instead of (a), (b)?

I have a figure with two subfigures. I do not want a label for the entire figure, only for the subfigures, but if I only label the subfigures, they are just labeled (a) and (b) by default. This may be ...
2
votes
1answer
31 views

Change the text style of references to line numbers in listings

Consider the following document: % Document \documentclass[10pt]{article} % Packages \usepackage{lipsum} \usepackage{xcolor} \usepackage{listings} \usepackage[ colorlinks, citecolor = blue, ...
4
votes
1answer
259 views

enumerate with custom alphabet for items

I'm looking for a way to use enumerate from package enumitem with a custom alphabet. For starting, I just wanted to use letters instead of numbers, so I renewed the command that outputs item labels. I ...
2
votes
1answer
71 views

Circuitikz short label interferes with arrow

Why does the short label l= interfere with the arrow marker and how do I fix it? MWE: \documentclass{minimal} \usepackage[european,RPvoltages]{circuitikz} \begin{document} \begin{circuitikz} \...
0
votes
2answers
18 views

Labeled multiline text as equation

I am trying to get the result like (2) on the screen below. No idea how to get that. I've tried align, split, multline, but nothing was efficient. Could you help me with getting there? Thanks in ...
4
votes
1answer
66 views

Automate labeling a tikz graph that is input as points from a file

I'm taking some time today during our national quarantine (where I no longer have access to the office's non-LaTeX graphics creation software) to try to actually learn some tikz and to automate the ...
1
vote
1answer
53 views

Auto label inside a new command definition for easing the usage of hyperref

I am trying to build a controlled dictionary. I used a template where it's defined a command to insert a new entry. I would like to assign a label to each entry so that I can link similar terms with ...
1
vote
1answer
100 views

How to remove extra parenthesis in subfigure label

I am using the following code for subfigures (suggested by overleaf): \usepackage{caption} \usepackage{subcaption} \renewcommand{\thesubfigure}{\normalsize Figure \thefigure. (\alph{subfigure}):} ...
1
vote
1answer
29 views

How can I label XY pic diagrams, to cite in other parts of my LaTeX file?

I am writing up a project on knot theory, using overleaf, and decided to use XY Pic instead of Tikz as it feels more intuitive. Is there a way to either attach a label my diagram (to recall/...
1
vote
2answers
34 views

Numbering equation referring to another equation

Sorry I don't know if the title is clear. I would like to know how to do the following: I have an equation, lets say its number is 1.1 After a few paragraphs I want to write another version of ...
1
vote
1answer
42 views

Overlapped label below tikz tree node

I'm new to latex and I'm using the tikz package to draw a simple binary tree. I want to put a long question under a node but it's overlapping with the arrows. Here's my code: \documentclass{article} \...
0
votes
1answer
43 views

Enumerate using tiered numbers

I want the labels and references of enumerate to be tiered numbers, just like the sections/subsections/... is. I have made this code for 4 levels using package enumitem, but I'd rather have a simpler ...
5
votes
1answer
234 views

Formating Maxwell's Equations

Hey y'all I am trying to format Maxwell's equations like the image below but without the box. I also want to be able to reference the labels, thanks!
0
votes
3answers
118 views

Need to draw a flowchart as in the image below with some arrows

I have problem with the feed back from bottom block to on top of top block. Can anyone help?
0
votes
0answers
32 views

What is the way to draw arrows to parts of text using tikz?

I have the following: I have a paragraph of code, and I would like to draw curved arrows pointing to specific parts of the program text, explaining it. How can I do this in tikz other than ...
4
votes
1answer
191 views

How to write a piecewise function with equation number? [duplicate]

I have an equation written in the following way \usepackage{amsmath} ................. \[ f(x)= \begin{cases} e^x, & x\in [-1,1], \\ [x], & x\notin [-1,1]. \end{cases} \] However, this ...
1
vote
1answer
48 views

Tickzpicture graph origin labels

Can anyone tell me how to output "12 pm" instead of 0 for the initial time? For some reason, 0 is overriding the label I have specified. I also want to put 0 for the initial vertical value, but ...
2
votes
1answer
30 views

Customising \cref references

I usually use the cleveref package for referencing equations, such as in the following: \documentclass{article} \usepackage[noabbrev]{cleveref} \begin{document} \begin{equation}\label{equation1} 1 +...
4
votes
1answer
172 views

Position labels inside circuitikz reisistors

I'm trying to position the labels for (european) resistors in circuitikz inside the resistors, but it automatically positions them besides the boxes and I get this: \documentclass[12pt,a4paper]{...
0
votes
0answers
22 views

Acronyms in Label

Is it possible to use \ac{} within \label{} like \label{\ac{ex_ac} Algorithm}. I used it and the compiler disrupted the alignment of the whole document. Apart from that the error line was shown to be ...
0
votes
1answer
70 views

Exercise package and hyperlink exercise/solution : hide the empty solutions?

I'm using the exercise package in order to manage exercises together with answers. In the following MWE, an hyperlink pointing to the associated answer is created at the beginning of each of them. If ...
1
vote
3answers
161 views

Chemnum wont replace TMP markers in eps files

I'm new to latex but would really like to use it to write my dissertation (chemistry, obviously). Labwork is nearly done, but that seems to be the lower hurdle right now :D Right now, I'm trying to ...
1
vote
1answer
72 views

How to make a robust conditional labeling that resist multiple compilation and figures?

I have created a question previously about my code, but it was too big and fuzzy to isolate properly my problematic (and the code have changed meanwhile). Here's a new version of my question on very ...
0
votes
0answers
51 views

“multiply defined labels” error when combining different tex files

I am currently trying to write a book containing multiple chapters, with each chapter saved in a separate tex file. In each chapter, I have similar sections with label "sec:introduction", "sec:...
0
votes
0answers
27 views

Latex - Customization of bulleted lists (Overleaf)

i'm working on an online Latex editor called Overleaf ,i was trying to customize my list by using a different label , but it's not working , \begin{itemize}[font=\color{magenta} \Large, label=\ding{...
0
votes
2answers
43 views

How to reduce the space between the equation label and the equation in the empheq package with a specific paper format?

Here is my example: \documentclass[% 11pt, %pagesize=pdftex, %paper=letter, pagesize, headsepline, parskip=half, english, twoside, headings=chapterprefix, %...
0
votes
1answer
40 views

Inserting multiple labeled figures inside table?

I have been struggling with rewriting MS Word table which consists of 4 figures (Fig 2 - 5) into LaTeX environment (I need label all of the 4 figures because of references) - last part of the document ...
2
votes
1answer
41 views

Reference a figure in a letter

I want to write a letter and include a figure, here's an example: \documentclass[a4paper,11pt]{letter} \usepackage{babel} \usepackage{graphicx} \begin{document} \begin{letter}{ To you } \...
2
votes
1answer
61 views

How can I make label and caption as in the snapshot using package “caption”?

I'm trying to make a figure caption and label as highlighted in the snapshot for a paper (I have many figures). I wondering if anyone could help me to make it using the "caption" package. Thank you ...
2
votes
1answer
34 views

Passing inline math to custom choice command

I've been playing around with a custom "CorrectChoice" command to add referencing to the answers. Specifically, with this setup, I can reference the correct choice and its corresponding answer easily ...
0
votes
0answers
22 views

Cleveref and Listings, caption and labels [duplicate]

I tried to look for an answer for this specific situation, but couldn't find one. Here's the MWE: \documentclass[11pt,a4paper,italian]{article} \usepackage{babel} \usepackage{listings} \usepackage{...
1
vote
1answer
32 views

label equations in cases environment inside align environment

I want to label all equations, including those in cases environment, which is inside align environment. Here is my example: \begin{align} \delta_j \delta_i &= \delta_i \delta_{j-1} \text{\quad ...

1 2 3
4
5
27