Grouping enumerated list with different width? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)grouping 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

Where is the Next Backup Size entry on iOS 12?

Why is it faster to reheat something than it is to cook it?

Is there public access to the Meteor Crater in Arizona?

RSA find public exponent

Why does electrolysis of aqueous concentrated sodium bromide produce bromine at the anode?

Would color changing eyes affect vision?

How to ask rejected full-time candidates to apply to teach individual courses?

How to change the tick of the color bar legend to black

Why is std::move not [[nodiscard]] in C++20?

What order were files/directories output in dir?

What is the difference between a "ranged attack" and a "ranged weapon attack"?

In musical terms, what properties are varied by the human voice to produce different words / syllables?

How can I save and copy a screenhot at the same time?

Why are vacuum tubes still used in amateur radios?

How to write capital alpha?

Putting class ranking in CV, but against dept guidelines

My mentor says to set image to Fine instead of RAW — how is this different from JPG?

What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?

Can two people see the same photon?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

Random body shuffle every night—can we still function?

Monty Hall Problem-Probability Paradox

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

What are the main differences between the original Stargate SG-1 and the Final Cut edition?



Grouping enumerated list with different width?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)grouping 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










6















I found this nice answer regarding 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
























  • It might not be a good solution at the first glance, but did you try to add some extra space to shorter items with hspace?

    – Majid Abdolshah
    Apr 2 at 6:44











  • @MajidAbdolshah It will certainly make ugly braces. It is very hard to make the braces absolutely vertical.

    – JouleV
    Apr 2 at 7:05















6















I found this nice answer regarding 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
























  • It might not be a good solution at the first glance, but did you try to add some extra space to shorter items with hspace?

    – Majid Abdolshah
    Apr 2 at 6:44











  • @MajidAbdolshah It will certainly make ugly braces. It is very hard to make the braces absolutely vertical.

    – JouleV
    Apr 2 at 7:05













6












6








6


0






I found this nice answer regarding 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 this nice answer regarding 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 Apr 2 at 7:02







marya

















asked Apr 2 at 6:01









maryamarya

1,45531025




1,45531025












  • It might not be a good solution at the first glance, but did you try to add some extra space to shorter items with hspace?

    – Majid Abdolshah
    Apr 2 at 6:44











  • @MajidAbdolshah It will certainly make ugly braces. It is very hard to make the braces absolutely vertical.

    – JouleV
    Apr 2 at 7:05

















  • It might not be a good solution at the first glance, but did you try to add some extra space to shorter items with hspace?

    – Majid Abdolshah
    Apr 2 at 6:44











  • @MajidAbdolshah It will certainly make ugly braces. It is very hard to make the braces absolutely vertical.

    – JouleV
    Apr 2 at 7:05
















It might not be a good solution at the first glance, but did you try to add some extra space to shorter items with hspace?

– Majid Abdolshah
Apr 2 at 6:44





It might not be a good solution at the first glance, but did you try to add some extra space to shorter items with hspace?

– Majid Abdolshah
Apr 2 at 6:44













@MajidAbdolshah It will certainly make ugly braces. It is very hard to make the braces absolutely vertical.

– JouleV
Apr 2 at 7:05





@MajidAbdolshah It will certainly make ugly braces. It is very hard to make the braces absolutely vertical.

– JouleV
Apr 2 at 7:05










1 Answer
1






active

oldest

votes


















7














You can keep track of which bullet is the longest and set all y-coordinates to that.



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

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


enter image description here






share|improve this answer


















  • 1





    Very good answer.

    – Sebastiano
    Apr 2 at 7:20











  • Splendid! Gracias!

    – marya
    Apr 2 at 7:25











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

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









7














You can keep track of which bullet is the longest and set all y-coordinates to that.



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

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


enter image description here






share|improve this answer


















  • 1





    Very good answer.

    – Sebastiano
    Apr 2 at 7:20











  • Splendid! Gracias!

    – marya
    Apr 2 at 7:25















7














You can keep track of which bullet is the longest and set all y-coordinates to that.



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

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


enter image description here






share|improve this answer


















  • 1





    Very good answer.

    – Sebastiano
    Apr 2 at 7:20











  • Splendid! Gracias!

    – marya
    Apr 2 at 7:25













7












7








7







You can keep track of which bullet is the longest and set all y-coordinates to that.



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

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


enter image description here






share|improve this answer













You can keep track of which bullet is the longest and set all y-coordinates to that.



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

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


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 2 at 7:18









StefanHStefanH

11k1920




11k1920







  • 1





    Very good answer.

    – Sebastiano
    Apr 2 at 7:20











  • Splendid! Gracias!

    – marya
    Apr 2 at 7:25












  • 1





    Very good answer.

    – Sebastiano
    Apr 2 at 7:20











  • Splendid! Gracias!

    – marya
    Apr 2 at 7:25







1




1





Very good answer.

– Sebastiano
Apr 2 at 7:20





Very good answer.

– Sebastiano
Apr 2 at 7:20













Splendid! Gracias!

– marya
Apr 2 at 7:25





Splendid! Gracias!

– marya
Apr 2 at 7:25

















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

Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ