lyx_mirror/lib/examples/ja/Modules/Linguistics.lyx

1683 lines
31 KiB
Plaintext
Raw Normal View History

2020-12-29 17:03:05 +00:00
#LyX 2.4 created this file. For more info see https://www.lyx.org/
2024-01-11 16:06:40 +00:00
\lyxformat 620
\begin_document
\begin_header
2016-01-12 21:30:37 +00:00
\save_transient_properties true
2019-03-25 15:32:27 +00:00
\origin /systemlyxdir/examples/ja/Modules/
\textclass article
\begin_preamble
%% Uncomment the following for Tableaux captions on top:
%\floatstyle{plaintop}
%\restylefloat{tableau}
\end_preamble
\use_default_options false
\begin_modules
linguistics
\end_modules
2020-12-29 17:03:05 +00:00
\maintain_unincluded_children no
\begin_local_layout
### Inserted by lyx2lyx (deprecated ling glosses) ###
InsetLayout Flex:Tri-Glosse
LyXType custom
LabelString "Tri-Gloss (old version)"
MenuString "Tri-Gloss (old version)"
LatexType environment
LatexName lingglosss
Decoration minimalistic
LabelFont
Size Small
EndFont
MultiPar true
CustomPars false
ForcePlain true
ParbreakIsNewline true
FreeSpacing true
InToc true
Requires covington
Preamble
\def\glosstr{}
\@ifundefined{lingglosss}{%
\newenvironment{lingglosss}[2][]{
\def\glosstr{\glt #1}%
\glll #2}
{\glosstr\glend}}{}
EndPreamble
ResetsFont true
Argument 1
Decoration conglomerate
LabelString "Translation"
MenuString "Glosse Translation|s"
Tooltip "Add a translation for the glosse"
EndArgument
End
### Inserted by lyx2lyx (deprecated ling glosses) ###
InsetLayout Flex:Glosse
LyXType custom
LabelString "Gloss (old version)"
MenuString "Gloss (old version)"
LatexType environment
LatexName linggloss
Decoration minimalistic
LabelFont
Size Small
EndFont
MultiPar true
CustomPars false
ForcePlain true
ParbreakIsNewline true
FreeSpacing true
Requires covington
Preamble
\def\glosstr{}
\@ifundefined{linggloss}{%
\newenvironment{linggloss}[2][]{
\def\glosstr{\glt #1}%
\gll #2}
{\glosstr\glend}}{}
EndPreamble
InToc true
ResetsFont true
Argument 1
Decoration conglomerate
LabelString "Translation"
MenuString "Glosse Translation|s"
Tooltip "Add a translation for the glosse"
EndArgument
End
\end_local_layout
\language japanese
\language_package default
2020-12-29 17:03:05 +00:00
\inputencoding utf8
\fontencoding auto
\font_roman "lmodern" "IPAexMincho"
\font_sans "default" "IPAexGothic"
\font_typewriter "default" "FreeMono"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_roman_osf false
2020-12-29 17:03:05 +00:00
\font_sans_osf false
\font_typewriter_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
2017-04-24 04:03:19 +00:00
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder true
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
2013-10-07 22:02:47 +00:00
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
2013-10-07 22:02:47 +00:00
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
2013-10-07 22:02:47 +00:00
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
2013-10-07 22:02:47 +00:00
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
2013-10-07 22:02:47 +00:00
\justification true
\use_refstyle 0
\use_minted 0
2020-12-29 17:03:05 +00:00
\use_lineno 0
\index 索引
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
2017-04-24 04:03:19 +00:00
\is_math_indent 0
2017-08-14 06:31:24 +00:00
\math_numbering_side default
2017-04-24 04:03:19 +00:00
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tablestyle default
\tracking_changes false
\output_changes false
\change_bars false
\postpone_fragile_content false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\docbook_table_output 0
\docbook_mathml_prefix 1
\end_header
\begin_body
\begin_layout Title
\SpecialChar LyX
で言語学の論文を書く
\end_layout
\begin_layout Author
Jürgen Spitzmüller
\begin_inset Newline newline
\end_inset
\begin_inset CommandInset href
LatexCommand href
target "spitz@lyx.org"
type "mailto:"
2017-04-24 04:03:19 +00:00
literal "false"
\end_inset
\end_layout
\begin_layout Date
平成20年9月14日
\end_layout
\begin_layout Abstract
この小論は、\SpecialChar LyX
が言語学者に提供している機能のいくつかを説明します。
ここでは、付番用例や語句注解、OT表、セマンティックマークアップ、発音記号IPAを生成するために用意されているネイティブサポートを利用する方法を説明します。
\end_layout
\begin_layout Section
目的と必要な準備
\end_layout
\begin_layout Standard
基本的に、この小論は、第1.6.0版現在において\SpecialChar LyX
に同梱されている「言語学」モジュールの機能を説明するものです。
\SpecialChar LyX
1.6.0で導入された)「モジュール」は、どの文書からでも簡単に選択できるようにしたサポートファイルです。
言語学モジュールを使用するためには、
\family sans
文書\SpecialChar menuseparator
設定\SpecialChar menuseparator
モジュール
\family default
を開き、選択可能モジュール一覧から「言語学」を選択し、(この文書で既にそうなっているように)使用中の文書に加えるために
\family sans
追加
\family default
ボタンを押してください。
\end_layout
\begin_layout Standard
このモジュールは、どの文書クラスでも使えるようになったはずです(もしそうなっていなければ、私に知らせてください)。
しかし、すべての機能を使用するには、以下の各La\SpecialChar TeX
パッケージが導入されている必要があります。
\end_layout
\begin_layout Enumerate
\emph on
covington.sty
\emph default
\begin_inset CommandInset citation
LatexCommand cite
key "covington"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
これは付番用例と語句注解に使用される基本パッケージです。
\end_layout
\begin_layout Enumerate
\emph on
enumitem.sty
\emph default
\begin_inset CommandInset citation
LatexCommand cite
key "enumitem"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
このパッケージは、Subexamplesスタイルに使用されます。
これは一般的に、箇条書き(
\emph on
連番
\emph default
\emph on
記号
\emph default
\emph on
記述
\emph default
など)の外観を変えるのに役立ちます。
\end_layout
\begin_layout Enumerate
\emph on
csquotes.sty
\emph default
\begin_inset CommandInset citation
LatexCommand cite
key "csquotes"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
\emph on
意味
\emph default
文字様式に必要です。
このパッケージは、使用中の言語に依存して、文脈依存の引用符を提供するようにします。
\end_layout
\begin_layout Enumerate
\emph on
float.sty
\emph default
\begin_inset CommandInset citation
LatexCommand cite
key "float"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
OT表とフロート一覧に必要とsれます。
このパッケージは、すべての\SpecialChar LaTeX
頒布版に同梱されているはずです。
\end_layout
\begin_layout Section
付番用例
\end_layout
\begin_layout Standard
付番用例は、ツールバーのレイアウトドロップダウンボックスを使って挿入することができます。
これには、以下の三つの派生型があります。
\end_layout
\begin_layout Numbered Example (multiline)
これは複数行の例です。
[
\emph on
付番用例(複数行)
\emph default
スタイル]
\end_layout
\begin_layout Numbered Example (multiline)
これには複数の段落を入れることができます。
\end_layout
\begin_layout Numbered Examples (consecutive)
これは単独の用例です。
\begin_inset CommandInset label
LatexCommand label
name "exa:single-example"
\end_inset
[
\emph on
付番用例(連続)
\emph default
スタイル]
\end_layout
\begin_layout Numbered Examples (consecutive)
連続した単独用例は、それぞれ番号が振られます。
\end_layout
\begin_layout Subexample
これは小例です。
\begin_inset CommandInset label
LatexCommand label
name "subsec:subexample"
\end_inset
[
\emph on
小例
\emph default
スタイル]
\end_layout
\begin_layout Subexample
もう一つの小例です。
\end_layout
\begin_layout Standard
例への参照は通常通り作成することができます。
例にラベルを挿入し、
\family sans
挿入\SpecialChar menuseparator
相互参照
\family default
で相互参照を入れてください。
これを例示するために、ここでは
\begin_inset CommandInset ref
LatexCommand ref
reference "exa:single-example"
nolink "false"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
reference "subsec:subexample"
nolink "false"
\end_inset
への参照をしておきましょう。
\end_layout
\begin_layout Section
語句注解
\end_layout
\begin_layout Standard
言語学モジュールは、2つの語句注解を提供しており、
\family sans
挿入\SpecialChar menuseparator
任意設定差込枠
\family default
で挿入することができます。
標準の
\emph on
任意設定:語句注解
\emph default
は、2行と翻訳から成る語句注解を提供し、
\emph on
任意設定:三行語句注解
\emph default
差込枠は、三行と翻訳から成ります。
各翻訳行は、複数行に展開されるかもしれません。
つまり、本文幅を超えた段落は、自動的に改行されます。
翻訳行は必須であり、その先頭には
\family typewriter
\backslash
glt
\family default
コマンドを、語句注解差込枠中にそのまま入れなくてはなりません(\SpecialChar TeX
モードは必要でなく、実のところ\SpecialChar TeX
モードにすることはできません)。
\end_layout
\begin_layout Standard
以下は簡単な例です。
\end_layout
\begin_layout Standard
\begin_inset Flex Glosse
status open
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
C'est un exemple simple
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
{This is} an example simple
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset Argument 1
status open
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
This is a simple example
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\noindent
波括弧が複数単語の表現をくくるのに使われていることに注意してください。
\end_layout
\begin_layout Standard
同じようにして、以下のように三行語句注解を作ることができます。
\end_layout
\begin_layout Standard
\begin_inset Flex Tri-Glosse
status open
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
C'est un exemple simple
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
{Das ist} ein Beispiel einfach
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
{This is} an example simple
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset Argument 1
status open
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
This is a simple example
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\noindent
連番の付いた語句注解が欲しい場合には、以下のように、語句注解差込枠を付番用例段落に入れるだけです。
\end_layout
\begin_layout Numbered Examples (consecutive)
\begin_inset Flex Tri-Glosse
status open
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
Mein Luftkissenfahrzeug ist voller Aale
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
My skeertuig is vol palings
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
My hovercraft is {full of} eels
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset Argument 1
status open
\begin_layout Plain Layout
\begin_inset ERT
status open
\begin_layout Plain Layout
Do you have matches?
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
語句注解中では、フォントの変更はできないことに注意してください。
したがって
\family sans
文字様式
\family default
ダイアログは無効になっています。
語句注解はハイフネートしないので、\SpecialChar LaTeX
出力中で明示的に言語を設定することは必要とされませんむしろ、covingtonがサポートしないため、出力が崩れてしまいます
それでも、正しいスペルチェックをするために、言語を設定したいと思うかもしれません。
現在のところ、これは以下のようにしなくてはなりません。
文章を選択して、
\begin_inset Info
type "shortcut"
arg "command-execute"
\end_inset
\family sans
language <言語>
\family default
と打ってください。
ここで
\family sans
<言語>
\family default
は、
\family sans
english
\family default
\family sans
french
\family default
\family sans
ngerman
\family default
などの各言語に置き換えてください。
\SpecialChar LaTeX
出力中では、この設定は出力されません。
\end_layout
\begin_layout Section
最適理論表
\end_layout
\begin_layout Standard
OT表自体は、もちろん単純に、通常の表として入れることができます点線や影付きセルなどの特定の機能については、
\emph on
埋め込みオブジェクト
\emph default
説明書を参照)。
しかし、これらの表には、文書を通して連番を振り、
\emph on
表一覧
\emph default
のように
\emph on
OT表一覧
\emph default
を置きたいところです。
\end_layout
\begin_layout Standard
言語学モジュールは、この2つをサポートしています。
\family sans
挿入\SpecialChar menuseparator
フロート
\family default
の中には、以下のようなOT表フロートがあります。
\end_layout
\begin_layout Standard
\begin_inset Float tableau
placement h
alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
<features tabularvalignment="middle">
2013-10-07 22:02:47 +00:00
<column alignment="right" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top">
<column alignment="center" valignment="top" special="|c">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
/atikap/
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\noun on
Onset
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\noun on
NoCoda
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\noun on
Dep
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\noun on
Max
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\mbox{☞}$
\end_inset
\begin_inset Formula $\mbox{\textipa{P}}$
\end_inset
a.ti.ka
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
*
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
*
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
a.ti.ka
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
*!
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
*
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Formula $\mbox{\textipa{P}}$
\end_inset
a.ti.kap
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
*!
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
*
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
a.ti.kap
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
*!
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
*!
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_layout
\begin_layout Plain Layout
2013-10-07 22:02:47 +00:00
\begin_inset Caption Standard
\begin_layout Plain Layout
OT表の例
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Standard
出力中のキャプションは、\SpecialChar LyX
ウィンドウ内での置き方にかかわらず、既定ではつねに、OT表の下に置かれることに注意してください。
OT表のキャプションを上に置くには、
\family sans
文書\SpecialChar menuseparator
設定\SpecialChar menuseparator
\SpecialChar LaTeX
プリアンブル
\family default
に以下のコードを書いてください。
\end_layout
\begin_layout LyX-Code
\backslash
floatstyle{plaintop}
\end_layout
\begin_layout LyX-Code
\backslash
restylefloat{tableau}
\end_layout
\begin_layout Standard
KOMAクラスを使用している場合には、代わりに以下のようにした方がきれいな余白取りがされます。
\end_layout
\begin_layout LyX-Code
\backslash
floatstyle{komaabove}
\end_layout
\begin_layout LyX-Code
\backslash
restylefloat{tableau}
\end_layout
\begin_layout Standard
OT表一覧差込枠の一覧は、
\family sans
挿入\SpecialChar menuseparator
一覧/目次
\family default
にあります。
OT表一覧は、通常、文書の始まりか終わりに置かれますが、ここでは例示のためにこの場所に置くことにします。
\end_layout
\begin_layout Standard
\begin_inset FloatList tableau
\end_inset
\end_layout
\begin_layout Section
セマンティック・マークアップ(文字様式)
\end_layout
\begin_layout Standard
言語学モジュールは、以下のような言語学でよく使われる文字様式を同梱しています。
\end_layout
\begin_layout Enumerate
概念(スモールキャップ体):
\begin_inset Flex Concepts
status collapsed
\begin_layout Plain Layout
concept
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
表現(強調):
\begin_inset Flex Expression
status collapsed
\begin_layout Plain Layout
expression
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
意味(一重引用符):
\begin_inset Flex Meaning
status collapsed
\begin_layout Plain Layout
meaning
\end_layout
\end_inset
\end_layout
\begin_layout Standard
これらの文字様式は、
\family sans
編集\SpecialChar menuseparator
文字様式
\family default
サブメニューで入れることができます。
これらの様式の外観を後で変更する必要があれば、プリアンブル中で再定義することができます。
たとえば、ボールド体の表現にするためには、以下のように入れてください。
\end_layout
\begin_layout LyX-Code
\backslash
renewcommand
\backslash
lingexpr[1]{
\backslash
textbf{#1}}
\end_layout
\begin_layout Standard
同様にして、概念(
\family typewriter
\backslash
lingconcept
\family default
)と意味(
\family typewriter
\backslash
lingmeaning
\family default
)も修正することができます。
\end_layout
\begin_layout Section
発音記号IPA
\end_layout
\begin_layout Standard
発音記号を挿入するには、言語学モジュールは必要でなく、\SpecialChar LyX
の基本機能となっています。
しかしながら、発音記号は言語学者が頻繁に用いるので、本稿でも(手短に)説明します。
\end_layout
\begin_layout Standard
\SpecialChar LyX
のIPAサポートを利用するには、\SpecialChar LaTeX
パッケージ
\emph on
tipa
\emph default
\begin_inset CommandInset citation
LatexCommand cite
key "tipa"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
が必要です。
加えて自動プレビューを必要とするなら、
\emph on
preview-latex
\emph default
パッケージ
\begin_inset CommandInset citation
LatexCommand cite
key "preview"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
\begin_inset Note Note
status open
\begin_layout Plain Layout
\lang english
If you use traditional \SpecialChar LaTeX
or PDF\SpecialChar LaTeX
,
a prerequisite to use \SpecialChar LyX
's IPA support is the \SpecialChar LaTeX
package
\emph on
tipa
\emph default
\begin_inset CommandInset citation
LatexCommand cite
key "tipa"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
,
which is automatically loaded by \SpecialChar LyX
if you follow the procedure described below.
If you use Xe\SpecialChar TeX
or Lua\SpecialChar TeX
(i.
\begin_inset space \thinspace{}
\end_inset
e.,
if you have clicked
\begin_inset Quotes eld
\end_inset
Use non-\SpecialChar TeX
fonts
\begin_inset Quotes erd
\end_inset
in
\family sans
Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
Fonts
\family default
),
the package
\emph on
xunicode
\emph default
is loaded instead (since
\emph on
tipa
\emph default
does not work in this context).
The
\emph on
xunicode
\emph default
package emulates the
\emph on
tipa
\emph default
output,
but is not perfect at that,
so some things might not look as expected.
Furthermore,
you need to take care in this case to use a non-TeX font that includes the IPA glyphs (such as
\emph on
CMU Serif
\emph default
or
\emph on
SIL Doulos
\emph default
).
You can also specify an extra font only for IPA by adding the following to
\family sans
Document\SpecialChar menuseparator
Settings\SpecialChar menuseparator
LaTeX Preamble
\family default
:
\end_layout
\begin_layout Plain Layout
\lang english
\begin_inset listings
lstparams "language={[LaTeX]TeX},basicstyle={\footnotesize\ttfamily}"
inline false
status open
\begin_layout Plain Layout
\backslash
AtBeginDocument{%
\end_layout
\begin_layout Plain Layout
\backslash
newfontfamily{
\backslash
ipafont}{CMU Serif}% or another font
\end_layout
\begin_layout Plain Layout
\backslash
def
\backslash
useTIPAfont{
\backslash
ipafont}
\end_layout
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\lang english
Additionally,
and independent from which of the above approaches you use,
if you want to have instant preview,
you should have the
\emph on
preview-latex
\emph default
package
\begin_inset CommandInset citation
LatexCommand cite
key "preview"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
installed.
\end_layout
\end_inset
を導入しておかなくてはなりません。
\end_layout
\begin_layout Standard
発音記号は、
\family sans
挿入\SpecialChar menuseparator
特殊文字\SpecialChar menuseparator
発音記号
\family default
で入れることができます。
すると小さな枠が現れるので、そこに
\emph on
tipa
\emph default
説明書に説明されている短絡表記で記号を挿入します。
例:
\begin_inset Formula $\text{\textipa{[Ekspl@"neIS@n]}}$
\end_inset
\emph on
tipa
\emph default
短絡表記:
\family typewriter
[Ekspl@"neIS@n
\family default
])。
\emph on
preview-latex
\emph default
が導入されていて、自動プレビューを(
\family sans
ツール\SpecialChar menuseparator
設定\SpecialChar menuseparator
表示
\family default
で)有効にしてあれば、カーソルを枠から出すとすぐに、きれいなプレビューを見ることができます。
\end_layout
\begin_layout Standard
さらに、ほとんどのIPAグリフを
\family sans
挿入\SpecialChar menuseparator
特殊文字\SpecialChar menuseparator
記号\SpecialChar ldots
\family default
で)挿入したり、[ɛkspləˈneɪʃən]のように直接\SpecialChar LyX
に貼り付けたりすることもできます。
出力中では、これらは正しい
\emph on
tipa
\emph default
マクロに自動的に変換されます(そうならなければ私に知らせてください)。
しかしながら、以下の二つの理由から、前者の方法の方が良質の出力を生成することに注意してください。
\end_layout
\begin_layout Enumerate
直接入力すると、フォントがばらばらになる可能性があります上例では、ラテン文字は基本フォントから採られ、IPAグリフはIPAフォントから採られていますが、
\family sans
挿入\SpecialChar menuseparator
特殊文字\SpecialChar menuseparator
発音記号
\family default
で入れると、すべての文字にIPAフォントが使われます
\end_layout
\begin_layout Enumerate
文字のカーニングは保持されません。
\end_layout
\begin_layout Standard
したがって、単一のIPA文字を入れるだけでいいのでなければ、前者の方法が推奨されます。
それに、かなり直感的なIPA短絡表記は学んでおくに値します。
\end_layout
\begin_layout Section
さらなる情報
\end_layout
\begin_layout Standard
言語学者に特有の利用法について詳しくは、\SpecialChar LyX
wiki
\begin_inset CommandInset citation
LatexCommand cite
key "linguistlyx"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
のLinguist\SpecialChar LyX
ページをご参照ください(ご自身のコツもご自由に書き加えてください)。
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "covington"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
covingtonパッケージ
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.ctan.org/tex-archive/macros/latex/contrib/covington/
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "csquotes"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
csquotesパッケージ
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "enumitem"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
enumitemパッケージ
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.ctan.org/tex-archive/macros/latex/contrib/enumitem/
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "float"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
floatパッケージ
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.ctan.org/tex-archive/macros/latex/contrib/float/
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "linguistlyx"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
Maria Gouskova,
Stacia Hartleben and Jürgen Spitzmüller:
Using \SpecialChar LyX
for Linguistic Papers.
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
https://wiki.lyx.org/LyX/LinguistLyX
\end_layout
\end_inset
.
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "preview"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
preview-latexパッケージ
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.ctan.org/tex-archive/macros/latex/contrib/preview/
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "tipa"
2017-04-24 04:03:19 +00:00
literal "true"
\end_inset
tipaパッケージおよびフォント
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://www.ctan.org/tex-archive/fonts/tipa/
\end_layout
\end_inset
\end_layout
\end_body
\end_document