]> git.lyx.org Git - lyx.git/blob - lib/examples/linguistics.lyx
seminar.lyx: backport Günter's recent fixes
[lyx.git] / lib / examples / linguistics.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
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 auto
42 \fontencoding global
43 \font_roman "lmodern" "FreeSerif"
44 \font_sans "default" "FreeSans"
45 \font_typewriter "default" "default"
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 \paperfontsize default
61 \spacing single
62 \use_hyperref true
63 \pdf_bookmarks true
64 \pdf_bookmarksnumbered false
65 \pdf_bookmarksopen false
66 \pdf_bookmarksopenlevel 1
67 \pdf_breaklinks false
68 \pdf_pdfborder true
69 \pdf_colorlinks false
70 \pdf_backref false
71 \pdf_pdfusetitle true
72 \papersize default
73 \use_geometry false
74 \use_package amsmath 1
75 \use_package amssymb 1
76 \use_package cancel 1
77 \use_package esint 1
78 \use_package mathdots 1
79 \use_package mathtools 1
80 \use_package mhchem 1
81 \use_package stackrel 1
82 \use_package stmaryrd 1
83 \use_package undertilde 1
84 \cite_engine basic
85 \cite_engine_type default
86 \biblio_style plain
87 \use_bibtopic false
88 \use_indices false
89 \paperorientation portrait
90 \suppress_date false
91 \justification true
92 \use_refstyle 0
93 \use_minted 0
94 \index Index
95 \shortcut idx
96 \color #008000
97 \end_index
98 \secnumdepth 3
99 \tocdepth 3
100 \paragraph_separation indent
101 \paragraph_indentation default
102 \is_math_indent 0
103 \math_numbering_side default
104 \quotes_style english
105 \dynamic_quotes 0
106 \papercolumns 1
107 \papersides 1
108 \paperpagestyle default
109 \tracking_changes false
110 \output_changes false
111 \html_math_output 0
112 \html_css_as_file 0
113 \html_be_strict false
114 \end_header
115
116 \begin_body
117
118 \begin_layout Title
119 Writing linguistic papers with \SpecialChar LyX
120
121 \end_layout
122
123 \begin_layout Author
124 Jürgen Spitzmüller
125 \begin_inset Newline newline
126 \end_inset
127
128
129 \begin_inset CommandInset href
130 LatexCommand href
131 target "spitz@lyx.org"
132 type "mailto:"
133 literal "false"
134
135 \end_inset
136
137
138 \end_layout
139
140 \begin_layout Date
141 21/04/2015
142 \end_layout
143
144 \begin_layout Abstract
145 This paper describes some features that \SpecialChar LyX
146  provides to linguists.
147  It demonstrates how to use some native support in order to produce numbered
148  examples, glosses, OT tableaux, semantic markup, structure trees, and phonetic
149  symbols (IPA).
150 \end_layout
151
152 \begin_layout Section
153 Aims and prerequisites
154 \end_layout
155
156 \begin_layout Standard
157 Basically, this paper describes the features of the 
158 \begin_inset Quotes eld
159 \end_inset
160
161 Linguistics
162 \begin_inset Quotes erd
163 \end_inset
164
165  module that ships with \SpecialChar LyX
166  as of version 1.6.0.
167  
168 \begin_inset Quotes eld
169 \end_inset
170
171 Modules
172 \begin_inset Quotes erd
173 \end_inset
174
175  are support files (introduced with \SpecialChar LyX
176  1.6.0) that can easily be selected for
177  any document.
178  In order to use the Linguistics module, go to 
179 \family sans
180 Document\SpecialChar menuseparator
181 Settings\SpecialChar menuseparator
182 Modules
183 \family default
184 , select 
185 \begin_inset Quotes eld
186 \end_inset
187
188 Linguistics
189 \begin_inset Quotes erd
190 \end_inset
191
192  from the list of available modules, and hit the 
193 \family sans
194 Add
195 \family default
196  button to select it for your document (as already done for this document).
197 \end_layout
198
199 \begin_layout Standard
200 You should be able to use the module with any document class (please inform
201  me, if not).
202  However, in order to use all the features, you need to have the following
203  \SpecialChar LaTeX
204  packages installed:
205 \end_layout
206
207 \begin_layout Enumerate
208
209 \emph on
210 covington.sty
211 \emph default
212  
213 \begin_inset CommandInset citation
214 LatexCommand cite
215 key "covington"
216 literal "true"
217
218 \end_inset
219
220 : This is the base package used for numbered examples and glosses.
221 \end_layout
222
223 \begin_deeper
224 \begin_layout Itemize
225 Installed on your system: 
226 \begin_inset Info
227 type  "package"
228 arg   "covington"
229 \end_inset
230
231 .
232 \end_layout
233
234 \end_deeper
235 \begin_layout Enumerate
236
237 \emph on
238 enumitem.sty
239 \emph default
240  
241 \begin_inset CommandInset citation
242 LatexCommand cite
243 key "enumitem"
244 literal "true"
245
246 \end_inset
247
248 : This package is used for the Subexamples style.
249  It is generally useful to alter the appearance of lists (such as 
250 \emph on
251 enumerate
252 \emph default
253
254 \emph on
255 itemize
256 \emph default
257
258 \emph on
259 description
260 \emph default
261 ).
262 \end_layout
263
264 \begin_deeper
265 \begin_layout Itemize
266 Installed on your system: 
267 \begin_inset Info
268 type  "package"
269 arg   "enumitem"
270 \end_inset
271
272 .
273 \end_layout
274
275 \end_deeper
276 \begin_layout Enumerate
277
278 \emph on
279 csquotes.sty
280 \emph default
281  
282 \begin_inset CommandInset citation
283 LatexCommand cite
284 key "csquotes"
285 literal "true"
286
287 \end_inset
288
289 : Needed for the 
290 \emph on
291 Meaning
292 \emph default
293  character style.
294  The package provides context sensitive quotation marks, depending on the
295  language in use.
296 \end_layout
297
298 \begin_deeper
299 \begin_layout Itemize
300 Installed on your system: 
301 \begin_inset Info
302 type  "package"
303 arg   "csquotes"
304 \end_inset
305
306 .
307 \end_layout
308
309 \end_deeper
310 \begin_layout Enumerate
311
312 \emph on
313 float.sty
314 \emph default
315  
316 \begin_inset CommandInset citation
317 LatexCommand cite
318 key "float"
319 literal "true"
320
321 \end_inset
322
323 : Needed for the OT tableaux floats and list of floats.
324  This package should be part of any \SpecialChar LaTeX
325  distribution.
326 \end_layout
327
328 \begin_deeper
329 \begin_layout Itemize
330 Installed on your system: 
331 \begin_inset Info
332 type  "package"
333 arg   "float"
334 \end_inset
335
336 .
337 \end_layout
338
339 \end_deeper
340 \begin_layout Enumerate
341
342 \emph on
343 forest.sty
344 \emph default
345  
346 \begin_inset CommandInset citation
347 LatexCommand cite
348 key "forest"
349 literal "true"
350
351 \end_inset
352
353 : This package is used to generate structure trees.
354 \end_layout
355
356 \begin_deeper
357 \begin_layout Itemize
358 Installed on your system: 
359 \begin_inset Info
360 type  "package"
361 arg   "forest"
362 \end_inset
363
364 .
365 \end_layout
366
367 \end_deeper
368 \begin_layout Section
369 Numbered examples
370 \end_layout
371
372 \begin_layout Standard
373 Numbered examples are inserted via the layout drop-down box in the toolbar.
374  There are three variants:
375 \end_layout
376
377 \begin_layout Numbered Example (multiline)
378 This is a multiline example [Style 
379 \emph on
380 Numbered Example (multiline)
381 \emph default
382 ]
383 \end_layout
384
385 \begin_layout Numbered Example (multiline)
386 it can have several paragraphs
387 \end_layout
388
389 \begin_layout Numbered Examples (consecutive)
390 This is a single example
391 \begin_inset CommandInset label
392 LatexCommand label
393 name "exa:single-example"
394
395 \end_inset
396
397  [Style 
398 \emph on
399 Numbered Example (consecutive)
400 \emph default
401 ]
402 \end_layout
403
404 \begin_layout Numbered Examples (consecutive)
405 Consecutive single examples get their own numbers
406 \end_layout
407
408 \begin_layout Subexample
409 This is a subexample
410 \begin_inset CommandInset label
411 LatexCommand label
412 name "subsec:subexample"
413
414 \end_inset
415
416  [Style 
417 \emph on
418 Subexample
419 \emph default
420 ]
421 \end_layout
422
423 \begin_layout Subexample
424 And another one
425 \end_layout
426
427 \begin_layout Standard
428 References to examples are produced as usual: insert a label to the example
429  and a cross-reference via 
430 \family sans
431 Insert\SpecialChar menuseparator
432 Cross references
433 \family default
434 .
435  We refer here, just for the sake of demonstrating this, to 
436 \begin_inset CommandInset ref
437 LatexCommand ref
438 reference "exa:single-example"
439
440 \end_inset
441
442  and 
443 \begin_inset CommandInset ref
444 LatexCommand ref
445 reference "subsec:subexample"
446
447 \end_inset
448
449 .
450 \end_layout
451
452 \begin_layout Standard
453 If you want to modify the numbering of an individual example, you can use
454  
455 \family sans
456 Insert\SpecialChar menuseparator
457 Custom Numbering 
458 \family default
459 .
460 \end_layout
461
462 \begin_layout Section
463 Glosses
464 \end_layout
465
466 \begin_layout Standard
467 The Linguistics module provides two kinds of glosses, which can be inserted
468  via 
469 \family sans
470 Insert\SpecialChar menuseparator
471 Custom Insets
472 \family default
473 : The standard 
474 \emph on
475 Glosse
476 \emph default
477  provides a gloss that consists of two lines (a gloss pair) and a translation,
478  the 
479 \emph on
480 Tri-Glosse
481 \emph default
482  insets consists of three lines and a translation (the third line is usually
483  needed to give morphological or phonological information next to the gloss
484  pair).
485  Each translation line might span multiple lines in the output, i.
486 \begin_inset space \thinspace{}
487 \end_inset
488
489 e., the paragraphs are automatically broken if they exceed the text width.
490  The translation line is inserted by means of 
491 \family sans
492 Insert\SpecialChar menuseparator
493 Glosse Translation
494 \family default
495 .
496  It does not matter where you insert the translation, it is always printed
497  as the last line.
498 \end_layout
499
500 \begin_layout Standard
501 Here is a simple example for a 
502 \emph on
503 Glosse
504 \emph default
505 :
506 \end_layout
507
508 \begin_layout Standard
509 \begin_inset Flex Glosse
510 status open
511
512 \begin_layout Plain Layout
513 C'est     un exemple simple
514 \end_layout
515
516 \begin_layout Plain Layout
517 \begin_inset Flex GroupGlossedWords
518 status open
519
520 \begin_layout Plain Layout
521 This is
522 \end_layout
523
524 \end_inset
525
526  an example simple
527 \end_layout
528
529 \begin_layout Plain Layout
530 \begin_inset Argument 1
531 status open
532
533 \begin_layout Plain Layout
534 \begin_inset Quotes els
535 \end_inset
536
537 This is a simple example
538 \begin_inset Quotes ers
539 \end_inset
540
541
542 \end_layout
543
544 \end_inset
545
546
547 \end_layout
548
549 \end_inset
550
551
552 \end_layout
553
554 \begin_layout Standard
555 \noindent
556 Use 
557 \family sans
558 Edit\SpecialChar menuseparator
559 Text Style\SpecialChar menuseparator
560 GroupGlossedWords
561 \family default
562  in order to hold together multi-word expressions (or alternatively just
563  put braces in TeX mode 
564 \begin_inset ERT
565 status open
566
567 \begin_layout Plain Layout
568
569 {
570 \end_layout
571
572 \end_inset
573
574 around those words
575 \begin_inset ERT
576 status open
577
578 \begin_layout Plain Layout
579
580 }
581 \end_layout
582
583 \end_inset
584
585 ).
586  Note that you can enter multiple spaces to align the glosses in the \SpecialChar LyX
587  work
588  area; this will not affect the output.
589 \end_layout
590
591 \begin_layout Standard
592 Here is a three-line gloss (
593 \emph on
594 Tri-Glosse
595 \emph default
596 ); the procedure is the same:
597 \end_layout
598
599 \begin_layout Standard
600 \begin_inset Flex Tri-Glosse
601 status open
602
603 \begin_layout Plain Layout
604 C'est      un exemple simple
605 \end_layout
606
607 \begin_layout Plain Layout
608 \begin_inset Flex GroupGlossedWords
609 status open
610
611 \begin_layout Plain Layout
612 Das ist
613 \end_layout
614
615 \end_inset
616
617  ein Beispiel einfach
618 \end_layout
619
620 \begin_layout Plain Layout
621 \begin_inset Flex GroupGlossedWords
622 status open
623
624 \begin_layout Plain Layout
625 This is
626 \end_layout
627
628 \end_inset
629
630  an  example simple
631 \end_layout
632
633 \begin_layout Plain Layout
634 \begin_inset Argument 1
635 status open
636
637 \begin_layout Plain Layout
638 \begin_inset Quotes els
639 \end_inset
640
641 This is a simple example
642 \begin_inset Quotes ers
643 \end_inset
644
645
646 \end_layout
647
648 \end_inset
649
650
651 \end_layout
652
653 \end_inset
654
655
656 \end_layout
657
658 \begin_layout Standard
659 \noindent
660 If you want to have numbered glosses, simply insert the gloss inset to a
661  numbered examples paragraph, as follows:
662 \end_layout
663
664 \begin_layout Numbered Examples (consecutive)
665 \begin_inset Flex Tri-Glosse
666 status open
667
668 \begin_layout Plain Layout
669 Mein Luftkissenfahrzeug ist voller  Aale
670 \end_layout
671
672 \begin_layout Plain Layout
673 My    skeertuig                   is  vol       palings
674 \end_layout
675
676 \begin_layout Plain Layout
677 My    hovercraft                 is 
678 \begin_inset Flex GroupGlossedWords
679 status open
680
681 \begin_layout Plain Layout
682 full of
683 \end_layout
684
685 \end_inset
686
687  eels
688 \end_layout
689
690 \begin_layout Plain Layout
691 \begin_inset Argument 1
692 status open
693
694 \begin_layout Plain Layout
695 \begin_inset Quotes els
696 \end_inset
697
698 Do you have matches?
699 \begin_inset Quotes ers
700 \end_inset
701
702
703 \end_layout
704
705 \end_inset
706
707
708 \end_layout
709
710 \end_inset
711
712
713 \end_layout
714
715 \begin_layout Subsection*
716 Tips & Tricks
717 \end_layout
718
719 \begin_layout Subsubsection*
720 Avoiding Page Breaks within Glosses
721 \end_layout
722
723 \begin_layout Standard
724 Page breaks might occur within glosses, which is not desirable.
725  A workaround is to wrap glosses into boxes (via 
726 \family sans
727 Insert\SpecialChar menuseparator
728 Box\SpecialChar menuseparator
729 Frameless
730 \family default
731 ).
732  If you want to automate this for all glosses, you can copy the following
733  code to 
734 \family sans
735 Document\SpecialChar menuseparator
736 Settings\SpecialChar menuseparator
737 LaTeX Preamble
738 \family default
739 :
740 \end_layout
741
742 \begin_layout Quote
743 \begin_inset listings
744 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
745 inline false
746 status open
747
748 \begin_layout Plain Layout
749
750 % Do not break pages at two-line glosses
751 \end_layout
752
753 \begin_layout Plain Layout
754
755
756 \backslash
757 AtBeginDocument{%
758 \end_layout
759
760 \begin_layout Plain Layout
761
762
763 \backslash
764 renewenvironment{linggloss}[2][]{%
765 \end_layout
766
767 \begin_layout Plain Layout
768
769
770 \backslash
771 def
772 \backslash
773 glosstr{
774 \backslash
775 glt #1}%
776 \end_layout
777
778 \begin_layout Plain Layout
779
780
781 \backslash
782 begin{minipage}{.7
783 \backslash
784 textwidth}
785 \end_layout
786
787 \begin_layout Plain Layout
788
789
790 \backslash
791 gll #2}{
792 \backslash
793 glosstr
794 \backslash
795 glend
796 \backslash
797 end{minipage}}
798 \end_layout
799
800 \begin_layout Plain Layout
801
802 }
803 \end_layout
804
805 \end_inset
806
807
808 \end_layout
809
810 \begin_layout Quote
811 \begin_inset listings
812 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
813 inline false
814 status open
815
816 \begin_layout Plain Layout
817
818 % Do not break pages at three-line glosses
819 \end_layout
820
821 \begin_layout Plain Layout
822
823
824 \backslash
825 AtBeginDocument{%
826 \end_layout
827
828 \begin_layout Plain Layout
829
830
831 \backslash
832 renewenvironment{lingglosss}[2][]{%
833 \end_layout
834
835 \begin_layout Plain Layout
836
837
838 \backslash
839 def
840 \backslash
841 glosstr{
842 \backslash
843 glt #1}%
844 \end_layout
845
846 \begin_layout Plain Layout
847
848
849 \backslash
850 begin{minipage}{.7
851 \backslash
852 textwidth}
853 \end_layout
854
855 \begin_layout Plain Layout
856
857
858 \backslash
859 glll #2}{
860 \backslash
861 glosstr
862 \backslash
863 glend
864 \backslash
865 end{minipage}}
866 \end_layout
867
868 \begin_layout Plain Layout
869
870 }
871 \end_layout
872
873 \end_inset
874
875
876 \end_layout
877
878 \begin_layout Standard
879 You might have to adapt the minipage width (
880 \family typewriter
881 .7
882 \backslash
883 textwidth
884 \family default
885  in the example code) to fit the glosses to your actual page width.
886 \end_layout
887
888 \begin_layout Subsubsection*
889 Footnotes in Glosses
890 \end_layout
891
892 \begin_layout Standard
893 Although you can insert a footnote in a 
894 \emph on
895 Glosse
896 \emph default
897  inset, LaTeX compilation will not succeed.
898  If you need footnotes, put 
899 \family typewriter
900
901 \backslash
902 footnotemark
903 \family default
904  in TeX mode in the glosse at the point where the footnote number should
905  appear, and
906 \family typewriter
907  
908 \backslash
909 footnotetext{Actual footnote ...}
910 \family default
911 , also in TeX mode, right behind the 
912 \emph on
913 Glosse
914 \emph default
915  inset.
916  If you need several footnotes, just insert multiple of these constructs.
917 \end_layout
918
919 \begin_layout Subsubsection*
920 Using Glosses (and Examples) in a Beamer Presentation
921 \end_layout
922
923 \begin_layout Standard
924 If you use the linguistics module with 
925 \emph on
926 beamer
927 \emph default
928  presentations, there are some caveats:
929 \end_layout
930
931 \begin_layout Itemize
932 If you want to use glosses in 
933 \emph on
934 beamer
935 \emph default
936 , you need to put it in a 
937 \begin_inset Quotes eld
938 \end_inset
939
940 fragile
941 \begin_inset Quotes erd
942 \end_inset
943
944  frame.
945  
946 \end_layout
947
948 \begin_layout Itemize
949 Older versions of the 
950 \emph on
951 covington
952 \emph default
953  package (before version 1.1) do not play with the 
954 \emph on
955 beamer
956 \emph default
957  class out of the box, since both 
958 \emph on
959 beamer
960 \emph default
961  and 
962 \emph on
963 covington
964 \emph default
965  try to define the commands 
966 \family typewriter
967
968 \backslash
969 example
970 \family default
971  and 
972 \family typewriter
973
974 \backslash
975 examples
976 \family default
977 .
978  In these older versions of 
979 \emph on
980 covington
981 \emph default
982 , this results in a \SpecialChar LaTeX
983  error.
984  You can work around this problem by inserting the following code in 
985 \family sans
986 Document\SpecialChar menuseparator
987 Settings\SpecialChar menuseparator
988 Local Layout
989 \family default
990 :
991 \end_layout
992
993 \begin_deeper
994 \begin_layout Quote
995 \begin_inset listings
996 lstparams "basicstyle={\footnotesize\ttfamily},tabsize=4"
997 inline false
998 status open
999
1000 \begin_layout Plain Layout
1001
1002 Provides covington 1
1003 \end_layout
1004
1005 \begin_layout Plain Layout
1006
1007 AddToPreamble
1008 \end_layout
1009
1010 \begin_layout Plain Layout
1011
1012                 
1013 \backslash
1014 let
1015 \backslash
1016 example
1017 \backslash
1018 relax
1019 \end_layout
1020
1021 \begin_layout Plain Layout
1022
1023                 
1024 \backslash
1025 let
1026 \backslash
1027 endexample
1028 \backslash
1029 relax
1030 \end_layout
1031
1032 \begin_layout Plain Layout
1033
1034                 
1035 \backslash
1036 let
1037 \backslash
1038 examples
1039 \backslash
1040 relax
1041 \end_layout
1042
1043 \begin_layout Plain Layout
1044
1045                 
1046 \backslash
1047 let
1048 \backslash
1049 endexamples
1050 \backslash
1051 relax
1052 \end_layout
1053
1054 \begin_layout Plain Layout
1055
1056                 
1057 \backslash
1058 usepackage{covington}
1059 \end_layout
1060
1061 \begin_layout Plain Layout
1062
1063 EndPreamble
1064 \end_layout
1065
1066 \end_inset
1067
1068
1069 \end_layout
1070
1071 \begin_layout Standard
1072 Press 
1073 \begin_inset Quotes eld
1074 \end_inset
1075
1076 validate
1077 \begin_inset Quotes erd
1078 \end_inset
1079
1080  and 
1081 \begin_inset Quotes eld
1082 \end_inset
1083
1084 OK
1085 \begin_inset Quotes erd
1086 \end_inset
1087
1088 .
1089  This effectively defuncts 
1090 \emph on
1091 beamer's
1092 \emph default
1093  example(s) environment in favor of 
1094 \emph on
1095 covington's
1096 \emph default
1097  (i.
1098 \begin_inset space \thinspace{}
1099 \end_inset
1100
1101 e., you can use the 
1102 \family sans
1103 Numbered Example
1104 \family default
1105  styles, but not 
1106 \emph on
1107 beamer's
1108 \emph default
1109  
1110 \family sans
1111 Example
1112 \family default
1113  and 
1114 \family sans
1115 Examples
1116 \family default
1117 ).
1118 \end_layout
1119
1120 \begin_layout Standard
1121 As of v.
1122  1.1 of 
1123 \emph on
1124 covington
1125 \emph default
1126 , this problem is solved.
1127  
1128 \end_layout
1129
1130 \end_deeper
1131 \begin_layout Section
1132 Optimality Theory Tableaux
1133 \end_layout
1134
1135 \begin_layout Standard
1136 OT tableaux itself can of course simply be inserted as ordinary tables (for
1137  specific features such as dashed lines and shaded cells, cf.
1138  the 
1139 \emph on
1140 EmbeddedObjects
1141 \emph default
1142  manual).
1143  However, you might want to have the tableaux numbered throughout the document,
1144  and you might want to have a 
1145 \emph on
1146 List of Tableaux
1147 \emph default
1148 , similar to the 
1149 \emph on
1150 List of Tables
1151 \emph default
1152 .
1153  
1154 \end_layout
1155
1156 \begin_layout Standard
1157 The Linguistics module provides support for both.
1158  In 
1159 \family sans
1160 Insert\SpecialChar menuseparator
1161 Floats
1162 \family default
1163 , you will find a Tableaux float:
1164 \end_layout
1165
1166 \begin_layout Standard
1167 \begin_inset Float tableau
1168 placement h
1169 wide false
1170 sideways false
1171 status open
1172
1173 \begin_layout Plain Layout
1174 \align center
1175 \begin_inset Tabular
1176 <lyxtabular version="3" rows="5" columns="5">
1177 <features tabularvalignment="middle">
1178 <column alignment="right" valignment="top">
1179 <column alignment="center" valignment="top">
1180 <column alignment="center" valignment="top">
1181 <column alignment="center" valignment="top" special="|c">
1182 <column alignment="center" valignment="top">
1183 <row>
1184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1185 \begin_inset Text
1186
1187 \begin_layout Plain Layout
1188 /atikap/
1189 \end_layout
1190
1191 \end_inset
1192 </cell>
1193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1194 \begin_inset Text
1195
1196 \begin_layout Plain Layout
1197
1198 \noun on
1199 Onset
1200 \end_layout
1201
1202 \end_inset
1203 </cell>
1204 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1205 \begin_inset Text
1206
1207 \begin_layout Plain Layout
1208
1209 \noun on
1210 NoCoda
1211 \end_layout
1212
1213 \end_inset
1214 </cell>
1215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1216 \begin_inset Text
1217
1218 \begin_layout Plain Layout
1219
1220 \noun on
1221 Dep
1222 \end_layout
1223
1224 \end_inset
1225 </cell>
1226 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
1227 \begin_inset Text
1228
1229 \begin_layout Plain Layout
1230
1231 \noun on
1232 Max
1233 \end_layout
1234
1235 \end_inset
1236 </cell>
1237 </row>
1238 <row>
1239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1240 \begin_inset Text
1241
1242 \begin_layout Plain Layout
1243 \begin_inset Formula $\mbox{☞}$
1244 \end_inset
1245
1246  
1247 \begin_inset Formula $\mbox{\textipa{P}}$
1248 \end_inset
1249
1250 a.ti.ka
1251 \end_layout
1252
1253 \end_inset
1254 </cell>
1255 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1256 \begin_inset Text
1257
1258 \begin_layout Plain Layout
1259
1260 \end_layout
1261
1262 \end_inset
1263 </cell>
1264 <cell alignment="center" valignment="top" topline="true" usebox="none">
1265 \begin_inset Text
1266
1267 \begin_layout Plain Layout
1268
1269 \end_layout
1270
1271 \end_inset
1272 </cell>
1273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1274 \begin_inset Text
1275
1276 \begin_layout Plain Layout
1277 *
1278 \end_layout
1279
1280 \end_inset
1281 </cell>
1282 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
1283 \begin_inset Text
1284
1285 \begin_layout Plain Layout
1286 *
1287 \end_layout
1288
1289 \end_inset
1290 </cell>
1291 </row>
1292 <row>
1293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1294 \begin_inset Text
1295
1296 \begin_layout Plain Layout
1297 a.ti.ka
1298 \end_layout
1299
1300 \end_inset
1301 </cell>
1302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1303 \begin_inset Text
1304
1305 \begin_layout Plain Layout
1306 *!
1307 \end_layout
1308
1309 \end_inset
1310 </cell>
1311 <cell alignment="center" valignment="top" topline="true" usebox="none">
1312 \begin_inset Text
1313
1314 \begin_layout Plain Layout
1315
1316 \end_layout
1317
1318 \end_inset
1319 </cell>
1320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1321 \begin_inset Text
1322
1323 \begin_layout Plain Layout
1324
1325 \end_layout
1326
1327 \end_inset
1328 </cell>
1329 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
1330 \begin_inset Text
1331
1332 \begin_layout Plain Layout
1333 *
1334 \end_layout
1335
1336 \end_inset
1337 </cell>
1338 </row>
1339 <row>
1340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1341 \begin_inset Text
1342
1343 \begin_layout Plain Layout
1344 \begin_inset Formula $\mbox{\textipa{P}}$
1345 \end_inset
1346
1347 a.ti.kap
1348 \end_layout
1349
1350 \end_inset
1351 </cell>
1352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1353 \begin_inset Text
1354
1355 \begin_layout Plain Layout
1356
1357 \end_layout
1358
1359 \end_inset
1360 </cell>
1361 <cell alignment="center" valignment="top" topline="true" usebox="none">
1362 \begin_inset Text
1363
1364 \begin_layout Plain Layout
1365 *!
1366 \end_layout
1367
1368 \end_inset
1369 </cell>
1370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1371 \begin_inset Text
1372
1373 \begin_layout Plain Layout
1374 *
1375 \end_layout
1376
1377 \end_inset
1378 </cell>
1379 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
1380 \begin_inset Text
1381
1382 \begin_layout Plain Layout
1383
1384 \end_layout
1385
1386 \end_inset
1387 </cell>
1388 </row>
1389 <row>
1390 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1391 \begin_inset Text
1392
1393 \begin_layout Plain Layout
1394 a.ti.kap
1395 \end_layout
1396
1397 \end_inset
1398 </cell>
1399 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1400 \begin_inset Text
1401
1402 \begin_layout Plain Layout
1403 *!
1404 \end_layout
1405
1406 \end_inset
1407 </cell>
1408 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1409 \begin_inset Text
1410
1411 \begin_layout Plain Layout
1412 *!
1413 \end_layout
1414
1415 \end_inset
1416 </cell>
1417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1418 \begin_inset Text
1419
1420 \begin_layout Plain Layout
1421
1422 \end_layout
1423
1424 \end_inset
1425 </cell>
1426 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
1427 \begin_inset Text
1428
1429 \begin_layout Plain Layout
1430
1431 \end_layout
1432
1433 \end_inset
1434 </cell>
1435 </row>
1436 </lyxtabular>
1437
1438 \end_inset
1439
1440
1441 \end_layout
1442
1443 \begin_layout Plain Layout
1444 \begin_inset Caption Standard
1445
1446 \begin_layout Plain Layout
1447 Example Tableau
1448 \end_layout
1449
1450 \end_inset
1451
1452
1453 \end_layout
1454
1455 \end_inset
1456
1457
1458 \end_layout
1459
1460 \begin_layout Standard
1461 Note that by default, the caption is always placed below the tableaux in
1462  the output, no matter where you put it in the \SpecialChar LyX
1463  window.
1464  To get the Tableau captions on top, put the following code in 
1465 \family sans
1466 Document\SpecialChar menuseparator
1467 Settings\SpecialChar menuseparator
1468 Preamble
1469 \family default
1470 :
1471 \end_layout
1472
1473 \begin_layout Quote
1474 \begin_inset listings
1475 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
1476 inline false
1477 status open
1478
1479 \begin_layout Plain Layout
1480
1481
1482 \backslash
1483 floatstyle{plaintop}
1484 \end_layout
1485
1486 \begin_layout Plain Layout
1487
1488
1489 \backslash
1490 restylefloat{tableau}
1491 \end_layout
1492
1493 \end_inset
1494
1495
1496 \end_layout
1497
1498 \begin_layout Standard
1499 If you use a KOMA class, use the following code instead:
1500 \end_layout
1501
1502 \begin_layout Quote
1503 \begin_inset listings
1504 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
1505 inline false
1506 status open
1507
1508 \begin_layout Plain Layout
1509
1510
1511 \backslash
1512 floatstyle{komaabove}
1513 \end_layout
1514
1515 \begin_layout Plain Layout
1516
1517
1518 \backslash
1519 restylefloat{tableau}
1520 \end_layout
1521
1522 \end_inset
1523
1524
1525 \end_layout
1526
1527 \begin_layout Standard
1528 A List of Tableaux inset can be found in 
1529 \family sans
1530 Insert\SpecialChar menuseparator
1531 Lists & TOC
1532 \family default
1533 .
1534  It looks like this:
1535 \end_layout
1536
1537 \begin_layout Standard
1538 \begin_inset FloatList tableau
1539
1540 \end_inset
1541
1542
1543 \end_layout
1544
1545 \begin_layout Section
1546 Semantic Markup (Character Styles)
1547 \end_layout
1548
1549 \begin_layout Standard
1550 The Linguistics module comes with some character styles that are common
1551  in linguistics:
1552 \end_layout
1553
1554 \begin_layout Enumerate
1555 Concept (in small caps): 
1556 \begin_inset Flex Concepts
1557 status collapsed
1558
1559 \begin_layout Plain Layout
1560 concept
1561 \end_layout
1562
1563 \end_inset
1564
1565  
1566 \end_layout
1567
1568 \begin_layout Enumerate
1569 Expression (emphasized): 
1570 \begin_inset Flex Expression
1571 status collapsed
1572
1573 \begin_layout Plain Layout
1574 expression
1575 \end_layout
1576
1577 \end_inset
1578
1579
1580 \end_layout
1581
1582 \begin_layout Enumerate
1583 Meaning (in single quotes): 
1584 \begin_inset Flex Meaning
1585 status collapsed
1586
1587 \begin_layout Plain Layout
1588 meaning
1589 \end_layout
1590
1591 \end_inset
1592
1593
1594 \end_layout
1595
1596 \begin_layout Standard
1597 You can insert the character styles via the 
1598 \family sans
1599 Edit\SpecialChar menuseparator
1600 Text Style
1601 \family default
1602  submenu.
1603  If you need to change the appearance of these styles later, you can redefine
1604  them in the preamble.
1605  To make expressions bold, for instance, insert:
1606 \end_layout
1607
1608 \begin_layout Quote
1609 \begin_inset listings
1610 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
1611 inline false
1612 status open
1613
1614 \begin_layout Plain Layout
1615
1616
1617 \backslash
1618 renewcommand
1619 \backslash
1620 lingexpr[1]{
1621 \backslash
1622 textbf{#1}}
1623 \end_layout
1624
1625 \end_inset
1626
1627
1628 \end_layout
1629
1630 \begin_layout Standard
1631 Similarly, concept (
1632 \family typewriter
1633
1634 \backslash
1635 lingconcept
1636 \family default
1637 ) and meaning (
1638 \family typewriter
1639
1640 \backslash
1641 lingmeaning
1642 \family default
1643 ) can be modified.
1644 \end_layout
1645
1646 \begin_layout Section
1647 Linguistic structure trees
1648 \end_layout
1649
1650 \begin_layout Standard
1651 Meanwhile, many \SpecialChar LaTeX
1652  are available which help producing structure trees.
1653  \SpecialChar LyX
1654  supports the 
1655 \family sans
1656 forest
1657 \family default
1658  package, which combines high flexibility and power with a comfortable input
1659  syntax.
1660  The Linguistics module provides a Structure Tree inset, which can be inserted
1661  via 
1662 \family sans
1663 Insert\SpecialChar menuseparator
1664 Custom Insets
1665 \family default
1666 .
1667  Within this inset, you can insert the bracket notation used by 
1668 \family sans
1669 forest
1670 \family default
1671  (and also by other similar packages such as 
1672 \family sans
1673 qtree
1674 \family default
1675 ).
1676 \end_layout
1677
1678 \begin_layout Standard
1679 Here is a simple example:
1680 \end_layout
1681
1682 \begin_layout Standard
1683 \begin_inset Flex Structure Tree
1684 status open
1685
1686 \begin_layout Plain Layout
1687 [VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[D[a]][NP[letter]]] ] ]
1688 \end_layout
1689
1690 \end_inset
1691
1692
1693 \end_layout
1694
1695 \begin_layout Standard
1696 \noindent
1697 If you view the PDF output, you will see that the input
1698 \end_layout
1699
1700 \begin_layout Quote
1701
1702 \family typewriter
1703 \size small
1704 [VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[D[a]][NP[letter]]]]]
1705 \end_layout
1706
1707 \begin_layout Standard
1708 expands to a real structure tree.
1709  To view the result within the \SpecialChar LyX
1710  work area, you can simply embed the Structure
1711  Tree inset into a Preview inset (
1712 \family sans
1713 Insert\SpecialChar menuseparator
1714 Preview
1715 \family default
1716 ).
1717  If instant preview is correctly installed and activated, you should see
1718  the tree immediately (just click on the image in order to edit):
1719 \end_layout
1720
1721 \begin_layout Standard
1722 \begin_inset Preview
1723
1724 \begin_layout Standard
1725 \begin_inset Flex Structure Tree
1726 status open
1727
1728 \begin_layout Plain Layout
1729 [VP [DP[Mary]] [V' [V[sent]] [DP[John]] [DP[D[a]][NP[response]]] ] ]
1730 \end_layout
1731
1732 \end_inset
1733
1734
1735 \end_layout
1736
1737 \end_inset
1738
1739
1740 \end_layout
1741
1742 \begin_layout Standard
1743 \noindent
1744 Roofs can be easily generated by means of the 
1745 \begin_inset Quotes eld
1746 \end_inset
1747
1748 roof
1749 \begin_inset Quotes erd
1750 \end_inset
1751
1752  option
1753 \begin_inset Foot
1754 status collapsed
1755
1756 \begin_layout Plain Layout
1757 \noindent
1758 Note that the 
1759 \begin_inset Quotes eld
1760 \end_inset
1761
1762 roof
1763 \begin_inset Quotes erd
1764 \end_inset
1765
1766  option only exists as of 
1767 \family sans
1768 forest
1769 \family default
1770  version 2.0.
1771  We have added some code to the preamble of this manual to support previous
1772  versions.
1773  If you use a 
1774 \family sans
1775 forest
1776 \family default
1777  version < 2.0, you either need to copy this code to your preamble or use
1778  the old option 
1779 \begin_inset Quotes eld
1780 \end_inset
1781
1782 triangle
1783 \begin_inset Quotes erd
1784 \end_inset
1785
1786  instead of 
1787 \begin_inset Quotes eld
1788 \end_inset
1789
1790 roof
1791 \begin_inset Quotes erd
1792 \end_inset
1793
1794 .
1795 \end_layout
1796
1797 \end_inset
1798
1799  (note that the comma has special meaning, as it marks options):
1800 \end_layout
1801
1802 \begin_layout Standard
1803 \begin_inset Flex Structure Tree
1804 status open
1805
1806 \begin_layout Plain Layout
1807 [VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[another letter, roof]] ] ]
1808 \end_layout
1809
1810 \end_inset
1811
1812
1813 \end_layout
1814
1815 \begin_layout Standard
1816 \noindent
1817 In order to align nodes of the tree more elegantly, use the 
1818 \begin_inset Quotes eld
1819 \end_inset
1820
1821 tier
1822 \begin_inset Quotes erd
1823 \end_inset
1824
1825  option.
1826  All nodes which have the same 
1827 \begin_inset Quotes eld
1828 \end_inset
1829
1830 tier
1831 \begin_inset Quotes erd
1832 \end_inset
1833
1834  allocated get aligned.
1835  Here is an example:
1836 \end_layout
1837
1838 \begin_layout Standard
1839 \begin_inset Flex Structure Tree
1840 status open
1841
1842 \begin_layout Plain Layout
1843 [VP [DP[John,tier=word]] [V' [V[sent,tier=word]] [DP[Mary,tier=word]] [DP[D[a,ti
1844 er=word]][NP[letter,tier=word]]] ] ]
1845 \end_layout
1846
1847 \end_inset
1848
1849
1850 \end_layout
1851
1852 \begin_layout Standard
1853 \noindent
1854 The package supports many additional features, such as movement arrows and
1855  decorations, that cannot documented here (please refer to the detailed
1856  package documentation 
1857 \begin_inset CommandInset citation
1858 LatexCommand cite
1859 key "forest"
1860 literal "true"
1861
1862 \end_inset
1863
1864 ).
1865 \end_layout
1866
1867 \begin_layout Section
1868 Phonetic Symbols (IPA)
1869 \end_layout
1870
1871 \begin_layout Standard
1872 You do not need the Linguistics module to insert phonetic symbols, this
1873  is a base functionality of \SpecialChar LyX
1874 .
1875  However, since this is frequently used by linguists, we will describe it
1876  (briefly) in this manual nevertheless.
1877 \end_layout
1878
1879 \begin_layout Standard
1880 If you use traditional \SpecialChar LaTeX
1881  or PDF\SpecialChar LaTeX
1882 , a prerequisite to use \SpecialChar LyX
1883 's IPA support is
1884  the \SpecialChar LaTeX
1885  package 
1886 \emph on
1887 tipa
1888 \emph default
1889  
1890 \begin_inset CommandInset citation
1891 LatexCommand cite
1892 key "tipa"
1893 literal "true"
1894
1895 \end_inset
1896
1897 , which is automatically loaded by \SpecialChar LyX
1898  if you follow the procedure described
1899  below.
1900  If you use Unicode fonts (i.
1901 \begin_inset space \thinspace{}
1902 \end_inset
1903
1904 e., if you have clicked 
1905 \begin_inset Quotes eld
1906 \end_inset
1907
1908 Use non-\SpecialChar TeX
1909  fonts
1910 \begin_inset Quotes erd
1911 \end_inset
1912
1913  in 
1914 \family sans
1915 Document\SpecialChar menuseparator
1916 Settings\SpecialChar menuseparator
1917 Fonts
1918 \family default
1919 ), the package 
1920 \emph on
1921 xunicode
1922 \emph default
1923  is loaded instead (since 
1924 \emph on
1925 tipa
1926 \emph default
1927  does not work in this context).
1928  
1929 \begin_inset Foot
1930 status open
1931
1932 \begin_layout Plain Layout
1933 See also https://github.com/wspr/fontspec/issues/280 and the discussion in
1934  docutils-devel (https://www.mail-archive.com/search?l=mid&q=1487664738.2405.6.camel%
1935 40lyx.org).
1936 \end_layout
1937
1938 \end_inset
1939
1940  The 
1941 \emph on
1942 xunicode
1943 \emph default
1944  package emulates the 
1945 \emph on
1946 tipa
1947 \emph default
1948  output, but is not perfect at that, so some things might not look as expected.
1949  Furthermore, you need to take care in this case to use a font that includes
1950  the IPA glyphs (such as 
1951 \emph on
1952 CMU Serif
1953 \emph default
1954  or 
1955 \emph on
1956 SIL Doulos
1957 \emph default
1958 ).
1959  You can also specify an extra font only for IPA by adding the following
1960  to 
1961 \family sans
1962 Document\SpecialChar menuseparator
1963 Settings\SpecialChar menuseparator
1964 LaTeX Preamble
1965 \family default
1966 :
1967 \end_layout
1968
1969 \begin_layout Standard
1970 \begin_inset listings
1971 lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
1972 inline false
1973 status open
1974
1975 \begin_layout Plain Layout
1976
1977
1978 \backslash
1979 AtBeginDocument{%
1980 \end_layout
1981
1982 \begin_layout Plain Layout
1983
1984
1985 \backslash
1986 newfontfamily{
1987 \backslash
1988 ipafont}{CMU Serif}% or another font
1989 \end_layout
1990
1991 \begin_layout Plain Layout
1992
1993
1994 \backslash
1995 def
1996 \backslash
1997 useTIPAfont{
1998 \backslash
1999 ipafont}
2000 \end_layout
2001
2002 \begin_layout Plain Layout
2003
2004 }
2005 \end_layout
2006
2007 \end_inset
2008
2009 Additionally, and independent from which of the above approaches you use,
2010  if you want to have instant preview, you should have the 
2011 \emph on
2012 preview-latex
2013 \emph default
2014  package 
2015 \begin_inset CommandInset citation
2016 LatexCommand cite
2017 key "preview"
2018 literal "true"
2019
2020 \end_inset
2021
2022  installed.
2023 \end_layout
2024
2025 \begin_layout Standard
2026 The recommended way to insert phonetic symbols is via 
2027 \family sans
2028 Insert\SpecialChar menuseparator
2029 Special characters\SpecialChar menuseparator
2030 Phonetic symbols.
2031  
2032 \family default
2033 This gives you an input box (
2034 \begin_inset Quotes eld
2035 \end_inset
2036
2037 inset
2038 \begin_inset Quotes erd
2039 \end_inset
2040
2041  in \SpecialChar LyX
2042  speak), where you can insert the symbols.
2043  Note that this box can be used both for the insertion of small snippets
2044  (inline) and multiple paragraphs of phonetic notation.
2045  While the cursor is inside the box, a toolbar opens, which provides the
2046  basic set of phonetic symbols (sorted by the IPA categories).
2047 \begin_inset Foot
2048 status collapsed
2049
2050 \begin_layout Plain Layout
2051 Currently, there is one symbol missing: the labiodental flap (added to the
2052  IPA in 2005).
2053  This symbol is not yet supported by the 
2054 \emph on
2055 tipa
2056 \emph default
2057  package and thus cannot be supported by LyX.
2058 \end_layout
2059
2060 \end_inset
2061
2062  Each of the toolbar's panels can be torn off the bar by clicking on the
2063  dashed line on its top.
2064  This way, you can insert most symbols quite comfortably: 
2065 \begin_inset IPA
2066
2067 \begin_layout Standard
2068 [l
2069 \begin_inset IPADeco bottomtiebar
2070 status open
2071
2072 \begin_layout Plain Layout
2073 ai
2074 \end_layout
2075
2076 \end_inset
2077
2078 k ðɪs]
2079 \end_layout
2080
2081 \end_inset
2082
2083 .
2084 \begin_inset Foot
2085 status collapsed
2086
2087 \begin_layout Plain Layout
2088 Note that, if you want to insert diacritics, the diacritics are inserted
2089  
2090 \emph on
2091 after
2092 \emph default
2093  the base character.
2094  That is to say, for 
2095 \begin_inset IPA
2096
2097 \begin_layout Standard
2098 [d̥]
2099 \end_layout
2100
2101 \end_inset
2102
2103  you need to insert 
2104 \family typewriter
2105 <d>
2106 \family default
2107  and then the 
2108 \family typewriter
2109 <voiceless>
2110 \family default
2111  subring diacritic from the toolbar immediately after the 
2112 \family typewriter
2113 <d>
2114 \family default
2115 .
2116  If you need a diacritic alone, you can achieve this by inserting a blank
2117  and then the diacritic, as in 
2118 \begin_inset IPA
2119
2120 \begin_layout Standard
2121  ̼
2122 \end_layout
2123
2124 \end_inset
2125
2126  (
2127 \family typewriter
2128 =
2129 \begin_inset space ~
2130 \end_inset
2131
2132 <space>+<Linguolabial from the IPA toolbar>
2133 \family default
2134 ).
2135 \end_layout
2136
2137 \end_inset
2138
2139  Given that
2140 \emph on
2141  preview-latex
2142 \emph default
2143  is installed and you have switched on instant preview (in
2144 \family sans
2145  Tools\SpecialChar menuseparator
2146 Preferences\SpecialChar menuseparator
2147 Look
2148 \begin_inset space ~
2149 \end_inset
2150
2151 &
2152 \begin_inset space ~
2153 \end_inset
2154
2155 Feel\SpecialChar menuseparator
2156 Display
2157 \family default
2158 ), you'll get a nice WYSIWYG preview as soon as the cursor leaves the box.
2159  Alternatively to the toolbar, you can also insert the symbols directly
2160  via the shortcut notation which is described in the 
2161 \emph on
2162 tipa
2163 \emph default
2164  manual: here's 
2165 \begin_inset IPA
2166
2167 \begin_layout Standard
2168
2169 \family roman
2170 \series medium
2171 \shape up
2172 \size normal
2173 \emph off
2174 \bar no
2175 \strikeout off
2176 \uuline off
2177 \uwave off
2178 \noun off
2179 \color none
2180 [@n Ig"zA:mpl]
2181 \end_layout
2182
2183 \end_inset
2184
2185  (
2186 \emph on
2187 tipa
2188 \emph default
2189  shortcut notation: 
2190 \family typewriter
2191 [@n Ig"zA:mpl
2192 \family default
2193 ]).
2194  Furthermore, you can insert symbols via 
2195 \family sans
2196 Insert\SpecialChar menuseparator
2197 Special characters\SpecialChar menuseparator
2198 Symbols\SpecialChar ldots
2199
2200 \family default
2201  (which might be useful for symbols that are not yet covered by the toolbar),
2202  or you can simply paste unicode-encoded text (e.
2203 \begin_inset space \thinspace{}
2204 \end_inset
2205
2206 g., from other applications) into the box.
2207  The output should be equal, no matter what input method you chose.
2208 \end_layout
2209
2210 \begin_layout Standard
2211 Note that you can also insert or paste most IPA glyphs outside the specific
2212  IPA input box: [əz ʃəʊn hɪə].
2213  In the output, they will be automatically transformed into the correct
2214  
2215 \emph on
2216 tipa
2217 \emph default
2218  macro (if not, please inform us).
2219  However, please note that this method produces inferior output quality,
2220  since it will most likely result in a mix of fonts (the latin characters
2221  are taken from the base document font, the IPA glyphs from the IPA font).
2222  Within the IPA input box, on the other hand, the IPA font is used for all
2223  characters.
2224  So unless you only need to insert single IPA characters, using the IPA
2225  input box is highly recommended.
2226 \end_layout
2227
2228 \begin_layout Section
2229 Further information
2230 \end_layout
2231
2232 \begin_layout Standard
2233 For a detailed description of specific possibilities for linguists, please
2234  refer to the Linguist\SpecialChar LyX
2235  page on the \SpecialChar LyX
2236  wiki 
2237 \begin_inset CommandInset citation
2238 LatexCommand cite
2239 key "linguistlyx"
2240 literal "true"
2241
2242 \end_inset
2243
2244  (feel free to enter your own hints there).
2245 \end_layout
2246
2247 \begin_layout Bibliography
2248 \begin_inset CommandInset bibitem
2249 LatexCommand bibitem
2250 key "covington"
2251 literal "true"
2252
2253 \end_inset
2254
2255 The covington package: 
2256 \begin_inset Flex URL
2257 status collapsed
2258
2259 \begin_layout Plain Layout
2260
2261 http://www.ctan.org/tex-archive/macros/latex/contrib/covington/
2262 \end_layout
2263
2264 \end_inset
2265
2266 .
2267 \end_layout
2268
2269 \begin_layout Bibliography
2270 \begin_inset CommandInset bibitem
2271 LatexCommand bibitem
2272 key "csquotes"
2273 literal "true"
2274
2275 \end_inset
2276
2277 The csquotes package: 
2278 \begin_inset Flex URL
2279 status collapsed
2280
2281 \begin_layout Plain Layout
2282
2283 http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/
2284 \end_layout
2285
2286 \end_inset
2287
2288 .
2289 \end_layout
2290
2291 \begin_layout Bibliography
2292 \begin_inset CommandInset bibitem
2293 LatexCommand bibitem
2294 key "enumitem"
2295 literal "true"
2296
2297 \end_inset
2298
2299 The enumitem package: 
2300 \begin_inset Flex URL
2301 status collapsed
2302
2303 \begin_layout Plain Layout
2304
2305 http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/
2306 \end_layout
2307
2308 \end_inset
2309
2310 .
2311 \end_layout
2312
2313 \begin_layout Bibliography
2314 \begin_inset CommandInset bibitem
2315 LatexCommand bibitem
2316 key "float"
2317 literal "true"
2318
2319 \end_inset
2320
2321 The float package: 
2322 \begin_inset Flex URL
2323 status collapsed
2324
2325 \begin_layout Plain Layout
2326
2327 http://www.ctan.org/tex-archive/macros/latex/contrib/float/
2328 \end_layout
2329
2330 \end_inset
2331
2332 .
2333 \end_layout
2334
2335 \begin_layout Bibliography
2336 \begin_inset CommandInset bibitem
2337 LatexCommand bibitem
2338 key "forest"
2339 literal "true"
2340
2341 \end_inset
2342
2343 The forest package: 
2344 \begin_inset Flex URL
2345 status collapsed
2346
2347 \begin_layout Plain Layout
2348
2349 http://www.ctan.org/tex-archive/graphics/pgf/contrib/forest
2350 \end_layout
2351
2352 \end_inset
2353
2354 .
2355 \end_layout
2356
2357 \begin_layout Bibliography
2358 \begin_inset CommandInset bibitem
2359 LatexCommand bibitem
2360 key "linguistlyx"
2361 literal "true"
2362
2363 \end_inset
2364
2365 Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using \SpecialChar LyX
2366  for Linguistic
2367  Papers.
2368  
2369 \begin_inset Flex URL
2370 status collapsed
2371
2372 \begin_layout Plain Layout
2373
2374 https://wiki.lyx.org/LyX/LinguistLyX
2375 \end_layout
2376
2377 \end_inset
2378
2379 .
2380 \end_layout
2381
2382 \begin_layout Bibliography
2383 \begin_inset CommandInset bibitem
2384 LatexCommand bibitem
2385 key "preview"
2386 literal "true"
2387
2388 \end_inset
2389
2390 The preview-latex package: 
2391 \begin_inset Flex URL
2392 status collapsed
2393
2394 \begin_layout Plain Layout
2395
2396 http://www.ctan.org/tex-archive/macros/latex/contrib/preview/
2397 \end_layout
2398
2399 \end_inset
2400
2401 .
2402 \end_layout
2403
2404 \begin_layout Bibliography
2405 \begin_inset CommandInset bibitem
2406 LatexCommand bibitem
2407 key "tipa"
2408 literal "true"
2409
2410 \end_inset
2411
2412 The tipa package and fonts: 
2413 \begin_inset Flex URL
2414 status collapsed
2415
2416 \begin_layout Plain Layout
2417
2418 http://www.ctan.org/tex-archive/fonts/tipa/
2419 \end_layout
2420
2421 \end_inset
2422
2423 .
2424 \end_layout
2425
2426 \end_body
2427 \end_document