adjustment of arc shape according to papersize

2015-06-20 Thread Venus' Wink
Hi All,

Would you see the following to codes?

http://lilybin.com/57gfma/2

http://lilybin.com/57gfma/3

The paper widths, and according to them,
the lists of control points for slurs
differ between these examples.

I'd like to switch the control points
on the paper size in one code as:

If paper-width is 210mm, pass the
control points for 210mm paper width
to \shape.

If paper-width is 297mm, pass the
control points for 297mm paper width
to \shape.

(So far, only for 210mm and for 297mm 
 are enough.)

How could I realize it?

Thanks
Venus' Wink


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth



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


Re: Polyphonic notes slur solution

2015-06-20 Thread Robin Bannister

Nathan Ho wrote:


% And, of course, the slur's too short vertically


Adjust 0.3 to taste:

\override Staff.Arpeggio #'positions = #(lambda (grob)
  (interval-widen (ly:arpeggio::calc-positions grob) 0.3))


Cheers,
Robin

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


Re: kneed beam a la Bach

2015-06-20 Thread Klaus Blum
Simon Albrecht-2 wrote
 {
b'8\stemDown a'' g'' b'\stemUp
 }
 
 – however, it doesn’t work… (Why?)

Hi Simon, 

just put \stemDown and \stemUp *before* the note:

{
   \stemDown b'8a'' g'' \stemUp b'
} 

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/kneed-beam-a-la-Bach-tp178005p178019.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: adjustment of arc shape according to papersize

2015-06-20 Thread Venus' Wink
Hi Marc,

Thanks for your reply.

To say the truth, I'm under situation that
I can't access the setting of paper size,
so I can't put tag to stand for paper width.

I'd like to expect a way with scheme.

I've tried like as:

\shape #((if (= paper-width 210 mm)
 '(( ...points for 210 mm width...)))
 (if (= paper-width 297 mm)
 '(( ...points for 297 mm width...

which issues an error that paper-width 
hasn't been bind...

I don't know scheme very well.

Thanks
Venus' Wink

 -Original Message-
 From: m...@hohlart.de
 Sent: Sat, 20 Jun 2015 12:24:27 +0200
 To: lilypond-user@gnu.org
 Subject: Re: adjustment of arc shape according to papersize
 
 Am 20.06.2015 um 10:25 schrieb Venus' Wink:
 Hi All,
 
 Would you see the following to codes?
 
  http://lilybin.com/57gfma/2
 
  http://lilybin.com/57gfma/3
 
 The paper widths, and according to them,
 the lists of control points for slurs
 differ between these examples.
 
 I'd like to switch the control points
 on the paper size in one code as:
 
  If paper-width is 210mm, pass the
  control points for 210mm paper width
  to \shape.
 
  If paper-width is 297mm, pass the
  control points for 297mm paper width
  to \shape.
 
 If you have to switch between two shapes, you could use tags:
 
 http://lilypond.org/doc/v2.18/Documentation/notation/different-editions-from-one-source#index-tag-1
 
 I assume there is a way to detect the paper width via scheme and switch
 between two shape calls, but that's beyond my knowledge.
 
 HTH a bit,
 
 Marc
  (So far, only for 210mm and for 297mm
   are enough.)
 
 How could I realize it?
 
 Thanks
 Venus' Wink
 
 
 FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
 Check it out at http://www.inbox.com/earth
 
 
 
 ___
 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


Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords  protects your account.
Check it out at http://mysecurelogon.com/password-manager



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


Re: Re: Re: A bunch of problems at score part changeover, and another one

2015-06-20 Thread 70147persson

On 2015-06-19 23:25, tisimst wrote:

Kaj,

On Fri, Jun 19, 2015 at 3:05 PM, 70147persson [via Lilypond] [hidden 
email] /user/SendEmail.jtp?type=nodenode=178002i=0 wrote:


However, when I should apply this on my real score, I stumbled
over a new issue. I had not mentioned this, as I was not aware of
it being a problem. How can I put an instrument name on the
staves? Possibly I can have the name written at the first measure,
but when the first staff is increased with another one, I cannot
put a name on that. I can use \shortInstrumentName, but then I get
the name written at every staff, and this is not what I want. Is
there possibly a way to force a writing once, at the start of the
new staff?


You bet. Try this for your snippet:

choirII = {
s1*3 |
\once \set Staff.shortInstrumentName = Choir 2
c''4 c'' c'' c'' |
}

HTH,
Abraham


View this message in context: Re: Re: A bunch of problems at score 
part changeover, and another one 
http://lilypond.1069038.n5.nabble.com/A-bunch-of-problems-at-score-part-changeover-tp177962p178002.html
Sent from the User mailing list archive 
http://lilypond.1069038.n5.nabble.com/User-f3.html at Nabble.com.


Works perfect. Thank you Abraham!
/Kaj

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


Re: Polyphonic notes slur solution

2015-06-20 Thread Nathan Ho
On Fri, Jun 19, 2015 at 11:48 PM, rsfjr rsfj...@gmail.com wrote:

 Hello,

 I am trying to overcome an issue. I need to place some slurs in a
 polyphonic
 pair, connecting the noteheads. Is there any workaround?


Hi rsfjr,

LilyPond doesn't support vertical slurs. What you're looking for is
\arpeggioParenthesis + \arpeggio:
http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-as-lines#arpeggio

Cross-voice arpeggios are supported via Staff.connectArpeggios.
Unfortunately, cross-voice arpeggios *and *\arpeggioParenthesis don't work
together (!), requiring us to excavate the inner workings of
\arpeggioParenthesis and adapt them to the Staff context. It's details like
this that make me hate LilyPond sometimes :)

The final outcome:

\new Staff \with {

\consists Span_arpeggio_engraver

} {

\set Staff.connectArpeggios = ##t

\override Staff.Arpeggio.stencil = #ly:arpeggio::brew-chord-slur

\override Staff.Arpeggio.X-extent = #ly:grob::stencil-width

 { b'\arpeggio } \\ { g'\arpeggio } 

% And, of course, the slur's too short vertically and there's no simple
override to fix it...

}

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


Re: kneed beam a la Bach

2015-06-20 Thread Simon Albrecht

Am 20.06.2015 um 12:15 schrieb Klaus Blum:

Simon Albrecht-2 wrote

{
b'8\stemDown a'' g'' b'\stemUp
}

– however, it doesn’t work… (Why?)

Hi Simon,

just put \stemDown and \stemUp *before* the note:

Silly me… it was too late at night :-)
Best regards, Simon

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


Re: adjustment of arc shape according to papersize

2015-06-20 Thread Marc Hohl

Am 20.06.2015 um 10:25 schrieb Venus' Wink:

Hi All,

Would you see the following to codes?

 http://lilybin.com/57gfma/2

 http://lilybin.com/57gfma/3

The paper widths, and according to them,
the lists of control points for slurs
differ between these examples.

I'd like to switch the control points
on the paper size in one code as:

 If paper-width is 210mm, pass the
 control points for 210mm paper width
 to \shape.

 If paper-width is 297mm, pass the
 control points for 297mm paper width
 to \shape.


If you have to switch between two shapes, you could use tags:

http://lilypond.org/doc/v2.18/Documentation/notation/different-editions-from-one-source#index-tag-1

I assume there is a way to detect the paper width via scheme and switch
between two shape calls, but that's beyond my knowledge.

HTH a bit,

Marc

 (So far, only for 210mm and for 297mm
  are enough.)

How could I realize it?

Thanks
Venus' Wink


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth



___
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: collision parenthesize and sharp symbol

2015-06-20 Thread David Kastrup
David Kastrup d...@gnu.org writes:

 Simon Albrecht simon.albre...@mail.de writes:

 Am 20.06.2015 um 00:27 schrieb MarcM:
 is this collision a bug or is it expected and require to add padding
 manually?
 You might call it a bug, but of course it’s not a bug of Lilypond but
 a bug in the \startParenthesis and \stopParenthesis variables defined
 here.

 In that case, there are no bugs in LilyPond: every other behavior is
 also a consequence of the code in LilyPond.

 At any rate, it is issue 155
 URL:https://code.google.com/p/lilypond/issues/detail?id=155 and has
 been fixed in version 2.19.20.

Sorry for the confusion: I did not realise that this wasn't part of
LilyPond.  At any rate, the code (and properties) defined in issue 155
might help for refining the respective
\startParenthesis/\stopParenthesis code to take accidentals in account.

-- 
David Kastrup

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


Re: collision parenthesize and sharp symbol

2015-06-20 Thread David Kastrup
David Kastrup d...@gnu.org writes:

 David Kastrup d...@gnu.org writes:

 Simon Albrecht simon.albre...@mail.de writes:

 Am 20.06.2015 um 00:27 schrieb MarcM:
 is this collision a bug or is it expected and require to add padding
 manually?
 You might call it a bug, but of course it’s not a bug of Lilypond but
 a bug in the \startParenthesis and \stopParenthesis variables defined
 here.

 In that case, there are no bugs in LilyPond: every other behavior is
 also a consequence of the code in LilyPond.

 At any rate, it is issue 155
 URL:https://code.google.com/p/lilypond/issues/detail?id=155 and has
 been fixed in version 2.19.20.

 Sorry for the confusion: I did not realise that this wasn't part of
 LilyPond.  At any rate, the code (and properties) defined in issue 155
 might help for refining the respective
 \startParenthesis/\stopParenthesis code to take accidentals in account.

And it turns out that no redefinition is necessary.  This code
produces proper parentheses without overlap perfectly well right now.

So just upgrade to 2.19.20 or newer.

-- 
David Kastrup

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


Polyphonic notes slur solution

2015-06-20 Thread rsfjr
Hello,

I am trying to overcome an issue. I need to place some slurs in a polyphonic
pair, connecting the noteheads. Is there any workaround?

\new Staff {

{b'}\\{g'}
}

I have tried creating other notes and forcing a horizontal shift, but no
success, only the first note overlays the entire polyphonic note, like this:

\new Staff {


{b'}
\\
{g'}
 \\
{
\override NoteColumn.force-hshift =  0 b'(
\override NoteColumn.force-hshift =  0 g')
}

}

I even tried negative numbers for the g', but it just won't overlap the
other notes.



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


Re: kneed beam a la Bach

2015-06-20 Thread Pierre Perol-Schneider
Hi Mark,

I'd do:

\version 2.19.21
{
  \offset positions #'(2 . 0) Beam
  b'8 a'' g'' \once\stemUp b'
}

Cheers,
Pierre

2015-06-20 0:30 GMT+02:00 MarcM m...@mouries.net:

 i played with the kneed beam settings but could not find a way to reproduce
 this kneed beam from Bach.
 Is that feasible?

 http://lilypond.1069038.n5.nabble.com/file/n178005/kneed_beam_Bach.png



 --
 View this message in context:
 http://lilypond.1069038.n5.nabble.com/kneed-beam-a-la-Bach-tp178005.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


Problem with tied chords in TAB

2015-06-20 Thread Phil Burfitt
In the following minimal tablature example, the repeated g in the chord, 
shows up in the tied chord.


Which g shows up depends on whether I retype the tied chord (bar 1), use the 
'q' symbol (bar 2), or use 'q' with \tabChordRepeats set (bar 3).



\version 2.18.2

\score {
 \new TabStaff {
   \new TabVoice {
 \relative c {
   c g'\4 g ~ c g'\4 g c c
   c g'\4 g ~ q c c }
 \tabChordRepeats
 \relative c {
   c g'\4 g ~ q c c }
   }
 }
}


Any solutions/workarounds ?

Regards,
Phil.



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


Re: Problem with tied chords in TAB

2015-06-20 Thread David Kastrup
Phil Burfitt phil.burf...@talktalk.net writes:

 In the following minimal tablature example, the repeated g in the
 chord, shows up in the tied chord.

 Which g shows up depends on whether I retype the tied chord (bar 1),
 use the 'q' symbol (bar 2), or use 'q' with \tabChordRepeats set (bar
 3).


 \version 2.18.2

 \score {
  \new TabStaff {
\new TabVoice {
  \relative c {
c g'\4 g ~ c g'\4 g c c
c g'\4 g ~ q c c }
  \tabChordRepeats
  \relative c {
c g'\4 g ~ q c c }
}
  }
 }


 Any solutions/workarounds ?

This is URL:https://code.google.com/p/lilypond/issues/detail?id=3066,
fixed in version 2.19.16.

The issue description is somewhat misleading as the bug concerns more
than just tied unisons.

The code in question is in the Tie_engraver in C++ so it cannot be
brought into 2.18.2 without recompilation.

-- 
David Kastrup

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


Re: Problem with tied chords in TAB

2015-06-20 Thread Phil Burfitt
- Original Message - 
From: David Kastrup d...@gnu.org

To: Phil Burfitt phil.burf...@talktalk.net
Cc: lilypond-user@gnu.org
Sent: Saturday, June 20, 2015 2:04 PM
Subject: Re: Problem with tied chords in TAB



Phil Burfitt phil.burf...@talktalk.net writes:


In the following minimal tablature example, the repeated g in the
chord, shows up in the tied chord.

Which g shows up depends on whether I retype the tied chord (bar 1),
use the 'q' symbol (bar 2), or use 'q' with \tabChordRepeats set (bar
3).


\version 2.18.2

\score {
 \new TabStaff {
   \new TabVoice {
 \relative c {
   c g'\4 g ~ c g'\4 g c c
   c g'\4 g ~ q c c }
 \tabChordRepeats
 \relative c {
   c g'\4 g ~ q c c }
   }
 }
}


Any solutions/workarounds ?


This is URL:https://code.google.com/p/lilypond/issues/detail?id=3066,
fixed in version 2.19.16.

The issue description is somewhat misleading as the bug concerns more
than just tied unisons.

The code in question is in the Tie_engraver in C++ so it cannot be
brought into 2.18.2 without recompilation.

--
David Kastrup




Ok - another reason to upgrade then.

Many thanks,
Phil.



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


Re: Polyphonic notes slur solution

2015-06-20 Thread Robin Bannister

rsfjr wrote:


It keeps throwing an error message


Well, tell us some more ...
 - what message
 - with what lilypond version

But preferably, send a small .ly file which has this problem.


Cheers,
Robin

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


Re: Polyphonic notes slur solution

2015-06-20 Thread rsfjr
Thank you all,

It keeps throwing an error message, when I use these:

\override Staff.Arpeggio.stencil = #ly:arpeggio::brew-chord-slur

\override Staff.Arpeggio.X-extent = #ly:grob::stencil-width


Without those the arpeggios are slurred, but with the arpeggio symbol.


I believe the Lilypond documentation is a bit non intuitive, for example:


stencil (stencil):

ly:arpeggio::print

The symbol to print.


What kind of symbols I can print?


Sorry for taking your time, need to learn how to use the docu properly.



All The Best,

Ronaldo



2015-06-20 7:07 GMT-03:00 Robin Bannister r...@dataway.ch:

 Nathan Ho wrote:

  % And, of course, the slur's too short vertically


 Adjust 0.3 to taste:

 \override Staff.Arpeggio #'positions = #(lambda (grob)
   (interval-widen (ly:arpeggio::calc-positions grob) 0.3))


 Cheers,
 Robin

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


Re: collision parenthesize and sharp symbol

2015-06-20 Thread MarcM
i switched to 2.19.21 and the parenthesis collide with the stem of the
previous note.

see http://lilybin.com/fy9guz/4



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/collision-parenthesize-and-sharp-symbol-tp178004p178036.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: Polyphonic notes slur solution

2015-06-20 Thread Thomas Morley
2015-06-20 12:07 GMT+02:00 Robin Bannister r...@dataway.ch:
 Nathan Ho wrote:

 % And, of course, the slur's too short vertically


 Adjust 0.3 to taste:

 \override Staff.Arpeggio #'positions = #(lambda (grob)
   (interval-widen (ly:arpeggio::calc-positions grob) 0.3))


or:

\once \offset positions #'(-0.3 . 0.3) Staff.Arpeggio

\offset lacks documentation, though


Cheers,
  Harm

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