Lines Matching refs:formula
44 * @param int $size font-size for the formula
63 Detects if the formula image already exists in the $dirImg cache directory.
85 * Creates the formula image (if the image is not in the cache) and returns the <img src=...></img> html code.
87 * @param string $text the formula
105 * Creates an image for the given formula at the given place
107 * @param string $text the formula
113 $formula = new MathExpression($this->helper->tableExpression(trim($text)), $this->helper);
114 $formula->draw($this->size);
117 $v = 1000 - imagesy($formula->image) + $formula->verticalBased + 3;
119 imagepng($formula->image, $file);