[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Formatting part of a header property
From: |
David Kastrup |
Subject: |
Re: Formatting part of a header property |
Date: |
Mon, 17 Dec 2018 18:08:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Br. Samuel Springuel" <address@hidden> writes:
> I'm making use of a custom header (with custom fields) and have come
> across a situation in which I need to apply custom formatting
> (italics) to a piece of the field (just a handful of words in the
> middle). Given that the header fields are normally simple strings, is
> there a way to format part of the string without resorting to
> splitting the field up into different parts (which could then be
> independently formatted)?
>
> MWE to play with:
>
> \version "2.19.82"
>
>
> \book {
> \paper {
> indent = 0\mm
> scoreTitleMarkup = \markup {
> \fill-line {
> \null
> \fontsize #4 \bold \fromproperty #'header:custom
> }
> }
> }
> \header { tagline = ##f }
> \score {
> { s1 }
> \header {
> custom = "PRAELUDIUM I italicized text Back to normal"
> }
> }
> }
Uh, anything wrong with the obvious
custom = \markup { PRAELUDIUM I \italic { italicized text } Back to
normal }
?
--
David Kastrup
- Formatting part of a header property, Br. Samuel Springuel, 2018/12/17
- Re: Formatting part of a header property,
David Kastrup <=
- Re: Formatting part of a header property, Br. Samuel Springuel, 2018/12/17
- Re: Formatting part of a header property, Thomas Morley, 2018/12/17
- Re: Formatting part of a header property, David Kastrup, 2018/12/17
- Re: Formatting part of a header property, Thomas Morley, 2018/12/17
- Re: Formatting part of a header property, David Kastrup, 2018/12/17
- Re: Formatting part of a header property, Thomas Morley, 2018/12/17
- Re: Formatting part of a header property, David Kastrup, 2018/12/17
- Re: Formatting part of a header property, Br. Samuel Springuel, 2018/12/17