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

4
votes
1answer
63 views

label/reference isn't working properly [duplicate]

I am labelling my first table and then referencing it later, but the number that comes up when I reference it is completely different from the one in the caption. I am expecting Table 1, but I am ...
6
votes
1answer
163 views

TikZ node label alignment

I started learning TikZ today, and I got to the following image: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{graphs,positioning,arrows,shapes.misc,decorations.pathmorphing} ...
3
votes
2answers
35 views

Select (child)entrytype for DeclareLabelalphaTemplate in BibLaTeX

I want to cite an ISO Standard with BibLaTeX as proposed here. However, as for the citation style alphabetic, the label of \cite{iso704} is "ISO00" and what I want is "ISO 704:2000". The style is ...
0
votes
1answer
33 views

Using label in multicols

To produce 4 figures (2 on top followed by 2 at the bottom) in a two-column article, I am currently using: \usepackage{graphicx} \usepackage{floatrow} \floatsetup[table]{capposition=top} %caption on ...
1
vote
1answer
29 views

Fitting figure and centering text in a table as well as adding caption and label

I'm trying to a make a table with figures in it. But, the figures won't fit in the cells (See example at the end). I'm also trying to make the text in the cells next to the pictures come in the middle ...
2
votes
2answers
192 views

Bussproof with axiom labels

How do I use \LeftLabel{} and \RightLabel{} along with just \AxiomC{}? The following only displays the axiom \documentclass[14pt]{extarticle} \usepackage[english]{babel} ...
0
votes
0answers
40 views

Multibib and Natbib issue workaround with renewcommand?

I divided my bibliography into 2 parts: Literature and online sources in this manner: \usepackage[table,xcdraw]{xcolor} \usepackage[square, numbers, comma, sort&compress]{natbib} % Use the ...
0
votes
0answers
34 views

Weird go page message in footnote

... \makeatletter \DeclareRobustCommand*{\pmzerodot}{% \nfss@text{% \sbox0{$\vcenter{}$}% math axis \sbox2{0}% \sbox4{0\/}% \ooalign{% 0\cr \hidewidth \kern\dimexpr\wd4-\wd2\relax % compensate ...
4
votes
2answers
54 views

Proper way to reuse footnotes in Latex

I don't know how to word this, but if I want output like so The Universe* is full of all universes+ even though the Universe* is the same size as any one of the universes+ *The Universe ...
1
vote
1answer
28 views

Removing spaces from label generated inside command based on arguments

I have a command which takes two arguments. Inside the command there will be inserted a subsection which also would like to put a label on. The problem is that the arguments might have Spaces between ...
0
votes
1answer
77 views

Left alignment of multiple equations with one label

I am using flalign for left alingment of two equations, but I also want to give them one label for which I found the split environment. But they are not working together. The question is how to align ...
2
votes
1answer
92 views

How to label/tag TikZ diagrams?

I would like to be create diagrams using TikZ that have a number on the side of the page (like the equation environment makes) that I can label using \label and cross-reference using \ref. ...
0
votes
1answer
36 views

adding a lable to a newcommand in the preamble using mhchem and fancyref

I'm using [version=4]{mhchem} and fancyref as packages. In mchem's manual there is a code given for the preamble that allows easily to enumberate the chemical equations like the normal equations: ...
1
vote
0answers
84 views

Change label (x-axis, y-axis) font size of already inserted eps figure in LaTeX

Just wondering if there is a possibility of changing the font size of the x-axis and y-axis of an eps figure. I tried \fontsize{15}{12}\selectfont, but it did not work at all. Thank you very much in ...
1
vote
0answers
45 views

Labels in TikZ are all in the lower left corner of the tikzpicture [closed]

I have a problem concerning labels in TikZ. My labels are all positioned in the lower left corner of the tikzpicture. \documentclass{birkjour} %\documentclass[12pt]{article} \usepackage{amssymb} ...
6
votes
2answers
181 views

Rotate label on secondary axis

So, I want to have a plot with two y-axes - done. However, since the labels consist of only one symbol, I want them written horizontally. That is usually accomplished by rotate=-90. This works, but ...
1
vote
1answer
68 views

Refer to appendix with \includepdf

I have included a PDF by using \includepdf into my appendix. I also added a label to that pdf but when I refer to it like as you can see in Appendix \ref{mylabel} it prints "as you can see in Appendix ...
1
vote
1answer
40 views

Add customized text to label and reference

I want my equations to be labelled with the ordinary counter, but also additional text, but where later reference uses its own customized text. Something like We have (a+b)^2 = a^2 + 2ab + ...
7
votes
3answers
157 views

How to make the enumeration of theorem-like environments indipendent from cross-referencing in a particular way

I'm writing a mathematical paper, and right now I'm using \newtheorem{theorem}{Theorem}[section] to enumerate theorems, propositions, etc. In this way, every statement shows the number of the ...
3
votes
3answers
54 views

Horizontal enumeration in multiple columns with custom labels

I have a question based on what I found here. I was hoping to change the labels of these items from numbers to a word followed by a number. In particular, I would like to see: Problem 1: stuff here ...
4
votes
2answers
132 views

Labeling parts of proofs

I'm using bussproofs to layout sequent-calculus proofs. I would like to label the parts of some of my inferences. For example, given the following proof: \begin{prooftree} ...
0
votes
1answer
74 views

TikZpicture/pgfplots: How to reduce quantity of displayed xticklabels when using “xticklabels from table”?

I want to generate a simple x/y-diagram with data out of a data-table (~ 2000 values). Minimum Working Example (MWE): \begin{filecontents}{Data_Table.csv} X Y 00:00 0 00:01 50 00:01 100 ...
2
votes
1answer
42 views

I am trying to number the table properly but latex doesn't seem to recognize the label

I have the following longtable: \documentclass[12pt, oneside]{book} \usepackage{graphicx} \usepackage[a4paper,margin=1in]{geometry} \usepackage{pdflscape} \usepackage{caption} \usepackage{csquotes} ...
7
votes
2answers
152 views

How to produce nested matrix with labels just using the amsmath package?

I am trying to create this matrix in Microsoft word 2010 with mathtype and since mathtype just uses the amsmath package, I should only use this pckage in my latex code. Can anyone tell me what code ...
1
vote
1answer
45 views

labelling an equation containing side by side matrices

I have an equation whose code is as below: \[V= \begin{bmatrix} \ x'\\ y'\\ \end{bmatrix}%\hspace*{20pt} % to increase the horizontal space \begin{bmatrix} x \cdot \cos(a) - y \cdot \sin(a)\\ y ...
0
votes
0answers
44 views

Referring to an equation in a different section

I am using the procedure in writing a document of setting a main page and including sections in side tex documents using \include{...}. In one section I have an equation that I labeled as \label{6}. ...
2
votes
0answers
39 views

how to add labels to x and y axis in figure environment [duplicate]

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
92 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 ...
12
votes
2answers
425 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
71 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
106 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
0answers
14 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
100 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
53 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
58 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
401 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
155 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
86 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
97 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
135 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
91 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
62 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
30 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
123 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
40 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
86 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
301 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
57 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
149 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, ...