diff options
author | Karl Berry <karl@freefriends.org> | 2011-07-31 22:54:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-07-31 22:54:58 +0000 |
commit | 64c5bbc5798f371acc690384360e31e814e86156 (patch) | |
tree | 0c5fee88cf97f73c6e51cc94ab987f42f32bd245 /Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex | |
parent | 1f05122edd891a75b0c057209e9ff46a265d3119 (diff) |
msu-thesis (tl mail 30jul11)
git-svn-id: svn://tug.org/texlive/trunk@23288 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex b/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex new file mode 100644 index 00000000000..9aca4598da2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/msu-thesis/gb4e-compat.tex @@ -0,0 +1,45 @@ +% Compatibility code for footnote text when using gb4e +% This is fixed in the latest version of gb4e but since +% it is not in wide distribution this is included for wider +% compatibility. It will be removed at some point. +% + +\def\exe{\SingleSpacing\@ifnextchar [{\@exe}{\@exe[\@exwidth]}}% +% This code repeats the memoir code because gb4e +% redefines footnote text badly. The newest version of gb4e +% fixes this. + +\renewcommand{\@footnotetext}[1]{\insert\footins{% + \def\baselinestretch{\m@m@singlespace}% <- v1.61803 addition + \reset@font% <- v1.6180 addition + \foottextfont + \@preamfntext + \hsize\columnwidth + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@makefntext{% + \rule\z@\footnotesep\ignorespaces{\foottextfont #1}% + \@finalstrut\strutbox}% + \color@endgroup}\m@mmf@prepare} +\let\m@mold@footnotetext\@footnotetext +\renewcommand*{\@footnotemark}{% + \leavevmode + \ifhmode + \edef\@x@sf{\the\spacefactor}% + \m@mmf@check + \nobreak + \fi + \@makefnmark + \m@mmf@prepare + \ifhmode\spacefactor\@x@sf\fi + \relax} + +% This is the new gb4e footnote text code + +\let\@gbsaved@footnotetext=\@footnotetext +\long\def\@footnotetext#1{% + \@noftnotefalse\setcounter{fnx}{0}% + \@gbsaved@footnotetext{#1}% + \@noftnotetrue} +\endinput |