Skip to content
Snippets Groups Projects
otfndoc.cls 811 B
\NeedsTeXFormat{LaTeX2e}

\ProvidesClass{otfndoc}[LaTeX class for Open Toolchain documents]

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions

\LoadClass[12pt,onecolumn,a4paper,notitlepage]{article}

\RequirePackage[margin=2cm,headheight=2cm,includehead]{geometry}

\RequirePackage[sfdefault]{roboto}
\RequirePackage[T1]{fontenc}

\RequirePackage{fancyhdr}

\fancyhf{}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{1pt}

\fancypagestyle{first}
{
\fancyhf{}
\fancyhead[C]{\includegraphics[width=.3\textwidth]{../logo/logo-linear-print.png}}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{1pt}
}

\setcounter{secnumdepth}{0}
\pagestyle{fancy}
\AtBeginDocument{%
  \thispagestyle{first}%
}
\endinput