{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
44 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} ...
1
vote
0answers
22 views

Is there a label for \part to use with \autoref?

If I write: \chapter{}\label{chap:name1} I can write: See it in the \autoref{chap:name1}. But what about the parts? \part{}\label{?:name2} So I could write: See it in the \autoref{?:name2}. ...
7
votes
1answer
107 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
20 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 ...
2
votes
1answer
27 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
27 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} ...
1
vote
0answers
36 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 ...
5
votes
3answers
265 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 ...
3
votes
1answer
44 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
68 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 ...
4
votes
1answer
196 views

how to label equations in this way?

Suppose Alice has an equation labelled by (3). After several pages, she wants to label a new equation by (3)', to indicate that the new equation (3)' is an analog of (3). How does she type in Latex to ...
3
votes
2answers
56 views

Showing labels only at edge of grouped PGF plots

The options xlabels at and ylabels at in PGFplots' grouped plots library are supposed to show axis labels only at the corresponding sides of the complete set of plots, but they seem to have no effect. ...
1
vote
2answers
62 views

`\tag` and `\Rightarrow`

\documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{fullpage} \usepackage{secdot} \usepackage{setspace} \setlength\parindent{0pt} \title{\vspace{-3em} Quantum Mechanics} ...
2
votes
3answers
103 views

How can I add label and reference to each row of a table?

I have 2 tables, and they have a common column so I want each row from the first table to point to the corresponding row of the second and the other way around. And also, if it is possible that the ...
1
vote
1answer
41 views

PGFPLOTS boxplot data from inline file

I have The following code: \documentclass{article} \usepackage{filecontents} \usepackage{pgfplots, pgfplotstable} \usepgfplotslibrary{statistics} \begin{document} ...
2
votes
1answer
51 views

How to combine simultaneously the fragile- and the label-command for a frame?

I am currently facing the following problem in the beamer-class for LaTeX: I would like to label a frame and simultaneously use a verbatim-environment. Most likely the solution is very easy but I do ...
3
votes
1answer
92 views

Axis Environment Tick Labels as Text (Including a $)

I am attempting to use the axis environment to build a simple plot line. Is it possible for tick labels to be renamed as text? Instead of numbers I would like the month on the x-axis, and in ...
6
votes
2answers
154 views

How to reference the Index?

How can I reference the index created by the package makeidx? Minimal working example: \documentclass{scrbook} \usepackage{hyperref} % creates links on refs \usepackage{makeidx} \makeindex ...
3
votes
0answers
42 views

My boxplot draws but the coordinates are NaN when I try to label the plot

I have been slowly getting my barchart with a boxplot to come together. My current project is to label the whiskers, quartiles and median. Using examples from the manual, no label is printed. This is ...
3
votes
1answer
91 views

How to correctly label an included PDF?

I have this: \label{appendix:b} \includepdf[scale=0.8,pages=1,pagecommand=\chapter{interview}]{interview/interview} \includepdf[scale=0.8,pages=2-,pagecommand={}]{interview/interview} ...
2
votes
1answer
163 views

Metapost labels do not work with MiKTeX 2.9

I have upgraded from MiKTeX 2.8 to 2.9. All the label commands that earlier worked in Metapost are not working anymore. I am using MiKTeX in conjunction with TeXnicCenter. The MetaPost version ...
2
votes
1answer
68 views

Minus signs on coordinates not visible enough with TikZ

I want to draw a system of coordinates with TikZ. At the moment I use the following code (which I copied from somewhere). Now I would like to make the minus signs on the negative y-coordinates more ...
3
votes
2answers
96 views

How can I use \centerdot while defining type of bullet?

The problem: I get an undefined control sequence error when trying to define the bullet type of the second-level items. I'm using: \renewcommand{\labelitemii}{$\centerdot$} Notes: I've read in ...
5
votes
1answer
60 views

customized caption and label for adjustbox

The question is a follow up of the question posted here how to make adjustbox work correctly . \documentclass{scrartcl} \usepackage{adjustbox} \usepackage{wrapfig} \usepackage{lipsum} ...
1
vote
0answers
88 views

PGFPLOTS: Insert a boxplot outside the chart axis labels, much like GNU R

I have some code that plots a horizontal barchart. What I would like to do is put a boxplot or confidence interval above my horizontal axis which is on top of the chart. GNU R (see R In Action, Robert ...
6
votes
3answers
193 views

Make a polygon with automatically labelled nodes according to their coordinates

The goal: Make a polygon (and a circle containing that polygon at the nodes of the polygon, without the polygon's lines) with automatically numbered nodes according to their coordinates (x,y) [which ...
2
votes
1answer
94 views

Problem with pgfplots/pgfkeys: “I do not know the key '/tikz/use units'”

Problem in short: I'm using pgfplots but I can't use units in the labels. I tried this minimal example (from http://pgfplots.sourceforge.net/gallery.html) and get an error message: ...
0
votes
0answers
31 views

Figure reference incorrect

I've looked at Why does an environment's label have to appear after the caption? and understand that the label has to come after the caption. This is not the source of my problem. Using subfigure ...
4
votes
3answers
158 views

How to avoid the poles of the voltages to overlap the resistors?

Using this code in circuitkz I get this circuit \begin{circuitikz}[american] \ctikzset {voltage/distance from node=1}; \draw (0,0) to[battery,l=V] (0,2) to[R,l^=$R_1$,v=$V_1$] ...
8
votes
1answer
127 views

Equation number for each row of a matrix equation

Is it possible to give an equation number to each row of a matrix equation? How could I have equation labels in the vein of subequation numbers, one for each row of the matrix equation? Here, I'd ...
1
vote
2answers
48 views

Unexpected axes labels in PSTricks plot

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \usepackage{expl3} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff ...
2
votes
0answers
16 views

Strange reference number for main figure label containing subfigures [duplicate]

I have problem in referencing number for main figure label. I have this code : \begin{figure}[t] \centering \subfigure[11a's signal strength]{ \includegraphics[scale =0.25] {fig/cdf_sig11a.eps} ...
5
votes
1answer
68 views

Hidden or Misplaced Node Labels when using Tikz Graphics Package

I want to place a node label onto a Tikz figure (underneath the axis at a specific point), in order to indicate some interesting behaviours on a selection of smooth curves. The following "Simplified ...
0
votes
0answers
52 views

PDF size limit - load only labels from files

I have huge amount of figures in thesis (72 pages) but I'm limited in size of thesis.pdf to 20MB and size of appendix.pdf to 30 MB When I compiled my thesis it got 280MB, I thought that I can split ...
2
votes
1answer
91 views

Disable Algorithm Label

I am using the \usepackage{pseudocode} in this code \documentclass{article} \textwidth=4.5in \textheight=7.125in \usepackage{pseudocode} \begin{document} \renewcommand{\thepseudocode}{} ...
1
vote
0answers
14 views

Reftex: Problem with uppercase label environment type specification

I am using emacs 24.3.1 with auctex and reftex. Right now, I am trying to get reftex's label insertion mechanism to work with a custom environment "satz" that I defined via \newtheorem with the ...
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 ...
4
votes
1answer
90 views

Labeling several out/incoming lines collectively in Feynmp?

Suppose I have two outgoing lines in Feynmp, o1 and o2. I know how to label each and one of them. But suppose I want to draw a huge curly bracket going from o1 to o2 and then label that bracket. Is it ...
2
votes
1answer
38 views

command to print indexed constants [duplicate]

I am writing a maths paper where I have a lot of constants. I am indexing them to differenciate them. Basically my text looks like blabla $c_1$ blablabla $c_2$ blabla $c_3$ blabla $c_1$ blabla ...
4
votes
1answer
59 views

Placing labels as numbers at the top of each bar in this plot in pgfplots

I have this bar chart where numbers seem to appear to be not centered at the top of each bar. I tried writing "center" in the \node area, but it did not work. The code is written using pgfplots. The ...
7
votes
4answers
233 views

How to label the curve of a function at any point along it in tikz?

In my example, I have to simple curves y = sqrt(x) and y = x. I would like to be able to attach a label along each curve, say at the middle of the curve. Right now, I am doing it by trial and error ...
1
vote
0answers
49 views

Texmaker isn't matching my labels

I'm currently editing a latex file together with a colleague. She's uses technixcenter as editor and I use texmaker 4.1.1. My compiler refuses to match the references with the labes when I insert ...
6
votes
1answer
171 views

Feynman diagrams with feynmf/feynmp - edges of diagram cropped off?

I am trying to create Feynman diagrams with LaTeX/MetaPost and feynmp seems like the perfect package to do so. I had no problems with the tutorial and can generate the diagram itself in .eps without ...
3
votes
1answer
24 views

can not reference a state in algorithm

I have the following code that generated error ! LaTeX Error: Something's wrong--perhaps a missing \item. l.193 \STATE \label{alg:line3}Sort NGs in CDR in ascending order based o... ...
19
votes
2answers
312 views

Show graph of references inside a document

I have quite a lot of labels and references (around 250 labels, 600 references to those) in my document. As I need to re-arrange parts of the document, I'd like to know which labels are referenced ...
2
votes
0answers
53 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: ...
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 ...
4
votes
1answer
60 views

Label inside mdframed messes up spacing

I have a problem with mdframed in combination with \parskip and \label. Consider the following code, which is a MWE stripped down from a large document. \documentclass{article} ...
2
votes
1answer
50 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} ...
1
vote
1answer
96 views

labeling edges in tikz [duplicate]

I have the following graph, where I want to label the edges. Is there a way I can integrate this in to the draw command? { \begin{figure} \begin{center} \begin{tikzpicture}[every node/.style={circle, ...