summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/latex/schule.typ.leit.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/schule/latex/schule.typ.leit.code.tex')
-rw-r--r--macros/latex/contrib/schule/latex/schule.typ.leit.code.tex29
1 files changed, 18 insertions, 11 deletions
diff --git a/macros/latex/contrib/schule/latex/schule.typ.leit.code.tex b/macros/latex/contrib/schule/latex/schule.typ.leit.code.tex
index 8f0d331c99..8d850f906d 100644
--- a/macros/latex/contrib/schule/latex/schule.typ.leit.code.tex
+++ b/macros/latex/contrib/schule/latex/schule.typ.leit.code.tex
@@ -1,3 +1,5 @@
+\RequirePackage{standalone} %Nötig, da dieses Paket erst nach hyperref kommen muss
+
% allgemeine Voreinstellungen
% ****************************************************************
\pagestyle{scrheadings}
@@ -143,22 +145,27 @@ cycle;
\end{tikzpicture}
}
-\newmdenv[backgroundcolor=grey9,linewidth=0pt]{grey@Frame}
-
\makeatletter% siehe FAQ (aber wirklich nachsehen!)
\newcommand*{\headingpar}{\par\nobreak\@afterheading}
\makeatother% siehe FAQ
-\newenvironment{greyFrame}[2]%
-{\begin{grey@Frame}#1
- \raisebox{+0.9ex}{
- \begin{large}#2\end{large}
- }\vspace*{-0.2cm}\headingpar}%
-{\end{grey@Frame}}
-
\newenvironment{hinweisBox}%
-{\begin{greyFrame}{\hinweisBild{}}{Hinweis}}%
-{\end{greyFrame}}%
+{\tcolorbox[
+ colback = grey9,
+ colframe = grey9,
+ sharp corners,
+ coltitle = black,
+ flushleft title,
+ bottomtitle=0mm,
+ boxsep=0.5mm,
+ top=0.5mm,
+ bottom=1mm,
+ fonttitle=\large,
+ breakable,
+ title = \hinweisBild{} Hinweis%
+]}
+{\endtcolorbox}
+
%Monatsname für z.B. Titelblatt