]> git.lyx.org Git - lyx.git/blob - lib/examples/Modules/Linguistics.lyx
Use a somewhat more realistic trigloss example
[lyx.git] / lib / examples / Modules / Linguistics.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 577
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/Modules/
7 \textclass article
8 \begin_preamble
9 %% Uncomment the following for Tableaux captions on top:
10 %\floatstyle{plaintop}
11 %\restylefloat{tableau}
12
13 % Backwards compatibility for forest 1.x
14 % If you use forest 2.0.1 or later, you can delete this
15 \@ifpackageloaded{forest}{%
16   \@ifpackagelater{forest}{2016/02/20}{}{%
17     \forestset{
18       roof/.style={edge path={\noexpand\path[\forestoption{edge}]%
19           (.north west)--(!u.south)--(.north east)--cycle
20           \forestoption{edge label};
21         }
22       },
23       sn edges/.style={
24         for tree={parent anchor=south, child anchor=north},
25       },
26       linguistics preamble/.style={sn edges, baseline, for tree={align=center}}
27     }
28     \preto\forest@do{%
29       \forestOpreto{\forest@root}{given options}{linguistics preamble,}%
30     }
31   }
32 }{}
33 \end_preamble
34 \use_default_options false
35 \begin_modules
36 linguistics
37 \end_modules
38 \maintain_unincluded_children false
39 \language english
40 \language_package default
41 \inputencoding utf8
42 \fontencoding auto
43 \font_roman "lmodern" "FreeSerif"
44 \font_sans "default" "FreeSans"
45 \font_typewriter "default" "FreeMono"
46 \font_math "auto" "auto"
47 \font_default_family default
48 \use_non_tex_fonts false
49 \font_sc false
50 \font_osf false
51 \font_sf_scale 100 100
52 \font_tt_scale 100 100
53 \use_microtype false
54 \use_dash_ligatures false
55 \graphics default
56 \default_output_format default
57 \output_sync 0
58 \bibtex_command default
59 \index_command default
60 \float_placement class
61 \float_alignment class
62 \paperfontsize default
63 \spacing single
64 \use_hyperref true
65 \pdf_bookmarks true
66 \pdf_bookmarksnumbered false
67 \pdf_bookmarksopen false
68 \pdf_bookmarksopenlevel 1
69 \pdf_breaklinks false
70 \pdf_pdfborder true
71 \pdf_colorlinks false
72 \pdf_backref false
73 \pdf_pdfusetitle true
74 \papersize default
75 \use_geometry false
76 \use_package amsmath 1
77 \use_package amssymb 1
78 \use_package cancel 1
79 \use_package esint 1
80 \use_package mathdots 1
81 \use_package mathtools 1
82 \use_package mhchem 1
83 \use_package stackrel 1
84 \use_package stmaryrd 1
85 \use_package undertilde 1
86 \cite_engine basic
87 \cite_engine_type default
88 \biblio_style plain
89 \use_bibtopic false
90 \use_indices false
91 \paperorientation portrait
92 \suppress_date false
93 \justification true
94 \use_refstyle 0
95 \use_minted 0
96 \use_lineno 0
97 \index Index
98 \shortcut idx
99 \color #008000
100 \end_index
101 \secnumdepth 3
102 \tocdepth 3
103 \paragraph_separation indent
104 \paragraph_indentation default
105 \is_math_indent 0
106 \math_numbering_side default
107 \quotes_style english
108 \dynamic_quotes 0
109 \papercolumns 1
110 \papersides 1
111 \paperpagestyle default
112 \tablestyle default
113 \tracking_changes true
114 \output_changes false
115 \html_math_output 0
116 \html_css_as_file 0
117 \html_be_strict false
118 \author -712698321 "Jürgen Spitzmüller"
119 \end_header
120
121 \begin_body
122
123 \begin_layout Title
124 Writing linguistic papers with \SpecialChar LyX
125
126 \end_layout
127
128 \begin_layout Author
129 Jürgen Spitzmüller
130 \begin_inset Newline newline
131 \end_inset
132
133
134 \begin_inset CommandInset href
135 LatexCommand href
136 target "spitz@lyx.org"
137 type "mailto:"
138 literal "false"
139
140 \end_inset
141
142
143 \end_layout
144
145 \begin_layout Date
146 21/04/2015
147 \end_layout
148
149 \begin_layout Abstract
150 This paper describes some features that \SpecialChar LyX
151  provides to linguists.
152  It demonstrates how to use some native support in order to produce numbered
153  examples, 
154 \change_inserted -712698321 1559649291
155 interlinear 
156 \change_unchanged
157 glosses, OT tableaux, semantic markup, structure trees, and phonetic symbols
158  (IPA).
159 \end_layout
160
161 \begin_layout Section
162 Aims and 
163 \change_deleted -712698321 1559649283
164 p
165 \change_inserted -712698321 1559649283
166 P
167 \change_unchanged
168 rerequisites
169 \end_layout
170
171 \begin_layout Standard
172 Basically, this paper describes the features of the 
173 \begin_inset Quotes eld
174 \end_inset
175
176 Linguistics
177 \begin_inset Quotes erd
178 \end_inset
179
180  module that ships with \SpecialChar LyX
181  as of version 1.6.0.
182  
183 \begin_inset Quotes eld
184 \end_inset
185
186 Modules
187 \begin_inset Quotes erd
188 \end_inset
189
190  are support files (introduced with \SpecialChar LyX
191  1.6.0) that can easily be selected for
192  any document.
193  In order to use the Linguistics module, go to 
194 \family sans
195 Document\SpecialChar menuseparator
196 Settings\SpecialChar menuseparator
197 Modules
198 \family default
199 , select 
200 \begin_inset Quotes eld
201 \end_inset
202
203 Linguistics
204 \begin_inset Quotes erd
205 \end_inset
206
207  from the list of available modules, and hit the 
208 \family sans
209 Add
210 \family default
211  button to select it for your document (as already done for this document).
212 \end_layout
213
214 \begin_layout Standard
215 You should be able to use the module with any document class (please inform
216  me, if not).
217  However, in order to use all the features, you need to have the following
218  \SpecialChar LaTeX
219  packages installed:
220 \end_layout
221
222 \begin_layout Enumerate
223
224 \emph on
225 covington.sty
226 \emph default
227  
228 \begin_inset CommandInset citation
229 LatexCommand cite
230 key "covington"
231 literal "true"
232
233 \end_inset
234
235 : This is the base package used for numbered examples and glosses.
236
237 \change_inserted -712698321 1559635690
238  Note that at least version 2.0 of the covington package is required to use
239  all features.
240 \change_unchanged
241
242 \end_layout
243
244 \begin_deeper
245 \begin_layout Itemize
246 Installed on your system: 
247 \begin_inset Info
248 type  "package"
249 arg   "covington"
250 \end_inset
251
252 .
253 \end_layout
254
255 \end_deeper
256 \begin_layout Enumerate
257
258 \change_deleted -712698321 1559635693
259
260 \emph on
261 enumitem.sty
262 \emph default
263  
264 \begin_inset CommandInset citation
265 LatexCommand cite
266 key "enumitem"
267 literal "true"
268
269 \end_inset
270
271 : This package is used for the Subexamples style.
272  It is generally useful to alter the appearance of lists (such as 
273 \emph on
274 enumerate
275 \emph default
276
277 \emph on
278 itemize
279 \emph default
280
281 \emph on
282 description
283 \emph default
284 ).
285 \end_layout
286
287 \begin_deeper
288 \begin_layout Itemize
289
290 \change_deleted -712698321 1559635693
291 Installed on your system: 
292 \begin_inset Info
293 type  "package"
294 arg   "enumitem"
295 \end_inset
296
297 .
298 \change_unchanged
299
300 \end_layout
301
302 \end_deeper
303 \begin_layout Enumerate
304
305 \emph on
306 csquotes.sty
307 \emph default
308  
309 \begin_inset CommandInset citation
310 LatexCommand cite
311 key "csquotes"
312 literal "true"
313
314 \end_inset
315
316 : Needed for the 
317 \emph on
318 Meaning
319 \emph default
320  character style
321 \change_inserted -712698321 1559635744
322  and for glosses
323 \change_unchanged
324 .
325  The package provides context sensitive quotation marks, depending on the
326  language in use.
327 \end_layout
328
329 \begin_deeper
330 \begin_layout Itemize
331 Installed on your system: 
332 \begin_inset Info
333 type  "package"
334 arg   "csquotes"
335 \end_inset
336
337 .
338 \end_layout
339
340 \end_deeper
341 \begin_layout Enumerate
342
343 \emph on
344 float.sty
345 \emph default
346  
347 \begin_inset CommandInset citation
348 LatexCommand cite
349 key "float"
350 literal "true"
351
352 \end_inset
353
354 : Needed for the OT tableaux floats and list of floats.
355  This package should be part of any \SpecialChar LaTeX
356  distribution.
357 \end_layout
358
359 \begin_deeper
360 \begin_layout Itemize
361 Installed on your system: 
362 \begin_inset Info
363 type  "package"
364 arg   "float"
365 \end_inset
366
367 .
368 \end_layout
369
370 \end_deeper
371 \begin_layout Enumerate
372
373 \emph on
374 forest.sty
375 \emph default
376  
377 \begin_inset CommandInset citation
378 LatexCommand cite
379 key "forest"
380 literal "true"
381
382 \end_inset
383
384 : This package is used to generate structure trees.
385 \end_layout
386
387 \begin_deeper
388 \begin_layout Itemize
389 Installed on your system: 
390 \begin_inset Info
391 type  "package"
392 arg   "forest"
393 \end_inset
394
395 .
396 \end_layout
397
398 \end_deeper
399 \begin_layout Section
400 Numbered 
401 \change_deleted -712698321 1559649278
402 e
403 \change_inserted -712698321 1559649278
404 E
405 \change_unchanged
406 xamples
407 \end_layout
408
409 \begin_layout Standard
410 Numbered examples are inserted via the layout drop-down box in the toolbar.
411  There are three variants:
412 \end_layout
413
414 \begin_layout Numbered Example (multiline)
415 This is a multiline example [Style 
416 \emph on
417 Numbered Example (multiline)
418 \emph default
419 ]
420 \end_layout
421
422 \begin_layout Numbered Example (multiline)
423 it can have several paragraphs
424 \end_layout
425
426 \begin_layout Numbered Examples (consecutive)
427 This is a single example
428 \begin_inset CommandInset label
429 LatexCommand label
430 name "exa:single-example"
431
432 \end_inset
433
434  [Style 
435 \emph on
436 Numbered Example (consecutive)
437 \emph default
438 ]
439 \end_layout
440
441 \begin_layout Numbered Examples (consecutive)
442 Consecutive single examples get their own numbers
443 \end_layout
444
445 \begin_layout Subexample
446 This is a subexample
447 \begin_inset CommandInset label
448 LatexCommand label
449 name "subsec:subexample"
450
451 \end_inset
452
453  [Style 
454 \emph on
455 Subexample
456 \emph default
457 ]
458 \end_layout
459
460 \begin_layout Subexample
461 And another one
462 \end_layout
463
464 \begin_layout Standard
465 References to examples are produced as usual: insert a label to the example
466  and a cross-reference via 
467 \family sans
468 Insert\SpecialChar menuseparator
469 Cross references
470 \family default
471 .
472  We refer here, just for the sake of demonstrating this, to 
473 \begin_inset CommandInset ref
474 LatexCommand ref
475 reference "exa:single-example"
476
477 \end_inset
478
479  and 
480 \begin_inset CommandInset ref
481 LatexCommand ref
482 reference "subsec:subexample"
483
484 \end_inset
485
486 .
487 \end_layout
488
489 \begin_layout Standard
490 If you want to modify the numbering of an individual example, you can use
491  
492 \family sans
493 Insert\SpecialChar menuseparator
494 Custom Numbering 
495 \family default
496 .
497 \end_layout
498
499 \begin_layout Section
500
501 \change_inserted -712698321 1559649210
502 Interlinear 
503 \change_unchanged
504 Glosses
505 \end_layout
506
507 \begin_layout Standard
508 The Linguistics module provides two kinds of glosses, which can be inserted
509  via 
510 \family sans
511 Insert\SpecialChar menuseparator
512 Custom Inset
513 \change_deleted -712698321 1559635796
514 s
515 \change_unchanged
516
517 \family default
518
519 \change_deleted -712698321 1559635812
520 The standard 
521 \emph on
522 Glosse
523 \change_inserted -712698321 1559635861
524 Interlinear Gloss (2
525 \begin_inset space ~
526 \end_inset
527
528 Lines)
529 \change_unchanged
530
531 \emph default
532  provides a gloss that consists of two lines (a gloss pair
533 \change_inserted -712698321 1559635998
534  consisting of the original language representation and and interlinear,
535  i.
536 \begin_inset space \thinspace{}
537 \end_inset
538
539 e.
540  word-to-word translation
541 \change_unchanged
542
543 \change_deleted -712698321 1559636571
544 and a
545 \change_inserted -712698321 1559636571
546 plus
547 \change_unchanged
548  
549 \change_inserted -712698321 1559635981
550 free 
551 \change_unchanged
552 translation, the 
553 \change_deleted -712698321 1559635825
554
555 \emph on
556 Tri-Glosse
557 \change_inserted -712698321 1559635858
558 Interlinear Gloss (3
559 \begin_inset space ~
560 \end_inset
561
562 Lines)
563 \change_unchanged
564
565 \emph default
566  
567 \change_deleted -712698321 1559648850
568 insets consists of three lines and a translation
569 \change_inserted -712698321 1559648856
570 provides an additional gloss line
571 \change_unchanged
572  (th
573 \change_deleted -712698321 1559648859
574 e
575 \change_inserted -712698321 1559648859
576 is
577 \change_unchanged
578  third line is usually needed to give morphological or phonological information
579  next to the gloss pair).
580  Each translation line might span multiple lines in the output, i.
581 \begin_inset space \thinspace{}
582 \end_inset
583
584 e., the paragraphs are automatically broken if they exceed the text width.
585  
586 \change_inserted -712698321 1559636240
587 The original language representation (first line in the gloss) is input
588  in the Gloss inset directly, the other information in specific sub-insets
589  (
590 \family sans
591 Interlinear Gloss
592 \family default
593  or with the 3-line-gloss 
594 \family sans
595 Interlinear Gloss (Line 1)
596 \family default
597  and 
598 \family sans
599 Interlinear Gloss (Line 2)
600 \family default
601 , respectively, and 
602 \family sans
603 Gloss Translation
604 \family default
605 ).
606  \SpecialChar LyX
607  automatically inserts these sub-insets if you insert a new gloss.
608  
609 \change_unchanged
610 The
611 \change_inserted -712698321 1559636247
612 y
613 \change_unchanged
614  
615 \change_inserted -712698321 1559636252
616 can also be 
617 \change_deleted -712698321 1559636256
618 translation line is 
619 \change_unchanged
620 inserted 
621 \change_inserted -712698321 1559636649
622 manually 
623 \change_unchanged
624 by means of 
625 \family sans
626 Insert\SpecialChar menuseparator
627 Gloss
628 \change_deleted -712698321 1559635897
629 e
630 \change_unchanged
631  Translation
632 \change_inserted -712698321 1559636277
633
634 \family default
635  and 
636 \family sans
637 Insert\SpecialChar menuseparator
638 Interlinear Gloss
639 \change_unchanged
640
641 \family default
642 .
643  It does not matter where you insert the
644 \change_inserted -712698321 1559636292
645 se sub-insets
646 \change_deleted -712698321 1559636298
647  translation
648 \change_unchanged
649
650 \change_deleted -712698321 1559636300
651 it is
652 \change_inserted -712698321 1559636302
653 they are
654 \change_unchanged
655  always printed 
656 \change_deleted -712698321 1559636305
657 as the last line
658 \change_inserted -712698321 1559636308
659 in the right order
660 \change_unchanged
661 .
662
663 \change_inserted -712698321 1559636755
664  Finally, you can also insert gloss options via 
665 \family sans
666 Insert\SpecialChar menuseparator
667 Gloss Options
668 \family default
669 .
670  These options let you customize the line appearance, add example numbers
671  or preceding text.
672  Please refer to the 
673 \emph on
674 covington
675 \emph default
676  manual 
677 \begin_inset CommandInset citation
678 LatexCommand cite
679 key "covington"
680 literal "false"
681
682 \end_inset
683
684  for details.
685 \begin_inset Foot
686 status open
687
688 \begin_layout Plain Layout
689
690 \change_inserted -712698321 1559636976
691 Note that the gloss support has been completely rewritten for \SpecialChar LyX
692  2.4.
693  It now uses the new and enhanced 
694 \emph on
695 covington
696 \emph default
697  (2.0) gloss macros.
698  Due to the major changes, old glosses cannot be converted to the new style.
699  Instead, the old insets are imported (and saved in the document as a 
700 \family sans
701 Local Layout
702 \family default
703 ).
704  Likewise, new gloss insets are converted to \SpecialChar TeX
705  code if you export to a previous
706  \SpecialChar LyX
707  version.
708 \change_unchanged
709
710 \end_layout
711
712 \end_inset
713
714
715 \change_unchanged
716
717 \end_layout
718
719 \begin_layout Standard
720 Here is a simple example for a 
721 \change_inserted -712698321 1559636502
722
723 \emph on
724 two-line 
725 \change_unchanged
726 Gloss
727 \change_deleted -712698321 1559636506
728 e
729 \change_unchanged
730
731 \emph default
732 :
733 \change_inserted -712698321 1559637042
734
735 \end_layout
736
737 \begin_layout Standard
738
739 \change_inserted -712698321 1559637046
740 \begin_inset Flex Interlinear Gloss (2 Lines)
741 status open
742
743 \begin_layout Plain Layout
744
745 \change_inserted -712698321 1559637057
746 C'est     un exemple simple
747 \end_layout
748
749 \begin_layout Plain Layout
750
751 \change_inserted -712698321 1559637046
752 \begin_inset Argument post:1
753 status open
754
755 \begin_layout Plain Layout
756
757 \change_inserted -712698321 1559637065
758 \begin_inset Flex GroupGlossedWords
759 status open
760
761 \begin_layout Plain Layout
762
763 \change_inserted -712698321 1559637065
764 This is
765 \end_layout
766
767 \end_inset
768
769  an example simple
770 \change_unchanged
771
772 \end_layout
773
774 \end_inset
775
776
777 \end_layout
778
779 \begin_layout Plain Layout
780
781 \change_inserted -712698321 1559637046
782 \begin_inset Argument post:2
783 status open
784
785 \begin_layout Plain Layout
786
787 \change_inserted -712698321 1559637069
788 This is a simple example
789 \change_unchanged
790
791 \end_layout
792
793 \end_inset
794
795
796 \change_unchanged
797
798 \end_layout
799
800 \end_inset
801
802
803 \change_unchanged
804
805 \end_layout
806
807 \begin_layout Standard
808
809 \change_deleted -712698321 1559637072
810 \begin_inset Flex Glosse
811 status open
812
813 \begin_layout Plain Layout
814 C'est     un exemple simple
815 \end_layout
816
817 \begin_layout Plain Layout
818 \begin_inset Flex GroupGlossedWords
819 status open
820
821 \begin_layout Plain Layout
822 This is
823 \end_layout
824
825 \end_inset
826
827  an example simple
828 \end_layout
829
830 \begin_layout Plain Layout
831 \begin_inset Argument 1
832 status open
833
834 \begin_layout Plain Layout
835 \begin_inset Quotes els
836 \end_inset
837
838 This is a simple example
839 \begin_inset Quotes ers
840 \end_inset
841
842
843 \end_layout
844
845 \end_inset
846
847
848 \end_layout
849
850 \end_inset
851
852
853 \change_unchanged
854
855 \end_layout
856
857 \begin_layout Standard
858 \noindent
859 Use 
860 \family sans
861 Edit\SpecialChar menuseparator
862 Text Style\SpecialChar menuseparator
863 GroupGlossedWords
864 \family default
865  in order to hold together multi-word expressions (or alternatively just
866  put braces in TeX mode 
867 \begin_inset ERT
868 status open
869
870 \begin_layout Plain Layout
871
872 {
873 \end_layout
874
875 \end_inset
876
877 around those words
878 \begin_inset ERT
879 status open
880
881 \begin_layout Plain Layout
882
883 }
884 \end_layout
885
886 \end_inset
887
888 ).
889  Note that you can enter multiple spaces to align the glosses in the \SpecialChar LyX
890  work
891  area; this will not affect the output.
892 \end_layout
893
894 \begin_layout Standard
895 Here is a three-line gloss
896 \change_deleted -712698321 1559637102
897  (
898 \emph on
899 Tri-Glosse
900 \emph default
901 )
902 \change_unchanged
903 ; the procedure is 
904 \change_inserted -712698321 1559649192
905 basically 
906 \change_unchanged
907 the same:
908 \change_inserted -712698321 1559637107
909
910 \end_layout
911
912 \begin_layout Standard
913
914 \change_inserted -712698321 1559637110
915 \begin_inset Flex Interlinear Gloss (3 Lines)
916 status open
917
918 \begin_layout Plain Layout
919
920 \change_inserted -712698321 1559648912
921 Hoc est aliud exemplum
922 \end_layout
923
924 \begin_layout Plain Layout
925
926 \change_inserted -712698321 1559637110
927 \begin_inset Argument post:1
928 status open
929
930 \begin_layout Plain Layout
931
932 \change_inserted -712698321 1559648946
933 n.sg.nom 3sg n.sg.nom n.sg.nom
934 \change_unchanged
935
936 \end_layout
937
938 \end_inset
939
940
941 \end_layout
942
943 \begin_layout Plain Layout
944
945 \change_inserted -712698321 1559637111
946 \begin_inset Argument post:2
947 status open
948
949 \begin_layout Plain Layout
950
951 \change_inserted -712698321 1559648933
952 This is another  example
953 \change_unchanged
954
955 \end_layout
956
957 \end_inset
958
959
960 \end_layout
961
962 \begin_layout Plain Layout
963
964 \change_inserted -712698321 1559649011
965 \begin_inset Argument post:3
966 status open
967
968 \begin_layout Plain Layout
969
970 \change_inserted -712698321 1559648952
971 This is another example
972 \change_unchanged
973
974 \end_layout
975
976 \end_inset
977
978
979 \begin_inset Argument 1
980 status open
981
982 \begin_layout Plain Layout
983
984 \change_inserted -712698321 1559649033
985 \begin_inset ERT
986 status open
987
988 \begin_layout Plain Layout
989
990 \change_inserted -712698321 1559649033
991
992 fsii={
993 \backslash
994 normalfont
995 \backslash
996 scshape}
997 \change_unchanged
998
999 \end_layout
1000
1001 \end_inset
1002
1003
1004 \change_unchanged
1005
1006 \end_layout
1007
1008 \end_inset
1009
1010
1011 \change_unchanged
1012
1013 \end_layout
1014
1015 \end_inset
1016
1017
1018 \change_unchanged
1019
1020 \end_layout
1021
1022 \begin_layout Standard
1023
1024 \change_deleted -712698321 1559637137
1025 \begin_inset Flex Tri-Glosse
1026 status open
1027
1028 \begin_layout Plain Layout
1029 C'est      un exemple simple
1030 \end_layout
1031
1032 \begin_layout Plain Layout
1033 \begin_inset Flex GroupGlossedWords
1034 status open
1035
1036 \begin_layout Plain Layout
1037 Das ist
1038 \end_layout
1039
1040 \end_inset
1041
1042  ein Beispiel einfach
1043 \end_layout
1044
1045 \begin_layout Plain Layout
1046 \begin_inset Flex GroupGlossedWords
1047 status open
1048
1049 \begin_layout Plain Layout
1050 This is
1051 \end_layout
1052
1053 \end_inset
1054
1055  an  example simple
1056 \end_layout
1057
1058 \begin_layout Plain Layout
1059 \begin_inset Argument 1
1060 status open
1061
1062 \begin_layout Plain Layout
1063 \begin_inset Quotes els
1064 \end_inset
1065
1066 This is a simple example
1067 \begin_inset Quotes ers
1068 \end_inset
1069
1070
1071 \end_layout
1072
1073 \end_inset
1074
1075
1076 \end_layout
1077
1078 \end_inset
1079
1080
1081 \change_unchanged
1082
1083 \end_layout
1084
1085 \begin_layout Standard
1086 \noindent
1087
1088 \change_inserted -712698321 1559649169
1089 Note how we have used the gloss options here to make the second line be
1090  typeset in small caps.
1091 \end_layout
1092
1093 \begin_layout Standard
1094 \noindent
1095 If you want to have numbered glosses, 
1096 \change_inserted -712698321 1559649116
1097 either
1098 \change_deleted -712698321 1559637165
1099 simply
1100 \change_unchanged
1101  insert the gloss inset to a numbered examples paragraph, as follows:
1102 \end_layout
1103
1104 \begin_layout Numbered Examples (consecutive)
1105
1106 \change_inserted -712698321 1559637185
1107 \begin_inset Flex Interlinear Gloss (3 Lines)
1108 status open
1109
1110 \begin_layout Plain Layout
1111
1112 \change_inserted -712698321 1559637191
1113 Mein Luftkissenfahrzeug ist voller  Aale
1114 \end_layout
1115
1116 \begin_layout Plain Layout
1117
1118 \change_inserted -712698321 1559637185
1119 \begin_inset Argument post:1
1120 status open
1121
1122 \begin_layout Plain Layout
1123
1124 \change_inserted -712698321 1559637197
1125 My    skeertuig                   is  vol       palings
1126 \change_unchanged
1127
1128 \end_layout
1129
1130 \end_inset
1131
1132
1133 \end_layout
1134
1135 \begin_layout Plain Layout
1136
1137 \change_inserted -712698321 1559637185
1138 \begin_inset Argument post:2
1139 status open
1140
1141 \begin_layout Plain Layout
1142
1143 \change_inserted -712698321 1559637201
1144 My    hovercraft                 is 
1145 \begin_inset Flex GroupGlossedWords
1146 status open
1147
1148 \begin_layout Plain Layout
1149
1150 \change_inserted -712698321 1559637201
1151 full of
1152 \end_layout
1153
1154 \end_inset
1155
1156  eels
1157 \change_unchanged
1158
1159 \end_layout
1160
1161 \end_inset
1162
1163
1164 \end_layout
1165
1166 \begin_layout Plain Layout
1167
1168 \change_inserted -712698321 1559637185
1169 \begin_inset Argument post:3
1170 status open
1171
1172 \begin_layout Plain Layout
1173
1174 \change_inserted -712698321 1559637206
1175 Do you have matches?
1176 \change_unchanged
1177
1178 \end_layout
1179
1180 \end_inset
1181
1182
1183 \change_unchanged
1184
1185 \end_layout
1186
1187 \end_inset
1188
1189
1190 \change_deleted -712698321 1559637208
1191
1192 \begin_inset Flex Tri-Glosse
1193 status open
1194
1195 \begin_layout Plain Layout
1196 Mein Luftkissenfahrzeug ist voller  Aale
1197 \end_layout
1198
1199 \begin_layout Plain Layout
1200 My    skeertuig                   is  vol       palings
1201 \end_layout
1202
1203 \begin_layout Plain Layout
1204 My    hovercraft                 is 
1205 \begin_inset Flex GroupGlossedWords
1206 status open
1207
1208 \begin_layout Plain Layout
1209 full of
1210 \end_layout
1211
1212 \end_inset
1213
1214  eels
1215 \end_layout
1216
1217 \begin_layout Plain Layout
1218 \begin_inset Argument 1
1219 status open
1220
1221 \begin_layout Plain Layout
1222 \begin_inset Quotes els
1223 \end_inset
1224
1225 Do you have matches?
1226 \begin_inset Quotes ers
1227 \end_inset
1228
1229
1230 \end_layout
1231
1232 \end_inset
1233
1234
1235 \end_layout
1236
1237 \end_inset
1238
1239
1240 \change_inserted -712698321 1559637228
1241
1242 \end_layout
1243
1244 \begin_layout Standard
1245
1246 \change_inserted -712698321 1559637243
1247 or use the 
1248 \emph on
1249 ex
1250 \emph default
1251  gloss option:
1252 \end_layout
1253
1254 \begin_layout Standard
1255
1256 \change_inserted -712698321 1559637243
1257 \begin_inset Flex Interlinear Gloss (3 Lines)
1258 status open
1259
1260 \begin_layout Plain Layout
1261
1262 \change_inserted -712698321 1559637251
1263 \begin_inset Argument 1
1264 status open
1265
1266 \begin_layout Plain Layout
1267
1268 \change_inserted -712698321 1559637252
1269 ex
1270 \change_unchanged
1271
1272 \end_layout
1273
1274 \end_inset
1275
1276
1277 \end_layout
1278
1279 \begin_layout Plain Layout
1280
1281 \change_inserted -712698321 1559637243
1282 Mein Luftkissenfahrzeug ist voller  Aale
1283 \end_layout
1284
1285 \begin_layout Plain Layout
1286
1287 \change_inserted -712698321 1559637243
1288 \begin_inset Argument post:1
1289 status open
1290
1291 \begin_layout Plain Layout
1292
1293 \change_inserted -712698321 1559637243
1294 My    skeertuig                   is  vol       palings
1295 \end_layout
1296
1297 \end_inset
1298
1299
1300 \end_layout
1301
1302 \begin_layout Plain Layout
1303
1304 \change_inserted -712698321 1559637243
1305 \begin_inset Argument post:2
1306 status open
1307
1308 \begin_layout Plain Layout
1309
1310 \change_inserted -712698321 1559637243
1311 My    hovercraft                 is 
1312 \begin_inset Flex GroupGlossedWords
1313 status open
1314
1315 \begin_layout Plain Layout
1316
1317 \change_inserted -712698321 1559637243
1318 full of
1319 \end_layout
1320
1321 \end_inset
1322
1323  eels
1324 \end_layout
1325
1326 \end_inset
1327
1328
1329 \end_layout
1330
1331 \begin_layout Plain Layout
1332
1333 \change_inserted -712698321 1559637243
1334 \begin_inset Argument post:3
1335 status open
1336
1337 \begin_layout Plain Layout
1338
1339 \change_inserted -712698321 1559637243
1340 Do you have matches?
1341 \end_layout
1342
1343 \end_inset
1344
1345
1346 \end_layout
1347
1348 \end_inset
1349
1350
1351 \change_unchanged
1352
1353 \end_layout
1354
1355 \begin_layout Subsection*
1356 Tips & Tricks
1357 \end_layout
1358
1359 \begin_layout Subsubsection*
1360 Avoiding Page Breaks within Glosses
1361 \end_layout
1362
1363 \begin_layout Standard
1364
1365 \change_inserted -712698321 1559637546
1366 By default, 
1367 \change_deleted -712698321 1559637546
1368 P
1369 \change_inserted -712698321 1559637547
1370 p
1371 \change_unchanged
1372 age breaks might occur within glosses, which is not desirable.
1373  
1374 \change_inserted -712698321 1559637701
1375 You can avoid most of them by entering 
1376 \emph on
1377 noglossbreaks
1378 \emph default
1379  to 
1380 \family sans
1381 Document\SpecialChar menuseparator
1382 Settings\SpecialChar ldots
1383 \SpecialChar menuseparator
1384 Document Class\SpecialChar menuseparator
1385 Class Options\SpecialChar menuseparator
1386 Custom
1387 \family default
1388 .
1389  If page breaks still occur, you can
1390 \change_deleted -712698321 1559637705
1391 A workaround is to
1392 \change_unchanged
1393  wrap
1394 \change_inserted -712698321 1559637709
1395  the whole
1396 \change_unchanged
1397  gloss
1398 \change_deleted -712698321 1559637710
1399 es
1400 \change_unchanged
1401  into 
1402 \change_inserted -712698321 1559637714
1403
1404 \change_unchanged
1405 box
1406 \change_deleted -712698321 1559637716
1407 es
1408 \change_unchanged
1409  (via 
1410 \family sans
1411 Insert\SpecialChar menuseparator
1412 Box\SpecialChar menuseparator
1413 Frameless
1414 \family default
1415 ).
1416
1417 \change_deleted -712698321 1559637727
1418  If you want to automate this for all glosses, you can copy the following
1419  code to 
1420 \family sans
1421 Document\SpecialChar menuseparator
1422 Settings\SpecialChar menuseparator
1423 LaTeX Preamble
1424 \family default
1425 :
1426 \end_layout
1427
1428 \begin_layout Quote
1429
1430 \change_deleted -712698321 1559637727
1431 \begin_inset listings
1432 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
1433 inline false
1434 status open
1435
1436 \begin_layout Plain Layout
1437
1438 % Do not break pages at two-line glosses
1439 \end_layout
1440
1441 \begin_layout Plain Layout
1442
1443
1444 \backslash
1445 AtBeginDocument{%
1446 \end_layout
1447
1448 \begin_layout Plain Layout
1449
1450
1451 \backslash
1452 renewenvironment{linggloss}[2][]{%
1453 \end_layout
1454
1455 \begin_layout Plain Layout
1456
1457
1458 \backslash
1459 def
1460 \backslash
1461 glosstr{
1462 \backslash
1463 glt #1}%
1464 \end_layout
1465
1466 \begin_layout Plain Layout
1467
1468
1469 \backslash
1470 begin{minipage}{.7
1471 \backslash
1472 textwidth}
1473 \end_layout
1474
1475 \begin_layout Plain Layout
1476
1477
1478 \backslash
1479 gll #2}{
1480 \backslash
1481 glosstr
1482 \backslash
1483 glend
1484 \backslash
1485 end{minipage}}
1486 \end_layout
1487
1488 \begin_layout Plain Layout
1489
1490 }
1491 \end_layout
1492
1493 \end_inset
1494
1495
1496 \end_layout
1497
1498 \begin_layout Quote
1499
1500 \change_deleted -712698321 1559637727
1501 \begin_inset listings
1502 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
1503 inline false
1504 status open
1505
1506 \begin_layout Plain Layout
1507
1508 % Do not break pages at three-line glosses
1509 \end_layout
1510
1511 \begin_layout Plain Layout
1512
1513
1514 \backslash
1515 AtBeginDocument{%
1516 \end_layout
1517
1518 \begin_layout Plain Layout
1519
1520
1521 \backslash
1522 renewenvironment{lingglosss}[2][]{%
1523 \end_layout
1524
1525 \begin_layout Plain Layout
1526
1527
1528 \backslash
1529 def
1530 \backslash
1531 glosstr{
1532 \backslash
1533 glt #1}%
1534 \end_layout
1535
1536 \begin_layout Plain Layout
1537
1538
1539 \backslash
1540 begin{minipage}{.7
1541 \backslash
1542 textwidth}
1543 \end_layout
1544
1545 \begin_layout Plain Layout
1546
1547
1548 \backslash
1549 glll #2}{
1550 \backslash
1551 glosstr
1552 \backslash
1553 glend
1554 \backslash
1555 end{minipage}}
1556 \end_layout
1557
1558 \begin_layout Plain Layout
1559
1560 }
1561 \end_layout
1562
1563 \end_inset
1564
1565
1566 \end_layout
1567
1568 \begin_layout Standard
1569
1570 \change_deleted -712698321 1559637727
1571 You might have to adapt the minipage width (
1572 \family typewriter
1573 .7
1574 \backslash
1575 textwidth
1576 \family default
1577  in the example code) to fit the glosses to your actual page width.
1578 \change_unchanged
1579
1580 \end_layout
1581
1582 \begin_layout Subsubsection*
1583 Footnotes in Glosses
1584 \end_layout
1585
1586 \begin_layout Standard
1587 Although you can insert a footnote in a 
1588 \emph on
1589 Glosse
1590 \emph default
1591  inset, LaTeX compilation will not succeed.
1592  If you need footnotes, put 
1593 \family typewriter
1594
1595 \backslash
1596 footnotemark
1597 \family default
1598  in TeX mode in the glosse at the point where the footnote number should
1599  appear, and
1600 \family typewriter
1601  
1602 \backslash
1603 footnotetext{Actual footnote ...}
1604 \family default
1605 , also in TeX mode, right behind the 
1606 \emph on
1607 Gloss
1608 \change_deleted -712698321 1559637777
1609 e
1610 \change_unchanged
1611
1612 \emph default
1613  inset.
1614  If you need several footnotes, just insert multiple of these constructs.
1615 \end_layout
1616
1617 \begin_layout Subsubsection*
1618 Using Glosses (and Examples) in a Beamer Presentation
1619 \end_layout
1620
1621 \begin_layout Standard
1622 If you use the linguistics module with 
1623 \emph on
1624 beamer
1625 \emph default
1626  presentations, there are some caveats:
1627 \end_layout
1628
1629 \begin_layout Itemize
1630 If you want to use glosses in 
1631 \emph on
1632 beamer
1633 \emph default
1634 , you need to put it in a 
1635 \begin_inset Quotes eld
1636 \end_inset
1637
1638 fragile
1639 \begin_inset Quotes erd
1640 \end_inset
1641
1642  frame.
1643  
1644 \end_layout
1645
1646 \begin_layout Itemize
1647 Older versions of the 
1648 \emph on
1649 covington
1650 \emph default
1651  package (before version 1.1) do not play with the 
1652 \emph on
1653 beamer
1654 \emph default
1655  class out of the box, since both 
1656 \emph on
1657 beamer
1658 \emph default
1659  and 
1660 \emph on
1661 covington
1662 \emph default
1663  try to define the commands 
1664 \family typewriter
1665
1666 \backslash
1667 example
1668 \family default
1669  and 
1670 \family typewriter
1671
1672 \backslash
1673 examples
1674 \family default
1675 .
1676  In these older versions of 
1677 \emph on
1678 covington
1679 \emph default
1680 , this results in a \SpecialChar LaTeX
1681  error.
1682  You can work around this problem by inserting the following code in 
1683 \family sans
1684 Document\SpecialChar menuseparator
1685 Settings\SpecialChar menuseparator
1686 Local Layout
1687 \family default
1688 :
1689 \end_layout
1690
1691 \begin_deeper
1692 \begin_layout Quote
1693 \begin_inset listings
1694 lstparams "basicstyle={\footnotesize\ttfamily},tabsize=4"
1695 inline false
1696 status open
1697
1698 \begin_layout Plain Layout
1699
1700 Provides covington 1
1701 \end_layout
1702
1703 \begin_layout Plain Layout
1704
1705 AddToPreamble
1706 \end_layout
1707
1708 \begin_layout Plain Layout
1709
1710                 
1711 \backslash
1712 let
1713 \backslash
1714 example
1715 \backslash
1716 relax
1717 \end_layout
1718
1719 \begin_layout Plain Layout
1720
1721                 
1722 \backslash
1723 let
1724 \backslash
1725 endexample
1726 \backslash
1727 relax
1728 \end_layout
1729
1730 \begin_layout Plain Layout
1731
1732                 
1733 \backslash
1734 let
1735 \backslash
1736 examples
1737 \backslash
1738 relax
1739 \end_layout
1740
1741 \begin_layout Plain Layout
1742
1743                 
1744 \backslash
1745 let
1746 \backslash
1747 endexamples
1748 \backslash
1749 relax
1750 \end_layout
1751
1752 \begin_layout Plain Layout
1753
1754                 
1755 \backslash
1756 usepackage{covington}
1757 \end_layout
1758
1759 \begin_layout Plain Layout
1760
1761 EndPreamble
1762 \end_layout
1763
1764 \end_inset
1765
1766
1767 \end_layout
1768
1769 \begin_layout Standard
1770 Press 
1771 \begin_inset Quotes eld
1772 \end_inset
1773
1774 validate
1775 \begin_inset Quotes erd
1776 \end_inset
1777
1778  and 
1779 \begin_inset Quotes eld
1780 \end_inset
1781
1782 OK
1783 \begin_inset Quotes erd
1784 \end_inset
1785
1786 .
1787  This effectively defuncts 
1788 \emph on
1789 beamer's
1790 \emph default
1791  example(s) environment in favor of 
1792 \emph on
1793 covington's
1794 \emph default
1795  (i.
1796 \begin_inset space \thinspace{}
1797 \end_inset
1798
1799 e., you can use the 
1800 \family sans
1801 Numbered Example
1802 \family default
1803  styles, but not 
1804 \emph on
1805 beamer's
1806 \emph default
1807  
1808 \family sans
1809 Example
1810 \family default
1811  and 
1812 \family sans
1813 Examples
1814 \family default
1815 ).
1816 \end_layout
1817
1818 \begin_layout Standard
1819 As of v.
1820  1.1 of 
1821 \emph on
1822 covington
1823 \emph default
1824 , this problem is solved.
1825  
1826 \end_layout
1827
1828 \end_deeper
1829 \begin_layout Section
1830 Optimality Theory Tableaux
1831 \end_layout
1832
1833 \begin_layout Standard
1834 OT tableaux itself can of course simply be inserted as ordinary tables (for
1835  specific features such as dashed lines and shaded cells, cf.
1836  the 
1837 \emph on
1838 EmbeddedObjects
1839 \emph default
1840  manual).
1841  However, you might want to have the tableaux numbered throughout the document,
1842  and you might want to have a 
1843 \emph on
1844 List of Tableaux
1845 \emph default
1846 , similar to the 
1847 \emph on
1848 List of Tables
1849 \emph default
1850 .
1851  
1852 \end_layout
1853
1854 \begin_layout Standard
1855 The Linguistics module provides support for both.
1856  In 
1857 \family sans
1858 Insert\SpecialChar menuseparator
1859 Floats
1860 \family default
1861 , you will find a Tableaux float:
1862 \end_layout
1863
1864 \begin_layout Standard
1865 \begin_inset Float tableau
1866 placement h
1867 alignment document
1868 wide false
1869 sideways false
1870 status open
1871
1872 \begin_layout Plain Layout
1873 \align center
1874 \begin_inset Tabular
1875 <lyxtabular version="3" rows="5" columns="5">
1876 <features tabularvalignment="middle">
1877 <column alignment="right" valignment="top">
1878 <column alignment="center" valignment="top">
1879 <column alignment="center" valignment="top">
1880 <column alignment="center" valignment="top" special="|c">
1881 <column alignment="center" valignment="top">
1882 <row>
1883 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1884 \begin_inset Text
1885
1886 \begin_layout Plain Layout
1887 /atikap/
1888 \end_layout
1889
1890 \end_inset
1891 </cell>
1892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1893 \begin_inset Text
1894
1895 \begin_layout Plain Layout
1896
1897 \noun on
1898 Onset
1899 \end_layout
1900
1901 \end_inset
1902 </cell>
1903 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1904 \begin_inset Text
1905
1906 \begin_layout Plain Layout
1907
1908 \noun on
1909 NoCoda
1910 \end_layout
1911
1912 \end_inset
1913 </cell>
1914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1915 \begin_inset Text
1916
1917 \begin_layout Plain Layout
1918
1919 \noun on
1920 Dep
1921 \end_layout
1922
1923 \end_inset
1924 </cell>
1925 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
1926 \begin_inset Text
1927
1928 \begin_layout Plain Layout
1929
1930 \noun on
1931 Max
1932 \end_layout
1933
1934 \end_inset
1935 </cell>
1936 </row>
1937 <row>
1938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1939 \begin_inset Text
1940
1941 \begin_layout Plain Layout
1942 \begin_inset Formula $\mbox{☞}$
1943 \end_inset
1944
1945  
1946 \begin_inset Formula $\mbox{\textipa{P}}$
1947 \end_inset
1948
1949 a.ti.ka
1950 \end_layout
1951
1952 \end_inset
1953 </cell>
1954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1955 \begin_inset Text
1956
1957 \begin_layout Plain Layout
1958
1959 \end_layout
1960
1961 \end_inset
1962 </cell>
1963 <cell alignment="center" valignment="top" topline="true" usebox="none">
1964 \begin_inset Text
1965
1966 \begin_layout Plain Layout
1967
1968 \end_layout
1969
1970 \end_inset
1971 </cell>
1972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1973 \begin_inset Text
1974
1975 \begin_layout Plain Layout
1976 *
1977 \end_layout
1978
1979 \end_inset
1980 </cell>
1981 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
1982 \begin_inset Text
1983
1984 \begin_layout Plain Layout
1985 *
1986 \end_layout
1987
1988 \end_inset
1989 </cell>
1990 </row>
1991 <row>
1992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1993 \begin_inset Text
1994
1995 \begin_layout Plain Layout
1996 a.ti.ka
1997 \end_layout
1998
1999 \end_inset
2000 </cell>
2001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2002 \begin_inset Text
2003
2004 \begin_layout Plain Layout
2005 *!
2006 \end_layout
2007
2008 \end_inset
2009 </cell>
2010 <cell alignment="center" valignment="top" topline="true" usebox="none">
2011 \begin_inset Text
2012
2013 \begin_layout Plain Layout
2014
2015 \end_layout
2016
2017 \end_inset
2018 </cell>
2019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2020 \begin_inset Text
2021
2022 \begin_layout Plain Layout
2023
2024 \end_layout
2025
2026 \end_inset
2027 </cell>
2028 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
2029 \begin_inset Text
2030
2031 \begin_layout Plain Layout
2032 *
2033 \end_layout
2034
2035 \end_inset
2036 </cell>
2037 </row>
2038 <row>
2039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2040 \begin_inset Text
2041
2042 \begin_layout Plain Layout
2043 \begin_inset Formula $\mbox{\textipa{P}}$
2044 \end_inset
2045
2046 a.ti.kap
2047 \end_layout
2048
2049 \end_inset
2050 </cell>
2051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2052 \begin_inset Text
2053
2054 \begin_layout Plain Layout
2055
2056 \end_layout
2057
2058 \end_inset
2059 </cell>
2060 <cell alignment="center" valignment="top" topline="true" usebox="none">
2061 \begin_inset Text
2062
2063 \begin_layout Plain Layout
2064 *!
2065 \end_layout
2066
2067 \end_inset
2068 </cell>
2069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2070 \begin_inset Text
2071
2072 \begin_layout Plain Layout
2073 *
2074 \end_layout
2075
2076 \end_inset
2077 </cell>
2078 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
2079 \begin_inset Text
2080
2081 \begin_layout Plain Layout
2082
2083 \end_layout
2084
2085 \end_inset
2086 </cell>
2087 </row>
2088 <row>
2089 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2090 \begin_inset Text
2091
2092 \begin_layout Plain Layout
2093 a.ti.kap
2094 \end_layout
2095
2096 \end_inset
2097 </cell>
2098 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2099 \begin_inset Text
2100
2101 \begin_layout Plain Layout
2102 *!
2103 \end_layout
2104
2105 \end_inset
2106 </cell>
2107 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2108 \begin_inset Text
2109
2110 \begin_layout Plain Layout
2111 *!
2112 \end_layout
2113
2114 \end_inset
2115 </cell>
2116 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2117 \begin_inset Text
2118
2119 \begin_layout Plain Layout
2120
2121 \end_layout
2122
2123 \end_inset
2124 </cell>
2125 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
2126 \begin_inset Text
2127
2128 \begin_layout Plain Layout
2129
2130 \end_layout
2131
2132 \end_inset
2133 </cell>
2134 </row>
2135 </lyxtabular>
2136
2137 \end_inset
2138
2139
2140 \end_layout
2141
2142 \begin_layout Plain Layout
2143 \begin_inset Caption Standard
2144
2145 \begin_layout Plain Layout
2146 Example Tableau
2147 \end_layout
2148
2149 \end_inset
2150
2151
2152 \end_layout
2153
2154 \end_inset
2155
2156
2157 \end_layout
2158
2159 \begin_layout Standard
2160 Note that by default, the caption is always placed below the tableaux in
2161  the output, no matter where you put it in the \SpecialChar LyX
2162  window.
2163  To get the Tableau captions on top, put the following code in 
2164 \family sans
2165 Document\SpecialChar menuseparator
2166 Settings\SpecialChar menuseparator
2167 Preamble
2168 \family default
2169 :
2170 \end_layout
2171
2172 \begin_layout Quote
2173 \begin_inset listings
2174 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
2175 inline false
2176 status open
2177
2178 \begin_layout Plain Layout
2179
2180
2181 \backslash
2182 floatstyle{plaintop}
2183 \end_layout
2184
2185 \begin_layout Plain Layout
2186
2187
2188 \backslash
2189 restylefloat{tableau}
2190 \end_layout
2191
2192 \end_inset
2193
2194
2195 \end_layout
2196
2197 \begin_layout Standard
2198 If you use a KOMA class, use the following code instead:
2199 \end_layout
2200
2201 \begin_layout Quote
2202 \begin_inset listings
2203 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
2204 inline false
2205 status open
2206
2207 \begin_layout Plain Layout
2208
2209
2210 \backslash
2211 floatstyle{komaabove}
2212 \end_layout
2213
2214 \begin_layout Plain Layout
2215
2216
2217 \backslash
2218 restylefloat{tableau}
2219 \end_layout
2220
2221 \end_inset
2222
2223
2224 \end_layout
2225
2226 \begin_layout Standard
2227 A List of Tableaux inset can be found in 
2228 \family sans
2229 Insert\SpecialChar menuseparator
2230 Lists & TOC
2231 \family default
2232 .
2233  It looks like this:
2234 \end_layout
2235
2236 \begin_layout Standard
2237 \begin_inset FloatList tableau
2238
2239 \end_inset
2240
2241
2242 \end_layout
2243
2244 \begin_layout Section
2245 Semantic Markup (Character Styles)
2246 \end_layout
2247
2248 \begin_layout Standard
2249 The Linguistics module comes with some character styles that are common
2250  in linguistics:
2251 \end_layout
2252
2253 \begin_layout Enumerate
2254 Concept (in small caps): 
2255 \begin_inset Flex Concepts
2256 status collapsed
2257
2258 \begin_layout Plain Layout
2259 concept
2260 \end_layout
2261
2262 \end_inset
2263
2264  
2265 \end_layout
2266
2267 \begin_layout Enumerate
2268 Expression (emphasized): 
2269 \begin_inset Flex Expression
2270 status collapsed
2271
2272 \begin_layout Plain Layout
2273 expression
2274 \end_layout
2275
2276 \end_inset
2277
2278
2279 \end_layout
2280
2281 \begin_layout Enumerate
2282 Meaning (in single quotes): 
2283 \begin_inset Flex Meaning
2284 status collapsed
2285
2286 \begin_layout Plain Layout
2287 meaning
2288 \end_layout
2289
2290 \end_inset
2291
2292
2293 \end_layout
2294
2295 \begin_layout Standard
2296 You can insert the character styles via the 
2297 \family sans
2298 Edit\SpecialChar menuseparator
2299 Text Style
2300 \family default
2301  submenu.
2302  If you need to change the appearance of these styles later, you can redefine
2303  them in the preamble.
2304  To make expressions bold, for instance, insert:
2305 \end_layout
2306
2307 \begin_layout Quote
2308 \begin_inset listings
2309 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
2310 inline false
2311 status open
2312
2313 \begin_layout Plain Layout
2314
2315
2316 \backslash
2317 renewcommand
2318 \backslash
2319 lingexpr[1]{
2320 \backslash
2321 textbf{#1}}
2322 \end_layout
2323
2324 \end_inset
2325
2326
2327 \end_layout
2328
2329 \begin_layout Standard
2330 Similarly, concept (
2331 \family typewriter
2332
2333 \backslash
2334 lingconcept
2335 \family default
2336 ) and meaning (
2337 \family typewriter
2338
2339 \backslash
2340 lingmeaning
2341 \family default
2342 ) can be modified.
2343 \end_layout
2344
2345 \begin_layout Section
2346 Linguistic structure trees
2347 \end_layout
2348
2349 \begin_layout Standard
2350 Meanwhile, many \SpecialChar LaTeX
2351  are available which help producing structure trees.
2352  \SpecialChar LyX
2353  supports the 
2354 \family sans
2355 forest
2356 \family default
2357  package, which combines high flexibility and power with a comfortable input
2358  syntax.
2359  The Linguistics module provides a Structure Tree inset, which can be inserted
2360  via 
2361 \family sans
2362 Insert\SpecialChar menuseparator
2363 Custom Insets
2364 \family default
2365 .
2366  Within this inset, you can insert the bracket notation used by 
2367 \family sans
2368 forest
2369 \family default
2370  (and also by other similar packages such as 
2371 \family sans
2372 qtree
2373 \family default
2374 ).
2375 \end_layout
2376
2377 \begin_layout Standard
2378 Here is a simple example:
2379 \end_layout
2380
2381 \begin_layout Standard
2382 \begin_inset Flex Structure Tree
2383 status open
2384
2385 \begin_layout Plain Layout
2386 [VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[D[a]][NP[letter]]] ] ]
2387 \end_layout
2388
2389 \end_inset
2390
2391
2392 \end_layout
2393
2394 \begin_layout Standard
2395 \noindent
2396 If you view the PDF output, you will see that the input
2397 \end_layout
2398
2399 \begin_layout Quote
2400
2401 \family typewriter
2402 \size small
2403 [VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[D[a]][NP[letter]]]]]
2404 \end_layout
2405
2406 \begin_layout Standard
2407 expands to a real structure tree.
2408  To view the result within the \SpecialChar LyX
2409  work area, you can simply embed the Structure
2410  Tree inset into a Preview inset (
2411 \family sans
2412 Insert\SpecialChar menuseparator
2413 Preview
2414 \family default
2415 ).
2416  If instant preview is correctly installed and activated, you should see
2417  the tree immediately (just click on the image in order to edit):
2418 \end_layout
2419
2420 \begin_layout Standard
2421 \begin_inset Preview
2422
2423 \begin_layout Standard
2424 \begin_inset Flex Structure Tree
2425 status open
2426
2427 \begin_layout Plain Layout
2428 [VP [DP[Mary]] [V' [V[sent]] [DP[John]] [DP[D[a]][NP[response]]] ] ]
2429 \end_layout
2430
2431 \end_inset
2432
2433
2434 \end_layout
2435
2436 \end_inset
2437
2438
2439 \end_layout
2440
2441 \begin_layout Standard
2442 \noindent
2443 Roofs can be easily generated by means of the 
2444 \begin_inset Quotes eld
2445 \end_inset
2446
2447 roof
2448 \begin_inset Quotes erd
2449 \end_inset
2450
2451  option
2452 \begin_inset Foot
2453 status collapsed
2454
2455 \begin_layout Plain Layout
2456 \noindent
2457 Note that the 
2458 \begin_inset Quotes eld
2459 \end_inset
2460
2461 roof
2462 \begin_inset Quotes erd
2463 \end_inset
2464
2465  option only exists as of 
2466 \family sans
2467 forest
2468 \family default
2469  version 2.0.
2470  We have added some code to the preamble of this manual to support previous
2471  versions.
2472  If you use a 
2473 \family sans
2474 forest
2475 \family default
2476  version < 2.0, you either need to copy this code to your preamble or use
2477  the old option 
2478 \begin_inset Quotes eld
2479 \end_inset
2480
2481 triangle
2482 \begin_inset Quotes erd
2483 \end_inset
2484
2485  instead of 
2486 \begin_inset Quotes eld
2487 \end_inset
2488
2489 roof
2490 \begin_inset Quotes erd
2491 \end_inset
2492
2493 .
2494 \end_layout
2495
2496 \end_inset
2497
2498  (note that the comma has special meaning, as it marks options):
2499 \end_layout
2500
2501 \begin_layout Standard
2502 \begin_inset Flex Structure Tree
2503 status open
2504
2505 \begin_layout Plain Layout
2506 [VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[another letter, roof]] ] ]
2507 \end_layout
2508
2509 \end_inset
2510
2511
2512 \end_layout
2513
2514 \begin_layout Standard
2515 \noindent
2516 In order to align nodes of the tree more elegantly, use the 
2517 \begin_inset Quotes eld
2518 \end_inset
2519
2520 tier
2521 \begin_inset Quotes erd
2522 \end_inset
2523
2524  option.
2525  All nodes which have the same 
2526 \begin_inset Quotes eld
2527 \end_inset
2528
2529 tier
2530 \begin_inset Quotes erd
2531 \end_inset
2532
2533  allocated get aligned.
2534  Here is an example:
2535 \end_layout
2536
2537 \begin_layout Standard
2538 \begin_inset Flex Structure Tree
2539 status open
2540
2541 \begin_layout Plain Layout
2542 [VP [DP[John,tier=word]] [V' [V[sent,tier=word]] [DP[Mary,tier=word]] [DP[D[a,ti
2543 er=word]][NP[letter,tier=word]]] ] ]
2544 \end_layout
2545
2546 \end_inset
2547
2548
2549 \end_layout
2550
2551 \begin_layout Standard
2552 \noindent
2553 The package supports many additional features, such as movement arrows and
2554  decorations, that cannot documented here (please refer to the detailed
2555  package documentation 
2556 \begin_inset CommandInset citation
2557 LatexCommand cite
2558 key "forest"
2559 literal "true"
2560
2561 \end_inset
2562
2563 ).
2564 \end_layout
2565
2566 \begin_layout Section
2567 Phonetic Symbols (IPA)
2568 \end_layout
2569
2570 \begin_layout Standard
2571 You do not need the Linguistics module to insert phonetic symbols, this
2572  is a base functionality of \SpecialChar LyX
2573 .
2574  However, since this is frequently used by linguists, we will describe it
2575  (briefly) in this manual nevertheless.
2576 \end_layout
2577
2578 \begin_layout Standard
2579 If you use traditional \SpecialChar LaTeX
2580  or PDF\SpecialChar LaTeX
2581 , a prerequisite to use \SpecialChar LyX
2582 's IPA support is
2583  the \SpecialChar LaTeX
2584  package 
2585 \emph on
2586 tipa
2587 \emph default
2588  
2589 \begin_inset CommandInset citation
2590 LatexCommand cite
2591 key "tipa"
2592 literal "true"
2593
2594 \end_inset
2595
2596 , which is automatically loaded by \SpecialChar LyX
2597  if you follow the procedure described
2598  below.
2599  If you use Unicode fonts (i.
2600 \begin_inset space \thinspace{}
2601 \end_inset
2602
2603 e., if you have clicked 
2604 \begin_inset Quotes eld
2605 \end_inset
2606
2607 Use non-\SpecialChar TeX
2608  fonts
2609 \begin_inset Quotes erd
2610 \end_inset
2611
2612  in 
2613 \family sans
2614 Document\SpecialChar menuseparator
2615 Settings\SpecialChar menuseparator
2616 Fonts
2617 \family default
2618 ), the package 
2619 \emph on
2620 xunicode
2621 \emph default
2622  is loaded instead (since 
2623 \emph on
2624 tipa
2625 \emph default
2626  does not work in this context).
2627  
2628 \begin_inset Foot
2629 status open
2630
2631 \begin_layout Plain Layout
2632 See also https://github.com/wspr/fontspec/issues/280 and the discussion in
2633  docutils-devel (https://www.mail-archive.com/search?l=mid&q=1487664738.2405.6.camel%
2634 40lyx.org).
2635 \end_layout
2636
2637 \end_inset
2638
2639  The 
2640 \emph on
2641 xunicode
2642 \emph default
2643  package emulates the 
2644 \emph on
2645 tipa
2646 \emph default
2647  output, but is not perfect at that, so some things might not look as expected.
2648  Furthermore, you need to take care in this case to use a font that includes
2649  the IPA glyphs (such as 
2650 \emph on
2651 CMU Serif
2652 \emph default
2653  or 
2654 \emph on
2655 SIL Doulos
2656 \emph default
2657 ).
2658  You can also specify an extra font only for IPA by adding the following
2659  to 
2660 \family sans
2661 Document\SpecialChar menuseparator
2662 Settings\SpecialChar menuseparator
2663 LaTeX Preamble
2664 \family default
2665 :
2666 \end_layout
2667
2668 \begin_layout Standard
2669 \begin_inset listings
2670 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
2671 inline false
2672 status open
2673
2674 \begin_layout Plain Layout
2675
2676
2677 \backslash
2678 AtBeginDocument{%
2679 \end_layout
2680
2681 \begin_layout Plain Layout
2682
2683
2684 \backslash
2685 newfontfamily{
2686 \backslash
2687 ipafont}{CMU Serif}% or another font
2688 \end_layout
2689
2690 \begin_layout Plain Layout
2691
2692
2693 \backslash
2694 def
2695 \backslash
2696 useTIPAfont{
2697 \backslash
2698 ipafont}
2699 \end_layout
2700
2701 \begin_layout Plain Layout
2702
2703 }
2704 \end_layout
2705
2706 \end_inset
2707
2708 Additionally, and independent from which of the above approaches you use,
2709  if you want to have instant preview, you should have the 
2710 \emph on
2711 preview-latex
2712 \emph default
2713  package 
2714 \begin_inset CommandInset citation
2715 LatexCommand cite
2716 key "preview"
2717 literal "true"
2718
2719 \end_inset
2720
2721  installed.
2722 \end_layout
2723
2724 \begin_layout Standard
2725 The recommended way to insert phonetic symbols is via 
2726 \family sans
2727 Insert\SpecialChar menuseparator
2728 Special characters\SpecialChar menuseparator
2729 Phonetic symbols.
2730  
2731 \family default
2732 This gives you an input box (
2733 \begin_inset Quotes eld
2734 \end_inset
2735
2736 inset
2737 \begin_inset Quotes erd
2738 \end_inset
2739
2740  in \SpecialChar LyX
2741  speak), where you can insert the symbols.
2742  Note that this box can be used both for the insertion of small snippets
2743  (inline) and multiple paragraphs of phonetic notation.
2744  While the cursor is inside the box, a toolbar opens, which provides the
2745  basic set of phonetic symbols (sorted by the IPA categories).
2746 \begin_inset Foot
2747 status collapsed
2748
2749 \begin_layout Plain Layout
2750 Currently, there is one symbol missing: the labiodental flap (added to the
2751  IPA in 2005).
2752  This symbol is not yet supported by the 
2753 \emph on
2754 tipa
2755 \emph default
2756  package and thus cannot be supported by LyX.
2757 \end_layout
2758
2759 \end_inset
2760
2761  Each of the toolbar's panels can be torn off the bar by clicking on the
2762  dashed line on its top.
2763  This way, you can insert most symbols quite comfortably: 
2764 \begin_inset IPA
2765
2766 \begin_layout Standard
2767 [l
2768 \begin_inset IPADeco bottomtiebar
2769 status open
2770
2771 \begin_layout Plain Layout
2772 ai
2773 \end_layout
2774
2775 \end_inset
2776
2777 k ðɪs]
2778 \end_layout
2779
2780 \end_inset
2781
2782 .
2783 \begin_inset Foot
2784 status collapsed
2785
2786 \begin_layout Plain Layout
2787 Note that, if you want to insert diacritics, the diacritics are inserted
2788  
2789 \emph on
2790 after
2791 \emph default
2792  the base character.
2793  That is to say, for 
2794 \begin_inset IPA
2795
2796 \begin_layout Standard
2797 [d̥]
2798 \end_layout
2799
2800 \end_inset
2801
2802  you need to insert 
2803 \family typewriter
2804 <d>
2805 \family default
2806  and then the 
2807 \family typewriter
2808 <voiceless>
2809 \family default
2810  subring diacritic from the toolbar immediately after the 
2811 \family typewriter
2812 <d>
2813 \family default
2814 .
2815  If you need a diacritic alone, you can achieve this by inserting a blank
2816  and then the diacritic, as in 
2817 \begin_inset IPA
2818
2819 \begin_layout Standard
2820  ̼
2821 \end_layout
2822
2823 \end_inset
2824
2825  (
2826 \family typewriter
2827 =
2828 \begin_inset space ~
2829 \end_inset
2830
2831 <space>+<Linguolabial from the IPA toolbar>
2832 \family default
2833 ).
2834 \end_layout
2835
2836 \end_inset
2837
2838  Given that
2839 \emph on
2840  preview-latex
2841 \emph default
2842  is installed and you have switched on instant preview (in
2843 \family sans
2844  Tools\SpecialChar menuseparator
2845 Preferences\SpecialChar menuseparator
2846 Look
2847 \begin_inset space ~
2848 \end_inset
2849
2850 &
2851 \begin_inset space ~
2852 \end_inset
2853
2854 Feel\SpecialChar menuseparator
2855 Display
2856 \family default
2857 ), you'll get a nice WYSIWYG preview as soon as the cursor leaves the box.
2858  Alternatively to the toolbar, you can also insert the symbols directly
2859  via the shortcut notation which is described in the 
2860 \emph on
2861 tipa
2862 \emph default
2863  manual: here's 
2864 \begin_inset IPA
2865
2866 \begin_layout Standard
2867
2868 \family roman
2869 \series medium
2870 \shape up
2871 \size normal
2872 \emph off
2873 \bar no
2874 \strikeout off
2875 \uuline off
2876 \uwave off
2877 \noun off
2878 \color none
2879 [@n Ig"zA:mpl]
2880 \end_layout
2881
2882 \end_inset
2883
2884  (
2885 \emph on
2886 tipa
2887 \emph default
2888  shortcut notation: 
2889 \family typewriter
2890 [@n Ig"zA:mpl
2891 \family default
2892 ]).
2893  Furthermore, you can insert symbols via 
2894 \family sans
2895 Insert\SpecialChar menuseparator
2896 Special characters\SpecialChar menuseparator
2897 Symbols\SpecialChar ldots
2898
2899 \family default
2900  (which might be useful for symbols that are not yet covered by the toolbar),
2901  or you can simply paste unicode-encoded text (e.
2902 \begin_inset space \thinspace{}
2903 \end_inset
2904
2905 g., from other applications) into the box.
2906  The output should be equal, no matter what input method you chose.
2907 \end_layout
2908
2909 \begin_layout Standard
2910 Note that you can also insert or paste most IPA glyphs outside the specific
2911  IPA input box: [əz ʃəʊn hɪə].
2912  In the output, they will be automatically transformed into the correct
2913  
2914 \emph on
2915 tipa
2916 \emph default
2917  macro (if not, please inform us).
2918  However, please note that this method produces inferior output quality,
2919  since it will most likely result in a mix of fonts (the latin characters
2920  are taken from the base document font, the IPA glyphs from the IPA font).
2921  Within the IPA input box, on the other hand, the IPA font is used for all
2922  characters.
2923  So unless you only need to insert single IPA characters, using the IPA
2924  input box is highly recommended.
2925 \end_layout
2926
2927 \begin_layout Section
2928 Further information
2929 \end_layout
2930
2931 \begin_layout Standard
2932 For a detailed description of specific possibilities for linguists, please
2933  refer to the Linguist\SpecialChar LyX
2934  page on the \SpecialChar LyX
2935  wiki 
2936 \begin_inset CommandInset citation
2937 LatexCommand cite
2938 key "linguistlyx"
2939 literal "true"
2940
2941 \end_inset
2942
2943  (feel free to enter your own hints there).
2944 \end_layout
2945
2946 \begin_layout Bibliography
2947 \begin_inset CommandInset bibitem
2948 LatexCommand bibitem
2949 key "covington"
2950 literal "true"
2951
2952 \end_inset
2953
2954 The covington package: 
2955 \begin_inset Flex URL
2956 status collapsed
2957
2958 \begin_layout Plain Layout
2959
2960 http://www.ctan.org/tex-archive/macros/latex/contrib/covington/
2961 \end_layout
2962
2963 \end_inset
2964
2965 .
2966 \end_layout
2967
2968 \begin_layout Bibliography
2969 \begin_inset CommandInset bibitem
2970 LatexCommand bibitem
2971 key "csquotes"
2972 literal "true"
2973
2974 \end_inset
2975
2976 The csquotes package: 
2977 \begin_inset Flex URL
2978 status collapsed
2979
2980 \begin_layout Plain Layout
2981
2982 http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/
2983 \end_layout
2984
2985 \end_inset
2986
2987 .
2988 \end_layout
2989
2990 \begin_layout Bibliography
2991 \begin_inset CommandInset bibitem
2992 LatexCommand bibitem
2993 key "enumitem"
2994 literal "true"
2995
2996 \end_inset
2997
2998 The enumitem package: 
2999 \begin_inset Flex URL
3000 status collapsed
3001
3002 \begin_layout Plain Layout
3003
3004 http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/
3005 \end_layout
3006
3007 \end_inset
3008
3009 .
3010 \end_layout
3011
3012 \begin_layout Bibliography
3013 \begin_inset CommandInset bibitem
3014 LatexCommand bibitem
3015 key "float"
3016 literal "true"
3017
3018 \end_inset
3019
3020 The float package: 
3021 \begin_inset Flex URL
3022 status collapsed
3023
3024 \begin_layout Plain Layout
3025
3026 http://www.ctan.org/tex-archive/macros/latex/contrib/float/
3027 \end_layout
3028
3029 \end_inset
3030
3031 .
3032 \end_layout
3033
3034 \begin_layout Bibliography
3035 \begin_inset CommandInset bibitem
3036 LatexCommand bibitem
3037 key "forest"
3038 literal "true"
3039
3040 \end_inset
3041
3042 The forest package: 
3043 \begin_inset Flex URL
3044 status collapsed
3045
3046 \begin_layout Plain Layout
3047
3048 http://www.ctan.org/tex-archive/graphics/pgf/contrib/forest
3049 \end_layout
3050
3051 \end_inset
3052
3053 .
3054 \end_layout
3055
3056 \begin_layout Bibliography
3057 \begin_inset CommandInset bibitem
3058 LatexCommand bibitem
3059 key "linguistlyx"
3060 literal "true"
3061
3062 \end_inset
3063
3064 Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using \SpecialChar LyX
3065  for Linguistic
3066  Papers.
3067  
3068 \begin_inset Flex URL
3069 status collapsed
3070
3071 \begin_layout Plain Layout
3072
3073 https://wiki.lyx.org/LyX/LinguistLyX
3074 \end_layout
3075
3076 \end_inset
3077
3078 .
3079 \end_layout
3080
3081 \begin_layout Bibliography
3082 \begin_inset CommandInset bibitem
3083 LatexCommand bibitem
3084 key "preview"
3085 literal "true"
3086
3087 \end_inset
3088
3089 The preview-latex package: 
3090 \begin_inset Flex URL
3091 status collapsed
3092
3093 \begin_layout Plain Layout
3094
3095 http://www.ctan.org/tex-archive/macros/latex/contrib/preview/
3096 \end_layout
3097
3098 \end_inset
3099
3100 .
3101 \end_layout
3102
3103 \begin_layout Bibliography
3104 \begin_inset CommandInset bibitem
3105 LatexCommand bibitem
3106 key "tipa"
3107 literal "true"
3108
3109 \end_inset
3110
3111 The tipa package and fonts: 
3112 \begin_inset Flex URL
3113 status collapsed
3114
3115 \begin_layout Plain Layout
3116
3117 http://www.ctan.org/tex-archive/fonts/tipa/
3118 \end_layout
3119
3120 \end_inset
3121
3122 .
3123 \end_layout
3124
3125 \end_body
3126 \end_document