diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pst-labo')
16 files changed, 4947 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pst-labo/Changes b/Master/texmf-dist/doc/latex/pst-labo/Changes new file mode 100644 index 00000000000..d1b2d12eabd --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/Changes @@ -0,0 +1,10 @@ +pst-labo.tex ----------------------------------- +2.02 2005-10-08 new option glassType (hv) +2.01 2005-03-13 fix bug with pstcol loaded (HV) + + +pst-laboObj.tex -------------------------------- + + +dcoumentation ---------------------------------- +pst-labo-docFR.tex|pdf 2005-10-23
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pst-labo/README b/Master/texmf-dist/doc/latex/pst-labo/README new file mode 100644 index 00000000000..3b80a99749e --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/README @@ -0,0 +1,21 @@ +%% Package `pst-labo.tex' + +This version of pst-labo needs the xkeyval package. Get it +from CTAN if it is not part of your local TeX installation. + +Save the files + +pst-labo.sty +pst-labo.tex +pst-laboObj.tex + +in any place, where TeX/LaTeX or any other TeX program will find it. +Pay attention, that you cannot run the documentation with +pdflatex, PSTricks is PosTScript Tricks. +Use latex->dvips->ps2pdf + + +pst-labo-docDE.ltx german main doc file (preamble) +pst-labo-docDE.tex german documentation source +pstlabo8-tab1.tex list of parameter +pst-labo-doc.bib bibtex file diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docDE.ltx b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docDE.ltx new file mode 100644 index 00000000000..1f675cb7980 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docDE.ltx @@ -0,0 +1,223 @@ +\documentclass[11pt,a4paper,ngerman]{article} +\usepackage[latin1]{inputenc}% +\usepackage[T1]{fontenc} +\usepackage{babel} +\usepackage{lmodern} +\usepackage{enumerate,longtable,url} +\let\OldUrl=\url +\renewcommand\url[1]{\protect\OldUrl{#1}} + +\usepackage[scaled]{luximono} +% +\usepackage{xspace,nonfloat} +\usepackage[bottom]{footmisc} +% +\usepackage{tabularx} +\usepackage{longtable} +\usepackage{ltxtable} +\usepackage{varioref} +\usepackage[NewCommands,NewParameters]{ragged2e} +\usepackage{url} +\def\UrlFont{\ttfamily} +\makeatletter +%\def\verbatim@font{\small\normalfont\ttfamily} +% +\usepackage[dvipsnames,prologue,table]{pstricks} +\colorlet{tableheadcolor}{gray!25} +\colorlet{tablerowcolor}{gray!12} +\newcommand\XCBox[1]{\fcolorbox{black}{#1}{\phantom{aa}} \small #1} +\usepackage{pst-labo} +\let\PSTfileversion\fileversion +\SpecialCoor +\psset{griddots=10,subgriddiv=0,gridlabels=7pt} +% +\definecolor{hellgelb}{rgb}{1,1,0.8} +\definecolor{shadecolor}{rgb}{0.9,0.9,0.9} +\definecolor{sphgrau}{rgb}{0.40,0.40,0.40} +% +% ------------------------------- Namen Abkuerungen ---------------------- +\newcommand{\La}% + {L\kern-.36em + {\setbox0\hbox{T}% + \vbox to\ht0{\hbox{$\m@th$% + \csname S@\f@size\endcsname + \fontsize\sf@size\z@ + \math@fontsfalse\selectfont + A}% + \vss}% + }} +\def\AllTeX{(\La\kern-.075em)\kern-.075em\TeX\xspace} +\def\AMS{American Mathematical Society\xspace} +\def\AmS{$\mathcal{A}$\kern-.1667em\lower.5ex\hbox + {$\mathcal{M}$}\kern-.125em$\mathcal{S}$} +\def\AmSLaTeX{\AmS-\LaTeX\xspace} +\let\latex\LaTeX +\let\tex\TeX +% +\def\BibTeX{\textsc{Bib}\kern-.08em\TeX\index{BiBTeX@Bib\TeX}} +\def\PT{Plain \TeX\index{Plain TeX@Plain \TeX}\xspace} +\def\PST{{\texttt{PSTricks}}\xspace} +\def\CTAN{{\texttt{CTAN}}\index{CTAN}\xspace} +\def\PDF{{\texttt{PDF}}\xspace} +\def\pst{{\texttt{pstricks}}\xspace} +\def\PS{PostScript\xspace} +\def\CT{Con\TeX t\index{ConTeXt@Con\TeX t}\xspace} +\def\GS{Ghostscript\index{Ghostscript}\xspace} +\def\GeX{G\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@} +\def\at{\char064} +\def\VTeX{\texttt{V\TeX}\index{VTeX@\texttt{V\protect\TeX}}} +\newcommand*\CMD[1]{{\texttt{\textbackslash #1}}} +\newcommand\Paket[1]{\texttt{#1}} +\providecommand\Programm[1]{\textsf{#1}} +\providecommand\RaggedRight{\raggedright} +% +\def\Index#1{\index{#1}#1} +\index{Environment|see{Umgebung}} +\def\eIndex#1{\index{Umgebung!#1@\texttt{#1}}\index{#1@\texttt{#1}}} +\def\tIndex#1{\index{#1@\texttt{#1}}} +\def\cIndex#1{\index{#1@\protect\CMD{#1}}} +\def\pIndex#1{\index{Parameter@\textbf{Parameter}!#1@\texttt{#1}}\index{#1@\texttt{#1}}} +\def\ppIndex#1{\index{Parameter@\textbf{Parameter}!#1@\texttt{#1}}} +\def\sIndex#1{\index{Syntax@\textbf{Syntax}!\protect\CMD{#1}}} +\def\csIndex#1{\sIndex{#1}\cIndex{#1}} +\def\PIndex#1{\index{Paket@\textbf{Paket}!\texttt{#1}}} +\def\mIndex#1{\texttt{#1}\tIndex{#1}\pIndex{#1}} +\def\aref#1{$\rightarrow$\vref{#1}} +\def\PSindex#1{\index{PostScript!#1}} +\def\Makroindex#1{\index{Makro!#1@\protect\CMD{#1}}} +\def\Optindex#1{\index{Parameter@\textbf{Parameter}!\texttt{#1}}} +\def\ttindex#1{\index{#1@\texttt{#1}}} +\def\vert{\ensuremath{|}} +% +\let\Olddegrees\textdegrees +\def\textdegrees{\ensuremath{\mbox{\Olddegrees}}} +\def\sa{\ensuremath{\sphericalangle}\xspace}% needs amssymb +% +% +%%-------------------------------- danger --------------------------------------------- +\usepackage{manfnt} +\usepackage{lettrine} +\newsavebox{\dBox} + +\newenvironment{dangerPar*} +{\gdef\dangerSym{\dbend\,\dbend}\@dangerPar} +{\end@dangerPar} + +\newenvironment{dangerPar} +{\gdef\dangerSym{\dbend\phantom{\,\dbend}}\@dangerPar} +{\end@dangerPar} + +\def\@dangerPar{% + \begin{lrbox}{\dBox} + \minipage[c]{\linewidth-\widthof{\dangerSym}-\columnsep}% +} +\def\end@dangerPar{% + \endminipage + \end{lrbox}% + \trivlist\item\relax + \noindent + \minipage[c]{\widthof{\dangerSym}} + \raisebox{\height}[.9\height][.1\height]{\dangerSym}% ??? + \endminipage + \hfill + \minipage[c]{\wd\dBox} + \usebox{\dBox} + \endminipage% + \endtrivlist +} +\newsavebox{\bombbox} +\sbox\bombbox{% + \psset{unit=.55ex}% + \begin{pspicture}(-4,-4)(4,4) + \pscircle[fillcolor=gray,fillstyle=solid]{4} + \rput{45}{\psscaleboxto(6,0){\textsf{\textbf{PS}}}} + \psellipse*(0,3.8)(1,.2) + \psellipse*(0,5.5)(1,.2) + \psframe*(-1,3.8)(1,5.5) + \psbezier(0,5.5)(0,7)(1,8)(3.5,8) + \multido{\r=-0+40}{9}{\rput{\r}(3.5,8){\psline(0,0)(.4,0)}} + \end{pspicture}} + +\newcommand\danger{% + \lettrine[lines=2,lraise=0.65,nindent=0pt,findent=.5em]{{\small\dbend}}} + +\newcommand\ddanger{% + \lettrine[lines=2,lraise=0.65,nindent=0pt,findent=.5em]{% + {\small\dbend\,\dbend}}} + +\newcommand\DANGER{% + \lettrine[lines=3,lraise=0.01,lhang=0,nindent=0pt,findent=.75em]{% + \usebox\bombbox}} +%%------------------------------- Rest ------------------------------------------ +\pretolerance=500 +\tolerance=1000 +\hbadness=3000 +\vbadness=3000 +\hyphenpenalty=400 + +%-------------------------------- Listings ------------------------------------- +\usepackage{showexpl}% not a real PSTricks package +% +\renewcommand{\ttdefault}{ul9}% Luxi Mono +%\lstset{language=PSTricks,keywordstyle=\small\fontfamily{ul9}\bfseries} +\lstset{wide=true} +% +%-------------------------------- Allgemein ------------------------------------- +%\addtolength\belowcaptionskip{-10pt} +% +\providecommand\dante{DANTE \eV} +\providecommand\eV{e.V\kern-.18em\@ifnextchar.{}{.}} +\def\textat{\protect\makeatletter\texttt{@}\protect\makeatother} + +\def\lBrace{\texttt{\{}} +\def\rBrace{\texttt{\}}} +\def\lBracket{\texttt{[}} +\def\rBracket{\texttt{]}} +% +\newcounter{SX@refC}% for texlive8 +\def\PSTemph#1{\textit{\texttt{#1}}} +% +\def\LPack#1{\texttt{#1}\PIndex{#1}} +\def\Lmenv#1{\texttt{#1}\eIndex{#1}} +\def\Lmcs#1{\CMD{#1}\Makroindex{#1}\cIndex{#1}} +\let\xLcs\Lmcs +\let\Lcs\CMD +\let\Lit\texttt +\def\Loption#1{\texttt{#1}\Optindex{#1}\ttindex{#1}} +\def\LProg#1{\texttt{#1}\pIndex{#1}} +\let\Prog\LProg +\def\LFile#1{\texttt{#1}\tIndex{#1}} +\def\LColor#1{\texttt{#1}\index{Farbe!#1@\texttt{#1}}} +\def\Lindex#1{#1\index{#1}}% Ausgeben und in den Index +\def\Lext#1{\texttt{#1}\index{Dateiendung!#1@\texttt{#1}}} +\def\LClass#1{\texttt{#1}} +\def\Lmnotation#1{\texttt{#1}\tIndex{#1}} +\newcommand\Larga{} +\DeclareRobustCommand\Larga[1]{$\langle$\PSTemph{#1}$\rangle$} +\newcommand\LargA{} +\DeclareRobustCommand\LargA[1]{\lBrace$\langle$\PSTemph{#1}$\rangle$\rBrace} +\newcommand\Largs{} +\DeclareRobustCommand\Largs[1]{\lBracket$\langle$\PSTemph{#1}$\rangle$\rBracket} +\newcommand\Largb{} +\DeclareRobustCommand\Largb[1]{\lBrace$\langle$\PSTemph{#1}$\rangle$\rBrace} +\newcommand\Largr{} +\DeclareRobustCommand\Largr[1]{\PSTemph{({#1})}} +\DeclareRobustCommand\Largra[1]{(\Larga{#1})} +\newcommand\Larg{} +\DeclareRobustCommand\Larg[1]{\lBrace\texttt{#1}\rBrace} +\def\begEnv#1{\CMD{begin\{#1\}}\tIndex{#1}} +\def\endEnv#1{\CMD{end\{#1\}}} +\def\OptArg{\Largs{Optionen}} +\def\Largrao{($\langle x_0,y_0\rangle$)} +\def\Largrai{($\langle x_1,y_1\rangle$)} +\def\Largraii{($\langle x_2,y_2\rangle$)} +\def\Largraiii{($\langle x_3,y_3\rangle$)} +\def\Largran{($\langle x_n,y_n\rangle$)} +% +\input random +% +\begin{document} + +\input{pst-labo-docDE} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docDE.pdf b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docDE.pdf Binary files differnew file mode 100644 index 00000000000..c19d650e1cc --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docDE.pdf diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docDE.tex b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docDE.tex new file mode 100644 index 00000000000..b7f37fa750e --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docDE.tex @@ -0,0 +1,926 @@ +\title{\texttt{PST-Labo} - chemical objects\\ +\footnotesize{version \PSTfileversion}} +\author{% +Denis Girou\thanks{\url{Denis.Girou@idris.fr}}, +Christophe Jorssen\thanks{\url{Christophe.Jorssen@wanadoo.fr}}, +Manuel Luque\thanks{\url{Mluque5130@aol.com}} and +Herbert Vo\ss\thanks{\url{voss@pstricks.de}}} +\date{\today} +\maketitle + +\begin{abstract} +\texttt{pst-labo} stellt Makros für vielfältige Geräte bereit, wie sie im Bereich +der Chemie Anwendung finden.\cite{pst-labo} Da diese sehr oft eine standardisierte Form haben, +erspart die Anwendung von \texttt{pst-labo} das manuelle Erstellen bestimmter +technischer Geräte. Neben dem Paket \texttt{pst-osci} wird hier außerdem gezeigt, +wie sogenannte "`high level"'-Objekte mit \PST erstellt werden können.\cite{PSTricks2} +Sämtliche Basisobjekte sind in der +Datei \LFile{pst-laboObj.tex} gespeichert und werden beim Start von \texttt{pst-labo} +eingelesen. Diese können ohne weiteres für eigene Erweiterungen verwendet werden. +Eine Zusammenstellung findet man im Abschnitt~\ref{sec:pstlabo:Objects}. +\end{abstract} + +\tableofcontents + +\newpage +% --------------------------------------------------------------------------------------- +\section{Parameter}\label{sec:pstlabo8:Parameter} +% --------------------------------------------------------------------------------------- +Tabelle~\ref{tab:pst-labo:Parameter} zeigt eine Zusammenstellung der speziellen, für +\LPack{pst-labo} geltenden Parameter. + + +\noindent +\LTXtable{\linewidth}{pstlabo8-tab1-DE.tex}% + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{glassType}}\label{subsec-pstlabo-glassType} +% --------------------------------------------------------------------------------------- +\Loption{glassType} bezeichnet die Art des Glasgefäßes, wobei das normale Reagenzglas der +Standard ist. + +\bgroup +\begin{LTXexample}[preset=\raggedright] +\psset{unit=0.5cm} +\pstTubeEssais +\pstTubeEssais[glassType=ballon] +\pstTubeEssais[glassType=erlen] +\pstTubeEssais[glassType=becher] +\pstTubeEssais[glassType=flacon] +\pstTubeEssais[glassType=fioleJauge] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{bouchon}}\label{subsec-pstlabo-bouchon} +% --------------------------------------------------------------------------------------- +Mit der \Loption{bouchon}-Option kann man die Gefäße mit einem Korken beziehungsweise Stöpsel +versehen. + +\bgroup +\begin{LTXexample}[width=0.575\linewidth,preset=\raggedright] +\psset{unit=0.45cm} +\psset{bouchon=true} +\pstTubeEssais[glassType=tube] +\pstTubeEssais[glassType=ballon] +\pstTubeEssais[glassType=erlen] +\pstTubeEssais[glassType=flacon] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{pince}}\label{subsec-pstlabo-pince} +% --------------------------------------------------------------------------------------- +Mit der \Loption{pince}-Option kann man die Gefäße mit einer der üblichen Holzklammern +versehen. + +\bgroup +\begin{LTXexample}[width=0.55\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{bouchon=true,pince=true} +\pstTubeEssais[glassType=tube]\hspace{1cm} +\pstTubeEssais[glassType=erlen] +\end{LTXexample} +\egroup + + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeDroit}}\label{subsec-pstlabo-tubeDroit} +% --------------------------------------------------------------------------------------- +Mit der \Loption{tubeDroit}-Option kann man die Gefäße mit einem Glasröhrchen versehen, +was nur in der Kombination mit der Option \verb+bouchon=true+ Sinn macht, weshalb diese +auch intern gleich auf diesen Wert gesetzt wird. Zu beachten ist noch, dass für das +Glasröhrchen kein vertikaler Platz berücksichtigt wird, sodass der Anwender selbst +dafür sorgen muss, beispielsweise mit \verb+\rule{0pt}{4cm}+. + +\bgroup +\begin{LTXexample}[width=0.55\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{tubeDroit=true} +\rule{0pt}{4cm}% +\pstTubeEssais +\pstTubeEssais[glassType=ballon] +\pstTubeEssais[glassType=erlen] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeCoude}}\label{subsec-pstlabo-tubeCoude} +% --------------------------------------------------------------------------------------- +Die \Loption{tubeCoude}-Option ist faktisch identisch zur vorhergehenden, nur dass +ein rechtwinklig abknickendes Glasröhrchen eingezeichnet wird. Dadurch ist auch der +benötigte zusätzliche vertikale Platz weitaus geringer. + +\bgroup +\begin{LTXexample}[width=0.55\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{tubeCoude=true} +\rule{0pt}{2.5cm}% +\pstTubeEssais[glassType=erlen] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeCoudeU}}\label{subsec-pstlabo-tubeCoudeU} +% --------------------------------------------------------------------------------------- +Die \Loption{tubeCoudeU}-Option ist faktisch identisch zur vorhergehenden, nur dass +ein rechtwinklig abknickendes Glasröhrchen eingezeichnet wird. Dadurch ist auch der +benötigte zusätzliche vertikale Platz weitaus geringer. + +\bgroup +\begin{LTXexample}[width=0.5\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{tubeCoudeU=true} +\rule{0pt}{2.5cm}% +\pstTubeEssais[glassType=ballon] +\end{LTXexample} +\egroup + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeCoudeUB}}\label{subsec-pstlabo-tubeCoudeUB} +% --------------------------------------------------------------------------------------- +Die \Loption{tubeCoudeUB}-Option ist eine Erweiterung der U-Variante und nur dort +anwendbar, wo eine Verlängerung des Glasröhrchens bis zum Boden sinn macht, wie +beispielsweise beim Makro \Lmcs{pstChauffageBallon}. + +\bgroup +\begin{LTXexample}[pos=t,preset=\raggedright] +\psset{unit=0.5cm,glassType=ballon} +\pstChauffageBallon[tubeCoudeU] \pstChauffageBallon[tubeCoudeUB] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{etiquette} und \texttt{Numero}}\label{subsec-pstlabo-etiquette} +% --------------------------------------------------------------------------------------- +Die \Loption{etiquette}-Option ist der Schalter, um mit der Option \Loption{Numero} +definierte Label darzustellen. + + +\bgroup +\begin{LTXexample}[width=0.42\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\pstTubeEssais[etiquette] +\pstTubeEssais[etiquette,Numero=1] +\pstTubeEssais[glassType=flacon,bouchon,% + etiquette,Numero={\small Cu$^{2+}$}] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubePenche}}\label{subsec-pstlabo-tubePenche} +% --------------------------------------------------------------------------------------- +Die \Loption{tubePenche}-Option ermöglicht die Anordnung der chemischen Geräte in +nahezu beliebiger Winkellage, wobei der Flüssigkeitsspiegel jeweils in der Horizontalen +bleibt. Die Winkelwerte müssen aus dem Intervall $-65\ldots +65$ sein. + +\bgroup +\begin{LTXexample}[width=0.4\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\pstTubeEssais[tubeDroit=true,tubePenche=40] +\pstTubeEssais[tubePenche=-20,bouchon] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeSeul}}\label{subsec-pstlabo-tubeSeul} +% --------------------------------------------------------------------------------------- +\Loption{tubeSeul} hat einen Einfluss auf die gewählte Boxgröße. Dies kann vorteilhaft sein, +wenn man wie im folgenden Beispiel durch die Anwendung von \Lmcs{psframebox} zu sehen ist, +kein weiteres Gefäß anordnen will. Ohne \verb+tubeSeul=true+ hätte die rechte Box dieselbe Größe +wie die standardmäßig vorgegeben linke Box. Die Option +hat nur Auswirkungen beim Makro \Lmcs{pstChauffageTube} und den Glastypen \verb+ballon+ und +\verb+tube+. + + + + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=ballon,becBunsen} +\psframebox{\pstChauffageTube[becBunsen,barbotage]} +\psframebox{\pstChauffageTube[tubeSeul=true]} +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{becBunsen}}\label{subsec-pstlabo-becBunsen} +% --------------------------------------------------------------------------------------- +\Loption{becBunsen} ist für das Makro \Lmcs{pstChauffeTube} standardmäßig auf \verb+true+ +und für das Makro \Lmcs{pstChauffageBallon} standardmäßig auf \verb+false+ gesetzt und +aktiviert beziehungsweise deaktiviert das Zeichnen des \Index{Bunsenbrenner}s. + + + +\bgroup +\begin{LTXexample}[width=0.5\linewidth] +\psset{unit=0.5cm,tubeSeul=true} +\pstChauffageTube +\pstChauffageTube[becBunsen=false] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{barbotage}}\label{subsec-pstlabo-barbotage} +% --------------------------------------------------------------------------------------- +Die Option \Loption{barbotage} erstellt ein zusätzliches Reagenzglas, welches durch +ein Glasröhrchen mit dem eigentlichen Gefäß verbunden ist. Um den notwendigen Platz +für die Grafik zur Verfügung zu stellen, sollte die Option \Loption{tubeSeul} nicht +aktiviert sein (vgl. Abschnitt~\vref{subsec-pstlabo-tubeSeul}). + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm} +\pstChauffageTube[tubeSeul=true] +\pstChauffageTube[barbotage] +\end{LTXexample} +\egroup + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{substance}}\label{subsec-pstlabo-substance} +% --------------------------------------------------------------------------------------- +Mit der Option \Loption{substance} kann die Art der Substanz in den Gefäßen +vorgegeben werden. Die Standardvorgabe ist eine blaue Flüssigkeit (\Lmcs{pstBullesChampagne}). +Zur Auswahl stehen die in Tabelle~\ref{tab-pstlabo-substance} zusammengestellten Makros. Zu beachten +ist, dass es sich bei \Lmcs{pstFilaments} und \Lmcs{pstBULLES} um einen verpflichtenden +Farb-Parameter handelt. + +\begin{table}[!htb] +\caption{Zusammenstellung der Makros für die Option \Loption{substance}}\label{tab-pstlabo-substance} +\centering +\begin{tabular}{@{}lcl@{}} +\emph{Makroname} & \emph{Vorgabe} & \emph{Anmerkungen}\\\hline +\Lmcs{pstBullesChampagne}\Largs{Wert} & 25 & Standard\\ +\Lmcs{pstFilaments}\Largs{Wert}\Largb{Farbe} & 5\\ +\Lmcs{pstBilles}\Largs{Wert} & 50 & zweidimensional\\ +\Lmcs{pstBULLES}\Largs{Wert}\Largb{Farbe} & 20 & dreidimensional +\end{tabular} +\end{table} + +Der optionale Wert stellt die Anzahl der Durchläufe für die interne \Lmcs{multido}-Schleife dar und +ist prinzipiell nicht beschränkt, kann aber dennoch bei Werten größer als $80$ zu Problemen mit +dem definierten Speicherplatz von \TeX\ führen. Dieser kann durch Modifikation der \TeX-Konfigurationsdatei +erhöht werden. Das Verzeichnis der Knfigurationsdatei lässt sich mithilfe von \verb+kpsewhich texmf.cnf+ +ermitteln: +\begin{lstlisting}[language=sh] +voss@shania:~> kpsewhich texmf.cnf +/usr/local/texlive/2005/texmf/web2c/texmf.cnf +\end{lstlisting} + + +Das erste Beispiel zeigt die standardmäßigen Vorgaben, wobei die beiden Farben willkürlich gewählt +wurden. Das zweite Beispiel zeigt die Anwendung des optionalen Parameters. Grundsätzlich können +die möglichen Makros für \Loption{substance} und \Loption{solide} beliebig gemischt und auch untereinander +vertauscht werden. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais +\pstTubeEssais[substance=\pstBullesChampagne] +\pstTubeEssais[substance=\pstFilaments{red}] +\pstTubeEssais[substance=\pstBilles] +\pstTubeEssais[substance=\pstBULLES{white}] +\end{LTXexample} +\egroup + + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais[substance={\pstBullesChampagne[80]}] +\pstTubeEssais[substance={\pstFilaments[20]{black}}] +\pstTubeEssais[substance={\pstBilles[80]}] +\pstTubeEssais[substance={\pstBULLES[20]{white}}] +\end{LTXexample} +\egroup + +Bei Verwendung des optionalen Parameters für die Schleifenzahl ist zu beachten, dass +dieser selbst Teil eines anderen optionalen Parameters ist und somit in geschweifte +Klammern zu setzen ist, wie in obigen Beispiel deutlich zu sehen ist. + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{solide}}\label{subsec-pstlabo-solide} +% --------------------------------------------------------------------------------------- +Mit der Option \Loption{solide} kann die Art der Substanz in den Gefäßen +vorgegeben werden. Tabelle~\ref{tab-pstlabo-solide} zeigt eine Zusammenstellung +der verfügbaren Werte. Grundsätzlich gilt hier das bereits im Abschnitt~\ref{subsec-pstlabo-substance} +Gesagte, so dass hier auf eine Wiederholung verzichtet werden kann. + +\begin{table}[!htb] +\caption{Zusammenstellung der Makros für die Option \Loption{substance}}\label{tab-pstlabo-solide} +\centering +\begin{tabular}{@{}lc@{}} +\emph{Makroname} & \emph{Vorgabe} \\\hline +\Lmcs{pstTournureCuivre}\Largs{Wert} & 30 \\ +\Lmcs{pstClouFer}\Largs{Wert} & 60\\ +\Lmcs{pstGrenailleZinc}\Largs{Wert} & 25 +\end{tabular} +\end{table} + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais +\pstTubeEssais[solide=\pstTournureCuivre] +\pstTubeEssais[solide=\pstClouFer] +\pstTubeEssais[solide=\pstGrenailleZinc] +\end{LTXexample} +\egroup + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais[solide={\pstTournureCuivre[50]}] +\pstTubeEssais[solide={\pstGrenailleZinc[80]}] +\pstTubeEssais[glassType=ballon,solide={\pstClouFer[50]}] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeRecourbe}}\label{subsec-pstlabo-tubeRecourbe} +% --------------------------------------------------------------------------------------- + +Die Option \Loption{tubeRecourbe} erstellt eine Anordnung zum Sammeln des aus dem Glasgefäß +entwichenden Gases, wobei es sich hier um die Langversion mit Bunsenbrenner handelt. + + +\bgroup +\begin{LTXexample}[pos=t,preset=\raggedright] +\psset{unit=0.5cm,glassType=erlen,recuperationGaz,substance=\pstTournureCuivre} +\pstChauffageBallon +\pstChauffageBallon[tubeRecourbe] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeRecourbeCourt}}\label{subsec-pstlabo-tubeRecourbeCourt} +% --------------------------------------------------------------------------------------- + +Die Option \Loption{tubeRecourbeCourt} entspricht prinzipiell der vorhergehenden, nur das +hier sie "`Kurzversion"' ohne Bunsenbrenner dargestellt wird. + + +\bgroup +\begin{LTXexample}[pos=t,preset=\raggedright] +\psset{unit=0.5cm,glassType=flacon,recuperationGaz,substance=\pstFilaments{red}} +\pstChauffageBallon[tubeRecourbe] +\pstChauffageBallon[tubeRecourbeCourt] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{doubletube}}\label{subsec-pstlabo-doubletube} +% --------------------------------------------------------------------------------------- +\Loption{doubletube} ermöglicht die Anordnung zweier Glasröhrchen, wobei das eine mit +einem Regler versehen ist. + +\bgroup +\begin{LTXexample}[width=0.6\linewidth] +\rule{0pt}{4cm} +\psset{unit=0.5cm,glassType=ballon,% + substance=\pstClouFer} +\pstBallon +\pstBallon[doubletube] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{refrigerantBoulle}}\label{subsec-pstlabo-refrigerantBoulle} +% --------------------------------------------------------------------------------------- +\Loption{refrigerantBoulle} ist eine der Optionen, die die Ausgabe einer komplexen Apparatur +ermöglichen. Zu beachten ist hierbei, dass der geometrische Mittelpunkt in der Mitte der Anordnung +liegt. Was allerdings nur von Bedeutung ist, wenn weitere Dinge angeordnet werden sollen. + +\bgroup +\begin{LTXexample}[width=0.3\linewidth] +\psset{unit=0.5cm} +\pstBallon[refrigerantBoulles,glassType=ballon,% + substance=\pstClouFer] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{recuperationGaz}}\label{subsec-pstlabo-recuperationGaz} +% --------------------------------------------------------------------------------------- +\Loption{recuperationGaz} bezeichnet die bereits mehrfach angegebene Anordnung zum +Auffangen sich ausdehnender Gase. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=flacon,tubeRecourbe,substance={\pstFilaments[10]{red}}} +\pstChauffageBallon +\pstChauffageBallon[recuperationGaz] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{burette}}\label{subsec-pstlabo-burette} +% --------------------------------------------------------------------------------------- +Standardmäßig ist für das Makro \Lmcs{pstDosage} die Darstellung einer Bürette vorgesehen. +Mit der Option \Loption{burette} kann dies unterbunden werden. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.4cm} +\pstDosage[glassType=erlen] +\pstDosage[glassType=erlen,burette=false] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{niveauReactifBurette} und \texttt{couleurReactifBurette}}\label{subsec-pstlabo-niveauReactifBurette} +% --------------------------------------------------------------------------------------- +\Loption{niveauReactifBurette} und \Loption{couleurReactifBurette} kennzeichnen Flüssigkeitsstand +in Prozent und die Farbe der chemischen Reaktion in einer Bürette. + +\begin{center} +\bgroup +\psset{unit=0.4cm,glassType=erlen,niveauLiquide1=60} +\pstDosage[niveauReactifBurette=25,couleurReactifBurette=cyan] +\pstDosage[niveauReactifBurette=10] +\egroup +\end{center} +\begin{lstlisting} +\psset{unit=0.4cm,glassType=erlen,niveauLiquide1=60} +\pstDosage[niveauReactifBurette=25,couleurReactifBurette=cyan] +\pstDosage[niveauReactifBurette=10] +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{AspectMelange} und \texttt{CouleurDistillat}}\label{subsec-pstlabo-AspectMelange} +% --------------------------------------------------------------------------------------- +\Loption{AspectMelange} bezeichnet die Farbe der chemischen Substanz und muss einem +definierten Stil entsprechen, so dass auch Farbgradienten möglich sind. Dagegen +ist \Loption{CouleurDistillat} als reine Farbe für das Destillat definiert. + +\begin{center} +\bgroup +\psset{unit=0.4cm} +\pstDistillation(-3,-10)(7,6)\quad +\pstDistillation[AspectMelange=Diffusion,CouleurDistillat=red](-3,-10)(7,6) +\egroup +\end{center} + +\begin{lstlisting} +\psset{unit=0.4cm} +\pstDistillation(-3,-10)(7,6)\quad +\pstDistillation[AspectMelange=Diffusion,CouleurDistillat=red](-3,-10)(7,6) +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{phmetre}}\label{subsec-pstlabo-phmetre} +% --------------------------------------------------------------------------------------- +\Loption{phmetre} aktiviert die Darstellung eines ph-Wert Messgerätes, welches allerdings +nur für das Makro \Lmcs{pstDosage} zur Verfügung steht. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher,burette=false} +\pstDosage +\pstDosage[phmetre] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{agitateurMagnetique}}\label{subsec-pstlabo-agitateurMagnetique} +% --------------------------------------------------------------------------------------- +\Loption{agitateurMagnetique} ist standardmäßig aktiviert und bezeichnet die Heizplatte. +Bei Deaktivierung entfällt lediglich das EInzeichnen der Symbole, das Rechteck bleibt erhalten. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,burette=false,glassType=becher} +\pstDosage +\pstDosage[agitateurMagnetique=false] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{niveauLiquide1}, \texttt{niveauLiquide2}, \texttt{niveauLiquide3} + und \texttt{aspectLiquide1}, \texttt{aspectLiquide2}, \texttt{aspectLiquide3}}\label{subsec-pstlabo-niveauLiquide1} +% --------------------------------------------------------------------------------------- + Diese sechs Optionen kennzeichen Höhe und Stil der jeweiligen + Flüssigkeiten 1, 2 und 3, wobei der Stil einer der vorgegebenen oder + ein neu definierter sein kann (siehe + Abschnitt~\ref{subsec-pstlabo-substance}. Je nach verwendetem Makro + müssen dabei nicht immer alle Optionen möglich sein. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.4cm,glassType=becher} +\rule{0pt}{6cm} +\pstDosage[niveauReactifBurette=18,niveauLiquide1=30,aspectLiquide1=Champagne,% + glassType=becher,phmetre=true] +\pstDosage[niveauReactifBurette=20,niveauLiquide1=40,aspectLiquide1=Champagne,% + glassType=becher,phmetre=false,agitateurMagnetique=false] +\end{LTXexample} +\egroup + +\bgroup +\makebox[\textwidth]{% +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \psset{glassType=tube} + \rput(2.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(3,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=75,aspectLiquide1=Sang]} + \rput(2,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80]} +\end{pspicture} +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \rput(2.4,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(2.8,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=65,aspectLiquide1=Sang]} + \rput(1.7,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=10]} + \rput(3.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=-10]} +\end{pspicture} +\begin{pspicture}(1,3)(5,6) + \rput(2.5,4){\pstBallon[glassType=ballon,unit=0.5,niveauLiquide1=15]} + \rput(1.3,5.4){\pstTubeEssais[unit=0.5,niveauLiquide1=95, + niveauLiquide2=60,niveauLiquide3=30,tubePenche=-60]} +\end{pspicture} +} +\egroup + +\begin{lstlisting} +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \psset{glassType=tube} + \rput(2.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(3,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=75,aspectLiquide1=Sang]} + \rput(2,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80]} +\end{pspicture} +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \rput(2.4,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(2.8,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=65,aspectLiquide1=Sang]} + \rput(1.7,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=10]} + \rput(3.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=-10]} +\end{pspicture} +\begin{pspicture}(1,3)(5,6) + \rput(2.5,4){\pstBallon[glassType=ballon,unit=0.5,niveauLiquide1=15]} + \rput(1.3,5.4){\pstTubeEssais[unit=0.5,niveauLiquide1=95, + niveauLiquide2=60,niveauLiquide3=30,tubePenche=-60]} +\end{pspicture} +\end{lstlisting} + + + +% --------------------------------------------------------------------------------------- +\section{Vordefinierte Farben und Stile}\label{sec:pstlabo8:Stile} +% --------------------------------------------------------------------------------------- +Die folgende Zusammenstellung zeigt die bereits mit dem Paket \LPack{pst-labo} vordefinierten +Farben und Stile, die vom Anwender nach Belieben überschrieben werden können. + + + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\definecolor{Beige} {rgb}{0.96,0.96,0.86} +\definecolor{GrisClair} {rgb}{0.8,0.8,0.8} +\definecolor{GrisTresClair} {rgb}{0.9,0.9,0.9} +\definecolor{OrangeTresPale}{cmyk}{0,0.1,0.3,0} +\definecolor{OrangePale} {cmyk}{0,0.2,0.4,0} +\definecolor{BleuClair} {cmyk}{0.2,0,0,0} +\definecolor{LightBlue} {rgb}{.68,.85,.9} +\definecolor{Copper} {cmyk}{0,0.9,0.9,0.2} +\definecolor{Marron} {cmyk}{0,0.3,0.5,.3} +% +\newpsstyle{aspectLiquide1} {linestyle=none,fillstyle=solid,fillcolor=cyan} +\newpsstyle{aspectLiquide2} {linestyle=none,fillstyle=solid,fillcolor=yellow} +\newpsstyle{aspectLiquide3} {linestyle=none,fillstyle=solid,fillcolor=magenta} +\newpsstyle{Champagne} {linestyle=none,fillstyle=solid,fillcolor=Beige} +\newpsstyle{BilleThreeD} {linestyle=none,fillstyle=gradient,gradmidpoint=0,gradend=white,GradientCircle=true} +\newpsstyle{Sang} {linestyle=none,fillstyle=solid,fillcolor=red} +\newpsstyle{Cobalt} {linewidth=0.2,fillstyle=solid,fillcolor=blue} +\newpsstyle{Huile} {linestyle=none,fillstyle=solid,fillcolor=yellow} +\newpsstyle{Vinaigre} {linestyle=none,fillstyle=solid,fillcolor=magenta} +\newpsstyle{Diffusion} {linestyle=none,fillstyle=gradient,gradmidpoint=0} +\newpsstyle{DiffusionMelange2}{fillstyle=gradient,gradbegin=white,gradend=red,gradmidpoint=0,linecolor=red} +\newpsstyle{flammeEtGrille} {linestyle=none,fillstyle=gradient,gradmidpoint=0,gradbegin=OrangePale,gradend=yellow} +\newpsstyle{rayuresJaunes} {fillstyle=hlines,linecolor=yellow,hatchcolor=yellow} +\newpsstyle{DiffusionBleue} {fillstyle=gradient,gradmidpoint=0,linestyle=none,gradbegin=green,gradend=cyan} +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\section{Makros}\label{sec:pstlabo8:Makros} +% --------------------------------------------------------------------------------------- + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstTubeEssais}}\label{sec:pstlabo8:pstTubeEssais} +% --------------------------------------------------------------------------------------- +Dieses Makro ist die einfachste Variante der chemischen Gefäße und ist auch schon +mehrfach in den vorgehenden Beispielen gezeigt worden. Die Standardvorgabe +ohne Parameter ist das normale Reagenzglas (\verb+glassType=tube+). + + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5} +\pstTubeEssais +\pstTubeEssais[glassType=becher] +\pstTubeEssais[glassType=erlen,niveauLiquide1=80] +\pstTubeEssais[glassType=flacon] +\pstTubeEssais[glassType=ballon,niveauLiquide1=20,aspectLiquide1=DiffusionBleue] +\pstTubeEssais[glassType=fioleJauge] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstChauffageTube}}\label{sec:pstlabo8:pstChauffageTube} +% --------------------------------------------------------------------------------------- +\Lmcs{pstChauffageTube} stellt eine Erweiterung des vorstehenden Makros dar, indem +zusätzlich eine Heizplatte, einen Bunsenbrenner oder auch eine zweite Röhre +erstellt werden. + + +\begin{center} +\bgroup +\psset{unit=0.5} +\pstChauffageTube[tubeSeul] +\pstChauffageTube[glassType=ballon,becBunsen=false,tubeSeul] +\pstChauffageTube[glassType=erlen,becBunsen,pince,tubeSeul] +\pstChauffageTube[becBunsen,barbotage,glassType=flacon] +\pstChauffageTube[becBunsen,tubeCoude,glassType=ballon,niveauLiquide1=20,% + aspectLiquide1=DiffusionBleue,tubeSeul,pince] +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5} +\pstChauffageTube[tubeSeul] +\pstChauffageTube[glassType=ballon,becBunsen=false,tubeSeul] +\pstChauffageTube[glassType=erlen,becBunsen,pince,tubeSeul] +\pstChauffageTube[becBunsen,barbotage,glassType=flacon] +\pstChauffageTube[becBunsen,tubeCoude,glassType=ballon,niveauLiquide1=20,% + aspectLiquide1=DiffusionBleue,tubeSeul,pince] +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstBallon}}\label{sec:pstlabo8:pstBallon} +% --------------------------------------------------------------------------------------- +\Lmcs{pstBallon} ist faktisch identisch zur Anwendung \Lmcs{pstTubeEssais}, erlaubt jedoch +weitere Optionen. + +\begin{center} +\bgroup +\psset{unit=0.5cm} +\pstBallon\hspace{-0.5cm} +\pstBallon[glassType=erlen]\hspace{-0.5cm} +\pstBallon[glassType=becher,xunit=0.75cm,yunit=0.3cm,aspectLiquide1=Champagne,runit=0.4cm]\hspace{-0.5cm} +\raisebox{0.5cm}{\pstBallon[refrigerantBoulles=true]} +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstBallon\hspace{-0.5cm} +\pstBallon[glassType=erlen]\hspace{-0.5cm} +\pstBallon[glassType=becher,xunit=0.75cm,yunit=0.25cm,aspectLiquide1=Champagne,runit=0.4cm]\hspace{-0.5cm} +\raisebox{1cm}{\pstBallon[refrigerantBoulles=true]} +\end{lstlisting} + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstChauffageBallon}}\label{sec:pstlabo8:pstChauffageBallon} +% --------------------------------------------------------------------------------------- +\Lmcs{pstChauffageBallon} ist eine Erweiterung des vorhergehenden Makros und hat +standardmäßig den Bunsenbrenner vorgesehen. + +\begin{center} +\bgroup +\psset{unit=0.5cm} +\pstChauffageBallon +\pstChauffageBallon[barbotage,tubeCoudeUB,becBunsen,substance=\pstBilles]\\ +\pstChauffageBallon[glassType=flacon,recuperationGaz,tubeRecourbeCourt,substance={\pstFilaments[10]{red}}] +\pstChauffageBallon[doubletube,recuperationGaz,substance=\pstClouFer] +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstChauffageBallon +\pstChauffageBallon[barbotage,tubeCoudeUB,becBunsen,substance=\pstBilles]\\ +\pstChauffageBallon[glassType=flacon,recuperationGaz,tubeRecourbeCourt,substance={\pstFilaments[10]{red}}] +\pstChauffageBallon[doubletube,recuperationGaz,substance=\pstClouFer] +\end{lstlisting} + + + +\begin{center} +\bgroup +\psset{unit=0.5cm} +\pstChauffageBallon[glassType=erlen,tubeRecourbe,recuperationGaz,substance=\pstTournureCuivre]\hspace{3cm} +\pstChauffageBallon[glassType=becher,aspectLiquide1=Champagne,substance=\pstBullesChampagne]\hspace{.25cm} +\pstChauffageBallon[glassType=erlen,substance=\pstBullesChampagne,tubeDroit] +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstChauffageBallon[glassType=erlen,tubeRecourbe,recuperationGaz,substance=\pstTournureCuivre] +\pstChauffageBallon[glassType=becher,aspectLiquide1=Champagne,substance=\pstBullesChampagne] +\pstChauffageBallon[glassType=erlen,substance=\pstBullesChampagne,tubeDroit] +\end{lstlisting} + + + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstEntonnoir}}\label{sec:pstlabo8:pstTubeEssais} +% --------------------------------------------------------------------------------------- +\Lmcs{pstEntonnoir} als Trichter wird ohne Parameter automatisch im Zusammenhang mit +dem Reagenzglas benutzt. Daneben sind alle anderen Kombinationen möglich und denkbar. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm} +\pstEntonnoir +\pstEntonnoir[glassType=becher,tubePenche=-20] +\pstEntonnoir[glassType=flacon,etiquette=true,Numero={\green 37},% + aspectLiquide1=DiffusionBleue,niveauLiquide1=80] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstEprouvette}}\label{sec:pstlabo8:pstEprouvette} +% --------------------------------------------------------------------------------------- +\Lmcs{pstEprouvette} stellt den allgemein bekannten Messbecher dar, dessen +Größe über die \PST-Maßstabsfaktoren verändert werden kann. + + +\bgroup +\begin{LTXexample} +\pstEprouvette[yunit=0.5cm] +\pstEprouvette[unit=0.6cm,niveauLiquide1=100,niveauLiquide2=60,niveauLiquide3=30] +\end{LTXexample} +\egroup + + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstpipette}}\label{sec:pstlabo8:pstpipette} +% --------------------------------------------------------------------------------------- +\Lmcs{pstpipette} stellt eine normale mit Maßstrichen versehene Pipette dar und +kann ebenfalls über die \PST-Maßstabsfaktoren verändert werden. + +\bgroup +\begin{LTXexample} +\pstpipette[unit=0.5cm,tubePenche=40] +\pstpipette[yunit=0.5cm] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstDosage}}\label{sec:pstlabo8:pstDosage} +% --------------------------------------------------------------------------------------- +\Lmcs{pstDosage} wird in der Regel im Zusammnhang mit anderen Geräten angewendet werden. +Die Bürette hat eine maximale Kapazität von 25 mL, wobei die aktuelle Höhe und die +Art des chemischen Stoffes über Optionen veränderbar sind. Weiterhin sind optional +ein PH-Messgerät oder eine Heizplatte wählbar, wobei ersteres nur mit dem Glastyp \verb+becher+ +zur Verfügung steht. + + +\bgroup\noindent +\makebox[\linewidth]{% +\psset{unit=0.5cm} +\pstDosage +\pstDosage[glassType=becher,phmetre=true] +\pstDosage[niveauReactifBurette=10,niveauLiquide1=60,aspectLiquide1=Champagne,% + glassType=flacon,agitateurMagnetique=false] +\pstDosage[glassType=erlen,burette=false]} +\egroup + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstDosage +\pstDosage[glassType=becher,phmetre=true] +\pstDosage[niveauReactifBurette=10,niveauLiquide1=60,aspectLiquide1=Champagne,% + glassType=flacon,agitateurMagnetique=false] +\pstDosage[glassType=erlen,burette=false]} +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstDistillation}}\label{sec:pstlabo8:pstDistillation} +% --------------------------------------------------------------------------------------- +\Lmcs{pstDistillation} erwartet als einziges Makro die Maße für die \Lmenv{pspicture} +Umgebung. + +\medskip +\noindent +\Lmcs{pstDistillation}\\ +\Lmcs{pstDistillation}\Largr{$x_{ll},y_{ll}$}\Largr{$x_{ur},y_{ur}$} % $ + +\medskip +Bei fehlender Angabe der Koordinaten wird ein Rechteck der Größe $(-4,-10)(8,7)$ +angenommen, was davon ausgeht, dass noch weitere Objecte mithilfe der \Lmcs{rput}-Anweisung +eingefügt werden sollen. + +\bgroup +\begin{LTXexample} +\psset{unit=0.5cm} +\pstDistillation(-3,-10)(7,6) +\end{LTXexample} +\egroup + + + + + +% --------------------------------------------------------------------------------------- +\section{Basisobjekte}\label{sec:pstlabo:Objects} +% --------------------------------------------------------------------------------------- +Die Liste der möglichen Basisobjekte kann man der Datei \LFile{pst-laboObj.tex} entnehmen. +Aus Platzgründen wird hier darauf verzichtet sie alle explizit anzugeben. + + + +% --------------------------------------------------------------------------------------- +\section{Beispiele}\label{sec:pstlabo:Beispiele} +% --------------------------------------------------------------------------------------- +Das Erzeugen komplexer Beispiele wird erheblich vereinfacht, wenn man sich an einem +mit \Lmcs{psgrid} erzeugten Koordinatengitter orientiert, wie dies bereits in +Abschnitt~\vref{sec:overlay:Ueberschreiben} im Zusammenhang mit Overlays gezeigt wurde. + +\begin{center} +\bgroup +\sffamily +\begin{pspicture}(0,-4)(7,4) + \rput(3,0){\pstDosage[niveauReactifBurette=25,niveauLiquide1=30,% + aspectLiquide1=Champagne,glassType=becher,phmetre,unit=0.5]} + \rput(2,3){B\"urette} + \rput(4.7,3.6){25 mL} + \rput(5.2,-2.2){H$_3$O$^+$+Cl$^-$} + \rput(.8,-3){PH-Messer} + \rput(5,-2.8){20 mL} + \rput(5,1){Na$^+$+OH$^-$} \rput(6.4,-3.6){Heizplatte} + \psline{->}(2.7,2.9)(3.4,2.9) +\end{pspicture} +\begin{pspicture}(-3,-2)(2,3) + \psset{unit=0.5cm} + \rput(-4.5,4.0){\pstEprouvette[tubePenche=-60,niveauLiquide1=90,niveauLiquide2=50]} + \rput(.5,0){\pstEntonnoir[glassType=flacon,niveauLiquide1=30]} + \rput(.5,7.5){ + \framebox{\begin{minipage}{3.2cm}Nach der Dekan\-ta\-tion + sind die einzelnen Phasen getrennt, das Leichteste sammelt man durch Filtrieren. + \end{minipage}}} +\end{pspicture} +\egroup +\figcaption{Anwendung für \Lmcs{pstDosage}} + + +\bigskip +\bgroup +\psset{unit=0.5cm,etiquette} +\newpsstyle{Nickel}{fillstyle=solid,fillcolor=green} +\pstTubeEssais[niveauLiquide1=20,aspectLiquide1=Champagne,Numero=1]\kern-20pt +\pstTubeEssais[niveauLiquide1=30,aspectLiquide1=Cobalt,Numero=2]\kern-20pt +\pstTubeEssais[niveauLiquide1=40,aspectLiquide1=Sang,Numero=3]\kern-20pt +\pstTubeEssais[Numero=4]\kern-20pt +\psset{bouchon,glassType=flacon} +\pstTubeEssais[aspectLiquide1=Vinaigre,Numero={\footnotesize MnO$_4^-$}] +\pstTubeEssais[aspectLiquide1=Huile,unit=0.75,Numero={\footnotesize Ce$^{4+}$}] +\pstTubeEssais[aspectLiquide1=Nickel,Numero={\footnotesize Ni$^{2+}$}] +\pstTubeEssais[Numero={\footnotesize Cu$^{2+}$}] +\pstTubeEssais[niveauLiquide1=30,aspectLiquide1=Champagne,Numero={\footnotesize NaOH},unit=0.75] +\egroup +\figcaption{Anwendung für \Lmcs{pstTubeEssais}} +\end{center} + +\section*{Credits} +Patrick Drechsler | Arnaud Schmittbuhl + + +\nocite{*} +\bibliographystyle{plain} +\bibliography{pst-labo-doc} + + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docEN.ltx b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docEN.ltx new file mode 100644 index 00000000000..145a0f75fd6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docEN.ltx @@ -0,0 +1,224 @@ +\documentclass[11pt,a4paper,english]{article} +\usepackage[latin1]{inputenc}% +\usepackage[T1]{fontenc} +\usepackage{babel} +\usepackage{lmodern} +\usepackage{enumerate,longtable,url} +\let\OldUrl=\url +\renewcommand\url[1]{\protect\OldUrl{#1}} + +\usepackage[scaled]{luximono} +% +\usepackage{xspace,nonfloat} +\usepackage[bottom]{footmisc} +% +\usepackage{tabularx} +\usepackage{longtable} +\usepackage{ltxtable} +\usepackage{varioref} +\usepackage[NewCommands,NewParameters]{ragged2e} +\usepackage{url} +\def\UrlFont{\ttfamily} +\makeatletter +%\def\verbatim@font{\small\normalfont\ttfamily} +% +\usepackage[dvipsnames,prologue,table]{pstricks} +\colorlet{tableheadcolor}{gray!25} +\colorlet{tablerowcolor}{gray!12} +\newcommand\XCBox[1]{\fcolorbox{black}{#1}{\phantom{aa}} \small #1} +\usepackage{pst-labo} +\let\PSTfileversion\fileversion +\SpecialCoor +\psset{griddots=10,subgriddiv=0,gridlabels=7pt} +% +\definecolor{hellgelb}{rgb}{1,1,0.8} +\definecolor{shadecolor}{rgb}{0.9,0.9,0.9} +\definecolor{sphgrau}{rgb}{0.40,0.40,0.40} +% +% ------------------------------- Namen Abkuerungen ---------------------- +\newcommand{\La}% + {L\kern-.36em + {\setbox0\hbox{T}% + \vbox to\ht0{\hbox{$\m@th$% + \csname S@\f@size\endcsname + \fontsize\sf@size\z@ + \math@fontsfalse\selectfont + A}% + \vss}% + }} +\def\AllTeX{(\La\kern-.075em)\kern-.075em\TeX\xspace} +\def\AMS{American Mathematical Society\xspace} +\def\AmS{$\mathcal{A}$\kern-.1667em\lower.5ex\hbox + {$\mathcal{M}$}\kern-.125em$\mathcal{S}$} +\def\AmSLaTeX{\AmS-\LaTeX\xspace} +\let\latex\LaTeX +\let\tex\TeX +% +\def\BibTeX{\textsc{Bib}\kern-.08em\TeX\index{BiBTeX@Bib\TeX}} +\def\PT{Plain \TeX\index{Plain TeX@Plain \TeX}\xspace} +\def\PST{{\texttt{PSTricks}}\xspace} +\def\CTAN{{\texttt{CTAN}}\index{CTAN}\xspace} +\def\PDF{{\texttt{PDF}}\xspace} +\def\pst{{\texttt{pstricks}}\xspace} +\def\PS{PostScript\xspace} +\def\CT{Con\TeX t\index{ConTeXt@Con\TeX t}\xspace} +\def\GS{Ghostscript\index{Ghostscript}\xspace} +\def\GeX{G\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@} +\def\at{\char064} +\def\VTeX{\texttt{V\TeX}\index{VTeX@\texttt{V\protect\TeX}}} +\newcommand*\CMD[1]{{\texttt{\textbackslash #1}}} +\newcommand\Paket[1]{\texttt{#1}} +\providecommand\Programm[1]{\textsf{#1}} +\providecommand\RaggedRight{\raggedright} +% +\def\Index#1{\index{#1}#1} +\index{Environment|see{Umgebung}} +\def\eIndex#1{\index{Umgebung!#1@\texttt{#1}}\index{#1@\texttt{#1}}} +\def\tIndex#1{\index{#1@\texttt{#1}}} +\def\cIndex#1{\index{#1@\protect\CMD{#1}}} +\def\pIndex#1{\index{Parameter@\textbf{Parameter}!#1@\texttt{#1}}\index{#1@\texttt{#1}}} +\def\ppIndex#1{\index{Parameter@\textbf{Parameter}!#1@\texttt{#1}}} +\def\sIndex#1{\index{Syntax@\textbf{Syntax}!\protect\CMD{#1}}} +\def\csIndex#1{\sIndex{#1}\cIndex{#1}} +\def\PIndex#1{\index{Paket@\textbf{Paket}!\texttt{#1}}} +\def\mIndex#1{\texttt{#1}\tIndex{#1}\pIndex{#1}} +\def\aref#1{$\rightarrow$\vref{#1}} +\def\PSindex#1{\index{PostScript!#1}} +\def\Makroindex#1{\index{Makro!#1@\protect\CMD{#1}}} +\def\Optindex#1{\index{Parameter@\textbf{Parameter}!\texttt{#1}}} +\def\ttindex#1{\index{#1@\texttt{#1}}} +\def\vert{\ensuremath{|}} +% +\let\Olddegrees\textdegrees +\def\textdegrees{\ensuremath{\mbox{\Olddegrees}}} +\def\sa{\ensuremath{\sphericalangle}\xspace}% needs amssymb +% +% +%%-------------------------------- danger --------------------------------------------- +\usepackage{manfnt} +\usepackage{lettrine} +\newsavebox{\dBox} + +\newenvironment{dangerPar*} +{\gdef\dangerSym{\dbend\,\dbend}\@dangerPar} +{\end@dangerPar} + +\newenvironment{dangerPar} +{\gdef\dangerSym{\dbend\phantom{\,\dbend}}\@dangerPar} +{\end@dangerPar} + +\def\@dangerPar{% + \begin{lrbox}{\dBox} + \minipage[c]{\linewidth-\widthof{\dangerSym}-\columnsep}% +} +\def\end@dangerPar{% + \endminipage + \end{lrbox}% + \trivlist\item\relax + \noindent + \minipage[c]{\widthof{\dangerSym}} + \raisebox{\height}[.9\height][.1\height]{\dangerSym}% ??? + \endminipage + \hfill + \minipage[c]{\wd\dBox} + \usebox{\dBox} + \endminipage% + \endtrivlist +} +\newsavebox{\bombbox} +\sbox\bombbox{% + \psset{unit=.55ex}% + \begin{pspicture}(-4,-4)(4,4) + \pscircle[fillcolor=gray,fillstyle=solid]{4} + \rput{45}{\psscaleboxto(6,0){\textsf{\textbf{PS}}}} + \psellipse*(0,3.8)(1,.2) + \psellipse*(0,5.5)(1,.2) + \psframe*(-1,3.8)(1,5.5) + \psbezier(0,5.5)(0,7)(1,8)(3.5,8) + \multido{\r=-0+40}{9}{\rput{\r}(3.5,8){\psline(0,0)(.4,0)}} + \end{pspicture}} + +\newcommand\danger{% + \lettrine[lines=2,lraise=0.65,nindent=0pt,findent=.5em]{{\small\dbend}}} + +\newcommand\ddanger{% + \lettrine[lines=2,lraise=0.65,nindent=0pt,findent=.5em]{% + {\small\dbend\,\dbend}}} + +\newcommand\DANGER{% + \lettrine[lines=3,lraise=0.01,lhang=0,nindent=0pt,findent=.75em]{% + \usebox\bombbox}} +%%------------------------------- Rest ------------------------------------------ +\pretolerance=500 +\tolerance=1000 +\hbadness=3000 +\vbadness=3000 +\hyphenpenalty=400 + +%-------------------------------- Listings ------------------------------------- +\usepackage{showexpl}% not a real PSTricks package +% +\renewcommand{\ttdefault}{ul9}% Luxi Mono +%\lstset{language=PSTricks,keywordstyle=\small\fontfamily{ul9}\bfseries} +\lstset{wide=true} +% +%-------------------------------- Allgemein ------------------------------------- +%\addtolength\belowcaptionskip{-10pt} +% +\providecommand\dante{DANTE \eV} +\providecommand\eV{e.V\kern-.18em\@ifnextchar.{}{.}} +\def\textat{\protect\makeatletter\texttt{@}\protect\makeatother} + +\def\lBrace{\texttt{\{}} +\def\rBrace{\texttt{\}}} +\def\lBracket{\texttt{[}} +\def\rBracket{\texttt{]}} +% +\newcounter{SX@refC}% for texlive8 +\def\PSTemph#1{\textit{\texttt{#1}}} +% +\def\LPack#1{\texttt{#1}} +\def\Lmenv#1{\texttt{#1}} +\def\Lmcs#1{\CMD{#1}\Makroindex{#1}\cIndex{#1}} +\let\xLcs\Lmcs +\let\Lcs\CMD +\let\Lit\texttt +\def\Loption#1{\texttt{#1}\Optindex{#1}\ttindex{#1}} +\def\LProg#1{\texttt{#1}\pIndex{#1}} +\let\Prog\LProg +\def\LFile#1{\texttt{#1}\tIndex{#1}} +\def\LColor#1{\texttt{#1}\index{Farbe!#1@\texttt{#1}}} +\def\Lindex#1{#1\index{#1}}% Ausgeben und in den Index +\def\Lext#1{\texttt{#1}\index{Dateiendung!#1@\texttt{#1}}} +\def\LClass#1{\texttt{#1}} +\def\Lmnotation#1{\texttt{#1}\tIndex{#1}} +\newcommand\Larga{} +\DeclareRobustCommand\Larga[1]{$\langle$\PSTemph{#1}$\rangle$} +\newcommand\LargA{} +\DeclareRobustCommand\LargA[1]{\lBrace$\langle$\PSTemph{#1}$\rangle$\rBrace} +\newcommand\Largs{} +\DeclareRobustCommand\Largs[1]{\lBracket$\langle$\PSTemph{#1}$\rangle$\rBracket} +\newcommand\Largb{} +\DeclareRobustCommand\Largb[1]{\lBrace$\langle$\PSTemph{#1}$\rangle$\rBrace} +\newcommand\Largr{} +\DeclareRobustCommand\Largr[1]{\PSTemph{({#1})}} +\DeclareRobustCommand\Largra[1]{(\Larga{#1})} +\newcommand\Larg{} +\DeclareRobustCommand\Larg[1]{\lBrace\texttt{#1}\rBrace} +\def\begEnv#1{\CMD{begin\{#1\}}\tIndex{#1}} +\def\endEnv#1{\CMD{end\{#1\}}} +\def\OptArg{\Largs{Optionen}} +\def\Largrao{($\langle x_0,y_0\rangle$)} +\def\Largrai{($\langle x_1,y_1\rangle$)} +\def\Largraii{($\langle x_2,y_2\rangle$)} +\def\Largraiii{($\langle x_3,y_3\rangle$)} +\def\Largran{($\langle x_n,y_n\rangle$)} +% +\input random +\def\cite#1{} +% +\begin{document} + +\input{pst-labo-docEN} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docEN.pdf b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docEN.pdf Binary files differnew file mode 100644 index 00000000000..cbb5863f015 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docEN.pdf diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docEN.tex b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docEN.tex new file mode 100644 index 00000000000..2028060ed4c --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docEN.tex @@ -0,0 +1,920 @@ +% $Id: pst-labo-docEN.tex,v 1.4 2005/10/13 19:07:24 patrick Exp patrick $ +\title{\texttt{PST-Labo} - chemical objects\thanks{The english translation was done by Patrick Drechsler}\\ +\footnotesize{version \PSTfileversion}} +\author{% +Denis Girou\thanks{\url{Denis.Girou@idris.fr}}, +Christophe Jorssen\thanks{\url{Christophe.Jorssen@wanadoo.fr}}, +Manuel Luque\thanks{\url{Mluque5130@aol.com}} and +Herbert Vo\ss\thanks{\url{voss@pstricks.de}}} +\date{\today} +\maketitle + +\begin{abstract} + \LPack{pst-labo} provides macros for a variety of devices used + mainly for chemical applications.\cite{pst-labo} Since most of these + devices have a standardised design \LPack{pst-labo} spares you the + trouble of having to create them manually. Besides the usage of the + package \LPack{pst-osci} this document also describes how to create + ``high-level'' objects using the command \PST .\cite{PSTricks2} All + basic objects are included in the file \LFile{pst-laboObj.tex} and + are loaded during the start of \LPack{pst-labo}. These objects can + be used for personal extensions. Section~\ref{sec:pstlabo:Objects} + gives an overview of all objects. +\end{abstract} + +\tableofcontents + +\newpage +% --------------------------------------------------------------------------------------- +\section{Parameter}\label{sec:pstlabo8:Parameter} +% --------------------------------------------------------------------------------------- +Table~\ref{tab:pst-labo:Parameter} describes all parameters unique to +\LPack{pst-labo}. + +\noindent +\LTXtable{\linewidth}{pstlabo8-tab1-EN.tex}% + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{glassType}}\label{subsec-pstlabo-glassType} +% --------------------------------------------------------------------------------------- +\Loption{glassType} describes the type of glass container. A normal +test tube is used by default. + +\bgroup +\begin{LTXexample}[preset=\raggedright] +\psset{unit=0.5cm} +\pstTubeEssais +\pstTubeEssais[glassType=ballon] +\pstTubeEssais[glassType=erlen] +\pstTubeEssais[glassType=becher] +\pstTubeEssais[glassType=flacon] +\pstTubeEssais[glassType=fioleJauge] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{bouchon}}\label{subsec-pstlabo-bouchon} +% --------------------------------------------------------------------------------------- +The option \Loption{bouchon} seals the respective glass container with +a plug. + +\bgroup +\begin{LTXexample}[width=0.575\linewidth,preset=\raggedright] +\psset{unit=0.45cm} +\psset{bouchon=true} +\pstTubeEssais[glassType=tube] +\pstTubeEssais[glassType=ballon] +\pstTubeEssais[glassType=erlen] +\pstTubeEssais[glassType=flacon] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{pince}}\label{subsec-pstlabo-pince} +% --------------------------------------------------------------------------------------- +The option \Loption{pince} attaches a wooden test tub clamp to the +glass container. + +\bgroup +\begin{LTXexample}[width=0.55\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{bouchon=true,pince=true} +\pstTubeEssais[glassType=tube]\hspace{1cm} +\pstTubeEssais[glassType=erlen] +\end{LTXexample} +\egroup + + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeDroit}}\label{subsec-pstlabo-tubeDroit} +% --------------------------------------------------------------------------------------- +The option \Loption{tubeDroit} inserts a narrow glass tube into the +glass container. Since this combination is only useful in combination +with the option \verb+bouchon=true+ it is set to this value by default +internally. It is to be noted that there is no vertical spacing of the +narrow glass tube inserted by default, so the user has to take care of +this manually, f.\,ex.~using \verb+\rule{0pt}{4cm}+. + +\bgroup +\begin{LTXexample}[width=0.55\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{tubeDroit=true} +\rule{0pt}{4cm}% +\pstTubeEssais +\pstTubeEssais[glassType=ballon] +\pstTubeEssais[glassType=erlen] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeCoude}}\label{subsec-pstlabo-tubeCoude} +% --------------------------------------------------------------------------------------- +The option \Loption{tubeCoude} is basically identical to the previous +one, except for the fact that a right-angled glass tube is +drawn. Therefor the extra space needed in the vertical direction is +less. + +\bgroup +\begin{LTXexample}[width=0.55\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{tubeCoude=true} +\rule{0pt}{2.5cm}% +\pstTubeEssais[glassType=erlen] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeCoudeU}}\label{subsec-pstlabo-tubeCoudeU} +% --------------------------------------------------------------------------------------- +The option \Loption{tubeCoude} is basically identical to the previous +one, except for the fact that a U-shaped glass tube is drawn. Therefor +there is less space needed in the vertical direction. + +\bgroup +\begin{LTXexample}[width=0.5\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{tubeCoudeU=true} +\rule{0pt}{2.5cm}% +\pstTubeEssais[glassType=ballon] +\end{LTXexample} +\egroup + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeCoudeUB}}\label{subsec-pstlabo-tubeCoudeUB} +% --------------------------------------------------------------------------------------- +The option \Loption{tubeCoudeUB} is an extension of the U-shaped glass +tube which is only useful if extending the tube to the bottom makes +sense, as shown for instance in the macro \Lmcs{pstChauffageBallon}. + +\bgroup +\begin{LTXexample}[pos=t,preset=\raggedright] +\psset{unit=0.5cm,glassType=ballon} +\pstChauffageBallon[tubeCoudeU] \pstChauffageBallon[tubeCoudeUB] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{etiquette} and \texttt{Numero}}\label{subsec-pstlabo-etiquette} +% --------------------------------------------------------------------------------------- +The option \Loption{etiquette} is a switch displaying labels defined +using the option \Loption{Numero}. + + +\bgroup +\begin{LTXexample}[width=0.42\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\pstTubeEssais[etiquette] +\pstTubeEssais[etiquette,Numero=1] +\pstTubeEssais[glassType=flacon,bouchon,% + etiquette,Numero={\small Cu$^{2+}$}] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubePenche}}\label{subsec-pstlabo-tubePenche} +% --------------------------------------------------------------------------------------- +The option \Loption{tubePenche} allows tilting the chemical devices to +almost any desired angle while keeping the the air-water level +horizontal. The angles must be within the interval of $-65\ldots ++65$. + +\bgroup +\begin{LTXexample}[width=0.4\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\pstTubeEssais[tubeDroit=true,tubePenche=40] +\pstTubeEssais[tubePenche=-20,bouchon] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeSeul}}\label{subsec-pstlabo-tubeSeul} +% --------------------------------------------------------------------------------------- +\Loption{tubeSeul} influences the size of the chosen box. This can be +advantageous as the following example using \Lmcs{psframebox} shows: +If you do not wish to add a further container to the box on the right +hand side the box would still have the same size as the one on the +left. The option \verb+tubeSeul=true+ prevents this from +happening. This option only has effects in combination with the macro +\Lmcs{pstChauffageTube} and glass containers of the type \verb+ballon+ +and \verb+tube+. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=ballon,becBunsen} +\psframebox{\pstChauffageTube[becBunsen,barbotage]} +\psframebox{\pstChauffageTube[tubeSeul=true]} +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{becBunsen}}\label{subsec-pstlabo-becBunsen} +% --------------------------------------------------------------------------------------- +The option \Loption{becbunsen} toggles the drawing of a Bunsen burner. +\Loption{becbunsen} is set to \verb+true+ by default for the macro +\Lmcs{pstChauffeTube} and to \verb+false+ for the macro +\Lmcs{pstChauffageBallon}. + +\bgroup +\begin{LTXexample}[width=0.5\linewidth] +\psset{unit=0.5cm,tubeSeul=true} +\pstChauffageTube +\pstChauffageTube[becBunsen=false] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{barbotage}}\label{subsec-pstlabo-barbotage} +% --------------------------------------------------------------------------------------- +The option \Loption{barbotage} creates an additional test tube which is +connected via a narrow glass tube to the original glass container. To +supply the necessary space the option \Loption{tubeSeul} should not be +activated (see section~\vref{subsec-pstlabo-tubeSeul}) + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm} +\pstChauffageTube[tubeSeul=true] +\pstChauffageTube[barbotage] +\end{LTXexample} +\egroup + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{substance}}\label{subsec-pstlabo-substance} +% --------------------------------------------------------------------------------------- +The type of substance within the glass container can be selected by +the option \Loption{substance}. The default value is a blue fluid +(\Lmcs{pstBullesChampagne}). The available macros are summarised in +table~\ref{tab-pstlabo-substance}. It should be pointed out that +\Lmcs{pstFilaments} and \Lmcs{pstBULLES} are required parameters. + +\begin{table}[!htb] +\caption{Summary of macros for the option \Loption{substance}}\label{tab-pstlabo-substance} +\centering +\begin{tabular}{@{}lcl@{}} +\emph{macro} & \emph{default} & \emph{comment}\\\hline +\Lmcs{pstBullesChampagne}\Largs{value} & 25 & standard\\ +\Lmcs{pstFilaments}\Largs{value}\Largb{color} & 5\\ +\Lmcs{pstBilles}\Largs{value} & 50 & two dimensional\\ +\Lmcs{pstBULLES}\Largs{value}\Largb{color} & 20 & three dimensional +\end{tabular} +\end{table} + +The optional value describes the number of passes for the internal +\Lmcs{multido}-loop. It is basically unlimited although values larger +than $80$ can lead to problems with \TeX 's defined memory. The later +can be modified in the \TeX\ configuration file. The location of this +file can be acquired using \verb+kpsewhich texmf.cnf+. + +\begin{lstlisting}[language=sh] +voss@shania:~> kpsewhich texmf.cnf +/usr/local/texlive/2005/texmf/web2c/texmf.cnf +\end{lstlisting} + + +The first example shows the default values using two random +colours. The second example demonstrates the use of optional +arguments. Basically the macros \Loption{substance} and +\Loption{solide} can be mixed randomly. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais +\pstTubeEssais[substance=\pstBullesChampagne] +\pstTubeEssais[substance=\pstFilaments{red}] +\pstTubeEssais[substance=\pstBilles] +\pstTubeEssais[substance=\pstBULLES{white}] +\end{LTXexample} +\egroup + + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais[substance={\pstBullesChampagne[80]}] +\pstTubeEssais[substance={\pstFilaments[20]{black}}] +\pstTubeEssais[substance={\pstBilles[80]}] +\pstTubeEssais[substance={\pstBULLES[20]{white}}] +\end{LTXexample} +\egroup + +When using the optional parameters for internal looping it has to be +noted that this parameter itself is used as part of another optional +parameter and therefor has to be set in curly braces as the above +example illustrates. + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{solide}}\label{subsec-pstlabo-solide} +% --------------------------------------------------------------------------------------- +The option \Loption{solide} describes the type of substance within the +glass containers. Table~\ref{tab-pstlabo-solide} summarises all +available values. The same rules apply as described in +section~\ref{subsec-pstlabo-substance}. + +\begin{table}[!htb] +\caption{Summary of macros for the option \Loption{substance}}\label{tab-pstlabo-solide} +\centering +\begin{tabular}{@{}lc@{}} +\emph{macro} & \emph{default} \\\hline +\Lmcs{pstTournureCuivre}\Largs{value} & 30 \\ +\Lmcs{pstClouFer}\Largs{value} & 60\\ +\Lmcs{pstGrenailleZinc}\Largs{value} & 25 +\end{tabular} +\end{table} + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais +\pstTubeEssais[solide=\pstTournureCuivre] +\pstTubeEssais[solide=\pstClouFer] +\pstTubeEssais[solide=\pstGrenailleZinc] +\end{LTXexample} +\egroup + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais[solide={\pstTournureCuivre[50]}] +\pstTubeEssais[solide={\pstGrenailleZinc[80]}] +\pstTubeEssais[glassType=ballon,solide={\pstClouFer[50]}] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeRecourbe}}\label{subsec-pstlabo-tubeRecourbe} +% --------------------------------------------------------------------------------------- +The option \Loption{tubeRecourbe} creates a device to collect exhausting +gas from the glass container, including a Bunsen burner. + +\bgroup +\begin{LTXexample}[pos=t,preset=\raggedright] +\psset{unit=0.5cm,glassType=erlen,recuperationGaz,substance=\pstTournureCuivre} +\pstChauffageBallon +\pstChauffageBallon[tubeRecourbe] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeRecourbeCourt}}\label{subsec-pstlabo-tubeRecourbeCourt} +% --------------------------------------------------------------------------------------- +The option \Loption{tubeRecourbe} creates a device to collect exhausting +gas from the glass container, excluding a Bunsen burner. + +\bgroup +\begin{LTXexample}[pos=t,preset=\raggedright] +\psset{unit=0.5cm,glassType=flacon,recuperationGaz,substance=\pstFilaments{red}} +\pstChauffageBallon[tubeRecourbe] +\pstChauffageBallon[tubeRecourbeCourt] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{doubletube}}\label{subsec-pstlabo-doubletube} +% --------------------------------------------------------------------------------------- +\Loption{doubletube} enables arranging two narrow glass tubes, one of +which has a stopcock. + +\bgroup +\begin{LTXexample}[width=0.6\linewidth] +\rule{0pt}{4cm} +\psset{unit=0.5cm,glassType=ballon,% + substance=\pstClouFer} +\pstBallon +\pstBallon[doubletube] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{refrigerantBoulle}}\label{subsec-pstlabo-refrigerantBoulle} +% --------------------------------------------------------------------------------------- +\Loption{refrigerantBoulle} is one of the options for outputting a +more complex setup. When adding further devices it should be noted +that the geometrical origin is located in the centre of the setup. + +\bgroup +\begin{LTXexample}[width=0.3\linewidth] +\psset{unit=0.5cm} +\pstBallon[refrigerantBoulles,glassType=ballon,% + substance=\pstClouFer] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{recuperationGaz}}\label{subsec-pstlabo-recuperationGaz} +% --------------------------------------------------------------------------------------- +\Loption{recuperationGaz} describes the device collecting expanded gases. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=flacon,tubeRecourbe,substance={\pstFilaments[10]{red}}} +\pstChauffageBallon +\pstChauffageBallon[recuperationGaz] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{burette}}\label{subsec-pstlabo-burette} +% --------------------------------------------------------------------------------------- +The macro \Lmcs{pstDosage} displays a buret by default. This option +suppresses its display. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.4cm} +\pstDosage[glassType=erlen] +\pstDosage[glassType=erlen,burette=false] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{niveauReactifBurette} and \texttt{couleurReactifBurette}}\label{subsec-pstlabo-niveauReactifBurette} +% --------------------------------------------------------------------------------------- +\Loption{niveauReactifBurette} and \Loption{couleurReactifBurette} +control amount and color of the fluid in the buret. + +\begin{center} +\bgroup +\psset{unit=0.4cm,glassType=erlen,niveauLiquide1=60} +\pstDosage[niveauReactifBurette=25,couleurReactifBurette=cyan] +\pstDosage[niveauReactifBurette=10] +\egroup +\end{center} +\begin{lstlisting} +\psset{unit=0.4cm,glassType=erlen,niveauLiquide1=60} +\pstDosage[niveauReactifBurette=25,couleurReactifBurette=cyan] +\pstDosage[niveauReactifBurette=10] +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{AspectMelange} and \texttt{CouleurDistillat}}\label{subsec-pstlabo-AspectMelange} +% --------------------------------------------------------------------------------------- +\Loption{AspectMelange} defines the color of a chemical substance and +must comply to a predefined style to ensure the creation of a color +gradient. \Loption{CouleurDistillat} defines the color of the +distillate without this restriction. + +\begin{center} +\bgroup +\psset{unit=0.4cm} +\pstDistillation(-3,-10)(7,6)\quad +\pstDistillation[AspectMelange=Diffusion,CouleurDistillat=red](-3,-10)(7,6) +\egroup +\end{center} + +\begin{lstlisting} +\psset{unit=0.4cm} +\pstDistillation(-3,-10)(7,6)\quad +\pstDistillation[AspectMelange=Diffusion,CouleurDistillat=red](-3,-10)(7,6) +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{phmetre}}\label{subsec-pstlabo-phmetre} +% --------------------------------------------------------------------------------------- +\Loption{phmetre} displays a pH-meter. Note that this option is only +available with the macro \Lmcs{pstDosage}. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher,burette=false} +\pstDosage +\pstDosage[phmetre] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{agitateurMagnetique}}\label{subsec-pstlabo-agitateurMagnetique} +% --------------------------------------------------------------------------------------- +\Loption{agitateurMagnetique} is activated by default and displays a +heat block. When deactivated this option only the symbols are +suppressed, the rectangle is still displayed. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,burette=false,glassType=becher} +\pstDosage +\pstDosage[agitateurMagnetique=false] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{niveauLiquide1}, \texttt{niveauLiquide2}, \texttt{niveauLiquide3} + and \texttt{aspectLiquide1}, \texttt{aspectLiquide2}, \texttt{aspectLiquide3}}\label{subsec-pstlabo-niveauLiquide1} +% --------------------------------------------------------------------------------------- +These options define fluid level and style of the liquids 1, 2 and 3 +respectively. The style can either be one of the default values or a +newly defined one as described in +section~\ref{subsec-pstlabo-substance}. Depending on the macro used +not all possible options can be used. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.4cm,glassType=becher} +\rule{0pt}{6cm} +\pstDosage[niveauReactifBurette=18,niveauLiquide1=30,aspectLiquide1=Champagne,% + glassType=becher,phmetre=true] +\pstDosage[niveauReactifBurette=20,niveauLiquide1=40,aspectLiquide1=Champagne,% + glassType=becher,phmetre=false,agitateurMagnetique=false] +\end{LTXexample} +\egroup + +\bgroup +\makebox[\textwidth]{% +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \psset{glassType=tube} + \rput(2.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(3,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=75,aspectLiquide1=Sang]} + \rput(2,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80]} +\end{pspicture} +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \rput(2.4,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(2.8,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=65,aspectLiquide1=Sang]} + \rput(1.7,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=10]} + \rput(3.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=-10]} +\end{pspicture} +\begin{pspicture}(1,3)(5,6) + \rput(2.5,4){\pstBallon[glassType=ballon,unit=0.5,niveauLiquide1=15]} + \rput(1.3,5.4){\pstTubeEssais[unit=0.5,niveauLiquide1=95, + niveauLiquide2=60,niveauLiquide3=30,tubePenche=-60]} +\end{pspicture} +} +\egroup + +\begin{lstlisting} +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \psset{glassType=tube} + \rput(2.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(3,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=75,aspectLiquide1=Sang]} + \rput(2,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80]} +\end{pspicture} +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \rput(2.4,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(2.8,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=65,aspectLiquide1=Sang]} + \rput(1.7,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=10]} + \rput(3.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=-10]} +\end{pspicture} +\begin{pspicture}(1,3)(5,6) + \rput(2.5,4){\pstBallon[glassType=ballon,unit=0.5,niveauLiquide1=15]} + \rput(1.3,5.4){\pstTubeEssais[unit=0.5,niveauLiquide1=95, + niveauLiquide2=60,niveauLiquide3=30,tubePenche=-60]} +\end{pspicture} +\end{lstlisting} + + + +% --------------------------------------------------------------------------------------- +\section{Predefined colours and styles}\label{sec:pstlabo8:Stile} +% --------------------------------------------------------------------------------------- +The following summary shows all predefined colours and styles provided +by the package \LPack{pst-labo}, all of which all can be adapted by +the user. + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\definecolor{Beige} {rgb}{0.96,0.96,0.86} +\definecolor{GrisClair} {rgb}{0.8,0.8,0.8} +\definecolor{GrisTresClair} {rgb}{0.9,0.9,0.9} +\definecolor{OrangeTresPale}{cmyk}{0,0.1,0.3,0} +\definecolor{OrangePale} {cmyk}{0,0.2,0.4,0} +\definecolor{BleuClair} {cmyk}{0.2,0,0,0} +\definecolor{LightBlue} {rgb}{.68,.85,.9} +\definecolor{Copper} {cmyk}{0,0.9,0.9,0.2} +\definecolor{Marron} {cmyk}{0,0.3,0.5,.3} +% +\newpsstyle{aspectLiquide1} {linestyle=none,fillstyle=solid,fillcolor=cyan} +\newpsstyle{aspectLiquide2} {linestyle=none,fillstyle=solid,fillcolor=yellow} +\newpsstyle{aspectLiquide3} {linestyle=none,fillstyle=solid,fillcolor=magenta} +\newpsstyle{Champagne} {linestyle=none,fillstyle=solid,fillcolor=Beige} +\newpsstyle{BilleThreeD} {linestyle=none,fillstyle=gradient,gradmidpoint=0,gradend=white,GradientCircle=true} +\newpsstyle{Sang} {linestyle=none,fillstyle=solid,fillcolor=red} +\newpsstyle{Cobalt} {linewidth=0.2,fillstyle=solid,fillcolor=blue} +\newpsstyle{Huile} {linestyle=none,fillstyle=solid,fillcolor=yellow} +\newpsstyle{Vinaigre} {linestyle=none,fillstyle=solid,fillcolor=magenta} +\newpsstyle{Diffusion} {linestyle=none,fillstyle=gradient,gradmidpoint=0} +\newpsstyle{DiffusionMelange2}{fillstyle=gradient,gradbegin=white,gradend=red,gradmidpoint=0,linecolor=red} +\newpsstyle{flammeEtGrille} {linestyle=none,fillstyle=gradient,gradmidpoint=0,gradbegin=OrangePale,gradend=yellow} +\newpsstyle{rayuresJaunes} {fillstyle=hlines,linecolor=yellow,hatchcolor=yellow} +\newpsstyle{DiffusionBleue} {fillstyle=gradient,gradmidpoint=0,linestyle=none,gradbegin=green,gradend=cyan} +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\section{Macros}\label{sec:pstlabo8:Makros} +% --------------------------------------------------------------------------------------- + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstTubeEssais}}\label{sec:pstlabo8:pstTubeEssais} +% --------------------------------------------------------------------------------------- +This macro displays the simplest type of glass container and has +already been used numerous times in previous examples. The default +value when used without further parameters is a normal test tube +(\verb+glassType=tube+). + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5} +\pstTubeEssais +\pstTubeEssais[glassType=becher] +\pstTubeEssais[glassType=erlen,niveauLiquide1=80] +\pstTubeEssais[glassType=flacon] +\pstTubeEssais[glassType=ballon,niveauLiquide1=20,aspectLiquide1=DiffusionBleue] +\pstTubeEssais[glassType=fioleJauge] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstChauffageTube}}\label{sec:pstlabo8:pstChauffageTube} +% --------------------------------------------------------------------------------------- +\Lmcs{pstChauffageTube} enhances the previous macro to include either +a heat block, a Bunsen burner or a second narrow glass tube +respectively. + +\begin{center} +\bgroup +\psset{unit=0.5} +\pstChauffageTube[tubeSeul] +\pstChauffageTube[glassType=ballon,becBunsen=false,tubeSeul] +\pstChauffageTube[glassType=erlen,becBunsen,pince,tubeSeul] +\pstChauffageTube[becBunsen,barbotage,glassType=flacon] +\pstChauffageTube[becBunsen,tubeCoude,glassType=ballon,niveauLiquide1=20,% + aspectLiquide1=DiffusionBleue,tubeSeul,pince] +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5} +\pstChauffageTube[tubeSeul] +\pstChauffageTube[glassType=ballon,becBunsen=false,tubeSeul] +\pstChauffageTube[glassType=erlen,becBunsen,pince,tubeSeul] +\pstChauffageTube[becBunsen,barbotage,glassType=flacon] +\pstChauffageTube[becBunsen,tubeCoude,glassType=ballon,niveauLiquide1=20,% + aspectLiquide1=DiffusionBleue,tubeSeul,pince] +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstBallon}}\label{sec:pstlabo8:pstBallon} +% --------------------------------------------------------------------------------------- +\Lmcs{pstBallon} is basically identical to \Lmcs{pstTubeEssais} with +more possible options. + +\begin{center} +\bgroup +\psset{unit=0.5cm} +\pstBallon\hspace{-0.5cm} +\pstBallon[glassType=erlen]\hspace{-0.5cm} +\pstBallon[glassType=becher,xunit=0.75cm,yunit=0.3cm,aspectLiquide1=Champagne,runit=0.4cm]\hspace{-0.5cm} +\raisebox{0.5cm}{\pstBallon[refrigerantBoulles=true]} +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstBallon\hspace{-0.5cm} +\pstBallon[glassType=erlen]\hspace{-0.5cm} +\pstBallon[glassType=becher,xunit=0.75cm,yunit=0.25cm,aspectLiquide1=Champagne,runit=0.4cm]\hspace{-0.5cm} +\raisebox{1cm}{\pstBallon[refrigerantBoulles=true]} +\end{lstlisting} + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstChauffageBallon}}\label{sec:pstlabo8:pstChauffageBallon} +% --------------------------------------------------------------------------------------- +\Lmcs{pstChauffageBallon} enhances the previous macro by displaying a +Bunsen burner by default. + +\begin{center} +\bgroup +\psset{unit=0.5cm} +\pstChauffageBallon +\pstChauffageBallon[barbotage,tubeCoudeUB,becBunsen,substance=\pstBilles]\\ +\pstChauffageBallon[glassType=flacon,recuperationGaz,tubeRecourbeCourt,substance={\pstFilaments[10]{red}}] +\pstChauffageBallon[doubletube,recuperationGaz,substance=\pstClouFer] +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstChauffageBallon +\pstChauffageBallon[barbotage,tubeCoudeUB,becBunsen,substance=\pstBilles]\\ +\pstChauffageBallon[glassType=flacon,recuperationGaz,tubeRecourbeCourt,substance={\pstFilaments[10]{red}}] +\pstChauffageBallon[doubletube,recuperationGaz,substance=\pstClouFer] +\end{lstlisting} + + + +\begin{center} +\bgroup +\psset{unit=0.5cm} +\pstChauffageBallon[glassType=erlen,tubeRecourbe,recuperationGaz,substance=\pstTournureCuivre]\hspace{3cm} +\pstChauffageBallon[glassType=becher,aspectLiquide1=Champagne,substance=\pstBullesChampagne]\hspace{.25cm} +\pstChauffageBallon[glassType=erlen,substance=\pstBullesChampagne,tubeDroit] +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstChauffageBallon[glassType=erlen,tubeRecourbe,recuperationGaz,substance=\pstTournureCuivre] +\pstChauffageBallon[glassType=becher,aspectLiquide1=Champagne,substance=\pstBullesChampagne] +\pstChauffageBallon[glassType=erlen,substance=\pstBullesChampagne,tubeDroit] +\end{lstlisting} + + + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstEntonnoir}}\label{sec:pstlabo8:pstTubeEssais} +% --------------------------------------------------------------------------------------- +\Lmcs{pstEntonnoir} displays a funnel. Called without any parameters +it is combined with a test tube. It can be combined with any kind of setup. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm} +\pstEntonnoir +\pstEntonnoir[glassType=becher,tubePenche=-20] +\pstEntonnoir[glassType=flacon,etiquette=true,Numero={\green 37},% + aspectLiquide1=DiffusionBleue,niveauLiquide1=80] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstEprouvette}}\label{sec:pstlabo8:pstEprouvette} +% --------------------------------------------------------------------------------------- +\Lmcs{pstEprouvette} displays a measuring cylinder. Its size can by +changed using the \PST scaling factor. + +\bgroup +\begin{LTXexample} +\pstEprouvette[yunit=0.5cm] +\pstEprouvette[unit=0.6cm,niveauLiquide1=100,niveauLiquide2=60,niveauLiquide3=30] +\end{LTXexample} +\egroup + + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstpipette}}\label{sec:pstlabo8:pstpipette} +% --------------------------------------------------------------------------------------- +\Lmcs{pstpipette} displays a pipette. Its scaling range can be altered +by changing \PST scaling factors. + +\bgroup +\begin{LTXexample} +\pstpipette[unit=0.5cm,tubePenche=40] +\pstpipette[yunit=0.5cm] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstDosage}}\label{sec:pstlabo8:pstDosage} +% --------------------------------------------------------------------------------------- +\Lmcs{pstDosage} is normally used in combination with other +devices. The buret has a maximal capacity of 25 mL. The current height +and substrate can be changed by their options. An optional pH-meter +(only with glass type \verb+becher+) or heat block can be selected. + +\bgroup\noindent +\makebox[\linewidth]{% +\psset{unit=0.5cm} +\pstDosage +\pstDosage[glassType=becher,phmetre=true] +\pstDosage[niveauReactifBurette=10,niveauLiquide1=60,aspectLiquide1=Champagne,% + glassType=flacon,agitateurMagnetique=false] +\pstDosage[glassType=erlen,burette=false]} +\egroup + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstDosage +\pstDosage[glassType=becher,phmetre=true] +\pstDosage[niveauReactifBurette=10,niveauLiquide1=60,aspectLiquide1=Champagne,% + glassType=flacon,agitateurMagnetique=false] +\pstDosage[glassType=erlen,burette=false]} +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstDistillation}}\label{sec:pstlabo8:pstDistillation} +% --------------------------------------------------------------------------------------- +The only macro which has be passed on to \Lmcs{pstDistillation} are +the dimensions of the \Lmenv{pspicture} environment. + +\medskip +\noindent +\Lmcs{pstDistillation}\\ +\Lmcs{pstDistillation}\Largr{$x_{ll},y_{ll}$}\Largr{$x_{ur},y_{ur}$} % $ + +\medskip +In case these coordinates are not supplied a rectangle of +$(-4,-10)(8,7)$ is used, assuming that further objects will be +included using \Lmcs{rput}, + +\bgroup +\begin{LTXexample} +\psset{unit=0.5cm} +\pstDistillation(-3,-10)(7,6) +\end{LTXexample} +\egroup + + + + + +% --------------------------------------------------------------------------------------- +\section{Basic objects}\label{sec:pstlabo:Objects} +% --------------------------------------------------------------------------------------- +The file \LFile{pst-laboObj.tex} includes all possible basic +objects. For lack of space they are not displayed here explicitly. + + +% --------------------------------------------------------------------------------------- +\section{Examples}\label{sec:pstlabo:Beispiele} +% --------------------------------------------------------------------------------------- +Creating complex examples is eased significantly by using a coordinate +grid underlying the setup (\Lmcs{psgrid}) as has been shown previously +in section~\vref{sec:overlay:Ueberschreiben}. + +\begin{figure} +\centering +\bgroup +\sffamily +\begin{pspicture}(0,-4)(7,4) + \rput(3,0){\pstDosage[niveauReactifBurette=25,niveauLiquide1=30,% + aspectLiquide1=Champagne,glassType=becher,phmetre,unit=0.5]} + \rput(2,3){B\"urette} + \rput(4.7,3.6){25 mL} + \rput(5.2,-2.2){H$_3$O$^+$+Cl$^-$} + \rput(.8,-3){PH-Messer} + \rput(5,-2.8){20 mL} + \rput(5,1){Na$^+$+OH$^-$} \rput(6.4,-3.6){Heizplatte} + \psline{->}(2.7,2.9)(3.4,2.9) +\end{pspicture} +\begin{pspicture}(-3,-2)(2,3) + \psset{unit=0.5cm} + \rput(-4.5,4.0){\pstEprouvette[tubePenche=-60,niveauLiquide1=90,niveauLiquide2=50]} + \rput(.5,0){\pstEntonnoir[glassType=flacon,niveauLiquide1=30]} + \rput(.5,7.5){ + \framebox{\begin{minipage}{3.2cm}Nach der Dekan\-ta\-tion + sind die einzelnen Phasen getrennt, das Leichteste sammelt man durch Filtrieren. + \end{minipage}}} +\end{pspicture} +\egroup +\caption{Example usage of \Lmcs{pstDosage}} +\end{figure} + +\begin{figure} +\centering +\bgroup +\psset{unit=0.5cm,etiquette} +\newpsstyle{Nickel}{fillstyle=solid,fillcolor=green} +\pstTubeEssais[niveauLiquide1=20,aspectLiquide1=Champagne,Numero=1]\kern-20pt +\pstTubeEssais[niveauLiquide1=30,aspectLiquide1=Cobalt,Numero=2]\kern-20pt +\pstTubeEssais[niveauLiquide1=40,aspectLiquide1=Sang,Numero=3]\kern-20pt +\pstTubeEssais[Numero=4]\kern-20pt +\psset{bouchon,glassType=flacon} +\pstTubeEssais[aspectLiquide1=Vinaigre,Numero={\footnotesize MnO$_4^-$}] +\pstTubeEssais[aspectLiquide1=Huile,unit=0.75,Numero={\footnotesize Ce$^{4+}$}] +\pstTubeEssais[aspectLiquide1=Nickel,Numero={\footnotesize Ni$^{2+}$}] +\pstTubeEssais[Numero={\footnotesize Cu$^{2+}$}] +\pstTubeEssais[niveauLiquide1=30,aspectLiquide1=Champagne,Numero={\footnotesize NaOH},unit=0.75] +\egroup +\caption{Example usage of \Lmcs{pstTubeEssais}} +\end{figure} + + +\nocite{*} +\bibliographystyle{plain} +\bibliography{pst-labo-doc} + + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docFR.ltx b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docFR.ltx new file mode 100644 index 00000000000..f52b7990c76 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docFR.ltx @@ -0,0 +1,227 @@ +%% bAS +\documentclass[11pt,a4paper,frenchb]{article} +%% eAS +\usepackage[latin1]{inputenc}% +\usepackage[T1]{fontenc} +\usepackage{babel} +\usepackage{lmodern} +\usepackage{enumerate,longtable,url} +\let\OldUrl=\url +\renewcommand\url[1]{\protect\OldUrl{#1}} +%% bAS +\usepackage[scaled]{luximono} +%% eAS +% +\usepackage{xspace,nonfloat} +\usepackage[bottom]{footmisc} +% +\usepackage{tabularx} +\usepackage{longtable} +\usepackage{ltxtable} +\usepackage[french]{varioref} +\usepackage[NewCommands,NewParameters]{ragged2e} +\usepackage{url} +\def\UrlFont{\ttfamily} +\makeatletter +%\def\verbatim@font{\small\normalfont\ttfamily} +% +\usepackage[dvipsnames,prologue,table]{pstricks} +\colorlet{tableheadcolor}{gray!25} +\colorlet{tablerowcolor}{gray!12} +\newcommand\XCBox[1]{\fcolorbox{black}{#1}{\phantom{aa}} \small #1} +\usepackage{pst-labo} +\let\PSTfileversion\fileversion +\SpecialCoor +\psset{griddots=10,subgriddiv=0,gridlabels=7pt} +% +\definecolor{hellgelb}{rgb}{1,1,0.8} +\definecolor{shadecolor}{rgb}{0.9,0.9,0.9} +\definecolor{sphgrau}{rgb}{0.40,0.40,0.40} +% +% ------------------------------- Namen Abkuerungen ---------------------- +\newcommand{\La}% + {L\kern-.36em + {\setbox0\hbox{T}% + \vbox to\ht0{\hbox{$\m@th$% + \csname S@\f@size\endcsname + \fontsize\sf@size\z@ + \math@fontsfalse\selectfont + A}% + \vss}% + }} +\def\AllTeX{(\La\kern-.075em)\kern-.075em\TeX\xspace} +\def\AMS{American Mathematical Society\xspace} +\def\AmS{$\mathcal{A}$\kern-.1667em\lower.5ex\hbox + {$\mathcal{M}$}\kern-.125em$\mathcal{S}$} +\def\AmSLaTeX{\AmS-\LaTeX\xspace} +\let\latex\LaTeX +\let\tex\TeX +% +\def\BibTeX{\textsc{Bib}\kern-.08em\TeX\index{BiBTeX@Bib\TeX}} +\def\PT{Plain \TeX\index{Plain TeX@Plain \TeX}\xspace} +\def\PST{{\texttt{PSTricks}}\xspace} +\def\CTAN{{\texttt{CTAN}}\index{CTAN}\xspace} +\def\PDF{{\texttt{PDF}}\xspace} +\def\pst{{\texttt{pstricks}}\xspace} +\def\PS{PostScript\xspace} +\def\CT{Con\TeX t\index{ConTeXt@Con\TeX t}\xspace} +\def\GS{Ghostscript\index{Ghostscript}\xspace} +\def\GeX{G\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@} +\def\at{\char064} +\def\VTeX{\texttt{V\TeX}\index{VTeX@\texttt{V\protect\TeX}}} +\newcommand*\CMD[1]{{\texttt{\textbackslash #1}}} +\newcommand\Paket[1]{\texttt{#1}} +\providecommand\Programm[1]{\textsf{#1}} +\providecommand\RaggedRight{\raggedright} +% +\def\Index#1{\index{#1}#1} +\index{Environment|see{Umgebung}} +\def\eIndex#1{\index{Umgebung!#1@\texttt{#1}}\index{#1@\texttt{#1}}} +\def\tIndex#1{\index{#1@\texttt{#1}}} +\def\cIndex#1{\index{#1@\protect\CMD{#1}}} +\def\pIndex#1{\index{Parameter@\textbf{Parameter}!#1@\texttt{#1}}\index{#1@\texttt{#1}}} +\def\ppIndex#1{\index{Parameter@\textbf{Parameter}!#1@\texttt{#1}}} +\def\sIndex#1{\index{Syntax@\textbf{Syntax}!\protect\CMD{#1}}} +\def\csIndex#1{\sIndex{#1}\cIndex{#1}} +\def\PIndex#1{\index{Paket@\textbf{Paket}!\texttt{#1}}} +\def\mIndex#1{\texttt{#1}\tIndex{#1}\pIndex{#1}} +\def\aref#1{$\rightarrow$\vref{#1}} +\def\PSindex#1{\index{PostScript!#1}} +\def\Makroindex#1{\index{Makro!#1@\protect\CMD{#1}}} +\def\Optindex#1{\index{Parameter@\textbf{Parameter}!\texttt{#1}}} +\def\ttindex#1{\index{#1@\texttt{#1}}} +\def\vert{\ensuremath{|}} +% +\let\Olddegrees\textdegrees +\def\textdegrees{\ensuremath{\mbox{\Olddegrees}}} +\def\sa{\ensuremath{\sphericalangle}\xspace}% needs amssymb +% +% +%%-------------------------------- danger --------------------------------------------- +\usepackage{manfnt} +\usepackage{lettrine} +\newsavebox{\dBox} + +\newenvironment{dangerPar*} +{\gdef\dangerSym{\dbend\,\dbend}\@dangerPar} +{\end@dangerPar} + +\newenvironment{dangerPar} +{\gdef\dangerSym{\dbend\phantom{\,\dbend}}\@dangerPar} +{\end@dangerPar} + +\def\@dangerPar{% + \begin{lrbox}{\dBox} + \minipage[c]{\linewidth-\widthof{\dangerSym}-\columnsep}% +} +\def\end@dangerPar{% + \endminipage + \end{lrbox}% + \trivlist\item\relax + \noindent + \minipage[c]{\widthof{\dangerSym}} + \raisebox{\height}[.9\height][.1\height]{\dangerSym}% ??? + \endminipage + \hfill + \minipage[c]{\wd\dBox} + \usebox{\dBox} + \endminipage% + \endtrivlist +} +\newsavebox{\bombbox} +\sbox\bombbox{% + \psset{unit=.55ex}% + \begin{pspicture}(-4,-4)(4,4) + \pscircle[fillcolor=gray,fillstyle=solid]{4} + \rput{45}{\psscaleboxto(6,0){\textsf{\textbf{PS}}}} + \psellipse*(0,3.8)(1,.2) + \psellipse*(0,5.5)(1,.2) + \psframe*(-1,3.8)(1,5.5) + \psbezier(0,5.5)(0,7)(1,8)(3.5,8) + \multido{\r=-0+40}{9}{\rput{\r}(3.5,8){\psline(0,0)(.4,0)}} + \end{pspicture}} + +\newcommand\danger{% + \lettrine[lines=2,lraise=0.65,nindent=0pt,findent=.5em]{{\small\dbend}}} + +\newcommand\ddanger{% + \lettrine[lines=2,lraise=0.65,nindent=0pt,findent=.5em]{% + {\small\dbend\,\dbend}}} + +\newcommand\DANGER{% + \lettrine[lines=3,lraise=0.01,lhang=0,nindent=0pt,findent=.75em]{% + \usebox\bombbox}} +%%------------------------------- Rest ------------------------------------------ +\pretolerance=500 +\tolerance=1000 +\hbadness=3000 +\vbadness=3000 +\hyphenpenalty=400 + +%-------------------------------- Listings ------------------------------------- +\usepackage{showexpl}% not a real PSTricks package +% +\renewcommand{\ttdefault}{ul9}% Luxi Mono +\lstset{language=PSTricks,keywordstyle=\small\fontfamily{ul9}\bfseries} +\lstset{wide=true} +% +%-------------------------------- Allgemein ------------------------------------- +%\addtolength\belowcaptionskip{-10pt} +% +\providecommand\dante{DANTE \eV} +\providecommand\eV{e.V\kern-.18em\@ifnextchar.{}{.}} +\def\textat{\protect\makeatletter\texttt{@}\protect\makeatother} + +\def\lBrace{\texttt{\{}} +\def\rBrace{\texttt{\}}} +\def\lBracket{\texttt{[}} +\def\rBracket{\texttt{]}} +% +\newcounter{SX@refC}% for texlive8 +\def\PSTemph#1{\textit{\texttt{#1}}} +% +\def\LPack#1{\texttt{#1}} +\def\Lmenv#1{\texttt{#1}} +\def\Lmcs#1{\CMD{#1}\Makroindex{#1}\cIndex{#1}} +\let\xLcs\Lmcs +\let\Lcs\CMD +\let\Lit\texttt +\def\Loption#1{\texttt{#1}\Optindex{#1}\ttindex{#1}} +\def\LProg#1{\texttt{#1}\pIndex{#1}} +\let\Prog\LProg +\def\LFile#1{\texttt{#1}\tIndex{#1}} +\def\LColor#1{\texttt{#1}\index{Farbe!#1@\texttt{#1}}} +\def\Lindex#1{#1\index{#1}}% Ausgeben und in den Index +\def\Lext#1{\texttt{#1}\index{Dateiendung!#1@\texttt{#1}}} +\def\LClass#1{\texttt{#1}} +\def\Lmnotation#1{\texttt{#1}\tIndex{#1}} +\newcommand\Larga{} +\DeclareRobustCommand\Larga[1]{$\langle$\PSTemph{#1}$\rangle$} +\newcommand\LargA{} +\DeclareRobustCommand\LargA[1]{\lBrace$\langle$\PSTemph{#1}$\rangle$\rBrace} +\newcommand\Largs{} +\DeclareRobustCommand\Largs[1]{\lBracket$\langle$\PSTemph{#1}$\rangle$\rBracket} +\newcommand\Largb{} +\DeclareRobustCommand\Largb[1]{\lBrace$\langle$\PSTemph{#1}$\rangle$\rBrace} +\newcommand\Largr{} +\DeclareRobustCommand\Largr[1]{\PSTemph{({#1})}} +\DeclareRobustCommand\Largra[1]{(\Larga{#1})} +\newcommand\Larg{} +\DeclareRobustCommand\Larg[1]{\lBrace\texttt{#1}\rBrace} +\def\begEnv#1{\CMD{begin\{#1\}}\tIndex{#1}} +\def\endEnv#1{\CMD{end\{#1\}}} +\def\OptArg{\Largs{Optionen}} +\def\Largrao{($\langle x_0,y_0\rangle$)} +\def\Largrai{($\langle x_1,y_1\rangle$)} +\def\Largraii{($\langle x_2,y_2\rangle$)} +\def\Largraiii{($\langle x_3,y_3\rangle$)} +\def\Largran{($\langle x_n,y_n\rangle$)} +% +\input random +\def\cite#1{} +% +\begin{document} + +\input{pst-labo-docFR} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docFR.pdf b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docFR.pdf Binary files differnew file mode 100644 index 00000000000..697f04bb483 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docFR.pdf diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docFR.tex b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docFR.tex new file mode 100644 index 00000000000..ec1762a69fb --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo-docFR.tex @@ -0,0 +1,916 @@ +\title{\texttt{PST-Labo} - matériel de chimie\thanks{Traduction française + réalisée par Arnaud Schmittbuhl}\\ +\footnotesize{version \PSTfileversion}} +\author{% +Denis Girou\thanks{\url{Denis.Girou@idris.fr}}, +Christophe Jorssen\thanks{\url{Christophe.Jorssen@wanadoo.fr}}, +Manuel Luque\thanks{\url{Mluque5130@aol.com}} and +Herbert Vo\ss\thanks{\url{voss@pstricks.de}}} +\date{\today} +\maketitle + +\begin{abstract} + L'extension \LPack{pst-labo} propose un ensemble de macros pour dessiner le + matériel utilisé en chimie. \cite{pst-labo} En suivant les schématisations + standards employées, \LPack{pst-labo} vous évite ainsi d'avoir à les réaliser + vous même. Au-delà du simple usage de \LPack{pst-labo}, ce document explique + comment créer des objets de « haut-niveau » à l'aide de commandes de + \PST. \cite{PSTricks2} Tous les objets de base sont contenus dans le fichier + \LFile{pst-laboObj.tex} et sont chargés au démarrage de l'extension + \LPack{pst-labo}. Ces objets peuvent être utilisés en vue de créer une + extension personnelle et sont répertoriés dans la + section~\ref{sec:pstlabo:Objects}. +\end{abstract} + +\tableofcontents + +\newpage +% --------------------------------------------------------------------------------------- +\section{Paramètres}\label{sec:pstlabo8:Parameter} +% --------------------------------------------------------------------------------------- +Le tableau~\ref{tab:pst-labo:Parameter} répertorie l'ensemble des paramètres +propres à \LPack{pst-labo}. + +\noindent +\LTXtable{\linewidth}{pstlabo8-tab1-FR.tex}% + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{Type de verrerie}}\label{subsec-pstlabo-glassType} +% --------------------------------------------------------------------------------------- +L'option \Loption{glassType} sert à décrire le type de verrerie. Par défaut, il +s'agit d'un tube à essai. + +\bgroup +\begin{LTXexample}[preset=\raggedright] +\psset{unit=0.5cm} +\pstTubeEssais +\pstTubeEssais[glassType=ballon] +\pstTubeEssais[glassType=erlen] +\pstTubeEssais[glassType=becher] +\pstTubeEssais[glassType=flacon] +\pstTubeEssais[glassType=fioleJauge] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{bouchon}}\label{subsec-pstlabo-bouchon} +% --------------------------------------------------------------------------------------- +L'option \Loption{bouchon} représente la verrerie hermétiquement scellée par un +bouchon. + +\bgroup +\begin{LTXexample}[width=0.575\linewidth,preset=\raggedright] +\psset{unit=0.45cm} +\psset{bouchon=true} +\pstTubeEssais[glassType=tube] +\pstTubeEssais[glassType=ballon] +\pstTubeEssais[glassType=erlen] +\pstTubeEssais[glassType=flacon] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{pince}}\label{subsec-pstlabo-pince} +% --------------------------------------------------------------------------------------- +L'option \Loption{pince} place une pince en bois autour du col de la verrerie. + +\bgroup +\begin{LTXexample}[width=0.55\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{bouchon=true,pince=true} +\pstTubeEssais[glassType=tube]\hspace{1cm} +\pstTubeEssais[glassType=erlen] +\end{LTXexample} +\egroup + + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeDroit}}\label{subsec-pstlabo-tubeDroit} +% +%--------------------------------------------------------------------------------------- +L'option \Loption{tubeDroit} place un réfrigérant à air dans le bouchon. +Cette option n'est utilisable que si \verb+bouchon=true+, ce qui assuré en +interne par défaut. Prenez garde au fait qu'aucun espace vertical n'est réservé +au-dessus de la verrerie pour placer le réfrigérant. Cette espace doit être +placé manuellement, par exemple avec \verb+\rule{0pt}{4cm}+. + +\bgroup +\begin{LTXexample}[width=0.55\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{tubeDroit=true} +\rule{0pt}{4cm}% +\pstTubeEssais +\pstTubeEssais[glassType=ballon] +\pstTubeEssais[glassType=erlen] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeCoude}}\label{subsec-pstlabo-tubeCoude} +% +%--------------------------------------------------------------------------------------- +L'option \Loption{tubeCoude} est pratiquement identique à la précédente, à la +différence du coude à angle droit. L'espace vertical nécessaire au-dessus de +la verrerie est donc moins important. + +\bgroup +\begin{LTXexample}[width=0.55\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{tubeCoude=true} +\rule{0pt}{2.5cm}% +\pstTubeEssais[glassType=erlen] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeCoudeU}}\label{subsec-pstlabo-tubeCoudeU} +% --------------------------------------------------------------------------------------- +L'option \Loption{tubeCoudeU} est similaire à la précédente, mais le coude a +une forme de U. Là aussi, moins d'espace vertical est nécessaire à son placement. + +\bgroup +\begin{LTXexample}[width=0.5\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\psset{tubeCoudeU=true} +\rule{0pt}{2.5cm}% +\pstTubeEssais[glassType=ballon] +\end{LTXexample} +\egroup + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeCoudeUB}}\label{subsec-pstlabo-tubeCoudeUB} +% --------------------------------------------------------------------------------------- +L'option \Loption{tubeCoudeUB} ressemble au tube coudé en U mais s'étend plus +bas. Ceci peut être est intéressant lors d'une utilisation conjointe avec la +commande \Lmcs{pstChauffageBallon}. + +\bgroup +\begin{LTXexample}[pos=t,preset=\raggedright] +\psset{unit=0.5cm,glassType=ballon} +\pstChauffageBallon[tubeCoudeU] \pstChauffageBallon[tubeCoudeUB] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{etiquette} et \texttt{Numero}}\label{subsec-pstlabo-etiquette} +% --------------------------------------------------------------------------------------- +L'option \Loption{etiquette} est un booléen commandant l'affichage d'une +étiquette dont le contenu se trouve dans le paramètre \Loption{Numero}. + +\bgroup +\begin{LTXexample}[width=0.42\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\pstTubeEssais[etiquette] +\pstTubeEssais[etiquette,Numero=1] +\pstTubeEssais[glassType=flacon,bouchon,% + etiquette,Numero={\small Cu$^{2+}$}] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubePenche}}\label{subsec-pstlabo-tubePenche} +% --------------------------------------------------------------------------------------- +L'option \Loption{tubePenche} permet d'incliner la verrerie utilisée en +conservant horizontal l'interface air-eau. Les angles d'inclinaison doivent +être compris entre $-65$ et $+65$ degrés. + +\bgroup +\begin{LTXexample}[width=0.4\linewidth,preset=\raggedright] +\psset{unit=0.5cm} +\pstTubeEssais[tubeDroit=true,tubePenche=40] +\pstTubeEssais[tubePenche=-20,bouchon] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeSeul}}\label{subsec-pstlabo-tubeSeul} +% --------------------------------------------------------------------------------------- +L'option \Loption{tubeSeul} détermine la taille du dessin. Les figures suivantes +illustrent l'intérêt de ce paramètre, avec la commande \Lmcs{psframebox}. +Si l'option n'était pas employée, la figure de droite, où le tube à essai de +barbotage est absent, aurait la même largeur que la figure de gauche. +L'option \verb+tubeSeul=true+ prévient ce comportement. Cette option ne +fonctionne qu'avec la commande \Lmcs{pstChauffageTube} et de la verrerie de +type \verb+ballon+ et \verb+tube+. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=ballon,becBunsen} +\psframebox{\pstChauffageTube[becBunsen,barbotage]} +\psframebox{\pstChauffageTube[tubeSeul=true]} +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{becBunsen}}\label{subsec-pstlabo-becBunsen} +% --------------------------------------------------------------------------------------- +L'option \Loption{becbunsen} ajoute un bec Bunsen sous la verrerie. +Par défaut, ce paramètre est activé (\verb+becbunsen=true+) pour la commande +\Lmcs{pstChauffeTube} et désactivé (\verb+false+) pour la commande +\Lmcs{pstChauffageBallon}. + +\bgroup +\begin{LTXexample}[width=0.5\linewidth] +\psset{unit=0.5cm,tubeSeul=true} +\pstChauffageTube +\pstChauffageTube[becBunsen=false] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{barbotage}}\label{subsec-pstlabo-barbotage} +% --------------------------------------------------------------------------------------- +L'option \Loption{barbotage} place un tube à essai supplémentaire, relié par un +tube à dégagement au premier tube. Afin de réserver la largeur suffisante pour +placer l'ensemble, le paramètre \Loption{tubeSeul} ne doit pas être activé +(voir la section~\vref{subsec-pstlabo-tubeSeul}). + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm} +\pstChauffageTube[tubeSeul=true] +\pstChauffageTube[barbotage] +\end{LTXexample} +\egroup + + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{substance}}\label{subsec-pstlabo-substance} +% --------------------------------------------------------------------------------------- +La nature de la substance placée dans la verrerie est choisie par l'option +\Loption{substance}. Il s'agit, par défaut, d'un liquide bleu +(\Lmcs{pstBullesChampagne}). Le tableau~\ref{tab-pstlabo-substance} recense les +divers choix possibles. Les options \Lmcs{pstFilaments} et \Lmcs{pstBULLES} +contiennent également un paramètre de couleur. + +\begin{table}[!htb] +\caption{Résumé des commandes de l'option \Loption{substance}}\label{tab-pstlabo-substance} +\centering +\begin{tabular}{@{}lcl@{}} +\emph{commande} & \emph{défaut} & \emph{commentaire}\\\hline +\Lmcs{pstBullesChampagne}\Largs{valeur} & 25 & standard\\ +\Lmcs{pstFilaments}\Largs{valeur}\Largb{couleur} & 5\\ +\Lmcs{pstBilles}\Largs{valeur} & 50 & deux dimensions\\ +\Lmcs{pstBULLES}\Largs{valeur}\Largb{couleur} & 20 & trois dimensions +\end{tabular} +\end{table} + +Le paramètre optionnel correspond au nombre de tour de la boucle +\Lmcs{multido}. Il n'est pas limité mais des valeurs supérieures à $80$ peuvent +saturer la mémoire allouée par \TeX. Pour modifier cette taille, il faut se +référer au fichier de configuration de \TeX, localisable par la commande +\verb+kpsewhich texmf.cnf+. + +\begin{lstlisting}[language=sh] +voss@shania:~> kpsewhich texmf.cnf +/usr/local/texlive/2005/texmf/web2c/texmf.cnf +\end{lstlisting} + + +La première série d'exemples montre le comportement par défaut, avec deux +couleurs aléatoires. La seconde illustre le comportement du paramètre +optionnel. Les commandes \Loption{substance} et \Loption{solide} peuvent être +associées sans difficultés. + + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais +\pstTubeEssais[substance=\pstBullesChampagne] +\pstTubeEssais[substance=\pstFilaments{red}] +\pstTubeEssais[substance=\pstBilles] +\pstTubeEssais[substance=\pstBULLES{white}] +\end{LTXexample} +\egroup + + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais[substance={\pstBullesChampagne[80]}] +\pstTubeEssais[substance={\pstFilaments[20]{black}}] +\pstTubeEssais[substance={\pstBilles[80]}] +\pstTubeEssais[substance={\pstBULLES[20]{white}}] +\end{LTXexample} +\egroup + +Lorsque le paramètre optionnel est utilisé, il faut tenir compte du fait qu'il +fait partie d'un autre paramètre, si bien que l'ensemble doit être placé entre +accolades, comme le montrent les exemples précédents. + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{solide}}\label{subsec-pstlabo-solide} +% --------------------------------------------------------------------------------------- +L'option \Loption{solide} permet de spécifier le type de substance que +contiendra la verrerie. L'ensemble des paramètres acceptés se trouve dans le +tableau~\ref{tab-pstlabo-solide}. Les règles d'application sont identiques à +celles de la section~\ref{subsec-pstlabo-substance}. + +\begin{table}[!htb] +\caption{Résumé des commandes de l'option \Loption{substance}}\label{tab-pstlabo-solide} +\centering +\begin{tabular}{@{}lc@{}} +\emph{commande} & \emph{défaut} \\\hline +\Lmcs{pstTournureCuivre}\Largs{valeur} & 30 \\ +\Lmcs{pstClouFer}\Largs{valeur} & 60\\ +\Lmcs{pstGrenailleZinc}\Largs{valeur} & 25 +\end{tabular} +\end{table} + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais +\pstTubeEssais[solide=\pstTournureCuivre] +\pstTubeEssais[solide=\pstClouFer] +\pstTubeEssais[solide=\pstGrenailleZinc] +\end{LTXexample} +\egroup + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher} +\pstTubeEssais[solide={\pstTournureCuivre[50]}] +\pstTubeEssais[solide={\pstGrenailleZinc[80]}] +\pstTubeEssais[glassType=ballon,solide={\pstClouFer[50]}] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeRecourbe}}\label{subsec-pstlabo-tubeRecourbe} +% --------------------------------------------------------------------------------------- +L'option \Loption{tubeRecourbe} place un tube à dégagement courbé sur le +bouchon de la verrerie employée, ainsi qu'un bec Bunsen. + +\bgroup +\begin{LTXexample}[pos=t,preset=\raggedright] +\psset{unit=0.5cm,glassType=erlen,recuperationGaz,substance=\pstTournureCuivre} +\pstChauffageBallon +\pstChauffageBallon[tubeRecourbe] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{tubeRecourbeCourt}}\label{subsec-pstlabo-tubeRecourbeCourt} +% --------------------------------------------------------------------------------------- +L'option \Loption{tubeRecourbeCourt} est semblable à l'option +\Loption{tubeRecourbe} mais place un tube court, sans bec Bunsen. + +\bgroup +\begin{LTXexample}[pos=t,preset=\raggedright] +\psset{unit=0.5cm,glassType=flacon,recuperationGaz,substance=\pstFilaments{red}} +\pstChauffageBallon[tubeRecourbe] +\pstChauffageBallon[tubeRecourbeCourt] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{doubletube}}\label{subsec-pstlabo-doubletube} +% --------------------------------------------------------------------------------------- +L'option \Loption{doubletube} dessine deux tubes à dégagement, dont un avec +un robinet d'arrêt. + +\bgroup +\begin{LTXexample}[width=0.6\linewidth] +\rule{0pt}{4cm} +\psset{unit=0.5cm,glassType=ballon,% + substance=\pstClouFer} +\pstBallon +\pstBallon[doubletube] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{refrigerantBoulle}}\label{subsec-pstlabo-refrigerantBoulle} +% --------------------------------------------------------------------------------------- +Pour représenter un montage à reflux, il faut utiliser l'option +\Loption{refrigerantBoulle} qui place un réfrigérant à boule au dessus du +ballon, et un chauffe-ballon électrique en dessous. Si d'autres éléments sont +ajoutés, il faudra tenir compte du fait que le centre graphique du dessin +correspond au centre géométrique de la figure. + +\bgroup +\begin{LTXexample}[width=0.3\linewidth] +\psset{unit=0.5cm} +\pstBallon[refrigerantBoulles,glassType=ballon,% + substance=\pstClouFer] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{recuperationGaz}}\label{subsec-pstlabo-recuperationGaz} +% --------------------------------------------------------------------------------------- +L'option \Loption{recuperationGaz} place le dispositif de récupération des gaz. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=flacon,tubeRecourbe,substance={\pstFilaments[10]{red}}} +\pstChauffageBallon +\pstChauffageBallon[recuperationGaz] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{burette}}\label{subsec-pstlabo-burette} +% --------------------------------------------------------------------------------------- +Par défaut, la commande \Lmcs{pstDosage} dessine un montage de dosage, avec +burette. L'utilisation de cette option permet de supprimer la burette. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.4cm} +\pstDosage[glassType=erlen] +\pstDosage[glassType=erlen,burette=false] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{niveauReactifBurette} et \texttt{couleurReactifBurette}}\label{subsec-pstlabo-niveauReactifBurette} +% --------------------------------------------------------------------------------------- +Les options \Loption{niveauReactifBurette} et \Loption{couleurReactifBurette} +contrôlent respectivement le niveau, en pourcentage, et la couleur du liquide +dans la burette. + +\begin{center} +\bgroup +\psset{unit=0.4cm,glassType=erlen,niveauLiquide1=60} +\pstDosage[niveauReactifBurette=25,couleurReactifBurette=cyan] +\pstDosage[niveauReactifBurette=10] +\egroup +\end{center} +\begin{lstlisting} +\psset{unit=0.4cm,glassType=erlen,niveauLiquide1=60} +\pstDosage[niveauReactifBurette=25,couleurReactifBurette=cyan] +\pstDosage[niveauReactifBurette=10] +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{AspectMelange} et \texttt{CouleurDistillat}}\label{subsec-pstlabo-AspectMelange} +% --------------------------------------------------------------------------------------- +La couleur du mélange des réactifs se fait sous forme d'un gradient de couleur +que l'on sélectionne par l'option \Loption{AspectMelange}. Elle doit +correspondre à l'un des styles prédéfinis. La couleur du distillat est régie par +l'option \Loption{CouleurDistillat} + +\begin{center} +\bgroup +\psset{unit=0.4cm} +\pstDistillation(-3,-10)(7,6)\quad +\pstDistillation[AspectMelange=Diffusion,CouleurDistillat=red](-3,-10)(7,6) +\egroup +\end{center} + +\begin{lstlisting} +\psset{unit=0.4cm} +\pstDistillation(-3,-10)(7,6)\quad +\pstDistillation[AspectMelange=Diffusion,CouleurDistillat=red](-3,-10)(7,6) +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{phmetre}}\label{subsec-pstlabo-phmetre} +% --------------------------------------------------------------------------------------- +L'option \Loption{phmetre} ne fonctionne qu'avec la commande \Lmcs{pstDosage} +et place un pH-mètre dans le bécher de dosage. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,glassType=becher,burette=false} +\pstDosage +\pstDosage[phmetre] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{agitateurMagnetique}}\label{subsec-pstlabo-agitateurMagnetique} +% --------------------------------------------------------------------------------------- +Active par défaut, l'option \Loption{agitateurMagnetique} place l'agitateur +magnétique dans le bécher. Lorsqu'elle est désactivée, l'agitateur et le +dispositif de commande de sa rotation disparaissent. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm,burette=false,glassType=becher} +\pstDosage +\pstDosage[agitateurMagnetique=false] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\texttt{niveauLiquide1}, \texttt{niveauLiquide2}, \texttt{niveauLiquide3} + et \texttt{aspectLiquide1}, \texttt{aspectLiquide2}, \texttt{aspectLiquide3}}\label{subsec-pstlabo-niveauLiquide1} +% --------------------------------------------------------------------------------------- +Ces options servent à définir le niveau et le style des liquides 1, 2 et 3. +Le style peut être un de ceux prédéfinis ou une création personnelle (voir la +section~\ref{subsec-pstlabo-substance}). Selon la commande employée, toutes les +options ne sont pas accessibles. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.4cm,glassType=becher} +\rule{0pt}{6cm} +\pstDosage[niveauReactifBurette=18,niveauLiquide1=30,aspectLiquide1=Champagne,% + glassType=becher,phmetre=true] +\pstDosage[niveauReactifBurette=20,niveauLiquide1=40,aspectLiquide1=Champagne,% + glassType=becher,phmetre=false,agitateurMagnetique=false] +\end{LTXexample} +\egroup + +\bgroup +\makebox[\textwidth]{% +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \psset{glassType=tube} + \rput(2.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(3,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=75,aspectLiquide1=Sang]} + \rput(2,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80]} +\end{pspicture} +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \rput(2.4,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(2.8,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=65,aspectLiquide1=Sang]} + \rput(1.7,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=10]} + \rput(3.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=-10]} +\end{pspicture} +\begin{pspicture}(1,3)(5,6) + \rput(2.5,4){\pstBallon[glassType=ballon,unit=0.5,niveauLiquide1=15]} + \rput(1.3,5.4){\pstTubeEssais[unit=0.5,niveauLiquide1=95, + niveauLiquide2=60,niveauLiquide3=30,tubePenche=-60]} +\end{pspicture} +} +\egroup + +\begin{lstlisting} +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \psset{glassType=tube} + \rput(2.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(3,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=75,aspectLiquide1=Sang]} + \rput(2,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80]} +\end{pspicture} +\begin{pspicture}(0,0)(5,6) + \rput(4,3){\pstChauffageBallon[becBunsen=true,unit=0.5]} + \rput(2.5,4){\pstBallon[glassType=becher,xunit=1,yunit=0.5,aspectLiquide1=Champagne,runit=0.7]} + \rput(2.4,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=70,aspectLiquide1=Diffusion]} + \rput(2.8,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=65,aspectLiquide1=Sang]} + \rput(1.7,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=10]} + \rput(3.5,3.7){\pstTubeEssais[tubeDroit=true,unit=0.35,niveauLiquide1=80,tubePenche=-10]} +\end{pspicture} +\begin{pspicture}(1,3)(5,6) + \rput(2.5,4){\pstBallon[glassType=ballon,unit=0.5,niveauLiquide1=15]} + \rput(1.3,5.4){\pstTubeEssais[unit=0.5,niveauLiquide1=95, + niveauLiquide2=60,niveauLiquide3=30,tubePenche=-60]} +\end{pspicture} +\end{lstlisting} + + + +% --------------------------------------------------------------------------------------- +\section{Couleurs et styles prédéfinis}\label{sec:pstlabo8:Stile} +% --------------------------------------------------------------------------------------- +L'ensemble des couleurs et styles prédéfinis dans l'extension \LPack{pst-labo} +est présenté ci-dessous. Tous peuvent être modifiés pour les besoins de +l'utilisateur. + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\definecolor{Beige} {rgb}{0.96,0.96,0.86} +\definecolor{GrisClair} {rgb}{0.8,0.8,0.8} +\definecolor{GrisTresClair} {rgb}{0.9,0.9,0.9} +\definecolor{OrangeTresPale}{cmyk}{0,0.1,0.3,0} +\definecolor{OrangePale} {cmyk}{0,0.2,0.4,0} +\definecolor{BleuClair} {cmyk}{0.2,0,0,0} +\definecolor{LightBlue} {rgb}{.68,.85,.9} +\definecolor{Copper} {cmyk}{0,0.9,0.9,0.2} +\definecolor{Marron} {cmyk}{0,0.3,0.5,.3} +% +\newpsstyle{aspectLiquide1} {linestyle=none,fillstyle=solid,fillcolor=cyan} +\newpsstyle{aspectLiquide2} {linestyle=none,fillstyle=solid,fillcolor=yellow} +\newpsstyle{aspectLiquide3} {linestyle=none,fillstyle=solid,fillcolor=magenta} +\newpsstyle{Champagne} {linestyle=none,fillstyle=solid,fillcolor=Beige} +\newpsstyle{BilleThreeD} {linestyle=none,fillstyle=gradient,gradmidpoint=0,gradend=white,GradientCircle=true} +\newpsstyle{Sang} {linestyle=none,fillstyle=solid,fillcolor=red} +\newpsstyle{Cobalt} {linewidth=0.2,fillstyle=solid,fillcolor=blue} +\newpsstyle{Huile} {linestyle=none,fillstyle=solid,fillcolor=yellow} +\newpsstyle{Vinaigre} {linestyle=none,fillstyle=solid,fillcolor=magenta} +\newpsstyle{Diffusion} {linestyle=none,fillstyle=gradient,gradmidpoint=0} +\newpsstyle{DiffusionMelange2}{fillstyle=gradient,gradbegin=white,gradend=red,gradmidpoint=0,linecolor=red} +\newpsstyle{flammeEtGrille} {linestyle=none,fillstyle=gradient,gradmidpoint=0,gradbegin=OrangePale,gradend=yellow} +\newpsstyle{rayuresJaunes} {fillstyle=hlines,linecolor=yellow,hatchcolor=yellow} +\newpsstyle{DiffusionBleue} {fillstyle=gradient,gradmidpoint=0,linestyle=none,gradbegin=green,gradend=cyan} +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\section{Macros}\label{sec:pstlabo8:Makros} +% --------------------------------------------------------------------------------------- + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstTubeEssais}}\label{sec:pstlabo8:pstTubeEssais} +% --------------------------------------------------------------------------------------- +Cette commande, déjà présente dans la plupart des exemples, permet de +représenter les divers types de verrerie rencontrés. Lorsqu'elle est employée +sans paramètre, un tube à essai est affiché (\verb+glassType=tube+). + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5} +\pstTubeEssais +\pstTubeEssais[glassType=becher] +\pstTubeEssais[glassType=erlen,niveauLiquide1=80] +\pstTubeEssais[glassType=flacon] +\pstTubeEssais[glassType=ballon,niveauLiquide1=20,aspectLiquide1=DiffusionBleue] +\pstTubeEssais[glassType=fioleJauge] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstChauffageTube}}\label{sec:pstlabo8:pstChauffageTube} +% --------------------------------------------------------------------------------------- +L'option \Lmcs{pstChauffageTube} propose plus d'options que la commande +précédente en permettant notamment le tracé d'un bec Bunsen, d'une pince en +bois ou d'un tube à dégagement. + +\begin{center} +\bgroup +\psset{unit=0.5} +\pstChauffageTube[tubeSeul] +\pstChauffageTube[glassType=ballon,becBunsen=false,tubeSeul] +\pstChauffageTube[glassType=erlen,becBunsen,pince,tubeSeul] +\pstChauffageTube[becBunsen,barbotage,glassType=flacon] +\pstChauffageTube[becBunsen,tubeCoude,glassType=ballon,niveauLiquide1=20,% + aspectLiquide1=DiffusionBleue,tubeSeul,pince] +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5} +\pstChauffageTube[tubeSeul] +\pstChauffageTube[glassType=ballon,becBunsen=false,tubeSeul] +\pstChauffageTube[glassType=erlen,becBunsen,pince,tubeSeul] +\pstChauffageTube[becBunsen,barbotage,glassType=flacon] +\pstChauffageTube[becBunsen,tubeCoude,glassType=ballon,niveauLiquide1=20,% + aspectLiquide1=DiffusionBleue,tubeSeul,pince] +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstBallon}}\label{sec:pstlabo8:pstBallon} +% --------------------------------------------------------------------------------------- +L'option \Lmcs{pstBallon} est proche de l'option \Lmcs{pstTubeEssais} mais +dispose de quelques options supplémentaires. + +\begin{center} +\bgroup +\psset{unit=0.5cm} +\pstBallon\hspace{-0.5cm} +\pstBallon[glassType=erlen]\hspace{-0.5cm} +\pstBallon[glassType=becher,xunit=0.75cm,yunit=0.3cm,aspectLiquide1=Champagne,runit=0.4cm]\hspace{-0.5cm} +\raisebox{0.5cm}{\pstBallon[refrigerantBoulles=true]} +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstBallon\hspace{-0.5cm} +\pstBallon[glassType=erlen]\hspace{-0.5cm} +\pstBallon[glassType=becher,xunit=0.75cm,yunit=0.25cm,aspectLiquide1=Champagne,runit=0.4cm]\hspace{-0.5cm} +\raisebox{1cm}{\pstBallon[refrigerantBoulles=true]} +\end{lstlisting} + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstChauffageBallon}}\label{sec:pstlabo8:pstChauffageBallon} +% --------------------------------------------------------------------------------------- +L'option \Lmcs{pstChauffageBallon} complète la précédente en associant, par +défaut, un bec Bunsen. + +\begin{center} +\bgroup +\psset{unit=0.5cm} +\pstChauffageBallon +\pstChauffageBallon[barbotage,tubeCoudeUB,becBunsen,substance=\pstBilles]\\ +\pstChauffageBallon[glassType=flacon,recuperationGaz,tubeRecourbeCourt,substance={\pstFilaments[10]{red}}] +\pstChauffageBallon[doubletube,recuperationGaz,substance=\pstClouFer] +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstChauffageBallon +\pstChauffageBallon[barbotage,tubeCoudeUB,becBunsen,substance=\pstBilles]\\ +\pstChauffageBallon[glassType=flacon,recuperationGaz,tubeRecourbeCourt,substance={\pstFilaments[10]{red}}] +\pstChauffageBallon[doubletube,recuperationGaz,substance=\pstClouFer] +\end{lstlisting} + + + +\begin{center} +\bgroup +\psset{unit=0.5cm} +\pstChauffageBallon[glassType=erlen,tubeRecourbe,recuperationGaz,substance=\pstTournureCuivre]\hspace{3cm} +\pstChauffageBallon[glassType=becher,aspectLiquide1=Champagne,substance=\pstBullesChampagne]\hspace{.25cm} +\pstChauffageBallon[glassType=erlen,substance=\pstBullesChampagne,tubeDroit] +\egroup +\end{center} + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstChauffageBallon[glassType=erlen,tubeRecourbe,recuperationGaz,substance=\pstTournureCuivre] +\pstChauffageBallon[glassType=becher,aspectLiquide1=Champagne,substance=\pstBullesChampagne] +\pstChauffageBallon[glassType=erlen,substance=\pstBullesChampagne,tubeDroit] +\end{lstlisting} + + + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstEntonnoir}}\label{sec:pstlabo8:pstTubeEssais} +% --------------------------------------------------------------------------------------- +L'option \Lmcs{pstEntonnoir} place un entonnoir au-dessus de la verrerie +employée, un tube à essai par défaut. Cette commande accepte tous les +paramètres disponibles. + +\bgroup +\begin{LTXexample}[pos=t] +\psset{unit=0.5cm} +\pstEntonnoir +\pstEntonnoir[glassType=becher,tubePenche=-20] +\pstEntonnoir[glassType=flacon,etiquette=true,Numero={\green 37},% + aspectLiquide1=DiffusionBleue,niveauLiquide1=80] +\end{LTXexample} +\egroup + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstEprouvette}}\label{sec:pstlabo8:pstEprouvette} +% --------------------------------------------------------------------------------------- +L'option \Lmcs{pstEprouvette} dessine une éprouvette graduée. Pour ajuster sa +taille, il suffit de jouer sur les facteurs d'échelle de \PST. + +\bgroup +\begin{LTXexample} +\pstEprouvette[yunit=0.5cm] +\pstEprouvette[unit=0.6cm,niveauLiquide1=100,niveauLiquide2=60,niveauLiquide3=30] +\end{LTXexample} +\egroup + + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstpipette}}\label{sec:pstlabo8:pstpipette} +% --------------------------------------------------------------------------------------- +L'option \Lmcs{pstpipette} représente une pipette. Là aussi, les facteurs +d'échelle de \PST permette d'en modifier la dimension. + +\bgroup +\begin{LTXexample} +\pstpipette[unit=0.5cm,tubePenche=40] +\pstpipette[yunit=0.5cm] +\end{LTXexample} +\egroup + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstDosage}}\label{sec:pstlabo8:pstDosage} +% --------------------------------------------------------------------------------------- +L'option \Lmcs{pstDosage} représente un montage classique de dosage. La +capacité maximale de la burette est de 25~mL. Diverses options contrôlent la +hauteur de liquide et sa nature. Le montage peut être complété par un +chauffe-ballon et un pH-mètre (uniquement avec un \verb+becher+). + +\bgroup\noindent +\makebox[\linewidth]{% +\psset{unit=0.5cm} +\pstDosage +\pstDosage[glassType=becher,phmetre=true] +\pstDosage[niveauReactifBurette=10,niveauLiquide1=60,aspectLiquide1=Champagne,% + glassType=flacon,agitateurMagnetique=false] +\pstDosage[glassType=erlen,burette=false]} +\egroup + +\begin{lstlisting}[xrightmargin=-\marginparwidth] +\psset{unit=0.5cm} +\pstDosage +\pstDosage[glassType=becher,phmetre=true] +\pstDosage[niveauReactifBurette=10,niveauLiquide1=60,aspectLiquide1=Champagne,% + glassType=flacon,agitateurMagnetique=false] +\pstDosage[glassType=erlen,burette=false]} +\end{lstlisting} + + +% --------------------------------------------------------------------------------------- +\subsection{\CMD{pstDistillation}}\label{sec:pstlabo8:pstDistillation} +% --------------------------------------------------------------------------------------- +Les seuls paramètres acceptés par la commande \Lmcs{pstDistillation} sont ceux +de la dimension de l'environnement \Lmenv{pspicture}. + +\medskip +\noindent +\Lmcs{pstDistillation}\\ +\Lmcs{pstDistillation}\Largr{$x_{ll},y_{ll}$}\Largr{$x_{ur},y_{ur}$} % $ + +\medskip +En l'absence de coordonnées optionnelles, la dimension de travail sera +$(-4,-10)(8,7)$. L'espace important suppose que d'autres objets seront placés, +à l'aide de la commande \Lmcs{rput}, + +\bgroup +\begin{LTXexample} +\psset{unit=0.5cm} +\pstDistillation(-3,-10)(7,6) +\end{LTXexample} +\egroup + + + + +% --------------------------------------------------------------------------------------- +\section{Objets de base}\label{sec:pstlabo:Objects} +% --------------------------------------------------------------------------------------- +Tous les objets de base de l'extension se trouvent dans le fichier +\LFile{pst-laboObj.tex}. Par manque de place, ils ne sont pas présentés ici. + + +% --------------------------------------------------------------------------------------- +\section{Exemples}\label{sec:pstlabo:Beispiele} +% --------------------------------------------------------------------------------------- +La création d'exemples complexes est grandement facilitée par l'utilisation +d'une grille de référence (\Lmcs{psgrid}). + +\begin{figure} +\centering +\bgroup +\sffamily +\begin{pspicture}(0,-4)(7,4) + \rput(3,0){\pstDosage[niveauReactifBurette=25,niveauLiquide1=30,% + aspectLiquide1=Champagne,glassType=becher,phmetre,unit=0.5]} + \rput(2,3){Burette} + \rput(4.7,3.6){25 mL} + \rput(5.2,-2.2){H$_3$O$^+$+Cl$^-$} + \rput(.8,-3){pH-mètre} + \rput(5,-2.8){20 mL} + \rput(5,1){Na$^+$+OH$^-$} \rput(6.4,-3.6){Plaque chauffante} + \psline{->}(2.7,2.9)(3.4,2.9) +\end{pspicture} +\begin{pspicture}(-3,-2)(2,3) + \psset{unit=0.5cm} + \rput(-4.5,4.0){\pstEprouvette[tubePenche=-60,niveauLiquide1=90,niveauLiquide2=50]} + \rput(.5,0){\pstEntonnoir[glassType=flacon,niveauLiquide1=30]} + \rput(.5,7.5){ + \framebox{\begin{minipage}{3.2cm}Après la décantation, les différentes + phases sont séparées et la dernière est filtrée. + \end{minipage}}} +\end{pspicture} +\egroup +\caption{Exemple d'utilisation de \Lmcs{pstDosage}} +\end{figure} + + +\begin{figure} +\centering +\bgroup +\psset{unit=0.5cm,etiquette} +\newpsstyle{Nickel}{fillstyle=solid,fillcolor=green} +\pstTubeEssais[niveauLiquide1=20,aspectLiquide1=Champagne,Numero=1]\kern-20pt +\pstTubeEssais[niveauLiquide1=30,aspectLiquide1=Cobalt,Numero=2]\kern-20pt +\pstTubeEssais[niveauLiquide1=40,aspectLiquide1=Sang,Numero=3]\kern-20pt +\pstTubeEssais[Numero=4]\kern-20pt +\psset{bouchon,glassType=flacon} +\pstTubeEssais[aspectLiquide1=Vinaigre,Numero={\footnotesize MnO$_4^-$}] +\pstTubeEssais[aspectLiquide1=Huile,unit=0.75,Numero={\footnotesize Ce$^{4+}$}] +\pstTubeEssais[aspectLiquide1=Nickel,Numero={\footnotesize Ni$^{2+}$}] +\pstTubeEssais[Numero={\footnotesize Cu$^{2+}$}] +\pstTubeEssais[niveauLiquide1=30,aspectLiquide1=Champagne,Numero={\footnotesize NaOH},unit=0.75] +\egroup +\caption{Exemple d'utilisation de \Lmcs{pstTubeEssais}} +\end{figure} + + +\nocite{*} +\bibliographystyle{plain} +\bibliography{pst-labo-doc} + + +\endinput diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-labo.tex b/Master/texmf-dist/doc/latex/pst-labo/pst-labo.tex new file mode 100644 index 00000000000..b7996d1ed55 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-labo.tex @@ -0,0 +1,623 @@ +%% Package `pst-labo.tex' +%% +%% This program can be redistributed and/or modified under +%% the terms of the LaTeX Project Public License Distributed +%% from CTAN archives in directory macros/latex/base/lppl.txt. +%% +%% DESCRIPTION: +%% `pst-labo' is a PSTricks package for +%% chemical objects. +%% +%% +%% Authors : Denis Girou <Denis.Girou@idris.fr> +%% Christophe Jorsen <Christophe.Jorssen@free.fr> +%% Manuel Luque <Mluque5130@aol.com> +%% Herbert Voss <hvoss@tug.org> +%% +\csname PSTLaboLoaded\endcsname +\let\PSTLaboLoaded\endinput +% +% Require PSTricks, pstcol,pstplot, and multido packages +\ifx\PSTricksLoaded\endinput\else\input pstricks.tex\fi +\ifx\PSTplotLoaded\endinput\else\input pst-plot.tex\fi +\ifx\MultidoLoaded\endinput\else\input multido.tex\fi +\ifx\PSTGradLoaded\endinput\else\input pst-grad.tex\fi +\ifx\PSTXKeyLoaded\endinput\else\input pst-xkey.tex\fi +% +\def\fileversion{2.02} +\def\filedate{05/10/01} +% +\message{`PST-labo8' v\fileversion, \filedate\space (ML/CJ/DG/HV)} +\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax +% +\pst@addfams{pst-labo} +% +%\input random +\input {pst-laboObj} +% +\definecolor{Beige} {rgb}{0.96,0.96,0.86} +\definecolor{GrisClair} {rgb}{0.8,0.8,0.8} +\definecolor{GrisTresClair} {rgb}{0.9,0.9,0.9} +\definecolor{OrangeTresPale}{cmyk}{0,0.1,0.3,0} +\definecolor{OrangePale}{cmyk}{0,0.2,0.4,0} +\definecolor{BleuClair}{cmyk}{0.2,0,0,0} +\definecolor{LightBlue}{rgb}{.68,.85,.9} +\definecolor{Copper}{cmyk}{0,0.9,0.9,0.2} +\definecolor{Marron}{cmyk}{0,0.3,0.5,.3} +\SpecialCoor + +\newdimen{\BulleX} +\newdimen{\BulleY} +\newdimen\GrenailleX +\newdimen\GrenailleY +\newdimen\TournureX +\newdimen\TournureY +\newdimen\RAYONBULLE +\newdimen\ClouX +\newdimen\ClouY +\newdimen{\pst@FilamentWidth} +\newdimen\pst@dimA +\newcount\lab@AngleRotation + + +\newif\ifPst@burette +\define@key[psset]{pst-labo}{burette}[true]{\@nameuse{Pst@burette#1}}% +\define@key[psset]{pst-labo}{couleurReactifBurette}{\edef\psk@Burette@CouleurReactif{#1}}% +\define@key[psset]{pst-labo}{niveauReactifBurette}{% + \pst@cnta=#1\relax + \ifnum\pst@cnta>25 + \typeout{Niveau must be 25 and not `\the\pst@cnta'. Value 25 forced.} \pst@cnta=25 + \fi% + \def\psk@burette@niveauReactif{#1}% +}% +\define@key[psset]{pst-labo}{reactifBurette}{\def\psk@Reactif@Burette{#1}}% +\define@key[psset]{pst-labo}{reactifBecher}{\def\psk@Reactif@Becher{#1}}% + +\newif\ifpst@dosage@PHmetre +\define@key[psset]{pst-labo}{phmetre}[true]{\@nameuse{pst@dosage@PHmetre#1}}% +% +\define@key[psset]{pst-labo}{couleurReactif}{\edef\psk@pipette@couleurReactif{#1}}% +\define@key[psset]{pst-labo}{niveauReactif}{% + \pst@cntg=#1\relax + % tubePenche must be between -65 and 65 + \ifnum\pst@cntg>10 + \typeout{Niveau must be 10 and not `\the\pst@cntg'. Value 10 forced.} \pst@cntg=10 + \fi + \def\psk@pipette@niveauReactif{#1}% +}% + +\define@key[psset]{pst-labo}{CouleurDistillat}{\def\psk@Distillation@CouleurDistillat{#1}} +\define@key[psset]{pst-labo}{AspectMelange}{\def\psk@Distillation@AspectMelange{#1}} + +% Parameters of \TubeEssais +% ------------------------- +\newif\ifPst@TubeEssais@bouchon +\define@key[psset]{pst-labo}{bouchon}[true]{\@nameuse{Pst@TubeEssais@bouchon#1}}% +% +\newif\ifPst@TubeEssais@tubeDroit +\define@key[psset]{pst-labo}{tubeDroit}[true]{\@nameuse{Pst@TubeEssais@tubeDroit#1}} + +\newif\ifPst@TubeEssais@tubeCoude +\define@key[psset]{pst-labo}{tubeCoude}[true]{\@nameuse{Pst@TubeEssais@tubeCoude#1}} + +\newif\ifPst@TubeEssais@tubeCoudeU +\define@key[psset]{pst-labo}{tubeCoudeU}[true]{\@nameuse{Pst@TubeEssais@tubeCoudeU#1}} + +\newif\ifPst@TubeEssais@tubeCoudeUB +\define@key[psset]{pst-labo}{tubeCoudeUB}[true]{\@nameuse{Pst@TubeEssais@tubeCoudeUB#1}} + +\newif\ifPst@TubeEssais@tubeRecourbe +\define@key[psset]{pst-labo}{tubeRecourbe}[true]{\@nameuse{Pst@TubeEssais@tubeRecourbe#1}} + +\newif\ifPst@TubeEssais@tubeRecourbe@Court +\define@key[psset]{pst-labo}{tubeRecourbeCourt}[true]{\@nameuse{Pst@TubeEssais@tubeRecourbe@Court#1}} + +\newif\ifPst@TubeEssais@DoubleTube +\define@key[psset]{pst-labo}{doubletube}[true]{\@nameuse{Pst@TubeEssais@DoubleTube#1}} + +\newif\ifPst@TubeEssais@Refrigerant@Boulles +\define@key[psset]{pst-labo}{refrigerantBoulles}[true]{\@nameuse{Pst@TubeEssais@Refrigerant@Boulles#1}} + +\newif\ifPst@TubeEssais@Pince +\define@key[psset]{pst-labo}{pince}[true]{\@nameuse{Pst@TubeEssais@Pince#1}}% + +\newif\ifpst@barbotage +\define@key[psset]{pst-labo}{barbotage}[true]{\@nameuse{pst@barbotage#1}}% + +\newif\ifpst@recuperationGaz +\define@key[psset]{pst-labo}{recuperationGaz}[true]{\@nameuse{pst@recuperationGaz#1}}% + +\newif\ifpst@tubeSeul +\define@key[psset]{pst-labo}{tubeSeul}[true]{\@nameuse{pst@tubeSeul#1}}% + +\newif\ifpst@tubeDegagementDroit +\define@key[psset]{pst-labo}{tubeDegagementDroit}[true]{\@nameuse{pst@tubeDegagementDroit#1}}% + +\newif\ifpst@becBunsen +\define@key[psset]{pst-labo}{becBunsen}[true]{\@nameuse{pst@becBunsen#1}}% + +\define@key[psset]{pst-labo}{Numero}[true]{\@namedef{pst@Numero}{#1}}% + +\newif\ifPst@Etiquette +\define@key[psset]{pst-labo}{etiquette}[true]{\@nameuse{Pst@Etiquette#1}}% + +\newif\ifPst@Agitateur@Magnetique +\define@key[psset]{pst-labo}{agitateurMagnetique}[true]{\@nameuse{Pst@Agitateur@Magnetique#1}}% + +% Straight or oblique tube +\define@key[psset]{pst-labo}{tubePenche}{% + \pst@cntg=#1\relax + % tubePenche must be between -65 and 65 + \ifnum\pst@cntg<-65 + \typeout{Angle must be >=-65 and not `\the\pst@cntg'. Value -65 forced.}% + \pst@cntg=65 + \fi% + \ifnum\pst@cntg>65 + \typeout{Angle must be <=65 and not `\the\pst@cntg'. Value 65 forced.}% + \pst@cntg=65 + \fi% + \edef\psk@TubeEssais@tubePenche{\the\pst@cntg}} +% Level of liquids +\define@key[psset]{pst-labo}{niveauLiquide1}{\@namedef{psk@TubeEssais@niveauLiquide1}{#1}} +\define@key[psset]{pst-labo}{niveauLiquide2}{\@namedef{psk@TubeEssais@niveauLiquide2}{#1}} +\define@key[psset]{pst-labo}{niveauLiquide3}{\@namedef{psk@TubeEssais@niveauLiquide3}{#1}} +% Aspect of liquids +\define@key[psset]{pst-labo}{aspectLiquide1}{\@namedef{psk@TubeEssais@aspectLiquide1}{#1}} +\define@key[psset]{pst-labo}{aspectLiquide2}{\@namedef{psk@TubeEssais@aspectLiquide2}{#1}} +\define@key[psset]{pst-labo}{aspectLiquide3}{\@namedef{psk@TubeEssais@aspectLiquide3}{#1}} +% Substance +\define@key[psset]{pst-labo}{substance}{\def\@tempa{#1}\let\psk@TubeEssais@Subtance\@tempa} +%Solides +\define@key[psset]{pst-labo}{solide}{\def\@tempa{#1}\let\psk@TubeEssais@Solide\@tempa} +% +% 0->TUBE 1->BALLON 2->BECHER 3->ERLEN 4->FLACON 5->fioleJauge 6->Verre +\def\pst@@TUBE{tube} +\def\pst@@BALLON{ballon} +\def\pst@@BECHER{becher} +\def\pst@@ERLEN{erlen} +\def\pst@@FLACON{flacon} +\def\pst@@fioleJauge{fioleJauge} +\def\pst@@Verre{verre} +% +\define@key[psset]{pst-labo}{glassType}{% + \def\pst@tempA{#1} + \edef\psk@glassType{% + \ifx\pst@@TUBE\pst@tempA 0 \else % TUBE + \ifx\pst@@BALLON\pst@tempA 1 \else % BALLON + \ifx\pst@@BECHER\pst@tempA 2 \else % BECHER + \ifx\pst@@ERLEN\pst@tempA 3 \else % ERLEN + \ifx\pst@@FLACON\pst@tempA 4 \else % FLACON + \ifx\pst@@fioleJauge\pst@tempA 5 \else % fioleJauge + \ifx\pst@@Verre\pst@tempA 6 \else 0 % Verre + \typeout{pst-labo: unknown glassType -> #1} + \typeout{ using type "tube" instead.} + \fi\fi\fi\fi\fi\fi\fi% % default is tube +}} +% +% Default values +\newpsstyle{aspectLiquide1}{linestyle=none,fillstyle=solid,fillcolor=cyan} +\newpsstyle{aspectLiquide2}{linestyle=none,fillstyle=solid,fillcolor=yellow} +\newpsstyle{aspectLiquide3}{linestyle=none,fillstyle=solid,fillcolor=magenta} +\newpsstyle{BilleThreeD}{linestyle=none,fillstyle=gradient,gradmidpoint=0,gradend=white,GradientCircle=true} +\newpsstyle{Champagne}{linestyle=none,fillstyle=solid,fillcolor=Beige} +\newpsstyle{Sang}{linestyle=none,fillstyle=solid,fillcolor=red} +\newpsstyle{Cobalt}{linewidth=0.2,fillstyle=solid,fillcolor=blue} +\newpsstyle{Huile}{linestyle=none,fillstyle=solid,fillcolor=yellow} +\newpsstyle{Vinaigre}{linestyle=none,fillstyle=solid,fillcolor=magenta} +\newpsstyle{Diffusion}{linestyle=none,fillstyle=gradient,gradmidpoint=0} +\newpsstyle{DiffusionMelange2}{fillstyle=gradient,gradbegin=white,gradend=red,gradmidpoint=0,linecolor=red} +\newpsstyle{flammeEtGrille}{linestyle=none,fillstyle=gradient,gradmidpoint=0,gradbegin=OrangePale,gradend=yellow} +\newpsstyle{rayuresJaunes}{fillstyle=hlines,linecolor=yellow,hatchcolor=yellow} +\newpsstyle{DiffusionBleue}{fillstyle=gradient,gradmidpoint=0,linestyle=none,gradbegin=green,gradend=cyan} + + +\psset[pst-labo]{glassType=tube,bouchon=false,tubeDroit=false,tubeCoude=false,tubePenche=0,substance=\relax,% + niveauLiquide1=50,aspectLiquide1=aspectLiquide1,% + niveauLiquide2=0,aspectLiquide2=aspectLiquide2,% + niveauLiquide3=0,aspectLiquide3=aspectLiquide3,barbotage=false,tubeSeul=false,% + tubeDegagementDroit=false,becBunsen=true,tubeCoudeU=false,tubeCoudeUB=false,% + tubeRecourbe=false,tubeRecourbeCourt=false,% + pince=false,refrigerantBoulles=false,% + doubletube=false,recuperationGaz=false,Numero={},etiquette=false,% + agitateurMagnetique=true,solide=\relax,% + couleurReactif=OrangePale,niveauReactif=2,burette=true,% + couleurReactifBurette=OrangeTresPale,niveauReactifBurette=20,% + reactifBurette={},reactifBecher={},phmetre=false,% + CouleurDistillat=yellow,AspectMelange=DiffusionBleue} + +% +\def\pstDosage{\pst@object{pst@Dosage}} +\def\pst@Dosage@i{% + \addbefore@par{dimen=middle}% + \begin@SpecialObj + \ifPst@burette + \ifpst@dosage@PHmetre\pspicture(-5,0)(3,16)\else\pspicture(-2,0)(2,16)\fi + \else + \ifpst@dosage@PHmetre\pspicture(-5,0)(3,5)\else\pspicture(-2,0)(2,5)\fi% without any additional object + \fi + \rput(0,3.5){\pstBallon}% + \ifPst@burette\rput(0,4.5){% + \psclip{\pscustom[linestyle=none]{\pst@burette@corps}} + \psframe*[linecolor=\psk@Burette@CouleurReactif](-1,-1)(! 1 \the\pst@cnta\space 0.32 mul 2.68 add) + \endpsclip} + \fi% + \psset{linewidth=0.053}% + \ifPst@burette\rput(0,4.5){\pst@burette@corps\pst@burette@robinet\pst@burette@graduation}\fi% + \ifpst@dosage@PHmetre\rput(-3,0){\pst@dosage@pHmetre}\fi% + \ifPst@Agitateur@Magnetique + \rput(0,1.5){\pst@dosage@aimant}% + \rput(0,0){\pst@dosage@support}\else\psframe(-1.5,0)(1.5,1.5)% + \fi% + \ifPst@burette\uput[0](2,11){\psk@Reactif@Burette}\fi% + \uput[0](2,3.5){\psk@Reactif@Becher}% + \endpspicture% + \end@SpecialObj% +} +% +\def\pstpipette{\pst@object{pst@pipette}} +\def\pst@pipette@i{% + \addbefore@par{dimen=middle}% + \begin@SpecialObj + \pspicture(-1,-1)(1,6)%\psgrid[subgriddiv=0,gridcolor=red]% + \psclip{% + \pscustom[linestyle=none]{\pst@pipette@corps\pst@goutte}} + \psframe*[linecolor=\psk@pipette@couleurReactif](-1,-2)(! 1 \the\pst@cntg\space 2 div)% + \endpsclip% + \pst@pipette@corps% + \pst@goutte% + \endpspicture + \end@SpecialObj% +}% + +% To show liquids in the eprouvette +\def\pst@Eprouvette@Liquide#1#2#3{% + \pspolygon[style=#2]% + (! -4 4.5 #1 mul 100 div #3 cos mul)(-4,-1)(5,-1)(! 5 4.5 #1 mul 100 div #3 cos mul)} +% To show liquids in the tube +\def\pst@TubeEssais@Liquide#1#2#3{% + \pspolygon[style=#2](! -4 3 #1 mul 100 div #3 cos mul)(-4,-1)(5,-1)(! 5 3 #1 mul 100 div #3 cos mul)} + +\def\pstEprouvette{\pst@object{pst@Eprouvette}} +\def\pst@Eprouvette@i{{% + \addbefore@par{dimen=middle}% + \begin@SpecialObj + \pspicture(-2,0)(2,6) + \psclip{\rput{\psk@TubeEssais@tubePenche}{% + \pscustom[linestyle=none]{\pst@eprouvette@corps}}} + \multido{\iLiquide=\@ne+\@ne}{\thr@@}{% + \ifnum\csname psk@TubeEssais@niveauLiquide\iLiquide\endcsname>\z@ + \pst@Eprouvette@Liquide% + {\csname psk@TubeEssais@niveauLiquide\iLiquide\endcsname}% + {\csname psk@TubeEssais@aspectLiquide\iLiquide\endcsname} + {\psk@TubeEssais@tubePenche}% + \fi% + }% + \psk@TubeEssais@Subtance + \endpsclip + \rput{\psk@TubeEssais@tubePenche}{ + \pst@eprouvette@corps\pst@eprouvette@pied{\psset{linewidth=0.02}\pst@eprouvette@graduation} + \rput(0,5){\pst@eprouvette@rebord}} + \endpspicture + \end@SpecialObj% +}} + +\def\pstDistillation{\pst@object{pst@Distillation}} +\def\pst@Distillation@i{\@ifnextchar({\pst@Distillation@ii}{\pst@Distillation@ii(-4,-10)(8,7)}}% +\def\pst@Distillation@ii(#1,#2)(#3,#4){% + \begin@SpecialObj% + \pspicture(#1,#2)(#3,#4) + \rput(-3,-7){\pst@DistillationFractionnee} + \endpspicture% + \end@SpecialObj% +} +% +\def\pstEntonnoir{\pst@object{pst@Entonnoir}} +\def\pst@Entonnoir@i{{% + \addbefore@par{dimen=middle}% + \begin@SpecialObj% + \pspicture(-2,-2)(2,5)%\psgrid[subgriddiv=0,gridcolor=red]% + \rput(0,0){\pstTubeEssais} \rput(0,1.5){\pst@Entonnoir@Corps}% + \endpspicture% + \end@SpecialObj% +}} +% +% +\def\pstTubeEssais{\pst@object{pst@TubeEssais}} +\def\pst@TubeEssais@i{{% + \addbefore@par{dimen=midle} + \begin@SpecialObj + \ifPst@TubeEssais@tubeCoude\pspicture(-1,0)(6,4)\else + \ifnum\psk@TubeEssais@tubePenche=0 \pspicture(-1.5,0)(1.5,4)\else + \ifnum\psk@TubeEssais@tubePenche>0 \pspicture(-3,0)(1,4)\else + \ifnum\psk@TubeEssais@tubePenche<0 \pspicture(-1,0)(3,4)\else + \pspicture(-2,0)(2,4)% + \fi\fi\fi\fi +% 0->TUBE 1->BALLON 2->BECHER 3->ERLEN 4->FLACON 5->fioleJauge 6->Verre + \psclip{% + \rput{\psk@TubeEssais@tubePenche}{% + \pscustom[linestyle=none]{% + \ifcase\psk@glassType\pst@TubeEssais@Corps\or %0 + \pst@ballon\or\pst@Becher@Corps\or\pst@Erlen@Corps\or\pst@Flacon@Corps\or + \pst@FIOLEJAUGE\or\pst@Verre@Corps\fi}}% + \psframe[linestyle=none](-3,-1)(! + 5 3 \@nameuse{psk@TubeEssais@niveauLiquide1}\space mul 100 div + \psk@TubeEssais@tubePenche\space cos mul)% + }% + \multido{\iLiquide=\@ne+\@ne}{\thr@@}{% + \ifnum\csname psk@TubeEssais@niveauLiquide\iLiquide\endcsname>\z@% + \pst@TubeEssais@Liquide% + {\csname psk@TubeEssais@niveauLiquide\iLiquide\endcsname}% + {\csname psk@TubeEssais@aspectLiquide\iLiquide\endcsname}% + {\psk@TubeEssais@tubePenche} + \fi% + }% + \psk@TubeEssais@Subtance% + \psk@TubeEssais@Solide% + \endpsclip% +% \psk@TubeEssais@Solide% + \rput{\psk@TubeEssais@tubePenche}(0,0){% + \ifPst@Etiquette\rput(0,2){\psframebox[linestyle=none,% + fillstyle=solid,fillcolor=GrisTresClair]{\pst@Numero}}\fi% + \ifcase\psk@glassType\pst@TubeEssais@Corps\or\pst@ballon\or + \pst@Becher@Corps\pst@RebordBecher\or + \pst@Erlen@Corps\psellipse[linewidth=0.07](0,3.5)(0.6,0.1)\or + \pst@Flacon@Corps\psellipse[linewidth=0.07](0,3.5)(0.6,0.1)\or + \pst@FIOLEJAUGE\or\pst@Verre@Corps\pst@Verre@Pied% + \fi + \ifPst@TubeEssais@tubeDroit\rput(0,3.5){\pst@TubeEssais@Droit}\else + \ifPst@TubeEssais@tubeCoude\rput(0,3.5){\pst@TubeEssais@Coude}\else + \ifPst@TubeEssais@tubeCoudeU\rput(0,3.5){\pst@TubeEssais@CoudeU}\else + \ifPst@TubeEssais@bouchon\rput(0,3.5){\pst@TubeEssais@Bouchon} + \fi\fi\fi\fi + \ifPst@TubeEssais@Pince\rput(0,3.2){\pst@TubeEssais@Pince}\fi% + }% + \endpspicture% + \end@SpecialObj% +}} +% +\def\pstChauffageTube{\pst@object{pst@ChauffageTube}} +\def\pst@ChauffageTube@i{% + \begin@SpecialObj% + \ifpst@tubeSeul\pspicture(-2,-5)(5,4)\else\pspicture(-3,-5)(10,4)\fi% + \ifpst@barbotage% + \rput(2.5,2.5){% + \pstTubeEssais[tubeCoude=true,tubePenche=-60]}% + \rput(8.2,-3){\pstTubeEssais[niveauLiquide1=50,tubePenche=30,pince=false,% + niveauLiquide1=70,glassType=tube,tubeCoude=false,% + aspectLiquide1=Champagne,substance={\pstBullesChampagne[20]}]}% + \else% + \ifcase\psk@glassType + \ifpst@tubeSeul\rput(1.5,2.5){\psset{tubePenche=-60}\pstTubeEssais}\else% + \ifPst@TubeEssais@tubeCoude\rput(2,2.5){\psset{tubePenche=-60}\pstTubeEssais}\else% + \rput(1,2.5){\psset{tubePenche=-60}\pstTubeEssais}% + \fi\fi% + \or\rput(2,2.5){\psset{tubePenche=-60}\pstTubeEssais}% ballon + \else\rput(1,2.5){\psset{tubePenche=-60}\pstTubeEssais}% + \fi% + \fi% + \ifpst@becBunsen\rput(1,-5){\pst@BecBunsen}\fi% + \endpspicture% + \end@SpecialObj% +}% +%%%%%%%%%%%%%%%ù fin ChauffageTube %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% 0->TUBE 1->BALLON 2->BECHER 3->ERLEN 4->FLACON 5->fioleJauge 6->Verre +\def\pstChauffageBallon{\pst@object{pst@ChauffageBallon}} +\def\pst@ChauffageBallon@i{% + \begin@SpecialObj + \ifpst@becBunsen\pst@cnth=-5 \else\pst@cnth=1 \fi + \ifnum\psk@glassType=2 \pspicture(-2,\pst@cnth)(3,5)\else % becher + \ifnum\psk@glassType=3 \pspicture(-2,\pst@cnth)(4,6)\else % erlen + \ifpst@barbotage\pspicture(-2,\pst@cnth)(6,7)\else + \ifPst@TubeEssais@tubeRecourbe@Court\pspicture(-2,0)(9,8)\else + \ifPst@TubeEssais@DoubleTube\pspicture(-2,0)(9,8)\else\pspicture(-2,\pst@cnth)(10,7) + \fi\fi\fi\fi\fi + %\psgrid[subgriddiv=0,gridcolor=red]% + %\psset{aspectLiquide1=Champagne,substance={\pstBullesChampagne[20]}}% + \ifpst@recuperationGaz% + \ifPst@TubeEssais@tubeRecourbe% + \rput(8,-5){\pst@Cristallisoir\pst@ReposeTube% + \rput(0,0.7){\pst@TubeRenverse\pstbulles}}\else% + \ifPst@TubeEssais@tubeRecourbe@Court\pst@becBunsenfalse% + \rput(6,1){\pst@Cristallisoir\pst@ReposeTube% + \rput(0,0.7){\pst@TubeRenverse\pstbulles}}\else% + \ifPst@TubeEssais@DoubleTube\pst@becBunsenfalse% + \rput(6.2,1){\pst@Cristallisoir\pst@ReposeTube% + \rput(0,0.7){\pst@TubeRenverse\pstbulles}}% + \fi\fi\fi\fi% + \rput(1,3){\pstBallon}% + \ifpst@barbotage% + \rput(5.3,-3){\pstTubeEssais[niveauLiquide1=50,niveauLiquide1=70,glassType=tube]}% + \fi % + \ifpst@becBunsen\rput(1,-5){\psset{dimen=middle,linewidth=0.053}\pst@BecBunsenGrille}\fi% + \endpspicture% + \end@SpecialObj% +} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% 0->TUBE 1->BALLON 2->BECHER 3->ERLEN 4->FLACON 5->fioleJauge 6->Verre +\def\pstBallon{\pst@object{pst@Ballon}} +\def\pst@Ballon@i{% + \begin@SpecialObj + \ifPst@TubeEssais@Refrigerant@Boulles\pspicture(-2,0)(2,12)\else\pspicture(-2,0)(2,4)\fi + \psclip{\rput{\psk@TubeEssais@tubePenche}{% + \pscustom[linestyle=none]{% + \ifcase\psk@glassType\pst@ballon\or\pst@ballon\or\pst@Becher@Corps\or\pst@Erlen@Corps\or + \pst@Flacon@Corps\else\pst@ballon\fi% ballon is default + }% + }% + \psframe[linestyle=none](-3,-1)(! + 4 3 + \@nameuse{psk@TubeEssais@niveauLiquide1}\space mul 100 div + \psk@TubeEssais@tubePenche\space cos mul)} + \multido{\iLiquide=\@ne+\@ne}{\thr@@}{% + \ifnum\csname psk@TubeEssais@niveauLiquide\iLiquide\endcsname>\z@ + \pst@TubeEssais@Liquide{\csname psk@TubeEssais@niveauLiquide\iLiquide\endcsname}% + {\csname psk@TubeEssais@aspectLiquide\iLiquide\endcsname}% + {\psk@TubeEssais@tubePenche}% + \fi% + }% + \psk@TubeEssais@Subtance + \psk@TubeEssais@Solide% + \endpsclip% + \rput{\psk@TubeEssais@tubePenche}{% + \ifPst@Etiquette\rput(0,1.5){\psframebox[linestyle=none,fillstyle=solid,% + fillcolor=GrisTresClair]{\pst@Numero}}% + \fi% + \ifcase\psk@glassType\pst@ballon\or\pst@ballon\or\pst@Becher@Corps\pst@RebordBecher\or + \pst@Erlen@Corps\psellipse[linewidth=0.07](0,3.5)(0.6,0.1)\or + \pst@Flacon@Corps\psellipse[linewidth=0.07](0,3.5)(0.6,0.1)\else\pst@ballon + \fi + \ifPst@TubeEssais@tubeDroit\rput(0,3.5){\pst@TubeEssais@Droit}\else + \ifPst@TubeEssais@tubeCoude\rput(0,3.5){\pst@TubeEssais@Coude}\else + \ifPst@TubeEssais@tubeCoudeU\rput(0,3.5){\pst@TubeEssais@CoudeU}\else + \ifPst@TubeEssais@tubeCoudeUB\rput(0,3.5){\pst@TubeEssais@CoudeUB}\else + \ifPst@TubeEssais@tubeRecourbe\rput(0,3.5){\pst@TubeRecourbe}\else + \ifPst@TubeEssais@tubeRecourbe@Court\rput(0,3.5){\pst@TubeRecourbe@Court}\else + \ifPst@TubeEssais@bouchon\rput(0,3.5){\pst@TubeEssais@Bouchon}\else + \ifPst@TubeEssais@DoubleTube\rput(0,3.5){\pst@TubeEssais@DoubleTube}\else + \ifPst@TubeEssais@Refrigerant@Boulles + \pst@Ballon@Reflux\rput(0,3.5){\pst@Refrigerant@Boulles}\pst@ChauffeBallon + \fi\fi\fi\fi\fi\fi\fi\fi\fi% + } + \endpspicture% + \end@SpecialObj% +} +% +\def\pstBullesChampagne{\@ifnextchar[{\pst@BullesChampagne@i}{\pst@BullesChampagne@i[25]}}% +\def\pst@BullesChampagne@i[#1]{{% + \multido{\iBulle=1+1}{#1}{% + \setrandim{\BulleX}{-1pt}{1pt} + \setrandim{\BulleY}{0pt}{2pt} + \pst@dimA=\BulleY + \ifdim\BulleY<1pt + \multiply\pst@dimA by 3 + \else\ifdim\BulleY<2pt + \multiply\pst@dimA by 2 + \else\multiply\pst@dimA by 1 + \fi\fi% + \rput{\psk@TubeEssais@tubePenche}{% +% \psdot[dotscale=\pointless\pst@dimh,dotstyle=o](! + \pscircle(! + \pointless\BulleX\space \pointless\BulleY\space + \csname psk@TubeEssais@niveauLiquide1\endcsname\space mul 100 div){\BulleY}% + }% + } +}} +% +%%%%%%%%% bulles pour tube renversé %%%%%%%%%%%%% +\def\pstbulles{\@ifnextchar[{\pst@bulles@i}{\pst@bulles@i[25]}}% +\def\pst@bulles@i[#1]{{% + \multido{\iBulle=1+1}{#1}{% + \setrandim{\BulleX}{-0.1pt}{0.1pt} \setrandim{\BulleY}{0.15pt}{3pt} + \pst@dimh=\BulleY + \ifdim\BulleY<1pt \multiply\pst@dimh by 3 + \else + \ifdim\BulleY<2pt \multiply\pst@dimh by 2 + \else \multiply\pst@dimh by 1 + \fi\fi + \rput{\psk@TubeEssais@tubePenche}{% + \psdot[dotscale=\pointless\pst@dimh,dotstyle=o](! \pointless\BulleX\space + \pointless\BulleY\space 1.5 mul)}} +}} +% +% +\def\pstFilaments{\@ifnextchar[{\pst@Filaments@i}{\pst@Filaments@i[5]}}% +\def\pst@Filaments@i[#1]#2{{% + \multido{\iFilament=1+1}{#1}{% + \setrandim{\pst@FilamentWidth}{0pt}{0.05pt} + \rput{\psk@TubeEssais@tubePenche}{% + \pscustom[linewidth=\pointless\pst@FilamentWidth,linecolor=#2]{% + \code{/MyRand rand 2 31 exp div def} + \pscurve(! MyRand 1 sub MyRand 2 mul 1 sub) + (! MyRand 0.2 add MyRand 2 add)(! MyRand MyRand 1 sub)(! MyRand 0.5 add MyRand 4 add)}}}% +}} +% +\def\pst@Clous@{{% + \psarc[unit=0.5,linewidth=0.1,linecolor=blue](0,0.5){.4}{190}{260} + \psline[unit=0.5,linecolor=blue](-0.28,0.2)(0.5,1)}} +% +% +\def\pstClouFer{\@ifnextchar[{\pst@ClouFer@i}{\pst@ClouFer@i[60]}}% +\def\pst@ClouFer@i[#1]{{% + \multido{\iClou=1+1}{#1}{% + \setrandim{\ClouX}{-1cm}{1cm} \setrandim{\ClouY}{-.2cm}{0.4cm} + \setrannum{\lab@AngleRotation}{-90}{90} + \rput{\psk@TubeEssais@tubePenche}{% + \rput{\the\lab@AngleRotation}(\ClouX,\ClouY){\pst@Clous@}}}% +}} +% +\def\pst@Cuivre{{ + \psbezier[unit=0.5,linewidth=0.1,linecolor=Copper]% + (.25,0.25)(-0,0)(-0.25,.25)(0.25,0.75)(0,.5)(-0.25,0.75)(0.25,1.25)(0,1)(-0.25,1.25)(0.25,1.75)}} +% +\def\pstTournureCuivre{\@ifnextchar[{\pst@TournureCuivre@i}{\pst@TournureCuivre@i[30]}}% +\def\pst@TournureCuivre@i[#1]{{% + \multido{\iTournure=1+1}{#1}{% + \setrandim{\TournureX}{-1cm}{1cm} \setrandim{\TournureY}{-.2cm}{0.3cm} + \setrannum{\lab@AngleRotation}{-180}{180} + \rput{\psk@TubeEssais@tubePenche}{% + \rput{\the\lab@AngleRotation}(\TournureX,\TournureY){\pst@Cuivre}}}% +}} + +%%%%%%%%%%%% grenaille de zinc %%%%%%%%%%%%%%%%%% +\def\pst@Zinc{{% + \pscurve[unit=0.5,fillstyle=solid,fillcolor=GrisClair](0,0)(-0.25,0.25)(0,.5)(0.25,0.75)(0.5,0.5)(0.15,0.4)(0.,0)}} +% +\def\pstGrenailleZinc{\@ifnextchar[{\pst@GrenailleZinc@i}{\pst@GrenailleZinc@i[25]}}% +\def\pst@GrenailleZinc@i[#1]{{% + \multido{\iGrenaille=1+1}{#1}{% + \setrandim{\GrenailleX}{-1cm}{1cm} \setrandim{\GrenailleY}{-.2cm}{0.3cm} + \setrannum{\lab@AngleRotation}{-180}{180} + \rput{\psk@TubeEssais@tubePenche}{% + \rput{\the\lab@AngleRotation}(\GrenailleX,\GrenailleY){\pst@Zinc}}}% +}} + +%%%%%%%%%%%%%% Vapeurs %%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%% Bulles3D%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\def\pstBilles{\@ifnextchar[{\pst@Billes@i}{\pst@Billes@i[50]}}% +\def\pst@Billes@i[#1]{{% + \multido{\IBULLE=1+1}{#1}{% + \setrandim{\BulleX}{-1.5\psunit}{1.5\psunit} + \setrandim{\BulleY}{0\psunit}{3\psunit} + \pst@dimh=\BulleY + \setrandim{\RAYONBULLE}{0.01\psunit}{0.1\psunit} + \ifdim\BulleY>2\psunit \multiply \RAYONBULLE by 3 + \else\ifdim\BulleY < 2\psunit \ifdim\BulleY >1\psunit \multiply \RAYONBULLE by 2\fi + \else\multiply \RAYONBULLE by 1 + \fi\fi% + \rput{\psk@TubeEssais@tubePenche}{% + %\psset{linestyle=none,fillstyle=gradient,gradmidpoint=0,gradend=white,GradientCircle=true} + \pscircle[style=BilleThreeD](\BulleX,\BulleY){\RAYONBULLE}}}% +}} +%%%%%%%%%%%%%%%%%%% Bulles2D%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +\def\pstBULLES{\@ifnextchar[{\pst@BULLES@i}{\pst@BULLES@i[50]}}% +\def\pst@BULLES@i[#1]#2{{% + \multido{\IBULLE=1+1}{#1}{% + \setrandim{\BulleX}{-1.5\psunit}{1.5\psunit} + \setrandim{\BulleY}{0\psunit}{3\psunit} + \pst@dimh=\BulleY + \setrandim{\RAYONBULLE}{0.01\psunit}{0.1\psunit} + \ifdim\BulleY>2\psunit \multiply \RAYONBULLE by 3 + \else\ifdim\BulleY < 2\psunit \ifdim\BulleY >1\psunit \multiply \RAYONBULLE by 2\fi + \else\multiply \RAYONBULLE by 1 + \fi\fi + \rput{\psk@TubeEssais@tubePenche}{% + \pscircle[fillstyle=solid,linewidth=0.2\pslinewidth,linecolor=#2](\BulleX,\BulleY){\RAYONBULLE}}}% +}} +\iffalse +%%%%%%%%%% solides %%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\pstTournureCuivre{% + \rput{\psk@TubeEssais@tubePenche}{\psbezier[linewidth=0.1,linecolor=Copper](.25,0.25)(0,0) + (-0.25,.25)(0.25,0.75)(0,.5)(-0.25,0.75)(0.25,1.25)(0,1)(-0.25,1.25)(0.25,1.75)}} +\def\pstClouFer{% + \rput{\psk@TubeEssais@tubePenche}{{\psset{linecolor=blue} + \psarc[linewidth=0.1](0,0.5){.4}{190}{260} \psline(-0.28,0.2)(0.5,1)}}} +\def\pstGrenailleZinc{% + \rput{\psk@TubeEssais@tubePenche}{\pscurve[fillstyle=solid,fillcolor=GrisClair]% + (0,0)(-0.25,0.25)(0,.5)(0.25,0.75)(0.5,0.5)(0.15,0.4)(0.,0)}} +\fi + +\catcode`\@=\PstAtCode\relax +\endinput diff --git a/Master/texmf-dist/doc/latex/pst-labo/pst-laboObj.tex b/Master/texmf-dist/doc/latex/pst-labo/pst-laboObj.tex new file mode 100644 index 00000000000..059de731dc6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pst-laboObj.tex @@ -0,0 +1,663 @@ +%%%%%%%% Les Différents appareils de chimie %%%%%%%%%%%% + +%%%%%%%%% Dosage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\pst@burette@corps{% +\psline(-0.5,11.5)(-0.25,11)(-0.25,3)(0,2.75)(0,0.5) +\psline(0.2,0.7)(0.2,2.75)(0.5,3)(0.5,11)(0.75,11.5) } +\def\pst@burette@robinet{% +\psframe[fillstyle=solid](-.1,1.6)(.3,2.1) +\psframe(-.1,1.5)(-.2,2.2) +\psframe(.3,1.5)(.4,2.2) +\pspolygon(.4,1.7)(.5,1.7)(.6,1.4)(.8,1.4)(.8,2.3)(.6,2.3)(.5,2)(.4,2) +{\psset{fillstyle=solid,fillcolor=LightBlue} +\pspolygon(-.5,1.5)(-.75,1.7)(-.75,2)(-.5,2.2)(-.3,2.2)(-.3,1.5) +\psframe(-.5,1.5)(-.2,2.2)}} + +\def\pst@dosage@pHmetre{% +% boitier +\psframe[framearc=0.25](-1,0)(1,3)% +\psframe[fillcolor=GrisClair,fillstyle=solid](-0.75,2)(0.75,2.75)% +\rput(0,2.375){\white PH}% +\pscircle(0,1.25){0.3}% +\psline{->}(0,1.25)(0,1.5)% +\rput(0.65,1.5){$^\circ$C}% +\pscircle(-0.5,0.5){0.2}% +\pscircle(0.5,0.5){0.2}% +% électrode +\psframe[framearc=0.5](2.25,2.5)(2.75,4.5)% +\psframe[fillstyle=solid,fillcolor=GrisClair](2.25,4)(2.75,4.5)% +\pscircle(2.5,2.25){0.25} +% fil +\psline[linearc=0.4,linewidth=0.1,linecolor=LightBlue]% +(2.5,4.5)(2.5,5)(1.25,4.75)(0,5)(0,3)} + +\def\pst@dosage@support{% +\psframe(-1.5,0)(1.5,1.5) +{\psset{doubleline=true}% +\pscircle*[linecolor=red](0,0.75){0.2}% +\psframe(-1.25,0.3)(-0.75,1.2)% +\pscircle(1,0.75){0.25}}} + +\def\pst@dosage@aimant{% +{\psset{fillstyle=solid,framearc=0.5}% +\psframe(-0.5,0.1)(0.5,0.4)% +\psframe(-0.05,0)(0.05,0.5)}}% + +\def\pst@burette@graduation{% +\multido{\n=3.0+0.32}{25}{\psline(-0.25,\n)(0,\n)}} + + +%%%%%%% début pipette%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\def\pst@pipette@corps{% +\begingroup% +\psset{linewidth=0.053,linearc=0.05}% +\pspolygon(-0.05,0)(-0.15,0.2)(-0.15,6)% +(0.15,6)(0.15,0.2)(0.05,0)% +\psellipse[fillstyle=solid](0,6)(0.15,0.05) +\multido{\Niveau=0.5+0.5}{10}{% +\psline[linewidth=0.02](0,\Niveau)(0.1,\Niveau)} +\endgroup +} +\def\pst@goutte{% +\psbezier[linewidth=0.01](0,0)(-0.04,-0.083)(-0.083,-0.22)% +(0,-0.25)(0.083,-0.22)(0.04,-0.083)(0,0)} + +%%%%%% Eprouvette %%%%%%%%%%%%%%%%%%%%%% +\def\pst@eprouvette@corps{% +\psline(-0.5,5)(-0.5,0)(0.5,0)(0.5,4.9)(0.6,4.93)} + +\def\pst@eprouvette@rebord{% +\pscurve(0.6,-0.07) +(0.498,0.008) +(0.483,0.026) +(0.433,0.05)% +(0.353,0.0707) +(0.25,0.0866) +(0.13,0.0966)(0,0.1)% +(-0.13,0.0966) +(-0.25,0.0866)(-0.353,0.0707) +(-0.433,0.05)% +(-0.483,0.026) +(-0.5,0) +(-0.483,-0.026) +(-0.353,-0.0707)% +(-0.25,-0.0866) +(-0.13,-0.096) +(0,-0.1)% +(0.13,-0.096) +(0.25,-0.0866) +(0.353,-0.0707) +(0.433,-0.05)% +(0.498,-0.026) +(0.6,-0.07)} + +\def\pst@eprouvette@pied{% +\pscustom{\gsave% +\psarcn(-0.95,0.5){0.45}{0}{-90} +\psarc(-0.95,0.025){0.025}{90}{270} +\psline(-0.95,0)(0.95,0) +\psarc(0.95,0.025){0.025}{-90}{90} +\psarcn(0.95,0.5){0.45}{-90}{180} +\pscurve(0.5,0.4)(0,0.25)(-0.5,0.4) +\fill[fillstyle=solid]\grestore} +\psarcn(-0.95,0.5){0.45}{0}{-90} +\psarc(-0.95,0.025){0.025}{90}{270} +\psline(-0.95,0)(0.95,0) +\psarc(0.95,0.025){0.025}{-90}{90} +\psarcn(0.95,0.5){0.45}{-90}{180} +\pscurve(0.5,0.4)(0,0.25)(-0.5,0.4) +} + +\def\pst@eprouvette@graduation{% +\multido{\nyD=0.5+0.5}{9}{% +\psline(-0.4,\nyD)(-0.1,\nyD)} +\multido{\nyd=0.5+0.1}{40}{% +\psline(-0.4,\nyd)(-0.25,\nyd)}} + +%%%%%%%%%%% Distillation fractionnée %%%%%%%%%%%%%%%% + +\def\pst@DistillationFractionnee{ +\def\pst@goutte{\psset{unit=0.6}\psbezier[linewidth=0.017](0,0)(0.25,-.4)(-.25,-.4)(0,0)}% +\def\colon{\psline[linearc=0.3](-.25,10.5)(-.25,8.5)(-.75,8)(-.75,2.5)(-.25,2)(-.25,0)% +\psline[linearc=0.3](0.25,0)(0.25,2)(0.75,2.5)(.75,8)(0.25,8.5)(0.25,9.36)% +\psline(0.25,8.5)(0.25,9.30)\psline(0.25,9.5)(0.25,10.5)% +\def\pointeG{\psline[linewidth=0.4\pslinewidth](0,0)(0.5,-.5)(0,-.1)}% +\multido{\i=3+1}{6}{\rput(-.75,\i){\pointeG}}% +\def\pointeD{\psline[linewidth=0.4\pslinewidth](0,0)(-.5,-.5)(0,-.1)}% +\multido{\i=3+1}{6}{\rput(0.75,\i){\pointeD}}% +{\psset{linestyle=none,fillstyle=hlines,hatchwidth=0.01,hatchsep=0.03}\psframe(-.25,10)(-.05,10.5)% +\psframe(.25,10)(0.05,10.5)}% +\multido{\n=2.5+1.0}{6}{\rput(-.25,\n){\pst@goutte}}% +\multido{\n=2.5+1.0}{6}{\rput(.25,\n){\pst@goutte}} +\rput(-0.25,-.1){\pst@goutte}\rput(0.25,-.1){\pst@goutte}}% +%réfrigérant +\def\refri{\psarc(3,0){0.5}{90}{270}\psarc(7,0){0.5}{270}{90}% +\psframe[linestyle=none,fillstyle=solid](0,-.05)(9,0.05)% +\begingroup +\psset{linewidth=0.5\pslinewidth} +\psline(-.075,.05)(9,0.05) +\psline(0.02,-.05)(9,-.05) +%\psline(0,0.05)(9,0.05)% +\endgroup +\psline(3,0.5)(3.5,0.5) +\psline(3,-.5)(6.5,-.5) +\psline(3.6,0.5)(7,0.5)% +\begingroup +\psset{linewidth=0.5\pslinewidth} +\psline(3.5,0.5)(3.5,1.5) +\psline(3.6,0.5)(3.6,1.5)% +\psline(6.6,-.5)(6.6,-1.5) +\psline(6.5,-.5)(6.5,-1.5) +\endgroup +\psline(6.6,-.5)(7,-.5)% +\psset{arrowscale=2}\psline{->}(6.55,-2.5)(6.55,-1.5)\psline{->}(3.55,1.5)(3.55,2.5)}% +%ballon +\def\ballon{{\psset{linestyle=none,fillstyle=hlines,hatchwidth=0.007,hatchsep=0.03}% +\psframe(-.5,2.25)(-.25,3)\psframe(0.5,2.25)(0.25,3)}% +\psline(0.5,1.5)(0.5,3)% +\psline(-.5,1.5)(-.5,3)% +\psarc(0,0){1.581}{108.435}{71.565}% +\pscustom[linestyle=none]{% +\pscurve(-1.581,0)(-1.25,0.1)(-.75,-.1)(0,.1)(0.75,-.1)(1.25,.1)(1.581,0)% +\psarcn(0,0){1.581}{0}{180} \psset{style=\psk@Distillation@AspectMelange} +\fill% +}% +\psarc[linewidth=0.03](0,0){1.581}{180}{0} +}% +%thermomètre +\def\thermo{\psline[linearc=0.05](-.05,.25)(-.05,2.75)(0.05,2.75)(0.05,0.25)% +\psframe[framearc=0.8,fillstyle=solid,fillcolor=red](-.15,-.25)(0.15,0.25) +\psline[linecolor=red](0,2) +}% +%chauffe ballon +\def\chauffe{\psline(1.17,2.5)(0,2.5)(0,0)(5.5,0)(5.5,2.5)(4.33,2.5)} +%Éprouvette +\def\pst@eprouv{% +\begingroup +\psset{linewidth=1.5\pslinewidth} +\psline(-0.5,6)(-0.5,.5) +\psarcn(-1,0.5){.5}{0}{-90}\psline(-1,0)(1,0) +\psarcn(1,0.5){0.5}{270}{180}\psline(0.5,0.5)(0.5,6) +\endgroup}% + +%%%%%%%%%%%%%% fin distillation fractionnée %%%%%%%%%%%%%% + +%%%%%%%%%%%%%%% Éprouvette %%%%%%%%%% +\def\pst@eprouvette{% +\psclip{\pscustom[linestyle=none]{\pst@eprouv}} +\psframe*[linecolor=\psk@Distillation@CouleurDistillat](-1.5,-1)(1.5,1) +\pst@eprouv +\endpsclip} +\rput(0,-3){\rput(2.75,13.5){\thermo} +\rput(2.75,2.5){\ballon} +\rput(2.75,4){\colon}% +\rput(3,13.4){\rput{-45}(0,0){\refri}} +\rput(0,0){\chauffe} +\rput(9.4,0){\pst@eprouvette% +\begingroup +\psset{linewidth=0.5\pslinewidth} +\multido{\Niveau=1+1}{5}{% +\psline(-.4,\Niveau)(-.1,\Niveau)} +\multido{\Niveau=0.2+0.2}{24}{% +\psline(-.4,\Niveau)(-.2,\Niveau)}\endgroup} +\rput(9.37,7){\pst@goutte}\rput(9.37,6){\pst@goutte}\rput(9.37,4) +{\pst@goutte}\rput(9.37,1.2){\pst@goutte} +\rput(0.75,.75){\pscircle(0,0){.5}\multido{\i=0+30}{7}{\psline(0.55;\i)(0.65;\i)}% +\psline[linewidth=0.035]{->}(0,.45)}}} +%%%%%%%%%%%%%%%%%%% Fin éprouvette %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%% Bec Bunsen sans grille %%%%%%%%%%%%%%%% + +\def\pst@BecBunsen{% +\psset{dimen=middle,linewidth=0.053}% +\psframe(-1.25,0)(1.25,0.25)% +\psframe(-.5,1.25)(0.5,2.25)% +\multido{\n=-0.3+0.3}{3}{% +\pscircle(\n,1.75){0.1}}% +\psframe(-.25,2.25)(0.25,4.25)% +\psline(0.25,1.25)(0.25,0.5)(1.25,0.25)% +\psline(-1.25,0.25)(-.25,0.5)(-0.25,0.75)% +\psline(-2.25,0.75)(-.25,0.75)% +\psline(-2.25,1)(-.25,1)% +\psellipse(-.25,0.875)(0.1,0.125)% +\psframe[fillstyle=solid,linestyle=none](-2.25,0.75)(-0.25,1)% +\psline(-2.25,0.75)(-0.25,0.75)% +\psline(-2.25,1)(-0.25,1)(-.25,1.25)% +\pscurve(-0.25,0.5)(0,0.4)(0.25,0.5) +%flamme +\rput(0,4.25){% +\psclip{\psbezier[linestyle=none,fillstyle=gradient,gradmidpoint=0,% +gradbegin=OrangePale,gradend=yellow]% +(-0.25,0)(-0.35,0.5)(-0.4,0.75)% +(-0.35,1)(-0.25,1.5)(0.5,2)% +(0.25,1.5)(0.35,1)(0.4,0.75)% +(0.35,0.5)(0.25,0)(0,0)}% +\pspolygon[linestyle=none,fillstyle=gradient,gradmidpoint=0,gradbegin=cyan,gradend=white]% +(-0.25,0)(0.25,0)(0,1)% +\endpsclip}} + +%%%%BecBunsen avec grille%%%%%%%%%%%% + +\def\pst@FlammeGrille{% +\pscustom[linestyle=none]{% +\psarc(0,0.75){0.75}{270}{0} +\psarcn(1.5,0.75){0.75}{180}{90} +\psline(1.5,1.5)(-1.5,1.5) +\psarcn(-1.5,0.75){0.75}{90}{0} +\psarc(0,0.75){0.75}{180}{270} +\fill[style=flammeEtGrille]}} + +\def\pst@BecBunsenGrille{% +\psframe(-1.25,0)(1.25,0.25)% +\psframe(-.5,1.25)(0.5,2.25)% +\multido{\n=-0.3+0.3}{3}{% +\pscircle(\n,1.75){0.1}}% +\psframe(-.25,2.25)(0.25,4.25)% +\psline(0.25,1.25)(0.25,0.5)(1.25,0.25)% +\psline(-1.25,0.25)(-.25,0.5)(-0.25,0.75)% +\psline(-2.25,0.75)(-.25,0.75)% +\psline(-2.25,1)(-.25,1)% +\psellipse(-.25,0.875)(0.1,0.125)% +\psframe[fillstyle=solid,linestyle=none](-2.25,0.75)(-0.25,1)% +\psline(-2.25,0.75)(-0.25,0.75)% +\psline(-2.25,1)(-0.25,1)(-.25,1.25)% +\pscurve(-0.25,0.5)(0,0.4)(0.25,0.5) +%flamme +\rput(0,4.25){% +\psclip{\pst@FlammeGrille}% +\pspolygon[linestyle=none,fillstyle=gradient,gradmidpoint=0,gradbegin=cyan,gradend=white]% +(-0.25,0)(0.25,0)(0,1)% +\endpsclip} +\psline[linestyle=dashed,linewidth=0.08](-2,5.75)(2,5.75)} + +%%%%%%%%% fin bec Bunsen avec grille %%%%%%%%%%%%%%%%%%%%%%%%%%% + +\def\pst@ballon{ +{\psset{linewidth=0.053} +\psarcn(-0.7,3.4){0.2}{90}{0} +\psline(-0.5,3.4)(-0.5,2.4) +\psarc(0,1.25){1.25}{113}{67} +\psline(0.5,2.4)(0.5,3.4) +\psarcn(0.7,3.4){0.2}{180}{90} +\psellipse(0,3.6)(0.7,0.1)}} + +\def\pst@ballonGrille{ +{\psset{linewidth=0.053} +\psarcn(-0.7,2.15){0.2}{90}{0} +\psline(-0.5,2.15)(-0.5,1.4) +\psarc(0,0){1.25}{113}{67} +\psline(0.5,1.15)(0.5,3.4) +\psarcn(0.7,2.15){0.2}{180}{90} +\psellipse(0,2.35)(0.7,0.1)}} + +\def\pst@TubeEssais@Corps{{% +\psset{linewidth=0.053} +\psline(-0.5,3.5)(-0.5,0.5) +\psarc(0,0.5){0.5}{180}{0} +\psline(0.5,0.5)(0.5,3.5) +\psellipse[linewidth=0.08](0,3.5)(0.5,0.1)}} + +\def\pst@TubeEssais@Droit{% +\psline[linewidth=0.5\pslinewidth](0.05,-1)(0.05,5)% +\psline[linewidth=0.5\pslinewidth](-0.05,-1)(-0.05,5)% +\pst@TubeEssais@Bouchon +\psframe[framearc=0.5,fillstyle=solid,dimen=middle,linewidth=0.5\pslinewidth](-0.05,5)(0.05,0.5)% +\psline[linecolor=white,linewidth=0.14](-0.1,5)(0.1,5)} + +\def\pst@TubeEssais@Coude{% +\psline[linewidth=0.5\pslinewidth](0.05,-1)(0.05,0)% +\psline[linewidth=0.5\pslinewidth](-0.05,-1)(-0.05,0)% +\pst@TubeEssais@Bouchon +\pspolygon[fillstyle=solid,linearc=0.05,linewidth=0.5\pslinewidth](-0.05,0.5)(-0.05,2)(8,2)(8,1.9) +(0.05,1.9)(0.05,0.5)% +\psline[linecolor=white,linewidth=0.14](7.95,1.9)(8.05,2)} + +\def\pst@TubeEssais@CoudeU{% +\psline[linewidth=0.5\pslinewidth](0.05,-1)(0.05,0)% +\psline[linewidth=0.5\pslinewidth](-0.05,-1)(-0.05,0)% +\pst@TubeEssais@Bouchon +\pspolygon[fillstyle=solid,linearc=0.05,linewidth=0.5\pslinewidth](-0.05,0.5)(-0.05,2)(4.5,2)(4.5,-3) +(4.4,-3)(4.4,1.9)(0.05,1.9)(0.05,0.5)% +\psline[linecolor=white,linewidth=0.14](4.3,-3)(4.6,-3)} + +\def\pst@TubeEssais@CoudeUB{% +\psline[linewidth=0.5\pslinewidth](0.05,-1)(0.05,0)% +\psline[linewidth=0.5\pslinewidth](-0.05,-1)(-0.05,0)% +\pst@TubeEssais@Bouchon +\pspolygon[fillstyle=solid,linearc=0.05,linewidth=0.5\pslinewidth](-0.05,0.5)(-0.05,2)(4.5,2)(4.5,-9) +(4.4,-9)(4.4,1.9)(0.05,1.9)(0.05,0.5)% +\psline[linecolor=white,linewidth=0.14](4.3,-9)(4.6,-9)} + +\def\pst@TubeRecourbe{% + \psline[linewidth=0.5\pslinewidth](0.05,-1)(0.05,0)% + \psline[linewidth=0.5\pslinewidth](-0.05,-1)(-0.05,0)% + \pst@TubeEssais@Bouchon + \begingroup + \psset{linewidth=0.5\pslinewidth} + \psline(-0.05,0.5)(-0.05,1) + \psarcn(0.5,1){0.55}{180}{90} + \psline(0.5,1.55)(5.5,1.55) + \psarcn(5.5,1){0.55}{90}{0} + \psline(6.05,1)(6.05,-8.8) + \psarc(6.5,-8.8){0.45}{180}{0} + \psline(6.95,-8.8)(6.95,-8.3) + \psline(7.05,-8.3)(7.05,-8.8) + \psarcn(6.5,-8.8){0.55}{0}{180} + \psline(5.95,-8.8)(5.95,1) + \psarc(5.5,1){0.45}{0}{90} + \psline(5.5,1.45)(0.5,1.45) + \psarc(0.5,1){.45}{90}{180} + \psline(0.05,1)(0.05,0.5) + \psline(-0.05,.5)(0.05,0.5)\endgroup + \psframe*[linecolor=white](-0.025,0.52)(0.020,0.6) +} + +\def\pst@TubeRecourbe@Court{% + \psline[linewidth=0.5\pslinewidth](0.05,-1)(0.05,0)% + \psline[linewidth=0.5\pslinewidth](-0.05,-1)(-0.05,0)% + \pst@TubeEssais@Bouchon \psline(-0.05,0.5)(-0.05,1) + \begingroup + \psset{linewidth=0.5\pslinewidth} + \psarcn(0.5,1){0.55}{180}{90} + \psline(0.5,1.55)(3.5,1.55) + \psarcn(3.5,1){0.55}{90}{0} + \psline(4.05,1)(4.05,-2.8) + \psarc(4.5,-2.8){0.45}{180}{0} + \psline(4.95,-2.8)(4.95,-2.3) + \psline(5.05,-2.3)(5.05,-2.8) + \psarcn(4.5,-2.8){0.55}{0}{180} + \psline(3.95,-2.8)(3.95,1) + \psarc(3.5,1){0.45}{0}{90} + \psline(3.5,1.45)(0.5,1.45) + \psarc(0.5,1){.45}{90}{180} + \psline(0.05,1)(0.05,0.5) + \psline(-0.05,.5)(0.05,0.5) + \endgroup + \psframe*[linecolor=white](-0.025,0.52)(0.020,0.6)} + +\def\pst@TubeEssais@Bouchon{% + \begingroup + \psset{fillstyle=solid,fillcolor=GrisClair} + \psellipse(0,-0.3)(0.4,0.1) + \pspolygon(-0.4,-0.3)(-0.6,0.5)(0.6,0.5)(0.4,-0.3)% + \psellipse[linestyle=none,dimen=outer,linewidth=0.07](0,-0.3)(0.4,0.1)% + \psellipse(0,0.5)(0.6,0.1) + \endgroup + \pscurve[linewidth=0.07](-0.5,0)(0,-0.07)(0.5,0)% +} +% +\def\pst@TubeEssais@DoubleTube{% +\begingroup +\psset{linewidth=0.5\pslinewidth} +\psline(-0.3,-3)(-0.3,0) +\psline(-.2,-3)(-0.2,0) +\psline(0.25,-1)(0.25,0)% +\psline(.15,-1)(.15,0)% +\endgroup +\pst@TubeEssais@Bouchon +\rput(0.2,0){\pst@TubeRecourbe@Court@DoubleTube} +\rput(0,0.5){% +\begingroup +\psset{linewidth=0.5\pslinewidth} +\pspolygon[fillstyle=solid,linearc=0.05]% +(-.3,0)(-0.3,2)(-0.5,2.2)(-0.5,3)(0,3)% +(0,2.2)(-0.2,2)(-0.2,0) +\pspolygon(0.1,1.55)(-.5,1.55)(-0.5,1.7)(-.55,1.7)% +(-.55,1.3)(-0.5,1.3)(-0.5,1.55)(-.5,1.45)(.1,1.45) +\psframe[fillstyle=solid,framearc=0.2](-0.4,1.3)(-0.1,1.7) +\endgroup\psellipse[fillstyle=solid](-0.25,3)(0.3,0.1)}} + + +\def\pst@TubeRecourbe@Court@DoubleTube{ +\begingroup +\psset{linewidth=0.5\pslinewidth} +\psline(-0.05,0.5)(-0.05,1) +\psarcn(0.5,1){0.55}{180}{90} +\psline(0.5,1.55)(3.5,1.55) +\psarcn(3.5,1){0.55}{90}{0} +\psline(4.05,1)(4.05,-2.8) +\psarc(4.5,-2.8){0.45}{180}{0} +\psline(4.95,-2.8)(4.95,-2.3) +\psline(5.05,-2.3)(5.05,-2.8) +\psarcn(4.5,-2.8){0.55}{0}{180} +\psline(3.95,-2.8)(3.95,1) +\psarc(3.5,1){0.45}{0}{90} +\psline(3.5,1.45)(0.5,1.45) +\psarc(0.5,1){.45}{90}{180} +\psline(0.05,1)(0.05,0.5) +\psline(-0.05,.5)(0.05,0.5) +\endgroup +\psframe*[linecolor=white](-0.025,0.52)(0.018,0.8)} + +\def\pst@TubeEssais@Pince{ +\pscustom{% +\pscurve(0.5,0)(0,-0.1)(-0.5,0) +\psline(-0.5,0)(-0.8,0) +\psarc(-0.5,0){0.3}{180}{270} +\psline(-.5,-.3)(2.5,-.3)(2.4,-.2)(1,0)(0.5,0) +\fill[fillstyle=solid,fillcolor=OrangePale]} +\pscustom{% +\psline(-0.8,0)(-0.8,-0.3) +\psarc(-0.5,-0.3){0.3}{180}{270} +\psline(-0.5,-0.6)(2.5,-.6)(2.5,-.3)(-.5,-.3) +\psarcn(-.5,0){0.3}{-90}{180} +\fill[fillstyle=solid,fillcolor=OrangePale]} +\pscustom{% +\psline(-.5,0.05)(-.8,0.05) +\psarcn(-0.5,0.05){0.25}{180}{90} +\psline(-.5,0.3)(-0.5,0.05) +\fill[fillstyle=solid,fillcolor=OrangePale]} +\pscustom{% +\psline(0.5,0.3)(4.9,0.3)(5,0.2)(1,0)(0.5,0)(0.5,0.3) +\fill[fillstyle=solid,fillcolor=OrangePale]} +\pscustom{% +\psline(0.5,0)(5,0.2)(5,0)(2,-0.2)(1,0) +\fill[fillstyle=solid,fillcolor=Marron]} +\psellipse[linewidth=1.5\pslinewidth](1,0)(0.3,0.1) +\psline[linewidth=1.5\pslinewidth](0.7,0)(0.4,-.3)(0.4,-.6)} + + +\def\pst@FIOLEJAUGE{% +\psline[linearc=0.1,linewidth=0.053](-0.21,3.5)(-0.1,3.5) +(-0.1,1.5)(-0.75,0)(0.75,0)(0.1,1.5)(0.1,3.5)(0.21,3.5) +\psline[linewidth=0.02](-0.1,2.5)(0.1,2.5)} + + + +\def\Cristallisoir{% +\psline(-1.9,2)(-2,2) +\psarc(-2,1.95){0.05}{90}{270} +\psline(-2,1.9)(-2,1) +\psarc(-1,1){1}{180}{270} +\psline(-1,0)(1,0) +\psarc(1,1){1}{270}{0} +\psline(2,1)(2,1.9) +\psarc(2,1.95){0.05}{270}{90} +\psline(2,2)(1.9,2) +\psline(1.9,2)(1.9,1) +\psarcn(1,1){0.9}{0}{-90} +\psline(1,0.1)(-1,0.1) +\psarcn(-1,1){0.9}{270}{180} +\psline(-1.9,1)(-1.9,2)} + +\def\InterieurCristallisoir{\pscustom{\psline(1.9,2)(1.9,1) +\psarcn(1,1){0.9}{0}{-90} +\psline(1,0.1)(-1,0.1) +\psarcn(-1,1){0.9}{270}{180} +\psline(-1.9,1)(-1.9,2)}} + +\def\pst@Cristallisoir{% +\psclip{\InterieurCristallisoir} +\psframe*[linecolor=BleuClair](-3,-1)(3,1.5) +\endpsclip\Cristallisoir} + +\def\pst@TubeRenverse{% + \begingroup + \psset{linewidth=0.07} + \psframe[linestyle=none,fillstyle=solid,fillcolor=BleuClair](-0.5,0)(0.5,5.5) + \psline(-0.5,0)(-0.5,6) + \psarcn(0,6){0.5}{180}{0} + \psline(0.5,6)(0.5,0) +\endgroup} + +\def\pst@ReposeTube{% +\begingroup +\psset{linewidth=0.1,linecolor=lightgray} +\psarc(0,-0.25){1}{100}{140} +\psarc(0,-.25){1}{150}{160} +\psarc(0,-0.25){1}{20}{80} +\endgroup} + +\def\pst@RebordBecher{% +\psellipse[linewidth=0.053](0,2.55)(1.1,.1) +\multido{\nDiv=0.5+0.5}{4}{ +\psline[linewidth=0.03](-.75,\nDiv)(-.4,\nDiv)} +\multido{\nSubDiv=0.5+0.1}{16}{ +\psline[linewidth=0.02](-0.75,\nSubDiv)(-.5,\nSubDiv)}} + +\def\pst@Becher@Corps{% +\psline[linewidth=0.053,linearc=0.5](-1,2.5)(-1,0)(1,0)(1,2.5)} + +\def\pst@Erlen@Corps{% +\psline[linearc=0.3,linewidth=0.053](-0.5,3.5)(-0.5,2.5)% +(-1.5,0)(1.5,0)(0.5,2.5)(0.5,3.5)} + +\def\pst@Flacon@Corps{% +{\psset{linewidth=0.053} +\psarcn(-0.6,3.4){0.1}{90}{0} +\psline(-0.5,3.4)(-0.5,3.1) +\psarcn(-0.6,3.1){0.1}{0}{-90} +\psarc(-0.6,2.6){0.4}{90}{180} +\psline(-1,2.6)(-1,0.2) +\psarc(-.8,0.2){0.2}{180}{270} +\psline(-.8,0)(.8,0) +\psarc(.8,0.2){0.2}{-90}{0} +\psline(1,0.2)(1,2.6) +\psarc(0.6,2.6){0.4}{0}{90} +\psarcn(0.6,3.1){0.1}{-90}{180} +\psline(0.5,3.1)(0.5,3.4) +\psarcn(0.6,3.4){0.1}{180}{90}}} + +%%%%%%%%%%% début entonnoir %%%%%%%%%%%%%%%%%%%%%%% + +\def\pst@Entonnoir@Contour{% +\psline(-0.07,0)(-0.07,1)(-1,2.5) +\psline(1,2.5)(0.07,1)(0.07,0.1)} + + +\def\pst@Entonnoir@Corps{% +\psclip{\pscustom[linestyle=none]{\pst@Entonnoir@Contour}} +\psframe[fillstyle=solid](-2,-1)(2,3) +\endpsclip +{\psset{linearc=0.25} +\pst@Entonnoir@Contour} +\psellipse(0,2.5)(1,0.1)} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%% fin Entonnoir %%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%% Réfrigérant à boulles %%%%%%%%%%%%%%%%%% + +\def\pst@TigeBoulles{% +\pscustom[linestyle=none]{% +\psarcn(-0.35,7.5){.1}{90}{0} +\psline(-.25,7.5)(-.25,6.6) +\psarc(-.15,6.6){0.1}{180}{270} +\psarcn(-.15,6.4){0.1}{90}{0} +\psline(-.05,6.4)(-0.05,6) +\multido{\nB=5.75+-0.75,\Nt=5.50+-0.75,\nt=5.25+-.75}{7}{% +\psarc(-0.05,\nB){0.25}{90}{270} +\psline(-0.05,\Nt)(-0.05,\nt)} +\psline(-0.05,0.75)(-0.05,-1.5) +\psline(0.05,-1.5)(0.05,1) +\multido{\nB=1.25+0.75,\nt=1.50+0.75,\Nt=1.75+0.75}{7}{ +\psarc(0.05,\nB){0.25}{270}{90} +\psline(0.05,\nt)(0.05,\Nt)} +\psline(0.05,6)(0.05,6.4) +\psarcn(0.15,6.4){0.1}{180}{90} +\psarc(0.15,6.6){0.1}{-90}{0} +\psline(0.25,6.6)(0.25,7.5) +\psarcn(0.35,7.5){0.1}{180}{90} +\fill[fillstyle=solid]} +\psarcn(-0.35,7.5){.1}{90}{0} +\psline(-.25,7.5)(-.25,6.6) +\psarc(-.15,6.6){0.1}{180}{270} +\psarcn(-.15,6.4){0.1}{90}{0} +\psline(-.05,6.4)(-0.05,6) +\multido{\nB=5.75+-0.75,\Nt=5.50+-0.75,\nt=5.25+-.75}{7}{% +\psarc(-0.05,\nB){0.25}{90}{270} +\psline(-0.05,\Nt)(-0.05,\nt)} +\psline(-0.05,0.75)(-0.05,-1.5) +\psline(0.05,-1.5)(0.05,1) +\multido{\nB=1.25+0.75,\nt=1.50+0.75,\Nt=1.75+0.75}{7}{ +\psarc(0.05,\nB){0.25}{270}{90} +\psline(0.05,\nt)(0.05,\Nt)} +\psline(0.05,6)(0.05,6.4) +\psarcn(0.15,6.4){0.1}{180}{90} +\psarc(0.15,6.6){0.1}{-90}{0} +\psline(0.25,6.6)(0.25,7.5) +\psarcn(0.35,7.5){0.1}{180}{90} +\rput(0,-1.6){\pst@goutte}} + +\def\pst@CorpsRefri{ +\pscustom[linestyle=none]{ +\psarc(0,5.75){0.5}{0}{180} +\psline(-0.5,5.75)(-0.5,5.5)(-1.5,5.5) +\psline(-1.5,5.3)(-.5,5.3)(-.5,1.7)(-1.5,1.7) +\psline(-1.5,1.5)(-.5,1.5)(-0.5,1) +\psarc(0,1){0.5}{180}{0} +\psline(0.5,1)(0.5,5.75) +%\fill[fillstyle=solid,fillcolor=LightBlue] +\fill[fillstyle=gradient,gradbegin=cyan,gradend=OrangePale,gradmidpoint=0] +} +{\psset{linewidth=1.1\pslinewidth} +\psarc(0,5.75){0.5}{0}{180} +\psline(-0.5,5.75)(-0.5,5.5)(-1.5,5.5) +\psline(-0.5,5.75)(-0.5,5.5)(-1.5,5.5) +\psline(-1.5,5.3)(-.5,5.3)(-.5,1.7)(-1.5,1.7) +\psline(-1.5,1.5)(-.5,1.5)(-0.5,1) +\psarc(0,1){0.5}{180}{0} +\psline(0.5,1)(0.5,5.75)} +\psline[linecolor=cyan]{->}(-2.5,1.6)(-1.6,1.6) +\psline[linecolor=OrangePale]{<-}(-2.5,5.4)(-1.6,5.4)} +\def\pst@Refrigerant@Boulles{ +\rput(0,0.2){\pst@CorpsRefri\pst@TigeBoulles} +\pst@TubeEssais@Bouchon +\pscustom{ +\psline[linearc=0.025](-0.05,0.6)(-0.05,0.5)(0.05,0.5)(0.05,0.6) +\fill[fillstyle=solid]}} + +%%%%%%%%%%%%%%%%%%%fin réfrigérant à boulles %%%%%%%%%%% + +%%%%%%%%%%%%% Chauffe-Ballon %%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\pst@ChauffeBallon{ +\psframe[fillstyle=solid](-2,-1)(2,1) +\pscircle(-1.25,0){0.4} +\rput(-1.25,0){ +\multido{\iA=0+30}{7}{ +\psline(0.45;\iA)(0.6;\iA)} +\psline[arrowinset=0]{->}(0,0)(0.3;60)} +\psframe[doubleline=true,fillstyle=solid,fillcolor=gray](1,-.5)(1.5,0.5) +\pscircle*[linecolor=red](1.25,0.7){0.1}} + +%%%%%%%%%%%% Fin de Chauffe-Ballon %%%%%%%%%%%%%%%%%%%%%% + +\def\pst@Ballon@Reflux{% +\psclip{% +\pscustom[linestyle=none]{\pst@ballon}} +\pscustom[fillstyle=gradient,gradbegin=cyan,gradend=white,gradmidpoint=0,linecolor=cyan] +{\pscurve(-1.5,1.5)(-1.375,1.55)% +(-1.25,1.5)(-1.125,1.45)% +(-1,1.5)(-.875,1.55)% +(-.75,1.5)(-.625,1.45)% +(-.5,1.5)(-.375,1.55)% +(-.25,1.5)(-0.125,1.45)% +(0,1.5)(0.125,1.55)% +(.25,1.5)(0.375,1.45)% +(0.5,1.5)(0.625,1.55)% +(0.75,1.5)(0.875,1.45)% +(1,1.5)(1.125,1.55)% +(1.25,1.5)(1.375,1.45)(1.5,1.5)% +\psline(1.5,1.5)(1.5,0)(-1.5,0)(-1.5,1.5)} +\endpsclip% +\pst@ballon +} diff --git a/Master/texmf-dist/doc/latex/pst-labo/pstlabo8-tab1-DE.tex b/Master/texmf-dist/doc/latex/pst-labo/pstlabo8-tab1-DE.tex new file mode 100644 index 00000000000..baa18da9ac0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pstlabo8-tab1-DE.tex @@ -0,0 +1,63 @@ +\setlongtables +\begin{longtable}{@{}>{\ttfamily}l@{}>{\ttfamily}l>{\ttfamily}l>{\RaggedRight\arraybackslash}X@{}} +\caption{Zusammenfassung aller Parameter für \texttt{pst-labo}}\label{tab:pst-labo:Parameter}\\ +\emph{\textrm{Name}} & \emph{\textrm{Werte}} & \emph{\textrm{Vorgabe}} & \emph{Anmerkungen}\\\hline +\endfirsthead +\emph{\textrm{Name}} & \emph{\textrm{Werte}} & \emph{\textrm{Vorgabe}} & \emph{Anmerkungen}\\\hline +\endhead +%\multicolumn{3}{c}{\CMD{TubeEssais}}\\\hline + +\Loption{glassType} & tube|ballon| & tube & bezeichnet den Typ des \\ + & becher|erlen|& & Glasgefäßes\\ + & \rlap{flacon|fioleJauge} \\ +\Loption{bouchon} & \Larga{false|true} & false & Gefäß wird mit einem Korken versehen.\\ +\Loption{pince} & \Larga{false|true} & false & Holzklammer\\ +%\Loption{fioleJaugee} & \Larga{false|true} & false&\\ +\Loption{tubeDroit} & \Larga{false|true} & false & Glasröhrchen\\ +\Loption{tubeCoude} & \Larga{false|true} & false & abgewinkeltes Glasröhrchen\\ +\Loption{tubeCoudeU} & \Larga{false|true} & false& doppelt abgewinkeltes Glasröhrchen\\ +\Loption{tubeCoudeUB} & \Larga{false|true} & false & verlängerte Ausführung, nur für den + Glastyp \verb+ballon+ oder \verb+erlen+\\ +\Loption{tubeRecourbe} & \Larga{false|true} & false & \\ +\Loption{tubeRecourbeCourt} & \Larga{false|true} & false & Anordnung ohne Bunsenbrenner\\ +\Loption{tubePenche} & \Larga{$-65 \ldots 65$} & 0 & Kippwinkel\\ +\Loption{doubletube} & \Larga{false|true} & false & pour dégagement gazeux sans chauffage\\ +% +\Loption{etiquette} & \Larga{false|true} & false & \\ +\Loption{Numero} & \Larga{Text} & \{\} & Nummer für die Option \verb+etiquette+\\ +%\multicolumn{3}{c}{\CMD{ChauffeTube}}\\\hline +\Loption{tubeSeul} & \Larga{false|true} & false & breite/schmale \verb+pspicture+-Box\\ +\Loption{becBunsen} & \Larga{false|true} & true & mit/ohne Bunsenbrenner\\ +%\Loption{tubedegagamentDroit} & \Larga{false|true} &false&\\% nicht vorhanden +\Loption{barbotage} & \Larga{false|true} & false & zusätzliches Reagenzglas, durch Glasröhrchen mit dem + eigentlichen Gefäß verbunden\\ +\Loption{substance} & \Larga{Makro} & \CMD{relax} & \CMD{pstBullesChampagne}, \CMD{pstFilaments}, + \CMD{pstBilles}, \CMD{pstBULLES}, \CMD{pstClous}, \CMD{pstCuivre}\\ +\Loption{solide} & \Larga{Makro} & \CMD{relax} & \CMD{pstTournureCuivre}, \CMD{pstClouFer}, + \CMD{pstGrenailleZinc}\\ +\Loption{refrigerantBoulle} & \Larga{false|true} & false & pour chauffage à reflux\\ +\Loption{recuperationGaz} & \Larga{false|true} & false & Anordnung zum Auffangen entwichener Gase\\ +% +%\Loption{reactifBecher} & \{\} & bécher ou ballon ou flacon\\\hline +%\Loption{reactifBurette} & \{\} &Formule et/ou concentration du réactif\\ +\rlap{\Loption{couleurReactifBurette}}\\ + & \Larga{Farbe} & \rlap{OrangePale} & \\ +\rlap{\Loption{niveauReactifBurette}}\\ + & 20 & \Larga{$0\ldots 25$} & Begrenzung auf 25mL\\ +%\Loption{echelle} & \Larga{Wert} & 1 & echelle du schéma\\ +\Loption{AspectMelange} & \Larga{Stil} & \rlap{DiffusionBleue}\\ +\Loption{CouleurDistillat} & \Larga{Farbe} & yellow & \\ +% +\Loption{phmetre} & \Larga{false|true} & false & pHMesser anzeigen\\ +\rlap{\Loption{agitateurMagnetique}}\\ + & \Larga{false|true} & true & \\ +% +\Loption{aspectLiquide1} & \Larga{Stil} & cyan & definiert als Teil von \CMD{newpsstyle}\ldots\\ +\Loption{aspectLiquide2} & \Larga{Stil} & yellow & dito\\ +\Loption{aspectLiquide3} & \Larga{Stil} & magenta & dito\\ +\Loption{niveauLiquide1} & \Larga{$0 \ldots 100$} & 50 &\\ +\Loption{niveauliquide2} & \Larga{$0 \ldots 100$} & 0 & < niveauLiquide1\\ +\Loption{niveauliquide3} & \Larga{$0 \ldots 100$} & 0 & < niveauLiquide2\\ +\end{longtable} + + diff --git a/Master/texmf-dist/doc/latex/pst-labo/pstlabo8-tab1-EN.tex b/Master/texmf-dist/doc/latex/pst-labo/pstlabo8-tab1-EN.tex new file mode 100644 index 00000000000..d2865ea0364 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pstlabo8-tab1-EN.tex @@ -0,0 +1,63 @@ +% $Id: pstlabo8-tab1-EN.tex,v 1.2 2005/10/10 21:32:42 patrick Exp patrick $ +\setlongtables +\begin{longtable}{@{}>{\ttfamily}l@{}>{\ttfamily}l>{\ttfamily}l>{\RaggedRight\arraybackslash}X@{}} +\caption{Summary of all parameters available with \texttt{pst-labo}}\label{tab:pst-labo:Parameter} \\ +\emph{\textrm{Name}} & \emph{\textrm{values}} & \emph{\textrm{default}} & \emph{comments} \\\hline +\endfirsthead +\emph{\textrm{Name}} & \emph{\textrm{values}} & \emph{\textrm{default}} & \emph{comments} \\\hline +\endhead +%\multicolumn{3}{c}{\CMD{TubeEssais}} \\\hline + +\Loption{glassType} & tube|ballon| & tube & defines type of glass \\ + & becher|erlen|& & cylinder\\ + & \rlap{flacon|fioleJauge} \\ +\Loption{bouchon} & \Larga{false|true} & false & Container is sealed with a plug.\\ +\Loption{pince} & \Larga{false|true} & false & wooden clamp\\ +%\Loption{fioleJaugee} & \Larga{false|true} & false&\\ +\Loption{tubeDroit} & \Larga{false|true} & false & glass tube\\ +\Loption{tubeCoude} & \Larga{false|true} & false & glass tube with 90 degree twist\\ +\Loption{tubeCoudeU} & \Larga{false|true} & false& U-shaped glass tube\\ +\Loption{tubeCoudeUB} & \Larga{false|true} & false & extended version, % +only applies to glass containers of type \verb+ballon+ and \verb+erlen+\\ +\Loption{tubeRecourbe} & \Larga{false|true} & false & \\ +\Loption{tubeRecourbeCourt} & \Larga{false|true} & false & setup without Bunsen burner\\ +\Loption{tubePenche} & \Larga{$-65 \ldots 65$} & 0 & tilting angle\\ +\Loption{doubletube} & \Larga{false|true} & false & pour dégagement gazeux sans chauffage\\%TODO +% +\Loption{etiquette} & \Larga{false|true} & false & \\ +\Loption{Numero} & \Larga{Text} & \{\} & number for the option \verb+etiquette+\\ +%\multicolumn{3}{c}{\CMD{ChauffeTube}}\\\hline +\Loption{tubeSeul} & \Larga{false|true} & false & wide/narrow \verb+pspicture+ box\\ +\Loption{becBunsen} & \Larga{false|true} & true & with/without Bunsen burner\\ +%\Loption{tubedegagamentDroit} & \Larga{false|true} &false&\\% nicht vorhanden +\Loption{barbotage} & \Larga{false|true} & false & attaches an additional glass tube to the original glass container\\ +\Loption{substance} & \Larga{Makro} & \CMD{relax} & \CMD{pstBullesChampagne}, \CMD{pstFilaments}, + \CMD{pstBilles}, \CMD{pstBULLES}, \CMD{pstClous}, \CMD{pstCuivre}\\ +\Loption{solide} & \Larga{Makro} & \CMD{relax} & \CMD{pstTournureCuivre}, \CMD{pstClouFer}, + \CMD{pstGrenailleZinc}\\ +\Loption{refrigerantBoulle} & \Larga{false|true} & false & pour chauffage à reflux\\%TODO +\Loption{recuperationGaz} & \Larga{false|true} & false & setup for collecting gas\\ +% +%\Loption{reactifBecher} & \{\} & bécher ou ballon ou flacon\\\hline +%\Loption{reactifBurette} & \{\} &Formule et/ou concentration du réactif\\ +\rlap{\Loption{couleurReactifBurette}}\\ + & \Larga{Farbe} & \rlap{OrangePale} & \\ +\rlap{\Loption{niveauReactifBurette}}\\ + & 20 & \Larga{$0\ldots 25$} & restriction of 25mL\\ +%\Loption{echelle} & \Larga{value} & 1 & echelle du schéma\\ +\Loption{AspectMelange} & \Larga{Stil} & \rlap{DiffusionBleue}\\ +\Loption{CouleurDistillat} & \Larga{Farbe} & yellow & \\ +% +\Loption{phmetre} & \Larga{false|true} & false & display pH-meter\\ +\rlap{\Loption{agitateurMagnetique}}\\ + & \Larga{false|true} & true & \\ +% +\Loption{aspectLiquide1} & \Larga{Stil} & cyan & defined as part of \CMD{newpsstyle}\ldots\\ +\Loption{aspectLiquide2} & \Larga{Stil} & yellow & dito\\ +\Loption{aspectLiquide3} & \Larga{Stil} & magenta & dito\\ +\Loption{niveauLiquide1} & \Larga{$0 \ldots 100$} & 50 &\\ +\Loption{niveauliquide2} & \Larga{$0 \ldots 100$} & 0 & < niveauLiquide1\\ +\Loption{niveauliquide3} & \Larga{$0 \ldots 100$} & 0 & < niveauLiquide2\\ +\end{longtable} + + diff --git a/Master/texmf-dist/doc/latex/pst-labo/pstlabo8-tab1-FR.tex b/Master/texmf-dist/doc/latex/pst-labo/pstlabo8-tab1-FR.tex new file mode 100644 index 00000000000..68c1f7d8def --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-labo/pstlabo8-tab1-FR.tex @@ -0,0 +1,68 @@ +\setlongtables +\begin{longtable}{@{}>{\ttfamily}l@{}>{\ttfamily}l>{\ttfamily}l>{\RaggedRight\arraybackslash}X@{}} +\caption{Résumé des paramètres de l'extension \texttt{pst-labo}}\label{tab:pst-labo:Parameter}\\ +\emph{\textrm{Nom}} & \emph{\textrm{Valeur}} & \emph{\textrm{Défaut}} & \emph{Commentaire}\\\hline +\endfirsthead +\emph{\textrm{Nom}} & \emph{\textrm{Valeur}} & \emph{\textrm{Défaut}} & \emph{Commentaire}\\\hline +\endhead +%\multicolumn{3}{c}{\CMD{TubeEssais}}\\\hline + +\Loption{glassType} & tube|ballon| & tube & Définit le type de \\ + & becher|erlen|& & verrerie\\ + & \rlap{flacon|fioleJauge} \\ +\Loption{bouchon} & \Larga{false|true} & false & Ferme la verrerie par un bouchon\\ +\Loption{pince} & \Larga{false|true} & false & Pince en bois\\ +%\Loption{fioleJaugee} & \Larga{false|true} & false&\\ +\Loption{tubeDroit} & \Larga{false|true} & false & Réfrigérant à air\\ +\Loption{tubeCoude} & \Larga{false|true} & false & Tube coudé à $90^\circ$\\ +\Loption{tubeCoudeU} & \Larga{false|true} & false& Tube en U\\ +\Loption{tubeCoudeUB} & \Larga{false|true} & false & Tube en U à associer +uniquement à la verrerie de type \verb+ballon+ ou \verb+erlen+\\ +\Loption{tubeRecourbe} & \Larga{false|true} & false & \\ +\Loption{tubeRecourbeCourt} & \Larga{false|true} & false & Lorsqu'il n'y a pas +de bec Bunsen\\ +\Loption{tubePenche} & \Larga{$-65 \ldots 65$} & 0 & Angle d'inclinaison\\ +\Loption{doubletube} & \Larga{false|true} & false & Pour le dégagement gazeux +sans chauffage\\ +% +\Loption{etiquette} & \Larga{false|true} & false & \\ +\Loption{Numero} & \Larga{Text} & \{\} & Numéro placé sur l'étiquette (voir l'option \verb+etiquette+)\\ +%\multicolumn{3}{c}{\CMD{ChauffeTube}}\\\hline +\Loption{tubeSeul} & \Larga{false|true} & false & Environnement +\verb+pspicture+ large ou étroit\\ +\Loption{becBunsen} & \Larga{false|true} & true & Avec ou sans bec Bunsen\\ +%\Loption{tubedegagamentDroit} & \Larga{false|true} &false&\\% nicht vorhanden +\Loption{barbotage} & \Larga{false|true} & false & Place un tube à essai +secondaire pour récupérer les dégagements gazeux.\\ +\Loption{substance} & \Larga{Macro} & \CMD{relax} & \CMD{pstBullesChampagne}, \CMD{pstFilaments}, + \CMD{pstBilles}, \CMD{pstBULLES}, \CMD{pstClous}, \CMD{pstCuivre}\\ +\Loption{solide} & \Larga{Macro} & \CMD{relax} & \CMD{pstTournureCuivre}, \CMD{pstClouFer}, + \CMD{pstGrenailleZinc}\\ +\Loption{refrigerantBoulle} & \Larga{false|true} & false & Pour le chauffage à reflux\\ +\Loption{recuperationGaz} & \Larga{false|true} & false & Dispositif de +récupération des gaz\\ +% +%\Loption{reactifBecher} & \{\} & bécher ou ballon ou flacon\\\hline +%\Loption{reactifBurette} & \{\} &Formule et/ou concentration du réactif\\ +\rlap{\Loption{couleurReactifBurette}}\\ + & \Larga{Couleur} & \rlap{OrangePale} & \\ +\rlap{\Loption{niveauReactifBurette}}\\ + & 20 & \Larga{$0\ldots 25$} & 25~mL maximum\\ +%\Loption{echelle} & \Larga{Wert} & 1 & echelle du schéma\\ +\Loption{AspectMelange} & \Larga{Style} & \rlap{DiffusionBleue}\\ +\Loption{CouleurDistillat} & \Larga{Couleur} & yellow & \\ +% +\Loption{phmetre} & \Larga{false|true} & false & Place un pH-mètre\\ +\rlap{\Loption{agitateurMagnetique}}\\ + & \Larga{false|true} & true & \\ +% +\Loption{aspectLiquide1} & \Larga{Style} & cyan & Défini par la commande +\CMD{newpsstyle}\\ +\Loption{aspectLiquide2} & \Larga{Style} & yellow & \emph{idem}\\ +\Loption{aspectLiquide3} & \Larga{Style} & magenta & \emph{idem}\\ +\Loption{niveauLiquide1} & \Larga{$0 \ldots 100$} & 50 &\\ +\Loption{niveauliquide2} & \Larga{$0 \ldots 100$} & 0 & < niveauLiquide1\\ +\Loption{niveauliquide3} & \Larga{$0 \ldots 100$} & 0 & < niveauLiquide2\\ +\end{longtable} + + |