4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Jean-Marc Lasgouttes
9 * Full author contact details are available in file CREDITS.
15 #include "support/strfwd.h"
20 /* The TeXbook, p. 158:
22 * There are thirteen kinds of atoms, each of which might act
23 * differently in a formula; for example, ‘(’ is an Open atom because
24 * it comes from an opening. Here is a complete list of the different
27 * + Ord: an ordinary atom like ‘x’
28 * + Op: a large operator atom like ‘\sum’
29 * + Bin: a binary operation atom like ‘+’
30 * + Rel: a relation atom like ‘=’
31 * + Open: an opening atom like ‘(’
32 * + Close: a closing atom like ‘)’
33 * + Punct: a punctuation atom like ‘,’
34 * + Inner: an inner atom like ‘\frac{1}{2}’
35 * + Over: an overline atom like ‘\overline{x}’
36 * + Under: an underline atom like ‘\underline{x}’
37 * + Acc: an accented atom like ‘\hat{x}’
38 * + Rad: a radical atom like ‘\sqrt{2}’
39 * + Vcent: a vbox to be centered, produced by \vcenter.
41 * Over, Under, Acc, Rad and Vcent are not considered in the enum
42 * below. The relvant elements will be considered as Ord.
57 MathClass string_to_class(docstring const &);
59 docstring const class_to_string(MathClass);