Advertisement
Riinu

Latex table example #2

Sep 4th, 2014
1,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.66 KB | None | 0 0
  1. \documentclass{article}
  2. \usepackage{booktabs}
  3. \usepackage{multirow}
  4.  
  5. \begin{document}
  6.  
  7. \begin{table}[h]
  8. \centering
  9. \caption{My caption}
  10. \label{my-label}
  11.  
  12. \begin{tabular}{@{}lcccc@{}}
  13. \toprule
  14.    & Column & Column                    & Column                   & Column \\ \midrule
  15. Row & 1      & 2                         & 3                        & 4      \\
  16. Row & 5      & \multicolumn{2}{c}{\multirow{2}{*}{Because why not}} & 8      \\
  17. Row & 9      & \multicolumn{2}{c}{}                                 & 12     \\
  18. Row & 13     & 14                        & 15                       & 16     \\ \bottomrule
  19. \end{tabular}
  20.  
  21. \end{table}
  22.  
  23. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement