summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/marathi/marathi.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-05-25 21:16:14 +0000
committerKarl Berry <karl@freefriends.org>2020-05-25 21:16:14 +0000
commit55c3251ade50e1d64d6e439c8d25fe20c9d5024a (patch)
treedec3543eccde22a59544ff19df1cbb3b3b3c3ea4 /Master/texmf-dist/tex/latex/marathi/marathi.sty
parent67008ddca6c6e1a902f7ba7207dc1566e7e36640 (diff)
marathi (25may20)
git-svn-id: svn://tug.org/texlive/trunk@55275 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/marathi/marathi.sty')
-rw-r--r--Master/texmf-dist/tex/latex/marathi/marathi.sty106
1 files changed, 106 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/marathi/marathi.sty b/Master/texmf-dist/tex/latex/marathi/marathi.sty
new file mode 100644
index 00000000000..87592343de6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/marathi/marathi.sty
@@ -0,0 +1,106 @@
+%%
+%% This is file `marathi.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% marathi.dtx (with options: `package')
+%%
+%% -------------------------------------------------------------------------
+%% आज्ञासंच: marathi
+%% लेखक: निरंजन
+%% आवृत्ती: ०.१ (२३ मे, २०२०)
+%% माहिती: लुआ-लाटेक् व झी-लाटेक् ह्यांच्यासह मराठीचा सुलभ वापर करण्यासाठी.
+%% दुवा: https://gitlab.com/niranjanvikastambe/marathi
+%% अडचणी: https://gitlab.com/niranjanvikastambe/marathi/-/issues
+%% परवाना: लाटेक् प्रकल्प परवाना. आवृत्ती १.३सी किंवा त्यापुढील.
+%% अधिक माहितीकरिता marathi.dtx ही बीज-धारिका पाहा.
+%% ---------------------------------------------------------------------------
+%% हे काम लाटेक् प्रकल्प परवान्याच्या (१.३सी अथवा त्यापुढील) अटींचे पालन करून वितरित केले जाऊ शकते
+%% तसेच सुधारले जाऊ शकते.
+%%
+%% ह्या परवान्याची नवीनतम प्रत खालील दुव्यावर उपलब्ध आहे.
+%%
+%% http://www.latex-project.org/lppl.txt.
+%%
+%% हा आज्ञासंचाची लाटेक् प्रकल्पाच्या नियमांनुसार देखरेख केली जात आहे.
+%%
+%% ह्या आज्ञासंचाचा लेखक व पालक निरंजन आहे.
+%%
+%% ह्या कामात marathi.dtx, marathi.ins तसेच त्यांपासून निर्माण केलेली
+%% marathi.sty ही धारिका समाविष्ट आहे.
+%% --------------------------------------------------------------------------
+%% Package: marathi
+%% Author: Niranjan
+%% Version: 1.0 (25 May, 2020)
+%% Description: For conveniently typesetting Marathi language with LuaLaTeX and XeLaTeX.
+%% Repository: https://gitlab.com/niranjanvikastambe/marathi
+%% Bug tracker: https://gitlab.com/niranjanvikastambe/marathi/-/issues
+%% License: The LaTeX Project Public License v1.3c or later.
+%% ---------------------------------------------------------------------------
+%%
+\def\marathiPackageName{marathi}
+\def\marathiPackageVersion{१.०}
+\def\marathiPackageDate{२५ मे, २०२०}
+\def\marathiPackageDescription{लुआ-लाटेक् व झी-लाटेक् ह्यांच्यासह मराठीचा सुलभ वापर करण्यासाठी.}
+
+\ProvidesPackage{marathi}
+\NeedsTeXFormat{LaTeX2e}
+
+
+
+\newif\ifmarathi@अंतर
+\marathi@अंतरfalse
+\DeclareOption{अंतर}{\marathi@अंतरtrue}
+\ProcessOptions
+\ifmarathi@अंतर
+\else
+\renewcommand{\baselinestretch}{1.5}
+\renewcommand{\arraystretch}{1.5}
+\fi
+\@ifclassloaded{standalone}{\RequirePackage{fontspec}}{
+ \RequirePackage{polyglossia}
+ \setdefaultlanguage{marathi}
+}
+\RequirePackage{devanagaridigits}
+\def\@arabic#1{\expandafter\devanagaridigits\expandafter{\number#1}}
+\setmainfont[Renderer=Harfbuzz,Script=Devanagari,Mapping=devanagarinumerals]{Shobhika}
+\newcommand{\टंक}[1]
+{\setmainfont[Renderer=Harfbuzz,Script=Devanagari,Mapping=devanagarinumerals]{#1}}
+
+\title{नमुना}
+\author{लेखक}
+\@ifclassloaded{letter}{
+ \name{लेखक}
+ \signature{सही}
+ \address{
+ लेखकाचे नाव\\
+ अबक मार्ग\\
+ मुंबई\\
+ पिन क्र. ४०००००}
+ \location{लेखकाचे स्थान}
+ \telephone{दूरध्वनी - ०२० २२९५ २१०८}
+}
+\providecommand{\mrarticle}{\input{article}}
+\providecommand{\mrbook}{\input{book}}
+\providecommand{\mrreport}{\input{report}}
+\providecommand{\mrbeamer}{\input{beamer}}
+\providecommand{\mrletter}{\input{letter}}
+\newcounter{क्र}
+\@ifclassloaded{article}{\setcounter{क्र}{1}}{}
+\@ifclassloaded{book}{\setcounter{क्र}{2}}{}
+\@ifclassloaded{report}{\setcounter{क्र}{3}}{}
+\@ifclassloaded{beamer}{\setcounter{क्र}{4}}{}
+\@ifclassloaded{letter}{\setcounter{क्र}{5}}{}
+\providecommand{\नमुना}{
+ \ifnum\value{क्र}=1\mrarticle\else
+ \ifnum\value{क्र}=2\mrbook\else
+ \ifnum\value{क्र}=3\mrreport\else
+ \ifnum\value{क्र}=4\mrbeamer\else
+ \mrletter\relax\fi\fi\fi\fi
+}
+\@ifclassloaded{beamer}{%
+ \usefonttheme{serif}}
+\endinput
+%%
+%% End of file `marathi.sty'.