On a code cell, show(LatexExpr("\sqrt{2}")) just works. Perhaps did you forget the closing quotes.
Note that you can add longer text by changing the type of a cell to "markdown" (instead of "code"), there, you can just add latex code as $\sqrt{2}$.