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
|
\PassOptionsToPackage{dvipsnames}{xcolor}
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,
smallheadings, headexclude,footexclude,oneside]{pst-doc}
\usepackage[utf8]{inputenc}
\usepackage{pst-pulley}
\let\pstPulleyFV\fileversion
\renewcommand\bgImage{\psscalebox{0.5}{\pspulleys[N=1,M=60,h=35]}}
\lstset{language=PSTricks,morekeywords={pspulleys},basicstyle=\footnotesize\ttfamily}
%
\begin{document}
\title{\texttt{pst-pulley}}
\subtitle{Plotting different pulleys; v.\pstPulleyFV}
\author{Thomas Söll}
\docauthor{}
\date{\today}
\maketitle
\tableofcontents
\psset{unit=1cm}
\clearpage
\begin{abstract}
\noindent
\LPack{pst-pulley} loads by default the following packages: \LPack{pst-plot},
\LPack{pstricks-add}, \LPack{pst-eucl}, \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 latest version.
\vfill\noindent
Thanks to: \\
Manuel Luque \\
Jürgen Gilg \\
Herbert Voss
\end{abstract}
\clearpage
\section{Parameters}
With this package it is possible to draw different pulleys. There are four parameters: N=1\ldots 6 gives the number of wheels of the pulley. M= \ldots gives the mass of the weight in kg. The parameter h=\ldots gives the height of the weight in cm from the bottom. To align the down-part of the pulley, there is the parameter Dx= \ldots With positive values the down-part goes to the left. The mass of the rolls are neglegible, or you have to add it to the mass of the weight. The rope is not stiff and inextensible. The force of the weight, the force in each rope and the distance to pull will calculated from the macro and shown. For the gravitation-constant we have $g=10\, m/s^2$.\\[0.5cm]
\Lcs{pspulleys}\OptArgs\\[0.5cm]
\Lcs{pspulleys}[N=4,M=30,h=15,Dx=0.1]
\section{Examples}
\begin{center}\xLcs{pspulleys}\xLkeyword{grid}\xLkeyword{N}\xLkeyword{M}\xLkeyword{h}
\pspulleys[grid,N=1,M=60,h=35]
\vspace{1.5cm}
\Lcs{pspulleys}[grid,N=1,M=60,h=35]
\end{center}
\begin{center}
\pspulleys[N=2,M=60,h=30,Dx=0.41]
\vspace{1.5cm}
\Lcs{pspulleys}[N=2,M=60,h=30,Dx=0.41]
\end{center}
\begin{center}
\pspulleys[N=3,M=60,h=25]
\vspace{1.5cm}
\Lcs{pspulleys}[N=3,M=60,h=25]
\end{center}
\begin{center}
\pspulleys[N=4,M=60,h=20]
\vspace{1.5cm}
\Lcs{pspulleys}[N=4,M=60,h=20]
\end{center}
\begin{center}
\pspulleys[N=5,M=60,h=15]
\vspace{1.5cm}
\Lcs{pspulleys}[N=5,M=60,h=15]
\end{center}
\begin{center}
\pspulleys[N=6,M=60,h=10]
\vspace{1.5cm}
\Lcs{pspulleys}[N=6,M=60,h=10]
\end{center}
\clearpage
\section{List of all optional arguments for \texttt{pst-pulleys}}
\xkvview{family=pst-pulleys,columns={key,type,default}}
\bgroup
\raggedright
\nocite{*}
\bibliographystyle{plain}
\bibliography{pst-pulley-doc}
\egroup
\printindex
\end{document}
|