lilypond-user
[Top][All Lists]
Advanced

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

Creating markup macros


From: Paul Scott
Subject: Creating markup macros
Date: Fri, 26 Nov 2004 13:36:56 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

I'm trying to learn to create markup (and other) macros. This is my current code to simply produce \markup{ \number 1 }. I want it eventually to use numerator and denominator to work for the current meter. Can someone give me some hints as to what this simple version is missing or documentation I may not have found yet? I have read "8.2 Markup programmer interface" and the Scheme Tutorial.

#(def-markup-command (restOne layout props)
 (interpret-markup layout props
  (markup #:number #1)))

rOne = { R1^\restOne }

\score{ \rOne }

TIA,

Paul Scott





reply via email to

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