- (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
-*/
-
-#include <math.h>
-#include "string.hh"
-#include "assoc.hh"
-#include "misc.hh"
-#include "paper-def.hh"
-#include "debug.hh"
-#include "lookup.hh"
-#include "dimen.hh"
-#include "input-translator.hh"
-#include "assoc-iter.hh"
-#include "score-grav.hh"
-#include "p-score.hh"
-#include "main.hh"
-
-void
-Paper_def::set_var (String s, Real r)
-{
- real_vars_p_->elem (s) = r;
-}
-
-Real
-Paper_def::get_var (String s) const
-{
- if (! real_vars_p_->elt_b (s))
- error ("unknown paper variable `" + s+"'");
- return real_vars_p_->elem (s);
-}
-
-Real
-Paper_def::linewidth_f() const
-{
- return get_var ("linewidth");
-}
-
-Real
-Paper_def::duration_to_dist (Moment d,Real k) const
-{
- if (get_var("geometric"))
- return geometric_spacing(d);
- return arithmetic_spacing(d,k);
-}
+ LilyPond is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.