summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-02-06 00:42:14 +0000
committerKarl Berry <karl@freefriends.org>2012-02-06 00:42:14 +0000
commit4e9750715f219d797d201e091dd0917660b68178 (patch)
tree592465b481b89ecf4dd58d182ad0de1e50a58607 /Master/texmf-dist
parent2ef7b41a6c64ff012ea9eb520a8f8102d2017a0f (diff)
mdframed (5feb12)
git-svn-id: svn://tug.org/texlive/trunk@25299 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/README.txt1
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdfbin272854 -> 272392 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex6
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdfbin71520 -> 77285 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex19
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdfbin215163 -> 214936 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex6
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdfbin274311 -> 273885 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex6
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed.pdfbin773180 -> 780170 bytes
-rw-r--r--Master/texmf-dist/source/latex/mdframed/Makefile2
-rw-r--r--Master/texmf-dist/source/latex/mdframed/mdframed.dtx293
-rw-r--r--Master/texmf-dist/source/latex/mdframed/mdframed.ins1
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/ltxmdf.cls18
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf61
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf31
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-2.mdf29
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf29
-rw-r--r--Master/texmf-dist/tex/latex/mdframed/mdframed.sty42
19 files changed, 408 insertions, 136 deletions
diff --git a/Master/texmf-dist/doc/latex/mdframed/README.txt b/Master/texmf-dist/doc/latex/mdframed/README.txt
index df8944c8a17..a32f456c4f5 100644
--- a/Master/texmf-dist/doc/latex/mdframed/README.txt
+++ b/Master/texmf-dist/doc/latex/mdframed/README.txt
@@ -68,3 +68,4 @@ I recommend the following installation in your texmf-tree:
- ltxmdf.cls
================================================================
================================================================
+%% CheckSum{5147}
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdf
index 289a608ae20..be599f78f04 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdf
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex
index 3af557c0741..7f02e9ea477 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex
@@ -1,7 +1,8 @@
-%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+%% CheckSum{5147}
+%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\ltxmdfsetifoot $Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -12,6 +13,7 @@
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\date{\mdfdateID$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $}
\version{\mdversion}
\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
Some presented examples are more or less exorbitant.}
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdf
index cc18063063c..3ac84effad6 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdf
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex
index 9a4dc301553..58a12c8d081 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex
@@ -1,7 +1,8 @@
-%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+%% CheckSum{5147}
+%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\ltxmdfsetifoot$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\ltxmdfsetifoot$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\lstDeleteShortInline{|}
\newcommand\Loadedframemethod{PSTricks}
@@ -13,6 +14,7 @@
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\date{\mdfdateID$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $}
\version{\mdversion}
\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
Some presented examples are more or less exorbitant.}
@@ -106,5 +108,18 @@ function of the independent variables alone.
\ExampleText
\end{mdframed}
\end{LTXexample}
+
+\Examplesec{Shadow frame}
+\begin{LTXexample}
+\newmdenv[shadow=true,
+ shadowsize=11pt,
+ linewidth=8pt,
+ frametitlerule=true,
+ roundcorner=10pt,
+ ]{myshadowbox}
+\begin{myshadowbox}[frametitle={Inhomogeneous linear}]
+\ExampleText
+\end{myshadowbox}
+\end{LTXexample}
\end{document}
\endinput
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdf
index b39de201f88..660d8ebb22f 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdf
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex
index e5cad38f6e5..5e660905667 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex
@@ -1,8 +1,9 @@
+%% CheckSum{5147}
-%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt,ltxlipsum]{ltxmdf}
-\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\ltxmdfsetifoot $Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -13,6 +14,7 @@
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\date{\mdfdateID$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $}
\version{\mdversion}
\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
Some presented examples are more or less exorbitant.}
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdf
index 40fb2fb4710..91eb8a3b564 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdf
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex
index 8e2cb658670..06d6c651f04 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex
@@ -1,7 +1,8 @@
-%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+%% CheckSum{5147}
+%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\ltxmdfsetifoot $Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -12,6 +13,7 @@
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\date{\mdfdateID$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $}
\version{\mdversion}
\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
Some presented examples are more or less exorbitant.}
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf
index d64869f3ac2..beb66b7d0c9 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/mdframed/Makefile b/Master/texmf-dist/source/latex/mdframed/Makefile
index f67d0bf16a6..ae65e5ab14a 100644
--- a/Master/texmf-dist/source/latex/mdframed/Makefile
+++ b/Master/texmf-dist/source/latex/mdframed/Makefile
@@ -1,6 +1,6 @@
################################################################
## Makefile for mdframed project folder
-## $Id: Makefile 319 2012-01-09 18:38:06Z marco $
+## $Id: Makefile 321 2012-01-09 18:57:42Z marco $
################################################################
## Definitions
################################################################
diff --git a/Master/texmf-dist/source/latex/mdframed/mdframed.dtx b/Master/texmf-dist/source/latex/mdframed/mdframed.dtx
index 915c3c116ab..0a7168602f0 100644
--- a/Master/texmf-dist/source/latex/mdframed/mdframed.dtx
+++ b/Master/texmf-dist/source/latex/mdframed/mdframed.dtx
@@ -206,11 +206,11 @@ Have fun!
\fi
%</internal>
%<*driver>
-%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,11pt,]{ltxmdf}
\usepackage[framemethod=TikZ]{mdframed}
-\ltxmdfsetifoot$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\ltxmdfsetifoot$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\EnableCrossrefs
\CodelineIndex
@@ -221,7 +221,7 @@ Have fun!
%</driver>
% \fi
%
-% \CheckSum{5128}
+%% CheckSum{5147}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -250,6 +250,7 @@ Have fun!
% \author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}%
% \href{mailto:marco.daniel@mada-nada.de}{Elke Schubert}}}
% \version{\mdversion}
+% \date{\mdfdateID$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $}
% \introduction{The standard methods for framing text (\Cmd{fbox}
% or \Cmd{fcolorbox}) require you to handle page breaks
% by hand, meaning that you have to split the \Cmd{fbox}
@@ -345,10 +346,10 @@ Have fun!
%</example>
% \fi
%
-% Only the option \Opt{framemethod} should be load by the
+% Only the option \Opt{framemethod} should be loaded by the
% optional argument of \Cmd{usepackage}. All other options
% should be loaded with \Cmd{mdfsetup} or related environments.
-% The package should be loaed after \Pack{amsthm} if you need the package.
+% The package should be loaded after \Pack{amsthm} if you need the package.
% \minisec{Provided environment}
% The package defines only one environment with the following syntax:
% \iffalse
@@ -370,7 +371,7 @@ Have fun!
% an environment \Pack{mdframed} will use the option \Opt{nobreak} automatically.
%
% \minisec{Twoside-mode}
-% If you are using \Pack{mdframed} inside \Pack{twoside} mode you can set
+% If you are using \Pack{mdframed} inside \Pack{twoside}-mode you can set
% the option \Opt{innermargin} and \Opt{outermargin} (see section \ref{optlength}).
% The length will be ignored if you use the option \Opt{usetwoside}.
%
@@ -496,7 +497,7 @@ Have fun!
%
% \ExplCmd{surroundwithmdframed}
% Sometimes you have predefined environments. This commands allows you to set
-% a \Env{environmet} surround this predefined environment. To set a \Env{mdframed}
+% an \Env{environment} surround this predefined environment. To set a \Env{mdframed}
% around the environment \Env{verbatim} you can simple say without changing the
% original name.
% \iffalse
@@ -533,8 +534,8 @@ Have fun!
% Inside a group the settings work only local.\par
% \textbf{\color{red!70!black}At this point I want to recommend the using of the command \Cmd{mdfsetup}
% instead of setting package option via the optional argument of \Cmd{usepackage}.
-% So your are avoiding breaking of non robust commands.}^^A
-% \footnote{Thanks to Heiko Oberdieck and Philipp Stephani
+% So you are avoiding breaking of non robust commands.}^^A
+% \footnote{Thanks to Heiko Oberdiek and Philipp Stephani
% \href{https://groups.google.com/group/de.comp.text.tex/browse_thread/thread/15c5ad290490d426?hl=de}^^A
% {kvoptions-Declaration von Optionen schl\"agt fehl}}
%
@@ -572,7 +573,7 @@ Have fun!
% The package provides various options to manipulate frames. In the following section
% all options are listed. Some internal macros which can be manipulated are not shown
% in this documentation.
-% The listed option are divided in global and local options. The global options can not
+% The listed options are divided in global and local options. The global options can not
% be used inside \Cmd{mdfsetup}.
%
% \subsection{Global Options}\label{globopt}
@@ -804,7 +805,7 @@ Have fun!
% Before setting this boolean key, you have to load
% the package \Pack{ntheorem}. With this option you set the
% values \Cmd{theorempreskipamount} and
-% \Cmd{theorempostskipamount} to 0\;pt.
+% \Cmd{theorempostskipamount} to 0\,pt.
% \ExplOpt[false]{nobreak}
% Sometimes it is useful to prevent a frame from splitting.
% The \Opt{nobreak} option is used for this purpose.
@@ -838,6 +839,18 @@ Have fun!
% The alignments \Opt{left} or \Opt{right} depend on the given lengths
% \Opt{leftmargin} and \Opt{rightmargin}. Later I will present an example
% to demonstrate my bad English explanation.
+%
+% \ExplOpt[false]{shadow}
+% Draw a shadow. The shadow doesn't influence the bounding box so the shadow
+% can be drawn in the margin without any overfull box.
+% Note if you are using the TikZ you must load the library.
+% \Pack{mdframed} doesn't do the job to avoid double loading of a library.
+%
+% \ExplOpt[8\,pt]{shadowsize}
+% Specify the size of the shadow.
+% \ExplOpt[black!50]{shadowcolor}
+% Specify the color of the shadow.
+%
%
% \ExplOpt[none]{pstrickssetting}
% With this key you can pass several options to \Cmd{psset}.
@@ -847,7 +860,7 @@ Have fun!
% \limitation[PSTricks]
% \ExplOpt[none]{pstricksappsetting}
% \Pack{mdframed} works with defined style for the different elements. By
-% using \Cmd{apptopsstyle} in combination with this option
+% using \Cmd{addtopsstyle} in combination with this option
% you can expand the definition. The predefined styles are
% \begin{itemize}
% \item \Opt{mdfbackgroundstyle}
@@ -855,7 +868,6 @@ Have fun!
% \item \Opt{mdfouterlinestyle}
% \item \Opt{mdfinnerlinestyle}
% \item \Opt{mdfmiddlelinestyle}
-% \item \Opt{mdfmiddlelinestyle}
% \end{itemize}
% \textbf{Before you change one please have a look at the file
% \texttt{md-frame-2.mdf} to see the settings.}
@@ -878,7 +890,8 @@ Have fun!
% \item \Cmd{tikzset\{mdfouterline/.style\}}
% \item \Cmd{tikzset\{mdfmiddleline/.style\}}
% \item \Cmd{tikzset\{mdfframetitlerule/.style\}}
-% \item \Cmd{tikzset\{mdfframetitlebackground/.sstyle\}}
+% \item \Cmd{tikzset\{mdfframetitlebackground/.style\}}
+% \item \Cmd{tikzset\{mdfshadow/.style\}}
% \end{itemize}
% \textbf{Before you change one please have a look at the
% file \texttt{md-frame-1.mdf} to see the settings.}
@@ -904,7 +917,7 @@ Have fun!
% \ExplOpt[\Cmd{raggedleft}]{frametitlealignment}
% Align the \Opt{frametitle}. This option must be set via \Cmd{mdfsetup}.
% \ExplOpt[false]{frametitlerule}
-% Set this key to \Opt{false} to get no line between the frame title
+% Set this key to \Opt{true} to get a line between the frame title
% and the text.
% \ExplOpt[.2pt]{frametitlerulewidth}
% Sets the width of the line between the text and the title of \Env{mdframed}.
@@ -980,12 +993,12 @@ Have fun!
% \iffalse
%</example>
% \fi
-% How you can see the arguments are equal to \Cmd{newtheorem} but the
+% As you can see the arguments are equal to \Cmd{newtheorem} but the
% command ignores every \Cmd{theoremstyle}. This is based on the following
% behavior.
%
-% The command \Cmd{mdtheorem} creates two environment based on the given
-% first mandotory argument. The first environment is named like the given
+% The command \Cmd{mdtheorem} creates two environments based on the given
+% first mandatory argument. The first environment is named like the given
% argument and creates a numbered theorem. The second environment is named
% like the first mandatory argument with a star. This environment has the
% same formating but isn't numbered.
@@ -996,7 +1009,7 @@ Have fun!
%<*example>
% \fi
\begin{tltxmdfexample}[deletekeywords={mdframed}]
- \begin{environemt}[optional title]
+ \begin{environment}[optional title]
...
\end{environment}
\end{tltxmdfexample}
@@ -1004,8 +1017,8 @@ Have fun!
%</example>
% \fi
% What happened? The caption of the command will be set as the frame title.
-% In this way all option of the frametitle are available. Furthermore
-% \Pack{mdframed} provided additional options explained below.
+% In this way all options of the frame title are available. Furthermore
+% \Pack{mdframed} provides additional options explained below.
%
% \ExplOpt[\{:\}]{theoremseparator}
% Sets the separator of the caption and the title of the theorem.
@@ -1029,7 +1042,7 @@ Have fun!
% at the end of the environment \Pack{mdframed}.
%
% \ExplOpt[\mbox{} \Cmd{bigskipamount}]{footnotedistance}
-% The length is the distance between the end of the environement
+% The length is the distance between the end of the environment
% \Pack{mdframed} and the displaying of the \Cmd{footnoterule}.
% \ExplOpt[true]{footnoteinside}
% The position of the footnotes can be changed with the option
@@ -1066,7 +1079,7 @@ Have fun!
% \TeX Maker or \TeX Studio have a special tab for errors and warnings
% but not for messages. So you should look in the \texttt{log-File} itself.
%
-% The followings errors and warnings are generated by \Pack{mdframed}.
+% The following errors and warnings are generated by \Pack{mdframed}.
%
% \iffalse
%<*example>
@@ -1126,7 +1139,7 @@ Have fun!
%</example>
% \fi
% The package \Pack{mdframed} calculates the width of the contents
-% based on the given options. If the width of the contents smaller than
+% based on the given options. If the width of the contents is smaller than
% 3\,cm you will get this warnings. You should change the
% settings to get a greater width.
%
@@ -1214,14 +1227,14 @@ Have fun!
% with \Pack{mdframed} with the whole option list.
% \item Create new styles.
% \item Improve page breaks.
-% \item Improve footnotes
-% \item Improve documentation and examples
-% \item Create styles for \Opt{frametitle}
+% \item Improve footnotes.
+% \item Improve documentation and examples.
+% \item Create styles for \Opt{frametitle}.
% \end{enumerate}
%
% \section{Acknowledgements}
-% \textsf{Dick Nickalls;\quad Dietrich Grau;\quad Piazza Luca;\quad Jobst Hoffmann
-% \quad Martin Scharrer;\quad Enrico Gregorio\quad Heiko Oberdiek;
+% \textsf{Dick Nickalls;\quad Dietrich Grau;\quad Piazza Luca;\quad Jobst Hoffmann;
+% \quad Martin Scharrer;\quad Enrico Gregorio;\quad Heiko Oberdiek;
% \quad Philipp Stephani}.
% \medskip
%
@@ -1391,6 +1404,18 @@ Have fun!
%
% \subsection{Revision history}\label{rev}
% \raggedright
+% \minisec{Version 1.3a submitted 5 Feb 2012}
+% \begin{itemize*}
+% \item fixed bug (Thanks to Dietrich Grau)
+% \end{itemize*}
+%
+% \minisec{Version 1.3 submitted 4 Feb 2012}
+% \begin{itemize*}
+% \item fixed documentation (Thanks to Dietrich Grau)
+% \item added option \Opt{shadow}
+% \item improved handling \Cmd{parindent} and \Cmd{parskip} (Thanks to Enrico Gregorio and Joseph Wright)
+% \end{itemize*}
+%
% \minisec{Version 1.2 submitted 8 Jan 2012}
% \begin{itemize*}
% \item fixed documentation (Thanks to Dietrich Grau)
@@ -1538,14 +1563,14 @@ Have fun!
%
% \subsection{The Explanation of mdframed.sty}
%
-% %$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
-% %$Rev: 320 $
+% %$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
+% %$Rev: 344 $
% %$Author: marco $
-% %$Date: 2012-01-09 19:44:33 +0100 (Mo, 09. Jan 2012) $
+% %$Date: 2012-02-05 00:50:02 +0100 (So, 05. Feb 2012) $
% \begin{macro}{mdversion,mdframedpackagename,mdf@maindate@svn}
% Set package information
% \begin{macrocode}
-\def\mdversion{v1.2a}
+\def\mdversion{v1.3a}
\def\mdframedpackagename{mdframed}
\def\mdf@maindate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
% \end{macrocode}
@@ -1554,7 +1579,7 @@ Have fun!
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mdframed}%
- [\mdf@maindate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $%
+ [\mdf@maindate@svn$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $%
\mdversion: \mdframedpackagename]
% \end{macrocode}
%
@@ -1796,6 +1821,7 @@ Have fun!
{frametitlerulewidth==.2pt},
{frametitleleftmargin==10pt},%
{frametitlerightmargin==10pt},%
+ {shadowsize==8pt},%
}
% \end{macrocode}
% \end{macro}
@@ -1816,6 +1842,7 @@ Have fun!
{psroundlinecolor==\mdf@backgroundcolor},%
{frametitlerulecolor==\mdf@linecolor},
{frametitlebackgroundcolor==\mdf@backgroundcolor},%
+ {shadowcolor==black!50},%
{settings=={}},%
{frametitlesettings=={}},%
{font=={}},%
@@ -1831,6 +1858,7 @@ Have fun!
% \end{macrocode}
% \end{macro}
% \changes{v1.1beta}{2011/12/17}{Added option \protect\Opt{usetwoside}}
+% \changes{v1.3}{2012/02/04}{Added option \protect\Opt{shadow}}
% \begin{macro}{mdf@do@booloption}
% Here the declaration of the string option. The input method is explained above.
% \begin{macrocode}
@@ -1850,6 +1878,7 @@ Have fun!
{footnoteinside==true},%
{usetwoside==true},%
{repeatframetitle==false},%Noch nicht richtig implementiert
+ {shadow==false},%
}
% \end{macrocode}
% \end{macro}
@@ -2044,10 +2073,11 @@ Have fun!
%
% \changes{v1.0b}{2011/11/26}{added command \protect\Cmd{@parboxrestore} to \protect\Cmd{mdf@lrbox}}
% \changes{v1.1release}{2012/01/03}{changed definition of \protect\Cmd{mdf@lrbox} (Thanks Lars Madsen)}
-% \changes{v1.1release}{2012/01/06}{expand definition of \protect\Cmd{mdf@lrbox} by \protect\Cmd{mdf@restoreparams}}
+% \changes{v1.3a}{2012/02/05}{fixes bug with \protect\Cmd{@doendpe} (Thanks Dietrich Grau)}
% \begin{macro}{mdf@lrbox,endmdf@lrbox}
% Modification of the default |\lrbox| and |\endlrbox|
% \begin{macrocode}
+
\def\mdf@lrbox#1{%
%%patch to work with amsthm
\mdf@patchamsthm
@@ -2055,28 +2085,20 @@ Have fun!
\edef\mdf@restoreparams{%
\parindent=\the\parindent \parskip=\the\parskip}
\setbox#1\vbox\bgroup
- \begingroup
+ \color@begingroup%
\mdf@horizontalmargin@equation%
- \color@setgroup%
- \hsize=\mdf@horizontalspaceofbox%
\columnwidth=\hsize%
\textwidth=\hsize%
- \let\if@nobreak\iffalse
- \let\if@noskipsec\iffalse
- \let\par\@@par
- \let\-\@dischyph
- \let\'\@acci\let\`\@accii\let\=\@acciii
- \parindent\z@ \parskip\z@skip
- \linewidth\hsize
- \@totalleftmargin\z@
- \leftskip\z@skip \rightskip\z@skip
- \parfillskip\@flushglue \lineskip\normallineskip%
- \baselineskip\normalbaselineskip%
- \everypar{\mdf@restoreparams}\ignorespaces%
+ \@parboxrestore%
+ \mdf@restoreparams%
+ %SETZE
+ \@afterindentfalse%
+ \@afterheading%
+ %STREICHE
+ %\@doendpe
}
-
-\def\endmdf@lrbox{\endgroup\unskip\color@endgroup\egroup}
+\def\endmdf@lrbox{\color@endgroup\egroup}
% \end{macrocode}
% \end{macro}
@@ -2112,6 +2134,7 @@ Have fun!
%
% \changes{v1.1release}{2012/01/07}{Added \protect\Cmd{mbox} to the definition.
% \protect\Cmd{item}\protect\Cmd{mbox}\protect\Cmd{relax} -- Need for amsthm}
+% \changes{v1.3}{2012/02/04}{Use now \protect\Cmd{item}\protect\Cmd{mbox}\protect\Cmd{relax}}
% \begin{macro}{mdf@trivlist,endmdf@trivlist}
% Modification of the default |\trivlist| and |\endtrivlist|.
% \begin{macrocode}
@@ -2126,9 +2149,9 @@ Have fun!
\itemindent\z@%
\let\@itemlabel\@empty%
\def\makelabel##1{##1}%
- \item\leavevmode\hrule \@height\z@ \@width\linewidth\relax%
+%% \item\leavevmode\hrule \@height\z@ \@width\linewidth\relax%
%% \item\mbox{}\relax% second version
-%% \item\relax% first Version
+ \item\relax% first Version
}
\let\endmdf@trivlist\endtrivlist
\patchcmd\endmdf@trivlist\@endparenv\mdf@endparenv{}{}
@@ -2623,8 +2646,8 @@ Have fun!
% \begin{macro}{mdf@freepagevspace}
% \begin{macrocode}
\newrobustcmd*\mdf@freepagevspace{%
- \penalty\@M \vskip 2\baselineskip \vskip\height
- \penalty9999 \vskip -2\baselineskip \vskip-\height
+ \penalty\@M \vskip 2\baselineskip
+ \penalty9999 \vskip -2\baselineskip
\penalty9999
\ifdimequal{\pagegoal}{\maxdimen}%
{\mdf@freevspace@length\vsize}%
@@ -3084,8 +3107,9 @@ Have fun!
%% 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 $
%
% \end{macrocode}
%
@@ -3095,7 +3119,7 @@ Have fun!
\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]
% \end{macrocode}
% \end{macro}
@@ -3106,6 +3130,7 @@ Have fun!
% \begin{macrocode}
\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}}
@@ -3133,11 +3158,24 @@ Have fun!
% The frame of of a non splitted contents of mdframed
% \begin{macrocode}
\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%
@@ -3220,8 +3258,8 @@ Have fun!
\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}{%
@@ -3241,6 +3279,17 @@ Have fun!
% The first frame of of a splitted contents of mdframed
% \begin{macrocode}
\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}%
@@ -3342,6 +3391,18 @@ Have fun!
% The last frame of of a splitted contents of mdframed
% \begin{macrocode}
\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}%
@@ -3405,9 +3466,9 @@ Have fun!
\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}{%
@@ -3433,6 +3494,16 @@ Have fun!
}%
}%
\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}%
@@ -3516,8 +3587,9 @@ Have fun!
%% 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 $
%
% \end{macrocode}
% \changes{v1.1beta}{2011/12/16}{added lost semicolons}
@@ -3527,7 +3599,7 @@ Have fun!
\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]
%
% \end{macrocode}
@@ -3566,6 +3638,12 @@ Have fun!
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={}}%
% nur wenn middlelinewidth>0 wird mittlere Linie gezeichnet
@@ -3675,7 +3753,6 @@ Have fun!
\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}%
@@ -3712,6 +3789,10 @@ Have fun!
\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)}}{}%
@@ -3870,7 +3951,6 @@ Have fun!
\mdf@makebox@in[\mdfboundingboxwidth]{%
\null%
\begin{tikzpicture}[remember picture]
- \begin{scope}
%
\pgfmathsetlengthmacro\mdf@Ax{+\mdf@innerleftmargin@length}%
\pgfmathsetlengthmacro\mdf@Ay{+\mdf@splitbottomskip@length}%
@@ -3898,6 +3978,10 @@ Have fun!
\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)}}%
{}%
@@ -3994,7 +4078,6 @@ Have fun!
\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}%
@@ -4018,6 +4101,10 @@ Have fun!
\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})}%
@@ -4032,6 +4119,7 @@ Have fun!
\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%
@@ -4099,7 +4187,6 @@ Have fun!
\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}%
@@ -4131,6 +4218,10 @@ Have fun!
\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)}}%
{}%
@@ -4161,6 +4252,7 @@ Have fun!
\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%
@@ -4190,8 +4282,9 @@ Have fun!
%% 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 $
%
% \end{macrocode}
%
@@ -4201,7 +4294,7 @@ Have fun!
\def\mdframedIIpackagename{md-frame-2}
\def\mdf@frameIIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\ProvidesFile{md-frame-2.mdf}%
- [\mdf@frameIIdate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $ %
+ [\mdf@frameIIdate@svn$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $ %
\mdversion: \mdframedIIpackagename]
% \end{macrocode}
% \end{macro}
@@ -4255,6 +4348,7 @@ Have fun!
}}{}%
%
\newpsstyle{mdfmiddlelinestyle}{linestyle=none}%
+ \newpsstyle{mdfshadow}{shadow=true,shadowcolor=\mdf@shadowcolor,shadowsize=\mdf@shadowsize@length}%
\ifdimgreater{\mdf@middlelinewidth@length}{\z@}%
{\newpsstyle{mdfmiddlelinestyle}{%
linewidth=\mdf@middlelinewidth@length,%
@@ -4436,6 +4530,8 @@ Have fun!
\nodexn{(mdf@P)-(0,\mdf@outerlinewidth@length)
-0.5(0,\mdf@middlelinewidth@length)}{mdf@P}
}{}%
+ \ifbool{mdf@shadow}
+ {\psframe[style=mdfshadow](mdf@O)(mdf@P)}{}
% \psclip{%
%Four lines
\mdf@test@ltrb{\mdf@pstricksbox@fl{mdf@O}{mdf@P}}{}
@@ -4567,6 +4663,13 @@ Have fun!
\nodexn{(mdf@P)-(0,\mdf@outerlinewidth@length)
-0.5(0,\mdf@middlelinewidth@length)}{mdf@P}
}{}%
+ \ifbool{mdf@shadow}
+ {\pscustom[style=mdfshadow,linestyle=none]{%
+ \psline[linejoin=2,linecap=1,](mdf@P|mdf@O)(mdf@P)(mdf@O|mdf@P)%
+ \psline[linejoin=2,linecap=1,linearc=\z@](mdf@O|mdf@P)(mdf@O)(mdf@P|mdf@O)
+ \closedshadow
+ }
+ }{}
% \psclip{
%Four or Three lines
\ifboolexpr{test {\mdf@test@ltrb} or test {\mdf@test@ltr}}%
@@ -4698,6 +4801,9 @@ Have fun!
-0.5(\mdf@middlelinewidth@length,0)}{mdf@P}
}{}%
%%
+ %%
+ \ifbool{mdf@shadow}
+ {\psframe[style=mdfshadow](mdf@O)(mdf@P)}{}
\ifboolexpr{bool {mdf@leftline} and bool {mdf@rightline}}%
{\mdf@pstricksbox@tncl{(mdf@O|mdf@P)}{(mdf@P|mdf@O)}}{}%
\ifboolexpr{bool {mdf@leftline} and not (bool {mdf@rightline})}%
@@ -4803,6 +4909,14 @@ Have fun!
\nodexn{(mdf@O)+(0,\mdf@outerlinewidth@length)
+0.5(0,\mdf@middlelinewidth@length)}{mdf@O}
}{}%
+ %%
+ \ifbool{mdf@shadow}
+ {\pscustom[style=mdfshadow,linestyle=none]{%
+ \psline[linejoin=2,linecap=1,](mdf@O|mdf@P)(mdf@O)(mdf@P|mdf@O)(mdf@P)%
+ \psline[linejoin=2,linecap=1,linearc=\z@](mdf@O|mdf@P)(mdf@P)
+ \closedshadow
+ }
+ }{}
%Four + Three
\ifboolexpr{test {\mdf@test@ltrb} or test {\mdf@test@lrb}}%
{\mdf@pstricksbox@tl{(mdf@O|mdf@P)(mdf@O)(mdf@P|mdf@O)(mdf@P)}}{}%
@@ -4885,10 +4999,10 @@ Have fun!
%
% \begin{macrocode}
%Documenation of the package mdframed
-%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\ltxmdfsetifoot $Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -4899,6 +5013,7 @@ Have fun!
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\date{\mdfdateID$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $}
\version{\mdversion}
\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
Some presented examples are more or less exorbitant.}
@@ -5101,10 +5216,11 @@ The example below is inspired by the following post on StackExchange \href{http:
%
% \begin{macrocode}
%Documenation of the package mdframed
-%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\ltxmdfsetifoot $Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
+
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -5115,6 +5231,7 @@ The example below is inspired by the following post on StackExchange \href{http:
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\date{\mdfdateID$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $}
\version{\mdversion}
\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
Some presented examples are more or less exorbitant.}
@@ -5353,10 +5470,10 @@ color(100bp)=(black!5)}
%
% \begin{macrocode}
%Documenation of the package mdframed
-%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\ltxmdfsetifoot$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\ltxmdfsetifoot$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\lstDeleteShortInline{|}
\newcommand\Loadedframemethod{PSTricks}
@@ -5368,6 +5485,7 @@ color(100bp)=(black!5)}
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\date{\mdfdateID$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $}
\version{\mdversion}
\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
Some presented examples are more or less exorbitant.}
@@ -5461,6 +5579,19 @@ function of the independent variables alone.
\ExampleText
\end{mdframed}
\end{LTXexample}
+
+\Examplesec{Shadow frame}
+\begin{LTXexample}
+\newmdenv[shadow=true,
+ shadowsize=11pt,
+ linewidth=8pt,
+ frametitlerule=true,
+ roundcorner=10pt,
+ ]{myshadowbox}
+\begin{myshadowbox}[frametitle={Inhomogeneous linear}]
+\ExampleText
+\end{myshadowbox}
+\end{LTXexample}
\end{document}
\endinput
% \end{macrocode}
@@ -5481,10 +5612,11 @@ function of the independent variables alone.
% \begin{macrocode}
%Documenation of the package mdframed
-%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+%%$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt,ltxlipsum]{ltxmdf}
-\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\ltxmdfsetifoot $Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $
+
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -5495,6 +5627,7 @@ function of the independent variables alone.
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\date{\mdfdateID$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $}
\version{\mdversion}
\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
Some presented examples are more or less exorbitant.}
diff --git a/Master/texmf-dist/source/latex/mdframed/mdframed.ins b/Master/texmf-dist/source/latex/mdframed/mdframed.ins
index a33cfa88416..4189d285ad3 100644
--- a/Master/texmf-dist/source/latex/mdframed/mdframed.ins
+++ b/Master/texmf-dist/source/latex/mdframed/mdframed.ins
@@ -96,3 +96,4 @@ Have fun!
\Msg{* Happy TeXing!}
\Msg{*********************************************************}
\endbatchfile
+%% CheckSum{5147}
diff --git a/Master/texmf-dist/tex/latex/mdframed/ltxmdf.cls b/Master/texmf-dist/tex/latex/mdframed/ltxmdf.cls
index 08bef6252b0..e72cb7c1b17 100644
--- a/Master/texmf-dist/tex/latex/mdframed/ltxmdf.cls
+++ b/Master/texmf-dist/tex/latex/mdframed/ltxmdf.cls
@@ -8,15 +8,17 @@
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
-%%$Id: ltxmdf.cls 311 2012-01-08 12:17:24Z marco $
-%%$Rev: 311 $
+
+%%$Id: ltxmdf.cls 337 2012-02-04 11:21:26Z marco $
+%%$Rev: 337 $
%%$Author: marco $
-%%$Date: 2012-01-08 13:17:24 +0100 (So, 08. Jan 2012) $
+%%$Date: 2012-02-04 12:21:26 +0100 (Sa, 04. Feb 2012) $
+
%% Allgemeine Angaben
\def\ltxmdf@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ltxmdf}[\ltxmdf@svn$Id: ltxmdf.cls 311 2012-01-08 12:17:24Z marco $ ltxmdf]
+\ProvidesPackage{ltxmdf}[\ltxmdf@svn$Id: ltxmdf.cls 337 2012-02-04 11:21:26Z marco $ ltxmdf]
\DeclareOption{tocdepthsec}{\def\ltxmdf@tocdepth{1}}
\DeclareOption{tocdepthsub}{\def\ltxmdf@tocdepth{2}}
\newif\ifltxmdf@lipsum
@@ -92,7 +94,9 @@
\def\ltxmdfsetifoot$#1: #2 #3 #4-#5-#6 #7 #8${%
\ifoot{#2 #3 #4-#5-#6 #7 #8}
}
-\ltxmdfsetifoot$Id: ltxmdf.cls 311 2012-01-08 12:17:24Z marco $
+
+\ltxmdfsetifoot$Id: ltxmdf.cls 337 2012-02-04 11:21:26Z marco $
+
%Tikz und Farbe
@@ -168,7 +172,9 @@
\def\version#1{\def\@version{#1}}
\def\date#1{\def\@date{#1}}
\def\@@date$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6}
-\date{\@@date$Id: ltxmdf.cls 311 2012-01-08 12:17:24Z marco $}
+\date{\@@date$Id: ltxmdf.cls 337 2012-02-04 11:21:26Z marco $}
+\let\mdfdateID\@@date
+
\long\def\introduction#1{\def\@introduction{#1}}
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}%
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%
diff --git a/Master/texmf-dist/tex/latex/mdframed/md-frame-2.mdf b/Master/texmf-dist/tex/latex/mdframed/md-frame-2.mdf
index 3c58e3dd762..ed1f87e6195 100644
--- a/Master/texmf-dist/tex/latex/mdframed/md-frame-2.mdf
+++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-2.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\mdframedIIpackagename{md-frame-2}
\def\mdf@frameIIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\ProvidesFile{md-frame-2.mdf}%
- [\mdf@frameIIdate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $ %
+ [\mdf@frameIIdate@svn$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $ %
\mdversion: \mdframedIIpackagename]
\def\mdf@ptlength@to@pscode#1{\pst@number{#1} \pst@number\psxunit div }
\def\mdf@ptlength@to@pscode@length#1{\pst@number{\csname mdf@#1@length\endcsname} \pst@number\psxunit div }
@@ -46,6 +48,7 @@
dimen=middle,
}}{}%
\newpsstyle{mdfmiddlelinestyle}{linestyle=none}%
+ \newpsstyle{mdfshadow}{shadow=true,shadowcolor=\mdf@shadowcolor,shadowsize=\mdf@shadowsize@length}%
\ifdimgreater{\mdf@middlelinewidth@length}{\z@}%
{\newpsstyle{mdfmiddlelinestyle}{%
linewidth=\mdf@middlelinewidth@length,%
@@ -207,6 +210,8 @@
\nodexn{(mdf@P)-(0,\mdf@outerlinewidth@length)
-0.5(0,\mdf@middlelinewidth@length)}{mdf@P}
}{}%
+ \ifbool{mdf@shadow}
+ {\psframe[style=mdfshadow](mdf@O)(mdf@P)}{}
%Four lines
\mdf@test@ltrb{\mdf@pstricksbox@fl{mdf@O}{mdf@P}}{}
%three lines
@@ -325,6 +330,13 @@
\nodexn{(mdf@P)-(0,\mdf@outerlinewidth@length)
-0.5(0,\mdf@middlelinewidth@length)}{mdf@P}
}{}%
+ \ifbool{mdf@shadow}
+ {\pscustom[style=mdfshadow,linestyle=none]{%
+ \psline[linejoin=2,linecap=1,](mdf@P|mdf@O)(mdf@P)(mdf@O|mdf@P)%
+ \psline[linejoin=2,linecap=1,linearc=\z@](mdf@O|mdf@P)(mdf@O)(mdf@P|mdf@O)
+ \closedshadow
+ }
+ }{}
%Four or Three lines
\ifboolexpr{test {\mdf@test@ltrb} or test {\mdf@test@ltr}}%
{\mdf@pstricksbox@tl{(mdf@O)(mdf@O|mdf@P)(mdf@P)(mdf@P|mdf@O)}}%
@@ -443,6 +455,9 @@
-0.5(\mdf@middlelinewidth@length,0)}{mdf@P}
}{}%
%%
+ %%
+ \ifbool{mdf@shadow}
+ {\psframe[style=mdfshadow](mdf@O)(mdf@P)}{}
\ifboolexpr{bool {mdf@leftline} and bool {mdf@rightline}}%
{\mdf@pstricksbox@tncl{(mdf@O|mdf@P)}{(mdf@P|mdf@O)}}{}%
\ifboolexpr{bool {mdf@leftline} and not (bool {mdf@rightline})}%
@@ -538,6 +553,14 @@
\nodexn{(mdf@O)+(0,\mdf@outerlinewidth@length)
+0.5(0,\mdf@middlelinewidth@length)}{mdf@O}
}{}%
+ %%
+ \ifbool{mdf@shadow}
+ {\pscustom[style=mdfshadow,linestyle=none]{%
+ \psline[linejoin=2,linecap=1,](mdf@O|mdf@P)(mdf@O)(mdf@P|mdf@O)(mdf@P)%
+ \psline[linejoin=2,linecap=1,linearc=\z@](mdf@O|mdf@P)(mdf@P)
+ \closedshadow
+ }
+ }{}
%Four + Three
\ifboolexpr{test {\mdf@test@ltrb} or test {\mdf@test@lrb}}%
{\mdf@pstricksbox@tl{(mdf@O|mdf@P)(mdf@O)(mdf@P|mdf@O)(mdf@P)}}{}%
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 3c58e3dd762..ed1f87e6195 100644
--- a/Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf
+++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-3.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\mdframedIIpackagename{md-frame-2}
\def\mdf@frameIIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\ProvidesFile{md-frame-2.mdf}%
- [\mdf@frameIIdate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $ %
+ [\mdf@frameIIdate@svn$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $ %
\mdversion: \mdframedIIpackagename]
\def\mdf@ptlength@to@pscode#1{\pst@number{#1} \pst@number\psxunit div }
\def\mdf@ptlength@to@pscode@length#1{\pst@number{\csname mdf@#1@length\endcsname} \pst@number\psxunit div }
@@ -46,6 +48,7 @@
dimen=middle,
}}{}%
\newpsstyle{mdfmiddlelinestyle}{linestyle=none}%
+ \newpsstyle{mdfshadow}{shadow=true,shadowcolor=\mdf@shadowcolor,shadowsize=\mdf@shadowsize@length}%
\ifdimgreater{\mdf@middlelinewidth@length}{\z@}%
{\newpsstyle{mdfmiddlelinestyle}{%
linewidth=\mdf@middlelinewidth@length,%
@@ -207,6 +210,8 @@
\nodexn{(mdf@P)-(0,\mdf@outerlinewidth@length)
-0.5(0,\mdf@middlelinewidth@length)}{mdf@P}
}{}%
+ \ifbool{mdf@shadow}
+ {\psframe[style=mdfshadow](mdf@O)(mdf@P)}{}
%Four lines
\mdf@test@ltrb{\mdf@pstricksbox@fl{mdf@O}{mdf@P}}{}
%three lines
@@ -325,6 +330,13 @@
\nodexn{(mdf@P)-(0,\mdf@outerlinewidth@length)
-0.5(0,\mdf@middlelinewidth@length)}{mdf@P}
}{}%
+ \ifbool{mdf@shadow}
+ {\pscustom[style=mdfshadow,linestyle=none]{%
+ \psline[linejoin=2,linecap=1,](mdf@P|mdf@O)(mdf@P)(mdf@O|mdf@P)%
+ \psline[linejoin=2,linecap=1,linearc=\z@](mdf@O|mdf@P)(mdf@O)(mdf@P|mdf@O)
+ \closedshadow
+ }
+ }{}
%Four or Three lines
\ifboolexpr{test {\mdf@test@ltrb} or test {\mdf@test@ltr}}%
{\mdf@pstricksbox@tl{(mdf@O)(mdf@O|mdf@P)(mdf@P)(mdf@P|mdf@O)}}%
@@ -443,6 +455,9 @@
-0.5(\mdf@middlelinewidth@length,0)}{mdf@P}
}{}%
%%
+ %%
+ \ifbool{mdf@shadow}
+ {\psframe[style=mdfshadow](mdf@O)(mdf@P)}{}
\ifboolexpr{bool {mdf@leftline} and bool {mdf@rightline}}%
{\mdf@pstricksbox@tncl{(mdf@O|mdf@P)}{(mdf@P|mdf@O)}}{}%
\ifboolexpr{bool {mdf@leftline} and not (bool {mdf@rightline})}%
@@ -538,6 +553,14 @@
\nodexn{(mdf@O)+(0,\mdf@outerlinewidth@length)
+0.5(0,\mdf@middlelinewidth@length)}{mdf@O}
}{}%
+ %%
+ \ifbool{mdf@shadow}
+ {\pscustom[style=mdfshadow,linestyle=none]{%
+ \psline[linejoin=2,linecap=1,](mdf@O|mdf@P)(mdf@O)(mdf@P|mdf@O)(mdf@P)%
+ \psline[linejoin=2,linecap=1,linearc=\z@](mdf@O|mdf@P)(mdf@P)
+ \closedshadow
+ }
+ }{}
%Four + Three
\ifboolexpr{test {\mdf@test@ltrb} or test {\mdf@test@lrb}}%
{\mdf@pstricksbox@tl{(mdf@O|mdf@P)(mdf@O)(mdf@P|mdf@O)(mdf@P)}}{}%
diff --git a/Master/texmf-dist/tex/latex/mdframed/mdframed.sty b/Master/texmf-dist/tex/latex/mdframed/mdframed.sty
index 0b54ecc3ea3..a0e56bcaf65 100644
--- a/Master/texmf-dist/tex/latex/mdframed/mdframed.sty
+++ b/Master/texmf-dist/tex/latex/mdframed/mdframed.sty
@@ -48,12 +48,13 @@
%% >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
%% ==================================================
%%
-\def\mdversion{v1.2a}
+%% CheckSum{5147}
+\def\mdversion{v1.3a}
\def\mdframedpackagename{mdframed}
\def\mdf@maindate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mdframed}%
- [\mdf@maindate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $%
+ [\mdf@maindate@svn$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $%
\mdversion: \mdframedpackagename]
\newcommand*\mdf@PackageWarning[1]{\PackageWarning{\mdframedpackagename}{#1}}
\newcommand*\mdf@PackageInfo[1]{\PackageInfo{\mdframedpackagename}{#1}}
@@ -206,6 +207,7 @@
{frametitlerulewidth==.2pt},
{frametitleleftmargin==10pt},%
{frametitlerightmargin==10pt},%
+ {shadowsize==8pt},%
}
\mdf@dolist{\mdf@do@stringoption}{%
{frametitle=={}},%
@@ -220,6 +222,7 @@
{psroundlinecolor==\mdf@backgroundcolor},%
{frametitlerulecolor==\mdf@linecolor},
{frametitlebackgroundcolor==\mdf@backgroundcolor},%
+ {shadowcolor==black!50},%
{settings=={}},%
{frametitlesettings=={}},%
{font=={}},%
@@ -248,6 +251,7 @@
{footnoteinside==true},%
{usetwoside==true},%
{repeatframetitle==false},%Noch nicht richtig implementiert
+ {shadow==false},%
}
\mdf@dolist{\mdf@do@alignoption}{%
{left==\mdf@leftmargin@length==\z@},%
@@ -377,6 +381,7 @@
\newrobustcmd\mdfcreateextratikz{}
+
\def\mdf@lrbox#1{%
%%patch to work with amsthm
\mdf@patchamsthm
@@ -384,27 +389,20 @@
\edef\mdf@restoreparams{%
\parindent=\the\parindent \parskip=\the\parskip}
\setbox#1\vbox\bgroup
- \begingroup
+ \color@begingroup%
\mdf@horizontalmargin@equation%
- \color@setgroup%
- \hsize=\mdf@horizontalspaceofbox%
\columnwidth=\hsize%
\textwidth=\hsize%
- \let\if@nobreak\iffalse
- \let\if@noskipsec\iffalse
- \let\par\@@par
- \let\-\@dischyph
- \let\'\@acci\let\`\@accii\let\=\@acciii
- \parindent\z@ \parskip\z@skip
- \linewidth\hsize
- \@totalleftmargin\z@
- \leftskip\z@skip \rightskip\z@skip
- \parfillskip\@flushglue \lineskip\normallineskip%
- \baselineskip\normalbaselineskip%
- \everypar{\mdf@restoreparams}\ignorespaces%
+ \@parboxrestore%
+ \mdf@restoreparams%
+ %SETZE
+ \@afterindentfalse%
+ \@afterheading%
+ %STREICHE
+ %\@doendpe
}
-\def\endmdf@lrbox{\endgroup\unskip\color@endgroup\egroup}
+\def\endmdf@lrbox{\color@endgroup\egroup}
\newrobustcmd*\mdf@ignorevbadness{%
\edef\mdf@currentvbadness{\the\vbadness}%
@@ -428,9 +426,9 @@
\itemindent\z@%
\let\@itemlabel\@empty%
\def\makelabel##1{##1}%
- \item\leavevmode\hrule \@height\z@ \@width\linewidth\relax%
+%% \item\leavevmode\hrule \@height\z@ \@width\linewidth\relax%
%% \item\mbox{}\relax% second version
-%% \item\relax% first Version
+ \item\relax% first Version
}
\let\endmdf@trivlist\endtrivlist
\patchcmd\endmdf@trivlist\@endparenv\mdf@endparenv{}{}
@@ -779,8 +777,8 @@
\iftoggle{md:checktwoside}{\mdf@zref@label\if@mdf@pageodd}{}%
}
\newrobustcmd*\mdf@freepagevspace{%
- \penalty\@M \vskip 2\baselineskip \vskip\height
- \penalty9999 \vskip -2\baselineskip \vskip-\height
+ \penalty\@M \vskip 2\baselineskip
+ \penalty9999 \vskip -2\baselineskip
\penalty9999
\ifdimequal{\pagegoal}{\maxdimen}%
{\mdf@freevspace@length\vsize}%