+/*
+ 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"
-// golden ratio
-const Real PHI = (1+sqrt(5))/2;
-
-// see Roelofs, p. 57
Real
Paper_def::duration_to_dist(Moment d)
{
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()
}
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::interbeam_f() const
+{
+ return lookup_p_->interbeam_f();
+}
+Real
+Paper_def::internote_f() const
{
- return lookup_p_->internote();
+ return lookup_p_->internote_f();
}
Real
Paper_def::note_width()const