summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cweb/cwebarray.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/cweb/cwebarray.sty')
-rw-r--r--macros/latex/contrib/cweb/cwebarray.sty50
1 files changed, 50 insertions, 0 deletions
diff --git a/macros/latex/contrib/cweb/cwebarray.sty b/macros/latex/contrib/cweb/cwebarray.sty
new file mode 100644
index 0000000000..1eb73a0d48
--- /dev/null
+++ b/macros/latex/contrib/cweb/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]
+%