diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-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} |