My latex setup. Classes and packages tuned to my usage.
Copyright Eivind Storm Aarnæs, eiv(DOT)s(DOT)aa(AT)gmail(DOT)com.
Licensed under The LaTeX Project Public License.
This work consist of the following files:
eistaart.cls-- An article class styling the document the way I prefer.eistaasetup.sty-- A package containing my usual math, text, theorem and figure setup.mathletters.sty-- Convenient shorthands to some math letters.
eistaacode.sty-- A package for formating code the way I like it, either withlistingsor withminted.eistaadrawing.sty-- A package for drawing related stuff. Currently only TiKZ.
These instruction assume you are using TeX Live as your LaTeX distribution.
The makefile is set up to install to the users local texmf-directory by default. Before running
the makefile you should run:
tlmgr init-usertree # to setup your local texmf dir
kpsewhich -var-value=TEXMFHOME # this should output the path to your local texmf dirTo install to your local texmf-directory, do:
make installTo install to a different texmf-directory, do:
make -e TEXMF=path/to/texmf installThis is a table of directly required packages:
| Package | eistaart |
eistaasetup |
eistaacode |
eistaadrawing |
|---|---|---|---|---|
algorithm2e |
YES | |||
amsfonts |
YES | |||
amsmath |
YES | |||
amssymb |
YES | |||
amsthm |
YES | |||
babel |
YES | |||
beramono |
YES | YES | ||
chngcntr |
YES | |||
enumitem |
YES | YES | ||
eulervm |
YES | |||
fancyhdr |
YES | |||
fontenc |
YES | YES | ||
geometry |
YES | |||
graphicx |
YES | |||
inputenc |
YES | |||
kvoptions-patch |
YES | YES | YES | YES |
listings |
YES | |||
mathpazo |
YES | |||
mathtools |
YES | |||
minted |
YES | |||
subcaption |
YES | |||
thmtools |
YES | |||
tikz |
YES | |||
titlesec |
YES | |||
xcolor |
YES | YES | ||
xkeyval |
YES | YES | YES | YES |
\usepackage[%
figures,math,theorem,text,% to load parts of the package
enumitem={inline}% options to enumitem
]{eistaasetup}figures-- Enable by passing option to package.- Loads graphix and subcaption.
math-- Enable by passing option to package.- Loads amsmath, amsfonts & amssymb, mathtools, algorithm2e packages.
- Also loads shorthands to math letters, see
mathletters-package. - Defines a lot of math operators and other math commands.
theorems-- Enable by passing option to package.text-- Enable by passing option to package.- Loads enumitem package.
- Defines two macros:
qteanditqtefor quoting text. - Defines two list environments:
romanenumandromanenuminline. Lists using small roman numerals, the inline version is only defined ifenumitemis loaded withinlineoption.
enumitem-- Pass options toenumitempackage. If not specified loaded withinline.