summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/phfquotetext
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-16 21:46:19 +0000
committerKarl Berry <karl@freefriends.org>2016-08-16 21:46:19 +0000
commitf8d159fa556763f431ce7d024cb4dc92df50de41 (patch)
tree3bffddf67d393a56218531073e7164fdf221b8be /Master/texmf-dist/tex/latex/phfquotetext
parente35a9c1ae4684cc27f787bdb25f71e5dc270552b (diff)
phfquotetext (16aug16)
git-svn-id: svn://tug.org/texlive/trunk@41869 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/phfquotetext')
-rw-r--r--Master/texmf-dist/tex/latex/phfquotetext/phfquotetext.sty66
1 files changed, 66 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/phfquotetext/phfquotetext.sty b/Master/texmf-dist/tex/latex/phfquotetext/phfquotetext.sty
new file mode 100644
index 00000000000..fc99c5253f3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/phfquotetext/phfquotetext.sty
@@ -0,0 +1,66 @@
+%%
+%% This is file `phfquotetext.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% phfquotetext.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2016 by Philippe Faist <philippe.faist@bluewin.ch>
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+\ProvidesPackage{phfquotetext}
+ [2016/08/15 v1.0 phfquotetext package]
+\newcommand\quotetextcatcodedefs{}
+\newcommand\quotetextstart{}
+\newcommand\quotetextend{}
+\newcommand\quotetextfont{\ttfamily}
+\newenvironment{quotetext}{%
+ \quotetextstart%
+ \begingroup%
+ \phfquotetext@warg%
+}
+{%
+ \quotetextend%
+}
+\begingroup
+ \catcode`|=0
+ \catcode`\<=1
+ \catcode`\>=2
+ \catcode`\{=12
+ \catcode`\}=12
+ \catcode`\\=12
+ |long|gdef|phfquotetext@warg@#1\end{quotetext}<|endgroup
+ |phfquotetext@show<#1>>
+|endgroup
+\newtoks\qtt@mytoks
+\long\def\phfquotetext@show#1{%
+ \qtt@mytoks={#1}%
+ \begingroup%
+ \expandafter\quotetextfont\expandafter{\the\qtt@mytoks}%
+ \endgroup%
+ \end{quotetext}%
+}
+\def\phfquotetext@warg{%
+ %
+ \let\do\@makeother%
+ \dospecials%
+ \catcode`\ =10\relax% keep space
+ \quotetextcatcodedefs%
+ \phfquotetext@warg@%
+}
+\endinput
+%%
+%% End of file `phfquotetext.sty'.