[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ly:wide-char->utf-8
From: |
Johan Vromans |
Subject: |
Re: ly:wide-char->utf-8 |
Date: |
Tue, 21 Nov 2006 00:03:18 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Martial <address@hidden> writes:
> \addlyrics { \markup {"a" #(ly:export (ly:wide-char->utf-8 #x2014))"b"}}
Aha! So the trick is to use \markup.
I try to typeset the word "There's", with a decent apostrophe. This
would lead to
\markup {"There"#(ly:export (ly:wide-char->utf-8 #x2019))"s"}
This produces the word There's with a nice apostrophe, however the
spacing is wrong (slightly exaggerated it looks like "There ' s").
The spacing is right when I cut/paste the unicode character directly
in the text but this is not the way I want to do it.
-- Johan
Re: ly:wide-char->utf-8, Mats Bengtsson, 2006/11/21