diff options
author | Stultus <hrishi.kb@gmail.com> | 2012-07-01 16:09:27 +0530 |
---|---|---|
committer | Stultus <hrishi.kb@gmail.com> | 2012-07-01 16:09:27 +0530 |
commit | 011f93306dd70567cf0e866104397a41c5b56b5a (patch) | |
tree | 5055ce376f5f6908061b76ca924b34bbb8888542 /mlym.sty | |
parent | eac324a3ab6d18545108ebd9784d6b2289139df3 (diff) | |
download | logbook-of-an-observer-011f93306dd70567cf0e866104397a41c5b56b5a.tar.gz logbook-of-an-observer-011f93306dd70567cf0e866104397a41c5b56b5a.tar.xz logbook-of-an-observer-011f93306dd70567cf0e866104397a41c5b56b5a.zip |
addming mlym.sty
Diffstat (limited to 'mlym.sty')
-rw-r--r-- | mlym.sty | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/mlym.sty b/mlym.sty new file mode 100644 index 0000000..f3a0412 --- /dev/null +++ b/mlym.sty @@ -0,0 +1,79 @@ +%%%%%% 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 |