-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-すると、条件付き出力を得るのに
-\series bold
-
-\backslash
-question{
-\series default
-\SpecialChar \ldots{}
-
-\series bold
-}
-\series default
-と
-\series bold
-
-\backslash
-answer{
-\series default
-\SpecialChar \ldots{}
-
-\series bold
-}
-\series default
-を使用することができるようになります。以下の例では、
-\series bold
-
-\backslash
-question
-\series default
-部分のみが現れます。
-\begin_inset Formula
-\[
-x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}
-\]
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-Inside math, the same effect can be achieved using math macros, see the
-
-\emph on
-Math
-\emph default
- manual.
-\end_layout
-
-\begin_layout Section
-PDF特性
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:PDF特性"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-PDFとくせい@PDF特性
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-文書設定ダイアログは、PDF特性メニューのなかで、お使いの文書のPDF出力用の特別なオプションを指定できるようになっています。ここで指定されるオプションのすべて
-は、LaTeXパッケージの
-\series bold
-hyperref
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Latexぱっけーじ@LaTeXパッケージ ! hyperref
-\end_layout
-
-\end_inset
-
-を利用します。
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-hyperref
-\series default
-を使うと、DVI出力とPDF出力中で、すべての相互参照がリンクとして現れます。つまり、あなたの文書の読者は、目次や参照をクリックして、文書の参照されている部分へ
-と移動することができるのです。ダイアログタブにある
-\family sans
-ハイパーリンク
-\family default
-では、リンクの外観や参考文献の逆参照リンクを生成するかどうかを指定することができます。逆参照は、参考文献の各項目のうしろに、項目が引用された節やスライド、ページ
-を表示するものです。
-\end_layout
-
-\begin_layout Standard
-
-\family sans
-しおり
-\family default
-ダイアログタブでは、読者が文書内を動き回るのに便利なように、文書の各節のPDFしおりを設定するかどうかを指定することができます。しおりが、文書の節見出しと同様に
-番号を振るかどうかを指定することもできます。開くしおりの階層では、PDFを開いたときにどの節階層まで表示するかを指定することができます。例えば、階層を2にしたと
-きには、すべての節と小節が表示され、階層を1にすると節のみが表示されます。
-\end_layout
-
-\begin_layout Standard
-
-\family sans
-一般
-\family default
-ダイアログタブのヘッダ情報は、PDFにファイル特性としてともに保存されます。多くのプログラムでは、例えば著者が誰であり、PDFが何についてのものであるかなどを自
-動的に判別するのに、これらの情報を引き出すことができます。これは、PDFを文献整理目的で整序したり仕分けしたり使用したりするのに、ひじょうに便利です。
-\family sans
-自動的にヘッダを補完
-\family default
-オプションを有効にすると、LyXはヘッダ情報を、文書のタイトルと著者の設定から自動的に抽出しようと試みます。
-\end_layout
-
-\begin_layout Standard
-
-\family sans
-全画面モードで読み込む
-\family default
-オプションは、PDFを全画面モードで開きますので、プレゼンテーションに便利です。
-\end_layout
-
-\begin_layout Standard
-PDF特性は、この文書でも使用されています。この文書の文書設定を見ると、
-\series bold
-hyperref
-\series default
-の追加オプションが使われていることがわかるでしょう。これらの意味については、hyperrefの取扱説明書
-\begin_inset CommandInset citation
-LatexCommand cite
-key "hyperref"
-
-\end_inset
-
-をご参照ください。
-\end_layout
-
-\begin_layout Section
-TeXコードとLaTeX文法
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:TeXコード"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-TeXコード枠
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Texこーど@TeXコード
-\end_layout
-
-\end_inset
-
-
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:TeXコード枠"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-LyXはバックグラウンドでLaTeXを使用しているので、LaTeXコマンドおよび要素の多くをサポートしていますが、すべてではありません。LaTeXは、さまざまな
-コマンドを提供するパッケージを数百も含んでいます。つねに多くのパッケージが更新され、新しいものが追加されます。事実上すべての問題に対してLaTeXパッケージが存
-在するので、これにはほとんどすべてのことを植字できるという利点があります。しかし、もちろんLyXは、最新の状態に付いていっているわけではなく、すべてのパッケージ
-とそれらの全コマンドをサポートできるわけではありません。
-\end_layout
-
-\begin_layout Standard
-しかし心配は要りません。LyXではTeXコード枠の中で任意のLaTeXコマンドを使用することができるのです。TeXコード枠は、
-\family sans
-挿入\SpecialChar \menuseparator
-TeXコード
-\family default
-メニューかツールバーボタン
-\begin_inset Info
-type "icon"
-arg "ert-insert"
-\end_inset
-
-を使用して挿入することができます。枠は左クリックで開き、右クリックで閉じることができます。
-\end_layout
-
-\begin_layout Standard
-TeXコード枠には、完全なコマンドを挿入することもできますし、不完全なコマンドを入れることもできます。不完全というのは、通常のLyXの本文を引数として使うことが
-できるという意味です。例えば、単語の周りに枠を描きたいので、
-\series bold
-
-\backslash
-fbox
-\series default
-というLaTeXコマンドを使用するものとしましょう。コマンド部分
-\series bold
-
-\backslash
-fbox{
-\series default
-をTeXコード枠に書き、枠を書きたい単語のあとに、閉じ中括弧
-\series bold
-}
-\series default
-を二つめのTeXコード枠として書きます。二つのTeXコード枠の単語が、以下の例に示すように引数になっています。
-\end_layout
-
-\begin_layout Standard
-\begin_inset Graphics
- filename clipart/ERT.png
- scale 89
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-と書くと
-\end_layout
-
-\begin_layout Standard
-これは
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-fbox{
-\end_layout
-
-\end_inset
-
-枠付き
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
- }
-\end_layout
-
-\end_inset
-
-の単語を含む行です。
-\end_layout
-
-\begin_layout Standard
-となります。
-\end_layout
-
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-【註】
-\series default
-パラメタのないLaTeXコマンドの終わりでは、LaTeXがコマンドが終了したことを認識できるよう、スペースを挿入しなくてはなりません。
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-簡単なLaTeX文法入門
-\begin_inset Argument
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX文法
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Latexぶんぽう@LaTeX文法
-\end_layout
-
-\end_inset
-
-
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:LaTeX文法"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-比較的大きな文書や書籍を執筆するとき、LyXがバックグラウンドで使用するLaTeXコマンドを若干は知っておくことが必要になります。LaTeXはコマンドに基づいて
-いるため、あなたは文章を「プログラム」することができます。このことは、もしコマンドを正しく知っていれば、文書のレイアウトを毎回変えることができるという利点があり
-ます。例えば、あなたがある製品の取扱説明書を書いていて、その締切が今日中だったとしましょう。しかし上司は、あなたの仕事の出来を褒めてくれたけれども、すべてのキャ
-プションラベルを太字にしてくれと言うのです。取扱説明書には、太字になっていない図表のキャプションが何百もあります。もちろん、手動ですべてのキャプションラベルを一
-日で変えることは不可能です。
-\end_layout
-
-\begin_layout Standard
-そこでLaTeXが力を発揮します。上に述べたように、すべての問題に対してLaTeXパッケージが存在します。まずどれを使うか見つけなくてはならないので、LaTeX
-パッケージデータベース
-\begin_inset CommandInset citation
-LatexCommand cite
-key "Catalogue"
-
-\end_inset
-
-を使って探すことになるでしょう。
-\end_layout
-
-\begin_layout Standard
-その結果、
-\series bold
-caption
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Latexぱっけーじ@LaTeXパッケージ ! caption
-\end_layout
-
-\end_inset
-
-パッケージが必要とするものであることを知ります。パッケージを使用するには、文書プリアンブル(
-\family sans
-文書\SpecialChar \menuseparator
-設定
-\family default
-メニュー)で
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-usepackage[オプション]{パッケージ名}
-\end_layout
-
-\begin_layout Standard
-というコマンドを使用して、パッケージを読み込まなくてはなりません。
-\end_layout
-
-\begin_layout Standard
-LaTeXコマンドは、かならずバックスラッシュで始まり、コマンド引数を中括弧の中に入れ、オプションを大括弧の中に挿入することになっています。また、すべてのコマン
-ドが引数やオプションをとるわけではないことに注意してください。
-\end_layout
-
-\begin_layout Standard
-ここの例ではパッケージ名は
-\series bold
-caption
-\series default
-です。パッケージの取扱説明書を見たところ、
-\series bold
-labelfont=bf
-\series default
-というオプションを与えると、すべてのキャプションラベルをボールド体に変更できることがわかりましたので、
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-usepackage[labelfont=bf]{caption}
-\end_layout
-
-\begin_layout Standard
-というコマンドをプリアンブルに挿入したところ、問題は解決しました
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-captionパッケージが提供する他のコマンドについては、その取扱説明書
-\begin_inset CommandInset citation
-LatexCommand cite
-key "caption"
-
-\end_inset
-
-を参照してください。
-\end_layout
-
-\end_inset
-
-。
-\end_layout
-
-\begin_layout Standard
-この例のようなよく知られた問題については、文書クラスによっては、組込の解決策が用意されていることがあることに注意してください。例えば、
-\family sans
-KOMA-Script
-\family default
-クラスを使用すると、
-\series bold
-caption
-\series default
-パッケージは必要なく、代わりにプリアンブルに
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-setkomafont{captionlabel}{
-\backslash
-bfseries}
-\end_layout
-
-\begin_layout Standard
-と書けば問題は解決します。したがって、比較的大きな文書を執筆しようとしているときには、使用しようと考えている文書クラスの取扱説明書を見てみた方がいいでしょう(
-\series bold
-
-\backslash
-setkomafont
-\series default
-はひとつ以上の引数をとるコマンドの一例です)。
-\end_layout
-
-\begin_layout Standard
-本文中に置かれたコマンドがコマンド以降の本文のみ、あるいはコマンド引数にとられた文のみに影響を与えるのに対し、プリアンブル内に置かれたコマンドは、文書全体に影響
-します。本文中にLaTeXコマンドを挿入するには、前節で述べたようにTeXコード枠を使用してください。
-\end_layout
-
-\begin_layout Standard
-LaTeXとその文法について、さらに詳細を知りたい場合には、LaTeX関連書籍
-\begin_inset CommandInset citation
-LatexCommand cite
-key "latexcompanion,latexguide"
-
-\end_inset
-
-を参照してください。
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage cleardoublepage
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-pagestyle{fancy}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-switches temporarily to a page style with custom header and footer line
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Left Header
-\begin_inset Argument
-status open
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-rightmark
-\end_layout
-
-\end_inset
-
-
-\begin_inset Note Note
-status open
-
-\begin_layout Plain Layout
-
-\lang english
-defines the header line as described below
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Center Header
-\begin_inset Argument
-status open
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Right Header
-\begin_inset Argument
-status open
-
-\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-leftmark
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Left Footer
-\begin_inset Argument
-status open
-
-\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-thepage
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Center Footer
-
-\lang english
-\begin_inset Argument
-status open
-
-\begin_layout Plain Layout
-
-\family sans
-\series bold
-\color red
-\lang english
-LyX's user guide
-\end_layout
-
-\end_inset
-
-Magic code
-\lang japanese
-:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
-\end_inset
-
-
-\end_layout
-
-\begin_layout Right Footer
-\begin_inset Argument
-status open
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-Roman{page}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Section
-
-\lang english
-Customized Page Headers and Footers
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Customized-Page-Headers"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-Document ! Header/Footer line
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-Header/Footer line
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-To define custom page header and footer line for your document, you need
- to set the headings style to
-\family sans
-Fancy
-\family default
- in the
-\family sans
-Document\SpecialChar \menuseparator
-Settings
-\family default
- dialog under
-\family sans
-Page
-\begin_inset space ~
-\end_inset
-
-Layout
-\family default
-.
- As second step add in the menu
-\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
-Modules
-\family default
- the module
-\begin_inset Quotes eld
-\end_inset
-
-Custom Header/Footerlines
-\begin_inset Quotes erd
-\end_inset
-
-.
- This module offers the 6
-\begin_inset space ~
-\end_inset
-
-styles
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Left
-\begin_inset space ~
-\end_inset
-
-Header,
-\begin_inset space ~
-\end_inset
-
-Center
-\begin_inset space ~
-\end_inset
-
-Header,
-\begin_inset space ~
-\end_inset
-
-Right
-\begin_inset space ~
-\end_inset
-
-Header
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Left
-\begin_inset space ~
-\end_inset
-
-Footer,
-\begin_inset space ~
-\end_inset
-
-Center
-\begin_inset space ~
-\end_inset
-
-Footer,
-\begin_inset space ~
-\end_inset
-
-Right
-\begin_inset space ~
-\end_inset
-
-Footer
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-for the different positions in the header/footer.
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-Normally, headers and footers are set up in the beginning of the document.
- but you can change them anywhere you want to.
- Figure
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "fig:Page-layout"
-
-\end_inset
-
- shows the page layout and where the header/footer styles will appear.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float figure
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\noindent
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="5" columns="3">
-<features tabularvalignment="middle">
-<column alignment="left" valignment="top" width="30line%">
-<column alignment="center" valignment="top" width="30line%">
-<column alignment="right" valignment="top" width="30line%">
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Left Header
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Center Header
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Right Header
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="right" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
-\begin_inset Text
-
-\begin_layout Plain Layout
-The normal text on the page goes here.
- The running header is above thel text, and the footer is below (including
- footnotes).
- Headers/footers typically contain things like the page number, title of
- the chapter, company logo but your can use almost anything, except of floats.
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="right" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Left Footer
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Center Footer
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Right Footer
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "fig:Page-layout"
-
-\end_inset
-
-Page layout with custom header and footer line.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-
-\lang english
-Definition
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-To define your header line, add all 3
-\begin_inset space ~
-\end_inset
-
-header styles.
- The things you add to the styles appear on uneven pages, the things in
- the optional arguments on even pages.
- For single-sided documents, the optional arguments will not be used and
- can be omitted.
- If you leave a style or its argument empty, nothing appears in the output.
- Defining the footer line works similar.
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-For the definition, you will need some LaTeX-commands that are inserted
- as TeX-code (menu
-\family sans
-Insert\SpecialChar \menuseparator
-Te
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-X
-\begin_inset space ~
-\end_inset
-
-Code
-\family default
-):
-\end_layout
-
-\begin_layout Description
-
-\lang english
-
-\backslash
-thepage prints the current page number
-\end_layout
-
-\begin_layout Description
-
-\lang english
-
-\backslash
-Roman{page} prints the current page number with capital roman numerals
-\end_layout
-
-\begin_layout Description
-
-\lang english
-
-\backslash
-roman{page} prints the current page number with small roman numerals
-\end_layout
-
-\begin_layout Description
-
-\lang english
-
-\backslash
-leftmark prints the current section number and title.
- If the document has chapters, it prints the current chapter number and
- title instead.
- It is called
-\begin_inset Quotes eld
-\end_inset
-
-leftmark
-\begin_inset Quotes prd
-\end_inset
-
- because it usually goes in a left header.
-\end_layout
-
-\begin_layout Description
-
-\lang english
-
-\backslash
-rightmark prints the current subsection number and title.
- If the document has chapters, it prints the current section number and
- title instead.
- It is normally used in the right header.
-\end_layout
-
-\begin_layout Subsection
-
-\lang english
-Default header/footer
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-Custom header/footer is not empty by default.
- The default header contains the chapter and section title and the center
- footer has the page number.
- In order to remove unwanted entries from the header/footer, include the
- relevant header/footer style in your document, but leave it blank.
- So, if you do not want a page number in the footer, include a blank
-\family sans
-Center
-\begin_inset space ~
-\end_inset
-
-Footer
-\family default
- style.
-\end_layout
-
-\begin_layout Subsection
-
-\lang english
-Appearance
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-The header and footer will appear on normal pages.
- Some pages are different.
- The title page has a style of its own, and so has any page that starts
- a new part or chapter in your book.
- Such pages will not have the custom headers/footers, but that is normal.
- There is for example no need to print a header with the chapter name on
- the chapter page where the chapter heading is in big bold letters anyway.
-\end_layout
-
-\begin_layout Subsubsection
-
-\lang english
-Header and footer decoration line
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-By default, you get a 0.4
-\begin_inset space \thinspace{}
-\end_inset
-
-pt thick line below the header and no footer line.
- This can be changed in the document preamble with the commands
-\series bold
-
-\backslash
-headrulewidth
-\series default
- and
-\series bold
-
-\backslash
-footrulewidth
-\series default
- in the following scheme:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-\lang english
-
-\backslash
-renewcommand{
-\backslash
-headrulewidth}{thickness}
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-Where thickness is a size in standard units like
-\family sans
-pt
-\family default
- or
-\family sans
-mm
-\family default
-.
- If you don't want a line, set the thickness to 0
-\begin_inset space \thinspace{}
-\end_inset
-
-pt.
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-The lines can also be colored, but this requires more knowledge of LaTeX.
- If you really need this, have a look in the Internet or in sec.
-\begin_inset space ~
-\end_inset
-
-4.4 of the book
-\lang japanese
-
-\begin_inset CommandInset citation
-LatexCommand cite
-key "Mittelbach"
-
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Subsubsection
-
-\lang english
-Several header/footer lines
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-In case that you need more than one text line as a header/footer, you can
- do this by adding a normal line break in the style definition.
- However, the default height of the header/footer is only the one of one
- text line.
- To expand the height, redefine the LaTeX length
-\series bold
-
-\backslash
-headheight
-\series default
- or
-\series bold
-
-\backslash
-footheight
-\series default
- in this scheme in your document preamble:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-\lang english
-
-\backslash
-setlength{
-\backslash
-headheight}{height}
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-Where height is a size in standard units.
- If you don't know which amount of space is needed for the height, define
- your header/footer and preview your document as PDF.
- Then open the LaTeX logfile via the menu
-\family sans
-Document\SpecialChar \menuseparator
-La
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-TeX Log
-\family default
- and look via the button
-\family sans
-Next
-\begin_inset space ~
-\end_inset
-
-Warning
-\family default
- if you find a warning of the package
-\lang japanese
-
-\series bold
-fancyhdr
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Latexぱっけーじ@LaTeXパッケージ ! fancyhdr
-\end_layout
-
-\end_inset
-
-.
-
-\lang english
-If there is such a warning, it contains the space that you need at least
- for your header/footer.
-\end_layout
-
-\begin_layout Subsection
-
-\lang english
-This example
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-This example demonstrates what can be done with custom header/footers.
- Don't use it for yor document as it is just an example.
- This example consists of the following definition:
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Left
-\begin_inset space ~
-\end_inset
-
-Header
-\series bold
-
-\backslash
-rightmark
-\series default
-, empty optional argument
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Center
-\begin_inset space ~
-\end_inset
-
-Header empty, empty optional argument
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Right
-\begin_inset space ~
-\end_inset
-
-Header empty,
-\series bold
-
-\backslash
-leftmark
-\series default
- in the optional argument
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Left
-\begin_inset space ~
-\end_inset
-
-Footer empty,
-\series bold
-
-\backslash
-thepage
-\series default
- in the optional argument
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Center
-\begin_inset space ~
-\end_inset
-
-Footer
-\family sans
-\series bold
-\color red
-LyX's user guide
-\family default
-\series default
-\color inherit
-,
-\begin_inset Quotes eld
-\end_inset
-
-Magic code:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
-\end_inset
-
-
-\begin_inset Quotes erd
-\end_inset
-
- in the optional argument
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Right
-\begin_inset space ~
-\end_inset
-
-Footer
-\series bold
-
-\backslash
-Roman{page}
-\series default
-, empty optional argument
-\end_layout
-
-\begin_layout Description
-
-\lang english
-
-\backslash
-headrulewidth set to 2
-\begin_inset space \thinspace{}
-\end_inset
-
-pt
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-In principle you can use almost everything in headers/footers, except of
- floats.
- For more special things like e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space ~
-\end_inset
-
-thumb-indexes, see the manual of the
-\series bold
-fancyhdr
-\series default
- package
-\lang japanese
-,
-\begin_inset CommandInset citation
-LatexCommand cite
-key "fancyhdr"
-
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage clearpage
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-pagestyle{headings}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-switches back to page style with the default headings
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Section
-文書の断片プレビュー
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:文書の断片プレビュー"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-どうじぷれびゅー@同時プレビュー
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-ぶんしょ@文書!ぷれびゅー@プレビュー
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-LyXでは、作業をしながら文書の各節のプレビューを生成することが可能なので、
-\family sans
-表示\SpecialChar \menuseparator
-DVI
-\family default
-を使うことによって一連の思考を中断することなく、完成文書がどのように見えるかを確認することができます。
-\end_layout
-
-\begin_layout Standard
-例えば、LaTeXが植字する数式をLyX内で見たいとすれば、以下に説明するように
-\series bold
-preview-latex
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeXぱっけーじ@LaTeXパッケージ ! preview-latex
-\end_layout
-
-\end_inset
-
-というLaTeXパッケージを導入し、
-\family sans
-ツール\SpecialChar \menuseparator
-設定
-\family default
-ダイアログの
-\family sans
-操作性\SpecialChar \menuseparator
-表示
-\family default
-の下にある
-\family sans
-自動プレビュー
-\family default
-を有効にします。
-\family sans
-プレビューの大きさ
-\family default
-は、大きさの倍率因子です。
-\end_layout
-
-\begin_layout Standard
-すると、LyXに文書を読み込んだり挿入枠を編集し終わったりすると、プレビューが生成されるようになります。すでに読み込まれた文書のプレビューは、
-\family sans
-自動プレビュー
-\family default
-を有効にするだけでは生成され
-\emph on
-ない
-\emph default
-ので、プレビューを有効にするには、文書を開き直さなくてはなりません。
-\end_layout
-
-\begin_layout Standard
-LyXは、数式挿入枠のプレビューを生成します。また、インクルード挿入枠も、挿入ダイアログの
-\family sans
-プレビューを表示
-\family default
-チェックボックスを有効にしておくと、プレビューを表示します。これは、例えば、LaTeX図のプレビューを生成したいときに便利です。
-\end_layout
-
-\begin_layout Standard
-プレビューが動作するためには、
-\series bold
-preview-latex
-\series default
-(システムによっては単に
-\series bold
-preview
-\series default
-と命名されています)というLaTeXパッケージが導入されていることが必要です。もしこれがすでに導入されていなければ、TeX Catalogue
-
-\begin_inset CommandInset citation
-LatexCommand cite
-key "TeXCatalogue"
-
-\end_inset
-
-か、使用中のLaTeXのパッケージマネージャで見つけることができます。
-\family typewriter
-netpbm
-\family default
-パッケージから
-\family typewriter
-pnmcrop
-\family default
-プログラムを導入すれば、さらに美しい出力を得ることができます。Windows版LyXでは、このプログラムはLyXとともに自動的に導入されています。
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-さらに、文書全体あるいは一部のLaTeXソースをプレビューすることもできます。
-\family sans
-表示\SpecialChar \menuseparator
-ソースを閲覧
-\family default
-メニューを使用すると、ウィンドウが開いてLaTeXコードを見ることができるようになります。このウィンドウには、現在カーソルがある段落全体のソースを表示します。L
-yXのメインウィンドウで文書の一部を選択すれば、(1段落以上を選択しているときには)選択部分のみがソースコードとして表示されます。文書全体をソースとして閲覧した
-いときには、ソース閲覧ウィンドウにある、そのオプションを有効にしてください。
-\end_layout
-
-\begin_layout Section
-詳細な検索と置換
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:詳細な検索と置換"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-ちかん@置換
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-けんさく@検索
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-はじめに
-\end_layout
-
-\begin_layout Standard
-LyXの詳細検索・置換機能を使用すれば、LyX中の複雑で書式を含んだ文章の断片や、数式の内容を検索することができるようになります。これは、標準(簡易)の検索・置
-換機能の機能向上と位置づけられます。主な機能は、以下のとおりです。
-\end_layout
-
-\begin_layout Itemize
-平文検索と数式検索の両方が可能ですが、後者の場合には、LyXユーザーが通常行っている方法で数式を入力することによって為されます。数式全体を検出できるだけでなく、
-複雑な数式の一部分を検出することも可能です。
-\end_layout
-
-\begin_layout Itemize
-検索を書式非感応にして、検索文字列を任意の文脈・様式上(標準的本文・節見出し・注釈のほか数式も)で検出することもできますし、書式感応的にして、たとえば節見出しに
-入力された単語のみを検出することもできます。
-\end_layout
-
-\begin_layout Itemize
-検索は、対象を指定した
-\emph on
-範囲
-\emph default
-に広げることができ、編集中の文書の子文書すべてや、開かれている全ファイル、
-\family sans
-\noun on
-ヘルプ
-\family default
-\noun default
-メニューから開くことのできる全説明書などを指定することができます。
-\end_layout
-
-\begin_layout Itemize
-置換は、大文字・小文字関係を保持することができます。すなわち、置換文字列の大文字・小文字が、検索に一致した文字列の大文字・小文字に合うように、調整することができ
-ます(つまり、すべて小文字か、すべて大文字か、最初の文字だけ大文字で後は小文字か、など)。
-\end_layout
-
-\begin_layout Subsection
-基本的な使用法
-\end_layout
-
-\begin_layout Standard
-LyXの詳細検索・置換機能は、
-\family sans
-編集\SpecialChar \menuseparator
-検索・置換(詳細)
-\family default
-メニュー(短絡キー
-\begin_inset Info
-type "shortcut"
-arg "dialog-show findreplaceadv"
-\end_inset
-
-)またはツールバーボタン
-\begin_inset Info
-type "icon"
-arg "dialog-toggle findreplaceadv"
-\end_inset
-
-で起動することができます。すると、詳細な検索および置換ダイアログが現れます。
-\end_layout
-
-\begin_layout Subsubsection
-文字列の検索
-\end_layout
-
-\begin_layout Standard
-
-\family sans
-検索対象
-\family default
-欄のLyXミニエディタに簡単な単語を入力し、その下の
-\family sans
-次候補
-\family default
-ボタンをクリックして(あるいは単に
-\family sans
-リターン
-\family default
-キーを押して)その単語を検索してください。入力された単語は、平文モードと数式モードの両方で検出されるだけでなく、強調体・ボールド体・標準体のすべてと、節見出しと
-本文の両方で検出されます。
-\family sans
-リターン
-\family default
-を繰り返し押すと前方検索をし続けます。同様に、
-\family sans
-シフト
-\family default
-+
-\family sans
-リターン
-\family default
-を押すと後方検索を行います。
-\end_layout
-
-\begin_layout Standard
-
-\family sans
-大文字/小文字を区別
-\family default
-オプションは、検出中に、検索エディタに入力したのと同じ大小文字を持つものにだけ一致するようにします。
-\family sans
-単語全体
-\family default
-オプションを指定すると、単語の切れ目ごとにのみ一致します。
-\end_layout
-
-\begin_layout Subsubsection
-数式の検索
-\end_layout
-
-\begin_layout Standard
-\begin_inset Formula $x^{2}$
-\end_inset
-
-であれ、より複雑な
-\begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
-\end_inset
-
-であれ、数式は、
-\family sans
-検索
-\family default
-エディタ中に数式を入力することによって検索することができます。数式検索中には、単独の数式も検出されますし、数式の一部や、その一部が入れ子になっている部分にも一致
-します。例えば、前出の各式は
-\begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}$
-\end_inset
-
-のような式の一部にも一致します。
-\end_layout
-
-\begin_layout Subsubsection
-様式感知検索
-\end_layout
-
-\begin_layout Standard
-また、特定の様式を持った文章を検索することも可能です。そのためには、ダイアログ中の
-\family sans
-設定
-\family default
-タブを表示させて
-\family sans
-様式を無視
-\family default
-オプションを無効にした上で、
-\family sans
-検索
-\family default
-エディタに入力を行います。すると、
-\end_layout
-
-\begin_layout Itemize
-通常の単語を入力して検索を行うと、強調体やボールド体の単語は検出しません。
-\end_layout
-
-\begin_layout Itemize
-強調体またはボールド体の単語を入力して検索を行うと、同じフェイスかつ同じ文字様式を持つ単語にのみ一致します。ただし、例えば強調文字は、単独で検出されるだけでなく
-、より長い強調文に含まれる部分にも一致することに注意してください。
-\end_layout
-
-\begin_layout Itemize
-節見出しに通常の単語を入力し、検出を行うと、節見出しに含まれる同じ単語にのみ一致します。また、節様式に加えて強調体やボールド体が検索文字に指定されると、これらと
-同じ様式を持つ部分のみが検出されます。
-\end_layout
-
-\begin_layout Itemize
-別行立て数式中の数式の一部には、別行立て数式中のものにのみ一致し、行中数式には一致しないものがあります。
-\end_layout
-
-\begin_layout Subsubsection
-置換
-\end_layout
-
-\begin_layout Standard
-
-\family sans
-検索
-\family default
-エディタに入力した文字列に一致する字句は、
-\family sans
-置換
-\family default
-エディタに入力した字句で置き換えることができます。次候補を見つけて置換するには、、
-\family sans
-置換
-\family default
-ボタンをクリックするか、
-\family sans
-置換
-\family default
-エディタの中で
-\family sans
-リターン
-\family default
-を押すか
-\family sans
-シフト+リターン
-\family default
-を押してください。
-\end_layout
-
-\begin_layout Standard
-文書中の一致する字句の場所に、LyXのあらゆる書式を用いた字句を置き換えることができます。この能力を用いた典型例は以下のとおりです。
-\end_layout
-
-\begin_layout Itemize
-ある単語を、特定の書式を持った同じ単語に置換します。例えば、「func()」という単語を、タイプライタ体の「
-\family typewriter
-func()
-\family default
-」に置換します。
-\end_layout
-
-\begin_layout Itemize
-数式記号の表記法の書き変えを行います。例えば、「
-\begin_inset Formula $R$
-\end_inset
-
-」をすべて「
-\begin_inset Formula $\mathbb{R}$
-\end_inset
-
-」にしたり(標準文の中に現れる「R」がすべて置き換えられてしまうのを防ぐために、
-\family sans
-単語全体
-\family default
-と
-\family sans
-大文字/小文字を区別
-\family default
-オプションを有効にして、
-\family sans
-設定
-\family default
-タブで
-\family sans
-書式を無視
-\family default
-オプションを無効にするとよいでしょう)、
-\begin_inset Formula $x_{j}^{i}$
-\end_inset
-
-を
-\begin_inset Formula $x_{i,j}$
-\end_inset
-
-に、
-\begin_inset Formula $x[k]$
-\end_inset
-
-を
-\begin_inset Formula $x_{k}$
-\end_inset
-
-に変更したりします。
-\end_layout
-
-\begin_layout Subsection
-進んだ使い方
-\end_layout
-
-\begin_layout Standard
-正規表現(regexp)に基づいた検索機構が備わっています
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-正規表現のよい説明がWikipediaの以下の項目にあります。
-\begin_inset CommandInset href
-LatexCommand href
-target "http://en.wikipedia.org/wiki/Regular_expression"
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-。
-\family sans
-検索
-\family default
-エディタにregexp差込枠を挿入することで、正規表現検索を行うことができます。これは、カーソルが
-\family sans
-検索
-\family default
-エディタ中にある時に
-\family sans
-挿入\SpecialChar \menuseparator
-正規表現を挿入
-\family default
-メニューを選択することで実行できます。regexp差込枠に入力した文字列は、正規表現一致規則にしたがって一致し
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-ただし、表現は、整ったLyX中の語句に一致しなくてはならないという制約があります。つまり、LaTeXコードに一致するときに、{}の片側だけが含まれるような部分は
-、一致させる表現に含まれてはなりません。
-\end_layout
-
-\end_inset
-
-、regexp差込枠外の文字列は、文書中のまったく同一の文字列に対して一致します。regexp差込枠は、通常どおりカットアンドペーストできることに注意してくださ
-い。この機能を使った例としては、以下のようなものがあります。
-\end_layout
-
-\begin_layout Enumerate
-決まった分母を持つ全ての分数を検索する。例えば、
-\family sans
-検索
-\family default
-エディタに分数
-\begin_inset Formula $\frac{.*}{1+x^{2}}$
-\end_inset
-
-を入力すると(分子の
-\begin_inset Formula $.*$
-\end_inset
-
-は全てに一致するという正規表現です)、この分母を持つ全ての分数が検出されます。
-\end_layout
-
-\begin_layout Enumerate
-決まった様式を持つ全ての文章を検索する。例えば、
-\family sans
-設定
-\family default
-タブの
-\family sans
-書式を無視
-\family default
-オプションを無効にして、正規表現
-\begin_inset Formula $.*$
-\end_inset
-
-を入力し、それに強調体やボールド体を設定すると、全ての強調体やボールド体に一致します。また、記号付きないし連番箇条書きや節見出しに正規表現
-\begin_inset Formula $.*$
-\end_inset
-
-を入力すると、全ての記号付きないし連番箇条書きや節見出しに一致します。
-\end_layout
-
-\begin_layout Standard
-最後に、regexp中の表現への参照は、通常どおり行うことができます。つまり、表現の一部を丸括弧()で囲むと、これは
-\begin_inset Formula $\backslash1$
-\end_inset
-
-や
-\begin_inset Formula $\backslash2$
-\end_inset
-
-で参照することができます(regexpモードでの
-\begin_inset Formula $\backslash$
-\end_inset
-
-記号は、バックスラッシュ鍵を2回押すことで入力することができます)。たとえば、
-\begin_inset Formula $([a-z]+)[[:blank:]]\backslash1$
-\end_inset
-
-という表現は、単語の繰り返しがあればそれに一致します。
-\end_layout
-
-\begin_layout Standard
-後方参照は、同じregexp内で使われるときでも、異なる複数のregexp内で使われるときでも機能することに注意してください。後者の場合、後方参照表現は絶対表現
-あり、例えば
-\begin_inset Formula $\backslash1$
-\end_inset
-
-は、つねに入力されている全てのregexpのうち、最初の部分に一致します。
-\end_layout
-
-\begin_layout Standard
-置換文字列での後方参照は、(まだ)実装されていないことに注意してください。
-\end_layout
-
-\begin_layout Section
-スペルチェック
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:スペルチェック"
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-すぺるちぇっく@スペルチェック
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-LyX自身は、組込のスペルチェッカーを持っていません。
-\family sans
-ツール
-\family default
-\SpecialChar \menuseparator
-
-\family sans
-スペルチェック
-\family default
-\lang english
-, the key
-\family sans
-F7
-\family default
-\lang japanese
- メニューかツールバーボタン
-\begin_inset Info
-type "icon"
-arg "dialog-show spellchecker"
-\end_inset
-
-を使用すると、現在のカーソル位置からスペルチェックが始まります。
-\lang english
-A sidebar will appear showing any incorrect (or unknown) word found, allowing
- you to edit and replace it in a second line.
- Whenever an unknown word is found, the word is highlighted and the text
- scrolled so that it is visible.
- In the spellchecker sidebar, there is a box showing suggestions for a correctio
-n, if any could be found.
- Clicking on one of the corrections will copy to the
-\family sans
-Replacement
-\family default
- field, double-click invokes directly the replacement.
- Unknown but correctly typed words can be added to the personal dictionary.
-\end_layout
-
-\begin_layout Standard
-既定では、使用される辞書ファイルは、
-\family sans
-文書\SpecialChar \menuseparator
-設定
-\family default
-ダイアログで設定される文書言語によって決定されます。文書言語用の辞書を持っていない場合には、スペルチェックを実行しようとするとエラーメッセージが表示されます。
-\lang english
-You can specify the language of a word in the spellchecker dialog by choosing
- a different one at the top of the dialog.
- LyX can correctly spell check documents containing multiple languages.
- This work if you have marked the different languages appropriately and
- have the spell checker dictionaries installed.
- LyX automatically switches to the appropriate dictionary file.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-(訳註)
-\series default
-通常、日本語用のスペルチェック用辞書はないので、日本語はこの場合に該当します。例えば、スペルチェッカーが
-\family sans
-aspell
-\family default
-のときに
-\family sans
-代替言語
-\family default
-を「
-\family sans
-en
-\family default
-」にしておくと、文書言語が日本語でも英語版の
-\family sans
-aspell
-\family default
-を実行することはできます(ただし、
-\family sans
-aspell (library)
-\family default
-では代替言語は使えません)。しかしながら、単語の区切りは空白で判断されるため、この方法では、英単語と周りの日本語のあいだに空白がないと、英単語が正しく検出されま
-せん。
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-
-\lang english
-Further Settings
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-In LyX's preferences dialog under
-\family sans
-Language
-\begin_inset space ~
-\end_inset
-
-Setting\SpecialChar \menuseparator
-Spellchecker
-\family default
- you can set the following things:
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Spellchecker
-\begin_inset space ~
-\end_inset
-
-engine Select the library LyX should use for spell checking.
- Depending on your platform,
-\family typewriter
-aspell
-\family default
-,
-\family typewriter
-hunspell
-\family default
- or
-\family typewriter
-enchant
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-Enchant itself is a wrapper library having different configurable back-ends.
- Please consult the documentation or man-page of it to learn more.
-\end_layout
-
-\end_inset
-
-
-\family default
- are available.
- On Windows only
-\family typewriter
-hunspell
-\family default
- is available.
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Alternative
-\begin_inset space ~
-\end_inset
-
-language If this field is not empty, LyX will always use the given language
- for the spell checking, no matter what the document language is.
-\end_layout
-
-\begin_layout Description
-エスケープ文字
-\lang english
-Allows you to add non-standard characters that the spell checker should
- escape, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-German umlauts.
- This should normally not be needed.
-\end_layout
-
-\begin_layout Description
-複合単語を受け入れる スペルチェッカーが「passthrough」のような複合単語を綴り間違いと判断しないようにします。
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Spellcheck
-\begin_inset space ~
-\end_inset
-
-continously Check the spelling of your document as you type it.
- Misspelled words gets underlined with a dotted red line.
- By right-clicking on an underlined word, the suggestions by the spell appear
- in the context menu.
- Choosing one of them will replace the misspelled word with the suggested
- word.
-\end_layout
-
-\begin_layout Description
-
-\lang english
-Spellcheck
-\begin_inset space ~
-\end_inset
-
-notes
-\begin_inset space ~
-\end_inset
-
-and
-\begin_inset space ~
-\end_inset
-
-comments If enabled, the spelling of non-printed document contents is checked
- as well.
-\end_layout
-
-\begin_layout Section
-類語辞典
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-るいごじてん@類語辞典
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Thesaurus|see
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-類語辞典
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
- }
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:類語辞典"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-LyXは、多国語の類語辞典を提供し、OpenOfficeやFirefoxと同じ類語辞典フレームワークを使用しています(つまり、
-\family typewriter
-MyThes
-\family default
-
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-\begin_inset CommandInset href
-LatexCommand href
-target "http://lingucomponent.openoffice.org/thesaurus.html"
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-類語辞典ライブラリをLyXの一部として使用しています)。よって、LyXは、多言語で利用可能なOpenOfficeの類語辞典に直接アクセスすることができます。
-\end_layout
-
-\begin_layout Standard
-本節では、新しい辞書の導入の仕方と、それをLyXで利用する方法を解説します。
-\end_layout
-
-\begin_layout Subsection
-類語辞典の準備
-\end_layout
-
-\begin_layout Standard
-
-\family typewriter
-MyThes
-\family default
-/OpenOffice類語辞典は、1言語あたり2つのファイルから成り、1つはデータを含む拡張子
-\emph on
-*.dat
-\emph default
-のファイルと拡張子
-\emph on
-*.idx
-\emph default
-のインデックスファイルです。ファイル名は、特定の言語の言語コード(例えば、英語の場合はen_EN)を含むように標準化されています。例えば、英語ファイルは
-\end_layout
-
-\begin_layout Itemize
-th_en_EN_v2.idx
-\end_layout
-
-\begin_layout Itemize
-th_en_EN-v2.dat
-\end_layout
-
-\begin_layout Standard
-と命名されています。OpenOfficeをお持ちで類語辞典も導入されている場合には、これらのファイルはお使いのシステム上にあるはずです。もしなければ、サイト
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://www.lyx.org/trac/browser/dictionaries/trunk/thes
-\end_layout
-
-\end_inset
-
-か
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://extensions.services.openoffice.org/en/search/node/thesaurus
-\end_layout
-
-\end_inset
-
-から辞書を入手することができます。
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-OpenOffice
-\begin_inset space ~
-\end_inset
-
-3.0現在では、
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://extensions.services.openoffice.org
-\end_layout
-
-\end_inset
-
-にあるファイルは、類語辞典のほかにスペルチェック用の辞書など他のファイルも含んだ、拡張アーカイブ(
-\emph on
-*.oxt
-\emph default
-)になっていることにご注意ください。
-\end_layout
-
-\end_inset
-
-使用したい全ての言語の*.idxファイルと*.datファイルを同一のディレクトリ(サブディレクトリは使用しないでください)に入れ、この辞書のパスを
-\family sans
-ツール\SpecialChar \menuseparator
-設定\SpecialChar \menuseparator
-パス
-\family default
-で指定してください。これで類語時点が使えるはずです。
-\end_layout
-
-\begin_layout Subsection
-類語辞書を使う
-\end_layout
-
-\begin_layout Standard
-類語辞典を使うには、単語を選択するか、単語の直後にカーソルを置いて、
-\family sans
-ツール\SpecialChar \menuseparator
-類語辞典
-\family default
-メニューかツールバーボタン
-\begin_inset Info
-type "icon"
-arg "thesaurus-entry"
-\end_inset
-
-を使うと、ダイアログが現れて、関連しているとみなされる単語が表示されるので、単語の置換に使用することができます。提案語はカテゴリごとに分類されています。類語辞典
-は、同義語を表示するだけでなく、包摂語や被包摂語(
-\emph on
-tree
-\emph default
-に対する
-\emph on
-plant
-\emph default
-など)、複合語(
-\emph on
-tree diagram
-\emph default
-など)、反対語(
-\emph on
-men
-\emph default
-に対する
-\emph on
-women
-\emph default
-など)も分類とともに表示されます。
-\end_layout
-
-\begin_layout Standard
-言語はカーソル位置の言語によって自動的に選択されますが、ダイアログ中で切り替えることもできます。ダイアログ中ではまた、直接検索する単語を新しく入れることもできま
-す。
-\end_layout
-
-\begin_layout Standard
-類語辞典は、フレーズを取り扱うことはできず(前出のtree diagramのように辞書にある複合語しか取り扱えません)、いわゆる見出し語形、すなわち辞書に現れる
-形を使用しなくてはなりません(名詞については一人称単数直説法能動態、動詞については不定詞)。例えば、
-\emph on
-reports
-\emph default
-や
-\emph on
-reporting
-\emph default
-のような単語形を引いても結果は得られませんが、
-\emph on
-report
-\emph default
-では結果が表示されます。もっともよい方法は、単語の見出し語部分のみを選択すれば(例えば
-\emph on
-reports
-\emph default
-のうち
-\emph on
-report
-\emph default
-)、ダイアログの検索文字列を調整することなしに提案を得ることができ、おそらく置換も正しく動作するでしょう(選択部分のみが置換されるので残りの部分は元のままです)
-。
-\end_layout
-
-\begin_layout Section
-変更追跡機能
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-へんこうついせききのう@変更追跡機能
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-ぶんしょ@文書!へんこうついせききのう@変更追跡機能
-\end_layout
-
-\end_inset
-
-
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:変更追跡機能"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-ひとつの文書を共同して作成するときには、他の人々が文書に加えた変更が強調表示され、変更を受け入れるかどうか決めることができると、この上なく便利です。この機能は、
-\family sans
-文書\SpecialChar \menuseparator
-変更追跡機能\SpecialChar \menuseparator
-変更を追跡
-\family default
-メニューで変更追跡を有効にすることによって利用することができるようになります。
-\end_layout
-
-\begin_layout Standard
-すると文書に加えられた変更点は、下線とカラーで強調されるようになり、追加部分は
-\bar under
-\color blue
-下線付き文章
-\bar default
-\color inherit
-、削除部分は
-\strikeout on
-\color blue
-取り消し文章
-\strikeout default
-\color inherit
-のように表示されるようになります。色は、変更した執筆者によって異なります。色は、LyX設定ダイアログの
-\family sans
-操作性・色
-\family default
-面で変更できます
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-いろ@色 ! へんこうついせき@変更追跡
-\end_layout
-
-\end_inset
-
-。執筆者と変更の日時は、カーソルを変更箇所にあわせると、LyXのステータスバーに表示されます。ツールバーボタン
-\begin_inset Info
-type "icon"
-arg "changes-merge"
-\end_inset
-
-を押したときも同じ情報が表示されます。
-\end_layout
-
-\begin_layout Standard
-変更追跡が有効にされると、以下のような校閲ツールバーがLyXに表示されるようになります。
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-つーるばー@ツールバー ! こうえつ@校閲
-\end_layout
-
-\end_inset
-
-
-\begin_inset VSpace defskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset Graphics
- filename ../clipart/ChangesToolbar.png
-
-\end_inset
-
-
-\begin_inset VSpace defskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-上の校閲ツールバーは、左から右へ順に以下のボタンを含んでいます。
-\begin_inset VSpace defskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset Tabular
-<lyxtabular version="3" rows="10" columns="2">
-<features islongtable="true" longtabularalignment="center">
-<column alignment="left" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0pt">
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "changes-track"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-文書\SpecialChar \menuseparator
-変更追跡機能\SpecialChar \menuseparator
-変更を追跡
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "changes-output"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-文書\SpecialChar \menuseparator
-変更追跡機能\SpecialChar \menuseparator
-出力に変更を表示
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "change-next"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-次の変更へ移動
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "change-accept"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-文書\SpecialChar \menuseparator
-変更追跡機能\SpecialChar \menuseparator
-変更を承認
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "change-reject"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-文書\SpecialChar \menuseparator
-変更追跡機能\SpecialChar \menuseparator
-変更を却下
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "changes-merge"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-文書\SpecialChar \menuseparator
-変更追跡機能\SpecialChar \menuseparator
-変更を統合
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "all-changes-accept"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-文書\SpecialChar \menuseparator
-変更追跡機能\SpecialChar \menuseparator
-全変更を承認
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "all-changes-reject"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-文書\SpecialChar \menuseparator
-変更追跡機能\SpecialChar \menuseparator
-全変更を却下
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "note-insert"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-挿入\SpecialChar \menuseparator
-注釈\SpecialChar \menuseparator
-LyX注釈
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row interlinespace="2.5mm">
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-\begin_inset Info
-type "icon"
-arg "note-next"
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="left" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\family sans
-移動\SpecialChar \menuseparator
-次の注釈
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\begin_inset VSpace defskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-校閲ツールバーは、変更を承認・却下したり統合したりするのに便利です。変更点を選択して、希望するツールバーボタンを押してください。変更を統合する際には、ウィンドウ
-が現れて、現在のカーソル位置の次の変更に関する情報を表示しますので、特定の変更点をわざわざ選択する必要がありません。統合ウィンドウでは、変更を承認するか却下する
-かを決定して次の変更点へ移動することができますので、この方法を使って、文書中の全ての変更点を確認することができます。
-\end_layout
-
-\begin_layout Standard
-ツールバーに注釈関連のボタンが二つあるのは、変更点を説明するのに注釈の利用が不可欠なためです。
-\end_layout
-
-\begin_layout Standard
-加えられた変更を出力に表示するためには、
-\series bold
-dvipost
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Latexぱっけーじ@LaTeXパッケージ ! dvipost
-\end_layout
-
-\end_inset
-
-というLaTeXパッケージが導入されていることが必要です。これはTeX Catalogue
-\begin_inset CommandInset citation
-LatexCommand cite
-key "TeXCatalogue"
-
-\end_inset
-
-またはお使いのLaTeXシステムのパッケージマネージャから見つけることができます。
-\end_layout
-
-\begin_layout Section
-
-\lang english
-Comparison of Documents
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-Comparison of documents
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-You can compare two different LyX files via the menu
-\family sans
-Tools\SpecialChar \menuseparator
-Compare
-\family default
-.
- The comparison result is a LyX file with change tracking enabled showing
- the differences.
- In the comparison dialog you can select with the option
-\family sans
-Copy
-\begin_inset space ~
-\end_inset
-
-Document
-\begin_inset space ~
-\end_inset
-
-Settings
-\begin_inset space ~
-\end_inset
-
-from
-\family default
- from which document LyX should take the document settings for the the resulting
- difference file.
- The option
-\family sans
-Enable
-\begin_inset space ~
-\end_inset
-
-change
-\begin_inset space ~
-\end_inset
-
-tracking
-\begin_inset space ~
-\end_inset
-
-features
-\begin_inset space ~
-\end_inset
-
-in
-\begin_inset space ~
-\end_inset
-
-the
-\begin_inset space ~
-\end_inset
-
-output
-\family default
- enables the change tracking option
-\family sans
-Show
-\begin_inset space ~
-\end_inset