How can I shorten the space for a final single note

2020-02-21 Thread Robert Blackstone
Dear all,

I have typeset a small example from a theoretical work of Lorenzo  Penna.
It has 2 sections, each consisting of three bars separated by a double barline. 
The time is 4/2 and  bars 1 and 2 contain mostly half notes. In each section 
the final note is a \breve. The problem is that Lilypond gives these single 
final notes the same horizontal space as the four halfnotes in the first two 
bars. 

My client does not like it and wants these final bars shortened to at most half 
their present length with the \breve centered.
Can anybody tell me  how I can realise this?

I tried \set Timing.measureLength = #(ly:make-moment 1/2) and that works but it 
spoils the result by inserting three empty bars which I do not know how to get 
rid of. (The law of preservation of misery in full action.)

Thanks in advance for any advice.

Best regards,
Robert Blackstone
 
 


Re: How can I shorten the space for a final single note

2020-02-21 Thread Pierre Perol-Schneider
Hi Robert,
See:
http://lilypond.org/doc/v2.19/Documentation/notation/new-spacing-section
Otherwise, please provide a mini example.
Cheers,
Pierre

Le ven. 21 févr. 2020 à 11:01, Robert Blackstone <
blackstone.rob...@gmail.com> a écrit :

> Dear all,
>
> I have typeset a small example from a theoretical work of Lorenzo  Penna.
> It has 2 sections, each consisting of three bars separated by a double
> barline. The time is 4/2 and  bars 1 and 2 contain mostly half notes. In
> each section the final note is a \breve. The problem is that Lilypond gives
> these single final notes the same horizontal space as the four halfnotes in
> the first two bars.
>
> My client does not like it and wants these final bars shortened to at most
> half their present length with the \breve centered.
> Can anybody tell me  how I can realise this?
>
> I tried \set Timing.measureLength = #(ly:make-moment 1/2) and that works
> but it spoils the result by inserting three empty bars which I do not know
> how to get rid of. (The law of preservation of misery in full action.)
>
> Thanks in advance for any advice.
>
> Best regards,
> Robert Blackstone
>
>
>


Re: How can I shorten the space for a final single note

2020-02-21 Thread Pierre Perol-Schneider
A workaround could be:

{
  a'\breve*1/4
  \bar "|."
}

HTH,
Pierre

Le ven. 21 févr. 2020 à 12:12, Robert Blackstone <
blackstone.rob...@gmail.com> a écrit :

> Hi Pierre,
>
> Thanks for your quick reply. I will follow your suggestion and see whether
> I can make it work for me.
>
> Best regards,
> Robert
>
> On 21 Feb 2020, at 11:17, Pierre Perol-Schneider <
> pierre.schneider.pa...@gmail.com> wrote:
>
>
> See:
> http://lilypond.org/doc/v2.19/Documentation/notation/new-spacing-section
> Otherwise, please provide a mini example.
> Cheers,
>
>
>


Partcombine without slurs or ties?

2020-02-21 Thread Richard Shann
In the following example:
8><8><8><8><8><8><8><8><8><8><8><8><8><
\version "2.18.0"
MI = { \time 3/4
 \override Voice.Slur.stencil = ##f   
 \override Voice.Tie.stencil = ##f 
  %comment out the next bar to suppress the slur and tie
  
  c'8~ c' c' c' c' c' 
  c'8( a'8) c'' c''8 c'' c''8
 }
MII = { \time 3/4 
 \override Voice.Slur.stencil = ##f   
 \override Voice.Tie.stencil = ##f 
  %comment out the next bar to suppress the slur and tie
  
 c'8~ c' c' c' c' c'  
 c'8~ c' c' c' c' c' 
  }
\score {
  \new Staff << 
   \partcombine  
   \MI  
   \MII
 >>
   }
8><8><8><8><8><8><8><8><8><8><8><8><8><

I find the slurs and ties are drawn despite no stencil. Stranger still,
the *are* suppressed if I comment out the first bars.

Any ideas?

Richard Shann




Re: Partcombine without slurs or ties?

2020-02-21 Thread Kevin Barry
Hi Richard,

It looks like whatever way partcombine creates voices is not
preserving your overrides. At a guess, I'd say it combines the first
bar in both parts into a single voice (including your overrides), then
when it needs to split for the second bar, it creates two voices that
no longer include the overrides. So the overrides are applied up to
the point where the voices split (i.e. just the first bar). I suppose
it could be considered a bug, but I think merging overrides from
different voices is probably a difficult problem to solve for
partcombine (that is, if I'm right about the cause).

As a workaround, I think your options are:
a) don't use partcombine - it's handy but you lose some control over
the output (this would be my choice)
b) either use tweaks for each case where you need to hide the
slurs/ties, or put something in \layout if you want none of them to
show.

Best wishes,
Kevin

As a w

On Fri, 21 Feb 2020 at 17:40, Richard Shann  wrote:
>
> In the following example:
> 8><8><8><8><8><8><8><8><8><8><8><8><8><
> \version "2.18.0"
> MI = { \time 3/4
>  \override Voice.Slur.stencil = ##f
>  \override Voice.Tie.stencil = ##f
>   %comment out the next bar to suppress the slur and tie
>   c'8~ c' c' c' c' c'
>   c'8( a'8) c'' c''8 c'' c''8
>  }
> MII = { \time 3/4
>  \override Voice.Slur.stencil = ##f
>  \override Voice.Tie.stencil = ##f
>   %comment out the next bar to suppress the slur and tie
>  c'8~ c' c' c' c' c'
>  c'8~ c' c' c' c' c'
>   }
> \score {
>   \new Staff <<
>\partcombine
>\MI
>\MII
>  >>
>}
> 8><8><8><8><8><8><8><8><8><8><8><8><8><
>
> I find the slurs and ties are drawn despite no stencil. Stranger still,
> the *are* suppressed if I comment out the first bars.
>
> Any ideas?
>
> Richard Shann
>
>



Re: openLilyLib website

2020-02-21 Thread mason
On 02/20, Urs Liska wrote:
> What I really *want* to have but have no idea so far how to achieve is
> additional code/API documentation retrieved from the actual source
> files. There should be a tool to retrieve that from comments (or actual
> signatures?), resulting in either HTML or Markdown documentation that
> can be automatically integrated in the "manual-style" documentation.

Do you want something similar [Sphinx][1] or [Doxygen][2]?  Are the
source files in Scheme, Lilypond, or a combination of both?

[1]: https://en.wikipedia.org/wiki/Sphinx_(documentation_generator)

[2]: https://en.wikipedia.org/wiki/Doxygen


signature.asc
Description: PGP signature