Letzte commits

This commit is contained in:
André Hilbig 2019-07-23 22:57:06 +02:00
parent 09a5786adb
commit cfbef13d4b

View File

@ -33,6 +33,8 @@
\DeclareOption{onelecture}{\onelecturetrue} \DeclareOption{onelecture}{\onelecturetrue}
\newif\ifgitinfo \newif\ifgitinfo
\DeclareOption{gitinfo}{\gitinfotrue} \DeclareOption{gitinfo}{\gitinfotrue}
\newif\ifgitfileinfo
\DeclareOption{gitfileinfo}{\gitfileinfotrue}
\ProcessOptions \ProcessOptions
%\RequirePackage{caption} %\RequirePackage{caption}
@ -40,6 +42,10 @@
%\RequirePackage[draft]{ddi-common} %\RequirePackage[draft]{ddi-common}
%\RequirePackage[blackandwhite]{ddi-common} %\RequirePackage[blackandwhite]{ddi-common}
%\RequirePackage[cd]{ddi-common} %\RequirePackage[cd]{ddi-common}
% seit 2018-02-11 gab es einen colorlet error daher nun:
\RequirePackage[dvipsnames]{xcolor}
% ---
\RequirePackage{ahilbig-common} \RequirePackage{ahilbig-common}
\RequirePackage{ahilbig-semester} \RequirePackage{ahilbig-semester}
@ -62,6 +68,7 @@
\RequirePackage{subcaption} \RequirePackage{subcaption}
\RequirePackage{varsfromjobname} % Element[e] aus \jobname extrahieren \RequirePackage{varsfromjobname} % Element[e] aus \jobname extrahieren
%\RequirePackage{qrcode} % Wird in maintitle genutzt - auskommentiert %\RequirePackage{qrcode} % Wird in maintitle genutzt - auskommentiert
@ -88,6 +95,15 @@
\providecommand\versionsinfo{} \providecommand\versionsinfo{}
\fi \fi
\ifgitfileinfo
\RequirePackage{gitfile-info}
\providecommand\versionsinfo{%
\gfiInfo
}
\else
\providecommand\versionsinfo{}
\fi
\ifonelecture \ifonelecture
\RequirePackage{chngcntr} \RequirePackage{chngcntr}
@ -1665,7 +1681,7 @@
\newcount\ddimemoryline \newcount\ddimemoryline
\newenvironment{object}[1] \newenvironment{scriptobject}[1]
{ {
\def\objectname{#1} \def\objectname{#1}
\ddimemoryline=0\relax \ddimemoryline=0\relax
@ -1689,7 +1705,7 @@
\endscope \endscope
} }
\def\attribute#1 #2=#3;{% \def\scriptattribute#1 #2=#3;{%
\node [@kind,minimum height=4mm,text height=1mm,text depth=0pt,anchor=base west] (\objectname-#2) at (0,-1*\ddimemoryline) {\scantokens{\javacode|#3|}}; \node [@kind,minimum height=4mm,text height=1mm,text depth=0pt,anchor=base west] (\objectname-#2) at (0,-1*\ddimemoryline) {\scantokens{\javacode|#3|}};
\node [text height=1mm,text depth=0pt,minimum height=4mm,anchor=base east] at (0,-1*\ddimemoryline) {\javacode|#1 #2|}; \node [text height=1mm,text depth=0pt,minimum height=4mm,anchor=base east] at (0,-1*\ddimemoryline) {\javacode|#1 #2|};
\advance\ddimemoryline by 1\relax \advance\ddimemoryline by 1\relax