commit aa77381a66b54f874b4b023c577ef9f4348a5065 Author: J. Fernando Sánchez Date: Thu May 4 09:36:34 2017 +0200 diff --git a/example.tex b/example.tex new file mode 100644 index 0000000..9b301ae --- /dev/null +++ b/example.tex @@ -0,0 +1,22 @@ +\usepackage{adjustbox} +\usepackage{array} + +\newcolumntype{R}[2]{% + >{\adjustbox{angle=#1,lap=\width-(#2)}\bgroup}% + l% + <{\egroup}% +} +\newcommand*\rot{\multicolumn{1}{R{45}{1em}}}% no optional argument here, please! + +\begin{document} + +\begin{tabular}{r|ccc} +& +\rot{Property 1} & +\rot{Property 2} & +\rot{Property 3} + \\ \hline +System 1 & & & X \\ +System 2 & X & X & X \\ +System 3 & X & & X \\ \hline +\end{tabular}