I'm searching for packages for formatting interlinear text with an arbitrary number of lines. So far, it seems that the packages gb4e, covington, expex only format up to three aligned lines. (covington and gb4e provide \gll, and \glll but no \gllll, for example).

I've found references to SIL's ITF software (http://www.sil.org/computing/catalog/show_software.asp?id=17) which supposedly accomplishes this, but no real instructions on usage.

This task can obviously be accomplished using the tabular environment, but I'm trying to figure out if there are any established packages which provide an environment that carries out most of the dirty work.


2 Answers 2


Expex can handle an unlimited number of gloss lines. It's not obvious from the documentation, but you can have as many \glb rows as you want:

\gla vernacular text //
\glb first gloss //
\glb second gloss //
\glb etc. //

The letters basically denote different styles, so as long as you don't need the aligned tiers formatted in more than three different styles (\gla, \glb, \glc), this should be all you need.


In version 5.0 of the expex package, so called nlevel syntax has been introduced, which allows for an arbitrary number of glosses with arbitrary styles. The following simple example features the acutal sentence in italics, positional morphological tags in a fixed width font, syntactic functions in a proportional font, semantic functors in small caps, and a gloss in whatever style is set for running text.

      Informační[AANS1----1A----/Atr/rstr/information{\tiny\sc ADJ}]
      podpoří[VB-S---3P-AA---/Pred/pred/will support]
      \glft `An information office will support export.'

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .