From b083364ee56b8a47b344b455440f0fdc16c9306b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 13 May 2023 03:00:50 +0000 Subject: CTAN sync 202305130300 --- graphics/pstricks/contrib/pst-labo/Changes | 1 + graphics/pstricks/contrib/pst-labo/README | 24 +- graphics/pstricks/contrib/pst-labo/doc/Makefile | 105 -- .../pstricks/contrib/pst-labo/doc/pst-labo-doc.pdf | Bin 0 -> 2579035 bytes .../pstricks/contrib/pst-labo/doc/pst-labo-doc.tex | 1063 ++++++++++++++++++ .../contrib/pst-labo/doc/pst-labo-docDE.pdf | Bin 1022981 -> 0 bytes .../contrib/pst-labo/doc/pst-labo-docDE.tex | 1148 -------------------- .../contrib/pst-labo/doc/pst-labo-docEN.pdf | Bin 1017703 -> 0 bytes .../contrib/pst-labo/doc/pst-labo-docEN.tex | 1141 ------------------- .../contrib/pst-labo/doc/pst-labo-docFR.pdf | Bin 1096378 -> 0 bytes .../contrib/pst-labo/doc/pst-labo-docFR.tex | 1141 ------------------- .../contrib/pst-labo/doc/pst-labo8-tab1-DE.tex | 63 -- .../contrib/pst-labo/doc/pst-labo8-tab1-EN.tex | 63 -- .../contrib/pst-labo/doc/pst-labo8-tab1-FR.tex | 68 -- .../pstricks/contrib/pst-labo/latex/pst-labo.sty | 6 +- .../pstricks/contrib/pst-labo/tex/pst-labo.tex | 4 +- .../pstricks/contrib/pst-labo/tex/pst-laboObj.tex | 11 + 17 files changed, 1086 insertions(+), 3752 deletions(-) delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/Makefile create mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo-doc.pdf create mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo-doc.tex delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo-docDE.pdf delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo-docDE.tex delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo-docEN.pdf delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo-docEN.tex delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo-docFR.pdf delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo-docFR.tex delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-DE.tex delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-EN.tex delete mode 100644 graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-FR.tex (limited to 'graphics/pstricks') diff --git a/graphics/pstricks/contrib/pst-labo/Changes b/graphics/pstricks/contrib/pst-labo/Changes index b2ba9b6865..4521cf05a5 100644 --- a/graphics/pstricks/contrib/pst-labo/Changes +++ b/graphics/pstricks/contrib/pst-labo/Changes @@ -1,4 +1,5 @@ pst-labo.tex ----------------------------------- +2.05 2023-05-12 fix for missing Verre option (Frédéric Bréal) 2.04 2015-12-09 fix trailing space in \pst@Ballon@Reflux (ml) 2.03 2006-08-16 fix typo with middle (hv) 2.02 2005-10-08 new option glassType (hv) diff --git a/graphics/pstricks/contrib/pst-labo/README b/graphics/pstricks/contrib/pst-labo/README index 3b80a99749..8927bc819f 100644 --- a/graphics/pstricks/contrib/pst-labo/README +++ b/graphics/pstricks/contrib/pst-labo/README @@ -1,21 +1,13 @@ -%% Package `pst-labo.tex' +pst-labo provides macros for a variety of devices used + mainly for chemical applications. Since most of these + devices have a standardised design pst-labo spares you the + trouble of having to create them manually. All + basic objects are included in the file pst-laboObj.tex and + are loaded during the start of pst-labo. -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 - +Use latex->dvips->ps2pdf or xelatex or lualatex -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 +hvoss@tug.org \ No newline at end of file diff --git a/graphics/pstricks/contrib/pst-labo/doc/Makefile b/graphics/pstricks/contrib/pst-labo/doc/Makefile deleted file mode 100644 index fa0627424d..0000000000 --- a/graphics/pstricks/contrib/pst-labo/doc/Makefile +++ /dev/null @@ -1,105 +0,0 @@ -# $Id: Makefile 234 2015-12-10 11:20:02Z herbert $ - -# `Makefile' for `pst-labo.pdf' - -.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps - -PACKAGE = pst-labo -MAIN = $(PACKAGE)-doc -LANGUAGES = DE EN FR -#PRO = $(PACKAGE).pro -PRO = - - -empty= -space=$(empty) $(empty) -DOC_SOURCES = $(addprefix $(PACKAGE)-doc,$(LANGUAGES)$(space)) -DOC_SOURCES := $(addsuffix .tex, $(DOC_SOURCES)) -DOCS = $(DOC_SOURCES:.tex=.pdf) - -TDS = ~/PSTricks/PSTricks-TDS - -LATEX = latex -PDFLATEX = latex -OPTIONS= --Iext=.png --Iscale=0.5 --DPI=150 --noImages -DVIPS = dvips -PS2PDF = ps2pdf - -ARCHNAME = $(PACKAGE)-$(shell date +%Y%m%d) - -ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(DOC_SOURCES) \ - README Changes Makefile - -all : $(DOCS) clean ctan tds - -%.pdf : %.tex - $(LATEX) $(basename $<) $(OPTIONS) -# makeindex -s gglo.ist -t $(basename $<).glg -o $(basename $<).gls $(basename $<).glo - makeindex -s pst-doc.ist -t $(basename $<).ilg -o $(basename $<).ind $(basename $<).idx - bibtex $(basename $<) - $(PDFLATEX) $(basename $<) - $(PDFLATEX) $(basename $<) - $(DVIPS) $(basename $<) - $(PS2PDF) $(basename $<).ps - -clean : - $(RM) $(foreach i,$(DOC_SOURCES:.tex=),$(addprefix $i, \ - .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .bbl .dvi .xcp .ps)) - -veryclean : clean - $(RM) $(foreach i,$(DOC_SOURCES:.tex=),$(addprefix $i, .pdf )) - -arch : - zip $(ARCHNAME).zip $(ARCHFILES) - -ifneq ($(strip $(PRO)),) -installPRO : - @echo "Installiere PRO-Dateien ($(PRO))..." - cp -u Changes $(TDS)/dvips/$(PACKAGE)/ - cp -u $(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/ - cp -u $(PACKAGE).pro ~/Links/dvips-local/ -else -installPRO : - @: -endif - -tds : installPRO - @echo "Installiere TeX-Zeug..." - cp -u Changes $(TDS)/doc/generic/$(PACKAGE)/ - cp -u README $(TDS)/doc/generic/$(PACKAGE)/ - cp -u *.pdf $(TDS)/doc/generic/$(PACKAGE)/ -# - cp -u Changes $(TDS)/tex/latex/$(PACKAGE)/ - cp -u $(PACKAGE).sty $(TDS)/tex/latex/$(PACKAGE)/ -# - cp -u Changes $(TDS)/tex/generic/$(PACKAGE)/ - cp -u $(PACKAGE).tex $(TDS)/tex/generic/$(PACKAGE)/ -# - cp -u Changes $(TDS)/source/$(PACKAGE)/ - cp -u *-doc??.tex $(TDS)/source/$(PACKAGE)/ - cp -u $(PACKAGE)8* $(TDS)/source/$(PACKAGE)/ - cp -u $(MAIN).bib $(TDS)/source/$(PACKAGE)/ - cp -u Makefile $(TDS)/source/$(PACKAGE)/ - -ctan: - rm -f .ctan/$(PACKAGE)/latex/* - cp -u *.sty .ctan/$(PACKAGE)/latex/ -# cp -u *.cfg .ctan/$(PACKAGE)/latex/ - rm -f .ctan/$(PACKAGE)/tex/* - cp -u $(PACKAGE).tex .ctan/$(PACKAGE)/tex/ - cp -u $(PACKAGE)Obj.tex .ctan/$(PACKAGE)/tex/ -# cp -u *.pro .ctan/$(PACKAGE)/dvips/ - rm -f .ctan/$(PACKAGE)/doc/* - cp -u $(PACKAGE)-doc.bib .ctan/$(PACKAGE)/doc/ - cp -u $(PACKAGE)-doc??.* .ctan/$(PACKAGE)/doc/ - cp -u Makefile .ctan/$(PACKAGE)/doc/ - cp -u $(PACKAGE)8* .ctan/$(PACKAGE)/doc/ -# rm -fr .ctan/$(PACKAGE)/.svn - cp -u Changes .ctan/$(PACKAGE)/ - cp -u README .ctan/$(PACKAGE)/ - chmod -R a+r .ctan/$(PACKAGE) - -debug : - @echo $(DOC_SOURCES) - -# EOF diff --git a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-doc.pdf b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-doc.pdf new file mode 100644 index 0000000000..ff3443006d Binary files /dev/null and b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-doc.pdf differ diff --git a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-doc.tex b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-doc.tex new file mode 100644 index 0000000000..e2eb78c0f1 --- /dev/null +++ b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-doc.tex @@ -0,0 +1,1063 @@ +\DocumentMetadata{} +\documentclass[11pt,a4paper,english]{article} +%\usepackage[latin1]{inputenc}% +%\usepackage[T1]{fontenc} +\usepackage{babel} +\usepackage{libertinus} +\setmonofont{AnonymousPro}[Scale=MatchLowercase,FakeStretch=0.88] + +\usepackage{biblatex} +\addbibresource{\jobname.bib} + +\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} + +\usepackage{makeidx}\makeindex + +% +\usepackage[dvipsnames,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 +\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 ---------------------- +\def\pst{\texttt{pstricks}\xspace} +\def\PST{\texttt{PSTricks}\xspace} +\def\PS{PostScript\xspace} +\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} + +%-------------------------------- Listings ------------------------------------- +\usepackage{showexpl}% not a real PSTricks package +% +\lstset{wide=true,rframe=,basicstyle=\ttfamily\small} +% +%-------------------------------- 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{]}} +% +\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} + +% $Id: pst-labo-docEN.tex 295 2016-05-02 19:11:36Z herbert $ +\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}}\and +Christophe Jorssen\thanks{\url{Christophe.Jorssen@wanadoo.fr}}\and +Manuel Luque\thanks{\url{ManuelLuque27@gmail.com}} \and +Herbert Vo\ss\thanks{\url{hvoss@tug.org}}} +\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}{pst-labo8-tab1.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] +\pstTubeEssais[glassType=verre] +\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] +\pstTubeEssais[glassType=verre] +\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] +\pstTubeEssais[glassType=verre] +\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}) or the oprional argument \Loption{showgrid} +for the \Lmenv{pspicture} environment. + +\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{*} +\printbibliography +%\bibliography{pst-labo-doc} + +\end{document} diff --git a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docDE.pdf b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docDE.pdf deleted file mode 100644 index 2fb2fb082a..0000000000 Binary files a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docDE.pdf and /dev/null differ diff --git a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docDE.tex b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docDE.tex deleted file mode 100644 index 6cdf7fb3c9..0000000000 --- a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docDE.tex +++ /dev/null @@ -1,1148 +0,0 @@ -\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} -%\def\verbatim@font{\small\normalfont\ttfamily} -% - -\usepackage{makeidx}\makeindex -\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 -\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 ---------------------- -\makeatletter -\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} - -\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{ManuelLuque27@gmail.com}} and -Herbert Vo\ss\thanks{\url{hvoss@tug.org}}} -\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}{pst-labo8-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} - - -\end{document} diff --git a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docEN.pdf b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docEN.pdf deleted file mode 100644 index 630bd652e7..0000000000 Binary files a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docEN.pdf and /dev/null differ diff --git a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docEN.tex b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docEN.tex deleted file mode 100644 index fde72d8ccf..0000000000 --- a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docEN.tex +++ /dev/null @@ -1,1141 +0,0 @@ -\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} - -\usepackage{makeidx}\makeindex - -% -\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 -\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 ---------------------- -\makeatletter -\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} - -% $Id: pst-labo-docEN.tex 234 2015-12-10 11:20:02Z herbert $ -\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{ManuelLuque27@gmail.com}} and -Herbert Vo\ss\thanks{\url{hvoss@tug.org}}} -\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}{pst-labo8-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} - -\end{document} diff --git a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docFR.pdf b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docFR.pdf deleted file mode 100644 index 592d81d271..0000000000 Binary files a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docFR.pdf and /dev/null differ diff --git a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docFR.tex b/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docFR.tex deleted file mode 100644 index 4678058754..0000000000 --- a/graphics/pstricks/contrib/pst-labo/doc/pst-labo-docFR.tex +++ /dev/null @@ -1,1141 +0,0 @@ -%% 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} - -\usepackage{makeidx}\makeindex - -% -\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 -\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} -% -\makeatletter -% ------------------------------- 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} - -\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{ManuelLuque27@gmail.com}} and -Herbert Vo\ss\thanks{\url{hvoss@tug.org}}} -\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}{pst-labo8-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} - - -\end{document} diff --git a/graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-DE.tex b/graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-DE.tex deleted file mode 100644 index baa18da9ac..0000000000 --- a/graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-DE.tex +++ /dev/null @@ -1,63 +0,0 @@ -\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/graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-EN.tex b/graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-EN.tex deleted file mode 100644 index b0e972e852..0000000000 --- a/graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-EN.tex +++ /dev/null @@ -1,63 +0,0 @@ -% $Id: pstlabo8-tab1-EN.tex 234 2015-12-10 11:20:02Z herbert $ -\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/graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-FR.tex b/graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-FR.tex deleted file mode 100644 index 68c1f7d8de..0000000000 --- a/graphics/pstricks/contrib/pst-labo/doc/pst-labo8-tab1-FR.tex +++ /dev/null @@ -1,68 +0,0 @@ -\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} - - diff --git a/graphics/pstricks/contrib/pst-labo/latex/pst-labo.sty b/graphics/pstricks/contrib/pst-labo/latex/pst-labo.sty index e03726c23b..b052ba9f8d 100644 --- a/graphics/pstricks/contrib/pst-labo/latex/pst-labo.sty +++ b/graphics/pstricks/contrib/pst-labo/latex/pst-labo.sty @@ -1,12 +1,8 @@ \RequirePackage{pstricks} -\ProvidesPackage{pst-labo}[2015/12/09 package wrapper for pst-labo.tex (hv)] +\ProvidesPackage{pst-labo}[2023/05/12 package wrapper for pst-labo.tex (hv)] \input{pst-labo.tex} \ProvidesFile{pst-labo.tex} [\filedate\space v\fileversion\space `PST-labo' (ML,DG,CJ,hv)] -\IfFileExists{pst-labo.pro}{% - \ProvidesFile{pst-labo.pro} - [2012/09/21 v. 1.01, PostScript prologue file (hv)] - \@addtofilelist{pst-labo.pro}}{}% \endinput diff --git a/graphics/pstricks/contrib/pst-labo/tex/pst-labo.tex b/graphics/pstricks/contrib/pst-labo/tex/pst-labo.tex index e23db23efa..0eef0e2713 100644 --- a/graphics/pstricks/contrib/pst-labo/tex/pst-labo.tex +++ b/graphics/pstricks/contrib/pst-labo/tex/pst-labo.tex @@ -24,8 +24,8 @@ \ifx\PSTGradLoaded\endinput\else\input pst-grad.tex\fi \ifx\PSTXKeyLoaded\endinput\else\input pst-xkey.tex\fi % -\def\fileversion{2.04} -\def\filedate{2015/12/09} +\def\fileversion{2.05} +\def\filedate{2023/05/12} % \message{`PST-labo8' v\fileversion, \filedate\space (ML/CJ/DG/HV)} \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax diff --git a/graphics/pstricks/contrib/pst-labo/tex/pst-laboObj.tex b/graphics/pstricks/contrib/pst-labo/tex/pst-laboObj.tex index d678bdc450..040286b662 100644 --- a/graphics/pstricks/contrib/pst-labo/tex/pst-laboObj.tex +++ b/graphics/pstricks/contrib/pst-labo/tex/pst-laboObj.tex @@ -556,6 +556,17 @@ gradbegin=OrangePale,gradend=yellow]% \psline(0.5,3.1)(0.5,3.4) \psarcn(0.6,3.4){0.1}{180}{90}}} +\def\pst@Verre@Corps{{% Frédéric Bréal + \psset{linewidth=0.053,arrows=-} + \psline(-1,3.5)(-0.5,1) + \psarc(0,1){0.5}{180}{360} + \psline(0.5,1)(1,3.5)}} + +\def\pst@Verre@Pied{{% Frédéric Bréal + \psset{linewidth=0.053,arrows=-,linearc=0.03} + \psline(-0.5,1)(-0.34,0.2)(-1.2,0)(1.2,0)(0.34,0.2)(0.5,1)}} + + %%%%%%%%%%% début entonnoir %%%%%%%%%%%%%%%%%%%%%%% \def\pst@Entonnoir@Contour{% -- cgit v1.2.3