1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
%%
%% Ein Beispiel der DANTE-Edition
%%
%% 7. Auflage
%%
%% Beispiel 32-04-29 auf Seite 785.
%%
%% Copyright (C) 2016 Herbert Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%
%%
%% ====
% Show page(s) 1
%%
%%
\documentclass[a3paper]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
\usepackage{geometry}
%StartShownPreambleCommands
\usepackage{pst-gantt}
\definecolor{LightCyan} {rgb}{0.88,1.,1.}
\definecolor{Orange} {rgb}{1.,0.65,0.}
\definecolor{PaleGreen} {rgb}{0.6,0.98,0.6}
\definecolor{Pink} {rgb}{1.,0.75,0.8}
\psset{gradmidpoint=0,fillstyle=gradient,gradbegin=LightCyan,gradend=white}
\newpsstyle{TaskStyleA}{gradbegin=cyan,gradend=blue}
\newpsstyle{TaskStyleB}{gradbegin=red,gradend=Pink}
\newpsstyle{TaskStyleC}{gradbegin=yellow,gradend=Orange}
\newpsstyle{TaskStyleD}{gradbegin=green,gradend=PaleGreen}
%StopShownPreambleCommands
\begin{document}
\begin{PstGanttChart}[yunit=2.5,xunit=3.5,ChartUnitIntervalName=Woche,
ChartUnitBasicIntervalName=Tag,TaskUnitType=Tag,
TaskOutsideLabelMaxSize=14,ChartShowIntervals]{8}{43}
\psset{gradangle=90,TaskStyle=TaskStyleA}
\PstGanttTask[TaskOutsideLabel={Studie}]{0}{10}
\PstGanttTask[TaskOutsideLabel={Lesen}]{6}{7}
\PstGanttTask[TaskOutsideLabel={Korrekturen}]{14}{2}
\PstGanttTask[TaskOutsideLabel={Vorlage},TaskStyle=TaskStyleB]{17}{1}
\psset{TaskStyle=TaskStyleC}
\PstGanttTask[TaskOutsideLabel={Anwendung}]{25}{14}
\PstGanttTask[TaskOutsideLabel={Tests}]{35}{6}
\PstGanttTask[TaskOutsideLabel={Verifikation}]{39}{3}
\PstGanttTask[TaskOutsideLabel={Gesetz},TaskStyle=TaskStyleD]{42}{1}
\end{PstGanttChart}
\end{document}
|