Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't offer subscript/superscript of digits and latin letters #28

Open
yurivict opened this issue May 22, 2018 · 6 comments
Open

Doesn't offer subscript/superscript of digits and latin letters #28

yurivict opened this issue May 22, 2018 · 6 comments

Comments

@yurivict
Copy link

Subscript pseudoalphabet: ₛᵤbₛcᵣᵢₚₜ
Superscript pseudoalphabet: ˢᵘᵇˢᶜʳⁱᵖᵗ
@salty-horse
Copy link
Owner

I'm not convinced this is a welcome feature, as this project is trying to focus on emoji and specific symbols.

Adding whole alphabets (in this case, there are superscript latin letters + digits + other symbols) seems messy, as the current ibus input method isn't really comfortable for writing text, but instead for inputting one character at a time.

What's your use-case?

@yurivict
Copy link
Author

yurivict commented May 22, 2018

My use case: I tried to type in a chemical formula, and had to search the internet for "subscript 2" to enter carbon dioxide. It is just one character at a time for chemical formulas.

They aren't used as an alphabet. They are normally used rarely, as part of some math or chemical formulas, or to enter some crafted strings.

@AstraLuma
Copy link

Both Gnome and KDE ship with a character map.

@yurivict
Copy link
Author

Both Gnome and KDE ship with a character map.

I don't use Gnome and KDE. There should be a simple low-level way to enter characters by name, and ibus-uniemoji seems to be the way.

@salty-horse
Copy link
Owner

This requires some code changes, and involves specifying all characters manually.
ATM, the code only collects characters that fit within a list of specified ranges, AND are of a specific type.
Specifically, it ignores digits and letters, because there are too many of those :) It already includes some of the ranges for subscript and superscript characters, but collects only a few subscript/superscript symbols.

Still not convinced this is useful for the majority of users, but I'll think about it.

In the meantime, you're welcome to add any characters you wish to the custom settings file. (See the README for instructions)

@Fuseteam
Copy link
Contributor

Fuseteam commented Jun 20, 2018

i wonder if this could be implemented using (custom) compose key sequences [cks]
for reference:https://cgit.freedesktop.org/xorg/lib/libX11/plain/nls/en_US.UTF-8/Compose.pre
for easy access ₀₁₂₃₄₅₆₇₈₉ can be written with _#
⁰¹²³⁴⁵⁶⁷⁸⁹ can be written with ^#
where # is the number
^_(letter) can be used to write ª ʰ ⁱ ʲ ˡ ⁿ º ʳ ˢ ʷ ˣ ʸ hmm guess not the whole alphabet but almost half of it
where ª and º are different than ᵃ and ᵒ in unicode
ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ᵏ ᵐ ᵖ ᵗ ᵘ ᵛ ᶻ would need to be added as a custom cks while super script q doesn't exist in unicode others like the capital superscript ᴬ ᴮ ᴰ ᴱ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴼ ᴾ ᴿ ᵀ ᵁ ⱽ ᵂ and the lower case subscript ₐ ₑ ₕ ᵢ ⱼ ₖ ₗ ₘ ₙ ₒ ₚ ᵣ ₛ ₜ ᵤ ᵥ ₓ ,neither of which are "complete" in unicode, would also need to be added as a custom cks meanwhile capital subscript doesn't even seem to exist in unicode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants