diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/gb4e/gb4e.sty | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/gb4e/gb4e.sty b/Master/texmf-dist/tex/latex/gb4e/gb4e.sty index b156829f61a..e56f727252d 100644 --- a/Master/texmf-dist/tex/latex/gb4e/gb4e.sty +++ b/Master/texmf-dist/tex/latex/gb4e/gb4e.sty @@ -23,6 +23,19 @@ % compatibility. If you have problems, you can try disabling it by % placing the command \noautomath immediately after loading the gb4e package. % [Added 2009/12/28] + +% CHANGE LOG +% +% 2009/12/28 +% - Added README.txt with LPPL license statement. +% - Updated sub- and superscripts outside of math mode. They now +% combine properly, and the feature can be turned off with \noautomath +% (and back on with \automath). +% - Removed references to \rm, for compatibility with memoir.cls +% - \@footnotetext is no longer modified destructively; compatible with +% other packages that modify it. +% - \eachwordone etc. can now be defined to font commands that take +% arguments (e.g., to \textit). % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -167,17 +180,16 @@ \newif\if@xrec\@xrecfalse \@definecounter{fnx} -%%%% adapted from latex.tex to get examples in footnotes right +%%%%% Get examples in footnotes right +% Replaces code in original gb4e.sty: changed 2008/12/28 by Alexis +% Same function as before, but the old version interacted poorly with +% other packages that redefine \@footnotetext. + +\let\@gbsaved@footnotetext=\@footnotetext \long\def\@footnotetext#1{% \@noftnotefalse\setcounter{fnx}{0}% - \insert\footins{\reset@font\footnotesize - \interlinepenalty\interfootnotelinepenalty - \splittopskip\footnotesep - \splitmaxdepth \dp\strutbox \floatingpenalty \@MM - \hsize\columnwidth \@parboxrestore - \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext - {\rule{\z@}{\footnotesep}\ignorespaces - #1\strut}}\@noftnotetrue} + \@gbsaved@footnotetext{#1}% + \@noftnotetrue} \newcount\@xnumdepth \@xnumdepth = 0 |