Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this questionI have been looking for an answer to this for a while. To clarify what I want just in case my question title might seem ambiguous:
\section{Привет and Xin Chào!}
Some text...
I am using the babel package to use different languages in my paragraphs and I thought I could use the commands inside \section{}
but it didn't work. Commands such as these:
\selectlanguage{language}
\begin{otherlanguage}{language} text \end{otherlanguage}
I also tried declaring a variable for the particular section title like this:
\newcommand{\multiLangSectionTitle}{
\selectlanguage{russian}
Привет
\begin{otherlanguage}{vietnam}
and Xin Chào
\end{otherlanguage}
}
Thinking that it will act like as a unit w开发者_Go百科hen I do \section{\multiLangSectionTitle}
but it didn't work either.
Any ideas welcome. Many thanks for your help! LD
Use xetex and write everything in utf-8. See http://en.wikipedia.org/wiki/XeTeX Works perfect for me, combining the three japanese alphabets and swedish.
精彩评论