summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/phonrule/README2
-rw-r--r--Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdfbin36154 -> 36682 bytes
-rw-r--r--Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex12
-rw-r--r--Master/texmf-dist/tex/latex/phonrule/phonrule.sty7
4 files changed, 14 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/phonrule/README b/Master/texmf-dist/doc/latex/phonrule/README
index c2a8f8febf3..dbe2c065d43 100644
--- a/Master/texmf-dist/doc/latex/phonrule/README
+++ b/Master/texmf-dist/doc/latex/phonrule/README
@@ -1,4 +1,4 @@
-PhonRule.sty v1.1.0
+PhonRule.sty v1.2.0
(c) 2015 Stefano Coretta
diff --git a/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdf b/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdf
index 0ed39502f20..b3d58cfc364 100644
--- a/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdf
+++ b/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex b/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex
index 2afc513011f..1a14dde6431 100644
--- a/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex
+++ b/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex
@@ -8,7 +8,7 @@
\usepackage{phonrule}
\usepackage{gb4e}
-\title{The \texttt{phonrule} package (v1.1.0)}
+\title{The \texttt{phonrule} package (v1.2.0)}
\author{Stefano Coretta \\ \texttt{stefano.coretta \textit{at} me.com}}
\reversemarginpar
@@ -133,14 +133,14 @@ You can use \verb|\env|, \verb|\envl|, \verb|\envr|, \verb|\envb| for rules with
\ex
\begin{verbatim}
\phon{x}{\oneof{
- \envr{w}{\mbox{z}} \\
+ \envr{w}{z} \\
\envl{v}{\phonfeat{
+feature x \\
−feature y
}}}}
\end{verbatim}
\ex \phon{x}{\oneof{
- \envr{w}{\mbox{z}} \\
+ \envr{w}{z} \\
\envl{v}{\phonfeat{
+feature x \\
−feature y
@@ -148,6 +148,12 @@ You can use \verb|\env|, \verb|\envl|, \verb|\envr|, \verb|\envb| for rules with
\end{exe}
\section{Changelog}
+\subsection{v1.2.0}
+\begin{itemize}
+\item Added: \texttt{ragged2e} package for \verb+\Centering+ command
+\item Fixed: now the content of the feature matrices is centred and not left aligned
+\end{itemize}
+
\subsection{v1.1.0}
\begin{itemize}
\item Changed: definition of \verb+\phonfeat+ and \verb+\oneof+ with \verb+\pbox+ (requires package \texttt{pbox})
diff --git a/Master/texmf-dist/tex/latex/phonrule/phonrule.sty b/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
index 1e313c2bb5a..f519fefe1e3 100644
--- a/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
+++ b/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
@@ -4,9 +4,10 @@
% LPPL LaTeX Public Project License
%
\ProvidesPackage{phonrule}
- [2015/07/04 v1.1.0 LaTeX package for typesetting phonological rules]
+ [2015/07/04 v1.2.0 LaTeX package for typesetting phonological rules]
\RequirePackage{pbox}
+\RequirePackage{ragged2e}
\let\myDate\date
\newcommand{\phon} [2] {#1 \ensuremath{\rightarrow} #2}
@@ -19,8 +20,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} \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
+\newcommand{\phonfeat}[1]{\ensuremath{\left[\begin{array}{c} \pbox{\textwidth}{\Centering #1} \end{array}\right]}} % set environment for feature matrix with square brackets
+\newcommand{\oneof}[1]{\ensuremath{\left\{\begin{array}{l} \pbox{\textwidth}{\Centering #1} \end{array}\right.}} % set environment for one of multiple with curly brackets
\endinput
%%