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:


Here is the file:


  • 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.

\hsize\dimexpr\columnwidth - 2\fboxsep - 2\fboxrule\relax
\gll dat Jan het boek lest
that Jan the book reads
\glt that Jan is reading the book
  • Thanks for the reply! This looks like it works, but I cannot in turn put this box inside another Minipage (getting the same error as before). This other minipage contains a syntax tree. I could probably put the entire thing in a \vtop like you show, but I was trying to use Miniboxes in order to use LyX instant preview feature. – Gus Apr 20 '11 at 7:42
  • @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
  • That's an interesting link and I hope to understand more deeply about LaTeX. Is the \vtop\hsize... \framebox{\box0} code a common idiom? I'm trying to make the box be 50% of the textwidth by replacing \columnwidth with \0.5\textwidth but that's not the proper syntax. – Gus Apr 20 '11 at 7:59
  • @Gus: Replace \columnwidth with .5\textwidth and it should work just fine. – TH. Apr 20 '11 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.