Skip to content

eistaa/latex-mysetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

latex-mysetup

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.

Files

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 with listings or with minted.
  • eistaadrawing.sty -- A package for drawing related stuff. Currently only TiKZ.

Installing

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 dir

To install to your local texmf-directory, do:

make install

To install to a different texmf-directory, do:

make -e TEXMF=path/to/texmf install

Required Packages

This 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

Usage

eistaasetup

\usepackage[%
        figures,math,theorem,text,% to load parts of the package
        enumitem={inline}% options to enumitem
    ]{eistaasetup}

Options

  • figures -- Enable by passing option to package.
  • math -- Enable by passing option to package.
  • theorems -- Enable by passing option to package.
    • Loads amsthm and thmtools packages.
    • Defines and applies a theorem style where the type label hangs out in the margin.
    • Defines the following environments: theorem, definition, lemma, preposition, example.
  • text -- Enable by passing option to package.
    • Loads enumitem package.
    • Defines two macros: qte and itqte for quoting text.
    • Defines two list environments: romanenum and romanenuminline. Lists using small roman numerals, the inline version is only defined if enumitem is loaded with inline option.
  • enumitem -- Pass options to enumitem package. If not specified loaded with inline.

eistaacode

eistaadrawing

eistaart

About

My latex setup. Classes and packages tuned to my usage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors