| 1 |
%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
%% Copyleft |
| 3 |
%% Walter A. Kehowski |
| 4 |
%% Department of Mathematics |
| 5 |
%% Glendale Community College |
| 6 |
%% [email protected] |
| 7 |
%% \begin{linsys}{2} |
| 8 |
%% -x & + & 4y & = & 8\\ |
| 9 |
%% -3x & - & 2y & = & 6 |
| 10 |
%% \end{linsys} |
| 11 |
%%%%%%%%%%%%%%%%%%%%%%% |
| 12 |
\RequirePackage{array} % TLC p465 |
| 13 |
\RequirePackage{pifont} |
| 14 |
\makeatletter |
| 15 |
%% math-mode column types ------------------ |
| 16 |
\newcolumntype{\@R}{>{$}r<{$}} |
| 17 |
\newcolumntype{\@L}{>{$}l<{$}} |
| 18 |
\newcolumntype{\@C}{>{$}c<{$}} |
| 19 |
\newcounter{@dingctr} |
| 20 |
\newcommand{\@wding}{\ding{\value{@dingctr}}\stepcounter{@dingctr}} |
| 21 |
\newcommand{\@dinglabel}{\@wding} |
| 22 |
\newenvironment{linsys}[1]{% |
| 23 |
\setcounter{@dingctr}{192}% |
| 24 |
\begin{tabular}{!{\@dinglabel}*{#1}{\@R\@C}\@R}}% |
| 25 |
{\end{tabular}\setcounter{@dingctr}{192}} |
| 26 |
\makeatother |
| 27 |
\endinput |