summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mdframed
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mdframed')
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf4
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf4
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-2.mdf509
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf4
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/mdframed.sty4
5 files changed, 517 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf b/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf
index 058c9ef5a02..efbe6ed295f 100644
--- a/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf
+++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf
@@ -4,11 +4,11 @@
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
-%%$Id: mdframed.dtx 271 2011-12-09 12:25:08Z marco $
+%%$Id: mdframed.dtx 273 2011-12-10 09:21:09Z marco $
\def\mdframedOpackagename{md-frame-0}
\def\md@frameOdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\ProvidesFile{md-frame-0.mdf}%
- [\md@frameOdate@svn$Id: mdframed.dtx 271 2011-12-09 12:25:08Z marco $%
+ [\md@frameOdate@svn$Id: mdframed.dtx 273 2011-12-10 09:21:09Z marco $%
\mdversion: \mdframedOpackagename]
\def\mdf@background@default{\color{\mdf@backgroundcolor}}
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 8a90831e83d..746cd25015b 100644
--- a/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf
+++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf
@@ -4,11 +4,11 @@
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
-%%$Id: mdframed.dtx 271 2011-12-09 12:25:08Z marco $
+%%$Id: mdframed.dtx 273 2011-12-10 09:21:09Z marco $
\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: mdframed.dtx 271 2011-12-09 12:25:08Z marco $ %
+ [\md@frameIdate@svn$Id: mdframed.dtx 273 2011-12-10 09:21:09Z marco $ %
\mdversion: \mdframedIpackagename]
%%%% _____t_____
%%%% | |
diff --git a/Master/texmf-dist/tex/latex/mdframed/md-frame-2.mdf b/Master/texmf-dist/tex/latex/mdframed/md-frame-2.mdf
new file mode 100644
index 00000000000..288bafd84a4
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-2.mdf
@@ -0,0 +1,509 @@
+%% Style file for mdframed for package option `framemethod=default`
+%%
+%% This package may be distributed under the terms of the LaTeX Project
+%% Public License, as described in lppl.txt in the base LaTeX distribution.
+%% Either version 1.0 or, at your option, any later version.
+
+%%$Id: mdframed.dtx 273 2011-12-10 09:21:09Z marco $
+\def\mdframedIIpackagename{md-frame-2}
+\def\md@frameIIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
+\ProvidesFile{md-frame-2.mdf}%
+ [\md@frameIIdate@svn$Id: mdframed.dtx 273 2011-12-10 09:21:09Z marco $ %
+ \mdversion: \mdframedIIpackagename]
+\def\md@ptlength@to@pscode#1{\pst@number{#1} \pst@number\psxunit div }
+\let\ptTps\md@ptlength@to@pscode\relax
+%%%% _____t_____
+%%%% | |
+%%%% | |
+%%%% | |
+%%%% l| |r
+%%%% | |
+%%%% | |
+%%%% |___________|
+%%%% b
+%%Zusammenhaenge abfragen:
+\newrobustcmd*\md@test@ltrb{%
+ \ifboolexpr{ (bool {mdf@topline}) and (bool {mdf@bottomline})
+ and (bool {mdf@leftline}) and (bool {mdf@rightline})}}
+\newrobustcmd*\md@test@ltr{%
+ \ifboolexpr{ (bool {mdf@topline}) and not (bool {mdf@bottomline})
+ and (bool {mdf@leftline}) and (bool {mdf@rightline})}}
+\newrobustcmd*\md@test@ltb{%
+ \ifboolexpr{ (bool {mdf@topline}) and (bool {mdf@bottomline})
+ and (bool {mdf@leftline}) and not (bool {mdf@rightline})}}
+\newrobustcmd*\md@test@trb{%
+ \ifboolexpr{ (bool {mdf@topline}) and (bool {mdf@bottomline})
+ and not (bool {mdf@leftline}) and (bool {mdf@rightline})}}
+\newrobustcmd*\md@test@lrb{%
+ \ifboolexpr{ not (bool {mdf@topline}) and (bool {mdf@bottomline})
+ and (bool {mdf@leftline}) and (bool {mdf@rightline})}}
+\newrobustcmd*\md@test@lb{%
+ \ifboolexpr{ not (bool {mdf@topline}) and (bool {mdf@bottomline})
+ and (bool {mdf@leftline}) and not (bool {mdf@rightline})}}
+\newrobustcmd*\md@test@rb{%
+ \ifboolexpr{ not (bool {mdf@topline}) and (bool {mdf@bottomline})
+ and not (bool {mdf@leftline}) and (bool {mdf@rightline})}}
+\newrobustcmd*\md@test@tr{%
+ \ifboolexpr{ (bool {mdf@topline}) and not (bool {mdf@bottomline})
+ and not (bool {mdf@leftline}) and (bool {mdf@rightline})}}
+\newrobustcmd*\md@test@lt{%
+ \ifboolexpr{ (bool {mdf@topline}) and not (bool {mdf@bottomline})
+ and (bool {mdf@leftline}) and not (bool {mdf@rightline})}}
+\newrobustcmd*\md@test@single{%
+ \ifboolexpr{ not (test {\md@test@ltrb} or test {\md@test@ltr} or
+ test {\md@test@ltb} or test {\md@test@trb} or
+ test {\md@test@lrb} or test {\md@test@lb} or
+ test {\md@test@rb} or test {\md@test@tr} or
+ test {\md@test@lt} ) }}
+
+\newpsstyle{mdfbackgroundstyle}{linecolor=\mdf@backgroundcolor,fillstyle=solid,%
+ fillcolor=\mdf@backgroundcolor,linestyle=solid,%
+ linewidth=\mdf@middlelinewidth@length,dimen=outer,%
+}%
+\newpsstyle{mdflinestyle}{linewidth=\mdf@middlelinewidth@length,%
+ linecolor=\mdf@linecolor,%
+ fillstyle=none,dimen=middle,}%
+\def\md@putbox@single{%
+ \ifvoid\@tempboxa
+ \else%
+ \mdf@makebox@out{%
+ \mdf@makeboxalign@left%
+ \ifbool{mdf@leftline}{\hspace*{\mdf@middlelinewidth@length}}{}%
+ \setlength\mdfboundingboxwidth{\wd\@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}%
+ {\advance\mdfboundingboxheight by \mdf@middlelinewidth@length\relax}{}%
+ \ifbool{mdf@bottomline}%
+ {\advance\mdfboundingboxheight by \mdf@middlelinewidth@length\relax}{}%
+ \advance\mdfboundingboxwidth by \mdf@innerleftmargin@length\relax%
+ \advance\mdfboundingboxwidth by \mdf@innerrightmargin@length\relax%
+ \psset{linearc=\mdf@roundcorner@length,cornersize=absolut,}%
+ \expandafter\psset\expandafter{\mdf@psset@local}%
+ \psset{unit=1truecm}%
+ \mdf@makebox@in[\mdfboundingboxwidth]{%
+ \null%
+ \begin{pspicture}(0,0)(\mdfboundingboxwidth,\mdfboundingboxheight)
+ \md@test@ltrb{%
+ \psframe[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul %
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul)%
+ (! \ptTps{\mdfboundingboxwidth} %
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight}%
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)
+ }{}
+ \md@test@ltr{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul 0)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ 0)
+ }{}
+ \md@test@ltb{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth} %X
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ }{}
+ \md@test@trb{%
+ \psline[style=mdflinestyle]%
+ (! 0
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul)
+ (! 0 \ptTps{\mdf@middlelinewidth@length} 0.5 mul)
+ }{}
+ \md@test@lrb{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg
+ \ptTps{\mdfboundingboxheight})%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight})
+ }{}
+ \md@test@lb{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg
+ \ptTps{\mdfboundingboxheight})%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )
+ }{}
+ \md@test@rb{%
+ \psline[style=mdflinestyle]%
+ (! 0 \ptTps{\mdf@middlelinewidth@length} 0.5 mul )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight})
+ }{}
+ \md@test@tr{%
+ \psline[style=mdflinestyle]%
+ (! 0
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ 0)
+ }{}
+ \md@test@lt{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul 0)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth} %X
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ }{}
+ \md@test@single{%
+ \ifbool{mdf@bottomline}{%
+ \psline[style=mdflinestyle]%
+ (! 0 \ptTps{\mdf@middlelinewidth@length} 0.5 mul )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )
+ }{}%
+ \ifbool{mdf@topline}{%
+ \psline[style=mdflinestyle]%
+ (! 0 \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg add)
+ }{}%
+ \ifbool{mdf@leftline}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul 0)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdfboundingboxheight} )%
+ }{}%
+ \ifbool{mdf@rightline}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add 0)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add
+ \ptTps{\mdfboundingboxheight} )%
+ }{}%
+ }{}%
+ %Hintergrund
+ \psframe[style=mdfbackgroundstyle]%
+ (!0 \ifbool{mdf@bottomline}{\ptTps{\mdf@middlelinewidth@length}}{0})
+ (! \ptTps{\mdfboundingboxwidth} %
+ \ptTps{\mdfboundingboxheight}
+ \ifbool{mdf@topline}{\ptTps{\mdf@middlelinewidth@length} sub}{})
+ %Ausgabe
+ \rput[b]%
+ (!\ptTps{\mdfboundingboxwidth} 0.5 mul % X-Koordinate
+ \ptTps{\mdf@innerbottommargin@length}
+ \ifbool{mdf@bottomline}{\ptTps{\mdf@middlelinewidth@length} add}{}
+ ){\box\@tempboxa}
+ \end{pspicture}%
+ }%
+ \mdf@makeboxalign@right%
+ }%
+ \fi
+}%
+\def\md@putbox@first{%
+ \ifvoid\@tempboxa
+ \else%
+ \mdf@makebox@out{%
+ \mdf@makeboxalign@left%
+ \ifbool{mdf@leftline}{\hspace*{\mdf@middlelinewidth@length}}{}%
+ \setlength\mdfboundingboxwidth{\wd\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}%
+ {\advance\mdfboundingboxheight by \mdf@middlelinewidth@length\relax}{}%
+ \advance\mdfboundingboxwidth by \mdf@innerleftmargin@length\relax%
+ \advance\mdfboundingboxwidth by \mdf@innerrightmargin@length\relax%
+ \psset{linearc=\mdf@roundcorner@length,cornersize=absolute}%
+ \expandafter\psset\expandafter{\mdf@psset@local}%
+ \mdf@makebox@in[\mdfboundingboxwidth]{%
+ \null%
+ \psset{unit=1truecm}%
+ \ifdimgreater{\mdfboundingboxheight}{\vsize}
+ {\begin{pspicture}(0,0)(\mdfboundingboxwidth,\vsize)}
+ {\begin{pspicture}(0,0)(\mdfboundingboxwidth,\mdfboundingboxheight)}
+ %Hintergrund
+ \psline[style=mdfbackgroundstyle,%
+ linearc={\dimexpr\mdf@roundcorner@length%
+ -\mdf@middlelinewidth@length\relax},]
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul 0)%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul
+ \ptTps{\mdfboundingboxheight}
+ \ifbool{mdf@topline}%
+ {\ptTps{\mdf@middlelinewidth@length} neg 1.5 mul add}%
+ {\ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add} )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg add %X
+ \ptTps{\mdfboundingboxheight}
+ \ifbool{mdf@topline}%
+ {\ptTps{\mdf@middlelinewidth@length} neg 1.5 mul add}%
+ {\ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add} )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg add %X
+ 0)
+ \ifboolexpr{ test {\md@test@ltrb} or test {\md@test@ltr}}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul 0)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ 0)
+ }{}
+ \ifboolexpr{ test {\md@test@tr} or test {\md@test@trb}}{%
+ \psline[style=mdflinestyle]%
+ (! 0
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ 0)
+ }{}
+ \ifboolexpr{ test {\md@test@ltb} or test {\md@test@lt}}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul 0)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@roundcorner@length} neg add %X
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul add)%
+ }{}
+ \ifboolexpr{ test {\md@test@single} or test {\md@test@rb} or
+ test {\md@test@lrb} or test {\md@test@lb}}{%
+ \ifbool{mdf@topline}{%
+ \psline[style=mdflinestyle]%
+ (! 0 \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg add)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdfboundingboxheight}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg add)
+ }{}%
+ \ifbool{mdf@leftline}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul 0)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdfboundingboxheight} )%
+ }{}%
+ \ifbool{mdf@rightline}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add 0)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add
+ \ptTps{\mdfboundingboxheight} )%
+ }{}%
+ }{}%
+ %Ausgabe
+ \rput[b](!
+ \ptTps{\mdfboundingboxwidth} 0.5 mul % X-Koordinate
+ \ptTps{\mdf@splitbottomskip@length}){\box\tw@}
+ \end{pspicture}%
+ }%
+ \mdf@makeboxalign@right%
+ }%
+ \fi
+}%
+\def\md@putbox@middle{%
+ \ifvoid\@tempboxa
+ \else%
+ \mdf@makebox@out{%
+ \mdf@makeboxalign@left%
+ \ifbool{mdf@leftline}{\hspace*{\mdf@middlelinewidth@length}}{}%
+ \setlength\mdfboundingboxwidth{\wd\tw@}%
+ \setlength\mdfboundingboxheight{\dimexpr\ht\tw@+\dp\tw@\relax}%
+ \advance\mdfboundingboxheight by \mdf@splitbottomskip@length\relax%
+ \advance\mdfboundingboxwidth by \mdf@innerleftmargin@length\relax%
+ \advance\mdfboundingboxwidth by \mdf@innerrightmargin@length\relax%
+ \expandafter\psset\expandafter{\mdf@psset@local}%
+ \psset{linearc=\mdf@roundcorner@length,cornersize=absolute}%
+ \mdf@makebox@in[\mdfboundingboxwidth]{%
+ \null%
+ \psset{unit=1truecm}%
+ \ifdimgreater{\mdfboundingboxheight}{\vsize}
+ {\begin{pspicture}(0,0)(\mdfboundingboxwidth,\vsize)}
+ {\begin{pspicture}(0,0)(\mdfboundingboxwidth,\mdfboundingboxheight)}
+ \ifbool{mdf@leftline}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul 0)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdfboundingboxheight} )%
+ }{}%
+ \ifbool{mdf@rightline}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add 0)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add
+ \ptTps{\mdfboundingboxheight} )%
+ }{}%
+ %Hintergrund
+ \psframe[style=mdfbackgroundstyle,%
+ linearc=\z@]%
+ (!0 0)
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdfboundingboxheight})
+ %Ausgabe
+ \rput[b](!
+ \ptTps{\mdfboundingboxwidth} 0.5 mul % X-Koordinate
+ \ptTps{\mdf@splitbottomskip@length} ){\box\tw@}
+ \end{pspicture}%
+ }%
+ \mdf@makeboxalign@right%
+ }%
+ \fi
+}%
+\def\md@putbox@second{
+ \ifvoid\@tempboxa
+ \else%
+ \mdf@makebox@out{%
+ \mdf@makeboxalign@left%
+ \ifbool{mdf@leftline}{\hspace*{\mdf@middlelinewidth@length}}{}%
+ \setlength\mdfboundingboxwidth{\wd\@tempboxa}%
+ \setlength\mdfboundingboxheight{\dimexpr\ht\@tempboxa+\dp\@tempboxa\relax}%
+ \advance\mdfboundingboxheight by \mdf@innerbottommargin@length\relax%
+ \ifbool{mdf@bottomline}%
+ {\advance\mdfboundingboxheight by \mdf@middlelinewidth@length\relax}{}%
+ \advance\mdfboundingboxwidth by \mdf@innerleftmargin@length\relax%
+ \advance\mdfboundingboxwidth by \mdf@innerrightmargin@length\relax%
+ \expandafter\psset\expandafter{\mdf@psset@local}
+ \psset{linearc=\mdf@roundcorner@length,cornersize=absolute}%
+ \psset{unit=1truecm}%
+ \mdf@makebox@in[\mdfboundingboxwidth]{%
+ \null%
+ \begin{pspicture}(0,0)(\mdfboundingboxwidth,\mdfboundingboxheight)
+ %Hintergrund
+ \psline[style=mdfbackgroundstyle,%
+ linearc={\dimexpr\mdf@roundcorner@length%
+ -\mdf@middlelinewidth@length\relax},]%%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul
+ \ptTps{\mdfboundingboxheight} )%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul
+ \ifbool{mdf@bottomline}%
+ {\ptTps{\mdf@middlelinewidth@length} neg 1.5 mul neg}%
+ {\ptTps{\mdf@middlelinewidth@length} neg 0.5 mul neg} )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg add
+ \ifbool{mdf@bottomline}%
+ {\ptTps{\mdf@middlelinewidth@length} neg 1.5 mul neg}%
+ {\ptTps{\mdf@middlelinewidth@length} neg 0.5 mul neg} )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg add
+ \ptTps{\mdfboundingboxheight} )
+ %%%%%%%%%%%%
+ \ifboolexpr{ test {\md@test@ltrb} or test {\md@test@lrb}}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg
+ \ptTps{\mdfboundingboxheight})%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight})
+ }{}
+ \ifboolexpr{ test {\md@test@ltb} or test {\md@test@lb}}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg
+ \ptTps{\mdfboundingboxheight})%
+ (! \ptTps{\mdf@middlelinewidth@length} 0.5 mul neg
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )
+ }{}
+ \ifboolexpr{ test {\md@test@trb} or test {\md@test@rb}}{%
+ \psline[style=mdflinestyle]%
+ (! 0 \ptTps{\mdf@middlelinewidth@length} 0.5 mul )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add %X
+ \ptTps{\mdfboundingboxheight})
+ }{}
+ \ifboolexpr{ test {\md@test@single} or test {\md@test@ltr} or
+ test {\md@test@tr} or test {\md@test@lt}}{%
+ \ifbool{mdf@bottomline}{%
+ \psline[style=mdflinestyle]%
+ (! 0 \ptTps{\mdf@middlelinewidth@length} 0.5 mul )%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul )
+ }{}%
+ \ifbool{mdf@leftline}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul 0)%
+ (! \ptTps{\mdf@middlelinewidth@length} neg 0.5 mul
+ \ptTps{\mdfboundingboxheight} )%
+ }{}%
+ \ifbool{mdf@rightline}{%
+ \psline[style=mdflinestyle]%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add 0)%
+ (! \ptTps{\mdfboundingboxwidth}
+ \ptTps{\mdf@middlelinewidth@length} 0.5 mul add
+ \ptTps{\mdfboundingboxheight} )%
+ }{}%
+ }{}%
+ %Ausgabe
+ \rput[b](!
+ \ptTps{\mdfboundingboxwidth} 0.5 mul % X-Koordinate
+ \ptTps{\mdf@innerbottommargin@length}
+ \ifbool{mdf@bottomline}{\ptTps{\mdf@middlelinewidth@length} add}{}
+ ){\box\@tempboxa}
+ \end{pspicture}%
+ }%
+ \mdf@makeboxalign@right%
+ }%
+ \fi
+}%
+ \endinput
diff --git a/Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf b/Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf
index 53133ebf5d5..288bafd84a4 100644
--- a/Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf
+++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf
@@ -4,11 +4,11 @@
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
-%%$Id: mdframed.dtx 271 2011-12-09 12:25:08Z marco $
+%%$Id: mdframed.dtx 273 2011-12-10 09:21:09Z marco $
\def\mdframedIIpackagename{md-frame-2}
\def\md@frameIIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\ProvidesFile{md-frame-2.mdf}%
- [\md@frameIIdate@svn$Id: mdframed.dtx 271 2011-12-09 12:25:08Z marco $ %
+ [\md@frameIIdate@svn$Id: mdframed.dtx 273 2011-12-10 09:21:09Z marco $ %
\mdversion: \mdframedIIpackagename]
\def\md@ptlength@to@pscode#1{\pst@number{#1} \pst@number\psxunit div }
\let\ptTps\md@ptlength@to@pscode\relax
diff --git a/Master/texmf-dist/tex/latex/mdframed/mdframed.sty b/Master/texmf-dist/tex/latex/mdframed/mdframed.sty
index e708bbe99bb..1f4f07e6bb1 100644
--- a/Master/texmf-dist/tex/latex/mdframed/mdframed.sty
+++ b/Master/texmf-dist/tex/latex/mdframed/mdframed.sty
@@ -48,12 +48,12 @@
%% >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
%% ==================================================
%%
-\def\mdversion{v1.0b}
+\def\mdversion{v1.0c}
\def\mdframedpackagename{mdframed}
\def\md@maindate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mdframed}%
- [\md@maindate@svn$Id: mdframed.dtx 271 2011-12-09 12:25:08Z marco $%
+ [\md@maindate@svn$Id: mdframed.dtx 273 2011-12-10 09:21:09Z marco $%
\mdversion: \mdframedpackagename]
\newcommand*\md@PackageWarning[1]{\PackageWarning{\mdframedpackagename}{#1}}
\newcommand*\md@PackageInfo[1]{\PackageInfo{\mdframedpackagename}{#1}}