]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.8
authorfred <fred>
Tue, 5 Nov 1996 19:10:32 +0000 (19:10 +0000)
committerfred <fred>
Tue, 5 Nov 1996 19:10:32 +0000 (19:10 +0000)
lilyponddefs.tex
request.cc
symbol.ini

index 45152140cb1ff898255f8bf5ee4626f369eb927f..41748636de19e8a087d77404f6bacf224a6fa80c 100644 (file)
 \vskip 40pt\par\vbox{\hbox to 0pt{\vrule width30pt height1pt\hss}}\par\vskip 40pt
 }
 \def\interscoreline{\beauty}
-%
-% a staffsymbol with #1 lines, width #2
-% bottom at baseline
-\def\linestafsym#1#2{\vbox to 0pt{\hbox to 0pt%
-  {\vbox to 0pt{\vss%
-       \kern-\interstaffrule
+
+
+\def\lines#1#2{%
+ \vbox{\kern-\interstaffrule
        \n=0\nointerlineskip%
        \loop\ifnum\n<#1\advance\n by1%
-               \kern\interstaffrule \hrule height \staffrulethickness  width#2
+               \kern\interstaffrule
+               \hrule height \staffrulethickness width#2
                \repeat
-       }%
-\hss}}}
+       }}
+
+\def\toplines#1{ % why space needed here?
+       \vbox to 0pt{\hbox{\kern-6pt\lines{#1}{12pt}}\vss}}
+\def\botlines#1{ % idem ditto
+       \vbox to 0pt{\vss\hbox{\kern-6pt\lines{#1}{12pt}}}}
+
+%
+% a staffsymbol with #1 lines, width #2
+% bottom at baseline
+\def\linestafsym#1#2{\hbox to 0pt{\vbox to 0pt{\vss\lines{#1}{#2}}\hss}}
 
 \def\vcenter#1{\vbox to 0pt{\vss #1\vss}}
 \def\topalign#1{\vbox to 0pt{#1\vss}}
index fd032fcfd813ddb6f07199e2d820b87baecc52b8..35a9ae9718a156fe594240cae35327a6e1bfd951 100644 (file)
@@ -41,13 +41,13 @@ Note_req::height() const
     return  s + octave*7;
 }
 
-/****************************************************************/
 Rhythmic_req::Rhythmic_req(Voice_element*v)
      :Request(v)
 {
     balltype = 1;
     dots = 0;
 }
+
 void
 Rhythmic_req::print() const
 {
@@ -57,6 +57,7 @@ Rhythmic_req::print() const
        mtor << '.';
     mtor<<"\n";
 }
+
 void
 Note_req::print() const
 {
index 39553133ec372aad26ae97c59160d749d00e0ee0..ea303b04f1f920ebcc3be08242e2559259c13299 100644 (file)
@@ -13,6 +13,11 @@ table balls
        4       \quartball      0pt     6pt     -2.5pt  2.5pt
 end
 
+table streepjes
+       toplines        \toplines{%}    -6pt    6pt 0pt 0pt
+       botlines        \botlines{%}    -6pt    6pt 0pt 0pt
+end
+
 table bars
        empty   \emptybar       0pt     0pt     0pt     0pt
        |       \maatstreep     0pt     1pt     -12pt   12pt