summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-21 22:17:55 +0000
committerKarl Berry <karl@freefriends.org>2017-04-21 22:17:55 +0000
commite417ef469ba6fed7dcc67bee10d2d08ee1425c4f (patch)
treec3548f808a4e9146657d04f2fe3804df1a5e50af
parent57376b4334ee13c6c52710eed0952b2d0ac61227 (diff)
phonrule (21apr17)
git-svn-id: svn://tug.org/texlive/trunk@43963 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/phonrule/README.md4
-rw-r--r--Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdfbin43329 -> 43917 bytes
-rw-r--r--Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex17
-rw-r--r--Master/texmf-dist/tex/latex/phonrule/phonrule.sty10
4 files changed, 19 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/phonrule/README.md b/Master/texmf-dist/doc/latex/phonrule/README.md
index d302726dbcc..00960958f02 100644
--- a/Master/texmf-dist/doc/latex/phonrule/README.md
+++ b/Master/texmf-dist/doc/latex/phonrule/README.md
@@ -1,6 +1,6 @@
-# phonrule.sty (v1.3.1)
+# phonrule.sty (v1.3.2)
-(c) 2013-2016 Stefano Coretta
+(c) 2013-2017 Stefano Coretta
This packages provides macros for typesetting phonological rules like those in Sound Pattern of English (Chomsky and Halle 1968). It is recommended for classical linear phonology.
diff --git a/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdf b/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdf
index 305652a1606..f27ea81a739 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 60619379c52..b4c88e5fb3a 100644
--- a/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex
+++ b/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex
@@ -11,7 +11,7 @@
\usepackage{phonrule}
\usepackage{gb4e}
-\title{The \texttt{phonrule} package (v1.3.1)}
+\title{The \texttt{phonrule} package (v1.3.2)}
\author{Stefano Coretta \\ \texttt{stefano.coretta \textit{at} postgrad.manchester.ac.uk}}
\reversemarginpar
@@ -89,20 +89,21 @@ The \verb+\oneof+ command provides the possibility to compile several contexts,
}
\end{exe}
-The \verb+\phonfeat+ command allows you to insert feature specifications:
+The \verb+\phonfeat+ command allows you to insert feature specifications.
+The possible values are \texttt{[c]} for centre (the default), \texttt{[l]} for left-aligned, and \texttt{[r]} for right-aligned.
\begin{exe}
\ex
\begin{lstlisting}
\phonc{t}{ts}{\phold
- \phonfeat{
+ \phonfeat[l]{
−consonantal \\
+high \\
+front}
}
\end{lstlisting}
\ex \phonc{t}{ts}{\phold
- \phonfeat{
+ \phonfeat[l]{
−consonantal \\
+high \\
+front}
@@ -133,7 +134,7 @@ The \verb|oneof| command accepts an optional argument which tells the alignment
\end{exe}
You can use \verb|\env|, \verb|\envl|, \verb|\envr|, \verb|\envb| for rules with more than one output: these commands typeset only the different outputs with their respective environments.
-The possible values are \texttt{[c]} for centre (the default), \texttt{[l]} for left-aligned, and \texttt{[r]} for right aligned.
+The possible values are \texttt{[c]} for centre (the default), \texttt{[l]} for left-aligned, and \texttt{[r]} for right-aligned.
The following example shows the use of the optional argument with \texttt{[l]}.
The \verb|\env|, \verb|\envl|, \verb|\envr|, \verb|\envb| have a starred version to be used when an optional argument is set in \verb|\oneof|.
@@ -157,6 +158,12 @@ The \verb|\env|, \verb|\envl|, \verb|\envr|, \verb|\envb| have a starred version
\section{Change log}
+\subsection*{v1.3.2 - 2017-04-16}
+\subsubsection*{Added}
+\begin{itemize}
+ \item optional argument for text alignment in \verb+\phonfeat+ command
+\end{itemize}
+
\subsection*{v1.3.1 - 2017-01-02}
\subsubsection*{Added}
\begin{itemize}
diff --git a/Master/texmf-dist/tex/latex/phonrule/phonrule.sty b/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
index cb1445e3f30..2039c1e36ad 100644
--- a/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
+++ b/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
@@ -1,6 +1,6 @@
-% phonrule.sty v1.3.1
+% phonrule.sty v1.3.2
%
-% (c) 2016 Stefano Coretta
+% (c) 2013-2017 Stefano Coretta
%
% This program can redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
@@ -8,7 +8,7 @@
% version 1 of the License, or (at your option) any later version.
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{phonrule}
- [2017/01/02 v1.3.1 LaTeX package for typesetting phonological rules]
+ [2017/04/16 v1.3.2 LaTeX package for typesetting phonological rules]
\newcommand{\phold}{\rule[-1.5pt]{1.5ex}{.5pt}}
\newcommand{\parrow}{\ensuremath{\rightarrow}}
@@ -47,9 +47,9 @@
}
\newcommand*{\@envb}[4]{\@env{#1}{#2}{#3\phold#4}}
-\newcommand*{\phonfeat}[1]{%
+\newcommand*{\phonfeat}[2][c]{%
\ensuremath{%
- \left[\begin{tabular}{c}#1\end{tabular}\right]%
+ \left[\begin{tabular}{#1}#2\end{tabular}\right]%
}%
}
\newcommand*{\oneof}[2][c]{%