diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:37 +0000 |
commit | a63ba1198eb4719ae26636989895d1799a116169 (patch) | |
tree | 8a462d4f5ec324108c2b718fcad95e5a89ddc9d8 /Master/texmf-dist | |
parent | 267c64fda5b555aaf467594fe02d5c39daed6695 (diff) |
grverb
git-svn-id: svn://tug.org/texlive/trunk@966 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/tex/latex/grverb/grverb.sty | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/grverb/grverb.sty b/Master/texmf-dist/tex/latex/grverb/grverb.sty new file mode 100644 index 00000000000..36cdf8b8fe5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/grverb/grverb.sty @@ -0,0 +1,91 @@ +%% +%% This is file `grverb.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% grverb.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright 1999 Apostolos Syropoulos. All rights reserved. +%% +%% -------------------------------------------------- +%% +%% It may be distributed under the terms of the LaTeX Project Public +%% License, as described in lppl.txt in the base LaTeX distribution. +%% Either version 1.1 or, at your option, any later version. +%% +%% IMPORTANT: The above license does not apply in the case of "Crete University +%% Press", Helaklion-Crete, Greece. This publisher is not allowed to use this +%% software or any other piece of software derived directly or indirectly from +%% it in the production of any commercial publication, i.e., one that is being +%% sold from bookstores, etc. +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\NeedsTeXFormat{LaTeX2e}[1996/01/01] +\ProvidesPackage{grverb}[1999/12/06\space v1.0] +\typeout{Package: `grverb' v1.0\space <1999/12/06> (A. Syropoulos)} +\def\@gr@inpenc@loop#1#2{% + \@tempcnta`#1\relax + \loop + \catcode\@tempcnta11 + \ifnum\@tempcnta<`#2\relax + \advance\@tempcnta\@ne + \repeat} +\DeclareFontFamily{U}{grtt}{} +\DeclareFontShape{U}{grtt}{m}{n}{ + <-> s * [0.9] grcour8a}{} +\begingroup \catcode `|=0 \catcode `[= 1 +\catcode`]=2 \catcode `\{=12 \catcode `\}=12 +\catcode`\\=12 |gdef|@grxverbatim#1\end{grverbatim}[#1|end[grverbatim]] +|endgroup +\def\@grverbatim{\trivlist \item\relax + \if@minipage\else\vskip\parskip\fi + \leftskip\@totalleftmargin\rightskip\z@skip + \parindent\z@\parfillskip\@flushglue\parskip\z@skip + \@@par + \@tempswafalse + \def\par{% + \if@tempswa + \leavevmode \null \@@par\penalty\interlinepenalty + \else + \@tempswatrue + \ifhmode\@@par\penalty\interlinepenalty\fi + \fi}% + \let\do\@makeother \dospecials + \obeylines \gr@verbatim@font \@noligs + \everypar \expandafter{\the\everypar \unpenalty}% +} +\def\grverbatim{\begingroup\@gr@inpenc@loop\^^A\^^H% + \@gr@inpenc@loop\^^K\^^K% + \@gr@inpenc@loop\^^N\^^_% + \@gr@inpenc@loop\^^?\^^ff% + \@grverbatim \frenchspacing\@vobeyspaces \@grxverbatim} +\def\endgrverbatim{\if@newlist \leavevmode\fi\endtrivlist\endgroup} +\def\gr@verbatim@font{\fontencoding{U}\fontfamily{grtt}\fontseries{m}% +\selectfont} +\def\grverb{\relax\ifmmode\hbox\else\leavevmode\null\fi + \bgroup + \@gr@inpenc@loop\^^A\^^H% + \@gr@inpenc@loop\^^K\^^K% + \@gr@inpenc@loop\^^N\^^_% + \@gr@inpenc@loop\^^?\^^ff% + \verb@eol@error \let\do\@makeother \dospecials + \gr@verbatim@font\@noligs \@verb} +\endinput +%% +%% End of file `grverb.sty'. |