Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Moodle - Filter for converting TeX expressions to cached gif images This Moodle text filter converts TeX expressions delimited by either $$...$$ or by <tex...>...</tex> tags to gif images using mimetex.cgi obtained from http: *www.forkosh.com/mimetex.html authored by John Forkosh john@forkosh.com.  Several binaries of this areincluded with this distribution. Note that there may be patent restrictions on the production of gif images in Canada and some parts of Western Europe and Japan until July 2004.

Copyright: 2004 Zbigniew Fiedorowicz fiedorow@math.ohio-state.edu
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 216 lines (9 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

filter_tex:: (1 method):
  filter()

Defines 1 function


Class: filter_tex  - X-Ref

TeX filtering class.

filter($text, array $options = array()   X-Ref
No description

Functions that are not part of a class:

filter_text_image($imagefile, $tex, $height, $width, $align, $alt)   X-Ref
Create TeX image link.

param: string $imagefile name of file
param: string $tex TeX notation (html entities already decoded)
param: int $height O means automatic
param: int $width O means automatic
param: string $align
param: string $alt
return: string HTML markup