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












1















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?



enter image description here



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,
enter image description here



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.










share|improve this question




















  • 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
















1















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?



enter image description here



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,
enter image description here



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.










share|improve this question




















  • 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














1












1








1


0






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?



enter image description here



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,
enter image description here



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.










share|improve this question
















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?



enter image description here



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,
enter image description here



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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














  • 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








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










1 Answer
1






active

oldest

votes


















1














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}


enter image description here





share
























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    1














    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}


    enter image description here





    share




























      1














      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}


      enter image description here





      share


























        1












        1








        1







        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}


        enter image description here





        share













        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}


        enter image description here






        share











        share


        share










        answered 7 mins ago









        CarLaTeXCarLaTeX

        35.2k554148




        35.2k554148






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

            How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

            Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...