bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flat symbol in instrument header line?


From: Toby Dylan Hocking
Subject: Re: Flat symbol in instrument header line?
Date: Fri, 01 Apr 2005 20:41:35 -0800
User-agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2.1) Gecko/20021130

Dear Jan, Mats, and the rest of the lilypond team,

Both of your pieces of advice helped. I was able to successfully get flat symbol how I wanted it to look in the instrument header line with this code:

\header{
title = "Surfin' U.S.S.R."
composer = "Toby Dylan Hocking"
instrument = \markup{ Saxophone in B \smaller \smaller \smaller \flat }
}

I had to include three `\smaller' commands, else the symbol was printed awkwardly large. Which is fine for me now that I know how. But you may wish to consider some more intuitive way of implementing this.

Best regards,
Toby




Jan Nieuwenhuizen wrote:

Toby Dylan Hocking writes:

I recently have started using Lilypond to typeset music. Most
functions seem to be straightforward and intuitive. Thanks for this
great piece of free software.

Thanks!

However, I have one problem, which I suspect is a bug.

I use the following segment in my input file:

\header{
        title = "Surfin' U.S.S.R."
        composer = "Toby Dylan Hocking"
        instrument = "Saxophone in E\flat"
}

You may try:

   \header{
           title = "Surfin' U.S.S.R."
           composer = "Toby Dylan Hocking"
           instrument = \markup { "Saxophone in E" \flat }
   }

   {
     c
   }

It seems that this must be a bug. If not, tell me what I am doing
wrong

I'm not sure, this may be a documentation or compatibility bug; the
\flat macro must be explicitely defined by including feta16.tex to be
used in a TeX string.

Jan.





Mats Bengtsson wrote:

As is described at the bottom of
http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Creating-titles.html#Creating-titles
the title fields can either be specified as ordinary text strings
or using \markup{...}. Take a look at
http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Text-markup.html#Text-markup
and
http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Overview-of-text-markup-commands.html#Overview-of-text-markup-commands
to learn how to produce the desired instrument name.


  /Mats


Quoting Toby Dylan Hocking <address@hidden>:


To whom it may concern,

I recently have started using Lilypond to typeset music. Most functions
seem to be straightforward and intuitive. Thanks for this great piece of
free software. However, I have one problem, which I suspect is a bug.

I use the following segment in my input file:

\header{
        title = "Surfin' U.S.S.R."
        composer = "Toby Dylan Hocking"
        instrument = "Saxophone in E\flat"
}

I get the following messages at runtime:

GNU LilyPond 2.4.5
Processing `surfinussr-eflat.ly'
Parsing...
Interpreting music... [8][16][24][25]
Preprocessing graphical objects...
Calculating line breaks... [3][6][9][12][15][18][21][24][25]
Layout output to `surfinussr-eflat.tex'...
Converting to `surfinussr-eflat.dvi'...
Error invoking `latex \\nonstopmode \\input surfinussr-eflat.tex >
/dev/null 2>&1 '. Return value 256
Converting to `surfinussr-eflat.ps'...
Converting to `surfinussr-eflat.pdf'...

There are two symptoms of the problem:

1. The "Error invoking..." runtime message

2. The output .pdf file is produced off center (see attached pdf)

I have figured out the problem is invoking `\flat' in the instrument
line, because the problem goes away if I change it to `-flat'.

I am running Lilypond 2.4.5 on SunOS 5.8.

It seems that this must be a bug. If not, tell me what I am doing wrong
and how I can typeset the flat symbol in the instrument header line.

--
Sincerely,
Toby Dylan Hocking
http://www.ocf.berkeley.edu/~tdhock/





--
Sincerely,
Toby Dylan Hocking
http://www.ocf.berkeley.edu/~tdhock/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]