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

0
votes
3answers
371 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
1answer
49 views

Macro for pictures with generated labels

Good day, I would like to write a macro (using Latex3/expl3) that posts pictures and can take several key-value parameters for generated labels/captions etc. I already found code that can do this, ...
1
vote
1answer
35 views

Dynamically generated label

I would like to generate a label using a command that uses conditions: \newcommand{\paperPrefix}[1][]{\ifthenelse{\equal{#1}{}}{\ifthenelse{\equal{\activePaper}{}}{}{\activePaper\_}}{#1\_}} ...
3
votes
1answer
52 views

TikZ > Is it possible to use the identifier of coordinates as string?

I am drawing pictures with TikZ using loops, for instance \foreach \point in {(i),(j),(k)} {...}. Is it possible to use the name of the coordinates as string to label a node? I'd like to use \node at ...
2
votes
2answers
167 views

How to fit 3 equations in the page with number 2a, 2b and 2C?

I have the following issue. I am trying to fit 3 equations in one line with the label of 2a, 2b and 2c. Up to now (I am using tabularx)I am only able to get the 3 equations on the same line with ...
2
votes
1answer
23 views

\autoref from hyperref not showing correct theorem label

I am writing some lecture notes for a course on overleaf. \documentclass[a4paper,11pt,openany]{book} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,amsthm} ...
-1
votes
0answers
11 views

Estout: indicate() continuous/factorial interaction terms [closed]

I'm trying to indicate whether a regression in STATA includes an interaction term between a factorial and a continuous variable, using the eststout user-written command as below: sysuse auto eststo: ...
0
votes
1answer
43 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 ...
3
votes
0answers
27 views

label option in tikz-cd influences distance between column

I want to give one node a label using tikz-cd. But then it seems that when arrange column distance, tikz takes the label node as a part of the main node rather than only considers the size of main ...
0
votes
1answer
467 views

latex draw- mathematical letters and symbols

When I am using Linux mint 17 i found this mistake rather not in windows. That is, in this Linux i have put Latex Draw 2.0 it is not giving the mathematical symbols. that is, Suppose i wish to name a ...
4
votes
4answers
1k views

Change labels on x-axis in TikZ plot

I have the following code to create an axis on which trigonometric functions must be plotted (in degrees). It is to be printed out and used as part of a mathematics test paper. However, x axis must be ...
3
votes
2answers
37 views

How do I reference the current enumerant label without having to tag each one by hand

I am trying to build functionality similar to the exercise package, but exercise does not quite do what I want. MWE: \documentclass[10pt]{article} \newwrite\myfile ...
0
votes
2answers
45 views

How to avoid confusing/messy label system efficiently?

In scientifical writing, I find that the label system such as \label{eq:eqnum}, \label{eq:eqmeaning}, \label{thm:thmnum}, \label{thm:thmmeaning}, \label{thm:thm_name} is not satisfactory. For the ...
3
votes
2answers
56 views

Best way to create placeholder labels?

I'm trying to reference a number of supplementary material (i.e. videos) which cannot be included directly in the LaTeX document for practical reasons. However, I still would like them to have an ...
1
vote
1answer
30 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 ...
2
votes
1answer
77 views

Print nice old drugstore bottle labels with LaTeX

I'd like to print some nice looking old school drugstore bottle labels (they would look great in my kitchen). Here I found some of the labels I had in mind: ...
1
vote
1answer
18 views

labelling entries in a column vector [closed]

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 & ...
1
vote
1answer
26 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
62 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
59 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
24 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
22 views

Difficulty with generating labeled equations in elsarticle document class [closed]

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
92 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
46 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 : ...
2
votes
1answer
63 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
88 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
37 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
57 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
29 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
20 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
49 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
315 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
29 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
48 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
376 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
33 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 ...
9
votes
2answers
128 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
32 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
37 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
22 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
53 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
49 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
55 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
27 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
89 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
60 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
145 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
70 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}. ...