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
27 views

Get caption numbers for the individual figure files

I would like to list the caption numbers for the figures of a latex document. My MWE is as follows: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{...
0
votes
2answers
25 views

Move equation label underneath diagram/equation with tikzd

I'm doing a lot of equations with tikzcd, and for some bigger equations I want the equation number labet to be on the bottom of the diagram. Is there any way to achieve this without manipulating the ...
2
votes
1answer
25 views

Chemmacros error assigning labels

\documentclass[german=false,thesistype=master, nolistoffigures, nolistoftables]{tubsthesis} \usepackage{booktabs} \usepackage{colortbl} \usepackage[nottoc]{tocbibind} \...
1
vote
1answer
14 views

How to change enumerate labels locally for one list?

I want to change list labels, but I don't want to do it globally. I want just this one special list have different formatting. Overleaf instruction is: The command must be placed in the preamble to ...
0
votes
0answers
30 views

Tcolorbox label and cross-reference autocomplete

I am using tcolorbox package for making environment. I use the method that is shown on page 355 in the manual (17.1 Macros of the Library): \newtcbtheorem. May I ask if there is anyway to make a ...
0
votes
0answers
25 views

subsubsection labels always start at 1

When I use \subsubsection, its label is like a subsection starting at 1. My input: \section{} \subsection{} \subsubsection{} \subsection{} \subsubsection{} What I want: 1. 1.1 1.1.1 1.2 1.2.1 What I'...
3
votes
1answer
102 views

\autoref and subequations

I have an issue with \autoref and the subequations environment. I have added the () around the equation reference of \autoref (as explained here) and it works fine with normal equations. On the other ...
7
votes
2answers
186 views

Aligning ducks and their labels in a tree

I'm building a tree of labelled tikzducks. An MWE would be \documentclass{scrartcl} \usepackage{tikz} \usetikzlibrary{ducks} \begin{document} \begin{tikzpicture} [level distance=4cm, sibling ...
0
votes
1answer
48 views

Create and label an appendix

I am writing my thesis and want to create more than one appendix. I want to name them Appendix A, B, etc. and want to label all the content the name of the appendix like (Table A.1) \appendix \...
2
votes
1answer
172 views

Why does this custom “mytarget/mylink” definition pair NOT work properly?

The goal is to get a pair of commands, \mytarget(*) and \mylink/\Mylink. Specifically, I am interested why "my" solution does NOT work, and how to fix it (if possible). Syntax \mytarget{&...
0
votes
0answers
15 views

Disable tooltips about references and citations in TeXstudio

I am currently using TeXstudio 3.1.1. When my mouse is on a label, a tooltip will appear saying "# reference(s) to this label". When my mouse is on a reference, a tooltip will appear with a ...
3
votes
1answer
49 views

Labels of arrows in a tikzcd diagram not showing in Beamer

I just made a diagram for a Beamer presentation, but the names of the arrows involved do not appear after compiling. Here's a picture reflecting the situation. Here's some minimal working example (...
10
votes
3answers
6k views

Matrix with arrows and labels

I would like your advice on writing a matrix with latex. In order to explain the meaning of the rows and columns, the matrix should be surrounded by two arrows, one on the left side pointing downward ...
0
votes
0answers
20 views

TexStudio or any other such software: Is it possible to search for all labels with a specified number of references?

This may be a stretch of the editor capabilities of TeXStudio and similar programs, but what I would like to do, as stated in the title, is to find all labels with a specified number of references. ...
2
votes
1answer
29 views

alignment of label text in metapost

I have a simple question. label(btex AAA etex, (0,0)) ; label(btex AAAAA BBBB CCCC etex,(0,-10)); The above statements gives center-alignment. Then how can I make left or right alignment ? I tried ...
0
votes
0answers
40 views

Some citations becomes citation label instead of of number reference

When citing my sources, most citations works like intended (i.e., ...[1]). However, a few have become brackets with the citation label inside [citation-label]. In those cases, the source does not ...
2
votes
2answers
33 views

Arrows labeled with matrices in tikz-cd

I want to write a commutative diagram with tikz where some arrows are labeled with matrices. I know that nesting creates problems in tikz, and I don't know how to handle this. I usually put the ...
4
votes
2answers
108 views

Equation tag not showing

Sorry, real noob here... I just need to typeset the following equation. I found a way to split the too long equation into two lines, but now it does not typeset/give equation tag: why? \begin{equation*...
3
votes
2answers
2k views

Equation numbering not shown

I am writing an equation using the syntax s follows:- { \[ N\!D_{\max} = \begin{cases} \frac{n}{2} &: \text{$n$ even,} \\ \frac{n-1}{2} &: \text{$n$ odd.} \end{cases} \] ...
3
votes
2answers
112 views

Add wording with a line to a number in a matrix

I'm writing some notes in LaTeX and I would like to do it as I have in the next figure: Does anyone know of a tutorial I check on how to do it? All best and thank you.
5
votes
2answers
120 views

How to tag both the align and individual equations within it?

I was trying to create tags for both the optimization problem and individual constraints within it. Below is an example. Is this possible in LaTex? \begin{align}\tag{P1} \begin{split} \max_{...
0
votes
1answer
81 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 ...
0
votes
1answer
41 views

Reference to items in a custom list does not reference the list item

I am trying to define a custom environment to display requirements. The requirements shall have a counter, so automatically be counted R1, R2, R2... (this works). I also want to reference each ...
0
votes
1answer
82 views

List all bookmarks added with \hypertarget for named destinations

I add bookmarks to all sections in my project in the following way: \section{Introduction} \hypertarget{intro}{} Some text. I use these bookmarks later in URL links https://example.com/my-document....
0
votes
1answer
77 views

lyx: how to set the output label of my figures and table

Hy, I used (in 2011) Lyx to compile my PhD. I have to recompile it today, but I have an issue in style. My table and figure label are written in 2011 like: FIGURE 1.1: my description TABLE 1.1: ...
0
votes
0answers
19 views

Cross reference not working

I'm using cross-reference to call equations and figures from two different documents in two documents say doc A and doc B. In doc A I reference figures and equations from doc B and it works perfectly; ...
1
vote
0answers
38 views

Label Bars in a Tornado Chart (LaTeX, Pgfplots)

I'm working on a tornado chart and I want to label the 6 horizontal bars. So far, this is what I've got: \pgfplotsset{TornadoPlot/.style={width=\textwidth,height=8cm, xmin=-20,xmax=20, line width=1pt, ...
0
votes
0answers
33 views

Pandoc loses Section numbers as well as Figure /table references. Doesn't show superscripts

I have a supervisor who is uncomfortable with LaTeX and wants a Word document. It is a sizeable document with many cross referencing between sections and chapters. I used pandoc to make the conversion....
2
votes
2answers
108 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 ...
1
vote
2answers
29 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{...
1
vote
1answer
36 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 ...
0
votes
1answer
53 views

Grouping 2 subfigure and 1 other figure (subfigure within a subfgure)

I have 3 figures to be put in a figure which spans over a single column in a two-column document. The first two subfigures are similar and should be grouped together with labeling a(i) and a(ii) and ...
4
votes
2answers
199 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} \...
1
vote
1answer
59 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
32 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)-|(...
0
votes
1answer
31 views

Changing the size of an angle label

I have the following code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows, angles, quotes} \begin{document} \begin{tikzpicture}[ axis/.style={densely dashed,gray,font=\small}, ...
1
vote
0answers
898 views

How to label equations effectively and efficiently? [closed]

I am writing a thesis containing a lot of equations. One problem I am facing is how to label them well enough so that it is easier to refer to them later on. Currently, I tried to name every equation. ...
1
vote
1answer
29 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
17 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
57 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} \[ \...
0
votes
2answers
38 views

Latex Counter custom reference formatting

Simple use case, I have a counter for requirements, R1, R2, etc like the one below: \newcounter{requirementcounter} \newcommand{\requirement}{\refstepcounter{requirementcounter}R.\...
1
vote
1answer
214 views

texstudio cref completion for labels in macros

Is there a way to have completion for cref references for labels defined in a command macro? \newcommand{\midpict}[4]{ \begin{center} \begin{figure}[H] \begin{center} ...
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 ...
1
vote
1answer
283 views

Reference in latex document to part of Matplotlib (pgf) generated figure

I have a Python script which draws a plot similar to this: fig = plt.figure() ax = plt.axes() x = np.linspace(-2,2,10) y = x**2 ax.plot(x, y, label='$x^2$', color="#07529a", linewidth=2.0) # <--...
1
vote
1answer
33 views

Displaying label on bibtex bibliography

I am pretty new to latex and trying to write a paper. I have a template with this code : % no labels in bibliography. \def\@biblabel#1{} % set the first line of each reference flush left, and each ...
2
votes
1answer
49 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 \\ ...
0
votes
1answer
67 views

Babel multiple language and chapter labels

I am writing a Ph.D. thesis that is written in english but should contain one chapter in french. I tried to add multiple language support, using: \usepackage[french, english]{babel} But if I do that, ...
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 \...

1
2 3 4 5
28