summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/expex/expex-demo.tex
blob: fc86580b6934d9c39c038de12e22029dec743780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825

% The preamble has the effect that the file can either be Texed or
% LaTexed -- as is.

\ifx\ProvidesFile\undefined
      % if Tex
      \input expex
      \font\eightrm=cmr8
      \font\eightit=cmti8
      \font\tensc=cmcsc10
      \let\sc=\tensc
      \def\textsc#1{{\sc #1}}
      \def\footnotesize{\eightrm \let\it=\eightit \baselineskip=9pt}
      \def\enddemo #1#2{}
      \magnification=\magstep1
   \else
      % if LaTex
      \documentclass[12pt]{article}
      \usepackage{expex}
      \textwidth=6.5in
      \let\enddemo=\relax
      \begin{document}
   \fi
%--------------------------------------------------------------------
\filbreak\hrule\medskip

\begingroup
\vskip\lingaboveexskip
Example (\nextx) is well-known from the literature on parasitic
gaps.  Here we are concerned with example formatting, not with the
interesting syntax.

\ex
I wonder which article John filed {\sl t\/} without reading {\sl e}.
\xe
It is beyond the scope of this investigation to determine exactly why
John did not read the article.

Multipart examples are equally straightforward.

\pex Two examples of parasitic gaps.
\a He is the man that John did not interview {\sl e\/} before
he gave the job to {\sl e}.
\a He is someone who John expected {\sl e\/} to be successful
though believing {\sl e\/} to be incompetent.
\xe
Here, we can speculate on why John did not do an interview before
recommending the person for a job.  It is likely that the person
was a crony of John.  In (\lastx b), perhaps John knew that
the ``someone'' went to prep school with the owner of the
business.
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\bigskip
If examples and parts of examples are tagged, they can be
referred to by name.

\pex<pg>
\a This is the man that John interviewed {\sl e\/} before
telling you that you should give the job to~{\sl e}.
\a<A> This is someone who John expected {\sl e\/} to be successful
though believing {\sl e\/} to be incompetent.
\xe

Now, names can be used.  The name/reference pairs can be written
to a file, making forward reference possible and backwards
reference at a distance reliable.  You can refer to part
\getref{pg.A} of example (\getref{pg}), or (\getfullref{pg.A}).

If you use a tag that has not been defined, {\sl ExPex\/} will
let you know. If you try to reference a name which has no
reference, \getref{pg.B} for example, a warning will be issued
and the (bracketed) tag printed as shown at the beginning of this
sentence.  If you try to tag a part of an example which has no
tag, {\sl ExPex\/} will let you know about that as well.
\bigskip
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex
\begingl
\gla Mary$_i$ ist sicher, dass es den Hans nicht st\"oren
w\"urde seiner Freundin ihr$_i$ Herz auszusch\"utten.//
\glb Mary is sure that it the-{\sc acc} Hans not annoy would
his-{\sc dat} girlfriend-{\sc dat} her-{\sc acc} heart-{\sc acc} {out to throw}//
\glft  `Mary is sure that it would not annoy John to reveal her
heart to his girlfriend.'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex
\begingl
\gla k- wapm -a -s'i -m -wapunin -uk //
\glb Cl V Agr Neg Agr Tns Agr //
\glc 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
\glft `you (pl) didn't see them'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex[interpartskip=3ex]
\a
\begingl
\gla pwa- min -kwa -pun//
\glb Neg V Agr Tns //
\glc {} give 2pl{\sc nom}.3pl{\sc acc} preterit //
\glft `you (pl) didn't give them (something)'//
\endgl
\a
\begingl[everygl=\openup.5ex,everygla=,everyglb=,
   everyglft=\it,aboveglftskip=1.5ex]
\gla pwa- min -kwa -pun//
\glb Neg V Agr Tns //
\glc {} give 2pl{\sc nom}.3pl{\sc acc} preterit //
\glft `you (pl) didn't give them (something)'//
\endgl
\a
\begingl[everygl=,everygla=\bf,everyglb=\it,
   everyglft=,aboveglftskip=0pt]
\gla pwa- min -kwa -pun //
\glb Neg V Agr Tns //
\glc {} give 2pl{\sc nom}.3pl{\sc acc} preterit //
\glft `you (pl) didn't give them (something)'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\exdisplay
The following example is well-known from the literature on
parasitic gaps.  Here we are concerned with example formatting,
not with the interesting syntax.
\ex
I wonder which article John filed {\sl t\/} without reading {\sl e}.
\xe
Various aspects of the format are controlled by parameters, which
can be set either globally or via an optional argument.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\exdisplay
The following example is well-known from the literature on
parasitic gaps.  Here we are concerned with example formatting,
not with the interesting syntax.

\ex[numoffset=2em,textoffset=.5em,aboveexskip=1ex,belowexskip=1ex]
I wonder which article John filed {\sl t\/} without reading {\sl e}.
\xe

\noindent Various aspects of the format are controlled by
parameters, which can be set either globally or via an optional
argument.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex
Und hier k\"onnen wir sehen was f\"ur Unfug wird gemacht
wenn er einen ganz langen Satz binnen kriegt.\par\nobreak
\xe

\ex~
$\alpha$ {\it governs\/} $\beta$ if $\alpha=X^0$ (in the
sense of X-bar theory), $\alpha$ c-commands $\beta$, and $\beta$
is not protected by a maximal projection.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\excnt=94
\ex This is a crucial example.\xe
It is clear that this example is related to the earlier
example (14), which is repeated below.
\ex[exno=14]
This is an example that was given many pages earlier.\xe
If we are on the right track, as the saying goes,
we expect the next example to be grammatical.  But it is not.
\ex * \dots\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[exno=$\Delta$] Earlier example.\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[exno={[14, repeated]},exnoformat=X] Earlier example.\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex
\a This is the first example.
\a This is the second example.
\xe

\pex~<Pre> Multipart examples often have a title or preamble of some
kind.
\a This is the first example.
\a This is the second example.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\keepexcntlocal \excnt=9
\pex
\a I consider firemen available. (generic only)
\a I consider firemen intelligent. (generic only)
\xe
Exceptional case marking (ECM) verbs seem more or less to allow both
existential and generic interpretations of complement subjects:
\pex
\a I believe firemen to be available. (both generic and existential)
\a I believe violists to be intelligent. (generic only)
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\keepexcntlocal \excnt=9
\pex[sampleexno=(10)]
\a I consider firemen available. (generic only)
\a I consider firemen intelligent. (generic only)
\xe
Exceptional case marking (ECM) verbs seem more or less to allow both
existential and generic interpretations of complement subjects:
\pex
\a I believe firemen to be available. (both generic and existential)
\a I believe violists to be intelligent. (generic only)
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\leftline{\vbox{%
\ex[textoffset=3em]
\hsize=3in \rightskip=0pt plus 2em \it \advance\baselineskip by 2pt
Und hier k\"onnen wir sehen was f\"ur Unfug wird gemacht
wenn er einen ganz langen Satz binnen kriegt.
\xe
}\hfil}
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex *Jack and Jill wented up the hill.\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex \judge* Jack and Jill wented up the hill.\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex
\a There is a pair of pants on the floor.
\a \judge{?*}There are a pair of pants on the floor.
\a \judge*There is the pair of pants on the floor.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex
\a There is a pair of pants on the floor.
\a \ljudge{?*}There are a pair of pants on the floor.
\a \ljudge*There is the pair of pants on the floor.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex[*=?*]
\a There is a pair of pants on the floor.
\a \ljudge{?*}There are a pair of pants on the floor.
\a \ljudge*There is the pair of pants on the floor.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex[*]
\a There is a pair of pants on the floor.
\a \ljudge* There are a pair of pants on the floor.
\a \ljudge* There is the pair of pants on the floor.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex[*=?*,textoffset=!-.3em]
\a There is a pair of pants on the floor.
\a \ljudge{?*} There are a pair of pants on the floor.
\a \ljudge* There is the pair of pants on the floor.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex<wapm>
\begingl
\gla k- wapm -a -s'i -m -wapunin -uk //
\glb CL V AGR NEG AGR TNS AGR //
\glb 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
\glft `you (pl) didn't see them'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex<sicher>
\begingl
\gla Mary$_i$ ist sicher, dass es den Hans nicht st\"oren w\"urde
seiner Freundin ihr$_i$ Herz auszusch\"utten.//
\glb Mary is sure that it the-{\sc acc} Hans not annoy would
his-{\sc dat} girlfriend-{\sc dat} her-{\sc acc} heart-{\sc acc} {out to
throw}//
\glft  `Mary is sure that it would not annoy John to reveal her
heart to his girlfriend.'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex<um>
\begingl
\glpreamble Um-\"asudda' h\"am yan i taotao ni si Juan
ilek-\~na nu guahu mal\"agu' gui
asudd\"a'-\~na.//
\gla Um-\"asudda' h\"am yan [ i taotao [ {\it O\/} ni si Juan
ilek-\~na nu guahu [ mal\"agu' gui [ asudd\"a'-\~na {\it
t\/} ] ] ] ] @ .//
\glb agr-meet we with the person Op Comp the Juan say-agr Obl me
agr.want he {\it WH\/}[obl].meet-agr//
\glft ``I met the person who Juan told me he wanted to
meet.''//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex
\begingl[glspace=2em]
\gla[everygla=] k- wapm -a -s'i -m -wapunin -uk //
\glb[everyglb=\sc,aboveglbskip=-.4ex]
   cl v agr neg agr tns agr //
\glb 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
\glft[everyglft=\it,aboveglftskip=0pt] `you (pl) didn't see them'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[exno={(6), p. 14},exnoformat={[X]}]
\begingl
\gla Mary$_i$ ist sicher, dass es den Hans nicht st\"oren w\"urde
seiner Freundin ihr$_i$ Herz auszusch\"utten.//
\glb Mary is sure that it the-{\sc acc} Hans not annoy would
his-{\sc dat} girfriend-{\sc dat} her-{\sc acc} heart-{\sc acc} {out to
throw}//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex
\begingl
\gla \rightcomment{[Potawatami]}k- wapm -a -s'i -m -wapunin -uk //
\glb \rightcomment{category}Cl V Agr$_1$ Neg Agr$_2$ Tns Agr$_3$//
\glb 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
\glft `you (pl) didn't see them'\trailingcitation{(Hockett 1948,
   p. 143)}//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\hsize=3.5in
\ex
\rightcomment{[Potawatami]}
\begingl
\gla k- wapm -a -s'i -m -wapunin -uk //
\glb \rightcomment{category}Cl V Agr$_1$ Neg Agr$_2$ Tns Agr$_3$//
\glb 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
\glft `you (pl) didn't see them'\trailingcitation{(Hockett 1948,
   p. 143)}//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex
\begingl
\gla Mary$_i$ ist sicher, + dass es den Hans nicht st\"oren w\"urde
+ seiner Freundin ihr$_i$ Herz auszusch\"utten.//
\glb Mary is sure that it the-{\sc acc} Hans not annoy would
his-{\sc dat} girlfriend-{\sc dat} her-{\sc acc} heart-{\sc acc} {out to
throw}//
\glft  `Mary is sure that it would not annoy John to reveal her
heart to his girlfriend.'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex<wiye>
\begingl
\gla wiye kepi e- @ ca//
\glb two whitemen {\sc 1p:3d}- found//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex[everygla=,glhangstyle=normal]<@period>
\a
\begingl
\gla Fa'nu'i yu' ni [ [ {\it O} t{\it in\/}aitai-mu {\it t\/} ] na
lepblu ] @ .//
\glb show me Obl Op {\it WH\/}[obj].read-agr {} L book//
\glft ``Show me the book that you read.''//
\endgl
\a \begingl
\gla Um-\"asudda' h\"am yan [ i taotao [ {\it O\/} ni si Juan
ilek-\~na nu guahu [ mal\"agu' gui [ asudd\"a'-\~na {\it
t\/} ] ] ] ] @ .//
\glb agr-meet we with the person Op Comp the Juan say-agr Obl me
agr.want he {\it WH\/}[obl].meet-agr//
\glft ``I met the person who Juan told me he wanted to meet.''//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\defineglwlevels{cat,gloss}
\lingset{everyglcat=\footnotesize,aboveglcatskip=-.5ex}

\ex
\begingl
\gla k- wapm -a -s'i -m -wapunin -uk //
\glcat Cl V Agr Neg Agr Tns Agr //
\glgloss 2 see {3\sc acc} {} {2\sc pl} preterit {3\sc pl} //
\glft `you (pl) didn't see them'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[glftpos=right,glhangstyle=none]
\let\\=\textsc
\begingl
\gla
Hom\^{a}o sa \v{c}\^{o} p\^{o} tha  \~{n}u nao ng\u{a} hmua. \~{N}u
dj\u{a} g\u{a}, \~{n}u dj\u{a} \v{c}\u{o}ng \~{n}u, laih gui r\^{e}o
\~{n}u. Todang bboi r\^{o}k jolan \~{n}u nao hma, \~{n}u bb\^{o}h sa
droi mr\u{a} d\u{o} bboi gah, a, hruh \~{n}u.//
\glb
\\{exist} one \\{clf} person old \\{3s} go do field \\{3s} hold
machete \\{3s} hold hoe \\{3s} and carry.on.back back.basket \\{3s}
while at along trail \\{3s} go field \\{3s} see one \\{clf} peacock
stay at \\{drct} -- nest \\{3s}//
\glft
`There was an old person who went to work in the field. He took
along his machete, he took along his hoe, and he carried his
basket on his back. While he was on his way to the farm, he saw a
peacock beside its nest.'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[everypanel=\footnotesize]<panelex>
\let\\=\textsc
\beginglpanel[ssratio=.5,glhangstyle=none]
\gla Hom\^{a}o$^1$ sa \v{c}\^{o} p\^{o} tha  \~{n}u nao ng\u{a}
hmua. \~{N}u dj\u{a} g\u{a}, \~{n}u dj\u{a} \v{c}\u{o}ng \~{n}u,
laih gui r\^{e}o \~{n}u. Todang bboi r\^{o}k jolan \~{n}u nao
hma, \~{n}u bb\^{o}h sa droi mr\u{a} d\u{o}$\,^4$ bboi gah, a, hruh
\~{n}u.//
\glb \\{exist} one \\{clf} person old \\{3s} go$^2$ do field
\\{3s} hold machete \\{3s} hold hoe \\{3s} and$^3$ carry.on.back
back.basket \\{3s} while at along trail \\{3s} go field \\{3s}
see one \\{clf} peacock stay at \\{drct} -- nest \\{3s}
//
\endgl
1.\enspace {\it hom\^{a}o} also means `have', reflecting the
strong tendency across languages to use the same word for
possession and the existential. {\it hom\^{a}o} is clause-initial
in existential clauses, but it comes after the subject in
possession clauses.

2.\enspace All verbs are glossed with a bare form, as Jarai has
no inflectional morphology. Although Jarai has lexical items that
encode tense, they are relatively infrequent in text.

3.\enspace The word {\it laih} is literally `after; finish', but
that is clearly not the meaning here. Probably {\it laih} here is
an abbreviation for {\it laih an\u{u}n}, `after that; and', hence
the gloss `and'.

4.\enspace {\it d\u{o}} `sit, stay' is used like a copula in
locative clauses, which is what I assume here (`a~peacock
[which was] beside its nest'); however, this could just as well
mean `a peacock sitting beside its nest', retaining the posture
semantics.
\endpanel
\bigskip
`There was an old person who went to work in the field. He took
along his machete, he took along his hoe, and he carried his
basket on his back. While he was on his way to the farm, he saw a
peacock beside its nest.'
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[glhangstyle=cascade]
\let\\=\textsc
\begingl
\gla
Hom\^{a}o sa \v{c}\^{o} p\^{o} tha  \~{n}u nao ng\u{a} hmua. \~{N}u
dj\u{a} g\u{a}, \~{n}u dj\u{a} \v{c}\u{o}ng \~{n}u, laih gui r\^{e}o
\~{n}u. Todang bboi r\^{o}k jolan \~{n}u nao hma, \~{n}u bb\^{o}h sa
droi mr\u{a} d\u{o} bboi gah, a, hruh \~{n}u.//
\glb
\\{exist} one \\{clf} person old \\{3s} go do field \\{3s} hold
machete \\{3s} hold hoe \\{3s} and carry.on.back back.basket \\{3s}
while at along trail \\{3s} go field \\{3s} see one \\{clf} peacock
stay at \\{drct} -- nest \\{3s}//
\glft
`There was an old person who went to work in the field. He took
along his machete, he took along his hoe, and he carried his
basket on his back. While he was on his way to the farm, he saw a
peacock beside its nest.'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[glhangstyle=normal,glufcloseup=.4ex,everygluf=\footnotesize]
\begingl
\gla Mary$_i$ ist sicher, dass es den Hans nicht st\"oren
   w\"urde seiner Freundin ihr$_i$ Herz auszusch\"utten.//
\glb Mary is sure that it \gluf/the/ACC/ Hans not annoy would
   \gluf/his/DAT/ \gluf/girlfriend/DAT/ \gluf/her/ACC/
   \gluf/heart/ACC/ {out to throw}//
\glft `Mary is sure that to reveal her heart to his girlfriend
would not damage John.'//
\endgl
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex[interpartskip=0pt]
\a First\deftag{the first part of example \lastx}{FP}
\a Second\deftagex{snoopy}\deftaglabel{dog}
\a Third\deftaglabel{a}
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex[everylabel=\it]
\a First Example.
\a Second Example.\deftag{\lastx\lastlabel}{snoopy}
\a Third Example.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[exno=\getref{snoopy}] Second example.\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[exno={\getref{snoopy}, repeated},exnoformat={[X]}]
Second example.\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex[labeltype=numeric]<dog>
\a First Example.
\a<G> Second Example.
\a Third Example.
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex[exno={\getfullref{dog.G}}] Second example\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex
\vtop{\halign{#\hfil&& \qquad #\hfil\cr
baudh& bu-baudh& know, wake\cr
smai& si-smai& smile\cr
suap& su-suap& sleep\cr
miaks& mi-miaks& glitter\cr
auc& u-auc& please\cr
}}
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex  The perfect stems of some roots with a
high vowel in their nucleus\par\nobreak\medskip
\quad\vbox{\halign{%
#\hfil&& \hskip3em #\hfil\cr
\hfil\hwit{root}& \hfil\hwit{perfect stem}&
   \hfil\hwit{gloss}\cr
\noalign{\smallskip}
baudh& bu-baudh& `know, wake'\cr
smai& si-smai& `smile'\cr
suap& su-suap& `sleep'\cr
miaks& mi-miaks& `glitter'\cr
auc& u-auc& `please'\cr
}}\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex  The perfect stems of some roots with a
high vowel in their nucleus\par\nobreak\medskip
\quad\vbox{\halign{%
#\hfil& \quad #\hfil&& \hskip3em #\hfil\cr
& \hfil\hwit{root}& \hfil\hwit{perfect stem}&
   \hfil\hwit{gloss}\cr
\noalign{\smallskip}
a.& baudh& bu-baudh& `know, wake\cr
b.& smai& si-smai& `smile'\cr
c.& suap& su-suap& `sleep'\cr
d.& miaks& mi-miaks& `glitter'\cr
e.& auc& u-auc& `please'\cr
}}\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\ex<Washo>
\vtop{\labels\halign{\tl #\hfil&& \quad #\hfil\cr
\nl & \hwit{Root}& \hwit{Plural}& \hwit{Gloss}\cr
& baloxat& baloxaxat& bows\cr
& moya& moyaya& shoulder\cr
\deftaglabel{A}& nent'us& net'unt'us& old women\cr
\deftaglabel{B}& mokgo& mogokgo& shoes\cr
}}\xe
Examples (\getfullref{Washo.A}) and (\getfullref{Washo.B}) are
the most complex, and therefore the most revealing.
Examples (\getref{Washo}\getref{Washo.A},\getref{Washo.B}) are
the most complex, and therefore the most revealing.
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\hsize=4.3in
\exdisplay[dima=.5em,dimb=.4em,textoffset=.5em]
\def\\#1{$\acute{\hbox{\=#1}}$}%
\tabskip=0pt
\openup.4ex
\halign to \hsize{\tspace[dima]#\tspace[textoffset]\hfil&
   #\hfil\tabskip=0pt plus 1fil&
   #\hfil& #\hfil& \tspace[dimb]#\hfil&
   #\hfil &  #\hfil\tabskip=0pt\cr
\omit\exnoprint\hidewidth&
   \multispan6 \hwit{Present Indicative}\crnb
&\multispan3 \hwit{active}& \multispan3 \hwit{middle}\cr
& \hwit{sg}& \hwit{du}& \hwit{pl}&
   \hwit{sg}& \hwit{du}& \hwit{pl}\cr
\it 1& {\bf dv\'e\.s}-mi& dvi\.s-v\'as& dvi\.s-m\'as&
   dvi\.s-\'e& dvi\.s-v\'ahe& dvi\.s-m\'ahe\cr
\it 2& {\bf dv\'ek}-\.si& dvi\.s-\.th\'as& dvi\.s-\.th\'a&
   dvik\.s-\'e& dvi\.s-\\athe& dvi\.d-\.dhv\'e\cr
\it 3& {\bf dv\'e\.s}-\.ti& dvi\.s-\.t\'as& dvi\.s-\'anti&
   dvi\.s-\.t\'e& dvi\.s-\\ate& dvi\.s-\'ate\cr
}
\xe
\endgroup
\bigskip

\filbreak\hrule\medskip

\begingroup
\pex[exbreakpenalty=-10,interpartskip=.25ex]
\a example A
\a contrast with example A\exbreak
\a example B
\a variation on B
\a another variation on B
\a a third variation on B\exbreak
\a example C
\a contrast with example C
\xe
\endgroup
\bigskip

\enddemo\end{document}\bye