Debian Codegraph @

texmf-dist/doc/latex/expex-glossonly/testfiles/gb4e-expex.tex

raw
1 % !TEX TS-program = LuaLaTeX
2
3 \documentclass[12pt,letterpaper]{article}
4 \usepackage[gb4e]{expex-glossonly}
5 \usepackage{cgloss}
6 \begin{document}
7 % Examples here show a mixture of ExPex and gb4e glosses in the same example set.
8 \begin{exe}
9 \ex
10 \begin{xlist}
11 \ex[*]{ This is a regular example.}
12 \ex[]{\label{foo}
13 \begingl
14 \gla\rightcomment{(Hungarian)}János háza//
15 \glb John house.his//
16 \glft `John's house'//
17 \endgl
18 }
19 \ex[]{\gll János háza\\
20 John house\\\hfill(Hungarian)
21 \glt `John's house'
22 }
23 \end{xlist}
24 \end{exe}
25
26 \end{document}