 
 text = (s) ->
     "\\text{#{s}}"
-
 
 toLaTeX = modifies isExpression, destructured (expr, op, l, r, fractions=yes) ->
     isFraction = fractions and op is '/'

        else
            ops = ' '

    if not isFraction and (hasPrecedence expr, l) > 0
        ls = parens ls

    if op is '^'
        rs = braces rs
    else if not isFraction and (hasPrecedence expr, r) > 0
        rs = parens rs

    if fractions and op is '/'

                while (_.last ops) isnt '('
                    output.push ops.pop()
                ops.pop()
            when token in SIGILS
                while ops.length and (_.last ops) in SIGILS and (hasPrecedence (_.last ops), token) > -1
                    output.push ops.pop()
                ops.push token
            else
