]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.66
authorfred <fred>
Sun, 24 Mar 2002 19:44:49 +0000 (19:44 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:44:49 +0000 (19:44 +0000)
tex/lilyponddefs.tex

index a9db1f5fa27d747fc000965bfaffc15d49f12acd..5bc96a07a69374b45019bb89fe4b454d7ebb08bb 100644 (file)
@@ -49,6 +49,7 @@
 \newdimen\noteheight
 \newdimen\notewidthhalf
 \newdimen\notewidthdouble
+\newdimen\notewidthquart
 \newdimen\staffrulethickness
 \newdimen\interstaffrule
 \newdimen\balkhalf
         \interlinedist=\fontdimen5\musicfnt
         \smallspace=.3\interlinedist
         \interstaffrule=\balkhoog
-        \advance\interstaffrule by-\staffrulethickness
         \divide\interstaffrule by 4
-        \advance\interstaffrule by -\staffrulethickness
         \notewidthhalf=\notewidth
+        \notewidthquart=\notewidth
         \notewidthdouble=\notewidth
         \rationalmultiply \notewidthhalf*1/2
+        \rationalmultiply\notewidthquart*1/4
         \multiply \notewidthdouble by 2
-               \balkhalf=\balkhoog
- \rationalmultiply\balkhalf*1/2 
+        \balkhalf=\balkhoog
        \rationalmultiply\balkhalf*1/2 
 }
 
 % dynamics take extra kerning
 
 \def\emptybar{}
 
-\def\thinbar{\vrule height\balkhoog}
+\def\thinbar{\vrule height\balkhoog width0.8pt} % TODO parametric.
 \def\thickbar{\vrule height\balkhoog width 2\smallspace}
 \def\maatstreep{\thinbar}
 
 %? what-s wrong with rightalign?
 \def\finishbar{\rightalign{\thinbar\kern\smallspace\thickbar}}
 
-%%% \def\finishbar{\hss\rightalign{\thinbar\kern\smallspace\thickbar}}
-% \def\repeatstopbar{\rightalign{\repeatcolon\hskip2\smallspace\thinbar\hskip\smallspace\thickbar}}
-
 \def\repeatstopbar{\hss\rightalign{\repeatcolon\hskip2\smallspace\thinbar\hskip\smallspace\thickbar}}
 \def\repeatstartbar{\hbox{\thickbar\kern\smallspace\thinbar\kern2\smallspace\repeatcolon}}
 \def\repeatstopstart{\hbox{\repeatcolon\kern2\smallspace\thinbar\kern\smallspace\thickbar\kern\smallspace\thickbar\kern\smallspace\thinbar\kern2\smallspace\repeatcolon}}
         \n=0\nointerlineskip%
         \loop\ifnum\n<#1\advance\n by1%
                 \kern\interstaffrule
-                \hrule height \staffrulethickness width#2
+                \nointerlineskip
+                \vbox to 0pt{\hrule height \staffrulethickness width#2%
+                        \vss}\nointerlineskip
                 \repeat
         }}
 
+%%
+% Ugh. Need to redo this. Wish we had PS.
+%
 \def\toplines#1{ % why space needed here?
         \topalign{\hbox{\kern-\notewidth\lines{#1}{\notewidthdouble}}}}
+
 \def\botlines#1{ % idem ditto
         \botalign{\hbox{\kern-\notewidth\lines{#1}{\notewidthdouble}}}}