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