From 0e338816889e2513648d8c3e323c05f227e2542c Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Thu, 16 Feb 2017 09:59:28 +0000 Subject: [PATCH] Add note in the title if sheets contain solutions. --- lh-lecture/lh-exercise.cls | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lh-lecture/lh-exercise.cls b/lh-lecture/lh-exercise.cls index 95d6ffc..0078dbf 100644 --- a/lh-lecture/lh-exercise.cls +++ b/lh-lecture/lh-exercise.cls @@ -76,8 +76,10 @@ \draw (-0.5\paperwidth+15,0.5\paperheight-115) node [anchor=base west] {\lhcomLogoLight[width=.25\paperwidth]}; \draw (0,0.5\paperheight-30) node {\textcolor{lhBlack}{\huge\bfseries\lh@lecture}}; \draw (0,0.5\paperheight-53) node - {\textcolor{lhBlack}{\ifx\lh@sheetnumber\@emtpy\else Home Work - Sheet \fi\lh@sheetnumber}}; + {\textcolor{lhBlack}{Home Work Sheet + \ifx\lh@sheetnumber\@emtpy\else\fi\lh@sheetnumber + \ifthenelse{\boolean{lh@lecture@answers}}{ (with Solutions)}{} + }}; \draw (0,0.5\paperheight-70) node {\textcolor{lhBlack}{\Large\bfseries\lh@topic}}; \draw (0.5\paperwidth-15,0.5\paperheight-115) node [anchor=base east] {\begin{minipage}[b]{.6\linewidth}