1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 % Commands inserted by lyx2lyx for proper underlining
8 \PassOptionsToPackage{normalem}{ulem}
11 \newcommand{\b@xcite}[2][\%]{\def\def@pt{\%}\def\pas@pt{#1}
12 \mbox{\ifx\def@pt\pas@pt\cite@rig{#2}\else\cite@rig[#1]{#2}\fi}}
13 \renewcommand{\underbar}[1]{{\let\cite\b@xcite\uline{#1}}}
15 % DO NOT ALTER THIS PREAMBLE!!!
17 % This preamble is designed to ensure that the User's Guide prints
18 % out as advertised. If you mess with this preamble,
19 % parts of the User's Guide may not print out as expected. If you
20 % have problems LaTeXing this file, please contact
21 % the documentation team
22 % email: lyx-docs@lists.lyx.org
24 \usepackage{ifpdf} % part of the hyperref bundle
25 \ifpdf % if pdflatex is used
27 % set fonts for nicer pdf view
28 \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
30 \fi % end if pdflatex is used
32 % for correct jump positions whe clicking on a link to a float
33 %\usepackage[figure]{hypcap}
35 % the pages of the TOC is numbered roman
36 % and a pdf-bookmark for the TOC is added
37 \let\myTOC\tableofcontents
38 \renewcommand\tableofcontents{%
40 \pdfbookmark[1]{\contentsname}{}
44 % macro for italic page numbers in the index
45 \newcommand{\IndexDef}[1]{\textit{#1}}
47 % for customized page headers/footers
48 % only needed because they are only used in one section of the document
50 % change header rule width
51 \renewcommand{\headrulewidth}{2pt}
53 % used to have extra space in table cells
54 \@ifundefined{extrarowheight}
55 {\usepackage{array}}{}
56 \setlength{\extrarowheight}{2pt}
59 \renewcommand{\seename}{→}
62 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
63 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
65 \options refpage,intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
66 \use_default_options false
71 \maintain_unincluded_children false
79 Decoration Conglomerate
83 Decoration Conglomerate
93 \IfFileExists{okumacro.sty}
94 {\usepackage{okumacro}}
95 {\newcommand{\ruby}[2]{#2}}
100 \language_package default
101 \inputencoding utf8-platex
105 \font_typewriter default
107 \font_default_family default
108 \use_non_tex_fonts false
114 \default_output_format pdf
116 \bibtex_command bibtex
117 \index_command default
118 \paperfontsize default
121 \pdf_title "LyX Users Manual"
122 \pdf_author "LyX Team"
126 \pdf_bookmarksnumbered true
127 \pdf_bookmarksopen false
128 \pdf_bookmarksopenlevel 1
129 \pdf_breaklinks false
133 \pdf_pdfusetitle false
134 \pdf_quoted_options "unicode=false, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
137 \use_package amsmath 1
138 \use_package amssymb 1
139 \use_package cancel 0
141 \use_package mathdots 1
142 \use_package mathtools 0
143 \use_package mhchem 1
144 \use_package stackrel 0
145 \use_package stmaryrd 0
146 \use_package undertilde 0
148 \cite_engine_type default
152 \paperorientation portrait
156 \notefontcolor #0000ff
173 \paragraph_separation indent
174 \paragraph_indentation default
175 \quotes_language english
178 \paperpagestyle default
179 \tracking_changes false
180 \output_changes false
197 \begin_layout Plain Layout
198 なにかコメントや間違いの修正がある場合には、LyX文書化メーリングリスト
199 \begin_inset CommandInset href
201 target "lyx-docs@lists.lyx.org"
206 までお知らせ下さい。この文書の翻訳は、当初人見光太郎氏が行った貢献に基づいています。
212 \begin_inset Newline newline
216 \begin_inset Newline newline
220 \begin_inset Note Note
223 \begin_layout Plain Layout
225 \begin_inset Newline newline
230 http://wiki.lyx.org/LyX/DocumentationDevelopment#UserGuide
231 \begin_inset Newline newline
244 \begin_layout Standard
245 \begin_inset CommandInset toc
246 LatexCommand tableofcontents
253 \begin_layout Chapter
257 \begin_layout Section
261 \begin_layout Standard
262 LyXは文書作成システムです。美しい原稿、出版可能な本、ビジネス書簡、企画書、そのうえ詩までも作成することができます。LyXが他の「ワードプロセッサ」と異なる点
263 は、核となる編集スタイルとしてマークアップ言語のパラダイムを採用していることです。つまり、節の見出しを入力するときには、それを「ボールド体・17ポイント・左揃え
264 ・下に5mmの空白」という風に指定するのではなく、「節」として指定してやるだけでいいのです。LyXが組版を考えるようにできているため、実現方法を気にすることなく
268 \begin_layout Standard
273 』に詳細にわたって説明してあります。まだお読みでなければ、お読みください。ええ、すぐ読まれた方がよいでしょう。
276 \begin_layout Standard
281 』には、LyXの哲学以外にも説明されていることがあります。中でも重要なのは、すべての取扱説明書に共通な表記方法が書いてあることです。読まずにいると、取扱説明書を
282 読んでいくのが苦痛になってしまうでしょう。またこの取扱説明書を読む前に、別の取扱説明書を読んだ方がいいかもしれません。『
289 \begin_layout Section
293 \begin_layout Standard
294 他のアプリケーションと同様に、LyXには、ウインドウの上に見慣れたメニューバーがあります。その下には、プルダウンボックスと色々なボタンのついたツールバーがありま
295 す。もちろん、垂直スクロールバーと、文章を編集するための作業領域もあります。
298 \begin_layout Standard
299 水平スクロールバーはないことにご注意ください。これはバグや手抜きではなく、意図的につけていないのです。書籍を読むときには、行が終わると次行の行頭に続くものと想定
300 します。縦の長さがページからはみ出れば、文章は新しいページに続きますので、これゆえに垂直スクロールバーだけは必要となるのです。水平スクロールバーがないことが不便
301 と感じられ得る場合が3つあります。第一は、大きな画像の場合です。画像が使用中の画面よりも大きく表示されるのを避けるためには、画像設定の
307 \begin_layout Plain Layout
318 \begin_layout Plain Layout
331 オプションを使用してください。水平スクロールバーが必要となりうる第二・第三の場合は、LyXのウインドウよりも横幅が広い、表や数式がある場合です。表を水平方向にス
333 \begin_inset Flex Ruby
336 \begin_layout Plain Layout
338 \begin_inset Argument post:1
341 \begin_layout Plain Layout
352 が使えます。しかし、これは現段階では数式には使えません。
355 \begin_layout Standard
356 LyXの全メニューとツールバーボタンの簡潔な説明は、付録
357 \begin_inset CommandInset ref
366 \begin_layout Section
370 \begin_layout Standard
371 ヘルプシステムはLyXの取扱説明書を含んでいます。あなたはLyXの中から
379 メニューから読みたい取扱説明書を選ぶだけです。
382 \begin_layout Section
384 \begin_inset CommandInset label
393 \begin_layout Standard
396 ツール\SpecialChar \menuseparator
400 \begin_inset Index idx
403 \begin_layout Plain Layout
409 メニューで調整することができます。また、LyXは、システムにどんなプログラムが導入されているか、どんなLaTeX文書クラスやLaTeXパッケージが備わっているか
410 を検査することができます。LyXは、この検査で得た情報を、一部の
415 \begin_inset Index idx
418 \begin_layout Plain Layout
424 項目に対して、ふさわしい既定値を与えるのに使用します。この検査は、LyXがシステムに導入された時に既に行われていますが、LyXが検査を行った後に、新しいLaTe
425 Xクラスなどのアイテムを、ローカルに導入することもあるでしょう。LyXに再検査を行わせるには、
427 ツール\SpecialChar \menuseparator
431 \begin_inset Index idx
434 \begin_layout Plain Layout
440 を実行してください。その後、変更が認識されるようにLyXを再起動してください。
443 \begin_layout Section
445 \begin_inset CommandInset label
454 \begin_layout Standard
455 LaTeXを導入していなくてもLyXで文書を編集することはできますが、この場合、PDFを生成したり文書を印刷したりすることはできません。しかしながら、LyX文書
456 のうちにはPDFなどを生成するのにDocBookをバックエンドとして使用するものもありますし、すべてのLyX文書はつねに平文やXHTMLとして出力することができ
460 \begin_layout Standard
461 文書クラスのうちには、特定のLaTeX・DocBookクラスやパッケージに依存するものがあります。これらの文書クラスは、必要なファイルが導入されていなくても使用
462 することができますが、生成することのできない出力形式が発生します。
465 \begin_layout Standard
466 LyXがシステム上で検出したLaTeXパッケージは、メニュー
468 ヘルプ\SpecialChar \menuseparator
473 \begin_layout Plain Layout
482 で見ることができるファイルに列挙してあります。必要なパッケージがない場合には、必要なパッケージを導入して、LyXの環境構成を行なってください(メニュー
484 ツール\SpecialChar \menuseparator
488 \begin_inset Note Note
491 \begin_layout Plain Layout
492 TeXコードボックス中の二つの中括弧は、「LaTeX」という単語が、上付きおよび下付き文字として印字されるのを防ぐためのものです。TeXコードに関してより詳しく
494 \begin_inset CommandInset ref
496 reference "sec:TeXコード"
500 節に述べられています。LaTeXなどの固有名称の印字については、第
501 \begin_inset CommandInset ref
503 reference "sub:LyXの固有名称"
513 \begin_inset Index idx
516 \begin_layout Plain Layout
517 Lyx@LyX ! のかんきょうこうせい@------の環境構成
522 。LaTeXパッケージを追加導入するための詳しい情報は、取扱説明書『
529 \begin_layout Chapter
533 \begin_layout Section
535 \begin_inset Index idx
538 \begin_layout Plain Layout
547 \begin_layout Standard
552 メニューと標準ツールバーには、ワードプロセッサ共通の基本操作と、若干の複雑な操作が入っています。
555 \begin_layout Itemize
577 \begin_layout Itemize
585 arg "buffer-new-template"
591 \begin_layout Itemize
613 \begin_layout Itemize
627 \begin_layout Itemize
649 \begin_layout Itemize
657 arg "buffer-write-as"
663 \begin_layout Itemize
669 \begin_layout Itemize
677 arg "dialog-show print"
685 arg "dialog-show print"
691 \begin_layout Itemize
705 \begin_layout Standard
706 これらはわずかな違いを除いて、他のワードプロセッサの場合と同じように動きます。
710 コマンドは新しいファイルのファイル名だけでなく、どのひな型を使うのかも聞いてきます。ひな型を使うと、使わなかった場合には自分で設定する必要のあるいくつかのレイア
711 ウト機能を自動的に設定してくれます。ひな型はいくつかのクラスで使えますが、特に書簡を書く場合に有効です(第
712 \begin_inset CommandInset ref
714 reference "sec:文書クラス"
721 \begin_layout Standard
722 \begin_inset Note Greyedout
725 \begin_layout Plain Layout
726 【註】「既定ファイル」や「無題」、「下書き」というファイル名のファイルはありません。LyXにファイルを開くか新しいファイルを作るのを知らせるまでは、大きな何もな
735 \begin_layout Standard
744 コマンドは数人で同時に同じファイルを編集している場合に便利です
748 \begin_layout Plain Layout
749 このような場合にはLyXのバージョン管理機能も見て下さい。
762 は、単純に、ディスクからその文書をもう一度読み込みます。もちろんこの機能を、文書の変更を無効にして最後に保存した状態に戻すのにも使えます。
766 は、あなたが文書に対して行った変更を登録して、他の人たちに、それがあなたが行った変更であることを認識できるようにします。
769 \begin_layout Section
771 \begin_inset Index idx
774 \begin_layout Plain Layout
781 \begin_inset CommandInset label
790 \begin_layout Standard
791 最近のほとんどのワードプロセッサと同様に、LyXは文章の塊を切り貼りすることができますし、文字・単語・ページ単位でのカーソル移動や、文字あるいは単語単位で削除を
792 することもできます。以下の4つの節では、LyXの基本的な編集機能とその使い方について説明します。まずは切り貼りから説明しましょう。
795 \begin_layout Standard
800 メニューと標準ツールバーには、切り貼り用のコマンドや他のさまざまな編集機能が入っています。その一部は特殊なので後述するものとすると、基本的なものは以下のとおりで
804 \begin_layout Itemize
810 \begin_inset Index idx
813 \begin_layout Plain Layout
842 \begin_layout Itemize
848 \begin_inset Index idx
851 \begin_layout Plain Layout
872 \begin_layout Itemize
878 \begin_inset Index idx
881 \begin_layout Plain Layout
902 \begin_layout Itemize
908 \begin_layout Itemize
914 \begin_layout Itemize
920 \begin_inset Index idx
923 \begin_layout Plain Layout
930 \begin_inset Index idx
933 \begin_layout Plain Layout
946 arg "dialog-show findreplaceadv"
952 arg "dialog-show findreplace"
958 \begin_layout Standard
959 はじめの3つに関しては自明でしょう。LyXと他のプログラムの間でも、
979 は、他のプログラムが適当な形式を選択できるように、(書式付きと書式なしの)二種類をクリップボードに保管します。
983 も、書式付きと書式なしの文をサポートしており、さらには画像もサポートしています。貼り付けは、クリップボードの内容を知能的に解釈しようと試みます。たとえば、クリッ
984 プボードに、コンマ区切り値形式(CSV)の文があって、カーソルが表の中にある場合、この文はセル毎に振り分けて貼り付けられます。副メニューの
988 には、直近に貼り付けた文字列の一覧が表示されます。一覧の項目の一つをクリックすれば、現カーソル位置にそれを貼り付けることができます。
991 \begin_layout Standard
996 には、クリップボード中の内容に依存して、特殊形式が項目として表示されます。これには、たとえば、HTML・LaTeX・Linkback
1000 \begin_inset space ~
1010 \begin_layout Plain Layout
1016 ・PDF・PNG・JPEG・EMFなどがあります。このメニュー要素は、クリップボードに同一内容が異なる書式で保管されているときに、明示的にそのうちひとつを選択し
1017 たい場合に便利です(例えば、プログラムによっては、画像をグラフィックスと短文でクリップボードに保管しますが、後者は往々にして意味を持たないことがあります)。メニ
1022 \SpecialChar \menuseparator
1031 に同じですが、文のみの貼り付けだけを行うところが違います。これは、文全体がひとつの段落として挿入されることになるように、文をクリップボードに保管します。段落替え
1032 が起こるのは、文中に空白行があるときのみです。
1036 しない場合、文を段落として挿入し、文に改行があるところでは段落替えが為されます。これは、例えば、ウェブページの表の内容を、LyXの表としてコピーする場合に役立ち
1041 \SpecialChar \menuseparator
1050 \SpecialChar \menuseparator
1055 は、第一次選択から貼り付けを行います。通常、これは現在選択されている文です。
1058 \begin_layout Standard
1061 編集\SpecialChar \menuseparator
1062 検索/置換\SpecialChar \ldots{}
1069 ダイアログを開きます。単語や表現を見つけたならば、LyXはそれを選択した状態にします。
1077 フィールドの中身で置き換えられます。現在の文字列を飛ばしたい場合には、
1081 ボタンをクリックしてください。この文字列に一致する文書中すべての文字列を自動的に置換したい場合には、
1085 ボタンを押してください。大文字と小文字を区別して検索したい場合には、
1089 オプションを使うことができます。これを設定した場合には、「Test」で検索すると「test」には一致しません。
1093 オプションを使うと、完全な単語として一致するもののみに一致するように、LyXに強制することができます。つまり、「star」で検索すると「starlet」には一致
1095 \begin_inset CommandInset ref
1097 reference "sec:詳細な検索と置換"
1108 \begin_layout Standard
1109 差込枠と呼ばれる、注釈・フロート等々は、解体することができます。つまり、差込枠を削除して、その中身を通常の本文に戻すことができるのです。差込枠の解体は、カーソル
1114 を押すか、カーソルを差込枠の最後に置いて
1121 \begin_layout Standard
1123 \begin_inset Flex Ruby
1126 \begin_layout Plain Layout
1128 \begin_inset Argument post:1
1131 \begin_layout Plain Layout
1145 arg "inset-select-all"
1148 を使用して選択することができます。また、捷径
1151 arg "command-sequence buffer-begin ; buffer-end-select"
1157 \begin_layout Section
1159 \begin_inset Index idx
1162 \begin_layout Plain Layout
1169 \begin_inset Index idx
1172 \begin_layout Plain Layout
1179 \begin_inset CommandInset label
1181 name "sec:元に戻すとやり直す"
1188 \begin_layout Standard
1189 LyXでは、何か失敗をしても、簡単にもとに戻すことができます。LyXは大容量のUndo (元に戻す)/Redo (やり直す)バッファを持っています。失敗を元に戻
1192 編集\SpecialChar \menuseparator
1201 を選択して下さい。もし元に戻しすぎた場合には、「元に戻すのを元に戻す」ために
1203 編集\SpecialChar \menuseparator
1212 を使って下さい。元に戻すメカニズムは、メモリーオーバーへッドを押さえるために100ステップに制限されています。
1215 \begin_layout Standard
1216 またファイルを開いてから行ったすべての変更を無効にしても、「変更された」という文章の状態はかわらないことに注意して下さい。これは元に戻すのを上記のように100ス
1220 \begin_layout Standard
1229 は、LyXの中のほとんどすべてのものについて働きます。しかしながら、入力された文章については、文字単位ではなくて文字の塊ごとに元に戻したりやり直したりすることが
1233 \begin_layout Section
1235 \begin_inset Index idx
1238 \begin_layout Plain Layout
1265 \begin_layout Standard
1266 以下は、もっとも基本的なマウス操作です。
1269 \begin_layout Enumerate
1274 \begin_layout Itemize
1279 をクリックします。そうするとカーソルはマウスの所へ移動します。
1283 \begin_layout Enumerate
1288 \begin_layout Itemize
1293 を押したままマウスをドラッグして下さい。LyXは前のマウスの位置と新しいマウスの位置の間の文字をマークします。これをLyXのバッファ(とクリップボード)にコピー
1296 編集\SpecialChar \menuseparator
1302 \begin_layout Itemize
1305 編集\SpecialChar \menuseparator
1308 を使って、文字列をLyXに貼り付け直してください。
1312 \begin_layout Enumerate
1317 \begin_layout Standard
1318 これらの特性を設定するには、右クリックしてください。詳しくはこの取扱説明書の対応する節を見て下さい。
1322 \begin_layout Section
1324 \begin_inset CommandInset label
1331 \begin_inset Index idx
1334 \begin_layout Plain Layout
1343 \begin_layout Standard
1344 LyXでは、文書内を動き回るのに二つの方法があります。
1347 \begin_layout Itemize
1352 メニューに、文書の全ての節が従属メニューとして表示されるので、それをクリックすれば、文書の対応する場所に移動することができます。
1355 \begin_layout Itemize
1358 表示\SpecialChar \menuseparator
1364 arg "dialog-toggle toc"
1370 \begin_layout Itemize
1373 移動\SpecialChar \menuseparator
1376 で文書中にしおりをはさむことができ、このメニューでしおりをはさんだ場所に移動することもできます。しおりは、セッションを越えて記憶されます。
1379 \begin_layout Standard
1383 arg "bookmark-goto 0"
1386 は、文書中であなたが直近に変更を加えた部分に移動します。これは、例えば大きな文書中で、何かを探して文書の他の部分に動いたり、スクロールしたりした後に、元の編集箇
1390 \begin_layout Standard
1393 arg "screen-recenter"
1397 \begin_inset Flex Ruby
1400 \begin_layout Plain Layout
1402 \begin_inset Argument post:1
1405 \begin_layout Plain Layout
1416 を押すと、カーソル位置が、LyXメインウィンドウの縦方向中央に来るようにすることができます。
1419 \begin_layout Subsection
1421 \begin_inset CommandInset label
1430 \begin_layout Standard
1431 文書構造ウィンドウ上部のプルダウンボックスを使えば、図表一覧のような目次様オブジェクトだけでなく、脚注一覧や、ラベル・相互参照(第
1432 \begin_inset CommandInset ref
1434 reference "sec:相互参照"
1439 \begin_inset CommandInset ref
1441 reference "sec:書誌情報"
1445 節参照)などの一覧も選択することができます。これらの一覧の上をクリックすれば、使用中の文書の対応するオブジェクトに移動することができます。
1448 \begin_layout Standard
1449 文書構造の要素を右クリックすると、多くの場合、これらの要素を直接修正することのできるコンテクストメニューが表示されます。例えば、引用の場合には、コンテクストメニ
1450 ューを使うと引用ダイアログが表示され、引用の内容を修正することができます。
1453 \begin_layout Standard
1454 上部の「フィルタ」フィールドを使うと、文書構造に表示される項目を制限することができます。例えば、ラベルと参照の一覧を表示しているときに、小節への参照のみを見たい
1455 場合には、フィルタに「sub:」というテキストを入力すれば、このテキストを含む項目、すなわち小節のみが表示されるようになります。
1458 \begin_layout Standard
1459 文書構造の下部には、表示をさらに細かく制御できるボタン類が並んでいます。
1463 オプションは、表示されている一覧を、アルファベット順に整序するためのものであり、これを指定しないと、要素は、文書中に現れる順に表示されます。
1467 オプションは、一覧の現在の表示状態を保持するためのものです。ここで保持するとは、例えば、第2節と第4節の小節が表示された状態から第3節をクリックしたときに、第2
1468 節と第4節の小節を表示されたままの状態に保持することです。もし
1472 オプションが有効にされていなければ、クリックされた第3節を強調するために、第2節と第4節は閉じられるようになっています。最後に、左側のスライダは、文書構造を特定
1473 の「深さ」まで開くのに用います。どのように動作するかを知るには、いじってみるのがいいでしょう。
1476 \begin_layout Standard
1477 \begin_inset Graphics
1478 filename ../../images/reload.png
1482 ボタンは、(通常必要でないはずですが)目次を再描画します。その隣のボタンは、節の文書中の位置を変えるためのボタンです。
1483 \begin_inset Graphics
1484 filename ../../images/down.png
1486 groupId toolbarbuttons
1491 \begin_inset Graphics
1492 filename ../../images/up.png
1494 groupId toolbarbuttons
1498 を使うと、節の文書中の位置が、前方に移動したり後方に移動したりします。つまり、例えば第2.5節を、第2.4節の前に持っていったり第2.6節の後に移動したりすることがで
1499 きるわけです。それに伴い、LyXは、節番号を自動的に新しい順序に振り直してくれます。
1500 \begin_inset Graphics
1501 filename ../../images/promote.png
1503 groupId toolbarbuttons
1508 \begin_inset Graphics
1509 filename ../../images/demote.png
1511 groupId toolbarbuttons
1516 \begin_inset Flex Ruby
1519 \begin_layout Plain Layout
1521 \begin_inset Argument post:1
1524 \begin_layout Plain Layout
1543 )は、節の階層を変更するものです。つまり、例えば第2.5節を、第3節にしたり第2.4.1節にしたりすることができます。
1546 \begin_layout Section
1548 \begin_inset CommandInset label
1555 \begin_inset Index idx
1558 \begin_layout Plain Layout
1565 \begin_inset Index idx
1568 \begin_layout Plain Layout
1573 \begin_layout Plain Layout
1584 \begin_layout Plain Layout
1599 \begin_layout Standard
1600 LyXは、現在開かれている全ての文書を走査して、単語の補完案を提示してくれます。開かれている各文書に現れる単語は、全てデータベースに保管されて、補完案を提示する
1604 \begin_layout Standard
1607 ツール\SpecialChar \menuseparator
1612 編集\SpecialChar \menuseparator
1615 セクションで、有効にすることができます。
1619 オプションは、補完の提案が、カーソル直後に直接表示されるようにします。
1623 では、補完は常にポップアップで表示されます。また、補完カーソル表示器は、
1627 オプションを無効にすれば、表示されなくなります。一般オプションでは、補完入力やポップアップ補完の遅延時間を設定したり、単語の補完を開始するまでに最低限なくてはな
1628 らない文字数を指定したり、長い補完の切り詰めを行うかどうかを選択することができます。
1631 \begin_layout Standard
1632 LyXは、補完候補がある場合には、カーソル直後に小さな三角形をインジケーターとして表示します。提案されている補完を受け入れる場合は、
1637 \begin_inset Flex Ruby
1640 \begin_layout Plain Layout
1642 \begin_inset Argument post:1
1645 \begin_layout Plain Layout
1656 を押してください。補完候補が複数ある場合には、ポップアップでそれらが表示されます。ポップアップ中でマウスや矢印鍵を使用して補完候補を選び、
1660 鍵を押せば、それを受け入れることになります。
1663 \begin_layout Standard
1664 設定中の数式用補完オプションは、テキスト用補完オプションと同様に動きます。数式に特有な
1668 オプションでは、文字を構成することを可能にします。例えば、
1669 \begin_inset Formula $\Rightarrow$
1672 という文字を挿入したい場合に、数式中で「
1676 」と入力すれば、この文字を入れることができるようになるのです。つまり、コマンドを入力したり、数式ツールバーを使うよりも速い、もうひとつの入力手段となります。サポ
1677 ートされている文字の組み合わせは、LyXの導入されたフォルダのどこかにある
1681 というファイルに、列挙されています。数式自動修正機能は、感嘆符鍵「!」を押せば、いつでも有効にすることができます。無効にするには、
1688 \begin_layout Section
1690 \begin_inset Flex Ruby
1693 \begin_layout Plain Layout
1695 \begin_inset Argument post:1
1698 \begin_layout Plain Layout
1710 \begin_inset Index idx
1713 \begin_layout Plain Layout
1733 \begin_inset Flex Ruby
1736 \begin_layout Plain Layout
1738 \begin_inset Argument post:1
1741 \begin_layout Plain Layout
1758 \begin_inset Index idx
1761 \begin_layout Plain Layout
1766 \begin_layout Plain Layout
1774 \begin_inset Flex Ruby
1777 \begin_layout Plain Layout
1779 \begin_inset Argument post:1
1782 \begin_layout Plain Layout
1797 \begin_layout Plain Layout
1810 \begin_inset Index idx
1813 \begin_layout Plain Layout
1815 \begin_inset Flex Ruby
1818 \begin_layout Plain Layout
1820 \begin_inset Argument post:1
1823 \begin_layout Plain Layout
1838 \begin_layout Plain Layout
1846 \begin_inset Flex Ruby
1849 \begin_layout Plain Layout
1851 \begin_inset Argument post:1
1854 \begin_layout Plain Layout
1869 \begin_layout Plain Layout
1884 \begin_layout Standard
1894 \begin_inset Flex Ruby
1897 \begin_layout Plain Layout
1899 \begin_inset Argument post:1
1902 \begin_layout Plain Layout
1919 編集\SpecialChar \menuseparator
1923 \begin_inset CommandInset ref
1925 reference "sub:捷径の編集"
1929 章に述べられているように、任意の捷径:を表示したり変更したりすることができます)。
1932 \begin_layout Standard
1936 \begin_inset space ~
1944 \begin_inset space ~
1965 のようないくつかの鍵は、予想どおりの動作をしますが、そうでない鍵もあります。
1968 \begin_layout Labeling
1969 \labelwidthstring 00.00.0000
1973 \begin_inset CommandInset nomenclature
1974 LatexCommand nomenclature
1982 LyXにはタブストップのようなものはありません。これがどういう意味かお分かりにならない場合は、第
1983 \begin_inset CommandInset ref
1985 reference "sec:段落の字下げと分け方"
1990 \begin_inset CommandInset ref
1992 reference "sec:段落環境"
1997 \begin_inset CommandInset ref
1999 reference "sec:箇条書き"
2003 節をお読み下さい。それでも分からない場合には、『
2008 \begin_inset Newline newline
2011 LyXでは、タブ鍵は、入力補完で候補を受諾するときと、表中または数式の行列中でカーソルを移動するとき、或は箇条書き(記号)または箇条書き(連番)で入れ子の深度を
2015 \begin_layout Labeling
2016 \labelwidthstring 00.00.0000
2020 \begin_inset CommandInset nomenclature
2021 LatexCommand nomenclature
2023 description "エスケープキー"
2029 これは「取り消し鍵」です。これは、一般的に、操作を取り消す場合に使います。詳しくは、この取扱説明書の他の場所で説明されます。
2032 \begin_layout Labeling
2033 \labelwidthstring 00.00.0000
2042 これらはカーソルを行の先頭または最後に移動させます。ただし、Emacs鍵バインドを使っている場合には、文章の先頭または最後にカーソルを移動させます。
2045 \begin_layout Labeling
2046 \labelwidthstring 00.00.0000
2050 \begin_layout Labeling
2051 \labelwidthstring 00.00.0000
2061 \begin_inset CommandInset nomenclature
2062 LatexCommand nomenclature
2064 description "コントロールキー"
2068 で表されます。)これはどの鍵と組み合わせるかによって、いくつかの異なった使い方があります:
2072 \begin_layout Itemize
2081 と一緒に使うと、1文字ではなく一つの単語を削除します。
2084 \begin_layout Itemize
2093 と使うと文字単位ではなく、単語単位で移動します。
2096 \begin_layout Itemize
2105 と使うと文章の初め、または終りに移動します。
2109 \begin_layout Labeling
2110 \labelwidthstring 00.00.0000
2120 \begin_inset CommandInset nomenclature
2121 LatexCommand nomenclature
2127 で表されます。)これをどの移動鍵と一緒に使っても、前のカーソルの位置と新しいカーソルの位置の間のテキストを選択できます。
2130 \begin_layout Labeling
2131 \labelwidthstring 00.00.0000
2141 \begin_inset CommandInset nomenclature
2142 LatexCommand nomenclature
2144 description "メタキーまたはAltキー"
2148 で表されます。)キーボードにAlt鍵と独立してMeta鍵がない限りは、多くのキーボードにおいて、これはAlt鍵です。両方の鍵がある場合には、どちらの鍵が、実際に
2152 機能を果たしているのかを確かめる必要があります。この鍵は多くのさまざまな役割を果たしますが、そのうちの一つに、
2156 を有効にする役割があります。もしこの鍵を、メニューやメニュー項目で下線が引いてある文字と一緒に押すと、そのメニュー項目を選ぶことができるのです。
2160 \begin_layout Standard
2164 \begin_inset space ~
2168 \begin_inset space ~
2172 \begin_inset space ~
2177 」の順で押すと、「文字様式」メニューが呼び出されます。「
2180 \begin_inset space ~
2192 \begin_layout Standard
2194 \begin_inset Flex Ruby
2197 \begin_layout Plain Layout
2203 \begin_inset Argument post:1
2206 \begin_layout Plain Layout
2225 鍵に割り当てられているすべての機能が掲げてあります。
2229 \begin_layout Standard
2230 何らかの動作を行うと、ほとんどの場合、LyXのメインウィンドウ下にあるステータスバーに、いま行った動作名と、その動作に結びつけられた鍵割り当てが表示されますので
2231 、LyXを使っていくにしたがって、次第に鍵割り当てと
2232 \begin_inset Flex Ruby
2235 \begin_layout Plain Layout
2237 \begin_inset Argument post:1
2240 \begin_layout Plain Layout
2251 を覚えていくことができるでしょう。LyXのメニューにも定義されている鍵割り当てが表示されます。鍵割り当ての表記は、この文書の表記とたいへん似ているので、理解する
2252 のに困難はないでしょう。ただ、Shift修飾鍵は、明示的に表記されるようになっていますので、「
2267 \begin_layout Chapter
2271 \begin_layout Section
2273 \begin_inset Index idx
2276 \begin_layout Plain Layout
2277 ふんしよ@文書 ! がた@------型
2285 \begin_layout Subsection
2289 \begin_layout Standard
2290 \begin_inset Index idx
2293 \begin_layout Plain Layout
2294 Lyx@LyX ! のきほん@------の基本
2303 の文章を編集するかを決める必要があります。異なる型の文章は、余白取りもヘッダや番号のつけ方も異なりますし、使うことのできる段落環境や文書のタイトルの書式も異なり
2307 \begin_layout Standard
2312 は、その種類の文章に共通なタイプセットのやり方を記述しています。文書クラスを設定すると、自動的にそのような特性を設定したことになり、自分の作りたいタイプの文章を
2313 簡単に作れます。もし文書クラスを設定しなかったら、LyXが既定の文書クラスを選びます。それよりも自分で文章のクラスを設定した方がいいでしょう。
2316 \begin_layout Standard
2317 LyXで使える文書クラスの情報、そしてそれをどう変えるかについてはこの続きを読んで下さい。
2320 \begin_layout Subsection
2322 \begin_inset Index idx
2325 \begin_layout Plain Layout
2350 \begin_inset CommandInset label
2359 \begin_layout Standard
2362 文書\SpecialChar \menuseparator
2366 \begin_inset Index idx
2369 \begin_layout Plain Layout
2370 ふんしよ@文書 ! せってい@------設定
2375 ダイアログで選択することができます。使用したいクラスを選択し、必要なオプションの微調整を行ってください。
2378 \begin_layout Subsubsection
2382 \begin_layout Standard
2383 LyXには、以下の4つの標準文書クラスがあります。
2386 \begin_layout Description
2390 \begin_layout Description
2394 \begin_layout Description
2398 \begin_layout Description
2402 \begin_layout Standard
2403 これら以外にも非標準のクラスがありますが、LyXでは、それらがすでに装備されているときにかぎり、それらを使うことができます。以下に主要な非標準クラスを挙げますが
2404 、完全な一覧と詳しい説明は、取扱説明書『高度な機能篇』の
2411 \begin_layout Description
2418 Astronomy and Astrophysics
2420 (天文学と天体物理学)』で用いられる形式および書式を備えた学術論文
2423 \begin_layout Description
2428 アメリカ化学学会(American Chemistry Society: ACS)発行の学術誌投稿用
2431 \begin_layout Description
2436 アメリカ地球物理学会(American Geophysical Union: AGU)発行の学術誌投稿用
2439 \begin_layout Description
2444 アメリカ数学会(American Mathematical Society:AMS)で用いられる形式および書式を備えた、論文用および書籍用のレイアウト。論文用
2445 レイアウトには3つの種類があります。標準のものは、定理番号等の前に節番号を付加する、定理等に典型的な連番スキームを使用します。結果に関する叙述(定理、命題、系等
2446 )には、共通した通し番号がつけられますが、定義や例の類には個別の通し番号がつけられます。「通し番号」スキームでは、節番号を付加せずに論文全体を通じた通し番号が付
2447 けられます。また、結果に関する叙述には、それぞれ別の通し番号が用いられます。また連番をまったくつけないレイアウトもあります。
2450 \begin_layout Description
2458 \begin_layout Description
2463 戯曲を書くためのレイアウト。既存のLaTeXの文書クラスではなく、LyXとともに新たに頒布されているものです。
2466 \begin_layout Description
2471 チェスゲームについて記すためのレイアウト
2474 \begin_layout Description
2478 \begin_inset space ~
2486 \begin_layout Description
2491 Elsevier出版グループの学術誌向けのレイアウト
2494 \begin_layout Description
2502 \begin_layout Description
2507 アメリカ映画産業向けのスペック・スクリプト(持ち込み原稿)を書くのに使われます。既存のLaTeXの文書クラスではなく、LyXとともに新たに頒布されているもので
2511 \begin_layout Description
2516 IEEE(電気電子学会)が発行する学術誌向けのレイアウト
2519 \begin_layout Description
2524 イギリス物理学会(IOP)出版グループの学術誌向けのレイアウト
2527 \begin_layout Description
2532 Kluwer出版グループの学術誌向けのレイアウト
2535 \begin_layout Description
2540 標準クラスの代替クラスであり、キャプション書式や印刷余白の自動計算など、多くの便利な機能を持っています。
2543 \begin_layout Description
2551 \begin_layout Description
2559 \begin_layout Description
2568 \begin_layout Plain Layout
2579 アメリカ物理学会(APS)やアメリカ物理学協会(AIP)、アメリカ光学会(OSA)の学術誌に投稿する論文を執筆するのに用いられます。このクラスは、
2580 LyXの全機能と互換性があるわけではありません。
2583 \begin_layout Description
2591 \begin_layout Description
2596 国際光工学会(SPIE)発行学術誌用のレイアウト
2599 \begin_layout Description
2604 Springer出版グループの学術誌向けのレイアウト
2607 \begin_layout Standard
2608 ここではこれらの文書クラスをどのように使うかについての詳細は説明しません。取扱説明書『
2612 』にこのような標準的でないクラスについての説明があります。ここでは次にすべての文書クラスに共通する性質を説明します。
2615 \begin_layout Subsubsection
2619 \begin_layout Standard
2622 文書\SpecialChar \menuseparator
2623 設定\SpecialChar \menuseparator
2627 \begin_inset Index idx
2630 \begin_layout Plain Layout
2631 ふんしよ@文書 ! せってい@------設定
2636 に列挙されている文書クラスの多くが、「利用不能」と記されていることにおそらく気付かれたのではないでしょうか。それらのクラスを使用した文書を開くと、出力を生成する
2637 ために必要なファイルが導入されていませんという警告が表示されます。これを見て、何か設定がおかしいのではないかと思われるかもしれません。
2640 \begin_layout Standard
2641 しかし、これは何も異常なことではありません。LyXには、あなたが必要とする以上の文書クラスが収録されており、
2645 など、そのうち一部は特定の目的に高度に特化したものです。LyXは、できる限り多様な種類の文書をサポートしようと努力しており、およそ100種にも及ぶレイアウトファ
2646 イルを収録して、その数はなお増加し続けています。これらの文書クラスに必要とされるすべてのファイルを、既定で導入するLaTeX頒布版は存在しません。あまりにも種類
2647 が多いのです。これが文書クラスのうち一部が利用不能となっているゆえんです。
2650 \begin_layout Standard
2651 もし使用したい文書クラスのうち「利用不能」と記されているものがある場合には、適切なパッケージファイルを導入してやる必要があります。どのファイルを導入する必要があ
2652 るかを確認する最も易しい方法は、その文書クラスを使った新規ファイルを作成することです。するとLyXは、不足しているファイルを列挙したダイアログを表示します。これ
2653 らを導入する方法については、取扱説明書『
2662 \begin_inset VSpace medskip
2668 \begin_layout Standard
2669 LyXは、多様な文書に対してサポートを提供していますが、人々が使用したいと思う文書クラスすべてに対してサポートを行っているわけではありません。たとえば、多くの大
2670 学が、大学への博士論文提出用のLaTeXクラスファイルを提供しています。LyX開発チームは、これらを一つずつサポートするためにレイアウトファイルを書くわけにはい
2671 きません。あまりにも多すぎるのです。さいわい、ユーザーは自分自身のレイアウトファイルを書くことができ、実際に多くのユーザーがそうしています。取扱説明書『
2675 』の第5章に、レイアウトファイルの作成のしかたに関する情報があります。
2678 \begin_layout Subsubsection
2680 \begin_inset CommandInset label
2687 \begin_inset Index idx
2690 \begin_layout Plain Layout
2691 ふんしよ@文書 ! もじゅーる@モジュール
2699 \begin_layout Standard
2700 モジュールは、選択した文書クラスでは既定では利用できない機能を文書に追加します。例えば、点字を文書中で書きたいものとしましょう。点字はもちろんどの文書クラスでも
2703 文書\SpecialChar \menuseparator
2707 \begin_inset Index idx
2710 \begin_layout Plain Layout
2711 ふんしよ@文書!せってい@------設定
2720 面で対応するモジュールを読み込ませなくてはなりません。ダイアログでモジュールを選択状態にすると、そのモジュールの説明が表示されます。
2723 \begin_layout Standard
2724 モジュールのうちには、既定では必ずしも導入されていないLaTeXパッケージやファイル書式変換子を必要とするものがあります。必要とされるパッケージやファイル書式変
2725 換子がない場合には、LyXは警告を発して、具体的に何が足りないかを示します。これを無視しても、ファイルを編集している間は、モジュールを使用することができますが、
2726 必要な構成物なしには、LyXがLaTeXファイルをコンパイルすることができないので、PDFに書き出したり文書を印刷したりすることはできません。出力を生成したい場
2729 ツール\SpecialChar \menuseparator
2732 を選択して、LyXを環境構成する必要があります
2733 \begin_inset Index idx
2736 \begin_layout Plain Layout
2737 Lyx@LyX ! のかんきょうこうせい@------の環境構成
2742 。必要なパッケージを導入する方法については、取扱説明書『
2753 \begin_layout Standard
2754 \begin_inset Note Greyedout
2757 \begin_layout Plain Layout
2762 モジュールのうちには、他のモジュールを必要とするものがある一方で、お互いに互換性のないモジュールもあります。LyXは、これらの問題がある場合には、その情報を表示
2771 \begin_layout Subsubsection
2773 \begin_inset CommandInset label
2775 name "sub:ローカルレイアウト"
2780 \begin_inset Index idx
2783 \begin_layout Plain Layout
2784 ふんしよ@文書 ! ろーかるれいあうと@ローカルレイアウト
2792 \begin_layout Standard
2793 LyXにとってのモジュールは、LaTeXにおけるパッケージのようなものです。これらは、いろいろな文書で用いられることを意図したもので、別の文書で頻繁に同じような
2794 ことを必要とすることがわかった場合には、その目的用のモジュールを書くことを考えたほうが良いでしょう。しかしながら、特定の文書が非常に特別なものを必要としており、
2795 特殊な差込枠や文字様式を必要としているけれども、一度限りしか使わないということもあるでしょう。つまり、文書にLaTeXプリアンブルのようなものを欲しいわけです。
2796 この時に便利なのが、LyXの「ローカルレイアウト」です。この使い方については、取扱説明書『
2807 \begin_layout Subsubsection
2811 \begin_layout Standard
2812 各クラスには、既定のオプションの組があります。以下の一覧表は、その簡単な説明です。
2815 \begin_layout Standard
2816 \begin_inset VSpace 0.3cm
2822 \begin_layout Standard
2824 \begin_inset Tabular
2825 <lyxtabular version="3" rows="5" columns="5">
2826 <features rotate="0" tabularvalignment="middle">
2827 <column alignment="center" valignment="top" width="0pt">
2828 <column alignment="center" valignment="top" width="0pt">
2829 <column alignment="center" valignment="top" width="0pt">
2830 <column alignment="center" valignment="top" width="0pt">
2831 <column alignment="center" valignment="top" width="0pt">
2833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2836 \begin_layout Plain Layout
2842 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2845 \begin_layout Plain Layout
2853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2856 \begin_layout Plain Layout
2864 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2867 \begin_layout Plain Layout
2875 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2878 \begin_layout Plain Layout
2886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2889 \begin_layout Plain Layout
2895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2898 \begin_layout Plain Layout
2906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2909 \begin_layout Plain Layout
2917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2920 \begin_layout Plain Layout
2928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2931 \begin_layout Plain Layout
2941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2944 \begin_layout Plain Layout
2950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2953 \begin_layout Plain Layout
2961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2964 \begin_layout Plain Layout
2972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2975 \begin_layout Plain Layout
2983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2986 \begin_layout Plain Layout
2996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2999 \begin_layout Plain Layout
3005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3008 \begin_layout Plain Layout
3016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3019 \begin_layout Plain Layout
3027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3030 \begin_layout Plain Layout
3038 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3041 \begin_layout Plain Layout
3051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3054 \begin_layout Plain Layout
3060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3063 \begin_layout Plain Layout
3071 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3074 \begin_layout Plain Layout
3082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3085 \begin_layout Plain Layout
3093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3096 \begin_layout Plain Layout
3110 \begin_layout Standard
3111 \begin_inset VSpace 0.3cm
3117 \begin_layout Standard
3118 おそらく「節分け最上位階層」とはどういう意味だろうと思っているでしょう。節の見出しを使える段落環境は、いくつかあります。異なった文書クラスでは、異なった節の見出
3119 しを使うことが出来ます。2つの文書クラスだけが
3131 から始まります。letter文書クラスでは、節の見出しは使えません。
3148 \begin_inset CommandInset ref
3157 \begin_layout Subsection
3159 \begin_inset CommandInset label
3166 \begin_inset Index idx
3169 \begin_layout Plain Layout
3170 ふんしよ@文書!れいあうと@------レイアウト
3176 \begin_inset Index idx
3179 \begin_layout Plain Layout
3180 ふんしよ@文書!せってい@------設定
3188 \begin_layout Standard
3191 文書\SpecialChar \menuseparator
3202 フィールドには、現在の文書クラスに与える特別なオプションを、コンマ区切りの形で列挙することができますが、この方法は、現在の文書で使いたい特別なオプションをLyX
3203 がサポートしていないときのみ必要になります。ご使用になりたいLaTeXクラスとそのオプションの詳細を知るには、そのLaTeXクラスの取扱説明書を読む必要がありま
3207 \begin_layout Standard
3210 文書\SpecialChar \menuseparator
3221 ドロップボックスは、どのようなヘディングとページ番号が各ページに現れるかを制御します。以下の5つの選択肢があります。
3224 \begin_layout Labeling
3225 \labelwidthstring 00.00.0000
3230 現在のクラスの既定のページ形式を使います。
3233 \begin_layout Labeling
3234 \labelwidthstring 00.00.0000
3242 \begin_layout Labeling
3243 \labelwidthstring 00.00.0000
3251 \begin_layout Labeling
3252 \labelwidthstring 00.00.0000
3257 ページ番号と、そのページの章か節の名前と番号をいれます。現在の章を使うか節を使うかは、そのクラスの節分け最上位階層に依存します。
3260 \begin_layout Labeling
3261 \labelwidthstring 00.00.0000
3271 \begin_inset Index idx
3274 \begin_layout Plain Layout
3275 latexはつけじ@LaTeXパッケージ ! fancyhdr
3280 パッケージが装備されていれば、完全にカスタマイズできるヘッダとフッタを生成することができます。定義の内容については、第
3281 \begin_inset CommandInset ref
3283 reference "sec:ユーザ設定ページヘッダ"
3290 \begin_layout Standard
3292 \begin_inset CommandInset ref
3294 reference "sub:段落の分け方"
3301 \begin_layout Subsection
3303 \begin_inset Index idx
3306 \begin_layout Plain Layout
3307 ふんしよ@文書!ようしすんぽう@用紙寸法
3313 \begin_inset CommandInset label
3322 \begin_layout Standard
3325 文書\SpecialChar \menuseparator
3332 メニューには、以下のオプションがあります。
3333 \begin_inset Index idx
3336 \begin_layout Plain Layout
3337 ふんしよ@文書!せってい@------設定
3345 \begin_layout Labeling
3346 \labelwidthstring 00.00.0000
3351 印刷する用紙寸法を選びます。選べるのは、次のサイズです。
3355 \begin_layout Itemize
3361 \begin_layout Itemize
3367 \begin_layout Itemize
3373 \begin_layout Itemize
3379 \begin_layout Itemize
3382 USレター, USリーガル, USエグゼクティブ
3385 \begin_layout Itemize
3391 \begin_layout Itemize
3398 \begin_layout Labeling
3399 \labelwidthstring 00.00.0000
3415 \begin_layout Labeling
3416 \labelwidthstring 00.00.0000
3421 印刷の余白を両面印刷用に調整します。これは、奇数ページと偶数ページで余白が変わることを意味します。
3424 \begin_layout Subsection
3426 \begin_inset Index idx
3429 \begin_layout Plain Layout
3430 ふんしよ@文書!のよはく@------の余白
3436 \begin_inset CommandInset label
3443 \begin_inset Index idx
3446 \begin_layout Plain Layout
3455 \begin_layout Standard
3458 文書\SpecialChar \menuseparator
3460 \begin_inset Index idx
3463 \begin_layout Plain Layout
3464 ふんしよ@文書!せってい@------設定
3474 \begin_layout Standard
3475 KOMA-Script文書クラスをお使いの時は、既定値で使って構いません。KOMA-Scriptは、用紙書式とフォント寸法を考慮に入れて、印刷余白を自動的に計算
3479 \begin_layout Subsection
3483 \begin_layout Standard
3488 を新しいクラス用に変換する必要があります。変換が必要なものには、段落環境も含まれます。段落環境のいくつかは標準的なもので、すべての文書クラスに備わっていますが、
3489 文書クラスによっては、特殊な段落環境を持っている場合があります。このような場合に、文書クラスが変更されると、LyXはもはや未知のものとなった段落を「解釈不能」と
3490 マークします。旧文書クラスに戻りたいと思ったときのために、段落様式名は維持されます。しかしこれらの段落は、特別な整形をされることなしに出力されてしまうので、新し
3491 い段落様式を自分で作り出すか、新しい文書クラスに既存の段落様式に手動で変更する必要があります。
3494 \begin_layout Section
3496 \begin_inset Index idx
3499 \begin_layout Plain Layout
3500 だんらく@段落!のじさげ@------の字下げ
3508 \begin_layout Subsection
3510 \begin_inset CommandInset label
3512 name "sec:段落の字下げと分け方"
3519 \begin_layout Standard
3520 色々な段落環境を説明する前に、段落の字下げについて少し説明しておきましょう。
3523 \begin_layout Standard
3524 段落の分け方については、すべての人がそれぞれの慣習を持っているようです。ほとんどのアメリカ人は、段落の最初の行を字下げします。一方で、字下げをせずに、段落間にス
3525 ペースを入れる人もいます。段落を字下げすることを選択した場合には、節の
3529 段落や、図・数式・表・リストなどの後の段落では、字下げは
3533 。ある段落の後の段落のみ字下げされます。しかし、英語でない文書言語を用いるときには、字下げの挙動は異なることに注意してください。LaTeXが、使用言語のルールに
3537 \begin_layout Standard
3538 行間や、ヘッダと本文の間の余白など、段落間の余白—実のところ、ほとんどすべてのことに関する余白—は、LyXに前もって組み込まれています。これまで述べてきたように
3539 、あれこれのあいだにどれだけ余白を空けるかといったことに、あなたが気を使う必要はまったくありません。それはLyXがやることです。実は、それらの組み込まれた余白は
3540 、固定値ではなく範囲で与えられています。これによってLyXは、図がページの中で本文とうまく収まるようにしたり、節がページの最後から始まったりしないようにするため
3541 に、行間を伸ばしたり縮めたりすることができるのです
3545 \begin_layout Plain Layout
3546 これは、LyXが印刷可能なファイルを生成する時に LaTeXが行います。
3551 。しかし、組み込まれているといっても、ユーザーが余白を変えることができないということを意味するわけではありません。LyXは、これらの組み込まれた余白の
3555 を、全般的に変更できる余地を提供しています。これについては後に詳述します。
3558 \begin_layout Subsection
3560 \begin_inset CommandInset label
3567 \begin_inset Index idx
3570 \begin_layout Plain Layout
3571 だんらく@段落!のわけかた@------の分け方
3579 \begin_layout Standard
3582 文書\SpecialChar \menuseparator
3586 \begin_inset Index idx
3589 \begin_layout Plain Layout
3608 サブメニューの中で、段落を字下げするか段落間に余白を追加するかにしたがって、
3619 \begin_layout Subsection
3623 \begin_layout Standard
3624 文章全体ではなく、一つの段落だけに対して段落の区切り方を変えることもできます。現在の段落の状態を変更するには、
3626 編集\SpecialChar \menuseparator
3634 \begin_inset Flex Ruby
3637 \begin_layout Plain Layout
3639 \begin_inset Argument post:1
3642 \begin_layout Plain Layout
3656 arg "paragraph-params \\indent-toggle"
3659 )。段落が、行頭下げではなく余白で区切られている場合には、このボタンは無視されます(これを切り替えることによって、個別の段落を字下げすることはできません)。
3662 \begin_layout Standard
3663 何らかの微調整が必要な場合以外には、個別の段落の字下げ方法を変更する必要はないはずです。
3666 \begin_layout Subsection
3668 \begin_inset Index idx
3671 \begin_layout Plain Layout
3698 \begin_layout Standard
3701 文書\SpecialChar \menuseparator
3705 \begin_inset Index idx
3708 \begin_layout Plain Layout
3709 ふんしよ@文書!せってい@------設定
3718 サブメニューで行間を設定することができます
3722 \begin_layout Plain Layout
3723 この機能を使うためには、LaTeXパッケージのsetspaceが装備されている必要があります。
3730 編集\SpecialChar \menuseparator
3733 ダイアログを使えば、段落毎に設定することもできますが、通常、垂直余白は環境様式中で定義されているので、これを使用するのは非常に例外的な場合にのみ留めるべきです。
3736 \begin_layout Section
3738 \begin_inset CommandInset label
3745 \begin_inset Index idx
3748 \begin_layout Plain Layout
3749 だんらく@段落!かんきょう@------環境
3753 \begin_layout Plain Layout
3768 \begin_layout Subsection
3772 \begin_layout Standard
3776 \begin_layout Standard
3795 \begin_inset Newline newline
3798 コマンドに対応するものです。もしLaTeXを知らなかったり、段落環境がどういうものか見当もつかない場合は
3810 』にはこの節よりも多くの例も含まれています。
3813 \begin_layout Standard
3814 段落環境とは、その段落に特定の性質を与える、段落の「入れもの」に過ぎません。ここでいう性質には、特定の様式のフォントやいろいろな余白、連番の振り方、ラベルなどが
3815 含まれます。さらに、ある段落環境を別の段落環境の中に「入れ子」状に入れて、上位段落環境から性質の一部を継承させることができます。一連の段落環境を使うことによって
3816 、ややこしいタブストップや執筆作業中の余白調整や、その他タイプライタ時代からの遺物を一掃することができるようになります。特定の文章型にのみ使われる段落環境もあり
3817 ますが、ここでは最も一般的なものだけを取り上げることにします。
3820 \begin_layout Standard
3821 新しい段落環境を選ぶためには、ツールバーの左端のプルダウンボックス
3822 \begin_inset Graphics
3823 filename clipart/ToolbarEnvBox.png
3828 を使って下さい。LyXは、カーソル位置の
3832 の環境を変更します。また、新しい環境を選ぶ前に複数の段落を選択しておくと、選択した段落全ての環境を変えることができます。
3835 \begin_layout Standard
3852 段落環境で作られます。「一般的には」と言うのは、以下の環境の中では、
3860 にリセットされずに、前の段落の環境が維持されるからです。
3863 \begin_layout Itemize
3869 \begin_layout Itemize
3875 \begin_layout Itemize
3881 \begin_layout Itemize
3887 \begin_layout Itemize
3893 \begin_layout Itemize
3899 \begin_layout Itemize
3905 \begin_layout Standard
3914 に初期化せず、それまでの段落環境を引き継ぎます。入れ子階層の深さも保存されます(入れ子については第
3915 \begin_inset CommandInset ref
3924 \begin_layout Subsection
3928 \begin_layout Standard
3929 ほとんどのクラスの既定の段落環境は、標準です。これは特別な性質を持たない、普通の段落を作ります。もしLyXがある段落環境をリセットして新しい段落を作る場合は、こ
3930 れが選ばれます。実際あなたが読んでいるこの(そしてこの取扱説明書のほとんどの)段落が
3937 \begin_layout Standard
3942 環境を入れることができますが、他の環境を標準環境の中に入れることはできません。
3945 \begin_layout Subsection
3947 \begin_inset Index idx
3950 \begin_layout Plain Layout
3951 ふんしよ@文書!たいとる@------タイトル
3959 \begin_layout Standard
3960 LaTeXのタイトルページは3つの部分を持っています。タイトルそれ自身と著者の名前、それと著者の連絡先や謝辞を書いた脚注です。あるタイプの文章では、LaTeXは
3961 これらすべてと今日の日付を独立したページに印刷します。また別のタイプの文章では「タイトル」ページは文章の一番はじめのページの上の方に印刷されます。
3964 \begin_layout Standard
3965 LyXはタイトルページ用のコマンドへのインターフェイスを
3977 という3つの段落環境の形で用意しています。使い方は、
3980 \begin_layout Itemize
3988 \begin_layout Itemize
3996 \begin_layout Itemize
3997 もし特定の日付を入れたい場合や、今日の日付の場所に別のテキストを入れたい場合には、それを
4005 環境はオプションです。入れる必要はありません。
4009 環境がない場合には、LaTeXは自動的に今日の日付を入れます。日付を入れたくない時は、
4011 文書\SpecialChar \menuseparator
4012 設定\SpecialChar \menuseparator
4022 \begin_layout Standard
4023 また脚注を使って、謝辞や著者の連絡先を入れることができます。
4026 \begin_layout Subsection
4028 \begin_inset Index idx
4031 \begin_layout Plain Layout
4038 \begin_inset CommandInset label
4047 \begin_layout Standard
4048 節見出しを作るために、いくつかの段落環境があります。LyXが見出しの番号を自動的につけてくれます。
4051 \begin_layout Subsubsection
4053 \begin_inset Index idx
4056 \begin_layout Plain Layout
4057 せつみだし@節見出し!ばんごうつき@番号付き------
4065 \begin_layout Standard
4066 次の7種類の番号付きの見出しがあります。
4069 \begin_layout Enumerate
4075 \begin_layout Enumerate
4081 \begin_layout Enumerate
4087 \begin_layout Enumerate
4093 \begin_layout Enumerate
4099 \begin_layout Enumerate
4105 \begin_layout Enumerate
4111 \begin_layout Standard
4112 LyXは、これらの見出しに一連のピリオドで分けられた番号をつけます。この番号はあなたが読んでいるのは、文章のどこであるかを表しています。他の見出しと異なって、部
4113 の見出しはラテン数字で番号がつけられます。
4116 \begin_layout Standard
4117 これらの見出しによって文章はいくつかの部分へ分けられます。例えば本を書く場合を考えて下さい。一冊の本をいくつかの章へ分けるでしょう。LyXはこれと同じようなグル
4121 \begin_layout Itemize
4133 \begin_layout Itemize
4145 \begin_layout Itemize
4157 \begin_layout Itemize
4169 \begin_layout Itemize
4181 \begin_layout Itemize
4193 \begin_layout Standard
4194 \begin_inset Note Greyedout
4197 \begin_layout Plain Layout
4206 を節分けの一番高いレベルとして使っているわけではありません。その場合には
4218 \begin_layout Standard
4223 環境を使って見出しを作る場合には、(章番号.)節番号.小節の番号という形で番号をつけます。例えば、この取扱説明書の第2章の5番目の節の場合は「2.5」という番号が付け
4227 \begin_layout Subsubsection
4229 \begin_inset Index idx
4232 \begin_layout Plain Layout
4233 せつみだし@節見出し!ばんごうをつけない@番号を付けない------
4241 \begin_layout Standard
4242 番号を付けない見出しは、名称の終わりに「*」が付いています。これらは、目次に載らないこと以外は、番号付きの見出しと同じように働きます(第
4243 \begin_inset CommandInset ref
4245 reference "sec:目次と一覧"
4252 \begin_layout Subsubsection
4254 \begin_inset CommandInset label
4256 name "sub:番号の付け方-深度"
4263 \begin_layout Standard
4264 どの節レベルまで番号をつけるか、また目次ではどのレベルまで番号をつけるかを変更することができます。これは文書クラスで決まっている節のレベルを変えるものではありま
4273 までの節レベルを持っています。また別のクラスでは
4277 から始まります。同じように、すべての文書クラスがすべての節レベルに対して番号をつけるのではありません。ほとんどの文書クラスは
4285 には番号はつけません。しかし、この設定は変えることができます。
4288 \begin_layout Standard
4291 文書\SpecialChar \menuseparator
4295 \begin_inset Index idx
4298 \begin_layout Plain Layout
4299 ふんしよ@文書!せってい@------設定
4312 と名づけられたものは、節分けのどの階層の節見出しにまでLyXが番号を付けるべきかを制御します。もう一つのものは、目次に節見出しが現れるようにするかどうかを制御し
4316 \begin_layout Subsubsection
4318 \begin_inset Index idx
4321 \begin_layout Plain Layout
4322 せつみだし@節見出し!のたんしゅくけい@------の短縮形
4328 \begin_inset Argument 1
4331 \begin_layout Plain Layout
4338 \begin_inset CommandInset label
4347 \begin_layout Standard
4348 この節のように、節や章の見出しは、非常に長くなることがあります。水平方向の余白が限られている場合、これが問題を引き起こすことがあります。例えば、ページのヘッダが
4349 、現在の節のタイトルを表示するように設定されている場合、見出しが長すぎると、ページ余白にまではみ出して、ひどい仕上がりになりかねません。
4352 \begin_layout Standard
4353 LaTeXでは、節見出しに短縮形を設定できるようになっています。この短縮形は、上述の問題を避けるのに、ヘッダと目次で使用されます。短縮形を指定するには、カーソル
4356 挿入\SpecialChar \menuseparator
4359 メニューを使用してください。すると、「見出し短縮形」と書かれたボックスが挿入されるので、そこに短縮形の文を入力します。これは、フロート内のキャプションにも使うこ
4360 とができます。短縮形は、見出し一つにつき、一つだけ付けることができます。
4363 \begin_layout Standard
4364 本節の見出しは、この機能を使った一例になっています。
4367 \begin_layout Subsubsection
4371 \begin_layout Standard
4372 次のことはすべての節見出し環境に共通することです。
4375 \begin_layout Itemize
4376 節見出し環境を入れ子にすることはできません。
4379 \begin_layout Itemize
4383 \begin_layout Itemize
4384 節見出し環境では、文中数式しか使えません。
4387 \begin_layout Itemize
4388 見出し番号を参照するのに、ラベルと相互参照を使うことができます。
4391 \begin_layout Subsection
4395 \begin_layout Standard
4396 LyXは詩を書いたり引用文を挿入するための、3つの段落環境を持っています。
4408 です。他のワードプロセッサなら引用文を挿入する場合には余白の調整、行間の変更が必要でしたが、この3つの段落環境を使えば自動的にやってくれます。この3つの環境はす
4409 べてマージンを広くして、挿入するテキストの上と下にスペースを追加します。これらは、入れ子にすることもできるので、例えば、
4420 \begin_layout Standard
4421 この3つの環境の特徴として、新しい段落をはじめても
4429 ことがあります。そのため詩を書いてる最中に環境が変わるのを心配すること無しに気楽に
4433 を押すことができます。ただし、そのかわりに詩を書き終ったら、自分で
4440 \begin_layout Subsubsection
4442 \begin_inset CommandInset label
4449 \begin_inset Index idx
4452 \begin_layout Plain Layout
4461 \begin_layout Standard
4462 さて今までは3つの環境の共通点を説明してきましたが、ここで違いについて説明しましょう。
4474 は段落を分けるのに段落間にスペースを入れますが、
4482 最初の行を字下げすることで段落を分けます。
4485 \begin_layout Standard
4498 環境です。どんどん書いていってあげましょう。この行をどんどん延ばして、改行するところまで持っていきましょう。ほら、字下げしないでしょう?
4502 ここは、同じ引用の第2段落です。ここでも字下げはありません。ただし、私のいるこの段落と上の段落の間には、余白が設けられます。
4505 \begin_layout Standard
4513 \begin_layout Quotation
4518 環境です。どんどん書いていくと、字下げしていることが分かるでしょう。もしあなたが、第一行を字下げして新しい段落が始まったことを示すような記法を使っている国にいる
4523 はあなた向けの環境です!もちろん、どこかの文章を引用すると仮定しての話です。
4526 \begin_layout Quotation
4527 ここは新しい段落です。選挙のときの政治家みたいにくだらないことをぐだぐだと書き続けてみましょう。本当にそうしたら、きっとあなたは退屈するでしょうが。
4530 \begin_layout Standard
4535 は段落を分けるのにスペースを使う人のための環境で、
4539 は、字下げを段落を分けるのに使う人のための環境です。
4542 \begin_layout Subsubsection
4544 \begin_inset Index idx
4547 \begin_layout Plain Layout
4554 \begin_inset Index idx
4557 \begin_layout Plain Layout
4564 \begin_inset CommandInset label
4573 \begin_layout Standard
4578 は、詩や韻文などを書くための段落環境です。次の例を見て下さい。
4583 \begin_inset Newline newline
4590 あしきものはさらにあしきものとならざるべからず。その流れはとどまるところをしらざるものとなり、倦むことをしらざるほどに、ながく、またながく、うたかたの流れもたえ
4591 ざるほどに、またこの行も改行せんほどにながくのびていく。画面においてはよからん、されど印字した場合にはいかほどや。そこにおいては、後の行は最初の行よりも少しだけ
4592 字下げされん。だんだん散文になってきて韻も踏めないのでやめましょう。叱ってん
4593 \begin_inset Formula $\heartsuit$
4601 \begin_inset Newline newline
4605 \begin_inset Newline newline
4611 arg "newline-insert newline"
4617 \begin_layout Standard
4622 は段落を分けるのに字下げをしません。また詩の一連が一つの段落になっています。一連の中で行を分けるには、
4625 arg "newline-insert newline"
4635 \begin_layout Subsection
4637 \begin_inset Index idx
4640 \begin_layout Plain Layout
4647 \begin_inset CommandInset label
4656 \begin_layout Standard
4657 LyXは、箇条書きを作るために4つの段落環境を持っています。
4665 環境では、LyXは各々の項目の前に小さい印か番号をつけます。
4673 環境では、自分で各項目のラベルをつけることができます。まずこの4つの環境に共通することを説明して、それから各々の環境について説明することにしましょう。
4676 \begin_layout Subsubsection
4680 \begin_layout Standard
4681 この4つの箇条書きを作る環境は、さまざまな面で他の環境と異なります。まず初めに、LyXは各々の段落を箇条書きの項目として扱います。
4693 、新しい箇条書きの項目が作られます。ここで、環境の入れ子の階層は維持されます。段落環境は変えないで、現在の階層だけをリセットしたい場合は、
4698 arg "paragraph-break inverse"
4703 を使って改行します。箇条書きの最上位層でこうすると、
4710 \begin_layout Standard
4711 これらの環境の中に、任意の箇条書き環境を入れることもできます。実際、いくつかの箇条書き環境では、入れ子の深さによってLyXがラベルを変えます。リスト環境を入れ子
4713 \begin_inset CommandInset ref
4722 \begin_layout Subsubsection
4724 \begin_inset Index idx
4727 \begin_layout Plain Layout
4734 \begin_inset CommandInset label
4743 \begin_layout Standard
4748 段落環境を説明しましょう。この段落環境は次のような性質を持っています。
4751 \begin_layout Itemize
4752 各々の項目は小さい印(シンボル)をラベルとして使います。
4756 \begin_layout Itemize
4757 同じ入れ子の深さの場合、同じシンボルが使われます。
4760 \begin_layout Itemize
4765 \begin_layout Itemize
4766 項目の長さは制限されません。LyXは自動的に各項目の左余白を調整します。そして、左余白の大きさは
4773 \begin_layout Itemize
4782 環境を入れると項目のラベルのシンボルが変わります。
4786 \begin_layout Itemize
4787 4つの異なるシンボルがあって、4段階の入れ子の深さに対応しています。
4790 \begin_layout Itemize
4791 画面上では、つねに同じシンボルを表示されます。
4794 \begin_layout Itemize
4796 \begin_inset CommandInset ref
4806 \begin_layout Standard
4815 環境は順序が問題にならないようなリストを作るのに向いた環境です。
4818 \begin_layout Standard
4819 違うレベルでは違うシンボルがラベルとして使われると言いましたが、それを見てみましょう。次の例では4つのすべてのシンボルを使っています。
4822 \begin_layout Itemize
4831 \begin_layout Itemize
4832 2番目のレベルのシンボルはダッシュ(-)です。
4836 \begin_layout Itemize
4837 3番目のレベルのラベルはアステリスク(*)です。
4841 \begin_layout Itemize
4842 4番目のレベルのラベルは小さな黒丸です。
4846 \begin_layout Itemize
4851 \begin_layout Itemize
4856 \begin_layout Itemize
4860 \begin_layout Standard
4865 のラベルです。これらのラベルの出力中での表示は、
4867 文書\SpecialChar \menuseparator
4871 \begin_inset Index idx
4874 \begin_layout Plain Layout
4875 ふんしよ@文書!せってい@------設定
4884 メニューで変更することができます。これらの変更は、LyX中での表示には反映されません。
4887 \begin_layout Standard
4888 上の例を見ると、項目間の距離もレベルが増すに連れ減って行くのもわかると思います。環境を入れ子にする方法と、そうした場合のヒントが第
4889 \begin_inset CommandInset ref
4895 節で説明されてます。読むのを忘れないで下さい。
4898 \begin_layout Subsubsection
4900 \begin_inset Index idx
4903 \begin_layout Plain Layout
4910 \begin_inset CommandInset label
4919 \begin_layout Standard
4924 環境は番号付きのリストやアウトラインを作るための道具です。これは次のような性質を持っています。
4927 \begin_layout Enumerate
4928 各々の項目は数字またはアルファベットをラベルとして使います。
4932 \begin_layout Enumerate
4933 ラベルの種類は入れ子の深さによって異なります。
4937 \begin_layout Enumerate
4938 LyXが項目の数を数えてラベルを自動的につけ、必要ならば更新します。
4941 \begin_layout Enumerate
4946 環境に入ると項目の番号は1にリセットされます。
4949 \begin_layout Enumerate
4962 \begin_layout Enumerate
4963 項目のレベルに応じて左マージンが変わります。項目の長さはどんな長さでも大丈夫です。
4966 \begin_layout Enumerate
4967 入れ子の深さに応じて項目間のスペースを減らして行きます。
4970 \begin_layout Enumerate
4971 入れ子の深さに応じて異なるラベルを使います。
4974 \begin_layout Enumerate
4979 \begin_layout Standard
4988 は各項目に異なったラベルをつけます。次の例で
4992 の4段階のレベルにLyXがつけるラベルを見て下さい。
4995 \begin_layout Enumerate
4996 一番目のレベルでは後ろにピリオド(.)が付いたアラビア数字がラベルに使われます。
5000 \begin_layout Enumerate
5001 2番目のレベルでは括弧で囲まれた小文字のアルファベットが使われます。
5005 \begin_layout Enumerate
5006 3番目のレベルでは後ろにピリオドが付いた小文字のローマ数字が使われます。
5010 \begin_layout Enumerate
5011 4番目のレベルでは後ろにピリオドの付いた大文字のアルファベットが使われます。
5014 \begin_layout Enumerate
5015 項目間の距離は入れ子の深さが深くなるに連れて狭くなって行くのに注意して下さい。
5019 \begin_layout Enumerate
5024 \begin_layout Enumerate
5029 \begin_layout Enumerate
5033 \begin_layout Standard
5038 環境中で使用する連番の型を指定することができます。第
5039 \begin_inset CommandInset ref
5041 reference "sub:箇条書きの微調整"
5045 章をご参照ください。ここで指定したものは、出力中には反映されますが、LyX中では反映されません。
5048 \begin_layout Standard
5053 環境を入れ子にすることに関しては、さらに述べるべきことがあります。より詳しくは、第
5054 \begin_inset CommandInset ref
5063 \begin_layout Subsubsection
5065 \begin_inset Index idx
5068 \begin_layout Plain Layout
5077 \begin_layout Standard
5082 環境では項目に付けるラベルは決まっていません。そのかわりにLyXは項目の1行目の1番初めの「単語」をラベルに使うのです。例を見て下さい。
5085 \begin_layout Description
5093 \begin_layout Standard
5094 LyXはラベルをボールド体にして、ラベルと残りの部分の間にスペースを入れます。
5097 \begin_layout Standard
5098 1番初めの「単語」という意味は、ある項目の1行目にいるとき、最初に
5103 \begin_inset Flex Ruby
5106 \begin_layout Plain Layout
5108 \begin_inset Argument post:1
5111 \begin_layout Plain Layout
5122 が打たれたところでラベルが終了するということです。もしラベルに2語以上を使う必要がある場合には、
5129 arg "command-alternatives math-space ; space-insert protected"
5134 挿入\SpecialChar \menuseparator
5135 整形\SpecialChar \menuseparator
5139 \begin_inset CommandInset ref
5141 reference "sub:水平方向の空白"
5148 \begin_layout Description
5150 \begin_inset space ~
5160 \begin_layout Description
5165 環境は定義、定理のようなものに使ったらいいでしょう。ある言葉を残りのテキストより目立つようにしたい場合に使えばいいのです。あることを説明する文章全体を
5169 環境にいれるのはやめた方がいいでしょう。その場合には
5184 \begin_layout Description
5193 環境の中に入れたり、他のリストや別の環境の中に入れることができます。
5196 \begin_layout Standard
5197 注意ですが、LyXは2行目以降を1行目に対してオフセットするのに気をつけて下さい。
5200 \begin_layout Subsubsection
5202 \begin_inset Index idx
5205 \begin_layout Plain Layout
5206 かしようかき@箇条書き!lyxりすと@LyXリスト
5214 \begin_layout Standard
5219 環境はLyXがLaTeXを拡張したものです。
5222 \begin_layout Standard
5231 環境はそれぞれの項目にユーザーが決めたラベルをつけます。
5235 環境と他の3つの環境の違いを説明しましょう。
5238 \begin_layout Labeling
5239 \labelwidthstring 00.00.0000
5240 項目ラベル LyXは項目の最初の「単語」をラベルに使います。最初の行の初めての
5244 がラベルと残りのテキストとの区切りになります。もし2つ以上の単語をラベルに使いたい場合は以前に説明した
5251 \begin_layout Labeling
5252 \labelwidthstring 00.00.0000
5253 余白 見ればわかるように、LyXはラベルと項目の本文とでは違う余白を使います。項目の本文にはより大きな余白がつかわれ、それは既定のラベルの幅に少しスペースを追加
5257 \begin_layout Labeling
5258 \labelwidthstring 00.00.0000
5259 ラベル幅 ラベルの幅には、LyXは実際のラベルの幅と既定のラベルの幅を比べて大きい方を使います。もし実際の幅の方が大きければラベルは本文の1行目に食い込みます。
5260 つまり、1行目はそれ以降の行と異なる左余白になります。
5263 \begin_layout Labeling
5264 \labelwidthstring 00.00.0000
5269 環境のすべての項目の本文が、同じ左余白を持つように、既定のラベル幅を設定することができます。
5270 \begin_inset Newline newline
5273 既定の幅を変更するには、リストのすべての項目を選択して、
5275 編集\SpecialChar \menuseparator
5282 と書かれたボックス内の文字列が既定のラベル幅を決定します。もっとも長いラベルの文字列をそのまま入力するか、あるいは文字「M」を複数個入れてもいいでしょう。文字「
5283 M」はアルファベット中でもっとも幅の広い文字なので、LaTeXでは幅を表す標準単位として用いられているのです。「M」を幅の単位として用いていれば、
5292 \begin_inset Newline newline
5295 あらかじめ定められた既定幅は、「00.00.0000」の文字列と同じ長さ(6M相当)になっています。
5298 \begin_layout Standard
5307 と同じように、ある単語をその説明文から目立つようにしたい場合に使用してください。
5315 と同じことを別のレイアウトで実現する方法です。
5318 \begin_layout Standard
5327 環境の中に入れ子にすることができます。これは、他の箇条書き環境と同様の動作をします。入れ子についての詳細は、第
5328 \begin_inset CommandInset ref
5337 \begin_layout Standard
5342 環境には、もう一つ特徴があります。例でわかるように、LyXは、既定で項目ラベルを左揃えにします。
5346 を追加すれば、LyXのラベルのそろえ方を変更することができます。
5351 \begin_inset CommandInset ref
5353 reference "sub:水平方向の空白"
5357 節で説明します。いくつかの例を見てみましょう。
5360 \begin_layout Labeling
5361 \labelwidthstring 00.00.0000
5369 \begin_layout Labeling
5370 \labelwidthstring 00.00.0000
5371 \begin_inset space \hfill{}
5381 \begin_layout Labeling
5382 \labelwidthstring 00.00.0000
5383 \begin_inset space \hfill{}
5387 \begin_inset space \hfill{}
5397 \begin_layout Subsection
5399 \begin_inset CommandInset label
5406 \begin_inset Index idx
5409 \begin_layout Plain Layout
5410 かしようかき@箇条書き! のひちようせい@------の微調整
5418 \begin_layout Standard
5419 本節で述べられている機能を使用するには、文書設定で
5423 モジュールを読み込まなくてはなりません。これは、LaTeX-packageの
5428 \begin_inset Index idx
5431 \begin_layout Plain Layout
5432 latexはつけじ@LaTeXパッケージ ! enumitem
5440 \begin_layout Subsubsection
5442 \begin_inset Index idx
5445 \begin_layout Plain Layout
5446 かしようかき@箇条書き! れんはん@連番 ! のちようせい@------の調整
5454 \begin_layout Standard
5456 連番箇条書きの番号の振り方の既定値は、箇条書きの各階層における最初の項目に、非必須引数を加えることで(
5458 挿入\SpecialChar \menuseparator
5461 メニュー)変更することができます。そこに、TeXコードで(
5462 \begin_inset Flex Ruby
5465 \begin_layout Plain Layout
5467 \begin_inset Argument post:1
5470 \begin_layout Plain Layout
5491 \begin_layout Plain Layout
5493 \begin_inset CommandInset ref
5495 reference "sec:TeXコード"
5507 \begin_layout Standard
5515 \begin_layout Standard
5517 というコマンドを書き加えてください。ここで、
5521 は、第1階層の連番のカウンタです。コマンド
5527 は、このカウントを、小文字のローマ数字で出力します。大文字のローマ数字を使うには、上記コマンド中の
5539 に置き換えてください。アラビア数字にするには、
5545 を使用します。項目に、大文字もしくは小文字のラテン文字で「連番」を付けたい場合には、それぞれ
5560 \begin_layout Standard
5562 \begin_inset Note Greyedout
5565 \begin_layout Plain Layout
5570 連番は1文字に限られているので、ラテン文字では26項目までしか連番を振ることはできません。
5578 \begin_layout Standard
5579 箇条書きの下位階層の連番を変更するには、コマンド中の「i」を、階層番号の小文字ローマ数字で置き換えてください(enumi, enumii, enumiii,
5583 \begin_layout Standard
5587 \begin_layout Enumerate
5588 \begin_inset Argument 1
5591 \begin_layout Plain Layout
5595 \begin_layout Plain Layout
5617 \begin_layout Enumerate
5618 \begin_inset Argument 1
5621 \begin_layout Plain Layout
5625 \begin_layout Plain Layout
5644 \begin_layout Enumerate
5649 \begin_layout Enumerate
5650 \begin_inset Argument 1
5653 \begin_layout Plain Layout
5657 \begin_layout Plain Layout
5677 \begin_layout Enumerate
5678 \begin_inset Argument 1
5681 \begin_layout Plain Layout
5685 \begin_layout Plain Layout
5707 \begin_layout Standard
5708 上記リストでは、以下のようなコマンドが使用されています。
5711 \begin_layout Standard
5722 \begin_inset Newline newline
5730 \begin_inset Newline newline
5738 \begin_inset Newline newline
5748 \begin_layout Standard
5764 \begin_layout Standard
5765 \begin_inset Note Greyedout
5768 \begin_layout Plain Layout
5773 リスト階層のラベルを変更したときには、再度定義を変更するまで、それ以降のすべてのリストで、それがずっと使われます。
5781 \begin_layout Subsubsection
5783 \begin_inset Index idx
5786 \begin_layout Plain Layout
5787 かしようかき@箇条書き! れんはん@連番 ! のふつき@------の復帰
5795 \begin_layout Standard
5796 以下のように、あいだに段落をはさんで、連番を復帰させることができます。
5799 \begin_layout Enumerate
5800 \begin_inset Argument 1
5803 \begin_layout Plain Layout
5807 \begin_layout Plain Layout
5822 \begin_inset Note Note
5825 \begin_layout Plain Layout
5834 \begin_layout Enumerate
5838 \begin_layout Standard
5842 \begin_layout Enumerate-Resume
5846 \begin_layout Standard
5851 を使用してください。連番がLyX中に青色で表示されて、これが復帰連番であることを示し、LyX中での番号は正しくないけれども、出力中では正しくなることを強調します
5855 \begin_layout Standard
5856 \begin_inset Note Greyedout
5859 \begin_layout Plain Layout
5864 前に復帰すべき連番がない場合には、LaTeXエラーが発生します。
5872 \begin_layout Standard
5873 箇条書きの連番を復帰させる際、次の番号ではない番号に復帰させたかったり、新しい連番を、指定した番号から始めたいことがあるかもしれません。これも、通常の連番箇条書
5874 きの最初の項目に、非必須引数を加えることで実現できます。非必須引数として、
5877 \begin_layout Standard
5883 \begin_layout Standard
5884 というコマンドを入力してください。ここで、「番号」は箇条書きを開始したい番号です。例:
5887 \begin_layout Enumerate
5891 \begin_layout Enumerate
5895 \begin_layout Standard
5899 \begin_layout Enumerate
5900 \begin_inset Argument 1
5903 \begin_layout Plain Layout
5907 \begin_layout Plain Layout
5922 \begin_layout Subsubsection
5924 \begin_inset Index idx
5927 \begin_layout Plain Layout
5928 かしようかき@箇条書き ! のよはく@------の余白
5936 \begin_layout Standard
5937 ときには、箇条書きの項目間の垂直方向の余白を、調整したい場合があります。例えば、以下の例の既定の余白が、大きすぎると感じたとしましょう。
5940 \begin_layout Itemize
5944 \begin_layout Itemize
5948 \begin_layout Standard
5949 上記箇条書きの最初の項目に、非必須引数を加えることで余白を詰めることができます。下記の例のように、箇条書きに追加される余白をなくすには、非必須引数にコマンド
5956 \begin_layout Itemize
5957 \begin_inset Argument 1
5960 \begin_layout Plain Layout
5964 \begin_layout Plain Layout
5979 \begin_layout Itemize
5983 \begin_layout Itemize
5987 \begin_layout Standard
5988 余白を広げるには、LaTeXパッケージの
5993 \begin_inset Index idx
5996 \begin_layout Plain Layout
5997 latexはつけじ@LaTeXパッケージ ! enumitem
6002 で提供されている、いくつかのコマンドを使用することができます。詳しくは、取扱説明書
6003 \begin_inset CommandInset citation
6012 \begin_layout Standard
6013 水平方向の余白や行頭下げを変更するためにも、多くのコマンドが使えます。下記の例は、行頭下げを、文書中の段落の行頭下げと同じにし、ラベル分離幅を2
6014 \begin_inset space \thinspace{}
6017 cmにして、番号がページ余白に置かれるようにしたものです。
6020 \begin_layout Enumerate
6021 \begin_inset Argument 1
6024 \begin_layout Plain Layout
6028 \begin_layout Plain Layout
6032 parindent, labelsep=2cm
6045 \begin_layout Enumerate
6049 \begin_layout Subsubsection
6051 \begin_inset Index idx
6054 \begin_layout Plain Layout
6055 かしようかき@箇条書き ! のひちようせい@------の微調整
6063 \begin_layout Standard
6064 記述箇条書きのスタイルを変更することも可能です。コマンド
6067 \begin_layout Standard
6073 \begin_layout Standard
6074 は、記述ラベルのフォントを変更し、コマンド
6077 \begin_layout Standard
6083 \begin_layout Standard
6087 \begin_layout Standard
6091 \begin_layout Standard
6096 itshape, style=nextline
6099 \begin_layout Standard
6103 \begin_layout Description
6105 \begin_inset Argument 1
6108 \begin_layout Plain Layout
6112 \begin_layout Plain Layout
6114 labelindent=0pt, labelsep=1cm, font=
6116 itshape, style=nextline
6126 電離放射線は、電子を原子や分子から分離させるに十分なエネルギーを持つ、素粒子や電磁波から成ります。
6129 \begin_layout Description
6130 参照カウント: コンピュータ科学において、参照カウントは、オブジェクト・メモリブロック・ディスク容量・その他のリソースへの、参照やポインタやハンドルの数を保管し
6134 \begin_layout Standard
6140 \begin_inset Index idx
6143 \begin_layout Plain Layout
6144 latexはつけじ@LaTeXパッケージ ! enumitem
6149 で提供されるコマンドや機能は、他にもたくさんあります。詳細は、取扱説明書
6150 \begin_inset CommandInset citation
6159 \begin_layout Subsection
6164 \begin_layout Plain Layout
6165 訳注: ここでは英文書簡の書き方について説明しています。日本語の書簡の場合とは違いますが、英文で書簡を書く必要がある場合には便利です。
6171 \begin_inset Index idx
6174 \begin_layout Plain Layout
6183 \begin_layout Subsubsection
6187 \begin_layout Standard
6188 LyXには書簡向け文書クラスもありますが、それとは別に私たちは、
6196 という2つの段落環境も追加することにしました。LaTeXでletterクラスを使う場合には、決まった順序で決まった段落環境を使う必要がありました。これを間違える
6197 とLaTeXは文章を無茶苦茶にしてしまうのです。これに比べて
6205 環境は文章のどこにでも問題なく使うことができます。また他の環境の中に入れることもできるのです。ただし、他の環境を
6216 \begin_layout Standard
6229 環境はいくつかのヨーロッパの学術雑誌で使われる論文のタイトルを作るのに便利です。
6232 \begin_layout Subsubsection
6234 \begin_inset CommandInset label
6243 \begin_layout Standard
6248 環境は、書簡の受取人の住所用に文章を整形します。この書式は、国によっては、(例えばDear Leslieのような)書簡の書き出しや差出人のサインのための名前を書
6253 環境は、差出人の住所や国によっては今日の日付を書くために、文章を右に寄せて整形します。
6260 \begin_layout Right Address
6262 \begin_inset Newline newline
6266 \begin_inset Newline newline
6270 \begin_inset Newline newline
6276 \begin_layout Standard
6281 です。これを見ればわかるようにすべての行の左余白が揃っています。この左余白は、一番長い行が一行に収まるように、LyXが調整します。今度は
6288 \begin_layout Address
6290 \begin_inset Newline newline
6294 \begin_inset Newline newline
6300 \begin_layout Standard
6309 も次の段落との間に余白を追加します。これらの環境の中で
6313 を押すと、LyXは入れ子の階層を戻して、環境も
6325 関数のことであって、一方で住所の各行は段落ではありませんから、これは自然な挙動です。したがって、もし
6340 arg "newline-insert newline"
6349 整形文字\SpecialChar \menuseparator
6352 を選んで下さい)を使わなければなりません。
6355 \begin_layout Subsection
6359 \begin_layout Standard
6360 ほとんどの学術論文は、概要に始まり参考文献で終わります。LyXには、この2つのための段落環境もあります。
6363 \begin_layout Subsubsection
6365 \begin_inset Index idx
6368 \begin_layout Plain Layout
6377 \begin_layout Standard
6382 環境は、文字通り論文の概要を書くための環境です。この環境は文章のどこにでもおけるのですが、実際上はタイトルのすぐ後ろの本文の前におくべきです。
6386 環境はarticleまたはreport文書クラスにのみ有効です。bookクラスでは
6390 は完全に無視されますし、letter文書クラスで概要を使うのも、まったく馬鹿げたことでしょう。
6393 \begin_layout Standard
6398 環境がやってくれることを説明しましょう。第一に、「概要」というラベルを文章の上の中央につけてくれます。このラベルと要約との本文の間は広めのスペースによって分けら
6399 れます。第二に、概要には小さなフォントが使われます。最後に、概要とそれに続く文章の間にスペースを入れてくれます。以上は、LyX画面上での見え方です。実際の出力は
6400 、使っているのがarticleクラスであるかreportクラスであるかに依存します。
6403 \begin_layout Standard
6408 を押して新しい段落をはじめても環境は変わりません。新しい段落も
6412 環境の中です。だから概要を書き終った場合には、自分で段落環境を変える必要があります。
6415 \begin_layout Standard
6416 \begin_inset Float figure
6421 \begin_layout Plain Layout
6423 \begin_inset Graphics
6424 filename ../clipart/Abstract.pdf
6431 \begin_layout Plain Layout
6432 \begin_inset Caption Standard
6434 \begin_layout Plain Layout
6435 \begin_inset CommandInset label
6458 \begin_layout Standard
6463 環境の例を見せたいのですが、この取扱説明書が「book」クラスなのでできません。したがって第
6464 \begin_inset CommandInset ref
6466 reference "fig:概要環境内の段落"
6470 図として挿入しておきます。もし今まで概要を見たことも使ったことも無いのならこの環境を無視して大丈夫です。
6473 \begin_layout Subsubsection
6475 \begin_inset Index idx
6478 \begin_layout Plain Layout
6485 \begin_inset Index idx
6488 \begin_layout Plain Layout
6493 \begin_layout Plain Layout
6504 \begin_layout Plain Layout
6517 \begin_inset CommandInset label
6526 \begin_layout Standard
6531 環境は、書誌情報一覧を作るための環境です。この環境は文章のどこにでもおけるのですが、実際上は文章の終わりにおくべきです。
6535 環境を他の環境の中に入れたり、他の環境を
6539 環境の中に入れたりすると、動作しません。
6542 \begin_layout Standard
6547 環境を開くと、大きな垂直スペースの後に、文書クラスに依存して「Bibliography」や「References」といった見出しが、大きなボールドフォントで付け
6552 環境では、一つの段落が、一つの文献に対応しています。そのため、
6563 \begin_layout Standard
6564 他に、文書に書誌情報を入れる方法としては、------そして通常はこちらの方が良いと思われますが------BibTeXデータベースを使用する方法があります。こ
6565 れについての詳細と、LyXにおける書誌情報の取扱については、第
6566 \begin_inset CommandInset ref
6568 reference "sec:書誌情報"
6575 \begin_layout Subsection
6579 \begin_layout Standard
6580 LyXには、コンピュータのコンソール・端末やタイプライタの挙動をなぞらえるのに使われる環境が2つあります。
6583 \begin_layout Subsubsection
6587 \begin_inset Index idx
6590 \begin_layout Plain Layout
6597 \begin_inset CommandInset label
6606 \begin_layout Standard
6611 環境は、LyX独自の拡張です。この環境中では、文章は、タイプライタ様式のフォントで組版され、
6616 \begin_inset Flex Ruby
6619 \begin_layout Plain Layout
6621 \begin_inset Argument post:1
6624 \begin_layout Plain Layout
6639 \begin_layout Plain Layout
6665 環境は、LyX中で空白を連続して入れることのできる唯一の環境です。ただし空白行を入れたい場合には
6668 arg "newline-insert newline"
6683 で段落環境がリセットされるわけではありません。そのため
6687 環境を終わる場合には、自分で段落環境を変える必要があります。また
6691 環境を他の環境の中へ入れることができます。
6694 \begin_layout Standard
6695 この環境には、少しわかりにくい、いくつかの癖があります。
6698 \begin_layout Itemize
6702 arg "newline-insert newline"
6712 arg "newline-insert newline"
6718 \begin_layout Itemize
6721 arg "newline-insert newline"
6731 arg "command-alternatives math-space ; space-insert protected"
6737 \begin_layout Itemize
6738 何も入っていない段落や何も入っていない行を作ることはできません。空白にしたい行には、少なくとも一つの
6742 を入れて下さい。さもないと LaTeXがエラーを起こします。
6745 \begin_layout Itemize
6748 \begin_inset Quotes eld
6757 引用符が入力されてしまうので、タイプライタの二重引用符は入力できません。タイプライタの二重引用符を入力したい場合には
6760 arg "self-insert \""
6766 \begin_layout Standard
6770 \begin_layout LyX-Code
6774 \begin_layout LyX-Code
6778 \begin_layout LyX-Code
6782 \begin_layout LyX-Code
6786 \begin_layout LyX-Code
6787 printf("Hello World!
6792 \begin_layout LyX-Code
6796 \begin_layout LyX-Code
6800 \begin_layout Standard
6801 これは標準的な「Hello world!」のプログラムです。
6804 \begin_layout Standard
6809 の目的はただ一つ、プログラムソースやシェルスクリプトなどのコードを組版することです。この環境は、タイプライタを使ったような文字列を生成する必要があるような、非常
6810 に特別な場合にのみ使って下さい。長いプログラムコードについては、取扱説明書『埋込オブジェクト篇』の「
6814 」の節に説明されているリスト差込枠を使用してください。
6815 \begin_inset Index idx
6818 \begin_layout Plain Layout
6819 だんらく@段落!かんきょう@------環境
6832 \begin_layout Plain Layout
6847 \begin_layout Subsubsection
6849 \begin_inset Index idx
6852 \begin_layout Plain Layout
6859 \begin_inset Index idx
6862 \begin_layout Plain Layout
6863 むちょうせい@無調整(verbatim)
6871 \begin_layout Standard
6880 に類似の環境ですが、中身がコンピュータのコンソールテキストのように取り扱われる点が異なります。つまり、
6896 鍵は、(保護された空白ではなく)文中の通常の空白として取り扱われ、空白行を作ることもできます。
6904 環境では以下のことを行うことができません。
6907 \begin_layout Itemize
6911 \begin_layout Itemize
6912 ハイパーリンク・ボックス・脚注・傍注・注釈・数式・引用・目次項目・用語項目・ラベル・表・図・プログラムリスト・フロート・TeXコードを入れること
6915 \begin_layout Standard
6920 はタイプライタのように動作します。以下がその用例です。
6923 \begin_layout Verbatim
6924 これは無調整(verbatim)環境です。
6927 \begin_layout Verbatim
6933 \begin_layout Verbatim
6937 \begin_layout Verbatim
6941 \begin_layout Verbatim
6942 右記の各文字を始め、ほぼすべての文字が使えます。例:"%&$§#~'`
6947 \begin_layout Section
6949 \begin_inset Index idx
6952 \begin_layout Plain Layout
6953 いれこ@入れ子!かんきょうの@環境の------
6959 \begin_inset CommandInset label
6968 \begin_layout Subsection
6972 \begin_layout Standard
6973 LyXは、本文を特定の文脈と性質をもった統合されたかたまりとして取り扱います。これによって、あるかたまりが他のかたまりの性質の一部を引き継ぐようにすることができ
6974 ます。たとえば、文書構造に3つの論点があるものとして、第2の論点には2つの小論点があるものとしてください。つまり、あるリストの中に別のリストが入っていて、内部リ
6975 ストは第2項目に「組み込まれて」いるのです。
6978 \begin_layout Enumerate
6982 \begin_layout Enumerate
6987 \begin_layout Enumerate
6991 \begin_layout Enumerate
6996 \begin_layout Enumerate
7000 \begin_layout Standard
7001 一つのリストに他のリストを入れ子で入れれば、リストの中にリストを入れることができます。環境を入れ子にするのはたいへん簡単です。現在の段落の入れ子の階層を変えるに
7014 を選びます(ステータスバーに入れ子の階層が表示されます)。メニューの代わりに、ツールバーボタン
7017 arg "depth-increment"
7023 arg "depth-decrement"
7027 \begin_inset Flex Ruby
7030 \begin_layout Plain Layout
7032 \begin_inset Argument post:1
7035 \begin_layout Plain Layout
7057 arg "depth-increment"
7063 arg "depth-decrement"
7066 を使用することができます。この変更は、事前に選択した部分があれば、その部分に対して作用し(これによって複数の段落の入れ子の階層を一度に変えることができます)、そ
7067 うでなければ現在の段落に対して働きます。
7070 \begin_layout Standard
7071 LyXは、入れ子の階層を変えることが有効な場合にしか、変更を許さないことに注意してください。有効でない場合には、入れ子の階層を変えようとしても何も起こりません。
7072 また、ある段落の階層を変更すると、その段落に入れ子として入っているすべての段落の階層にも影響を与えます。
7075 \begin_layout Standard
7076 入れ子が可能なのは、リストに限られているわけではありません。LyXでは、これから見て行くようにほとんどの環境の中に、ほとんどの環境を入れることができます。これが
7077 環境を入れ子にすることの本当の利点なのです。
7080 \begin_layout Subsection
7084 \begin_layout Standard
7085 段落環境の一覧をお見せする前に、どのように入れ子が機能するか、もう少しお話しする必要があります。
7088 \begin_layout Standard
7089 段落環境を入れ子にできるかどうかという質問は、単純にイエス・ノーで答えられるよりも、もう少し複雑なのです。段落環境には、3つの型があります。
7092 \begin_layout Itemize
7096 \begin_layout Itemize
7097 完全に入れ子にできる、すなわち、自分の中へ他の環境を入れることも、他の環境の中に入ることも可能なもの
7100 \begin_layout Itemize
7101 第3の型、すなわち、他の環境の中に入れることはできるが、自分の中に他の環境を入れることができないもの
7104 \begin_layout Standard
7105 以下は、入れ子の挙動の3つの型と、それぞれに属する段落環境の一覧です。
7108 \begin_layout Description
7109 入れ子にできないもの 他の環境を入れることも、他の環境に入ることもできないもの。
7113 \begin_layout Itemize
7119 \begin_layout Itemize
7125 \begin_layout Itemize
7131 \begin_layout Itemize
7137 \begin_layout Itemize
7144 \begin_layout Description
7145 完全に入れ子にできるもの 他の環境を入れることも、他の環境に入ることもできるもの。
7149 \begin_layout Itemize
7155 \begin_layout Itemize
7161 \begin_layout Itemize
7167 \begin_layout Itemize
7173 \begin_layout Itemize
7179 \begin_layout Itemize
7185 \begin_layout Itemize
7191 \begin_layout Itemize
7197 \begin_layout Itemize
7204 \begin_layout Description
7205 他の環境に入れるもの 他の環境には入れるが、他の環境を入れることができないもの。
7209 \begin_layout Itemize
7215 \begin_layout Itemize
7221 \begin_layout Itemize
7227 \begin_layout Itemize
7235 \begin_layout Itemize
7241 \begin_layout Itemize
7247 \begin_layout Itemize
7255 \begin_layout Itemize
7261 \begin_layout Itemize
7267 \begin_layout Itemize
7271 \begin_layout Itemize
7277 \begin_layout Itemize
7283 \begin_layout Itemize
7289 \begin_layout Itemize
7295 \begin_layout Itemize
7302 \begin_layout Standard
7303 \begin_inset Note Greyedout
7306 \begin_layout Plain Layout
7318 などのように番号の振られた節見出しを箇条書きなどに入れ子にすることはできますが、それは行わないことを強く推奨します。通常の植字のガイドラインに従って、正しく構造
7319 化された文書を作成するのが目的ですから、節見出しを入れ子にすることはそれに反するのです。
7327 \begin_layout Subsection
7328 他のものを入れ子にする:表・数式・フロートなど
7329 \begin_inset Index idx
7332 \begin_layout Plain Layout
7333 いれこ@入れ子!ひょうなどの@表などの------
7341 \begin_layout Standard
7342 段落環境ではないけれども、入れ子化によってなんらかの影響を受けるものがあります。そういったものに、
7345 \begin_layout Itemize
7349 \begin_layout Itemize
7353 \begin_layout Itemize
7357 \begin_layout Standard
7359 \begin_inset Note Greyedout
7362 \begin_layout Plain Layout
7381 \begin_inset CommandInset ref
7383 reference "sec:フロート"
7390 \begin_layout Standard
7391 LyXは、これら3つのオブジェクトを、単語か段落として扱うことができます。図表や数式を行中に入れた場合には、これらは属する段落が行くところに一緒について行きます
7395 \begin_layout Standard
7396 けれども、図表や数式がそれ自身の「段落」を構成している場合には、「従属のみ可能な」段落環境として扱われます。つまり、これを他の段落環境の中に入れることはできます
7397 が、他の段落環境の親になることはできません。
7400 \begin_layout Standard
7404 \begin_layout Enumerate
7409 \begin_layout Enumerate
7414 \begin_layout Standard
7415 \begin_inset VSpace 0.3cm
7421 \begin_layout Standard
7423 \begin_inset Tabular
7424 <lyxtabular version="3" rows="2" columns="2">
7425 <features rotate="0" tabularvalignment="middle">
7426 <column alignment="center" valignment="top" width="0pt">
7427 <column alignment="center" valignment="top" width="0pt">
7429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7432 \begin_layout Plain Layout
7438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7441 \begin_layout Plain Layout
7449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7452 \begin_layout Plain Layout
7458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7461 \begin_layout Plain Layout
7475 \begin_layout Standard
7476 \begin_inset VSpace 0.3cm
7483 \begin_layout Enumerate
7484 これは(b)。表は(a)の中に入れ子になっています。
7488 \begin_layout Enumerate
7492 \begin_layout Standard
7493 もし表を(a)の中に入れ子にしなければ次のようになります。
7496 \begin_layout Enumerate
7501 \begin_layout Enumerate
7506 \begin_layout Standard
7507 \begin_inset VSpace 0.3cm
7513 \begin_layout Standard
7515 \begin_inset Tabular
7516 <lyxtabular version="3" rows="2" columns="2">
7517 <features rotate="0" tabularvalignment="middle">
7518 <column alignment="center" valignment="top" width="0pt">
7519 <column alignment="center" valignment="top" width="0pt">
7521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7524 \begin_layout Plain Layout
7530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7533 \begin_layout Plain Layout
7541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7544 \begin_layout Plain Layout
7550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7553 \begin_layout Plain Layout
7567 \begin_layout Standard
7568 \begin_inset VSpace 0.3cm
7574 \begin_layout Enumerate
7575 これは(b)。表は(a)の中に入れ子になって
7578 \begin_inset Flex Ruby
7581 \begin_layout Plain Layout
7585 \begin_inset Argument post:1
7588 \begin_layout Plain Layout
7600 \begin_inset Flex Ruby
7603 \begin_layout Plain Layout
7607 \begin_inset Argument post:1
7610 \begin_layout Plain Layout
7622 \begin_inset Flex Ruby
7625 \begin_layout Plain Layout
7629 \begin_inset Argument post:1
7632 \begin_layout Plain Layout
7644 \begin_inset Flex Ruby
7647 \begin_layout Plain Layout
7651 \begin_inset Argument post:1
7654 \begin_layout Plain Layout
7670 \begin_layout Enumerate
7674 \begin_layout Standard
7675 項目(b)が、入れ子になっていないだけでなく、新規箇条書きの最初の項目になってしまっていることに注意してください。
7678 \begin_layout Standard
7679 ここで、表を入れ子にしたものの、入れ子の深さが不十分だった、というのもよくある失敗です。この場合、LyXは、表の後のものを、すべて新規の下層箇条書きにしてしまい
7683 \begin_layout Enumerate
7688 \begin_layout Enumerate
7692 \begin_layout Standard
7693 \begin_inset VSpace 0.3cm
7699 \begin_layout Standard
7701 \begin_inset Tabular
7702 <lyxtabular version="3" rows="2" columns="2">
7703 <features rotate="0" tabularvalignment="middle">
7704 <column alignment="center" valignment="top" width="0pt">
7705 <column alignment="center" valignment="top" width="0pt">
7707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7710 \begin_layout Plain Layout
7716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7719 \begin_layout Plain Layout
7727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7730 \begin_layout Plain Layout
7736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7739 \begin_layout Plain Layout
7753 \begin_layout Standard
7754 \begin_inset VSpace 0.3cm
7760 \begin_layout Enumerate
7761 これは(b)。上表は、項目1の入れ子にはしてあるものの、(a)の入れ子になって
7764 \begin_inset Flex Ruby
7767 \begin_layout Plain Layout
7771 \begin_inset Argument post:1
7774 \begin_layout Plain Layout
7786 \begin_inset Flex Ruby
7789 \begin_layout Plain Layout
7793 \begin_inset Argument post:1
7796 \begin_layout Plain Layout
7808 \begin_inset Flex Ruby
7811 \begin_layout Plain Layout
7815 \begin_inset Argument post:1
7818 \begin_layout Plain Layout
7830 \begin_inset Flex Ruby
7833 \begin_layout Plain Layout
7837 \begin_inset Argument post:1
7840 \begin_layout Plain Layout
7857 \begin_layout Enumerate
7861 \begin_layout Standard
7866 新しいリストの初めの項目になってしまいました。これと同じことは図でも数式でも起こります。したがって、図表や数式を入れ子にする場合は、正しい階層に設定するように気
7870 \begin_layout Subsection
7874 \begin_layout Subsubsection
7878 \begin_layout Standard
7879 階層に関しては、LyXは6段階の階層の入れ子まで扱うことができます。つまり、「第6階層」がもっとも内側の階層です。例で見てみましょう。
7882 \begin_layout Enumerate
7887 \begin_layout Enumerate
7892 \begin_layout Enumerate
7897 \begin_layout Enumerate
7902 \begin_layout Itemize
7907 \begin_layout Itemize
7916 \begin_layout Standard
7917 6段階という入れ子の上限には2つの例外があり、それはすでに上の例に示されています。完全に入れ子にできる他の環境と違って、
7925 環境では、4段階までしか入れ子にできません。例えば、上の例で項目Aの中に、さらに
7929 環境を入れようとするとエラーになります。
7932 \begin_layout Subsection
7934 \begin_inset Index idx
7937 \begin_layout Plain Layout
7938 いれこ@入れ子!のれい@------の例
7946 \begin_layout Standard
7947 入れ子で何ができるのかを説明するには、例をお見せするのが一番でしょう。以下にいくつかの入れ子の例を挙げます。これらでは、真似をしやすいように、私たちがどうやって
7948 これらの例を作ったかが説明してあります。
7951 \begin_layout Subsubsection
7952 例1: 6段階の入れ子と異なった環境の入れ子
7955 \begin_layout Labeling
7956 \labelwidthstring 00.00.0000
7965 \begin_layout Labeling
7966 \labelwidthstring 00.00.0000
7970 arg "paragraph-break inverse"
7976 arg "depth-increment"
7983 \begin_layout Labeling
7984 \labelwidthstring 00.00.0000
7994 arg "depth-increment"
7999 を2回続けて押しました。前の階層で行ったように、
8002 arg "paragraph-break inverse"
8008 arg "depth-increment"
8015 \begin_layout Standard
8016 ここは「#3-a」の中に入れ子になっている
8020 環境です。つまり第4階層になります。私たちはこれを作るのに、
8023 arg "paragraph-break inverse"
8029 arg "depth-increment"
8036 にしました。1段落を超えるリスト項目を作りたいときは、このようにしてください。この方法は、
8051 \begin_layout Standard
8059 arg "paragraph-break inverse"
8065 \begin_layout Labeling
8066 \labelwidthstring 00.00.0000
8070 arg "paragraph-break inverse"
8081 環境の中には他の環境を入れることはできません。そのため、ここではまだ第4階層に留まらざるを得ないのです。しかし以下のように、「#3-a」の中にさらに深い階層を作
8090 \begin_layout Labeling
8091 \labelwidthstring 00.00.0000
8092 #5-a ここは第5階層です\SpecialChar \ldots{}
8097 \begin_layout Labeling
8098 \labelwidthstring 00.00.0000
8099 #6-a \SpecialChar \ldots{}
8100 そして第6階層です。もうこの2つをどうやって作ったかは、想像できるでしょう。
8104 \begin_layout Labeling
8105 \labelwidthstring 00.00.0000
8109 arg "paragraph-break inverse"
8115 arg "depth-decrement"
8122 \begin_layout Labeling
8123 \labelwidthstring 00.00.0000
8127 arg "paragraph-break inverse"
8133 arg "depth-decrement"
8140 \begin_layout Labeling
8141 \labelwidthstring 00.00.0000
8143 第3階層に戻りました。もうこれをどうやって作ったかは、明らかでしょう。
8147 \begin_layout Labeling
8148 \labelwidthstring 00.00.0000
8153 \begin_layout Labeling
8154 \labelwidthstring 00.00.0000
8155 #1-b ついにもっとも外側の階層に帰って来ました。この文章の後に
8166 \begin_layout Standard
8187 環境を使っても、まったく同じようにできます。
8190 \begin_layout Subsubsection
8194 \begin_layout LyX-Code
8195 ここはLyXコード環境で、第1階層すなわちもっとも外側の階層です。これから私たちは
8204 arg "depth-increment"
8217 \begin_layout Enumerate
8225 \begin_layout Enumerate
8234 )から余白を継承しただけでなく、フォントや行間も継承したことに留意してください!
8238 \begin_layout Standard
8243 を押して上の例を終わりました。その後、段落環境を
8250 arg "depth-decrement"
8253 を一回押して入れ子の階層をリセットする必要がありました。
8256 \begin_layout Subsubsection
8257 例3:ラベルと階層、および箇条書き(連番)と箇条書き(記号)環境
8258 \begin_inset Argument 1
8261 \begin_layout Plain Layout
8270 \begin_layout Enumerate
8275 段落環境の第1階層です。ここへ箇条書きを入れ子にしていきます。
8279 \begin_layout Enumerate
8283 arg "paragraph-break inverse"
8289 arg "depth-increment"
8296 環境を入れるとどうなるでしょうか。第3階層になるはずですが、ラベルはどうなるでしょうか。星印でしょうか。
8300 \begin_layout Itemize
8309 環境なので、ラベルが黒丸になるのです(ここに来るには、
8312 arg "paragraph-break inverse"
8318 arg "depth-increment"
8329 \begin_layout Itemize
8333 arg "paragraph-break inverse"
8339 arg "depth-increment"
8346 \begin_layout Enumerate
8347 …第5階層に来ます。しかし今度は段落環境を
8355 になっていることに留意してください。3重めの
8374 \begin_layout Enumerate
8379 入れ子の階層を減らしていくと、どうなるでしょうか。どの型の連番をLyXは使うでしょうか。
8382 \begin_layout Enumerate
8386 arg "paragraph-break inverse"
8389 だけを押して現在の環境と階層を維持しながら新しい項目を作ってみましょう。
8392 \begin_layout Enumerate
8396 arg "paragraph-break inverse"
8402 arg "depth-increment"
8409 \begin_layout Enumerate
8410 ここは第4階層です。どの型のラベルをLyXが使っているか見てください!
8414 \begin_layout Enumerate
8415 ここは第3階層です。階層を変更したのに、LyXはまだ小文字のローマ数字をラベルとして使用しています。なぜでしょうか。
8418 \begin_layout Enumerate
8419 それは入れ子の階層が変わっても、この段落は
8426 環境の3重めだからです。ただし、LyXは連番のカウンタを
8434 \begin_layout Enumerate
8438 arg "paragraph-break inverse"
8444 arg "depth-decrement"
8447 を使って第2階層に戻りました。今度は入れ子の階層を変更しただけでなく、2重めの
8455 \begin_layout Enumerate
8459 arg "paragraph-break inverse"
8465 arg "depth-decrement"
8468 を押してもっとも外側の第1階層に戻ると、同じことが起こります。
8471 \begin_layout Standard
8476 にリセットしました。この例でわかるように、階層番号は、LyXが
8484 環境でどの型のラベルを使うかには対応していません。
8492 環境が外側にいくつあるかに依存してラベルが選ばれます。このルールは
8499 \begin_layout Subsubsection
8503 \begin_layout Enumerate
8504 ここではおたくと化してみましょう。他の例のように何段階にも入れ子にはしませんし、詳細に作り方の説明はしません(第1階層:
8512 \begin_layout Standard
8522 arg "depth-increment"
8531 :第2階層)この例をどのように作ったかは、要約した説明を括弧の中に入れてどこかに置いておくことに留めることにします。例えば、この段落では2つの
8532 \begin_inset Flex Ruby
8535 \begin_layout Plain Layout
8537 \begin_inset Argument post:1
8540 \begin_layout Plain Layout
8551 割り当ては、階層の変更のしかたを示し、環境名は、現在の環境の名前を示しています。その前か後に階層を示すことにします。
8555 \begin_layout Enumerate
8560 :第1階層)ここはリスト中、第2の項目です。
8566 \begin_inset Newline newline
8570 \begin_inset Newline newline
8580 arg "depth-increment"
8592 \begin_inset Newline newline
8596 \begin_inset Newline newline
8602 arg "paragraph-break inverse"
8613 \begin_layout Standard
8614 \begin_inset VSpace 0.3cm
8620 \begin_layout Standard
8622 \begin_inset Tabular
8623 <lyxtabular version="3" rows="2" columns="2">
8624 <features rotate="0" tabularvalignment="middle">
8625 <column alignment="center" valignment="top" width="0pt">
8626 <column alignment="center" valignment="top" width="0pt">
8628 <cell alignment="center" valignment="top" usebox="none">
8631 \begin_layout Plain Layout
8637 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8640 \begin_layout Plain Layout
8648 <cell alignment="center" valignment="top" topline="true" usebox="none">
8651 \begin_layout Plain Layout
8657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8660 \begin_layout Plain Layout
8679 arg "paragraph-break inverse"
8689 arg "depth-increment"
8695 arg "paragraph-break inverse"
8705 arg "depth-decrement"
8712 \begin_layout Enumerate
8721 :第1階層)ここは第3の項目です。上では、
8725 を選んだときに入れ子の階層が第1階層にリセットされてしまうので、入れ子の階層を3段階下げて、表を
8732 \begin_layout Quotation
8741 へ変更しました。まだ第1階層のままです。これから、環境を複合的に使うことでできることをいくつかお見せしたいと思います。以下の各段落は「引用書簡」です。この段落の
8750 を両方入れ子にして、書簡の本体には、入れ子にした別の
8757 arg "paragraph-break inverse"
8771 arg "newline-insert newline"
8774 を使う必要があることを忘れないで下さい。
8778 \begin_layout Right Address
8780 \begin_inset Newline newline
8783 Moosegroin, MT 00100
8784 \begin_inset Newline newline
8790 \begin_layout Address
8794 \begin_layout Quotation
8795 不慮の事故のために、ご注文頂いた圧縮メタンガス50リットルを期日中にお届けできないことをお許し下さい。不幸にして、我が社の牛が数匹、まったく不可思議なことに爆発
8796 してしまったため、メタンの注文処理に時間を要しております。お名前を出荷待ちリストに登録しておりますので、できるかぎり早くお届け致したく思っております。ご迷惑をお
8800 \begin_layout Quotation
8801 お詫びに、今回特別に牛肉を特別価格で販売致しております。お入り用の際は、同封の注文用紙に御記入の上、小切手とともにお送りください。
8804 \begin_layout Quotation
8805 最後に、ご迷惑をお掛けしておりますことを深くお詫びいたします。
8808 \begin_layout Address
8810 \begin_inset Newline newline
8817 \begin_layout Quotation
8821 \begin_layout Standard
8822 以上から、LyXで環境の入れ子を使えば、たった数
8823 \begin_inset Flex Ruby
8826 \begin_layout Plain Layout
8828 \begin_inset Argument post:1
8831 \begin_layout Plain Layout
8842 で、さまざまなことができるのがおわかりいただけると思います。
8862 を入れることも簡単にできます。膨大な選択肢を自由にお使いいただけるのです。
8865 \begin_layout Subsection
8867 \begin_inset Index idx
8870 \begin_layout Plain Layout
8877 \begin_inset CommandInset label
8886 \begin_layout Standard
8887 同じ型の環境を2つ続ける必要のあることがあります。例えば、以下のように2つの別々の連番箇条書きが必要だとしましょう。
8890 \begin_layout Enumerate
8895 \begin_layout Enumerate
8900 \begin_layout Enumerate
8904 \begin_layout --Separator--
8908 \begin_layout Itemize
8914 \begin_layout --Separator--
8918 \begin_layout Enumerate
8922 \begin_layout Enumerate
8926 \begin_layout Enumerate
8930 \begin_layout Standard
8931 箇条書きが、単一の箇条書きではなく、別々のものだとLyXに教えるには、カーソルを最後の項目の終わりにおいて、
8933 編集\SpecialChar \menuseparator
8936 メニューを選択します。すると、環境分離線が挿入され、その後に新規箇条書きが置かれます。この代わりに、
8938 編集\SpecialChar \menuseparator
8941 メニューを選択したとすると、やはり新規箇条書きが作られますが、同じ深度に置かれます。
8944 \begin_layout Standard
8945 既存の箇条書きを2つに分けるには、箇条書き項目の後ろにカーソルを置いて、
8948 arg "paragraph-break"
8951 を押し、LyXのメインツールバーにある環境プルダウンボックスから
8958 \begin_layout Section
8960 \begin_inset Index idx
8963 \begin_layout Plain Layout
8972 \begin_layout Standard
8973 空白とは何でしょうか。通常のワードプロセッサでは、二つの単語を分離したいと思ったときには、いつでもスペース
8974 \begin_inset Flex Ruby
8977 \begin_layout Plain Layout
8979 \begin_inset Argument post:1
8982 \begin_layout Plain Layout
8993 を押すことに慣れてしまったかもしれませんが、LyXはもっと多様な空白を提供します。すなわち、さまざまな幅の空白と、行末で分割可能な空白および分割不可能な空白です
8994 。以下の各節では、これらの空白が有用な例をお見せしましょう。
8997 \begin_layout Subsection
8999 \begin_inset CommandInset label
9006 \begin_inset Index idx
9009 \begin_layout Plain Layout
9010 くうはく@空白!ほごされた@保護された------
9018 \begin_layout Standard
9019 保護された空白とは。LyX(およびLaTeX)に、行をこの場所で分割しないように指示するために用いられます。これは、次のような「ツイていない」改行を避けるのに必
9025 \begin_inset Quotes erd
9029 \begin_inset Newline newline
9033 \begin_inset CommandInset ref
9035 reference "sec:書誌情報"
9040 \begin_inset Quotes erd
9046 \begin_layout Standard
9048 \begin_inset CommandInset ref
9050 reference "sec:書誌情報"
9054 」のあいだに保護された空白を挿入した方がよいでしょう。保護された空白は、
9056 挿入\SpecialChar \menuseparator
9057 整形\SpecialChar \menuseparator
9061 \begin_inset Flex Ruby
9064 \begin_layout Plain Layout
9066 \begin_inset Argument post:1
9069 \begin_layout Plain Layout
9083 arg "command-alternatives math-space ; space-insert protected"
9089 \begin_layout Subsection
9091 \begin_inset CommandInset label
9098 \begin_inset Index idx
9101 \begin_layout Plain Layout
9102 くうはく@空白!すいへいほうこうの@水平方向の------
9110 \begin_layout Standard
9113 挿入\SpecialChar \menuseparator
9114 整形\SpecialChar \menuseparator
9117 メニューで挿入することができます。長さの単位の一覧が、付録
9118 \begin_inset CommandInset ref
9120 reference "cha:LyXで使用できる単位"
9127 \begin_layout Subsubsection
9129 \begin_inset CommandInset label
9136 \begin_inset Index idx
9139 \begin_layout Plain Layout
9140 くうはく@空白!たんごかんの@単語間の------
9148 \begin_layout Standard
9149 タイプライターの普及にしたがって、文末に少し広い空白を入れる印刷上の慣習をまねるために、句点の後に空白を二つ入れるのが慣習となった国があります。LyXは、この慣
9150 習を自動的に反映しますので、空白を二つ入れる必要はありません。しかしながら、短縮形の後の句点の後には文末空白を入れたくはありません(第
9151 \begin_inset CommandInset ref
9157 節の例を参照)。通常の空白を入力するには、
9159 挿入\SpecialChar \menuseparator
9160 整形\SpecialChar \menuseparator
9164 \begin_inset Flex Ruby
9167 \begin_layout Plain Layout
9169 \begin_inset Argument post:1
9172 \begin_layout Plain Layout
9188 arg "space-insert normal"
9196 \begin_layout Subsubsection
9198 \begin_inset CommandInset label
9205 \begin_inset Index idx
9208 \begin_layout Plain Layout
9217 \begin_layout Standard
9218 「小空白(thin space)」は、通常の空白の半分の大きさを持つ空白です(そして同時に「保護されて」います)。多くの言語において、例えば略語内部でのように、
9219 通常の空白では広すぎる場合に小空白を用いることが、印刷上の慣習として推奨されています。例えば、
9224 \begin_inset space \thinspace{}
9228 Knuthは、我々の愛する組版プログラムを開発しました。
9231 \begin_layout Standard
9232 のような場合や、数値と単位の間の空白などです。次の例を比較してください。
9233 \begin_inset Newline newline
9237 \begin_inset space \thinspace{}
9241 \begin_inset Newline newline
9247 \begin_layout Standard
9250 挿入\SpecialChar \menuseparator
9251 整形\SpecialChar \menuseparator
9255 \begin_inset Flex Ruby
9258 \begin_layout Plain Layout
9260 \begin_inset Argument post:1
9263 \begin_layout Plain Layout
9277 arg "space-insert thin"
9283 \begin_layout Subsubsection
9287 \begin_layout Standard
9288 さらに、以下のような型の空白が使用できます。
9291 \begin_layout Description
9292 負の小空白 この行は、矢印の間に負の小空白
9293 \begin_inset Formula $\rightarrow$
9297 \begin_inset space \negthinspace{}
9301 \begin_inset Formula $\leftarrow$
9307 \begin_layout Description
9308 負の中空白 この行は、矢印の間に負の中空白
9309 \begin_inset Formula $\rightarrow$
9313 \begin_inset space \negmedspace{}
9317 \begin_inset Formula $\leftarrow$
9323 \begin_layout Description
9324 負の大空白 この行は、矢印の間に負の大空白
9325 \begin_inset Formula $\rightarrow$
9329 \begin_inset space \negthickspace{}
9333 \begin_inset Formula $\leftarrow$
9339 \begin_layout Description
9341 \begin_inset space ~
9345 \begin_inset space \thinspace{}
9348 em) この行は、矢印の間に8分の1空白(0.5em)
9349 \begin_inset Formula $\rightarrow$
9353 \begin_inset space \enskip{}
9357 \begin_inset Formula $\leftarrow$
9363 \begin_layout Description
9365 \begin_inset space ~
9369 \begin_inset space \thinspace{}
9372 em) この行は、矢印の間に4分の1空白(1
9373 \begin_inset space \thinspace{}
9377 \begin_inset Formula $\rightarrow$
9381 \begin_inset space \quad{}
9385 \begin_inset Formula $\leftarrow$
9391 \begin_layout Description
9393 \begin_inset space ~
9397 \begin_inset space \thinspace{}
9400 em) この行は、矢印の間に2分の1空白(2
9401 \begin_inset space \thinspace{}
9405 \begin_inset Formula $\rightarrow$
9409 \begin_inset space \qquad{}
9413 \begin_inset Formula $\leftarrow$
9419 \begin_layout Description
9420 ユーザ設定の空白 この行は、矢印の間に2センチの空白
9421 \begin_inset Formula $\rightarrow$
9425 \begin_inset space \hspace{}
9430 \begin_inset Formula $\leftarrow$
9436 \begin_layout Standard
9438 \begin_inset CommandInset ref
9440 reference "tab:空白の幅"
9447 \begin_layout Standard
9448 \begin_inset Float table
9453 \begin_layout Plain Layout
9455 \begin_inset Caption Standard
9457 \begin_layout Plain Layout
9458 \begin_inset CommandInset label
9472 \begin_layout Plain Layout
9474 \begin_inset Tabular
9475 <lyxtabular version="3" rows="10" columns="2">
9476 <features rotate="0" tabularvalignment="middle">
9477 <column alignment="center" valignment="top">
9478 <column alignment="center" valignment="top">
9480 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9483 \begin_layout Plain Layout
9491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9494 \begin_layout Plain Layout
9504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9507 \begin_layout Plain Layout
9513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9516 \begin_layout Plain Layout
9518 \begin_inset space \thinspace{}
9528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9531 \begin_layout Plain Layout
9537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9540 \begin_layout Plain Layout
9542 \begin_inset space \thinspace{}
9552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9555 \begin_layout Plain Layout
9561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9564 \begin_layout Plain Layout
9566 \begin_inset space \thinspace{}
9576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9579 \begin_layout Plain Layout
9585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9588 \begin_layout Plain Layout
9590 \begin_inset space \thinspace{}
9594 \begin_inset Formula $\thinspace=\thinspace$
9598 \begin_inset space \thinspace{}
9608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9611 \begin_layout Plain Layout
9617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9620 \begin_layout Plain Layout
9622 \begin_inset space \thinspace{}
9632 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9635 \begin_layout Plain Layout
9641 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9644 \begin_layout Plain Layout
9646 \begin_inset space \thinspace{}
9656 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9659 \begin_layout Plain Layout
9661 \begin_inset space \thinspace{}
9669 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9672 \begin_layout Plain Layout
9674 \begin_inset space \thinspace{}
9684 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9687 \begin_layout Plain Layout
9689 \begin_inset space \thinspace{}
9697 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9700 \begin_layout Plain Layout
9702 \begin_inset space \thinspace{}
9712 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9715 \begin_layout Plain Layout
9717 \begin_inset space \thinspace{}
9725 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9728 \begin_layout Plain Layout
9730 \begin_inset space \thinspace{}
9751 \begin_layout Subsubsection
9753 \begin_inset Index idx
9756 \begin_layout Plain Layout
9765 \begin_layout Standard
9766 水平フィル(HFill)は、統一された方法で空白を追加する特別な機能です。水平フィルは、左余白と右余白の間に残されている空白部分とつねに等しい長さの、可変式の空
9767 白を生成します。もし2つ以上の水平フィルを同一行に入れると、残されている余白を各水平フィルで均等に分割します。
9770 \begin_layout Standard
9771 水平フィルでできる例をいくつか示しましょう。
9777 \begin_inset space \hfill{}
9786 \begin_inset space \hfill{}
9790 \begin_inset space \hfill{}
9799 \begin_inset space \hfill{}
9803 \begin_inset space \hfill{}
9807 \begin_inset space \hfill{}
9813 \begin_layout Standard
9819 \begin_inset Formula $\rightarrow$
9823 \begin_inset space \hfill{}
9827 \begin_inset Formula $\leftarrow$
9830 は、標準段落の中での例です。印刷した取扱説明書でははっきりと分からないかもしれませんが、2つの矢印の
9837 \begin_layout Standard
9838 空白ダイアログでフィルパターンを選ぶと、水平フィルを見えるようにすることができます。使用できるパターンは以下のとおりです。
9841 \begin_layout Standard
9843 \begin_inset space \dotfill{}
9847 \begin_inset space ~
9853 \begin_layout Standard
9855 \begin_inset space \hrulefill{}
9859 \begin_inset space ~
9865 \begin_layout Standard
9867 \begin_inset space \leftarrowfill{}
9871 \begin_inset space ~
9877 \begin_layout Standard
9879 \begin_inset space \rightarrowfill{}
9883 \begin_inset space ~
9889 \begin_layout Standard
9891 \begin_inset space \downbracefill{}
9895 \begin_inset space ~
9901 \begin_layout Standard
9903 \begin_inset space \upbracefill{}
9907 \begin_inset space ~
9913 \begin_layout Standard
9914 \begin_inset Note Greyedout
9917 \begin_layout Plain Layout
9922 もし水平フィルが行頭にあり、しかも段落の1行目ではない場合、LyXはそれを無視します。これは、水平フィルが間違って新規行に折り返すことを防ぐためです。このような
9923 場合に、どうしても空白を入れたい場合には、空白ダイアログで
9935 \begin_layout Subsubsection
9937 \begin_inset CommandInset label
9944 \begin_inset Index idx
9947 \begin_layout Plain Layout
9956 \begin_layout Standard
9957 ときには、あるフレーズと同じ長さの空白がほしい場合があるでしょう。例えば、次のような三択問題を作りたいと思うかもしれません。
9960 \begin_layout Standard
9961 \begin_inset VSpace medskip
9965 \begin_inset Newline newline
9969 \begin_inset Newline newline
9973 \begin_inset space ~
9976 Edge would have been jumps the gun.
9977 \begin_inset Newline newline
9981 \begin_inset Phantom HPhantom
9984 \begin_layout Plain Layout
9992 \begin_inset Newline newline
9996 \begin_inset Phantom HPhantom
9999 \begin_layout Plain Layout
10007 \begin_inset VSpace medskip
10013 \begin_layout Standard
10015 \begin_inset space ~
10019 \begin_inset space ~
10022 」というフレーズの直後に表示されます。このようにするには、メニュー
10024 挿入\SpecialChar \menuseparator
10025 整形\SpecialChar \menuseparator
10028 で挿入される埋め草差込枠を使用します。この例では、最後の2行の最初に水平埋め草を挿入し、埋め草差込枠に「Mr.
10029 \begin_inset space ~
10033 \begin_inset space ~
10036 」と挿入します(「Edge」の後に空白があることに注意)。埋め草差込枠は、その内容と同じ空白のみを(場所取りとして)出力します。これが「埋め草」の名の由来です。
10037 通常の埋め草は、内容と同じ幅と高さの空白を出力し、水平埋め草や垂直埋め草は、その方向の空白のみを出力します。
10040 \begin_layout Subsection
10042 \begin_inset CommandInset label
10049 \begin_inset Index idx
10052 \begin_layout Plain Layout
10053 くうはく@空白!すいちょくほうこうの@垂直方向の------
10061 \begin_layout Standard
10064 挿入\SpecialChar \menuseparator
10065 整形\SpecialChar \menuseparator
10068 ダイアログを使って下さい。そこでは以下のような各寸法が利用可能です。
10071 \begin_layout Standard
10084 は、文書のフォント寸法に依存したLaTeX寸法です。
10090 文書\SpecialChar \menuseparator
10093 \SpecialChar \menuseparator
10099 \begin_inset Index idx
10102 \begin_layout Plain Layout
10103 ふんしよ@文書!せってい@------設定
10108 で段落の分離用に指定したスキップの大きさです。もし段落の区切りに字下げを使用していれば、
10119 \begin_layout Standard
10125 \begin_inset Index idx
10128 \begin_layout Plain Layout
10143 は、1ページの中で空白が最大になるように設定される可変空白です。例えば、1ページ内に2つだけ短い段落があり、間に垂直フィルがあるとしましょう。すると、段落間の空
10144 白は最大化されるように調整されるので、第1段落はページの最上部に配置され、第2段落は最下部に配置されます。
10156 \begin_layout Plain Layout
10162 \begin_inset CommandInset ref
10164 reference "sub:水平方向の空白"
10173 。1ページ内に残っている垂直方向の余白を空白で埋めるのです。複数の
10177 が同一ページ内にある場合には、それらの垂直フィル間に余白が均等に配分されます。ですから
10181 は、文章をページの中央に配置したり、あるいはページの上から2/3の所に配置したりするのに用いることができます。
10184 \begin_layout Standard
10190 \begin_inset CommandInset ref
10192 reference "cha:LyXで使用できる単位"
10196 にある単位で指定された任意の長さの空白です。
10199 \begin_layout Standard
10200 \begin_inset Note Greyedout
10203 \begin_layout Plain Layout
10204 備考:もし水平フィルが、出力されたページの先頭や最後にきてしまう場合、
10208 オプションが選択されているときのみ、空白が出力されます。
10216 \begin_layout Subsection
10220 \begin_layout Standard
10223 編集\SpecialChar \menuseparator
10226 ダイアログで変更することができます。選択肢は5つあります。
10229 \begin_layout Itemize
10235 \begin_inset Flex Ruby
10238 \begin_layout Plain Layout
10240 \begin_inset Argument post:1
10243 \begin_layout Plain Layout
10257 arg "paragraph-params \\align block"
10263 \begin_layout Itemize
10271 arg "paragraph-params \\align left"
10277 \begin_layout Itemize
10285 arg "paragraph-params \\align right"
10291 \begin_layout Itemize
10299 arg "paragraph-params \\align center"
10305 \begin_layout Itemize
10313 arg "paragraph-params \\align default"
10319 \begin_layout Standard
10324 です。この場合、単語間の空白の長さは、段落の各行がちょうど左余白から右余白までの領域を埋めるように自動調整されます。他の3つの配置は、ほぼ自明ですが以下のように
10328 \begin_layout Standard
10333 \begin_layout Standard
10338 \begin_layout Standard
10343 \begin_layout Subsection
10345 \begin_inset Index idx
10348 \begin_layout Plain Layout
10373 \begin_inset CommandInset label
10382 \begin_layout Standard
10383 もしLaTeXが決定する改頁の位置が気に入らなければ、希望の箇所で強制的に改頁することができます。たいていLaTeXの改頁は適切なので、これが必要になることは通
10388 を多用しすぎた場合に限っては、LaTeXの改頁アルゴリズムがうまく行かないことがあります。
10391 \begin_layout Standard
10392 強制改頁は、文章を書き終わって、プレビューで
10396 改頁を変更する必要があることを確認するまでは、行なわないことをお勧めします。
10399 \begin_layout Standard
10400 改頁には2つの種類があります。一つは、特定の動作をすることなく頁を終えるものです。これは、
10402 挿入\SpecialChar \menuseparator
10403 整形\SpecialChar \menuseparator
10406 メニューを使って、段落の前または後に挿入することができます。
10408 挿入\SpecialChar \menuseparator
10409 整形\SpecialChar \menuseparator
10412 メニューを使って挿入することができる、もう一つ型は、ページの内容をページ全体を埋めるように引き延ばしてから頁を終えるものです。この型は、改頁によって最後の二三行
10413 だけが足らない頁ができてしまうときに巨大な空白ができるのを避けられるので、便利です。
10416 \begin_layout Standard
10417 図や表が、確実に頁の一番上にくるようにするために改頁を使おうと思うかもしれませんが、これは明らかに間違った方法です。LyXには、図表の前後に何が来ようとも、頁の
10418 一番上(あるいは一番下や独立した頁)に、図表を確実に自動配置する方法があるのです。第
10419 \begin_inset CommandInset ref
10421 reference "cha:フロートと注釈"
10432 \begin_layout Subsubsection
10434 \begin_inset CommandInset label
10441 \begin_inset Index idx
10444 \begin_layout Plain Layout
10445 かいぺじ@改頁!かいだん@改段------
10453 \begin_layout Standard
10454 改頁をした後の内容が、次頁からすぐ始まる強制改頁のようでなく、改頁をすると同時に頁を改段することができます。改段するとはつまり、現在の段落を終了すると同時に、そ
10455 の後にここまでの全てのフロートを、まだ処理されていないものを含めて、また必要ならば頁を追加して、すべて出力することをいいます。
10458 \begin_layout Standard
10461 挿入\SpecialChar \menuseparator
10462 整形\SpecialChar \menuseparator
10465 メニューで挿入することができます。bookのような両面文書の場合に、改段改頁を挿入すると同時に、次の頁が右頁(奇数頁)から始まるように、必要に応じて頁を追加する
10468 挿入\SpecialChar \menuseparator
10469 整形\SpecialChar \menuseparator
10475 \begin_layout Subsection
10477 \begin_inset Index idx
10480 \begin_layout Plain Layout
10487 \begin_inset CommandInset label
10496 \begin_layout Standard
10497 改頁と同様に、改行にも2つの種類があります。一つは単純に行を代えるものです。
10499 挿入\SpecialChar \menuseparator
10500 整形\SpecialChar \menuseparator
10506 arg "newline-insert newline"
10509 を押すと、段落内でこの改行を強制することができます。もう一つの種類は、
10511 挿入\SpecialChar \menuseparator
10512 整形\SpecialChar \menuseparator
10518 arg "newline-insert linebreak"
10521 で挿入できるもので、改行すると同時に、その行を頁余白の間の空間をちょうど埋めるように伸長させます。これは、改行によって生み出されてしまう余白によって、両端揃えの
10522 段落に「へり」ができてしまうのを避けるために必要なのです。
10525 \begin_layout Standard
10526 LaTeXの改行はたいへん良くできているので、LaTeXの改行を正そうと強制改行を使うのは止めた方がよいでしょう。しかしながら、詩や住所などのように、改行を多用
10527 設定することが必要であるような状況は多く存在します(第
10528 \begin_inset CommandInset ref
10535 \begin_inset CommandInset ref
10542 \begin_inset CommandInset ref
10544 reference "sec:住所の使い方"
10551 \begin_layout Subsection
10553 \begin_inset CommandInset label
10560 \begin_inset Index idx
10563 \begin_layout Plain Layout
10572 \begin_layout Standard
10574 \begin_inset CommandInset line
10585 \begin_layout Standard
10589 挿入\SpecialChar \menuseparator
10590 整形\SpecialChar \menuseparator
10593 のダイアログで水平線を挿入することができます。オフセットは、線と現在の本文行あるいは段落のベースラインとの間の垂直距離です。水平線の設定は、線上で左クリックをす
10597 \begin_layout Standard
10599 \begin_inset CommandInset line
10610 \begin_layout Section
10614 \begin_layout Standard
10615 お使いのキーボードから入力することのできる全ての文字は、直接入力することができます。また、例えばフランス語に必要な文字を英語キーボードで入力することができるよう
10616 に、特別なキーボード配置表を使用することもできます。これを実現するための情報は、第
10617 \begin_inset CommandInset ref
10619 reference "sub:キーボード配置表"
10626 \begin_layout Standard
10627 お使いのキーボードにない文字が必要な場合には、
10629 挿入\SpecialChar \menuseparator
10630 特殊文字\SpecialChar \menuseparator
10640 \begin_layout Standard
10641 \begin_inset Note Greyedout
10644 \begin_layout Plain Layout
10649 LyX設定で特定の画面フォントを使用している場合、記号ダイアログで挿入した文字がうまく表示できないことがあります。しかし出力においては、どんな場合も、挿入した記
10658 \begin_layout Section
10660 \begin_inset CommandInset label
10662 name "sec:フォントと文字様式"
10669 \begin_layout Subsection
10671 \begin_inset Index idx
10674 \begin_layout Plain Layout
10675 ふぉんと@フォント ! のしゅるい@------の種類
10683 \begin_layout Standard
10687 \begin_layout Description
10689 \begin_inset Index idx
10692 \begin_layout Plain Layout
10693 ふぉんと@フォント ! べくたー@ベクター------
10698 は、フォント内の単一グリフ(すなわち文字)の輪郭(アウトライン)から生成されたフォントです。各グリフは、要求のあったどんなフォント寸法にもうまく伸縮することが
10699 できるような、数学的に定義された曲線で定義されています。この数学による定義は、フォント解析器によって解釈され、寸法やグリフに応じて曲線部分がピクセルで埋め尽くさ
10700 れます。これによって、輪郭フォントは、全ての寸法においてたいへん美しい出力を得ることができます。ひじょうに小さい寸法においては、よいイメージを得るためには各ピク
10701 セルがたいへん注意深く計算されなくてはならないので、そのようなひじょうに小さい寸法においてだけは、よいレンダリング(解析結果)を得ることは難しいかもしれません。
10702 \begin_inset Newline newline
10705 すると、一つのフォント寸法のみを定義して、それを伸縮するだけでいいと思われるかもしれませんが、よい品質を得るために、多くのフォントはいくつかのフォント寸法を定義
10706 しています。大きいフォントにおいては、小さいフォントよりも細部の情報を必要とするので、これによって出力を改善することができます。
10707 \begin_inset Newline newline
10721 \begin_inset space ~
10726 といった種類のフォントが、ベクターフォントになります。
10729 \begin_layout Description
10731 \begin_inset Index idx
10734 \begin_layout Plain Layout
10735 ふぉんと@フォント ! びっとまっぷ@ビットマップ------
10740 は、反対に最初からビットマップ画像として定義されているので、定義されている寸法に対しては、すべてよい出力を得ることができます。しかしながら、グリフを伸長しよう
10741 と思うと、一ピクセルが数ピクセル分に拡大されてしまうので、ビットマップフォントは伸長に対しては強くありません。これは、画像編集プログラムで、画像を拡大しようとし
10742 たときに起こるのと同じ現象です。この現象を軽減するために、ビットマップフォントは通常、8ピクセルあたりから34ピクセル程度まで段階的に、必要に応じていくつかの固
10743 定寸法で提供されています。ビットマップフォントの利点は、各グリフを表示するのに複雑な計算を必要としないので、伸縮可能フォントよりも表示速度が速い点です。欠点は、
10744 フォントに固定寸法がない大きさでは、ピクセルを等倍して拡大表示しなくてはならないので、表示が汚くなる点です。
10745 \begin_inset Newline newline
10748 ビットマップフォントは、PostScript文書やPDF文書では、
10751 \begin_inset space ~
10759 \begin_layout Standard
10760 これらのことから、指定した大きさがフォント寸法として用意されている場合にはビットマップフォントが最適ですが、ほとんどすべての大きさに対して良好な結果をもたらすの
10761 は、伸縮可能フォントであることが分かります。伸縮可能フォントでは、少数のフォント寸法に対して定義が必要となるだけです。ほとんどすべてのテキスト表示プログラム・組
10762 版プログラムが、伸縮可能フォントを用いているのはそのためです。
10765 \begin_layout Standard
10766 PDF文書でどのフォントが用いられているかを確かめるためには、文書特性を参照してください。
10769 \begin_layout Standard
10770 最近の組版言語やマークアップ言語の多くでは、特定のフォントを指定するよりも文字様式を指定するようになってきています。例えば文章を強調するのに、現在のフォントのイ
10771 タリック体版に変更する代わりに、「強調形式」を用います。この考え方は、LyXに完璧に適合しています。なぜなら、LyXでは組版の微細な点に焦点を合わせるのではなく
10775 \begin_layout Subsection
10777 \begin_inset CommandInset label
10779 name "sub:LaTeXフォントサポート"
10786 \begin_layout Standard
10787 伝統的に、LaTeXは固有のフォントを使用します。つまり、お使いの基本ソフトウェアに導入されているフォントに直接アクセスすることはできず、LaTeX頒布版が提供
10788 する特定のフォントを使用する必要があります。これは、LaTeXではフォントに関する追加的な情報が必要とされるため、これらを追加的なファイルやパッケージとして提供
10789 する必要があるためです。この方法の欠点は、通常のワードプロセッサに較べて、フォントの選択肢がある程度制限されてしまうことです。その一方で、提供されているフォント
10790 は一般的に非常に高品質であり、システムが異なってもLaTeXファイルを容易に移転できるという利点が付いてきます。また一方で、伝統的なLaTeXでサポートされてい
10791 るフォントの範囲は大幅に増加し、多くの有償無償のフォントを扱うパッケージが存在します。LyXは、フリーライセンスのフォントは、ユーザーインタフェースでサポートし
10793 \begin_inset CommandInset ref
10795 reference "sub:文書フォント"
10799 節をご覧ください)。他のフォントについては、文書プリアンブルにLaTeXコードを入力すれば、すべて使用することができます(使用したいフォントの取扱説明書を参照し
10803 \begin_layout Standard
10804 さらに最近の発展により、お使いの基本ソフトウェア(OS)に導入されているフォントに直接アクセスすることのできる、XeTeXやLuaTeXのような新しいLaTeX
10805 エンジンももたらされています。これらのエンジンも、LyXは現在サポートしています。これらを使えば、理論的には、システムに導入されているすべてのOpenType・
10806 TrueTypeフォントを使用することができます。次節で、これらのOSフォントの使用法を説明します。
10809 \begin_layout Standard
10810 \begin_inset Note Greyedout
10813 \begin_layout Plain Layout
10818 実際には、粗悪なメトリックや、フォントが持つ他の欠損によって使えないフォントもあります。したがって、まずは試験してみる必要があります。
10826 \begin_layout Standard
10827 \begin_inset Note Greyedout
10830 \begin_layout Plain Layout
10835 XeTeXと特にLuaTeXは、比較的新しいので、伝統的なLaTeXやPDFLaTeXほどは成熟していません。
10843 \begin_layout Subsection
10845 \begin_inset CommandInset label
10852 \begin_inset Index idx
10855 \begin_layout Plain Layout
10856 ふぉんと@フォント ! すんぽう@------寸法
10864 \begin_layout Standard
10867 文書\SpecialChar \menuseparator
10871 \begin_inset Index idx
10874 \begin_layout Plain Layout
10875 ふんしよ@文書!せってい@------設定
10880 ダイアログで設定することができます。ダイアログの
10884 セクションでは、3つのフォント族 — ローマン(セリフ)体・
10892 (等幅)体 — に使用するフォントを指定することができ、サンセリフ体・タイプライタ体フォントをローマン体フォントと合わせる必要があるときのための縮尺因子と、ベー
10893 スフォント寸法を指定することができます。
10896 \begin_layout Standard
10903 \begin_layout Plain Layout
10912 を有効にすると、ご使用の基本ソフトウェアに導入されているフォントにアクセスすることができるようになります。このためには、出力書式として、
10920 \begin_layout Plain Layout
10939 \begin_layout Plain Layout
10958 \begin_layout Plain Layout
10969 を使用する必要があるため、XeTeXかLuaTeXが導入済でなくてはなりません(第
10970 \begin_inset CommandInset ref
10972 reference "sub:LaTeXフォントサポート"
10976 節参照)。この際、TeX自身のフォント(後述)にはアクセスできなくなります。LyXはフォント族を同定することができないので、利用可能なフォントすべてが、ローマン
10977 体・セリフ体・タイプライタ体の3つのリストすべてに列挙されてしまっていることに注意してください。また、リスト中のフォントの一部には、フォントのエンコーディングや
10978 フォントの瑕疵のせいで、出力を失敗させてしまうものがあるかもしれません。これも、LyXは事前に同定することができないので、ユーザーが試験してみる必要があります。
10981 \begin_layout Standard
10986 とお使いのシステムで利用可能なフォントの一覧が表示されます。
10993 \begin_inset space ~
11004 European Computer Modern
11010 )と呼ばれる TeXの標準フォントを使います。
11013 \begin_layout Standard
11022 はビットマップフォントですので、PDF出力では、とりわけ拡大して読むときに、出力のぎざぎざがめだつことがよくあります
11026 \begin_layout Plain Layout
11030 \begin_inset space ~
11035 第6版以降でPDFを読むようにすれば、特別なビットマップフォントレンダラーを備えているので、この問題は発生しません。
11040 。ぎざぎざフォントをなくすには、ベクターフォントを用いなくてはなりません。以下の3つの方法がありますので、いずれかを選択してください。
11043 \begin_layout Itemize
11047 \begin_inset space ~
11060 の外見を維持したい場合に推奨される方法です。
11063 \begin_inset space ~
11068 フォントは、LaTeXコミュニティにおいて、
11072 に代わる既定フォントとするべく開発されたものです。これは、非常に広い範囲のグリフと複数のフォント形を含んでおり、外観の改善された若干の細部を除き、
11075 \begin_inset space ~
11088 \begin_layout Plain Layout
11089 One difference is improved kerning。
11097 \begin_layout Itemize
11101 \begin_inset space ~
11105 \begin_inset space ~
11113 \begin_inset space ~
11118 フォントが使用できないか、うまく動作しない(稀な)ケースにおいて、
11126 の外見をエミュレートしたいときに選択してください。
11130 は仮想フォントです。仮想というのは、これが他のフォントから
11134 輪郭グリフを「拝借」してくるからです。これには、フランス語のギュメ(「«」や「»」)をはじめとするいくつかの文字が欠落していること
11138 \begin_layout Plain Layout
11144 \begin_inset Index idx
11147 \begin_layout Plain Layout
11148 latexはつけじ@LaTeXパッケージ ! aeguill
11156 \begin_layout Plain Layout
11159 usepackage[ec]{aeguill}
11160 \begin_inset Newline newline
11163 として読み込むと、ギュメの問題は解消されます。
11176 文字から構築されるという欠点があります。したがって、
11180 フォントを用いた文書では、アクセント付き文字を含む単語を検索することはできません。例えば、仮にPDFで「brève」という仏単語を検索したとしても、PDFビュー
11181 アは「è」というグリフを検索するのであって、「 e +
11182 \begin_inset space ~
11185 ` 」というグリフを検索するわけではないので、検索結果としては何も得られないでしょう。
11188 \begin_layout Itemize
11200 \begin_inset space ~
11209 のような、提供されている他のベクターフォントを選択することももちろんできます。ほとんどのローマン体ベクターフォントは、対応するサンセリフ体やタイプライタ体フォン
11214 \begin_layout Plain Layout
11215 これは、ときに単に他のフォントを対応させることもあれば(
11218 \begin_inset space ~
11230 \begin_inset space ~
11238 \begin_inset space ~
11243 のように、同じフォントの他の形、すなわち真のフォント
11252 、自分自身で指定することもできます。ローマン体・
11261 \begin_inset CommandInset ref
11263 reference "sub:文字微調整"
11268 \begin_inset Newline newline
11274 \begin_inset space ~
11279 フォントは、元々新聞用にデザインされたものです。したがって、狭い新聞の列幅に納まるように、そのグリフは他のフォントのグリフよりも小さくなっています。そのため、
11282 \begin_inset space ~
11287 は書籍のような大規模な文書には適していません。
11290 \begin_layout Standard
11307 の4つの値が使用可能です。クラスによっては、他の寸法を提供しているものもあります。
11311 の寸法は使用するクラスに依存します。標準的なクラスでは、これはフォント寸法10になっています。
11314 \begin_layout Standard
11319 を指しています。LyXは、この寸法を基準に、(脚注や上付き・下付き文字などの)他のすべてのフォント寸法を決めます。必要ならば、文章部分のフォント寸法は、
11323 ダイアログで微調整することができます。文章部分で使うことができるフォント寸法は、第
11324 \begin_inset CommandInset ref
11326 reference "sub:文字微調整"
11333 \begin_layout Standard
11338 では、文書の基本フォントをローマン体にするのか、サンセリフ体にするのか、あるいはタイプライタ体にするのかを指定することができます。これを
11342 にすると、クラスの事前設定値を使用し、他のものを選択するとこれを上書きします。ほとんどの場合、
11350 ですが、(プレゼンテーションクラスなどの)クラスのうちには他の既定値を使用するものもあります。
11353 \begin_layout Standard
11360 \begin_layout Plain Layout
11369 は、熟練者用の設定項目であり、これによってLaTeXパッケージ
11374 \begin_inset Index idx
11377 \begin_layout Plain Layout
11378 latexはつけじ@LaTeXパッケージ ! fontenc
11384 \begin_inset CommandInset ref
11386 reference "sub:LaTeX-設定"
11390 節も参照のこと)。通常、これを変更する必要は(理解する必要も)ありません。特別な理由がない限り、
11397 \begin_layout Standard
11406 のチェックボックスが有効になっていることがあります。これは、一部のフォントが提供する追加機能です。もし
11410 にチェックを付けると、フォントは旧様式数字(中世数字やテキスト数字とも呼ばれます)、すなわち小文字とうまくマッチするような、多様な高さを持つ数字を使用します。
11414 を指定すると、大文字を縮小した疑似スモールキャップ体ではなく、真のスモールキャップ体を使用します。真のスモールキャップ体は、熟練者用フォントセットにはよく含まれ
11415 ています。これらは、疑似スモールキャップ体よりも見栄えがよいですが、一方お金を払って購入しなくてはなりません。
11418 \begin_layout Standard
11423 フィールドでは、日中韓言語ユーザーが文字を表示するのに使用するフォントを指定することができます。
11427 \begin_layout Plain Layout
11432 LaTeXパッケージのコマンドに対する引数になります。したがって、
11440 文書言語に対しては、影響をもちません。
11446 \begin_inset Index idx
11449 \begin_layout Plain Layout
11450 latexはつけじ@LaTeXパッケージ ! CJK
11458 \begin_layout Standard
11459 \begin_inset VSpace bigskip
11463 \begin_inset Note Greyedout
11466 \begin_layout Plain Layout
11467 備考:新しくフォントやフォント寸法を選んでも、LyXの画面上のフォントは変化
11471 。印字出力をして初めて、変化がわかるようになっています。これはWYSIWYMの考え方の一部なのです。LyXの画面フォントは、
11473 ツール\SpecialChar \menuseparator
11476 ダイアログで調整することができます。第
11477 \begin_inset CommandInset ref
11479 reference "sub:画面フォント"
11491 \begin_layout Subsection
11495 \begin_layout Standard
11496 LaTeXでは、数式中の文字に用いられるフォントは、文書フォントとは異なります。文書中でTeXフォントを使用している場合には、
11498 文書\SpecialChar \menuseparator
11502 \begin_inset Index idx
11505 \begin_layout Plain Layout
11506 ふんしよ@文書!せってい@------設定
11511 ダイアログで、明示的に数式フォントを選択することができます。既定の設定では、LyXが自動的に数式フォントを選択します。ほとんどの場合、これはLaTeXの既定値、
11515 \begin_inset space ~
11520 」族の数式版になります。LyXが、これ以外の数式フォントを自動的に読み込むのは、文書フォントの数式版が利用可能なときのみです。
11523 \begin_layout Standard
11529 \begin_inset Flex Ruby
11532 \begin_layout Plain Layout
11534 \begin_inset Argument post:1
11537 \begin_layout Plain Layout
11560 を数式に挿入することで入力することができます)。また、数式フォントの一部はサンセリフ体ですので、文書本文がセリフ体で数式文字がサンセリフ体だと、変な文書になって
11561 しまうかもしれません。したがって、ほとんどの場合、サンセリフ体の数式フォントは、文書フォント設定の
11572 \begin_layout Standard
11573 文書に非TeXフォントを使用している場合、文書クラスの既定TeXフォント(多くの場合「
11576 \begin_inset space ~
11581 」)か、既定フォントの非TeX版(多くの場合「
11584 \begin_inset space ~
11589 」)しか、数式フォントに指定することはできません。
11592 \begin_layout Subsection
11594 \begin_inset Index idx
11597 \begin_layout Plain Layout
11606 \begin_layout Standard
11607 すでに見たように、LyXは、ある特定の段落環境では自動的に文字様式を変更します。LyXは、
11615 の2つの文字様式をサポートしています。これらは、
11616 \begin_inset Flex Ruby
11619 \begin_layout Plain Layout
11621 \begin_inset Argument post:1
11624 \begin_layout Plain Layout
11635 割り当て・メニュー・ツールバーのいずれかを使って有効にすることができます。
11638 \begin_layout Standard
11643 形式を有効にするには、以下のいずれかを行ってください。
11646 \begin_layout Itemize
11656 \begin_layout Itemize
11666 \begin_layout Standard
11667 これらのコマンドは、すべて入切切り替えになっています。つまり、
11671 形式がすでに有効になっている場合に、これらのコマンドを使うと、
11678 \begin_layout Standard
11683 形式は、固有の人名を表記するのに使われます。例えば、
11684 \begin_inset Quotes eld
11691 is the original author of LyX.
11692 \begin_inset Quotes erd
11698 \begin_layout Standard
11707 形式を有効にする(または無効にする - これも入切切り替えです)には、以下のようにしてください。
11710 \begin_layout Itemize
11720 \begin_layout Itemize
11730 \begin_layout Standard
11735 形式は、イタリック体(日本語ではゴシック体)と同じですが、文書クラスやLaTeXパッケージによっては、別のフォントが用いられることもあります。
11738 \begin_layout Standard
11743 形式を使ってきましたが、もう一つ例を挙げておきます。
11746 \begin_layout Quotation
11749 Don't overuse character styles!
11752 \begin_layout Quotation
11758 \begin_layout Standard
11759 これは例であると同時に、文字通りの警告でもあります。文章は日常会話と同じように考えられなくてはなりません。お互いにつねに叫びあって話をしないように、文字様式をつ
11760 ねに濫用するような傾向は避けなくてはなりません。
11763 \begin_layout Standard
11772 編集\SpecialChar \menuseparator
11773 文字様式\SpecialChar \menuseparator
11779 arg "dialog-show character"
11782 )ダイアログを使えば、いつでも戻せます。
11785 \begin_layout Subsection
11787 \begin_inset CommandInset label
11794 \begin_inset Index idx
11797 \begin_layout Plain Layout
11806 \begin_layout Standard
11807 なにか微調整を行わなくてはならない状況はつねに起こり得ますので、LyXは特製文字様式を作る方法を備えています。例えば、学術雑誌や企業によっては、特定の状況ではサ
11808 ンセリフフォントを使うように要求する書式を指定しているかもしれませんし、ある作家は、登場人物の心の声を通常の会話と区別するために、別のフォントを用いるようにして
11812 \begin_layout Standard
11813 特製文字様式について説明を残すにあたって、いま一度、注意を促しておきたいと思います------文字様式は濫用しないでください!
11814 \begin_inset Newline newline
11817 様々なフォントやフォント寸法を多用した文書は、けっして読みやすくなく、誰かが大穴を打ち込んだかのように見えるものです。
11820 \begin_layout Standard
11823 編集\SpecialChar \menuseparator
11824 文字様式\SpecialChar \menuseparator
11830 arg "dialog-show character"
11833 を押してください。このダイアログには、各フォント特性を選択できるようにいくつかのボックスがあります。これらの特性について選択肢を選ぶか、現在の特性を維持したい項
11842 を選ぶと、その特性を既定値に戻します。これは、複数の段落環境にわたる属性を一度にリセットするのにも使用することができます。
11845 \begin_layout Standard
11857 \begin_layout Labeling
11858 \labelwidthstring 00.00.0000
11867 \begin_layout Labeling
11868 \labelwidthstring 00.00.0000
11873 This is the Roman font family. これがローマン・フォント族です。 通常はセリフフォントです。またこれが既定のフォント族になっていま
11875 \begin_inset Flex Ruby
11878 \begin_layout Plain Layout
11880 \begin_inset Argument post:1
11883 \begin_layout Plain Layout
11903 \begin_layout Labeling
11904 \labelwidthstring 00.00.0000
11911 This is the Sans Serif font family.
11914 これがサンセリフ・フォント族です。(鍵割り当て:
11923 \begin_layout Labeling
11924 \labelwidthstring 00.00.0000
11931 This is the Typewriter font family.
11934 これがタイプライタ・フォント族です。(鍵割り当て:
11937 arg "font-typewriter"
11944 \begin_layout Labeling
11945 \labelwidthstring 00.00.0000
11950 これは印字の太さに対応しています。選択肢は
11954 \begin_layout Labeling
11955 \labelwidthstring 00.00.0000
11960 This is the Medium font series.
11961 これがミディアム体の太さです。これが既定の太さです。
11964 \begin_layout Labeling
11965 \labelwidthstring 00.00.0000
11972 This is the Bold font series.
11985 \begin_layout Labeling
11986 \labelwidthstring 00.00.0000
11995 \begin_layout Labeling
11996 \labelwidthstring 00.00.0000
12001 This is the Upright font shape.
12002 これがアップライト体の字形です。またこれが既定の字形になっています。
12005 \begin_layout Labeling
12006 \labelwidthstring 00.00.0000
12019 s the Italic font shape
12026 \begin_layout Labeling
12027 \labelwidthstring 00.00.0000
12034 This is the Slanted font shape.
12037 (LyXの画面では 同じに見えるかもしれませんが、イタリック体ではありません。)
12042 \begin_layout Labeling
12043 \labelwidthstring 00.00.0000
12050 This is the Small caps font shape
12053 . これがスモールキャップ体の字形です。
12057 \begin_layout Labeling
12058 \labelwidthstring 00.00.0000
12063 このスイッチで文字色を調整することができます。ただし、すべてのDVIビューアがカラーを表示できるわけではないことに注意してください。
12101 文書\SpecialChar \menuseparator
12102 設定\SpecialChar \menuseparator
12109 に指定した既定色が使用されることを意味します。
12110 \begin_inset Index idx
12113 \begin_layout Plain Layout
12131 \begin_layout Labeling
12132 \labelwidthstring 00.00.0000
12137 これは、選択範囲の文章が、文書の言語とは異なることを指定するのに使います。このようにして指定された部分には青い下線が(LyX上でのみ)引かれて、言語が変更され
12139 \begin_inset Newline newline
12142 例えば、文書中に長いドイツ語指定のテキストを入れると、LaTeXは自動的にドイツ語のハイフネーション規則を遵守します。スペルチェックを行うときには(第
12143 \begin_inset CommandInset ref
12145 reference "sec:スペルチェック"
12149 節参照)、ドイツ語にマークされたテキストは、ドイツ語辞書を使用して検査されます。
12152 \begin_layout Labeling
12153 \labelwidthstring 00.00.0000
12158 これはフォントの大きさを変更します。ここでは数値を指定するのではなく、選択可能な選択肢は、すべて文書フォント寸法に対する相対的な大きさになっています。ここでも
12159 LyXに詳細な指定をわたすようにはなっておらず、何をしたいか一般的な意図をLyXに示すだけです。選択肢は以下の通りです。
12163 \begin_layout Labeling
12164 \labelwidthstring 00.00.0000
12171 これは「最小(Tiny)」フォント寸法です。
12176 arg "font-size tiny"
12182 \begin_layout Labeling
12183 \labelwidthstring 00.00.0000
12190 これは「極小(Smallest)」フォント寸法です。
12195 arg "font-size scriptsize"
12201 \begin_layout Labeling
12202 \labelwidthstring 00.00.0000
12209 これは「小(Smaller)」フォント寸法です。
12214 arg "font-size footnotesize"
12220 \begin_layout Labeling
12221 \labelwidthstring 00.00.0000
12228 これは「やや小(Small)」フォント寸法です。
12233 arg "font-size small"
12239 \begin_layout Labeling
12240 \labelwidthstring 00.00.0000
12245 これは「ふつう(Normal)」フォント寸法です。既定のフォント寸法です。(鍵割り当て:
12248 arg "font-size normal"
12254 \begin_layout Labeling
12255 \labelwidthstring 00.00.0000
12262 これは「やや大(Large)」フォント寸法です。(
12267 arg "font-size large"
12273 \begin_layout Labeling
12274 \labelwidthstring 00.00.0000
12281 これは「大(Larger)」フォント寸法です。
12288 arg "font-size larger"
12294 \begin_layout Labeling
12295 \labelwidthstring 00.00.0000
12302 これは「極大(Largest)」フォント寸法です。
12309 arg "font-size largest"
12315 \begin_layout Labeling
12316 \labelwidthstring 00.00.0000
12323 これは「極々大(Huge)」フォント寸法です。
12330 arg "font-size huge"
12336 \begin_layout Labeling
12337 \labelwidthstring 00.00.0000
12344 これは「最大(Huger)フォント寸法です。
12351 arg "font-size giant"
12357 \begin_layout Labeling
12358 \labelwidthstring 00.00.0000
12363 これは、寸法を一段大きくします(例えば、「極大」を「極々大」に)。
12370 arg "font-size increase"
12376 \begin_layout Labeling
12377 \labelwidthstring 00.00.0000
12382 これは、寸法を一段小さくします(例えば、「ふつう」を「やや小」に)。
12389 arg "font-size decrease"
12396 \begin_layout Standard
12401 念を押しますが、この機能は使いすぎないでください。フォント寸法を変更する必要はほとんど生じないはずです。LyXが、段落環境ごとに自動的にフォント寸法を変更します
12402 ので、それを使うようにしてください。この機能は、微調整のためだけにあるにすぎません。
12405 \begin_layout Labeling
12406 \labelwidthstring 00.00.0000
12411 これはその他、文字レベルで変更可能なものです。選択肢は以下の通りです。
12415 \begin_layout Labeling
12416 \labelwidthstring 00.00.0000
12423 This is text with emphasize on.
12430 と同じように思われるかもしれませんが、実は意味するところが多少異なります。強調は、
12434 属性なのです。ですから、強調された文章に用いるフォントは、文書クラスがそれぞれに指定することができます。多くの場合は、このフォントはイタリックに指定されています
12438 \begin_layout Labeling
12439 \labelwidthstring 00.00.0000
12446 This is text with Underbar on.
12452 arg "font-underline"
12456 \begin_inset Newline newline
12459 ただし可能な限り下線を引くことは避けてください。下線は、フォントを変更することができなかったタイプライタ時代の遺物です。いまの時代にあっては、文章を強調するのに
12460 下線を引かなくてはならない理由はありません。これがLyXに備えられているのは、学術誌の投稿規程として必要とされることがある
12467 \begin_layout Labeling
12468 \labelwidthstring 00.00.0000
12475 This is text with Double underbar on.
12481 arg "font-underunderline"
12485 \begin_inset Newline newline
12488 下線の使用について警告したことから、二重下線についての考えもお分かりでしょう。
12491 \begin_layout Labeling
12492 \labelwidthstring 00.00.0000
12499 This is text with Wavy underbar on.
12505 arg "font-underwave"
12509 \begin_inset Newline newline
12512 学術誌が絶対にこれを使わないといけないと主張している場合以外は、使用しないでください。酔い止め薬が必要ですな。
12515 \begin_layout Labeling
12516 \labelwidthstring 00.00.0000
12523 This is text with Strikeout on.
12529 arg "font-strikeout"
12533 \begin_inset Newline newline
12536 これは、変更した文章の元の文章を示すためによく用いられます。
12539 \begin_layout Labeling
12540 \labelwidthstring 00.00.0000
12547 This is text with Noun on.
12553 と同様、これも論理属性です。多くの場合、これは
12561 \begin_layout Standard
12562 このように、膨大な組合わせの中から選択をすることができます。いったん
12564 編集\SpecialChar \menuseparator
12565 文字様式\SpecialChar \menuseparator
12571 arg "dialog-show character"
12578 ダイアログで新しい文字様式を選択すると、その設定は保存されます。それを有効にするには、ツールバーボタン
12581 arg "textstyle-apply"
12584 を押してください。このボタンを使えば、作成した特製文字様式の有効化・無効化を、ダイアログが見えないときでも切り替えることができます。
12587 \begin_layout Standard
12588 文字様式を完全に既定の状態に戻すには、
12594 を用いてください。もし、たったいま変更したフォント属性だけを切り替えたい場合(例えば、字形は「斜体」に、太さは「ボールド体」に設定したところだとします)には、
12605 \begin_layout Standard
12618 の三大フォント型の違いについても多少知っておく必要があります。
12621 \begin_layout Itemize
12626 はいわゆる「等間隔」フォントで、すべての文字が同じ幅、例えば「i」と「m」が同じ幅を持ちます。例:
12627 \begin_inset Newline newline
12631 \begin_inset Phantom HPhantom
12634 \begin_layout Plain Layout
12642 typewriter text タイプライタ体の
12645 \begin_inset Phantom HPhantom
12648 \begin_layout Plain Layout
12659 \begin_inset Note Note
12662 \begin_layout Plain Layout
12663 phantom(埋め草)について詳細は、第
12664 \begin_inset CommandInset ref
12666 reference "sub:埋め草"
12676 \begin_inset Newline newline
12679 no type writer text タイプライタ体ではない文章
12682 \begin_layout Itemize
12687 フォントは、セリフ付き文字を使用します。セリフとは、文字を形作る線のすべての端につける、小さな「付録」です。以下の例を見ると違いが分かるかと思います。
12688 \begin_inset Newline newline
12691 text with serifs (セリフ付き文字)
12692 \begin_inset Newline newline
12697 text without serifs (セリフなし文字)
12700 \begin_inset Newline newline
12703 セリフがある方が、簡単に速く読む助けとなります。それゆえ、セリフ体が既定フォントとして用いられています(
12710 \begin_layout Itemize
12715 は、セリフのないフォントです。このフォント型は、それゆえ見出しや短い文によく用いられます。この文書では、サンセリフ体はメニュー名を強調するのに用いられています。
12718 \begin_layout Standard
12719 「切換にする」とは、フォント特性を適用したり取り除いたりするようにすることを意味します。文字様式ダイアログで、ある特性を切換にマークした場合に、既にその特性を持
12720 つテキストに様式を適用すると、その特性が削除されることになります。例えば、現在B・C・F・Gのフォント特性を持つテキストに、A・B・Cの特性を持つ様式を適用する
12721 ものとし、Bが切換で、Cが切換ではないものとすると、適用後の特性は、A・C・F・Gとなります。「常に非切換」と「常に切換」は、切換の挙動を制御しないことを意味し
12722 ます。ダイアログ左側の特性(「フォント族」など)では、切換にするかどうかはあなた次第です。左側にある特性は、既定では切換ではありませんが、
12726 にチェックをつけると、その全てが切換になります。「リセット」は切換になることはありません。例えば、「太さ」を「リセット」にして
12730 を選択してから、ボールド体の文章に様式を適用すると、何回様式を適用したとしても、文章は既定の太さ(「ミディアム体」)に戻ります。
12733 \begin_layout Standard
12734 最後にいま一度、同じ注意をして終わりたいと思います。フォントは多用しないでください。フォントを多用した文章は、よい文章になるどころか、不調和で粗悪な文章になるこ
12738 \begin_layout Standard
12739 \begin_inset Note Greyedout
12742 \begin_layout Description
12747 pLaTeX2eでは書体ファミリーとして明朝体とゴシック体の2種類しか標準では提供されていません。
12755 \begin_layout Section
12759 \begin_layout Subsection
12763 \begin_layout Standard
12764 LyXを使った文書作成の基本的な操作については、だいたい説明し終えたので、労作の印字出力のしかたについてお知りになりたいところでしょう。説明にあたって、まず舞台
12765 裏で何が行われているかを説明します。この件に関する詳しい情報は、取扱説明書『
12772 \begin_layout Standard
12773 LyXは、LaTeXというプログラムを裏方に使っています。LaTeXは、TeX組版システムのマクロパッケージにすぎないのですが、混乱を避けるために、まとめてLa
12774 TeXと呼ぶことにします。LyXは、実際に書き物をするのに、あなたがお使いになるプログラムです。それを印刷可能な出力に変換する段になると、LyXはLaTeXを呼
12775 び出します。これには二段階を経る必要があります。
12778 \begin_layout Enumerate
12779 まずLyXは、お使いの文書をLaTeX用のコマンド群に変換し、「
12783 」という拡張子のついたファイルに保存します。
12786 \begin_layout Enumerate
12791 ファイルにあるコマンドを読んで、印字可能な出力を作成します。
12794 \begin_layout Subsection
12796 \begin_inset Index idx
12799 \begin_layout Plain Layout
12806 \begin_inset CommandInset label
12808 name "sub:出力ファイル形式"
12815 \begin_layout Subsubsection
12817 \begin_inset Index idx
12820 \begin_layout Plain Layout
12821 ふぁいるけいしき@ファイル形式!Ascii@ASCII
12829 \begin_layout Standard
12834 」です。この型は、お使いの文書を「アメリカ情報交換標準コード(ASCII)」の規則にそった平文として保存しています。
12837 \begin_layout Standard
12840 ファイル\SpecialChar \menuseparator
12841 書き出し\SpecialChar \menuseparator
12844 メニューを用いれば、ASCIIに書き出すことができますが、BibTeX書誌情報のように(第
12845 \begin_inset CommandInset ref
12847 reference "sub:文献データベース"
12851 節参照)、外部で生成されたものは書き出されません。お使いの文書にそのような外部素材が含まれる場合、
12853 ファイル\SpecialChar \menuseparator
12854 書き出し\SpecialChar \menuseparator
12860 \begin_inset space ~
12865 を選んでください。こうすると、文書は、当初内部的にPostScriptに書き出され(したがって外部素材も生成され)、それからASCIIに変換されます。
12868 \begin_layout Subsubsection
12870 \begin_inset Index idx
12873 \begin_layout Plain Layout
12874 ふぁいるけいしき@ファイル形式!Latex@LaTeX
12882 \begin_layout Standard
12887 」で、LaTeXプログラムがお使いの文書を処理するのに必要なコマンドをすべて含んでいます。もしLaTeXをご存知であれば、このファイルをLaTeXエラーを見つけ
12888 だすために用いることもできますし、コンソールからコマンドで手動で処理することもできます。LaTeXファイルは、使用中の文書をプレビューしたり書き出したりするとき
12889 には、つねにLyXの作業ディレクトリ内に生成されています。
12892 \begin_layout Standard
12893 お使いの文書をLaTeXファイルとして書き出すには、メニュー
12895 ファイル\SpecialChar \menuseparator
12896 書き出し\SpecialChar \menuseparator
12901 \begin_layout Plain Layout
12910 を使用します。その他の型のLaTeXへの書き出しは、第
12911 \begin_inset CommandInset ref
12913 reference "sub:書き出し"
12920 \begin_layout Subsubsection
12922 \begin_inset Index idx
12925 \begin_layout Plain Layout
12926 ふぁいるけいしき@ファイル形式!Dvi@DVI
12934 \begin_layout Standard
12939 」です。このファイル型は「デバイス独立型」(DVI)と呼ばれ、ひじょうに高い可搬性を持っています。ひとつのコンピュータから他のコンピュータへ、何の変換も行うこと
12940 なしに移動することができるのです。DVIは、プレビューや、PostScriptのような他の出力形式への中間形式として使用されます。
12943 \begin_layout Standard
12944 DVIファイルは、画像を内部に保持してはおらず、画像にリンクを張るだけです。ですから、DVIと一緒に画像ファイルも持ち出すことを忘れないでください。DVIをスク
12945 ロールする際には、DVIビューアは、画像を表示する前にバックグラウンドで変換しなくてはならないので、DVIを見る際にはコンピュータが遅くなるかもしれません。です
12946 から、画像を多用したファイルの場合は、PDFを使用することをおすすめします。
12949 \begin_layout Standard
12950 お使いの文書をDVIファイルとして書き出すには、メニュー
12952 ファイル\SpecialChar \menuseparator
12953 書き出し\SpecialChar \menuseparator
12958 ファイル\SpecialChar \menuseparator
12959 書き出し\SpecialChar \menuseparator
12961 \begin_inset space ~
12968 \begin_layout Plain Layout
12977 を使用します。後者のオプションは、プログラム
12985 は、直接的なUnicodeサポートを提供し、直接フォントアクセスをサポートしたエンジンです(第
12986 \begin_inset CommandInset ref
12988 reference "sub:LaTeXフォントサポート"
12992 節参照)。LuaTeXは、まだ進行中のプロジェクトですが、次世代標準TeXプロセッサに成長するやもしれません。
12995 \begin_layout Subsubsection
12997 \begin_inset Index idx
13000 \begin_layout Plain Layout
13001 ふぁいるけいしき@ファイル形式!Postscript@PostScript
13009 \begin_layout Standard
13014 」です。PostScriptは、Adobe社によってプリンタ言語として開発されました。それゆえ、このファイル型には、プリンタがファイルを印刷するのに使うコマンド
13015 が含まれています。PostScriptは「プログラミング言語」としても見ることができます。これを使って計算をすることもできますし、図表や画像を描くこともできます
13019 \begin_layout Plain Layout
13020 この点について詳細をお知りになりたければ、LaTeXパッケージの
13030 \begin_inset Index idx
13033 \begin_layout Plain Layout
13034 latexはつけじ@LaTeXパッケージ ! pstricks
13039 。この能力ゆえ、PostScriptファイルはおうおうにしてPDFよりも大きくなります。
13042 \begin_layout Standard
13043 PostScriptには、画像を「Encapsulated PostScript」(EPS、ファイル拡張子は「
13047 」)形式でのみ入れることができます。一方、LyXでは、既知の画像形式ならば何でも文書内に入れていいことになっていますので、LyXは、バックグラウンドで画像をEP
13048 Sに変換してやらなくてはなりません。たとえば、文書中に50の画像があるならば、最初に文書の閲覧ないし書き出しを行う際、LyXは50回の画像変換を行わなくてはなら
13049 ないのです。これは、LyXを使った仕事の流れを滞らせることになりかねません。もしPostScriptを利用することをお考えならば、画像を直接EPSとして挿入すれ
13050 ば、この問題を回避することができます。
13053 \begin_layout Standard
13054 お使いの文書をPostScriptファイルとして書き出すためには、メニュー
13056 ファイル\SpecialChar \menuseparator
13057 書き出し\SpecialChar \menuseparator
13063 \begin_layout Subsubsection
13065 \begin_inset Index idx
13068 \begin_layout Plain Layout
13069 ふぁいるけいしき@ファイル形式!Pdf@PDF
13075 \begin_inset Index idx
13078 \begin_layout Plain Layout
13087 \begin_layout Standard
13092 」です。「Portable Document Format(可搬文書形式)」(PDF)は、
13096 がPostScriptの派生として開発したものです。PDFは、PostScriptよりも圧縮されていて、少ないコマンドしか用いません。「可搬」の名の示す通り、P
13097 DFはどのコンピュータでも処理することができ、印字もまったく同じように出力することができます。
13100 \begin_layout Standard
13101 PDFは、その中に画像を、PDF形式かあるいは「Joint Photographic Experts Group(写真専門家連合組織
13105 \begin_layout Plain Layout
13106 訳注:ISOに設置された専門家会合の名称がそのままファイル形式に使われています。
13119 」)形式、または「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子「
13123 」)形式のいずれかの形式で埋め込むことができます。LyXは、いずれにしても、任意の画像形式をバックグラウンドでこれらの形式に変換するので、どの画像形式でも使うこ
13124 とができるようになっています。ただし、PostScriptの節で述べたように、画像変換は作業の流れを滞らせます。したがって、上に述べた3つの形式のいずれかの画像
13128 \begin_layout Standard
13129 お使いの文書をPostScriptファイルとして書き出すには、
13131 ファイル\SpecialChar \menuseparator
13134 メニューを開いた後に以下の5つのいずれかを選択します。
13137 \begin_layout Description
13141 \begin_inset space ~
13150 プログラムによって、ファイルが直接PDFに変換されます。
13153 \begin_layout Description
13157 \begin_inset space ~
13164 \begin_layout Plain Layout
13177 プログラムによって、ファイルが直接PDFに変換されます。
13185 から派生したさらに新しいエンジンであり、同様にUnicodeの直接サポートを提供し、フォントへの直接アクセスをサポートします(第
13186 \begin_inset CommandInset ref
13188 reference "sub:LaTeXフォントサポート"
13192 節参照)。LuaTeXは、まだ進行中のプロジェクトですが、次世代標準TeXプロセッサに成長するやもしれません。
13195 \begin_layout Description
13199 \begin_inset space ~
13206 \begin_layout Plain Layout
13219 プログラムによって、ファイルが直接PDFに変換されます。
13223 は、Unicodeの直接サポートを提供し、フォントへの直接アクセスをサポートする新しいエンジンです(第
13224 \begin_inset CommandInset ref
13226 reference "sub:LaTeXフォントサポート"
13230 節参照)。これは、例えば縦書きの日本語など、様々なスクリプト体を組版するのに特に優れています。
13233 \begin_layout Description
13235 \begin_inset space ~
13241 \begin_inset space ~
13246 と同じですが、ページ余白を切り落としたPDFが出来上がります。これは、例えば、見栄えの良い数式を生成するのにLyXを使い、プレゼンテーションのためなどに、それを
13247 他のプログラムで使用したいような場合に便利です。
13250 \begin_layout Description
13252 \begin_inset space ~
13255 (dvipdfm) これを選択すると、お使いのファイルをバックグラウンドでDVIに変換したものを、
13259 プログラムが2段階めでPDFに変換します。
13262 \begin_layout Description
13266 \begin_inset space ~
13271 これを選択すると、お使いのファイルのPostScript版からPDFを作るのに
13275 プログラムが用いられます。このPostScript版は、途中段階として作られるDVI版を元に、
13279 プログラムが生成するものです。すなわち、この書き出しでは3回の変換を経ることになります。
13282 \begin_layout Standard
13287 は、PDF版が持ちうるすべての機能をサポートし、高速で、問題を起こさずに安定して動作しますので、
13290 \begin_inset space ~
13295 を使用することをおすすめします。複数の書体サポートを利用したり、特定のOpenTypeフォントを使用している場合には、
13299 ほど成熟してはいないことには留意しなくてはなりませんが、代わりに
13302 \begin_inset space ~
13309 \begin_layout Plain Layout
13321 \begin_inset space ~
13328 \begin_layout Plain Layout
13340 \begin_layout Subsubsection
13342 \begin_inset Index idx
13345 \begin_layout Plain Layout
13346 ふぁいるけいしき@ファイル形式!Xhtml@XHTML
13352 \begin_inset Index idx
13355 \begin_layout Plain Layout
13364 \begin_layout Standard
13369 」を持ち、ウェブブラウザでの閲覧に適したファイル形式です。このファイル自身には、画像類は含まれておらず、それらへのリンクしか含むことができないので、LyXがXH
13370 TMLを生成する際には、適切なファイル形式の画像も同時に生成します。数式の出力に関しては、
13372 文書\SpecialChar \menuseparator
13373 設定\SpecialChar \menuseparator
13376 メニューで、出力形式を選ぶことができます。これについては、取扱説明書『
13387 \begin_layout Standard
13388 XHTML出力は、未だ「発展途上」であり、全てのLyXの機能がサポートされているわけではありません。これに関しては、取扱説明書『
13399 \begin_layout Standard
13400 文書をXHTMLファイルに出力するには、
13402 ファイル\SpecialChar \menuseparator
13403 書き出し\SpecialChar \menuseparator
13409 \begin_layout Subsection
13413 \begin_inset Index idx
13416 \begin_layout Plain Layout
13417 ふんしよ@文書!ぷれびゅー@プレビュー
13425 \begin_layout Standard
13426 作成した文書の完成版—つまりすべての改頁が実際に行われ、脚注は正しく連番を振られ、その他諸々のことが完成しているもの—を画面で確認したい場合には、
13440 を押してください。すると、プレビュープログラムがポップアップして、事前に定義した既定の出力形式で出力が表示されます。これは、グローバルに設定もできます(第
13441 \begin_inset CommandInset ref
13443 reference "sec:ファイル形式"
13447 節参照)し、文書設定で文書ごとに変更することもできます(第
13448 \begin_inset CommandInset ref
13456 表示\SpecialChar \menuseparator
13460 \begin_inset Graphics
13461 filename ../../images/view-others.png
13463 groupId toolbarbuttons
13470 \begin_layout Standard
13473 表示\SpecialChar \menuseparator
13478 表示\SpecialChar \menuseparator
13481 メニューを使えば、同じビューア内で出力を更新することができます。
13484 \begin_layout Standard
13485 ファイルのプレビューをしている間は、出力ファイルはLyXの作業ディレクトリ内に生成されているにすぎません。実際の出力を得るには、作業中の文書を書き出してください
13489 \begin_layout Subsection
13491 \begin_inset CommandInset label
13500 \begin_layout Standard
13501 お使いのファイルを書き出してから印刷に取りかかる代わりに、LyXから直接ファイルを印刷することができます。ファイルを印刷するには、
13503 ファイル\SpecialChar \menuseparator
13507 \begin_inset Flex Ruby
13510 \begin_layout Plain Layout
13512 \begin_inset Argument post:1
13515 \begin_layout Plain Layout
13529 arg "dialog-show print"
13535 arg "dialog-show print"
13538 をクリックしてください。LyXは、DVIを生成するのに、内部的にLaTeXを呼び出します。こうしてできたDVIファイルが、
13542 プログラムによって処理されてPostScriptファイルとなり、それが
13546 プログラムによって、最終的に印刷されるのです。これらの各段階がバックグラウンドで行われるので、この方法は最速ではありません。
13549 \begin_layout Standard
13554 ボックスのパラメータを以下のように設定することができます。
13557 \begin_layout Labeling
13558 \labelwidthstring 00.00.0000
13567 \begin_layout Plain Layout
13576 がこのプリンタ名を使えるように設定されていなくてはなりません。既定プリンタは、LyXの設定ダイアログで設定することができます。第
13577 \begin_inset CommandInset ref
13579 reference "sub:プリンタ"
13591 \begin_layout Labeling
13592 \labelwidthstring 00.00.0000
13597 印刷先のファイル名です。出力はPostScriptファイルになります。完全パスを指定しないかぎり、LyXの作業ディレクトリに書き込まれます。
13600 \begin_layout Standard
13601 また、奇数頁あるいは偶数頁のみを印刷することを選ぶこともできます。これは、両面印刷機能のないプリンタで両面印刷をするのに使うことができます。片面をひととおり印刷
13602 したあとに、その紙を裏返して、もう一度プリンタに差し込めばいいのです。プリンタによっては、印字面を上に出力するものもあれば、印字面を下にするものもあります。印刷
13603 する順序を適切に選択すれば、出力された紙の束をソートしなおすことなしに、そのまま使うことができます。
13606 \begin_layout Section
13608 \begin_inset Index idx
13611 \begin_layout Plain Layout
13620 \begin_layout Subsection
13622 \begin_inset Index idx
13625 \begin_layout Plain Layout
13632 \begin_inset Index idx
13635 \begin_layout Plain Layout
13644 \begin_layout Standard
13662 \begin_inset VSpace defskip
13668 \begin_layout Standard
13669 \begin_inset Tabular
13670 <lyxtabular version="3" rows="5" columns="3">
13671 <features rotate="0" tabularvalignment="middle">
13672 <column alignment="left" valignment="top">
13673 <column alignment="left" valignment="top">
13674 <column alignment="left" valignment="top">
13675 <row interlinespace="3mm">
13676 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13679 \begin_layout Plain Layout
13685 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13688 \begin_layout Plain Layout
13694 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13697 \begin_layout Plain Layout
13704 <row interlinespace="3mm">
13705 <cell alignment="center" valignment="top" usebox="none">
13708 \begin_layout Plain Layout
13714 <cell alignment="center" valignment="top" usebox="none">
13717 \begin_layout Plain Layout
13723 <cell alignment="center" valignment="top" usebox="none">
13726 \begin_layout Plain Layout
13737 <row interlinespace="3mm">
13738 <cell alignment="center" valignment="top" usebox="none">
13741 \begin_layout Plain Layout
13747 <cell alignment="center" valignment="top" usebox="none">
13750 \begin_layout Plain Layout
13756 <cell alignment="center" valignment="top" usebox="none">
13759 \begin_layout Plain Layout
13762 挿入\SpecialChar \menuseparator
13763 特殊文字\SpecialChar \menuseparator
13772 <row interlinespace="3mm">
13773 <cell alignment="center" valignment="top" usebox="none">
13776 \begin_layout Plain Layout
13782 <cell alignment="center" valignment="top" usebox="none">
13785 \begin_layout Plain Layout
13791 <cell alignment="center" valignment="top" usebox="none">
13794 \begin_layout Plain Layout
13797 挿入\SpecialChar \menuseparator
13798 特殊文字\SpecialChar \menuseparator
13808 <cell alignment="center" valignment="top" usebox="none">
13811 \begin_layout Plain Layout
13817 <cell alignment="center" valignment="top" usebox="none">
13820 \begin_layout Plain Layout
13821 \begin_inset Formula $-$
13829 <cell alignment="center" valignment="top" usebox="none">
13832 \begin_layout Plain Layout
13848 \begin_inset VSpace defskip
13854 \begin_layout Standard
13859 」文字を続けて複数入力することによって、エヌ・ダッシュやエム・ダッシュを生成することもできます。これらは、最終的な出力では、自動的に適切な長さのダッシュとして出
13860 力されますが、LyXの中ではそうなりません。 「-
13861 \begin_inset space \thinspace{}
13865 \begin_inset space \thinspace{}
13869 \begin_inset space \thinspace{}
13875 \begin_layout Standard
13876 これら3つのダッシュは、それ独自の長さを持つ、数式モードのマイナス記号とは異なります。「
13880 」が使われている例をご覧に入れましょう。
13883 \begin_layout Enumerate
13884 line- and page-breaks
13885 \begin_inset space \hfill{}
13891 \begin_layout Enumerate
13893 \begin_inset space \hfill{}
13899 \begin_layout Enumerate
13900 Oh — there's a dash.
13901 \begin_inset space \hfill{}
13907 \begin_layout Enumerate
13908 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
13912 \begin_inset space \hfill{}
13918 \begin_layout Subsection
13920 \begin_inset Index idx
13923 \begin_layout Plain Layout
13930 \begin_inset CommandInset label
13932 name "sub:ハイフネーション"
13939 \begin_layout Standard
13940 LyX内では単語のハイフネーション(行末におけるハイフン区切り)は行われませんが、出力においては自動的になされます。ハイフネーションは、LaTeXパッケージのb
13942 \begin_inset Index idx
13945 \begin_layout Plain Layout
13946 latexはつけじ@LaTeXパッケージ ! babel
13951 が、文書言語のルールに基づいて行います。
13954 \begin_layout Standard
13955 LaTeXは、ハイフネーションをほとんど完璧にこなしますが、
13959 フォントで書かれた字句と、通常ではありえないような複合語、たとえば「h3knix/m0n0wall」のような単語では問題が生じます。LaTeXが正しく単語を分割
13960 できないときには、手動でハイフネーション位置を挿入します。これは、
13962 挿入\SpecialChar \menuseparator
13963 整形\SpecialChar \menuseparator
13966 メニューで行うことができます。ただし、このハイフネーション位置は、LaTeXに対する勧奨にすぎません。ハイフネーションが必要でないときには、LaTeXはこれを無
13970 \begin_layout Standard
13971 場合によっては、単語などがハイフネートされることを防止したいことがあります。たとえば、文書中で「A-b c」のような形で
13972 \begin_inset Flex Ruby
13975 \begin_layout Plain Layout
13977 \begin_inset Argument post:1
13980 \begin_layout Plain Layout
13992 \begin_inset Flex Ruby
13995 \begin_layout Plain Layout
13997 \begin_inset Argument post:1
14000 \begin_layout Plain Layout
14011 の説明をしたいとしましょう。LaTeXは、ハイフン「-」をハイフネートしても良い場所と判断します。しかし、この場所でハイフネートされると読みにくくなってしまいま
14012 す。捷径がハイフネートされることを防ぐためには、これをボックスの中に入れる方法があります。取扱説明書『
14023 \begin_layout Subsection
14025 \begin_inset Index idx
14028 \begin_layout Plain Layout
14037 \begin_layout Subsubsection
14039 \begin_inset CommandInset label
14048 \begin_layout Standard
14049 執筆中の文書の完成版を生成するためにLyXがLaTeXを実行する際、LaTeXはまず自動的に、単語と文と略語を識別します。その上で、LaTeXは「適切な大きさの
14050 空白」を加えるのです。つまり、文末の句点と次に来る単語のあいだには広めの空白を挿入し、略語を示す句点のあとには、単語間に用いられる空白と同じ大きさの空白を挿入す
14054 \begin_layout Standard
14055 残念ながら、どれが略語であるのかを判別するアルゴリズムは、すべての場合においてうまくいくわけではありません。もし「.」が小文字のあとに付く場合には文末であると自動
14056 的に判断され、大文字のあとに付くならば略語と判断されるのです。
14059 \begin_layout Standard
14067 \begin_layout Itemize
14072 \begin_layout Itemize
14077 \begin_layout Standard
14078 そして、以下がこのアルゴリズムがうまく動作しない例です。
14081 \begin_layout Itemize
14084 this is too much space!
14087 \begin_layout Itemize
14092 \begin_layout Standard
14093 上の不具合は、この文書の完成版を出力してみないとわからないはずです。
14096 \begin_layout Standard
14097 この不具合を正すには、次のいずれかのようにしてください。
14100 \begin_layout Enumerate
14106 \begin_inset CommandInset ref
14108 reference "sub:単語間の空白"
14113 \begin_inset Index idx
14116 \begin_layout Plain Layout
14117 くうはく@空白!たんごかんの@単語間の------
14125 \begin_layout Enumerate
14131 \begin_inset CommandInset ref
14133 reference "sub:小空白"
14138 \begin_inset Index idx
14141 \begin_layout Plain Layout
14142 くうはく@空白!しょう@小------
14150 \begin_layout Enumerate
14151 文のあいだ用の空白があとに入るように強制するには、
14153 挿入\SpecialChar \menuseparator
14160 を使うようにしてください。この機能は、短絡のために
14163 arg "specialchar-insert end-of-sentence"
14169 \begin_layout Standard
14170 以上の方法を採用することで、前出の例は次のようになります。
14173 \begin_layout Itemize
14175 \begin_inset space \thinspace{}
14179 \begin_inset space \space{}
14182 this is too much space!
14185 \begin_layout Itemize
14186 This is I\SpecialChar \@.
14190 \begin_layout Standard
14191 言語によっては、文のあいだに空白を用いないものもあります。仮にそのような言語をお使いだとしても、LaTeXがうまく調整を行いますので、心配なさる必要はありません
14195 \begin_layout Standard
14196 それでも心配性なあなたのためには、これらのかくれたエラーを捕捉するツールがあります。取扱説明書『
14207 \begin_inset space ~
14215 \begin_layout Subsubsection
14217 \begin_inset Index idx
14220 \begin_layout Plain Layout
14227 \begin_inset Index idx
14230 \begin_layout Plain Layout
14235 \begin_layout Plain Layout
14246 \begin_layout Plain Layout
14261 \begin_layout Standard
14262 LyXは通常、引用符を正しく配置します。具体的には、引用文の開始部分には開く引用符、終了部分には閉じる引用符をつけます。例えば、
14263 \begin_inset Quotes eld
14267 \begin_inset Quotes erd
14270 という具合です。これは、キーボードの「
14275 \begin_inset Flex Ruby
14278 \begin_layout Plain Layout
14280 \begin_inset Argument post:1
14283 \begin_layout Plain Layout
14295 \begin_inset space ~
14301 \begin_layout Standard
14304 文書\SpecialChar \menuseparator
14308 \begin_inset Index idx
14311 \begin_layout Plain Layout
14312 ふんしよ@文書 ! せってい@------設定
14329 」鍵の振舞いを変更することができます。選択肢は次の 6つです。
14332 \begin_layout Labeling
14333 \labelwidthstring 00.00.0000
14336 \begin_inset Quotes eld
14340 \begin_inset Quotes erd
14346 \begin_inset Quotes eld
14350 \begin_inset Quotes erd
14354 \begin_inset Quotes els
14358 \begin_inset Quotes ers
14364 \begin_layout Labeling
14365 \labelwidthstring 00.00.0000
14368 \begin_inset Quotes sld
14372 \begin_inset Quotes srd
14378 \begin_inset Quotes sld
14382 \begin_inset Quotes srd
14386 \begin_inset Quotes ers
14392 \begin_layout Labeling
14393 \labelwidthstring 00.00.0000
14396 \begin_inset Quotes gld
14400 \begin_inset Quotes grd
14406 \begin_inset Quotes gld
14410 \begin_inset Quotes grd
14414 \begin_inset Quotes gls
14418 \begin_inset Quotes grs
14424 \begin_layout Labeling
14425 \labelwidthstring 00.00.0000
14428 \begin_inset Quotes pld
14432 \begin_inset Quotes prd
14438 \begin_inset Quotes pld
14442 \begin_inset Quotes prd
14446 \begin_inset Quotes pls
14450 \begin_inset Quotes prs
14456 \begin_layout Labeling
14457 \labelwidthstring 00.00.0000
14460 \begin_inset Quotes fld
14464 \begin_inset Quotes frd
14470 \begin_inset Quotes fld
14474 \begin_inset Quotes frd
14478 \begin_inset Quotes fls
14482 \begin_inset Quotes frs
14488 \begin_layout Labeling
14489 \labelwidthstring 00.00.0000
14492 \begin_inset Quotes ald
14496 \begin_inset Quotes ard
14502 \begin_inset Quotes ald
14506 \begin_inset Quotes ard
14510 \begin_inset Quotes als
14514 \begin_inset Quotes ars
14520 \begin_layout Standard
14522 \begin_inset Flex Ruby
14525 \begin_layout Plain Layout
14527 \begin_inset Argument post:1
14530 \begin_layout Plain Layout
14544 arg "quote-insert single"
14550 \begin_layout Subsection
14552 \begin_inset Index idx
14555 \begin_layout Plain Layout
14562 \begin_inset Index idx
14565 \begin_layout Plain Layout
14570 \begin_layout Plain Layout
14581 \begin_layout Plain Layout
14594 \begin_inset CommandInset label
14603 \begin_layout Standard
14604 欧文の植字における標準的な慣習として、特定の複数の文字を一まとめにして一つの文字として印字することがあります。このようにまとめられた文字を
14608 といいます。LaTeXは合字処理を行いますので、作業中の文書の出力にも合字が現れることになります。標準的な合字は以下のようなものです。
14611 \begin_layout Itemize
14615 \begin_layout Itemize
14619 \begin_layout Itemize
14623 \begin_layout Itemize
14627 \begin_layout Itemize
14631 \begin_layout Standard
14632 言語によっては、文書フォントがサポートしていれば、これと異なる合字を使用することもあります。
14635 \begin_layout Standard
14636 場合によっては、単語内で合字を用いたくないこともあるはずです。例えば、「graffiti」のような単語内で合字を用いることは自然でしょうが、「cufflink(
14637 カフスボタン)」やドイツ語の「Dorffest」のような複合語で合字を使ってしまうと、ひじょうに変な印象を与えます。合字を分離するためには、
14639 挿入\SpecialChar \menuseparator
14642 \SpecialChar \menuseparator
14647 を使用してください。これを使用すると、「cufflinks」は「cuff\SpecialChar \textcompwordmark{}
14648 links」のようになり、「Dorffest」は「Dorf\SpecialChar \textcompwordmark{}
14652 \begin_layout Subsection
14654 \begin_inset CommandInset label
14656 name "sub:LyXの固有名称"
14663 \begin_layout Standard
14664 \begin_inset Index idx
14667 \begin_layout Plain Layout
14668 Lyx@LyX!のこゆうめいしょう@------の固有名称
14673 ここまでで、「LaTeX」という単語が、つねにばらばらの寸法と高さを持つ文字で表されていることに気づかれたはずです。LaTeXとは、LyXが用いるプログラムの名
14678 \begin_layout Plain Layout
14686 \begin_inset Note Note
14689 \begin_layout Plain Layout
14690 ここでTeXコードボックス中に中括弧が入れてあるのは、この「コマンド」が固有名称として出力に現れるのを防ぐために挿入してあります(本節の最終段落を参照)。固有名
14691 称を生成するには、TeXコードボックスを削除してください。
14696 と入力すれば、固有の名称として認識されます。大文字と小文字の配列順を間違えないようにしてください!LyXは、以下の固有名称を識別します。
14699 \begin_layout Description
14700 LyX 本体の名称。生成するには、「L
14704 \begin_layout Plain Layout
14714 \begin_layout Description
14715 TeX LaTeXが使用するプログラム。生成するには、「T
14719 \begin_layout Plain Layout
14729 \begin_layout Description
14730 LaTeX LyXが使用するプログラム。生成するには、「LaT
14734 \begin_layout Plain Layout
14744 \begin_layout Description
14745 LaTeX2e LaTeXの実のバージョン。生成するには、「LaT
14749 \begin_layout Plain Layout
14759 \begin_layout Standard
14761 \begin_inset Formula $\epsilon$
14764 」なのか不思議に思われるかもしれません。TeXの世界では、プログラムに通好みのバージョン番号を与えるのが古くからの通例なのです。例えば、TeXのバージョン番号は
14765 \begin_inset Formula $\pi$
14768 に収束していくようになっています。実際のバージョンは「TeX-3.141592」であり、一つ前のバージョンは「TeX-3.14159」です。
14771 \begin_layout Standard
14772 例えば節見出しなどにおいて、固有名称を使用したくないときは、単語中に空の中括弧の対をTeXコードで埋め込むとよいでしょう。これは画面上では、
14773 \begin_inset Graphics
14774 filename ../clipart/LaTeX.png
14779 \begin_inset Newline newline
14783 \begin_inset CommandInset ref
14785 reference "sec:TeXコード"
14792 \begin_layout Subsection
14794 \begin_inset Index idx
14797 \begin_layout Plain Layout
14806 \begin_layout Standard
14807 一般的に、単位と数字のあいだの空白は、二つの単語のあいだの通常の空白よりも狭くなっています。以下の例から分かるように、空白が狭い方が見映えがよいのです。単位向け
14810 挿入\SpecialChar \menuseparator
14811 整形\SpecialChar \menuseparator
14815 \begin_inset Flex Ruby
14818 \begin_layout Plain Layout
14820 \begin_inset Argument post:1
14823 \begin_layout Plain Layout
14837 arg "space-insert thin"
14843 \begin_layout Standard
14847 \begin_layout Standard
14848 \begin_inset Tabular
14849 <lyxtabular version="3" rows="2" columns="2">
14850 <features rotate="0" tabularvalignment="middle">
14851 <column alignment="left" valignment="top">
14852 <column alignment="left" valignment="top">
14854 <cell alignment="center" valignment="top" usebox="none">
14857 \begin_layout Plain Layout
14859 \begin_inset space ~
14863 \begin_inset Formula $\cdot$
14871 <cell alignment="center" valignment="top" usebox="none">
14874 \begin_layout Plain Layout
14882 <cell alignment="center" valignment="top" usebox="none">
14885 \begin_layout Plain Layout
14887 \begin_inset space \thinspace{}
14891 \begin_inset Formula $\cdot$
14899 <cell alignment="center" valignment="top" usebox="none">
14902 \begin_layout Plain Layout
14916 \begin_layout Subsection
14918 \begin_inset Index idx
14921 \begin_layout Plain Layout
14930 \begin_layout Standard
14931 初期のワードプロセッサでは、ページがいっぱいになりさえすれば、ところかまわず改頁をしていました。文章が実際にどのように進んでいるかについては、まったく考慮が払わ
14932 れていなかったのです。かつて、文書を印刷した後になって初めて、次の節見出しがページのいちばん下に印刷されてしまっていたり、新しい段落の一行めだけがページの最後に
14933 残されてしまったり、あるいは段落の最後の行だけが次のページの最初に印刷されてしまっているのを、見つけた経験がおありのことでしょう。これらのはみ出てしまった文章は
14945 \begin_layout Standard
14946 LyXでは、明らかに、節見出しの直後に改頁が起こることを避けることができます。これは段落環境を採用していることの利点です。しかし、改頁によって段落のうち一行だけ
14947 をページの冒頭や末尾に取り残してしまうことになる、孤立行に関してはどうなのでしょうか。実は、LaTeXには、改頁を制御する規則が埋め込まれており、それらの規則の
14948 中に、明示的に孤立行の発生を防ぐものがあるのです。それにも関わらず、孤立行が発生して、それを取り除きたい場合には、使用中の文書のLaTeXプリアンブルに
14949 \begin_inset Newline newline
14957 \begin_inset Newline newline
14965 \begin_inset Newline newline
14968 というコマンドを書き加えれば、これを回避することができます。LaTeX書籍のうちには、LaTeXの改頁機構についての技術的な詳細が記述されているものもあります(
14969 \begin_inset CommandInset citation
14971 key "latexcompanion"
14976 \begin_inset CommandInset citation
14985 \begin_layout Chapter
14987 \begin_inset CommandInset label
14996 \begin_layout Standard
15001 』に詳細に述べられています。そちらでは、特殊な場合のヒントとテクニックについても述べられています。
15004 \begin_layout Section
15006 \begin_inset Index idx
15009 \begin_layout Plain Layout
15016 \begin_inset CommandInset label
15025 \begin_layout Standard
15026 LyXには、文書に追加できる注釈として、複数の型が存在します。
15029 \begin_layout Description
15030 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。
15031 \begin_inset Newline newline
15035 \begin_inset Note Note
15038 \begin_layout Plain Layout
15039 これは、出力には現れない注釈ボックスに書かれた文章です。
15047 \begin_layout Description
15048 コメント この注釈も出力には現れませんが、
15050 ファイル\SpecialChar \menuseparator
15051 書き出し\SpecialChar \menuseparator
15056 \begin_layout Plain Layout
15064 \begin_inset space ~
15069 メニューを使って文書をLaTeXに書き出す際には、LaTeXコメントとして出力されます。
15070 \begin_inset Newline newline
15074 \begin_inset Note Comment
15077 \begin_layout Plain Layout
15078 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
15086 \begin_layout Description
15087 淡色表示 この注釈は、出力中では、文書設定の
15089 色\SpecialChar \menuseparator
15093 \begin_inset Newline newline
15097 \begin_inset Newline newline
15101 \begin_inset Note Greyedout
15104 \begin_layout Plain Layout
15105 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
15109 \begin_layout Plain Layout
15110 これは、淡色表示注釈内に脚注を用いた例です。この文書では、この注釈型の色は青色に設定されています。
15121 \begin_inset Newline newline
15125 \begin_inset Newline newline
15128 例が示すように、淡色表示注釈には脚注を入れることができます。
15131 \begin_layout Standard
15133 \begin_inset Graphics
15134 filename ../../images/note-insert.png
15136 scaleBeforeRotation
15142 挿入\SpecialChar \menuseparator
15145 メニューで挿入することができます。注釈型を選択するには、それで現れた注釈ボックスを右クリックしてください。
15148 \begin_layout Section
15150 \begin_inset Index idx
15153 \begin_layout Plain Layout
15160 \begin_inset CommandInset label
15169 \begin_layout Standard
15170 LyXは、脚注をボックスを使って表示します。
15172 挿入\SpecialChar \menuseparator
15178 arg "footnote-insert"
15182 \begin_inset Graphics
15183 filename clipart/footnoteQt4.png
15188 ボックスが表示されます。このボックスがLyXにおいて脚注を示すものです。「脚注」と書いてあるラベルを左クリックすると、ボックスが展開されて、中に脚注の本文を入力
15189 することができるようになります。ボックスラベルをもう一度左クリックすると、ボックスは閉じられます。既存の本文を脚注に変更したいときは、その部分を選択して脚注ツー
15193 \begin_layout Standard
15198 \begin_layout Plain Layout
15199 脚注を閉じるには左端のラベルボックスをクリックします。
15207 \begin_layout Standard
15208 脚注は、出力では、本文中の脚注ボックスが配置された場所に上付きの数字として表示されます。脚注の文章は、そのページの下端に配置されます。脚注番号は、文書クラスの指
15209 定に従って、LyXが計算してくれます。LyXは、まだ他の付番スキームをサポートしていませんが、特定のLaTeXコマンドを使用すれば他の付番スキームを使用すること
15210 ができます。この点に関しては、取扱説明書『
15217 \begin_layout Section
15219 \begin_inset Index idx
15222 \begin_layout Plain Layout
15229 \begin_inset CommandInset label
15238 \begin_layout Standard
15239 傍注は、LyXの脚注と同様の外観と挙動を示します。
15241 挿入\SpecialChar \menuseparator
15247 arg "marginalnote-insert"
15250 を使って傍注を挿入すると、文中に「傍注」というラベルのついたボックスが現れます。このボックスが、LyXにおいては傍注を表します。
15253 \begin_layout Standard
15255 \begin_inset Marginal
15258 \begin_layout Plain Layout
15267 \begin_layout Standard
15268 傍注は、片面文書では右側に印字されます。両面文書では、外側の余白、すなわち偶数ページでは左側、奇数ページでは右側に現れます。
15271 \begin_layout Standard
15272 傍注についての詳細な情報は、取扱説明書『
15283 \begin_layout Section
15285 \begin_inset Index idx
15288 \begin_layout Plain Layout
15295 \begin_inset Index idx
15298 \begin_layout Plain Layout
15305 \begin_inset CommandInset label
15314 \begin_layout Standard
15315 文書に図を挿入するには、カーソルを希望する本文中の位置に合わせて、ツールバーアイコン
15318 arg "dialog-show-new-inset graphics"
15323 挿入\SpecialChar \menuseparator
15326 メニューを選択してください。すると、読み込むファイルを選択するダイアログが現れます。
15329 \begin_layout Standard
15330 このダイアログには、ひじょうに多くの—しかしほとんど説明を要しない—パラメータがあります。
15334 タブでは、画像ファイルを選択することができます。LyX内での画像表示と、出力での画像表示は、それぞれ独立して調整することができます。画像は、回転角や縮尺を指定す
15335 ることで変換を行うことができます。縮尺単位に関しては、付録
15336 \begin_inset CommandInset ref
15338 reference "cha:LyXで使用できる単位"
15345 \begin_layout Standard
15350 タブでは、出力における画像の縦横の長さを調整するために、画像座標の設定をすることができます。座標は、
15354 ボタンを押すことによって、自動的に計算することもできます。
15358 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、
15365 \begin_layout Standard
15372 \begin_layout Plain Layout
15383 \begin_layout Plain Layout
15392 タブでは、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。また、ここでLyX内での画像表示法を指定することができます
15397 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
15412 \begin_layout Standard
15413 図ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。図は、出力では、それが置かれている本文中の位置に正確に配置されます。以下は、独立
15414 した中央揃えの段落に置かれたPDF形式の画像の例です。
15417 \begin_layout Standard
15419 \begin_inset Graphics
15420 filename ../clipart/mobius.eps
15428 \begin_layout Standard
15429 画像のキャプションや参照画像が必要な場合は、画像をフロート中に収めなくてはなりません(第
15430 \begin_inset CommandInset ref
15432 reference "sub:図フロート"
15439 \begin_layout Subsection
15441 \begin_inset Index idx
15444 \begin_layout Plain Layout
15445 かそう@画像 ! けいしき@------形式
15451 \begin_inset CommandInset label
15460 \begin_layout Standard
15461 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、第
15462 \begin_inset CommandInset ref
15464 reference "sub:出力ファイル形式"
15468 節で説明したように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラウン
15473 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、第
15474 \begin_inset CommandInset ref
15476 reference "sub:出力ファイル形式"
15480 節内の各小節に挙げてある画像形式のみを使用するとよいでしょう。
15483 \begin_layout Standard
15484 フォントと同じく、画像形式にも以下の二つの型があります。
15487 \begin_layout Description
15488 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
15489 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
15494 \begin_inset Index idx
15497 \begin_layout Plain Layout
15502 \begin_layout Plain Layout
15514 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
15519 \begin_inset Index idx
15522 \begin_layout Plain Layout
15527 \begin_layout Plain Layout
15538 \begin_layout Plain Layout
15550 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
15559 \begin_inset Index idx
15562 \begin_layout Plain Layout
15567 \begin_layout Plain Layout
15578 \begin_layout Plain Layout
15593 \begin_layout Description
15594 伸縮可能画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、beamerがかならず伸縮操作を行うこ
15595 とになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするのに便利
15597 \begin_inset Newline newline
15600 伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
15604 」)、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
15608 」)、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
15612 」)がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、この場合には伸縮可能ではなくなるからです。この
15613 ような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
15617 \begin_layout Plain Layout
15618 PDFの場合には、元の画像を圧縮することもあります。
15626 \begin_layout Standard
15627 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。
15630 \begin_layout Subsection
15632 \begin_inset Index idx
15635 \begin_layout Plain Layout
15636 かそう@画像 ! せつていのくるふか@------設定のグループ化
15644 \begin_layout Standard
15645 すべての画像は、画像設定のグループを新しく定義させるか、既存のグループに属させることができます。同一のグループに属する画像は、同一の設定を共有するので、グループ
15646 内のひとつの画像の設定を変更すれば、グループ内の他のすべての画像が同じ変更を反映します。ですから、例えば、大量の画像の大きさを変えたい場合、ひとつひとつ手動で変
15650 \begin_layout Standard
15661 \begin_layout Plain Layout
15672 \begin_layout Plain Layout
15685 ボタンを押すことで、追加することができます。既存のグループに加えるには、コンテキスト・メニューから望むグループ名をクリックすれば、そのグループに加えることができ
15689 \begin_layout Section
15691 \begin_inset Index idx
15694 \begin_layout Plain Layout
15701 \begin_inset CommandInset label
15710 \begin_layout Standard
15714 arg "tabular-insert"
15719 挿入\SpecialChar \menuseparator
15722 メニューを選択します。するとダイアログが現れ、行数と列数を訊いてきます。既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。
15723 この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っているのと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
15726 \begin_layout Standard
15728 \begin_inset Tabular
15729 <lyxtabular version="3" rows="4" columns="4">
15730 <features rotate="0" tabularvalignment="middle">
15731 <column alignment="center" valignment="top" width="0pt">
15732 <column alignment="center" valignment="top" width="0pt">
15733 <column alignment="center" valignment="top" width="0pt">
15734 <column alignment="center" valignment="top" width="0pt">
15736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15739 \begin_layout Plain Layout
15745 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15748 \begin_layout Plain Layout
15754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15757 \begin_layout Plain Layout
15763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15766 \begin_layout Plain Layout
15774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15777 \begin_layout Plain Layout
15783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15786 \begin_layout Plain Layout
15792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15795 \begin_layout Plain Layout
15801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15804 \begin_layout Plain Layout
15812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15815 \begin_layout Plain Layout
15821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15824 \begin_layout Plain Layout
15830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15833 \begin_layout Plain Layout
15839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15842 \begin_layout Plain Layout
15850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15853 \begin_layout Plain Layout
15859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15862 \begin_layout Plain Layout
15868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15871 \begin_layout Plain Layout
15877 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15880 \begin_layout Plain Layout
15894 \begin_layout Subsection
15898 \begin_layout Standard
15899 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
15900 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
15903 \begin_layout Standard
15904 表ダイアログのほかに、カーソルが表内にある時に表示される
15908 も表の特性を設定するのに役立ちます。例えば、いまのところ、行を追加したり削除したりすることは、表ツールバーからのみ実行することができます。
15911 \begin_layout Standard
15916 タブでは、現在の行の水平揃えを設定することができます。また行や列を追加すると、新規行・新規列は、現在のセルのすぐ下か右に追加されます。列の垂直揃えは、列幅が指定
15917 されている時のみ、指定することができます。列幅を指定すると、セル内で改行したり、セルに複数の段落を挿入したりすることができるようになります(第
15918 \begin_inset CommandInset ref
15920 reference "sub:表のセル"
15927 \begin_layout Standard
15936 を使うと、同一行あるいは同一列にある複数のセルを連結列セルあるいは連結行セルとして指定することができます。こうすると、複数のセルを一つのセルに連結し、2列あるい
15937 は2行以上にまたがって表示されます。連結列はそれ自体独立した行として取り扱われるので、連結列における水平揃えや列幅や罫線などの設定は、連結列のセルのみに有効です
15938 。以下は、第一行に連結列があり、最終行に上罫線がない(1列のみの)連結列がある表の例です。
15941 \begin_layout Standard
15943 \begin_inset Tabular
15944 <lyxtabular version="3" rows="3" columns="4">
15945 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
15946 <column alignment="center" valignment="top" width="0pt">
15947 <column alignment="center" valignment="middle">
15948 <column alignment="center" valignment="top" width="0in">
15949 <column alignment="center" valignment="top" width="0pt">
15951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15954 \begin_layout Plain Layout
15960 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
15963 \begin_layout Plain Layout
15969 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15972 \begin_layout Plain Layout
15978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15981 \begin_layout Plain Layout
15989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15992 \begin_layout Plain Layout
15998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16001 \begin_layout Plain Layout
16007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16010 \begin_layout Plain Layout
16016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16019 \begin_layout Plain Layout
16027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16030 \begin_layout Plain Layout
16036 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16039 \begin_layout Plain Layout
16045 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16048 \begin_layout Plain Layout
16054 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16057 \begin_layout Plain Layout
16071 \begin_layout Standard
16080 」の節に説明されているように、連結行セルのように表に特別な整形を行うときに必要になるでしょう。また、カーソル位置のセルや表全体も回転させることができます。この回
16081 転はLyX上には表示されませんが、出力では正しく表示されます。
16084 \begin_layout Standard
16085 \begin_inset Note Greyedout
16088 \begin_layout Plain Layout
16093 ほとんどのDVIビューアは回転を表示することが
16105 \begin_layout Standard
16110 タブでは、現在の行あるいは列の罫線を書き加えたり削除したりすることができます。
16114 ボタンを押すと、全てのセルの周りに罫線が引かれます。
16117 \begin_layout Subsection
16119 \begin_inset Index idx
16122 \begin_layout Plain Layout
16123 ひょう@表!ちょうしゃく@長尺------
16129 \begin_inset Index idx
16132 \begin_layout Plain Layout
16139 \begin_inset Index idx
16142 \begin_layout Plain Layout
16147 \begin_layout Plain Layout
16158 \begin_layout Plain Layout
16173 \begin_layout Standard
16174 表が長すぎて1ページに収まりきらないときには、表ダイアログの
16182 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
16186 \begin_layout Description
16187 ヘッダ: カーソル位置の行とその上の全ての行で、特別なオプションが定義されていないものは、長尺表の全てのページのヘッダ行として定義されるようになります。ただし、
16191 が定義されているときは、冒頭ページを除きます。
16194 \begin_layout Description
16195 冒頭ヘッダ: カーソル位置の行とその上の全ての行で、特別なオプションが定義されていないものは、長尺表の冒頭ページのヘッダ行として定義されるようになります。
16198 \begin_layout Description
16199 フッタ: カーソル位置の行とその下の全ての行で、特別なオプションが定義されていないものは、長尺表の全てのページのフッタ行として定義されるようになります。ただし、
16203 が定義されているときは、末尾ページを除きます。
16206 \begin_layout Description
16207 末尾フッタ: カーソル位置の行とその下の全ての行で、特別なオプションが定義されていないものは、長尺表の末尾ページのフッタ行として定義されるようになります。
16210 \begin_layout Description
16211 キャプション: 第1行は単一列にリセットされますので、ここに
16213 挿入\SpecialChar \menuseparator
16216 メニューで表キャプションを挿入することができます。長尺表のキャプションについては、取扱説明書『
16223 \begin_layout Standard
16224 加えて、表が分割される行を指定することができます。もし同一行に二つ以上のオプションを指定すると、その行の最初のオプションだけが用いられることに留意してください。
16229 として定義されます。ここで「最初の」とは、
16245 の順のうち、最初という意味です。長尺表の動作を見るために以下の例を参照してください。
16248 \begin_layout Standard
16250 \begin_inset Tabular
16251 <lyxtabular version="3" rows="69" columns="3">
16252 <features rotate="0" islongtable="true" longtabularalignment="center">
16253 <column alignment="block" valignment="top" width="5cm">
16254 <column alignment="left" valignment="top" width="0pt">
16255 <column alignment="right" valignment="top" width="0pt">
16256 <row endfirsthead="true">
16257 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16260 \begin_layout Plain Layout
16263 例示用電話帳(名前は無視してください)
16268 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16271 \begin_layout Plain Layout
16277 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16280 \begin_layout Plain Layout
16287 <row endfirsthead="true">
16288 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16291 \begin_layout Plain Layout
16297 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16300 \begin_layout Plain Layout
16306 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16309 \begin_layout Plain Layout
16318 <row endhead="true">
16319 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16322 \begin_layout Plain Layout
16330 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16333 \begin_layout Plain Layout
16339 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16342 \begin_layout Plain Layout
16349 <row endhead="true">
16350 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16353 \begin_layout Plain Layout
16359 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16362 \begin_layout Plain Layout
16368 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16371 \begin_layout Plain Layout
16380 <row endfoot="true">
16381 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16384 \begin_layout Plain Layout
16390 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16393 \begin_layout Plain Layout
16399 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16402 \begin_layout Plain Layout
16410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16413 \begin_layout Plain Layout
16421 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16424 \begin_layout Plain Layout
16430 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16433 \begin_layout Plain Layout
16441 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16444 \begin_layout Plain Layout
16452 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16455 \begin_layout Plain Layout
16461 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16464 \begin_layout Plain Layout
16472 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16475 \begin_layout Plain Layout
16483 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16486 \begin_layout Plain Layout
16492 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16495 \begin_layout Plain Layout
16503 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16506 \begin_layout Plain Layout
16514 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16517 \begin_layout Plain Layout
16523 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16526 \begin_layout Plain Layout
16534 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16537 \begin_layout Plain Layout
16545 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16548 \begin_layout Plain Layout
16554 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16557 \begin_layout Plain Layout
16565 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16568 \begin_layout Plain Layout
16576 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16579 \begin_layout Plain Layout
16585 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16588 \begin_layout Plain Layout
16596 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16599 \begin_layout Plain Layout
16607 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16610 \begin_layout Plain Layout
16616 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16619 \begin_layout Plain Layout
16627 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16630 \begin_layout Plain Layout
16638 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16641 \begin_layout Plain Layout
16647 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16650 \begin_layout Plain Layout
16658 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16661 \begin_layout Plain Layout
16669 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16672 \begin_layout Plain Layout
16678 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16681 \begin_layout Plain Layout
16689 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16692 \begin_layout Plain Layout
16700 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16703 \begin_layout Plain Layout
16709 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16712 \begin_layout Plain Layout
16720 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16723 \begin_layout Plain Layout
16731 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16734 \begin_layout Plain Layout
16740 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16743 \begin_layout Plain Layout
16751 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16754 \begin_layout Plain Layout
16762 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16765 \begin_layout Plain Layout
16771 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16774 \begin_layout Plain Layout
16782 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16785 \begin_layout Plain Layout
16793 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16796 \begin_layout Plain Layout
16802 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16805 \begin_layout Plain Layout
16813 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16816 \begin_layout Plain Layout
16824 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16827 \begin_layout Plain Layout
16833 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16836 \begin_layout Plain Layout
16844 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16847 \begin_layout Plain Layout
16855 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16858 \begin_layout Plain Layout
16864 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16867 \begin_layout Plain Layout
16875 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16878 \begin_layout Plain Layout
16886 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16889 \begin_layout Plain Layout
16895 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16898 \begin_layout Plain Layout
16906 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16909 \begin_layout Plain Layout
16917 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16920 \begin_layout Plain Layout
16926 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16929 \begin_layout Plain Layout
16937 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16940 \begin_layout Plain Layout
16948 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16951 \begin_layout Plain Layout
16957 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16960 \begin_layout Plain Layout
16968 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16971 \begin_layout Plain Layout
16979 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16982 \begin_layout Plain Layout
16988 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16991 \begin_layout Plain Layout
16999 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17002 \begin_layout Plain Layout
17010 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17013 \begin_layout Plain Layout
17019 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17022 \begin_layout Plain Layout
17030 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17033 \begin_layout Plain Layout
17041 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17044 \begin_layout Plain Layout
17050 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17053 \begin_layout Plain Layout
17061 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17064 \begin_layout Plain Layout
17072 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17075 \begin_layout Plain Layout
17081 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17084 \begin_layout Plain Layout
17092 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17095 \begin_layout Plain Layout
17103 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17106 \begin_layout Plain Layout
17112 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17115 \begin_layout Plain Layout
17123 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17126 \begin_layout Plain Layout
17134 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17137 \begin_layout Plain Layout
17143 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17146 \begin_layout Plain Layout
17154 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17157 \begin_layout Plain Layout
17165 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17168 \begin_layout Plain Layout
17174 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17177 \begin_layout Plain Layout
17185 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17188 \begin_layout Plain Layout
17196 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17199 \begin_layout Plain Layout
17205 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17208 \begin_layout Plain Layout
17216 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17219 \begin_layout Plain Layout
17227 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17230 \begin_layout Plain Layout
17236 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17239 \begin_layout Plain Layout
17247 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17250 \begin_layout Plain Layout
17258 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17261 \begin_layout Plain Layout
17267 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17270 \begin_layout Plain Layout
17278 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17281 \begin_layout Plain Layout
17289 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17292 \begin_layout Plain Layout
17298 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17301 \begin_layout Plain Layout
17309 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17312 \begin_layout Plain Layout
17320 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17323 \begin_layout Plain Layout
17329 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17332 \begin_layout Plain Layout
17340 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17343 \begin_layout Plain Layout
17351 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17354 \begin_layout Plain Layout
17360 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17363 \begin_layout Plain Layout
17371 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17374 \begin_layout Plain Layout
17380 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
17383 \begin_layout Plain Layout
17389 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17392 \begin_layout Plain Layout
17400 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17403 \begin_layout Plain Layout
17411 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17414 \begin_layout Plain Layout
17420 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17423 \begin_layout Plain Layout
17431 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17434 \begin_layout Plain Layout
17442 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17445 \begin_layout Plain Layout
17451 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17454 \begin_layout Plain Layout
17462 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17465 \begin_layout Plain Layout
17473 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17476 \begin_layout Plain Layout
17482 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17485 \begin_layout Plain Layout
17493 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17496 \begin_layout Plain Layout
17504 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17507 \begin_layout Plain Layout
17513 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17516 \begin_layout Plain Layout
17524 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17527 \begin_layout Plain Layout
17535 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17538 \begin_layout Plain Layout
17544 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17547 \begin_layout Plain Layout
17555 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17558 \begin_layout Plain Layout
17566 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17569 \begin_layout Plain Layout
17575 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17578 \begin_layout Plain Layout
17586 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17589 \begin_layout Plain Layout
17597 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17600 \begin_layout Plain Layout
17606 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17609 \begin_layout Plain Layout
17617 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17620 \begin_layout Plain Layout
17628 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17631 \begin_layout Plain Layout
17637 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17640 \begin_layout Plain Layout
17648 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17651 \begin_layout Plain Layout
17659 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17662 \begin_layout Plain Layout
17668 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17671 \begin_layout Plain Layout
17679 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17682 \begin_layout Plain Layout
17690 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17693 \begin_layout Plain Layout
17699 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17702 \begin_layout Plain Layout
17710 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17713 \begin_layout Plain Layout
17721 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17724 \begin_layout Plain Layout
17730 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17733 \begin_layout Plain Layout
17741 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17744 \begin_layout Plain Layout
17752 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17755 \begin_layout Plain Layout
17761 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17764 \begin_layout Plain Layout
17772 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17775 \begin_layout Plain Layout
17783 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17786 \begin_layout Plain Layout
17792 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17795 \begin_layout Plain Layout
17803 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17806 \begin_layout Plain Layout
17814 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17817 \begin_layout Plain Layout
17823 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17826 \begin_layout Plain Layout
17834 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17837 \begin_layout Plain Layout
17845 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17848 \begin_layout Plain Layout
17854 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17857 \begin_layout Plain Layout
17865 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17868 \begin_layout Plain Layout
17876 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17879 \begin_layout Plain Layout
17885 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17888 \begin_layout Plain Layout
17896 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17899 \begin_layout Plain Layout
17907 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17910 \begin_layout Plain Layout
17916 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17919 \begin_layout Plain Layout
17927 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17930 \begin_layout Plain Layout
17938 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17941 \begin_layout Plain Layout
17947 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17950 \begin_layout Plain Layout
17958 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17961 \begin_layout Plain Layout
17969 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17972 \begin_layout Plain Layout
17978 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17981 \begin_layout Plain Layout
17989 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17992 \begin_layout Plain Layout
18000 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18003 \begin_layout Plain Layout
18009 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18012 \begin_layout Plain Layout
18020 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18023 \begin_layout Plain Layout
18031 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18034 \begin_layout Plain Layout
18040 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18043 \begin_layout Plain Layout
18051 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18054 \begin_layout Plain Layout
18062 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18065 \begin_layout Plain Layout
18071 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18074 \begin_layout Plain Layout
18082 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18085 \begin_layout Plain Layout
18093 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18096 \begin_layout Plain Layout
18102 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18105 \begin_layout Plain Layout
18113 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18116 \begin_layout Plain Layout
18124 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18127 \begin_layout Plain Layout
18133 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18136 \begin_layout Plain Layout
18144 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18147 \begin_layout Plain Layout
18155 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18158 \begin_layout Plain Layout
18164 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18167 \begin_layout Plain Layout
18175 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18178 \begin_layout Plain Layout
18186 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18189 \begin_layout Plain Layout
18195 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18198 \begin_layout Plain Layout
18206 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18209 \begin_layout Plain Layout
18217 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18220 \begin_layout Plain Layout
18226 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18229 \begin_layout Plain Layout
18237 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18240 \begin_layout Plain Layout
18248 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18251 \begin_layout Plain Layout
18257 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18260 \begin_layout Plain Layout
18268 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18271 \begin_layout Plain Layout
18279 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18282 \begin_layout Plain Layout
18288 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18291 \begin_layout Plain Layout
18299 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18302 \begin_layout Plain Layout
18310 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18313 \begin_layout Plain Layout
18319 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18322 \begin_layout Plain Layout
18330 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18333 \begin_layout Plain Layout
18341 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18344 \begin_layout Plain Layout
18350 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18353 \begin_layout Plain Layout
18360 <row endlastfoot="true">
18361 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18364 \begin_layout Plain Layout
18370 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
18373 \begin_layout Plain Layout
18379 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18382 \begin_layout Plain Layout
18396 \begin_layout Subsection
18398 \begin_inset Index idx
18401 \begin_layout Plain Layout
18402 ひょう@表!のせる@------のセル
18408 \begin_inset CommandInset label
18417 \begin_layout Standard
18418 表のセルの中には、テキスト、行内数式、図、別の表などを入れることができます。これらのすべての種類のオブジェクトを同一セルに置くことも可能です。フォント寸法や字型
18419 を変更することもできますが、セルに特別な環境(例えば
18423 など)を入れたり、セルの段落に空白を指定するオプションを設定することはできません。
18426 \begin_layout Standard
18427 表のセルに複数行にわたる項目を入れるには、表ダイアログで当該列に固定列幅を宣言しなくてはなりません。すると、文章が指定した列幅よりも長くなると、自動的に複数行に
18428 改行され、セル高も高く調整されます。以下の例をご覧ください。
18431 \begin_layout Standard
18433 \begin_inset Tabular
18434 <lyxtabular version="3" rows="4" columns="3">
18435 <features rotate="0" tabularvalignment="middle">
18436 <column alignment="center" valignment="top" width="0pt">
18437 <column alignment="block" valignment="top" width="4cm">
18438 <column alignment="center" valignment="top" width="0pt">
18440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18443 \begin_layout Plain Layout
18449 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18452 \begin_layout Plain Layout
18458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18461 \begin_layout Plain Layout
18469 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18472 \begin_layout Plain Layout
18478 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18481 \begin_layout Plain Layout
18487 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18490 \begin_layout Plain Layout
18498 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18501 \begin_layout Plain Layout
18507 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18510 \begin_layout Plain Layout
18516 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18519 \begin_layout Plain Layout
18527 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18530 \begin_layout Plain Layout
18536 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18539 \begin_layout Plain Layout
18540 これは、表内の複数行項目です。もう少し付け加えます。
18545 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18548 \begin_layout Plain Layout
18562 \begin_layout Standard
18563 表どうしやセルどうしの切り貼りはうまく動作します。二行以上にわたっても切り貼りは可能です
18567 \begin_layout Plain Layout
18572 複数のセルを選択した状態で貼り付けをすることはできません。なぜなら、ひとつの単語を2行3列の選択範囲に貼り付けるとは、具体的に何をすればいいのか明らかではないか
18579 \begin_inset Flex Ruby
18582 \begin_layout Plain Layout
18584 \begin_inset Argument post:1
18587 \begin_layout Plain Layout
18598 による選択も通常どおり機能します。表全体の切り貼りも、表の外側から選択を始めることで行うことができます。
18601 \begin_layout Section
18603 \begin_inset Index idx
18606 \begin_layout Plain Layout
18613 \begin_inset CommandInset label
18622 \begin_layout Subsection
18626 \begin_layout Standard
18631 \begin_layout Plain Layout
18641 とは、位置の固定していない、なんらかのラベルを伴った文章の塊のことで、指定した位置から一二ページ前後のあいだでもっとも良い場所へ「漂う」ことができます。
18649 も、当該ページに注が多すぎるときには次のページに浮遊していくことができますから、これらもフロートと言ってよいでしょう。
18652 \begin_layout Standard
18653 フロートを使用すると、高品質のレイアウトを得ることができます。画像や表は、文章のないページや空白部分ができないように、各ページに分散して配置されます。フロート化
18654 することによって、本文と画像や表のあいだにある文脈が途切れてしまうことがあるので、各フロートは本文中で参照することができるようになっています。したがってフロート
18655 には付番がなされます。参照に関しては、第
18656 \begin_inset CommandInset ref
18658 reference "sec:相互参照"
18665 \begin_layout Standard
18668 挿入\SpecialChar \menuseparator
18672 \begin_inset space ~
18675 #:」(#は実際には番号)というキャプションの付いたボックスが挿入されます。ラベルは、出力時に自動的に文書言語に翻訳されます。ラベルの後にはキャプション文
18676 \begin_inset Index idx
18679 \begin_layout Plain Layout
18680 ふろーと@フロート!きゃぷしょん@キャプション
18685 を挿入することができます。画像ないし表は、キャプションの上か下に、フロート内の別の段落として挿入します。また、LyX文書を読みやすくするために、ボックスラベルを
18686 左クリックすれば、フロートボックスを開いたり閉じたりすることができます。閉じたフロートボックスは
18687 \begin_inset Graphics
18688 filename clipart/floatQt4.png
18692 のように赤いラベルの付いた灰色のボタンとして表されます。
18695 \begin_layout Standard
18696 周囲の本文に特別な整形がなされているときに起こりうるLaTeXエラーを回避するために、フロートは独立した段落として挿入することを推奨します。
18699 \begin_layout Subsection
18701 \begin_inset Index idx
18704 \begin_layout Plain Layout
18705 ふろーと@フロート!ず@図------
18711 \begin_inset CommandInset label
18720 \begin_layout Standard
18722 \begin_inset CommandInset ref
18724 reference "fig:カモノハシ-1"
18730 挿入\SpecialChar \menuseparator
18731 フロート\SpecialChar \menuseparator
18737 arg "float-insert figure"
18740 を使って生成しました。フロート生成後、キャプションラベルの上方にカーソルを持って行き、
18742 挿入\SpecialChar \menuseparator
18748 arg "dialog-show-new-inset graphics"
18751 を使って、画像を挿入します。その後、画像の前か後にカーソルを持って行き、
18753 編集\SpecialChar \menuseparator
18759 arg "layout-paragraph"
18762 を使用して、フロート内の画像を中央揃えにしてあります。
18765 \begin_layout Standard
18766 \begin_inset Float figure
18772 \begin_layout Plain Layout
18774 \begin_inset Graphics
18775 filename ../clipart/platypus.eps
18778 rotateOrigin center
18785 \begin_layout Plain Layout
18786 \begin_inset Caption Standard
18788 \begin_layout Plain Layout
18789 \begin_inset CommandInset label
18808 \begin_layout Standard
18809 この図フロートは、ラベルの付け方と相互参照の作り方も示しています。まず、
18811 挿入\SpecialChar \menuseparator
18822 挿入\SpecialChar \menuseparator
18828 arg "dialog-show-new-inset ref"
18831 を使って、このラベルを参照します。図フロートを参照する場合には、「上図」のようにあいまいな参照をするのではなく、相互参照を使用することが重要です。LaTeXは、
18832 文書の最終版でフロートの再配置を行うため、図が「上」に来るかどうかはまったくもって定かではないからです。相互参照については、第
18833 \begin_inset CommandInset ref
18835 reference "sec:相互参照"
18842 \begin_layout Standard
18843 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
18844 図フロートの中に図フロートを入れ込むことによって、実現することができます。第
18845 \begin_inset CommandInset ref
18847 reference "sec:図・表・アルゴリズム一覧"
18851 節に説明されている通り、図一覧には、フロートのメインキャプションのみが表示されることにご注意ください。図
18852 \begin_inset CommandInset ref
18854 reference "fig:歪められた二つの像"
18858 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
18859 \begin_inset CommandInset ref
18861 reference "fig:何かわからない"
18866 \begin_inset CommandInset ref
18868 reference "fig:カモノハシ"
18875 \begin_layout Standard
18876 \begin_inset Float figure
18881 \begin_layout Plain Layout
18882 \begin_inset space \hfill{}
18886 \begin_inset Float figure
18891 \begin_layout Plain Layout
18892 \begin_inset Caption Standard
18894 \begin_layout Plain Layout
18895 \begin_inset CommandInset label
18909 \begin_layout Plain Layout
18910 \begin_inset Graphics
18911 filename ../clipart/escher-lsd.eps
18922 \begin_inset space \hfill{}
18926 \begin_inset Float figure
18931 \begin_layout Plain Layout
18932 \begin_inset Caption Standard
18934 \begin_layout Plain Layout
18935 \begin_inset CommandInset label
18949 \begin_layout Plain Layout
18950 \begin_inset Graphics
18951 filename ../clipart/platypus.eps
18963 \begin_inset space \hfill{}
18969 \begin_layout Plain Layout
18970 \begin_inset Caption Standard
18972 \begin_layout Plain Layout
18973 \begin_inset CommandInset label
18975 name "fig:歪められた二つの像"
18992 \begin_layout Subsection
18994 \begin_inset Index idx
18997 \begin_layout Plain Layout
18998 ふろーと@フロート!ひょう@表------
19006 \begin_layout Standard
19009 挿入\SpecialChar \menuseparator
19010 フロート\SpecialChar \menuseparator
19016 arg "float-insert table"
19019 を使うと挿入することができます。フロート中の表が、図のようにキャプションの上ではなく、通常、下に置かれることと、ラベルが「tab:」で始まることを除けば、表フロ
19021 \begin_inset CommandInset ref
19023 reference "tab:表フロート"
19030 \begin_layout Standard
19031 \begin_inset Float table
19037 \begin_layout Plain Layout
19038 \begin_inset Caption Standard
19040 \begin_layout Plain Layout
19041 \begin_inset CommandInset label
19055 \begin_layout Plain Layout
19057 \begin_inset Tabular
19058 <lyxtabular version="3" rows="3" columns="3">
19059 <features rotate="0" tabularvalignment="middle">
19060 <column alignment="center" valignment="top" width="0pt">
19061 <column alignment="center" valignment="top" width="0pt">
19062 <column alignment="center" valignment="top" width="0pt">
19064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19067 \begin_layout Plain Layout
19073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19076 \begin_layout Plain Layout
19082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19085 \begin_layout Plain Layout
19093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19096 \begin_layout Plain Layout
19102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19105 \begin_layout Plain Layout
19111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19114 \begin_layout Plain Layout
19122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19125 \begin_layout Plain Layout
19126 \begin_inset Formula $\int x^{2}dx$
19134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19137 \begin_layout Plain Layout
19138 \begin_inset Formula $\left[\begin{array}{cc}
19141 \end{array}\right]$
19149 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19152 \begin_layout Plain Layout
19153 \begin_inset Formula $1+1=2$
19174 \begin_layout Subsection
19176 \begin_inset Index idx
19179 \begin_layout Plain Layout
19180 ふろーと@フロート ! しょうさい@詳細
19188 \begin_layout Standard
19189 LyXには、他にも回転フロートなどのフロート型があります。他にも、フロートの連番スキームを変更したり、フロートの配置を調整したり、フロートキャプションの書式や配
19190 置を変更することができます。これらの機能は、取扱説明書『
19198 」の章に、多くの用例とともに、詳しく説明されています。
19201 \begin_layout Section
19203 \begin_inset Index idx
19206 \begin_layout Plain Layout
19213 \begin_inset CommandInset label
19222 \begin_layout Standard
19223 LaTeXには、ミニページという、ページの中にページを事実上作ってしまう機構があります。ミニページの中では、字下げや行折返しなどの通常の規則がすべて有効です。
19226 \begin_layout Standard
19227 ミニページはLyXにおいては、折りたたみ可能なボックスとして表され、
19229 挿入\SpecialChar \menuseparator
19232 メニューで挿入できます。ボックスを右クリックすると、ミニページの幅やページ内部での配置を変更することができます。
19235 \begin_layout Standard
19237 \begin_inset Box Frameless
19247 height_special "totalheight"
19250 \begin_layout Plain Layout
19253 これはミニページです。本文はイタリック(Italic)体に設定されています。
19256 \begin_layout Plain Layout
19259 ミニページは、本文と異なる言語の文章や、別の整形方法を要する文章などによく用いられます。
19267 \begin_layout Standard
19268 \begin_inset VSpace medskip
19271 二つのみにページを横に並べるときには、第
19272 \begin_inset CommandInset ref
19274 reference "sub:水平方向の空白"
19283 \begin_inset VSpace medskip
19289 \begin_layout Standard
19290 \begin_inset Box Frameless
19300 height_special "totalheight"
19303 \begin_layout Plain Layout
19304 これは、まったく意味のないダミーの文章を含むミニページです。このダミーの文章は、ミニページが十分な大きさを持つようにするためのものです。
19310 \begin_inset space \hfill{}
19314 \begin_inset Box Frameless
19324 height_special "totalheight"
19327 \begin_layout Plain Layout
19328 これは、まったく意味のないダミーの文章を含むミニページです。このダミーの文章は、ミニページが十分な大きさを持つようにするためのものです。
19336 \begin_layout Standard
19337 \begin_inset VSpace bigskip
19343 \begin_layout Standard
19344 ミニページボックスを右クリックすると、ボックスをミニページから他のボックス型に変更することができます。ボックスの全型とその設定については、取扱説明書『
19355 \begin_layout Chapter
19357 \begin_inset Index idx
19360 \begin_layout Plain Layout
19367 \begin_inset Index idx
19370 \begin_layout Plain Layout
19375 \begin_layout Plain Layout
19386 \begin_layout Plain Layout
19399 \begin_inset CommandInset label
19408 \begin_layout Standard
19413 』に詳細な記述があります。そちらには、特殊な場合のヒントとコツも収録されています。
19416 \begin_layout Section
19418 \begin_inset Index idx
19421 \begin_layout Plain Layout
19422 すうしき@数式!のきほん@------の基本
19430 \begin_layout Standard
19431 数式を作成するには、ツールバーアイコン
19438 \begin_inset Flex Ruby
19441 \begin_layout Plain Layout
19443 \begin_inset Argument post:1
19446 \begin_layout Plain Layout
19463 )をクリックするだけでできます。すると、四隅を紫のマーカーで囲まれた青い箱が現れます。この青い箱が数式それ自身で、紫のマーカーは数式内の現在地の入れ子の深さを表
19468 \SpecialChar \menuseparator
19473 メニューを使えば、挿入する数式の型を選ぶこともできます。
19476 \begin_layout Standard
19477 数式のパラメータの編集や、数式の構成物の追加は、カーソルが数式内にある時に現れる、
19484 \begin_layout Standard
19485 数式には主に二つの型があります。そのうちの一つ、行内数式は本文の行内に現れる数式で以下のように表現されます:
19488 \begin_layout Standard
19490 \begin_inset Formula $A=B$
19496 \begin_layout Standard
19497 もう一つの別行立て数式は、本文の外側に単独の段落であるかのように表現されるもので、以下のようにみえます:
19498 \begin_inset Formula
19505 番号を振ったり参照をしたりするのは、別行立て数式しかできません。
19508 \begin_layout Standard
19509 LyXは、多くのLaTeX数式コマンドをサポートしています。例えば、「
19515 」と入力してスペースを押せば、数式の中にギリシア文字
19516 \begin_inset Formula $\alpha$
19523 を使うよりもコマンドを打った方が速いことがあるでしょう。
19526 \begin_layout Subsection
19528 \begin_inset Index idx
19531 \begin_layout Plain Layout
19540 \begin_layout Standard
19541 既存の数式内でカーソル位置をコントロールする一番いい方法は矢印
19542 \begin_inset Flex Ruby
19545 \begin_layout Plain Layout
19547 \begin_inset Argument post:1
19550 \begin_layout Plain Layout
19561 を使うことです。LyXは、何かを挿入できる場所を小さな箱で示します。矢印鍵は数式内の各部品のあいだを移動するのに使うことができます。
19566 \begin_inset Formula $\sqrt{2}$
19570 \begin_inset Formula $\left(f\right)$
19574 \begin_inset Formula $\left[\begin{array}{cc}
19577 \end{array}\right]$
19580 等)から脱出するのに使うことができます。
19584 を押すと、数式から脱出してカーソルは数式の直後に移動します。
19588 は、数式内を水平に移動するのに使います。例えば、行列中のセルの移動や複数行の数式中の移動などです。
19591 \begin_layout Standard
19597 \begin_inset space \textvisiblespace{}
19600 」と印刷されます—は、数式中では何もしないように見えますが、実は入れ子構造から脱出するのに使われるのです。このため、
19604 を使うときには注意しなくてはなりません。例えば、
19605 \begin_inset Formula $\sqrt{2x+1}$
19615 \begin_inset space \textvisiblespace{}
19629 \begin_inset space \textvisiblespace{}
19637 \begin_inset space \textvisiblespace{}
19645 \begin_inset Formula $2x$
19649 \begin_inset Formula $\sqrt{2x}+1$
19655 \begin_layout Standard
19656 以下の行列のように、数式の多くの構成要素は、一部だけ入力した状態で置いておくことができます。例:
19657 \begin_inset Formula
19659 \left(\begin{array}{ccc}
19668 分数の一部しか入力しなかったり、上付き文字に何も入力しなかった場合には、何が起こるかは予想できませんが、ほとんどの構成要素はすべて入力しなくとも大丈夫です。
19671 \begin_layout Subsection
19675 \begin_layout Standard
19676 数式中で文字を選択するには二つの方法があります。一つは、選択したい文字列の端にカーソルを置いて
19681 \begin_inset Flex Ruby
19684 \begin_layout Plain Layout
19686 \begin_inset Argument post:1
19689 \begin_layout Plain Layout
19700 を押しながらカーソル移動鍵で文字列を選択する方法です。すると、通常の文字列選択と同じように、選択部がハイライト表示されます。もう一つの方法は、他と同じようにマウ
19701 スを使って選択することです。選択部は、切り取りやコピーをして任意の数式中に貼り付けすることができますが、LyX中の通常の本文領域には貼り付けできません。
19704 \begin_layout Subsection
19706 \begin_inset Index idx
19709 \begin_layout Plain Layout
19716 \begin_inset Index idx
19719 \begin_layout Plain Layout
19720 すうしき@数式!したつきもじ@下付き文字
19728 \begin_layout Standard
19729 上付き文字や下付き文字を入力するには(
19732 arg "math-superscript"
19738 arg "math-subscript"
19741 ボタン)、数式パネルを使うこともできますが、コマンドを使用する方がより簡単です。つまり、
19742 \begin_inset Formula $x^{2}$
19750 \begin_inset space \textvisiblespace{}
19757 で、カーソルが上付き文字の位置から数式のベースライン位置に戻ります。もし
19762 \begin_inset Formula $x^{2y}$
19766 \begin_inset Formula $x^{2}y$
19775 \begin_inset space \textvisiblespace{}
19783 と入力して下さい。上付き文字を入力する時には、「^」で移行することができ、上付き部分から戻る際には
19788 \begin_inset Formula $x^{a}$
19796 \begin_inset space \textvisiblespace{}
19800 \begin_inset Formula $a_{1}$
19808 \begin_inset space \textvisiblespace{}
19814 \begin_layout Subsection
19816 \begin_inset Index idx
19819 \begin_layout Plain Layout
19828 \begin_layout Standard
19842 arg "math-insert \\frac"
19845 アイコンを使用してください。空の分数が現れて、カーソルが分数の横棒の上方に置かれます。横棒の下に移動するには
19853 を押して下さい。以下の例に示されているように、分数には任意の数式要素を入れることができます。
19854 \begin_inset Formula
19856 \left[\frac{1}{\left(\begin{array}{cc}
19859 \end{array}\right)}\right]
19867 \begin_layout Subsection
19869 \begin_inset Index idx
19872 \begin_layout Plain Layout
19881 \begin_layout Standard
19885 arg "math-insert \\sqrt"
19891 arg "math-insert \\root"
19906 コマンドを使って作成することができます。
19912 コマンドでは、立方根のような高次の根を生成することができますが、
19921 \begin_layout Subsection
19923 \begin_inset Index idx
19926 \begin_layout Plain Layout
19933 \begin_inset Index idx
19936 \begin_layout Plain Layout
19943 \begin_inset CommandInset label
19952 \begin_layout Standard
19954 \begin_inset Formula $\sum$
19958 \begin_inset Formula $\int$
19961 )には、しばしば和や積分の上限・下限を書き加えることがあります。これらの上限下限は、記号の直後で上付き文字や下付き文字を入力するときと同じようにすれば入力するこ
19962 とができます。和記号の場合は、別行立て数式では上限は記号の上に下限は記号の下に自動的に配置され、行内数式の場合は記号の横に配置されます。つまり行内数式は
19963 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
19967 \begin_inset Formula
19969 \sum_{n=1}^{\infty}\frac{1}{n!}=e
19974 となります。一方、積分記号の場合は、上限下限はどちらの数式型でも積分記号の横に配置されます。全ての範囲付き演算子は、別行立てモードでは自動的に大きさが調整されま
19975 す。上限下限の位置は、カーソルを記号の直後に置いて、
19983 編集\SpecialChar \menuseparator
19984 数式\SpecialChar \menuseparator
19987 メニューを使えば変更することができます。
19990 \begin_layout Standard
19991 他の数式表現にも、この「移動する上限下限」機能を持つものがあります。例えば
19992 \begin_inset Index idx
19995 \begin_layout Plain Layout
19996 すうしき@数式!じょうげんかげん@上限下限
20002 \begin_inset Index idx
20005 \begin_layout Plain Layout
20010 \begin_layout Plain Layout
20021 \begin_layout Plain Layout
20034 \begin_inset Formula
20036 \lim_{x\rightarrow\infty}f(x),
20042 \begin_inset Formula $x\rightarrow\infty$
20045 を記号の下に配置しますが、行内モードでは
20046 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
20052 \begin_layout Standard
20059 を使って入力されたものであることに注意してください。関数マクロに関しては、第
20060 \begin_inset CommandInset ref
20069 \begin_layout Subsection
20071 \begin_inset Index idx
20074 \begin_layout Plain Layout
20083 \begin_layout Standard
20088 にあるギリシャ文字・演算子・関係子・矢印等の各カテゴリの中に収録されています。また、アメリカ数学会(AMS: American Mathematical
20089 Society) が提供している記号も加えてあります。
20092 \begin_layout Standard
20093 もし使いたい数式要素や記号のLaTeXコマンドを知っているならば、数式パネルを使う必要はなく、数式に直接コマンドを入力すればよいでしょう。LyXが、それを対応す
20097 \begin_layout Subsection
20099 \begin_inset Index idx
20102 \begin_layout Plain Layout
20109 \begin_inset Index idx
20112 \begin_layout Plain Layout
20117 \begin_layout Plain Layout
20128 \begin_layout Plain Layout
20143 \begin_layout Standard
20144 LaTeXの提供する標準的な余白取りとは異なる余白を使いたいことがあるかもしれません。この場合は、
20147 arg "command-alternatives math-space ; space-insert protected"
20157 arg "math-insert \\space"
20160 を使用してください。これは小さな空白を追加するもので、画面上には小さなマーカーが表示されます。例えば、
20165 \begin_inset Flex Ruby
20168 \begin_layout Plain Layout
20170 \begin_inset Argument post:1
20173 \begin_layout Plain Layout
20185 \begin_inset Formula $a\, b$
20189 \begin_inset Graphics
20190 filename ../clipart/SpaceMarker.png
20194 のように表示されます。空白マーカーの直後にカーソルを置いて空白をさらに何度か押すと、空白を異なる長さに変えることができます。一度空白を押す度に長さが変わります。
20195 負の長さを持ついくつかの空白は、LyX上では赤色で表示されます。以下に例を二つ上げます。
20198 \begin_layout Standard
20208 \begin_inset Formula $a\quad b$
20214 \begin_layout Standard
20224 \begin_inset Formula $a\! b$
20230 \begin_layout Subsection
20232 \begin_inset Index idx
20235 \begin_layout Plain Layout
20242 \begin_inset CommandInset label
20251 \begin_layout Standard
20259 arg "math-insert \\functions"
20263 \begin_inset Formula $\sin$
20267 \begin_inset Formula $\lim$
20270 など多くの関数が含まれています(数式中で
20276 などと入力して挿入することも可能です)。通常、
20277 \begin_inset Formula $sin$
20281 \begin_inset Formula $s\cdot i\cdot n$
20284 を意味することになってしまうので、数学の標準的な慣習では、混乱を避けるため関数はアップライト体で印字されます。
20287 \begin_layout Standard
20288 また、関数マクロは関数の周りに適切な余白を設定します。
20289 \begin_inset Formula $a\sin x$
20293 \begin_inset Formula $asinx$
20299 \begin_layout Standard
20300 \begin_inset Formula $\lim$
20303 のようないくつかの数式オブジェクトでは、マクロが下付き文字の位置を、第
20304 \begin_inset CommandInset ref
20306 reference "sub:範囲付き演算子"
20310 節に述べられているような方法で変更します。
20313 \begin_layout Subsection
20315 \begin_inset Index idx
20318 \begin_layout Plain Layout
20319 すうしき@数式!あくせんと@アクセント
20327 \begin_layout Standard
20328 数式中においても、通常の本文と同じ方法で、アクセントの付いた文字を挿入することができます。方法は、使用しているキーボードと
20329 \begin_inset Flex Ruby
20332 \begin_layout Plain Layout
20334 \begin_inset Argument post:1
20337 \begin_layout Plain Layout
20348 設定ファイルによって異なります。また、キーボードがアクセントを使うように設定されていないでも、例えば
20349 \begin_inset Formula $\hat{a}$
20352 を挿入するのにLaTeXコマンドを使用することができます。この例では、数式中で
20359 \begin_inset space \textvisiblespace{}
20366 と入力することによって作成しています。第
20367 \begin_inset CommandInset ref
20369 reference "tab:アクセント名とそれに対応するコマンド"
20373 表はアクセント名とコマンドの対照表を示しています。
20376 \begin_layout Standard
20377 \begin_inset Float table
20382 \begin_layout Plain Layout
20386 \begin_layout Plain Layout
20387 \begin_inset Caption Standard
20389 \begin_layout Plain Layout
20390 \begin_inset CommandInset label
20392 name "tab:アクセント名とそれに対応するコマンド"
20404 \begin_layout Plain Layout
20406 \begin_inset Tabular
20407 <lyxtabular version="3" rows="11" columns="3">
20408 <features rotate="0" tabularvalignment="middle">
20409 <column alignment="center" valignment="top" width="0pt">
20410 <column alignment="center" valignment="top" width="0pt">
20411 <column alignment="center" valignment="top" width="0pt">
20413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20416 \begin_layout Plain Layout
20422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20425 \begin_layout Plain Layout
20431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20434 \begin_layout Plain Layout
20442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20445 \begin_layout Plain Layout
20451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20454 \begin_layout Plain Layout
20464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20467 \begin_layout Plain Layout
20468 \begin_inset Formula $\hat{a}$
20478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20481 \begin_layout Plain Layout
20487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20490 \begin_layout Plain Layout
20500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20503 \begin_layout Plain Layout
20504 \begin_inset Formula $\grave{a}$
20514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20517 \begin_layout Plain Layout
20523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20526 \begin_layout Plain Layout
20536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20539 \begin_layout Plain Layout
20540 \begin_inset Formula $\acute{a}$
20550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20553 \begin_layout Plain Layout
20559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20562 \begin_layout Plain Layout
20572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20575 \begin_layout Plain Layout
20576 \begin_inset Formula $\ddot{a}$
20586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20589 \begin_layout Plain Layout
20595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20598 \begin_layout Plain Layout
20608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20611 \begin_layout Plain Layout
20612 \begin_inset Formula $\tilde{a}$
20622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20625 \begin_layout Plain Layout
20631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20634 \begin_layout Plain Layout
20644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20647 \begin_layout Plain Layout
20648 \begin_inset Formula $\dot{a}$
20658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20661 \begin_layout Plain Layout
20667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20670 \begin_layout Plain Layout
20680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20683 \begin_layout Plain Layout
20684 \begin_inset Formula $\breve{a}$
20694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20697 \begin_layout Plain Layout
20703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20706 \begin_layout Plain Layout
20716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20719 \begin_layout Plain Layout
20720 \begin_inset Formula $\check{a}$
20730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20733 \begin_layout Plain Layout
20739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20742 \begin_layout Plain Layout
20752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20755 \begin_layout Plain Layout
20756 \begin_inset Formula $\bar{a}$
20766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20769 \begin_layout Plain Layout
20775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20778 \begin_layout Plain Layout
20788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20791 \begin_layout Plain Layout
20792 \begin_inset Formula $\vec{a}$
20808 \begin_layout Plain Layout
20817 \begin_layout Standard
20825 arg "math-insert \\hat"
20828 から項目を選ぶことで選択することもできます。この方法は、数式内で選択したものなら何にでも適用することができます。
20831 \begin_layout Section
20833 \begin_inset Index idx
20836 \begin_layout Plain Layout
20843 \begin_inset Index idx
20846 \begin_layout Plain Layout
20847 すうしき@数式!くぶんきごう@区分記号
20853 \begin_inset CommandInset label
20862 \begin_layout Standard
20863 LyXで使える括弧には、いくつかのものがあります。ほとんどの場合、単に
20868 \begin_inset Flex Ruby
20871 \begin_layout Plain Layout
20873 \begin_inset Argument post:1
20876 \begin_layout Plain Layout
20887 を使うだけで十分ですが、行列や分数のような大きな数式要素の周りを括弧で囲みたい場合や、幾重もの括弧を使いたい場合には、
20894 arg "dialog-show mathdelimiter"
20897 を使うべきです。例えば、行列周りの括弧を作るには
20898 \begin_inset Formula
20900 \left[\begin{array}{cc}
20908 のようにします。下記の表現の左側は、区分記号アイコン
20911 arg "dialog-show mathdelimiter"
20919 \begin_inset Formula
20921 \frac{1}{\left(1+\left(\frac{1}{1+\left(\frac{1}{1+x}\right)}\right)\right)}\qquad\qquad\frac{1}{(1+(\frac{1}{1+(\frac{1}{1+x})}))}
20929 \begin_layout Standard
20930 区分記号アイコンを使用すると、括弧は、中身の大きさに応じて自動的に大きさが変わります。
20933 \begin_layout Standard
20934 括弧を作成するには、左側と右側に使う括弧のボタンをクリックしてください。左右対称オプションを使用すると、選択した括弧型が左右両方に使用されます。選択したものは、
20935 TeXコードとして表示されます。片側の括弧を無くしたい場合には、
20939 を選択します。すると、LyX上では破線が表示されますが、印刷時には何も印字されなくなります。
20942 \begin_layout Standard
20943 既存の数式要素に括弧をつけたい場合は、根号と同様に、括弧の中に入れる要素を選択状態にし、左右に適切な括弧を選んで
20947 をクリックしてください。選択した要素の周りに括弧が描かれます。最もよく使われる括弧対(両側とも丸括弧・角括弧・波括弧のもの)は、
20948 \begin_inset Flex Ruby
20951 \begin_layout Plain Layout
20953 \begin_inset Argument post:1
20956 \begin_layout Plain Layout
20967 を使用して、素早く入力することができます。例えば、両側を伸縮可能な丸括弧にするには、括弧をつける対象を選択して
20970 arg "math-delim ( )"
20976 \begin_layout Section
20978 \begin_inset Index idx
20981 \begin_layout Plain Layout
20988 \begin_inset Index idx
20991 \begin_layout Plain Layout
20998 \begin_inset Index idx
21001 \begin_layout Plain Layout
21002 すうしき@数式!ふくすうぎょう@複数行------
21010 \begin_layout Standard
21011 LyXでは、行列は数式パネルの行列ボタン
21014 arg "dialog-show mathmatrix"
21017 を使用して入力します。これを押すとダイアログが表示されますので、行数と列数を指定してください。以下が作例です。
21018 \begin_inset Formula
21020 \left(\begin{array}{ccc}
21030 \begin_inset CommandInset ref
21032 reference "sec:括弧と区分記号"
21036 節で述べられている方法でつけてください。行列を作成する際には、各列を左揃えにするか、右揃えにするか、中央揃えにするかを指定することができます。この配置は、
21052 」の各文字を入力することで指定できます。LyXの既定値は各列とも「
21060 」という文字列を入れると、各文字がそれぞれの列に対応するので、第1列を左揃え、第2列を中央揃え、第3列の右揃えにすることになります。この出力は以下のようになりま
21062 \begin_inset Formula
21065 \mbox{この} & \mbox{この} & \mbox{この}\\
21066 \mbox{列は} & \mbox{列は} & \mbox{列は}\\
21067 \mbox{左揃えです} & \mbox{中央揃えです} & \mbox{右揃えです}
21076 \begin_layout Standard
21077 既存の行列に行を追加するには、カーソルを行列内に置いて
21080 arg "newline-insert newline"
21085 編集\SpecialChar \menuseparator
21088 メニューか数式ツールバーを使用してください。
21091 \begin_layout Standard
21092 数式には、他にも場合分けのような配列を使用することができます。これは、
21094 挿入\SpecialChar \menuseparator
21095 数式\SpecialChar \menuseparator
21104 コマンドで作成することができます。以下がその例です。
21105 \begin_inset Formula
21119 \begin_layout Standard
21120 \begin_inset VSpace bigskip
21126 arg "newline-insert newline"
21129 を押すことで作成することができます。空の数式では、各列を表す3つの青い枠が表示されます。空でない数式内で
21132 arg "newline-insert newline"
21135 を押すと、関係子(等号「=」など)の前の部分は自動的に第1列に入れられ、関係子が第2列、残りが第3列に入れられます。新規の行は、さらに
21138 arg "newline-insert newline"
21141 を押すたびに追加されます。多行数式は、つねに別行立てです。以下がその例です。
21142 \begin_inset Formula
21144 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
21145 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
21150 中央の列は関係子用にデザインされていますので、この列の要素は、以下のように少し小さい大きさで印字されることに注意してください。
21151 \begin_inset Formula
21153 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
21161 \begin_layout Standard
21167 \begin_inset CommandInset ref
21169 reference "eq:asquared"
21173 式よりも美しい行間が欲しい場合など、状況によっては、より適した複数行型が他にあります。他の型に関しては、第
21174 \begin_inset CommandInset ref
21176 reference "sub:AMS数式型"
21183 \begin_layout Section
21185 \begin_inset Index idx
21188 \begin_layout Plain Layout
21189 すうしき@数式!ばんごう@------番号
21195 \begin_inset Index idx
21198 \begin_layout Plain Layout
21199 すうしき@数式!さんしょう@------参照
21205 \begin_inset CommandInset label
21214 \begin_layout Standard
21215 数式に番号をつけるには、数式内にカーソルを置いて、
21217 編集\SpecialChar \menuseparator
21218 数式\SpecialChar \menuseparator
21222 \begin_inset Flex Ruby
21225 \begin_layout Plain Layout
21227 \begin_inset Argument post:1
21230 \begin_layout Plain Layout
21244 arg "math-number-toggle"
21247 を使用してください。数式番号は、LyX中では括弧付きで表示されます。表示されている番号は一時的なもので、出力が生成されるときには別の番号になる可能性があります。
21248 出力における数式番号の配置と形式は、文書クラスに依存します。この文書では、数式番号は、章番号とともに、ピリオドのあとに印字されます。
21249 \begin_inset Formula
21259 arg "math-number-toggle"
21262 と押すと、番号を消すことができます。番号付けは別行立て数式でしかできません。
21265 \begin_layout Standard
21266 多行数式では、行ごとに番号をつけることができます。
21268 編集\SpecialChar \menuseparator
21269 数式\SpecialChar \menuseparator
21273 \begin_inset Flex Ruby
21276 \begin_layout Plain Layout
21278 \begin_inset Argument post:1
21281 \begin_layout Plain Layout
21295 arg "math-number-line-toggle"
21298 を使用すると、以下のように、カーソルがある行の番号だけを付けたり消したりすることができます。
21299 \begin_inset Formula
21302 2 & = & 4-2\nonumber \\
21311 arg "math-number-toggle"
21315 \begin_inset VSpace bigskip
21318 別行立て数式の番号はすべて、ラベルを使って参照することができます。ラベルは、カーソルが数式内にあるときに、
21320 挿入\SpecialChar \menuseparator
21329 )、ラベルを入力するダイアログが開きますので、そこで挿入することができます。このとき、ラベルの冒頭部を表示のとおり「
21333 」にしておく方が、文書内にたくさんのラベルがあふれてしまったときにラベル型を判別する助けとなるので、望ましいでしょう。以下の例では、第2行に「eq:tanhEx
21335 \begin_inset Formula
21337 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
21338 & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
21343 ラベル行はすべて自動的に付番されますので、LyX中では、ラベルは数式番号の場所に位置取りを示す「#」で表示されます。ラベルのついた数式は、
21345 挿入\SpecialChar \menuseparator
21351 arg "dialog-show-new-inset ref"
21354 )、参照したいラベルを選択するダイアログが現れますので、これを使って参照することができます。参照は、以下のように、LyX中では灰色の相互参照ボックスとして表示さ
21358 \begin_layout Standard
21360 \begin_inset CommandInset ref
21362 reference "eq:tanhExp"
21369 \begin_layout Standard
21370 LyXの相互参照ボックスの設定については、第
21371 \begin_inset CommandInset ref
21373 reference "sec:相互参照"
21377 節に説明があります。ラベルを削除するには、ラベル付きの数式の終端にカーソルを置き、
21384 \begin_layout Section
21386 \begin_inset Index idx
21389 \begin_layout Plain Layout
21390 すうしき@数式!まくろ@------マクロ
21398 \begin_layout Standard
21399 LyXでは、数式用に自前のマクロを定義することができるので、同じ形の数式が文書中に何度も現れるときには、たいへん便利です。数式マクロは、取扱説明書『
21410 \begin_layout Section
21414 \begin_layout Subsection
21416 \begin_inset Index idx
21419 \begin_layout Plain Layout
21428 \begin_layout Standard
21429 文字の標準フォントはイタリック体であり、数字の標準フォントはローマン体です。数式中でフォントを指定するには、数式パネルの
21432 arg "math-insert \\font"
21436 \begin_inset CommandInset ref
21438 reference "tab:書体とそれに対応するコマンド"
21442 表に掲げてあるコマンドを直接入力してください。
21445 \begin_layout Standard
21446 \begin_inset Float table
21451 \begin_layout Plain Layout
21452 \begin_inset Caption Standard
21454 \begin_layout Plain Layout
21455 \begin_inset CommandInset label
21457 name "tab:書体とそれに対応するコマンド"
21469 \begin_layout Plain Layout
21471 \begin_inset Tabular
21472 <lyxtabular version="3" rows="9" columns="2">
21473 <features rotate="0" tabularvalignment="middle">
21474 <column alignment="center" valignment="top" width="0pt">
21475 <column alignment="center" valignment="top" width="0pt">
21477 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21480 \begin_layout Plain Layout
21486 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
21489 \begin_layout Plain Layout
21497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21500 \begin_layout Plain Layout
21501 \begin_inset Formula $\mathrm{Roman}$
21509 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21512 \begin_layout Plain Layout
21524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21527 \begin_layout Plain Layout
21528 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
21536 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21539 \begin_layout Plain Layout
21551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21554 \begin_layout Plain Layout
21555 \begin_inset Formula $\mathit{Italic}$
21563 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21566 \begin_layout Plain Layout
21578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21581 \begin_layout Plain Layout
21582 \begin_inset Formula $\mathtt{Typewriter}$
21590 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21593 \begin_layout Plain Layout
21605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21608 \begin_layout Plain Layout
21609 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
21617 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21620 \begin_layout Plain Layout
21632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21635 \begin_layout Plain Layout
21636 \begin_inset Formula $\mathfrak{Fraktur}$
21644 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21647 \begin_layout Plain Layout
21659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21662 \begin_layout Plain Layout
21665 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
21673 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21676 \begin_layout Plain Layout
21688 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21691 \begin_layout Plain Layout
21692 \begin_inset Formula $\mathsf{SansSerif}$
21700 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
21703 \begin_layout Plain Layout
21726 \begin_layout Standard
21727 \begin_inset Note Greyedout
21730 \begin_layout Plain Layout
21742 では、大文字しか印字できないことに注意してください。
21750 \begin_layout Standard
21751 書体を指定すると、青い枠が数式中に表示されます。この枠中の文字はすべて、指定した書体で印字されます。枠中で
21755 を押すとカーソルが枠外に出てしまうので、枠中で空白が欲しい場合には、保護された空白を使用しなくてはなりません。以下は、自然数の集合を表すのに
21760 \begin_inset Formula
21762 f(x)=\sqrt{x}\;;\; x\in\mathbb{N}
21770 \begin_layout Standard
21771 書体は入れ子にすることが可能ですが、混乱の元になることがあります。例えば
21772 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
21783 の文字を入れることは可能ですが、この機能は使用しない方が望ましいでしょう。
21786 \begin_layout Standard
21788 \begin_inset Formula $\mathfrak{abc\delta e}$
21791 に見られるように、ギリシャ文字には効力がありません。またギリシャ文字を太字にするには、
21797 コマンドのみが有効です。これは、他の書体コマンドと同様に動作します。例:
21798 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
21804 \begin_layout Standard
21811 コマンドは、すべての記号や文字・数字に有効です。
21814 \begin_layout Standard
21817 編集\SpecialChar \menuseparator
21818 数式\SpecialChar \menuseparator
21821 メニューから、多くのフォント・オプションが利用できます。
21824 \begin_layout Subsection
21826 \begin_inset Index idx
21829 \begin_layout Plain Layout
21838 \begin_layout Standard
21839 書体は、いくつかの文字をある特定のフォントにするには便利ですが、文章を入れるには向いていません。比較的長い文章を入力するには、
21846 arg "math-insert \\font"
21853 」(あるいを選択して得られる、数式内文章を使用してください。LyX内では、数式内文章は、青色ではなく黒色で表示されます。数式内文章では、通常の本文と同様に空白や
21854 アクセントが使用できます。以下の例をご覧ください。
21855 \begin_inset Formula
21858 x & \mbox{もし私がそう言った場合}\\
21859 -x & \textrm{unter Umständen(場合によっては)}
21868 \begin_layout Subsection
21870 \begin_inset Index idx
21873 \begin_layout Plain Layout
21874 すうしき@数式 ! ふぉんとすんぽう@フォント寸法
21882 \begin_layout Standard
21883 数式モードで使用されるフォントには、4つのフォント形式(相対寸法)がありますが、ほとんどの状況下で、これらは自動的に選択されます。これらのフォント形式は、それぞ
21908 においては、ほとんどの文字が同じ大きさですが、関数・下付き文字・上付き文字などは
21912 の方が大きくなっています。状況に応じて伸縮するいくつかの演算子を除くすべての文字は、LaTeXが適切と判断する形式に設定されます。これらの設定は、数式パネルボタ
21918 arg "math-insert \\style"
21923 を使用することで上書きすることができます。選択した寸法用の枠が生成されるので、その中に数式要素を入力します。例えば、通常
21928 \begin_inset Formula $\frac{1}{2}$
21936 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
21939 と表示するように設定することができます。4つの形式の例を以下に挙げます。
21942 \begin_layout Standard
21944 \begin_inset Formula $displaystyle$
21948 \begin_inset Formula ${\textstyle textstyle}$
21952 \begin_inset Formula ${\scriptstyle scriptstyle}$
21956 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
21962 \begin_layout Standard
21963 これらの数式モードのフォント寸法は、すべて相対的なものです。すなわち、数式挿入枠全体が、
21965 編集\SpecialChar \menuseparator
21968 メニューを使用して特定の寸法に変更されると、数式中のすべての大きさのフォントが、この寸法を基準にして調整されます。同じように、文書全体の基本フォント寸法が変更さ
21969 れれば、すべてのフォントがこれに応じて調整されます。以下は、「極大」フォント寸法の中に挿入された数式の例です。
21972 \begin_layout Standard
21975 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
21981 \begin_layout Section
21983 \begin_inset Index idx
21986 \begin_layout Plain Layout
21993 \begin_inset Index idx
21996 \begin_layout Plain Layout
22005 \begin_layout Standard
22006 LyXは、アメリカ数学会(AMS: The American Mathematical Society )の提供するパッケージをサポートしています。
22009 \begin_layout Subsection
22013 \begin_layout Standard
22016 文書\SpecialChar \menuseparator
22020 \begin_inset Index idx
22023 \begin_layout Plain Layout
22024 ふんしよ@文書!せってい@------設定
22036 \begin_inset space ~
22041 チェックボックスを選択状態にすると、AMSパッケージが文書にインクルードされ、その機能が有効になります。AMSは、多くの数式要素に必要とされているので、数式部で
22042 LaTeXエラーが出る場合には、AMSが有効になっていることを確認してください。
22045 \begin_layout Subsection
22047 \begin_inset CommandInset label
22054 \begin_inset Index idx
22057 \begin_layout Plain Layout
22058 すうしき@数式!ふくすうぎょう@複数行------
22066 \begin_layout Standard
22067 AMS-LaTeXは、数式型を複数提供しています。LyXでは、
22087 を選択することができるようになっていますこれらの数式型の説明に関しては、AMSの取扱説明書をご参照ください
22088 \begin_inset CommandInset citation
22097 \begin_layout Chapter
22101 \begin_layout Section
22103 \begin_inset Index idx
22106 \begin_layout Plain Layout
22113 \begin_inset CommandInset label
22122 \begin_layout Standard
22123 LyXの強みの一つは、強力な相互参照機能です。文書中のすべての節・フロート・脚注・数式・箇条書きを参照することが可能です。文書の一部を参照するには、文書にラベル
22124 を挿入しなくてはなりません。ラベルは、参照位置を固定するとともに、参照用の名前をつけるのに使われます。例として、以下の箇条書きの第2項目を参照したいものとしまし
22128 \begin_layout Enumerate
22132 \begin_layout Enumerate
22133 \begin_inset CommandInset label
22142 \begin_layout Enumerate
22146 \begin_layout Standard
22147 まず、挿入ラベルメニューを使うかツールバーボタン
22153 を押して、第2項目にラベルを挿入します。
22154 \begin_inset Graphics
22155 filename clipart/labelQt4.png
22160 のような灰色のラベル枠が挿入され、ラベルウィンドウがポップアップして、ラベル用文字列を入力するように促します。LyXは、項目の最初の単語に前置詞をつけたもの、こ
22165 」を文字列の候補として表示します。ここで前置詞「
22169 」は、「enumerate(連番箇条書き)」を表します。前置詞は、ラベルが挿入される文書内の場所によって異なるものが付き、例えばラベルを節見出しに挿入すると、前
22177 \begin_layout Standard
22180 挿入\SpecialChar \menuseparator
22186 arg "dialog-show-new-inset ref"
22189 を使用して、そのラベル名を参照してください。
22190 \begin_inset Graphics
22191 filename clipart/referenceQt4.png
22196 のような灰色の枠が挿入され、相互参照ウィンドウが現れて文書内のすべてのラベルが表示されます。見やすくラベルをアルファベット順に整列するなどして、「
22200 」という項目を見つけ選択してください。出力では、相互参照枠の位置に項目番号が印字されます。
22203 \begin_layout Standard
22206 挿入\SpecialChar \menuseparator
22209 の代わりに、ラベルをクリックすると現れるコンテクストメニューにある
22213 を使うこともできます。すると、このラベルに対する相互参照がクリップボードにコピーされるので、
22215 編集\SpecialChar \menuseparator
22219 \begin_inset Flex Ruby
22222 \begin_layout Plain Layout
22224 \begin_inset Argument post:1
22227 \begin_layout Plain Layout
22244 )メニューを使って、現在のカーソル位置に貼り付けることができます。
22247 \begin_layout Standard
22249 \begin_inset CommandInset ref
22251 reference "enu:第2項目"
22256 \begin_inset space ~
22260 \begin_inset CommandInset ref
22262 reference "enu:第2項目"
22269 \begin_layout Standard
22270 英文などの場合は、改行が汚くなるのを防ぐため、相互参照名とその前の単語とのあいだには保護された空白
22274 \begin_layout Plain Layout
22276 \begin_inset CommandInset ref
22278 reference "sub:保護された空白"
22290 \begin_layout Standard
22291 相互参照には、以下の6つの種類があります。
22294 \begin_layout Description
22295 <参照> フロート番号を印字します。これが既定値です。(例)
22296 \begin_inset CommandInset ref
22298 reference "fig:歪められた二つの像"
22305 \begin_layout Description
22306 (<参照>) フロート番号をかっこの中に印字します。これは通常、数式を参照するのに使われる形式で、特に参照接頭辞「式」を省略するときに使われます。(例)
22307 \begin_inset CommandInset ref
22309 reference "fig:歪められた二つの像"
22316 \begin_layout Description
22317 <参照ページ> ページ番号を印字します。(例)
22318 \begin_inset CommandInset ref
22319 LatexCommand pageref
22320 reference "fig:歪められた二つの像"
22327 \begin_layout Description
22329 \begin_inset space ~
22333 \begin_inset space ~
22336 <参照ページ> 「on page」という文とページ番号を出力します。(例)
22337 \begin_inset CommandInset ref
22338 LatexCommand vpageref
22339 reference "fig:歪められた二つの像"
22344 \begin_inset Newline newline
22347 ラベルが同じページにある場合は、「on this page」と出力し、ラベルが両面文書の見開きにある場合には、「on the facing page」と出力しま
22348 す。見開きにない前のページにラベルがあるときは、「on the previous page」と出力し、見開きにない次のページにラベルがあるときは、「on
22349 the next page」と出力します。出力される文の言葉遣いは、使用する文書クラスに依存します。
22352 \begin_layout Description
22354 \begin_inset space ~
22358 \begin_inset space ~
22362 \begin_inset space ~
22365 <参照ページ> フロート番号、「on page」という文、ページ番号の順に印字します。(例)
22366 \begin_inset CommandInset ref
22368 reference "fig:歪められた二つの像"
22373 \begin_inset Newline newline
22376 ラベルが同じページにあるときは、本書式は
22391 \begin_layout Description
22392 整形参照 自己定義の相互参照形式で印字します。
22393 \begin_inset Newline newline
22397 \begin_inset Note Greyedout
22400 \begin_layout Plain Layout
22414 \begin_inset Index idx
22417 \begin_layout Plain Layout
22418 latexはつけじ@LaTeXパッケージ! prettyref
22424 \begin_inset Index idx
22427 \begin_layout Plain Layout
22428 latexはつけじ@LaTeXパッケージ ! refstyle
22433 が導入されているときのみ、使用できます。
22439 \begin_inset Newline newline
22444 文書\SpecialChar \menuseparator
22445 設定\SpecialChar \menuseparator
22450 相互参照に(prettyrefではなく)refstyleを使用
22452 オプションを使えば、この機能に使用するLaTeXパッケージを変更することができます。既定では
22460 は英語しかサポートしないので、こちらの方が望ましい設定になっています。書式は、文書のLaTeXプリアンブルで、
22480 の場合)コマンドを使用して指定することができます。例えば、図への参照(ラベル接頭辞
22483 \begin_inset Quotes erd
22487 \begin_inset Quotes erd
22493 \begin_inset Newline newline
22500 newref{fig}{refcmd={
22502 pageref{#1}ページにある図}}}
22505 \begin_inset Newline newline
22508 のようなコマンドを使うことができます。書式についての詳細は、パッケージ取扱説明書
22509 \begin_inset CommandInset citation
22511 key "prettyref,refstyle"
22518 \begin_layout Description
22520 \begin_inset CommandInset ref
22521 LatexCommand nameref
22522 reference "fig:歪められた二つの像"
22526 のように参照のキャプションを印字します。
22529 \begin_layout Standard
22530 文書中参照されている部分の出力における参照番号と参照ページ番号は、LaTeXが自動的に計算します。参照の種類は、相互参照枠をクリックすると出てくる相互参照ウィン
22538 \begin_layout Standard
22543 形式は、いつでも使用することができますが、
22547 形式は、文書中の付番されている部分でしか使用することができません。
22550 \begin_layout Standard
22551 節を参照したい場合には、ラベルは節見出しの中に置き、フロートを参照したいときには、ラベルをキャプションの中に置いてください。脚注の場合は、ラベルは脚注中どこにお
22553 \begin_inset CommandInset ref
22555 reference "sec:数式番号と参照"
22562 \begin_layout Standard
22567 ボタンは、カーソルを参照されているラベルの直前に移動します。すると、ボタンの文が
22571 に変わりますので、相互参照部にカーソルを戻したいときには、それを使うことができます。相互参照枠を右クリックすることによっても、カーソルを参照されているラベルの直
22572 前に持っていくことができ、ツールバーボタンの
22575 arg "bookmark-goto 0"
22581 \begin_layout Standard
22582 ラベルを変更したいときは、いつでもラベル枠をクリックすることで変更することができます。変更されたラベルへの参照は、自動的にリンクを新しいラベル文に変更しますので
22583 、この点を気にかける必要はありません。
22586 \begin_layout Standard
22587 相互参照が、存在しないラベルを参照しているときには、LyX中の相互参照ラベルに「破損」と表示される一方、出力では、参照の代わりに二つのクエスチョンマークが印字さ
22591 \begin_layout Standard
22603 \begin_layout Section
22605 \begin_inset Index idx
22608 \begin_layout Plain Layout
22615 \begin_inset Index idx
22618 \begin_layout Plain Layout
22619 ふんしよ@文書!こうぞう@------構造
22625 \begin_inset Index idx
22628 \begin_layout Plain Layout
22633 \begin_layout Plain Layout
22644 \begin_layout Plain Layout
22657 \begin_inset CommandInset label
22666 \begin_layout Subsection
22668 \begin_inset CommandInset label
22677 \begin_layout Standard
22680 挿入\SpecialChar \menuseparator
22681 一覧/目次\SpecialChar \menuseparator
22684 メニューで挿入することができ、LyX中では灰色の枠として表示されます。枠をクリックすると文書構造ウィンドウが開かれて、目次項目が文書構造として表示され、各節を文
22685 書内で移動したり再配置したりすることができるようになります。したがって、この操作は第
22686 \begin_inset CommandInset ref
22688 reference "sub:文書構造"
22694 表示\SpecialChar \menuseparator
22700 \begin_layout Standard
22701 目次は、出力文書においては、自動的にすべての付番された節を列挙します。第
22702 \begin_inset CommandInset ref
22704 reference "sub:見出しの短縮形"
22708 節に述べたように、節見出しに短縮タイトルを宣言した場合、目次中では、それが節見出しの代わりに使用されます。第
22709 \begin_inset CommandInset ref
22711 reference "sub:番号の付け方-深度"
22715 節に、目次中にどの深さの節見出しまで載せるかを調整する方法が挙げてあります。付番されていない節は、目次には載せられません。
22718 \begin_layout Subsection
22719 図・表・プログラムリスト・アルゴリズム一覧
22720 \begin_inset CommandInset label
22722 name "sec:図・表・アルゴリズム一覧"
22729 \begin_layout Standard
22730 図・表・プログラムリスト・アルゴリズム一覧は目次によく似ています。これらは、
22732 挿入\SpecialChar \menuseparator
22735 従属メニューを使って挿入することができます。一覧項目は、フロートキャプションとフロート番号になります。
22738 \begin_layout Section
22740 \begin_inset Index idx
22743 \begin_layout Plain Layout
22750 \begin_inset Index idx
22753 \begin_layout Plain Layout
22762 \begin_layout Subsection
22764 \begin_inset CommandInset label
22773 \begin_layout Standard
22776 挿入\SpecialChar \menuseparator
22779 メニューを使えば、ウェブページや電子メールアドレスへのリンクを挿入することができます。
22782 \begin_layout Standard
22783 右がURLの例です。(例)LyXのホームページは
22784 \begin_inset Flex URL
22787 \begin_layout Plain Layout
22797 \begin_layout Standard
22802 で表示され、リンク文の形式を変更することはできません。URL文の形式を指定したい場合には、次節に説明するハイパーリンクを使用してください。
22805 \begin_layout Standard
22806 \begin_inset Note Greyedout
22809 \begin_layout Plain Layout
22814 URLはバックスラッシュで終わってはなりません。さもないと、LaTeXエラーになります。
22822 \begin_layout Subsection
22824 \begin_inset CommandInset label
22833 \begin_layout Standard
22836 挿入\SpecialChar \menuseparator
22845 で挿入することができます。現れるダイアログには、ターゲットと名前の二つのフィールドがあります。名前は、ハイパーリンクに印字される文です。ハイパーリンク型は、
22846 \begin_inset CommandInset href
22849 target "http://www.lyx.org"
22854 \begin_inset CommandInset href
22856 name "Lyx-docsメーリングリスト"
22857 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
22862 のような電子メールリンク型か、ファイルへのリンクのいずれかです。
22865 \begin_layout Standard
22866 ウェブリンクを挿入する際に、ハイパーリンクを通じてアプリケーションを起動するようにすることができます。この場合は、リンクターゲットに「
22873 \begin_layout Standard
22874 PDF出力において、ハイパーリンクは必要ならば自動的にハイフンで区切られ、DVI出力とPDF出力ではクリック可能になります。リンク文の形式を設定するには、ハイパ
22875 ーリンク挿入枠を選択した状態にして、文字様式ダイアログを使用してください。以下は、ボールド・サンセリフ体のハイパーリンクです。(例)
22879 \begin_inset CommandInset href
22882 target "http://www.lyx.org"
22889 \begin_layout Standard
22892 文書\SpecialChar \menuseparator
22893 設定\SpecialChar \menuseparator
22900 オプションが有効になっていれば、リンク文の色を変更することができます。例えば、この文書においてリンク文は、
22901 \begin_inset Newline newline
22909 \begin_inset Newline newline
22912 というオプションをPDF特性ダイアログの
22916 フィールドで指定することによって、青色に設定されています。
22919 \begin_layout Section
22921 \begin_inset Index idx
22924 \begin_layout Plain Layout
22931 \begin_inset CommandInset label
22940 \begin_layout Standard
22943 文書\SpecialChar \menuseparator
22946 メニューで作ることができます。このメニューは、現在のカーソルのある文書位置から最後までを付録領域として指定します。この領域は、赤い枠線で表示されます。
22949 \begin_layout Standard
22950 付録領域内のすべての章(あるいは節)は、付録として扱われ、大文字のラテン文字で付番されます。付録の小節は、この章番号の後にピリオドと小節番号をつけて表示されます
22951 。すべての付録の節は、通常の節と同様に相互参照をすることができます。
22954 \begin_layout Standard
22956 \begin_inset CommandInset ref
22963 \begin_inset CommandInset ref
22965 reference "sub:書き出し"
22972 \begin_layout Section
22974 \begin_inset Index idx
22977 \begin_layout Plain Layout
22984 \begin_inset CommandInset label
22993 \begin_layout Standard
22994 LyX文書で書誌情報を生成するには、二つの方法があります。次小節で説明するように文献データベース
22998 \begin_layout Plain Layout
22999 「BibTeXデータベース」として知られています。
23005 \begin_inset CommandInset ref
23007 reference "sub:書誌情報環境"
23015 段落環境を使用して、手動で書誌情報を挿入するかです。この文書で使用されているような連番による引用以外、例えば著者・発行年による引用などを用いたい場合は、文献デー
23019 \begin_layout Subsection
23023 \begin_layout Standard
23028 環境では、すべての段落のはじめに、番号のついた灰色の書誌情報枠がついています。これをクリックすると、ダイアログが開いて、
23029 \begin_inset Flex Ruby
23032 \begin_layout Plain Layout
23038 \begin_inset Argument post:1
23041 \begin_layout Plain Layout
23056 を入力することができるようになります。 鍵は、この文献項目を参照するのに使うシンボリック名です。例えば、この文書の書誌情報の二つめの項目はLaTeXに関する書籍
23057 ですが、本文書ではこの書籍の鍵として、その題名を縮めた「latexcompanion」を使っています。
23060 \begin_layout Standard
23063 挿入\SpecialChar \menuseparator
23069 arg "dialog-show-new-inset citation"
23072 を使用して、参照することができます。こうすると引用参照枠が挿入されて、文献引用ウィンドウが開くので、選択できる鍵の一覧から一つ以上の鍵を選択します。挿入された引
23073 用参照枠には、その参照鍵が表示されます。この枠を再度クリックすると、文献引用ウィンドウが開いて、参照先を変更できるようになります。
23076 \begin_layout Standard
23077 引用参照は、出力では角括弧に囲まれた文献項目番号として印字されます。もし項目に
23081 が設定してあると、番号の代わりにラベルが印字されます。以下の二つの例は、最初がラベルなし、二番目が「謝辞」というラベル付きです。
23084 \begin_layout Standard
23086 \begin_inset CommandInset citation
23088 key "latexcompanion"
23095 \begin_layout Standard
23096 (例2)LyXプロジェクトチームのメンバーは謝辞
23097 \begin_inset CommandInset citation
23106 \begin_layout Standard
23109 編集\SpecialChar \menuseparator
23115 arg "layout-paragraph"
23118 )で最長のラベルを指定してください。すると、すべての項目は、指定したラベルの幅だけ行頭下げされて出力されます。
23121 \begin_layout Subsection
23123 \begin_inset Index idx
23126 \begin_layout Plain Layout
23127 しょじじょうほう@書誌情報!でーたべーす@データベース
23133 \begin_inset Index idx
23136 \begin_layout Plain Layout
23137 しょしじょうほう@書誌情報!BibTeX
23143 \begin_inset Index idx
23146 \begin_layout Plain Layout
23147 ぶんけんでーたべーす@文献データベース
23153 \begin_inset CommandInset label
23155 name "sub:文献データベース"
23162 \begin_layout Standard
23163 ひとつの書誌情報をいろいろな文書で使用する場合には、文献データベースを使うのが便利です。
23167 \begin_layout Plain Layout
23168 文献データベースは、単に論文データベースとそれぞれそのメモを管理するにも便利です。以下に言及したデータベースプログラムのほとんどは、文献情報に加えて、注釈や論評
23174 また、これを使うと、文献項目をすべて同じレイアウトに維持することがたいへん簡単にできるようになります。仕事の関連領域のすべての関係書と論文をひとつのデータベース
23175 に収集しておくことも一案でしょう。このデータベースは、いろいろな文書から利用することができて、特定の文書の書誌情報一覧には、この文書で引用された項目のみが表示さ
23176 れます。これによって、あなたは、どの論文・書籍を引用したかを記録しつづける労苦から解放されるのです。
23179 \begin_layout Standard
23180 このデータベースは、書誌情報を特定の形式で載せた、拡張子が「
23185 \begin_inset CommandInset citation
23192 \begin_inset CommandInset citation
23194 key "Mittelbach,Kopka,Lamport"
23198 )に説明されています。このファイルはテキストエディタで作成することもできますが、通常は、データベースの項目を生成したり編集したりするには、特別なプログラムを使用
23200 \begin_inset Flex URL
23203 \begin_layout Plain Layout
23205 http://wiki.lyx.org/BibTeX/Programs
23210 に、そのような文献データベース用のプログラムの一覧があります。
23213 \begin_layout Standard
23216 挿入\SpecialChar \menuseparator
23217 一覧/目次\SpecialChar \menuseparator
23222 \begin_layout Plain Layout
23231 メニューを使用します。灰色の枠が挿入されてウィンドウが表示されますので、そこで読み込む一つ以上のデータベースとスタイルファイルを指定します。
23235 オプションは、目次に書誌情報を追加します。
23239 ドロップボックスでは、データベースのどの範囲を出力するかを選択することができます。
23242 \begin_layout Standard
23243 スタイルファイルは、すべての文献項目のレイアウトを宣言した、ファイル拡張子が「
23247 」のテキストファイルです。お使いのLaTeX頒布版には複数のスタイルファイルが収められており、出版社の多くが特定のスタイルファイルを提供しているので、それを利用
23248 すれば、レイアウトの心配をする必要はありません。もちろん、自作のスタイルファイルを作成することもできますが、それは熟練者向けの仕事です。
23252 \begin_layout Plain Layout
23253 スタイルファイルの作成に関する情報は、
23254 \begin_inset Newline newline
23258 \begin_inset CommandInset href
23260 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxhak.pdf"
23265 \begin_inset Newline newline
23276 \begin_layout Standard
23277 文献参照の挿入は、前節の説明したように機能します。
23280 \begin_layout Standard
23281 データベースから書誌情報を生成するのに、LyXはBibTeXというプログラムを使用します。
23283 文書\SpecialChar \menuseparator
23284 設定\SpecialChar \menuseparator
23289 ツール\SpecialChar \menuseparator
23290 設定\SpecialChar \menuseparator
23291 出力\SpecialChar \menuseparator
23296 \begin_layout Plain Layout
23305 で指定すれば、BibTeX派生版のどれを
23309 として用いるかを選ぶことができます。以下の派生版のいずれかを選ぶことができます。
23312 \begin_layout Description
23313 biber これは、完全なUnicodeサポートと、制限のないメモリを提供しますが、(例えば
23317 のような)他の書誌情報パッケージでは動作せず、
23321 パッケージでのみ動作します。多言語テキストやラテン文字を使用しない言語に推奨されます。
23324 \begin_layout Description
23325 bibtex これが既定値です。7ビットでエンコードできない特殊文字を文献項目に使用することはできず、メモリに制限があり、
23329 以外の全ての書誌情報パッケージで動作します。
23332 \begin_layout Description
23333 bibtex8 8ビットエンコーディングにエンコードできる全ての文字を使うことができます。
23337 よりも大きいメモリを使用することができ、全ての書誌情報パッケージで動作します。
23340 \begin_layout Standard
23341 BibTeXは、派生版を指定する部分の下にオプションを指定することで、制御することができます。オプションを書き加える前に、
23346 \begin_inset CommandInset citation
23355 \begin_layout Standard
23358 文書\SpecialChar \menuseparator
23365 オプションを選択すると、節分けされた複数の書誌情報を入れることができます。この件と他のオプションに関しては、取扱説明書『
23371 BibTeXによる書誌情報のカスタマイズ
23376 \begin_layout Standard
23377 本文書では、書誌情報を生成する二つの方法の違いを示すために、書誌情報が二つ使用してあります。ご覧いただいてわかるように、データベースから生成された書誌情報は、文
23378 書内で参照されたデータベース項目しか列挙していません。ここでは、書誌情報中でドイツ語の複雑な参照鍵を利用可能とするために
23382 というスタイルファイルを使用しています。
23385 \begin_layout Subsection
23387 \begin_inset Index idx
23390 \begin_layout Plain Layout
23391 しょじじょうほう@書誌情報!れいあうと@レイアウト
23399 \begin_layout Standard
23400 引用参照ダイアログでは、特定の引用体裁を設定することができます。この機能を使うには、
23402 文書\SpecialChar \menuseparator
23406 \begin_inset Index idx
23409 \begin_layout Plain Layout
23410 ふんしよ@文書!せってい@------設定
23423 オプションを有効にしておかなくてはなりません。引用形式が設定されると既定値は上書きされます。引用形式全体を設定するには、前節の説明のようにBibTeXスタイルフ
23427 \begin_layout Standard
23428 また、引用参照ウィンドウでは、引用参照の前後につける文を設定することもできます。以下は、参照の直後に「第3章」という文を設定しています。
23431 \begin_layout Standard
23433 \begin_inset CommandInset citation
23436 key "latexcompanion"
23443 \begin_layout Section
23445 \begin_inset Index idx
23448 \begin_layout Plain Layout
23455 \begin_inset CommandInset label
23464 \begin_layout Standard
23467 挿入\SpecialChar \menuseparator
23476 を使用すると、索引項目が生成されます。「
23480 」というラベルがついた灰色の枠が挿入されるので、その中に索引に現れる文字列を入力します。そのとき、カーソル位置の単語あるいは現在選択されている文字列が、索引項目
23484 \begin_layout Standard
23487 挿入\SpecialChar \menuseparator
23488 一覧/目次\SpecialChar \menuseparator
23495 」というラベルのついた水色の枠が、出力中で索引が印字される位置を示します。索引一覧枠は、他のLyX枠とちがってクリック可能ではありません。
23498 \begin_layout Standard
23499 以下の小節で、索引コマンドの概要を短く説明します。LaTeXの索引機構に関して詳細な説明が欲しい場合には、LaTeX関連書籍
23500 \begin_inset CommandInset citation
23502 key "latexcompanion,latexguide,latexbook"
23509 \begin_layout Subsection
23511 \begin_inset Index idx
23514 \begin_layout Plain Layout
23515 さくいん@索引!ぐるーぷか@グループ化
23523 \begin_layout Standard
23524 索引項目は、読者が索引中をすばやく検索できるように、しばしばグループ化されます。例えば、記号付き箇条書きと連番箇条書きの検索項目を、ともに「箇条書き」という項目
23525 の下にグループ化したいものとしましょう。第
23526 \begin_inset CommandInset ref
23528 reference "sec:箇条書き(連番)"
23532 節の箇条書き(記号)という索引項目のテキストフィールドには
23535 \begin_layout Standard
23541 \begin_layout Standard
23543 \begin_inset CommandInset ref
23545 reference "sec:箇条書き(記号)"
23549 節の箇条書き(連番)という索引項目のテキストフィールドには
23552 \begin_layout Standard
23558 \begin_layout Standard
23565 \begin_layout Plain Layout
23570 和文の場合に、実際にこのような索引項目を作ってしまうと、索引一覧の各項目が、読みのあいうえお順ではなく、漢字コード順に並んでしまうために、索引の機能を果たさなく
23571 なってしまいます。索引項目が読みによって整序されるようにするためには、第
23572 \begin_inset CommandInset ref
23574 reference "sub:索引項目の整序"
23578 節の機能を使って、以下のようにつねに読みとともに索引項目を作成します。
23581 \begin_layout Plain Layout
23586 かじょうがき@箇条書き!れんばん@連番
23596 \begin_layout Standard
23597 ここで、感嘆符「!」がグループ化階層の区切りを示します。階層は3段階まで可能で、各索引階層は少しずつ字下げされます。上部階層の索引項目をあえて作る必要はありませ
23598 ん。上の例で「箇条書き」の索引項目を作っていなくても、ページ番号なしで出力されます。
23601 \begin_layout Subsection
23603 \begin_inset Index idx
23606 \begin_layout Plain Layout
23607 さくいん@索引!ぺーじはんい@ページ範囲
23615 \begin_layout Standard
23616 通常、索引項目は、索引登録された節のページ番号とともに印字されます。しかし場合によっては、ひとつの索引項目でより広い範囲のページを示したいときがあるかもしれませ
23617 ん。例えば、本文書で段落環境を索引登録したいときに、第
23618 \begin_inset CommandInset ref
23620 reference "sec:段落環境"
23627 \begin_layout Standard
23633 \begin_layout Standard
23634 というコマンドを含んだ索引項目を作り、第
23635 \begin_inset CommandInset ref
23637 reference "sub:LyXコード"
23644 \begin_layout Standard
23650 \begin_layout Standard
23651 というコマンドを含んだ索引項目を作成します。
23654 \begin_layout Standard
23663 」というコマンドは、それぞれ索引範囲の開始と終了を表し、TeXコードとして入力しなくてはなりません。また、同一の索引項目を文書中のべつべつの場所で登録することも
23664 できます。すると、ひとつの索引項目の下に、索引登録された部分の各ページがコンマで区切られて列挙されます。本文書の「文書!設定」という索引項目が、その例です。
23667 \begin_layout Subsection
23669 \begin_inset Index idx
23672 \begin_layout Plain Layout
23673 さくいん@索引!そうごさんしょう@相互参照
23681 \begin_layout Standard
23682 また、他の索引項目を相互参照することも可能です。例えば、本文書で「GIF」という索引項目(第
23683 \begin_inset CommandInset ref
23685 reference "sub:画像形式"
23692 \begin_layout Standard
23698 \begin_layout Standard
23699 という項目(中括弧はTeXコードとして挿入しなくてはなりません)を使用して、「画像形式」という索引項目を参照しています。中括弧に囲まれた文が参照される項目です。
23700 参照は、出力においてはページ番号なしで出力されます
23704 \begin_layout Plain Layout
23709 「see 〜」(〜を見よ)は、これ自体コマンドになっているので、日本語の文脈でもこのまま入力しなくてはなりません。そうすると、出力においても英語で「see
23710 〜」となってしまうので、例えばこれを「→ 〜」に変更するには、
23712 文書\SpecialChar \menuseparator
23715 メニューのLaTeXプリアンブルにおいて「
23719 seename}{→}」と宣言します。
23727 \begin_layout Subsection
23729 \begin_inset Index idx
23732 \begin_layout Plain Layout
23733 さくいん@索引!こうもくのせいじょ@項目の整序
23739 \begin_inset CommandInset label
23748 \begin_layout Standard
23749 索引項目にアクセント付き文字を使用することは可能ですが
23753 \begin_layout Plain Layout
23758 文書言語が「日本語」になっているときは、アクセント付き文字を、アクセントを直接入力できる欧州言語用のキーボードなどで直接入力して使用することはできません。その代
23759 わりに、この小節で行っているように、LaTeXコマンドを使用してアクセントを入力してやる必要があります。しかし、ここで書かれていることは、漢字コード順と索引順が
23760 一致しない日本語全般にそのまま当てはめることができます。
23765 、こうすると項目が索引順の規則に従わなくなる可能性があります。索引項目はアルファベット順に整序しますが、LaTeX
23769 \begin_layout Plain Layout
23770 索引の生成は、バックグラウンドで追加プログラムによって実行されます。第
23771 \begin_inset CommandInset ref
23773 reference "sub:索引プログラム"
23782 には、各言語がアクセントをどのような順序で並べているのかがわかりません。例として、3つのダミーの索引項目「maison」「ma
23786 \begin_layout Plain Layout
23799 \begin_layout Plain Layout
23809 \begin_inset Index idx
23812 \begin_layout Plain Layout
23817 \begin_layout Plain Layout
23832 \begin_inset Index idx
23835 \begin_layout Plain Layout
23840 \begin_layout Plain Layout
23855 \begin_inset Index idx
23858 \begin_layout Plain Layout
23863 \begin_layout Plain Layout
23881 \begin_layout Plain Layout
23894 \begin_layout Plain Layout
23903 itre」「」の順序で整序されますが、これを「ma
23907 \begin_layout Plain Layout
23920 \begin_layout Plain Layout
23929 itre」の順序にしたいのです。そのためには、
23932 \begin_layout Standard
23938 \begin_layout Standard
23939 というコマンドを使用します。ここの例では、「maison」を「ma
23943 \begin_layout Plain Layout
23952 is」の後にしたいので、maisonの索引項目を
23955 \begin_layout Standard
23962 \begin_layout Plain Layout
23974 \begin_layout Standard
23975 とします。前項目は実際に存在する項目でなくてもかまわないので、LaTeXに項目順序を告げる単語であればどんな単語を使ってもかまいません。例として次の小節を参照し
23977 \begin_inset VSpace bigskip
23983 \begin_layout Standard
23988 プログラムを使用している場合には、索引項目の順序が正しくないことがあります(第
23989 \begin_inset CommandInset ref
23991 reference "sub:索引プログラム"
24000 \begin_inset CommandInset ref
24002 reference "sub:文書フォント"
24006 節のaeguill LaTeXパッケージの索引項目を、他のLaTeXパッケージの索引コマンドも「
24010 」で始まっているにもかかわらず、これらの項目の後に印字してしまいます。そのわけは、aeguillの索引項目が脚注にあるからです。この
24014 のバグを修正するには、使用中の文書のプリアンブルに
24017 \begin_layout Standard
24029 \begin_layout Standard
24041 \begin_inset Newline newline
24047 \begin_layout Subsection
24049 \begin_inset Index idx
24052 \begin_layout Plain Layout
24053 さくいん@索引!こうもくれいあうと@項目レイアウト
24061 \begin_layout Standard
24062 索引項目の外観は、文字様式ダイアログを使用して変更することができます。
24063 \begin_inset Index idx
24066 \begin_layout Plain Layout
24067 だみーこうもく@ダミー項目 ! これ@
24069 これはイタリックitalic体のダミー項目です
24074 また、「|」という文字のあとにLaTeXコマンドをバックスラッシュなしで入れることによってページ番号を整形することができます。例えば
24077 \begin_layout Standard
24080 イタリック体のページ番号:|textit
24083 \begin_inset Newline newline
24086 と書くと、イタリック体のページ番号を得ることができます(
24090 はTeXコードで挿入しなくてはなりません)。
24091 \begin_inset Index idx
24094 \begin_layout Plain Layout
24095 だみーこうもく@ダミー項目 ! いたりっくたいのぺーじばんごう@イタリック体のページ番号
24099 \begin_layout Plain Layout
24111 通常、LaTeXコマンドはすべてバックスラッシュで始まりますが、ここの場合に限っては、「
24121 」を意味します。LaTeXの文法について詳細を学ぶには、第
24122 \begin_inset CommandInset ref
24124 reference "sub:LaTeX文法"
24131 \begin_layout Standard
24132 \begin_inset Note Greyedout
24135 \begin_layout Plain Layout
24140 単独の索引項目の書式変更は、索引生成プログラムに
24144 を使用しているときにのみ機能します。第
24145 \begin_inset CommandInset ref
24147 reference "sub:索引プログラム"
24155 を使用している時には、これはボールド体またはイタリック体以外には動作しません。これは、
24159 はそれが実行される前にセマンティックスが定義されている必要があるからです。詳細については、
24160 \begin_inset CommandInset citation
24163 key "latexcompanion"
24175 \begin_layout Standard
24176 一般的にいって、上述のように直接ページ番号を整形することは望ましくありません。その代わりに、プリアンブルでマクロを定義し、それを使用するべきです。例えば、索引項
24177 目の定義を参照しているすべてのページ参照をイタリック体にしたいとすれば、それはユーザが簡単に定義を見つけられるようにするためかもしれません。だとすれば、プリアン
24181 \begin_layout Standard
24193 \begin_inset Newline newline
24199 \begin_layout Standard
24205 \begin_inset Newline newline
24208 と書いてください(「|IndexDef」はTeXコードとして挿入してください)。
24209 \begin_inset Index idx
24212 \begin_layout Plain Layout
24213 だみーこうもく@ダミー項目 ! さくいんこうもく@索引項目
24217 \begin_layout Plain Layout
24229 このようにする利点は、あとで気が変わったり、出版社が定義はイタリック体ではなくボールド体にしてくださいと注文をつけてきたりしたときに、すべての索引項目の各々では
24230 なく、プリアンブルのマクロのみを修正すればよいからです。
24233 \begin_layout Standard
24234 また、索引全体のレイアウトを変更することもできます。例えば、本文書の索引一覧枠はボールド体に指定されているので、すべての索引項目はボールド体で表示されます。
24243 )を構成しなくてはなりません。詳しくは
24252 \begin_inset CommandInset citation
24254 key "makeindex,xindy"
24261 \begin_layout Subsection
24263 \begin_inset Index idx
24266 \begin_layout Plain Layout
24267 さくいん@索引 ! ぷろぐらむ@プログラム
24273 \begin_inset CommandInset label
24282 \begin_layout Standard
24287 が導入済みならば、LyXは索引生成にこれを使用しますが、そうでなければすべてのLaTeX頒布版に含まれている
24295 \begin_layout Plain Layout
24300 は非常に古く、開発が停止しており、たくさんの欠陥があります。中でも、
24304 は英語だけを念頭に開発されているため、英語のみで書かれた単一言語原稿しか、項目を正しく整序することができません。この整序を修正する方法は、上述したとおりですが、
24305 英語以外で執筆することがある場合には、
24314 。これらのプログラムは、どちらもLyX設定ダイアログからオプションを渡すことによって制御することができます。第
24315 \begin_inset CommandInset ref
24317 reference "sec:LaTeXの設定"
24321 節をご参照ください。使用できるオプションの一覧と説明は、
24322 \begin_inset CommandInset citation
24324 key "makeindex,xindy"
24328 にあります。このダイアログでは、索引を生成するのに第三のプログラムを指定することも可能です。
24331 \begin_layout Standard
24332 特定の文書でのみ、あるオプションが必要だったり、別の索引プログラムが必要だったりした場合には、そのプログラムやオプションを
24334 文書\SpecialChar \menuseparator
24335 設定\SpecialChar \menuseparator
24338 で指定することができます。これは、言語依存のオプションを索引プログラムに渡したり、特定のレイアウト様式が必要な場合に、特に便利です。
24341 \begin_layout Subsection
24345 \begin_layout Standard
24346 多くの分野において、2つ以上の索引を作成することが行われています。例えば、通常の索引の前に「氏名索引」を別に作る必要がある場合があります。LaTeXは、そのまま
24347 ではこの機能を提供していませんが、この機能を追加するパッケージがあります。LyXは、複数の索引を生成するのに、
24352 \begin_inset Index idx
24355 \begin_layout Plain Layout
24356 latexはつけじ@LaTeXパッケージ ! splitidx
24361 というパッケージを使用しています。このパッケージは、最近のLaTeX頒布版には全て収録されています。
24365 \begin_layout Plain Layout
24366 ご利用の頒布版にない場合には、TeXカタログ
24367 \begin_inset CommandInset citation
24373 を参照してください。パッケージには、LaTeXスタイルが収録されているだけでなく、導入が必要な特定のプリプロセッサも含まれていることに注意してください。詳細は、
24374 パッケージの取扱説明書をご覧ください。
24382 \begin_layout Standard
24383 LyXが複数の索引を使用できるようにするためには、
24385 文書\SpecialChar \menuseparator
24386 設定\SpecialChar \menuseparator
24389 を開き、「複数の索引を使用する」を有効にしてください。その下の「利用可能な索引」一覧には、標準の索引は既に含まれていることに注意してください。索引を追加するには
24390 、索引名を(見出しに現れるのと同じ形で)「新規」入力フィールドに入力し、「追加」ボタンを押してください。すると、新しい索引が一覧中に表示されます。お望みならば、
24391 一覧中の索引を選択してから「色を変更」ボタンを押し、新しい索引のラベル色を変更することができます。ラベル色は、LyX作業領域で、索引項目を索引別に区別するのに役
24395 \begin_layout Standard
24396 文書変更を適用すると、新しい索引一覧が
24398 挿入\SpecialChar \menuseparator
24405 メニューには、定義した索引のそれぞれの索引項目が現れます。作業手順は、基本的に標準の索引と同じですが、以下のような追加機能があります。
24408 \begin_layout Itemize
24409 特定の索引項目の属性を変更したい時は、項目を右クリックしてダイアログを開くことで行えます。
24412 \begin_layout Itemize
24413 索引を右クリックすると、索引型を変更することができます。さらに、索引一覧を「従属索引」として指定することもできます。こうすると、索引一覧の見出しが一階層下げられ
24414 ます。例えば、bookクラスを使用している場合、標準索引の見出しの様式は「章」ですが、従属索引は「節」として定義され、他の非従属索引に入れ子にすることができます
24418 \begin_layout Section
24420 \begin_inset Index idx
24423 \begin_layout Plain Layout
24428 \begin_layout Plain Layout
24439 \begin_layout Plain Layout
24452 \begin_inset Index idx
24455 \begin_layout Plain Layout
24462 \begin_inset Index idx
24465 \begin_layout Plain Layout
24470 \begin_layout Plain Layout
24481 \begin_layout Plain Layout
24494 \begin_inset Index idx
24497 \begin_layout Plain Layout
24502 \begin_layout Plain Layout
24513 \begin_layout Plain Layout
24526 \begin_inset CommandInset label
24535 \begin_layout Standard
24536 場合によっては、文書中で使われている記号一覧や用語集を、短い説明とともに掲げておく必要があるかもしれません。
24539 \begin_layout Standard
24540 記号一覧や用語集を生成するためには、LaTeXパッケージの
24545 \begin_inset Index idx
24548 \begin_layout Plain Layout
24549 latexはつけじ@LaTeXパッケージ ! nomencl
24554 が導入されている必要があります。これは、TeX Catalogue
24555 \begin_inset CommandInset citation
24561 か、お使いのLaTeXシステムのパッケージマネージャから見つけることができます。
24564 \begin_layout Standard
24565 記号一覧・用語集の項目は、カーソルを記号項目のあとに置いて
24567 挿入\SpecialChar \menuseparator
24573 arg "nomencl-insert"
24576 を使用することで生成することができます。「
24580 」というラベルのついた灰色の枠が挿入されて、ウィンドウが現れ、用語項目の入力を促します。
24583 \begin_layout Standard
24584 用語項目には、主要な項目が2つあります。ひとつは参照したい
24595 \begin_layout Standard
24596 \begin_inset Note Greyedout
24599 \begin_layout Plain Layout
24604 用語集ダイアログのすべてのフィールドに有効なLaTeXコードを入力しなくてはなりません。
24612 \begin_layout Subsection
24614 \begin_inset Index idx
24617 \begin_layout Plain Layout
24618 きこういちらん@記号一覧 ! のれいあうと@------のレイアウト
24626 \begin_layout Standard
24631 フィールド中には、LaTeX数式と同じようにして定義をしなくてはなりません。例えば、「
24632 \begin_inset Formula $\sigma$
24636 \begin_inset Newline newline
24646 \begin_inset Newline newline
24649 と挿入します。記号「$」は数式の始まりと終わりを示します。ギリシャ文字用のLaTeXコマンドは、バックスラッシュ「
24651 」で始まるその文字の名前です。大文字のギリシャ文字は、コマンドを
24660 \begin_layout Standard
24661 (LaTeXの文法に関する短い入門が第
24662 \begin_inset CommandInset ref
24664 reference "sub:LaTeX文法"
24671 \begin_layout Standard
24676 ダイアログは使えないので、LaTeXコマンドを使用しなくてはなりません。例えば、本文書での「
24677 \begin_inset Formula $\sigma$
24681 \begin_inset Newline newline
24688 textsf{sigma}のためのダミー項目
24691 \begin_inset Newline newline
24737 \begin_layout Standard
24739 \begin_inset space \space{}
24743 \begin_inset space \space{}
24747 \begin_inset space \space{}
24751 \begin_inset space \space{}
24755 \begin_inset space \space{}
24758 といった文字が用語項目に登場する場合には、これらの文字の前に引用符をつけてエスケープしなくてはなりません。
24759 \begin_inset CommandInset nomenclature
24760 LatexCommand nomenclature
24761 symbol "\"@, \"|, \"!, \"\""
24762 description "引用符は、「 \"\"\"\" 」と書くことで出力されます"
24769 \begin_layout Subsection
24771 \begin_inset Index idx
24774 \begin_layout Plain Layout
24775 ようこしゆう@用語集 ! せいじょじゅん@整序順
24783 \begin_layout Standard
24784 用語項目は、記号定義のLaTeXコードによってアルファベット順に整序されます。これは、例えば数式記号の場合には、望ましくない結果を得ることがあります。仮に記号
24789 \begin_inset CommandInset nomenclature
24790 LatexCommand nomenclature
24792 description "文字「a」のダミー項目"
24797 \begin_inset Formula $\sigma$
24801 \begin_inset CommandInset nomenclature
24802 LatexCommand nomenclature
24805 description "文字\\textsf{sigma}のダミー項目"
24809 の用語項目があったとしましょう。両者は、「
24819 」によって整序され、文字「$」は整序順が「
24824 \begin_inset Formula $\sigma$
24834 \begin_layout Standard
24835 整序順を制御するには、用語集ダイアログの
24839 フィールドを編集します。用語項目は、記号定義ではなく、この項目によって整序されます。ここの例では、
24840 \begin_inset Formula $\sigma$
24852 \begin_inset Formula $\sigma$
24858 \begin_layout Standard
24859 グループ化や整序項目の便利な利用法については、
24864 \begin_inset CommandInset citation
24873 \begin_layout Subsection
24875 \begin_inset Index idx
24878 \begin_layout Plain Layout
24879 ようこしゆう@用語集 ! おふしよん@オプション
24887 \begin_layout Standard
24892 パッケージは、記号一覧や用語集の外観を調整するオプションを提供しています。以下は、それらのオプションの一部です。他のオプションに関してはパッケージの取扱説明書を
24896 \begin_layout Description
24899 , see equation (eq)
24905 は用語項目より前の最後の数式の番号です。
24908 \begin_layout Description
24920 \begin_layout Description
24924 \begin_layout Standard
24925 オプションをひとつないしそれ以上使用するには、
24927 文書\SpecialChar \menuseparator
24930 ダイアログの文書クラスオプションにコンマ区切りの列挙の形で加えてください。本文書では、
24939 \begin_inset VSpace bigskip
24945 \begin_layout Standard
24946 また、以下のコマンドを用語集ダイアログの記述フィールドの最後に使用することで、上記の最初の二つのオプションと同じ動作を、特定の用語項目に対してのみ行うことができ
24950 \begin_layout Description
24960 \begin_layout Description
24970 \begin_layout Description
24984 \begin_layout Description
24988 \begin_inset space ~
24994 \begin_inset space ~
24999 nomnorefeqpage 対応するオプションを解除する
25002 \begin_layout Standard
25003 「page」のような単語は、自動的に他の文書言語に翻訳されます。そうならない場合には、LaTeXプリアンブルに以下のように追記してください。
25006 \begin_layout Standard
25014 eqdeclaration}[1]{,
25019 \begin_inset Newline newline
25026 pagedeclaration}[1]{,
25033 \begin_layout Subsection
25035 \begin_inset Index idx
25038 \begin_layout Plain Layout
25039 ようこしゆう@用語集 ! のしゆつりよく@------の出力
25047 \begin_layout Standard
25050 挿入\SpecialChar \menuseparator
25051 一覧/目次\SpecialChar \menuseparator
25058 というラベルのついたボックスが、出力中に用語集が印字される位置を指し示します。これを右クリックすると、記号の余白を変更することができます。以下の設定をすることが
25062 \begin_layout Description
25064 \begin_inset space \thinspace{}
25070 \begin_layout Description
25071 最長のラベル幅 用語集の全項目中、最大の幅が使用されます
25074 \begin_layout Description
25078 \begin_layout Standard
25079 印字出力においては、用語集の見出しは「Nomenclature」となります。この名前が満足でない場合には、プリアンブルで
25085 コマンドを再定義することで変更することができます。例えば、この名前を
25089 に変更するには、以下の行をプリアンブルに加えてください。
25092 \begin_layout Standard
25102 \begin_layout Subsection
25104 \begin_inset Index idx
25107 \begin_layout Plain Layout
25108 ようこしゆう@用語集 ! ふろくらむ@プログラム
25114 \begin_inset CommandInset label
25116 name "sub:用語集プログラム"
25123 \begin_layout Standard
25124 LyXは、すべてのLaTeX頒布版に含まれている
25128 プログラムを、用語集を生成するのに使用します。LyXの設定ダイアログを使って、他のプログラムを指定したり、
25132 にオプションを追加して制御したりすることができます。第
25133 \begin_inset CommandInset ref
25135 reference "sub:LaTeX-設定"
25139 節を参照してください。使用できるオプションは、
25140 \begin_inset CommandInset citation
25142 key "nomencl,makeindex"
25149 \begin_layout Section
25151 \begin_inset Index idx
25154 \begin_layout Plain Layout
25161 \begin_inset Index idx
25164 \begin_layout Plain Layout
25171 \begin_inset CommandInset label
25180 \begin_layout Standard
25181 出力において、文書の一部を隠した方が便利なことがあります。例えば、試験を課そうとしている教師は、とうぜん学生たちに答を見られたくないわけですが、質問と解答が同じ
25182 文書にあれば、試験の採点者の仕事ははるかに楽になります。
25185 \begin_layout Standard
25186 このような場合に、LyXでは、文を派生枝に分けて置いておくことができます。すると当該文は、その派生枝が有効にされたときのみ出力に現れるようになります。派生枝を作
25189 挿入\SpecialChar \menuseparator
25190 派生枝\SpecialChar \menuseparator
25193 メニューを選択する(新規派生枝を指定するだけの時)か、
25195 文書\SpecialChar \menuseparator
25202 に行きます。後者の場合には、派生枝の名前を変更したり、その有効状態やLyX内部での派生枝の背景色を指定することができるほか、派生枝有効時にファイルを書き出す際、
25203 ファイル名に派生枝名をつけるかどうかを指定できます。さらにこのダイアログでは、二つの派生枝を統合したり(一方の派生枝名を他方の派生枝名に改名するだけです)、文書
25204 の派生枝一覧に「未知の派生枝」(つまり、定義しないまま他の文書からコピーアンドペーストで文書に付け加えた派生枝)を加えたりすることができます。
25207 \begin_layout Standard
25208 派生枝の中に入るべき文は、派生枝差込枠の中に入れます。これらの枠は、
25210 挿入\SpecialChar \menuseparator
25213 メニューから派生枝を選択して挿入することができます。派生枝の有効状態は、あとから枠を右クリックすることで変更することができます。
25216 \begin_layout Standard
25217 以下の例では、質問文だけが現れて、解答派生枝は無効にされ、したがって出力には現れません。
25220 \begin_layout Standard
25221 \begin_inset Branch 質問
25224 \begin_layout Standard
25225 質問:最初のノーベル物理学賞受賞者は誰でしょう?
25233 \begin_layout Standard
25234 \begin_inset Branch 解答
25237 \begin_layout Standard
25238 解答:Wilhelm Conrad R
25242 \begin_layout Plain Layout
25259 \begin_layout Standard
25262 文書\SpecialChar \menuseparator
25263 設定\SpecialChar \menuseparator
25270 を有効にした場合には、書き出しの際、ファイル名に有効な派生枝名が追記されます。上記の派生枝を持つ「Exam.lyx」というファイルがあるものと考えてみましょう。「
25271 ファイル名後置句」が有効な場合には、「質問」派生枝と「解答」派生枝がともに無効ならば、PDFに書き出したファイルは「Exam.pdf」となり、「質問」派生枝のみが
25272 有効ならば「Exam-質問.pdf」、「解答」派生枝のみが有効ならば、「Exam-解答.pdf」、両方が有効ならば、「Exam-質問-解答.pdf」となります。これに
25273 よって、あまり労力をかけずに、文書の違う版をたやすく書き出すことができます。
25274 \begin_inset VSpace bigskip
25280 \begin_layout Standard
25281 数式内など、派生枝を挿入することができない場所で条件付き出力を使用するには、各派生枝に特別なLaTeX定義を書くとよいでしょう。例えば、質問派生枝用に以下のよう
25286 \begin_layout Plain Layout
25288 \begin_inset CommandInset ref
25290 reference "sub:LaTeX文法"
25302 \begin_layout Standard
25312 \begin_layout Standard
25322 \begin_layout Standard
25326 \begin_layout Standard
25336 \begin_layout Standard
25346 \begin_layout Standard
25350 \begin_layout Standard
25351 \begin_inset Branch 質問
25354 \begin_layout Standard
25358 \begin_layout Plain Layout
25367 \begin_layout Plain Layout
25386 \begin_layout Standard
25387 \begin_inset Branch 解答
25390 \begin_layout Standard
25394 \begin_layout Plain Layout
25403 \begin_layout Plain Layout
25422 \begin_layout Standard
25429 \SpecialChar \ldots{}
25440 \SpecialChar \ldots{}
25445 を使用することができるようになります。以下の例では、
25452 \begin_inset Formula
25454 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}
25462 \begin_layout Standard
25463 数式中では、同様のことを数式マクロを使用して実現することができます。取扱説明書『
25470 \begin_layout Standard
25471 派生枝毎にレイアウトファイルで定義された段落様式を指定することができます(例えば、任意の派生枝を指定したLaTeXコマンドで自動的にくるむことができます)。この
25472 ような進んだ使い方については、取扱説明書『
25483 \begin_layout Section
25485 \begin_inset CommandInset label
25492 \begin_inset Index idx
25495 \begin_layout Plain Layout
25504 \begin_layout Standard
25507 文書\SpecialChar \menuseparator
25508 設定\SpecialChar \menuseparator
25511 ダイアログでは、お使いの文書のPDF出力用の特別なオプションを指定できるようになっています。ここで指定されるオプションは、すべて、DVI出力中とPDF出力中の相
25512 互参照をリンクするLaTeXパッケージである、
25517 \begin_inset Index idx
25520 \begin_layout Plain Layout
25521 latexはつけじ@LaTeXパッケージ ! hyperref
25526 を利用します。これによって、文書の読者は、目次の項目や参照をクリックして、文中の相互参照先に移動することができるようになります。
25529 \begin_layout Standard
25534 ダイアログタブのヘッダ情報は、PDFにファイル特性としてともに保存されます。多くのプログラムでは、例えば著者が誰であり、PDFが何についてのものであるかなどを自
25535 動的に判別するのに、これらの情報を引き出すことができます。これは、PDFを文献整理目的で整序したり仕分けしたり使用したりするのに、ひじょうに便利です。
25539 オプションを有効にすると、LyXはヘッダ情報を、文書のタイトルと著者の設定から自動的に抽出しようと試みます。
25543 オプションは、PDFを全画面モードで開きますので、プレゼンテーションに便利です。
25546 \begin_layout Standard
25551 タブでは、リンクをどのように表示するか、書誌情報への逆参照リンクを作成するかどうかを指定することができます。
25555 オプションを指定すると、長いリンクを分割することが許可されます。
25563 オプションは、共に、リンクすべてに囲み枠を付ける既定の挙動を変更して、枠を付けなくします。
25567 は、リンク毎に色を付けます。既定色は、
25570 \begin_layout Labeling
25571 \labelwidthstring 00.00.0000
25579 \begin_layout Labeling
25580 \labelwidthstring 00.00.0000
25588 \begin_layout Labeling
25589 \labelwidthstring 00.00.0000
25597 \begin_layout Standard
25602 フィールドで変更することができます。例えば、本文書では、
25605 \begin_layout Standard
25608 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue
25611 \begin_layout Standard
25612 という追加オプションを使って、色を変更しています。
25615 \begin_layout Standard
25620 オプションを指定すると、選択したオプションによって、項目が参照されている節番号やスライド番号あるいはページ数が、書誌情報中の各項目の後ろに表示されるようになりま
25624 \begin_layout Standard
25629 ダイアログタブでは、読者が文書内を動き回るのに便利なように、文書の各節のPDFしおりを設定するかどうかを指定することができます。しおりが、文書の節見出しと同様に
25630 番号を振るかどうかを指定することもできます。開くしおりの階層では、PDFを開いたときにどの節階層まで表示するかを指定することができます。例えば、階層を2にしたと
25631 きには、すべての節と小節が表示され、階層を1にすると節のみが表示されます。
25634 \begin_layout Standard
25635 PDF特性は、この文書でも使用されています。この文書の文書設定を見ると、
25639 の追加オプションが使われていることがわかるでしょう。これらの意味については、hyperrefの取扱説明書
25640 \begin_inset CommandInset citation
25649 \begin_layout Section
25651 \begin_inset CommandInset label
25660 \begin_layout Subsection
25662 \begin_inset Index idx
25665 \begin_layout Plain Layout
25672 \begin_inset CommandInset label
25681 \begin_layout Standard
25682 LyXはバックグラウンドでLaTeXを使用しているので、LaTeXコマンドおよび要素の多くをサポートしていますが、すべてではありません。LaTeXは、さまざまな
25683 コマンドを提供するパッケージを数百も含んでいます。つねに多くのパッケージが更新され、新しいものが追加されます。事実上すべての問題に対してLaTeXパッケージが存
25684 在するので、これにはほとんどすべてのことを植字できるという利点があります。しかし、もちろんLyXは、最新の状態に付いていっているわけではなく、すべてのパッケージ
25685 とそれらの全コマンドをサポートできるわけではありません。
25688 \begin_layout Standard
25689 しかし心配は要りません。LyXではTeXコード枠の中で任意のLaTeXコマンドを使用することができるのです。TeXコード枠は、
25691 挿入\SpecialChar \menuseparator
25696 \begin_layout Plain Layout
25712 \begin_inset Flex Ruby
25715 \begin_layout Plain Layout
25717 \begin_inset Argument post:1
25720 \begin_layout Plain Layout
25737 )。枠は左クリックで開き、右クリックから
25744 \begin_layout Standard
25745 TeXコード枠には、完全なコマンドを挿入することもできますし、不完全なコマンドを入れることもできます。不完全というのは、通常のLyXの本文を引数として使うことが
25746 できるという意味です。例えば、単語の周りに枠を描きたいので、
25752 というLaTeXコマンドを使用するものとしましょう。コマンド部分
25758 をTeXコード枠に書き、枠を書きたい単語のあとに、閉じ中括弧
25762 を二つめのTeXコード枠として書きます。二つのTeXコード枠の単語が、以下の例に示すように引数になっています。
25765 \begin_layout Standard
25766 \begin_inset Graphics
25767 filename clipart/ERT.png
25775 \begin_layout Standard
25779 \begin_layout Standard
25784 \begin_layout Plain Layout
25797 \begin_layout Plain Layout
25807 \begin_layout Standard
25811 \begin_layout Standard
25812 \begin_inset Note Greyedout
25815 \begin_layout Plain Layout
25820 パラメタのないLaTeXコマンドの終わりでは、LaTeXがコマンドが終了したことを認識できるよう、スペースを挿入しなくてはなりません。
25828 \begin_layout Subsection
25830 \begin_inset Argument 1
25833 \begin_layout Plain Layout
25840 \begin_inset Index idx
25843 \begin_layout Plain Layout
25850 \begin_inset CommandInset label
25859 \begin_layout Standard
25860 比較的大きな文書や書籍を執筆するとき、LyXがバックグラウンドで使用するLaTeXコマンドを若干は知っておくことが必要になります。LaTeXはコマンドに基づいて
25861 いるため、あなたは文章を「プログラム」することができます。このことは、もしコマンドを正しく知っていれば、文書のレイアウトを毎回変えることができるという利点があり
25862 ます。例えば、あなたがある製品の取扱説明書を書いていて、その締切が今日中だったとしましょう。しかし上司は、あなたの仕事の出来を褒めてくれたけれども、すべてのキャ
25863 プションラベルを太字にしてくれと言うのです。取扱説明書には、太字になっていない図表のキャプションが何百もあります。もちろん、手動ですべてのキャプションラベルを一
25867 \begin_layout Standard
25868 そこでLaTeXが力を発揮します。上に述べたように、すべての問題に対してLaTeXパッケージが存在します。まずどれを使うか見つけなくてはならないので、LaTeX
25870 \begin_inset CommandInset citation
25879 \begin_layout Standard
25885 \begin_inset Index idx
25888 \begin_layout Plain Layout
25889 latexはつけじ@LaTeXパッケージ ! caption
25894 パッケージが必要とするものであることを知ります。パッケージを使用するには、文書プリアンブル(
25896 文書\SpecialChar \menuseparator
25897 設定\SpecialChar \menuseparator
25902 \begin_layout Plain Layout
25914 \begin_layout Standard
25919 usepackage[オプション]{パッケージ名}
25922 \begin_layout Standard
25923 というコマンドを使用して、パッケージを読み込まなくてはなりません。
25926 \begin_layout Standard
25927 LaTeXコマンドは、かならずバックスラッシュで始まり、コマンド引数を中括弧の中に入れ、オプションを大括弧の中に挿入することになっています。また、すべてのコマン
25928 ドが引数やオプションをとるわけではないことに注意してください。
25931 \begin_layout Standard
25936 です。パッケージの取扱説明書を見たところ、
25940 というオプションを与えると、すべてのキャプションラベルをボールド体に変更できることがわかりましたので、
25943 \begin_layout Standard
25948 usepackage[labelfont=bf]{caption}
25951 \begin_layout Standard
25952 というコマンドをプリアンブルに挿入したところ、問題は解決しました
25956 \begin_layout Plain Layout
25957 captionパッケージが提供する他のコマンドについては、その取扱説明書
25958 \begin_inset CommandInset citation
25972 \begin_layout Standard
25973 この例のようなよく知られた問題については、文書クラスによっては、組込の解決策が用意されていることがあることに注意してください。例えば、
25981 パッケージは必要なく、代わりにプリアンブルに
25984 \begin_layout Standard
25989 setkomafont{captionlabel}{
25994 \begin_layout Standard
25995 と書けば問題は解決します。したがって、比較的大きな文書を執筆しようとしているときには、使用しようと考えている文書クラスの取扱説明書を見てみた方がいいでしょう(
26001 はひとつ以上の引数をとるコマンドの一例です)。
26004 \begin_layout Standard
26005 本文中に置かれたコマンドがコマンド以降の本文のみ、あるいはコマンド引数にとられた文のみに影響を与えるのに対し、プリアンブル内に置かれたコマンドは、文書全体に影響
26006 します。本文中にLaTeXコマンドを挿入するには、前節で述べたようにTeXコード枠を使用してください。
26009 \begin_layout Standard
26010 LaTeXとその文法について、さらに詳細を知りたい場合には、LaTeX関連書籍
26011 \begin_inset CommandInset citation
26013 key "latexcompanion,latexguide"
26020 \begin_layout Standard
26021 \begin_inset Newpage cleardoublepage
26027 \begin_layout Standard
26031 \begin_layout Plain Layout
26041 \begin_inset Note Note
26044 \begin_layout Plain Layout
26045 一時的にページ様式をカスタムヘッダ行・フッタ行に変更する
26053 \begin_layout Left Header
26054 \begin_inset Argument 1
26057 \begin_layout Plain Layout
26067 \begin_layout Plain Layout
26077 \begin_inset Note Note
26080 \begin_layout Plain Layout
26089 \begin_layout Center Header
26090 \begin_inset Argument 1
26093 \begin_layout Plain Layout
26102 \begin_layout Right Header
26103 \begin_inset Argument 1
26106 \begin_layout Plain Layout
26110 \begin_layout Plain Layout
26127 \begin_layout Left Footer
26128 \begin_inset Argument 1
26131 \begin_layout Plain Layout
26135 \begin_layout Plain Layout
26152 \begin_layout Center Footer
26153 \begin_inset Argument 1
26156 \begin_layout Plain Layout
26167 \begin_inset Newline newline
26171 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
26177 \begin_layout Right Footer
26178 \begin_inset Argument 1
26181 \begin_layout Plain Layout
26191 \begin_layout Plain Layout
26203 \begin_layout Section
26204 ユーザ設定のページヘッダ及びページフッタ
26205 \begin_inset CommandInset label
26207 name "sec:ユーザ設定ページヘッダ"
26212 \begin_inset Index idx
26215 \begin_layout Plain Layout
26216 ふんしよ@文書 ! へっだ・ふったぎょう@ヘッダ・フッタ行
26222 \begin_inset Index idx
26225 \begin_layout Plain Layout
26226 へっだ・ふったぎょう@ヘッダ・フッタ行
26234 \begin_layout Standard
26235 文書にユーザ設定のヘッダ行やフッタ行を定義したい時は、まず、
26237 文書\SpecialChar \menuseparator
26250 文書\SpecialChar \menuseparator
26251 設定\SpecialChar \menuseparator
26254 メニューの中で、「ユーザ設定ヘッダ/フッタ行」モジュールを追加してください。このモジュールは、ヘッダ及びフッタの位置によって、以下の6つの様式を提供します。
26257 \begin_layout Description
26261 \begin_layout Description
26265 \begin_layout Standard
26266 通常、ヘッダとフッタは文頭で設定しますが、お望みならば、どこででも変更することができます。図
26267 \begin_inset CommandInset ref
26269 reference "fig:ページレイアウト"
26273 は、ページのレイアウトと、ヘッダ及びフッタ様式に設定した行がどこに表示されるかを示したものです。
26276 \begin_layout Standard
26277 \begin_inset Float figure
26283 \begin_layout Plain Layout
26286 \begin_inset Tabular
26287 <lyxtabular version="3" rows="5" columns="3">
26288 <features rotate="0" tabularvalignment="middle">
26289 <column alignment="left" valignment="top" width="30line%">
26290 <column alignment="center" valignment="top" width="30line%">
26291 <column alignment="right" valignment="top" width="30line%">
26293 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
26296 \begin_layout Plain Layout
26302 <cell alignment="center" valignment="top" topline="true" usebox="none">
26305 \begin_layout Plain Layout
26311 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
26314 \begin_layout Plain Layout
26322 <cell alignment="left" valignment="top" leftline="true" usebox="none">
26325 \begin_layout Plain Layout
26331 <cell alignment="center" valignment="top" usebox="none">
26334 \begin_layout Plain Layout
26340 <cell alignment="right" valignment="top" rightline="true" usebox="none">
26343 \begin_layout Plain Layout
26351 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
26354 \begin_layout Plain Layout
26355 ページ上の通常の本文はここに入ります。ランニングヘッダは本文の上に、(脚注を含む)ランニングフッタは本文の下に来ます。ヘッダやフッタは、多くの場合、ページ番号や
26356 章見出しや会社のロゴ等が入りますが、フロートを除き、凡そなんでも使用することができます。
26361 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
26364 \begin_layout Plain Layout
26370 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
26373 \begin_layout Plain Layout
26381 <cell alignment="left" valignment="top" leftline="true" usebox="none">
26384 \begin_layout Plain Layout
26390 <cell alignment="center" valignment="top" usebox="none">
26393 \begin_layout Plain Layout
26399 <cell alignment="right" valignment="top" rightline="true" usebox="none">
26402 \begin_layout Plain Layout
26410 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
26413 \begin_layout Plain Layout
26419 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
26422 \begin_layout Plain Layout
26428 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
26431 \begin_layout Plain Layout
26445 \begin_layout Plain Layout
26446 \begin_inset Caption Standard
26448 \begin_layout Plain Layout
26449 \begin_inset CommandInset label
26451 name "fig:ページレイアウト"
26455 ユーザ設定のヘッダ行およびフッタ行を伴ったページレイアウト
26468 \begin_layout Standard
26469 \begin_inset Note Greyedout
26472 \begin_layout Plain Layout
26477 文書クラスによっては、ヘディング様式を「既定値」で、固有のページヘッダやページフッタを実装するものもあります。自製のページヘッダやページフッタを指定する前に、そ
26478 れらの実装がどうなっているかを確認してください。
26486 \begin_layout Subsection
26490 \begin_layout Standard
26491 ヘッダ行を定義する際は、3つのヘッダ様式をすべて指定してください。様式に書き込んだものは、奇数ページに表示され、そのオプション引数に書き込んだものは偶数ページに
26492 表示されます。片面文書においては、オプション引数は使用されずに無視されます。様式の内容やその引数を空欄にしたままの場合は、出力中には何も表示されません。フッタの
26496 \begin_layout Standard
26497 定義するに際しては、いくつかのLaTeXコマンドをTeXコードで入力する必要があります(
26499 挿入\SpecialChar \menuseparator
26504 \begin_layout Plain Layout
26516 \begin_layout Description
26519 thepage 現在のページ番号を出力します。
26522 \begin_layout Description
26525 Roman{page} 現在のページ番号を大文字ローマ数字で出力します。
26528 \begin_layout Description
26531 roman{page} 現在のページ番号を小文字ローマ数字で出力します。
26534 \begin_layout Description
26537 leftmark 通常は、現在の節番号と節見出しを出力しますが、章がある文書の場合には、現在の章番号と章見出しを出力します。これらは、通常左ヘッダに入れるので、
26538 「leftmark」というコマンドになっています。
26541 \begin_layout Description
26544 rightmark 通常は、現在の小節番号と小節見出しを出力しますが、章がある文書の場合には、現在の節番号と節見出しを出力します。これらは、通常右ヘッダに入れる
26545 ので、「rightmark」というコマンドになっています。
26548 \begin_layout Subsection
26552 \begin_layout Standard
26553 ユーザ設定のヘッダやフッタの既定値は、空ではありません。既定のヘッダには、章及び節のタイトルが入り、中央フッタにはページ番号が入ります。ヘッダやフッタから必要の
26554 ない項目を取り除くには、そのヘッダ様式やフッタ様式を文書に設定し、空のままに放っておきます。つまり、フッタにページ番号が必要ない場合には、空の
26561 \begin_layout Subsection
26565 \begin_layout Standard
26566 ヘッダ及びフッタは通常のページには表示されますが、そうでないページもあります。例えば、表題ページや、書籍の部見出し・章見出しは、それ自身の様式を持っているので、
26567 これらのページにはユーザ設定ヘッダやユーザ設定フッタは存在しませんが、これはまっとうなことです。例えば、章見出しページには、章見出しが太い文字ででかでかと書かれ
26568 ていますから、章の名前が入ったヘッダを印字する必要はないわけです。
26571 \begin_layout Subsubsection
26575 \begin_layout Standard
26577 \begin_inset space \thinspace{}
26580 ptの太さの線が引かれ、フッタ線は描かれません。これは、文書プリアンブル中に、
26589 \begin_inset Newline newline
26604 コマンドを使用すれば、変更することができます。ここで、「太さ」は、
26612 のような標準単位を用います。線を消したい場合には、太さを0
26613 \begin_inset space \thinspace{}
26619 \begin_layout Standard
26620 装飾線には色をつけることもできますが、これにはLaTeXの知識が要ります。どうしても必要な場合には、インターネットか書籍
26621 \begin_inset CommandInset citation
26630 \begin_layout Subsubsection
26634 \begin_layout Standard
26635 ヘッダ行やフッタ行として2行以上が必要な場合、様式での定義に通常の改行を入れることで実現することができますが、既定のヘッダ高やフッタ高は1行分しかありません。そ
26636 こで高さを広げるには、文書プリアンブル中で
26645 \begin_inset Newline newline
26660 を再定義してください。ここで「高さ」は、標準単位での高さです。どのくらいの高さが必要かがわからない場合には、とりあえずヘッダやフッタを定義して、PDFで文書をプ
26663 文書\SpecialChar \menuseparator
26668 \begin_layout Plain Layout
26677 メニューからLaTeXログファイルを開き、次の警告ボタンを押して、
26682 \begin_inset Index idx
26685 \begin_layout Plain Layout
26686 latexはつけじ@LaTeXパッケージ ! fancyhdr
26691 パッケージからの警告がないかどうか探してください。もし警告があれば、そのヘッダやフッタに必要な最小限の高さが報告されているはずです。
26694 \begin_layout Subsection
26698 \begin_layout Standard
26699 この例は、ユーザ設定ヘッダ及びフッタで何ができるかをお見せするためのものです。これは例に過ぎませんので、実際の文書では使わないでください。この例では以下の定義を
26703 \begin_layout Description
26713 \begin_layout Description
26717 \begin_layout Description
26725 \begin_layout Description
26733 \begin_layout Description
26743 \begin_inset Newline newline
26747 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
26753 \begin_layout Description
26763 \begin_layout Description
26767 \begin_inset space \thinspace{}
26773 \begin_layout Standard
26774 ヘッダやフッタには、フロート以外ならば、原則として何でも使用することができます。爪掛けのような特殊なものについては、
26779 \begin_inset CommandInset citation
26788 \begin_layout Standard
26789 \begin_inset Newpage clearpage
26795 \begin_layout Standard
26799 \begin_layout Plain Layout
26803 pagestyle{headings}
26809 \begin_inset Note Note
26812 \begin_layout Plain Layout
26815 switches back to page style with the default headings
26823 \begin_layout Section
26825 \begin_inset CommandInset label
26827 name "sec:文書の断片プレビュー"
26832 \begin_inset Index idx
26835 \begin_layout Plain Layout
26842 \begin_inset Index idx
26845 \begin_layout Plain Layout
26846 ふんしよ@文書!ぷれびゅー@プレビュー
26854 \begin_layout Standard
26855 LyXでは、完成文書がどのようになるかを、出力を見るための煩労でユーザーの思考を中断させることなく、見ることができるように、作業中の文書の各節を同時進行でプレビ
26859 \begin_layout Subsection
26863 \begin_layout Standard
26869 \begin_inset Index idx
26872 \begin_layout Plain Layout
26873 latexはつけじ@LaTeXパッケージ ! preview-latex
26882 と命名されています)というLaTeXパッケージが導入されていることが必要です。もしこれがすでに導入されていなければ、TeX Catalogue
26884 \begin_inset CommandInset citation
26890 か、ご利用のLaTeXのパッケージマネージャで見つけることができます。
26898 プログラムを導入すれば、さらに美しい出力を得ることができます。Windows版LyXでは、このプログラムとLaTeXパッケージは、LyXと共に自動で導入されてい
26902 \begin_layout Subsection
26906 \begin_layout Standard
26907 もしLyX中に、例えば、数式のLaTeX出力を表示させたいとすると、
26909 ツール\SpecialChar \menuseparator
26914 操作性\SpecialChar \menuseparator
26933 とあるのは、大きさの倍率因子のことです。
26936 \begin_layout Standard
26937 LaTeXが組版する数式以外すべてを見たい場合には、
26948 \begin_layout Standard
26949 すると、LyXに文書を読み込んだり挿入枠を編集し終わったりすると、プレビューが生成されるようになります。すでに読み込まれた文書のプレビューは、
26957 ので、プレビューを有効にするには、文書を開き直さなくてはなりません。
26960 \begin_layout Standard
26961 \begin_inset Note Greyedout
26964 \begin_layout Plain Layout
26973 オプションを有効にしても、直ちに生成されるとは限りません。この場合には、文書を開きなおせば、プレビューが生成されます。
26981 \begin_layout Subsection
26985 \begin_layout Standard
26986 数式以外にも、例えば、LyXがまだサポートしていない文書の一部の回転などのように、プレビューを見たい場合があるかもしれません。この場合には、
26988 挿入\SpecialChar \menuseparator
26991 メニューでプレビュー差込枠を挿入し、プレビューしたいものを、この差込枠中に挿入するか貼り付けてください。カーソルをプレビュー差込枠の外に移すと、プレビューが生成
26992 されます。プレビューをクリックすると、プレビューを行ったものを編集することができます。
26995 \begin_layout Standard
26996 一例:回転させたボックスを生成するには、LyXがまだサポートしていないLaTeXコマンド
27006 \begin_layout Plain Layout
27026 。例えば、周囲の本文に合うように回転角を調整したいなどの理由で、LyX中に、TeXコードボックスではなく、回転させたボックスの最終出力を見たいものとしましょう。
27027 そこで、プレビュー差込枠を作成し、回転させたボックスに入れる文章を中にコピーします。下記がその結果です。
27030 \begin_layout Standard
27031 \begin_inset Preview
27033 \begin_layout Standard
27038 \begin_layout Plain Layout
27042 rotatebox[origin=r]{-60}{
27048 \begin_inset Box Doublebox
27058 height_special "totalheight"
27061 \begin_layout Plain Layout
27071 \begin_layout Plain Layout
27082 \begin_layout Plain Layout
27086 rotatebox[origin=lb]{60}{
27092 \begin_inset Formula $\int A\,\mathrm{d}x=B$
27099 \begin_layout Plain Layout
27114 \begin_layout Standard
27115 プレビューは、着色にも機能します。以下の例では、特殊な枠付き・色付きボックスが、LaTeXコマンド
27125 \begin_layout Plain Layout
27148 \begin_layout Standard
27149 \begin_inset Preview
27151 \begin_layout Standard
27155 \begin_layout Plain Layout
27170 \begin_layout Plain Layout
27174 fcolorbox{cyan}{magenta}{
27179 これは、色付きかつ枠付きのボックスの中にある文章です。
27183 \begin_layout Plain Layout
27198 \begin_layout Standard
27199 \begin_inset VSpace medskip
27205 \begin_layout Standard
27206 LyXにプレビューが表示されないときには、上述の通り、プレビューが有効化されていて、プレビュー差込枠内のTeXコードが有効であることを確認し、そのTeXコードが
27207 要求するLaTeXパッケージが、文書プリアンブル中で読み込まれているかどうか、確認してください。LyXがプレビューを生成できないとすると、ほとんどの場合、文書を
27208 閲覧することも、LaTeXエラーによってできなくなっているはずです。TeXコードを使わなくてはならないけれども、コードが正しいかどうか自信のない場合、プレビュー
27209 差込枠は、文書全体を閲覧しないまま、コードが正しいかどうかチェックするのに最適の方法です。
27212 \begin_layout Subsection
27216 \begin_layout Standard
27217 さらに、文書全体あるいは一部のLaTeXソースをプレビューすることもできます。
27219 表示\SpecialChar \menuseparator
27222 メニューを使用すると、ウィンドウが開いてLaTeXコードを見ることができるようになります。このウィンドウには、現在カーソルがある段落全体のソースを表示します。L
27223 yXのメインウィンドウで文書の一部を選択すれば、(1段落以上を選択しているときには)選択部分のみがソースコードとして表示されます。文書全体をソースとして閲覧した
27224 いときには、ソース閲覧ウィンドウにある、そのオプションを有効にしてください。
27228 を有効にすると、LyXで変更を加えると同時に、その変化を見ることができます。ただし、複数の文書を開いている場合には、LyXは、開かれている文書に限らず、全ての文
27229 書を更新するため、動作が遅くなることに注意してください。
27232 \begin_layout Section
27234 \begin_inset CommandInset label
27236 name "sec:詳細な検索と置換"
27241 \begin_inset Index idx
27244 \begin_layout Plain Layout
27251 \begin_inset Index idx
27254 \begin_layout Plain Layout
27263 \begin_layout Subsection
27267 \begin_layout Standard
27268 LyXの詳細検索・置換機能を使用すれば、LyX中の複雑で書式を含んだ文章の断片や、数式の内容を検索することができるようになります。これは、標準(簡易)の検索・置
27269 換機能の機能向上と位置づけられます。主な機能は、以下のとおりです。
27272 \begin_layout Itemize
27273 平文検索と数式検索の両方が可能ですが、後者の場合には、LyXユーザーが通常行っている方法で数式を入力することによって為されます。数式全体を検出できるだけでなく、
27274 複雑な数式の一部分を検出することも可能です。
27277 \begin_layout Itemize
27278 検索を書式非感応にして、検索文字列を任意の文脈・様式上(標準的本文・節見出し・注釈のほか数式も)で検出することもできますし、書式感応的にして、たとえば節見出しに
27279 入力された単語のみを検出することもできます。
27282 \begin_layout Itemize
27283 検索は、数式環境のみに限定することができます。これは、数式環境外の文に全く反応させずに、数式表記を変更したい場合に便利です。
27286 \begin_layout Itemize
27291 に広げることができ、編集中の文書の子文書すべてや、開かれている全ファイル、
27297 メニューから開くことのできる全説明書などを指定することができます。
27300 \begin_layout Itemize
27301 置換は、大文字・小文字関係を保持することができます。すなわち、置換文字列の大文字・小文字が、検索に一致した文字列の大文字・小文字に合うように、調整することができ
27302 ます(つまり、すべて小文字か、すべて大文字か、最初の文字だけ大文字で後は小文字か、など)。
27305 \begin_layout Subsection
27309 \begin_layout Standard
27312 編集\SpecialChar \menuseparator
27316 \begin_inset Flex Ruby
27319 \begin_layout Plain Layout
27321 \begin_inset Argument post:1
27324 \begin_layout Plain Layout
27338 arg "dialog-show findreplaceadv"
27344 arg "dialog-toggle findreplaceadv"
27354 \begin_layout Subsubsection
27358 \begin_layout Standard
27363 欄のLyXミニエディタに簡単な単語を入力し、その下の
27372 \begin_inset Flex Ruby
27375 \begin_layout Plain Layout
27377 \begin_inset Argument post:1
27380 \begin_layout Plain Layout
27391 を押して)その単語を検索してください。入力された単語は、平文モードと数式モードの両方で検出されるだけでなく、強調体・ボールド体・標準体のすべてと、節見出しと本文
27396 を繰り返し押すと前方検索をし続けます。同様に、
27407 \begin_layout Standard
27412 オプションは、検出中に、検索エディタに入力したのと同じ大小文字を持つものにだけ一致するようにします。
27416 オプションを指定すると、単語の切れ目ごとにのみ一致します。
27419 \begin_layout Subsubsection
27423 \begin_layout Standard
27424 \begin_inset Formula $x^{2}$
27428 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
27435 エディタ中に数式を入力することによって検索することができます。数式検索中には、単独の数式も検出されますし、数式の一部や、その一部が入れ子になっている部分にも一致
27437 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}$
27443 \begin_layout Subsubsection
27447 \begin_layout Standard
27448 また、特定の様式を持った文章を検索することも可能です。そのためには、ダイアログ中の
27463 \begin_layout Itemize
27464 通常の単語を入力して検索を行うと、強調体やボールド体の単語は検出しません。
27467 \begin_layout Itemize
27468 強調体またはボールド体の単語を入力して検索を行うと、同じフェイスかつ同じ文字様式を持つ単語にのみ一致します。ただし、例えば強調文字は、単独で検出されるだけでなく
27469 、より長い強調文に含まれる部分にも一致することに注意してください。
27472 \begin_layout Itemize
27473 節見出しに通常の単語を入力し、検出を行うと、節見出しに含まれる同じ単語にのみ一致します。また、節様式に加えて強調体やボールド体が検索文字に指定されると、これらと
27474 同じ様式を持つ部分のみが検出されます。
27477 \begin_layout Itemize
27478 別行立て数式中の数式の一部には、別行立て数式中のものにのみ一致し、行中数式には一致しないものがあります。
27481 \begin_layout Subsubsection
27485 \begin_layout Standard
27490 エディタに入力した文字列に一致する字句は、
27494 エディタに入力した字句で置き換えることができます。次候補を見つけて置換するには、、
27513 \begin_layout Standard
27514 文書中の一致する字句の場所に、LyXのあらゆる書式を用いた字句を置き換えることができます。この能力を用いた典型例は以下のとおりです。
27517 \begin_layout Itemize
27518 ある単語を、特定の書式を持った同じ単語に置換します。例えば、「func()」という単語を、タイプライタ体の「
27525 \begin_layout Itemize
27526 数式記号の表記法の書き変えを行います。例えば、「
27527 \begin_inset Formula $R$
27531 \begin_inset Formula $\mathbb{R}$
27534 」にしたり(標準文の中に現れる「R」がすべて置き換えられてしまうのを防ぐために、
27550 オプションを無効にするとよいでしょう)、
27551 \begin_inset Formula $x_{j}^{i}$
27555 \begin_inset Formula $x_{i,j}$
27559 \begin_inset Formula $x[k]$
27563 \begin_inset Formula $x_{k}$
27569 \begin_layout Subsection
27573 \begin_layout Standard
27574 正規表現(regexp)に基づいた検索機構が備わっています
27578 \begin_layout Plain Layout
27579 正規表現のよい説明がWikipediaの以下の項目にあります。
27580 \begin_inset Newline newline
27584 \begin_inset CommandInset href
27586 target "http://en.wikipedia.org/wiki/Regular_expression"
27599 エディタにregexp差込枠を挿入することで、正規表現検索を行うことができます。これは、カーソルが
27605 挿入\SpecialChar \menuseparator
27608 メニューを選択することで実行できます。regexp差込枠に入力した文字列は、正規表現一致規則にしたがって一致し
27612 \begin_layout Plain Layout
27613 ただし、表現は、整ったLyX中の語句に一致しなくてはならないという制約があります。つまり、LaTeXコードに一致するときに、{}の片側だけが含まれるような部分は
27614 、一致させる表現に含まれてはなりません。
27619 、regexp差込枠外の文字列は、文書中のまったく同一の文字列に対して一致します。regexp差込枠は、通常どおりカットアンドペーストできることに注意してくださ
27620 い。この機能を使った例としては、以下のようなものがあります。
27623 \begin_layout Enumerate
27624 決まった分母を持つ全ての分数を検索する。例えば、
27629 \begin_inset Formula $\frac{.*}{1+x^{2}}$
27633 \begin_inset Formula $.*$
27636 は全てに一致するという正規表現です)、この分母を持つ全ての分数が検出されます。
27639 \begin_layout Enumerate
27640 決まった様式を持つ全ての文章を検索する。例えば、
27649 \begin_inset Formula $.*$
27652 を入力し、それに強調体やボールド体を設定すると、全ての強調体やボールド体に一致します。また、記号付きないし連番箇条書きや節見出しに正規表現
27653 \begin_inset Formula $.*$
27656 を入力すると、全ての記号付きないし連番箇条書きや節見出しに一致します。
27659 \begin_layout Standard
27660 最後に、regexp中の表現への参照は、通常どおり行うことができます。つまり、表現の一部を丸括弧()で囲むと、これは
27661 \begin_inset Formula $\backslash1$
27665 \begin_inset Formula $\backslash2$
27669 \begin_inset Newline newline
27672 [[:space:]]([[:alpha:]]+)[[:space:]]
27675 \begin_inset Newline newline
27678 という正規表現で検索を行うと、単語の繰り返しがあれば、それに一致します。
27681 \begin_layout Standard
27682 置換文字列での後方参照は、(まだ)実装されていないことに注意してください。
27685 \begin_layout Standard
27686 \begin_inset Note Greyedout
27689 \begin_layout Plain Layout
27694 後方参照は、同じregexp内で使われるときでも、異なる複数のregexp内で使われるときでも機能します。ここで、後方参照表現は絶対表現であり、例えば
27695 \begin_inset Formula $\backslash1$
27699 \begin_inset Formula $()$
27710 \begin_layout Section
27712 \begin_inset CommandInset label
27719 \begin_inset Index idx
27722 \begin_layout Plain Layout
27731 \begin_layout Standard
27732 LyXには、組込のスペルチェッカーがあります。
27736 \SpecialChar \menuseparator
27746 \begin_inset Flex Ruby
27749 \begin_layout Plain Layout
27751 \begin_inset Argument post:1
27754 \begin_layout Plain Layout
27768 arg "dialog-show spellchecker"
27771 を使用すると、現在のカーソル位置からスペルチェックが始まります。誤った(或いは未知の)単語が検出されるとサイドバーが現れるので、2行目の欄で、それを編集したり置
27772 換したりすることができます。未知の単語が検出された時には、その単語がハイライト表示され、その部分が見えるところまで本文がスクロールします。スペルチェッカーサイド
27773 バーには、修正候補がある場合には、それを表示するボックスがあります。修正候補の一つをクリックした場合には、それが
27777 フィールドに転記されますが、ダブルクリックした場合には、その候補で直ちに置換が実行されます。未知ではあるけれども正しくタイプされた単語は、個人辞書に登録すること
27781 \begin_layout Standard
27784 文書\SpecialChar \menuseparator
27787 ダイアログで設定される文書言語によって決定されます。文書言語用の辞書を持っていない場合には、スペルチェックを実行しようとするとエラーメッセージが表示されます。ス
27788 ペルチェッカーダイアログの一番上の欄で、いずれかの言語を選ぶことで、単語の言語を指定することができます。LyXは複数の言語を含む文書でも正しくスペルチェックを行
27789 うことができます。これは、本文の言語を、文字様式ダイアログ(
27792 arg "dialog-show character"
27795 )で設定し、さらにスペルチェッカーの辞書が導入済みであれば、動作します。それが為されていれば、LyXは、自動的に適当な辞書ファイルを切り替えて用います。
27798 \begin_layout Standard
27802 \begin_layout Plain Layout
27807 通常、日本語用のスペルチェック用辞書はないので、日本語はこの場合に該当します。例えば、スペルチェッカーが
27819 」にしておくと、文書言語が日本語でも英語版の
27827 では代替言語は使えません)。しかしながら、単語の区切りは空白で判断されるため、この方法では、英単語と周りの日本語のあいだに空白がないと、英単語が正しく検出されま
27836 \begin_layout Standard
27837 LyXがサポートしているスペルチェッカー用辞書は、
27838 \begin_inset Newline newline
27842 \begin_inset Flex URL
27845 \begin_layout Plain Layout
27847 http://sourceforge.net/projects/lyxwininstaller/files/hunspell/
27853 \begin_inset Newline newline
27856 からダウンロードすることができます。各言語用に、2つずつファイルがあります。辞書をWindowsに導入するには、2つのファイルをLyXの導入されているフォルダ以
27865 にコピーして、LyXを再起動してください。
27866 \begin_inset Newline newline
27869 Linuxでは、所望する言語のパッケージを導入する必要があります。必要なパッケージの数は、Linux頒布版によって異なりますが、ほとんどの場合、
27888 \begin_layout Subsection
27892 \begin_layout Standard
27895 ツール\SpecialChar \menuseparator
27896 設定\SpecialChar \menuseparator
27897 言語設定\SpecialChar \menuseparator
27900 メニューでは、以下の設定を行うことができます。
27903 \begin_layout Description
27904 綴り検証エンジン LyXでスペルチェックに使用させるライブラリを選択します。使用中のプラットホームに依存しますが、
27918 \begin_layout Plain Layout
27919 enchant自体は、いろいろなバックエンドを設定できるラッパーライブラリです。詳しくは、enchantの取扱説明書ないしmanページをご覧ください。
27933 \begin_layout Description
27934 代替言語 本フィールドが空でないときは、LyXは、文書言語の如何にかかわらず、ここで指定された言語を、つねにスペルチェックに使用するようになります。
27937 \begin_layout Description
27938 エスケープ文字 ここで、スペルチェッカーがエスケープする必要がある非標準文字を指定できます(例: ドイツ語のウムラウト)。これは通常必要ではありません。
27941 \begin_layout Description
27942 複合単語を受け入れる スペルチェッカーが「passthrough」のような複合単語を綴り間違いと判断しないようにします。
27945 \begin_layout Description
27946 連続スペルチェック 入力するのと同時進行で綴りを検証します。綴り間違いには、赤点線で下線が引かれます。下線の引かれた単語を右クリックすると、綴り候補がコンテクス
27947 トメニューに表示されます。そのうち一つを選択すると、綴り違いの単語が提案された単語で置換されます。
27950 \begin_layout Description
27951 注釈とコメントの綴りを検証する 有効にすると、出力されない文書内容の綴りも検証されます。
27954 \begin_layout Section
27956 \begin_inset Index idx
27959 \begin_layout Plain Layout
27966 \begin_inset Index idx
27969 \begin_layout Plain Layout
27974 \begin_layout Plain Layout
27985 \begin_layout Plain Layout
27998 \begin_inset CommandInset label
28007 \begin_layout Standard
28008 LyXは、多国語の類語辞典を提供し、LibreOffice,OpenOfficeやFirefoxと同じ類語辞典フレームワークを使用しています(つまり、
28016 \begin_layout Plain Layout
28017 \begin_inset CommandInset href
28019 target "http://lingucomponent.openoffice.org/thesaurus.html"
28028 類語辞典ライブラリをLyXの一部として使用しています)。よって、LyXは、多言語で利用可能なOpenOfficeの類語辞典に直接アクセスすることができます。
28031 \begin_layout Standard
28032 本節では、新しい辞書の導入の仕方と、それをLyXで利用する方法を解説します。
28035 \begin_layout Subsection
28039 \begin_layout Standard
28044 類語辞典は、1言語あたり2つのファイルから成り、1つはデータを含む拡張子
28052 のインデックスファイルです。ファイル名は、特定の言語の言語コード(例えば、アメリカ英語の場合は
28056 )を含むように標準化されています。例えば、英語ファイルは
28059 \begin_layout Itemize
28063 \begin_layout Itemize
28067 \begin_layout Standard
28076 を所有していて、Linuxシステム上に類語辞典が導入されていれば、これらのファイルは、お使いのシステム上に既に存在しているはずなので、LyXから、これらが導入さ
28079 ツール\SpecialChar \menuseparator
28080 設定\SpecialChar \menuseparator
28081 パス\SpecialChar \menuseparator
28088 \begin_layout Plain Layout
28089 Linuxでは、頒布版や辞書の導入の仕方によって、典型的な場所は、
28095 /usr/share/myspell/dicts/
28099 /usr/share/ooo/thesaurus/
28103 ~/.config/libreoffice/<バージョン>/user/
28105 などになります。Windowsでは、辞書は、
28111 LibreOffice-<Version>
28117 などにあります。Macでは、既定の場所は、
28119 /Users\SpecialChar \slash{}
28120 <ユーザー名>\SpecialChar \slash{}
28121 Library\SpecialChar \slash{}
28122 Application Support\SpecialChar \slash{}
28123 libreoffice\SpecialChar \slash{}
28124 <バージョン>\SpecialChar \slash{}
28132 Windowsの場合には、LyXを導入する過程で、導入する辞書を選択することもでき、この場合は、直ちに正しい場所へ導入が為されます。
28135 \begin_layout Standard
28136 類語辞典用辞書を新たにもしくは追加的に導入したい場合には、
28139 \begin_layout Itemize
28140 \begin_inset Flex URL
28143 \begin_layout Plain Layout
28145 http://www.lyx.org/trac/browser/lyxsvn/dictionaries/trunk/thes/
28153 \begin_layout Standard
28154 からダウンロードすることができます。辞書を新規に導入するには、当該辞書の2つのファイルを(
28156 ツール\SpecialChar \menuseparator
28157 設定\SpecialChar \menuseparator
28158 パス\SpecialChar \menuseparator
28161 で設定した)類語辞典パスにダウンロードして、LyXを再起動してください。このパスがまだ指定されていなければ、好きなディレクトリにおいて、LyXからそこを指定して
28165 \begin_layout Standard
28168 LibreOffice/OpenOffice
28170 経由で導入したり、Linuxでは、パッケージマネジャーから導入(
28176 libreoffice-thesaurus-*
28178 パッケージを探してください)することもできます。この場合、
28180 ツール\SpecialChar \menuseparator
28181 設定\SpecialChar \menuseparator
28182 パス\SpecialChar \menuseparator
28185 をこれらの辞書を導入したパスに設定して、LyXが、導入した辞書を発見できるようにしてください。
28188 \begin_layout Subsection
28192 \begin_layout Standard
28193 類語辞典を使うには、単語を選択するか、単語の直後にカーソルを置いて、
28195 ツール\SpecialChar \menuseparator
28201 arg "thesaurus-entry"
28204 を使うと、ダイアログが現れて、関連しているとみなされる単語が表示されるので、単語の置換に使用することができます。提案語はカテゴリごとに分類されています。一部の言
28205 語(例えば英語)では、類語辞典は、同義語を表示するだけでなく、包摂語(
28220 \begin_inset space ~
28232 \begin_inset space ~
28245 など)も表示されます。包摂語・関連語・反対語は、そのようにマークされて表示されます。
28248 \begin_layout Standard
28249 言語はカーソル位置の言語によって自動的に選択されますが、ダイアログ中で切り替えることもできます。ダイアログ中ではまた、直接検索する単語を新しく入れることもできま
28253 \begin_layout Standard
28254 類語辞典は、フレーズを取り扱うことはできず(前出のtree diagramのように辞書にある複合語しか取り扱えません)、いわゆる見出し語形、すなわち辞書に現れる
28255 形を使用しなくてはなりません(多くの言語において、名詞については一人称単数直説法能動態、動詞については不定詞)。例えば、
28263 のような単語形を引いても結果は得られませんが、
28267 では結果が表示されます。もっともよい方法は、単語の見出し語部分のみを選択すれば(例えば
28275 )、ダイアログの検索文字列を調整することなしに提案を得ることができ、おそらく置換も正しく動作するでしょう(選択部分のみが置換されるので残りの部分は元のままです)
28279 \begin_layout Section
28281 \begin_inset Index idx
28284 \begin_layout Plain Layout
28291 \begin_inset Index idx
28294 \begin_layout Plain Layout
28295 ふんしよ@文書!へんこうついせききのう@変更追跡機能
28301 \begin_inset CommandInset label
28310 \begin_layout Standard
28311 ひとつの文書を共同して作成するときには、他の人々が文書に加えた変更が強調表示され、変更を受け入れるかどうか決めることができると、この上なく便利です。この機能は、
28313 文書\SpecialChar \menuseparator
28314 変更追跡機能\SpecialChar \menuseparator
28317 メニューで変更追跡を有効にすることによって利用することができるようになります。
28320 \begin_layout Standard
28321 すると文書に加えられた変更点は、下線とカラーで強調されるようになり、追加部分は
28333 のように表示されるようになります。色は、変更した執筆者によって異なります。この色は、
28335 ツール\SpecialChar \menuseparator
28336 設定\SpecialChar \menuseparator
28337 操作性\SpecialChar \menuseparator
28341 \begin_inset Index idx
28344 \begin_layout Plain Layout
28345 いろ@色 ! へんこうついせき@変更追跡
28350 で変更することができます。執筆者と変更の日時は、カーソルを変更箇所にあわせると、LyXのステータスバーに表示されます。ツールバーボタン
28353 arg "changes-merge"
28356 を押したときも同じ情報が表示されます。
28359 \begin_layout Standard
28360 変更追跡が有効にされると、以下のような校閲ツールバーがLyXに表示されるようになります。
28361 \begin_inset Index idx
28364 \begin_layout Plain Layout
28365 つーるばー@ツールバー ! こうえつ@校閲------
28371 \begin_inset VSpace defskip
28377 \begin_layout Standard
28378 \begin_inset Graphics
28379 filename ../clipart/ChangesToolbar.png
28384 \begin_inset VSpace defskip
28390 \begin_layout Standard
28391 上の校閲ツールバーは、左から右へ順に以下のボタンを含んでいます。
28392 \begin_inset VSpace defskip
28398 \begin_layout Standard
28399 \begin_inset Tabular
28400 <lyxtabular version="3" rows="10" columns="2">
28401 <features rotate="0" islongtable="true" longtabularalignment="center">
28402 <column alignment="left" valignment="top">
28403 <column alignment="left" valignment="top" width="0pt">
28404 <row interlinespace="2.5mm">
28405 <cell alignment="left" valignment="top" usebox="none">
28408 \begin_layout Plain Layout
28413 arg "changes-track"
28421 <cell alignment="left" valignment="top" usebox="none">
28424 \begin_layout Plain Layout
28427 文書\SpecialChar \menuseparator
28428 変更追跡機能\SpecialChar \menuseparator
28435 <row interlinespace="2.5mm">
28436 <cell alignment="left" valignment="top" usebox="none">
28439 \begin_layout Plain Layout
28444 arg "changes-output"
28452 <cell alignment="left" valignment="top" usebox="none">
28455 \begin_layout Plain Layout
28458 文書\SpecialChar \menuseparator
28459 変更追跡機能\SpecialChar \menuseparator
28466 <row interlinespace="2.5mm">
28467 <cell alignment="left" valignment="top" usebox="none">
28470 \begin_layout Plain Layout
28483 <cell alignment="left" valignment="top" usebox="none">
28486 \begin_layout Plain Layout
28493 <row interlinespace="2.5mm">
28494 <cell alignment="left" valignment="top" usebox="none">
28497 \begin_layout Plain Layout
28502 arg "change-accept"
28510 <cell alignment="left" valignment="top" usebox="none">
28513 \begin_layout Plain Layout
28516 文書\SpecialChar \menuseparator
28517 変更追跡機能\SpecialChar \menuseparator
28524 <row interlinespace="2.5mm">
28525 <cell alignment="left" valignment="top" usebox="none">
28528 \begin_layout Plain Layout
28533 arg "change-reject"
28541 <cell alignment="left" valignment="top" usebox="none">
28544 \begin_layout Plain Layout
28547 文書\SpecialChar \menuseparator
28548 変更追跡機能\SpecialChar \menuseparator
28555 <row interlinespace="2.5mm">
28556 <cell alignment="left" valignment="top" usebox="none">
28559 \begin_layout Plain Layout
28564 arg "changes-merge"
28572 <cell alignment="left" valignment="top" usebox="none">
28575 \begin_layout Plain Layout
28578 文書\SpecialChar \menuseparator
28579 変更追跡機能\SpecialChar \menuseparator
28586 <row interlinespace="2.5mm">
28587 <cell alignment="left" valignment="top" usebox="none">
28590 \begin_layout Plain Layout
28595 arg "all-changes-accept"
28603 <cell alignment="left" valignment="top" usebox="none">
28606 \begin_layout Plain Layout
28609 文書\SpecialChar \menuseparator
28610 変更追跡機能\SpecialChar \menuseparator
28617 <row interlinespace="2.5mm">
28618 <cell alignment="left" valignment="top" usebox="none">
28621 \begin_layout Plain Layout
28626 arg "all-changes-reject"
28634 <cell alignment="left" valignment="top" usebox="none">
28637 \begin_layout Plain Layout
28640 文書\SpecialChar \menuseparator
28641 変更追跡機能\SpecialChar \menuseparator
28648 <row interlinespace="2.5mm">
28649 <cell alignment="left" valignment="top" usebox="none">
28652 \begin_layout Plain Layout
28665 <cell alignment="left" valignment="top" usebox="none">
28668 \begin_layout Plain Layout
28671 挿入\SpecialChar \menuseparator
28672 注釈\SpecialChar \menuseparator
28677 \begin_layout Plain Layout
28690 <row interlinespace="2.5mm">
28691 <cell alignment="left" valignment="top" usebox="none">
28694 \begin_layout Plain Layout
28707 <cell alignment="left" valignment="top" usebox="none">
28710 \begin_layout Plain Layout
28713 移動\SpecialChar \menuseparator
28725 \begin_inset VSpace defskip
28731 \begin_layout Standard
28748 段落への変更といった、書式変更をはじめとして、(まだ)全ての変更追跡が視覚化されているわけではありません。
28751 \begin_layout Standard
28752 校閲ツールバーは、変更を承認・却下したり統合したりするのに便利です。変更点を選択して、希望するツールバーボタンを押してください。変更を統合する際には、ウィンドウ
28753 が現れて、現在のカーソル位置の次の変更に関する情報を表示しますので、特定の変更点をわざわざ選択する必要がありません。統合ウィンドウでは、変更を承認するか却下する
28754 かを決定して次の変更点へ移動することができますので、この方法を使って、文書中の全ての変更点を確認することができます。
28757 \begin_layout Standard
28758 ツールバーに注釈関連のボタンが二つあるのは、変更点を説明するのに注釈の利用が不可欠なためです。
28761 \begin_layout Standard
28762 加えられた変更を出力に表示するためには、
28767 \begin_inset Index idx
28770 \begin_layout Plain Layout
28771 latexはつけじ@LaTeXパッケージ ! dvipost
28776 というLaTeXパッケージが導入されていることが必要です。これはTeX Catalogue
28777 \begin_inset CommandInset citation
28783 またはお使いのLaTeXシステムのパッケージマネージャから見つけることができます。
28786 \begin_layout Section
28788 \begin_inset CommandInset label
28795 \begin_inset Index idx
28798 \begin_layout Plain Layout
28807 \begin_layout Standard
28810 ツール\SpecialChar \menuseparator
28813 メニューを使用すると、異なる2つのLyXファイルを比較することができます。比較結果は、差異が表示され、かつ変更追跡機能が有効化された、LyXファイルとして出力さ
28818 オプションを用いて、出力される差異表示ファイルに、どの文書から文書設定を引き継がせるのかを指定することができます。
28822 オプションを有効にすると、変更追跡オプションの
28826 が有効になり、差異表示ファイルのPDF出力にも差異が表示されるようになります。
28829 \begin_layout Section
28831 \begin_inset Index idx
28834 \begin_layout Plain Layout
28843 \begin_layout Standard
28844 この節では、お使いになりたい言語でLyXを使う方法を説明します。西欧言語以外の言語の中には、当該言語用にLyXを設定する方法を説明したWikiページがあるものも
28846 \begin_inset CommandInset citation
28848 key "Arabic,Armenian,Farsi,Hebrew,Japanese,Lithuanian,Latvian,Mongolian,Vietnamese"
28855 \begin_layout Standard
28856 LyXは、言語以外に発音記号もサポートしています。第
28857 \begin_inset CommandInset ref
28859 reference "sub:特殊文字"
28866 \begin_layout Subsection
28868 \begin_inset Index idx
28871 \begin_layout Plain Layout
28878 \begin_inset Index idx
28881 \begin_layout Plain Layout
28882 ふんしよ@文書!せってい@------設定
28888 \begin_inset Index idx
28891 \begin_layout Plain Layout
28900 \begin_layout Standard
28903 文書\SpecialChar \menuseparator
28904 設定\SpecialChar \menuseparator
28907 ダイアログでは、お使いの言語用に、言語と文字コードを設定することができます。
28910 \begin_layout Standard
28915 ボックスでは、LaTeX出力用に使用したい文字コード表を選択することができます。言語既定値オプションは、ほとんどの場合適切に機能しますので、通常はこれを選択して
28916 おくのがよいでしょう。他の文字コードオプションについては、第
28917 \begin_inset CommandInset ref
28919 reference "sub:特殊文字"
28926 \begin_layout Subsection
28928 \begin_inset CommandInset label
28930 name "sub:キーボード配置表の設定"
28937 \begin_layout Standard
28938 例えば、米国向けキーボードを持っていて、英語ではない言語で執筆したい場合、別の
28939 \begin_inset Flex Ruby
28942 \begin_layout Plain Layout
28944 \begin_inset Argument post:1
28947 \begin_layout Plain Layout
28958 配置を使用することができます。例えば、イタリア語を書きたい場合には、LyXでイタリア語鍵配置を使うように設定できます。
28960 ツール\SpecialChar \menuseparator
28961 設定\SpecialChar \menuseparator
28962 編集\SpecialChar \menuseparator
28965 ダイアログでは、二つまでのキーボード配置表を選ぶことができます。第
28966 \begin_inset CommandInset ref
28968 reference "sub:キーボード配置表"
28972 節を参照してください。第1及び第2キーボード言語を選択することができるので、その後どちらを使用するかを指定してください。
28975 \begin_layout Standard
28976 最後に、いくつかの鍵配置だけを変更したり、あるいはまったく別の鍵配置(例えばバルカン語、とか
28980 \begin_layout Plain Layout
28985 よくわからない人は『Star Trek』を参照のこと。
28990 )を作りたいことがあるかもしれません。例えば、通常は米国向けキーボードでイタリア語を書いているけれども、ときおりドイツ語からの引用を入れたいかもしれません。その
28991 ような場合には、自分専用のキーボード配置表を書いたり、既存の配置表を欲しい文字をサポートするように修正したりすることができます。この点やその他のカスタマイズに関
28999 \begin_layout Chapter
29002 \begin_inset CommandInset label
29011 \begin_layout Standard
29012 この付録は、使用できるメニュー全ての一覧と、その各機能を説明しています。これは、ユーザーの手引で特別なトピックを探している場合の早見表として作られています。
29015 \begin_layout Section
29017 \begin_inset Index idx
29020 \begin_layout Plain Layout
29021 めにゅー@メニュー!ふぁいる@ファイル
29029 \begin_layout Standard
29034 メニューの下には、基本操作といくつかの応用操作が含まれています。
29037 \begin_layout Subsection
29041 \begin_layout Standard
29045 \begin_layout Subsection
29049 \begin_layout Standard
29051 \begin_inset Flex Ruby
29054 \begin_layout Plain Layout
29056 \begin_inset Argument post:1
29059 \begin_layout Plain Layout
29070 型を尋ねられます。雛型を選択すると、本来、手動で設定しなくてはならないレイアウトの組み合わせが、自動的に文書に設定されます。
29073 \begin_layout Subsection
29077 \begin_layout Standard
29081 \begin_layout Subsection
29085 \begin_layout Standard
29086 ここの従属メニューは、最近開いたファイルの一覧を表示します。ファイルを開くには、そのうち一つをクリックしてください。
29089 \begin_layout Subsection
29093 \begin_layout Standard
29097 \begin_layout Subsection
29101 \begin_layout Standard
29105 \begin_layout Subsection
29109 \begin_layout Standard
29113 \begin_layout Subsection
29117 \begin_layout Standard
29118 現在の文書に新しい名前をつけて別のファイルとして保存します。
29121 \begin_layout Subsection
29125 \begin_layout Standard
29129 \begin_layout Subsection
29133 \begin_layout Standard
29134 現在の文書をディスクから読み直します。
29137 \begin_layout Subsection
29141 \begin_layout Standard
29142 複数人で同じ文書の作業をするときや、一人でも変更点を慎重にアーカイブに残しておきたいときに使用します。取扱説明書『
29153 \begin_layout Subsection
29157 \begin_layout Standard
29158 古いバージョンのLyXファイル・HTMLファイル・LaTeXファイル・NoWebファイル・平文ファイル・コンマ区切りの表形式平文ファイル(CSV)を新規LyX文
29159 書として読み込むことができます。これらのファイルは、新規のLyX文書として読み込まれます。
29162 \begin_layout Standard
29167 を使うと、テキスト中の改行は新しい段落となります。メニュー項目の
29171 を使用すると、一続きの全ての行が、ひとつの大きな段落として読み込まれます。ファイル中に空白行があると、そこから別の段落になります。
29174 \begin_layout Subsection
29176 \begin_inset CommandInset label
29185 \begin_layout Standard
29186 文書は、さまざまなファイル形式に書き出すことができます。書き出したファイルは、元のLyXファイルのあるディレクトリに置かれます。メニュー項目は、導入状態によって
29187 異なります。これは、LyXがシステム走査をしたときにどんなプログラムが見つかったかに依存します。
29190 \begin_layout Standard
29191 以下は、利用可能な項目のすべてです。これらのいくつかに関しては、第
29192 \begin_inset CommandInset ref
29194 reference "sub:出力ファイル形式"
29201 \begin_layout Description
29205 \begin_inset space ~
29214 \begin_layout Plain Layout
29225 日中韓(CJK)版LyX 1.4.xの形式
29226 \begin_inset Newline newline
29229 LyX 1.5.0以降、CJKサポートは完全にLyXに統合されています。
29232 \begin_layout Description
29241 で使用されるSGML言語で書かれたテキストファイル
29244 \begin_layout Description
29248 \begin_inset space ~
29257 で使用されるXML言語で書かれたテキストファイル
29260 \begin_layout Description
29265 LaTeXのネイティブDVI形式。この形式は、文書中のファイルパスやファイル名に特殊文字や空白がある場合には適切ではありません。LyXでは、この形式は、
29269 に書きだす前の前処理として内部的に使用されます。
29272 \begin_layout Description
29280 \begin_layout Description
29284 \begin_inset space ~
29291 \begin_layout Plain Layout
29304 を使用したDVI形式。UnicodeとTeXフォント以外の使用をサポートしています。
29307 \begin_inset Note Greyedout
29310 \begin_layout Plain Layout
29315 いまのところ、すべてのDVIビューアがこの出力形式を適切に表示できるわけではありません。
29323 \begin_layout Description
29325 \begin_inset space ~
29332 と同じですが、ページ余白が切り落とされます。
29335 \begin_layout Description
29339 \begin_inset space ~
29348 経由でグラフによる可視化を行うのに用いられる、プログラミング言語
29355 \begin_layout Description
29360 HTML形式(HTML変換子は第三者製であり、すべての場合に機能するとは限りません)
29363 \begin_layout Description
29367 \begin_inset space ~
29371 \begin_inset space ~
29380 に読み込み可能なHTML形式。このため、数式はビットマップフォントとして埋め込まれ、
29387 \begin_layout Description
29394 \begin_layout Plain Layout
29402 \begin_inset space ~
29413 \begin_layout Plain Layout
29430 と互換性のあるLaTeXソースで書かれたテキストファイル
29433 \begin_layout Description
29440 \begin_layout Plain Layout
29448 \begin_inset space ~
29453 テキストファイルに書かれたLaTeXソース。くわえて、文書中に使われているすべての画像は、
29457 プログラムが読み込み可能な形式(GIF・JPG・PDF・PNG)に変換されます。
29460 \begin_layout Description
29467 \begin_layout Plain Layout
29475 \begin_inset space ~
29480 テキストファイルに書かれたLaTeXソース。くわえて、文書中に使われているすべての画像は、
29484 プログラムが読み込み可能な唯一の形式であるEPS形式に変換されます。
29487 \begin_layout Description
29494 \begin_layout Plain Layout
29502 \begin_inset space ~
29515 \begin_layout Plain Layout
29534 と互換性のあるLaTeXソースで書かれたテキストファイル
29537 \begin_layout Description
29541 \begin_inset space ~
29545 \begin_inset space ~
29554 \begin_layout Plain Layout
29569 の文法に沿ったLaTeXソースで書かれたテキストファイル
29572 \begin_layout Description
29581 \begin_layout Plain Layout
29591 \begin_inset space ~
29596 文書と、そのコンパイルに必要なすべてのファイル(画像・子文書・BibTeXファイル等)を含んだ、zip圧縮ファイルまたはtar.gz圧縮ファイルを生成します
29599 \begin_layout Description
29608 \begin_layout Plain Layout
29618 \begin_inset space ~
29623 LyX z.y.x版(「z」 and 「y」はバージョン番号に変換して表示されます)が読み込み可能なLyX文書形式
29626 \begin_layout Description
29635 \begin_layout Plain Layout
29646 LyX内蔵のXHTMLエンジンを使用したHTML形式
29649 \begin_layout Description
29661 \begin_layout Description
29666 OpenDocument形式のテキストファイル。
29682 などで開くことが可能(OpenDocument変換子は第三者製であり、すべての場合に機能するとは限りません)。
29685 \begin_layout Description
29687 \begin_inset space ~
29693 \begin_inset space ~
29698 と同じですが、ページ余白が切り落とされます。
29701 \begin_layout Description
29703 \begin_inset space ~
29710 プログラムを使用して変換するPDF形式。内部的にDVIファイルを生成し、それからPDFファイルに変換します。
29713 \begin_layout Description
29717 \begin_inset space ~
29724 \begin_layout Plain Layout
29737 を使用したPDF形式。直接PDFファイルを生成します。
29740 \begin_layout Description
29744 \begin_inset space ~
29753 プログラムを使用して変換するPDF形式。直接PDFファイルを生成します。
29756 \begin_layout Description
29760 \begin_inset space ~
29769 プログラムを使用して変換するPDF形式。内部的にPostScriptファイルを生成し、それからPDFファイルに変換します。
29772 \begin_layout Description
29776 \begin_inset space ~
29783 \begin_layout Plain Layout
29796 を使用したPDF形式。直接PDFファイルを生成します。
29799 \begin_layout Description
29807 \begin_layout Description
29811 \begin_inset space ~
29816 テキスト形式。まず文書をPostScript形式に変換し、そこから
29820 プログラムを使用してテキスト形式に書き出されます。
29823 \begin_layout Description
29832 プログラムを使用して変換するPostScript形式
29835 \begin_layout Description
29844 を使用したLaTeXソースで書かれたテキストファイル。
29856 コマンドを使用することが可能になります。
29859 \begin_layout Standard
29861 \begin_inset space ~
29864 (pdflatex)・Postscriptのうち、ひとつでもメニュー項目から漏れていたならば、導入されているLaTeXを更新する必要があります。更新したあとには
29865 LyXの環境構成を行わなくてはなりません。第
29866 \begin_inset CommandInset ref
29868 reference "sec:LaTeXの設定"
29873 \begin_inset Index idx
29876 \begin_layout Plain Layout
29877 Lyx@LyX ! のかんきょうこうせい@------の環境構成
29885 \begin_layout Subsection
29889 \begin_layout Standard
29890 このメニューでは、文書をPostScript形式のファイルへ書き出したり、それをプリンタに送ったりすることができます。プリンタもPostScript形式の文書を
29891 使用します。PostScriptへの変換は、LyXがバックグラウンドで
29895 プログラムを使用して行います。詳しい情報については、第
29896 \begin_inset CommandInset ref
29898 reference "sub:ファイルを印刷"
29905 \begin_layout Subsection
29909 \begin_layout Standard
29910 このメニュー項目は、ファックスプログラムが導入されているときのみ表示されます(Windowsでは、さらにこのプログラムをLyXのPATH前置詞に登録しなくてはな
29912 \begin_inset CommandInset ref
29918 節をご参照ください)。このメニュー項目を使用すると、
29926 のようなファックスプログラムへ使用中の文書を転送することができます。転送されるファイルの既定書式は
29931 \begin_inset CommandInset ref
29933 reference "sub:変換子"
29937 節に説明されているように、書式はLyX設定で変更することができます。
29940 \begin_layout Subsection
29944 \begin_layout Standard
29945 LyXの新規インスタンスを開いたり閉じたりします。
29948 \begin_layout Subsection
29952 \begin_layout Standard
29953 保存していないすべての文書を保存するように促してから、終了します。
29956 \begin_layout Section
29958 \begin_inset Index idx
29961 \begin_layout Plain Layout
29962 めにゅー@メニュー ! へんしゅう@編集
29970 \begin_layout Subsection
29974 \begin_layout Standard
29976 \begin_inset CommandInset ref
29978 reference "sec:元に戻すとやり直す"
29985 \begin_layout Subsection
29986 切り取り・コピー・貼り付け・直近のものを貼り付け・特別な貼り付け
29989 \begin_layout Standard
29991 \begin_inset CommandInset ref
29993 reference "sec:基本的な編集機能"
30000 \begin_layout Subsection
30004 \begin_layout Standard
30005 カーソルの置かれている差込枠の内容を選択します。カーソルが差込枠の外にある場合には、文書全体が選択されます。
30008 \begin_layout Subsection
30012 \begin_layout Standard
30016 \begin_layout Subsection
30020 \begin_layout Standard
30022 \begin_inset CommandInset ref
30024 reference "sec:基本的な編集機能"
30031 \begin_layout Subsection
30035 \begin_layout Standard
30037 \begin_inset CommandInset ref
30039 reference "sec:詳細な検索と置換"
30046 \begin_layout Subsection
30050 \begin_layout Standard
30051 これは、現在カーソルがある段落を一段落分、上に上げたり下に下げたりします。
30054 \begin_layout Subsection
30058 \begin_layout Standard
30060 \begin_inset CommandInset ref
30062 reference "sub:文字微調整"
30069 \begin_layout Subsection
30071 \begin_inset Index idx
30074 \begin_layout Plain Layout
30075 だんらく@段落 ! せってい@------ 設定
30083 \begin_layout Standard
30084 段落の配置や行間、ラベル幅の設定ができます。これらの設定は、カーソルのある段落に対してのみ有効です。
30087 \begin_layout Standard
30088 また、段落の第一行が字下げされるのを止めることができます。このオプションは、前もって、
30090 文書\SpecialChar \menuseparator
30097 面で、段落区切りに字下げを選択したときにのみ有効です。
30100 \begin_layout Subsection
30104 \begin_layout Standard
30105 これら二つのメニューは、カーソルが表ないし数式の中にあるときにのみ、完全に有効化されます。ここでは、当該表ないし数式の特性を、変更することができます。表の特性は
30107 \begin_inset CommandInset ref
30113 節に述べられており、数式の特性に関しては第
30114 \begin_inset CommandInset ref
30123 \begin_layout Subsection
30127 \begin_layout Standard
30128 この二つのメニューは、入れ子にすることのできる環境の上にカーソルがあるときにのみ有効化されます。これらは、第
30129 \begin_inset CommandInset ref
30131 reference "sec:入れ子"
30136 \begin_inset CommandInset ref
30138 reference "sub:番号の付け方-深度"
30142 節に説明されているように、環境の入れ子の階層を上げたり下げたりします。
30145 \begin_layout Subsection
30149 \begin_layout Standard
30150 これらのメニューは、同じ型の環境を2つ続けることが可能なときにのみ、表示されます。詳細については、第
30151 \begin_inset CommandInset ref
30153 reference "sub:入れ子の分離"
30160 \begin_layout Section
30162 \begin_inset Index idx
30165 \begin_layout Plain Layout
30166 めにゅー@メニュー ! ひょうじ@表示
30174 \begin_layout Standard
30179 メニューの最下部には、開かれている文書が一覧表示されます。
30182 \begin_layout Subsection
30186 \begin_layout Standard
30187 文書中のすべての差込枠を展開したり、閉じたりします。
30190 \begin_layout Subsection
30194 \begin_layout Standard
30195 現在の数式マクロを展開したり、畳んだりします。
30198 \begin_layout Standard
30206 \begin_layout Subsection
30210 \begin_layout Standard
30212 \begin_inset CommandInset ref
30219 \begin_inset CommandInset ref
30225 節に説明されているように、目次・文書構造ウィンドウを開きます。
30228 \begin_layout Subsection
30232 \begin_layout Standard
30234 \begin_inset CommandInset ref
30236 reference "sec:文書の断片プレビュー"
30240 節に述べられているように、現在の文書のソースコードを表示するウィンドウを開きます。
30243 \begin_layout Subsection
30247 \begin_layout Standard
30248 コンソールメッセージを表示するウィンドウを開きます。これは、LyXのデバッグ(つまりこのプログラムのエラーを捕まえる)や、バックグラウンドでLaTeXが文書を処
30249 理するのに何が起こっているかを見るのに便利です。
30252 \begin_layout Subsection
30254 \begin_inset Index idx
30257 \begin_layout Plain Layout
30264 \begin_inset CommandInset label
30273 \begin_layout Standard
30274 このメニューでは、さまざまなツールバーの表示を設定することができます。すべてのツールバーと
30278 は、表示したり非表示にしたりすることができます。
30282 の状態は、メニューに付くチェックマークで表されます。
30306 の状態にすることができ、メニュー中で項目の後ろに
30313 \begin_layout Standard
30318 状態では、ツールバーはつねに表示され、自動状態では、カーソルが特定の環境にいるときや特定の機能が有効になっているときにのみ、ツールバーが表示されます。つまり自動
30319 状態においては、校閲ツールバーは、追跡機能が有効になっているときにのみ表示され、数式ツールバーと表ツールバーは、カーソルが数式や表の中にあるときにのみ表示されま
30323 \begin_layout Standard
30324 LyXツールバーとその中の各ボタンは、第
30325 \begin_inset CommandInset ref
30327 reference "sec:ツールバー"
30334 \begin_layout Subsection
30338 \begin_layout Standard
30343 は、LyXの主ウィンドウを垂直に分割し、
30347 は、水平に分割します。これによって、異なる文書を比較するために同時に表示したり、同じ文書の違う場所を表示したりすることができます。三つ以上の文書を同時に表示する
30348 のに、複数回分割することもできます。分割表示をやめるには、
30355 \begin_layout Subsection
30359 \begin_layout Standard
30363 \begin_layout Subsection
30367 \begin_layout Standard
30369 \begin_inset Flex Ruby
30372 \begin_layout Plain Layout
30374 \begin_inset Argument post:1
30377 \begin_layout Plain Layout
30388 を押すと、メニューバーとすべてのツールバーが消え、本文だけが表示されます。さらに、LyXメインウィンドウが全画面表示されます。全画面表示から通常の表示に戻るには
30389 、F11を押すか、右クリックしてコンテクスト・メニューから全画面表示を解除してください。
30392 \begin_layout Section
30394 \begin_inset Index idx
30397 \begin_layout Plain Layout
30406 \begin_layout Subsection
30410 \begin_layout Standard
30412 \begin_inset CommandInset ref
30422 』に説明されているように、数式要素を挿入します。
30425 \begin_layout Subsection
30427 \begin_inset CommandInset label
30436 \begin_layout Standard
30437 ここでは、以下の文字を挿入することができます。
30440 \begin_layout Description
30445 ダイアログを開き、ご使用のLaTeXシステムで出力できる任意の文字を挿入できるようにします。既定の設定では、文字カテゴリ中に文字のグループが表示されます。使用で
30446 きる文字は、どのLaTeXパッケージが導入済みかに依存します。
30450 チェックボックスを有効にすれば、すべての文字が表示されます。
30451 \begin_inset Newline newline
30455 \begin_inset Note Greyedout
30458 \begin_layout Plain Layout
30464 \begin_inset CommandInset ref
30466 reference "sub:画面フォント"
30470 節を参照)で指定できる画面フォントには、すべての文字を表示できるものがないので、記号ダイアログですべての文字が表示されるわけではありません。
30478 \begin_layout Description
30479 省略符号 省略符号を挿入します\SpecialChar \ldots{}
30483 \begin_layout Description
30485 \begin_inset CommandInset ref
30491 節に述べられているように句点を挿入します。
30494 \begin_layout Description
30497 文書\SpecialChar \menuseparator
30504 部でどのような引用形式が選択されているかに関わらず、引用符「
30505 \begin_inset Quotes erd
30511 \begin_layout Description
30514 文書\SpecialChar \menuseparator
30515 設定\SpecialChar \menuseparator
30519 \begin_inset Quotes ers
30525 \begin_layout Description
30526 保護されたハイフン 改行から保護されたハイフン「\SpecialChar \nobreakdash-
30530 \begin_layout Description
30531 可改行スラッシュ 改行を許可されたスラッシュ「\SpecialChar \slash{}
30535 \begin_layout Description
30541 \begin_inset space \textvisiblespace{}
30547 \begin_layout Description
30548 メニュー区切り メニュー区切りマーク「\SpecialChar \menuseparator
30552 \begin_layout Description
30554 \begin_inset Index idx
30557 \begin_layout Plain Layout
30564 \begin_inset Index idx
30567 \begin_layout Plain Layout
30568 げんご@言語 ! はつおんきごう@発音記号
30573 国際音声記号(IPA)の記号を入れることのできるボックスを挿入し、これらの記号の大半を提供するツールバーを開きます。この機能を使用するには、LaTeXパッケー
30579 \begin_inset Index idx
30582 \begin_layout Plain Layout
30583 latexはつけじ@LaTeXパッケージ ! tipa
30589 \begin_inset Newline newline
30598 ヘルプ\SpecialChar \menuseparator
30604 \begin_layout Subsection
30608 \begin_layout Standard
30609 ここでは、以下の整形要素を挿入することができます。
30612 \begin_layout Description
30613 上付き文字 上付き文字を挿入します。(例)テスト
30614 \begin_inset script superscript
30616 \begin_layout Plain Layout
30625 \begin_layout Description
30626 下付き文字 下付き文字を挿入します。(例)テスト
30627 \begin_inset script subscript
30629 \begin_layout Plain Layout
30638 \begin_layout Description
30640 \begin_inset CommandInset ref
30642 reference "sub:保護された空白"
30646 節に述べられている保護された空白を挿入します。
30649 \begin_layout Description
30651 \begin_inset CommandInset ref
30653 reference "sub:単語間の空白"
30657 節に述べられている単語間の空白を挿入します。
30660 \begin_layout Description
30662 \begin_inset CommandInset ref
30664 reference "sub:小空白"
30668 節に述べられている小空白を挿入します。
30671 \begin_layout Description
30673 \begin_inset CommandInset ref
30675 reference "sub:水平方向の空白"
30679 節に述べられている水平方向の余白を挿入します。
30682 \begin_layout Description
30684 \begin_inset CommandInset ref
30686 reference "sub:水平線"
30690 節に述べられている水平線を挿入します。
30693 \begin_layout Description
30695 \begin_inset CommandInset ref
30697 reference "sub:垂直方向の空白"
30701 節に述べられている縦空白を挿入します。
30704 \begin_layout Description
30706 \begin_inset CommandInset ref
30708 reference "sub:ハイフネーション"
30712 節に述べられているハイフネーション位置を挿入します。
30715 \begin_layout Description
30717 \begin_inset CommandInset ref
30719 reference "sub:埋め草"
30726 \begin_layout Description
30728 \begin_inset CommandInset ref
30734 節に述べられている合字回避指定を挿入します。
30737 \begin_layout Description
30739 \begin_inset CommandInset ref
30741 reference "sub:強制改行"
30745 節に述べられている強制改行を挿入します。
30748 \begin_layout Description
30750 \begin_inset CommandInset ref
30752 reference "sub:強制改行"
30756 節に述べられているように、強制改行をして、改行された文章をページ枠まで広がらせる改行を挿入します。
30759 \begin_layout Description
30761 \begin_inset CommandInset ref
30763 reference "sub:強制改頁"
30767 節に述べられている強制改頁を挿入します。
30770 \begin_layout Description
30772 \begin_inset CommandInset ref
30774 reference "sub:強制改頁"
30778 節に述べられているように、強制改頁をして、改行された文章をページ枠まで広がらせる改頁を挿入します。
30781 \begin_layout Description
30783 \begin_inset CommandInset ref
30785 reference "sub:改段改頁"
30789 節に述べられている改段改頁を挿入します。
30792 \begin_layout Description
30794 \begin_inset CommandInset ref
30796 reference "sub:改段改頁"
30800 節に述べられている改段改丁を挿入します。
30803 \begin_layout Subsection
30807 \begin_layout Standard
30808 このメニューでは、さまざまな一覧を挿入することができます。
30829 \begin_inset CommandInset ref
30831 reference "sec:目次と一覧"
30840 \begin_inset CommandInset ref
30851 \begin_inset CommandInset ref
30853 reference "sec:用語集"
30862 \begin_inset CommandInset ref
30864 reference "sub:文献データベース"
30871 \begin_layout Subsection
30875 \begin_layout Standard
30877 \begin_inset CommandInset ref
30879 reference "sec:フロート"
30894 \begin_layout Subsection
30898 \begin_layout Standard
30900 \begin_inset CommandInset ref
30909 \begin_layout Subsection
30913 \begin_layout Standard
30914 既存の派生枝差込枠を挿入できる他、新規派生枝を作成して挿入できます。派生枝は、第
30915 \begin_inset CommandInset ref
30917 reference "sec:派生枝"
30924 \begin_layout Subsection
30928 \begin_layout Standard
30929 文書クラスに依存した差込枠を挿入します。これらの差込枠は、ある文書クラスのレイアウトファイルに定義されているときのみ存在します。一つの例は、三つのユーザ設定差込
30930 枠を持つ文書クラス「article (elsevier)」です。取扱説明書『
30946 」の節に、ユーザ設定差込枠の定義の仕方が述べられています。
30949 \begin_layout Subsection
30951 \begin_inset Index idx
30954 \begin_layout Plain Layout
30963 \begin_layout Standard
30964 ここでは、文書に他のLyXファイルの内容をインクルードしたり挿入したりすることができます。詳しい情報については、取扱説明書『
30975 \begin_layout Subsection
30977 \begin_inset Index idx
30980 \begin_layout Plain Layout
30989 \begin_layout Standard
30991 \begin_inset CommandInset ref
30993 reference "sec:ミニページ"
30997 節に説明されているミニページ・ボックスを挿入します。LyXでサポートされているボックスの全型は、取扱説明書『
31008 \begin_layout Subsection
31012 \begin_layout Standard
31014 \begin_inset CommandInset ref
31016 reference "sec:書誌情報"
31020 節に説明されているように、文献引用を挿入します。
31023 \begin_layout Subsection
31027 \begin_layout Standard
31029 \begin_inset CommandInset ref
31031 reference "sec:相互参照"
31035 節に説明されているように、相互参照を挿入します。
31038 \begin_layout Subsection
31042 \begin_layout Standard
31044 \begin_inset CommandInset ref
31046 reference "sec:相互参照"
31050 節に説明されているように、ラベルの挿入を挿入します。
31053 \begin_layout Subsection
31055 \begin_inset Index idx
31058 \begin_layout Plain Layout
31065 \begin_inset Index idx
31068 \begin_layout Plain Layout
31069 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
31077 \begin_layout Standard
31078 キャプションをフロートや長尺表に挿入します。フロートに関しては、第
31079 \begin_inset CommandInset ref
31081 reference "sec:フロート"
31085 節に説明があります。長尺表のキャプションについては、取扱説明書『
31096 \begin_layout Subsection
31100 \begin_layout Standard
31102 \begin_inset CommandInset ref
31108 節に説明されているように、索引登録を挿入します。
31111 \begin_layout Subsection
31115 \begin_layout Standard
31117 \begin_inset CommandInset ref
31119 reference "sec:用語集"
31123 節に説明されているように、記号一覧または用語集を挿入します。
31126 \begin_layout Subsection
31130 \begin_layout Standard
31131 表の行と列を指定するダイアログが開きます。表は第
31132 \begin_inset CommandInset ref
31138 節に説明されています。より詳しくは、取扱説明書『
31149 \begin_layout Subsection
31153 \begin_layout Standard
31155 \begin_inset CommandInset ref
31161 節に説明されているように、図を挿入します。
31164 \begin_layout Subsection
31168 \begin_layout Standard
31170 \begin_inset CommandInset ref
31172 reference "sub:URL"
31176 節に説明されているように、URLを挿入します。
31179 \begin_layout Subsection
31183 \begin_layout Standard
31185 \begin_inset CommandInset ref
31187 reference "sub:ハイパーリンク"
31191 節に説明されているように、ハイパーリンクを挿入します。
31194 \begin_layout Subsection
31198 \begin_layout Standard
31200 \begin_inset CommandInset ref
31206 節に説明されているように、脚注を挿入します。
31209 \begin_layout Subsection
31213 \begin_layout Standard
31215 \begin_inset CommandInset ref
31221 節に説明されているように、傍注を挿入します。
31224 \begin_layout Subsection
31228 \begin_layout Standard
31229 カーソルが、節見出しやタイトル、フロートのキャプションの前後や内部にあるときのみ、表示されます。第
31230 \begin_inset CommandInset ref
31232 reference "sub:見出しの短縮形"
31236 節に説明されているように、短縮タイトルを挿入します。
31239 \begin_layout Subsection
31243 \begin_layout Standard
31245 \begin_inset CommandInset ref
31247 reference "sub:TeXコード枠"
31251 節に説明されているように、TeXコード枠を挿入します。
31254 \begin_layout Subsection
31256 \begin_inset Index idx
31259 \begin_layout Plain Layout
31268 \begin_layout Standard
31269 プログラムリスト枠を挿入します。プログラムリストについては、取扱説明書『
31280 \begin_layout Subsection
31284 \begin_layout Standard
31285 現在の日付を挿入します。表示形式は、LyXのメニューで使用されている言語の日付形式に依存します。LyXにはさまざまな日付の挿入方法があり、取扱説明書『
31296 \begin_layout Subsection
31300 \begin_layout Standard
31302 \begin_inset CommandInset ref
31304 reference "sec:文書の断片プレビュー"
31311 \begin_layout Section
31313 \begin_inset Index idx
31316 \begin_layout Plain Layout
31325 \begin_layout Standard
31326 このメニューは、現在の文書に存在する章・節・図・表などを一覧表示します。これによって、文書内をすばやく移動することができます。
31329 \begin_layout Standard
31330 移動メニューには、以下の各項目もあります。
31333 \begin_layout Subsection
31337 \begin_layout Standard
31338 このメニューを使うと、ご自身のしおりを定義することができます。これは、大きな文書で作業をしていて、例えば第2.5節と第6.3節のあいだをよく行ったり来たりするような
31339 ときに便利です。このような例でしおりを定義するには、まず第2.5節に移動して、
31343 メニューを使用します。次に第6.3節に移動して、
31352 \begin_inset Flex Ruby
31355 \begin_layout Plain Layout
31357 \begin_inset Argument post:1
31360 \begin_layout Plain Layout
31374 arg "bookmark-goto 1"
31380 arg "bookmark-goto 2"
31383 を使用することによって、簡単に移動できるようになります。またしおりは、すでに開かれている別々の文書のあいだを移動することもできます。
31386 \begin_layout Standard
31387 保存したしおりは、文書が閉じられるまで有効です。サブメニュー
31395 は、文書中で直近に変更を加えた位置にジャンプします。
31398 \begin_layout Subsection
31402 \begin_layout Standard
31403 現在のカーソル位置の次の注釈や変更点、相互参照へ移動します。
31406 \begin_layout Subsection
31410 \begin_layout Standard
31411 これは、カーソルが相互参照の前にあるときのみ有効です。カーソルを参照されているラベルの前に移動します(相互参照ボックスを右クリックして、
31418 \begin_layout Subsection
31422 \begin_layout Standard
31423 この機能は、出力中の対応する箇所に直接移動することができるようにするものです。詳しい説明は、取扱説明書『
31429 LyXサーバー\SpecialChar \menuseparator
31435 \begin_layout Section
31437 \begin_inset Index idx
31440 \begin_layout Plain Layout
31449 \begin_layout Subsection
31453 \begin_layout Standard
31455 \begin_inset CommandInset ref
31457 reference "sec:変更追跡機能"
31464 \begin_layout Subsection
31469 \begin_layout Plain Layout
31479 \begin_layout Standard
31480 文書を閲覧したり書き出すことによってLaTeXが実行されると、このメニューは有効になります。これは、使用したLaTeXプログラムのログファイルを表示します。次の
31481 エラーや次の警告に飛んだり、検索したり、クリップボードにコピーしたり、表示を更新したりすることができます。ログファイルを見ることで、熟練者には、LaTeXエラー
31482 の原因を発見する手助けとなるでしょう。
31485 \begin_layout Subsection
31489 \begin_layout Standard
31491 \begin_inset CommandInset ref
31497 節に説明されているように、このメニューは、現在のカーソル位置から付録を開始します。
31500 \begin_layout Subsection
31502 \begin_inset space ~
31508 \begin_layout Standard
31509 このメニュー項目は、当該文書の既定出力形式として指定した形式(
31511 文書\SpecialChar \menuseparator
31512 設定\SpecialChar \menuseparator
31513 出力\SpecialChar \menuseparator
31517 \begin_inset CommandInset ref
31519 reference "sub:出力ファイル形式"
31523 章参照)、若しくはLyXの設定で指定した形式で(
31525 ツール\SpecialChar \menuseparator
31526 設定\SpecialChar \menuseparator
31527 ファイル処理\SpecialChar \menuseparator
31528 ファイル形式\SpecialChar \menuseparator
31532 \begin_inset CommandInset ref
31534 reference "sec:ファイル形式"
31538 章参照)出力を生成した後、適切な閲覧プログラムで開きます。閲覧プログラムは、設定で変更することができます(
31540 ツール\SpecialChar \menuseparator
31541 設定\SpecialChar \menuseparator
31542 ファイル処理\SpecialChar \menuseparator
31543 ファイル形式\SpecialChar \menuseparator
31547 \begin_inset CommandInset ref
31549 reference "sec:ファイル形式"
31553 章参照)。既定の閲覧プログラムは、LyXの初回起動設定時に設定されます。既定の出力形式は、
31556 \begin_inset space ~
31564 \begin_layout Subsection
31568 \begin_layout Standard
31569 この従属メニューでは文書を他の出力形式で見ることができます。には、文書の実際の出力を、外部プログラムで閲覧することができる各ファイル形式が一覧表示されます。出力
31570 形式を閲覧するためのメニュー項目は、システムの導入のしかたによって異なります。これは、LyXがシステム走査をしたときに見つかったLaTeXプログラムに依存するの
31572 \begin_inset CommandInset ref
31574 reference "sub:書き出し"
31585 \begin_inset space ~
31590 のメニュー項目は、メニューに登場するはずです。これらのうち一つでも欠けているようならば、導入されているLaTeXを更新する必要があります。更新したあとにはLyX
31591 の環境構成を行わなくてはなりません。第
31592 \begin_inset CommandInset ref
31594 reference "sec:LaTeXの設定"
31599 \begin_inset Index idx
31602 \begin_layout Plain Layout
31603 Lyx@LyX ! のかんきょうこうせい@------の環境構成
31611 \begin_layout Standard
31612 メニューを実行すると、閲覧プログラムが実行されます。閲覧プログラムは、LyX設定で(
31614 ツール\SpecialChar \menuseparator
31615 設定\SpecialChar \menuseparator
31616 ファイル処理\SpecialChar \menuseparator
31617 ファイル形式\SpecialChar \menuseparator
31621 \begin_inset CommandInset ref
31623 reference "sec:ファイル形式"
31627 章参照)設定変更ができます。既定の閲覧プログラムは、LyXが最初にシステム走査をしたときに、自動的に設定されています。
31630 \begin_layout Subsection
31632 \begin_inset space ~
31638 \begin_layout Standard
31639 このメニュー項目は、新しいビューアウィンドウを開くことなしに、既存の閲覧表示を(前節で述べられているとおり既定の出力形式で)更新します。
31642 \begin_layout Subsection
31646 \begin_layout Standard
31647 この従属メニューでは、新しいビューアウィンドウを開くことなしに、他の出力形式の閲覧表示を更新します。
31650 \begin_layout Subsection
31654 \begin_layout Standard
31655 このメニュー項目は、使用中の文書が他の文書、すなわちこの文書の「親」にインクルードされているときのみ表示されます(このトピックについての詳細は、取扱説明書『
31663 」の節をご覧下さい。この項目を使用すると、子文書からその親文書を見ることができるようになります。つまり、ある書籍の一章分である子文書で作業をしている場合、
31674 \begin_layout Standard
31675 この機能で使用される形式は、文書設定(
31677 文書\SpecialChar \menuseparator
31678 設定\SpecialChar \menuseparator
31679 出力\SpecialChar \menuseparator
31683 \begin_inset CommandInset ref
31685 reference "sub:出力ファイル形式"
31691 ツール\SpecialChar \menuseparator
31692 設定\SpecialChar \menuseparator
31693 ファイル処理\SpecialChar \menuseparator
31694 ファイル形式\SpecialChar \menuseparator
31698 \begin_inset CommandInset ref
31700 reference "sec:ファイル形式"
31704 章参照 )指定された既定出力書式です。
31707 \begin_layout Subsection
31711 \begin_layout Standard
31712 このメニュー項目は、使用中の文書が他の文書、すなわちこの文書の「親」にインクルードされているときのみ表示されます(このトピックについての詳細は、取扱説明書『
31720 」の節をご覧下さい。この項目を使用すると、子文書からその親文書に切り替えることなしに、その表示を更新します。
31723 \begin_layout Standard
31724 この機能で使用される形式は、文書設定(
31726 文書\SpecialChar \menuseparator
31727 設定\SpecialChar \menuseparator
31728 出力\SpecialChar \menuseparator
31732 \begin_inset CommandInset ref
31734 reference "sub:出力ファイル形式"
31740 ツール\SpecialChar \menuseparator
31741 設定\SpecialChar \menuseparator
31742 ファイル処理\SpecialChar \menuseparator
31743 ファイル形式\SpecialChar \menuseparator
31747 \begin_inset CommandInset ref
31749 reference "sec:ファイル形式"
31753 章参照 )指定された既定出力書式です。
31756 \begin_layout Subsection
31760 \begin_layout Standard
31761 現在の文書を圧縮したり解凍したりします。
31764 \begin_layout Subsection
31768 \begin_layout Standard
31770 \begin_inset CommandInset ref
31772 reference "cha:文書設定"
31779 \begin_layout Section
31781 \begin_inset Index idx
31784 \begin_layout Plain Layout
31785 めにゅー@メニュー ! つーる@ツール
31793 \begin_layout Subsection
31797 \begin_layout Standard
31799 \begin_inset CommandInset ref
31801 reference "sec:スペルチェック"
31808 \begin_layout Subsection
31812 \begin_layout Standard
31814 \begin_inset CommandInset ref
31816 reference "sec:類語辞典"
31823 \begin_layout Subsection
31825 \begin_inset Index idx
31828 \begin_layout Plain Layout
31835 \begin_inset Index idx
31838 \begin_layout Plain Layout
31847 \begin_layout Standard
31848 現在の文書あるいは選択部分の単語数および文字数を勘定します。
31851 \begin_layout Subsection
31856 \begin_layout Plain Layout
31864 \begin_inset Index idx
31867 \begin_layout Plain Layout
31876 \begin_layout Standard
31881 プログラムの補助を借りて、潜在しているLaTeXエラーを検出したログを生成し、ダイアログ中に表示します。本機能はWindowsでは利用できません。
31884 \begin_layout Subsection
31889 \begin_layout Plain Layout
31897 \begin_inset Index idx
31900 \begin_layout Plain Layout
31909 \begin_layout Standard
31910 お使いのLaTeXシステムに導入されているクラスとスタイルの一覧を表示します。
31914 オプションを使用すると、完全ファイルパスを表示することができます。
31917 \begin_layout Subsection
31919 \begin_inset Index idx
31922 \begin_layout Plain Layout
31931 \begin_layout Standard
31933 \begin_inset CommandInset ref
31935 reference "sec:文書比較"
31939 節に述べられているように、LyXファイルの比較を行うダイアログを開きます。
31942 \begin_layout Subsection
31946 \begin_layout Standard
31947 \begin_inset Index idx
31950 \begin_layout Plain Layout
31951 Lyx@LyX ! のかんきょうこうせい@------の環境構成
31956 このメニュー項目はLyXの環境設定をし直します。すなわち、LyXに必要なLaTeXパッケージとプログラムを検索します。第
31957 \begin_inset CommandInset ref
31959 reference "sec:LyXの基本設定"
31966 \begin_layout Subsection
31970 \begin_layout Standard
31972 \begin_inset CommandInset ref
31974 reference "cha:設定ダイアログ"
31981 \begin_layout Section
31983 \begin_inset Index idx
31986 \begin_layout Plain Layout
31987 めにゅー@メニュー ! へるぷ@ヘルプ
31995 \begin_layout Standard
31996 このメニューは、LyXメニューと同じ言語で、LyXの取扱説明書ファイルを開きます。
31999 \begin_layout Standard
32004 メニューは、LyXが検知したLaTeXパッケージおよびクラスの情報を含んだLyX文書を表示します(第
32005 \begin_inset CommandInset ref
32007 reference "sec:LaTeXの設定"
32014 \begin_layout Standard
32021 \begin_layout Plain Layout
32030 メニューは、お使いのLyXのバージョン、著作権、著作者についての情報を表示します。
32033 \begin_layout Section
32035 \begin_inset CommandInset label
32044 \begin_layout Standard
32045 ツールバーの表示・非表示のしかたに関しては、第
32046 \begin_inset CommandInset ref
32048 reference "sub:ツールバー"
32055 \begin_layout Standard
32056 また、カスタム・ツールバーを定義することも可能です。この点は、取扱説明書『
32063 \begin_layout Subsection
32065 \begin_inset Index idx
32068 \begin_layout Plain Layout
32069 つーるばー@ツールバー ! ひょうじゅん@標準------
32077 \begin_layout Standard
32078 \begin_inset Graphics
32079 filename clipart/StandardToolbar.png
32085 \begin_inset VSpace defskip
32091 \begin_layout Standard
32092 上掲の標準ツールバーは、左から右に向かって以下の各ボタンを含んでいます。
32096 \begin_layout Plain Layout
32108 \begin_inset Note Note
32111 \begin_layout Plain Layout
32112 これは、以下の長尺表で左揃えにするために必要です。詳しくは、取扱説明書『
32122 \begin_inset VSpace defskip
32126 \begin_inset Tabular
32127 <lyxtabular version="3" rows="1" columns="2">
32128 <features rotate="0" islongtable="true" longtabularalignment="center">
32129 <column alignment="center" valignment="top" width="0pt">
32130 <column alignment="center" valignment="top">
32132 <cell alignment="center" valignment="top" usebox="none">
32135 \begin_layout Plain Layout
32136 \begin_inset Graphics
32137 filename clipart/ToolbarEnvBox.png
32146 <cell alignment="center" valignment="top" usebox="none">
32149 \begin_layout Plain Layout
32161 \begin_inset VSpace -10mm
32165 \begin_inset Tabular
32166 <lyxtabular version="3" rows="22" columns="2">
32167 <features rotate="0" islongtable="true" longtabularalignment="center">
32168 <column alignment="left" valignment="top">
32169 <column alignment="left" valignment="top">
32170 <row interlinespace="2.5mm">
32171 <cell alignment="center" valignment="top" usebox="none">
32174 \begin_layout Plain Layout
32187 <cell alignment="center" valignment="top" usebox="none">
32190 \begin_layout Plain Layout
32193 ファイル\SpecialChar \menuseparator
32200 <row interlinespace="2.5mm">
32201 <cell alignment="center" valignment="top" usebox="none">
32204 \begin_layout Plain Layout
32217 <cell alignment="center" valignment="top" usebox="none">
32220 \begin_layout Plain Layout
32223 ファイル\SpecialChar \menuseparator
32230 <row interlinespace="2.5mm">
32231 <cell alignment="center" valignment="top" usebox="none">
32234 \begin_layout Plain Layout
32247 <cell alignment="center" valignment="top" usebox="none">
32250 \begin_layout Plain Layout
32253 ファイル\SpecialChar \menuseparator
32260 <row interlinespace="2.5mm">
32261 <cell alignment="center" valignment="top" usebox="none">
32264 \begin_layout Plain Layout
32269 arg "dialog-show print"
32277 <cell alignment="center" valignment="top" usebox="none">
32280 \begin_layout Plain Layout
32283 ファイル\SpecialChar \menuseparator
32290 <row interlinespace="2.5mm">
32291 <cell alignment="center" valignment="top" usebox="none">
32294 \begin_layout Plain Layout
32299 arg "dialog-show spellchecker"
32307 <cell alignment="center" valignment="top" usebox="none">
32310 \begin_layout Plain Layout
32313 ツール\SpecialChar \menuseparator
32320 <row interlinespace="2.5mm">
32321 <cell alignment="center" valignment="top" usebox="none">
32324 \begin_layout Plain Layout
32337 <cell alignment="center" valignment="top" usebox="none">
32340 \begin_layout Plain Layout
32343 編集\SpecialChar \menuseparator
32350 <row interlinespace="2.5mm">
32351 <cell alignment="center" valignment="top" usebox="none">
32354 \begin_layout Plain Layout
32367 <cell alignment="center" valignment="top" usebox="none">
32370 \begin_layout Plain Layout
32373 編集\SpecialChar \menuseparator
32380 <row interlinespace="2.5mm">
32381 <cell alignment="center" valignment="top" usebox="none">
32384 \begin_layout Plain Layout
32397 <cell alignment="center" valignment="top" usebox="none">
32400 \begin_layout Plain Layout
32403 編集\SpecialChar \menuseparator
32410 <row interlinespace="2.5mm">
32411 <cell alignment="center" valignment="top" usebox="none">
32414 \begin_layout Plain Layout
32427 <cell alignment="center" valignment="top" usebox="none">
32430 \begin_layout Plain Layout
32433 編集\SpecialChar \menuseparator
32440 <row interlinespace="2.5mm">
32441 <cell alignment="center" valignment="top" usebox="none">
32444 \begin_layout Plain Layout
32457 <cell alignment="center" valignment="top" usebox="none">
32460 \begin_layout Plain Layout
32463 編集\SpecialChar \menuseparator
32470 <row interlinespace="2.5mm">
32471 <cell alignment="center" valignment="top" usebox="none">
32474 \begin_layout Plain Layout
32479 arg "dialog-show findreplace"
32487 <cell alignment="center" valignment="top" usebox="none">
32490 \begin_layout Plain Layout
32493 編集\SpecialChar \menuseparator
32495 \begin_inset space \thinspace{}
32504 <row interlinespace="2.5mm">
32505 <cell alignment="center" valignment="top" usebox="none">
32508 \begin_layout Plain Layout
32511 arg "dialog-toggle findreplaceadv"
32519 <cell alignment="center" valignment="top" usebox="none">
32522 \begin_layout Plain Layout
32525 編集\SpecialChar \menuseparator
32527 \begin_inset space \thinspace{}
32536 <row interlinespace="2.5mm">
32537 <cell alignment="center" valignment="top" usebox="none">
32540 \begin_layout Plain Layout
32545 arg "bookmark-goto 0"
32553 <cell alignment="center" valignment="top" usebox="none">
32556 \begin_layout Plain Layout
32559 移動\SpecialChar \menuseparator
32560 しおり\SpecialChar \menuseparator
32567 <row interlinespace="2.5mm">
32568 <cell alignment="center" valignment="top" usebox="none">
32571 \begin_layout Plain Layout
32584 <cell alignment="center" valignment="top" usebox="none">
32587 \begin_layout Plain Layout
32590 編集\SpecialChar \menuseparator
32591 文字様式\SpecialChar \menuseparator
32600 <row interlinespace="2.5mm">
32601 <cell alignment="center" valignment="top" usebox="none">
32604 \begin_layout Plain Layout
32617 <cell alignment="center" valignment="top" usebox="none">
32620 \begin_layout Plain Layout
32623 編集\SpecialChar \menuseparator
32624 文字様式\SpecialChar \menuseparator
32633 <row interlinespace="2.5mm">
32634 <cell alignment="center" valignment="top" usebox="none">
32637 \begin_layout Plain Layout
32642 arg "textstyle-apply"
32650 <cell alignment="center" valignment="top" usebox="none">
32653 \begin_layout Plain Layout
32656 編集\SpecialChar \menuseparator
32657 文字様式\SpecialChar \menuseparator
32666 <row interlinespace="2.5mm">
32667 <cell alignment="center" valignment="top" usebox="none">
32670 \begin_layout Plain Layout
32683 <cell alignment="center" valignment="top" usebox="none">
32686 \begin_layout Plain Layout
32689 挿入\SpecialChar \menuseparator
32690 数式\SpecialChar \menuseparator
32697 <row interlinespace="2.5mm">
32698 <cell alignment="center" valignment="top" usebox="none">
32701 \begin_layout Plain Layout
32706 arg "dialog-show-new-inset graphics"
32714 <cell alignment="center" valignment="top" usebox="none">
32717 \begin_layout Plain Layout
32720 挿入\SpecialChar \menuseparator
32727 <row interlinespace="2.5mm">
32728 <cell alignment="center" valignment="top" usebox="none">
32731 \begin_layout Plain Layout
32734 arg "tabular-insert"
32742 <cell alignment="center" valignment="top" usebox="none">
32745 \begin_layout Plain Layout
32748 挿入\SpecialChar \menuseparator
32755 <row interlinespace="2.5mm">
32756 <cell alignment="center" valignment="top" usebox="none">
32759 \begin_layout Plain Layout
32764 arg "dialog-toggle toc"
32772 <cell alignment="center" valignment="top" usebox="none">
32775 \begin_layout Plain Layout
32778 表示\SpecialChar \menuseparator
32787 <row interlinespace="2.5mm">
32788 <cell alignment="center" valignment="top" usebox="none">
32791 \begin_layout Plain Layout
32796 arg "toolbar-toggle math"
32804 <cell alignment="center" valignment="top" usebox="none">
32807 \begin_layout Plain Layout
32814 <row interlinespace="2.5mm">
32815 <cell alignment="center" valignment="top" usebox="none">
32818 \begin_layout Plain Layout
32823 arg "toolbar-toggle table"
32831 <cell alignment="center" valignment="top" usebox="none">
32834 \begin_layout Plain Layout
32848 \begin_layout Subsection
32850 \begin_inset Index idx
32853 \begin_layout Plain Layout
32854 つーるばー@ツールバー ! ついか@追加------
32862 \begin_layout Standard
32863 \begin_inset Graphics
32864 filename ../clipart/ExtraToolbar.png
32870 \begin_inset VSpace defskip
32876 \begin_layout Standard
32877 上掲の追加ツールバーは、左から右に向かって以下の各ボタンを含んでいます。
32878 \begin_inset VSpace defskip
32882 \begin_inset Tabular
32883 <lyxtabular version="3" rows="25" columns="2">
32884 <features rotate="0" islongtable="true" longtabularalignment="center">
32885 <column alignment="left" valignment="top">
32886 <column alignment="left" valignment="top">
32887 <row interlinespace="2.5mm">
32888 <cell alignment="center" valignment="top" usebox="none">
32891 \begin_layout Plain Layout
32904 <cell alignment="center" valignment="top" usebox="none">
32907 \begin_layout Plain Layout
32914 <row interlinespace="2.5mm">
32915 <cell alignment="center" valignment="top" usebox="none">
32918 \begin_layout Plain Layout
32923 arg "layout Enumerate"
32931 <cell alignment="center" valignment="top" usebox="none">
32934 \begin_layout Plain Layout
32941 <row interlinespace="2.5mm">
32942 <cell alignment="center" valignment="top" usebox="none">
32945 \begin_layout Plain Layout
32950 arg "layout Itemize"
32958 <cell alignment="center" valignment="top" usebox="none">
32961 \begin_layout Plain Layout
32968 <row interlinespace="2.5mm">
32969 <cell alignment="center" valignment="top" usebox="none">
32972 \begin_layout Plain Layout
32985 <cell alignment="center" valignment="top" usebox="none">
32988 \begin_layout Plain Layout
32995 <row interlinespace="2.5mm">
32996 <cell alignment="center" valignment="top" usebox="none">
32999 \begin_layout Plain Layout
33004 arg "layout Description"
33012 <cell alignment="center" valignment="top" usebox="none">
33015 \begin_layout Plain Layout
33022 <row interlinespace="2.5mm">
33023 <cell alignment="center" valignment="top" usebox="none">
33026 \begin_layout Plain Layout
33031 arg "depth-increment"
33039 <cell alignment="center" valignment="top" usebox="none">
33042 \begin_layout Plain Layout
33045 編集\SpecialChar \menuseparator
33052 <row interlinespace="2.5mm">
33053 <cell alignment="center" valignment="top" usebox="none">
33056 \begin_layout Plain Layout
33061 arg "depth-decrement"
33069 <cell alignment="center" valignment="top" usebox="none">
33072 \begin_layout Plain Layout
33075 編集\SpecialChar \menuseparator
33082 <row interlinespace="2.5mm">
33083 <cell alignment="center" valignment="top" usebox="none">
33086 \begin_layout Plain Layout
33091 arg "float-insert figure"
33099 <cell alignment="center" valignment="top" usebox="none">
33102 \begin_layout Plain Layout
33105 挿入\SpecialChar \menuseparator
33106 フロート\SpecialChar \menuseparator
33113 <row interlinespace="2.5mm">
33114 <cell alignment="center" valignment="top" usebox="none">
33117 \begin_layout Plain Layout
33122 arg "float-insert table"
33130 <cell alignment="center" valignment="top" usebox="none">
33133 \begin_layout Plain Layout
33136 挿入\SpecialChar \menuseparator
33137 フロート\SpecialChar \menuseparator
33144 <row interlinespace="2.5mm">
33145 <cell alignment="center" valignment="top" usebox="none">
33148 \begin_layout Plain Layout
33161 <cell alignment="center" valignment="top" usebox="none">
33164 \begin_layout Plain Layout
33167 挿入\SpecialChar \menuseparator
33174 <row interlinespace="2.5mm">
33175 <cell alignment="center" valignment="top" usebox="none">
33178 \begin_layout Plain Layout
33183 arg "dialog-show-new-inset ref"
33191 <cell alignment="center" valignment="top" usebox="none">
33194 \begin_layout Plain Layout
33197 挿入\SpecialChar \menuseparator
33204 <row interlinespace="2.5mm">
33205 <cell alignment="center" valignment="top" usebox="none">
33208 \begin_layout Plain Layout
33213 arg "dialog-show-new-inset citation"
33221 <cell alignment="center" valignment="top" usebox="none">
33224 \begin_layout Plain Layout
33227 挿入\SpecialChar \menuseparator
33234 <row interlinespace="2.5mm">
33235 <cell alignment="center" valignment="top" usebox="none">
33238 \begin_layout Plain Layout
33251 <cell alignment="center" valignment="top" usebox="none">
33254 \begin_layout Plain Layout
33257 挿入\SpecialChar \menuseparator
33264 <row interlinespace="2.5mm">
33265 <cell alignment="center" valignment="top" usebox="none">
33268 \begin_layout Plain Layout
33273 arg "nomencl-insert"
33281 <cell alignment="center" valignment="top" usebox="none">
33284 \begin_layout Plain Layout
33287 挿入\SpecialChar \menuseparator
33294 <row interlinespace="2.5mm">
33295 <cell alignment="center" valignment="top" usebox="none">
33298 \begin_layout Plain Layout
33303 arg "footnote-insert"
33311 <cell alignment="center" valignment="top" usebox="none">
33314 \begin_layout Plain Layout
33317 挿入\SpecialChar \menuseparator
33324 <row interlinespace="2.5mm">
33325 <cell alignment="center" valignment="top" usebox="none">
33328 \begin_layout Plain Layout
33333 arg "marginalnote-insert"
33341 <cell alignment="center" valignment="top" usebox="none">
33344 \begin_layout Plain Layout
33347 挿入\SpecialChar \menuseparator
33354 <row interlinespace="2.5mm">
33355 <cell alignment="center" valignment="top" usebox="none">
33358 \begin_layout Plain Layout
33371 <cell alignment="center" valignment="top" usebox="none">
33374 \begin_layout Plain Layout
33377 挿入\SpecialChar \menuseparator
33378 注釈\SpecialChar \menuseparator
33385 \begin_layout Plain Layout
33400 <row interlinespace="2.5mm">
33401 <cell alignment="center" valignment="top" usebox="none">
33404 \begin_layout Plain Layout
33409 arg "box-insert Frameless"
33417 <cell alignment="center" valignment="top" usebox="none">
33420 \begin_layout Plain Layout
33423 挿入\SpecialChar \menuseparator
33430 <row interlinespace="2.5mm">
33431 <cell alignment="center" valignment="top" usebox="none">
33434 \begin_layout Plain Layout
33447 <cell alignment="center" valignment="top" usebox="none">
33450 \begin_layout Plain Layout
33453 挿入\SpecialChar \menuseparator
33460 <row interlinespace="2.5mm">
33461 <cell alignment="center" valignment="top" usebox="none">
33464 \begin_layout Plain Layout
33477 <cell alignment="center" valignment="top" usebox="none">
33480 \begin_layout Plain Layout
33483 挿入\SpecialChar \menuseparator
33490 \begin_layout Plain Layout
33505 <row interlinespace="2.5mm">
33506 <cell alignment="center" valignment="top" usebox="none">
33509 \begin_layout Plain Layout
33514 arg "math-macro newmacroname newcommand"
33522 <cell alignment="center" valignment="top" usebox="none">
33525 \begin_layout Plain Layout
33528 挿入\SpecialChar \menuseparator
33529 数式\SpecialChar \menuseparator
33536 <row interlinespace="2.5mm">
33537 <cell alignment="center" valignment="top" usebox="none">
33540 \begin_layout Plain Layout
33545 arg "dialog-show-new-inset include"
33553 <cell alignment="center" valignment="top" usebox="none">
33556 \begin_layout Plain Layout
33559 挿入\SpecialChar \menuseparator
33560 ファイル\SpecialChar \menuseparator
33567 <row interlinespace="2.5mm">
33568 <cell alignment="center" valignment="top" usebox="none">
33571 \begin_layout Plain Layout
33576 arg "dialog-show character"
33584 <cell alignment="center" valignment="top" usebox="none">
33587 \begin_layout Plain Layout
33590 編集\SpecialChar \menuseparator
33591 文字様式\SpecialChar \menuseparator
33598 <row interlinespace="2.5mm">
33599 <cell alignment="center" valignment="top" usebox="none">
33602 \begin_layout Plain Layout
33607 arg "layout-paragraph"
33615 <cell alignment="center" valignment="top" usebox="none">
33618 \begin_layout Plain Layout
33621 編集\SpecialChar \menuseparator
33628 <row interlinespace="2.5mm">
33629 <cell alignment="center" valignment="top" usebox="none">
33632 \begin_layout Plain Layout
33637 arg "thesaurus-entry"
33645 <cell alignment="center" valignment="top" usebox="none">
33648 \begin_layout Plain Layout
33651 ツール\SpecialChar \menuseparator
33665 \begin_layout Subsection
33667 \begin_inset Index idx
33670 \begin_layout Plain Layout
33671 つーるばー@ツールバー ! ひょうじこうしん@表示/更新------
33679 \begin_layout Standard
33680 \begin_inset Graphics
33681 filename ../clipart/ViewToolbar.png
33688 \begin_layout Standard
33689 \begin_inset VSpace defskip
33695 \begin_layout Standard
33696 上掲の表示/更新ツールバーは、左から右に向かって以下の各ボタンを含んでいます。
33699 \begin_layout Standard
33700 \begin_inset VSpace defskip
33706 \begin_layout Standard
33707 \begin_inset Tabular
33708 <lyxtabular version="3" rows="7" columns="2">
33709 <features rotate="0" islongtable="true" longtabularalignment="center">
33710 <column alignment="left" valignment="top">
33711 <column alignment="left" valignment="top">
33712 <row interlinespace="2.5mm">
33713 <cell alignment="center" valignment="top" usebox="none">
33716 \begin_layout Plain Layout
33729 <cell alignment="center" valignment="top" usebox="none">
33732 \begin_layout Plain Layout
33735 文書\SpecialChar \menuseparator
33742 <row interlinespace="2.5mm">
33743 <cell alignment="center" valignment="top" usebox="none">
33746 \begin_layout Plain Layout
33751 arg "buffer-update"
33759 <cell alignment="center" valignment="top" usebox="none">
33762 \begin_layout Plain Layout
33765 文書\SpecialChar \menuseparator
33772 <row interlinespace="2.5mm">
33773 <cell alignment="center" valignment="top" usebox="none">
33776 \begin_layout Plain Layout
33781 arg "master-buffer-view"
33789 <cell alignment="center" valignment="top" usebox="none">
33792 \begin_layout Plain Layout
33795 文書\SpecialChar \menuseparator
33802 <row interlinespace="2.5mm">
33803 <cell alignment="center" valignment="top" usebox="none">
33806 \begin_layout Plain Layout
33811 arg "master-buffer-update"
33819 <cell alignment="center" valignment="top" usebox="none">
33822 \begin_layout Plain Layout
33825 文書\SpecialChar \menuseparator
33832 <row interlinespace="2.5mm">
33833 <cell alignment="center" valignment="top" usebox="none">
33836 \begin_layout Plain Layout
33841 arg "buffer-toggle-output-sync"
33849 <cell alignment="center" valignment="top" usebox="none">
33852 \begin_layout Plain Layout
33855 文書\SpecialChar \menuseparator
33856 設定\SpecialChar \menuseparator
33857 出力\SpecialChar \menuseparator
33864 <row interlinespace="2.5mm">
33865 <cell alignment="center" valignment="top" usebox="none">
33868 \begin_layout Plain Layout
33869 \begin_inset Graphics
33870 filename ../../images/view-others.png
33872 groupId toolbarbuttons
33881 <cell alignment="center" valignment="top" usebox="none">
33884 \begin_layout Plain Layout
33887 文書\SpecialChar \menuseparator
33894 <row interlinespace="2.5mm">
33895 <cell alignment="center" valignment="top" usebox="none">
33898 \begin_layout Plain Layout
33899 \begin_inset Graphics
33900 filename ../../images/update-others.png
33902 groupId toolbarbuttons
33911 <cell alignment="center" valignment="top" usebox="none">
33914 \begin_layout Plain Layout
33917 文書\SpecialChar \menuseparator
33931 \begin_layout Standard
33932 * これらのアイコンは、既定のアイコンセットを使用していない場合には、表示が異なることがあります。
33935 \begin_layout Subsection
33939 \begin_layout Standard
33941 \begin_inset CommandInset ref
33943 reference "sec:変更追跡機能"
33948 \begin_inset Index idx
33951 \begin_layout Plain Layout
33952 つーるばー@ツールバー ! ひょう@表------
33961 』に説明があります。数式マクロツールバー
33962 \begin_inset Index idx
33965 \begin_layout Plain Layout
33966 つーるばー@ツールバー ! まくろ@マクロ------
33978 \begin_layout Chapter
33980 \begin_inset CommandInset label
33987 \begin_inset Index idx
33990 \begin_layout Plain Layout
33991 ふんしよ@文書!せってい@------設定
33999 \begin_layout Standard
34000 文書設定ダイアログには、文書全体の特性を設定する下位メニューがあり、
34002 文書\SpecialChar \menuseparator
34005 メニューで呼び出せます。ダイアログ中の
34009 ボタンを押せば、好みの文書設定を既定値として保存することができます。こうすると、
34013 という名前のひな型が生成されて、ひな型を使用せずに新規ファイルを作ると、LyXがこのファイルを自動的に読み込むようになります。
34016 \begin_layout Standard
34021 というボタンを押すと、文書設定が、現文書クラスの既定値にリセットされます。この操作は、なかんずくクラスオプションやページレイアウト、連番、目次に作用します。
34024 \begin_layout Standard
34025 ダイアログ中の下位メニューをそれぞれ以下に説明します。たくさんの文書設定があるので、探している設定項目を探すのに時間がかかるかもしれません。設定項目を素早く見つ
34026 けるには、ダイアログの下位メニューの上にある検索フィールドを使うと良いでしょう。例えば、「ページ」を検索すると、一部の下位メニューは淡色化されて使用不能になり、
34027 ページ設定を含む下位メニューだけが使用可能になります。検出されたページ設定は、下位メニュー中で赤色にラベル付けされます。
34030 \begin_layout Section
34034 \begin_layout Standard
34035 ここでは、文書クラス・クラスオプション・グラフィックドライバ・親文書を設定することができます。文書クラスに関しては、第
34036 \begin_inset CommandInset ref
34038 reference "sec:文書クラス"
34045 \begin_layout Standard
34054 フォルダにない、したがってLyXが文書クラスのレイアウトとして認識していない自製のレイアウトファイルを読み込ませることができます。レイアウトファイルについての詳
34061 文書クラス・レイアウト・ひな型の新規導入
34066 \begin_layout Standard
34067 クラスによっては、既定で特定のクラスオプションを使うものがあります。その場合には、
34071 フィールドにこれらのクラスオプションが提示され、それらを使うかどうか決めることができます。既定のクラスオプションが何を意味するのか正確に理解していない場合には、
34072 いじらないことをお勧めします。グラフィックドライバは、LaTeXのcolorおよびgraphicsパッケージと、ページレイアウトパッケージに使用されます。
34076 を選ぶと、LaTeXパッケージの既定ドライバが使用されます。よくわからないうちは、既定値を使用することをお勧めします。
34080 \begin_layout Plain Layout
34110 \begin_inset Newline newline
34113 のいずれかのドライバを使用したい場合には、まずお使いのLaTeX頒布版でこれらを有効にしなくてはなりません。
34114 \begin_inset CommandInset href
34116 target "http://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
34132 \begin_layout Standard
34133 使用中の文書が、子文書ないし下位文書である場合には、親文書を指定することが必要です。親文書を開かずに子文書が開かれた場合、LyXはここで指定した親文書を使用しま
34134 す。親文書・子文書に関して、詳しくは、取扱説明書『
34145 \begin_layout Standard
34146 また、日付を抑制したり、相互参照用のLaTeXパッケージに
34151 \begin_inset Index idx
34154 \begin_layout Plain Layout
34155 latexはつけじ@LaTeXパッケージ! prettyref
34161 \begin_inset Index idx
34164 \begin_layout Plain Layout
34165 latexはつけじ@LaTeXパッケージ ! refstyle
34175 \begin_inset CommandInset ref
34177 reference "sec:相互参照"
34184 \begin_layout Section
34188 \begin_layout Standard
34189 この細目メニューは、文書中に子文書があるときにのみ表示されます。詳細については、取扱説明書『
34200 \begin_layout Section
34204 \begin_layout Standard
34206 \begin_inset CommandInset ref
34208 reference "sub:モジュール"
34215 \begin_layout Section
34219 \begin_layout Standard
34221 \begin_inset CommandInset ref
34223 reference "sub:ローカルレイアウト"
34230 \begin_layout Section
34234 \begin_layout Standard
34236 \begin_inset CommandInset ref
34238 reference "sec:フォントと文字様式"
34245 \begin_layout Section
34249 \begin_layout Standard
34250 段落を字下げで区切るか行間を広げて区切るかを指定することができます。また、行間と本文の段組数もここで指定することができます。また、文章がLyX中で整形されて表示
34251 するようにするかどうか決めることができます。これは、出力中で文章が整形されるかどうかを決めるのではないことに注意してください。
34254 \begin_layout Standard
34255 LyXは、二段組や行間を画面には反映しないことに注意してください。これは実用的ではなく、しばしば読み辛い上に、WYSIWYMの概念に反するのです。しかし、出力に
34256 おいては指定したとおりに反映されます。
34259 \begin_layout Standard
34260 LyX作業域で整形を行うオプションを使うと、LyX画面上で文を整形するかどうか指定することができます。これは、LyX内部の文にのみ影響し,出力には影響しません。
34263 \begin_layout Section
34267 \begin_layout Standard
34269 \begin_inset CommandInset ref
34271 reference "sub:用紙寸法と方向"
34276 \begin_inset CommandInset ref
34278 reference "sub:文書レイアウト"
34285 \begin_layout Section
34289 \begin_layout Standard
34290 ここでは、用紙の余白を調整することができます。第
34291 \begin_inset CommandInset ref
34300 \begin_layout Section
34302 \begin_inset CommandInset label
34309 \begin_inset Index idx
34312 \begin_layout Plain Layout
34313 げんご@言語 ! もじこーど@文字コード
34321 \begin_layout Standard
34322 文書言語と引用形式がここで設定できます。文字コードは、文書の内容がどのようにLaTeXに書き出されるかを指定します(LyXファイルはつねにUTF-8でコード化さ
34323 れています)。指定された文字コードにコード化できない文字は、すべてLaTeXコマンドとして書き出されます(LaTeXコマンドが対応していない文字がある場合には失
34327 \begin_layout Standard
34332 オプションを選択すると、本文の言語から本文部分の文字コードを決定します。このとき、文書が二つ以上の言語を含んでいると、LaTeXファイルに二つ以上の文字コードを
34333 含ませることになるかもしれません。このオプションを使用しないときには、文書全体はつねに一つの文字コードだけを使用することになります。このオプションを有効にするの
34337 \begin_layout Standard
34338 LyXは、Unicodeでの出力もサポートしているので、たくさんの特別な記号やアルファベット以外の文字が必要なときに、特に便利です。これを利用したい(そしてお使
34339 いのLaTeXシステムがUnicodeをサポートしている)場合には、以下の一覧から、四つのutf8関連選択肢のうち一つを選んでください。残念ながら、標準LaTe
34340 XのUnicodeサポートははなはだ不完全であるため、たくさんのUnicode記号を含むファイルが、
34344 の文字コードで動くものの(このとき、LyXは既知のLaTeXコマンド一覧を使用します)、utf8文字コード固定では動かないということは、珍しいことではありません
34345 (このとき、LyXは既知のLaTeXコマンド一覧を使用しません。なぜならUnicode記号はすべてutf8でコード化できるからです)。標準的LaTeXの代替的エ
34346 ンジンたるXeTeXやLuaTeXでは、状況はもっと良くなっています。どちらのエンジンもUnicodeをネイティブにサポートしており、LyXも現在(出力形式
34349 \begin_inset space ~
34356 \begin_layout Plain Layout
34368 \begin_inset space ~
34375 \begin_layout Plain Layout
34387 \begin_inset space ~
34394 \begin_layout Plain Layout
34403 を通じて)これらのエンジンをサポートしています。第
34404 \begin_inset CommandInset ref
34406 reference "sub:出力ファイル形式"
34410 節を参照してください。仮に上記のオプションがうまく動かない場合には、これらの新しいエンジンを試すと良いかもしれません。
34413 \begin_layout Standard
34418 では、ハイフネーションと「第〜部」のような文字列の翻訳に使用されるLaTeXパッケージを指定します。使用できる設定は以下のとおりです。
34421 \begin_layout Description
34424 ツール\SpecialChar \menuseparator
34425 設定\SpecialChar \menuseparator
34428 で選択された言語パッケージを使用します(第
34429 \begin_inset CommandInset ref
34431 reference "sub:言語設定"
34438 \begin_layout Description
34439 自動 使おうとしている閲覧形式ないし書き出し形式に最も適した言語パッケージを選択します。多くの場合、これは
34444 \begin_inset Index idx
34447 \begin_layout Plain Layout
34448 latexはつけじ@LaTeXパッケージ ! babel
34458 \begin_inset Index idx
34461 \begin_layout Plain Layout
34462 latexはつけじ@LaTeXパッケージ ! polyglossia
34467 の方が適当であれば(XeTeXや非TeXフォントを使用している場合など)、
34471 の代わりにこちらのパッケージが使用されます。
34474 \begin_layout Description
34486 \begin_layout Description
34487 ユーザ設定 自分で選択した言語パッケージを指定することができます。例えば、
34491 (ドイツ語文用)のような言語依存パッケージを使用したい場合には、
34494 \begin_inset Newline newline
34499 usepackage{ngerman}
34500 \begin_inset Newline newline
34508 \begin_layout Description
34509 なし 言語パッケージを使用しません。科学論文用文書クラスの一部には、このように指定する必要のあるものがあります。
34512 \begin_layout Standard
34516 \begin_layout Description
34517 LaTeX既定値(inputenc不使用) 文字コードに
34526 \begin_inset Index idx
34529 \begin_layout Plain Layout
34530 latexはつけじ@LaTeXパッケージ ! inputenc
34535 LaTeXパッケージは使用されません。そのため、これを使用するときには、プリアンブルに他の適当なパッケージを読み込んで、外国語で書かれている部分の文字コードを
34536 TeXコードで指定する必要があるでしょう。
34539 \begin_layout Description
34540 ASCII ASCII文字コード。通常の英語(7ビットASCII)しかカバーしていません。LyXはそれ以外の文字をすべてLaTeXコマンドに変換するので、多量の
34541 LaTeXコマンドが必要な場合には、ファイルが大きくなる可能性があります。
34544 \begin_layout Description
34546 \begin_inset space ~
34549 1256) アラビア語及びペルシア語用MS Windowsコードページ
34552 \begin_layout Description
34554 \begin_inset space ~
34557 8859-6) アラビア語及びペルシア語用
34560 \begin_layout Description
34561 アルメニア語(ArmSCII8) アルメニア語用
34564 \begin_layout Description
34566 \begin_inset space ~
34569 1251) キリル文字用MS Windowsコードページ
34572 \begin_layout Description
34573 キリル文字(KOI8-R) 標準キリル文字。特にロシア語向け。
34576 \begin_layout Description
34577 キリル文字(KOI8-U) ウクライナ語用キリル文字
34580 \begin_layout Description
34582 \begin_inset space ~
34588 \begin_layout Description
34590 \begin_inset space ~
34596 \begin_layout Description
34598 \begin_inset space ~
34604 \begin_layout Description
34606 \begin_inset space ~
34609 8859-9) (latin 5)トルコ語用。ISO-8859-1に近いが、アイスランド文字をトルコ語に置き換えてある。
34612 \begin_layout Description
34614 \begin_inset space ~
34617 1257) エストニア語・ラトビア語・リトアニア語用MS Windowsコードページ。ISO-8859-13文字コードと同等。
34620 \begin_layout Description
34622 \begin_inset space ~
34625 8859-13) エストニア語・ラトビア語・リトアニア語用。ISO-8859-4文字コードの上位集合。
34628 \begin_layout Description
34630 \begin_inset space ~
34633 8859-4) (latin 4)エストニア語・ラトビア語・リトアニア語用。ISO-8859-13文字コードの下位集合。
34636 \begin_layout Description
34638 \begin_inset space ~
34641 1255) ヘブライ語用MS Windowsコードページ。ISO-8859-8文字コードの上位集合。
34644 \begin_layout Description
34646 \begin_inset space ~
34652 \begin_layout Description
34658 \begin_inset Index idx
34661 \begin_layout Plain Layout
34662 latexはつけじ@LaTeXパッケージ ! CJK
34667 LaTeXパッケージ(日中韓言語用)を使用したUnicode utf8
34670 \begin_layout Description
34671 ユニコード(XeTeX)(utf8) Unicodeを直接使用する
34679 とともに使用することを意図したUnicode utf8。LaTeXパッケージ
34683 は援用しません。XeTeXやLuaTeXを書き出したりプレビューしたりすると、LyXは自動的にこのエンコーディングを選択します。通常、このエンコーディングを手動
34687 \begin_layout Description
34688 ユニコード(UCS拡張版)(utf8x)
34693 \begin_inset Index idx
34696 \begin_layout Plain Layout
34697 latexはつけじ@LaTeXパッケージ ! ucs
34702 LaTeXパッケージに基づいたUnicode utf8(包括的。ラテン文字・ギリシャ文字・キリル文字・日中韓文字を含む)。
34705 \begin_layout Description
34711 \begin_inset Index idx
34714 \begin_layout Plain Layout
34715 latexはつけじ@LaTeXパッケージ ! inputenc
34720 LaTeXパッケージに基づいたUnicode utf8。いまのところ、限られた文字範囲(主にラテン文字)しかサポートしていません。
34723 \begin_layout Description
34724 中国語(簡体字)(EUC-CN) 簡体字中国語用。ユーロ貨幣記号を除いては、WindowsコードページCP936と同じ。2001年以降、この文字コードは、正式に
34725 文字コードGB18030に取って代わられました。GB18030はLaTeXでは使用できないため、Unicode(CJK)(utf8)を使用するようにしてください
34729 \begin_layout Description
34730 中国語(簡体字)(GBK) 簡体字中国語用。特にUNIX OS向け。2001年以降、この文字コードは、正式に文字コードGB18030に取って代わられました。GB
34731 18030はLaTeXでは使用できないため、Unicode(CJK)(utf8)を使用するようにしてください。
34734 \begin_layout Description
34735 中国語(繁体字)(EUC-TW) 繁体字中国語用。
34738 \begin_layout Description
34740 \begin_inset space ~
34744 \begin_inset space ~
34747 8859-2用のMS Windowsコードページ(latin 2)
34750 \begin_layout Description
34752 \begin_inset space ~
34755 8859-2) (latin 2)アルバニア語・クロアチア語・チェコ語・ドイツ語・ハンガリー語・ポーランド語・ルーマニア語・スロバキア語・スロベニア語を収録
34758 \begin_layout Description
34760 \begin_inset space ~
34763 8859-3) (latin 3)エスペラント語・ガリシア語・マルタ語・トルコ語を収録。
34766 \begin_layout Description
34768 \begin_inset space ~
34771 8859-16) (latin 10)アルバニア語・クロアチア語・フィンランド語・フランス語・ドイツ語・ハンガリー語・アイルランドゲール語・イタリア語・ポーラン
34772 ド語・ルーマニア語・スロベニア語を含む。区分的発音符を持つ文字と言語の多くを収録。
34775 \begin_layout Description
34776 日本語(CJK)(EUC-JP) 日本語用EUC-JP文字コード。LaTeXパッケージ
34781 \begin_inset Index idx
34784 \begin_layout Plain Layout
34785 latexはつけじ@LaTeXパッケージ ! CJK
34790 を使用。これを使用する際には、文書言語を
34797 \begin_layout Description
34798 日本語(CJK)(JIS) 日本語用JIS文字コード。LaTeXパッケージ
34802 を使用。これを使用する際には、文書言語を
34809 \begin_layout Description
34810 日本語(CJK不使用)(EUC-JP) 日本語用EUC-JP文字コード。LaTeXパッケージ
34815 \begin_inset Index idx
34818 \begin_layout Plain Layout
34819 latexはつけじ@LaTeXパッケージ ! japanese
34824 を使用。これを使用する際には、文書言語を
34831 \begin_layout Description
34832 日本語(CJK不使用)(JIS) 日本語用JIS文字コード。LaTeXパッケージ
34836 を使用。これを使用する際には、文書言語を
34843 \begin_layout Description
34844 日本語(CJK不使用)(SJIS) 日本語用SJIS文字コード。LaTeXパッケージ
34849 \begin_inset Index idx
34852 \begin_layout Plain Layout
34853 latexはつけじ@LaTeXパッケージ ! japanese
34858 を使用。これを使用する際には、文書言語を
34865 \begin_layout Description
34867 \begin_inset space ~
34870 1252) latin1用MS Windowsコードページ
34873 \begin_layout Description
34875 \begin_inset space ~
34878 8859-1) (latin 1) ISO-8859-1文字コード。アルバニア語・カタロニア語・デンマーク語・オランダ語・英語・フェロー語・フィンランド語・フラ
34879 ンス語・ガリシア語・ドイツ語・アイスランド語・アイルランド語・イタリア語・ノルウェー語・ポルトガル語・スペイン語・スウェーデン語を含む。latin9に移行すべき
34883 \begin_layout Description
34885 \begin_inset space ~
34888 8859-15) (latin 9) ISO-8859-15文字コード。ISO-8859-1文字コードと同様だが、ユーロ記号やœ合字、その他フランス語とフィンラ
34889 ンド語で用いられる文字を含む。latin9はlatin1の後継。
34892 \begin_layout Description
34896 \begin_layout Section
34898 \begin_inset Index idx
34901 \begin_layout Plain Layout
34908 \begin_inset Index idx
34911 \begin_layout Plain Layout
34918 \begin_inset Index idx
34921 \begin_layout Plain Layout
34922 いろ@色 ! かげつきぼっくす@影付きボックス
34928 \begin_inset Index idx
34931 \begin_layout Plain Layout
34932 いろ@色 ! たんしょくひょうじちゅうしゃく@淡色表示注釈
34940 \begin_layout Standard
34949 のフォント色(既定値:それぞれ黒と灰色)と、
34957 の背景色(既定値:それぞれ白と赤)を変更することができます。
34961 ボタンは、色を既定値に戻します。既定値若しくは変更と表示されているボタンを押すと、ダイアログが開いて、色一覧や色選択盤から選択したり、HSL値やRGB値を与えて
34962 色を指定することができます。ダイアログ中では、後ですぐに選択することができるように、任意の色をカスタム色として登録しておくことができます。
34965 \begin_layout Standard
34979 \begin_inset CommandInset ref
34981 reference "sec:PDF特性"
34985 節で述べられているように、リンクフォント色も変更する必要が生じることがありますのでご注意ください。
34988 \begin_layout Standard
34989 \begin_inset VSpace bigskip
34995 \begin_layout Standard
34996 強制改頁の直後に、TeXコードで以下のコマンドを用いると、文書中のページ毎に本文フォント色と頁背景色を変えることができます。
34999 \begin_layout Itemize
35001 \begin_inset Newline newline
35011 \begin_layout Itemize
35013 \begin_inset Newline newline
35023 \begin_layout Standard
35060 のいずれかに限定されます(取扱説明書『
35069 \begin_inset Newline newline
35072 本文色や背景色を変更した場合、これらを次の名称で用いることができます。
35075 \begin_layout Itemize
35077 \begin_inset Newline newline
35082 page_backgroundcolor
35085 \begin_layout Itemize
35087 \begin_inset Newline newline
35095 \begin_layout Itemize
35097 \begin_inset Newline newline
35105 \begin_layout Itemize
35107 \begin_inset Newline newline
35115 \begin_layout Standard
35116 自製の色を定義し使用する方法については、取扱説明書『
35127 \begin_layout Section
35131 \begin_layout Standard
35133 \begin_inset CommandInset ref
35135 reference "sub:番号の付け方-深度"
35139 節に述べられているように、ここでは連番をつける節見出しの階層と、目次内に表示される節の階層を調整することができます。
35142 \begin_layout Section
35146 \begin_layout Standard
35152 \begin_inset Index idx
35155 \begin_layout Plain Layout
35156 latexはつけじ@LaTeXパッケージ ! natbib
35166 \begin_inset Index idx
35169 \begin_layout Plain Layout
35170 latexはつけじ@LaTeXパッケージ ! jurabib
35175 を使用した引用様式を使うかどうかを指定することができます。LaTeXパッケージ
35180 \begin_inset Index idx
35183 \begin_layout Plain Layout
35184 latexはつけじ@LaTeXパッケージ ! bibtopic
35193 を使うこともできるほか、書誌情報の生成に使う処理子を選択することもできます。詳しくは、第
35194 \begin_inset CommandInset ref
35196 reference "sec:書誌情報"
35203 \begin_layout Section
35207 \begin_layout Standard
35208 ここでは、索引の生成に用いる生成子を定義することができるほか、複数の索引を定義することもできます(詳細は第
35209 \begin_inset CommandInset ref
35218 \begin_layout Section
35222 \begin_layout Standard
35224 \begin_inset CommandInset ref
35226 reference "sec:PDF特性"
35233 \begin_layout Section
35237 \begin_layout Standard
35238 これらのオプションは、LaTeXパッケージの
35243 \begin_inset Index idx
35246 \begin_layout Plain Layout
35247 latexはつけじ@LaTeXパッケージ ! amsmath
35257 \begin_inset Index idx
35260 \begin_layout Plain Layout
35261 latexはつけじ@LaTeXパッケージ ! amssymb
35271 \begin_inset Index idx
35274 \begin_layout Plain Layout
35275 latexはつけじ@LaTeXパッケージ ! cancel
35285 \begin_inset Index idx
35288 \begin_layout Plain Layout
35289 latexはつけじ@LaTeXパッケージ ! esint
35299 \begin_inset Index idx
35302 \begin_layout Plain Layout
35303 latexはつけじ@LaTeXパッケージ ! mathdots
35313 \begin_inset Index idx
35316 \begin_layout Plain Layout
35317 latexはつけじ@LaTeXパッケージ ! mathtools
35327 \begin_inset Index idx
35330 \begin_layout Plain Layout
35331 latexはつけじ@LaTeXパッケージ ! mhchem
35341 \begin_inset Index idx
35344 \begin_layout Plain Layout
35345 latexはつけじ@LaTeXパッケージ ! stackrel
35355 \begin_inset Index idx
35358 \begin_layout Plain Layout
35359 latexはつけじ@LaTeXパッケージ ! stmaryrd
35369 \begin_inset Index idx
35372 \begin_layout Plain Layout
35373 latexはつけじ@LaTeXパッケージ ! undertilde
35378 を強制的に使用するようにするか、必要なときにこれらを自動的に使用するようにするかを指定します。
35381 \begin_layout Description
35382 amsmath これは、多くの数式要素に必要とされているので、数式中にLaTeXエラーがでるときには、AMSを有効にしていることを確認してください。
35385 \begin_layout Description
35386 amssymb これは、ボールド体ギリシャ文字やアップライト体ギリシャ文字など、特殊な数学記号に必要です。数式でLaTeXエラーが出る場合には、これが有効になっ
35390 \begin_layout Description
35391 cancel これは、数式の取り消しに使われます。取扱説明書『
35402 \begin_layout Description
35403 esint これは、特別な積分記号に使われます。取扱説明書『
35414 \begin_layout Description
35415 mathdots これは、特殊な省略符号に用いられます。取扱説明書『
35426 \begin_layout Description
35463 の各数式コマンドとラベル付き矢印に使われます。取扱説明書『
35470 \begin_layout Description
35471 mhchem これは、化学式に用いられます。取扱説明書『
35482 \begin_layout Description
35483 stackrel これは、数式コマンド
35500 \begin_layout Description
35501 stmaryrd これは、特殊な数式記号のために用いられます。
35504 \begin_layout Description
35505 undertilde これは、数式コマンド
35515 』の「アクセント」の節をご覧ください。
35518 \begin_layout Section
35522 \begin_layout Standard
35534 \begin_layout Section
35538 \begin_layout Standard
35550 \begin_layout Section
35554 \begin_layout Standard
35559 の列挙に用いる文字を変更したり、それに用いる
35567 を指定することができます。箇条書き(記号)環境は、第
35568 \begin_inset CommandInset ref
35570 reference "sec:箇条書き(記号)"
35577 \begin_layout Standard
35582 欄に欲しい文字のLaTeXコマンドを入力することによって、任意のブリットを指定することができます。例えば、ユーロ記号を用いるには、
35588 コマンドを入力します。数式記号を使うには、さらにコマンドを$記号で囲む必要があります。例えば、
35589 \begin_inset Formula $\circlearrowright$
35598 と入力します。数式記号のコマンドを探すには、数式を作成して、数式ツールバー中の欲しい記号の上にマウスをかざしてください。
35601 \begin_layout Standard
35602 \begin_inset Note Greyedout
35605 \begin_layout Plain Layout
35612 文書\SpecialChar \menuseparator
35613 設定\SpecialChar \menuseparator
35616 メニュー)特別なLaTeXパッケージを読み込む必要があることがあります。例えば、ユーロ記号を入れるには、プリアンブルに
35620 usepackage{textcomp}
35622 という行を追加する必要があります。ほとんどの数式記号は、
35626 usepackage{amssymb}
35636 \begin_layout Section
35640 \begin_layout Standard
35642 \begin_inset CommandInset ref
35644 reference "sec:派生枝"
35651 \begin_layout Section
35653 \begin_inset CommandInset label
35662 \begin_layout Standard
35663 ここでは、以下のように現在の文書の出力の仕方を定義することができます。
35666 \begin_layout Description
35671 メニューやツールバーで「表示」「更新」「親文書を表示」「親文書を更新」を選んだときに使用される形式。既定値は、
35673 ツール\SpecialChar \menuseparator
35674 設定\SpecialChar \menuseparator
35675 ファイル処理\SpecialChar \menuseparator
35679 \begin_inset CommandInset ref
35681 reference "sec:ファイル形式"
35688 \begin_layout Description
35691 移動\SpecialChar \menuseparator
35694 メニュー用の設定。詳細については、取扱説明書『
35705 \begin_layout Description
35706 XHTML出力オプション 書き出し形式
35712 \begin_layout Plain Layout
35724 \begin_inset space ~
35729 は、出力がXHTML標準の第1.1版に忠実に沿うようにします。
35733 のそれぞれの設定については、取扱説明書『
35741 」の節に詳細な解説があります。伸縮は、出力における数式の大きさを調整するのに用いられます。
35744 \begin_layout Section
35749 \begin_layout Plain Layout
35759 \begin_layout Standard
35760 このテキストフィールドには、特別なLaTeXパッケージを読み込むコマンドや、LaTeXコマンドの定義が入れられます。プリアンブルは、LaTeX熟練者向けです。よ
35761 くわからないうちは、ここにコマンドを入れるべきではありません。
35764 \begin_layout Standard
35766 \begin_inset CommandInset ref
35768 reference "sub:LaTeX文法"
35775 \begin_layout Chapter
35777 \begin_inset CommandInset label
35784 \begin_inset Index idx
35787 \begin_layout Plain Layout
35796 \begin_layout Standard
35799 ツール\SpecialChar \menuseparator
35802 メニューで呼び出すことができます。このダイアログには、以下の従属メニューが含まれています。
35805 \begin_layout Section
35809 \begin_layout Subsection
35811 \begin_inset Index idx
35814 \begin_layout Plain Layout
35815 かすたまいず@カスタマイズ!つーるばーの@ツールバーの------
35821 \begin_inset Index idx
35824 \begin_layout Plain Layout
35825 かすたまいず@カスタマイズ!めにゅーの@メニューの------
35833 \begin_layout Subsubsection
35835 \begin_inset Index idx
35838 \begin_layout Plain Layout
35839 かすたまいず@カスタマイズ!つーるばーの@ツールバーの------
35845 \begin_inset Index idx
35848 \begin_layout Plain Layout
35849 かすたまいず@カスタマイズ!めにゅーの@メニューの------
35857 \begin_layout Standard
35858 メニューやツールバーの外観は、操作画面設定(UI)ファイルを選ぶことで、変更することができます。UIファイルは、ツールバーやメニューが列挙してあるテキストファイ
35863 ファイルは以下の3つのファイルを読み込みます。
35866 \begin_layout Description
35867 stdmenus.inc 標準メニュー中のメニュー項目を指定します
35870 \begin_layout Description
35871 stdcontext.inc ポップアップ文脈依存メニューのメニュー項目を指定します
35874 \begin_layout Description
35875 stdtoolbars.inc ツールバーボタンを指定しいます
35878 \begin_layout Standard
35879 ご自身のメニュー及びツールバーレイアウトを作成するには、まずこれらのファイルをコピーして、中の項目を編集してください。
35882 \begin_layout Standard
35899 で明示的に終わらなくてはなりません。これらの中には、
35919 、および「ファイル」メニューの場合には加えて
35923 の各項目が含まれています。各項目の文法は、
35926 \begin_layout Standard
35927 \begin_inset VSpace smallskip*
35933 \begin_inset Quotes eld
35941 \begin_inset Quotes erd
35945 \begin_inset Quotes eld
35949 \begin_inset Quotes erd
35955 \begin_layout Standard
35956 \begin_inset VSpace smallskip*
35963 \SpecialChar \menuseparator
35970 \begin_layout Plain Layout
35980 \begin_inset VSpace medskip
35986 \begin_layout Standard
35989 移動\SpecialChar \menuseparator
35992 メニューをひじょうによく使うので、6つのしおりが欲しいものとしましょう。以下の行
35995 \begin_layout Standard
35996 \begin_inset VSpace smallskip*
36002 \begin_inset Quotes eld
36006 \begin_inset Quotes erd
36010 \begin_inset Quotes eld
36014 \begin_inset Quotes erd
36020 \begin_layout Standard
36021 \begin_inset VSpace smallskip*
36028 ファイルの「navigate_bookmarks」(移動)メニュー部分に書き加えると、しおりが6つになります。
36031 \begin_layout Standard
36036 では、LyXのツールバーの外観を変更することができます。現在使用できるアイコンセットは、
36037 \begin_inset CommandInset href
36040 target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
36047 \begin_layout Subsubsection
36051 \begin_layout Standard
36054 メイン作業領域でツールチップスを有効にする
36056 オプションは、索引項目や脚注などの差込枠で、閉じられているものの中身を表示するツールチップスを有効にします。
36059 \begin_layout Subsubsection
36063 \begin_layout Standard
36070 ファイル\SpecialChar \menuseparator
36073 に表示される直近に開かれたファイルの数です。
36076 \begin_layout Subsection
36080 \begin_layout Subsubsection
36084 \begin_layout Standard
36089 オプションを指定すると、LyXのメインウィンドウは、最後のLyXセッションで用いられていた大きさとレイアウトで開くようになります。
36092 \begin_layout Standard
36097 オプションは、最後にファイル内にカーソルがあった位置にカーソルを配置します。
36100 \begin_layout Standard
36103 最後のセッションで開いていたファイルを読み込む
36105 オプションは、最後のLyXセッションで開かれていたファイル全てを開きます。
36108 \begin_layout Standard
36113 ボタンを押すと、最後のLyXセッションから引き継がれた情報(カーソル位置や最後に開かれていた文書名など)をすべて削除します。
36116 \begin_layout Subsubsection
36118 \begin_inset CommandInset label
36120 name "sub:文書のバックアップ"
36125 \begin_inset Index idx
36128 \begin_layout Plain Layout
36129 ばっくあっぷ@バックアップ ! ふんしよ@文書
36137 \begin_layout Standard
36140 保存する際に元の文書をバックアップする
36142 を有効にすると、ファイルが開かれた時の状態か、最後に保存された時の状態のバックアップコピーを作成します。これはバックアップディレクトリに保存されるか(第
36143 \begin_inset CommandInset ref
36149 節参照)、バックアップディレクトリが指定されていない場合は、使用中の文書と同じフォルダに保存されます。
36152 \begin_layout Standard
36157 オプションを指定すると、バックアップ保存動作の間隔を指定することができます。
36160 \begin_layout Standard
36165 を有効にすると、ファイルは常に圧縮形式で保存されます。
36168 \begin_layout Standard
36175 ファイル\SpecialChar \menuseparator
36178 メニューに表示する最後に開いたファイルの数です。
36181 \begin_layout Subsubsection
36185 \begin_layout Standard
36190 オプションが有効になっていないときには、すべてのファイルは、LyXの新しいインスタンスの中に開かれます。
36193 \begin_layout Standard
36202 \begin_layout Plain Layout
36203 LyXサーバパイプについての情報は、第
36204 \begin_inset CommandInset ref
36215 が指定されているときにのみ、アクティブになります。これが有効の時には、LyX文書は、既に走っているLyXインスタンスの中に開かれるようになります。無効の場合は、
36216 新たなLyXインスタントが、それぞれのファイルごとに生成されます。
36219 \begin_layout Standard
36224 オプションが有効の場合には、タブバーの右端にタブを閉じるためのボタンがひとつだけ(
36227 \begin_inset Graphics
36228 filename ../../images/closetab.png
36235 )現れるようになります。無効の場合には、各文書タブごとに閉ボタンが付きます。
36238 \begin_layout Standard
36239 \begin_inset Note Greyedout
36242 \begin_layout Plain Layout
36247 オプションを有効にするには、変更が効くようになる前に、LyXを再起動する必要があります。
36255 \begin_layout Standard
36262 you one can decide if a document is closed or hidden when its tab or view
36264 Hidden documents are accessible via the menu
36266 View\SpecialChar \menuseparator
36270 Not to close documents can be useful if you open files parallel in several
36271 instances of LyX and only want to close the view in once instance.
36274 \begin_layout Subsection
36276 \begin_inset Index idx
36279 \begin_layout Plain Layout
36280 ふぉんと@フォント!がめん@画面------
36286 \begin_inset CommandInset label
36295 \begin_layout Standard
36296 ここで指定したフォントが、画面上で文書を表示するのに使われます。
36299 \begin_layout Standard
36300 \begin_inset Note Greyedout
36303 \begin_layout Plain Layout
36312 フォントだけを取り扱います。出力に表示されるフォントは、これらのフォントとは違うもので、
36314 文書\SpecialChar \menuseparator
36315 設定\SpecialChar \menuseparator
36326 \begin_layout Standard
36331 フォントをローマン(セリフ)フォントとして用い、
36354 \begin_layout Standard
36362 \begin_layout Standard
36363 フォント寸法は、ポイント単位で測られた文字高で表されます。72.27ポイントが1インチの大きさになります。付録
36364 \begin_inset CommandInset ref
36366 reference "cha:LyXで使用できる単位"
36370 を参照してください。既定のフォント寸法は、文書フォント寸法で10ポイントが使用されたときと同じです。寸法に関しては、第
36371 \begin_inset CommandInset ref
36373 reference "sub:文書フォント"
36380 \begin_layout Standard
36383 フォントレンダリングの速度を向上させるためにPixmapキャッシュを使う
36385 オプションを有効にすると、LyXが画面を再描画する必要が減ります。これによって、特に遅いシステムでは、パフォーマンスが向上します。一方、画面上の文字は少し毛羽立
36386 って見えるかもしれません。したがって、これを有効にするか否かは、スピードをお求めになるか美しさをお求めになるかに依存します。Pixmapキャッシュは、Mac
36387 \begin_inset space ~
36390 OSとWindowsでのみ使うことができ、また意味があることにご注意ください。
36393 \begin_layout Subsection
36395 \begin_inset Index idx
36398 \begin_layout Plain Layout
36399 いろ@色 ! Lyxがめん@LyX画面
36405 \begin_inset Index idx
36408 \begin_layout Plain Layout
36417 \begin_layout Standard
36418 ここでは、LyXが使うすべての色を変更することができます。一覧の中の項目を選んで、
36425 \begin_layout Standard
36430 オプションを有効にすると、お使いのOSないしはウィンドウマネジャの色スキームが使用されます。その場合、
36454 の色は設定できなくなり、一覧に表示されなくなります。
36457 \begin_layout Subsection
36459 \begin_inset Index idx
36462 \begin_layout Plain Layout
36471 \begin_layout Standard
36472 ここでは、LyX内で図がどのように表示されるかを指定できます。
36475 \begin_layout Standard
36480 は、使用中文書の部分プレビューを可能にします。この機能については、第
36481 \begin_inset CommandInset ref
36483 reference "sec:文書の断片プレビュー"
36490 \begin_layout Standard
36495 オプションは、各段落の終わりに段落標(¶)を表示します。
36498 \begin_layout Section
36502 \begin_layout Subsection
36506 \begin_layout Subsubsection
36510 \begin_layout Standard
36515 オプションを有効にすると、スクロールする際に、カーソルがつねに、文書の現在表示されている部分のいちばん上に置かれるようにします。
36518 \begin_layout Standard
36519 カーソル幅は変更することができます。カーソル幅を0に設定すると、画面フォントで設定した拡大率に応じて、カーソル幅も調整されます。
36522 \begin_layout Standard
36530 \begin_layout Standard
36536 \begin_inset Flex Ruby
36539 \begin_layout Plain Layout
36541 \begin_inset Argument post:1
36544 \begin_layout Plain Layout
36555 を押すことで単語から単語へジャンプすることができます。
36557 単語間の移動にMac流のカーソル移動を使用
36559 オプションを使用すると、カーソルは単語末から次の単語末へとジャンプします。通常は、単語頭から単語頭への移動です。
36562 \begin_layout Standard
36567 オプションは、段落環境のプルダウンボックスの項目を整序します。
36570 \begin_layout Standard
36575 オプションは、段落環境のプルダウンボックスの項目をグループ化します。
36578 \begin_layout Standard
36579 数式マクロ編集オプションは編集様式を決定します。取扱説明書『
36590 \begin_layout Subsubsection
36594 \begin_layout Standard
36595 ここでは、全画面モードで隠すものを指定できます。
36599 オプションは、全画面モードでの本文幅を指定します。こうすると、本文を画面よりも小さく表示できて、本文は中央部に表示されます。
36602 \begin_layout Subsection
36604 \begin_inset Index idx
36607 \begin_layout Plain Layout
36609 \begin_inset Flex Ruby
36612 \begin_layout Plain Layout
36614 \begin_inset Argument post:1
36617 \begin_layout Plain Layout
36634 \begin_inset Index idx
36637 \begin_layout Plain Layout
36642 \begin_layout Plain Layout
36650 \begin_inset Flex Ruby
36653 \begin_layout Plain Layout
36655 \begin_inset Argument post:1
36658 \begin_layout Plain Layout
36673 \begin_layout Plain Layout
36686 \begin_inset Index idx
36689 \begin_layout Plain Layout
36691 \begin_inset Flex Ruby
36694 \begin_layout Plain Layout
36696 \begin_inset Argument post:1
36699 \begin_layout Plain Layout
36718 \begin_layout Standard
36719 \begin_inset Flex Ruby
36722 \begin_layout Plain Layout
36728 \begin_inset Argument post:1
36731 \begin_layout Plain Layout
36746 は、LyX関数を鍵に割り当てるのに使う鍵設定ファイルを指定します。いくつかの鍵設定ファイルがありますが、特に以下のようなものがあります。
36749 \begin_layout Description
36750 cua.bind PCキーボードでの典型的な
36751 \begin_inset Flex Ruby
36754 \begin_layout Plain Layout
36756 \begin_inset Argument post:1
36759 \begin_layout Plain Layout
36773 \begin_layout Description
36774 (x)emacs.bind エディタプログラム
36785 \begin_layout Description
36789 \begin_inset space \thinspace{}
36797 \begin_layout Standard
36802 のように、特定の文書クラス用にデザインされた鍵設定ファイルや、特定の言語用の鍵設定ファイルもあります。言語用鍵設定ファイルの名前は、例えばポルトガルならば「pt
36803 」のように、言語コードで始まります。LyXを特定の言語の下で使うと、LyXは適切な鍵設定ファイルを使用しようとします。
36806 \begin_layout Standard
36811 のようないくつかの鍵設定ファイルは、限られた範囲の定義しか含んでいません。
36815 ファイルの終わりを見れば、鍵設定ファイルの見通しをよくするために、
36819 がインクルードされる形になっているのを確認できるはずです。
36822 \begin_layout Standard
36827 フィールドは、選択した鍵設定ファイル中で特定の機能を提供する捷径を検索するのに使用できます。
36830 \begin_layout Subsubsection
36832 \begin_inset CommandInset label
36839 \begin_inset Index idx
36842 \begin_layout Plain Layout
36844 \begin_inset Flex Ruby
36847 \begin_layout Plain Layout
36849 \begin_inset Argument post:1
36852 \begin_layout Plain Layout
36863 設定 ! のへんしゅう@------の編集
36871 \begin_layout Standard
36873 \begin_inset Flex Ruby
36876 \begin_layout Plain Layout
36878 \begin_inset Argument post:1
36881 \begin_layout Plain Layout
36892 設定を追加したり、既存の鍵設定をご自分の好みに合うように修正するには、すべてのLyX関数とそれに結びつけられた
36893 \begin_inset Flex Ruby
36896 \begin_layout Plain Layout
36898 \begin_inset Argument post:1
36901 \begin_layout Plain Layout
36912 を列挙したダイアログ中の表を使用することができます。関数を容易に見つけられるように、関数はカテゴリごとにまとめられ、
36916 フィールドがダイアログに備わっています。このフィールドに編集したい関数のキーワードを入力することができます。たとえば、ここに「paste」と入力すると、名称に「
36917 paste」を含む3つの関数に対するぜんぶで4つの既存の捷径が表示されます。このように、一つの関数は二つ以上の捷径を持つことができます。LyX関数の全覧は、
36928 \begin_layout Standard
36937 という捷径を加えるには、この関数を選択して、
36941 ボタンを押します。捷径を追加するためのダイアログが現れますので、Alt+Qを押して捷径を定義します。
36944 \begin_layout Standard
36945 既存の捷径の修正も、これと同様に行います。LyX関数の定義で「command alternatives」と書いた後に、複数の関数名をセミコロン区切りのリストとし
36946 て続ければ、複数の関数を単一の捷径に割り当てることもできます。するとLyXは、現在の文書部分で有効な関数のうち最初のものを使用します。
36949 \begin_layout Standard
36950 特定の捷径が好みでなければ、削除することもできます。
36953 \begin_layout Standard
36954 他に、鍵設定ファイルをテキストエディタで編集することによって、捷径を編集することもできます。。各項目の文法は
36957 \begin_layout Standard
36963 \begin_inset Quotes eld
36967 \begin_inset Quotes erd
36971 \begin_inset Quotes eld
36975 \begin_inset Quotes erd
36981 \begin_inset Newline newline
36987 \begin_layout Subsection
36989 \begin_inset CommandInset label
36991 name "sub:キーボード配置表"
36996 \begin_inset Index idx
36999 \begin_layout Plain Layout
37000 きーぼーどはいちひょう@キーボード配置表
37006 \begin_inset Index idx
37009 \begin_layout Plain Layout
37010 せってい@設定 ! きぼどはいちひよう@キーボード配置表
37018 \begin_layout Standard
37019 通常、キーボードの設定は、お使いのオペレーティングシステムのメニューで行います。これができない場合のために、LyXではキーボード配置表を使用することができます。
37020 例えば、チェコ語キーボードを持っているけれども、ルーマニア語用のもののように動作させるには、
37028 というファイル名のキーボード配置表を選択するします。
37031 \begin_layout Standard
37032 第1・第2キーボード配列表を指定することもでき、
37039 arg "keymap-primary"
37045 arg "keymap-secondary"
37048 で第2キーボードを選択することができ、
37051 arg "keymap-toggle"
37054 で二つの間を行き来することができます。
37057 \begin_layout Standard
37058 \begin_inset Note Greyedout
37061 \begin_layout Plain Layout
37066 キーボード配置表はありあわせとして提供されているもので、全てのシステムで動作するわけではありません。
37074 \begin_layout Standard
37079 を指定することができます。標準の値は1.0となっており、数値を上げるとスクロール速度が上がり、数値を下げるとスクロール速度が下がります。
37082 \begin_layout Standard
37088 \begin_inset Flex Ruby
37091 \begin_layout Plain Layout
37093 \begin_inset Argument post:1
37096 \begin_layout Plain Layout
37107 を選択することができます。この鍵が押されたままマウスホイールを回転させると、文章が拡大します。
37110 \begin_layout Subsection
37114 \begin_layout Standard
37116 \begin_inset CommandInset ref
37118 reference "sec:入力補完"
37125 \begin_layout Section
37127 \begin_inset CommandInset label
37134 \begin_inset Index idx
37137 \begin_layout Plain Layout
37144 \begin_inset Index idx
37147 \begin_layout Plain Layout
37148 せってい@設定 ! でぃれくとり@ディレクトリ
37156 \begin_layout Standard
37157 LyXが使用する様々なリソースへのパスは、通常は導入作業中に決定されます。しかし、これらを変更したいこともあるかもしれません。
37160 \begin_layout Description
37161 作業ディレクトリ これはLyXの作業ディレクトリです。ファイルを
37176 \begin_layout Description
37179 は、ファイル\SpecialChar \menuseparator
37182 メニューを使用したときに開かれるディレクトリです。
37185 \begin_layout Description
37188 ファイル\SpecialChar \menuseparator
37195 ボタンを押すと、ここに指定したディレクトリが開かれます。
37196 \begin_inset Newline newline
37200 \begin_inset Note Greyedout
37203 \begin_layout Plain Layout
37208 MacOSやWindowsシステムでLyXを使用しているときには、用例ボタンはありません。
37216 \begin_layout Description
37218 \begin_inset Index idx
37221 \begin_layout Plain Layout
37222 ばっくあっぷ@バックアップ ! でぃれくとり@ディレクトリ
37227 バックアップコピーはこのディレクトリに保存されます。この欄が空白で、第
37228 \begin_inset CommandInset ref
37230 reference "sub:文書のバックアップ"
37234 節にあるようにバックアップが有効にされていると、作業ディレクトリがバックアップを保存するのに使用されます。
37235 \begin_inset Newline newline
37238 バックアップファイルは、「.lyx~」という拡張子を持ちます。
37241 \begin_layout Description
37246 \begin_layout Plain Layout
37253 Xサーバーパイプ ここには、Unixパイプ名を入れることができます。このパイプは、外部プログラムからLyXにデータを送るのに使用されます。
37254 \begin_inset Newline newline
37265 というBibTeXデータベースを付加します。このファイルは、
37277 の中で、LyX側で設定したのと同じUNIXパイプを指定しなくてはなりません。データベースの一項目を引用として索きたい場合には、
37281 中でその項目を選択して、LyXマークをクリックしてください。使用中のLyXファイルの、カーソルのある位置に、その項目が引用として挿入されます。もちろん、
37285 とLyXは同時に実行されている必要があります。
37286 \begin_inset Newline newline
37294 \begin_inset CommandInset ref
37296 reference "sub:文書のバックアップ"
37301 \begin_inset Newline newline
37304 LyXサーバーバイプをWindowsで使用するには、下記のパイプ名を使用しなくてはなりません。
37305 \begin_inset Newline newline
37321 \begin_layout Description
37322 一時ディレクトリ 一時ファイルはこのディレクトリに保存されます。
37325 \begin_layout Description
37326 類語辞典辞書 類語辞典辞書が置いてあるディレクトリです。これは、指定なしだと類語辞典機能が動作しない場合や、自製ないし別の辞書を使用したい場合以外では、指定する
37330 \begin_layout Description
37331 Hunspell辞書 スペルチェックプログラム
37335 の辞書が置いてあるディレクトリです。これは、
37339 を使用していて、指定なしだと類語辞典機能が動作しない場合や、自製ないし別の辞書を使用したい場合以外では、指定する必要はありません。Windows版LyXでは、
37343 は唯一使用できるスペルチェッカーであり、ディレクトリを指定しなくても動作するはずです。
37346 \begin_layout Description
37347 PATH前置句 このフィールドには、外部プログラムへのパスのリストを書き込みます。LyXが外部プログラムを使用する必要があるとき、システム上でそれを見つけるのに
37348 、LyXはこのリストを参照します。WindowsとMacシステムでは、パス・リストはLyX設定時に自動的に設定されますので、通常修正する必要はありません。Uni
37349 xあるいはLinuxシステムにおいては、通常のシステムパス($PATH)にない外部プログラムを使いたいときのみ、このパスを設定する必要があります。
37352 \begin_layout Description
37353 TEXINPUTS前置句 TEXINPUTS環境変数を用いると、TeXコードか文書プリアンブルに書き込んだコマンドによって、LyX文書に外部ファイルをインクルー
37354 ドさせて利用することができるようになります。この前置句には、既定では、文書ディレクトリが含まれています(ピリオド記号「.」として表されます)。前置句には、OSの既
37355 定区切り(UNIX派生システムでは「:」、Windowsでは「;」)で区切ることによって、いくつものパスを並べることができます。ファイルがインクルードされると、
37356 TEXINPUTS前置句に列挙されたパスで、インプットファイルが検索されます。TEXINPUTS前置句に列挙されたもののうち、絶対パスでないものは、LyXファイ
37357 ルのあるディレクトリからの相対パスとして解釈されるので注意してください。文書によってはコンパイルに失敗する可能性があるので、パスの一つには、常に「.」を含めること
37361 \begin_layout Section
37365 \begin_layout Standard
37366 ここには、ご自身の名前と電子メールアドレスを入力することができます。利用者情報は、第
37367 \begin_inset CommandInset ref
37369 reference "sec:変更追跡機能"
37373 節で説明されている変更追跡機能を有効にしているときに、あなたが変更を加えたことを示すために使用されます。
37376 \begin_layout Section
37378 \begin_inset Index idx
37381 \begin_layout Plain Layout
37382 げんご@言語 ! せってい@------設定
37388 \begin_inset Index idx
37391 \begin_layout Plain Layout
37392 せってい@設定 ! げんご@言語------
37400 \begin_layout Subsection
37402 \begin_inset CommandInset label
37411 \begin_layout Description
37412 操作画面用言語 ここではLyXのメニューで使用される言語を選択することができます。現在の翻訳状況については、
37413 \begin_inset CommandInset href
37415 target "http://www.lyx.org/l18n"
37422 \begin_layout Description
37423 言語パッケージ これは言語関連項目を取り扱うのに読み込むべきLaTeXパッケージを定義します。ここで指定したパッケージが取り扱うべき言語関連項目は、適切なハイフ
37424 ネーションのほか、「章」や「表」などの文字列や日付などの現地語化が含まれます。もっともよく使われる言語パッケージは
37429 \begin_inset Index idx
37432 \begin_layout Plain Layout
37433 latexはつけじ@LaTeXパッケージ ! babel
37438 であり、これは古くからLaTeXの標準言語パッケージとなっています。しかしながら、XeTeXやLuaTeXのような比較的新しい組版エンジンでは、これらのエンジン
37439 のマルチスクリプトサポートに適した別の言語パッケージ
37444 \begin_inset Index idx
37447 \begin_layout Plain Layout
37448 latexはつけじ@LaTeXパッケージ ! polyglossia
37453 が使用されています。さらに、babelでカバーされていない言語向けの言語パッケージもあります。使用できるものは、第
37454 \begin_inset CommandInset ref
37463 \begin_layout Description
37464 開始コマンド ある文書言語を書くときに特別なLaTeXパッケージが必要とされる場合、ここにそのパッケージを開始するコマンドを指定することができます。例えば、
37468 パッケージを使用してアラビア語を書くときに必要とされる開始コマンド
37475 \begin_inset CommandInset citation
37489 selectlanguage{$$lang}
37494 \begin_layout Description
37495 終了コマンド コマンド開始の反対です。既定値のようにいくつかのパッケージは、開始コマンドがパッケージの入切を行うので、終了コマンドを必要としません。
37498 \begin_layout Description
37499 既定小数点 表で使用する小数点を定義します(小数点揃え用)。
37502 \begin_layout Description
37506 \begin_inset space ~
37510 \begin_inset space ~
37513 unit Defines the unit that is used as default for lengths in LyX's dialogs.
37516 \begin_layout Description
37517 言語を大域的に設定 このオプションを有効にすると、この文書で使われている言語は、文書クラスオプションとして追加され、すべてのLaTeXパッケージで使用されるよう
37522 パッケージのオプションとして使用されるのみです。
37525 \begin_layout Description
37526 自動開始 このオプションを有効にすると、文書は選択した文書言語で開始されます。このオプションが有効でないときには、LaTeX出力において、
37530 が文書の最初で明示的に使用されます。これによって、既定値でない
37534 を使用しているときに、正しい言語が使用されることを確実にします。
37537 \begin_layout Description
37538 自動終了 自動開始の反対です。これが有効でないときには、終了コマンドが文書の最後で使用されます。
37541 \begin_layout Description
37542 外国語をマークする 文書言語と異なる言語に指定されている文章は、青い下線で表示されます。
37545 \begin_layout Description
37546 右から左書きの言語をサポート アラビア語・ヘブライ語・ペルシア語のように、右から左へ書く言語(RTL言語)を使用できるようにします。
37549 \begin_layout Description
37550 カーソルの動き RTL言語で、左(右)矢印
37551 \begin_inset Flex Ruby
37554 \begin_layout Plain Layout
37556 \begin_inset Argument post:1
37559 \begin_layout Plain Layout
37570 が視覚的に左(右)に動くようにするのか、それとも論理的に動くようにするのかを定義することができます。論理的とは、カーソルがRTL言語で書かれた文章の中にあるとき
37571 に、例えば、右矢印鍵を押すとカーソルが左に動くということです。
37574 \begin_layout Subsection
37578 \begin_layout Standard
37580 \begin_inset CommandInset ref
37582 reference "sec:スペルチェック"
37589 \begin_layout Section
37593 \begin_layout Subsection
37597 \begin_layout Description
37600 ファイル\SpecialChar \menuseparator
37601 書き出し\SpecialChar \menuseparator
37604 メニューを使用したときに、一行に印字する最大の文字数を設定します。行幅を0にすると、すべての文章が、改行なしに一行に印字されることを意味します。
37607 \begin_layout Description
37609 \begin_inset Index idx
37612 \begin_layout Plain Layout
37619 \begin_inset Index idx
37622 \begin_layout Plain Layout
37623 せってい@設定 ! ひづけしょしき@日付書式
37629 \begin_inset Newline newline
37633 \begin_inset Flex URL
37636 \begin_layout Plain Layout
37638 http://unixhelp.ed.ac.uk/CGI/man-cgi?date
37644 \begin_inset Newline newline
37647 に挙げてある書式のひとつないしは組み合わせです。
37648 \begin_inset Newline newline
37652 \begin_inset Newline newline
37656 \begin_inset Newline newline
37659 という書式は、「年/月/日」の形式の日付を印字します。
37662 \begin_layout Description
37663 書き出し時の上書き LyXの書き出し時に、何を上書きして良いかを設定します。
37666 \begin_layout Description
37669 移動\SpecialChar \menuseparator
37672 メニューで使用されるコマンドです。詳細については、取扱説明書『
37683 \begin_layout Subsection
37685 \begin_inset CommandInset label
37692 \begin_inset Index idx
37695 \begin_layout Plain Layout
37702 \begin_inset Index idx
37705 \begin_layout Plain Layout
37714 \begin_layout Description
37715 既定プリンタ ここではお使いの既定プリンタ名を指定できます。プリンタ名は、
37720 \begin_inset Newline newline
37724 \begin_inset Note Greyedout
37727 \begin_layout Plain Layout
37732 Windowsシステムでは効力がないのでこのフィールドは空でかまいません。
37740 \begin_layout Description
37741 印刷コマンド これはLyXすなわちLaTeXが印刷に使用するコマンドです。既定値は、ほとんどのシステムで
37748 \begin_layout Description
37749 印刷コマンドオプション ここでは印刷コマンド用オプションを指定できます。お使いの印刷コマンドを提供するプログラムの取扱説明書に、印刷オプションの全覧と説明があり
37753 \begin_layout Description
37754 出力をプリンタに合わせる このオプションは、
37762 」のときのみ機能します。これはdvips用の設定ファイルを有効化します。これはdvips熟練者専用のオプションです。
37765 \begin_layout Subsection
37770 \begin_layout Plain Layout
37778 \begin_inset CommandInset label
37780 name "sub:LaTeX-設定"
37785 \begin_inset Index idx
37788 \begin_layout Plain Layout
37797 \begin_layout Description
37802 \begin_layout Plain Layout
37809 X文字コード これは文書フォントの既定文字コードです。
37813 が既定値で、西欧諸言語と記号を含んでいます。
37837 」のように文字コードを組み合わせることも可能です。フォント文字コードは、通常、LyXがバックグラウンドで設定する言語パッケージによって自動的に読み込まれます。で
37838 すから、既定の文字コードを変更する必要はありません。
37841 \begin_layout Description
37842 既定の用紙寸法 これは新規文書で使用される用紙寸法です。既定値はお使いのLaTeXシステムの設定に依存します。
37845 \begin_layout Description
37850 がDVIビューアとして使用されているときのみ有効です。詳細については、
37857 \begin_layout Standard
37858 ここでは、処理プログラムのオプションとパラメータ付きコマンドを指定することもできます。しかし、ここで何かを変更する前に、当該アプリケーションの取扱説明書を読むこ
37862 \begin_layout Description
37863 書誌情報の生成 書誌情報を生成するための設定。第
37864 \begin_inset CommandInset ref
37866 reference "sub:文献データベース"
37873 \begin_layout Description
37874 索引の生成 索引を生成するための設定。第
37875 \begin_inset CommandInset ref
37877 reference "sub:索引プログラム"
37884 \begin_layout Description
37885 用語集コマンド 用語集を生成するプログラムのコマンド。第
37886 \begin_inset CommandInset ref
37888 reference "sub:用語集プログラム"
37895 \begin_layout Description
37900 \begin_layout Plain Layout
37922 \begin_layout Standard
37926 \begin_layout Description
37927 LaTeXファイルでWindows流のパス表記を使う Windowsのパス記法を使用します。すなわち、フォルダを区切るのに「/」ではなく「
37929 」を使用します。このオプションは、LyXをWindows上で使用する際には、既定で有効化されています。
37930 \begin_inset Index idx
37933 \begin_layout Plain Layout
37940 \begin_inset Index idx
37943 \begin_layout Plain Layout
37952 \begin_layout Description
37953 文書クラス変更時にクラスオプションをリセットする 文書クラスを変更する際、文書\SpecialChar \menuseparator
37954 設定\SpecialChar \menuseparator
37959 で手動設定したものをすべて削除します。
37962 \begin_layout Section
37964 \begin_inset Index idx
37967 \begin_layout Plain Layout
37976 \begin_layout Subsection
37978 \begin_inset CommandInset label
37985 \begin_inset Index idx
37988 \begin_layout Plain Layout
37997 \begin_layout Standard
37998 ここには、一つの形式から別の形式へ変換する定義済み変換コマンドが一覧表示されます。これらは修正したり新しいものを作ったりすることができます。変換子を修正するには
38011 ボタンを押します。新しい変換子を作るには、既存の変換子をどれか選択してから、
38015 ドロップダウンリストで別の形式を選択し、
38026 \begin_layout Standard
38035 フィールドで指定されている期間のあいだ、変換がキャッシュされます。つまり、キャッシュの変換済み画像が代わりに使用されるため、文書を再度開いたときに画像を再変換す
38039 \begin_layout Standard
38040 変換子定義で使うことのできる変数やフラグなど、変換子についての詳細は、取扱説明書『
38051 \begin_layout Subsection
38053 \begin_inset Index idx
38056 \begin_layout Plain Layout
38063 \begin_inset CommandInset label
38072 \begin_layout Standard
38073 ここでは、LyXが扱うことのできる定義済みファイル形式が一覧表示されています。特定のファイル形式に使用する、閲覧プログラムや編集プログラムを変更することができま
38077 \begin_layout Standard
38105 \begin_layout Standard
38106 さらに、編集メニューやツールバーで「表示」「更新」「親文書を表示」「親文書を更新」を選んだときに使用される「既定出力形式」を定義することができます。
38109 \begin_layout Standard
38110 形式定義で使うことのできるオプションなど、ファイル形式について詳しくは、取扱説明書『
38121 \begin_layout Standard
38122 ある形式から他の形式への変換は、すべてLyXの一時ディレクトリで行われているので、変換がうまく行くためには、一時ディレクトリにファイルをコピー(複写)する前に、
38123 ファイルに変更を加える必要があることがあります。これは、
38127 を指定することによってなされます。複写子について詳しくは、取扱説明書『
38138 \begin_layout Chapter
38140 \begin_inset CommandInset label
38142 name "cha:LyXで使用できる単位"
38147 \begin_inset Index idx
38150 \begin_layout Plain Layout
38159 \begin_layout Standard
38160 この文書で用いられる単位の理解のために、表
38161 \begin_inset CommandInset ref
38167 に、LyXで使うことのできる単位をまとめておきます。
38170 \begin_layout Standard
38171 \begin_inset Float table
38177 \begin_layout Plain Layout
38178 \begin_inset Caption Standard
38180 \begin_layout Plain Layout
38181 \begin_inset CommandInset label
38195 \begin_layout Plain Layout
38196 \begin_inset VSpace medskip
38202 \begin_layout Plain Layout
38204 \begin_inset Tabular
38205 <lyxtabular version="3" rows="20" columns="2">
38206 <features rotate="0" tabularvalignment="middle">
38207 <column alignment="center" valignment="top">
38208 <column alignment="center" valignment="top">
38210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38213 \begin_layout Plain Layout
38219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38222 \begin_layout Plain Layout
38230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38233 \begin_layout Plain Layout
38239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38242 \begin_layout Plain Layout
38250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38253 \begin_layout Plain Layout
38259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38262 \begin_layout Plain Layout
38270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38273 \begin_layout Plain Layout
38279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38282 \begin_layout Plain Layout
38290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38293 \begin_layout Plain Layout
38299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38302 \begin_layout Plain Layout
38304 \begin_inset Formula $\,$
38308 \begin_inset Formula $\,$
38318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38321 \begin_layout Plain Layout
38327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38330 \begin_layout Plain Layout
38332 \begin_inset Formula $\,$
38336 \begin_inset Formula $\,$
38346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38349 \begin_layout Plain Layout
38355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38358 \begin_layout Plain Layout
38360 \begin_inset Formula $\,$
38364 \begin_inset Formula $\,$
38374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38377 \begin_layout Plain Layout
38383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38386 \begin_layout Plain Layout
38388 \begin_inset Formula $\,$
38392 \begin_inset Formula $\,$
38402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38405 \begin_layout Plain Layout
38411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38414 \begin_layout Plain Layout
38416 \begin_inset Formula $\,$
38420 \begin_inset Formula $\approx$
38424 \begin_inset Formula $\,$
38434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38437 \begin_layout Plain Layout
38443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38446 \begin_layout Plain Layout
38448 \begin_inset Formula $\,$
38452 \begin_inset Formula $\,$
38462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38465 \begin_layout Plain Layout
38471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38474 \begin_layout Plain Layout
38482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38485 \begin_layout Plain Layout
38491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38494 \begin_layout Plain Layout
38502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38505 \begin_layout Plain Layout
38511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38514 \begin_layout Plain Layout
38522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38525 \begin_layout Plain Layout
38531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38534 \begin_layout Plain Layout
38542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38545 \begin_layout Plain Layout
38551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38554 \begin_layout Plain Layout
38562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38565 \begin_layout Plain Layout
38571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38574 \begin_layout Plain Layout
38582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38585 \begin_layout Plain Layout
38591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38594 \begin_layout Plain Layout
38602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38605 \begin_layout Plain Layout
38611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38614 \begin_layout Plain Layout
38622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38625 \begin_layout Plain Layout
38631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38634 \begin_layout Plain Layout
38642 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38645 \begin_layout Plain Layout
38651 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38654 \begin_layout Plain Layout
38656 \begin_inset Formula $\,$
38660 \begin_inset Formula $\,$
38681 \begin_layout Chapter
38683 \begin_inset CommandInset label
38692 \begin_layout Standard
38702 この取扱説明書は、さまざまな人たちの共同作業によって作られました(そしてあなたにも貢献してほしいのです)。
38705 \begin_layout Itemize
38708 Alejandro Aguilar Sierra
38711 \begin_layout Itemize
38717 \begin_layout Itemize
38723 \begin_layout Itemize
38729 \begin_layout Itemize
38735 \begin_layout Itemize
38741 \begin_layout Itemize
38747 \begin_layout Itemize
38753 \begin_layout Itemize
38756 Lars Gullik Bjønnes
38759 \begin_layout Itemize
38765 \begin_layout Itemize
38771 \begin_layout Itemize
38777 \begin_layout Itemize
38783 \begin_layout Itemize
38789 \begin_layout Itemize
38795 \begin_layout Itemize
38801 \begin_layout Itemize
38807 \begin_layout Itemize
38809 \begin_inset CommandInset citation
38818 \begin_layout Paragraph
38831 \begin_layout Itemize
38835 \begin_layout Itemize
38839 \begin_layout Itemize
38843 \begin_layout Itemize
38847 \begin_layout Itemize
38851 \begin_layout Standard
38852 \begin_inset Newpage newpage
38858 \begin_layout Standard
38866 \begin_layout Bibliography
38867 \begin_inset CommandInset bibitem
38868 LatexCommand bibitem
38875 \begin_inset CommandInset href
38878 target "http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/CREDITS"
38883 \begin_inset Newline newline
38887 \begin_inset Flex URL
38890 \begin_layout Plain Layout
38892 http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/CREDITS
38900 \begin_layout Bibliography
38901 \begin_inset CommandInset bibitem
38902 LatexCommand bibitem
38903 key "latexcompanion"
38907 Frank Mittelbach and Michel Goossens:
38909 The LaTeX Companion Second Edition.
38912 Addison-Wesley, 2004(邦訳 「The LaTeXコンパニオン」アスキー書籍編集部監訳、アスキー出版局、1998)
38915 \begin_layout Bibliography
38916 \begin_inset CommandInset bibitem
38917 LatexCommand bibitem
38922 Helmut Kopka and Patrick W.
38925 A Guide to LaTeX Fourth Edition.
38928 Addison-Wesley, 2003
38931 \begin_layout Bibliography
38932 \begin_inset CommandInset bibitem
38933 LatexCommand bibitem
38940 LaTeX: A Document Preparation System.
38943 Addison-Wesley, second edition, 1994(第1版の邦訳は 「LaTeX〜文書処理システム〜」大野俊治他訳、アスキー出版局、19
38947 \begin_layout Bibliography
38948 \begin_inset CommandInset bibitem
38949 LatexCommand bibitem
38961 Addison-Wesley, 1984(邦訳 「TeXブック〜コンピュ−タによる組版システム〜(改訂新版)」鷺谷好輝訳 、アスキー出版局、1992)
38964 \begin_layout Bibliography
38965 \begin_inset CommandInset bibitem
38966 LatexCommand bibitem
38972 \begin_inset Newline newline
38976 \begin_inset Flex URL
38979 \begin_layout Plain Layout
38981 http://mirrors.ctan.org/help/Catalogue/bytopic.html
38989 \begin_layout Bibliography
38990 \begin_inset CommandInset bibitem
38991 LatexCommand bibitem
38997 \begin_inset Newline newline
39001 \begin_inset Flex URL
39004 \begin_layout Plain Layout
39006 http://www.tex.ac.uk/cgi-bin/texfaq2html
39014 \begin_layout Bibliography
39015 \begin_inset CommandInset bibitem
39016 LatexCommand bibitem
39026 \begin_inset CommandInset href
39029 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf"
39034 \begin_inset Newline newline
39038 \begin_inset Flex URL
39041 \begin_layout Plain Layout
39043 http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf
39051 \begin_layout Bibliography
39052 \begin_inset CommandInset bibitem
39053 LatexCommand bibitem
39063 \begin_inset CommandInset href
39066 target "http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
39071 \begin_inset Newline newline
39075 \begin_inset Flex URL
39078 \begin_layout Plain Layout
39080 http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
39088 \begin_layout Bibliography
39089 \begin_inset CommandInset bibitem
39090 LatexCommand bibitem
39100 \begin_inset CommandInset href
39103 target "http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf"
39108 \begin_inset Newline newline
39112 \begin_inset Flex URL
39115 \begin_layout Plain Layout
39117 http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf
39125 \begin_layout Bibliography
39126 \begin_inset CommandInset bibitem
39127 LatexCommand bibitem
39137 \begin_inset CommandInset href
39140 target "http://www.xindy.org/documentation.html"
39145 \begin_inset Newline newline
39149 \begin_inset Flex URL
39152 \begin_layout Plain Layout
39154 http://www.xindy.org/documentation.html
39162 \begin_layout Bibliography
39163 \begin_inset CommandInset bibitem
39164 LatexCommand bibitem
39170 \begin_inset CommandInset href
39173 target "http://www.ams.org/publications/authors/tex/amslatex"
39178 \begin_inset Newline newline
39182 \begin_inset Flex URL
39185 \begin_layout Plain Layout
39187 http://www.ams.org/publications/authors/tex/amslatex
39195 \begin_layout Bibliography
39196 \begin_inset CommandInset bibitem
39197 LatexCommand bibitem
39207 \begin_inset Index idx
39210 \begin_layout Plain Layout
39211 latexはつけじ@LaTeXパッケージ ! caption
39217 \begin_inset CommandInset href
39220 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
39225 \begin_inset Newline newline
39229 \begin_inset Flex URL
39232 \begin_layout Plain Layout
39234 http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf
39242 \begin_layout Bibliography
39243 \begin_inset CommandInset bibitem
39244 LatexCommand bibitem
39254 \begin_inset Index idx
39257 \begin_layout Plain Layout
39258 latexはつけじ@LaTeXパッケージ ! enumitem
39264 \begin_inset CommandInset href
39267 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
39272 \begin_inset Newline newline
39276 \begin_inset Flex URL
39279 \begin_layout Plain Layout
39281 http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
39289 \begin_layout Bibliography
39290 \begin_inset CommandInset bibitem
39291 LatexCommand bibitem
39301 \begin_inset Index idx
39304 \begin_layout Plain Layout
39305 latexはつけじ@LaTeXパッケージ ! fancyhdr
39311 \begin_inset CommandInset href
39314 target "http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
39319 \begin_inset Newline newline
39323 \begin_inset Flex URL
39326 \begin_layout Plain Layout
39328 http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf
39336 \begin_layout Bibliography
39337 \begin_inset CommandInset bibitem
39338 LatexCommand bibitem
39348 \begin_inset Index idx
39351 \begin_layout Plain Layout
39352 latexはつけじ@LaTeXパッケージ ! hyperref
39358 \begin_inset CommandInset href
39361 target "http://www.ctan.org/pkg/hyperref"
39366 \begin_inset Newline newline
39370 \begin_inset Flex URL
39373 \begin_layout Plain Layout
39375 http://www.ctan.org/pkg/hyperref
39383 \begin_layout Bibliography
39384 \begin_inset CommandInset bibitem
39385 LatexCommand bibitem
39395 \begin_inset Index idx
39398 \begin_layout Plain Layout
39399 latexはつけじ@LaTeXパッケージ ! nomencl
39405 \begin_inset CommandInset href
39408 target "http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
39413 \begin_inset Newline newline
39417 \begin_inset Flex URL
39420 \begin_layout Plain Layout
39422 http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
39430 \begin_layout Bibliography
39431 \begin_inset CommandInset bibitem
39432 LatexCommand bibitem
39442 \begin_inset Index idx
39445 \begin_layout Plain Layout
39446 latexはつけじ@LaTeXパッケージ ! prettyref
39452 \begin_inset CommandInset href
39455 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
39460 \begin_inset Newline newline
39464 \begin_inset Flex URL
39467 \begin_layout Plain Layout
39469 http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
39477 \begin_layout Bibliography
39478 \begin_inset CommandInset bibitem
39479 LatexCommand bibitem
39489 \begin_inset Index idx
39492 \begin_layout Plain Layout
39493 latexはつけじ@LaTeXパッケージ ! refstyle
39499 \begin_inset CommandInset href
39502 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
39507 \begin_inset Newline newline
39511 \begin_inset Flex URL
39514 \begin_layout Plain Layout
39516 http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf
39524 \begin_layout Bibliography
39525 \begin_inset CommandInset bibitem
39526 LatexCommand bibitem
39531 アラビア語用にLyXを設定する方法を述べた
39532 \begin_inset CommandInset href
39535 target "http://wiki.lyx.org/Windows/Arabic"
39540 \begin_inset Newline newline
39544 \begin_inset Flex URL
39547 \begin_layout Plain Layout
39549 http://wiki.lyx.org/Windows/Arabic
39557 \begin_layout Bibliography
39558 \begin_inset CommandInset bibitem
39559 LatexCommand bibitem
39564 アルメニア語用にLyXを設定する方法を述べた
39565 \begin_inset CommandInset href
39568 target "http://wiki.lyx.org/Windows/Armenian"
39573 \begin_inset Newline newline
39577 \begin_inset Flex URL
39580 \begin_layout Plain Layout
39582 http://wiki.lyx.org/Windows/Armenian
39590 \begin_layout Bibliography
39591 \begin_inset CommandInset bibitem
39592 LatexCommand bibitem
39597 キリル語用にLyXを設定する方法を述べた
39598 \begin_inset CommandInset href
39601 target "http://wiki.lyx.org/Windows/Cyrillic"
39606 \begin_inset Newline newline
39610 \begin_inset Flex URL
39613 \begin_layout Plain Layout
39615 http://wiki.lyx.org/Windows/Cyrillic
39623 \begin_layout Bibliography
39624 \begin_inset CommandInset bibitem
39625 LatexCommand bibitem
39630 ペルシア語用にLyXを設定する方法を述べた
39631 \begin_inset CommandInset href
39634 target "http://wiki.lyx.org/Windows/Farsi"
39639 \begin_inset Newline newline
39643 \begin_inset Flex URL
39646 \begin_layout Plain Layout
39648 http://wiki.lyx.org/Windows/Farsi
39656 \begin_layout Bibliography
39657 \begin_inset CommandInset bibitem
39658 LatexCommand bibitem
39663 ヘブライ語用にLyXを設定する方法を述べた
39664 \begin_inset CommandInset href
39667 target "http://wiki.lyx.org/Windows/Hebrew"
39672 \begin_inset Newline newline
39676 \begin_inset Flex URL
39679 \begin_layout Plain Layout
39681 http://wiki.lyx.org/Windows/Hebrew
39689 \begin_layout Bibliography
39690 \begin_inset CommandInset bibitem
39691 LatexCommand bibitem
39696 日本語用にLyXを設定する方法を述べた
39697 \begin_inset CommandInset href
39700 target "http://wiki.lyx.org/Windows/Japanese"
39705 \begin_inset Newline newline
39709 \begin_inset Flex URL
39712 \begin_layout Plain Layout
39714 http://wiki.lyx.org/Windows/Japanese
39722 \begin_layout Bibliography
39723 \begin_inset CommandInset bibitem
39724 LatexCommand bibitem
39729 ラトビア語用にLyXを設定する方法を述べた
39730 \begin_inset CommandInset href
39733 target "http://wiki.lyx.org/Windows/Latvian"
39738 \begin_inset Newline newline
39742 \begin_inset Flex URL
39745 \begin_layout Plain Layout
39747 http://wiki.lyx.org/Windows/Latvian
39755 \begin_layout Bibliography
39756 \begin_inset CommandInset bibitem
39757 LatexCommand bibitem
39762 リトアニア語用にLyXを設定する方法を述べた
39763 \begin_inset CommandInset href
39766 target "http://wiki.lyx.org/Windows/Lithuanian"
39771 \begin_inset Newline newline
39775 \begin_inset Flex URL
39778 \begin_layout Plain Layout
39780 http://wiki.lyx.org/Windows/Lithuanian
39788 \begin_layout Bibliography
39789 \begin_inset CommandInset bibitem
39790 LatexCommand bibitem
39795 モンゴル語用にLyXを設定する方法を述べた
39796 \begin_inset CommandInset href
39799 target "http://wiki.lyx.org/Windows/Mongolian"
39804 \begin_inset Newline newline
39808 \begin_inset Flex URL
39811 \begin_layout Plain Layout
39813 http://wiki.lyx.org/Windows/Mongolian
39821 \begin_layout Bibliography
39822 \begin_inset CommandInset bibitem
39823 LatexCommand bibitem
39828 ベトナム語用にLyXを設定する方法を述べた
39829 \begin_inset CommandInset href
39832 target "http://wiki.lyx.org/Windows/Vietnamese"
39837 \begin_inset Newline newline
39841 \begin_inset Flex URL
39844 \begin_layout Plain Layout
39846 http://wiki.lyx.org/Windows/Vietnamese
39854 \begin_layout Bibliography
39855 \begin_inset CommandInset bibitem
39856 LatexCommand bibitem
39866 \begin_inset CommandInset href
39869 target "http://wiki.lyx.org/LyX/NewInLyX20"
39874 \begin_inset Newline newline
39878 \begin_inset Flex URL
39881 \begin_layout Plain Layout
39883 http://wiki.lyx.org/LyX/NewInLyX20
39891 \begin_layout Standard
39892 \begin_inset Newpage newpage
39899 \begin_layout Plain Layout
39910 \begin_layout Plain Layout
39924 \begin_inset Note Note
39927 \begin_layout Plain Layout
39934 コマンドは、現在の文書言語での書誌情報名です。ここでは最後に、以下の書誌情報が第二書誌情報一覧であることを示すために、それを番号2でもって再定義しています。
39942 \begin_layout Standard
39943 \begin_inset CommandInset bibtex
39944 LatexCommand bibtex
39945 bibfiles "../biblio/LyXDocs"
39946 options "../biblio/alphadin"
39953 \begin_layout Standard
39954 上記の文献一覧は、BibTeXデータベースから生成されたものです。
39957 \begin_layout Standard
39961 \begin_layout Plain Layout
39976 \begin_layout Plain Layout
39982 pagedeclaration}[1]{ (#1頁参照)}
39990 \begin_layout Standard
39991 \begin_inset CommandInset nomencl_print
39992 LatexCommand printnomenclature
40000 \begin_layout Standard
40001 \begin_inset CommandInset index_print
40002 LatexCommand printindex