* Get LaTeX representation. (wrapper function) * * This function can get an object of the following form: * { * handler: //This can be a callback function of the form * // "function callback(node, options)"or * // a map that maps function name
(options)
| 325 | * @return {string} |
| 326 | */ |
| 327 | toTex (options) { |
| 328 | const customString = this._getCustomString(options) |
| 329 | |
| 330 | if (typeof customString !== 'undefined') { |
| 331 | return customString |
| 332 | } |
| 333 | |
| 334 | return this._toTex(options) |
| 335 | } |
| 336 | |
| 337 | /** |
| 338 | * Internal function to generate the LaTeX output. |
nothing calls this directly
no test coverage detected