Dear Users,

I'm having trouble using macros like this ones. Please see attached
example

\global\long\def\rp#1{R_{\text{p}}^{\text{#1}}}

When I call the macro and parameter 1 is something like árbol or año
latex gives error \acute or \tilde only allowed in math mode.


LyX code calling the macro. 

\[
\rp{\acute{a}rbol}
\]

How can I use the macros with \text and Linguistics?

Thanks

Martin




Attachment: acute.lyx
Description: application/lyx

Reply via email to