diff options
author | Karl Berry <karl@freefriends.org> | 2012-07-23 23:37:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-07-23 23:37:53 +0000 |
commit | 5a5ae35291039c9f1bf0f25c40b5adb3ea956920 (patch) | |
tree | 066ad9500ae348132d9434b11b3b12d5021ed5fd /Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex | |
parent | 55994f4bf1d4081cd3a038c425f6de7c173629bb (diff) |
mdframed (4jun12)
git-svn-id: svn://tug.org/texlive/trunk@27127 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex | 28 |
1 files changed, 19 insertions, 9 deletions
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 1783e4a276a..7aba53867bf 100644 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex +++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex @@ -1,7 +1,8 @@ -%%$Id: mdframed.dtx 375 2012-04-08 10:52:22Z marco $ +%%$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $ \setcounter{errorcontextlines}{999} \documentclass[parskip=false,english,11pt]{ltxmdf} -\ltxmdfsetifoot $Id: mdframed.dtx 375 2012-04-08 10:52:22Z marco $ +\GetIdInfo$Id: mdframed.dtx 426 2012-06-02 12:18:56Z marco $ + {documentation of mdframed} \usepackage{showexpl} \lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},} @@ -12,10 +13,11 @@ \title{The \Pack{mdframed} package} \subtitle{Examples for \Opt{framemethod=\Loadedframemethod}} \author{\href{mailto:marco.daniel@mada-nada.de}{Marco Daniel}} -\date{\mdfdateID$Id: mdframed.dtx 375 2012-04-08 10:52:22Z marco $} +\date{\ExplFileDate} \version{\mdversion} -\introduction{In this document I collect various examples for \Opt{framemethod=\Loadedframemethod}. -Some presented examples are more or less exorbitant.} +\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{% @@ -39,10 +41,13 @@ Some presented examples are more or less exorbitant.} \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}. +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}.} +\NOTE Every \Cmd{global} inside the examples is necessary to work with the +package \Pack{showexpl}.} \section{Examples} All examples have the following settings: @@ -99,7 +104,9 @@ function of the independent variables alone. \begin{LTXexample} \begin{mdframed}[userdefinedwidth=6cm,align=center, linecolor=blue,linewidth=4pt] -\includegraphics[width=\linewidth]{donald-duck} +\IfFileExists{donald-duck.jpg}% + {\includegraphics[width=\linewidth]{donald-duck}}% + {\rule{\linewidth}{4cm}}% \end{mdframed} \end{LTXexample} @@ -159,7 +166,10 @@ function of the independent variables alone. \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} +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} \makeatletter \newlength{\interruptlength} |