-
Notifications
You must be signed in to change notification settings - Fork 0
/
localcommands.tex
60 lines (44 loc) · 1.61 KB
/
localcommands.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
%add all your local new commands to this file
% Formatting
% \def\ci{\emph}
%\newcommand{\xci}[1]{\textbf{\textipa{#1}}}
\def\xci{}
\def\sn{\textbf}
\newcommand{\gl}[1]{`#1'}
\newcommand{\term}[1]{\emph{#1}}
\def\pl{}
\def\tbf{\textbf}
%\renewcommand{\s}[1]{\sc \MakeLowercase{#1}}
\newcommand{\mc}[3]{\multicolumn{#1}{#2}{#3}}
\newcommand{\SU}[1]{$^{\text{{#1}}}$}
\newcommand{\su}[1]{$_{\text{{#1}}}$}
\newcommand{\pref}[1]{(\ref{#1})}
\newcommand{\sref}[1]{Section~\ref{#1}}
\newcommand{\tref}[1]{Table~\ref{#1}}
\newcommand{\fref}[1]{Figure~\ref{#1}}
% Miscellaneous symbols
\def\goesto{$\rightarrow$\hspace{2pt}}
\def\bad{\hspace{-5pt}*}
% Tones
\newcommand\HM[1]{\ipaclap{#1}{\rotatebox{180}{\emph{\raisebox{-.76em}{\texthighrise{}}}}}}
\newcommand\ML[1]{\ipaclap{#1}{\rotatebox{180}{\emph{\raisebox{-.76em}{\textlowrise{}}}}}}
\newcommand\MH{\texthighrise}
\def\LM{\textlowrise}
\def\LL{\textdoublegrave}
\def\Hline{\hline}
\def\Lg{Language}
\newcommand\namecite{\citet}
\newcommand\citeboth{\citealt}
\newcommand{\quotecite}[1]{\citeauthor{#1}'s (\citeyear{#1})}
\renewcommand\cite{\citep}
\newcommand{\nocaption}{{\color{red} Please provide a caption}}
\newcommand{\biberror}[1]{{\color{red} #1}}
% \newcommand{\shadecell}{\cellcolor{black!20!white}}
\newcommand{\textcyrillic}[1]{#1}
\newcommand{\error}[1]{{\color{red}{#1}}}
% \renewcommand{\connect}[2]{}
\newcommand{\ilit}[1]{#1\il{#1}}
\newcommand{\twikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};}
\newenvironment{modquote}[1][6mm]% slightly less indented quote for hyphenation issues
{\list{}{\leftmargin=#1\rightmargin=0mm}\item[]}%
{\endlist}