我正在使用 IEEEtran.cls 为 IEEE 会议撰写论文。这篇论文的主要语言是英语,但我的工作涉及孟加拉语。我想知道如何在论文中插入一些孟加拉语单词,例如 পারে。
答案1
你应该使用 XeTeX 或 luaTeX,并且你的字体应该支持孟加拉语。我用过解放窄(我在使用 Free Serif 时遇到了问题,没有 fontspec 包):
\documentclass{article}
\font\beng="Mukti Narrow Bold:script=beng"
\begin{document}
This is Bengali: {\beng পারে}
\end{document}
这是一个来自课堂的例子ieeetran
,效果很好:
\documentclass[conference]{IEEEtran}
\font\beng="Mukti Narrow Bold:script=beng"
\ifCLASSINFOpdf
\else
\fi
\hyphenation{op-tical net-works semi-conduc-tor}
\begin{document}
\title{Bare Demo of IEEEtran.cls for Conferences}
\author{\IEEEauthorblockN{Michael Shell}
\IEEEauthorblockA{School of Electrical and\\Computer Engineering\\
Georgia Institute of Technology\\
Atlanta, Georgia 30332--0250\\
Email: http://www.michaelshell.org/contact.html}
\and
\IEEEauthorblockN{Homer Simpson}
\IEEEauthorblockA{Twentieth Century Fox\\
Springfield, USA\\
Email: [email protected]}
\and
\IEEEauthorblockN{James Kirk\\ and Montgomery Scott}
\IEEEauthorblockA{Starfleet Academy\\
San Francisco, California 96678-2391\\
Telephone: (800) 555--1212\\
Fax: (888) 555--1212}}
\maketitle
\begin{abstract}
The abstract goes here.
\end{abstract}
\IEEEpeerreviewmaketitle
\section{Introduction}
This demo file is intended to serve as a ``starter file''
for IEEE conference papers produced under \LaTeX\ using
IEEEtran.cls version 1.7 and later.
{\beng অপ্রিয় বাক্য এড়িয়ে মধুর ব্যবহারে কার্যোদ্ধার।}
I wish you the best of success.
\hfill mds
\hfill January 11, 2007
\subsection{Subsection Heading Here}
Subsection text here.
\subsubsection{Subsubsection Heading Here}
Subsubsection text here.
\section{Conclusion}
The conclusion goes here.
\section*{Acknowledgment}
The authors would like to thank...
\begin{thebibliography}{1}
\bibitem{IEEEhowto:kopka}
H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.
\end{thebibliography}
\end{document}
这是包含孟加拉语文本的输出的一部分:
答案2
你可以使用任何你想要的字体。你只需要该字体的 ttf 文件和 XeLaTeX 编译器。关注我的回答另一个类似类型的问题。