Debian Codegraph @

texmf-dist/doc/latex/cweb-latex/src/cwebarray.sty

raw
1 % $Id: cwebarray.sty,v 1.2 1995/08/08 00:14:31 schrod Exp $
2 %----------------------------------------------------------------------
3
4 %
5 % LaTeX style option cwebarray
6 % depends on array style option
7 %
8 % [LaTeX]
9 % (history at end)
10
11 \ProvidesPackage{cwebarray}
12
13
14 %
15 % What's this style option for?
16 %
17 % If you use CWEB, you cannot use vertical bars (`|') as rule specifiers in
18 % tables any more; CWEAVE processes them already. This style option
19 % defines `I' (that's an uppercase i) as a replacement for the
20 % vertical bar.
21 %
22 % I.e., write
23 %
24 % \begin{tabular}{lIl}
25 %
26 % instead of \begin{tabular}{l|l}.
27
28 % This option won't work without the array style.
29
30 \ifx \d@llarbegin\undefined
31 \RequirePackage{array}
32 \fi
33
34 \newcolumntype{I}{|}
35
36
37
38 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
39 %
40 % $Log: cwebarray.sty,v $
41 % Revision 1.2 1995/08/08 00:14:31 schrod
42 % Updated to \LaTeXe{}, the |cweb| style is now a document class. Used
43 % my standard templates for that, no changes in functionality.
44 %
45 % Revision 1.1 1993/08/09 18:05:55 schrod
46 % Mentioned that `|' cannot be used for LaTeX purposes, in
47 % particular, not for ruled tables. Described workarounds, one of them
48 % is the new style option cwebarray.
49 % [Reported by Felix G\"artner]
50 %