summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-21 22:30:34 +0000
committerKarl Berry <karl@freefriends.org>2012-09-21 22:30:34 +0000
commit2116b098967c4ac8c5c341b24ece64007d46d45f (patch)
tree32c33c20d5ddeda9c7a13f31a0b6500671318b81 /Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex
parent079a8c9e4012ed38f664b039daf7d3011d02a4a2 (diff)
mdframed (21sep12)
git-svn-id: svn://tug.org/texlive/trunk@27762 c570f23f-e606-0410-a88d-b1316a301751
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.tex29
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,