Bunch of layout changes

This commit is contained in:
jaseg 2024-07-31 13:43:09 +02:00
parent 713d515801
commit f5ff0de576
3 changed files with 99 additions and 10 deletions

Binary file not shown.

View file

@ -1,7 +1,7 @@
\documentclass[12pt,a4paper,notitlepage,twoside]{report}
\documentclass[11pt,a4paper,notitlepage,twoside]{report}
\usepackage[ngerman, english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, top=2cm, bottom=3.5cm, inner=3.5cm, outer=5cm]{geometry}
\usepackage[a4paper, top=3cm, bottom=3.5cm, inner=3.5cm, outer=5cm, marginpar=4cm]{geometry}
% Matti remarkable tablet special size
%\usepackage[paperwidth=15cm, paperheight=244mm, top=1cm, bottom=1cm, left=5mm, right=5mm]{geometry}
\usepackage[T1]{fontenc}
@ -36,12 +36,15 @@
\usepackage{extdash}
\usepackage{amsthm}
\usepackage{tabularx}
%\usepackage{showframe} Useful for page layout debugging
\usepackage{multirow}
\usepackage{multicol}
\usepackage{tikz}
\usepackage{mathtools}
\usepackage{setspace}
\usepackage{titlesec}
\usepackage{fancybox}
\usepackage{fancyhdr}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\DeclarePairedDelimiter{\paren}{(}{)}
@ -81,9 +84,45 @@
\newcommand{\degree}{\ensuremath{^\circ}}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\setlength{\marginparwidth}{3cm}
\definecolor{todoboxcolor}{RGB}{251 224 252}
\newcommand{\todo}[1]{\marginpar{\setlength{\fboxsep}{4mm}\colorbox{todoboxcolor}{\parbox{\marginparwidth}{\raggedright\textsf{\small\textbf{To do}\\\footnotesize#1}}}}}
\pagestyle{fancy}
\fancyhead[C]{}
\fancyhead[ER]{\footnotesize\leftmark}
\fancyhead[OL]{\footnotesize\rightmark}
\fancyhead[EL,OR]{\thepage}
\fancyfoot[LCR]{}
\fancypagestyle{plain}{%
\fancyhf{}%
\renewcommand{\headrulewidth}{0pt}%
\renewcommand{\footrulewidth}{0pt}%
}
\raggedbottom
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\addtolength{\headwidth}{\marginparsep}
\addtolength{\headwidth}{\marginparwidth}
\addtolength{\headwidth}{-1cm}
\newcommand{\todo}[1]{
\marginpar{
\setlength{\fboxsep}{2mm}
\shadowbox{
\parbox{3cm}{
\raggedright
\textsf{
\small\textbf{To do}\\
\footnotesize#1
}
}
}
}
}
\begin{document}
\dominitoc