Re: Removing gap in markup text when changing text color?

2024-01-03 Thread Valentin Petzel
Hello Harm, hello Matt,

One more way that might be a bit more common and concise would be

\concat { ( \with-color #green Remember }

Cheers,
Valentin


signature.asc
Description: This is a digitally signed message part.


Re: Unable to align lyric to rests (with MWE)

2024-01-03 Thread Kieren MacMillan
Aloha John,

> Here's the one I've been working on.  Maybe it's just wrong.

At the very least, it’s lazy and unclear engraving.

The convention in a case like this is something closer to the following:

\version "2.25.10"

global = {
  \time 4/4
  \key b \major
  \tempo 4=80
}

mel =  \relative c' {
  \global
  r4 << \context Voice = "melody" { \voiceOne s8 fis8 } \\ \new CueVoice { 
\voiceTwo fis8[ 8] } >> \oneVoice fis[ gis ais b] |
  gis4 dis8[ ais'~] ais4 r4 | 
}

lyrA = \lyricmode {
  and though they did hurt me so bad __
  in the fear and a
}

lyrB = \lyricmode {
  \tweak self-alignment-X #0.75 "but it's" writ -- ten in the star -- light __ _
  and ev' -- ry line on your
}
0
\score {
  \layout { indent = 0 ragged-right = ##f }
  <<
\new Staff \new Voice = "melody" << \global \mel >> 
\addlyrics \lyrA
\addlyrics \lyrB
  >>
}



Hope that helps!
Kieren.
__

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.



Re: Unable to align lyric to rests (with MWE)

2024-01-03 Thread John Helly

Mahalo.  Appreciate the advice.
J.

On 1/3/24 06:46, Kieren MacMillan wrote:

Aloha John,


Here's the one I've been working on.  Maybe it's just wrong.


At the very least, it’s lazy and unclear engraving.

The convention in a case like this is something closer to the following:

\version "2.25.10"

global = {
  \time 4/4
  \key b \major
  \tempo 4=80
}

mel =  \relative c' {
  \global
  r4 << \context Voice = "melody" { \voiceOne s8 fis8 } \\ \new 
CueVoice { \voiceTwo fis8[ 8] } >> \oneVoice fis[ gis ais b] |

  gis4 dis8[ ais'~] ais4 r4 |
}

lyrA = \lyricmode {
  and though they did hurt me so bad __
  in the fear and a
}

lyrB = \lyricmode {
  \tweak self-alignment-X #0.75 "but it's" writ -- ten in the star -- 
light __ _

  and ev' -- ry line on your
}
0
\score {
  \layout { indent = 0 ragged-right = ##f }
  <<
    \new Staff \new Voice = "melody" << \global \mel >>
    \addlyrics \lyrA
    \addlyrics \lyrB
  >>
}


Hope that helps!
Kieren.
__

My work day may look different than your work day. Please do not feel 
obligated to read or respond to this email outside of your normal 
working hours.




--
John Helly, University of California, San Diego / San Diego Supercomputer 
Center / Scripps Institution of Oceanography / 760 840 8660 mobile 
/http://www.sdsc.edu/~hellyj
ORCID ID: orcid.org/-0002-3779-0603