Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Without & for alignment, it works perfectly fine.

\documentclass[11pt]{article}
\usepackage{lingmacros}

\begin{document}

\enumsentence{\shortex{3}
  {Taroo$_i$-ga Yo$_j$-o zibun$_{i/*j}$-no shinshitsu-ni okutta.}
  {Taro-NOM Yo-ACC self-GEN bedroom-DAT sent}
  {`Taro$_i$ sent Yo$_j$ to his$_{i/*j}$ bedroom.'}
}

\end{document}

But when I add the &

\documentclass[11pt]{article}
\usepackage{lingmacros}

\begin{document}

\enumsentence{\shortex{3}
  {Taroo$_i$-ga & Yo$_j$-o & zibun$_{i/*j}$-no & shinshitsu-ni & okutta.}
  {Taro-NOM & Yo-ACC & self-GEN & bedroom-DAT & sent}
  {`Taro$_i$ sent Yo$_j$ to his$_{i/*j}$ bedroom.'}
}

\end{document}

I get

! Extra alignment tab has been changed to \cr.
<template> \unskip \hfil }\ \endtemplate 

l.10 }
share|improve this question
1  
The lingmacros package is very old. Is there any reason why you're using it and not, e.g. gb4e or linguex? –  Alan Munn Nov 9 '12 at 19:08

1 Answer 1

up vote 5 down vote accepted

You need to specify the right number of columns for your glosses. Since your gloss line has 5 elements, you need to specify 5 columns.

\documentclass[11pt]{article}
\usepackage{lingmacros}

\begin{document}

\enumsentence{\shortex{5}
  {Taroo$_i$-ga & Yo$_j$-o & zibun$_{i/*j}$-no & shinshitsu-ni & okutta.}
  {Taro-NOM & Yo-ACC & self-GEN & bedroom-DAT & sent}
  {`Taro$_i$ sent Yo$_j$ to his$_{i/*j}$ bedroom.'}
}

\end{document}
share|improve this answer

Your Answer

 
discard

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.