开发者

How To Write a Section/Part/Chapter Title with Words from Multiple Languages in LaTeX [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 10 years ago.

Improve this question

I 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜