diff options
author | Karl Berry <karl@freefriends.org> | 2008-03-21 23:52:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-03-21 23:52:41 +0000 |
commit | 1472f655976291d22dbaa4c321df214ae82d9ec3 (patch) | |
tree | 8c1d3c2a4969a3f52bc87b4ec70eb6e372fe57ce /Master/texmf-dist | |
parent | 7d7bf2b41a666e04b6c4b7c9a8984a4930dca2e4 (diff) |
pst-pad updae (21mar08)
git-svn-id: svn://tug.org/texlive/trunk@7066 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-pad/CHANGES | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-pad/README | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.pdf | bin | 100083 -> 99943 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.tex | 70 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-pad/pst-pad-docDE.pdf | bin | 0 -> 101494 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-pad/pst-pad-docDE.tex | 436 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/pst-pad/Makefile | 50 |
7 files changed, 494 insertions, 86 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-pad/CHANGES b/Master/texmf-dist/doc/generic/pst-pad/CHANGES index 36bd6995380..a63f92eeec4 100644 --- a/Master/texmf-dist/doc/generic/pst-pad/CHANGES +++ b/Master/texmf-dist/doc/generic/pst-pad/CHANGES @@ -1,5 +1,14 @@ +pst-pad-doc-header.tex: + +2008-03-21 version 0.3b: added common header for german/english docs + +pst-pad-docDE.tex|pdf: + +2008-03-21 version 0.3b: added german docs + pst-pad-doc.tex|pdf: +2008-03-21 version 0.3b: doc fix 2008-02-21 version 0.3a: changed email address 2008-02-19 version 0.3: first CTAN release (rev 319) diff --git a/Master/texmf-dist/doc/generic/pst-pad/README b/Master/texmf-dist/doc/generic/pst-pad/README index ec0a1a391e6..d0f4180e889 100644 --- a/Master/texmf-dist/doc/generic/pst-pad/README +++ b/Master/texmf-dist/doc/generic/pst-pad/README @@ -7,12 +7,15 @@ pst-pad is a PSTricks package for drawing simple attachment systems. Contents: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -Makefile - Makefile for PDF documentation -pst-pad.sty - The LaTeX file -pst-pad.tex - The TeX file -pst-pad-doc.pdf - The documentation -pst-pad-doc.tex - The documentation (source) -showexpl.cfg - Configuration file for showexpl.sty +Makefile - Makefile for PDF documentation +pst-pad.sty - The LaTeX file +pst-pad.tex - The TeX file +pst-pad-doc.pdf - The english documentation +pst-pad-doc.tex - The english documentation (source) +pst-pad-docDE.pdf - The german documentation +pst-pad-docDE.tex - The german documentation (source) +pst-pad-doc-header.tex - Common header for EN/DE documentation +showexpl.cfg - Configuration file for showexpl.sty ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.pdf b/Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.pdf Binary files differindex 37ffe49dd37..65bca95c6ab 100644 --- a/Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.pdf +++ b/Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.pdf diff --git a/Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.tex b/Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.tex index 49a7ca1a699..bcaa33ad851 100644 --- a/Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-pad/pst-pad-doc.tex @@ -2,62 +2,20 @@ %% %% Author: Patrick Drechsler %% -%% Copyright -%% %% Created: Fri Feb 8 02:04:17 2008 %% -%% Version: $Id: pst-pad-doc.tex 320 2008-02-20 17:50:01Z patrick $ +%% Version: $Id: pst-pad-doc.tex 328 2008-03-21 15:22:10Z patrick $ %% \listfiles \documentclass{scrartcl} -\setkomafont{disposition}{\normalcolor\rmfamily\bfseries} -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} - -\usepackage{fixltx2e}% standard LaTeX package... -\usepackage{lmodern} -\usepackage[scaled=0.85]{beramono} -\usepackage{fancyhdr} -\usepackage[obeyspaces]{url} -\usepackage{xcolor}% -\usepackage{amsmath} -\usepackage{pst-pad} -\let\verPstPad\fileversion -\usepackage{multicol} -\usepackage{showexpl} -% -\makeatletter -\def\@UrlFont{\small\ttfamily} -\renewenvironment{description} - {\list{}{\labelwidth\z@ \itemindent-\leftmargin - \itemsep0pt \parsep0pt - \let\makelabel\descriptionlabel}} - {\endlist} - -\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} -\def\PS{PostScript} -\newcommand{\PadPackage}{\textsf{`pst-pad'}} - -\lhead{\PadPackage}\rhead{A PSTricks package for drawing attachment models} -\pagestyle{fancy} - -\psset{subgriddiv=0,griddots=10,gridlabels=7pt}% -%\showgrid -% \usepackage[colorlinks,linktocpage]{hyperref} -\usepackage{hyperref} - -\newcommand{\macro}[1]{\texttt{#1}} -\newcommand{\parameter}[1]{\texttt{#1}} - -\definecolor{mygreen}{rgb}{0,.5,0} -\definecolor{mybrown}{rgb}{.6,0,0} - -\newcommand{\ParCol}[3]{\textbf{\shortstack{#1 \color{mygreen}(#2)\\ \color{mybrown}(#3)}}} +\usepackage[english]{babel} +\input{pst-pad-doc-header} +\newcommand{\summary}{A PSTricks package for drawing attachment models} \begin{document} +\EnableQuotes -\title{\texttt{pst-pad}\\ A PSTricks package for drawing attachment - mechanisms\\\normalsize ver. \verPstPad} \author{Patrick +\title{\texttt{pst-pad}\\\summary\\\normalsize ver. \verPstPad} \author{Patrick Drechsler\thanks{\url{<Patrick.Drechsler@pstricks.de>}}} \date{\today} \maketitle @@ -85,7 +43,7 @@ research. \section{Parameters} \label{sec:parameters} -There are specific paramaters defined to easily change the behaviour of the pst-pad +There are specific parameters defined to easily change the behaviour of the pst-pad objects you are drawing. \let\HLTTc\textsf @@ -126,7 +84,7 @@ objects you are drawing. \clearpage -\section{High-level Macros (``Objects'')} +\section{High-level Macros ("Objects")} \label{sec:high-level-macros} There are three high-level macros: \macro{PstWallToWall}, @@ -222,29 +180,29 @@ default and example values, respectively. \nbput{\ParCol{FSphereHeight/2}{2}{2}} %% Label FSphereFillColor: \psline{->}(-.1,2.2)(-.3,1.6) - \rput(-.1,2.6){\ParCol{FSphereFillColor}{``lightgray''}{``green!20!white''}} + \rput(-.1,2.6){\ParCol{FSphereFillColor}{"lightgray"}{"green!20!white"}} %% Label FluidFillColor: \psline{->}(4,2.2)(2.5,.6) - \rput(4,2.6){\ParCol{FluidFillColor}{``yellow''}{``blue!10!white''}} + \rput(4,2.6){\ParCol{FluidFillColor}{"yellow"}{"blue!10!white"}} %% Label FluidLineWidth: \psline{->}([offset=.5,nodesep=3]minradiusRight)(minradiusRight) \rput[l]([offset=-.1,nodesep=3.2]minradiusRight){\ParCol{FluidLineWidth}{1pt}{1.5pt}} - \rput[l]([offset=.8,nodesep=3.2]minradiusRight){\ParCol{FluidLineColor}{``black''}{``green!50!black''}} + \rput[l]([offset=.8,nodesep=3.2]minradiusRight){\ParCol{FluidLineColor}{"black"}{"green!50!black"}} %% Label FSphereLineWidth: \psline{->}(-4.3,2.2)(-3.5,1) \rput(-4.3,2.6){\ParCol{FSphereLineWidth}{1pt}{0.1pt}} - \rput(-4.3,3.4){\ParCol{FSphereLineColor}{``black''}{``magenta''}} + \rput(-4.3,3.4){\ParCol{FSphereLineColor}{"black"}{"magenta"}} %% Label WallLineWidth: \psline{->}(1.5,-2.25)(1.5,-1) \rput[t](1.5,-2.5){\ParCol{WallLineWidth}{1pt}{3pt}} - \rput[t](1.5,-3.4){\ParCol{WallLineColor}{``black''}{``blue''}} + \rput[t](1.5,-3.4){\ParCol{WallLineColor}{"black"}{"blue"}} \end{pspicture} \subsection{Liquid shearing} \label{sec:liquid-shearing} Sheared liquids sandwiched in between two surfaces can also be displayed. The -following figure shows the usage of the +following figures shows the usage of the parameters \parameter{FluidShearOffsetX} and \parameter{FluidShearOffsetY}. Again, green and brown colored values in parentheses give default and example values, respectively. diff --git a/Master/texmf-dist/doc/generic/pst-pad/pst-pad-docDE.pdf b/Master/texmf-dist/doc/generic/pst-pad/pst-pad-docDE.pdf Binary files differnew file mode 100644 index 00000000000..ce1858c244b --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-pad/pst-pad-docDE.pdf diff --git a/Master/texmf-dist/doc/generic/pst-pad/pst-pad-docDE.tex b/Master/texmf-dist/doc/generic/pst-pad/pst-pad-docDE.tex new file mode 100644 index 00000000000..05329421cfb --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-pad/pst-pad-docDE.tex @@ -0,0 +1,436 @@ +%% Filename: pst-pad-docDE.tex +%% +%% Author: Patrick Drechsler +%% +%% Created: Fri Mar 21 13:05:37 2008 +%% +%% Version: $Id: pst-pad-docDE.tex 329 2008-03-21 15:23:21Z patrick $ +%% +\listfiles +\documentclass{scrartcl} +\usepackage[ngerman]{babel} +\input{pst-pad-doc-header} +\newcommand{\summary}{Ein PSTricks Packet zum Zeichnen von Haftmodellen} +\newcommand{\zB}{z.\,B.~} + +\begin{document} +%% Anführungszeichen aktivieren: +\EnableQuotes + +\title{\texttt{pst-pad}\\\summary\\\normalsize ver. \verPstPad} \author{Patrick + Drechsler\thanks{\url{<Patrick.Drechsler@pstricks.de>}}} \date{\today} +\maketitle + +\begin{abstract} +\PadPackage{}: \summary. +\end{abstract} + +\setlength{\columnseprule}{0.6pt} +\begin{multicols}{2} +{\parskip 0pt \tableofcontents} +\end{multicols} + +\section{Einleitung} +\label{sec:introduction} + +Das Packet \PadPackage{} ist eine kleine Sammlung von PSTricks Makros um +Adhäsions- und Reibungssysteme darzustellen (\zB JKR- oder Hertz-Theorie, +Grenzflächenreibung, (elasto-)hydrodynamische Reibung). Die zur Verfügung +gestellten Makros erlauben den zwei beteiligten Körpern unterschiedliche Formen +zu geben (planar, kugelförmig, elastisch) sowie einen optionalen +Flüssigkeitsfilm zwischen dise Körper zu platzieren. Der Name \PadPackage{} +kommt vom englischen Begriff für Haftorgane bei Tieren ("attachment pads"), +meinem früheren Forschungsgebiet. + +\section{Parameter} +\label{sec:parameters} + +Die folgenden Parameter stehen zur Verfügung. + +\let\HLTTc\textsf +%\begin{multicols}{2} +\begin{description} +\item[\HLTTc{fluid} (boolean):] (\emph{default:~true}) +\item[\HLTTc{WallThickness} (dimension):] (\emph{default:~1}) +\item[\HLTTc{WallString} (string):] (\emph{default:~}) +\item[\HLTTc{WallAngle} (PSTricks color):] (\emph{default:~0}) +\item[\HLTTc{WallLineWidth} (dimension):] (\emph{default:~1pt}) +\item[\HLTTc{WallLineColor} (PSTricks color):] (\emph{default:~black}) +\item[\HLTTc{SphereStartAngle} (dimension):] (\emph{default:~180}) +\item[\HLTTc{SphereEndAngle} (boolean):] (\emph{default:~360}) +\item[\HLTTc{SphereRadius} (dimension):] (\emph{default:~1}) +\item[\HLTTc{ShpereString} (string):] (\emph{default:~}) +\item[\HLTTc{SphereOffset} (dimension):] (\emph{default:~0}) +\item[\HLTTc{SphereFillColor} (PSTricks color):] (\emph{default:~white}) +\item[\HLTTc{SphereLineWidth} (dimension):] (\emph{default:~1pt}) +\item[\HLTTc{SphereLineColor} (PSTricks color):] (\emph{default:~black}) +\item[\HLTTc{FSphereHeight} (dimension):] (\emph{default:~2}) +\item[\HLTTc{FSphereFillColor} (PSTricks color):] (\emph{default:~lightgray}) +\item[\HLTTc{FSphereString} (string):] (\emph{default:~}) +\item[\HLTTc{FSphereLineWidth} (dimension):] (\emph{default:~1pt}) +\item[\HLTTc{FSphereLineColor} (PSTricks color):] (\emph{default:~black}) +\item[\HLTTc{FluidMaxRadius} (dimension):] (\emph{default:~1}) +\item[\HLTTc{FluidMinRadius} (dimension):] (\emph{default:~.5}) +\item[\HLTTc{FluidHeight} (dimension):] (\emph{default:~.5}) +\item[\HLTTc{FluidFillColor} (PSTricks color):] (\emph{default:~yellow}) +\item[\HLTTc{FluidString} (string):] (\emph{default:~}) +\item[\HLTTc{FluidShearOffsetX} (dimension):] (\emph{default:~0}) +\item[\HLTTc{FluidShearOffsetY} (dimension):] (\emph{default:~0}) +\item[\HLTTc{FluidLineWidth} (dimension):] (\emph{default:~1pt}) +\item[\HLTTc{FluidLineColor} (PSTricks color):] (\emph{default:~black}) +\item[\HLTTc{StringA} (string):] (\emph{default:~}) +\item[\HLTTc{StringB} (string):] (\emph{default:~}) +\item[\HLTTc{TotalAngle} (angle):] (\emph{default:~0}) +\end{description} + +\clearpage + +\section{High-level Makros ("Objekte")} +\label{sec:high-level-macros} + +Es gibt drei "high-level" Makros: \macro{PstWallToWall}, +\macro{PstSphereToWall} and \macro{PstPad}. + +\subsection{\macro{PstWallToWall}} +\label{sec:macropstwalltowall} + +\begin{LTXexample}[width=5cm] +\begin{pspicture}(4,4)\psgrid + \PstWallToWall(2,2) +\end{pspicture} +\end{LTXexample} + +\subsection{\macro{PstSphereToWall}} +\label{sec:macropstspheretowall} + +\begin{LTXexample}[width=5cm] +\begin{pspicture}(4,4)\psgrid + \PstSphereToWall[fluid=false](2,2) +\end{pspicture} +\end{LTXexample} + + +\subsection{\macro{PstPad}} +\label{sec:macropstpad} + +\begin{LTXexample}[width=5cm] +\begin{pspicture}(4,4)\psgrid + \PstPad(2,2) +\end{pspicture} +\end{LTXexample} + +\clearpage + +\subsection{Anwendung} +\label{sec:basic-usage} + +Die folgende Abbildung zeigt die Verwendung des Makros \macro{PstPad} und +einiger Parameter. Grün und braun gefärbte Werte in Klammern zeigen die +voreingestellten und im Beispiel verwendeten Werte. + +\begin{pspicture}(-5,-4)(7.5,4)%\psgrid + \PstPad[% + FluidMaxRadius=4,% + FluidMinRadius=3,% + FluidHeight=1,% + FSphereHeight=2,% + FSphereFillColor=green!20!white,% + FluidFillColor=blue!10!white,% + FluidLineWidth=1.5pt,% + FSphereLineWidth=0.1pt,% + WallLineWidth=3pt,% + WallLineColor=blue,% + FSphereLineColor=magenta,% + FluidLineColor=green!50!black% + ](0,0) + %% + \sffamily\footnotesize% + \psset{linecolor=gray, linewidth=0.2pt} + %% "Crosshair" for orientation: + \psline[linestyle=dashed](-5,0)(5,0) + \psline[linestyle=dashed](0,-3)(0,1.5) + %% Node definitions: + \pnode(0,0){center} + \pnode(-4,-2.25){maxradiusLeft} + \pnode(0,-2.25){maxradiusRight} + \pnode(-3,0){minradiusLeft} + \pnode(3,0){minradiusRight} + \pnode([nodesep=4.5]center){fluidheightCenter} + \pnode([nodesep=4.5,offset=-1]center){fluidheightBottom} + \pnode([offset=-1]fluidheightBottom){wallThicknessBottom} + \pnode([nodesep=5.2,offset=1]center){fsphereheightBottom} + \pnode([offset=1]fsphereheightBottom){fsphereheightTop} + %% + \psset{arrows=|<->|,linewidth=0.8pt,linecolor=red,arrowscale=1.5} + %% Center: + \rput[l]([nodesep=.2,offset=.2]center){\textbf{(0,0)}} + %% Label FluidMinRadius: + \ncline{minradiusLeft}{center} + \nbput{\ParCol{FluidMinRadius}{0.5}{3}} + %% Label FluidMaxRadius: + \ncline{maxradiusLeft}{maxradiusRight} + \nbput{\ParCol{FluidMaxRadius}{1}{4}} + %% Label FluidHeight: + \ncline{fluidheightCenter}{fluidheightBottom} + \naput{\ParCol{FluidHeight}{.5}{1}} + %% Label WallThickness: + \ncline{fluidheightBottom}{wallThicknessBottom} + \naput{\ParCol{WallThickness}{1}{1}} + %% Label FSpereHeight: + \ncline{fsphereheightBottom}{fsphereheightTop} + \nbput{\ParCol{FSphereHeight/2}{2}{2}} + %% Label FSphereFillColor: + \psline{->}(-.1,2.2)(-.3,1.6) + \rput(-.1,2.6){\ParCol{FSphereFillColor}{"lightgray"}{"green!20!white"}} + %% Label FluidFillColor: + \psline{->}(4,2.2)(2.5,.6) + \rput(4,2.6){\ParCol{FluidFillColor}{"yellow"}{"blue!10!white"}} + %% Label FluidLineWidth: + \psline{->}([offset=.5,nodesep=3]minradiusRight)(minradiusRight) + \rput[l]([offset=-.1,nodesep=3.2]minradiusRight){\ParCol{FluidLineWidth}{1pt}{1.5pt}} + \rput[l]([offset=.8,nodesep=3.2]minradiusRight){\ParCol{FluidLineColor}{"black"}{"green!50!black"}} + %% Label FSphereLineWidth: + \psline{->}(-4.3,2.2)(-3.5,1) + \rput(-4.3,2.6){\ParCol{FSphereLineWidth}{1pt}{0.1pt}} + \rput(-4.3,3.4){\ParCol{FSphereLineColor}{"black"}{"magenta"}} + %% Label WallLineWidth: + \psline{->}(1.5,-2.25)(1.5,-1) + \rput[t](1.5,-2.5){\ParCol{WallLineWidth}{1pt}{3pt}} + \rput[t](1.5,-3.4){\ParCol{WallLineColor}{"black"}{"blue"}} +\end{pspicture} + +\subsection{Scherender Flüssigkeitsfilm} +\label{sec:liquid-shearing} + +Flüssigkeitsfilme zwischen zwei Oberflächen können auch mit einer Scherung +dargestellt werden. Die folgenden Abbildungen zeigt die Verwendung der +Parameter \parameter{FluidShearOffsetX} und \parameter{FluidShearOffsetY}. Grün +und braun gefärbte Werte in Klammern zeigen wieder die Voreinstellung und die +Beispielwerte. + +\subsubsection[\parameter{FluidShearOffsetX}]{Parameter \parameter{FluidShearOffsetX}} +\label{sec:param-offsetx} + +\parameter{FluidShearOffsetX}\ beschreibt den Offset vom Wert des +Parameters \parameter{FluidMaxRadius} in x Richtung. + +\begin{center} + \begin{pspicture}[showgrid=false](-5,-2)(4.5,2)% + \PstPad[% + FluidHeight=1,% + FluidShearOffsetX=0.6% + ](0,0) + %% Labeling: + \sffamily\footnotesize% + \psset{linecolor=black, linewidth=0.2pt} + \psline[linestyle=dotted](-2.5,0)(1.5,0) + \psline[linestyle=dotted](0,-1)(0,1.5) + + %% Node definitions: + \pnode(0,0){center} + \pnode(-1,-2.25){maxradiusLeft} + \pnode(0,-2.25){maxradiusRight} + + \pnode(-1,0){maxradiusLeftZero} + \pnode(0,0){maxradiusRightZero} + + \pnode([nodesep=-0.6]maxradiusLeft){Xoffset} + \pnode([nodesep=-0.6]maxradiusLeftZero){XoffsetZero} + + \psline[linestyle=dotted]([offset=-1]maxradiusLeftZero)([offset=.5]maxradiusLeftZero) + \psline[linestyle=dotted]([offset=-1]XoffsetZero)([offset=.5]XoffsetZero) + %% + %% + \psset{arrowscale=2,arrows=|<->|} + %% Label FluidMaxRadiusLeft: + \ncline{maxradiusLeft}{maxradiusRight} + \nbput[npos=0.5]{\ParCol{FluidMaxRadius}{1}{1}} + %% Label FluidShearOffsetX: + \ncline[linecolor=red]{maxradiusLeftZero}{XoffsetZero} + \nbput[npos=1.6]{\ParCol{FluidShearOffsetX}{0}{.6}} + \end{pspicture} +\end{center} + +\subsubsection[\parameter{FluidShearOffsetY}]{Parameter \parameter{FluidShearOffsetY}} +\label{sec:param-offsety} + +Mit dem Parameter \parameter{FluidShearOffsetY}\ kann der Krümmungsradius des +Flüssigkeitmeniskus beeinflußt werden. Der Parameter beschreibt den Offset von +Null in y Richtung. + +\begin{center} + \begin{pspicture}[showgrid=false](-4.5,-2)(4.5,2)% + \PstPad[% + FluidHeight=1,% + FluidShearOffsetY=0.4% + ](0,0) + %% Labeling: + \sffamily\footnotesize% + \psset{linecolor=black, linewidth=0.2pt} + \psline[linestyle=dotted](-2.5,0)(1.5,0) + \psline[linestyle=dotted](0,-1)(0,1.5) + %% Node definitions: + \pnode(0,0){center} + \pnode([nodesep=1.5]center){fluidheightCenterRight} + \pnode([nodesep=-1.5]center){fluidheightCenterLeft} + \pnode([nodesep=-1.5,offset=1]center){fluidheightTop} + \pnode([offset=-0.4]fluidheightCenterRight){Yoffset} + %% + \psline[linestyle=dotted](0,-.4)(1.7,-.4) + %% + \psset{arrowscale=2,arrows=|<->|} + %% Label FluidHeight: + \ncline{fluidheightCenterLeft}{fluidheightTop} + \naput{\ParCol{FluidHeight}{.5}{1}} + %% Label FluidShearOffsetY: + \ncline[linecolor=red]{fluidheightCenterRight}{Yoffset} + \naput{\ParCol{FluidShearOffsetY}{0}{.4}} + \end{pspicture} +\end{center} + + +\subsection{Drehwinkel} +\label{sec:tilting-parameters} + +Die folgende Abbildung demonstriert die Verwendung des +Parameters \parameter{TotalAngle} um die Abbildung zu drehen. Der +voreingestellte Drehwinkel beträgt 0 Grad. Grün und braun gefärbte Werte in +Klammern zeigen wieder die Voreinstellung und die Beispielwerte. + +\begin{center} +\begin{pspicture}(-2.5,-2)(4,2.5)% + %% + \PstPad[TotalAngle=30](0,0) + %% Labeling: + \sffamily\footnotesize% + \psset{linecolor=black, linewidth=0.2pt} + \psline[linestyle=dotted](-2.5,0)(2.5,0) + \psline[linestyle=dotted](0,-1)(0,1.5) + \rput{30}{% + \psline[linestyle=dashed](-2.5,0)(2.5,0) + \psline[linestyle=dashed](0,-1)(0,1.5) + } + \pnode(0,0){center} + \psset{linecolor=red} + \psarc[arrowscale=2]{<->}(center){2.25}{0}{30} + \rput[l]([nodesep=2.5,angle=15]center){% + \ParCol{TotalAngle}{0}{30}}% +\end{pspicture} +\end{center} + +\section{Beispiele} +\label{sec:example-usage} + +\begin{LTXexample}[width=5cm] +\begin{pspicture}(4,4)\psgrid + \PstWallToWall[% + FluidFillColor=red,% + TotalAngle=10% + ](2,2) +\end{pspicture} +\end{LTXexample} + + +\begin{LTXexample}[width=5cm] +\begin{pspicture}(4,4)\psgrid + \tiny\sffamily% + \PstPad[% + FluidFillColor=blue!30!white,% + FluidLineColor=blue!70!black,% + FSphereFillColor=yellow!40!white,% + FSphereLineColor=red!70!black,% + FluidString={fluid A},% + FluidShearOffsetX=0.1,% + FluidShearOffsetY=0.2,% + WallThickness=0.4,% + FSphereHeight=1,% + StringA={sliding insect pad}% + ](2,2) +\end{pspicture} +\end{LTXexample} + + +\begin{LTXexample}[width=5cm] +\begin{pspicture}(4,4)\psgrid + \PstSphereToWall[% + fluid=false,% + SphereRadius=1.5,% + SphereStartAngle=190,% + SphereEndAngle=350,% + SphereOffset=0.1,% + StringA={string a},% + StringB={string b}% + ](2,2) +\end{pspicture} +\end{LTXexample} + +\section{Low-level Makros} +\label{sec:low-level-macros} + +Es gibt vier "low-level" Makros: \macro{PstWall}, \macro{PstFluid}, +\macro{PstSphere} und \macro{PstFlattenedSphere}. + +\subsection{\macro{PstWall}} +\label{sec:macropstwall} + +\begin{LTXexample}[width=5cm] + \begin{pspicture}[showgrid=true](4,2) + \PstWall(2,1.5) + \end{pspicture} +\end{LTXexample} + +\subsection{\macro{PstFluid}} +\label{sec:macropstfluid} + +\begin{LTXexample}[width=5cm] + \begin{pspicture}[showgrid=true](4,2) + \rput(2,1){\PstFluid[unit=1pt](0,0)} + \end{pspicture} +\end{LTXexample} + + +\clearpage + +\subsection{\macro{PstSphere}} +\label{sec:macropstsphere} + +\begin{LTXexample}[width=5cm] + \begin{pspicture}[showgrid=true](4,2) + \PstSphere(2,.5) + \end{pspicture} +\end{LTXexample} + +\subsection{\macro{PstFlattenedSphere}} +\label{sec:macr} + +\begin{LTXexample}[width=5cm] + \begin{pspicture}[showgrid=true](4,2) + \PstFlattenedSphere(2,.5) + \end{pspicture} +\end{LTXexample} + + +\section{TODO} +\label{sec:todo} + +\begin{itemize} +\item Interne Berechnungen und Einheitenumwandlungen verbessern. +\item Oberflächenrauigkeit implementieren. +\item Flüssigkeitskontaktwinkeloption implementieren. +\end{itemize} + + +\section{Danksagung} +\label{sec:acknowledgements} + +Ich danke Herbert Voß und Alan Ristow für ihre Hilfe mir die Grundzüge von +PSTricks Makros und das Rechnen mit PostScript und \TeX\ nähergebracht zu +haben. + +\end{document} + +%%% Local Variables: +%%% TeX-command-default: "Make" +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/source/generic/pst-pad/Makefile b/Master/texmf-dist/source/generic/pst-pad/Makefile index 6d48721019b..920a1cc0a4b 100644 --- a/Master/texmf-dist/source/generic/pst-pad/Makefile +++ b/Master/texmf-dist/source/generic/pst-pad/Makefile @@ -1,4 +1,9 @@ MAIN = pst-pad-doc +MAINDE = pst-pad-docDE + +all: \ + $(MAIN).pdf \ + $(MAINDE).pdf $(MAIN).pdf: \ showexpl.cfg \ @@ -10,29 +15,26 @@ $(MAIN).pdf: \ dvips $(MAIN) ps2pdf $(MAIN).ps +$(MAINDE).pdf: \ + showexpl.cfg \ + pst-pad-docDE.tex \ + pst-pad.tex \ + pst-pad.sty + latex $(MAINDE).tex + latex $(MAINDE).tex + dvips $(MAINDE) + ps2pdf $(MAINDE).ps + +.PHONY: publish +publish: \ + all + zip pst-pad.zip \ + pst-pad.tex pst-pad.sty showexpl.cfg Makefile README CHANGES \ + $(MAIN).tex $(MAIN).pdf \ + $(MAINDE).tex $(MAINDE).pdf + .PHONY: clean clean: - /usr/bin/find . -iname '*~' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).aux' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).backup' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).bbl' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).blg' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).brf' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).cb' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).changes' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).dvi' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).idx' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).ilg' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).ind' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).inx' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).lof' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).log' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).lot' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).lox' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).out' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).ps' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).pdf' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).rel' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).tmp' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).toc' -exec rm {} \; - /usr/bin/find . -iname '$(MAIN).xcp' -exec rm {} \; + rm *~ *.aux *.backup *.bbl *.blg *.brf *.cb *.changes \ + *.dvi *.idx *.ilg *.ind *.inx *.lof *.log *.lot *.lox \ + *.out *.ps *.pdf *.rel *.tmp *.toc *.xcp *.zip |