About

No matter what I study, I can see patterns. I see the gestalt, the melody within the notes, in everything: mathematics and science, art and music, psychology and sociology.
—Ted Chiang, Understand

Gestalt.ink is a collection of explainers and general knowledge articles written by me, Peter Bloem.

It is intended as a slowly growing and highly incomplete repository of general knowledge, focusing on mathematics, machine learning and physics. Its first aim is to provide an overview which is more or less encyclopedic in style and which allows the reader to jump in at arbitrary points. Each topic is discussed using minimal preliminaries, and with the required preliminaries spelled out explicitly.

The second aim, and this is where the name comes from, is to provide understanding through different perspectives. Often, a subject like eigenvectors is explained using one derivation only. For instance: an eigenvector is a vector whose direction doesn’t change. While this is accurate and useful, there are many different ways to arrive at the same idea, and many different contexts in which eigenvectors can be used. A true understanding of what eigenvectors are, comes only after you’ve followed a few of these derivations.

This is what we’ll call a gestalt understanding: the understanding you get only from having seen different perspectives on the same thing.

A complete article will aim to provide such an understanding in a self-contained way. We’ll always start with an executive summary, so if all you need is the basics, you can get them quickly. But, ideally, the longer you keep reading, the more insight you get.

Guiding principles

The following principles guide our approach to most subjects.

FAQ

What fonts/typefaces do you use? How can I use them?

The mathematical typeface is called Euler. It was designed by Hermann Zapf, and commisioned by Donald Knuth who made the original Tex. Zapf was inspired by the way mathematicians actually write: not italic, like in the standard LaTeX typeface, PC Modern, but upright, so that each character fits inside a clear separate bounding box. I think this makes Euler much more legible than PC Modern, which, due to its italic style has the characters overlapping into the bounding boxes of adjacent characters.

In LaTeX documents you can switch to Euler with a simple \usepackage{eulervm}. On the web, using MathJax, Euler is included by default.

The only thing to be aware of when using Euler is that it pairs terribly with the default LaTeX typeface. For this reason you should switch the default typeface as well. There are many options that work well, including Georgia and Palatino.

In my articles and here on Gestalt, I use Charter a beutiful typeface by the great Matthew Carter, who is also responsible for Georgia and Verdana. It is available in LaTeX with \usepackage{charter} and on the web through a simple set of free web fonts.

How do you make your figures and plots?

Plots are made with matplotlib. For an example, see this notebook, which was used for the article on Gaussians. I save them to SVG, or in rare cases to high-res PNG.

Diagrams are made in Keynote (the Apple alternative to Powerpoint). I export them to PDF and then convert the PDF to SVG with a command-line tool called pdf2svg.

However, I’d like to note that in both cases, the tool is the least important aspect of making the figures look the way they do. If you like the look, and would like to do something similar, then there is no need to start investigating Keynote. I only use it because I have made a lot of slides for my lectures, so I can use it very efficiently.

Almost everything that makes the articles look the way they do has nothing to do with the tools. Most of the time I have to fight the tool quite hard to achieve the look I’m going for.

So, if you want to achieve a similar look in your own articles, the main thing is to stick to the basic principles of good figure design. I think the most important things I do are:

These are just same starting pointers. The main takeaway is that if you want to take this sort of thing seriously, it’s a process. You start with a commitment to making things look clean and attractive, and then you start learning how to do it. You read blogs and follow designers on social media and you buy books on various related topics. The good news is that the basics are relatively simple, and if you commit to learning them you will pick up the first 80% of good design with 20% of the total effort. The rest is a lifelong journey.