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

3
votes
1answer
171 views

Redefining axes label in pst-plot

I am trying to redefine the labels for x-axis in a pst-plot diagram by putting \makeatletter \def\ps@@@hlabel#1{\small(#1)} \makeatother in the preamble (see top of page 25 in the manual) but then ...
3
votes
1answer
251 views

Adding labels to a node in a matrix and change the position of single matrix cell to create a flow chart

I want to add two labels next to the diamond shaped node. One to the right saying "Ja" above the path and the other one below saying "Nein" right next to the path. Currently it seems like that two new ...
3
votes
1answer
111 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 ...
3
votes
1answer
654 views

vertical subseteq symbol in label of subfloat

Math symbols (\subseteq and \supseteq) are rotated and rendered successfully in text mode with the aid of \rotatebox{}{}. In the commented section below, there is a problem with getting these symbols ...
3
votes
1answer
323 views

Circuitikz place text above and below component

Lets say I create a component like this (0,0) to [R, l^=$R1$] (0,2) How can I make it so that the value, R1, is say, on the right hand side, and the resistance, say, 1kohm is on the left hand side? ...
3
votes
1answer
842 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., ...
3
votes
1answer
452 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 ...
3
votes
0answers
64 views

How to automate right node alignment for labels from table AND marker size AND marker color of scatter plot?

Problem: Labels from table are placed right, but overlap. Is there a way to automate alignment of the labels near nodes so that labels do not overlap? This is a small example but I have bigger table ...
3
votes
0answers
54 views

Tikz: Arrow description closer to arrow [duplicate]

I want $Q(g)$ closer to the diagonal arrow in this tikz-picture. How can I manage that? Thanks. \begin{tikzpicture}[description/.style={fill=white,inner sep=2pt},baseline={([yshift=1.5em]current ...
3
votes
0answers
930 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 ...
2
votes
2answers
1k views

How to label an optimization problem with a label such as (P)?

I am trying to write an optimization problem in my document, and for convenience, to define a label to refer to it. I don't want to refer to it as equation (3), which I know how to do, I want to ...
2
votes
1answer
345 views

Putting an underscore in a \label

I am trying to use pdflatex to type set some files that have underscores in the \label. Such as \label{abc_xyz} and have been unsuccessful. I keep getting errors such as: ! Missing \endcsname ...
2
votes
1answer
74 views

Equation not displaying correctly

Just a quick question about equations. I have been trying to get my equations to display correctly but so far no luck. What I require is this What I am getting With this code \begin{equation} ...
2
votes
1answer
482 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
40 views

Change entry label to [Jones,82]

I'm trying to set a bibliography this way: \documentclass[12pt,french]{report} \usepackage[backend=bibtex, style=alphabetic ]{biblatex} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} ...
2
votes
1answer
53 views

error while drawing currents in circuitikz

This is my first complete circuit in circuitiks. I'm trying to draw a circuit to show Kirchoff's Law. I was able to draw the nodes and voltages, but putting currents with arrow is giving me trouble. ...
2
votes
1answer
1k views

TikZ: Label nodes on to path

I use the to syntax to set a node in the horizontal middle between to other nodes. My problem is, that a label does not fit well at this middle node. Compare the label of node 2 and node 3 in the ...
2
votes
1answer
1k 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
2answers
179 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
279 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} ...
2
votes
2answers
698 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} ...
2
votes
2answers
1k 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
191 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 ...
2
votes
1answer
164 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
2answers
24 views

Subfigure removing and controlling label/numbering

this problem is similar to others but I cannot find a solution. In the example below I have a figure with 6 subfigures. I would like to remove the label/numbering from the 2nd, 4th and 6th subfigure, ...
2
votes
1answer
49 views

Add label to bars in bar chart

I am trying to get labels over the bars in my bar chart. I found \node [above] at (axis cs: 1, 810) {$Q1$};, but this one centers itself in the middle between two bars. I want the value from the ...
2
votes
1answer
62 views

Positioning Labels in Asymptote

How can I control the position of the $x$ label below? Created with draw("$x$",O--X,blue,Arrow3) I know I can manually control label positions with label("$x$",<position>,blue), but is there a ...
2
votes
1answer
29 views

Changing output font style of a referred label

In of the bulleted list of my MWE below, I'd like the label ("Item a") to be of bold font weight, the output of \ref{itm:one} to be in normal font weight. Unfortunately, neither the placement of ...
2
votes
1answer
69 views

Label missing on axes in pspicture

Consider the following example: \documentclass{article} \usepackage{pst-plot} \begin{document} \psset{xunit=1cm,yunit=0.1cm} \savedata{\data}[{1,64},{2,32},{3,16},{4,8},{5,4},{6,2},{7,1}] ...
2
votes
1answer
123 views

Label and non-plain text arguments

I have a custom macro: \NewDocumentCommand\includefigure{mo}{ ... \caption{#2} \label{fig:#2} } The optional argument is used for the caption and the label. The problem is that when I have ...
2
votes
1answer
80 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
114 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 ...
2
votes
1answer
64 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 ...
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 ...
2
votes
1answer
412 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
389 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 ...
2
votes
1answer
36 views

Adding labels to two side by side tables [duplicate]

I've places two tables side by side, but I can't get the labels right. \begin{table}[ht] \begin{minipage}[b]{0.45\linewidth}\centering \begin{tabular} {l | l | l} a & a & a ...
2
votes
1answer
121 views

How to label arrows in this commuting cube?

I would like to draw a commuting cube, where all the edges are also labeled. Below is my cube but I don't know how to do this, as the stackrel doesnt seem to work. \documentclass[12pt]{article} ...
2
votes
1answer
484 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
739 views

Edit bibitem labels in BibDesk

For those who use BibDesk on OS X, is there a way to add labels to bibitem entries through the UI? A way to put "label" into the BibTeX item like: \bibitem[label]{key}? When items with labels are ...
2
votes
0answers
16 views

\cref does not work for Section in emulateapj.cls

While \cref works quite well for me, it doesn't seem to recognise section labels when used in emulateapj.cls framework. Here's an example: ...
2
votes
0answers
128 views

How should I read the current TikZ “label distance”?

I decided that I don't like the behaviour of the label functionality of TikZ. I want to get labels that are positioned using the anchor opposite the specified label angle. So for example if the label ...
2
votes
0answers
198 views

Package babel Error: You haven't loaded the language french yet [duplicate]

I just got LaTeX up and running and started following some basic instructions. The first time I followed the beginning over here: http://ftp.ctex.org/pub/tex/tools/editors/TeXworks/manual.pdf ...
2
votes
0answers
172 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
0answers
40 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 ...
2
votes
0answers
81 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: ------------------- | ...
2
votes
1answer
593 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 ...
1
vote
3answers
130 views

Label position angle problem

Why the "F" are not positionned all around the node ? And how to fine tune the position then ? \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \foreach \x in {0,5,...,360} { ...
1
vote
1answer
95 views

Problems with labels inside a floating with a table

I have this strange problem with the labels inside the floating that contains a table. For my first table I put the label inside the floating area, then I added the cross reference somewhere in the ...
1
vote
1answer
243 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 ...