How to h-align braces in a schema, using schemata? Announcing the arrival of Valued Associate...
Twin's vs. Twins'
Why is there so little support for joining EFTA in the British parliament?
IC on Digikey is 5x more expensive than board containing same IC on Alibaba: How?
How does TikZ render an arc?
First paper to introduce the "principal-agent problem"
Can I cut the hair of a conjured korred with a blade made of precious material to harvest that material from the korred?
Fit odd number of triplets in a measure?
Can gravitational waves pass through a black hole?
Improvising over quartal voicings
Can two people see the same photon?
Why are current probes so expensive?
Why do C and C++ allow the expression (int) + 4*5?
Inverse square law not accurate for non-point masses?
What is the proper term for etching or digging of wall to hide conduit of cables
Plotting a Maclaurin series
Table formatting with tabularx?
How to name indistinguishable henchmen in a screenplay?
How do you cope with tons of web fonts when copying and pasting from web pages?
Dinosaur Word Search, Letter Solve, and Unscramble
How can I list files in reverse time order by a command and pass them as arguments to another command?
One-one communication
Weaponising the Grasp-at-a-Distance spell
The test team as an enemy of development? And how can this be avoided?
Should man-made satellites feature an intelligent inverted "cow catcher"?
How to h-align braces in a schema, using schemata?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Brace diagram in TikZHow can I vertically align picture and text?Arranging the arrows in align environment without using tikz-cdTikzpicture (pgfplot): Fixing curly braces and labelsHow to create LaTeX example codes using verbatim and large braces?Curly braces in Hasse diagramHow to insert itemize/enumerate blocks inside schemata?Tikz - Draw Clustering schemaHow to make schema diagram in LaTeX?How to calculate item distance from the top of a schema diagram?Young diagrams in Latex - large strips and braces
Reading Brace diagram in TikZ
I liked the solution of @fran using schemata package
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
Now I'd like to use another similar command that h-align braces at the same level, as you can see in the image.
How to do that?
documentclass[10pt,a4paper]{article}
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
begin{document}
AB{TEXT}
{
AB{Some text 1}
{
$bullet$ text 1.1 \
$bullet$ text 1.2 \
$bullet$ text 1.3
}\
Some text 2 \
Some text 3 \
AB{Some large text 4}
{
text 4.1 \
text 4.2 \
text 4.3
}\
AB{short 5}
{
$bullet$ shorty 5.1\
$bullet$ shorty 5.2\
$bullet$ shorty 5.3
}
}
end{document}
I think an appropiate way may be similar to this one in the documentation,
but I'd like to make the new one with a simple command as AB defined, passing the largest text as a parameter, similar to documentation snapshot.
diagrams schemata
add a comment |
Reading Brace diagram in TikZ
I liked the solution of @fran using schemata package
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
Now I'd like to use another similar command that h-align braces at the same level, as you can see in the image.
How to do that?
documentclass[10pt,a4paper]{article}
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
begin{document}
AB{TEXT}
{
AB{Some text 1}
{
$bullet$ text 1.1 \
$bullet$ text 1.2 \
$bullet$ text 1.3
}\
Some text 2 \
Some text 3 \
AB{Some large text 4}
{
text 4.1 \
text 4.2 \
text 4.3
}\
AB{short 5}
{
$bullet$ shorty 5.1\
$bullet$ shorty 5.2\
$bullet$ shorty 5.3
}
}
end{document}
I think an appropiate way may be similar to this one in the documentation,
but I'd like to make the new one with a simple command as AB defined, passing the largest text as a parameter, similar to documentation snapshot.
diagrams schemata
2
Please post a minimal, but compilable example of what you try as MWE included in the post (no image please).
– TeXnician
Sep 17 '17 at 9:46
Why notAB{<your code between begin{document} and end{document}>}{<your code between begin{document} and end{document}>}
? Or do i misunderstand your question?
– Bobyandbob
Nov 11 '17 at 11:07
add a comment |
Reading Brace diagram in TikZ
I liked the solution of @fran using schemata package
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
Now I'd like to use another similar command that h-align braces at the same level, as you can see in the image.
How to do that?
documentclass[10pt,a4paper]{article}
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
begin{document}
AB{TEXT}
{
AB{Some text 1}
{
$bullet$ text 1.1 \
$bullet$ text 1.2 \
$bullet$ text 1.3
}\
Some text 2 \
Some text 3 \
AB{Some large text 4}
{
text 4.1 \
text 4.2 \
text 4.3
}\
AB{short 5}
{
$bullet$ shorty 5.1\
$bullet$ shorty 5.2\
$bullet$ shorty 5.3
}
}
end{document}
I think an appropiate way may be similar to this one in the documentation,
but I'd like to make the new one with a simple command as AB defined, passing the largest text as a parameter, similar to documentation snapshot.
diagrams schemata
Reading Brace diagram in TikZ
I liked the solution of @fran using schemata package
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
Now I'd like to use another similar command that h-align braces at the same level, as you can see in the image.
How to do that?
documentclass[10pt,a4paper]{article}
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
begin{document}
AB{TEXT}
{
AB{Some text 1}
{
$bullet$ text 1.1 \
$bullet$ text 1.2 \
$bullet$ text 1.3
}\
Some text 2 \
Some text 3 \
AB{Some large text 4}
{
text 4.1 \
text 4.2 \
text 4.3
}\
AB{short 5}
{
$bullet$ shorty 5.1\
$bullet$ shorty 5.2\
$bullet$ shorty 5.3
}
}
end{document}
I think an appropiate way may be similar to this one in the documentation,
but I'd like to make the new one with a simple command as AB defined, passing the largest text as a parameter, similar to documentation snapshot.
diagrams schemata
diagrams schemata
edited Sep 17 '17 at 10:05
Mika Ike
asked Sep 17 '17 at 8:12
Mika IkeMika Ike
1,74321437
1,74321437
2
Please post a minimal, but compilable example of what you try as MWE included in the post (no image please).
– TeXnician
Sep 17 '17 at 9:46
Why notAB{<your code between begin{document} and end{document}>}{<your code between begin{document} and end{document}>}
? Or do i misunderstand your question?
– Bobyandbob
Nov 11 '17 at 11:07
add a comment |
2
Please post a minimal, but compilable example of what you try as MWE included in the post (no image please).
– TeXnician
Sep 17 '17 at 9:46
Why notAB{<your code between begin{document} and end{document}>}{<your code between begin{document} and end{document}>}
? Or do i misunderstand your question?
– Bobyandbob
Nov 11 '17 at 11:07
2
2
Please post a minimal, but compilable example of what you try as MWE included in the post (no image please).
– TeXnician
Sep 17 '17 at 9:46
Please post a minimal, but compilable example of what you try as MWE included in the post (no image please).
– TeXnician
Sep 17 '17 at 9:46
Why not
AB{<your code between begin{document} and end{document}>}{<your code between begin{document} and end{document}>}
? Or do i misunderstand your question?– Bobyandbob
Nov 11 '17 at 11:07
Why not
AB{<your code between begin{document} and end{document}>}{<your code between begin{document} and end{document}>}
? Or do i misunderstand your question?– Bobyandbob
Nov 11 '17 at 11:07
add a comment |
1 Answer
1
active
oldest
votes
What about using a parbox
?
documentclass[10pt,a4paper]{article}
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
newcommandABC[2]{schema{schemabox{parbox{8em}{#1}}}{schemabox{#2}}}
begin{document}
AB{TEXT}
{
ABC{Some text 1}
{
$bullet$ text 1.1 \
$bullet$ text 1.2 \
$bullet$ text 1.3
}\
Some text 2 \
Some text 3 \
ABC{Some large text 4}
{
text 4.1 \
text 4.2 \
text 4.3
}\
ABC{short 5}
{
$bullet$ shorty 5.1\
$bullet$ shorty 5.2\
$bullet$ shorty 5.3
}
}
end{document}
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%2f391778%2fhow-to-h-align-braces-in-a-schema-using-schemata%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
What about using a parbox
?
documentclass[10pt,a4paper]{article}
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
newcommandABC[2]{schema{schemabox{parbox{8em}{#1}}}{schemabox{#2}}}
begin{document}
AB{TEXT}
{
ABC{Some text 1}
{
$bullet$ text 1.1 \
$bullet$ text 1.2 \
$bullet$ text 1.3
}\
Some text 2 \
Some text 3 \
ABC{Some large text 4}
{
text 4.1 \
text 4.2 \
text 4.3
}\
ABC{short 5}
{
$bullet$ shorty 5.1\
$bullet$ shorty 5.2\
$bullet$ shorty 5.3
}
}
end{document}
add a comment |
What about using a parbox
?
documentclass[10pt,a4paper]{article}
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
newcommandABC[2]{schema{schemabox{parbox{8em}{#1}}}{schemabox{#2}}}
begin{document}
AB{TEXT}
{
ABC{Some text 1}
{
$bullet$ text 1.1 \
$bullet$ text 1.2 \
$bullet$ text 1.3
}\
Some text 2 \
Some text 3 \
ABC{Some large text 4}
{
text 4.1 \
text 4.2 \
text 4.3
}\
ABC{short 5}
{
$bullet$ shorty 5.1\
$bullet$ shorty 5.2\
$bullet$ shorty 5.3
}
}
end{document}
add a comment |
What about using a parbox
?
documentclass[10pt,a4paper]{article}
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
newcommandABC[2]{schema{schemabox{parbox{8em}{#1}}}{schemabox{#2}}}
begin{document}
AB{TEXT}
{
ABC{Some text 1}
{
$bullet$ text 1.1 \
$bullet$ text 1.2 \
$bullet$ text 1.3
}\
Some text 2 \
Some text 3 \
ABC{Some large text 4}
{
text 4.1 \
text 4.2 \
text 4.3
}\
ABC{short 5}
{
$bullet$ shorty 5.1\
$bullet$ shorty 5.2\
$bullet$ shorty 5.3
}
}
end{document}
What about using a parbox
?
documentclass[10pt,a4paper]{article}
usepackage{schemata}
newcommandAB[2]{schema{schemabox{#1}}{schemabox{#2}}}
newcommandABC[2]{schema{schemabox{parbox{8em}{#1}}}{schemabox{#2}}}
begin{document}
AB{TEXT}
{
ABC{Some text 1}
{
$bullet$ text 1.1 \
$bullet$ text 1.2 \
$bullet$ text 1.3
}\
Some text 2 \
Some text 3 \
ABC{Some large text 4}
{
text 4.1 \
text 4.2 \
text 4.3
}\
ABC{short 5}
{
$bullet$ shorty 5.1\
$bullet$ shorty 5.2\
$bullet$ shorty 5.3
}
}
end{document}
answered 7 mins ago
CarLaTeXCarLaTeX
35.2k554148
35.2k554148
add a comment |
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%2f391778%2fhow-to-h-align-braces-in-a-schema-using-schemata%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
2
Please post a minimal, but compilable example of what you try as MWE included in the post (no image please).
– TeXnician
Sep 17 '17 at 9:46
Why not
AB{<your code between begin{document} and end{document}>}{<your code between begin{document} and end{document}>}
? Or do i misunderstand your question?– Bobyandbob
Nov 11 '17 at 11:07