47 lines
798 B
TeX
47 lines
798 B
TeX
|
\documentclass{article}
|
||
|
\usepackage{latexplate}
|
||
|
\usepackage[english]{babel}
|
||
|
|
||
|
\usepackage{lipsum}
|
||
|
\setmainfont{DejaVu Sans}
|
||
|
\setsansfont{DejaVu Sans}
|
||
|
\setmonofont{DejaVu Sans Mono}
|
||
|
|
||
|
\sectionfont{\color{cyan}}
|
||
|
\hypersetup
|
||
|
{
|
||
|
colorlinks,
|
||
|
linkcolor={cyan!50!black},
|
||
|
citecolor={blue!50!black},
|
||
|
urlcolor={blue!80!black}
|
||
|
}
|
||
|
|
||
|
\fancyhead{}
|
||
|
\fancyfoot{}
|
||
|
\pagestyle{fancy}
|
||
|
\fancyhead[L]{}
|
||
|
\fancyhead[R]{\thepage}
|
||
|
|
||
|
\title{\color{cyan}An example document}
|
||
|
\author{dzidza}
|
||
|
\date{\today}
|
||
|
|
||
|
\begin{document}
|
||
|
\maketitle
|
||
|
\thispagestyle{empty}
|
||
|
\cleardoublepage
|
||
|
|
||
|
\microtypesetup{protrusion=false}
|
||
|
\tableofcontents
|
||
|
\microtypesetup{protrusion=true}
|
||
|
\thispagestyle{empty}
|
||
|
\cleardoublepage
|
||
|
|
||
|
\section{Code highlighting}
|
||
|
This is just some \code{inline code}.
|
||
|
|
||
|
\section{Lorem Ipsum}
|
||
|
\lipsum[1-2]
|
||
|
|
||
|
\end{document}
|