A LaTeX sty containing stuff I use on a regular basis.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
878 B

\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{Inserting pictures}
\pic[width=0.5\textwidth]{cat.jpg}{It is this easy}
\section{Lorem Ipsum}
\lipsum[1]
\end{document}