Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
vote
0answers
19 views

Bibliography STYLE [label] missing?

Please, I want my bibliography to look like this one: [Wonko and Tsio 99b] Wonko, A. C., Tsio, F.: "Extended Use of Hyperlinks"; J.UCS, 5, 3 (1999), 225-327. I tried "apalike" and "agsm" but the ...
0
votes
0answers
22 views

How to change ticketsize with ticket.sty?

I can't seem to change the ticketsize in LaTeX. %%%% % % ticket.sty example file for a pin for conferences % %%%% % use the corresponding paper size for your ticket definition %\hoffset=-16.2mm %\...
1
vote
2answers
38 views

Trying to use \MakePerPage{footnote} kills the build of my LaTeX doc

The standard LaTeX footnote behavior is to mark footnotes using superscript numbers. I can't use that, since all of my citations are superscript numbers. What I'd like is for my footnotes to be marked ...
3
votes
1answer
51 views

Node label switching on condition

I try to create a dynamic graph where a node move along the axis line. When a condition on x is filled (X>1.8), I need the labels to be translated as i tried to do it in the following MWE \...
4
votes
1answer
84 views

Shading apply to label unexpected in matrix environment

I am trying to add shadow to node. For normal node, the shade will not impact the label. However, for nodes inside a matrix, the labels are shadowed too. MWE below \documentclass[border=5mm, convert]...
8
votes
2answers
159 views

Equation tags with subequations

Consider the following MWE: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align} \label{system} &\left\{ \begin{aligned} 30^{2} &= h_{C}^{2} + y^{2};\\ ...
1
vote
1answer
39 views

Label an item of a 'randomized enumerate'

I got the following code from Random shuffle itemize. How to label (something like \label{1}, \ref{1}) a specific randomList item to print the corresponding letter at the end of the document? \...
2
votes
1answer
33 views

Gnuplot+LaTeX: two figures side and y-label far away

I read most of answer to similar questions, but they did not help me. I have two problems: these are two graphics that I am trying to place side by side. But: firstly, they turn out to be shifted ...
1
vote
1answer
26 views

Automatically refer to n-th author

I'm writing a paper with many people, and to be honest, at this point I'm not even sure who will be listed as an author in the final version. In the text, I would like to write things like "the forty-...
1
vote
1answer
40 views

Stacked bar chart, nodes near coords remove small values and show sum

I know it is possible to have only the sum shown on top of the bar chart and remove the other values in the stacked bar chart (as shown in picture attached), but I can't figure out what went wrong in ...
3
votes
1answer
43 views

\pgfmathprintnumber label of bar values exceeding axis values

I'm trying to only have the y-value exceeding the axis to be labelled and not the rest (as shown in the picture below). Is there any suggestion how this can be made? my MWE (thanks to @Jake): \...
1
vote
0answers
20 views

Trick/Workaround for cross reference between files without xr

I have a main manuscript and a supplementary materials tex files. These are based on templates by the AGU journals, therefore it is not recommended to add any other packages, than those provided. I ...
6
votes
1answer
117 views

Cyrilic characters in \label and \ref in pdflatex

I want to write \label and \ref with Cyrillic(Russian) characters in pdflatex. \usepackage[russian]{babel} in preamble. I tried \label{\detokenize{}}, but it doesn't work. \documentclass[a4paper,...
2
votes
2answers
42 views

Array Label of each 3 line

I want to label each three line of an array like the picture. Can Anyone help, please?
2
votes
1answer
39 views

Algorithm inside a tcolorbox: how to put a label to the algorithm but the caption as title of tcolorbox?

This question comes after a question about algorithms inside tcolorboxes. Before the question, is better to explain what I have now. I have a file with the algorithm that is q-learning.tex. \...
5
votes
3answers
76 views

Tikz: Zero-padding node labels?

I define an array in the following way: \begin{tikzpicture} \def\n{10} \pgfmathparse{int(\n-1)} \foreach \x in {0,...,\pgfmathresult} { \foreach \y in {0,...,\pgfmathresult} { \...
2
votes
1answer
100 views

Is this possible to use two \label for same equation

Is this possible to use different labels for same equation number, I've tried with the below code: \documentclass{book} \usepackage{amsmath} \begin{document} \begin{align} \label{test} a+b=c\label{...
4
votes
0answers
73 views

Stacked bar chart percentage label not showing

I have a stacked bar chart and surprisingly not all the percentage of the bars are shown. I only allowed values more than 3% to be shown, however some are clearly more than 3% and at the same time not ...
2
votes
1answer
28 views

label shifting behavior in tikz vs tikz-cd

I have a tikz picture that has labels, and the labels are in the correct place. However when I put the {tikzpicture} inside a {tikzcd} environment, the position of the labels shifts noticeably up, and ...
-1
votes
0answers
39 views

Stacked bar chart percentage label not showing

I have a stacked bar chart and surprisingly not all the percentage of the bars are shown. I only allowed values more than 3% to be shown, however some are clearly more than 3% and at the same time not ...
2
votes
1answer
34 views

How to define two labels inside an environment to compute the number of pages the environment spans?

I would like to count the number of pages that a certain environment (named myenv) spans. In principle, I set two labels, one in the beginning and one in the end of the environment. These labels ...
2
votes
2answers
58 views

Manually create `enumerate`-labels

In the statement of a mathematical lemma, I have two similar statements that are supposed to make up statement a) and b) of the lemma. However, since I want to align the similarities properly, after ...
1
vote
1answer
44 views

Axis label is not displayed and adding labels to stacked bar chart

I have made this stacked bar chart but I can't get my x-axis label to be shown even though I have added them in the codes. Also, can anyone tell me how can I add labels to my stacked bar chart like in ...
3
votes
1answer
52 views

showlabels problems with subequations

I would like to resume the post on the \usepackage{showlabels} for a moment working on some things, I found this code very handy, but I saw that when I activate the \usepackage{showlabels}, from ...
1
vote
1answer
41 views

Table of contents of included pdf

How can I do a table of contents, list of figures and list of tables of included pdf \documentclass{memoir} \usepackage{pdfpages} \usepackage{hyperref} \usepackage{cleveref} \begin{document} \...
0
votes
2answers
41 views

Use \showlabel package with newcommand \loadnote

Inside my main.tex I inserted a function called \loadnote which refers to an external file notepie.tex in which are considered the footnotes (with reference to this discussion) . \usepackage{...
0
votes
0answers
53 views

Cref print the labels name

I want to resolve a reference to a label, but print the content of the label. (Obviously?) neither \labelcref nor \namecref seem to work. Can anyone help me? \documentclass{scrartcl} \usepackage[T1]{...
1
vote
1answer
39 views

Adding different Greek characters to individual axis tick labels in pgfplots

I've been scouring the web and the pgfplots manual trying to find an example of labelling different x-axis ticks with different Greek characters. The closest i've found is using xticklabel={$\...
4
votes
3answers
49 views

\verb in label or pin of a tikz node

The documentation of tikz gives following example containing the \verb command in the node text (Section 2.21 Adding Text, v3): \begin{tikzpicture} \draw (0,0) rectangle (2,2); \draw (0.5,0.5) node [...
5
votes
2answers
104 views

Convert final appendix to a supplementary material section

I am writing a document where each chapter has an appendix. In addition to the appendices I would like to have a final supplementary files section where I list all the files that accompany the ...
4
votes
1answer
113 views

Is there any way to define the enumerate label in general?

If I define numberenum like following, \newenvironment{numberenum} {\renewcommand{\labelenumi}{(\arabic{enumi})} \renewcommand{\labelenumii}{(\arabic{enumi}.\arabic{enumii})} \renewcommand{\...
3
votes
2answers
40 views

labels package — don't center

I've just started using the labels package to manage labels, business cards, and pretty much anything I plan to print "X-up". The documentation is pretty clear -- The task of this package is to ...
2
votes
1answer
39 views

“Numbering” equations inside array{l}

i have this situation: \begin{equation} \begin{array}{l} A \xrightarrow{T4} \\ \\ B \xrightarrow{S} \\ \\ C \xrightarrow{T5} \\ \\ D \end{array} \end{equation} Here i have reported a minimal example ...
1
vote
1answer
46 views

Latex: is is possible to have a marginnote with a leading line and both in and outside a float environment?

I do not have an example since I want to know if it is possible, here is the one from the wiki slightly modified. \documentclass[a4paper,twoside,english]{article} \usepackage{lmodern} \renewcommand{\...
2
votes
2answers
49 views

Equation numbering not shown

I am writing an equation using the syntax s follows:- { \[ N\!D_{\max} = \begin{cases} \frac{n}{2} &: \text{$n$ even,} \\ \frac{n-1}{2} &: \text{$n$ odd.} \end{cases} \] ...
1
vote
1answer
19 views

How do I insert text in the main body conditional on whether or not a label is defined

I have a set of documents I work with, where I include various files to complete them. So the main document might appear: \section{Section A} \input{SectionText1} \input{SectionText2} \section{...
1
vote
1answer
19 views

Unresolved references label within caption for STATA tables

I am using stata to generate a table. This STATA generated tex table has label defined within \caption{} command. This labeling should work. But it gives me unresolved references (Table ??). When I ...
0
votes
0answers
31 views

Change figure labels from “Figure S1” to “S1 Figure”

Formatting requirements for a journal require me to, once Supplementary Info begins, switch from labeling figures and tables like "Figure 1," "Figure 2," etc., to labeling them like "S1 Figure," "S2 ...
1
vote
0answers
32 views

System of equations in single line with indices at end [duplicate]

I want to write a system of $n$ equation of similar form in a single equation with indices at the end of the equation, for example the following one: I did this by the following commands \begin{...
3
votes
1answer
41 views

how to label and refer subfigures under tabular environment?

I have two subfigures and I need to refer them in text such as Fig. 1.1(a) and Fig. 1.1(a) using Fig. \ref{fig1.1a:chap1} and Fig. \ref{fig1.1b:chap1}. The output is not coming. Instead, a double ...
0
votes
1answer
92 views

Setting node label's size and color in TiKZ?

I'm drawing AVL trees using the first answer given at AVL Trees in TikZ: draw outside of node as an example. All I want to do is add a style definition which will draw the labels in a small font and ...
0
votes
1answer
35 views

Sticky labels with image and different font sizes

I want to create products labels. For the alignment I am using tabluar. But as soon as I place an image inside the table or change the fonts size everything gets messed up. The image moves out of the ...
1
vote
1answer
87 views

How can I create a nutrition Front of Label image?

I am looking to create a Latex image of the label below which is becoming standard on UK food packets. What would the TikZ code look like for this?
1
vote
2answers
60 views

Equation label is wrong

I am currently trying to cite an equation array, but it is citing me the next equation, weirdly (see figure). Can anyone help me? I am using the following code: Considering a logarithmic ...
0
votes
1answer
49 views

Captions and labels on long table [duplicate]

I've tried everything I can think of but longtable just won't allow me to add a caption and label to the top of the table. My table looks like this: But when I add in a caption and figure, ...
2
votes
2answers
65 views

Main label in a system of equations

I'm trying to create a system of equations with sub-numbering using the \begin{subnumcases} environment. Everything works perfectly but I would need to place a label somewhere in order to ref the ...
0
votes
1answer
56 views

Reference a set of subequations with a single label in Lyx

Using the subequations module, I have created a set of equations labeled 1a, 1b and 1c. I now wish to refer to them collectively as (1) in subsequent text. Here's my code copied from the LyX file: \...
1
vote
1answer
68 views

Three-sets Venn diagram using TikZ with comments/labels inside and outside the circles

I am trying to produce a three-sets Venn diagram illustrating my research agenda and my published work. I am having a hard time including the comments inside the circles, particularly regarding the ...
0
votes
1answer
43 views

Labeling threeparttable footnotes

I want to label footnotes using the threeparttable package, but it does not seem to be able to assign a label without proper caption. In fact if I disable the \caption package it works. But I need the ...
2
votes
1answer
63 views

Saving an image containing labels produced using LaTeX code

For a paper I'm working on, I have a bunch of figures (pdf files) generated using Mathematica which I label using \put commands in LaTeX. However, I want to now save the labeled figures as pdf files. ...