{labels} is about customizing the labels of {diagrams} and mathematical constructs like {matrices}. For questions about \label or similar commands, use {cross-referencing} instead.
1
vote
0answers
18 views
How do I Auto-Label Hyperref Fillable Forms \TextField?
Is there any way to put an automatic label into the hyperref package's \TextField parameters field like this:
\newcounter{lexemeCounter}
...
4
votes
1answer
50 views
An equation tag which goes over two lines
I would like to make an 2-line equation tag, for a single equation. I am using the \tag command, and it works as long as I don't store a label for the equation. The moment I store a label, LaTeX barfs ...
0
votes
0answers
43 views
Label in cyclic arrow diagram [duplicate]
Consider the following code from TeXample.net:
How to refactor it for adding sloped labels on the outside of the arrows? Do you have a more elegant solution with TikZ?
% Overlapping arrows
% ...
0
votes
1answer
50 views
Intelligent way to autoref / label enumerations
I want to automatically label and reference a enumeration of functional requirements.
The labeling works, but I can't reference the list items via \ref{REQ1} etc.
...
1
vote
0answers
47 views
pgfplots: Plotting one data set with label and the other without label
I am trying to generate a plot using two data series and have the labels just on one of the series, but not the other. In the following example I would like to see the labels on first \addplot, but ...
17
votes
3answers
333 views
How can I set the TikZ label anchor explicitly?
I want to add a label to a node, but "inside" the node. Something like this:
The manual seems to indicate it might be possible, although no actual key is named.
The ... anchor point for the ...
3
votes
1answer
217 views
pgfplots - Number above one of the bars in the bar chart
I want to put a number above only one of the bars in the bar chart. For example, above the bar A, I want to put a number say 200. Other bars will not have any number at the top. This is my code.
...
3
votes
1answer
47 views
Positioning labels to an existing empty plot using tikz
Can you help me in correctly positioning labels to an existing empty plot using tikz ?
My problems are:
my labels are too far from the axes;
my labels are not centered.
Here is the empty plot
...
6
votes
1answer
67 views
Circle with labelled rotated radians
I'm wondering how I can reproduce the following diagrams using TeX:
I realize this question is similar to this other question, however I'm not nearly experienced enough to be able to translate ...
1
vote
2answers
51 views
tests for defined labels (r@) and infinite passes with Makefile
My question probably has to do with .aux files and \newlabel therein. Here is what I can describe.
The way my .PDF builds is via a Makefile; I inserted an MWE to show what happens.
The situation is ...
11
votes
2answers
296 views
High level digital design in TikZ
I am very new to TikZ and I have trouble making a diagram similar to the one here:
My problems are specifically making MUX to get to inputs which would be on 1/3 and 2/3 of the width. Taking sigma ...
1
vote
1answer
110 views
Prevent multiple equation numbers when using \allowdisplaybreak with align
I have a very long equation of the following format
\begingroup
\allowdisplaybreaks
\begin{align}
a &= very long expression here\\
+ & another long expression here\\
+ & another long ...
0
votes
0answers
23 views
Change how references are displayed in reference list ( 1. reference, instead of [1] reference ) [duplicate]
Right now my references in the reference list look like:
[1] Alpha
[2] Bravo
[3] Charlie
I want to change them to be displayed like this:
1. Alpha
2. Bravo
3. Charlie
but so that labels in ...
9
votes
2answers
143 views
Irregular Polygon with Angle Labels
I am looking to create the 15-sided irregular polygon figure below, without having to declare coordinates for each point.
Is there an easier way to do this? Tikz? PGF?
0
votes
0answers
36 views
How to surround portions of a tree with boxes
I need to group portions of a tree with boxes, and additionally label them, e.g. put "W1" on the side of the box, or in the top right corner of the box.
The result I want to achieve is somewhat ...
2
votes
1answer
35 views
Setting labels on one axis in text mode and the other axis in math mode with PSTricks
Consider the following example:
Code
% pdflatex -shell-escape test.tex
\documentclass{article}
\usepackage{auto-pst-pdf,pst-plot}
\def\seere#1#2#3{%
\pspolygon[%
fillstyle=solid,%
...
2
votes
1answer
51 views
Labeling problems with exam class usage when using multiple chapters
Using the exam document class I'm trying to create a questions/answers-sheet for a book. When working on the first chapter, everything worked nicely. When I came to the second chapter, I realized I ...
6
votes
1answer
113 views
Pgfplots: Drawing Arrows Along Contour Plots
I would like to draw "stealth" arrows in place of the "0" labels along the trajectory in the phase portrait pictured below. I decided to draw the trajectory using the contour functionality of ...
2
votes
1answer
116 views
pgfgantt - Two labels for one bar in Gantt chart
In my Gantt chart (I'm using package pgfgantt), I have just one task in each line, one bar per task. Each bar has its corresponding label identifying the task aligned left of the chart; e.g.,
...
5
votes
1answer
81 views
Creating form boxes with labels
I want to recreate a form with LaTeX, that can be filled by hand or --- of course --- via LaTeX. How can I create the boxes, with a footnotesized label at the top and enough space for the text to be ...
3
votes
1answer
69 views
How to remove multiply-defined label in pgfplotstable using longtable
I need to add caption to a longtable possibly with a label to reference in text, however SIAM format fails when it encounters multiply-defined labels because of the repeated caption. Is there an easy ...
0
votes
0answers
89 views
TikZ - same label for every left/right edge
Is there a way to give every edge on the left the same label up to a specific level (I don't want labels on my leaf nodes).
I want to build a Huffman-Code, so it would be nice to have every left edge ...
1
vote
1answer
48 views
envlab and datatool for labels
I'm trying to use datatool and envlab to print to and from addresses on a biglabel. Currently my code is close, but not quite there. It will print one combination of to/from on a page and with ...
11
votes
3answers
68 views
What to consider when naming labels to prevent errors?
This question is inspired by Umlauts in label and a quote from an answer to How to automatically add \! in subscripts?
However the best is to avoid _ in labels.
I already name all my labels with ...
1
vote
1answer
50 views
Weird thing in references/bibliography page [closed]
I'm writing my thesis but I have a huge problem. I'm using BibTeX to make the bibliography, but when I run my project,in the references page of my pdf created file I have beside the number of the ...
2
votes
0answers
72 views
Using autoref with my own label to my own new environment [closed]
I defined my own environment. Now I want to refer to my environment with autoref. But autoref should refer with my own defined name. But I don't know how to do this. Could someone help me?
My code ...
2
votes
1answer
62 views
Labeling user-defined shapes in TikZ
I have modified code for rotating a primitive 'match' shape (adapted from rotating camera code found here (Use a custom shape as a "building block").
How do I pass the label parameter in ...
9
votes
1answer
113 views
Using xy-pic, how do you label an arrow with a curly brace that spans the length of the arrow, and can be offset arbitrary distances?
I'm trying to figure out how to label the arrows with curly braces that span the length of the arrow, and to make it all very pretty. More specifically, I'm trying to make
...
1
vote
1answer
34 views
changing caption for wrapfigure
I am using wrapfigure to include both a table and a picture. However, because it's in wrapfigure, the table caption comes out labeled as "Figure X" rather than table x.
Is there any way I can get ...
3
votes
1answer
158 views
How to put label and voltage on same object in CircuiTikZ?
If I type the following code there is no problem:
\begin{circuitikz}[american]
\draw (0,0) to[R, l^=$R_4$, v=$V_1^+$, -*] (0,2) --(0,4);
\end{circuitikz}
But the polarity is not the one I need. And ...
3
votes
2answers
56 views
Equation numbers of different types within a same document
I want to display the equation as (1) , (2), (3) and so on...... for one set of equations (section) and then I want to display the other set of equation (in another section) as (a), (b), (c), ...... ...
5
votes
1answer
505 views
How to make a pgfplots stacked xbar plot with bar-“explicit meta” labels computed from input table data
I am making a pgfplots stacked xbar plot where each bar has a distinct
label, in addition to a numeric bar length. Each pair of bars also
has a common label. I would like to mark each bar with its ...
0
votes
0answers
28 views
Global label in a LaTeX “align” [duplicate]
I use
\begin{align}
\label{blah}
...
\end{align}
in order to do equations of multiple lines. Unfortunately the equation number (coming from label{blah}) is not centered vertically in the middle of ...
4
votes
1answer
86 views
Creating labes on diagram edges
I want to add labels 3, 4, 5 on tree edges like you can see on picture, but I don't know how :(
My minimal example:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{tikz}
...
13
votes
2answers
251 views
Complicated tikzpicture for theorem of multivariabe continuous functions
I'm attempting to construct a tikzpicture that looks like this:
Here's what I have:
\documentclass[12pt]{article}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[english]{babel}
...
0
votes
1answer
107 views
Listings and multiline labels
I wish a multiline label in the lstlisting environment.
I would like to reference more than one line within the same listing.
Can you help me to find a solution?
I have found this link but this only ...
3
votes
1answer
220 views
pgfplot — label, referencing and caption
I've the following pgfplot:
\begin{center}
\begin{tikzpicture}
\begin{axis}[
xlabel = Number of threads (\#),
ylabel = Task completion time (seconds),
...
2
votes
2answers
90 views
label multiple lines of equations [duplicate]
Suppose I have the equations
\begin{align}
f(x) = x^2
g(x) = \exp( x )
\end{align}
I would like to use on single label for these lines, and ideally the equation number would be placed vertically ...
2
votes
1answer
117 views
Showing labels for equations with eqnarray
I am using \usepackage{showlabels} to show the labels in the pdf-file but it turns out that I only see the labels coming from align or equation environment and not the ones from eqnarray. Why?
I ...
2
votes
0answers
29 views
label next to an arrow [duplicate]
I am trying to place a label next to the thick arrow between the first and the second box in this figure. My minimal code to generate the figure (sans the label) is the following. I am not sure how to ...
4
votes
1answer
193 views
Including package to create MATLAB labels using LaTeX
When using LaTeX as the interpreter to typeset labels in MATLAB it would be great to be able to include packages to customize appearance. Is this possible?
As of now I know no method to create non ...
6
votes
1answer
253 views
tikz label coordinates using mathematical expression from foreach variables
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \x [count=\xi from 1] in {-3.0,-2.8,...,1.8}
\draw[thin] (0,0) ++(\x,2) rectangle ++(0.2, 0.2) ...
8
votes
1answer
106 views
Label equations arbitrarily
When I have equations, as in
\begin{equation} ... \end{equation}
Can I arbitrarily assign the numbers to the equations? Instead of the usual order (1), (2), (3), ..., I'd like something like (1), ...
18
votes
3answers
628 views
Draw dimension of a line as a decoration in TikZ
Is it possible to define in TikZ a new decoration or something like that, such that it is possible to write something like:
\draw[dim={text,above}] (A) -- (B);
\draw[dim={text,below}] (C) -- (D);
...
4
votes
1answer
208 views
How to place label in middle of line (above and below) with TikZ
\fbox{
\begin{tikzpicture}[scale=1,auto=center]
\node[circle,fill=gray!20] (n1) at (2,8) {Node A};
\node[circle,fill=gray!20] (n2) at (8,8) {Node B};
\foreach \from/\to in {n1/n2}
\draw ...
3
votes
1answer
86 views
Shift y labels, stop y labels being dropped
I have a const plot with intervals on the y-axis. I'd like my y labels to be centered in each bar, as it would be if this were an xbar interval graph.
Also, and more importantly, I'd like more ...
0
votes
0answers
81 views
Axis labels overlapped and in wrong place in pgfplots [closed]
I'm using package pgfplots and I can't seem to get axis labels to show up correctly. I'm using the sample code provided in the pdf.
\begin{tikzpicture}
\begin{axis}[ylabel=Error]
...
3
votes
2answers
92 views
How to reference an axis label, e.g. xlabel
I'm new to that forum but it already helped a lot, thanks for this!
But now I really got stuck. Basically I'm looking for a possiblity to reference the xlabel of an axis in a TikZ picture. The ...
6
votes
1answer
318 views
How to introduce a line break in a TikZ node label?
I need to introduce line breaks into the label of a node. This is what I've tried so far, but none of it worked:
1:
\node[node, label={[split parts = 4]alpha \nodepart{two} bravo \nodepart{three} ...
3
votes
1answer
87 views
How to place a textnode at the center of a drawed rectangle
A rectangle label does not appear inside the rectangle but on the corner of it.
\tikzstyle{every node} = [align=center]
\begin{tikzpicture}
\draw (0, 0) rectangle (2, 2) node [center] ...





