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
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
How can I fix this?
tikz-pgf enumerate braces grouping
add a comment |
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
How can I fix this?
tikz-pgf enumerate braces grouping
add a comment |
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
How can I fix this?
tikz-pgf enumerate braces grouping
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
How can I fix this?
tikz-pgf enumerate braces grouping
tikz-pgf enumerate braces grouping
edited 10 mins ago
JouleV
9,70322357
9,70322357
asked 13 mins ago
maryamarya
1,41821025
1,41821025
add a comment |
add a comment |
0
active
oldest
votes
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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