Verified Commit f1a6dbfc authored by Georg Dorndorf's avatar Georg Dorndorf 🤙

Begin implement #24

Currently it is only a proof of concept that fails miserably
Signed-off-by: Georg Dorndorf's avatarGeorg Dorndorf <georg.dorndorf@rwth-aachen.de>
parent 8798b13d
......@@ -67,6 +67,7 @@
\DeclareComplementaryOption{oneside}{twoside}
\DeclareBoolOption[true]{twocolumn}
\DeclareComplementaryOption{onecolumn}{twocolumn}
\DeclareBoolOption[false]{punchmark}
\DeclareStringOption[all]{hlines}
\ifxetex
\DeclareBoolOption[true]{unicodemath}
......@@ -447,6 +448,9 @@
\normalsize{\@author}\\
\hwa@hline@LTWO \normalsize
\end{centering}
\ifthenelse{\boolean{\hwa@punchmark}}{
\AddToShipoutPictureBG{\AtPageUpperLeft{
\put(\LenToUnit{1cm},\LenToUnit{-10cm}){\LARGE$\circ$}}}}{}
}
\newcommand{\hwa@problemno}{\arabic{problem}}
\newcommand{\hwa@subproblemno}{\alph{subproblem}}
......
......@@ -52,6 +52,8 @@
\usepackage{todonotes}
\usepackage[T1]{fontenc}
\usepackage{framed}
\usepackage{eso-pic}
\DeclareMathOperator{\GL}{GL}
\DeclareMathOperator{\id}{id}
\DeclareMathOperator{\Var}{Var}
......@@ -239,6 +241,12 @@
\DeclareBoolOption[true]{twocolumn}
\DeclareComplementaryOption{onecolumn}{twocolumn}
% \end{macrocode}
% \DescribeMacro{punchmark}
% Adds a mark for an hole puncher.
% Standard Layout has no marking.
% \begin{macrocode}
\DeclareBoolOption[false]{punchmark}
% \end{macrocode}
% \DescribeMacro{hlines=<1>}
% KeyValue-option. Takes the level of hlines. Available are
% \texttt{all},\texttt{decreased},\texttt{header}, \texttt{none}, with
......@@ -736,7 +744,6 @@
\newcommand{\qned}{\hfill\(\triangle\)}
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Stolen Goods}
% \label{ALLES_NUR_GEKLAUT_EO-EO}
% \begin{center}
......@@ -1036,6 +1043,9 @@
\normalsize{\@author}\\
\hwa@hline@LTWO \normalsize
\end{centering}
\ifthenelse{\boolean{\hwa@punchmark}}{
\AddToShipoutPictureBG{\AtPageUpperLeft{
\put(\LenToUnit{1cm},\LenToUnit{-10cm}){\LARGE$\circ$}}}}{}
}
% \end{macrocode}
% \end{macro}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment