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
0answers
14 views

Custom label and reference equations in numcases [duplicate]

I have labelled and tagged a piece-wise function using numcases. However, when I reference the equation later, it is not displaying the right tag in the text. \documentclass[11pt,fleqn]{article} \...
0
votes
0answers
22 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+...
0
votes
0answers
37 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 ...
0
votes
0answers
15 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
0answers
28 views

Move Equation Numbering To Left in Beamer for Single Equation

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 ...
0
votes
0answers
19 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
1answer
36 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 ...
1
vote
0answers
22 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
1answer
81 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
vote
0answers
29 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
0answers
34 views

Chmnum does not subsitute tags reproducably

I am trying to implement the automatic enumeration with the chemnum package. However, it does not work properly in every environment. Testing in a small environment works perfectly fine. Copying the ...
0
votes
0answers
23 views

ntheorem, thmmarks and leqno

I'm trying to use the leqno option along with the package ntheorem. But if I then allow the thmmarks option to get the Q.E.D. for proofs, it totally breaks the code. Once I remove the leqno it will ...
1
vote
2answers
31 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{...
2
votes
0answers
32 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
0answers
47 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,...
0
votes
1answer
32 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 ...
1
vote
1answer
63 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
0answers
85 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
1answer
55 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 ...
3
votes
1answer
62 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
2answers
201 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
0answers
18 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 \...
3
votes
1answer
163 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 \...
0
votes
1answer
101 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}{...
0
votes
2answers
68 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 ...
8
votes
1answer
163 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 ...
2
votes
2answers
121 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[...
1
vote
1answer
173 views

Hyperref's hyperlinks getting offset by custom tags

I have a document using various packages including hyperref, cleveref and the standard AMS math packages. Within a section, I tagged my first equation to give it a custom label, but not other ones, a ...
0
votes
1answer
60 views

How can I write a long equation in two lines and name it?

\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 equation with name A8. If anyone ...
1
vote
2answers
91 views

Append text to equation tags

I want to append the current section to equation tags, even if I use the \tag command to override it. I would guess this entails creating some custom command like \appendtag. I know I can use \...
3
votes
2answers
657 views

Label or tag for questions

I am making mini question banks on different chapters of physics. For this, I am using the 'exam' class. what I need is the following: I want to put some information for my own use against each of ...
2
votes
1answer
121 views

How to tag an enumerated list?

I want to tag the mark value of the question right to it as follows Here is my MWE \documentclass{article} \usepackage{amsthm,multicol,enumerate} \begin{document} \begin{enumerate} \item \...
0
votes
1answer
66 views

How to get equations in align environment to have numbers

If I have the following situation \documentclass{report} \usepackage{amsmath} \begin{document} \begin{align*} y &= 2x+3 y &= 7x+4 \end{align*} \end{document} The equations in the align ...
5
votes
1answer
91 views

adding explanations to equations

How can we type equations and add explanations like below? The options that I can think of are: (1) using tags which I don't know how to break them into two lines (2) using minipage, which might not ...
1
vote
1answer
277 views

Aligning tags at the end of the line

Is there any special reason why using the $$ won't produce the tags, like it does using \[ \] ? \documentclass[12pt]{article} \usepackage{mathtools} \usepackage{amsmath} \begin{document} \[\lim_{\...
0
votes
1answer
166 views

How to use multiple \label across multiple \align* environments?

For long calculations, I have two align* environments for two equations. I have as an example \documentclass{article} \usepackage{amsmath} \usepackage{nccmath} \begin{document} \begin{align*} \...
2
votes
1answer
65 views

Can't show equation tag properly

\begin{align*} \sum_{j=1}^{m_0-1}\,(-1)^{j-1}\hspace{-3ex} \sum_{\substack{ k_{m_0 +1} \leq k_{m_0} \leq \cdots \leq k_{j+2} \leq k_1 \leq \boldsymbol{\ell} \\ k_2 < \cdots < k_j < k_{j+1} \...
0
votes
0answers
50 views

How to use main file combined other two files with tags?

\begin{filecontents}{a.tex} \tag{1.1}{this is 1.1 from file a.} \tag{1.2}{this is 1.2 from file a.} \end{filecontents} \begin{filecontents}{b.tex} \tag{0.1}{this is 0.1 from file b.} \tag{1.1}{this ...
2
votes
1answer
124 views

How to combine two files like this?

I have these codes a.tex \tag{1.1}{this is 1.1 from file a.} \tag{1.2}{this is 1.2 from file a.} b.tex \tag{1.1}{this is 1.1 from file b.} \tag{1.2}{this is 1.2 from file b.} main.tex \...
4
votes
4answers
870 views

how to put equation number at the bottom

i want my eq number 11.72 to appear at the last line.how can i do that? After a wick rotation we obtain \begin{equation} \begin{split} \int \frac{d^4 \mathnormal{k}}{(2\pi)^4}\text{log}(-k^2+m^2)=&...
3
votes
2answers
86 views

How can I temporarily replace 'and' with 'or' when using `\cref` command?

The code below generates correct output. However, I would like to know how I can temporarily replace every instance of 'and' with 'or' just for specific instances of \cref usage. I included xcolor and ...
1
vote
1answer
88 views

Multiline math environment that allows for individually tagged equations grouped by brace as rhs

I'm looking for a math environment that would allow me to write two lines/equations, that needn't be aligned per se, but in which one of the lines looks like this: a = {a(x), where a(x) is a system of ...
1
vote
1answer
59 views

Problem with side by side equation tag and custom tag style

Consider the following MWE: \documentclass{article} \usepackage{mathtools} \usepackage{amsmath} \newtagform{brackets}{[}{]} \usetagform{brackets} \AtBeginDocument{\let\latexlabel\label} \...
3
votes
2answers
620 views

(1), (2)… at the end of a line

Thank you very much, K. Paul and Ignasi ❤ You have provided me solutions that suit my document perfectly! However -- well -- which answer should I mark to be 'accepted' when both are correct?😂 ~~~~~~...
2
votes
1answer
105 views

Use external file for database equation

I created an external reference file with many mathematical formulas. very similar to this: foonotes in external page the equations.tex is so structured : \documentclass[10pt]{article} \usepackage{...
2
votes
1answer
439 views

Aligned within align: Why are they right-aligned?

I want to align multiple equations. Some of them span multiple lines, some of them don't. I'd like for the equation tag of the multiple-line equations to be aligned with both lines, not just one of ...
1
vote
1answer
100 views

Why does not cross-referencing of exercises work with `exsheets`?

I am trying to use cleveref package to create custom referencing scheme for exercises created using exsheets. I customize cross-referencing of floats and equations very well using codes similar to the ...
0
votes
1answer
108 views

Why does the equation tag moves when using `\hspace`?

I am using align environment and sometimes can see that there is an unwated space in some parts of the aligned equations. Hence, I use \hspace with negative length to get the desired spacing. Even ...
0
votes
1answer
322 views

How can I vertically center a tag in flalign environment?

I am trying to use flalign environment, but the tag is not centered. I know that each entry after \\ is taken as an independent equation in flalign, but is there a way to produce the same result below ...
0
votes
0answers
65 views

catchfilebetweentags and lstlisting [duplicate]

I would like to use the catchfilebetweentags package together with the lstlisting one. The output is a fatal error. Let us consider below the following minimal example. \documentclass{article} \...