summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mdframed
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-12 23:19:23 +0000
committerKarl Berry <karl@freefriends.org>2012-01-12 23:19:23 +0000
commitc5c6b35b4250a3d62b639f7ca13f6111193abf0c (patch)
treec1eeba19134298ad8bb768af62843208687c2638 /Master/texmf-dist/doc/latex/mdframed
parent8bffef2b7d7683ba0cb697af5a891b9507ad8cb2 (diff)
mdframed (10jan12)
git-svn-id: svn://tug.org/texlive/trunk@25091 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/mdframed')
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/Makefile134
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdfbin272619 -> 272854 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex197
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdfbin71522 -> 71520 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex110
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdfbin215105 -> 215163 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex133
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdfbin274296 -> 274311 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex234
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed.pdfbin772818 -> 773180 bytes
-rwxr-xr-xMaster/texmf-dist/doc/latex/mdframed/mdframedmake.bat32
11 files changed, 674 insertions, 166 deletions
diff --git a/Master/texmf-dist/doc/latex/mdframed/Makefile b/Master/texmf-dist/doc/latex/mdframed/Makefile
deleted file mode 100644
index 661e153e91a..00000000000
--- a/Master/texmf-dist/doc/latex/mdframed/Makefile
+++ /dev/null
@@ -1,134 +0,0 @@
-################################################################
-## Makefile for mdframed project folder
-## $Id: Makefile 313 2012-01-08 12:51:10Z marco $
-################################################################
-## Definitions
-################################################################
-.SILENT:
-SHELL := /bin/bash
-.PHONY: all clean
-################################################################
-## Name list
-################################################################
-PACKAGE = mdframed
-EXAMPLED = mdframed-example-default
-EXAMPLET = mdframed-example-tikz
-EXAMPLEP = mdframed-example-pstricks
-EXAMPLESX = mdframed-example-texsx
-EXAMPLLIST= $(EXAMPLED) $(EXAMPLET) $(EXAMPLEP) $(EXAMPLESX)
-FILELIST = $(PACKAGE) $(EXAMPLED) $(EXAMPLET) $(EXAMPLEP) $(EXAMPLESX)
-AUXFILES = aux dtxe glo glolog gls hd ins idx idxlog ilg ind log out ps thm tmp toc
-################################################################
-## Colordefinition
-################################################################
-NO_COLOR = \x1b[0m
-OK_COLOR = \x1b[32;01m
-WARN_COLOR = \x1b[33;01m
-ERROR_COLOR = \x1b[31;01m
-################################################################
-## make help
-################################################################
-help:
- @echo
- @echo -e "$(WARN_COLOR)The following definitions provided by this Makefile"
- @echo -e "$(OK_COLOR)\tmake docsty\t\t--\ttypesets the documenation and the package"
- @echo -e "$(OK_COLOR)\tmake all\t\t--\trun docsty examples clean"
- @echo -e "\tmake examples\t\t--\tcompiles all example files"
- @echo -e "\tmake clean\t\t--\tremove all helpfiles created by mdframed"
- @echo -e "\tmake changeversion\t--\tmaintaner tool to change the version"
- @echo -e "$(WARN_COLOR)End help$(NO_COLOR)"
-
-################################################################
-## Compilation
-################################################################
-%.pdf: %.tex
- NAME=`basename $< .tex` ;\
- echo -e "" ;\
- echo -e "\t$(ERROR_COLOR)Typesetting $$NAME$(NO_COLOR)" ;\
- pdflatex -draftmode -interaction=nonstopmode $< > /dev/null ;\
- if [ $$? = 0 ] ; then \
- echo -e "\t$(OK_COLOR)compilation in draftmode without erros$(NO_COLOR)" ;\
- echo -e "\t$(OK_COLOR)Run PDFLaTeX again on $$NAME.tex$(NO_COLOR)" ;\
- pdflatex -interaction=nonstopmode $< > /dev/null ;\
- else \
- echo -e "\t$(ERROR_COLOR)compilation in draftmode with erros$(NO_COLOR)" ;\
- exit 0;\
- fi ;\
- echo -e "\t$(OK_COLOR)Typesetting $$NAME finished $(NO_COLOR)" ;\
-
-%.ps: %.tex
- NAME=`basename $< .tex` ;\
- echo -e "" ;\
- echo -e "\t$(ERROR_COLOR)Typesetting $$NAME$(NO_COLOR)" ;\
- latex -draftmode -interaction=nonstopmode $< > /dev/null ;\
- if [ $$? = 0 ] ; then \
- echo -e "\t$(OK_COLOR)compilation in draftmode without erros$(NO_COLOR)" ;\
- echo -e "\t$(OK_COLOR)Run LaTeX again on $$NAME.tex$(NO_COLOR)" ;\
- latex -interaction=nonstopmode $< > /dev/null ;\
- dvips -q $$NAME.dvi ;\
- ps2pdf $$NAME.ps ;\
- else \
- echo -e "\t$(ERROR_COLOR)compilation in draftmode with erros$(NO_COLOR)" ;\
- exit 0;\
- fi ;\
- echo -e "\t$(OK_COLOR)Typesetting $$NAME done$(NO_COLOR)" ;\
-################################################################
-## Compilation
-################################################################
-docsty: $(PACKAGE).dtx
- echo -e "" ;\
- echo -e "\t$(ERROR_COLOR)Typesetting $(PACKAGE).dtx$(NO_COLOR)" ;\
- pdflatex -draftmode -interaction=nonstopmode $(PACKAGE).dtx > /dev/null ;\
- if [ $$? = 0 ] ; then \
- echo -e "\t$(OK_COLOR)compilation in draftmode without erros$(NO_COLOR)" ;\
- makeindex -q -t $(PACKAGE).glolog -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo ;\
- if [ $$? = 0 ] ; then \
- echo -e "\t$(OK_COLOR)compilation of Glossar without errors$(NO_COLOR)" ;\
- fi ;\
- makeindex -q -t $(PACKAGE).idxlog -s gind.ist $(PACKAGE).idx ;\
- if [ $$? = 0 ] ; then \
- echo -e "\t$(OK_COLOR)compilation of Index without errors$(NO_COLOR)" ;\
- fi ;\
- pdflatex $(PACKAGE).dtx > /dev/null ;\
- if [ $$? = 0 ] ; then \
- echo -e "\t$(OK_COLOR)Second pdflatex compilation without erros$(NO_COLOR)" ;\
- else \
- echo -e "\t$(ERROR_COLOR)Second pdflatex compilation with erros$(NO_COLOR)" ;\
- exit 0;\
- fi ;\
- pdflatex $(PACKAGE).dtx > /dev/null ;\
- else \
- echo -e "\t$(ERROR_COLOR)compilation in draftmode with erros$(NO_COLOR)" ;\
- exit 0;\
- fi ;\
-
-examples: $(EXAMPLED).pdf $(EXAMPLET).pdf $(EXAMPLEP).ps $(EXAMPLESX).pdf
-
-exampled: $(EXAMPLED).pdf
-examplet: $(EXAMPLET).pdf
-examplep: $(EXAMPLEP).ps
-examplesx:$(EXAMPLESX).pdf
-
-clean:
- echo "" ;\
- echo -e "\t$(ERROR_COLOR)Start removing help files$(NO_COLOR)" ;\
- for I in $(FILELIST) ;\
- do \
- for J in $(AUXFILES) ;\
- do \
- rm -rf $$I.$$J ;\
- done ;\
- done ;\
- echo -e "\t$(OK_COLOR)Removing finished$(NO_COLOR)" ;\
-
-all: docsty examples clean
-
-
-changeversion:
- @echo
- @echo -e "$(OK_COLOR)Aktuell wird die folgende Version verwendet"
- @sed '/\\def\\mdversion/!d' $(PACKAGE).sty
- @echo -e "$(WARN_COLOR)"
- @read -p "Bitte neue Version eingeben: " REPLY && sed -rie "s/(\\\\def\\\\mdversion\{).*(})/\1$$REPLY\2/" $(PACKAGE).dtx&&\
- echo -e "$(OK_COLOR)Version geƤndert zu $$REPLY$(NO_COLOR)"
- @echo
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 46d2d6057f9..289a608ae20 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
new file mode 100644
index 00000000000..3af557c0741
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex
@@ -0,0 +1,197 @@
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\setcounter{errorcontextlines}{999}
+\documentclass[parskip=false,english,11pt]{ltxmdf}
+\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+
+\usepackage{showexpl}
+\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
+
+\newcommand\Loadedframemethod{default}
+\usepackage[framemethod=\Loadedframemethod]{mdframed}
+
+\title{The \Pack{mdframed} package}
+\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
+\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\version{\mdversion}
+\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
+Some presented examples are more or less exorbitant.}
+
+\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
+\newrobustcmd\ExampleText{%
+ An \textit{inhomogeneous linear} differential equation has the form
+ \begin{align}
+ L[v ] = f,
+ \end{align}
+ where $L$ is a linear differential operator, $v$ is
+ the dependent variable, and $f$ is a given non-zero
+ function of the independent variables alone.
+}
+
+\newcounter{examplecount}
+\setcounter{examplecount}{0}
+\renewcommand\thesubsection{}
+\newcommand\Examplesec[1]{%
+\stepcounter{examplecount}%
+\subsection{Example~\arabic{examplecount}~--~#1\relax}%
+}
+
+\begin{document}
+\maketitle
+\section{Loading}
+In the preamble only the package \Pack{mdframed} width the option \Opt{framemethod=\Loadedframemethod} is loaded. All other modifications will be done by \Cmd{mdfdefinestyle} or \Cmd{mdfsetup}.
+
+{\large\color{red!50!black}
+\NOTE Every \Cmd{global} inside the examples is necessary to work with the package \Pack{showexpl}.}
+
+\section{Examples}
+All examples have the following settings:
+
+\begin{tltxmdfexample}
+\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
+\newrobustcmd\ExampleText{%
+An \textit{inhomogeneous linear} differential equation
+has the form
+\begin{align}
+L[v ] = f,
+\end{align}
+where $L$ is a linear differential operator, $v$ is
+the dependent variable, and $f$ is a given non-zero
+function of the independent variables alone.
+}
+\end{tltxmdfexample}
+\clearpage
+\Examplesec{very simple}
+\begin{LTXexample}
+\global\mdfdefinestyle{exampledefault}{%
+ linecolor=red,linewidth=3pt,%
+ leftmargin=1cm,rightmargin=1cm
+}
+\begin{mdframed}[style=exampledefault]
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+
+\Examplesec{hidden line + frame title}
+\begin{LTXexample}
+\global\mdfapptodefinestyle{exampledefault}{%
+ topline=false,rightline=true,bottomline=false}
+\begin{mdframed}[style=exampledefault,frametitle={Inhomogeneous linear}]
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+\clearpage
+
+\Examplesec{colored frame title}
+\begin{LTXexample}
+
+\global\mdfapptodefinestyle{exampledefault}{%
+ rightline=true,innerleftmargin=10,innerrightmargin=10,
+ frametitlerule=true,frametitlerulecolor=green,
+ frametitlebackgroundcolor=yellow,
+ frametitlerulewidth=2pt}
+\begin{mdframed}[style=exampledefault,frametitle={Inhomogeneous linear}]
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+
+\Examplesec{framed picture which is centered}
+\begin{LTXexample}
+\begin{mdframed}[userdefinedwidth=6cm,align=center,
+ linecolor=blue,linewidth=4pt]
+\includegraphics[width=\linewidth]{donald-duck}
+\end{mdframed}
+\end{LTXexample}
+
+\clearpage
+\Examplesec{Theorem environments}
+\begin{LTXexample}
+\mdfdefinestyle{theoremstyle}{%
+ linecolor=red,linewidth=2pt,%
+ frametitlerule=true,%
+ frametitlebackgroundcolor=gray!20,
+ innertopmargin=\topskip,
+ }
+\mdtheorem[style=theoremstyle]{definition}{Definition}
+\begin{definition}
+\ExampleText
+\end{definition}
+\begin{definition}[Inhomogeneous linear]
+\ExampleText
+\end{definition}
+\begin{definition*}[Inhomogeneous linear]
+\ExampleText
+\end{definition*}
+\end{LTXexample}
+
+\clearpage
+\Examplesec{theorem with separate header and the help of TikZ (complex)}
+\begin{LTXexample}
+\newcounter{theo}[section]
+\newenvironment{theo}[1][]{%
+ \stepcounter{theo}%
+ \ifstrempty{#1}%
+ {\mdfsetup{%
+ frametitle={%
+ \tikz[baseline=(current bounding box.east),outer sep=0pt]
+ \node[anchor=east,rectangle,fill=blue!20]
+ {\strut Theorem~\thetheo};}}
+ }%
+ {\mdfsetup{%
+ frametitle={%
+ \tikz[baseline=(current bounding box.east),outer sep=0pt]
+ \node[anchor=east,rectangle,fill=blue!20]
+ {\strut Theorem~\thetheo:~#1};}}%
+ }%
+ \mdfsetup{innertopmargin=10pt,linecolor=blue!20,%
+ linewidth=2pt,topline=true,
+ frametitleaboveskip=\dimexpr-\ht\strutbox\relax,}
+ \begin{mdframed}[]\relax%
+ }{\end{mdframed}}
+\begin{theo}[Inhomogeneous Linear]
+\ExampleText
+\end{theo}
+
+\begin{theo}
+\ExampleText
+\end{theo}
+\end{LTXexample}
+
+\clearpage
+\Examplesec{hide only a part of a line}
+The example below is inspired by the following post on StackExchange \href{http://tex.stackexchange.com/questions/24101/theorem-decorations-that-stay-with-theorem-environment}{Theorem decorations that stay with theorem environment}
+\begin{LTXexample}
+\makeatletter
+\newlength{\interruptlength}
+\setlength{\interruptlength}{2.5ex}
+\newrobustcmd\overlaplines{%
+ \appto\mdf@frame@leftline@single{%
+ \llap{\color{white}%
+ \rule[\dimexpr-\mdfboundingboxdepth+\interruptlength\relax]%
+ {\mdf@middlelinewidth@length}%
+ {\dimexpr\mdfboundingboxtotalheight%
+ \ifbool{mdf@topline}{+\mdf@middlelinewidth@length}{}
+ -2\interruptlength\relax}%
+ }%
+ }%
+ \appto\mdf@frame@rightline@single{%
+ \rlap{\color{white}%
+ \hspace*{\mdfboundingboxwidth}%
+ \hspace*{\mdf@innerrightmargin@length}%
+ \rule[\dimexpr-\mdfboundingboxdepth%
+ +\interruptlength\relax]%
+ {\mdf@middlelinewidth@length}%
+ {\dimexpr\mdfboundingboxtotalheight%
+ +\ifbool{mdf@topline}{\mdf@middlelinewidth@length}{0pt}
+ -2\interruptlength\relax}%
+ }%
+ }%
+}
+\makeatother
+\overlaplines
+
+\begin{mdframed}[linecolor=blue,linewidth=8pt]
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+\end{document}
+ \endinput
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 a8e92ad1764..cc18063063c 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
new file mode 100644
index 00000000000..9a4dc301553
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex
@@ -0,0 +1,110 @@
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\setcounter{errorcontextlines}{999}
+\documentclass[parskip=false,english,11pt]{ltxmdf}
+\ltxmdfsetifoot$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+
+\lstDeleteShortInline{|}
+\newcommand\Loadedframemethod{PSTricks}
+\usepackage[framemethod=\Loadedframemethod]{mdframed}
+
+\usepackage{showexpl}
+\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
+
+\title{The \Pack{mdframed} package}
+\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
+\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\version{\mdversion}
+\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
+Some presented examples are more or less exorbitant.}
+
+\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
+\newrobustcmd\ExampleText{%
+ An \textit{inhomogeneous linear} differential equation has the form
+ \begin{align}
+ L[v ] = f,
+ \end{align}
+ where $L$ is a linear differential operator, $v$ is
+ the dependent variable, and $f$ is a given non-zero
+ function of the independent variables alone.
+}
+
+\newcounter{examplecount}
+\setcounter{examplecount}{0}
+\renewcommand\thesubsection{}
+\newcommand\Examplesec[1]{%
+\stepcounter{examplecount}%
+\subsection{Example~\arabic{examplecount}~--~#1\relax}%
+}
+
+\begin{document}
+\maketitle
+\section{Loading}
+In the preamble only the package \Pack{mdframed} width the option \Opt{framemethod=\Loadedframemethod} is loaded. All other modifications will be done by \Cmd{mdfdefinestyle} or \Cmd{mdfsetup}.
+
+{\large\color{red!50!black}
+\NOTE Every \Cmd{global} inside the examples is necessary to work with the package \Pack{showexpl}.}
+X
+\section{Examples}
+All examples have the following settings:
+
+\begin{tltxmdfexample}
+\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
+\newrobustcmd\ExampleText{%
+An \textit{inhomogeneous linear} differential equation
+has the form
+\begin{align}
+L[v ] = f,
+\end{align}
+where $L$ is a linear differential operator, $v$ is
+the dependent variable, and $f$ is a given non-zero
+function of the independent variables alone.
+}
+\end{tltxmdfexample}
+\clearpage
+
+\Examplesec{very simple}
+\begin{LTXexample}
+\global\mdfdefinestyle{exampledefault}{%
+ linecolor=red,middlelinewidth=3pt,%
+ leftmargin=1cm,rightmargin=1cm
+}
+\begin{mdframed}[style=exampledefault,roundcorner=5]
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+
+\Examplesec{hidden line + frame title}
+\begin{LTXexample}
+\global\mdfapptodefinestyle{exampledefault}{%
+ topline=false,rightline=false,bottomline=false,
+ frametitlerule=true,innertopmargin=6pt,
+ outerlinewidth=6pt,outerlinecolor=blue,
+ pstricksappsetting={\addtopsstyle{mdfouterlinestyle}{linestyle=dashed}},
+ innerlinecolor=yellow,innerlinewidth=5pt}%
+\begin{mdframed}[style=exampledefault,frametitle={Inhomogeneous linear}]
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+
+\clearpage
+
+\Examplesec{Dash Lines}
+\begin{LTXexample}
+\global\mdfdefinestyle{exampledefault}{%
+ pstrickssetting={linestyle=dashed,},linecolor=red,linewidth=5pt}
+\begin{mdframed}[style=exampledefault,]
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+
+\Examplesec{Double Lines}
+\begin{LTXexample}
+\global\mdfdefinestyle{exampledefault}{%
+ pstrickssetting={doubleline=true,doublesep=6pt},
+ linecolor=red,linewidth=5pt,middlelinewidth=4pt}
+\begin{mdframed}[style=exampledefault,]
+\ExampleText
+\end{mdframed}
+\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 6b79e499fcd..b39de201f88 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
new file mode 100644
index 00000000000..e5cad38f6e5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex
@@ -0,0 +1,133 @@
+
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\setcounter{errorcontextlines}{999}
+\documentclass[parskip=false,english,11pt,ltxlipsum]{ltxmdf}
+\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+
+\usepackage{showexpl}
+\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
+
+\newcommand\Loadedframemethod{default}
+\usepackage[framemethod=\Loadedframemethod]{mdframed}
+
+\title{The \Pack{mdframed} package}
+\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
+\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\version{\mdversion}
+\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
+Some presented examples are more or less exorbitant.}
+
+\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
+\newrobustcmd\ExampleText{%
+ An \textit{inhomogeneous linear} differential equation has the form
+ \begin{align}
+ L[v ] = f,
+ \end{align}
+ where $L$ is a linear differential operator, $v$ is
+ the dependent variable, and $f$ is a given non-zero
+ function of the independent variables alone.
+}
+
+\newcounter{examplecount}
+\setcounter{examplecount}{0}
+\renewcommand\thesubsection{}
+\newcommand\Examplesec[1]{%
+\stepcounter{examplecount}%
+\subsection{Example~\arabic{examplecount}~--~#1\relax}%
+}
+
+\begin{document}
+\maketitle
+\section{Loading}
+In the preamble only the package \Pack{mdframed} width the option \Opt{framemethod=\Loadedframemethod} is loaded. All other modifications will be done by \Cmd{mdfdefinestyle} or \Cmd{mdfsetup}.
+
+{\large\color{red!50!black}
+\NOTE Every \Cmd{global} inside the examples is necessary to work with the package \Pack{showexpl}.}
+
+\section{Examples}
+All examples have the following settings:
+
+\begin{tltxmdfexample}
+\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
+\newrobustcmd\ExampleText{%
+An \textit{inhomogeneous linear} differential equation
+has the form
+\begin{align}
+L[v ] = f,
+\end{align}
+where $L$ is a linear differential operator, $v$ is
+the dependent variable, and $f$ is a given non-zero
+function of the independent variables alone.
+}
+\end{tltxmdfexample}
+\clearpage
+\Examplesec{Package listings}
+The example below is inspired by the following post on StackExchange \href{http://tex.stackexchange.com/questions/27673/background-overflows-when-using-rounded-corners-for-listings-package-listings}{Background overflows when using rounded corners for listings (package: `listings`)}
+
+Here the solution which can be decorate as usual.
+
+\begin{tltxmdfexample}[moretexcs={BeforeBeginEnvironment,AfterEndEnvironment},morekeywords={lstlisting}]
+\BeforeBeginEnvironment{lstlisting}{%
+ \begin{mdframed}[<modification>]%
+ \vspace{-0.7em}}
+\AfterEndEnvironment{lstlisting}{%
+ \vspace{-0.5em}%
+ \end{mdframed}}
+\end{tltxmdfexample}
+
+With the new command \Cmd{surroundwithmdframed} you can use
+\begin{tltxmdfexample}[moretexcs={BeforeBeginEnvironment,AfterEndEnvironment},morekeywords={lstlisting}]
+\surroundwithmdframed{listings}
+\end{tltxmdfexample}
+
+\Examplesec{Package multicol}
+How I wrote in \enquote{Known Problems} you can't combine \Pack{multicol} with \Pack{mdframed}. In a simple way without any breaks you can use:
+\begin{LTXexample}
+\begin{multicols}{2}
+\lipsum[1]
+\begin{mdframed}
+\ExampleText
+\end{mdframed}
+\lipsum[2]
+\end{multicols}
+\end{LTXexample}
+\clearpage
+\twocolumn[\Examplesec{Working in twocolumn mode}]
+\begin{tltxmdfexample}
+\twocolumn[%
+ \Examplesec{Working in
+ twocolumn mode}]
+\lipsum[1]\lipsum[2]
+\begin{mdframed}[%
+ leftmargin=10pt,%
+ rightmargin=10pt,%
+ linecolor=red,
+ backgroundcolor=yellow]
+\ExampleText
+\end{mdframed}
+\lipsum[2]
+\end{tltxmdfexample}
+\lipsum[1]\lipsum[2]
+\begin{mdframed}[leftmargin=10pt,%
+ rightmargin=10pt,%
+ linecolor=red,
+ backgroundcolor=yellow]
+\ExampleText
+\end{mdframed}
+\lipsum[2]
+\clearpage
+\onecolumn
+\Examplesec{Working inside enumerate}
+\begin{LTXexample}
+Text Text Text Text Text Text Text Text
+\begin{enumerate}
+\item in the following \ldots
+ \begin{mdframed}[linecolor=blue,linewidth=2]
+ \ExampleText
+ \end{mdframed}
+\item \lipsum[2]
+\end{enumerate}
+Text Text Text Text Text Text
+\end{LTXexample}
+\end{document}
+ \endinput
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 20ac09baf5c..40fb2fb4710 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
new file mode 100644
index 00000000000..8e2cb658670
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex
@@ -0,0 +1,234 @@
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+\setcounter{errorcontextlines}{999}
+\documentclass[parskip=false,english,11pt]{ltxmdf}
+\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+
+\usepackage{showexpl}
+\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
+
+\newcommand\Loadedframemethod{TikZ}
+\usepackage[framemethod=\Loadedframemethod]{mdframed}
+
+\title{The \Pack{mdframed} package}
+\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
+\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
+\version{\mdversion}
+\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}.
+Some presented examples are more or less exorbitant.}
+
+\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
+\newrobustcmd\ExampleText{%
+ An \textit{inhomogeneous linear} differential equation has the form
+ \begin{align}
+ L[v ] = f,
+ \end{align}
+ where $L$ is a linear differential operator, $v$ is
+ the dependent variable, and $f$ is a given non-zero
+ function of the independent variables alone.
+}
+
+\newcounter{examplecount}
+\setcounter{examplecount}{0}
+\renewcommand\thesubsection{}
+\newcommand\Examplesec[1]{%
+\stepcounter{examplecount}%
+\subsection{Example~\arabic{examplecount}~--~#1\relax}%
+}
+
+\begin{document}
+\maketitle
+\section{Loading}
+In the preamble only the package \Pack{mdframed} width the option \Opt{framemethod=\Loadedframemethod} is loaded. All other modifications will be done by \Cmd{mdfdefinestyle} or \Cmd{mdfsetup}.
+
+{\large\color{red!50!black}
+\NOTE Every \Cmd{global} inside the examples is necessary to work with the package \Pack{showexpl}.}
+
+\section{Examples}
+All examples have the following settings:
+
+\begin{tltxmdfexample}
+\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
+\newrobustcmd\ExampleText{%
+An \textit{inhomogeneous linear} differential equation
+has the form
+\begin{align}
+L[v ] = f,
+\end{align}
+where $L$ is a linear differential operator, $v$ is
+the dependent variable, and $f$ is a given non-zero
+function of the independent variables alone.
+}
+\end{tltxmdfexample}
+\clearpage
+\ExampleText{round corner}
+\begin{LTXexample}
+\global\mdfdefinestyle{exampledefault}{%
+ outerlinewidth=5pt,innerlinewidth=0pt,
+ outerlinecolor=red,roundcorner=5pt
+}
+\begin{mdframed}[style=exampledefault]
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+
+\Examplesec{hidden line + frame title}
+\begin{LTXexample}
+\global\mdfapptodefinestyle{exampledefault}{%
+ topline=false,leftline=false,}
+\begin{mdframed}[style=exampledefault,frametitle={Inhomogeneous linear}]
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+\clearpage
+\Examplesec{framed picture which is centered}
+\begin{LTXexample}
+\begin{mdframed}[userdefinedwidth=6cm,align=center,
+ linecolor=blue,middlelinewidth=4pt,roundcorner=5pt]
+\includegraphics[width=\linewidth]{donald-duck}
+\end{mdframed}
+\end{LTXexample}
+
+\Examplesec{Gimmick}
+\begin{LTXexample}
+\mdfsetup{splitbottomskip=0.8cm,splittopskip=0cm,
+ innerrightmargin=2cm,innertopmargin=1cm,%
+ innerlinewidth=2pt,outerlinewidth=2pt,
+ middlelinewidth=10pt,backgroundcolor=red,
+ linecolor=blue,middlelinecolor=gray,
+ tikzsetting={draw=yellow,line width=3pt,%
+ dashed,%
+ dash pattern= on 10pt off 3pt},
+ rightline=false,bottomline=false}
+\begin{mdframed}
+\ExampleText
+\end{mdframed}
+\end{LTXexample}
+
+\Examplesec{complex example with TikZ}
+
+\begin{tltxmdfexample}
+\tikzstyle{titregris} =
+ [draw=gray, thick, fill=white, shading = exersicetitle, %
+ text=gray, rectangle, rounded corners,
+ right,minimum height=.7cm]
+
+\pgfdeclarehorizontalshading{exersicebackground}{100bp}
+{color(0bp)=(green!40);
+color(100bp)=(black!5)}
+
+\pgfdeclarehorizontalshading{exersicetitle}{100bp}
+{color(0bp)=(red!40);
+color(100bp)=(black!5)}
+
+\newcounter{exercise}
+\renewcommand\theexercise{Exercise~n\arabic{exercise}}
+\makeatletter
+\def\mdf@@exercisepoints{}
+\define@key{mdf}{exercisepoints}{%
+ \def\mdf@@exercisepoints{#1}
+}
+\renewrobustcmd\mdfcreateextratikz{%
+ \node[titregris,xshift=1cm] at (P-|O) %
+ {~\mdf@frametitlefont{\theexercise}~};
+ \ifdefempty{\mdf@@exercisepoints}%
+ {}%
+ {\node[titregris,left,xshift=-1cm] at (P)%
+ {~\mdf@frametitlefont{\mdf@@exercisepoints points}~};}%
+}
+\makeatother
+
+\mdfdefinestyle{exercisestyle}{%
+ outerlinewidth=1pt,
+ innerlinewidth=0pt,
+ roundcorner=2pt,
+ linecolor=gray,
+ tikzsetting={shading = exersicebackground},
+ innertopmargin=1.2\baselineskip,
+ skipabove={\dimexpr0.5\baselineskip+\topskip\relax},
+ needspace=3\baselineskip,
+ frametitlefont=\sffamily\bfseries,
+ settings={\global\stepcounter{exercise}},
+ }
+
+\begin{mdframed}[style=exercisestyle,]
+\ExampleText
+\end{mdframed}
+
+\begin{mdframed}[style=exercisestyle,exercisepoints=10]
+\ExampleText
+\end{mdframed}
+\end{tltxmdfexample}
+
+\tikzstyle{titregris} =
+ [draw=gray, thick, fill=white, shading = exersicetitle, %
+ text=gray, rectangle, rounded corners,
+ right,minimum height=.7cm]
+
+\pgfdeclarehorizontalshading{exersicebackground}{100bp}
+{color(0bp)=(green!40);
+color(100bp)=(black!5)}
+
+\pgfdeclarehorizontalshading{exersicetitle}{100bp}
+{color(0bp)=(red!40);
+color(100bp)=(black!5)}
+
+\newcounter{exercise}
+\renewcommand\theexercise{Exercise~n\arabic{exercise}}
+\makeatletter
+\def\mdf@@exercisepoints{}
+\define@key{mdf}{exercisepoints}{%
+ \def\mdf@@exercisepoints{#1}
+}
+\newrobustcmd\mdfcreateextratikzlocal{%
+ \node[titregris,xshift=1cm] at (P-|O) {~\textbf{\theexercise}~};
+ \ifdefempty{\mdf@@exercisepoints}%
+ {}%
+ {\node[titregris,left,xshift=-1cm] at (P)%
+ {~\mdf@frametitlefont{\mdf@@exercisepoints points}~};}%
+}
+\makeatother
+
+\mdfdefinestyle{exercisestyle}{%
+ outerlinewidth=1pt,
+ innerlinewidth=0pt,
+ roundcorner=2pt,
+ linecolor=gray,
+ tikzsetting={shading = exersicebackground},
+ innertopmargin=1.2\baselineskip,
+ skipabove={\dimexpr0.5\baselineskip+\topskip\relax},
+ needspace=3\baselineskip,
+ frametitlefont=\sffamily\bfseries,
+ settings={\global\stepcounter{exercise}\let\mdfcreateextratikz\mdfcreateextratikzlocal},
+ }
+
+\begin{mdframed}[style=exercisestyle,]
+\ExampleText
+\end{mdframed}
+
+\begin{mdframed}[style=exercisestyle,exercisepoints=10]
+\ExampleText
+\end{mdframed}
+
+\clearpage
+\Examplesec{Theorem environments}
+\begin{LTXexample}
+\mdfdefinestyle{theoremstyle}{%
+ linecolor=red,linewidth=2pt,%
+ frametitlerule=true,%
+ apptotikzsetting={\tikzset{mdfframetitlebackground/.append style={%
+ shade,left color=white, right color=blue!20}}},
+ frametitlerulecolor=green!60,
+ frametitlerulewidth=1pt,
+ innertopmargin=\topskip,
+ }
+\mdtheorem[style=theoremstyle]{definition}{Definition}
+\begin{definition}[Inhomogeneous linear]
+\ExampleText
+\end{definition}
+\begin{definition*}[Inhomogeneous linear]
+\ExampleText
+\end{definition*}
+\end{LTXexample}
+
+\end{document}
+ \endinput
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf
index 54512e22fed..d64869f3ac2 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/doc/latex/mdframed/mdframedmake.bat b/Master/texmf-dist/doc/latex/mdframed/mdframedmake.bat
deleted file mode 100755
index 879b622ced2..00000000000
--- a/Master/texmf-dist/doc/latex/mdframed/mdframedmake.bat
+++ /dev/null
@@ -1,32 +0,0 @@
-::################################################################
-::## Makefile for mdframed project folder (WINDOWS)
-::## $Id: mdframedmake.bat 315 2012-01-08 12:53:05Z marco $
-::################################################################
-title Entpacken mdframed.dtx unter windows
-@echo off
-::
-pdflatex mdframed.dtx
-makeindex -s gglo.ist -o mdframed.gls mdframed.glo
-makeindex -s gind.ist mdframed.idx
-pdflatex mdframed.dtx
-pdflatex mdframed.dtx
-::
-pdflatex mdframed-example-default.tex
-pdflatex mdframed-example-default.tex
-::
-pdflatex mdframed-example-tikz.tex
-pdflatex mdframed-example-tikz.tex
-::
-latex mdframed-example-pstricks.tex
-latex mdframed-example-pstricks.tex
-dvips mdframed-example-pstricks.dvi
-call ps2pdf mdframed-example-pstricks.ps
-::
-pdflatex mdframed-example-texsx.tex
-pdflatex mdframed-example-texsx.tex
-::
-for %%I in (aux glo hd idx dvi log out ps syntex.gz thm tmp toc) do (
- for %%J in (default tikz pstricks texsx) do (del mdframed-example-%%J.%%I)
-)
-::
-for %%I in (aux dtxe glo gls hd idx ilg ind ins log out thm toc) do (del mdframed.%%I)