Enumerated List with multiple levels within Table












2















Good morning everybody,



I tried to build up a multi level enumeration within a table. The items shall be something like an row identifier in the 1 column (see attached example).



Writing Items in the table and continue enumeration in the next row worked with resume. But I was not able to create sublevels.



Additionally I was not able to bring the items in a "smaller row height". The margin over the items is Ok in the example, but below I was not able to reduce the space.



Can anyone help?



Regards,
Christian



Example Table



documentclass{scrreprt}

usepackage{enumitem}

begin{document}

begin{tabular}{|p{.1textwidth}|l|l|l|}

hline

Identifier & Content 1 & Content 2 \

hline

hline

begin{enumerate}[series=tableLevel1,nosep,leftmargin=*,after=vspace{-0.2baselineskip},before=vspace{-0.2baselineskip}] item end{enumerate} & bla & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blub & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blabla & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blablub & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & foo & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & foobla & \

hline

end{tabular}


end{document}









share|improve this question

























  • How deep do you want your sublevels ? If you are limited to 1 sublevels, a crude solution would be to define 2 counters and increment them as you need to.

    – alex_reader
    Jan 12 at 8:47











  • hi alex, I need at least 2 sublevels

    – ChrisP
    Jan 12 at 8:55
















2















Good morning everybody,



I tried to build up a multi level enumeration within a table. The items shall be something like an row identifier in the 1 column (see attached example).



Writing Items in the table and continue enumeration in the next row worked with resume. But I was not able to create sublevels.



Additionally I was not able to bring the items in a "smaller row height". The margin over the items is Ok in the example, but below I was not able to reduce the space.



Can anyone help?



Regards,
Christian



Example Table



documentclass{scrreprt}

usepackage{enumitem}

begin{document}

begin{tabular}{|p{.1textwidth}|l|l|l|}

hline

Identifier & Content 1 & Content 2 \

hline

hline

begin{enumerate}[series=tableLevel1,nosep,leftmargin=*,after=vspace{-0.2baselineskip},before=vspace{-0.2baselineskip}] item end{enumerate} & bla & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blub & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blabla & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blablub & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & foo & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & foobla & \

hline

end{tabular}


end{document}









share|improve this question

























  • How deep do you want your sublevels ? If you are limited to 1 sublevels, a crude solution would be to define 2 counters and increment them as you need to.

    – alex_reader
    Jan 12 at 8:47











  • hi alex, I need at least 2 sublevels

    – ChrisP
    Jan 12 at 8:55














2












2








2








Good morning everybody,



I tried to build up a multi level enumeration within a table. The items shall be something like an row identifier in the 1 column (see attached example).



Writing Items in the table and continue enumeration in the next row worked with resume. But I was not able to create sublevels.



Additionally I was not able to bring the items in a "smaller row height". The margin over the items is Ok in the example, but below I was not able to reduce the space.



Can anyone help?



Regards,
Christian



Example Table



documentclass{scrreprt}

usepackage{enumitem}

begin{document}

begin{tabular}{|p{.1textwidth}|l|l|l|}

hline

Identifier & Content 1 & Content 2 \

hline

hline

begin{enumerate}[series=tableLevel1,nosep,leftmargin=*,after=vspace{-0.2baselineskip},before=vspace{-0.2baselineskip}] item end{enumerate} & bla & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blub & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blabla & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blablub & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & foo & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & foobla & \

hline

end{tabular}


end{document}









share|improve this question
















Good morning everybody,



I tried to build up a multi level enumeration within a table. The items shall be something like an row identifier in the 1 column (see attached example).



Writing Items in the table and continue enumeration in the next row worked with resume. But I was not able to create sublevels.



Additionally I was not able to bring the items in a "smaller row height". The margin over the items is Ok in the example, but below I was not able to reduce the space.



Can anyone help?



Regards,
Christian



Example Table



documentclass{scrreprt}

usepackage{enumitem}

begin{document}

begin{tabular}{|p{.1textwidth}|l|l|l|}

hline

Identifier & Content 1 & Content 2 \

hline

hline

begin{enumerate}[series=tableLevel1,nosep,leftmargin=*,after=vspace{-0.2baselineskip},before=vspace{-0.2baselineskip}] item end{enumerate} & bla & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blub & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blabla & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & blablub & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & foo & \

hline

begin{enumerate}[resume*=tableLevel1] item end{enumerate} & foobla & \

hline

end{tabular}


end{document}






tables enumerate






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 12 at 8:40









JouleV

2,499628




2,499628










asked Jan 12 at 8:38









ChrisPChrisP

132




132













  • How deep do you want your sublevels ? If you are limited to 1 sublevels, a crude solution would be to define 2 counters and increment them as you need to.

    – alex_reader
    Jan 12 at 8:47











  • hi alex, I need at least 2 sublevels

    – ChrisP
    Jan 12 at 8:55



















  • How deep do you want your sublevels ? If you are limited to 1 sublevels, a crude solution would be to define 2 counters and increment them as you need to.

    – alex_reader
    Jan 12 at 8:47











  • hi alex, I need at least 2 sublevels

    – ChrisP
    Jan 12 at 8:55

















How deep do you want your sublevels ? If you are limited to 1 sublevels, a crude solution would be to define 2 counters and increment them as you need to.

– alex_reader
Jan 12 at 8:47





How deep do you want your sublevels ? If you are limited to 1 sublevels, a crude solution would be to define 2 counters and increment them as you need to.

– alex_reader
Jan 12 at 8:47













hi alex, I need at least 2 sublevels

– ChrisP
Jan 12 at 8:55





hi alex, I need at least 2 sublevels

– ChrisP
Jan 12 at 8:55










2 Answers
2






active

oldest

votes


















4














I would define a specific environment:



documentclass{article}

newcounter{myenumi}
newcounter{myenumii}[myenumi]
renewcommand{themyenumi}{arabic{myenumi}}
renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

newenvironment{enumtabular}[1]
{%
setcounter{myenumi}{0}%
setcounter{myenumii}{0}%
renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
begin{tabular}{#1}
}
{end{tabular}}

begin{document}

begin{enumtabular}{|l|l|l|}
hline
Identifier & Contents 1 & Contents 2 \
hline
item & blabla & blabla \
hline
item & blu & blublu \
hline
subitemlabel{test} & blabla & blabla \
hline
subitem & blub & blub \
hline
item & xyz & zyx \
hline
end{enumtabular}

bigskip

Reference: ref{test}

end{document}


You can add subsubitem in a similar fashion if you need more levels.



enter image description here



A non caged table:



documentclass{article}
usepackage{booktabs}

newcounter{myenumi}
newcounter{myenumii}[myenumi]
renewcommand{themyenumi}{arabic{myenumi}}
renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

newenvironment{enumtabular}[1]
{%
setcounter{myenumi}{0}%
setcounter{myenumii}{0}%
renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
begin{tabular}{#1}
}
{end{tabular}}

begin{document}

begin{enumtabular}{lll}
toprule
Identifier & Contents 1 & Contents 2 \
midrule
item & blabla & blabla \
midrule
item & blu & blublu \
subitemlabel{test} & blabla & blabla \
subitem & blub & blub \
midrule
item & xyz & zyx \
bottomrule
end{enumtabular}

bigskip

Reference: ref{test}

end{document}


enter image description here






share|improve this answer
























  • Hello egreg, thanks, that is perfect! Regards, Christian

    – ChrisP
    Jan 13 at 21:17





















3














enter image description here





documentclass{scrreprt}

usepackage{enumitem}
newlist{tabenum}{enumerate}{3}

setlist[tabenum]{label*=arabic*.,leftmargin=*}
setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}


begin{document}

begin{tabular}{|p{.175textwidth}|l|l|l|}

hline

Identifier & Content 1 & Content 2 \

hline

hline

begin{tabenum}[series=tableLevel1]itemquadend{tabenum} & bla & \

hline

begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blub & \

hline

begin{tabenum}[resume*=tableLevel1]itembegin{tabenum} itemquad end{tabenum}end{tabenum} & blabla & \

hline

begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blablub & \

hline

begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foo & \

hline


begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

hline


begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

hline

begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[series=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

hline

begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[resume*=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

hline

begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foobla & \

hline
begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

hline


begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

hline

end{tabular}


end{document}




Here is slightly more automated version that results in the same output as shown above:



documentclass{scrreprt}

usepackage{enumitem}
newlist{tabenum}{enumerate}{3}

setlist[tabenum]{label*=arabic*.,leftmargin=*}
setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}

newcommand{tabenumfirst}[1]{begin{tabenum}[#1=tableLevel1]itemquadend{tabenum}}
newcommand{tabenumsecond}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[#1=tableLevel2] itemquad end{tabenum}end{tabenum}}
newcommand{tabenumthird}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[#1=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum}}

begin{document}

begin{tabular}{|p{.175textwidth}|l|l|l|}

hline

Identifier & Content 1 & Content 2 \

hline

hline

tabenumfirst{series} & bla & \

hline

tabenumfirst{resume*} & blub & \

hline

tabenumsecond{series} & blabla & \

hline

tabenumfirst{resume*} & blablub & \

hline

tabenumfirst{resume*} & foo & \

hline


tabenumsecond{series} & blabla & \

hline

tabenumsecond{resume*} & blabla & \

hline

tabenumthird{series} & blabla & \

hline

tabenumthird{resume*} & blabla & \

hline

tabenumfirst{resume*} & foobla & \

hline

tabenumsecond{series} & blabla & \

hline

tabenumsecond{resume*} & blabla & \

hline

end{tabular}


end{document}





share|improve this answer

























    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%2f469802%2fenumerated-list-with-multiple-levels-within-table%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    I would define a specific environment:



    documentclass{article}

    newcounter{myenumi}
    newcounter{myenumii}[myenumi]
    renewcommand{themyenumi}{arabic{myenumi}}
    renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

    newenvironment{enumtabular}[1]
    {%
    setcounter{myenumi}{0}%
    setcounter{myenumii}{0}%
    renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
    renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
    begin{tabular}{#1}
    }
    {end{tabular}}

    begin{document}

    begin{enumtabular}{|l|l|l|}
    hline
    Identifier & Contents 1 & Contents 2 \
    hline
    item & blabla & blabla \
    hline
    item & blu & blublu \
    hline
    subitemlabel{test} & blabla & blabla \
    hline
    subitem & blub & blub \
    hline
    item & xyz & zyx \
    hline
    end{enumtabular}

    bigskip

    Reference: ref{test}

    end{document}


    You can add subsubitem in a similar fashion if you need more levels.



    enter image description here



    A non caged table:



    documentclass{article}
    usepackage{booktabs}

    newcounter{myenumi}
    newcounter{myenumii}[myenumi]
    renewcommand{themyenumi}{arabic{myenumi}}
    renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

    newenvironment{enumtabular}[1]
    {%
    setcounter{myenumi}{0}%
    setcounter{myenumii}{0}%
    renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
    renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
    begin{tabular}{#1}
    }
    {end{tabular}}

    begin{document}

    begin{enumtabular}{lll}
    toprule
    Identifier & Contents 1 & Contents 2 \
    midrule
    item & blabla & blabla \
    midrule
    item & blu & blublu \
    subitemlabel{test} & blabla & blabla \
    subitem & blub & blub \
    midrule
    item & xyz & zyx \
    bottomrule
    end{enumtabular}

    bigskip

    Reference: ref{test}

    end{document}


    enter image description here






    share|improve this answer
























    • Hello egreg, thanks, that is perfect! Regards, Christian

      – ChrisP
      Jan 13 at 21:17


















    4














    I would define a specific environment:



    documentclass{article}

    newcounter{myenumi}
    newcounter{myenumii}[myenumi]
    renewcommand{themyenumi}{arabic{myenumi}}
    renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

    newenvironment{enumtabular}[1]
    {%
    setcounter{myenumi}{0}%
    setcounter{myenumii}{0}%
    renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
    renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
    begin{tabular}{#1}
    }
    {end{tabular}}

    begin{document}

    begin{enumtabular}{|l|l|l|}
    hline
    Identifier & Contents 1 & Contents 2 \
    hline
    item & blabla & blabla \
    hline
    item & blu & blublu \
    hline
    subitemlabel{test} & blabla & blabla \
    hline
    subitem & blub & blub \
    hline
    item & xyz & zyx \
    hline
    end{enumtabular}

    bigskip

    Reference: ref{test}

    end{document}


    You can add subsubitem in a similar fashion if you need more levels.



    enter image description here



    A non caged table:



    documentclass{article}
    usepackage{booktabs}

    newcounter{myenumi}
    newcounter{myenumii}[myenumi]
    renewcommand{themyenumi}{arabic{myenumi}}
    renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

    newenvironment{enumtabular}[1]
    {%
    setcounter{myenumi}{0}%
    setcounter{myenumii}{0}%
    renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
    renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
    begin{tabular}{#1}
    }
    {end{tabular}}

    begin{document}

    begin{enumtabular}{lll}
    toprule
    Identifier & Contents 1 & Contents 2 \
    midrule
    item & blabla & blabla \
    midrule
    item & blu & blublu \
    subitemlabel{test} & blabla & blabla \
    subitem & blub & blub \
    midrule
    item & xyz & zyx \
    bottomrule
    end{enumtabular}

    bigskip

    Reference: ref{test}

    end{document}


    enter image description here






    share|improve this answer
























    • Hello egreg, thanks, that is perfect! Regards, Christian

      – ChrisP
      Jan 13 at 21:17
















    4












    4








    4







    I would define a specific environment:



    documentclass{article}

    newcounter{myenumi}
    newcounter{myenumii}[myenumi]
    renewcommand{themyenumi}{arabic{myenumi}}
    renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

    newenvironment{enumtabular}[1]
    {%
    setcounter{myenumi}{0}%
    setcounter{myenumii}{0}%
    renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
    renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
    begin{tabular}{#1}
    }
    {end{tabular}}

    begin{document}

    begin{enumtabular}{|l|l|l|}
    hline
    Identifier & Contents 1 & Contents 2 \
    hline
    item & blabla & blabla \
    hline
    item & blu & blublu \
    hline
    subitemlabel{test} & blabla & blabla \
    hline
    subitem & blub & blub \
    hline
    item & xyz & zyx \
    hline
    end{enumtabular}

    bigskip

    Reference: ref{test}

    end{document}


    You can add subsubitem in a similar fashion if you need more levels.



    enter image description here



    A non caged table:



    documentclass{article}
    usepackage{booktabs}

    newcounter{myenumi}
    newcounter{myenumii}[myenumi]
    renewcommand{themyenumi}{arabic{myenumi}}
    renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

    newenvironment{enumtabular}[1]
    {%
    setcounter{myenumi}{0}%
    setcounter{myenumii}{0}%
    renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
    renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
    begin{tabular}{#1}
    }
    {end{tabular}}

    begin{document}

    begin{enumtabular}{lll}
    toprule
    Identifier & Contents 1 & Contents 2 \
    midrule
    item & blabla & blabla \
    midrule
    item & blu & blublu \
    subitemlabel{test} & blabla & blabla \
    subitem & blub & blub \
    midrule
    item & xyz & zyx \
    bottomrule
    end{enumtabular}

    bigskip

    Reference: ref{test}

    end{document}


    enter image description here






    share|improve this answer













    I would define a specific environment:



    documentclass{article}

    newcounter{myenumi}
    newcounter{myenumii}[myenumi]
    renewcommand{themyenumi}{arabic{myenumi}}
    renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

    newenvironment{enumtabular}[1]
    {%
    setcounter{myenumi}{0}%
    setcounter{myenumii}{0}%
    renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
    renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
    begin{tabular}{#1}
    }
    {end{tabular}}

    begin{document}

    begin{enumtabular}{|l|l|l|}
    hline
    Identifier & Contents 1 & Contents 2 \
    hline
    item & blabla & blabla \
    hline
    item & blu & blublu \
    hline
    subitemlabel{test} & blabla & blabla \
    hline
    subitem & blub & blub \
    hline
    item & xyz & zyx \
    hline
    end{enumtabular}

    bigskip

    Reference: ref{test}

    end{document}


    You can add subsubitem in a similar fashion if you need more levels.



    enter image description here



    A non caged table:



    documentclass{article}
    usepackage{booktabs}

    newcounter{myenumi}
    newcounter{myenumii}[myenumi]
    renewcommand{themyenumi}{arabic{myenumi}}
    renewcommand{themyenumii}{themyenumi.arabic{myenumii}}

    newenvironment{enumtabular}[1]
    {%
    setcounter{myenumi}{0}%
    setcounter{myenumii}{0}%
    renewcommand{item}{refstepcounter{myenumi}themyenumi.}%
    renewcommand{subitem}{refstepcounter{myenumii}quadthemyenumii.}%
    begin{tabular}{#1}
    }
    {end{tabular}}

    begin{document}

    begin{enumtabular}{lll}
    toprule
    Identifier & Contents 1 & Contents 2 \
    midrule
    item & blabla & blabla \
    midrule
    item & blu & blublu \
    subitemlabel{test} & blabla & blabla \
    subitem & blub & blub \
    midrule
    item & xyz & zyx \
    bottomrule
    end{enumtabular}

    bigskip

    Reference: ref{test}

    end{document}


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 12 at 11:22









    egregegreg

    716k8619033189




    716k8619033189













    • Hello egreg, thanks, that is perfect! Regards, Christian

      – ChrisP
      Jan 13 at 21:17





















    • Hello egreg, thanks, that is perfect! Regards, Christian

      – ChrisP
      Jan 13 at 21:17



















    Hello egreg, thanks, that is perfect! Regards, Christian

    – ChrisP
    Jan 13 at 21:17







    Hello egreg, thanks, that is perfect! Regards, Christian

    – ChrisP
    Jan 13 at 21:17













    3














    enter image description here





    documentclass{scrreprt}

    usepackage{enumitem}
    newlist{tabenum}{enumerate}{3}

    setlist[tabenum]{label*=arabic*.,leftmargin=*}
    setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}


    begin{document}

    begin{tabular}{|p{.175textwidth}|l|l|l|}

    hline

    Identifier & Content 1 & Content 2 \

    hline

    hline

    begin{tabenum}[series=tableLevel1]itemquadend{tabenum} & bla & \

    hline

    begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blub & \

    hline

    begin{tabenum}[resume*=tableLevel1]itembegin{tabenum} itemquad end{tabenum}end{tabenum} & blabla & \

    hline

    begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blablub & \

    hline

    begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foo & \

    hline


    begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

    hline


    begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

    hline

    begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[series=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

    hline

    begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[resume*=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

    hline

    begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foobla & \

    hline
    begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

    hline


    begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

    hline

    end{tabular}


    end{document}




    Here is slightly more automated version that results in the same output as shown above:



    documentclass{scrreprt}

    usepackage{enumitem}
    newlist{tabenum}{enumerate}{3}

    setlist[tabenum]{label*=arabic*.,leftmargin=*}
    setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}

    newcommand{tabenumfirst}[1]{begin{tabenum}[#1=tableLevel1]itemquadend{tabenum}}
    newcommand{tabenumsecond}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[#1=tableLevel2] itemquad end{tabenum}end{tabenum}}
    newcommand{tabenumthird}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[#1=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum}}

    begin{document}

    begin{tabular}{|p{.175textwidth}|l|l|l|}

    hline

    Identifier & Content 1 & Content 2 \

    hline

    hline

    tabenumfirst{series} & bla & \

    hline

    tabenumfirst{resume*} & blub & \

    hline

    tabenumsecond{series} & blabla & \

    hline

    tabenumfirst{resume*} & blablub & \

    hline

    tabenumfirst{resume*} & foo & \

    hline


    tabenumsecond{series} & blabla & \

    hline

    tabenumsecond{resume*} & blabla & \

    hline

    tabenumthird{series} & blabla & \

    hline

    tabenumthird{resume*} & blabla & \

    hline

    tabenumfirst{resume*} & foobla & \

    hline

    tabenumsecond{series} & blabla & \

    hline

    tabenumsecond{resume*} & blabla & \

    hline

    end{tabular}


    end{document}





    share|improve this answer






























      3














      enter image description here





      documentclass{scrreprt}

      usepackage{enumitem}
      newlist{tabenum}{enumerate}{3}

      setlist[tabenum]{label*=arabic*.,leftmargin=*}
      setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}


      begin{document}

      begin{tabular}{|p{.175textwidth}|l|l|l|}

      hline

      Identifier & Content 1 & Content 2 \

      hline

      hline

      begin{tabenum}[series=tableLevel1]itemquadend{tabenum} & bla & \

      hline

      begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blub & \

      hline

      begin{tabenum}[resume*=tableLevel1]itembegin{tabenum} itemquad end{tabenum}end{tabenum} & blabla & \

      hline

      begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blablub & \

      hline

      begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foo & \

      hline


      begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

      hline


      begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

      hline

      begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[series=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

      hline

      begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[resume*=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

      hline

      begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foobla & \

      hline
      begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

      hline


      begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

      hline

      end{tabular}


      end{document}




      Here is slightly more automated version that results in the same output as shown above:



      documentclass{scrreprt}

      usepackage{enumitem}
      newlist{tabenum}{enumerate}{3}

      setlist[tabenum]{label*=arabic*.,leftmargin=*}
      setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}

      newcommand{tabenumfirst}[1]{begin{tabenum}[#1=tableLevel1]itemquadend{tabenum}}
      newcommand{tabenumsecond}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[#1=tableLevel2] itemquad end{tabenum}end{tabenum}}
      newcommand{tabenumthird}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[#1=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum}}

      begin{document}

      begin{tabular}{|p{.175textwidth}|l|l|l|}

      hline

      Identifier & Content 1 & Content 2 \

      hline

      hline

      tabenumfirst{series} & bla & \

      hline

      tabenumfirst{resume*} & blub & \

      hline

      tabenumsecond{series} & blabla & \

      hline

      tabenumfirst{resume*} & blablub & \

      hline

      tabenumfirst{resume*} & foo & \

      hline


      tabenumsecond{series} & blabla & \

      hline

      tabenumsecond{resume*} & blabla & \

      hline

      tabenumthird{series} & blabla & \

      hline

      tabenumthird{resume*} & blabla & \

      hline

      tabenumfirst{resume*} & foobla & \

      hline

      tabenumsecond{series} & blabla & \

      hline

      tabenumsecond{resume*} & blabla & \

      hline

      end{tabular}


      end{document}





      share|improve this answer




























        3












        3








        3







        enter image description here





        documentclass{scrreprt}

        usepackage{enumitem}
        newlist{tabenum}{enumerate}{3}

        setlist[tabenum]{label*=arabic*.,leftmargin=*}
        setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}


        begin{document}

        begin{tabular}{|p{.175textwidth}|l|l|l|}

        hline

        Identifier & Content 1 & Content 2 \

        hline

        hline

        begin{tabenum}[series=tableLevel1]itemquadend{tabenum} & bla & \

        hline

        begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blub & \

        hline

        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum} itemquad end{tabenum}end{tabenum} & blabla & \

        hline

        begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blablub & \

        hline

        begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foo & \

        hline


        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

        hline


        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

        hline

        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[series=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

        hline

        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[resume*=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

        hline

        begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foobla & \

        hline
        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

        hline


        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

        hline

        end{tabular}


        end{document}




        Here is slightly more automated version that results in the same output as shown above:



        documentclass{scrreprt}

        usepackage{enumitem}
        newlist{tabenum}{enumerate}{3}

        setlist[tabenum]{label*=arabic*.,leftmargin=*}
        setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}

        newcommand{tabenumfirst}[1]{begin{tabenum}[#1=tableLevel1]itemquadend{tabenum}}
        newcommand{tabenumsecond}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[#1=tableLevel2] itemquad end{tabenum}end{tabenum}}
        newcommand{tabenumthird}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[#1=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum}}

        begin{document}

        begin{tabular}{|p{.175textwidth}|l|l|l|}

        hline

        Identifier & Content 1 & Content 2 \

        hline

        hline

        tabenumfirst{series} & bla & \

        hline

        tabenumfirst{resume*} & blub & \

        hline

        tabenumsecond{series} & blabla & \

        hline

        tabenumfirst{resume*} & blablub & \

        hline

        tabenumfirst{resume*} & foo & \

        hline


        tabenumsecond{series} & blabla & \

        hline

        tabenumsecond{resume*} & blabla & \

        hline

        tabenumthird{series} & blabla & \

        hline

        tabenumthird{resume*} & blabla & \

        hline

        tabenumfirst{resume*} & foobla & \

        hline

        tabenumsecond{series} & blabla & \

        hline

        tabenumsecond{resume*} & blabla & \

        hline

        end{tabular}


        end{document}





        share|improve this answer















        enter image description here





        documentclass{scrreprt}

        usepackage{enumitem}
        newlist{tabenum}{enumerate}{3}

        setlist[tabenum]{label*=arabic*.,leftmargin=*}
        setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}


        begin{document}

        begin{tabular}{|p{.175textwidth}|l|l|l|}

        hline

        Identifier & Content 1 & Content 2 \

        hline

        hline

        begin{tabenum}[series=tableLevel1]itemquadend{tabenum} & bla & \

        hline

        begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blub & \

        hline

        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum} itemquad end{tabenum}end{tabenum} & blabla & \

        hline

        begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & blablub & \

        hline

        begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foo & \

        hline


        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

        hline


        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

        hline

        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[series=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

        hline

        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[resume*=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum} & blabla & \

        hline

        begin{tabenum}[resume*=tableLevel1] itemquad end{tabenum} & foobla & \

        hline
        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[series=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

        hline


        begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2] itemquad end{tabenum}end{tabenum} & blabla & \

        hline

        end{tabular}


        end{document}




        Here is slightly more automated version that results in the same output as shown above:



        documentclass{scrreprt}

        usepackage{enumitem}
        newlist{tabenum}{enumerate}{3}

        setlist[tabenum]{label*=arabic*.,leftmargin=*}
        setlist[tabenum,1]{nosep,leftmargin=*,before=vspace{-0.5baselineskip},after=vspace{-1baselineskip}}

        newcommand{tabenumfirst}[1]{begin{tabenum}[#1=tableLevel1]itemquadend{tabenum}}
        newcommand{tabenumsecond}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[#1=tableLevel2] itemquad end{tabenum}end{tabenum}}
        newcommand{tabenumthird}[1]{begin{tabenum}[resume*=tableLevel1]itembegin{tabenum}[resume*=tableLevel2]itembegin{tabenum}[#1=tableLevel3] itemquad end{tabenum}end{tabenum}end{tabenum}}

        begin{document}

        begin{tabular}{|p{.175textwidth}|l|l|l|}

        hline

        Identifier & Content 1 & Content 2 \

        hline

        hline

        tabenumfirst{series} & bla & \

        hline

        tabenumfirst{resume*} & blub & \

        hline

        tabenumsecond{series} & blabla & \

        hline

        tabenumfirst{resume*} & blablub & \

        hline

        tabenumfirst{resume*} & foo & \

        hline


        tabenumsecond{series} & blabla & \

        hline

        tabenumsecond{resume*} & blabla & \

        hline

        tabenumthird{series} & blabla & \

        hline

        tabenumthird{resume*} & blabla & \

        hline

        tabenumfirst{resume*} & foobla & \

        hline

        tabenumsecond{series} & blabla & \

        hline

        tabenumsecond{resume*} & blabla & \

        hline

        end{tabular}


        end{document}






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 12 at 10:37

























        answered Jan 12 at 9:53









        leandriisleandriis

        8,6721529




        8,6721529






























            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%2f469802%2fenumerated-list-with-multiple-levels-within-table%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

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix