Thanks for your patience.

No not at all. I'm not at all trying to replace the inter-syllable hyphen
with emdash.

My lyrics comes from this verse:

Må det väckta sinnet – värdefullt, sublimt –
> vakna hos dem där det ännu ej har väckts
> aldrig falna där det redan vaknat har
> utan ständigt växa i all evig tid.


The en-dashes are *between words* in the verse (see the first line)

As described in the wikipedia article on Dash:

Like em dashes, en dashes can be used instead of colons, or pairs of commas
> that mark off a nested clause or phrase. They can also be used around
> parenthetical expressions – such as this one – in place of the em dashes
> preferred by some publishers, particularly where short columns are used,
> since em dashes can look awkward at the end of a line. See En dash versus
> em dash <http://en.wikipedia.org/wiki/Dash#En_dash_versus_em_dash>, below.
> In these situations, en dashes must have a single space on each side.

So, I want to keep the en-dashes in the typeset lyrics, but I do not want
them to be matched to any notes, but rather have them occupy the space *between
the words*, and *under the space* between the notes.

/Peter


On Sun, Oct 16, 2011 at 22:42, Kieren MacMillan <
[email protected]> wrote:

> Hi Peter,
>
> Are you simply trying to replace Lilypond's inter-syllable hyphen with an
> emdash? If so, just override it directly:
>
> \version "2.15.14"
> \paper { ragged-right = ##f }
> MD = {
>  \once \override LyricHyphen #'stencil = #ly:text-interface::print
>  \once \override LyricHyphen #'text = "—"
>  \once \override LyricHyphen #'X-offset = #4.5
> }
> theNotes = \relative c' { c4 c c c c c c c }
> theWords = \lyricmode { Nor -- mal \MD re -- placed nor -- mal nor -- mal }
> \score {
>  <<
>    \new Staff \theNotes
>    \addlyrics \theWords
>  >>
> }
>
> Anyway, this should give you some ideas and point you in the right
> direction.
> (n.b., There's probably a more elegant way than the manual X-offset, but I
> don't have time to work it out right now.)
>
> Hope this helps!
> Kieren.




-- 
Peter Olin
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to