diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex | 29 |
1 files changed, 15 insertions, 14 deletions
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, |