finds.dev← search

// the find

goodfeli/dlbook_notation

★ 1,892 · TeX · updated May 2023

LaTeX files for the Deep Learning book notation

A small LaTeX package providing the mathematical notation conventions used in the Goodfellow et al. Deep Learning textbook. Defines macros for vectors, matrices, datasets, probability distributions, and other ML-specific symbols. Useful if you want your papers or notes to match the notation style from that book.

The macro set is well thought out and covers the full range of notation the DL book uses — matrix/vector distinction, random variables, datasets, expectations, all consistently named. Including the example PDF and source means you can see immediately what you're getting before integrating it. It's a single-file include (math_commands.tex) so dropping it into an existing project is trivial. The natbib style file is included so bibliography formatting matches too.

Last touched in 2023 and essentially frozen — this is a one-shot release, not a maintained library. No package distribution (CTAN, etc.), so you're copying files manually with no update path. The notation choices are opinionated to match one specific book; if your convention differs on even one thing (say, using bold lowercase for vectors instead of arrows), you're editing someone else's macros. No documentation beyond the example PDF — if a macro doesn't do what you expect, you're reading raw TeX.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →