Improving ly files readability

2019-09-19 Thread foxfanfare
Hi all,

This isn't a topic I was able to find in the archive. It may be not a very
interesting subject for most of you, but I hope to learn a bit more about
your own practices for making your files more readable and maybe improve
mine. By that, I mean, how do you use the comments lines to make clear
parts, sections, etc. through your file and make it nice to read. I also
wonder for instance how do you write nicely your titles at the beginning of
your files. Currently, mine looks that way but I'm not very satisfied:


 %%
 %%% MAURICE RAVEL%%%
 %%% LE TOMBEAU DE COUPERIN %%%
 %%% (piano solo)  %%%
 %%

%-

\version "2.19.82"
\language "nederlands"

%-

% Files
\include "Global/fichiers.ily"

%-

%*%
%* PDF *%
%*%

\book {
...

Sounds like a silly question, but maybe some of you came up with nice ideas
for making those comments lines more readable, espacially when you want to
show different levels of importance!



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


different staff-staff spacing throughout piece

2019-09-19 Thread Rachel Knight via lilypond-user
Hi,

Is it possible to have different staff-staff spacing throughout a score? I 
found the command (listed below) and the documentation said to put it in a 
\with section or in the \layout block for global settings. My piece opens with 
a cadenza and I want the staffs to be further apart for easier reading as there 
are a lot of knee-beams, but for the rest of the piece, I want the default 
staff-staff spacing. Is this possible?

\override VerticalAxisGroup.staff-staff-spacing.basic-distance = #10

Best,
Rachel







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


Non-default tuplet numbers

2019-09-19 Thread Andrew Bernard
The documentation in the NR for non-default tuplet numbers has an 
example that appears to me to be musical nonsense. For people coming 
across this concept for the first time it is simply utterly confusing. 
All the bars are 4/4 but the tuplets refer to 7 and 12:7 and so on. This 
is under the selected snippets section of 1.2.1 Writing rhythms/Tuplets.


Can I rewrite this to make sense, and submit a documentation patch?

[I think this snippet is in LSR, where it is exactly the same nonsense 
(sorry!)]



Andrew





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


RE: Non-default tuplet numbers

2019-09-19 Thread Mark Stephen Mrotek
Andrew,

Agreed. Just now looked at the "snippet." I tried to fathom where the 7 came in.

Mark

-Original Message-
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Andrew Bernard
Sent: Thursday, September 19, 2019 5:01 PM
To: lilypond-user@gnu.org
Subject: Non-default tuplet numbers

The documentation in the NR for non-default tuplet numbers has an example that 
appears to me to be musical nonsense. For people coming across this concept for 
the first time it is simply utterly confusing. 
All the bars are 4/4 but the tuplets refer to 7 and 12:7 and so on. This is 
under the selected snippets section of 1.2.1 Writing rhythms/Tuplets.

Can I rewrite this to make sense, and submit a documentation patch?

[I think this snippet is in LSR, where it is exactly the same nonsense (sorry!)]


Andrew





___
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


Tuplet number note size/font

2019-09-19 Thread Andrew Bernard
I am trying to use notes in tuplet numbers, fairly standard. I use a 
custom font for my scores and this may be interfering, but when I use 
say 16. or 8 for the note the stem length is almost zero and it looks ugly.


How can I get access to the font used in tuplet numbers for the notes 
when you use them, as per the non-default tuplet number examples?


Andrew



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


Re: Tuplet number note size/font

2019-09-19 Thread Abraham Lee
Hey, Andrew!

On Thu, Sep 19, 2019 at 6:43 PM Andrew Bernard 
wrote:

> I am trying to use notes in tuplet numbers, fairly standard. I use a
> custom font for my scores and this may be interfering, but when I use
> say 16. or 8 for the note the stem length is almost zero and it looks ugly.
>
> How can I get access to the font used in tuplet numbers for the notes
> when you use them, as per the non-default tuplet number examples?


Sorry, not a direct answer to your question, but how are you using a custom
font for the notes? I’ve not had the problem with my fonts you are
describing. Anything I can help with?

Best,
Abraham

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


Re: Tuplet number note size/font

2019-09-19 Thread Andrew Bernard
Sorry. I am guilty of using imprecise language. I use custom notehead 
stencils to achieve the look of the notes we want. Not a replacement 
custom font such as yours. [It's very successful but I confess I have 
never been able to make good breve noteheads.]


This sort of thing:

% for unfilled notes
sOne =
\markup
\override #'(filled . #t)
\path #0.01
#'((moveto    0.00  -0.35)
   (lineto    0.08  -0.28)
   (curveto   0.08  -0.32   0.10  -0.33   0.18  -0.33)
   (curveto   0.48  -0.33   1.03   0.08   1.03   0.28)
   (curveto   1.03   0.34   0.94   0.33   0.93   0.33)
   (curveto   0.65   0.33   0.08  -0.05   0.08  -0.28)
   (lineto    0.00  -0.35)
   (curveto   0.00   0.00   0.55   0.55   0.90   0.55)
   (curveto   1.00   0.55   1.10   0.50   1.10   0.35)
   (curveto   1.10   0.00   0.55  -0.55   0.20  -0.55)
   (curveto   0.05  -0.55   0.00  -0.45   0.00  -0.35))

And using this in the stencil.

Andrew

On 20/9/19 12:07 pm, Abraham Lee wrote:


Sorry, not a direct answer to your question, but how are you using a 
custom font for the notes? I’ve not had the problem with my fonts you 
are describing. Anything I can help with?




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


Re: different staff-staff spacing throughout piece

2019-09-19 Thread Kieren MacMillan
Hi Rachel,

> My piece opens with a cadenza and I want the staffs to be further apart for 
> easier reading as there are a lot of knee-beams, but for the rest of the 
> piece, I want the default staff-staff spacing. Is this possible?

Two possible solutions:

1. Put the cadenza and the rest of the piece in two different scores, each with 
its own spacing parameters.

2. Set the score to the smaller spacing parameters, and then use invisible 
markups or padding/spacing tweaks to force the cadenza systems to be further 
apart.

Hope that helps!
Kieren.


Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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