{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
0answers
18 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
32 views

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

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
77 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
33 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
36 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
141 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
29 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
103 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
0answers
33 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
28 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
108 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
41 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
23 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
38 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
43 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 ...
11
votes
2answers
256 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
66 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
44 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
12 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
54 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
41 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
41 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
53 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
67 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
43 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
93 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
93 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
37 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
41 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
13 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
80 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
62 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
194 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
30 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
75 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
27 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
55 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
84 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
36 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
67 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
95 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
47 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
284 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
123 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
63 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
56 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 ...