Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@JeremyOttley
Created July 28, 2020 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeremyOttley/44ce14a132b608684b9452c1ae2c4a73 to your computer and use it in GitHub Desktop.
Save JeremyOttley/44ce14a132b608684b9452c1ae2c4a73 to your computer and use it in GitHub Desktop.
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{zapf}[2020/07/28]
\LoadClass{scrreprt}
\RequirePackage[scaled=0.88]{beraserif}
\RequirePackage[scaled=0.85]{berasans}
\RequirePackage[scaled=0.84]{beramono}
\RequirePackage{classicthesis}
\RequirePackage[T1]{fontenc}
\RequirePackage{mathpazo}
\linespread{1.05}
\RequirePackage[T1,small,euler-digits]{eulervm}
\newenvironment{note}[1][Note:]{%
\par\vspace{0.5\baselineskip}%
\sffamily\small\linespread{1.05}\selectfont
\noindent\ignorespaces%
#1
}{%
\vspace{0.5\baselineskip}%
\par\noindent\ignorespacesafterend%
}
\RequirePackage{listings}
\lstset{basicstyle=\ttfamily,breaklines=true}
\setkomafont{disposition}{}
\setkomafont{section}{}
\titleformat{\section}
{\usekomafont{disposition}\usekomafont{section}}
{\llap{\textsc{\MakeTextLowercase{\thesection}}\hspace{0.7em}}}
{0pt}
{\usekomafont{disposition}\usekomafont{section}\spacedlowsmallcaps}
\newcommand{\I}{\mathrm{i}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment