]> git.lyx.org Git - lyx.git/blob - lib/examples/linguistics.lyx
revtex4-1.layout: update to latest REVTeX 4.1
[lyx.git] / lib / examples / linguistics.lyx
1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 474
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7 %% Uncomment the following for Tableaux captions on top:
8 %\floatstyle{plaintop}
9 %\restylefloat{tableau}
10 \end_preamble
11 \use_default_options false
12 \begin_modules
13 linguistics
14 \end_modules
15 \maintain_unincluded_children false
16 \language english
17 \language_package default
18 \inputencoding auto
19 \fontencoding global
20 \font_roman lmodern
21 \font_sans default
22 \font_typewriter default
23 \font_math auto
24 \font_default_family default
25 \use_non_tex_fonts false
26 \font_sc false
27 \font_osf false
28 \font_sf_scale 100
29 \font_tt_scale 100
30 \graphics default
31 \default_output_format default
32 \output_sync 0
33 \bibtex_command default
34 \index_command default
35 \paperfontsize default
36 \spacing single
37 \use_hyperref true
38 \pdf_bookmarks true
39 \pdf_bookmarksnumbered false
40 \pdf_bookmarksopen false
41 \pdf_bookmarksopenlevel 1
42 \pdf_breaklinks false
43 \pdf_pdfborder true
44 \pdf_colorlinks false
45 \pdf_backref false
46 \pdf_pdfusetitle true
47 \papersize default
48 \use_geometry false
49 \use_package amsmath 1
50 \use_package amssymb 1
51 \use_package cancel 0
52 \use_package esint 1
53 \use_package mathdots 1
54 \use_package mathtools 0
55 \use_package mhchem 1
56 \use_package stackrel 0
57 \use_package stmaryrd 0
58 \use_package undertilde 0
59 \cite_engine basic
60 \cite_engine_type default
61 \biblio_style plain
62 \use_bibtopic false
63 \use_indices false
64 \paperorientation portrait
65 \suppress_date false
66 \justification true
67 \use_refstyle 0
68 \index Index
69 \shortcut idx
70 \color #008000
71 \end_index
72 \secnumdepth 3
73 \tocdepth 3
74 \paragraph_separation indent
75 \paragraph_indentation default
76 \quotes_language english
77 \papercolumns 1
78 \papersides 1
79 \paperpagestyle default
80 \tracking_changes false
81 \output_changes false
82 \html_math_output 0
83 \html_css_as_file 0
84 \html_be_strict false
85 \end_header
86
87 \begin_body
88
89 \begin_layout Title
90 Writing linguistic papers with LyX
91 \end_layout
92
93 \begin_layout Author
94 Jürgen Spitzmüller
95 \begin_inset Newline newline
96 \end_inset
97
98
99 \begin_inset CommandInset href
100 LatexCommand href
101 target "spitz@lyx.org"
102 type "mailto:"
103
104 \end_inset
105
106
107 \end_layout
108
109 \begin_layout Date
110 18/02/2013
111 \end_layout
112
113 \begin_layout Abstract
114 This paper describes some features that LyX provides to linguists.
115  It demonstrates how to use some native support in order to produce numbered
116  examples, glosses, OT tableaux, semantic markup, and phonetic symbols (IPA).
117 \end_layout
118
119 \begin_layout Section
120 Aims and prerequisites
121 \end_layout
122
123 \begin_layout Standard
124 Basically, this paper describes the features of the 
125 \begin_inset Quotes eld
126 \end_inset
127
128 Linguistics
129 \begin_inset Quotes erd
130 \end_inset
131
132  module that ships with LyX as of version 1.6.0.
133  
134 \begin_inset Quotes eld
135 \end_inset
136
137 Modules
138 \begin_inset Quotes erd
139 \end_inset
140
141  are support files (introduced with LyX 1.6.0) that can easily be selected
142  for any document.
143  In order to use the Linguistics module, go to 
144 \family sans
145 Document\SpecialChar \menuseparator
146 Settings\SpecialChar \menuseparator
147 Modules
148 \family default
149 , select 
150 \begin_inset Quotes eld
151 \end_inset
152
153 Linguistics
154 \begin_inset Quotes erd
155 \end_inset
156
157  from the list of available modules, and hit the 
158 \family sans
159 Add
160 \family default
161  button to select it for your document (as already done for this document).
162 \end_layout
163
164 \begin_layout Standard
165 You should be able to use the module with any document class (please inform
166  me, if not).
167  However, in order to use all the features, you need to have the following
168  LaTeX packages installed:
169 \end_layout
170
171 \begin_layout Enumerate
172
173 \emph on
174 covington.sty
175 \emph default
176  
177 \begin_inset CommandInset citation
178 LatexCommand cite
179 key "covington"
180
181 \end_inset
182
183 : This is the base package used for numbered examples and glosses.
184 \end_layout
185
186 \begin_deeper
187 \begin_layout Itemize
188 Installed on your system: 
189 \begin_inset Info
190 type  "package"
191 arg   "covington"
192 \end_inset
193
194 .
195 \end_layout
196
197 \end_deeper
198 \begin_layout Enumerate
199
200 \emph on
201 enumitem.sty
202 \emph default
203  
204 \begin_inset CommandInset citation
205 LatexCommand cite
206 key "enumitem"
207
208 \end_inset
209
210 : This package is used for the Subexamples style.
211  It is generally useful to alter the appearance of lists (such as 
212 \emph on
213 enumerate
214 \emph default
215
216 \emph on
217 itemize
218 \emph default
219
220 \emph on
221 description
222 \emph default
223 ).
224 \end_layout
225
226 \begin_deeper
227 \begin_layout Itemize
228 Installed on your system: 
229 \begin_inset Info
230 type  "package"
231 arg   "enumitem"
232 \end_inset
233
234 .
235 \end_layout
236
237 \end_deeper
238 \begin_layout Enumerate
239
240 \emph on
241 csquotes.sty
242 \emph default
243  
244 \begin_inset CommandInset citation
245 LatexCommand cite
246 key "csquotes"
247
248 \end_inset
249
250 : Needed for the 
251 \emph on
252 Meaning
253 \emph default
254  character style.
255  The package provides context sensitive quotation marks, depending on the
256  language in use.
257 \end_layout
258
259 \begin_deeper
260 \begin_layout Itemize
261 Installed on your system: 
262 \begin_inset Info
263 type  "package"
264 arg   "csquotes"
265 \end_inset
266
267 .
268 \end_layout
269
270 \end_deeper
271 \begin_layout Enumerate
272
273 \emph on
274 float.sty
275 \emph default
276  
277 \begin_inset CommandInset citation
278 LatexCommand cite
279 key "float"
280
281 \end_inset
282
283 : Needed for the OT tableaux floats and list of floats.
284  This package should be part of any LaTeX distribution.
285 \end_layout
286
287 \begin_deeper
288 \begin_layout Itemize
289 Installed on your system: 
290 \begin_inset Info
291 type  "package"
292 arg   "float"
293 \end_inset
294
295 .
296 \end_layout
297
298 \end_deeper
299 \begin_layout Section
300 Numbered examples
301 \end_layout
302
303 \begin_layout Standard
304 Numbered examples are inserted via the layout drop-down box in the toolbar.
305  There are three variants:
306 \end_layout
307
308 \begin_layout Numbered Example (multiline)
309 This is a multiline example [Style 
310 \emph on
311 Numbered Example (multiline)
312 \emph default
313 ]
314 \end_layout
315
316 \begin_layout Numbered Example (multiline)
317 it can have several paragraphs
318 \end_layout
319
320 \begin_layout Numbered Examples (consecutive)
321 This is a single example
322 \begin_inset CommandInset label
323 LatexCommand label
324 name "exa:single-example"
325
326 \end_inset
327
328  [Style 
329 \emph on
330 Numbered Example (consecutive)
331 \emph default
332 ]
333 \end_layout
334
335 \begin_layout Numbered Examples (consecutive)
336 Consecutive single examples get their own numbers
337 \end_layout
338
339 \begin_layout Subexample
340 This is a subexample
341 \begin_inset CommandInset label
342 LatexCommand label
343 name "sub:subexample"
344
345 \end_inset
346
347  [Style 
348 \emph on
349 Subexample
350 \emph default
351 ]
352 \end_layout
353
354 \begin_layout Subexample
355 And another one
356 \end_layout
357
358 \begin_layout Standard
359 References to examples are produced as usual: insert a label to the example
360  and a cross-reference via 
361 \family sans
362 Insert\SpecialChar \menuseparator
363 Cross references
364 \family default
365 .
366  We refer here, just for the sake of demonstrating this, to 
367 \begin_inset CommandInset ref
368 LatexCommand ref
369 reference "exa:single-example"
370
371 \end_inset
372
373  and 
374 \begin_inset CommandInset ref
375 LatexCommand ref
376 reference "sub:subexample"
377
378 \end_inset
379
380 .
381 \end_layout
382
383 \begin_layout Section
384 Glosses
385 \end_layout
386
387 \begin_layout Standard
388 The Linguistics module provides two kinds of glosses, which can be inserted
389  via 
390 \family sans
391 Insert\SpecialChar \menuseparator
392 Custom Insets
393 \family default
394 : The standard 
395 \emph on
396 Custom:Glosse
397 \emph default
398  provides a gloss that consists of two lines and a translation, the 
399 \emph on
400 Custom:Tri-Glosse
401 \emph default
402  insets consists of three lines and a translation.
403  Each translation line might span multiple lines in the output, i.
404 \begin_inset space \thinspace{}
405 \end_inset
406
407 e., the paragraphs are automatically broken if they exceed the text width.
408  Note that the translation line is mandatory and must be preceded by the
409  command 
410 \family typewriter
411
412 \backslash
413 glt
414 \family default
415  which must be inserted verbatim in the gloss inset (TeX mode is not needed,
416  and in fact not even possible).
417 \end_layout
418
419 \begin_layout Standard
420 Here is a simple example:
421 \end_layout
422
423 \begin_layout Standard
424 \begin_inset Flex Glosse
425 status open
426
427 \begin_layout Plain Layout
428
429 C'est un exemple simple
430 \end_layout
431
432 \begin_layout Plain Layout
433
434 {This is} an example simple
435 \end_layout
436
437 \begin_layout Plain Layout
438
439
440 \backslash
441 glt This is a simple example
442 \end_layout
443
444 \end_inset
445
446
447 \end_layout
448
449 \begin_layout Standard
450 \noindent
451 Note how the braces hold together multi-word expressions.
452 \end_layout
453
454 \begin_layout Standard
455 In the same vein, we can make a three-line gloss:
456 \end_layout
457
458 \begin_layout Standard
459 \begin_inset Flex Tri-Glosse
460 status open
461
462 \begin_layout Plain Layout
463
464 C'est un exemple simple
465 \end_layout
466
467 \begin_layout Plain Layout
468
469 {Das ist} ein Beispiel einfach
470 \end_layout
471
472 \begin_layout Plain Layout
473
474 {This is} an example simple
475 \end_layout
476
477 \begin_layout Plain Layout
478
479
480 \backslash
481 glt This is a simple example
482 \end_layout
483
484 \end_inset
485
486
487 \end_layout
488
489 \begin_layout Standard
490 \noindent
491 If you want to have numbered glosses, you can simply insert the gloss inset
492  to a numbered examples paragraph, as follows:
493 \end_layout
494
495 \begin_layout Numbered Examples (consecutive)
496 \begin_inset Flex Tri-Glosse
497 status open
498
499 \begin_layout Plain Layout
500
501 Mein Luftkissenfahrzeug ist voller Aale
502 \end_layout
503
504 \begin_layout Plain Layout
505
506 My skeertuig is vol palings
507 \end_layout
508
509 \begin_layout Plain Layout
510
511 My hovercraft is {full of} eels
512 \end_layout
513
514 \begin_layout Plain Layout
515
516
517 \backslash
518 glt Do you have matches?
519 \end_layout
520
521 \end_inset
522
523
524 \end_layout
525
526 \begin_layout Subsection*
527 Shortcomings of LyX's glosses
528 \end_layout
529
530 \begin_layout Standard
531 LyX's glosse support is rather basic, and thus has some shortcomings, which
532  might be addressed in further releases:
533 \end_layout
534
535 \begin_layout Enumerate
536 Font changes are not allowed in glosses.
537  Hence, the 
538 \family sans
539 Character Style
540 \family default
541  dialog is disabled.
542  Since glosses are not hyphenated, an explicit language setting in the LaTeX
543  output is not required (in fact, it would break the output, since covington
544  does not support it).
545  However, you still might want to set the language for proper spell checking.
546  Currently, you have to do this as follows: select the text, and then issue
547  
548 \begin_inset Info
549 type  "shortcut"
550 arg   "command-execute"
551 \end_inset
552
553  
554 \family sans
555 language <lang>
556 \family default
557 , where 
558 \family sans
559 <lang>
560 \family default
561  should be replaced by the respective language, e.
562 \begin_inset space \thinspace{}
563 \end_inset
564
565 g.
566  
567 \family sans
568 english
569 \family default
570
571 \family sans
572 french
573 \family default
574  or 
575 \family sans
576 ngerman
577 \family default
578 .
579  In the LaTeX output, this setting will be suppressed.
580 \end_layout
581
582 \begin_layout Enumerate
583 Since the content of glosses is passed verbatim to LaTeX, LyX does not adapt
584  the encoding to the contents.
585  That means that if you use characters in the glosse which are not covered
586  by the current encoding, you will run into an error message.
587  Here are the possible workarounds to this problem:
588 \end_layout
589
590 \begin_deeper
591 \begin_layout Itemize
592 Either enter the text outside the glosse, open 
593 \family sans
594 View\SpecialChar \menuseparator
595 View Source
596 \family default
597  and copy the LaTeX code into the glosse,
598 \end_layout
599
600 \begin_layout Itemize
601 or mark the whole glosse (from outside) and set the appropriate language
602  via 
603 \family sans
604 Edit\SpecialChar \menuseparator
605 Language\SpecialChar \menuseparator
606 More Languages\SpecialChar \ldots{}
607
608 \family default
609 ,
610 \end_layout
611
612 \begin_layout Itemize
613 or set the document encoding to 
614 \emph on
615 Unicode (utf8)
616 \emph default
617  via 
618 \family sans
619 Document\SpecialChar \menuseparator
620 Settings\SpecialChar \ldots{}
621 \SpecialChar \menuseparator
622 Language
623 \family default
624 ,
625 \end_layout
626
627 \begin_layout Itemize
628 or check 
629 \emph on
630 Use non-TeX fonts (via XeTeX/LuaTeX)
631 \emph default
632  in 
633 \family sans
634 Document\SpecialChar \menuseparator
635 Settings\SpecialChar \ldots{}
636 \SpecialChar \menuseparator
637 Fonts
638 \family default
639 .
640 \end_layout
641
642 \end_deeper
643 \begin_layout Enumerate
644 Page breaks can occur within glosses, which is of course not desirable.
645  A workaround is to wrap glosses into boxes (via 
646 \family sans
647 Insert\SpecialChar \menuseparator
648 Box\SpecialChar \menuseparator
649 Frameless
650 \family default
651 ).
652  If you want to automate this for all glosses, you can copy the following
653  code to 
654 \family sans
655 Document\SpecialChar \menuseparator
656 Settings\SpecialChar \menuseparator
657 LaTeX Preamble
658 \family default
659 :
660 \end_layout
661
662 \begin_deeper
663 \begin_layout LyX-Code
664 \begin_inset listings
665 lstparams "basicstyle={\footnotesize},language={[LaTeX]TeX}"
666 inline false
667 status open
668
669 \begin_layout Plain Layout
670
671 % Do not break pages at two-line glosses
672 \end_layout
673
674 \begin_layout Plain Layout
675
676
677 \backslash
678 AtBeginDocument{%
679 \end_layout
680
681 \begin_layout Plain Layout
682
683
684 \backslash
685 @ifundefined{linggloss}{}{%
686 \end_layout
687
688 \begin_layout Plain Layout
689
690
691 \backslash
692 renewenvironment{linggloss}[1]{%
693 \end_layout
694
695 \begin_layout Plain Layout
696
697
698 \backslash
699 begin{minipage}{.7
700 \backslash
701 textwidth}
702 \end_layout
703
704 \begin_layout Plain Layout
705
706
707 \backslash
708 gll #1}{
709 \backslash
710 glend
711 \backslash
712 end{minipage}}}
713 \end_layout
714
715 \begin_layout Plain Layout
716
717 }
718 \end_layout
719
720 \end_inset
721
722
723 \end_layout
724
725 \begin_layout LyX-Code
726 \begin_inset listings
727 lstparams "basicstyle={\footnotesize},language={[LaTeX]TeX}"
728 inline false
729 status open
730
731 \begin_layout Plain Layout
732
733 % Do not break pages at three-line glosses
734 \end_layout
735
736 \begin_layout Plain Layout
737
738
739 \backslash
740 AtBeginDocument{%
741 \end_layout
742
743 \begin_layout Plain Layout
744
745
746 \backslash
747 @ifundefined{lingglosss}{}{%
748 \end_layout
749
750 \begin_layout Plain Layout
751
752
753 \backslash
754 renewenvironment{linggloss}[1]{%
755 \end_layout
756
757 \begin_layout Plain Layout
758
759
760 \backslash
761 begin{minipage}{.7
762 \backslash
763 textwidth}
764 \end_layout
765
766 \begin_layout Plain Layout
767
768
769 \backslash
770 glll #1}{
771 \backslash
772 glend
773 \backslash
774 end{minipage}}}
775 \end_layout
776
777 \begin_layout Plain Layout
778
779 }
780 \end_layout
781
782 \end_inset
783
784
785 \end_layout
786
787 \begin_layout Standard
788 You might have to adapt the minipage width (
789 \family typewriter
790 .7
791 \backslash
792 textwidth
793 \family default
794  in the example code) to fit your actual page width.
795 \end_layout
796
797 \end_deeper
798 \begin_layout Section
799 Optimality Theory Tableaux
800 \end_layout
801
802 \begin_layout Standard
803 OT tableaux itself can of course simply be inserted as ordinary tables (for
804  specific features such as dashed lines and shaded cells, cf.
805  the 
806 \emph on
807 EmbeddedObjects
808 \emph default
809  manual).
810  However, you might want to have the tableaux numbered throughout the document,
811  and you might want to have a 
812 \emph on
813 List of Tableaux
814 \emph default
815 , similar to the 
816 \emph on
817 List of Tables
818 \emph default
819 .
820  
821 \end_layout
822
823 \begin_layout Standard
824 The Linguistics module provides support for both.
825  In 
826 \family sans
827 Insert\SpecialChar \menuseparator
828 Floats
829 \family default
830 , you'll find a Tableaux float:
831 \end_layout
832
833 \begin_layout Standard
834 \begin_inset Float tableau
835 placement h
836 wide false
837 sideways false
838 status open
839
840 \begin_layout Plain Layout
841 \align center
842 \begin_inset Tabular
843 <lyxtabular version="3" rows="5" columns="5">
844 <features rotate="0" tabularvalignment="middle">
845 <column alignment="right" valignment="top">
846 <column alignment="center" valignment="top">
847 <column alignment="center" valignment="top">
848 <column alignment="center" valignment="top" special="|c">
849 <column alignment="center" valignment="top">
850 <row>
851 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
852 \begin_inset Text
853
854 \begin_layout Plain Layout
855 /atikap/
856 \end_layout
857
858 \end_inset
859 </cell>
860 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
861 \begin_inset Text
862
863 \begin_layout Plain Layout
864
865 \noun on
866 Onset
867 \end_layout
868
869 \end_inset
870 </cell>
871 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
872 \begin_inset Text
873
874 \begin_layout Plain Layout
875
876 \noun on
877 NoCoda
878 \end_layout
879
880 \end_inset
881 </cell>
882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
883 \begin_inset Text
884
885 \begin_layout Plain Layout
886
887 \noun on
888 Dep
889 \end_layout
890
891 \end_inset
892 </cell>
893 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
894 \begin_inset Text
895
896 \begin_layout Plain Layout
897
898 \noun on
899 Max
900 \end_layout
901
902 \end_inset
903 </cell>
904 </row>
905 <row>
906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
907 \begin_inset Text
908
909 \begin_layout Plain Layout
910 \begin_inset Formula $\mbox{☞}$
911 \end_inset
912
913  
914 \begin_inset Formula $\mbox{\textipa{P}}$
915 \end_inset
916
917 a.ti.ka
918 \end_layout
919
920 \end_inset
921 </cell>
922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
923 \begin_inset Text
924
925 \begin_layout Plain Layout
926
927 \end_layout
928
929 \end_inset
930 </cell>
931 <cell alignment="center" valignment="top" topline="true" usebox="none">
932 \begin_inset Text
933
934 \begin_layout Plain Layout
935
936 \end_layout
937
938 \end_inset
939 </cell>
940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
941 \begin_inset Text
942
943 \begin_layout Plain Layout
944 *
945 \end_layout
946
947 \end_inset
948 </cell>
949 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
950 \begin_inset Text
951
952 \begin_layout Plain Layout
953 *
954 \end_layout
955
956 \end_inset
957 </cell>
958 </row>
959 <row>
960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
961 \begin_inset Text
962
963 \begin_layout Plain Layout
964 a.ti.ka
965 \end_layout
966
967 \end_inset
968 </cell>
969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
970 \begin_inset Text
971
972 \begin_layout Plain Layout
973 *!
974 \end_layout
975
976 \end_inset
977 </cell>
978 <cell alignment="center" valignment="top" topline="true" usebox="none">
979 \begin_inset Text
980
981 \begin_layout Plain Layout
982
983 \end_layout
984
985 \end_inset
986 </cell>
987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
988 \begin_inset Text
989
990 \begin_layout Plain Layout
991
992 \end_layout
993
994 \end_inset
995 </cell>
996 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
997 \begin_inset Text
998
999 \begin_layout Plain Layout
1000 *
1001 \end_layout
1002
1003 \end_inset
1004 </cell>
1005 </row>
1006 <row>
1007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1008 \begin_inset Text
1009
1010 \begin_layout Plain Layout
1011 \begin_inset Formula $\mbox{\textipa{P}}$
1012 \end_inset
1013
1014 a.ti.kap
1015 \end_layout
1016
1017 \end_inset
1018 </cell>
1019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1020 \begin_inset Text
1021
1022 \begin_layout Plain Layout
1023
1024 \end_layout
1025
1026 \end_inset
1027 </cell>
1028 <cell alignment="center" valignment="top" topline="true" usebox="none">
1029 \begin_inset Text
1030
1031 \begin_layout Plain Layout
1032 *!
1033 \end_layout
1034
1035 \end_inset
1036 </cell>
1037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1038 \begin_inset Text
1039
1040 \begin_layout Plain Layout
1041 *
1042 \end_layout
1043
1044 \end_inset
1045 </cell>
1046 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
1047 \begin_inset Text
1048
1049 \begin_layout Plain Layout
1050
1051 \end_layout
1052
1053 \end_inset
1054 </cell>
1055 </row>
1056 <row>
1057 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1058 \begin_inset Text
1059
1060 \begin_layout Plain Layout
1061 a.ti.kap
1062 \end_layout
1063
1064 \end_inset
1065 </cell>
1066 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1067 \begin_inset Text
1068
1069 \begin_layout Plain Layout
1070 *!
1071 \end_layout
1072
1073 \end_inset
1074 </cell>
1075 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
1076 \begin_inset Text
1077
1078 \begin_layout Plain Layout
1079 *!
1080 \end_layout
1081
1082 \end_inset
1083 </cell>
1084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1085 \begin_inset Text
1086
1087 \begin_layout Plain Layout
1088
1089 \end_layout
1090
1091 \end_inset
1092 </cell>
1093 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
1094 \begin_inset Text
1095
1096 \begin_layout Plain Layout
1097
1098 \end_layout
1099
1100 \end_inset
1101 </cell>
1102 </row>
1103 </lyxtabular>
1104
1105 \end_inset
1106
1107
1108 \end_layout
1109
1110 \begin_layout Plain Layout
1111 \begin_inset Caption Standard
1112
1113 \begin_layout Plain Layout
1114 Example Tableau
1115 \end_layout
1116
1117 \end_inset
1118
1119
1120 \end_layout
1121
1122 \end_inset
1123
1124
1125 \end_layout
1126
1127 \begin_layout Standard
1128 Note that by default, the caption is always placed below the tableaux in
1129  the output, no matter where you put it in the LyX window.
1130  To get the Tableaux captions on top, put the following code in 
1131 \family sans
1132 Document\SpecialChar \menuseparator
1133 Settings\SpecialChar \menuseparator
1134 Preamble
1135 \family default
1136 :
1137 \end_layout
1138
1139 \begin_layout LyX-Code
1140
1141 \backslash
1142 floatstyle{plaintop}
1143 \end_layout
1144
1145 \begin_layout LyX-Code
1146
1147 \backslash
1148 restylefloat{tableau}
1149 \end_layout
1150
1151 \begin_layout Standard
1152 If your using a KOMA class, use the following instead for better spacing:
1153 \end_layout
1154
1155 \begin_layout LyX-Code
1156
1157 \backslash
1158 floatstyle{komaabove}
1159 \end_layout
1160
1161 \begin_layout LyX-Code
1162
1163 \backslash
1164 restylefloat{tableau}
1165 \end_layout
1166
1167 \begin_layout Standard
1168 A List of Tableaux inset can be found in 
1169 \family sans
1170 Insert\SpecialChar \menuseparator
1171 Lists & TOC
1172 \family default
1173 .
1174  Even though this usually is placed at the beginning or the end of the document,
1175  we do this here for exemplification purposes:
1176 \end_layout
1177
1178 \begin_layout Standard
1179 \begin_inset FloatList tableau
1180
1181 \end_inset
1182
1183
1184 \end_layout
1185
1186 \begin_layout Section
1187 Semantic Markup (Character Styles)
1188 \end_layout
1189
1190 \begin_layout Standard
1191 The Linguistics module comes with some character styles that are common
1192  in linguistics:
1193 \end_layout
1194
1195 \begin_layout Enumerate
1196 Concept (in small caps): 
1197 \begin_inset Flex Concepts
1198 status collapsed
1199
1200 \begin_layout Plain Layout
1201 concept
1202 \end_layout
1203
1204 \end_inset
1205
1206  
1207 \end_layout
1208
1209 \begin_layout Enumerate
1210 Expression (emphasized): 
1211 \begin_inset Flex Expression
1212 status collapsed
1213
1214 \begin_layout Plain Layout
1215 expression
1216 \end_layout
1217
1218 \end_inset
1219
1220
1221 \end_layout
1222
1223 \begin_layout Enumerate
1224 Meaning (in single quotes): 
1225 \begin_inset Flex Meaning
1226 status collapsed
1227
1228 \begin_layout Plain Layout
1229 meaning
1230 \end_layout
1231
1232 \end_inset
1233
1234
1235 \end_layout
1236
1237 \begin_layout Standard
1238 You can insert the character styles via the 
1239 \family sans
1240 Edit\SpecialChar \menuseparator
1241 Text Style
1242 \family default
1243  submenu.
1244  If you need to change the appearance of these styles later, you can redefine
1245  them in the preamble.
1246  To make expressions bold, for instance, insert:
1247 \end_layout
1248
1249 \begin_layout LyX-Code
1250
1251 \backslash
1252 renewcommand
1253 \backslash
1254 lingexpr[1]{
1255 \backslash
1256 textbf{#1}}
1257 \end_layout
1258
1259 \begin_layout Standard
1260 Similarly, concept (
1261 \family typewriter
1262
1263 \backslash
1264 lingconcept
1265 \family default
1266 ) and meaning (
1267 \family typewriter
1268
1269 \backslash
1270 lingmeaning
1271 \family default
1272 ) can be modified.
1273 \end_layout
1274
1275 \begin_layout Section
1276 Phonetic Symbols (IPA)
1277 \end_layout
1278
1279 \begin_layout Standard
1280 You do not need the Linguistics module to insert phonetic symbols, this
1281  is a base functionality of LyX.
1282  However, since this is frequently used by linguists, we will describe it
1283  (briefly) in this manual nevertheless.
1284 \end_layout
1285
1286 \begin_layout Standard
1287 If you use traditional LaTeX or PDFLaTeX, a prerequisite to use LyX's IPA
1288  support is the LaTeX package 
1289 \emph on
1290 tipa
1291 \emph default
1292  
1293 \begin_inset CommandInset citation
1294 LatexCommand cite
1295 key "tipa"
1296
1297 \end_inset
1298
1299 .
1300 \begin_inset Foot
1301 status collapsed
1302
1303 \begin_layout Plain Layout
1304 If you use XeTeX or LuaTeX (i.
1305 \begin_inset space \thinspace{}
1306 \end_inset
1307
1308 e., if you have clicked 
1309 \begin_inset Quotes eld
1310 \end_inset
1311
1312 Use non-TeX fonts
1313 \begin_inset Quotes erd
1314 \end_inset
1315
1316  in 
1317 \family sans
1318 Document\SpecialChar \menuseparator
1319 Settings\SpecialChar \menuseparator
1320 Fonts
1321 \family default
1322 ), no extra package is needed.
1323 \end_layout
1324
1325 \end_inset
1326
1327  Additionally, if you want to have instant preview, you should have the
1328  
1329 \emph on
1330 preview-latex
1331 \emph default
1332  package 
1333 \begin_inset CommandInset citation
1334 LatexCommand cite
1335 key "preview"
1336
1337 \end_inset
1338
1339  installed.
1340 \end_layout
1341
1342 \begin_layout Standard
1343 The recommended way to insert phonetic symbols is via 
1344 \family sans
1345 Insert\SpecialChar \menuseparator
1346 Special characters\SpecialChar \menuseparator
1347 Phonetic symbols.
1348  
1349 \family default
1350 This gives you an input box (
1351 \begin_inset Quotes eld
1352 \end_inset
1353
1354 inset
1355 \begin_inset Quotes erd
1356 \end_inset
1357
1358  in LyX speak), where you can insert the symbols.
1359  Note that this box can be used both for the insertion of small snippets
1360  (inline) and multiple paragraphs of phonetic notation.
1361  While the cursor is inside the box, a toolbar opens, which provides the
1362  basic set of phonetic symbols (sorted by the IPA categories).
1363  Each of the toolbar's panels can be torn off the bar by clicking on the
1364  dashed line on its top.
1365  This way, you can insert most symbols quite comfortably: 
1366 \begin_inset IPA
1367
1368 \begin_layout Standard
1369 [l
1370 \begin_inset IPADeco bottomtiebar
1371 status open
1372
1373 \begin_layout Plain Layout
1374 ai
1375 \end_layout
1376
1377 \end_inset
1378
1379 k ðɪs]
1380 \end_layout
1381
1382 \end_inset
1383
1384 .
1385 \begin_inset Foot
1386 status collapsed
1387
1388 \begin_layout Plain Layout
1389 Note that, if you want to insert diacritics, the diacritics are inserted
1390  
1391 \emph on
1392 after
1393 \emph default
1394  the base character.
1395  That is to say, for 
1396 \begin_inset IPA
1397
1398 \begin_layout Standard
1399 [d̥]
1400 \end_layout
1401
1402 \end_inset
1403
1404  you need to insert 
1405 \family typewriter
1406 <d>
1407 \family default
1408  and then the 
1409 \family typewriter
1410 <voiceless>
1411 \family default
1412  subring diacritic from the toolbar immediately after the 
1413 \family typewriter
1414 <d>
1415 \family default
1416 .
1417  If you need a diacritic alone, you can achieve this by inserting a blank
1418  and then the diacritic, as in 
1419 \begin_inset IPA
1420
1421 \begin_layout Standard
1422  ̼
1423 \end_layout
1424
1425 \end_inset
1426
1427  (
1428 \family typewriter
1429 =
1430 \begin_inset space ~
1431 \end_inset
1432
1433 <space>+<Lingolabial from the IPA toolbar>
1434 \family default
1435 ).
1436 \end_layout
1437
1438 \end_inset
1439
1440  Given that
1441 \emph on
1442  preview-latex
1443 \emph default
1444  is installed and you have switched on instant preview (in
1445 \family sans
1446  Tools\SpecialChar \menuseparator
1447 Preferences\SpecialChar \menuseparator
1448 Graphi
1449 \family default
1450 cs), you'll get a nice WYSIWYG preview as soon as the cursor leaves the
1451  box.
1452  Alternatively to the toolbar, you can also insert the symbols directly
1453  via the shortcut notation which is described in the 
1454 \emph on
1455 tipa
1456 \emph default
1457  manual: here's 
1458 \begin_inset IPA
1459
1460 \begin_layout Standard
1461
1462 \family roman
1463 \series medium
1464 \shape up
1465 \size normal
1466 \emph off
1467 \bar no
1468 \strikeout off
1469 \uuline off
1470 \uwave off
1471 \noun off
1472 \color none
1473 [@n Ig"zA:mpl]
1474 \end_layout
1475
1476 \end_inset
1477
1478  (
1479 \emph on
1480 tipa
1481 \emph default
1482  shortcut notation: 
1483 \family typewriter
1484 [@n Ig"zA:mpl
1485 \family default
1486 ]).
1487  Furthermore, you can insert symbols via 
1488 \family sans
1489 Insert\SpecialChar \menuseparator
1490 Special characters\SpecialChar \menuseparator
1491 Symbols\SpecialChar \ldots{}
1492
1493 \family default
1494  (which might be useful for symbols that are not yet covered by the toolbar),
1495  or you can simply paste unicode-encoded text (e.
1496 \begin_inset space \thinspace{}
1497 \end_inset
1498
1499 g., from other applications) into the box.
1500  The output should be equal, no matter what input method you chose.
1501 \end_layout
1502
1503 \begin_layout Standard
1504 Note that you can also insert or paste most IPA glyphs outside the specific
1505  IPA input box: [əz ʃəʊn hɪə].
1506  In the output, they will be automatically transformed into the correct
1507  
1508 \emph on
1509 tipa
1510 \emph default
1511  macro (if not, please inform us).
1512  However, please note that this method produces inferior output quality,
1513  since it will most likely result in a mix of fonts (the latin characters
1514  are taken from the base document font, the IPA glyphs from the IPA font).
1515  Within the IPA input box, on the other hand, the IPA font is used for all
1516  characters.
1517  So unless you only need to insert single IPA characters, using the IPA
1518  input box is highly recommended.
1519 \end_layout
1520
1521 \begin_layout Section
1522 Further information
1523 \end_layout
1524
1525 \begin_layout Standard
1526 For a detailed description of specific possibilities for linguists, please
1527  refer to the LinguistLyX page on the LyX wiki 
1528 \begin_inset CommandInset citation
1529 LatexCommand cite
1530 key "linguistlyx"
1531
1532 \end_inset
1533
1534  (feel free to enter your own hints there).
1535 \end_layout
1536
1537 \begin_layout Bibliography
1538 \begin_inset CommandInset bibitem
1539 LatexCommand bibitem
1540 key "covington"
1541
1542 \end_inset
1543
1544 The covington package: 
1545 \begin_inset Flex URL
1546 status collapsed
1547
1548 \begin_layout Plain Layout
1549
1550 http://www.ctan.org/tex-archive/macros/latex/contrib/covington/
1551 \end_layout
1552
1553 \end_inset
1554
1555 .
1556 \end_layout
1557
1558 \begin_layout Bibliography
1559 \begin_inset CommandInset bibitem
1560 LatexCommand bibitem
1561 key "csquotes"
1562
1563 \end_inset
1564
1565 The csquotes package: 
1566 \begin_inset Flex URL
1567 status collapsed
1568
1569 \begin_layout Plain Layout
1570
1571 http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/
1572 \end_layout
1573
1574 \end_inset
1575
1576 .
1577 \end_layout
1578
1579 \begin_layout Bibliography
1580 \begin_inset CommandInset bibitem
1581 LatexCommand bibitem
1582 key "enumitem"
1583
1584 \end_inset
1585
1586 The enumitem package: 
1587 \begin_inset Flex URL
1588 status collapsed
1589
1590 \begin_layout Plain Layout
1591
1592 http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/
1593 \end_layout
1594
1595 \end_inset
1596
1597 .
1598 \end_layout
1599
1600 \begin_layout Bibliography
1601 \begin_inset CommandInset bibitem
1602 LatexCommand bibitem
1603 key "float"
1604
1605 \end_inset
1606
1607 The float package: 
1608 \begin_inset Flex URL
1609 status collapsed
1610
1611 \begin_layout Plain Layout
1612
1613 http://www.ctan.org/tex-archive/macros/latex/contrib/float/
1614 \end_layout
1615
1616 \end_inset
1617
1618 .
1619 \end_layout
1620
1621 \begin_layout Bibliography
1622 \begin_inset CommandInset bibitem
1623 LatexCommand bibitem
1624 key "linguistlyx"
1625
1626 \end_inset
1627
1628 Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using LyX for Linguisti
1629 c Papers.
1630  
1631 \begin_inset Flex URL
1632 status collapsed
1633
1634 \begin_layout Plain Layout
1635
1636 http://wiki.lyx.org/LyX/LinguistLyX
1637 \end_layout
1638
1639 \end_inset
1640
1641 .
1642 \end_layout
1643
1644 \begin_layout Bibliography
1645 \begin_inset CommandInset bibitem
1646 LatexCommand bibitem
1647 key "preview"
1648
1649 \end_inset
1650
1651 The preview-latex package: 
1652 \begin_inset Flex URL
1653 status collapsed
1654
1655 \begin_layout Plain Layout
1656
1657 http://www.ctan.org/tex-archive/macros/latex/contrib/preview/
1658 \end_layout
1659
1660 \end_inset
1661
1662 .
1663 \end_layout
1664
1665 \begin_layout Bibliography
1666 \begin_inset CommandInset bibitem
1667 LatexCommand bibitem
1668 key "tipa"
1669
1670 \end_inset
1671
1672 The tipa package and fonts: 
1673 \begin_inset Flex URL
1674 status collapsed
1675
1676 \begin_layout Plain Layout
1677
1678 http://www.ctan.org/tex-archive/fonts/tipa/
1679 \end_layout
1680
1681 \end_inset
1682
1683 .
1684 \end_layout
1685
1686 \end_body
1687 \end_document