From bb67f4077c816b75678ca9846aeea2d6ee14fa5c Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 21 Aug 2022 18:51:23 +0200 Subject: Add docs --- docs/conf.tex | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 docs/conf.tex (limited to 'docs/conf.tex') diff --git a/docs/conf.tex b/docs/conf.tex new file mode 100644 index 0000000..c2c8521 --- /dev/null +++ b/docs/conf.tex @@ -0,0 +1,49 @@ +\documentclass[11pt]{report} +\usepackage{titlesec} +\usepackage{charter} +\usepackage{url} +\usepackage{listings} +\usepackage{color} +\definecolor{dkgreen}{rgb}{0,0.6,0} +\definecolor{gray}{rgb}{0.5,0.5,0.5} +\definecolor{mauve}{rgb}{0.58,0,0.82} + +\lstset{frame=tb, + language=Java, + aboveskip=3mm, + belowskip=3mm, + showstringspaces=false, + columns=flexible, + basicstyle={\small\ttfamily}, + numbers=none, + numberstyle=\tiny\color{gray}, + keywordstyle=\color{blue}, + commentstyle=\color{dkgreen}, + stringstyle=\color{mauve}, + breaklines=true, + breakatwhitespace=true, + tabsize=3 +} +\usepackage +[ + a4paper, + left=2cm, + right=2cm, + top=3cm, + bottom=4cm, +] +{geometry} + +\titleformat{\chapter}[display] + {\Huge\bfseries} + {} + {0pt} + {\thechapter.\ } + +\titleformat{name=\chapter,numberless}[display] + {\Huge\bfseries} + {} + {0pt} + {} + +\pagenumbering{arabic} -- cgit v1.2.3-18-g5258