10 Symbol (String
, Box
);
11 static const Symbol
*find_ball(int);
12 static const Symbol
*find_rest(int);
13 static const Symbol
*find_bar(String
);
17 /// a symbol with a variable width
18 struct Stretchable_symbol
{
21 /// return a string for a symbol in this width.
22 virtual String
operator ()(Real width
)=0;
24 static const Stretchable_symbol
* get_linestaff(int n
);
27 /// anything which can be output
29 virtual String
TeXstring() const=0;
30 /** generate a TeX string, which typesets the symbol. Vertical
31 base position is the "origin" of the staff
33 virtual Box
extent() const=0;
36 any output should (at least) be outputtable for TeX, and have a
42 struct Text_gob
: Output
{
45 virtual String
TeXstring() const;
46 virtual Box
extent() const;
51 String
vstrut(Real h
);