summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bangtex/bangfont.tex
blob: ec3efb46a8a7a9aa939ec42079417d9a12621424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%  This file is part of the package BANGTEX, containing Bangla fonts
%%  and style files for the TeX/LaTeX typesetting systems
%%
%%  Copyright (C) 2001, 2002 Palash Baran Pal 
%%  e-mail: pbpal@theory.saha.ernet.in internet:
%%  internet: http://tnp.saha.ernet.in/~pbpal
%%  Address: Saha Institute of Nuclear Physics
%%	     1/AF Bidhan Nagar
%%	     Calcutta 700064, INDIA
%%
%%  Original release: January 2001
%%  Latest modification released: January 2002
%%
%%  This program is free software; you can redistribute it and/or modify
%%  it under the terms of the GNU General Public License as published by
%%  the Free Software Foundation; either version 2 of the License, or
%%  (at your option) any later version.
%%
%%  This program is distributed in the hope that it will be useful,
%%  but WITHOUT ANY WARRANTY; without even the implied warranty of
%%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%%  GNU General Public License for more details.
%%
%%  You should have received a copy of the GNU General Public License
%%  along with this program; if not, write to the Free Software
%%  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
%%  02111-1307 USA
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% Defining the standard (normal, upright) bangla fonts
%%
\font\bngv=bang10 scaled 500
\font\bngvi=bang10 scaled 600
\font\bngvii=bang10 scaled 700
\font\bngviii=bang10 scaled 800
\font\bngix=bang10 scaled 900
\font\bngx=bang10
\font\bngxi=bang10 scaled 1100
\font\bngxii=bang10 scaled 1200
\font\bngxiv=bang10 scaled 1400
\font\bngxviii=bang10 scaled 1800
\font\bngxxii=bang10 scaled 2200
\font\bngxxv=bang10 scaled 2500
\font\bngxxx=bang10 scaled 3000

%%
%% Defining the slanted bangla fonts
%%
\font\bnsv=bangsl10 scaled 500
\font\bnsvi=bangsl10 scaled 600
\font\bnsvii=bangsl10 scaled 700
\font\bnsviii=bangsl10 scaled 800
\font\bnsix=bangsl10 scaled 900
\font\bnsx=bangsl10
\font\bnsxi=bangsl10 scaled 1100
\font\bnsxii=bangsl10 scaled 1200
\font\bnsxiv=bangsl10 scaled 1400
\font\bnsxviii=bangsl10 scaled 1800
\font\bnsxxii=bangsl10 scaled 2200
\font\bnsxxv=bangsl10 scaled 2500
\font\bnsxxx=bangsl10 scaled 3000

%%
%% Defining the wide bangla fonts
%%
\font\bnwv=bangwd10 scaled 500
\font\bnwvi=bangwd10 scaled 600
\font\bnwvii=bangwd10 scaled 700
\font\bnwviii=bangwd10 scaled 800
\font\bnwix=bangwd10 scaled 900
\font\bnwx=bangwd10
\font\bnwxi=bangwd10 scaled 1100
\font\bnwxii=bangwd10 scaled 1200
\font\bnwxiv=bangwd10 scaled 1400
\font\bnwxviii=bangwd10 scaled 1800
\font\bnwxxii=bangwd10 scaled 2200
\font\bnwxxv=bangwd10 scaled 2500
\font\bnwxxx=bangwd10 scaled 3000


%%
%% Inhibiting linebreak within words
%%
\hyphenpenalty=10000 \pretolerance=-1 \tolerance=10000

%%
%% Defining the macro for e-kar, i-kar etc
%%
\def\*#1*#2{o\null{#2}{#1}}

%%
%% Redefining some macros to make them consistent with bangla fonts
%%
\def\d#1{\oalign{\smash{#1}\crcr\hidewidth{$\!$\rm.}\hidewidth}}


%%
%% Page number in bangla
%%
%\footline{\hss\bngxi\folio\hss}
%\headline{\hfil}

%%
%% Emulating the bold font
%%
\def\sh#1{\setbox0=\hbox{#1}%
     \kern-.02em\copy0\kern-\wd0
     \kern.04em\copy0\kern-\wd0
     \kern-.02em\raise.0433em\box0 }


%%
%% Defining the bangla numerals for default in math mode
%%
%\textfont0=\bngx \scriptfont0=\bngvii \scriptscriptfont0=\bngv
%\textfont1=\bnsx \scriptfont1=\bnsvii \scriptscriptfont1=\bnsv
%\textfont2=\tensy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy
%\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
%\textfont4=\tenrm \scriptfont4=\sevenrm \scriptscriptfont4=\fiverm