diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-02 21:05:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-02 21:05:34 +0000 |
commit | f5176e77c94bf9716a4501196a34a7753ae0221f (patch) | |
tree | 5591806c945c7dbc13009b1ae52721367b03a576 /Master/texmf-dist/source/latex/muling | |
parent | 62cf724cffab11c1c202bde24cb9ead509cad04c (diff) |
muling (2jan22)
git-svn-id: svn://tug.org/texlive/trunk@61473 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/muling')
-rw-r--r-- | Master/texmf-dist/source/latex/muling/muling.dtx | 387 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/muling/muling.ins | 56 |
2 files changed, 253 insertions, 190 deletions
diff --git a/Master/texmf-dist/source/latex/muling/muling.dtx b/Master/texmf-dist/source/latex/muling/muling.dtx index e7a5ccf9d19..f7d5d794698 100644 --- a/Master/texmf-dist/source/latex/muling/muling.dtx +++ b/Master/texmf-dist/source/latex/muling/muling.dtx @@ -1,140 +1,182 @@ % \iffalse meta-comment % % File: muling.dtx -% --------------------------------------------------------------------------- -% Class: muling -% Author: Niranjan -% Description: A class file for the Department of Linguistics, University of -% Mumbai -% Repository: https://gitlab.com/niranjanvikastambe/muling -% Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues -% License: The LaTeX Project Public License v1.3c or later. -% --------------------------------------------------------------------------- -% This work may be distributed and/or modified under the conditions of the -% LaTeX Project Public License, either version 1.3c 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. -% -% This work has the LPPL maintenance status `maintained'. -% -% The Current Maintainer of this work is Niranjan. -% -% This work consists of the files muling.dtx -% muling.ins -% and the derived file muling.cls. +% ---------------------------------------------------------- +% Class: muling +% Author: निरंजन +% Description: A class file for the Department of +% Linguistics University of Mumbai +% Repository: https://git.gnu.org.ua/marathi.git +% Bugs: https://puszcza.gnu.org.ua/bugs/?group=muling +% Licenses: GPLv3+, GFDLv1.3+ +% ---------------------------------------------------------- +% LaTeX Package muling v0.3 +% Copyright © 2020, 2021 निरंजन +% +% 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 3 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, see +% <https://www.gnu.org/licenses/>. +% +% The current maintainer of this work is निरंजन. % \fi % \iffalse %<*internal> \iffalse %</internal> %<*readme> --------------------------------------------------------------------------- +----------------------------------------------------------- Class: muling -Author: Niranjan -Version: 0.1 (12 November, 2020) -Description: A class file for the Department of Linguistics, University of - Mumbai -Repository: https://gitlab.com/niranjanvikastambe/muling -Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues -License: The LaTeX Project Public License v1.3c or later. --------------------------------------------------------------------------- +Author: निरंजन +Version: 0.3 (16 December, 2021) +Description: A class file for the Department of + Linguistics, University of Mumbai +Repository: https://git.gnu.org.ua/muling.git +Bug tracker: https://puszcza.gnu.org.ua/bugs/?group=muling +License: GPLv3+, GFDLv1.3+ +----------------------------------------------------------- %</readme> %<*internal> \fi %</internal> %<*driver|class> \def\mulingClassName{muling} -\def\mulingClassVersion{0.1} -\def\mulingClassDate{2020/11/12} -\def\mulingClassDescription{A class file for the Department of Linguistics, - University of Mumbai -} +\def\mulingClassVersion{0.3} +\def\mulingClassDate{2021/12/16} %</driver|class> %<*driver> \documentclass{l3doc} -\usepackage{hyperref} \usepackage{xcolor} -\hypersetup{ - colorlinks, - linkcolor=red!60!black, - citecolor=green!60!black, - urlcolor=blue!60!black -} +\usepackage{fontspec} +\newfontfamily{\sho}% +[% + Script=Devanagari,% + Scale=0.8% +] +{Shobhika} \usepackage{fontawesome5} +\usepackage{hyperref} +\hypersetup{% + colorlinks,% + linkcolor=red!60!black,% + citecolor=green!60!black,% + urlcolor=blue!60!black% +} \begin{document} \DocInput{\mulingClassName.dtx} \end{document} %</driver> % \fi % \title{The \cls{\mulingClassName} class} -% \author{Niranjan} +% \author{{\sho निरंजन}} % \date^^A % {^^A -% Version \mulingClassVersion\ --- \mulingClassDate\\[1ex] -% {\small\faIcon{link}\quad\url{https://ctan.org/pkg/muling}}\\ -% {\small\faIcon{gitlab}\quad\url{https://gitlab.com/niranjanvikastambe/muling}} +% Version \mulingClassVersion\ ---^^A +% \mulingClassDate\\[1ex]^^A +% {^^A +% \small\faIcon{link}\quad +% \url{https://ctan.org/pkg/muling}^^A +% }\\^^A +% {^^A +% \small\faIcon{bug}\quad +% \url{https://puszcza.gnu.org.ua/bugs/?group=muling}^^A +% }^^A % } % \maketitle % \begin{abstract} -% This is a class-file written for the students of the Department of -% Linguistics, University of Mumbai. It uses the standard layout prescribed -% by the university, loads some necessary packages for -% typesetting a thesis in linguistics \textit{\&} adds the declaration -% needed by the university from the submitter. +% This is a class-file written for the students of the +% Department of Linguistics, University of Mumbai. It +% uses the standard layout prescribed by the university, +% loads some necessary packages for typesetting a thesis +% in linguistics \textit{\&} adds the declaration needed +% by the university from the submitter. % \end{abstract} % \tableofcontents +% \vfill +% {^^A +% \setlength{\parindent}{0pt} +% \LaTeX\ package \pkg{datestamp} +% +% Copyright © 2020, 2021 {\sho निरंजन} +% +% Permission is granted to copy, distribute and/or +% modify this document under the terms of the GNU Free +% Documentation License, Version 1.3 or any later +% version published by the Free Software Foundation; +% with no Invariant Sections, no Front-Cover Texts, and +% no Back-Cover Texts. A copy of the license is included +% in the section entitled ``GNU Free Documentation +% License''. +% }% +% \newpage % \begin{documentation} % \section{Package macros} -% This package has the following commands. It is recommended to use all of -% them in the preamble only. +% This package has the following commands. It is +% recommended to use all of them in the preamble only. % \begin{function}{\subtitle} % \begin{syntax} % \cs{subtitle}\marg{a subtitle} % \end{syntax} -% The subtitle is printed exactly under the title on the title page. +% The subtitle is printed exactly under the title on +% the title page. % \end{function} % \begin{function}{\shorttitle} % \begin{syntax} % \cs{shorttitle}\marg{a short title} % \end{syntax} -% The short title is printed on the top right corner of the page with the -% year of submission. +% The short title is printed on the top right corner +% of the page with the year of submission. % \end{function} % \begin{function}{\supervisor} % \begin{syntax} % \cs{supervisor}\marg{name of the supervisor} % \end{syntax} -% Name of the supervisor is printed on the title-page, in the declaration -% text \textit{\&} under the name of the supervisor for the signature. +% Name of the supervisor is printed on the title-page, +% in the declaration text \textit{\&} under the name +% of the supervisor for the signature. % \end{function} % \section{Package options} % \begin{function}{digital} -% This package option is developed for getting a read-only version of -% the thesis. By default the thesis is formatted as a print-ready -% document as the per the university requirements. If you want to submit a -% digital copy of the thesis, use this option. +% This package option is developed for getting a +% read-only version of the thesis. By default the +% thesis is formatted as a print-ready document as the +% per the university requirements. If you want to +% submit a digital copy of the thesis, use this +% option. % \end{function} % \begin{function}{lof} -% This package option is developed for getting a list of figures after the -% list of tables. Every thesis might not need a list of figures, therefore -% it isn't added by default. +% This package option is developed for getting a list +% of figures after the list of tables. Every thesis +% might not need a list of figures, therefore it isn't +% added by default. % \end{function} % \section{Example code} % Try this sample document. % \begin{verbatim} -% \documentclass[digital,lof]{muling} % Remove `digital' for a print-version. +% \documentclass[digital,lof]{muling} % \title{Linguistic profile of Konkani} % \author{Niranjan} % \supervisor{Dr.\ Renuka Ozarkar} % \shorttitle{Konkani} -% \subtitle{Phonological \& morphological description of the Konkani language} +% \subtitle{% +% Phonological \& morphological description of the Konkani +% language% +% } % % \begin{document} % \maketitle -% +% % \chapter{Test chapter} % \pex % Department of linguistics @@ -142,16 +184,16 @@ License: The LaTeX Project Public License v1.3c or later. % \begin{center} % \begin{forest} % [NP -% [\head{N}\\ -% Department] -% [PP -% [\head{P}\\ -% of] -% [NP -% [\head{N}\\ -% linguistics] -% ] -% ] +% [\head{N}\\ +% Department] +% [PP +% [\head{P}\\ +% of] +% [NP +% [\head{N}\\ +% linguistics] +% ] +% ] % ] % \end{forest} % \end{center} @@ -164,9 +206,8 @@ License: The LaTeX Project Public License v1.3c or later. %<*class> % \end{macrocode} % \begin{macrocode} -\ProvidesClass{muling}[2020/11/12 v0.1 -A class file for the Department of Linguistics, -University of Mumbai] +\ProvidesClass{muling}[2021/12/08 v0.3 +Department of Linguistics, University of Mumbai] \DeclareOption{digital}{\PassOptionsToClass{oneside}{book}} \newif\iflof \DeclareOption{lof}{\loftrue} @@ -184,108 +225,117 @@ University of Mumbai] \fi \LoadClass{book} % \end{macrocode} -% This part of code loads the \cls{book} class \textit{\&} provides the option -% \verb|digital| for typesetting a document with read-only format \textit{\&} -% option \verb|lof| for automatically adding list of figures. -% \begin{macrocode} -\RequirePackage{hyperref} -\hypersetup{ - colorlinks, - linkcolor=red!60!black, - citecolor=green!60!black, - urlcolor=blue!60!black -} -\RequirePackage[backend=biber,style=apa]{biblatex} -\RequirePackage[linguistics]{forest} -\RequirePackage{tipa} -\RequirePackage{leipzig} -\RequirePackage{expex} -\RequirePackage{ling-macros} -% \end{macrocode} -% This part of code loads some other essential packages for typesetting -% documents with linguistic content. +% This part of code loads the \cls{book} class \textit{\&} +% provides the option \verb|digital| for typesetting a +% document with read-only format \textit{\&} option +% \verb|lof| for automatically adding list of +% figures. \href{https://topanswers.xyz/tex?q=1500#a1728}{Phelype's +% answer} helped me for developing this code. % \begin{macrocode} \makeatletter \let\@supervisor\@empty \def\supervisor#1{% \def\@supervisor{#1}% -}% +} \let\@shorttitle\@empty \def\shorttitle#1{% \def\@shorttitle{#1}% -}% +} \let\@subtitle\@empty \def\subtitle#1{% \def\@subtitle{#1}% -}% +} % \end{macrocode} -% This code enables three additional entries required in the title-page. -% \textit{\&} at various other places. +% This code enables three additional entries required in the +% title-page \& in the declaration \textit{\&} at various +% other places. % \begin{macrocode} +\RequirePackage[backend=biber,style=apa]{biblatex} +\RequirePackage[linguistics]{forest} +\RequirePackage{tipa} +\RequirePackage{leipzig} +\RequirePackage{expex} \RequirePackage{fancyhdr} \pagestyle{fancy} \cfoot{\thepage} \rhead{} \lhead{% - \begin{tabular}{l} + \begin{tabular}{l}% \@author\\% \textsc{% \footnotesize University of Mumbai% }% \end{tabular}% \hfill - \@shorttitle + \@shorttitle, \the\year }% +\RequirePackage{ling-macros} +\AtBeginDocument{% + \RequirePackage{hyperref}% + \hypersetup{% + colorlinks,% + linkcolor=red!60!black,% + citecolor=green!60!black,% + urlcolor=blue!60!black% + }% +} % \end{macrocode} -% This part of code adds the name of the author, the name of the university and -% a short-title with the year of submission at the top right corner of every -% page. \href{https://tex.stackexchange.com/a/525452/174620}{This} answer helped -% me for developing this code. +% This part of code loads some other essential packages for +% typesetting documents with linguistic content \textit{\&} +% the name of the author, the name of the university and a +% short-title with the year of submission at the top right +% corner of every +% page. \href{https://tex.stackexchange.com/a/525452/174620}% +% {This} answer helped me for developing this code. % \begin{macrocode} \newlength{\shift} \setlength{\shift}{0.3in} % \end{macrocode} -% A new length is created for typesetting the title-page at the center of the -% page like in the \cls{article} -% class. \href{https://tex.stackexchange.com/a/514536/174620}{This} answer -% helped me for developing this code. +% A new length is created for typesetting the title-page at +% the center of the page like in the \cls{article} +% class. \href{https://tex.stackexchange.com/a/514536/174620}% +% {This} answer helped me for developing this code. % \begin{macrocode} \renewcommand{\maketitle}{% \thispagestyle{empty}% \addtolength{\oddsidemargin}{\shift}% \fboxsep3em \noindent\fbox{% - \begin{minipage} - [c][\dimexpr\textheight-2\fboxsep-2\fboxrule] - [c]{\dimexpr\linewidth-2\fboxsep-2\fboxrule} - \begin{center} + \begin{minipage}% + [c][\dimexpr\textheight-2\fboxsep-2\fboxrule]% + [c]{\dimexpr\linewidth-2\fboxsep-2\fboxrule}% + \begin{center}% \bigskip \hrule - \vspace{2ex} + \vspace{2ex}% \textbf{% {\LARGE \@title}\\% \vspace{0.2cm}% {\textsc\@subtitle}% - } - \vspace{2ex} + }% + \vspace{2ex}% \hrule \vfill - {\large + {% + \large \textsc{% - \@author% + \@author }% }\\% \vspace{0.5in}% - {\large + {% + \large \textsc{% - supervisor : \@supervisor% + supervisor : \@supervisor }% }\\% \vspace{0.5in}% - {\large + {% + \large \textsc{% - a dissertation submitted in\\ the partial fulfillment of the - requirements for the masters of linguistics% + a dissertation submitted in\\ the partial + fulfillment of the requirements for the masters + of linguistics% }% }\\% \vspace{0.5in}% @@ -296,70 +346,79 @@ University of Mumbai] \smallskip \bigskip \textsc{\@date}% - \end{center} - \end{minipage} + \end{center}% + \end{minipage}% \makeatother - \addtolength{\oddsidemargin}{-\shift} + \addtolength{\oddsidemargin}{-\shift}% } \clearpage\pagebreak - \thispagestyle{empty} + \thispagestyle{empty}% \tableofcontents \clearpage\pagebreak - \thispagestyle{empty} + \thispagestyle{empty}% \phantomsection - \addcontentsline{toc}{section}{Abbreviations} + \addcontentsline{toc}{section}{Abbreviations}% \printglossary \clearpage\pagebreak - \thispagestyle{empty} + \thispagestyle{empty}% \phantomsection - \addcontentsline{toc}{section}{List of tables} + \addcontentsline{toc}{section}{List of tables}% \listoftables \clearpage\pagebreak - \thispagestyle{empty} + \thispagestyle{empty}% \phantomsection - \begin{center} + \begin{center}% \texttt{% \LARGE \textsc{% declaration% }% }% - \end{center} + \end{center}% \bigskip \texttt{% - As required by the University Regulation No: R. 1972 I wish to state that the - work embodied in this thesis titled \@title{} : \@subtitle{} forms my own - contribution to the research work carried out under the guidance of - \@supervisor{} at the University of Mumbai.\\ - \indent This work has not been submitted for any other degree of this or any - other university. Whenever references have been made to previous works of - others, it has been clearly indicated as such and included in the - bibliography.\\ + As required by the University Regulation No: R. 1972 I + wish to state that the work embodied in this thesis + titled \@title{} : \@subtitle{} forms my own + contribution to the research work carried out under the + guidance of \@supervisor{} at the University of + Mumbai.\\ + \indent This work has not been submitted for any other + degree of this or any other university. Whenever + references have been made to previous works of others, + it has been clearly indicated as such and included in + the bibliography.\\ \bigskip \texttt{% \flushright{% - Date : \@date\\ - \vspace{0.5in} + Date : \@date\\% + \vspace{0.5in}% }% - Signature of the candidate :\\ + Signature of the candidate :\\% \hfill Name : \@author }\\% \bigskip \flushleft{% - Certified by -\\ - \vspace{0.5in} - Signature of the guide :\\ + Certified by -\\% + \vspace{0.5in}% + Signature of the guide :\\% Name : \@supervisor }% }% -}% +} % \end{macrocode} -% This code typesets a customized title-page, adds a table of contents, list of -% tables\footnote{Having a list of figures is optional as seen earlier.} and the -% declaration text with all the details filled \textit{\&} some blank space left -% for the signature. +% This code typesets a customized title-page, adds a table +% of contents, list of tables\footnote{Having a list of +% figures is optional as seen earlier.} and the declaration +% text with all the details filled \textit{\&} some blank +% space left for the signature. % \begin{macrocode} -%</class> +%</class> % \end{macrocode} % \end{implementation} +% \newpage +% \phantomsection +% \addcontentsline{toc}{section}{GNU Free Documentation +% License} +% \include{gfdl-tex.tex} % \Finale
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/muling/muling.ins b/Master/texmf-dist/source/latex/muling/muling.ins index f833ba10ace..1a7a353bbe7 100644 --- a/Master/texmf-dist/source/latex/muling/muling.ins +++ b/Master/texmf-dist/source/latex/muling/muling.ins @@ -5,33 +5,37 @@ \askforoverwritefalse \preamble - ---------------------------------------------------------------------------- +----------------------------------------------------------- Class: muling -Author: Niranjan -Description: A class file for the Department of Linguistics, University of - Mumbai -Repository: https://gitlab.com/niranjanvikastambe/muling -Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues -License: The LaTeX Project Public License v1.3c or later. ---------------------------------------------------------------------------- -This work may be distributed and/or modified under the conditions of the -LaTeX Project Public License, either version 1.3c 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. - -This work has the LPPL maintenance status `maintained'. - -The Current Maintainer of this work is Niranjan. - -This work consists of the files muling.dtx - muling.ins -and the derived file muling.cls. ---------------------------------------------------------------------------- - +Author: निरंजन +Version: 0.3 (08 December, 2021) +Description: A class file for the Department of + Linguistics, University of Mumbai +Repository: https://git.gnu.org.ua/marathi.git +Bug tracker: https://puszcza.gnu.org.ua/bugs/?group=muling +License: GPLv3+, GFDLv1.3+ +----------------------------------------------------------- +LaTeX Package muling v0.3 +Copyright © 2020, 2021 निरंजन + +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 3 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, see +<https://www.gnu.org/licenses/>. + +The current maintainer of this work is निरंजन. +----------------------------------------------------------- \endpreamble \usedir{tex/latex/\jobname} |