summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf')
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf61
1 files changed, 55 insertions, 6 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 cfe522b50a3..f9f453a0741 100644
--- a/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf
+++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf
@@ -1,17 +1,20 @@
+%% 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\mdframedOpackagename{md-frame-0}
\def\mdf@frameOdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\ProvidesFile{md-frame-0.mdf}%
- [\mdf@frameOdate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $%
+ [\mdf@frameOdate@svn$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $%
\mdversion: \mdframedOpackagename]
\def\mdf@background@default{\color{\mdf@backgroundcolor}}
\def\mdf@frametitlebackground@default{\color{\mdf@frametitlebackgroundcolor}}
+\def\mdf@shadow@default{\color{\mdf@shadowcolor}}
\def\mdf@innerlinecolor@default{\color{\mdf@innerlinecolor}}
\def\mdf@middlelinecolor@default{\color{\mdf@middlelinecolor}}
\def\mdf@outerlinecolor@default{\color{\mdf@outerlinecolor}}
@@ -33,11 +36,24 @@
}%
\def\mdf@frame@background@single{%
+ \ifbool{mdf@shadow}{%
+ \rlap{\smash{\mdf@shadow@default%
+ \rule[\dimexpr-\mdfboundingboxdepth
+ -\mdf@shadowsize@length
+ \ifbool{mdf@bottomline}{-\mdf@middlelinewidth@length}{}\relax]%
+ {\dimexpr\mdfboundingboxtotalwidth
+ +\mdf@shadowsize@length
+ \ifbool{mdf@rightline}{+\mdf@middlelinewidth@length}{}\relax}%
+ {\dimexpr\mdfboundingboxtotalheight
+ +\mdf@shadowsize@length
+ \ifbool{mdf@bottomline}{+\mdf@middlelinewidth@length}{}\relax}%
+ }%
+ }}{}%
\rlap{\mdf@background@default%
\rule[-\mdfboundingboxdepth]%
{\mdfboundingboxtotalwidth}%
{\mdfboundingboxtotalheight}%
- }%
+ }%
}%
\def\mdf@frame@frametitlebackground@single{%
\rlap{\mdf@frametitlebackground@default%
@@ -120,8 +136,8 @@
\mdf@frame@leftline@single%
}{}%
\mdf@frame@topline@single%
- \mdf@frame@bottomline@single%
\mdf@frame@background@single%
+ \mdf@frame@bottomline@single%
\ifdefempty{\mdf@frametitle}{}{\mdf@frame@frametitlebackground@single}%
\hspace*{\mdf@innerleftmargin@length}%
\ifbool{mdf@rightline}{%
@@ -134,6 +150,17 @@
\fi%
}
\def\mdf@frame@background@first{%
+ \ifbool{mdf@shadow}{%
+ \rlap{\smash{\mdf@shadow@default%
+ \rule[\dimexpr-\mdfboundingboxdepth
+ -\mdf@shadowsize@length\relax]%
+ {\dimexpr\mdfboundingboxtotalwidth
+ +\mdf@shadowsize@length
+ \ifbool{mdf@rightline}{+\mdf@middlelinewidth@length}{}\relax}%
+ {\dimexpr\mdfboundingboxtotalheight
+ +\mdf@shadowsize@length\relax}%
+ }%
+ }}{}%
\rlap{\mdf@background@default%
\rule[-\mdfboundingboxdepth]%
{\mdfboundingboxtotalwidth}%
@@ -227,6 +254,18 @@
\fi%
}
\def\mdf@frame@background@second{%
+ \ifbool{mdf@shadow}{%
+ \rlap{\smash{\mdf@shadow@default%
+ \rule[\dimexpr-\mdfboundingboxdepth
+ -\mdf@shadowsize@length
+ \ifbool{mdf@bottomline}{-\mdf@middlelinewidth@length}{}\relax]%
+ {\dimexpr\mdfboundingboxtotalwidth
+ +\mdf@shadowsize@length
+ \ifbool{mdf@rightline}{+\mdf@middlelinewidth@length}{}\relax}%
+ {\dimexpr\mdfboundingboxtotalheight
+ +\mdf@shadowsize@length\relax}%
+ }%
+ }}{}%
\rlap{\mdf@background@default%
\rule[-\mdfboundingboxdepth]%
{\mdfboundingboxtotalwidth}%
@@ -290,9 +329,9 @@
\ifbool{mdf@leftline}{%
\hspace*{\mdf@middlelinewidth@length}%
\mdf@frame@leftline@second}{}%
+ \mdf@frame@background@second%
\ifbool{mdf@bottomline}{%
\mdf@frame@bottomline@second}{}%
- \mdf@frame@background@second%
\ifdefempty{\mdf@frametitle}{}{\mdf@frame@frametitlebackground@second}%
\hspace*{\mdf@innerleftmargin@length}%
\ifbool{mdf@rightline}{%
@@ -311,6 +350,16 @@
}%
}%
\def\mdf@frame@background@middle{%
+ \ifbool{mdf@shadow}{%
+ \rlap{\smash{\mdf@shadow@default%
+ \rule[\dimexpr-\mdfboundingboxdepth
+ -\mdf@shadowsize@length\relax]%
+ {\dimexpr\mdfboundingboxtotalwidth
+ +\mdf@shadowsize@length
+ \ifbool{mdf@rightline}{+\mdf@middlelinewidth@length}{}\relax}%
+ {\dimexpr\mdfboundingboxtotalheight\relax}%
+ }%
+ }}{}%
\rlap{\mdf@background@default%
\rule[-\mdfboundingboxdepth]%
{\mdfboundingboxtotalwidth}%