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)
41 /** The restrictions of a standard LaTeX math paragraph
42 allows to get a small number of text codes (<30) */
46 /// Open and Close group
52 /// Super and sub scripts
56 /// Editable Math Inset
58 /// Editable Text Inset
62 /// Internal code for constants 11
64 /// Internal code for variables
80 /// Math mode TeX characters ",;:{}" 20
82 /// Special characters "{}&#_%"
84 /// Internal code for operators 22
86 /// Internal code for symbols
100 /// Types of lyx-math insets
101 enum MathInsetTypes {
157 enum MathBinaryTypes {
165 LMB_BOP = (LMB_RELATION | LMB_OPERATOR)
169 /// Paragraph permissions
172 /// If false can use a non-standard size
174 /// If true can insert newlines
176 /// If true can use tabs
178 /// If true can insert new columns
179 LMPF_ALLOW_NEW_COL = 8,
180 /// Smaller than current size (frac)
182 /// Script size (subscript, stackrel)