I'm using expex for linguistic examples. Frequently, examples are very short and I would like to avoid wasting all that space by basically formatting the examples in the usual two columns way. However, with expex the example part labels are usually the wrong order if you do this using multicol.

a d

b e

c f

When I would obviously like them to be like this:

a b

c d

e f

Is there any good practice way to typeset two examples side by side using expex?



Use \parbox:


\parbox{.5\linewidth}{\pex aaa \xe}%
\parbox{.5\linewidth}{\pex bbb \xe}
\parbox{.5\linewidth}{\pex ccc \xe}%
\parbox{.5\linewidth}{\pex ddd \xe}
\parbox{.5\linewidth}{\pex eee \xe}%
\parbox{.5\linewidth}{\pex fff \xe}

If you use will use this a lot, consider simplify your life with a macro in the preamble like:

\newcommand\pexxe[1]{\parbox{.5\linewidth}{\pex #1 \xe}}

Then simply use \pexxe{aaa}\pexxe{bbb} ... in the document

| improve this answer | |
  • Don't forget to place a % (comment) character after instances 1, 2, and 5 of \parbox{...}. – Mico Feb 18 '17 at 19:28
  • @Mico In this case the extra space do not hurt, but good clearly better in this way. – Fran Feb 18 '17 at 22:00

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.