summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-08-18 17:26:10 +0000
committerKarl Berry <karl@freefriends.org>2009-08-18 17:26:10 +0000
commit631b6655bbfd0b59762273a7e4ce27877f7f44dd (patch)
tree6a3b8b4a8fef33a85d81ddac8d6dcf7f130292b7 /Master/texmf-dist/tex
parentafd45ac19186679e9df1580e4732f3295ebdb49d (diff)
new latex package spverbatim (11aug09)
git-svn-id: svn://tug.org/texlive/trunk@14749 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/spverbatim/spverbatim.sty50
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'.