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

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: ...
4
votes
1answer
41 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
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} ...
1
vote
1answer
54 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, ...
16
votes
2answers
216 views
+250

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
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, ...
1
vote
2answers
33 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 ...
0
votes
1answer
39 views

Is it possible to attach a label to a theorem so it can be cited later?

I want to know if it's possible to add some sort of label to a theorem such that I can cite it in the future. I know I can do this by writing explicitly the theorem's number every time I need it, but ...
6
votes
1answer
69 views

Problems with labeling of Chapter 0

I'm writing a final year project and I would like to start it with a "Preliminaries" chapter, whose number I'd like to be 0. I do the trivial \setcounter{chapter}{-1}, which makes the number of the ...
2
votes
1answer
48 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 ...
4
votes
1answer
28 views

Beamerposter does not automatically change font size of equation number

I'm using the beamerposter package. While I'm able to change the font size of my equations, I cannot change the size of their corresponding labels. Consider the code below as a MWE. Is this ...
3
votes
1answer
37 views

To label different parts of pdf page

Assume you have a PDF file with 3x4 pictures. You want to label each picture. How can you label such pictures without cutting manually each picture out separately? Next problem is how you can show ...
4
votes
1answer
91 views

Centering bars on xticks in pgfplots

My wife is working on her master thesis and we are trying to make some bar graphs to use with it. We have managed to create a nice-looking graph, but the labels/xtick does not align in center. When ...
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} { ...
8
votes
1answer
207 views

How do I put a label inside a Feynman diagram circle?

I have this simple Feynman diagram with a circle: I would like to put the number "1" in the middle of that circle. I've tried these: \fmfiv{lab=1}{c} \fmfiv{lab=1}{.5[nw,se]) ...
0
votes
0answers
30 views

latex and cross references [closed]

I have defined my own enumerable environment in the layout and cls files and I have set a marker behind the automatic enumerations in the lyx file which reads A1, the name of the marker is A:1 When I ...
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 ...
4
votes
1answer
65 views

Set labels to column title in a stacked bar graph

I was trying to build a stacked bar graph which displays the labels of the columns title not in a legend, but directly near the bar itself. So far, I came up with the following: ...
2
votes
1answer
52 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
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 ...
3
votes
1answer
102 views

Circuitikz: Label space control

I have problem with vertical spacing between part reference and components (resistor R2, R3). I wish to have text more closer to resistor. And second problem are position of the text for voltage ...
7
votes
1answer
41 views

Automatically reference a set of equations in align

Is there a way to automatically refer to a set of equations in an align environment? E.G. I would like this to read "From Eqs.(1-3), we can clearly see..." \documentclass{article} ...
0
votes
0answers
20 views

Crossreferencing included PDFs in the appendix for classicthesis + lyx [duplicate]

My appendix currently consists of 4 PDF's that I have manually included into the "Appendix" Part of my tex document created in Lyx (classicthesis v4.1). I would like to cross-reference these included ...
1
vote
0answers
174 views

Tikz edge label position

Is there a way to set the location of the position of edge label when using the tikz graph package? I attempted to look for samples of this being done in the manual, but was unable to find any ...
4
votes
2answers
37 views

Combine showing multiple figure labels

I have two sub-figures in a figure (say Figure M) called a and b. How can I combine showing multiple figure labels like this? Figure Ma and b P.S. I can easily get the following figure labels by ...
7
votes
1answer
97 views

Can I give a function to a label?

I try to create a dynamic way to give labels to my slides in Beamer. \documentclass{beamer} \newcommand{\partName}{blank} \newcommand {\defPartName}[1]{\renewcommand{\partName}{#1}} ...
5
votes
2answers
125 views

How to give a label to nodes which already contain a tikzpicture with nodes.

I am a beginner at TikZ and LaTeX. This is what I currently have: I would like to label each of these rectangles (i.e. graphs) with a single letter, i.e. G. This is the code for a single graph in ...
6
votes
1answer
103 views

How to copy a lemma to appendix without changing its number?

I have a document with a lemma (using amsthm), like so: \begin{lem} \label{mylemma} % ... \end{lem} The proof of this lemma can be found in the appendix (see section \ref{sec:proof_of_mylemma}). ...
4
votes
0answers
117 views

Reuse an image resp. a box in TikZ but have side-effects only once

I have a huge document (a pool of exercise problems) with lots of \input statements (one file per subexercise). In order to not get lost in this mess and easily open files from the PDF, I include a ...
20
votes
3answers
252 views

Chart showing the relative number of pages in the document

I'm playing with the idea of adding a chart in the begining of my thesis, showing the relative dimension of each chapter (or section, maybe). This is something that I would want to generate ...
3
votes
1answer
57 views

Problem with numbering of questions in exsheets

When using : \documentclass[11pt,letterpaper,oneside]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{enumitem} \usepackage{verbatim} ...
12
votes
5answers
999 views

How do I draw a little red square to label my right triangle?

The sample code: \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw ( 0 , 0 ) coordinate (A) -- ( 4 , 0 ) coordinate (C) -- ( 0 , 3 ) coordinate (B) ...
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 ...
6
votes
2answers
128 views

PSTricks: Remove trailing zeros in axis labels

Consider the following example: \documentclass{article} \usepackage{pst-plot} \begin{document} \psset{xunit = 2} \begin{pspicture}(3,1) \psaxes[Dx = 0.5]{->}(3,1) \end{pspicture} ...
1
vote
1answer
41 views

Problem with \addtocounter that doen't affect \label

I've a little issue with \label. here's the code: \chapter{previous chapter} \phantomsection \addtocounter{chapter}{1} \addcontentsline{toc}{chapter}{\Alph{chapter}~~ the chapter} ...
4
votes
1answer
78 views

How can component and voltage labels be positioned so they are properly aligned with components?

I have coded the following circuit: \documentclass{article} \usepackage[american]{circuitikz} \begin{document} \begin{circuitikz} \draw (0,4) to [C,v^=\(v_c\),*-*] (0,1) to [short] (0,0) ...
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 ...
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 ...
4
votes
0answers
49 views

How can I 'uniquify' RefTeX label defaults?

When you create a new section within AUCTeX (using C-c C-s) and give the section a name, RefTeX will prompt you for a title, insert the section, and then prompt you for a label. This label is ...
11
votes
1answer
84 views

Multiple \the… formats for a single counter?

Say I have a definition (\arabic) that includes a small list of sub-definitions (\alph). Sometimes I want to use full cross-references (2.3a, 2.3b, ...). But sometimes, when the main definition is ...
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} ...
5
votes
1answer
108 views

System of equation, left aligned and two lines numbered

I really don't find how to create the system I am looking for, so I am asking for a little help! I want : At least two columns aligned to the left; The system name and a big brace on the left; Some ...
1
vote
1answer
158 views

How to fix showing table labels in TeXstudio when using ctable package?

In TeXstudio editor one can easily choose which labels to reference as soon as you type the cross-referencing-macro you intended to use, for instance, \cref{} of the cleveref package (see image ...
3
votes
1answer
67 views

Labels with \psplot

Consider the following example: \documentclass{article} \usepackage{pst-plot} \begin{document} \begin{figure} \def\dx{2.5} \def\dy{1} \makeatletter ...
4
votes
1answer
40 views

List of all labels with hyperlinks

I'm writing a document with several \label{} environments and I'm looking for an opportunity to generate a list of all of them at the beginning, something like this: Label 1 ..... 1 Label 2 ..... 2 ...
7
votes
1answer
147 views

Emphasize labels in a graph

I've got a graph with nodes and arcs between them. Then I added labels to the nodes. My problem now: The labels are partially unreadable because the arcs disturb. Do I have an opportunity to ...
0
votes
0answers
59 views

Calling filename@parse inside a command definition fails

I am trying to redefine \includegraphics to both auto-label the included figure and to restrict the maximum width. The auto-labeling is done by transforming the base filename to camelcase using the ...
0
votes
0answers
81 views

Tikzcd label size

Since this is so basic, it has to be written somewhere but I can't seem to find it. I am attempting to change the size of a label for a commutative diagram with tikzcd. The documentation hints at how ...
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 ...
10
votes
1answer
55 views

Reading (input) a file whose name is created with a label

I don't want to get into the details of why I want to do this, but I would like to: create a new counter called filenumber; create a file whose filename is \jobname\thefilenumber.txt and write to ...