Revert "Revert "Merge pull request #36 from krono/krono/draft-enhanchement""
[ach-master.git] / src / common / system.tex
index d4e7c95..17b044d 100644 (file)
   ,parskip=true%
 }
 
+% Language
+\usepackage[english]{babel}
+
+% Color
+\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
+\usepackage{color}
+
+% Packages for fonts
+\usepackage{lmodern}
+\usepackage[defaultsans]{opensans}
+\usepackage[final,babel=true]{microtype}[2011/08/18]
+
+\usepackage{pifont}
+\newcommand{\yes}{\textcolor{green}{\ding{51}}}
+\newcommand{\no}{\textcolor{red}{\ding{55}}}
+
+% Figures and graphics
+\usepackage[final]{graphicx}
+\usepackage{epstopdf}
+\usepackage{float}
+\usepackage{subfig}
+\usepackage{placeins}
+\usepackage{wrapfig}
+\usepackage{tikz}
+\usetikzlibrary{shapes,arrows}
+
+% Tables
+\usepackage{longtable}
+\usepackage{booktabs}
+\renewcommand{\arraystretch}{1.25}
+\usepackage{multicol}
+
+% Verbatims and listings
+\usepackage{fancyvrb}
+\usepackage[final]{listings}
+
+% The page
+\usepackage[footsepline]{scrpage2}
+\usepackage{lastpage}
+
+% Misc
+\usepackage{gitinfo}
+\usepackage{catchfile}
+\usepackage{hyperref}
+
+% for development
+\usepackage{ifdraft}
+\ifdraft{%
+  %% Heavy debugging
+  %\usepackage{showframe}
+  \usepackage{blindtext}
+  \usepackage{eso-pic}
+  \newsavebox{\draftPageLine}
+  \newsavebox{\draftWatermark}
+  \AddToShipoutPicture{%
+    \AtPageLowerLeft{\usebox{\draftWatermark}}
+    \AtPageUpperLeft{%
+      \raisebox{-\height}[\height][0pt]{\usebox{\draftPageLine}}}%
+    \AtPageLowerLeft{%
+      \raisebox{\depth}[\height][0pt]{\usebox{\draftPageLine}}}%
+  }
+  % \AtEndDocument{\listoftodos}
+}{
+  \let\blindtext\relax
+  \let\Blindtext\relax
+  \let\blinddocument\relax
+  \let\Blinddocument\relax
+}
 
 %%% Local Variables: 
 %%% mode: latex