]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-def.cc
release: 0.0.65
[lilypond.git] / lily / paper-def.cc
index 6063347e88afd08e796bc24cfec6b94dcc59c10d..eaabea2fbe71b8f3f274bcbfd0beb8e581e8abc3 100644 (file)
@@ -1,3 +1,11 @@
+/*
+  paper-def.cc -- implement Paper_def
+
+  source file of the GNU LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
 #include <math.h>
 #include "misc.hh"
 #include "paper-def.hh"
@@ -32,7 +40,7 @@ Paper_def::Paper_def(Lookup *l)
     linewidth = 15 *CM_TO_PT;          // in cm for now
     whole_width = 8 * note_width();
     geometric_ = sqrt(2);
-    outfile = "lelie.out";
+    outfile = "lelie.tex";
 }
 
 Paper_def::~Paper_def()
@@ -57,15 +65,15 @@ Paper_def::set(Lookup*l)
 }
 
 Real
-Paper_def::interline() const
+Paper_def::interline_f() const
 {
     return lookup_p_->ball(4).dim.y.length();
 }
 
 Real
-Paper_def::internote() const
+Paper_def::internote_f() const
 {
-    return lookup_p_->internote();
+    return lookup_p_->internote_f();
 }
 Real
 Paper_def::note_width()const
@@ -89,7 +97,7 @@ Paper_def::print() const
     mtor << "}\n";
 #endif
 }
-const Lookup*
+Lookup const *
 Paper_def::lookup_l()
 {
     return lookup_p_;