Skip to content

Commit

Permalink
Fix margins so that the content does not "jump" left/right while read…
Browse files Browse the repository at this point in the history
…ing on a screen
  • Loading branch information
koppor committed Jul 22, 2017
1 parent b2d69cd commit ed22ed8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 2 additions & 8 deletions ausarbeitung.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 8 additions & 2 deletions preambel/packages_and_options.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
%%%

Expand Down

0 comments on commit ed22ed8

Please sign in to comment.