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
78 /// Math mode TeX characters ",;:{}"
80 /// Internal code when typing greek
82 /// Internal code when typing a single greek character
84 /// Internal code for symbols
86 /// internal code for symbols that get bigger in displayed math
103 /// This must be < 32
108 /// Types of lyx-math insets
109 enum MathInsetTypes {
141 enum MathSymbolTypes {
149 LMB_BOP = (LMB_RELATION | LMB_OPERATOR)
153 /// Paragraph permissions
156 /// If false can use a non-standard size
158 /// If true can insert newlines
160 /// If true can use tabs
162 /// If true can insert new columns
163 LMPF_ALLOW_NEW_COL = 8,
164 /// Smaller than current size (frac)
166 /// Script size (subscript, stackrel)