Re: Multiple issues

2019-06-30 Thread Craig Dabelstein
Great advice as always. Thanks guys.

Craig


On Mon, 1 Jul 2019 at 02:58, Ben  wrote:

> On 6/29/2019 7:42 PM, Craig Dabelstein wrote:
>
> Hi everyone,
>
> In the attached screenshot of the last bars of my score you can see a
> couple of problems:
>
> [1] The tempi are not horizontally aligned
> [2] The last two bars aren't wide enough to accommodate the tempi
>
> I'm using markLengthOn
>
> What's the consensus on the best way to fix these?
>
> All the best,
>
> Craig
> [image: Screen Shot 2019-06-30 at 9.38.13 am.png]
>
>
> If you want to widen the measures, you could always do something like this:
>
> {
>   c4 d e f \tempo "Lento" \newSpacingSection
>   \once \override Score.SpacingSpanner.shortest-duration-space = #6
>   R1
>   \newSpacingSection \tempo "Subito Allegro"
>   c8 d e f c d e f
>
>
> }
>
>
> (see attached)
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon]  [image:
twitter icon]  [image: youtube icon]
 [image: instagram icon]
  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Markup question

2019-06-30 Thread Pierre Perol-Schneider
You're welcome John,
Cheers,
Pierre
PS. Please don't forget to reply to the list.

Le dim. 30 juin 2019 à 19:54, John McWilliam  a
écrit :

> Hi Pierre,
>
> Brilliant! Thanks for solving that for me.
>
> John
>
>
>
> Sent from Mail  for
> Windows 10
>
>
>
> *From: *Pierre Perol-Schneider 
> *Sent: *Sunday, June 30, 2019 4:00 PM
> *To: *John McWilliam 
> *Cc: *bug-lilyp...@gnu.org
> *Subject: *Re: Markup question
>
>
>
> Hi John and welcome here.
>
>
>
> Le dim. 30 juin 2019 à 15:37, John McWilliam  a
> écrit
>
>
>
> - In the above I want to Place the tempo text (Moderato) and the \Tempo (
> 4 = 84) on the same line. I have tried to make this work using \halign but
> without success.
>
>
>
> Try:
>
>
>
>\tempo\markup\normal-text\concat {
>   \bold "Moderto" \hspace #.8
>   "(" \hspace #.1 \raise #.5 \smaller\note #"4" #1 \hspace #.5
>   "=" \hspace #.3 "84" \hspace #.1 ")"
> }
> \set Score.tempoWholesPerMinute = #(ly:make-moment 84/4) %% if needed
> for the mid output
>
>
>
>
>
> - On the same line I want ”strike” to occur at the beginning of the bar.
> Again ”\halign #0 strike” failed to achieve this. Can somebody explain how
> this should be done.
>
>
>
> How about :
>
>
>
> \tweak self-alignment-X #LEFT
> \mark \markup\fontsize #-1 "strike"
> R1
>
>
>
> HTH, cheers,
>
> Pierre
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Get the context name of grob object

2019-06-30 Thread David Kastrup
Nils Nommensen  writes:

> Hello,
> I am currently experimenting with Lilypond and its internal functions and
> have a question regarding grobs:
> Is it somehow possible to get a unique identifier of the context a given
> grob object is in?

A grob object is not as much _in_ a given context but announced _from_ a
context.  grob-acknowledgers of an engraver receive their own engraver
as one argument and the source engraver as another.  Checking the
ly:translator-context of the source engraver should give you the closest
you can get to what you want.  Short of what grob-acknowledgers get to
see, there is no record what context a grob originated from.

-- 
David Kastrup

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


Re: Multiple issues

2019-06-30 Thread Ben

On 6/29/2019 7:42 PM, Craig Dabelstein wrote:

Hi everyone,

In the attached screenshot of the last bars of my score you can see a 
couple of problems:


[1] The tempi are not horizontally aligned
[2] The last two bars aren't wide enough to accommodate the tempi

I'm using markLengthOn

What's the consensus on the best way to fix these?

All the best,

Craig
Screen Shot 2019-06-30 at 9.38.13 am.png



If you want to widen the measures, you could always do something like this:

{
  c4 d e f \tempo "Lento" \newSpacingSection
  \once \override Score.SpacingSpanner.shortest-duration-space = #6
  R1
  \newSpacingSection \tempo "Subito Allegro"
  c8 d e f c d e f


}


(see attached)

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


Get the context name of grob object

2019-06-30 Thread Nils Nommensen
Hello,
I am currently experimenting with Lilypond and its internal functions and
have a question regarding grobs:
Is it somehow possible to get a unique identifier of the context a given
grob object is in? I know that there are functions like ly:context-id and
ly:context-name, but they are expecting context objects and I'm not really
sure how to get those with a given grob object.

Can anybody help me with this?
Best Regards

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


Re: Multiple issues

2019-06-30 Thread Pierre Perol-Schneider
Or simply adding some spaces such as : \tempo\markup " Lento "

Le dim. 30 juin 2019 à 16:12, Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> a écrit :

> Hi Craig,
> Maybe using \tempo \markup \with-dimension... or \tempo \markup
> \with-dimensions-from... ?
> Cheers,
> Pierre
>
> Le dim. 30 juin 2019 à 01:43, Craig Dabelstein 
> a écrit :
>
>> Hi everyone,
>>
>> In the attached screenshot of the last bars of my score you can see a
>> couple of problems:
>>
>> [1] The tempi are not horizontally aligned
>> [2] The last two bars aren't wide enough to accommodate the tempi
>>
>> I'm using markLengthOn
>>
>> What's the consensus on the best way to fix these?
>>
>> All the best,
>>
>> Craig
>> [image: Screen Shot 2019-06-30 at 9.38.13 am.png]
>>
>> --
>> [image: photograph]
>> *Craig Dabelstein*
>> Owner
>> email: cr...@maximesmusic.com.au
>> Maxime's Music, QLD, Australia
>> [image: facebook icon]  [image:
>> twitter icon]  [image: youtube icon]
>>  [image: instagram icon]
>>   maximesmusic.com.au
>> ___
>> 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: Multiple issues

2019-06-30 Thread Pierre Perol-Schneider
Hi Craig,
Maybe using \tempo \markup \with-dimension... or \tempo \markup
\with-dimensions-from... ?
Cheers,
Pierre

Le dim. 30 juin 2019 à 01:43, Craig Dabelstein 
a écrit :

> Hi everyone,
>
> In the attached screenshot of the last bars of my score you can see a
> couple of problems:
>
> [1] The tempi are not horizontally aligned
> [2] The last two bars aren't wide enough to accommodate the tempi
>
> I'm using markLengthOn
>
> What's the consensus on the best way to fix these?
>
> All the best,
>
> Craig
> [image: Screen Shot 2019-06-30 at 9.38.13 am.png]
>
> --
> [image: photograph]
> *Craig Dabelstein*
> Owner
> email: cr...@maximesmusic.com.au
> Maxime's Music, QLD, Australia
> [image: facebook icon]  [image:
> twitter icon]  [image: youtube icon]
>  [image: instagram icon]
>   maximesmusic.com.au
> ___
> 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


Company-mode backend for autocompletion

2019-06-30 Thread Brett Gilio
Hi all, I am a long time emacs user, and getting back into using
lilypond. Does anybody know if there is a way to get the autocompletion
for lilypond-mode as a backend to company-mode? It seems the formatted
output for LilyPond-autocomplete is ideal for listing possible outputs
but I am only getting results as strings in the message buffer which is
not ideal.

I tried looking through the archives of the mailing list and searching
the internet, but no luck.

Best,
Brett Gilio

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