{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)

2
votes
0answers
35 views

how to add labels to x and y axis in figure environment

I was able to include a .eps file in my latex document in the following way : \documentclass[12 pt]{article} \usepackage[pdftex]{graphicx} \begin{document} \begin{figure} \centering ...
1
vote
1answer
23 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 ...
10
votes
2answers
198 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
64 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
24 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 ...
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 ...
3
votes
1answer
42 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
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 ...
0
votes
1answer
38 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.
1
vote
1answer
29 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 ...
1
vote
1answer
49 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 ...
0
votes
1answer
35 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
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} ...
4
votes
1answer
81 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 ...
2
votes
1answer
32 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
39 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 ...
0
votes
0answers
12 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
78 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 ...
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 ...
1
vote
0answers
61 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
180 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 ...
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
62 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, ...
1
vote
1answer
23 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 ...
1
vote
1answer
57 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 ...
4
votes
1answer
33 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} ...
2
votes
1answer
57 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 ...
3
votes
2answers
85 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
2answers
35 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
46 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 ...
7
votes
2answers
230 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 ...
6
votes
3answers
118 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
60 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
76 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 ...
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)) ...
2
votes
2answers
120 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 ...
2
votes
1answer
66 views

Pgfplots: Add curly rotated braces to a graph

I created a simple graph of a demand function so far. Is there an easy way of addition curly rotated braces and labels to the graph (like in my sketch). Those should mark the intervals for a value ...
5
votes
1answer
21 views

Repeated “Label(s) may have changed” when using \catcode`_=12 underscore hack with hyperref

This MWE produces repeated Label(s) may have changed warnings despite the output files not changing. The same problem has been discussed in How to diagnose a permanent "Label(s) may have ...
2
votes
0answers
20 views

pgfplots: tik labels missing and axis labels are inside plot [duplicate]

I am having major trouble in getting pgfplots to work on my Ubuntu 14 System. I am running the minimum example from http://www.texample.net/tikz/examples/pgfplots/ and the result looks like the ...
1
vote
1answer
62 views

Writing to aux - you can't use a prefix with `the character @'

In a previous project, we used the following macro to define requirements, so that they were easy to reference later in the text. \newcommand{\reqlabel}[2]{% \label{#1} ...
1
vote
1answer
40 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
27 views

Increase labelwidth MSC package

I'm using the MSC package to draw a sequence chart. I only need one instance, with ingoing and outgoing (lost and found) messages. I've set up a working example suing the LaTeX compiler. ...
0
votes
0answers
9 views

referencing vertical subfigures [duplicate]

I am new with LaTeX and I have a problem with in text referencing on my sub-figures which are in vertical alignment. The code I use is below. If in my text I write \ref{fig:a} the ?? will appear. If I ...
4
votes
1answer
88 views

Asymptote: prevent label scaling in 3d perspective

Is there a simple way to prevent labels from scaling based on their distance to the camera in a perspective 3d view? (For example, see the first comment on this question or page 65 of this tutorial.) ...