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

Labels Numbering Chapter.NR

What I am trying to do Is to have more precise Labels next to my equations which I reference later. Currently, all I get is (1),(2), usw. what I would like to have is (1.1) for the first label in the ...
user avatar
3 votes
2 answers
72 views

Target of \label placed inaccurately by hyperref

I have a line like '\begin{thm}\label{tPrimes}', where thm is defined using \newtheorem. It generates a line starting with 'Theorem 1.2' in bold. It seems that the target defined by \label is always ...
user avatar
  • 31
1 vote
1 answer
95 views

Why do my equation labels print with question marks?

I have a problem because when I add labels to equations (Pic.1), they appear in the margins of the text (Pic.2). If I do not add a label it gets a question mark in the margin. Unfortunately the ...
user avatar
0 votes
0 answers
22 views

Problem using label and witharrow packages

I have a problem when I try to label and reference my equations when I use the package witharrows, and I don't know how to fix it. If someone knows how to fix it it would be really helpfull. Here I ...
user avatar
1 vote
2 answers
52 views

How to remove the caption label and number (say, "Figure #" ) from one specific figure in revtex4 document of Latex?

I am preparing a report in revtex4 document of Latex. Can someone please help me to remove the figure label and number of one specific figure in my document? I tried and successfully did using the \...
user avatar
0 votes
1 answer
50 views

Labeling "a" and "b" on figure with multiple "\includegraphics" (without using actual "subfigure" entries)

I wish to add two panels to a single figures as follows, without using "subfigure" entries: \begin{figure}[t!] \includegraphics[width=1.0\linewidth]{Figa.eps} \includegraphics[width=1....
user avatar
0 votes
1 answer
52 views

Latex error: Table label is undefined

I generated some tables with Stata for inclusion in my Latex report. However, for two regression tables, no matter what I do, I cannot refer to these tables. I have successfully generated several ...
user avatar
0 votes
0 answers
15 views

How to get different counting lables for different grouped pictures?

I was thing something along these lines: blabla picture of a gold fish Fish 1: gold fish blabla picture of a dog Mammal 1: dog blabla picture of a shark Fish 2: shark blabla picture of a horse Mammal ...
user avatar
0 votes
1 answer
37 views

Using \label and \pageref with formatted page numbers seamlessly

I have a complicated document (book, really) with multiple formats for page numbers based on different divisions of the book (roman, arabic, and then things like 1*, [1], and <<1>>). Each ...
user avatar
0 votes
0 answers
63 views

Is it possible to use \label with tcbtheorem?

I would like to simply update my preamble to use tcolorbox for theorems without needing to manually remove the \label{} found after every \begin{theorem} or to replace the optional argument ...
user avatar
0 votes
0 answers
36 views

Missing tick labels

Texstudio seems to be suppressing tick labels (numbers) in pdf plots generated in Matlab. I need tick labels. PDFs look fine.
user avatar
  • 1
1 vote
1 answer
48 views

Adding text above and under nodes

I have following figure \documentclass[border=0.9cm]{standalone} % More defined colors \usepackage[dvipsnames]{xcolor} \usepackage{amsmath} % Required package \usepackage{tikz} \usetikzlibrary{...
user avatar
  • 89
2 votes
4 answers
51 views

How to pass the value of a command for a key (xticklabels and yticklabels of an axis environment for pgfplots)

I have a square matrix plot with identical x and y ticks and tick labels, for which I hope to use a pre-defined command to avoid repeating xticklabels and yticklabels with the same value "{A, B, ...
user avatar
  • 21
2 votes
0 answers
62 views

captionsetup works for one table but not the other

I've adjusted my question below: \documentclass[man]{apa7} \usepackage{array} \usepackage{float} \usepackage[singlelinecheck=false]{caption} \restylefloat{table} \renewcommand\thesection{\Alph{...
user avatar
  • 21
1 vote
0 answers
32 views

Figure referencing using \autoref takes the cursor to the caption

In overleaf after importing package hyperref like this: \usepackage[colorlinks=true, linkcolor=black, citecolor=blue, urlcolor=blue]{hyperref} I am using the figure environment adding a label after ...
user avatar
0 votes
1 answer
26 views

\tkzPointShowCoord not showing its xlabel

I'm trying to plot a std normal distribution filled to a certain point $z_\alpha$, the problem is that \tkzPointShowCoord label doesn't appear in the plot, the following is the code i used: \...
user avatar
0 votes
1 answer
57 views

Using \ul{} (from soul package) with referencing labels (\nameref)

I have this following code: \documentclass[12pt]{article} \usepackage{hyperref} \usepackage{soul} \usepackage{blindtext} \begin{document} \section{Introducton} \label{sec:intro} \blindtext{} \...
user avatar
0 votes
1 answer
41 views

How to label an msc diagram

Maybe this is a rudimentary question, but I quickly skimmed through the msc (message sequencing charts) documentation and there's no mention of labeling the msc diagram itself. I want to label an msc ...
user avatar
1 vote
1 answer
38 views

Indentation with custom labels

I need help please with indentation within a description list where custom labels are being used. The mwe below shows my problem. Thanks! \documentclass{article} \usepackage{enumitem} \setlist[...
user avatar
  • 31
0 votes
0 answers
47 views

interrupting and resuming subequations 2

I used the same title as the original post because it seems correct to me. After some time I have the same problem that I cannot solve properly. I made many attempts before writing and tried different ...
user avatar
  • 533
2 votes
1 answer
259 views

Overleaf citation multiply defined with A&A class file

In Overleaf, when citing a reference within the document class aa from the A&A Latex package (from the journal Astronomy and Astrophysics) and compiling with TexLive2021, I get a warning Package ...
user avatar
  • 133
3 votes
2 answers
89 views

Text label in MetaPost: language support

I am working with the example: beginfig(1); label.urt("Текст на русском.", origin); label.llft("Text in English.", origin); endfig; The output contains: Missing character: There ...
user avatar
  • 515
0 votes
0 answers
18 views

Define arguments of custom command as label so autocomplete picks it up as labels

With texstudio, there is a nice autocomplete feature for labels. I created a custom command where I pass two labels as arguments. Since they are just regular command argument, there is no autocomplete....
user avatar
  • 101
0 votes
0 answers
23 views

Reference to the figure on the word [duplicate]

I would like to put a link to a figure on a specific word. In my case a link on a person's name linking to table figure with his biography. Could you help?
user avatar
2 votes
2 answers
117 views

labels with faIcon and arrow positioning

How can I move the (above and below) arrows a little closer to each other?, and How to put labels under the \faIcon symbols? \documentclass[a4paper]{scrartcl} \usepackage{amsmath,amssymb,amsfonts} \...
user avatar
  • 517
0 votes
0 answers
37 views

TIKZ3D - Drawing arc with superimposed label

I would like to receive some help from you. I've been able to add the label for a vector in the middle of the arrow itself in tikz3d by using a command like \tdplotsetcoord{Mp}{\rvm}{\phm}{\thm} \path ...
user avatar
  • 197
0 votes
1 answer
41 views

Reference to figure is undefined

I am writing a research paper and the issue that I am trying to resolve is related to referencing a figure. The warning in the editor says: Reference fig:fig5 on page 2 undefined input Now enter a ...
user avatar
0 votes
0 answers
32 views

wrong direction to an equation below a tagged one

I put a tag into an equation for example: \begin{equation} \label{eq1} \tag{A} a = b \end{Equation} Below this equation I have other numbered equations, lets call one of them \label{eq2}. On the next ...
user avatar
1 vote
2 answers
47 views

How to make labels non-italicized in tikz-cd?

I have the following LaTeX code: \tikzcdset{every label/.append style={font=\normalfont\scriptsize}} $$ \begin{tikzcd} G\arrow[r, "\alpha"] \arrow[d, "{onto}"] & G'\\ G/N\...
user avatar
1 vote
2 answers
55 views

Struggling to have 3 formulas in the same line

Wondering if anyone can help with the below. Basically I would need the 3 formulas with the correspondent reference in the same line. For Precision formula I would need the (2) like the (1) is in ...
user avatar
  • 11
3 votes
2 answers
78 views

MetaPost: does btex ... etex support any LaTeX command?

I am running a MetaPost sample as follows: beginfig(1); label.(btex the \emph{sum} is $\sum\limits_{n=1}^{+\infty}a_n$ etex, (3cm, 3cm)); endfig; end; by mpost main.mp. In the log there is a message !...
user avatar
  • 515
1 vote
3 answers
75 views

pgfplots add xtick from array

I have \points array and I want to add xtick and ytick on my axis automatically from it. How can I do that? \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \def\...
user avatar
  • 1,928
0 votes
1 answer
60 views

Label a slide in a frame

Suppose I have a frame in which bullet points are going to be shown one after the other. Is there a way I can attach a label to each \item in the enumeration in such a way that when I reference it ...
user avatar
2 votes
1 answer
40 views

Allowing \label to contain \&

relates to What are the valid names as labels? . \newcommand{\keyword}[1]{\textbf{#1}\label{KW:#1}\pageref{KW:#1}} works just great for almost any text...until one wants \keyword{S\&P~500}. The ...
user avatar
  • 3,271
1 vote
2 answers
47 views

On the strange label location using node, anchor and resistor

Let us assume that we have 2 resistors one on the positive x axis and the one on the negative x-axis, shown below: I want to label them by Rusing a node whose south anchor located at the north anchor ...
user avatar
  • 1,491
0 votes
2 answers
67 views

How to set the label of each sub-figure in its correct position? [duplicate]

I want to insert the label of each sub-figure in its correct position. Fig1: Therefore, I want the label of the sub-figures to be the same as the fig.2, and the location of the caption to be the same ...
user avatar
  • 231
1 vote
1 answer
58 views

Plot line in Kiviat’s graph hides the background text

The following is the hexagonal Kiviat’s graph from tkz-kiviat package. Though the plot made is fair enough, but the lines of the plot hide the background text. I used stackengine and adjustbox ...
user avatar
1 vote
1 answer
31 views

Unable to compile a document containing autoref to figure labels using xelatex

When I try to build my document using xelatex when \autoref tries to reference a figure label % !TEX program = xelatex % !TEX options = -shell-escape -interaction=nonstopmode %DOC% % !BIB program = ...
user avatar
1 vote
1 answer
58 views

Plotting Radix-2 graph for FFT in tikz

I'm working on a FFT presentation and for that I need to replicate the following graph: I browsed through similar questions on this forum and came up with this: \documentclass[tikz]{standalone} \...
user avatar
3 votes
2 answers
111 views

[greek]babel + cleveref + Roman pagenumbering + label = ☇

Feeding \documentclass{article} \usepackage[greek]{babel}%%% greek should not necessarily be the main language; e.g., [greek, ngerman] would also expose the bug. \usepackage{cleveref}%%% option [...
user avatar
3 votes
1 answer
40 views

Automatic enumeration after customizing one item (\enumerate)

I have a numbered list, labeled: (1), (2), ... (see photo) I would like to have a * after some of those numbers (not all of them), as shown on the photo. I have done it by using command \item[(2)*] (...
user avatar
  • 77
4 votes
2 answers
53 views

Give a name to \ref but not the name of the section - LaTex

I try to learn LaTex via TexStudio on Ubuntu. I need to reference to a paragraph like that: \paragraph{Théorème 5.}\label{theoreme5} And I need that: \section{Preuve du Théorème \nameref{theoreme5}} ...
user avatar
1 vote
0 answers
29 views

Beamer: Hyperref moves to wrong position in target frame. Where is the "error"?

I want to navigate to specific frames in my document, using hyperlink and labels. In the attached code, when viewing the PDF (with okular or evince) in a small viewer window that fits exactly one page,...
user avatar
0 votes
0 answers
20 views

List of subfigures without the figures - wrong page numbering

I'm a beginner and I made the mistake of using subfigures to place my images where I wanted them to be. Now, I'm trying to make a list of subfigures only. I've managed to remove the figure caption ...
user avatar
0 votes
0 answers
25 views

KOMA script : appendix TOC with etoc package wrong label names

I use the etoc-package together with KOMA-script class scrreprt to create a appendix sub TOC. This sub TOC lists all appendices on section level down to subsubsections. The appendix titles are not ...
user avatar
0 votes
1 answer
37 views

define specific labels and create a table of contents of them

I wanna create several labels with specific keyword and I use in text and after that, I create a table of content of this label to mention page that it is defined For example, I wanna define this ...
user avatar
2 votes
1 answer
41 views

Cross-referencing multiple non-consecutive figures and subfigures

I'm trying to create clickable figure references in the hyperref environment, and I'd want the following output format: "... as seen in Figures 1.1a, and 1.2a-b". For custom references I've ...
user avatar
  • 57
1 vote
0 answers
40 views

I'm looking for general code to get labels the same orthogonal distance from their lines in a forest probability tree

I've got this: \documentclass{article} \usepackage{forest,tikz} \forestset{ ptree/.style={ for tree={ grow'=east, %grow' reverses direction of reading...for horizontal to the ...
user avatar
2 votes
1 answer
50 views

Labeling in tikz

Now I have Figure 1 from the below code. I want to get Figure 2 (adding labels). How to add these things in tikz? Figure 1 Figure 2 Code for Figure 1 \documentclass[11pt]{article} \usepackage{tikz} \...
user avatar
  • 23
2 votes
1 answer
42 views

Line Break in Tikz Arrow Label

My goal is that, in the image shown below, that the label below appear on the line below above;, directly under above;. I've used \\ (and some other ideas) to try to achieve this (as shown in the ...
user avatar

1
2
3 4 5
31