summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gb4e
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-16 00:25:25 +0000
committerKarl Berry <karl@freefriends.org>2010-01-16 00:25:25 +0000
commit2dedd34e83a166c361e6e3d1af0a6681235d4d1e (patch)
treef6691a0ed1f044442d03e9952be88a60d1d8ec56 /Master/texmf-dist/tex/latex/gb4e
parent2cdccebac3ad373f3ae1657916375f7c2bc964db (diff)
gb4e update (15jan10)
git-svn-id: svn://tug.org/texlive/trunk@16735 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gb4e')
-rw-r--r--Master/texmf-dist/tex/latex/gb4e/gb4e.sty30
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