mirror of
https://github.com/fsr/nopanic
synced 2025-04-27 10:08:26 +02:00
New Layout (involving change to scrreprt), new fonts, new colors, new cover, new proper sections.
All around awesomeness.
This commit is contained in:
parent
392f687f11
commit
e1a82ff645
11 changed files with 90 additions and 75 deletions
34
nopanic.tex
34
nopanic.tex
|
@ -1,7 +1,7 @@
|
|||
\documentclass[a4paper,14pt,oneside,draft]{scrbook} %oneside löst das leere-seiten-problem
|
||||
\usepackage[margin=0.3in]{geometry} %TODO: killt Seitenzahlen, unten muss Platz bleiben
|
||||
\usepackage[ngerman]{babel}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\documentclass[a4paper,14pt,twoside
|
||||
%,draft
|
||||
]{scrreprt}
|
||||
|
||||
\usepackage[parfill]{parskip}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{fancyhdr}
|
||||
|
@ -10,13 +10,25 @@
|
|||
\usepackage{hyperref}
|
||||
\usepackage{wrapfig}
|
||||
|
||||
%Seitenzahlen unten sind cooler, außerdem sind die Header nutzlos
|
||||
\pagestyle{fancy}
|
||||
\lhead{}
|
||||
\cfoot{\thepage}
|
||||
\usepackage{fontspec}
|
||||
\usepackage{polyglossia}
|
||||
\setmainlanguage{german}
|
||||
\newcommand{\glqq}{„}
|
||||
\newcommand{\grqq}{“}
|
||||
|
||||
%Headerline in *(scr)book* entfernen
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\definecolor{ifsrgreen}{rgb}{0.69, 0.88, 0.11} % 177, 225, 28
|
||||
\definecolor{ifsrgray}{rgb}{0.6, 0.6, 0.6} % 153, 153, 153
|
||||
|
||||
\setmainfont{PT Sans}
|
||||
\setkomafont{chapter}{\color{ifsrgreen}\fontspec[BoldFont={* Bold}]{Exo}\huge}
|
||||
\setkomafont{chapterentry}{\normalfont\bfseries}
|
||||
\setkomafont{minisec}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}\large}
|
||||
\setkomafont{paragraph}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Exo}}
|
||||
\setkomafont{pagenumber}{\color{ifsrgray}\fontspec{Roboto}}
|
||||
|
||||
\sloppy % forces "ugly" line breaks
|
||||
|
||||
\pagestyle{plain}
|
||||
|
||||
%Das Coverbild, oh gott o.O Aber es funktioniert
|
||||
\newcommand\CoverPic{%
|
||||
|
@ -25,7 +37,7 @@
|
|||
\vfill
|
||||
\centering
|
||||
\includegraphics[width=\paperwidth,height=\paperheight,%
|
||||
keepaspectratio]{img/cover_old.png}%
|
||||
keepaspectratio]{img/cover_2014}%
|
||||
\vfill
|
||||
}}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue