]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tex.hh
partial: 1.0.1.jcn
[lilypond.git] / lily / include / tex.hh
1 /*
2   tex.hh -- declare various functions for TeX output
3
4   source file of the LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10
11 #ifndef TEX_HH
12 #define TEX_HH
13
14 #include "string.hh"
15 #include "boxes.hh"
16 #include "scalar.hh"
17
18 /** parameter substitution in TeX_strings.
19   this function provides a simple macro mechanism:
20
21   if source == "tex%bla%", then
22   substitute_args (source, {"X","Y"})  == "texXblaY"
23   */
24 String
25 substitute_args (String source, Array<String> args);
26
27 /// parameter substitution in TeX_strings
28 String
29 substitute_args (String source, Array<Scalar> args);
30
31 /// #h# is in points
32 String vstrut (Real h);
33
34
35 #endif