Questions tagged [labels]

{labels} is about customizing the labels of {diagrams} and mathematical constructs like {matrices}. For questions about \label or similar commands, use {cross-referencing} instead.

Filter by
Sorted by
Tagged with
6
votes
2answers
4k views

How to create a figure with latex labels and handling transparency in gnuplot?

I am very fond of latex labels in my gnuplot figures, and the way I generate most of them is via the pslatex terminal. Here, I would like to take advantage of transparency in a figure (superimposed ...
6
votes
1answer
5k views

How to create a box with caption and label like a float?

I want to create a box (in which I put extra information for the reader) that behaves like a float. In other words, it should have a caption (outside of the box that says Box 1: Here is my box caption)...
6
votes
1answer
1k views

beamer, enumitem - enumerate ball label

So, i "need" to use the enumitem package in order to increase the allowed depth for itemize/enumerate. To use the ball like label in those listing environments, I've tried the following code : \...
6
votes
1answer
458 views

Hidden or Misplaced Node Labels when using Tikz Graphics Package

I want to place a node label onto a Tikz figure (underneath the axis at a specific point), in order to indicate some interesting behaviours on a selection of smooth curves. The following "Simplified ...
6
votes
1answer
937 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} \usepackage{...
6
votes
1answer
334 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 ...
6
votes
1answer
638 views

How to add labels to polar plot / polar comb in polaraxis and show FULL coordinates?

In pgfplots, I am trying to: for a first figure: label 12 polar plots plotted on the bases of 12 tables (values given in cartesian coordinates) without showing a legend but adding a label directly ...
6
votes
1answer
719 views

Equation tag in twoside-mode outer

At the moment I thinking about the following think. When I use the twoside mode to write a book I want to print the number of the equation outer. I can modify it manually with these two commands: \...
6
votes
2answers
1k views

Tikz and exponential style tick label

I have a particular question on how to properly modify the style of tick labels, to get them in exponential style. What I actually want to have is them to be of the style 10^n at the ticks ...
6
votes
1answer
407 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 ...
6
votes
2answers
281 views

tikz: label anchors robust with respect to negative scaling AND shifting?

I'm still struggling to position labels with respect to their anchors in a way such that the anchors are correctly transformed by negative scaling (mirroring). In thread tikz: label positioning that ...
6
votes
1answer
1k views

Add break node to plot in pgfplots

I was able to 'break' the vertical axis using pgfplots, but some issues came along with it: Most importantly, I can't find how to add the 'break sign' (the two parallel lines) to my plot as well, and ...
5
votes
2answers
1k views

Change “chapter” to “Chapter” - How to do this using autoref?

I am trying to change "chapter" to "Chapter" when autoreferencing the label I have looked for a solution and some comment in this closed question Change text in LaTeX chapter titles from "...
5
votes
3answers
3k views

Numbering many equations automatically plus allowing to add new equations

I'm facing a problem with my document that has many equations. The problem with the labelling issue if I decide to modify or add new equations. Basically so far, I'm using \label{eq4.1} where 4 for ...
5
votes
2answers
3k views

Label image as table in LaTeX

Complicated tables need to be included in my thesis, but it is easier to put images of them obtained through scanning from a book. Can I insert an image, but have it count as a table? One approach ...
5
votes
2answers
292 views

a recommended style guide for sustainable referencing in large documents

I am beginning to write more and more reports which are ever growing in size, typically about 60-100 pages, containing multiple sections, appendices, etc. However, I am finding my current system/style ...
5
votes
1answer
36k views

labels with tabular

The code is: \documentclass{article} \begin{document} Critical temperature for different Type I superconductors is given in Table \ref{Tab:Tcr}: \begin{center} \begin{tabular}{l l} material &...
5
votes
2answers
5k views

TikZ: slightly move edge label

In the MWE below, I would like to bump the label "10" up a bit so it doesn't overlap the line from B to D. There are several questions on stackexchange about edge label positioning but most are about ...
5
votes
2answers
360 views

Using variables in tikz node labels

Is it possible to define variables in LaTeX file and use the variable names in the tikz labels? I have a network diagram, that I want to create a table of IPs at the beginning of the file instead ...
5
votes
3answers
124 views

Label alignment to curve

I would like to align the label "Wave 1" to the center of the red curve in the vertical direction. I still want it to be placed the same way in the horizontal direction. See the picture. \...
5
votes
2answers
461 views

How to add different labels below nodes?

I have the following code and I want to make the count like 1,2,3 then 12 (the total number of neurons). \documentclass{standalone} \usepackage{tikz} \begin{document} \pagestyle{empty}...
5
votes
3answers
1k views

How to create exactly sized name labels for doorbell and letterbox?

How can I create exactly sized labels with centered text (horizontally and vertically) for my doorbell and letterbox with LaTeX? The labels need to have borders, so I can cut them after printing and ...
5
votes
2answers
2k views

PgfPlots with labeled plots extend outside the graph box

Sorry for the confusing title. The MWE \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[scale=0.75] \begin{axis}[ylabel=Y-Axis, xlabel=X-Axis, xmin=...
5
votes
2answers
67 views

Cross-referencing enumerate item

I need to cross-reference the item in enumerate. Here is what I have. \documentclass[12pt]{article} \begin{document} \begin{enumerate} \item Solve $x^2=1$. \item Solve $x^2=4$. \begin{...
5
votes
2answers
234 views

yticklabels on the right side of yaxis

Good morning! How can I put the yticklabels on the right side of yaxis? (Not in the right side of the picture, like here) This is the code that I use: \documentclass{standalone} \usepackage{...
5
votes
3answers
142 views

Tikz: Zero-padding node labels?

I define an array in the following way: \begin{tikzpicture} \def\n{10} \pgfmathparse{int(\n-1)} \foreach \x in {0,...,\pgfmathresult} { \foreach \y in {0,...,\pgfmathresult} { \...
5
votes
2answers
963 views

Decision Tree with Labels on Both Sides of Line

I am trying to generate a decision tree similar to this scanned example: Notice that some branches have text on the top as well as the bottom. I have not figured out how to do this. I can get text on ...
5
votes
1answer
8k views

x tick label style issue, anchor=east and text width command not working together

I have a figure where one of my labels is very long. I would like this label to be split to two rows. Currently my code is like this \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=...
5
votes
2answers
176 views

Start the content of an item on a new line after the item label in enumerate environment

How to have the full content of an enumerate item to start on a new line below the item label and number, and aligned to the left margin of the document ? This question is closely related to this ...
5
votes
2answers
1k views

How to label a code section in Sweave

I'm new to sweave and was wondering what is the appropriate way to label a code section. For example, if I have: <<echo= true>>= x<-5 y<-x+5 @ How would I get it to put a either ...
5
votes
1answer
2k views

repetitive footnotes

Is it possible to have the footnotes not to repeat in the same page and take the old number? In other words, even if the footnote labels are same, can the footnotes have same number. here is my MWE. ...
5
votes
1answer
2k views

Is it possible to have more than one label for a tikz node and use arrows for connecting nodes to labels?

\documentclass[border=100pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[circle, shading=ball, drop shadow, ball color=red!10!black, minimum width=4cm, color=white, ...
5
votes
1answer
1k views

Pgfplot/tikzpicture: modify ticks and labels

I would like to modify my tikzpicture: 1.) I added an extra tick at x=92, but this overlaps with the automatic tick x=100. How to solve this overlapping? Same problem for the second extra tick at x=...
5
votes
1answer
939 views

Two entries in “meta” section of a pgfplot

I need some help with this diagram: I would like to combine two entries in the “meta=” section. It should contain the {y*100}–value and the Label-value. Is it possible to add them somehow? In the end ...
5
votes
1answer
2k 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 ...
5
votes
3answers
61 views

Add a $\pm$ to the label in order to distinguish two different cases

I have an equation and I would like to label it in order to refer to it later on in the text, say \begin{equation}\label{eq1} f^\pm(x)=\ldots \end{equation} This labels the equation with, say, (1)...
5
votes
1answer
704 views

subfloat: how to position label to the left?

How can I make \subfloat put the labels to the left of the images? It seems it only supports "top" and "bottom". I am searching for a solution without using \tabular. Thanks and regards, Jorge. ...
5
votes
1answer
396 views

How to use e as base for log-axis labels?

I am using pgfplots with semilogyaxis. When I use log base y={e} the tick label numbers of my y-axis are displayed with base 10 in agreement with chapter 4.15.4 of the pgfplots manual (Revision 1.14, ...
5
votes
1answer
966 views

TikZ node label alignment

I started learning TikZ today, and I got to the following image: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{graphs,positioning,arrows,shapes.misc,decorations.pathmorphing} \tikzset{...
5
votes
1answer
93 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 ...
5
votes
1answer
494 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 ...
5
votes
1answer
1k views

How can one put labels over an image?

This question is slightly different from Drawing on an image with TikZ. What I'm asking is how can I put a vertex label, at a particular point (x,y), on an image of a graph in TikZ? \begin{center} \...
5
votes
1answer
1k views

How do I remove tick labels in latex using pstricks?

On my old Mac running OS 10.4.11, using TeXShop 2.26 I would use the pstricks package to draw figures. In those figures I had neither tick marks nor tick labels. I have recently switched to a new ...
5
votes
1answer
80 views

Can labels be “reset”, so the same file can be inputted multiple times?

I am trying to implement LaTeX at my company to avoid a lot of manual work and errors 😊 A report contains the same section multiple times – with only several component “tags” varying. The tags ...
5
votes
1answer
135 views

width of (\alph*) labels

I made a list using enumitem and \begin{enumerate}[label=(\alph*)] ... \end{enumerate} The resulting labels are, to me, annoyingly uneven. Notice that (b) is much wider than (c) in the image below. ...
5
votes
1answer
251 views

Nested arabic enumeration without last dot

I like to change the labeling of an enumeration to the following structure: 1 First Item 1.1 First Sub-Item 1.1.1 First Subsub-Item 1.1.2 Second Subsub-Item 1.2 Second Sub-Item 2 ...
5
votes
2answers
156 views

Repeated “Label(s) may have changed” when using \catcode`_=12 underscore hack with hyperref

This MWE produces repeated Label(s) may have changed warnings despite the output files not changing. The same problem has been discussed in How to diagnose a permanent "Label(s) may have changed&...
5
votes
1answer
1k 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 ...
5
votes
3answers
679 views

How can I Insert Additional label on the z-axis in ternary diagram?

I need help on how I can insert additional label X_{Bi} on the z-axis of the subfigure in my ternary diagram. In the example shown below I can only insert it at a location too far away from the middle ...
5
votes
1answer
2k views

Use math font for TikZ arrow labels

I am trying to make arrow labels look like they are written in math mode. This is what I have: This is what I want , I tried to use different fonts but without success. This is my code: \begin{...