Giter Club home page Giter Club logo

latex-gboard-dictionary's Introduction

LaTeX Gboard Dictionary

Gboard Dictionary for easily typing unicode symbols with shortcuts based on LaTeX.

Shortcuts for Gboard are supported on all Android devices. As of now, these shortcuts cannot be imported to iOS devices.

Usage

It's as simple as typing \sum, \R, etc. on the keyboard and tapping the suggested symbol!

See dictionary.txt for a full list of supported symbols.

latex-gboard

Download

Download as a zip folder to import into Gboard

Download zip

Older versions

How to import shortcuts

Tutorial on YouTube

https://www.youtube.com/watch?v=bGWikJu37WI

Watch on YouTube

Steps as images

View steps as images
  1. Open the Gboard keyboard and tap the settings icon. You may need to tap the 3 dots if the settings icon does not appear.

image

  1. Under "Settings", select "Dictionary".

image

  1. Under "Dictionary", select "Personal dictionary".

image

  1. Select the languages you want the shortcuts to apply to. You may select "All languages" or your preferred language.

image

  1. Tap the 3 dots in the upper right.

image

  1. Select "Import" from the menu.

image

  1. Find and select the zip file using your phone's file explorer.

image

  1. All done! You should see a message "Import finished." at the bottom of your screen.

Thanks

Thanks to Abraham Murciano for helping to come up with the idea and all who contributed for making this project as useful as it can be.

Support

💖 If you like this project, give it a ⭐ and share it with friends!

Youtube Sponsor with Github

☕ Buy me a coffee

latex-gboard-dictionary's People

Contributors

547y4m avatar andrewasche avatar anshul-13j avatar arsenic-atg avatar code-aditya-14 avatar cyberflamego avatar deepshaded avatar denvercoder1 avatar eddiebergman avatar elshaek avatar eshaanagarwal avatar github-actions[bot] avatar isabellazramos avatar lachenlama avatar lord-ne avatar moulikagrawal avatar parthpanchal123 avatar pavi-ninjaac avatar pradumnasaraf avatar prahuljose avatar raideva avatar rohith1125 avatar sairamkiran9 avatar satvikdesktop avatar tarun-arora avatar vinix38 avatar xraycat avatar yash-yp avatar yugal41735 avatar zivdar001matin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

latex-gboard-dictionary's Issues

Add zodiac signs

The following zodiac and astronomy symbols can be added to the dictionary.

Please see the formatting guidelines explained in #5 to contribute!

Feel free to add one or more that are missing.

Zodiac

  • \aries: ♈︎
  • \taurus: ♉︎
  • \gemini: ♊︎
  • \cancer: ♋︎
  • \leo: ♌︎
  • \virgo: ♍︎
  • \libra: ♎︎
  • \scorpio: ♏︎
  • \sagittarius: ♐︎
  • \capricorn: ♑︎
  • \aquarius: ♒︎
  • \pisces: ♓︎

Astronomy

  • \sun:
  • \moon:
  • \mercury:
  • \venus:
  • \earth:
  • \mars:
  • \ceres:
  • \jupiter:
  • \saturn:
  • \uranus:
  • \neptune:
  • \pluto:

dictionary.txt disables while importing

When I tried to import the file, the file was disabled (or greyed). How do I resolve this?
I am using the latest beta of GBoard 9.6.13.322264815-beta-arm64-v8a

Mathematical logic proof symbols

Before submitting a PR, please read the pinned issue for instructions.

You may choose to add one or a few, to leave some for others to contribute.

A few missing symbols:

\nVDash	⊯	
\nVdash

Already added (#74, #75, #78, #83, #85):

\models	⊧	
\nequiv	≢	
\VDash	⊫	
\Vdash	⊩
\Vvdash	⊪	
\nvdash	⊬	
\vDash	⊨	
\nvDash	⊭	

Add unicode fraction symbols

The following fraction symbols are missing from the dictionary.

Please see the formatting guidelines explained in #5 to contribute!

  • ½ \frac12
  • \frac13
  • \frac23
  • ¼ \frac14
  • ¾ \frac34
  • \frac15
  • \frac25
  • \frac35
  • \frac45
  • \frac16
  • \frac56
  • \frac18
  • \frac38
  • \frac58
  • \frac78

Use release

Using a release will help people on mobile to download easily instead of going to the desktop site

Add more Unicode shortcuts

Issue

Is there a Unicode symbol you need to type often but can't access easily from Gboard?

If it doesn't already exist in the shortcuts dictionary, you can create an issue for it or add it yourself.

Notes about formatting

Gboard requires a very specific format for shortcut files to work.

image

Each line of the file containing a shortcut must have: the shortcut (ex. \sum), a single tab ( ), the symbol (ex. ), and another a single tab ( ) at the end of the line.

Note: Some editors automatically convert tabs to spaces, you can try to avoid this by copy-pasting the tabs from a different line to ensure the spacing is correct.

Shortcut guidelines

Shortcuts must be the same as the command from LaTeX or resemble the LaTeX shortcuts. If typing the symbol is complex in LaTeX, a shorter shortcut may be used as long as it is in the style of LaTeX commands.

It is at the discretion of the project maintainer to decide whether a certain shortcut should be accepted or not.

Contributing

Slashthrough characters

What about a̷b̷c̷d̷e̷f̷g̷h̷i̷j̷k̷l̷m̷n̷o̷p̷q̷r̷s̷t̷u̷v̷w̷x̷y̷z̷0̷1̷2̷3̷4̷5̷6̷7̷8̷9̷A̷B̷C̷D̷E̷D̷G̷H̷I̷J̷K̷L̷M̷N̷O̷P̷Q̷R̷S̷T̷U̷V̷W̷X̷Y̷Z̷ ?
They could be used when we "cancel" some terms of the equation.

Shortcuts containing no letters are no longer working

Issue

Recently a few symbols are no longer getting suggested by Gboard when the shortcuts are typed. The issue seems to be with shortcuts that do not contain any letters or numbers.

Affected shortcuts

_+	₊	
^+	⁺	
_-	₋	
^-	⁻	
_=	₌	
^=	⁼	
^(	⁽	
^)	⁾	
_(	₍	
_)	₎	
^→	⃗	// note: alternatives already exist -- ^to, ^\to, ^rightarrow, ^\rightarrow
^∞	᪲	// note: alternatives already exist -- ^inf, ^\inf, ^infty, ^\infty
_∞	 ͚	// note: alternatives already exist -- _inf, _\inf, _infty, _\infty

Possible solutions

A simple way to fix this would be to add new shortcuts to make these shortcuts easier to type.

Any help coming up with replacement shortcuts is appreciated.

Add QED

The following symbol can be added to the dictionary.

Please read the formatting guidelines explained in #5 to contribute!

\QED ∎

Subscript and superscript

Hello, I tried without sucess these 4 symbols: +=()
I think they are well used as subscript and superscript

Add daleth

The following symbol can be added to the dictionary.

Please read the formatting guidelines explained in #5 to contribute!

\daleth ℸ

Missing letters

There are the W's missing in fraktur and in the Double-Struck style.

Kapital mathfrak w : 𝔚
Small mathfrak w: 𝔴
Double-struck capital: 𝕎
Small: 𝕨

Add superscripts for Greek letters

Please read the formatting guidelines explained in #5 to contribute!

When submitting, you may choose to leave some symbols for others to contribute.

Before submitting a PR check:

  • There are no active pull requests for the symbol you are submitting
  • You have proper tabs between characters as explained in #5 (you can copy paste tab symbol from other lines)

Symbols to add

These are the only remaining Greek letters supporting superscript as far as I know:

^Phi	ᶲ	

Added already (#56, #59, #60):

^alpha	ᵅ	
^beta	ᵝ	
^chi	ᵡ	
^delta	ᵟ	
^gamma	ᵞ	
^iota	ᶥ	
^phi	ᵠ	
^theta	ᶿ	
^epsilon	ᵋ	

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.