Quantcast
Channel: How to make rotated text fit and make a table... more good-looking? - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 2

Answer by Teepeemm for How to make rotated text fit and make a table... more good-looking?

$
0
0

I would recommend transposing the table. By switching from 10 columns to 6, the table becomes narrower. More importantly, it becomes easier to scan down a column and see how the numbers are changing. I'm also a big fan of the booktabs package, which recommends ruthlessly removing lines. Finally, introducing the column types from the siunitx package allows the numbers to align along the decimal point.

\documentclass{article}\usepackage{booktabs}\usepackage{siunitx}\begin{document}\begin{table}    \begin{tabular}{l S[table-format=4.0] S[table-format=4.0] S[table-format=1.3] S[table-format=5.0] S[table-format=1.3]  }\toprule& {Size (MB)} & \multicolumn{2}{c}{Lowest} & \multicolumn{2}{c}{Highest} \\&& {Satoshis} & {Euros} & {Satoshis} & {Euros} \\\midrule    Powerlaw & 100 & 131 & 0.021 & 391 & 0.062 \\\    Model & 500 & 656 & 0.104 & 1954 & 0.309 \\& 1024 & 1344 & 0.212 & 4001 & 0.632 \\& 2048 & 2689 & 0.425 & 8002 & 1.264 \\\addlinespace    Exponential & 100 & 274 & 0.043 & 823 & 0.130 \\    Model & 500 & 1371 & 0.217 & 4113 & 0.650 \\& 1024 & 2808 & 0.444 & 8423 & 1.331 \\& 2048 & 5615 & 0.887 & 16847 & 2.662 \\\bottomrule    \end{tabular}\end{table}\end{document}

code output


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>