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

4
votes
1answer
81 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
33 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
20 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
52 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
36 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
18 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
39 views

label \theequation inside math

Code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{align*} J &= J_0 + 2 m r^2 & ...
0
votes
1answer
43 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
53 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
61 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
36 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
43 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
30 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
66 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
70 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 ...
0
votes
0answers
28 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
83 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
75 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
130 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
28 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
45 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
67 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
359 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
33 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
56 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
47 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
55 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
73 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
86 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
144 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
136 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
68 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
44 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
44 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
26 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
111 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
73 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: ...
3
votes
3answers
168 views

Plotting functions and denoting equation on the figure

How can I plot the functions P=20-1/5*Q and P=5+1/9*Q so as to find the equilibrium point? The figure I need is like the following: Furthermore, how could I put the equation on each ...
2
votes
2answers
135 views

Latex \kbordermatrix with row labels on the right side

I'm needing to create a matrix enclosed with brackets [], not parentheses (), with row labels on right side. Is this possible using \kbordermatrix? For instance, in the following: ...
3
votes
2answers
73 views

How to move one y label to the right

As you see the image below, the label "4" on y-axis gets in the way with the plot. How do I move it to the right? I tried adding the following statement: psyTick[ylabelPos=right](4){4} But ...
5
votes
1answer
76 views

How to combine hyperref and eqref

\documentclass{scrartcl} \usepackage[english]{babel} \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \usepackage[colorlinks=true,linkcolor=green]{hyperref} \begin{document} \begin{align} ...
3
votes
1answer
69 views

How do I move the x labels to the left but move origin label to the right?

See below for the code that generates the image below. How do I move the x labels out of the way to the left, but move the zero to the right? \documentclass[border=12pt]{standalone} ...
7
votes
1answer
147 views

Arrow pointing to subscript in equation

I'm writing an equation for the components of a contracted tensor. I want to label one of the lower (covariant) indices with the text "rth positon," and have an arrow pointing to it from below. Any ...
2
votes
1answer
53 views

Placement of showkeys label

Is it possible to place the labels of the showkeys package for bibliographic items on the right side instead of the default left? I tried \patchcmd{\SK@@label}{\llap}{\rlap}{}{} which indeed ...
1
vote
0answers
54 views

Row-wise and Column-wise break of extra wide tables, and add a proper label

There is a question "Column-wise break of extra wide tables" Column-wise break of extra wide tables and a very useful answer to it. \documentclass[twoside]{article} \usepackage[latin1]{inputenc} ...
2
votes
1answer
50 views

Hyperref, Bookmark and Appendix packages: Getting labels inside Appendices to work

I've been writing a document in portuguese and I've ran across a nasty problem. I've been trying for the past few hours to get hyperref and bookmark to play nice with my labels inside the appendices ...
1
vote
0answers
48 views

indexing with sed using less brittle \gls and \acs and \index commands

I'm writing a book for which I produce sections for glossaries, acronyms and index entries using the glossaries, acronym and makeidx packages on a template derived from the Springer book template. To ...
3
votes
1answer
51 views

Custom floats are not labeled correctly in the listof or text references

I'm new to StackExchange and LaTeX. I am using a custom float for "schemes" using the caption package. The problem I'm having is that the label "Scheme" does not show up when using the \ref command in ...
3
votes
2answers
98 views

\framebox as \labelenumi

for a questionaire where possible answers appear as enumerate entries, I'm trying to have one document with plain squares and one where the squares are filled with either W or F. I tried ...