[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using 'flat' or # in a title
From: |
Bram Boskamp |
Subject: |
Re: using 'flat' or # in a title |
Date: |
Tue, 17 Jul 2001 16:27:19 +0200 (CEST) |
Well, David Boersma just answered my question with this LaTeX solution:
title = "All the things you C$\sharp$";
And it works for me!
(using lilypond 1.3.121)
Bram
On 17 Jul 2001, Jan Nieuwenhuizen wrote:
> Bram Boskamp <address@hidden> writes:
>
> > Hi,
> >
> > Is it possible to use the flat or sharp sign in a score title?
>
> It used to be, but now it seems you need a little hacking before you
> can do:
>
> \header {
> title="TeX \fetachar\fetasharp"
> }
>
> \score {
> \notes c
> }
>
>
> You'd need to do something like below.
>
> Mats, any idea why this was dropped -- can't we bake a nicer interface
> than this klugde below?
>
> --- tex/lilyponddefs.tex.orig Tue Jul 17 16:07:44 2001
> +++ tex/lilyponddefs.tex Tue Jul 17 16:14:03 2001
> @@ -4,10 +4,17 @@
> %% this file defines various macros to accomodate lilypond output
> %%
> %% let's not make par before endinput
> -%
> +
> % TeXbook ex 7.7
> \def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax}
> -%
> +
> +% The feta characters
> +\input feta20.tex
> +
> +\font\fetasixteen=feta16
> +\def\fetafont{\fetasixteen}
> +\def\fetachar#1{\hbox{\fetasixteen#1}}
> +
> % If we must make titles, do so, before we're Skipped.
> \ifx\mustmakelilypondtitle\undefined\else\makelilypondtitle\fi
> \ifx\mustmakelilypondpiecetitle\undefined\else\makelilypondpiecetitle\fi
> @@ -20,7 +27,6 @@
> \fi
> \SkipLilydefs
>
> -
> % need to do some stuff to turn pagenumbering off
> \ifundefined{documentclass}
> \input lilypond-plaintex
> @@ -28,12 +34,8 @@
> \input lilypond-latex
> \fi
>
> -
> -%
> \def\botalign#1{\vbox to 0pt{\vss #1}}
> \def\leftalign#1{\hbox to 0pt{#1\hss}}
> -
> -\input feta20.tex
>
> % Attempt to keep lilypiecetitle together with the piece:
> \def\myfilbreak{\par\vfil\penalty200\vfilneg}
>
>
> --
> Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
> http://www.xs4all.nl/~jantien | http://www.lilypond.org
>
>