Compose key

From The Toaq Wiki
Revision as of 12:30, 13 April 2025 by Laqme (talk | contribs) (height)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To input Toaq, you can set up a compose key on your computer, which will change the behavior of one of the keys on your keyboard to "compose" the next two keypresses into one character — for example CapsLock ' a becomes á.

On Linux, this might not even involve installing anything! Look for "compose key" plus your distro name. On Windows, WinCompose is pretty good.

Here's how to type Toaq-specific characters in the default ruleset. Compose means whatever key you have picked as your compose key (probably CapsLock or AltGr).

Character Combo
rising tone Compose ' vowel
glottal tone Compose " vowel
hiatus tone Compose ^ vowel
dotless i (ı) Compose . i
left quote («) Compose < <
right quote (») Compose > >

Then there are these supplemental definitions. WinCompose provides them by default; on Linux you’re going to have to add them yourself one-by-one or by sourcing [1]. That said you might not find them very convenient to type.

Character Combo
Compose V & Y
Compose v & y
combining underdot (like in ı̣) Compose \ !
"proper" ạ́ Compose ! a Compose \ '

You can edit ~/.XCompose and add your own combos as follows. If using WinCompose, the file is at C:\Users\yourname\.XCompose.

<Multi_key> <v> <y> : "ꝡ"
<Multi_key> <V> <Y> : "Ꝡ"

# g for glottal, easier than "
<Multi_key> <g> <a> : "ä"
<Multi_key> <g> <e> : "ë"
<Multi_key> <g> <i> : "ï"
<Multi_key> <g> <o> : "ö"
<Multi_key> <g> <u> : "ü"
<Multi_key> <G> <A> : "Ä"
<Multi_key> <G> <E> : "Ë"
<Multi_key> <G> <I> : "Ï"
<Multi_key> <G> <O> : "Ö"
<Multi_key> <G> <U> : "Ü"

# h for hiatus, easier than ^
<Multi_key> <h> <a> : "â"
<Multi_key> <h> <e> : "ê"
<Multi_key> <h> <i> : "î"
<Multi_key> <h> <o> : "ô"
<Multi_key> <h> <u> : "û"
<Multi_key> <H> <A> : "Â"
<Multi_key> <H> <E> : "Ê"
<Multi_key> <H> <I> : "Î"
<Multi_key> <H> <O> : "Ô"
<Multi_key> <H> <U> : "Û"

# 1234 for underdot+tone
<Multi_key> <1> <a> : "ạ"
<Multi_key> <1> <e> : "ẹ"
<Multi_key> <1> <i> : "ı̣"
<Multi_key> <1> <o> : "ọ"
<Multi_key> <1> <u> : "ụ"
<Multi_key> <1> <A> : "Ạ"
<Multi_key> <1> <E> : "Ẹ"
<Multi_key> <1> <I> : "Ị"
<Multi_key> <1> <O> : "Ọ"
<Multi_key> <1> <U> : "Ụ"

<Multi_key> <2> <a> : "ạ́"
<Multi_key> <2> <e> : "ẹ́"
<Multi_key> <2> <i> : "ị́"
<Multi_key> <2> <o> : "ọ́"
<Multi_key> <2> <u> : "ụ́"
<Multi_key> <2> <A> : "Ạ́"
<Multi_key> <2> <E> : "Ẹ́"
<Multi_key> <2> <I> : "Ị́"
<Multi_key> <2> <O> : "Ọ́"
<Multi_key> <2> <U> : "Ụ́"

<Multi_key> <3> <a> : "ạ̈"
<Multi_key> <3> <e> : "ẹ̈"
<Multi_key> <3> <i> : "ị̈"
<Multi_key> <3> <o> : "ọ̈"
<Multi_key> <3> <u> : "ụ̈"
<Multi_key> <3> <A> : "Ạ̈"
<Multi_key> <3> <E> : "Ẹ̈"
<Multi_key> <3> <I> : "Ị̈"
<Multi_key> <3> <O> : "Ọ̈"
<Multi_key> <3> <U> : "Ụ̈"

<Multi_key> <4> <a> : "ậ"
<Multi_key> <4> <e> : "ệ"
<Multi_key> <4> <i> : "ị̂"
<Multi_key> <4> <o> : "ộ"
<Multi_key> <4> <u> : "ụ̂"
<Multi_key> <4> <A> : "Ậ"
<Multi_key> <4> <E> : "Ệ"
<Multi_key> <4> <I> : "Ị̂"
<Multi_key> <4> <O> : "Ộ"
<Multi_key> <4> <U> : "Ụ̂"

See also