{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
14 views

labelling entries in a column vector

I wish to have a square column vector where the entries are labeled. I know I can kind of do this with bordermatrix: \[ \bordermatrix{ & \cr a & 1\cr b & ...
0
votes
1answer
17 views

Label of theorems

Is there an equivalent of \figurename for theorems and lemmas? For instance, given that I've defined \newtheorem{theorem}{Theorem} \newtheorem{lemma}{Lemma} \newtheorem{example}{Example} and in ...
1
vote
1answer
15 views

How to create a box with caption and label like a float?

I want to create a box (in which I put extra information for the reader) that behaves like a float. In other words, it should have a caption (outside of the box that says Box 1: Here is my box ...
2
votes
1answer
1k views

How to rid of automatic .pdf label from \includegraphics? [duplicate]

Possible Duplicate: How to avoid showing the filename when using graphicx? So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky ...
2
votes
2answers
60 views

Macro: compatibility of 1) Auto-colorization & 2) Auto-counter-and-title-to-label

This question is about asking to have the following 2 "workflows" (if you permit me to call them as such) to be able to coexist together in 1 Tex document: Workflow Auto-colorization (≅ User ...
3
votes
1answer
58 views

How to \nameref to a certain instance of a counter (used as pseudo-caption), use number in \nameref and add a title/description to the pseudo-caption

In the following MWE, the environment "quoter" is used let's say a little bit as a "pseudo"-caption: it is not a real \caption or \captionof, but still it generates a counter and displays a word such ...
1
vote
1answer
19 views

positioning of label edge (Tikz figure)

I have a problem with the 'sloped' option. See my example below. from s0 to s3 and s3 to s0, the label are too close to the edge. The pos option allows the user to move the label along the path, but ...
1
vote
0answers
17 views

Difficulty with generating labeled equations in elsarticle document class

I have tried writing equations in the normal way ie: \documentclass{elsarticle} \begin{document} \begin{equation}\label{eq:1} x=y+1 \end{equation} \end{document} but this doesn't work for some ...
6
votes
2answers
88 views

\label-\ref consecutively numbered theorems using varioref

I hope all definitions, lemmas, theorems, propositions and corollaries are numbered consecutively. The code as below. My trouble is: when I reference, like \ref{<lemma 4>}, get 'definition 4'. ...
4
votes
1answer
29 views

beamer, enumitem - enumerate ball label

So, i "need" to use the enumitem package in order to increase the allowed depth for itemize/enumerate. To use the ball like label in those listing environments, I've tried the following code : ...
0
votes
1answer
40 views

Automatic labels for shortenumerate items from the shortlst package

For usual enumerate environments one can easily setup automatic item labels via \begin{enumerate}[label=(\alph*)] for example. I am using shortenumerate from shortlst and this approach apparently ...
2
votes
1answer
44 views

matlab2tikz, label on right side of colorbar

How to move the label right of the colorbar? Now it is in the plot itself. This is the matlab-code.... clear all close all clc figure surf(peaks(2)) cb = colorbar cb.Label.String = 'Label' ...
1
vote
2answers
87 views

Unexpected axes labels in PSTricks plot

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \usepackage{expl3} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff ...
0
votes
0answers
33 views

Getting error with a dash “-” in \label{}

I want to have a dash symbol in my labels, such as \label{restapi-1}. Up until now that worked fine. However, just now I created another label: \label{diagram:dao-package} and I am getting compilation ...
2
votes
0answers
54 views

Arrows with charts, labels, tkiz and pgf

I would like to draw an arrow from the K in the first chart to the E in the x-label of the second chart. Normal arrows are working but nodes in the axis labels don't seem to work. Do you have any ...
1
vote
1answer
23 views

How to change label/reference formats

I have just been using the default label and reference formats, i.e. $\label{eqn:a}$ and \ref{eqn:a} but I was wondering if there's a way to change the format of the references. For example if I am ...
1
vote
1answer
16 views

Labeling lines (or columns) of tikzcd diagrams

I would like to be able to label (by number or a symbol) not only a commutative diagram as a whole, but also single lines of the diagram. For example, in a diagram \documentclass{article} ...
1
vote
1answer
41 views

How can i change the font size of label of node uniformly in tikz

I want to give nodes a label by \node [label=below:$1$] {$X$}. But the size of the label is the same with "X". i want it to be script size. so i can type \node [label=below:$\scriptstyle 1$] {$X$}. ...
7
votes
2answers
288 views

Tikz and exponential style tick label

I have a particular question on how to properly modify the style of tick labels, to get them in exponential style. What I actually want to have is them to be of the style 10^n at the ticks ...
1
vote
1answer
21 views

Label bounding box in Asymptote

Here is the code. settings.outformat="pdf"; import graph; size(4cm, 0cm); defaultpen(fontsize(16pt) + linewidth(1)); xaxis("$x$", xmin=-1, xmax=1); yaxis("$y$", ymin=-1, ymax=1); labelx(0, ...
2
votes
1answer
44 views

How to tag an equation? [duplicate]

I am typing in texmaker but using \tag{} is not giving me the desired result. It shows an error. Here is sample \textbf{Proof-} It is clear that $Inn(G)\subseteq Aut_U(G)$. So we let $\varphi \in ...
11
votes
4answers
357 views

How to point an equation to a curve

I have the following code: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.7} \begin{document} \begin{tikzpicture}[>=latex] \begin{axis}[grid=both, axis x ...
2
votes
1answer
32 views

control line spacing in a label in tikz

i want to control the line spacing in a label of a node in tikz. In my example it's too big (between the two lines), I want to reduce it. I've already read things about line spacing inside a node, but ...
8
votes
2answers
93 views

Putting labels on a cube with perspective

I'm trying to draw a cube where the faces are labeled with full perspective. I saw this question but I was looking for more perspective. Any help is greatly appreciated. Below is my attempt: ...
0
votes
0answers
31 views

Remove label from table and figure

Iam trying to remove the late 6.1 from the bottom of the table without removing the "Πίνακας 6.1:..." I have tried using \label*{Table:12} but it didn't work. Any suggestions? \begin{table}[h] ...
3
votes
1answer
28 views

Show tick labels on both edgess in groupplot

I would like to put quite many small plots in a groupplot environment and provide ticklabels on all adges of the groupplot (no labels at individual plots). In the following example, I've set the ...
4
votes
0answers
19 views

Label not working after \appendix with revtex4-1

I need to use labels in appendices with revtex4-1 but I've got a "LaTeX Warning: There were undefined references" and the references are not placed. It seems that there's a conflict with biblatex ...
2
votes
1answer
50 views

How to add label at center of three nodes and have it pointed to nodes respectively?

In tikz I have three nodes as following: \documentclass{article} \usepackage{pgf, tikz} \usetikzlibrary{arrows, automata} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}[>= ...
1
vote
0answers
17 views

Change label in align environment [duplicate]

In LaTeX, I'm using the documentclass report with different chapters. Now, when using the align environment for listing formulas with labels, i get labels like (2.1), (2.2), ..., the first number ...
1
vote
1answer
48 views

Renew an already used label

Based on my question here my setup is currently looking like: \newenvironment{A}{\label{env:A}}{} \newenvironment{B}{ %%Pseudocode \if\thepage!=\pageofref{env:A} Pagebreak happened! \fi %% End ...
3
votes
0answers
50 views

Arrows, coordinates and labels

Please, consider the MWE below. \documentclass[border=3mm, tikz, preview]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture}[ LM/.style = ...
0
votes
1answer
26 views

\setlabelphantom for whole document

I am having a document with several descriptions. Some of the labels are too long for the default length, so I use \setlabelphantom{word} for setting this to a custom length. Does anyone of you know ...
5
votes
2answers
86 views

combining absolute and relative coordinates for axis label

Consider the following MWE \documentclass{article} \usepackage{pgfplots} \pgfplotsset{ compat=1.12, stdaxis/.style={ ylabel style={at={(ticklabel cs:1.06)},anchor=west,rotate=270}, ...
4
votes
2answers
59 views

Where's the mistake? #1 inside \caption

I am trying to automatically convert \caption{...\label{...}...} to \caption{...}\label{...}. This is what I have tried: \documentclass{article} \usepackage{showlabels} ...
1
vote
1answer
136 views

I have a business card template that uses labels and I want to add a watermark/background

I am making business cards that use labels to slice them up and give me multiple per page, but I also would like to have a background or watermark on them. I have tried using this code, but it puts ...
1
vote
1answer
65 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
2answers
43 views

enumeration label out of margin

I am wring this enumerated list as part of my document. I created labels as Step-I Step-II Step-III However they went out of margin on left side which looks ugly. I have attached the rough picture ...
0
votes
1answer
40 views

How can I label and reference a table without using the table environment

I want to be able to refer to tables that are not enclosed in the table environment. My reason for doing this is that these are statistical tables (yes a relic of times long gone) that I don't want to ...
0
votes
0answers
14 views

tufte: two tables on the same page

I have two tables which are about 40% of the page height. Both are related and should stay on the same page. Therefore I put both tables inside a minipage and made it floating. ...
7
votes
3answers
206 views

Best practices in labeling (giving labels to equations, theorems, items, etc..)

Are there some Latex style guides with part dedicating to labeling? I want to use some persistent labeling scheme, but don't know any (except for uncertain one in my mind). What labeling scheme ...
5
votes
1answer
54 views

Is there any way to extract the values stored in newlabel

Context: I want to store values in the aux file to use them earlier in the file on the next run, rather than creating my own solution I want to use labels (as suggest by this answer). Problem: ...
0
votes
1answer
43 views

Put arrow on elements of a set with tikz

I need to mark some elements of a set with arrow in latex using tikz. I tried tikz-cd but it doesn't seem the right choice.
0
votes
1answer
14 views

How to prevent misalignment of a vertical column when a node label is displayed

I am trying to make a vertical column of various moon phases using a macro that generates circles, but when I add a node label to a circle (to designate that it is a full moon) it shifts the circle ...
1
vote
1answer
14 views

How to prevent an object from moving when adding a node label [duplicate]

I am trying to make a vertical column of various moon phases using a macro that generates circles, but when I add a node label to a circle (to designates that it is a full moon) it shifts the circle ...
0
votes
1answer
18 views

sidewaysfigure wrong numbering

I am writing a document where the second figure must be sideways. I do this by using: \begin{sidewaysfigure} FIG2 \end{sidewaysfigure} But this changes the order of the figures. Now FIG2 comes ...
3
votes
1answer
41 views

Nested enumerate items are missing some periods when cross-referencing

I am writing a rulebook and need to reference clauses and sub-clauses throughout. When I have a nested enumerate item to the level of 5.4.2.3, the cross-reference displays as 5.4.2.23. ...
2
votes
1answer
23 views

problem with align* and labels

I have this code: \begin{align*} \label{eq:svc2} \stackrel{min}{\omega,b,\xi,\rho} \-\hspace{20pt} & \frac{1}{2} \omega^T\omega - \nu \rho + \frac{1}{l} \sum_{i=1}^{l}{\xi_i} \\ \text{subject ...
1
vote
1answer
36 views

Long equation labelled by a symbol

To label a single symbol to long equation, we use \begin{split}...\end{split}: \begin{align}\label{eq1} \begin{split} H=\langle x_1,x_2,\cdots, x_n \colon & [x_i,x_j,x_k]=1,\\ ...
0
votes
2answers
358 views

Can't find a SIAM Label Error

I'm using winedt 6.0 and a SIAM template in my document. When I compile, I get an error message stating: ! SIAM Label Error: There were multipy-defined labels Correct multiply-defined labels. Type ...
2
votes
2answers
42 views

Knitr: How to make a crossreferences to figures and tables generatrd by code chunks?

I would like to make cross-references to images and tables generated from knitr code chunk in the same way as to standard figures and tables. In a standard figure I use control sequence \label, but i ...