summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/25-04-29.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/25-04-29.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/pstricks-examples/25-04-29.ltx49
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/25-04-29.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/25-04-29.ltx
new file mode 100644
index 00000000000..7a164fca389
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pstricks-examples/25-04-29.ltx
@@ -0,0 +1,49 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%%
+%% Copyright (C) 2010 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}