diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-12 21:13:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-12 21:13:26 +0000 |
commit | ae3bb8bde6eb63119eac5deaf3f94d95b8f689dc (patch) | |
tree | 2d7f151039625216d6d00ee643584e415a3073eb /Master/texmf-dist/doc/latex | |
parent | 2ff24d7a40f7eb3a42b54e23f5f6300d9276e557 (diff) |
bangla (12jun21)
git-svn-id: svn://tug.org/texlive/trunk@59564 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/bangla/README | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/bangla/bangla.pdf | bin | 0 -> 89448 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/bangla/bangla.tex | 174 |
3 files changed, 196 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bangla/README b/Master/texmf-dist/doc/latex/bangla/README new file mode 100644 index 00000000000..0431e47686a --- /dev/null +++ b/Master/texmf-dist/doc/latex/bangla/README @@ -0,0 +1,22 @@ + ---------------------------------------------------------------- + bangla package - A Comprehensive Bangla latex package + E-mail: mailbox.nahid@gmail.com / nahid@cse.uiu.ac.bd + Released under the LaTeX Project Public License v1.3c or later + See http://www.latex-project.org/lppl.txt + ---------------------------------------------------------------- +The bangla package is a programming tool geared primarily towards LaTeX +class and package authors. It provides all necessary LaTeX frontends for Bangla +language. + ------------------------------------------------------------------ + Copyright (C) 2021 by Nahid Hossain mailbox.nahid@gmail.com + + This work may be distributed and/or modified under the + conditions of the LaTeX Project Public License (LPPL), either + version 1.3c of this license or (at your option) any later + version. The latest version of this license is in the file: + + http://www.latex-project.org/lppl.txt + + This work is "maintained" (as per LPPL maintenance status) by + Nahid Hossain + diff --git a/Master/texmf-dist/doc/latex/bangla/bangla.pdf b/Master/texmf-dist/doc/latex/bangla/bangla.pdf Binary files differnew file mode 100644 index 00000000000..fa531971edf --- /dev/null +++ b/Master/texmf-dist/doc/latex/bangla/bangla.pdf diff --git a/Master/texmf-dist/doc/latex/bangla/bangla.tex b/Master/texmf-dist/doc/latex/bangla/bangla.tex new file mode 100644 index 00000000000..bb680206811 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bangla/bangla.tex @@ -0,0 +1,174 @@ +\documentclass{article} +\usepackage{bangla} +\usepackage{xcolor} +\usepackage{listings} +\usepackage{float} +\newcommand{\com}[2]{\textcolor{blue}{\textbackslash\texttt{#1}}\texttt{#2}} + +\begin{document} + +\title{The \texttt{bangla} Package} + +\author{Nahid Hossain \\Assistant Professor, United International University\\Bangladesh\\nahid@cse.uiu.ac.bd\\mailbox.nahid@gmail.com\\ \textbf{Version 1.5}} + +\date{June 12, 2021} +\maketitle +\tableofcontents + +\section{Introduction} +\subsection{About \texttt{bangla} Package} +The \texttt{bangla} package is a programming tool geared primarily towards LaTeX class and package authors. It provides all necessary LaTeX frontends for Bangla language. + +\subsection{Licence} +Copyright © 2021 Nahid Hossain. Permission is granted to copy, distribute and/or modify this software under the terms of the LaTeX Project Public License, version 1.3c or later. +\section{Commands} +\subsection{Use Package} +The basic command to use the package is-\\ \\ +\com{usepackage}{\{bangla\}} + + +\subsection{Font Selection} +\textbf{The default font of the \texttt{bangla} package is \texttt{Kalpurush}. If you do not mention any font name in the parameter, the Kalpurush will be your default font.} However, an author can easily change the font using the parameter of the \texttt{usepackage} command. +\\ \\ +\com{usepackage}{[<font name>]\{bangla\}} +\\ + +For example, if an author wants \texttt{Noto Serif Bengali} as the font for the whole article, he can write- +\\ \\ +\com{usepackage}{[notoserifbengali]\{bangla\}} +\\ + + +The following SIL Open Font Licence(OFL) Bangla fonts are currently associated with the \texttt{bangla} package- + +\begin{table}[H] +\centering +\begin{tabular}{|c|c|c|} +\hline +\textbf{Font Name} & \textbf{Command Keyword} & \textbf{Licence} \\ +\hline +Kalpurush & \textcolor{blue}{\texttt{kalpurush}} & SIL OFL\\ +\hline +Shimanto & \textcolor{blue}{\texttt{shimanto}} & SIL OFL \\ +\hline +Noto Sans Bengali & \textcolor{blue}{\texttt{notosansbengali}} & SIL OFL\\ +\hline +Noto Serif Bengali & \textcolor{blue}{\texttt{notoserifbengali}} & SIL OFL\\ +\hline +\end{tabular} +\end{table} + + +\subsection{With Parameter Definitions} +In this subsection, we have demonstrated the commands that requires parameters(at least one or more). +\subsubsection{\com{banglatext}{\{<bangla text here>\}}} +\texttt{banglatext} displays any Bangla texts provided inside the parameter. Insert Bangla text in the parameter.\\ +\begin{table}[H] +\centering +\begin{tabular}{|c|c|} +\hline +\textbf{Command} & \textbf{Output} \\ +\hline +\texttt{\com{banglatext}{\{\banglatext{আমি বাংলায় কথা বলি।}\}}} & \banglatext{আমি বাংলায় কথা বলি।}\\ +\hline +\end{tabular} +\end{table} + +\subsubsection{\com{banglabold}{\{<bangla text here>\}}} +\texttt{banglabold} bolds the Bangla texts provided inside the parameter. It can make texts bold automatically of any font that has no bold fonts available.\\ +\begin{table}[H] +\centering +\begin{tabular}{|c|c|} +\hline +\textbf{Command} & \textbf{Output} \\ +\hline +\texttt{\com{banglabold}{\{\banglatext{আমি বাংলায় কথা বলি।}\}}} & \banglabold{আমি বাংলায় কথা বলি।}\\ +\hline +\end{tabular} +\end{table} + +\subsubsection{\com{banglaitalic}{\{<bangla text here>\}}} +\texttt{banglaitalic} makes the Bangla texts italic provided inside the parameter. It can make texts italic automatically of any font that has no italic fonts available.\\ +\begin{table}[H] +\centering +\begin{tabular}{|c|c|} +\hline +\textbf{Command} & \textbf{Output} \\ +\hline +\texttt{\com{banglaitalic}{\{\banglatext{আমি বাংলায় কথা বলি।}\}}} & \banglaitalic{আমি বাংলায় কথা বলি।}\\ +\hline +\end{tabular} +\end{table} + +\subsubsection{\com{banglatranslit}{\{<bangla text here>\}}} +\texttt{banglatranslit} generates a comprehensive and sophisticated transliteration of Bangla into Latin based on ISO 15919. \texttt{banglatranslit} works on character, word, and sentences as well.\\ +\begin{table}[H] +\centering +\begin{tabular}{|c|c|} +\hline +\textbf{Command} & \textbf{Output} \\ +\hline +\texttt{\com{banglatranslit}{\{\banglatext{আমি বাংলায় কথা বলি।}\}}} & \banglatranslit{আমি বাংলায় কথা বলি।}\\ +\hline +\end{tabular} +\end{table} + +\subsubsection{\com{banglaipa}{\{<bangla text here>\}}} +\texttt{banglaipa} generates equivalent International Phonetic Alphabets(IPA) symbols for Bangla alphabets. \texttt{banglaipa} works on character, word, and sentences as well.\\ +\begin{table}[H] +\centering +\begin{tabular}{|c|c|} +\hline +\textbf{Command} & \textbf{Output} \\ +\hline +\texttt{\com{banglaipa}{\{\banglatext{আমি বাংলায় কথা বলি।}\}}} & \banglaipa{আমি বাংলায় কথা বলি।}\\ +\hline +\end{tabular} +\end{table} + +\subsection{Without Parameter Definitions} +In this subsection, we have demonstrated the commands that require no parameter at all. + +\subsubsection{\com{banglapage}{}} +\texttt{banglapage} produces bangla page numbering. \texttt{banglapage} does not need any parameters. +Put \texttt{banglapage} command before \textbackslash begin\{document\} command. Such as:\\ +\com{banglapage}{} + + + +\subsubsection{\com{banglasection}{}} +\texttt{banglasection} produces bangla numbering for all sections in the article including all subsections. \texttt{banglasection} does not need any parameters. +Put \texttt{banglasection} command before \textbackslash begin\{document\} command. Such as:\\ +\com{banglasection}{} + + +\subsubsection{\com{banglaenumerate}{}} +\texttt{banglaenumerate} produces level-2 bangla numbering for enumerate or the list in latex for the whole article. \texttt{banglaenumerate} does not need any parameters. +Put \texttt{banglaenumerate} command before \textbackslash begin\{document\} command or anywhere above the enumerate. Such as:\\ +\com{banglaenumerate}{} + + +\subsubsection{\com{banglaequation}{}} +\texttt{banglaequation} produces bangla numbering for all equations in the whole article. \texttt{banglaequation} does not need any parameters. +Put \texttt{banglaequation} command before \textbackslash begin\{document\} command or anywhere above the equations. Such as:\\ +\com{banglaequation}{} + +\subsubsection{\com{banglatable}{}} +\texttt{banglatable} produces bangla numbering for all tables in the whole article. \texttt{banglatable} does not need any parameters. +Put \texttt{banglatable} command before \textbackslash begin\{document\} command or anywhere above the tables. Such as:\\ +\com{banglatable}{} + + +\subsubsection{\com{banglafigure}{}} +\texttt{banglafigure} produces bangla numbering for all figures/images in the whole article. \texttt{banglafigure} does not need any parameters. +Put \texttt{banglafigure} command before \textbackslash begin\{document\} command or anywhere above the figures. Such as:\\ +\com{banglafigure}{} + + +\section{Reporting issues} +To report any error or issue please send an email at nahid@cse.uiu.ac.bd or mailbox.nahid@gmail.com. +\section{Revision History} +Version 1.5 solved font licence issues and fixed some bugs.\\ +Version 1.0 primary version.\\ + +\end{document} |