TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 6 down vote accepted

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.

share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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