Advertisement
dvleo

table with vertical spacing

Aug 27th, 2022 (edited)
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.52 KB | Source Code | 0 0
  1. \documentclass[letterpaper]{article}
  2. \usepackage{helvet}
  3. \renewcommand{\familydefault}{\sfdefault}
  4.  
  5. \newcommand\T{\rule{0pt}{2.6ex}}       % Top strut
  6. \newcommand\B{\rule[-1.2ex]{0pt}{0pt}} % Bottom strut
  7.  
  8. \begin{document}  
  9. \begin{tabular}{ p{8em}  r  r  l }  
  10. \hline      
  11.          & Total     & Average   & Unit \T\B  \\    \hline      
  12. Area 1    & 419773    &   9.15    &  m\textsuperscript{2} \T \\      
  13. Volume 1  & 0         &      0    &  m\textsuperscript{3} \B \\    \hline  
  14. \end{tabular}
  15.  
  16. \end{document}
Tags: LaTeX table
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement