]> git.lyx.org Git - lyx.git/blob - src/mathed/math_defs.h
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_defs.h
1 // -*- C++ -*-
2 /*
3  *  File:        math_defs.h
4  *  Purpose:     Math editor definitions
5  *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
6  *  Created:     January 1996
7  *  Description: Math paragraph and objects for a WYSIWYG math editor.
8  *
9  *  Dependencies: Xlib
10  *
11  *  Copyright: 1996, 1997 Alejandro Aguilar Sierra
12  *
13  *   Version: 0.8beta, Math & Lyx project.
14  *
15  *   You are free to use and modify this code under the terms of
16  *   the GNU General Public Licence version 2 or later.
17  *
18  */
19
20 #ifndef MATH_DEFS
21 #define MATH_DEFS
22
23 #ifdef __GNUG__
24 #pragma interface
25 #endif
26
27
28 ///
29 enum MathTextCodes  {
30         ///
31         LM_TC_MIN = 0,
32         /// internal code for variables
33         LM_TC_VAR,
34         /// internal code for stuff in wrapped in mbox etc
35         LM_TC_BOX,
36         ///
37         LM_TC_CONST,
38         ///
39         LM_TC_RM,
40         ///
41         LM_TC_CAL,
42         ///
43         LM_TC_EUFRAK,
44         ///
45         LM_TC_BF,
46         //
47         LM_TC_BB,
48         ///
49         LM_TC_SF,
50         ///
51         LM_TC_TT,
52         ///
53         LM_TC_IT,
54         ///
55         LM_TC_TEXTRM,
56         /// math mode TeX characters ",;:{}"
57         LM_TC_TEX,
58         /// internal code when typing greek
59         LM_TC_GREEK,
60         /// internal code when typing a single greek character
61         LM_TC_GREEK1,
62         /// internal code for symbols
63         LM_TC_SYMB,
64         /// internal code for symbols that get bigger in displayed math
65         LM_TC_BOLDSYMB,
66         ///
67         LM_TC_CMR,
68         ///
69         LM_TC_CMSY,
70         ///
71         LM_TC_CMM,
72         ///
73         LM_TC_CMEX,
74         ///
75         LM_TC_MSA,
76         ///
77         LM_TC_MSB,
78         ///
79         LM_FONT_END
80 };
81
82
83 /// Types of lyx-math insets
84 enum MathInsetTypes  {
85         ///
86         LM_OT_SIMPLE = 0,
87         ///
88         LM_OT_EQUATION,
89         ///
90         LM_OT_EQNARRAY,
91         ///
92         LM_OT_ALIGN,
93         ///
94         LM_OT_ALIGNAT,
95         ///
96         LM_OT_XALIGNAT,
97         ///
98         LM_OT_XXALIGNAT,
99         ///
100         LM_OT_MULTLINE,
101         ///
102         LM_OT_GATHER,
103         /// An array
104         LM_OT_MATRIX,
105
106         /// A LaTeX macro
107         LM_OT_UNDEF,
108         ///
109         LM_OT_FUNCLIM,
110         ///
111         LM_OT_MACRO,
112         ///
113         LM_OT_MAX
114 };
115
116 #endif