{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
1answer
21 views

labeling figures as table

P.S. I have figured it out. I simply added \begin{table} \end{table} instead of figure environment I am new to latex, trying to figure out how to write a simple paper. I have a figure (a jpeg ...
0
votes
0answers
15 views

To combine two overpics?

This question is based on this great answer about overpic, please see it for code and images. I have now a grid with greater density of cells: \begin{overpic}[grid,tics=2] % use this to figure ...
4
votes
2answers
31 views

Refer to the item that follows a certain label/reference

We are creating use cases with a scenario represented by an enumeration: 1. Do step 1 2. Do step 2 3. Do step that can fail Some steps can trigger an alternative scenario that are listed as ...
0
votes
0answers
21 views

How do I increase the gap between a label (under list) and text that follows? Also, is there any way to have more than one word in the label?

In Lyx, when I use "labeling" under "Lists", the first word I type is turned into a label followed by a large space. How do I increase this space between the label and the content? Also, is there any ...
2
votes
1answer
100 views

Labeling in Mathematica to match the font size same as in LaTeX

I have some plot Plot[a, {a, -6, 6}] I need to use it in Latex. However the problem is that labeling text style in Mathematica does not match with LaTeX text. So what I do, I copy the figure ...
4
votes
1answer
49 views

how to add labels to arrows avoiding conflicts with existing node shapes

Ok, I've made the following diagram: I want to add text labels to the various arrows (at the red points) and I want to ensure that the labels do not overlap the dotted lines, the arrow lines etc. ...
24
votes
1answer
10k 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 ...
3
votes
1answer
53 views

Label a word or sentence?

Is it possible to refer to a word in a sentence? Example: Hi, I love\label{Word: Love} learning so I ask a lot of questions. I would like to refer to the word "love" in the above sentence. For ...
0
votes
0answers
36 views

I have a business card template that uses labels and I want to add a watermark/background

I am making business cards that use labels to slice them up and give me multiple per page, but I also would like to have a background or watermark on them. I have tried using this code, but it puts ...
3
votes
2answers
345 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 ...
5
votes
11answers
674 views

How do I make a square and label each corner with a number?

I am trying to make a square to demonstrate how reflections and rotations work, so I would like a square with each interior vertex labeled with a number.
5
votes
0answers
30 views

Add destinations for external links to PDF file? [duplicate]

According to this document, it is possible to add "destinations" to a PDF file that can be used to navigate directly to certain places in the document when opening it: Open a PDF file to a set ...
1
vote
1answer
25 views

Show table caption only on first page

I have a \longtable that splits over two pages and currently shows the label and caption at the top of each page. Can I change this so that the caption and label to only appear on the first page and ...
4
votes
1answer
74 views

How to print “string” of first or last \label{string}, in running headers and margins, dictionary-like, with KOMA class?

I need to typeset a book where sections are identified by a string, like "PLA 1", as dictated by the book's editor (the publisher calls these strings "cite-keys".) Sometimes there are a few sections ...
1
vote
1answer
34 views

Building a list of non-duplicated labels from text on the fly

As a followup to Difference in compilation time between two slightly different versions I wrote Deleting duplicates from a comma-separated list of strings. Summary of issue: The former question ...
1
vote
1answer
166 views

How do I Auto-Label Hyperref Fillable Forms \TextField?

Is there any way to put an automatic label into the hyperref package's \TextField parameters field like this: \newcounter{lexemeCounter} ...
2
votes
1answer
63 views

Text in a graph in TikZ

I have the following code. \begin{tikzpicture} [auto, vertex/.style={circle,draw=black!100,fill=black!100,thick,inner sep=0pt,minimum size=1mm}] \node (v1) at ( 1,1) [vertex,label=left:$v_1$] {}; ...
0
votes
0answers
15 views

Label and Ref with Table [duplicate]

I defined a Table with lable the following way: \begin{table}[t] \centering \begin{tabular}{|c|c|} \hline Transaktionsnummer & Enthaltene Items \\ \hline 1 & ...
0
votes
0answers
17 views

Dealing with strange character in arabictex using TeXnicCenter

I'm using TeXnicCenter 32bit on Windows 7 and i want to try Typesetting a document using Arabic script i tired to read Typesetting a document using Arabic script and ...
5
votes
3answers
37 views

Retrieve link caption of hidden label

What I wish to do is create a (hidden) label in which some text is stored, and retrieve the text by referencing to it, without getting an actual link. For example: \customlabel{refname}{some text} ...
2
votes
2answers
32 views

Use Labels to show equations

I want to be able to create many equations, say $a+b=c$ and $c+d=e$, save the equation as a variable but not have the equation be displayed. I simply want to have the ability to use the label/variable ...
1
vote
0answers
52 views

Figures in Minipage to avoid multiple pdf's warning, now labels aren't working

I'm trying to include svg graphics in combination with the respective .pdf_txt within my bachelor thesis. So far that works but it triggers the Warning : 'multiple pdf's in a page group'. That Warning ...
1
vote
1answer
40 views

How to label arrows in tikz-qtree?

How do I label the arrows below with "1," "2," and "3"? \documentclass[a4paper,12pt]{article} \usepackage{tikz, tikz-qtree} \begin{document} \begin{tikzpicture} \begin{tikzpicture} \tikzset{every ...
0
votes
0answers
18 views

tick label position, double label for one x-coordinate

As my x-axis goes from 0 to 0.1 in steps by 0.01 the automatic tick labelling provides results as 1x10^-2 which is too large so that every tick is typed over the others. Is there a possibility to ...
1
vote
1answer
55 views

Insert labels inside table rows

I have a long table with different equation, I need to make a label and then refer to them in some cells, trying to do that by putting usual label giving me wrong results in LyX, more precisely if the ...
6
votes
1answer
43 views

How do I modify the appearance of subsection headings without also messing up how subsection referencing works?

I have a revtex4 document and I'd like to change how the labels for the subsections appear: \section{Foo} \subsection{Bar} Currently compiles to something like: I. Foo A. Bar But I'd ...
6
votes
1answer
70 views

Constructing a tree in LaTeX

I am having real trouble creating a tree. So far I have \documentclass{article} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture}[every tree node, level distance=1.25cm,sibling ...
0
votes
0answers
40 views

Small Caps does not match with longtable caption label?

I enter data into a longtable environment, but the label caption does not follow the shape of previous tables labels. How would you achieve this? Thank you.
0
votes
2answers
69 views

Y-tick labels on the right side, y-axis label on the left

Is there a way to only move the y-tick labels to the right? The option yticklabel pos=right automatically moves the axis-label, too. Here a MWE of how the axis-label is also moved: ...
0
votes
0answers
35 views

How to make colored labels in feynMF/feynMP

There are several ways of adding a label to the vertex, e.g. as in code below. It is documented how to make the colored polygons or lines, as done for the V2, but I couldn't find anything about making ...
5
votes
1answer
36 views

Creating different “classes” of labels

I'm trying to write up a paper and I'd like to have a different class of labels for identities vs equations. ie I want something like \label{eq:firsteq} and \label{id:firstid} such that the numbering ...
5
votes
1answer
92 views

Automate generation of table from data in enumerated lists

I'm working on a document that contains the requirements and specification for a code suite, and I'd like to create a requirements traceability matrix that shows what part of the spec covers each ...
1
vote
1answer
173 views

Matlab2tikz, alignment of subplot ylabel (large distance from plot)

Matlab2tikz came to my attention in the past month and have been using the simple tutorial from HowToTeX. It has worked great so far only one issue remains, I am unable to anchor the ylabel to the ...
4
votes
1answer
78 views

How to put two labels for one figure

I have one picture, but in fact it is a combination of two figures. Therefore I am able to use \includegraphics only one time. Still, I want to use two labels for left and right side. I searched for ...
2
votes
2answers
138 views

Add axis label to bar chart using tikz

I'm creating a bar chart using the following code: \documentclass[tikz]{standalone} \usepackage[english]{babel} \usepackage{pgfplots} \usepackage{pgfplotstable} \pgfplotsset{compat=newest} ...
5
votes
2answers
146 views

Label above node in TikZ

I wish to add a label above a node that already contains a label. \begin{tikzpicture}[scale=0.8,every node/.style={draw=black,circle}] \node (a) at (0,0) {a}; \node (b) at (2,0) {b}; ...
1
vote
1answer
73 views

Creating lables - using data from excel sheets - selecting specific column

I have to create desk slips (labels). For this data is available in excel sheet. The column names are - RollNo, Subject, Venue of Exam (examination center). Presently we are creating desk slips using ...
2
votes
1answer
72 views

yticklabels Problems

I'm going to draw a certain function from a .txt file. I'd like to specify/to highlight a point of that function on the function itself by a marker and a label. Moreover, I'd like to put a notch on ...
2
votes
1answer
180 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 ...
4
votes
1answer
4k 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, ...
0
votes
0answers
31 views

Problem referencing/labeling while using the subfiles package

I have a problem using labels together with the subfiles package. When I'm writing in one section and I try to reference to different section (or for that matter anything within that section) I get an ...
2
votes
1answer
48 views

Numbering an equation when using \displaymath

I am using the hyperref package and want to label a piecewise equation. However, I only know how to use \displaymath to do a piecewise equation and the \label doesn't put a number next to the ...
1
vote
1answer
56 views

Put all labels on the left with showkeys

My document has a very narrow right margin and I'm using showkeys to see internal labels for equations. Is it possible to put all labels that showkeys generates on the left side? Unfortunatelly, ...
2
votes
1answer
61 views

How do I label my figure properly?

I have my figure as a pdf with commands: \begin{figure}[h!] \centering\includegraphics[width=0.6\textwidth] {babymodel_figure_4.pdf} \caption{The Fixed-Point Equation } \end{figure} These are my ...
8
votes
1answer
318 views

How to generate a “named destination” in PDF?

According to the Evince help, one can open a PDF at the location of a "named destination": SYNTAX evince [--help] [--page-label=PAGE | --page-index=NUM‐ BER | --named-dest=DEST] ...
1
vote
2answers
90 views

pgfplots mistake with label

i have a problem with my graph. i can't figure out why latex puts this into my description. i had to specify the xticklabels manually. but latex still gives me that number on that position. i'd like ...
2
votes
1answer
30 views

Why do I get the number 1 instead of the desired affiliation for the authors in elsarticle template?

I am using for the first time the Latex template of Elsiver journals but I get the number 1 for the later affiliations of all the authors. Here is a minimal working environment. Could anyone tell if ...
8
votes
1answer
208 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 ...
4
votes
1answer
29 views

Trouble using namedef and nameref to augment the default \ref command

I'm trying to enhance the builtin \label and \ref commands to let me add some additional text to the number typically associated with a reference. That is, I want to say ...
3
votes
1answer
112 views

Labels in 3D mode don't work in Asymptote

When I create 3D asymptote graphics, labels just don't work. When I copy the code from the question in Positioning Labels in Asymptote I get the exact same plot just without the "x". Everything works ...