[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mudela-book and math symbols
From: |
Mats Bengtsson |
Subject: |
Re: mudela-book and math symbols |
Date: |
Sat, 04 Nov 2000 23:01:03 +0100 |
> >>>>> "Mark" == Mark Hindley <address@hidden> writes:
>
>
> Mark> For me $\\textsharp$ works
>
> Thanks. In the context of \subsection* it needs only one backslash,
> though.
Yes, this gives exactly the same layout on the accidental
as you get within the scores. The problem is that you can't
use it before the first \begin{mudela} in the document.
Also, I think that these definitions are no more needed
in Lilypond and will be excluded really soon. The reason
that \sharp didn't work is that the macro was overwritten
in fetdefs.tex. Here's a patch to solve the problem so
you can use \sharp safely throughout the document (the
future-proof alternative).
/Mats
diff -u tex/fetdefs.tex~ tex/fetdefs.tex
--- tex/fetdefs.tex~ Mon May 8 10:48:49 2000
+++ tex/fetdefs.tex Sat Nov 4 22:51:26 2000
@@ -5,13 +5,13 @@
\def\fetdef#1#2{%
\def#1{\hbox{\char#2}}}
-\fetdef\sharp{16}
-\fetdef\natural{17}
-\fetdef\flat{18}
+\fetdef\fetasharp{16}
+\fetdef\fetanatural{17}
+\fetdef\fetaflat{18}
\font\fetasixteenfont=feta16
\def\fetafont{\fetasixteenfont}
-\def\textflat{{\fetafont\raise 1ex\hbox{\flat}}}
-\def\textnatural{{\fetafont\raise 1ex\hbox{\natural}}}
-\def\textsharp{{\fetafont\raise1ex\hbox{\sharp}}}
+\def\textflat{{\fetafont\raise 1ex\hbox{\fetaflat}}}
+\def\textnatural{{\fetafont\raise 1ex\hbox{\fetanatural}}}
+\def\textsharp{{\fetafont\raise1ex\hbox{\fetasharp}}}
\endinput