Sei sulla pagina 1di 3

How to write Bangla using L

A
T
E
X
Tarik Adnan Moon
1. Download and install MikTeX 2.7(or later version) from http://miktex.org/.
2. Download and install T
E
Xmaker from http://www.xm1math.net/texmaker/.
3. For Unicode Bangla input download and install Avro Keyboard from http://www.omicronlab.com/
Then, download Unicode fonts fromhttp://omicronlab.com/bangla-fonts.html . Especially
the fonts Bangla, Siyam Rupali work very well with LaTeX.
4. Now configure T
E
Xmaker: Select Option>Congure Texmaker
(a) In PdfLaTeXwrite:
xelatex -interaction=nonstopmode %.tex
In pdfviewer write: "C:/path (path in your pc)/reader.exe" /n %.pdf
(b) Now In Quick Build Select: Pdf LaTeX+View PDF
(c) In Editor: Change font family to Siyam Rupali and Font encoding to UTF-8
1
5. Write your document:
(a) Now you have to use fontspeck package. In preamble add:
\usepackage{fontspec}
(b) Now define your fonts: Add
\newcommand{\e}{\normalfont} %Def. for writing in default English font.
\font\b="Bangla:script=beng" at 12 pt
The only drawback with Unicode font is that you can not directly resize Bangla fonts. You have to define it in the
preamble. Usually you need not use a lot of different font sizes and fonts. In case you need to use different font
sizes or fonts define like:
\font\bl="Bangla:script=beng" at 18 pt
This method works not only for Bangla but also but also for any unicode character in general.
Acknowledgment:
I am grateful to Mr. Golam Mortuza Hossain, as I have got the idea that writing Bangla is possible using L
A
T
E
X.
One can find his blog post here:
http://methopath.wordpress.com/2008/06/26/writing-unicode-bengali-in-latex
One can find a fewexamples here in my website: http://sites.google.com/site/kmckbd/latex-editor
L
A
T
E
X(XeT
E
X) :
: ~ T
E
Xmaker
c ,
; :,
2
\documentclass[10 pt]{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[top=1.25 in,bottom=1 in,left=1.25 in,right=1.25 in]{geometry}
\usepackage[xetex]{graphicx}
\usepackage{subfig}
%font definition
\newcommand{\e}{\normalfont}
\font\s="Garamond"
\font\b="Bangla:script=beng" at 12 pt
\font\lb="Bangla:script=beng" at 18pt
\begin{document}
\begin{center}
\lb n am 2009 : o \\
\end{center}
\b 2: $\triangle ABC$ e n $O$ $P,Q$ k $CA$ o $AB$ h u d n ,
$K,L,M$ k $BP, CQ, PQ$ h n e $\Gamma$ e e t $K,L,M$ n
, $PQ$ h $\Gamma$ t e s p , $OP=OQ$.
\\
\indent ( ) $M, K$ k $QP$ o $PB$ e n , $MK \parallel QB$
e $QP$ s , , \[ \angle MLK=\angle QMK=\pi-\angle MQB=\angle AQP\]
ei, $\angle LKM=\angle LMP= \pi-\angle MPL=\angle APQ$
\begin{center}
\includegraphics[scale=0.6]{1.pdf}
\end{center}
, $\triangle APQ \sim \triangle MKL$. ,
\[\frac{MK}{AP}=\frac{ML}{AQ} \iff \frac{2MK}{AP}= \frac{2ML}{AQ}\iff \frac{BQ}{AP}=\frac{PC}
{AQ} \iff BQ \cdot AQ=PC \cdot AP \]
, $\triangle ABC$ e t k $P,Q$ n o $\triangle ABC$ e t
$r$ ,
\[BQ \cdot AQ=PC\cdot AP \iff r^2-OP^2=r^2-OQ^2 \iff OP=OQ \]
( ei 2 m ei $\triangle ABC$ e
t k $P,Q$ n o )
\\
4: $\triangle ABC$ $AB=AC$. $\angle CAB$ o $\angle ABC$ e dnd $BC$ o $CA$
h k $D,E$ n , $\triangle ADC$ e ann $D$ e $\angle
BEK=45^{\circ}$ $\angle CAB$ e m
\\
\indent ( , )\\
, $\triangle ABC$ e ann $I$. e $\frac{IK}{KC}$ a di
\\
, \[ \angle CBE=\angle EBA=\angle ACI=\angle ICB=\beta=\frac B2 \; \text{\b e}\; \angle
BAD=DAC=\alpha=\frac A2 \]
1

Potrebbero piacerti anche