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

Figures in Minipage to avoid multiple pdf's warning, now labels aren't working

I'm trying to include svg graphics in combination with the respective .pdf_txt within my bachelor thesis. So far that works but it triggers the Warning : 'multiple pdf's in a page group'. That Warning ...
0
votes
0answers
33 views

Word Label program [on hold]

After selecting labels in my Microsoft word program the grid lines are gone. After selecting new document the grid lines for the labels aren't there. I have checked to make sure the zoom is set high ...
0
votes
1answer
19 views

Show table caption only on first page

I have a \longtable that splits over two pages and currently shows the label and caption at the top of each page. Can I change this so that the caption and label to only appear on the first page and ...
1
vote
1answer
26 views

How to label arrows in tikz-qtree?

How do I label the arrows below with "1," "2," and "3"? \documentclass[a4paper,12pt]{article} \usepackage{tikz, tikz-qtree} \begin{document} \begin{tikzpicture} \begin{tikzpicture} \tikzset{every ...
0
votes
0answers
17 views

tick label position, double label for one x-coordinate

As my x-axis goes from 0 to 0.1 in steps by 0.01 the automatic tick labelling provides results as 1x10^-2 which is too large so that every tick is typed over the others. Is there a possibility to ...
1
vote
1answer
46 views

Insert labels inside table rows

I have a long table with different equation, I need to make a label and then refer to them in some cells, trying to do that by putting usual label giving me wrong results in LyX, more precisely if the ...
6
votes
1answer
40 views

How do I modify the appearance of subsection headings without also messing up how subsection referencing works?

I have a revtex4 document and I'd like to change how the labels for the subsections appear: \section{Foo} \subsection{Bar} Currently compiles to something like: I. Foo A. Bar But I'd ...
6
votes
1answer
63 views

Constructing a tree in LaTeX

I am having real trouble creating a tree. So far I have \documentclass{article} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture}[every tree node, level distance=1.25cm,sibling ...
0
votes
0answers
39 views

Small Caps does not match with longtable caption label?

I enter data into a longtable environment, but the label caption does not follow the shape of previous tables labels. How would you achieve this? Thank you.
0
votes
2answers
49 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
28 views

How to make colored labels in feynMF/feynMP

There are several ways of adding a label to the vertex, e.g. as in code below. It is documented how to make the colored polygons or lines, as done for the V2, but I couldn't find anything about making ...
5
votes
1answer
34 views

Creating different “classes” of labels

I'm trying to write up a paper and I'd like to have a different class of labels for identities vs equations. ie I want something like \label{eq:firsteq} and \label{id:firstid} such that the numbering ...
5
votes
1answer
88 views

Automate generation of table from data in enumerated lists

I'm working on a document that contains the requirements and specification for a code suite, and I'd like to create a requirements traceability matrix that shows what part of the spec covers each ...
4
votes
1answer
69 views

How to put two labels for one figure

I have one picture, but in fact it is a combination of two figures. Therefore I am able to use \includegraphics only one time. Still, I want to use two labels for left and right side. I searched for ...
2
votes
2answers
89 views

Add axis label to bar chart using tikz

I'm creating a bar chart using the following code: \documentclass[tikz]{standalone} \usepackage[english]{babel} \usepackage{pgfplots} \usepackage{pgfplotstable} \pgfplotsset{compat=newest} ...
1
vote
1answer
55 views

Creating lables - using data from excel sheets - selecting specific column

I have to create desk slips (labels). For this data is available in excel sheet. The column names are - RollNo, Subject, Venue of Exam (examination center). Presently we are creating desk slips using ...
2
votes
1answer
64 views

yticklabels Problems

I'm going to draw a certain function from a .txt file. I'd like to specify/to highlight a point of that function on the function itself by a marker and a label. Moreover, I'd like to put a notch on ...
5
votes
2answers
119 views

Label above node in TikZ

I wish to add a label above a node that already contains a label. \begin{tikzpicture}[scale=0.8,every node/.style={draw=black,circle}] \node (a) at (0,0) {a}; \node (b) at (2,0) {b}; ...
0
votes
0answers
16 views

Problem referencing/labeling while using the subfiles package

I have a problem using labels together with the subfiles package. When I'm writing in one section and I try to reference to different section (or for that matter anything within that section) I get an ...
2
votes
1answer
39 views

Numbering an equation when using \displaymath

I am using the hyperref package and want to label a piecewise equation. However, I only know how to use \displaymath to do a piecewise equation and the \label doesn't put a number next to the ...
2
votes
1answer
60 views

How do I label my figure properly?

I have my figure as a pdf with commands: \begin{figure}[h!] \centering\includegraphics[width=0.6\textwidth] {babymodel_figure_4.pdf} \caption{The Fixed-Point Equation } \end{figure} These are my ...
8
votes
1answer
211 views

How to generate a “named destination” in PDF?

According to the Evince help, one can open a PDF at the location of a "named destination": SYNTAX evince [--help] [--page-label=PAGE | --page-index=NUM‐ BER | --named-dest=DEST] ...
1
vote
2answers
82 views

pgfplots mistake with label

i have a problem with my graph. i can't figure out why latex puts this into my description. i had to specify the xticklabels manually. but latex still gives me that number on that position. i'd like ...
2
votes
1answer
27 views

Why do I get the number 1 instead of the desired affiliation for the authors in elsarticle template?

I am using for the first time the Latex template of Elsiver journals but I get the number 1 for the later affiliations of all the authors. Here is a minimal working environment. Could anyone tell if ...
4
votes
1answer
28 views

Trouble using namedef and nameref to augment the default \ref command

I'm trying to enhance the builtin \label and \ref commands to let me add some additional text to the number typically associated with a reference. That is, I want to say ...
5
votes
1answer
63 views

Can I use cleveref and endnotes together?

I'm trying to setup my article with notes such that: Notes are not shown at the bottom of the page Notes are shown at the end of the article (no need to show them after each section or so) I can ...
5
votes
1answer
157 views

TikZ node label distance depends on length when using tikzstyle

When I include circle in the every node style, the distance from the label to the node depends on the length of the label: \documentclass{standalone} \usepackage{tikz} \begin{document} ...
4
votes
2answers
52 views

Labels not referencing correct number figure

I have a report where it's required to have sections from another report both in the main body as well as in an appendix, and I'm including them by using the \input{some_section} command. I'm ...
1
vote
1answer
40 views

How to typeset list labels with multiple lines?

I'm new to TeX/LaTeX, and I wish to be able to typeset item labels of a (description) list into multiple lines if needed. I purchased a copy of The LaTeX Companion and chapter 3 contains example code ...
1
vote
1answer
85 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
0answers
37 views

matlab2tikz/pgfplots: Tick-labels in axis cannot be overwritten [duplicate]

I want to export plots from MATLAB to tikz and use matlab2tikz to do so. Most of the data I have has dates on its x-axis. In MATLAB I use serial date numbers to store the time. I override the ...
0
votes
0answers
32 views

Histogram with separate group of columns and common caption

I have to draw an histogram like the following one (I have uploaded the corrispondent Office Word version). As I could not find any solution yet, my main question is how I can separate groups of ...
2
votes
1answer
61 views

label \theequation inside math

Code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{align*} J &= J_0 + 2 m r^2 & ...
3
votes
1answer
108 views

Labels in 3D mode don't work in Asymptote

When I create 3D asymptote graphics, labels just don't work. When I copy the code from the question in Positioning Labels in Asymptote I get the exact same plot just without the "x". Everything works ...
5
votes
1answer
55 views

How do I feed evaluated references into this sorting routine?

Below is some code I cobbled together from examples found on the net. I would like the sorted list routine to use the results of evaluating \ref rather than using the literal argument of \ref. ...
4
votes
1answer
66 views

How to print “string” of first or last \label{string}, in running headers and margins, dictionary-like, with KOMA class?

I need to typeset a book where sections are identified by a string, like "PLA 1", as dictated by the book's editor (the publisher calls these strings "cite-keys".) Sometimes there are a few sections ...
2
votes
1answer
37 views

\pageref out of sync with \label

I have \pagerfer pointing to the code listing on the next page. The listing is equipped with \label. When I generate PDF from the TeX file using latexmk -pdflatex='pdflatex -shell-escape ...
4
votes
0answers
60 views

how to define a label in a new environment?

I would like to define a new environment for writing exercices. Moreover, I would like to use \ref and \nameref (with hyperref package) to build a table of exercise numbers and names. I wrote the ...
2
votes
0answers
14 views

Is there a way to make the LaTeX labels appear in the .pdf (say as a note)? [duplicate]

Here's some background: I have multiple chapters in the dissertation I am writing. I have LaTeX-labelled the figures, the table and the equations. Whenever I add a chapter, I create a .pdf of the ...
1
vote
1answer
36 views

How do I number the equation as a text? [duplicate]

\begin{align} \mathcal{L}_{\lambda} = u_{1}(h) - u_{1}(h^{*}) + T \geq 0 \text{(foc$\lambda$)}, \label{eqn:foca1}\\ \mathcal{L}_{T} = -1 + \lambda = 0 \Leftrightarrow \lambda = 1 \text{(focT)} ...
5
votes
1answer
103 views

Tikz sloped label on path

Any suggestion on how to get slanted text for the labels "Diapason", "Diapente" and "Diatessaron"? (PDFLATEX on Linux Lubuntu with texlive 2014) Thank you, A \documentclass{article} ...
0
votes
0answers
126 views

tikz/gnuplot legend inside the caption

I want to add my legend inside the caption, similarly the one given in this question. But I want to use gnuplot environment as in the following MWE. Unfortunately, I am getting '??' because ...
1
vote
1answer
48 views

Put all labels on the left with showkeys

My document has a very narrow right margin and I'm using showkeys to see internal labels for equations. Is it possible to put all labels that showkeys generates on the left side? Unfortunatelly, ...
4
votes
2answers
133 views

Cleveref reference name depending on label instead of counter?

Let's say I have this: \documentclass{article} \usepackage{cleveref} \begin{document} \section{Section One} \label{a:sec1} \cref{a:sec1} \section{Section Two} \label{b:sec2} \cref{b:sec2} ...
4
votes
1answer
133 views

Arrows and label for equivalent resistance with Circuitikz

I have the circuit in black. But I would like to add the red part (label and arrows, no matter the color) using Circuitikz. Here is the code I'm using: \begin{circuitikz}[american, scale = 0.7, ...
3
votes
4answers
520 views

Tikz: define label font size under the node

I create a picture of array which consists of nodes. I wonder how I can set the font size for the label which is below every cell (for example make it as scriptsize). This are my definitions: ...
3
votes
1answer
56 views

Using \cref and custom labels for inference rule names

I have an array environment that is used to present inference rules (via a custom command). Now, these inference rules have names and i would like to refer to them using \label and \cref commands. I ...
6
votes
1answer
57 views

\label is Undefined when used in \afterpage?

I am trying to force a figure and an image to show up on the same page back to back. I read the solution of using the \afterpage which works great. Except now the \label is undefined and I cannot ...
0
votes
1answer
153 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 ...
13
votes
2answers
440 views

Using the same figure twice with no new number

I have a figure that relates to two different issues discussed at very different point in a long document. Rather then send the reader back 50 pages to look up a figure, I would like to include the ...