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 /** The restrictions of a standard LaTeX math paragraph
29 allows to get a small number of text codes (<30) */
38 /// Internal code for variables
58 /// Math mode TeX characters ",;:{}"
60 /// Internal code when typing greek
62 /// Internal code when typing a single greek character
64 /// Internal code for symbols
66 /// internal code for symbols that get bigger in displayed math
88 /// Types of lyx-math insets
123 enum MathSymbolTypes {
131 LMB_BOP = (LMB_RELATION | LMB_OPERATOR)
135 /// Paragraph permissions
138 /// If false can use a non-standard size
140 /// If true can insert newlines
142 /// If true can use tabs
144 /// If true can insert new columns
145 LMPF_ALLOW_NEW_COL = 8,
146 /// Smaller than current size (frac)
148 /// Script size (subscript, stackrel)