Aligning an equation at multiple points, with both left and right alignment, as well as equals sign alignment Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)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
How do I find out the mythology and history of my Fortress?
Crossing US/Canada Border for less than 24 hours
Find 108 by using 3,4,6
Did any compiler fully use 80-bit floating point?
How many serial ports are on the Pi 3?
Is there any word for a place full of confusion?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Why limits give us the exact value of the slope of the tangent line?
How does the math work when buying airline miles?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
How many time did Arya actually used needle?
Hangman Game with C++
What was the first language to use conditional keywords?
Belief In God or Knowledge Of God. Which is better?
What is the difference between globalisation and imperialism?
What initially awakened the Balrog?
Putting class ranking in CV, but against dept guidelines
Can you explain what "processes and tools" means in the first Agile principle?
Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?
Why do we bend a book to keep it straight?
Did Deadpool rescue all of the X-Force?
How to run automated tests after each commit?
How come Sam didn't become Lord of Horn Hill?
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
Aligning an equation at multiple points, with both left and right alignment, as well as equals sign alignment
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)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
New contributor
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
New contributor
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
New contributor
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
New contributor
New contributor
edited 3 hours ago
Tokamec
New contributor
asked 4 hours ago
TokamecTokamec
112
112
New contributor
New contributor
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
3 hours ago
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
3 hours ago
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
2 hours ago
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
3 hours ago
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
);
);
Tokamec is a new contributor. Be nice, and check out our Code of Conduct.
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
3 hours ago
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
3 hours ago
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 3 hours ago
answered 3 hours ago
egregegreg
735k8919343258
735k8919343258
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
3 hours ago
add a comment |
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
3 hours ago
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
3 hours ago
This is great, thank you for your comprehensive answer. I will consider your comments too
– Tokamec
3 hours ago
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
3 hours ago
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
2 hours ago
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
3 hours ago
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
2 hours ago
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 3 hours ago
leandriisleandriis
11.4k1733
11.4k1733
This looks perfect thanks!
– Tokamec
3 hours ago
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
2 hours ago
add a comment |
This looks perfect thanks!
– Tokamec
3 hours ago
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
2 hours ago
This looks perfect thanks!
– Tokamec
3 hours ago
This looks perfect thanks!
– Tokamec
3 hours ago
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
2 hours ago
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
2 hours ago
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
3 hours ago
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
3 hours ago
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 3 hours ago
BernardBernard
176k778210
176k778210
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
3 hours ago
add a comment |
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
3 hours ago
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
3 hours ago
Hi, another great answer, thanks - there seem to be multiple ways to do this
– Tokamec
3 hours ago
add a comment |
Tokamec is a new contributor. Be nice, and check out our Code of Conduct.
Tokamec is a new contributor. Be nice, and check out our Code of Conduct.
Tokamec is a new contributor. Be nice, and check out our Code of Conduct.
Tokamec is a new contributor. Be nice, and check out our Code of Conduct.
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