X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fparser-clef.scm;h=6d46cc626cc8df1cc64743af3428bed24fc665d7;hb=38e1cad48d14f0b0f9286b4bb8891051a5f82d1e;hp=f6e0fb9b0bcc1b146c309a2564f7d7c1c6e13fd3;hpb=29640aafbf7ad7b2191813c4c16d282f15a127fd;p=lilypond.git diff --git a/scm/parser-clef.scm b/scm/parser-clef.scm index f6e0fb9b0b..6d46cc626c 100644 --- a/scm/parser-clef.scm +++ b/scm/parser-clef.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2004--2010 Han-Wen Nienhuys +;;;; Copyright (C) 2004--2012 Han-Wen Nienhuys ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License as published by @@ -74,8 +74,10 @@ ("petrucci-c5" . ("clefs.petrucci.c5" 4 0)) ("petrucci-f3" . ("clefs.petrucci.f" 0 0)) ("petrucci-f4" . ("clefs.petrucci.f" 2 0)) + ("petrucci-f5" . ("clefs.petrucci.f" 4 0)) ("petrucci-f" . ("clefs.petrucci.f" 2 0)) - ("petrucci-g" . ("clefs.petrucci.g" -2 0)))) + ("petrucci-g" . ("clefs.petrucci.g" -2 0)) + ("kievan-do" . ("clefs.kievan.do" 0 0)))) ;; "an alist mapping GLYPHNAME to the position of the middle C for ;; that symbol" @@ -102,10 +104,11 @@ ("clefs.petrucci.c4" . 0) ("clefs.petrucci.c5" . 0) ("clefs.petrucci.f" . 4) - ("clefs.petrucci.g" . -4))) + ("clefs.petrucci.g" . -4) + ("clefs.kievan.do" . 0))) (define-public (make-clef-set clef-name) - "Generate the clef setting commands for a clef with name CLEF-NAME." + "Generate the clef setting commands for a clef with name @var{clef-name}." (define (make-prop-set props) (let ((m (make-music 'PropertySet))) (map (lambda (x) (set! (ly:music-property m (car x)) (cdr x))) props) @@ -144,7 +147,8 @@ (make-music 'Music))))) (define-public (make-cue-clef-set clef-name) - "Generate the clef setting commands for a cue clef with name CLEF-NAME." + "Generate the clef setting commands for a cue clef with name +@var{clef-name}." (define (make-prop-set props) (let ((m (make-music 'PropertySet))) (map (lambda (x) (set! (ly:music-property m (car x)) (cdr x))) props) @@ -204,7 +208,8 @@ ;; a function to add new clefs at runtime (define-public (add-new-clef clef-name clef-glyph clef-position octavation c0-position) - "Append the entries for a clef symbol to supported clefs and c0-pitch-alist" + "Append the entries for a clef symbol to supported clefs and +@code{c0-pitch-alist}." (set! supported-clefs (acons clef-name (list clef-glyph clef-position octavation) supported-clefs)) (set! c0-pitch-alist