[Tex/LaTex] How to use the \L command in LaTeX

errorsmath-mode

While Using the command \L in LaTeX

Error Display:

latex error mathcal allowed only in math mode

Best Answer

The standard command \L may not be used in math at all, so will not give the error you show.

I would guess that a local definition in your files has

\renewcommand\L{\mathcal{L}}

in which case it will generate a curly L in math mode and the error you show if used out of math. To avoid the error use $\L$ to get back to math mode.