`\LaTeX` is a text-mode macro, while the use of backticks means that it is used in math mode. Try `\text{\LaTeX}` instead.