[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scheme markup macros
From: |
Graham Percival |
Subject: |
Re: scheme markup macros |
Date: |
Wed, 11 May 2005 03:55:13 -0700 |
On 11-May-05, at 2:42 AM, Nicolas Sceaux wrote:
{
\tempoMark \markup Allegro
c'
}
You can not get rid of the explicit "\markup", though.
As long as you only want text you can; use a (string?)
\version "2.5.23"
\layout {
\context { \Score \remove "Mark_engraver" }
\context { \Staff \consists "Mark_engraver" }
}
tempoMark = #(def-music-function (parser location markp) (string?)
#{ \once \override Staff . RehearsalMark
#'self-alignment-X = #-1
\once \override Staff . RehearsalMark
#'no-spacing-rods = ##t
%% eventually, some other overrides here
\mark \markup { \bold \italic $markp } #})
{
\tempoMark #"foo"
c'
}
I like this solution a lot better than my old one; thanks!
- Graham