]> git.lyx.org Git - lyx.git/blob - lib/examples/linguistics.lyx
UserGuide.lyx: describe new document class option handling and typographic fixes
[lyx.git] / lib / examples / linguistics.lyx
1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/\r
2 \lyxformat 344\r
3 \begin_document\r
4 \begin_header\r
5 \textclass article\r
6 \begin_preamble\r
7 %% Uncomment the following for Tableaux captions on top:\r
8 %\floatstyle{plaintop}\r
9 %\restylefloat{tableau}\r
10 \end_preamble\r
11 \use_default_options false\r
12 \begin_modules\r
13 linguistics\r
14 \end_modules\r
15 \language english\r
16 \inputencoding auto\r
17 \font_roman lmodern\r
18 \font_sans default\r
19 \font_typewriter default\r
20 \font_default_family default\r
21 \font_sc false\r
22 \font_osf false\r
23 \font_sf_scale 100\r
24 \font_tt_scale 100\r
25 \r
26 \graphics default\r
27 \paperfontsize default\r
28 \spacing single\r
29 \use_hyperref true\r
30 \pdf_bookmarks true\r
31 \pdf_bookmarksnumbered false\r
32 \pdf_bookmarksopen false\r
33 \pdf_bookmarksopenlevel 1\r
34 \pdf_breaklinks false\r
35 \pdf_pdfborder true\r
36 \pdf_colorlinks false\r
37 \pdf_backref false\r
38 \pdf_pdfusetitle true\r
39 \papersize default\r
40 \use_geometry false\r
41 \use_amsmath 1\r
42 \use_esint 1\r
43 \cite_engine basic\r
44 \use_bibtopic false\r
45 \paperorientation portrait\r
46 \secnumdepth 3\r
47 \tocdepth 3\r
48 \paragraph_separation indent\r
49 \defskip medskip\r
50 \quotes_language english\r
51 \papercolumns 1\r
52 \papersides 1\r
53 \paperpagestyle default\r
54 \tracking_changes false\r
55 \output_changes false\r
56 \author "" \r
57 \author "" \r
58 \end_header\r
59 \r
60 \begin_body\r
61 \r
62 \begin_layout Title\r
63 Writing linguistic papers with LyX\r
64 \end_layout\r
65 \r
66 \begin_layout Author\r
67 Jürgen Spitzmüller\r
68 \begin_inset Newline newline\r
69 \end_inset\r
70 \r
71 \r
72 \begin_inset CommandInset href\r
73 LatexCommand href\r
74 target "spitz@lyx.org"\r
75 type "mailto:"\r
76 \r
77 \end_inset\r
78 \r
79 \r
80 \end_layout\r
81 \r
82 \begin_layout Date\r
83 14/09/2008\r
84 \end_layout\r
85 \r
86 \begin_layout Abstract\r
87 This paper describes some features that LyX provides to linguists.\r
88  It demonstrates how to use some native support in order to produce numbered\r
89  examples, glosses, OT tableaux, semantic markup, and phonetic symbols (IPA).\r
90 \end_layout\r
91 \r
92 \begin_layout Section\r
93 Aims and prerequisites\r
94 \end_layout\r
95 \r
96 \begin_layout Standard\r
97 Basically, this paper describes the features of the \r
98 \begin_inset Quotes eld\r
99 \end_inset\r
100 \r
101 Linguistics\r
102 \begin_inset Quotes erd\r
103 \end_inset\r
104 \r
105  module that ships with LyX as of version 1.6.0.\r
106  \r
107 \begin_inset Quotes eld\r
108 \end_inset\r
109 \r
110 Modules\r
111 \begin_inset Quotes erd\r
112 \end_inset\r
113 \r
114  are support files (introduced with LyX 1.6.0) that can easily be selected\r
115  for any document.\r
116  In order to use the Linguistics module, go to \r
117 \family sans\r
118 Document\SpecialChar \menuseparator\r
119 Settings\SpecialChar \menuseparator\r
120 Modules\r
121 \family default\r
122 , select \r
123 \begin_inset Quotes eld\r
124 \end_inset\r
125 \r
126 Linguistics\r
127 \begin_inset Quotes erd\r
128 \end_inset\r
129 \r
130  from the list of available modules, and hit the \r
131 \family sans\r
132 Add\r
133 \family default\r
134  button to select it for your document (as already done for this document).\r
135 \end_layout\r
136 \r
137 \begin_layout Standard\r
138 You should be able to use the module with any document class (please inform\r
139  me, if not).\r
140  However, in order to use all the features, you need to have the following\r
141  LaTeX packages installed:\r
142 \end_layout\r
143 \r
144 \begin_layout Enumerate\r
145 \r
146 \emph on\r
147 covington.sty\r
148 \emph default\r
149  \r
150 \begin_inset CommandInset citation\r
151 LatexCommand cite\r
152 key "covington"\r
153 \r
154 \end_inset\r
155 \r
156 : This is the base package used for numbered examples and glosses.\r
157 \end_layout\r
158 \r
159 \begin_layout Enumerate\r
160 \r
161 \emph on\r
162 enumitem.sty\r
163 \emph default\r
164  \r
165 \begin_inset CommandInset citation\r
166 LatexCommand cite\r
167 key "enumitem"\r
168 \r
169 \end_inset\r
170 \r
171 : This package is used for the Subexamples style.\r
172  It is generally useful to alter the appearance of lists (such as \r
173 \emph on\r
174 enumerate\r
175 \emph default\r
176\r
177 \emph on\r
178 itemize\r
179 \emph default\r
180\r
181 \emph on\r
182 description\r
183 \emph default\r
184 ).\r
185 \end_layout\r
186 \r
187 \begin_layout Enumerate\r
188 \r
189 \emph on\r
190 csquotes.sty\r
191 \emph default\r
192  \r
193 \begin_inset CommandInset citation\r
194 LatexCommand cite\r
195 key "csquotes"\r
196 \r
197 \end_inset\r
198 \r
199 : Needed for the \r
200 \emph on\r
201 Meaning\r
202 \emph default\r
203  character style.\r
204  The package provides context sensitive quotation marks, depending on the\r
205  language in use.\r
206 \end_layout\r
207 \r
208 \begin_layout Enumerate\r
209 \r
210 \emph on\r
211 float.sty\r
212 \emph default\r
213  \r
214 \begin_inset CommandInset citation\r
215 LatexCommand cite\r
216 key "float"\r
217 \r
218 \end_inset\r
219 \r
220 : Needed for the OT tableaux floats and list of floats.\r
221  This package should be part of any LaTeX distribution.\r
222 \end_layout\r
223 \r
224 \begin_layout Section\r
225 Numbered examples\r
226 \end_layout\r
227 \r
228 \begin_layout Standard\r
229 Numbered examples are inserted via the layout dropdown box in the toolbar.\r
230  There are three variants:\r
231 \end_layout\r
232 \r
233 \begin_layout Numbered Example (multiline)\r
234 This is a multiline example [Style \r
235 \emph on\r
236 Numbered Example (multiline)\r
237 \emph default\r
238 ]\r
239 \end_layout\r
240 \r
241 \begin_layout Numbered Example (multiline)\r
242 it can have several paragraphs\r
243 \end_layout\r
244 \r
245 \begin_layout Numbered Examples (consecutive)\r
246 This is a single example\r
247 \begin_inset CommandInset label\r
248 LatexCommand label\r
249 name "exa:single-example"\r
250 \r
251 \end_inset\r
252 \r
253  [Style \r
254 \emph on\r
255 Numbered Example (consecutive)\r
256 \emph default\r
257 ]\r
258 \end_layout\r
259 \r
260 \begin_layout Numbered Examples (consecutive)\r
261 Consecutive single examples get their own numbers\r
262 \end_layout\r
263 \r
264 \begin_layout Subexample\r
265 This is a subexample\r
266 \begin_inset CommandInset label\r
267 LatexCommand label\r
268 name "sub:subexample"\r
269 \r
270 \end_inset\r
271 \r
272  [Style \r
273 \emph on\r
274 Subexample\r
275 \emph default\r
276 ]\r
277 \end_layout\r
278 \r
279 \begin_layout Subexample\r
280 And another one\r
281 \end_layout\r
282 \r
283 \begin_layout Standard\r
284 References to examples are produced as usual: insert a label to the example\r
285  and a crossreference via \r
286 \family sans\r
287 Insert\SpecialChar \menuseparator\r
288 Cross references\r
289 \family default\r
290 .\r
291  We refer here, just for the sake of demonstrating this, to \r
292 \begin_inset CommandInset ref\r
293 LatexCommand ref\r
294 reference "exa:single-example"\r
295 \r
296 \end_inset\r
297 \r
298  and \r
299 \begin_inset CommandInset ref\r
300 LatexCommand ref\r
301 reference "sub:subexample"\r
302 \r
303 \end_inset\r
304 \r
305 .\r
306 \end_layout\r
307 \r
308 \begin_layout Section\r
309 Glosses\r
310 \end_layout\r
311 \r
312 \begin_layout Standard\r
313 The Linguistics module provides two kinds of glosses, which can be inserted\r
314  via \r
315 \family sans\r
316 Insert\SpecialChar \menuseparator\r
317 Custom Insets\r
318 \family default\r
319 : The standard \r
320 \emph on\r
321 Custom:Glosse\r
322 \emph default\r
323  provides a glosse that consists of two lines and a translation, the \r
324 \emph on\r
325 Custom:Tri-Glosse\r
326 \emph default\r
327  insets consists of three lines and a translation.\r
328  Note that the translation line is mandatory and must be preceded by the\r
329  command \r
330 \family typewriter\r
331 \r
332 \backslash\r
333 glt\r
334 \family default\r
335  which should be inserted verbatim in the Glosse inset (ERT is not needed,\r
336  and in fact not even possible).\r
337 \end_layout\r
338 \r
339 \begin_layout Standard\r
340 Here is a simple example:\r
341 \end_layout\r
342 \r
343 \begin_layout Standard\r
344 \begin_inset Flex Custom:Glosse\r
345 status open\r
346 \r
347 \begin_layout Plain Layout\r
348 C'est un exemple simple\r
349 \end_layout\r
350 \r
351 \begin_layout Plain Layout\r
352 {This is} an example simple\r
353 \end_layout\r
354 \r
355 \begin_layout Plain Layout\r
356 \r
357 \backslash\r
358 glt \r
359 \begin_inset Quotes els\r
360 \end_inset\r
361 \r
362 This is a simple example\r
363 \begin_inset Quotes ers\r
364 \end_inset\r
365 \r
366 \r
367 \end_layout\r
368 \r
369 \end_inset\r
370 \r
371 \r
372 \end_layout\r
373 \r
374 \begin_layout Standard\r
375 Note that the braces hold together multi-word expressions.\r
376  In the same vein, we can make a three-line glosse:\r
377 \end_layout\r
378 \r
379 \begin_layout Standard\r
380 \begin_inset Flex Custom:Tri-Glosse\r
381 status open\r
382 \r
383 \begin_layout Plain Layout\r
384 C'est un exemple simple\r
385 \end_layout\r
386 \r
387 \begin_layout Plain Layout\r
388 {Das ist} ein Beispiel einfach\r
389 \end_layout\r
390 \r
391 \begin_layout Plain Layout\r
392 {This is} an example simple\r
393 \end_layout\r
394 \r
395 \begin_layout Plain Layout\r
396 \r
397 \backslash\r
398 glt \r
399 \begin_inset Quotes els\r
400 \end_inset\r
401 \r
402 This is a simple example\r
403 \begin_inset Quotes ers\r
404 \end_inset\r
405 \r
406 \r
407 \end_layout\r
408 \r
409 \end_inset\r
410 \r
411 \r
412 \end_layout\r
413 \r
414 \begin_layout Standard\r
415 If you want to have numbered glosses, you can simply insert the Glosse inset\r
416  to a numbered examples paragraph, as follows:\r
417 \end_layout\r
418 \r
419 \begin_layout Numbered Examples (consecutive)\r
420 \begin_inset Flex Custom:Tri-Glosse\r
421 status open\r
422 \r
423 \begin_layout Plain Layout\r
424 Mein Luftkissenfahrzeug ist voller Aale\r
425 \end_layout\r
426 \r
427 \begin_layout Plain Layout\r
428 My skeertuig is vol palings\r
429 \end_layout\r
430 \r
431 \begin_layout Plain Layout\r
432 My hovercraft is {full of} eels\r
433 \end_layout\r
434 \r
435 \begin_layout Plain Layout\r
436 \r
437 \backslash\r
438 glt \r
439 \begin_inset Quotes els\r
440 \end_inset\r
441 \r
442 Do you have matches?\r
443 \begin_inset Quotes ers\r
444 \end_inset\r
445 \r
446 \r
447 \end_layout\r
448 \r
449 \end_inset\r
450 \r
451 \r
452 \end_layout\r
453 \r
454 \begin_layout Section\r
455 Optimality Theory Tableaux\r
456 \end_layout\r
457 \r
458 \begin_layout Standard\r
459 OT tableaux itself can of course simply be inserted as ordinary tables (for\r
460  specific features such as dashed lines and shaded cells, cf.\r
461  the \r
462 \emph on\r
463 EmbeddedObjects\r
464 \emph default\r
465  manual).\r
466  However, you might want to have the tableaux numbered throughout the document,\r
467  and you might want to have a \r
468 \emph on\r
469 List of Tableaux\r
470 \emph default\r
471 , similar to the \r
472 \emph on\r
473 List of Tables\r
474 \emph default\r
475 .\r
476  \r
477 \end_layout\r
478 \r
479 \begin_layout Standard\r
480 The Linguistics module provides support for both.\r
481  In \r
482 \family sans\r
483 Insert\SpecialChar \menuseparator\r
484 Floats\r
485 \family default\r
486 , you'll find a Tableaux float:\r
487 \end_layout\r
488 \r
489 \begin_layout Standard\r
490 \begin_inset Float tableau\r
491 placement h\r
492 wide false\r
493 sideways false\r
494 status open\r
495 \r
496 \begin_layout Plain Layout\r
497 \align center\r
498 \begin_inset Tabular\r
499 <lyxtabular version="3" rows="5" columns="5">\r
500 <features>\r
501 <column alignment="right" valignment="top" width="0">\r
502 <column alignment="center" valignment="top" width="0">\r
503 <column alignment="center" valignment="top" width="0">\r
504 <column alignment="center" valignment="top" width="0" special="|c">\r
505 <column alignment="center" valignment="top" width="0">\r
506 <row>\r
507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">\r
508 \begin_inset Text\r
509 \r
510 \begin_layout Plain Layout\r
511 /atikap/\r
512 \end_layout\r
513 \r
514 \end_inset\r
515 </cell>\r
516 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">\r
517 \begin_inset Text\r
518 \r
519 \begin_layout Plain Layout\r
520 \r
521 \noun on\r
522 Onset\r
523 \end_layout\r
524 \r
525 \end_inset\r
526 </cell>\r
527 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">\r
528 \begin_inset Text\r
529 \r
530 \begin_layout Plain Layout\r
531 \r
532 \noun on\r
533 NoCoda\r
534 \end_layout\r
535 \r
536 \end_inset\r
537 </cell>\r
538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">\r
539 \begin_inset Text\r
540 \r
541 \begin_layout Plain Layout\r
542 \r
543 \noun on\r
544 Dep\r
545 \end_layout\r
546 \r
547 \end_inset\r
548 </cell>\r
549 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">\r
550 \begin_inset Text\r
551 \r
552 \begin_layout Plain Layout\r
553 \r
554 \noun on\r
555 Max\r
556 \end_layout\r
557 \r
558 \end_inset\r
559 </cell>\r
560 </row>\r
561 <row>\r
562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">\r
563 \begin_inset Text\r
564 \r
565 \begin_layout Plain Layout\r
566 \begin_inset Formula $\mbox{☞}$\r
567 \end_inset\r
568 \r
569  \r
570 \begin_inset Formula $\mbox{\textipa{P}}$\r
571 \end_inset\r
572 \r
573 a.ti.ka\r
574 \end_layout\r
575 \r
576 \end_inset\r
577 </cell>\r
578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">\r
579 \begin_inset Text\r
580 \r
581 \begin_layout Plain Layout\r
582 \r
583 \end_layout\r
584 \r
585 \end_inset\r
586 </cell>\r
587 <cell alignment="center" valignment="top" topline="true" usebox="none">\r
588 \begin_inset Text\r
589 \r
590 \begin_layout Plain Layout\r
591 \r
592 \end_layout\r
593 \r
594 \end_inset\r
595 </cell>\r
596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">\r
597 \begin_inset Text\r
598 \r
599 \begin_layout Plain Layout\r
600 *\r
601 \end_layout\r
602 \r
603 \end_inset\r
604 </cell>\r
605 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">\r
606 \begin_inset Text\r
607 \r
608 \begin_layout Plain Layout\r
609 *\r
610 \end_layout\r
611 \r
612 \end_inset\r
613 </cell>\r
614 </row>\r
615 <row>\r
616 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">\r
617 \begin_inset Text\r
618 \r
619 \begin_layout Plain Layout\r
620 a.ti.ka\r
621 \end_layout\r
622 \r
623 \end_inset\r
624 </cell>\r
625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">\r
626 \begin_inset Text\r
627 \r
628 \begin_layout Plain Layout\r
629 *!\r
630 \end_layout\r
631 \r
632 \end_inset\r
633 </cell>\r
634 <cell alignment="center" valignment="top" topline="true" usebox="none">\r
635 \begin_inset Text\r
636 \r
637 \begin_layout Plain Layout\r
638 \r
639 \end_layout\r
640 \r
641 \end_inset\r
642 </cell>\r
643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">\r
644 \begin_inset Text\r
645 \r
646 \begin_layout Plain Layout\r
647 \r
648 \end_layout\r
649 \r
650 \end_inset\r
651 </cell>\r
652 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">\r
653 \begin_inset Text\r
654 \r
655 \begin_layout Plain Layout\r
656 *\r
657 \end_layout\r
658 \r
659 \end_inset\r
660 </cell>\r
661 </row>\r
662 <row>\r
663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">\r
664 \begin_inset Text\r
665 \r
666 \begin_layout Plain Layout\r
667 \begin_inset Formula $\mbox{\textipa{P}}$\r
668 \end_inset\r
669 \r
670 a.ti.kap\r
671 \end_layout\r
672 \r
673 \end_inset\r
674 </cell>\r
675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">\r
676 \begin_inset Text\r
677 \r
678 \begin_layout Plain Layout\r
679 \r
680 \end_layout\r
681 \r
682 \end_inset\r
683 </cell>\r
684 <cell alignment="center" valignment="top" topline="true" usebox="none">\r
685 \begin_inset Text\r
686 \r
687 \begin_layout Plain Layout\r
688 *!\r
689 \end_layout\r
690 \r
691 \end_inset\r
692 </cell>\r
693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">\r
694 \begin_inset Text\r
695 \r
696 \begin_layout Plain Layout\r
697 *\r
698 \end_layout\r
699 \r
700 \end_inset\r
701 </cell>\r
702 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">\r
703 \begin_inset Text\r
704 \r
705 \begin_layout Plain Layout\r
706 \r
707 \end_layout\r
708 \r
709 \end_inset\r
710 </cell>\r
711 </row>\r
712 <row>\r
713 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">\r
714 \begin_inset Text\r
715 \r
716 \begin_layout Plain Layout\r
717 a.ti.kap\r
718 \end_layout\r
719 \r
720 \end_inset\r
721 </cell>\r
722 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">\r
723 \begin_inset Text\r
724 \r
725 \begin_layout Plain Layout\r
726 *!\r
727 \end_layout\r
728 \r
729 \end_inset\r
730 </cell>\r
731 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">\r
732 \begin_inset Text\r
733 \r
734 \begin_layout Plain Layout\r
735 *!\r
736 \end_layout\r
737 \r
738 \end_inset\r
739 </cell>\r
740 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">\r
741 \begin_inset Text\r
742 \r
743 \begin_layout Plain Layout\r
744 \r
745 \end_layout\r
746 \r
747 \end_inset\r
748 </cell>\r
749 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">\r
750 \begin_inset Text\r
751 \r
752 \begin_layout Plain Layout\r
753 \r
754 \end_layout\r
755 \r
756 \end_inset\r
757 </cell>\r
758 </row>\r
759 </lyxtabular>\r
760 \r
761 \end_inset\r
762 \r
763 \r
764 \end_layout\r
765 \r
766 \begin_layout Plain Layout\r
767 \begin_inset Caption\r
768 \r
769 \begin_layout Plain Layout\r
770 Example Tableau\r
771 \end_layout\r
772 \r
773 \end_inset\r
774 \r
775 \r
776 \end_layout\r
777 \r
778 \end_inset\r
779 \r
780 \r
781 \end_layout\r
782 \r
783 \begin_layout Standard\r
784 Note that by default, the caption is always placed below the tableaux in\r
785  the output, no matter where you put it in the LyX window.\r
786  To get the Tableaux captions on top, put the following code in \r
787 \family sans\r
788 Document\SpecialChar \menuseparator\r
789 Settings\SpecialChar \menuseparator\r
790 Preamble\r
791 \family default\r
792 :\r
793 \end_layout\r
794 \r
795 \begin_layout LyX-Code\r
796 \r
797 \backslash\r
798 floatstyle{plaintop}\r
799 \end_layout\r
800 \r
801 \begin_layout LyX-Code\r
802 \r
803 \backslash\r
804 restylefloat{tableau}\r
805 \end_layout\r
806 \r
807 \begin_layout Standard\r
808 If your using a KOMA class, use the following instead for better spacing:\r
809 \end_layout\r
810 \r
811 \begin_layout LyX-Code\r
812 \r
813 \backslash\r
814 floatstyle{komaabove}\r
815 \end_layout\r
816 \r
817 \begin_layout LyX-Code\r
818 \r
819 \backslash\r
820 restylefloat{tableau}\r
821 \end_layout\r
822 \r
823 \begin_layout Standard\r
824 A List of Tableaux inset can be found in \r
825 \family sans\r
826 Insert\SpecialChar \menuseparator\r
827 Lists & TOC\r
828 \family default\r
829 .\r
830  Even though this usually is placed at the beginning or the end of the document,\r
831  we do this here for exemplification purposes:\r
832 \end_layout\r
833 \r
834 \begin_layout Standard\r
835 \begin_inset FloatList tableau\r
836 \r
837 \end_inset\r
838 \r
839 \r
840 \end_layout\r
841 \r
842 \begin_layout Section\r
843 Semantic Markup (Character Styles)\r
844 \end_layout\r
845 \r
846 \begin_layout Standard\r
847 The Linguistics module comes with some character styles that are common\r
848  in linguistics:\r
849 \end_layout\r
850 \r
851 \begin_layout Enumerate\r
852 Concept (in small caps): \r
853 \begin_inset Flex CharStyle:Concepts\r
854 status collapsed\r
855 \r
856 \begin_layout Plain Layout\r
857 concept\r
858 \end_layout\r
859 \r
860 \end_inset\r
861 \r
862  \r
863 \end_layout\r
864 \r
865 \begin_layout Enumerate\r
866 Expression (emphasized): \r
867 \begin_inset Flex CharStyle:Expression\r
868 status collapsed\r
869 \r
870 \begin_layout Plain Layout\r
871 expression\r
872 \end_layout\r
873 \r
874 \end_inset\r
875 \r
876 \r
877 \end_layout\r
878 \r
879 \begin_layout Enumerate\r
880 Meaning (in single quotes): \r
881 \begin_inset Flex CharStyle:Meaning\r
882 status collapsed\r
883 \r
884 \begin_layout Plain Layout\r
885 meaning\r
886 \end_layout\r
887 \r
888 \end_inset\r
889 \r
890 \r
891 \end_layout\r
892 \r
893 \begin_layout Standard\r
894 You can insert the character styles via the \r
895 \family sans\r
896 Edit\SpecialChar \menuseparator\r
897 Text Style\r
898 \family default\r
899  submenu.\r
900  If you need to change the appearance of these styles later, you can redefine\r
901  them in the preamble.\r
902  To make expressions bold, for instance, insert:\r
903 \end_layout\r
904 \r
905 \begin_layout LyX-Code\r
906 \r
907 \backslash\r
908 renewcommand\r
909 \backslash\r
910 lingexpr[1]{\r
911 \backslash\r
912 textbf{#1}}\r
913 \end_layout\r
914 \r
915 \begin_layout Standard\r
916 Similarly, concept (\r
917 \family typewriter\r
918 \r
919 \backslash\r
920 lingconcept\r
921 \family default\r
922 ) and meaning (\r
923 \family typewriter\r
924 \r
925 \backslash\r
926 lingmeaning\r
927 \family default\r
928 ) can be modified.\r
929 \end_layout\r
930 \r
931 \begin_layout Section\r
932 Phonetic Symbols (IPA)\r
933 \end_layout\r
934 \r
935 \begin_layout Standard\r
936 You do not need the Linguistics module to insert phonetic symbols, this\r
937  is a base functionality of LyX.\r
938  However, since this is frequently used by linguists, we will describe it\r
939  (briefly) in this paper nevertheless.\r
940 \end_layout\r
941 \r
942 \begin_layout Standard\r
943 A prerequisite to use LyX's IPA support is the LaTeX package \r
944 \emph on\r
945 tipa\r
946 \emph default\r
947  \r
948 \begin_inset CommandInset citation\r
949 LatexCommand cite\r
950 key "tipa"\r
951 \r
952 \end_inset\r
953 \r
954 .\r
955  Additionally, if you want to have instant preview, you should have the\r
956  \r
957 \emph on\r
958 preview-latex\r
959 \emph default\r
960  package \r
961 \begin_inset CommandInset citation\r
962 LatexCommand cite\r
963 key "preview"\r
964 \r
965 \end_inset\r
966 \r
967  installed.\r
968 \end_layout\r
969 \r
970 \begin_layout Standard\r
971 Phonetic symbols can be entered via \r
972 \family sans\r
973 Insert\SpecialChar \menuseparator\r
974 Special characters\SpecialChar \menuseparator\r
975 Phonetic symbols.\r
976  \r
977 \family default\r
978 You get a little frame, where you can insert the symbols using the shortcut\r
979  notation which is described in the \r
980 \emph on\r
981 tipa\r
982 \emph default\r
983  manual.\r
984  Example: \r
985 \begin_inset Formula $\text{\textipa{[Ekspl@"neIS@n]}}$\r
986 \end_inset\r
987 \r
988  (\r
989 \emph on\r
990 tipa\r
991 \emph default\r
992  shortcut notation: \r
993 \family typewriter\r
994 [Ekspl@"neIS@n\r
995 \family default\r
996 ]).\r
997  Given that\r
998 \emph on\r
999  preview-lat\r
1000 \family sans\r
1001 \emph default\r
1002 e\r
1003 \family default\r
1004 x is installed and you have switched on instant preview (in\r
1005 \family sans\r
1006  Tools\SpecialChar \menuseparator\r
1007 Preferences\SpecialChar \menuseparator\r
1008 Graphi\r
1009 \family default\r
1010 cs), you'll get a nice preview as soon as the cursor leaves the frame.\r
1011 \end_layout\r
1012 \r
1013 \begin_layout Standard\r
1014 Furthermore, most IPA glyphs can also be inserted (e.g.\r
1015 \begin_inset space \space{}\r
1016 \end_inset\r
1017 \r
1018 via \r
1019 \family sans\r
1020 Insert\SpecialChar \menuseparator\r
1021 Special characters\SpecialChar \menuseparator\r
1022 Symbols\SpecialChar \ldots{}\r
1023 \r
1024 \family default\r
1025 ) or pasted directly into LyX: [ɛkspləˈneɪʃən].\r
1026  In the output, they will be automatically transformed into the correct\r
1027  \r
1028 \emph on\r
1029 tipa\r
1030 \emph default\r
1031  macro (if not, please inform me).\r
1032  However, please note that the former method produces better output quality\r
1033  for two reasons:\r
1034 \end_layout\r
1035 \r
1036 \begin_layout Enumerate\r
1037 direct input might result in a mix of fonts (in the above example, the latin\r
1038  characters are taken from the base font, the IPA glyphs from the IPA font,\r
1039  whereas \r
1040 \family sans\r
1041 Insert\SpecialChar \menuseparator\r
1042 Special characters\SpecialChar \menuseparator\r
1043 Phonetic symbol\r
1044 \family default\r
1045 s uses the IPA font for all characters)\r
1046 \end_layout\r
1047 \r
1048 \begin_layout Enumerate\r
1049 the letter kerning is not preserved\r
1050 \end_layout\r
1051 \r
1052 \begin_layout Standard\r
1053 So unless you only need to insert single IPA characters, the former method\r
1054  is recommended, and it's worth learning the (pretty intuitive) IPA shortcut\r
1055  notation.\r
1056 \end_layout\r
1057 \r
1058 \begin_layout Section\r
1059 Further information\r
1060 \end_layout\r
1061 \r
1062 \begin_layout Standard\r
1063 For a detailed description of specific possibilities for linguists, please\r
1064  refer to the LinguistLyX page on the LyX wiki \r
1065 \begin_inset CommandInset citation\r
1066 LatexCommand cite\r
1067 key "linguistlyx"\r
1068 \r
1069 \end_inset\r
1070 \r
1071  (feel free to enter your own hints there).\r
1072 \end_layout\r
1073 \r
1074 \begin_layout Bibliography\r
1075 \begin_inset CommandInset bibitem\r
1076 LatexCommand bibitem\r
1077 key "covington"\r
1078 \r
1079 \end_inset\r
1080 \r
1081 The covington package: \r
1082 \begin_inset Flex URL\r
1083 status collapsed\r
1084 \r
1085 \begin_layout Plain Layout\r
1086 \r
1087 http://www.ctan.org/tex-archive/macros/latex/contrib/covington/\r
1088 \end_layout\r
1089 \r
1090 \end_inset\r
1091 \r
1092 .\r
1093 \end_layout\r
1094 \r
1095 \begin_layout Bibliography\r
1096 \begin_inset CommandInset bibitem\r
1097 LatexCommand bibitem\r
1098 key "csquotes"\r
1099 \r
1100 \end_inset\r
1101 \r
1102 The csquotes package: \r
1103 \begin_inset Flex URL\r
1104 status collapsed\r
1105 \r
1106 \begin_layout Plain Layout\r
1107 \r
1108 http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/\r
1109 \end_layout\r
1110 \r
1111 \end_inset\r
1112 \r
1113 .\r
1114 \end_layout\r
1115 \r
1116 \begin_layout Bibliography\r
1117 \begin_inset CommandInset bibitem\r
1118 LatexCommand bibitem\r
1119 key "enumitem"\r
1120 \r
1121 \end_inset\r
1122 \r
1123 The enumitem package: \r
1124 \begin_inset Flex URL\r
1125 status collapsed\r
1126 \r
1127 \begin_layout Plain Layout\r
1128 \r
1129 http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/\r
1130 \end_layout\r
1131 \r
1132 \end_inset\r
1133 \r
1134 .\r
1135 \end_layout\r
1136 \r
1137 \begin_layout Bibliography\r
1138 \begin_inset CommandInset bibitem\r
1139 LatexCommand bibitem\r
1140 key "float"\r
1141 \r
1142 \end_inset\r
1143 \r
1144 The float package: \r
1145 \begin_inset Flex URL\r
1146 status collapsed\r
1147 \r
1148 \begin_layout Plain Layout\r
1149 \r
1150 http://www.ctan.org/tex-archive/macros/latex/contrib/float/\r
1151 \end_layout\r
1152 \r
1153 \end_inset\r
1154 \r
1155 .\r
1156 \end_layout\r
1157 \r
1158 \begin_layout Bibliography\r
1159 \begin_inset CommandInset bibitem\r
1160 LatexCommand bibitem\r
1161 key "linguistlyx"\r
1162 \r
1163 \end_inset\r
1164 \r
1165 Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using LyX for Linguisti\r
1166 c Papers.\r
1167  \r
1168 \begin_inset Flex URL\r
1169 status collapsed\r
1170 \r
1171 \begin_layout Plain Layout\r
1172 \r
1173 http://wiki.lyx.org/LyX/LinguistLyX\r
1174 \end_layout\r
1175 \r
1176 \end_inset\r
1177 \r
1178 .\r
1179 \end_layout\r
1180 \r
1181 \begin_layout Bibliography\r
1182 \begin_inset CommandInset bibitem\r
1183 LatexCommand bibitem\r
1184 key "preview"\r
1185 \r
1186 \end_inset\r
1187 \r
1188 The preview-latex package: \r
1189 \begin_inset Flex URL\r
1190 status collapsed\r
1191 \r
1192 \begin_layout Plain Layout\r
1193 \r
1194 http://www.ctan.org/tex-archive/macros/latex/contrib/preview/\r
1195 \end_layout\r
1196 \r
1197 \end_inset\r
1198 \r
1199 .\r
1200 \end_layout\r
1201 \r
1202 \begin_layout Bibliography\r
1203 \begin_inset CommandInset bibitem\r
1204 LatexCommand bibitem\r
1205 key "tipa"\r
1206 \r
1207 \end_inset\r
1208 \r
1209 The tipa package and fonts: \r
1210 \begin_inset Flex URL\r
1211 status collapsed\r
1212 \r
1213 \begin_layout Plain Layout\r
1214 \r
1215 http://www.ctan.org/tex-archive/fonts/tipa/\r
1216 \end_layout\r
1217 \r
1218 \end_inset\r
1219 \r
1220 .\r
1221 \end_layout\r
1222 \r
1223 \end_body\r
1224 \end_document\r