---
name: "eqn2img"
section: "1"
platform: "linux"
package: "gladtex"
version: "1.4.2-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/eqn2img"
---

# eqn2img(1)

read equation from stdin and generate image using LaTeX

## Name

eqn2img - read equation from stdin and generate image using LaTeX

## SYNOPSIS

**eqn2img** \[*OPTION*\]...

## DESCRIPTION

The program reads a LaTeX maths string from standard input (stdin). The generated image written to stdout unless a filename is specified with the -o option. Run eqn2img with -f ? to list supported image formats.

This program is part of GladTeX.

- **-o** Finame

  output filename

- **-v**

  print verbose information

- **-f** *format*

  store images in 'format' (png by default)

- **-s** *n*

  set oversampling factor for antialiasing to 'n' (4 by default)

- **-r** *dpi*

  set output resolution to 'dpi' dots per inch

- **-p** *string*

  add 'string' to LaTeX preamble (e.g. sepackage{...})

- **-e** *env*

  embed equation in \\begin{env}..\\end{env} (e.g. -e 'align\*')

- **-c** *colour*

  set foreground RGB colour (000000 by default)

- **-b** *colour*

  set background RGB colour (A0A0A0 by default, ignored for png)

- **-t**

  turn transparency OFF

## About This Manual Page

This manual page is (C) 2014 Sebastian Humenda \<shumenda@gmx.de\>. It is licensed under the same license as the program. See file COPYING for details.
