[Tex/LaTex] Unnumbered linguistic examples with glosses


I want to have an unnumbered and unindented linguistic example with glossing and free translation. In other words, I want what \exg. produces in linguex, but without the numbering and the indentation; or what \sn produces in gb4e, but without the identation.

I wonder what would be the cleanest way to achieve this. Any help is appreciated.

Best Answer

The expex package provides an environment designed for exactly this purpose. Numbered examples are introduced by \ex, but if you use \exdisplay instead, there will be no number and no indent:

enter image description here

\usepackage{showframe} % to display margin lines
\usepackage{lipsum} % to display dummy text

\lingset{everygla=, belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex} % gloss formatting


    \gla Some sentence in your target language. //
    \glb \textsc{indef} sentence in 2\textsc{sg.poss} target language //
    \glft `Some sentence in your target language.' //