Ask Your Question

How do I make a keyboard shortcut for special characters?

asked 2016-01-29 18:50:31 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm taking several courses that require the use of IPA extensions. I'm really tired of going to special characters every time I need an engma (ŋ).

edit retag flag offensive close merge delete

7 Answers

Sort by » oldest newest most voted

answered 2016-08-06 14:45:07 +0200

RGB-es gravatar image

Since 5.1 (I think) it is possible to quickly insert any character by it's unicode ID. For example, the ŋ character is U+014B so in your document just type "014b" (without quotes) and then press Alt-X. You can see the unicode ID on the insert special character dialogue.

In order to get simpler shortcuts to special characters you need to use macros. There was an extension called "compose special character" or something like that, but I think is not maintained any more and in fact I cannot find it on the extensions site.

edit flag offensive delete link more


Slow. OP's asking for something quick.

mrodent gravatar imagemrodent ( 2020-01-19 13:23:55 +0200 )edit

answered 2016-08-06 15:09:15 +0200

paul1149 gravatar image

If you have characters you use frequently, the easiest way may be to simply map an autocorrect word completion. Something like :n: could be a trigger. This wouldn't clog up the normal keyboard shortcuts, and I would think memorization would be easier.

edit flag offensive delete link more


3 letters for each symbol? "Clog up"?? Really...? If that really were an issue, there's always the option of loading different keyboard customisations (see my answer).

mrodent gravatar imagemrodent ( 2020-01-19 13:47:06 +0200 )edit

answered 2020-01-20 00:59:39 +0200

Sidewinder gravatar image

OK, you want to use IPA fonts. If you are a Windows user (if not, sorry), you may want to install SIL IPA fonts and Keyman Desktop.

(Choose 'Latin, Greek, and Cyrillic Fonts', Charis SIL, or Doulos SIL)

edit flag offensive delete link more

answered 2020-01-19 13:44:38 +0200

mrodent gravatar image

updated 2020-01-19 13:51:39 +0200

The OP is clearly seeking a one-keystroke solution.

The simplest way to do what the OP wants is the most obvious: record a macro inserting a symbol, then set a key combo under Tools --> Customise.

I assume you have installed an IPA font, as your example, engma, seems usually to be absent from the small section of "IPA extensions" for general-purpose fonts.

Alt+key or Alt-Shift-key are probably going be a pretty good choice, the only problem then being that that can then interfere with selecting menus if, like me, you are dedicated keyboard user and hate having to use the mouse.

NB customisation is universal (i.e. you can't have it just for one document, or say one template), but it is possible to save and load customisation configurations under Tools --> Customise --> Keyboard ... so you could load a specific set of IPA hotkeys if you knew you were going to be working on an IPA-heavy document, and then go back to another configuration when finished.

edit flag offensive delete link more


The single application case will require to press one key and some modifiers. The time saved within a year this way as compared with hitting five keys per single insertion may not pay for the time needed to record macros and to customize...
At the time of the original question there was no exectly satisfying solution, but now the input of 4 Hex digits and a subsequent Alt+X (probably locale dependent) should mostly be satisfying.
The engma e.g. which was mentioned in the OQ would be 014bAlt+X(lower) then. (And you can toggle the representation for the character in front of the insertion cursor to learn its unicode in Hex).

Lupp gravatar imageLupp ( 2020-01-19 14:52:39 +0200 )edit

answered 2016-08-04 18:51:46 +0200

petermau gravatar image

The accents and special characters available directly on the keyboard are dependant on the operating system definition. On my system Alt Gr g and G become ŋ and Ŋ. What language keyboard are you using or have you defined? On some keyboards, for example English (GB) extended, French, German, Swiss for example, ŋ and Ŋ are defined using the right Alt Gr key. g becomes ŋ, G Ŋ, and a number of European accented characters are available. American has some accents but not ŋ nor Ŋ. It is worth exploring the keys already directly available or could be available.

edit flag offensive delete link more


Wheee! These Alt Grs come up with some funny combos all right! But the OP has (I assume) installed an IPA font ... the question is how to use this, and the answer is quite simple (see my answer)

mrodent gravatar imagemrodent ( 2020-01-19 13:49:52 +0200 )edit

answered 2016-08-04 13:12:31 +0200

pokidoki gravatar image

On Windows you could use autohotkey, or "c't active aid" which allows to set keystroke patterns (such as "en#" which then immediately replaces the pattern by the special character you need).

On Apple there are also some shortcut apps, however, the Keyboard preferences has a "Text" section, which offers the same functionality as described before.

A third way may be to use AutoReplace in LibreOffice, or AutoText, which I use to insert large text templates and tables.

edit flag offensive delete link more

answered 2017-02-23 05:13:06 +0200

The main point is to get Libre, at least on the Mac, to do what nearly every other program can do, which is to press and hold the letter you want, a table with the French accents associated with that letter pops up, and choose the right accent with the arrow keys or the number listed with the accent. Far faster and more intuitive than the Microsoft-like table Libre seems to rely on. Come on, Libre, step to Apple standards on this one and get this fixed!

edit flag offensive delete link more


Unfortunately I can't yet downvote. Inherently slow. The OP is asking for something quick.

mrodent gravatar imagemrodent ( 2020-01-19 13:22:57 +0200 )edit

Look. Not only did you not answer the question, there is literally nothing whatsoever intuitive about this suggestion. You know what's the intuitive result of holding the N key down? A line of Ns.

The copy of Office that my dad copied onto our Windows XP from his old Windows 98 back in 2001... that old thing was able to type the French accents faster than what you're saying. I know that because I actually did French in gradeschool. All you had to know was that you hold Ctrl while typing the accent you want, and then you'd get that accent on the next letter you typed. Ctrl-', then a. What do you get? "á". Ctrl-', A? Á. Three guesses what Ctrl-', o would get you. What about Ctrl-~, n? I bet you can guess what those give you too, because that's an intuitive system.

Having ...(more)

SvenrykHauser gravatar imageSvenrykHauser ( 2020-09-24 20:14:00 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-01-29 18:50:31 +0200

Seen: 6,506 times

Last updated: Jan 20 '20