lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "un-bold" font inside \tempo


From: Simon Albrecht
Subject: Re: "un-bold" font inside \tempo
Date: Fri, 17 Jul 2015 08:41:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Hi Bruno,

to avoid creating a new markup from scratch you can use LSR snippet no. 869 <http://lsr.di.unimi.it/LSR/Item?id=869> to modify the default. Example attached.

Yours best,
Simon

Am 17.07.2015 um 01:19 schrieb Bruno Ruviaro:
Hi all,

This is my first post on this list, and my first week using Lilypond for a real project. Learning a lot in a compressed amount of time... ;-)

I am trying to get metronome markings with "ca." before the number, but without bold face characters. How can I cancel the bold face font inside a \tempo command?

The snippet below shows what I've got so far. Bar 2 is what I'm getting by using \markup inside \tempo. Bar 3 shows what I would like to get. I'm happy to use Bar 3 solution if that's the only way, but I suppose there is a solution from inside \tempo?

Thanks for any tips!

Bruno

% ===========

\version "2.18.2"

melody = \relative c'' {
  % regular
  \tempo 4=120
  % using markup inside tempo
  % characters are printed in bold face
  c4 d e f
   \tempo \markup {
    \concat {
      \smaller \general-align #Y #DOWN \note #"4" #1
      " = "
      \italic ca.
      \hspace #0.25
      "120"
    }
  }
  c d e f
 
  % not using tempo to avoid bold face
  c^\markup {
    \concat {
      \smaller \general-align #Y #DOWN \note #"4" #1
      " = "
      \italic ca.
      \hspace #0.25
      "120"
    }
  }
  d e f
  c d e f
}

\score {
    \new Staff { \melody }
  \layout { }
}




_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

Attachment: tempo-approx.ily
Description: Text document

Attachment: demo-lsr-869.ly
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]