I am using LYX.
when I am writing a file in lyx that combines hebrew(RTL) and english(LTR) sometimes I write lines that start in english word this line and only this line that starts with english word start in the left. The problem is that I want all my file to be RTL. it appears when I use section/subsection/regular...
how can I put all the lines in the right and don't matter which lang I use??
My problem is not put all the section in right. if I right only in english and I put it on the right using the paragraph setting it is ok. the problem is when I want to start the section with english word and then write in hebrew and all the section align to right.
I want the word description in this image to be above the right "תיאור" word... (not reverse the words..)
Thanks.
edit - this is all the file for the image.
%% LyX 2.1.3 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\RequirePackage{fix-cm}
\documentclass[english,hebrew]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9,cp1255]{inputenc}
\usepackage{geometry}
\geometry{verbose,tmargin=1cm,bmargin=2cm,lmargin=1cm,rmargin=1cm}
\usepackage{fixltx2e}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\usepackage{theorem}
\theorembodyfont{\upshape}
\newtheorem{theorem}{\R{îùôè}}[section]
\AtBeginDocument{\make@lr\thetheorem}
% The following chunk fixes export with XeTeX.
% It is needed because polyglossia is used by default
% and \make@lr is only defined by babel.
\@ifundefined{make@lr}
{\def\make@lr#1{\begingroup
\toks@=\expandafter{#1}%
\edef\x{\endgroup
\def\noexpand#1{\noexpand\@number{\the\toks@}}}%
\x}}{\relax}
\@ifundefined{date}{}{\date{}}
\makeatother
\usepackage{babel}
\begin{document}
\begin{description}
\item [{רואית}] הלימ הלימ
\selectlanguage{english}%
\item [{\inputencoding{latin9}description}] \inputencoding{cp1255}\R{הלימ
הלימ הלימ}\selectlanguage{hebrew}%
\end{description}
\end{document}
if I remove the \selectlanguage{english}% the item goes to the correct place but the english text is like a mirror view.