# Covington Gloss in Parbox/Makebox/Minipage

I am using LyX and I'm trying to place a Convington Gloss (Covington usage) inside a \parbox, \makebox, or minipage but I get the error:

http://pastie.org/1814468

Here is the file:

http://pastebin.tlhiv.org/iHOSWyqg

-
In general, it looks like I'm having difficulty with the Gloss. For example, I cannot place it in a table. pastebin.tlhiv.org/z_uSCKGJ –  Gus Apr 20 '11 at 9:18
In general, covington should be avoided for both examples and glosses. Instead use either gb4e or linguex (which both use the cgloss4e package for glosses.) Independent of this, what effect are you trying to achieve overall? There may be a better way to do this. –  Alan Munn Apr 20 '11 at 18:19

You don't need to use minipage at all. It's sufficient to put it in a \vtop and then box that. Note that I subtracted the space added and the width of the rules.

\documentclass{article}
\usepackage{covington}
\begin{document}
\setbox0\vtop{
\hsize\dimexpr\columnwidth - 2\fboxsep - 2\fboxrule\relax
\gll dat Jan het boek lest

@Gus: I can't help you with LyX and I've found over the years that minipage is almost never needed. (Okay, clearly it is never needed, but it is almost never useful.) –  TH. Apr 20 '11 at 7:44
@Gus: In this case, my guess is it's related to the fact that \fbox and thus \framebox tokenizes its argument needlessly, but I didn't actually check how covington works. –  TH. Apr 20 '11 at 7:46
@Gus: Replace \columnwidth with .5\textwidth and it should work just fine. –  TH. Apr 20 '11 at 8:37