diff options
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.mdf | 31 |
1 files changed, 24 insertions, 7 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 186a60394f8..223ce0d73ab 100644 --- a/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf +++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf @@ -1,14 +1,16 @@ +%% CheckSum{5147} %% 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 320 2012-01-09 18:44:33Z marco $ +%% +%% +%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $ \def\mdframedIpackagename{md-frame-1} \def\mdf@frameIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space } \ProvidesFile{md-frame-1.mdf}% - [\mdf@frameIdate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $ % + [\mdf@frameIdate@svn$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $ % \mdversion: \mdframedIpackagename] \def\mdf@tikz@settings{% \tikzset{mdfbox/.style={anchor=south west,% @@ -33,6 +35,11 @@ {\tikzset{mdfinnerline/.append style={% draw=\mdf@innerlinecolor,% line width=2\mdf@innerlinewidth@length+\mdf@middlelinewidth@length}}}{}% + \tikzset{mdfshadow/.style={drop shadow={% + shadow xshift=\mdf@shadowsize@length-2pt, + shadow yshift=-\mdf@shadowsize@length+2pt, + fill=\mdf@shadowcolor, + every shadow }}}% \mdf@tikzset@local \tikzset{mdfmiddleline/.style={}}% \ifdimgreater{\mdf@middlelinewidth@length}{\z@} @@ -112,7 +119,6 @@ \mdf@makebox@in[\mdfboundingboxwidth]{% \null% \begin{tikzpicture}[remember picture]% - \begin{scope} \pgfmathsetlengthmacro\mdf@Ax{+\mdf@innerleftmargin@length}% \pgfmathsetlengthmacro\mdf@Ay{+\mdf@innerbottommargin@length}% \pgfmathsetlengthmacro\mdf@Ox{+0pt}% @@ -147,6 +153,9 @@ }{}% \coordinate(O)at(\mdf@Ox,\mdf@Oy);% \coordinate(P)at(\mdf@Px,\mdf@Py);% + \ifbool{mdf@shadow} + {\path[mdfshadow,mdfcorners](O) rectangle (P);}{}% + \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)}}{}% \mdf@test@trb{\mdf@tikzbox@tfl{(O|-P)--(P)--(P|-O)--(O)}}{}% @@ -289,7 +298,6 @@ \mdf@makebox@in[\mdfboundingboxwidth]{% \null% \begin{tikzpicture}[remember picture] - \begin{scope} \pgfmathsetlengthmacro\mdf@Ax{+\mdf@innerleftmargin@length}% \pgfmathsetlengthmacro\mdf@Ay{+\mdf@splitbottomskip@length}% \pgfmathsetlengthmacro\mdf@Ox{+0pt}% @@ -314,6 +322,9 @@ }{}% \coordinate(O)at(\mdf@Ox,\mdf@Oy);% \coordinate(P)at(\mdf@Px,\mdf@Py);% + \ifbool{mdf@shadow} + {\path[mdfshadow] (O) -- (O|-P) to[mdfcorners] (P) -- (P|-O) -- (O);}{}% + \begin{scope}[use as bounding box] \ifboolexpr{test {\mdf@test@ltrb} or test {\mdf@test@ltr}}% {\mdf@tikzbox@tfl{(O)--(O|-P)--(P)--(P|-O)}}% {}% @@ -396,7 +407,6 @@ \mdf@makebox@in[\mdfboundingboxwidth]{% \null% \begin{tikzpicture}[remember picture] - \begin{scope} \pgfmathsetlengthmacro\mdf@Ax{+\mdf@innerleftmargin@length}% \pgfmathsetlengthmacro\mdf@Ay{+\mdf@splitbottomskip@length}% \pgfmathsetlengthmacro\mdf@Ox{+0pt}% @@ -418,6 +428,9 @@ }{}% \coordinate(O)at(\mdf@Ox,\mdf@Oy);% \coordinate(P)at(\mdf@Px,\mdf@Py);% + \ifbool{mdf@shadow} + {\path[mdfshadow](O) rectangle (P);}{}% + \begin{scope}[use as bounding box] \ifboolexpr{bool {mdf@leftline} and bool {mdf@rightline}}% {\mdf@tikzbox@otl{(O)--(O|-P)(P)--(P|-O)}{(O)rectangle(P)}}{}% \ifboolexpr{bool {mdf@leftline} and not (bool {mdf@rightline})}% @@ -430,6 +443,7 @@ \node[mdfbox]at(\mdf@Ax,\mdf@Ay){\box\mdf@splitbox@two};% Ausgabebox einfuegen \end{scope} %HIER KOMMT EIN WEITERES MAKRO + \mdfcreateextratikz \end{tikzpicture}% }% \mdf@makeboxalign@right% @@ -487,7 +501,6 @@ \mdf@makebox@in[\mdfboundingboxwidth]{% \null% \begin{tikzpicture}[remember picture] - \begin{scope} \pgfmathsetlengthmacro\mdf@Ax{+\mdf@innerleftmargin@length}% \pgfmathsetlengthmacro\mdf@Ay{+\mdf@innerbottommargin@length}% \pgfmathsetlengthmacro\mdf@Ox{+0pt}% @@ -517,6 +530,9 @@ }{}% \coordinate(O)at(\mdf@Ox,\mdf@Oy);% \coordinate(P)at(\mdf@Px,\mdf@Py);% + \ifbool{mdf@shadow} + {\path[mdfshadow] (O|-P) to[mdfcorners] (O) to[mdfcorners] (P|-O) -- (P) -- (O|-P);}{}% + \begin{scope}[use as bounding box] \ifboolexpr{test {\mdf@test@ltrb} or test {\mdf@test@lrb}}% {\mdf@tikzbox@tfl{(P-|O)--(O)--(O-|P)--(P)}}% {}% @@ -544,6 +560,7 @@ \node[mdfbox] at (\mdf@Ax,\mdf@Ay){\box\mdf@splitbox@one};% Ausgabebox einfuegen \end{scope} %HIER KOMMT EIN WEITERES MAKRO + \mdfcreateextratikz \end{tikzpicture}% }% \mdf@makeboxalign@right% |