\LR 用于长文本

\LR 用于长文本

如何使用从左到右命令 \LR 来处理从右到左文档中的长文本。应该存在一些类似 \begin{something} \end{something} 的命令,但我找不到!我的问题出在使用英语的参考书目部分。

\documentclass[ucs]{beamer}

\mode<presentation>
{
  \usetheme{Marburg}
  \setbeamercovered{transparent}
}

\setbeamerfont*{frametitle}{size=\normalsize,series=\bfseries}
\setbeamertemplate{navigation symbols}{}

\usepackage[persian, english]{babel}
\usepackage{fontspec}

\setmainfont[Script=Arabic,Numbers=Arabic]{XB Zar}
\setsansfont[Script=Arabic,Numbers=Arabic]{XB Zar}

\usepackage{tikz}
\usetikzlibrary{arrows}

\tikzstyle{block}=[draw opacity=0.7,line width=1.4cm]

\AtBeginSubsection[]
{
  \begin{frame}<beamer>{Outline}
\tableofcontents[currentsection,currentsubsection]
  \end{frame}
}

\begin{document}
\selectlanguage{persian}
\input{translator-basic-dictionary-Persian.dict}
\input{translator-bibliography-dictionary-Persian.dict}
\input{translator-environment-dictionary-Persian.dict}
\input{translator-months-dictionary-Persian.dict}
\input{translator-numbers-dictionary-Persian.dict}
\input{translator-theorem-dictionary-Persian.dict}

\begin{frame}{نمایه}
  \tableofcontents

\end{frame}

\section{مقدمه}

\appendix
\section<presentation>*{\appendixname}
\subsection<presentation>*{منابع}

\begin{frame}[allowframebreaks]
  \frametitle<presentation>{For Further Reading}

\begin{thebibliography}{10}

\selectlanguage{english}

\beamertemplatearticlebibitems

\bibitem{MR94561}
Author1, Author2.
\newblock Title of article.
\newblock {\em Math. Systems Theory}, 29(3):271--291, 2001.

\end{thebibliography}
\end{frame}

\end{document}

答案1

解决方法是\setLR。 使用 后\selectlanguage{english}可解决问题。

相关内容