texlive[43963] Master/texmf-dist: phonrule (21apr17)
commits+karl at tug.org
commits+karl at tug.org
Sat Apr 22 00:17:56 CEST 2017
Revision: 43963
http://tug.org/svn/texlive?view=revision&revision=43963
Author: karl
Date: 2017-04-22 00:17:55 +0200 (Sat, 22 Apr 2017)
Log Message:
-----------
phonrule (21apr17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/phonrule/README.md
trunk/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdf
trunk/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex
trunk/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
Modified: trunk/Master/texmf-dist/doc/latex/phonrule/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/phonrule/README.md 2017-04-21 22:17:42 UTC (rev 43962)
+++ trunk/Master/texmf-dist/doc/latex/phonrule/README.md 2017-04-21 22:17:55 UTC (rev 43963)
@@ -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.
Modified: trunk/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex 2017-04-21 22:17:42 UTC (rev 43962)
+++ trunk/Master/texmf-dist/doc/latex/phonrule/phonrule-doc.tex 2017-04-21 22:17:55 UTC (rev 43963)
@@ -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,13 +89,14 @@
}
\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}
@@ -102,7 +103,7 @@
}
\end{lstlisting}
\ex \phonc{t}{ts}{\phold
- \phonfeat{
+ \phonfeat[l]{
−consonantal \\
+high \\
+front}
@@ -133,7 +134,7 @@
\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 @@
\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}
Modified: trunk/Master/texmf-dist/tex/latex/phonrule/phonrule.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/phonrule/phonrule.sty 2017-04-21 22:17:42 UTC (rev 43962)
+++ trunk/Master/texmf-dist/tex/latex/phonrule/phonrule.sty 2017-04-21 22:17:55 UTC (rev 43963)
@@ -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]{%
More information about the tex-live-commits
mailing list