{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
18 views

pgfplots: Fixing overlapping X axis labels

I am trying to create a time series plot but my X axis labels overlap: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{width=14cm,compat=newest} \usepgfplotslibrary{dateplot} ...
6
votes
4answers
140 views

How to point an equation to a curve

I have the following code: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.7} \begin{document} \begin{tikzpicture}[>=latex] \begin{axis}[grid=both, axis x ...
0
votes
0answers
23 views

LaTeX pgfgantt move inline label above the bar not working

I'm trying to move my already inline labels to above the bar and have attempted to add bar inline label node /.style=north or bar inline label anchor=north or bar inline label anchor/.styles = north ...
0
votes
0answers
43 views

Label at the end of document is lost, bug?

I'm having a long document in memoir at the end of which I set a label, and so far it has worked. I did some changes to my document, at unrelated places, and suddenly I'm getting the warning that that ...
2
votes
1answer
31 views

Conflicting multi-line underbrace labels

Sometimes a \makebox gives nice underbrace, sometimes multiline version with \parbox works. But how to combine two multiline-underbrace-equation-labels side by side and make them look good? ...
1
vote
2answers
53 views

yticklabel pos=right has no effect

I am using pgfplots to draw a simple 2D function. I'd like to display all of the ytick labels on the right side of the plot. So far I had no success using yticklabel pos=right, I do not get an error ...
2
votes
1answer
27 views

Using pictures / images as x-axis label in pgfplot?

is it somehow possible to use external pictures as explicit labels in pgfplot? Or can I use the draw environment within the label definition? I tried it in two ways: \begin{tikzpicture} ...
0
votes
1answer
26 views

how to use showlabels package in IEEEtran class

I need to show the labels of the equation, besides equation number, in my .pdf file in the IEEEtran class. For that I use the \usepackage[right]{showlabels}. But I am unable to show the labels. For ...
1
vote
1answer
20 views

Label american current source correctly

I am trying to put a label in the right of the american current source, but it doesn't want to go. I tried to use l>=$4$A instead of i>=$4$A but there is an error on that. I tried to use v ...
1
vote
1answer
17 views

label of the resistors using circuitkz

How can I put the label of the resistors horizontally instead of being in the same direction of the component? I tried to use [R, l=$R_c$:-90] as an example I saw but it didn't work. ...
1
vote
1answer
33 views

Two caption names for figures

I am typing my thesis in LaTeX and I have problems with captions. In my thesis are pictures as well as graphs. According to my school I have to have these captions: picture: "Obr. XXX", graph: "Graf. ...
4
votes
1answer
33 views

Counter not incrementing when defining crefname with cleveref and algpseudocode

I am renaming the "line" label for lines in the algorithmic environment, since I am using the default label for lstlisting environment. As soon as I add define \crefname for it, the counter does not ...
6
votes
2answers
101 views

Tikz Forest label positioning

I'm constructing a tree diagram using the forest package, and I want to label the edges. Usually, Tikz is quite good at avoiding a collision between the label and the edge, but if the branches of my ...
4
votes
1answer
27 views

newcommand with optional argument displays wrong text

I tried to set up a new command with optional arguments. The problem is that the command displays 'st:code'. What's wrong? Thanks in advance! \documentclass[a4paper,twoside,10pt]{report} ...
0
votes
1answer
41 views

Referencing my own command

I'm trying make my own command for a requirements document. I'm now looking for a way to reference my requirements. This should be possible by using \ref and the later on with the hyerref package. ...
1
vote
0answers
28 views

How to label equations effectively and efficiently?

I am writing a thesis containing a lot of equations. One problem I am facing is how to label them well enough so that it is easier to refer to them later on. Currently, I tried to name every equation. ...
1
vote
1answer
32 views

Individual tick label style depending on position

I'm looking for a solution to restrict tick labels to be within the axis limits (see figure, without enlarging limits). The idea was to apply a custom tick label style for example to the first ...
3
votes
1answer
74 views

How to draw a bubble column chart with a legend?

I am very new to plot in Latex, and am trying to piece together a bubble column chart with a legend and labelled axes. So far, I have a working chart, but can only get the legend or a labeled x-axis. ...
2
votes
0answers
48 views

How to add label along the path in tikz?

I want to draw the following figure via tikz. I tried several methods (decorations, midway, etc.) to put the label word along the graphs of the functions, but failed. Here is my code ...
2
votes
1answer
39 views

Show only every n-th xtick label when using 'x tick label as interval'

This question results from the same problem I asked here. Now, I have to many data points to give every single one a tick label. For one axis (the one on the bottom) I could achieve what I want. But ...
3
votes
1answer
60 views

Draw and label arcs to label angles

I have written the following in LaTeX. I have trouble drawing and labeling all my angles (I want to label the angles in B, C, D and F. I have so far only managed to draw those in C (easier because ...
-1
votes
0answers
30 views

Automate changing labels

In my .tex file, I have several sections and labels for these sections, and these labels are cross referenced in the text like this: \subsection{My Section Title} \label{sub:my_section_label} Lorem ...
0
votes
1answer
28 views

Side by side figures with side captions

I want my figures to be side by side with a side caption, and I thought I had succeeded in doing this until I've realised every time I have two figures side by side it will label this, say, Figure 1, ...
0
votes
1answer
38 views

Start xtick labels in the first interval using pgfplots

I'm creating a graph with two x axis using pgfplots where one axis represents timesteps and the other iterations within one timestep. So far I have the following code: \begin{tikzpicture} ...
1
vote
1answer
31 views

Circuitikz: increase the distance of a resistor label

In such a simple circuit \documentclass[12pt]{article} \usepackage[siunitx]{circuitikz} \usepackage{tikz} \begin{document} Resistance: \begin{circuitikz} \draw (0,0) to [R=$R$,*-*,v=$V_1 - V_2$] ...
1
vote
0answers
27 views

labeling of group of pictures using x and y axis

how can I create like the following figure ((in attached picture))?
1
vote
0answers
63 views

how to draw multiple graphs next to each other with labels

How to draw multiple graphs next to each other in a document? Also, how to name each graph with a label? One more thing is I need to show an dashed edge to intersect the graph edge, in that case how ...
1
vote
0answers
46 views

(Beamer) Highlight node/edge labels using onslide/only

So in my Beamer slides, I'm using this to highlight various parts of a tikz figure on different slides. \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{positioning,automata} ...
3
votes
1answer
79 views

How to label nodes in a Hasse diagram?

In this question I'm using the term label in the traditional sense of word. I clarify this because I'm under the impression that this is also a technical term within the TeX universe. The code ...
0
votes
0answers
19 views

how to make a plot with consecutive numbers in x and y axis? 1

Iam wondering how can I create a figure like the following figure in the picture below??! i would like to know how can i create the axis and how to label them with the required points as shown ...
-2
votes
1answer
69 views

LyX how to reproduce a label [closed]

What can I do in LyX to to reproduce (borders included) you can find a source file (.odt) for the label at address https://mega.co.nz/#F!x1Bx1QaB!wVg-o2BV_RX97PveXMpBGA
2
votes
1answer
26 views

Place overbrace/underbrace outside of a boxed-environment

Is there a simple way (without complex tikz or that stuff) to place an underbrace/overbrace outside of "boxed"-math environment? Would be great when the braces would have same height position outside ...
5
votes
1answer
48 views

Tikz node positioning in math-environment especially \frac

(this is my first TEX-question). I'm trying to label an equation within a tikzpicture. I did it this way: \documentclass[15pt,a4paper,headinclude, totoc]{scrartcl} ...
1
vote
0answers
22 views

Software to manage labelled objects for efficient cross-referencing (theorems, proofs, equationarrays, …)

Is there perhaps open-source software for managing labelled objects? I am looking for a BibDesk for theorems basically because I have rather many propositions and theorems floating around that I ...
2
votes
1answer
30 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
20 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
39 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 ...
2
votes
1answer
125 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 ...
3
votes
1answer
65 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
51 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 ...
5
votes
11answers
700 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.
4
votes
1answer
59 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. ...
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
37 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
73 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
25 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
42 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
33 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
55 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 ...