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
0answers
6 views

problems with histogram labels and legend

I am having problems adding labels aligned to axis x and y. When I implement xlabel/ylable in the code they do not show. Furthermore, I would like the legend font to be smaller and the command \...
0
votes
1answer
17 views

\setlabel from chemnum package changes font size when used referred to in text

Good evening, I am using \setlabel from the chemnum package to rename some of my figures and make them contain references to other labelled compounds (\cmpd). \documentclass[a5paper, 11pt, ...
0
votes
1answer
22 views

How to add caption and label in tabular while using strip environment?

I am using IEEE Access template to write the paper and in the middle of the page, I need to insert a table that spans across both columns. Therefore, I used strip. The output I am getting is shown in ...
2
votes
1answer
62 views

Table of labels

I want to refer to particular items in my document, which I call "Action Points". I created a counter for them, and I want to create a "list of Action Points", in the same way the list of figures is ...
1
vote
1answer
19 views

Assing specific shifting values to yaxis tick labels and keeping 'apparent' separation distance

I want to make specific tick labels on yaxis to shift far enough so they do not overlap bars in a stacked bar chart, but also I would all labels to keep the same 'apparent' separation distance (this ...
0
votes
1answer
17 views

Equation cant be referenced - split environment

i'm currently working on using the equation environment in combination with split. I later want to reference this equation with only one number, but it simply doesnt work \begin{equation} \left\{ \...
40
votes
3answers
50k views

How to place a textnode at the center of a drawn rectangle

A rectangle label does not appear inside the rectangle but on the corner of it. \tikzstyle{every node} = [align=center] \begin{tikzpicture} \draw (0, 0) rectangle (2, 2) node [center] {label}...
1
vote
1answer
38 views

label generated by macro in LaTeX

I built myself a macro for some tables to get them all in the same style. In my document body I wanted to reference to some of these tables, so in my macro they get a label. Unfortunately it always ...
0
votes
1answer
27 views

Spanish and Russian in one thesis

I'm working on my math thesis and need some cyrilic symbols, so I added \usepackage[spanish,russian]{babel} but the rest of the text is in spanish. Now, every "proof, image, bibliography..." is in ...
0
votes
1answer
35 views

Label intersection point of two curves in pgfplots

I want to label the intersection point of the green and red curve. Anything I tried didn't work. Can somebody help me? This is my code so far. \usepackage{pgfplots} \pgfplotsset{compat=1.11} \...
0
votes
0answers
25 views

Labeling equations in a proof environment

I have to write the equation shown below in Latex and I am using {\begin{equation} a=b \label{eq:1} \end{equation}} and it comes: I need to label the equation without appearing {eq:1} Note that ...
2
votes
2answers
524 views

Access the original label in cleveref's \crefformat

Can I access the original label in cleveref's \crefformat? In this MWE, I am trying to get the same output as in the first line, but with the second line: \documentclass{article} \usepackage{...
4
votes
2answers
65 views

Problem with “numcases”

Please I need to create a formula with specific emplacements, something like I used \usepackage{cases} with the "numcases" environment: \documentclass{article} \begin{document} \usepackage{cases} \...
1
vote
0answers
26 views

How do I cause a long label in a description environmnt to wrap? [duplicate]

I am using a description environment, and one of my labels is very long \begin{description} \item[A very long label that I would like to wrap rather than overrunning the right margin as it currently ...
1
vote
1answer
25 views

Making labels with symbols in pgf plot optional — TeX error: Missing \endcsname inserted

I am trying to create a custom plotting command that optionally creates a label. For this I use the ifthenelse package -- though there might be better ways, it works for me. The problem occurs when I ...
0
votes
1answer
24 views

lyx: how to set the output label of my figures and table

Hy, I used (in 2011) Lyx to compile my PhD. I have to recompile it today, but I have an issue in style. My table and figure label are written in 2011 like: FIGURE 1.1: my description TABLE 1.1: ...
3
votes
1answer
148 views

Need Recommendation for creating honey label in LaTeX [closed]

I am an MS student in computer science and engineering at the University of Dhaka, Bangladesh. Alongside my studies, I have a business of honey. I want to stand my honey as a brand. I also decided my ...
1
vote
2answers
40 views

Multiline equation: Reduce size and center numbering

The size of this equation is limited by the column (2-column article). I'm trying to get the equation no. at the center (between both lines), which would mean making the equation smaller. I usually ...
1
vote
1answer
79 views

How to create a net with colored edges?

I am trying to create a diagram to explain a mathematical structure which can be summarized as a binary lattice embedded in a net. Essentially the net has a set of nodes on the top and a set of nodes ...
0
votes
0answers
48 views

I want a good explanation of how to use \ref , \tag , \label when dealing with texts and equations and mathematical proofs?

I don't have experience with how to deal with \ref, \tag and \label, and how they work together and on their own.
1
vote
1answer
40 views

Styling parts of document depending on section

How can I define section styles in a cls file based on the title of or label associated with a section? I don't have control over the content of the tex file other than knowing a minimal subset of ...
0
votes
1answer
56 views

Subfigures with captions for thesis using \subfigure package

I want to put two figures side by side with their sub captions for my thesis. The template has the package \subfigure included, thus I cannot use for example \subcaption. If I use the following code: ...
1
vote
1answer
28 views

How to add a label in the middle of a section and that refers to this place and not at the beginning of the section

Of course without creating a new subsection. \documentclass{article} \usepackage{blindtext} \usepackage{hyperref} \begin{document} \section{One} \label{sec:one1} \blindtext\\ ...
1
vote
1answer
38 views

Adjusting some labels in a circuitikz

The following produces output very close to what I would like: \begin{circuitikz} \draw (0,0) to[short,l=2.95 GHz] (0,0) to[bandpass,>,l=BPF,a=2.95 GHz] ++(3.5,0) ...
1
vote
1answer
42 views

How do I label angles?

I have the following command: \begin{tikzpicture} \draw (0,0) node[anchor=north]{$A$} -- (2,0) node[midway,below] {6} -- (2,0) node[anchor=north] {$B$} -- (0,2) node[midway,right] {10} -- (0,2) ...
8
votes
2answers
289 views

Nested theorem label

How can I define the theorem environments such that I get the following behaviour: The code generating the example: \documentclass[10pt,a4paper]{article} \usepackage{amsthm} \theoremstyle{definition}...
0
votes
0answers
57 views

Label equations with numbers with optidef

This might be a dumb question but I am writing my model with optidef. Using such a environment \documentclass[a4paper]{article} \usepackage{remreset} \usepackage [short]{optidef} \usepackage{...
5
votes
1answer
86 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 ...
1
vote
1answer
70 views

Reference in latex document to part of Matplotlib (pgf) generated figure

I have a Python script which draws a plot similar to this: fig = plt.figure() ax = plt.axes() x = np.linspace(-2,2,10) y = x**2 ax.plot(x, y, label='$x^2$', color="#07529a", linewidth=2.0) # <--...
3
votes
1answer
747 views

label of subfigures

how to write label like this Fig. 1(a) instead of Fig .1a in text. \documentclass[a4paper,aps,12pt]{revtex4-1} \usepackage{floatrow} \usepackage{subfig} \usepackage{caption} \floatsetup[figure]{...
0
votes
0answers
18 views

How to label each equation in an align environment when there are multiple equations per line

I have a set of equations which in an aligned environment, with two equations per line. I want to give each equation its own unique label, something that looks like this \documentclass{article} \...
1
vote
1answer
24 views

make xtick label in multiplication format

Here is what I've got. \begin{tikzpicture}[scale=1.2] \begin{axis}[ xmax=20,xmin=4, ymin=0,ymax=0.6, xlabel=\emph{Number},ylabel=\emph{F1 Score}, xtick={20,16,...,4}, ytick={0,...
0
votes
0answers
53 views

Plot diagram has a cut in its labels

I have tried to use scalebox but it still happens so no matter how i scale it the labels of my plots have these cuts here is my code for that: \begin{figure}[!h] \begin{tikzpicture} \...
2
votes
1answer
118 views

Removing \label from a string

Is there a way to create a command that removes, if present, a \label from some text. It should work like this: \documentclass{article} \newcommand{\removelabel}[1]{} % some code \begin{document} \...
3
votes
1answer
154 views

Undefined control sequence while adding a new parameter to a existing \ExplSyntaxOn code

I am fixing my command \fullref, which internally uses \nameref and does not support multiple labels to be used simultaneously. However, on the question How to nameref multiple labels simultaneously?, ...
2
votes
1answer
30 views

Tagging and referencing

I am working in my final degree project and I have to reference some parts of the document (just a few paragraphs) where I don't understand something for my tutor to help me with. I want to create a ...
2
votes
1answer
51 views

Gnuplot to SVG to LaTeX with formulas

I create plots in gnuplot that I export as svg and include in a LaTeX document. I would like to type simple LaTeX formula directly in gnuplot that appear properly in the LaTeX document. I noticed ...
0
votes
0answers
40 views

Cross referencing tables from appendix file in chapter files on memoir class

I am writing a document and I have split chapters into independent tex files in memoir class. I want to reference tables in the appendix in chapter files but I get this error message: You have ...
2
votes
1answer
36 views

How to refer to line numbers of source code in listings without adding labels by hand?

I use listings to produce my Matlab code. There I can use the \label and \ref commands for readers to direct them to my code and line number. \begin{lstlisting}[caption={Code for deflection at the ...
1
vote
0answers
52 views

Tagging LaTeX for conversion to XML

The author I work with plans to publish an audio version of his work at some point. They want to use IBM SSML to configure the voices. In order to make the LaTeX source ready for conversion to SSML, I ...
4
votes
1answer
99 views

Add captions and labels to custom tcolorbox listing?

I am using following solution to display code which should look like the code from Jupyter Notebook. I got it from here: IPython Notebook cells with listings The result looks like this: (Source from ...
0
votes
2answers
252 views

How to prevent reference to enumeration inside new environment?

I defined a guidancebox envirenment, which is similar to the longtable environment, only with a different counter/ caption tag and reference label. This works fine, except if I use enumerate inside ...
0
votes
0answers
35 views

LaTeX Find and Replace with variables between { }

Using gb4e I have, say, two labels in: \begin{exe} \ex\label{mi1} \begin{xlist} and \begin{exe} \ex\label{mi2} \begin{xlist} Question: How do I get via FIND and REPLACE: \begin{exe}\...
0
votes
2answers
70 views

Compilation error: Argument of \sf@@@subfloat has an extra }. Besite it works well

I would like to fix errors of compilation, but I do konw how. I would like to could still using labels. I added code like this: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
4
votes
1answer
77 views

Circuitikz misplaces arrow of current label when using option 'auto'

The problem seems to result from the 'auto' option of tikzpicture. I have this problem as part of a bigger tikzpicture which mixes elements like blocks with circuitikz elements. Therefore the 'auto' ...
2
votes
1answer
45 views

Why sloped edge labels position is independent from edge direction?

For example, that for positioning of edge labels is controlled by auto=right option. Than the position of edge labels should be on right side of edges regarding on their direction. However, in the ...
0
votes
0answers
21 views

How can I get a list of marks/labels within a section listed under the section heading

My goal is to write something like this within a LaTex document: \section{Introduction} \makemarksummary{section{Introduction}} Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod ...
3
votes
2answers
46 views

Reference a list with letters

I defined parlist using lower case letters for the items (I know that there are other ways to use letters for the items but I wanted to customize the list style anyway). Unfortunately, if I refer to ...
0
votes
1answer
31 views

Labeling a line in a flalign* enviroment

I would like to label the last line of this computation (and several longer ones), so I may use them as equations, like so: \begin{flalign*} \Gamma^{l}_{js}P^{j}Q^{s} &= \frac{1}{2}(\Gamma^{l}_{...
1
vote
1answer
54 views

Figure labels and references with \adjustimage

I am wondering why this command works: \noindent\adjustimage{width=1.2\textwidth,center,caption={mycaption},label={mylabel},figure}{mylabel} and I got references working correctly, and instead with ...