some problems with mensural music

2009-08-10 Thread Denis . Roegel

Hi,

I am trying to typeset some 16th century hymns with lilypond.
I mostly can make it work, but I have a few remaining problems.

My working file is:

  http://www.loria.fr/~roegel/tmp/questions.ly

My problems are the following:

  1) I would like to show the tempo with mensural notes, not as it
 comes out in the above example

  2) the ligrature \[g1( f)\] comes out with a slur, but I would like
 to avoid the slur; however, if I remove (...), the synchronization
 of the lyrics is screwed up ; how can I put one syllable on
 \[g1( f)\] without having the slur appear? In my 16th century example
 which I try to mimic, there are no slurs;
 the same problem occurs with other constructions such as \[d\breve( c)\]

  3) I would like a key like mensural-f, but on the third line, not on the
 second line from the top; is this possible?

  4) for more recent layouts, is it possible to change the slope of
 the beams?

Thank you very much in advance!

Denis Roegel



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: some problems with mensural music

2009-08-10 Thread Denis . Roegel



\override Slur #'transparent = ##t



\version "2.12.0"
\addInstrumentDefinition #"mensuralf3"
  #`( (clefGlyph . "clefs.mensural.f")
 (middleCPosition . 4)
 (clefPosition . 0))
 \instrumentSwitch "mensuralf3"


Thanks, this works fine. However, is there a way to increase the size
of this clef?

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


hiding the tempo

2009-08-10 Thread Denis . Roegel

Hi,

I would like to set the tempo for the MIDI file, but not display
the tempo information at the beginning of the score. Is this possible?

Thanks,

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


negative spaces for fine tuning?

2009-08-10 Thread Denis . Roegel

Hi,

the music layout can be changed by adding rests such as s4,
but is it possible to include some negative spaces?

Thanks,

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


setting notes alone

2009-08-10 Thread Denis . Roegel

Hi,

sometimes I want to discuss some details of a score, and I want to
use the note symbols alone, without any staff. For instance,
I may want to say that a breve is equal to two semibreves, and have
the right symbols, and no staff. How can I achieve this?

Thanks,

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


non overriding \clefs

2009-08-10 Thread Denis . Roegel

Hi,

if I start a score with \clef treble \clef bass,
I only get the bass \clef. Is it possible to have both appear,
one after the other, even though there is no note for the treble \clef?

Thanks,

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: hiding the tempo

2009-08-10 Thread Denis . Roegel

Quoting Jonathan Kulp :


Yes, you can set it in the \midi block, although the format is a bit more
convoluted. Here's an example where the quarter is set to 160 beats per
minute:

\midi {
  \context {
\Score
tempoWholesPerMinute = #(ly:make-moment 160 4)
  }
}


Thanks. What had escaped me is that this is only taken into
accound when the \tempo information is not given. Anyway, it answers
my question.

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


adding footnote calls

2009-08-11 Thread Denis . Roegel

Hi,

I would like to write comments on a score, and specifically, I would
like to add something like a circled 1, a circled 2,
or a small letter, etc. in various places, so that later I can write:

  (1) this note ...
  (2) this group of notes differs from ...

I am looking for something like an horizontal bracket to which I could
add a tag, above or below. I am sure this has already been done,
but I didn't find a good example.

Thanks,

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


staves with example notes, ancient and modern

2009-08-11 Thread Denis . Roegel

Hi,

I would like to reproduce the first two staves of the section "Note values"
on http://en.wikipedia.org/wiki/Mensural_notation, with the label
on the left. That is, I am trying to make

  Modern ... staff ...
  notation (possibly with the note names)

  White notation ... staff ...
  (with the note names)

and I would like the notes being aligned.

Thanks,

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: staves with example notes, ancient and modern

2009-08-12 Thread Denis . Roegel



I would like to reproduce the first two staves of the section "Note  values"
on http://en.wikipedia.org/wiki/Mensural_notation, with the label
on the left. That is, I am trying to make

 Modern ... staff ...
 notation (possibly with the note names)

 White notation ... staff ...
 (with the note names)



This is a rather general request. What is it that is giving you  difficulty?


Hi, perhaps I wasn't totally clear. I can get the two staves, but I want
the texts "Modern notation" and "White notation" on the left,
as well as an alignment of the notes. I wasn't sure about the best way
to achieve this, either by a LaTeX tabular, or internally in lilypond.

Have you started? Do you have some experience with  lilypond? Have  
you read the Learning Manual?


I have read some material and have typeset a Mozart sonata, as well
as several 16th century mensural pieces. I am currently working
on a very small project, and I have only a few things to do. All my
music is already typeset, but I want to annotate a few items.

Lastly, I don't know if you know about it, but there is a french   
speaking mailing list for lilypond users. It's at http://  
lists.gnu.org/mailman/listinfo/lilypond-user-fr


Thanks, but usually, even when there is a French group, I prefer using
the English one, where people are generally more knowledgeable, and more
numerous.

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fwd: staves with example notes, ancient and modern

2009-08-12 Thread Denis . Roegel

Quoting Marek Klein :


Hi,
something like this?

\version "2.13.2"

pattern = { \cadenzaOn e'4 e'2. e'1 e'\breve e'\longa \bar "|" }
pmensural = {
\set fontSize = #6
\override NoteHead  #'style = #'mensural
\pattern
}
\score {
<<
\new Staff {
  \override Staff.InstrumentName #'self-alignment-X = #LEFT
  \set Staff.instrumentName = "mensural "
  \pmensural
}


Yes, thank you! This is almost what I want. Can I also put the
instrument information on several lines, for instance

  mensural
  notation

?

Thanks again,

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


some spacing problems

2009-08-18 Thread Denis . Roegel

Hi,

I want to show the correspondence between white mensural notes and  
modern notes.

So far, I have been able to produce the following:

  http://www.loria.fr/~roegel/tmp/questions2.pdf
  http://www.loria.fr/~roegel/tmp/questions2.ly

I am still trying to improve this a little bit. I would like

  - to have the maxima start a little bit more towards the right, so that
 the word "maxima" does not extend out of the staff
  - I would like to have a symmetric effect on the right
  - I would like to get rid of the bars on the right, but if I remove
my \bar "", the semifusa extends beyond the staff:-(

Thanks,

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


arbitrary TeX expressions in a score?

2009-08-18 Thread Denis . Roegel

Hi,

is it possible to include some arbitrary TeX expression in a score?
Let's assume that for some reason I want to add $\int_0^\infty ...$
above a note. Can it be done? I assume that in the worst case I can
produce an image for this formula and include the image, but is there
an easier way? Such an escape is perhaps not that useful for math,
but there are plenty of cases where it would be useful, when
the annotation becomes real typesetting and some more advanced features
or fonts are needed, or merely some coherence between a score and
the text in which it is embedded.

Thanks,

Denis



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arbitrary TeX expressions in a score?

2009-08-18 Thread Denis . Roegel

Quoting Graham Percival :


On Tue, Aug 18, 2009 at 03:41:24PM +0200, denis.roe...@loria.fr wrote:

is it possible to include some arbitrary TeX expression in a score?
Let's assume that for some reason I want to add $\int_0^\infty ...$
above a note. Can it be done? I assume that in the worst case I can
produce an image for this formula and include the image, but is there
an easier way?


There's no easier way.  Producing an eps and including that in a
markup is the only way.  If you want lots of introductory
explanations, you could use lilypond-book, but I don't think
that's what you're after here.


But this would really be worth adding to lilypond. I am thinking
of something similar to the call of TeX or LaTeX in metapost:

  btex $c^2=a^2+b^2$ etex

or as a string

  tex("$c^2=a^2+b^2$")

That way, you could easily add paragraphs formated with TeX in various places,
you could have all the symbols you want, and especially reach better
homogeneity between the text and the score. One of the most serious
current problem seems to be the discrepancy between the text font
in a LaTeX file and the lyrics font in a score. Perhaps it can be made
identical in some cases, but it is not automatic, and the different
font families hurt the eyes.

Denis Roegel




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arbitrary TeX expressions in a score?

2009-08-18 Thread Denis . Roegel



With the possible exception of the font commands for markup or
things like the current date and time, I don't think that lilypond
output should depend on the computer.


Doesn't it already depend on a LaTeX installation? Just a few days ago
I reinstalled my computer, and on Ubuntu, the lilypond package required
some TeX packages which I noticed, because I mistakenly forgot
to install texlive first, which I usually do.

However, I am not saying that lilypond should depend on TeX,
but if it could have some optional way to call TeX, that would be better.
Perhaps I am a typographical purist, but if I have some text font
in my document, I don't want to mix just any font for lyrics.
Another example is the following. In some of my scores,
I put boxed letters as annotations:

  \override TextScript #'stencil =
#(make-stencil-boxer 0.1 0.3 ly:text-interface::print)

and then later c1_"a" or something like that.

In my text, I write "\fbox{a} is ...", but my \fbox{a} isn't spaced
exactly like the box produced by stencil. There are probably many examples
like this. I can live with them, but it could also be improved.

Denis Roegel






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arbitrary TeX expressions in a score?

2009-08-19 Thread Denis . Roegel



In my text, I write "\fbox{a} is ...", but my \fbox{a} isn't spaced
exactly like the box produced by stencil. There are probably many examples
like this. I can live with them, but it could also be improved.


My first instinct is that something like this could be fixed,
although not without a proper minimal example.


Sorry, I should have posted a minimal example. Here is one:

  http://www.loria.fr/~roegel/tmp/test.tex
  http://www.loria.fr/~roegel/tmp/score.ly

lilypond-book --pdf --o=out  test.tex
cd out
pdflatex test.tex

The squared boxes are not the same. This is not a surprise, but it could
be improved. But really, the problem is exactly the same in metapost
(http://en.wikipedia.org/wiki/MetaPost).

Denis Roegel



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arbitrary TeX expressions in a score?

2009-08-20 Thread Denis . Roegel

Quoting Graham Percival :


These are not minimal; minimal means "as small as possible".
Please read:
http://lilypond.org/~graham/Tiny-examples.html


I know that, but I didn't want to make them minimal,
thinking that people would enjoy the whole context and ask me more,
or tell me that it is not realistic.
Next time, I will post a real minimal example.

Denis Roegel



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arbitrary TeX expressions in a score?

2009-08-21 Thread Denis . Roegel

Quoting Graham Percival :


On Wed, Aug 19, 2009 at 06:04:41PM +0200, denis.roe...@loria.fr wrote:



My first instinct is that something like this could be fixed,
although not without a proper minimal example.


Sorry, I should have posted a minimal example. Here is one:

  http://www.loria.fr/~roegel/tmp/test.tex
  http://www.loria.fr/~roegel/tmp/score.ly


These are not minimal; minimal means "as small as possible".
Please read:
http://lilypond.org/~graham/Tiny-examples.html


I have put more minimal (but not totally minimal) examples at

http://www.loria.fr/~roegel/tmp/test.tex
http://www.loria.fr/~roegel/tmp/score.ly

To compile:

lilypond-book --pdf --o=out test.tex
cd out
pdflatex test

Observe: difference between squares in text and score.

I could have made the file test.tex shorter, even keeping the features
I want to display, but then sooner or later someone will want to have
more context. I think really minimal files should only be sought when
the non-minimalness is a drawback, which I don't think is the case here.

Denis Roegel




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


centering some markup under a bracket

2009-08-22 Thread Denis . Roegel

Hi,

I am trying to center a markup under a bracket, for annotation
purposes. Unfortunately, my markup only appears left of the bracket:

\version "2.12.1"

\score{
  \new Staff <<
\new Voice = "one" {
   \cadenzaOn

   a'\startGroup b'\stopGroup

}
\new Lyrics \lyricsto "one" { X }
  >>
  \layout {
 \context {
   \Staff \consists "Horizontal_bracket_engraver"
 }
   }
}

Is there any way to fix this? Thanks,

Denis Roegel



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Feature Request: ^\times and _\times

2009-09-08 Thread Denis . Roegel

Quoting Graham Percival :


On Tue, Sep 08, 2009 at 03:59:24PM -0700, Jonathan Wilkes wrote:

Something else I just though of, is that there isn't a shortcut for
setting the direction of stems that aren't beamed.  It would be helpful if
there were a shortcut you could put after c4 to set the stem direction.
Maybe like ^| or _|


I think that would be making the syntax too "busy".  We don't want
to end up like perl.

Soomething like ^[ is fine, since we normally use [ and we
normally use ^ _ directions.  But inventing a new meaning for |
would be a mistake.


Another idea would be to have a means to define macros,
say like in TeX. This would answer the shortcut question minor
some extra backslashes. For instance, instead of ^|, one could write
\beamup or something like that.

Such macros (without parameters) would tremendously simplify
lots of pieces of lilypond code, but with parameterized macros
it would even be more striking.

Denis Roegel




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user