---
name: "texgd"
section: "1"
platform: "linux"
package: "texgd"
version: "3.62-13.1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/texgd"
---

# texgd(1)

utility to convert short TeX formulas to PNG graphics

## NAME

texgd - utility to convert short TeX formulas to PNG graphics

## SYNOPSIS

**texgd**

## DESCRIPTION

This manual page was written for the Debian distribution because the original program does not have a manual page.

**texgd** is a program that converts short TeX formulas to PNG graphics.

**texgd** is entirely driven by the following environment variables:

## ENVIRONMENT VARIABLES

- **texgd\_src**

  is the variable containing the TeX formula to translate.

- **texgd\_tmpdir**

  is the name of the writable directory where texgd will generate  temporary files.

- **texgd\_fontdir**

  is the name of a the writable directory where texgd can  generate font files by invoking Metafont. These files are not erased when texgd stops.

- **texgd\_outfile**

  is the name of the PNG file that texgd will generate.

- **texgd\_texheader**

  is the name of a TeX file to be prepended before the formula.

- **texgd\_style**

  is a string meaning the style of the formula. Useful values are formulas. In fully rendered formulas, there are many levels of  font sizes for intricated subscripts or exponents, and for embedded subformulas.

- **texgd\_density**

  is a parameter which allows to specify the number of pixels to use in order to render fonts. A useful value is 1.

- **texgd\_compressratio**

  is a parameter indicating the compression ratio to be used when  generating the PNG file. A useful value is '3'.

## SEE ALSO

/usr/share/doc/texgd/examples/ : launch the example.sh script,  then type 'display /tmp/example.png'

## AUTHOR

This manual page was written by Georges Khaznadar \<georgesk@ofset.org\>, for the Debian GNU/Linux system (but may be used by others).
