答案1
如果你的主要语言是英语,你应该babel
拨打
\usepackage[russian,english]{babel}
因为最后的指定语言将是主要语言。或者您可以指定main=
\usepackage[main=english,russian]{babel}
在这种情况下,顺序无关紧要。
如果你想插入一些俄语短语,你不应该走这条路\selectlanguage{russian}
。有和\foreignlanguage
。otherlanguage*
在下面的例子中,quote
只是举例说明。
\documentclass{article}
\usepackage[T2A,T1]{fontenc}
\usepackage[main=english,russian]{babel}
\begin{document}
The Russian phrase \foreignlanguage{russian}{Привет, мир} means
`Hello, world' in English.
If you have longer passages in Russian, such as a quotation,
you can do as follows
\begin{otherlanguage*}{russian}
\begin{quote}
Все счастливые семьи похожи друг на друга, каждая
несчастливая семья несчастлива по-своему.
\end{quote}
\end{otherlanguage*}
\begin{figure}[htp]
\centering
\fbox{\rule{0pt}{30pt}\rule{30pt}{0pt}}
\caption{A figure}
\end{figure}
\end{document}