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.
11 * Copyright: 1996, 1997 Alejandro Aguilar Sierra
13 * Version: 0.8beta, Math & Lyx project.
15 * You are free to use and modify this code under the terms of
16 * the GNU General Public Licence version 2 or later.
28 /// Standard Math Sizes (Math mode styles)
40 // decrease math size for super- and subscripts
41 MathStyles smallerStyleScript(MathStyles);
43 // decrease math size for fractions
44 MathStyles smallerStyleFrac(MathStyles st);
48 /** The restrictions of a standard LaTeX math paragraph
49 allows to get a small number of text codes (<30) */
58 /// Internal code for variables
76 /// Math mode TeX characters ",;:{}"
78 /// Internal code when typing greek
80 /// Internal code when typing a single greek character
82 /// Internal code for symbols
84 /// internal code for symbols that get bigger in displayed math
104 /// Types of lyx-math insets
105 enum MathInsetTypes {
137 enum MathSymbolTypes {
145 LMB_BOP = (LMB_RELATION | LMB_OPERATOR)
149 /// Paragraph permissions
152 /// If false can use a non-standard size
154 /// If true can insert newlines
156 /// If true can use tabs
158 /// If true can insert new columns
159 LMPF_ALLOW_NEW_COL = 8,
160 /// Smaller than current size (frac)
162 /// Script size (subscript, stackrel)