]> git.lyx.org Git - lyx.git/blob - src/mathed/math_diminset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_diminset.h
1 // -*- C++ -*-
2 #ifndef MATH_DIMINSET_H
3 #define MATH_DIMINSET_H
4
5 #include "math_inset.h"
6
7 /// things that need the dimension cache
8
9 class MathDimInset : public MathInset {
10 public:
11         MathDimInset();
12         /// 
13         int ascent() const;
14         ///
15         int descent() const;
16         ///
17         int width() const;
18
19 protected:
20         ///
21         mutable int width_;
22         ///
23         mutable int ascent_;
24         ///
25         mutable int descent_;
26 };
27 #endif