summaryrefslogtreecommitdiff
path: root/macros/context/contrib/context-gantt/doc/context/third/gantt/examples/gantt-3.tex
blob: b8042af5b5fec9e5bb357ed16954274b65248094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
\usemodule[gantt]
%\usemodule[gantt][alternative=mp]
%\usemodule[gantt][alternative=tikz]
\setuppagenumbering[location=]

\starttext
  \startgantt{4}{12}
    \startganttitle
      \numtitle{2010}{1}{2012}{4}
    \stopganttitle
    \startganttitle
      \numtitle{1}{1}{4}{1}
      \numtitle{1}{1}{4}{1}
      \numtitle{1}{1}{4}{1}
    \stopganttitle
    \ganttbar{Task 1}{0}{2}
    \ganttbarcon{a consecutive task}{2}{4}
  \stopgantt
\stoptext