סוגריים לא עושים את הכתב עילי נכון

I noticed that the parenthesis don’t do the superscript correctly. For example,

$2^(ceil(ln(N)))$

displays it like this:

$2^(ceil(ln(N)))$

(ceil(ln(N))

Check your matching parens.

image

I get this even with matching parenthesis.

You are typing AsciiMath delimited by LaTeX delimiters. To use AsciiMath, try:

%2^(ceil(ln(N)))%

To get the same result in LaTeX, try:

$2^{\lceil \ln(N) \rceil}$

Thank you that worked.