diff --git a/example.tex b/example.tex new file mode 100644 index 0000000..4f31283 --- /dev/null +++ b/example.tex @@ -0,0 +1,46 @@ +\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}