Re: RehearsalMark and MetronomeMark together…again…

2013-12-18 Thread Ed Gordijn
Hi Alex,

> I ran into the same problem earlier. It should be much easier to write,
i.e., Allegro 4=130 doucement avec expression.

I have made a start with a function that does what you want but it still
needs manual setting the offset. This is probably not necessary but I don't
know how to fix it.

See:
http://article.gmane.org/gmane.comp.gnu.lilypond.general/63383/match=rehearsal

Greetings, Ed
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: RehearsalMark and MetronomeMark together…again…

2013-12-18 Thread Alex Loomis
I ran into the same problem earlier. It should be much easier to write, i.e., 
Allegro 4=130 doucement avec expression.



On Dec 18, 2013, at 10:49 AM, Paul Scott  wrote:

> On Sun, Dec 01, 2013 at 10:57:25AM -0500, Kieren MacMillan wrote:
>> Follow-up…
>> Cancel the bounty call for now: I’ve hacked my way through the 
>> problem manually.
> 
> My hack has been to add the tempo markings etc. to a manual generation 
> of the Rehearsal Mark.  Do you have time to tell me what your hack is?
> 
> Now that the semester is over maybe I can write scheme code to incorporate 
> Lily's automatic rehearsal mark incrementing and make my hack easier.
> 
> Paul
> 
>> I’ll post a feature request (and new bounty offer) some time next month.
>> 
>> Thanks,
>> Kieren.
>> 
>> On 2013-Dec-1, at 09:46, Kieren MacMillan  
>> wrote:
>> 
>>> Hello all,
>>> 
>>> This is *killing* my productivity on my current [extremely-high-pressure, 
>>> past-due] project…
>>> 
>>> For one example (hardly the worst), here’s Lilypond’s default output from 
>>> one section of my bass part:
>>> 
>>> 
>>> 
>>> Can someone please whip me up a helper function which does the following:
>>>   1. automatically offsets MetronomeMarks to the right enough to slide down 
>>> next to a concurrent RehearsalMark; and
>>>   2. automatically stretches a MultiMeasureRest under a MetronomeMark such 
>>> that it is sufficiently wide to incorporate the entire MetronomeMark.
>>> 
>>> I am, of course, willing to pay a small bounty — bigger, if it’s a fix that 
>>> can easily be incorporated into the main codebase.
>>> 
>>> Thanks,
>>> Kieren.
>>> ___
>>> lilypond-user mailing list
>>> lilypond-user@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>> 
>> 
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: mid-measure key change

2013-12-18 Thread Marek Klein
Hello,
2013/12/16 David Kastrup 

> I don't see an obvious solution (but then I don't understand the bug)
> but I boiled down the example somewhat more, killing most of its
> musicality but making the problem more apparent.  I was suspecting the
> tuplets to be involved, but no.  In the following, outcommenting the
> line with the Staff \change cures the problem.
>
> If no other developer has a good lead, this should be picked up by the
> bug squad and turned into a report.


This has been added as
http://code.google.com/p/lilypond/issues/detail?id=3737

Marek
bug squad member
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: .NET lilypond parser library

2013-12-18 Thread Urs Liska

Am 16.12.2013 23:56, schrieb Michael:

Hello LilyPond community!

I want to use LilyPond file format for storing music sheets, could you tell
me if there are any lilypond file format parsers available? Preference is
.net based, but any other parsers would be useful too.

With Regards,
Michael


I think you didn't get any answer so far because it's not really clear 
what you are asking for.
Considering your question one is tempted to say "just store your sheet 
music as LilyPond .ly files and use LilyPond as the parser to generate 
scores from it."


But I assume this isn't all there is to it - you wouldn't have asked.
So please be somewhat more specific about what you want to do.

Urs

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


Re: Invisible Measures?

2013-12-18 Thread Trevor Daniels

Alex Loomis wrote Wednesday, December 18, 2013 2:56 PM


> The documentation seems to be silent on the topic 
> http://www.lilypond.org/doc/v2.17/Documentation/notation/contemporary-scoring-techniques

Yes, we're waiting for someone with the knowledge, experience, enthusiasm and 
time to write this section on contemporary music to come along.

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


emacs point-and-click on OSX

2013-12-18 Thread Kevin Patrick Barry
Dear LilyPond users,

Can anyone provide me with instructions (or a link) to help me get
point-and-click working on OSX? I use aquamacs (i.e. emacs) to edit
lilypond files, and compilation/view works fine, but point and click
still opens the built-in LilyPond editor.  I tried searching for
instructions and found some old messages about it, but they are very
technical and I didn't understand what was involved - a lot of editing
browser options it seems. (I use Firefox.) Right now I'm using the
default pdf viewer (Preview) but I would use a different one if that
would make things easier.  I'm on LilyPond 2.16.2 and OSX 10.9.1.

Thanks in advance,
Kevin

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


Re: Invisible Measures?

2013-12-18 Thread Urs Liska

Am 18.12.2013 02:53, schrieb James Dorfer:

Hello all!
   Is is possible in LilyPond to create a score where empty measures are 
invisible? I'm looking for
something similar to Crumb's score for "Vox Balaenae" (seen here: 
http://www.youtube.com/watch?
v=D8zxHNG1dWo). Any help is greatly appreciated!
  Cheers,
J.D.


I think 
http://www.lilypond.org/doc/v2.16/Documentation/notation/modifying-single-staves.html


is what you need: \stopStaff and \startStaff.
It's not an automatic solution but I think it should get you going.

HTH
Urs

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


Re: guitar position indication

2013-12-18 Thread marti...@gmail.com

Hello

I prefer this :

%%caseSpanner #"case" note\startTextSpan note  note\stopTextSpan
%%CUTE===CUTE
caseSpanner =
#(define-music-function (parser location str)(string?)
   #{
\once \override TextSpanner.style = #'line %or dashed-line
\once \override TextSpanner.staff-padding = #3
\once \override TextSpanner.bound-details.left.text =
\markup { \normal-text \bold #str }
   #})
%%CUTE===CUTE
%%caseSpanner #"case" note\startTextSpan note  note\stopTextSpan
\relative c { \clef "G_8"
  \caseSpanner #"II" e_1\startTextSpan f16_2 g_4 e8_1
  4.\stopTextSpan d8 g4
  \caseSpanner #"VII" a_1\startTextSpan b16_3 c_4 a8_1
  4\stopTextSpan
}

Regards

--
martial

<>%%caseSpanner #"case" note\startTextSpan note  note\stopTextSpan  
%%CUTE===CUTE
caseSpanner =
#(define-music-function (parser location str)(string?)
   #{
\once \override TextSpanner.style = #'line %or dashed-line
\once \override TextSpanner.staff-padding = #3
\once \override TextSpanner.bound-details.left.text = \markup { \normal-text \bold #str }
   #})
%%CUTE===CUTE
%%caseSpanner #"case" note\startTextSpan note  note\stopTextSpan  
\relative c { \clef "G_8"
  \caseSpanner #"II" e_1\startTextSpan f16_2 g_4 e8_1
  4.\stopTextSpan d8 g4 
  \caseSpanner #"VII" a_1\startTextSpan b16_3 c_4 a8_1
  4\stopTextSpan
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Invisible Measures?

2013-12-18 Thread Alex Loomis
The documentation seems to be silent on the topic 
http://www.lilypond.org/doc/v2.17/Documentation/notation/contemporary-scoring-techniques



On Dec 17, 2013, at 9:18 PM, SoundsFromSound  wrote:

> James Dorfer wrote
>> Hello all!
>>  Is is possible in LilyPond to create a score where empty measures are
>> invisible? I'm looking for 
>> something similar to Crumb's score for "Vox Balaenae" (seen here:
>> http://www.youtube.com/watch?
>> v=D8zxHNG1dWo). Any help is greatly appreciated!
>> Cheers,
>> J.D. 
>> 
>> 
>> ___
>> lilypond-user mailing list
> 
>> lilypond-user@
> 
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> Hi James,
> 
> Welcome to LilyPond! 
> 
> Are you talking about the cutaway score layout?
> 
> 
> 
> -
> composer | sound designer 
> LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/Invisible-Measures-tp156072p156073.html
> Sent from the User mailing list archive at Nabble.com.
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: guitar position indication

2013-12-18 Thread Alex Loomis
You could define a function that formats its argument the way you want it to 
look.



On Dec 18, 2013, at 9:21 AM, bart deruyter  wrote:

> Hi all,
> 
> I'm working on a piece for guitar here where in some parts I want to show the 
> position it is played in (e.g. IV, forth position) .
> 
> I know I have to use textspanners for this, but this is intended for 
> 'spanning over a melody'. What should be used if there is only one note? 
> 
> Instinctivly I thought I should use text marks, but those result in 
> differently formatted text (size, italic, weight, etc.. ) I can of course try 
> and tweak the formatting of these text marks, but isn't there consistent way 
> of indicating a position, without having to rely on spanners?
> 
> grtz,
> 
> Bart
> 
> 
> http://www.bartart3d.be/
> On facebook
> On Twitter
> On Identi.ca
> On Google+
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Two column verses below music?

2013-12-18 Thread Alex Loomis
Why dis you drop \column?



On Dec 18, 2013, at 12:23 AM, bombcar  wrote:

> In the multiple verses under the music example in
> http://www.lilypond.org/doc/v2.16/Documentation/notation/stanzas#printing-stanzas-at-the-end-in-multiple-columns
> is it possible to replace the verses in the markup with some sort of
> reference?
> 
> Instead of 
> 
>  \line { \bold "2."
>\column {
>  "This is verse two."
>  "It has two lines."
>}
>  }
> 
> I'd like to have something like:
> 
>  \line { \bold "2."
>\stanzaII
>  }
> 
> But that doesn't work, at least when I define stanzaII as follows:
> 
> stanzaIV = \markup {
>  This is verse two.
>  It has two lines.
> }
> 
> And I can't figure out how to define the variable otherwise.
> 
> 
> 
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/Two-column-verses-below-music-tp156074.html
> Sent from the User mailing list archive at Nabble.com.
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: guitar position indication

2013-12-18 Thread David Kastrup
bart deruyter  writes:

> Thanks for the tips, Simon's solution seems to be the best. Thank you very
> much :-D .
>
> @David Kastrup:
> I didn't know \endSpanners. It's an interesting solution, but it adds a
> spanner line up to the next note in my case. At least here it does with
> lilypond 2.17.97. I read in the manual it should not though, or am I
> reading it wrong?
>
> "The music function \endSpanners terminates the spanner which starts on the
>> immediately following note prematurely. It is terminated after exactly one
>> note, or at the following bar line if to-barline is true and a bar line
>> occurs before the next note."
>
>
> No barline before the next note here though.
>
> It should show no spanner line at all, only the position number, so it will
> be Simon's solution I guess.

Ah, ok.

-- 
David Kastrup

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


Re: guitar position indication

2013-12-18 Thread Simon Bailey
On Wed, Dec 18, 2013 at 5:12 PM, bart deruyter wrote:

> Thanks for the tips, Simon's solution seems to be the best. Thank you very
> much :-D .
>

you're welcome. i'll be needing this function in the next month or so, so
it didn't hurt that you asked... :D


> @David Kastrup:
> I didn't know \endSpanners. It's an interesting solution, but it adds a
> spanner line up to the next note in my case. At least here it does with
> lilypond 2.17.97. I read in the manual it should not though, or am I
> reading it wrong?
>
> "The music function \endSpanners terminates the spanner which starts on
>> the immediately following note prematurely. It is terminated after exactly
>> one note, or at the following bar line if to-barline is true and a bar
>> line occurs before the next note."
>
>
> No barline before the next note here though.
>

correct usage, which works for me:
<<<
   \once \override TextSpanner.bound-details.left.text = \markup
\normal-text \bold \large "VII"
   \once \override TextSpanner.to-barline = ##t
   \endSpanners a1\startTextSpan
   d1
>>>

It should show no spanner line at all, only the position number, so it will
> be Simon's solution I guess.
>

The documentation says it ends the TextSpanner at the next note. The
TextSpanner includes the line, so the line is continued until the next
NoteColumn (or bar-line if you set TextSpanner.to-barline = ##t). You won't
see the line on short note durations, depending on the size of your markup,
but on long notes, you will.

If you don't want the line, then it's probably simpler (and less typing) to
use markups.

regards,
sb
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: guitar position indication

2013-12-18 Thread bart deruyter
Thanks for the tips, Simon's solution seems to be the best. Thank you very
much :-D .

@David Kastrup:
I didn't know \endSpanners. It's an interesting solution, but it adds a
spanner line up to the next note in my case. At least here it does with
lilypond 2.17.97. I read in the manual it should not though, or am I
reading it wrong?

"The music function \endSpanners terminates the spanner which starts on the
> immediately following note prematurely. It is terminated after exactly one
> note, or at the following bar line if to-barline is true and a bar line
> occurs before the next note."


No barline before the next note here though.

It should show no spanner line at all, only the position number, so it will
be Simon's solution I guess.

grtz,

Bart

http://www.bartart3d.be/
On facebook 
On Twitter 
On Identi.ca 
On Google+ 


2013/12/18 Simon Bailey 

>
> On Wed, Dec 18, 2013 at 3:59 PM, David Kastrup  wrote:
>
>> bart deruyter  writes:
>>
>> <...SNIPPETY SNIP...>
>>
>> > consistent way of indicating a position, without having to rely on
>> spanners?
>>
>> What's wrong with spanners?
>>
>> You know about \endSpanners ?
>>
>
> THAT is a cool trick. 10 years of lilypond and i'm still learning new
> little gems :D
>
> --
> Do not meddle in the affairs of trombonists, for they are subtle and quick
> to anger.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Two column verses below music?

2013-12-18 Thread bombcar
Aha! That was part of the problem, but the other thing is to put the column
inside the original markup:

melody = \relative c' {
  c4 c c c | d d d d
}

text = \lyricmode {
  \set stanza = #"1." This is verse one.
  It has two lines.
}

\score {
  <<
\new Voice = "one" { \melody }
\new Lyrics \lyricsto "one" \text
  >>
  \layout { }
}

stanzaII = \markup { \column {
  "This is verse two."
  "It has two lines."
}}
\markup {
  \fill-line {
\hspace #0.1 % moves the column off the left margin;
 % can be removed if space on the page is tight
 \column {
  \line { \bold "2."
\stanzaII
  }
 }
 \vspace #0.1 % adds vertical spacing between verses
  \line { \bold "3."
\column {
  "This is verse three."
  "It has two lines."
}
  }
  }
}

works the way I'd expect it to.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Two-column-verses-below-music-tp156074p156101.html
Sent from the User mailing list archive at Nabble.com.

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


Re: RehearsalMark and MetronomeMark together…again…

2013-12-18 Thread Paul Scott
On Sun, Dec 01, 2013 at 10:57:25AM -0500, Kieren MacMillan wrote:
> Follow-up…
> Cancel the bounty call for now: I’ve hacked my way through the 
> problem manually.

My hack has been to add the tempo markings etc. to a manual generation 
of the Rehearsal Mark.  Do you have time to tell me what your hack is?

Now that the semester is over maybe I can write scheme code to incorporate 
Lily's automatic rehearsal mark incrementing and make my hack easier.

Paul

> I’ll post a feature request (and new bounty offer) some time next month.
> 
> Thanks,
> Kieren.
> 
> On 2013-Dec-1, at 09:46, Kieren MacMillan  
> wrote:
> 
> > Hello all,
> > 
> > This is *killing* my productivity on my current [extremely-high-pressure, 
> > past-due] project…
> > 
> > For one example (hardly the worst), here’s Lilypond’s default output from 
> > one section of my bass part:
> > 
> > 
> > 
> > Can someone please whip me up a helper function which does the following:
> >1. automatically offsets MetronomeMarks to the right enough to slide 
> > down next to a concurrent RehearsalMark; and
> >2. automatically stretches a MultiMeasureRest under a MetronomeMark such 
> > that it is sufficiently wide to incorporate the entire MetronomeMark.
> > 
> > I am, of course, willing to pay a small bounty — bigger, if it’s a fix that 
> > can easily be incorporated into the main codebase.
> > 
> > Thanks,
> > Kieren.
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 


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


Re: RehearsalMark and MetronomeMark together…again…

2013-12-18 Thread Paul Scott
On Sun, Dec 01, 2013 at 09:46:09AM -0500, Kieren MacMillan wrote:
> Hello all,
> 
> This is *killing* my productivity on my current [extremely-high-pressure, 
> past-due] project…
> 
> For one example (hardly the worst), here’s Lilypond’s default output from one 
> section of my bass part:
> 
> 
> 
> Can someone please whip me up a helper function which does the following:
>1. automatically offsets MetronomeMarks to the right enough to slide down 
> next to a concurrent RehearsalMark; and
>2. automatically stretches a MultiMeasureRest under a MetronomeMark such 
> that it is sufficiently wide to incorporate the entire MetronomeMark.
> 
> I am, of course, willing to pay a small bounty — bigger, if it’s a fix that 
> can easily be incorporated into the main codebase.

+100

Paul Scott


> 
> Thanks,
> Kieren.

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



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


Re: Setting to print articulations inside the staff

2013-12-18 Thread Urs Liska

Am 18.12.2013 14:56, schrieb Kieren MacMillan:

Hi all,


keeping the override, but with outside-staff-padding yields the desired result 
- in this case. I think Kieren should think about (or at least tell us) what 
the override is actually used for.


IIRC, I was trying to duplicate the exact script padding for staccato dots 
OUTSIDE the staff — I hadn’t yet gotten to (or even considered) how to 
handle/differentiate for scripts INSIDE the staff. Your outcome seems to 
confirm this recollection of events.

That being said, it’s been a while (and the engraving of more than an hour of 
other music) since I worked on the Henle stylesheet, so I could be dead wrong…

Cheers,
Kieren.


OK, but this means that we can keep outside-staff-padding as the current 
state of affairs.


Urs


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


Re: guitar position indication

2013-12-18 Thread Simon Bailey
On Wed, Dec 18, 2013 at 3:59 PM, David Kastrup  wrote:

> bart deruyter  writes:
>
> <...SNIPPETY SNIP...>
> > consistent way of indicating a position, without having to rely on
> spanners?
>
> What's wrong with spanners?
>
> You know about \endSpanners ?
>

THAT is a cool trick. 10 years of lilypond and i'm still learning new
little gems :D

-- 
Do not meddle in the affairs of trombonists, for they are subtle and quick
to anger.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Horizontal alignment of MultiMeasureRest markups

2013-12-18 Thread Peter Crighton
Good question. I think I may have just mixed those two up …


--
Peter Crighton | Musician & Music Engraver based in Mainz/Wiesbaden, Germany
http://www.petercrighton.de


2013/12/18 David Kastrup 

> Peter Crighton  writes:
>
> > Hello List,
> >
> > why is it not possible to horizontal align markups attached to a
> > MultiMeasureRest in the positive direction (i.e. left)?
> >
> > I expected this code to work, but the \halign seems to be ignored (#-5
> > would work):
> >
> >
> > \version "2.17.29"
> >
> > \new Staff <<
> > {
> >   R1^\markup { \null \halign #5 "text" }
> > }
> >>>
>
> Why don't you use \hspace here?  \halign seems rather weird.
>
> --
> David Kastrup
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Horizontal alignment of MultiMeasureRest markups

2013-12-18 Thread David Kastrup
Peter Crighton  writes:

> Hello List,
>
> why is it not possible to horizontal align markups attached to a
> MultiMeasureRest in the positive direction (i.e. left)?
>
> I expected this code to work, but the \halign seems to be ignored (#-5
> would work):
>
>
> \version "2.17.29"
>
> \new Staff <<
> {
>   R1^\markup { \null \halign #5 "text" }
> }
>>>

Why don't you use \hspace here?  \halign seems rather weird.

-- 
David Kastrup

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


Re: Horizontal alignment of MultiMeasureRest markups

2013-12-18 Thread Peter Crighton
Sorry for the late answer …
Thanks for the suggestion, Kieren, anyway I decided to go with my two-voice
approach because I needed the markup to appear at the beginning of the bar
and so needed no further adjustments.

I’m wondering, though, why \halign #5 doesn’t work in my above example.
Seems to me like being a bug.


--
Peter Crighton | Musician & Music Engraver based in Mainz/Wiesbaden, Germany
http://www.petercrighton.de


2013/11/28 Kieren MacMillan 

> Hi Peter,
>
> > why is it not possible to horizontal align markups attached to a
> MultiMeasureRest in the positive direction (i.e. left)?
>
> It is:
>
> \version "2.17.96"
>
> \paper { ragged-right = ##f }
>
> \new Staff <<
> {
>   R1-\tweak #'self-alignment-X #LEFT ^\markup { "text" }
> }
> >>
>
> Hope this helps!
> Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: guitar position indication

2013-12-18 Thread David Kastrup
bart deruyter  writes:

> Hi all,
>
> I'm working on a piece for guitar here where in some parts I want to show
> the position it is played in (e.g. IV, forth position) .
>
> I know I have to use textspanners for this, but this is intended for
> 'spanning over a melody'. What should be used if there is only one note?
>
> Instinctivly I thought I should use text marks, but those result in
> differently formatted text (size, italic, weight, etc.. ) I can of course
> try and tweak the formatting of these text marks, but isn't there
> consistent way of indicating a position, without having to rely on spanners?

What's wrong with spanners?

You know about \endSpanners ?

-- 
David Kastrup

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


\RemoveEmptyStaves doesn’t work after percent repeats

2013-12-18 Thread Peter Crighton
When using \RemoveEmptyStaves, after a section of percent repeats the next
line containing only rests doesn’t get removed:


\version "2.17.29"

{
  \repeat percent 4 {
c'1
  } \break
  R1*4
}

\layout {
  \context {
\Staff
\RemoveEmptyStaves
  }
}


Is there a way to manually remove the second line? I need this in a
songbook I’m working on right now (close to the deadline) and only want to
unfold my percent repeats if nothing else is possible.

It does work correctly with both \repeat volta & \repeat unfold, by the way.

--
Peter Crighton | Musician & Music Engraver based in Mainz/Wiesbaden, Germany
http://www.petercrighton.de
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


guitar position indication

2013-12-18 Thread bart deruyter
Hi all,

I'm working on a piece for guitar here where in some parts I want to show
the position it is played in (e.g. IV, forth position) .

I know I have to use textspanners for this, but this is intended for
'spanning over a melody'. What should be used if there is only one note?

Instinctivly I thought I should use text marks, but those result in
differently formatted text (size, italic, weight, etc.. ) I can of course
try and tweak the formatting of these text marks, but isn't there
consistent way of indicating a position, without having to rely on spanners?

grtz,

Bart


http://www.bartart3d.be/
On facebook 
On Twitter 
On Identi.ca 
On Google+ 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Setting to print articulations inside the staff

2013-12-18 Thread Kieren MacMillan
Hi all,

> keeping the override, but with outside-staff-padding yields the desired 
> result - in this case. I think Kieren should think about (or at least tell 
> us) what the override is actually used for.

IIRC, I was trying to duplicate the exact script padding for staccato dots 
OUTSIDE the staff — I hadn’t yet gotten to (or even considered) how to 
handle/differentiate for scripts INSIDE the staff. Your outcome seems to 
confirm this recollection of events.

That being said, it’s been a while (and the engraving of more than an hour of 
other music) since I worked on the Henle stylesheet, so I could be dead wrong…

Cheers,
Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Setting to print articulations inside the staff

2013-12-18 Thread Urs Liska

Am 18.12.2013 10:05, schrieb David Kastrup:

Urs Liska  writes:




Oh, I tried to \revert locally, and this didn't have an effect.


You mean, like \revert Score.Script.padding ?  That should have likely
worked.



No: \revert Script.padding
which should _not_ have worked ...

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


Re: Setting to print articulations inside the staff

2013-12-18 Thread David Kastrup
Urs Liska  writes:

> Am 18.12.2013 09:03, schrieb Alexander Kobel:
>> On 12/18/2013 08:30 AM, Urs Liska wrote:
>>> Am 18.12.2013 07:53, schrieb Urs Liska:
 Interesting. I'll have to investigate the "Henle" stylesheet. Something
 has to be in there that produces this misbehaviour.
>>>
>>> OK, I've commented out anything that even looks like touching the Script
>>> layout, but without success.
>>>
>>> Kieren, if you want to have _default_ layout as far as it possible you
>>> should investigate this some more.
>>
>> In the last version I could find that Kieren sent to the list (some
>> piano_concert_Henle.ly), there is an
>>\override Script.padding = #0.3
>> in the
>>\layout \context \Score
>> block. Removing that gives what you expect.
>
> Oh, I tried to \revert locally, and this didn't have an effect.

You mean, like \revert Score.Script.padding ?  That should have likely
worked.

-- 
David Kastrup

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


Re: Setting to print articulations inside the staff

2013-12-18 Thread Urs Liska

Am 18.12.2013 09:03, schrieb Alexander Kobel:

On 12/18/2013 08:30 AM, Urs Liska wrote:

Am 18.12.2013 07:53, schrieb Urs Liska:

Interesting. I'll have to investigate the "Henle" stylesheet. Something
has to be in there that produces this misbehaviour.


OK, I've commented out anything that even looks like touching the Script
layout, but without success.

Kieren, if you want to have _default_ layout as far as it possible you
should investigate this some more.


In the last version I could find that Kieren sent to the list (some
piano_concert_Henle.ly), there is an
   \override Script.padding = #0.3
in the
   \layout \context \Score
block. Removing that gives what you expect.


Oh, I tried to \revert locally, and this didn't have an effect.

By now it is implemented differently. I'll upload the latest version I 
got yesterday to the openLilyLib snippets repository ASAP, I just need 
some feedback on the expected directory structure.




More interesting is the question which script Kieren had in mind when
introducing this override. Probably it only applies for a specific kind
of scripts? In that case, the value should be given by a callback,
adjusted depending on the type.
Or maybe it should be outside-staff-padding?


keeping the override, but with outside-staff-padding yields the desired 
result - in this case. I think Kieren should think about (or at least 
tell us) what the override is actually used for.


Urs




Best,
Alexander

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



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


Re: Setting to print articulations inside the staff

2013-12-18 Thread Alexander Kobel

On 12/18/2013 08:30 AM, Urs Liska wrote:

Am 18.12.2013 07:53, schrieb Urs Liska:

Interesting. I'll have to investigate the "Henle" stylesheet. Something
has to be in there that produces this misbehaviour.


OK, I've commented out anything that even looks like touching the Script
layout, but without success.

Kieren, if you want to have _default_ layout as far as it possible you
should investigate this some more.


In the last version I could find that Kieren sent to the list (some 
piano_concert_Henle.ly), there is an

  \override Script.padding = #0.3
in the
  \layout \context \Score
block. Removing that gives what you expect.

More interesting is the question which script Kieren had in mind when 
introducing this override. Probably it only applies for a specific kind 
of scripts? In that case, the value should be given by a callback, 
adjusted depending on the type.

Or maybe it should be outside-staff-padding?


Best,
Alexander

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