Grouping enumerated list with different width?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

Can someone clarify Hamming's notion of important problems in relation to modern academia?

What do you call someone who asks many questions?

Pact of Blade Warlock with Dancing Blade

How can saying a song's name be a copyright violation?

Can a virus destroy the BIOS of a modern computer?

Blending or harmonizing

Mathematica command that allows it to read my intentions

Why were 5.25" floppy drives cheaper than 8"?

Should I tell management that I intend to leave due to bad software development practices?

How to coordinate airplane tickets?

How do conventional missiles fly?

Is it a bad idea to plug the other end of ESD strap to wall ground?

In the UK, is it possible to get a referendum by a court decision?

What historical events would have to change in order to make 19th century "steampunk" technology possible?

Is "/bin/[.exe" a legitimate file? [Cygwin, Windows 10]

What is a Samsaran Word™?

What are the G forces leaving Earth orbit?

Why was Sir Cadogan fired?

OP Amp not amplifying audio signal

how do we prove that a sum of two periods is still a period?

Does Dispel Magic work on Tiny Hut?

Is it "common practice in Fourier transform spectroscopy to multiply the measured interferogram by an apodizing function"? If so, why?

Unlock My Phone! February 2018

Do creatures with a speed 0ft., fly 30ft. (hover) ever touch the ground?



Grouping enumerated list with different width?


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
    17 hours ago











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

    – JouleV
    17 hours ago















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
    17 hours ago











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

    – JouleV
    17 hours ago













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 17 hours ago







marya

















asked 18 hours ago









maryamarya

1,44521025




1,44521025












  • 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
    17 hours ago











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

    – JouleV
    17 hours ago

















  • 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
    17 hours ago











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

    – JouleV
    17 hours ago
















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
17 hours ago





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
17 hours ago













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

– JouleV
17 hours ago





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

– JouleV
17 hours ago










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]top 1 -bottom 1The first two items
VerticalBrace[ultra thick, blue] longest 2bottom 2 -The last four items


enter image description here






share|improve this answer


















  • 1





    Very good answer.

    – Sebastiano
    17 hours ago











  • Splendid! Gracias!

    – marya
    17 hours ago











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]top 1 -bottom 1The first two items
VerticalBrace[ultra thick, blue] longest 2bottom 2 -The last four items


enter image description here






share|improve this answer


















  • 1





    Very good answer.

    – Sebastiano
    17 hours ago











  • Splendid! Gracias!

    – marya
    17 hours ago















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]top 1 -bottom 1The first two items
VerticalBrace[ultra thick, blue] longest 2bottom 2 -The last four items


enter image description here






share|improve this answer


















  • 1





    Very good answer.

    – Sebastiano
    17 hours ago











  • Splendid! Gracias!

    – marya
    17 hours ago













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]top 1 -bottom 1The first two items
VerticalBrace[ultra thick, blue] longest 2bottom 2 -The 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]top 1 -bottom 1The first two items
VerticalBrace[ultra thick, blue] longest 2bottom 2 -The last four items


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 17 hours ago









StefanHStefanH

10.9k1820




10.9k1820







  • 1





    Very good answer.

    – Sebastiano
    17 hours ago











  • Splendid! Gracias!

    – marya
    17 hours ago












  • 1





    Very good answer.

    – Sebastiano
    17 hours ago











  • Splendid! Gracias!

    – marya
    17 hours ago







1




1





Very good answer.

– Sebastiano
17 hours ago





Very good answer.

– Sebastiano
17 hours ago













Splendid! Gracias!

– marya
17 hours ago





Splendid! Gracias!

– marya
17 hours ago

















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

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림