diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-18 18:22:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-18 18:22:48 +0000 |
commit | d94921c034f3fdf580fd994df4691a4035a94067 (patch) | |
tree | 39e5fc828f266ab156d5873c9eb735acada83894 /Master/texmf-dist/doc/generic/pst-gantt | |
parent | 9ec59a52efe9f9a4e9dbdfb47f893f66e718ab69 (diff) |
new pstricks package pst-gantt (13may09)
git-svn-id: svn://tug.org/texlive/trunk@13210 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-gantt')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-gantt/Changes | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-gantt/README | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.bib | 159 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.pdf | bin | 0 -> 107522 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.tex | 199 |
5 files changed, 382 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-gantt/Changes b/Master/texmf-dist/doc/generic/pst-gantt/Changes new file mode 100644 index 00000000000..c1d33e7d412 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-gantt/Changes @@ -0,0 +1,6 @@ +..... pst-gantt.tex +0.20 2009-05-12 - first CTAN version + + +..... pst-gantt.sty + 2009-05-12 first version diff --git a/Master/texmf-dist/doc/generic/pst-gantt/README b/Master/texmf-dist/doc/generic/pst-gantt/README new file mode 100644 index 00000000000..cd88515bb1a --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-gantt/README @@ -0,0 +1,18 @@ +pst-gantt: plotting Gantt charts + +Save the files pst-gantt.sty|pro|tex in a directory, which is part of your +local TeX tree. The pro file should go into $TEXMF/dvips/pstricks/ +Then do not forget to run texhash to update this tree. +For more information see the documentation of your LATEX distribution +on installing packages into your local TeX system or read the +TeX Frequently Asked Questions: +(http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages). + +pst-func needs pst-plot (pstricks-add) and pstricks, which should +be part of your local TeX installation, otherwise get it from a +CTAN server, f.ex. ftp://ftp.ctan.org + +PSTricks is PostScript Tricks, the documentation cannot be run +with pdftex, use the sequence latex->dvips->ps2pdf. + +%% $Id: README 117 2009-05-13 05:54:00Z herbert $ diff --git a/Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.bib b/Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.bib new file mode 100644 index 00000000000..8894fa5f494 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.bib @@ -0,0 +1,159 @@ +%% -*-bibtex-*- +@STRING{tugboat = {TUGboat} } +@STRING{beiprogramm = {{\TeX}-Beiprogramm} } +@STRING{bretter = {Bretter, die die Welt bedeuten} } +@STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} } +@STRING{editorial = {Editorial} } +@STRING{fremdebuehne = {Von fremden B{\"u}hnen} } +@STRING{fundus = {Aus dem Fundus} } +@STRING{hinterbuehne = {Hinter der B{\"u}hne} } +@STRING{leserbrief = {Leserbrief(e)} } +@STRING{magazin = {Magazin} } +@STRING{rezension = {Rezensionen} } +@STRING{schonimmer = {Was Sie schon immer {\"u}ber {\TeX} wissen wollten \dots} } +@STRING{theaterkasse = {Von der Theaterkasse} } +@STRING{theatertage = {{\TeX}-Theatertage} } + +@Article{ dtk02.2:jackson.voss:plot-funktionen, + author = {Laura E. Jackson and Herbert Vo{\ss}}, + title = {Die {P}lot-{F}unktionen von {\texttt{pst-plot}}}, + journal = dtk, + year = 2002, + volume = {2/02}, + altvolume = 2, + altnumber = 14, + month = jun, + pages = {27--34}, + annote = bretter, + keywords = {}, + abstract = { Im letzten Heft wurden die mathematischen Funktionen von + \PS~im Zusammenhang mit dem {\LaTeX}-Paket + \texttt{pst-plot} zum Zeichnen von Funktionen beschrieben + und durch Beispiele erl{\"a}utert. In diesem Teil werden + die bislang nur erw{\"a}hnten Plot-Funktionen f{\"u}r + externe Daten behandelt. } +} + +@Article{ dtk02.1:voss:mathematischen, + author = {Herbert Vo{\ss}}, + title = {Die mathematischen {F}unktionen von {P}ost{S}cript}, + journal = dtk, + year = 2002, + volume = {1/02}, + altvolume = 1, + altnumber = 14, + month = mar, + pages = {}, + annote = bretter, + keywords = {}, + abstract = { \PS, faktisch genauso alt wie {\TeX}, ist im + Verh{\"a}ltnis dazu allgemein noch weniger bekannt, wenn es + darum geht zu beurteilen, was es denn nun im eigentlichen + Sinne ist. Au{\ss}erdem wird h{\"a}ufig vergessen, dass + sich mit den \PS-Funktionen viele Dinge erledigen lassen, + bei denen sonst auf externe Programme zur{\"u}ckgegriffen + wird. Dies wird im Folgenden f{\"u}r die mathematischen + Funktionen im Zusammenhang mit dem Paket \texttt{pst-plot} + gezeigt. } +} + +@Book{tlgc2, + author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Denis Roegel and Herbert Vo{\ss}}, + title = {The {\LaTeX} {G}raphics {C}ompanion}, + publisher = {{Addison-Wesley Publishing Company}}, + edition = second, + year = {2007}, + address = {Reading, Mass.} +} + + +@Book{voss:chaos, + author = {Herbert Vo{\ss}}, + title = {Chaos und {F}raktale selbst programmieren: von {M}andelbrotmengen + {\"u}ber {F}arbmanipulationen zur perfekten Darstellung}, + publisher = {{Franzis Verlag}}, + year = {1994}, + address = {Poing} +} + +@Article{girou:01:, + author = {Denis Girou}, + title = {Pr\'esentation de {PST}ricks}, + journal = {Cahier {GUT}enberg}, + year = 1994, + volume = {16}, + month = apr, + pages = {21-70} +} + +@Article{girou:02:, + author = {{Timothy van} Zandt and Denis Girou}, + title = {Inside {PST}ricks}, + journal = TUGboat, + year = 1994, + volume = {15}, + month = sep, + pages = {239-246} +} + +@Book{PostScript, + Author = {Kollock, Nikolai G.}, + Title = {Post{S}cript richtig eingesetzt: vom {K}onzept zum + praktischen {E}insatz}, + Publisher = {IWT}, + Address = {Vaterstetten}, + year = 1989, +} + +@Manual{pstricks, + Title = {PSTricks - {\PS} macros for generic {\TeX}}, + Author = {{Timothy van} Zandt}, + Organization = {}, + Address = {\url{http://www.tug.org/application/PSTricks}}, + Note = {}, + year = 1993 +} + +@Manual{pst-plot, + Title = {\texttt{pst-plot}: Plotting two dimensional functions and data}, + Author = {{Timothy van} Zandt}, + Organization = {}, + Address = {\url{CTAN:graphics/pstricks/generic/pst-plot.tex}}, + Note = {}, + year = 1999 +} + +@Manual{multido, + Title = {\texttt{multido.tex} - a loop macro, that supports fixed-point addition}, + Author = {{Timothy van} Zandt}, + Organization = {}, + Address = {\url{CTAN:/graphics/pstricks/generic/multido.tex}}, + Note = {}, + year = 1997 +} + +@Book{PSTricks2, + author = {Herbert Vo\ss}, + title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX}, + edition = {5.}, + publisher = {DANTE -- Lehmanns}, + year = {2008}, + address = {Heidelberg/Hamburg} +} + +@Book{voss:math, + author = {Herbert Vo\ss}, + title = {\LaTeX\ in {M}athematik und {N}aturwissenschaften}, + publisher = {{Franzis-Verlag}}, + year = {2006}, + address = {Poing} +} + +@Manual{wolfram, + author = {Eric Weisstein}, + title = {Wolfram MathWorld}, + publisher = {{Wolfram}}, + year = {2007}, + address = {\url{http://mathworld.wolfram.com}} +} + diff --git a/Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.pdf b/Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.pdf Binary files differnew file mode 100644 index 00000000000..88bc952e2fc --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.pdf diff --git a/Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.tex b/Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.tex new file mode 100644 index 00000000000..c5c64403b4c --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-gantt/pst-gantt-doc.tex @@ -0,0 +1,199 @@ +%% $Id: pst-func-doc.tex 86 2009-01-29 10:34:00Z herbert $ +\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings + headexclude,footexclude,oneside]{pst-doc} +\usepackage[utf8]{inputenc} +\usepackage{pst-gantt} +\let\pstGanntFV\fileversion +\usepackage{pstricks-add} +\usepackage{lscape} +\lstset{pos=t,wide=true,language=PSTricks, + morekeywords={},basicstyle=\footnotesize\ttfamily} +% +\begin{document} + +\title{\texttt{pst-gannt}} +\subtitle{Gannt charts; v.\pstGanntFV} +\author{Denis Girou\\Herbert Vo\ss} +\docauthor{Herbert Vo\ss} +\date{\today} +\maketitle + +\tableofcontents + +\clearpage + +\begin{abstract} +\noindent +\LPack{pst-gannt} loads by default the following packages: \LPack{pst-node}, +\LPack{pst-grad}, \LPack{pst-xkey}, and, of course \LPack{pstricks}. +All should be already part of your local \TeX\ installation. If not, or in case +of having older versions, go to \url{http://www.CTAN.org/} and load the newest version. + +{\itshape If \LPack{pstricks-add} is loaded together with the package \LPack{pst-func} then the \Lkeyword{InsideArrow} + of the \Lcs{psbezier} macro doesn't work!} + +\vfill\noindent +%Thanks to: \\ +%and last but not least \url{http://mathworld.wolfram.com} + +\end{abstract} + + + +\begin{LTXexample} +\newpsstyle{Important}{fillstyle=solid,fillcolor=red} +\newpsstyle{NotImportant}{fillstyle=vlines} +\begin{PstGanttChart}{5}{7} +\PstGanttTask{0}{3} +\PstGanttTask{2}{1} +\PstGanttTask[TaskStyle=Important, + TaskInsideLabel=Important]{2}{5} +\PstGanttTask[TaskStyle=NotImportant]{4}{2} +\PstGanttTask{5}{2} +\end{PstGanttChart} +\end{LTXexample} + +% Example 2 +% + +\begin{LTXexample} +\newpsstyle{Important}{fillstyle=solid,fillcolor=red} +\newpsstyle{NotImportant}{fillstyle=vlines} +\begin{PstGanttChart}[yunit=2]{5}{7} +\PstGanttTask{0}{3} +\PstGanttTask{2}{1} +\PstGanttTask[TaskStyle=Important,% + TaskInsideLabel=Important]{2}{5} +\PstGanttTask[TaskStyle=NotImportant]{4}{2} +\PstGanttTask{5}{2} +\end{PstGanttChart} +\end{LTXexample} + +\vspace{1cm} +% +% Example 3 +% + +\begin{LTXexample} +\newpsstyle{Important}{fillstyle=solid,fillcolor=red} +\newpsstyle{NotImportant}{fillstyle=vlines} +\begin{PstGanttChart}[unit=2,TaskOutsideLabelMaxSize=1, + ChartShowIntervals]{5}{7} +\PstGanttTask[TaskOutsideLabel={Task 1}]{0}{3} +\PstGanttTask[TaskOutsideLabel={Task 2},TaskUnitType=Day] + {15}{3} % 3 days starting at day 15 +\PstGanttTask[TaskStyle=Important,TaskOutsideLabel={Task 3}, + TaskInsideLabel={\Large\textcolor{white}{% + \textbf{Important}}}]{2}{5} +\PstGanttTask[TaskStyle=NotImportant, + TaskOutsideLabel={Task 4}]{4}{2} +\PstGanttTask[TaskOutsideLabel={Task 5}]{5}{2} +\end{PstGanttChart} +\end{LTXexample} + + +% +% Example 4 +% +\begin{LTXexample} +\begin{PstGanttChart}[yunit=2,ChartUnitIntervalName=Month, + TaskUnitIntervalValue=30,TaskUnitType=Month, + ChartShowIntervals]{3}{4} + \PstGanttTask[TaskInsideLabel={Task 1}]{0}{1} + \PstGanttTask[TaskInsideLabel={Task 2},TaskUnitType=Day] + {24}{40} % 40 days starting at day 24 + \PstGanttTask[TaskInsideLabel={Task 3}]{2}{2} +\end{PstGanttChart} +\end{LTXexample} + +% +% Example 5 +% +\begin{LTXexample} +\begin{PstGanttChart}[yunit=1.5,ChartUnitIntervalName=Year, + ChartUnitBasicIntervalName=Month, + TaskUnitIntervalValue=12,TaskUnitType=Year, + ChartShowIntervals]{4}{4} + \PstGanttTask[TaskInsideLabel={Task 1}]{0}{1} + \PstGanttTask[TaskInsideLabel={Task 2},TaskUnitType=Month] + {6}{24} % 24 months starting at month 6 + \PstGanttTask[TaskInsideLabel={Task 3}]{2}{2} + \PstGanttTask[TaskInsideLabel={Task 4}]{3}{1} +\end{PstGanttChart} +\end{LTXexample} + + + + +\begin{landscape} +\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} + +\begin{PstGanttChart}[yunit=2.5,xunit=3.5,ChartUnitIntervalName=Semaine, + ChartUnitBasicIntervalName=Jour,TaskUnitType=Jour, + TaskOutsideLabelMaxSize=14,ChartShowIntervals]{8}{43} + \psset{gradangle=90,TaskStyle=TaskStyleA} + \PstGanttTask[TaskOutsideLabel={\'Etude}]{0}{10} + \PstGanttTask[TaskOutsideLabel={R\'edaction dossier}]{6}{7} + \PstGanttTask[TaskOutsideLabel={Relecture et corrections}]{14}{2} + \PstGanttTask[TaskOutsideLabel={Soumission},TaskStyle=TaskStyleB]{17}{1} + \psset{TaskStyle=TaskStyleC} + \PstGanttTask[TaskOutsideLabel={R\'ealisation}]{25}{14} + \PstGanttTask[TaskOutsideLabel={Tests}]{35}{6} + \PstGanttTask[TaskOutsideLabel={V\'erification}]{39}{3} + \PstGanttTask[TaskOutsideLabel={Recette},TaskStyle=TaskStyleD]{42}{1} +\end{PstGanttChart} +\end{landscape} + +\begin{lstlisting} +\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} + +\begin{PstGanttChart}[yunit=2.5,xunit=3.5,ChartUnitIntervalName=Semaine, + ChartUnitBasicIntervalName=Jour,TaskUnitType=Jour, + TaskOutsideLabelMaxSize=14,ChartShowIntervals]{8}{43} + \psset{gradangle=90,TaskStyle=TaskStyleA} + \PstGanttTask[TaskOutsideLabel={\'Etude}]{0}{10} + \PstGanttTask[TaskOutsideLabel={R\'edaction dossier}]{6}{7} + \PstGanttTask[TaskOutsideLabel={Relecture et corrections}]{14}{2} + \PstGanttTask[TaskOutsideLabel={Soumission},TaskStyle=TaskStyleB]{17}{1} + \psset{TaskStyle=TaskStyleC} + \PstGanttTask[TaskOutsideLabel={R\'ealisation}]{25}{14} + \PstGanttTask[TaskOutsideLabel={Tests}]{35}{6} + \PstGanttTask[TaskOutsideLabel={V\'erification}]{39}{3} + \PstGanttTask[TaskOutsideLabel={Recette},TaskStyle=TaskStyleD]{42}{1} +\end{PstGanttChart} +\end{lstlisting} + +\section{List of all optional arguments for \texttt{pst-gantt}} + +\xkvview{family=pst-gantt,columns={key,type,default}} + +\bgroup +\raggedright +\nocite{*} +\bibliographystyle{plain} +\bibliography{pst-gantt-doc} +\egroup + +\printindex + + + +\end{document} + + |