mtex-render

command module
v0.0.0-...-5c1ce85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: BSD-3-Clause Imports: 39 Imported by: 0

README

mtex-render

mtex-render is a simple command that renders a LaTeX equation to a PDF or PNG document:

$> mtex-render -h
Usage of mtex-render:
  -dpi float
    	dots-per-inch to use (default 72)
  -font-size float
    	font size to use (default 12)
  -gui
    	enable GUI mode
  -o string
    	path to output file (default "out.png")

$> mtex-render -dpi 250 -font-size 42 -o foo.png "$\frac{2\pi}{\sqrt{x+\partial x}}$"

img-cli

GUI

mtex-render also provides a Gio-based GUI:

$> mtex-render -gui

img-gui

Documentation

Overview

Command mtex-render renders a LaTeX math expression to a PNG, PDF, ... file.

Example:

$> mtex-render "\$\\sqrt{x}\$"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL