lilypond-user
[Top][All Lists]
Advanced

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

Re: Bracketing part of a BassFigure


From: Simon Bailey
Subject: Re: Bracketing part of a BassFigure
Date: Thu, 17 Oct 2013 09:39:39 +0200

On Wed, Oct 16, 2013 at 11:05 PM, Daniel Rosen <address@hidden> wrote:
> \version "2.17.27"
> \figures { <6+> <[6+]> }
>
> The above produces "#6 [#6]". Is there a way for me to have JUST the sharp 
> symbol in brackets, "[#]6"?
>
> (This exact question was asked on the list a while ago 
> (http://thread.gmane.org/gmane.comp.gnu.lilypond.general/64125/focus=64139), 
> and the person who asked it was essentially told "no." However, only one 
> person responded, and so I thought I'd ask again to see if anyone else has 
> any input.)

took me three minutes:

1. read 
http://lilypond.org/doc/v2.17/Documentation/notation/figured-bass#entering-figured-bass
(found the section on markup "Any text markup can be inserted as a
figure:")
2. play around with markup commands:
<<
  \new Voice { \clef bass dis1 }
  \new FiguredBass {
    \figuremode {
     <\markup {
        \translate #'(-0.6 . 0)
        \right-align
        \bracket { \raise #0.7 { \fontsize #-5 \sharp } }
        \tiny \number 6
      } 5 7>
    }
  }
>>
3. tweak numbers to arrive at pleasant layout attached in pdf.
4. consider making above into a simple scheme function
5. discard that idea, as i don't have 30minutes to play with right now. :)

regards,
sb

-- 
Do not meddle in the affairs of trombonists, for they are subtle and
quick to anger.

Attachment: fb.pdf
Description: Adobe PDF document


reply via email to

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