Re: subscript in lyrics
On Fri 26 Apr 2024 at 20:33:26 (-0400), David Olson wrote: > As it turns out, the "bc" text needs to be in lower case for \smallCaps to > work. > > title = \markup { 539. Threshing Floor of Aruna. 1100 \smallCaps bc } > > it doesn't operate on text that's already capitalized. There's a bumper collection of markups and fonts in the Notation Reference, about two pages into §1.8.1. There, the example: \markup \smallCaps "LyricText" shows why only lowercase letters are set in small capitals. Cheers, David.
Re: subscript in lyrics
As it turns out, the "bc" text needs to be in lower case for \smallCaps to work. title = \markup { 539. Threshing Floor of Aruna. 1100 \smallCaps bc } it doesn't operate on text that's already capitalized. Thanks for the help! I never would have solved this by myself. David Olson Los Angeles - Original Message - From: "William Rehwinkel" To: "dadadharma @dslextreme.com" , "lilypond-user" Sent: Friday, April 26, 2024 3:51:32 PM Subject: Re: subscript in lyrics Dear David, You have to make the whole title a markup, in other words title = \markup { 539. Threshing Floor of Aruna. 1100 \smallCaps BC } -William On 4/26/24 18:49, David Olson wrote: > Thanks for drawing my attention to \markup > > Does \markup also work in the header? > > If I'm giving a historical date in the title and wish "BCE" to be smallCaps > > \header { > title = "539. Threshing Floor of Aruna. 1100 \markup { \smallCaps { BCE } > }." > } > > Its seems that the \markup command is not being compiled. > The PDF only prints the literal text of the command itself, including the > curly brackets. > > Thanks again for your earlier help; it works beautifully. > > David Olson > Los Angeles > > > > - Original Message - > From: "mskala" > To: "dadadharma @dslextreme.com" > Cc: "lilypond-user" > Sent: Saturday, April 20, 2024 5:59:03 PM > Subject: Re: subscript in lyrics > > On Sat, 20 Apr 2024, David Olson wrote: > >> I'm a lyric poet writing songs about science. >> >> "CO2" is three syllables and often works better than "carbon dioxide". >> >> It's acceptable even if "2" doesn't appear as a subscript (one sees this >> usage frequently), but subscript would be cool. >> >> A superscript option would be cool too. > > Easy enough to do using \markup and \sub, as in: > > << >\new Voice = melody { c'2 c'2 | c'4 bes4 f'2 | } >\new Lyrics \lyricsto melody { \lyricmode { > "ooh!" "ooh!" C O \markup { \sub { "2" } "!" } >} } >>> > > There are a number of variations possible: \super for superscript, > \normal-size-sub for subscript without making the font smaller (which > might be easier to read even if it's not standard chemistry usage), and so > on. In general, you can just break into \markup and use any of the usual > markup commands. See "Formatting text" in the Notation manual: > https://lilypond.org/doc/v2.24/Documentation/notation/formatting-text > -- William Rehwinkel - Oberlin College and Conservatory '24 will...@williamrehwinkel.net PGP key: https://ftp.williamrehwinkel.net/pubkey.txt
Re: subscript in lyrics
Dear David, You have to make the whole title a markup, in other words title = \markup { 539. Threshing Floor of Aruna. 1100 \smallCaps BC } -William On 4/26/24 18:49, David Olson wrote: Thanks for drawing my attention to \markup Does \markup also work in the header? If I'm giving a historical date in the title and wish "BCE" to be smallCaps \header { title = "539. Threshing Floor of Aruna. 1100 \markup { \smallCaps { BCE } }." } Its seems that the \markup command is not being compiled. The PDF only prints the literal text of the command itself, including the curly brackets. Thanks again for your earlier help; it works beautifully. David Olson Los Angeles - Original Message - From: "mskala" To: "dadadharma @dslextreme.com" Cc: "lilypond-user" Sent: Saturday, April 20, 2024 5:59:03 PM Subject: Re: subscript in lyrics On Sat, 20 Apr 2024, David Olson wrote: I'm a lyric poet writing songs about science. "CO2" is three syllables and often works better than "carbon dioxide". It's acceptable even if "2" doesn't appear as a subscript (one sees this usage frequently), but subscript would be cool. A superscript option would be cool too. Easy enough to do using \markup and \sub, as in: << \new Voice = melody { c'2 c'2 | c'4 bes4 f'2 | } \new Lyrics \lyricsto melody { \lyricmode { "ooh!" "ooh!" C O \markup { \sub { "2" } "!" } } } There are a number of variations possible: \super for superscript, \normal-size-sub for subscript without making the font smaller (which might be easier to read even if it's not standard chemistry usage), and so on. In general, you can just break into \markup and use any of the usual markup commands. See "Formatting text" in the Notation manual: https://lilypond.org/doc/v2.24/Documentation/notation/formatting-text -- William Rehwinkel - Oberlin College and Conservatory '24 will...@williamrehwinkel.net PGP key: https://ftp.williamrehwinkel.net/pubkey.txt OpenPGP_signature.asc Description: OpenPGP digital signature
Re: subscript in lyrics
Thanks for drawing my attention to \markup Does \markup also work in the header? If I'm giving a historical date in the title and wish "BCE" to be smallCaps \header { title = "539. Threshing Floor of Aruna. 1100 \markup { \smallCaps { BCE } }." } Its seems that the \markup command is not being compiled. The PDF only prints the literal text of the command itself, including the curly brackets. Thanks again for your earlier help; it works beautifully. David Olson Los Angeles - Original Message - From: "mskala" To: "dadadharma @dslextreme.com" Cc: "lilypond-user" Sent: Saturday, April 20, 2024 5:59:03 PM Subject: Re: subscript in lyrics On Sat, 20 Apr 2024, David Olson wrote: > I'm a lyric poet writing songs about science. > > "CO2" is three syllables and often works better than "carbon dioxide". > > It's acceptable even if "2" doesn't appear as a subscript (one sees this > usage frequently), but subscript would be cool. > > A superscript option would be cool too. Easy enough to do using \markup and \sub, as in: << \new Voice = melody { c'2 c'2 | c'4 bes4 f'2 | } \new Lyrics \lyricsto melody { \lyricmode { "ooh!" "ooh!" C O \markup { \sub { "2" } "!" } } } >> There are a number of variations possible: \super for superscript, \normal-size-sub for subscript without making the font smaller (which might be easier to read even if it's not standard chemistry usage), and so on. In general, you can just break into \markup and use any of the usual markup commands. See "Formatting text" in the Notation manual: https://lilypond.org/doc/v2.24/Documentation/notation/formatting-text -- Matthew Skala msk...@ansuz.sooke.bc.ca People before tribes. https://ansuz.sooke.bc.ca/
Re: subscript in lyrics
On Sat, 20 Apr 2024, David Olson wrote: > I'm a lyric poet writing songs about science. > > "CO2" is three syllables and often works better than "carbon dioxide". > > It's acceptable even if "2" doesn't appear as a subscript (one sees this > usage frequently), but subscript would be cool. > > A superscript option would be cool too. Easy enough to do using \markup and \sub, as in: << \new Voice = melody { c'2 c'2 | c'4 bes4 f'2 | } \new Lyrics \lyricsto melody { \lyricmode { "ooh!" "ooh!" C O \markup { \sub { "2" } "!" } } } >> There are a number of variations possible: \super for superscript, \normal-size-sub for subscript without making the font smaller (which might be easier to read even if it's not standard chemistry usage), and so on. In general, you can just break into \markup and use any of the usual markup commands. See "Formatting text" in the Notation manual: https://lilypond.org/doc/v2.24/Documentation/notation/formatting-text -- Matthew Skala msk...@ansuz.sooke.bc.ca People before tribes. https://ansuz.sooke.bc.ca/
subscript in lyrics
Hello LilyPonders, I'm a lyric poet writing songs about science. "CO2" is three syllables and often works better than "carbon dioxide". It's acceptable even if "2" doesn't appear as a subscript (one sees this usage frequently), but subscript would be cool. A superscript option would be cool too. And example of "CO2" lyrics appears below. As for LilyPond Notation Reference, I congratulate the person who chose the following example text to demonstrate divisi lyrics on the "Techniques Specific to Lyrics" page. } \new Lyrics \lyricsto "melody" { They shall not o -- ver -- come } \new Lyrics \lyricsto "melody" { We will _ } On the one hand, I don't really expect a solution to my stated problem; on the other hand, near the bottom of the page Techniques Specific to Lyrics, when I encountered the example cited above, I reacted passionately to "They shall not..." becoming "We will overcome" -- a definite sense of the Muse at work. This definite sense was perhaps the intellectual thought that paralleled my passion. Well-chosen! and Thanks for the Inspiration! David Olson === CO2 usage example (tune : Ton-y-botel, trochaic) stanzaTwo = \lyricmode { \set stanza = "2." End of Per -- mian Mass Ex -- tinc -- tion. Great -- est dy -- ing Earth has known! Lar -- gest ev -- er plume e -- rup -- tion O'er a con -- ti -- nen -- tal zone. Flood ba -- salt flows in Si -- ber -- ia last -- ed o'er a mil -- lion years; Filled the air with C O "2," a Green house gas we al -- so fear. }