Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (68 sloc) 1.76 KB
%%%%%% mlym.sty -- For Unicode Malayalam using xelatex
%
% suresh p <suresh@ippimail.com>
%
%
% Copyright 2008,suresh p
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
\ProvidesFile{mlym.sty}
\RequirePackage{fontspec}%
%
% Define some fonts
%
\def\meera{\fontspec[Script=Malayalam]{Meera}}
\def\rachana{\fontspec[Script=Malayalam]{Rachana}}
\def\suruma{\fontspec[Script=Malayalam]{suruma}}
\def\dyuthi{\fontspec[Script=Malayalam]{Dyuthi}}
\def\raghu{\fontspec[Script=Malayalam]{RaghuMalayalam}}
%
% Contents etc.
%
\def\contentsname{ഉള്ളടക്കം}
\def\chaptername{അദ്ധ്യായം}
\def\listfigurename{ചിത്രങ്ങള്‍}
\def\listtablename{പട്ടികകള്‍}
\def\tablename{പട്ടിക}
\def\figurename{ചിത്രം}
\def\partname{ഭാഗം}
\def\abstractname{സംഗ്രഹം}
\def\indexname{സൂചിക}
\def\appendixname{അനുബന്ധം}
%
% Set the default fonts options
%
\DeclareOption{rachana}{%
\setmainfont[Script=Malayalam]{Rachana}
}
\DeclareOption{meera}{%
\setmainfont[Script=Malayalam]{Meera}
}
\DeclareOption{suruma}{%
\setmainfont[Script=Malayalam]{suruma}
}
\DeclareOption{dyuthi}{%
\setmainfont[Script=Malayalam]{Dyuthi}
}
\DeclareOption{raghu}{%
\setmainfont[Script=Malayalam]{RaghuMalayalam}
}
%
% This results in some ugly spacing issues :(
%
%\pretolerance=8000%
%\tolerance=10000%
%\hyphenpenalty=9000%
%
%
\ProcessOptions\relax
\endinput
%
%%%%% mlym.sty
You can’t perform that action at this time.