flower-1.0.2
[lilypond.git] / tex.hh
blobfd4a0b6ddfa5d84b3e71204eeabd4314fdc92f1e
1 #ifndef TEX_HH
2 #define TEX_HH
4 #include "string.hh"
5 #include "boxes.hh"
7 /// anything which can be output
8 struct Output {
9 virtual String TeXstring() const=0;
10 /** generate a TeX string, which typesets the symbol. Vertical
11 base position is the "origin" of the staff
13 virtual Box extent() const=0;
15 /**
16 any output should (at least) be outputtable for TeX, and have a
17 dimension
21 /// an idea
22 struct Text_gob : Output {
23 String text;
24 // fonts, sizes, etc?
25 virtual String TeXstring() const;
26 virtual Box extent() const;
30 /// #h# is in points
31 String vstrut(Real h);
34 #endif