Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bamos/latex-templates

Website for personal collection and previewing of LaTeX templates. Presented with Python/Jinja2.
https://github.com/bamos/latex-templates

Last synced: 29 days ago
JSON representation

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

Awesome Lists containing this project

README

        

[![Linux Build Status](https://travis-ci.org/bamos/latex-templates.svg?branch=master)](https://travis-ci.org/bamos/latex-templates)

[LaTeX][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][www],
which is automatically created from `generate.py`.
See my other LaTeX projects at [bamos/cv][cv] and
[bamos/beamer-snippets][beamer-snippets].

![Screenshot](https://raw.githubusercontent.com/bamos/latex-templates/master/screenshot.png?raw=true)

# Writing Check
[btford/write-good][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](/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][gen] produces a static website in `dist`.
`generate.py` loops through the collection of snippets and uses
[Jinja][jinja] templates to output LaTeX documents.

This project uses [Grunt][grunt] to deploy `dist` to [Github pages][ghp]
in the [gh-pages][lt-ghp] branch with the [grunt-build-control][gbc] plugin.
[package.json][pjson] manages the [npm][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](https://github.com/cmichi/latex-template-collection) | 255 | A collection of different LaTeX templates (cv, invoices, timesheets, letters, etc.).
[deedydas/Latex-Templates](https://github.com/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](https://github.com/MartinThoma/LaTeX-examples) | 176 | Examples for the usage of LaTeX
[RichardLitt/latex-templates](https://github.com/RichardLitt/latex-templates) | 1 | My Personal LaTeX Templates
[stevegeek/latex-templates](https://github.com/stevegeek/latex-templates) | 20 | A collection of my LaTeX templates: CV (resume), letter head and PhD Thesis

## Websites
+ http://www.latextemplates.com/
+ https://www.sharelatex.com/templates
+ https://www.writelatex.com/templates

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

[latex]: http://www.latex-project.org/
[www]: http://bamos.github.io/latex-templates/

[jinja]: http://jinja.pocoo.org/
[grunt]: http://gruntjs.com/
[ghp]: https://pages.github.com/
[gbc]: https://github.com/robwierzbowski/grunt-build-control
[npm]: https://www.npmjs.org/
[make]: http://www.gnu.org/software/make/

[gen]: https://github.com/bamos/latex-templates/blob/master/generate.py
[mf]: https://github.com/bamos/latex-templates/blob/master/Makefile.slides
[gf]: https://github.com/bamos/latex-templates/blob/master/Gruntfile.js
[pjson]: https://github.com/bamos/latex-templates/blob/master/package.json
[lt-ghp]: https://github.com/bamos/latex-templates/tree/gh-pages

[write-good]: https://github.com/btford/write-good
[bamos/write-good]: https://github.com/bamos/write-good
[pr]: https://github.com/btford/write-good/pull/31

[cv]: https://github.com/bamos/cv
[beamer-snippets]: https://github.com/bamos/beamer-snippets

[pv1]: http://www.lel.ed.ac.uk/~gpullum/passive_loathing.pdf
[pv2]: http://en.wikipedia.org/wiki/English_passive_voice#Advice_in_favor_of_the_passive_voice