Vertical alignment of rbracevertical alignment of multiline equationsaligning a multiline formula with the...
what does しにみえてる mean?
How to limit sight distance to 1 KM
How can animals be objects of ethics without being subjects as well?
How to avoid being sexist when trying to employ someone to function in a very sexist environment?
Finding a mistake using Mayer-Vietoris
Who is this Ant Woman character in this image alongside the Wasp?
How can I deliver in-universe written lore to players without it being dry exposition?
Can you share a component pouch with another creature?
What are "industrial chops"?
Consequences of lack of rigour
Strange Sign on Lab Door
Does paint affect EMI of enclosure
Does SQL Server 2017, including older versions, support 8k disk sector sizes?
Would a National Army of mercenaries be a feasible idea?
Can an insurance company drop you after receiving a bill and refusing to pay?
初めてです, is '初めて' an adverb?
Can I write a book of my D&D game?
What is the purpose of easy combat scenarios that don't need resource expenditure?
Traveling through the asteriod belt?
Is my visa status for all destinations in a flight with connections checked in the beginning or before each flight?
CREATE ASSEMBLY System.DirectoryServices.AccountManagement.dll without enabling TRUSTWORTHY
Incorporating research and background: How much is too much?
Why do neural networks need so many training examples to perform?
My cat mixes up the floors in my building. How can I help him?
Vertical alignment of rbrace
vertical alignment of multiline equationsaligning a multiline formula with the bullet of itemizeHow to vertically align title when reducing the header size in Beamer Palo Alto theme?vertical alignment of multiline equationsFigure alignment using sub captionAlign images with text without using tablesEquations in tcolorbox. Vertical alignmentHow to vertically align table columnLaTeX braces flush leftAlign at top in tabularxHow can Text be vertically centered, but horizontally aligned to the right?
I tried to solve the follwing problem for a while but couldn't find a solution yet. I would like to align two rbraces vertically. This code
begin{align}
L = &left. text{short eq} rightrbrace &&text{description 1} \
&left. begin{aligned}
text{very long equation}\
text{over multiple lines}
end{aligned}
rightrbrace &&text{description 2}
end{align}
produces
However, I would like to adjust the braces that they are below each other
I hope someone can help me here. Thank you!
vertical-alignment braces
New contributor
add a comment |
I tried to solve the follwing problem for a while but couldn't find a solution yet. I would like to align two rbraces vertically. This code
begin{align}
L = &left. text{short eq} rightrbrace &&text{description 1} \
&left. begin{aligned}
text{very long equation}\
text{over multiple lines}
end{aligned}
rightrbrace &&text{description 2}
end{align}
produces
However, I would like to adjust the braces that they are below each other
I hope someone can help me here. Thank you!
vertical-alignment braces
New contributor
1
Welcome to TeX.SE!
– Mico
3 hours ago
add a comment |
I tried to solve the follwing problem for a while but couldn't find a solution yet. I would like to align two rbraces vertically. This code
begin{align}
L = &left. text{short eq} rightrbrace &&text{description 1} \
&left. begin{aligned}
text{very long equation}\
text{over multiple lines}
end{aligned}
rightrbrace &&text{description 2}
end{align}
produces
However, I would like to adjust the braces that they are below each other
I hope someone can help me here. Thank you!
vertical-alignment braces
New contributor
I tried to solve the follwing problem for a while but couldn't find a solution yet. I would like to align two rbraces vertically. This code
begin{align}
L = &left. text{short eq} rightrbrace &&text{description 1} \
&left. begin{aligned}
text{very long equation}\
text{over multiple lines}
end{aligned}
rightrbrace &&text{description 2}
end{align}
produces
However, I would like to adjust the braces that they are below each other
I hope someone can help me here. Thank you!
vertical-alignment braces
vertical-alignment braces
New contributor
New contributor
New contributor
asked 4 hours ago
janijani
261
261
New contributor
New contributor
1
Welcome to TeX.SE!
– Mico
3 hours ago
add a comment |
1
Welcome to TeX.SE!
– Mico
3 hours ago
1
1
Welcome to TeX.SE!
– Mico
3 hours ago
Welcome to TeX.SE!
– Mico
3 hours ago
add a comment |
2 Answers
2
active
oldest
votes
Something like this?
documentclass{article}
usepackage{amsmath} % for 'align' environment and 'text' macro
newlengthmylen % create a "length" variable
settowidthmylen{very long equation} % calculate default width of 'mybox'
newcommandmybox[2][mylen]{parbox{#1}{raggedright #2}}
begin{document}
begin{align}
L = &left.mybox{short eq}rightrbrace &&
text{description 1} \
&left.mybox{very long equation over multiple lines}rightrbrace &&
text{description 2}
end{align}
end{document}
Thank you, this looks already a lot better! Is it also possible to have a similar style of the braces? So far, the larger one is wider than the smaller one.
– jani
3 hours ago
@jani - Therightrbrace
is designed to increase in size both vertically and horizontally as the material to its left "grows". You have two cases ofrightrbrace
: In the first, the material to the left occupies only one row, but in the second the material is two rows tall. The only sane way to make the two curly braces equally wide is to make them equally tall as well. (Well, one could "squish" a two-row curly brace into the height of just a "normal-height" curly brace, but the result would be even worse!) Do ask yourself: Do you really need those ugly curly braces to begin with?
– Mico
1 hour ago
add a comment |
How about something like this?
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{alignedat}{4}
L = & text{short eq } && left. text{ } rightrbrace && qquad text{description 1} \
&begin{aligned}
&text{22244 very long equation 5555}\
&text{over multiple lines }
end{aligned} && left.
begin{aligned}
text{ }\
text{ }
end{aligned} rightrbrace && qquad text{description 2}
end{alignedat}
end{equation}
end{document}
It looks like this
All the lines are treated as one equation. I borrowed the idea from the following post.
vertical alignment of multiline equations
New contributor
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
});
}
});
jani 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%2f477191%2fvertical-alignment-of-rbrace%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
Something like this?
documentclass{article}
usepackage{amsmath} % for 'align' environment and 'text' macro
newlengthmylen % create a "length" variable
settowidthmylen{very long equation} % calculate default width of 'mybox'
newcommandmybox[2][mylen]{parbox{#1}{raggedright #2}}
begin{document}
begin{align}
L = &left.mybox{short eq}rightrbrace &&
text{description 1} \
&left.mybox{very long equation over multiple lines}rightrbrace &&
text{description 2}
end{align}
end{document}
Thank you, this looks already a lot better! Is it also possible to have a similar style of the braces? So far, the larger one is wider than the smaller one.
– jani
3 hours ago
@jani - Therightrbrace
is designed to increase in size both vertically and horizontally as the material to its left "grows". You have two cases ofrightrbrace
: In the first, the material to the left occupies only one row, but in the second the material is two rows tall. The only sane way to make the two curly braces equally wide is to make them equally tall as well. (Well, one could "squish" a two-row curly brace into the height of just a "normal-height" curly brace, but the result would be even worse!) Do ask yourself: Do you really need those ugly curly braces to begin with?
– Mico
1 hour ago
add a comment |
Something like this?
documentclass{article}
usepackage{amsmath} % for 'align' environment and 'text' macro
newlengthmylen % create a "length" variable
settowidthmylen{very long equation} % calculate default width of 'mybox'
newcommandmybox[2][mylen]{parbox{#1}{raggedright #2}}
begin{document}
begin{align}
L = &left.mybox{short eq}rightrbrace &&
text{description 1} \
&left.mybox{very long equation over multiple lines}rightrbrace &&
text{description 2}
end{align}
end{document}
Thank you, this looks already a lot better! Is it also possible to have a similar style of the braces? So far, the larger one is wider than the smaller one.
– jani
3 hours ago
@jani - Therightrbrace
is designed to increase in size both vertically and horizontally as the material to its left "grows". You have two cases ofrightrbrace
: In the first, the material to the left occupies only one row, but in the second the material is two rows tall. The only sane way to make the two curly braces equally wide is to make them equally tall as well. (Well, one could "squish" a two-row curly brace into the height of just a "normal-height" curly brace, but the result would be even worse!) Do ask yourself: Do you really need those ugly curly braces to begin with?
– Mico
1 hour ago
add a comment |
Something like this?
documentclass{article}
usepackage{amsmath} % for 'align' environment and 'text' macro
newlengthmylen % create a "length" variable
settowidthmylen{very long equation} % calculate default width of 'mybox'
newcommandmybox[2][mylen]{parbox{#1}{raggedright #2}}
begin{document}
begin{align}
L = &left.mybox{short eq}rightrbrace &&
text{description 1} \
&left.mybox{very long equation over multiple lines}rightrbrace &&
text{description 2}
end{align}
end{document}
Something like this?
documentclass{article}
usepackage{amsmath} % for 'align' environment and 'text' macro
newlengthmylen % create a "length" variable
settowidthmylen{very long equation} % calculate default width of 'mybox'
newcommandmybox[2][mylen]{parbox{#1}{raggedright #2}}
begin{document}
begin{align}
L = &left.mybox{short eq}rightrbrace &&
text{description 1} \
&left.mybox{very long equation over multiple lines}rightrbrace &&
text{description 2}
end{align}
end{document}
answered 3 hours ago
MicoMico
281k31384772
281k31384772
Thank you, this looks already a lot better! Is it also possible to have a similar style of the braces? So far, the larger one is wider than the smaller one.
– jani
3 hours ago
@jani - Therightrbrace
is designed to increase in size both vertically and horizontally as the material to its left "grows". You have two cases ofrightrbrace
: In the first, the material to the left occupies only one row, but in the second the material is two rows tall. The only sane way to make the two curly braces equally wide is to make them equally tall as well. (Well, one could "squish" a two-row curly brace into the height of just a "normal-height" curly brace, but the result would be even worse!) Do ask yourself: Do you really need those ugly curly braces to begin with?
– Mico
1 hour ago
add a comment |
Thank you, this looks already a lot better! Is it also possible to have a similar style of the braces? So far, the larger one is wider than the smaller one.
– jani
3 hours ago
@jani - Therightrbrace
is designed to increase in size both vertically and horizontally as the material to its left "grows". You have two cases ofrightrbrace
: In the first, the material to the left occupies only one row, but in the second the material is two rows tall. The only sane way to make the two curly braces equally wide is to make them equally tall as well. (Well, one could "squish" a two-row curly brace into the height of just a "normal-height" curly brace, but the result would be even worse!) Do ask yourself: Do you really need those ugly curly braces to begin with?
– Mico
1 hour ago
Thank you, this looks already a lot better! Is it also possible to have a similar style of the braces? So far, the larger one is wider than the smaller one.
– jani
3 hours ago
Thank you, this looks already a lot better! Is it also possible to have a similar style of the braces? So far, the larger one is wider than the smaller one.
– jani
3 hours ago
@jani - The
rightrbrace
is designed to increase in size both vertically and horizontally as the material to its left "grows". You have two cases of rightrbrace
: In the first, the material to the left occupies only one row, but in the second the material is two rows tall. The only sane way to make the two curly braces equally wide is to make them equally tall as well. (Well, one could "squish" a two-row curly brace into the height of just a "normal-height" curly brace, but the result would be even worse!) Do ask yourself: Do you really need those ugly curly braces to begin with?– Mico
1 hour ago
@jani - The
rightrbrace
is designed to increase in size both vertically and horizontally as the material to its left "grows". You have two cases of rightrbrace
: In the first, the material to the left occupies only one row, but in the second the material is two rows tall. The only sane way to make the two curly braces equally wide is to make them equally tall as well. (Well, one could "squish" a two-row curly brace into the height of just a "normal-height" curly brace, but the result would be even worse!) Do ask yourself: Do you really need those ugly curly braces to begin with?– Mico
1 hour ago
add a comment |
How about something like this?
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{alignedat}{4}
L = & text{short eq } && left. text{ } rightrbrace && qquad text{description 1} \
&begin{aligned}
&text{22244 very long equation 5555}\
&text{over multiple lines }
end{aligned} && left.
begin{aligned}
text{ }\
text{ }
end{aligned} rightrbrace && qquad text{description 2}
end{alignedat}
end{equation}
end{document}
It looks like this
All the lines are treated as one equation. I borrowed the idea from the following post.
vertical alignment of multiline equations
New contributor
add a comment |
How about something like this?
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{alignedat}{4}
L = & text{short eq } && left. text{ } rightrbrace && qquad text{description 1} \
&begin{aligned}
&text{22244 very long equation 5555}\
&text{over multiple lines }
end{aligned} && left.
begin{aligned}
text{ }\
text{ }
end{aligned} rightrbrace && qquad text{description 2}
end{alignedat}
end{equation}
end{document}
It looks like this
All the lines are treated as one equation. I borrowed the idea from the following post.
vertical alignment of multiline equations
New contributor
add a comment |
How about something like this?
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{alignedat}{4}
L = & text{short eq } && left. text{ } rightrbrace && qquad text{description 1} \
&begin{aligned}
&text{22244 very long equation 5555}\
&text{over multiple lines }
end{aligned} && left.
begin{aligned}
text{ }\
text{ }
end{aligned} rightrbrace && qquad text{description 2}
end{alignedat}
end{equation}
end{document}
It looks like this
All the lines are treated as one equation. I borrowed the idea from the following post.
vertical alignment of multiline equations
New contributor
How about something like this?
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation}
begin{alignedat}{4}
L = & text{short eq } && left. text{ } rightrbrace && qquad text{description 1} \
&begin{aligned}
&text{22244 very long equation 5555}\
&text{over multiple lines }
end{aligned} && left.
begin{aligned}
text{ }\
text{ }
end{aligned} rightrbrace && qquad text{description 2}
end{alignedat}
end{equation}
end{document}
It looks like this
All the lines are treated as one equation. I borrowed the idea from the following post.
vertical alignment of multiline equations
New contributor
edited 3 hours ago
New contributor
answered 3 hours ago
K. LiK. Li
413
413
New contributor
New contributor
add a comment |
add a comment |
jani is a new contributor. Be nice, and check out our Code of Conduct.
jani is a new contributor. Be nice, and check out our Code of Conduct.
jani is a new contributor. Be nice, and check out our Code of Conduct.
jani 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%2f477191%2fvertical-alignment-of-rbrace%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
1
Welcome to TeX.SE!
– Mico
3 hours ago