{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
107 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
65 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
410 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
719 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
32 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 ...
4
votes
1answer
88 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
48 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 ...
2
votes
1answer
198 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
79 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
16 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
35 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
59 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
36 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
64 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
80 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
30 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
123 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
49 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
128 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 ...
2
votes
2answers
166 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: ...
1
vote
0answers
105 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
41 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
107 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
286 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
133 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
330 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
409 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
143 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
102 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
194 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 ...
5
votes
1answer
7k 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, ...
1
vote
0answers
124 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
111 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
91 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
73 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 ...
9
votes
1answer
711 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
103 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 ...
3
votes
1answer
44 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
222 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
37 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 ...
5
votes
1answer
107 views

Can I use cleveref and endnotes together?

I'm trying to setup my article with notes such that: Notes are not shown at the bottom of the page Notes are shown at the end of the article (no need to show them after each section or so) I can ...
6
votes
1answer
257 views

TikZ node label distance depends on length when using tikzstyle

When I include circle in the every node style, the distance from the label to the node depends on the length of the label: \documentclass{standalone} \usepackage{tikz} \begin{document} ...
4
votes
2answers
70 views

Labels not referencing correct number figure

I have a report where it's required to have sections from another report both in the main body as well as in an appendix, and I'm including them by using the \input{some_section} command. I'm ...
1
vote
1answer
95 views

How to typeset list labels with multiple lines?

I'm new to TeX/LaTeX, and I wish to be able to typeset item labels of a (description) list into multiple lines if needed. I purchased a copy of The LaTeX Companion and chapter 3 contains example code ...
1
vote
1answer
120 views

2 meta in pgfplot

I need some help with this diagram: I would like to combine to entries in the “meta=” section. It should contain the {y*100}–value and the Label-value. Is it possible to somehow ad them? In the end ...
1
vote
0answers
39 views

matlab2tikz/pgfplots: Tick-labels in axis cannot be overwritten [duplicate]

I want to export plots from MATLAB to tikz and use matlab2tikz to do so. Most of the data I have has dates on its x-axis. In MATLAB I use serial date numbers to store the time. I override the ...
0
votes
0answers
44 views

Histogram with separate group of columns and common caption

I have to draw an histogram like the following one (I have uploaded the corrispondent Office Word version). As I could not find any solution yet, my main question is how I can separate groups of ...
2
votes
1answer
147 views

label \theequation inside math

Code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{align*} J &= J_0 + 2 m r^2 & ...
4
votes
2answers
164 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. ...
5
votes
1answer
56 views

How do I feed evaluated references into this sorting routine?

Below is some code I cobbled together from examples found on the net. I would like the sorted list routine to use the results of evaluating \ref rather than using the literal argument of \ref. ...