[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: With \markup { \score { can I separately control the score size?
From: |
David Kastrup |
Subject: |
Re: With \markup { \score { can I separately control the score size? |
Date: |
Sun, 29 Jun 2014 16:17:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> \version "2.19.8"
>
> mySize =
> #(define-scheme-function (parser location nmbr score) (number? ly:score?)
> (markup #:scale (cons nmbr nmbr) #:score score))
>
> \mySize #.5
> \score {
> c''1
> \layout {} %% needed even with 2.19.8
Because the implicit \layout {} is squeezed in at a syntactical level.
> }
You can get away without it by letting the parser deal with the score markup:
\version "2.19.7"
mySize =
#(define-scheme-function (parser location nmbr score) (number? ly:score?)
#{ \markup \scale #(cons nmbr nmbr) \score { #score } #})
\mySize #.5
\score {
c''1
}
--
David Kastrup
- With \markup { \score { can I separately control the score size?, Richard Shann, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Pierre Perol-Schneider, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Richard Shann, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Pierre Perol-Schneider, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, David Kastrup, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, David Nalesnik, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Pierre Perol-Schneider, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Thomas Morley, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Pierre Perol-Schneider, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?,
David Kastrup <=
- Re: With \markup { \score { can I separately control the score size?, Pierre Perol-Schneider, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Paul Morris, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Pierre Perol-Schneider, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Paul Morris, 2014/06/30
- Re: With \markup { \score { can I separately control the score size?, Thomas Morley, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Simon Albrecht, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Paul Morris, 2014/06/30
- Re: With \markup { \score { can I separately control the score size?, David Kastrup, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Pierre Perol-Schneider, 2014/06/29
- Re: With \markup { \score { can I separately control the score size?, Pierre Perol-Schneider, 2014/06/29