commit 60b40bccd5b3f8a8ff31e0cf78fe503ab1debb93 Author: Alex Hirsch Date: Thu Jul 13 18:29:24 2017 +0200 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..38f8dc9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/latex.out +/handbook.pdf diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ee653b3 --- /dev/null +++ b/Makefile @@ -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) $< diff --git a/README.md b/README.md new file mode 100644 index 0000000..ee95787 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Handbook of Truth + +The recommended way of building this document depends on [latexrun](https://github.com/aclements/latexrun). diff --git a/content/introduction.tex b/content/introduction.tex new file mode 100644 index 0000000..c9aaccd --- /dev/null +++ b/content/introduction.tex @@ -0,0 +1,7 @@ +\chapter{Introduction} +\label{cha:introduction} + +\section{First Section} +\label{sec:first_section} + +\lipsum diff --git a/gfx/its_logo.pdf b/gfx/its_logo.pdf new file mode 100644 index 0000000..9153e66 Binary files /dev/null and b/gfx/its_logo.pdf differ diff --git a/handbook.tex b/handbook.tex new file mode 100644 index 0000000..44ba49a --- /dev/null +++ b/handbook.tex @@ -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}