summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mdframed
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/mdframed')
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdfbin271171 -> 271437 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex71
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdfbin69205 -> 69620 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex29
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdfbin258567 -> 258441 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex23
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdfbin286480 -> 290107 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex98
-rw-r--r--Master/texmf-dist/doc/latex/mdframed/mdframed.pdfbin883618 -> 875723 bytes
9 files changed, 139 insertions, 82 deletions
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 b1d2d276fef..68a5e5fbc56 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 7aba53867bf..9f202f496d6 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex
@@ -1,8 +1,5 @@
-%%$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\GetIdInfo$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $
- {documentation of mdframed}
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -13,7 +10,7 @@
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
-\date{\ExplFileDate}
+\date{\mdfmaindate}
\version{\mdversion}
\introduction{In this document I collect various examples for
\Opt{framemethod=\Loadedframemethod}.
@@ -41,7 +38,7 @@
\begin{document}
\maketitle
\section{Loading}
-In the preamble only the package \Pack{mdframed} width the option
+In the preamble only the package \Pack{mdframed} with the option
\Opt{framemethod=\Loadedframemethod} is loaded. All other modifications will be
done by \Cmd{mdfdefinestyle} or \Cmd{mdfsetup}.
@@ -80,7 +77,7 @@ function of the independent variables alone.
\Examplesec{hidden line + frame title}
\begin{LTXexample}
\global\mdfapptodefinestyle{exampledefault}{%
- topline=false,rightline=true,bottomline=false}
+ topline=false,bottomline=false}
\begin{mdframed}[style=exampledefault,frametitle={Inhomogeneous linear}]
\ExampleText
\end{mdframed}
@@ -101,7 +98,7 @@ function of the independent variables alone.
\end{LTXexample}
\Examplesec{framed picture which is centered}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords=width]
\begin{mdframed}[userdefinedwidth=6cm,align=center,
linecolor=blue,linewidth=4pt]
\IfFileExists{donald-duck.jpg}%
@@ -112,7 +109,7 @@ function of the independent variables alone.
\clearpage
\Examplesec{Theorem environments}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords={theoremstyle,definition}]
\mdfdefinestyle{theoremstyle}{%
linecolor=red,linewidth=2pt,%
frametitlerule=true,%
@@ -133,7 +130,9 @@ function of the independent variables alone.
\clearpage
\Examplesec{theorem with separate header and the help of TikZ (complex)}
-\begin{LTXexample}
+\begin{LTXexample}[%
+ morekeywords={theo,baseline,anchor,outer,sep,current,bounding,box,east},%
+ moretexcs=tikz]
\newcounter{theo}[section]
\newenvironment{theo}[1][]{%
\stepcounter{theo}%
@@ -170,36 +169,40 @@ The example below is inspired by the following post on StackExchange
\href{http://tex.stackexchange.com/questions/24101/theorem-decorations^^A
-that-stay-with-theorem-environment}%
{Theorem decorations that stay with theorem environment}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords={mdf@frame@leftline@single,mdf@frame@rightline@single,%
+ mdf@frame@leftline@first,mdf@frame@rightline@first,%
+ mdf@frame@leftline@second,mdf@frame@rightline@second,%
+ mdf@frame@leftline@middle,mdf@frame@rightline@middle,%
+ mdfboundingboxdepth,mdfboundingboxtotalheight,%
+ mdf@topline,ifbool,interruptrule,everyline}]
\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}%
- }%
- }%
+\newrobustcmd\interruptrule[3]{%
+ \color{#1}%
+ \hspace*{\dimexpr\mdfboundingboxwidth+\mdf@innerrightmargin@length\relax}%
+ \rule[\dimexpr-\mdfboundingboxdepth+#2\interruptlength\relax]%
+ {\mdf@middlelinewidth@length}%
+ {\dimexpr\mdfboundingboxtotalheight-#3\interruptlength\relax}%
+}
+\newrobustcmd\overlaplines[2][white]{%
+ \mdfsetup{everyline=false}%
+ \setlength{\interruptlength}{#2}
+ \appto\mdf@frame@leftline@single{\llap{\interruptrule{#1}{1}{2}}}
+ \appto\mdf@frame@rightline@single{\rlap{\interruptrule{#1}{1}{2}}}
+ \appto\mdf@frame@leftline@first{\llap{\interruptrule{#1}{0}{1}}}
+ \appto\mdf@frame@rightline@first{\rlap{\interruptrule{#1}{0}{1}}}
+ \appto\mdf@frame@leftline@second{\llap{\interruptrule{#1}{1}{1}}}
+ \appto\mdf@frame@rightline@second{\rlap{\interruptrule{#1}{1}{1}}}
+ \appto\mdf@frame@leftline@middle{\llap{\interruptrule{#1}{0}{0}}}
+ \appto\mdf@frame@rightline@middle{\rlap{\interruptrule{#1}{0}{0}}}
}
\makeatother
-\overlaplines
+\overlaplines{2.5ex}
+\begin{mdframed}[linecolor=blue,linewidth=8pt]
+\ExampleText
+\end{mdframed}
+\overlaplines[blue!70!black!20]{2.5ex}
\begin{mdframed}[linecolor=blue,linewidth=8pt]
\ExampleText
\end{mdframed}
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 a66b5a606e6..f3006e6157e 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 f06c52e1635..e116dcbd44d 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex
@@ -1,8 +1,5 @@
-%%$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\GetIdInfo$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $
- {documentation of mdframed}
\lstDeleteShortInline{|}
\newcommand\Loadedframemethod{PSTricks}
@@ -14,7 +11,7 @@
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
-\date{\ExplFileDate}
+\date{\mdfmaindate}
\version{\mdversion}
\introduction{In this document I collect various examples for
\Opt{framemethod=\Loadedframemethod}.
@@ -49,7 +46,7 @@ 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:
@@ -80,7 +77,8 @@ function of the independent variables alone.
\end{LTXexample}
\Examplesec{hidden line + frame title}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords={innerlinecolor,addtopsstyle,mdfouterlinestyle,
+ linestyle}]
\global\mdfapptodefinestyle{exampledefault}{%
topline=false,rightline=false,bottomline=false,
frametitlerule=true,innertopmargin=6pt,
@@ -94,27 +92,30 @@ function of the independent variables alone.
\clearpage
-\Examplesec{Dash Lines}
+\Examplesec{Dash Lines}[morekeywords={pstrickssetting,linestyle,dashed}]
\begin{LTXexample}
\global\mdfdefinestyle{exampledefault}{%
- pstrickssetting={linestyle=dashed,},linecolor=red,linewidth=5pt}
-\begin{mdframed}[style=exampledefault,]
+ pstrickssetting={linestyle=dashed,},linecolor=red,middlelinewidth=2pt}
+\begin{mdframed}[style=exampledefault]
\ExampleText
\end{mdframed}
\end{LTXexample}
\Examplesec{Double Lines}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords={addtopsstyle,mdfmiddlelinestyle,
+ doubleline,doublesep}]
\global\mdfdefinestyle{exampledefault}{%
- pstrickssetting={doubleline=true,doublesep=6pt},
- linecolor=red,linewidth=5pt,middlelinewidth=4pt}
-\begin{mdframed}[style=exampledefault,]
+ pstricksappsetting={\addtopsstyle{mdfmiddlelinestyle}{%
+ doubleline=true,doublesep=6pt,linewidth=4pt}},%
+ linecolor=red,middlelinewidth=16pt}
+\begin{mdframed}[style=exampledefault]
\ExampleText
\end{mdframed}
\end{LTXexample}
+\clearpage
\Examplesec{Shadow frame}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords={shadow,shadowsize,myshadowbox}]
\newmdenv[shadow=true,
shadowsize=11pt,
linewidth=8pt,
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 8ad20b90300..c29d1e65aaf 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 72eae7ec695..b486389e415 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex
@@ -1,9 +1,6 @@
-%%$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt,lipsum=true]{ltxmdf}
-\GetIdInfo$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $
- {documentation of mdframed}
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -15,7 +12,7 @@
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
-\date{\ExplFileDate}
+\date{\mdfmaindate}
\version{\mdversion}
\introduction{In this document I collect various examples for
\Opt{framemethod=\Loadedframemethod}.
@@ -89,14 +86,14 @@ Here the solution which can be decorate as usual.
With the new command \Cmd{surroundwithmdframed} you can use
\begin{tltxmdfexample}[moretexcs={BeforeBeginEnvironment,AfterEndEnvironment},
- morekeywords={lstlisting}]
+ morekeywords={listings}]
\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{LTXexample}[morekeywords={multicols}]
\begin{multicols}{2}
\lipsum[1]
\begin{mdframed}
@@ -132,11 +129,11 @@ How I wrote in \enquote{Known Problems} you can't combine \Pack{multicol} with
\clearpage
\onecolumn
\Examplesec{Working inside enumerate}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords={enumerate}]
Text Text Text Text Text Text Text Text
\begin{enumerate}
\item in the following \ldots
- \begin{mdframed}[linecolor=blue,linewidth=2]
+ \begin{mdframed}[linecolor=blue,middlelinewidth=2]
\ExampleText
\end{mdframed}
\item \lipsum[2]
@@ -179,7 +176,11 @@ Text Text Text Text Text Text
\clearpage
\Examplesec{digression-environement inspired by Tobias Weh}
-\begin{lstlisting}
+\begin{lstlisting}[morekeywords={%
+ font,anchor,let,in,arrow,round,cap,controls,coordinate,%
+ excursus,head,arrows,calc,line,width,and,to,digressionarrows,%
+ base,west},%
+ moretexcs={usetikzlibrary}]
\usetikzlibrary{calc,arrows}
\tikzset{
excursus arrow/.style={%
@@ -285,7 +286,7 @@ Text Text Text Text Text Text
\end{mdframed}
\Examplesec{Theorem style shading background}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords={top,bottom,Theorem,shadow,alternativtheorem}]
\mdtheorem[%
apptotikzsetting={\tikzset{mdfbackground/.append style =%
{top color=yellow!40!white,
@@ -293,7 +294,7 @@ Text Text Text Text Text Text
mdfframetitlebackground/.append style =%
{top color=purple!40!white,
bottom color=purple!80!black}
- }
+ }%
},
,roundcorner=10pt,middlelinewidth=2pt,
shadow=true,frametitlerule=true,frametitlerulewidth=4pt,
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 4198c38f488..39656da30cd 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 de0825c52f1..fcb53648071 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex
@@ -1,8 +1,5 @@
-%%$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\GetIdInfo$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $
- {documentation of mdframed}
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -13,7 +10,7 @@
\title{The \Pack{mdframed} package}
\subtitle{Examples for \Opt{framemethod=\Loadedframemethod}}
\author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}}
-\date{\ExplFileDate}
+\date{\mdfmaindate}
\version{\mdversion}
\introduction{In this document I collect various examples for
\Opt{framemethod=\Loadedframemethod}.
@@ -66,7 +63,7 @@ function of the independent variables alone.
}
\end{tltxmdfexample}
\clearpage
-\ExampleText{round corner}
+\Examplesec{round corner}
\begin{LTXexample}
\global\mdfdefinestyle{exampledefault}{%
outerlinewidth=5pt,innerlinewidth=0pt,
@@ -80,7 +77,7 @@ function of the independent variables alone.
\Examplesec{hidden line + frame title}
\begin{LTXexample}
\global\mdfapptodefinestyle{exampledefault}{%
- topline=false,leftline=false,}
+ topline=false,leftline=false,}
\begin{mdframed}[style=exampledefault,frametitle={Inhomogeneous linear}]
\ExampleText
\end{mdframed}
@@ -97,7 +94,7 @@ function of the independent variables alone.
\end{LTXexample}
\Examplesec{Gimmick}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords={line,width,dash,dashed,pattern}]
\mdfsetup{splitbottomskip=0.8cm,splittopskip=0cm,
innerrightmargin=2cm,innertopmargin=1cm,%
innerlinewidth=2pt,outerlinewidth=2pt,
@@ -112,19 +109,17 @@ function of the independent variables alone.
\end{mdframed}
\end{LTXexample}
+\clearpage
\Examplesec{complex example with TikZ}
-\begin{tltxmdfexample}
+\begin{tltxmdfexample}[morekeywords={mdf}]
\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
@@ -132,50 +127,107 @@ function of the independent variables alone.
\define@key{mdf}{exercisepoints}{%
\def\mdf@@exercisepoints{#1}
}
+\mdfdefinestyle{exercisestyle}{%
+ outerlinewidth=1em,outerlinecolor=white,%
+ leftmargin=-1em,rightmargin=-1em,%
+ middlelinewidth=1.2pt,roundcorner=5pt,linecolor=gray,
+ apptotikzsetting={\tikzset{mdfbackground/.append style ={%
+ shading = exersicebackground}}},
+ innertopmargin=1.2\baselineskip,
+ skipabove={\dimexpr0.5\baselineskip+\topskip\relax},
+ skipbelow={-1em},
+ needspace=3\baselineskip,
+ frametitlefont=\sffamily\bfseries,
+ settings={\global\stepcounter{exercise}},
+ singleextra={%
+ \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}~};}%
+ },
+ firstextra={%
+ \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
+\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{}%new mdframed key:
+\define@key{mdf}{exercisepoints}{%
+ \def\mdf@@exercisepoints{#1}
+}
\mdfdefinestyle{exercisestyle}{%
- outerlinewidth=1pt,innerlinewidth=0pt,
- roundcorner=2pt,linecolor=gray,
- tikzsetting={shading = exersicebackground},
+ outerlinewidth=1em,outerlinecolor=white,%
+ leftmargin=-1em,rightmargin=-1em,%
+ middlelinewidth=1.2pt,roundcorner=5pt,linecolor=gray,
+ apptotikzsetting={\tikzset{mdfbackground/.append style ={%
+ shading = exersicebackground}}},
innertopmargin=1.2\baselineskip,
skipabove={\dimexpr0.5\baselineskip+\topskip\relax},
+ skipbelow={-1em},
needspace=3\baselineskip,
frametitlefont=\sffamily\bfseries,
settings={\global\stepcounter{exercise}},
singleextra={%
- \node[titregris,xshift=1cm] at (P-|O) %
- {~\mdf@frametitlefont{\theexercise}~};
+ \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}~};}%
},
firstextra={%
- \node[titregris,xshift=1cm] at (P-|O) %
- {~\mdf@frametitlefont{\theexercise}~};
+ \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}~};}%
},
}
-\begin{mdframed}[style=exercisestyle,]
+\makeatother
+
+\begin{mdframed}[style=exercisestyle]
\ExampleText
\end{mdframed}
\begin{mdframed}[style=exercisestyle,exercisepoints=10]
\ExampleText
\end{mdframed}
-\end{tltxmdfexample}
+
\clearpage
\Examplesec{Theorem environments}
-\begin{LTXexample}
+\begin{LTXexample}[morekeywords={theoremstyle,definition}]
\mdfdefinestyle{theoremstyle}{%
- linecolor=red,linewidth=2pt,%
+ linecolor=red,middlelinewidth=2pt,%
frametitlerule=true,%
apptotikzsetting={\tikzset{mdfframetitlebackground/.append style={%
- shade,left color=white, right color=blue!20}}},
+ shade,left color=white, right color=blue!20}}},
frametitlerulecolor=green!60,
frametitlerulewidth=1pt,
innertopmargin=\topskip,
diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf
index 44f7ab50c98..864a4c77827 100644
--- a/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf
+++ b/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf
Binary files differ