/latex-templates

Website for personal collection and previewing of LaTeX templates. Presented with Python/Jinja2.

Primary LanguageTeXMIT LicenseMIT

Linux Build Status

LaTeX is a typesetting program for producing high quality technical documents. Formatting LaTeX documents is difficult and modifying pre-built templates often require extensive knowledge of the template. This repository contains simple LaTeX templates for common documents. Screenshots of each template are available on this webpage, which is automatically created from generate.py. See my other LaTeX projects at bamos/cv and bamos/beamer-snippets.

Screenshot

Writing Check

btford/write-good is a naive linter for English prose and works well on LaTeX documents. If write-good is installed, the Makefile's in this project will output a list of warnings and tips for improving writing after building the LaTeX documents.

Contributing

Contributions are highly welcomed! If you want to add a similar template, please add to the latex-templates directory and I'm happy to merge pull requests. If you want to use the static webpage generation framework to present a different set of templates with other motivations, I'm happy to link to your project here.

Webpage Generation Process

The Python 3 script generate.py produces a static website in dist. generate.py loops through the collection of snippets and uses Jinja templates to output LaTeX documents.

This project uses Grunt to deploy dist to Github pages in the gh-pages branch with the grunt-build-control plugin. package.json manages the npm dependencies. Running npm install installs the dependencies.

  • grunt generate produces the static site in dist, and
  • grunt deploy pushes the dist directory to the gh-pages branch.

Similar Projects

There are many approaches to sharing LaTeX templates online, and this project uniquely adds a static webpage generation process to generate previews of templates managed in Git. The following list shows a short sampling of projects, and I'm happy to merge pull requests of other projects.

Git Repositories

Generated on 2015-10-03, see the Markdown source of this file for more details.

Name Stargazers Description
cmichi/latex-template-collection 255 A collection of different LaTeX templates (cv, invoices, timesheets, letters, etc.).
deedydas/Latex-Templates 58 A concise set of Latex templates that serves a small set of needs - CV, Essays, Articles and Problem Sets
MartinThoma/LaTeX-examples 176 Examples for the usage of LaTeX
RichardLitt/latex-templates 1 My Personal LaTeX Templates
stevegeek/latex-templates 20 A collection of my LaTeX templates: CV (resume), letter head and PhD Thesis

Websites

Licensing

All modified referenced code has license of the original source. All other portions are under the MIT license.