Afin de gagner du temps pour tracer les schémas de titrage, voici une commande à inclure dans l'en-tête de vos fichiers sources LaTeX. Vous aurez besoin d'importer avant tout tikz:
\usepackage{tikz} % Schema de titrage % \schemaTitrage{solution titrante}{solution titrée} \newcommand{\schemaTitrage}[2]{ \begin{tikzpicture} \draw (0,0) -- ++ (2,0) -- ++ (0,1) -- ++ (-2,0) -- ++ (0,-1) (0.3,3) -- ++ (0,-2) (1.7,3) -- ++ (0,-2) (1,6) -- ++ (0,-3) (0.8,3.3) -- ++ (0.4,0) (0.3,1.7) -- ++ (1.4,0) (0.3,0.3) circle(0.1) (1,1.11)ellipse (0.25 and 0.10) ; \draw [<-,>=stealth, thick] (1,4.4) -- ++ (2,0) node[right] { \begin{minipage}{0.4\textwidth} {#1} \end{minipage} } ; \draw [<-,>=stealth, thick] (1,1.5) -- ++ (2,0) node[right] { \begin{minipage}{0.4\textwidth} {#2} \end{minipage} } ; \end{tikzpicture} }
Voici un exemple :
\schemaTitrage{EDTA, 1,000 mol/L}{ 100mL d'eau minérale ($v_i$) \\ + 15mL tampon pH=10 \\ + point spatule NET }
Et hop, on continue sur la lancée avec un tube à essai que l'on pourra légender en passant un argument à la commande suivante (à inclure dans l'en- tête de vos sources LaTeX) :
% Tube à essai légendé. \newcommand{\schemaTubeEssai}[1]{ \begin{tikzpicture}[scale=0.25] \draw (0,0) arc (0:-180:1) (-2,0) -- ++ (0,8) (0,0) -- ++ (0,8) (-2,4) -- ++ (2,0) (-0.5,-1) node[below] { \begin{minipage}{0.2\textwidth} {#1} \end{minipage} } ; \end{tikzpicture} }
Avec la commande
\schemaTubeEssai{1. NET + eau minérale + tampon pH=10}