Using tag in aligned embedded within equation environment
up vote
0
down vote
favorite
I want to tag my equations with parallel aligned environment. The code is shown below
begin{equation*}
begin{aligned}
& bold{H}_1^topbold{x}_1^*+bold{K}_1^topbold{y}+bold{U}(omega_t)= bold{r}_1:\
& bold{A}_3^topbold{y}leq bold{b}_3:
end{aligned}
qquad
begin{aligned}
& boldsymbol{gamma}_1(omega_t), \
& boldsymbol{zeta}_1(omega_t),
end{aligned}
end{equation*}
The output should be two aligned equations, and my goal is to tag them using tag.
I have tried to add tag to the first begin{aligned} block and the second block, but they all failed with an error saying "Package amsmath Error: tag not allowed here".
I have searched the forum but there is none regarding to the tag for double aligned equation. I need to use begin{equation*} instead of begin{equation} to allow tag, since I want to make my own tags.
Thank you in advance!
Gabriel
equations align tag
add a comment |
up vote
0
down vote
favorite
I want to tag my equations with parallel aligned environment. The code is shown below
begin{equation*}
begin{aligned}
& bold{H}_1^topbold{x}_1^*+bold{K}_1^topbold{y}+bold{U}(omega_t)= bold{r}_1:\
& bold{A}_3^topbold{y}leq bold{b}_3:
end{aligned}
qquad
begin{aligned}
& boldsymbol{gamma}_1(omega_t), \
& boldsymbol{zeta}_1(omega_t),
end{aligned}
end{equation*}
The output should be two aligned equations, and my goal is to tag them using tag.
I have tried to add tag to the first begin{aligned} block and the second block, but they all failed with an error saying "Package amsmath Error: tag not allowed here".
I have searched the forum but there is none regarding to the tag for double aligned equation. I need to use begin{equation*} instead of begin{equation} to allow tag, since I want to make my own tags.
Thank you in advance!
Gabriel
equations align tag
1
it's probably easier to just use 2 minipages similar to Two columns of equations, aligned and just one number per column
– Troy
3 hours ago
tag
only works in math environment which is normally numbered. likeequation
,align
etc and not inequation*
– Zarko
2 hours ago
Packagemathtools
has thenewtagform
andusetagform
commands if you want to customise tags.
– Bernard
2 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to tag my equations with parallel aligned environment. The code is shown below
begin{equation*}
begin{aligned}
& bold{H}_1^topbold{x}_1^*+bold{K}_1^topbold{y}+bold{U}(omega_t)= bold{r}_1:\
& bold{A}_3^topbold{y}leq bold{b}_3:
end{aligned}
qquad
begin{aligned}
& boldsymbol{gamma}_1(omega_t), \
& boldsymbol{zeta}_1(omega_t),
end{aligned}
end{equation*}
The output should be two aligned equations, and my goal is to tag them using tag.
I have tried to add tag to the first begin{aligned} block and the second block, but they all failed with an error saying "Package amsmath Error: tag not allowed here".
I have searched the forum but there is none regarding to the tag for double aligned equation. I need to use begin{equation*} instead of begin{equation} to allow tag, since I want to make my own tags.
Thank you in advance!
Gabriel
equations align tag
I want to tag my equations with parallel aligned environment. The code is shown below
begin{equation*}
begin{aligned}
& bold{H}_1^topbold{x}_1^*+bold{K}_1^topbold{y}+bold{U}(omega_t)= bold{r}_1:\
& bold{A}_3^topbold{y}leq bold{b}_3:
end{aligned}
qquad
begin{aligned}
& boldsymbol{gamma}_1(omega_t), \
& boldsymbol{zeta}_1(omega_t),
end{aligned}
end{equation*}
The output should be two aligned equations, and my goal is to tag them using tag.
I have tried to add tag to the first begin{aligned} block and the second block, but they all failed with an error saying "Package amsmath Error: tag not allowed here".
I have searched the forum but there is none regarding to the tag for double aligned equation. I need to use begin{equation*} instead of begin{equation} to allow tag, since I want to make my own tags.
Thank you in advance!
Gabriel
equations align tag
equations align tag
asked 3 hours ago
Gabriel Yin
1
1
1
it's probably easier to just use 2 minipages similar to Two columns of equations, aligned and just one number per column
– Troy
3 hours ago
tag
only works in math environment which is normally numbered. likeequation
,align
etc and not inequation*
– Zarko
2 hours ago
Packagemathtools
has thenewtagform
andusetagform
commands if you want to customise tags.
– Bernard
2 hours ago
add a comment |
1
it's probably easier to just use 2 minipages similar to Two columns of equations, aligned and just one number per column
– Troy
3 hours ago
tag
only works in math environment which is normally numbered. likeequation
,align
etc and not inequation*
– Zarko
2 hours ago
Packagemathtools
has thenewtagform
andusetagform
commands if you want to customise tags.
– Bernard
2 hours ago
1
1
it's probably easier to just use 2 minipages similar to Two columns of equations, aligned and just one number per column
– Troy
3 hours ago
it's probably easier to just use 2 minipages similar to Two columns of equations, aligned and just one number per column
– Troy
3 hours ago
tag
only works in math environment which is normally numbered. like equation
, align
etc and not in equation*
– Zarko
2 hours ago
tag
only works in math environment which is normally numbered. like equation
, align
etc and not in equation*
– Zarko
2 hours ago
Package
mathtools
has the newtagform
and usetagform
commands if you want to customise tags.– Bernard
2 hours ago
Package
mathtools
has the newtagform
and usetagform
commands if you want to customise tags.– Bernard
2 hours ago
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Maybe it is something like this you're after?
documentclass[10pt, a5paper]{book}
usepackage{mathtools, amssymb}
usepackage[showframe]{geometry}
usepackage{tabularx}
makeatletter
newcommand*{compress}{@minipagetrue}
thispagestyle{empty}
begin{document}
noindentbegin{tabularx}{linewidth}{@{}>{hsize=1.2hsize compressarraybackslash}X @{qquad} >{hsize=0.8hsizecompressarraybackslash}X@{}}
{ begin{subequations}begin{align}
& mathbf{H}_1^topmathbf{x}_1^*+mathbf{K}_1^topmathbf{y}+mathbf{U}(omega_t)= mathbf{r}_1:\
& mathbf{A}_3^topmathbf{y}leq mathbf{b}_3:
end{align}
end{subequations}}
&
{ begin{subequations}begin{align}
& boldsymbol{gamma}_1(omega_t), \
& boldsymbol{zeta}_1(omega_t),
end{align}
end{subequations}}
end{tabularx}
end{document}
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Maybe it is something like this you're after?
documentclass[10pt, a5paper]{book}
usepackage{mathtools, amssymb}
usepackage[showframe]{geometry}
usepackage{tabularx}
makeatletter
newcommand*{compress}{@minipagetrue}
thispagestyle{empty}
begin{document}
noindentbegin{tabularx}{linewidth}{@{}>{hsize=1.2hsize compressarraybackslash}X @{qquad} >{hsize=0.8hsizecompressarraybackslash}X@{}}
{ begin{subequations}begin{align}
& mathbf{H}_1^topmathbf{x}_1^*+mathbf{K}_1^topmathbf{y}+mathbf{U}(omega_t)= mathbf{r}_1:\
& mathbf{A}_3^topmathbf{y}leq mathbf{b}_3:
end{align}
end{subequations}}
&
{ begin{subequations}begin{align}
& boldsymbol{gamma}_1(omega_t), \
& boldsymbol{zeta}_1(omega_t),
end{align}
end{subequations}}
end{tabularx}
end{document}
add a comment |
up vote
0
down vote
Maybe it is something like this you're after?
documentclass[10pt, a5paper]{book}
usepackage{mathtools, amssymb}
usepackage[showframe]{geometry}
usepackage{tabularx}
makeatletter
newcommand*{compress}{@minipagetrue}
thispagestyle{empty}
begin{document}
noindentbegin{tabularx}{linewidth}{@{}>{hsize=1.2hsize compressarraybackslash}X @{qquad} >{hsize=0.8hsizecompressarraybackslash}X@{}}
{ begin{subequations}begin{align}
& mathbf{H}_1^topmathbf{x}_1^*+mathbf{K}_1^topmathbf{y}+mathbf{U}(omega_t)= mathbf{r}_1:\
& mathbf{A}_3^topmathbf{y}leq mathbf{b}_3:
end{align}
end{subequations}}
&
{ begin{subequations}begin{align}
& boldsymbol{gamma}_1(omega_t), \
& boldsymbol{zeta}_1(omega_t),
end{align}
end{subequations}}
end{tabularx}
end{document}
add a comment |
up vote
0
down vote
up vote
0
down vote
Maybe it is something like this you're after?
documentclass[10pt, a5paper]{book}
usepackage{mathtools, amssymb}
usepackage[showframe]{geometry}
usepackage{tabularx}
makeatletter
newcommand*{compress}{@minipagetrue}
thispagestyle{empty}
begin{document}
noindentbegin{tabularx}{linewidth}{@{}>{hsize=1.2hsize compressarraybackslash}X @{qquad} >{hsize=0.8hsizecompressarraybackslash}X@{}}
{ begin{subequations}begin{align}
& mathbf{H}_1^topmathbf{x}_1^*+mathbf{K}_1^topmathbf{y}+mathbf{U}(omega_t)= mathbf{r}_1:\
& mathbf{A}_3^topmathbf{y}leq mathbf{b}_3:
end{align}
end{subequations}}
&
{ begin{subequations}begin{align}
& boldsymbol{gamma}_1(omega_t), \
& boldsymbol{zeta}_1(omega_t),
end{align}
end{subequations}}
end{tabularx}
end{document}
Maybe it is something like this you're after?
documentclass[10pt, a5paper]{book}
usepackage{mathtools, amssymb}
usepackage[showframe]{geometry}
usepackage{tabularx}
makeatletter
newcommand*{compress}{@minipagetrue}
thispagestyle{empty}
begin{document}
noindentbegin{tabularx}{linewidth}{@{}>{hsize=1.2hsize compressarraybackslash}X @{qquad} >{hsize=0.8hsizecompressarraybackslash}X@{}}
{ begin{subequations}begin{align}
& mathbf{H}_1^topmathbf{x}_1^*+mathbf{K}_1^topmathbf{y}+mathbf{U}(omega_t)= mathbf{r}_1:\
& mathbf{A}_3^topmathbf{y}leq mathbf{b}_3:
end{align}
end{subequations}}
&
{ begin{subequations}begin{align}
& boldsymbol{gamma}_1(omega_t), \
& boldsymbol{zeta}_1(omega_t),
end{align}
end{subequations}}
end{tabularx}
end{document}
answered 2 hours ago
Bernard
162k767192
162k767192
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462483%2fusing-tag-in-aligned-embedded-within-equation-environment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
it's probably easier to just use 2 minipages similar to Two columns of equations, aligned and just one number per column
– Troy
3 hours ago
tag
only works in math environment which is normally numbered. likeequation
,align
etc and not inequation*
– Zarko
2 hours ago
Package
mathtools
has thenewtagform
andusetagform
commands if you want to customise tags.– Bernard
2 hours ago