diff options
author | Karl Berry <karl@freefriends.org> | 2012-01-08 23:48:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-01-08 23:48:38 +0000 |
commit | 94249602eec639469e2a964a821eaf4e04ccf322 (patch) | |
tree | dc88b7c2150463d5c947d38fb2832d86f301b92f /Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex | |
parent | 8ddb27d0f1bb31de2e06ebf7871975b19118d1fe (diff) |
mdframed (8jan12)
git-svn-id: svn://tug.org/texlive/trunk@25052 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.tex | 140 |
1 files changed, 0 insertions, 140 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 deleted file mode 100644 index 51b28defac1..00000000000 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex +++ /dev/null @@ -1,140 +0,0 @@ -%% -%% This is file `mdframed-example-pstricks.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% mdframed-examples.dtx (with options: `mdframed-example-pstricks') -%% ---------------------------------------------------------------- -%% Working with the command fbox or fcolorbox, one has to -%% handle page breaks by hand. The present package defines the -%% environment mdframed which automatically deals with page breaks. -%% -%% Author's name: Marco Daniel and Elke Schubert (!new) -%% License type: lppl - -%%$Id: mdframed-examples.dtx 270 2011-12-09 12:19:09Z marco $ -\setcounter{errorcontextlines}{999} -\documentclass[parskip=false,english,11pt]{ltxmdf} -\ltxmdfsetifoot$Id: mdframed-examples.dtx 270 2011-12-09 12:19:09Z 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,linewidth=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} -\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=3pt}, - linecolor=red,linewidth=5pt} -\begin{mdframed}[style=exampledefault,] -\ExampleText -\end{mdframed} -\end{LTXexample} -\end{document} - \endinput -%% -%% ================================================================ -%% Copyright (C) 2011 by Marco Daniel -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License (LPPL), either -%% version 1.3c of this license or (at your option) any later -%% version. The latest version of this license is in the file: -%% -%% http://www.latex-project.org/lppl.txt -%% -%% This work is "maintained" (as per LPPL maintenance status) by -%% Marco Daniel. -%% -%% Have fun! -%% -%% ================================================================ -%% -%% End of file `mdframed-example-pstricks.tex'. |