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
2
votes
2answers
234 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
65 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
64 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
42 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
27 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
189 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
22 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
108 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
159 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
60 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
34 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
35 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
43 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
81 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
115 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
37 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
52 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
39 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
23 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
41 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
85 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
81 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
31 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
45 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
50 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
38 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
27 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
36 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
35 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
54 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 ...
0
votes
1answer
41 views

Print pages with refs [duplicate]

Is there a simple way to print page-numbers that contain \ref{something} next to each \label{something}? (For a long time I am working on a long text, and want to know maybe some statements are not ...
3
votes
2answers
116 views

Place a Tikz node on an arrow in a chemfig reaction scheme?

I need to find a way of putting a Tikz node inside the label of a reaction scheme, allowing me to represent the electron movement from a reagent to a catalyst, such as in this situation: \...
0
votes
0answers
15 views

hyperlink item in list with corresponding part in (svg) image

I need to hyperlink item in list with corresponding part in (svg) image or vice-versa. Based on the available options, only page links can be added in svg image for each object; but not to specific ...
3
votes
1answer
41 views

I want a different \ref for \section than the numbering

I have the following section numbering \renewcommand{\thesection}{\Roman{section}.} I introduce a section by \section{Literature Review}\label{sec:lit} and get "II. Literature Review" Now,...
1
vote
3answers
85 views

label arrow for tree diagram

Kindly I want to ask how I can plot a diagram like the attached one on latex? Thanks Here is what I have already done: \begin{tikzpicture}[>=latex'] \tikzset{block/.style= {draw,rectangle,...
2
votes
1answer
64 views

Reftex and \include*{sections/sec} - how to get it to work?

I have a multi-file LaTeX project with statements like \include*{sections/sec1}. Reftex does not find the labels defined in the included files. When switching to the unstarred variant \include{...
2
votes
1answer
109 views

Equation too long -> label appears in next line

I have the following long equation and I want to label it but unfortunetly it appears to be too long so the label appears in next line. How can I fix this? \documentclass{article} \usepackage{amsmath} ...
3
votes
1answer
29 views

How does the LaTeX reference mechanism associate text with a label?

In my LaTeX document I have created a sidebar environment that is implemented like this: % Usage: % \begin{sidebar}{title} % text % \end{sidebar} \usepackage[framemethod=default]{mdframed} \global\...
1
vote
0answers
33 views

Labeling the thequestion and the parts in a storing box

I'm a typesetting tests with key answers. The questions have parts. What I want is to make \thequestion appear only once and the \thepartno follow without the question label. For example: Question 1 - ...
2
votes
1answer
32 views

How do I achieve correct placement of the xtick labels in this pgfplots example without losing any?

In the following code for a pgfplots bar chart, I use explicit xticklabels because I want simple integer labels, not exponentials or not-quite-right integers derived from them. But that means I also ...
0
votes
0answers
32 views

Adding a label to graphic inside a longtable

There are multiple images in my long table environment, however I could not find a way to correctly label all the images in this long table. \setcounter{ltrow}{0} \setlength\LTleft{-1cm} \begin{...
1
vote
1answer
26 views

Labeling multi-line equation not working as expected

My aim is to set the label of the following equation to right as usual. The difference is that here I have two lines which messes this labeling up. \documentclass[12pt]{article} \usepackage{amsmath} ...

1 2
3
4 5
28