How to Write Bangla in LaTex-Overleaf
Typing Bangla in LaTeX is now smooth and beautiful. Using Polyglossia and the Akaash Normal font, you can write Bangla natively in Overleaf without hassles. Follow these steps to set it up.
1. Download Akaash Normal Font
Download the font from this link and unzip if needed to get the akaashnormal.ttf file.
2. Add the TTF Font to LaTeX
Upload the downloaded akaashnormal.ttf to your LaTeX project folder.
3. Configure LaTeX for Bangla
Add the following lines in your LaTeX preamble:
\usepackage{polyglossia}
\newfontfamily\banglafont[Script=Bengali]{akaashnormal.ttf}
4. Writing Bangla Text
Now, whenever you need to use bangla,type bangla using the command \ben{}. Write Bangla inside the curly braces:
\ben{সোনার বাংলা}
5. Compile with XeLaTeX
In your editor, go to Settings > Compiler > XeLaTeX. Recompile your project and your Bangla text should appear beautifully.