lilypond-0.1.57
[lilypond.git] / hdr / tex.hh
blobaf45ba7d27c68d073f778d7375ef8bf50a04f9cb
1 #ifndef TEX_HH
2 #define TEX_HH
4 #include "string.hh"
5 #include "boxes.hh"
6 #include "scalar.hh"
8 /** parameter substitution in TeXstrings.
9 this function provides a simple macro mechanism:
11 if source == "tex%bla%", then
12 substitute_args(source, {"X","Y"}) == "texXblaY"
14 String
15 substitute_args(String source, Array<String> args);
17 /// parameter substitution in TeXstrings
18 String
19 substitute_args(String source, Array<Scalar> args);
21 /// #h# is in points
22 String vstrut(Real h);
25 #endif