aritraghsh09 / pdflatex_bengali

Provides a quick & easy way to write in Bengali using only pdflatex
GNU General Public License v3.0
19 stars 3 forks source link
bengali latex overleaf pdflatex

DOI License: GPL v3 Compile demo.tex


Introduction

Writing বাংলা in LaTeX is pretty straightforward these days using XeLaTeX or LuaTeX. However, there arises instances when one needs to write বাংলা only using pdflatex.

This is especially true with respect to many academic institutions (e.g., arXiv), which still support only pdflatex.

This short repository is meant to help you write বাংলা using only pdflatex. The examples in this repository have also been written/tested to work with Overleaf

Note that this repository is entirely based on the Bengali font and code developed by Palash Baran Pal for his excellent bangtex package

Quickstart Guide

\documentclass{article}

\title{Bengali Test}
\author{{\lbng Airt/r \*gh*eaSh}}

\input{bangla_commands}

\begin{document}

\maketitle

\section{Example}

{\bng baNNGla \*l*ikhun}

\end{document}

Warning Line 97 of bangla_commands.tex gives an option to put an extremely high penalty on splitting words (so that your LaTeX compiler doesn't choose to do this). This line is commented out by default. But, if your document has many paragraphs of বাংলা text, it's recommended to uncomment this line.

Transliteration

More Background & Why This Repository

Citation & Contact

I was not aware that I could write my name or other content in বাংলা for my arXiv submissions for many years. I encourage you to cite this repository (in the Software Section of your academic publications) to make others aware of its existence. To do this you can use the following Zeondo DOI and bibtex code

@software{Ghosh_pdfLaTeX_Bengali_2022,
author = {Ghosh, Aritra},
doi = {10.5281/zenodo.6780690},
month = {6},
title = {{pdfLaTeX Bengali}},
url = {https://github.com/aritraghsh09/pdflatex_bengali},
version = {0.1},
year = {2022}
}

You can reach out to me using the contact information on my website. If you want to contribute, feel free to open a pull request directly if you know how to/are comfortable doing that.