# Carbohydrates

Since a few weeks I’m working on a package using chemfig as a backend that allows a simple yet flexible input syntax for typesetting carbohydrates. My draft at this point allows the following:

\documentclass{scrartcl}
\usepackage{carbohydrates}
\begin{document}

\glucose[model=chair,ring]

\end{document
}

# Is this going …

… to be my next package?

\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
}

# Nanotubes with TikZ

Although I know TikZ for quite a while now and believe I have a good idea of what’s possible with it, it never seizes to amaze me. One I can’t hide from you: Continue reading

# Wavy bonds

This is not at all my achievement. I found an answer on TeX.SE where a TikZ decoration is defined that produces “nicer” waves than the decoration provided through the tikzlibrary decorations.pathmorphing named snake. Continue reading

# Electron movement

As you probably know organic chemists often indicate electron transfers or electron movements with arrows. It is common that a “normal” arrow indicates the movement of an electron pair. A possibility to draw these arrows is built-in into ChemFig. It provides the command \chemmove{} which basically is a wrapper for a tikzpicture with options remember picture, overlay. Continue reading

# The MOdiagram package

There is a new package of mine: MOdiagram (or here). It enables to create simple molecular orbital diagrams. The package uses TikZ to draw the diagrams. The package has been strongly inspired by this question on TeX.SE.

Let’s take a look at an example: Continue reading

# Some examples

I’d like to present you some examples of how chemfig‘ and TikZ‘ can be used to illustrate chemistry problems. Please note, that the code — especially the TikZ code — is not necessarily the simplest way to achieve the pictures. It is just the first I made and will probably be the only one. Continue reading