{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

Put parentheses by default when referencing an equation [duplicate]

I have this equation: \begin{equation} \label{eq:helicsol} x = y \end{equation} and then I have: As we can observe, the solution of \ref{eq:helicsol} and I get: As we can observe, the ...
2
votes
1answer
41 views

How to move amsmath equation label into LHS margin?

I am using amsmath and I would like to move the equation label into the left hand side margin aligned with the top of the equation. I have looked through the documentation but I can't find anything on ...
1
vote
1answer
15 views

References not working for \lstinputlisting

I may be doing something wrong but can't realize what... I want to set a label for a piece of code represented by: \lstinputlisting[language=Python, label={lst:control_os_call}, firstline=231, ...
3
votes
1answer
63 views

Drawing Sinusoids with Phase difference

My first goal was to draw sinusoid plots similar whit these images: This is what I've done (similar to one code in this forum): What I'd like to know is (if possible) how to change integral ...
3
votes
1answer
72 views

Tikz functions and coordinate system: Adding points and labels

I managed to adjust some of the existing code a little bit to fit my needs. I can plot simple functions. (1) I want to add labels to the coordinate system, for example e (~ 2.71) to the x-axes and ...
0
votes
0answers
29 views

labeling equations in an appendix [closed]

I recently added an appendix to my report and noted that the equations labelling is messed up. For example, when I refer to equation A.1 which was mentioned earlier in the appendix, it writes [12] ...
2
votes
1answer
26 views

pgfplots: change vertical position of node label in addplot

In the MWE below, how can I change the vertical position of the label associated with the curve? For example, if I wanted to put it below the curve? \documentclass{standalone} \usepackage{tikz} ...
2
votes
0answers
25 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
179 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
1answer
41 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
44 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
34 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
56 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
27 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
25 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
19 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
34 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
114 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
28 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
42 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
31 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
35 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
77 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
44 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
62 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
32 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
30 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
40 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
34 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
29 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
66 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
50 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
80 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
70 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
27 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
50 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
21 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
41 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
129 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
70 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
703 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
64 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
31 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 ...