1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 %% Uncomment the following for Tableaux captions on top:
9 %\restylefloat{tableau}
11 \use_default_options false
15 \maintain_unincluded_children false
17 \language_package default
22 \font_typewriter default
24 \font_default_family default
25 \use_non_tex_fonts false
31 \default_output_format pdf
33 \bibtex_command default
34 \index_command default
35 \paperfontsize default
39 \pdf_bookmarksnumbered false
40 \pdf_bookmarksopen false
41 \pdf_bookmarksopenlevel 1
49 \use_package amsmath 1
50 \use_package amssymb 1
53 \use_package mathdots 1
54 \use_package mathtools 0
56 \use_package stackrel 0
57 \use_package stmaryrd 0
58 \use_package undertilde 0
60 \cite_engine_type default
64 \paperorientation portrait
74 \paragraph_separation indent
75 \paragraph_indentation default
76 \quotes_language english
79 \paperpagestyle default
80 \tracking_changes false
95 \begin_inset Newline newline
99 \begin_inset CommandInset href
101 target "spitz@lyx.org"
113 \begin_layout Abstract
114 この小論は、LyXが言語学者に提供している機能のいくつかを説明します。ここでは、付番用例や語句注解、OT表、セマンティックマークアップ、発音記号(IPA)を生成
115 するために用意されているネイティブサポートを利用する方法を説明します。
118 \begin_layout Section
122 \begin_layout Standard
123 基本的に、この小論は、第1.6.0版現在においてLyXに同梱されている「言語学」モジュールの機能を説明するものです。(LyX 1.6.0で導入された)「モジュール」は、
124 どの文書からでも簡単に選択できるようにしたサポートファイルです。言語学モジュールを使用するためには、
126 文書\SpecialChar \menuseparator
127 設定\SpecialChar \menuseparator
130 を開き、選択可能モジュール一覧から「言語学」を選択し、(この文書で既にそうなっているように)使用中の文書に加えるために
137 \begin_layout Standard
138 このモジュールは、どの文書クラスでも使えるようになったはずです(もしそうなっていなければ、私に知らせてください)。しかし、すべての機能を使用するには、以下の各L
139 aTeXパッケージが導入されている必要があります。
142 \begin_layout Enumerate
148 \begin_inset CommandInset citation
154 :これは付番用例と語句注解に使用される基本パッケージです。
157 \begin_layout Enumerate
163 \begin_inset CommandInset citation
169 :このパッケージは、Subexamplesスタイルに使用されます。これは一般的に、箇条書き(
184 \begin_layout Enumerate
190 \begin_inset CommandInset citation
200 文字様式に必要です。このパッケージは、使用中の言語に依存して、文脈依存の引用符を提供するようにします。
203 \begin_layout Enumerate
209 \begin_inset CommandInset citation
215 :OT表とフロート一覧に必要とsれます。このパッケージは、すべてのLaTeX頒布版に同梱されているはずです。
218 \begin_layout Section
222 \begin_layout Standard
223 付番用例は、ツールバーのレイアウトドロップダウンボックスを使って挿入することができます。これには、以下の三つの派生型があります。
226 \begin_layout Numbered Example (multiline)
234 \begin_layout Numbered Example (multiline)
235 これには複数の段落を入れることができます。
238 \begin_layout Numbered Examples (consecutive)
240 \begin_inset CommandInset label
242 name "exa:single-example"
253 \begin_layout Numbered Examples (consecutive)
254 連続した単独用例は、それぞれ番号が振られます。
257 \begin_layout Subexample
259 \begin_inset CommandInset label
261 name "sub:subexample"
272 \begin_layout Subexample
276 \begin_layout Standard
277 例への参照は通常通り作成することができます。例にラベルを挿入し、
279 挿入\SpecialChar \menuseparator
282 で相互参照を入れてください。これを例示するために、ここでは
283 \begin_inset CommandInset ref
285 reference "exa:single-example"
290 \begin_inset CommandInset ref
292 reference "sub:subexample"
299 \begin_layout Section
303 \begin_layout Standard
304 言語学モジュールは、2つの語句注解を提供しており、
306 挿入\SpecialChar \menuseparator
317 差込枠は、三行と翻訳から成ります。各翻訳行は、複数行に展開されるかもしれません。つまり、本文幅を超えた段落は、自動的に改行されます。翻訳行は必須であり、その先頭
324 コマンドを、語句注解差込枠中にそのまま入れなくてはなりません(TeXモードは必要でなく、実のところTeXモードにすることはできません)。
327 \begin_layout Standard
331 \begin_layout Standard
332 \begin_inset Flex Glosse
335 \begin_layout Plain Layout
337 C'est un exemple simple
340 \begin_layout Plain Layout
342 {This is} an example simple
345 \begin_layout Plain Layout
349 glt This is a simple example
357 \begin_layout Standard
359 波括弧が複数単語の表現をくくるのに使われていることに注意してください。
362 \begin_layout Standard
363 同じようにして、以下のように三行語句注解を作ることができます。
366 \begin_layout Standard
367 \begin_inset Flex Tri-Glosse
370 \begin_layout Plain Layout
372 C'est un exemple simple
375 \begin_layout Plain Layout
377 {Das ist} ein Beispiel einfach
380 \begin_layout Plain Layout
382 {This is} an example simple
385 \begin_layout Plain Layout
389 glt This is a simple example
397 \begin_layout Standard
399 連番の付いた語句注解が欲しい場合には、以下のように、語句注解差込枠を付番用例段落に入れるだけです。
402 \begin_layout Numbered Examples (consecutive)
403 \begin_inset Flex Tri-Glosse
406 \begin_layout Plain Layout
408 Mein Luftkissenfahrzeug ist voller Aale
411 \begin_layout Plain Layout
413 My skeertuig is vol palings
416 \begin_layout Plain Layout
418 My hovercraft is {full of} eels
421 \begin_layout Plain Layout
425 glt Do you have matches?
433 \begin_layout Standard
434 語句注解中では、フォントの変更はできないことに注意してください。したがって
438 ダイアログは無効になっています。語句注解はハイフネートしないので、LaTeX出力中で明示的に言語を設定することは必要とされません(むしろ、covingtonがサ
439 ポートしないため、出力が崩れてしまいます)。それでも、正しいスペルチェックをするために、言語を設定したいと思うかもしれません。現在のところ、これは以下のようにし
443 arg "command-execute"
466 などの各言語に置き換えてください。LaTeX出力中では、この設定は出力されません。
469 \begin_layout Section
473 \begin_layout Standard
474 OT表自体は、もちろん単純に、通常の表として入れることができます(点線や影付きセルなどの特定の機能については、
478 説明書を参照)。しかし、これらの表には、文書を通して連番を振り、
489 \begin_layout Standard
490 言語学モジュールは、この2つをサポートしています。
492 挿入\SpecialChar \menuseparator
495 の中には、以下のようなOT表フロートがあります。
498 \begin_layout Standard
499 \begin_inset Float tableau
505 \begin_layout Plain Layout
508 <lyxtabular version="3" rows="5" columns="5">
509 <features rotate="0" tabularvalignment="middle">
510 <column alignment="right" valignment="top">
511 <column alignment="center" valignment="top">
512 <column alignment="center" valignment="top">
513 <column alignment="center" valignment="top" special="|c">
514 <column alignment="center" valignment="top">
516 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
519 \begin_layout Plain Layout
525 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
528 \begin_layout Plain Layout
536 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
539 \begin_layout Plain Layout
547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
550 \begin_layout Plain Layout
558 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
561 \begin_layout Plain Layout
571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
574 \begin_layout Plain Layout
575 \begin_inset Formula $\mbox{☞}$
579 \begin_inset Formula $\mbox{\textipa{P}}$
587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
590 \begin_layout Plain Layout
596 <cell alignment="center" valignment="top" topline="true" usebox="none">
599 \begin_layout Plain Layout
605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
608 \begin_layout Plain Layout
614 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
617 \begin_layout Plain Layout
625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
628 \begin_layout Plain Layout
634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
637 \begin_layout Plain Layout
643 <cell alignment="center" valignment="top" topline="true" usebox="none">
646 \begin_layout Plain Layout
652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
655 \begin_layout Plain Layout
661 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
664 \begin_layout Plain Layout
672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
675 \begin_layout Plain Layout
676 \begin_inset Formula $\mbox{\textipa{P}}$
684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
687 \begin_layout Plain Layout
693 <cell alignment="center" valignment="top" topline="true" usebox="none">
696 \begin_layout Plain Layout
702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
705 \begin_layout Plain Layout
711 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
714 \begin_layout Plain Layout
722 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
725 \begin_layout Plain Layout
731 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
734 \begin_layout Plain Layout
740 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
743 \begin_layout Plain Layout
749 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
752 \begin_layout Plain Layout
758 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
761 \begin_layout Plain Layout
775 \begin_layout Plain Layout
776 \begin_inset Caption Standard
778 \begin_layout Plain Layout
792 \begin_layout Standard
793 出力中のキャプションは、LyXウィンドウ内での置き方にかかわらず、既定ではつねに、OT表の下に置かれることに注意してください。OT表のキャプションを上に置くには
796 文書\SpecialChar \menuseparator
797 設定\SpecialChar \menuseparator
803 \begin_layout LyX-Code
809 \begin_layout LyX-Code
812 restylefloat{tableau}
815 \begin_layout Standard
816 KOMAクラスを使用している場合には、代わりに以下のようにした方がきれいな余白取りがされます。
819 \begin_layout LyX-Code
822 floatstyle{komaabove}
825 \begin_layout LyX-Code
828 restylefloat{tableau}
831 \begin_layout Standard
834 挿入\SpecialChar \menuseparator
837 にあります。OT表一覧は、通常、文書の始まりか終わりに置かれますが、ここでは例示のためにこの場所に置くことにします。
840 \begin_layout Standard
841 \begin_inset FloatList tableau
848 \begin_layout Section
852 \begin_layout Standard
853 言語学モジュールは、以下のような言語学でよく使われる文字様式を同梱しています。
856 \begin_layout Enumerate
858 \begin_inset Flex Concepts
861 \begin_layout Plain Layout
870 \begin_layout Enumerate
872 \begin_inset Flex Expression
875 \begin_layout Plain Layout
884 \begin_layout Enumerate
886 \begin_inset Flex Meaning
889 \begin_layout Plain Layout
898 \begin_layout Standard
901 編集\SpecialChar \menuseparator
904 サブメニューで入れることができます。これらの様式の外観を後で変更する必要があれば、プリアンブル中で再定義することができます。たとえば、ボールド体の表現にするため
908 \begin_layout LyX-Code
918 \begin_layout Standard
934 \begin_layout Section
938 \begin_layout Standard
939 発音記号を挿入するには、言語学モジュールは必要でなく、LyXの基本機能となっています。しかしながら、発音記号は言語学者が頻繁に用いるので、本稿でも(手短に)説明
943 \begin_layout Standard
944 LyXのIPAサポートを利用するには、LaTeXパッケージ
949 \begin_inset CommandInset citation
955 が必要です。加えて自動プレビューを必要とするなら、
960 \begin_inset CommandInset citation
969 \begin_layout Standard
972 挿入\SpecialChar \menuseparator
973 特殊文字\SpecialChar \menuseparator
976 で入れることができます。すると小さな枠が現れるので、そこに
980 説明書に説明されている短絡表記で記号を挿入します。例:
981 \begin_inset Formula $\text{\textipa{[Ekspl@"neIS@n]}}$
998 ツール\SpecialChar \menuseparator
999 設定\SpecialChar \menuseparator
1002 で)有効にしてあれば、カーソルを枠から出すとすぐに、きれいなプレビューを見ることができます。
1005 \begin_layout Standard
1008 挿入\SpecialChar \menuseparator
1009 特殊文字\SpecialChar \menuseparator
1010 記号\SpecialChar \ldots{}
1013 で)挿入したり、[ɛkspləˈneɪʃən]のように直接LyXに貼り付けたりすることもできます。出力中では、これらは正しい
1017 マクロに自動的に変換されます(そうならなければ私に知らせてください)。しかしながら、以下の二つの理由から、前者の方法の方が良質の出力を生成することに注意してくだ
1021 \begin_layout Enumerate
1022 直接入力すると、フォントがばらばらになる可能性があります(上例では、ラテン文字は基本フォントから採られ、IPAグリフはIPAフォントから採られていますが、
1024 挿入\SpecialChar \menuseparator
1025 特殊文字\SpecialChar \menuseparator
1028 で入れると、すべての文字にIPAフォントが使われます)。
1031 \begin_layout Enumerate
1035 \begin_layout Standard
1036 したがって、単一のIPA文字を入れるだけでいいのでなければ、前者の方法が推奨されます。それに、(かなり直感的な)IPA短絡表記は学んでおくに値します。
1039 \begin_layout Section
1043 \begin_layout Standard
1044 言語学者に特有の利用法について詳しくは、LyX wiki
1045 \begin_inset CommandInset citation
1051 のLinguistLyXページをご参照ください(ご自身のコツもご自由に書き加えてください)。
1054 \begin_layout Bibliography
1055 \begin_inset CommandInset bibitem
1056 LatexCommand bibitem
1062 \begin_inset Flex URL
1065 \begin_layout Plain Layout
1067 http://www.ctan.org/tex-archive/macros/latex/contrib/covington/
1075 \begin_layout Bibliography
1076 \begin_inset CommandInset bibitem
1077 LatexCommand bibitem
1083 \begin_inset Flex URL
1086 \begin_layout Plain Layout
1088 http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/
1096 \begin_layout Bibliography
1097 \begin_inset CommandInset bibitem
1098 LatexCommand bibitem
1104 \begin_inset Flex URL
1107 \begin_layout Plain Layout
1109 http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/
1117 \begin_layout Bibliography
1118 \begin_inset CommandInset bibitem
1119 LatexCommand bibitem
1125 \begin_inset Flex URL
1128 \begin_layout Plain Layout
1130 http://www.ctan.org/tex-archive/macros/latex/contrib/float/
1138 \begin_layout Bibliography
1139 \begin_inset CommandInset bibitem
1140 LatexCommand bibitem
1145 Maria Gouskova, Stacia Hartleben and Jürgen Spitzmüller: Using LyX for Linguisti
1148 \begin_inset Flex URL
1151 \begin_layout Plain Layout
1153 http://wiki.lyx.org/LyX/LinguistLyX
1161 \begin_layout Bibliography
1162 \begin_inset CommandInset bibitem
1163 LatexCommand bibitem
1169 \begin_inset Flex URL
1172 \begin_layout Plain Layout
1174 http://www.ctan.org/tex-archive/macros/latex/contrib/preview/
1182 \begin_layout Bibliography
1183 \begin_inset CommandInset bibitem
1184 LatexCommand bibitem
1190 \begin_inset Flex URL
1193 \begin_layout Plain Layout
1195 http://www.ctan.org/tex-archive/fonts/tipa/