]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.1.65
authorfred <fred>
Tue, 26 Mar 2002 22:24:11 +0000 (22:24 +0000)
committerfred <fred>
Tue, 26 Mar 2002 22:24:11 +0000 (22:24 +0000)
Documentation/BLURB.in
input/bugs/spacing-very-tight.ly [new file with mode: 0644]
input/test/stem-direction-down.ly [new file with mode: 0644]
lily/include/stem.hh
lily/tie.cc
mutopia/J.S.Bach/Solo-Cello-Suites/prelude-urtext.ly

index 0d7df0a9d9c64680f0649bf5bba31dd3f211ef49..591817db351a0dfd178a570ea21671b17bcce640 100644 (file)
@@ -1,5 +1,5 @@
 LilyPond is a music typesetter.  It produces beautiful sheet music
-using a high level description file as input.  It is part of the GNU
-project.
+using a high level description file as input.  LilyPond is part of 
+the GNU Project.
 
 
diff --git a/input/bugs/spacing-very-tight.ly b/input/bugs/spacing-very-tight.ly
new file mode 100644 (file)
index 0000000..c903f74
--- /dev/null
@@ -0,0 +1,11 @@
+% when tightly spaced, hinterfleisch -> 0 (and not: -> note-width)
+% we need a mininum of about a note-width/interline space before
+% bar line
+
+% set rediculously tight
+\score {
+       \notes { \time 2/2; c'2 c'2 \time 2/2; }
+       \paper { linewidth = 2.0 \cm;
+       indent = 0.0;
+       }
+}
diff --git a/input/test/stem-direction-down.ly b/input/test/stem-direction-down.ly
new file mode 100644 (file)
index 0000000..3834e27
--- /dev/null
@@ -0,0 +1,8 @@
+\score{
+       \notes\relative c{
+               \include "stem-direction.sly";
+       }
+       \paper{
+               stem_default_neutral_direction=-1.0;
+       }
+}
index 4a59ac6911a46e5bec3ce11877b39fe912577287..14fe13c22a3686c2a04bd73da93c94e7a1caf7d5 100644 (file)
@@ -48,11 +48,10 @@ class Stem : public Item, public Staff_symbol_referencer {
     */
   Drul_array<Real> yextent_drul_;
 
-public:  // urg, autobeamer needs to know if there are (only) rests here?
+public:
   Link_array<Note_head> head_l_arr_;
   Link_array<Rest> rest_l_arr_;
     
-public:
   /// log of the duration. Eg. 4 -> 16th note -> 2 flags
   int flag_i_;
 
index e6c1902d778a42d470edcca27b166a10380f35f4..1bd0d1cdee2e5d8007ca83c56106ac58bb9c4a96 100644 (file)
@@ -39,11 +39,13 @@ Tie::get_default_dir () const
 {
   int m = (head_l_drul_[LEFT]->position_i_ 
          + head_l_drul_[RIGHT]->position_i_) /2;
+
   /*
     If dir is not determined: inverse of stem: down
     (see stem::get_default_dir ())
    */
-  return (m <= 0)? DOWN : UP;
+  Direction neutral_dir = (int)paper_l ()->get_var ("stem_default_neutral_direction");
+  return (m == 0) ? other_dir (neutral_dir) : (m < 0) ? DOWN : UP;
 }
 
 void
index 7f9b4df710eebaca0276d24a82ab608ea23b67ab..dbc6e7b2d8d9b1f5822929a32c59533cf8c1d900 100644 (file)
@@ -186,8 +186,7 @@ prelude_slurs = \notes{
 
 prelude_a = \notes<
        \$prelude_notes
-       % Han-Wen: help:  adding slurs breaks auto-beaming??
-       %\$prelude_slurs
+       \$prelude_slurs
 >
 
 prelude = \context Staff \notes<