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.
1,331
questions
0
votes
1answer
30 views
Can Overleaf accommodate pre-fixes for xr-hyper (e.g, \myexternaldocument[ext1-]{path…})
Short version: when using xr or xr-hyper on Overleaf, is it possible to add prefixes to external documents to avoid multiple defined labels (as defined here)?
Longer version: I'm drafting a review ...
0
votes
0answers
78 views
tikz drawing perpendicular line
I copied and pasted some code from another thread on this forum, and it has worked, however I am unsure how to change the length of the line. On the attached image, the line is the one labelled H(X,T)....
0
votes
0answers
15 views
Skip or ignore label for a problem (probsoln package)
I'm using probsoln package to create a long exercise list (about 200 problems). I already have the exercises written in Latex in code and I wrote an external file "topics1.tex" which has the ...
0
votes
1answer
73 views
List all bookmarks added with \hypertarget for named destinations
I add bookmarks to all sections in my project in the following way:
\section{Introduction}
\hypertarget{intro}{}
Some text.
I use these bookmarks later in URL links https://example.com/my-document....
0
votes
1answer
28 views
Changing the size of an angle label
I have the following code:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows, angles, quotes}
\begin{document}
\begin{tikzpicture}[
axis/.style={densely dashed,gray,font=\small},
...
1
vote
1answer
26 views
Customized figure references in latex?
Reading a paper where authors have labels (red circles) in a figure and they are able to render the labels in the figure reference in the text as well. Thought this was pretty neat. Can someone reveal ...
0
votes
0answers
30 views
Annotating / Labeling an Image with tikz-imagelabels and adding a custom style
I want to use the TikZ package tikz-imagelabels in conjunction with these types of labels I found used in a pie-chart demo but I have absolutely no idea where to start. Im not so good with TikZ to ...
0
votes
1answer
38 views
How to move Equation Number?
I'm trying to write a paper and I can't get some of the equation numbers to fit into a nice place. Here's a minimal working example:
\documentclass[%
reprint,
amsmath,amssymb,
aps,
]{revtex4-1}
\...
1
vote
1answer
38 views
Newline in tikzpicture
How do I get the edge from q5 to qA to break into two lines? I looked at other posts and nothing seemed to work.
Edit: Added macros and formatting
%=====================================================...
4
votes
1answer
56 views
labelling matrices in latex
I am doing this:
\[
\begin{blockarray}{cccc}
basal & prism & \pi_1 & \dots \\
\left(
\begin{array}{cccc}
Q^b\left(\begin{array}{ccc}
h_{1}^b & h_{2}^b & \dots \\
h_{2}^b & h_{1}...
0
votes
1answer
14 views
How could I “adjust” (in authomatic way) the way in which a reference to an appendix result appears? Could that be customized? (A.1 vs 1)
In the following lines of code (a MWE), I intend to have appendix results named like A.1, A.2, etc. (see line "\newtheorem{APP.}{A.}").
\documentclass[12pt,oneside,english]{report}
\...
3
votes
3answers
187 views
Receiving a wrong output from \ref when \ContinuedFloat is involved
I get my custom numbering scheme in captions in the following form:
Figure A.1.5
the "5" is the chapter counter,
the "1" is the figure counter,
and the "A" is the ...
2
votes
2answers
200 views
Graphing correctly a quadratic function
I have the following MWE
\documentclass[tikz,border=2mm]{standalone}
\begin{document}
\begin{tikzpicture}[domain=-1:6]
\draw[very thin, color=green, step=0.2cm](-2,-3) grid (7,11);
\draw[color=cyan](-...
0
votes
0answers
6 views
Package acronym: Other label for Acronym
i made a list of acronyms (Package acronym):
\begin{acronym}
\acro{SAP JCo}{SAP Java Connector}
\acro{RBG}{Regalbediengerät}
\acro{RBG-GEN}{Regalbediengerätes}
\end{acronym}
I used a ...
0
votes
1answer
51 views
Babel multiple language and chapter labels
I am writing a Ph.D. thesis that is written in english but should contain one chapter in french. I tried to add multiple language support, using:
\usepackage[french, english]{babel}
But if I do that, ...
0
votes
1answer
47 views
tikz-plot label and ref in beamer inside only overlay
MWE:
\documentclass{beamer}
\usepackage{pgfplots, pgfplotstable,stackengine}
\begin{document}
\begin{frame}{Frame Title}
\only<1>{}
\only<2>{
\begin{tikzpicture}
\begin{axis}
\...
1
vote
0answers
37 views
Problem with refcheck and eqbackref
I tried to use the \eqbackref package mentioned in this post. It works pretty well until I combine it with the \refcheck package. If I also load the \refcheck package, then the labels <eqbr0> ...
0
votes
1answer
25 views
Package xr prints ref number then label
Here's my MWE.
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[margin=2.4cm]{geometry}
\usepackage{%
amsmath,
amsfonts,
amsthm,
mathpazo,
tgbonum,
xr,
...
2
votes
3answers
180 views
Tikz: Labeling around a circle and drawing concentring arrows
I have the following code:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{math,arrows.meta}
\begin{document}
\tikzmath{\radiusarrow = 3;
\radiusmax = 4;}
\centering
...
0
votes
1answer
19 views
Label and reference in inline mode and enumerate environment
I would like to generate the following list:
Here the equations are inline and labelled with numbers for later \ref.
I have tried using \begin{aligned} after \item to create an inline math ...
0
votes
1answer
96 views
matlab2tikz - problem with german letters - ä, ö, ü, \cdot and r_N
I'm using matlab2tikz the first time and get some problems with the first graph. I could seperate the problem. In the moment, I insert german letters like ä, ö, ü or special code like \cdot and r_N in ...
0
votes
1answer
52 views
How to label an array?
How do I label an array? The label can be anywhere on the right side. I can't find a \label in the array documentation.
2
votes
1answer
46 views
pgfplots: how to bring all node plot annotations to top in proper way?
I'm plotting many almost parallel lines (in the MWE I'm just plotting random stuff), where I am using the very convenient node[pos=0.x]{label} option to annotate my graph.
The issue is, that multiple ...
0
votes
0answers
31 views
Best practice labeling (unreferenced) equations in latex
when writing texts where there is a lot of math, should I label all equations with a number or is it more appropiate to only number the equations that I refer to in the text? Sometimes I get into ...
0
votes
0answers
31 views
Add text at a particular location inside a figure?
I want to add text, such as (a), at a particular location, in the northeast corner, inside a figure with a subfigure environment. I am using the \subcaption package.
\documentclass{article}
\...
0
votes
0answers
34 views
Reference incremented labels of figures automatically
Is there any way to make Figures-label with automatically incremented counter.
I have this code:
\documentclass[10pt,a4paper,openany]{book}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\...
2
votes
2answers
39 views
How can I enumerate theorems using letters for specific sections?
For example, in the appendix, I want to enumerate theorems as Theorem A.1, Theorem A.2, etc... while in the text I enumerate theorems as Theorem 1, Theorem 2, etc...
How can I do this? I am using the ...
1
vote
2answers
72 views
tikz and nodes drawing
I would like to extend this "nodes" example by adding 6 more nodes but I could not see the logic behind this sample code. I could not get the relations of (a), (b) and (c) and how they are ...
1
vote
1answer
69 views
Automatic Labelling of objects in IPE
IPE is an extensible drawing editor for creating figures in PDF format. It is a tool with which you can easily draw figures that can be later included into your LaTeX project easily, without having to ...
0
votes
2answers
33 views
out of order table of contents entries with pdfpages
currently i am in a situation where i have inserted some pages via includepdf, followed by additional \includepdf calls that use the addtotoc function, as follows:
\includepdf{pdffile1}
\includepdf{...
0
votes
1answer
41 views
linking specific page of document with pdfpages' linktotoc option
i am wondering if there is an easy way to link a specific page of a document added via pdfpages.
for example if i have:
\includepdf[addtotoc={1, section, 1, sectionname, sectionlabel,
...
1
vote
1answer
36 views
Vertical alignment of inline labels in pgfgantt
It seems that pgfgantt is vertically aligning inline label by automatically taking into account the space for descenders:
\documentclass{article}
\usepackage{pgfgantt}
\begin{document}
\begin{...
0
votes
0answers
22 views
labels with debug information [duplicate]
On macOS, I tried the following:
\begin{tikzpicture}
\pie{47/Rice,32/Wheat,22/Other}
\end{tikzpicture}
What I observe is not what I expect with labels:
It is like there is some debug info attached to ...
2
votes
1answer
22 views
Different labels for different aligned parts of an equation
What is the best way to write something like this
\begin{equation}
A=
\left\{
\begin{aligned}
& B\\
& C
\end{aligned}
\right.
\end{equation}
but with two different labels (i.e. equation ...
0
votes
1answer
17 views
How to eliminate number labels from two-column bibliography
I found a code snippet for a two-column bibliography in this answer:
\usepackage{multicol}
\makeatletter
\renewenvironment{thebibliography}[1]
{\begin{multicols}{2}[\section*{\refname}]%
\@...
0
votes
0answers
27 views
Create new environment for graphics with list of graphics
I need to create a new environment for a set of graphics figures, with counter on the caption so I can generate the list of all graphics like that :
\begin{graphic}
\begin{center}
\caption{Title of ...
1
vote
1answer
48 views
How to reference diffirent type of figures (i.e. “figures” and “plates”)
I would like to add 2 types of figures in my document (with different counters)
Figures
Plates (if general, would be possible to differentiate between B&W, Color plates...)
I don't understand ...
0
votes
1answer
56 views
How to label an equation at the end of a line
What is the easiest way to label an equation at the end of the line? I have encountered
\label{eq1}
for the first equation and so on. Is there a simpler way?
1
vote
1answer
63 views
How to Change Autorefname of Subfigure
I currently started to use the subfigure command instead of minipage to arrange several figures. I am using the subcaption package to do so. Now subfigure (other than minipage) references in the ...
1
vote
1answer
22 views
Point label only partially visible in PGFPlots
I want to add a label to the following plot, but due to the axes being small I can only see a part of it. Is there a way of adding "virtual space" to the plot so I can see the whole label? ...
0
votes
0answers
30 views
Decrease the distance of the labels: TikZ-Feynman
At this link I have given an answer with this MWE:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}
\usepackage[compat=1.1.0]{tikz-feynman}
\begin{document}
\feynmandiagram [...
2
votes
1answer
41 views
Strange label with TikZ-Feymann package and difficulty in math-mode
Starting from a recent answer
with this MWE:
\documentclass[a4paper,12pt]{article}
\usepackage{amssymb,amsmath}
\usepackage{tikz-feynman}
\tikzfeynmanset{compat=1.1.0}
\newcommand{\virgola}{\smash{\...
0
votes
1answer
47 views
How can label an edge of a tree which was manually added?
One can use TikZ to create a tree manually , or use the forest package to make the process easier. Below I show how I can use the forest package to create a binary tree, and turn it into a recombinant ...
0
votes
1answer
35 views
Labeling and referencing subsequent equations after adding a new equation before them
I have a finished document with labeled equations and their respective references.
If I update this document by adding a new equation in the middle of the text, would there be a way of both labels and ...
0
votes
1answer
26 views
Table numbering mismatch in 4 tables , where one of them is longtable
4 tables are here. The caption and label of table 1,3 and 4 are outputted as table 1, 2 and 3. But table 2 is a longtable and its table label is not showing. How to output their table label and ...
1
vote
1answer
31 views
Hyperlinks to tables that are in Appendix do not work well
In my Thesis I have to add suplementary tables into Appendices. I have to referenced them in the text outside Appendices. There are some hyperlinks that works well, but others, like the example that I'...
1
vote
0answers
32 views
How do I change the label of my Hypothesis? [closed]
For the hypothesis, I am currently coding as follows:
\begin{hypolist}
\item Learning Capacity Hypothesis...
\end{hypolist}
I want the "title" of my hypothesis to be "Learning Capacity ...
0
votes
1answer
17 views
Providing references through a file
Does anyone know how to provide references through a file rather than by compiling labels? Specifically, I want to compile only a specific part of a LaTeX file into a PDF, but I want to make sure that ...
2
votes
0answers
13 views
Referencing multiple labels at once
I would like to reference multiple labels in one reference, like it is possible when citing bibliography using the IEEE Standard. When citing, one is able to use:
This is a statement \cite{...
0
votes
1answer
49 views
Suppress section number, keep label
I'm looking for a simple way to use \label and \section* simultaneously. My goal is to have an unnumbered section with a label to be able to \autoref it.
The problem is: \label does not work when ...