Aligning an equation at multiple points, with both left and right alignment, as well as equals sign alignmentRight Align Equation Number with hfill in Custom EnvironmentCreating Horizontal Lines With A Specific DistanceText and picture top-aligned, where text is left-aligned and picture is right alignedHorizontal alignment of equation and textAlign multiple equations with parts inside rootAlign images with text without using tablesAligning text in the multicols environmentAligning a list (whose elements are aligned left) to the right of the pageHow can I align this equation in the center?Split text apart in table cell
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
bldc motor, esc and battery draw, nominal vs peak
What is causing the white spot to appear in some of my pictures
Classification of surfaces
Contradiction proof for inequality of P and NP?
What term is being referred to with "reflected-sound-of-underground-spirits"?
"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?
Dynamic SOQL query relationship with field visibility for Users
Map of water taps to fill bottles
Do I have an "anti-research" personality?
Multiple options vs single option UI
Like totally amazing interchangeable sister outfits II: The Revenge
Implications of cigar-shaped bodies having rings?
Is there really no use for MD5 anymore?
How to not starve gigantic beasts
Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?
Could the terminal length of components like resistors be reduced?
Re-entry to Germany after vacation using blue card
How to stop co-workers from teasing me because I know Russian?
Betweenness centrality formula
Why did C use the -> operator instead of reusing the . operator?
Can I grease a crank spindle/bracket without disassembling the crank set?
Is it idiomatic to construct against `this`
Critique of timeline aesthetic
Aligning an equation at multiple points, with both left and right alignment, as well as equals sign alignment
Right Align Equation Number with hfill in Custom EnvironmentCreating Horizontal Lines With A Specific DistanceText and picture top-aligned, where text is left-aligned and picture is right alignedHorizontal alignment of equation and textAlign multiple equations with parts inside rootAlign images with text without using tablesAligning text in the multicols environmentAligning a list (whose elements are aligned left) to the right of the pageHow can I align this equation in the center?Split text apart in table cell
I am trying to achieve the formatting in the image attached, with the bracketed right equation/text aligned to the right side of the page. However, I would also like to be able to align the equal signs on the left hand expressions, whilst also aligning the most side of each line with the left hand side of the page.
I have attempted to do this using align and /hfill; however I suspect this is not exactly efficient or correct. I am not a Latex expert, I would just like to make lists of these fairly simple equations look pretty.
Any assistance would be greatly appreciated.
The code I have used is below:
documentclassarticle
usepackageamsmath
begindocument
beginalign*
par vspace3mm R_1 &= dfracwl2 \
par vspace3mm R_2 &= R_1 \
par vspace3mm V_x &= wleft(dfracl2-xright) \
par vspace3mm V_max &= R_1=R_2 hfill text(at;R_1;textand;R_2text) \
par vspace3mm M_max&=dfracwl^28 hfill text(at centre)\
par vspace3mm M_x&=dfracwx2left(l-xright) \
par vspace3mm Delta_max&=dfrac5wl^4384EI \
par vspace3mm Delta_x&=dfracwx24EIleft(l^3-2lx^2+x^3right) hfill text(at centre)\
endalign*
enddocument
Many thanks and kind regards
horizontal-alignment align
add a comment |
I am trying to achieve the formatting in the image attached, with the bracketed right equation/text aligned to the right side of the page. However, I would also like to be able to align the equal signs on the left hand expressions, whilst also aligning the most side of each line with the left hand side of the page.
I have attempted to do this using align and /hfill; however I suspect this is not exactly efficient or correct. I am not a Latex expert, I would just like to make lists of these fairly simple equations look pretty.
Any assistance would be greatly appreciated.
The code I have used is below:
documentclassarticle
usepackageamsmath
begindocument
beginalign*
par vspace3mm R_1 &= dfracwl2 \
par vspace3mm R_2 &= R_1 \
par vspace3mm V_x &= wleft(dfracl2-xright) \
par vspace3mm V_max &= R_1=R_2 hfill text(at;R_1;textand;R_2text) \
par vspace3mm M_max&=dfracwl^28 hfill text(at centre)\
par vspace3mm M_x&=dfracwx2left(l-xright) \
par vspace3mm Delta_max&=dfrac5wl^4384EI \
par vspace3mm Delta_x&=dfracwx24EIleft(l^3-2lx^2+x^3right) hfill text(at centre)\
endalign*
enddocument
Many thanks and kind regards
horizontal-alignment align
add a comment |
I am trying to achieve the formatting in the image attached, with the bracketed right equation/text aligned to the right side of the page. However, I would also like to be able to align the equal signs on the left hand expressions, whilst also aligning the most side of each line with the left hand side of the page.
I have attempted to do this using align and /hfill; however I suspect this is not exactly efficient or correct. I am not a Latex expert, I would just like to make lists of these fairly simple equations look pretty.
Any assistance would be greatly appreciated.
The code I have used is below:
documentclassarticle
usepackageamsmath
begindocument
beginalign*
par vspace3mm R_1 &= dfracwl2 \
par vspace3mm R_2 &= R_1 \
par vspace3mm V_x &= wleft(dfracl2-xright) \
par vspace3mm V_max &= R_1=R_2 hfill text(at;R_1;textand;R_2text) \
par vspace3mm M_max&=dfracwl^28 hfill text(at centre)\
par vspace3mm M_x&=dfracwx2left(l-xright) \
par vspace3mm Delta_max&=dfrac5wl^4384EI \
par vspace3mm Delta_x&=dfracwx24EIleft(l^3-2lx^2+x^3right) hfill text(at centre)\
endalign*
enddocument
Many thanks and kind regards
horizontal-alignment align
I am trying to achieve the formatting in the image attached, with the bracketed right equation/text aligned to the right side of the page. However, I would also like to be able to align the equal signs on the left hand expressions, whilst also aligning the most side of each line with the left hand side of the page.
I have attempted to do this using align and /hfill; however I suspect this is not exactly efficient or correct. I am not a Latex expert, I would just like to make lists of these fairly simple equations look pretty.
Any assistance would be greatly appreciated.
The code I have used is below:
documentclassarticle
usepackageamsmath
begindocument
beginalign*
par vspace3mm R_1 &= dfracwl2 \
par vspace3mm R_2 &= R_1 \
par vspace3mm V_x &= wleft(dfracl2-xright) \
par vspace3mm V_max &= R_1=R_2 hfill text(at;R_1;textand;R_2text) \
par vspace3mm M_max&=dfracwl^28 hfill text(at centre)\
par vspace3mm M_x&=dfracwx2left(l-xright) \
par vspace3mm Delta_max&=dfrac5wl^4384EI \
par vspace3mm Delta_x&=dfracwx24EIleft(l^3-2lx^2+x^3right) hfill text(at centre)\
endalign*
enddocument
Many thanks and kind regards
horizontal-alignment align
horizontal-alignment align
edited Apr 19 at 9:56
Tokamec
asked Apr 19 at 9:28
TokamecTokamec
112
112
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Some preliminary notes:
R_1
is wrong and should beR_1
(similarly for the other cases)- “max” in a subscript should be upright
par
andvspace
are meaningless in a math display- the last line in a display should not end with
\
In the code below I used showframe
just to show the page margins; don't use it yourself.
You can use the eqparbox
environment. Each use should have a unique label, in this case A
. Use a different one for each display where you need lefteqbox
.
I also added how I would typeset the display.
documentclassarticle
usepackageamsmath,eqparbox
newcommandlefteqbox[2]%
eqparbox[t]#1$displaystyle#2$hfil%
usepackageshowframe
begindocument
This is possibly what you want to achieve
beginflalign*
lefteqboxAR_1 &= fracwl2 \[1ex]
lefteqboxAR_2 &= R_1 \[1ex]
lefteqboxAV_x &= wleft(fracl2-xright) \[1ex]
lefteqboxAV_max &= R_1=R_2
& text(at $R_1$ and $R_2$) & \[1ex]
lefteqboxAM_max &= fracwl^28
& text(at centre) &\[1ex]
lefteqboxAM_x &= fracwx2(l-x) \[1ex]
lefteqboxADelta_max &= frac5wl^4384EI \[1ex]
lefteqboxADelta_x &= fracwx24EI(l^3-2lx^2+x^3)
& text(at centre) &
endflalign*
However, my opinion is that the following is better and clearer
beginalignat*2
R_1 &= fracwl2 \[1ex]
R_2 &= R_1 \[1ex]
V_x &= wleft(fracl2-xright) \[1ex]
V_max &= R_1=R_2
&qquad& text(at $R_1$ and $R_2$) \[1ex]
M_max &= fracwl^28
&qquad& text(at centre) \[1ex]
M_x &= fracwx2(l-x) \[1ex]
Delta_max &= frac5wl^4384EI \[1ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3)
&qquad& text(at centre)
endalignat*
enddocument
A different realization exploiting tabular*
:
documentclassarticle
usepackageamsmath,array
usepackageshowframe
begindocument
[
begintabular*displaywidth
@
>$displaystylel<$
@
>$displaystylel<$
@extracolsepfill
r
@
R_1 &= fracwl2 \[2ex]
R_2 &= R_1 \[2ex]
V_x &= wleft(fracl2-xright) \[2ex]
V_max &= R_1=R_2 & (at $R_1$ and $R_2$) \[2ex]
M_max &= fracwl^28 & (at centre) \[2ex]
M_x &= fracwx2(l-x) \[2ex]
Delta_max &= frac5wl^4384EI \[2ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3) & (at centre)
endtabular*
]
enddocument
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
Apr 19 at 10:07
add a comment |
With the help or an array
you can achieve the following layout:
documentclassarticle
usepackageamsmath
usepackagearray
begindocument
setlengthextrarowheight10pt
[
beginarrayllr
R_1 &= dfracwl2 \
R_2 &= R_1 \
V_x &= wleft(dfracl2-xright) \
V_max &= R_1=R_2 & text(at;R_1;textand;R_2text) \
M_max&=dfracwl^28 & text(at centre)\
M_x&=dfracwx2left(l-xright) \
Delta_max&=dfrac5wl^4384EI \
Delta_x&=dfracwx24EIleft(l^3-2lx^2+x^3right) & text(at centre)\
endarray
]
enddocument
This looks perfect thanks!
– Tokamec
Apr 19 at 9:57
note this still hasV_max
copied from the question (wrong font and wrong_
placement) also you could point out that you are needingdfrac
here as unlike the ams alignmentsarray
is intended for matrices of values not displayed equations so sets the entries in inline math mode.
– David Carlisle
Apr 19 at 11:23
add a comment |
With flalign*
and package eqparbox
:
documentclass[11pt]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagemathtools
usepackageeqparbox
newcommandeqmathbox[2][M] eqmakebox[#1][l]$displaystyle #2$
begindocument
beginflalign*
eqmathboxR_1 &= fracwl2 \[1ex]
eqmathboxR_2 &= R_1\[1ex]
eqmathboxV_x &= wleft(fracl2-xright)\[1ex]
eqmathboxV_max &= R_1=R_2 & & & text(at;R_1 text and R_2text)\[1ex]
eqmathboxM_max&=fracwl^28 & & & text(at centre)\[1ex]
eqmathboxM_x&=fracwx2left(l-xright)\[1ex]
eqmathboxDelta_max&=frac5wl^4384EI\[1ex]
eqmathboxDelta_x&=fracwx24EIleft(l^3-2lx^2+x^3right) & & & text(at centre)
endflalign*
enddocument
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
Apr 19 at 10:09
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%2f485574%2faligning-an-equation-at-multiple-points-with-both-left-and-right-alignment-as%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
Some preliminary notes:
R_1
is wrong and should beR_1
(similarly for the other cases)- “max” in a subscript should be upright
par
andvspace
are meaningless in a math display- the last line in a display should not end with
\
In the code below I used showframe
just to show the page margins; don't use it yourself.
You can use the eqparbox
environment. Each use should have a unique label, in this case A
. Use a different one for each display where you need lefteqbox
.
I also added how I would typeset the display.
documentclassarticle
usepackageamsmath,eqparbox
newcommandlefteqbox[2]%
eqparbox[t]#1$displaystyle#2$hfil%
usepackageshowframe
begindocument
This is possibly what you want to achieve
beginflalign*
lefteqboxAR_1 &= fracwl2 \[1ex]
lefteqboxAR_2 &= R_1 \[1ex]
lefteqboxAV_x &= wleft(fracl2-xright) \[1ex]
lefteqboxAV_max &= R_1=R_2
& text(at $R_1$ and $R_2$) & \[1ex]
lefteqboxAM_max &= fracwl^28
& text(at centre) &\[1ex]
lefteqboxAM_x &= fracwx2(l-x) \[1ex]
lefteqboxADelta_max &= frac5wl^4384EI \[1ex]
lefteqboxADelta_x &= fracwx24EI(l^3-2lx^2+x^3)
& text(at centre) &
endflalign*
However, my opinion is that the following is better and clearer
beginalignat*2
R_1 &= fracwl2 \[1ex]
R_2 &= R_1 \[1ex]
V_x &= wleft(fracl2-xright) \[1ex]
V_max &= R_1=R_2
&qquad& text(at $R_1$ and $R_2$) \[1ex]
M_max &= fracwl^28
&qquad& text(at centre) \[1ex]
M_x &= fracwx2(l-x) \[1ex]
Delta_max &= frac5wl^4384EI \[1ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3)
&qquad& text(at centre)
endalignat*
enddocument
A different realization exploiting tabular*
:
documentclassarticle
usepackageamsmath,array
usepackageshowframe
begindocument
[
begintabular*displaywidth
@
>$displaystylel<$
@
>$displaystylel<$
@extracolsepfill
r
@
R_1 &= fracwl2 \[2ex]
R_2 &= R_1 \[2ex]
V_x &= wleft(fracl2-xright) \[2ex]
V_max &= R_1=R_2 & (at $R_1$ and $R_2$) \[2ex]
M_max &= fracwl^28 & (at centre) \[2ex]
M_x &= fracwx2(l-x) \[2ex]
Delta_max &= frac5wl^4384EI \[2ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3) & (at centre)
endtabular*
]
enddocument
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
Apr 19 at 10:07
add a comment |
Some preliminary notes:
R_1
is wrong and should beR_1
(similarly for the other cases)- “max” in a subscript should be upright
par
andvspace
are meaningless in a math display- the last line in a display should not end with
\
In the code below I used showframe
just to show the page margins; don't use it yourself.
You can use the eqparbox
environment. Each use should have a unique label, in this case A
. Use a different one for each display where you need lefteqbox
.
I also added how I would typeset the display.
documentclassarticle
usepackageamsmath,eqparbox
newcommandlefteqbox[2]%
eqparbox[t]#1$displaystyle#2$hfil%
usepackageshowframe
begindocument
This is possibly what you want to achieve
beginflalign*
lefteqboxAR_1 &= fracwl2 \[1ex]
lefteqboxAR_2 &= R_1 \[1ex]
lefteqboxAV_x &= wleft(fracl2-xright) \[1ex]
lefteqboxAV_max &= R_1=R_2
& text(at $R_1$ and $R_2$) & \[1ex]
lefteqboxAM_max &= fracwl^28
& text(at centre) &\[1ex]
lefteqboxAM_x &= fracwx2(l-x) \[1ex]
lefteqboxADelta_max &= frac5wl^4384EI \[1ex]
lefteqboxADelta_x &= fracwx24EI(l^3-2lx^2+x^3)
& text(at centre) &
endflalign*
However, my opinion is that the following is better and clearer
beginalignat*2
R_1 &= fracwl2 \[1ex]
R_2 &= R_1 \[1ex]
V_x &= wleft(fracl2-xright) \[1ex]
V_max &= R_1=R_2
&qquad& text(at $R_1$ and $R_2$) \[1ex]
M_max &= fracwl^28
&qquad& text(at centre) \[1ex]
M_x &= fracwx2(l-x) \[1ex]
Delta_max &= frac5wl^4384EI \[1ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3)
&qquad& text(at centre)
endalignat*
enddocument
A different realization exploiting tabular*
:
documentclassarticle
usepackageamsmath,array
usepackageshowframe
begindocument
[
begintabular*displaywidth
@
>$displaystylel<$
@
>$displaystylel<$
@extracolsepfill
r
@
R_1 &= fracwl2 \[2ex]
R_2 &= R_1 \[2ex]
V_x &= wleft(fracl2-xright) \[2ex]
V_max &= R_1=R_2 & (at $R_1$ and $R_2$) \[2ex]
M_max &= fracwl^28 & (at centre) \[2ex]
M_x &= fracwx2(l-x) \[2ex]
Delta_max &= frac5wl^4384EI \[2ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3) & (at centre)
endtabular*
]
enddocument
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
Apr 19 at 10:07
add a comment |
Some preliminary notes:
R_1
is wrong and should beR_1
(similarly for the other cases)- “max” in a subscript should be upright
par
andvspace
are meaningless in a math display- the last line in a display should not end with
\
In the code below I used showframe
just to show the page margins; don't use it yourself.
You can use the eqparbox
environment. Each use should have a unique label, in this case A
. Use a different one for each display where you need lefteqbox
.
I also added how I would typeset the display.
documentclassarticle
usepackageamsmath,eqparbox
newcommandlefteqbox[2]%
eqparbox[t]#1$displaystyle#2$hfil%
usepackageshowframe
begindocument
This is possibly what you want to achieve
beginflalign*
lefteqboxAR_1 &= fracwl2 \[1ex]
lefteqboxAR_2 &= R_1 \[1ex]
lefteqboxAV_x &= wleft(fracl2-xright) \[1ex]
lefteqboxAV_max &= R_1=R_2
& text(at $R_1$ and $R_2$) & \[1ex]
lefteqboxAM_max &= fracwl^28
& text(at centre) &\[1ex]
lefteqboxAM_x &= fracwx2(l-x) \[1ex]
lefteqboxADelta_max &= frac5wl^4384EI \[1ex]
lefteqboxADelta_x &= fracwx24EI(l^3-2lx^2+x^3)
& text(at centre) &
endflalign*
However, my opinion is that the following is better and clearer
beginalignat*2
R_1 &= fracwl2 \[1ex]
R_2 &= R_1 \[1ex]
V_x &= wleft(fracl2-xright) \[1ex]
V_max &= R_1=R_2
&qquad& text(at $R_1$ and $R_2$) \[1ex]
M_max &= fracwl^28
&qquad& text(at centre) \[1ex]
M_x &= fracwx2(l-x) \[1ex]
Delta_max &= frac5wl^4384EI \[1ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3)
&qquad& text(at centre)
endalignat*
enddocument
A different realization exploiting tabular*
:
documentclassarticle
usepackageamsmath,array
usepackageshowframe
begindocument
[
begintabular*displaywidth
@
>$displaystylel<$
@
>$displaystylel<$
@extracolsepfill
r
@
R_1 &= fracwl2 \[2ex]
R_2 &= R_1 \[2ex]
V_x &= wleft(fracl2-xright) \[2ex]
V_max &= R_1=R_2 & (at $R_1$ and $R_2$) \[2ex]
M_max &= fracwl^28 & (at centre) \[2ex]
M_x &= fracwx2(l-x) \[2ex]
Delta_max &= frac5wl^4384EI \[2ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3) & (at centre)
endtabular*
]
enddocument
Some preliminary notes:
R_1
is wrong and should beR_1
(similarly for the other cases)- “max” in a subscript should be upright
par
andvspace
are meaningless in a math display- the last line in a display should not end with
\
In the code below I used showframe
just to show the page margins; don't use it yourself.
You can use the eqparbox
environment. Each use should have a unique label, in this case A
. Use a different one for each display where you need lefteqbox
.
I also added how I would typeset the display.
documentclassarticle
usepackageamsmath,eqparbox
newcommandlefteqbox[2]%
eqparbox[t]#1$displaystyle#2$hfil%
usepackageshowframe
begindocument
This is possibly what you want to achieve
beginflalign*
lefteqboxAR_1 &= fracwl2 \[1ex]
lefteqboxAR_2 &= R_1 \[1ex]
lefteqboxAV_x &= wleft(fracl2-xright) \[1ex]
lefteqboxAV_max &= R_1=R_2
& text(at $R_1$ and $R_2$) & \[1ex]
lefteqboxAM_max &= fracwl^28
& text(at centre) &\[1ex]
lefteqboxAM_x &= fracwx2(l-x) \[1ex]
lefteqboxADelta_max &= frac5wl^4384EI \[1ex]
lefteqboxADelta_x &= fracwx24EI(l^3-2lx^2+x^3)
& text(at centre) &
endflalign*
However, my opinion is that the following is better and clearer
beginalignat*2
R_1 &= fracwl2 \[1ex]
R_2 &= R_1 \[1ex]
V_x &= wleft(fracl2-xright) \[1ex]
V_max &= R_1=R_2
&qquad& text(at $R_1$ and $R_2$) \[1ex]
M_max &= fracwl^28
&qquad& text(at centre) \[1ex]
M_x &= fracwx2(l-x) \[1ex]
Delta_max &= frac5wl^4384EI \[1ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3)
&qquad& text(at centre)
endalignat*
enddocument
A different realization exploiting tabular*
:
documentclassarticle
usepackageamsmath,array
usepackageshowframe
begindocument
[
begintabular*displaywidth
@
>$displaystylel<$
@
>$displaystylel<$
@extracolsepfill
r
@
R_1 &= fracwl2 \[2ex]
R_2 &= R_1 \[2ex]
V_x &= wleft(fracl2-xright) \[2ex]
V_max &= R_1=R_2 & (at $R_1$ and $R_2$) \[2ex]
M_max &= fracwl^28 & (at centre) \[2ex]
M_x &= fracwx2(l-x) \[2ex]
Delta_max &= frac5wl^4384EI \[2ex]
Delta_x &= fracwx24EI(l^3-2lx^2+x^3) & (at centre)
endtabular*
]
enddocument
edited Apr 19 at 10:12
answered Apr 19 at 10:01
egregegreg
737k8919373265
737k8919373265
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
Apr 19 at 10:07
add a comment |
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
Apr 19 at 10:07
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
Apr 19 at 10:07
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
Apr 19 at 10:07
add a comment |
With the help or an array
you can achieve the following layout:
documentclassarticle
usepackageamsmath
usepackagearray
begindocument
setlengthextrarowheight10pt
[
beginarrayllr
R_1 &= dfracwl2 \
R_2 &= R_1 \
V_x &= wleft(dfracl2-xright) \
V_max &= R_1=R_2 & text(at;R_1;textand;R_2text) \
M_max&=dfracwl^28 & text(at centre)\
M_x&=dfracwx2left(l-xright) \
Delta_max&=dfrac5wl^4384EI \
Delta_x&=dfracwx24EIleft(l^3-2lx^2+x^3right) & text(at centre)\
endarray
]
enddocument
This looks perfect thanks!
– Tokamec
Apr 19 at 9:57
note this still hasV_max
copied from the question (wrong font and wrong_
placement) also you could point out that you are needingdfrac
here as unlike the ams alignmentsarray
is intended for matrices of values not displayed equations so sets the entries in inline math mode.
– David Carlisle
Apr 19 at 11:23
add a comment |
With the help or an array
you can achieve the following layout:
documentclassarticle
usepackageamsmath
usepackagearray
begindocument
setlengthextrarowheight10pt
[
beginarrayllr
R_1 &= dfracwl2 \
R_2 &= R_1 \
V_x &= wleft(dfracl2-xright) \
V_max &= R_1=R_2 & text(at;R_1;textand;R_2text) \
M_max&=dfracwl^28 & text(at centre)\
M_x&=dfracwx2left(l-xright) \
Delta_max&=dfrac5wl^4384EI \
Delta_x&=dfracwx24EIleft(l^3-2lx^2+x^3right) & text(at centre)\
endarray
]
enddocument
This looks perfect thanks!
– Tokamec
Apr 19 at 9:57
note this still hasV_max
copied from the question (wrong font and wrong_
placement) also you could point out that you are needingdfrac
here as unlike the ams alignmentsarray
is intended for matrices of values not displayed equations so sets the entries in inline math mode.
– David Carlisle
Apr 19 at 11:23
add a comment |
With the help or an array
you can achieve the following layout:
documentclassarticle
usepackageamsmath
usepackagearray
begindocument
setlengthextrarowheight10pt
[
beginarrayllr
R_1 &= dfracwl2 \
R_2 &= R_1 \
V_x &= wleft(dfracl2-xright) \
V_max &= R_1=R_2 & text(at;R_1;textand;R_2text) \
M_max&=dfracwl^28 & text(at centre)\
M_x&=dfracwx2left(l-xright) \
Delta_max&=dfrac5wl^4384EI \
Delta_x&=dfracwx24EIleft(l^3-2lx^2+x^3right) & text(at centre)\
endarray
]
enddocument
With the help or an array
you can achieve the following layout:
documentclassarticle
usepackageamsmath
usepackagearray
begindocument
setlengthextrarowheight10pt
[
beginarrayllr
R_1 &= dfracwl2 \
R_2 &= R_1 \
V_x &= wleft(dfracl2-xright) \
V_max &= R_1=R_2 & text(at;R_1;textand;R_2text) \
M_max&=dfracwl^28 & text(at centre)\
M_x&=dfracwx2left(l-xright) \
Delta_max&=dfrac5wl^4384EI \
Delta_x&=dfracwx24EIleft(l^3-2lx^2+x^3right) & text(at centre)\
endarray
]
enddocument
answered Apr 19 at 9:51
leandriisleandriis
12k1733
12k1733
This looks perfect thanks!
– Tokamec
Apr 19 at 9:57
note this still hasV_max
copied from the question (wrong font and wrong_
placement) also you could point out that you are needingdfrac
here as unlike the ams alignmentsarray
is intended for matrices of values not displayed equations so sets the entries in inline math mode.
– David Carlisle
Apr 19 at 11:23
add a comment |
This looks perfect thanks!
– Tokamec
Apr 19 at 9:57
note this still hasV_max
copied from the question (wrong font and wrong_
placement) also you could point out that you are needingdfrac
here as unlike the ams alignmentsarray
is intended for matrices of values not displayed equations so sets the entries in inline math mode.
– David Carlisle
Apr 19 at 11:23
This looks perfect thanks!
– Tokamec
Apr 19 at 9:57
This looks perfect thanks!
– Tokamec
Apr 19 at 9:57
note this still has
V_max
copied from the question (wrong font and wrong _
placement) also you could point out that you are needing dfrac
here as unlike the ams alignments array
is intended for matrices of values not displayed equations so sets the entries in inline math mode.– David Carlisle
Apr 19 at 11:23
note this still has
V_max
copied from the question (wrong font and wrong _
placement) also you could point out that you are needing dfrac
here as unlike the ams alignments array
is intended for matrices of values not displayed equations so sets the entries in inline math mode.– David Carlisle
Apr 19 at 11:23
add a comment |
With flalign*
and package eqparbox
:
documentclass[11pt]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagemathtools
usepackageeqparbox
newcommandeqmathbox[2][M] eqmakebox[#1][l]$displaystyle #2$
begindocument
beginflalign*
eqmathboxR_1 &= fracwl2 \[1ex]
eqmathboxR_2 &= R_1\[1ex]
eqmathboxV_x &= wleft(fracl2-xright)\[1ex]
eqmathboxV_max &= R_1=R_2 & & & text(at;R_1 text and R_2text)\[1ex]
eqmathboxM_max&=fracwl^28 & & & text(at centre)\[1ex]
eqmathboxM_x&=fracwx2left(l-xright)\[1ex]
eqmathboxDelta_max&=frac5wl^4384EI\[1ex]
eqmathboxDelta_x&=fracwx24EIleft(l^3-2lx^2+x^3right) & & & text(at centre)
endflalign*
enddocument
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
Apr 19 at 10:09
add a comment |
With flalign*
and package eqparbox
:
documentclass[11pt]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagemathtools
usepackageeqparbox
newcommandeqmathbox[2][M] eqmakebox[#1][l]$displaystyle #2$
begindocument
beginflalign*
eqmathboxR_1 &= fracwl2 \[1ex]
eqmathboxR_2 &= R_1\[1ex]
eqmathboxV_x &= wleft(fracl2-xright)\[1ex]
eqmathboxV_max &= R_1=R_2 & & & text(at;R_1 text and R_2text)\[1ex]
eqmathboxM_max&=fracwl^28 & & & text(at centre)\[1ex]
eqmathboxM_x&=fracwx2left(l-xright)\[1ex]
eqmathboxDelta_max&=frac5wl^4384EI\[1ex]
eqmathboxDelta_x&=fracwx24EIleft(l^3-2lx^2+x^3right) & & & text(at centre)
endflalign*
enddocument
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
Apr 19 at 10:09
add a comment |
With flalign*
and package eqparbox
:
documentclass[11pt]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagemathtools
usepackageeqparbox
newcommandeqmathbox[2][M] eqmakebox[#1][l]$displaystyle #2$
begindocument
beginflalign*
eqmathboxR_1 &= fracwl2 \[1ex]
eqmathboxR_2 &= R_1\[1ex]
eqmathboxV_x &= wleft(fracl2-xright)\[1ex]
eqmathboxV_max &= R_1=R_2 & & & text(at;R_1 text and R_2text)\[1ex]
eqmathboxM_max&=fracwl^28 & & & text(at centre)\[1ex]
eqmathboxM_x&=fracwx2left(l-xright)\[1ex]
eqmathboxDelta_max&=frac5wl^4384EI\[1ex]
eqmathboxDelta_x&=fracwx24EIleft(l^3-2lx^2+x^3right) & & & text(at centre)
endflalign*
enddocument
With flalign*
and package eqparbox
:
documentclass[11pt]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagemathtools
usepackageeqparbox
newcommandeqmathbox[2][M] eqmakebox[#1][l]$displaystyle #2$
begindocument
beginflalign*
eqmathboxR_1 &= fracwl2 \[1ex]
eqmathboxR_2 &= R_1\[1ex]
eqmathboxV_x &= wleft(fracl2-xright)\[1ex]
eqmathboxV_max &= R_1=R_2 & & & text(at;R_1 text and R_2text)\[1ex]
eqmathboxM_max&=fracwl^28 & & & text(at centre)\[1ex]
eqmathboxM_x&=fracwx2left(l-xright)\[1ex]
eqmathboxDelta_max&=frac5wl^4384EI\[1ex]
eqmathboxDelta_x&=fracwx24EIleft(l^3-2lx^2+x^3right) & & & text(at centre)
endflalign*
enddocument
answered Apr 19 at 9:58
BernardBernard
177k779211
177k779211
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
Apr 19 at 10:09
add a comment |
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
Apr 19 at 10:09
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
Apr 19 at 10:09
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
Apr 19 at 10:09
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%2f485574%2faligning-an-equation-at-multiple-points-with-both-left-and-right-alignment-as%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