When using the tufte-book
class (and other tufte
classes, I imagine), footnotes / sidenotes seem to break the instant you load the gb4e package.
This compiles correctly, and displays a sidenote as designed.
\documentclass{tufte-book}
\begin{document}
This is text.\footnote{This is a sidenote.}
\end{document}
This throws two errors, one about 'missing number, treated as zero', the other about an illegal unit of measure. The sidenote is displayed incorrectly - there's one [ off to the side as a sidenote, and then the rest is placed in the main text preceded by a ].
\documentclass{tufte-book}
\usepackage{gb4e}
\begin{document}
This is text.\footnote{This is a sidenote.}
\end{document}
What is going on here? Does gb4e
try to redefine footnotes in a way that's incompatible with tufte-latex
? Since gb4e
has nothing to do with footnotes, ostensibly, I'm confused as to why there's a conflict at all. Is there any way to get around this and use gb4e
in a tufte-book
document, or would that require rewriting one or the other package? (or is it not worth the effort?)