… to be my next package? [cce lang=”latex”] \documentclass{article} \usepackage[T1]{fontenc} \usepackage{libertine} \usepackage{elektrochemie} \begin{document} \setechemie{ membrane , electrodes = {Cu}{Zn} , anode-color = {red!20} , electrolyte-color = {blue!5} } \begin{tikzpicture} \drawcell \end{tikzpicture} \end{document}[/cce] echemie

7 thoughts on “Is this going …

  1. Svend Mortensen says:

    It will be really useful (at least for me) if you create such a packages.

    Cheers.

    1. cgnieder says:

      Hi Svend,

      I’m not quite sure yet if I’m actually going to make a real package out of this. I’d have to think about wanted (and needed) features. As a package a certain amount of flexibility is needed to make it useful. And since these kinds of pictures are not too complicated to create with TikZ (probably also with pstricks) I’m not too keen in the moment to make a package out of this.

      If I’ll get convinced otherwise (anything is possible) I’m certainly not writing a package in the near future.

      Interestingly enough you’re not the only person who has taken interest in this… 🙂

      1. Svend Mortensen says:

        It is pretty straight forward to do it with PSTricks, too. Therefore, it makes perfectly good sense if you are not going to create a package for this.

        1. Svend Mortensen says:

          I have tried to create a similar figure using PSTricks. The code can be found here (where I also ask an extra question regarding arrows; I tried [cce inline=”true” lang=”latex”]\ch{ ->[\el] }[/cce] but when it will not compile—maybe you can help with this).

  2. mase says:

    While the direction of the electrical currency is (historically) defined from + to -, the flow of electrons is from – to + and should be altered in the diagramm.

    1. cgnieder says:

      Oops, you’re right… I missed that. But this has been nothing more than a little playing around on a lazy afternoon. 🙂

  3. Ahmad says:

    Würde ich definitiv benutzen…

Leave a Reply

Your email address will not be published. Required fields are marked *