commit e2f9b70aa4ec53ebf291ea1f197b5655835a8ba8 Author: Kjistóf Date: Mon Dec 11 23:12:54 2017 +0100 initial commit. refactored old template.tex to a package diff --git a/latexplate.sty b/latexplate.sty new file mode 100644 index 0000000..45a6bcf --- /dev/null +++ b/latexplate.sty @@ -0,0 +1,30 @@ +\RequirePackage +{ + fontspec, + fancyhdr, + lmodern, + hyperref, + graphicx, + float, + parskip, + ragged2e, + soul, + sectsty, + xcolor, + microtype, + tabto +} +\RequirePackage[bottom,hang,flushmargin]{footmisc} + +\definecolor{andigray}{RGB}{237,237,237} +\sethlcolor{andigray} +\newcommand{\code}[1]{\hl{\mbox{#1}}} + +\newcommand{\pic}[3] +{ +\begin{figure}[H] + \centering + \includegraphics[#1]{#2} + \caption{#3} +\end{figure} +}