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# *.ods#
*.aux *.aux
*.bbl *.bbl
*.bcf
*.lot
*.toc
*.upa
*.run.xml
*.blg *.blg
*.dvi *.dvi
*.glo *.glo

View File

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