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

2
votes
1answer
27 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
39 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
2answers
74 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
45 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 ...
5
votes
1answer
576 views

Label a word or sentence?

Is it possible to refer to a word in a sentence? Example: Hi, I love\label{Word: Love} learning so I ask a lot of questions. I would like to refer to the word "love" in the above sentence. For ...
3
votes
2answers
54 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
40 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
69 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}}) ...
0
votes
0answers
250 views

Help! LaTex suddenly not recognizing figure label references

I've got a 20 page document with dozens of figures. They all have individual labels and most are references with their labels by \ref{fig:domain} etc. It has been working fine and compiling correctly ...
10
votes
2answers
1k views

How do I put a label inside a Feynman diagram circle?

I have this simple Feynman diagram with a circle: I would like to put the number "1" in the middle of that circle. I've tried these: \fmfiv{lab=1}{c} \fmfiv{lab=1}{.5[nw,se]) \fmfiv{lab=1}{(....
6
votes
1answer
497 views

Feynman diagrams with feynmf/feynmp - edges of diagram cropped off?

I am trying to create Feynman diagrams with LaTeX/MetaPost and feynmp seems like the perfect package to do so. I had no problems with the tutorial and can generate the diagram itself in .eps without ...
4
votes
2answers
43 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
64 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
72 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
76 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 ...
6
votes
1answer
2k views

Putting an underscore in a \label

I am trying to use pdflatex to type set some files that have underscores in the \label. Such as \label{abc_xyz} and have been unsuccessful. I keep getting errors such as: ! Missing \endcsname ...
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
173 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
142 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
71 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 ...
5
votes
2answers
186 views

Conditional pageref for labels far away

Currently, within my thesis, I am numberings theorems (and remarks, etc.) with a global counter. This makes it difficult in the printed version to find the theorem if a reference is too far away from ...
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 ...
3
votes
2answers
1k views

XeLaTeX and EPS figure with consistent fonts

I'm using Miktex 2.9 and XeLaTeX plus some EPS figures. For consistent fonts throughout the document, I used to play with psfrag or directly use pstricks. I'm facing the situation where none of the ...
5
votes
1answer
92 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} \...
2
votes
1answer
267 views

2 meta in pgfplot

I need some help with this diagram: I would like to combine to entries in the “meta=” section. It should contain the {y*100}–value and the Label-value. Is it possible to somehow ad them? In the end ...
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 ...
1
vote
1answer
55 views

How should one add axis-type labels to a table?

I have a table of plots of the following form: It is made using code like this: \begin{tabular}{r|ccc} & 2 & 3 & 4 \\ \hline 4 & \includegraphics[height=\...
2
votes
1answer
91 views

Refer to an equation inside a node in a graph [closed]

I am not very familiar with the tikz package. Reading here and there on internet, I managed to do this \begin{tikzpicture} [node distance=.8cm, start chain=going below,] \node[punktchain, ...
10
votes
2answers
1k views

Putting tick marks on graph without label using TikZ

I'm trying to create a piecewise function on a colored background with TikZ that has tick marks on the coordinate axes every 2 units but a grid that intersects the axes every 1 unit. The problem I ...
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
237 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
109 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 ...
6
votes
1answer
222 views

Add break node to plot in pgfplots

I was able to 'break' the vertical axis using pgfplots, but some issues came along with it: Most importantly, I can't find how to add the 'break sign' (the two parallel lines) to my plot as well, ...
2
votes
1answer
233 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 ...
2
votes
2answers
824 views

Y-tick labels on the right side, y-axis label on the left

Is there a way to only move the y-tick labels to the right? The option yticklabel pos=right automatically moves the axis-label, too. Here a MWE of how the axis-label is also moved: \documentclass[...
0
votes
0answers
17 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
41 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, ...
1
vote
1answer
98 views

How to add label to a graph

I have created a graph but i'm not able to add the label in the node, below my code \begin{tikzpicture} \SetGraphUnit{4} \SetVertexArt \renewcommand*{\VertexInnerSep}{8pt} \renewcommand*{\...
0
votes
0answers
28 views

How to draw a labeled rooted tree? [duplicate]

I would like to know how to draw simple rooted trees like this but with labels.
9
votes
5answers
13k views

How can I label \rightleftarrows above and below?

How can I label $\rightleftarrows$ above the top arrow and below the bottom arrow?
4
votes
1answer
61 views

Using figure labels without showing the figures.

I am trying to have two separate documents: one that contains text and another one that contains figures. However, I still want to reference the Figures from the second document in the text document. ...
0
votes
0answers
24 views

Label equations in a documents all start with a capital letter S [duplicate]

I am working with a supplementary material. By default, at the end of all the equations are of the form (1), (2), (3)... Now I want them change into (S1), (S2), (S3). Where S stand for supplementary.
2
votes
2answers
52 views

I want to suspend the numbering of my equations temporarily

Hopefully someone can help me with this. Essentially, I would like to suspend the numbering of my equations temporarily, as the title of the question suggests. For example: (1) (2) (3) (1) (2)...
5
votes
0answers
34 views

Is it possible to label (tag) a value of a (l3keys) key-value in order to reuse it elsewhere easily?

I have a command (\people[⟨options⟩]{⟨name⟩}) for entering people. Its optional argument lets the user specify possible people's (possibly multiple) attribute(s) with a (l3keys) key–value system: ...
3
votes
1answer
236 views

European CV (resume). How can i add the section “Language(s) Certificates”?

I'm writing the european cv (resume), with a code that is a latex code of the offical version of the european cv format. I need to add the subsection "Language(s) Certificates" (see the picture), ...
0
votes
0answers
42 views

Labeling math symbols used in align environment [duplicate]

I would like to label (and refer) not an equation but a symbol. The result we obtain by compiling the following piece of code looks like what I want: \begin{align*} A=A' &\overset{(A)}{\...