From ed22ed83e17464c2042e5f4e88d8335d36eb1294 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 22 Jul 2017 16:33:00 +0200 Subject: [PATCH] Fix margins so that the content does not "jump" left/right while reading on a screen --- CHANGELOG.md | 1 + ausarbeitung.tex | 10 ++-------- preambel/packages_and_options.tex | 10 ++++++++-- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 071ca004..d9e4aa46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed - made font size default again (now 11pt instead of 12pt) to look better +- margins are set in a way that the page content does not "jump" when reading on screen. ## 1.0.0 - 2017-06-16 diff --git a/ausarbeitung.tex b/ausarbeitung.tex index a5a43b51..367ce6bc 100644 --- a/ausarbeitung.tex +++ b/ausarbeitung.tex @@ -48,16 +48,10 @@ \documentclass[ % fontsize=11pt is the standard paper=a4, - twoside, % fuer die Betrachtung am Schirm ungeschickt - BCOR=3mm, % Bindekorrektur - DIV=13, % je höher der DIV-Wert, desto mehr geht auf eine Seite. Gute werde sind zwischen DIV=12 und DIV=15 - headinclude=true, - footinclude=false, -% ENDE: Optionen für typearea -% titlepage, + twoside, % we are optimizing for both screen and two-side printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package) bibliography=totoc, % idxtotoc, %Index ins Inhaltsverzeichnis -% liststotoc, %List of X ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert +% liststotoc, %List of X ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert headsepline, cleardoublepage=empty, parskip=half, diff --git a/preambel/packages_and_options.tex b/preambel/packages_and_options.tex index 063fe7cf..7841b4e9 100644 --- a/preambel/packages_and_options.tex +++ b/preambel/packages_and_options.tex @@ -792,9 +792,15 @@ % %Source: http://www.howtotex.com/tips-tricks/change-margins-of-a-single-page/ % -%Normally, this should not be used as the typearea package calculates the margins perfectly +%Normally, geometry should not be used as the typearea package calculates the margins perfectly for printing +%However, we want better screen-readable documents where the content does not "jump" +%Thus, we fix the margins left and right to the same value \usepackage[ - pass %just load the package and do not destory the work of typearea + left=3cm,right=3cm,top=2.5cm,bottom=2.5cm, + headsep=18pt, + footskip=30pt, + includehead, + includefoot ]{geometry} %%%