equ

command module
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 18 Imported by: 0

README

darwin-light

darwin-dark

Darwin(macOS) Sequoia 15.0

linux-light

linux-dark

Linux Mate 1.26.0

windows-light

windows-dark

Windows 11

Go Reference

LiberaPay receives patrons

Documentation

Overview

Command equ is a Plain TeX math editor.

Installation

$ go install modernc.org/equ@latest

Usage

$ equ [flags] [tex]

Option flags

-dark   Use Azure dark theme. The default is Azure light.
-dpi float
        Dots Per Inch density, [72, 600]. Defaults to 300.
-g      Use GUI.
-h int
        Height in pixels. Overrides -dpi and -w. Ignored in GUI mode.
-help
        Get CLI flags info.
-i      Inline math, defaults to display (paragraph) math. Ignored in GUI mode.
-o string
        Output file name. Defaults to stdout for piping in CLI mode.
-w int
        Width in pixels. Overrides -dpi and -h. Ignored in GUI mode.

Examples

$ equ -dpi 135 '\sum_{k=1}^n k^2 = {1 \over 2} n (n+1).' > some.png
$ equ -o some.png '\sum_{k=1}^n k^2 = {1 \over 2} n (n+1).'
$ equ -g '\sum_{k=1}^n k^2 = {1 \over 2} n (n+1).' &
$ equ -g &

Jump to

Keyboard shortcuts

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