summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-17 21:45:17 +0000
committerKarl Berry <karl@freefriends.org>2021-03-17 21:45:17 +0000
commitc0f93dfe2ef3ac57aae4ec69d89970f7915fd177 (patch)
treeb9a45be9dd496a3e9411d08a872c47bd8ed86b6b /Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
parent79047ab6faaf371d311395c493fa7f2d41b69eee (diff)
langsci (17mar21)
git-svn-id: svn://tug.org/texlive/trunk@58476 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty34
1 files changed, 26 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
index c70f7e35f7e..4edfa8672c4 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
@@ -8,6 +8,7 @@
%% Licence:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage{pbox} % boxes with maximum width
% Heiko Oberdiek
% http://tex.stackexchange.com/questions/136644/vertical-space-in-interaction-with-figure-center-environment
\newcommand{\oneline}[1]{%
@@ -109,7 +110,6 @@
}
\newcommand{\fittable}[1]{\resizebox{\textwidth}{!}{#1}}
-\usepackage{tabularx}
\usepackage{array}
\newenvironment{widetabular}[1][1]
{\tabularx{#1\textwidth}}
@@ -134,6 +134,7 @@
\node at (2.25,1) (O) {ɔ};
}
+\usepackage{tabularx}
%no hyphenation left alingned
\newcolumntype{Q}{>{\raggedright\arraybackslash}X}
%no hyphenation right aligned
@@ -147,9 +148,6 @@
%no hyphenation right aligned fixed width
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
-\newcolumntype{d}[1]{D{.}{.}{#1}}
-
-
% Underlining in gb4e-example Environments. Usual underlining commands that span multiple words do not work, because gb4e would parse it as one word.
% Example: \underline{My example phrase} should become \ulp{My}{~~~~~} \ulp{example}{~~~~~} \ule{phrase}
% Note: The 2nd Argument of the \ulp command is filled in by experience - if you are not familiar with the command, you should experiment a bit. Usually, five tildes are enough, but be sure to check the outcome.
@@ -216,8 +214,8 @@
% \def\blx@maxline{77}
% \makeatother
+\usepackage{todonotes}
\newcommand{\rephrase}[2]{{\color{yellow!30!black}#2}\todo{replaced `#1'}}
-
\newcommand{\missref}[2][]{\todo[#1]{missing reference #2}}
\newenvironment{indentquote}[1]%
@@ -269,7 +267,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% for chapters without abstract
-\newcommand{\noabstract}{\vspace*{-2\baselineskip}}
+\newcommand{\noabstract}{\relax}
%%%%%%%%%%%%%%%%%%%%
%%%% %%%%%
@@ -277,10 +275,8 @@
%%%% %%%%%
%%%%%%%%%%%%%%%%%%%%
-
\newcommand{\LSfrac}[1]{{\addfontfeature{Fractions=On}#1}}% Use the fraction glyphs shipped with Libertine. The argument is n/m, where n and m are integers
-
% Provide a raised tie bar for diphthongs and affricates with ascenders
\newcommand{\hitie}[2]{%
\mbox{#1}%
@@ -333,3 +329,25 @@
\usepackage{pifont}
\newcommand*{\langscicheckmark}{\ding{51}}
\newcommand*{\langscicross}{\ding{55}}
+
+
+\providecommand{\citegen}[2][]{\citeauthor{#2}'s (\citeyear*[#1]{#2})}
+\providecommand{\citeapo}[2][]{\citeauthor{#2}' (\citeyear*[#1]{#2})}
+
+\providecommand{\protectedex}[1]{\noindent\parbox{\linewidth}{#1}}
+
+\providecommand{\largerpage}[1][1]{\enlargethispage{#1\baselineskip}}
+
+% vertical space to structure tables
+\providecommand{\tablevspace}{\\[-.5em]}
+
+\providecommand{\biberror}[1]{{\color{red}#1}}
+
+\providecommand{\lsptoprule}{\midrule\toprule}
+\providecommand{\lspbottomrule}{\bottomrule\midrule}
+
+\providecommand{\REF}[1]{(\ref{#1})}
+
+
+\newcommand{\glottocodes}[1]{}
+\newcommand{\keywords}[1]{}