Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!kddlab!icot32!nttlab!hirose!peach!tatsuta From: tatsuta@sato.riec.tohoku.ac.jp (Makoto Tatsuta) Newsgroups: comp.text.tex Subject: proof figure macros Message-ID: Date: 20 Dec 90 09:43:06 GMT Sender: news@peach.riec.tohoku.ac.jp Distribution: comp Organization: Research Institute of Electrical Communication, Tohoku University Lines: 430 I have made LaTeX macros to write proof figures often used in Mathematical Logic easily and beautifully. proof.sty definitions of the macros proofeg.tex examples The usage is commented in the head of proof.sty. The output of proofeg.tex will also explain how to use the macros. I have been using these macros since I wrote them 3 years ago. Many people told me that they were very convenient and it encouraged me to post them here. Remark that a large proof figure often requires bigLaTeX instead of usual LaTeX because of its capacity. Makoto Tatsuta (tatsuta@riec.tohoku.ac.jp) Tohoku University ------------------------------ CUT HERE ------------------------------ #! /bin/sh # This is a shell archive, meaning: # 1. Remove everything above the #! /bin/sh line. # 2. Save the resulting text in a file. # 3. Execute the file with /bin/sh (not csh) to create: # proof.sty # proofeg.tex # This archive created: Sat Oct 13 15:43:27 1990 export PATH; PATH=/bin:/usr/bin:$PATH if test -f 'proof.sty' then echo shar: "will not over-write existing file 'proof.sty'" else cat << \SHAR_EOF > 'proof.sty' % proof.sty (Proof Figure Macros) % % version 1.0 % October 13, 1990 % Copyright (C) 1990 Makoto Tatsuta (tatsuta@riec.tohoku.ac.jp) % % This program is free software; you can redistribute it or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either versions 1, or (at your option) % any later version. % % This program is distributed in the hope that it will be useful % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. % % Usage: % In \documentstyle, specify an optional style `proof', say, % \documentstyle[proof]{article}. % % The following macros are available: % % In all the following macros, all the arguments such as % and are processed in math mode. % % \infer % draws an inference. % % Use & in to delimit upper formulae. % consists more than 0 formulae. % % \infer returns \hbox{ ... } or \vbox{ ... } and % sets \@LeftOffset and \@RightOffset globally. % % \infer[