Sorry, I missed that.
So just for the record:

\version "2.19" %or ''2.18"
{
  \tempo\markup\normal-text\sans\concat {
    \bold "Blah blah" \hspace #.8
    "(" \hspace #.1 \raise #.5
    %% optional;
    %\smaller
    \with-color #red \note #"4" #0 \hspace #.3
    "=" \hspace #.3  "50" \hspace #.1 ")"
  }
  %% for midi output ony, if needed:
  \set Score.tempoWholesPerMinute = #(ly:make-moment 50/4)
  c'
}

Cheers,
Pierre

2016-09-23 18:22 GMT+02:00 PMA <armst...@eskimo.com>:

> Hi Pierre,
>
> Thanks for this.  It works like a charm
> (and I decided I don't want RED anyway)!
>
> Cheers too,
> Pete
>
>
> On 09/23/2016 12:10 AM, Pierre Perol-Schneider wrote:
>
>> Hi Pete,
>>
>> How about
>>
>> %\version "2.19" or ''2.18"
>> {
>>    \tempo\markup\normal-text\sans\concat {
>>      \bold "Blah blah" \hspace #.8
>>      "(" \hspace #.1 \raise #.5
>>      %% optional;
>>      %\smaller
>>      \note #"4" #0 \hspace #.3
>>      "=" \hspace #.3  "50" \hspace #.1 ")"
>>    }
>>    %% for midi output ony, if needed:
>>    \set Score.tempoWholesPerMinute = #(ly:make-moment 50/4)
>>    c'
>> }
>>
>> Cheers,
>> Pierre
>>
>> 2016-09-23 4:27 GMT+02:00 PMA <armst...@eskimo.com>:
>>
>> Hi All again!
>>>
>>> I would like to alter the output of LY's \tempo command,
>>> specifically within its "(<NoteVal> = <NumberPerMinute>)"
>>> assignment.
>>>
>>> Here's my original --
>>>
>>> \tempo \markup \sans "Blah blah" 1 = 50
>>>
>>> which o'course outputs a black whole-note glyph with both
>>> the "= 50" and the parentheses in TimesRoman font.
>>>
>>> I want to alter the output so that
>>> - the glyph is instead a STEMLESS RED QUARTER-NOTE, and
>>> - the parentheses and the "= 50" are also in \sans font.
>>>
>>> Would someone please throw me a clue how to do that?
>>>
>>> Thanks in advance.
>>> Pete
>>>
>>>
>>> _______________________________________________
>>> 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

Reply via email to