diff options
author | Karl Berry <karl@freefriends.org> | 2014-03-28 21:33:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-03-28 21:33:23 +0000 |
commit | 46aa657c376559aa9bab5ca73a107a4f243100b0 (patch) | |
tree | 8540d3f3f15741f43c72a07454aa1216edea67b7 /Master/texmf-dist/tex/latex/philex | |
parent | c8d2f53c11a089e8f7d9c0aefc744dbc73646106 (diff) |
philex (28mar14)
git-svn-id: svn://tug.org/texlive/trunk@33315 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/philex')
-rw-r--r-- | Master/texmf-dist/tex/latex/philex/philex.sty | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/philex/philex.sty b/Master/texmf-dist/tex/latex/philex/philex.sty index 608d6ed988a..119369cdfa2 100644 --- a/Master/texmf-dist/tex/latex/philex/philex.sty +++ b/Master/texmf-dist/tex/latex/philex/philex.sty @@ -1,8 +1,9 @@ %This is a small package with additions to Wolfgang Sternefeld's linguex package (adapted to version 4.3). It provides extended functions for cross-referencing and repeating numbered and named sentences, additional formatting options and hyperref support. %Author: Peter Pagin (with a contribution by Robin Fairbairns). %email: peter.pagin@philosophy.su.se -%Date: 2013.09.09 -%Version: 1.1 +%Date: 2014.03.28 +%Version: 1.2 +%License type: lppl \NeedsTeXFormat{LaTeX2e} @@ -23,7 +24,6 @@ \newcounter{altsub} \newcounter{altsubsub} \renewcommand{\thealtsub}{\subettan{altsub}} -%\renewcommand{\thealtsubsub}{\thealtsub\refdash\Exroman{altsubsub}} \renewcommand{\Exroman}{\roman} \newcommand{\refdash}{-} @@ -442,10 +442,10 @@ \fi} %Cross-reference without brackets -\newcommand{\rn}[2][]{ -\ifhyperref +\newcommand{\rn}[2][]{% +\ifhyperref% \hyperlink{#2}{\csname#2\endcsname}#1% -\else +\else% \csname#2\endcsname#1% \fi} @@ -538,6 +538,9 @@ \newcommand{\sab}{\renewcommand{\SubExRBr}{)}\renewcommand{\SubExlabel}{\SubExLBr\alph{SubExNo}\SubExRBr}\renewcommand{\theSubExNo}{\arabic{ExNo}\alph{SubExNo}}} +%Grammaticality and other judgments +\newlength{\grlen} +\newcommand{\oddity}[1]{\settowidth{\grlen}{#1}\hspace{-\grlen}#1} |