GeneralInterlinear gloss with footnote

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
kealist
Posts: 2
Joined: Thu Sep 13, 2012 7:33 pm

Interlinear gloss with footnote

Post by kealist »

I am working with a Midnight Macro file gloss.tex
http://mirrors.ctan.org/macros/generic/ ... /gloss.tex

This allows you to have word by word glosses for linguistics:

Code: Select all

\documentclass[10pt,letterpaper]{book}
\input gloss
\begin{document}
\gloss Canis, natans per flumen,
A-dog, swimming through a-river,
\unhbox\gline
\end{document}
This works well. However, I am trying to insert a footnote into this, such as below:

Code: Select all

\documentclass[10pt,letterpaper]{book}
\input gloss
\begin{document}
\gloss Canis, natans per flumen,\footnote{blah}
A-dog, swimming through a-river,
\unhbox\gline

\end{document}
And this makes pdfLaTeX.exe run away. I tried with the LaTex package GB4E as well with the same results. I tried looking at the macro code, but I'm lost on it. Anyone have suggestions for modifying my code or the gloss.tex?

I am using MikTex - Texworks
Last edited by Stefan Kottwitz on Sat Sep 15, 2012 7:27 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

kealist
Posts: 2
Joined: Thu Sep 13, 2012 7:33 pm

Interlinear gloss with footnote

Post by kealist »

I was able to resolve this with:

Code: Select all

\documentclass[10pt,letterpaper]{book}
\input gloss
\begin{document}
\gloss Canis, natans per flumen,\footnotemark[1]
A-dog, swimming through a-river,
\unhbox\gline
\footnotetext[1]{blah}
\end{document}
I didn't realize footnotes didn't work in tables. Thanks for reading everyone! ;)
Last edited by cgnieder on Sat Sep 15, 2012 9:18 pm, edited 1 time in total.
Post Reply