#latex #tex #computer-vision #gtk #linux

app tex-match

Search through over 1000 different LaTeX symbols by sketching

5 releases (stable)

1.2.0 Dec 30, 2020
1.1.1 Dec 7, 2020
1.1.0 Nov 11, 2020
1.0.1 Sep 30, 2020
0.1.0 Sep 4, 2020

#623 in GUI

MIT license

8MB
435 lines

TeX Match

A desktop version of detexify


Continuous integration Release Crates.io tex-match Flathub

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. TeX Match is based of detexify and is powered by a port of the detexify classifier.

Features

  • Over 1000 LaTeX symbols across multiple packages (same set as detexify)
  • Completely offline
  • Crossplatform

Screenshots

Adwaita Adwaita-Dark
light dark

Get Tex Match

Linux Windows MacOS
tex-match.linux.amd64
tex-match.flatpak
tex-match.snap
Get it from the Snap Store
Download on Flathub
tex-match.windows.msi You should really use the detexify Mac app,

but if you really want to:
tex-match.macos

Check out my other project, Boop-GTK: A scriptable scratchpad for developers.

Building

Linux

sudo apt-get install -y libgtk-3-dev
cargo build

Linux Snap

sudo apt-get install snap snapcraft
snapcraft snap
sudo snap install tex-match_1.1.0_amd64.snap

Linux Flatpak

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

brew install gtk+3
cargo build

Windows

git clone https://github.com/wingtk/gvsbuild.git C:\gtk-build\github\gvsbuild
cd C:\gtk-build\github\gvsbuild; python .\build.py build -p=x64 --vs-ver=16 --msys-dir=C:\msys64 -k --enable-gi --py-wheel --py-egg gtk3 gdk-pixbuf
cargo build

Windows Installer

# follow build steps above, then:
cargo install cargo-wix 
cargo wix -v

Dependencies

~26–37MB
~530K SLoC