{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
38 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
54 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 ...
3
votes
1answer
28 views

Label block quote like displayed equation [duplicate]

I would like to be able to add a tag to a block quote in a more or less identical manner as one would with a displayed question. Ideally, I would also be able to use \label and \eqref (or \ref) as if ...
5
votes
2answers
107 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
11 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
37 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
53 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
138 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
77 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
21 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
23 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
56 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
130 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
48 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
31 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
67 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
29 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
47 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
94 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
65 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
54 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
35 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
87 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
108 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
41 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
113 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
113 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, ...
2
votes
4answers
314 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
42 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
52 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
128 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
407 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 ...
0
votes
1answer
46 views

Label(s) may have changed run pdflatex

I script my latex build in my source build. Sometimes it happens that I get this warning when I change something: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ...
1
vote
1answer
58 views

Why is the pin's angle argument displayed as text?

I'm completely stuck with the syntax of the command options \node Here is my code line: \node [circle,fill=blue,scale=0.5,pin=60:$q_0$] at (9+90:15*4/30) {}; And it displays the same as if I had ...
3
votes
2answers
48 views

Labels perpendicular to a c

I am new to all this. I intend to make scales some of which are curved. I would like to have the tick marks and the corresponding numbers erected perpendicularly to a given 2D curve, e.g. a circle - ...
0
votes
1answer
62 views

Accent in equation list

I'm need to make a list of equation in my document. I found and use the modified version of Lev Bishop's code from here. Everything work until there's an accent in the equation label. I got this error ...
2
votes
1answer
164 views

x tick label style issue, anchor=east and text width command not working together

I have a figure where one of my labels is very long. I would like this label to be split to two rows. Currently my code is like this \documentclass{article} \usepackage{pgfplots} ...
0
votes
1answer
126 views

Matlab2tikz, alignment of subplot ylabel (large distance from plot)

Matlab2tikz came to my attention in the past month and have been using the simple tutorial from HowToTeX. It has worked great so far only one issue remains, I am unable to anchor the ylabel to the ...
4
votes
2answers
161 views

Labels in diagram too far from lines

I'm having trouble with the labels in my diagram. I want them closer to the lines, but I can't seem to find a way. Is there any way to put the labels closer to the lines? Here is the code: ...
7
votes
3answers
169 views

Decorate with text along the perimeter of a circle using TikZ

Using the following code I am trying to visualize nested circles: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc,fpu} \usetikzlibrary{decorations.text} \begin{document} ...
3
votes
2answers
88 views

TikZ/ERD: node (=Entity) label on the inside

I'm trying to draw an ERD diagram. I recycled code from a couple of posts around here and added my own spice, finally ending up with: \documentclass[border=0.5in]{article} \usepackage{tikz} ...
0
votes
1answer
45 views

Label counter in loop

I want to label my figures like this: \label{fig:scatterysX} Where is x a number which changes to some kind of step counter (numeric). I tried \newcounter{foo}, \stepcounter{foo} in the loop, and ...
1
vote
1answer
52 views

How can I add the index of value of a table to a point on a graph?

I would like to add to each branch of my polar comb graph the index value as a label. I give you my code and a screenshot with what I would like to have: \documentclass{minimal} ...
2
votes
1answer
29 views

Labelling my arrows

\[ \begin{tikzpicture}[scale=2] \matrix(m)[matrix of math nodes,column sep=1cm,row sep=0.5cm]{ 0 & E(K)[m] & E(K) & E(K) \\ & H^1(G_{\bar{K}/K},E[m]) & ...
4
votes
1answer
141 views

How to add labels to polar plot / polar comb in polaraxis and show FULL coordinates?

In pgfplots, I am trying to: for a first figure: label 12 polar plots plotted on the bases of 12 tables (values given in cartesian coordinates) without showing a legend but adding a label directly ...
5
votes
1answer
83 views

How label position and color can be modified in tikzpicture in posters?

I am working on a poster with fancytikzposter package, I cutted out the problematic part, it can be downloaded from here. I created a tikzpicture inside the poster and some problems occured: ...