Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoeyfyi/tex-match
Search through over 1000 different LaTeX symbols by sketching. A desktop version of detexify.
https://github.com/zoeyfyi/tex-match
computer-vision latex rust tex
Last synced: 14 days ago
JSON representation
Search through over 1000 different LaTeX symbols by sketching. A desktop version of detexify.
- Host: GitHub
- URL: https://github.com/zoeyfyi/tex-match
- Owner: zoeyfyi
- License: mit
- Created: 2020-09-03T21:01:34.000Z (about 4 years ago)
- Default Branch: trunk
- Last Pushed: 2023-01-06T05:00:54.000Z (almost 2 years ago)
- Last Synced: 2024-10-19T16:29:25.887Z (25 days ago)
- Topics: computer-vision, latex, rust, tex
- Language: C#
- Homepage: https://tex-match.zoey.fyi
- Size: 9.64 MB
- Stars: 152
- Watchers: 4
- Forks: 24
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TeX Match
Find LaTeX symbols by sketching. A desktop version of detexify
Also checkout Boop-GTK: A scriptable scratchpad for developers
What is TeX-Match? • Features • Downloads • Screenshots • Building
![Continuous integration](https://github.com/zoeyfyi/TeX-Match/workflows/Continuous%20integration/badge.svg)
![Release](https://github.com/zoeyfyi/TeX-Match/workflows/Release/badge.svg?branch=release)
[![Crates.io](https://img.shields.io/crates/v/tex-match)](https://crates.io/crates/tex-match)
[![tex-match](https://snapcraft.io//tex-match/badge.svg)](https://snapcraft.io/tex-match)
[![Flathub](https://img.shields.io/flathub/v/fyi.zoey.TeX-Match)](https://flathub.org/apps/details/fyi.zoey.TeX-Match)
![AUR version](https://img.shields.io/aur/version/tex-match?label=AUR%20tex-match)
![AUR version](https://img.shields.io/aur/version/tex-match-bin?label=AUR%20tex-match-bin)### What is TeX Match?
If you work with LaTeX, you know its difficult to memorize the names of all the symbols. TeX Match allows you to search through over 1000 different LaTeX symbols by sketching. Once you found the desired symbol you can copy it to the clipboard by clicking on the entry. TeX Match is based of [detexify](https://detexify.kirelabs.org/classify.html) and is powered by a port of the [detexify classifier](https://github.com/zoeyfyi/detexify-rust).
### Features
- Over 1000 LaTeX symbols across multiple packages (same set as detexify)
- Completely offline
- Crossplatform### Downloads
| Platform | Format | Link |
| -------- | ------ | ---- |
| Linux | Binary | [tex-match.linux.amd64](https://github.com/zoeyfyi/TeX-Match/releases/latest/download/tex-match.linux.amd64) |
| | Flatpak | [tex-match.flatpak](https://github.com/zoeyfyi/TeX-Match/releases/latest/download/tex-match.flatpak) |
| | Snap | [tex-match.snap](https://github.com/zoeyfyi/TeX-Match/releases/latest/download/tex-match.snap) |
| | AUR | [`tex-match`](https://aur.archlinux.org/packages/tex-match/) [`tex-match-bin`](https://aur.archlinux.org/packages/tex-match-bin/) |
| | Snap Store | [![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/tex-match) |
| | Flathub | [](https://flathub.org/apps/details/fyi.zoey.TeX-Match) |
| Windows | Microsoft Store | [](https://www.microsoft.com/store/apps/9nmkbc3rsks6?cid=storebadge&ocid=badge) |
| MacOS | Binary | You should really use the [detexify Mac app](https://gum.co/detexify), but if you _really_ want to: [tex-match.macos](https://github.com/zoeyfyi/TeX-Match/releases/latest/download/tex-match.macos) |### Screenshots
| Linux (Adwaita) | Linux (Adwaita-Dark) |
| :---: | :---: |
| ![Adwaita theme screenshot](screenshots/light.png) | ![Adwaita-Dark theme screenshot](screenshots/dark.png) |
| __Windows__ | |
| ![](screenshots/windows.jpg) | |### Building
#### Linux
```shell
sudo apt-get install -y libgtk-3-dev
cargo build
```#### Linux Snap
```shell
sudo apt-get install snap snapcraft
snapcraft snap
sudo snap install tex-match_1.1.0_amd64.snap
```#### Linux Flatpak
```shell
sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt-get update
sudo apt-get install flatpak
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo flatpak install -y flathub org.freedesktop.Platform//20.08 org.freedesktop.Sdk//20.08 org.freedesktop.Sdk.Extension.rust-stable//20.08
wget https://github.com/flatpak/flatpak-builder/releases/download/1.0.10/flatpak-builder-1.0.10.tar.xz && tar -xvf flatpak-builder-1.0.10.tar.xz && cd flatpak-builder-1.0.10 && ./configure --disable-documentation && make && sudo make install
sudo apt-get install python3-toml
bash flatpak/gen-sources.sh
flatpak-builder --repo=repo build-dir flatpak/fyi.zoey.TeX-Match.json
flatpak build-bundle ./repo tex-match.flatpak fyi.zoey.TeX-Match
```#### MacOS
```shell
brew install gtk+3
cargo build
```#### Windows
```powershell
cd submodules/detexify-rust
cargo build --release -Z build-std=std,panic_abort --target i686-uwp-windows-msvc
cargo build --release -Z build-std=std,panic_abort --target x86_64-uwp-windows-msvc
cd TeX-Match-Windows
MSBuild /restore .\TeX-Match\TeX-Match.sln
```