Skip to content

Instantly share code, notes, and snippets.

@dflemstr
Created December 29, 2018 16:20
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 dflemstr/3cd717b968b98f3b8bef34d6ea8df103 to your computer and use it in GitHub Desktop.
Save dflemstr/3cd717b968b98f3b8bef34d6ea8df103 to your computer and use it in GitHub Desktop.
\documentclass[a4paper,10pt,swedish]{memoir}
\usepackage{listings}
\usepackage{minted}
%\usepackage{fancyhdr}
\usepackage{xunicode}
\usepackage{xltxtra}
\DeclareUTFcharacter[\UTFencname]{x00A0}{\nobreakspace}
\usepackage{polyglossia}
\usepackage[pdfusetitle,bookmarks=true,
bookmarksnumbered=true,bookmarksopen=false,
breaklinks=false,pdfborder={0 0 0},backref=false,
colorlinks=false]{hyperref}
\usepackage{color}
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{mathtools}
\usepackage{tikz}
\setmainfont[Mapping=tex-text,Ligatures={Common},Numbers={OldStyle},Contextuals={Alternate},Scale=MatchLowercase]{Garamond
Premier Pro} \setsansfont[Scale=MatchLowercase]{Futura Std}
\setmonofont[Scale=MatchLowercase]{PragmataPro}
\usemintedstyle{friendly}
\renewcommand{\theFancyVerbLine}{
\textcolor[rgb]{0.5,0.5,0.5}{\scriptsize
\arabic{FancyVerbLine}}}
\setdefaultlanguage{swedish}
\chapterstyle{section}
\setcounter{tocdepth}{3}
\setlength{\parskip}{\smallskipamount}
\setlength{\parindent}{0pt}
\setlength{\intextsep}{0pt}
\numberwithin{equation}{subsection}
\title{Titel}
\author{Author}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment