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
1
vote
3answers
53 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,...
0
votes
0answers
33 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
48 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
24 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
19 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
26 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
27 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
16 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} ...
0
votes
0answers
12 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
22 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
5 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
25 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
121 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
15 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
18 views

Best way to fake multiple labels for single special enviornment

My package creates a certain special equation environment for a common kind of definition in recursion theory. For instance, the following code appears in my document \begin{requirements} \...
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
20 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
13 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
34 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
25 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
14 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
45 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
27 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
39 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
19 views

Create and label a appendix

am writing my thesis and i want to creat more than one appendix and i want to name this last like Appendix A , B ... . and i want to label all the contents as the name of the appendix like (Table A.1) ...
0
votes
0answers
20 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
19 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
36 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
52 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
47 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
34 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
1answer
14 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.\...
1
vote
2answers
49 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
44 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
30 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
41 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
20 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
23 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
83 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
59 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
19 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
94 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
35 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
102 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
22 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
66 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
32 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
30 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
25 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
2 3 4 5
25