Alignment with a symbol within sqrt
up vote
5
down vote
favorite
In this MWE I get an error.
My aim is that the "6" is appearing directly beneath the "2".
documentclassarticle
usepackageamsmath
begindocument
beginalign*
sqrt1 & 2345= \
& 6
endalign*
enddocument
align
add a comment |
up vote
5
down vote
favorite
In this MWE I get an error.
My aim is that the "6" is appearing directly beneath the "2".
documentclassarticle
usepackageamsmath
begindocument
beginalign*
sqrt1 & 2345= \
& 6
endalign*
enddocument
align
There are a number of ways to achieve this. Do you have a specific goal in mind other than placing one number underneath another?
– Werner
Nov 8 at 21:14
@Werner In principle it's only about placing numbers. My goal is typesetting an algorithm similar to divison. I specified my question now in a new case called "Alignment and phantom". (I know about the package xlop but think this does not help here).
– Thales
Nov 8 at 23:45
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
In this MWE I get an error.
My aim is that the "6" is appearing directly beneath the "2".
documentclassarticle
usepackageamsmath
begindocument
beginalign*
sqrt1 & 2345= \
& 6
endalign*
enddocument
align
In this MWE I get an error.
My aim is that the "6" is appearing directly beneath the "2".
documentclassarticle
usepackageamsmath
begindocument
beginalign*
sqrt1 & 2345= \
& 6
endalign*
enddocument
align
align
asked Nov 8 at 21:00
Thales
656
656
There are a number of ways to achieve this. Do you have a specific goal in mind other than placing one number underneath another?
– Werner
Nov 8 at 21:14
@Werner In principle it's only about placing numbers. My goal is typesetting an algorithm similar to divison. I specified my question now in a new case called "Alignment and phantom". (I know about the package xlop but think this does not help here).
– Thales
Nov 8 at 23:45
add a comment |
There are a number of ways to achieve this. Do you have a specific goal in mind other than placing one number underneath another?
– Werner
Nov 8 at 21:14
@Werner In principle it's only about placing numbers. My goal is typesetting an algorithm similar to divison. I specified my question now in a new case called "Alignment and phantom". (I know about the package xlop but think this does not help here).
– Thales
Nov 8 at 23:45
There are a number of ways to achieve this. Do you have a specific goal in mind other than placing one number underneath another?
– Werner
Nov 8 at 21:14
There are a number of ways to achieve this. Do you have a specific goal in mind other than placing one number underneath another?
– Werner
Nov 8 at 21:14
@Werner In principle it's only about placing numbers. My goal is typesetting an algorithm similar to divison. I specified my question now in a new case called "Alignment and phantom". (I know about the package xlop but think this does not help here).
– Thales
Nov 8 at 23:45
@Werner In principle it's only about placing numbers. My goal is typesetting an algorithm similar to divison. I specified my question now in a new case called "Alignment and phantom". (I know about the package xlop but think this does not help here).
– Thales
Nov 8 at 23:45
add a comment |
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
You cannot use alignment points (&
) inside an sqrt
structure. Instead, here I use phantom
to provide the requested buffer.
documentclassarticle
usepackageamsmath
begindocument
beginalign*
sqrt1 2345= \
6phantom345 =
endalign*
enddocument
If you want the rows closer together, use something like \[-6pt]
as the row separator.
Thanks! That helps me.
– Thales
Nov 8 at 21:20
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
You cannot use alignment points (&
) inside an sqrt
structure. Instead, here I use phantom
to provide the requested buffer.
documentclassarticle
usepackageamsmath
begindocument
beginalign*
sqrt1 2345= \
6phantom345 =
endalign*
enddocument
If you want the rows closer together, use something like \[-6pt]
as the row separator.
Thanks! That helps me.
– Thales
Nov 8 at 21:20
add a comment |
up vote
5
down vote
accepted
You cannot use alignment points (&
) inside an sqrt
structure. Instead, here I use phantom
to provide the requested buffer.
documentclassarticle
usepackageamsmath
begindocument
beginalign*
sqrt1 2345= \
6phantom345 =
endalign*
enddocument
If you want the rows closer together, use something like \[-6pt]
as the row separator.
Thanks! That helps me.
– Thales
Nov 8 at 21:20
add a comment |
up vote
5
down vote
accepted
up vote
5
down vote
accepted
You cannot use alignment points (&
) inside an sqrt
structure. Instead, here I use phantom
to provide the requested buffer.
documentclassarticle
usepackageamsmath
begindocument
beginalign*
sqrt1 2345= \
6phantom345 =
endalign*
enddocument
If you want the rows closer together, use something like \[-6pt]
as the row separator.
You cannot use alignment points (&
) inside an sqrt
structure. Instead, here I use phantom
to provide the requested buffer.
documentclassarticle
usepackageamsmath
begindocument
beginalign*
sqrt1 2345= \
6phantom345 =
endalign*
enddocument
If you want the rows closer together, use something like \[-6pt]
as the row separator.
edited Nov 8 at 21:26
answered Nov 8 at 21:02
Steven B. Segletes
152k9191398
152k9191398
Thanks! That helps me.
– Thales
Nov 8 at 21:20
add a comment |
Thanks! That helps me.
– Thales
Nov 8 at 21:20
Thanks! That helps me.
– Thales
Nov 8 at 21:20
Thanks! That helps me.
– Thales
Nov 8 at 21:20
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%2f459050%2falignment-with-a-symbol-within-sqrt%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
There are a number of ways to achieve this. Do you have a specific goal in mind other than placing one number underneath another?
– Werner
Nov 8 at 21:14
@Werner In principle it's only about placing numbers. My goal is typesetting an algorithm similar to divison. I specified my question now in a new case called "Alignment and phantom". (I know about the package xlop but think this does not help here).
– Thales
Nov 8 at 23:45