From ef12e4625572a36ce13f9d608876327298763f99 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 12 Jan 2006 23:56:23 +0000
Subject: geomsty

git-svn-id: svn://tug.org/texlive/trunk@952 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/geomsty/geomeqns.sty | 49 ++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 Master/texmf-dist/tex/latex/geomsty/geomeqns.sty

(limited to 'Master/texmf-dist/tex/latex/geomsty/geomeqns.sty')

diff --git a/Master/texmf-dist/tex/latex/geomsty/geomeqns.sty b/Master/texmf-dist/tex/latex/geomsty/geomeqns.sty
new file mode 100644
index 00000000000..95e39630285
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/geomsty/geomeqns.sty
@@ -0,0 +1,49 @@
+% $Header: /u/levy/texts/geomsty/RCS/geomeqns.sty,v 1.6 95/07/01 02:23:17 levy Exp Locker: levy $
+
+% format equation numbers like subsection numbers
+
+\def\@eqnnum{\hbox{\normalshape\bf \theequation.}}
+
+% set equations on left side
+
+\def\equation{$$ % $$ BRACE MATCHING HACK
+  \def\object@type{equation}\refstepcounter{equation}}
+\def\endequation{\leqno \@eqnnum % $$ BRACE MATCHING HACK
+  $$\global\@ignoretrue}
+
+\def\eqnarray{\def\object@type{equation}\stepcounter{equation}%
+  \edef\@currentlabel{\theequation}
+  \global\@eqnswtrue\global\@eqcnt\z@\tabskip\@centering\let\\=\@eqncr
+  $$\halign to\displaywidth\bgroup\@eqnsel\hskip\@centering % $$BRACE MATCHING
+    $\displaystyle\tabskip\z@{##}$&\global\@eqcnt\@ne\hfil${}##{}$\hfil
+    &\global\@eqcnt\tw@ $\displaystyle\tabskip\z@{##}$\hfil 
+     \tabskip\@centering&\llap{##}\tabskip\z@\cr}
+\def\endeqnarray{\@@eqncr\egroup
+      \global\advance\c@equation\m@ne$$\global\@ignoretrue}
+\def\@@eqncr{\let\@tempa\relax 
+    \ifcase\@eqcnt \def\@tempa{& & &}\or \def\@tempa{& &} 
+      \else \def\@tempa{&}\fi 
+     \@tempa 
+     \if@eqnsw\hbox to .01pt{}\rlap{\rm \hskip -\displaywidth\@eqnnum}%
+     \stepcounter{equation}\fi
+     \global\@eqnswtrue\global\@eqcnt\z@\cr}
+\def\@eqncr{{\ifnum0=`}\fi\@ifstar{\global\@eqpen\@M
+    \@yeqncr}{\global\@eqpen\interdisplaylinepenalty \@yeqncr}%
+    \edef\@currentlabel{\theequation }}
+
+% $Log:	geomeqns.sty,v $
+%Revision 1.6  95/07/01  02:23:17  levy
+%fixed currentlabel inside eqnarray
+%
+%Revision 1.5  92/07/13  21:54:29  levy
+%further cleaned up the environments
+%
+%Revision 1.4  92/07/13  08:46:04  levy
+%theoremSt -> Theorem
+%
+%Revision 1.3  92/04/02  09:08:39  levy
+%*** empty log message ***
+%
+%Revision 1.2  1992/03/20  19:17:42  levy
+%*** empty log message ***
+%
-- 
cgit v1.2.3

