2017-12-11 22:13:18 +00:00
|
|
|
\documentclass{article}
|
|
|
|
\usepackage{latexplate}
|
|
|
|
\usepackage[english]{babel}
|
|
|
|
\usepackage{lipsum}
|
2017-12-11 22:35:01 +00:00
|
|
|
|
2017-12-11 22:13:18 +00:00
|
|
|
\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}.
|
|
|
|
|
2017-12-11 22:35:01 +00:00
|
|
|
\section{Inserting pictures}
|
|
|
|
\pic[width=0.5\textwidth]{cat.jpg}{It is this easy}
|
|
|
|
|
2017-12-11 22:13:18 +00:00
|
|
|
\section{Lorem Ipsum}
|
2017-12-11 22:35:01 +00:00
|
|
|
\lipsum[1]
|
2017-12-11 22:13:18 +00:00
|
|
|
|
|
|
|
\end{document}
|