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
1answer
18 views

Remove tick scale label without changing values

I am trying to remove the tick scale label (10^n) without changing the values on the axis. The idea being that I want to give the base as the unit of the graph, not as a scale label. I have the ...
0
votes
0answers
42 views

Labeling within tex document

I was wondering if anyone knows how to properly use or implement the following labels in a tex file. I know you would type •‹label› but can't seem to find a good reference for it.
6
votes
2answers
215 views

How can I move overbraces to the left on a matrix?

I am trying to move the overbraces on $E_1$ and $E_2$ to the left a little bit. Can you help me out? \documentclass{amsart} \usepackage{mathtools} \usepackage{multirow} \usepackage{amsthm} \...
1
vote
1answer
24 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
23 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 ...
1
vote
1answer
20 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 ...
2
votes
1answer
64 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 ...
0
votes
1answer
18 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\{ \...
1
vote
1answer
39 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
37 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 ...
4
votes
2answers
68 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 ...
3
votes
1answer
150 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
41 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
80 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
49 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
40 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
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: ...
5
votes
1answer
87 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 ...
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} \...
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, ...
1
vote
1answer
25 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} \...
3
votes
1answer
156 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
57 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
41 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 ...
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
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 ...
2
votes
1answer
37 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 ...
0
votes
0answers
37 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
71 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
32 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
59 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 ...
0
votes
0answers
61 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{...
2
votes
2answers
83 views

Label equations with braces and line breaks

I have never used this before, so please bear with me. I am trying to label parts of the flow conservation equation for momentum with braces, which I have done before. However, I can't figure out how ...
2
votes
1answer
43 views

Wrong interpretation of - - in the enumerate enviroment

Why the following code right before --\hgnum{\theenumi}] doesn't yield dash but rather two -- For easy compilation mypackage.sty is included below the code. \documentclass{article} \...
2
votes
1answer
31 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 ...
1
vote
0answers
27 views

Remove exponential factor when using custom x-axis labels [duplicate]

I set the xtick-labels to π/2, π and so on. Now because my x-values are small an exponential factor is still drawn under the x-axis. One workaround is to multiply all my values by hand with 1000. I ...
0
votes
0answers
33 views

Locally changing what \ref displays

I want to write as will be shown in chapter 3 section 4.3, where the hyperlink on ``4.3'' is generated by \ref{sec: titleOfSec4.3}. But this \ref of course gives me as will be shown in ...