You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 line
2.8KB

  1. %&tex
  2. \documentclass{standalone}
  3. \usepackage{tikz,array}
  4. \usepackage{siltex}
  5. \usetikzlibrary{calc,positioning,patterns,math}
  6. % Compliant PDF
  7. \usepackage[a-3u]{pdfx}
  8. \newcommand{\tikzmark}[1]{\tikz[remember picture,overlay]\coordinate (#1);}
  9. \newcolumntype{V}[1]{@{\hspace{\tabcolsep}}c@{\hspace{\tabcolsep}\tikzmark{#1}}}
  10. \newcolumntype{T}[1]{@{\hspace{\tabcolsep}}m{0.3cm}@{\hspace{\tabcolsep}\tikzmark{#1}}}
  11. \newcommand{\xd}{\tikz{\fill[gray] (0,0) circle (3pt)}}
  12. \newcommand{\od}{\tikz{\draw[gray] (0,0) circle (3pt)}}
  13. \begin{document}
  14. \begin{tikzpicture}[remember picture]
  15. \def\th{3.4}
  16. \def\ct(#1,#2,#3){%
  17. \draw (mytable.north-|#1) --++ (60:\th);
  18. \node[rotate=60,anchor=west] at ($(mytable.north-|#1)!0.5!(mytable.north-|#2)$) {#3};
  19. }
  20. \node[inner xsep=-\pgflinewidth,inner ysep=-\pgflinewidth, anchor=north west] at (0,0) (mytable){%
  21. \begin{tabular}{|V{a}| T{b}| T{c}| T{d}| T{e}| T{f}| T{g}| T{h}| T{i}| T{j}| T{k}|}
  22. \hline
  23. % & Small rectangle & Perimiter & Cable bot Speed & Tripple Chars & Tool Change & Repeatability & Linearity & Writing & Wiping \\ \hline
  24. 1 & &\xd& & & & &\xd&\xd& & \\ \hline
  25. 2 & &\xd& & & & &\xd&\xd& & \\ \hline
  26. 3 &\xd& & &\xd& &\xd&\xd&\xd& & \\ \hline
  27. 4 & & & &\xd& &\xd& &\xd& & \\ \hline
  28. 5 & & & & &\od& & &\od&\od& \\ \hline
  29. 6 & &\xd& & & & & &\xd& & \\ \hline
  30. 7 &\xd& &\xd& & & & &\xd& & \\ \hline
  31. 8 & & & & & & & & & &\xd\\ \hline
  32. 9 & & &\xd& & &\xd& & & & \\ \hline
  33. 10 & & & & & & & & &\xd& \\ \hline
  34. 11 & &\xd& & & &\xd& &\xd&\xd& \\ \hline
  35. 12 &\od&\od&\od&\od&\od&\od&\od&\xd&\xd& \\ \hline
  36. 13 &\xd& & &\xd& & & &\xd& & \\ \hline
  37. 14 &\xd& &\xd&\xd& & & &\xd& & \\ \hline
  38. 15 & & &\xd& & & & &\xd& & \\ \hline
  39. 16 & & &\xd& & & & &\xd& & \\ \hline
  40. 17 & & & & &\xd& & & & & \\ \hline
  41. \end{tabular}
  42. };
  43. \draw (mytable.north east) --++ (60:\th);
  44. \draw (mytable.north west) --++ (60:\th);
  45. \draw (mytable.north east) ++ (60:\th) --([shift={(60:\th)}]mytable.north west);
  46. \ct(mytable.north west,a,System Requirements)
  47. \ct(a,b,1. Small rectangle)
  48. \ct(b,c,2. Perimiter)
  49. \ct(c,d,3. Cable bot speed)
  50. \ct(d,e,4. Triple Chars)
  51. \ct(e,f,5. Tool Change)
  52. \ct(f,g,6. Repeatability)
  53. \ct(g,h,7. Linearity)
  54. \ct(h,i,8. Writing)
  55. \ct(i,j,9. Erasing)
  56. \ct(j,k,10. Complexity)
  57. \end{tikzpicture}
  58. \end{document}