equations with alignement and with centering between alignement
I have the following code:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align}
&begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix} &&=
begin{bmatrix}
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix}
&&cdot
&&begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}
&&cdot
&&begin{bmatrix}
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix}
\
&textbf{A}' &&= textbf{R}^T &&cdot && textbf{A} &&cdot &&textbf{R}
end{align}
end{document}
It aligns indeed all the argument like this:
But I want to have all the argument centered between the separation as follow + without the equation numeration:
horizontal-alignment equations align
add a comment |
I have the following code:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align}
&begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix} &&=
begin{bmatrix}
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix}
&&cdot
&&begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}
&&cdot
&&begin{bmatrix}
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix}
\
&textbf{A}' &&= textbf{R}^T &&cdot && textbf{A} &&cdot &&textbf{R}
end{align}
end{document}
It aligns indeed all the argument like this:
But I want to have all the argument centered between the separation as follow + without the equation numeration:
horizontal-alignment equations align
You can useunderset
in order to get some letters/words underneath the matrices but it doesn't quite give the desired result. And for the equal sign it won't even stay in the same line as the letters
– Raven
Dec 18 '18 at 17:49
And of course you can always do it the manual, dirty way: Prepending~
until the desired space is reached - or simply usinghspace{}
. But that has to be adjusted every time the equation changes...
– Raven
Dec 18 '18 at 17:51
indeed @Mico. I removegather
from the code
– ecjb
Dec 18 '18 at 18:00
Thank you all for comments and answers
– ecjb
Dec 18 '18 at 18:29
add a comment |
I have the following code:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align}
&begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix} &&=
begin{bmatrix}
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix}
&&cdot
&&begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}
&&cdot
&&begin{bmatrix}
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix}
\
&textbf{A}' &&= textbf{R}^T &&cdot && textbf{A} &&cdot &&textbf{R}
end{align}
end{document}
It aligns indeed all the argument like this:
But I want to have all the argument centered between the separation as follow + without the equation numeration:
horizontal-alignment equations align
I have the following code:
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align}
&begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix} &&=
begin{bmatrix}
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix}
&&cdot
&&begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}
&&cdot
&&begin{bmatrix}
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix}
\
&textbf{A}' &&= textbf{R}^T &&cdot && textbf{A} &&cdot &&textbf{R}
end{align}
end{document}
It aligns indeed all the argument like this:
But I want to have all the argument centered between the separation as follow + without the equation numeration:
horizontal-alignment equations align
horizontal-alignment equations align
edited Dec 18 '18 at 18:00
ecjb
asked Dec 18 '18 at 17:43
ecjbecjb
2956
2956
You can useunderset
in order to get some letters/words underneath the matrices but it doesn't quite give the desired result. And for the equal sign it won't even stay in the same line as the letters
– Raven
Dec 18 '18 at 17:49
And of course you can always do it the manual, dirty way: Prepending~
until the desired space is reached - or simply usinghspace{}
. But that has to be adjusted every time the equation changes...
– Raven
Dec 18 '18 at 17:51
indeed @Mico. I removegather
from the code
– ecjb
Dec 18 '18 at 18:00
Thank you all for comments and answers
– ecjb
Dec 18 '18 at 18:29
add a comment |
You can useunderset
in order to get some letters/words underneath the matrices but it doesn't quite give the desired result. And for the equal sign it won't even stay in the same line as the letters
– Raven
Dec 18 '18 at 17:49
And of course you can always do it the manual, dirty way: Prepending~
until the desired space is reached - or simply usinghspace{}
. But that has to be adjusted every time the equation changes...
– Raven
Dec 18 '18 at 17:51
indeed @Mico. I removegather
from the code
– ecjb
Dec 18 '18 at 18:00
Thank you all for comments and answers
– ecjb
Dec 18 '18 at 18:29
You can use
underset
in order to get some letters/words underneath the matrices but it doesn't quite give the desired result. And for the equal sign it won't even stay in the same line as the letters– Raven
Dec 18 '18 at 17:49
You can use
underset
in order to get some letters/words underneath the matrices but it doesn't quite give the desired result. And for the equal sign it won't even stay in the same line as the letters– Raven
Dec 18 '18 at 17:49
And of course you can always do it the manual, dirty way: Prepending
~
until the desired space is reached - or simply using hspace{}
. But that has to be adjusted every time the equation changes...– Raven
Dec 18 '18 at 17:51
And of course you can always do it the manual, dirty way: Prepending
~
until the desired space is reached - or simply using hspace{}
. But that has to be adjusted every time the equation changes...– Raven
Dec 18 '18 at 17:51
indeed @Mico. I remove
gather
from the code– ecjb
Dec 18 '18 at 18:00
indeed @Mico. I remove
gather
from the code– ecjb
Dec 18 '18 at 18:00
Thank you all for comments and answers
– ecjb
Dec 18 '18 at 18:29
Thank you all for comments and answers
– ecjb
Dec 18 '18 at 18:29
add a comment |
2 Answers
2
active
oldest
votes
A seven column array does the job. The columns for =
and cdot
are of type >{{}}c<{{}}
so the spacing around the items is the expected one. The outer array
has no intercolumn spaces.
documentclass{article}
usepackage{amsmath,array}
begin{document}
begin{equation*}
begin{array}{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}
&=&
begin{bmatrix}
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix}
&cdot&
begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}
&cdot&
begin{bmatrix}
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix}
\[2ex]
textbf{A}' &=& textbf{R}^T &cdot& textbf{A} &cdot &textbf{R}
end{array}
end{equation*}
end{document}
Thank you again @egreg. Could you please the use of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
?
– ecjb
Dec 18 '18 at 21:19
@ecjb@{}
means “no intercolumn space at this point”. With*{3}{...}
it is meant “repeat 3 times what comes in the second set of braces. As said in the answer, even numbered columns will be like{}={}
so the spacing around the sign are correctly handled.
– egreg
Dec 18 '18 at 21:21
thank you @egreg, as it is still a little dense for me, do you have a link for the documentation about that notation? Many thanks in advance!
– ecjb
Dec 18 '18 at 21:25
@ecjb The*{n}(...}
notation is documented in all main LaTeX manuals. For the prefixes and affixes>{...}
and<{...}
look at the manual ofarray
: texdoc.net/texmf-dist/doc/latex/tools/array.pdf
– egreg
Dec 18 '18 at 21:31
thank you again @egreg for the answer. I just tried the code again and{ccccccc}
instead of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
works also.
– ecjb
Dec 27 '18 at 15:12
|
show 1 more comment
Here's a suggestion: Take a different approach to denoting what's A'
, A
, R
, R^T
, by using underbrace
directives. This should make it clear to even the most casual readers that they're not dealing with two separate equations.
documentclass{article}
usepackage{mathtools} % for 'bmatrix*' env.
begin{document}
begin{equation}
{underbrace{begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}}_{textstylemathbf{A}'}} =
{underbrace{begin{bmatrix*}[r]
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}^T}}
cdot
{underbrace{begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}}_{textstylemathbf{A}}}
cdot
{underbrace{begin{bmatrix*}[r]
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}}}
end{equation}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f466403%2fequations-with-alignement-and-with-centering-between-alignement%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
A seven column array does the job. The columns for =
and cdot
are of type >{{}}c<{{}}
so the spacing around the items is the expected one. The outer array
has no intercolumn spaces.
documentclass{article}
usepackage{amsmath,array}
begin{document}
begin{equation*}
begin{array}{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}
&=&
begin{bmatrix}
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix}
&cdot&
begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}
&cdot&
begin{bmatrix}
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix}
\[2ex]
textbf{A}' &=& textbf{R}^T &cdot& textbf{A} &cdot &textbf{R}
end{array}
end{equation*}
end{document}
Thank you again @egreg. Could you please the use of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
?
– ecjb
Dec 18 '18 at 21:19
@ecjb@{}
means “no intercolumn space at this point”. With*{3}{...}
it is meant “repeat 3 times what comes in the second set of braces. As said in the answer, even numbered columns will be like{}={}
so the spacing around the sign are correctly handled.
– egreg
Dec 18 '18 at 21:21
thank you @egreg, as it is still a little dense for me, do you have a link for the documentation about that notation? Many thanks in advance!
– ecjb
Dec 18 '18 at 21:25
@ecjb The*{n}(...}
notation is documented in all main LaTeX manuals. For the prefixes and affixes>{...}
and<{...}
look at the manual ofarray
: texdoc.net/texmf-dist/doc/latex/tools/array.pdf
– egreg
Dec 18 '18 at 21:31
thank you again @egreg for the answer. I just tried the code again and{ccccccc}
instead of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
works also.
– ecjb
Dec 27 '18 at 15:12
|
show 1 more comment
A seven column array does the job. The columns for =
and cdot
are of type >{{}}c<{{}}
so the spacing around the items is the expected one. The outer array
has no intercolumn spaces.
documentclass{article}
usepackage{amsmath,array}
begin{document}
begin{equation*}
begin{array}{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}
&=&
begin{bmatrix}
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix}
&cdot&
begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}
&cdot&
begin{bmatrix}
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix}
\[2ex]
textbf{A}' &=& textbf{R}^T &cdot& textbf{A} &cdot &textbf{R}
end{array}
end{equation*}
end{document}
Thank you again @egreg. Could you please the use of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
?
– ecjb
Dec 18 '18 at 21:19
@ecjb@{}
means “no intercolumn space at this point”. With*{3}{...}
it is meant “repeat 3 times what comes in the second set of braces. As said in the answer, even numbered columns will be like{}={}
so the spacing around the sign are correctly handled.
– egreg
Dec 18 '18 at 21:21
thank you @egreg, as it is still a little dense for me, do you have a link for the documentation about that notation? Many thanks in advance!
– ecjb
Dec 18 '18 at 21:25
@ecjb The*{n}(...}
notation is documented in all main LaTeX manuals. For the prefixes and affixes>{...}
and<{...}
look at the manual ofarray
: texdoc.net/texmf-dist/doc/latex/tools/array.pdf
– egreg
Dec 18 '18 at 21:31
thank you again @egreg for the answer. I just tried the code again and{ccccccc}
instead of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
works also.
– ecjb
Dec 27 '18 at 15:12
|
show 1 more comment
A seven column array does the job. The columns for =
and cdot
are of type >{{}}c<{{}}
so the spacing around the items is the expected one. The outer array
has no intercolumn spaces.
documentclass{article}
usepackage{amsmath,array}
begin{document}
begin{equation*}
begin{array}{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}
&=&
begin{bmatrix}
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix}
&cdot&
begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}
&cdot&
begin{bmatrix}
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix}
\[2ex]
textbf{A}' &=& textbf{R}^T &cdot& textbf{A} &cdot &textbf{R}
end{array}
end{equation*}
end{document}
A seven column array does the job. The columns for =
and cdot
are of type >{{}}c<{{}}
so the spacing around the items is the expected one. The outer array
has no intercolumn spaces.
documentclass{article}
usepackage{amsmath,array}
begin{document}
begin{equation*}
begin{array}{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}
&=&
begin{bmatrix}
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix}
&cdot&
begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}
&cdot&
begin{bmatrix}
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix}
\[2ex]
textbf{A}' &=& textbf{R}^T &cdot& textbf{A} &cdot &textbf{R}
end{array}
end{equation*}
end{document}
answered Dec 18 '18 at 18:18
egregegreg
721k8719123212
721k8719123212
Thank you again @egreg. Could you please the use of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
?
– ecjb
Dec 18 '18 at 21:19
@ecjb@{}
means “no intercolumn space at this point”. With*{3}{...}
it is meant “repeat 3 times what comes in the second set of braces. As said in the answer, even numbered columns will be like{}={}
so the spacing around the sign are correctly handled.
– egreg
Dec 18 '18 at 21:21
thank you @egreg, as it is still a little dense for me, do you have a link for the documentation about that notation? Many thanks in advance!
– ecjb
Dec 18 '18 at 21:25
@ecjb The*{n}(...}
notation is documented in all main LaTeX manuals. For the prefixes and affixes>{...}
and<{...}
look at the manual ofarray
: texdoc.net/texmf-dist/doc/latex/tools/array.pdf
– egreg
Dec 18 '18 at 21:31
thank you again @egreg for the answer. I just tried the code again and{ccccccc}
instead of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
works also.
– ecjb
Dec 27 '18 at 15:12
|
show 1 more comment
Thank you again @egreg. Could you please the use of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
?
– ecjb
Dec 18 '18 at 21:19
@ecjb@{}
means “no intercolumn space at this point”. With*{3}{...}
it is meant “repeat 3 times what comes in the second set of braces. As said in the answer, even numbered columns will be like{}={}
so the spacing around the sign are correctly handled.
– egreg
Dec 18 '18 at 21:21
thank you @egreg, as it is still a little dense for me, do you have a link for the documentation about that notation? Many thanks in advance!
– ecjb
Dec 18 '18 at 21:25
@ecjb The*{n}(...}
notation is documented in all main LaTeX manuals. For the prefixes and affixes>{...}
and<{...}
look at the manual ofarray
: texdoc.net/texmf-dist/doc/latex/tools/array.pdf
– egreg
Dec 18 '18 at 21:31
thank you again @egreg for the answer. I just tried the code again and{ccccccc}
instead of{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
works also.
– ecjb
Dec 27 '18 at 15:12
Thank you again @egreg. Could you please the use of
{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
?– ecjb
Dec 18 '18 at 21:19
Thank you again @egreg. Could you please the use of
{ @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
?– ecjb
Dec 18 '18 at 21:19
@ecjb
@{}
means “no intercolumn space at this point”. With *{3}{...}
it is meant “repeat 3 times what comes in the second set of braces. As said in the answer, even numbered columns will be like {}={}
so the spacing around the sign are correctly handled.– egreg
Dec 18 '18 at 21:21
@ecjb
@{}
means “no intercolumn space at this point”. With *{3}{...}
it is meant “repeat 3 times what comes in the second set of braces. As said in the answer, even numbered columns will be like {}={}
so the spacing around the sign are correctly handled.– egreg
Dec 18 '18 at 21:21
thank you @egreg, as it is still a little dense for me, do you have a link for the documentation about that notation? Many thanks in advance!
– ecjb
Dec 18 '18 at 21:25
thank you @egreg, as it is still a little dense for me, do you have a link for the documentation about that notation? Many thanks in advance!
– ecjb
Dec 18 '18 at 21:25
@ecjb The
*{n}(...}
notation is documented in all main LaTeX manuals. For the prefixes and affixes >{...}
and <{...}
look at the manual of array
: texdoc.net/texmf-dist/doc/latex/tools/array.pdf– egreg
Dec 18 '18 at 21:31
@ecjb The
*{n}(...}
notation is documented in all main LaTeX manuals. For the prefixes and affixes >{...}
and <{...}
look at the manual of array
: texdoc.net/texmf-dist/doc/latex/tools/array.pdf– egreg
Dec 18 '18 at 21:31
thank you again @egreg for the answer. I just tried the code again and
{ccccccc}
instead of { @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
works also.– ecjb
Dec 27 '18 at 15:12
thank you again @egreg for the answer. I just tried the code again and
{ccccccc}
instead of { @{}c *{3} { >{{}}c<{{}} @{} c @{} } }
works also.– ecjb
Dec 27 '18 at 15:12
|
show 1 more comment
Here's a suggestion: Take a different approach to denoting what's A'
, A
, R
, R^T
, by using underbrace
directives. This should make it clear to even the most casual readers that they're not dealing with two separate equations.
documentclass{article}
usepackage{mathtools} % for 'bmatrix*' env.
begin{document}
begin{equation}
{underbrace{begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}}_{textstylemathbf{A}'}} =
{underbrace{begin{bmatrix*}[r]
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}^T}}
cdot
{underbrace{begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}}_{textstylemathbf{A}}}
cdot
{underbrace{begin{bmatrix*}[r]
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}}}
end{equation}
end{document}
add a comment |
Here's a suggestion: Take a different approach to denoting what's A'
, A
, R
, R^T
, by using underbrace
directives. This should make it clear to even the most casual readers that they're not dealing with two separate equations.
documentclass{article}
usepackage{mathtools} % for 'bmatrix*' env.
begin{document}
begin{equation}
{underbrace{begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}}_{textstylemathbf{A}'}} =
{underbrace{begin{bmatrix*}[r]
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}^T}}
cdot
{underbrace{begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}}_{textstylemathbf{A}}}
cdot
{underbrace{begin{bmatrix*}[r]
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}}}
end{equation}
end{document}
add a comment |
Here's a suggestion: Take a different approach to denoting what's A'
, A
, R
, R^T
, by using underbrace
directives. This should make it clear to even the most casual readers that they're not dealing with two separate equations.
documentclass{article}
usepackage{mathtools} % for 'bmatrix*' env.
begin{document}
begin{equation}
{underbrace{begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}}_{textstylemathbf{A}'}} =
{underbrace{begin{bmatrix*}[r]
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}^T}}
cdot
{underbrace{begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}}_{textstylemathbf{A}}}
cdot
{underbrace{begin{bmatrix*}[r]
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}}}
end{equation}
end{document}
Here's a suggestion: Take a different approach to denoting what's A'
, A
, R
, R^T
, by using underbrace
directives. This should make it clear to even the most casual readers that they're not dealing with two separate equations.
documentclass{article}
usepackage{mathtools} % for 'bmatrix*' env.
begin{document}
begin{equation}
{underbrace{begin{bmatrix}
a'_{1,1} & a'_{1,2}\
a'_{2,1} & a'_{2,2}
end{bmatrix}}_{textstylemathbf{A}'}} =
{underbrace{begin{bmatrix*}[r]
cos{alpha} & sin{alpha} \
-sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}^T}}
cdot
{underbrace{begin{bmatrix}
a_{1,1} & a_{1,2}\
a_{2,1} & a_{2,2}
end{bmatrix}}_{textstylemathbf{A}}}
cdot
{underbrace{begin{bmatrix*}[r]
cos{alpha} & -sin{alpha} \
sin{alpha} & cos{alpha} \
end{bmatrix*}}_{textstylemathbf{R}}}
end{equation}
end{document}
answered Dec 18 '18 at 18:07
MicoMico
280k31381770
280k31381770
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.
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%2f466403%2fequations-with-alignement-and-with-centering-between-alignement%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
You can use
underset
in order to get some letters/words underneath the matrices but it doesn't quite give the desired result. And for the equal sign it won't even stay in the same line as the letters– Raven
Dec 18 '18 at 17:49
And of course you can always do it the manual, dirty way: Prepending
~
until the desired space is reached - or simply usinghspace{}
. But that has to be adjusted every time the equation changes...– Raven
Dec 18 '18 at 17:51
indeed @Mico. I remove
gather
from the code– ecjb
Dec 18 '18 at 18:00
Thank you all for comments and answers
– ecjb
Dec 18 '18 at 18:29