lilypond-user
[Top][All Lists]
Advanced

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

how to get markup formatting to survive a font-name change


From: Kieren MacMillan
Subject: how to get markup formatting to survive a font-name change
Date: Wed, 19 Apr 2017 22:02:11 -0400

Hello all,

In the snippet, below, the font-name override kills the \italic as set in the 
\header.
Is there any way to avoid that [without having to hack the title into two 
separate functions/parameters]?

Thanks,
Kieren.

%%%  SNIPPET BEGINS
\version "2.19.59"

\paper {
  bookTitleMarkup = ##f
  scoreTitleMarkup = \markup {
    \override #'(font-name . "Minion Pro")
    \fromproperty #'header:title
  }
}

\header {
  title = \markup { "SATB chorus" \italic "a cappella" }
}

\new Devnull s1
%%%  SNIPPET ENDS

________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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