priime0 / latextemplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LaTeX Template

My LaTeX template for lectures and homeworks, with custom math commands and lecture macros I’ve found myself needing.

priimemath.sty defines a package that includes environments and operators I’ve defined for myself. main.tex defines a template for lecture notes and homework – it is dependent on priimemath.sty.

Set up

For a new project, simply clone the directory.

git clone --depth=1 https://github.com/priime0/latextemplate

If you’d like to make the math operators global, you can symlink or copy the package file into your custom directory.

# First argument is the path to this repository's `priimemath.sty' file.
# Second argument is the path to your common LaTeX package directory.
# Replace `ln -s' with `cp' if you prefer to copy rather than link.
ln -s ./priimemath.sty ~/texmf/tex/latex/commonstuff/priimemath.sty

Running

I use just to run my LaTeX commands.

  • just run: compile main.tex to out/main.pdf.
  • just clean: clean the contents of out/.

About


Languages

Language:TeX 96.3%Language:Just 3.7%