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

glossaries(extra) document available labels

We share our glossaries and symbols in our institute and I want to document what glossaries and symbols are available and what their label is. Hence I use \glsaddall{} which works like a charm. As a ...
0
votes
1answer
30 views

dgroup placing equation number on left side

I am using some equations that are auto-generated from a script and they are typeset using breqn functions. Using dgroup is causing my equation number to be on the left side instead of right. I call ...
0
votes
0answers
10 views

Set labelindent for basedescript (mdwlist)

I would like to integrate a multiline label for a description environment. Therefor, I already found out that the package mdwlist could do the job for me. I almost got the result I want, except for ...
0
votes
0answers
27 views

How do we make new command like “\newcommand{\eql}[2]{\begin{align}\label(#2)}#1\end{align}}”

How do we make new command like \newcommand{\eql}[2]{\begin{align}\label(#2)}#1\end{align}} which does not work with "\label(#2)" in there? I just want to include the label number as a ...
3
votes
2answers
195 views

Refer to an equation with multiple labels

I have the following equation: \begin{equation}\tag{E$_{n}$}\label{E} f_n(x)=a \end{equation} When I write \eqref{E} I am referred to the equation and it is written E_n My question is: how to be ...
0
votes
2answers
31 views

Caption in table is not shown. I am using IJBC template

I am adding caption in the table of the document: https://www.overleaf.com/read/rrtmhcmkgvqr I am writing over the template of the IJBC template. The issue here is that when I add the caption to the ...
0
votes
0answers
31 views

Label in table environment not appearing

I tried to change the position of the label, nevertheless it didn't work. Here follows the code: \noindent blahblah \ref{tab:1} \FloatBarrier \begin{table}[ht] \centering \begin{tabular}{ c|c }...
0
votes
0answers
14 views

Is it possible to get different equation numbers when utilizing different label prefixes?

I am writing a document in latex and I utilize \begin{equation} to write mathematical expressions, but also to draw some circuits (Quantum Computing stuff). For the circuits I utilize a specific label ...
0
votes
0answers
21 views

Label `fig:rabbitmq-ha-policyfig' multiply defined in Mac OS Catalina using latexmk to compile

When I compile my latex doc using this command in Mac OS Catalina: /Library/TeX/texbin/latexmk -pdfxe -pvc -xelatex -interaction=nonstopmode ./dolphin-book-2020.tex it give me tips: Label `fig:...
0
votes
1answer
51 views

Grouping 2 subfigure and 1 other figure (subfigure within a subfgure)

I have 3 figures to be put in a figure which spans over a single column in a two-column document. The first two subfigures are similar and should be grouped together with labeling a(i) and a(ii) and ...
2
votes
1answer
35 views

tikzpicture x ticks are aligned on the side

I want my x-ticks to be aligned below the x-axes. But as it is right now, the ticks are overlapping with the x axes. All examples I've found online don't specifiy the position of the x labels but they ...
0
votes
1answer
30 views

\hyperref does not lead to defined label

I have a beamer-class document and I defined a label directly after a \phantomsection. \begin{frame} \phantomsection \label{sec:rotation} <TEXT> \end{frame} However, referencing to the label ...
0
votes
0answers
23 views

Texshop incorrectly states that a figure reference is multiply defined

in TexShop the log file shows the warning label 'fig:InfExp' multiply defined but in my .tex file this label appears exactly 3 times-- twice in \cite commands and, between these, once as a label ...
3
votes
1answer
110 views

Labeling x-axis with pi/4, pi/2,

I'm trying to create a rectangular graph using some variation of Tikz such that I count by pi/4 on the x-axis. I can mostly get it; however, I want the labels to be in exact form (i.e., fractions, ...
2
votes
1answer
78 views

chemfig: chemical reaction label

Can I set a label for a chemical reaction with chemfig, just like I can do with equation? My MWE \documentclass[12pt]{article} \usepackage{chemfig} \usepackage[version=3]{mhchem} \begin{document} ...
1
vote
2answers
206 views

Hide environment but keep labels for cross-referencing

I'd like to do something that is very similar to what is asked for (and answered) here: Hiding an environment but keeping equation labels and their numbers inside, but I'd like to go one step further. ...
0
votes
1answer
45 views

Create and label an appendix

I am writing my thesis and want to create more than one appendix. I want to name them Appendix A, B, etc. and want to label all the content the name of the appendix like (Table A.1) \appendix \...
0
votes
0answers
30 views

link to exercise and back to exercise

when i click to التصحيح for exercise 1 he go to solution to exercise 2 , and I would like it to be as shown in the pictures %%%%%%%%% preample %%%%%%%%%%%%%%%%%%%%%%%%% \...
0
votes
1answer
21 views

\label and numbering is not working

I am facing with one problem. I want to apply numbering and \label function. But, it does not working with align*, aligned. \begin{align*}\label{eq:rewrittenNE} \left\{\begin{aligned} \begin{split}...
2
votes
1answer
41 views

Labeling Text in the Appendix and referencing it with (A.1), (A.2), … in the paper

I have the following problem: I have different bold written headers in the appendix and want to reference them in my paper \documentclass{report} \usepackage{amsmath} \usepackage{hyperref} \begin{...
2
votes
0answers
109 views

Reduce whitespace after \ref

I have the following latex file: \documentclass[AMA,STIX1COL]{WileyNJD-v2} \usepackage{moreverb} \usepackage{algpseudocode} \usepackage{algorithm} \usepackage{tabu} \usepackage{tabularx} \usepackage{...
1
vote
1answer
51 views

Highlight \paragraph command arg if labeled

For editing purposes I need to spot labeled \paragraphs in my documents and I'd like to do it directly in the .pdf file. I'm wondering if is there a way to change the layout of the \paragraph command (...
0
votes
0answers
60 views

\caption outside float error

I cannot label my table. I feel it is because of the rotation that has been done. What can I do? \begin{center} \begin{adjustbox}{angle=90} \begin{tabulary}{1.4\textwidth}{m{50mm}^C^C^C^C^C^C^C} \...
0
votes
2answers
38 views

Latex Counter custom reference formatting

Simple use case, I have a counter for requirements, R1, R2, etc like the one below: \newcounter{requirementcounter} \newcommand{\requirement}{\refstepcounter{requirementcounter}R.\...
2
votes
2answers
197 views

Label on an arrow in tikz

This question is a follow-up for my badly accepted Bézier curves for arrows in tikz I have come up with the following. The Bézier-curve arrow works, but my label doesn't: \documentclass{article} ...
1
vote
2answers
46 views

How can I rotate lable in tikzpicture?

I wanted to write the label of the node vertically along the line. the name is Simulation loop. My code is: \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \tikzstyle{startstop}=[...
0
votes
0answers
36 views

how get hyperlink problems to answer in arabic

How can I get hyperlink between exercise and his answer in arabic model for exemple make this model to arabic or any model Through which I write in Arabic to get hyperlink between exercise and his ...
1
vote
0answers
55 views

link to answer in exercise in arabic

I tried to create this in Arabic but I failed how can I get model like this in Arabic when I click in correction( in arabic الحل ) I go to the answer of exercise I click to the execise (in arabic ...
1
vote
1answer
31 views

Displaying label on bibtex bibliography

I am pretty new to latex and trying to write a paper. I have a template with this code : % no labels in bibliography. \def\@biblabel#1{} % set the first line of each reference flush left, and each ...
1
vote
0answers
34 views

Grid of equations in aligned environment, each with own references

I would like to achieve something like the example shown in the picture below. I already have a solution; however, it seems to involve creating a lot of minipages and subequation environments, plus ...
0
votes
1answer
112 views

Place parentheses around a cross-reference for Figure

I need to place my figure references between parenthesis for my Thesis. I've tried package \hyperref but it doesn't solve my problem. If I try: \autoref{'fig:label'} I get something like Figure (1); ...
2
votes
1answer
240 views

Label text in Metapost

In a summary, the issue is how to show label text in Metapost. I have a Metapost function simple_supported_single_span_load_diagram to draw a load diagram. I can call the function in Latex, and it ...
1
vote
1answer
97 views

Using \label in \footcite

I am using footnotes for my citations Some Text.\footcite[Specific Location in Text]{bibKey} This works perfectly. However I am having problems referencing one of these footnotes in another footnote, ...
2
votes
3answers
161 views

Equation sublabel continuation

This is a followup to this. Code: \documentclass[12pt]{beamer} \usepackage{amsmath} \usepackage{pgfpages} \pgfpagesuselayout{resize to}[a4paper,landscape] %\pgfpagesuselayout{2 on 1}[a4paper] %\...
0
votes
0answers
39 views

\label and \ref logger

I'm writing my thesis and since I'm using many labels to reference, I thought it might help for me to log \label and \ref on a separate page of my thesis. This is for me to keep a good track of the ...
4
votes
2answers
129 views

Why is there multiply labels in this gather environment?

The console says there are multiply labels in this code: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry} \...
0
votes
0answers
26 views

How can one label equations automatically?

While using the "equation" environment, is there any way to get the equation number of the current environment? What I had in mind was, I create some sort of function \func that returns the displayed ...
2
votes
3answers
94 views

tkz-euclide labels are way off

Good evening, I'm porting a textbook of mine into Latex. I discovered the tkz-euclide package, which should greatly benefit me in making and adjusting figures. The first few figures I made worked well,...
2
votes
2answers
45 views

How to add a plot legend image in the caption [closed]

I have a plot generated by matlab. How can I insert the legends in caption like the following image?
0
votes
0answers
31 views

Labeling and Referencing an arbitrary formula or text that is not necessarily inside cases, equation or align environment

I want to be able to label and reference a particular text in my LaTeX document without necessarily making it appear inside an equation, align, or cases environment. How can I do this? For example is ...
2
votes
1answer
32 views

Can I reference the rows of an enumerated table?

I have created a multi-page timeline using a longtable with enumerated rows (see this answer). My MWE is as follows: \begin{longtable}{@{\stepcounter{rowcount}(\therowcount)\hspace*{\tabcolsep}}l p{...
1
vote
1answer
51 views

Horizontal bar chart title and symbolic labels adjustments

I created a horizontal bar chart with some customizations but I run into some problems: How to properly align the symbolic labels? How to center the title to the figure automatically? I guess the ...
3
votes
1answer
52 views

Reference and labels (beginner)

I'm starting to work on Latex and I have a math paper to write and basically I need to creat a reference I think. The text is: Definition 2. The function f(x)... According to definition 2 we have ...
0
votes
0answers
37 views

Undefined reference for labelled equation

I have the following weird (to me) problem with Texmaker: I have some labeled equations lines in a A.tex file within master file M.tex. There are three specific equation lines among them which I just ...
2
votes
1answer
49 views

Tables side-by-side (again)

I know this type of question was already posted a ton of times, but I'm upon this for some days and I can't get it working properly. I need to put two tables side-by-side, aligned to the top, and ...
1
vote
1answer
31 views

Referencing to a label redirects somewhere else

I'm having some problem with the \ref command I never had. And I guess it's caused by my own style created for definition's box and similars (token from Breaking Page with Boiboites Package TikZ). \...
1
vote
1answer
108 views

\labelcref doesn't like my user-defined command

I have defined my own command allowing me to number and reference a single line in a starred multiline equation environment, rather than using an un-starred environment and entering \nonumber at the ...
2
votes
1answer
52 views

Space around mid-arrow xymatrix labels

I'd like the top figure here (the one in the MWE) to look like the bottom figure (which was made by changing the labels into targets etc., but I have a lot of these diagrams to change and would rather ...
1
vote
1answer
57 views

AddEnumerateCounter with beamer's custom enumerate

I am using the enumitem package in order to customise enumeration by setting a custom set of characters for enumerate item labels. When I normally make article-type documents, I use the following ...
0
votes
0answers
18 views

How can I separate a multi-page table (e.g. using longtable) by columns?

I have a table with a lot of columns (about Model-Statistics). I already tried to use a (rotated) longtable, but I failed because I need to duplicate the first column and not the first row as a "...

1 2 3
4
5
28