(mj: any)
| 264 | if (typeof c.latex === 'string' && c.latex.length) return c.latex; |
| 265 | const inp = c.ce; |
| 266 | const lx = (mj: any) => ce.box(mj, { canonical: false }).latex; |
| 267 | try { |
| 268 | if (inp.op === 'integrate') return `\\int ${lx(inp.mathjson)}\\,d${inp.var || 'x'}`; |
| 269 | if (inp.op === 'limit') return `\\lim_{${inp.var || 'x'} \\to ${pointLatex(inp.point)}} ${lx(inp.mathjson)}`; |