{labels} is about customizing the labels of {diagrams} and mathematical constructs like {matrices}. For questions about \label or similar commands, use {cross-referencing} instead.

learn more… | top users | synonyms (1)

1
vote
1answer
16 views

multiple subequations same line with reference compact

I posted a question earlier, multiple subequations same line with reference But I'd like to be able to combine the numbering at the end of the line for the following two cases: Re = UL/nu , Ha = BL ...
9
votes
2answers
139 views

How to make underbrace label text wrap at brace width?

Is there a way to make underbrace label text automatically wrap at the underbraces width, preferably even with automatic syllabication? Example where brace label text exceeds underbrace width: ...
2
votes
1answer
62 views

How to label equations from this question?

First, please change name of this question (I didn't know how to name this question in appropriate way). In this my recently asked question I asked how to align some centered equations. Now, I ...
4
votes
2answers
41 views

label doesn't work inside gather*

I am successfully using gather* to centre align my groups of equations. However, if I do: \begin{gather*} \rho=a*b \\ \alpha=2*\rho. \label{eqn_one} \end{gather*} It shows two ...
1
vote
0answers
23 views

Labelling equations as (r.1),(r.2),.. etc using \align [duplicate]

I have a number of reaction equations, I would like to label them as (r.1),(r.2),... etc, using \align. So we would have: equation 1 (r.1) equation 2 (r.2) equation 3 ...
1
vote
1answer
23 views

Problem with references

The problem is that i have good labels ('good' I mean that they are after caption, I tried with labels in the same line as the caption, and in the next line) and I'm trying to use references to my ...
7
votes
2answers
217 views

Putting tick marks on graph without label using TikZ

I'm trying to create a piecewise function on a colored background with TikZ that has tick marks on the coordinate axes every 2 units but a grid that intersects the axes every 1 unit. The problem I ...
3
votes
1answer
41 views

How to refer to pgfplot legend labels with hyperref?

I would like to \refer to a pgf legend label in the caption of a figure (to explain symbols). I create my figures with externalization. Without the hyperref package, everything works fine. But as soon ...
1
vote
0answers
10 views

How to tell cleveref to use the correct label type [duplicate]

I'm trying to use cleveref to reference some figures, but it is incorrectly labelling them as sections. (i.e. It will say something like Section 5.12 instead of Figure 5.1 in the text) I'm also using ...
1
vote
1answer
38 views

My float items are linked to wrong entities

I am using a .sty file from my university to prepare my dissertation. In this file, there is a float for "Algorithms" that I use to define Algorithm 1, Algorithm 2, ... My problem is that, no matter ...
9
votes
3answers
355 views

Arrow pointing to subscript in equation

I'm writing an equation for the components of a contracted tensor. I want to label one of the lower (covariant) indices with the text "rth positon," and have an arrow pointing to it from below. Any ...
0
votes
1answer
36 views

Alphabetized list labeling with boxed alphabets in enumeration

I want to create itemized list with its labels as Alphabets, written inside boxes. I tried to use \begin{enumerate}[label={$\boxed {\Alph*}$}], but it does not work. Pl. help.
4
votes
1answer
90 views

Making headings that depend upon later environments

I want to typeset a test and a marking scheme. I have the following code: \documentclass{article} \usepackage{ifthen} \usepackage{amsmath,amsfonts,amsthm,amssymb} \setcounter{secnumdepth}{0} ...
1
vote
1answer
45 views

Caption and label on Minted code

I want to add a caption and label on a Minted source code so I can reference it, similarly to what you can do to figures. In Minted manual it says I can use the listing environment, which allows to ...
1
vote
1answer
26 views

Package babel Error: Unknown language `french' (not 'francais')

I solve the problem Unknown option 'francais' by installing the missing language package: ​sudo apt-get install texlive-lang-european Now, encounter the problem Unknown language 'french', the ...
0
votes
1answer
33 views

Customized bold labels for enumerate [duplicate]

I would like to have bold enumerate labels that both have a Roman numeral and a custom text in them, like on page 26 (pdf page 2) of http://www.ams.org/bookstore/pspdf/stml-48-prev.pdf. I'm using ...
4
votes
1answer
77 views

How can I force the pin angle in a TikZ data visualization?

Please note that I am not using the pin option of a node as in How can I force TikZ pin angle? and TikZ node pin angle in 2D plot, but am instead using the pin in data option in a TikZ data ...
7
votes
4answers
8k views

How can I label \rightleftarrows above and below?

How can I label $\rightleftarrows$ above the top arrow and below the bottom arrow?
2
votes
1answer
31 views

Why does including brackets in a TikZ datavisualization label give me an error?

My questions concerns the following MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{datavisualization} \usetikzlibrary{datavisualization.formats.functions} \begin{document} ...
3
votes
2answers
37 views

Undefined references within equations

So my problem is that there seams to be a clash between something in my preamble and the \label{} and \ref{} commands. When I do references within my definition environment it all goes smoothly, but ...
1
vote
1answer
30 views

Problem with referencing to the the number of an equation when using arabic support of babel

Unfortunately, I have a problem when using babel with arabic. When deferring to the number of an equation, the digits are reversed. In the below document when using (\ref{eq:10}) it gives (01) instead ...
0
votes
0answers
11 views

table label comes out as section label

I'm writing my dissertation in Texmaker and I have a problem in a section. The problem is that I have different tables and in this section only, the cross reference for the label comes out as the ...
7
votes
1answer
76 views

Static labels on rotating arrows in TikZ

Update after answer: After employing the very helpful answer below, my animation now looks like this, and all labels are "glued" in place. Thank you very much!* Original question: I have the ...
3
votes
1answer
112 views

pgfplots: Fixing overlapping X axis labels

I am trying to create a time series plot but my X axis labels overlap: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{width=14cm,compat=newest} \usepgfplotslibrary{dateplot} ...
3
votes
0answers
119 views

My boxplot draws but the coordinates are NaN when I try to label the plot [closed]

I have been slowly getting my barchart with a boxplot to come together. My current project is to label the whiskers, quartiles and median. Using examples from the manual, no label is printed. This is ...
1
vote
0answers
60 views

How to preserve information after exporting Tikz code from Geogebra and compiling it?

I use Geogebra to draw the figures in my book, exporting it to Tikz code to compile. However I found that the information of labeling in Geogebra was lost after exporting or compiling, and it ...
6
votes
2answers
171 views

Decision Tree with Labels on Both Sides of Line

I am trying to generate a decision tree similar to this scanned example: Notice that some branches have text on the top as well as the bottom. I have not figured out how to do this. I can get text ...
1
vote
1answer
55 views

Position of labels as updated in a beamer slide tikz block

I am having trouble with updating labels of tikz blocks in a beamer presentation. So far I have been using \onslide to update the block size and location from code in this answer. For the label text, ...
0
votes
1answer
28 views

Is there a difference between heving \label before or after \caption? [duplicate]

I am wondering if it is recommended to adhere to a convention of defining labels before or after captions. Moreover, if that is the case, why?
1
vote
1answer
22 views

RevTex4-1 figure reference wrong number? [duplicate]

I have included a graphic using \includegraphics into a \begin{figure} \end{figure} in revtex4-1. The figure appears in section II (i.e. 2) but the caption of the figure says Fig.1 (this is not a ...
1
vote
1answer
45 views

Tikzpicture (pgfplot): Fixing curly braces and labels

I have a major problem (curly braces) and some minor issues I cannot resolve: 1) shift the second curly brace downwards so that both label the upper and lower interval with respect to the turning ...
2
votes
1answer
56 views

Tagging multi line equations

Often I have a chain of equations but later on I only want to refer that the first statement is equal to the last one. There are some options to do that: \begin{align} \label{equation} a ...
4
votes
1answer
32 views

Only first character of label recognised. Remainder displayed as text

In a particular document, align labels are only recognised as being the first character of the specified label, with the remainder being printed as text. Here is a MWE: \documentclass{article} ...
1
vote
1answer
51 views

multiple subequations same line with reference

I'm trying to write several equations on one line, include a label for each equation, and also be able to view the equation number for each equation. Is this possible? I've seen several related ...
3
votes
2answers
79 views

How to center a label inside a closed path in Asymptote?

I am new to Asymptote and I need a little help. I would like to place a label exactly in the center of a closed path, for example in a triangle: unitsize(1cm); size(4cm); draw((0, 0) -- (0, 3) -- (3, ...
1
vote
1answer
38 views

includepdf addtolist label not working

When I include PDFs in the annex, the label gets not set correctly. In the list of tables the link appears correctly, but clicking it brings me to the first page of the document. The link in the ...
1
vote
2answers
34 views

Using alphabets to label equations

I have the following codes that label equations the usual way: \begin{align} \partial^2 EU/\partial \alpha \partial \widebar{d}&= U'(\epsilon)[G_{\alpha}(\alpha,\theta,\epsilon) - \widebar{P} ...
0
votes
1answer
45 views

Rename Equations to 14a and 14b but keep ordering

I have Equations 11, 12, 13 and so on. I want the next equations to be 14a and 14b, but the one after should again be 15, i.e., keep the ordering. I know how to tag equations, but then the equation ...
1
vote
1answer
41 views

Tcolorbox: force labelling to take on specific number

Using tcolorbox, how can I label a box and give the box whatever number I want? \documentclass{memoir} \usepackage[breakable]{tcolorbox} \newtcolorbox[use counter=table,number ...
11
votes
4answers
381 views

Equation number for each row of a matrix equation

Is it possible to give an equation number to each row of a matrix equation? How could I have equation labels in the vein of subequation numbers, one for each row of the matrix equation? Here, I'd ...
6
votes
3answers
116 views

How to mark equation number but not change the reference text?

I would like to mark a few equations as special by adding an asterisk (or some other symbol) to the equation number. I accomplish this as follows: \documentclass{article} \usepackage{amsmath} ...
4
votes
2answers
59 views

Tikz: text overlapped by objects

I need to draw some groups of overlapping rectangles, for example: They are labeled by numbers, rectangle 1 is overlapping rectangle 2 etc. Is there a way to change automatically the position of ...
2
votes
1answer
54 views

Mixing a table with graphs

I have the following code: \documentclass[tikz,border=2mm]{standalone} \usepackage{tikz} \usetikzlibrary{matrix, positioning} \begin{document} \begin{tikzpicture} \matrix (A) [column sep=0pt, row ...
1
vote
0answers
73 views

Help! LaTex suddenly not recognizing figure label references

I've got a 20 page document with dozens of figures. They all have individual labels and most are references with their labels by \ref{fig:domain} etc. It has been working fine and compiling correctly ...
3
votes
1answer
200 views

Labels in 3D mode don't work in Asymptote

When I create 3D asymptote graphics, labels just don't work. When I copy the code from the question in Positioning Labels in Asymptote I get the exact same plot just without the "x". Everything works ...
6
votes
0answers
95 views

Add break node to plot in pgfplots

I was able to 'break' the vertical axis using pgfplots, but some issues came along with it: Most importantly, I can't find how to add the 'break sign' (the two parallel lines) to my plot as well, ...
2
votes
3answers
64 views

Adding labels to the equations when they are broken

\begin{align} \begin{split} \pd{EU}{\alpha} &= d(\theta) U'(\pi_{1}) [G_{\alpha}(\alpha, \theta, \epsilon) - \widebar{P} C_{\alpha}(\alpha, \theta)] \\ &+ (1-d(\theta)) ...
6
votes
3answers
454 views

Labeling problems with exam class usage when using multiple chapters

Using the exam document class I'm trying to create a questions/answers-sheet for a book. When working on the first chapter, everything worked nicely. When I came to the second chapter, I realized I ...
1
vote
1answer
51 views

Show table caption only on first page [duplicate]

I have a \longtable that splits over two pages and currently shows the label and caption at the top of each page. Can I change this so that the caption and label to only appear on the first page and ...
2
votes
2answers
117 views

Labeling equations and math mode

I have to write the equation shown below in Latex and I am using {\textbf{q}=($\mu$ $_1$ $\mu$ $_2$ ... $\mu$ $_{n-2}$ $\mu$ $_n$ )\textsuperscript{T}} and it comes OK. However, I need to ...