# Parenthesis don’t do the superscript correctly

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))

1 Like

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}$
5 Likes

Thank you that worked.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.