How to remove additional spaces in table in latex












2















I am using the following code to generate a table.



documentclass[acmsmall]{acmart}
begin{document}
begin{table}[!t]
renewcommand{arraystretch}{1.3}
caption{Some text}
centering
begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
hline
textbf{Some text} & textbf{Some text} & textbf{Some text} \
hline

textbf{Some text:}
begin{itemize}
item Some text
item Some text
item Some text
end{itemize}
&
43%{$newline$}
checkmark{$newline$}
-{$newline$}
-{$newline$}
&
57%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
textbf{Some text}
begin{itemize}
item Some text
item Some text
item Some text
item Some text
end{itemize}
&
25%{$newline$}
checkmark{$newline$}
-{$newline$}
-{$newline$}
-{$newline$}
&
75%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
textbf{Some text:}
begin{itemize}
item Some text
item Some text
end{itemize}
&
0%{$newline$}
-{$newline$}
-{$newline$}
&
100%{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
end{tabular}
label{table1}
end{table}
end{document}


However, as shown in the figure below there are empty spaces (highlighted in yellow). I am just wondering if there is a way to remove those extra lines from the table?
enter image description here



I am happy to provide any other details if needed :)










share|improve this question









New contributor




Emi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Can you please provide us with a compilable document? When I compile your table with preamble documentclass[12pt]{article} usepackage{amssymb} I do not get such large spaces,

    – marmot
    2 hours ago











  • @marmot I am using the following document class documentclass[acmsmall]{acmart}

    – Emi
    2 hours ago











  • Please add this (as well as begin{document} and end{document}) to your above code such that people have a complete example to play with.

    – marmot
    1 hour ago











  • @marmot Sure, I will add those details. By the way I am getting the same output in the following documentclasses as well; documentclass[smallextended]{svjour3} and documentclass[jou,apacite]{apa6}

    – Emi
    1 hour ago






  • 2





    Possible duplicate of Removing extra space after itemize environment in longtable in memoir

    – Henri Menke
    1 hour ago
















2















I am using the following code to generate a table.



documentclass[acmsmall]{acmart}
begin{document}
begin{table}[!t]
renewcommand{arraystretch}{1.3}
caption{Some text}
centering
begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
hline
textbf{Some text} & textbf{Some text} & textbf{Some text} \
hline

textbf{Some text:}
begin{itemize}
item Some text
item Some text
item Some text
end{itemize}
&
43%{$newline$}
checkmark{$newline$}
-{$newline$}
-{$newline$}
&
57%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
textbf{Some text}
begin{itemize}
item Some text
item Some text
item Some text
item Some text
end{itemize}
&
25%{$newline$}
checkmark{$newline$}
-{$newline$}
-{$newline$}
-{$newline$}
&
75%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
textbf{Some text:}
begin{itemize}
item Some text
item Some text
end{itemize}
&
0%{$newline$}
-{$newline$}
-{$newline$}
&
100%{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
end{tabular}
label{table1}
end{table}
end{document}


However, as shown in the figure below there are empty spaces (highlighted in yellow). I am just wondering if there is a way to remove those extra lines from the table?
enter image description here



I am happy to provide any other details if needed :)










share|improve this question









New contributor




Emi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Can you please provide us with a compilable document? When I compile your table with preamble documentclass[12pt]{article} usepackage{amssymb} I do not get such large spaces,

    – marmot
    2 hours ago











  • @marmot I am using the following document class documentclass[acmsmall]{acmart}

    – Emi
    2 hours ago











  • Please add this (as well as begin{document} and end{document}) to your above code such that people have a complete example to play with.

    – marmot
    1 hour ago











  • @marmot Sure, I will add those details. By the way I am getting the same output in the following documentclasses as well; documentclass[smallextended]{svjour3} and documentclass[jou,apacite]{apa6}

    – Emi
    1 hour ago






  • 2





    Possible duplicate of Removing extra space after itemize environment in longtable in memoir

    – Henri Menke
    1 hour ago














2












2








2








I am using the following code to generate a table.



documentclass[acmsmall]{acmart}
begin{document}
begin{table}[!t]
renewcommand{arraystretch}{1.3}
caption{Some text}
centering
begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
hline
textbf{Some text} & textbf{Some text} & textbf{Some text} \
hline

textbf{Some text:}
begin{itemize}
item Some text
item Some text
item Some text
end{itemize}
&
43%{$newline$}
checkmark{$newline$}
-{$newline$}
-{$newline$}
&
57%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
textbf{Some text}
begin{itemize}
item Some text
item Some text
item Some text
item Some text
end{itemize}
&
25%{$newline$}
checkmark{$newline$}
-{$newline$}
-{$newline$}
-{$newline$}
&
75%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
textbf{Some text:}
begin{itemize}
item Some text
item Some text
end{itemize}
&
0%{$newline$}
-{$newline$}
-{$newline$}
&
100%{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
end{tabular}
label{table1}
end{table}
end{document}


However, as shown in the figure below there are empty spaces (highlighted in yellow). I am just wondering if there is a way to remove those extra lines from the table?
enter image description here



I am happy to provide any other details if needed :)










share|improve this question









New contributor




Emi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I am using the following code to generate a table.



documentclass[acmsmall]{acmart}
begin{document}
begin{table}[!t]
renewcommand{arraystretch}{1.3}
caption{Some text}
centering
begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
hline
textbf{Some text} & textbf{Some text} & textbf{Some text} \
hline

textbf{Some text:}
begin{itemize}
item Some text
item Some text
item Some text
end{itemize}
&
43%{$newline$}
checkmark{$newline$}
-{$newline$}
-{$newline$}
&
57%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
textbf{Some text}
begin{itemize}
item Some text
item Some text
item Some text
item Some text
end{itemize}
&
25%{$newline$}
checkmark{$newline$}
-{$newline$}
-{$newline$}
-{$newline$}
&
75%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
textbf{Some text:}
begin{itemize}
item Some text
item Some text
end{itemize}
&
0%{$newline$}
-{$newline$}
-{$newline$}
&
100%{$newline$}
checkmark{$newline$}
checkmark{$newline$}
\
hline
end{tabular}
label{table1}
end{table}
end{document}


However, as shown in the figure below there are empty spaces (highlighted in yellow). I am just wondering if there is a way to remove those extra lines from the table?
enter image description here



I am happy to provide any other details if needed :)







tables tex-core






share|improve this question









New contributor




Emi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Emi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 hour ago







Emi













New contributor




Emi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









EmiEmi

304




304




New contributor




Emi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Emi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Emi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Can you please provide us with a compilable document? When I compile your table with preamble documentclass[12pt]{article} usepackage{amssymb} I do not get such large spaces,

    – marmot
    2 hours ago











  • @marmot I am using the following document class documentclass[acmsmall]{acmart}

    – Emi
    2 hours ago











  • Please add this (as well as begin{document} and end{document}) to your above code such that people have a complete example to play with.

    – marmot
    1 hour ago











  • @marmot Sure, I will add those details. By the way I am getting the same output in the following documentclasses as well; documentclass[smallextended]{svjour3} and documentclass[jou,apacite]{apa6}

    – Emi
    1 hour ago






  • 2





    Possible duplicate of Removing extra space after itemize environment in longtable in memoir

    – Henri Menke
    1 hour ago



















  • Can you please provide us with a compilable document? When I compile your table with preamble documentclass[12pt]{article} usepackage{amssymb} I do not get such large spaces,

    – marmot
    2 hours ago











  • @marmot I am using the following document class documentclass[acmsmall]{acmart}

    – Emi
    2 hours ago











  • Please add this (as well as begin{document} and end{document}) to your above code such that people have a complete example to play with.

    – marmot
    1 hour ago











  • @marmot Sure, I will add those details. By the way I am getting the same output in the following documentclasses as well; documentclass[smallextended]{svjour3} and documentclass[jou,apacite]{apa6}

    – Emi
    1 hour ago






  • 2





    Possible duplicate of Removing extra space after itemize environment in longtable in memoir

    – Henri Menke
    1 hour ago

















Can you please provide us with a compilable document? When I compile your table with preamble documentclass[12pt]{article} usepackage{amssymb} I do not get such large spaces,

– marmot
2 hours ago





Can you please provide us with a compilable document? When I compile your table with preamble documentclass[12pt]{article} usepackage{amssymb} I do not get such large spaces,

– marmot
2 hours ago













@marmot I am using the following document class documentclass[acmsmall]{acmart}

– Emi
2 hours ago





@marmot I am using the following document class documentclass[acmsmall]{acmart}

– Emi
2 hours ago













Please add this (as well as begin{document} and end{document}) to your above code such that people have a complete example to play with.

– marmot
1 hour ago





Please add this (as well as begin{document} and end{document}) to your above code such that people have a complete example to play with.

– marmot
1 hour ago













@marmot Sure, I will add those details. By the way I am getting the same output in the following documentclasses as well; documentclass[smallextended]{svjour3} and documentclass[jou,apacite]{apa6}

– Emi
1 hour ago





@marmot Sure, I will add those details. By the way I am getting the same output in the following documentclasses as well; documentclass[smallextended]{svjour3} and documentclass[jou,apacite]{apa6}

– Emi
1 hour ago




2




2





Possible duplicate of Removing extra space after itemize environment in longtable in memoir

– Henri Menke
1 hour ago





Possible duplicate of Removing extra space after itemize environment in longtable in memoir

– Henri Menke
1 hour ago










2 Answers
2






active

oldest

votes


















2














Put vspace*{-baselineskip} after each itemize and remove the last {$newline$} of each column.



documentclass[acmsmall]{acmart}
begin{document}
begin{table}[!t]
renewcommand{arraystretch}{1.3}
caption{Some text}
centering
begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
hline
textbf{Some text} & textbf{Some text} & textbf{Some text} \
hline

textbf{Some text:}
begin{itemize}
item Some text
item Some text
item Some text
end{itemize}
vspace*{-baselineskip}
&
43%{$newline$}
checkmark{$newline$}
-{$newline$}
-
&
57%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark
\
hline
textbf{Some text}
begin{itemize}
item Some text
item Some text
item Some text
item Some text
end{itemize}
vspace*{-baselineskip}
&
25%{$newline$}
checkmark{$newline$}
-{$newline$}
-{$newline$}
-
&
75%{$newline$}
-{$newline$}
checkmark{$newline$}
checkmark{$newline$}
checkmark
\
hline
textbf{Some text:}
begin{itemize}
item Some text
item Some text
end{itemize}
vspace*{-baselineskip}
&
0%{$newline$}
-{$newline$}
-
&
100%{$newline$}
checkmark{$newline$}
checkmark
\
hline
end{tabular}
label{table1}
end{table}
end{document}


enter image description here





Here is a proposal how to format this table in a bit more appealing manner.



documentclass[acmsmall]{acmart}
usepackage{booktabs}
begin{document}
begin{table}[!t]
caption{Some text}
centering
begin{tabular}{@{}lcc@{}}
toprule
textbf{Some text} & textbf{Some text} & textbf{Some text} \
midrule
textbf{Some text:} & 43% & 57% \
Some text & checkmark & --- \
Some text & --- & checkmark \
Some text & --- & checkmark \
addlinespace
textbf{Some text} & 25% & 75% \
Some text & checkmark & --- \
Some text & --- & checkmark \
Some text & --- & checkmark \
Some text & --- & checkmark \
addlinespace
textbf{Some text:} & 0% & 100% \
Some text & --- & checkmark \
Some text & --- & checkmark \
bottomrule
end{tabular}
label{table1}
end{table}
end{document}


enter image description here






share|improve this answer

































    4














    Two suggestions:




    • Encase each itemize environment in a top-aligned minipage environment


    • omit the final {$newline$} directive in each group



    Optional: remove the instruction renewcommand{arraystretch}{1.3} and add setlengthextrarowheight{2pt}.



    enter image description here



    documentclass[acmsmall]{acmart}
    usepackage{array}
    %usepackage{enumitem}
    %setlist[itemize]{nosep}
    begin{document}
    begin{table}[!t]
    %renewcommand{arraystretch}{1.3}
    setlengthextrarowheight{2pt}
    caption{Some text}
    label{table1}

    centering
    begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
    hline
    textbf{Some text} & textbf{Some text} & textbf{Some text}
    \ hline

    %% 1st group
    textbf{Some text:} & 43% & 57% \
    begin{minipage}[t]{hsize}
    begin{itemize}
    item Some text
    item Some text
    item Some text
    end{itemize}
    end{minipage}
    &
    checkmark{$newline$}
    --{$newline$}
    --%{$newline$}
    &
    --{$newline$}
    checkmark{$newline$}
    checkmark%{$newline$}
    \ hline

    %% 2nd group
    textbf{Some text} & 25% & 75%\
    begin{minipage}[t]{hsize}
    begin{itemize}
    item Some text
    item Some text
    item Some text
    item Some text
    end{itemize}
    end{minipage}
    &
    checkmark{$newline$}
    --{$newline$}
    --{$newline$}
    --%{$newline$}
    &
    --{$newline$}
    checkmark{$newline$}
    checkmark{$newline$}
    checkmark%{$newline$}
    \ hline

    %% 3rd group
    textbf{Some text:} & 0% & 100% \
    begin{minipage}[t]{hsize}
    begin{itemize}
    item Some text
    item Some text
    end{itemize}
    end{minipage}
    &
    --{$newline$}
    --%{$newline$}
    &
    checkmark{$newline$}
    checkmark%{$newline$}
    \ hline
    end{tabular}
    end{table}
    end{document}





    share|improve this answer
























    • Nice answer. I really like it. Thank you. :)

      – Emi
      1 hour 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
    });


    }
    });






    Emi is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f470476%2fhow-to-remove-additional-spaces-in-table-in-latex%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









    2














    Put vspace*{-baselineskip} after each itemize and remove the last {$newline$} of each column.



    documentclass[acmsmall]{acmart}
    begin{document}
    begin{table}[!t]
    renewcommand{arraystretch}{1.3}
    caption{Some text}
    centering
    begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
    hline
    textbf{Some text} & textbf{Some text} & textbf{Some text} \
    hline

    textbf{Some text:}
    begin{itemize}
    item Some text
    item Some text
    item Some text
    end{itemize}
    vspace*{-baselineskip}
    &
    43%{$newline$}
    checkmark{$newline$}
    -{$newline$}
    -
    &
    57%{$newline$}
    -{$newline$}
    checkmark{$newline$}
    checkmark
    \
    hline
    textbf{Some text}
    begin{itemize}
    item Some text
    item Some text
    item Some text
    item Some text
    end{itemize}
    vspace*{-baselineskip}
    &
    25%{$newline$}
    checkmark{$newline$}
    -{$newline$}
    -{$newline$}
    -
    &
    75%{$newline$}
    -{$newline$}
    checkmark{$newline$}
    checkmark{$newline$}
    checkmark
    \
    hline
    textbf{Some text:}
    begin{itemize}
    item Some text
    item Some text
    end{itemize}
    vspace*{-baselineskip}
    &
    0%{$newline$}
    -{$newline$}
    -
    &
    100%{$newline$}
    checkmark{$newline$}
    checkmark
    \
    hline
    end{tabular}
    label{table1}
    end{table}
    end{document}


    enter image description here





    Here is a proposal how to format this table in a bit more appealing manner.



    documentclass[acmsmall]{acmart}
    usepackage{booktabs}
    begin{document}
    begin{table}[!t]
    caption{Some text}
    centering
    begin{tabular}{@{}lcc@{}}
    toprule
    textbf{Some text} & textbf{Some text} & textbf{Some text} \
    midrule
    textbf{Some text:} & 43% & 57% \
    Some text & checkmark & --- \
    Some text & --- & checkmark \
    Some text & --- & checkmark \
    addlinespace
    textbf{Some text} & 25% & 75% \
    Some text & checkmark & --- \
    Some text & --- & checkmark \
    Some text & --- & checkmark \
    Some text & --- & checkmark \
    addlinespace
    textbf{Some text:} & 0% & 100% \
    Some text & --- & checkmark \
    Some text & --- & checkmark \
    bottomrule
    end{tabular}
    label{table1}
    end{table}
    end{document}


    enter image description here






    share|improve this answer






























      2














      Put vspace*{-baselineskip} after each itemize and remove the last {$newline$} of each column.



      documentclass[acmsmall]{acmart}
      begin{document}
      begin{table}[!t]
      renewcommand{arraystretch}{1.3}
      caption{Some text}
      centering
      begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
      hline
      textbf{Some text} & textbf{Some text} & textbf{Some text} \
      hline

      textbf{Some text:}
      begin{itemize}
      item Some text
      item Some text
      item Some text
      end{itemize}
      vspace*{-baselineskip}
      &
      43%{$newline$}
      checkmark{$newline$}
      -{$newline$}
      -
      &
      57%{$newline$}
      -{$newline$}
      checkmark{$newline$}
      checkmark
      \
      hline
      textbf{Some text}
      begin{itemize}
      item Some text
      item Some text
      item Some text
      item Some text
      end{itemize}
      vspace*{-baselineskip}
      &
      25%{$newline$}
      checkmark{$newline$}
      -{$newline$}
      -{$newline$}
      -
      &
      75%{$newline$}
      -{$newline$}
      checkmark{$newline$}
      checkmark{$newline$}
      checkmark
      \
      hline
      textbf{Some text:}
      begin{itemize}
      item Some text
      item Some text
      end{itemize}
      vspace*{-baselineskip}
      &
      0%{$newline$}
      -{$newline$}
      -
      &
      100%{$newline$}
      checkmark{$newline$}
      checkmark
      \
      hline
      end{tabular}
      label{table1}
      end{table}
      end{document}


      enter image description here





      Here is a proposal how to format this table in a bit more appealing manner.



      documentclass[acmsmall]{acmart}
      usepackage{booktabs}
      begin{document}
      begin{table}[!t]
      caption{Some text}
      centering
      begin{tabular}{@{}lcc@{}}
      toprule
      textbf{Some text} & textbf{Some text} & textbf{Some text} \
      midrule
      textbf{Some text:} & 43% & 57% \
      Some text & checkmark & --- \
      Some text & --- & checkmark \
      Some text & --- & checkmark \
      addlinespace
      textbf{Some text} & 25% & 75% \
      Some text & checkmark & --- \
      Some text & --- & checkmark \
      Some text & --- & checkmark \
      Some text & --- & checkmark \
      addlinespace
      textbf{Some text:} & 0% & 100% \
      Some text & --- & checkmark \
      Some text & --- & checkmark \
      bottomrule
      end{tabular}
      label{table1}
      end{table}
      end{document}


      enter image description here






      share|improve this answer




























        2












        2








        2







        Put vspace*{-baselineskip} after each itemize and remove the last {$newline$} of each column.



        documentclass[acmsmall]{acmart}
        begin{document}
        begin{table}[!t]
        renewcommand{arraystretch}{1.3}
        caption{Some text}
        centering
        begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
        hline
        textbf{Some text} & textbf{Some text} & textbf{Some text} \
        hline

        textbf{Some text:}
        begin{itemize}
        item Some text
        item Some text
        item Some text
        end{itemize}
        vspace*{-baselineskip}
        &
        43%{$newline$}
        checkmark{$newline$}
        -{$newline$}
        -
        &
        57%{$newline$}
        -{$newline$}
        checkmark{$newline$}
        checkmark
        \
        hline
        textbf{Some text}
        begin{itemize}
        item Some text
        item Some text
        item Some text
        item Some text
        end{itemize}
        vspace*{-baselineskip}
        &
        25%{$newline$}
        checkmark{$newline$}
        -{$newline$}
        -{$newline$}
        -
        &
        75%{$newline$}
        -{$newline$}
        checkmark{$newline$}
        checkmark{$newline$}
        checkmark
        \
        hline
        textbf{Some text:}
        begin{itemize}
        item Some text
        item Some text
        end{itemize}
        vspace*{-baselineskip}
        &
        0%{$newline$}
        -{$newline$}
        -
        &
        100%{$newline$}
        checkmark{$newline$}
        checkmark
        \
        hline
        end{tabular}
        label{table1}
        end{table}
        end{document}


        enter image description here





        Here is a proposal how to format this table in a bit more appealing manner.



        documentclass[acmsmall]{acmart}
        usepackage{booktabs}
        begin{document}
        begin{table}[!t]
        caption{Some text}
        centering
        begin{tabular}{@{}lcc@{}}
        toprule
        textbf{Some text} & textbf{Some text} & textbf{Some text} \
        midrule
        textbf{Some text:} & 43% & 57% \
        Some text & checkmark & --- \
        Some text & --- & checkmark \
        Some text & --- & checkmark \
        addlinespace
        textbf{Some text} & 25% & 75% \
        Some text & checkmark & --- \
        Some text & --- & checkmark \
        Some text & --- & checkmark \
        Some text & --- & checkmark \
        addlinespace
        textbf{Some text:} & 0% & 100% \
        Some text & --- & checkmark \
        Some text & --- & checkmark \
        bottomrule
        end{tabular}
        label{table1}
        end{table}
        end{document}


        enter image description here






        share|improve this answer















        Put vspace*{-baselineskip} after each itemize and remove the last {$newline$} of each column.



        documentclass[acmsmall]{acmart}
        begin{document}
        begin{table}[!t]
        renewcommand{arraystretch}{1.3}
        caption{Some text}
        centering
        begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
        hline
        textbf{Some text} & textbf{Some text} & textbf{Some text} \
        hline

        textbf{Some text:}
        begin{itemize}
        item Some text
        item Some text
        item Some text
        end{itemize}
        vspace*{-baselineskip}
        &
        43%{$newline$}
        checkmark{$newline$}
        -{$newline$}
        -
        &
        57%{$newline$}
        -{$newline$}
        checkmark{$newline$}
        checkmark
        \
        hline
        textbf{Some text}
        begin{itemize}
        item Some text
        item Some text
        item Some text
        item Some text
        end{itemize}
        vspace*{-baselineskip}
        &
        25%{$newline$}
        checkmark{$newline$}
        -{$newline$}
        -{$newline$}
        -
        &
        75%{$newline$}
        -{$newline$}
        checkmark{$newline$}
        checkmark{$newline$}
        checkmark
        \
        hline
        textbf{Some text:}
        begin{itemize}
        item Some text
        item Some text
        end{itemize}
        vspace*{-baselineskip}
        &
        0%{$newline$}
        -{$newline$}
        -
        &
        100%{$newline$}
        checkmark{$newline$}
        checkmark
        \
        hline
        end{tabular}
        label{table1}
        end{table}
        end{document}


        enter image description here





        Here is a proposal how to format this table in a bit more appealing manner.



        documentclass[acmsmall]{acmart}
        usepackage{booktabs}
        begin{document}
        begin{table}[!t]
        caption{Some text}
        centering
        begin{tabular}{@{}lcc@{}}
        toprule
        textbf{Some text} & textbf{Some text} & textbf{Some text} \
        midrule
        textbf{Some text:} & 43% & 57% \
        Some text & checkmark & --- \
        Some text & --- & checkmark \
        Some text & --- & checkmark \
        addlinespace
        textbf{Some text} & 25% & 75% \
        Some text & checkmark & --- \
        Some text & --- & checkmark \
        Some text & --- & checkmark \
        Some text & --- & checkmark \
        addlinespace
        textbf{Some text:} & 0% & 100% \
        Some text & --- & checkmark \
        Some text & --- & checkmark \
        bottomrule
        end{tabular}
        label{table1}
        end{table}
        end{document}


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 1 hour ago

























        answered 1 hour ago









        Henri MenkeHenri Menke

        71k8157264




        71k8157264























            4














            Two suggestions:




            • Encase each itemize environment in a top-aligned minipage environment


            • omit the final {$newline$} directive in each group



            Optional: remove the instruction renewcommand{arraystretch}{1.3} and add setlengthextrarowheight{2pt}.



            enter image description here



            documentclass[acmsmall]{acmart}
            usepackage{array}
            %usepackage{enumitem}
            %setlist[itemize]{nosep}
            begin{document}
            begin{table}[!t]
            %renewcommand{arraystretch}{1.3}
            setlengthextrarowheight{2pt}
            caption{Some text}
            label{table1}

            centering
            begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
            hline
            textbf{Some text} & textbf{Some text} & textbf{Some text}
            \ hline

            %% 1st group
            textbf{Some text:} & 43% & 57% \
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            checkmark{$newline$}
            --{$newline$}
            --%{$newline$}
            &
            --{$newline$}
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline

            %% 2nd group
            textbf{Some text} & 25% & 75%\
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            checkmark{$newline$}
            --{$newline$}
            --{$newline$}
            --%{$newline$}
            &
            --{$newline$}
            checkmark{$newline$}
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline

            %% 3rd group
            textbf{Some text:} & 0% & 100% \
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            --{$newline$}
            --%{$newline$}
            &
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline
            end{tabular}
            end{table}
            end{document}





            share|improve this answer
























            • Nice answer. I really like it. Thank you. :)

              – Emi
              1 hour ago
















            4














            Two suggestions:




            • Encase each itemize environment in a top-aligned minipage environment


            • omit the final {$newline$} directive in each group



            Optional: remove the instruction renewcommand{arraystretch}{1.3} and add setlengthextrarowheight{2pt}.



            enter image description here



            documentclass[acmsmall]{acmart}
            usepackage{array}
            %usepackage{enumitem}
            %setlist[itemize]{nosep}
            begin{document}
            begin{table}[!t]
            %renewcommand{arraystretch}{1.3}
            setlengthextrarowheight{2pt}
            caption{Some text}
            label{table1}

            centering
            begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
            hline
            textbf{Some text} & textbf{Some text} & textbf{Some text}
            \ hline

            %% 1st group
            textbf{Some text:} & 43% & 57% \
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            checkmark{$newline$}
            --{$newline$}
            --%{$newline$}
            &
            --{$newline$}
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline

            %% 2nd group
            textbf{Some text} & 25% & 75%\
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            checkmark{$newline$}
            --{$newline$}
            --{$newline$}
            --%{$newline$}
            &
            --{$newline$}
            checkmark{$newline$}
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline

            %% 3rd group
            textbf{Some text:} & 0% & 100% \
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            --{$newline$}
            --%{$newline$}
            &
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline
            end{tabular}
            end{table}
            end{document}





            share|improve this answer
























            • Nice answer. I really like it. Thank you. :)

              – Emi
              1 hour ago














            4












            4








            4







            Two suggestions:




            • Encase each itemize environment in a top-aligned minipage environment


            • omit the final {$newline$} directive in each group



            Optional: remove the instruction renewcommand{arraystretch}{1.3} and add setlengthextrarowheight{2pt}.



            enter image description here



            documentclass[acmsmall]{acmart}
            usepackage{array}
            %usepackage{enumitem}
            %setlist[itemize]{nosep}
            begin{document}
            begin{table}[!t]
            %renewcommand{arraystretch}{1.3}
            setlengthextrarowheight{2pt}
            caption{Some text}
            label{table1}

            centering
            begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
            hline
            textbf{Some text} & textbf{Some text} & textbf{Some text}
            \ hline

            %% 1st group
            textbf{Some text:} & 43% & 57% \
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            checkmark{$newline$}
            --{$newline$}
            --%{$newline$}
            &
            --{$newline$}
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline

            %% 2nd group
            textbf{Some text} & 25% & 75%\
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            checkmark{$newline$}
            --{$newline$}
            --{$newline$}
            --%{$newline$}
            &
            --{$newline$}
            checkmark{$newline$}
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline

            %% 3rd group
            textbf{Some text:} & 0% & 100% \
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            --{$newline$}
            --%{$newline$}
            &
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline
            end{tabular}
            end{table}
            end{document}





            share|improve this answer













            Two suggestions:




            • Encase each itemize environment in a top-aligned minipage environment


            • omit the final {$newline$} directive in each group



            Optional: remove the instruction renewcommand{arraystretch}{1.3} and add setlengthextrarowheight{2pt}.



            enter image description here



            documentclass[acmsmall]{acmart}
            usepackage{array}
            %usepackage{enumitem}
            %setlist[itemize]{nosep}
            begin{document}
            begin{table}[!t]
            %renewcommand{arraystretch}{1.3}
            setlengthextrarowheight{2pt}
            caption{Some text}
            label{table1}

            centering
            begin{tabular}{|p{8.3cm}|p{1.7cm}|p{1.7cm}|}
            hline
            textbf{Some text} & textbf{Some text} & textbf{Some text}
            \ hline

            %% 1st group
            textbf{Some text:} & 43% & 57% \
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            checkmark{$newline$}
            --{$newline$}
            --%{$newline$}
            &
            --{$newline$}
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline

            %% 2nd group
            textbf{Some text} & 25% & 75%\
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            checkmark{$newline$}
            --{$newline$}
            --{$newline$}
            --%{$newline$}
            &
            --{$newline$}
            checkmark{$newline$}
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline

            %% 3rd group
            textbf{Some text:} & 0% & 100% \
            begin{minipage}[t]{hsize}
            begin{itemize}
            item Some text
            item Some text
            end{itemize}
            end{minipage}
            &
            --{$newline$}
            --%{$newline$}
            &
            checkmark{$newline$}
            checkmark%{$newline$}
            \ hline
            end{tabular}
            end{table}
            end{document}






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 1 hour ago









            MicoMico

            275k30372760




            275k30372760













            • Nice answer. I really like it. Thank you. :)

              – Emi
              1 hour ago



















            • Nice answer. I really like it. Thank you. :)

              – Emi
              1 hour ago

















            Nice answer. I really like it. Thank you. :)

            – Emi
            1 hour ago





            Nice answer. I really like it. Thank you. :)

            – Emi
            1 hour ago










            Emi is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Emi is a new contributor. Be nice, and check out our Code of Conduct.













            Emi is a new contributor. Be nice, and check out our Code of Conduct.












            Emi is a new contributor. Be nice, and check out our Code of Conduct.
















            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%2f470476%2fhow-to-remove-additional-spaces-in-table-in-latex%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

            Plaza Victoria

            Puebla de Zaragoza

            Musa