learning targets im Skript für lange listen durch optionales Argument angepasst

This commit is contained in:
André Hilbig 2015-03-31 16:36:15 +02:00
parent d573633b64
commit 5c6a8d52c7
2 changed files with 27 additions and 6 deletions

5
.gitignore vendored
View File

@ -3,6 +3,11 @@
*.ods#
*.aux
*.bbl
*.bcf
*.lot
*.toc
*.upa
*.run.xml
*.blg
*.dvi
*.glo

View File

@ -320,14 +320,20 @@
\let\l@chapterstar\l@subsection
\def\toclevel@chapterstar{1}
\renewcommand*\l@subsubsection[2]{}
\newenvironment{learning targets}
\NewDocumentEnvironment{learning targets}{o}
{
\begin{frame}
\ifodd\c@page%
\else%
\hskip-4.75cm
\fi
\noindent\begin{minipage}[t]{8cm}
\noindent
\IfNoValueTF{#1}{
\begin{minipage}[t]{8cm}
}{
\begin{minipage}[t]{16cm}
\begin{multicols}{2}
}
\section*{\textcolor{structure.fg}{\translate{Vortrag -- Kompetenzen}}}
\medskip
\begin{enumerate}
@ -335,14 +341,24 @@
}
{
\end{enumerate}
\end{minipage}\qquad\textcolor{gray}{\vrule width.4pt}\qquad
\rlap{
\IfNoValueTF{#1}{
\end{minipage}
}{}
\qquad\textcolor{gray}{\vrule width.4pt}\qquad
%\rlap{
\IfNoValueTF{#1}{
\begin{minipage}[t]{8cm}
}{}
\section*{\textcolor{structure.fg}{\translate{Inhalte dieses Vortrags}}}
\raggedright
%\minitoc
\the\microtoc%
\end{minipage}}
\IfNoValueTF{#1}{
\end{minipage}
}{
\end{multicols}
\end{minipage}
}
\vskip2em
\refstepcounter{framenumber}%
\end{frame}