Skip to content

Rajan-sust/Bangla-in-Latex-with-Overleaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Changing Compiler from Overleaf

  • Sometimes for certain languages, classes and packages it may be necessary to use a different compiler like xelatex than the default pdflatex. We have to set XeLatex instead of PdfLatex for writing Bangla

    • To change the compiler, simply click into the left hand menu
      First Image

    • Click on the Compiler menu under Settings
      Second Image

Code snippet for Bangla

\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{bengali}

\newfontfamily\englishfont{Noto Sans}
\newfontfamily\bengalifont[Script=Bengali]{Noto Sans Bengali}

\begin{document}

This is an English sentence with some Bengali text: \textbengali{এটি বাংলা ভাষা।} Here is some more English text.

\end{document}

About

Writing Bangla in Latex with Overleaf Online Editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages