Grouping enumerated list with different width? The Next CEO of Stack Overflowgrouping enumerated listRotate a node but not its content: the case of the ellipse decorationEnumerated list with square bracketsEnumerated sorted list with datatoolTikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?grouping enumerated listTikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingenumerated list in moderncvDrawing tikz line in the margin for multiple pages

Is the 21st century's idea of "freedom of speech" based on precedent?

Can Sri Krishna be called 'a person'?

Find the majority element, which appears more than half the time

Why was Sir Cadogan fired?

Creating a script with console commands

Find a path from s to t using as few red nodes as possible

What steps are necessary to read a Modern SSD in Medieval Europe?

logical reads on global temp table, but not on session-level temp table

Could you use a laser beam as a modulated carrier wave for radio signal?

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

How to find if SQL server backup is encrypted with TDE without restoring the backup

Shortening a title without changing its meaning

Direct Implications Between USA and UK in Event of No-Deal Brexit

Oldie but Goldie

How should I connect my cat5 cable to connectors having an orange-green line?

Read/write a pipe-delimited file line by line with some simple text manipulation

Was the Stack Exchange "Happy April Fools" page fitting with the 90s code?

What difference does it make matching a word with/without a trailing whitespace?

Are British MPs missing the point, with these 'Indicative Votes'?

Is there a rule of thumb for determining the amount one should accept for a settlement offer?

Is it correct to say moon starry nights?

How seriously should I take size and weight limits of hand luggage?

Could a dragon use its wings to swim?

How to coordinate airplane tickets?



Grouping enumerated list with different width?



The Next CEO of Stack Overflowgrouping enumerated listRotate a node but not its content: the case of the ellipse decorationEnumerated list with square bracketsEnumerated sorted list with datatoolTikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?grouping enumerated listTikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingenumerated list in moderncvDrawing tikz line in the margin for multiple pages










1















I found the this nice answer regrading grouping of enumerated list. But it does not work for lists with different width. For instance



documentclassarticle

usepackagetikz
usetikzlibrarydecorations.pathreplacing

newcommandtikzmark[1]tikz[overlay,remember picture] node[baseline] (#1) ;

tikzsetMy Node Style/.style=midway, right, xshift=3.0ex, align=left, font=small, draw=none, thin, text=black

newcommandVerticalBrace[4][]%
% #1 = draw options
% #2 = top mark
% #2 = bottom mark
% #4 = label
begintikzpicture[overlay,remember picture]
draw[decorate,decoration=brace, amplitude=1.5ex, #1]
([yshift=1ex]#2.north east) -- ([yshift=-1ex]#3.south east)
node[My Node Style] #4;
endtikzpicture


begindocument
beginenumerate
item Item 1tikzmarktop 1
item Item wide wide widetikzmarkbottom 1
item Item 3tikzmarktop 2
item Item 4
item Item wide wide wide
item Item 6tikzmarkbottom 2
endenumerate

VerticalBrace[ultra thick, blue]top 1bottom 1The first two items
VerticalBrace[ultra thick, blue]top 2bottom 2The last four items
enddocument


gives



enter image description here



How can I fix this?










share|improve this question




























    1















    I found the this nice answer regrading grouping of enumerated list. But it does not work for lists with different width. For instance



    documentclassarticle

    usepackagetikz
    usetikzlibrarydecorations.pathreplacing

    newcommandtikzmark[1]tikz[overlay,remember picture] node[baseline] (#1) ;

    tikzsetMy Node Style/.style=midway, right, xshift=3.0ex, align=left, font=small, draw=none, thin, text=black

    newcommandVerticalBrace[4][]%
    % #1 = draw options
    % #2 = top mark
    % #2 = bottom mark
    % #4 = label
    begintikzpicture[overlay,remember picture]
    draw[decorate,decoration=brace, amplitude=1.5ex, #1]
    ([yshift=1ex]#2.north east) -- ([yshift=-1ex]#3.south east)
    node[My Node Style] #4;
    endtikzpicture


    begindocument
    beginenumerate
    item Item 1tikzmarktop 1
    item Item wide wide widetikzmarkbottom 1
    item Item 3tikzmarktop 2
    item Item 4
    item Item wide wide wide
    item Item 6tikzmarkbottom 2
    endenumerate

    VerticalBrace[ultra thick, blue]top 1bottom 1The first two items
    VerticalBrace[ultra thick, blue]top 2bottom 2The last four items
    enddocument


    gives



    enter image description here



    How can I fix this?










    share|improve this question


























      1












      1








      1








      I found the this nice answer regrading grouping of enumerated list. But it does not work for lists with different width. For instance



      documentclassarticle

      usepackagetikz
      usetikzlibrarydecorations.pathreplacing

      newcommandtikzmark[1]tikz[overlay,remember picture] node[baseline] (#1) ;

      tikzsetMy Node Style/.style=midway, right, xshift=3.0ex, align=left, font=small, draw=none, thin, text=black

      newcommandVerticalBrace[4][]%
      % #1 = draw options
      % #2 = top mark
      % #2 = bottom mark
      % #4 = label
      begintikzpicture[overlay,remember picture]
      draw[decorate,decoration=brace, amplitude=1.5ex, #1]
      ([yshift=1ex]#2.north east) -- ([yshift=-1ex]#3.south east)
      node[My Node Style] #4;
      endtikzpicture


      begindocument
      beginenumerate
      item Item 1tikzmarktop 1
      item Item wide wide widetikzmarkbottom 1
      item Item 3tikzmarktop 2
      item Item 4
      item Item wide wide wide
      item Item 6tikzmarkbottom 2
      endenumerate

      VerticalBrace[ultra thick, blue]top 1bottom 1The first two items
      VerticalBrace[ultra thick, blue]top 2bottom 2The last four items
      enddocument


      gives



      enter image description here



      How can I fix this?










      share|improve this question
















      I found the this nice answer regrading grouping of enumerated list. But it does not work for lists with different width. For instance



      documentclassarticle

      usepackagetikz
      usetikzlibrarydecorations.pathreplacing

      newcommandtikzmark[1]tikz[overlay,remember picture] node[baseline] (#1) ;

      tikzsetMy Node Style/.style=midway, right, xshift=3.0ex, align=left, font=small, draw=none, thin, text=black

      newcommandVerticalBrace[4][]%
      % #1 = draw options
      % #2 = top mark
      % #2 = bottom mark
      % #4 = label
      begintikzpicture[overlay,remember picture]
      draw[decorate,decoration=brace, amplitude=1.5ex, #1]
      ([yshift=1ex]#2.north east) -- ([yshift=-1ex]#3.south east)
      node[My Node Style] #4;
      endtikzpicture


      begindocument
      beginenumerate
      item Item 1tikzmarktop 1
      item Item wide wide widetikzmarkbottom 1
      item Item 3tikzmarktop 2
      item Item 4
      item Item wide wide wide
      item Item 6tikzmarkbottom 2
      endenumerate

      VerticalBrace[ultra thick, blue]top 1bottom 1The first two items
      VerticalBrace[ultra thick, blue]top 2bottom 2The last four items
      enddocument


      gives



      enter image description here



      How can I fix this?







      tikz-pgf enumerate braces grouping






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 10 mins ago









      JouleV

      9,70322357




      9,70322357










      asked 13 mins ago









      maryamarya

      1,41821025




      1,41821025




















          0






          active

          oldest

          votes












          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%2f482708%2fgrouping-enumerated-list-with-different-width%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          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%2f482708%2fgrouping-enumerated-list-with-different-width%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

          How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

          152 Atala Notae | Nexus externi | Tabula navigationis"Discovery Circumstances: Numbered Minor Planets"2000152Small-Body Database

          Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"