lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a quote to lyrics


From: David Wright
Subject: Re: Adding a quote to lyrics
Date: Sun, 12 Sep 2021 23:59:49 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Sun 12 Sep 2021 at 23:07:35 (+0200), David Kastrup wrote:
> Jean Abou Samra <jean@abou-samra.fr> writes:
> > Le 12/09/2021 à 02:32, Kira Garvie a écrit :
> >> Following up on this question from thursday, how do I insert the
> >> curly quotes? I copied them from your email but would like to know
> >> how to do them myself!
> >
> > The one thing that changed my computer life as a
> > French speaker trying to type ÉÀŒÇ is a Compose key.
> > The concept is simple: press Compose, then some
> > sequence of characters that is recognized as an input
> > method for a special character. This is much easier
> > to remember than Unicode code points.

Absolutely. This is straightforward in X windows, eg Debian uses the
files /etc/console-setup/remap.inc (for this and other facilities in
consoles and X) and ~/.XCompose (for X alone).

It might be worth consulting
https://en.wikipedia.org/wiki/Compose_key
on other platforms, unless people here have better suggestions.

> > Examples:

[ … ]

Yes, and I cut and paste a lot of mine from the rather comprehensive
https://cgit.freedesktop.org/xorg/lib/libX11/plain/nls/en_US.UTF-8/Compose.pre
though I have a few extras of my own.

> Not to mention:
> 
> Compose # # → ♯
> Compose # b → ♭
> Compose # f → ♮
> 
> Unfortunately I don't see combinations for double accidentals or a lot
> of other musical symbols on my computer.  But those already help a lot.

I just make them up. Examples from my ~/.XCompose are:

<Multi_key> <numbersign> <d> <b>        : "𝄫"   U1d12b # MUSICAL SYMBOL DOUBLE 
FLAT
<Multi_key> <numbersign> <d> <s>        : "𝄪"   U1d12a # MUSICAL SYMBOL DOUBLE 
SHARP
<Multi_key> <asciicircum> <minus>       : "‿"   U203f # UNDERTIE
<Multi_key> <s> <x>                     : "✄"   U2704 # WHITE SCISSORS

One limitation is that triple combinations (like the double
accidentals here) don't work in remap.inc (ie, on the console),
so I'd have to define double combinations if I wanted to type
such characters there. However, I really only do system maintenance
outside X windows.

Cheers,
David.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]