initial commit. refactored old template.tex to a package

This commit is contained in:
Kjistóf 2017-12-11 23:12:54 +01:00
commit e2f9b70aa4
1 changed files with 30 additions and 0 deletions

30
latexplate.sty Normal file
View File

@ -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}
}