]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/cic_transformations/mpresentation.mli
53df1fb1d59a85e2f89499da6d11f6c2cd4f0c9d
[helm.git] / helm / ocaml / cic_transformations / mpresentation.mli
1 (* Copyright (C) 2000, HELM Team.
2  * 
3  * This file is part of HELM, an Hypertextual, Electronic
4  * Library of Mathematics, developed at the Computer Science
5  * Department, University of Bologna, Italy.
6  * 
7  * HELM is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  * 
12  * HELM is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with HELM; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20  * MA  02111-1307, USA.
21  * 
22  * For details, see the HELM World-Wide-Web page,
23  * http://cs.unibo.it/helm/.
24  *)
25
26 type 
27   mpres = 
28   (* token elements *)
29     Mi of attr * string
30   | Mn of attr * string
31   | Mo of attr * string
32   | Mtext of attr * string
33   | Mspace of attr
34   | Ms of attr * string
35   | Mgliph of attr * string
36   (* General Layout Schemata *)
37   | Mrow of attr * mpres list
38   | Mfrac of attr * mpres * mpres
39   | Msqrt of attr * mpres
40   | Mroot of attr * mpres * mpres
41   | Mstyle of attr * mpres
42   | Merror of attr * mpres
43   | Mpadded of attr * mpres
44   | Mphantom of attr * mpres
45   | Mfenced of attr * mpres list
46   | Menclose of attr * mpres
47   (* Script and Limit Schemata *)
48   | Msub of attr * mpres * mpres
49   | Msup of attr * mpres * mpres
50   | Msubsup of attr * mpres * mpres *mpres 
51   | Munder of attr * mpres * mpres
52   | Mover of attr * mpres * mpres
53   | Munderover of attr * mpres * mpres *mpres 
54 (* | Multiscripts of ???  NOT IMPLEMEMENTED *)
55   (* Tables and Matrices *)
56   | Mtable of attr * row list
57   (* Enlivening Expressions *)
58   | Maction of attr * mpres list
59
60 and row = Mtr of attr * mtd list
61
62 and mtd = Mtd of attr * mpres
63
64 and attr = (string option * string * string) list
65
66 ;;
67
68 val smallskip : mpres 
69 val indented : mpres -> mpres
70 val standard_tbl_attr : attr
71 val two_rows_table : attr -> mpres -> mpres -> mpres
72 val two_rows_table_with_brackets : attr -> mpres -> mpres -> mpres -> mpres
73 val two_rows_table_without_brackets : attr -> mpres -> mpres -> mpres -> mpres
74 val row_with_brackets : attr -> mpres -> mpres -> mpres -> mpres
75 val row_without_brackets : attr -> mpres -> mpres -> mpres -> mpres
76 val print_mpres :
77   mpres -> Xml.token Stream.t
78