%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% %% This is a style file created on December 15, %% %% 2004 by Aaron F. Kaplan. It contains an %% %% assortment of features designed to facilitate %% %% linguistic writing in LaTeX. This package %% %% containts elements for phonology, syntax, and %% %% semantics. It requires the xspace, linguex, %% %% and colortbl packages. %% %% %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ProvidesPackage{aaronsling}[2006/06/10 v1.6 (Aaron F. Kaplan)] \RequirePackage{tipa, xspace, linguex, colortbl, bbding} % \newcommand{\exhead}[1]{\emph{#1}} %%%% put your example headings in this command to format them all the same; change the command to change all your %%%% example headings at once. \newcommand{\sub}[1]{$_{\textnormal{\scriptsize #1}}$} %%%% puts subscripts in the normal shape when you use \sub, rather than italics \newcommand{\con}[1]{{\sc #1}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%% Phonology %%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%% For IPA (used with TIPA) %%% % \newlength{\datalength} %%%% the new length \datalength will separate examples from their glosses; see below \setlength{\datalength}{1.5in} %%%% the default length is 1.5in. Change this as needed with the \setlength command. \newlength{\derivlength} %%%% the new length \datalength will separate examples from their glosses; see below \setlength{\derivlength}{1.5in} %%%% the default length is 1.5in. Change this as needed with the \setlength command. \newcommand{\ipa}[1]{\emph{\textipa{#1}}} %%%% italicizes IPA text so you don't have to use both \it and \textipa \newcommand{\data}[2]{\makebox[\datalength][l]{\textipa{#1}}`#2'} %%%% IPA text (first argument) with gloss (in single quotes), separated by some space \newcommand{\deriv}[3]{\makebox[\datalength][l]{/\textipa{#1}/} $\rightarrow$ \makebox[\derivlength][l]{\textipa{#2}}`#3'}%%%% derivation: arg. 1 = input, arg. 2 = %%%% ouptut, arg. 3 = gloss (in quotes} \newcommand{\datavar}[3]{\makebox[#1][l]{\textipa{#2}}`#3'} %%%% same as above, but the first argument now defines the length of the IPA's mbox \newcommand{\derivvar}[5]{\makebox[#1][l]{/\textipa{#3}/} $\rightarrow$ \makebox[2][l]{\textipa{#4}}`#5'}%%%% same as above, but 1st 2 args. define mbox lengths \newcommand{\restoredata}{\setlength{\datalength}{1.5in}} % %%% OT Machinery %%% % \newcommand{\hand}{\HandRight} %%%% defines \hand to print out the OT hand using the bbding package % % %%% Alternative OT hand--uncomment and comment above to use: %\font\speciala=pzdr at 12pt %%%% calls up the font containing the OT hand % \newcommand{\hand}{\rlap{\speciala\char'053}} %%%% defines \hand to print out the OT hand % % \newcommand{\csh}{\cellcolor[gray]{0.7}} %%%% \shade shades a cell in a table; requires the package colortbl % % \newcommand{\rank}{$\gg$\xspace} %%%% \rank prints out the OT ranking symbol: >> % % % % \newcounter{candidate}[ExNo] %%%% defines a new counter for automatic numbering of candidates in OT Tableaux \newcommand{\cand}{\refstepcounter{candidate}\alph{candidate}.~} %%%% sets the format for the candidate label: a. \renewcommand{\thecandidate}{\hbox{(\alph{candidate})}} %%%% tells LaTeX to print the candidate label with \ref in the format (a) % % % % %%% Common constraints (in small caps) %%% % \newcommand{\dep}{{\sc Dep}\xspace} \newcommand{\otmax}{{\sc Max}\xspace} \newcommand{\complex}{{\sc *Complex}\xspace} \newcommand{\onset}{{\sc Onset}\xspace} \newcommand{\nocoda}{{\sc NoCoda}\xspace} \newcommand{\contig}{{\sc Contiguity}\xspace} \newcommand{\linearity}{{\sc Linerarity}\xspace} \newcommand{\uniformity}{{\sc Uniformity}\xspace} \newcommand{\parse}{{\sc Parse}\xspace} \newcommand{\parsesyll}{{\sc Parse-$\sigma$}\xspace} \newcommand{\clash}{{\sc *Clash}\xspace} \newcommand{\nonfin}{{\sc NonFinality}\xspace} \newcommand{\stw}{{\sc Stress-to-Weight}\xspace} \newcommand{\wbp}{{\sc Weight-by-Position}\xspace} \newcommand{\wsp}{{\sc Weight-to-Stress}\xspace} \newcommand{\otfill}{{\sc Fill}\xspace} % % % % \newcommand{\downstep}{\super{!}} % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%% Syntax %%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \newcommand{\gap}{\underline{~~~~}\xspace} %%%% \gap creates an underlined space to indicate a gap in a sentence % % \newcommand{\xbar}[1]{$\overline{\mbox{#1}}$} %%%% \xbar{} prints the argument with a line over it % % % % %%% Feature Matrices %%% % % % Puts one argument over the other % \newcommand{\xover}[2]{$\hbox{\hfil {#1}\hfil}\atop \hbox{\hfil {#2}\hfil}$} % % Puts one argument over the other and puts curly brackets around the % whole thing % % \newcommand{\xoverb}[2]{$\left\{{\hbox{\hfil {#1}\hfil}\atop \hbox{\hfil {#2}\hfil}}\right\}$} % % Puts one argument over the other and puts square brackets around the % whole thing % % \newcommand{\xoversb}[2]{$\left\lbrack{\hbox{\hfil {#1}\hfil}\atop \hbox{\hfil {#2}\hfil}}\right\rbrack$} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%% Semantics %%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \newcommand{\sem}[2][M\!,g]{\mbox{ $[\![ #2 ]\!]^{#1}$}} %%%% Denotation sign with superscrips \newcommand{\sema}[2][]{\mbox{ $[\![ #2 ]\!]^{#1}$}} %%%% Denotation sign without superscrips