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

3
votes
1answer
41 views

How to reset equation label after arbitrary sections?

I have a problem in equations with same label. for example: \section*{first section} \begin{equation}\label{a1} E=mc^2 \end{equation} where \eqref{a1} obtained by .... \section*{...
0
votes
0answers
17 views

Defining own labelsep for caption breaks layout

The idea was to mark several figures (but not all) with a * to indicate that the figure is an own screenshot. I found the following code to manage this: \usepackage{caption} \...
1
vote
1answer
33 views

How to modify the shape, font and color of tikzpicture labels? Here, I need white color circular labels beside every node

\documentclass{standalone} \usepackage{tikz} \usepackage{amsfonts, amsmath, amsthm, amssymb} \usepackage[utf8]{inputenc} \usepackage{dtklogos} \usepackage{tikz} \usepackage{verbatim} \usetikzlibrary{...
3
votes
1answer
60 views

Avoid pagebreak between equation and label

I have a very long equation which barely fits into one line, but the label does not and is positioned one line below. The problem is that if the equation is at the end of a page, the label is moved to ...
7
votes
1answer
152 views

How can I get a stacked bar with single values and sum on the side

Based on this question I was able to put partial and total values on my bar plot. My bars have some really small values though and it is impossible to fit the numbers in some ranges. I would like to ...
0
votes
1answer
31 views

Trouble submitting paper to arXiv - labels except in equations

I submitted my tex file with figures to the Arxiv. References and figures are well referenced, but equations no. When I compile the tex file in my computer using, \begin{equation}\label{eq:1} ...
1
vote
2answers
27 views

Include a pdf page by page with descriptions after each page

I want to do the following: I want to generate a script from my lecture slides. My lecture slides are in pdf (generated via latex-beamer), but in beamer-size. Now I want to make a script from that, in ...
4
votes
1answer
41 views

Package Neuralnetwork label neurons independently

I have a problem which I can not solve. I'm quite new to the world of LaTeX and I don't know much about macros. Heres my problem: I draw a Neural Network using the Neuralnetwork package. I have an ...
0
votes
1answer
45 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 isn'...
8
votes
2answers
121 views

How can I redefine \autoref?

I am redefining a few things to support unique references in multilingual documents such that labels must only be unique within a given locale from the users perspective (obviously they must always be ...
8
votes
3answers
370 views

How to reference the Index?

How can I reference the index created by the package makeidx? Minimal working example: \documentclass{scrbook} \usepackage{hyperref} % creates links on refs \usepackage{makeidx} \makeindex \begin{...
4
votes
1answer
31 views

Break in the list

I would like to continue my enumerate list. But when I use: \begin{enumerate}[label={(\arabic*)}] \item Jeżeli będzie padać, bierzemy taksówkę. \\ (If it is raining, then we are taking a taxi.) \...
0
votes
0answers
14 views

Labels merging between two files

I have written two .tex files (two chapters of my thesis) that I wold like to merge into a single file. The equations are labelled with numbers, i.e. 1,2,... in both files. Is it possible to create a ...
0
votes
0answers
29 views

How do I know a numbered equation is called later or not? [duplicate]

I am using amsart package to write my thesis. I use command like \begin{equation}\label{...} ... \end{equation} to write my equation, and hence all equations are numbered and labeled. There are ...
2
votes
1answer
21 views

Reference pgfplots' groupplot with subcaption

I created a groupplot with pgfplots. For referencing each plot I added a subcaption within a node into each plot. \documentclass{article} \usepackage{caption} \usepackage{subcaption} \usepackage{...
3
votes
1answer
17 views

label of subfigures

how to write label like this Fig. 1(a) instead of Fig .1a in text. \documentclass[a4paper,aps,12pt]{revtex4-1} \usepackage{floatrow} \usepackage{subfig} \usepackage{caption} \floatsetup[figure]{...
3
votes
1answer
30 views

autoref for algorithms

\usepackage{algorithm,algpseudocode} \usepackage{hyperref} So when I \begin{algorithm} \caption{Baseline}\label{ALG_baseline} \begin{algorithmic}[1] ... \end{algorithmic} \end{algorithm} the ...
1
vote
0answers
14 views

\ref gives incorrect figure number in Appendix [duplicate]

The label of my figure is not the same as what is returned by /ref. My code: \begin{defi} Let $X$ be a topological space with $x_0 \ X$. A \emph{loop} at $x_0$ is a continous function $f:[0,1] \...
2
votes
1answer
22 views

Unexpected label above wire element

What went wrong here? How can I get rid of the label Rs hovering above the wire? \begin{figure}[h!] \begin{center} \begin{circuitikz} \draw (-0.5,0) to [short, o-] (0,0); \draw (0,...
1
vote
1answer
36 views

How to label a object in tikz with an indicator line

I would like to make some sets and label/name them with an indicator line. The border of the set should follow some coordinates. I'm trying to get those red lines to the nearest (or some specific ...
2
votes
2answers
444 views

Metapost labels do not work with MiKTeX 2.9

I have upgraded from MiKTeX 2.8 to 2.9. All the label commands that earlier worked in Metapost are not working anymore. I am using MiKTeX in conjunction with TeXnicCenter. The MetaPost version ...
3
votes
1answer
18 views

Non english caption reference doesnt print the name

When I try to reference caption it only shows the number of the figure without the name in example it prints 1 instead of Фигура 1. I am using babel and typing in Bulgarian. Is this some kind of bug ...
1
vote
1answer
34 views

Figure numbering: fnum@subfigure and fnum@figure in pdf output

I just started working with Latex and I'm stuck with the following issue: instead of getting 'Figure 1 Caption' and 'Subfigure 1 Caption', I get 'fnum@figure Caption' and 'fnum@subfigure A Caption' ...
0
votes
3answers
393 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
51 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
37 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
55 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
173 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
30 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} \usepackage[colorlinks=true]{...
3
votes
0answers
29 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
489 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
41 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 \immediate\openout\myfile=\...
0
votes
2answers
46 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
58 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
80 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: http://www.stylingfieber.de/2013/09/...
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
32 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 caption)...
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
64 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 Mico'...
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
38 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
23 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
96 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
62 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
75 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 \newcommand*\Angle{\calc{360/\...
2
votes
0answers
60 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
30 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 ...