{
    "mode": "man",
    "parameter": "EQN2GRAPH",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/man/EQN2GRAPH/json",
    "generated": "2026-10-22T12:59:46Z",
    "sections": {
        "Name": {
            "content": "eqn2graph - convert an eqn equation into a cropped image\n",
            "subsections": []
        },
        "Synopsis": {
            "content": "eqn2graph [-format output-format] [convert-argument ...]\n",
            "subsections": [
                {
                    "name": "eqn2graph --help",
                    "content": ""
                },
                {
                    "name": "eqn2graph -v",
                    "content": ""
                },
                {
                    "name": "eqn2graph --version",
                    "content": ""
                }
            ]
        },
        "Description": {
            "content": "eqn2graph  reads a one-line eqn(1) equation from the standard input and writes an image file,\nby default in Portable Network Graphics (PNG) format, to the standard output.\n\nThe input EQN code should not be preceded by the .EQ macro that normally precedes  it  within\ngroff(1) macros; nor do you need to have dollar-sign or other delimiters around the equation.\n\nArguments not recognized by eqn2graph are passed to the ImageMagick or GraphicsMagick program\nconvert(1).   By  specifying  these,  you can give your image a border, set the image's pixel\ndensity, or perform other useful transformations.\n\nThe output image is clipped using convert's -trim option to the  smallest  possible  bounding\nbox that contains all the black pixels.\n",
            "subsections": []
        },
        "Options": {
            "content": "--help  displays  a  usage message, while -v and --version show version information; all exit\nafterward.\n",
            "subsections": [
                {
                    "name": "-format _",
                    "content": "Write the image in output-format, which must be understood by convert; the default  is\nPNG.\n"
                }
            ]
        },
        "Environment": {
            "content": "GROFFTMPDIR\nTMPDIR\nTMP\nTEMP   These environment variables are searched in the given order to determine the directory\nwhere temporary files will be created.  If none are set, /tmp is used.\n",
            "subsections": []
        },
        "Authors": {
            "content": "eqn2graph  was  written by Eric S. Raymond, based on a recipe for pic2graph(1), by W. Richard\nStevens.\n\nSee also\npic2graph(1), grap2graph(1), eqn(1), groff(1), convert(1)\n\ngroff 1.23.0                                31 March 2024                               eqn2graph(1)",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}