diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/cweb/src/cwebarray.sty |
Initial commit
Diffstat (limited to 'macros/latex/contrib/cweb/src/cwebarray.sty')
-rw-r--r-- | macros/latex/contrib/cweb/src/cwebarray.sty | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/macros/latex/contrib/cweb/src/cwebarray.sty b/macros/latex/contrib/cweb/src/cwebarray.sty new file mode 100644 index 0000000000..1eb73a0d48 --- /dev/null +++ b/macros/latex/contrib/cweb/src/cwebarray.sty @@ -0,0 +1,50 @@ +% $Id: cwebarray.sty,v 1.2 1995/08/08 00:14:31 schrod Exp $ +%---------------------------------------------------------------------- + +% +% LaTeX style option cwebarray +% depends on array style option +% +% [LaTeX] +% (history at end) + +\ProvidesPackage{cwebarray} + + +% +% What's this style option for? +% +% If you use CWEB, you cannot use vertical bars (`|') as rule specifiers in +% tables any more; CWEAVE processes them already. This style option +% defines `I' (that's an uppercase i) as a replacement for the +% vertical bar. +% +% I.e., write +% +% \begin{tabular}{lIl} +% +% instead of \begin{tabular}{l|l}. + +% This option won't work without the array style. + +\ifx \d@llarbegin\undefined + \RequirePackage{array} +\fi + +\newcolumntype{I}{|} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% $Log: cwebarray.sty,v $ +% Revision 1.2 1995/08/08 00:14:31 schrod +% Updated to \LaTeXe{}, the |cweb| style is now a document class. Used +% my standard templates for that, no changes in functionality. +% +% Revision 1.1 1993/08/09 18:05:55 schrod +% Mentioned that `|' cannot be used for LaTeX purposes, in +% particular, not for ruled tables. Described workarounds, one of them +% is the new style option cwebarray. +% [Reported by Felix G\"artner] +% |