{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
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
49 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
25 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
56 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}[>= stealth,...
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
56 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 = ...
5
votes
2answers
90 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
61 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} \newcommand{\storelabel}[1]{\...
2
votes
2answers
51 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
45 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
29 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. \documentclass{tufte-...
7
votes
3answers
213 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
57 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
62 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
25 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
54 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
25 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 to}...
1
vote
1answer
38 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,\\ ...
2
votes
1answer
49 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 ...
0
votes
1answer
28 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 ...
2
votes
2answers
61 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 ...
3
votes
1answer
44 views

Change style of individual path labels?

I am working on creating a path diagram using Tikzedt. The problem I'm running into is that the path labels on these lines that are very close to each other are overlapping with the other lines, ...
2
votes
1answer
42 views

How to set tiny font in axis labels with pgfplots

i am doing a plot with pgfplots with data from a file. It takes the values from the file correctly but when i compile the pdf it prints the label with the same dimension of the text with which i'm ...
3
votes
2answers
44 views

Manual Labelling and Cross Referencing in mdframed

Question is asked after the MWE. \documentclass[10pt,a4paper]{article} \usepackage{amsmath,amsfonts} \usepackage[framemethod=tikz]{mdframed} \usepackage[colorlinks=true, linktocpage=false]{hyperref} \...
1
vote
0answers
38 views

How to use bangla number in \label and \ref environment for equation?

I want to use the Bengali numbering system for equation referencing. Can anybody explain with example.
1
vote
1answer
57 views

Force equation numbering to the same line of case equation

It seems that the column is so narrow that it can not bear the whole equation: \begin{equation} R(p_i|G) = \begin{cases} ep_{p_i} + (1- UA(p_i|G))\cdot ({r_G - ep_{p_i}}) ...
4
votes
2answers
41 views

Vertically centering label for three subfigures

Vertically centering label for three subfigures I want to put one label on the left corresponding to 3 images; it's on the bottom left and I'd like it to be vertically centered. This is my code: \...
1
vote
1answer
62 views

Automatic position of variable name in axis with pgfplots

I am looking for a code - probably inside {axis}[options] - that automatically puts the variable name (for example, x, and y) at the end of each axis. I am aware of the method to do this manually, ...
3
votes
1answer
65 views

How to draw a grid with center label and north east label

I would like to implement this picture. The label in the center is arbitrary, but the label in the northeast corner is an ascending integer. My MWE was the best I could do. Here is my MWE. \...
3
votes
1answer
71 views

How do I properly add a label to an appendix with pdf

Quite a specific question, I was looking to add PDF files to an appendix before. Found my solution in this thread: Appendix - Adding PDF, But it also created my next problem. This macro does create ...
3
votes
2answers
38 views

Incremental text markers

I want incremental markers on text that I can reference afterwards. I'm building a index of limitations so something like this would be nice: \limitation{limitationInternalIdentifier} So in its ...
5
votes
1answer
154 views

Tikzpicture: Add slope angles to straight line

I am trying to add some angles between the x-axis and the red and blue line which indicate their slope. \documentclass[15pt,a4paper,headinclude, totoc]{scrartcl} \usepackage[usenames,dvipsnames]{...
1
vote
1answer
130 views

Tikz: flow chart how to write label over a line

I'm using tiKZ to design a flow chart. On that FC, I have, mainly, two principal box: a normal rectangle a diamond box (as a decision) On the decision box, I need to write, over the line that ...
3
votes
1answer
69 views

Picture with four intersecting lines

I have the following picture: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=1.5] \draw [<->,thick] (0,3) node (yaxis) [...
0
votes
0answers
10 views

labeling lines in text body [duplicate]

Is it possible to set "label markups" or a "placeholders" in a text, to refer to a particular line? I am thinking of this in the context of academic article revision, where usually people comment on ...
1
vote
0answers
40 views

Problem with table captions [closed]

I have a problem with my table captions. In my document, the counter for Table sticks to the label in the caption. There should be a space separating the two! The peculiar thing is that I don't have ...
5
votes
1answer
81 views

Move position of y-axis label and legend in pgfplots

I would like to move one of the y-labels to the second group of plots on the right and legend more to the center of the plots as shown here: Here is the code: \documentclass[11pt]{book} \...
1
vote
1answer
48 views

pin in data - stack size error

I'm trying to put a "pin in data" label in my figure (an osciloscope capture) but I get this error message tex capacity exceeded sorry [input stack size=5000] This is my MWE that compiles properly ...
2
votes
1answer
47 views

Specific horizontal alignment for enumerated items

In my document I have such construction. \documentclass[11pt,a4paper]{article} \usepackage{enumitem} \begin{document} \begin{enumerate}[label*=\textbf{\arabic*.}] \item Item One \begin{...
2
votes
1answer
200 views

Adjusting the position of labels when drawing a diagram using feynmf

When drawing a Feynman diagram using feynmf, I'm having a hard time to place the labels in such a way that they do not overlap with each other and/or touch lines. Here is one attempt: \begin{...
2
votes
2answers
105 views

TikZ: slightly move edge label

In the MWE below, I would like to bump the label "10" up a bit so it doesn't overlap the line from B to D. There are several questions on stackexchange about edge label positioning but most are about ...
0
votes
1answer
46 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'...
2
votes
1answer
207 views

different colors in xlabel (tikz latex pgfplot)

I would like to change the color of a part of my x label in my pgf plot. \begin{figure}[h!] \begin{tikzpicture} \begin{axis}[xtick pos=left,legend pos=south east, xlabel style={yshift=-0.5cm}, xlabel ...
0
votes
0answers
16 views

Rearrangment of label numbers when I change one [duplicate]

I am trying to prepare a document full of equations. The labels for equations are set to be \label{eq:<equation number>}. Sometimes I change some equations (for example \label{eq:21}) at the ...
0
votes
0answers
16 views

priming labeled arrows correctly

Using two macros to get the labeled arrows and its primed counterpart: \newcommand{\labarrow}[1]{\ensuremath{\overset{#1}{\rightarrow} }} \newcommand{\labarrowprime}[1]{\ensuremath{\overset{#1}{\...
0
votes
0answers
24 views

multi-label a figure

I use the following code \begin{figure}[htp] \centering \subfloat[``Zeroth'' homogenization]{% \includegraphics[clip,width=0.8\columnwidth]{Images/Homo0.eps}% } \subfloat[First homogenization]{% ...
0
votes
1answer
39 views

How to fix paragraph's run-in heading on a single page before \afterpage and the text being on the first page after \afterpage?

TeX Live 2014 on Xubuntu 14.04 LTS, compiling with xelatex. Minimal working example: \documentclass[11pt, twoside]{book} \usepackage{geometry} \geometry{a4paper, left=3.5cm, right=2.5cm, top=3.5cm, ...