summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf')
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf102
1 files changed, 55 insertions, 47 deletions
diff --git a/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf b/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf
index 77ad630c594..ec948c974a0 100644
--- a/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf
+++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf
@@ -9,7 +9,7 @@
[\mdfmaindate\ %
\mdversion: \mdframedIpackagename]
\def\mdf@tikz@settings{%
- \mdf@testdraftmode%
+%% \mdf@testdraftmode%
\tikzset{mdfbox/.style={anchor=south west,%
inner sep=0pt,%
outer sep=0pt,%
@@ -74,50 +74,50 @@
\path[mdfinnerline,mdfcorners]#1;%
\end{scope}%
\path[mdfmiddleline,mdfcorners]#1;}%
-\newrobustcmd*\mdf@testdraftmode{%
- \ifbool{mdf@draft}%
- {%
- \renewrobustcmd*\mdf@tikzbox@tfl[1]{%three or four borders
- \path(0,0)rectangle(\mdfboundingboxwidth,\mdfboundingboxheight);%
- \begin{scope}[mdfcorners]%
- \clip[preaction=mdfouterline]%
- [postaction=mdfbackground]%
- [postaction=mdfinnerline]##1;%
- \end{scope}%
- \path[mdfmiddleline,mdfcorners]##1;
- }%
- \renewrobustcmd*\mdf@tikzbox@otl[2]{%one or two borders
- \path(0,0)rectangle(\mdfboundingboxwidth,\mdfboundingboxheight);%
- \begin{scope}
- \path[mdfouterline,mdfcorners]##1;%
- \clip[postaction=mdfbackground]##2;%
- \path[mdfinnerline,mdfcorners]##1;%
- \end{scope}%
- \path[mdfmiddleline,mdfcorners]##1;%
- }%
- }{%
- \ifdimgreater{\overfullrule}{0pt}{%
- \renewrobustcmd*\mdf@tikzbox@tfl[1]{%three or four borders
- \path(0,0)rectangle(\mdfboundingboxwidth,\mdfboundingboxheight);%
- \begin{scope}[mdfcorners]%
- \clip[preaction=mdfouterline]%
- [postaction=mdfbackground]%
- [postaction=mdfinnerline]##1;%
- \end{scope}%
- \path[mdfmiddleline,mdfcorners]##1;
- }%
- \renewrobustcmd*\mdf@tikzbox@otl[2]{%one or two borders
- \path(0,0)rectangle(\mdfboundingboxwidth,\mdfboundingboxheight);%
- \begin{scope}
- \path[mdfouterline,mdfcorners]##1;%
- \clip[postaction=mdfbackground]##2;%
- \path[mdfinnerline,mdfcorners]##1;%
- \end{scope}%
- \path[mdfmiddleline,mdfcorners]##1;%
- }%
- }{}%
- }%
-}
+%%\newrobustcmd*\mdf@testdraftmode{%
+%% \ifbool{mdf@draft}%
+%% {%
+%% \renewrobustcmd*\mdf@tikzbox@tfl[1]{%three or four borders
+%% \path(0,0)rectangle(\mdfboundingboxwidth,\mdfboundingboxheight);%
+%% \begin{scope}[mdfcorners]%
+%% \clip[preaction=mdfouterline]%
+%% [postaction=mdfbackground]%
+%% [postaction=mdfinnerline]##1;%
+%% \end{scope}%
+%% \path[mdfmiddleline,mdfcorners]##1;
+%% }%
+%% \renewrobustcmd*\mdf@tikzbox@otl[2]{%one or two borders
+%% \path(0,0)rectangle(\mdfboundingboxwidth,\mdfboundingboxheight);%
+%% \begin{scope}
+%% \path[mdfouterline,mdfcorners]##1;%
+%% \clip[postaction=mdfbackground]##2;%
+%% \path[mdfinnerline,mdfcorners]##1;%
+%% \end{scope}%
+%% \path[mdfmiddleline,mdfcorners]##1;%
+%% }%
+%% }{%
+%% \ifdimgreater{\overfullrule}{0pt}{%
+%% \renewrobustcmd*\mdf@tikzbox@tfl[1]{%three or four borders
+%% \path(0,0)rectangle(\mdfboundingboxwidth,\mdfboundingboxheight);%
+%% \begin{scope}[mdfcorners]%
+%% \clip[preaction=mdfouterline]%
+%% [postaction=mdfbackground]%
+%% [postaction=mdfinnerline]##1;%
+%% \end{scope}%
+%% \path[mdfmiddleline,mdfcorners]##1;
+%% }%
+%% \renewrobustcmd*\mdf@tikzbox@otl[2]{%one or two borders
+%% \path(0,0)rectangle(\mdfboundingboxwidth,\mdfboundingboxheight);%
+%% \begin{scope}
+%% \path[mdfouterline,mdfcorners]##1;%
+%% \clip[postaction=mdfbackground]##2;%
+%% \path[mdfinnerline,mdfcorners]##1;%
+%% \end{scope}%
+%% \path[mdfmiddleline,mdfcorners]##1;%
+%% }%
+%% }{}%
+%% }%
+%%}
\tikzset{mdfframetitlerule/.style={%
draw=none,
fill=\mdf@frametitlerulecolor,
@@ -353,6 +353,7 @@
\coordinate(P)at(\mdf@Px,\mdf@Py);%
\ifbool{mdf@shadow}
{\path[mdfshadow,mdfcorners](O) rectangle (P);}{}%
+ \begin{scope}
\begin{scope}[use as bounding box]
\mdf@test@ltrb{\mdf@tikzbox@tfl{(O)--(O|-P)--(P)--(P|-O)--cycle}}{}%
\mdf@test@ltb{\mdf@tikzbox@tfl{(P|-O)--(O)--(O|-P)--(P)}}{}%
@@ -392,6 +393,7 @@
\mdf@test@noline{\path[mdfbackground,mdfcorners](O)rectangle(P);}{}%
%Frametitlebackground
\drawbrackgroundframetitle@single
+ \end{scope}
\node[mdfbox]at(\mdf@Ax,\mdf@Ay){\box\mdf@splitbox@one};%output
\end{scope}
%HIER KOMMT EIN WEITERES MAKRO
@@ -472,8 +474,8 @@
-0.5\mdf@middlelinewidth@length%
+\mdf@frametitlebelowskip@length
+\mdf@splitbottomskip@length
- +\mdf@splittopskip@length
- +\dp\strutbox%
+%% +\mdf@splittopskip@length
+ -\dp\strutbox%
}%
}%
}%
@@ -577,6 +579,7 @@
\coordinate(P)at(\mdf@Px,\mdf@Py);%
\ifbool{mdf@shadow}
{\path[mdfshadow] (O) -- (O|-P) to[mdfcorners] (P) -- (P|-O) -- (O);}{}%
+ \begin{scope}
\begin{scope}[use as bounding box]
%%%%%%%%%%%%
\ifbool{mdf@everyline}{%
@@ -650,6 +653,7 @@
}
%%%%%%%%%%%%
\drawbrackgroundframetitle@first
+ \end{scope}
\node[mdfbox]at(\mdf@Ax,\mdf@Ay){\box\mdf@splitbox@two};%
\end{scope}
%HIER KOMMT EIN WEITERES MAKRO
@@ -810,6 +814,7 @@
\coordinate(P)at(\mdf@Px,\mdf@Py);%
\ifbool{mdf@shadow}
{\path[mdfshadow](O) rectangle (P);}{}%
+ \begin{scope}
\begin{scope}[use as bounding box]
%%%%%%%%%%%%
\ifbool{mdf@everyline}{%
@@ -861,6 +866,7 @@
}
%%%%%%%%
\drawbrackgroundframetitle@middle
+ \end{scope}
\node[mdfbox]at(\mdf@Ax,\mdf@Ay){\box\mdf@splitbox@two};%
\end{scope}
\mdf@middleextra
@@ -1006,6 +1012,7 @@
\path[mdfshadow] (O|-P) to[mdfcorners] (O)
to[mdfcorners] (P|-O) -- (P) -- (O|-P);%
}{}%
+ \begin{scope}
\begin{scope}[use as bounding box]
%%%%%%%%%%%%
\ifbool{mdf@everyline}{%
@@ -1079,6 +1086,7 @@
{}%
}%
\drawbrackgroundframetitle@second
+ \end{scope}
\node[mdfbox] at (\mdf@Ax,\mdf@Ay){\box\mdf@splitbox@one};%
\end{scope}
\mdf@secondextra