1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
16 \font_typewriter default
17 \font_default_family default
23 \paperfontsize default
32 \paperorientation portrait
35 \paragraph_separation indent
37 \quotes_language english
40 \paperpagestyle default
41 \tracking_changes false
50 Writing linguistic papers with LyX
60 \begin_layout Standard
74 \begin_layout Abstract
75 This paper describes some features that LyX provides to linguists.
76 It demonstrates how to use some native support in order to produce numbered
77 examples, glosses, semantic markup, and phonetic symbols (IPA).
81 Aims and prerequisites
84 \begin_layout Standard
85 Basically, this paper describes the features of the
86 \begin_inset Quotes eld
90 \begin_inset Quotes erd
93 module that ships with LyX as of version 1.6.0.
95 \begin_inset Quotes eld
99 \begin_inset Quotes erd
102 are support files (introduced with LyX 1.6.0) that can easily be selected
104 In order to use the Linguistics module, go to
106 Document\SpecialChar \menuseparator
107 Settings\SpecialChar \menuseparator
111 \begin_inset Quotes eld
115 \begin_inset Quotes erd
118 from the list of available modules, and hit the
122 button to select it for your document (as already done for this document).
125 \begin_layout Standard
126 You should be able to use the module with any document class (please inform
128 However, in order to use all the features, you need to have the following
129 LaTeX packages installed:
132 \begin_layout Enumerate
138 \begin_inset CommandInset citation
144 : This is the base package used for numbered examples and glosses.
147 \begin_layout Enumerate
153 \begin_inset CommandInset citation
159 : This package is used for the Subexamples style.
160 It is generally useful to alter the appearance of lists (such as
175 \begin_layout Enumerate
181 \begin_inset CommandInset citation
192 The package provides context sensitive quotation marks, depending on the
196 \begin_layout Section
200 \begin_layout Standard
201 Numbered examples are inserted via the layout dropdown box in the toolbar.
202 There are three variants:
205 \begin_layout Numbered Example (multiline)
206 This is a multiline example [Style
208 Numbered Example (multiline)
213 \begin_layout Numbered Example (multiline)
214 it can have several paragraphs
217 \begin_layout Numbered Examples (consecutive)
218 This is a single example
219 \begin_inset CommandInset label
221 name "exa:single-example"
227 Numbered Example (consecutive)
232 \begin_layout Numbered Examples (consecutive)
233 Consecutive single examples get their own numbers
236 \begin_layout Subexample
238 \begin_inset CommandInset label
240 name "sub:subexample"
251 \begin_layout Subexample
255 \begin_layout Standard
256 References to examples are produced as usual: insert a label to the example
257 and a crossreference via
259 Insert\SpecialChar \menuseparator
263 We refer here, just for the sake of demonstrating this, to
264 \begin_inset CommandInset ref
266 reference "exa:single-example"
271 \begin_inset CommandInset ref
273 reference "sub:subexample"
280 \begin_layout Section
284 \begin_layout Standard
285 The Linguistics module provides two kinds of glosses, which can be inserted
288 Insert\SpecialChar \menuseparator
295 provides a glosse that consists of two lines and a translation, the
299 insets consists of three lines and a translation.
300 Note that the translation line is mandatory and must be preceded by the
307 which should be inserted verbatim in the Glosse inset (ERT is not needed,
308 and in fact not even possible).
311 \begin_layout Standard
312 Here is a simple example:
315 \begin_layout Standard
316 \begin_inset Flex Custom:Glosse
319 \begin_layout Standard
320 C'est un exemple simple
323 \begin_layout Standard
324 {This is} an example simple
327 \begin_layout Standard
331 \begin_inset Quotes els
334 This is a simple example
335 \begin_inset Quotes ers
346 \begin_layout Standard
347 Note that the braces hold together multi-word expressions.
348 In the same vein, we can make a three-line glosse:
351 \begin_layout Standard
352 \begin_inset Flex Custom:Tri-Glosse
355 \begin_layout Standard
356 C'est un exemple simple
359 \begin_layout Standard
360 {Das ist} ein Beispiel einfach
363 \begin_layout Standard
364 {This is} an example simple
367 \begin_layout Standard
371 \begin_inset Quotes els
374 This is a simple example
375 \begin_inset Quotes ers
386 \begin_layout Standard
387 If you want to have numbered glosses, you can simply insert the Glosse inset
388 to a numbered examples paragraph, as follows:
391 \begin_layout Numbered Examples (consecutive)
392 \begin_inset Flex Custom:Tri-Glosse
395 \begin_layout Standard
396 Mein Luftkissenfahrzeug ist voller Aale
399 \begin_layout Standard
400 My skeertuig is vol palings
403 \begin_layout Standard
404 My hovercraft is {full of} eels
407 \begin_layout Standard
411 \begin_inset Quotes els
415 \begin_inset Quotes ers
426 \begin_layout Section
427 Semantic Markup (Character Styles)
430 \begin_layout Standard
431 The Linguistics module comes with some character styles that are common
435 \begin_layout Enumerate
436 Concept (in small caps):
437 \begin_inset Flex CharStyle:Concepts
440 \begin_layout Standard
449 \begin_layout Enumerate
450 Expression (emphasized):
451 \begin_inset Flex CharStyle:Expression
454 \begin_layout Standard
463 \begin_layout Enumerate
464 Meaning (in single quotes):
465 \begin_inset Flex CharStyle:Meaning
468 \begin_layout Standard
477 \begin_layout Standard
478 You can insert the character styles via the
480 Edit\SpecialChar \menuseparator
484 If you need to change the appearance of these styles later, you can redefine
485 them in the preamble.
486 To make expressions bold, for instance, insert:
489 \begin_layout LyX-Code
499 \begin_layout Standard
515 \begin_layout Section
516 Phonetic Symbols (IPA)
519 \begin_layout Standard
520 You do not need the Linguistics module to insert phonetic symbols, this
521 is a base functionality of LyX.
522 However, since this is frequently used by linguists, we will describe it
523 (briefly) in this paper nevertheless.
526 \begin_layout Standard
527 A prerequisite to use LyX's IPA support is the LaTeX package
532 \begin_inset CommandInset citation
539 Additionally, if you want to have instant preview, you should have the
545 \begin_inset CommandInset citation
554 \begin_layout Standard
555 Phonetic symbols can be entered via
557 Insert\SpecialChar \menuseparator
558 Special characters\SpecialChar \menuseparator
562 You get a little frame, where you can insert the symbols using the shortcut
563 notation which is described in the tipa manual.
565 \begin_inset Formula $\text{\textipa{[Ekspl@"neIS@n]}}$
569 Given that preview-latex is installed and you have switched on instant
572 Tools\SpecialChar \menuseparator
573 Preferences\SpecialChar \menuseparator
576 ), you'll get a nice preview as soon as the cursor leaves the frame.
579 \begin_layout Section
583 \begin_layout Standard
584 For a detailed description of specific possibilities for linguists, please
585 refer to the LinguistLyX page on the LyX wiki
586 \begin_inset CommandInset citation
592 (feel free to enter your own hints there).
595 \begin_layout Bibliography
596 \begin_inset CommandInset bibitem
602 The covington package:
603 \begin_inset Flex URL
606 \begin_layout Standard
608 http://www.ctan.org/tex-archive/macros/latex/contrib/covington/
616 \begin_layout Bibliography
617 \begin_inset CommandInset bibitem
623 The csquotes package:
624 \begin_inset Flex URL
627 \begin_layout Standard
629 http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/
637 \begin_layout Bibliography
638 \begin_inset CommandInset bibitem
644 The enumitem package:
645 \begin_inset Flex URL
648 \begin_layout Standard
650 http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/
658 \begin_layout Bibliography
659 \begin_inset CommandInset bibitem
665 Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using LyX for Linguisti
668 \begin_inset Flex URL
671 \begin_layout Standard
673 http://wiki.lyx.org/LyX/LinguistLyX
681 \begin_layout Bibliography
682 \begin_inset CommandInset bibitem
688 The preview-latex package:
689 \begin_inset Flex URL
692 \begin_layout Standard
694 http://www.ctan.org/tex-archive/macros/latex/contrib/preview/
702 \begin_layout Bibliography
703 \begin_inset CommandInset bibitem
709 The tipa package and fonts:
710 \begin_inset Flex URL
713 \begin_layout Standard
715 http://www.ctan.org/tex-archive/fonts/tipa/