diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/calendar/overword.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/calendar/overword.sty | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/calendar/overword.sty b/Master/texmf-dist/tex/latex/calendar/overword.sty new file mode 100644 index 00000000000..045ed97378b --- /dev/null +++ b/Master/texmf-dist/tex/latex/calendar/overword.sty @@ -0,0 +1,91 @@ +%% +%% This is file `overword.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% overword.dtx (with options: `style') +%% This file is part of the Calendar package, +%% Copyright (C) 1996, 1997 Frank Bennett, Jr. +%% All rights reserved. +%% ------------------------------------------ +%% +%% IMPORTANT NOTICE: +%% +%% You are not allowed to change this file. You may however copy +%% this file to a file with a different name and then change the +%% copy if (a) you do not charge for the modified code, (b) you +%% acknowledge the author of this file in the new file, if it +%% is distributed to others, and (c) you attach these same +%% conditions to the new file. +%% +%% You are not allowed to distribute this file alone. You are not +%% allowed to take money for the distribution or use of this file +%% (or a changed version) except for a nominal charge for copying +%% etc. +%% +%% You are allowed to distribute this file under the condition that +%% it is distributed with all of its contents, intact. +%% +%% For error reports, or offers to help make this a more powerful, +%% friendlier, and altogether more thrilling package, please contact me on +%% fb@soas.ac.uk. Better yet, make a contribution to +%% my pension. Account details available on request. +%% ------------------------------------------ +%% +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesPackage{overword} + [1998/01/17 18:15:15 3.1.1.1 Overword parsing support (Frank Bennett)] +\long\def\@ifoverword#1#2#3#4{% + \let\reserved@a=#1% + \def\reserved@d{#4}\def\reserved@b{#2}\def\reserved@c{#3}% + \global\let\@overword\relax% + \futurelet\@let@token\@ifowd} +\long\def\@ifowd{% + \ifx\@let@token\@sptoken% + \gdef\@preoverwordspace{ }% + \let\reserved@e\@xifowd% + \else% + \ifx\@let@token\end% + \let\reserved@e\reserved@d% + \else% + \ifx\@let@token\par% + \let\reserved@e\@xifpargobble% + \else% + \long\def\reserved@e##1 {\long\gdef\@overword{##1}\@@ifowd}% + \fi% + \fi% + \fi% + \reserved@e} +\long\def\@xifpargobble#1{\futurelet\@let@token\@ifowd} +\def\:{\@xifowd} \expandafter\def\: {\futurelet\@let@token\@ifowd} +\def\@@ifowd{\futurelet\@let@token\@ifnparnch} +\long\def\@ifnextnparchar#1#2#3#4{% + \let\reserved@a=#1% + \def\reserved@b{#2}\def\reserved@c{#3}\def\reserved@d{#4}% + \futurelet\@let@token\@ifnparnch} +\long\def\@ifnparnch{% + \ifx\@let@token\@sptoken% + \let\reserved@e\@xifnparnch% + \else% + \ifx\@let@token\end% + \let\reserved@e\reserved@d% + \else% + \ifx\@let@token\par% + \let\reserved@e\@xifpargobblench% + \else% + \ifx\@let@token\reserved@a% + \let\reserved@e\reserved@b% + \else% + \let\reserved@e\reserved@c% + \fi% + \fi% + \fi% + \fi% + \reserved@e} +\long\def\@xifpargobblench#1{\futurelet\@let@token\@ifnparnch} +\def\:{\@xifnparnch} +\expandafter\def\: {\futurelet\@let@token\@ifnparnch} +\endinput +%% +%% End of file `overword.sty'. |