A template for writing LaTeX documents. I myself mostly use this to write lab reports, essays and project reports for school. See https://github.com/audreyr/cookiecutter.
- Pretty Title Page: fields are automatically populated at project creation.
- Nomenclature: Ready for nomenclature printing. Make Index script provided (see Nomenclature).
- BibTeX: Set up to use BibTeX (IEEE style).
- Standard directory structure.
See Output for screenshots and sample PDF.
pip install cookiecutter
Generate a LaTeX project:
Answer a few questions about the project information as well as if you need support for a Bibliography and/or Nomenclature, a.k.a list of symbols.
Start writing your document! Suggested use is to create new .tex file and include it using:
I am an engineering student at McGill University, hence the McGill logo and IEEE bibliography style.
I wrote the document class
SelimArticle.cls because I always use more or less the same packages.
I am in no way affiliated with McGill University
The nomencl package makes formatting a nomenclature a walk in the park.
- Add symbols to list of symbols using
\nomenclaturecommand (see documentation).
- Assuming you answered positively to the
nomenclaturequestion during setup, run provided
makeidx.batfrom command prompt (Windows).
main.texonce or twice.
If you're on a non-Windows platform, simply replacing the
.bat extension to
.sh should work.
dabib.bib file is included with the template if you answer positively to
bibtex. Bibliography style and insertion at the bottom of
Title page formatting is done in
mypage.sty package, and parameters such as student ID, name, course name etc... can easily be modified in
The McGill logo is taken from
logo.jpg. To change the logo, replace the file with your own.
I use my own document class (
SelimArticle.cls), which loads the default article document class. The only option proper to this custom class is [Nomencl], which loads necessary packages and adjusts formatting for the list of symbols.
Additional options are passed to the article document class
I like to keep my figures in a separate folder (in this case "figs") and my
.tex files in the same directory as the main. I also like to have my LaTeX files in a subdirectory (in this case "tex") and keep related documents, e.g. an Excel workbook, IPython Notebook or project instructions, in the project's root directory.
Not Exactly What You Want?
Similar Cookiecutter Templates
No similar templates yet.
Fork This and Create Your Own
If you have differences in your preferred setup, I encourage you to fork this and make the desired modifications.
Once you have your own version working, add it to the Similar Cookiecutter Templates list above with a brief description.
It's up to you whether or not to rename your fork/own version. Do whatever you think sounds good.
I accept suggestions/pull requests.