diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-08-21 18:51:23 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-08-21 18:51:23 +0200 |
commit | bb67f4077c816b75678ca9846aeea2d6ee14fa5c (patch) | |
tree | 70d5273753c2943b8ba9502aa814551d8e88829d /docs/conf.tex | |
parent | 451d1db821b8d445f1bb6f1f3ad6de20f19eb85d (diff) |
Add docs
Diffstat (limited to 'docs/conf.tex')
-rw-r--r-- | docs/conf.tex | 49 |
1 files changed, 49 insertions, 0 deletions
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} |