How do I align multiple equations together at different points
If I have a document as shown
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x &&= 48 \
&&= sin{x}
end{align*}
end{document}
and I want to align the places with double & together and the points with & together how do I do them both at the same time?
alignment
add a comment |
If I have a document as shown
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x &&= 48 \
&&= sin{x}
end{align*}
end{document}
and I want to align the places with double & together and the points with & together how do I do them both at the same time?
alignment
How do I add a sketch?
– user61882
Feb 17 at 16:45
It is a picture showing what you need.
– JouleV
Feb 17 at 16:53
add a comment |
If I have a document as shown
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x &&= 48 \
&&= sin{x}
end{align*}
end{document}
and I want to align the places with double & together and the points with & together how do I do them both at the same time?
alignment
If I have a document as shown
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x &&= 48 \
&&= sin{x}
end{align*}
end{document}
and I want to align the places with double & together and the points with & together how do I do them both at the same time?
alignment
alignment
edited Feb 17 at 16:40
AndréC
9,28111447
9,28111447
asked Feb 17 at 16:37
user61882user61882
162
162
How do I add a sketch?
– user61882
Feb 17 at 16:45
It is a picture showing what you need.
– JouleV
Feb 17 at 16:53
add a comment |
How do I add a sketch?
– user61882
Feb 17 at 16:45
It is a picture showing what you need.
– JouleV
Feb 17 at 16:53
How do I add a sketch?
– user61882
Feb 17 at 16:45
How do I add a sketch?
– user61882
Feb 17 at 16:45
It is a picture showing what you need.
– JouleV
Feb 17 at 16:53
It is a picture showing what you need.
– JouleV
Feb 17 at 16:53
add a comment |
3 Answers
3
active
oldest
votes
Here are three other possibilities, with mathtools (which extends amsmath) and makebox:
documentclass{article}
usepackage{mathtools}
usepackage{makebox}
begin{document}
begin{alignat*}{2}
& & y & = 3x +2\
ArrowBetweenLines[Downarrow] & & x &= 48 \
& & & = sin{x}
end{alignat*}
begin{alignat*}{2}
y & = 3x +2 & & \
ArrowBetweenLines*[Downarrow] x &= 48 & &\
& = sin{x}& &
end{alignat*}
begin{align*}
y & = 3x +2\[-0.5ex]
&makebox*{${}= {}$}{$ Downarrow $}\[-0.5ex]
x &= 48 \
&= sin{x}
end{align*}
end{document}

add a comment |
If I understood the question correctly:
Quick hack (corrected by John Kormylo in his comment)
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x = 48 \
& phantom{nullimplies x}= sin{x}
end{align*}
end{document}

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x &&= 48 \
&&&= sin{x}
end{align*}
end{document}

That is sort of it, I would like the 48 to be next to the x though like ` $x=48$` and the$sin{x}$underneath the 48
– user61882
Feb 17 at 16:46
1
Is a quick hack like this suitable for you?
– AndréC
Feb 17 at 16:53
Use phantom{nullimplies x}. Operators need operands (or &) on both sides.
– John Kormylo
Feb 17 at 20:34
add a comment |
Another kind of alignment. It concerns the alignment of the symbol =

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
y&= 3x +2 implies\
x &= 48 \
&= sin{x}
end{align*}
end{document}
That is closer but imagine that I wanted only the$sin{x}$and48aligned together and the$implies$aligned with the$y$
– user61882
Feb 17 at 17:00
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%2f475348%2fhow-do-i-align-multiple-equations-together-at-different-points%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here are three other possibilities, with mathtools (which extends amsmath) and makebox:
documentclass{article}
usepackage{mathtools}
usepackage{makebox}
begin{document}
begin{alignat*}{2}
& & y & = 3x +2\
ArrowBetweenLines[Downarrow] & & x &= 48 \
& & & = sin{x}
end{alignat*}
begin{alignat*}{2}
y & = 3x +2 & & \
ArrowBetweenLines*[Downarrow] x &= 48 & &\
& = sin{x}& &
end{alignat*}
begin{align*}
y & = 3x +2\[-0.5ex]
&makebox*{${}= {}$}{$ Downarrow $}\[-0.5ex]
x &= 48 \
&= sin{x}
end{align*}
end{document}

add a comment |
Here are three other possibilities, with mathtools (which extends amsmath) and makebox:
documentclass{article}
usepackage{mathtools}
usepackage{makebox}
begin{document}
begin{alignat*}{2}
& & y & = 3x +2\
ArrowBetweenLines[Downarrow] & & x &= 48 \
& & & = sin{x}
end{alignat*}
begin{alignat*}{2}
y & = 3x +2 & & \
ArrowBetweenLines*[Downarrow] x &= 48 & &\
& = sin{x}& &
end{alignat*}
begin{align*}
y & = 3x +2\[-0.5ex]
&makebox*{${}= {}$}{$ Downarrow $}\[-0.5ex]
x &= 48 \
&= sin{x}
end{align*}
end{document}

add a comment |
Here are three other possibilities, with mathtools (which extends amsmath) and makebox:
documentclass{article}
usepackage{mathtools}
usepackage{makebox}
begin{document}
begin{alignat*}{2}
& & y & = 3x +2\
ArrowBetweenLines[Downarrow] & & x &= 48 \
& & & = sin{x}
end{alignat*}
begin{alignat*}{2}
y & = 3x +2 & & \
ArrowBetweenLines*[Downarrow] x &= 48 & &\
& = sin{x}& &
end{alignat*}
begin{align*}
y & = 3x +2\[-0.5ex]
&makebox*{${}= {}$}{$ Downarrow $}\[-0.5ex]
x &= 48 \
&= sin{x}
end{align*}
end{document}

Here are three other possibilities, with mathtools (which extends amsmath) and makebox:
documentclass{article}
usepackage{mathtools}
usepackage{makebox}
begin{document}
begin{alignat*}{2}
& & y & = 3x +2\
ArrowBetweenLines[Downarrow] & & x &= 48 \
& & & = sin{x}
end{alignat*}
begin{alignat*}{2}
y & = 3x +2 & & \
ArrowBetweenLines*[Downarrow] x &= 48 & &\
& = sin{x}& &
end{alignat*}
begin{align*}
y & = 3x +2\[-0.5ex]
&makebox*{${}= {}$}{$ Downarrow $}\[-0.5ex]
x &= 48 \
&= sin{x}
end{align*}
end{document}

answered Feb 17 at 18:09
BernardBernard
171k775202
171k775202
add a comment |
add a comment |
If I understood the question correctly:
Quick hack (corrected by John Kormylo in his comment)
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x = 48 \
& phantom{nullimplies x}= sin{x}
end{align*}
end{document}

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x &&= 48 \
&&&= sin{x}
end{align*}
end{document}

That is sort of it, I would like the 48 to be next to the x though like ` $x=48$` and the$sin{x}$underneath the 48
– user61882
Feb 17 at 16:46
1
Is a quick hack like this suitable for you?
– AndréC
Feb 17 at 16:53
Use phantom{nullimplies x}. Operators need operands (or &) on both sides.
– John Kormylo
Feb 17 at 20:34
add a comment |
If I understood the question correctly:
Quick hack (corrected by John Kormylo in his comment)
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x = 48 \
& phantom{nullimplies x}= sin{x}
end{align*}
end{document}

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x &&= 48 \
&&&= sin{x}
end{align*}
end{document}

That is sort of it, I would like the 48 to be next to the x though like ` $x=48$` and the$sin{x}$underneath the 48
– user61882
Feb 17 at 16:46
1
Is a quick hack like this suitable for you?
– AndréC
Feb 17 at 16:53
Use phantom{nullimplies x}. Operators need operands (or &) on both sides.
– John Kormylo
Feb 17 at 20:34
add a comment |
If I understood the question correctly:
Quick hack (corrected by John Kormylo in his comment)
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x = 48 \
& phantom{nullimplies x}= sin{x}
end{align*}
end{document}

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x &&= 48 \
&&&= sin{x}
end{align*}
end{document}

If I understood the question correctly:
Quick hack (corrected by John Kormylo in his comment)
documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x = 48 \
& phantom{nullimplies x}= sin{x}
end{align*}
end{document}

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
&y= 3x +2\
&implies x &&= 48 \
&&&= sin{x}
end{align*}
end{document}

edited Feb 18 at 4:17
answered Feb 17 at 16:42
AndréCAndréC
9,28111447
9,28111447
That is sort of it, I would like the 48 to be next to the x though like ` $x=48$` and the$sin{x}$underneath the 48
– user61882
Feb 17 at 16:46
1
Is a quick hack like this suitable for you?
– AndréC
Feb 17 at 16:53
Use phantom{nullimplies x}. Operators need operands (or &) on both sides.
– John Kormylo
Feb 17 at 20:34
add a comment |
That is sort of it, I would like the 48 to be next to the x though like ` $x=48$` and the$sin{x}$underneath the 48
– user61882
Feb 17 at 16:46
1
Is a quick hack like this suitable for you?
– AndréC
Feb 17 at 16:53
Use phantom{nullimplies x}. Operators need operands (or &) on both sides.
– John Kormylo
Feb 17 at 20:34
That is sort of it, I would like the 48 to be next to the x though like ` $x=48$` and the
$sin{x}$ underneath the 48– user61882
Feb 17 at 16:46
That is sort of it, I would like the 48 to be next to the x though like ` $x=48$` and the
$sin{x}$ underneath the 48– user61882
Feb 17 at 16:46
1
1
Is a quick hack like this suitable for you?
– AndréC
Feb 17 at 16:53
Is a quick hack like this suitable for you?
– AndréC
Feb 17 at 16:53
Use phantom{nullimplies x}. Operators need operands (or &) on both sides.
– John Kormylo
Feb 17 at 20:34
Use phantom{nullimplies x}. Operators need operands (or &) on both sides.
– John Kormylo
Feb 17 at 20:34
add a comment |
Another kind of alignment. It concerns the alignment of the symbol =

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
y&= 3x +2 implies\
x &= 48 \
&= sin{x}
end{align*}
end{document}
That is closer but imagine that I wanted only the$sin{x}$and48aligned together and the$implies$aligned with the$y$
– user61882
Feb 17 at 17:00
add a comment |
Another kind of alignment. It concerns the alignment of the symbol =

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
y&= 3x +2 implies\
x &= 48 \
&= sin{x}
end{align*}
end{document}
That is closer but imagine that I wanted only the$sin{x}$and48aligned together and the$implies$aligned with the$y$
– user61882
Feb 17 at 17:00
add a comment |
Another kind of alignment. It concerns the alignment of the symbol =

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
y&= 3x +2 implies\
x &= 48 \
&= sin{x}
end{align*}
end{document}
Another kind of alignment. It concerns the alignment of the symbol =

documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
y&= 3x +2 implies\
x &= 48 \
&= sin{x}
end{align*}
end{document}
answered Feb 17 at 16:41
SebastianoSebastiano
10.2k41960
10.2k41960
That is closer but imagine that I wanted only the$sin{x}$and48aligned together and the$implies$aligned with the$y$
– user61882
Feb 17 at 17:00
add a comment |
That is closer but imagine that I wanted only the$sin{x}$and48aligned together and the$implies$aligned with the$y$
– user61882
Feb 17 at 17:00
That is closer but imagine that I wanted only the
$sin{x}$ and 48 aligned together and the $implies$ aligned with the $y$– user61882
Feb 17 at 17:00
That is closer but imagine that I wanted only the
$sin{x}$ and 48 aligned together and the $implies$ aligned with the $y$– user61882
Feb 17 at 17:00
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%2f475348%2fhow-do-i-align-multiple-equations-together-at-different-points%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
How do I add a sketch?
– user61882
Feb 17 at 16:45
It is a picture showing what you need.
– JouleV
Feb 17 at 16:53