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
2answers
147 views

Positioning arrow labels at absolute distance from end or start

I am making arrows using \begin{tikzpicture} \tikzset{ operatorNode/.style={ every node/.style={minimum size=1cm,draw,rectangle} }, variableNode/.style={ every node/.style={...
2
votes
0answers
33 views

Counter for table labelling is wrong [duplicate]

I have a table and am trying to include a caption and label. The caption is printed but with the wrong number. It is my first table in the document, but latex uses the number of my Chapter (3.1) for ...
0
votes
0answers
35 views

label and caption the graphs

Here in the picture has $3$ figures I want to caption them differently and label them differently. Can you please suggest what should I do. \begin{figure} \begin{tikzpicture}[scale=3, every loop/....
0
votes
1answer
72 views

How to add two labels inside one set of a two set venn diagram using venndiagram.sty?

I've managed to include both of the Venn Diagrams that I needed, but now I can't add a "X" letter inside the "B" set, while maintaining its label of "B" This is what I need to do: And this is what I'...
1
vote
1answer
31 views

How would you number/identify/tag different cells of a table to reference them quickly and easily when writing?

This may be more of a design question rather than a technical one, but I need to easily reference different cells of the following table: \begin{table}[!htb] \centering \caption{Karnaugh Map} \begin{...
1
vote
1answer
34 views

Wrong hyperref with repeated counter

I'm having an interesting problem with hyperref. Apparently, when a counter is reset by \setcounter{mycounter}{0} then hyperref always links to the first possible instance of the counter and not the ...
2
votes
2answers
202 views

Subnumcases as a part of align

I am using the following code: \documentclass{article} \usepackage{cases} \usepackage{amsmath,amsfonts} \begin{document} \begin{align*} \underset{\tau \in \mathbb{R}}{\min} \ \tau \end{align*} \...
0
votes
1answer
20 views

Is there a way to find out which markers you have used for labeling figures, tables, equations etc [duplicate]

I've ran into an interesting problem. I normally mark my equations with p1:e1 ,..., pn:en, e.g. \label{p1:e1}. Is there a way for me to view all of the labels I have used previously without the need ...
0
votes
0answers
34 views

Tikz x labels as images creates asymmetrical spacing

I sort of stumbled upon the idea of using pictures as x-axis labels for my graph in a thesis. However, I have run into the problem of the last label being further away (not symmetric) to the other ...
2
votes
1answer
46 views

Fully show a x-label on tikz figure? [duplicate]

I have produced the following code, for a graph I am making: \usepackage{tikz} \begin{document} \begin{figure}[h] \centering \caption{AMD top 10 SBP peers (2016)} \label{FigAMDtop10SBPpeers} \begin{...
0
votes
1answer
47 views

Label alignment with expression

I am trying to add a label to an mathematical expression (under Lyx) but the alignment of it with the expression isn't right (slightly under the line of the expression) as shown in the attached ...
0
votes
0answers
23 views

Reference all pages where specific label occurs [duplicate]

It seems like a simple question, but I cannot find the solution. In the body of the book the same name, say John Smith is mentioned a number of times. I would like to label this name with \label{Smith}...
0
votes
1answer
39 views

No citation in List of Figures with label

Here is my MWE: \newcommand{\munepsfig}[4][scale=1.0]{% \begin{figure}[h] \centering \includegraphics[#1]{Pictures/#2.jpg} \caption[#4]{#3} \label{#1} \end{...
5
votes
2answers
233 views

yticklabels on the right side of yaxis

Good morning! How can I put the yticklabels on the right side of yaxis? (Not in the right side of the picture, like here) This is the code that I use: \documentclass{standalone} \usepackage{...
1
vote
1answer
61 views

How to change the label format on x-axis of Tikz pgfplot?

I am trying to make a nice looking histogram of my data, and have managed to produce the following so far: \begin{tikzpicture} \centering \begin{axis}[ ymin=0, ymax=8000, minor y tick num = 2,...
0
votes
0answers
30 views

Does pinlabel work with xelatex/lualatex?

Does {pinlabel} work with xelatex or lualatex? The following MWE works fine in pdflatex, but in xelatex/lualatex the figure disappears -- with no errors. \documentclass{report} \usepackage{graphicx}...
1
vote
1answer
78 views

How to automatically label using theorem counter?

Someone please help me! I have some custom environments and I want to label them according to theorem counter. Means, that I get a numbering like Def. 1.1, Thm. 1.2 and so on. Right now, I have to ...
0
votes
0answers
58 views

Number line with labels above and below the horizontal axis

I am trying to generate the number line shown below. My MWE is below, the problem I have is that the size of the diagram is too small, and the tick labels are too congested. I would like it about ...
2
votes
1answer
38 views

How to link to a label at hyperref?

Here is MWE: \documentclass{scrartcl} \usepackage[unicode=true,pdfusetitle, bookmarks=true,bookmarksnumbered=false,bookmarksopen=false, breaklinks=false,pdfborder={0 0 0},pdfborderstyle={},...
2
votes
1answer
34 views

end description item with a dot

Consider this example: \documentclass{report} \begin{document} \begin{description} \item[it 1] description 1 \item[ittt 2] description 2 \end{description} \end{document} which renders: Is there a ...
0
votes
1answer
33 views

format labels of enumerate

Consider this script: \documentclass{report} \usepackage{enumerate} \begin{document} \begin{enumerate}[label=\arabic*)] \item item 1 \end{enumerate} \end{document} I would like the labels to be "1)...
0
votes
1answer
95 views

Disable hyperlinks in the titles of the sections but keep it in the section numbering and pages

basically I would like to ask how to make the hyperlinks in toc look like the picture bellow. Thanks in advance! In this thread the exact opposite was asked and solved. Maybe it helps with the ...
3
votes
2answers
161 views

Label or tag for questions

I am making mini question banks on different chapters of physics. For this, I am using the 'exam' class. what I need is the following: I want to put some information for my own use against each of ...
0
votes
0answers
45 views

Remove numbering in header for certain sections - Fancyhdr

I would like to turn off the chapter number and section number for appearing in my headers from a certain point in my document. I don't want my appendix to have a chapter number and also don't want ...
1
vote
1answer
41 views

Labelling, numbering and referring to a question

I wish to typeset the following questions in latex Q 1 Find the shortest path.... Q 2 Explain... I want to type these questions under \begin{question}......\end{question} in ...
3
votes
2answers
94 views

Multiple labels for a single equation

I have an equation that looks like y=4x \text{ for } x\in \{1,2\} and would like to label it equation (1-2) so that the next equation in the paper is automatically labeled equation (3). How can I ...
2
votes
1answer
42 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 ...
2
votes
1answer
40 views

Hiding an environment but keeping equation labels and their numbers inside

I want to hide some of the proofs of some lecture notes that are given to students. I defined a new proof environment hiddenproof because I want to only hide some of the proofs. I can then hide this ...
0
votes
0answers
40 views

Equation-like references to text?

I love labeling equations and using \eqref{label}. Sometimes I miss ability to do exactly the same (create (N) side-label and reference it afterwards) with text. I mean achieving effect like … ...
2
votes
1answer
29 views

Labelling multiple lines of equations with a single label

I want to latex that equation 14.5. With labelling. But couldn't do it for several hours. So Any help will be appreciated. Thanks
1
vote
1answer
60 views

How to use something like \label outside the table environment?

I would like to ask whether there is any way to use a \label-like command outside a longtable in order to reference this table in latex? It would be also helpful if the label of the table could be ...
2
votes
1answer
66 views

Page numbering issues with sections/subsections in Beamer

I have a beamer doc in which there are a few section and subsection title slides. Those slides do not have a page number footer, and the footer page numbering do not take them into account. In the ...
0
votes
2answers
154 views

Using numcases with cases

I have an equation like so: \[ \begin{cases} Eqn1 &= 0,\\ Eqn2 &= 0, \end{cases} \iff \begin{cases} Eqn3 &= 0,\\ Eqn4 &= 0,\\ ...
3
votes
1answer
44 views

How to label each equation with some text in a series of equations?

I was wondering what's the best way to create series of equalities, each of which is labeled on the right with some text, as in this example: I would prefer a version that works both with numbers ...
2
votes
1answer
112 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} \...
3
votes
2answers
171 views

Consecutive numbering and labels in tcolorbox

Those days I write a book, and I use framed boxes tcolorbox. Have a look: \documentclass[12pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsthm,amsfonts,amssymb,mathtools} \...
1
vote
1answer
62 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) # <--...
0
votes
2answers
62 views

How to align several lists using the enumerate environment?

I'd like to align the left margin of these lists. This is what I get: This is what I want: MWE: \documentclass{article} \usepackage{enumitem} \begin{document} \quad \newline This is a list ...
2
votes
1answer
106 views

Clean solution to move yaxis in polar plot

I want to be able to plot the upper half of the attached polar plot (MWE), by setting xmin=0 and xmax=180. This, however, is non-trivial when I at the same time want to have the yaxis with labels and ...
0
votes
1answer
48 views

Is it bad to have \ref before you have \label and if so what to do about it?

Overleaf issues a lot of warnings about having \ref before I have \label and idk if I should do anything about it.
1
vote
1answer
56 views

Different Positions for Labels and Captions of Subfigures

I have five figures to put in the following layout: So far I have managed to obtain the above layout (using the following script), except for the labels of the sub-figures (a,b,c,d,e) that I want to ...
2
votes
1answer
22 views

Positioning edge label

I'm trying to position two edge labels over and below their respective edges. I'd like them to be center aligned in relation to the edge. This is my current code: \documentclass[tikz,border=9]{...
5
votes
1answer
134 views

width of (\alph*) labels

I made a list using enumitem and \begin{enumerate}[label=(\alph*)] ... \end{enumerate} The resulting labels are, to me, annoyingly uneven. Notice that (b) is much wider than (c) in the image below. ...
1
vote
1answer
184 views

Referring to a tikzpicture, but no label shown

I'm trying to refer to a tree in the document. The tree has a label and in the text it is referred to as 2.2, but the label 2.2 is not shown next to the tree. The code including the packages I use is ...
2
votes
0answers
100 views

Bibliography STYLE [label] missing?

Please, I want my bibliography to look like this one: [Wonko and Tsio 99b] Wonko, A. C., Tsio, F.: "Extended Use of Hyperlinks"; J.UCS, 5, 3 (1999), 225-327. I tried "apalike" and "agsm" but the ...
0
votes
1answer
328 views

How to change ticketsize with ticket.sty?

I can't seem to change the ticketsize in LaTeX. %%%% % % ticket.sty example file for a pin for conferences % %%%% % use the corresponding paper size for your ticket definition %\hoffset=-16.2mm %\...
1
vote
2answers
78 views

Trying to use \MakePerPage{footnote} kills the build of my LaTeX doc

The standard LaTeX footnote behavior is to mark footnotes using superscript numbers. I can't use that, since all of my citations are superscript numbers. What I'd like is for my footnotes to be marked ...
3
votes
1answer
93 views

Node label switching on condition

I try to create a dynamic graph where a node move along the axis line. When a condition on x is filled (X>1.8), I need the labels to be translated as i tried to do it in the following MWE \...
4
votes
1answer
110 views

Shading apply to label unexpected in matrix environment

I am trying to add shadow to node. For normal node, the shade will not impact the label. However, for nodes inside a matrix, the labels are shadowed too. MWE below \documentclass[border=5mm, convert]...
8
votes
2answers
205 views

Equation tags with subequations

Consider the following MWE: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align} \label{system} &\left\{ \begin{aligned} 30^{2} &= h_{C}^{2} + y^{2};\\ ...