Martin Thoma 12 лет назад
Родитель
Сommit
a40c94463e
2 измененных файлов с 20 добавлено и 11 удалено
  1. 19 10
      documents/gantt-pgf/gantt-pgf.tex
  2. 1 1
      tikz/right-triangle/right-triangle.tex

+ 19 - 10
documents/gantt-pgf/gantt-pgf.tex

@@ -5,16 +5,25 @@
 
 \begin{document}
 \begin{preview}
-    \begin{ganttchart}{12}
-    \gantttitle{2012}{12} \\
-    \gantttitlelist{1,...,12}{1} \\
-    \ganttgroup{Group 1}{1}{7} \\
-    \ganttbar{Task 1}{1}{2} \\
-    \ganttlinkedbar{Task 2}{3}{7} \ganttnewline
-    \ganttmilestone{Milestone}{7} \ganttnewline
-    \ganttbar{Final Task}{8}{12}
-    \ganttlink{elem2}{elem3}
-    \ganttlink{elem3}{elem4}
+    \begin{ganttchart}[x unit=1.4cm, y unit title=.7cm, y unit chart=1.5cm]{8}
+    \gantttitle{2012}{3}
+    \gantttitle{2013}{5}\\
+    \gantttitlelist{50, 51}{1}
+    \gantttitle{Christmas}{2}
+    \gantttitlelist{2, ..., 5}{1}\\
+
+    \ganttbar[name=b1]{compile ViMuDat}{1}{1.5} \\
+    \ganttbar[name=b2,inline=true]{create stubs}{2.5}{4.5} \\
+    \ganttbar{implement metadata}{5.5}{5.5}\\
+    \ganttmilestone{metadata works}{5.5}\\
+    \ganttgroup{Upload}{5}{6.5}\\
+    \ganttbar{implement Matlab controler}{4}{2}\\
+    \ganttbar{implement file parser}{4}{1.5}\\
+    \ganttbar{implement add record}{5.5}{1}\\
+    \ganttbar{implement segmentation}{5.5}{1}\\
+    \ganttbar{implement registration}{5.5}{1}\\
+    \ganttbar{implement classification}{5.5}{1}\\
+    \ganttmilestone{implementation finished}{7}\\
     \end{ganttchart}
 \end{preview}
 \end{document}

+ 1 - 1
tikz/right-triangle/right-triangle.tex

@@ -26,7 +26,7 @@
     \node at (C)[anchor=south] {C};
 
     % Draw edge text
-    \node (c) at ($(A)!0.50!(B)$) [below,font=\tiny] {Hypothenuse};
+    \node (c) at ($(A)!0.50!(B)$) [below,font=\tiny] {Hy­po­te­nu­se};
     \node (b) at ($(A)!0.50!(C)$) [above,rotate=\ALPHA,font=\tiny] 
                 {Ankathete zu Winkel $\alpha$};
     \node (a) at ($(B)!0.35!(C)$) [above,rotate={\ALPHA-90},font=\tiny]