summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-fun/pst-fun-doc.tex
blob: d84ce7a000c0be6080bee1b890b9861f1c7cb783 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
\documentclass[a4paper,11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
%\usepackage{pamathx}
\usepackage{mathpazo}
\usepackage{url}
\usepackage{amsmath}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{pstricks}
\usepackage{pst-fun}
\let\pstFunFV\fileversion
\usepackage{pstricks-add}% for the alg parser
\usepackage{showexpl}
\lstset{pos=t,wide=true}
%
\usepackage{xspace}
\def\PS{PostScript\xspace}
\def\CMD#1{{\ttfamily\textbackslash #1}}
%
\def\pshlabel#1{\footnotesize#1}
\def\psvlabel#1{\footnotesize#1}
\usepackage[colorlinks,linktocpage]{hyperref}
%
\begin{document}
\title{\texttt{pst-fun}\\funny macros\\
		  \small v.\pstFunFV}
\author{%
    \tabular[t]{c}Manuel Luque\\[3pt]
    \url{ml@PSTricks.de}
    \endtabular   \and 
    \tabular[t]{c}Herbert Vo\ss\\[3pt]
    \url{hv@PSTricks.de}\endtabular%
} 
\date{\today}

\maketitle

%\tableofcontents


\begin{LTXexample}
\begin{pspicture}[showgrid=true](-5,-4)(4,8) % needs pstricks-add
  \psBill
  \psHomothetie[linecolor=blue](4,-3){2}{\psBill}
  \psdots[dotsize=3pt,linecolor=red](4,-3)
  \pstVerb{ /m -3 -0.85 sub 4 0.6 sub div def }
  \psplot[linestyle=dashed,linecolor=red]{-5}{4}{ m x mul m 4 mul sub 3 sub }
  \psHomothetie[linecolor=green](4,-3){0.5}{\psBill}
  \psHomothetie[linecolor=magenta](4,-3){-0.25}{\psBill}
\end{pspicture}
\end{LTXexample}
%$


\begin{LTXexample}
\begin{pspicture}[showgrid=true](0,-0.5)(12,4)
 \psFish
 \rput(6,0){\psFish[fillstyle=slope]}
\end{pspicture}
\end{LTXexample}


\begin{LTXexample}
\begin{pspicture}[showgrid=true](-2,-2.4)(6,2)
  \psLouisXIII
  \rput(4,0){\psLouisXIII[linecolor=red]}
\end{pspicture}
\end{LTXexample}


\begin{LTXexample}
\begin{pspicture}[showgrid=true](0,-0.4)(11,6)
  \psPulpo \rput(10,0.5){\psscalebox{0.15}{\psPulpo[fillcolor=yellow,fillstyle=solid]}}
\end{pspicture}
\end{LTXexample}


\begin{LTXexample}
\begin{pspicture}[showgrid=true](0,-1.2)(12,3)
  \psBird \rput(4,0){\psBird} \rput{-60}(8,2){\psBird}
\end{pspicture}
\end{LTXexample}

\begin{LTXexample}
\begin{pspicture}[showgrid=true](0,-1.3)(10,3)
  \psBird[Branch] \rput{-20}(4,1.8){\psBird}
\end{pspicture}
\end{LTXexample}

\begin{LTXexample}
\begin{pspicture}[showgrid=true](0,-0.3)(8,10)
  \psLuke
  \rput(6.5,1){\psscalebox{0.15}{\psLuke}}
\end{pspicture}
\end{LTXexample}

\begin{LTXexample}
\begin{pspicture}[showgrid=true](-5,-5)(5,5)
  \psAnt
  \rput(-3,3){\psAnt[fillcolor=red!50]}
  \rput{30}(3,-3){\psAnt[fillcolor=blue!50]}
  \rput{-60}(-3,-3){\psAnt[fillcolor=blue!20]}
  \rput(2.5,3){\psscalebox{0.15}{\psAnt}}
\end{pspicture}
\end{LTXexample}


\begin{LTXexample}
\begin{pspicture}[showgrid=true](6,7)
  \psParrot{1}
  \psParrot{0.2}\rput(4,5){\psParrot{0.2}}
\end{pspicture}
\end{LTXexample}


\begin{LTXexample}
\begin{pspicture}[showgrid=true](8,7)
  \psKangaroo{1}
  \multido{\iA=2+1}{5}{\rput[lb](1,\iA){\psKangaroo[fillcolor=red]{1}}}
  \rput(4,0){\psKangaroo[fillcolor=red!30]{5}}
  \rput(5,1){\psKangaroo[fillcolor=blue!30,opacity=0.5]{5}}
\end{pspicture}
\end{LTXexample}


%\section{Credits}
%Manuel Luque 

\bgroup
\raggedright
\nocite{*}
\bibliographystyle{plain}
\bibliography{pst-fun-doc}
\egroup
\end{document}