Questions tagged [tag]
The tag tag has no usage guidance.
51
questions
2
votes
1
answer
59
views
Cross-referencing not working with \tag and \label together
I wrote two equations, both having labels and tags so that I can display them in my format as well as reference them later. However, while clicking on (1.1) or (1.2), both lead to the Equation (1.1). ...
0
votes
0
answers
25
views
How to fix the size of a table and keep the structure remains?
The purpose is to create a table as a template so I can build my price tags.
The table I've built using Tex is:
And the code is:
\documentclass{article}
\usepackage{multirow}
\usepackage{pdflscape} %...
1
vote
1
answer
43
views
\tag is not allowed in eqnarray
I used \tag{} in eqnarray. But is not permitted and have an error "! Package amsmath Error: \tag not allowed here". Is there a solution to this? Please do as necessary after checking.
0
votes
1
answer
45
views
Placing equation number on the left, tag on the right
I am using amsart class with default left equation numbering. I need to write an equation with number on the left and comment on the right as follows.
qwer = asdf1 by Lemma A
(1) = ...
1
vote
0
answers
45
views
Fix tag placement in align environment when locally switching from reqno to leqno
I have been using the solution in Tag placing with amsmath to turn on the leqno option locally for part of a document. However, when using the align environment from amsmath, this leads to spacing ...
2
votes
1
answer
109
views
How to use custom counter in an equation tag?
I am using custom counters for numbering examples and problems. The counters use chapter numbering followed by the problem number. For example, first problem in chapter 3 would be 3.1 and so on. In ...
1
vote
1
answer
75
views
Error missing } inserted with align*
EDIT: Given the comments I will rewrite my question from scratch and provide a solution for it. It can be useful for some people.
I get an error missing } inserted end{align*} if I use the following ...
0
votes
1
answer
45
views
When using the siam optimization class file, \tag is not working because of math mode - yet it's surrounded by dollar signs?
% SIAM Article Template
\documentclass[review,onefignum,onetabnum]{siamart220329}
%%% commands and packages
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\...
0
votes
0
answers
61
views
Align and alignat environments with tags on both sides
This is a follow-up question of Equation with tags on both sides which tackles the equation environment. How do I make it work for align and alignat?
For reference, the solution for equation is https:/...
3
votes
1
answer
78
views
The history of equation tags
In plain TeX, one can add tags to equations by using \eqno and \leqno. Since the development of amsmath package, we can now use \tag and \tag* to assign tags to equations. So, in the period when ...
3
votes
1
answer
274
views
Equation with tags on both sides
The exact demand is that I want to put the citation on the left and the usual arabic label on the right.
I've found 3 solutions so far:
Use environment flalign. Source: How to number math equations ...
1
vote
2
answers
67
views
How can I align tikzfigure to rightmost side if its inside an equation?
My main goal is to have tags at leftmost of tikzfigures. When I define the tikzfigure inside the equation it is centered where collised with the tag. Since there is space on the right-hand side how ...
2
votes
1
answer
545
views
How to Label Equation with Tag by Number
For example, if I write a code as follows,
The equation with tag is \ldots
\begin{align}\label{E:1}
1 + \tan^2x & = 1 + {\sin^2x \over \cos^2x} \nonumber \\[5pt]
& = {\cos^2x + \sin^2x \over \...
0
votes
0
answers
38
views
Named Equations with cleveref
I have a strange problem, where using a tag with an equation creates a warning (that obviously later leads to some unwanted behavior, though not in the context of this question)
I use to import two ...
0
votes
1
answer
1k
views
tag on the left in align environment [duplicate]
in align environment, my tags are on the right, and that is fine. but in some paragraphs I'd want to put my tags on the left. How can I do this?
4
votes
3
answers
590
views
How do I make the bmatrix bigger as it looks very tiny on my document?
I have tried using \renewarraystretch{1.2} as suggested by Dan in another post but it only stretched the matrix and not the content of it. How may I make the actual partial derivatives bigger as well ...
0
votes
1
answer
50
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 ...
4
votes
2
answers
131
views
Centering terms of equation with tag
This minimal example
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}
\begin{frame}
\begin{equation}
\begin{array}{ccc}
f(x) & =& \...
1
vote
1
answer
127
views
Centering column in mathmode
This minimal example
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{array}{ccc}
f(x) & = &\displaystyle\int_0^1 ...
0
votes
0
answers
49
views
Use tag and label on custom environment which contains equation
I like to use \tag and \label on an self-defined environment in the same style as for equations. But so far this leads to an error, because the amsmath equation-environment is not happy with tags not ...
1
vote
1
answer
27
views
Is there a way to load only previously tagged environments?
This is a bit complicated, so let me explain what I wondered if it'd be an actual thing.
I have four .tex files named main.tex, tex1.tex, tex2.tex and tex3.tex.
Now, I'll put a simplified version of ...
5
votes
2
answers
169
views
How to tag both the align and individual equations within it?
I was trying to create tags for both the optimization problem and individual constraints within it. Below is an example. Is this possible in LaTex?
\begin{align}\tag{P1}
\begin{split}
\max_{...
0
votes
1
answer
196
views
How to change environment name keeping numbering
I have an environment defined by SVJour3 which is example:
\begin{example}
\emph{lelien} → \emph{leli‐e-n}
\end{example}
From which I get:
Example 1 lelien → leli-e-n
I have introduced in the ...
2
votes
2
answers
294
views
Customizing font style for numbering and referencing equations
I'm typesetting a bunch of proofs and I want to follow a convention that whenever I introduce a premise it is numbered using a bold font (e.g. (1)), but then when I reference it in text it is written ...
0
votes
1
answer
373
views
Create tags for files using ctags
I'm using ctags to create a tags file for use in Vim in a latex project. I have a main.tex file and several files in the chapters directory such as chapters/chapter1.tex. I have the following code in ...
2
votes
1
answer
82
views
Package Tagging: missing logical operator AND
We would like to use package tagging with xcookybooky to list recipes into categories based on multiple parameters (tags). The desired outcome would be two sections of soups:
a) soup AND meat
b) ...
1
vote
0
answers
38
views
What is `tagname` in l3build's `update_tag`?
When I write my custom update_tag function after the l3build fig 11 example of the documentation, tagname is nil. What is its expected value and how to configure it ?
0
votes
1
answer
300
views
How can I generate a PDF file in such I can copy text like it's a plain text
What I want to say is, if I generate a PDF file, LaTeX often splits words beetween lines to fit correctly adding the "-". For example "exam-ple". So, my question is, what can I do ...
0
votes
0
answers
28
views
Numbered tag \begin{align} math equation [duplicate]
First of all, my previous question was closed bcz it was considered as a duplicate. But it is not. I've checked for duplicate links and the link is irrelevant because it only discusses image ...
1
vote
0
answers
20
views
Make a tagged cross-reference to a group of items in an enumerate environment
I have an enumerate environnement which enumerates a group of conditions :
\begin{enumerate}
\label{Conditions}
\item Condition 1
\item Condition 2
\item Condition 3
\...
0
votes
1
answer
101
views
How can change an equation number according to where it is mentioned for the first time?
I am writing 2 long equations in the top of a page in a paper. For paper construction and presentation purposes, I want to write the both in one place (so their code are brought together using Figure ...
0
votes
0
answers
198
views
I want a good explanation of how to use \ref , \tag , \label when dealing with texts and equations and mathematical proofs?
I don't have experience with how to deal with \ref, \tag and \label, and how they work together and on their own.
0
votes
0
answers
104
views
tag an equation
I want to give a name to an equation which is "the reverse of ن"
i'm using polyglossia when I write
\documentclass[12pt,a4paper,openany]{book}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%...
9
votes
2
answers
843
views
How to color a tag in a math equation?
I have a math equation with a \tag operator.
\documentclass{article}
\usepackage{amsmath,amssymb}
\usepackage{xcolor}
\begin{document}
This is my favorite equality:
\begin{align*}
\color{red}\...
4
votes
1
answer
100
views
Is there a way to collect all content in a file with the same label?
So, I'm writing a study guide as a book class document, and at the end of each chapter I'd like to be able to print summaries/highlights. What I have in mind is to tag and then re-print tagged ...
0
votes
0
answers
217
views
How to rename specific Figure caption name?
How to rename a specific Figure. Let's say Figure 3.6 to Diagram 3.6 without affecting the other figures in the list. I know I can use something like \renewcommand but this will change all the figures....
1
vote
0
answers
50
views
Is there a way to make an in-line tag?
I know that I can use labels in an in-line equation, but since it is an in-line equation I didn’t want this equation to be numbered, instead I would like to reference it by an \star, and keep the ...
1
vote
1
answer
792
views
Using \tag in \aligned embedded within \equation environment
I want to tag my equations with parallel aligned environments. The code is shown below
\begin{equation*}
\begin{aligned}
& \bold{H}_1^\top\bold{x}_1^*+\bold{K}_1^\top\bold{y}+\bold{U}(\omega_t)= \...
2
votes
4
answers
1k
views
Customize subequation numbering
I need to customize equation numbering as follows:
Some text ...
a+b (5)
3+2 (5')
... some more text....
c+d (6)
The idea is that (5') is an example of (5). I thought of using ...
3
votes
2
answers
1k
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?😂
~~~~~~...
0
votes
2
answers
300
views
flalign, leqno and equations left aligned. Overlapping of equations and tags
I'm using flalign to align equations flush-left to the page margin.
I then stumbled on this Switch between leqno and reqno options (of amsmath) in the same document and used it.
Now I have tags ...
3
votes
1
answer
182
views
How do I push the tag to my custom environment equation to be flush right?
The tag for the custom environment housing an equation is not placing the tag flush right. I may not have the right search terms because I am not finding the solution for this issue. Here is my MWE:
\...
1
vote
2
answers
109
views
macro using `\tag` throws error in `beamer` but not in `amsart` class
The code fragment below throws this error
! Missing \endcsname inserted.
<to be read again>
\def
l.9 \end{align}
when run as is. If I change the class to amsart it runs ...
2
votes
2
answers
67
views
Labeling successive equations with the same number and different superscripts
This question is related to
this thread but is not a duplicate of it.
I'd like to label my first equation as (1^+) and my third equation as (1^-). The first part is easy, but if I \label that ...
5
votes
2
answers
3k
views
How to affect the position of equation labels when using "aligned" environments inside an "align" environment
\begin{align}\label{abc}
&f(x,y,z) = \begin{aligned}[t]
& aaaaaaaaaaaaaaaaaaaaaaaaaaa\\
& + aaaaaaaaaaaaaaaaaaaaaaaaaaa\\
& - aaaaaaaaaaaaaaaaaaaaaaaaaaa,
...
1
vote
1
answer
101
views
Is it possible to \tag as one thing but provide a different output for \ref?
Specifically, I'm wanting to \tag an equation with just "#", but then have \ref output "Equation #". The way I see this working is something like
\begin{equation}
a=b\tag[Equation #...
2
votes
1
answer
436
views
Larger brackets while using \tag in align environment
I have the following equation, where its tag is very long:
\begin{align}
\tag{\parbox{4cm}{\center{Very very very very very very long tag}}}
\mathrm{\sum\limits_{i=1}^K} (ay_i + by_i + cy_i + dy_i + ...
3
votes
2
answers
550
views
How to create a border that looks like a tag?
When I say a tag, I say a tag similar to the one used in the Stackoverflow network.
Exemple:
How can I create a tag with rounded edges that allow colors in Hexadecimal form?
Are there any special ...
5
votes
5
answers
4k
views
rcl column alignment, no extra spaces, and \tag{} for each line
I'm looking for a way to place some text flushed to the right margin (like \tag*{…} does) at the end of each line of an equation. The equation has multiple columns, and I need to control the alignment ...
1
vote
0
answers
81
views
Can tags be placed on the left and right margins of the same equation
I am using AMSMath, and would like to have both a left and a right tag on the SAME equation, such as:
[L] (tag on left) Equation (centered as normal) (eqn number) (on right as normal)
Any ...