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 auto
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
1129 arg "inset-select-all"
1134 while the cursor is in normal text selects the whole document.
1135 When the cursor is inside an inset
1140 arg "inset-select-all"
1145 selects the content of the inset.
1151 arg "inset-select-all"
1156 consecutively will increase the selection to the whole inset and then to
1163 arg "command-sequence buffer-begin ; buffer-end-select"
1168 selects the whole document in every case and puts the cursor to the end
1172 \begin_layout Section
1174 \begin_inset Index idx
1177 \begin_layout Plain Layout
1178 そうさ@操作 ! をとりけす@------を取り消す
1184 \begin_inset Index idx
1187 \begin_layout Plain Layout
1188 そうさ @ 操作 ! おなじをくりかえす@同じ------を繰り返す
1194 \begin_inset CommandInset label
1196 name "sec:操作を取り消す・繰り返す"
1203 \begin_layout Standard
1204 LyXでは、何か失敗をしても、簡単に取り消して元に戻すことができます。LyXは大容量の操作取消/繰返バッファを持っています。失敗を元に戻すときには、
1206 編集\SpecialChar \menuseparator
1215 を選択して下さい。もし元に戻しすぎた場合には、「操作を取り消すのを取り消す」ために
1217 編集\SpecialChar \menuseparator
1226 を使って下さい。操作取消メカニズムは、メモリーオーバーへッドを押さえるために100ステップに制限されています。
1229 \begin_layout Standard
1230 またファイルを開いてから行ったすべての変更を無効にしても、「変更された」という文章の状態はかわらないことに注意して下さい。これは操作を取り消すのを上記のように1
1234 \begin_layout Standard
1243 は、LyXの中のほとんどすべてのものについて働きます。しかしながら、入力された文章については、文字単位ではなくて文字の塊ごとに元に戻したりやり直したりすることが
1247 \begin_layout Section
1249 \begin_inset Index idx
1252 \begin_layout Plain Layout
1279 \begin_layout Standard
1280 以下は、もっとも基本的なマウス操作です。
1283 \begin_layout Enumerate
1288 \begin_layout Itemize
1293 をクリックします。そうするとカーソルはマウスの所へ移動します。
1297 \begin_layout Enumerate
1302 \begin_layout Itemize
1307 を押したままマウスをドラッグして下さい。LyXは前のマウスの位置と新しいマウスの位置の間の文字をマークします。これをLyXのバッファ(とクリップボード)にコピー
1310 編集\SpecialChar \menuseparator
1316 \begin_layout Itemize
1319 編集\SpecialChar \menuseparator
1322 を使って、文字列をLyXに貼り付け直してください。
1326 \begin_layout Enumerate
1331 \begin_layout Standard
1332 これらの特性を設定するには、右クリックしてください。詳しくはこの取扱説明書の対応する節を見て下さい。
1336 \begin_layout Section
1338 \begin_inset CommandInset label
1345 \begin_inset Index idx
1348 \begin_layout Plain Layout
1357 \begin_layout Standard
1358 LyXでは、文書内を動き回るのに二つの方法があります。
1361 \begin_layout Itemize
1366 メニューに、文書の全ての節が従属メニューとして表示されるので、それをクリックすれば、文書の対応する場所に移動することができます。
1369 \begin_layout Itemize
1372 表示\SpecialChar \menuseparator
1378 arg "dialog-toggle toc"
1384 \begin_layout Itemize
1387 移動\SpecialChar \menuseparator
1390 で文書中にしおりをはさむことができ、このメニューでしおりをはさんだ場所に移動することもできます。しおりは、セッションを越えて記憶されます。
1393 \begin_layout Standard
1397 arg "bookmark-goto 0"
1400 は、文書中であなたが直近に変更を加えた部分に移動します。これは、例えば大きな文書中で、何かを探して文書の他の部分に動いたり、スクロールしたりした後に、元の編集箇
1404 \begin_layout Standard
1407 arg "screen-recenter"
1411 \begin_inset Flex Ruby
1414 \begin_layout Plain Layout
1416 \begin_inset Argument post:1
1419 \begin_layout Plain Layout
1430 を押すと、カーソル位置が、LyXメインウィンドウの縦方向中央に来るようにすることができます。
1433 \begin_layout Subsection
1435 \begin_inset CommandInset label
1444 \begin_layout Standard
1445 文書構造ウィンドウ上部のプルダウンボックスを使えば、図表一覧のような目次様オブジェクトだけでなく、脚注一覧や、ラベル・相互参照(第
1446 \begin_inset CommandInset ref
1448 reference "sec:相互参照"
1453 \begin_inset CommandInset ref
1455 reference "sec:書誌情報"
1459 節参照)などの一覧も選択することができます。これらの一覧の上をクリックすれば、使用中の文書の対応するオブジェクトに移動することができます。
1462 \begin_layout Standard
1463 文書構造の要素を右クリックすると、多くの場合、これらの要素を直接修正することのできるコンテクストメニューが表示されます。例えば、引用の場合には、コンテクストメニ
1464 ューを使うと引用ダイアログが表示され、引用の内容を修正することができます。
1467 \begin_layout Standard
1468 上部の「フィルタ」フィールドを使うと、文書構造に表示される項目を制限することができます。例えば、ラベルと参照の一覧を表示しているときに、小節への参照のみを見たい
1469 場合には、フィルタに「sub:」というテキストを入力すれば、このテキストを含む項目、すなわち小節のみが表示されるようになります。
1472 \begin_layout Standard
1473 文書構造の下部には、表示をさらに細かく制御できるボタン類が並んでいます。
1477 オプションは、表示されている一覧を、アルファベット順に整序するためのものであり、これを指定しないと、要素は、文書中に現れる順に表示されます。
1481 オプションは、一覧の現在の表示状態を保持するためのものです。ここで保持するとは、例えば、第2節と第4節の小節が表示された状態から第3節をクリックしたときに、第2
1482 節と第4節の小節を表示されたままの状態に保持することです。もし
1486 オプションが有効にされていなければ、クリックされた第3節を強調するために、第2節と第4節は閉じられるようになっています。最後に、左側のスライダは、文書構造を特定
1487 の「深さ」まで開くのに用います。どのように動作するかを知るには、いじってみるのがいいでしょう。
1490 \begin_layout Standard
1491 \begin_inset Graphics
1492 filename ../../images/reload.png
1496 ボタンは、(通常必要でないはずですが)目次を再描画します。その隣のボタンは、節の文書中の位置を変えるためのボタンです。
1497 \begin_inset Graphics
1498 filename ../../images/down.png
1500 groupId toolbarbuttons
1505 \begin_inset Graphics
1506 filename ../../images/up.png
1508 groupId toolbarbuttons
1512 を使うと、節の文書中の位置が、前方に移動したり後方に移動したりします。つまり、例えば第2.5節を、第2.4節の前に持っていったり第2.6節の後に移動したりすることがで
1513 きるわけです。それに伴い、LyXは、節番号を自動的に新しい順序に振り直してくれます。
1514 \begin_inset Graphics
1515 filename ../../images/outline-out.png
1517 groupId toolbarbuttons
1522 \begin_inset Graphics
1523 filename ../../images/outline-in.png
1525 groupId toolbarbuttons
1530 \begin_inset Flex Ruby
1533 \begin_layout Plain Layout
1535 \begin_inset Argument post:1
1538 \begin_layout Plain Layout
1557 )は、節の階層を変更するものです。つまり、例えば第2.5節を、第3節にしたり第2.4.1節にしたりすることができます。
1560 \begin_layout Section
1562 \begin_inset CommandInset label
1569 \begin_inset Index idx
1572 \begin_layout Plain Layout
1579 \begin_inset Index idx
1582 \begin_layout Plain Layout
1587 \begin_layout Plain Layout
1598 \begin_layout Plain Layout
1613 \begin_layout Standard
1614 LyXは、現在開かれている全ての文書を走査して、単語の補完案を提示してくれます。開かれている各文書に現れる単語は、全てデータベースに保管されて、補完案を提示する
1618 \begin_layout Standard
1621 ツール\SpecialChar \menuseparator
1626 編集\SpecialChar \menuseparator
1629 セクションで、有効にすることができます。
1633 オプションは、補完の提案が、カーソル直後に直接表示されるようにします。
1637 では、補完は常にポップアップで表示されます。また、補完カーソル表示器は、
1641 オプションを無効にすれば、表示されなくなります。一般オプションでは、補完入力やポップアップ補完の遅延時間を設定したり、単語の補完を開始するまでに最低限なくてはな
1642 らない文字数を指定したり、長い補完の切り詰めを行うかどうかを選択することができます。
1645 \begin_layout Standard
1646 LyXは、補完候補がある場合には、カーソル直後に小さな三角形をインジケーターとして表示します。提案されている補完を受け入れる場合は、
1651 \begin_inset Flex Ruby
1654 \begin_layout Plain Layout
1656 \begin_inset Argument post:1
1659 \begin_layout Plain Layout
1670 を押してください。補完候補が複数ある場合には、ポップアップでそれらが表示されます。ポップアップ中でマウスや矢印鍵を使用して補完候補を選び、
1674 鍵を押せば、それを受け入れることになります。
1677 \begin_layout Standard
1678 設定中の数式用補完オプションは、テキスト用補完オプションと同様に動きます。数式に特有な
1682 オプションでは、文字を構成することを可能にします。例えば、
1683 \begin_inset Formula $\Rightarrow$
1686 という文字を挿入したい場合に、数式中で「
1690 」と入力すれば、この文字を入れることができるようになるのです。つまり、コマンドを入力したり、数式ツールバーを使うよりも速い、もうひとつの入力手段となります。サポ
1691 ートされている文字の組み合わせは、LyXの導入されたフォルダのどこかにある
1695 というファイルに、列挙されています。数式自動修正機能は、感嘆符鍵「!」を押せば、いつでも有効にすることができます。無効にするには、
1702 \begin_layout Section
1704 \begin_inset Flex Ruby
1707 \begin_layout Plain Layout
1709 \begin_inset Argument post:1
1712 \begin_layout Plain Layout
1724 \begin_inset Index idx
1727 \begin_layout Plain Layout
1747 \begin_inset Flex Ruby
1750 \begin_layout Plain Layout
1752 \begin_inset Argument post:1
1755 \begin_layout Plain Layout
1772 \begin_inset Index idx
1775 \begin_layout Plain Layout
1780 \begin_layout Plain Layout
1788 \begin_inset Flex Ruby
1791 \begin_layout Plain Layout
1793 \begin_inset Argument post:1
1796 \begin_layout Plain Layout
1811 \begin_layout Plain Layout
1824 \begin_inset Index idx
1827 \begin_layout Plain Layout
1829 \begin_inset Flex Ruby
1832 \begin_layout Plain Layout
1834 \begin_inset Argument post:1
1837 \begin_layout Plain Layout
1852 \begin_layout Plain Layout
1860 \begin_inset Flex Ruby
1863 \begin_layout Plain Layout
1865 \begin_inset Argument post:1
1868 \begin_layout Plain Layout
1883 \begin_layout Plain Layout
1898 \begin_layout Standard
1908 \begin_inset Flex Ruby
1911 \begin_layout Plain Layout
1913 \begin_inset Argument post:1
1916 \begin_layout Plain Layout
1933 編集\SpecialChar \menuseparator
1937 \begin_inset CommandInset ref
1939 reference "sub:捷径の編集"
1943 章に述べられているように、任意の捷径:を表示したり変更したりすることができます)。
1946 \begin_layout Standard
1950 \begin_inset space ~
1958 \begin_inset space ~
1979 のようないくつかの鍵は、予想どおりの動作をしますが、そうでない鍵もあります。
1982 \begin_layout Labeling
1983 \labelwidthstring 00.00.0000
1987 \begin_inset CommandInset nomenclature
1988 LatexCommand nomenclature
1996 LyXにはタブストップのようなものはありません。これがどういう意味かお分かりにならない場合は、第
1997 \begin_inset CommandInset ref
1999 reference "sec:段落の字下げと分け方"
2004 \begin_inset CommandInset ref
2006 reference "sec:段落環境"
2011 \begin_inset CommandInset ref
2013 reference "sec:箇条書き"
2017 節をお読み下さい。それでも分からない場合には、『
2022 \begin_inset Newline newline
2025 LyXでは、タブ鍵は、入力補完で候補を受諾するときと、表中または数式の行列中でカーソルを移動するとき、或は箇条書き(記号)または箇条書き(連番)で入れ子の深度を
2029 \begin_layout Labeling
2030 \labelwidthstring 00.00.0000
2034 \begin_inset CommandInset nomenclature
2035 LatexCommand nomenclature
2037 description "エスケープキー"
2043 これは「取り消し鍵」です。これは、一般的に、操作を取り消す場合に使います。詳しくは、この取扱説明書の他の場所で説明されます。
2046 \begin_layout Labeling
2047 \labelwidthstring 00.00.0000
2056 これらはカーソルを行の先頭または最後に移動させます。ただし、Emacs鍵バインドを使っている場合には、文章の先頭または最後にカーソルを移動させます。
2059 \begin_layout Labeling
2060 \labelwidthstring 00.00.0000
2064 \begin_layout Labeling
2065 \labelwidthstring 00.00.0000
2075 \begin_inset CommandInset nomenclature
2076 LatexCommand nomenclature
2078 description "コントロールキー"
2082 で表されます。)これはどの鍵と組み合わせるかによって、いくつかの異なった使い方があります:
2086 \begin_layout Itemize
2095 と一緒に使うと、1文字ではなく一つの単語を削除します。
2098 \begin_layout Itemize
2107 と使うと文字単位ではなく、単語単位で移動します。
2110 \begin_layout Itemize
2119 と使うと文章の初め、または終りに移動します。
2123 \begin_layout Labeling
2124 \labelwidthstring 00.00.0000
2134 \begin_inset CommandInset nomenclature
2135 LatexCommand nomenclature
2141 で表されます。)これをどの移動鍵と一緒に使っても、前のカーソルの位置と新しいカーソルの位置の間のテキストを選択できます。
2144 \begin_layout Labeling
2145 \labelwidthstring 00.00.0000
2155 \begin_inset CommandInset nomenclature
2156 LatexCommand nomenclature
2158 description "メタキーまたはAltキー"
2162 で表されます。)キーボードにAlt鍵と独立してMeta鍵がない限りは、多くのキーボードにおいて、これはAlt鍵です。両方の鍵がある場合には、どちらの鍵が、実際に
2166 機能を果たしているのかを確かめる必要があります。この鍵は多くのさまざまな役割を果たしますが、そのうちの一つに、
2170 を有効にする役割があります。もしこの鍵を、メニューやメニュー項目で下線が引いてある文字と一緒に押すと、そのメニュー項目を選ぶことができるのです。
2174 \begin_layout Standard
2178 \begin_inset space ~
2182 \begin_inset space ~
2186 \begin_inset space ~
2191 」の順で押すと、「文字様式」メニューが呼び出されます。「
2194 \begin_inset space ~
2206 \begin_layout Standard
2208 \begin_inset Flex Ruby
2211 \begin_layout Plain Layout
2217 \begin_inset Argument post:1
2220 \begin_layout Plain Layout
2239 鍵に割り当てられているすべての機能が掲げてあります。
2243 \begin_layout Standard
2244 何らかの動作を行うと、ほとんどの場合、LyXのメインウィンドウ下にあるステータスバーに、いま行った動作名と、その動作に結びつけられた鍵割り当てが表示されますので
2245 、LyXを使っていくにしたがって、次第に鍵割り当てと
2246 \begin_inset Flex Ruby
2249 \begin_layout Plain Layout
2251 \begin_inset Argument post:1
2254 \begin_layout Plain Layout
2265 を覚えていくことができるでしょう。LyXのメニューにも定義されている鍵割り当てが表示されます。鍵割り当ての表記は、この文書の表記とたいへん似ているので、理解する
2266 のに困難はないでしょう。ただ、Shift修飾鍵は、明示的に表記されるようになっていますので、「
2281 \begin_layout Chapter
2285 \begin_layout Section
2287 \begin_inset Index idx
2290 \begin_layout Plain Layout
2291 ふんしよ@文書 ! がた@------型
2299 \begin_layout Subsection
2303 \begin_layout Standard
2304 \begin_inset Index idx
2307 \begin_layout Plain Layout
2308 Lyx@LyX ! のきほん@------の基本
2317 の文章を編集するかを決める必要があります。異なる型の文章は、余白取りもヘッダや番号のつけ方も異なりますし、使うことのできる段落環境や文書のタイトルの書式も異なり
2321 \begin_layout Standard
2326 は、その種類の文章に共通なタイプセットのやり方を記述しています。文書クラスを設定すると、自動的にそのような特性を設定したことになり、自分の作りたいタイプの文章を
2327 簡単に作れます。もし文書クラスを設定しなかったら、LyXが既定の文書クラスを選びます。それよりも自分で文章のクラスを設定した方がいいでしょう。
2330 \begin_layout Standard
2331 LyXで使える文書クラスの情報、そしてそれをどう変えるかについてはこの続きを読んで下さい。
2334 \begin_layout Subsection
2336 \begin_inset Index idx
2339 \begin_layout Plain Layout
2364 \begin_inset CommandInset label
2373 \begin_layout Standard
2376 文書\SpecialChar \menuseparator
2380 \begin_inset Index idx
2383 \begin_layout Plain Layout
2384 ふんしよ@文書 ! せってい@------設定
2389 ダイアログで選択することができます。使用したいクラスを選択し、必要なオプションの微調整を行ってください。
2392 \begin_layout Subsubsection
2396 \begin_layout Standard
2397 LyXには、以下の4つの標準文書クラスがあります。
2400 \begin_layout Description
2404 \begin_layout Description
2408 \begin_layout Description
2412 \begin_layout Description
2416 \begin_layout Standard
2417 これら以外にも非標準のクラスがありますが、LyXでは、それらがすでに装備されているときにかぎり、それらを使うことができます。以下に主要な非標準クラスを挙げますが
2418 、完全な一覧と詳しい説明は、取扱説明書『高度な機能篇』の
2425 \begin_layout Description
2432 Astronomy and Astrophysics
2434 (天文学と天体物理学)』で用いられる形式および書式を備えた学術論文
2437 \begin_layout Description
2442 アメリカ化学学会(American Chemistry Society: ACS)発行の学術誌投稿用
2445 \begin_layout Description
2450 アメリカ地球物理学会(American Geophysical Union: AGU)発行の学術誌投稿用
2453 \begin_layout Description
2458 アメリカ数学会(American Mathematical Society:AMS)で用いられる形式および書式を備えた、論文用および書籍用のレイアウト。論文用
2459 レイアウトには3つの種類があります。標準のものは、定理番号等の前に節番号を付加する、定理等に典型的な連番スキームを使用します。結果に関する叙述(定理、命題、系等
2460 )には、共通した通し番号がつけられますが、定義や例の類には個別の通し番号がつけられます。「通し番号」スキームでは、節番号を付加せずに論文全体を通じた通し番号が付
2461 けられます。また、結果に関する叙述には、それぞれ別の通し番号が用いられます。また連番をまったくつけないレイアウトもあります。
2464 \begin_layout Description
2472 \begin_layout Description
2477 戯曲を書くためのレイアウト。既存のLaTeXの文書クラスではなく、LyXとともに新たに頒布されているものです。
2480 \begin_layout Description
2485 チェスゲームについて記すためのレイアウト
2488 \begin_layout Description
2492 \begin_inset space ~
2500 \begin_layout Description
2505 Elsevier出版グループの学術誌向けのレイアウト
2508 \begin_layout Description
2516 \begin_layout Description
2521 アメリカ映画産業向けのスペック・スクリプト(持ち込み原稿)を書くのに使われます。既存のLaTeXの文書クラスではなく、LyXとともに新たに頒布されているもので
2525 \begin_layout Description
2530 IEEE(電気電子学会)が発行する学術誌向けのレイアウト
2533 \begin_layout Description
2538 イギリス物理学会(IOP)出版グループの学術誌向けのレイアウト
2541 \begin_layout Description
2546 Kluwer出版グループの学術誌向けのレイアウト
2549 \begin_layout Description
2554 標準クラスの代替クラスであり、キャプション書式や印刷余白の自動計算など、多くの便利な機能を持っています。
2557 \begin_layout Description
2565 \begin_layout Description
2573 \begin_layout Description
2582 \begin_layout Plain Layout
2593 アメリカ物理学会(APS)やアメリカ物理学協会(AIP)、アメリカ光学会(OSA)の学術誌に投稿する論文を執筆するのに用いられます。このクラスは、
2594 LyXの全機能と互換性があるわけではありません。
2597 \begin_layout Description
2605 \begin_layout Description
2610 国際光工学会(SPIE)発行学術誌用のレイアウト
2613 \begin_layout Description
2618 Springer出版グループの学術誌向けのレイアウト
2621 \begin_layout Standard
2622 ここではこれらの文書クラスをどのように使うかについての詳細は説明しません。取扱説明書『
2626 』にこのような標準的でないクラスについての説明があります。ここでは次にすべての文書クラスに共通する性質を説明します。
2629 \begin_layout Subsubsection
2633 \begin_layout Standard
2636 文書\SpecialChar \menuseparator
2637 設定\SpecialChar \menuseparator
2641 \begin_inset Index idx
2644 \begin_layout Plain Layout
2645 ふんしよ@文書 ! せってい@------設定
2650 に列挙されている文書クラスの多くが、「利用不能」と記されていることにおそらく気付かれたのではないでしょうか。それらのクラスを使用した文書を開くと、出力を生成する
2651 ために必要なファイルが導入されていませんという警告が表示されます。これを見て、何か設定がおかしいのではないかと思われるかもしれません。
2654 \begin_layout Standard
2655 しかし、これは何も異常なことではありません。LyXには、あなたが必要とする以上の文書クラスが収録されており、
2659 など、そのうち一部は特定の目的に高度に特化したものです。LyXは、できる限り多様な種類の文書をサポートしようと努力しており、およそ100種にも及ぶレイアウトファ
2660 イルを収録して、その数はなお増加し続けています。これらの文書クラスに必要とされるすべてのファイルを、既定で導入するLaTeX頒布版は存在しません。あまりにも種類
2661 が多いのです。これが文書クラスのうち一部が利用不能となっているゆえんです。
2664 \begin_layout Standard
2665 もし使用したい文書クラスのうち「利用不能」と記されているものがある場合には、適切なパッケージファイルを導入してやる必要があります。どのファイルを導入する必要があ
2666 るかを確認する最も易しい方法は、その文書クラスを使った新規ファイルを作成することです。するとLyXは、不足しているファイルを列挙したダイアログを表示します。これ
2667 らを導入する方法については、取扱説明書『
2676 \begin_inset VSpace medskip
2682 \begin_layout Standard
2683 LyXは、多様な文書に対してサポートを提供していますが、人々が使用したいと思う文書クラスすべてに対してサポートを行っているわけではありません。たとえば、多くの大
2684 学が、大学への博士論文提出用のLaTeXクラスファイルを提供しています。LyX開発チームは、これらを一つずつサポートするためにレイアウトファイルを書くわけにはい
2685 きません。あまりにも多すぎるのです。さいわい、ユーザーは自分自身のレイアウトファイルを書くことができ、実際に多くのユーザーがそうしています。取扱説明書『
2689 』の第5章に、レイアウトファイルの作成のしかたに関する情報があります。
2692 \begin_layout Subsubsection
2694 \begin_inset CommandInset label
2701 \begin_inset Index idx
2704 \begin_layout Plain Layout
2705 ふんしよ@文書 ! もじゅーる@モジュール
2713 \begin_layout Standard
2714 モジュールは、選択した文書クラスでは既定では利用できない機能を文書に追加します。例えば、点字を文書中で書きたいものとしましょう。点字はもちろんどの文書クラスでも
2717 文書\SpecialChar \menuseparator
2721 \begin_inset Index idx
2724 \begin_layout Plain Layout
2725 ふんしよ@文書!せってい@------設定
2734 面で対応するモジュールを読み込ませなくてはなりません。ダイアログでモジュールを選択状態にすると、そのモジュールの説明が表示されます。
2737 \begin_layout Standard
2738 モジュールのうちには、既定では必ずしも導入されていないLaTeXパッケージやファイル書式変換子を必要とするものがあります。必要とされるパッケージやファイル書式変
2739 換子がない場合には、LyXは警告を発して、具体的に何が足りないかを示します。これを無視しても、ファイルを編集している間は、モジュールを使用することができますが、
2740 必要な構成物なしには、LyXがLaTeXファイルをコンパイルすることができないので、PDFに書き出したり文書を印刷したりすることはできません。出力を生成したい場
2743 ツール\SpecialChar \menuseparator
2746 を選択して、LyXを環境構成する必要があります
2747 \begin_inset Index idx
2750 \begin_layout Plain Layout
2751 Lyx@LyX ! のかんきょうこうせい@------の環境構成
2756 。必要なパッケージを導入する方法については、取扱説明書『
2767 \begin_layout Standard
2768 \begin_inset Note Greyedout
2771 \begin_layout Plain Layout
2776 モジュールのうちには、他のモジュールを必要とするものがある一方で、お互いに互換性のないモジュールもあります。LyXは、これらの問題がある場合には、その情報を表示
2785 \begin_layout Subsubsection
2787 \begin_inset CommandInset label
2789 name "sub:ローカルレイアウト"
2794 \begin_inset Index idx
2797 \begin_layout Plain Layout
2798 ふんしよ@文書 ! ろーかるれいあうと@ローカルレイアウト
2806 \begin_layout Standard
2807 LyXにとってのモジュールは、LaTeXにおけるパッケージのようなものです。これらは、いろいろな文書で用いられることを意図したもので、別の文書で頻繁に同じような
2808 ことを必要とすることがわかった場合には、その目的用のモジュールを書くことを考えたほうが良いでしょう。しかしながら、特定の文書が非常に特別なものを必要としており、
2809 特殊な差込枠や文字様式を必要としているけれども、一度限りしか使わないということもあるでしょう。つまり、文書にLaTeXプリアンブルのようなものを欲しいわけです。
2810 この時に便利なのが、LyXの「ローカルレイアウト」です。この使い方については、取扱説明書『
2821 \begin_layout Subsubsection
2825 \begin_layout Standard
2826 各クラスには、既定のオプションの組があります。以下の一覧表は、その簡単な説明です。
2829 \begin_layout Standard
2830 \begin_inset VSpace 0.3cm
2836 \begin_layout Standard
2838 \begin_inset Tabular
2839 <lyxtabular version="3" rows="5" columns="5">
2840 <features rotate="0" tabularvalignment="middle">
2841 <column alignment="center" valignment="top" width="0pt">
2842 <column alignment="center" valignment="top" width="0pt">
2843 <column alignment="center" valignment="top" width="0pt">
2844 <column alignment="center" valignment="top" width="0pt">
2845 <column alignment="center" valignment="top" width="0pt">
2847 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2850 \begin_layout Plain Layout
2856 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2859 \begin_layout Plain Layout
2867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2870 \begin_layout Plain Layout
2878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2881 \begin_layout Plain Layout
2889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2892 \begin_layout Plain Layout
2900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2903 \begin_layout Plain Layout
2909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2912 \begin_layout Plain Layout
2920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2923 \begin_layout Plain Layout
2931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2934 \begin_layout Plain Layout
2942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2945 \begin_layout Plain Layout
2955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2958 \begin_layout Plain Layout
2964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2967 \begin_layout Plain Layout
2975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2978 \begin_layout Plain Layout
2986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2989 \begin_layout Plain Layout
2997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3000 \begin_layout Plain Layout
3010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3013 \begin_layout Plain Layout
3019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3022 \begin_layout Plain Layout
3030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3033 \begin_layout Plain Layout
3041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3044 \begin_layout Plain Layout
3052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3055 \begin_layout Plain Layout
3065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3068 \begin_layout Plain Layout
3074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3077 \begin_layout Plain Layout
3085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3088 \begin_layout Plain Layout
3096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3099 \begin_layout Plain Layout
3107 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3110 \begin_layout Plain Layout
3124 \begin_layout Standard
3125 \begin_inset VSpace 0.3cm
3131 \begin_layout Standard
3132 おそらく「節分け最上位階層」とはどういう意味だろうと思っているでしょう。節の見出しを使える段落環境は、いくつかあります。異なった文書クラスでは、異なった節の見出
3133 しを使うことが出来ます。2つの文書クラスだけが
3145 から始まります。letter文書クラスでは、節の見出しは使えません。
3162 \begin_inset CommandInset ref
3171 \begin_layout Subsection
3173 \begin_inset CommandInset label
3180 \begin_inset Index idx
3183 \begin_layout Plain Layout
3184 ふんしよ@文書!れいあうと@------レイアウト
3190 \begin_inset Index idx
3193 \begin_layout Plain Layout
3194 ふんしよ@文書!せってい@------設定
3202 \begin_layout Standard
3205 文書\SpecialChar \menuseparator
3216 フィールドには、現在の文書クラスに与える特別なオプションを、コンマ区切りの形で列挙することができますが、この方法は、現在の文書で使いたい特別なオプションをLyX
3217 がサポートしていないときのみ必要になります。ご使用になりたいLaTeXクラスとそのオプションの詳細を知るには、そのLaTeXクラスの取扱説明書を読む必要がありま
3221 \begin_layout Standard
3224 文書\SpecialChar \menuseparator
3235 ドロップボックスは、どのようなヘディングとページ番号が各ページに現れるかを制御します。以下の5つの選択肢があります。
3238 \begin_layout Labeling
3239 \labelwidthstring 00.00.0000
3244 現在のクラスの既定のページ形式を使います。
3247 \begin_layout Labeling
3248 \labelwidthstring 00.00.0000
3256 \begin_layout Labeling
3257 \labelwidthstring 00.00.0000
3265 \begin_layout Labeling
3266 \labelwidthstring 00.00.0000
3271 ページ番号と、そのページの章か節の名前と番号をいれます。現在の章を使うか節を使うかは、そのクラスの節分け最上位階層に依存します。
3274 \begin_layout Labeling
3275 \labelwidthstring 00.00.0000
3285 \begin_inset Index idx
3288 \begin_layout Plain Layout
3289 latexはつけじ@LaTeXパッケージ ! fancyhdr
3294 パッケージが装備されていれば、完全にカスタマイズできるヘッダとフッタを生成することができます。定義の内容については、第
3295 \begin_inset CommandInset ref
3297 reference "sec:ユーザ設定ページヘッダ"
3304 \begin_layout Standard
3306 \begin_inset CommandInset ref
3308 reference "sub:段落の分け方"
3315 \begin_layout Subsection
3317 \begin_inset Index idx
3320 \begin_layout Plain Layout
3321 ふんしよ@文書!ようしすんぽう@用紙寸法
3327 \begin_inset CommandInset label
3336 \begin_layout Standard
3339 文書\SpecialChar \menuseparator
3346 メニューには、以下のオプションがあります。
3347 \begin_inset Index idx
3350 \begin_layout Plain Layout
3351 ふんしよ@文書!せってい@------設定
3359 \begin_layout Labeling
3360 \labelwidthstring 00.00.0000
3365 印刷する用紙寸法を選びます。選べるのは、次のサイズです。
3369 \begin_layout Itemize
3375 \begin_layout Itemize
3381 \begin_layout Itemize
3387 \begin_layout Itemize
3393 \begin_layout Itemize
3396 USレター, USリーガル, USエグゼクティブ
3399 \begin_layout Itemize
3405 \begin_layout Itemize
3412 \begin_layout Labeling
3413 \labelwidthstring 00.00.0000
3429 \begin_layout Labeling
3430 \labelwidthstring 00.00.0000
3435 印刷の余白を両面印刷用に調整します。これは、奇数ページと偶数ページで余白が変わることを意味します。
3438 \begin_layout Subsection
3440 \begin_inset Index idx
3443 \begin_layout Plain Layout
3444 ふんしよ@文書!のよはく@------の余白
3450 \begin_inset CommandInset label
3457 \begin_inset Index idx
3460 \begin_layout Plain Layout
3469 \begin_layout Standard
3472 文書\SpecialChar \menuseparator
3474 \begin_inset Index idx
3477 \begin_layout Plain Layout
3478 ふんしよ@文書!せってい@------設定
3488 \begin_layout Standard
3489 KOMA-Script文書クラスをお使いの時は、既定値で使って構いません。KOMA-Scriptは、用紙書式とフォント寸法を考慮に入れて、印刷余白を自動的に計算
3493 \begin_layout Subsection
3497 \begin_layout Standard
3502 を新しいクラス用に変換する必要があります。変換が必要なものには、段落環境も含まれます。段落環境のいくつかは標準的なもので、すべての文書クラスに備わっていますが、
3503 文書クラスによっては、特殊な段落環境を持っている場合があります。このような場合に、文書クラスが変更されると、LyXはもはや未知のものとなった段落を「解釈不能」と
3504 マークします。旧文書クラスに戻りたいと思ったときのために、段落様式名は維持されます。しかしこれらの段落は、特別な整形をされることなしに出力されてしまうので、新し
3505 い段落様式を自分で作り出すか、新しい文書クラスに既存の段落様式に手動で変更する必要があります。
3508 \begin_layout Section
3510 \begin_inset Index idx
3513 \begin_layout Plain Layout
3514 だんらく@段落!のじさげ@------の字下げ
3522 \begin_layout Subsection
3524 \begin_inset CommandInset label
3526 name "sec:段落の字下げと分け方"
3533 \begin_layout Standard
3534 色々な段落環境を説明する前に、段落の字下げについて少し説明しておきましょう。
3537 \begin_layout Standard
3538 段落の分け方については、すべての人がそれぞれの慣習を持っているようです。ほとんどのアメリカ人は、段落の最初の行を字下げします。一方で、字下げをせずに、段落間にス
3539 ペースを入れる人もいます。段落を字下げすることを選択した場合には、節の
3543 段落や、図・数式・表・リストなどの後の段落では、字下げは
3547 。ある段落の後の段落のみ字下げされます。しかし、英語でない文書言語を用いるときには、字下げの挙動は異なることに注意してください。LaTeXが、使用言語のルールに
3551 \begin_layout Standard
3552 行間や、ヘッダと本文の間の余白など、段落間の余白—実のところ、ほとんどすべてのことに関する余白—は、LyXに前もって組み込まれています。これまで述べてきたように
3553 、あれこれのあいだにどれだけ余白を空けるかといったことに、あなたが気を使う必要はまったくありません。それはLyXがやることです。実は、それらの組み込まれた余白は
3554 、固定値ではなく範囲で与えられています。これによってLyXは、図がページの中で本文とうまく収まるようにしたり、節がページの最後から始まったりしないようにするため
3555 に、行間を伸ばしたり縮めたりすることができるのです
3559 \begin_layout Plain Layout
3560 これは、LyXが印刷可能なファイルを生成する時に LaTeXが行います。
3565 。しかし、組み込まれているといっても、ユーザーが余白を変えることができないということを意味するわけではありません。LyXは、これらの組み込まれた余白の
3569 を、全般的に変更できる余地を提供しています。これについては後に詳述します。
3572 \begin_layout Subsection
3574 \begin_inset CommandInset label
3581 \begin_inset Index idx
3584 \begin_layout Plain Layout
3585 だんらく@段落!のわけかた@------の分け方
3593 \begin_layout Standard
3596 文書\SpecialChar \menuseparator
3600 \begin_inset Index idx
3603 \begin_layout Plain Layout
3622 サブメニューの中で、段落を字下げするか段落間に余白を追加するかにしたがって、
3633 \begin_layout Subsection
3637 \begin_layout Standard
3638 文章全体ではなく、一つの段落だけに対して段落の区切り方を変えることもできます。現在の段落の状態を変更するには、
3640 編集\SpecialChar \menuseparator
3648 \begin_inset Flex Ruby
3651 \begin_layout Plain Layout
3653 \begin_inset Argument post:1
3656 \begin_layout Plain Layout
3670 arg "paragraph-params \\indent-toggle"
3673 )。段落が、行頭下げではなく余白で区切られている場合には、このボタンは無視されます(これを切り替えることによって、個別の段落を字下げすることはできません)。
3676 \begin_layout Standard
3677 何らかの微調整が必要な場合以外には、個別の段落の字下げ方法を変更する必要はないはずです。
3680 \begin_layout Subsection
3682 \begin_inset Index idx
3685 \begin_layout Plain Layout
3712 \begin_layout Standard
3715 文書\SpecialChar \menuseparator
3719 \begin_inset Index idx
3722 \begin_layout Plain Layout
3723 ふんしよ@文書!せってい@------設定
3732 サブメニューで行間を設定することができます
3736 \begin_layout Plain Layout
3737 この機能を使うためには、LaTeXパッケージのsetspaceが装備されている必要があります。
3744 編集\SpecialChar \menuseparator
3747 ダイアログを使えば、段落毎に設定することもできますが、通常、垂直余白は環境様式中で定義されているので、これを使用するのは非常に例外的な場合にのみ留めるべきです。
3750 \begin_layout Section
3752 \begin_inset CommandInset label
3759 \begin_inset Index idx
3762 \begin_layout Plain Layout
3763 だんらく@段落!かんきょう@------環境
3767 \begin_layout Plain Layout
3782 \begin_layout Subsection
3786 \begin_layout Standard
3790 \begin_layout Standard
3809 \begin_inset Newline newline
3812 コマンドに対応するものです。もしLaTeXを知らなかったり、段落環境がどういうものか見当もつかない場合は
3824 』にはこの節よりも多くの例も含まれています。
3827 \begin_layout Standard
3828 段落環境とは、その段落に特定の性質を与える、段落の「入れもの」に過ぎません。ここでいう性質には、特定の様式のフォントやいろいろな余白、連番の振り方、ラベルなどが
3829 含まれます。さらに、ある段落環境を別の段落環境の中に「入れ子」状に入れて、上位段落環境から性質の一部を継承させることができます。一連の段落環境を使うことによって
3830 、ややこしいタブストップや執筆作業中の余白調整や、その他タイプライタ時代からの遺物を一掃することができるようになります。特定の文章型にのみ使われる段落環境もあり
3831 ますが、ここでは最も一般的なものだけを取り上げることにします。
3834 \begin_layout Standard
3835 新しい段落環境を選ぶためには、ツールバーの左端のプルダウンボックス
3836 \begin_inset Graphics
3837 filename clipart/ToolbarEnvBox.png
3842 を使って下さい。LyXは、カーソル位置の
3846 の環境を変更します。また、新しい環境を選ぶ前に複数の段落を選択しておくと、選択した段落全ての環境を変えることができます。
3849 \begin_layout Standard
3866 段落環境で作られます。「一般的には」と言うのは、以下の環境の中では、
3874 にリセットされずに、前の段落の環境が維持されるからです。
3877 \begin_layout Itemize
3883 \begin_layout Itemize
3889 \begin_layout Itemize
3895 \begin_layout Itemize
3901 \begin_layout Itemize
3907 \begin_layout Itemize
3913 \begin_layout Itemize
3919 \begin_layout Standard
3928 に初期化せず、それまでの段落環境を引き継ぎます。入れ子階層の深さも保存されます(入れ子については第
3929 \begin_inset CommandInset ref
3938 \begin_layout Subsection
3942 \begin_layout Standard
3943 ほとんどのクラスの既定の段落環境は、標準です。これは特別な性質を持たない、普通の段落を作ります。もしLyXがある段落環境をリセットして新しい段落を作る場合は、こ
3944 れが選ばれます。実際あなたが読んでいるこの(そしてこの取扱説明書のほとんどの)段落が
3951 \begin_layout Standard
3956 環境を入れることができますが、他の環境を標準環境の中に入れることはできません。
3959 \begin_layout Subsection
3961 \begin_inset Index idx
3964 \begin_layout Plain Layout
3965 ふんしよ@文書!たいとる@------タイトル
3973 \begin_layout Standard
3974 LaTeXのタイトルページは3つの部分を持っています。タイトルそれ自身と著者の名前、それと著者の連絡先や謝辞を書いた脚注です。あるタイプの文章では、LaTeXは
3975 これらすべてと今日の日付を独立したページに印刷します。また別のタイプの文章では「タイトル」ページは文章の一番はじめのページの上の方に印刷されます。
3978 \begin_layout Standard
3979 LyXはタイトルページ用のコマンドへのインターフェイスを
3991 という3つの段落環境の形で用意しています。使い方は、
3994 \begin_layout Itemize
4002 \begin_layout Itemize
4010 \begin_layout Itemize
4011 もし特定の日付を入れたい場合や、今日の日付の場所に別のテキストを入れたい場合には、それを
4019 環境はオプションです。入れる必要はありません。
4023 環境がない場合には、LaTeXは自動的に今日の日付を入れます。日付を入れたくない時は、
4025 文書\SpecialChar \menuseparator
4026 設定\SpecialChar \menuseparator
4036 \begin_layout Standard
4037 また脚注を使って、謝辞や著者の連絡先を入れることができます。
4040 \begin_layout Subsection
4042 \begin_inset Index idx
4045 \begin_layout Plain Layout
4052 \begin_inset CommandInset label
4061 \begin_layout Standard
4062 節見出しを作るために、いくつかの段落環境があります。LyXが見出しの番号を自動的につけてくれます。
4065 \begin_layout Subsubsection
4067 \begin_inset Index idx
4070 \begin_layout Plain Layout
4071 せつみだし@節見出し!ばんごうつき@番号付き------
4079 \begin_layout Standard
4080 次の7種類の番号付きの見出しがあります。
4083 \begin_layout Enumerate
4089 \begin_layout Enumerate
4095 \begin_layout Enumerate
4101 \begin_layout Enumerate
4107 \begin_layout Enumerate
4113 \begin_layout Enumerate
4119 \begin_layout Enumerate
4125 \begin_layout Standard
4126 LyXは、これらの見出しに一連のピリオドで分けられた番号をつけます。この番号はあなたが読んでいるのは、文章のどこであるかを表しています。他の見出しと異なって、部
4127 の見出しはラテン数字で番号がつけられます。
4130 \begin_layout Standard
4131 これらの見出しによって文章はいくつかの部分へ分けられます。例えば本を書く場合を考えて下さい。一冊の本をいくつかの章へ分けるでしょう。LyXはこれと同じようなグル
4135 \begin_layout Itemize
4147 \begin_layout Itemize
4159 \begin_layout Itemize
4171 \begin_layout Itemize
4183 \begin_layout Itemize
4195 \begin_layout Itemize
4207 \begin_layout Standard
4208 \begin_inset Note Greyedout
4211 \begin_layout Plain Layout
4220 を節分けの一番高いレベルとして使っているわけではありません。その場合には
4232 \begin_layout Standard
4237 環境を使って見出しを作る場合には、(章番号.)節番号.小節の番号という形で番号をつけます。例えば、この取扱説明書の第2章の5番目の節の場合は「2.5」という番号が付け
4241 \begin_layout Subsubsection
4243 \begin_inset Index idx
4246 \begin_layout Plain Layout
4247 せつみだし@節見出し!ばんごうをつけない@番号を付けない------
4255 \begin_layout Standard
4256 番号を付けない見出しは、名称の終わりに「*」が付いています。これらは、目次に載らないこと以外は、番号付きの見出しと同じように働きます(第
4257 \begin_inset CommandInset ref
4259 reference "sec:目次と一覧"
4266 \begin_layout Subsubsection
4268 \begin_inset CommandInset label
4270 name "sub:番号の付け方-深度"
4277 \begin_layout Standard
4278 どの節レベルまで番号をつけるか、また目次ではどのレベルまで番号をつけるかを変更することができます。これは文書クラスで決まっている節のレベルを変えるものではありま
4287 までの節レベルを持っています。また別のクラスでは
4291 から始まります。同じように、すべての文書クラスがすべての節レベルに対して番号をつけるのではありません。ほとんどの文書クラスは
4299 には番号はつけません。しかし、この設定は変えることができます。
4302 \begin_layout Standard
4305 文書\SpecialChar \menuseparator
4309 \begin_inset Index idx
4312 \begin_layout Plain Layout
4313 ふんしよ@文書!せってい@------設定
4326 と名づけられたものは、節分けのどの階層の節見出しにまでLyXが番号を付けるべきかを制御します。もう一つのものは、目次に節見出しが現れるようにするかどうかを制御し
4330 \begin_layout Subsubsection
4332 \begin_inset Index idx
4335 \begin_layout Plain Layout
4336 せつみだし@節見出し!のたんしゅくけい@------の短縮形
4342 \begin_inset Argument 1
4345 \begin_layout Plain Layout
4352 \begin_inset CommandInset label
4361 \begin_layout Standard
4362 この節のように、節や章の見出しは、非常に長くなることがあります。水平方向の余白が限られている場合、これが問題を引き起こすことがあります。例えば、ページのヘッダが
4363 、現在の節のタイトルを表示するように設定されている場合、見出しが長すぎると、ページ余白にまではみ出して、ひどい仕上がりになりかねません。
4366 \begin_layout Standard
4367 LaTeXでは、節見出しに短縮形を設定できるようになっています。この短縮形は、上述の問題を避けるのに、ヘッダと目次で使用されます。短縮形を指定するには、カーソル
4370 挿入\SpecialChar \menuseparator
4373 メニューを使用してください。すると、「見出し短縮形」と書かれたボックスが挿入されるので、そこに短縮形の文を入力します。これは、フロート内のキャプションにも使うこ
4374 とができます。短縮形は、見出し一つにつき、一つだけ付けることができます。
4377 \begin_layout Standard
4378 本節の見出しは、この機能を使った一例になっています。
4381 \begin_layout Subsubsection
4385 \begin_layout Standard
4386 次のことはすべての節見出し環境に共通することです。
4389 \begin_layout Itemize
4390 節見出し環境を入れ子にすることはできません。
4393 \begin_layout Itemize
4397 \begin_layout Itemize
4398 節見出し環境では、文中数式しか使えません。
4401 \begin_layout Itemize
4402 見出し番号を参照するのに、ラベルと相互参照を使うことができます。
4405 \begin_layout Subsection
4409 \begin_layout Standard
4410 LyXは詩を書いたり引用文を挿入するための、3つの段落環境を持っています。
4422 です。他のワードプロセッサなら引用文を挿入する場合には余白の調整、行間の変更が必要でしたが、この3つの段落環境を使えば自動的にやってくれます。この3つの環境はす
4423 べてマージンを広くして、挿入するテキストの上と下にスペースを追加します。これらは、入れ子にすることもできるので、例えば、
4434 \begin_layout Standard
4435 この3つの環境の特徴として、新しい段落をはじめても
4443 ことがあります。そのため詩を書いてる最中に環境が変わるのを心配すること無しに気楽に
4447 を押すことができます。ただし、そのかわりに詩を書き終ったら、自分で
4454 \begin_layout Subsubsection
4456 \begin_inset CommandInset label
4463 \begin_inset Index idx
4466 \begin_layout Plain Layout
4475 \begin_layout Standard
4476 さて今までは3つの環境の共通点を説明してきましたが、ここで違いについて説明しましょう。
4488 は段落を分けるのに段落間にスペースを入れますが、
4496 最初の行を字下げすることで段落を分けます。
4499 \begin_layout Standard
4512 環境です。どんどん書いていってあげましょう。この行をどんどん延ばして、改行するところまで持っていきましょう。ほら、字下げしないでしょう?
4516 ここは、同じ引用の第2段落です。ここでも字下げはありません。ただし、私のいるこの段落と上の段落の間には、余白が設けられます。
4519 \begin_layout Standard
4527 \begin_layout Quotation
4532 環境です。どんどん書いていくと、字下げしていることが分かるでしょう。もしあなたが、第一行を字下げして新しい段落が始まったことを示すような記法を使っている国にいる
4537 はあなた向けの環境です!もちろん、どこかの文章を引用すると仮定しての話です。
4540 \begin_layout Quotation
4541 ここは新しい段落です。選挙のときの政治家みたいにくだらないことをぐだぐだと書き続けてみましょう。本当にそうしたら、きっとあなたは退屈するでしょうが。
4544 \begin_layout Standard
4549 は段落を分けるのにスペースを使う人のための環境で、
4553 は、字下げを段落を分けるのに使う人のための環境です。
4556 \begin_layout Subsubsection
4558 \begin_inset Index idx
4561 \begin_layout Plain Layout
4568 \begin_inset Index idx
4571 \begin_layout Plain Layout
4578 \begin_inset CommandInset label
4587 \begin_layout Standard
4592 は、詩や韻文などを書くための段落環境です。次の例を見て下さい。
4597 \begin_inset Newline newline
4604 あしきものはさらにあしきものとならざるべからず。その流れはとどまるところをしらざるものとなり、倦むことをしらざるほどに、ながく、またながく、うたかたの流れもたえ
4605 ざるほどに、またこの行も改行せんほどにながくのびていく。画面においてはよからん、されど印字した場合にはいかほどや。そこにおいては、後の行は最初の行よりも少しだけ
4606 字下げされん。だんだん散文になってきて韻も踏めないのでやめましょう。叱ってん
4607 \begin_inset Formula $\heartsuit$
4615 \begin_inset Newline newline
4619 \begin_inset Newline newline
4625 arg "newline-insert newline"
4631 \begin_layout Standard
4636 は段落を分けるのに字下げをしません。また詩の一連が一つの段落になっています。一連の中で行を分けるには、
4639 arg "newline-insert newline"
4649 \begin_layout Subsection
4651 \begin_inset Index idx
4654 \begin_layout Plain Layout
4661 \begin_inset CommandInset label
4670 \begin_layout Standard
4671 LyXは、箇条書きを作るために4つの段落環境を持っています。
4679 環境では、LyXは各々の項目の前に小さい印か番号をつけます。
4687 環境では、自分で各項目のラベルをつけることができます。まずこの4つの環境に共通することを説明して、それから各々の環境について説明することにしましょう。
4690 \begin_layout Subsubsection
4694 \begin_layout Standard
4695 この4つの箇条書きを作る環境は、さまざまな面で他の環境と異なります。まず初めに、LyXは各々の段落を箇条書きの項目として扱います。
4707 、新しい箇条書きの項目が作られます。ここで、環境の入れ子の階層は維持されます。段落環境は変えないで、現在の階層だけをリセットしたい場合は、
4712 arg "paragraph-break inverse"
4717 を使って改行します。箇条書きの最上位層でこうすると、
4724 \begin_layout Standard
4725 これらの環境の中に、任意の箇条書き環境を入れることもできます。実際、いくつかの箇条書き環境では、入れ子の深さによってLyXがラベルを変えます。リスト環境を入れ子
4727 \begin_inset CommandInset ref
4736 \begin_layout Subsubsection
4738 \begin_inset Index idx
4741 \begin_layout Plain Layout
4748 \begin_inset CommandInset label
4757 \begin_layout Standard
4762 段落環境を説明しましょう。この段落環境は次のような性質を持っています。
4765 \begin_layout Itemize
4766 各々の項目は小さい印(シンボル)をラベルとして使います。
4770 \begin_layout Itemize
4771 同じ入れ子の深さの場合、同じシンボルが使われます。
4774 \begin_layout Itemize
4779 \begin_layout Itemize
4780 項目の長さは制限されません。LyXは自動的に各項目の左余白を調整します。そして、左余白の大きさは
4787 \begin_layout Itemize
4796 環境を入れると項目のラベルのシンボルが変わります。
4800 \begin_layout Itemize
4801 4つの異なるシンボルがあって、4段階の入れ子の深さに対応しています。
4804 \begin_layout Itemize
4805 画面上では、つねに同じシンボルを表示されます。
4808 \begin_layout Itemize
4810 \begin_inset CommandInset ref
4820 \begin_layout Standard
4829 環境は順序が問題にならないようなリストを作るのに向いた環境です。
4832 \begin_layout Standard
4833 違うレベルでは違うシンボルがラベルとして使われると言いましたが、それを見てみましょう。次の例では4つのすべてのシンボルを使っています。
4836 \begin_layout Itemize
4845 \begin_layout Itemize
4846 2番目のレベルのシンボルはダッシュ(-)です。
4850 \begin_layout Itemize
4851 3番目のレベルのラベルはアステリスク(*)です。
4855 \begin_layout Itemize
4856 4番目のレベルのラベルは小さな黒丸です。
4860 \begin_layout Itemize
4865 \begin_layout Itemize
4870 \begin_layout Itemize
4874 \begin_layout Standard
4879 のラベルです。これらのラベルの出力中での表示は、
4881 文書\SpecialChar \menuseparator
4885 \begin_inset Index idx
4888 \begin_layout Plain Layout
4889 ふんしよ@文書!せってい@------設定
4898 メニューで変更することができます。これらの変更は、LyX中での表示には反映されません。
4901 \begin_layout Standard
4902 上の例を見ると、項目間の距離もレベルが増すに連れ減って行くのもわかると思います。環境を入れ子にする方法と、そうした場合のヒントが第
4903 \begin_inset CommandInset ref
4909 節で説明されてます。読むのを忘れないで下さい。
4912 \begin_layout Subsubsection
4914 \begin_inset Index idx
4917 \begin_layout Plain Layout
4924 \begin_inset CommandInset label
4933 \begin_layout Standard
4938 環境は番号付きのリストやアウトラインを作るための道具です。これは次のような性質を持っています。
4941 \begin_layout Enumerate
4942 各々の項目は数字またはアルファベットをラベルとして使います。
4946 \begin_layout Enumerate
4947 ラベルの種類は入れ子の深さによって異なります。
4951 \begin_layout Enumerate
4952 LyXが項目の数を数えてラベルを自動的につけ、必要ならば更新します。
4955 \begin_layout Enumerate
4960 環境に入ると項目の番号は1にリセットされます。
4963 \begin_layout Enumerate
4976 \begin_layout Enumerate
4977 項目のレベルに応じて左マージンが変わります。項目の長さはどんな長さでも大丈夫です。
4980 \begin_layout Enumerate
4981 入れ子の深さに応じて項目間のスペースを減らして行きます。
4984 \begin_layout Enumerate
4985 入れ子の深さに応じて異なるラベルを使います。
4988 \begin_layout Enumerate
4993 \begin_layout Standard
5002 は各項目に異なったラベルをつけます。次の例で
5006 の4段階のレベルにLyXがつけるラベルを見て下さい。
5009 \begin_layout Enumerate
5010 一番目のレベルでは後ろにピリオド(.)が付いたアラビア数字がラベルに使われます。
5014 \begin_layout Enumerate
5015 2番目のレベルでは括弧で囲まれた小文字のアルファベットが使われます。
5019 \begin_layout Enumerate
5020 3番目のレベルでは後ろにピリオドが付いた小文字のローマ数字が使われます。
5024 \begin_layout Enumerate
5025 4番目のレベルでは後ろにピリオドの付いた大文字のアルファベットが使われます。
5028 \begin_layout Enumerate
5029 項目間の距離は入れ子の深さが深くなるに連れて狭くなって行くのに注意して下さい。
5033 \begin_layout Enumerate
5038 \begin_layout Enumerate
5043 \begin_layout Enumerate
5047 \begin_layout Standard
5052 環境中で使用する連番の型を指定することができます。第
5053 \begin_inset CommandInset ref
5055 reference "sub:箇条書きの微調整"
5059 章をご参照ください。ここで指定したものは、出力中には反映されますが、LyX中では反映されません。
5062 \begin_layout Standard
5067 環境を入れ子にすることに関しては、さらに述べるべきことがあります。より詳しくは、第
5068 \begin_inset CommandInset ref
5077 \begin_layout Subsubsection
5079 \begin_inset Index idx
5082 \begin_layout Plain Layout
5091 \begin_layout Standard
5096 環境では項目に付けるラベルは決まっていません。そのかわりにLyXは項目の1行目の1番初めの「単語」をラベルに使うのです。例を見て下さい。
5099 \begin_layout Description
5107 \begin_layout Standard
5108 LyXはラベルをボールド体にして、ラベルと残りの部分の間にスペースを入れます。
5111 \begin_layout Standard
5112 1番初めの「単語」という意味は、ある項目の1行目にいるとき、最初に
5117 \begin_inset Flex Ruby
5120 \begin_layout Plain Layout
5122 \begin_inset Argument post:1
5125 \begin_layout Plain Layout
5136 が打たれたところでラベルが終了するということです。もしラベルに2語以上を使う必要がある場合には、
5143 arg "command-alternatives math-space ; space-insert protected"
5148 挿入\SpecialChar \menuseparator
5149 整形\SpecialChar \menuseparator
5153 \begin_inset CommandInset ref
5155 reference "sub:水平方向の空白"
5162 \begin_layout Description
5164 \begin_inset space ~
5174 \begin_layout Description
5179 環境は定義、定理のようなものに使ったらいいでしょう。ある言葉を残りのテキストより目立つようにしたい場合に使えばいいのです。あることを説明する文章全体を
5183 環境にいれるのはやめた方がいいでしょう。その場合には
5198 \begin_layout Description
5207 環境の中に入れたり、他のリストや別の環境の中に入れることができます。
5210 \begin_layout Standard
5211 注意ですが、LyXは2行目以降を1行目に対してオフセットするのに気をつけて下さい。
5214 \begin_layout Subsubsection
5216 \begin_inset Index idx
5219 \begin_layout Plain Layout
5220 かしようかき@箇条書き!lyxりすと@LyXリスト
5228 \begin_layout Standard
5233 環境はLyXがLaTeXを拡張したものです。
5236 \begin_layout Standard
5245 環境はそれぞれの項目にユーザーが決めたラベルをつけます。
5249 環境と他の3つの環境の違いを説明しましょう。
5252 \begin_layout Labeling
5253 \labelwidthstring 00.00.0000
5254 項目ラベル LyXは項目の最初の「単語」をラベルに使います。最初の行の初めての
5258 がラベルと残りのテキストとの区切りになります。もし2つ以上の単語をラベルに使いたい場合は以前に説明した
5265 \begin_layout Labeling
5266 \labelwidthstring 00.00.0000
5267 余白 見ればわかるように、LyXはラベルと項目の本文とでは違う余白を使います。項目の本文にはより大きな余白がつかわれ、それは既定のラベルの幅に少しスペースを追加
5271 \begin_layout Labeling
5272 \labelwidthstring 00.00.0000
5273 ラベル幅 ラベルの幅には、LyXは実際のラベルの幅と既定のラベルの幅を比べて大きい方を使います。もし実際の幅の方が大きければラベルは本文の1行目に食い込みます。
5274 つまり、1行目はそれ以降の行と異なる左余白になります。
5277 \begin_layout Labeling
5278 \labelwidthstring 00.00.0000
5283 環境のすべての項目の本文が、同じ左余白を持つように、既定のラベル幅を設定することができます。
5284 \begin_inset Newline newline
5287 既定の幅を変更するには、リストのすべての項目を選択して、
5289 編集\SpecialChar \menuseparator
5296 と書かれたボックス内の文字列が既定のラベル幅を決定します。もっとも長いラベルの文字列をそのまま入力するか、あるいは文字「M」を複数個入れてもいいでしょう。文字「
5297 M」はアルファベット中でもっとも幅の広い文字なので、LaTeXでは幅を表す標準単位として用いられているのです。「M」を幅の単位として用いていれば、
5306 \begin_inset Newline newline
5309 あらかじめ定められた既定幅は、「00.00.0000」の文字列と同じ長さ(6M相当)になっています。
5312 \begin_layout Standard
5321 と同じように、ある単語をその説明文から目立つようにしたい場合に使用してください。
5329 と同じことを別のレイアウトで実現する方法です。
5332 \begin_layout Standard
5341 環境の中に入れ子にすることができます。これは、他の箇条書き環境と同様の動作をします。入れ子についての詳細は、第
5342 \begin_inset CommandInset ref
5351 \begin_layout Standard
5356 環境には、もう一つ特徴があります。例でわかるように、LyXは、既定で項目ラベルを左揃えにします。
5360 を追加すれば、LyXのラベルのそろえ方を変更することができます。
5365 \begin_inset CommandInset ref
5367 reference "sub:水平方向の空白"
5371 節で説明します。いくつかの例を見てみましょう。
5374 \begin_layout Labeling
5375 \labelwidthstring 00.00.0000
5383 \begin_layout Labeling
5384 \labelwidthstring 00.00.0000
5385 \begin_inset space \hfill{}
5395 \begin_layout Labeling
5396 \labelwidthstring 00.00.0000
5397 \begin_inset space \hfill{}
5401 \begin_inset space \hfill{}
5411 \begin_layout Subsection
5413 \begin_inset CommandInset label
5420 \begin_inset Index idx
5423 \begin_layout Plain Layout
5424 かしようかき@箇条書き! のひちようせい@------の微調整
5432 \begin_layout Standard
5433 本節で述べられている機能を使用するには、文書設定で
5437 モジュールを読み込まなくてはなりません。これは、LaTeX-packageの
5442 \begin_inset Index idx
5445 \begin_layout Plain Layout
5446 latexはつけじ@LaTeXパッケージ ! enumitem
5454 \begin_layout Subsubsection
5456 \begin_inset Index idx
5459 \begin_layout Plain Layout
5460 かしようかき@箇条書き! れんはん@連番 ! のちようせい@------の調整
5468 \begin_layout Standard
5470 連番箇条書きの番号の振り方の既定値は、箇条書きの各階層における最初の項目に、非必須引数を加えることで(
5472 挿入\SpecialChar \menuseparator
5475 メニュー)変更することができます。そこに、TeXコードで(
5476 \begin_inset Flex Ruby
5479 \begin_layout Plain Layout
5481 \begin_inset Argument post:1
5484 \begin_layout Plain Layout
5505 \begin_layout Plain Layout
5507 \begin_inset CommandInset ref
5509 reference "sec:TeXコード"
5521 \begin_layout Standard
5529 \begin_layout Standard
5531 というコマンドを書き加えてください。ここで、
5535 は、第1階層の連番のカウンタです。コマンド
5541 は、このカウントを、小文字のローマ数字で出力します。大文字のローマ数字を使うには、上記コマンド中の
5553 に置き換えてください。アラビア数字にするには、
5559 を使用します。項目に、大文字もしくは小文字のラテン文字で「連番」を付けたい場合には、それぞれ
5574 \begin_layout Standard
5576 \begin_inset Note Greyedout
5579 \begin_layout Plain Layout
5584 連番は1文字に限られているので、ラテン文字では26項目までしか連番を振ることはできません。
5592 \begin_layout Standard
5593 箇条書きの下位階層の連番を変更するには、コマンド中の「i」を、階層番号の小文字ローマ数字で置き換えてください(enumi, enumii, enumiii,
5597 \begin_layout Standard
5601 \begin_layout Enumerate
5602 \begin_inset Argument 1
5605 \begin_layout Plain Layout
5609 \begin_layout Plain Layout
5631 \begin_layout Enumerate
5632 \begin_inset Argument 1
5635 \begin_layout Plain Layout
5639 \begin_layout Plain Layout
5658 \begin_layout Enumerate
5663 \begin_layout Enumerate
5664 \begin_inset Argument 1
5667 \begin_layout Plain Layout
5671 \begin_layout Plain Layout
5691 \begin_layout Enumerate
5692 \begin_inset Argument 1
5695 \begin_layout Plain Layout
5699 \begin_layout Plain Layout
5721 \begin_layout Standard
5722 上記リストでは、以下のようなコマンドが使用されています。
5725 \begin_layout Standard
5736 \begin_inset Newline newline
5744 \begin_inset Newline newline
5752 \begin_inset Newline newline
5762 \begin_layout Standard
5778 \begin_layout Standard
5779 \begin_inset Note Greyedout
5782 \begin_layout Plain Layout
5787 リスト階層のラベルを変更したときには、再度定義を変更するまで、それ以降のすべてのリストで、それがずっと使われます。
5795 \begin_layout Subsubsection
5797 \begin_inset Index idx
5800 \begin_layout Plain Layout
5801 かしようかき@箇条書き! れんはん@連番 ! のふつき@------の復帰
5809 \begin_layout Standard
5810 以下のように、あいだに段落をはさんで、連番を復帰させることができます。
5813 \begin_layout Enumerate
5814 \begin_inset Argument 1
5817 \begin_layout Plain Layout
5821 \begin_layout Plain Layout
5836 \begin_inset Note Note
5839 \begin_layout Plain Layout
5848 \begin_layout Enumerate
5852 \begin_layout Standard
5856 \begin_layout Enumerate-Resume
5860 \begin_layout Standard
5865 を使用してください。連番がLyX中に青色で表示されて、これが復帰連番であることを示し、LyX中での番号は正しくないけれども、出力中では正しくなることを強調します
5869 \begin_layout Standard
5870 \begin_inset Note Greyedout
5873 \begin_layout Plain Layout
5878 前に復帰すべき連番がない場合には、LaTeXエラーが発生します。
5886 \begin_layout Standard
5887 箇条書きの連番を復帰させる際、次の番号ではない番号に復帰させたかったり、新しい連番を、指定した番号から始めたいことがあるかもしれません。これも、通常の連番箇条書
5888 きの最初の項目に、非必須引数を加えることで実現できます。非必須引数として、
5891 \begin_layout Standard
5897 \begin_layout Standard
5898 というコマンドを入力してください。ここで、「番号」は箇条書きを開始したい番号です。例:
5901 \begin_layout Enumerate
5905 \begin_layout Enumerate
5909 \begin_layout Standard
5913 \begin_layout Enumerate
5914 \begin_inset Argument 1
5917 \begin_layout Plain Layout
5921 \begin_layout Plain Layout
5936 \begin_layout Subsubsection
5938 \begin_inset Index idx
5941 \begin_layout Plain Layout
5942 かしようかき@箇条書き ! のよはく@------の余白
5950 \begin_layout Standard
5951 ときには、箇条書きの項目間の垂直方向の余白を、調整したい場合があります。例えば、以下の例の既定の余白が、大きすぎると感じたとしましょう。
5954 \begin_layout Itemize
5958 \begin_layout Itemize
5962 \begin_layout Standard
5963 上記箇条書きの最初の項目に、非必須引数を加えることで余白を詰めることができます。下記の例のように、箇条書きに追加される余白をなくすには、非必須引数にコマンド
5970 \begin_layout Itemize
5971 \begin_inset Argument 1
5974 \begin_layout Plain Layout
5978 \begin_layout Plain Layout
5993 \begin_layout Itemize
5997 \begin_layout Itemize
6001 \begin_layout Standard
6002 余白を広げるには、LaTeXパッケージの
6007 \begin_inset Index idx
6010 \begin_layout Plain Layout
6011 latexはつけじ@LaTeXパッケージ ! enumitem
6016 で提供されている、いくつかのコマンドを使用することができます。詳しくは、取扱説明書
6017 \begin_inset CommandInset citation
6026 \begin_layout Standard
6027 水平方向の余白や行頭下げを変更するためにも、多くのコマンドが使えます。下記の例は、行頭下げを、文書中の段落の行頭下げと同じにし、ラベル分離幅を2
6028 \begin_inset space \thinspace{}
6031 cmにして、番号がページ余白に置かれるようにしたものです。
6034 \begin_layout Enumerate
6035 \begin_inset Argument 1
6038 \begin_layout Plain Layout
6042 \begin_layout Plain Layout
6046 parindent, labelsep=2cm
6059 \begin_layout Enumerate
6063 \begin_layout Subsubsection
6065 \begin_inset Index idx
6068 \begin_layout Plain Layout
6069 かしようかき@箇条書き ! のひちようせい@------の微調整
6077 \begin_layout Standard
6078 記述箇条書きのスタイルを変更することも可能です。コマンド
6081 \begin_layout Standard
6087 \begin_layout Standard
6088 は、記述ラベルのフォントを変更し、コマンド
6091 \begin_layout Standard
6097 \begin_layout Standard
6101 \begin_layout Standard
6105 \begin_layout Standard
6110 itshape, style=nextline
6113 \begin_layout Standard
6117 \begin_layout Description
6119 \begin_inset Argument 1
6122 \begin_layout Plain Layout
6126 \begin_layout Plain Layout
6128 labelindent=0pt, labelsep=1cm, font=
6130 itshape, style=nextline
6140 電離放射線は、電子を原子や分子から分離させるに十分なエネルギーを持つ、素粒子や電磁波から成ります。
6143 \begin_layout Description
6144 参照カウント: コンピュータ科学において、参照カウントは、オブジェクト・メモリブロック・ディスク容量・その他のリソースへの、参照やポインタやハンドルの数を保管し
6148 \begin_layout Standard
6154 \begin_inset Index idx
6157 \begin_layout Plain Layout
6158 latexはつけじ@LaTeXパッケージ ! enumitem
6163 で提供されるコマンドや機能は、他にもたくさんあります。詳細は、取扱説明書
6164 \begin_inset CommandInset citation
6173 \begin_layout Subsection
6178 \begin_layout Plain Layout
6179 訳注: ここでは英文書簡の書き方について説明しています。日本語の書簡の場合とは違いますが、英文で書簡を書く必要がある場合には便利です。
6185 \begin_inset Index idx
6188 \begin_layout Plain Layout
6197 \begin_layout Subsubsection
6201 \begin_layout Standard
6202 LyXには書簡向け文書クラスもありますが、それとは別に私たちは、
6210 という2つの段落環境も追加することにしました。LaTeXでletterクラスを使う場合には、決まった順序で決まった段落環境を使う必要がありました。これを間違える
6211 とLaTeXは文章を無茶苦茶にしてしまうのです。これに比べて
6219 環境は文章のどこにでも問題なく使うことができます。また他の環境の中に入れることもできるのです。ただし、他の環境を
6230 \begin_layout Standard
6243 環境はいくつかのヨーロッパの学術雑誌で使われる論文のタイトルを作るのに便利です。
6246 \begin_layout Subsubsection
6248 \begin_inset CommandInset label
6257 \begin_layout Standard
6262 環境は、書簡の受取人の住所用に文章を整形します。この書式は、国によっては、(例えばDear Leslieのような)書簡の書き出しや差出人のサインのための名前を書
6267 環境は、差出人の住所や国によっては今日の日付を書くために、文章を右に寄せて整形します。
6274 \begin_layout Right Address
6276 \begin_inset Newline newline
6280 \begin_inset Newline newline
6284 \begin_inset Newline newline
6290 \begin_layout Standard
6295 です。これを見ればわかるようにすべての行の左余白が揃っています。この左余白は、一番長い行が一行に収まるように、LyXが調整します。今度は
6302 \begin_layout Address
6304 \begin_inset Newline newline
6308 \begin_inset Newline newline
6314 \begin_layout Standard
6323 も次の段落との間に余白を追加します。これらの環境の中で
6327 を押すと、LyXは入れ子の階層を戻して、環境も
6339 関数のことであって、一方で住所の各行は段落ではありませんから、これは自然な挙動です。したがって、もし
6354 arg "newline-insert newline"
6363 整形文字\SpecialChar \menuseparator
6366 を選んで下さい)を使わなければなりません。
6369 \begin_layout Subsection
6373 \begin_layout Standard
6374 ほとんどの学術論文は、概要に始まり書誌情報で終わります。LyXには、この2つのための段落環境もあります。
6377 \begin_layout Subsubsection
6379 \begin_inset Index idx
6382 \begin_layout Plain Layout
6391 \begin_layout Standard
6396 環境は、文字通り論文の概要を書くための環境です。この環境は文章のどこにでもおけるのですが、実際上はタイトルのすぐ後ろの本文の前におくべきです。
6400 環境はarticleまたはreport文書クラスにのみ有効です。bookクラスでは
6404 は完全に無視されますし、letter文書クラスで概要を使うのも、まったく馬鹿げたことでしょう。
6407 \begin_layout Standard
6412 環境がやってくれることを説明しましょう。第一に、「概要」というラベルを文章の上の中央につけてくれます。このラベルと要約との本文の間は広めのスペースによって分けら
6413 れます。第二に、概要には小さなフォントが使われます。最後に、概要とそれに続く文章の間にスペースを入れてくれます。以上は、LyX画面上での見え方です。実際の出力は
6414 、使っているのがarticleクラスであるかreportクラスであるかに依存します。
6417 \begin_layout Standard
6422 を押して新しい段落をはじめても環境は変わりません。新しい段落も
6426 環境の中です。だから概要を書き終った場合には、自分で段落環境を変える必要があります。
6429 \begin_layout Standard
6430 \begin_inset Float figure
6435 \begin_layout Plain Layout
6437 \begin_inset Graphics
6438 filename ../clipart/Abstract.pdf
6445 \begin_layout Plain Layout
6446 \begin_inset Caption Standard
6448 \begin_layout Plain Layout
6449 \begin_inset CommandInset label
6472 \begin_layout Standard
6477 環境の例を見せたいのですが、この取扱説明書が「book」クラスなのでできません。したがって第
6478 \begin_inset CommandInset ref
6480 reference "fig:概要環境内の段落"
6484 図として挿入しておきます。もし今まで概要を見たことも使ったことも無いのならこの環境を無視して大丈夫です。
6487 \begin_layout Subsubsection
6489 \begin_inset Index idx
6492 \begin_layout Plain Layout
6499 \begin_inset Index idx
6502 \begin_layout Plain Layout
6507 \begin_layout Plain Layout
6518 \begin_layout Plain Layout
6531 \begin_inset CommandInset label
6540 \begin_layout Standard
6545 環境は、書誌情報一覧を作るための環境です。この環境は文章のどこにでもおけるのですが、実際上は文章の終わりにおくべきです。
6549 環境を他の環境の中に入れたり、他の環境を
6553 環境の中に入れたりすると、動作しません。
6556 \begin_layout Standard
6561 環境を開くと、大きな垂直スペースの後に、文書クラスに依存して「Bibliography」や「References」といった見出しが、大きなボールドフォントで付け
6566 環境では、一つの段落が、一つの文献に対応しています。そのため、
6577 \begin_layout Standard
6578 他に、文書に書誌情報を入れる方法としては、------そして通常はこちらの方が良いと思われますが------BibTeXデータベースを使用する方法があります。こ
6579 れについての詳細と、LyXにおける書誌情報の取扱については、第
6580 \begin_inset CommandInset ref
6582 reference "sec:書誌情報"
6589 \begin_layout Subsection
6593 \begin_layout Standard
6594 LyXには、コンピュータのコンソール・端末やタイプライタの挙動をなぞらえるのに使われる環境が2つあります。
6597 \begin_layout Subsubsection
6601 \begin_inset Index idx
6604 \begin_layout Plain Layout
6611 \begin_inset CommandInset label
6620 \begin_layout Standard
6625 環境は、LyX独自の拡張です。この環境中では、文章は、タイプライタ様式のフォントで組版され、
6630 \begin_inset Flex Ruby
6633 \begin_layout Plain Layout
6635 \begin_inset Argument post:1
6638 \begin_layout Plain Layout
6653 \begin_layout Plain Layout
6679 環境は、LyX中で空白を連続して入れることのできる唯一の環境です。ただし空白行を入れたい場合には
6682 arg "newline-insert newline"
6697 で段落環境がリセットされるわけではありません。そのため
6701 環境を終わる場合には、自分で段落環境を変える必要があります。また
6705 環境を他の環境の中へ入れることができます。
6708 \begin_layout Standard
6709 この環境には、少しわかりにくい、いくつかの癖があります。
6712 \begin_layout Itemize
6716 arg "newline-insert newline"
6726 arg "newline-insert newline"
6732 \begin_layout Itemize
6735 arg "newline-insert newline"
6745 arg "command-alternatives math-space ; space-insert protected"
6751 \begin_layout Itemize
6752 何も入っていない段落や何も入っていない行を作ることはできません。空白にしたい行には、少なくとも一つの
6756 を入れて下さい。さもないと LaTeXがエラーを起こします。
6759 \begin_layout Itemize
6762 \begin_inset Quotes eld
6771 引用符が入力されてしまうので、タイプライタの二重引用符は入力できません。タイプライタの二重引用符を入力したい場合には
6774 arg "self-insert \""
6780 \begin_layout Standard
6784 \begin_layout LyX-Code
6788 \begin_layout LyX-Code
6792 \begin_layout LyX-Code
6796 \begin_layout LyX-Code
6800 \begin_layout LyX-Code
6801 printf("Hello World!
6806 \begin_layout LyX-Code
6810 \begin_layout LyX-Code
6814 \begin_layout Standard
6815 これは標準的な「Hello world!」のプログラムです。
6818 \begin_layout Standard
6823 の目的はただ一つ、プログラムソースやシェルスクリプトなどのコードを組版することです。この環境は、タイプライタを使ったような文字列を生成する必要があるような、非常
6824 に特別な場合にのみ使って下さい。長いプログラムコードについては、取扱説明書『埋込オブジェクト篇』の「
6828 」の節に説明されているリスト差込枠を使用してください。
6829 \begin_inset Index idx
6832 \begin_layout Plain Layout
6833 だんらく@段落!かんきょう@------環境
6846 \begin_layout Plain Layout
6861 \begin_layout Subsubsection
6863 \begin_inset Index idx
6866 \begin_layout Plain Layout
6873 \begin_inset Index idx
6876 \begin_layout Plain Layout
6877 むちょうせい@無調整(verbatim)
6885 \begin_layout Standard
6894 に類似の環境ですが、中身がコンピュータのコンソールテキストのように取り扱われる点が異なります。つまり、
6910 鍵は、(保護された空白ではなく)文中の通常の空白として取り扱われ、空白行を作ることもできます。
6918 環境では以下のことを行うことができません。
6921 \begin_layout Itemize
6925 \begin_layout Itemize
6926 ハイパーリンク・ボックス・脚注・傍注・注釈・数式・引用・目次項目・用語項目・ラベル・表・図・プログラムリスト・フロート・TeXコードを入れること
6929 \begin_layout Standard
6934 はタイプライタのように動作します。以下がその用例です。
6937 \begin_layout Verbatim
6939 これは無調整(verbatim)環境です。
6942 \begin_layout Verbatim
6949 \begin_layout Verbatim
6953 \begin_layout Verbatim
6957 \begin_layout Verbatim
6959 右記の各文字を始め、ほぼすべての文字が使えます。例:"%&$§#~'`
6964 \begin_layout Section
6966 \begin_inset Index idx
6969 \begin_layout Plain Layout
6970 いれこ@入れ子!かんきょうの@環境の------
6976 \begin_inset CommandInset label
6985 \begin_layout Subsection
6989 \begin_layout Standard
6990 LyXは、本文を特定の文脈と性質をもった統合されたかたまりとして取り扱います。これによって、あるかたまりが他のかたまりの性質の一部を引き継ぐようにすることができ
6991 ます。たとえば、文書構造に3つの論点があるものとして、第2の論点には2つの小論点があるものとしてください。つまり、あるリストの中に別のリストが入っていて、内部リ
6992 ストは第2項目に「組み込まれて」いるのです。
6995 \begin_layout Enumerate
6999 \begin_layout Enumerate
7004 \begin_layout Enumerate
7008 \begin_layout Enumerate
7013 \begin_layout Enumerate
7017 \begin_layout Standard
7018 一つのリストに他のリストを入れ子で入れれば、リストの中にリストを入れることができます。環境を入れ子にするのはたいへん簡単です。現在の段落の入れ子の階層を変えるに
7031 を選びます(ステータスバーに入れ子の階層が表示されます)。メニューの代わりに、ツールバーボタン
7034 arg "depth-increment"
7040 arg "depth-decrement"
7044 \begin_inset Flex Ruby
7047 \begin_layout Plain Layout
7049 \begin_inset Argument post:1
7052 \begin_layout Plain Layout
7074 arg "depth-increment"
7080 arg "depth-decrement"
7083 を使用することができます。この変更は、事前に選択した部分があれば、その部分に対して作用し(これによって複数の段落の入れ子の階層を一度に変えることができます)、そ
7084 うでなければ現在の段落に対して働きます。
7087 \begin_layout Standard
7088 LyXは、入れ子の階層を変えることが有効な場合にしか、変更を許さないことに注意してください。有効でない場合には、入れ子の階層を変えようとしても何も起こりません。
7089 また、ある段落の階層を変更すると、その段落に入れ子として入っているすべての段落の階層にも影響を与えます。
7092 \begin_layout Standard
7093 入れ子が可能なのは、リストに限られているわけではありません。LyXでは、これから見て行くようにほとんどの環境の中に、ほとんどの環境を入れることができます。これが
7094 環境を入れ子にすることの本当の利点なのです。
7097 \begin_layout Subsection
7101 \begin_layout Standard
7102 段落環境の一覧をお見せする前に、どのように入れ子が機能するか、もう少しお話しする必要があります。
7105 \begin_layout Standard
7106 段落環境を入れ子にできるかどうかという質問は、単純にイエス・ノーで答えられるよりも、もう少し複雑なのです。段落環境には、3つの型があります。
7109 \begin_layout Itemize
7113 \begin_layout Itemize
7114 完全に入れ子にできる、すなわち、自分の中へ他の環境を入れることも、他の環境の中に入ることも可能なもの
7117 \begin_layout Itemize
7118 第3の型、すなわち、他の環境の中に入れることはできるが、自分の中に他の環境を入れることができないもの
7121 \begin_layout Standard
7122 以下は、入れ子の挙動の3つの型と、それぞれに属する段落環境の一覧です。
7125 \begin_layout Description
7126 入れ子にできないもの 他の環境を入れることも、他の環境に入ることもできないもの。
7130 \begin_layout Itemize
7136 \begin_layout Itemize
7142 \begin_layout Itemize
7148 \begin_layout Itemize
7154 \begin_layout Itemize
7161 \begin_layout Description
7162 完全に入れ子にできるもの 他の環境を入れることも、他の環境に入ることもできるもの。
7166 \begin_layout Itemize
7172 \begin_layout Itemize
7178 \begin_layout Itemize
7184 \begin_layout Itemize
7190 \begin_layout Itemize
7196 \begin_layout Itemize
7202 \begin_layout Itemize
7208 \begin_layout Itemize
7214 \begin_layout Itemize
7221 \begin_layout Description
7222 他の環境に入れるもの 他の環境には入れるが、他の環境を入れることができないもの。
7226 \begin_layout Itemize
7232 \begin_layout Itemize
7238 \begin_layout Itemize
7244 \begin_layout Itemize
7252 \begin_layout Itemize
7258 \begin_layout Itemize
7264 \begin_layout Itemize
7272 \begin_layout Itemize
7278 \begin_layout Itemize
7284 \begin_layout Itemize
7288 \begin_layout Itemize
7294 \begin_layout Itemize
7300 \begin_layout Itemize
7306 \begin_layout Itemize
7312 \begin_layout Itemize
7319 \begin_layout Standard
7320 \begin_inset Note Greyedout
7323 \begin_layout Plain Layout
7335 などのように番号の振られた節見出しを箇条書きなどに入れ子にすることはできますが、それは行わないことを強く推奨します。通常の植字のガイドラインに従って、正しく構造
7336 化された文書を作成するのが目的ですから、節見出しを入れ子にすることはそれに反するのです。
7344 \begin_layout Subsection
7345 他のものを入れ子にする:表・数式・フロートなど
7346 \begin_inset Index idx
7349 \begin_layout Plain Layout
7350 いれこ@入れ子!ひょうなどの@表などの------
7358 \begin_layout Standard
7359 段落環境ではないけれども、入れ子化によってなんらかの影響を受けるものがあります。そういったものに、
7362 \begin_layout Itemize
7366 \begin_layout Itemize
7370 \begin_layout Itemize
7374 \begin_layout Standard
7376 \begin_inset Note Greyedout
7379 \begin_layout Plain Layout
7398 \begin_inset CommandInset ref
7400 reference "sec:フロート"
7407 \begin_layout Standard
7408 LyXは、これら3つのオブジェクトを、単語か段落として扱うことができます。図表や数式を行中に入れた場合には、これらは属する段落が行くところに一緒について行きます
7412 \begin_layout Standard
7413 けれども、図表や数式がそれ自身の「段落」を構成している場合には、「従属のみ可能な」段落環境として扱われます。つまり、これを他の段落環境の中に入れることはできます
7414 が、他の段落環境の親になることはできません。
7417 \begin_layout Standard
7421 \begin_layout Enumerate
7426 \begin_layout Enumerate
7431 \begin_layout Standard
7432 \begin_inset VSpace 0.3cm
7438 \begin_layout Standard
7440 \begin_inset Tabular
7441 <lyxtabular version="3" rows="2" columns="2">
7442 <features rotate="0" tabularvalignment="middle">
7443 <column alignment="center" valignment="top" width="0pt">
7444 <column alignment="center" valignment="top" width="0pt">
7446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7449 \begin_layout Plain Layout
7455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7458 \begin_layout Plain Layout
7466 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7469 \begin_layout Plain Layout
7475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7478 \begin_layout Plain Layout
7492 \begin_layout Standard
7493 \begin_inset VSpace 0.3cm
7500 \begin_layout Enumerate
7501 これは(b)。表は(a)の中に入れ子になっています。
7505 \begin_layout Enumerate
7509 \begin_layout Standard
7510 もし表を(a)の中に入れ子にしなければ次のようになります。
7513 \begin_layout Enumerate
7518 \begin_layout Enumerate
7523 \begin_layout Standard
7524 \begin_inset VSpace 0.3cm
7530 \begin_layout Standard
7532 \begin_inset Tabular
7533 <lyxtabular version="3" rows="2" columns="2">
7534 <features rotate="0" tabularvalignment="middle">
7535 <column alignment="center" valignment="top" width="0pt">
7536 <column alignment="center" valignment="top" width="0pt">
7538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7541 \begin_layout Plain Layout
7547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7550 \begin_layout Plain Layout
7558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7561 \begin_layout Plain Layout
7567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7570 \begin_layout Plain Layout
7584 \begin_layout Standard
7585 \begin_inset VSpace 0.3cm
7591 \begin_layout Enumerate
7592 これは(b)。表は(a)の中に入れ子になって
7595 \begin_inset Flex Ruby
7598 \begin_layout Plain Layout
7602 \begin_inset Argument post:1
7605 \begin_layout Plain Layout
7617 \begin_inset Flex Ruby
7620 \begin_layout Plain Layout
7624 \begin_inset Argument post:1
7627 \begin_layout Plain Layout
7639 \begin_inset Flex Ruby
7642 \begin_layout Plain Layout
7646 \begin_inset Argument post:1
7649 \begin_layout Plain Layout
7661 \begin_inset Flex Ruby
7664 \begin_layout Plain Layout
7668 \begin_inset Argument post:1
7671 \begin_layout Plain Layout
7687 \begin_layout Enumerate
7691 \begin_layout Standard
7692 項目(b)が、入れ子になっていないだけでなく、新規箇条書きの最初の項目になってしまっていることに注意してください。
7695 \begin_layout Standard
7696 ここで、表を入れ子にしたものの、入れ子の深さが不十分だった、というのもよくある失敗です。この場合、LyXは、表の後のものを、すべて新規の下層箇条書きにしてしまい
7700 \begin_layout Enumerate
7705 \begin_layout Enumerate
7709 \begin_layout Standard
7710 \begin_inset VSpace 0.3cm
7716 \begin_layout Standard
7718 \begin_inset Tabular
7719 <lyxtabular version="3" rows="2" columns="2">
7720 <features rotate="0" tabularvalignment="middle">
7721 <column alignment="center" valignment="top" width="0pt">
7722 <column alignment="center" valignment="top" width="0pt">
7724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7727 \begin_layout Plain Layout
7733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7736 \begin_layout Plain Layout
7744 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7747 \begin_layout Plain Layout
7753 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7756 \begin_layout Plain Layout
7770 \begin_layout Standard
7771 \begin_inset VSpace 0.3cm
7777 \begin_layout Enumerate
7778 これは(b)。上表は、項目1の入れ子にはしてあるものの、(a)の入れ子になって
7781 \begin_inset Flex Ruby
7784 \begin_layout Plain Layout
7788 \begin_inset Argument post:1
7791 \begin_layout Plain Layout
7803 \begin_inset Flex Ruby
7806 \begin_layout Plain Layout
7810 \begin_inset Argument post:1
7813 \begin_layout Plain Layout
7825 \begin_inset Flex Ruby
7828 \begin_layout Plain Layout
7832 \begin_inset Argument post:1
7835 \begin_layout Plain Layout
7847 \begin_inset Flex Ruby
7850 \begin_layout Plain Layout
7854 \begin_inset Argument post:1
7857 \begin_layout Plain Layout
7874 \begin_layout Enumerate
7878 \begin_layout Standard
7883 新しいリストの初めの項目になってしまいました。これと同じことは図でも数式でも起こります。したがって、図表や数式を入れ子にする場合は、正しい階層に設定するように気
7887 \begin_layout Subsection
7891 \begin_layout Subsubsection
7895 \begin_layout Standard
7896 階層に関しては、LyXは6段階の階層の入れ子まで扱うことができます。つまり、「第6階層」がもっとも内側の階層です。例で見てみましょう。
7899 \begin_layout Enumerate
7904 \begin_layout Enumerate
7909 \begin_layout Enumerate
7914 \begin_layout Enumerate
7919 \begin_layout Itemize
7924 \begin_layout Itemize
7933 \begin_layout Standard
7934 6段階という入れ子の上限には2つの例外があり、それはすでに上の例に示されています。完全に入れ子にできる他の環境と違って、
7942 環境では、4段階までしか入れ子にできません。例えば、上の例で項目Aの中に、さらに
7946 環境を入れようとするとエラーになります。
7949 \begin_layout Subsection
7951 \begin_inset Index idx
7954 \begin_layout Plain Layout
7955 いれこ@入れ子!のれい@------の例
7963 \begin_layout Standard
7964 入れ子で何ができるのかを説明するには、例をお見せするのが一番でしょう。以下にいくつかの入れ子の例を挙げます。これらでは、真似をしやすいように、私たちがどうやって
7965 これらの例を作ったかが説明してあります。
7968 \begin_layout Subsubsection
7969 例1: 6段階の入れ子と異なった環境の入れ子
7972 \begin_layout Labeling
7973 \labelwidthstring 00.00.0000
7982 \begin_layout Labeling
7983 \labelwidthstring 00.00.0000
7987 arg "paragraph-break inverse"
7993 arg "depth-increment"
8000 \begin_layout Labeling
8001 \labelwidthstring 00.00.0000
8011 arg "depth-increment"
8016 を2回続けて押しました。前の階層で行ったように、
8019 arg "paragraph-break inverse"
8025 arg "depth-increment"
8032 \begin_layout Standard
8033 ここは「#3-a」の中に入れ子になっている
8037 環境です。つまり第4階層になります。私たちはこれを作るのに、
8040 arg "paragraph-break inverse"
8046 arg "depth-increment"
8053 にしました。1段落を超えるリスト項目を作りたいときは、このようにしてください。この方法は、
8068 \begin_layout Standard
8076 arg "paragraph-break inverse"
8082 \begin_layout Labeling
8083 \labelwidthstring 00.00.0000
8087 arg "paragraph-break inverse"
8098 環境の中には他の環境を入れることはできません。そのため、ここではまだ第4階層に留まらざるを得ないのです。しかし以下のように、「#3-a」の中にさらに深い階層を作
8107 \begin_layout Labeling
8108 \labelwidthstring 00.00.0000
8109 #5-a ここは第5階層です\SpecialChar \ldots{}
8114 \begin_layout Labeling
8115 \labelwidthstring 00.00.0000
8116 #6-a \SpecialChar \ldots{}
8117 そして第6階層です。もうこの2つをどうやって作ったかは、想像できるでしょう。
8121 \begin_layout Labeling
8122 \labelwidthstring 00.00.0000
8126 arg "paragraph-break inverse"
8132 arg "depth-decrement"
8139 \begin_layout Labeling
8140 \labelwidthstring 00.00.0000
8144 arg "paragraph-break inverse"
8150 arg "depth-decrement"
8157 \begin_layout Labeling
8158 \labelwidthstring 00.00.0000
8160 第3階層に戻りました。もうこれをどうやって作ったかは、明らかでしょう。
8164 \begin_layout Labeling
8165 \labelwidthstring 00.00.0000
8170 \begin_layout Labeling
8171 \labelwidthstring 00.00.0000
8172 #1-b ついにもっとも外側の階層に帰って来ました。この文章の後に
8183 \begin_layout Standard
8204 環境を使っても、まったく同じようにできます。
8207 \begin_layout Subsubsection
8211 \begin_layout LyX-Code
8212 ここはLyXコード環境で、第1階層すなわちもっとも外側の階層です。これから私たちは
8221 arg "depth-increment"
8234 \begin_layout Enumerate
8242 \begin_layout Enumerate
8251 )から余白を継承しただけでなく、フォントや行間も継承したことに留意してください!
8255 \begin_layout Standard
8260 を押して上の例を終わりました。その後、段落環境を
8267 arg "depth-decrement"
8270 を一回押して入れ子の階層をリセットする必要がありました。
8273 \begin_layout Subsubsection
8274 例3:ラベルと階層、および箇条書き(連番)と箇条書き(記号)環境
8275 \begin_inset Argument 1
8278 \begin_layout Plain Layout
8287 \begin_layout Enumerate
8292 段落環境の第1階層です。ここへ箇条書きを入れ子にしていきます。
8296 \begin_layout Enumerate
8300 arg "paragraph-break inverse"
8306 arg "depth-increment"
8313 環境を入れるとどうなるでしょうか。第3階層になるはずですが、ラベルはどうなるでしょうか。星印でしょうか。
8317 \begin_layout Itemize
8326 環境なので、ラベルが黒丸になるのです(ここに来るには、
8329 arg "paragraph-break inverse"
8335 arg "depth-increment"
8346 \begin_layout Itemize
8350 arg "paragraph-break inverse"
8356 arg "depth-increment"
8363 \begin_layout Enumerate
8364 …第5階層に来ます。しかし今度は段落環境を
8372 になっていることに留意してください。3重めの
8391 \begin_layout Enumerate
8396 入れ子の階層を減らしていくと、どうなるでしょうか。どの型の連番をLyXは使うでしょうか。
8399 \begin_layout Enumerate
8403 arg "paragraph-break inverse"
8406 だけを押して現在の環境と階層を維持しながら新しい項目を作ってみましょう。
8409 \begin_layout Enumerate
8413 arg "paragraph-break inverse"
8419 arg "depth-increment"
8426 \begin_layout Enumerate
8427 ここは第4階層です。どの型のラベルをLyXが使っているか見てください!
8431 \begin_layout Enumerate
8432 ここは第3階層です。階層を変更したのに、LyXはまだ小文字のローマ数字をラベルとして使用しています。なぜでしょうか。
8435 \begin_layout Enumerate
8436 それは入れ子の階層が変わっても、この段落は
8443 環境の3重めだからです。ただし、LyXは連番のカウンタを
8451 \begin_layout Enumerate
8455 arg "paragraph-break inverse"
8461 arg "depth-decrement"
8464 を使って第2階層に戻りました。今度は入れ子の階層を変更しただけでなく、2重めの
8472 \begin_layout Enumerate
8476 arg "paragraph-break inverse"
8482 arg "depth-decrement"
8485 を押してもっとも外側の第1階層に戻ると、同じことが起こります。
8488 \begin_layout Standard
8493 にリセットしました。この例でわかるように、階層番号は、LyXが
8501 環境でどの型のラベルを使うかには対応していません。
8509 環境が外側にいくつあるかに依存してラベルが選ばれます。このルールは
8516 \begin_layout Subsubsection
8520 \begin_layout Enumerate
8521 ここではおたくと化してみましょう。他の例のように何段階にも入れ子にはしませんし、詳細に作り方の説明はしません(第1階層:
8529 \begin_layout Standard
8539 arg "depth-increment"
8548 :第2階層)この例をどのように作ったかは、要約した説明を括弧の中に入れてどこかに置いておくことに留めることにします。例えば、この段落では2つの
8549 \begin_inset Flex Ruby
8552 \begin_layout Plain Layout
8554 \begin_inset Argument post:1
8557 \begin_layout Plain Layout
8568 割り当ては、階層の変更のしかたを示し、環境名は、現在の環境の名前を示しています。その前か後に階層を示すことにします。
8572 \begin_layout Enumerate
8577 :第1階層)ここはリスト中、第2の項目です。
8583 \begin_inset Newline newline
8587 \begin_inset Newline newline
8597 arg "depth-increment"
8609 \begin_inset Newline newline
8613 \begin_inset Newline newline
8619 arg "paragraph-break inverse"
8630 \begin_layout Standard
8631 \begin_inset VSpace 0.3cm
8637 \begin_layout Standard
8639 \begin_inset Tabular
8640 <lyxtabular version="3" rows="2" columns="2">
8641 <features rotate="0" tabularvalignment="middle">
8642 <column alignment="center" valignment="top" width="0pt">
8643 <column alignment="center" valignment="top" width="0pt">
8645 <cell alignment="center" valignment="top" usebox="none">
8648 \begin_layout Plain Layout
8654 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8657 \begin_layout Plain Layout
8665 <cell alignment="center" valignment="top" topline="true" usebox="none">
8668 \begin_layout Plain Layout
8674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8677 \begin_layout Plain Layout
8696 arg "paragraph-break inverse"
8706 arg "depth-increment"
8712 arg "paragraph-break inverse"
8722 arg "depth-decrement"
8729 \begin_layout Enumerate
8738 :第1階層)ここは第3の項目です。上では、
8742 を選んだときに入れ子の階層が第1階層にリセットされてしまうので、入れ子の階層を3段階下げて、表を
8749 \begin_layout Quotation
8758 へ変更しました。まだ第1階層のままです。これから、環境を複合的に使うことでできることをいくつかお見せしたいと思います。以下の各段落は「引用書簡」です。この段落の
8767 を両方入れ子にして、書簡の本体には、入れ子にした別の
8774 arg "paragraph-break inverse"
8788 arg "newline-insert newline"
8791 を使う必要があることを忘れないで下さい。
8795 \begin_layout Right Address
8797 \begin_inset Newline newline
8800 Moosegroin, MT 00100
8801 \begin_inset Newline newline
8807 \begin_layout Address
8811 \begin_layout Quotation
8812 不慮の事故のために、ご注文頂いた圧縮メタンガス50リットルを期日中にお届けできないことをお許し下さい。不幸にして、我が社の牛が数匹、まったく不可思議なことに爆発
8813 してしまったため、メタンの注文処理に時間を要しております。お名前を出荷待ちリストに登録しておりますので、できるかぎり早くお届け致したく思っております。ご迷惑をお
8817 \begin_layout Quotation
8818 お詫びに、今回特別に牛肉を特別価格で販売致しております。お入り用の際は、同封の注文用紙に御記入の上、小切手とともにお送りください。
8821 \begin_layout Quotation
8822 最後に、ご迷惑をお掛けしておりますことを深くお詫びいたします。
8825 \begin_layout Address
8827 \begin_inset Newline newline
8834 \begin_layout Quotation
8838 \begin_layout Standard
8839 以上から、LyXで環境の入れ子を使えば、たった数
8840 \begin_inset Flex Ruby
8843 \begin_layout Plain Layout
8845 \begin_inset Argument post:1
8848 \begin_layout Plain Layout
8859 で、さまざまなことができるのがおわかりいただけると思います。
8879 を入れることも簡単にできます。膨大な選択肢を自由にお使いいただけるのです。
8882 \begin_layout Subsection
8884 \begin_inset Index idx
8887 \begin_layout Plain Layout
8894 \begin_inset CommandInset label
8903 \begin_layout Standard
8904 同じ型の環境を2つ続ける必要のあることがあります。例えば、以下のように2つの別々の連番箇条書きが必要だとしましょう。
8907 \begin_layout Enumerate
8912 \begin_layout Enumerate
8917 \begin_layout Enumerate
8921 \begin_layout --Separator--
8925 \begin_layout Itemize
8931 \begin_layout --Separator--
8935 \begin_layout Enumerate
8939 \begin_layout Enumerate
8943 \begin_layout Enumerate
8947 \begin_layout Standard
8948 箇条書きが、単一の箇条書きではなく、別々のものだとLyXに教えるには、カーソルを最後の項目の終わりにおいて、
8950 編集\SpecialChar \menuseparator
8953 メニューを選択します。すると、環境分離線が挿入され、その後に新規箇条書きが置かれます。この代わりに、
8955 編集\SpecialChar \menuseparator
8958 メニューを選択したとすると、やはり新規箇条書きが作られますが、同じ深度に置かれます。
8961 \begin_layout Standard
8962 既存の箇条書きを2つに分けるには、箇条書き項目の後ろにカーソルを置いて、
8965 arg "paragraph-break"
8968 を押し、LyXのメインツールバーにある環境プルダウンボックスから
8975 \begin_layout Section
8977 \begin_inset Index idx
8980 \begin_layout Plain Layout
8989 \begin_layout Standard
8990 空白とは何でしょうか。通常のワードプロセッサでは、二つの単語を分離したいと思ったときには、いつでもスペース
8991 \begin_inset Flex Ruby
8994 \begin_layout Plain Layout
8996 \begin_inset Argument post:1
8999 \begin_layout Plain Layout
9010 を押すことに慣れてしまったかもしれませんが、LyXはもっと多様な空白を提供します。すなわち、さまざまな幅の空白と、行末で分割可能な空白および分割不可能な空白です
9011 。以下の各節では、これらの空白が有用な例をお見せしましょう。
9014 \begin_layout Subsection
9016 \begin_inset CommandInset label
9023 \begin_inset Index idx
9026 \begin_layout Plain Layout
9027 くうはく@空白!ほごされた@保護された------
9035 \begin_layout Standard
9036 保護された空白とは。LyX(およびLaTeX)に、行をこの場所で分割しないように指示するために用いられます。これは、次のような「ツイていない」改行を避けるのに必
9042 \begin_inset Quotes erd
9046 \begin_inset Newline newline
9050 \begin_inset CommandInset ref
9052 reference "sec:書誌情報"
9057 \begin_inset Quotes erd
9063 \begin_layout Standard
9065 \begin_inset CommandInset ref
9067 reference "sec:書誌情報"
9071 」のあいだに保護された空白を挿入した方がよいでしょう。保護された空白は、
9073 挿入\SpecialChar \menuseparator
9074 整形\SpecialChar \menuseparator
9078 \begin_inset Flex Ruby
9081 \begin_layout Plain Layout
9083 \begin_inset Argument post:1
9086 \begin_layout Plain Layout
9100 arg "command-alternatives math-space ; space-insert protected"
9106 \begin_layout Subsection
9108 \begin_inset CommandInset label
9115 \begin_inset Index idx
9118 \begin_layout Plain Layout
9119 くうはく@空白!すいへいほうこうの@水平方向の------
9127 \begin_layout Standard
9130 挿入\SpecialChar \menuseparator
9131 整形\SpecialChar \menuseparator
9134 メニューで挿入することができます。長さの単位の一覧が、付録
9135 \begin_inset CommandInset ref
9137 reference "cha:LyXで使用できる単位"
9144 \begin_layout Subsubsection
9146 \begin_inset CommandInset label
9153 \begin_inset Index idx
9156 \begin_layout Plain Layout
9157 くうはく@空白!たんごかんの@単語間の------
9165 \begin_layout Standard
9166 タイプライターの普及にしたがって、文末に少し広い空白を入れる印刷上の慣習をまねるために、句点の後に空白を二つ入れるのが慣習となった国があります。LyXは、この慣
9167 習を自動的に反映しますので、空白を二つ入れる必要はありません。しかしながら、短縮形の後の句点の後には文末空白を入れたくはありません(第
9168 \begin_inset CommandInset ref
9174 節の例を参照)。通常の空白を入力するには、
9176 挿入\SpecialChar \menuseparator
9177 整形\SpecialChar \menuseparator
9181 \begin_inset Flex Ruby
9184 \begin_layout Plain Layout
9186 \begin_inset Argument post:1
9189 \begin_layout Plain Layout
9205 arg "space-insert normal"
9213 \begin_layout Subsubsection
9215 \begin_inset CommandInset label
9222 \begin_inset Index idx
9225 \begin_layout Plain Layout
9234 \begin_layout Standard
9235 「小空白(thin space)」は、通常の空白の半分の大きさを持つ空白です(そして同時に「保護されて」います)。多くの言語において、例えば略語内部でのように、
9236 通常の空白では広すぎる場合に小空白を用いることが、印刷上の慣習として推奨されています。例えば、
9241 \begin_inset space \thinspace{}
9245 Knuthは、我々の愛する組版プログラムを開発しました。
9248 \begin_layout Standard
9249 のような場合や、数値と単位の間の空白などです。次の例を比較してください。
9250 \begin_inset Newline newline
9254 \begin_inset space \thinspace{}
9258 \begin_inset Newline newline
9264 \begin_layout Standard
9267 挿入\SpecialChar \menuseparator
9268 整形\SpecialChar \menuseparator
9272 \begin_inset Flex Ruby
9275 \begin_layout Plain Layout
9277 \begin_inset Argument post:1
9280 \begin_layout Plain Layout
9294 arg "space-insert thin"
9300 \begin_layout Subsubsection
9304 \begin_layout Standard
9305 さらに、以下のような型の空白が使用できます。
9308 \begin_layout Description
9309 負の小空白 この行は、矢印の間に負の小空白
9310 \begin_inset Formula $\rightarrow$
9314 \begin_inset space \negthinspace{}
9318 \begin_inset Formula $\leftarrow$
9324 \begin_layout Description
9325 負の中空白 この行は、矢印の間に負の中空白
9326 \begin_inset Formula $\rightarrow$
9330 \begin_inset space \negmedspace{}
9334 \begin_inset Formula $\leftarrow$
9340 \begin_layout Description
9341 負の大空白 この行は、矢印の間に負の大空白
9342 \begin_inset Formula $\rightarrow$
9346 \begin_inset space \negthickspace{}
9350 \begin_inset Formula $\leftarrow$
9356 \begin_layout Description
9358 \begin_inset space ~
9362 \begin_inset space \thinspace{}
9365 em) この行は、矢印の間に8分の1空白(0.5em)
9366 \begin_inset Formula $\rightarrow$
9370 \begin_inset space \enskip{}
9374 \begin_inset Formula $\leftarrow$
9380 \begin_layout Description
9382 \begin_inset space ~
9386 \begin_inset space \thinspace{}
9389 em) この行は、矢印の間に4分の1空白(1
9390 \begin_inset space \thinspace{}
9394 \begin_inset Formula $\rightarrow$
9398 \begin_inset space \quad{}
9402 \begin_inset Formula $\leftarrow$
9408 \begin_layout Description
9410 \begin_inset space ~
9414 \begin_inset space \thinspace{}
9417 em) この行は、矢印の間に2分の1空白(2
9418 \begin_inset space \thinspace{}
9422 \begin_inset Formula $\rightarrow$
9426 \begin_inset space \qquad{}
9430 \begin_inset Formula $\leftarrow$
9436 \begin_layout Description
9437 ユーザ設定の空白 この行は、矢印の間に2センチの空白
9438 \begin_inset Formula $\rightarrow$
9442 \begin_inset space \hspace{}
9447 \begin_inset Formula $\leftarrow$
9453 \begin_layout Standard
9455 \begin_inset CommandInset ref
9457 reference "tab:空白の幅"
9464 \begin_layout Standard
9465 \begin_inset Float table
9470 \begin_layout Plain Layout
9472 \begin_inset Caption Standard
9474 \begin_layout Plain Layout
9475 \begin_inset CommandInset label
9489 \begin_layout Plain Layout
9491 \begin_inset Tabular
9492 <lyxtabular version="3" rows="10" columns="2">
9493 <features rotate="0" tabularvalignment="middle">
9494 <column alignment="center" valignment="top">
9495 <column alignment="center" valignment="top">
9497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9500 \begin_layout Plain Layout
9508 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9511 \begin_layout Plain Layout
9521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9524 \begin_layout Plain Layout
9530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9533 \begin_layout Plain Layout
9535 \begin_inset space \thinspace{}
9545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9548 \begin_layout Plain Layout
9554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9557 \begin_layout Plain Layout
9559 \begin_inset space \thinspace{}
9569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9572 \begin_layout Plain Layout
9578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9581 \begin_layout Plain Layout
9583 \begin_inset space \thinspace{}
9593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9596 \begin_layout Plain Layout
9602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9605 \begin_layout Plain Layout
9607 \begin_inset space \thinspace{}
9611 \begin_inset Formula $\thinspace=\thinspace$
9615 \begin_inset space \thinspace{}
9625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9628 \begin_layout Plain Layout
9634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9637 \begin_layout Plain Layout
9639 \begin_inset space \thinspace{}
9649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
9652 \begin_layout Plain Layout
9658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9661 \begin_layout Plain Layout
9663 \begin_inset space \thinspace{}
9673 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9676 \begin_layout Plain Layout
9678 \begin_inset space \thinspace{}
9686 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9689 \begin_layout Plain Layout
9691 \begin_inset space \thinspace{}
9701 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9704 \begin_layout Plain Layout
9706 \begin_inset space \thinspace{}
9714 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9717 \begin_layout Plain Layout
9719 \begin_inset space \thinspace{}
9729 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9732 \begin_layout Plain Layout
9734 \begin_inset space \thinspace{}
9742 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9745 \begin_layout Plain Layout
9747 \begin_inset space \thinspace{}
9768 \begin_layout Subsubsection
9770 \begin_inset Index idx
9773 \begin_layout Plain Layout
9782 \begin_layout Standard
9783 水平フィル(HFill)は、統一された方法で空白を追加する特別な機能です。水平フィルは、左余白と右余白の間に残されている空白部分とつねに等しい長さの、可変式の空
9784 白を生成します。もし2つ以上の水平フィルを同一行に入れると、残されている余白を各水平フィルで均等に分割します。
9787 \begin_layout Standard
9788 水平フィルでできる例をいくつか示しましょう。
9794 \begin_inset space \hfill{}
9803 \begin_inset space \hfill{}
9807 \begin_inset space \hfill{}
9816 \begin_inset space \hfill{}
9820 \begin_inset space \hfill{}
9824 \begin_inset space \hfill{}
9830 \begin_layout Standard
9836 \begin_inset Formula $\rightarrow$
9840 \begin_inset space \hfill{}
9844 \begin_inset Formula $\leftarrow$
9847 は、標準段落の中での例です。印刷した取扱説明書でははっきりと分からないかもしれませんが、2つの矢印の
9854 \begin_layout Standard
9855 空白ダイアログでフィルパターンを選ぶと、水平フィルを見えるようにすることができます。使用できるパターンは以下のとおりです。
9858 \begin_layout Standard
9860 \begin_inset space \dotfill{}
9864 \begin_inset space ~
9870 \begin_layout Standard
9872 \begin_inset space \hrulefill{}
9876 \begin_inset space ~
9882 \begin_layout Standard
9884 \begin_inset space \leftarrowfill{}
9888 \begin_inset space ~
9894 \begin_layout Standard
9896 \begin_inset space \rightarrowfill{}
9900 \begin_inset space ~
9906 \begin_layout Standard
9908 \begin_inset space \downbracefill{}
9912 \begin_inset space ~
9918 \begin_layout Standard
9920 \begin_inset space \upbracefill{}
9924 \begin_inset space ~
9930 \begin_layout Standard
9931 \begin_inset Note Greyedout
9934 \begin_layout Plain Layout
9939 もし水平フィルが行頭にあり、しかも段落の1行目ではない場合、LyXはそれを無視します。これは、水平フィルが間違って新規行に折り返すことを防ぐためです。このような
9940 場合に、どうしても空白を入れたい場合には、空白ダイアログで
9952 \begin_layout Subsubsection
9954 \begin_inset CommandInset label
9961 \begin_inset Index idx
9964 \begin_layout Plain Layout
9973 \begin_layout Standard
9974 ときには、あるフレーズと同じ長さの空白がほしい場合があるでしょう。例えば、次のような三択問題を作りたいと思うかもしれません。
9977 \begin_layout Standard
9978 \begin_inset VSpace medskip
9982 \begin_inset Newline newline
9986 \begin_inset Newline newline
9990 \begin_inset space ~
9993 Edge would have been jumps the gun.
9994 \begin_inset Newline newline
9998 \begin_inset Phantom HPhantom
10001 \begin_layout Plain Layout
10009 \begin_inset Newline newline
10013 \begin_inset Phantom HPhantom
10016 \begin_layout Plain Layout
10024 \begin_inset VSpace medskip
10030 \begin_layout Standard
10032 \begin_inset space ~
10036 \begin_inset space ~
10039 」というフレーズの直後に表示されます。このようにするには、メニュー
10041 挿入\SpecialChar \menuseparator
10042 整形\SpecialChar \menuseparator
10045 で挿入される埋め草差込枠を使用します。この例では、最後の2行の最初に水平埋め草を挿入し、埋め草差込枠に「Mr.
10046 \begin_inset space ~
10050 \begin_inset space ~
10053 」と挿入します(「Edge」の後に空白があることに注意)。埋め草差込枠は、その内容と同じ空白のみを(場所取りとして)出力します。これが「埋め草」の名の由来です。
10054 通常の埋め草は、内容と同じ幅と高さの空白を出力し、水平埋め草や垂直埋め草は、その方向の空白のみを出力します。
10057 \begin_layout Subsection
10059 \begin_inset CommandInset label
10066 \begin_inset Index idx
10069 \begin_layout Plain Layout
10070 くうはく@空白!すいちょくほうこうの@垂直方向の------
10078 \begin_layout Standard
10081 挿入\SpecialChar \menuseparator
10082 整形\SpecialChar \menuseparator
10085 ダイアログを使って下さい。そこでは以下のような各寸法が利用可能です。
10088 \begin_layout Standard
10101 は、文書のフォント寸法に依存したLaTeX寸法です。
10107 文書\SpecialChar \menuseparator
10110 \SpecialChar \menuseparator
10116 \begin_inset Index idx
10119 \begin_layout Plain Layout
10120 ふんしよ@文書!せってい@------設定
10125 で段落の分離用に指定したスキップの大きさです。もし段落の区切りに字下げを使用していれば、
10136 \begin_layout Standard
10142 \begin_inset Index idx
10145 \begin_layout Plain Layout
10160 は、1ページの中で空白が最大になるように設定される可変空白です。例えば、1ページ内に2つだけ短い段落があり、間に垂直フィルがあるとしましょう。すると、段落間の空
10161 白は最大化されるように調整されるので、第1段落はページの最上部に配置され、第2段落は最下部に配置されます。
10173 \begin_layout Plain Layout
10179 \begin_inset CommandInset ref
10181 reference "sub:水平方向の空白"
10190 。1ページ内に残っている垂直方向の余白を空白で埋めるのです。複数の
10194 が同一ページ内にある場合には、それらの垂直フィル間に余白が均等に配分されます。ですから
10198 は、文章をページの中央に配置したり、あるいはページの上から2/3の所に配置したりするのに用いることができます。
10201 \begin_layout Standard
10207 \begin_inset CommandInset ref
10209 reference "cha:LyXで使用できる単位"
10213 にある単位で指定された任意の長さの空白です。
10216 \begin_layout Standard
10217 \begin_inset Note Greyedout
10220 \begin_layout Plain Layout
10221 備考:もし水平フィルが、出力されたページの先頭や最後にきてしまう場合、
10225 オプションが選択されているときのみ、空白が出力されます。
10233 \begin_layout Subsection
10237 \begin_layout Standard
10240 編集\SpecialChar \menuseparator
10243 ダイアログで変更することができます。選択肢は5つあります。
10246 \begin_layout Itemize
10252 \begin_inset Flex Ruby
10255 \begin_layout Plain Layout
10257 \begin_inset Argument post:1
10260 \begin_layout Plain Layout
10274 arg "paragraph-params \\align block"
10280 \begin_layout Itemize
10288 arg "paragraph-params \\align left"
10294 \begin_layout Itemize
10302 arg "paragraph-params \\align right"
10308 \begin_layout Itemize
10316 arg "paragraph-params \\align center"
10322 \begin_layout Itemize
10330 arg "paragraph-params \\align default"
10336 \begin_layout Standard
10341 です。この場合、単語間の空白の長さは、段落の各行がちょうど左余白から右余白までの領域を埋めるように自動調整されます。他の3つの配置は、ほぼ自明ですが以下のように
10345 \begin_layout Standard
10350 \begin_layout Standard
10355 \begin_layout Standard
10360 \begin_layout Subsection
10362 \begin_inset Index idx
10365 \begin_layout Plain Layout
10390 \begin_inset CommandInset label
10399 \begin_layout Standard
10400 もしLaTeXが決定する改頁の位置が気に入らなければ、希望の箇所で強制的に改頁することができます。たいていLaTeXの改頁は適切なので、これが必要になることは通
10405 を多用しすぎた場合に限っては、LaTeXの改頁アルゴリズムがうまく行かないことがあります。
10408 \begin_layout Standard
10409 強制改頁は、文章を書き終わって、プレビューで
10413 改頁を変更する必要があることを確認するまでは、行なわないことをお勧めします。
10416 \begin_layout Standard
10417 改頁には2つの種類があります。一つは、特定の動作をすることなく頁を終えるものです。これは、
10419 挿入\SpecialChar \menuseparator
10420 整形\SpecialChar \menuseparator
10423 メニューを使って、段落の前または後に挿入することができます。
10425 挿入\SpecialChar \menuseparator
10426 整形\SpecialChar \menuseparator
10429 メニューを使って挿入することができる、もう一つ型は、ページの内容をページ全体を埋めるように引き延ばしてから頁を終えるものです。この型は、改頁によって最後の二三行
10430 だけが足らない頁ができてしまうときに巨大な空白ができるのを避けられるので、便利です。
10433 \begin_layout Standard
10434 図や表が、確実に頁の一番上にくるようにするために改頁を使おうと思うかもしれませんが、これは明らかに間違った方法です。LyXには、図表の前後に何が来ようとも、頁の
10435 一番上(あるいは一番下や独立した頁)に、図表を確実に自動配置する方法があるのです。第
10436 \begin_inset CommandInset ref
10438 reference "cha:フロートと注釈"
10449 \begin_layout Subsubsection
10451 \begin_inset CommandInset label
10458 \begin_inset Index idx
10461 \begin_layout Plain Layout
10462 かいぺじ@改頁!かいだん@改段------
10470 \begin_layout Standard
10471 改頁をした後の内容が、次頁からすぐ始まる強制改頁のようでなく、改頁をすると同時に頁を改段することができます。改段するとはつまり、現在の段落を終了すると同時に、そ
10472 の後にここまでの全てのフロートを、まだ処理されていないものを含めて、また必要ならば頁を追加して、すべて出力することをいいます。
10475 \begin_layout Standard
10478 挿入\SpecialChar \menuseparator
10479 整形\SpecialChar \menuseparator
10482 メニューで挿入することができます。bookのような両面文書の場合に、改段改頁を挿入すると同時に、次の頁が右頁(奇数頁)から始まるように、必要に応じて頁を追加する
10485 挿入\SpecialChar \menuseparator
10486 整形\SpecialChar \menuseparator
10492 \begin_layout Subsection
10494 \begin_inset Index idx
10497 \begin_layout Plain Layout
10504 \begin_inset CommandInset label
10513 \begin_layout Standard
10514 改頁と同様に、改行にも2つの種類があります。一つは単純に行を代えるものです。
10516 挿入\SpecialChar \menuseparator
10517 整形\SpecialChar \menuseparator
10523 arg "newline-insert newline"
10526 を押すと、段落内でこの改行を強制することができます。もう一つの種類は、
10528 挿入\SpecialChar \menuseparator
10529 整形\SpecialChar \menuseparator
10535 arg "newline-insert linebreak"
10538 で挿入できるもので、改行すると同時に、その行を頁余白の間の空間をちょうど埋めるように伸長させます。これは、改行によって生み出されてしまう余白によって、両端揃えの
10539 段落に「へり」ができてしまうのを避けるために必要なのです。
10542 \begin_layout Standard
10543 LaTeXの改行はたいへん良くできているので、LaTeXの改行を正そうと強制改行を使うのは止めた方がよいでしょう。しかしながら、詩や住所などのように、改行を多用
10544 設定することが必要であるような状況は多く存在します(第
10545 \begin_inset CommandInset ref
10552 \begin_inset CommandInset ref
10559 \begin_inset CommandInset ref
10561 reference "sec:住所の使い方"
10568 \begin_layout Subsection
10570 \begin_inset CommandInset label
10577 \begin_inset Index idx
10580 \begin_layout Plain Layout
10589 \begin_layout Standard
10591 \begin_inset CommandInset line
10602 \begin_layout Standard
10606 挿入\SpecialChar \menuseparator
10607 整形\SpecialChar \menuseparator
10610 のダイアログで水平線を挿入することができます。オフセットは、線と現在の本文行あるいは段落のベースラインとの間の垂直距離です。水平線の設定は、線上で左クリックをす
10614 \begin_layout Standard
10616 \begin_inset CommandInset line
10627 \begin_layout Section
10631 \begin_layout Standard
10632 お使いのキーボードから入力することのできる全ての文字は、直接入力することができます。また、例えばフランス語に必要な文字を英語キーボードで入力することができるよう
10633 に、特別なキーボード配置表を使用することもできます。これを実現するための情報は、第
10634 \begin_inset CommandInset ref
10636 reference "sub:キーボード配置表"
10643 \begin_layout Standard
10644 お使いのキーボードにない文字が必要な場合には、
10646 挿入\SpecialChar \menuseparator
10647 特殊文字\SpecialChar \menuseparator
10657 \begin_layout Standard
10658 \begin_inset Note Greyedout
10661 \begin_layout Plain Layout
10666 LyX設定で特定の画面フォントを使用している場合、記号ダイアログで挿入した文字がうまく表示できないことがあります。しかし出力においては、どんな場合も、挿入した記
10675 \begin_layout Section
10677 \begin_inset CommandInset label
10679 name "sec:フォントと文字様式"
10686 \begin_layout Subsection
10688 \begin_inset Index idx
10691 \begin_layout Plain Layout
10692 ふぉんと@フォント ! のしゅるい@------の種類
10700 \begin_layout Standard
10704 \begin_layout Description
10706 \begin_inset Index idx
10709 \begin_layout Plain Layout
10710 ふぉんと@フォント ! べくたー@ベクター------
10715 は、フォント内の単一グリフ(すなわち文字)の輪郭(アウトライン)から生成されたフォントです。各グリフは、要求のあったどんなフォント寸法にもうまく伸縮することが
10716 できるような、数学的に定義された曲線で定義されています。この数学による定義は、フォント解析器によって解釈され、寸法やグリフに応じて曲線部分がピクセルで埋め尽くさ
10717 れます。これによって、輪郭フォントは、全ての寸法においてたいへん美しい出力を得ることができます。ひじょうに小さい寸法においては、よいイメージを得るためには各ピク
10718 セルがたいへん注意深く計算されなくてはならないので、そのようなひじょうに小さい寸法においてだけは、よいレンダリング(解析結果)を得ることは難しいかもしれません。
10719 \begin_inset Newline newline
10722 すると、一つのフォント寸法のみを定義して、それを伸縮するだけでいいと思われるかもしれませんが、よい品質を得るために、多くのフォントはいくつかのフォント寸法を定義
10723 しています。大きいフォントにおいては、小さいフォントよりも細部の情報を必要とするので、これによって出力を改善することができます。
10724 \begin_inset Newline newline
10738 \begin_inset space ~
10743 といった種類のフォントが、ベクターフォントになります。
10746 \begin_layout Description
10748 \begin_inset Index idx
10751 \begin_layout Plain Layout
10752 ふぉんと@フォント ! びっとまっぷ@ビットマップ------
10757 は、反対に最初からビットマップ画像として定義されているので、定義されている寸法に対しては、すべてよい出力を得ることができます。しかしながら、グリフを伸長しよう
10758 と思うと、一ピクセルが数ピクセル分に拡大されてしまうので、ビットマップフォントは伸長に対しては強くありません。これは、画像編集プログラムで、画像を拡大しようとし
10759 たときに起こるのと同じ現象です。この現象を軽減するために、ビットマップフォントは通常、8ピクセルあたりから34ピクセル程度まで段階的に、必要に応じていくつかの固
10760 定寸法で提供されています。ビットマップフォントの利点は、各グリフを表示するのに複雑な計算を必要としないので、伸縮可能フォントよりも表示速度が速い点です。欠点は、
10761 フォントに固定寸法がない大きさでは、ピクセルを等倍して拡大表示しなくてはならないので、表示が汚くなる点です。
10762 \begin_inset Newline newline
10765 ビットマップフォントは、PostScript文書やPDF文書では、
10768 \begin_inset space ~
10776 \begin_layout Standard
10777 これらのことから、指定した大きさがフォント寸法として用意されている場合にはビットマップフォントが最適ですが、ほとんどすべての大きさに対して良好な結果をもたらすの
10778 は、伸縮可能フォントであることが分かります。伸縮可能フォントでは、少数のフォント寸法に対して定義が必要となるだけです。ほとんどすべてのテキスト表示プログラム・組
10779 版プログラムが、伸縮可能フォントを用いているのはそのためです。
10782 \begin_layout Standard
10783 PDF文書でどのフォントが用いられているかを確かめるためには、文書特性を参照してください。
10786 \begin_layout Standard
10787 最近の組版言語やマークアップ言語の多くでは、特定のフォントを指定するよりも文字様式を指定するようになってきています。例えば文章を強調するのに、現在のフォントのイ
10788 タリック体版に変更する代わりに、「強調形式」を用います。この考え方は、LyXに完璧に適合しています。なぜなら、LyXでは組版の微細な点に焦点を合わせるのではなく
10792 \begin_layout Subsection
10794 \begin_inset CommandInset label
10796 name "sub:LaTeXフォントサポート"
10803 \begin_layout Standard
10804 伝統的に、LaTeXは固有のフォントを使用します。つまり、お使いの基本ソフトウェアに導入されているフォントに直接アクセスすることはできず、LaTeX頒布版が提供
10805 する特定のフォントを使用する必要があります。これは、LaTeXではフォントに関する追加的な情報が必要とされるため、これらを追加的なファイルやパッケージとして提供
10806 する必要があるためです。この方法の欠点は、通常のワードプロセッサに較べて、フォントの選択肢がある程度制限されてしまうことです。その一方で、提供されているフォント
10807 は一般的に非常に高品質であり、システムが異なってもLaTeXファイルを容易に移転できるという利点が付いてきます。また一方で、伝統的なLaTeXでサポートされてい
10808 るフォントの範囲は大幅に増加し、多くの有償無償のフォントを扱うパッケージが存在します。LyXは、フリーライセンスのフォントは、ユーザーインタフェースでサポートし
10810 \begin_inset CommandInset ref
10812 reference "sub:文書フォント"
10816 節をご覧ください)。他のフォントについては、文書プリアンブルにLaTeXコードを入力すれば、すべて使用することができます(使用したいフォントの取扱説明書を参照し
10820 \begin_layout Standard
10821 さらに最近の発展により、お使いの基本ソフトウェア(OS)に導入されているフォントに直接アクセスすることのできる、XeTeXやLuaTeXのような新しいLaTeX
10822 エンジンももたらされています。これらのエンジンも、LyXは現在サポートしています。これらを使えば、理論的には、システムに導入されているすべてのOpenType・
10823 TrueTypeフォントを使用することができます。次節で、これらのOSフォントの使用法を説明します。
10826 \begin_layout Standard
10827 \begin_inset Note Greyedout
10830 \begin_layout Plain Layout
10835 実際には、粗悪なメトリックや、フォントが持つ他の欠損によって使えないフォントもあります。したがって、まずは試験してみる必要があります。
10843 \begin_layout Standard
10844 \begin_inset Note Greyedout
10847 \begin_layout Plain Layout
10852 XeTeXと特にLuaTeXは、比較的新しいので、伝統的なLaTeXやPDFLaTeXほどは成熟していません。
10860 \begin_layout Subsection
10862 \begin_inset CommandInset label
10869 \begin_inset Index idx
10872 \begin_layout Plain Layout
10873 ふぉんと@フォント ! すんぽう@------寸法
10881 \begin_layout Standard
10884 文書\SpecialChar \menuseparator
10888 \begin_inset Index idx
10891 \begin_layout Plain Layout
10892 ふんしよ@文書!せってい@------設定
10897 ダイアログで設定することができます。ダイアログの
10901 セクションでは、3つのフォント族 — ローマン(セリフ)体・
10909 (等幅)体 — に使用するフォントを指定することができ、サンセリフ体・タイプライタ体フォントをローマン体フォントと合わせる必要があるときのための縮尺因子と、ベー
10910 スフォント寸法を指定することができます。
10913 \begin_layout Standard
10920 \begin_layout Plain Layout
10929 を有効にすると、ご使用の基本ソフトウェアに導入されているフォントにアクセスすることができるようになります。このためには、出力書式として、
10937 \begin_layout Plain Layout
10956 \begin_layout Plain Layout
10975 \begin_layout Plain Layout
10986 を使用する必要があるため、XeTeXかLuaTeXが導入済でなくてはなりません(第
10987 \begin_inset CommandInset ref
10989 reference "sub:LaTeXフォントサポート"
10993 節参照)。この際、TeX自身のフォント(後述)にはアクセスできなくなります。LyXはフォント族を同定することができないので、利用可能なフォントすべてが、ローマン
10994 体・セリフ体・タイプライタ体の3つのリストすべてに列挙されてしまっていることに注意してください。また、リスト中のフォントの一部には、フォントのエンコーディングや
10995 フォントの瑕疵のせいで、出力を失敗させてしまうものがあるかもしれません。これも、LyXは事前に同定することができないので、ユーザーが試験してみる必要があります。
10998 \begin_layout Standard
11003 とお使いのシステムで利用可能なフォントの一覧が表示されます。
11010 \begin_inset space ~
11021 European Computer Modern
11027 )と呼ばれる TeXの標準フォントを使います。
11030 \begin_layout Standard
11039 はビットマップフォントですので、PDF出力では、とりわけ拡大して読むときに、出力のぎざぎざがめだつことがよくあります
11043 \begin_layout Plain Layout
11047 \begin_inset space ~
11052 第6版以降でPDFを読むようにすれば、特別なビットマップフォントレンダラーを備えているので、この問題は発生しません。
11057 。ぎざぎざフォントをなくすには、ベクターフォントを用いなくてはなりません。以下の3つの方法がありますので、いずれかを選択してください。
11060 \begin_layout Itemize
11064 \begin_inset space ~
11077 の外見を維持したい場合に推奨される方法です。
11080 \begin_inset space ~
11085 フォントは、LaTeXコミュニティにおいて、
11089 に代わる既定フォントとするべく開発されたものです。これは、非常に広い範囲のグリフと複数のフォント形を含んでおり、外観の改善された若干の細部を除き、
11092 \begin_inset space ~
11105 \begin_layout Plain Layout
11106 One difference is improved kerning。
11114 \begin_layout Itemize
11118 \begin_inset space ~
11122 \begin_inset space ~
11130 \begin_inset space ~
11135 フォントが使用できないか、うまく動作しない(稀な)ケースにおいて、
11143 の外見をエミュレートしたいときに選択してください。
11147 は仮想フォントです。仮想というのは、これが他のフォントから
11151 輪郭グリフを「拝借」してくるからです。これには、フランス語のギュメ(「«」や「»」)をはじめとするいくつかの文字が欠落していること
11155 \begin_layout Plain Layout
11161 \begin_inset Index idx
11164 \begin_layout Plain Layout
11165 latexはつけじ@LaTeXパッケージ ! aeguill
11173 \begin_layout Plain Layout
11176 usepackage[ec]{aeguill}
11177 \begin_inset Newline newline
11180 として読み込むと、ギュメの問題は解消されます。
11193 文字から構築されるという欠点があります。したがって、
11197 フォントを用いた文書では、アクセント付き文字を含む単語を検索することはできません。例えば、仮にPDFで「brève」という仏単語を検索したとしても、PDFビュー
11198 アは「è」というグリフを検索するのであって、「 e +
11199 \begin_inset space ~
11202 ` 」というグリフを検索するわけではないので、検索結果としては何も得られないでしょう。
11205 \begin_layout Itemize
11217 \begin_inset space ~
11226 のような、提供されている他のベクターフォントを選択することももちろんできます。ほとんどのローマン体ベクターフォントは、対応するサンセリフ体やタイプライタ体フォン
11231 \begin_layout Plain Layout
11232 これは、ときに単に他のフォントを対応させることもあれば(
11235 \begin_inset space ~
11247 \begin_inset space ~
11255 \begin_inset space ~
11260 のように、同じフォントの他の形、すなわち真のフォント
11269 、自分自身で指定することもできます。ローマン体・
11278 \begin_inset CommandInset ref
11280 reference "sub:文字微調整"
11285 \begin_inset Newline newline
11291 \begin_inset space ~
11296 フォントは、元々新聞用にデザインされたものです。したがって、狭い新聞の列幅に納まるように、そのグリフは他のフォントのグリフよりも小さくなっています。そのため、
11299 \begin_inset space ~
11304 は書籍のような大規模な文書には適していません。
11307 \begin_layout Standard
11324 の4つの値が使用可能です。クラスによっては、他の寸法を提供しているものもあります。
11328 の寸法は使用するクラスに依存します。標準的なクラスでは、これはフォント寸法10になっています。
11331 \begin_layout Standard
11336 を指しています。LyXは、この寸法を基準に、(脚注や上付き・下付き文字などの)他のすべてのフォント寸法を決めます。必要ならば、文章部分のフォント寸法は、
11340 ダイアログで微調整することができます。文章部分で使うことができるフォント寸法は、第
11341 \begin_inset CommandInset ref
11343 reference "sub:文字微調整"
11350 \begin_layout Standard
11355 では、文書の基本フォントをローマン体にするのか、サンセリフ体にするのか、あるいはタイプライタ体にするのかを指定することができます。これを
11359 にすると、クラスの事前設定値を使用し、他のものを選択するとこれを上書きします。ほとんどの場合、
11367 ですが、(プレゼンテーションクラスなどの)クラスのうちには他の既定値を使用するものもあります。
11370 \begin_layout Standard
11377 \begin_layout Plain Layout
11386 は、熟練者用の設定項目であり、これによってLaTeXパッケージ
11391 \begin_inset Index idx
11394 \begin_layout Plain Layout
11395 latexはつけじ@LaTeXパッケージ ! fontenc
11401 \begin_inset CommandInset ref
11403 reference "sub:LaTeX-設定"
11407 節も参照のこと)。通常、これを変更する必要は(理解する必要も)ありません。特別な理由がない限り、
11414 \begin_layout Standard
11423 のチェックボックスが有効になっていることがあります。これは、一部のフォントが提供する追加機能です。もし
11427 にチェックを付けると、フォントは旧様式数字(中世数字やテキスト数字とも呼ばれます)、すなわち小文字とうまくマッチするような、多様な高さを持つ数字を使用します。
11431 を指定すると、大文字を縮小した疑似スモールキャップ体ではなく、真のスモールキャップ体を使用します。真のスモールキャップ体は、熟練者用フォントセットにはよく含まれ
11432 ています。これらは、疑似スモールキャップ体よりも見栄えがよいですが、一方お金を払って購入しなくてはなりません。
11435 \begin_layout Standard
11440 フィールドでは、日中韓言語ユーザーが文字を表示するのに使用するフォントを指定することができます。
11444 \begin_layout Plain Layout
11449 LaTeXパッケージのコマンドに対する引数になります。したがって、
11457 文書言語に対しては、影響をもちません。
11463 \begin_inset Index idx
11466 \begin_layout Plain Layout
11467 latexはつけじ@LaTeXパッケージ ! CJK
11475 \begin_layout Standard
11476 \begin_inset VSpace bigskip
11480 \begin_inset Note Greyedout
11483 \begin_layout Plain Layout
11484 備考:新しくフォントやフォント寸法を選んでも、LyXの画面上のフォントは変化
11488 。印字出力をして初めて、変化がわかるようになっています。これはWYSIWYMの考え方の一部なのです。LyXの画面フォントは、
11490 ツール\SpecialChar \menuseparator
11493 ダイアログで調整することができます。第
11494 \begin_inset CommandInset ref
11496 reference "sub:画面フォント"
11508 \begin_layout Subsection
11512 \begin_layout Standard
11513 LaTeXでは、数式中の文字に用いられるフォントは、文書フォントとは異なります。文書中でTeXフォントを使用している場合には、
11515 文書\SpecialChar \menuseparator
11519 \begin_inset Index idx
11522 \begin_layout Plain Layout
11523 ふんしよ@文書!せってい@------設定
11528 ダイアログで、明示的に数式フォントを選択することができます。既定の設定では、LyXが自動的に数式フォントを選択します。ほとんどの場合、これはLaTeXの既定値、
11532 \begin_inset space ~
11537 」族の数式版になります。LyXが、これ以外の数式フォントを自動的に読み込むのは、文書フォントの数式版が利用可能なときのみです。
11540 \begin_layout Standard
11546 \begin_inset Flex Ruby
11549 \begin_layout Plain Layout
11551 \begin_inset Argument post:1
11554 \begin_layout Plain Layout
11577 を数式に挿入することで入力することができます)。また、数式フォントの一部はサンセリフ体ですので、文書本文がセリフ体で数式文字がサンセリフ体だと、変な文書になって
11578 しまうかもしれません。したがって、ほとんどの場合、サンセリフ体の数式フォントは、文書フォント設定の
11589 \begin_layout Standard
11590 文書に非TeXフォントを使用している場合、文書クラスの既定TeXフォント(多くの場合「
11593 \begin_inset space ~
11598 」)か、既定フォントの非TeX版(多くの場合「
11601 \begin_inset space ~
11606 」)しか、数式フォントに指定することはできません。
11609 \begin_layout Subsection
11611 \begin_inset Index idx
11614 \begin_layout Plain Layout
11623 \begin_layout Standard
11624 すでに見たように、LyXは、ある特定の段落環境では自動的に文字様式を変更します。LyXは、
11632 の2つの文字様式をサポートしています。これらは、
11633 \begin_inset Flex Ruby
11636 \begin_layout Plain Layout
11638 \begin_inset Argument post:1
11641 \begin_layout Plain Layout
11652 割り当て・メニュー・ツールバーのいずれかを使って有効にすることができます。
11655 \begin_layout Standard
11660 形式を有効にするには、以下のいずれかを行ってください。
11663 \begin_layout Itemize
11673 \begin_layout Itemize
11683 \begin_layout Standard
11684 これらのコマンドは、すべて入切切り替えになっています。つまり、
11688 形式がすでに有効になっている場合に、これらのコマンドを使うと、
11695 \begin_layout Standard
11700 形式は、固有の人名を表記するのに使われます。例えば、
11701 \begin_inset Quotes eld
11708 is the original author of LyX.
11709 \begin_inset Quotes erd
11715 \begin_layout Standard
11724 形式を有効にする(または無効にする - これも入切切り替えです)には、以下のようにしてください。
11727 \begin_layout Itemize
11737 \begin_layout Itemize
11747 \begin_layout Standard
11752 形式は、イタリック体(日本語ではゴシック体)と同じですが、文書クラスやLaTeXパッケージによっては、別のフォントが用いられることもあります。
11755 \begin_layout Standard
11760 形式を使ってきましたが、もう一つ例を挙げておきます。
11763 \begin_layout Quotation
11766 Don't overuse character styles!
11769 \begin_layout Quotation
11775 \begin_layout Standard
11776 これは例であると同時に、文字通りの警告でもあります。文章は日常会話と同じように考えられなくてはなりません。お互いにつねに叫びあって話をしないように、文字様式をつ
11777 ねに濫用するような傾向は避けなくてはなりません。
11780 \begin_layout Standard
11789 編集\SpecialChar \menuseparator
11790 文字様式\SpecialChar \menuseparator
11796 arg "dialog-show character"
11799 )ダイアログを使えば、いつでも戻せます。
11802 \begin_layout Subsection
11804 \begin_inset CommandInset label
11811 \begin_inset Index idx
11814 \begin_layout Plain Layout
11823 \begin_layout Standard
11824 なにか微調整を行わなくてはならない状況はつねに起こり得ますので、LyXは特製文字様式を作る方法を備えています。例えば、学術雑誌や企業によっては、特定の状況ではサ
11825 ンセリフフォントを使うように要求する書式を指定しているかもしれませんし、ある作家は、登場人物の心の声を通常の会話と区別するために、別のフォントを用いるようにして
11829 \begin_layout Standard
11830 特製文字様式について説明を残すにあたって、いま一度、注意を促しておきたいと思います------文字様式は濫用しないでください!
11831 \begin_inset Newline newline
11834 様々なフォントやフォント寸法を多用した文書は、けっして読みやすくなく、誰かが大穴を打ち込んだかのように見えるものです。
11837 \begin_layout Standard
11840 編集\SpecialChar \menuseparator
11841 文字様式\SpecialChar \menuseparator
11847 arg "dialog-show character"
11850 を押してください。このダイアログには、各フォント特性を選択できるようにいくつかのボックスがあります。これらの特性について選択肢を選ぶか、現在の特性を維持したい項
11859 を選ぶと、その特性を既定値に戻します。これは、複数の段落環境にわたる属性を一度にリセットするのにも使用することができます。
11862 \begin_layout Standard
11874 \begin_layout Labeling
11875 \labelwidthstring 00.00.0000
11884 \begin_layout Labeling
11885 \labelwidthstring 00.00.0000
11890 This is the Roman font family. これがローマン・フォント族です。 通常はセリフフォントです。またこれが既定のフォント族になっていま
11892 \begin_inset Flex Ruby
11895 \begin_layout Plain Layout
11897 \begin_inset Argument post:1
11900 \begin_layout Plain Layout
11920 \begin_layout Labeling
11921 \labelwidthstring 00.00.0000
11928 This is the Sans Serif font family.
11931 これがサンセリフ・フォント族です。(鍵割り当て:
11940 \begin_layout Labeling
11941 \labelwidthstring 00.00.0000
11948 This is the Typewriter font family.
11951 これがタイプライタ・フォント族です。(鍵割り当て:
11954 arg "font-typewriter"
11961 \begin_layout Labeling
11962 \labelwidthstring 00.00.0000
11967 これは印字の太さに対応しています。選択肢は
11971 \begin_layout Labeling
11972 \labelwidthstring 00.00.0000
11977 This is the Medium font series.
11978 これがミディアム体の太さです。これが既定の太さです。
11981 \begin_layout Labeling
11982 \labelwidthstring 00.00.0000
11989 This is the Bold font series.
12002 \begin_layout Labeling
12003 \labelwidthstring 00.00.0000
12012 \begin_layout Labeling
12013 \labelwidthstring 00.00.0000
12018 This is the Upright font shape.
12019 これがアップライト体の字形です。またこれが既定の字形になっています。
12022 \begin_layout Labeling
12023 \labelwidthstring 00.00.0000
12036 s the Italic font shape
12043 \begin_layout Labeling
12044 \labelwidthstring 00.00.0000
12051 This is the Slanted font shape.
12054 (LyXの画面では 同じに見えるかもしれませんが、イタリック体ではありません。)
12059 \begin_layout Labeling
12060 \labelwidthstring 00.00.0000
12067 This is the Small caps font shape
12070 . これがスモールキャップ体の字形です。
12074 \begin_layout Labeling
12075 \labelwidthstring 00.00.0000
12080 このスイッチで文字色を調整することができます。ただし、すべてのDVIビューアがカラーを表示できるわけではないことに注意してください。
12118 文書\SpecialChar \menuseparator
12119 設定\SpecialChar \menuseparator
12126 に指定した既定色が使用されることを意味します。
12127 \begin_inset Index idx
12130 \begin_layout Plain Layout
12148 \begin_layout Labeling
12149 \labelwidthstring 00.00.0000
12154 これは、選択範囲の文章が、文書の言語とは異なることを指定するのに使います。このようにして指定された部分には青い下線が(LyX上でのみ)引かれて、言語が変更され
12156 \begin_inset Newline newline
12159 例えば、文書中に長いドイツ語指定のテキストを入れると、LaTeXは自動的にドイツ語のハイフネーション規則を遵守します。スペルチェックを行うときには(第
12160 \begin_inset CommandInset ref
12162 reference "sec:スペルチェック"
12166 節参照)、ドイツ語にマークされたテキストは、ドイツ語辞書を使用して検査されます。
12169 \begin_layout Labeling
12170 \labelwidthstring 00.00.0000
12175 これはフォントの大きさを変更します。ここでは数値を指定するのではなく、選択可能な選択肢は、すべて文書フォント寸法に対する相対的な大きさになっています。ここでも
12176 LyXに詳細な指定をわたすようにはなっておらず、何をしたいか一般的な意図をLyXに示すだけです。選択肢は以下の通りです。
12180 \begin_layout Labeling
12181 \labelwidthstring 00.00.0000
12188 これは「最小(Tiny)」フォント寸法です。
12193 arg "font-size tiny"
12199 \begin_layout Labeling
12200 \labelwidthstring 00.00.0000
12207 これは「極小(Smallest)」フォント寸法です。
12212 arg "font-size scriptsize"
12218 \begin_layout Labeling
12219 \labelwidthstring 00.00.0000
12226 これは「小(Smaller)」フォント寸法です。
12231 arg "font-size footnotesize"
12237 \begin_layout Labeling
12238 \labelwidthstring 00.00.0000
12245 これは「やや小(Small)」フォント寸法です。
12250 arg "font-size small"
12256 \begin_layout Labeling
12257 \labelwidthstring 00.00.0000
12262 これは「ふつう(Normal)」フォント寸法です。既定のフォント寸法です。(鍵割り当て:
12265 arg "font-size normal"
12271 \begin_layout Labeling
12272 \labelwidthstring 00.00.0000
12279 これは「やや大(Large)」フォント寸法です。(
12284 arg "font-size large"
12290 \begin_layout Labeling
12291 \labelwidthstring 00.00.0000
12298 これは「大(Larger)」フォント寸法です。
12305 arg "font-size larger"
12311 \begin_layout Labeling
12312 \labelwidthstring 00.00.0000
12319 これは「極大(Largest)」フォント寸法です。
12326 arg "font-size largest"
12332 \begin_layout Labeling
12333 \labelwidthstring 00.00.0000
12340 これは「極々大(Huge)」フォント寸法です。
12347 arg "font-size huge"
12353 \begin_layout Labeling
12354 \labelwidthstring 00.00.0000
12361 これは「最大(Huger)フォント寸法です。
12368 arg "font-size giant"
12374 \begin_layout Labeling
12375 \labelwidthstring 00.00.0000
12380 これは、寸法を一段大きくします(例えば、「極大」を「極々大」に)。
12387 arg "font-size increase"
12393 \begin_layout Labeling
12394 \labelwidthstring 00.00.0000
12399 これは、寸法を一段小さくします(例えば、「ふつう」を「やや小」に)。
12406 arg "font-size decrease"
12413 \begin_layout Standard
12418 念を押しますが、この機能は使いすぎないでください。フォント寸法を変更する必要はほとんど生じないはずです。LyXが、段落環境ごとに自動的にフォント寸法を変更します
12419 ので、それを使うようにしてください。この機能は、微調整のためだけにあるにすぎません。
12422 \begin_layout Labeling
12423 \labelwidthstring 00.00.0000
12428 これはその他、文字レベルで変更可能なものです。選択肢は以下の通りです。
12432 \begin_layout Labeling
12433 \labelwidthstring 00.00.0000
12440 This is text with emphasize on.
12447 と同じように思われるかもしれませんが、実は意味するところが多少異なります。強調は、
12451 属性なのです。ですから、強調された文章に用いるフォントは、文書クラスがそれぞれに指定することができます。多くの場合は、このフォントはイタリックに指定されています
12455 \begin_layout Labeling
12456 \labelwidthstring 00.00.0000
12463 This is text with Underbar on.
12469 arg "font-underline"
12473 \begin_inset Newline newline
12476 ただし可能な限り下線を引くことは避けてください。下線は、フォントを変更することができなかったタイプライタ時代の遺物です。いまの時代にあっては、文章を強調するのに
12477 下線を引かなくてはならない理由はありません。これがLyXに備えられているのは、学術誌の投稿規程として必要とされることがある
12484 \begin_layout Labeling
12485 \labelwidthstring 00.00.0000
12492 This is text with Double underbar on.
12498 arg "font-underunderline"
12502 \begin_inset Newline newline
12505 下線の使用について警告したことから、二重下線についての考えもお分かりでしょう。
12508 \begin_layout Labeling
12509 \labelwidthstring 00.00.0000
12516 This is text with Wavy underbar on.
12522 arg "font-underwave"
12526 \begin_inset Newline newline
12529 学術誌が絶対にこれを使わないといけないと主張している場合以外は、使用しないでください。酔い止め薬が必要ですな。
12532 \begin_layout Labeling
12533 \labelwidthstring 00.00.0000
12540 This is text with Strikeout on.
12546 arg "font-strikeout"
12550 \begin_inset Newline newline
12553 これは、変更した文章の元の文章を示すためによく用いられます。
12556 \begin_layout Labeling
12557 \labelwidthstring 00.00.0000
12564 This is text with Noun on.
12570 と同様、これも論理属性です。多くの場合、これは
12578 \begin_layout Standard
12579 このように、膨大な組合わせの中から選択をすることができます。いったん
12581 編集\SpecialChar \menuseparator
12582 文字様式\SpecialChar \menuseparator
12588 arg "dialog-show character"
12595 ダイアログで新しい文字様式を選択すると、その設定は保存されます。それを有効にするには、ツールバーボタン
12598 arg "textstyle-apply"
12601 を押してください。このボタンを使えば、作成した特製文字様式の有効化・無効化を、ダイアログが見えないときでも切り替えることができます。
12604 \begin_layout Standard
12605 文字様式を完全に既定の状態に戻すには、
12611 を用いてください。もし、たったいま変更したフォント属性だけを切り替えたい場合(例えば、字形は「斜体」に、太さは「ボールド体」に設定したところだとします)には、
12622 \begin_layout Standard
12635 の三大フォント型の違いについても多少知っておく必要があります。
12638 \begin_layout Itemize
12643 はいわゆる「等間隔」フォントで、すべての文字が同じ幅、例えば「i」と「m」が同じ幅を持ちます。例:
12644 \begin_inset Newline newline
12648 \begin_inset Phantom HPhantom
12651 \begin_layout Plain Layout
12659 typewriter text タイプライタ体の
12662 \begin_inset Phantom HPhantom
12665 \begin_layout Plain Layout
12676 \begin_inset Note Note
12679 \begin_layout Plain Layout
12680 phantom(埋め草)について詳細は、第
12681 \begin_inset CommandInset ref
12683 reference "sub:埋め草"
12693 \begin_inset Newline newline
12696 no type writer text タイプライタ体ではない文章
12699 \begin_layout Itemize
12704 フォントは、セリフ付き文字を使用します。セリフとは、文字を形作る線のすべての端につける、小さな「付録」です。以下の例を見ると違いが分かるかと思います。
12705 \begin_inset Newline newline
12708 text with serifs (セリフ付き文字)
12709 \begin_inset Newline newline
12714 text without serifs (セリフなし文字)
12717 \begin_inset Newline newline
12720 セリフがある方が、簡単に速く読む助けとなります。それゆえ、セリフ体が既定フォントとして用いられています(
12727 \begin_layout Itemize
12732 は、セリフのないフォントです。このフォント型は、それゆえ見出しや短い文によく用いられます。この文書では、サンセリフ体はメニュー名を強調するのに用いられています。
12735 \begin_layout Standard
12736 「切換にする」とは、フォント特性を適用したり取り除いたりするようにすることを意味します。文字様式ダイアログで、ある特性を切換にマークした場合に、既にその特性を持
12737 つテキストに様式を適用すると、その特性が削除されることになります。例えば、現在B・C・F・Gのフォント特性を持つテキストに、A・B・Cの特性を持つ様式を適用する
12738 ものとし、Bが切換で、Cが切換ではないものとすると、適用後の特性は、A・C・F・Gとなります。「常に非切換」と「常に切換」は、切換の挙動を制御しないことを意味し
12739 ます。ダイアログ左側の特性(「フォント族」など)では、切換にするかどうかはあなた次第です。左側にある特性は、既定では切換ではありませんが、
12743 にチェックをつけると、その全てが切換になります。「リセット」は切換になることはありません。例えば、「太さ」を「リセット」にして
12747 を選択してから、ボールド体の文章に様式を適用すると、何回様式を適用したとしても、文章は既定の太さ(「ミディアム体」)に戻ります。
12750 \begin_layout Standard
12751 最後にいま一度、同じ注意をして終わりたいと思います。フォントは多用しないでください。フォントを多用した文章は、よい文章になるどころか、不調和で粗悪な文章になるこ
12755 \begin_layout Standard
12756 \begin_inset Note Greyedout
12759 \begin_layout Description
12764 pLaTeX2eでは書体ファミリーとして明朝体とゴシック体の2種類しか標準では提供されていません。
12772 \begin_layout Section
12776 \begin_layout Subsection
12780 \begin_layout Standard
12781 LyXを使った文書作成の基本的な操作については、だいたい説明し終えたので、労作の印字出力のしかたについてお知りになりたいところでしょう。説明にあたって、まず舞台
12782 裏で何が行われているかを説明します。この件に関する詳しい情報は、取扱説明書『
12789 \begin_layout Standard
12790 LyXは、LaTeXというプログラムを裏方に使っています。LaTeXは、TeX組版システムのマクロパッケージにすぎないのですが、混乱を避けるために、まとめてLa
12791 TeXと呼ぶことにします。LyXは、実際に書き物をするのに、あなたがお使いになるプログラムです。それを印刷可能な出力に変換する段になると、LyXはLaTeXを呼
12792 び出します。これには二段階を経る必要があります。
12795 \begin_layout Enumerate
12796 まずLyXは、お使いの文書をLaTeX用のコマンド群に変換し、「
12800 」という拡張子のついたファイルに保存します。
12803 \begin_layout Enumerate
12808 ファイルにあるコマンドを読んで、印字可能な出力を作成します。
12811 \begin_layout Subsection
12813 \begin_inset Index idx
12816 \begin_layout Plain Layout
12823 \begin_inset CommandInset label
12825 name "sub:出力ファイル形式"
12832 \begin_layout Subsubsection
12834 \begin_inset Index idx
12837 \begin_layout Plain Layout
12838 ふぁいるけいしき@ファイル形式!Ascii@ASCII
12846 \begin_layout Standard
12851 」です。この型は、お使いの文書を「アメリカ情報交換標準コード(ASCII)」の規則にそった平文として保存しています。
12854 \begin_layout Standard
12857 ファイル\SpecialChar \menuseparator
12858 書き出し\SpecialChar \menuseparator
12861 メニューを用いれば、ASCIIに書き出すことができますが、BibTeX書誌情報のように(第
12862 \begin_inset CommandInset ref
12864 reference "sub:文献データベース"
12868 節参照)、外部で生成されたものは書き出されません。お使いの文書にそのような外部素材が含まれる場合、
12870 ファイル\SpecialChar \menuseparator
12871 書き出し\SpecialChar \menuseparator
12877 \begin_inset space ~
12882 を選んでください。こうすると、文書は、当初内部的にPostScriptに書き出され(したがって外部素材も生成され)、それからASCIIに変換されます。
12885 \begin_layout Subsubsection
12887 \begin_inset Index idx
12890 \begin_layout Plain Layout
12891 ふぁいるけいしき@ファイル形式!Latex@LaTeX
12899 \begin_layout Standard
12904 」で、LaTeXプログラムがお使いの文書を処理するのに必要なコマンドをすべて含んでいます。もしLaTeXをご存知であれば、このファイルをLaTeXエラーを見つけ
12905 だすために用いることもできますし、コンソールからコマンドで手動で処理することもできます。LaTeXファイルは、使用中の文書をプレビューしたり書き出したりするとき
12906 には、つねにLyXの作業ディレクトリ内に生成されています。
12909 \begin_layout Standard
12910 お使いの文書をLaTeXファイルとして書き出すには、メニュー
12912 ファイル\SpecialChar \menuseparator
12913 書き出し\SpecialChar \menuseparator
12918 \begin_layout Plain Layout
12927 を使用します。その他の型のLaTeXへの書き出しは、第
12928 \begin_inset CommandInset ref
12930 reference "sub:書き出し"
12937 \begin_layout Subsubsection
12939 \begin_inset Index idx
12942 \begin_layout Plain Layout
12943 ふぁいるけいしき@ファイル形式!Dvi@DVI
12951 \begin_layout Standard
12956 」です。このファイル型は「デバイス独立型」(DVI)と呼ばれ、ひじょうに高い可搬性を持っています。ひとつのコンピュータから他のコンピュータへ、何の変換も行うこと
12957 なしに移動することができるのです。DVIは、プレビューや、PostScriptのような他の出力形式への中間形式として使用されます。
12960 \begin_layout Standard
12961 DVIファイルは、画像を内部に保持してはおらず、画像にリンクを張るだけです。ですから、DVIと一緒に画像ファイルも持ち出すことを忘れないでください。DVIをスク
12962 ロールする際には、DVIビューアは、画像を表示する前にバックグラウンドで変換しなくてはならないので、DVIを見る際にはコンピュータが遅くなるかもしれません。です
12963 から、画像を多用したファイルの場合は、PDFを使用することをおすすめします。
12966 \begin_layout Standard
12967 お使いの文書をDVIファイルとして書き出すには、メニュー
12969 ファイル\SpecialChar \menuseparator
12970 書き出し\SpecialChar \menuseparator
12975 ファイル\SpecialChar \menuseparator
12976 書き出し\SpecialChar \menuseparator
12978 \begin_inset space ~
12985 \begin_layout Plain Layout
12994 を使用します。後者のオプションは、プログラム
13002 は、直接的なUnicodeサポートを提供し、直接フォントアクセスをサポートしたエンジンです(第
13003 \begin_inset CommandInset ref
13005 reference "sub:LaTeXフォントサポート"
13009 節参照)。LuaTeXは、まだ進行中のプロジェクトですが、次世代標準TeXプロセッサに成長するやもしれません。
13012 \begin_layout Subsubsection
13014 \begin_inset Index idx
13017 \begin_layout Plain Layout
13018 ふぁいるけいしき@ファイル形式!Postscript@PostScript
13026 \begin_layout Standard
13031 」です。PostScriptは、Adobe社によってプリンタ言語として開発されました。それゆえ、このファイル型には、プリンタがファイルを印刷するのに使うコマンド
13032 が含まれています。PostScriptは「プログラミング言語」としても見ることができます。これを使って計算をすることもできますし、図表や画像を描くこともできます
13036 \begin_layout Plain Layout
13037 この点について詳細をお知りになりたければ、LaTeXパッケージの
13047 \begin_inset Index idx
13050 \begin_layout Plain Layout
13051 latexはつけじ@LaTeXパッケージ ! pstricks
13056 。この能力ゆえ、PostScriptファイルはおうおうにしてPDFよりも大きくなります。
13059 \begin_layout Standard
13060 PostScriptには、画像を「Encapsulated PostScript」(EPS、ファイル拡張子は「
13064 」)形式でのみ入れることができます。一方、LyXでは、既知の画像形式ならば何でも文書内に入れていいことになっていますので、LyXは、バックグラウンドで画像をEP
13065 Sに変換してやらなくてはなりません。たとえば、文書中に50の画像があるならば、最初に文書の閲覧ないし書き出しを行う際、LyXは50回の画像変換を行わなくてはなら
13066 ないのです。これは、LyXを使った仕事の流れを滞らせることになりかねません。もしPostScriptを利用することをお考えならば、画像を直接EPSとして挿入すれ
13067 ば、この問題を回避することができます。
13070 \begin_layout Standard
13071 お使いの文書をPostScriptファイルとして書き出すためには、メニュー
13073 ファイル\SpecialChar \menuseparator
13074 書き出し\SpecialChar \menuseparator
13080 \begin_layout Subsubsection
13082 \begin_inset Index idx
13085 \begin_layout Plain Layout
13086 ふぁいるけいしき@ファイル形式!Pdf@PDF
13092 \begin_inset Index idx
13095 \begin_layout Plain Layout
13104 \begin_layout Standard
13109 」です。「Portable Document Format(可搬文書形式)」(PDF)は、
13113 がPostScriptの派生として開発したものです。PDFは、PostScriptよりも圧縮されていて、少ないコマンドしか用いません。「可搬」の名の示す通り、P
13114 DFはどのコンピュータでも処理することができ、印字もまったく同じように出力することができます。
13117 \begin_layout Standard
13118 PDFは、その中に画像を、PDF形式かあるいは「Joint Photographic Experts Group(写真専門家連合組織
13122 \begin_layout Plain Layout
13123 訳注:ISOに設置された専門家会合の名称がそのままファイル形式に使われています。
13136 」)形式、または「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子「
13140 」)形式のいずれかの形式で埋め込むことができます。LyXは、いずれにしても、任意の画像形式をバックグラウンドでこれらの形式に変換するので、どの画像形式でも使うこ
13141 とができるようになっています。ただし、PostScriptの節で述べたように、画像変換は作業の流れを滞らせます。したがって、上に述べた3つの形式のいずれかの画像
13145 \begin_layout Standard
13146 お使いの文書をPostScriptファイルとして書き出すには、
13148 ファイル\SpecialChar \menuseparator
13151 メニューを開いた後に以下の5つのいずれかを選択します。
13154 \begin_layout Description
13158 \begin_inset space ~
13167 プログラムによって、ファイルが直接PDFに変換されます。
13170 \begin_layout Description
13174 \begin_inset space ~
13181 \begin_layout Plain Layout
13194 プログラムによって、ファイルが直接PDFに変換されます。
13202 から派生したさらに新しいエンジンであり、同様にUnicodeの直接サポートを提供し、フォントへの直接アクセスをサポートします(第
13203 \begin_inset CommandInset ref
13205 reference "sub:LaTeXフォントサポート"
13209 節参照)。LuaTeXは、まだ進行中のプロジェクトですが、次世代標準TeXプロセッサに成長するやもしれません。
13212 \begin_layout Description
13216 \begin_inset space ~
13223 \begin_layout Plain Layout
13236 プログラムによって、ファイルが直接PDFに変換されます。
13240 は、Unicodeの直接サポートを提供し、フォントへの直接アクセスをサポートする新しいエンジンです(第
13241 \begin_inset CommandInset ref
13243 reference "sub:LaTeXフォントサポート"
13247 節参照)。これは、例えば縦書きの日本語など、様々なスクリプト体を組版するのに特に優れています。
13250 \begin_layout Description
13252 \begin_inset space ~
13258 \begin_inset space ~
13263 と同じですが、ページ余白を切り落としたPDFが出来上がります。これは、例えば、見栄えの良い数式を生成するのにLyXを使い、プレゼンテーションのためなどに、それを
13264 他のプログラムで使用したいような場合に便利です。
13267 \begin_layout Description
13269 \begin_inset space ~
13272 (dvipdfm) これを選択すると、お使いのファイルをバックグラウンドでDVIに変換したものを、
13276 プログラムが2段階めでPDFに変換します。
13279 \begin_layout Description
13283 \begin_inset space ~
13288 これを選択すると、お使いのファイルのPostScript版からPDFを作るのに
13292 プログラムが用いられます。このPostScript版は、途中段階として作られるDVI版を元に、
13296 プログラムが生成するものです。すなわち、この書き出しでは3回の変換を経ることになります。
13299 \begin_layout Standard
13304 は、PDF版が持ちうるすべての機能をサポートし、高速で、問題を起こさずに安定して動作しますので、
13307 \begin_inset space ~
13312 を使用することをおすすめします。複数の書体サポートを利用したり、特定のOpenTypeフォントを使用している場合には、
13316 ほど成熟してはいないことには留意しなくてはなりませんが、代わりに
13319 \begin_inset space ~
13326 \begin_layout Plain Layout
13338 \begin_inset space ~
13345 \begin_layout Plain Layout
13357 \begin_layout Subsubsection
13359 \begin_inset Index idx
13362 \begin_layout Plain Layout
13363 ふぁいるけいしき@ファイル形式!Xhtml@XHTML
13369 \begin_inset Index idx
13372 \begin_layout Plain Layout
13381 \begin_layout Standard
13386 」を持ち、ウェブブラウザでの閲覧に適したファイル形式です。このファイル自身には、画像類は含まれておらず、それらへのリンクしか含むことができないので、LyXがXH
13387 TMLを生成する際には、適切なファイル形式の画像も同時に生成します。数式の出力に関しては、
13389 文書\SpecialChar \menuseparator
13390 設定\SpecialChar \menuseparator
13393 メニューで、出力形式を選ぶことができます。これについては、取扱説明書『
13404 \begin_layout Standard
13405 XHTML出力は、未だ「発展途上」であり、全てのLyXの機能がサポートされているわけではありません。これに関しては、取扱説明書『
13416 \begin_layout Standard
13417 文書をXHTMLファイルに出力するには、
13419 ファイル\SpecialChar \menuseparator
13420 書き出し\SpecialChar \menuseparator
13426 \begin_layout Subsection
13430 \begin_inset Index idx
13433 \begin_layout Plain Layout
13434 ふんしよ@文書!ぷれびゅー@プレビュー
13442 \begin_layout Standard
13443 作成した文書の完成版—つまりすべての改頁が実際に行われ、脚注は正しく連番を振られ、その他諸々のことが完成しているもの—を画面で確認したい場合には、
13457 を押してください。すると、プレビュープログラムがポップアップして、事前に定義した既定の出力形式で出力が表示されます。これは、グローバルに設定もできます(第
13458 \begin_inset CommandInset ref
13460 reference "sec:ファイル形式"
13464 節参照)し、文書設定で文書ごとに変更することもできます(第
13465 \begin_inset CommandInset ref
13473 表示\SpecialChar \menuseparator
13477 \begin_inset Graphics
13478 filename ../../images/view-others.png
13480 groupId toolbarbuttons
13487 \begin_layout Standard
13490 表示\SpecialChar \menuseparator
13495 表示\SpecialChar \menuseparator
13498 メニューを使えば、同じビューア内で出力を更新することができます。
13501 \begin_layout Standard
13502 ファイルのプレビューをしている間は、出力ファイルはLyXの作業ディレクトリ内に生成されているにすぎません。実際の出力を得るには、作業中の文書を書き出してください
13506 \begin_layout Subsection
13508 \begin_inset CommandInset label
13517 \begin_layout Standard
13518 お使いのファイルを書き出してから印刷に取りかかる代わりに、LyXから直接ファイルを印刷することができます。ファイルを印刷するには、
13520 ファイル\SpecialChar \menuseparator
13524 \begin_inset Flex Ruby
13527 \begin_layout Plain Layout
13529 \begin_inset Argument post:1
13532 \begin_layout Plain Layout
13546 arg "dialog-show print"
13552 arg "dialog-show print"
13555 をクリックしてください。LyXは、DVIを生成するのに、内部的にLaTeXを呼び出します。こうしてできたDVIファイルが、
13559 プログラムによって処理されてPostScriptファイルとなり、それが
13563 プログラムによって、最終的に印刷されるのです。これらの各段階がバックグラウンドで行われるので、この方法は最速ではありません。
13566 \begin_layout Standard
13571 ボックスのパラメータを以下のように設定することができます。
13574 \begin_layout Labeling
13575 \labelwidthstring 00.00.0000
13584 \begin_layout Plain Layout
13593 がこのプリンタ名を使えるように設定されていなくてはなりません。既定プリンタは、LyXの設定ダイアログで設定することができます。第
13594 \begin_inset CommandInset ref
13596 reference "sub:プリンタ"
13608 \begin_layout Labeling
13609 \labelwidthstring 00.00.0000
13614 印刷先のファイル名です。出力はPostScriptファイルになります。完全パスを指定しないかぎり、LyXの作業ディレクトリに書き込まれます。
13617 \begin_layout Standard
13618 また、奇数頁あるいは偶数頁のみを印刷することを選ぶこともできます。これは、両面印刷機能のないプリンタで両面印刷をするのに使うことができます。片面をひととおり印刷
13619 したあとに、その紙を裏返して、もう一度プリンタに差し込めばいいのです。プリンタによっては、印字面を上に出力するものもあれば、印字面を下にするものもあります。印刷
13620 する順序を適切に選択すれば、出力された紙の束をソートしなおすことなしに、そのまま使うことができます。
13623 \begin_layout Section
13625 \begin_inset Index idx
13628 \begin_layout Plain Layout
13637 \begin_layout Subsection
13639 \begin_inset Index idx
13642 \begin_layout Plain Layout
13649 \begin_inset Index idx
13652 \begin_layout Plain Layout
13661 \begin_layout Standard
13679 \begin_inset VSpace defskip
13685 \begin_layout Standard
13686 \begin_inset Tabular
13687 <lyxtabular version="3" rows="5" columns="3">
13688 <features rotate="0" tabularvalignment="middle">
13689 <column alignment="left" valignment="top">
13690 <column alignment="left" valignment="top">
13691 <column alignment="left" valignment="top">
13692 <row interlinespace="3mm">
13693 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13696 \begin_layout Plain Layout
13702 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13705 \begin_layout Plain Layout
13711 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13714 \begin_layout Plain Layout
13721 <row interlinespace="3mm">
13722 <cell alignment="center" valignment="top" usebox="none">
13725 \begin_layout Plain Layout
13731 <cell alignment="center" valignment="top" usebox="none">
13734 \begin_layout Plain Layout
13740 <cell alignment="center" valignment="top" usebox="none">
13743 \begin_layout Plain Layout
13754 <row interlinespace="3mm">
13755 <cell alignment="center" valignment="top" usebox="none">
13758 \begin_layout Plain Layout
13764 <cell alignment="center" valignment="top" usebox="none">
13767 \begin_layout Plain Layout
13773 <cell alignment="center" valignment="top" usebox="none">
13776 \begin_layout Plain Layout
13779 挿入\SpecialChar \menuseparator
13780 特殊文字\SpecialChar \menuseparator
13789 <row interlinespace="3mm">
13790 <cell alignment="center" valignment="top" usebox="none">
13793 \begin_layout Plain Layout
13799 <cell alignment="center" valignment="top" usebox="none">
13802 \begin_layout Plain Layout
13808 <cell alignment="center" valignment="top" usebox="none">
13811 \begin_layout Plain Layout
13814 挿入\SpecialChar \menuseparator
13815 特殊文字\SpecialChar \menuseparator
13825 <cell alignment="center" valignment="top" usebox="none">
13828 \begin_layout Plain Layout
13834 <cell alignment="center" valignment="top" usebox="none">
13837 \begin_layout Plain Layout
13838 \begin_inset Formula $-$
13846 <cell alignment="center" valignment="top" usebox="none">
13849 \begin_layout Plain Layout
13865 \begin_inset VSpace defskip
13871 \begin_layout Standard
13876 」文字を続けて複数入力することによって、エヌ・ダッシュやエム・ダッシュを生成することもできます。これらは、最終的な出力では、自動的に適切な長さのダッシュとして出
13877 力されますが、LyXの中ではそうなりません。 「-
13878 \begin_inset space \thinspace{}
13882 \begin_inset space \thinspace{}
13886 \begin_inset space \thinspace{}
13892 \begin_layout Standard
13893 これら3つのダッシュは、それ独自の長さを持つ、数式モードのマイナス記号とは異なります。「
13897 」が使われている例をご覧に入れましょう。
13900 \begin_layout Enumerate
13901 line- and page-breaks
13902 \begin_inset space \hfill{}
13908 \begin_layout Enumerate
13910 \begin_inset space \hfill{}
13916 \begin_layout Enumerate
13917 Oh — there's a dash.
13918 \begin_inset space \hfill{}
13924 \begin_layout Enumerate
13925 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
13929 \begin_inset space \hfill{}
13935 \begin_layout Subsection
13937 \begin_inset Index idx
13940 \begin_layout Plain Layout
13947 \begin_inset CommandInset label
13949 name "sub:ハイフネーション"
13956 \begin_layout Standard
13957 LyX内では単語のハイフネーション(行末におけるハイフン区切り)は行われませんが、出力においては自動的になされます。ハイフネーションは、LaTeXパッケージのb
13959 \begin_inset Index idx
13962 \begin_layout Plain Layout
13963 latexはつけじ@LaTeXパッケージ ! babel
13968 が、文書言語のルールに基づいて行います。
13971 \begin_layout Standard
13972 LaTeXは、ハイフネーションをほとんど完璧にこなしますが、
13976 フォントで書かれた字句と、通常ではありえないような複合語、たとえば「h3knix/m0n0wall」のような単語では問題が生じます。LaTeXが正しく単語を分割
13977 できないときには、手動でハイフネーション位置を挿入します。これは、
13979 挿入\SpecialChar \menuseparator
13980 整形\SpecialChar \menuseparator
13983 メニューで行うことができます。ただし、このハイフネーション位置は、LaTeXに対する勧奨にすぎません。ハイフネーションが必要でないときには、LaTeXはこれを無
13987 \begin_layout Standard
13988 場合によっては、単語などがハイフネートされることを防止したいことがあります。たとえば、文書中で「A-b c」のような形で
13989 \begin_inset Flex Ruby
13992 \begin_layout Plain Layout
13994 \begin_inset Argument post:1
13997 \begin_layout Plain Layout
14009 \begin_inset Flex Ruby
14012 \begin_layout Plain Layout
14014 \begin_inset Argument post:1
14017 \begin_layout Plain Layout
14028 の説明をしたいとしましょう。LaTeXは、ハイフン「-」をハイフネートしても良い場所と判断します。しかし、この場所でハイフネートされると読みにくくなってしまいま
14029 す。捷径がハイフネートされることを防ぐためには、これをボックスの中に入れる方法があります。取扱説明書『
14040 \begin_layout Subsection
14042 \begin_inset Index idx
14045 \begin_layout Plain Layout
14054 \begin_layout Subsubsection
14056 \begin_inset CommandInset label
14065 \begin_layout Standard
14066 執筆中の文書の完成版を生成するためにLyXがLaTeXを実行する際、LaTeXはまず自動的に、単語と文と略語を識別します。その上で、LaTeXは「適切な大きさの
14067 空白」を加えるのです。つまり、文末の句点と次に来る単語のあいだには広めの空白を挿入し、略語を示す句点のあとには、単語間に用いられる空白と同じ大きさの空白を挿入す
14071 \begin_layout Standard
14072 残念ながら、どれが略語であるのかを判別するアルゴリズムは、すべての場合においてうまくいくわけではありません。もし「.」が小文字のあとに付く場合には文末であると自動
14073 的に判断され、大文字のあとに付くならば略語と判断されるのです。
14076 \begin_layout Standard
14084 \begin_layout Itemize
14089 \begin_layout Itemize
14094 \begin_layout Standard
14095 そして、以下がこのアルゴリズムがうまく動作しない例です。
14098 \begin_layout Itemize
14101 this is too much space!
14104 \begin_layout Itemize
14109 \begin_layout Standard
14110 上の不具合は、この文書の完成版を出力してみないとわからないはずです。
14113 \begin_layout Standard
14114 この不具合を正すには、次のいずれかのようにしてください。
14117 \begin_layout Enumerate
14123 \begin_inset CommandInset ref
14125 reference "sub:単語間の空白"
14130 \begin_inset Index idx
14133 \begin_layout Plain Layout
14134 くうはく@空白!たんごかんの@単語間の------
14142 \begin_layout Enumerate
14148 \begin_inset CommandInset ref
14150 reference "sub:小空白"
14155 \begin_inset Index idx
14158 \begin_layout Plain Layout
14159 くうはく@空白!しょう@小------
14167 \begin_layout Enumerate
14168 文のあいだ用の空白があとに入るように強制するには、
14170 挿入\SpecialChar \menuseparator
14177 を使うようにしてください。この機能は、短絡のために
14180 arg "specialchar-insert end-of-sentence"
14186 \begin_layout Standard
14187 以上の方法を採用することで、前出の例は次のようになります。
14190 \begin_layout Itemize
14192 \begin_inset space \thinspace{}
14196 \begin_inset space \space{}
14199 this is too much space!
14202 \begin_layout Itemize
14203 This is I\SpecialChar \@.
14207 \begin_layout Standard
14208 言語によっては、文のあいだに空白を用いないものもあります。仮にそのような言語をお使いだとしても、LaTeXがうまく調整を行いますので、心配なさる必要はありません
14212 \begin_layout Standard
14213 それでも心配性なあなたのためには、これらのかくれたエラーを捕捉するツールがあります。取扱説明書『
14224 \begin_inset space ~
14232 \begin_layout Subsubsection
14234 \begin_inset Index idx
14237 \begin_layout Plain Layout
14244 \begin_inset Index idx
14247 \begin_layout Plain Layout
14252 \begin_layout Plain Layout
14263 \begin_layout Plain Layout
14278 \begin_layout Standard
14279 LyXは通常、引用符を正しく配置します。具体的には、引用文の開始部分には開く引用符、終了部分には閉じる引用符をつけます。例えば、
14280 \begin_inset Quotes eld
14284 \begin_inset Quotes erd
14287 という具合です。これは、キーボードの「
14292 \begin_inset Flex Ruby
14295 \begin_layout Plain Layout
14297 \begin_inset Argument post:1
14300 \begin_layout Plain Layout
14312 \begin_inset space ~
14318 \begin_layout Standard
14321 文書\SpecialChar \menuseparator
14325 \begin_inset Index idx
14328 \begin_layout Plain Layout
14329 ふんしよ@文書 ! せってい@------設定
14346 」鍵の振舞いを変更することができます。選択肢は次の 6つです。
14349 \begin_layout Labeling
14350 \labelwidthstring 00.00.0000
14353 \begin_inset Quotes eld
14357 \begin_inset Quotes erd
14363 \begin_inset Quotes eld
14367 \begin_inset Quotes erd
14371 \begin_inset Quotes els
14375 \begin_inset Quotes ers
14381 \begin_layout Labeling
14382 \labelwidthstring 00.00.0000
14385 \begin_inset Quotes sld
14389 \begin_inset Quotes srd
14395 \begin_inset Quotes sld
14399 \begin_inset Quotes srd
14403 \begin_inset Quotes ers
14409 \begin_layout Labeling
14410 \labelwidthstring 00.00.0000
14413 \begin_inset Quotes gld
14417 \begin_inset Quotes grd
14423 \begin_inset Quotes gld
14427 \begin_inset Quotes grd
14431 \begin_inset Quotes gls
14435 \begin_inset Quotes grs
14441 \begin_layout Labeling
14442 \labelwidthstring 00.00.0000
14445 \begin_inset Quotes pld
14449 \begin_inset Quotes prd
14455 \begin_inset Quotes pld
14459 \begin_inset Quotes prd
14463 \begin_inset Quotes pls
14467 \begin_inset Quotes prs
14473 \begin_layout Labeling
14474 \labelwidthstring 00.00.0000
14477 \begin_inset Quotes fld
14481 \begin_inset Quotes frd
14487 \begin_inset Quotes fld
14491 \begin_inset Quotes frd
14495 \begin_inset Quotes fls
14499 \begin_inset Quotes frs
14505 \begin_layout Labeling
14506 \labelwidthstring 00.00.0000
14509 \begin_inset Quotes ald
14513 \begin_inset Quotes ard
14519 \begin_inset Quotes ald
14523 \begin_inset Quotes ard
14527 \begin_inset Quotes als
14531 \begin_inset Quotes ars
14537 \begin_layout Standard
14539 \begin_inset Flex Ruby
14542 \begin_layout Plain Layout
14544 \begin_inset Argument post:1
14547 \begin_layout Plain Layout
14561 arg "quote-insert single"
14567 \begin_layout Subsection
14569 \begin_inset Index idx
14572 \begin_layout Plain Layout
14579 \begin_inset Index idx
14582 \begin_layout Plain Layout
14587 \begin_layout Plain Layout
14598 \begin_layout Plain Layout
14611 \begin_inset CommandInset label
14620 \begin_layout Standard
14621 欧文の植字における標準的な慣習として、特定の複数の文字を一まとめにして一つの文字として印字することがあります。このようにまとめられた文字を
14625 といいます。LaTeXは合字処理を行いますので、作業中の文書の出力にも合字が現れることになります。標準的な合字は以下のようなものです。
14628 \begin_layout Itemize
14632 \begin_layout Itemize
14636 \begin_layout Itemize
14640 \begin_layout Itemize
14644 \begin_layout Itemize
14648 \begin_layout Standard
14649 言語によっては、文書フォントがサポートしていれば、これと異なる合字を使用することもあります。
14652 \begin_layout Standard
14653 場合によっては、単語内で合字を用いたくないこともあるはずです。例えば、「graffiti」のような単語内で合字を用いることは自然でしょうが、「cufflink(
14654 カフスボタン)」やドイツ語の「Dorffest」のような複合語で合字を使ってしまうと、ひじょうに変な印象を与えます。合字を分離するためには、
14656 挿入\SpecialChar \menuseparator
14659 \SpecialChar \menuseparator
14664 を使用してください。これを使用すると、「cufflinks」は「cuff\SpecialChar \textcompwordmark{}
14665 links」のようになり、「Dorffest」は「Dorf\SpecialChar \textcompwordmark{}
14669 \begin_layout Subsection
14671 \begin_inset CommandInset label
14673 name "sub:LyXの固有名称"
14680 \begin_layout Standard
14681 \begin_inset Index idx
14684 \begin_layout Plain Layout
14685 Lyx@LyX!のこゆうめいしょう@------の固有名称
14690 ここまでで、「LaTeX」という単語が、つねにばらばらの寸法と高さを持つ文字で表されていることに気づかれたはずです。LaTeXとは、LyXが用いるプログラムの名
14695 \begin_layout Plain Layout
14703 \begin_inset Note Note
14706 \begin_layout Plain Layout
14707 ここでTeXコードボックス中に中括弧が入れてあるのは、この「コマンド」が固有名称として出力に現れるのを防ぐために挿入してあります(本節の最終段落を参照)。固有名
14708 称を生成するには、TeXコードボックスを削除してください。
14713 と入力すれば、固有の名称として認識されます。大文字と小文字の配列順を間違えないようにしてください!LyXは、以下の固有名称を識別します。
14716 \begin_layout Description
14717 LyX 本体の名称。生成するには、「L
14721 \begin_layout Plain Layout
14731 \begin_layout Description
14732 TeX LaTeXが使用するプログラム。生成するには、「T
14736 \begin_layout Plain Layout
14746 \begin_layout Description
14747 LaTeX LyXが使用するプログラム。生成するには、「LaT
14751 \begin_layout Plain Layout
14761 \begin_layout Description
14762 LaTeX2e LaTeXの実のバージョン。生成するには、「LaT
14766 \begin_layout Plain Layout
14776 \begin_layout Standard
14778 \begin_inset Formula $\epsilon$
14781 」なのか不思議に思われるかもしれません。TeXの世界では、プログラムに通好みのバージョン番号を与えるのが古くからの通例なのです。例えば、TeXのバージョン番号は
14782 \begin_inset Formula $\pi$
14785 に収束していくようになっています。実際のバージョンは「TeX-3.141592」であり、一つ前のバージョンは「TeX-3.14159」です。
14788 \begin_layout Standard
14789 例えば節見出しなどにおいて、固有名称を使用したくないときは、単語中に空の中括弧の対をTeXコードで埋め込むとよいでしょう。これは画面上では、
14790 \begin_inset Graphics
14791 filename ../clipart/LaTeX.png
14796 \begin_inset Newline newline
14800 \begin_inset CommandInset ref
14802 reference "sec:TeXコード"
14809 \begin_layout Subsection
14811 \begin_inset Index idx
14814 \begin_layout Plain Layout
14823 \begin_layout Standard
14824 一般的に、単位と数字のあいだの空白は、二つの単語のあいだの通常の空白よりも狭くなっています。以下の例から分かるように、空白が狭い方が見映えがよいのです。単位向け
14827 挿入\SpecialChar \menuseparator
14828 整形\SpecialChar \menuseparator
14832 \begin_inset Flex Ruby
14835 \begin_layout Plain Layout
14837 \begin_inset Argument post:1
14840 \begin_layout Plain Layout
14854 arg "space-insert thin"
14860 \begin_layout Standard
14864 \begin_layout Standard
14865 \begin_inset Tabular
14866 <lyxtabular version="3" rows="2" columns="2">
14867 <features rotate="0" tabularvalignment="middle">
14868 <column alignment="left" valignment="top">
14869 <column alignment="left" valignment="top">
14871 <cell alignment="center" valignment="top" usebox="none">
14874 \begin_layout Plain Layout
14876 \begin_inset space ~
14880 \begin_inset Formula $\cdot$
14888 <cell alignment="center" valignment="top" usebox="none">
14891 \begin_layout Plain Layout
14899 <cell alignment="center" valignment="top" usebox="none">
14902 \begin_layout Plain Layout
14904 \begin_inset space \thinspace{}
14908 \begin_inset Formula $\cdot$
14916 <cell alignment="center" valignment="top" usebox="none">
14919 \begin_layout Plain Layout
14933 \begin_layout Subsection
14935 \begin_inset Index idx
14938 \begin_layout Plain Layout
14947 \begin_layout Standard
14948 初期のワードプロセッサでは、ページがいっぱいになりさえすれば、ところかまわず改頁をしていました。文章が実際にどのように進んでいるかについては、まったく考慮が払わ
14949 れていなかったのです。かつて、文書を印刷した後になって初めて、次の節見出しがページのいちばん下に印刷されてしまっていたり、新しい段落の一行めだけがページの最後に
14950 残されてしまったり、あるいは段落の最後の行だけが次のページの最初に印刷されてしまっているのを、見つけた経験がおありのことでしょう。これらのはみ出てしまった文章は
14962 \begin_layout Standard
14963 LyXでは、明らかに、節見出しの直後に改頁が起こることを避けることができます。これは段落環境を採用していることの利点です。しかし、改頁によって段落のうち一行だけ
14964 をページの冒頭や末尾に取り残してしまうことになる、孤立行に関してはどうなのでしょうか。実は、LaTeXには、改頁を制御する規則が埋め込まれており、それらの規則の
14965 中に、明示的に孤立行の発生を防ぐものがあるのです。それにも関わらず、孤立行が発生して、それを取り除きたい場合には、使用中の文書のLaTeXプリアンブルに
14966 \begin_inset Newline newline
14974 \begin_inset Newline newline
14982 \begin_inset Newline newline
14985 というコマンドを書き加えれば、これを回避することができます。LaTeX書籍のうちには、LaTeXの改頁機構についての技術的な詳細が記述されているものもあります(
14986 \begin_inset CommandInset citation
14988 key "latexcompanion"
14993 \begin_inset CommandInset citation
15002 \begin_layout Chapter
15004 \begin_inset CommandInset label
15013 \begin_layout Standard
15018 』に詳細に述べられています。そちらでは、特殊な場合のヒントとテクニックについても述べられています。
15021 \begin_layout Section
15023 \begin_inset Index idx
15026 \begin_layout Plain Layout
15033 \begin_inset CommandInset label
15042 \begin_layout Standard
15043 LyXには、文書に追加できる注釈として、複数の型が存在します。
15046 \begin_layout Description
15047 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。
15048 \begin_inset Newline newline
15052 \begin_inset Note Note
15055 \begin_layout Plain Layout
15056 これは、出力には現れない注釈ボックスに書かれた文章です。
15064 \begin_layout Description
15065 コメント この注釈も出力には現れませんが、
15067 ファイル\SpecialChar \menuseparator
15068 書き出し\SpecialChar \menuseparator
15073 \begin_layout Plain Layout
15081 \begin_inset space ~
15086 メニューを使って文書をLaTeXに書き出す際には、LaTeXコメントとして出力されます。
15087 \begin_inset Newline newline
15091 \begin_inset Note Comment
15094 \begin_layout Plain Layout
15095 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
15103 \begin_layout Description
15104 淡色表示 この注釈は、出力中では、文書設定の
15106 色\SpecialChar \menuseparator
15110 \begin_inset Newline newline
15114 \begin_inset Newline newline
15118 \begin_inset Note Greyedout
15121 \begin_layout Plain Layout
15122 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
15126 \begin_layout Plain Layout
15127 これは、淡色表示注釈内に脚注を用いた例です。この文書では、この注釈型の色は青色に設定されています。
15138 \begin_inset Newline newline
15142 \begin_inset Newline newline
15145 例が示すように、淡色表示注釈には脚注を入れることができます。
15148 \begin_layout Standard
15150 \begin_inset Graphics
15151 filename ../../images/note-insert.png
15153 scaleBeforeRotation
15159 挿入\SpecialChar \menuseparator
15162 メニューで挿入することができます。注釈型を選択するには、それで現れた注釈ボックスを右クリックしてください。
15165 \begin_layout Section
15167 \begin_inset Index idx
15170 \begin_layout Plain Layout
15177 \begin_inset CommandInset label
15186 \begin_layout Standard
15187 LyXは、脚注をボックスを使って表示します。
15189 挿入\SpecialChar \menuseparator
15195 arg "footnote-insert"
15199 \begin_inset Graphics
15200 filename clipart/footnoteQt4.png
15205 ボックスが表示されます。このボックスがLyXにおいて脚注を示すものです。「脚注」と書いてあるラベルを左クリックすると、ボックスが展開されて、中に脚注の本文を入力
15206 することができるようになります。ボックスラベルをもう一度左クリックすると、ボックスは閉じられます。既存の本文を脚注に変更したいときは、その部分を選択して脚注ツー
15210 \begin_layout Standard
15215 \begin_layout Plain Layout
15216 脚注を閉じるには左端のラベルボックスをクリックします。
15224 \begin_layout Standard
15225 脚注は、出力では、本文中の脚注ボックスが配置された場所に上付きの数字として表示されます。脚注の文章は、そのページの下端に配置されます。脚注番号は、文書クラスの指
15226 定に従って、LyXが計算してくれます。LyXは、まだ他の付番スキームをサポートしていませんが、特定のLaTeXコマンドを使用すれば他の付番スキームを使用すること
15227 ができます。この点に関しては、取扱説明書『
15234 \begin_layout Section
15236 \begin_inset Index idx
15239 \begin_layout Plain Layout
15246 \begin_inset CommandInset label
15255 \begin_layout Standard
15256 傍注は、LyXの脚注と同様の外観と挙動を示します。
15258 挿入\SpecialChar \menuseparator
15264 arg "marginalnote-insert"
15267 を使って傍注を挿入すると、文中に「傍注」というラベルのついたボックスが現れます。このボックスが、LyXにおいては傍注を表します。
15270 \begin_layout Standard
15272 \begin_inset Marginal
15275 \begin_layout Plain Layout
15284 \begin_layout Standard
15285 傍注は、片面文書では右側に印字されます。両面文書では、外側の余白、すなわち偶数ページでは左側、奇数ページでは右側に現れます。
15288 \begin_layout Standard
15289 傍注についての詳細な情報は、取扱説明書『
15300 \begin_layout Section
15302 \begin_inset Index idx
15305 \begin_layout Plain Layout
15312 \begin_inset Index idx
15315 \begin_layout Plain Layout
15322 \begin_inset CommandInset label
15331 \begin_layout Standard
15332 文書に図を挿入するには、カーソルを希望する本文中の位置に合わせて、ツールバーアイコン
15335 arg "dialog-show-new-inset graphics"
15340 挿入\SpecialChar \menuseparator
15343 メニューを選択してください。すると、読み込むファイルを選択するダイアログが現れます。
15346 \begin_layout Standard
15347 このダイアログには、ひじょうに多くの—しかしほとんど説明を要しない—パラメータがあります。
15351 タブでは、画像ファイルを選択することができます。LyX内での画像表示と、出力での画像表示は、それぞれ独立して調整することができます。画像は、回転角や縮尺を指定す
15352 ることで変換を行うことができます。縮尺単位に関しては、付録
15353 \begin_inset CommandInset ref
15355 reference "cha:LyXで使用できる単位"
15362 \begin_layout Standard
15367 タブでは、出力における画像の縦横の長さを調整するために、画像座標の設定をすることができます。座標は、
15371 ボタンを押すことによって、自動的に計算することもできます。
15375 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、
15382 \begin_layout Standard
15389 \begin_layout Plain Layout
15400 \begin_layout Plain Layout
15409 タブでは、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。また、ここでLyX内での画像表示法を指定することができます
15414 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
15429 \begin_layout Standard
15430 図ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。図は、出力では、それが置かれている本文中の位置に正確に配置されます。以下は、独立
15431 した中央揃えの段落に置かれたPDF形式の画像の例です。
15434 \begin_layout Standard
15436 \begin_inset Graphics
15437 filename ../clipart/mobius.eps
15445 \begin_layout Standard
15446 画像のキャプションや参照画像が必要な場合は、画像をフロート中に収めなくてはなりません(第
15447 \begin_inset CommandInset ref
15449 reference "sub:図フロート"
15456 \begin_layout Subsection
15458 \begin_inset Index idx
15461 \begin_layout Plain Layout
15462 かそう@画像 ! けいしき@------形式
15468 \begin_inset CommandInset label
15477 \begin_layout Standard
15478 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、第
15479 \begin_inset CommandInset ref
15481 reference "sub:出力ファイル形式"
15485 節で説明したように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラウン
15490 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、第
15491 \begin_inset CommandInset ref
15493 reference "sub:出力ファイル形式"
15497 節内の各小節に挙げてある画像形式のみを使用するとよいでしょう。
15500 \begin_layout Standard
15501 フォントと同じく、画像形式にも以下の二つの型があります。
15504 \begin_layout Description
15505 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
15506 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
15511 \begin_inset Index idx
15514 \begin_layout Plain Layout
15519 \begin_layout Plain Layout
15531 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
15536 \begin_inset Index idx
15539 \begin_layout Plain Layout
15544 \begin_layout Plain Layout
15555 \begin_layout Plain Layout
15567 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
15576 \begin_inset Index idx
15579 \begin_layout Plain Layout
15584 \begin_layout Plain Layout
15595 \begin_layout Plain Layout
15610 \begin_layout Description
15611 伸縮可能画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、beamerがかならず伸縮操作を行うこ
15612 とになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするのに便利
15614 \begin_inset Newline newline
15617 伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
15621 」)、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
15625 」)、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
15629 」)がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、この場合には伸縮可能ではなくなるからです。この
15630 ような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
15634 \begin_layout Plain Layout
15635 PDFの場合には、元の画像を圧縮することもあります。
15643 \begin_layout Standard
15644 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。
15647 \begin_layout Subsection
15649 \begin_inset Index idx
15652 \begin_layout Plain Layout
15653 かそう@画像 ! せつていのくるふか@------設定のグループ化
15661 \begin_layout Standard
15662 すべての画像は、画像設定のグループを新しく定義させるか、既存のグループに属させることができます。同一のグループに属する画像は、同一の設定を共有するので、グループ
15663 内のひとつの画像の設定を変更すれば、グループ内の他のすべての画像が同じ変更を反映します。ですから、例えば、大量の画像の大きさを変えたい場合、ひとつひとつ手動で変
15667 \begin_layout Standard
15678 \begin_layout Plain Layout
15689 \begin_layout Plain Layout
15702 ボタンを押すことで、追加することができます。既存のグループに加えるには、コンテキスト・メニューから望むグループ名をクリックすれば、そのグループに加えることができ
15706 \begin_layout Section
15708 \begin_inset Index idx
15711 \begin_layout Plain Layout
15718 \begin_inset CommandInset label
15727 \begin_layout Standard
15731 arg "tabular-insert"
15736 挿入\SpecialChar \menuseparator
15739 メニューを選択します。するとダイアログが現れ、行数と列数を訊いてきます。既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。
15740 この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っているのと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
15743 \begin_layout Standard
15745 \begin_inset Tabular
15746 <lyxtabular version="3" rows="4" columns="4">
15747 <features rotate="0" tabularvalignment="middle">
15748 <column alignment="center" valignment="top" width="0pt">
15749 <column alignment="center" valignment="top" width="0pt">
15750 <column alignment="center" valignment="top" width="0pt">
15751 <column alignment="center" valignment="top" width="0pt">
15753 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15756 \begin_layout Plain Layout
15762 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15765 \begin_layout Plain Layout
15771 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15774 \begin_layout Plain Layout
15780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15783 \begin_layout Plain Layout
15791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15794 \begin_layout Plain Layout
15800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15803 \begin_layout Plain Layout
15809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15812 \begin_layout Plain Layout
15818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15821 \begin_layout Plain Layout
15829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15832 \begin_layout Plain Layout
15838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15841 \begin_layout Plain Layout
15847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15850 \begin_layout Plain Layout
15856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15859 \begin_layout Plain Layout
15867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15870 \begin_layout Plain Layout
15876 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15879 \begin_layout Plain Layout
15885 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15888 \begin_layout Plain Layout
15894 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15897 \begin_layout Plain Layout
15911 \begin_layout Subsection
15915 \begin_layout Standard
15916 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
15917 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
15920 \begin_layout Standard
15921 表ダイアログのほかに、カーソルが表内にある時に表示される
15925 も表の特性を設定するのに役立ちます。例えば、いまのところ、行を追加したり削除したりすることは、表ツールバーからのみ実行することができます。
15928 \begin_layout Standard
15933 タブでは、現在の行の水平揃えを設定することができます。また行や列を追加すると、新規行・新規列は、現在のセルのすぐ下か右に追加されます。列の垂直揃えは、列幅が指定
15934 されている時のみ、指定することができます。列幅を指定すると、セル内で改行したり、セルに複数の段落を挿入したりすることができるようになります(第
15935 \begin_inset CommandInset ref
15937 reference "sub:表のセル"
15944 \begin_layout Standard
15953 を使うと、同一行あるいは同一列にある複数のセルを連結列セルあるいは連結行セルとして指定することができます。こうすると、複数のセルを一つのセルに連結し、2列あるい
15954 は2行以上にまたがって表示されます。連結列はそれ自体独立した行として取り扱われるので、連結列における水平揃えや列幅や罫線などの設定は、連結列のセルのみに有効です
15955 。以下は、第一行に連結列があり、最終行に上罫線がない(1列のみの)連結列がある表の例です。
15958 \begin_layout Standard
15960 \begin_inset Tabular
15961 <lyxtabular version="3" rows="3" columns="4">
15962 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
15963 <column alignment="center" valignment="top" width="0pt">
15964 <column alignment="center" valignment="middle">
15965 <column alignment="center" valignment="top" width="0in">
15966 <column alignment="center" valignment="top" width="0pt">
15968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15971 \begin_layout Plain Layout
15977 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
15980 \begin_layout Plain Layout
15986 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15989 \begin_layout Plain Layout
15995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15998 \begin_layout Plain Layout
16006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16009 \begin_layout Plain Layout
16015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16018 \begin_layout Plain Layout
16024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16027 \begin_layout Plain Layout
16033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16036 \begin_layout Plain Layout
16044 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16047 \begin_layout Plain Layout
16053 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16056 \begin_layout Plain Layout
16062 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16065 \begin_layout Plain Layout
16071 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16074 \begin_layout Plain Layout
16088 \begin_layout Standard
16097 」の節に説明されているように、連結行セルのように表に特別な整形を行うときに必要になるでしょう。また、カーソル位置のセルや表全体も回転させることができます。この回
16098 転はLyX上には表示されませんが、出力では正しく表示されます。
16101 \begin_layout Standard
16102 \begin_inset Note Greyedout
16105 \begin_layout Plain Layout
16110 ほとんどのDVIビューアは回転を表示することが
16122 \begin_layout Standard
16127 タブでは、現在の行あるいは列の罫線を書き加えたり削除したりすることができます。
16131 ボタンを押すと、全てのセルの周りに罫線が引かれます。
16134 \begin_layout Subsection
16136 \begin_inset Index idx
16139 \begin_layout Plain Layout
16140 ひょう@表!ちょうしゃく@長尺------
16146 \begin_inset Index idx
16149 \begin_layout Plain Layout
16156 \begin_inset Index idx
16159 \begin_layout Plain Layout
16164 \begin_layout Plain Layout
16175 \begin_layout Plain Layout
16190 \begin_layout Standard
16191 表が長すぎて1ページに収まりきらないときには、表ダイアログの
16199 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
16203 \begin_layout Description
16204 ヘッダ: カーソル位置の行とその上の全ての行で、特別なオプションが定義されていないものは、長尺表の全てのページのヘッダ行として定義されるようになります。ただし、
16208 が定義されているときは、冒頭ページを除きます。
16211 \begin_layout Description
16212 冒頭ヘッダ: カーソル位置の行とその上の全ての行で、特別なオプションが定義されていないものは、長尺表の冒頭ページのヘッダ行として定義されるようになります。
16215 \begin_layout Description
16216 フッタ: カーソル位置の行とその下の全ての行で、特別なオプションが定義されていないものは、長尺表の全てのページのフッタ行として定義されるようになります。ただし、
16220 が定義されているときは、末尾ページを除きます。
16223 \begin_layout Description
16224 末尾フッタ: カーソル位置の行とその下の全ての行で、特別なオプションが定義されていないものは、長尺表の末尾ページのフッタ行として定義されるようになります。
16227 \begin_layout Description
16228 キャプション: 第1行は単一列にリセットされますので、ここに
16230 挿入\SpecialChar \menuseparator
16233 メニューで表キャプションを挿入することができます。長尺表のキャプションについては、取扱説明書『
16240 \begin_layout Standard
16241 加えて、表が分割される行を指定することができます。もし同一行に二つ以上のオプションを指定すると、その行の最初のオプションだけが用いられることに留意してください。
16246 として定義されます。ここで「最初の」とは、
16262 の順のうち、最初という意味です。長尺表の動作を見るために以下の例を参照してください。
16265 \begin_layout Standard
16267 \begin_inset Tabular
16268 <lyxtabular version="3" rows="69" columns="3">
16269 <features rotate="0" islongtable="true" longtabularalignment="center">
16270 <column alignment="block" valignment="top" width="5cm">
16271 <column alignment="left" valignment="top" width="0pt">
16272 <column alignment="right" valignment="top" width="0pt">
16273 <row endfirsthead="true">
16274 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16277 \begin_layout Plain Layout
16280 例示用電話帳(名前は無視してください)
16285 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16288 \begin_layout Plain Layout
16294 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16297 \begin_layout Plain Layout
16304 <row endfirsthead="true">
16305 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16308 \begin_layout Plain Layout
16314 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16317 \begin_layout Plain Layout
16323 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16326 \begin_layout Plain Layout
16335 <row endhead="true">
16336 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16339 \begin_layout Plain Layout
16347 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16350 \begin_layout Plain Layout
16356 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16359 \begin_layout Plain Layout
16366 <row endhead="true">
16367 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16370 \begin_layout Plain Layout
16376 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16379 \begin_layout Plain Layout
16385 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16388 \begin_layout Plain Layout
16397 <row endfoot="true">
16398 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16401 \begin_layout Plain Layout
16407 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16410 \begin_layout Plain Layout
16416 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16419 \begin_layout Plain Layout
16427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16430 \begin_layout Plain Layout
16438 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
16441 \begin_layout Plain Layout
16447 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16450 \begin_layout Plain Layout
16458 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16461 \begin_layout Plain Layout
16469 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16472 \begin_layout Plain Layout
16478 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16481 \begin_layout Plain Layout
16489 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16492 \begin_layout Plain Layout
16500 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16503 \begin_layout Plain Layout
16509 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16512 \begin_layout Plain Layout
16520 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16523 \begin_layout Plain Layout
16531 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16534 \begin_layout Plain Layout
16540 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16543 \begin_layout Plain Layout
16551 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16554 \begin_layout Plain Layout
16562 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16565 \begin_layout Plain Layout
16571 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16574 \begin_layout Plain Layout
16582 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16585 \begin_layout Plain Layout
16593 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16596 \begin_layout Plain Layout
16602 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16605 \begin_layout Plain Layout
16613 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16616 \begin_layout Plain Layout
16624 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16627 \begin_layout Plain Layout
16633 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16636 \begin_layout Plain Layout
16644 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16647 \begin_layout Plain Layout
16655 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16658 \begin_layout Plain Layout
16664 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16667 \begin_layout Plain Layout
16675 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16678 \begin_layout Plain Layout
16686 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16689 \begin_layout Plain Layout
16695 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16698 \begin_layout Plain Layout
16706 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16709 \begin_layout Plain Layout
16717 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16720 \begin_layout Plain Layout
16726 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16729 \begin_layout Plain Layout
16737 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16740 \begin_layout Plain Layout
16748 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16751 \begin_layout Plain Layout
16757 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16760 \begin_layout Plain Layout
16768 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16771 \begin_layout Plain Layout
16779 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16782 \begin_layout Plain Layout
16788 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16791 \begin_layout Plain Layout
16799 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16802 \begin_layout Plain Layout
16810 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16813 \begin_layout Plain Layout
16819 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16822 \begin_layout Plain Layout
16830 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16833 \begin_layout Plain Layout
16841 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16844 \begin_layout Plain Layout
16850 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16853 \begin_layout Plain Layout
16861 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16864 \begin_layout Plain Layout
16872 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16875 \begin_layout Plain Layout
16881 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16884 \begin_layout Plain Layout
16892 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16895 \begin_layout Plain Layout
16903 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16906 \begin_layout Plain Layout
16912 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16915 \begin_layout Plain Layout
16923 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16926 \begin_layout Plain Layout
16934 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16937 \begin_layout Plain Layout
16943 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16946 \begin_layout Plain Layout
16954 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16957 \begin_layout Plain Layout
16965 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16968 \begin_layout Plain Layout
16974 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
16977 \begin_layout Plain Layout
16985 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
16988 \begin_layout Plain Layout
16996 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16999 \begin_layout Plain Layout
17005 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17008 \begin_layout Plain Layout
17016 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17019 \begin_layout Plain Layout
17027 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17030 \begin_layout Plain Layout
17036 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17039 \begin_layout Plain Layout
17047 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17050 \begin_layout Plain Layout
17058 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17061 \begin_layout Plain Layout
17067 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17070 \begin_layout Plain Layout
17078 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17081 \begin_layout Plain Layout
17089 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17092 \begin_layout Plain Layout
17098 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17101 \begin_layout Plain Layout
17109 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17112 \begin_layout Plain Layout
17120 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17123 \begin_layout Plain Layout
17129 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17132 \begin_layout Plain Layout
17140 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17143 \begin_layout Plain Layout
17151 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17154 \begin_layout Plain Layout
17160 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17163 \begin_layout Plain Layout
17171 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17174 \begin_layout Plain Layout
17182 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17185 \begin_layout Plain Layout
17191 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17194 \begin_layout Plain Layout
17202 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17205 \begin_layout Plain Layout
17213 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17216 \begin_layout Plain Layout
17222 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17225 \begin_layout Plain Layout
17233 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17236 \begin_layout Plain Layout
17244 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17247 \begin_layout Plain Layout
17253 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17256 \begin_layout Plain Layout
17264 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17267 \begin_layout Plain Layout
17275 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17278 \begin_layout Plain Layout
17284 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17287 \begin_layout Plain Layout
17295 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17298 \begin_layout Plain Layout
17306 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17309 \begin_layout Plain Layout
17315 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17318 \begin_layout Plain Layout
17326 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17329 \begin_layout Plain Layout
17337 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17340 \begin_layout Plain Layout
17346 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17349 \begin_layout Plain Layout
17357 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
17360 \begin_layout Plain Layout
17368 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17371 \begin_layout Plain Layout
17377 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17380 \begin_layout Plain Layout
17388 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17391 \begin_layout Plain Layout
17397 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
17400 \begin_layout Plain Layout
17406 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17409 \begin_layout Plain Layout
17417 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17420 \begin_layout Plain Layout
17428 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17431 \begin_layout Plain Layout
17437 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17440 \begin_layout Plain Layout
17448 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17451 \begin_layout Plain Layout
17459 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17462 \begin_layout Plain Layout
17468 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17471 \begin_layout Plain Layout
17479 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17482 \begin_layout Plain Layout
17490 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17493 \begin_layout Plain Layout
17499 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17502 \begin_layout Plain Layout
17510 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17513 \begin_layout Plain Layout
17521 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17524 \begin_layout Plain Layout
17530 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17533 \begin_layout Plain Layout
17541 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17544 \begin_layout Plain Layout
17552 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17555 \begin_layout Plain Layout
17561 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17564 \begin_layout Plain Layout
17572 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17575 \begin_layout Plain Layout
17583 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17586 \begin_layout Plain Layout
17592 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17595 \begin_layout Plain Layout
17603 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17606 \begin_layout Plain Layout
17614 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17617 \begin_layout Plain Layout
17623 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17626 \begin_layout Plain Layout
17634 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17637 \begin_layout Plain Layout
17645 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17648 \begin_layout Plain Layout
17654 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17657 \begin_layout Plain Layout
17665 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17668 \begin_layout Plain Layout
17676 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17679 \begin_layout Plain Layout
17685 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17688 \begin_layout Plain Layout
17696 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17699 \begin_layout Plain Layout
17707 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17710 \begin_layout Plain Layout
17716 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17719 \begin_layout Plain Layout
17727 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17730 \begin_layout Plain Layout
17738 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17741 \begin_layout Plain Layout
17747 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17750 \begin_layout Plain Layout
17758 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17761 \begin_layout Plain Layout
17769 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17772 \begin_layout Plain Layout
17778 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17781 \begin_layout Plain Layout
17789 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17792 \begin_layout Plain Layout
17800 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17803 \begin_layout Plain Layout
17809 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17812 \begin_layout Plain Layout
17820 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17823 \begin_layout Plain Layout
17831 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17834 \begin_layout Plain Layout
17840 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17843 \begin_layout Plain Layout
17851 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17854 \begin_layout Plain Layout
17862 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17865 \begin_layout Plain Layout
17871 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17874 \begin_layout Plain Layout
17882 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17885 \begin_layout Plain Layout
17893 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17896 \begin_layout Plain Layout
17902 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17905 \begin_layout Plain Layout
17913 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17916 \begin_layout Plain Layout
17924 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17927 \begin_layout Plain Layout
17933 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17936 \begin_layout Plain Layout
17944 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17947 \begin_layout Plain Layout
17955 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17958 \begin_layout Plain Layout
17964 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17967 \begin_layout Plain Layout
17975 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
17978 \begin_layout Plain Layout
17986 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17989 \begin_layout Plain Layout
17995 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
17998 \begin_layout Plain Layout
18006 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18009 \begin_layout Plain Layout
18017 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18020 \begin_layout Plain Layout
18026 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18029 \begin_layout Plain Layout
18037 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18040 \begin_layout Plain Layout
18048 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18051 \begin_layout Plain Layout
18057 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18060 \begin_layout Plain Layout
18068 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18071 \begin_layout Plain Layout
18079 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18082 \begin_layout Plain Layout
18088 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18091 \begin_layout Plain Layout
18099 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18102 \begin_layout Plain Layout
18110 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18113 \begin_layout Plain Layout
18119 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18122 \begin_layout Plain Layout
18130 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18133 \begin_layout Plain Layout
18141 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18144 \begin_layout Plain Layout
18150 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18153 \begin_layout Plain Layout
18161 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18164 \begin_layout Plain Layout
18172 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18175 \begin_layout Plain Layout
18181 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18184 \begin_layout Plain Layout
18192 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18195 \begin_layout Plain Layout
18203 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18206 \begin_layout Plain Layout
18212 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18215 \begin_layout Plain Layout
18223 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18226 \begin_layout Plain Layout
18234 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18237 \begin_layout Plain Layout
18243 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18246 \begin_layout Plain Layout
18254 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18257 \begin_layout Plain Layout
18265 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18268 \begin_layout Plain Layout
18274 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18277 \begin_layout Plain Layout
18285 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18288 \begin_layout Plain Layout
18296 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18299 \begin_layout Plain Layout
18305 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18308 \begin_layout Plain Layout
18316 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18319 \begin_layout Plain Layout
18327 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18330 \begin_layout Plain Layout
18336 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18339 \begin_layout Plain Layout
18347 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
18350 \begin_layout Plain Layout
18358 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18361 \begin_layout Plain Layout
18367 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18370 \begin_layout Plain Layout
18377 <row endlastfoot="true">
18378 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18381 \begin_layout Plain Layout
18387 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
18390 \begin_layout Plain Layout
18396 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18399 \begin_layout Plain Layout
18413 \begin_layout Subsection
18415 \begin_inset Index idx
18418 \begin_layout Plain Layout
18419 ひょう@表!のせる@------のセル
18425 \begin_inset CommandInset label
18434 \begin_layout Standard
18435 表のセルの中には、テキスト、行内数式、図、別の表などを入れることができます。これらのすべての種類のオブジェクトを同一セルに置くことも可能です。フォント寸法や字型
18436 を変更することもできますが、セルに特別な環境(例えば
18440 など)を入れたり、セルの段落に空白を指定するオプションを設定することはできません。
18443 \begin_layout Standard
18444 表のセルに複数行にわたる項目を入れるには、表ダイアログで当該列に固定列幅を宣言しなくてはなりません。すると、文章が指定した列幅よりも長くなると、自動的に複数行に
18445 改行され、セル高も高く調整されます。以下の例をご覧ください。
18448 \begin_layout Standard
18450 \begin_inset Tabular
18451 <lyxtabular version="3" rows="4" columns="3">
18452 <features rotate="0" tabularvalignment="middle">
18453 <column alignment="center" valignment="top" width="0pt">
18454 <column alignment="block" valignment="top" width="4cm">
18455 <column alignment="center" valignment="top" width="0pt">
18457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18460 \begin_layout Plain Layout
18466 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18469 \begin_layout Plain Layout
18475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18478 \begin_layout Plain Layout
18486 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18489 \begin_layout Plain Layout
18495 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18498 \begin_layout Plain Layout
18504 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18507 \begin_layout Plain Layout
18515 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18518 \begin_layout Plain Layout
18524 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18527 \begin_layout Plain Layout
18533 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18536 \begin_layout Plain Layout
18544 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18547 \begin_layout Plain Layout
18553 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18556 \begin_layout Plain Layout
18557 これは、表内の複数行項目です。もう少し付け加えます。
18562 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18565 \begin_layout Plain Layout
18579 \begin_layout Standard
18580 表どうしやセルどうしの切り貼りはうまく動作します。二行以上にわたっても切り貼りは可能です
18584 \begin_layout Plain Layout
18589 複数のセルを選択した状態で貼り付けをすることはできません。なぜなら、ひとつの単語を2行3列の選択範囲に貼り付けるとは、具体的に何をすればいいのか明らかではないか
18596 \begin_inset Flex Ruby
18599 \begin_layout Plain Layout
18601 \begin_inset Argument post:1
18604 \begin_layout Plain Layout
18615 による選択も通常どおり機能します。表全体の切り貼りも、表の外側から選択を始めることで行うことができます。
18618 \begin_layout Section
18620 \begin_inset Index idx
18623 \begin_layout Plain Layout
18630 \begin_inset CommandInset label
18639 \begin_layout Subsection
18643 \begin_layout Standard
18648 \begin_layout Plain Layout
18658 とは、位置の固定していない、なんらかのラベルを伴った文章の塊のことで、指定した位置から一二ページ前後のあいだでもっとも良い場所へ「漂う」ことができます。
18666 も、当該ページに注が多すぎるときには次のページに浮遊していくことができますから、これらもフロートと言ってよいでしょう。
18669 \begin_layout Standard
18670 フロートを使用すると、高品質のレイアウトを得ることができます。画像や表は、文章のないページや空白部分ができないように、各ページに分散して配置されます。フロート化
18671 することによって、本文と画像や表のあいだにある文脈が途切れてしまうことがあるので、各フロートは本文中で参照することができるようになっています。したがってフロート
18672 には付番がなされます。参照に関しては、第
18673 \begin_inset CommandInset ref
18675 reference "sec:相互参照"
18682 \begin_layout Standard
18685 挿入\SpecialChar \menuseparator
18689 \begin_inset space ~
18692 #:」(#は実際には番号)というキャプションの付いたボックスが挿入されます。ラベルは、出力時に自動的に文書言語に翻訳されます。ラベルの後にはキャプション文
18693 \begin_inset Index idx
18696 \begin_layout Plain Layout
18697 ふろーと@フロート!きゃぷしょん@キャプション
18702 を挿入することができます。画像ないし表は、キャプションの上か下に、フロート内の別の段落として挿入します。また、LyX文書を読みやすくするために、ボックスラベルを
18703 左クリックすれば、フロートボックスを開いたり閉じたりすることができます。閉じたフロートボックスは
18704 \begin_inset Graphics
18705 filename clipart/floatQt4.png
18709 のように赤いラベルの付いた灰色のボタンとして表されます。
18712 \begin_layout Standard
18713 周囲の本文に特別な整形がなされているときに起こりうるLaTeXエラーを回避するために、フロートは独立した段落として挿入することを推奨します。
18716 \begin_layout Subsection
18718 \begin_inset Index idx
18721 \begin_layout Plain Layout
18722 ふろーと@フロート!ず@図------
18728 \begin_inset CommandInset label
18737 \begin_layout Standard
18739 \begin_inset CommandInset ref
18741 reference "fig:カモノハシ-1"
18747 挿入\SpecialChar \menuseparator
18748 フロート\SpecialChar \menuseparator
18754 arg "float-insert figure"
18757 を使って生成しました。フロート生成後、キャプションラベルの上方にカーソルを持って行き、
18759 挿入\SpecialChar \menuseparator
18765 arg "dialog-show-new-inset graphics"
18768 を使って、画像を挿入します。その後、画像の前か後にカーソルを持って行き、
18770 編集\SpecialChar \menuseparator
18776 arg "layout-paragraph"
18779 を使用して、フロート内の画像を中央揃えにしてあります。
18782 \begin_layout Standard
18783 \begin_inset Float figure
18789 \begin_layout Plain Layout
18791 \begin_inset Graphics
18792 filename ../clipart/platypus.eps
18795 rotateOrigin center
18802 \begin_layout Plain Layout
18803 \begin_inset Caption Standard
18805 \begin_layout Plain Layout
18806 \begin_inset CommandInset label
18825 \begin_layout Standard
18826 この図フロートは、ラベルの付け方と相互参照の作り方も示しています。まず、
18828 挿入\SpecialChar \menuseparator
18839 挿入\SpecialChar \menuseparator
18845 arg "dialog-show-new-inset ref"
18848 を使って、このラベルを参照します。図フロートを参照する場合には、「上図」のようにあいまいな参照をするのではなく、相互参照を使用することが重要です。LaTeXは、
18849 文書の最終版でフロートの再配置を行うため、図が「上」に来るかどうかはまったくもって定かではないからです。相互参照については、第
18850 \begin_inset CommandInset ref
18852 reference "sec:相互参照"
18859 \begin_layout Standard
18860 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
18861 図フロートの中に図フロートを入れ込むことによって、実現することができます。第
18862 \begin_inset CommandInset ref
18864 reference "sec:図・表・アルゴリズム一覧"
18868 節に説明されている通り、図一覧には、フロートのメインキャプションのみが表示されることにご注意ください。図
18869 \begin_inset CommandInset ref
18871 reference "fig:歪められた二つの像"
18875 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
18876 \begin_inset CommandInset ref
18878 reference "fig:何かわからない"
18883 \begin_inset CommandInset ref
18885 reference "fig:カモノハシ"
18892 \begin_layout Standard
18893 \begin_inset Float figure
18898 \begin_layout Plain Layout
18899 \begin_inset space \hfill{}
18903 \begin_inset Float figure
18908 \begin_layout Plain Layout
18909 \begin_inset Caption Standard
18911 \begin_layout Plain Layout
18912 \begin_inset CommandInset label
18926 \begin_layout Plain Layout
18927 \begin_inset Graphics
18928 filename ../clipart/escher-lsd.eps
18939 \begin_inset space \hfill{}
18943 \begin_inset Float figure
18948 \begin_layout Plain Layout
18949 \begin_inset Caption Standard
18951 \begin_layout Plain Layout
18952 \begin_inset CommandInset label
18966 \begin_layout Plain Layout
18967 \begin_inset Graphics
18968 filename ../clipart/platypus.eps
18980 \begin_inset space \hfill{}
18986 \begin_layout Plain Layout
18987 \begin_inset Caption Standard
18989 \begin_layout Plain Layout
18990 \begin_inset CommandInset label
18992 name "fig:歪められた二つの像"
19009 \begin_layout Subsection
19011 \begin_inset Index idx
19014 \begin_layout Plain Layout
19015 ふろーと@フロート!ひょう@表------
19023 \begin_layout Standard
19026 挿入\SpecialChar \menuseparator
19027 フロート\SpecialChar \menuseparator
19033 arg "float-insert table"
19036 を使うと挿入することができます。フロート中の表が、図のようにキャプションの上ではなく、通常、下に置かれることと、ラベルが「tab:」で始まることを除けば、表フロ
19038 \begin_inset CommandInset ref
19040 reference "tab:表フロート"
19047 \begin_layout Standard
19048 \begin_inset Float table
19054 \begin_layout Plain Layout
19055 \begin_inset Caption Standard
19057 \begin_layout Plain Layout
19058 \begin_inset CommandInset label
19072 \begin_layout Plain Layout
19074 \begin_inset Tabular
19075 <lyxtabular version="3" rows="3" columns="3">
19076 <features rotate="0" tabularvalignment="middle">
19077 <column alignment="center" valignment="top" width="0pt">
19078 <column alignment="center" valignment="top" width="0pt">
19079 <column alignment="center" valignment="top" width="0pt">
19081 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19084 \begin_layout Plain Layout
19090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19093 \begin_layout Plain Layout
19099 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19102 \begin_layout Plain Layout
19110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19113 \begin_layout Plain Layout
19119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19122 \begin_layout Plain Layout
19128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19131 \begin_layout Plain Layout
19139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19142 \begin_layout Plain Layout
19143 \begin_inset Formula $\int x^{2}dx$
19151 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19154 \begin_layout Plain Layout
19155 \begin_inset Formula $\left[\begin{array}{cc}
19158 \end{array}\right]$
19166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19169 \begin_layout Plain Layout
19170 \begin_inset Formula $1+1=2$
19191 \begin_layout Subsection
19193 \begin_inset Index idx
19196 \begin_layout Plain Layout
19197 ふろーと@フロート ! しょうさい@詳細
19205 \begin_layout Standard
19206 LyXには、他にも回転フロートなどのフロート型があります。他にも、フロートの連番スキームを変更したり、フロートの配置を調整したり、フロートキャプションの書式や配
19207 置を変更することができます。これらの機能は、取扱説明書『
19215 」の章に、多くの用例とともに、詳しく説明されています。
19218 \begin_layout Section
19220 \begin_inset Index idx
19223 \begin_layout Plain Layout
19230 \begin_inset CommandInset label
19239 \begin_layout Standard
19240 LaTeXには、ミニページという、ページの中にページを事実上作ってしまう機構があります。ミニページの中では、字下げや行折返しなどの通常の規則がすべて有効です。
19243 \begin_layout Standard
19244 ミニページはLyXにおいては、折りたたみ可能なボックスとして表され、
19246 挿入\SpecialChar \menuseparator
19249 メニューで挿入できます。ボックスを右クリックすると、ミニページの幅やページ内部での配置を変更することができます。
19252 \begin_layout Standard
19254 \begin_inset Box Frameless
19264 height_special "totalheight"
19267 \begin_layout Plain Layout
19270 これはミニページです。本文はイタリック(Italic)体に設定されています。
19273 \begin_layout Plain Layout
19276 ミニページは、本文と異なる言語の文章や、別の整形方法を要する文章などによく用いられます。
19284 \begin_layout Standard
19285 \begin_inset VSpace medskip
19288 二つのみにページを横に並べるときには、第
19289 \begin_inset CommandInset ref
19291 reference "sub:水平方向の空白"
19300 \begin_inset VSpace medskip
19306 \begin_layout Standard
19307 \begin_inset Box Frameless
19317 height_special "totalheight"
19320 \begin_layout Plain Layout
19321 これは、まったく意味のないダミーの文章を含むミニページです。このダミーの文章は、ミニページが十分な大きさを持つようにするためのものです。
19327 \begin_inset space \hfill{}
19331 \begin_inset Box Frameless
19341 height_special "totalheight"
19344 \begin_layout Plain Layout
19345 これは、まったく意味のないダミーの文章を含むミニページです。このダミーの文章は、ミニページが十分な大きさを持つようにするためのものです。
19353 \begin_layout Standard
19354 \begin_inset VSpace bigskip
19360 \begin_layout Standard
19361 ミニページボックスを右クリックすると、ボックスをミニページから他のボックス型に変更することができます。ボックスの全型とその設定については、取扱説明書『
19372 \begin_layout Chapter
19374 \begin_inset Index idx
19377 \begin_layout Plain Layout
19384 \begin_inset Index idx
19387 \begin_layout Plain Layout
19392 \begin_layout Plain Layout
19403 \begin_layout Plain Layout
19416 \begin_inset CommandInset label
19425 \begin_layout Standard
19430 』に詳細な記述があります。そちらには、特殊な場合のヒントとコツも収録されています。
19433 \begin_layout Section
19435 \begin_inset Index idx
19438 \begin_layout Plain Layout
19439 すうしき@数式!のきほん@------の基本
19447 \begin_layout Standard
19448 数式を作成するには、ツールバーアイコン
19455 \begin_inset Flex Ruby
19458 \begin_layout Plain Layout
19460 \begin_inset Argument post:1
19463 \begin_layout Plain Layout
19480 )をクリックするだけでできます。すると、四隅を紫のマーカーで囲まれた青い箱が現れます。この青い箱が数式それ自身で、紫のマーカーは数式内の現在地の入れ子の深さを表
19485 \SpecialChar \menuseparator
19490 メニューを使えば、挿入する数式の型を選ぶこともできます。
19493 \begin_layout Standard
19494 数式のパラメータの編集や、数式の構成物の追加は、カーソルが数式内にある時に現れる、
19501 \begin_layout Standard
19502 数式には主に二つの型があります。そのうちの一つ、行内数式は本文の行内に現れる数式で以下のように表現されます:
19505 \begin_layout Standard
19507 \begin_inset Formula $A=B$
19513 \begin_layout Standard
19514 もう一つの別行立て数式は、本文の外側に単独の段落であるかのように表現されるもので、以下のようにみえます:
19515 \begin_inset Formula
19522 番号を振ったり参照をしたりするのは、別行立て数式しかできません。
19525 \begin_layout Standard
19526 LyXは、多くのLaTeX数式コマンドをサポートしています。例えば、「
19532 」と入力してスペースを押せば、数式の中にギリシア文字
19533 \begin_inset Formula $\alpha$
19540 を使うよりもコマンドを打った方が速いことがあるでしょう。
19543 \begin_layout Subsection
19545 \begin_inset Index idx
19548 \begin_layout Plain Layout
19557 \begin_layout Standard
19558 既存の数式内でカーソル位置をコントロールする一番いい方法は矢印
19559 \begin_inset Flex Ruby
19562 \begin_layout Plain Layout
19564 \begin_inset Argument post:1
19567 \begin_layout Plain Layout
19578 を使うことです。LyXは、何かを挿入できる場所を小さな箱で示します。矢印鍵は数式内の各部品のあいだを移動するのに使うことができます。
19583 \begin_inset Formula $\sqrt{2}$
19587 \begin_inset Formula $\left(f\right)$
19591 \begin_inset Formula $\left[\begin{array}{cc}
19594 \end{array}\right]$
19597 等)から脱出するのに使うことができます。
19601 を押すと、数式から脱出してカーソルは数式の直後に移動します。
19605 は、数式内を水平に移動するのに使います。例えば、行列中のセルの移動や複数行の数式中の移動などです。
19608 \begin_layout Standard
19614 \begin_inset space \textvisiblespace{}
19617 」と印刷されます—は、数式中では何もしないように見えますが、実は入れ子構造から脱出するのに使われるのです。このため、
19621 を使うときには注意しなくてはなりません。例えば、
19622 \begin_inset Formula $\sqrt{2x+1}$
19632 \begin_inset space \textvisiblespace{}
19646 \begin_inset space \textvisiblespace{}
19654 \begin_inset space \textvisiblespace{}
19662 \begin_inset Formula $2x$
19666 \begin_inset Formula $\sqrt{2x}+1$
19672 \begin_layout Standard
19673 以下の行列のように、数式の多くの構成要素は、一部だけ入力した状態で置いておくことができます。例:
19674 \begin_inset Formula
19676 \left(\begin{array}{ccc}
19685 分数の一部しか入力しなかったり、上付き文字に何も入力しなかった場合には、何が起こるかは予想できませんが、ほとんどの構成要素はすべて入力しなくとも大丈夫です。
19688 \begin_layout Subsection
19692 \begin_layout Standard
19693 数式中で文字を選択するには二つの方法があります。一つは、選択したい文字列の端にカーソルを置いて
19698 \begin_inset Flex Ruby
19701 \begin_layout Plain Layout
19703 \begin_inset Argument post:1
19706 \begin_layout Plain Layout
19717 を押しながらカーソル移動鍵で文字列を選択する方法です。すると、通常の文字列選択と同じように、選択部がハイライト表示されます。もう一つの方法は、他と同じようにマウ
19718 スを使って選択することです。選択部は、切り取りやコピーをして任意の数式中に貼り付けすることができますが、LyX中の通常の本文領域には貼り付けできません。
19721 \begin_layout Subsection
19723 \begin_inset Index idx
19726 \begin_layout Plain Layout
19733 \begin_inset Index idx
19736 \begin_layout Plain Layout
19737 すうしき@数式!したつきもじ@下付き文字
19745 \begin_layout Standard
19746 上付き文字や下付き文字を入力するには(
19749 arg "math-superscript"
19755 arg "math-subscript"
19758 ボタン)、数式パネルを使うこともできますが、コマンドを使用する方がより簡単です。つまり、
19759 \begin_inset Formula $x^{2}$
19767 \begin_inset space \textvisiblespace{}
19774 で、カーソルが上付き文字の位置から数式のベースライン位置に戻ります。もし
19779 \begin_inset Formula $x^{2y}$
19783 \begin_inset Formula $x^{2}y$
19792 \begin_inset space \textvisiblespace{}
19800 と入力して下さい。上付き文字を入力する時には、「^」で移行することができ、上付き部分から戻る際には
19805 \begin_inset Formula $x^{a}$
19813 \begin_inset space \textvisiblespace{}
19817 \begin_inset Formula $a_{1}$
19825 \begin_inset space \textvisiblespace{}
19831 \begin_layout Subsection
19833 \begin_inset Index idx
19836 \begin_layout Plain Layout
19845 \begin_layout Standard
19859 arg "math-insert \\frac"
19862 アイコンを使用してください。空の分数が現れて、カーソルが分数の横棒の上方に置かれます。横棒の下に移動するには
19870 を押して下さい。以下の例に示されているように、分数には任意の数式要素を入れることができます。
19871 \begin_inset Formula
19873 \left[\frac{1}{\left(\begin{array}{cc}
19876 \end{array}\right)}\right]
19884 \begin_layout Subsection
19886 \begin_inset Index idx
19889 \begin_layout Plain Layout
19898 \begin_layout Standard
19902 arg "math-insert \\sqrt"
19908 arg "math-insert \\root"
19923 コマンドを使って作成することができます。
19929 コマンドでは、立方根のような高次の根を生成することができますが、
19938 \begin_layout Subsection
19940 \begin_inset Index idx
19943 \begin_layout Plain Layout
19950 \begin_inset Index idx
19953 \begin_layout Plain Layout
19960 \begin_inset CommandInset label
19969 \begin_layout Standard
19971 \begin_inset Formula $\sum$
19975 \begin_inset Formula $\int$
19978 )には、しばしば和や積分の上限・下限を書き加えることがあります。これらの上限下限は、記号の直後で上付き文字や下付き文字を入力するときと同じようにすれば入力するこ
19979 とができます。和記号の場合は、別行立て数式では上限は記号の上に下限は記号の下に自動的に配置され、行内数式の場合は記号の横に配置されます。つまり行内数式は
19980 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
19984 \begin_inset Formula
19986 \sum_{n=1}^{\infty}\frac{1}{n!}=e
19991 となります。一方、積分記号の場合は、上限下限はどちらの数式型でも積分記号の横に配置されます。全ての範囲付き演算子は、別行立てモードでは自動的に大きさが調整されま
19992 す。上限下限の位置は、カーソルを記号の直後に置いて、
20000 編集\SpecialChar \menuseparator
20001 数式\SpecialChar \menuseparator
20004 メニューを使えば変更することができます。
20007 \begin_layout Standard
20008 他の数式表現にも、この「移動する上限下限」機能を持つものがあります。例えば
20009 \begin_inset Index idx
20012 \begin_layout Plain Layout
20013 すうしき@数式!じょうげんかげん@上限下限
20019 \begin_inset Index idx
20022 \begin_layout Plain Layout
20027 \begin_layout Plain Layout
20038 \begin_layout Plain Layout
20051 \begin_inset Formula
20053 \lim_{x\rightarrow\infty}f(x),
20059 \begin_inset Formula $x\rightarrow\infty$
20062 を記号の下に配置しますが、行内モードでは
20063 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
20069 \begin_layout Standard
20076 を使って入力されたものであることに注意してください。関数マクロに関しては、第
20077 \begin_inset CommandInset ref
20086 \begin_layout Subsection
20088 \begin_inset Index idx
20091 \begin_layout Plain Layout
20100 \begin_layout Standard
20105 にあるギリシャ文字・演算子・関係子・矢印等の各カテゴリの中に収録されています。また、アメリカ数学会(AMS: American Mathematical
20106 Society) が提供している記号も加えてあります。
20109 \begin_layout Standard
20110 もし使いたい数式要素や記号のLaTeXコマンドを知っているならば、数式パネルを使う必要はなく、数式に直接コマンドを入力すればよいでしょう。LyXが、それを対応す
20114 \begin_layout Subsection
20116 \begin_inset Index idx
20119 \begin_layout Plain Layout
20126 \begin_inset Index idx
20129 \begin_layout Plain Layout
20134 \begin_layout Plain Layout
20145 \begin_layout Plain Layout
20160 \begin_layout Standard
20161 LaTeXの提供する標準的な余白取りとは異なる余白を使いたいことがあるかもしれません。この場合は、
20164 arg "command-alternatives math-space ; space-insert protected"
20174 arg "math-insert \\space"
20177 を使用してください。これは小さな空白を追加するもので、画面上には小さなマーカーが表示されます。例えば、
20182 \begin_inset Flex Ruby
20185 \begin_layout Plain Layout
20187 \begin_inset Argument post:1
20190 \begin_layout Plain Layout
20202 \begin_inset Formula $a\,b$
20206 \begin_inset Graphics
20207 filename ../clipart/SpaceMarker.png
20211 のように表示されます。空白マーカーの直後にカーソルを置いて空白をさらに何度か押すと、空白を異なる長さに変えることができます。一度空白を押す度に長さが変わります。
20212 負の長さを持ついくつかの空白は、LyX上では赤色で表示されます。以下に例を二つ上げます。
20215 \begin_layout Standard
20225 \begin_inset Formula $a\quad b$
20231 \begin_layout Standard
20241 \begin_inset Formula $a\!b$
20247 \begin_layout Subsection
20249 \begin_inset Index idx
20252 \begin_layout Plain Layout
20259 \begin_inset CommandInset label
20268 \begin_layout Standard
20276 arg "math-insert \\functions"
20280 \begin_inset Formula $\sin$
20284 \begin_inset Formula $\lim$
20287 など多くの関数が含まれています(数式中で
20293 などと入力して挿入することも可能です)。通常、
20294 \begin_inset Formula $sin$
20298 \begin_inset Formula $s\cdot i\cdot n$
20301 を意味することになってしまうので、数学の標準的な慣習では、混乱を避けるため関数はアップライト体で印字されます。
20304 \begin_layout Standard
20305 また、関数マクロは関数の周りに適切な余白を設定します。
20306 \begin_inset Formula $a\sin x$
20310 \begin_inset Formula $asinx$
20316 \begin_layout Standard
20317 \begin_inset Formula $\lim$
20320 のようないくつかの数式オブジェクトでは、マクロが下付き文字の位置を、第
20321 \begin_inset CommandInset ref
20323 reference "sub:範囲付き演算子"
20327 節に述べられているような方法で変更します。
20330 \begin_layout Subsection
20332 \begin_inset Index idx
20335 \begin_layout Plain Layout
20336 すうしき@数式!あくせんと@アクセント
20344 \begin_layout Standard
20345 数式中においても、通常の本文と同じ方法で、アクセントの付いた文字を挿入することができます。方法は、使用しているキーボードと
20346 \begin_inset Flex Ruby
20349 \begin_layout Plain Layout
20351 \begin_inset Argument post:1
20354 \begin_layout Plain Layout
20365 設定ファイルによって異なります。また、キーボードがアクセントを使うように設定されていないでも、例えば
20366 \begin_inset Formula $\hat{a}$
20369 を挿入するのにLaTeXコマンドを使用することができます。この例では、数式中で
20376 \begin_inset space \textvisiblespace{}
20383 と入力することによって作成しています。第
20384 \begin_inset CommandInset ref
20386 reference "tab:アクセント名とそれに対応するコマンド"
20390 表はアクセント名とコマンドの対照表を示しています。
20393 \begin_layout Standard
20394 \begin_inset Float table
20399 \begin_layout Plain Layout
20403 \begin_layout Plain Layout
20404 \begin_inset Caption Standard
20406 \begin_layout Plain Layout
20407 \begin_inset CommandInset label
20409 name "tab:アクセント名とそれに対応するコマンド"
20421 \begin_layout Plain Layout
20423 \begin_inset Tabular
20424 <lyxtabular version="3" rows="11" columns="3">
20425 <features rotate="0" tabularvalignment="middle">
20426 <column alignment="center" valignment="top" width="0pt">
20427 <column alignment="center" valignment="top" width="0pt">
20428 <column alignment="center" valignment="top" width="0pt">
20430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20433 \begin_layout Plain Layout
20439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20442 \begin_layout Plain Layout
20448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20451 \begin_layout Plain Layout
20459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20462 \begin_layout Plain Layout
20468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20471 \begin_layout Plain Layout
20481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20484 \begin_layout Plain Layout
20485 \begin_inset Formula $\hat{a}$
20495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20498 \begin_layout Plain Layout
20504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20507 \begin_layout Plain Layout
20517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20520 \begin_layout Plain Layout
20521 \begin_inset Formula $\grave{a}$
20531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20534 \begin_layout Plain Layout
20540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20543 \begin_layout Plain Layout
20553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20556 \begin_layout Plain Layout
20557 \begin_inset Formula $\acute{a}$
20567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20570 \begin_layout Plain Layout
20576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20579 \begin_layout Plain Layout
20589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20592 \begin_layout Plain Layout
20593 \begin_inset Formula $\ddot{a}$
20603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20606 \begin_layout Plain Layout
20612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20615 \begin_layout Plain Layout
20625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20628 \begin_layout Plain Layout
20629 \begin_inset Formula $\tilde{a}$
20639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20642 \begin_layout Plain Layout
20648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20651 \begin_layout Plain Layout
20661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20664 \begin_layout Plain Layout
20665 \begin_inset Formula $\dot{a}$
20675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20678 \begin_layout Plain Layout
20684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20687 \begin_layout Plain Layout
20697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20700 \begin_layout Plain Layout
20701 \begin_inset Formula $\breve{a}$
20711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20714 \begin_layout Plain Layout
20720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20723 \begin_layout Plain Layout
20733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20736 \begin_layout Plain Layout
20737 \begin_inset Formula $\check{a}$
20747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20750 \begin_layout Plain Layout
20756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20759 \begin_layout Plain Layout
20769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20772 \begin_layout Plain Layout
20773 \begin_inset Formula $\bar{a}$
20783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20786 \begin_layout Plain Layout
20792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20795 \begin_layout Plain Layout
20805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20808 \begin_layout Plain Layout
20809 \begin_inset Formula $\vec{a}$
20825 \begin_layout Plain Layout
20834 \begin_layout Standard
20842 arg "math-insert \\hat"
20845 から項目を選ぶことで選択することもできます。この方法は、数式内で選択したものなら何にでも適用することができます。
20848 \begin_layout Section
20850 \begin_inset Index idx
20853 \begin_layout Plain Layout
20860 \begin_inset Index idx
20863 \begin_layout Plain Layout
20864 すうしき@数式!くぶんきごう@区分記号
20870 \begin_inset CommandInset label
20879 \begin_layout Standard
20880 LyXで使える括弧には、いくつかのものがあります。ほとんどの場合、単に
20885 \begin_inset Flex Ruby
20888 \begin_layout Plain Layout
20890 \begin_inset Argument post:1
20893 \begin_layout Plain Layout
20904 を使うだけで十分ですが、行列や分数のような大きな数式要素の周りを括弧で囲みたい場合や、幾重もの括弧を使いたい場合には、
20911 arg "dialog-show mathdelimiter"
20914 を使うべきです。例えば、行列周りの括弧を作るには
20915 \begin_inset Formula
20917 \left[\begin{array}{cc}
20925 のようにします。下記の表現の左側は、区分記号アイコン
20928 arg "dialog-show mathdelimiter"
20936 \begin_inset Formula
20938 \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})}))}
20946 \begin_layout Standard
20947 区分記号アイコンを使用すると、括弧は、中身の大きさに応じて自動的に大きさが変わります。
20950 \begin_layout Standard
20951 括弧を作成するには、左側と右側に使う括弧のボタンをクリックしてください。左右対称オプションを使用すると、選択した括弧型が左右両方に使用されます。選択したものは、
20952 TeXコードとして表示されます。片側の括弧を無くしたい場合には、
20956 を選択します。すると、LyX上では破線が表示されますが、印刷時には何も印字されなくなります。
20959 \begin_layout Standard
20960 既存の数式要素に括弧をつけたい場合は、根号と同様に、括弧の中に入れる要素を選択状態にし、左右に適切な括弧を選んで
20964 をクリックしてください。選択した要素の周りに括弧が描かれます。最もよく使われる括弧対(両側とも丸括弧・角括弧・波括弧のもの)は、
20965 \begin_inset Flex Ruby
20968 \begin_layout Plain Layout
20970 \begin_inset Argument post:1
20973 \begin_layout Plain Layout
20984 を使用して、素早く入力することができます。例えば、両側を伸縮可能な丸括弧にするには、括弧をつける対象を選択して
20987 arg "math-delim ( )"
20993 \begin_layout Section
20995 \begin_inset Index idx
20998 \begin_layout Plain Layout
21005 \begin_inset Index idx
21008 \begin_layout Plain Layout
21015 \begin_inset Index idx
21018 \begin_layout Plain Layout
21019 すうしき@数式!ふくすうぎょう@複数行------
21027 \begin_layout Standard
21028 LyXでは、行列は数式パネルの行列ボタン
21031 arg "dialog-show mathmatrix"
21034 を使用して入力します。これを押すとダイアログが表示されますので、行数と列数を指定してください。以下が作例です。
21035 \begin_inset Formula
21037 \left(\begin{array}{ccc}
21047 \begin_inset CommandInset ref
21049 reference "sec:括弧と区分記号"
21053 節で述べられている方法でつけてください。行列を作成する際には、各列を左揃えにするか、右揃えにするか、中央揃えにするかを指定することができます。この配置は、
21069 」の各文字を入力することで指定できます。LyXの既定値は各列とも「
21077 」という文字列を入れると、各文字がそれぞれの列に対応するので、第1列を左揃え、第2列を中央揃え、第3列の右揃えにすることになります。この出力は以下のようになりま
21079 \begin_inset Formula
21082 \mbox{この} & \mbox{この} & \mbox{この}\\
21083 \mbox{列は} & \mbox{列は} & \mbox{列は}\\
21084 \mbox{左揃えです} & \mbox{中央揃えです} & \mbox{右揃えです}
21093 \begin_layout Standard
21094 既存の行列に行を追加するには、カーソルを行列内に置いて
21097 arg "newline-insert newline"
21102 編集\SpecialChar \menuseparator
21105 メニューか数式ツールバーを使用してください。
21108 \begin_layout Standard
21109 数式には、他にも場合分けのような配列を使用することができます。これは、
21111 挿入\SpecialChar \menuseparator
21112 数式\SpecialChar \menuseparator
21121 コマンドで作成することができます。以下がその例です。
21122 \begin_inset Formula
21136 \begin_layout Standard
21137 \begin_inset VSpace bigskip
21143 arg "newline-insert newline"
21146 を押すことで作成することができます。空の数式では、各列を表す3つの青い枠が表示されます。空でない数式内で
21149 arg "newline-insert newline"
21152 を押すと、関係子(等号「=」など)の前の部分は自動的に第1列に入れられ、関係子が第2列、残りが第3列に入れられます。新規の行は、さらに
21155 arg "newline-insert newline"
21158 を押すたびに追加されます。多行数式は、つねに別行立てです。以下がその例です。
21159 \begin_inset Formula
21161 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
21162 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
21167 中央の列は関係子用にデザインされていますので、この列の要素は、以下のように少し小さい大きさで印字されることに注意してください。
21168 \begin_inset Formula
21170 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
21178 \begin_layout Standard
21184 \begin_inset CommandInset ref
21186 reference "eq:asquared"
21190 式よりも美しい行間が欲しい場合など、状況によっては、より適した複数行型が他にあります。他の型に関しては、第
21191 \begin_inset CommandInset ref
21193 reference "sub:AMS数式型"
21200 \begin_layout Section
21202 \begin_inset Index idx
21205 \begin_layout Plain Layout
21206 すうしき@数式!ばんごう@------番号
21212 \begin_inset Index idx
21215 \begin_layout Plain Layout
21216 すうしき@数式!さんしょう@------参照
21222 \begin_inset CommandInset label
21231 \begin_layout Standard
21232 数式に番号をつけるには、数式内にカーソルを置いて、
21234 編集\SpecialChar \menuseparator
21235 数式\SpecialChar \menuseparator
21239 \begin_inset Flex Ruby
21242 \begin_layout Plain Layout
21244 \begin_inset Argument post:1
21247 \begin_layout Plain Layout
21261 arg "math-number-toggle"
21264 を使用してください。数式番号は、LyX中では括弧付きで表示されます。表示されている番号は一時的なもので、出力が生成されるときには別の番号になる可能性があります。
21265 出力における数式番号の配置と形式は、文書クラスに依存します。この文書では、数式番号は、章番号とともに、ピリオドのあとに印字されます。
21266 \begin_inset Formula
21276 arg "math-number-toggle"
21279 と押すと、番号を消すことができます。番号付けは別行立て数式でしかできません。
21282 \begin_layout Standard
21283 多行数式では、行ごとに番号をつけることができます。
21285 編集\SpecialChar \menuseparator
21286 数式\SpecialChar \menuseparator
21290 \begin_inset Flex Ruby
21293 \begin_layout Plain Layout
21295 \begin_inset Argument post:1
21298 \begin_layout Plain Layout
21312 arg "math-number-line-toggle"
21315 を使用すると、以下のように、カーソルがある行の番号だけを付けたり消したりすることができます。
21316 \begin_inset Formula
21319 2 & = & 4-2\nonumber \\
21328 arg "math-number-toggle"
21332 \begin_inset VSpace bigskip
21335 別行立て数式の番号はすべて、ラベルを使って参照することができます。ラベルは、カーソルが数式内にあるときに、
21337 挿入\SpecialChar \menuseparator
21346 )、ラベルを入力するダイアログが開きますので、そこで挿入することができます。このとき、ラベルの冒頭部を表示のとおり「
21350 」にしておく方が、文書内にたくさんのラベルがあふれてしまったときにラベル型を判別する助けとなるので、望ましいでしょう。以下の例では、第2行に「eq:tanhEx
21352 \begin_inset Formula
21354 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
21355 & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
21360 ラベル行はすべて自動的に付番されますので、LyX中では、ラベルは数式番号の場所に位置取りを示す「#」で表示されます。ラベルのついた数式は、
21362 挿入\SpecialChar \menuseparator
21368 arg "dialog-show-new-inset ref"
21371 )、参照したいラベルを選択するダイアログが現れますので、これを使って参照することができます。参照は、以下のように、LyX中では灰色の相互参照ボックスとして表示さ
21375 \begin_layout Standard
21377 \begin_inset CommandInset ref
21379 reference "eq:tanhExp"
21386 \begin_layout Standard
21387 LyXの相互参照ボックスの設定については、第
21388 \begin_inset CommandInset ref
21390 reference "sec:相互参照"
21394 節に説明があります。ラベルを削除するには、ラベル付きの数式の終端にカーソルを置き、
21401 \begin_layout Section
21403 \begin_inset Index idx
21406 \begin_layout Plain Layout
21407 すうしき@数式!まくろ@------マクロ
21415 \begin_layout Standard
21416 LyXでは、数式用に自前のマクロを定義することができるので、同じ形の数式が文書中に何度も現れるときには、たいへん便利です。数式マクロは、取扱説明書『
21427 \begin_layout Section
21431 \begin_layout Subsection
21433 \begin_inset Index idx
21436 \begin_layout Plain Layout
21445 \begin_layout Standard
21446 文字の標準フォントはイタリック体であり、数字の標準フォントはローマン体です。数式中でフォントを指定するには、数式パネルの
21449 arg "math-insert \\font"
21453 \begin_inset CommandInset ref
21455 reference "tab:書体とそれに対応するコマンド"
21459 表に掲げてあるコマンドを直接入力してください。
21462 \begin_layout Standard
21463 \begin_inset Float table
21468 \begin_layout Plain Layout
21469 \begin_inset Caption Standard
21471 \begin_layout Plain Layout
21472 \begin_inset CommandInset label
21474 name "tab:書体とそれに対応するコマンド"
21486 \begin_layout Plain Layout
21488 \begin_inset Tabular
21489 <lyxtabular version="3" rows="9" columns="2">
21490 <features rotate="0" tabularvalignment="middle">
21491 <column alignment="center" valignment="top" width="0pt">
21492 <column alignment="center" valignment="top" width="0pt">
21494 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21497 \begin_layout Plain Layout
21503 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
21506 \begin_layout Plain Layout
21514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21517 \begin_layout Plain Layout
21518 \begin_inset Formula $\mathrm{Roman}$
21526 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21529 \begin_layout Plain Layout
21541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21544 \begin_layout Plain Layout
21545 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
21553 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21556 \begin_layout Plain Layout
21568 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21571 \begin_layout Plain Layout
21572 \begin_inset Formula $\mathit{Italic}$
21580 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21583 \begin_layout Plain Layout
21595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21598 \begin_layout Plain Layout
21599 \begin_inset Formula $\mathtt{Typewriter}$
21607 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21610 \begin_layout Plain Layout
21622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21625 \begin_layout Plain Layout
21626 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
21634 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21637 \begin_layout Plain Layout
21649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21652 \begin_layout Plain Layout
21653 \begin_inset Formula $\mathfrak{Fraktur}$
21661 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21664 \begin_layout Plain Layout
21676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21679 \begin_layout Plain Layout
21682 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
21690 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21693 \begin_layout Plain Layout
21705 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21708 \begin_layout Plain Layout
21709 \begin_inset Formula $\mathsf{SansSerif}$
21717 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
21720 \begin_layout Plain Layout
21743 \begin_layout Standard
21744 \begin_inset Note Greyedout
21747 \begin_layout Plain Layout
21759 では、大文字しか印字できないことに注意してください。
21767 \begin_layout Standard
21768 書体を指定すると、青い枠が数式中に表示されます。この枠中の文字はすべて、指定した書体で印字されます。枠中で
21772 を押すとカーソルが枠外に出てしまうので、枠中で空白が欲しい場合には、保護された空白を使用しなくてはなりません。以下は、自然数の集合を表すのに
21777 \begin_inset Formula
21779 f(x)=\sqrt{x}\;;\;x\in\mathbb{N}
21787 \begin_layout Standard
21788 書体は入れ子にすることが可能ですが、混乱の元になることがあります。例えば
21789 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
21800 の文字を入れることは可能ですが、この機能は使用しない方が望ましいでしょう。
21803 \begin_layout Standard
21805 \begin_inset Formula $\mathfrak{abc\delta e}$
21808 に見られるように、ギリシャ文字には効力がありません。またギリシャ文字を太字にするには、
21814 コマンドのみが有効です。これは、他の書体コマンドと同様に動作します。例:
21815 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
21821 \begin_layout Standard
21828 コマンドは、すべての記号や文字・数字に有効です。
21831 \begin_layout Standard
21834 編集\SpecialChar \menuseparator
21835 数式\SpecialChar \menuseparator
21838 メニューから、多くのフォント・オプションが利用できます。
21841 \begin_layout Subsection
21843 \begin_inset Index idx
21846 \begin_layout Plain Layout
21855 \begin_layout Standard
21856 書体は、いくつかの文字をある特定のフォントにするには便利ですが、文章を入れるには向いていません。比較的長い文章を入力するには、
21863 arg "math-insert \\font"
21870 」(あるいを選択して得られる、数式内文章を使用してください。LyX内では、数式内文章は、青色ではなく黒色で表示されます。数式内文章では、通常の本文と同様に空白や
21871 アクセントが使用できます。以下の例をご覧ください。
21872 \begin_inset Formula
21875 x & \mbox{もし私がそう言った場合}\\
21876 -x & \textrm{unter Umständen(場合によっては)}
21885 \begin_layout Subsection
21887 \begin_inset Index idx
21890 \begin_layout Plain Layout
21891 すうしき@数式 ! ふぉんとすんぽう@フォント寸法
21899 \begin_layout Standard
21900 数式モードで使用されるフォントには、4つのフォント形式(相対寸法)がありますが、ほとんどの状況下で、これらは自動的に選択されます。これらのフォント形式は、それぞ
21925 においては、ほとんどの文字が同じ大きさですが、関数・下付き文字・上付き文字などは
21929 の方が大きくなっています。状況に応じて伸縮するいくつかの演算子を除くすべての文字は、LaTeXが適切と判断する形式に設定されます。これらの設定は、数式パネルボタ
21935 arg "math-insert \\style"
21940 を使用することで上書きすることができます。選択した寸法用の枠が生成されるので、その中に数式要素を入力します。例えば、通常
21945 \begin_inset Formula $\frac{1}{2}$
21953 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
21956 と表示するように設定することができます。4つの形式の例を以下に挙げます。
21959 \begin_layout Standard
21961 \begin_inset Formula $displaystyle$
21965 \begin_inset Formula ${\textstyle textstyle}$
21969 \begin_inset Formula ${\scriptstyle scriptstyle}$
21973 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
21979 \begin_layout Standard
21980 これらの数式モードのフォント寸法は、すべて相対的なものです。すなわち、数式挿入枠全体が、
21982 編集\SpecialChar \menuseparator
21985 メニューを使用して特定の寸法に変更されると、数式中のすべての大きさのフォントが、この寸法を基準にして調整されます。同じように、文書全体の基本フォント寸法が変更さ
21986 れれば、すべてのフォントがこれに応じて調整されます。以下は、「極大」フォント寸法の中に挿入された数式の例です。
21989 \begin_layout Standard
21992 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
21998 \begin_layout Section
22000 \begin_inset Index idx
22003 \begin_layout Plain Layout
22010 \begin_inset Index idx
22013 \begin_layout Plain Layout
22022 \begin_layout Standard
22023 LyXは、アメリカ数学会(AMS: The American Mathematical Society )の提供するパッケージをサポートしています。
22026 \begin_layout Subsection
22030 \begin_layout Standard
22033 文書\SpecialChar \menuseparator
22037 \begin_inset Index idx
22040 \begin_layout Plain Layout
22041 ふんしよ@文書!せってい@------設定
22053 \begin_inset space ~
22058 チェックボックスを選択状態にすると、AMSパッケージが文書にインクルードされ、その機能が有効になります。AMSは、多くの数式要素に必要とされているので、数式部で
22059 LaTeXエラーが出る場合には、AMSが有効になっていることを確認してください。
22062 \begin_layout Subsection
22064 \begin_inset CommandInset label
22071 \begin_inset Index idx
22074 \begin_layout Plain Layout
22075 すうしき@数式!ふくすうぎょう@複数行------
22083 \begin_layout Standard
22084 AMS-LaTeXは、数式型を複数提供しています。LyXでは、
22104 を選択することができるようになっていますこれらの数式型の説明に関しては、AMSの取扱説明書をご参照ください
22105 \begin_inset CommandInset citation
22114 \begin_layout Chapter
22118 \begin_layout Section
22120 \begin_inset Index idx
22123 \begin_layout Plain Layout
22130 \begin_inset CommandInset label
22139 \begin_layout Standard
22140 LyXの強みの一つは、強力な相互参照機能です。文書中のすべての節・フロート・脚注・数式・箇条書きを参照することが可能です。文書の一部を参照するには、文書にラベル
22141 を挿入しなくてはなりません。ラベルは、参照位置を固定するとともに、参照用の名前をつけるのに使われます。例として、以下の箇条書きの第2項目を参照したいものとしまし
22145 \begin_layout Enumerate
22149 \begin_layout Enumerate
22150 \begin_inset CommandInset label
22159 \begin_layout Enumerate
22163 \begin_layout Standard
22164 まず、挿入ラベルメニューを使うかツールバーボタン
22170 を押して、第2項目にラベルを挿入します。
22171 \begin_inset Graphics
22172 filename clipart/labelQt4.png
22177 のような灰色のラベル枠が挿入され、ラベルウィンドウがポップアップして、ラベル用文字列を入力するように促します。LyXは、項目の最初の単語に前置詞をつけたもの、こ
22182 」を文字列の候補として表示します。ここで前置詞「
22186 」は、「enumerate(連番箇条書き)」を表します。前置詞は、ラベルが挿入される文書内の場所によって異なるものが付き、例えばラベルを節見出しに挿入すると、前
22194 \begin_layout Standard
22197 挿入\SpecialChar \menuseparator
22203 arg "dialog-show-new-inset ref"
22206 を使用して、そのラベル名を参照してください。
22207 \begin_inset Graphics
22208 filename clipart/referenceQt4.png
22213 のような灰色の枠が挿入され、相互参照ウィンドウが現れて文書内のすべてのラベルが表示されます。見やすくラベルをアルファベット順に整列するなどして、「
22217 」という項目を見つけ選択してください。出力では、相互参照枠の位置に項目番号が印字されます。
22220 \begin_layout Standard
22223 挿入\SpecialChar \menuseparator
22226 の代わりに、ラベルをクリックすると現れるコンテクストメニューにある
22230 を使うこともできます。すると、このラベルに対する相互参照がクリップボードにコピーされるので、
22232 編集\SpecialChar \menuseparator
22236 \begin_inset Flex Ruby
22239 \begin_layout Plain Layout
22241 \begin_inset Argument post:1
22244 \begin_layout Plain Layout
22261 )メニューを使って、現在のカーソル位置に貼り付けることができます。
22264 \begin_layout Standard
22266 \begin_inset CommandInset ref
22268 reference "enu:第2項目"
22273 \begin_inset space ~
22277 \begin_inset CommandInset ref
22279 reference "enu:第2項目"
22286 \begin_layout Standard
22287 英文などの場合は、改行が汚くなるのを防ぐため、相互参照名とその前の単語とのあいだには保護された空白
22291 \begin_layout Plain Layout
22293 \begin_inset CommandInset ref
22295 reference "sub:保護された空白"
22307 \begin_layout Standard
22308 相互参照には、以下の6つの種類があります。
22311 \begin_layout Description
22312 <参照> フロート番号を印字します。これが既定値です。(例)
22313 \begin_inset CommandInset ref
22315 reference "fig:歪められた二つの像"
22322 \begin_layout Description
22323 (<参照>) フロート番号をかっこの中に印字します。これは通常、数式を参照するのに使われる形式で、特に参照接頭辞「式」を省略するときに使われます。(例)
22324 \begin_inset CommandInset ref
22326 reference "fig:歪められた二つの像"
22333 \begin_layout Description
22334 <参照ページ> ページ番号を印字します。(例)
22335 \begin_inset CommandInset ref
22336 LatexCommand pageref
22337 reference "fig:歪められた二つの像"
22344 \begin_layout Description
22346 \begin_inset space ~
22350 \begin_inset space ~
22353 <参照ページ> 「on page」という文とページ番号を出力します。(例)
22354 \begin_inset CommandInset ref
22355 LatexCommand vpageref
22356 reference "fig:歪められた二つの像"
22361 \begin_inset Newline newline
22364 ラベルが同じページにある場合は、「on this page」と出力し、ラベルが両面文書の見開きにある場合には、「on the facing page」と出力しま
22365 す。見開きにない前のページにラベルがあるときは、「on the previous page」と出力し、見開きにない次のページにラベルがあるときは、「on
22366 the next page」と出力します。出力される文の言葉遣いは、使用する文書クラスに依存します。
22369 \begin_layout Description
22371 \begin_inset space ~
22375 \begin_inset space ~
22379 \begin_inset space ~
22382 <参照ページ> フロート番号、「on page」という文、ページ番号の順に印字します。(例)
22383 \begin_inset CommandInset ref
22385 reference "fig:歪められた二つの像"
22390 \begin_inset Newline newline
22393 ラベルが同じページにあるときは、本書式は
22408 \begin_layout Description
22409 整形参照 自己定義の相互参照形式で印字します。
22410 \begin_inset Newline newline
22414 \begin_inset Note Greyedout
22417 \begin_layout Plain Layout
22431 \begin_inset Index idx
22434 \begin_layout Plain Layout
22435 latexはつけじ@LaTeXパッケージ! prettyref
22441 \begin_inset Index idx
22444 \begin_layout Plain Layout
22445 latexはつけじ@LaTeXパッケージ ! refstyle
22450 が導入されているときのみ、使用できます。
22456 \begin_inset Newline newline
22461 文書\SpecialChar \menuseparator
22462 設定\SpecialChar \menuseparator
22467 相互参照に(prettyrefではなく)refstyleを使用
22469 オプションを使えば、この機能に使用するLaTeXパッケージを変更することができます。既定では
22477 は英語しかサポートしないので、こちらの方が望ましい設定になっています。書式は、文書のLaTeXプリアンブルで、
22497 の場合)コマンドを使用して指定することができます。例えば、図への参照(ラベル接頭辞
22500 \begin_inset Quotes erd
22504 \begin_inset Quotes erd
22510 \begin_inset Newline newline
22517 newref{fig}{refcmd={
22519 pageref{#1}ページにある図}}}
22522 \begin_inset Newline newline
22525 のようなコマンドを使うことができます。書式についての詳細は、パッケージ取扱説明書
22526 \begin_inset CommandInset citation
22528 key "prettyref,refstyle"
22535 \begin_layout Description
22537 \begin_inset CommandInset ref
22538 LatexCommand nameref
22539 reference "fig:歪められた二つの像"
22543 のように参照のキャプションを印字します。
22546 \begin_layout Standard
22547 文書中参照されている部分の出力における参照番号と参照ページ番号は、LaTeXが自動的に計算します。参照の種類は、相互参照枠をクリックすると出てくる相互参照ウィン
22555 \begin_layout Standard
22560 形式は、いつでも使用することができますが、
22564 形式は、文書中の付番されている部分でしか使用することができません。
22567 \begin_layout Standard
22568 節を参照したい場合には、ラベルは節見出しの中に置き、フロートを参照したいときには、ラベルをキャプションの中に置いてください。脚注の場合は、ラベルは脚注中どこにお
22570 \begin_inset CommandInset ref
22572 reference "sec:数式番号と参照"
22579 \begin_layout Standard
22584 ボタンは、カーソルを参照されているラベルの直前に移動します。すると、ボタンの文が
22588 に変わりますので、相互参照部にカーソルを戻したいときには、それを使うことができます。相互参照枠を右クリックすることによっても、カーソルを参照されているラベルの直
22589 前に持っていくことができ、ツールバーボタンの
22592 arg "bookmark-goto 0"
22598 \begin_layout Standard
22599 ラベルを変更したいときは、いつでもラベル枠をクリックすることで変更することができます。変更されたラベルへの参照は、自動的にリンクを新しいラベル文に変更しますので
22600 、この点を気にかける必要はありません。
22603 \begin_layout Standard
22604 相互参照が、存在しないラベルを参照しているときには、LyX中の相互参照ラベルに「破損」と表示される一方、出力では、参照の代わりに二つのクエスチョンマークが印字さ
22608 \begin_layout Standard
22620 \begin_layout Section
22622 \begin_inset Index idx
22625 \begin_layout Plain Layout
22632 \begin_inset Index idx
22635 \begin_layout Plain Layout
22636 ふんしよ@文書!こうぞう@------構造
22642 \begin_inset Index idx
22645 \begin_layout Plain Layout
22650 \begin_layout Plain Layout
22661 \begin_layout Plain Layout
22674 \begin_inset CommandInset label
22683 \begin_layout Subsection
22685 \begin_inset CommandInset label
22694 \begin_layout Standard
22697 挿入\SpecialChar \menuseparator
22698 一覧/目次\SpecialChar \menuseparator
22701 メニューで挿入することができ、LyX中では灰色の枠として表示されます。枠をクリックすると文書構造ウィンドウが開かれて、目次項目が文書構造として表示され、各節を文
22702 書内で移動したり再配置したりすることができるようになります。したがって、この操作は第
22703 \begin_inset CommandInset ref
22705 reference "sub:文書構造"
22711 表示\SpecialChar \menuseparator
22717 \begin_layout Standard
22718 目次は、出力文書においては、自動的にすべての付番された節を列挙します。第
22719 \begin_inset CommandInset ref
22721 reference "sub:見出しの短縮形"
22725 節に述べたように、節見出しに短縮タイトルを宣言した場合、目次中では、それが節見出しの代わりに使用されます。第
22726 \begin_inset CommandInset ref
22728 reference "sub:番号の付け方-深度"
22732 節に、目次中にどの深さの節見出しまで載せるかを調整する方法が挙げてあります。付番されていない節は、目次には載せられません。
22735 \begin_layout Subsection
22736 図・表・プログラムリスト・アルゴリズム一覧
22737 \begin_inset CommandInset label
22739 name "sec:図・表・アルゴリズム一覧"
22746 \begin_layout Standard
22747 図・表・プログラムリスト・アルゴリズム一覧は目次によく似ています。これらは、
22749 挿入\SpecialChar \menuseparator
22752 従属メニューを使って挿入することができます。一覧項目は、フロートキャプションとフロート番号になります。
22755 \begin_layout Section
22757 \begin_inset Index idx
22760 \begin_layout Plain Layout
22767 \begin_inset Index idx
22770 \begin_layout Plain Layout
22779 \begin_layout Subsection
22781 \begin_inset CommandInset label
22790 \begin_layout Standard
22793 挿入\SpecialChar \menuseparator
22796 メニューを使えば、ウェブページや電子メールアドレスへのリンクを挿入することができます。
22799 \begin_layout Standard
22800 右がURLの例です。(例)LyXのホームページは
22801 \begin_inset Flex URL
22804 \begin_layout Plain Layout
22814 \begin_layout Standard
22819 で表示され、リンク文の形式を変更することはできません。URL文の形式を指定したい場合には、次節に説明するハイパーリンクを使用してください。
22822 \begin_layout Standard
22823 \begin_inset Note Greyedout
22826 \begin_layout Plain Layout
22831 URLはバックスラッシュで終わってはなりません。さもないと、LaTeXエラーになります。
22839 \begin_layout Subsection
22841 \begin_inset CommandInset label
22850 \begin_layout Standard
22853 挿入\SpecialChar \menuseparator
22862 で挿入することができます。現れるダイアログには、ターゲットと名前の二つのフィールドがあります。名前は、ハイパーリンクに印字される文です。ハイパーリンク型は、
22863 \begin_inset CommandInset href
22866 target "http://www.lyx.org"
22871 \begin_inset CommandInset href
22873 name "Lyx-docsメーリングリスト"
22874 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
22879 のような電子メールリンク型か、ファイルへのリンクのいずれかです。
22882 \begin_layout Standard
22883 ウェブリンクを挿入する際に、ハイパーリンクを通じてアプリケーションを起動するようにすることができます。この場合は、リンクターゲットに「
22890 \begin_layout Standard
22891 PDF出力において、ハイパーリンクは必要ならば自動的にハイフンで区切られ、DVI出力とPDF出力ではクリック可能になります。リンク文の形式を設定するには、ハイパ
22892 ーリンク挿入枠を選択した状態にして、文字様式ダイアログを使用してください。以下は、ボールド・サンセリフ体のハイパーリンクです。(例)
22896 \begin_inset CommandInset href
22899 target "http://www.lyx.org"
22906 \begin_layout Standard
22909 文書\SpecialChar \menuseparator
22910 設定\SpecialChar \menuseparator
22917 オプションが有効になっていれば、リンク文の色を変更することができます。例えば、この文書においてリンク文は、
22918 \begin_inset Newline newline
22926 \begin_inset Newline newline
22929 というオプションをPDF特性ダイアログの
22933 フィールドで指定することによって、青色に設定されています。
22936 \begin_layout Section
22938 \begin_inset Index idx
22941 \begin_layout Plain Layout
22948 \begin_inset CommandInset label
22957 \begin_layout Standard
22960 文書\SpecialChar \menuseparator
22963 メニューで作ることができます。このメニューは、現在のカーソルのある文書位置から最後までを付録領域として指定します。この領域は、赤い枠線で表示されます。
22966 \begin_layout Standard
22967 付録領域内のすべての章(あるいは節)は、付録として扱われ、大文字のラテン文字で付番されます。付録の小節は、この章番号の後にピリオドと小節番号をつけて表示されます
22968 。すべての付録の節は、通常の節と同様に相互参照をすることができます。
22971 \begin_layout Standard
22973 \begin_inset CommandInset ref
22980 \begin_inset CommandInset ref
22982 reference "sub:書き出し"
22989 \begin_layout Section
22991 \begin_inset Index idx
22994 \begin_layout Plain Layout
23001 \begin_inset CommandInset label
23010 \begin_layout Standard
23011 LyX文書で書誌情報を生成するには、二つの方法があります。次小節で説明するように文献データベース
23015 \begin_layout Plain Layout
23016 「BibTeXデータベース」として知られています。
23022 \begin_inset CommandInset ref
23024 reference "sub:書誌情報環境"
23032 段落環境を使用して、手動で書誌情報を挿入するかです。この文書で使用されているような連番による引用以外、例えば著者・発行年による引用などを用いたい場合は、文献デー
23036 \begin_layout Subsection
23040 \begin_layout Standard
23045 環境では、すべての段落のはじめに、番号のついた灰色の書誌情報枠がついています。これをクリックすると、ダイアログが開いて、
23046 \begin_inset Flex Ruby
23049 \begin_layout Plain Layout
23055 \begin_inset Argument post:1
23058 \begin_layout Plain Layout
23073 を入力することができるようになります。 鍵は、この文献項目を参照するのに使うシンボリック名です。例えば、この文書の書誌情報の二つめの項目はLaTeXに関する書籍
23074 ですが、本文書ではこの書籍の鍵として、その題名を縮めた「latexcompanion」を使っています。
23077 \begin_layout Standard
23080 挿入\SpecialChar \menuseparator
23086 arg "dialog-show-new-inset citation"
23089 を使用して、参照することができます。こうすると引用参照枠が挿入されて、文献引用ウィンドウが開くので、選択できる鍵の一覧から一つ以上の鍵を選択します。挿入された引
23090 用参照枠には、その参照鍵が表示されます。この枠を再度クリックすると、文献引用ウィンドウが開いて、参照先を変更できるようになります。
23093 \begin_layout Standard
23094 引用参照は、出力では角括弧に囲まれた文献項目番号として印字されます。もし項目に
23098 が設定してあると、番号の代わりにラベルが印字されます。以下の二つの例は、最初がラベルなし、二番目が「謝辞」というラベル付きです。
23101 \begin_layout Standard
23103 \begin_inset CommandInset citation
23105 key "latexcompanion"
23112 \begin_layout Standard
23113 (例2)LyXプロジェクトチームのメンバーは謝辞
23114 \begin_inset CommandInset citation
23123 \begin_layout Standard
23126 編集\SpecialChar \menuseparator
23132 arg "layout-paragraph"
23135 )で最長のラベルを指定してください。すると、すべての項目は、指定したラベルの幅だけ行頭下げされて出力されます。
23138 \begin_layout Subsection
23140 \begin_inset Index idx
23143 \begin_layout Plain Layout
23144 しょじじょうほう@書誌情報!でーたべーす@データベース
23150 \begin_inset Index idx
23153 \begin_layout Plain Layout
23154 しょしじょうほう@書誌情報!BibTeX
23160 \begin_inset Index idx
23163 \begin_layout Plain Layout
23164 ぶんけんでーたべーす@文献データベース
23170 \begin_inset CommandInset label
23172 name "sub:文献データベース"
23179 \begin_layout Standard
23180 ひとつの書誌情報をいろいろな文書で使用する場合には、文献データベースを使うのが便利です。
23184 \begin_layout Plain Layout
23185 文献データベースは、単に論文データベースとそれぞれそのメモを管理するにも便利です。以下に言及したデータベースプログラムのほとんどは、文献情報に加えて、注釈や論評
23191 また、これを使うと、文献項目をすべて同じレイアウトに維持することがたいへん簡単にできるようになります。仕事の関連領域のすべての関係書と論文をひとつのデータベース
23192 に収集しておくことも一案でしょう。このデータベースは、いろいろな文書から利用することができて、特定の文書の書誌情報一覧には、この文書で引用された項目のみが表示さ
23193 れます。これによって、あなたは、どの論文・書籍を引用したかを記録しつづける労苦から解放されるのです。
23196 \begin_layout Standard
23197 このデータベースは、書誌情報を特定の形式で載せた、拡張子が「
23202 \begin_inset CommandInset citation
23209 \begin_inset CommandInset citation
23211 key "Mittelbach,Kopka,Lamport"
23215 )に説明されています。このファイルはテキストエディタで作成することもできますが、通常は、データベースの項目を生成したり編集したりするには、特別なプログラムを使用
23217 \begin_inset Flex URL
23220 \begin_layout Plain Layout
23222 http://wiki.lyx.org/BibTeX/Programs
23227 に、そのような文献データベース用のプログラムの一覧があります。
23230 \begin_layout Standard
23233 挿入\SpecialChar \menuseparator
23234 一覧/目次\SpecialChar \menuseparator
23239 \begin_layout Plain Layout
23248 メニューを使用します。灰色の枠が挿入されてウィンドウが表示されますので、そこで読み込む一つ以上のデータベースとスタイルファイルを指定します。
23252 オプションは、目次に書誌情報を追加します。
23256 ドロップボックスでは、データベースのどの範囲を出力するかを選択することができます。
23259 \begin_layout Standard
23260 スタイルファイルは、すべての文献項目のレイアウトを宣言した、ファイル拡張子が「
23264 」のテキストファイルです。お使いのLaTeX頒布版には複数のスタイルファイルが収められており、出版社の多くが特定のスタイルファイルを提供しているので、それを利用
23265 すれば、レイアウトの心配をする必要はありません。もちろん、自作のスタイルファイルを作成することもできますが、それは熟練者向けの仕事です。
23269 \begin_layout Plain Layout
23270 スタイルファイルの作成に関する情報は、
23271 \begin_inset Newline newline
23275 \begin_inset CommandInset href
23277 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxhak.pdf"
23282 \begin_inset Newline newline
23293 \begin_layout Standard
23294 文献参照の挿入は、前節の説明したように機能します。
23297 \begin_layout Standard
23298 データベースから書誌情報を生成するのに、LyXはBibTeXというプログラムを使用します。
23300 文書\SpecialChar \menuseparator
23301 設定\SpecialChar \menuseparator
23306 ツール\SpecialChar \menuseparator
23307 設定\SpecialChar \menuseparator
23308 出力\SpecialChar \menuseparator
23313 \begin_layout Plain Layout
23322 で指定すれば、BibTeX派生版のどれを
23326 として用いるかを選ぶことができます。以下の派生版のいずれかを選ぶことができます。
23329 \begin_layout Description
23330 biber これは、完全なUnicodeサポートと、制限のないメモリを提供しますが、(例えば
23334 のような)他の書誌情報パッケージでは動作せず、
23338 パッケージでのみ動作します。多言語テキストやラテン文字を使用しない言語に推奨されます。
23341 \begin_layout Description
23342 bibtex これが既定値です。7ビットでエンコードできない特殊文字を文献項目に使用することはできず、メモリに制限があり、
23346 以外の全ての書誌情報パッケージで動作します。
23349 \begin_layout Description
23350 bibtex8 8ビットエンコーディングにエンコードできる全ての文字を使うことができます。
23354 よりも大きいメモリを使用することができ、全ての書誌情報パッケージで動作します。
23357 \begin_layout Standard
23358 BibTeXは、派生版を指定する部分の下にオプションを指定することで、制御することができます。オプションを書き加える前に、
23363 \begin_inset CommandInset citation
23372 \begin_layout Standard
23375 文書\SpecialChar \menuseparator
23382 オプションを選択すると、節分けされた複数の書誌情報を入れることができます。この件と他のオプションに関しては、取扱説明書『
23388 BibTeXによる書誌情報のカスタマイズ
23393 \begin_layout Standard
23394 本文書では、書誌情報を生成する二つの方法の違いを示すために、書誌情報が二つ使用してあります。ご覧いただいてわかるように、データベースから生成された書誌情報は、文
23395 書内で参照されたデータベース項目しか列挙していません。ここでは、書誌情報中でドイツ語の複雑な参照鍵を利用可能とするために
23399 というスタイルファイルを使用しています。
23402 \begin_layout Subsection
23404 \begin_inset Index idx
23407 \begin_layout Plain Layout
23408 しょじじょうほう@書誌情報!れいあうと@レイアウト
23416 \begin_layout Standard
23417 引用参照ダイアログでは、特定の引用体裁を設定することができます。この機能を使うには、
23419 文書\SpecialChar \menuseparator
23423 \begin_inset Index idx
23426 \begin_layout Plain Layout
23427 ふんしよ@文書!せってい@------設定
23440 オプションを有効にしておかなくてはなりません。引用形式が設定されると既定値は上書きされます。引用形式全体を設定するには、前節の説明のようにBibTeXスタイルフ
23444 \begin_layout Standard
23445 また、引用参照ウィンドウでは、引用参照の前後につける文を設定することもできます。以下は、参照の直後に「第3章」という文を設定しています。
23448 \begin_layout Standard
23450 \begin_inset CommandInset citation
23453 key "latexcompanion"
23460 \begin_layout Section
23462 \begin_inset Index idx
23465 \begin_layout Plain Layout
23472 \begin_inset CommandInset label
23481 \begin_layout Standard
23484 挿入\SpecialChar \menuseparator
23493 を使用すると、索引項目が生成されます。「
23497 」というラベルがついた灰色の枠が挿入されるので、その中に索引に現れる文字列を入力します。そのとき、カーソル位置の単語あるいは現在選択されている文字列が、索引項目
23501 \begin_layout Standard
23504 挿入\SpecialChar \menuseparator
23505 一覧/目次\SpecialChar \menuseparator
23512 」というラベルのついた水色の枠が、出力中で索引が印字される位置を示します。索引一覧枠は、他のLyX枠とちがってクリック可能ではありません。
23515 \begin_layout Standard
23516 以下の小節で、索引コマンドの概要を短く説明します。LaTeXの索引機構に関して詳細な説明が欲しい場合には、LaTeX関連書籍
23517 \begin_inset CommandInset citation
23519 key "latexcompanion,latexguide,latexbook"
23526 \begin_layout Subsection
23528 \begin_inset Index idx
23531 \begin_layout Plain Layout
23532 さくいん@索引!ぐるーぷか@グループ化
23540 \begin_layout Standard
23541 索引項目は、読者が索引中をすばやく検索できるように、しばしばグループ化されます。例えば、記号付き箇条書きと連番箇条書きの検索項目を、ともに「箇条書き」という項目
23542 の下にグループ化したいものとしましょう。第
23543 \begin_inset CommandInset ref
23545 reference "sec:箇条書き(連番)"
23549 節の箇条書き(記号)という索引項目のテキストフィールドには
23552 \begin_layout Standard
23558 \begin_layout Standard
23560 \begin_inset CommandInset ref
23562 reference "sec:箇条書き(記号)"
23566 節の箇条書き(連番)という索引項目のテキストフィールドには
23569 \begin_layout Standard
23575 \begin_layout Standard
23582 \begin_layout Plain Layout
23587 和文の場合に、実際にこのような索引項目を作ってしまうと、索引一覧の各項目が、読みのあいうえお順ではなく、漢字コード順に並んでしまうために、索引の機能を果たさなく
23588 なってしまいます。索引項目が読みによって整序されるようにするためには、第
23589 \begin_inset CommandInset ref
23591 reference "sub:索引項目の整序"
23595 節の機能を使って、以下のようにつねに読みとともに索引項目を作成します。
23598 \begin_layout Plain Layout
23603 かじょうがき@箇条書き!れんばん@連番
23613 \begin_layout Standard
23614 ここで、感嘆符「!」がグループ化階層の区切りを示します。階層は3段階まで可能で、各索引階層は少しずつ字下げされます。上部階層の索引項目をあえて作る必要はありませ
23615 ん。上の例で「箇条書き」の索引項目を作っていなくても、ページ番号なしで出力されます。
23618 \begin_layout Subsection
23620 \begin_inset Index idx
23623 \begin_layout Plain Layout
23624 さくいん@索引!ぺーじはんい@ページ範囲
23632 \begin_layout Standard
23633 通常、索引項目は、索引登録された節のページ番号とともに印字されます。しかし場合によっては、ひとつの索引項目でより広い範囲のページを示したいときがあるかもしれませ
23634 ん。例えば、本文書で段落環境を索引登録したいときに、第
23635 \begin_inset CommandInset ref
23637 reference "sec:段落環境"
23644 \begin_layout Standard
23650 \begin_layout Standard
23651 というコマンドを含んだ索引項目を作り、第
23652 \begin_inset CommandInset ref
23654 reference "sub:LyXコード"
23661 \begin_layout Standard
23667 \begin_layout Standard
23668 というコマンドを含んだ索引項目を作成します。
23671 \begin_layout Standard
23680 」というコマンドは、それぞれ索引範囲の開始と終了を表し、TeXコードとして入力しなくてはなりません。また、同一の索引項目を文書中のべつべつの場所で登録することも
23681 できます。すると、ひとつの索引項目の下に、索引登録された部分の各ページがコンマで区切られて列挙されます。本文書の「文書!設定」という索引項目が、その例です。
23684 \begin_layout Subsection
23686 \begin_inset Index idx
23689 \begin_layout Plain Layout
23690 さくいん@索引!そうごさんしょう@相互参照
23698 \begin_layout Standard
23699 また、他の索引項目を相互参照することも可能です。例えば、本文書で「GIF」という索引項目(第
23700 \begin_inset CommandInset ref
23702 reference "sub:画像形式"
23709 \begin_layout Standard
23715 \begin_layout Standard
23716 という項目(中括弧はTeXコードとして挿入しなくてはなりません)を使用して、「画像形式」という索引項目を参照しています。中括弧に囲まれた文が参照される項目です。
23717 参照は、出力においてはページ番号なしで出力されます
23721 \begin_layout Plain Layout
23726 「see 〜」(〜を見よ)は、これ自体コマンドになっているので、日本語の文脈でもこのまま入力しなくてはなりません。そうすると、出力においても英語で「see
23727 〜」となってしまうので、例えばこれを「→ 〜」に変更するには、
23729 文書\SpecialChar \menuseparator
23732 メニューのLaTeXプリアンブルにおいて「
23736 seename}{→}」と宣言します。
23744 \begin_layout Subsection
23746 \begin_inset Index idx
23749 \begin_layout Plain Layout
23750 さくいん@索引!こうもくのせいじょ@項目の整序
23756 \begin_inset CommandInset label
23765 \begin_layout Standard
23766 索引項目にアクセント付き文字を使用することは可能ですが
23770 \begin_layout Plain Layout
23775 文書言語が「日本語」になっているときは、アクセント付き文字を、アクセントを直接入力できる欧州言語用のキーボードなどで直接入力して使用することはできません。その代
23776 わりに、この小節で行っているように、LaTeXコマンドを使用してアクセントを入力してやる必要があります。しかし、ここで書かれていることは、漢字コード順と索引順が
23777 一致しない日本語全般にそのまま当てはめることができます。
23782 、こうすると項目が索引順の規則に従わなくなる可能性があります。索引項目はアルファベット順に整序しますが、LaTeX
23786 \begin_layout Plain Layout
23787 索引の生成は、バックグラウンドで追加プログラムによって実行されます。第
23788 \begin_inset CommandInset ref
23790 reference "sub:索引プログラム"
23799 には、各言語がアクセントをどのような順序で並べているのかがわかりません。例として、3つのダミーの索引項目「maison」「ma
23803 \begin_layout Plain Layout
23816 \begin_layout Plain Layout
23826 \begin_inset Index idx
23829 \begin_layout Plain Layout
23834 \begin_layout Plain Layout
23849 \begin_inset Index idx
23852 \begin_layout Plain Layout
23857 \begin_layout Plain Layout
23872 \begin_inset Index idx
23875 \begin_layout Plain Layout
23880 \begin_layout Plain Layout
23898 \begin_layout Plain Layout
23911 \begin_layout Plain Layout
23920 itre」「」の順序で整序されますが、これを「ma
23924 \begin_layout Plain Layout
23937 \begin_layout Plain Layout
23946 itre」の順序にしたいのです。そのためには、
23949 \begin_layout Standard
23955 \begin_layout Standard
23956 というコマンドを使用します。ここの例では、「maison」を「ma
23960 \begin_layout Plain Layout
23969 is」の後にしたいので、maisonの索引項目を
23972 \begin_layout Standard
23979 \begin_layout Plain Layout
23991 \begin_layout Standard
23992 とします。前項目は実際に存在する項目でなくてもかまわないので、LaTeXに項目順序を告げる単語であればどんな単語を使ってもかまいません。例として次の小節を参照し
23994 \begin_inset VSpace bigskip
24000 \begin_layout Standard
24005 プログラムを使用している場合には、索引項目の順序が正しくないことがあります(第
24006 \begin_inset CommandInset ref
24008 reference "sub:索引プログラム"
24017 \begin_inset CommandInset ref
24019 reference "sub:文書フォント"
24023 節のaeguill LaTeXパッケージの索引項目を、他のLaTeXパッケージの索引コマンドも「
24027 」で始まっているにもかかわらず、これらの項目の後に印字してしまいます。そのわけは、aeguillの索引項目が脚注にあるからです。この
24031 のバグを修正するには、使用中の文書のプリアンブルに
24034 \begin_layout Standard
24046 \begin_layout Standard
24058 \begin_inset Newline newline
24064 \begin_layout Subsection
24066 \begin_inset Index idx
24069 \begin_layout Plain Layout
24070 さくいん@索引!こうもくれいあうと@項目レイアウト
24078 \begin_layout Standard
24079 索引項目の外観は、文字様式ダイアログを使用して変更することができます。
24080 \begin_inset Index idx
24083 \begin_layout Plain Layout
24084 だみーこうもく@ダミー項目 ! これ@
24086 これはイタリックitalic体のダミー項目です
24091 また、「|」という文字のあとにLaTeXコマンドをバックスラッシュなしで入れることによってページ番号を整形することができます。例えば
24094 \begin_layout Standard
24097 イタリック体のページ番号:|textit
24100 \begin_inset Newline newline
24103 と書くと、イタリック体のページ番号を得ることができます(
24107 はTeXコードで挿入しなくてはなりません)。
24108 \begin_inset Index idx
24111 \begin_layout Plain Layout
24112 だみーこうもく@ダミー項目 ! いたりっくたいのぺーじばんごう@イタリック体のページ番号
24116 \begin_layout Plain Layout
24128 通常、LaTeXコマンドはすべてバックスラッシュで始まりますが、ここの場合に限っては、「
24138 」を意味します。LaTeXの文法について詳細を学ぶには、第
24139 \begin_inset CommandInset ref
24141 reference "sub:LaTeX文法"
24148 \begin_layout Standard
24149 \begin_inset Note Greyedout
24152 \begin_layout Plain Layout
24157 単独の索引項目の書式変更は、索引生成プログラムに
24161 を使用しているときにのみ機能します。第
24162 \begin_inset CommandInset ref
24164 reference "sub:索引プログラム"
24172 を使用している時には、これはボールド体またはイタリック体以外には動作しません。これは、
24176 はそれが実行される前にセマンティックスが定義されている必要があるからです。詳細については、
24177 \begin_inset CommandInset citation
24180 key "latexcompanion"
24192 \begin_layout Standard
24193 一般的にいって、上述のように直接ページ番号を整形することは望ましくありません。その代わりに、プリアンブルでマクロを定義し、それを使用するべきです。例えば、索引項
24194 目の定義を参照しているすべてのページ参照をイタリック体にしたいとすれば、それはユーザが簡単に定義を見つけられるようにするためかもしれません。だとすれば、プリアン
24198 \begin_layout Standard
24210 \begin_inset Newline newline
24216 \begin_layout Standard
24222 \begin_inset Newline newline
24225 と書いてください(「|IndexDef」はTeXコードとして挿入してください)。
24226 \begin_inset Index idx
24229 \begin_layout Plain Layout
24230 だみーこうもく@ダミー項目 ! さくいんこうもく@索引項目
24234 \begin_layout Plain Layout
24246 このようにする利点は、あとで気が変わったり、出版社が定義はイタリック体ではなくボールド体にしてくださいと注文をつけてきたりしたときに、すべての索引項目の各々では
24247 なく、プリアンブルのマクロのみを修正すればよいからです。
24250 \begin_layout Standard
24251 また、索引全体のレイアウトを変更することもできます。例えば、本文書の索引一覧枠はボールド体に指定されているので、すべての索引項目はボールド体で表示されます。
24260 )を構成しなくてはなりません。詳しくは
24269 \begin_inset CommandInset citation
24271 key "makeindex,xindy"
24278 \begin_layout Subsection
24280 \begin_inset Index idx
24283 \begin_layout Plain Layout
24284 さくいん@索引 ! ぷろぐらむ@プログラム
24290 \begin_inset CommandInset label
24299 \begin_layout Standard
24304 が導入済みならば、LyXは索引生成にこれを使用しますが、そうでなければすべてのLaTeX頒布版に含まれている
24312 \begin_layout Plain Layout
24317 は非常に古く、開発が停止しており、たくさんの欠陥があります。中でも、
24321 は英語だけを念頭に開発されているため、英語のみで書かれた単一言語原稿しか、項目を正しく整序することができません。この整序を修正する方法は、上述したとおりですが、
24322 英語以外で執筆することがある場合には、
24331 。これらのプログラムは、どちらもLyX設定ダイアログからオプションを渡すことによって制御することができます。第
24332 \begin_inset CommandInset ref
24334 reference "sec:LaTeXの設定"
24338 節をご参照ください。使用できるオプションの一覧と説明は、
24339 \begin_inset CommandInset citation
24341 key "makeindex,xindy"
24345 にあります。このダイアログでは、索引を生成するのに第三のプログラムを指定することも可能です。
24348 \begin_layout Standard
24349 特定の文書でのみ、あるオプションが必要だったり、別の索引プログラムが必要だったりした場合には、そのプログラムやオプションを
24351 文書\SpecialChar \menuseparator
24352 設定\SpecialChar \menuseparator
24355 で指定することができます。これは、言語依存のオプションを索引プログラムに渡したり、特定のレイアウト様式が必要な場合に、特に便利です。
24358 \begin_layout Subsection
24362 \begin_layout Standard
24363 多くの分野において、2つ以上の索引を作成することが行われています。例えば、通常の索引の前に「氏名索引」を別に作る必要がある場合があります。LaTeXは、そのまま
24364 ではこの機能を提供していませんが、この機能を追加するパッケージがあります。LyXは、複数の索引を生成するのに、
24369 \begin_inset Index idx
24372 \begin_layout Plain Layout
24373 latexはつけじ@LaTeXパッケージ ! splitidx
24378 というパッケージを使用しています。このパッケージは、最近のLaTeX頒布版には全て収録されています。
24382 \begin_layout Plain Layout
24383 ご利用の頒布版にない場合には、TeXカタログ
24384 \begin_inset CommandInset citation
24390 を参照してください。パッケージには、LaTeXスタイルが収録されているだけでなく、導入が必要な特定のプリプロセッサも含まれていることに注意してください。詳細は、
24391 パッケージの取扱説明書をご覧ください。
24399 \begin_layout Standard
24400 LyXが複数の索引を使用できるようにするためには、
24402 文書\SpecialChar \menuseparator
24403 設定\SpecialChar \menuseparator
24406 を開き、「複数の索引を使用する」を有効にしてください。その下の「利用可能な索引」一覧には、標準の索引は既に含まれていることに注意してください。索引を追加するには
24407 、索引名を(見出しに現れるのと同じ形で)「新規」入力フィールドに入力し、「追加」ボタンを押してください。すると、新しい索引が一覧中に表示されます。お望みならば、
24408 一覧中の索引を選択してから「色を変更」ボタンを押し、新しい索引のラベル色を変更することができます。ラベル色は、LyX作業領域で、索引項目を索引別に区別するのに役
24412 \begin_layout Standard
24413 文書変更を適用すると、新しい索引一覧が
24415 挿入\SpecialChar \menuseparator
24422 メニューには、定義した索引のそれぞれの索引項目が現れます。作業手順は、基本的に標準の索引と同じですが、以下のような追加機能があります。
24425 \begin_layout Itemize
24426 特定の索引項目の属性を変更したい時は、項目を右クリックしてダイアログを開くことで行えます。
24429 \begin_layout Itemize
24430 索引を右クリックすると、索引型を変更することができます。さらに、索引一覧を「従属索引」として指定することもできます。こうすると、索引一覧の見出しが一階層下げられ
24431 ます。例えば、bookクラスを使用している場合、標準索引の見出しの様式は「章」ですが、従属索引は「節」として定義され、他の非従属索引に入れ子にすることができます
24435 \begin_layout Section
24437 \begin_inset Index idx
24440 \begin_layout Plain Layout
24445 \begin_layout Plain Layout
24456 \begin_layout Plain Layout
24469 \begin_inset Index idx
24472 \begin_layout Plain Layout
24479 \begin_inset Index idx
24482 \begin_layout Plain Layout
24487 \begin_layout Plain Layout
24498 \begin_layout Plain Layout
24511 \begin_inset Index idx
24514 \begin_layout Plain Layout
24519 \begin_layout Plain Layout
24530 \begin_layout Plain Layout
24543 \begin_inset CommandInset label
24552 \begin_layout Standard
24553 場合によっては、文書中で使われている記号一覧や用語集を、短い説明とともに掲げておく必要があるかもしれません。
24556 \begin_layout Standard
24557 記号一覧や用語集を生成するためには、LaTeXパッケージの
24562 \begin_inset Index idx
24565 \begin_layout Plain Layout
24566 latexはつけじ@LaTeXパッケージ ! nomencl
24571 が導入されている必要があります。これは、TeX Catalogue
24572 \begin_inset CommandInset citation
24578 か、お使いのLaTeXシステムのパッケージマネージャから見つけることができます。
24581 \begin_layout Standard
24582 記号一覧・用語集の項目は、カーソルを記号項目のあとに置いて
24584 挿入\SpecialChar \menuseparator
24590 arg "nomencl-insert"
24593 を使用することで生成することができます。「
24597 」というラベルのついた灰色の枠が挿入されて、ウィンドウが現れ、用語項目の入力を促します。
24600 \begin_layout Standard
24601 用語項目には、主要な項目が2つあります。ひとつは参照したい
24612 \begin_layout Standard
24613 \begin_inset Note Greyedout
24616 \begin_layout Plain Layout
24621 用語集ダイアログのすべてのフィールドに有効なLaTeXコードを入力しなくてはなりません。
24629 \begin_layout Subsection
24631 \begin_inset Index idx
24634 \begin_layout Plain Layout
24635 きこういちらん@記号一覧 ! のれいあうと@------のレイアウト
24643 \begin_layout Standard
24648 フィールド中には、LaTeX数式と同じようにして定義をしなくてはなりません。例えば、「
24649 \begin_inset Formula $\sigma$
24653 \begin_inset Newline newline
24663 \begin_inset Newline newline
24666 と挿入します。記号「$」は数式の始まりと終わりを示します。ギリシャ文字用のLaTeXコマンドは、バックスラッシュ「
24668 」で始まるその文字の名前です。大文字のギリシャ文字は、コマンドを
24677 \begin_layout Standard
24678 (LaTeXの文法に関する短い入門が第
24679 \begin_inset CommandInset ref
24681 reference "sub:LaTeX文法"
24688 \begin_layout Standard
24693 ダイアログは使えないので、LaTeXコマンドを使用しなくてはなりません。例えば、本文書での「
24694 \begin_inset Formula $\sigma$
24698 \begin_inset Newline newline
24705 textsf{sigma}のためのダミー項目
24708 \begin_inset Newline newline
24754 \begin_layout Standard
24756 \begin_inset space \space{}
24760 \begin_inset space \space{}
24764 \begin_inset space \space{}
24768 \begin_inset space \space{}
24772 \begin_inset space \space{}
24775 といった文字が用語項目に登場する場合には、これらの文字の前に引用符をつけてエスケープしなくてはなりません。
24776 \begin_inset CommandInset nomenclature
24777 LatexCommand nomenclature
24778 symbol "\"@, \"|, \"!, \"\""
24779 description "引用符は、「 \"\"\"\" 」と書くことで出力されます"
24786 \begin_layout Subsection
24788 \begin_inset Index idx
24791 \begin_layout Plain Layout
24792 ようこしゆう@用語集 ! せいじょじゅん@整序順
24800 \begin_layout Standard
24801 用語項目は、記号定義のLaTeXコードによってアルファベット順に整序されます。これは、例えば数式記号の場合には、望ましくない結果を得ることがあります。仮に記号
24806 \begin_inset CommandInset nomenclature
24807 LatexCommand nomenclature
24809 description "文字「a」のダミー項目"
24814 \begin_inset Formula $\sigma$
24818 \begin_inset CommandInset nomenclature
24819 LatexCommand nomenclature
24822 description "文字\\textsf{sigma}のダミー項目"
24826 の用語項目があったとしましょう。両者は、「
24836 」によって整序され、文字「$」は整序順が「
24841 \begin_inset Formula $\sigma$
24851 \begin_layout Standard
24852 整序順を制御するには、用語集ダイアログの
24856 フィールドを編集します。用語項目は、記号定義ではなく、この項目によって整序されます。ここの例では、
24857 \begin_inset Formula $\sigma$
24869 \begin_inset Formula $\sigma$
24875 \begin_layout Standard
24876 グループ化や整序項目の便利な利用法については、
24881 \begin_inset CommandInset citation
24890 \begin_layout Subsection
24892 \begin_inset Index idx
24895 \begin_layout Plain Layout
24896 ようこしゆう@用語集 ! おふしよん@オプション
24904 \begin_layout Standard
24909 パッケージは、記号一覧や用語集の外観を調整するオプションを提供しています。以下は、それらのオプションの一部です。他のオプションに関してはパッケージの取扱説明書を
24913 \begin_layout Description
24916 , see equation (eq)
24922 は用語項目より前の最後の数式の番号です。
24925 \begin_layout Description
24937 \begin_layout Description
24941 \begin_layout Standard
24942 オプションをひとつないしそれ以上使用するには、
24944 文書\SpecialChar \menuseparator
24947 ダイアログの文書クラスオプションにコンマ区切りの列挙の形で加えてください。本文書では、
24956 \begin_inset VSpace bigskip
24962 \begin_layout Standard
24963 また、以下のコマンドを用語集ダイアログの記述フィールドの最後に使用することで、上記の最初の二つのオプションと同じ動作を、特定の用語項目に対してのみ行うことができ
24967 \begin_layout Description
24977 \begin_layout Description
24987 \begin_layout Description
25001 \begin_layout Description
25005 \begin_inset space ~
25011 \begin_inset space ~
25016 nomnorefeqpage 対応するオプションを解除する
25019 \begin_layout Standard
25020 「page」のような単語は、自動的に他の文書言語に翻訳されます。そうならない場合には、LaTeXプリアンブルに以下のように追記してください。
25023 \begin_layout Standard
25031 eqdeclaration}[1]{,
25036 \begin_inset Newline newline
25043 pagedeclaration}[1]{,
25050 \begin_layout Subsection
25052 \begin_inset Index idx
25055 \begin_layout Plain Layout
25056 ようこしゆう@用語集 ! のしゆつりよく@------の出力
25064 \begin_layout Standard
25067 挿入\SpecialChar \menuseparator
25068 一覧/目次\SpecialChar \menuseparator
25075 というラベルのついたボックスが、出力中に用語集が印字される位置を指し示します。これを右クリックすると、記号の余白を変更することができます。以下の設定をすることが
25079 \begin_layout Description
25081 \begin_inset space \thinspace{}
25087 \begin_layout Description
25088 最長のラベル幅 用語集の全項目中、最大の幅が使用されます
25091 \begin_layout Description
25095 \begin_layout Standard
25096 印字出力においては、用語集の見出しは「Nomenclature」となります。この名前が満足でない場合には、プリアンブルで
25102 コマンドを再定義することで変更することができます。例えば、この名前を
25106 に変更するには、以下の行をプリアンブルに加えてください。
25109 \begin_layout Standard
25119 \begin_layout Subsection
25121 \begin_inset Index idx
25124 \begin_layout Plain Layout
25125 ようこしゆう@用語集 ! ふろくらむ@プログラム
25131 \begin_inset CommandInset label
25133 name "sub:用語集プログラム"
25140 \begin_layout Standard
25141 LyXは、すべてのLaTeX頒布版に含まれている
25145 プログラムを、用語集を生成するのに使用します。LyXの設定ダイアログを使って、他のプログラムを指定したり、
25149 にオプションを追加して制御したりすることができます。第
25150 \begin_inset CommandInset ref
25152 reference "sub:LaTeX-設定"
25156 節を参照してください。使用できるオプションは、
25157 \begin_inset CommandInset citation
25159 key "nomencl,makeindex"
25166 \begin_layout Section
25168 \begin_inset Index idx
25171 \begin_layout Plain Layout
25178 \begin_inset Index idx
25181 \begin_layout Plain Layout
25188 \begin_inset CommandInset label
25197 \begin_layout Standard
25198 出力において、文書の一部を隠した方が便利なことがあります。例えば、試験を課そうとしている教師は、とうぜん学生たちに答を見られたくないわけですが、質問と解答が同じ
25199 文書にあれば、試験の採点者の仕事ははるかに楽になります。
25202 \begin_layout Standard
25203 このような場合に、LyXでは、文を派生枝に分けて置いておくことができます。すると当該文は、その派生枝が有効にされたときのみ出力に現れるようになります。派生枝を作
25206 挿入\SpecialChar \menuseparator
25207 派生枝\SpecialChar \menuseparator
25210 メニューを選択する(新規派生枝を指定するだけの時)か、
25212 文書\SpecialChar \menuseparator
25219 に行きます。後者の場合には、派生枝の名前を変更したり、その有効状態やLyX内部での派生枝の背景色を指定することができるほか、派生枝有効時にファイルを書き出す際、
25220 ファイル名に派生枝名をつけるかどうかを指定できます。さらにこのダイアログでは、二つの派生枝を統合したり(一方の派生枝名を他方の派生枝名に改名するだけです)、文書
25221 の派生枝一覧に「未知の派生枝」(つまり、定義しないまま他の文書からコピーアンドペーストで文書に付け加えた派生枝)を加えたりすることができます。
25224 \begin_layout Standard
25225 派生枝の中に入るべき文は、派生枝差込枠の中に入れます。これらの枠は、
25227 挿入\SpecialChar \menuseparator
25230 メニューから派生枝を選択して挿入することができます。派生枝の有効状態は、あとから枠を右クリックすることで変更することができます。
25233 \begin_layout Standard
25234 以下の例では、質問文だけが現れて、解答派生枝は無効にされ、したがって出力には現れません。
25237 \begin_layout Standard
25238 \begin_inset Branch 質問
25241 \begin_layout Standard
25242 質問:最初のノーベル物理学賞受賞者は誰でしょう?
25250 \begin_layout Standard
25251 \begin_inset Branch 解答
25254 \begin_layout Standard
25255 解答:Wilhelm Conrad R
25259 \begin_layout Plain Layout
25276 \begin_layout Standard
25279 文書\SpecialChar \menuseparator
25280 設定\SpecialChar \menuseparator
25287 を有効にした場合には、書き出しの際、ファイル名に有効な派生枝名が追記されます。上記の派生枝を持つ「Exam.lyx」というファイルがあるものと考えてみましょう。「
25288 ファイル名後置句」が有効な場合には、「質問」派生枝と「解答」派生枝がともに無効ならば、PDFに書き出したファイルは「Exam.pdf」となり、「質問」派生枝のみが
25289 有効ならば「Exam-質問.pdf」、「解答」派生枝のみが有効ならば、「Exam-解答.pdf」、両方が有効ならば、「Exam-質問-解答.pdf」となります。これに
25290 よって、あまり労力をかけずに、文書の違う版をたやすく書き出すことができます。
25291 \begin_inset VSpace bigskip
25297 \begin_layout Standard
25298 数式内など、派生枝を挿入することができない場所で条件付き出力を使用するには、各派生枝に特別なLaTeX定義を書くとよいでしょう。例えば、質問派生枝用に以下のよう
25303 \begin_layout Plain Layout
25305 \begin_inset CommandInset ref
25307 reference "sub:LaTeX文法"
25319 \begin_layout Standard
25329 \begin_layout Standard
25339 \begin_layout Standard
25343 \begin_layout Standard
25353 \begin_layout Standard
25363 \begin_layout Standard
25367 \begin_layout Standard
25368 \begin_inset Branch 質問
25371 \begin_layout Standard
25375 \begin_layout Plain Layout
25384 \begin_layout Plain Layout
25403 \begin_layout Standard
25404 \begin_inset Branch 解答
25407 \begin_layout Standard
25411 \begin_layout Plain Layout
25420 \begin_layout Plain Layout
25439 \begin_layout Standard
25446 \SpecialChar \ldots{}
25457 \SpecialChar \ldots{}
25462 を使用することができるようになります。以下の例では、
25469 \begin_inset Formula
25471 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}
25479 \begin_layout Standard
25480 数式中では、同様のことを数式マクロを使用して実現することができます。取扱説明書『
25487 \begin_layout Standard
25488 派生枝毎にレイアウトファイルで定義された段落様式を指定することができます(例えば、任意の派生枝を指定したLaTeXコマンドで自動的にくるむことができます)。この
25489 ような進んだ使い方については、取扱説明書『
25500 \begin_layout Section
25502 \begin_inset CommandInset label
25509 \begin_inset Index idx
25512 \begin_layout Plain Layout
25521 \begin_layout Standard
25524 文書\SpecialChar \menuseparator
25525 設定\SpecialChar \menuseparator
25528 ダイアログでは、お使いの文書のPDF出力用の特別なオプションを指定できるようになっています。ここで指定されるオプションは、すべて、DVI出力中とPDF出力中の相
25529 互参照をリンクするLaTeXパッケージである、
25534 \begin_inset Index idx
25537 \begin_layout Plain Layout
25538 latexはつけじ@LaTeXパッケージ ! hyperref
25543 を利用します。これによって、文書の読者は、目次の項目や参照をクリックして、文中の相互参照先に移動することができるようになります。
25546 \begin_layout Standard
25551 ダイアログタブのヘッダ情報は、PDFにファイル特性としてともに保存されます。多くのプログラムでは、例えば著者が誰であり、PDFが何についてのものであるかなどを自
25552 動的に判別するのに、これらの情報を引き出すことができます。これは、PDFを文献整理目的で整序したり仕分けしたり使用したりするのに、ひじょうに便利です。
25556 オプションを有効にすると、LyXはヘッダ情報を、文書のタイトルと著者の設定から自動的に抽出しようと試みます。
25560 オプションは、PDFを全画面モードで開きますので、プレゼンテーションに便利です。
25563 \begin_layout Standard
25568 タブでは、リンクをどのように表示するか、書誌情報への逆参照リンクを作成するかどうかを指定することができます。
25572 オプションを指定すると、長いリンクを分割することが許可されます。
25580 オプションは、共に、リンクすべてに囲み枠を付ける既定の挙動を変更して、枠を付けなくします。
25584 は、リンク毎に色を付けます。既定色は、
25587 \begin_layout Labeling
25588 \labelwidthstring 00.00.0000
25596 \begin_layout Labeling
25597 \labelwidthstring 00.00.0000
25605 \begin_layout Labeling
25606 \labelwidthstring 00.00.0000
25614 \begin_layout Standard
25619 フィールドで変更することができます。例えば、本文書では、
25622 \begin_layout Standard
25625 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue
25628 \begin_layout Standard
25629 という追加オプションを使って、色を変更しています。
25632 \begin_layout Standard
25637 オプションを指定すると、選択したオプションによって、項目が参照されている節番号やスライド番号あるいはページ数が、書誌情報中の各項目の後ろに表示されるようになりま
25641 \begin_layout Standard
25646 ダイアログタブでは、読者が文書内を動き回るのに便利なように、文書の各節のPDFしおりを設定するかどうかを指定することができます。しおりが、文書の節見出しと同様に
25647 番号を振るかどうかを指定することもできます。開くしおりの階層では、PDFを開いたときにどの節階層まで表示するかを指定することができます。例えば、階層を2にしたと
25648 きには、すべての節と小節が表示され、階層を1にすると節のみが表示されます。
25651 \begin_layout Standard
25652 PDF特性は、この文書でも使用されています。この文書の文書設定を見ると、
25656 の追加オプションが使われていることがわかるでしょう。これらの意味については、hyperrefの取扱説明書
25657 \begin_inset CommandInset citation
25666 \begin_layout Section
25668 \begin_inset CommandInset label
25677 \begin_layout Subsection
25679 \begin_inset Index idx
25682 \begin_layout Plain Layout
25689 \begin_inset CommandInset label
25698 \begin_layout Standard
25699 LyXはバックグラウンドでLaTeXを使用しているので、LaTeXコマンドおよび要素の多くをサポートしていますが、すべてではありません。LaTeXは、さまざまな
25700 コマンドを提供するパッケージを数百も含んでいます。つねに多くのパッケージが更新され、新しいものが追加されます。事実上すべての問題に対してLaTeXパッケージが存
25701 在するので、これにはほとんどすべてのことを植字できるという利点があります。しかし、もちろんLyXは、最新の状態に付いていっているわけではなく、すべてのパッケージ
25702 とそれらの全コマンドをサポートできるわけではありません。
25705 \begin_layout Standard
25706 しかし心配は要りません。LyXではTeXコード枠の中で任意のLaTeXコマンドを使用することができるのです。TeXコード枠は、
25708 挿入\SpecialChar \menuseparator
25713 \begin_layout Plain Layout
25729 \begin_inset Flex Ruby
25732 \begin_layout Plain Layout
25734 \begin_inset Argument post:1
25737 \begin_layout Plain Layout
25754 )。枠は左クリックで開き、右クリックから
25761 \begin_layout Standard
25762 TeXコード枠には、完全なコマンドを挿入することもできますし、不完全なコマンドを入れることもできます。不完全というのは、通常のLyXの本文を引数として使うことが
25763 できるという意味です。例えば、単語の周りに枠を描きたいので、
25769 というLaTeXコマンドを使用するものとしましょう。コマンド部分
25775 をTeXコード枠に書き、枠を書きたい単語のあとに、閉じ中括弧
25779 を二つめのTeXコード枠として書きます。二つのTeXコード枠の単語が、以下の例に示すように引数になっています。
25782 \begin_layout Standard
25783 \begin_inset Graphics
25784 filename clipart/ERT.png
25792 \begin_layout Standard
25796 \begin_layout Standard
25801 \begin_layout Plain Layout
25814 \begin_layout Plain Layout
25824 \begin_layout Standard
25828 \begin_layout Standard
25829 \begin_inset Note Greyedout
25832 \begin_layout Plain Layout
25837 パラメタのないLaTeXコマンドの終わりでは、LaTeXがコマンドが終了したことを認識できるよう、スペースを挿入しなくてはなりません。
25845 \begin_layout Subsection
25847 \begin_inset Argument 1
25850 \begin_layout Plain Layout
25857 \begin_inset Index idx
25860 \begin_layout Plain Layout
25867 \begin_inset CommandInset label
25876 \begin_layout Standard
25877 比較的大きな文書や書籍を執筆するとき、LyXがバックグラウンドで使用するLaTeXコマンドを若干は知っておくことが必要になります。LaTeXはコマンドに基づいて
25878 いるため、あなたは文章を「プログラム」することができます。このことは、もしコマンドを正しく知っていれば、文書のレイアウトを毎回変えることができるという利点があり
25879 ます。例えば、あなたがある製品の取扱説明書を書いていて、その締切が今日中だったとしましょう。しかし上司は、あなたの仕事の出来を褒めてくれたけれども、すべてのキャ
25880 プションラベルを太字にしてくれと言うのです。取扱説明書には、太字になっていない図表のキャプションが何百もあります。もちろん、手動ですべてのキャプションラベルを一
25884 \begin_layout Standard
25885 そこでLaTeXが力を発揮します。上に述べたように、すべての問題に対してLaTeXパッケージが存在します。まずどれを使うか見つけなくてはならないので、LaTeX
25887 \begin_inset CommandInset citation
25896 \begin_layout Standard
25902 \begin_inset Index idx
25905 \begin_layout Plain Layout
25906 latexはつけじ@LaTeXパッケージ ! caption
25911 パッケージが必要とするものであることを知ります。パッケージを使用するには、文書プリアンブル(
25913 文書\SpecialChar \menuseparator
25914 設定\SpecialChar \menuseparator
25919 \begin_layout Plain Layout
25931 \begin_layout Standard
25936 usepackage[オプション]{パッケージ名}
25939 \begin_layout Standard
25940 というコマンドを使用して、パッケージを読み込まなくてはなりません。
25943 \begin_layout Standard
25944 LaTeXコマンドは、かならずバックスラッシュで始まり、コマンド引数を中括弧の中に入れ、オプションを大括弧の中に挿入することになっています。また、すべてのコマン
25945 ドが引数やオプションをとるわけではないことに注意してください。
25948 \begin_layout Standard
25953 です。パッケージの取扱説明書を見たところ、
25957 というオプションを与えると、すべてのキャプションラベルをボールド体に変更できることがわかりましたので、
25960 \begin_layout Standard
25965 usepackage[labelfont=bf]{caption}
25968 \begin_layout Standard
25969 というコマンドをプリアンブルに挿入したところ、問題は解決しました
25973 \begin_layout Plain Layout
25974 captionパッケージが提供する他のコマンドについては、その取扱説明書
25975 \begin_inset CommandInset citation
25989 \begin_layout Standard
25990 この例のようなよく知られた問題については、文書クラスによっては、組込の解決策が用意されていることがあることに注意してください。例えば、
25998 パッケージは必要なく、代わりにプリアンブルに
26001 \begin_layout Standard
26006 setkomafont{captionlabel}{
26011 \begin_layout Standard
26012 と書けば問題は解決します。したがって、比較的大きな文書を執筆しようとしているときには、使用しようと考えている文書クラスの取扱説明書を見てみた方がいいでしょう(
26018 はひとつ以上の引数をとるコマンドの一例です)。
26021 \begin_layout Standard
26022 本文中に置かれたコマンドがコマンド以降の本文のみ、あるいはコマンド引数にとられた文のみに影響を与えるのに対し、プリアンブル内に置かれたコマンドは、文書全体に影響
26023 します。本文中にLaTeXコマンドを挿入するには、前節で述べたようにTeXコード枠を使用してください。
26026 \begin_layout Standard
26027 LaTeXとその文法について、さらに詳細を知りたい場合には、LaTeX関連書籍
26028 \begin_inset CommandInset citation
26030 key "latexcompanion,latexguide"
26037 \begin_layout Standard
26038 \begin_inset Newpage cleardoublepage
26044 \begin_layout Standard
26048 \begin_layout Plain Layout
26058 \begin_inset Note Note
26061 \begin_layout Plain Layout
26062 一時的にページ様式をカスタムヘッダ行・フッタ行に変更する
26070 \begin_layout Left Header
26071 \begin_inset Argument 1
26074 \begin_layout Plain Layout
26084 \begin_layout Plain Layout
26094 \begin_inset Note Note
26097 \begin_layout Plain Layout
26106 \begin_layout Center Header
26107 \begin_inset Argument 1
26110 \begin_layout Plain Layout
26119 \begin_layout Right Header
26120 \begin_inset Argument 1
26123 \begin_layout Plain Layout
26127 \begin_layout Plain Layout
26144 \begin_layout Left Footer
26145 \begin_inset Argument 1
26148 \begin_layout Plain Layout
26152 \begin_layout Plain Layout
26169 \begin_layout Center Footer
26170 \begin_inset Argument 1
26173 \begin_layout Plain Layout
26184 \begin_inset Newline newline
26188 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
26194 \begin_layout Right Footer
26195 \begin_inset Argument 1
26198 \begin_layout Plain Layout
26208 \begin_layout Plain Layout
26220 \begin_layout Section
26221 ユーザ設定のページヘッダ及びページフッタ
26222 \begin_inset CommandInset label
26224 name "sec:ユーザ設定ページヘッダ"
26229 \begin_inset Index idx
26232 \begin_layout Plain Layout
26233 ふんしよ@文書 ! へっだ・ふったぎょう@ヘッダ・フッタ行
26239 \begin_inset Index idx
26242 \begin_layout Plain Layout
26243 へっだ・ふったぎょう@ヘッダ・フッタ行
26251 \begin_layout Standard
26252 文書にユーザ設定のヘッダ行やフッタ行を定義したい時は、まず、
26254 文書\SpecialChar \menuseparator
26267 文書\SpecialChar \menuseparator
26268 設定\SpecialChar \menuseparator
26271 メニューの中で、「ユーザ設定ヘッダ/フッタ行」モジュールを追加してください。このモジュールは、ヘッダ及びフッタの位置によって、以下の6つの様式を提供します。
26274 \begin_layout Description
26278 \begin_layout Description
26282 \begin_layout Standard
26283 通常、ヘッダとフッタは文頭で設定しますが、お望みならば、どこででも変更することができます。図
26284 \begin_inset CommandInset ref
26286 reference "fig:ページレイアウト"
26290 は、ページのレイアウトと、ヘッダ及びフッタ様式に設定した行がどこに表示されるかを示したものです。
26293 \begin_layout Standard
26294 \begin_inset Float figure
26300 \begin_layout Plain Layout
26303 \begin_inset Tabular
26304 <lyxtabular version="3" rows="5" columns="3">
26305 <features rotate="0" tabularvalignment="middle">
26306 <column alignment="left" valignment="top" width="30line%">
26307 <column alignment="center" valignment="top" width="30line%">
26308 <column alignment="right" valignment="top" width="30line%">
26310 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
26313 \begin_layout Plain Layout
26319 <cell alignment="center" valignment="top" topline="true" usebox="none">
26322 \begin_layout Plain Layout
26328 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
26331 \begin_layout Plain Layout
26339 <cell alignment="left" valignment="top" leftline="true" usebox="none">
26342 \begin_layout Plain Layout
26348 <cell alignment="center" valignment="top" usebox="none">
26351 \begin_layout Plain Layout
26357 <cell alignment="right" valignment="top" rightline="true" usebox="none">
26360 \begin_layout Plain Layout
26368 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
26371 \begin_layout Plain Layout
26372 ページ上の通常の本文はここに入ります。ランニングヘッダは本文の上に、(脚注を含む)ランニングフッタは本文の下に来ます。ヘッダやフッタは、多くの場合、ページ番号や
26373 章見出しや会社のロゴ等が入りますが、フロートを除き、凡そなんでも使用することができます。
26378 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
26381 \begin_layout Plain Layout
26387 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
26390 \begin_layout Plain Layout
26398 <cell alignment="left" valignment="top" leftline="true" usebox="none">
26401 \begin_layout Plain Layout
26407 <cell alignment="center" valignment="top" usebox="none">
26410 \begin_layout Plain Layout
26416 <cell alignment="right" valignment="top" rightline="true" usebox="none">
26419 \begin_layout Plain Layout
26427 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
26430 \begin_layout Plain Layout
26436 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
26439 \begin_layout Plain Layout
26445 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
26448 \begin_layout Plain Layout
26462 \begin_layout Plain Layout
26463 \begin_inset Caption Standard
26465 \begin_layout Plain Layout
26466 \begin_inset CommandInset label
26468 name "fig:ページレイアウト"
26472 ユーザ設定のヘッダ行およびフッタ行を伴ったページレイアウト
26485 \begin_layout Standard
26486 \begin_inset Note Greyedout
26489 \begin_layout Plain Layout
26494 文書クラスによっては、ヘディング様式を「既定値」で、固有のページヘッダやページフッタを実装するものもあります。自製のページヘッダやページフッタを指定する前に、そ
26495 れらの実装がどうなっているかを確認してください。
26503 \begin_layout Subsection
26507 \begin_layout Standard
26508 ヘッダ行を定義する際は、3つのヘッダ様式をすべて指定してください。様式に書き込んだものは、奇数ページに表示され、そのオプション引数に書き込んだものは偶数ページに
26509 表示されます。片面文書においては、オプション引数は使用されずに無視されます。様式の内容やその引数を空欄にしたままの場合は、出力中には何も表示されません。フッタの
26513 \begin_layout Standard
26514 定義するに際しては、いくつかのLaTeXコマンドをTeXコードで入力する必要があります(
26516 挿入\SpecialChar \menuseparator
26521 \begin_layout Plain Layout
26533 \begin_layout Description
26536 thepage 現在のページ番号を出力します。
26539 \begin_layout Description
26542 Roman{page} 現在のページ番号を大文字ローマ数字で出力します。
26545 \begin_layout Description
26548 roman{page} 現在のページ番号を小文字ローマ数字で出力します。
26551 \begin_layout Description
26554 leftmark 通常は、現在の節番号と節見出しを出力しますが、章がある文書の場合には、現在の章番号と章見出しを出力します。これらは、通常左ヘッダに入れるので、
26555 「leftmark」というコマンドになっています。
26558 \begin_layout Description
26561 rightmark 通常は、現在の小節番号と小節見出しを出力しますが、章がある文書の場合には、現在の節番号と節見出しを出力します。これらは、通常右ヘッダに入れる
26562 ので、「rightmark」というコマンドになっています。
26565 \begin_layout Subsection
26569 \begin_layout Standard
26570 ユーザ設定のヘッダやフッタの既定値は、空ではありません。既定のヘッダには、章及び節のタイトルが入り、中央フッタにはページ番号が入ります。ヘッダやフッタから必要の
26571 ない項目を取り除くには、そのヘッダ様式やフッタ様式を文書に設定し、空のままに放っておきます。つまり、フッタにページ番号が必要ない場合には、空の
26578 \begin_layout Subsection
26582 \begin_layout Standard
26583 ヘッダ及びフッタは通常のページには表示されますが、そうでないページもあります。例えば、表題ページや、書籍の部見出し・章見出しは、それ自身の様式を持っているので、
26584 これらのページにはユーザ設定ヘッダやユーザ設定フッタは存在しませんが、これはまっとうなことです。例えば、章見出しページには、章見出しが太い文字ででかでかと書かれ
26585 ていますから、章の名前が入ったヘッダを印字する必要はないわけです。
26588 \begin_layout Subsubsection
26592 \begin_layout Standard
26594 \begin_inset space \thinspace{}
26597 ptの太さの線が引かれ、フッタ線は描かれません。これは、文書プリアンブル中に、
26606 \begin_inset Newline newline
26621 コマンドを使用すれば、変更することができます。ここで、「太さ」は、
26629 のような標準単位を用います。線を消したい場合には、太さを0
26630 \begin_inset space \thinspace{}
26636 \begin_layout Standard
26637 装飾線には色をつけることもできますが、これにはLaTeXの知識が要ります。どうしても必要な場合には、インターネットか書籍
26638 \begin_inset CommandInset citation
26647 \begin_layout Subsubsection
26651 \begin_layout Standard
26652 ヘッダ行やフッタ行として2行以上が必要な場合、様式での定義に通常の改行を入れることで実現することができますが、既定のヘッダ高やフッタ高は1行分しかありません。そ
26653 こで高さを広げるには、文書プリアンブル中で
26662 \begin_inset Newline newline
26677 を再定義してください。ここで「高さ」は、標準単位での高さです。どのくらいの高さが必要かがわからない場合には、とりあえずヘッダやフッタを定義して、PDFで文書をプ
26680 文書\SpecialChar \menuseparator
26685 \begin_layout Plain Layout
26694 メニューからLaTeXログファイルを開き、次の警告ボタンを押して、
26699 \begin_inset Index idx
26702 \begin_layout Plain Layout
26703 latexはつけじ@LaTeXパッケージ ! fancyhdr
26708 パッケージからの警告がないかどうか探してください。もし警告があれば、そのヘッダやフッタに必要な最小限の高さが報告されているはずです。
26711 \begin_layout Subsection
26715 \begin_layout Standard
26716 この例は、ユーザ設定ヘッダ及びフッタで何ができるかをお見せするためのものです。これは例に過ぎませんので、実際の文書では使わないでください。この例では以下の定義を
26720 \begin_layout Description
26730 \begin_layout Description
26734 \begin_layout Description
26742 \begin_layout Description
26750 \begin_layout Description
26760 \begin_inset Newline newline
26764 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
26770 \begin_layout Description
26780 \begin_layout Description
26784 \begin_inset space \thinspace{}
26790 \begin_layout Standard
26791 ヘッダやフッタには、フロート以外ならば、原則として何でも使用することができます。爪掛けのような特殊なものについては、
26796 \begin_inset CommandInset citation
26805 \begin_layout Standard
26806 \begin_inset Newpage clearpage
26812 \begin_layout Standard
26816 \begin_layout Plain Layout
26820 pagestyle{headings}
26826 \begin_inset Note Note
26829 \begin_layout Plain Layout
26832 switches back to page style with the default headings
26840 \begin_layout Section
26842 \begin_inset CommandInset label
26844 name "sec:文書の断片プレビュー"
26849 \begin_inset Index idx
26852 \begin_layout Plain Layout
26859 \begin_inset Index idx
26862 \begin_layout Plain Layout
26863 ふんしよ@文書!ぷれびゅー@プレビュー
26871 \begin_layout Standard
26872 LyXでは、完成文書がどのようになるかを、出力を見るための煩労でユーザーの思考を中断させることなく、見ることができるように、作業中の文書の各節を同時進行でプレビ
26876 \begin_layout Subsection
26880 \begin_layout Standard
26886 \begin_inset Index idx
26889 \begin_layout Plain Layout
26890 latexはつけじ@LaTeXパッケージ ! preview-latex
26899 と命名されています)というLaTeXパッケージが導入されていることが必要です。もしこれがすでに導入されていなければ、TeX Catalogue
26901 \begin_inset CommandInset citation
26907 か、ご利用のLaTeXのパッケージマネージャで見つけることができます。
26915 プログラムを導入すれば、さらに美しい出力を得ることができます。Windows版LyXでは、このプログラムとLaTeXパッケージは、LyXと共に自動で導入されてい
26919 \begin_layout Subsection
26923 \begin_layout Standard
26924 もしLyX中に、例えば、数式のLaTeX出力を表示させたいとすると、
26926 ツール\SpecialChar \menuseparator
26931 操作性\SpecialChar \menuseparator
26950 とあるのは、大きさの倍率因子のことです。
26953 \begin_layout Standard
26954 LaTeXが組版する数式以外すべてを見たい場合には、
26965 \begin_layout Standard
26966 すると、LyXに文書を読み込んだり挿入枠を編集し終わったりすると、プレビューが生成されるようになります。すでに読み込まれた文書のプレビューは、
26974 ので、プレビューを有効にするには、文書を開き直さなくてはなりません。
26977 \begin_layout Standard
26978 \begin_inset Note Greyedout
26981 \begin_layout Plain Layout
26990 オプションを有効にしても、直ちに生成されるとは限りません。この場合には、文書を開きなおせば、プレビューが生成されます。
26998 \begin_layout Subsection
27002 \begin_layout Standard
27003 数式以外にも、例えば、LyXがまだサポートしていない文書の一部の回転などのように、プレビューを見たい場合があるかもしれません。この場合には、
27005 挿入\SpecialChar \menuseparator
27008 メニューでプレビュー差込枠を挿入し、プレビューしたいものを、この差込枠中に挿入するか貼り付けてください。カーソルをプレビュー差込枠の外に移すと、プレビューが生成
27009 されます。プレビューをクリックすると、プレビューを行ったものを編集することができます。
27012 \begin_layout Standard
27013 一例:回転させたボックスを生成するには、LyXがまだサポートしていないLaTeXコマンド
27023 \begin_layout Plain Layout
27043 。例えば、周囲の本文に合うように回転角を調整したいなどの理由で、LyX中に、TeXコードボックスではなく、回転させたボックスの最終出力を見たいものとしましょう。
27044 そこで、プレビュー差込枠を作成し、回転させたボックスに入れる文章を中にコピーします。下記がその結果です。
27047 \begin_layout Standard
27048 \begin_inset Preview
27050 \begin_layout Standard
27055 \begin_layout Plain Layout
27059 rotatebox[origin=r]{-60}{
27065 \begin_inset Box Doublebox
27075 height_special "totalheight"
27078 \begin_layout Plain Layout
27088 \begin_layout Plain Layout
27099 \begin_layout Plain Layout
27103 rotatebox[origin=lb]{60}{
27109 \begin_inset Formula $\int A\,\mathrm{d}x=B$
27116 \begin_layout Plain Layout
27131 \begin_layout Standard
27132 プレビューは、着色にも機能します。以下の例では、特殊な枠付き・色付きボックスが、LaTeXコマンド
27142 \begin_layout Plain Layout
27165 \begin_layout Standard
27166 \begin_inset Preview
27168 \begin_layout Standard
27172 \begin_layout Plain Layout
27187 \begin_layout Plain Layout
27191 fcolorbox{cyan}{magenta}{
27196 これは、色付きかつ枠付きのボックスの中にある文章です。
27200 \begin_layout Plain Layout
27215 \begin_layout Standard
27216 \begin_inset VSpace medskip
27222 \begin_layout Standard
27223 LyXにプレビューが表示されないときには、上述の通り、プレビューが有効化されていて、プレビュー差込枠内のTeXコードが有効であることを確認し、そのTeXコードが
27224 要求するLaTeXパッケージが、文書プリアンブル中で読み込まれているかどうか、確認してください。LyXがプレビューを生成できないとすると、ほとんどの場合、文書を
27225 閲覧することも、LaTeXエラーによってできなくなっているはずです。TeXコードを使わなくてはならないけれども、コードが正しいかどうか自信のない場合、プレビュー
27226 差込枠は、文書全体を閲覧しないまま、コードが正しいかどうかチェックするのに最適の方法です。
27229 \begin_layout Subsection
27233 \begin_layout Standard
27234 さらに、文書全体あるいは一部のLaTeXソースをプレビューすることもできます。
27236 表示\SpecialChar \menuseparator
27239 メニューを使用すると、ウィンドウが開いてLaTeXコードを見ることができるようになります。このウィンドウには、現在カーソルがある段落全体のソースを表示します。L
27240 yXのメインウィンドウで文書の一部を選択すれば、(1段落以上を選択しているときには)選択部分のみがソースコードとして表示されます。文書全体をソースとして閲覧した
27241 いときには、ソース閲覧ウィンドウにある、そのオプションを有効にしてください。
27245 を有効にすると、LyXで変更を加えると同時に、その変化を見ることができます。ただし、複数の文書を開いている場合には、LyXは、開かれている文書に限らず、全ての文
27246 書を更新するため、動作が遅くなることに注意してください。
27249 \begin_layout Section
27251 \begin_inset CommandInset label
27253 name "sec:詳細な検索と置換"
27258 \begin_inset Index idx
27261 \begin_layout Plain Layout
27268 \begin_inset Index idx
27271 \begin_layout Plain Layout
27280 \begin_layout Subsection
27284 \begin_layout Standard
27285 LyXの詳細検索・置換機能を使用すれば、LyX中の複雑で書式を含んだ文章の断片や、数式の内容を検索することができるようになります。これは、標準(簡易)の検索・置
27286 換機能の機能向上と位置づけられます。主な機能は、以下のとおりです。
27289 \begin_layout Itemize
27290 平文検索と数式検索の両方が可能ですが、後者の場合には、LyXユーザーが通常行っている方法で数式を入力することによって為されます。数式全体を検出できるだけでなく、
27291 複雑な数式の一部分を検出することも可能です。
27294 \begin_layout Itemize
27295 検索を書式非感応にして、検索文字列を任意の文脈・様式上(標準的本文・節見出し・注釈のほか数式も)で検出することもできますし、書式感応的にして、たとえば節見出しに
27296 入力された単語のみを検出することもできます。
27299 \begin_layout Itemize
27300 検索は、数式環境のみに限定することができます。これは、数式環境外の文に全く反応させずに、数式表記を変更したい場合に便利です。
27303 \begin_layout Itemize
27308 に広げることができ、編集中の文書の子文書すべてや、開かれている全ファイル、
27314 メニューから開くことのできる全説明書などを指定することができます。
27317 \begin_layout Itemize
27318 置換は、大文字・小文字関係を保持することができます。すなわち、置換文字列の大文字・小文字が、検索に一致した文字列の大文字・小文字に合うように、調整することができ
27319 ます(つまり、すべて小文字か、すべて大文字か、最初の文字だけ大文字で後は小文字か、など)。
27322 \begin_layout Subsection
27326 \begin_layout Standard
27329 編集\SpecialChar \menuseparator
27333 \begin_inset Flex Ruby
27336 \begin_layout Plain Layout
27338 \begin_inset Argument post:1
27341 \begin_layout Plain Layout
27355 arg "dialog-show findreplaceadv"
27361 arg "dialog-toggle findreplaceadv"
27371 \begin_layout Subsubsection
27375 \begin_layout Standard
27380 欄のLyXミニエディタに簡単な単語を入力し、その下の
27389 \begin_inset Flex Ruby
27392 \begin_layout Plain Layout
27394 \begin_inset Argument post:1
27397 \begin_layout Plain Layout
27408 を押して)その単語を検索してください。入力された単語は、平文モードと数式モードの両方で検出されるだけでなく、強調体・ボールド体・標準体のすべてと、節見出しと本文
27413 を繰り返し押すと前方検索をし続けます。同様に、
27424 \begin_layout Standard
27429 オプションは、検出中に、検索エディタに入力したのと同じ大小文字を持つものにだけ一致するようにします。
27433 オプションを指定すると、単語の切れ目ごとにのみ一致します。
27436 \begin_layout Subsubsection
27440 \begin_layout Standard
27441 \begin_inset Formula $x^{2}$
27445 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
27452 エディタ中に数式を入力することによって検索することができます。数式検索中には、単独の数式も検出されますし、数式の一部や、その一部が入れ子になっている部分にも一致
27454 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}$
27460 \begin_layout Subsubsection
27464 \begin_layout Standard
27465 また、特定の様式を持った文章を検索することも可能です。そのためには、ダイアログ中の
27480 \begin_layout Itemize
27481 通常の単語を入力して検索を行うと、強調体やボールド体の単語は検出しません。
27484 \begin_layout Itemize
27485 強調体またはボールド体の単語を入力して検索を行うと、同じフェイスかつ同じ文字様式を持つ単語にのみ一致します。ただし、例えば強調文字は、単独で検出されるだけでなく
27486 、より長い強調文に含まれる部分にも一致することに注意してください。
27489 \begin_layout Itemize
27490 節見出しに通常の単語を入力し、検出を行うと、節見出しに含まれる同じ単語にのみ一致します。また、節様式に加えて強調体やボールド体が検索文字に指定されると、これらと
27491 同じ様式を持つ部分のみが検出されます。
27494 \begin_layout Itemize
27495 別行立て数式中の数式の一部には、別行立て数式中のものにのみ一致し、行中数式には一致しないものがあります。
27498 \begin_layout Subsubsection
27502 \begin_layout Standard
27507 エディタに入力した文字列に一致する字句は、
27511 エディタに入力した字句で置き換えることができます。次候補を見つけて置換するには、、
27530 \begin_layout Standard
27531 文書中の一致する字句の場所に、LyXのあらゆる書式を用いた字句を置き換えることができます。この能力を用いた典型例は以下のとおりです。
27534 \begin_layout Itemize
27535 ある単語を、特定の書式を持った同じ単語に置換します。例えば、「func()」という単語を、タイプライタ体の「
27542 \begin_layout Itemize
27543 数式記号の表記法の書き変えを行います。例えば、「
27544 \begin_inset Formula $R$
27548 \begin_inset Formula $\mathbb{R}$
27551 」にしたり(標準文の中に現れる「R」がすべて置き換えられてしまうのを防ぐために、
27567 オプションを無効にするとよいでしょう)、
27568 \begin_inset Formula $x_{j}^{i}$
27572 \begin_inset Formula $x_{i,j}$
27576 \begin_inset Formula $x[k]$
27580 \begin_inset Formula $x_{k}$
27586 \begin_layout Subsection
27590 \begin_layout Standard
27591 正規表現(regexp)に基づいた検索機構が備わっています
27595 \begin_layout Plain Layout
27596 正規表現のよい説明がWikipediaの以下の項目にあります。
27597 \begin_inset Newline newline
27601 \begin_inset CommandInset href
27603 target "http://en.wikipedia.org/wiki/Regular_expression"
27616 エディタにregexp差込枠を挿入することで、正規表現検索を行うことができます。これは、カーソルが
27622 挿入\SpecialChar \menuseparator
27625 メニューを選択することで実行できます。regexp差込枠に入力した文字列は、正規表現一致規則にしたがって一致し
27629 \begin_layout Plain Layout
27630 ただし、表現は、整ったLyX中の語句に一致しなくてはならないという制約があります。つまり、LaTeXコードに一致するときに、{}の片側だけが含まれるような部分は
27631 、一致させる表現に含まれてはなりません。
27636 、regexp差込枠外の文字列は、文書中のまったく同一の文字列に対して一致します。regexp差込枠は、通常どおりカットアンドペーストできることに注意してくださ
27637 い。この機能を使った例としては、以下のようなものがあります。
27640 \begin_layout Enumerate
27641 決まった分母を持つ全ての分数を検索する。例えば、
27646 \begin_inset Formula $\frac{.*}{1+x^{2}}$
27650 \begin_inset Formula $.*$
27653 は全てに一致するという正規表現です)、この分母を持つ全ての分数が検出されます。
27656 \begin_layout Enumerate
27657 決まった様式を持つ全ての文章を検索する。例えば、
27666 \begin_inset Formula $.*$
27669 を入力し、それに強調体やボールド体を設定すると、全ての強調体やボールド体に一致します。また、記号付きないし連番箇条書きや節見出しに正規表現
27670 \begin_inset Formula $.*$
27673 を入力すると、全ての記号付きないし連番箇条書きや節見出しに一致します。
27676 \begin_layout Standard
27677 最後に、regexp中の表現への参照は、通常どおり行うことができます。つまり、表現の一部を丸括弧()で囲むと、これは
27678 \begin_inset Formula $\backslash1$
27682 \begin_inset Formula $\backslash2$
27686 \begin_inset Newline newline
27689 [[:space:]]([[:alpha:]]+)[[:space:]]
27692 \begin_inset Newline newline
27695 という正規表現で検索を行うと、単語の繰り返しがあれば、それに一致します。
27698 \begin_layout Standard
27699 置換文字列での後方参照は、(まだ)実装されていないことに注意してください。
27702 \begin_layout Standard
27703 \begin_inset Note Greyedout
27706 \begin_layout Plain Layout
27711 後方参照は、同じregexp内で使われるときでも、異なる複数のregexp内で使われるときでも機能します。ここで、後方参照表現は絶対表現であり、例えば
27712 \begin_inset Formula $\backslash1$
27716 \begin_inset Formula $()$
27727 \begin_layout Section
27729 \begin_inset CommandInset label
27736 \begin_inset Index idx
27739 \begin_layout Plain Layout
27748 \begin_layout Standard
27749 LyXには、組込のスペルチェッカーがあります。
27753 \SpecialChar \menuseparator
27763 \begin_inset Flex Ruby
27766 \begin_layout Plain Layout
27768 \begin_inset Argument post:1
27771 \begin_layout Plain Layout
27785 arg "dialog-show spellchecker"
27788 を使用すると、現在のカーソル位置からスペルチェックが始まります。誤った(或いは未知の)単語が検出されるとサイドバーが現れるので、2行目の欄で、それを編集したり置
27789 換したりすることができます。未知の単語が検出された時には、その単語がハイライト表示され、その部分が見えるところまで本文がスクロールします。スペルチェッカーサイド
27790 バーには、修正候補がある場合には、それを表示するボックスがあります。修正候補の一つをクリックした場合には、それが
27794 フィールドに転記されますが、ダブルクリックした場合には、その候補で直ちに置換が実行されます。未知ではあるけれども正しくタイプされた単語は、個人辞書に登録すること
27798 \begin_layout Standard
27801 文書\SpecialChar \menuseparator
27804 ダイアログで設定される文書言語によって決定されます。文書言語用の辞書を持っていない場合には、スペルチェックを実行しようとするとエラーメッセージが表示されます。ス
27805 ペルチェッカーダイアログの一番上の欄で、いずれかの言語を選ぶことで、単語の言語を指定することができます。LyXは複数の言語を含む文書でも正しくスペルチェックを行
27806 うことができます。これは、本文の言語を、文字様式ダイアログ(
27809 arg "dialog-show character"
27812 )で設定し、さらにスペルチェッカーの辞書が導入済みであれば、動作します。それが為されていれば、LyXは、自動的に適当な辞書ファイルを切り替えて用います。
27815 \begin_layout Standard
27819 \begin_layout Plain Layout
27824 通常、日本語用のスペルチェック用辞書はないので、日本語はこの場合に該当します。例えば、スペルチェッカーが
27836 」にしておくと、文書言語が日本語でも英語版の
27844 では代替言語は使えません)。しかしながら、単語の区切りは空白で判断されるため、この方法では、英単語と周りの日本語のあいだに空白がないと、英単語が正しく検出されま
27853 \begin_layout Standard
27854 LyXがサポートしているスペルチェッカー用辞書は、
27855 \begin_inset Newline newline
27859 \begin_inset Flex URL
27862 \begin_layout Plain Layout
27864 http://sourceforge.net/projects/lyxwininstaller/files/hunspell/
27870 \begin_inset Newline newline
27873 からダウンロードすることができます。各言語用に、2つずつファイルがあります。辞書をWindowsに導入するには、2つのファイルをLyXの導入されているフォルダ以
27882 にコピーして、LyXを再起動してください。
27883 \begin_inset Newline newline
27886 Linuxでは、所望する言語のパッケージを導入する必要があります。必要なパッケージの数は、Linux頒布版によって異なりますが、ほとんどの場合、
27905 \begin_layout Subsection
27909 \begin_layout Standard
27912 ツール\SpecialChar \menuseparator
27913 設定\SpecialChar \menuseparator
27914 言語設定\SpecialChar \menuseparator
27917 メニューでは、以下の設定を行うことができます。
27920 \begin_layout Description
27921 綴り検証エンジン LyXでスペルチェックに使用させるライブラリを選択します。使用中のプラットホームに依存しますが、
27935 \begin_layout Plain Layout
27936 enchant自体は、いろいろなバックエンドを設定できるラッパーライブラリです。詳しくは、enchantの取扱説明書ないしmanページをご覧ください。
27950 \begin_layout Description
27951 代替言語 本フィールドが空でないときは、LyXは、文書言語の如何にかかわらず、ここで指定された言語を、つねにスペルチェックに使用するようになります。
27954 \begin_layout Description
27955 エスケープ文字 ここで、スペルチェッカーがエスケープする必要がある非標準文字を指定できます(例: ドイツ語のウムラウト)。これは通常必要ではありません。
27958 \begin_layout Description
27959 複合単語を受け入れる スペルチェッカーが「passthrough」のような複合単語を綴り間違いと判断しないようにします。
27962 \begin_layout Description
27963 連続スペルチェック 入力するのと同時進行で綴りを検証します。綴り間違いには、赤点線で下線が引かれます。下線の引かれた単語を右クリックすると、綴り候補がコンテクス
27964 トメニューに表示されます。そのうち一つを選択すると、綴り違いの単語が提案された単語で置換されます。
27967 \begin_layout Description
27968 注釈とコメントの綴りを検証する 有効にすると、出力されない文書内容の綴りも検証されます。
27971 \begin_layout Section
27973 \begin_inset Index idx
27976 \begin_layout Plain Layout
27983 \begin_inset Index idx
27986 \begin_layout Plain Layout
27991 \begin_layout Plain Layout
28002 \begin_layout Plain Layout
28015 \begin_inset CommandInset label
28024 \begin_layout Standard
28025 LyXは、多国語の類語辞典を提供し、LibreOffice,OpenOfficeやFirefoxと同じ類語辞典フレームワークを使用しています(つまり、
28033 \begin_layout Plain Layout
28034 \begin_inset CommandInset href
28036 target "http://lingucomponent.openoffice.org/thesaurus.html"
28045 類語辞典ライブラリをLyXの一部として使用しています)。よって、LyXは、多言語で利用可能なOpenOfficeの類語辞典に直接アクセスすることができます。
28048 \begin_layout Standard
28049 本節では、新しい辞書の導入の仕方と、それをLyXで利用する方法を解説します。
28052 \begin_layout Subsection
28056 \begin_layout Standard
28061 類語辞典は、1言語あたり2つのファイルから成り、1つはデータを含む拡張子
28069 のインデックスファイルです。ファイル名は、特定の言語の言語コード(例えば、アメリカ英語の場合は
28073 )を含むように標準化されています。例えば、英語ファイルは
28076 \begin_layout Itemize
28080 \begin_layout Itemize
28084 \begin_layout Standard
28093 を所有していて、Linuxシステム上に類語辞典が導入されていれば、これらのファイルは、お使いのシステム上に既に存在しているはずなので、LyXから、これらが導入さ
28096 ツール\SpecialChar \menuseparator
28097 設定\SpecialChar \menuseparator
28098 パス\SpecialChar \menuseparator
28105 \begin_layout Plain Layout
28106 Linuxでは、頒布版や辞書の導入の仕方によって、典型的な場所は、
28112 /usr/share/myspell/dicts/
28116 /usr/share/ooo/thesaurus/
28120 ~/.config/libreoffice/<バージョン>/user/
28122 などになります。Windowsでは、辞書は、
28128 LibreOffice-<バージョン>
28134 などにあります。Macでは、既定の場所は、
28136 /Users\SpecialChar \slash{}
28137 <ユーザー名>\SpecialChar \slash{}
28138 Library\SpecialChar \slash{}
28139 Application Support\SpecialChar \slash{}
28140 libreoffice\SpecialChar \slash{}
28141 <バージョン>\SpecialChar \slash{}
28149 Windowsの場合には、LyXを導入する過程で、導入する辞書を選択することもでき、この場合は、直ちに正しい場所へ導入が為されます。
28152 \begin_layout Standard
28153 類語辞典用辞書を新たにもしくは追加的に導入したい場合には、
28156 \begin_layout Itemize
28157 \begin_inset Flex URL
28160 \begin_layout Plain Layout
28162 http://www.lyx.org/trac/browser/lyxsvn/dictionaries/trunk/thes/
28170 \begin_layout Standard
28171 からダウンロードすることができます。辞書を新規に導入するには、当該辞書の2つのファイルを(
28173 ツール\SpecialChar \menuseparator
28174 設定\SpecialChar \menuseparator
28175 パス\SpecialChar \menuseparator
28178 で設定した)類語辞典パスにダウンロードして、LyXを再起動してください。このパスがまだ指定されていなければ、好きなディレクトリにおいて、LyXからそこを指定して
28182 \begin_layout Standard
28185 LibreOffice/OpenOffice
28187 経由で導入したり、Linuxでは、パッケージマネジャーから導入(
28193 libreoffice-thesaurus-*
28195 パッケージを探してください)することもできます。この場合、
28197 ツール\SpecialChar \menuseparator
28198 設定\SpecialChar \menuseparator
28199 パス\SpecialChar \menuseparator
28202 をこれらの辞書を導入したパスに設定して、LyXが、導入した辞書を発見できるようにしてください。
28205 \begin_layout Subsection
28209 \begin_layout Standard
28210 類語辞典を使うには、単語を選択するか、単語の直後にカーソルを置いて、
28212 ツール\SpecialChar \menuseparator
28218 arg "thesaurus-entry"
28221 を使うと、ダイアログが現れて、関連しているとみなされる単語が表示されるので、単語の置換に使用することができます。提案語はカテゴリごとに分類されています。一部の言
28222 語(例えば英語)では、類語辞典は、同義語を表示するだけでなく、包摂語(
28237 \begin_inset space ~
28249 \begin_inset space ~
28262 など)も表示されます。包摂語・関連語・反対語は、そのようにマークされて表示されます。
28265 \begin_layout Standard
28266 言語はカーソル位置の言語によって自動的に選択されますが、ダイアログ中で切り替えることもできます。ダイアログ中ではまた、直接検索する単語を新しく入れることもできま
28270 \begin_layout Standard
28271 類語辞典は、フレーズを取り扱うことはできず(前出のtree diagramのように辞書にある複合語しか取り扱えません)、いわゆる見出し語形、すなわち辞書に現れる
28272 形を使用しなくてはなりません(多くの言語において、名詞については一人称単数直説法能動態、動詞については不定詞)。例えば、
28280 のような単語形を引いても結果は得られませんが、
28284 では結果が表示されます。もっともよい方法は、単語の見出し語部分のみを選択すれば(例えば
28292 )、ダイアログの検索文字列を調整することなしに提案を得ることができ、おそらく置換も正しく動作するでしょう(選択部分のみが置換されるので残りの部分は元のままです)
28296 \begin_layout Section
28298 \begin_inset Index idx
28301 \begin_layout Plain Layout
28308 \begin_inset Index idx
28311 \begin_layout Plain Layout
28312 ふんしよ@文書!へんこうついせききのう@変更追跡機能
28318 \begin_inset CommandInset label
28327 \begin_layout Standard
28328 ひとつの文書を共同して作成するときには、他の人々が文書に加えた変更が強調表示され、変更を受け入れるかどうか決めることができると、この上なく便利です。この機能は、
28330 文書\SpecialChar \menuseparator
28331 変更追跡機能\SpecialChar \menuseparator
28334 メニューで変更追跡を有効にすることによって利用することができるようになります。
28337 \begin_layout Standard
28338 すると文書に加えられた変更点は、下線とカラーで強調されるようになり、追加部分は
28350 のように表示されるようになります。色は、変更した執筆者によって異なります。この色は、
28352 ツール\SpecialChar \menuseparator
28353 設定\SpecialChar \menuseparator
28354 操作性\SpecialChar \menuseparator
28358 \begin_inset Index idx
28361 \begin_layout Plain Layout
28362 いろ@色 ! へんこうついせき@変更追跡
28367 で変更することができます。執筆者と変更の日時は、カーソルを変更箇所にあわせると、LyXのステータスバーに表示されます。ツールバーボタン
28370 arg "changes-merge"
28373 を押したときも同じ情報が表示されます。
28376 \begin_layout Standard
28377 変更追跡が有効にされると、以下のような校閲ツールバーがLyXに表示されるようになります。
28378 \begin_inset Index idx
28381 \begin_layout Plain Layout
28382 つーるばー@ツールバー ! こうえつ@校閲------
28388 \begin_inset VSpace defskip
28394 \begin_layout Standard
28395 \begin_inset Graphics
28396 filename ../clipart/ChangesToolbar.png
28401 \begin_inset VSpace defskip
28407 \begin_layout Standard
28408 上の校閲ツールバーは、左から右へ順に以下のボタンを含んでいます。
28409 \begin_inset VSpace defskip
28415 \begin_layout Standard
28416 \begin_inset Tabular
28417 <lyxtabular version="3" rows="10" columns="2">
28418 <features rotate="0" islongtable="true" longtabularalignment="center">
28419 <column alignment="left" valignment="top">
28420 <column alignment="left" valignment="top" width="0pt">
28421 <row interlinespace="2.5mm">
28422 <cell alignment="left" valignment="top" usebox="none">
28425 \begin_layout Plain Layout
28430 arg "changes-track"
28438 <cell alignment="left" valignment="top" usebox="none">
28441 \begin_layout Plain Layout
28444 文書\SpecialChar \menuseparator
28445 変更追跡機能\SpecialChar \menuseparator
28452 <row interlinespace="2.5mm">
28453 <cell alignment="left" valignment="top" usebox="none">
28456 \begin_layout Plain Layout
28461 arg "changes-output"
28469 <cell alignment="left" valignment="top" usebox="none">
28472 \begin_layout Plain Layout
28475 文書\SpecialChar \menuseparator
28476 変更追跡機能\SpecialChar \menuseparator
28483 <row interlinespace="2.5mm">
28484 <cell alignment="left" valignment="top" usebox="none">
28487 \begin_layout Plain Layout
28500 <cell alignment="left" valignment="top" usebox="none">
28503 \begin_layout Plain Layout
28510 <row interlinespace="2.5mm">
28511 <cell alignment="left" valignment="top" usebox="none">
28514 \begin_layout Plain Layout
28519 arg "change-accept"
28527 <cell alignment="left" valignment="top" usebox="none">
28530 \begin_layout Plain Layout
28533 文書\SpecialChar \menuseparator
28534 変更追跡機能\SpecialChar \menuseparator
28541 <row interlinespace="2.5mm">
28542 <cell alignment="left" valignment="top" usebox="none">
28545 \begin_layout Plain Layout
28550 arg "change-reject"
28558 <cell alignment="left" valignment="top" usebox="none">
28561 \begin_layout Plain Layout
28564 文書\SpecialChar \menuseparator
28565 変更追跡機能\SpecialChar \menuseparator
28572 <row interlinespace="2.5mm">
28573 <cell alignment="left" valignment="top" usebox="none">
28576 \begin_layout Plain Layout
28581 arg "changes-merge"
28589 <cell alignment="left" valignment="top" usebox="none">
28592 \begin_layout Plain Layout
28595 文書\SpecialChar \menuseparator
28596 変更追跡機能\SpecialChar \menuseparator
28603 <row interlinespace="2.5mm">
28604 <cell alignment="left" valignment="top" usebox="none">
28607 \begin_layout Plain Layout
28612 arg "all-changes-accept"
28620 <cell alignment="left" valignment="top" usebox="none">
28623 \begin_layout Plain Layout
28626 文書\SpecialChar \menuseparator
28627 変更追跡機能\SpecialChar \menuseparator
28634 <row interlinespace="2.5mm">
28635 <cell alignment="left" valignment="top" usebox="none">
28638 \begin_layout Plain Layout
28643 arg "all-changes-reject"
28651 <cell alignment="left" valignment="top" usebox="none">
28654 \begin_layout Plain Layout
28657 文書\SpecialChar \menuseparator
28658 変更追跡機能\SpecialChar \menuseparator
28665 <row interlinespace="2.5mm">
28666 <cell alignment="left" valignment="top" usebox="none">
28669 \begin_layout Plain Layout
28682 <cell alignment="left" valignment="top" usebox="none">
28685 \begin_layout Plain Layout
28688 挿入\SpecialChar \menuseparator
28689 注釈\SpecialChar \menuseparator
28694 \begin_layout Plain Layout
28707 <row interlinespace="2.5mm">
28708 <cell alignment="left" valignment="top" usebox="none">
28711 \begin_layout Plain Layout
28724 <cell alignment="left" valignment="top" usebox="none">
28727 \begin_layout Plain Layout
28730 移動\SpecialChar \menuseparator
28742 \begin_inset VSpace defskip
28748 \begin_layout Standard
28765 段落への変更といった、書式変更をはじめとして、(まだ)全ての変更追跡が視覚化されているわけではありません。
28768 \begin_layout Standard
28769 校閲ツールバーは、変更を承認・却下したり統合したりするのに便利です。変更点を選択して、希望するツールバーボタンを押してください。変更を統合する際には、ウィンドウ
28770 が現れて、現在のカーソル位置の次の変更に関する情報を表示しますので、特定の変更点をわざわざ選択する必要がありません。統合ウィンドウでは、変更を承認するか却下する
28771 かを決定して次の変更点へ移動することができますので、この方法を使って、文書中の全ての変更点を確認することができます。
28774 \begin_layout Standard
28775 ツールバーに注釈関連のボタンが二つあるのは、変更点を説明するのに注釈の利用が不可欠なためです。
28778 \begin_layout Standard
28779 加えられた変更を出力に表示するためには、
28784 \begin_inset Index idx
28787 \begin_layout Plain Layout
28788 latexはつけじ@LaTeXパッケージ ! dvipost
28793 というLaTeXパッケージが導入されていることが必要です。これはTeX Catalogue
28794 \begin_inset CommandInset citation
28800 またはお使いのLaTeXシステムのパッケージマネージャから見つけることができます。
28803 \begin_layout Section
28805 \begin_inset CommandInset label
28812 \begin_inset Index idx
28815 \begin_layout Plain Layout
28824 \begin_layout Standard
28827 ツール\SpecialChar \menuseparator
28830 メニューを使用すると、異なる2つのLyXファイルを比較することができます。比較結果は、差異が表示され、かつ変更追跡機能が有効化された、LyXファイルとして出力さ
28835 オプションを用いて、出力される差異表示ファイルに、どの文書から文書設定を引き継がせるのかを指定することができます。
28839 オプションを有効にすると、変更追跡オプションの
28843 が有効になり、差異表示ファイルのPDF出力にも差異が表示されるようになります。
28846 \begin_layout Section
28848 \begin_inset Index idx
28851 \begin_layout Plain Layout
28860 \begin_layout Standard
28861 この節では、お使いになりたい言語でLyXを使う方法を説明します。西欧言語以外の言語の中には、当該言語用にLyXを設定する方法を説明したWikiページがあるものも
28863 \begin_inset CommandInset citation
28865 key "Arabic,Armenian,Farsi,Hebrew,Japanese,Lithuanian,Latvian,Mongolian,Vietnamese"
28872 \begin_layout Standard
28873 LyXは、言語以外に発音記号もサポートしています。第
28874 \begin_inset CommandInset ref
28876 reference "sub:特殊文字"
28883 \begin_layout Subsection
28885 \begin_inset Index idx
28888 \begin_layout Plain Layout
28895 \begin_inset Index idx
28898 \begin_layout Plain Layout
28899 ふんしよ@文書!せってい@------設定
28905 \begin_inset Index idx
28908 \begin_layout Plain Layout
28917 \begin_layout Standard
28920 文書\SpecialChar \menuseparator
28921 設定\SpecialChar \menuseparator
28924 ダイアログでは、お使いの言語用に、言語と文字コードを設定することができます。
28927 \begin_layout Standard
28932 ボックスでは、LaTeX出力用に使用したい文字コード表を選択することができます。言語既定値オプションは、ほとんどの場合適切に機能しますので、通常はこれを選択して
28933 おくのがよいでしょう。他の文字コードオプションについては、第
28934 \begin_inset CommandInset ref
28936 reference "sub:特殊文字"
28943 \begin_layout Subsection
28945 \begin_inset CommandInset label
28947 name "sub:キーボード配置表の設定"
28954 \begin_layout Standard
28955 例えば、米国向けキーボードを持っていて、英語ではない言語で執筆したい場合、別の
28956 \begin_inset Flex Ruby
28959 \begin_layout Plain Layout
28961 \begin_inset Argument post:1
28964 \begin_layout Plain Layout
28975 配置を使用することができます。例えば、イタリア語を書きたい場合には、LyXでイタリア語鍵配置を使うように設定できます。
28977 ツール\SpecialChar \menuseparator
28978 設定\SpecialChar \menuseparator
28979 編集\SpecialChar \menuseparator
28982 ダイアログでは、二つまでのキーボード配置表を選ぶことができます。第
28983 \begin_inset CommandInset ref
28985 reference "sub:キーボード配置表"
28989 節を参照してください。第1及び第2キーボード言語を選択することができるので、その後どちらを使用するかを指定してください。
28992 \begin_layout Standard
28993 最後に、いくつかの鍵配置だけを変更したり、あるいはまったく別の鍵配置(例えばバルカン語、とか
28997 \begin_layout Plain Layout
29002 よくわからない人は『Star Trek』を参照のこと。
29007 )を作りたいことがあるかもしれません。例えば、通常は米国向けキーボードでイタリア語を書いているけれども、ときおりドイツ語からの引用を入れたいかもしれません。その
29008 ような場合には、自分専用のキーボード配置表を書いたり、既存の配置表を欲しい文字をサポートするように修正したりすることができます。この点やその他のカスタマイズに関
29016 \begin_layout Chapter
29019 \begin_inset CommandInset label
29028 \begin_layout Standard
29029 この付録は、使用できるメニュー全ての一覧と、その各機能を説明しています。これは、ユーザーの手引で特別なトピックを探している場合の早見表として作られています。
29032 \begin_layout Section
29034 \begin_inset Index idx
29037 \begin_layout Plain Layout
29038 めにゅー@メニュー!ふぁいる@ファイル
29046 \begin_layout Standard
29051 メニューの下には、基本操作といくつかの応用操作が含まれています。
29054 \begin_layout Subsection
29058 \begin_layout Standard
29062 \begin_layout Subsection
29066 \begin_layout Standard
29068 \begin_inset Flex Ruby
29071 \begin_layout Plain Layout
29073 \begin_inset Argument post:1
29076 \begin_layout Plain Layout
29087 型を尋ねられます。雛型を選択すると、本来、手動で設定しなくてはならないレイアウトの組み合わせが、自動的に文書に設定されます。
29090 \begin_layout Subsection
29094 \begin_layout Standard
29098 \begin_layout Subsection
29102 \begin_layout Standard
29103 ここの従属メニューは、最近開いたファイルの一覧を表示します。ファイルを開くには、そのうち一つをクリックしてください。
29106 \begin_layout Subsection
29110 \begin_layout Standard
29114 \begin_layout Subsection
29118 \begin_layout Standard
29122 \begin_layout Subsection
29126 \begin_layout Standard
29130 \begin_layout Subsection
29134 \begin_layout Standard
29135 現在の文書に新しい名前をつけて別のファイルとして保存します。
29138 \begin_layout Subsection
29142 \begin_layout Standard
29146 \begin_layout Subsection
29150 \begin_layout Standard
29151 現在の文書をディスクから読み直します。
29154 \begin_layout Subsection
29158 \begin_layout Standard
29159 複数人で同じ文書の作業をするときや、一人でも変更点を慎重にアーカイブに残しておきたいときに使用します。取扱説明書『
29170 \begin_layout Subsection
29174 \begin_layout Standard
29175 古いバージョンのLyXファイル・HTMLファイル・LaTeXファイル・NoWebファイル・平文ファイル・コンマ区切りの表形式平文ファイル(CSV)を新規LyX文
29176 書として読み込むことができます。これらのファイルは、新規のLyX文書として読み込まれます。
29179 \begin_layout Standard
29184 を使うと、テキスト中の改行は新しい段落となります。メニュー項目の
29188 を使用すると、一続きの全ての行が、ひとつの大きな段落として読み込まれます。ファイル中に空白行があると、そこから別の段落になります。
29191 \begin_layout Subsection
29193 \begin_inset CommandInset label
29202 \begin_layout Standard
29203 文書は、さまざまなファイル形式に書き出すことができます。書き出したファイルは、元のLyXファイルのあるディレクトリに置かれます。メニュー項目は、導入状態によって
29204 異なります。これは、LyXがシステム走査をしたときにどんなプログラムが見つかったかに依存します。
29207 \begin_layout Standard
29208 以下は、利用可能な項目のすべてです。これらのいくつかに関しては、第
29209 \begin_inset CommandInset ref
29211 reference "sub:出力ファイル形式"
29218 \begin_layout Description
29222 \begin_inset space ~
29231 \begin_layout Plain Layout
29242 日中韓(CJK)版LyX 1.4.xの形式
29243 \begin_inset Newline newline
29246 LyX 1.5.0以降、CJKサポートは完全にLyXに統合されています。
29249 \begin_layout Description
29258 で使用されるSGML言語で書かれたテキストファイル
29261 \begin_layout Description
29265 \begin_inset space ~
29274 で使用されるXML言語で書かれたテキストファイル
29277 \begin_layout Description
29282 LaTeXのネイティブDVI形式。この形式は、文書中のファイルパスやファイル名に特殊文字や空白がある場合には適切ではありません。LyXでは、この形式は、
29286 に書きだす前の前処理として内部的に使用されます。
29289 \begin_layout Description
29297 \begin_layout Description
29301 \begin_inset space ~
29308 \begin_layout Plain Layout
29321 を使用したDVI形式。UnicodeとTeXフォント以外の使用をサポートしています。
29324 \begin_inset Note Greyedout
29327 \begin_layout Plain Layout
29332 いまのところ、すべてのDVIビューアがこの出力形式を適切に表示できるわけではありません。
29340 \begin_layout Description
29342 \begin_inset space ~
29349 と同じですが、ページ余白が切り落とされます。
29352 \begin_layout Description
29356 \begin_inset space ~
29365 経由でグラフによる可視化を行うのに用いられる、プログラミング言語
29372 \begin_layout Description
29380 \begin_inset Note Greyedout
29383 \begin_layout Plain Layout
29390 the exported file will be stored in a subdirectory
29400 \begin_layout Description
29404 \begin_inset space ~
29408 \begin_inset space ~
29417 に読み込み可能なHTML形式。このため、数式はビットマップフォントとして埋め込まれ、
29424 \begin_layout Description
29431 \begin_layout Plain Layout
29439 \begin_inset space ~
29450 \begin_layout Plain Layout
29467 と互換性のあるLaTeXソースで書かれたテキストファイル
29470 \begin_layout Description
29477 \begin_layout Plain Layout
29485 \begin_inset space ~
29490 テキストファイルに書かれたLaTeXソース。くわえて、文書中に使われているすべての画像は、
29494 プログラムが読み込み可能な形式(GIF・JPG・PDF・PNG)に変換されます。
29497 \begin_layout Description
29504 \begin_layout Plain Layout
29512 \begin_inset space ~
29517 テキストファイルに書かれたLaTeXソース。くわえて、文書中に使われているすべての画像は、
29521 プログラムが読み込み可能な唯一の形式であるEPS形式に変換されます。
29524 \begin_layout Description
29531 \begin_layout Plain Layout
29539 \begin_inset space ~
29552 \begin_layout Plain Layout
29571 と互換性のあるLaTeXソースで書かれたテキストファイル
29574 \begin_layout Description
29578 \begin_inset space ~
29582 \begin_inset space ~
29591 \begin_layout Plain Layout
29606 の文法に沿ったLaTeXソースで書かれたテキストファイル
29609 \begin_layout Description
29618 \begin_layout Plain Layout
29628 \begin_inset space ~
29633 文書と、そのコンパイルに必要なすべてのファイル(画像・子文書・BibTeXファイル等)を含んだ、zip圧縮ファイルまたはtar.gz圧縮ファイルを生成します
29636 \begin_layout Description
29645 \begin_layout Plain Layout
29655 \begin_inset space ~
29660 LyX z.y.x版(「z」 and 「y」はバージョン番号に変換して表示されます)が読み込み可能なLyX文書形式
29663 \begin_layout Description
29672 \begin_layout Plain Layout
29683 LyX内蔵のXHTMLエンジンを使用したHTML形式
29686 \begin_layout Description
29698 \begin_layout Description
29703 OpenDocument形式のテキストファイル。
29719 などで開くことが可能(OpenDocument変換子は第三者製であり、すべての場合に機能するとは限りません)。
29722 \begin_layout Description
29724 \begin_inset space ~
29730 \begin_inset space ~
29735 と同じですが、ページ余白が切り落とされます。
29738 \begin_layout Description
29740 \begin_inset space ~
29747 プログラムを使用して変換するPDF形式。内部的にDVIファイルを生成し、それからPDFファイルに変換します。
29750 \begin_layout Description
29755 \begin_inset space ~
29759 \begin_inset space ~
29767 \begin_inset space ~
29772 but with a reduced pixel resolution of 150
29773 \begin_inset space \thinspace{}
29777 \begin_inset space \thinspace{}
29781 \begin_inset space \space{}
29784 useful for E-books to be read on tablet PCs or for large documents as intermedia
29788 \begin_layout Description
29792 \begin_inset space ~
29799 \begin_layout Plain Layout
29812 を使用したPDF形式。直接PDFファイルを生成します。
29815 \begin_layout Description
29819 \begin_inset space ~
29828 プログラムを使用して変換するPDF形式。直接PDFファイルを生成します。
29831 \begin_layout Description
29835 \begin_inset space ~
29844 プログラムを使用して変換するPDF形式。内部的にPostScriptファイルを生成し、それからPDFファイルに変換します。
29847 \begin_layout Description
29851 \begin_inset space ~
29858 \begin_layout Plain Layout
29871 を使用したPDF形式。直接PDFファイルを生成します。
29874 \begin_layout Description
29882 \begin_layout Description
29886 \begin_inset space ~
29891 テキスト形式。まず文書をPostScript形式に変換し、そこから
29895 プログラムを使用してテキスト形式に書き出されます。
29898 \begin_layout Description
29907 プログラムを使用して変換するPostScript形式
29910 \begin_layout Description
29919 を使用したLaTeXソースで書かれたテキストファイル。
29931 コマンドを使用することが可能になります。
29934 \begin_layout Standard
29936 \begin_inset space ~
29939 (pdflatex)・Postscriptのうち、ひとつでもメニュー項目から漏れていたならば、導入されているLaTeXを更新する必要があります。更新したあとには
29940 LyXの環境構成を行わなくてはなりません。第
29941 \begin_inset CommandInset ref
29943 reference "sec:LaTeXの設定"
29948 \begin_inset Index idx
29951 \begin_layout Plain Layout
29952 Lyx@LyX ! のかんきょうこうせい@------の環境構成
29960 \begin_layout Subsection
29964 \begin_layout Standard
29965 このメニューでは、文書をPostScript形式のファイルへ書き出したり、それをプリンタに送ったりすることができます。プリンタもPostScript形式の文書を
29966 使用します。PostScriptへの変換は、LyXがバックグラウンドで
29970 プログラムを使用して行います。詳しい情報については、第
29971 \begin_inset CommandInset ref
29973 reference "sub:ファイルを印刷"
29980 \begin_layout Subsection
29984 \begin_layout Standard
29985 このメニュー項目は、ファックスプログラムが導入されているときのみ表示されます(Windowsでは、さらにこのプログラムをLyXのPATH前置詞に登録しなくてはな
29987 \begin_inset CommandInset ref
29993 節をご参照ください)。このメニュー項目を使用すると、
30001 のようなファックスプログラムへ使用中の文書を転送することができます。転送されるファイルの既定書式は
30006 \begin_inset CommandInset ref
30008 reference "sub:変換子"
30012 節に説明されているように、書式はLyX設定で変更することができます。
30015 \begin_layout Subsection
30019 \begin_layout Standard
30020 LyXの新規インスタンスを開いたり閉じたりします。
30023 \begin_layout Subsection
30027 \begin_layout Standard
30028 保存していないすべての文書を保存するように促してから、終了します。
30031 \begin_layout Section
30033 \begin_inset Index idx
30036 \begin_layout Plain Layout
30037 めにゅー@メニュー ! へんしゅう@編集
30045 \begin_layout Subsection
30049 \begin_layout Standard
30051 \begin_inset CommandInset ref
30053 reference "sec:操作を取り消す・繰り返す"
30060 \begin_layout Subsection
30061 切り取り・コピー・貼り付け・直近のものを貼り付け・特別な貼り付け
30064 \begin_layout Standard
30066 \begin_inset CommandInset ref
30068 reference "sec:基本的な編集機能"
30075 \begin_layout Subsection
30079 \begin_layout Standard
30080 カーソルの置かれている差込枠の内容を選択します。カーソルが差込枠の外にある場合には、文書全体が選択されます。
30083 \begin_layout Subsection
30087 \begin_layout Standard
30091 \begin_layout Subsection
30095 \begin_layout Standard
30097 \begin_inset CommandInset ref
30099 reference "sec:基本的な編集機能"
30106 \begin_layout Subsection
30110 \begin_layout Standard
30112 \begin_inset CommandInset ref
30114 reference "sec:詳細な検索と置換"
30121 \begin_layout Subsection
30125 \begin_layout Standard
30126 これは、現在カーソルがある段落を一段落分、上に上げたり下に下げたりします。
30129 \begin_layout Subsection
30133 \begin_layout Standard
30135 \begin_inset CommandInset ref
30137 reference "sub:文字微調整"
30144 \begin_layout Subsection
30146 \begin_inset Index idx
30149 \begin_layout Plain Layout
30150 だんらく@段落 ! せってい@------ 設定
30158 \begin_layout Standard
30159 段落の配置や行間、ラベル幅の設定ができます。これらの設定は、カーソルのある段落に対してのみ有効です。
30162 \begin_layout Standard
30163 また、段落の第一行が字下げされるのを止めることができます。このオプションは、前もって、
30165 文書\SpecialChar \menuseparator
30172 面で、段落区切りに字下げを選択したときにのみ有効です。
30175 \begin_layout Subsection
30179 \begin_layout Standard
30180 これら二つのメニューは、カーソルが表ないし数式の中にあるときにのみ、完全に有効化されます。ここでは、当該表ないし数式の特性を、変更することができます。表の特性は
30182 \begin_inset CommandInset ref
30188 節に述べられており、数式の特性に関しては第
30189 \begin_inset CommandInset ref
30198 \begin_layout Subsection
30202 \begin_layout Standard
30203 この二つのメニューは、入れ子にすることのできる環境の上にカーソルがあるときにのみ有効化されます。これらは、第
30204 \begin_inset CommandInset ref
30206 reference "sec:入れ子"
30211 \begin_inset CommandInset ref
30213 reference "sub:番号の付け方-深度"
30217 節に説明されているように、環境の入れ子の階層を上げたり下げたりします。
30220 \begin_layout Subsection
30224 \begin_layout Standard
30225 これらのメニューは、同じ型の環境を2つ続けることが可能なときにのみ、表示されます。詳細については、第
30226 \begin_inset CommandInset ref
30228 reference "sub:入れ子の分離"
30235 \begin_layout Section
30237 \begin_inset Index idx
30240 \begin_layout Plain Layout
30241 めにゅー@メニュー ! ひょうじ@表示
30249 \begin_layout Standard
30254 メニューの最下部には、開かれている文書が一覧表示されます。
30257 \begin_layout Subsection
30261 \begin_layout Standard
30262 文書中のすべての差込枠を展開したり、閉じたりします。
30265 \begin_layout Subsection
30269 \begin_layout Standard
30270 現在の数式マクロを展開したり、畳んだりします。
30273 \begin_layout Standard
30281 \begin_layout Subsection
30285 \begin_layout Standard
30287 \begin_inset CommandInset ref
30294 \begin_inset CommandInset ref
30300 節に説明されているように、目次・文書構造ウィンドウを開きます。
30303 \begin_layout Subsection
30307 \begin_layout Standard
30309 \begin_inset CommandInset ref
30311 reference "sec:文書の断片プレビュー"
30315 節に述べられているように、現在の文書のソースコードを表示するウィンドウを開きます。
30318 \begin_layout Subsection
30322 \begin_layout Standard
30323 コンソールメッセージを表示するウィンドウを開きます。これは、LyXのデバッグ(つまりこのプログラムのエラーを捕まえる)や、バックグラウンドでLaTeXが文書を処
30324 理するのに何が起こっているかを見るのに便利です。
30327 \begin_layout Subsection
30329 \begin_inset Index idx
30332 \begin_layout Plain Layout
30339 \begin_inset CommandInset label
30348 \begin_layout Standard
30349 このメニューでは、さまざまなツールバーの表示を設定することができます。すべてのツールバーと
30353 は、表示したり非表示にしたりすることができます。
30357 の状態は、メニューに付くチェックマークで表されます。
30381 の状態にすることができ、メニュー中で項目の後ろに
30388 \begin_layout Standard
30393 状態では、ツールバーはつねに表示され、自動状態では、カーソルが特定の環境にいるときや特定の機能が有効になっているときにのみ、ツールバーが表示されます。つまり自動
30394 状態においては、校閲ツールバーは、追跡機能が有効になっているときにのみ表示され、数式ツールバーと表ツールバーは、カーソルが数式や表の中にあるときにのみ表示されま
30398 \begin_layout Standard
30399 LyXツールバーとその中の各ボタンは、第
30400 \begin_inset CommandInset ref
30402 reference "sec:ツールバー"
30409 \begin_layout Subsection
30413 \begin_layout Standard
30418 は、LyXの主ウィンドウを垂直に分割し、
30422 は、水平に分割します。これによって、異なる文書を比較するために同時に表示したり、同じ文書の違う場所を表示したりすることができます。三つ以上の文書を同時に表示する
30423 のに、複数回分割することもできます。分割表示をやめるには、
30430 \begin_layout Subsection
30434 \begin_layout Standard
30438 \begin_layout Subsection
30442 \begin_layout Standard
30444 \begin_inset Flex Ruby
30447 \begin_layout Plain Layout
30449 \begin_inset Argument post:1
30452 \begin_layout Plain Layout
30463 を押すと、メニューバーとすべてのツールバーが消え、本文だけが表示されます。さらに、LyXメインウィンドウが全画面表示されます。全画面表示から通常の表示に戻るには
30464 、F11を押すか、右クリックしてコンテクスト・メニューから全画面表示を解除してください。
30467 \begin_layout Section
30469 \begin_inset Index idx
30472 \begin_layout Plain Layout
30481 \begin_layout Subsection
30485 \begin_layout Standard
30487 \begin_inset CommandInset ref
30497 』に説明されているように、数式要素を挿入します。
30500 \begin_layout Subsection
30502 \begin_inset CommandInset label
30511 \begin_layout Standard
30512 ここでは、以下の文字を挿入することができます。
30515 \begin_layout Description
30520 ダイアログを開き、ご使用のLaTeXシステムで出力できる任意の文字を挿入できるようにします。既定の設定では、文字カテゴリ中に文字のグループが表示されます。使用で
30521 きる文字は、どのLaTeXパッケージが導入済みかに依存します。
30525 チェックボックスを有効にすれば、すべての文字が表示されます。
30526 \begin_inset Newline newline
30530 \begin_inset Note Greyedout
30533 \begin_layout Plain Layout
30539 \begin_inset CommandInset ref
30541 reference "sub:画面フォント"
30545 節を参照)で指定できる画面フォントには、すべての文字を表示できるものがないので、記号ダイアログですべての文字が表示されるわけではありません。
30553 \begin_layout Description
30554 省略符号 省略符号を挿入します\SpecialChar \ldots{}
30558 \begin_layout Description
30560 \begin_inset CommandInset ref
30566 節に述べられているように句点を挿入します。
30569 \begin_layout Description
30572 文書\SpecialChar \menuseparator
30579 部でどのような引用形式が選択されているかに関わらず、引用符「
30580 \begin_inset Quotes erd
30586 \begin_layout Description
30589 文書\SpecialChar \menuseparator
30590 設定\SpecialChar \menuseparator
30594 \begin_inset Quotes ers
30600 \begin_layout Description
30601 保護されたハイフン 改行から保護されたハイフン「\SpecialChar \nobreakdash-
30605 \begin_layout Description
30606 可改行スラッシュ 改行を許可されたスラッシュ「\SpecialChar \slash{}
30610 \begin_layout Description
30616 \begin_inset space \textvisiblespace{}
30622 \begin_layout Description
30623 メニュー区切り メニュー区切りマーク「\SpecialChar \menuseparator
30627 \begin_layout Description
30629 \begin_inset Index idx
30632 \begin_layout Plain Layout
30639 \begin_inset Index idx
30642 \begin_layout Plain Layout
30643 げんご@言語 ! はつおんきごう@発音記号
30648 国際音声記号(IPA)の記号を入れることのできるボックスを挿入し、これらの記号の大半を提供するツールバーを開きます。この機能を使用するには、LaTeXパッケー
30654 \begin_inset Index idx
30657 \begin_layout Plain Layout
30658 latexはつけじ@LaTeXパッケージ ! tipa
30664 \begin_inset Newline newline
30673 ヘルプ\SpecialChar \menuseparator
30679 \begin_layout Subsection
30683 \begin_layout Standard
30684 ここでは、以下の整形要素を挿入することができます。
30687 \begin_layout Description
30688 上付き文字 上付き文字を挿入します。(例)テスト
30689 \begin_inset script superscript
30691 \begin_layout Plain Layout
30700 \begin_layout Description
30701 下付き文字 下付き文字を挿入します。(例)テスト
30702 \begin_inset script subscript
30704 \begin_layout Plain Layout
30713 \begin_layout Description
30715 \begin_inset CommandInset ref
30717 reference "sub:保護された空白"
30721 節に述べられている保護された空白を挿入します。
30724 \begin_layout Description
30726 \begin_inset CommandInset ref
30728 reference "sub:単語間の空白"
30732 節に述べられている単語間の空白を挿入します。
30735 \begin_layout Description
30737 \begin_inset CommandInset ref
30739 reference "sub:小空白"
30743 節に述べられている小空白を挿入します。
30746 \begin_layout Description
30748 \begin_inset CommandInset ref
30750 reference "sub:水平方向の空白"
30754 節に述べられている水平方向の余白を挿入します。
30757 \begin_layout Description
30759 \begin_inset CommandInset ref
30761 reference "sub:水平線"
30765 節に述べられている水平線を挿入します。
30768 \begin_layout Description
30770 \begin_inset CommandInset ref
30772 reference "sub:垂直方向の空白"
30776 節に述べられている縦空白を挿入します。
30779 \begin_layout Description
30781 \begin_inset CommandInset ref
30783 reference "sub:ハイフネーション"
30787 節に述べられているハイフネーション位置を挿入します。
30790 \begin_layout Description
30792 \begin_inset CommandInset ref
30794 reference "sub:埋め草"
30801 \begin_layout Description
30803 \begin_inset CommandInset ref
30809 節に述べられている合字回避指定を挿入します。
30812 \begin_layout Description
30814 \begin_inset CommandInset ref
30816 reference "sub:強制改行"
30820 節に述べられている強制改行を挿入します。
30823 \begin_layout Description
30825 \begin_inset CommandInset ref
30827 reference "sub:強制改行"
30831 節に述べられているように、強制改行をして、改行された文章をページ枠まで広がらせる改行を挿入します。
30834 \begin_layout Description
30836 \begin_inset CommandInset ref
30838 reference "sub:強制改頁"
30842 節に述べられている強制改頁を挿入します。
30845 \begin_layout Description
30847 \begin_inset CommandInset ref
30849 reference "sub:強制改頁"
30853 節に述べられているように、強制改頁をして、改行された文章をページ枠まで広がらせる改頁を挿入します。
30856 \begin_layout Description
30858 \begin_inset CommandInset ref
30860 reference "sub:改段改頁"
30864 節に述べられている改段改頁を挿入します。
30867 \begin_layout Description
30869 \begin_inset CommandInset ref
30871 reference "sub:改段改頁"
30875 節に述べられている改段改丁を挿入します。
30878 \begin_layout Subsection
30882 \begin_layout Standard
30883 このメニューでは、さまざまな一覧を挿入することができます。
30904 \begin_inset CommandInset ref
30906 reference "sec:目次と一覧"
30915 \begin_inset CommandInset ref
30926 \begin_inset CommandInset ref
30928 reference "sec:用語集"
30937 \begin_inset CommandInset ref
30939 reference "sub:文献データベース"
30946 \begin_layout Subsection
30950 \begin_layout Standard
30952 \begin_inset CommandInset ref
30954 reference "sec:フロート"
30969 \begin_layout Subsection
30973 \begin_layout Standard
30975 \begin_inset CommandInset ref
30984 \begin_layout Subsection
30988 \begin_layout Standard
30989 既存の派生枝差込枠を挿入できる他、新規派生枝を作成して挿入できます。派生枝は、第
30990 \begin_inset CommandInset ref
30992 reference "sec:派生枝"
30999 \begin_layout Subsection
31003 \begin_layout Standard
31004 文書クラスに依存した差込枠を挿入します。これらの差込枠は、ある文書クラスのレイアウトファイルに定義されているときのみ存在します。一つの例は、三つのユーザ設定差込
31005 枠を持つ文書クラス「article (elsevier)」です。取扱説明書『
31021 」の節に、ユーザ設定差込枠の定義の仕方が述べられています。
31024 \begin_layout Subsection
31026 \begin_inset Index idx
31029 \begin_layout Plain Layout
31038 \begin_layout Standard
31039 ここでは、文書に他のLyXファイルの内容をインクルードしたり挿入したりすることができます。詳しい情報については、取扱説明書『
31050 \begin_layout Subsection
31052 \begin_inset Index idx
31055 \begin_layout Plain Layout
31064 \begin_layout Standard
31066 \begin_inset CommandInset ref
31068 reference "sec:ミニページ"
31072 節に説明されているミニページ・ボックスを挿入します。LyXでサポートされているボックスの全型は、取扱説明書『
31083 \begin_layout Subsection
31087 \begin_layout Standard
31089 \begin_inset CommandInset ref
31091 reference "sec:書誌情報"
31095 節に説明されているように、文献引用を挿入します。
31098 \begin_layout Subsection
31102 \begin_layout Standard
31104 \begin_inset CommandInset ref
31106 reference "sec:相互参照"
31110 節に説明されているように、相互参照を挿入します。
31113 \begin_layout Subsection
31117 \begin_layout Standard
31119 \begin_inset CommandInset ref
31121 reference "sec:相互参照"
31125 節に説明されているように、ラベルの挿入を挿入します。
31128 \begin_layout Subsection
31130 \begin_inset Index idx
31133 \begin_layout Plain Layout
31140 \begin_inset Index idx
31143 \begin_layout Plain Layout
31144 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
31152 \begin_layout Standard
31153 キャプションをフロートや長尺表に挿入します。フロートに関しては、第
31154 \begin_inset CommandInset ref
31156 reference "sec:フロート"
31160 節に説明があります。長尺表のキャプションについては、取扱説明書『
31171 \begin_layout Subsection
31175 \begin_layout Standard
31177 \begin_inset CommandInset ref
31183 節に説明されているように、索引登録を挿入します。
31186 \begin_layout Subsection
31190 \begin_layout Standard
31192 \begin_inset CommandInset ref
31194 reference "sec:用語集"
31198 節に説明されているように、記号一覧または用語集を挿入します。
31201 \begin_layout Subsection
31205 \begin_layout Standard
31206 表の行と列を指定するダイアログが開きます。表は第
31207 \begin_inset CommandInset ref
31213 節に説明されています。より詳しくは、取扱説明書『
31224 \begin_layout Subsection
31228 \begin_layout Standard
31230 \begin_inset CommandInset ref
31236 節に説明されているように、図を挿入します。
31239 \begin_layout Subsection
31243 \begin_layout Standard
31245 \begin_inset CommandInset ref
31247 reference "sub:URL"
31251 節に説明されているように、URLを挿入します。
31254 \begin_layout Subsection
31258 \begin_layout Standard
31260 \begin_inset CommandInset ref
31262 reference "sub:ハイパーリンク"
31266 節に説明されているように、ハイパーリンクを挿入します。
31269 \begin_layout Subsection
31273 \begin_layout Standard
31275 \begin_inset CommandInset ref
31281 節に説明されているように、脚注を挿入します。
31284 \begin_layout Subsection
31288 \begin_layout Standard
31290 \begin_inset CommandInset ref
31296 節に説明されているように、傍注を挿入します。
31299 \begin_layout Subsection
31303 \begin_layout Standard
31304 カーソルが、節見出しやタイトル、フロートのキャプションの前後や内部にあるときのみ、表示されます。第
31305 \begin_inset CommandInset ref
31307 reference "sub:見出しの短縮形"
31311 節に説明されているように、短縮タイトルを挿入します。
31314 \begin_layout Subsection
31318 \begin_layout Standard
31320 \begin_inset CommandInset ref
31322 reference "sub:TeXコード枠"
31326 節に説明されているように、TeXコード枠を挿入します。
31329 \begin_layout Subsection
31331 \begin_inset Index idx
31334 \begin_layout Plain Layout
31343 \begin_layout Standard
31344 プログラムリスト枠を挿入します。プログラムリストについては、取扱説明書『
31355 \begin_layout Subsection
31359 \begin_layout Standard
31360 現在の日付を挿入します。表示形式は、LyXのメニューで使用されている言語の日付形式に依存します。LyXにはさまざまな日付の挿入方法があり、取扱説明書『
31371 \begin_layout Subsection
31375 \begin_layout Standard
31377 \begin_inset CommandInset ref
31379 reference "sec:文書の断片プレビュー"
31386 \begin_layout Section
31388 \begin_inset Index idx
31391 \begin_layout Plain Layout
31400 \begin_layout Standard
31401 このメニューは、現在の文書に存在する章・節・図・表などを一覧表示します。これによって、文書内をすばやく移動することができます。
31404 \begin_layout Standard
31405 移動メニューには、以下の各項目もあります。
31408 \begin_layout Subsection
31412 \begin_layout Standard
31413 このメニューを使うと、ご自身のしおりを定義することができます。これは、大きな文書で作業をしていて、例えば第2.5節と第6.3節のあいだをよく行ったり来たりするような
31414 ときに便利です。このような例でしおりを定義するには、まず第2.5節に移動して、
31418 メニューを使用します。次に第6.3節に移動して、
31427 \begin_inset Flex Ruby
31430 \begin_layout Plain Layout
31432 \begin_inset Argument post:1
31435 \begin_layout Plain Layout
31449 arg "bookmark-goto 1"
31455 arg "bookmark-goto 2"
31458 を使用することによって、簡単に移動できるようになります。またしおりは、すでに開かれている別々の文書のあいだを移動することもできます。
31461 \begin_layout Standard
31462 保存したしおりは、文書が閉じられるまで有効です。サブメニュー
31470 は、文書中で直近に変更を加えた位置にジャンプします。
31473 \begin_layout Subsection
31477 \begin_layout Standard
31478 現在のカーソル位置の次の注釈や変更点、相互参照へ移動します。
31481 \begin_layout Subsection
31485 \begin_layout Standard
31486 これは、カーソルが相互参照の前にあるときのみ有効です。カーソルを参照されているラベルの前に移動します(相互参照ボックスを右クリックして、
31493 \begin_layout Subsection
31497 \begin_layout Standard
31498 この機能は、出力中の対応する箇所に直接移動することができるようにするものです。詳しい説明は、取扱説明書『
31504 LyXサーバー\SpecialChar \menuseparator
31510 \begin_layout Section
31512 \begin_inset Index idx
31515 \begin_layout Plain Layout
31524 \begin_layout Subsection
31528 \begin_layout Standard
31530 \begin_inset CommandInset ref
31532 reference "sec:変更追跡機能"
31539 \begin_layout Subsection
31544 \begin_layout Plain Layout
31554 \begin_layout Standard
31555 文書を閲覧したり書き出すことによってLaTeXが実行されると、このメニューは有効になります。これは、使用したLaTeXプログラムのログファイルを表示します。次の
31556 エラーや次の警告に飛んだり、検索したり、クリップボードにコピーしたり、表示を更新したりすることができます。ログファイルを見ることで、熟練者には、LaTeXエラー
31557 の原因を発見する手助けとなるでしょう。
31560 \begin_layout Subsection
31564 \begin_layout Standard
31566 \begin_inset CommandInset ref
31572 節に説明されているように、このメニューは、現在のカーソル位置から付録を開始します。
31575 \begin_layout Subsection
31577 \begin_inset space ~
31583 \begin_layout Standard
31584 このメニュー項目は、当該文書の既定出力形式として指定した形式(
31586 文書\SpecialChar \menuseparator
31587 設定\SpecialChar \menuseparator
31588 出力\SpecialChar \menuseparator
31592 \begin_inset CommandInset ref
31594 reference "sub:出力ファイル形式"
31598 章参照)、若しくはLyXの設定で指定した形式で(
31600 ツール\SpecialChar \menuseparator
31601 設定\SpecialChar \menuseparator
31602 ファイル処理\SpecialChar \menuseparator
31603 ファイル形式\SpecialChar \menuseparator
31607 \begin_inset CommandInset ref
31609 reference "sec:ファイル形式"
31613 章参照)出力を生成した後、適切な閲覧プログラムで開きます。閲覧プログラムは、設定で変更することができます(
31615 ツール\SpecialChar \menuseparator
31616 設定\SpecialChar \menuseparator
31617 ファイル処理\SpecialChar \menuseparator
31618 ファイル形式\SpecialChar \menuseparator
31622 \begin_inset CommandInset ref
31624 reference "sec:ファイル形式"
31628 章参照)。既定の閲覧プログラムは、LyXの初回起動設定時に設定されます。既定の出力形式は、
31631 \begin_inset space ~
31639 \begin_layout Subsection
31643 \begin_layout Standard
31644 この従属メニューでは文書を他の出力形式で見ることができます。には、文書の実際の出力を、外部プログラムで閲覧することができる各ファイル形式が一覧表示されます。出力
31645 形式を閲覧するためのメニュー項目は、システムの導入のしかたによって異なります。これは、LyXがシステム走査をしたときに見つかったLaTeXプログラムに依存するの
31647 \begin_inset CommandInset ref
31649 reference "sub:書き出し"
31660 \begin_inset space ~
31665 のメニュー項目は、メニューに登場するはずです。これらのうち一つでも欠けているようならば、導入されているLaTeXを更新する必要があります。更新したあとにはLyX
31666 の環境構成を行わなくてはなりません。第
31667 \begin_inset CommandInset ref
31669 reference "sec:LaTeXの設定"
31674 \begin_inset Index idx
31677 \begin_layout Plain Layout
31678 Lyx@LyX ! のかんきょうこうせい@------の環境構成
31686 \begin_layout Standard
31687 メニューを実行すると、閲覧プログラムが実行されます。閲覧プログラムは、LyX設定で(
31689 ツール\SpecialChar \menuseparator
31690 設定\SpecialChar \menuseparator
31691 ファイル処理\SpecialChar \menuseparator
31692 ファイル形式\SpecialChar \menuseparator
31696 \begin_inset CommandInset ref
31698 reference "sec:ファイル形式"
31702 章参照)設定変更ができます。既定の閲覧プログラムは、LyXが最初にシステム走査をしたときに、自動的に設定されています。
31705 \begin_layout Subsection
31707 \begin_inset space ~
31713 \begin_layout Standard
31714 このメニュー項目は、新しいビューアウィンドウを開くことなしに、既存の閲覧表示を(前節で述べられているとおり既定の出力形式で)更新します。
31717 \begin_layout Subsection
31721 \begin_layout Standard
31722 この従属メニューでは、新しいビューアウィンドウを開くことなしに、他の出力形式の閲覧表示を更新します。
31725 \begin_layout Subsection
31729 \begin_layout Standard
31730 このメニュー項目は、使用中の文書が他の文書、すなわちこの文書の「親」にインクルードされているときのみ表示されます(このトピックについての詳細は、取扱説明書『
31738 」の節をご覧下さい。この項目を使用すると、子文書からその親文書を見ることができるようになります。つまり、ある書籍の一章分である子文書で作業をしている場合、
31749 \begin_layout Standard
31750 この機能で使用される形式は、文書設定(
31752 文書\SpecialChar \menuseparator
31753 設定\SpecialChar \menuseparator
31754 出力\SpecialChar \menuseparator
31758 \begin_inset CommandInset ref
31760 reference "sub:出力ファイル形式"
31766 ツール\SpecialChar \menuseparator
31767 設定\SpecialChar \menuseparator
31768 ファイル処理\SpecialChar \menuseparator
31769 ファイル形式\SpecialChar \menuseparator
31773 \begin_inset CommandInset ref
31775 reference "sec:ファイル形式"
31779 章参照 )指定された既定出力書式です。
31782 \begin_layout Subsection
31786 \begin_layout Standard
31787 このメニュー項目は、使用中の文書が他の文書、すなわちこの文書の「親」にインクルードされているときのみ表示されます(このトピックについての詳細は、取扱説明書『
31795 」の節をご覧下さい。この項目を使用すると、子文書からその親文書に切り替えることなしに、その表示を更新します。
31798 \begin_layout Standard
31799 この機能で使用される形式は、文書設定(
31801 文書\SpecialChar \menuseparator
31802 設定\SpecialChar \menuseparator
31803 出力\SpecialChar \menuseparator
31807 \begin_inset CommandInset ref
31809 reference "sub:出力ファイル形式"
31815 ツール\SpecialChar \menuseparator
31816 設定\SpecialChar \menuseparator
31817 ファイル処理\SpecialChar \menuseparator
31818 ファイル形式\SpecialChar \menuseparator
31822 \begin_inset CommandInset ref
31824 reference "sec:ファイル形式"
31828 章参照 )指定された既定出力書式です。
31831 \begin_layout Subsection
31835 \begin_layout Standard
31836 現在の文書を圧縮したり解凍したりします。
31839 \begin_layout Subsection
31843 \begin_layout Standard
31845 \begin_inset CommandInset ref
31847 reference "cha:文書設定"
31854 \begin_layout Section
31856 \begin_inset Index idx
31859 \begin_layout Plain Layout
31860 めにゅー@メニュー ! つーる@ツール
31868 \begin_layout Subsection
31872 \begin_layout Standard
31874 \begin_inset CommandInset ref
31876 reference "sec:スペルチェック"
31883 \begin_layout Subsection
31887 \begin_layout Standard
31889 \begin_inset CommandInset ref
31891 reference "sec:類語辞典"
31898 \begin_layout Subsection
31900 \begin_inset Index idx
31903 \begin_layout Plain Layout
31910 \begin_inset Index idx
31913 \begin_layout Plain Layout
31922 \begin_layout Standard
31923 現在の文書あるいは選択部分の単語数および文字数を勘定します。
31926 \begin_layout Subsection
31931 \begin_layout Plain Layout
31939 \begin_inset Index idx
31942 \begin_layout Plain Layout
31951 \begin_layout Standard
31956 プログラムの補助を借りて、潜在しているLaTeXエラーを検出したログを生成し、ダイアログ中に表示します。本機能はWindowsでは利用できません。
31959 \begin_layout Subsection
31964 \begin_layout Plain Layout
31972 \begin_inset Index idx
31975 \begin_layout Plain Layout
31984 \begin_layout Standard
31985 お使いのLaTeXシステムに導入されているクラスとスタイルの一覧を表示します。
31989 オプションを使用すると、完全ファイルパスを表示することができます。
31992 \begin_layout Subsection
31994 \begin_inset Index idx
31997 \begin_layout Plain Layout
32006 \begin_layout Standard
32008 \begin_inset CommandInset ref
32010 reference "sec:文書比較"
32014 節に述べられているように、LyXファイルの比較を行うダイアログを開きます。
32017 \begin_layout Subsection
32021 \begin_layout Standard
32022 \begin_inset Index idx
32025 \begin_layout Plain Layout
32026 Lyx@LyX ! のかんきょうこうせい@------の環境構成
32031 このメニュー項目はLyXの環境設定をし直します。すなわち、LyXに必要なLaTeXパッケージとプログラムを検索します。第
32032 \begin_inset CommandInset ref
32034 reference "sec:LyXの基本設定"
32041 \begin_layout Subsection
32045 \begin_layout Standard
32047 \begin_inset CommandInset ref
32049 reference "cha:設定ダイアログ"
32056 \begin_layout Section
32058 \begin_inset Index idx
32061 \begin_layout Plain Layout
32062 めにゅー@メニュー ! へるぷ@ヘルプ
32070 \begin_layout Standard
32071 このメニューは、LyXメニューと同じ言語で、LyXの取扱説明書ファイルを開きます。
32074 \begin_layout Standard
32079 メニューは、LyXが検知したLaTeXパッケージおよびクラスの情報を含んだLyX文書を表示します(第
32080 \begin_inset CommandInset ref
32082 reference "sec:LaTeXの設定"
32089 \begin_layout Standard
32096 \begin_layout Plain Layout
32105 メニューは、お使いのLyXのバージョン、著作権、著作者についての情報を表示します。
32108 \begin_layout Section
32110 \begin_inset CommandInset label
32119 \begin_layout Standard
32120 ツールバーの表示・非表示のしかたに関しては、第
32121 \begin_inset CommandInset ref
32123 reference "sub:ツールバー"
32130 \begin_layout Standard
32131 また、カスタム・ツールバーを定義することも可能です。この点は、取扱説明書『
32138 \begin_layout Subsection
32140 \begin_inset Index idx
32143 \begin_layout Plain Layout
32144 つーるばー@ツールバー ! ひょうじゅん@標準------
32152 \begin_layout Standard
32153 \begin_inset Graphics
32154 filename clipart/StandardToolbar.png
32160 \begin_inset VSpace defskip
32166 \begin_layout Standard
32167 上掲の標準ツールバーは、左から右に向かって以下の各ボタンを含んでいます。
32171 \begin_layout Plain Layout
32183 \begin_inset Note Note
32186 \begin_layout Plain Layout
32187 これは、以下の長尺表で左揃えにするために必要です。詳しくは、取扱説明書『
32197 \begin_inset VSpace defskip
32201 \begin_inset Tabular
32202 <lyxtabular version="3" rows="1" columns="2">
32203 <features rotate="0" islongtable="true" longtabularalignment="center">
32204 <column alignment="center" valignment="top" width="0pt">
32205 <column alignment="center" valignment="top">
32207 <cell alignment="center" valignment="top" usebox="none">
32210 \begin_layout Plain Layout
32211 \begin_inset Graphics
32212 filename clipart/ToolbarEnvBox.png
32221 <cell alignment="center" valignment="top" usebox="none">
32224 \begin_layout Plain Layout
32236 \begin_inset VSpace -10mm
32240 \begin_inset Tabular
32241 <lyxtabular version="3" rows="22" columns="2">
32242 <features rotate="0" islongtable="true" longtabularalignment="center">
32243 <column alignment="left" valignment="top">
32244 <column alignment="left" valignment="top">
32245 <row interlinespace="2.5mm">
32246 <cell alignment="center" valignment="top" usebox="none">
32249 \begin_layout Plain Layout
32262 <cell alignment="center" valignment="top" usebox="none">
32265 \begin_layout Plain Layout
32268 ファイル\SpecialChar \menuseparator
32275 <row interlinespace="2.5mm">
32276 <cell alignment="center" valignment="top" usebox="none">
32279 \begin_layout Plain Layout
32292 <cell alignment="center" valignment="top" usebox="none">
32295 \begin_layout Plain Layout
32298 ファイル\SpecialChar \menuseparator
32305 <row interlinespace="2.5mm">
32306 <cell alignment="center" valignment="top" usebox="none">
32309 \begin_layout Plain Layout
32322 <cell alignment="center" valignment="top" usebox="none">
32325 \begin_layout Plain Layout
32328 ファイル\SpecialChar \menuseparator
32335 <row interlinespace="2.5mm">
32336 <cell alignment="center" valignment="top" usebox="none">
32339 \begin_layout Plain Layout
32344 arg "dialog-show print"
32352 <cell alignment="center" valignment="top" usebox="none">
32355 \begin_layout Plain Layout
32358 ファイル\SpecialChar \menuseparator
32365 <row interlinespace="2.5mm">
32366 <cell alignment="center" valignment="top" usebox="none">
32369 \begin_layout Plain Layout
32374 arg "dialog-show spellchecker"
32382 <cell alignment="center" valignment="top" usebox="none">
32385 \begin_layout Plain Layout
32388 ツール\SpecialChar \menuseparator
32395 <row interlinespace="2.5mm">
32396 <cell alignment="center" valignment="top" usebox="none">
32399 \begin_layout Plain Layout
32412 <cell alignment="center" valignment="top" usebox="none">
32415 \begin_layout Plain Layout
32418 編集\SpecialChar \menuseparator
32425 <row interlinespace="2.5mm">
32426 <cell alignment="center" valignment="top" usebox="none">
32429 \begin_layout Plain Layout
32442 <cell alignment="center" valignment="top" usebox="none">
32445 \begin_layout Plain Layout
32448 編集\SpecialChar \menuseparator
32455 <row interlinespace="2.5mm">
32456 <cell alignment="center" valignment="top" usebox="none">
32459 \begin_layout Plain Layout
32472 <cell alignment="center" valignment="top" usebox="none">
32475 \begin_layout Plain Layout
32478 編集\SpecialChar \menuseparator
32485 <row interlinespace="2.5mm">
32486 <cell alignment="center" valignment="top" usebox="none">
32489 \begin_layout Plain Layout
32502 <cell alignment="center" valignment="top" usebox="none">
32505 \begin_layout Plain Layout
32508 編集\SpecialChar \menuseparator
32515 <row interlinespace="2.5mm">
32516 <cell alignment="center" valignment="top" usebox="none">
32519 \begin_layout Plain Layout
32532 <cell alignment="center" valignment="top" usebox="none">
32535 \begin_layout Plain Layout
32538 編集\SpecialChar \menuseparator
32545 <row interlinespace="2.5mm">
32546 <cell alignment="center" valignment="top" usebox="none">
32549 \begin_layout Plain Layout
32554 arg "dialog-show findreplace"
32562 <cell alignment="center" valignment="top" usebox="none">
32565 \begin_layout Plain Layout
32568 編集\SpecialChar \menuseparator
32570 \begin_inset space \thinspace{}
32579 <row interlinespace="2.5mm">
32580 <cell alignment="center" valignment="top" usebox="none">
32583 \begin_layout Plain Layout
32586 arg "dialog-toggle findreplaceadv"
32594 <cell alignment="center" valignment="top" usebox="none">
32597 \begin_layout Plain Layout
32600 編集\SpecialChar \menuseparator
32602 \begin_inset space \thinspace{}
32611 <row interlinespace="2.5mm">
32612 <cell alignment="center" valignment="top" usebox="none">
32615 \begin_layout Plain Layout
32620 arg "bookmark-goto 0"
32628 <cell alignment="center" valignment="top" usebox="none">
32631 \begin_layout Plain Layout
32634 移動\SpecialChar \menuseparator
32635 しおり\SpecialChar \menuseparator
32642 <row interlinespace="2.5mm">
32643 <cell alignment="center" valignment="top" usebox="none">
32646 \begin_layout Plain Layout
32659 <cell alignment="center" valignment="top" usebox="none">
32662 \begin_layout Plain Layout
32665 編集\SpecialChar \menuseparator
32666 文字様式\SpecialChar \menuseparator
32675 <row interlinespace="2.5mm">
32676 <cell alignment="center" valignment="top" usebox="none">
32679 \begin_layout Plain Layout
32692 <cell alignment="center" valignment="top" usebox="none">
32695 \begin_layout Plain Layout
32698 編集\SpecialChar \menuseparator
32699 文字様式\SpecialChar \menuseparator
32708 <row interlinespace="2.5mm">
32709 <cell alignment="center" valignment="top" usebox="none">
32712 \begin_layout Plain Layout
32717 arg "textstyle-apply"
32725 <cell alignment="center" valignment="top" usebox="none">
32728 \begin_layout Plain Layout
32731 編集\SpecialChar \menuseparator
32732 文字様式\SpecialChar \menuseparator
32741 <row interlinespace="2.5mm">
32742 <cell alignment="center" valignment="top" usebox="none">
32745 \begin_layout Plain Layout
32758 <cell alignment="center" valignment="top" usebox="none">
32761 \begin_layout Plain Layout
32764 挿入\SpecialChar \menuseparator
32765 数式\SpecialChar \menuseparator
32772 <row interlinespace="2.5mm">
32773 <cell alignment="center" valignment="top" usebox="none">
32776 \begin_layout Plain Layout
32781 arg "dialog-show-new-inset graphics"
32789 <cell alignment="center" valignment="top" usebox="none">
32792 \begin_layout Plain Layout
32795 挿入\SpecialChar \menuseparator
32802 <row interlinespace="2.5mm">
32803 <cell alignment="center" valignment="top" usebox="none">
32806 \begin_layout Plain Layout
32809 arg "tabular-insert"
32817 <cell alignment="center" valignment="top" usebox="none">
32820 \begin_layout Plain Layout
32823 挿入\SpecialChar \menuseparator
32830 <row interlinespace="2.5mm">
32831 <cell alignment="center" valignment="top" usebox="none">
32834 \begin_layout Plain Layout
32839 arg "dialog-toggle toc"
32847 <cell alignment="center" valignment="top" usebox="none">
32850 \begin_layout Plain Layout
32853 表示\SpecialChar \menuseparator
32862 <row interlinespace="2.5mm">
32863 <cell alignment="center" valignment="top" usebox="none">
32866 \begin_layout Plain Layout
32871 arg "toolbar-toggle math"
32879 <cell alignment="center" valignment="top" usebox="none">
32882 \begin_layout Plain Layout
32889 <row interlinespace="2.5mm">
32890 <cell alignment="center" valignment="top" usebox="none">
32893 \begin_layout Plain Layout
32898 arg "toolbar-toggle table"
32906 <cell alignment="center" valignment="top" usebox="none">
32909 \begin_layout Plain Layout
32923 \begin_layout Subsection
32925 \begin_inset Index idx
32928 \begin_layout Plain Layout
32929 つーるばー@ツールバー ! ついか@追加------
32937 \begin_layout Standard
32938 \begin_inset Graphics
32939 filename ../clipart/ExtraToolbar.png
32945 \begin_inset VSpace defskip
32951 \begin_layout Standard
32952 上掲の追加ツールバーは、左から右に向かって以下の各ボタンを含んでいます。
32953 \begin_inset VSpace defskip
32957 \begin_inset Tabular
32958 <lyxtabular version="3" rows="25" columns="2">
32959 <features rotate="0" islongtable="true" longtabularalignment="center">
32960 <column alignment="left" valignment="top">
32961 <column alignment="left" valignment="top">
32962 <row interlinespace="2.5mm">
32963 <cell alignment="center" valignment="top" usebox="none">
32966 \begin_layout Plain Layout
32979 <cell alignment="center" valignment="top" usebox="none">
32982 \begin_layout Plain Layout
32989 <row interlinespace="2.5mm">
32990 <cell alignment="center" valignment="top" usebox="none">
32993 \begin_layout Plain Layout
32998 arg "layout Enumerate"
33006 <cell alignment="center" valignment="top" usebox="none">
33009 \begin_layout Plain Layout
33016 <row interlinespace="2.5mm">
33017 <cell alignment="center" valignment="top" usebox="none">
33020 \begin_layout Plain Layout
33025 arg "layout Itemize"
33033 <cell alignment="center" valignment="top" usebox="none">
33036 \begin_layout Plain Layout
33043 <row interlinespace="2.5mm">
33044 <cell alignment="center" valignment="top" usebox="none">
33047 \begin_layout Plain Layout
33060 <cell alignment="center" valignment="top" usebox="none">
33063 \begin_layout Plain Layout
33070 <row interlinespace="2.5mm">
33071 <cell alignment="center" valignment="top" usebox="none">
33074 \begin_layout Plain Layout
33079 arg "layout Description"
33087 <cell alignment="center" valignment="top" usebox="none">
33090 \begin_layout Plain Layout
33097 <row interlinespace="2.5mm">
33098 <cell alignment="center" valignment="top" usebox="none">
33101 \begin_layout Plain Layout
33106 arg "depth-increment"
33114 <cell alignment="center" valignment="top" usebox="none">
33117 \begin_layout Plain Layout
33120 編集\SpecialChar \menuseparator
33127 <row interlinespace="2.5mm">
33128 <cell alignment="center" valignment="top" usebox="none">
33131 \begin_layout Plain Layout
33136 arg "depth-decrement"
33144 <cell alignment="center" valignment="top" usebox="none">
33147 \begin_layout Plain Layout
33150 編集\SpecialChar \menuseparator
33157 <row interlinespace="2.5mm">
33158 <cell alignment="center" valignment="top" usebox="none">
33161 \begin_layout Plain Layout
33166 arg "float-insert figure"
33174 <cell alignment="center" valignment="top" usebox="none">
33177 \begin_layout Plain Layout
33180 挿入\SpecialChar \menuseparator
33181 フロート\SpecialChar \menuseparator
33188 <row interlinespace="2.5mm">
33189 <cell alignment="center" valignment="top" usebox="none">
33192 \begin_layout Plain Layout
33197 arg "float-insert table"
33205 <cell alignment="center" valignment="top" usebox="none">
33208 \begin_layout Plain Layout
33211 挿入\SpecialChar \menuseparator
33212 フロート\SpecialChar \menuseparator
33219 <row interlinespace="2.5mm">
33220 <cell alignment="center" valignment="top" usebox="none">
33223 \begin_layout Plain Layout
33236 <cell alignment="center" valignment="top" usebox="none">
33239 \begin_layout Plain Layout
33242 挿入\SpecialChar \menuseparator
33249 <row interlinespace="2.5mm">
33250 <cell alignment="center" valignment="top" usebox="none">
33253 \begin_layout Plain Layout
33258 arg "dialog-show-new-inset ref"
33266 <cell alignment="center" valignment="top" usebox="none">
33269 \begin_layout Plain Layout
33272 挿入\SpecialChar \menuseparator
33279 <row interlinespace="2.5mm">
33280 <cell alignment="center" valignment="top" usebox="none">
33283 \begin_layout Plain Layout
33288 arg "dialog-show-new-inset citation"
33296 <cell alignment="center" valignment="top" usebox="none">
33299 \begin_layout Plain Layout
33302 挿入\SpecialChar \menuseparator
33309 <row interlinespace="2.5mm">
33310 <cell alignment="center" valignment="top" usebox="none">
33313 \begin_layout Plain Layout
33326 <cell alignment="center" valignment="top" usebox="none">
33329 \begin_layout Plain Layout
33332 挿入\SpecialChar \menuseparator
33339 <row interlinespace="2.5mm">
33340 <cell alignment="center" valignment="top" usebox="none">
33343 \begin_layout Plain Layout
33348 arg "nomencl-insert"
33356 <cell alignment="center" valignment="top" usebox="none">
33359 \begin_layout Plain Layout
33362 挿入\SpecialChar \menuseparator
33369 <row interlinespace="2.5mm">
33370 <cell alignment="center" valignment="top" usebox="none">
33373 \begin_layout Plain Layout
33378 arg "footnote-insert"
33386 <cell alignment="center" valignment="top" usebox="none">
33389 \begin_layout Plain Layout
33392 挿入\SpecialChar \menuseparator
33399 <row interlinespace="2.5mm">
33400 <cell alignment="center" valignment="top" usebox="none">
33403 \begin_layout Plain Layout
33408 arg "marginalnote-insert"
33416 <cell alignment="center" valignment="top" usebox="none">
33419 \begin_layout Plain Layout
33422 挿入\SpecialChar \menuseparator
33429 <row interlinespace="2.5mm">
33430 <cell alignment="center" valignment="top" usebox="none">
33433 \begin_layout Plain Layout
33446 <cell alignment="center" valignment="top" usebox="none">
33449 \begin_layout Plain Layout
33452 挿入\SpecialChar \menuseparator
33453 注釈\SpecialChar \menuseparator
33460 \begin_layout Plain Layout
33475 <row interlinespace="2.5mm">
33476 <cell alignment="center" valignment="top" usebox="none">
33479 \begin_layout Plain Layout
33484 arg "box-insert Frameless"
33492 <cell alignment="center" valignment="top" usebox="none">
33495 \begin_layout Plain Layout
33498 挿入\SpecialChar \menuseparator
33505 <row interlinespace="2.5mm">
33506 <cell alignment="center" valignment="top" usebox="none">
33509 \begin_layout Plain Layout
33522 <cell alignment="center" valignment="top" usebox="none">
33525 \begin_layout Plain Layout
33528 挿入\SpecialChar \menuseparator
33535 <row interlinespace="2.5mm">
33536 <cell alignment="center" valignment="top" usebox="none">
33539 \begin_layout Plain Layout
33552 <cell alignment="center" valignment="top" usebox="none">
33555 \begin_layout Plain Layout
33558 挿入\SpecialChar \menuseparator
33565 \begin_layout Plain Layout
33580 <row interlinespace="2.5mm">
33581 <cell alignment="center" valignment="top" usebox="none">
33584 \begin_layout Plain Layout
33589 arg "math-macro newmacroname newcommand"
33597 <cell alignment="center" valignment="top" usebox="none">
33600 \begin_layout Plain Layout
33603 挿入\SpecialChar \menuseparator
33604 数式\SpecialChar \menuseparator
33611 <row interlinespace="2.5mm">
33612 <cell alignment="center" valignment="top" usebox="none">
33615 \begin_layout Plain Layout
33620 arg "dialog-show-new-inset include"
33628 <cell alignment="center" valignment="top" usebox="none">
33631 \begin_layout Plain Layout
33634 挿入\SpecialChar \menuseparator
33635 ファイル\SpecialChar \menuseparator
33642 <row interlinespace="2.5mm">
33643 <cell alignment="center" valignment="top" usebox="none">
33646 \begin_layout Plain Layout
33651 arg "dialog-show character"
33659 <cell alignment="center" valignment="top" usebox="none">
33662 \begin_layout Plain Layout
33665 編集\SpecialChar \menuseparator
33666 文字様式\SpecialChar \menuseparator
33673 <row interlinespace="2.5mm">
33674 <cell alignment="center" valignment="top" usebox="none">
33677 \begin_layout Plain Layout
33682 arg "layout-paragraph"
33690 <cell alignment="center" valignment="top" usebox="none">
33693 \begin_layout Plain Layout
33696 編集\SpecialChar \menuseparator
33703 <row interlinespace="2.5mm">
33704 <cell alignment="center" valignment="top" usebox="none">
33707 \begin_layout Plain Layout
33712 arg "thesaurus-entry"
33720 <cell alignment="center" valignment="top" usebox="none">
33723 \begin_layout Plain Layout
33726 ツール\SpecialChar \menuseparator
33740 \begin_layout Subsection
33742 \begin_inset Index idx
33745 \begin_layout Plain Layout
33746 つーるばー@ツールバー ! ひょうじこうしん@表示/更新------
33754 \begin_layout Standard
33755 \begin_inset Graphics
33756 filename ../clipart/ViewToolbar.png
33763 \begin_layout Standard
33764 \begin_inset VSpace defskip
33770 \begin_layout Standard
33771 上掲の表示/更新ツールバーは、左から右に向かって以下の各ボタンを含んでいます。
33774 \begin_layout Standard
33775 \begin_inset VSpace defskip
33781 \begin_layout Standard
33782 \begin_inset Tabular
33783 <lyxtabular version="3" rows="7" columns="2">
33784 <features rotate="0" islongtable="true" longtabularalignment="center">
33785 <column alignment="left" valignment="top">
33786 <column alignment="left" valignment="top">
33787 <row interlinespace="2.5mm">
33788 <cell alignment="center" valignment="top" usebox="none">
33791 \begin_layout Plain Layout
33804 <cell alignment="center" valignment="top" usebox="none">
33807 \begin_layout Plain Layout
33810 文書\SpecialChar \menuseparator
33817 <row interlinespace="2.5mm">
33818 <cell alignment="center" valignment="top" usebox="none">
33821 \begin_layout Plain Layout
33826 arg "buffer-update"
33834 <cell alignment="center" valignment="top" usebox="none">
33837 \begin_layout Plain Layout
33840 文書\SpecialChar \menuseparator
33847 <row interlinespace="2.5mm">
33848 <cell alignment="center" valignment="top" usebox="none">
33851 \begin_layout Plain Layout
33856 arg "master-buffer-view"
33864 <cell alignment="center" valignment="top" usebox="none">
33867 \begin_layout Plain Layout
33870 文書\SpecialChar \menuseparator
33877 <row interlinespace="2.5mm">
33878 <cell alignment="center" valignment="top" usebox="none">
33881 \begin_layout Plain Layout
33886 arg "master-buffer-update"
33894 <cell alignment="center" valignment="top" usebox="none">
33897 \begin_layout Plain Layout
33900 文書\SpecialChar \menuseparator
33907 <row interlinespace="2.5mm">
33908 <cell alignment="center" valignment="top" usebox="none">
33911 \begin_layout Plain Layout
33916 arg "buffer-toggle-output-sync"
33924 <cell alignment="center" valignment="top" usebox="none">
33927 \begin_layout Plain Layout
33930 文書\SpecialChar \menuseparator
33931 設定\SpecialChar \menuseparator
33932 出力\SpecialChar \menuseparator
33939 <row interlinespace="2.5mm">
33940 <cell alignment="center" valignment="top" usebox="none">
33943 \begin_layout Plain Layout
33944 \begin_inset Graphics
33945 filename ../../images/view-others.png
33947 groupId toolbarbuttons
33956 <cell alignment="center" valignment="top" usebox="none">
33959 \begin_layout Plain Layout
33962 文書\SpecialChar \menuseparator
33969 <row interlinespace="2.5mm">
33970 <cell alignment="center" valignment="top" usebox="none">
33973 \begin_layout Plain Layout
33974 \begin_inset Graphics
33975 filename ../../images/update-others.png
33977 groupId toolbarbuttons
33986 <cell alignment="center" valignment="top" usebox="none">
33989 \begin_layout Plain Layout
33992 文書\SpecialChar \menuseparator
34006 \begin_layout Standard
34007 * これらのアイコンは、既定のアイコンセットを使用していない場合には、表示が異なることがあります。
34010 \begin_layout Subsection
34014 \begin_layout Standard
34016 \begin_inset CommandInset ref
34018 reference "sec:変更追跡機能"
34023 \begin_inset Index idx
34026 \begin_layout Plain Layout
34027 つーるばー@ツールバー ! ひょう@表------
34036 』に説明があります。数式マクロツールバー
34037 \begin_inset Index idx
34040 \begin_layout Plain Layout
34041 つーるばー@ツールバー ! まくろ@マクロ------
34053 \begin_layout Chapter
34055 \begin_inset CommandInset label
34062 \begin_inset Index idx
34065 \begin_layout Plain Layout
34066 ふんしよ@文書!せってい@------設定
34074 \begin_layout Standard
34075 文書設定ダイアログには、文書全体の特性を設定する下位メニューがあり、
34077 文書\SpecialChar \menuseparator
34080 メニューで呼び出せます。ダイアログ中の
34084 ボタンを押せば、好みの文書設定を既定値として保存することができます。こうすると、
34088 という名前のひな型が生成されて、ひな型を使用せずに新規ファイルを作ると、LyXがこのファイルを自動的に読み込むようになります。
34091 \begin_layout Standard
34096 というボタンを押すと、文書設定が、現文書クラスの既定値にリセットされます。この操作は、なかんずくクラスオプションやページレイアウト、連番、目次に作用します。
34099 \begin_layout Standard
34100 ダイアログ中の下位メニューをそれぞれ以下に説明します。たくさんの文書設定があるので、探している設定項目を探すのに時間がかかるかもしれません。設定項目を素早く見つ
34101 けるには、ダイアログの下位メニューの上にある検索フィールドを使うと良いでしょう。例えば、「ページ」を検索すると、一部の下位メニューは淡色化されて使用不能になり、
34102 ページ設定を含む下位メニューだけが使用可能になります。検出されたページ設定は、下位メニュー中で赤色にラベル付けされます。
34105 \begin_layout Section
34109 \begin_layout Standard
34110 ここでは、文書クラス・クラスオプション・グラフィックドライバ・親文書を設定することができます。文書クラスに関しては、第
34111 \begin_inset CommandInset ref
34113 reference "sec:文書クラス"
34120 \begin_layout Standard
34129 フォルダにない、したがってLyXが文書クラスのレイアウトとして認識していない自製のレイアウトファイルを読み込ませることができます。レイアウトファイルについての詳
34136 文書クラス・レイアウト・ひな型の新規導入
34141 \begin_layout Standard
34142 クラスによっては、既定で特定のクラスオプションを使うものがあります。その場合には、
34146 フィールドにこれらのクラスオプションが提示され、それらを使うかどうか決めることができます。既定のクラスオプションが何を意味するのか正確に理解していない場合には、
34147 いじらないことをお勧めします。グラフィックドライバは、LaTeXのcolorおよびgraphicsパッケージと、ページレイアウトパッケージに使用されます。
34151 を選ぶと、LaTeXパッケージの既定ドライバが使用されます。よくわからないうちは、既定値を使用することをお勧めします。
34155 \begin_layout Plain Layout
34185 \begin_inset Newline newline
34188 のいずれかのドライバを使用したい場合には、まずお使いのLaTeX頒布版でこれらを有効にしなくてはなりません。
34189 \begin_inset CommandInset href
34191 target "http://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
34207 \begin_layout Standard
34208 使用中の文書が、子文書ないし下位文書である場合には、親文書を指定することが必要です。親文書を開かずに子文書が開かれた場合、LyXはここで指定した親文書を使用しま
34209 す。親文書・子文書に関して、詳しくは、取扱説明書『
34220 \begin_layout Standard
34221 また、日付を抑制したり、相互参照用のLaTeXパッケージに
34226 \begin_inset Index idx
34229 \begin_layout Plain Layout
34230 latexはつけじ@LaTeXパッケージ! prettyref
34236 \begin_inset Index idx
34239 \begin_layout Plain Layout
34240 latexはつけじ@LaTeXパッケージ ! refstyle
34250 \begin_inset CommandInset ref
34252 reference "sec:相互参照"
34259 \begin_layout Section
34263 \begin_layout Standard
34264 この細目メニューは、文書中に子文書があるときにのみ表示されます。詳細については、取扱説明書『
34275 \begin_layout Section
34279 \begin_layout Standard
34281 \begin_inset CommandInset ref
34283 reference "sub:モジュール"
34290 \begin_layout Section
34294 \begin_layout Standard
34296 \begin_inset CommandInset ref
34298 reference "sub:ローカルレイアウト"
34305 \begin_layout Section
34309 \begin_layout Standard
34311 \begin_inset CommandInset ref
34313 reference "sec:フォントと文字様式"
34320 \begin_layout Section
34324 \begin_layout Standard
34325 段落を字下げで区切るか行間を広げて区切るかを指定することができます。また、行間と本文の段組数もここで指定することができます。また、文章がLyX中で整形されて表示
34326 するようにするかどうか決めることができます。これは、出力中で文章が整形されるかどうかを決めるのではないことに注意してください。
34329 \begin_layout Standard
34330 LyXは、二段組や行間を画面には反映しないことに注意してください。これは実用的ではなく、しばしば読み辛い上に、WYSIWYMの概念に反するのです。しかし、出力に
34331 おいては指定したとおりに反映されます。
34334 \begin_layout Standard
34335 LyX作業域で整形を行うオプションを使うと、LyX画面上で文を整形するかどうか指定することができます。これは、LyX内部の文にのみ影響し,出力には影響しません。
34338 \begin_layout Section
34342 \begin_layout Standard
34344 \begin_inset CommandInset ref
34346 reference "sub:用紙寸法と方向"
34351 \begin_inset CommandInset ref
34353 reference "sub:文書レイアウト"
34360 \begin_layout Section
34364 \begin_layout Standard
34365 ここでは、用紙の余白を調整することができます。第
34366 \begin_inset CommandInset ref
34375 \begin_layout Section
34377 \begin_inset CommandInset label
34384 \begin_inset Index idx
34387 \begin_layout Plain Layout
34388 げんご@言語 ! もじこーど@文字コード
34396 \begin_layout Standard
34397 文書言語と引用形式がここで設定できます。文字コードは、文書の内容がどのようにLaTeXに書き出されるかを指定します(LyXファイルはつねにUTF-8でコード化さ
34398 れています)。指定された文字コードにコード化できない文字は、すべてLaTeXコマンドとして書き出されます(LaTeXコマンドが対応していない文字がある場合には失
34402 \begin_layout Standard
34407 オプションを選択すると、本文の言語から本文部分の文字コードを決定します。このとき、文書が二つ以上の言語を含んでいると、LaTeXファイルに二つ以上の文字コードを
34408 含ませることになるかもしれません。このオプションを使用しないときには、文書全体はつねに一つの文字コードだけを使用することになります。このオプションを有効にするの
34412 \begin_layout Standard
34413 LyXは、Unicodeでの出力もサポートしているので、たくさんの特別な記号やアルファベット以外の文字が必要なときに、特に便利です。これを利用したい(そしてお使
34414 いのLaTeXシステムがUnicodeをサポートしている)場合には、以下の一覧から、四つのutf8関連選択肢のうち一つを選んでください。残念ながら、標準LaTe
34415 XのUnicodeサポートははなはだ不完全であるため、たくさんのUnicode記号を含むファイルが、
34419 の文字コードで動くものの(このとき、LyXは既知のLaTeXコマンド一覧を使用します)、utf8文字コード固定では動かないということは、珍しいことではありません
34420 (このとき、LyXは既知のLaTeXコマンド一覧を使用しません。なぜならUnicode記号はすべてutf8でコード化できるからです)。標準的LaTeXの代替的エ
34421 ンジンたるXeTeXやLuaTeXでは、状況はもっと良くなっています。どちらのエンジンもUnicodeをネイティブにサポートしており、LyXも現在(出力形式
34424 \begin_inset space ~
34431 \begin_layout Plain Layout
34443 \begin_inset space ~
34450 \begin_layout Plain Layout
34462 \begin_inset space ~
34469 \begin_layout Plain Layout
34478 を通じて)これらのエンジンをサポートしています。第
34479 \begin_inset CommandInset ref
34481 reference "sub:出力ファイル形式"
34485 節を参照してください。仮に上記のオプションがうまく動かない場合には、これらの新しいエンジンを試すと良いかもしれません。
34488 \begin_layout Standard
34493 では、ハイフネーションと「第〜部」のような文字列の翻訳に使用されるLaTeXパッケージを指定します。使用できる設定は以下のとおりです。
34496 \begin_layout Description
34499 ツール\SpecialChar \menuseparator
34500 設定\SpecialChar \menuseparator
34503 で選択された言語パッケージを使用します(第
34504 \begin_inset CommandInset ref
34506 reference "sub:言語設定"
34513 \begin_layout Description
34514 自動 使おうとしている閲覧形式ないし書き出し形式に最も適した言語パッケージを選択します。多くの場合、これは
34519 \begin_inset Index idx
34522 \begin_layout Plain Layout
34523 latexはつけじ@LaTeXパッケージ ! babel
34533 \begin_inset Index idx
34536 \begin_layout Plain Layout
34537 latexはつけじ@LaTeXパッケージ ! polyglossia
34542 の方が適当であれば(XeTeXや非TeXフォントを使用している場合など)、
34546 の代わりにこちらのパッケージが使用されます。
34549 \begin_layout Description
34561 \begin_layout Description
34562 ユーザ設定 自分で選択した言語パッケージを指定することができます。例えば、
34566 (ドイツ語文用)のような言語依存パッケージを使用したい場合には、
34569 \begin_inset Newline newline
34574 usepackage{ngerman}
34575 \begin_inset Newline newline
34583 \begin_layout Description
34584 なし 言語パッケージを使用しません。科学論文用文書クラスの一部には、このように指定する必要のあるものがあります。
34587 \begin_layout Standard
34591 \begin_layout Description
34592 LaTeX既定値(inputenc不使用) 文字コードに
34601 \begin_inset Index idx
34604 \begin_layout Plain Layout
34605 latexはつけじ@LaTeXパッケージ ! inputenc
34610 LaTeXパッケージは使用されません。そのため、これを使用するときには、プリアンブルに他の適当なパッケージを読み込んで、外国語で書かれている部分の文字コードを
34611 TeXコードで指定する必要があるでしょう。
34614 \begin_layout Description
34615 ASCII ASCII文字コード。通常の英語(7ビットASCII)しかカバーしていません。LyXはそれ以外の文字をすべてLaTeXコマンドに変換するので、多量の
34616 LaTeXコマンドが必要な場合には、ファイルが大きくなる可能性があります。
34619 \begin_layout Description
34621 \begin_inset space ~
34624 1256) アラビア語及びペルシア語用MS Windowsコードページ
34627 \begin_layout Description
34629 \begin_inset space ~
34632 8859-6) アラビア語及びペルシア語用
34635 \begin_layout Description
34636 アルメニア語(ArmSCII8) アルメニア語用
34639 \begin_layout Description
34641 \begin_inset space ~
34644 1251) キリル文字用MS Windowsコードページ
34647 \begin_layout Description
34648 キリル文字(KOI8-R) 標準キリル文字。特にロシア語向け。
34651 \begin_layout Description
34652 キリル文字(KOI8-U) ウクライナ語用キリル文字
34655 \begin_layout Description
34657 \begin_inset space ~
34663 \begin_layout Description
34665 \begin_inset space ~
34671 \begin_layout Description
34673 \begin_inset space ~
34679 \begin_layout Description
34681 \begin_inset space ~
34684 8859-9) (latin 5)トルコ語用。ISO-8859-1に近いが、アイスランド文字をトルコ語に置き換えてある。
34687 \begin_layout Description
34689 \begin_inset space ~
34692 1257) エストニア語・ラトビア語・リトアニア語用MS Windowsコードページ。ISO-8859-13文字コードと同等。
34695 \begin_layout Description
34697 \begin_inset space ~
34700 8859-13) エストニア語・ラトビア語・リトアニア語用。ISO-8859-4文字コードの上位集合。
34703 \begin_layout Description
34705 \begin_inset space ~
34708 8859-4) (latin 4)エストニア語・ラトビア語・リトアニア語用。ISO-8859-13文字コードの下位集合。
34711 \begin_layout Description
34713 \begin_inset space ~
34716 1255) ヘブライ語用MS Windowsコードページ。ISO-8859-8文字コードの上位集合。
34719 \begin_layout Description
34721 \begin_inset space ~
34727 \begin_layout Description
34733 \begin_inset Index idx
34736 \begin_layout Plain Layout
34737 latexはつけじ@LaTeXパッケージ ! CJK
34742 LaTeXパッケージ(日中韓言語用)を使用したUnicode utf8
34745 \begin_layout Description
34746 ユニコード(XeTeX)(utf8) Unicodeを直接使用する
34754 とともに使用することを意図したUnicode utf8。LaTeXパッケージ
34758 は援用しません。XeTeXやLuaTeXを書き出したりプレビューしたりすると、LyXは自動的にこのエンコーディングを選択します。通常、このエンコーディングを手動
34762 \begin_layout Description
34763 ユニコード(UCS拡張版)(utf8x)
34768 \begin_inset Index idx
34771 \begin_layout Plain Layout
34772 latexはつけじ@LaTeXパッケージ ! ucs
34777 LaTeXパッケージに基づいたUnicode utf8(包括的。ラテン文字・ギリシャ文字・キリル文字・日中韓文字を含む)。
34780 \begin_layout Description
34786 \begin_inset Index idx
34789 \begin_layout Plain Layout
34790 latexはつけじ@LaTeXパッケージ ! inputenc
34795 LaTeXパッケージに基づいたUnicode utf8。いまのところ、限られた文字範囲(主にラテン文字)しかサポートしていません。
34798 \begin_layout Description
34799 中国語(簡体字)(EUC-CN) 簡体字中国語用。ユーロ貨幣記号を除いては、WindowsコードページCP936と同じ。2001年以降、この文字コードは、正式に
34800 文字コードGB18030に取って代わられました。GB18030はLaTeXでは使用できないため、Unicode(CJK)(utf8)を使用するようにしてください
34804 \begin_layout Description
34805 中国語(簡体字)(GBK) 簡体字中国語用。特にUNIX OS向け。2001年以降、この文字コードは、正式に文字コードGB18030に取って代わられました。GB
34806 18030はLaTeXでは使用できないため、Unicode(CJK)(utf8)を使用するようにしてください。
34809 \begin_layout Description
34810 中国語(繁体字)(EUC-TW) 繁体字中国語用。
34813 \begin_layout Description
34815 \begin_inset space ~
34819 \begin_inset space ~
34822 8859-2用のMS Windowsコードページ(latin 2)
34825 \begin_layout Description
34827 \begin_inset space ~
34830 8859-2) (latin 2)アルバニア語・クロアチア語・チェコ語・ドイツ語・ハンガリー語・ポーランド語・ルーマニア語・スロバキア語・スロベニア語を収録
34833 \begin_layout Description
34835 \begin_inset space ~
34838 8859-3) (latin 3)エスペラント語・ガリシア語・マルタ語・トルコ語を収録。
34841 \begin_layout Description
34843 \begin_inset space ~
34846 8859-16) (latin 10)アルバニア語・クロアチア語・フィンランド語・フランス語・ドイツ語・ハンガリー語・アイルランドゲール語・イタリア語・ポーラン
34847 ド語・ルーマニア語・スロベニア語を含む。区分的発音符を持つ文字と言語の多くを収録。
34850 \begin_layout Description
34851 日本語(CJK)(EUC-JP) 日本語用EUC-JP文字コード。LaTeXパッケージ
34856 \begin_inset Index idx
34859 \begin_layout Plain Layout
34860 latexはつけじ@LaTeXパッケージ ! CJK
34865 を使用。これを使用する際には、文書言語を
34872 \begin_layout Description
34873 日本語(CJK)(JIS) 日本語用JIS文字コード。LaTeXパッケージ
34877 を使用。これを使用する際には、文書言語を
34884 \begin_layout Description
34885 日本語(CJK不使用)(EUC-JP) 日本語用EUC-JP文字コード。LaTeXパッケージ
34890 \begin_inset Index idx
34893 \begin_layout Plain Layout
34894 latexはつけじ@LaTeXパッケージ ! japanese
34899 を使用。これを使用する際には、文書言語を
34906 \begin_layout Description
34907 日本語(CJK不使用)(JIS) 日本語用JIS文字コード。LaTeXパッケージ
34911 を使用。これを使用する際には、文書言語を
34918 \begin_layout Description
34919 日本語(CJK不使用)(SJIS) 日本語用SJIS文字コード。LaTeXパッケージ
34924 \begin_inset Index idx
34927 \begin_layout Plain Layout
34928 latexはつけじ@LaTeXパッケージ ! japanese
34933 を使用。これを使用する際には、文書言語を
34940 \begin_layout Description
34942 \begin_inset space ~
34945 1252) latin1用MS Windowsコードページ
34948 \begin_layout Description
34950 \begin_inset space ~
34953 8859-1) (latin 1) ISO-8859-1文字コード。アルバニア語・カタロニア語・デンマーク語・オランダ語・英語・フェロー語・フィンランド語・フラ
34954 ンス語・ガリシア語・ドイツ語・アイスランド語・アイルランド語・イタリア語・ノルウェー語・ポルトガル語・スペイン語・スウェーデン語を含む。latin9に移行すべき
34958 \begin_layout Description
34960 \begin_inset space ~
34963 8859-15) (latin 9) ISO-8859-15文字コード。ISO-8859-1文字コードと同様だが、ユーロ記号やœ合字、その他フランス語とフィンラ
34964 ンド語で用いられる文字を含む。latin9はlatin1の後継。
34967 \begin_layout Description
34971 \begin_layout Section
34973 \begin_inset Index idx
34976 \begin_layout Plain Layout
34983 \begin_inset Index idx
34986 \begin_layout Plain Layout
34993 \begin_inset Index idx
34996 \begin_layout Plain Layout
34997 いろ@色 ! かげつきぼっくす@影付きボックス
35003 \begin_inset Index idx
35006 \begin_layout Plain Layout
35007 いろ@色 ! たんしょくひょうじちゅうしゃく@淡色表示注釈
35015 \begin_layout Standard
35024 のフォント色(既定値:それぞれ黒と灰色)と、
35032 の背景色(既定値:それぞれ白と赤)を変更することができます。
35036 ボタンは、色を既定値に戻します。既定値若しくは変更と表示されているボタンを押すと、ダイアログが開いて、色一覧や色選択盤から選択したり、HSL値やRGB値を与えて
35037 色を指定することができます。ダイアログ中では、後ですぐに選択することができるように、任意の色をカスタム色として登録しておくことができます。
35040 \begin_layout Standard
35054 \begin_inset CommandInset ref
35056 reference "sec:PDF特性"
35060 節で述べられているように、リンクフォント色も変更する必要が生じることがありますのでご注意ください。
35063 \begin_layout Standard
35064 \begin_inset VSpace bigskip
35070 \begin_layout Standard
35071 強制改頁の直後に、TeXコードで以下のコマンドを用いると、文書中のページ毎に本文フォント色と頁背景色を変えることができます。
35074 \begin_layout Itemize
35076 \begin_inset Newline newline
35086 \begin_layout Itemize
35088 \begin_inset Newline newline
35098 \begin_layout Standard
35135 のいずれかに限定されます(取扱説明書『
35144 \begin_inset Newline newline
35147 本文色や背景色を変更した場合、これらを次の名称で用いることができます。
35150 \begin_layout Itemize
35152 \begin_inset Newline newline
35157 page_backgroundcolor
35160 \begin_layout Itemize
35162 \begin_inset Newline newline
35170 \begin_layout Itemize
35172 \begin_inset Newline newline
35180 \begin_layout Itemize
35182 \begin_inset Newline newline
35190 \begin_layout Standard
35191 自製の色を定義し使用する方法については、取扱説明書『
35202 \begin_layout Section
35206 \begin_layout Standard
35208 \begin_inset CommandInset ref
35210 reference "sub:番号の付け方-深度"
35214 節に述べられているように、ここでは連番をつける節見出しの階層と、目次内に表示される節の階層を調整することができます。
35217 \begin_layout Section
35221 \begin_layout Standard
35227 \begin_inset Index idx
35230 \begin_layout Plain Layout
35231 latexはつけじ@LaTeXパッケージ ! natbib
35241 \begin_inset Index idx
35244 \begin_layout Plain Layout
35245 latexはつけじ@LaTeXパッケージ ! jurabib
35250 を使用した引用様式を使うかどうかを指定することができます。LaTeXパッケージ
35255 \begin_inset Index idx
35258 \begin_layout Plain Layout
35259 latexはつけじ@LaTeXパッケージ ! bibtopic
35268 を使うこともできるほか、書誌情報の生成に使う処理子を選択することもできます。詳しくは、第
35269 \begin_inset CommandInset ref
35271 reference "sec:書誌情報"
35278 \begin_layout Section
35282 \begin_layout Standard
35283 ここでは、索引の生成に用いる生成子を定義することができるほか、複数の索引を定義することもできます(詳細は第
35284 \begin_inset CommandInset ref
35293 \begin_layout Section
35297 \begin_layout Standard
35299 \begin_inset CommandInset ref
35301 reference "sec:PDF特性"
35308 \begin_layout Section
35312 \begin_layout Standard
35313 これらのオプションは、LaTeXパッケージの
35318 \begin_inset Index idx
35321 \begin_layout Plain Layout
35322 latexはつけじ@LaTeXパッケージ ! amsmath
35332 \begin_inset Index idx
35335 \begin_layout Plain Layout
35336 latexはつけじ@LaTeXパッケージ ! amssymb
35346 \begin_inset Index idx
35349 \begin_layout Plain Layout
35350 latexはつけじ@LaTeXパッケージ ! cancel
35360 \begin_inset Index idx
35363 \begin_layout Plain Layout
35364 latexはつけじ@LaTeXパッケージ ! esint
35374 \begin_inset Index idx
35377 \begin_layout Plain Layout
35378 latexはつけじ@LaTeXパッケージ ! mathdots
35388 \begin_inset Index idx
35391 \begin_layout Plain Layout
35392 latexはつけじ@LaTeXパッケージ ! mathtools
35402 \begin_inset Index idx
35405 \begin_layout Plain Layout
35406 latexはつけじ@LaTeXパッケージ ! mhchem
35416 \begin_inset Index idx
35419 \begin_layout Plain Layout
35420 latexはつけじ@LaTeXパッケージ ! stackrel
35430 \begin_inset Index idx
35433 \begin_layout Plain Layout
35434 latexはつけじ@LaTeXパッケージ ! stmaryrd
35444 \begin_inset Index idx
35447 \begin_layout Plain Layout
35448 latexはつけじ@LaTeXパッケージ ! undertilde
35453 を強制的に使用するようにするか、必要なときにこれらを自動的に使用するようにするかを指定します。
35456 \begin_layout Description
35457 amsmath これは、多くの数式要素に必要とされているので、数式中にLaTeXエラーがでるときには、AMSを有効にしていることを確認してください。
35460 \begin_layout Description
35461 amssymb これは、ボールド体ギリシャ文字やアップライト体ギリシャ文字など、特殊な数学記号に必要です。数式でLaTeXエラーが出る場合には、これが有効になっ
35465 \begin_layout Description
35466 cancel これは、数式の取り消しに使われます。取扱説明書『
35477 \begin_layout Description
35478 esint これは、特別な積分記号に使われます。取扱説明書『
35489 \begin_layout Description
35490 mathdots これは、特殊な省略符号に用いられます。取扱説明書『
35501 \begin_layout Description
35538 の各数式コマンドとラベル付き矢印に使われます。取扱説明書『
35545 \begin_layout Description
35546 mhchem これは、化学式に用いられます。取扱説明書『
35557 \begin_layout Description
35558 stackrel これは、数式コマンド
35575 \begin_layout Description
35576 stmaryrd これは、特殊な数式記号のために用いられます。
35579 \begin_layout Description
35580 undertilde これは、数式コマンド
35590 』の「アクセント」の節をご覧ください。
35593 \begin_layout Section
35597 \begin_layout Standard
35609 \begin_layout Section
35613 \begin_layout Standard
35625 \begin_layout Section
35629 \begin_layout Standard
35634 の列挙に用いる文字を変更したり、それに用いる
35642 を指定することができます。箇条書き(記号)環境は、第
35643 \begin_inset CommandInset ref
35645 reference "sec:箇条書き(記号)"
35652 \begin_layout Standard
35657 欄に欲しい文字のLaTeXコマンドを入力することによって、任意のブリットを指定することができます。例えば、ユーロ記号を用いるには、
35663 コマンドを入力します。数式記号を使うには、さらにコマンドを$記号で囲む必要があります。例えば、
35664 \begin_inset Formula $\circlearrowright$
35673 と入力します。数式記号のコマンドを探すには、数式を作成して、数式ツールバー中の欲しい記号の上にマウスをかざしてください。
35676 \begin_layout Standard
35677 \begin_inset Note Greyedout
35680 \begin_layout Plain Layout
35687 文書\SpecialChar \menuseparator
35688 設定\SpecialChar \menuseparator
35691 メニュー)特別なLaTeXパッケージを読み込む必要があることがあります。例えば、ユーロ記号を入れるには、プリアンブルに
35695 usepackage{textcomp}
35697 という行を追加する必要があります。ほとんどの数式記号は、
35701 usepackage{amssymb}
35711 \begin_layout Section
35715 \begin_layout Standard
35717 \begin_inset CommandInset ref
35719 reference "sec:派生枝"
35726 \begin_layout Section
35728 \begin_inset CommandInset label
35737 \begin_layout Standard
35738 ここでは、以下のように現在の文書の出力の仕方を定義することができます。
35741 \begin_layout Description
35746 メニューやツールバーで「表示」「更新」「親文書を表示」「親文書を更新」を選んだときに使用される形式。既定値は、
35748 ツール\SpecialChar \menuseparator
35749 設定\SpecialChar \menuseparator
35750 ファイル処理\SpecialChar \menuseparator
35754 \begin_inset CommandInset ref
35756 reference "sec:ファイル形式"
35763 \begin_layout Description
35766 移動\SpecialChar \menuseparator
35769 メニュー用の設定。詳細については、取扱説明書『
35780 \begin_layout Description
35781 XHTML出力オプション 書き出し形式
35787 \begin_layout Plain Layout
35799 \begin_inset space ~
35804 は、出力がXHTML標準の第1.1版に忠実に沿うようにします。
35808 のそれぞれの設定については、取扱説明書『
35816 」の節に詳細な解説があります。伸縮は、出力における数式の大きさを調整するのに用いられます。
35819 \begin_layout Section
35824 \begin_layout Plain Layout
35834 \begin_layout Standard
35835 このテキストフィールドには、特別なLaTeXパッケージを読み込むコマンドや、LaTeXコマンドの定義が入れられます。プリアンブルは、LaTeX熟練者向けです。よ
35836 くわからないうちは、ここにコマンドを入れるべきではありません。
35839 \begin_layout Standard
35841 \begin_inset CommandInset ref
35843 reference "sub:LaTeX文法"
35850 \begin_layout Chapter
35852 \begin_inset CommandInset label
35859 \begin_inset Index idx
35862 \begin_layout Plain Layout
35871 \begin_layout Standard
35874 ツール\SpecialChar \menuseparator
35877 メニューで呼び出すことができます。このダイアログには、以下の従属メニューが含まれています。
35880 \begin_layout Section
35884 \begin_layout Subsection
35886 \begin_inset Index idx
35889 \begin_layout Plain Layout
35890 かすたまいず@カスタマイズ!つーるばーの@ツールバーの------
35896 \begin_inset Index idx
35899 \begin_layout Plain Layout
35900 かすたまいず@カスタマイズ!めにゅーの@メニューの------
35908 \begin_layout Subsubsection
35910 \begin_inset Index idx
35913 \begin_layout Plain Layout
35914 かすたまいず@カスタマイズ!つーるばーの@ツールバーの------
35920 \begin_inset Index idx
35923 \begin_layout Plain Layout
35924 かすたまいず@カスタマイズ!めにゅーの@メニューの------
35932 \begin_layout Standard
35933 メニューやツールバーの外観は、操作画面設定(UI)ファイルを選ぶことで、変更することができます。UIファイルは、ツールバーやメニューが列挙してあるテキストファイ
35938 ファイルは以下の3つのファイルを読み込みます。
35941 \begin_layout Description
35942 stdmenus.inc 標準メニュー中のメニュー項目を指定します
35945 \begin_layout Description
35946 stdcontext.inc ポップアップ文脈依存メニューのメニュー項目を指定します
35949 \begin_layout Description
35950 stdtoolbars.inc ツールバーボタンを指定しいます
35953 \begin_layout Standard
35954 ご自身のメニュー及びツールバーレイアウトを作成するには、まずこれらのファイルをコピーして、中の項目を編集してください。
35957 \begin_layout Standard
35974 で明示的に終わらなくてはなりません。これらの中には、
35994 、および「ファイル」メニューの場合には加えて
35998 の各項目が含まれています。各項目の文法は、
36001 \begin_layout Standard
36002 \begin_inset VSpace smallskip*
36008 \begin_inset Quotes eld
36016 \begin_inset Quotes erd
36020 \begin_inset Quotes eld
36024 \begin_inset Quotes erd
36030 \begin_layout Standard
36031 \begin_inset VSpace smallskip*
36038 \SpecialChar \menuseparator
36045 \begin_layout Plain Layout
36055 \begin_inset VSpace medskip
36061 \begin_layout Standard
36064 移動\SpecialChar \menuseparator
36067 メニューをひじょうによく使うので、6つのしおりが欲しいものとしましょう。以下の行
36070 \begin_layout Standard
36071 \begin_inset VSpace smallskip*
36077 \begin_inset Quotes eld
36081 \begin_inset Quotes erd
36085 \begin_inset Quotes eld
36089 \begin_inset Quotes erd
36095 \begin_layout Standard
36096 \begin_inset VSpace smallskip*
36103 ファイルの「navigate_bookmarks」(移動)メニュー部分に書き加えると、しおりが6つになります。
36106 \begin_layout Standard
36111 では、LyXのツールバーの外観を変更することができます。現在使用できるアイコンセットは、
36112 \begin_inset CommandInset href
36115 target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
36122 \begin_layout Subsubsection
36126 \begin_layout Standard
36129 メイン作業領域でツールチップスを有効にする
36131 オプションは、索引項目や脚注などの差込枠で、閉じられているものの中身を表示するツールチップスを有効にします。
36134 \begin_layout Subsubsection
36138 \begin_layout Standard
36145 ファイル\SpecialChar \menuseparator
36148 に表示される直近に開かれたファイルの数です。
36151 \begin_layout Subsection
36155 \begin_layout Subsubsection
36159 \begin_layout Standard
36164 オプションを指定すると、LyXのメインウィンドウは、最後のLyXセッションで用いられていた大きさとレイアウトで開くようになります。
36167 \begin_layout Standard
36172 オプションは、最後にファイル内にカーソルがあった位置にカーソルを配置します。
36175 \begin_layout Standard
36178 最後のセッションで開いていたファイルを読み込む
36180 オプションは、最後のLyXセッションで開かれていたファイル全てを開きます。
36183 \begin_layout Standard
36188 ボタンを押すと、最後のLyXセッションから引き継がれた情報(カーソル位置や最後に開かれていた文書名など)をすべて削除します。
36191 \begin_layout Subsubsection
36193 \begin_inset CommandInset label
36195 name "sub:文書のバックアップ"
36200 \begin_inset Index idx
36203 \begin_layout Plain Layout
36204 ばっくあっぷ@バックアップ ! ふんしよ@文書
36212 \begin_layout Standard
36215 保存する際に元の文書をバックアップする
36217 を有効にすると、ファイルが開かれた時の状態か、最後に保存された時の状態のバックアップコピーを作成します。これはバックアップディレクトリに保存されるか(第
36218 \begin_inset CommandInset ref
36224 節参照)、バックアップディレクトリが指定されていない場合は、使用中の文書と同じフォルダに保存されます。
36227 \begin_layout Standard
36232 オプションを指定すると、バックアップ保存動作の間隔を指定することができます。
36235 \begin_layout Standard
36240 を有効にすると、ファイルは常に圧縮形式で保存されます。
36243 \begin_layout Standard
36250 ファイル\SpecialChar \menuseparator
36253 メニューに表示する最後に開いたファイルの数です。
36256 \begin_layout Subsubsection
36260 \begin_layout Standard
36265 オプションが有効になっていないときには、すべてのファイルは、LyXの新しいインスタンスの中に開かれます。
36268 \begin_layout Standard
36277 \begin_layout Plain Layout
36278 LyXサーバパイプについての情報は、第
36279 \begin_inset CommandInset ref
36290 が指定されているときにのみ、アクティブになります。これが有効の時には、LyX文書は、既に走っているLyXインスタンスの中に開かれるようになります。無効の場合は、
36291 新たなLyXインスタントが、それぞれのファイルごとに生成されます。
36294 \begin_layout Standard
36299 オプションが有効の場合には、タブバーの右端にタブを閉じるためのボタンがひとつだけ(
36302 \begin_inset Graphics
36303 filename ../../images/closetab.png
36310 )現れるようになります。無効の場合には、各文書タブごとに閉ボタンが付きます。
36313 \begin_layout Standard
36314 \begin_inset Note Greyedout
36317 \begin_layout Plain Layout
36322 オプションを有効にするには、変更が効くようになる前に、LyXを再起動する必要があります。
36330 \begin_layout Standard
36335 の設定では、文書のタブもしくは表示窓を閉じるとき、文書を閉じるのか非表示にするのかを指定することができます。非表示になっている文書は、
36337 表示\SpecialChar \menuseparator
36340 メニューで見ることができます。ファイルをいくつかのLyXインスタンスで並行して開いていて、1つのインスタンスでのみ表示窓を閉じたい時には、文書を閉じないようにす
36344 \begin_layout Subsection
36346 \begin_inset Index idx
36349 \begin_layout Plain Layout
36350 ふぉんと@フォント!がめん@画面------
36356 \begin_inset CommandInset label
36365 \begin_layout Standard
36366 ここで指定したフォントが、画面上で文書を表示するのに使われます。
36369 \begin_layout Standard
36370 \begin_inset Note Greyedout
36373 \begin_layout Plain Layout
36382 フォントだけを取り扱います。出力に表示されるフォントは、これらのフォントとは違うもので、
36384 文書\SpecialChar \menuseparator
36385 設定\SpecialChar \menuseparator
36396 \begin_layout Standard
36401 フォントをローマン(セリフ)フォントとして用い、
36424 \begin_layout Standard
36432 \begin_layout Standard
36433 フォント寸法は、ポイント単位で測られた文字高で表されます。72.27ポイントが1インチの大きさになります。付録
36434 \begin_inset CommandInset ref
36436 reference "cha:LyXで使用できる単位"
36440 を参照してください。既定のフォント寸法は、文書フォント寸法で10ポイントが使用されたときと同じです。寸法に関しては、第
36441 \begin_inset CommandInset ref
36443 reference "sub:文書フォント"
36450 \begin_layout Standard
36453 フォントレンダリングの速度を向上させるためにPixmapキャッシュを使う
36455 オプションを有効にすると、LyXが画面を再描画する必要が減ります。これによって、特に遅いシステムでは、パフォーマンスが向上します。一方、画面上の文字は少し毛羽立
36456 って見えるかもしれません。したがって、これを有効にするか否かは、スピードをお求めになるか美しさをお求めになるかに依存します。Pixmapキャッシュは、Mac
36457 \begin_inset space ~
36460 OSとWindowsでのみ使うことができ、また意味があることにご注意ください。
36463 \begin_layout Subsection
36465 \begin_inset Index idx
36468 \begin_layout Plain Layout
36469 いろ@色 ! Lyxがめん@LyX画面
36475 \begin_inset Index idx
36478 \begin_layout Plain Layout
36487 \begin_layout Standard
36488 ここでは、LyXが使うすべての色を変更することができます。一覧の中の項目を選んで、
36495 \begin_layout Standard
36500 オプションを有効にすると、お使いのOSないしはウィンドウマネジャの色スキームが使用されます。その場合、
36524 の色は設定できなくなり、一覧に表示されなくなります。
36527 \begin_layout Subsection
36529 \begin_inset Index idx
36532 \begin_layout Plain Layout
36541 \begin_layout Standard
36542 ここでは、LyX内で図がどのように表示されるかを指定できます。
36545 \begin_layout Standard
36550 は、使用中文書の部分プレビューを可能にします。この機能については、第
36551 \begin_inset CommandInset ref
36553 reference "sec:文書の断片プレビュー"
36560 \begin_layout Standard
36565 オプションは、各段落の終わりに段落標(¶)を表示します。
36568 \begin_layout Section
36572 \begin_layout Subsection
36576 \begin_layout Subsubsection
36580 \begin_layout Standard
36585 オプションを有効にすると、スクロールする際に、カーソルがつねに、文書の現在表示されている部分のいちばん上に置かれるようにします。
36588 \begin_layout Standard
36589 カーソル幅は変更することができます。カーソル幅を0に設定すると、画面フォントで設定した拡大率に応じて、カーソル幅も調整されます。
36592 \begin_layout Standard
36600 \begin_layout Standard
36606 \begin_inset Flex Ruby
36609 \begin_layout Plain Layout
36611 \begin_inset Argument post:1
36614 \begin_layout Plain Layout
36625 を押すことで単語から単語へジャンプすることができます。
36627 単語間の移動にMac流のカーソル移動を使用
36629 オプションを使用すると、カーソルは単語末から次の単語末へとジャンプします。通常は、単語頭から単語頭への移動です。
36632 \begin_layout Standard
36637 オプションは、段落環境のプルダウンボックスの項目を整序します。
36640 \begin_layout Standard
36645 オプションは、段落環境のプルダウンボックスの項目をグループ化します。
36648 \begin_layout Standard
36649 数式マクロ編集オプションは編集様式を決定します。取扱説明書『
36660 \begin_layout Subsubsection
36664 \begin_layout Standard
36665 ここでは、全画面モードで隠すものを指定できます。
36669 オプションは、全画面モードでの本文幅を指定します。こうすると、本文を画面よりも小さく表示できて、本文は中央部に表示されます。
36672 \begin_layout Subsection
36674 \begin_inset Index idx
36677 \begin_layout Plain Layout
36679 \begin_inset Flex Ruby
36682 \begin_layout Plain Layout
36684 \begin_inset Argument post:1
36687 \begin_layout Plain Layout
36704 \begin_inset Index idx
36707 \begin_layout Plain Layout
36712 \begin_layout Plain Layout
36720 \begin_inset Flex Ruby
36723 \begin_layout Plain Layout
36725 \begin_inset Argument post:1
36728 \begin_layout Plain Layout
36743 \begin_layout Plain Layout
36756 \begin_inset Index idx
36759 \begin_layout Plain Layout
36761 \begin_inset Flex Ruby
36764 \begin_layout Plain Layout
36766 \begin_inset Argument post:1
36769 \begin_layout Plain Layout
36788 \begin_layout Standard
36789 \begin_inset Flex Ruby
36792 \begin_layout Plain Layout
36798 \begin_inset Argument post:1
36801 \begin_layout Plain Layout
36816 は、LyX関数を鍵に割り当てるのに使う鍵設定ファイルを指定します。いくつかの鍵設定ファイルがありますが、特に以下のようなものがあります。
36819 \begin_layout Description
36820 cua.bind PCキーボードでの典型的な
36821 \begin_inset Flex Ruby
36824 \begin_layout Plain Layout
36826 \begin_inset Argument post:1
36829 \begin_layout Plain Layout
36843 \begin_layout Description
36844 (x)emacs.bind エディタプログラム
36855 \begin_layout Description
36859 \begin_inset space \thinspace{}
36867 \begin_layout Standard
36872 のように、特定の文書クラス用にデザインされた鍵設定ファイルや、特定の言語用の鍵設定ファイルもあります。言語用鍵設定ファイルの名前は、例えばポルトガルならば「pt
36873 」のように、言語コードで始まります。LyXを特定の言語の下で使うと、LyXは適切な鍵設定ファイルを使用しようとします。
36876 \begin_layout Standard
36881 のようないくつかの鍵設定ファイルは、限られた範囲の定義しか含んでいません。
36885 ファイルの終わりを見れば、鍵設定ファイルの見通しをよくするために、
36889 がインクルードされる形になっているのを確認できるはずです。
36892 \begin_layout Standard
36897 フィールドは、選択した鍵設定ファイル中で特定の機能を提供する捷径を検索するのに使用できます。
36900 \begin_layout Subsubsection
36902 \begin_inset CommandInset label
36909 \begin_inset Index idx
36912 \begin_layout Plain Layout
36914 \begin_inset Flex Ruby
36917 \begin_layout Plain Layout
36919 \begin_inset Argument post:1
36922 \begin_layout Plain Layout
36933 設定 ! のへんしゅう@------の編集
36941 \begin_layout Standard
36943 \begin_inset Flex Ruby
36946 \begin_layout Plain Layout
36948 \begin_inset Argument post:1
36951 \begin_layout Plain Layout
36962 設定を追加したり、既存の鍵設定をご自分の好みに合うように修正するには、すべてのLyX関数とそれに結びつけられた
36963 \begin_inset Flex Ruby
36966 \begin_layout Plain Layout
36968 \begin_inset Argument post:1
36971 \begin_layout Plain Layout
36982 を列挙したダイアログ中の表を使用することができます。関数を容易に見つけられるように、関数はカテゴリごとにまとめられ、
36986 フィールドがダイアログに備わっています。このフィールドに編集したい関数のキーワードを入力することができます。たとえば、ここに「paste」と入力すると、名称に「
36987 paste」を含む3つの関数に対するぜんぶで4つの既存の捷径が表示されます。このように、一つの関数は二つ以上の捷径を持つことができます。LyX関数の全覧は、
36998 \begin_layout Standard
37007 という捷径を加えるには、この関数を選択して、
37011 ボタンを押します。捷径を追加するためのダイアログが現れますので、Alt+Qを押して捷径を定義します。
37014 \begin_layout Standard
37015 既存の捷径の修正も、これと同様に行います。LyX関数の定義で「command alternatives」と書いた後に、複数の関数名をセミコロン区切りのリストとし
37016 て続ければ、複数の関数を単一の捷径に割り当てることもできます。するとLyXは、現在の文書部分で有効な関数のうち最初のものを使用します。
37019 \begin_layout Standard
37020 特定の捷径が好みでなければ、削除することもできます。
37023 \begin_layout Standard
37024 他に、鍵設定ファイルをテキストエディタで編集することによって、捷径を編集することもできます。。各項目の文法は
37027 \begin_layout Standard
37033 \begin_inset Quotes eld
37037 \begin_inset Quotes erd
37041 \begin_inset Quotes eld
37045 \begin_inset Quotes erd
37051 \begin_inset Newline newline
37057 \begin_layout Subsection
37059 \begin_inset CommandInset label
37061 name "sub:キーボード配置表"
37066 \begin_inset Index idx
37069 \begin_layout Plain Layout
37070 きーぼーどはいちひょう@キーボード配置表
37076 \begin_inset Index idx
37079 \begin_layout Plain Layout
37080 せってい@設定 ! きぼどはいちひよう@キーボード配置表
37088 \begin_layout Standard
37089 通常、キーボードの設定は、お使いのオペレーティングシステムのメニューで行います。これができない場合のために、LyXではキーボード配置表を使用することができます。
37090 例えば、チェコ語キーボードを持っているけれども、ルーマニア語用のもののように動作させるには、
37098 というファイル名のキーボード配置表を選択するします。
37101 \begin_layout Standard
37102 第1・第2キーボード配列表を指定することもでき、
37109 arg "keymap-primary"
37115 arg "keymap-secondary"
37118 で第2キーボードを選択することができ、
37121 arg "keymap-toggle"
37124 で二つの間を行き来することができます。
37127 \begin_layout Standard
37128 \begin_inset Note Greyedout
37131 \begin_layout Plain Layout
37136 キーボード配置表はありあわせとして提供されているもので、全てのシステムで動作するわけではありません。
37144 \begin_layout Standard
37149 を指定することができます。標準の値は1.0となっており、数値を上げるとスクロール速度が上がり、数値を下げるとスクロール速度が下がります。
37152 \begin_layout Standard
37158 \begin_inset Flex Ruby
37161 \begin_layout Plain Layout
37163 \begin_inset Argument post:1
37166 \begin_layout Plain Layout
37177 を選択することができます。この鍵が押されたままマウスホイールを回転させると、文章が拡大します。
37180 \begin_layout Subsection
37184 \begin_layout Standard
37186 \begin_inset CommandInset ref
37188 reference "sec:入力補完"
37195 \begin_layout Section
37197 \begin_inset CommandInset label
37204 \begin_inset Index idx
37207 \begin_layout Plain Layout
37214 \begin_inset Index idx
37217 \begin_layout Plain Layout
37218 せってい@設定 ! でぃれくとり@ディレクトリ
37226 \begin_layout Standard
37227 LyXが使用する様々なリソースへのパスは、通常は導入作業中に決定されます。しかし、これらを変更したいこともあるかもしれません。
37230 \begin_layout Description
37231 作業ディレクトリ これはLyXの作業ディレクトリです。ファイルを
37246 \begin_layout Description
37249 は、ファイル\SpecialChar \menuseparator
37252 メニューを使用したときに開かれるディレクトリです。
37255 \begin_layout Description
37258 ファイル\SpecialChar \menuseparator
37265 ボタンを押すと、ここに指定したディレクトリが開かれます。
37266 \begin_inset Newline newline
37270 \begin_inset Note Greyedout
37273 \begin_layout Plain Layout
37278 MacOSやWindowsシステムでLyXを使用しているときには、用例ボタンはありません。
37286 \begin_layout Description
37288 \begin_inset Index idx
37291 \begin_layout Plain Layout
37292 ばっくあっぷ@バックアップ ! でぃれくとり@ディレクトリ
37297 バックアップコピーはこのディレクトリに保存されます。この欄が空白で、第
37298 \begin_inset CommandInset ref
37300 reference "sub:文書のバックアップ"
37304 節にあるようにバックアップが有効にされていると、作業ディレクトリがバックアップを保存するのに使用されます。
37305 \begin_inset Newline newline
37308 バックアップファイルは、「.lyx~」という拡張子を持ちます。
37311 \begin_layout Description
37316 \begin_layout Plain Layout
37323 Xサーバーパイプ ここには、Unixパイプ名を入れることができます。このパイプは、外部プログラムからLyXにデータを送るのに使用されます。
37324 \begin_inset Newline newline
37335 というBibTeXデータベースを付加します。このファイルは、
37347 の中で、LyX側で設定したのと同じUNIXパイプを指定しなくてはなりません。データベースの一項目を引用として索きたい場合には、
37351 中でその項目を選択して、LyXマークをクリックしてください。使用中のLyXファイルの、カーソルのある位置に、その項目が引用として挿入されます。もちろん、
37355 とLyXは同時に実行されている必要があります。
37356 \begin_inset Newline newline
37364 \begin_inset CommandInset ref
37366 reference "sub:文書のバックアップ"
37371 \begin_inset Newline newline
37374 LyXサーバーバイプをWindowsで使用するには、下記のパイプ名を使用しなくてはなりません。
37375 \begin_inset Newline newline
37391 \begin_layout Description
37392 一時ディレクトリ 一時ファイルはこのディレクトリに保存されます。
37395 \begin_layout Description
37396 類語辞典辞書 類語辞典辞書が置いてあるディレクトリです。これは、指定なしだと類語辞典機能が動作しない場合や、自製ないし別の辞書を使用したい場合以外では、指定する
37400 \begin_layout Description
37401 Hunspell辞書 スペルチェックプログラム
37405 の辞書が置いてあるディレクトリです。これは、
37409 を使用していて、指定なしだと類語辞典機能が動作しない場合や、自製ないし別の辞書を使用したい場合以外では、指定する必要はありません。Windows版LyXでは、
37413 は唯一使用できるスペルチェッカーであり、ディレクトリを指定しなくても動作するはずです。
37416 \begin_layout Description
37417 PATH前置句 このフィールドには、外部プログラムへのパスのリストを書き込みます。LyXが外部プログラムを使用する必要があるとき、システム上でそれを見つけるのに
37418 、LyXはこのリストを参照します。WindowsとMacシステムでは、パス・リストはLyX設定時に自動的に設定されますので、通常修正する必要はありません。Uni
37419 xあるいはLinuxシステムにおいては、通常のシステムパス($PATH)にない外部プログラムを使いたいときのみ、このパスを設定する必要があります。
37422 \begin_layout Description
37423 TEXINPUTS前置句 TEXINPUTS環境変数を用いると、TeXコードか文書プリアンブルに書き込んだコマンドによって、LyX文書に外部ファイルをインクルー
37424 ドさせて利用することができるようになります。この前置句には、既定では、文書ディレクトリが含まれています(ピリオド記号「.」として表されます)。前置句には、OSの既
37425 定区切り(UNIX派生システムでは「:」、Windowsでは「;」)で区切ることによって、いくつものパスを並べることができます。ファイルがインクルードされると、
37426 TEXINPUTS前置句に列挙されたパスで、インプットファイルが検索されます。TEXINPUTS前置句に列挙されたもののうち、絶対パスでないものは、LyXファイ
37427 ルのあるディレクトリからの相対パスとして解釈されるので注意してください。文書によってはコンパイルに失敗する可能性があるので、パスの一つには、常に「.」を含めること
37431 \begin_layout Section
37435 \begin_layout Standard
37436 ここには、ご自身の名前と電子メールアドレスを入力することができます。利用者情報は、第
37437 \begin_inset CommandInset ref
37439 reference "sec:変更追跡機能"
37443 節で説明されている変更追跡機能を有効にしているときに、あなたが変更を加えたことを示すために使用されます。
37446 \begin_layout Section
37448 \begin_inset Index idx
37451 \begin_layout Plain Layout
37452 げんご@言語 ! せってい@------設定
37458 \begin_inset Index idx
37461 \begin_layout Plain Layout
37462 せってい@設定 ! げんご@言語------
37470 \begin_layout Subsection
37472 \begin_inset CommandInset label
37481 \begin_layout Description
37482 操作画面用言語 ここではLyXのメニューで使用される言語を選択することができます。現在の翻訳状況については、
37483 \begin_inset CommandInset href
37485 target "http://www.lyx.org/l18n"
37492 \begin_layout Description
37493 言語パッケージ これは言語関連項目を取り扱うのに読み込むべきLaTeXパッケージを定義します。ここで指定したパッケージが取り扱うべき言語関連項目は、適切なハイフ
37494 ネーションのほか、「章」や「表」などの文字列や日付などの現地語化が含まれます。もっともよく使われる言語パッケージは
37499 \begin_inset Index idx
37502 \begin_layout Plain Layout
37503 latexはつけじ@LaTeXパッケージ ! babel
37508 であり、これは古くからLaTeXの標準言語パッケージとなっています。しかしながら、XeTeXやLuaTeXのような比較的新しい組版エンジンでは、これらのエンジン
37509 のマルチスクリプトサポートに適した別の言語パッケージ
37514 \begin_inset Index idx
37517 \begin_layout Plain Layout
37518 latexはつけじ@LaTeXパッケージ ! polyglossia
37523 が使用されています。さらに、babelでカバーされていない言語向けの言語パッケージもあります。使用できるものは、第
37524 \begin_inset CommandInset ref
37533 \begin_layout Description
37534 開始コマンド ある文書言語を書くときに特別なLaTeXパッケージが必要とされる場合、ここにそのパッケージを開始するコマンドを指定することができます。例えば、
37538 パッケージを使用してアラビア語を書くときに必要とされる開始コマンド
37545 \begin_inset CommandInset citation
37559 selectlanguage{$$lang}
37564 \begin_layout Description
37565 終了コマンド コマンド開始の反対です。既定値のようにいくつかのパッケージは、開始コマンドがパッケージの入切を行うので、終了コマンドを必要としません。
37568 \begin_layout Description
37569 既定小数点 表で使用する小数点を定義します(小数点揃え用)。
37572 \begin_layout Description
37573 長さ単位の既定値 LyXのダイアログ内で用いる、長さの単位の既定値を指定します。
37576 \begin_layout Description
37577 言語を大域的に設定 このオプションを有効にすると、この文書で使われている言語は、文書クラスオプションとして追加され、すべてのLaTeXパッケージで使用されるよう
37582 パッケージのオプションとして使用されるのみです。
37585 \begin_layout Description
37586 自動開始 このオプションを有効にすると、文書は選択した文書言語で開始されます。このオプションが有効でないときには、LaTeX出力において、
37590 が文書の最初で明示的に使用されます。これによって、既定値でない
37594 を使用しているときに、正しい言語が使用されることを確実にします。
37597 \begin_layout Description
37598 自動終了 自動開始の反対です。これが有効でないときには、終了コマンドが文書の最後で使用されます。
37601 \begin_layout Description
37602 外国語をマークする 文書言語と異なる言語に指定されている文章は、青い下線で表示されます。
37605 \begin_layout Description
37606 右から左書きの言語をサポート アラビア語・ヘブライ語・ペルシア語のように、右から左へ書く言語(RTL言語)を使用できるようにします。
37609 \begin_layout Description
37610 カーソルの動き RTL言語で、左(右)矢印
37611 \begin_inset Flex Ruby
37614 \begin_layout Plain Layout
37616 \begin_inset Argument post:1
37619 \begin_layout Plain Layout
37630 が視覚的に左(右)に動くようにするのか、それとも論理的に動くようにするのかを定義することができます。論理的とは、カーソルがRTL言語で書かれた文章の中にあるとき
37631 に、例えば、右矢印鍵を押すとカーソルが左に動くということです。
37634 \begin_layout Subsection
37638 \begin_layout Standard
37640 \begin_inset CommandInset ref
37642 reference "sec:スペルチェック"
37649 \begin_layout Section
37653 \begin_layout Subsection
37657 \begin_layout Description
37660 ファイル\SpecialChar \menuseparator
37661 書き出し\SpecialChar \menuseparator
37664 メニューを使用したときに、一行に印字する最大の文字数を設定します。行幅を0にすると、すべての文章が、改行なしに一行に印字されることを意味します。
37667 \begin_layout Description
37669 \begin_inset Index idx
37672 \begin_layout Plain Layout
37679 \begin_inset Index idx
37682 \begin_layout Plain Layout
37683 せってい@設定 ! ひづけしょしき@日付書式
37689 \begin_inset Newline newline
37693 \begin_inset Flex URL
37696 \begin_layout Plain Layout
37698 http://unixhelp.ed.ac.uk/CGI/man-cgi?date
37704 \begin_inset Newline newline
37707 に挙げてある書式のひとつないしは組み合わせです。
37708 \begin_inset Newline newline
37712 \begin_inset Newline newline
37716 \begin_inset Newline newline
37719 という書式は、「年/月/日」の形式の日付を印字します。
37722 \begin_layout Description
37723 書き出し時の上書き LyXの書き出し時に、何を上書きして良いかを設定します。
37726 \begin_layout Description
37729 移動\SpecialChar \menuseparator
37732 メニューで使用されるコマンドです。詳細については、取扱説明書『
37743 \begin_layout Subsection
37745 \begin_inset CommandInset label
37752 \begin_inset Index idx
37755 \begin_layout Plain Layout
37762 \begin_inset Index idx
37765 \begin_layout Plain Layout
37774 \begin_layout Description
37775 既定プリンタ ここではお使いの既定プリンタ名を指定できます。プリンタ名は、
37780 \begin_inset Newline newline
37784 \begin_inset Note Greyedout
37787 \begin_layout Plain Layout
37792 Windowsシステムでは効力がないのでこのフィールドは空でかまいません。
37800 \begin_layout Description
37801 印刷コマンド これはLyXすなわちLaTeXが印刷に使用するコマンドです。既定値は、ほとんどのシステムで
37808 \begin_layout Description
37809 印刷コマンドオプション ここでは印刷コマンド用オプションを指定できます。お使いの印刷コマンドを提供するプログラムの取扱説明書に、印刷オプションの全覧と説明があり
37813 \begin_layout Description
37814 出力をプリンタに合わせる このオプションは、
37822 」のときのみ機能します。これはdvips用の設定ファイルを有効化します。これはdvips熟練者専用のオプションです。
37825 \begin_layout Subsection
37830 \begin_layout Plain Layout
37838 \begin_inset CommandInset label
37840 name "sub:LaTeX-設定"
37845 \begin_inset Index idx
37848 \begin_layout Plain Layout
37857 \begin_layout Description
37862 \begin_layout Plain Layout
37869 X文字コード これは文書フォントの既定文字コードです。
37873 が既定値で、西欧諸言語と記号を含んでいます。
37897 」のように文字コードを組み合わせることも可能です。フォント文字コードは、通常、LyXがバックグラウンドで設定する言語パッケージによって自動的に読み込まれます。で
37898 すから、既定の文字コードを変更する必要はありません。
37901 \begin_layout Description
37902 既定の用紙寸法 これは新規文書で使用される用紙寸法です。既定値はお使いのLaTeXシステムの設定に依存します。
37905 \begin_layout Description
37910 がDVIビューアとして使用されているときのみ有効です。詳細については、
37917 \begin_layout Standard
37918 ここでは、処理プログラムのオプションとパラメータ付きコマンドを指定することもできます。しかし、ここで何かを変更する前に、当該アプリケーションの取扱説明書を読むこ
37922 \begin_layout Description
37923 書誌情報の生成 書誌情報を生成するための設定。第
37924 \begin_inset CommandInset ref
37926 reference "sub:文献データベース"
37933 \begin_layout Description
37934 索引の生成 索引を生成するための設定。第
37935 \begin_inset CommandInset ref
37937 reference "sub:索引プログラム"
37944 \begin_layout Description
37945 用語集コマンド 用語集を生成するプログラムのコマンド。第
37946 \begin_inset CommandInset ref
37948 reference "sub:用語集プログラム"
37955 \begin_layout Description
37960 \begin_layout Plain Layout
37982 \begin_layout Standard
37986 \begin_layout Description
37987 LaTeXファイルでWindows流のパス表記を使う Windowsのパス記法を使用します。すなわち、フォルダを区切るのに「/」ではなく「
37989 」を使用します。このオプションは、LyXをWindows上で使用する際には、既定で有効化されています。
37990 \begin_inset Index idx
37993 \begin_layout Plain Layout
38000 \begin_inset Index idx
38003 \begin_layout Plain Layout
38012 \begin_layout Description
38013 文書クラス変更時にクラスオプションをリセットする 文書クラスを変更する際、文書\SpecialChar \menuseparator
38014 設定\SpecialChar \menuseparator
38019 で手動設定したものをすべて削除します。
38022 \begin_layout Section
38024 \begin_inset Index idx
38027 \begin_layout Plain Layout
38036 \begin_layout Subsection
38038 \begin_inset CommandInset label
38045 \begin_inset Index idx
38048 \begin_layout Plain Layout
38057 \begin_layout Standard
38058 ここには、一つの形式から別の形式へ変換する定義済み変換コマンドが一覧表示されます。これらは修正したり新しいものを作ったりすることができます。変換子を修正するには
38071 ボタンを押します。新しい変換子を作るには、既存の変換子をどれか選択してから、
38075 ドロップダウンリストで別の形式を選択し、
38086 \begin_layout Standard
38095 フィールドで指定されている期間のあいだ、変換がキャッシュされます。つまり、キャッシュの変換済み画像が代わりに使用されるため、文書を再度開いたときに画像を再変換す
38099 \begin_layout Standard
38100 変換子定義で使うことのできる変数やフラグなど、変換子についての詳細は、取扱説明書『
38111 \begin_layout Subsection
38113 \begin_inset Index idx
38116 \begin_layout Plain Layout
38123 \begin_inset CommandInset label
38132 \begin_layout Standard
38133 ここでは、LyXが扱うことのできる定義済みファイル形式が一覧表示されています。特定のファイル形式に使用する、閲覧プログラムや編集プログラムを変更することができま
38137 \begin_layout Standard
38165 \begin_layout Standard
38166 さらに、編集メニューやツールバーで「表示」「更新」「親文書を表示」「親文書を更新」を選んだときに使用される「既定出力形式」を定義することができます。
38169 \begin_layout Standard
38170 形式定義で使うことのできるオプションなど、ファイル形式について詳しくは、取扱説明書『
38181 \begin_layout Standard
38182 ある形式から他の形式への変換は、すべてLyXの一時ディレクトリで行われているので、変換がうまく行くためには、一時ディレクトリにファイルをコピー(複写)する前に、
38183 ファイルに変更を加える必要があることがあります。これは、
38187 を指定することによってなされます。複写子について詳しくは、取扱説明書『
38198 \begin_layout Chapter
38200 \begin_inset CommandInset label
38202 name "cha:LyXで使用できる単位"
38207 \begin_inset Index idx
38210 \begin_layout Plain Layout
38219 \begin_layout Standard
38220 この文書で用いられる単位の理解のために、表
38221 \begin_inset CommandInset ref
38227 に、LyXで使うことのできる単位をまとめておきます。
38230 \begin_layout Standard
38231 \begin_inset Float table
38237 \begin_layout Plain Layout
38238 \begin_inset Caption Standard
38240 \begin_layout Plain Layout
38241 \begin_inset CommandInset label
38255 \begin_layout Plain Layout
38256 \begin_inset VSpace medskip
38262 \begin_layout Plain Layout
38264 \begin_inset Tabular
38265 <lyxtabular version="3" rows="20" columns="2">
38266 <features rotate="0" tabularvalignment="middle">
38267 <column alignment="center" valignment="top">
38268 <column alignment="center" valignment="top">
38270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38273 \begin_layout Plain Layout
38279 <cell alignment="center" valignment="top" topline="true" bottomline="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
38310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38313 \begin_layout Plain Layout
38319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38322 \begin_layout Plain Layout
38330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38333 \begin_layout Plain Layout
38339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38342 \begin_layout Plain Layout
38350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38353 \begin_layout Plain Layout
38359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38362 \begin_layout Plain Layout
38364 \begin_inset Formula $\,$
38368 \begin_inset Formula $\,$
38378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38381 \begin_layout Plain Layout
38387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38390 \begin_layout Plain Layout
38392 \begin_inset Formula $\,$
38396 \begin_inset Formula $\,$
38406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38409 \begin_layout Plain Layout
38415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38418 \begin_layout Plain Layout
38420 \begin_inset Formula $\,$
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
38476 \begin_inset Formula $\,$
38480 \begin_inset Formula $\approx$
38484 \begin_inset Formula $\,$
38494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38497 \begin_layout Plain Layout
38503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38506 \begin_layout Plain Layout
38508 \begin_inset Formula $\,$
38512 \begin_inset Formula $\,$
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" leftline="true" usebox="none">
38645 \begin_layout Plain Layout
38651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38654 \begin_layout Plain Layout
38662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38665 \begin_layout Plain Layout
38671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38674 \begin_layout Plain Layout
38682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38685 \begin_layout Plain Layout
38691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38694 \begin_layout Plain Layout
38702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38705 \begin_layout Plain Layout
38711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38714 \begin_layout Plain Layout
38716 \begin_inset Formula $\,$
38720 \begin_inset Formula $\,$
38741 \begin_layout Chapter
38743 \begin_inset CommandInset label
38752 \begin_layout Standard
38762 この取扱説明書は、さまざまな人たちの共同作業によって作られました(そしてあなたにも貢献してほしいのです)。
38765 \begin_layout Itemize
38768 Alejandro Aguilar Sierra
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
38813 \begin_layout Itemize
38816 Lars Gullik Bjønnes
38819 \begin_layout Itemize
38825 \begin_layout Itemize
38831 \begin_layout Itemize
38837 \begin_layout Itemize
38843 \begin_layout Itemize
38849 \begin_layout Itemize
38855 \begin_layout Itemize
38861 \begin_layout Itemize
38867 \begin_layout Itemize
38869 \begin_inset CommandInset citation
38878 \begin_layout Paragraph
38891 \begin_layout Itemize
38895 \begin_layout Itemize
38899 \begin_layout Itemize
38903 \begin_layout Itemize
38907 \begin_layout Itemize
38911 \begin_layout Standard
38912 \begin_inset Newpage newpage
38918 \begin_layout Standard
38926 \begin_layout Bibliography
38927 \begin_inset CommandInset bibitem
38928 LatexCommand bibitem
38935 \begin_inset CommandInset href
38938 target "http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/CREDITS"
38943 \begin_inset Newline newline
38947 \begin_inset Flex URL
38950 \begin_layout Plain Layout
38952 http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/CREDITS
38960 \begin_layout Bibliography
38961 \begin_inset CommandInset bibitem
38962 LatexCommand bibitem
38963 key "latexcompanion"
38967 Frank Mittelbach and Michel Goossens:
38969 The LaTeX Companion Second Edition.
38972 Addison-Wesley, 2004(邦訳 「The LaTeXコンパニオン」アスキー書籍編集部監訳、アスキー出版局、1998)
38975 \begin_layout Bibliography
38976 \begin_inset CommandInset bibitem
38977 LatexCommand bibitem
38982 Helmut Kopka and Patrick W.
38985 A Guide to LaTeX Fourth Edition.
38988 Addison-Wesley, 2003
38991 \begin_layout Bibliography
38992 \begin_inset CommandInset bibitem
38993 LatexCommand bibitem
39000 LaTeX: A Document Preparation System.
39003 Addison-Wesley, second edition, 1994(第1版の邦訳は 「LaTeX〜文書処理システム〜」大野俊治他訳、アスキー出版局、19
39007 \begin_layout Bibliography
39008 \begin_inset CommandInset bibitem
39009 LatexCommand bibitem
39021 Addison-Wesley, 1984(邦訳 「TeXブック〜コンピュ−タによる組版システム〜(改訂新版)」鷺谷好輝訳 、アスキー出版局、1992)
39024 \begin_layout Bibliography
39025 \begin_inset CommandInset bibitem
39026 LatexCommand bibitem
39032 \begin_inset Newline newline
39036 \begin_inset Flex URL
39039 \begin_layout Plain Layout
39041 http://mirrors.ctan.org/help/Catalogue/bytopic.html
39049 \begin_layout Bibliography
39050 \begin_inset CommandInset bibitem
39051 LatexCommand bibitem
39057 \begin_inset Newline newline
39061 \begin_inset Flex URL
39064 \begin_layout Plain Layout
39066 http://www.tex.ac.uk/cgi-bin/texfaq2html
39074 \begin_layout Bibliography
39075 \begin_inset CommandInset bibitem
39076 LatexCommand bibitem
39086 \begin_inset CommandInset href
39089 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf"
39094 \begin_inset Newline newline
39098 \begin_inset Flex URL
39101 \begin_layout Plain Layout
39103 http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf
39111 \begin_layout Bibliography
39112 \begin_inset CommandInset bibitem
39113 LatexCommand bibitem
39123 \begin_inset CommandInset href
39126 target "http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
39131 \begin_inset Newline newline
39135 \begin_inset Flex URL
39138 \begin_layout Plain Layout
39140 http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
39148 \begin_layout Bibliography
39149 \begin_inset CommandInset bibitem
39150 LatexCommand bibitem
39160 \begin_inset CommandInset href
39163 target "http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf"
39168 \begin_inset Newline newline
39172 \begin_inset Flex URL
39175 \begin_layout Plain Layout
39177 http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf
39185 \begin_layout Bibliography
39186 \begin_inset CommandInset bibitem
39187 LatexCommand bibitem
39197 \begin_inset CommandInset href
39200 target "http://www.xindy.org/documentation.html"
39205 \begin_inset Newline newline
39209 \begin_inset Flex URL
39212 \begin_layout Plain Layout
39214 http://www.xindy.org/documentation.html
39222 \begin_layout Bibliography
39223 \begin_inset CommandInset bibitem
39224 LatexCommand bibitem
39230 \begin_inset CommandInset href
39233 target "http://www.ams.org/publications/authors/tex/amslatex"
39238 \begin_inset Newline newline
39242 \begin_inset Flex URL
39245 \begin_layout Plain Layout
39247 http://www.ams.org/publications/authors/tex/amslatex
39255 \begin_layout Bibliography
39256 \begin_inset CommandInset bibitem
39257 LatexCommand bibitem
39267 \begin_inset Index idx
39270 \begin_layout Plain Layout
39271 latexはつけじ@LaTeXパッケージ ! caption
39277 \begin_inset CommandInset href
39280 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
39285 \begin_inset Newline newline
39289 \begin_inset Flex URL
39292 \begin_layout Plain Layout
39294 http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf
39302 \begin_layout Bibliography
39303 \begin_inset CommandInset bibitem
39304 LatexCommand bibitem
39314 \begin_inset Index idx
39317 \begin_layout Plain Layout
39318 latexはつけじ@LaTeXパッケージ ! enumitem
39324 \begin_inset CommandInset href
39327 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
39332 \begin_inset Newline newline
39336 \begin_inset Flex URL
39339 \begin_layout Plain Layout
39341 http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
39349 \begin_layout Bibliography
39350 \begin_inset CommandInset bibitem
39351 LatexCommand bibitem
39361 \begin_inset Index idx
39364 \begin_layout Plain Layout
39365 latexはつけじ@LaTeXパッケージ ! fancyhdr
39371 \begin_inset CommandInset href
39374 target "http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
39379 \begin_inset Newline newline
39383 \begin_inset Flex URL
39386 \begin_layout Plain Layout
39388 http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf
39396 \begin_layout Bibliography
39397 \begin_inset CommandInset bibitem
39398 LatexCommand bibitem
39408 \begin_inset Index idx
39411 \begin_layout Plain Layout
39412 latexはつけじ@LaTeXパッケージ ! hyperref
39418 \begin_inset CommandInset href
39421 target "http://www.ctan.org/pkg/hyperref"
39426 \begin_inset Newline newline
39430 \begin_inset Flex URL
39433 \begin_layout Plain Layout
39435 http://www.ctan.org/pkg/hyperref
39443 \begin_layout Bibliography
39444 \begin_inset CommandInset bibitem
39445 LatexCommand bibitem
39455 \begin_inset Index idx
39458 \begin_layout Plain Layout
39459 latexはつけじ@LaTeXパッケージ ! nomencl
39465 \begin_inset CommandInset href
39468 target "http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
39473 \begin_inset Newline newline
39477 \begin_inset Flex URL
39480 \begin_layout Plain Layout
39482 http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
39490 \begin_layout Bibliography
39491 \begin_inset CommandInset bibitem
39492 LatexCommand bibitem
39502 \begin_inset Index idx
39505 \begin_layout Plain Layout
39506 latexはつけじ@LaTeXパッケージ ! prettyref
39512 \begin_inset CommandInset href
39515 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
39520 \begin_inset Newline newline
39524 \begin_inset Flex URL
39527 \begin_layout Plain Layout
39529 http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
39537 \begin_layout Bibliography
39538 \begin_inset CommandInset bibitem
39539 LatexCommand bibitem
39549 \begin_inset Index idx
39552 \begin_layout Plain Layout
39553 latexはつけじ@LaTeXパッケージ ! refstyle
39559 \begin_inset CommandInset href
39562 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
39567 \begin_inset Newline newline
39571 \begin_inset Flex URL
39574 \begin_layout Plain Layout
39576 http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf
39584 \begin_layout Bibliography
39585 \begin_inset CommandInset bibitem
39586 LatexCommand bibitem
39591 アラビア語用にLyXを設定する方法を述べた
39592 \begin_inset CommandInset href
39595 target "http://wiki.lyx.org/Windows/Arabic"
39600 \begin_inset Newline newline
39604 \begin_inset Flex URL
39607 \begin_layout Plain Layout
39609 http://wiki.lyx.org/Windows/Arabic
39617 \begin_layout Bibliography
39618 \begin_inset CommandInset bibitem
39619 LatexCommand bibitem
39624 アルメニア語用にLyXを設定する方法を述べた
39625 \begin_inset CommandInset href
39628 target "http://wiki.lyx.org/Windows/Armenian"
39633 \begin_inset Newline newline
39637 \begin_inset Flex URL
39640 \begin_layout Plain Layout
39642 http://wiki.lyx.org/Windows/Armenian
39650 \begin_layout Bibliography
39651 \begin_inset CommandInset bibitem
39652 LatexCommand bibitem
39657 キリル語用にLyXを設定する方法を述べた
39658 \begin_inset CommandInset href
39661 target "http://wiki.lyx.org/Windows/Cyrillic"
39666 \begin_inset Newline newline
39670 \begin_inset Flex URL
39673 \begin_layout Plain Layout
39675 http://wiki.lyx.org/Windows/Cyrillic
39683 \begin_layout Bibliography
39684 \begin_inset CommandInset bibitem
39685 LatexCommand bibitem
39690 ペルシア語用にLyXを設定する方法を述べた
39691 \begin_inset CommandInset href
39694 target "http://wiki.lyx.org/Windows/Farsi"
39699 \begin_inset Newline newline
39703 \begin_inset Flex URL
39706 \begin_layout Plain Layout
39708 http://wiki.lyx.org/Windows/Farsi
39716 \begin_layout Bibliography
39717 \begin_inset CommandInset bibitem
39718 LatexCommand bibitem
39723 ヘブライ語用にLyXを設定する方法を述べた
39724 \begin_inset CommandInset href
39727 target "http://wiki.lyx.org/Windows/Hebrew"
39732 \begin_inset Newline newline
39736 \begin_inset Flex URL
39739 \begin_layout Plain Layout
39741 http://wiki.lyx.org/Windows/Hebrew
39749 \begin_layout Bibliography
39750 \begin_inset CommandInset bibitem
39751 LatexCommand bibitem
39756 日本語用にLyXを設定する方法を述べた
39757 \begin_inset CommandInset href
39760 target "http://wiki.lyx.org/Windows/Japanese"
39765 \begin_inset Newline newline
39769 \begin_inset Flex URL
39772 \begin_layout Plain Layout
39774 http://wiki.lyx.org/Windows/Japanese
39782 \begin_layout Bibliography
39783 \begin_inset CommandInset bibitem
39784 LatexCommand bibitem
39789 ラトビア語用にLyXを設定する方法を述べた
39790 \begin_inset CommandInset href
39793 target "http://wiki.lyx.org/Windows/Latvian"
39798 \begin_inset Newline newline
39802 \begin_inset Flex URL
39805 \begin_layout Plain Layout
39807 http://wiki.lyx.org/Windows/Latvian
39815 \begin_layout Bibliography
39816 \begin_inset CommandInset bibitem
39817 LatexCommand bibitem
39822 リトアニア語用にLyXを設定する方法を述べた
39823 \begin_inset CommandInset href
39826 target "http://wiki.lyx.org/Windows/Lithuanian"
39831 \begin_inset Newline newline
39835 \begin_inset Flex URL
39838 \begin_layout Plain Layout
39840 http://wiki.lyx.org/Windows/Lithuanian
39848 \begin_layout Bibliography
39849 \begin_inset CommandInset bibitem
39850 LatexCommand bibitem
39855 モンゴル語用にLyXを設定する方法を述べた
39856 \begin_inset CommandInset href
39859 target "http://wiki.lyx.org/Windows/Mongolian"
39864 \begin_inset Newline newline
39868 \begin_inset Flex URL
39871 \begin_layout Plain Layout
39873 http://wiki.lyx.org/Windows/Mongolian
39881 \begin_layout Bibliography
39882 \begin_inset CommandInset bibitem
39883 LatexCommand bibitem
39888 ベトナム語用にLyXを設定する方法を述べた
39889 \begin_inset CommandInset href
39892 target "http://wiki.lyx.org/Windows/Vietnamese"
39897 \begin_inset Newline newline
39901 \begin_inset Flex URL
39904 \begin_layout Plain Layout
39906 http://wiki.lyx.org/Windows/Vietnamese
39914 \begin_layout Bibliography
39915 \begin_inset CommandInset bibitem
39916 LatexCommand bibitem
39926 \begin_inset CommandInset href
39929 target "http://wiki.lyx.org/LyX/NewInLyX20"
39934 \begin_inset Newline newline
39938 \begin_inset Flex URL
39941 \begin_layout Plain Layout
39943 http://wiki.lyx.org/LyX/NewInLyX20
39951 \begin_layout Standard
39952 \begin_inset Newpage newpage
39959 \begin_layout Plain Layout
39970 \begin_layout Plain Layout
39984 \begin_inset Note Note
39987 \begin_layout Plain Layout
39994 コマンドは、現在の文書言語での書誌情報名です。ここでは最後に、以下の書誌情報が第二書誌情報一覧であることを示すために、それを番号2でもって再定義しています。
40002 \begin_layout Standard
40003 \begin_inset CommandInset bibtex
40004 LatexCommand bibtex
40005 bibfiles "../biblio/LyXDocs"
40006 options "../biblio/alphadin"
40013 \begin_layout Standard
40014 上記の文献一覧は、BibTeXデータベースから生成されたものです。
40017 \begin_layout Standard
40021 \begin_layout Plain Layout
40036 \begin_layout Plain Layout
40042 pagedeclaration}[1]{ (#1頁参照)}
40050 \begin_layout Standard
40051 \begin_inset CommandInset nomencl_print
40052 LatexCommand printnomenclature
40060 \begin_layout Standard
40061 \begin_inset CommandInset index_print
40062 LatexCommand printindex