| 1 |
% --------------------------------------------------------------------- % |
| 2 |
% DIRECTORY: latex % |
| 3 |
% % |
| 4 |
% DESCRIPTION: LaTeX macros for typesetting HOL. % |
| 5 |
% % |
| 6 |
% AUTHOR: Jim Alves-Foss % |
| 7 |
% % |
| 8 |
% ADDRESS: University of California Davis, % |
| 9 |
% Davis, CA 95616, U.S.A. % |
| 10 |
% % |
| 11 |
% email: [email protected] % |
| 12 |
% % |
| 13 |
% DATE: 90.12.14 % |
| 14 |
% --------------------------------------------------------------------- % |
| 15 |
|
| 16 |
The file hol_macros.tex is a collection of macros developed at UC Davis to be |
| 17 |
used in placing HOL code in papers. These macros take the (almost) standard |
| 18 |
HOL output and convert it into the LaTeX logic symbols (ie. ! is \forall, ? is |
| 19 |
\exists, etc.) This is the BETA VERSION (so check the outputs to be safe). |
| 20 |
|
| 21 |
You should redefine '\' as '\\' by "set_lambda`\\.`;; " so LaTeX does not |
| 22 |
get confused (HOL still works fine). |
| 23 |
|
| 24 |
We have the following environments: |
| 25 |
|
| 26 |
\begin{hol} ... \end{hol} Defines an environment for HOL theorems and |
| 27 |
definitions. This environment it identical to alltt except |
| 28 |
that it places a box around the text and ~ still works |
| 29 |
|
| 30 |
\begin{holnb} ... \end{holnb} Same as ``hol'' but no box |
| 31 |
|
| 32 |
We have the following macros: |
| 33 |
|
| 34 |
\holthm{defn} Which takes defn (cut directly from HOL output |
| 35 |
and converts all the symbols (ie. |- ==>) to their |
| 36 |
mathematical equivalents. |
| 37 |
|
| 38 |
\holdef{defn} Same as holthm except that the turnstile is subscripted |
| 39 |
by ``def'' |
| 40 |
|
| 41 |
I hope you can use these, please send me any comments: |
| 42 |
|
| 43 |
-Jim Alves-Foss ([email protected]) [128.120.57.20] |