Re: Wanting to parenthesize (b5) superscript

2024-03-19 Thread John Helly
It certainly does. Mahalo nui. J. On 3/19/24 19:26, Aaron Hill wrote: On 2024-03-19 10:13 pm, John Helly wrote: Aloha. I'm trying to improve a score that my colleagues find confusing since they mis-interpret A(b5) as Ab5; that is, when cis1:5- is transposed to A(b5). The transpose (cis to

Re: Wanting to parenthesize (b5) superscript

2024-03-19 Thread Aaron Hill
On 2024-03-19 10:13 pm, John Helly wrote: Aloha. I'm trying to improve a score that my colleagues find confusing since they mis-interpret A(b5) as Ab5; that is, when cis1:5- is transposed to A(b5). The transpose (cis to a) is not applied in the example below and that may further complicate

Wanting to parenthesize (b5) superscript

2024-03-19 Thread John Helly
Aloha. I'm trying to improve a score that my colleagues find confusing since they mis-interpret A(b5) as Ab5; that is, when cis1:5- is transposed to A(b5). The transpose (cis to a) is not applied in the example below and that may further complicate things as I'm not sure whether parentheses

Re: Using functions "parenthesize" in lilypond 2.24.1

2023-07-11 Thread Jean Abou Samra
Le mardi 11 juillet 2023 à 12:19 +0300, Виноградов Юрий a écrit : > Hello. I'm typing an accordion part. And in my left hand I need to put a note > in the \parenthesize function. But since this note takes up space in the > measure. Example: beat 2/4 and note 1/8 - it turns out

Re: Using functions "parenthesize" in lilypond 2.24.1

2023-07-11 Thread Виноградов Юрий
Ok. Thanks. Юрий Виноградов12:57, 11 июля 2023 г., Jean Abou Samra :Le mardi 11 juillet 2023 à 12:54 +0300, Виноградов Юрий a écrit :How will be correct. Tell.To create a new topic on this list, you should send a new email to lilypond-user@gnu.org . You should use the same method as to create a

Re: Using functions "parenthesize" in lilypond 2.24.1

2023-07-11 Thread Виноградов Юрий
ok. С уважением,Виноградов Юрий.11.07.2023, 12:59, "David Kastrup" :Виноградов Юрий writes: 12:51, 11 июля 2023 г., David Kastrup :  Please never, never, never, ever quote an entire week's digest to the  list with any new post to the list. The entirety of your

Re: Using functions "parenthesize" in lilypond 2.24.1

2023-07-11 Thread David Kastrup
Виноградов Юрий writes: > 12:51, 11 июля 2023 г., David Kastrup : >> >> Please never, never, never, ever quote an entire week's digest to the >> list with any new post to the list. The entirety of your mail, >> including the last week's digest, will clog up the next week's digest. >> And so

Re: Using functions "parenthesize" in lilypond 2.24.1

2023-07-11 Thread Jean Abou Samra
Le mardi 11 juillet 2023 à 12:54 +0300, Виноградов Юрий a écrit : > How will be correct. Tell. To create a new topic on this list, you should send a new email to lilypond-user@gnu.org . You should use the same method as to create a new email to anybody. You should not take a digest you received

Re: Using functions "parenthesize" in lilypond 2.24.1

2023-07-11 Thread Виноградов Юрий
How will be correct. Tell.Юрий Виноградов12:51, 11 июля 2023 г., David Kastrup :Виноградов Юрий <hagrid@yandex.ru> writes: Hello. I'm typing an accordion part. And in my left hand I need to put a note in the \parenthesize function. But since this note takes up space in the measure. E

Re: Using functions "parenthesize" in lilypond 2.24.1

2023-07-11 Thread David Kastrup
Виноградов Юрий writes: > Hello. I'm typing an accordion part. And in my left hand I need to put > a note in the \parenthesize function. But since this note takes up > space in the measure. Example: beat 2/4 and note 1/8 - it turns out to > be 5/8 in a beat. To make everythi

Using functions "parenthesize" in lilypond 2.24.1

2023-07-11 Thread Виноградов Юрий
Hello. I'm typing an accordion part. And in my left hand I need to put a note in the \parenthesize function. But since this note takes up space in the measure. Example: beat 2/4 and note 1/8 - it turns out to be 5/8 in a beat. To make everything look good in the other hand, I either put the size

Parenthesize whole note

2023-01-14 Thread Valentin Petzel
there. This does not currently work with Beaming. Cheers, Valentin% modification for scm/stencil.scm:parenthesize-stencil that allows to specify direction #(define* (parenthesize-stencil stencil half-thickness width angularity padding #:optional (direction CENTER)) "Add parent

Re: Error when compiling snippet "Parenthesize a group of notes using a Scheme function"

2022-12-16 Thread Robin Bannister
Kieren MacMillan wrote: Hi Joseph, If you use convert-ly on your files, it will update ParenthesesItem to Parentheses, which will eliminate the error. Yes, but: The LSR snippets don't have a \version statement. If convert-ly doesn't help, insert the line \version "2.22.0" and try again.

Re: Error when compiling snippet "Parenthesize a group of notes using a Scheme function"

2022-12-16 Thread Carl Sorensen
On Fri, Dec 16, 2022 at 11:48 AM Joseph Srednicki wrote: > I am running Lilypond 2.24.0 on Windows 11. > > I am trying the use the snippet entitled "Parenthesize a group of notes > using a Scheme function" located at > https://lsr.di.unimi.it/LSR/Snippet?id=902. &g

Re: Error when compiling snippet "Parenthesize a group of notes using a Scheme function"

2022-12-16 Thread Kieren MacMillan
Hi Joseph, If you use convert-ly on your files, it will update ParenthesesItem to Parentheses, which will eliminate the error. Hope that helps! Kieren.

Error when compiling snippet "Parenthesize a group of notes using a Scheme function"

2022-12-16 Thread Joseph Srednicki
I am running Lilypond 2.24.0 on Windows 11. I am trying the use the snippet entitled "Parenthesize a group of notes using a Scheme function" located at https://lsr.di.unimi.it/LSR/Snippet?id=902. I receive the following errors: :/Users/jossr/AppData/Local/Temp/frescobaldi-ml8etqod/t

Re: Parenthesize multiple notes

2022-10-29 Thread Jean Abou Samra
Le 29/10/2022 à 22:42, Edizioni Migliori a écrit : Hello, How can I parenthesize multiple notes? In the example below, I am trying to enclose the two grace notes in one set of brackets. \version "2.23.10" \language "english" \relative { \afterGrace b'2\trill { a16 b }

Parenthesize multiple notes

2022-10-29 Thread Edizioni Migliori
Hello, How can I parenthesize multiple notes? In the example below, I am trying to enclose the two grace notes in one set of brackets. \version "2.23.10" \language "english" \relative { \afterGrace b'2\trill { a16 b } c2 } Thanks, Ahanu Banerjee Publisher Edizioni

Re: Parenthesize bass figures as a whole

2017-04-26 Thread Lukas-Fabian Moser
> > You know you can insert brackets doing what you want? > No, in fact I didn't - it never occured to me that the brackets inside figures <6 4> could be put around more than one figure at a time. Your solution fits my need perfectly - thanks very much!! Best! Lukas

Re: Parenthesize bass figures as a whole

2017-04-25 Thread Thomas Morley
height-limit ratio))) (parenthesize-stencil (make-transparent-box-stencil x-ext y-ext) thick height angularity padding))) tst-figures = \figuremode { <[2]> <[2 4]> <[2 4 5]> <[2 4 5 7]> <[2 4 5 7 8]> <[

Parenthesize bass figures as a whole

2017-04-25 Thread Lukas-Fabian Moser
Hello, I hope I don't mess up completely, this being my first posting to this list (which I nevertheless often consulted before). I'm looking for a way to parenthesize Bass figures in such a way that combinations of two or more figures get one single large pair of parentheses. If I parenthesize

Re: Custom parenthesize ignoring Staves?

2017-04-17 Thread Simon Albrecht
Am 16.04.2017 um 14:25 schrieb Thomas Morley: How about below (Hijacking GridPoint and GridLine)? I am amazed. This has so much potential – thank you! Best, Simon ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Custom parenthesize ignoring Staves?

2017-04-16 Thread kmg
Wow, this is perfect, thank you so much! http://i.imgur.com/pqHVtXr.png - looks so nice. Definitely saving this, so I never lose it! Pozdrawiam, Krzysztof Gutowski 2017-04-16 14:25 GMT+02:00 Thomas Morley : > Hi Krzysztof , > > 2017-04-15 20:11 GMT+02:00 kmg

Re: Custom parenthesize ignoring Staves?

2017-04-16 Thread Thomas Morley
Hi Krzysztof , 2017-04-15 20:11 GMT+02:00 kmg : > Hey, I'm working on re-typing some educational notes and I'm wondering if > maybe someone had this problem and also came up with some Scheme to deal > with this. > > http://i.imgur.com/T7z8Ty7.png - this is the

Custom parenthesize ignoring Staves?

2017-04-15 Thread kmg
Hey, I'm working on re-typing some educational notes and I'm wondering if maybe someone had this problem and also came up with some Scheme to deal with this. http://i.imgur.com/T7z8Ty7.png - this is the source; http://i.imgur.com/IGocUKW.png - this is what I came up with (nevermind wrong notes)

Re: Cross staff parenthesize

2017-02-12 Thread Thomas Morley
2017-02-12 14:17 GMT+01:00 Thomas Morley <thomasmorle...@gmail.com>: > 2017-02-12 2:59 GMT+01:00 Andrew Bernard <andrew.bern...@gmail.com>: > >> Now I observe the same thing when simply changing staves, no cross staff >> stemming involved. Is this a bug, or am I

Re: Cross staff parenthesize

2017-02-12 Thread Thomas Morley
2017-02-12 2:59 GMT+01:00 Andrew Bernard <andrew.bern...@gmail.com>: > Now I observe the same thing when simply changing staves, no cross staff > stemming involved. Is this a bug, or am I using parenthesize incorrectly? > The issue is that the parentheses do not enclose the accen

Cross staff parenthesize

2017-02-11 Thread Andrew Bernard
Some time ago I noticed the behaviour of parenthesize goes awry when parenthesizing an accent on cross staff stemmed notes. A bug was raised. Now I observe the same thing when simply changing staves, no cross staff stemming involved. Is this a bug, or am I using parenthesize incorrectly

Re: \parenthesize and optional arguments

2015-07-05 Thread Vaughan McAlley
On 4 July 2015 at 17:17, David Kastrup d...@gnu.org wrote: You are thinking of LilyPond/Scheme as a procedural language here. (begin ( … ) ( … ) ( … ) ( … ) ( … ) ( … ) ( … )) Oops :-) Vaughan ___ lilypond-user mailing list

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
parenthesize = #(define-music-function (dir arg) ((number? 0) ly:music?) (_i Tag @var{arg} to be parenthesized. @arg{dir} is optional and may be set to @code{#LEFT} or @code{#RIGHT} for left/right parentheses only.) (if (memq 'event-chord (ly:music-property arg 'types)) ;; arg

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Am 04.07.2015 um 10:08 schrieb David Kastrup: [...] Well, I'm not enthusiastic about both code and interface. The problem with the code is that { c'8-\parenthesize-1 [ f'8] } will no longer compile. Ah, I see. The first reason for that is that one-paren parenthesize will not work for any

Re: \parenthesize and optional arguments

2015-07-04 Thread David Kastrup
Marc Hohl m...@hohlart.de writes: Now I got \version 2.19.20 lparenthesize = #(define-music-function (arg) (ly:music?) (_i Tag @var{arg} to be left parenthesized.) (if (memq 'event-chord (ly:music-property arg 'types)) ;; arg is an EventChord - set the parenthesize property

\parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Hi list, my scheme-fu is a bit rusty, so I tried to get a new start by enhancing the parenthesize function defined in ly/music-functions-init.ly with the code to be found in http://lsr.di.unimi.it/LSR/Snippet?id=902 Here is what I have so far: \version 2.19.20 parenthesize = #(define-music

Re: \parenthesize and optional arguments

2015-07-04 Thread David Kastrup
Marc Hohl m...@hohlart.de writes: my scheme-fu is a bit rusty, so I tried to get a new start by enhancing the parenthesize function defined in ly/music-functions-init.ly with the code to be found in http://lsr.di.unimi.it/LSR/Snippet?id=902 Here is what I have so far: \version 2.19.20

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Am 04.07.2015 um 09:17 schrieb David Kastrup: [...] You are thinking of LilyPond/Scheme as a procedural language here. What happens here is that you calculate a suitable override and, well, throw it away. The return value of this function, calculated later as arg, does not care what you have

Re: \parenthesize and optional arguments

2015-07-04 Thread David Kastrup
Marc Hohl m...@hohlart.de writes: \version 2.19.20 parenthesize = #(define-music-function (dir arg) ((number? 0) ly:music?) (_i Tag @var{arg} to be parenthesized. @arg{dir} is optional and may be set to @code{#LEFT} or @code{#RIGHT} for left/right parentheses only.) (if (memq

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Am 04.07.2015 um 11:12 schrieb Marc Hohl: [...] I remember getting such error messages in combination with some unbalanced parentheses, but my editor tells me that this is not the case here :-( Found it! It was unbalanced ''s in the doc string here! Marc

Re: \parenthesize and optional arguments

2015-07-04 Thread Marc Hohl
Am 04.07.2015 um 10:08 schrieb David Kastrup: [...] Well, I'm not enthusiastic about both code and interface. What about \version 2.19.20 #(define (set-paren-property arg) (if (memq 'event-chord (ly:music-property arg 'types)) ;; arg is an EventChord - set the parenthesize property

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

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

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

collision parenthesize and sharp symbol

2015-06-19 Thread MarcM
is this collision a bug or is it expected and require to add padding manually? http://lilybin.com/fy9guz/2 -- View this message in context: http://lilypond.1069038.n5.nabble.com/collision-parenthesize-and-sharp-symbol-tp178004.html Sent from the User mailing list archive at Nabble.com

Re: collision parenthesize and sharp symbol

2015-06-19 Thread Simon Albrecht
. for padding font-size. I won’t do anything like that now, however – it’s late… Yours, Simon http://lilybin.com/fy9guz/2 -- View this message in context: http://lilypond.1069038.n5.nabble.com/collision-parenthesize-and-sharp-symbol-tp178004.html Sent from the User mailing list archive

Re: collision parenthesize and sharp symbol

2015-06-19 Thread David Kastrup
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

Re: Parenthesize accidental together

2015-05-31 Thread Simon Albrecht
Hello, see https://code.google.com/p/lilypond/issues/detail?id=155. This has been fixed in 2.19.20. Yours, Simos Am 31.05.2015 um 02:58 schrieb Venus' Wink: Hi, I'd like to output like the attachment purpose.png. But the following simple code \parenthesize ces''4 puts the flat

Re: Parenthesize accidental together

2015-05-31 Thread Thomas Morley
' Wink: Hi, I'd like to output like the attachment purpose.png. But the following simple code \parenthesize ces''4 puts the flat symbol out of the parens (with Lilypond 2.18.2). I think that overriding the stencil of the left paren will make it so, but I couldn't find the name

Re: Parenthesize accidental together

2015-05-31 Thread Venus' Wink
like the attachment purpose.png. But the following simple code \parenthesize ces''4 puts the flat symbol out of the parens (with Lilypond 2.18.2). I think that overriding the stencil of the left paren will make it so, but I couldn't find the name of the stencil. Or, is there more

Re: Parenthesize accidental together

2015-05-31 Thread Simon Albrecht
Am 31.05.2015 um 12:08 schrieb Venus' Wink: Thanks, All. see https://code.google.com/p/lilypond/issues/detail?id=155. This has been fixed in 2.19.20. The lambda function have worked with 2.18.2. The parens are put a bit high probably for virtical centering for flat. But it's acceptable for

Re: Parenthesize accidental together

2015-05-31 Thread Venus' Wink
Hello, This is OK. Thanks a lot Venus' WInk -Original Message- From: simon.albre...@mail.de Sent: Sun, 31 May 2015 13:36:09 +0200 To: venuswi...@inbox.com, lilypond-user@gnu.org Subject: Re: Parenthesize accidental together Am 31.05.2015 um 12:08 schrieb Venus' Wink: Thanks

Parenthesize accidental together

2015-05-30 Thread Venus' Wink
Hi, I'd like to output like the attachment purpose.png. But the following simple code \parenthesize ces''4 puts the flat symbol out of the parens (with Lilypond 2.18.2). I think that overriding the stencil of the left paren will make it so, but I couldn't find the name of the stencil

Parenthesize and accidentals

2015-04-08 Thread Anton Curl
Hi everyone! With this snippet, the sharp is not between brackets. \version 2.19.1 { \parenthesize cis'' } Is there a way to get the note and his sharp between brackets? Thanks! Anton Curl ___ lilypond-user mailing list lilypond-user@gnu.org https

Re: Parenthesize and accidentals

2015-04-08 Thread Pierre Perol-Schneider
Hi Anton, see: http://lsr.di.unimi.it/LSR/Item?id=972 Cheers, Pierre 2015-04-08 8:03 GMT+02:00 Anton Curl curl.an...@gmail.com: Hi everyone! With this snippet, the sharp is not between brackets. \version 2.19.1 { \parenthesize cis'' } Is there a way to get the note and his sharp

Re: Parenthesize and accidentals

2015-04-08 Thread Anton Curl
: Hi everyone! With this snippet, the sharp is not between brackets. \version 2.19.1 { \parenthesize cis'' } Is there a way to get the note and his sharp between brackets? Thanks! Anton Curl ___ lilypond-user mailing

Re: Parenthesize and accidentals

2015-04-08 Thread David Nalesnik
On Wed, Apr 8, 2015 at 1:20 AM, Anton Curl curl.an...@gmail.com wrote: Thanks! I hope it'll be integrated natively in Lilypond. This is a rather old issue https://code.google.com/p/lilypond/issues/detail?id=155 Looks like the issue was abandoned, I don't know why. --David

Accidental in parenthesize

2015-01-05 Thread Alicuota618
Hello and Happy New Year to all, is there a way to parentesize an accidental-only like in the attachement? This is \key a-minor (or whatever key that doesnt contain a c-sharp) and should give a notice that the last repeat of refrain CAN be c-sharp (picard third). Thanks in advance, Francois

Re: Accidental in parenthesize

2015-01-05 Thread Knute Snortum
This may help: http://lsr.di.unimi.it/LSR/Item?id=155 Knute Snortum (via Gmail) On Mon, Jan 5, 2015 at 5:14 AM, Alicuota618 alicuota...@gmail.com wrote: Hello and Happy New Year to all, is there a way to parentesize an accidental-only like in the attachement? This is \key a-minor (or

Parenthesize and dot

2014-06-13 Thread Johan Vromans
Hi, In a construct like \parenthesize g bes2. how can I get the parens to include the dot? -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Parenthesize and dot

2014-06-13 Thread Pierre Perol-Schneider
2014-06-13 13:07 GMT+02:00 Johan Vromans jvrom...@squirrel.nl: Hi, In a construct like \parenthesize g bes2. how can I get the parens to include the dot? Hi Johan, See : http://lists.gnu.org/archive/html/lilypond-devel/2011-07/msg00906.html \version 2.18.2

Re: Parenthesize and dot

2014-06-13 Thread James
On 13/06/14 12:07, Johan Vromans wrote: Hi, In a construct like \parenthesize g bes2. how can I get the parens to include the dot? -- Johan For completeness https://code.google.com/p/lilypond/issues/detail?id=3750 and http://code.google.com/p/lilypond/issues/detail?id=155 James

\parenthesize for dotted notehead

2014-02-05 Thread MING TSANG
Hi lilyponders,  how can I parenthesize df8. ? the dot is outside the parenthesis.   \version 2.18.0 \language english { \key af\major ef'' \parenthesize ef'1 |%m26 q2. \parenthesize ef'4 \parenthesize df'8 df'4 \parenthesize df'8. \parenthsize ef'16 |%m27 } Emmanuel, Ming

Re: \parenthesize for dotted notehead

2014-02-05 Thread Urs Liska
Am 05.02.2014 16:35, schrieb MING TSANG: Hi lilyponders, how can I parenthesize df8. ? the dot is outside the parenthesis. \version 2.18.0 \language english { \key af\major ef'' \parenthesize ef'1 |%m26 q2. \parenthesize ef'4 \parenthesize df'8 df'4 \parenthesize df'8. \parenthsize ef'16 |%m27

Re: \parenthesize command looks puny compared with reminder accidental

2013-10-30 Thread Richard Shann
modern for the version 2.16, but interpolating with the reply from Harm I get \version 2.16 { \override ParenthesesItem #'font-size = #0 \override ParenthesesItem #'padding = #0.05 f'?4 \parenthesize f'4 } which works just fine. Thank you both for the responses, Richard Shann

\parenthesize command looks puny compared with reminder accidental

2013-10-29 Thread Richard Shann
Consider \version 2.16 MvmntIVoiceI = { f'?4 \parenthesize g'4 } \score { \MvmntIVoiceI } The output has a rather puny looking parenthesis around the notehead while the reminder accidental is boldly parenthesized. Do people think this constitutes a bug? And, in any case

Re: \parenthesize command looks puny compared with reminder accidental

2013-10-29 Thread Gilberto Agostinho
Score.ParenthesesItem.padding = 0.05 f'?4 \parenthesize f'4 } Regards, Gilberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/parenthesize-command-looks-puny-compared-with-reminder-accidental-tp153097p153099.html Sent from the User mailing list archive at Nabble.com

Re: \parenthesize command looks puny compared with reminder accidental

2013-10-29 Thread Thomas Morley
2013/10/29 Richard Shann rich...@rshann.plus.com: Consider \version 2.16 MvmntIVoiceI = { f'?4 \parenthesize g'4 } \score { \MvmntIVoiceI } The output has a rather puny looking parenthesis around the notehead while the reminder accidental is boldly parenthesized. Do

Re: Parenthesize

2013-09-22 Thread Eluze
Jim Long wrote anymusic = \new Staff \relative c' { c4 \parenthesize { d e f } c4 d e f } for normal input you can use { c \tweak #'Y-offset -5 \tweak #'text ( \breathe gis16([ a \tweak #'Y-offset -5 \tweak #'text ) \breathe ]) } unfortunately you'll have to calculate

Re: Parenthesize

2013-09-22 Thread Thomas Morley
2013/9/22 Eluze elu...@gmail.com: Jim Long wrote anymusic = \new Staff \relative c' { c4 \parenthesize { d e f } c4 d e f } for normal input you can use { c \tweak #'Y-offset -5 \tweak #'text ( \breathe gis16([ a \tweak #'Y-offset -5 \tweak #'text ) \breathe

Parenthesize

2013-09-21 Thread Jim Long
I'm not getting any parentheses in the output from this example. Is it possible to parenthesize more than a single grob? Thank you! Jim \version 2.17.26 music = \relative c' { c4 d e f } \score { \music } \score { \parenthesize \music

Re: Parenthesize

2013-09-21 Thread David Kastrup
Jim Long lilyp...@umpquanet.com writes: I'm not getting any parentheses in the output from this example. Is it possible to parenthesize more than a single grob? Thank you! Jim \version 2.17.26 music = \relative c' { c4 d e f } \score { \music } \score { \parenthesize \music

Re: Parenthesize

2013-09-21 Thread Jim Long
Hi, David. Probably poor wording of the question on my part. No, my original intent was to parenthesize two notes in a simple volta repeat which are played only the last time through. A less tiny example, in which \parenthesize (or my understanding of it) fails in both a melody staff

Parenthesize a breath sign

2013-09-02 Thread Tommaso Gordini
Hello to all, this is the code: \new Staff \relative c'' { \key es \major \time 3/4 \override BreathingSign #'text = \markup { \musicglyph #scripts.upbow } \once \override ParenthesesItem #'font-size = #0 es8[-\parenthesize \trill d es f \once \override ParenthesesItem #'font-size = #0 g

Re: Parenthesize a breath sign

2013-09-02 Thread David Kastrup
Tommaso Gordini illinguista1...@gmail.com writes: Hello to all, this is the code: \new Staff \relative c'' { \key es \major \time 3/4 \override BreathingSign #'text = \markup { \musicglyph #scripts.upbow } \once \override ParenthesesItem #'font-size = #0 es8[-\parenthesize \trill

Re: Parenthesize a breath sign

2013-09-02 Thread Thomas Morley
-size = #0 es8[-\parenthesize \trill d es f \once \override ParenthesesItem #'font-size = #0 g]-\parenthesize \breathe f | } Is there a way to parenthesize a sign of breath? Because it works with \trill and not with \breathe? Well, you just need to write g] \parenthesize \breathe f

Re: Parenthesize a breath sign

2013-09-02 Thread Thomas Morley
2013/9/2 Thomas Morley thomasmorle...@gmail.com: My try with Issue 3096 intended to solve it, too, though, it didn't work. And then I was distracted by other tasks. Sorry, c/p error. Should read: Issue 2646 ___ lilypond-user mailing list

Re: Parenthesize a breath sign

2013-09-02 Thread Thomas Morley
2013/9/2 Thomas Morley thomasmorle...@gmail.com: For now you could use: \override BreathingSign #'text = \markup { \parenthesize \musicglyph #scripts.rcomma } Or use Eluze's workaround from http://code.google.com/p/lilypond/issues/detail?id=1523#c6 Cheers, Harm

Re: Parenthesize a breath sign

2013-09-02 Thread Pierre Perol-Schneider
a \once\override ParenthesesItem.X-extent = #'(0 . 20) \parenthesize % any values! %\once\override ParenthesesItem.X-extent = #'(0 . 0) \parenthesize % any values! % optinal : %\once\override BreathingSign #'text = \markup { \parenthesize \musicglyph #scripts.rcomma } \breathe b

Re: Parenthesize a breath sign

2013-09-02 Thread Eluze
. See : \relative c' { g4 a \once\override ParenthesesItem.X-extent = #'(0 . 20) \parenthesize % any values! %\once\override ParenthesesItem.X-extent = #'(0 . 0) \parenthesize % any values! % optinal : %\once\override BreathingSign #'text = \markup

Re: Parenthesize slashed grace with fingering?

2013-01-03 Thread Eluze
Colin Campbell-8 wrote I regret that I couldn't get your code to work, as it complains about unexpected postevent after the \parenthesize. with 2.17.9 there is no complaint - I'll check again when 2.17.10 is out! Eluze -- View this message in context: http://lilypond.1069038.n5

Re: Parenthesize slashed grace with fingering?

2013-01-03 Thread David Kastrup
Eluze elu...@gmail.com writes: Colin Campbell-8 wrote I regret that I couldn't get your code to work, as it complains about unexpected postevent after the \parenthesize. with 2.17.9 there is no complaint - I'll check again when 2.17.10 is out! Well, there _is_ a postevent in a bad

Parenthesize slashed grace with fingering?

2013-01-02 Thread Colin Campbell
eliminated as the shift gets smoother. The following gives me all I need except for the parentheses. I'm a bit foggy from a virus, and I cannot find the magic incantation which will show both the grace note and the parenthesis. Using 2.17.10, by the way. % e'2-1 ( \parenthesize \slashedGrace

Re: Parenthesize slashed grace with fingering?

2013-01-02 Thread Olivier Biot
. Using 2.17.10, by the way. % e'2-1 ( \parenthesize \slashedGrace gs8-1 a2-2 % Any pointers to TFM or LSR gratefully received! Cheers, Colin Hi Colin, I found something in LSR snippet 186 ( http://lsr.dsi.unimi.it/LSR/Item?id=186). Here's a working example: %%% BEGIN

Re: Parenthesize slashed grace with fingering?

2013-01-02 Thread Eluze
-1 ( \parenthesize \slashedGrace gs8-1 a2-2 % Any pointers to TFM or LSR gratefully received! not sure you can find it in TFM but this awful construction seems to do what you're looking for (note that the tweak comes /before / the grace note): { e'2-1 \parenthesize -\tweak

Re: Parenthesize slashed grace with fingering?

2013-01-02 Thread Colin Campbell
the magic incantation which will show both the grace note and the parenthesis. Using 2.17.10, by the way. % e'2-1 ( \parenthesize \slashedGrace gs8-1 a2-2 % Any pointers to TFM or LSR gratefully received! Cheers, Colin Hi Colin, I found

Re: Parenthesize slashed grace with fingering?

2013-01-02 Thread Colin Campbell
, by the way. % e'2-1 ( \parenthesize \slashedGrace gs8-1 a2-2 % Any pointers to TFM or LSR gratefully received! not sure you can find it in TFM but this awful construction seems to do what you're looking for (note that the tweak comes /before / the grace note): { e'2-1

Re: parenthesize chord

2012-10-12 Thread TaoCG
since I only needed this for one occasion I tweaked the brackets so to match the chord. Thanks for the help. -- View this message in context: http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10p134658.html Sent from the User mailing list archive at Nabble.com

Re: parenthesize chord

2012-10-11 Thread David Nalesnik
Hi, On Tue, Oct 9, 2012 at 2:29 AM, TaoCG tao_lilypondu...@gmx.net wrote: Hello, can the chord parentheses engraver also do square brackets? It could, but there would have to be some additions to the code. Unfortunately, I don't have any time to do anything Lily-related till next week! -David

Re: parenthesize chord

2012-10-11 Thread Tim McNamara
Here's a hack to parenthesize chords in \chordmode that was sent to me by a kind person here on the list. It can't parenthesize a single chord but will do two or more. #(define (left-parenthesis-ignatzek-chord-names in-pitches bass inversion context) (markup #:line (( (ignatzek-chord-names

Re: parenthesize chord

2012-10-09 Thread TaoCG
Hello, can the chord parentheses engraver also do square brackets? -- View this message in context: http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10p134439.html Sent from the User mailing list archive at Nabble.com. ___ lilypond

Re: parenthesize chord

2012-09-25 Thread TaoCG
: http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10p133527.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: parenthesize chord

2012-09-23 Thread TaoCG
that collision automatically? -- View this message in context: http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10p133361.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https

Re: parenthesize chord

2012-09-23 Thread Nick Payne
On 23/09/12 17:12, TaoCG wrote: David Nalesnik-2 wrote Here's my hack! A while back I was experimenting with defining new grobs, and a chord-parenthesizer was one of them. It's based on a rewrite of `arpeggio-engraver.cc' and incorporates material from `stencil.scm' (to draw the

parenthesize chord

2012-09-22 Thread TaoCG
Is it possible to put put single parentheses around a chord? If I parenthesize a chord each note gets a pair of parentheses on its own. -- View this message in context: http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10.html Sent from the User mailing list archive at Nabble.com

Re: parenthesize chord

2012-09-22 Thread m...@mikesolomon.org
On 22 sept. 2012, at 20:11, TaoCG tao_lilypondu...@gmx.net wrote: Is it possible to put put single parentheses around a chord? If I parenthesize a chord each note gets a pair of parentheses on its own. One of many possible hacks... #(define (parenthesize-elements grob . rest) (let

Re: parenthesize chord

2012-09-22 Thread TaoCG
m...@mikesolomon.org wrote One of many possible hacks... #(define (parenthesize-elements grob . rest) (let* ((refp (if (null? rest) grob (car rest))) (elts (ly:grob-object grob 'elements)) (x-ext (ly:relative-group-extent elts refp X

Re: parenthesize chord

2012-09-22 Thread David Nalesnik
Hi Tao, On Sat, Sep 22, 2012 at 1:40 PM, TaoCG tao_lilypondu...@gmx.net wrote: m...@mikesolomon.org wrote One of many possible hacks... Here's my hack! A while back I was experimenting with defining new grobs, and a chord-parenthesizer was one of them. It's based on a rewrite of

parenthesize compound time sig

2012-08-28 Thread David Bobroff
I thought I had the solution already in a file but I can't find it. I have a compound time signature defined and I would like to enclose the whole thing in (). I found the snippet for enclosing a standard time signature but I couldn't work out how to adapt it. #(define ((compound-time one

Re: parenthesize compound time sig

2012-08-28 Thread Thomas Morley
/mailman/listinfo/lilypond-user Hi David, is it this what you want? #(define ((compound-time one two three four) grob) (grob-interpret-markup grob (markup #:override '(baseline-skip . 0) #:parenthesize

Re: \parenthesize macro bug?

2012-07-28 Thread Gagi Petrovic
This works perfectly, thank you David! On 27 July 2012 11:30, David Kastrup d...@gnu.org wrote: Gagi Petrovic m...@gagipetrovic.nl writes: Dear ponders, i just wanted to create a macro for the use of \parenthesize, doing: pa = \parenthesize But whenever i compile the file, i get

\parenthesize macro bug?

2012-07-27 Thread Gagi Petrovic
Dear ponders, i just wanted to create a macro for the use of \parenthesize, doing: pa = \parenthesize But whenever i compile the file, i get an error message saying the line after this macro has an unexpected STRING. After removing the macro, everything is fine. Is anyone experiencing the same

Re: \parenthesize macro bug?

2012-07-27 Thread David Kastrup
Gagi Petrovic m...@gagipetrovic.nl writes: Dear ponders, i just wanted to create a macro for the use of \parenthesize, doing: pa = \parenthesize But whenever i compile the file, i get an error message saying the line after this macro has an unexpected STRING. After removing the macro

  1   2   >