Percent_repeat_engraver in ChordNames context - double bar repeats?

2012-11-30 Thread Robert Schmaus

Dear Lilypond community,

I have successfully used the Percent_repeat_engraver in a chordnames 
context if the "\repeat percent" argument consists of a single bar , e.g.


changes = \chordmode{
  \repeat percent 4 { g1 : maj7 }
}

\score{
\new ChordNames \changes
}
\layout{
\context { \ChordNames \consists "Percent_repeat_engraver" }  
}


works fine.

However, using a two-bar chord pattern doesn't print the two-bar percent 
symbol, i.e.


changes = \chordmode{
  \repeat percent 4 { g1 : maj7 | d1 : min7  }
}

\score{
\new ChordNames \changes
}
\layout{
\context { \ChordNames \consists "Percent_repeat_engraver" }  
}

doesn't work.

Is this intentional?

Cheers,
Robert


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


Re: Percent_repeat_engraver in ChordNames context - double bar repeats?

2012-11-30 Thread Xavier Scheuer
On 30 November 2012 09:51, Robert Schmaus  wrote:
> Dear Lilypond community,
>
> I have successfully used the Percent_repeat_engraver in a chordnames context
> if the "\repeat percent" argument consists of a single bar , e.g.
>
> (snip)
>
> works fine.
>
> However, using a two-bar chord pattern doesn't print the two-bar percent
> symbol, i.e.
>
> (snip)
>
> doesn't work.
>
> Is this intentional?

Hi,

Try "Double_percent_repeat_engraver".

Cheers,
Xavier

-- 
Xavier Scheuer 

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


Re: Percent_repeat_engraver in ChordNames context - double bar repeats?

2012-11-30 Thread Robert Schmaus

Hi Xavier,

works like a charm! Thanks a million.

This comes from google-ing and not noticing that one is looking at old 
references, in this case


http://lilypond.org/doc/v2.12/Documentation/user/lilypond-internals/Percent_005frepeat_005fengraver

which claims, that the double bar percent symbol is part of the 
Percent_repeat_engraver.


Cheers,
Robert





Am 11/30/12 10:12 AM, schrieb Xavier Scheuer:

Hi,

Try "Double_percent_repeat_engraver".

Cheers,
Xavier




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


Halign in markup

2012-11-30 Thread Peter Gentry
Hello 

Is there any reason why the \halign in -\markup produces odd results?

\halign #0 is not the the same placing as omitting the \halign directive - this 
needs \halign #-1 ?? 

Moving the text to the right requires negative numbers which seems counter 
intuitive - but maybe that is just me?

regards
Peter Gentry 



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


Re: Halign in markup

2012-11-30 Thread Eluze
Peter Gentry wrote
> Hello 
> 
> Is there any reason why the \halign in -\markup produces odd results?
> 
> \halign #0 is not the the same placing as omitting the \halign directive -
> this needs \halign #-1 ?? 
> 
> Moving the text to the right requires negative numbers which seems counter
> intuitive - but maybe that is just me?

the NR defines:

\halign dir (number) arg (markup)
Set horizontal alignment. If dir is -1, then it is left-aligned, while +1 is
right. Values
in between interpolate alignment accordingly.

imo it should say more generally /other values/ interpolate alignment
accordingly.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Halign-in-markup-tp137028p137029.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: harp gliss spacing

2012-11-30 Thread Daniel Rosen
Saul--I'm not sure I understand how exactly you want the spacing to look. Do 
you have an example image? If not, what exactly do you want to line up between 
the two staves?

DR

-Original Message-
From: Shevek [mailto:s...@saultobin.com] 
Sent: Thursday, November 29, 2012 6:51 PM
To: lilypond-user@gnu.org
Subject: harp gliss spacing

Hi all,

I am trying to notate a harp gliss in an orchestral score, and I am having 
trouble figuring out a good solution that does not mess up the horizontal 
spacing of the other instruments. I am currently doing it like this:

\version "2.16.0"
\language "english"

oboe = \relative c'' {
  a4 g f8 a b ds |
  e1 |
}

harp = \relative c' {
  r4 \afterGrace d2.\glissando { ef32[ fs gf as bf cs]\glissando } |
  d'1 |
}

<<
  \new Staff \oboe
  \new Staff \harp
>>

What I would like is for the oboe part to space with normal proportions, but 
loose enough that there is room for the grace notes in the harp. Messing with 
afterGraceFraction isn't much help, since I don't actually want all the grace 
notes to happen within a particular beat; rather I want them distributed across 
several beats.

Is there a better way to do this?

Thanks!

Saul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/harp-gliss-spacing-tp137015.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


Halign in markup

2012-11-30 Thread Peter Gentry
 

Eluze replied...
>\halign dir (number) arg (markup)
>Set horizontal alignment. If dir is -1, then it is 
>left-aligned, while +1 is
>right. Values
>in between interpolate alignment accordingly.
>
>imo it should say more generally /other values/ interpolate alignment
>accordingly.
>
>Eluze
>

I see but values outside the range  >=-1  <= 1 can also be used.

Peter


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


preview (-d flag) padding

2012-11-30 Thread Curt
Is it at all possible to manually add a few pixels of padding to -dpreview ?  

I am regularly running into problems with a few pixels of an image being cut 
off.  I've reported a bug 
(https://code.google.com/p/lilypond/issues/detail?id=2968) but since it appears 
this issue has existed in some form or another for many years now, I don't have 
high hopes that it will be resolved soon.  So I'm just looking for a way to 
work around it manually in the meantime.  Hopefully something that will work in 
a wide variety of snippets - some of my mine have only \markup code (no staves).

Thanks!
Curt


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


Re: harp gliss spacing

2012-11-30 Thread Saul Tobin
I'm trying to find an example image, but most of the ones I can find don't have 
other staves going at the same time to show the spacing I want. I want the 
spacing to look something like:

<<
  \oboe
  \relative c' {
s4 \times 3/4 { d4 ef8[ fs gf as bf cs]\glissando } |
d'1 |
  }
>>

(using the variable from my earlier example)

The trouble is I don't want the tuplet or those note values, and I want the 
latter six notes to be grace notes. Does that make sense?

Thanks for responding!

Saul
-- 
Saul Tobin
USC '12 BM Composition/BA Philosophy
http://SaulTobin.com/

On November 30, 2012 06:49:26 PM Daniel Rosen wrote:
> Saul--I'm not sure I understand how exactly you want the spacing to look. Do
> you have an example image? If not, what exactly do you want to line up
> between the two staves?
> 
> DR
> 
> -Original Message-
> From: Shevek [mailto:s...@saultobin.com]
> Sent: Thursday, November 29, 2012 6:51 PM
> To: lilypond-user@gnu.org
> Subject: harp gliss spacing
> 
> Hi all,
> 
> I am trying to notate a harp gliss in an orchestral score, and I am having
> trouble figuring out a good solution that does not mess up the horizontal
> spacing of the other instruments. I am currently doing it like this:
> 
> \version "2.16.0"
> \language "english"
> 
> oboe = \relative c'' {
>   a4 g f8 a b ds |
>   e1 |
> }
> 
> harp = \relative c' {
>   r4 \afterGrace d2.\glissando { ef32[ fs gf as bf cs]\glissando } |
>   d'1 |
> }
> 
> <<
>   \new Staff \oboe
>   \new Staff \harp
> 
> 
> What I would like is for the oboe part to space with normal proportions, but
> loose enough that there is room for the grace notes in the harp. Messing
> with afterGraceFraction isn't much help, since I don't actually want all
> the grace notes to happen within a particular beat; rather I want them
> distributed across several beats.
> 
> Is there a better way to do this?
> 
> Thanks!
> 
> Saul
> 
> 
> 
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/harp-gliss-spacing-tp137015.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: beam-problem

2012-11-30 Thread Thomas Morley
2012/11/27 Thomas Morley :
> 2012/11/26 Martin Neubauer :
>> Hi,
>>
>> You can always use explicit beaming:
>
> Hi Martin,
>
> thanks for your reply.
>
> I know about "explicit beaming".
>
> I should have asked more precise:
>
> How to use automatic beaming as described in:
>
> NR 1.2.4 Beams
> Setting automatic beam behavior
> http://lilypond.org/doc/v2.17/Documentation/notation-big-page#setting-automatic-beam-behavior
>
> Setting baseMoment and beatStructure as shown in my initial mail will
> change beaming of { a8 a a a }, too. So, this can't be the solution.
> `beamExceptions´ should be it.
> But I couldn't figure out which values to use.
>
>
> Thanks,
>   Harm

In 2.12.3 it was possible to use
#(override-auto-beam-setting '(end 1 24 2 4) 1 8)
In a code like

\version "2.12.3"

\new Staff {
\time 2/4
#(override-auto-beam-setting '(end 1 24 2 4) 1 8)

a8 a a a |
a16 a a a a a a a |
a32 a a a
a a a a
a8  a16. a32 |
a8  a16. a32
a32 a a a
a a a a |
}

the attached 2.12.3-png was returned.

2.17.6, trying \set beamExceptions like:

\version "2.17.6"

%#(set-global-staff-size 18)

\new Staff {
\time 2/4
\set beamExceptions =
   #'((end . (
 ((1 . 8) . (2 4))
 ((1 . 16) . (4))
 ((1 . 32) . (4 4 4 4)
a8 a a a
|
a16 a a a a a a a
|
a32 a a a
a a a a
a8  a16. a32
|
a8  a16. a32
a32 a a a
a a a a
|
}

returns the output of the 2.17.6-png.

Is there no way to do with 2.17.6 what was possible with 2.12.3?

If there's none, I'll report a bug.


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


Re: harp gliss spacing

2012-11-30 Thread Rutger Hofman

On 12/01/2012 12:05 AM, Saul Tobin wrote:

I'm trying to find an example image, but most of the ones I can find don't have
other staves going at the same time to show the spacing I want. I want the
spacing to look something like:

<<
   \oboe
   \relative c' {
 s4 \times 3/4 { d4 ef8[ fs gf as bf cs]\glissando } |
 d'1 |
   }




(using the variable from my earlier example)

The trouble is I don't want the tuplet or those note values, and I want the
latter six notes to be grace notes. Does that make sense?

Thanks for responding!

Saul



What if you force the 'timed' values different than the notated values, 
something like:


harp = \relative c' {
  r4 d2.*1/4\glissando \teeny { ef32*3[ fs gf as bf cs]\glissando } |
  d'1 |
}

Note, the \afterGrace is gone, and the grace note effect is mimicked by 
making the 32-nd notes much smaller.


I used the notated lengths in your clarifying example, which makes the 
first glissando invisible. You might have to tune the factors.


HTH,

Rutger



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


Re: harp gliss spacing

2012-11-30 Thread Rutger Hofman

On 12/01/2012 12:46 AM, Rutger Hofman wrote:

On 12/01/2012 12:05 AM, Saul Tobin wrote:

I'm trying to find an example image, but most of the ones I can find
don't have
other staves going at the same time to show the spacing I want. I want
the
spacing to look something like:

<<
   \oboe
   \relative c' {
 s4 \times 3/4 { d4 ef8[ fs gf as bf cs]\glissando } |
 d'1 |
   }




(using the variable from my earlier example)

The trouble is I don't want the tuplet or those note values, and I
want the
latter six notes to be grace notes. Does that make sense?

Thanks for responding!

Saul



What if you force the 'timed' values different than the notated values,
something like:

harp = \relative c' {
   r4 d2.*1/4\glissando \teeny { ef32*3[ fs gf as bf cs]\glissando } |
   d'1 |
}

Note, the \afterGrace is gone, and the grace note effect is mimicked by
making the 32-nd notes much smaller.


Ahum, I was too fast again; the size needs to be explicitly restored, so 
this should be:


harp = \relative c' {
  r4 d2.*1/4\glissando \teeny ef32*3[ fs gf as bf cs]\glissando 
\normalsize |

  d'1 |
}



I used the notated lengths in your clarifying example, which makes the
first glissando invisible. You might have to tune the factors.

HTH,

Rutger





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


Re: Halign in markup

2012-11-30 Thread Eluze
Peter Gentry wrote
> Eluze replied...
>>\halign dir (number) arg (markup)
>>Set horizontal alignment. If dir is -1, then it is 
>>left-aligned, while +1 is
>>right. Values
>>in between interpolate alignment accordingly.
>>
>>imo it should say more generally /other values/ interpolate alignment
>>accordingly.
>>
>>Eluze
>>
> 
> I see but values outside the range  >=-1  <= 1 can also be used.

that's what I tried to say - with the sign (+,-) you determine if you want
right- or left-alignement.

then, with the number you tell how far away the alignment point has to be
moved - this is the same as pre- or appending that much space to the markup
- once to the right of the markup (when the sign is positive) otherwise to
the left.

hope this is a bit more understandable

Eluze




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Halign-in-markup-tp137035p137050.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: harp gliss spacing

2012-11-30 Thread Daniel Rosen
But of course :-) What does it look like with just the harp part?

DR


-Original Message-
From: Saul Tobin [mailto:s...@saultobin.com] 
Sent: Friday, November 30, 2012 6:05 PM
To: Daniel Rosen
Cc: lilypond-user@gnu.org
Subject: Re: harp gliss spacing

I'm trying to find an example image, but most of the ones I can find don't have 
other staves going at the same time to show the spacing I want. I want the 
spacing to look something like:

<<
  \oboe
  \relative c' {
s4 \times 3/4 { d4 ef8[ fs gf as bf cs]\glissando } |
d'1 |
  }
>>

(using the variable from my earlier example)

The trouble is I don't want the tuplet or those note values, and I want the 
latter six notes to be grace notes. Does that make sense?

Thanks for responding!

Saul
--
Saul Tobin
USC '12 BM Composition/BA Philosophy
http://SaulTobin.com/

On November 30, 2012 06:49:26 PM Daniel Rosen wrote:
> Saul--I'm not sure I understand how exactly you want the spacing to 
> look. Do you have an example image? If not, what exactly do you want 
> to line up between the two staves?
> 
> DR
> 
> -Original Message-
> From: Shevek [mailto:s...@saultobin.com]
> Sent: Thursday, November 29, 2012 6:51 PM
> To: lilypond-user@gnu.org
> Subject: harp gliss spacing
> 
> Hi all,
> 
> I am trying to notate a harp gliss in an orchestral score, and I am 
> having trouble figuring out a good solution that does not mess up the 
> horizontal spacing of the other instruments. I am currently doing it like 
> this:
> 
> \version "2.16.0"
> \language "english"
> 
> oboe = \relative c'' {
>   a4 g f8 a b ds |
>   e1 |
> }
> 
> harp = \relative c' {
>   r4 \afterGrace d2.\glissando { ef32[ fs gf as bf cs]\glissando } |
>   d'1 |
> }
> 
> <<
>   \new Staff \oboe
>   \new Staff \harp
> 
> 
> What I would like is for the oboe part to space with normal 
> proportions, but loose enough that there is room for the grace notes 
> in the harp. Messing with afterGraceFraction isn't much help, since I 
> don't actually want all the grace notes to happen within a particular 
> beat; rather I want them distributed across several beats.
> 
> Is there a better way to do this?
> 
> Thanks!
> 
> Saul
> 
> 
> 
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/harp-gliss-spacing-tp137015.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