Posts tagged with "latex"
List encounters of the third kind

Content warning: over a thousand words about the appearance of a certain kind of list. How many times have you seen or written a list like the one below? Label: one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph.Other label: one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph. one or more sentences, maybe...

Writing a LaTeX macro that takes a variable number of arguments

LaTeX is the document preparation system of choice for middle-aged computer scientists. Despite its dense, esoteric and downright old-fashioned syntax and general workings, it’s probably still the best way to prepare and typeset complex documents, provided you’re prepared to learn and struggle a lot up front to get your tools and templates set up correctly (and then have everything work forever). One of the nifty things LaTeX provides is the ability to define custom macros. This allows you to do neat, effort-saving things like this: ...