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
2
votes
1answer
121 views

Alternative equation numbers

Suppose I have equations that I consider "assumptions" and I want those particular equations to be labelled separately from the others. Specifically, I would like the first assumption to be labelled (...
1
vote
1answer
286 views

circuitikz: Bipole label position depends on drawing direction

I've stumbled over something I consider strange behavior in circuitikz. The label distance for a bipole (in this case a lamp) seems to depend on whether the component is drawn from left to right (R) ...
0
votes
0answers
19 views

How can I display the Short Title from \caption[Short Title]{Long description} below the Figure? [duplicate]

I am aware that when using \caption[Short Title]{Longer Description} Short Title is usually used for the List of Figures. Now I would like it to also be displayed below the figure, and in bold if ...
0
votes
1answer
244 views

subfigures using subfloat- how to change the size of numbering

I am using the following code to create subfigures. \documentclass{article} \usepackage{scrextend} \usepackage{floatrow} \usepackage{graphicx} \usepackage[label font=bf]{subfig} \floatsetup[...
1
vote
0answers
39 views

Referencing an item within an algorithm box

At the moment I am using a reference to an enumeration within an algorithm box. However, the reference only shows the number of the enumeration but nothing of the algorithm. How can I put the number ...
0
votes
1answer
226 views

Table with multiple figures in cells showing ?? as table number when \autoref and \ref in text

I created a table that represented a 5x5 confusion matrix, and gave it the label tab:shape_confusion. The table is different than a regular table because it uses 10 figures to represent the ...
0
votes
1answer
398 views

Figure label caption different for figure and figure index

I have a problem with a figure description. I already found how to put a legend part into a figure index, but below the figure the legend is in two row. How can I fix it in the same row but whiteout ...
0
votes
3answers
2k views

How to label a multi-line equation?

I have a a multi-line equation, e_1 = e_2 = ... = e_n. Each of the expressions e_i is quite long. So long, in fact, that using the align environment results in some of the equations intruding into the ...
1
vote
1answer
39 views

Generate a list of paragraph and page number for specific labels

I was wondering if anyone could help me with this: I've got this report for which I show the paragraph numbers. The paragraph number is then used as part of the label so I can extract it later on, ...
1
vote
1answer
134 views

Lyx: add space before figure title in list of figures

How to add space before figure titles in list of figures ? I'm using LyX Version 2.3.0 Adding the following code to the preamble yields the following error \usepackage{tocloft} \setlength{\...
1
vote
3answers
212 views

Reference a section with a macro generated name

I have a lot of subsections with the name "Example X.Y" in my thesis and want to use a macro which generates the names and labels for the subsections. The goal is to be able to reference examples ...
2
votes
1answer
105 views

How do I get curved text with tikz-cd?

I try to make a diagram for an math skript which should show some implications. I want to write the premises for some of the implications curved like the arrows next to them. So far i got the right ...
0
votes
2answers
75 views

generating frame labels automatically

may i seek your help again? i was wondering if you can help me modify a little bit your \makeatletter ... \makeatother macro in "Commands in frame labels, generating frame labels automatically" so ...
2
votes
1answer
89 views

Commands in frame labels, generating frame labels automatically

beamer experts, I would kindly like to know if there is a way to add "commands" in the label option of frames and in \includeonlyframes and get the expected results, where you are expecting that the "...
0
votes
0answers
40 views

Equation number primed [duplicate]

Many times in mathematics one has an assumption (call it Assumption A) that has an interesting variant (call it Assumption A'). I often see in textbooks Assumption A will be written with an equation ...
2
votes
2answers
2k views

Problem with label and references and subfig/subcaption

Dear stackexchange users, I want to use subfigures in my document but the solution I got so far scrambles my ability to use labels and references in my documents. \documentclass{scrartcl} \...
1
vote
1answer
58 views

Reference to wrong appendix

In my report I have quite a lot of appendices (pdf's). I want to refer to them as A.1, A.2.....and so on It all works fine for A , B and C, but when i refer to any appendix under C, the refrence in ...
5
votes
1answer
257 views

Nested arabic enumeration without last dot

I like to change the labeling of an enumeration to the following structure: 1 First Item 1.1 First Sub-Item 1.1.1 First Subsub-Item 1.1.2 Second Subsub-Item 1.2 Second Sub-Item 2 ...
6
votes
2answers
656 views

How to draw a labeled triple arrow (\Rrightarrow)

There exists the ams-symbol \Rrightarrow which gives a triple arrow like . Now I want to endow the arrow with a label, which for example in the case of double arrows works with \xRightarrow{f}. But ...
0
votes
2answers
103 views

Rotate dimline label to horizontal

I want to rotate a label for my dimline to always be horizontal without having to calculate the rotation angle since they are numerous. MWE: \documentclass{article} \usepackage[demo]{graphicx} \...
0
votes
1answer
54 views

Align only the label of a caption right

I am using caption package and wanted to set the label of a caption (which is in a different line) to be aligned right, but the main text of the caption is aligned left, something like this: How ...
2
votes
1answer
53 views

Labels and tags with parametric dependence

Suppose there is an equation with a parameter, and the parameter is represented in equation's tag: I'm looking for a way how to refer to this equation using two different \lambda, say, \lambda_1 and \...
4
votes
2answers
85 views

Shifted edge labels in tikzpictures in nodes side by side with arrow between

I have two nodes in tikzpicture and in both nodes there is a graph in nested tikzpicture. Now, I would like an arrow to be pointing from one graph to the other - from the center of one graph to the ...
1
vote
1answer
176 views

Shifted edge labels in tikzpictures in nodes side by side

I'm trying to make two graphs and place them side by side and place edge labels over edges in the two graphs (as can be seen in the picture), but I am not successful in the second graph. My approach ...
3
votes
1answer
76 views

How to create an overhanging label for parts of a sentence? (further improvement)

This question is a continuation of How to create an overhanging label for parts of a sentence?. The question has already an accepted answer by jakun. I wish to have a further improvement to his ...
2
votes
2answers
152 views

How to label equations in a section/subsection by alphanumeric way?

To be specific, my problem is that I want to label the equations of a subsection (e.g 2.1) by (2.1(a), 2.1(b), ...) I know that if I use the \numberwithin{equation}{subsection} command, but in ...
3
votes
1answer
804 views

yticklabels and ytick wont work

I am plotting a graph using TikZ, but the yticks and yticklabels wont be set correctly. This is the code that I use: \documentclass[dvipsnames]{standalone} \usepackage{pgfplotstable} \pagestyle{...
1
vote
0answers
163 views

Use a counter as label [closed]

I want to set the value of a counter as a label. I have the following structure: \section{First Section} Some text \subsection{First Subsection} Text again \subsection{Second Subsection} ...
1
vote
1answer
63 views

Why multi line label is giving error

This is my exact tikz code \draw [thick,decoration={brace, mirror,raise=0.55cm},decorate] (BG1-Block2.west) -- (BG1-Block2.east) node [pos=0.5,anchor=north,yshift=-0.65cm] {Hello\\World}; ...
6
votes
1answer
188 views

How to create an overhanging label for parts of a sentence?

Reference image attached. I also want to be able to change the colour of there arrows and label text, etc.
0
votes
0answers
155 views

Custom compound labeling with chemstyle

Even though I made extensive use of the help given from this forum, it's the first time I actually ask a question, so I hope to not mess it up :) I'm writing my chemistry project proposal with LaTeX, ...
4
votes
2answers
156 views

Referencing to the current Section, Subsection

I am writting a long report and I would like to refer in every Section, Subsection, etc. to the Section, Subsection, etc. itself via a \ref{} (it is not enough to print the section name or number ...
2
votes
1answer
517 views

TikZ: How to center a label's text of a node when using label=?

Say I have a node: \node [rectangle,label=above:$\text{rect…}$] (r0) at (0,0) {}; How can I horizontally center the text rect… above my rectangle? Thanks in advance for your answers. Kindly, NS ...
5
votes
2answers
376 views

Using variables in tikz node labels

Is it possible to define variables in LaTeX file and use the variable names in the tikz labels? I have a network diagram, that I want to create a table of IPs at the beginning of the file instead ...
1
vote
1answer
49 views

Labelling centred text

I have two lines of text which I would like centred in my document. I have used \begin{center} \end{center} To do this, but would like to label it with a symbol such as an ace of spades just like ...
2
votes
1answer
154 views

Error in generated xtick labels using coordindex

I have a CSV file such as time_ realval NN PF UKF 2:30:51 0.11408 0.11408 0.08777 0.08776 2:30:51 0.11408 0.11408 0.08777 0.08776 2:30:51 0.11408 0.11408 0.08777 0.08776 2:30:51 0....
5
votes
3answers
126 views

Label alignment to curve

I would like to align the label "Wave 1" to the center of the red curve in the vertical direction. I still want it to be placed the same way in the horizontal direction. See the picture. \...
0
votes
1answer
107 views

How to add a left bracket in subequations environment while keeping the equation number displayed [duplicate]

There are three equations to be edited, where each of them need an equation label. Besides, the latter two ones need to gathered by a left bracket {. The final result is like this:
0
votes
2answers
47 views

How can I center align a label of a node in pgfplots?

How can I make the label {stable \\ equilibrium} in the below code, so that there is a line break, and with the text center aligned? \documentclass{article} \usepackage{lipsum, pgfplots} \begin{...
0
votes
0answers
91 views

Insert X, Y, and Z labels for 3D Graph in latex (overleaf)

I tried to insert X, Y, and Z labels into the 3-D graph, but I cannot. My Latex codes (I use Overleaf) are like that. Please help me. \begin{figure}[htp] \caption[Caption for LOF]{The Plot of ...
6
votes
2answers
341 views

labels of nodes with drop shadow

in cases, that all nodes in some tikz pictures have shadow. this can be done for example by: every node/.style = {draw, fill=white, drop shadow}, problem arise, if i like to some of this nodes add ...
1
vote
1answer
51 views

Tikz graph labels: Error compiling example from manual

I am trying to add labels to arrows in a Tikz graph. The following example from the manual, p. 260, does not compile on my updated TeXLive 2017 system. Both pdflatex and xelatex give this error: ! ...
3
votes
2answers
110 views

center label/text over xrightarrow with scaled stackrel

I frequently use the following sort of construct within tabular, to create an ordinal left to right sequnce separated by right arrows -- I use a combination of stackrel and longrightarrow to ...
2
votes
1answer
42 views

Let's get it just right: An \aboveorbelow{some-label} command

I'd like to define an \aboveorbelow command which can be used as follows: \documentclass{article} \begin{document} \section{Animals} \label{sec:animals} \section{Another section} The quick brown fox (...
1
vote
0answers
251 views

Un/availability of epsilon and varepsilon in gnuplot [closed]

I have been trying to get correct 'epsilon' symbol for labeling the axes in the gnuplots. From my understanding TeXdistinguishes between two types of epsilon symbols: one is ε (varepsilon) and ...
1
vote
1answer
339 views

Labelling qcircuit

I am trying to add an EPR pair to a quantum circuit as an entry, and I need to select both of the entries using a bracket ({) that takes both of the entries. I am interested in that the output is ...
0
votes
1answer
140 views

mathtools tagform labeling

So I'm using the lower version as in: How to force a special numbering for a specific equation switching between reactions and default with \usetagform{reaction} and \usetagform{default} The ...
1
vote
2answers
215 views

Arrow in tikzpicture between two nodes with midway label [closed]

I'm trying to draw a series of labelled nodes in Tikzpicture, so far I have: \begin{tikzpicture}[box/.style = {draw, semithick, minimum size=1cm}] \node at (0, 3*3) [box] (0) {Node}; \node at ...
2
votes
1answer
209 views

How to place legend in a suitable position in the following tikz diagram?

I have the following code for a tikz diagram. Instead of labeling all edges individually, I want to put a legend box for similar colors representing the edges. In this diagram the legend box will ...
2
votes
2answers
375 views

How can I type a symbol at the center of a square diagram in xymatrix?

In order to speak about a particular square sitting inside a bigger diagram, I'm trying to add a symbol at its center, so that I can refer to it by using the symbol. The problem is that I don't know ...