From 2eded139cfc0f7eec6274dcb3a22186ad8367683 Mon Sep 17 00:00:00 2001 From: bjornregnell Date: Sun, 25 Aug 2019 20:00:57 +0200 Subject: [PATCH] try to fix broken build refactor slide in w10 --- slides/body/lect-w10-extends.tex | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/slides/body/lect-w10-extends.tex b/slides/body/lect-w10-extends.tex index 560985418..feff6ad31 100644 --- a/slides/body/lect-w10-extends.tex +++ b/slides/body/lect-w10-extends.tex @@ -497,15 +497,13 @@ \fi -\ifkompendium \begin{Slide}{En final medlem kan ej överskuggas} +\ifkompendium \vspace{-0.5em}\scalainputlisting[numbers=left,numberstyle=,basicstyle=\fontsize{11}{13}\ttfamily\selectfont]{../compendium/examples/workspace/w07-inherit/src/vego4.scala} -\end{Slide} \else -\begin{Slide}{En final medlem kan ej överskuggas} - \vspace{-0.5em}\scalainputlisting[numbers=left,numberstyle=,basicstyle=\fontsize{6}{7.3}\ttfamily\selectfont]{../compendium/examples/workspace/w07-inherit/src/vego4.scala} - \end{Slide} +\vspace{-0.5em}\scalainputlisting[numbers=left,numberstyle=,basicstyle=\fontsize{6}{7.3}\ttfamily\selectfont]{../compendium/examples/workspace/w07-inherit/src/vego4.scala} \fi +\end{Slide} \begin{Slide}{Protected ger synlighet begränsad till subtyper}