Initial Commit

This commit is contained in:
Alex Hirsch 2017-07-13 18:29:24 +02:00
commit 60b40bccd5
6 changed files with 86 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/latex.out
/handbook.pdf

13
Makefile Normal file
View file

@ -0,0 +1,13 @@
TEX = latexrun
SRC = $(wildcard content/*.tex)
.PHONY: all clean
all: handbook.pdf
clean:
$(TEX) --clean-all
$(RM) -r latex.out
handbook.pdf: handbook.tex $(SRC)
$(TEX) $<

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# Handbook of Truth
The recommended way of building this document depends on [latexrun](https://github.com/aclements/latexrun).

7
content/introduction.tex Normal file
View file

@ -0,0 +1,7 @@
\chapter{Introduction}
\label{cha:introduction}
\section{First Section}
\label{sec:first_section}
\lipsum

BIN
gfx/its_logo.pdf Normal file

Binary file not shown.

61
handbook.tex Normal file
View file

@ -0,0 +1,61 @@
\documentclass[a5paper,DIV=calc,parskip=half]{scrbook}
\title{Handbook of Truth}
\author{IT-Syndikat}
\date{\today}
% Fixes
\usepackage{scrhack}
% Title
\usepackage{titling}
\pretitle{\begin{center}\includegraphics{gfx/its_logo.pdf}\LARGE\\[5em]}
\posttitle{\end{center}}
% Fonts
\usepackage[T1]{fontenc}
\usepackage{fontawesome}
% Unicode Support
\usepackage[utf8]{inputenc}
% Graphics
\usepackage{graphicx}
% Color
\usepackage[svgnames]{xcolor}
\colorlet{linkcolor}{DarkBlue}
% Hyperlinks
\usepackage[pdfusetitle]{hyperref}
\hypersetup{colorlinks=true,
linkcolor=linkcolor,
citecolor=linkcolor,
urlcolor=linkcolor}
% References
\usepackage[capitalise,nameinlink,noabbrev]{cleveref}
% Source Code
\usepackage{listings}
\lstset{basicstyle=\footnotesize\ttfamily,
breaklines=true,
frame=tb,
numberstyle=\tiny,
showstringspaces=false,
xleftmargin=2em}
% Document Specific Packages
\usepackage{lipsum}
\begin{document}
\frontmatter
\maketitle
\tableofcontents
\mainmatter
\include{content/introduction}
\backmatter
\end{document}