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
0answers
13 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; ...
0
votes
1answer
26 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 ...
1
vote
0answers
28 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
31 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
100 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
32 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
43 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
190 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
51 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
26 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
30 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
892 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
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
16 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} \[ \...
0
votes
2answers
37 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
210 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
268 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
31 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
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 \\ ...
0
votes
1answer
61 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 \...
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
1answer
106 views

matlab2tikz - problem with german letters - ä, ö, ü, \cdot and r_N

I'm using matlab2tikz the first time and get some problems with the first graph. I could seperate the problem. In the moment, I insert german letters like ä, ö, ü or special code like \cdot and r_N in ...
5
votes
2answers
71 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
2answers
39 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, ...
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 ...
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 ...
2
votes
1answer
188 views

Removing \label from a string

Is there a way to create a command that removes, if present, a \label from some text. It should work like this: \documentclass{article} \newcommand{\removelabel}[1]{} % some code \begin{document} \...
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
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 ...
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
1answer
57 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 ...
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
41 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 ...
1
vote
1answer
200 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 ...
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
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
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
59 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 ...

1
2 3 4 5
28