Blog Archives

Pandoc md to pdf with better headings

I keep my notes mostly in one Git’d folder of markdown files, which is vastly quicker and easier than my old WYSIWYG word-processed noting system.  I write and navigate my md’d notes in gVim.  For wide convertablility across markdown engines, I only use markdown headings down to the 4th level.  This was working fine until I put some lyrics directly under a 4th level heading and converted the md file to pdf. Read more ›




Color-highlight selected letters in LaTeX

I intentionally produced my latex leaflet to promote myself as an actor with reduced coloration, but I had an idea to have some letters throughout the text coloured, just to amuse.   My first attempt was to replace all occurances of “et” (French for “and”…) in the text with \textcolor{Red}{et}.  This was fairly quick to do with the power of gVim, and I quite liked the pdf output result, but not the visual mess in the tex file.  I looked for a way to semi-automate it in LaTeX, and found Sh3ljohn’s helpful StackExchange question, which got me thinking that I could colour-highlight these letters throughout my leaflet: J H T j h t. Read more ›




a LaTeX leaflet

It took a while, but I’ve got the hang of LaTeX, such that it’s now my choice for documents that need more than a little formatting.  I also, somewhat to my surprise, use it occasionally to make up a pdf from a sequence of jpegs – no text, just page numbering. Read more ›