How to Write Bengali Bold and Italic Font Text in English Document in LaTeX?

In the previous post we discussed how to write Bengali in LaTeX. Use polyglossia package for Bangla font and compile it with XeLaTeX command. In this post we will discuss how to use “Bangla Normal”, “Bangla Italic“, “Bangla Bold” style   in LaTeX.   However, the  SolaimanLipi  is used as Bengali font. The “Times New Roman” is used for English font.  

The Bangla font and style files can run only with the help of AutoFakeBold=4.0 font option.  If you also want to fake italics/slanted font try using AutoFakeSlant=0.4 where the number also indicates the strength of the slant.

Minimum working example :

\documentclass[12pt,a4paper]{article}
% For a bilingual document
\RequirePackage{fontspec}
\RequirePackage{polyglossia}
\setmainlanguage{english}
\defaultfontfeatures{Ligatures=TeX}
% Times New Roman used for English
\setmainfont[Mapping=tex-text, Ligatures=TeX]{Times New Roman}
\setmainlanguage[numerals=Devanagari]{bengali}
\setotherlanguage{english}
% Bengali
\newfontfamily\bengalifont[Script=Bengali,AutoFakeBold=4.0,AutoFakeSlant=0.4]{SolaimanLipi}
\newfontfamily\bengalifontbf[Script=Bengali,AutoFakeBold=4.0,AutoFakeSlant=0.4]{SolaimanLipi}
\newfontfamily\bengalifontsf[Script=Bengali,AutoFakeBold=4.0,AutoFakeSlant=0.4]{SolaimanLipi}
\title{LaTeX  ইংলিশ ডকুমেন্টে বাংলা বোল্ড এবং ইটালিক ফন্ট লেখাটি কীভাবে লিখবেন?}
\author{মোঃ কুতুবউদ্দিন সরদার}
\begin{document}
\maketitle
সাধারন  স্টাইল,   \textbf{বোল্ড  ফন্ট স্টাইল }, \textit{ইটালিক ফন্ট স্টাইল । }
\end{document}

 Output: 

 

q1

One thought on “How to Write Bengali Bold and Italic Font Text in English Document in LaTeX?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.