7

I want to conveniently enter Unicode symbols such as greek letters μ, ξ, ... and mathematical symbols such as ∀, ∃, ...

Using the character map is not convenient.

I would prefer to enter something like \delta and have it converted to δ by pressing TAB or any other key similar to many LaTeX editors.

The background is, that I want to use eclipse for editing Julia code. But being able to do this with the operating system is better than making eclipse do that.

Autokey-gtk seems to do what I want. But I cant get it to run. Crashes each time an event is triggered.

Christian
  • 292
  • 5
  • 18
  • 1
    If you use Atom, there is https://github.com/JunoLab/atom-latex-completions. – edwinksl May 31 '17 at 21:47
  • It should be possible to replace the unicode number in `/usr/share/X11/locale/en_US.UTF-8/Compose` with the latex command. (One day I'm going to try.) – Primo Petri Jun 02 '17 at 15:09
  • 1
    Not sure, but I guess the events in that file are all like this one: . So Composite key and exactly 2 other keys. – Christian Jun 05 '17 at 20:28
  • If you want to set up something with `xdotool`, [my answer here](https://askubuntu.com/q/591686/301745) could be useful – wjandrea Feb 25 '19 at 01:28
  • @Kalle With the Compose key, you press Compose, then other keys in sequence, not at the same time. – wjandrea Feb 25 '19 at 01:29
  • You know about `ctrl+shift+u+UNICODE`, eg `UNICODE=03B4` will give `δ`. IME, unfortunately, for shortcuts for unicode entry it matters what WM you're using and which apps you want to enter the data in to: might want to look at `xim` and maybe at `ibus-setup` (used to set the control sequence for entering unicode code points). Using AltGr/Compose is also handy. – pbhj Feb 27 '19 at 20:06
  • in [KDE you can set a compose sequence](https://userbase.kde.org/Tutorials/ComposeKey) to enter any unicode symbol – pbhj Feb 27 '19 at 20:16
  • Not sure if this will help but Texlipse is a Latex editor for Eclipse https://projects.eclipse.org/projects/science.texlipse – Katu Mar 01 '19 at 09:33

1 Answers1

4

If you use Visual Studio Code, install latex-input extension.

It works as following:

enter image description here

Ping Chu Hung
  • 892
  • 4
  • 11