# coexistence of linguex and expex [duplicate]

I have a very naive question. I started using linguex package, but now I realized I need some options that only expex has. I was wondering if the two packages be used in the same document, or would they be in conflict with one another.

The reason I ask this, is that I need to do the following with linguex, but I am not sure it is doable. First, I need to have right-aligned comments on the first and third line of a gloss.

I tried the following:

\documentclass[12pt,letterpaper]{article}
\usepackage{amssymb}
\usepackage{linguex}
\usepackage{cgloss}
\begin{document}

\ex. \a. The girls kissed the boy \hfill {\small \checkmark X}
\bg. The boy didn't kiss the girl \\
D boy AUX.NEG kiss D girl \\ \hfill {\small \checkmark X}
\trans 'The boy did not kiss the girl'. \hfill {\small \checkmark X}

\end{document}


This doesn't quite do what I want because ... ?

Second, I need to add arrows/lines connecting two parts of the example. Something like:

• You're using the glossing macros incorrectly. Each gloss line needs to end with \\ and the \hfill stuff goes afterward. Also, \small does not take an argument, so you should write {\small\checkmark}. The solution I point to in the linked question will solve the gloss problem. But the second problem is an entirely different one, and shouldn't be part of this question, and is also a duplicate of Movement arrow in gloss Jul 30 '16 at 14:20
• We can't tell what doesn't work unless you show us exactly what you are doing and what you want. But part of your problem is because you are still not using the glossing macros correctly. Your third line should be introduced by \trans or \glt. But it's true that you can only put right aligned stuff on the first line or the \trans line, but not on the gloss line itself. If you don't mind I'll edit your question to make it clear and then it can be reopened. Jul 30 '16 at 22:37
• I've edited the question using code from the linked answer. Does this do what you want or do you also want right aligned comments somewhere else? Jul 31 '16 at 13:22
• One other comment: it's clear from the way your code samples went that you didn't understand how the glossing macros work. Partially this is because the linguex documentation of that is not so clear. You might want to take a look at the gb4e documentation which discusses the glossing macros more explicitly. This is not a suggestion to switch to gb4e (although personally I prefer it) but just a suggestion to read its documentation for the glossing macros. Jul 31 '16 at 18:15
• @JasonZentz Can you email me. I've cooked up something that it would be nice to have and ExPex user test. Aug 1 '16 at 14:10