]> git.lyx.org Git - lyx.git/blob - src/mathed/math_sqrtinset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_sqrtinset.h
1 // -*- C++ -*-
2 #ifndef MATH_SQRTINSET_H
3 #define MATH_SQRTINSET_H
4
5 #include "math_nestinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 /** The square root inset.
12     \author Alejandro Aguilar Siearra
13  */
14 class MathSqrtInset : public MathNestInset {
15 public:
16         ///
17         MathSqrtInset();
18         ///
19         MathInset * clone() const;
20         ///
21         void draw(Painter &, int x, int y) const;
22         ///
23         void metrics(MathMetricsInfo const & st) const;
24
25         ///
26         void write(WriteStream & os) const;
27         ///
28         void normalize(NormalStream &) const;
29         ///
30         void maplize(MapleStream &) const;
31         ///
32         void mathmlize(MathMLStream &) const;
33 };
34 #endif