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

Ylabel too distant from axis

I'd like to insert a tikz picture in a beamer document. When I plot the image the distance from ylabel and the axis is too large, so the picture is too small. \documentclass{beamer} \usepackage{tikz} ...
0
votes
0answers
59 views

How to draw in tikz with label in radians

I want to draw in TikZ the graph of the next image:
3
votes
0answers
55 views

How do you restate an algorithm?

I'm trying to restate/repeat/recall an algorithm in an appendix with the same numbering, etc., but I haven't found an easy way to do it. I'm using the algorithm environment and algorithm2e package. ...
1
vote
1answer
72 views

Change the chapter/section/subsection label numbering font

I'm using Xepersian package in Latex. I'm typing my whole text in "XBZar" font, and digits (numbers) in "Yas" font. My concern here is the chapter/section/subsection labels. So, by default the whole ...
0
votes
1answer
27 views

Label two equations in one line with two correct reference?

I have searched the website about this but have found nothing similar. suppose that I have two equations a=b (1) and b=c (2). I would like to be able to put both of them in one line with two different ...
0
votes
1answer
64 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} ...
0
votes
1answer
30 views

LaTeX Error: File `label.sty' not found [closed]

I'm beginer on LaTeX, I wrote a simple code on line, the one below: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[french]{label} \begin{document} mes premiers pas avec latex \end{...
0
votes
1answer
49 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'...
-1
votes
0answers
25 views

Labelling equations with primes in latex [duplicate]

I was wondering how I can label my two equations as ${1}'$ and ${2}'$ instead of $3$ and $4$ in latex. I have the following codes: \begin{align} \mathbf{Y_{t} = \sum_{j=0}^{\rho } B_{j} Y_{t-j} + \...
3
votes
1answer
17 views

Access the original label in cleveref's \crefformat

Can I access the original label in cleveref's \crefformat? In this MWE, I am trying to get the same output as in the first line, but with the second line: \documentclass{article} \usepackage{...
5
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 ...
6
votes
3answers
745 views

Labeling problems with exam class usage when using multiple chapters

Using the exam document class I'm trying to create a questions/answers-sheet for a book. When working on the first chapter, everything worked nicely. When I came to the second chapter, I realized I ...
3
votes
1answer
48 views

Printing Latex generated pdf to a roll of labels

Wondering if anyone ever worked with (or tried to) printing to a ROLL of labels (ie. NOT discrete pieces of paper like A4). Is it just a matter of setting the length of the page really long? Or ...
1
vote
0answers
40 views

Label is not working properly [duplicate]

I was trying to give labeling in my definition and also while writing the bibliography the following output is coming. I don't know why. Please help me. Thanks!!! \documentclass[10pt]{amsart} \...
3
votes
1answer
26 views

Non English caption reference doesn't print the name

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

PGFPlots consistent multiplier at ticks labels

I need a little help with multiplier format in the PGFplots. The MWE is: \documentclass{standalone}% \usepackage{tikz}% \begin{document}% \begin{tikzpicture}[baseline]%, \begin{axis}[ ...
2
votes
0answers
21 views

Label in xbar stacked not shown

I'm using pgfplots 1.7. In the following plot the labels for the bars are not shown. \documentclass{article} \usepackage{pgfplots} %\usepackage{pgfplotstable} \pgfplotsset{compat=1.7} \begin{...
5
votes
2answers
3k views

Problem with pgfplots/pgfkeys: “I do not know the key '/tikz/use units'”

Problem in short: I'm using pgfplots but I can't use units in the labels. I tried this minimal example (from http://pgfplots.sourceforge.net/gallery.html) and get an error message: \documentclass{...
0
votes
0answers
21 views

How to I remove the section number in table of contents and title, but still keep it when numbering the equation or Theorem? [duplicate]

Here is what I am using now: \documentclass[english, 9pt,reqno]{amsart} \usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots. \geometry{a4paper} ...
3
votes
3answers
601 views

Plotting functions and denoting equation on the figure

How can I plot the functions P=20-1/5*Q and P=5+1/9*Q so as to find the equilibrium point? The figure I need is like the following: Furthermore, how could I put the equation on each ...
2
votes
1answer
47 views

Is it possible to have more than one label for a tikz node and use arrows for connecting nodes to labels?

\documentclass[border=100pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[circle, shading=ball, drop shadow, ball color=red!10!black, minimum width=4cm, color=white, ...
8
votes
1answer
76 views

How to skip a ticklabel on a tkzAxe?

The picture below shows my problem: I want to skip the "2" on the x_2-axis. How can I do that? Here's the corresponding code: \documentclass[11pt,a4paper]{article} \usepackage{tkz-euclide} \...
2
votes
1answer
51 views

Positioning name of node label in tikzpicture

I have the following diagram: \documentclass{article} \usepackage{amsmath,amsfonts,graphicx} \usepackage{algpseudocode} \usepackage{tikz, nth} \usetikzlibrary{arrows.meta,decorations,decorations....
0
votes
1answer
46 views

How to label a textbullet with tikz?

I have this code: \documentclass[table,dvipsnames,svgnames]{beamer} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[red] at (6.6, 2.7) {\textbullet}; \end{tikzpicture} \...
3
votes
1answer
45 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
20 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
34 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
62 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
162 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 ...
1
vote
2answers
43 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
47 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 ...
8
votes
2answers
147 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
396 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
32 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
16 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
41 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
22 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
49 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
27 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
463 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 ...
1
vote
1answer
36 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
413 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
39 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
174 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
37 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]{...