From f51d313137f04b8d1ec3256f298833179087f8d5 Mon Sep 17 00:00:00 2001 From: Sebastian Bauer <75776786+yax-lakam-tuun@users.noreply.github.com> Date: Sat, 6 May 2023 22:04:10 +0000 Subject: [PATCH] [#29] Add linguistic commands --- maya.sty | 1 + maya/linguistics.sty | 15 +++++++++++++++ preamble.sty | 5 +++++ 3 files changed, 21 insertions(+) create mode 100755 maya/linguistics.sty diff --git a/maya.sty b/maya.sty index f26d7cd..40f608b 100644 --- a/maya.sty +++ b/maya.sty @@ -3,3 +3,4 @@ \RequirePackage{maya/codices} \RequirePackage{maya/calendars} +\RequirePackage{maya/linguistics} diff --git a/maya/linguistics.sty b/maya/linguistics.sty new file mode 100755 index 0000000..fc2511d --- /dev/null +++ b/maya/linguistics.sty @@ -0,0 +1,15 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{maya/linguistics}[Package for all kings of linguistics] +\RequirePackage{xspace} + +\newcommand{\syllable}[1]{\textbf{\expandafter\MakeLowercase\expandafter{#1}}} +\newcommand{\logogram}[1]{\textbf{\expandafter\MakeUppercase\expandafter{#1}}} +\newcommand{\writing}[3]{\textbf{#1}, \emph{#2}, "#3"} +\newcommand{\mayan}[1]{\emph{#1}\xspace} +\newcommand{\english}[1]{\emph{#1}\xspace} +\newcommand{\spanish}[1]{\emph{#1}\xspace} +\newcommand{\nahuatl}[1]{\emph{#1}\xspace} +\newcommand{\nullmorpheme}{$\emptyset$\xspace} +\newcommand{\thompson}[1]{T#1\xspace} +\newcommand*\elide{\textup{[\,\dots]}} +\newcommand{\remark}[1]{\textup{[#1]}} \ No newline at end of file diff --git a/preamble.sty b/preamble.sty index 4d8069d..232e5ec 100644 --- a/preamble.sty +++ b/preamble.sty @@ -22,6 +22,11 @@ \RequirePackage[hypcap=false]{caption} \RequirePackage{subcaption} +% for writing definitions +\RequirePackage{amsthm} +\theoremstyle{definition} +\newtheorem{definition}{Definition}[section] + % our own stuff everything maya located maya.sty \RequirePackage{maya} %