denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] how to use superscripts in textual annotation directi


From: Richard Shann
Subject: Re: [Denemo-devel] how to use superscripts in textual annotation directive?
Date: Tue, 10 Jun 2014 09:29:42 +0100

On Mon, 2014-06-09 at 22:26 -0700, Lets Eat Hay wrote:
> Hi,
> I want to add roman numeral analysis symbols to my score, and I'm
> trying to use Directives > Markings > Textual Annotation to do it. But
> I can't figure out an easy way to format superscripts, such as to
> denote chord inversions.
> 
> For example, I want a roman numeral "I" with a superscript "6" (to
> represent the first inversion of the tonic chord). I've tried setting
> the annotation text to "I \super 6" and "I^6", but the text I enter
> just gets used literally.
> 
> Or is there a better way to do this than using textual annotation
> directives?

Well, I notice that if you use Notes/Rests->Markings->Text With
Positioning then you can use the paragraph sign to escape into the
markup language where \super means superscript:
That is:

A§\super 1§

I discovered this by getting up this command and using it to paste a
snippet, (View->Snippets) and then examining how it does the snippet -
it surrounds it with § .... §

The question is, is this good enough? It's a bit techie, you need to
read up LilyPond's markup language where \super is documented ...
And, can it be done with the standalone text command you were using
(this command attaches the markup to the note, which has good and bad
aspects...)

Coming shortly in Denemo is the ability to place any sort of text or
graphics on the score ... it would be a bit overkill for such simple
things as this, but for those who are not techie enough to not panic at
a backslash it could be good.

If you are reasonably techie you could create a Textual Annotation
directive, then right click go to Advanced and edit the first box to
read as you would like (that is you can just edit the markup directly).
For example, using Textual Annotation and putting "A" as the text I get

^\markup \bold \italic {"A" }

in the first ("postfix") field. This is the LilyPond syntax which you
can edit to be

^\markup \bold \italic {"A" \super "1"}

and ok that... (Or you can do the same in the LilyPond window).

I have a feeling that I haven't implemented the § .... § for doing that
directly in the command though :(

> 
> Thanks!
> 
> P.S. I've been using Denemo for just a short time, and it's extremely
> impressive so far!

Thank you! What version do you have?

Richard






reply via email to

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