Re: Direction operators in event-function

2018-10-23 Thread David Kastrup
Urs Liska writes: > Am 21.10.2018 um 18:17 schrieb David Kastrup: >> David Kastrup writes: >> >>> Urs Liska writes: >>> What I would *like* to do is a function like propagate-direction = #(define-event-function (text)(markup?) #{ -\tweak direction #UP >>>

Re: Force text on line without using \textLengthOn

2018-10-23 Thread Aaron Hill
On 2018-10-22 11:27 pm, Urs Liska wrote: Hi, I want to use TextScript.staff-padding to produce markup elements that are aligned to their baseline. In order to prevent the texts from moving vertically to avoid collisions I used \textLengthOn (or its spelled-out variant): \version "2.19.82" test

blank sheet

2018-10-23 Thread Gianmaria Lari
In the manual at http://lilypond.org/doc/v2.19/Documentation/snippets-big-page#staff-notation-creating-blank-staves there is a code similar to this to create a blank staves. \score { { \repeat unfold 12 { s1 \break }} \layout { indent = 0\in \context { \Staff \remove "C

Re: Force text on line without using \textLengthOn

2018-10-23 Thread Urs Liska
Hi Aaron, thank you for these thoughts and suggestions. From the layout aspect lyrics would be best, this would save me lots of grey hair wrt baseline and horizontal alignment. But I had already tried to do so earlier and failed miserably. The point is: I can't use a dedicated lyrics variable

Re: blank sheet

2018-10-23 Thread Pierre Perol-Schneider
Hi Gianmaria, How about: \version "2.19.82" \score { { \repeat unfold 12 { s1 \break }} \layout { \context { \Score \omit BarLine \omit BarNumber \omit TimeSignature } } } \paper { indent = 0 ragged-last-bottom = ##f tagline = "" } Cheers, Pierre Le

Re: blank sheet

2018-10-23 Thread Gianmaria Lari
Great! Merci Pierre! On Tue, 23 Oct 2018 at 14:41, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > Hi Gianmaria, > How about: > > \version "2.19.82" > > \score { > { \repeat unfold 12 { s1 \break }} > \layout { > \context { > \Score > \omit BarLine >

problems in spacing

2018-10-23 Thread Massimiliano Viel
Hello everyone! I’m a composer that after having spent a lot of years with Finale decided to move to a better sw for music writing and wanted to embrace Lilypond. Which is beautiful… but! I’m really spending more time banging my head on the wall and trying to getting a sense of the manual (which

Re: problems in spacing

2018-10-23 Thread Ben
On 10/23/2018 12:06 PM, Massimiliano Viel wrote: Hello everyone! I’m a composer that after having spent a lot of years with Finale decided to move to a better sw for music writing and wanted to embrace Lilypond. Which is beautiful… but! I’m really spending more time banging my head on the wall

Re: problems in spacing

2018-10-23 Thread Ben
On 10/23/2018 12:06 PM, Massimiliano Viel wrote: Hello everyone! I’m a composer that after having spent a lot of years with Finale decided to move to a better sw for music writing and wanted to embrace Lilypond. Which is beautiful… but! I’m really spending more time banging my head on the wall

Re: Drawing extenders for the full duration of a note

2018-10-23 Thread Lucas Werkmeister
Hi Kieren and Graham, thank you both for your responses. Kieren, I really like the idea in your suggestion – but it doesn’t seem to be a good fit for my situation: while the tag solution is neat, in my case the ends of the extenders align with different voices at different times (there are four vo

Re: Drawing extenders for the full duration of a note

2018-10-23 Thread Lucas Werkmeister
On 23.10.18 19:11, Lucas Werkmeister wrote: > In the end, I went for a variation of Graham’s suggestion instead, > encapsulated in a music function: > > extendedNote = > #(define-music-function > (parser location note) > (ly:music?) >#{ > \afterGrace 15/16 $note { \once \hideNote

Re: Drawing extenders for the full duration of a note

2018-10-23 Thread David Kastrup
Lucas Werkmeister writes: > Hi Kieren and Graham, > > thank you both for your responses. Kieren, I really like the idea in > your suggestion – but it doesn’t seem to be a good fit for my situation: > while the tag solution is neat, in my case the ends of the extenders > align with different voice

Re: Drawing extenders for the full duration of a note

2018-10-23 Thread David Kastrup
David Kastrup writes: > You didn't bother specifying a \version statement, but the afterGrace > optional argument syntax is 2.19.47, so it seems safe to use 2.19.22 > parser/location non-syntax. > > \version "2.19.47" > > extendedNote = > #(define-music-function (note) (ly:music) > (make-relati

music-function for ending TextSpanners sometimes fail for skip-events

2018-10-23 Thread Thomas Morley
Hi, for some reason I wanted a music-function which should end a TextSpanner automagically at the next event which starts a new TextSpanner or the last possible event at all. Although it needs further testing I already found a glitch I really can't explain or cope with: Sometimes, when the TextSp

Re: Usage of ly:stencil-fonts ??

2018-10-23 Thread Thomas Morley
Am Mo., 22. Okt. 2018 um 21:59 Uhr schrieb Torsten Hämmerle : > > Hi Harm, > > All these numbers are quite confusing at first glance. And at second and > third glance, too. > But they are nothing but conversion factors to switch units. > And, unfortunately, LilyPond basically uses three concurrent

Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-23 Thread David Kastrup
Thomas Morley writes: > Although it needs further testing I already found a glitch I really > can't explain or cope with: Sometimes, when the TextSpanner is > attached to skip-events, ending them gets confused. It sometimes can > be cured, if the skips are devided, i.e. s2 becomes s4 s4. > So why

Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-23 Thread Thomas Morley
Am Di., 23. Okt. 2018 um 23:54 Uhr schrieb David Kastrup : > So you should figure out what your comparison as equal is supposed to be > doing in the first place. Yep, that's the culprit. So the question is how to find the last rhythmic event of a music-expression and place <>\stopTextSpan right

Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-23 Thread David Kastrup
Thomas Morley writes: > Am Di., 23. Okt. 2018 um 23:54 Uhr schrieb David Kastrup : > >> So you should figure out what your comparison as equal is supposed to be >> doing in the first place. > > Yep, that's the culprit. > > So the question is how to find the last rhythmic event of a > music-expres