Cookiecutter LaTeX templates

Cookiecutter LaTeX templates

Tags
cookiecutter
LaTex
Published
2019-06-30
Author
Man Parvesh Singh Randhawa
 

Motivation

Recently I stumbled upon an interesting project called Cookiecutter1 which is based on a simple but an excellent concept, and has gained a lot of popularity since it’s so useful. The primary usage of this project is to create templates for projects.
The community has created several templates for cookiecutter2 which can be used for different projects, like Python, HTML, Scala, Spring Boot, LaTeX, just to name a few. I usually take notes using the $\LaTeX$3 typesetting system and I found that there was only one template for it, so I decided to create some for myself and make them public too.

Templates

  1. book-double-column: To make a book with double columns
  1. book-single-column: To make a book with single column
  1. cheatsheet: Cheatsheet template with 3 columns
  1. lecture-notes: Lecture notes template

How to use

  1. Install cookiecutter4
  1. Clone this5 repository
  1. copy the template folders in this repo to the location ~/.cookiecutters/
  1. You can rename the templates according to your needs to use them
  1. use cookiecutter to create a LaTeX project like this: cookiecutter cookiecutter-cheatsheet-template (you can replace this name with the one you have changed to in the templates folder)

  1. https://github.com/audreyr/cookiecutter
  1. https://github.com/audreyr/cookiecutter#a-pantry-full-of-cookiecutters
  1. https://www.latex-project.org/
  1. https://github.com/audreyr/cookiecutter
  1. https://github.com/manparvesh/cookiecutter-latex-templates