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

10
votes
2answers
449 views

How to generate n points over a circumference and choose label and color

I would like to place n points over a circumference like Figure 3 of this file. I'd choose the label to be assigned to each vertex and color and I'd like to have the code in TikZ-pgf.
5
votes
1answer
414 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 ...
19
votes
1answer
6k 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
185 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
458 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
244 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 ...
0
votes
1answer
268 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} ...
8
votes
1answer
815 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
51 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 ...
9
votes
1answer
174 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 ...
0
votes
1answer
157 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 ...
6
votes
1answer
579 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
260 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 ...
4
votes
1answer
289 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 ...
2
votes
2answers
195 views

caption in a tikz object

I created markov's chain using tikz package. Now I would add to to it caption and label but I got error.How can I add a caption and a label to a tikz object?
2
votes
1answer
297 views

Reverse labels without reversing the coordinates in circuitikz

How do I flip the label to the bottom without having to flip the coordinates? \documentclass[preview, american, convert]{standalone} \usepackage[siunitx]{circuitikz} \begin{document} ...
5
votes
1answer
376 views

How do I remove tick labels in latex using pstricks?

On my old Mac running OS 10.4.11, using TeXShop 2.26 I would use the pstricks package to draw figures. In those figures I had neither tick marks nor tick labels. I have recently switched to a new ...
13
votes
1answer
760 views

Adding a label to a bent arrow in TikZ

In this question Is there a TikZ equivalent to the PSTricks \ncbar command? Jake provided a very nice TikZ version of the PSTricks \ncbar command. With normal node connections in TikZ, I can use the ...
8
votes
1answer
1k views

Different color for individual bar in bar chart & adding bar labels

Please consider the following MWE. There are three things I would like to do: Individual colouring For the last element ("not rejected") I would like to fill the bar with another color (e.g. ...
5
votes
3answers
284 views

Tikz: How do you label a circled node to the left without collisions?

I'm trying to label a circled node in Tikz with some text to the left. The problem is it is colliding with the circle. For example I have something like: \begin{tikzpicture} \node[draw,circle] at ...
4
votes
0answers
236 views

3d axis label ovelapping [closed]

I'm using matlab2tikz to generate the tikz code for my figures. When compiling the document with the figure code as below, I get an ovelapping with the axis label y and z. Here is what I've got: ...
3
votes
2answers
1k views

Referencing a table vs. a figure in LyX, format

Currently, when I reference things using labels I have setup LyX simply inserts the table number. I would like it to insert Table N where N is the table number. Similarly, I would like it to insert ...
10
votes
1answer
3k views

How to change label and ticks of a pgfplots colorbar?

I have a 3d plot with colored surface and a colorbar made with pgfplots. My probably related questions are: How can I set the label of the colorbar? What are the equivalents of zticks (positions of ...
8
votes
1answer
663 views

Two level labels in bar plot

I need to group the labels in the x axis by putting a second level label. I need to separate the nodes that are grouped from the other ones or marked them somehow. For example, if I have the labels ...
2
votes
1answer
2k views

How to refer to table in lyx

Inside the float table box I add lyx:label but when inside the text and choose insert crossreference and choose the table label the text appears as ?? The reference to numbered equations appear ...
3
votes
0answers
1k views

Set ticks precision with pgfplotsset [closed]

First, this forum has been a great resource for me for some time now. I recently started using pgfplots and tikz, so some things I still need to figure out. I hope my question will be clear and the ...
3
votes
1answer
508 views

Frame label in the right top corner of slide?

How can I access the frame label inside the frame? I have a big master file with hundreds of slides and I would like to use slides from it in my other presentations using method described in how to ...
5
votes
1answer
417 views

autonum does not like \ref in a \caption

The following is a minimal non-working example of a reference to some label within a caption while using the autonum package. \documentclass{article} \usepackage{autonum} \begin{document} ...
2
votes
1answer
467 views

pgfplots: x-axes do not align due to different labels

This is my first post, so I hope I do everything right :) I have the following problem: Using pgfplots I create two graphs next to each other which have identical y-axes, but different x-axes. I want ...
2
votes
1answer
610 views

Latex: Reference label individual images within figure [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? I currently have: \begin{wrapfigure}{R}{0.3\textwidth} \vspace{-20pt} \begin{center} ...
2
votes
1answer
191 views

expandable optional parameter to enumerate environment

The MWE below, by using paralist package, is supposed to allow \begin{enumerate}[...] where ... is flexible in "some way" (inherits from enumerates above). \documentclass[a4paper,10pt]{report} ...
2
votes
0answers
83 views

sticky labels with image and text [duplicate]

Possible Duplicate: Is there a good document template for making business cards? I need to create a A4 page with sticky labels on it. The page should look like this: ------------------- | ...
4
votes
1answer
442 views

Labeling a box in tikz

As shown in the working example below, I have red box around all the boxes. I want to label the box but I couldn't manage to do it. I tried to use some of the ways in given in the tikz examples but I ...
2
votes
1answer
638 views

pgfplots: putting marker labels outside of the plot

the following code: \documentclass{article} \usepackage[english]{babel} \usepackage{pgfplots} \usepackage{tikz} \usepgfplotslibrary{groupplots} \begin{document} \begin{figure} ...
2
votes
1answer
486 views

enumerate list embedded in table with custom label

I'd like to augment the embedded enumerated list inside tabular to have custom labels. I am using Yiannis Lazarides's tabular example, but would like to add a custom label that can do circled number ...
5
votes
2answers
756 views

PgfPlots with labeled plots extend outside the graph box

Sorry for the confusing title. The MWE \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[scale=0.75] \begin{axis}[ylabel=Y-Axis, xlabel=X-Axis, ...
1
vote
1answer
804 views

TikZ Label multiple plots outside of axis box

I'm endeavouring to make a graph similar to the following using PgfPlots and TikZ. I can make all of this work, except for the placement of the R=2, R=3, R=5, and R=10 markers on the left-hand ...
5
votes
2answers
303 views

How to make the hyperlink point to the top of linked figure and item of enumeration?

I want to create a problem booklet. Each problem numbered by enumerate has at most one figure that may either be in marginpar or float and occupy the full width. The caption for each figure has a ...
12
votes
1answer
3k views

pgfplots using strings *from data table* as x axis labels in bar chart

I've seen some of the other threads on using strings as x axis labels, but nothing that fits my situation. I'm trying to create a bar chart from a CSV file. I can do it so long as everything in the ...
0
votes
1answer
1k views

`\ref` including “lemma”, “theorem”, “section” or whatever [duplicate]

Possible Duplicate: How to get more complete references \ref itself only prints the number of whatever I am referencing - e.g. a chapter/section/subsection or a theorem/lemma/definition ...
4
votes
1answer
956 views

label curve and/or contour name created with pgfplot via gnuplot

I will want to name different contour as one can see it on topographic card. How to do that? I want label on different curve with the parameter that distinguish the curves. I have created 10+10 curves ...
5
votes
2answers
360 views

How to label a code section in Sweave

I'm new to sweave and was wondering what is the appropriate way to label a code section. For example, if I have: <<echo= true>>= x<-5 y<-x+5 @ How would I get it to put a either ...
6
votes
1answer
906 views

How to remove parenthesis in an equation number created by \tag?

This is probably simple, but I can't figure it out. How can I remove the parentheses around a \tag in an align equation? I would like the second line (and only that) to contain [2] instead of ([2]). A ...
5
votes
1answer
223 views

Using variables in constructing new labels

First, apologies for my lack of knowledge in this matter. I am trying the following code without really understanding every bit and piece of it. Anyway, can anyone help me find what is wrong with the ...
14
votes
1answer
2k views

How to use “fit” to frame the nodes and labels

I'm using the fit TikZ library to fit a rectangle around two nodes which include labels. However, the rectangle is only fit around the actual nodes, not about their labels: \documentclass{article} ...
37
votes
5answers
34k views

TikZ set node label position more precisely

This seems like it should be really easy but I can't seem to find it anywhere... I'd like to be able to fine-tune the positioning of a node label. I'm aware of the ...
6
votes
1answer
1k views

plotting a line in a barchart

Problem: line stops at given coordinates, ymax is not obeyed. \documentclass[a4paper,10pt]{report} \usepackage[left=1.5cm,top=2cm,right=1.5cm,bottom=1.5cm]{geometry} ...
2
votes
1answer
710 views

How to rid of automatic .pdf label from \includegraphics? [duplicate]

Possible Duplicate: How to avoid showing the filename when using graphicx? So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky ...
5
votes
1answer
496 views

How to make a single barplot with different yticks, ytick labels and ylabel on its left and right side?

I have earlier asked two questions here related to barplots and labels/ticks for double y-axes: (1) How to make an xbar plot, with pgfplots, having different y tick labels on the left and right side y ...
8
votes
1answer
962 views

Titles aligned horizontally above nodes in figure

I am trying to create a flow chart going left-right where each stage has a header aligned with it, at a certain height above the chart. I am trying to use the Hydrogen Splitting Example (see the ...