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