I am trying to generate a numbered list with a bracket to the right of the list to group the list items into additional categories. I am trying to get something like:
I have fiddled around with \mbox and \frame, and even thought about using a table, but I would have to re-start the list numbering, and I want to make sure that the alignment is correct.
Is this something that can be done?
Glenn
Best Answer
Yep, this can easily be done with
\tikzmark
. With this youenumerate
list as you normally would\tikzmark{<name>}
\tikzmark
s in a\tikzpicture
with the[overlay,remember picture]
options and draw as desired.Note:
This does require two runs. First one to determine the locations, and the second to do the drawing.
The
\tikzmark
is from Adding a large brace next to a body of text.References:
Code: