Jump to content

Printing text from right to left: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
It is possible to print text from right to left in a markup object, as demonstrated here.
It is possible to print text from right to left in a markup object, as demonstrated here.


<lilypond version="2.24.0">
<lilypond version="2.24">
{
{
   b1^\markup {
   b1^\markup {
Line 13: Line 13:
</lilypond>
</lilypond>


[[Category:Editorial annotations]]
[[Category:Text]]
[[Category:Text]]
[[Category:Editorial annotations]]
[[Category:Workaround]]
[[Category:World music]]
[[Category:World music]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Workaround]]
[[Category:Snippet]]

Latest revision as of 12:45, 12 December 2025

It is possible to print text from right to left in a markup object, as demonstrated here.

\version "2.24"

{
  b1^\markup {
    \line { i n g i r u m i m u s n o c t e }
  }
  f'_\markup {
    \override #'(text-direction . -1)
    \line { i n g i r u m i m u s n o c t e }
  }
}