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 | |
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')
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/Makefile | 168 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/README.txt | 19 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdf | bin | 299996 -> 272619 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex | 277 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdf | bin | 69634 -> 71522 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.tex | 140 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdf | bin | 213497 -> 215105 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex | 160 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdf | bin | 277496 -> 274296 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex | 247 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed.pdf | bin | 672475 -> 772818 bytes | |||
-rwxr-xr-x | Master/texmf-dist/doc/latex/mdframed/mdframedmake.bat | 32 |
12 files changed, 153 insertions, 890 deletions
diff --git a/Master/texmf-dist/doc/latex/mdframed/Makefile b/Master/texmf-dist/doc/latex/mdframed/Makefile index 97d8d486c0f..661e153e91a 100644 --- a/Master/texmf-dist/doc/latex/mdframed/Makefile +++ b/Master/texmf-dist/doc/latex/mdframed/Makefile @@ -1,54 +1,127 @@ -# Makefile for mdframed project folder -# $Id: Makefile 271 2011-12-09 12:25:08Z marco $ +################################################################ +## Makefile for mdframed project folder +## $Id: Makefile 313 2012-01-08 12:51:10Z marco $ +################################################################ +## Definitions +################################################################ +.SILENT: SHELL := /bin/bash +.PHONY: all clean +################################################################ +## Name list +################################################################ PACKAGE = mdframed -EXAMPLEA = mdframed-examples EXAMPLED = mdframed-example-default EXAMPLET = mdframed-example-tikz EXAMPLEP = mdframed-example-pstricks EXAMPLESX = mdframed-example-texsx -EXAMPLLIST = $(EXAMPLEA) $(EXAMPLED) $(EXAMPLET) $(EXAMPLEP) $(EXAMPLESX) -PDFLATEX = pdflatex -LATEX = latex -DVIPS = dvips -PSPDF = ps2pdf -MAKEIDX = makeindex - +EXAMPLLIST= $(EXAMPLED) $(EXAMPLET) $(EXAMPLEP) $(EXAMPLESX) +FILELIST = $(PACKAGE) $(EXAMPLED) $(EXAMPLET) $(EXAMPLEP) $(EXAMPLESX) +AUXFILES = aux dtxe glo glolog gls hd ins idx idxlog ilg ind log out ps thm tmp toc +################################################################ +## Colordefinition +################################################################ NO_COLOR = \x1b[0m OK_COLOR = \x1b[32;01m WARN_COLOR = \x1b[33;01m ERROR_COLOR = \x1b[31;01m +################################################################ +## make help +################################################################ +help: + @echo + @echo -e "$(WARN_COLOR)The following definitions provided by this Makefile" + @echo -e "$(OK_COLOR)\tmake docsty\t\t--\ttypesets the documenation and the package" + @echo -e "$(OK_COLOR)\tmake all\t\t--\trun docsty examples clean" + @echo -e "\tmake examples\t\t--\tcompiles all example files" + @echo -e "\tmake clean\t\t--\tremove all helpfiles created by mdframed" + @echo -e "\tmake changeversion\t--\tmaintaner tool to change the version" + @echo -e "$(WARN_COLOR)End help$(NO_COLOR)" -OK_STRING = $(OK_COLOR)[OK]$(NO_COLOR) -ERROR_STRING= $(ERROR_COLOR)[ERRORS]$(NO_COLOR) -WARN_STRING = $(WARN_COLOR)[WARNINGS]$(NO_COLOR) +################################################################ +## Compilation +################################################################ +%.pdf: %.tex + NAME=`basename $< .tex` ;\ + echo -e "" ;\ + echo -e "\t$(ERROR_COLOR)Typesetting $$NAME$(NO_COLOR)" ;\ + pdflatex -draftmode -interaction=nonstopmode $< > /dev/null ;\ + if [ $$? = 0 ] ; then \ + echo -e "\t$(OK_COLOR)compilation in draftmode without erros$(NO_COLOR)" ;\ + echo -e "\t$(OK_COLOR)Run PDFLaTeX again on $$NAME.tex$(NO_COLOR)" ;\ + pdflatex -interaction=nonstopmode $< > /dev/null ;\ + else \ + echo -e "\t$(ERROR_COLOR)compilation in draftmode with erros$(NO_COLOR)" ;\ + exit 0;\ + fi ;\ + echo -e "\t$(OK_COLOR)Typesetting $$NAME finished $(NO_COLOR)" ;\ +%.ps: %.tex + NAME=`basename $< .tex` ;\ + echo -e "" ;\ + echo -e "\t$(ERROR_COLOR)Typesetting $$NAME$(NO_COLOR)" ;\ + latex -draftmode -interaction=nonstopmode $< > /dev/null ;\ + if [ $$? = 0 ] ; then \ + echo -e "\t$(OK_COLOR)compilation in draftmode without erros$(NO_COLOR)" ;\ + echo -e "\t$(OK_COLOR)Run LaTeX again on $$NAME.tex$(NO_COLOR)" ;\ + latex -interaction=nonstopmode $< > /dev/null ;\ + dvips -q $$NAME.dvi ;\ + ps2pdf $$NAME.ps ;\ + else \ + echo -e "\t$(ERROR_COLOR)compilation in draftmode with erros$(NO_COLOR)" ;\ + exit 0;\ + fi ;\ + echo -e "\t$(OK_COLOR)Typesetting $$NAME done$(NO_COLOR)" ;\ +################################################################ +## Compilation +################################################################ docsty: $(PACKAGE).dtx - $(PDFLATEX) $(PACKAGE).dtx - $(MAKEIDX) -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo - $(MAKEIDX) -s gind.ist $(PACKAGE).idx - $(PDFLATEX) $(PACKAGE).dtx - $(PDFLATEX) $(PACKAGE).dtx + echo -e "" ;\ + echo -e "\t$(ERROR_COLOR)Typesetting $(PACKAGE).dtx$(NO_COLOR)" ;\ + pdflatex -draftmode -interaction=nonstopmode $(PACKAGE).dtx > /dev/null ;\ + if [ $$? = 0 ] ; then \ + echo -e "\t$(OK_COLOR)compilation in draftmode without erros$(NO_COLOR)" ;\ + makeindex -q -t $(PACKAGE).glolog -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo ;\ + if [ $$? = 0 ] ; then \ + echo -e "\t$(OK_COLOR)compilation of Glossar without errors$(NO_COLOR)" ;\ + fi ;\ + makeindex -q -t $(PACKAGE).idxlog -s gind.ist $(PACKAGE).idx ;\ + if [ $$? = 0 ] ; then \ + echo -e "\t$(OK_COLOR)compilation of Index without errors$(NO_COLOR)" ;\ + fi ;\ + pdflatex $(PACKAGE).dtx > /dev/null ;\ + if [ $$? = 0 ] ; then \ + echo -e "\t$(OK_COLOR)Second pdflatex compilation without erros$(NO_COLOR)" ;\ + else \ + echo -e "\t$(ERROR_COLOR)Second pdflatex compilation with erros$(NO_COLOR)" ;\ + exit 0;\ + fi ;\ + pdflatex $(PACKAGE).dtx > /dev/null ;\ + else \ + echo -e "\t$(ERROR_COLOR)compilation in draftmode with erros$(NO_COLOR)" ;\ + exit 0;\ + fi ;\ + +examples: $(EXAMPLED).pdf $(EXAMPLET).pdf $(EXAMPLEP).ps $(EXAMPLESX).pdf + +exampled: $(EXAMPLED).pdf +examplet: $(EXAMPLET).pdf +examplep: $(EXAMPLEP).ps +examplesx:$(EXAMPLESX).pdf -examples: $(EXAMPLEA).dtx -#EXAMPLEA - $(PDFLATEX) $(EXAMPLEA).dtx - $(PDFLATEX) $(EXAMPLEA).dtx -#EXAMPLED - $(PDFLATEX) $(EXAMPLED).tex - $(PDFLATEX) $(EXAMPLED).tex -#EXAMPLET - $(PDFLATEX) $(EXAMPLET).tex - $(PDFLATEX) $(EXAMPLET).tex -#EXAMPLEP - $(LATEX) $(EXAMPLEP).tex - $(LATEX) $(EXAMPLEP).tex - $(DVIPS) $(EXAMPLEP).dvi - $(PSPDF) $(EXAMPLEP).ps -#EXAMPLESX - $(PDFLATEX) $(EXAMPLESX).tex - $(PDFLATEX) $(EXAMPLESX).tex +clean: + echo "" ;\ + echo -e "\t$(ERROR_COLOR)Start removing help files$(NO_COLOR)" ;\ + for I in $(FILELIST) ;\ + do \ + for J in $(AUXFILES) ;\ + do \ + rm -rf $$I.$$J ;\ + done ;\ + done ;\ + echo -e "\t$(OK_COLOR)Removing finished$(NO_COLOR)" ;\ +all: docsty examples clean changeversion: @@ -59,26 +132,3 @@ changeversion: @read -p "Bitte neue Version eingeben: " REPLY && sed -rie "s/(\\\\def\\\\mdversion\{).*(})/\1$$REPLY\2/" $(PACKAGE).dtx&&\ echo -e "$(OK_COLOR)Version geändert zu $$REPLY$(NO_COLOR)" @echo - - -clean: - @echo - @echo -e "$(ERROR_COLOR)Alle Dateien ausser *.tex, *.sty," - @echo -e "*.mdf, *.pdf, README, Makefile und *.zip" - @echo -e "werden geloescht" - @echo -e "$(WARN_COLOR)" ; - @echo -e "Useless files of mdframed will be removed" ; - for file in $(EXAMPLLIST) ; \ - do \ - echo -e "Useless files of $$file will be removed" ;\ - rm -rf $$file.aux $$file.glo $$file.hd $$file.idx $$file.dvi $$file.ps\ - $$file.log $$file.out $$file.synctex.gz $$file.thm $$file.tmp $$file.toc ; \ - done - @echo -e "Useless files of mdframed package will be removed" ; - @rm -rf $(PACKAGE).aux $(PACKAGE).dtxe $(PACKAGE).glo $(PACKAGE).gls $(PACKAGE).hd $(PACKAGE).ins $(PACKAGE).idx \ - $(PACKAGE).ilg $(PACKAGE).ind $(PACKAGE).log $(PACKAGE).out $(PACKAGE).thm $(PACKAGE).toc ; - @echo -e "$(OK_COLOR)Löschvorgang abgeschlossen$(NO_COLOR)" - -all: docsty examples clean - - diff --git a/Master/texmf-dist/doc/latex/mdframed/README.txt b/Master/texmf-dist/doc/latex/mdframed/README.txt index 2d120302922..df8944c8a17 100644 --- a/Master/texmf-dist/doc/latex/mdframed/README.txt +++ b/Master/texmf-dist/doc/latex/mdframed/README.txt @@ -8,12 +8,21 @@ Author's name: Marco Daniel and Elke Schubert (supports tikz implementation) License type: lppl ================================================================ +The revision history is printed in the documentation. + +================================================================ The current development is available at github: https://github.com/marcodaniel/mdframed ================================================================ -The package provides two dtx files, one Makefile and -one documentclass. By running the script `make all` you will +The package provides + * one dtx files, + * one Makefile (compiling for Linux/Mac), + * one mdframedmake.bat (compiling for Windows) + * one personal documentclass ltxmdf.cls + * one example picture donald-duck.jpg + +By running the script `make all` you will produce the following files: - README.txt - mdframed.sty @@ -22,7 +31,6 @@ produce the following files: - md-frame-1.mdf - md-frame-2.mdf - md-frame-3.mdf -- mdframed-examples.pdf - mdframed-example-default.tex - mdframed-example-default.pdf - mdframed-example-tikz.tex @@ -31,8 +39,6 @@ produce the following files: - mdframed-example-pstricks.pdf - mdframed-example-texsx.tex - mdframed-example-texsx.pdf -- ltxmdf.cls -- donald-duck.jpg I recommend the following installation in your texmf-tree: @@ -47,12 +53,11 @@ I recommend the following installation in your texmf-tree: - mdframed-example-pstricks.pdf - mdframed-example-texsx.tex - mdframed-example-texsx.pdf +- donald-duck.jpg /source/latex/mdframed/ - Makefile - mdframed.dtx -- mdframed-examples.dtx -- donald-duck.jpg /tex/latex/mdframed - mdframed.sty diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdf Binary files differindex 1e23d5d4c8c..46d2d6057f9 100644 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdf +++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.pdf diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex deleted file mode 100644 index d58246131d5..00000000000 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-default.tex +++ /dev/null @@ -1,277 +0,0 @@ -%% -%% This is file `mdframed-example-default.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% mdframed-examples.dtx (with options: `mdframed-example-default') -%% ---------------------------------------------------------------- -%% 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 $ - -\usepackage{showexpl} -\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},} - -\newcommand\Loadedframemethod{default} -\usepackage[framemethod=\Loadedframemethod]{mdframed} - -\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}.} - -\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] -\ExampleText -\end{mdframed} -\end{LTXexample} - -\Examplesec{hidden line + frame title} -\begin{LTXexample} -\global\mdfapptodefinestyle{exampledefault}{% - topline=false,rightline=true,bottomline=false} -\begin{mdframed}[style=exampledefault,frametitle={Inhomogeneous linear}] -\ExampleText -\end{mdframed} -\end{LTXexample} -\clearpage - -\Examplesec{colored frame title} -\begin{LTXexample} -\renewcommand\mdframedtitleenv[1]{% - \colorbox{green}{% - \parbox{\dimexpr\linewidth-6pt\relax}%6pt=linewidth - {\centering\bfseries #1}}% - \par\kern.5\baselineskip\noindent% - } -\global\mdfapptodefinestyle{exampledefault}{% - rightline=true,innerleftmargin=0,innerrightmargin=0} -\begin{mdframed}[style=exampledefault,frametitle={Inhomogeneous linear}] -\ExampleText -\end{mdframed} -\end{LTXexample} - -\Examplesec{framed picture which is centered} -\begin{LTXexample} -\begin{mdframed}[userdefinedwidth=6cm,align=center, - linecolor=blue,linewidth=4pt] -\includegraphics[width=\linewidth]{donald-duck} -\end{mdframed} -\end{LTXexample} - -\Examplesec{theorem with separate header and the help of TikZ (complex)} -\begin{tltxmdfexample} -\makeatletter -\newcounter{theo}[section] -\newcommand*\newmdframedtitleenv[1]{% - \@afterindentfalse - {\parindent \z@ - \setlength{\parfillskip}{\z@ plus 1fil}% - \mdraggedtitle\nobreak% - \makebox[\linewidth][l]{% - \hspace*{-1\mdf@innerleftmargin@length}% - \rlap{\color{white}% - \hspace*{-1\mdf@middlelinewidth@length}% - \rule[\mdf@middlelinewidth@length]% - {\dimexpr\linewidth+1\mdf@innerleftmargin@length% - +\mdf@innerrightmargin@length - +2\mdf@middlelinewidth@length\relax}% - {\dimexpr\ht\strutbox+.3333em\relax}% - }% - \rlap{\color{blue!20}% - \rule{\dimexpr\linewidth+\mdf@innerleftmargin@length% - +\mdf@innerrightmargin@length\relax}% - {\mdf@middlelinewidth@length}}% - \hspace*{-1\mdf@middlelinewidth@length}% - \tikz[remember picture,baseline]% - \node[,draw = none, text = black,fill = blue!20,]% - {\mdf@frametitlefont\strut Theorem~\thetheo#1};\relax% - }% - \par\kern.5\baselineskip}% - \@afterheading} -\newenvironment{theo}[1][]{% - \let\mdframedtitleenv\newmdframedtitleenv% - \stepcounter{theo}% - \ifstrempty{#1}% - {\mdfsetup{frametitle={\strut}}}% - {\mdfsetup{frametitle={:~#1}}}% - \begin{mdframed}[innertopmargin=0pt,linecolor=blue!20,% - linewidth=2pt,topline=false,]% - }{\end{mdframed}} -\begin{theo}[Inhomogeneous Linear] -\ExampleText -\end{theo} - -\begin{theo} -\ExampleText -\end{theo} -\end{tltxmdfexample} -\makeatletter -\newcounter{theo}[section] -\newcommand*\newmdframedtitleenv[1]{% - \@afterindentfalse - {\parindent \z@ - \setlength{\parfillskip}{\z@ plus 1fil}% - \mdraggedtitle\nobreak% - \makebox[\linewidth][l]{% - \hspace*{-1\mdf@innerleftmargin@length}% - \rlap{\color{white}% - \hspace*{-1\mdf@middlelinewidth@length}% - \rule[\mdf@middlelinewidth@length]% - {\dimexpr\linewidth+1\mdf@innerleftmargin@length% - +\mdf@innerrightmargin@length - +2\mdf@middlelinewidth@length\relax}% - {\dimexpr\ht\strutbox+.3333em\relax}% - }% - \rlap{\color{blue!20}% - \rule{\dimexpr\linewidth+\mdf@innerleftmargin@length% - +\mdf@innerrightmargin@length\relax}% - {\mdf@middlelinewidth@length}}% - \hspace*{-1\mdf@middlelinewidth@length}% - \tikz[remember picture,baseline]% - \node[,draw = none, text = black,fill = blue!20,]% - {\mdf@frametitlefont\strut Theorem~\thetheo#1};\relax% - }% - \par\kern.5\baselineskip}% - \@afterheading} -\newenvironment{theo}[1][]{% - \let\mdframedtitleenv\newmdframedtitleenv% - \stepcounter{theo}% - \ifstrempty{#1}% - {\mdfsetup{frametitle={\strut}}}% - {\mdfsetup{frametitle={:~#1}}}% - \begin{mdframed}[innertopmargin=0pt,linecolor=blue!20,% - linewidth=2pt,topline=false,]% - }{\end{mdframed}} - -\begin{theo}[Inhomogeneous Linear] -\ExampleText -\end{theo} - -\begin{theo} -\ExampleText -\end{theo} - -\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} -\begin{LTXexample} -\makeatletter -\newlength{\interruptlength} -\setlength{\interruptlength}{2.5ex} -\newrobustcmd\overlaplines{% - \appto\md@frame@leftline@single{% - \llap{\color{white}% - \rule[\dimexpr-\mdfboundingboxdepth% - \ifbool{mdf@bottomline}{-\mdf@middlelinewidth@length}{}% - +\interruptlength\relax]% - {\mdf@middlelinewidth@length}% - {\dimexpr\mdfboundingboxtotalheight% - +\ifbool{mdf@bottomline}{\mdf@middlelinewidth@length}{0pt} - +\ifbool{mdf@topline}{\mdf@middlelinewidth@length}{0pt}% - -2\interruptlength\relax}% - }% - }% - \appto\md@frame@rightline@single{% - \rlap{\color{white}% - \hspace*{\mdfboundingboxwidth}% - \hspace*{\mdf@innerrightmargin@length}% - \rule[\dimexpr-\mdfboundingboxdepth% - \ifbool{mdf@bottomline}{-\mdf@middlelinewidth@length}{} - +\interruptlength\relax]% - {\mdf@middlelinewidth@length}% - {\dimexpr\mdfboundingboxtotalheight% - +\ifbool{mdf@bottomline}{\mdf@middlelinewidth@length}{0pt}% - +\ifbool{mdf@topline}{\mdf@middlelinewidth@length}{0pt} - -2\interruptlength\relax}% - }% - } -} -\makeatother -\overlaplines - -\begin{mdframed}[linecolor=blue,linewidth=8pt] -\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-default.tex'. diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdf Binary files differindex 7eae56367e1..a8e92ad1764 100644 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdf +++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-pstricks.pdf 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'. diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdf Binary files differindex 379d3e68238..6b79e499fcd 100644 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdf +++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.pdf diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex deleted file mode 100644 index af300511f50..00000000000 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-texsx.tex +++ /dev/null @@ -1,160 +0,0 @@ -%% -%% This is file `mdframed-example-texsx.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% mdframed-examples.dtx (with options: `mdframed-example-texsx') -%% ---------------------------------------------------------------- -%% 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,ltxlipsum]{ltxmdf} -\ltxmdfsetifoot $Id: mdframed-examples.dtx 270 2011-12-09 12:19:09Z marco $ - -\usepackage{showexpl} -\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},} - -\newcommand\Loadedframemethod{default} -\usepackage[framemethod=\Loadedframemethod]{mdframed} - -\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}.} - -\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{Package listings} -The example below is inspired by the following post on StackExchange \href{http://tex.stackexchange.com/questions/27673/background-overflows-when-using-rounded-corners-for-listings-package-listings}{Background overflows when using rounded corners for listings (package: `listings`)} - -Here the solution which can be decorate as usual. - -\begin{tltxmdfexample}[moretexcs={BeforeBeginEnvironment,AfterEndEnvironment},morekeywords={lstlisting}] -\BeforeBeginEnvironment{lstlisting}{% - \begin{mdframed}[<modification>]% - \vspace{-0.7em}} -\AfterEndEnvironment{lstlisting}{% - \vspace{-0.5em}% - \end{mdframed}} -\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{multicols}{2} -\lipsum[1] -\begin{mdframed} -\ExampleText -\end{mdframed} -\lipsum[2] -\end{multicols} -\end{LTXexample} -\clearpage -\twocolumn[\Examplesec{Working in twocolumn mode}] -\begin{tltxmdfexample} -\twocolumn[% - \Examplesec{Working in - twocolumn mode}] -\lipsum[2] -\begin{mdframed}[% - leftmargin=10pt,% - rightmargin=10pt,% - linecolor=red, - backgroundcolor=yellow] -\ExampleText -\end{mdframed} -\lipsum[2] -\end{tltxmdfexample} -\lipsum[2]\lipsum[2] -\begin{mdframed}[leftmargin=10pt,% - rightmargin=10pt,% - linecolor=red, - backgroundcolor=yellow] -\ExampleText -\end{mdframed} -\lipsum[2] -\onecolumn -\Examplesec{Working inside enumerate} -\begin{LTXexample} -Text Text Text Text Text Text Text Text -\begin{enumerate} -\item in the following \ldots - \begin{mdframed}[linecolor=blue,linewidth=2] - \ExampleText - \end{mdframed} -\item \lipsum[2] -\end{enumerate} -Text Text Text Text Text Text -\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-texsx.tex'. diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdf Binary files differindex a3312eb9aac..20ac09baf5c 100644 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdf +++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.pdf diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex b/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex deleted file mode 100644 index 5539f819aab..00000000000 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-example-tikz.tex +++ /dev/null @@ -1,247 +0,0 @@ -%% -%% This is file `mdframed-example-tikz.tex', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% mdframed-examples.dtx (with options: `mdframed-example-tikz') -%% ---------------------------------------------------------------- -%% 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 $ - -\usepackage{showexpl} -\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},} - -\newcommand\Loadedframemethod{TikZ} -\usepackage[framemethod=\Loadedframemethod]{mdframed} - -\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}.} - -\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 -\ExampleText{round corner} -\begin{LTXexample} -\global\mdfdefinestyle{exampledefault}{% - outerlinewidth=5pt,innerlinewidth=0pt, - outerlinecolor=red,roundcorner=5pt -} -\begin{mdframed}[style=exampledefault] -\ExampleText -\end{mdframed} -\end{LTXexample} - -\Examplesec{hidden line + frame title} -\begin{LTXexample} -\global\mdfapptodefinestyle{exampledefault}{% - topline=false,leftline=false,} -\begin{mdframed}[style=exampledefault,frametitle={Inhomogeneous linear}] -\ExampleText -\end{mdframed} -\end{LTXexample} -\clearpage -\Examplesec{framed picture which is centered} -\begin{LTXexample} -\begin{mdframed}[userdefinedwidth=6cm,align=center, - linecolor=blue,middlelinewidth=4pt,roundcorner=5pt] -\includegraphics[width=\linewidth]{donald-duck} -\end{mdframed} -\end{LTXexample} - -\Examplesec{Gimmick} -\begin{LTXexample} -\mdfsetup{splitbottomskip=0.8cm,splittopskip=0cm, - innerrightmargin=2cm,innertopmargin=1cm,% - innerlinewidth=2pt,outerlinewidth=2pt, - middlelinewidth=10pt,backgroundcolor=red, - linecolor=blue,middlelinecolor=gray, - tikzsetting={draw=yellow,line width=3pt,% - dashed,% - dash pattern= on 10pt off 3pt}, - rightline=false,bottomline=false} -\begin{mdframed} -\ExampleText -\end{mdframed} -\end{LTXexample} - -\Examplesec{complex example with TikZ} - -\begin{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{} -\define@key{mdf}{exercisepoints}{% - \def\mdf@@exercisepoints{#1} -} -\renewrobustcmd\mdfcreateextratikz{% - \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 - -\mdfdefinestyle{exercisestyle}{% - outerlinewidth=1pt, - innerlinewidth=0pt, - roundcorner=2pt, - linecolor=gray, - tikzsetting={shading = exersicebackground}, - innertopmargin=1.2\baselineskip, - skipabove={\dimexpr0.5\baselineskip+\topskip\relax}, - needspace=3\baselineskip, - frametitlefont=\sffamily\bfseries, - settings={\global\stepcounter{exercise}}, - } - -\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{} -\define@key{mdf}{exercisepoints}{% - \def\mdf@@exercisepoints{#1} -} -\renewrobustcmd\mdfcreateextratikz{% - \node[titregris,xshift=1cm] at (P-|O) {~\textbf{\theexercise}~}; - \ifdefempty{\mdf@@exercisepoints}% - {}% - {\node[titregris,left,xshift=-1cm] at (P)% - {~\mdf@frametitlefont{\mdf@@exercisepoints points}~};}% -} -\makeatother - -\mdfdefinestyle{exercisestyle}{% - outerlinewidth=1pt, - innerlinewidth=0pt, - roundcorner=2pt, - linecolor=gray, - tikzsetting={shading = exersicebackground}, - innertopmargin=1.2\baselineskip, - skipabove={\dimexpr0.5\baselineskip+\topskip\relax}, - needspace=3\baselineskip, - frametitlefont=\sffamily\bfseries, - settings={\global\stepcounter{exercise}}, - } - -\begin{mdframed}[style=exercisestyle,] -\ExampleText -\end{mdframed} - -\begin{mdframed}[style=exercisestyle,exercisepoints=10] -\ExampleText -\end{mdframed} - -\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-tikz.tex'. diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf Binary files differindex fd9b69f00d7..54512e22fed 100644 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf +++ b/Master/texmf-dist/doc/latex/mdframed/mdframed.pdf diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframedmake.bat b/Master/texmf-dist/doc/latex/mdframed/mdframedmake.bat new file mode 100755 index 00000000000..879b622ced2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mdframed/mdframedmake.bat @@ -0,0 +1,32 @@ +::################################################################ +::## Makefile for mdframed project folder (WINDOWS) +::## $Id: mdframedmake.bat 315 2012-01-08 12:53:05Z marco $ +::################################################################ +title Entpacken mdframed.dtx unter windows +@echo off +:: +pdflatex mdframed.dtx +makeindex -s gglo.ist -o mdframed.gls mdframed.glo +makeindex -s gind.ist mdframed.idx +pdflatex mdframed.dtx +pdflatex mdframed.dtx +:: +pdflatex mdframed-example-default.tex +pdflatex mdframed-example-default.tex +:: +pdflatex mdframed-example-tikz.tex +pdflatex mdframed-example-tikz.tex +:: +latex mdframed-example-pstricks.tex +latex mdframed-example-pstricks.tex +dvips mdframed-example-pstricks.dvi +call ps2pdf mdframed-example-pstricks.ps +:: +pdflatex mdframed-example-texsx.tex +pdflatex mdframed-example-texsx.tex +:: +for %%I in (aux glo hd idx dvi log out ps syntex.gz thm tmp toc) do ( + for %%J in (default tikz pstricks texsx) do (del mdframed-example-%%J.%%I) +) +:: +for %%I in (aux dtxe glo gls hd idx ilg ind ins log out thm toc) do (del mdframed.%%I) |