From 631b6655bbfd0b59762273a7e4ce27877f7f44dd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 18 Aug 2009 17:26:10 +0000 Subject: new latex package spverbatim (11aug09) git-svn-id: svn://tug.org/texlive/trunk@14749 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/spverbatim/spverbatim.sty | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/spverbatim/spverbatim.sty (limited to 'Master/texmf-dist/tex') 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 +%% +%% 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'. -- cgit v1.2.3