diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:58:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:58:22 +0000 |
commit | c6b827c6f5aab4beff40b7bef80e869c6815d826 (patch) | |
tree | 1ed61d883ba88897fbf68a71547b4a7286e57368 /Master/texmf-dist/tex/latex/ltxmisc/linsys.sty | |
parent | 7f9543ffaf295484b99beae71350a519562df613 (diff) |
ltxmisc
git-svn-id: svn://tug.org/texlive/trunk@1056 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ltxmisc/linsys.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ltxmisc/linsys.sty | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ltxmisc/linsys.sty b/Master/texmf-dist/tex/latex/ltxmisc/linsys.sty new file mode 100644 index 00000000000..e1e43124d15 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ltxmisc/linsys.sty @@ -0,0 +1,27 @@ +%%%%%%%%%%%%%%%%%%%%%%% +%% Copyleft +%% Walter A. Kehowski +%% Department of Mathematics +%% Glendale Community College +%% walter.kehowski@gcmail.maricopa.edu +%% \begin{linsys}{2} +%% -x & + & 4y & = & 8\\ +%% -3x & - & 2y & = & 6 +%% \end{linsys} +%%%%%%%%%%%%%%%%%%%%%%% +\RequirePackage{array} % TLC p465 +\RequirePackage{pifont} +\makeatletter +%% math-mode column types ------------------ +\newcolumntype{\@R}{>{$}r<{$}} +\newcolumntype{\@L}{>{$}l<{$}} +\newcolumntype{\@C}{>{$}c<{$}} +\newcounter{@dingctr} +\newcommand{\@wding}{\ding{\value{@dingctr}}\stepcounter{@dingctr}} +\newcommand{\@dinglabel}{\@wding} +\newenvironment{linsys}[1]{% +\setcounter{@dingctr}{192}% +\begin{tabular}{!{\@dinglabel}*{#1}{\@R\@C}\@R}}% +{\end{tabular}\setcounter{@dingctr}{192}} +\makeatother +\endinput |