DeTeXt — Find the LaTeX Command You Want
Finding the symbol you want to use in LaTeX can be hard since you can’t memorize all the commands and packages for every symbol. DeTeXt tries to solve this problem by giving you two ways to find the command you want:
Draw the symbol you want and DeTeXt’s neural image classification engine will identify what it thinks are the 20 most likely LaTeX commands that will generate a symbol closest to the one you drew. DeTeXt supports Apple Pencil drawings on the iPad.
Search the entire symbol set of 1098 symbols from packages like tipa, amsmath, amssymb, textcomp and more, in addition to the default mathematical symbols.
DeTeXt does not collect or store any personal data or information. All processing of drawings to find the corresponding symbol happens on your device.
DeTeXt does not display any advertisements, use any trackers or analytics, or send any data to any server.
Why doesn’t the app recognize my drawings correctly sometimes?
Where is the app available?
The app is currently available on the App Store for iPhones and iPads running iOS 14 and higher.
Will there be an Apple Watch app?
Maybe. It’s one of the top things I want to do, but I haven’t figured out yet how.
Will there be a Mac app?
Maybe. I would like to make a native Mac app, rather than an iPad port. That will take time.
Will there be a Web app/Android app?
Detexify is a great web app that you can use to find the command corresponding to a LaTeX symbol. My classification engine is based on the Detexify’s training data, which they’ve made publicly available.
I will not be making this app for Android. I built this app in any free time I can get away from graduate school, and it was primarily a means for me to learn CoreML, SwiftUI and Combine. I don’t have the time nor expertise to learn new APIs to build this app for Android (nor have I ever used Android), so I will focus on updating the iOS app.
Can I see the source code?
Yes. The source code for my app is available under the MIT License.
- Fixed a bug where the bug would crash with images that were too big.
- Full coreML model is used for classification instead of quantised model. Accuracy of symbol classification should be slightly improved.
- Added tip to clear canvas by double tapping Apple Pencil(2nd generation).
- Symbols tab is renamed to search for consistency
- The list of symbols in search tab is now sorted by package name. You can also search by package name or command name. Searching by package name will show all commands from that package
- Minor visual improvements
- New icon
- Fixed the bug where drawings that were either too small or too big confused the model. The model is much more accurate over a wider range of drawing styles and sizes.
- You can copy commands to clipboard by long-pressing on a command and tapping Copy Command from the context menu.
- Accessibility labels throughout the app for images and text are much improved.
- Added feedback and tips sections in About tab.
- Fixed issue with some symbol images appearing squished or stretched.
- Changed size of symbol images to largetitle, which now means image sizes respond to Dynamic Type and are more accessible. Also added a divider between symbol image and command in drawing view.
- Added support for double tap to clear canvas with 2nd generation Apple Pencil
- Added subtle haptic feedback when detecting symbols and clearing canvas. Only works on modern iPhones (iPhone 7 and later).
- Added support for iPad multitasking.
- Initial Release.