{labels} is about customizing the labels of {diagrams} and mathematical constructs like {matrices}. For questions about \label or similar commands, use {cross-referencing} instead.
0
votes
0answers
28 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
26 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
41 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
83 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
69 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.,
...
1
vote
1answer
74 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 ...
5
votes
1answer
65 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
51 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
74 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
41 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 ...
9
votes
2answers
218 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 ...
11
votes
3answers
63 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
44 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
61 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
59 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
105 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
27 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
134 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
51 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
495 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
77 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
224 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
93 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
143 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
75 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
87 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
165 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
201 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
92 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), ...
17
votes
3answers
584 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
151 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
79 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
71 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
88 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
230 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
75 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] ...
4
votes
1answer
146 views
Custom axis marks in double logarithmic plot
I'm getting quite frustrated with my lack of pgfplot understanding and was hoping somebody could help me figure out how to get more readily readable/understandable x axis tick marks. I have the ...
1
vote
2answers
436 views
Spacing circuit element labels from their elements with CircuiTikz
I want to draw a resistor with a resistance value showing and a voltage label showing as well. This is content-wise an MWE of everything I want:
\documentclass{article}
...
10
votes
1answer
334 views
Comprehensive list of TikZ style options?
I'm aware that one can use \tikzstyle{every label}=[...] to apply styles to every label within a tikzpicture; or \tikzset{mystyle/.style={...}} to apply style specs to a specific type of node mystyle ...
9
votes
1answer
140 views
TikZ: positioning label at the end of a path
I'm trying in TikZ to find a general way to draw an arrow and label it at the end. Something like this works reasonably well:
\draw[->] (0, 0) -- (1, 3) node[pos=1.1]{$\vec{v}$};
However, ...
4
votes
2answers
130 views
Start a new line in label using pgf-pie
I'm using pgf-pie. It is not a standard package. I found it on google code. As its name, it is used to create pie chart.
\begin{figure}[htp]
\centering
\begin{tikzpicture}[scale=0.9]
...
0
votes
1answer
82 views
How to Reference a pgfplotstable
I am still generating a table from a cvs file with the pgfplotstable package. In my text I will reference to the generated table but I did not know how to do this. Normal your make a \label{tab:foo} ...
6
votes
1answer
368 views
Pgfplots contour gnuplot crazy labels
This is driving me mad. I am tryng to create some contour plots, but I get them full of labels, so that they are unreadable! I can't even see the lines or read the values because they are too much. I ...
1
vote
1answer
43 views
Add label to textual data
This question is extremely basic and I know how to solve it basically but it is a workaround and I was wondering whether there is a much better way to do it - here is the problem:
I'd like to give ...
0
votes
1answer
64 views
Can't find a SIAM Label Error
I'm using winedt 6.0 and a SIAM template in my document. When I compile, I get an error message stating:
! SIAM Label Error: There were multipy-defined labels
Correct multiply-defined labels.
Type ...
5
votes
1answer
222 views
labelling with arrows in an automated way
In adding-labels-to-a-formula is a tikz scheme that puts rounded boxes around parts of an equation so that they can be labelled. It looks nicer than plain old \underbrace, and can be automated ...
2
votes
1answer
55 views
Adding a caption to a graphic inside a longtable
I have the following longtable :
\begin{longtable}{|p{10cm}|}
\hline
some text
\includegraphics[width=10cm,keepaspectratio]{\basedir some.png}
some text\\
\hline
...
3
votes
1answer
161 views
Differing left and right axis labels in psplot
This question is related to psgraph with y-axis on left and right of graph and axis labels but can stand alone, as it is really about loops and variables.
I'm really sad that I have to ask this ...


