diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-news15.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news15.tex | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news15.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news15.tex new file mode 100644 index 00000000000..c0a058f3b1f --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news15.tex @@ -0,0 +1,70 @@ +%% $Id: pst-news13.tex 856 2013-12-09 10:34:40Z herbert $ +\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings + headexclude,footexclude,oneside]{pst-doc} +\listfiles +\let\Lfile\LFile +\usepackage[utf8]{inputenc} +\usepackage{pst-node} +\let\pstnodeFV\fileversion +\let\pstnodeFD\filedate +\usepackage{pst-solides3d} +\usepackage{xkvview} +\renewcommand\bgImage{\psscalebox{15}{\color{blue!20}\the\year}} +\def\textat{\char064} +\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={}}, + escapechar=?} +\begin{document} + +%\psset{PstDebug=1} +\title{\texttt{News -- \the\year}\\ \Large new macros and bugfixes for the +basic package \nxLFile{pstricks}} +\author{Herbert Voß} +\date{\today} + +\maketitle + +\clearpage +\tableofcontents + +\clearpage +\part{\texttt{pstricks} -- package} + +%-------------------------------------------------------------------------------------- +%\section{\texttt{pstricks.sty}} +%-------------------------------------------------------------------------------------- + + +%-------------------------------------------------------------------------------------- +\section{\texttt{pstricks.tex} (\pstricksFV -- \pstricksFD)} +%-------------------------------------------------------------------------------------- +\subsection{PostScript code} +Additionally to the macro \Lcs{pstVerb} there are now the keywords +\Lkeyword{precode} and \Lkeyword{postscode} which can be used by other +packages to paste PostScript code before and after the macros. + +\begin{LTXexample}[pos=t] +\psset{viewpoint=40 35 10 rtp2xyz,Decran=40,lightsrc=viewpoint,unit=0.5} +\begin{pspicture}(-6,-6)(6,6) +\defFunction{cercle1}(t) + {4 t cos mul 2 sub rZ cos mul 4 t sin mul rZ sin mul add} % + {4 t cos mul 2 sub rZ sin mul neg 4 t sin mul rZ cos mul add}% + {4 t sin mul}% +\psforeach{\iA}{0,20,..,360}{% + \psSolid[object=courbe, + precode=/rZ \iA\space def, + r=0,range=0 360,resolution=360,function=cercle1]} +\end{pspicture} +\end{LTXexample} + + +\clearpage +\nocite{*} +\bibliographystyle{plain} +\bibliography{PSTricks} + +\printindex + + +\end{document} + + |