{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
24 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
151 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
834 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]) ...
6
votes
1answer
439 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
31 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
33 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
27 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
33 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
1k 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
33 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
78 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} ...
0
votes
1answer
24 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 ...
0
votes
1answer
58 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
57 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
148 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
36 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
40 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
212 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
38 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
43 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 & ...
7
votes
1answer
176 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 ...
2
votes
1answer
50 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
672 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
39 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 ...
2
votes
1answer
35 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: ...
2
votes
2answers
65 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
156 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, ...
1
vote
1answer
48 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
514 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: ...
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} }} ...
0
votes
0answers
19 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
27 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
66 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} ...
0
votes
0answers
27 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.
8
votes
5answers
10k views

How can I label \rightleftarrows above and below?

How can I label $\rightleftarrows$ above the top arrow and below the bottom arrow?
3
votes
1answer
32 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
23 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
1answer
39 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) ...
5
votes
0answers
30 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
116 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
41 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' ...
3
votes
2answers
91 views

Numbering many equations automatically plus allowing to add new equations

I'm facing a problem with my document that has many equations. The problem with the labelling issue if I decide to modify or add new equations. Basically so far, I'm using \label{eq4.1} where 4 for ...
4
votes
2answers
48 views

Adding information between and after nodes

I'm trying to compose a semantic tableaux for three days and I can not seem to figure out the last few missing pieces. Below is my, perhaps not the most elegant, code that I have come up with so far. ...
2
votes
1answer
28 views

Latex, make a text label{…} for duplicates of text snippet

I'm trying to set up a letter that is going to several addresses. I had an idea of writing the names and mark them with a \label{}, then to insert them wherever I need them in the letter. Example: ...
3
votes
2answers
56 views

White background box for labels in \psaxes of pstricks

I want to create a coordinate place with \psgrid and \psaxes. I am using the labels of \psaxes and suppressing those of \psgrid. My issue is that the negative signs (for negative labels) tend to be ...
1
vote
0answers
34 views

Changing the labelling of the numbers in the plot [closed]

I want to create IDL-like plots in python. I have come close to doing so by changing some of the details in the matplotlibrc file in the matplotlib directory. The following is what I have changed my ...
0
votes
0answers
41 views

Avoid multiply defined labels using tikzscale and TikZ externalize

I'm using the tikzscale package to scale my TikZ and PGFPlots graphics. This packages uses several iterations to get the desired dimensions. If I'm activating the externalization and use a label to be ...