summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/phonrule
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-07-04 21:46:41 +0000
committerKarl Berry <karl@freefriends.org>2015-07-04 21:46:41 +0000
commit3c6f578ab967bc9d2cf87243bb1121efa2841383 (patch)
treebd55afc7fb293885a095e041bf08231959796190 /Master/texmf-dist/tex/latex/phonrule
parentb2005c74519c2b28a5192b1d297950b05774bff7 (diff)
phonrule (4jul15)
git-svn-id: svn://tug.org/texlive/trunk@37765 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/phonrule')
-rw-r--r--Master/texmf-dist/tex/latex/phonrule/phonrule.sty10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/phonrule/phonrule.sty b/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
index 5da7119c269..1e313c2bb5a 100644
--- a/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
+++ b/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
@@ -1,10 +1,12 @@
% PhonRule
%
-% (c) Stefano Coretta
+% (c) 2015 Stefano Coretta
% LPPL LaTeX Public Project License
%
\ProvidesPackage{phonrule}
- [2011/01/11 v1.0.0 LaTeX package for typesetting phonological rules]
+ [2015/07/04 v1.1.0 LaTeX package for typesetting phonological rules]
+
+\RequirePackage{pbox}
\let\myDate\date
\newcommand{\phon} [2] {#1 \ensuremath{\rightarrow} #2}
@@ -17,8 +19,8 @@
\newcommand{\envr} [2] {#1 \ensuremath{/} \rule[-1.5pt]{1.5ex}{.5pt}#2}
\newcommand{\envl} [2] {#1 \ensuremath{/} #2\rule[-1.5pt]{1.5ex}{.5pt}}
\newcommand{\envb} [3] {#1 \ensuremath{/} #2\rule[-1.5pt]{1.5ex}{.5pt}#3}
-\newcommand{\phonfeat}[1]{\ensuremath{\left[\begin{array}{c} #1 \end{array}\right]}} % set environment for feature matrix with square brackets; use \mbox{} \\
-\newcommand{\oneof}[1]{\ensuremath{\left\{\begin{array}{l} #1 \end{array}\right.}} % set environment for one of multiple with curly brackets; use \mbox{} \\
+\newcommand{\phonfeat}[1]{\ensuremath{\left[\begin{array}{c} \pbox{\textwidth}{#1} \end{array}\right]}} % set environment for feature matrix with square brackets
+\newcommand{\oneof}[1]{\ensuremath{\left\{\begin{array}{l} \pbox{\textwidth}{#1} \end{array}\right.}} % set environment for one of multiple with curly brackets
\endinput
%%