summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_7_de/32-04-28.ltx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/PSTricks_7_de/32-04-28.ltx
Initial commit
Diffstat (limited to 'info/examples/PSTricks_7_de/32-04-28.ltx')
-rw-r--r--info/examples/PSTricks_7_de/32-04-28.ltx51
1 files changed, 51 insertions, 0 deletions
diff --git a/info/examples/PSTricks_7_de/32-04-28.ltx b/info/examples/PSTricks_7_de/32-04-28.ltx
new file mode 100644
index 0000000000..58d52d4a67
--- /dev/null
+++ b/info/examples/PSTricks_7_de/32-04-28.ltx
@@ -0,0 +1,51 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% 7. Auflage
+%%
+%% Beispiel 32-04-28 auf Seite 789.
+%%
+%% 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}