Skip to main content

Questions tagged [tags]

{tags} is for questions specifically about the tagging of mathematical equations in LaTeX (with numbers, letters etc.).

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

How to left align chemical equations with tags?

I have a set of chemical reactions I am trying to write using mhchem. I need to left-align the equations and right-align the tags. Here's what I have done so far: \begin{align} \ce{AB -> A + B} \...
navajyothmp's user avatar
0 votes
1 answer
29 views

How to tag related equations with the same number, but with a suffix letter

I am reading a book were the numbering of equations follows the format (<section>.<eq number>) with an additional perk, namely that whenever it makes sense to gather a set of equations ...
Albert's user avatar
  • 145
2 votes
1 answer
83 views

Tagging several consecutively aligned lines with one centered tag

I want to reference an equation that is too long to fit on one line, but I do not want the tag to be at the end of the second line. This is the current latex I have: \begin{alignat}{3}\label{eq:...
TimeTravelPenguin's user avatar
0 votes
1 answer
28 views

Adding equation name along with equation number

I want to include an additional text (say the equation name), along with the equation number. The equation name is to be displayed only at the place where the equation is displaced, i.e. when I use \...
joseph praful's user avatar
3 votes
1 answer
75 views

Write a `\tag` in math display mode such that it won't automatically be enclosed by parentheses and such that Overleaf won't complain

How can I write a \tag in math display mode such that it won't automatically be enclosed by parentheses and such that Overleaf won't complain? (I presume that it's bad practice to ignore Overleaf's ...
Noah J's user avatar
  • 515
0 votes
1 answer
72 views

Equation referencing

LyX correctly infers the equation number from the compiled document and displays its correct equation number. The LxY:Cross-reference dialog, however, only shows the label, but not the equation number....
Alois Pichler's user avatar
1 vote
3 answers
82 views

How do I tag certain text to distinguish it, but that can also easily be toggled off to exclude from printing?

I've prepared law school course notes/outlines in LaTeX (using Overleaf). I have a school course in which I'll be tested on both the general law in a certain subject across most U.S. states, and also ...
T.C.'s user avatar
  • 111
0 votes
1 answer
39 views

Using throughout numbering for sections, statements, displays, tables, figures, itemize items, etc. and referring to them

I find most easy to navigate through a text which has numbering like this (3) Section title Lots of explanations blablabla ... (3.5) Subsection title tratatata because (3.5.1) \emph{If $X=Y$ then $Z=T$...
მამუკა ჯიბლაძე's user avatar
2 votes
3 answers
62 views

The problem of tag in align environmnt

Normally, tag is only used in labeling. However, I want to use tag to text something longer than labels. Image: WMF: \documentclass{article} \usepackage{amsmath} \usepackage[margin=1.00cm]{geometry} \...
oooh GYC's user avatar
0 votes
0 answers
27 views

How to vertically align equation tags? [duplicate]

Consider the following example \documentclass{article} \usepackage{mathtools} \usepackage{xcolor} \makeatletter % make "@" a letter-like symbol \renewcommand{\tagform@}[1]{\maketag@@@{\...
sam wolfe's user avatar
  • 257
1 vote
2 answers
49 views

Indented text with numeric label

What would be a way to write the labelled text below, tagged with 15? I'm using align all the time but by default the text inside seems to go in mathmode, which forces me to introduce many "text&...
user1868607's user avatar
0 votes
0 answers
36 views

How to select specific tagged part of a LaTeX document?

I am writing a wide set of exercises, that I tagged with different themes. A single exercise can of course be associated to different themes. Is there a way to tag them (in a specific "exercise&...
Desiderius Severus's user avatar
0 votes
3 answers
138 views

How tag a quote with equations?

I would like to tag a citation with equations; more precisely I would like tag citations using the following code and I would like tag them as I tag proposition, theorem etc... I tried to use the ...
Antonio Maria Di Mauro's user avatar
1 vote
0 answers
35 views

Make a tag in a command from given arguments

I am trying to make a LaTeX document for maths notes. I have written the following commands: \newcommand{\definition}[2]{\textbf{Definition} (#1): #2 \index{#1} \tag{definition_#1}} \newcommand{\...
Robin's user avatar
  • 179
0 votes
0 answers
22 views

How put subtags autonumbering?

I created more tag for enumerate separately equations, propositions, lemmas etc. However, I would like that if an equation is put into a proposition then it is tagged as an equation of that ...
Antonio Maria Di Mauro's user avatar
0 votes
1 answer
51 views

How tag automatically only some particular objects?

Sometime ago I just started writing into doc format some Abstract Algebra notes but unfortunately I have needed frequently to put a lemma, a proposition or a theorem in the middle of document so that ...
Antonio Maria Di Mauro's user avatar
0 votes
1 answer
30 views

How do I start a new equation using alphabets as the new label?

I've set up a set of equations using numbers to show that it's the first equation, second equation etc but now I need a new set of equations that is completely unrelated to the first set and I want to ...
jorge's user avatar
  • 21
0 votes
0 answers
127 views

Equation comments/conditions aligned to the far right

I'd like to move unnumbered equation comments or conditions to the far right of the equation, just like a flushright environment would do, but of course the environment can't work inside of the ...
5kywAlker43's user avatar
2 votes
3 answers
407 views

How to write a chemical reaction with tabs in formula LaTeX

I would like to produce this formula in LaTeX. I have tried the following, but I don't know how to centre the first equation (reaction) and to move the parenthesis part le right side of the page. Can ...
Master_student_H2's user avatar
5 votes
1 answer
256 views

How can I change font size for \tag in equations?

Original code is taken from: https://tex.stackexchange.com/a/365961/127048. Here I want to change font size of a \tag{} into a smaller font such as \footnotesize. \documentclass[]{article} \usepackage{...
alper's user avatar
  • 1,505
0 votes
1 answer
127 views

Avoid small tag in `align` environment wrapped around `small`

I am working in an align environment, where I have a long equation. To make it fit within the line width, I wrap a small environment around the align one: \begin{small} \begin{align} ... \end{align} \...
Daneel Olivaw's user avatar
2 votes
1 answer
82 views

Explanations in nested align equations with aligned

I am trying to put some explanations in a nested align environment. I am using aligned for the nested equations, and I want to use \tag{} for the explanations. Unfortunately, tag is not allowed in ...
Tom's user avatar
  • 117
1 vote
1 answer
163 views

hfill in equation (split, align or subequations, ...)

I'd like to have something like this \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[a4paper,top=3cm,bottom=3cm,left=1.5cm,right=1.5cm]{geometry} \usepackage{mathtools} \...
Puck's user avatar
  • 1,212
0 votes
2 answers
85 views

Several problems in labeling commutative diagram

I am just trying to put some labels on the right side of some commutative diagrams in order to later reference them. Since I am not labeling all diagrams, as I only need to reference two of them, I ...
Matteo Casarosa's user avatar
0 votes
1 answer
63 views

\substack in \tag error

For some reason, using \substack as a label's tag causes such errors \documentclass{article} \usepackage{amsmath} \begin{document} \begin{gather} p+q=w \\ a+b=c \label{eq:1} \tag{$\substack{a\\a}$} ...
antshar's user avatar
  • 4,632
1 vote
2 answers
232 views

Create custom tags for questions in Exam Class

I've been trying to figure out how to create a tagging system for the questions I have and display the results in a summary table (see image attached). I have a sample .tex file that looks the ...
Alan Jones's user avatar
2 votes
2 answers
543 views

How to adjust the distance between the equation number and the right margin in amsmath?

I am using pdfLaTeX. If no packages are used, then, in displayed equations, the line numbers are flushed right. But if I want them to be a certain distance, say 0.35em, from the right margin, I can ...
linguisticturn's user avatar
0 votes
1 answer
59 views

Incompatiblity between equation environment tag and break lines

I am trying to use a \tag inside the equation* environment and line brake \\, however, I receive the following error: ! Package amsmath Error: \tag not allowed here I have already checked amsmath ...
unmark1's user avatar
  • 469
1 vote
1 answer
68 views

How to align equations tags when using empheq?

I am trying to align the equations tagging with the equation itself, but it seems this does not work Also, is it possible to set all math to bold for all math environment? My MWE \documentclass[...
Al-Motasem Aldaoudeyeh's user avatar
0 votes
0 answers
72 views

interrupting and resuming subequations 2

I used the same title as the original post because it seems correct to me. After some time I have the same problem that I cannot solve properly. I made many attempts before writing and tried different ...
Antonio's user avatar
  • 543
-3 votes
1 answer
778 views

\eqref issues / ref and labelling issues in align environment [closed]

@werner edited comment: Hi, okay, many thanks for your reply. That has resolved one of them but I am still having trouble with- I have uploaded a new screenshot, it should now be the first one- with ...
sars909's user avatar
1 vote
0 answers
41 views

Texmaker - Shortcut Key Right

I use Texmaker and its fabulous user tags in the form of commands :foo→ We type a colon, the name of our tag and we validate with the right arrow. I would like to change the validation from the right ...
Yann Grizonnet's user avatar
0 votes
1 answer
51 views

I can't transfer different information form tables to other tables

I use this code and I want to collect the Information form the different tables in one table. so I put tag in the different tables and in the last table I use \STtag but I get this error:Package ...
IH Pro's user avatar
  • 141
2 votes
1 answer
135 views

How to add a tagged equation in a list of equations?

Similar to \listoffigures or \listoftables, I would like to create a \listofequations command. This works well for equations that follow the continuity of the numbering, but it does not work with a ...
Bastien's user avatar
  • 449
0 votes
0 answers
131 views

Latex symbols not allowed in \tag{} Siam latex template

I'm trying to get latex symbols in the label \tag{} for equations using the siam latex template. Not sure why it's bringing up the error $\lambda$ works in text just fine but if I use \tag{$\lambda$}...
Hao S's user avatar
  • 878
1 vote
1 answer
24 views

Referencing another equation with tweaked tag

Suppose I have a tagged equation defined in an align environment, labelled using command \label. Now I write another equation, but I want it tagged with the same number as the first equation plus a ...
Daneel Olivaw's user avatar
0 votes
0 answers
25 views

Easily optionally render sections [duplicate]

My resume is written in LaTeX, and as new things come up, naturally old accomplishments and details become omitted. However, I would still like to keep them in the tex file, as of now they are ...
aspiring_statistician's user avatar
0 votes
0 answers
60 views

How to \tag a line in a multiline equation under aligned environment?

This does not work: $\begin{aligned} x^2 - y^2 & = x^2 + xy - xy - y^2 \\ & = x(x + y) - y(x + y) \tag{hello} \\ & = (x + y)(x - y) \end{aligned}$ And the ...
Book Of Flames's user avatar
1 vote
2 answers
114 views

Put text at the page bound (flushright) in math mode

I came across with this answer https://tex.stackexchange.com/a/299988 by John Kormylo that uses tikz to calculate distance to the page bound and put the tag there. But his code is rather dedicated to ...
antshar's user avatar
  • 4,632
0 votes
1 answer
87 views

How can I subtag equations separated by text?

I want to subtag two equations separated by text, and refer them together. Is there a chance to achieve that by using equation (or align) and subequations? Here's my MWE \documentclass{article} \...
McZhang's user avatar
  • 45
0 votes
1 answer
31 views

Captions on the right to math [duplicate]

I'm trying to write something like this: \begin{itemize} \item \(x^2+y^2-1=0; \quad\quad\quad\) (ellipse) \item \(x^2-y^2-1=0; \quad\quad\quad\) (hyperbola) \item \(x^2-y=0; \quad\quad\quad\) (...
Giordano Crimi's user avatar
2 votes
1 answer
85 views

Is there a reasonably simple way to automatically generate unique tags for definitions, propositions, lemmas, etc.?

Particularly, I would like to know if there is a way a novice like me can have unique and unchanging tags in a manner similar to the tag system of The Stacks Project automatically assigned to my ...
Dat Minh Ha's user avatar
9 votes
2 answers
303 views

How to center vertically small (tiny) equation numbered tags?

The following MWE procudes this result: As you see, I want to have tiny equation numbers/tags, but currently it is not centered vertically of course (as the rule shows), it lies on the baseline. How ...
Watson's user avatar
  • 972
5 votes
2 answers
90 views

Tag certain lines and recall them into a list

I would like to know if it's possibile to "tag" certain lines of text and then recall them into a separate page, like this: Possible exam question{There are many variations of passages of ...
Edoardo's user avatar
  • 121
1 vote
1 answer
98 views

Tagged equation on the same line as a list marker?

How can I have a tagged equation on the same line as a list marker? \begin{enumerate} \item \[\gcd(\gcd(a,b),c) = \gcd(a,\gcd(b,c)) \tag{associativity}\] \end{enumerate} I tried different ...
ByteEater's user avatar
  • 163
1 vote
2 answers
445 views

Is it possible to have multiple gather environments in one line?

Specifically, I want to arrange many small equations in a more compact manner, but still include a \tag with each one. Currently, I typeset the longer equations like this: \documentclass[fleqn]{...
schuelermine's user avatar
4 votes
1 answer
253 views

Can tikzlings work with equation tag and label?

\tikz\panda from tikzlings works as a tag for an equation, but if I insert a \label in the equation I get an error. MWE: \documentclass[11pt,american]{beamer} \usepackage{tikzlings-pandas} \begin{...
ss1789's user avatar
  • 559
0 votes
0 answers
28 views

Do we have to use starred equations with \tag? [duplicate]

Consider the following MWE: \documentclass{amsart} \usepackage{hyperref} \begin{document} \begin{equation} \tag{tag} 1+1=0 \end{equation} \clearpage \begin{equation} \label{mylabel} 1+...
gerw's user avatar
  • 606
0 votes
0 answers
217 views

Change the references of the equations

I have found new ways to optimally create some references to the main equations and therefore to the subequations. I have so far written about 200 pages of a free student book and I would like to make ...
Antonio's user avatar
  • 543
0 votes
0 answers
67 views

Using list with tagstoc package

I'm using the package described here to build a tag based article. I have a list of csv strings which is used to build a table and I would like to use the first instance of the csv string as a tag too....
ThatGuy's user avatar