# Insert hebrew at math-mode (LyX)

I'd like to insert some Hebrew words at math-mode at LyX, like can I inset \text or something like that...

There is a way to do this?
Even not at \text and by adding special characters (or things that similar to this).

There is any way to do this, or it's impossible?

I saw this:
What are TeX codes for Hebrew letters to be used as math-mode symbols?
But I'm using LyX (and I don't know how to insert it to LyX), and I want to use all the Hebrew characters....

Thank you!

If you setup your document to use XeTeX, it works just as it should: You write \text then in the little box you enter your text in Hebrew as is. The only caveat is that LyX will display the text in the formula reversed, but in the output it is fine.

Create a math box inside a math box and type: "\R{hebrew text}"

\documentclass[english,hebrew]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9,cp1255]{inputenc}
\usepackage{amstext}
\usepackage{babel}
\begin{document}
\L{$\text{\R{\text{עברית}}}$}
\end{document}

• This doesn't work... – Werner Nov 10 '16 at 23:46
• well for me its does – Jon Nov 11 '16 at 0:14
• You should then add more detail. Do you have a special module or package that you include allowing your text to be set in Hebrew via \R? – Werner Nov 11 '16 at 0:15
• I guess you gotta have the miktex and the hebrew fonts (culmus). Nothing other than that – Jon Nov 11 '16 at 0:18
• What does \R do? – Werner Nov 11 '16 at 0:18