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.mdf84
1 files changed, 66 insertions, 18 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 9edb1aab92a..ea3832e27fb 100644
--- a/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf
+++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf
@@ -8,14 +8,14 @@
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
-%%$Id: md-frame-1.mdf 201 2011-10-04 18:57:50Z marco $
-%%$Rev: 201 $
+%%$Id: md-frame-1.mdf 223 2011-11-13 18:10:49Z marco $
+%%$Rev: 223 $
%%$Author: marco $
-%%$Date: 2011-10-04 20:57:50 +0200 (Di, 04. Okt 2011) $
+%%$Date: 2011-11-13 19:10:49 +0100 (So, 13. Nov 2011) $
\def\mdframedIpackagename{md-frame-1}
\def\md@frameIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
-\ProvidesFile{md-frame-1.mdf}[\md@frameIdate@svn$Id: md-frame-1.mdf 201 2011-10-04 18:57:50Z marco $ \mdversion: \mdframedIpackagename]
+\ProvidesFile{md-frame-1.mdf}[\md@frameIdate@svn$Id: md-frame-1.mdf 223 2011-11-13 18:10:49Z marco $ \mdversion: \mdframedIpackagename]
%%%% _____t_____
%%%% | |
%%%% | |
@@ -66,7 +66,7 @@
%Allgemeine Einstellungen fuer tikz
\def\md@tikz@settings{%
%
- \tikzset{mdfbox/.style={anchor=south west,inner sep=0pt,outer sep=0pt}}% anchor der Ausgabebox ist unten links
+ \tikzset{mdfbox/.style={anchor=south west,inner sep=0pt,outer sep=0pt,\mdf@fontcolor,}}% anchor der Ausgabebox ist unten links
\tikzset{mdfcorners/.style={rounded corners=\mdf@roundcorner@length}}%
\tikzset{mdfbackground/.style={fill=\mdf@backgroundcolor,draw=\mdf@backgroundcolor}}%
%
@@ -92,6 +92,8 @@
}{}%
}%
%
+
+
% Befehle fuer Ausgabe von Rahmen und Hintergrund
\newrobustcmd*\md@tikzbox@tfl[1]{%three or four borders
\clip(0,0)rectangle(\mdfboundingboxwidth,\mdfboundingboxheight);%
@@ -114,7 +116,10 @@
% A ist der Punkt fuer den anchor (d.h. die untere linke Ecke) der Ausgabebox
%
\def\md@putbox@single{%
- \leftline{\null\hspace*{\mdf@leftmargin@length}%%
+ \ifvoid\@tempboxa
+ \else%
+ \mdf@makebox[\linewidth]{%
+ \mdf@makeboxalign@left%
\md@tikz@settings%
%
\setlength\mdfboundingboxwidth{\wd\@tempboxa}%
@@ -129,7 +134,7 @@
\advance\mdfboundingboxwidth by \mdf@middlelinewidth@length\relax%
\advance\mdfboundingboxwidth by \mdf@outerlinewidth@length\relax}{}%
%
- \setlength\mdfboundingboxheight{\ht\@tempboxa+\dp\@tempboxa}%
+ \setlength\mdfboundingboxheight{\dimexpr\ht\@tempboxa+\dp\@tempboxa\relax}%
\advance\mdfboundingboxheight by \mdf@innertopmargin@length\relax%
\advance\mdfboundingboxheight by \mdf@innerbottommargin@length\relax%
\ifbool{mdf@topline}{%
@@ -140,8 +145,10 @@
\advance\mdfboundingboxheight by \mdf@innerlinewidth@length\relax%
\advance\mdfboundingboxheight by \mdf@middlelinewidth@length\relax%
\advance\mdfboundingboxheight by \mdf@outerlinewidth@length\relax}{}%
-%
+ \mdf@makebox[\mdfboundingboxwidth]{%
+ \null%
\begin{tikzpicture}%
+ \begin{scope}
\pgfmathsetlengthmacro\md@Ax{+\mdf@innerleftmargin@length}%
\pgfmathsetlengthmacro\md@Ay{+\mdf@innerbottommargin@length}%
\pgfmathsetlengthmacro\md@Ox{+0pt}%
@@ -184,12 +191,21 @@
\md@test@noline{\path[mdfbackground,mdfcorners](O)rectangle(P);}{}%
%
\node[mdfbox]at(\md@Ax,\md@Ay){\box\@tempboxa};% Ausgabebox einfuegen
+ \end{scope}
+ %HIER KOMMT EIN WEITERES MAKRO
+ \mdfcreateextratikz;
\end{tikzpicture}%
+ }%
+ \mdf@makeboxalign@right%
}%
+ \fi
}%
\def\md@putbox@first{%
- \leftline{\null\hspace*{\mdf@leftmargin@length}%%
+ \ifvoid\@tempboxa
+ \else%
+ \mdf@makebox[\linewidth]{%
+ \mdf@makeboxalign@left%
\md@tikz@settings%
\setlength\mdfboundingboxwidth{\wd\tw@}%
\advance\mdfboundingboxwidth by \mdf@innerleftmargin@length\relax%
@@ -203,7 +219,7 @@
\advance\mdfboundingboxwidth by \mdf@middlelinewidth@length\relax%
\advance\mdfboundingboxwidth by \mdf@outerlinewidth@length\relax}{}%
%
- \setlength\mdfboundingboxheight{\ht\tw@+\dp\tw@}%
+ \setlength\mdfboundingboxheight{\dimexpr\ht\tw@+\dp\tw@\relax}%
\advance\mdfboundingboxheight by \mdf@innertopmargin@length\relax%
\advance\mdfboundingboxheight by \mdf@splitbottomskip@length\relax%
\ifbool{mdf@topline}{%
@@ -213,8 +229,10 @@
%
%\ifdimequal{\pagegoal}{\maxdimen}{\enlargethispage{\baselineskip}}{}% ???
\ifdimgreater{\pagegoal-\maxdimen}{0pt}{}{\enlargethispage{\baselineskip}}%
-%
+ \mdf@makebox[\mdfboundingboxwidth]{%
+ \null%
\begin{tikzpicture}
+ \begin{scope}
%
\pgfmathsetlengthmacro\md@Ax{+\mdf@innerleftmargin@length}%
\pgfmathsetlengthmacro\md@Ay{+\mdf@splitbottomskip@length}%
@@ -248,13 +266,23 @@
\md@test@noline{\path[mdfbackground,mdfcorners](O)--(O|-P)--(P)--(P|-O);}{}%
%
\node[mdfbox]at(\md@Ax,\md@Ay){\box\tw@};% Ausgabebox einfuegen
+ \end{scope}
+ %HIER KOMMT EIN WEITERES MAKRO
+ \mdfcreateextratikz;
\end{tikzpicture}%
+ }%
+ \mdf@makeboxalign@right%
}%
+ \fi
}%
+
\def\md@putbox@middle{%
- \leftline{\null\hspace*{\mdf@leftmargin@length}%%
+ \ifvoid\@tempboxa
+ \else%
+ \mdf@makebox[\linewidth]{%
+ \mdf@makeboxalign@left%
\md@tikz@settings%
%
\setlength\mdfboundingboxwidth{\wd\tw@}%
@@ -269,10 +297,13 @@
\advance\mdfboundingboxwidth by \mdf@middlelinewidth@length\relax%
\advance\mdfboundingboxwidth by \mdf@outerlinewidth@length\relax}{}%
%
- \setlength\mdfboundingboxheight{\ht\tw@+\dp\tw@}%
+ \setlength\mdfboundingboxheight{\dimexpr\ht\tw@+\dp\tw@\relax}%
\advance\mdfboundingboxheight by \mdf@splitbottomskip@length\relax%
%
+ \mdf@makebox[\mdfboundingboxwidth]{%
+ \null%
\begin{tikzpicture}
+ \begin{scope}
\pgfmathsetlengthmacro\md@Ax{+\mdf@innerleftmargin@length}%
\pgfmathsetlengthmacro\md@Ay{+\mdf@splitbottomskip@length}%
\pgfmathsetlengthmacro\md@Ox{+0pt}%
@@ -298,12 +329,21 @@
{\path[mdfbackground](O)rectangle(P);}{}%
%
\node[mdfbox]at(\md@Ax,\md@Ay){\box\tw@};% Ausgabebox einfuegen
+ \end{scope}
+ %HIER KOMMT EIN WEITERES MAKRO
\end{tikzpicture}%
+ }%
+ \mdf@makeboxalign@right%
}%
+ \fi
}%
+
\def\md@putbox@second{%
- \leftline{\null\hspace*{\mdf@leftmargin@length}%%
+ \ifvoid\@tempboxa
+ \else%
+ \mdf@makebox[\linewidth]{%
+ \mdf@makeboxalign@left%
\md@tikz@settings%
%
\setlength\mdfboundingboxwidth{\wd\@tempboxa}%
@@ -318,14 +358,17 @@
\advance\mdfboundingboxwidth by \mdf@middlelinewidth@length\relax%
\advance\mdfboundingboxwidth by \mdf@outerlinewidth@length\relax}{}%
%
- \setlength\mdfboundingboxheight{\ht\@tempboxa+\dp\@tempboxa}%
+ \setlength\mdfboundingboxheight{\dimexpr\ht\@tempboxa+\dp\@tempboxa\relax}%
\advance\mdfboundingboxheight by \mdf@innerbottommargin@length\relax%
\ifbool{mdf@bottomline}{%
\advance\mdfboundingboxheight by \mdf@innerlinewidth@length\relax%
\advance\mdfboundingboxheight by \mdf@middlelinewidth@length\relax%
\advance\mdfboundingboxheight by \mdf@outerlinewidth@length\relax}{}%
%
+ \mdf@makebox[\mdfboundingboxwidth]{%
+ \null%
\begin{tikzpicture}
+ \begin{scope}
\pgfmathsetlengthmacro\md@Ax{+\mdf@innerleftmargin@length}%
\pgfmathsetlengthmacro\md@Ay{+\mdf@innerbottommargin@length}%
\pgfmathsetlengthmacro\md@Ox{+0pt}%
@@ -359,7 +402,12 @@
\md@test@noline{\path[mdfbackground,mdfcorners](O|-P)--(O)--(O-|P)--(P);}{}%
%
\node[mdfbox] at (\md@Ax,\md@Ay){\box\@tempboxa};% Ausgabebox einfuegen
- \end{tikzpicture}%
- }
-}
+ \end{scope}
+ %HIER KOMMT EIN WEITERES MAKRO
+ \end{tikzpicture}%
+ }%
+ \mdf@makeboxalign@right%
+ }%
+ \fi
+}%
\endinput