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
1 vote
1 answer
34 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} \...
  • 913
0 votes
2 answers
32 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 ...
0 votes
1 answer
42 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}$} ...
  • 3,727
1 vote
2 answers
100 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 ...
2 votes
2 answers
159 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 ...
0 votes
1 answer
34 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 ...
  • 429
1 vote
1 answer
40 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[...
0 votes
0 answers
53 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 ...
  • 543
-2 votes
1 answer
202 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 ...
1 vote
0 answers
23 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 ...
0 votes
1 answer
44 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 ...
  • 119
0 votes
0 answers
19 views

How to tag equations behind curl brace [duplicate]

I want to put my equations behind a curly brace and number each of them. This is my code: ( \dfrac and \pfrac are self-defined commands and they have nothing to do width my question.) Here are my ...
  • 101
2 votes
1 answer
87 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 ...
  • 397
0 votes
0 answers
66 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$}...
  • 710
1 vote
1 answer
20 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 ...
0 votes
0 answers
22 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 ...
0 votes
0 answers
37 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 ...
1 vote
2 answers
57 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 ...
  • 3,727
0 votes
1 answer
41 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} \...
  • 37
0 votes
1 answer
28 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\) (...
2 votes
1 answer
58 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 ...
8 votes
2 answers
199 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 ...
  • 747
5 votes
2 answers
62 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 ...
  • 121
1 vote
1 answer
45 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 ...
  • 145
1 vote
2 answers
138 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]{...
4 votes
1 answer
211 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{...
  • 559
0 votes
0 answers
27 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+...
  • 576
0 votes
0 answers
88 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 ...
  • 543
0 votes
0 answers
27 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....
1 vote
0 answers
115 views

Move Equation Numbering To Left in Beamer for Single Equation [duplicate]

In a regular article using amsmath or amsart I can move the equation tag to the left for a single equation by using \tagsleft@true immediately before the equation. This doesn't seem to work in ...
1 vote
0 answers
54 views

Typeset equation number in margin in two column mode

I am trying to typeset a math paper in two column mode using the amsmath package (in fact, using mathtools), making equation numbers appear in the margins. To be clear: I want equations in the left ...
0 votes
1 answer
266 views

Reference with a dynamic tag

I have a list of several conditions with a parameter, and I would like to include the parameter explicitly in tag of the condition. However, I would also like to reference the definition of each ...
  • 815
1 vote
0 answers
64 views

Tagging theorems as one tags equations

I know that, in LaTeX, one can tag equations. As a result, equations are not numbered. Instead, they are assigned an arbitrary string that then appears whenever the equation is referenced. I would ...
2 votes
1 answer
157 views

newenvironment and chemfig

Since can't set a label to a chemical reaction with chemfig package, the only solution is put the scheme between \begin{equation} and \end{equation} \begin{equation} \schemestart 2 \ce{H_{2}O} \arrow{&...
  • 1,331
1 vote
0 answers
58 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 ...
1 vote
2 answers
200 views

Indent tag of equation to the left

I need an equation in which the equation itself is centered and the equation number (a custom tag) is located more to the left. \documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{...
  • 213
2 votes
0 answers
45 views

Printing the tags beside question number with exsheets package

I would like to display the tags used for each question on the right side of each question number, in a modified form, such that: S-20-A2, 10-Complex would become [Simulation 2020 - Variant 2, Grade ...
1 vote
0 answers
89 views

Tag number at wrong place in an align environment

I'm having a problem in numbering some equations in this MWE code: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[total={6in,10in},left=1.5in,...
  • 2,034
0 votes
1 answer
181 views

How to use \tag{} for multiple equation in align*

I am working on a report. One of that is to requote many equations from paper. I often use: \begin{align*}\tag{5} x = a + b \end{align*} This works fine for a single equation. However, is there any ...
  • 141
1 vote
1 answer
91 views

Enumerate and align equation

I would like to enumerate two equations in the following format (a) For all x < y (b) For all x + y < z that is I would like to tag/number them with a) and b) on the left, I would ...
0 votes
0 answers
212 views

error show TCItag in eqnarrary in \input{tcilatex}

\documentclass{article} \input{tcilatex} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsmath} \begin{lemma} The Binet formulas for these sequences are% \begin{eqnarray} P_{k,n}(x) &=&...
3 votes
1 answer
336 views

Can I use a cross reference in the caption figures?

I tried to find solutions, but I was unable to find I need to report in chapter 11, a figure contained in chapter 7 and I want them to have the same image number. I tried using the \tag{\ref{}} but I ...
  • 543
3 votes
1 answer
602 views

How to align equation number with multi-lines equation?

I am using long equation with 6 lines. I keep getting the equation number in the bottom of the equation and not in the middle as other equations. I am using: \begin{equation} \begin{aligned} ...
3 votes
2 answers
796 views

combining cases, subequations and tags

I'm trying to write a set of equations in \begin{cases}. The i-th equation should have the tag P.i. I can use \tag{P} to number the entire set as P, or, I can use \begin{subequations} to number the i-...
0 votes
0 answers
21 views

How to input information from an external file with tags like in Biblatex?

Biblatex allows you to write the information about various sources in an abstract way, that is, with tags like title = "X", and then to pull that information into your document, with commands like \...
  • 299
3 votes
1 answer
284 views

how to add explicit equation number in aligned environment?

I have looked at all related questions and not able to find solution. I have to use aligned and since aligned does not support tag, how would one add an explicit equation number? Here is MWE \...
  • 18.5k
0 votes
1 answer
175 views

Correcting the hyperlink anchors of (sub)equations with custom tags

In this example: \documentclass{article} \usepackage{amsmath} \usepackage{hyperref} % https://tex.stackexchange.com/a/412381: \makeatletter \newcommand{\linkdest}[1]{\Hy@raisedlink{\hypertarget{#1}{...
  • 988
0 votes
2 answers
123 views

How to write a long equation and number it?

I have the formula block: \begin{eqnarray} \tag{A8} 2x+3y+4z+2u+7o+8k+90l+43+56+45p+33h \nonumber \\ &+& 89n+90m+34j+23a+45b+56f = 0 \end{eqnarray} but I am not getting the required ...
  • 13
8 votes
1 answer
182 views

Why does \tag require braces while \frac doesn't?

I'm used to using \tag without braces like \tag3 instead of \tag{3} in Markdown+MathJax, where it works as fine as does \frac12 in normal LaTeX. But when I tried to do this in a real .tex source ...
  • 262
2 votes
2 answers
130 views

How to classify and print only certain items from a register in ConTeXt?

I created many registers in my document like this, which lets me store vocabulary words, using \definevocabulary{word} and then call the list later with \placeregister[vocabulary]: \defineregister[...
  • 12.6k