How to define a new floating environment

Foreword

We all know the two floating environments table and figure which almost all document classes provide. Every once in a while there is the need for another floating environment. For example chemists often need something like a scheme environment. Although the latter is easily obtained using the chemmacros package and its scheme module I want to show the several methods I know for defining new floats. Continue reading “How to define a new floating environment”

Improving exsheets

It has been quite a while since I first published exsheets – a package for creating exercise sheets with LaTeX – in Juni 2012. Since then it has gained a user base and a little bit of popularity as the number of questions on tex.sx shows. User questions, bug reports and feature requests improved it over the time. It still has a version number starting with a zero, though, which in my versioning system means I still consider it experimental. Continue reading “Improving exsheets”

The Template Story

In the LaTeX community templates for documents are a recurring topic of discussion. I have written about it:

It all boils down to this: templates often contain bad code or don’t follow good LaTeX practice but on the same time many not so experienced users like to use templates for their documents. This is the source for many, many problems and questions in LaTeX forums and Q&A sites. Continue reading “The Template Story”

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}