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
1answer
38 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
12 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
37 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
40 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
33 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
17 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
81 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
34 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
53 views

How to write a long equation 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 ...
8
votes
1answer
149 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
107 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
55 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
59 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
42 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
227 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
48 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
61 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
56 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
139 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
103 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
43 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
49 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
116 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
223 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
61 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
64 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
42 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
381 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
66 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
162 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
77 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
50 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
152 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
51 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} \...
2
votes
1answer
54 views

Labels and tags with parametric dependence

Suppose there is an equation with a parameter, and the parameter is represented in equation's tag: I'm looking for a way how to refer to this equation using two different \lambda, say, \lambda_1 and \...
0
votes
1answer
32 views

Having a part of the \tag not show up when using \eqref

In a document, I have equation numbers like (3.4)=(2.1) to show that the equation was already used previously. When I then reference this equation with \eqref, it shows up exactly like this. How can I ...
4
votes
1answer
71 views

Displaying tag for listing environment like math environments

I'm using listings to better typeset code that was originally placed in an undesirable environment (verbatims inside eqnarray with negative space for each line) due to journal submission requirements. ...
1
vote
2answers
331 views

How to Align Lines with Comments with other Lines in Math-mode

When I use the \tag command to add a comment in line in math-mode, sometimes that line becomes off-centre and doesn't align with the rest of the equations. Here is example of a code and its output: \...
2
votes
1answer
76 views

How to number a group of equations together and align them with others

I'm currently using this: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{hyperref} \begin{...
0
votes
2answers
118 views

Align/Aligned/etc Tags without Parenthesis?

I am using pdfLaTeX. I am trying to use an align-like environment, and I wish to place a \blacksquare on the last line where a \tag would be. The problem is that \tag automatically comes with ...
5
votes
2answers
792 views

Put an equation next to an image next to an equation tag

I am not sure I express my question correctly, but my objective is to reproduce this kind of presentation. And add an equation tag to the right of the image. I am somewhat able to reproduce the ...
0
votes
0answers
74 views

tag in front of an equation [duplicate]

In a math display, I want to have the tag of an equation at the beginning of the equation. Something, like: (Tag) ax=b. It is not sufficient to just use a text{} or a mbox{} environment, since I ...
6
votes
3answers
391 views

Tag equation in ConTeXt with arbitrary text

Question: Is it possible to tag displayed equations (inside \startformula and \stopformula with an arbitrary tag in ConTeXt? With LaTeX I can do \documentclass[preview]{standalone} \usepackage{...
1
vote
2answers
835 views

Including both equation numbering and remarks in align environment

I'm trying to write sequent proofs with aligned formulae in the center, equation numbers aligned left, and remarks aligned right. Example of what I want below: But from what I've seen around ...
1
vote
1answer
118 views

LaTeX issues warning about a Reference being undefined even though a \label statement was issued

I want to show a few equations in a row as I solve an integration, then number the final unsimplified equation and use the number in the next line. \newcommand\numberthis{\addtocounter{equation}{1}\...
2
votes
1answer
217 views

Displaying Counter Value from Equation Tag

I am trying to create the following, but haven't been able to find anything here or elsewhere online... I want to create an equation with a custom counter and then call the value of the counter when ...
1
vote
0answers
129 views

Labelling inside subnumcases enviroment

I am writing some equations using subnumcases enviroment as the following: \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{cases} \numberwithin{equation}{section} \begin{document} \...
3
votes
2answers
523 views

Adjust horizontal position of the tag of an equation

Both LaTeX and amsmath put tags aligned at right margin (in reqno mode by default), or aligned at left margin (in leqno mode). I'd like a document where is posible that tags are separated of the ...
3
votes
1answer
47 views

Is it posible to have different tags in the text linking to one label?

When I write parameterized or otherwise indexed equations I often would like to be able to refer to eqn:f_i (i.e. producing a clickable link in the document) using: the given tag $f_i$ for general ...
0
votes
1answer
750 views

Labels in subequations

I have the following system of equations \begin{subequations}\label{eq} \begin{align} &\alpha_x = \dots\label{eqa}\\ &\beta_x = \dots\label{eqb}\\ &\gamma_x = \dots\...