<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{book}
\usepackage[osf,p,nomath]{libertinus}
\usepackage{microtype}
\usepackage[pdfusetitle,hidelinks]{hyperref}
\usepackage[series={},nocritical,noend,nofamiliar,noledgroup]{reledmac}
\usepackage{reledpar}

\usepackage{graphicx}
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{russian}
\setotherlanguage{hebrew}
\usepackage{metalogo}

\linenumincrement*{1}
\firstlinenum*{1}
\setlength{\Lcolwidth}{0.48\textwidth}
\setlength{\Rcolwidth}{0.48\textwidth} 

\begin{document}

\title{Parallel columns in two different languages}
\date{}

\maketitle

{\small
This file provides an example of typesetting parallel columns in two different languages, using reledpar, polyglossia and \XeLaTeX.

The main language is English. The left column is in Russian, the right column in Hebrew.
We have enlarged \verb+\Lcolwidth+ and  \verb+\Rcolwidth+ to avoid problem with hyphenations.

We also used \verb+\eledchapter+, which implies that chapter titles are printed with accompanying line numbers. 

For an example with \LuaLaTeX, look at \href{./lualatex-parallel-rtl.tex}{lualatex-parallel-rtl.tex}.
}



\begin{pairs}

\begin{Rightside} 
\begin{RTL}
\begin{hebrew}
\beginnumbering
\pstart
\eledchapter{ď»ż×”×ž××ž×¨ ×”×©×&nbsp;×™}\ledleftnote{s}
\pend
\pstart
×‘×¤×&nbsp;×•×Ş ×”×Ş×•×¨×™×•×Ş, ×¨×´×ś ×©×”×ť ×™×ˇ×•×“×•×Ş ×•×˘×ž×•×“×™×ť ××©×¨ ×‘×™×Ş ××ś×”×™×ť ×&nbsp;×›×•×ź ×˘×ś×™×”×ť, ×•×‘×ž×¦×™××•×Ş×ť ×™×¦×™×¨ ×ž×¦×™××•×Ş ×”×Ş×•×¨×” ×ž×ˇ×“×¨×Ş ×ž×ž×&nbsp;×• ×™×Ş×‘×¨×š, ×•××ś×• ×™×¦×™×¨ ×”×˘×“×¨ ××—×Ş ×ž×”×ť ×Ş×¤×ś ×”×Ş×•×¨×” ×‘×›×ś×ś×” ×—×ś×™×ś×”.
\pend    
\endnumbering
\end{hebrew}
\end{RTL}
\end{Rightside}




\begin{Leftside} 
\begin{russian}
\beginnumbering
\pstart
\eledchapter{Đ˘Ń€Đ°ĐşŃ‚Đ°Ń‚ Đ’Ń‚ĐľŃ€ĐľĐą}   
\pend 
\pstart
Đž ĐşŃ€Đ°ĐµŃĐłĐľĐ»ŃŚĐ˝Ń‹Ń… [ĐżŃ€Đ¸Đ˝Ń†Đ¸ĐżĐ°Ń…] Đ˘ĐľŃ€Ń‹, Đ¸ĐĽĐµĐµŃ‚ŃŃŹ Đ˛Đ˛Đ¸Đ´Ń, ĐşĐľŃ‚ĐľŃ€Ń‹Đµ [ĐµŃŃ‚ŃŚ] ĐľŃĐ˝ĐľĐ˛Ń‹ Đ¸ ŃŃ‚ĐľĐ»ĐżŃ‹ Đ˝Đ° ĐşĐľŃ‚ĐľŃ€Ń‹Ń… Đ´ĐľĐĽ Đ‘-Đ¶Đ¸Đą ĐľĐżĐ¸Ń€Đ°ĐµŃ‚ŃŃŹ/Đ˝Đ°Ń…ĐľĐ˝, Đ¸ Ń ŃŃŃ‰ĐµŃŃ‚Đ˛ĐľĐ˛Đ°Đ˝Đ¸ĐµĐĽ Đ¸Ń… ĐĽĐľĐ¶ĐµŃ‚ Đ±Ń‹Ń‚ŃŚ ĐżŃ€ĐµĐ´ŃŃ‚Đ°Đ˛Đ»ĐµĐ˝Đľ ŃŃŃ‰ĐµŃŃ‚Đ˛ĐľĐ˛Đ°Đ˝Đ¸Đµ Đ˘ĐľŃ€Ń‹ ŃĐżĐľŃ€ŃŹĐ´ĐľŃ‡ĐµĐ˝Đ˝ĐľĐą ĐľŃ‚ ĐťĐµĐłĐľ, Đ±Đ»Đ°ĐłĐľŃĐ»ĐľĐ˛ĐµĐ˝Đ˝ĐľĐłĐľ, Đ¸ ĐµŃĐ»Đ¸ Đ±Ń‹ Đ±Ń‹Đ»Đľ ĐżŃ€ĐµĐ´ŃŃ‚Đ°Đ˛Đ»ĐµĐ˝Đľ ĐľŃ‚ŃŃŃ‚ŃŃ‚Đ˛Đ¸Đµ ĐľĐ´Đ˝ĐľĐłĐľ Đ¸Đ· Đ˝Đ¸Ń… â€” ŃĐżĐ°Đ´ĐµŃ‚ Đ˘ĐľŃ€Đ° Đ˛ ĐľĐ±Ń‰ĐµĐĽ, [Đ‘-Đ¶Đµ] ŃĐżĐ°ŃĐ¸.
\pend
\endnumbering
\end{russian}
\end{Leftside}

\end{pairs}
\Columns
\end{document}
</pre></body></html>