lilypond-0.1.12
[lilypond.git] / lily / header.cc
blobb64be42fee46848b951b6a52b1fb2898ec898210
1 /*
2 header.cc -- implement Header
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
9 #include "string.hh"
10 #include "assoc-iter.hh"
11 #include "header.hh"
13 String
14 Header::TeX_string() const
16 String s;
18 s+= "\\def\\LilyIdString{" + lily_id_str_ + "}";
20 for (Assoc_iter<String, String> i(*this); i.ok(); i++)
22 s += "\\def\\mudela" + i.key() + "{" + i.val() + "}";
24 return s;