lilypond-user
[Top][All Lists]
Advanced

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

Re: Superscript in \markup environment


From: Thomas Morley
Subject: Re: Superscript in \markup environment
Date: Fri, 5 Feb 2016 20:18:59 +0100

2016-02-05 19:53 GMT+01:00 Robert Blackstone <address@hidden>:
> Dear list
>
> The LilyPond-project that I'm presently working on deals with some 40 songs, 
> voice and a keyboard instrument, with comments and explanations underneath 
> each score, some with small musical examples.
> In these comments I would like interval names like 5ths and 8ves to be 
> written with "ths" and "ves" as superscript, but up till now none of super 
> scrip t possibilities I found   in the LilyPond Notation Reference worked in 
> the \markup -part of the file. They sometimes even made the whole comment 
> disappear.

You could have added what exactly you tried already.

>
>  See the MWE below. (not so minimal, my apologies).

Why adding music, when you ask about toplevel markup?

> What can I do to get these superscripts?

Some possibilities:

\version "2.18.2"

\markup
  \column {
    \line {
      "text before" \concat { "5" \super "ths"} "text after"
    }

    \line {
      "text before" \concat { "5" \fontsize #-4 \raise #0.6 "ths" } "text after"
    }
  }


Cheers,
  Harm



reply via email to

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