SHARE
TWEET

Latex table example #4

Riinu Nov 4th, 2014 157 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \documentclass{article}
  2. \usepackage{booktabs}
  3. \usepackage{multirow}
  4.  
  5. \begin{document}
  6.  
  7. \begin{table}[h]
  8. \caption{My caption}
  9. \label{my-label}
  10.  
  11. \begin{tabular}{@{}lcp{2cm}cp{2cm}@{}}
  12. \toprule
  13.   & Column & Column                    & Column                   & Column \\ \midrule
  14. Row & 1      & 2                         & 3                        & $k=a+b+c+d+e+f+g$      \\
  15. Row & 5      & \multicolumn{2}{c}{\multirow{2}{*}{Because why not}} & 8      \\
  16. Row & 9      & \multicolumn{2}{c}{}                                 & 12     \\
  17. Row & 13     & $k=a+b+c+d+e$                        & 15                       & 16     \\ \bottomrule
  18. \end{tabular}
  19.  
  20. \end{table}
  21.  
  22. \end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top