summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/pst-news15.tex
blob: c0a058f3b1f18ddcd2c7b7dca36952436d0147af (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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}