diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/spverbatim/spverbatim.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/spverbatim/spverbatim.sty | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/spverbatim/spverbatim.sty b/Master/texmf-dist/tex/latex/spverbatim/spverbatim.sty new file mode 100644 index 00000000000..69af7547150 --- /dev/null +++ b/Master/texmf-dist/tex/latex/spverbatim/spverbatim.sty @@ -0,0 +1,50 @@ +%% +%% This is file `spverbatim.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% spverbatim.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2009 by Scott Pakin <scott+spverb@pakin.org> +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3c of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3c or later is part of all distributions of LaTeX version +%% 2008/05/04 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{spverbatim} + [2009/08/10 v1.0 Verbatim with breakable spaces] +\gdef\spverb{% + \bgroup + \let\spverb@ve=\verb@egroup + \def\verb@egroup{\spverb@ve\egroup}% + \def\@xobeysp{\mbox{}\space}% + \verb +} +\begingroup + \catcode`|=0 + \catcode`[=1 + \catcode`]=2 + \catcode`\{=12 + \catcode`\}=12 + \catcode`\\=12 + |gdef|spv@xverbatim#1\end{spverbatim}[#1|end[spverbatim]] +|endgroup +\newenvironment{spverbatim}{% + \def\@xobeysp{\mbox{}\space}% + \let\@xverbatim=\spv@xverbatim + \verbatim +}{% +} +\endinput +%% +%% End of file `spverbatim.sty'. |