Skip to content

zoeyfyi/TeX-Match

Repository files navigation

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?FeaturesDownloadsScreenshotsBuilding


Continuous integration Release Crates.io tex-match Flathub AUR version AUR version

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 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

Downloads

Platform Format Link
Linux Binary tex-match.linux.amd64
Flatpak tex-match.flatpak
Snap tex-match.snap
AUR tex-match
tex-match-bin
Snap Store Get it from the Snap Store
Flathub Download on Flathub
Windows Microsoft Store English badge
MacOS Binary You should really use the detexify Mac app, but if you really want to: tex-match.macos

Screenshots

Linux (Adwaita) Linux (Adwaita-Dark)
Adwaita theme screenshot Adwaita-Dark theme screenshot
Windows

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

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