1

I'm not happy with the look of this table:

enter image description here

I think the dashes in the entries in the first column should align vertically. I don't like the extra space after the integer percentages in the second column, but don't want to make them all .0.

I'm open to aesthetic as well as technical fixes. Perhaps the heading on the second column should be Marginal Tax Rate (\%) .

MWE:

\documentclass{article}

\usepackage{booktabs}
\usepackage{siunitx}

\begin{document}
\begin{tabular}{cS[table-format=2.1]}
\toprule
Bracket & {Marginal Tax Rate} \\ 
\midrule
\$0  -  \$9,075 & 10\% \\
\$9,075  -  \$36,900 & 15\% \\
\$36,900  -  \$89,350  & 25\% \\
\$89,350  -  \$186,350 & 28\% \\
\$186,350  -  \$405,100  & 33\% \\
\$405,100 - \$406,750 & 35\%  \\
\$406,750+ & 39.6\%  \\
\bottomrule
\end{tabular}

\end{document}
1
  • 2
    the "dashes" in the first column should actually be dashes, --; they are now hyphens. the requested alignment in the first column might be addressed by a nested tabular, aligned just after the last digit of the first value. May 1 '15 at 15:41
6

enter image description here

\documentclass{article}

\usepackage{booktabs}
\usepackage{siunitx}

\begin{document}
\begin{tabular}{r@{--}lS[table-format=2.1]}
\toprule
\multicolumn{2}{c}{Bracket (\$)} & {Marginal Tax Rate (\%)} \\ 
\midrule
0  &  9,075 & 10 \\
9,075  &  36,900 & 15 \\
36,900  &  89,350  & 25 \\
89,350  &  186,350 & 28 \\
186,350  &  405,100  & 33 \\
405,100 & 406,750 & 35  \\
\multicolumn{1}{r@{+}}{406,750} && 39.6  \\
\bottomrule
\end{tabular}

\end{document}

Or possibly with some extra space around the -- according to taste.

5
  • 1
    I would have gone for a \multicolumn{2}[c}{406,750+) myself. May 1 '15 at 15:44
  • 1
    @JohnKormylo I considered that but decided that logically that value is the start of a range with unspecified upper bound, so it belonged aligned with range starts even though it might look more balanced centred. May 1 '15 at 15:53
  • I went with centered on the last line, for looks. As start of a new range perhaps it should be 406,750 -- <blank> . May 1 '15 at 16:00
  • @David Carlisle: I think the table would look nicer if the second column head were two-lined.
    – Bernard
    May 1 '15 at 16:02
  • @Bernard probably both, so the units were both on the same row, but .... May 1 '15 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.