Easy way of suppessing tuplet numbers?

2019-10-19 Thread Peter Toye
Is there an easy way to suppress tuplet numbers? When there's a long passage of 
triplets it gets too fussy having a "3" every time. I know it can be done with

c*2/3 d*2/3 e*2/3 etc. but this takes ages to type, and is very inflexible if I 
decide to add or subtract a tuplet number. 

As far as I can see, the tuplet doesn't have a "visible" property which can be 
switched on and off.

Am I missing something?

 
Regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Easy way of suppessing tuplet numbers?

2019-10-19 Thread Malte Meyn



Am 19.10.19 um 13:23 schrieb Peter Toye:
Is there an easy way to suppress tuplet numbers? When there's a long 
passage of triplets it gets too fussy having a "3" every time. I know it 
can be done with


c*2/3 d*2/3 e*2/3 etc. but this takes ages to type, and is very 
inflexible if I decide to add or subtract a tuplet number.


As far as I can see, the tuplet doesn't have a "visible" property which 
can be switched on and off.


Am I missing something?


You could use

\omit TupletNumber and \omit TupletBracket

or

\scaleDurations

and you don’t need the factor always:

c8*2/3 d e d e f e f g

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


Re: Easy way of suppessing tuplet numbers?

2019-10-19 Thread Kieren MacMillan
Hi Peter,

> Is there an easy way to suppress tuplet numbers?

I use these shorthands (defined in one of my standard \include files):

tupletOff = { \temporary \omit TupletBracket \temporary \omit TupletNumber }
tupletOn = { \undo \omit TupletBracket \undo \omit TupletNumber }

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


Re: Easy way of suppessing tuplet numbers?

2019-10-19 Thread Peter Toye
Kieren,

Thanks - TupletNumber isn't mentioned in the manuals except that you can change 
it. The manual does say that you can make it transparent but that's not the 
same as omitting it entirely as it still takes space.

Neither are \temporary and \undo except in the appendix to the notation manual. 
Maybe add a para or two somewhere in the main manual text (with example)?

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Saturday, October 19, 2019, 2:26:43 PM, Kieren MacMillan wrote:

> Hi Peter,

>> Is there an easy way to suppress tuplet numbers?

> I use these shorthands (defined in one of my
> standard \include files):

> tupletOff = { \temporary \omit TupletBracket
> \temporary \omit TupletNumber }
> tupletOn = { \undo \omit TupletBracket \undo \omit TupletNumber }

> 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


Re: Easy way of suppessing tuplet numbers?

2019-10-19 Thread Kieren MacMillan
Hi Peter,

> Thanks

You’re welcome!

> TupletNumber isn't mentioned in the manuals except that you can change it.

There are a huge number of references in the manuals — for example, 
 
includes a bunch of examples/snippets, and of course 
 gives all 
of the settings and properties.

> The manual does say that you can make it transparent but that's not the same 
> as omitting it entirely as it still takes space.

This section shows how you can omit any layout object [including, obviously, a 
TupletNumber or TupletBracket]:


> Neither are \temporary and \undo except in the appendix to the notation 
> manual.

The section linked above includes \undo.

\temporary should probably be added to the section introducing the \override 
command(s)…

> Maybe add a para or two somewhere in the main manual text (with example)?

As the devs say: “Patches are always welcome!”  ;)

Cheers,
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


Re: Easy way of suppessing tuplet numbers?

2019-10-19 Thread Peter Toye
Hi Kieran,

Thanks again.

>> TupletNumber isn't mentioned in the manuals except that you can change it.

> There are a huge number of references in the
> manuals — for example,
> 
> includes a bunch of examples/snippets, and of
> course
> 
> gives all of the settings and properties.

True, but nothing here to say how to get rid of it altogether.

>> The manual does say that you can make it transparent but that's not the same 
>> as omitting it entirely as it still takes space.

> This section shows how you can omit any layout
> object [including, obviously, a TupletNumber or TupletBracket]:
> 

Ah, yes. I'd missed that bit. Sorry.

>> Neither are \temporary and \undo except in the appendix to the notation 
>> manual.

> The section linked above includes \undo.
Agreed.

> \temporary should probably be added to the
> section introducing the \override command(s)…

>> Maybe add a para or two somewhere in the main manual text (with example)?

> As the devs say: “Patches are always welcome!”  ;)

If I knew enough about it, I would contribute. 
As it is, as a casual user, I have to re-learn bits every time I need a score.
I appreciate the reasons for not duplicating material between the learning and 
notation manuals, but it's a pain having to work through two different 
documents in order to find what is obvious to an experienced user. And I find 
that some topics aren't always in the obvious (to me) section.

> Cheers,
> Kieren.

All the best,

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


Re: Easy way of suppessing tuplet numbers?

2019-10-20 Thread Simon Albrecht

On 19.10.19 16:11, Peter Toye wrote:
Thanks - TupletNumber isn't mentioned in the manuals except that you 
can change it.


Not everything can be made explicit in the manuals, or they would become 
even more massive than they already are.



The manual does say that you can make it transparent but that's not 
the same as omitting it entirely as it still takes space.


This is explained in the Learning Manual, section 4.3. Here are two 
different overrides, each with the equivalent shorthand:


\override TupletBracket.transparent = ##t
\hide TupletBracket

\override TupletBracket.stencil = ##f
\omit TupletBracket




Neither are \temporary and \undo except in the appendix to the 
notation manual. Maybe add a para or two somewhere in the main manual 
text (with example)?


These are somewhat recent additions (read: in the 2.19 cycle), and due 
to our shortage of developers/documentation writers they aren’t properly 
documented yet. Also, what Kieren said.


Best, Simon



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