Skip to content
Snippets Groups Projects
Commit 7684cb92 authored by Jan Wille's avatar Jan Wille
Browse files

make todos package use a wider page

parent c9055888
No related branches found
No related tags found
No related merge requests found
...@@ -104,15 +104,20 @@ ...@@ -104,15 +104,20 @@
% %
%<*article|report> %<*article|report>
% required for changing layout % required for changing layout
\PassOptionsToPackage{a4paper,vmargin=3cm,bindingoffset=1cm,textwidth=15.5cm}{geometry}
\if@todos \if@todos
\PassOptionsToPackage{left=1cm,right=5cm,top=3cm,bottom=3cm}{geometry} \PassOptionsToPackage{paperwidth=1.2\paperwidth,left=2cm}{geometry}
\else \else
\PassOptionsToPackage{left=3cm,right=2.5cm,top=3cm,bottom=3cm}{geometry} \PassOptionsToPackage{nomarginpar}{geometry}
\fi \fi
\RequirePackage{geometry} \RequirePackage{geometry}
% %
% language specific localisation % language specific localisation
\if@german\PassOptionsToPackage{ngerman}{babel}\else\PassOptionsToPackage{english}{babel}\fi \if@german
\PassOptionsToPackage{ngerman}{babel}
\else
\PassOptionsToPackage{english}{babel}
\fi
\RequirePackage{babel} \RequirePackage{babel}
% %
% required for header and footer % required for header and footer
...@@ -144,7 +149,6 @@ ...@@ -144,7 +149,6 @@
\if@todos \if@todos
\PassOptionsToPackage{svgnames}{xcolor} \PassOptionsToPackage{svgnames}{xcolor}
\PassOptionsToPackage{ \PassOptionsToPackage{
textwidth=4.5cm,
textsize=small, textsize=small,
figwidth=.6\textwidth figwidth=.6\textwidth
}{todonotes} }{todonotes}
......
...@@ -82,13 +82,18 @@ ...@@ -82,13 +82,18 @@
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage{amsmath} \RequirePackage{amsmath}
\if@german\RequirePackage{ziffer}\fi \if@german\RequirePackage{ziffer}\fi
\PassOptionsToPackage{a4paper,vmargin=3cm,bindingoffset=1cm,textwidth=15.5cm}{geometry}
\if@todos \if@todos
\PassOptionsToPackage{left=1cm,right=5cm,top=3cm,bottom=3cm}{geometry} \PassOptionsToPackage{paperwidth=1.2\paperwidth,left=2cm}{geometry}
\else \else
\PassOptionsToPackage{left=3cm,right=2.5cm,top=3cm,bottom=3cm}{geometry} \PassOptionsToPackage{nomarginpar}{geometry}
\fi \fi
\RequirePackage{geometry} \RequirePackage{geometry}
\if@german\PassOptionsToPackage{ngerman}{babel}\else\PassOptionsToPackage{english}{babel}\fi \if@german
\PassOptionsToPackage{ngerman}{babel}
\else
\PassOptionsToPackage{english}{babel}
\fi
\RequirePackage{babel} \RequirePackage{babel}
\PassOptionsToPackage{headsepline}{scrlayer-scrpage} \PassOptionsToPackage{headsepline}{scrlayer-scrpage}
\RequirePackage{scrlayer-scrpage} \RequirePackage{scrlayer-scrpage}
...@@ -105,7 +110,6 @@ ...@@ -105,7 +110,6 @@
\if@todos \if@todos
\PassOptionsToPackage{svgnames}{xcolor} \PassOptionsToPackage{svgnames}{xcolor}
\PassOptionsToPackage{ \PassOptionsToPackage{
textwidth=4.5cm,
textsize=small, textsize=small,
figwidth=.6\textwidth figwidth=.6\textwidth
}{todonotes} }{todonotes}
......
...@@ -82,13 +82,18 @@ ...@@ -82,13 +82,18 @@
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage{amsmath} \RequirePackage{amsmath}
\if@german\RequirePackage{ziffer}\fi \if@german\RequirePackage{ziffer}\fi
\PassOptionsToPackage{a4paper,vmargin=3cm,bindingoffset=1cm,textwidth=15.5cm}{geometry}
\if@todos \if@todos
\PassOptionsToPackage{left=1cm,right=5cm,top=3cm,bottom=3cm}{geometry} \PassOptionsToPackage{paperwidth=1.2\paperwidth,left=2cm}{geometry}
\else \else
\PassOptionsToPackage{left=3cm,right=2.5cm,top=3cm,bottom=3cm}{geometry} \PassOptionsToPackage{nomarginpar}{geometry}
\fi \fi
\RequirePackage{geometry} \RequirePackage{geometry}
\if@german\PassOptionsToPackage{ngerman}{babel}\else\PassOptionsToPackage{english}{babel}\fi \if@german
\PassOptionsToPackage{ngerman}{babel}
\else
\PassOptionsToPackage{english}{babel}
\fi
\RequirePackage{babel} \RequirePackage{babel}
\PassOptionsToPackage{headsepline}{scrlayer-scrpage} \PassOptionsToPackage{headsepline}{scrlayer-scrpage}
\RequirePackage{scrlayer-scrpage} \RequirePackage{scrlayer-scrpage}
...@@ -105,7 +110,6 @@ ...@@ -105,7 +110,6 @@
\if@todos \if@todos
\PassOptionsToPackage{svgnames}{xcolor} \PassOptionsToPackage{svgnames}{xcolor}
\PassOptionsToPackage{ \PassOptionsToPackage{
textwidth=4.5cm,
textsize=small, textsize=small,
figwidth=.6\textwidth figwidth=.6\textwidth
}{todonotes} }{todonotes}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment