Table of contents
Package: com\tecnick\tcexam\shared
File: tce_latexrender.php line 42
Tags
- class: LatexRender This is a PHP5 class for generating images from LaTeX Formulas. This class is based on the following: LaTeX Rendering Class v0.8 (Licensed under GPL 2) Copyright (C) 2003 Benjamin Zeiss zeiss@math.uni-goettingen.de Currently the project is maintained by Steve Mayer. Please check the following Website to obtain the original source code: http://www.mayer.dial.pipex.com/tex.htm
- authors: Benjamin Zeiss,2026 Nicola Asuni
Methods
__construct()
File: tce_latexrender.php line 207
public __construct() : mixed
__destruct()
File: tce_latexrender.php line 215
public __destruct() : mixed
getErrorCode()
File: tce_latexrender.php line 437
public getErrorCode() : mixed
Tags
- returns: int error code.
getFormulaURL()
File: tce_latexrender.php line 377
public getFormulaURL(mixed $latex_formula) : mixed
Parameters
- $latex_formula : mixed: (string) formula in LaTeX format
Tags
- returns: the webserver based URL to a picture which contains the requested LaTeX formula. If anything fails, the result value is false.
getImageHeight()
File: tce_latexrender.php line 428
public getImageHeight() : mixed
Tags
- returns: image height in pixels.
getImageWidth()
File: tce_latexrender.php line 419
public getImageWidth() : mixed
Tags
- returns: image width in pixels.
setFilenamePrefix()
File: tce_latexrender.php line 343
public setFilenamePrefix(mixed $img_prefix) : mixed
Parameters
- $img_prefix : mixed: (string) filename prefix.
setFontSize()
File: tce_latexrender.php line 324
public setFontSize(mixed $font_size) : mixed
Parameters
- $font_size : mixed: (int) font size in points.
setFormulaDensity()
File: tce_latexrender.php line 288
public setFormulaDensity(mixed $formula_density) : mixed
Parameters
- $formula_density : mixed: (int) formula density.
setImageFormat()
File: tce_latexrender.php line 352
public setImageFormat(mixed $image_format) : mixed
Parameters
- $image_format : mixed: (string) image format(e.g.: png).
setLatexBlackList()
File: tce_latexrender.php line 361
public setLatexBlackList(mixed $latex_tags_blacklist) : mixed
Parameters
- $latex_tags_blacklist : mixed: (array) array of blacklisted commands.
setLatexClass()
File: tce_latexrender.php line 334
public setLatexClass(mixed $latexclass) : mixed
Install extarticle class if you wish to have smaller font sizes.
Parameters
- $latexclass : mixed: (string) LaTeX class.
setMaxHeight()
File: tce_latexrender.php line 306
public setMaxHeight(mixed $height_limit) : mixed
Parameters
- $height_limit : mixed: (string) Max image height in pixels.
setMaxLength()
File: tce_latexrender.php line 315
public setMaxLength(mixed $string_length_limit) : mixed
Parameters
- $string_length_limit : mixed: (string) max length for LaTeX string.
setMaxWidth()
File: tce_latexrender.php line 297
public setMaxWidth(mixed $width_limit) : mixed
Parameters
- $width_limit : mixed: (string) Max image width in pixels.
setPathToDvips()
File: tce_latexrender.php line 261
public setPathToDvips(mixed $dvips_path) : mixed
Parameters
- $dvips_path : mixed: (string) path to DVIPS.
setPathToImageMagicConvert()
File: tce_latexrender.php line 270
public setPathToImageMagicConvert(mixed $convert_path) : mixed
Parameters
- $convert_path : mixed: (string) path to ImageMagick convert.
setPathToImageMagicIdentify()
File: tce_latexrender.php line 279
public setPathToImageMagicIdentify(mixed $identify_path) : mixed
Parameters
- $identify_path : mixed: (string) path to ImageMagick identify.
setPathToLatex()
File: tce_latexrender.php line 252
public setPathToLatex(mixed $latex_path) : mixed
Parameters
- $latex_path : mixed: (string) path to LATEX.
setPathToPicturesDir()
File: tce_latexrender.php line 225
public setPathToPicturesDir(mixed $picture_path) : mixed
Parameters
- $picture_path : mixed: (string) absolute path to images directory.
setPathToPicturesDirHttpd()
File: tce_latexrender.php line 234
public setPathToPicturesDirHttpd(mixed $picture_path_httpd) : mixed
Parameters
- $picture_path_httpd : mixed: (string) relative path to images directory.
setPathToTempDir()
File: tce_latexrender.php line 243
public setPathToTempDir(mixed $tmp_dir) : mixed
Parameters
- $tmp_dir : mixed: (string) path to temporary directory.