blob: 13a8050d4c2c3786b3d80a27f506651ae8919773 (
plain)
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
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-basic.sty
%% Author: Language Science Press (http://langsci-press.org)
%% Date: 2020-03-17 13:12 UTC
%% Purpose: This file contains essential macros and is included
%% into langscibook.cls
%% Language: LaTeX
%% Licence:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\lsptoprule}{\midrule\toprule}
\newcommand{\lspbottomrule}{\bottomrule\midrule}
\newcommand{\REF}[1]{(\ref{#1})}
\newcommand{\ob}{{\upshape [}} %opening bracket
\newcommand{\cb}{{\upshape ]}} %closing bracket
\newcommand{\op}{{\upshape (}} %opening paren
\newcommand{\cp}{{\upshape )}} %closing paren
\newcommand{\db}{\hspaceThis{[}} %dummy space for [ in IMT line
% \newcommand{\rmfnm}{{\upshape\footnotemark}} %romanfootnotemark
\newcommand{\citegen}[2][]{\citeauthor{#2}'s (\citeyear*[#1]{#2})}
\newcommand{\citeapo}[2][]{\citeauthor{#2}' (\citeyear*[#1]{#2})}
\newcommand{\protectedex}[1]{\noindent\parbox{\linewidth}{#1}}
\newcommand{\largerpage}[1][1]{\enlargethispage{#1\baselineskip}}
% old font commands
\renewcommand{\it}{\itshape}
\renewcommand{\bf}{\bfseries}
\renewcommand{\sc}{\scshape}
\renewcommand{\rm}{\upshape}
% vertical space to structure tables
\newcommand{\tablevspace}{\\[-.5em]}
\newcommand{\biberror}[1]{{\color{red}#1}}
|