Creating new documents with templates

lsst-texmf includes cookiecutter templates that help you start new projects more quickly.

Set up

To use the templates, you’ll need to install cookiecutter and have a local clone of the lsst-texmf repository.

Cookiecutter

You can install cookiecutter with pip:

pip install cookiecutter

Or with Anaconda:

conda install cookiecutter

lsst-texmf

You need a local copy of lsst-texmf to use the templates. If you have installed lsst-texmf, you’ll have a lsst-texmf clone at $TEXMFHOME/... Otherwise, you can clone the repository now:

git clone https://github.com/lsst/lsst-texmf

Quick start

Templates are located in the lsst-texmf/templates directory. You can create a new document by passing the template’s directory path to cookiecutter. For example:

cookiecutter lsst-texmf/templates/presentation

Then answer the prompts to initialize the document. See the Templates section for information about specific templates.

Templates

These templates are included with lsst-texmf: