Pandoc LaTeX shopping list template


I wanted to be able to create a printable shopping list with nice formatting, mainly as an exercise in practicing Pandoc templating, but also maybe to try and automate some of the recurring struggles with buying enough groceries and the correct items. Here is the LaTeX template:

\documentclass[a4paper, 12pt, twocolumn]{article}

% Language

% List items with boxes

% Page geometry

% Pandoc specific


% Title 

% Section titles


%\titlespacing{command}{left spacing}{before spacing}{after spacing}[right]

% Prevent section breaking across pages (columns)

% Text formatting
\setcounter{secnumdepth}{0}  % Remove section numbers
\pagenumbering{gobble}  % Remove page numbers
\setlength{\parindent}{0pt}  % Stop indenting paragraphs

% Pandoc arguments
\title{Shopping List}





Key features are a redefined title section so it doesn’t take up so much space, tickable boxes instead of bullet points, and some trickery with the section headings so they take up less space, and so that a section never breaks across two columns or pages.

Example shopping list