[Top][All Lists]

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

Re: spacing

From: Mats Bengtsson
Subject: Re: spacing
Date: Tue, 11 Dec 2001 16:53:02 +0100

> The dots are wrong in measures 4 and 10 and \dotDown
> and \dotsDown give parse errors.  What now?

It appears there is no predefined macro to set the 
dot direction. You could define it yourself:

\dotDown= \property Voice.Dots \override #'direction = #-1

The full list of predefined macros can be found in ly/

> Poet is the wrong typeface.  How to fix?

I wouldn't call it a bug but a typesetting decision. 
You could set it yourself by embedding LaTeX commands
in the string:
poet = "\\textsc{D.R. Arnold}"

> How do I get page numbers of the style 1/1, 2/1, etc.,
> and how do I get rid of the page number when there is
> only a single page?

To get rid of the page numbers, call ly2dvi with 
ly2dvi -s pagenumber=no 
It should also be possible to add the following setting to your
\paper{...} section, but it doesn't work unless you apply the
patch found below.
  pagenumber = "no"

For the alternative page numbering style, the solution is less
straightforward. You could put a copy of tex/titledefs.tex in
your working directory and edit the definition of address@hidden
The LaTeX package lastpage should help.

It'd also be slightly tricky to detect single page scores and
turn off the page numbers automatically in those cases, because
of the way page breaking is done in TeX.

> What happened to the copyright notice?

It's placed on the first page. However, the Lilypond tagline
is placed on the last page and on single page scores the latter
will unfortunately override the former. If you set not only
copyright but also tagline, you'll be on the safe side.

> I'd like to try a transparent note in a fourth part to move
> other notes to the right so that I can place a rest
> for a center part before the bass and top notes. That seems
> to be the only outright impossible situation now, as in measure
> 10.  If there is no transparent note, is there some other way
> of doing measure 10?

I don't really see what you try to achieve.

> How is a transparent note entered?

Doesn't s4 work?

> Can a rest be a notehead and the stem be made transparent?
> That would give more precision and more probability of working
> with future versions. Moving rests from places where they don't
> belong anyway just doesn't do it for me.  If there is more than
> one rest you also have to find which rest to move by trial and
> error.

In other words: "Could I place any symbol by specifying its
"pitch" and duration?" At the moment, I'm afraid that would 
require some Scheme hacking that would certainly not be 
guaranteed to be future proof.

> --------------------------------------
> It would be better to do \key D and \key d or IOW \key RE and
> \key re because it would
> save keystrokes.  There are only two modes in the system
> of keys, major and minor.  Other modes cannot properly be
> said to be in keys.  So:
> \tonality g \mode mixolydian would be correct, but
> \key g \mixolydian is just plain wrong--and its meaning
> is not clear at all. It is hard enough
> to explain to beginning students that key is two things, tonality
> and mode, without that.  :-)

You say yourself that a key is two things, tonality and mode.
Doesn't it make sence, then, to have a command \key with two
parameters, the tonality and the mode?


--- scripts/  Tue Nov 20 18:35:52 2001
+++ scripts/   Tue Dec 11 16:24:58 2001
@@ -438,7 +438,7 @@
        # search only the first 10k
        s = s[:10240]
-       for x in ('textheight', 'linewidth', 'papersize', 'orientation'):
+       for x in (extra_fields):
                m = (r'\\def\\lilypondpaper%s{([^}]*)}'%x, s)
                if m:
                        set_setting (extra, x, (1))

reply via email to

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