From 4bbd670fc9ed82a3b6724d6e13822a5013f54a8b Mon Sep 17 00:00:00 2001 From: "Marcus J. Ertl" Date: Sat, 6 Jan 2018 03:56:26 +0100 Subject: [PATCH] moved usepackage into styles.tex --- backside.tex | 24 ++---------------------- main.tex | 23 ----------------------- styles.tex | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 45 deletions(-) diff --git a/backside.tex b/backside.tex index a55557f..490429b 100644 --- a/backside.tex +++ b/backside.tex @@ -1,27 +1,7 @@ -\documentclass[a4paper,twoside,12pt]{article} - -\usepackage{tabularx} -\usepackage[table]{xcolor} -\usepackage[left=60mm, right=15mm, top=20cm, bottom=2.5cm]{geometry} -\usepackage[ngerman]{babel} -\usepackage{fontspec} -\usepackage{scrlayer} -\usepackage{parskip} -\usepackage{graphicx} -\usepackage{wrapfig} -\usepackage{units} -\usepackage{caption} -\usepackage{amsmath} -\usepackage{sectsty} -\usepackage{emptypage} -\usepackage[colorlinks=true,linkcolor=black,citecolor=blackm,urlcolor=black]{hyperref} -\usepackage{subcaption} -\usepackage{hologo} -\usepackage[titles]{tocloft} -\usepackage{microtype} - \input{styles.tex} +\newgeometry{left=60mm, right=15mm, top=20cm, bottom=2.5cm} + \DeclareNewLayer[% align=tl, hoffset=15mm, diff --git a/main.tex b/main.tex index e1ac8c0..56fdcf2 100644 --- a/main.tex +++ b/main.tex @@ -1,26 +1,3 @@ -\documentclass[a4paper,twoside,12pt,ngerman]{article} - -\usepackage{tabularx} -\usepackage[table]{xcolor} -\usepackage[left=15mm, right=25mm, top=2.7cm, bottom=2.5cm]{geometry} -\usepackage{babel} -\usepackage{fontspec} -\usepackage{scrlayer} -\usepackage{parskip} -\usepackage{graphicx} -\usepackage{wrapfig} -\usepackage{units} -\usepackage{amsmath} -\usepackage{sectsty} -\usepackage{emptypage} -\usepackage[colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black]{hyperref} -\usepackage{caption} -\usepackage{subcaption} -\usepackage[activate=true,tracking=true]{microtype} -\usepackage[titles]{tocloft} -\usepackage[textsize=small,colorinlistoftodos]{todonotes} -\usepackage{biblatex} - % input all style definitions :-) \input{styles} diff --git a/styles.tex b/styles.tex index 631b508..6e8e94f 100644 --- a/styles.tex +++ b/styles.tex @@ -1,3 +1,27 @@ +\documentclass[a4paper,twoside,12pt,ngerman]{article} + +\usepackage{tabularx} +\usepackage[table]{xcolor} +\usepackage[left=15mm, right=25mm, top=2.7cm, bottom=2.5cm]{geometry} +\usepackage{babel} +\usepackage{fontspec} +\usepackage{scrlayer} +\usepackage{parskip} +\usepackage{graphicx} +\usepackage{wrapfig} +\usepackage{units} +\usepackage{amsmath} +\usepackage{sectsty} +\usepackage{emptypage} +\usepackage[colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black]{hyperref} +\usepackage{caption} +\usepackage{subcaption} +\usepackage[activate=true,tracking=true]{microtype} +\usepackage[titles]{tocloft} +\usepackage[textsize=small,colorinlistoftodos]{todonotes} +\usepackage{biblatex} +\usepackage{hologo} + % font settings \directlua{ fonts.handlers.otf.addfeature{ @@ -10,6 +34,7 @@ } } \setmainfont{Delicious} +\setmonofont{Monofur} %captions \captionsetup[figure]{labelformat=empty,justification=centerlast,font={normalsize,it}}