Electrical documents, especially for learners, can contain a lot of formulas. So LaTeX with its strengths in math typesetting is a very good choice for…

Documentation may contain code samples. The same applies to theses in computer science. While pseudo-code of algorithms was covered in the another example, we now…

Chemical formulae and equations have a different style compared to mathematical formulae and equations. For example: Letters mean atomic symbols and are written upright, unlike…

In graph theory, models and drawings often consists mostly of vertices, edges, and labels. So, it may be possible, to use a simpler language for…

In other examples, we saw how to draw molecules. How about digging deeper? Can we draw atoms? Sure! We will use a package named after…

Though chemfig makes drawing easier, writing down complex molecules can still be laborious if you got a lot of them, such as in lecture notes…

In the Drawing molecules example we already saw how we can draw simple molecules. This example uses the chemfig package for drawing the famous benzene…

In the Chemical formulae example we already encountered formulae for molecules. Now we like to see how to draw them. This means drawing a group…