1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 %% Added by the translator
8 % Correction for PDF bookmarks
9 %\usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,bookmarkstype=toc]{hyperref}
10 \ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else
11 \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi
17 % set fonts for nicer pdf view
18 \IfFileExists{lmodern.sty}
19 {\usepackage{lmodern}}{}
21 \fi % end if pdflatex is used
23 % that links to image floats jumps
24 % to the beginning of the float and
26 \usepackage[figure]{hypcap}
28 % the pages of the TOC is numbered roman
29 % and a PDF-bookmark for the TOC is added
30 \let\myTOC\tableofcontents
31 \renewcommand\tableofcontents{%
33 \pdfbookmark[1]{\contentsname}{}
37 % provides caption formatting
38 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
40 % provides commands to set caption
41 % beside tables/images
42 \newcommand{\TabBesBeg}[1][1.0]{%
44 \let\MyEndtable\endtable
45 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
47 \newcommand{\TabBesEnd}{%
49 \let\endtable\MyEndtable}
51 \newcommand{\FigBesBeg}[1][1.0]{%
53 \let\MyEndfigure\endfigure
54 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
56 \newcommand{\FigBesEnd}{%
58 \let\endfigure\MyEndfigure}
60 % enables calculation of values,
63 % increase the bottom float placement fraction
64 \renewcommand{\bottomfraction}{0.5}
66 % avoids that floats are placed before their
67 % corresponding section starts
68 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
70 % speed up the longtable calculation
71 \setcounter{LTchunksize}{100}
73 % used for scaled and rotated boxes
74 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
76 % used for colored tables
77 \@ifundefined{textcolor}
78 {\usepackage{color}}{}
79 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
80 \definecolor{lightgrey}{gray}{0.8}
82 % check for package colortbl
83 % used for colored table cells
85 \IfFileExists{colortbl.sty}
86 {\usepackage{colortbl}
87 \setboolean{colortbl}{true}}
88 {\setboolean{colortbl}{false}}
90 % used for colored table rows
91 \usepackage[table]{xcolor}
93 % used to have extra space in table cells
94 \@ifundefined{extrarowheight}
95 {\usepackage{array}}{}
96 \setlength{\extrarowheight}{2pt}
98 % used for customized tables
101 {>{\centering\hspace{0pt}}m{#1}}
104 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
107 {>{\columncolor{#1}\hspace{0pt}}c}
109 \newcolumntype{V}{!{\vrule width 1.5pt}}
111 \newcolumntype{W}{!{\color{green}\vline}}
114 % insert additional vertical space of
115 % 1.5 mm between footnotes
117 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
119 % number algorithm floats within chapters
120 \numberwithin{algorithm}{chapter}
123 % ------------------------------------
124 % used to check for needed LaTeX packages
127 % check for package arydshln
128 % used for tables with dashed lines
129 \newboolean{arydshln}
130 \IfFileExists{arydshln.sty}
131 {\usepackage{arydshln}
132 \setboolean{arydshln}{true}}
133 {\setboolean{arydshln}{false}}
135 % check for package marginnote
136 % used for margin notes
137 \newboolean{marginnote}
138 \IfFileExists{marginnote.sty}
139 {\usepackage{marginnote}
140 \let\marginpar\marginnote
141 \setboolean{marginnote}{true}}
142 {\setboolean{marginnote}{false}}
144 % check for package sidecap
145 % used for captions on the side
147 \IfFileExists{sidecap.sty}
148 {% \usepackage{sidecap} % This breaks title fonts with pLaTeX
149 \setboolean{sidecap}{true}}
150 {\setboolean{sidecap}{false}}
153 % used for surrounded fixed objects
154 \newboolean{picinpar}
155 \IfFileExists{picinpar.sty}
156 {\usepackage{picinpar}
157 \setboolean{picinpar}{true}}
158 {\setboolean{picinpar}{false}}
161 \newboolean{lettrine}
162 \IfFileExists{lettrine.sty}
163 {\usepackage{lettrine}
164 \setboolean{lettrine}{true}}
165 {\setboolean{lettrine}{false}}
169 \IfFileExists{diagbox.sty}
170 {\usepackage{diagbox}
171 \setboolean{diagbox}{true}}
172 {\setboolean{diagbox}{false}}
175 \renewcommand{\seename}{→}
178 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
179 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
181 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
182 \use_default_options false
186 \maintain_unincluded_children false
188 InsetLayout Flex:Ruby
194 Decoration Conglomerate
197 MenuString "ルビ文(S)|S"
198 Decoration Conglomerate
208 \IfFileExists{okumacro.sty}
209 {\usepackage{okumacro}}
210 {\newcommand{\ruby}[2]{#2}}
215 \language_package default
220 \font_typewriter default
222 \font_default_family default
223 \use_non_tex_fonts false
229 \default_output_format pdf
231 \bibtex_command default
232 \index_command default
236 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
237 \pdf_author "LyX Team, Uwe Stohr"
238 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
239 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
241 \pdf_bookmarksnumbered true
242 \pdf_bookmarksopen true
243 \pdf_bookmarksopenlevel 1
244 \pdf_breaklinks false
248 \pdf_pdfusetitle false
249 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
252 \use_package amsmath 2
253 \use_package amssymb 2
254 \use_package cancel 0
256 \use_package mathdots 1
257 \use_package mathtools 0
258 \use_package mhchem 1
259 \use_package stackrel 0
260 \use_package stmaryrd 0
261 \use_package undertilde 0
263 \cite_engine_type default
267 \paperorientation portrait
271 \notefontcolor #0000ff
282 \paragraph_separation skip
284 \quotes_language english
287 \paperpagestyle default
291 \tracking_changes false
292 \output_changes false
295 \html_be_strict false
301 LyXの図表・フロート・注釈・ボックス・外部素材に関する詳細説明書
309 \begin_layout Plain Layout
311 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
312 \begin_inset CommandInset href
314 name "lyx-docs@lists.lyx.org"
315 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
326 \begin_inset Note Note
329 \begin_layout Plain Layout
336 \begin_inset Newline newline
340 \begin_inset Newline newline
348 \begin_layout Standard
349 \begin_inset CommandInset toc
350 LatexCommand tableofcontents
357 \begin_layout Standard
358 \begin_inset Note Note
361 \begin_layout Plain Layout
362 本文書の全体をPDFやPS、DVIに書き出すには、
390 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
394 \begin_layout Plain Layout
396 \begin_inset Newline newline
401 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
404 \begin_inset Newline newline
415 \begin_layout Chapter
417 \begin_inset Index idx
420 \begin_layout Plain Layout
427 \begin_inset Index idx
430 \begin_layout Plain Layout
435 \begin_layout Plain Layout
446 \begin_layout Plain Layout
461 \begin_layout Section
463 \begin_inset Index idx
466 \begin_layout Plain Layout
467 ず@図 ! がぞうだいあろぐ@画像ダイアログ
473 \begin_inset CommandInset label
482 \begin_layout Standard
483 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
488 arg "dialog-show-new-inset graphics"
495 挿入\SpecialChar \menuseparator
498 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
501 \begin_layout Standard
502 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
505 \begin_layout Description
510 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
511 \begin_inset CommandInset ref
513 reference "cha:LyXで使用できる単位"
518 \begin_inset Newline newline
522 \begin_inset Index idx
525 \begin_layout Plain Layout
531 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
532 \begin_inset Newline newline
536 \begin_inset Index idx
539 \begin_layout Plain Layout
545 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
546 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
550 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
551 \begin_inset Newline newline
554 画像を右クリックすると現れるコンテクストメニューで
558 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
562 \begin_layout Description
567 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
571 ボタンを押すことによって、自動的に計算することもできます。
575 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
578 \begin_layout Description
583 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
586 \begin_inset Newline newline
591 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
594 \begin_inset Newline newline
603 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
605 \begin_inset Newline newline
608 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
609 \begin_inset CommandInset ref
611 reference "sec:PostScript"
615 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
616 \begin_inset Newline newline
624 \begin_inset Newline newline
629 zgrep %%Bounding x.eps.gz > x.eps.bb
632 \begin_inset Newline newline
635 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
636 \begin_inset Newline newline
643 のセクションでは、画像設定グループを定義したり、既存のものに所属させたりすることができます。
644 \begin_inset Index idx
647 \begin_layout Plain Layout
648 ず@図 ! せっていぐるーぷ@設定グループ
653 これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。したが
654 って、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュー
655 を使用して、望むグループ名をチェックすることで行うこともできます。
658 \begin_layout Standard
659 \begin_inset VSpace bigskip
665 \begin_layout Standard
670 \begin_layout Plain Layout
672 \begin_inset CommandInset ref
683 の画像の例で、単独の中央揃えの段落に置いてあります。
686 \begin_layout Standard
688 \begin_inset Graphics
689 filename ../clipart/mobius.eps
699 \begin_layout Standard
700 下記は上と同じ画像ですが、下書きモードのものです。
703 \begin_layout Standard
705 \begin_inset Graphics
706 filename ../clipart/mobius.eps
717 \begin_layout Standard
718 \begin_inset Newpage newpage
724 \begin_layout Section
726 \begin_inset CommandInset label
733 \begin_inset Index idx
736 \begin_layout Plain Layout
743 \begin_inset Index idx
746 \begin_layout Plain Layout
755 \begin_layout Standard
757 \begin_inset CommandInset ref
759 reference "sec:フロートはじめに"
766 \begin_layout Standard
772 arg "float-insert figure"
779 挿入\SpecialChar \menuseparator
780 フロート\SpecialChar \menuseparator
783 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
784 \begin_inset CommandInset ref
786 reference "fig:犠牲のカモノハシ"
790 のようにキャプションの上に置くこともできますし、図
791 \begin_inset CommandInset ref
793 reference "fig:エッシャー"
797 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
798 \begin_inset CommandInset ref
800 reference "sec:キャプションの配置"
807 \begin_layout Standard
808 \begin_inset Float figure
813 \begin_layout Plain Layout
815 \begin_inset Graphics
816 filename ../clipart/platypus.eps
826 \begin_layout Plain Layout
827 \begin_inset Caption Standard
829 \begin_layout Plain Layout
830 \begin_inset CommandInset label
849 \begin_layout Standard
850 \begin_inset Float figure
855 \begin_layout Plain Layout
856 \begin_inset Caption Standard
858 \begin_layout Plain Layout
859 \begin_inset CommandInset label
873 \begin_layout Plain Layout
875 \begin_inset Graphics
876 filename ../clipart/escher-lsd.eps
891 \begin_layout Standard
892 \begin_inset Index idx
895 \begin_layout Plain Layout
896 さんしょう@参照 ! ずへの@図への ---
902 \begin_inset CommandInset ref
904 reference "fig:犠牲のカモノハシ"
909 \begin_inset CommandInset ref
911 reference "fig:エッシャー"
915 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
917 挿入\SpecialChar \menuseparator
930 を使用して、キャプションにラベルを挿入してください。その後、
932 挿入\SpecialChar \menuseparator
940 arg "dialog-show-new-inset ref"
945 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
946 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
947 \begin_inset Newline newline
951 \begin_inset CommandInset ref
953 reference "sec:フロートの参照"
960 \begin_layout Standard
961 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
962 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
963 \begin_inset CommandInset ref
965 reference "fig:歪められた二つの像"
969 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
970 \begin_inset CommandInset ref
972 reference "fig:何かわからない構造"
977 \begin_inset CommandInset ref
979 reference "fig:カモノハシ"
986 \begin_layout Standard
987 \begin_inset Float figure
992 \begin_layout Plain Layout
993 \begin_inset space \hfill{}
997 \begin_inset Float figure
1002 \begin_layout Plain Layout
1003 \begin_inset Caption Standard
1005 \begin_layout Plain Layout
1006 \begin_inset CommandInset label
1008 name "fig:何かわからない構造"
1020 \begin_layout Plain Layout
1021 \begin_inset Graphics
1022 filename ../clipart/escher-lsd.eps
1035 \begin_inset space \hfill{}
1039 \begin_inset Float figure
1044 \begin_layout Plain Layout
1045 \begin_inset Caption Standard
1047 \begin_layout Plain Layout
1048 \begin_inset CommandInset label
1062 \begin_layout Plain Layout
1063 \begin_inset Graphics
1064 filename ../clipart/platypus.eps
1077 \begin_inset space \hfill{}
1083 \begin_layout Plain Layout
1084 \begin_inset Caption Standard
1086 \begin_layout Plain Layout
1087 \begin_inset CommandInset label
1089 name "fig:歪められた二つの像"
1093 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1106 \begin_layout Standard
1107 \begin_inset Newpage newpage
1113 \begin_layout Section
1115 \begin_inset CommandInset label
1122 \begin_inset Index idx
1125 \begin_layout Plain Layout
1132 \begin_inset Index idx
1135 \begin_layout Plain Layout
1144 \begin_layout Standard
1145 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1146 \begin_inset CommandInset ref
1148 reference "cha:ファイル出力形式"
1152 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1157 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル形式に直接埋め込める画像形式のみを使
1158 用するとよいでしょう。出力ファイル形式は、付録
1159 \begin_inset CommandInset ref
1161 reference "cha:ファイル出力形式"
1168 \begin_layout Standard
1169 フォントと同じく、画像形式にも以下の二つの型があります。
1172 \begin_layout Description
1173 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1174 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1179 \begin_inset Index idx
1182 \begin_layout Plain Layout
1187 \begin_layout Plain Layout
1198 \begin_layout Plain Layout
1210 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1215 \begin_inset Index idx
1218 \begin_layout Plain Layout
1223 \begin_layout Plain Layout
1234 \begin_layout Plain Layout
1246 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1255 \begin_inset Index idx
1258 \begin_layout Plain Layout
1263 \begin_layout Plain Layout
1274 \begin_layout Plain Layout
1289 \begin_layout Description
1290 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1291 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1293 \begin_inset Newline newline
1296 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1301 \begin_inset Index idx
1304 \begin_layout Plain Layout
1309 \begin_layout Plain Layout
1320 \begin_layout Plain Layout
1332 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1337 \begin_inset Index idx
1340 \begin_layout Plain Layout
1345 \begin_layout Plain Layout
1356 \begin_layout Plain Layout
1368 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1373 \begin_inset Index idx
1376 \begin_layout Plain Layout
1382 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1387 \begin_inset Index idx
1390 \begin_layout Plain Layout
1395 \begin_layout Plain Layout
1406 \begin_layout Plain Layout
1418 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1419 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1423 \begin_layout Plain Layout
1424 PDFの場合には、さらに元画像が圧縮されます。
1433 が生成するPDFファイルは、ビットマップ画像です。
1436 \begin_layout Standard
1437 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1438 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1439 \begin_inset Formula $\to$
1442 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1445 \begin_layout Chapter
1447 \begin_inset Index idx
1450 \begin_layout Plain Layout
1459 \begin_layout Section
1461 \begin_inset Index idx
1464 \begin_layout Plain Layout
1473 \begin_layout Standard
1495 arg "tabular-insert"
1516 挿入\SpecialChar \menuseparator
1519 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1520 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1521 \begin_inset Newline newline
1524 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1525 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1528 \begin_layout Standard
1530 \begin_inset Tabular
1531 <lyxtabular version="3" rows="4" columns="4">
1532 <features rotate="0" tabularvalignment="middle">
1533 <column alignment="center" valignment="top">
1534 <column alignment="center" valignment="top">
1535 <column alignment="center" valignment="top">
1536 <column alignment="center" valignment="top">
1538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1541 \begin_layout Plain Layout
1547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1550 \begin_layout Plain Layout
1556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1559 \begin_layout Plain Layout
1565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1568 \begin_layout Plain Layout
1576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1579 \begin_layout Plain Layout
1585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1588 \begin_layout Plain Layout
1594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1597 \begin_layout Plain Layout
1603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1606 \begin_layout Plain Layout
1614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1617 \begin_layout Plain Layout
1623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1626 \begin_layout Plain Layout
1632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1635 \begin_layout Plain Layout
1641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1644 \begin_layout Plain Layout
1652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1655 \begin_layout Plain Layout
1661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1664 \begin_layout Plain Layout
1670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1673 \begin_layout Plain Layout
1679 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1682 \begin_layout Plain Layout
1696 \begin_layout Section
1698 \begin_inset Index idx
1701 \begin_layout Plain Layout
1710 \begin_layout Standard
1720 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1721 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1734 を選択するのと、セル自体を選択するのは違うことに注意して下さい。
1735 \begin_inset Newline newline
1742 を使用すると、ダイアログ中に行った変更が直ちに適用されるようになります。カーソルを別のセルに移動すると、ダイアログも新しいセルのパラメーターに更新されます。ダイ
1743 アログ中の長さの値を変更した場合には、リターンを押さないと変更が適用されません。
1744 \begin_inset Newline newline
1747 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1750 \begin_layout Description
1755 ここでは、現在列の幅と水平揃えを設定することができます。
1760 \begin_inset CommandInset ref
1762 reference "sub:特殊なセル揃え"
1766 で説明されています。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関して
1768 \begin_inset CommandInset ref
1774 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1775 \begin_inset Newline newline
1778 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1779 \begin_inset CommandInset ref
1785 節をご参照下さい。あるいは同一列のセルを連結行セルとして指定することもできます。これについては、第
1786 \begin_inset CommandInset ref
1793 \begin_inset Newline newline
1796 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1797 \begin_inset Newline newline
1801 \begin_inset Note Greyedout
1804 \begin_layout Plain Layout
1809 DVIビューアのすべてが回転を表示できるわけではありません。
1815 \begin_inset Newline newline
1818 下記は、本文行中の表に、表全体の垂直揃えを適用したものです。
1819 \begin_inset Newline newline
1823 \begin_inset Tabular
1824 <lyxtabular version="3" rows="2" columns="2">
1825 <features rotate="0" tabularvalignment="top">
1826 <column alignment="center" valignment="top" width="0pt">
1827 <column alignment="center" valignment="top">
1829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1832 \begin_layout Plain Layout
1838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1841 \begin_layout Plain Layout
1849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1852 \begin_layout Plain Layout
1858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1861 \begin_layout Plain Layout
1873 \begin_inset Tabular
1874 <lyxtabular version="3" rows="2" columns="2">
1875 <features rotate="0" tabularvalignment="middle">
1876 <column alignment="center" valignment="top">
1877 <column alignment="center" valignment="top">
1879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1882 \begin_layout Plain Layout
1888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1891 \begin_layout Plain Layout
1899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1902 \begin_layout Plain Layout
1908 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1911 \begin_layout Plain Layout
1923 \begin_inset Tabular
1924 <lyxtabular version="3" rows="2" columns="2">
1925 <features rotate="0" tabularvalignment="bottom">
1926 <column alignment="center" valignment="top" width="0pt">
1927 <column alignment="center" valignment="top">
1929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1932 \begin_layout Plain Layout
1938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1941 \begin_layout Plain Layout
1949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1952 \begin_layout Plain Layout
1958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1961 \begin_layout Plain Layout
1973 \begin_inset Newline newline
1976 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1977 \begin_inset CommandInset ref
1979 reference "sub:連結列の計算"
1984 \begin_inset CommandInset ref
1986 reference "sec:色付きの表"
1993 \begin_layout Description
1998 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1999 \begin_inset Newline newline
2007 \begin_inset CommandInset ref
2009 reference "sec:フォーマル形式の表"
2013 節に述べられているフォーマル様式の表に表を変換します。
2014 \begin_inset Newline newline
2018 \begin_inset CommandInset ref
2020 reference "sub:行の余白取り"
2024 節に述べられているように、表の行に空白を追加することもできます。
2027 \begin_layout Description
2032 このタブは、複数のページにわたる、いわゆる「
2037 \begin_inset CommandInset ref
2044 \begin_inset CommandInset ref
2046 reference "sec:長尺表にまつわる諸点"
2050 節に、長尺表の機能に関する詳細な説明があります。
2053 \begin_layout Section
2055 \begin_inset Index idx
2058 \begin_layout Plain Layout
2067 \begin_layout Standard
2068 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
2069 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
2072 \begin_layout Standard
2073 ツールバーには、以下のアイコンがあります。
2076 \begin_layout Labeling
2077 \labelwidthstring 00.00.0000
2082 arg "inset-modify tabular append-row"
2087 は、現在セルあるいは選択範囲の下に行を追加します。
2090 \begin_layout Labeling
2091 \labelwidthstring 00.00.0000
2096 arg "inset-modify tabular append-column"
2101 は、現在セルあるいは選択範囲の右に列を追加します。
2104 \begin_layout Labeling
2105 \labelwidthstring 00.00.0000
2110 arg "inset-modify tabular delete-row"
2115 は、現在行あるいは選択範囲行を削除します。
2118 \begin_layout Labeling
2119 \labelwidthstring 00.00.0000
2124 arg "inset-modify tabular delete-column"
2129 は、現在列あるいは選択範囲列を削除します。
2132 \begin_layout Labeling
2133 \labelwidthstring 00.00.0000
2138 arg "inset-modify tabular toggle-line-top"
2143 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2146 \begin_layout Labeling
2147 \labelwidthstring 00.00.0000
2152 arg "inset-modify tabular toggle-line-bottom"
2157 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2160 \begin_layout Labeling
2161 \labelwidthstring 00.00.0000
2166 arg "inset-modify tabular toggle-line-left"
2171 は、現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2174 \begin_layout Labeling
2175 \labelwidthstring 00.00.0000
2180 arg "inset-modify tabular toggle-line-right"
2185 は、現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2188 \begin_layout Labeling
2189 \labelwidthstring 00.00.0000
2194 arg "inset-modify tabular set-all-lines"
2199 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2202 \begin_layout Labeling
2203 \labelwidthstring 00.00.0000
2208 arg "inset-modify tabular unset-all-lines"
2213 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2216 \begin_layout Labeling
2217 \labelwidthstring 00.00.0000
2222 arg "inset-modify tabular m-align-left"
2227 は、現在セルあるいは現在列の内容を左揃えにします。
2230 \begin_layout Labeling
2231 \labelwidthstring 00.00.0000
2236 arg "inset-modify tabular m-align-center"
2241 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2244 \begin_layout Labeling
2245 \labelwidthstring 00.00.0000
2250 arg "inset-modify tabular m-align-right"
2255 は、現在セルあるいは現在列の内容を右揃えにします。
2258 \begin_layout Labeling
2259 \labelwidthstring 00.00.0000
2264 arg "inset-modify tabular align-decimal"
2269 は、現在セルの内容を特定文字位置で揃えます。
2272 \begin_layout Labeling
2273 \labelwidthstring 00.00.0000
2278 arg "inset-modify tabular m-valign-top"
2283 は、現在セルの内容を垂直方向上揃えにします。
2286 \begin_layout Labeling
2287 \labelwidthstring 00.00.0000
2292 arg "inset-modify tabular m-valign-middle"
2297 は、現在セルの内容を垂直方向中央揃えにします。
2300 \begin_layout Labeling
2301 \labelwidthstring 00.00.0000
2306 arg "inset-modify tabular m-valign-bottom"
2311 は、現在セルの内容を垂直方向下揃えにします。
2314 \begin_layout Labeling
2315 \labelwidthstring 00.00.0000
2320 arg "inset-modify tabular set-rotate-cell"
2325 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2328 \begin_layout Labeling
2329 \labelwidthstring 00.00.0000
2334 arg "inset-modify tabular set-rotate-tabular"
2339 は、表全体を反時計廻りに90度回転します。
2342 \begin_layout Labeling
2343 \labelwidthstring 00.00.0000
2348 arg "inset-modify tabular multicolumn"
2353 は、現在セルあるいは選択範囲を連結列にします。
2356 \begin_layout Labeling
2357 \labelwidthstring 00.00.0000
2362 arg "inset-modify tabular multirow"
2367 は、現在セルあるいは選択範囲を連結行にします。
2370 \begin_layout Standard
2371 \begin_inset Note Greyedout
2374 \begin_layout Plain Layout
2379 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2387 \begin_layout Section
2389 \begin_inset Index idx
2392 \begin_layout Plain Layout
2393 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2401 \begin_layout Standard
2404 編集\SpecialChar \menuseparator
2407 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2411 \begin_layout Section
2413 \begin_inset CommandInset label
2420 \begin_inset Index idx
2423 \begin_layout Plain Layout
2430 \begin_inset Index idx
2433 \begin_layout Plain Layout
2442 \begin_layout Standard
2444 \begin_inset CommandInset ref
2446 reference "sec:フロートはじめに"
2453 \begin_layout Standard
2454 \begin_inset Float table
2460 \begin_layout Plain Layout
2461 \begin_inset Caption Standard
2463 \begin_layout Plain Layout
2464 \begin_inset CommandInset label
2478 \begin_layout Plain Layout
2480 \begin_inset Tabular
2481 <lyxtabular version="3" rows="3" columns="3">
2482 <features rotate="0" tabularvalignment="middle">
2483 <column alignment="center" valignment="top" width="0pt">
2484 <column alignment="center" valignment="top" width="0pt">
2485 <column alignment="center" valignment="top" width="0pt">
2487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2490 \begin_layout Plain Layout
2505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2508 \begin_layout Plain Layout
2523 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2526 \begin_layout Plain Layout
2543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2546 \begin_layout Plain Layout
2552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2555 \begin_layout Plain Layout
2561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2564 \begin_layout Plain Layout
2572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2575 \begin_layout Plain Layout
2585 \begin_inset Formula $\int x^{2}dx$
2593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2596 \begin_layout Plain Layout
2606 \begin_inset Formula $\left[\begin{array}{cc}
2617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2620 \begin_layout Plain Layout
2630 \begin_inset Formula $1+1=2$
2651 \begin_layout Standard
2656 \SpecialChar \menuseparator
2657 フロート\SpecialChar \menuseparator
2666 arg "float-insert table"
2674 \begin_layout Standard
2675 フロートは折りたたむことのできるボックスとして表示され、中には「表
2676 \begin_inset space ~
2679 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2682 \begin_layout Standard
2684 \begin_inset space ~
2688 \begin_inset CommandInset ref
2690 reference "tab:表フロート"
2697 \begin_layout Standard
2698 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2699 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2705 \begin_inset Index idx
2708 \begin_layout Plain Layout
2709 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2717 \begin_layout Standard
2723 \begin_layout Standard
2724 というオプションとともにloadコマンドを使って読み込んでください
2728 \begin_layout Plain Layout
2730 \begin_inset CommandInset ref
2732 reference "sec:キャプションの配置"
2742 \begin_inset CommandInset ref
2744 reference "sec:キャプションの書式設定"
2755 \begin_layout Standard
2756 \begin_inset Index idx
2759 \begin_layout Plain Layout
2760 さんしょう@参照 ! ひょうへの@表への
2765 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2767 挿入\SpecialChar \menuseparator
2780 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2786 arg "dialog-show-new-inset ref"
2791 を用いて、このラベルを参照することができます。
2792 \begin_inset Newline newline
2796 \begin_inset CommandInset ref
2798 reference "sec:フロートの参照"
2805 \begin_layout Section
2807 \begin_inset CommandInset label
2814 \begin_inset Index idx
2817 \begin_layout Plain Layout
2824 \begin_inset Index idx
2827 \begin_layout Plain Layout
2828 ひょう@表 ! ちょうしゃくひょう@長尺表
2836 \begin_layout Standard
2837 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2845 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2849 \begin_layout Description
2850 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2877 が定義されているときは、冒頭ページを除きます。
2886 これと区別して、このヘッダは本体ヘッダと呼びます。
2889 \begin_layout Description
2890 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2893 \begin_layout Description
2894 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2921 が定義されているときは、末尾ページを除きます。
2924 \begin_layout Description
2925 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2928 \begin_layout Description
2929 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2930 \begin_inset CommandInset ref
2932 reference "sub:長尺表のキャプション"
2939 \begin_layout Standard
2940 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2943 \begin_layout Standard
2945 \begin_inset Tabular
2946 <lyxtabular version="3" rows="69" columns="3">
2947 <features rotate="0" islongtable="true" longtabularalignment="center">
2948 <column alignment="left" valignment="top" width="0cm">
2949 <column alignment="left" valignment="top" width="0pt">
2950 <column alignment="center" valignment="top" width="0pt">
2951 <row endfirsthead="true">
2952 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2955 \begin_layout Plain Layout
2963 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2966 \begin_layout Plain Layout
2972 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2975 \begin_layout Plain Layout
2982 <row endfirsthead="true">
2983 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2986 \begin_layout Plain Layout
2992 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2995 \begin_layout Plain Layout
3001 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3004 \begin_layout Plain Layout
3013 <row endhead="true">
3014 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3017 \begin_layout Plain Layout
3025 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3028 \begin_layout Plain Layout
3034 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3037 \begin_layout Plain Layout
3044 <row endhead="true">
3045 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3048 \begin_layout Plain Layout
3054 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3057 \begin_layout Plain Layout
3063 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3066 \begin_layout Plain Layout
3075 <row endfoot="true">
3076 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3079 \begin_layout Plain Layout
3085 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3088 \begin_layout Plain Layout
3094 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3097 \begin_layout Plain Layout
3105 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3108 \begin_layout Plain Layout
3116 <cell alignment="center" valignment="top" usebox="none">
3119 \begin_layout Plain Layout
3125 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3128 \begin_layout Plain Layout
3136 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3139 \begin_layout Plain Layout
3147 <cell alignment="center" valignment="top" usebox="none">
3150 \begin_layout Plain Layout
3156 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3159 \begin_layout Plain Layout
3167 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3170 \begin_layout Plain Layout
3178 <cell alignment="center" valignment="top" usebox="none">
3181 \begin_layout Plain Layout
3187 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3190 \begin_layout Plain Layout
3198 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3201 \begin_layout Plain Layout
3209 <cell alignment="center" valignment="top" usebox="none">
3212 \begin_layout Plain Layout
3218 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3221 \begin_layout Plain Layout
3229 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3232 \begin_layout Plain Layout
3240 <cell alignment="center" valignment="top" usebox="none">
3243 \begin_layout Plain Layout
3249 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3252 \begin_layout Plain Layout
3260 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3263 \begin_layout Plain Layout
3271 <cell alignment="center" valignment="top" usebox="none">
3274 \begin_layout Plain Layout
3280 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3283 \begin_layout Plain Layout
3291 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3294 \begin_layout Plain Layout
3302 <cell alignment="center" valignment="top" usebox="none">
3305 \begin_layout Plain Layout
3311 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3314 \begin_layout Plain Layout
3322 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3325 \begin_layout Plain Layout
3333 <cell alignment="center" valignment="top" usebox="none">
3336 \begin_layout Plain Layout
3342 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3345 \begin_layout Plain Layout
3353 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3356 \begin_layout Plain Layout
3364 <cell alignment="center" valignment="top" usebox="none">
3367 \begin_layout Plain Layout
3373 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3376 \begin_layout Plain Layout
3384 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3387 \begin_layout Plain Layout
3395 <cell alignment="center" valignment="top" usebox="none">
3398 \begin_layout Plain Layout
3404 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3407 \begin_layout Plain Layout
3415 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3418 \begin_layout Plain Layout
3426 <cell alignment="center" valignment="top" usebox="none">
3429 \begin_layout Plain Layout
3435 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3438 \begin_layout Plain Layout
3446 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3449 \begin_layout Plain Layout
3457 <cell alignment="center" valignment="top" usebox="none">
3460 \begin_layout Plain Layout
3466 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3469 \begin_layout Plain Layout
3477 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3480 \begin_layout Plain Layout
3488 <cell alignment="center" valignment="top" usebox="none">
3491 \begin_layout Plain Layout
3497 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3500 \begin_layout Plain Layout
3508 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3511 \begin_layout Plain Layout
3519 <cell alignment="center" valignment="top" usebox="none">
3522 \begin_layout Plain Layout
3528 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3531 \begin_layout Plain Layout
3539 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3542 \begin_layout Plain Layout
3550 <cell alignment="center" valignment="top" usebox="none">
3553 \begin_layout Plain Layout
3559 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3562 \begin_layout Plain Layout
3570 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3573 \begin_layout Plain Layout
3581 <cell alignment="center" valignment="top" usebox="none">
3584 \begin_layout Plain Layout
3590 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3593 \begin_layout Plain Layout
3601 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3604 \begin_layout Plain Layout
3612 <cell alignment="center" valignment="top" usebox="none">
3615 \begin_layout Plain Layout
3621 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3624 \begin_layout Plain Layout
3632 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3635 \begin_layout Plain Layout
3643 <cell alignment="center" valignment="top" usebox="none">
3646 \begin_layout Plain Layout
3652 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3655 \begin_layout Plain Layout
3663 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3666 \begin_layout Plain Layout
3674 <cell alignment="center" valignment="top" usebox="none">
3677 \begin_layout Plain Layout
3683 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3686 \begin_layout Plain Layout
3694 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3697 \begin_layout Plain Layout
3705 <cell alignment="center" valignment="top" usebox="none">
3708 \begin_layout Plain Layout
3714 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3717 \begin_layout Plain Layout
3725 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3728 \begin_layout Plain Layout
3736 <cell alignment="center" valignment="top" usebox="none">
3739 \begin_layout Plain Layout
3745 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3748 \begin_layout Plain Layout
3756 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3759 \begin_layout Plain Layout
3767 <cell alignment="center" valignment="top" usebox="none">
3770 \begin_layout Plain Layout
3776 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3779 \begin_layout Plain Layout
3787 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3790 \begin_layout Plain Layout
3798 <cell alignment="center" valignment="top" usebox="none">
3801 \begin_layout Plain Layout
3807 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3810 \begin_layout Plain Layout
3818 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3821 \begin_layout Plain Layout
3829 <cell alignment="center" valignment="top" usebox="none">
3832 \begin_layout Plain Layout
3838 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3841 \begin_layout Plain Layout
3849 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3852 \begin_layout Plain Layout
3860 <cell alignment="center" valignment="top" usebox="none">
3863 \begin_layout Plain Layout
3869 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3872 \begin_layout Plain Layout
3880 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3883 \begin_layout Plain Layout
3891 <cell alignment="center" valignment="top" usebox="none">
3894 \begin_layout Plain Layout
3900 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3903 \begin_layout Plain Layout
3911 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3914 \begin_layout Plain Layout
3922 <cell alignment="center" valignment="top" usebox="none">
3925 \begin_layout Plain Layout
3931 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3934 \begin_layout Plain Layout
3942 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3945 \begin_layout Plain Layout
3953 <cell alignment="center" valignment="top" usebox="none">
3956 \begin_layout Plain Layout
3962 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3965 \begin_layout Plain Layout
3973 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3976 \begin_layout Plain Layout
3984 <cell alignment="center" valignment="top" usebox="none">
3987 \begin_layout Plain Layout
3993 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3996 \begin_layout Plain Layout
4004 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4007 \begin_layout Plain Layout
4015 <cell alignment="center" valignment="top" usebox="none">
4018 \begin_layout Plain Layout
4024 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4027 \begin_layout Plain Layout
4035 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4038 \begin_layout Plain Layout
4046 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4049 \begin_layout Plain Layout
4055 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4058 \begin_layout Plain Layout
4066 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4069 \begin_layout Plain Layout
4075 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4078 \begin_layout Plain Layout
4084 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4087 \begin_layout Plain Layout
4095 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4098 \begin_layout Plain Layout
4106 <cell alignment="center" valignment="top" usebox="none">
4109 \begin_layout Plain Layout
4115 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4118 \begin_layout Plain Layout
4126 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4129 \begin_layout Plain Layout
4137 <cell alignment="center" valignment="top" usebox="none">
4140 \begin_layout Plain Layout
4146 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4149 \begin_layout Plain Layout
4157 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4160 \begin_layout Plain Layout
4168 <cell alignment="center" valignment="top" usebox="none">
4171 \begin_layout Plain Layout
4177 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4180 \begin_layout Plain Layout
4188 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4191 \begin_layout Plain Layout
4199 <cell alignment="center" valignment="top" usebox="none">
4202 \begin_layout Plain Layout
4208 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4211 \begin_layout Plain Layout
4219 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4222 \begin_layout Plain Layout
4230 <cell alignment="center" valignment="top" usebox="none">
4233 \begin_layout Plain Layout
4239 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4242 \begin_layout Plain Layout
4250 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4253 \begin_layout Plain Layout
4261 <cell alignment="center" valignment="top" usebox="none">
4264 \begin_layout Plain Layout
4270 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4273 \begin_layout Plain Layout
4281 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4284 \begin_layout Plain Layout
4292 <cell alignment="center" valignment="top" usebox="none">
4295 \begin_layout Plain Layout
4301 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4304 \begin_layout Plain Layout
4312 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4315 \begin_layout Plain Layout
4323 <cell alignment="center" valignment="top" usebox="none">
4326 \begin_layout Plain Layout
4332 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4335 \begin_layout Plain Layout
4343 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4346 \begin_layout Plain Layout
4354 <cell alignment="center" valignment="top" usebox="none">
4357 \begin_layout Plain Layout
4363 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4366 \begin_layout Plain Layout
4374 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4377 \begin_layout Plain Layout
4385 <cell alignment="center" valignment="top" usebox="none">
4388 \begin_layout Plain Layout
4394 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4397 \begin_layout Plain Layout
4405 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4408 \begin_layout Plain Layout
4416 <cell alignment="center" valignment="top" usebox="none">
4419 \begin_layout Plain Layout
4425 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4428 \begin_layout Plain Layout
4436 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4439 \begin_layout Plain Layout
4447 <cell alignment="center" valignment="top" usebox="none">
4450 \begin_layout Plain Layout
4456 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4459 \begin_layout Plain Layout
4467 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4470 \begin_layout Plain Layout
4478 <cell alignment="center" valignment="top" usebox="none">
4481 \begin_layout Plain Layout
4487 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4490 \begin_layout Plain Layout
4498 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4501 \begin_layout Plain Layout
4509 <cell alignment="center" valignment="top" usebox="none">
4512 \begin_layout Plain Layout
4518 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4521 \begin_layout Plain Layout
4529 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4532 \begin_layout Plain Layout
4540 <cell alignment="center" valignment="top" usebox="none">
4543 \begin_layout Plain Layout
4549 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4552 \begin_layout Plain Layout
4560 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4563 \begin_layout Plain Layout
4571 <cell alignment="center" valignment="top" usebox="none">
4574 \begin_layout Plain Layout
4580 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4583 \begin_layout Plain Layout
4591 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4594 \begin_layout Plain Layout
4602 <cell alignment="center" valignment="top" usebox="none">
4605 \begin_layout Plain Layout
4611 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4614 \begin_layout Plain Layout
4622 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4625 \begin_layout Plain Layout
4633 <cell alignment="center" valignment="top" usebox="none">
4636 \begin_layout Plain Layout
4642 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4645 \begin_layout Plain Layout
4653 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4656 \begin_layout Plain Layout
4664 <cell alignment="center" valignment="top" usebox="none">
4667 \begin_layout Plain Layout
4673 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4676 \begin_layout Plain Layout
4684 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4687 \begin_layout Plain Layout
4695 <cell alignment="center" valignment="top" usebox="none">
4698 \begin_layout Plain Layout
4704 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4707 \begin_layout Plain Layout
4715 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4718 \begin_layout Plain Layout
4726 <cell alignment="center" valignment="top" usebox="none">
4729 \begin_layout Plain Layout
4735 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4738 \begin_layout Plain Layout
4746 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4749 \begin_layout Plain Layout
4757 <cell alignment="center" valignment="top" usebox="none">
4760 \begin_layout Plain Layout
4766 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4769 \begin_layout Plain Layout
4777 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4780 \begin_layout Plain Layout
4788 <cell alignment="center" valignment="top" usebox="none">
4791 \begin_layout Plain Layout
4797 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4800 \begin_layout Plain Layout
4808 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4811 \begin_layout Plain Layout
4819 <cell alignment="center" valignment="top" usebox="none">
4822 \begin_layout Plain Layout
4828 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4831 \begin_layout Plain Layout
4839 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4842 \begin_layout Plain Layout
4850 <cell alignment="center" valignment="top" usebox="none">
4853 \begin_layout Plain Layout
4859 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4862 \begin_layout Plain Layout
4870 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4873 \begin_layout Plain Layout
4881 <cell alignment="center" valignment="top" usebox="none">
4884 \begin_layout Plain Layout
4890 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4893 \begin_layout Plain Layout
4901 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4904 \begin_layout Plain Layout
4912 <cell alignment="center" valignment="top" usebox="none">
4915 \begin_layout Plain Layout
4921 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4924 \begin_layout Plain Layout
4932 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4935 \begin_layout Plain Layout
4943 <cell alignment="center" valignment="top" usebox="none">
4946 \begin_layout Plain Layout
4952 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4955 \begin_layout Plain Layout
4963 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4966 \begin_layout Plain Layout
4974 <cell alignment="center" valignment="top" usebox="none">
4977 \begin_layout Plain Layout
4983 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4986 \begin_layout Plain Layout
4994 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4997 \begin_layout Plain Layout
5005 <cell alignment="center" valignment="top" usebox="none">
5008 \begin_layout Plain Layout
5014 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5017 \begin_layout Plain Layout
5025 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5028 \begin_layout Plain Layout
5036 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5039 \begin_layout Plain Layout
5045 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5048 \begin_layout Plain Layout
5055 <row endlastfoot="true">
5056 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5059 \begin_layout Plain Layout
5065 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5068 \begin_layout Plain Layout
5074 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5077 \begin_layout Plain Layout
5092 \begin_layout Plain Layout
5096 addtocounter{table}{-1}
5102 \begin_inset Note Note
5105 \begin_layout Plain Layout
5107 \begin_inset CommandInset ref
5109 reference "sub:長尺表のキャプション"
5121 \begin_layout Subsection
5123 \begin_inset CommandInset label
5130 \begin_inset Index idx
5133 \begin_layout Plain Layout
5134 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
5142 \begin_layout Standard
5143 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
5144 \begin_inset CommandInset ref
5146 reference "tab:別キャプション"
5153 \begin_layout Subsection
5155 \begin_inset Index idx
5158 \begin_layout Plain Layout
5159 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5167 \begin_layout Standard
5168 表設定ダイアログでは、長尺表の水平揃えを指定することができます。左揃えや右揃えでは、表は直接ページ境界に寄せられます。表と境界の間に余白を加えるには、中央揃えに
5172 \begin_layout Standard
5182 \begin_layout Standard
5183 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5195 の値を変更しなくてはなりません。ここで「値」は、第
5196 \begin_inset CommandInset ref
5202 表に挙げてある単位であれば、どの単位を取ることもできます。
5208 は、左頁余白から長尺表までの水平方向の距離を制御し、
5214 は、右頁余白からの距離を制御します。これらの長さの既定値は
5220 となっており、LyXの水平フィルと同等になっています。
5223 \begin_layout Standard
5240 \begin_layout Plain Layout
5256 \begin_layout Standard
5257 \begin_inset Tabular
5258 <lyxtabular version="3" rows="5" columns="5">
5259 <features rotate="0" islongtable="true" longtabularalignment="center">
5260 <column alignment="center" valignment="top">
5261 <column alignment="center" valignment="top">
5262 <column alignment="center" valignment="top">
5263 <column alignment="center" valignment="top">
5264 <column alignment="center" valignment="top">
5266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5269 \begin_layout Plain Layout
5275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5278 \begin_layout Plain Layout
5284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5287 \begin_layout Plain Layout
5293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5296 \begin_layout Plain Layout
5302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5305 \begin_layout Plain Layout
5313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5316 \begin_layout Plain Layout
5322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5325 \begin_layout Plain Layout
5331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5334 \begin_layout Plain Layout
5340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5343 \begin_layout Plain Layout
5349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5352 \begin_layout Plain Layout
5360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5363 \begin_layout Plain Layout
5369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5372 \begin_layout Plain Layout
5378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5381 \begin_layout Plain Layout
5387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5390 \begin_layout Plain Layout
5396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5399 \begin_layout Plain Layout
5407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5410 \begin_layout Plain Layout
5416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5419 \begin_layout Plain Layout
5425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5428 \begin_layout Plain Layout
5434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5437 \begin_layout Plain Layout
5443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5446 \begin_layout Plain Layout
5454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5457 \begin_layout Plain Layout
5463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5466 \begin_layout Plain Layout
5472 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5475 \begin_layout Plain Layout
5481 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5484 \begin_layout Plain Layout
5490 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5493 \begin_layout Plain Layout
5508 \begin_layout Plain Layout
5525 \begin_layout Plain Layout
5529 addtocounter{table}{-1}
5535 \begin_inset Note Note
5538 \begin_layout Plain Layout
5540 \begin_inset CommandInset ref
5542 reference "sub:長尺表のキャプション"
5554 \begin_layout Subsection
5556 \begin_inset Index idx
5559 \begin_layout Plain Layout
5560 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5566 \begin_inset CommandInset label
5568 name "sub:長尺表のキャプション"
5575 \begin_layout Standard
5576 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5577 \begin_inset CommandInset ref
5583 節に述べられているように、ある行で長尺表オプションの
5587 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションは、
5603 のいずれかに入れなくてはなりません。それぞれのヘッダ・フッタに入れることができる行は、ひとつだけです。
5606 \begin_layout Standard
5607 以下は、動作を確認するための短い長尺表です。
5610 \begin_layout Standard
5611 \begin_inset Tabular
5612 <lyxtabular version="3" rows="6" columns="5">
5613 <features rotate="0" islongtable="true" longtabularalignment="center">
5614 <column alignment="center" valignment="top">
5615 <column alignment="center" valignment="top">
5616 <column alignment="center" valignment="top">
5617 <column alignment="center" valignment="top">
5618 <column alignment="center" valignment="top">
5619 <row endfirsthead="true" caption="true">
5620 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5623 \begin_layout Plain Layout
5624 \begin_inset Caption Standard
5626 \begin_layout Plain Layout
5628 \begin_inset Argument 1
5631 \begin_layout Plain Layout
5647 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5650 \begin_layout Plain Layout
5656 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5659 \begin_layout Plain Layout
5665 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5668 \begin_layout Plain Layout
5674 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5677 \begin_layout Plain Layout
5685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5688 \begin_layout Plain Layout
5694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5697 \begin_layout Plain Layout
5703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5706 \begin_layout Plain Layout
5712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5715 \begin_layout Plain Layout
5721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5724 \begin_layout Plain Layout
5732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5735 \begin_layout Plain Layout
5741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5744 \begin_layout Plain Layout
5750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5753 \begin_layout Plain Layout
5759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5762 \begin_layout Plain Layout
5768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5771 \begin_layout Plain Layout
5779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5782 \begin_layout Plain Layout
5788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5791 \begin_layout Plain Layout
5797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5800 \begin_layout Plain Layout
5806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5809 \begin_layout Plain Layout
5815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5818 \begin_layout Plain Layout
5826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5829 \begin_layout Plain Layout
5835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5838 \begin_layout Plain Layout
5844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5847 \begin_layout Plain Layout
5853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5856 \begin_layout Plain Layout
5862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5865 \begin_layout Plain Layout
5873 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5876 \begin_layout Plain Layout
5882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5885 \begin_layout Plain Layout
5891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5894 \begin_layout Plain Layout
5900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5903 \begin_layout Plain Layout
5909 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5912 \begin_layout Plain Layout
5926 \begin_layout Standard
5927 \begin_inset VSpace medskip
5931 \begin_inset Note Greyedout
5934 \begin_layout Plain Layout
5939 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5940 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5943 \begin_layout Plain Layout
5948 addtocounter{table}{-1}
5951 \begin_layout Plain Layout
5952 というコマンドを挿入する方法があります。
5955 \begin_layout Plain Layout
5956 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5959 \begin_layout Plain Layout
5969 \begin_inset Newline newline
5980 addtocounter{table}{-1}}
5988 \begin_layout Standard
5989 \begin_inset Note Greyedout
5992 \begin_layout Plain Layout
6010 \begin_inset Index idx
6013 \begin_layout Plain Layout
6014 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
6019 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
6027 \begin_layout Subsubsection
6029 \begin_inset Index idx
6032 \begin_layout Plain Layout
6033 ちょうしゃくひょう@長尺表 ! さんしょう@参照
6041 \begin_layout Standard
6042 \begin_inset Tabular
6043 <lyxtabular version="3" rows="6" columns="5">
6044 <features rotate="0" islongtable="true" longtabularalignment="center">
6045 <column alignment="center" valignment="top">
6046 <column alignment="center" valignment="top">
6047 <column alignment="center" valignment="top">
6048 <column alignment="center" valignment="top">
6049 <column alignment="center" valignment="top">
6050 <row endfirsthead="true" caption="true">
6051 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6054 \begin_layout Plain Layout
6055 \begin_inset Caption Standard
6057 \begin_layout Plain Layout
6059 \begin_inset CommandInset label
6075 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6078 \begin_layout Plain Layout
6084 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6087 \begin_layout Plain Layout
6093 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6096 \begin_layout Plain Layout
6102 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6105 \begin_layout Plain Layout
6113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6116 \begin_layout Plain Layout
6122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6125 \begin_layout Plain Layout
6131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6134 \begin_layout Plain Layout
6140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6143 \begin_layout Plain Layout
6149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6152 \begin_layout Plain Layout
6160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6163 \begin_layout Plain Layout
6169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6172 \begin_layout Plain Layout
6178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6181 \begin_layout Plain Layout
6187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6190 \begin_layout Plain Layout
6196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6199 \begin_layout Plain Layout
6207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6210 \begin_layout Plain Layout
6216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6219 \begin_layout Plain Layout
6225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6228 \begin_layout Plain Layout
6234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6237 \begin_layout Plain Layout
6243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6246 \begin_layout Plain Layout
6254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6257 \begin_layout Plain Layout
6263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6266 \begin_layout Plain Layout
6272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6275 \begin_layout Plain Layout
6281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6284 \begin_layout Plain Layout
6290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6293 \begin_layout Plain Layout
6301 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6304 \begin_layout Plain Layout
6310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6313 \begin_layout Plain Layout
6319 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6322 \begin_layout Plain Layout
6328 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6331 \begin_layout Plain Layout
6337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6340 \begin_layout Plain Layout
6354 \begin_layout Standard
6355 長尺表を参照するには、キャプションにラベルを挿入してください。
6358 \begin_layout Standard
6360 \begin_inset CommandInset ref
6369 \begin_layout Standard
6370 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6375 \begin_inset Index idx
6378 \begin_layout Plain Layout
6379 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6385 \begin_inset CommandInset ref
6387 reference "sec:キャプションの書式設定"
6394 \begin_layout Subsubsection
6396 \begin_inset Index idx
6399 \begin_layout Plain Layout
6400 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6408 \begin_layout Standard
6415 によって指定することができます。既定値は4
6416 \begin_inset space \thinspace{}
6419 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6422 \begin_layout Standard
6432 \begin_layout Standard
6433 というコマンドを書き加えて下さい。ここで「幅」には、付録
6434 \begin_inset CommandInset ref
6436 reference "cha:LyXで使用できる単位"
6440 に挙げられている単位を取ることができます。
6443 \begin_layout Standard
6447 \begin_layout Standard
6448 \begin_inset Tabular
6449 <lyxtabular version="3" rows="6" columns="5">
6450 <features rotate="0" islongtable="true" longtabularalignment="center">
6451 <column alignment="center" valignment="top">
6452 <column alignment="center" valignment="top">
6453 <column alignment="center" valignment="top">
6454 <column alignment="center" valignment="top">
6455 <column alignment="center" valignment="top">
6456 <row endfirsthead="true" caption="true">
6457 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6460 \begin_layout Plain Layout
6461 \begin_inset Caption Standard
6463 \begin_layout Plain Layout
6464 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6465 \begin_inset Argument 1
6468 \begin_layout Plain Layout
6484 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6487 \begin_layout Plain Layout
6493 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6496 \begin_layout Plain Layout
6502 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6505 \begin_layout Plain Layout
6511 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6514 \begin_layout Plain Layout
6522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6525 \begin_layout Plain Layout
6531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6534 \begin_layout Plain Layout
6540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6543 \begin_layout Plain Layout
6549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6552 \begin_layout Plain Layout
6558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6561 \begin_layout Plain Layout
6569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6572 \begin_layout Plain Layout
6578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6581 \begin_layout Plain Layout
6587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6590 \begin_layout Plain Layout
6596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6599 \begin_layout Plain Layout
6605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6608 \begin_layout Plain Layout
6616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6619 \begin_layout Plain Layout
6625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6628 \begin_layout Plain Layout
6634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6637 \begin_layout Plain Layout
6643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6646 \begin_layout Plain Layout
6652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6655 \begin_layout Plain Layout
6663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6666 \begin_layout Plain Layout
6672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6675 \begin_layout Plain Layout
6681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6684 \begin_layout Plain Layout
6690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6693 \begin_layout Plain Layout
6699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6702 \begin_layout Plain Layout
6710 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6713 \begin_layout Plain Layout
6719 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6722 \begin_layout Plain Layout
6728 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6731 \begin_layout Plain Layout
6737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6740 \begin_layout Plain Layout
6746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6749 \begin_layout Plain Layout
6763 \begin_layout Standard
6767 \begin_layout Plain Layout
6779 \begin_inset Tabular
6780 <lyxtabular version="3" rows="6" columns="5">
6781 <features rotate="0" islongtable="true" longtabularalignment="center">
6782 <column alignment="center" valignment="top">
6783 <column alignment="center" valignment="top">
6784 <column alignment="center" valignment="top">
6785 <column alignment="center" valignment="top">
6786 <column alignment="center" valignment="top">
6787 <row endfirsthead="true" caption="true">
6788 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6791 \begin_layout Plain Layout
6792 \begin_inset Caption Standard
6794 \begin_layout Plain Layout
6796 \begin_inset space \thinspace{}
6800 \begin_inset space \thinspace{}
6804 \begin_inset space \thinspace{}
6808 \begin_inset Argument 1
6811 \begin_layout Plain Layout
6813 \begin_inset space \thinspace{}
6831 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6834 \begin_layout Plain Layout
6840 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6843 \begin_layout Plain Layout
6849 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6852 \begin_layout Plain Layout
6858 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6861 \begin_layout Plain Layout
6869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6872 \begin_layout Plain Layout
6878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6881 \begin_layout Plain Layout
6887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6890 \begin_layout Plain Layout
6896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6899 \begin_layout Plain Layout
6905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6908 \begin_layout Plain Layout
6916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6919 \begin_layout Plain Layout
6925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6928 \begin_layout Plain Layout
6934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6937 \begin_layout Plain Layout
6943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6946 \begin_layout Plain Layout
6952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6955 \begin_layout Plain Layout
6963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6966 \begin_layout Plain Layout
6972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6975 \begin_layout Plain Layout
6981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6984 \begin_layout Plain Layout
6990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6993 \begin_layout Plain Layout
6999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7002 \begin_layout Plain Layout
7010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7013 \begin_layout Plain Layout
7019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7022 \begin_layout Plain Layout
7028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7031 \begin_layout Plain Layout
7037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7040 \begin_layout Plain Layout
7046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7049 \begin_layout Plain Layout
7057 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7060 \begin_layout Plain Layout
7066 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7069 \begin_layout Plain Layout
7075 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7078 \begin_layout Plain Layout
7084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7087 \begin_layout Plain Layout
7093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7096 \begin_layout Plain Layout
7110 \begin_layout Standard
7114 \begin_layout Plain Layout
7128 \begin_layout Standard
7129 \begin_inset Note Greyedout
7132 \begin_layout Plain Layout
7142 \begin_inset Index idx
7145 \begin_layout Plain Layout
7146 LaTeXぱっけーじ@LaTeXパッケージ ! caption
7158 \begin_inset space \thinspace{}
7161 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
7162 \begin_inset space \thinspace{}
7165 in幅のキャプションを作るには、3.99
7166 \begin_inset space \thinspace{}
7170 \begin_inset space \thinspace{}
7181 captionsetup{width=値}
7183 というLaTeXコマンドを用いる方法があります。
7191 \begin_layout Subsubsection
7193 \begin_inset Index idx
7196 \begin_layout Plain Layout
7197 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7205 \begin_layout Standard
7208 mark a empty row as header which contains a caption.
7209 Then right-click on the caption and select in the context menu
7212 \begin_inset space ~
7219 \begin_inset CommandInset ref
7221 reference "tab:別キャプション"
7225 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7228 \begin_layout Standard
7230 \begin_inset Tabular
7231 <lyxtabular version="3" rows="59" columns="3">
7232 <features rotate="0" islongtable="true" longtabularalignment="center">
7233 <column alignment="left" valignment="top" width="0pt">
7234 <column alignment="left" valignment="top" width="0pt">
7235 <column alignment="center" valignment="top" width="0pt">
7236 <row endfirsthead="true" caption="true">
7237 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7240 \begin_layout Plain Layout
7241 \begin_inset Caption Standard
7243 \begin_layout Plain Layout
7245 \begin_inset CommandInset label
7252 \begin_inset Argument 1
7255 \begin_layout Plain Layout
7271 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7274 \begin_layout Plain Layout
7280 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7283 \begin_layout Plain Layout
7290 <row endfirsthead="true">
7291 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7294 \begin_layout Plain Layout
7302 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7305 \begin_layout Plain Layout
7311 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7314 \begin_layout Plain Layout
7321 <row endfirsthead="true">
7322 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7325 \begin_layout Plain Layout
7333 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7336 \begin_layout Plain Layout
7342 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7345 \begin_layout Plain Layout
7354 <row endhead="true" caption="true">
7355 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7358 \begin_layout Plain Layout
7359 \begin_inset Caption LongTableNoNumber
7361 \begin_layout Plain Layout
7372 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7375 \begin_layout Plain Layout
7381 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7384 \begin_layout Plain Layout
7391 <row endhead="true">
7392 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7395 \begin_layout Plain Layout
7403 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7406 \begin_layout Plain Layout
7412 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7415 \begin_layout Plain Layout
7422 <row endhead="true">
7423 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7426 \begin_layout Plain Layout
7434 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7437 \begin_layout Plain Layout
7443 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7446 \begin_layout Plain Layout
7455 <row endfoot="true">
7456 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7459 \begin_layout Plain Layout
7465 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7468 \begin_layout Plain Layout
7474 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7477 \begin_layout Plain Layout
7485 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7488 \begin_layout Plain Layout
7496 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7499 \begin_layout Plain Layout
7505 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7508 \begin_layout Plain Layout
7516 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7519 \begin_layout Plain Layout
7527 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7530 \begin_layout Plain Layout
7536 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7539 \begin_layout Plain Layout
7547 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7550 \begin_layout Plain Layout
7558 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7561 \begin_layout Plain Layout
7567 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7570 \begin_layout Plain Layout
7578 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7581 \begin_layout Plain Layout
7589 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7592 \begin_layout Plain Layout
7598 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7601 \begin_layout Plain Layout
7609 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7612 \begin_layout Plain Layout
7620 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7623 \begin_layout Plain Layout
7629 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7632 \begin_layout Plain Layout
7640 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7643 \begin_layout Plain Layout
7651 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7654 \begin_layout Plain Layout
7660 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7663 \begin_layout Plain Layout
7671 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7674 \begin_layout Plain Layout
7682 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7685 \begin_layout Plain Layout
7691 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7694 \begin_layout Plain Layout
7702 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7705 \begin_layout Plain Layout
7713 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7716 \begin_layout Plain Layout
7722 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7725 \begin_layout Plain Layout
7733 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7736 \begin_layout Plain Layout
7744 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7747 \begin_layout Plain Layout
7753 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7756 \begin_layout Plain Layout
7764 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7767 \begin_layout Plain Layout
7775 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7778 \begin_layout Plain Layout
7784 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7787 \begin_layout Plain Layout
7795 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7798 \begin_layout Plain Layout
7806 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7809 \begin_layout Plain Layout
7815 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7818 \begin_layout Plain Layout
7826 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7829 \begin_layout Plain Layout
7837 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7840 \begin_layout Plain Layout
7846 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7849 \begin_layout Plain Layout
7857 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7860 \begin_layout Plain Layout
7868 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7871 \begin_layout Plain Layout
7877 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7880 \begin_layout Plain Layout
7888 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7891 \begin_layout Plain Layout
7899 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7902 \begin_layout Plain Layout
7908 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7911 \begin_layout Plain Layout
7919 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7922 \begin_layout Plain Layout
7931 \begin_layout Plain Layout
7942 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7945 \begin_layout Plain Layout
7951 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7954 \begin_layout Plain Layout
7962 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7965 \begin_layout Plain Layout
7973 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7976 \begin_layout Plain Layout
7982 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7985 \begin_layout Plain Layout
7993 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7996 \begin_layout Plain Layout
8004 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8007 \begin_layout Plain Layout
8013 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8016 \begin_layout Plain Layout
8024 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8027 \begin_layout Plain Layout
8035 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8038 \begin_layout Plain Layout
8044 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8047 \begin_layout Plain Layout
8055 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8058 \begin_layout Plain Layout
8066 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8069 \begin_layout Plain Layout
8075 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8078 \begin_layout Plain Layout
8086 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8089 \begin_layout Plain Layout
8097 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8100 \begin_layout Plain Layout
8106 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8109 \begin_layout Plain Layout
8117 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8120 \begin_layout Plain Layout
8128 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8131 \begin_layout Plain Layout
8137 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8140 \begin_layout Plain Layout
8148 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8151 \begin_layout Plain Layout
8159 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8162 \begin_layout Plain Layout
8168 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8171 \begin_layout Plain Layout
8179 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8182 \begin_layout Plain Layout
8190 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8193 \begin_layout Plain Layout
8199 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8202 \begin_layout Plain Layout
8210 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8213 \begin_layout Plain Layout
8221 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8224 \begin_layout Plain Layout
8230 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8233 \begin_layout Plain Layout
8241 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8244 \begin_layout Plain Layout
8252 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8255 \begin_layout Plain Layout
8261 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8264 \begin_layout Plain Layout
8272 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8275 \begin_layout Plain Layout
8283 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8286 \begin_layout Plain Layout
8292 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8295 \begin_layout Plain Layout
8303 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8306 \begin_layout Plain Layout
8314 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8317 \begin_layout Plain Layout
8323 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8326 \begin_layout Plain Layout
8334 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8337 \begin_layout Plain Layout
8345 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8348 \begin_layout Plain Layout
8354 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8357 \begin_layout Plain Layout
8365 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8368 \begin_layout Plain Layout
8376 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8379 \begin_layout Plain Layout
8385 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8388 \begin_layout Plain Layout
8396 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8399 \begin_layout Plain Layout
8407 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8410 \begin_layout Plain Layout
8416 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8419 \begin_layout Plain Layout
8427 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8430 \begin_layout Plain Layout
8438 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8441 \begin_layout Plain Layout
8447 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8450 \begin_layout Plain Layout
8458 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8461 \begin_layout Plain Layout
8467 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8470 \begin_layout Plain Layout
8476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8479 \begin_layout Plain Layout
8487 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8490 \begin_layout Plain Layout
8498 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8501 \begin_layout Plain Layout
8507 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8510 \begin_layout Plain Layout
8518 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8521 \begin_layout Plain Layout
8529 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8532 \begin_layout Plain Layout
8538 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8541 \begin_layout Plain Layout
8549 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8552 \begin_layout Plain Layout
8560 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8563 \begin_layout Plain Layout
8569 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8572 \begin_layout Plain Layout
8580 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8583 \begin_layout Plain Layout
8591 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8594 \begin_layout Plain Layout
8600 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8603 \begin_layout Plain Layout
8611 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8614 \begin_layout Plain Layout
8622 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8625 \begin_layout Plain Layout
8631 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8634 \begin_layout Plain Layout
8642 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8645 \begin_layout Plain Layout
8653 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8656 \begin_layout Plain Layout
8662 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8665 \begin_layout Plain Layout
8673 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8676 \begin_layout Plain Layout
8684 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8687 \begin_layout Plain Layout
8693 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8696 \begin_layout Plain Layout
8704 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8707 \begin_layout Plain Layout
8715 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8718 \begin_layout Plain Layout
8724 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8727 \begin_layout Plain Layout
8735 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8738 \begin_layout Plain Layout
8746 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8749 \begin_layout Plain Layout
8755 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8758 \begin_layout Plain Layout
8766 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8769 \begin_layout Plain Layout
8777 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8780 \begin_layout Plain Layout
8786 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8789 \begin_layout Plain Layout
8797 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8800 \begin_layout Plain Layout
8808 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8811 \begin_layout Plain Layout
8817 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8820 \begin_layout Plain Layout
8828 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8831 \begin_layout Plain Layout
8839 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8842 \begin_layout Plain Layout
8848 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8851 \begin_layout Plain Layout
8859 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8862 \begin_layout Plain Layout
8870 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8873 \begin_layout Plain Layout
8879 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8882 \begin_layout Plain Layout
8890 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8893 \begin_layout Plain Layout
8901 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8904 \begin_layout Plain Layout
8910 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8913 \begin_layout Plain Layout
8921 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8924 \begin_layout Plain Layout
8932 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8935 \begin_layout Plain Layout
8941 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8944 \begin_layout Plain Layout
8952 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8955 \begin_layout Plain Layout
8963 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8966 \begin_layout Plain Layout
8972 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8975 \begin_layout Plain Layout
8983 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8986 \begin_layout Plain Layout
8994 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8997 \begin_layout Plain Layout
9003 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9006 \begin_layout Plain Layout
9014 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9017 \begin_layout Plain Layout
9025 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9028 \begin_layout Plain Layout
9034 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9037 \begin_layout Plain Layout
9045 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9048 \begin_layout Plain Layout
9056 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9059 \begin_layout Plain Layout
9065 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9068 \begin_layout Plain Layout
9076 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9079 \begin_layout Plain Layout
9087 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9090 \begin_layout Plain Layout
9096 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9099 \begin_layout Plain Layout
9113 \begin_layout Section
9115 \begin_inset CommandInset label
9117 name "sec:長尺表にまつわる諸点"
9124 \begin_layout Subsection
9126 \begin_inset Index idx
9129 \begin_layout Plain Layout
9130 ちょうしゃくひょう@長尺表 ! けいさん@計算
9138 \begin_layout Standard
9139 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
9140 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
9143 \begin_layout Standard
9148 setcounter{LTchunksize}{100}
9151 \begin_layout Standard
9152 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9155 \begin_layout Subsection
9157 \begin_inset Index idx
9160 \begin_layout Plain Layout
9161 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9169 \begin_layout Standard
9170 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9176 コマンドを長尺表の前にTeXコードとして書き加えてください。
9179 \begin_layout Subsection
9181 \begin_inset Index idx
9184 \begin_layout Plain Layout
9185 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9193 \begin_layout Standard
9194 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9211 コマンドの前には、現セルよりも右にある列数と同じ数の「
9215 」文字を、TeXコードで挿入してやる必要があります。この
9223 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9224 \begin_inset Newline newline
9235 コマンドの後ろには、現在列の左側にある列数と同じ数の
9240 \begin_inset CommandInset ref
9242 reference "tab:強制改頁"
9246 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9249 \begin_layout Standard
9259 \begin_inset Newline newline
9265 \begin_layout Standard
9270 」の後にTeXコードとして挿入してあります。
9273 \begin_layout Standard
9274 同一行3列目の「111」は削除してあります。
9280 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9281 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9284 \begin_layout Standard
9292 \begin_inset Newline newline
9300 \begin_layout Standard
9304 \begin_layout Standard
9305 改頁をしたいセルが最右列にある場合には、
9308 \begin_layout Standard
9318 \begin_layout Standard
9319 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9323 \begin_layout Standard
9325 \begin_inset Tabular
9326 <lyxtabular version="3" rows="38" columns="3">
9327 <features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9328 <column alignment="left" valignment="top" width="0cm">
9329 <column alignment="left" valignment="top" width="3cm">
9330 <column alignment="center" valignment="top" width="0pt">
9331 <row endfirsthead="true" caption="true">
9332 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9335 \begin_layout Plain Layout
9336 \begin_inset Caption Standard
9338 \begin_layout Plain Layout
9340 \begin_inset CommandInset label
9347 \begin_inset Argument 1
9350 \begin_layout Plain Layout
9366 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9369 \begin_layout Plain Layout
9375 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9378 \begin_layout Plain Layout
9385 <row endfirsthead="true">
9386 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9389 \begin_layout Plain Layout
9397 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9400 \begin_layout Plain Layout
9406 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9409 \begin_layout Plain Layout
9416 <row endfirsthead="true">
9417 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9420 \begin_layout Plain Layout
9428 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9431 \begin_layout Plain Layout
9437 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9440 \begin_layout Plain Layout
9449 <row endhead="true">
9450 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9453 \begin_layout Plain Layout
9457 \begin_layout Plain Layout
9475 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9478 \begin_layout Plain Layout
9484 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9487 \begin_layout Plain Layout
9494 <row endhead="true">
9495 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9498 \begin_layout Plain Layout
9504 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9507 \begin_layout Plain Layout
9513 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9516 \begin_layout Plain Layout
9523 <row endhead="true">
9524 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9527 \begin_layout Plain Layout
9535 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9538 \begin_layout Plain Layout
9544 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9547 \begin_layout Plain Layout
9556 <row endfoot="true">
9557 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9560 \begin_layout Plain Layout
9566 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9569 \begin_layout Plain Layout
9575 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9578 \begin_layout Plain Layout
9586 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9589 \begin_layout Plain Layout
9597 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9600 \begin_layout Plain Layout
9606 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9609 \begin_layout Plain Layout
9617 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9620 \begin_layout Plain Layout
9628 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9631 \begin_layout Plain Layout
9637 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9640 \begin_layout Plain Layout
9648 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9651 \begin_layout Plain Layout
9659 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9662 \begin_layout Plain Layout
9668 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9671 \begin_layout Plain Layout
9679 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9682 \begin_layout Plain Layout
9690 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9693 \begin_layout Plain Layout
9699 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9702 \begin_layout Plain Layout
9710 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9713 \begin_layout Plain Layout
9721 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9724 \begin_layout Plain Layout
9730 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9733 \begin_layout Plain Layout
9741 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9744 \begin_layout Plain Layout
9752 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9755 \begin_layout Plain Layout
9761 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9764 \begin_layout Plain Layout
9772 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9775 \begin_layout Plain Layout
9783 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9786 \begin_layout Plain Layout
9792 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9795 \begin_layout Plain Layout
9803 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9806 \begin_layout Plain Layout
9814 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9817 \begin_layout Plain Layout
9823 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9826 \begin_layout Plain Layout
9834 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9837 \begin_layout Plain Layout
9845 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9848 \begin_layout Plain Layout
9854 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9857 \begin_layout Plain Layout
9865 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9868 \begin_layout Plain Layout
9876 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9879 \begin_layout Plain Layout
9885 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9888 \begin_layout Plain Layout
9896 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9899 \begin_layout Plain Layout
9907 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9910 \begin_layout Plain Layout
9916 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9919 \begin_layout Plain Layout
9927 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9930 \begin_layout Plain Layout
9938 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9941 \begin_layout Plain Layout
9947 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9950 \begin_layout Plain Layout
9958 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9961 \begin_layout Plain Layout
9969 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9972 \begin_layout Plain Layout
9978 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9981 \begin_layout Plain Layout
9989 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9992 \begin_layout Plain Layout
10000 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10003 \begin_layout Plain Layout
10009 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10012 \begin_layout Plain Layout
10020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10023 \begin_layout Plain Layout
10031 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10034 \begin_layout Plain Layout
10040 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10043 \begin_layout Plain Layout
10051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10054 \begin_layout Plain Layout
10062 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10065 \begin_layout Plain Layout
10071 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10074 \begin_layout Plain Layout
10082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10085 \begin_layout Plain Layout
10093 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10096 \begin_layout Plain Layout
10102 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10105 \begin_layout Plain Layout
10113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10116 \begin_layout Plain Layout
10124 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10127 \begin_layout Plain Layout
10133 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10136 \begin_layout Plain Layout
10144 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10147 \begin_layout Plain Layout
10155 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10158 \begin_layout Plain Layout
10164 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10167 \begin_layout Plain Layout
10175 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10178 \begin_layout Plain Layout
10186 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10189 \begin_layout Plain Layout
10195 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10198 \begin_layout Plain Layout
10206 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10209 \begin_layout Plain Layout
10217 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10220 \begin_layout Plain Layout
10226 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10229 \begin_layout Plain Layout
10237 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10240 \begin_layout Plain Layout
10248 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10251 \begin_layout Plain Layout
10257 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10260 \begin_layout Plain Layout
10268 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10271 \begin_layout Plain Layout
10279 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10282 \begin_layout Plain Layout
10284 Fürst von Montecompatri, 11.
10285 Fürst von Sulmona und Vivaro, 10.
10286 Fürst von Rossano, 5.
10287 Herzog von Canemorte, 11.
10288 Herzog von Palombara, 5.
10289 Herzog von Castelchiodato,
10293 \begin_layout Plain Layout
10304 \begin_layout Plain Layout
10312 Herzog von Poggionativo, 11.
10313 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10314 Graf von Valinfreda, 11.
10315 Baron von Cropalati, 11.
10316 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10321 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10324 \begin_layout Plain Layout
10332 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10335 \begin_layout Plain Layout
10343 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10346 \begin_layout Plain Layout
10352 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10355 \begin_layout Plain Layout
10363 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10366 \begin_layout Plain Layout
10374 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10377 \begin_layout Plain Layout
10383 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10386 \begin_layout Plain Layout
10394 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10397 \begin_layout Plain Layout
10405 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10408 \begin_layout Plain Layout
10414 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10417 \begin_layout Plain Layout
10425 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10428 \begin_layout Plain Layout
10436 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10439 \begin_layout Plain Layout
10445 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10448 \begin_layout Plain Layout
10456 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10459 \begin_layout Plain Layout
10467 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10470 \begin_layout Plain Layout
10476 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10479 \begin_layout Plain Layout
10487 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10490 \begin_layout Plain Layout
10498 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10501 \begin_layout Plain Layout
10507 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10510 \begin_layout Plain Layout
10518 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10521 \begin_layout Plain Layout
10529 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10532 \begin_layout Plain Layout
10538 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10541 \begin_layout Plain Layout
10549 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10552 \begin_layout Plain Layout
10560 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10563 \begin_layout Plain Layout
10569 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10572 \begin_layout Plain Layout
10586 \begin_layout Section
10590 \begin_layout Subsection
10592 \begin_inset CommandInset label
10599 \begin_inset Index idx
10602 \begin_layout Plain Layout
10603 ひょうせるないのふくすうぎょう@表セル内の複数行
10609 \begin_inset Index idx
10612 \begin_layout Plain Layout
10621 \begin_layout Standard
10623 \begin_inset Float table
10629 \begin_layout Plain Layout
10630 \begin_inset Caption Standard
10632 \begin_layout Plain Layout
10633 \begin_inset CommandInset label
10647 \begin_layout Plain Layout
10649 \begin_inset Tabular
10650 <lyxtabular version="3" rows="3" columns="3">
10651 <features rotate="0" tabularvalignment="middle">
10652 <column alignment="center" valignment="middle" width="2.5cm">
10653 <column alignment="center" valignment="middle">
10654 <column alignment="center" valignment="middle">
10656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10659 \begin_layout Plain Layout
10661 \begin_inset Newline linebreak
10669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10672 \begin_layout Plain Layout
10678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10681 \begin_layout Plain Layout
10689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10692 \begin_layout Plain Layout
10698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10701 \begin_layout Plain Layout
10707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10710 \begin_layout Plain Layout
10718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10721 \begin_layout Plain Layout
10727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10730 \begin_layout Plain Layout
10736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10739 \begin_layout Plain Layout
10758 \begin_layout Standard
10759 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10762 \begin_layout Standard
10764 \begin_inset CommandInset ref
10766 reference "tab:複数行表"
10771 \begin_inset Formula $\times$
10774 3表を作り、最初のセルを右クリックして現れるメニューから、
10778 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10779 \begin_inset space \thinspace{}
10782 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10783 \begin_inset space \thinspace{}
10786 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(
10787 \begin_inset Flex Ruby
10790 \begin_layout Plain Layout
10792 \begin_inset Argument post:1
10795 \begin_layout Plain Layout
10809 arg "newline-insert linebreak"
10812 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10815 \begin_layout Standard
10816 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10817 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10818 \begin_inset space \thinspace{}
10821 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10822 \begin_inset CommandInset ref
10824 reference "tab:ハイフネーション表"
10832 \begin_layout Plain Layout
10837 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10845 \begin_layout Standard
10846 \begin_inset Float table
10852 \begin_layout Plain Layout
10853 \begin_inset Caption Standard
10855 \begin_layout Plain Layout
10856 \begin_inset CommandInset label
10858 name "tab:ハイフネーション表"
10870 \begin_layout Plain Layout
10871 \begin_inset space \hfill{}
10875 \begin_inset Tabular
10876 <lyxtabular version="3" rows="3" columns="3">
10877 <features rotate="0" tabularvalignment="middle">
10878 <column alignment="center" valignment="middle" width="2.5cm">
10879 <column alignment="center" valignment="middle">
10880 <column alignment="center" valignment="middle">
10882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10885 \begin_layout Plain Layout
10886 verylongtablecellword
10891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10894 \begin_layout Plain Layout
10900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10903 \begin_layout Plain Layout
10911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10914 \begin_layout Plain Layout
10920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10923 \begin_layout Plain Layout
10929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10932 \begin_layout Plain Layout
10940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10943 \begin_layout Plain Layout
10949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10952 \begin_layout Plain Layout
10958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10961 \begin_layout Plain Layout
10973 \begin_inset space \hfill{}
10977 \begin_inset Tabular
10978 <lyxtabular version="3" rows="3" columns="3">
10979 <features rotate="0" tabularvalignment="middle">
10980 <column alignment="center" valignment="middle" width="2.5cm">
10981 <column alignment="center" valignment="middle">
10982 <column alignment="center" valignment="middle">
10984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10987 \begin_layout Plain Layout
10988 \begin_inset space \hspace{}
10992 verylongtablecellword
10997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11000 \begin_layout Plain Layout
11006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11009 \begin_layout Plain Layout
11017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11020 \begin_layout Plain Layout
11026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11029 \begin_layout Plain Layout
11035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11038 \begin_layout Plain Layout
11046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11049 \begin_layout Plain Layout
11055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11058 \begin_layout Plain Layout
11064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11067 \begin_layout Plain Layout
11079 \begin_inset space \hfill{}
11090 \begin_layout Subsection
11092 \begin_inset CommandInset label
11099 \begin_inset Index idx
11102 \begin_layout Plain Layout
11109 \begin_inset Index idx
11112 \begin_layout Plain Layout
11121 \begin_layout Subsubsection
11125 \begin_layout Standard
11126 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
11131 arg "inset-modify tabular multicolumn"
11138 編集\SpecialChar \menuseparator
11139 表\SpecialChar \menuseparator
11142 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
11149 \begin_layout Standard
11150 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
11151 、最下行に上罫線のない連結行がある表の例です。
11154 \begin_layout Standard
11156 \begin_inset Tabular
11157 <lyxtabular version="3" rows="3" columns="4">
11158 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11159 <column alignment="center" valignment="top" width="0pt">
11160 <column alignment="center" valignment="middle">
11161 <column alignment="center" valignment="top" width="0in">
11162 <column alignment="center" valignment="top" width="0pt">
11164 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11167 \begin_layout Plain Layout
11173 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11176 \begin_layout Plain Layout
11182 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11185 \begin_layout Plain Layout
11191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11194 \begin_layout Plain Layout
11202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11205 \begin_layout Plain Layout
11211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11214 \begin_layout Plain Layout
11220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11223 \begin_layout Plain Layout
11229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11232 \begin_layout Plain Layout
11240 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11243 \begin_layout Plain Layout
11249 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11252 \begin_layout Plain Layout
11258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11261 \begin_layout Plain Layout
11267 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11270 \begin_layout Plain Layout
11284 \begin_layout Subsubsection
11286 \begin_inset CommandInset label
11293 \begin_inset Index idx
11296 \begin_layout Plain Layout
11297 れんけつれつ@連結列 ! けいさん@計算
11305 \begin_layout Standard
11306 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11309 \begin_layout Standard
11310 \begin_inset Float table
11316 \begin_layout Plain Layout
11317 \begin_inset Caption Standard
11319 \begin_layout Plain Layout
11320 \begin_inset CommandInset label
11326 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11327 \begin_inset Argument 1
11330 \begin_layout Plain Layout
11344 \begin_layout Plain Layout
11346 \begin_inset Tabular
11347 <lyxtabular version="3" rows="3" columns="3">
11348 <features rotate="0" tabularvalignment="middle">
11349 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11350 <column alignment="center" valignment="middle">
11351 <column alignment="center" valignment="top">
11353 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11356 \begin_layout Plain Layout
11362 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11365 \begin_layout Plain Layout
11371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11374 \begin_layout Plain Layout
11382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11385 \begin_layout Plain Layout
11391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11394 \begin_layout Plain Layout
11400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11403 \begin_layout Plain Layout
11411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11414 \begin_layout Plain Layout
11420 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11423 \begin_layout Plain Layout
11429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11432 \begin_layout Plain Layout
11451 \begin_layout Standard
11453 \begin_inset CommandInset ref
11455 reference "tab:中央揃え表"
11460 \begin_inset Formula $\times$
11463 3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11467 を選択します。そして現れる表の設定ダイアログで、このセルを
11476 \begin_inset space \thinspace{}
11479 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11480 \begin_inset space \thinspace{}
11483 cm幅に設定します。すると第二列は自動的に1.25
11484 \begin_inset space \thinspace{}
11487 cm幅(連結列幅マイナス第一列の幅)になります。表
11488 \begin_inset CommandInset ref
11490 reference "tab:半分でない表"
11497 \begin_layout Standard
11498 \begin_inset Float table
11503 \begin_layout Plain Layout
11504 \begin_inset Caption Standard
11506 \begin_layout Plain Layout
11507 \begin_inset CommandInset label
11513 連結セルの下の列が正確に半分になっていない表
11514 \begin_inset Argument 1
11517 \begin_layout Plain Layout
11531 \begin_layout Plain Layout
11533 \begin_inset Tabular
11534 <lyxtabular version="3" rows="3" columns="3">
11535 <features rotate="0" tabularvalignment="middle">
11536 <column alignment="center" valignment="top" width="1.25cm">
11537 <column alignment="center" valignment="top">
11538 <column alignment="center" valignment="top">
11540 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11543 \begin_layout Plain Layout
11549 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11552 \begin_layout Plain Layout
11558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11561 \begin_layout Plain Layout
11569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11572 \begin_layout Plain Layout
11578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11581 \begin_layout Plain Layout
11587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11590 \begin_layout Plain Layout
11598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11601 \begin_layout Plain Layout
11607 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11610 \begin_layout Plain Layout
11616 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11619 \begin_layout Plain Layout
11638 \begin_layout Standard
11639 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11641 \begin_inset Formula $W_{\mbox{指}}$
11645 \begin_inset Formula $W_{\text{全}}$
11649 \begin_inset CommandInset ref
11651 reference "cha:式の説明"
11658 \begin_layout Standard
11664 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11668 \begin_inset Formula $W_{\mbox{指}:n}$
11672 \begin_inset Formula
11674 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11682 \begin_layout Standard
11683 で計算することができます。上記の例では
11684 \begin_inset Formula $n=2$
11688 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11692 \begin_inset CommandInset ref
11699 \begin_inset Formula
11701 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11709 \begin_layout Standard
11710 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11713 \begin_layout Standard
11721 \begin_layout Standard
11727 \begin_inset Index idx
11730 \begin_layout Plain Layout
11731 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11736 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11737 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11740 \begin_layout Itemize
11745 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11748 \begin_layout Itemize
11753 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11756 \begin_layout Itemize
11761 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11764 \begin_layout Standard
11765 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11768 \begin_layout Standard
11769 \begin_inset Note Greyedout
11772 \begin_layout Plain Layout
11777 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11785 \begin_layout Standard
11792 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11795 \begin_layout Standard
11800 centering}m{1.25cm-6.2pt}
11803 \begin_layout Standard
11808 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11811 \begin_layout Standard
11812 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11816 \begin_layout Standard
11824 \begin_layout Standard
11825 というLaTeX変数を指定しなくてはなりません。
11828 \begin_layout Subsection
11830 \begin_inset CommandInset label
11837 \begin_inset Index idx
11840 \begin_layout Plain Layout
11847 \begin_inset Index idx
11850 \begin_layout Plain Layout
11851 ひょう@表 ! れんけつぎょう@連結行
11859 \begin_layout Standard
11860 複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
11865 arg "inset-modify tabular multirow"
11872 編集\SpecialChar \menuseparator
11873 表\SpecialChar \menuseparator
11876 を選ぶか、選択したセルを右クリックして、コンテクストメニューから
11878 \SpecialChar \menuseparator
11884 \begin_layout Standard
11885 下記は一列目に連結列を適用した表の例です。
11888 \begin_layout Standard
11890 \begin_inset Tabular
11891 <lyxtabular version="3" rows="3" columns="3">
11892 <features rotate="0" tabularvalignment="middle">
11893 <column alignment="center" valignment="top" width="0pt">
11894 <column alignment="center" valignment="top">
11895 <column alignment="center" valignment="top">
11897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11900 \begin_layout Plain Layout
11906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11909 \begin_layout Plain Layout
11915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11918 \begin_layout Plain Layout
11926 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11929 \begin_layout Plain Layout
11935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11938 \begin_layout Plain Layout
11944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11947 \begin_layout Plain Layout
11955 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11958 \begin_layout Plain Layout
11964 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11967 \begin_layout Plain Layout
11973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11976 \begin_layout Plain Layout
11990 \begin_layout Standard
11991 連結列の幅は、列全体の幅と揃えを設定することによって設定することができます。
11995 は、正または負の値を与えると、連結列の内容を上下にシフトします。
11998 \begin_layout Standard
11999 連結行セルの列に明示的な幅が与えられていない場合、連結行セルは当該列の揃えを継承します。それもなければ左揃えです。既定値を上書きするには、
12002 \begin_layout Standard
12014 \begin_layout Standard
12021 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
12022 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
12043 \begin_layout Standard
12044 下記は、-4ミリの垂直オフセットを設定し、3センチ幅の列中にある右揃えの連結列セルがある表の例です。
12047 \begin_layout Standard
12053 \begin_layout Plain Layout
12067 \begin_inset Tabular
12068 <lyxtabular version="3" rows="4" columns="3">
12069 <features rotate="0" tabularvalignment="middle">
12070 <column alignment="center" valignment="top" width="3cm">
12071 <column alignment="center" valignment="top">
12072 <column alignment="center" valignment="top">
12074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12077 \begin_layout Plain Layout
12083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12086 \begin_layout Plain Layout
12092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12095 \begin_layout Plain Layout
12103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12106 \begin_layout Plain Layout
12112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12115 \begin_layout Plain Layout
12121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12124 \begin_layout Plain Layout
12132 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12135 \begin_layout Plain Layout
12141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12144 \begin_layout Plain Layout
12150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12153 \begin_layout Plain Layout
12161 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12164 \begin_layout Plain Layout
12170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12173 \begin_layout Plain Layout
12179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12182 \begin_layout Plain Layout
12197 \begin_layout Plain Layout
12213 \begin_layout Standard
12214 連結行で新しい行に移るには、強制改行(
12215 \begin_inset Flex Ruby
12218 \begin_layout Plain Layout
12220 \begin_inset Argument post:1
12223 \begin_layout Plain Layout
12237 arg "newline-insert newline"
12240 )を使用できますが、この場合、下記の例に示されているようにセル行との整合を顧慮しません。
12243 \begin_layout Standard
12246 \begin_inset Tabular
12247 <lyxtabular version="3" rows="3" columns="2">
12248 <features rotate="0" tabularvalignment="middle">
12249 <column alignment="left" valignment="middle" width="2cm">
12250 <column alignment="center" valignment="top">
12252 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12255 \begin_layout Plain Layout
12257 \begin_inset Newline newline
12261 \begin_inset Newline newline
12269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12272 \begin_layout Plain Layout
12280 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12283 \begin_layout Plain Layout
12289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12292 \begin_layout Plain Layout
12300 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12303 \begin_layout Plain Layout
12309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12312 \begin_layout Plain Layout
12326 \begin_layout Standard
12327 したがって、強制改行を使うのは注意が必要です。
12330 \begin_layout Subsection
12334 \begin_layout Standard
12335 読者に表中の行見出しや列見出しが何を意味しているかを伝えるには、表の第1セルに対角線を一本ないし二本引いて分割すると便利です。これは、LaTeXパッケージの
12340 \begin_inset Index idx
12343 \begin_layout Plain Layout
12344 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
12349 を文書プリアンブルに読み込むことによって実現できます。このパッケージには、
12355 というコマンドがありますので、以下のように、これに2ないし3の引数をつけて、TeXコードで挿入します。
12358 \begin_layout Standard
12363 diagbox[オプション]{左下}{右上}
12366 \begin_layout Standard
12371 diagbox[オプション]{左下}{左上}{右上}
12374 \begin_layout Standard
12375 最初の書式は、第1セルを一本の対角線で分割し、引数の内容がその上下に入れられます。二つ目の書式は、第1セルを二本の線で分割します。
12378 \begin_layout Standard
12382 \begin_layout Plain Layout
12392 \begin_inset Note Note
12395 \begin_layout Plain Layout
12408 \begin_layout Standard
12415 を第1セル中に2引数書式で使用した表の例です。
12416 \begin_inset VSpace medskip
12422 \begin_layout Standard
12424 \begin_inset Tabular
12425 <lyxtabular version="3" rows="4" columns="4">
12426 <features rotate="0" tabularvalignment="middle">
12427 <column alignment="center" valignment="top">
12428 <column alignment="center" valignment="top">
12429 <column alignment="center" valignment="top">
12430 <column alignment="center" valignment="top">
12432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12435 \begin_layout Plain Layout
12439 \begin_layout Plain Layout
12452 \begin_layout Plain Layout
12463 \begin_layout Plain Layout
12475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12478 \begin_layout Plain Layout
12484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12487 \begin_layout Plain Layout
12493 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12496 \begin_layout Plain Layout
12504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12507 \begin_layout Plain Layout
12513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12516 \begin_layout Plain Layout
12522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12525 \begin_layout Plain Layout
12531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12534 \begin_layout Plain Layout
12542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12545 \begin_layout Plain Layout
12551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12554 \begin_layout Plain Layout
12560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12563 \begin_layout Plain Layout
12569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12572 \begin_layout Plain Layout
12580 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12583 \begin_layout Plain Layout
12589 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12592 \begin_layout Plain Layout
12598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12601 \begin_layout Plain Layout
12607 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12610 \begin_layout Plain Layout
12622 \begin_inset VSpace medskip
12628 \begin_layout Standard
12629 3引数書式は、例えばスポーツリーグや距離を示すクロス表に便利です。
12632 \begin_layout Standard
12635 \begin_inset Tabular
12636 <lyxtabular version="3" rows="4" columns="4">
12637 <features rotate="0" tabularvalignment="middle">
12638 <column alignment="center" valignment="top" width="0pt">
12639 <column alignment="center" valignment="top">
12640 <column alignment="center" valignment="top">
12641 <column alignment="center" valignment="top">
12643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12646 \begin_layout Plain Layout
12650 \begin_layout Plain Layout
12663 \begin_layout Plain Layout
12674 \begin_layout Plain Layout
12685 \begin_layout Plain Layout
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12700 \begin_layout Plain Layout
12706 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12709 \begin_layout Plain Layout
12715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12718 \begin_layout Plain Layout
12726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12729 \begin_layout Plain Layout
12735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12738 \begin_layout Plain Layout
12744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12747 \begin_layout Plain Layout
12753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12756 \begin_layout Plain Layout
12764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12767 \begin_layout Plain Layout
12773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12776 \begin_layout Plain Layout
12782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12785 \begin_layout Plain Layout
12791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12794 \begin_layout Plain Layout
12802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12805 \begin_layout Plain Layout
12811 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12814 \begin_layout Plain Layout
12820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12823 \begin_layout Plain Layout
12829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12832 \begin_layout Plain Layout
12846 \begin_layout Standard
12847 大きなクロス表では、下記のように、2つないし全部のコーナーセルに対角線を入れると良いかもしれません。
12850 \begin_layout Standard
12853 \begin_inset Tabular
12854 <lyxtabular version="3" rows="5" columns="5">
12855 <features rotate="0" tabularvalignment="middle">
12856 <column alignment="center" valignment="top" width="0pt">
12857 <column alignment="center" valignment="top">
12858 <column alignment="center" valignment="top">
12859 <column alignment="center" valignment="top">
12860 <column alignment="center" valignment="top">
12862 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12865 \begin_layout Plain Layout
12869 \begin_layout Plain Layout
12882 \begin_layout Plain Layout
12893 \begin_layout Plain Layout
12904 \begin_layout Plain Layout
12916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12919 \begin_layout Plain Layout
12925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12928 \begin_layout Plain Layout
12934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12937 \begin_layout Plain Layout
12943 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
12946 \begin_layout Plain Layout
12950 \begin_layout Plain Layout
12963 \begin_layout Plain Layout
12974 \begin_layout Plain Layout
12985 \begin_layout Plain Layout
12999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13002 \begin_layout Plain Layout
13008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13011 \begin_layout Plain Layout
13017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13020 \begin_layout Plain Layout
13026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13029 \begin_layout Plain Layout
13035 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13038 \begin_layout Plain Layout
13046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13049 \begin_layout Plain Layout
13055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13058 \begin_layout Plain Layout
13064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13067 \begin_layout Plain Layout
13073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13076 \begin_layout Plain Layout
13082 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13085 \begin_layout Plain Layout
13093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13096 \begin_layout Plain Layout
13102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13105 \begin_layout Plain Layout
13111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13114 \begin_layout Plain Layout
13120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13123 \begin_layout Plain Layout
13129 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13132 \begin_layout Plain Layout
13140 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13143 \begin_layout Plain Layout
13147 \begin_layout Plain Layout
13160 \begin_layout Plain Layout
13171 \begin_layout Plain Layout
13182 \begin_layout Plain Layout
13194 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13197 \begin_layout Plain Layout
13203 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13206 \begin_layout Plain Layout
13212 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13215 \begin_layout Plain Layout
13221 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13224 \begin_layout Plain Layout
13228 \begin_layout Plain Layout
13241 \begin_layout Plain Layout
13252 \begin_layout Plain Layout
13263 \begin_layout Plain Layout
13283 \begin_layout Standard
13284 対角線を廻すために、コマンドオプションとして
13308 のいずれかで、コンパスでの位置を示します。例えば、
13312 は南西かど(south-west)を示します。したがって、上の表の左下のセルでは、
13315 \begin_layout Standard
13320 diagbox[dir=SW]{ホームチーム}{結果}{アウェイチーム}
13323 \begin_layout Standard
13324 というコマンドを使用しています。方角を指定しなければ、NWを指定したのと同じ事になります。
13327 \begin_layout Standard
13328 対角線を引いたセルに必要な幅は、自動的に計算されます。したがって、計算された幅よりも小さい固定列幅を指定してしまうと、下記の例のように、セルの中身がはみ出てしま
13332 \begin_layout Standard
13335 \begin_inset Tabular
13336 <lyxtabular version="3" rows="2" columns="2">
13337 <features rotate="0" tabularvalignment="middle">
13338 <column alignment="center" valignment="top" width="3cm">
13339 <column alignment="center" valignment="top">
13341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13344 \begin_layout Plain Layout
13348 \begin_layout Plain Layout
13361 \begin_layout Plain Layout
13372 \begin_layout Plain Layout
13384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13387 \begin_layout Plain Layout
13395 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13398 \begin_layout Plain Layout
13404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13407 \begin_layout Plain Layout
13421 \begin_layout Standard
13422 対角線を引いたセルの列に一定の幅が必要な場合は、コマンドオプションとして
13426 (必要に応じて「3cm」を必要な幅に変更)を与えてください。下記の表では、第1列の幅が4
13427 \begin_inset space \thinspace{}
13437 \begin_inset space \thinspace{}
13440 cm)に、本文とセル罫線との間隔の2倍を加えたものになるので、
13447 \begin_inset space \thinspace{}
13451 \begin_inset space \thinspace{}
13456 tabcolsepの幅が必要です。幅の計算は、
13462 のコマンドオプション内では行うことができないので、前もって新しい長さを定義しておく必要があります。これは、TeXコードコマンドで
13465 \begin_layout Standard
13473 \begin_inset Newline newline
13485 \begin_layout Standard
13489 \begin_layout Plain Layout
13498 \begin_layout Plain Layout
13514 \begin_layout Standard
13515 とすれば実現できます。LaTeX内で計算を行うには、文書プリアンブル中で
13520 \begin_inset Index idx
13523 \begin_layout Plain Layout
13524 LaTeXぱっけーじ@LaTeXパッケージ ! calc
13529 パッケージを読み込んでおく必要があります。
13532 \begin_layout Standard
13536 \begin_layout Standard
13546 \begin_layout Standard
13550 \begin_layout Standard
13553 \begin_inset Tabular
13554 <lyxtabular version="3" rows="2" columns="2">
13555 <features rotate="0" tabularvalignment="middle">
13556 <column alignment="center" valignment="top" width="4cm">
13557 <column alignment="center" valignment="top">
13559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13562 \begin_layout Plain Layout
13566 \begin_layout Plain Layout
13581 \begin_layout Plain Layout
13592 \begin_layout Plain Layout
13604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13607 \begin_layout Plain Layout
13615 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13618 \begin_layout Plain Layout
13624 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13627 \begin_layout Plain Layout
13641 \begin_layout Standard
13642 対角線の引いたセルは、当該列中で最も幅広くなっていなくてはなりません。さもないと、次の表のように、対角線の長さが正しく計算できなくなってしまいます。
13645 \begin_layout Standard
13648 \begin_inset Tabular
13649 <lyxtabular version="3" rows="2" columns="2">
13650 <features rotate="0" tabularvalignment="middle">
13651 <column alignment="center" valignment="top" width="0pt">
13652 <column alignment="center" valignment="top">
13654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13657 \begin_layout Plain Layout
13661 \begin_layout Plain Layout
13674 \begin_layout Plain Layout
13685 \begin_layout Plain Layout
13697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13700 \begin_layout Plain Layout
13708 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13711 \begin_layout Plain Layout
13717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13720 \begin_layout Plain Layout
13734 \begin_layout Standard
13745 オプションを使用してください。こうすると、セル幅が列幅に等しくなるので、2
13747 tabcolsepを足す必要はなくなります。下記の表では、3
13748 \begin_inset space \thinspace{}
13754 \begin_layout Standard
13757 \begin_inset Tabular
13758 <lyxtabular version="3" rows="2" columns="2">
13759 <features rotate="0" tabularvalignment="middle">
13760 <column alignment="center" valignment="top" width="0pt">
13761 <column alignment="center" valignment="top">
13763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13766 \begin_layout Plain Layout
13770 \begin_layout Plain Layout
13774 diagbox[width=3cm]{
13783 \begin_layout Plain Layout
13794 \begin_layout Plain Layout
13806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13809 \begin_layout Plain Layout
13817 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13820 \begin_layout Plain Layout
13826 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13829 \begin_layout Plain Layout
13843 \begin_layout Standard
13844 対角線を引いたセルに複数行を入力するには、文章をセルに合わせるために高さを追加する必要があります。これは、
13854 を与えることで実現できます(「3cm」は必要な高さに置き換えてください)。下記の表では、第1セルに
13857 \begin_layout Standard
13862 diagbox[width=3cm,height=1.4cm]{A
13873 \begin_layout Standard
13874 というコマンドを使用しています。ここでコマンド
13886 \begin_layout Plain Layout
13891 を使っての改行は、列が固定幅の時のみ、使用することができます。
13899 \begin_layout Standard
13902 \begin_inset Tabular
13903 <lyxtabular version="3" rows="2" columns="2">
13904 <features rotate="0" tabularvalignment="middle">
13905 <column alignment="center" valignment="top">
13906 <column alignment="center" valignment="top">
13908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13911 \begin_layout Plain Layout
13915 \begin_layout Plain Layout
13919 diagbox[width=3cm,height=1.4cm]{
13928 \begin_layout Plain Layout
13943 \begin_layout Plain Layout
13954 \begin_layout Plain Layout
13969 \begin_layout Plain Layout
13981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13984 \begin_layout Plain Layout
13992 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13995 \begin_layout Plain Layout
14001 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14004 \begin_layout Plain Layout
14018 \begin_layout Standard
14022 \begin_layout Plain Layout
14032 \begin_inset Note Note
14035 \begin_layout Plain Layout
14048 \begin_layout Standard
14053 パッケージを導入しなくてはなりません。
14056 \begin_layout Standard
14060 \begin_layout Plain Layout
14072 \begin_layout Standard
14078 \begin_inset CommandInset citation
14087 \begin_layout Section
14089 \begin_inset CommandInset label
14091 name "sec:フォーマル形式の表"
14096 \begin_inset Index idx
14099 \begin_layout Plain Layout
14100 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
14108 \begin_layout Standard
14110 \begin_inset CommandInset ref
14112 reference "tab:ブックタブ表の例"
14116 のように組版されます。この種の表は、「
14120 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
14123 \begin_layout Standard
14124 \begin_inset Float table
14130 \begin_layout Plain Layout
14131 \begin_inset Caption Standard
14133 \begin_layout Plain Layout
14134 \begin_inset CommandInset label
14136 name "tab:ブックタブ表の例"
14148 \begin_layout Plain Layout
14150 \begin_inset Tabular
14151 <lyxtabular version="3" rows="8" columns="4">
14152 <features rotate="0" booktabs="true" tabularvalignment="middle">
14153 <column alignment="center" valignment="top">
14154 <column alignment="center" valignment="top">
14155 <column alignment="center" valignment="top">
14156 <column alignment="center" valignment="top">
14158 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14161 \begin_layout Plain Layout
14167 <cell alignment="center" valignment="top" topline="true" usebox="none">
14170 \begin_layout Plain Layout
14172 \begin_inset space \thinspace{}
14180 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14183 \begin_layout Plain Layout
14185 \begin_inset space \thinspace{}
14193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14196 \begin_layout Plain Layout
14204 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14207 \begin_layout Plain Layout
14211 \begin_layout Plain Layout
14224 \begin_layout Plain Layout
14234 \begin_inset Formula $\mu m$
14242 <cell alignment="center" valignment="top" usebox="none">
14245 \begin_layout Plain Layout
14251 <cell alignment="center" valignment="top" usebox="none">
14254 \begin_layout Plain Layout
14260 <cell alignment="center" valignment="top" usebox="none">
14263 \begin_layout Plain Layout
14271 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14274 \begin_layout Plain Layout
14280 <cell alignment="center" valignment="top" topline="true" usebox="none">
14283 \begin_layout Plain Layout
14289 <cell alignment="center" valignment="top" topline="true" usebox="none">
14292 \begin_layout Plain Layout
14298 <cell alignment="center" valignment="top" topline="true" usebox="none">
14301 \begin_layout Plain Layout
14308 <row topspace="default">
14309 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14312 \begin_layout Plain Layout
14314 \begin_inset Formula $\mu m$
14322 <cell alignment="center" valignment="top" usebox="none">
14325 \begin_layout Plain Layout
14331 <cell alignment="center" valignment="top" usebox="none">
14334 \begin_layout Plain Layout
14340 <cell alignment="center" valignment="top" usebox="none">
14343 \begin_layout Plain Layout
14350 <row topspace="default">
14351 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14354 \begin_layout Plain Layout
14355 \begin_inset Formula $f_{\mathrm{max}}$
14363 <cell alignment="center" valignment="top" usebox="none">
14366 \begin_layout Plain Layout
14372 <cell alignment="center" valignment="top" usebox="none">
14375 \begin_layout Plain Layout
14381 <cell alignment="center" valignment="top" usebox="none">
14384 \begin_layout Plain Layout
14391 <row topspace="default">
14392 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14395 \begin_layout Plain Layout
14399 \begin_layout Plain Layout
14403 cmidrule(l{10pt}){1-1}
14413 <cell alignment="center" valignment="top" usebox="none">
14416 \begin_layout Plain Layout
14422 <cell alignment="center" valignment="top" usebox="none">
14425 \begin_layout Plain Layout
14431 <cell alignment="center" valignment="top" usebox="none">
14434 \begin_layout Plain Layout
14442 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14445 \begin_layout Plain Layout
14446 \begin_inset Formula $\mu m$
14454 <cell alignment="center" valignment="top" usebox="none">
14457 \begin_layout Plain Layout
14463 <cell alignment="center" valignment="top" usebox="none">
14466 \begin_layout Plain Layout
14472 <cell alignment="center" valignment="top" usebox="none">
14475 \begin_layout Plain Layout
14483 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14486 \begin_layout Plain Layout
14492 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14495 \begin_layout Plain Layout
14501 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14504 \begin_layout Plain Layout
14510 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14513 \begin_layout Plain Layout
14532 \begin_layout Standard
14534 \begin_inset CommandInset ref
14536 reference "sub:行の余白取り"
14540 節に述べられているように、表の設定ダイアログの
14547 \begin_layout Standard
14548 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
14549 \begin_inset Newline newline
14553 \begin_inset space \thinspace{}
14556 emですが、他の罫線の既定幅は0.05
14557 \begin_inset space \thinspace{}
14563 \begin_layout Standard
14564 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
14567 \begin_layout Standard
14577 \begin_inset Newline newline
14589 \begin_layout Standard
14594 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
14602 に置き換えて下さい。他の罫線の線幅を変更するには、
14610 に置き換えます。線幅を設定する上では、付録
14611 \begin_inset CommandInset ref
14613 reference "cha:LyXで使用できる単位"
14617 に挙げてあるすべての単位を使用することができます。
14620 \begin_layout Standard
14621 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
14627 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
14630 \begin_layout Standard
14635 cmidrule[幅](刈込){開始列-終了列}
14638 \begin_layout Standard
14645 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
14651 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
14655 \begin_layout Standard
14657 \begin_inset space \thinspace{}
14660 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
14669 の値を取り、刈込幅の指定は非必須です。たとえば、
14673 というパラメーターを使うと、罫線が左端から2
14674 \begin_inset space \thinspace{}
14677 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
14678 \begin_inset space \thinspace{}
14684 \begin_layout Standard
14685 \begin_inset VSpace bigskip
14689 \begin_inset CommandInset ref
14691 reference "tab:ブックタブ表の例"
14698 \begin_layout Standard
14708 \begin_layout Standard
14709 というコマンドを第二行の初めに使用し、
14712 \begin_layout Standard
14717 cmidrule(l{10pt}){1-1}
14720 \begin_layout Standard
14724 \begin_layout Standard
14725 \begin_inset VSpace bigskip
14731 \begin_layout Standard
14733 \begin_inset CommandInset ref
14735 reference "tab:特殊なブックタブ表"
14745 が欲しいことがあるかもしれません。これは、TeXコードで
14748 \begin_layout Standard
14756 \begin_layout Standard
14757 コマンドを使用することによって実現することができます。表
14758 \begin_inset CommandInset ref
14760 reference "tab:特殊なブックタブ表"
14767 \begin_layout Standard
14781 \begin_layout Standard
14782 というコマンドが使用されており、第六列には
14785 \begin_layout Standard
14797 \begin_layout Standard
14801 \begin_layout Standard
14802 \begin_inset VSpace bigskip
14808 \begin_layout Standard
14809 罫線の余白取りにどうしても満足が行かない場合には、
14812 \begin_layout Standard
14817 specialrule{幅}{上余白}{下余白}
14820 \begin_layout Standard
14821 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
14826 \begin_inset CommandInset citation
14833 \begin_inset Index idx
14836 \begin_layout Plain Layout
14837 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
14845 \begin_layout Standard
14846 \begin_inset Float table
14852 \begin_layout Plain Layout
14853 \begin_inset Caption Standard
14855 \begin_layout Plain Layout
14856 \begin_inset CommandInset label
14858 name "tab:特殊なブックタブ表"
14870 \begin_layout Plain Layout
14872 \begin_inset Tabular
14873 <lyxtabular version="3" rows="8" columns="4">
14874 <features rotate="0" booktabs="true" tabularvalignment="middle">
14875 <column alignment="center" valignment="top">
14876 <column alignment="center" valignment="top">
14877 <column alignment="center" valignment="top">
14878 <column alignment="center" valignment="top">
14880 <cell alignment="center" valignment="top" topline="true" usebox="none">
14883 \begin_layout Plain Layout
14889 <cell alignment="center" valignment="top" topline="true" usebox="none">
14892 \begin_layout Plain Layout
14894 \begin_inset space \thinspace{}
14902 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14905 \begin_layout Plain Layout
14907 \begin_inset space \thinspace{}
14915 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14918 \begin_layout Plain Layout
14926 <cell alignment="center" valignment="top" usebox="none">
14929 \begin_layout Plain Layout
14933 \begin_layout Plain Layout
14946 \begin_layout Plain Layout
14959 \begin_layout Plain Layout
14972 \begin_layout Plain Layout
14982 \begin_inset Formula $\mu m$
14990 <cell alignment="center" valignment="top" usebox="none">
14993 \begin_layout Plain Layout
14999 <cell alignment="center" valignment="top" usebox="none">
15002 \begin_layout Plain Layout
15008 <cell alignment="center" valignment="top" usebox="none">
15011 \begin_layout Plain Layout
15019 <cell alignment="center" valignment="top" topline="true" usebox="none">
15022 \begin_layout Plain Layout
15028 <cell alignment="center" valignment="top" topline="true" usebox="none">
15031 \begin_layout Plain Layout
15037 <cell alignment="center" valignment="top" topline="true" usebox="none">
15040 \begin_layout Plain Layout
15046 <cell alignment="center" valignment="top" topline="true" usebox="none">
15049 \begin_layout Plain Layout
15056 <row topspace="default">
15057 <cell alignment="center" valignment="top" usebox="none">
15060 \begin_layout Plain Layout
15062 \begin_inset Formula $\mu m$
15070 <cell alignment="center" valignment="top" usebox="none">
15073 \begin_layout Plain Layout
15079 <cell alignment="center" valignment="top" usebox="none">
15082 \begin_layout Plain Layout
15088 <cell alignment="center" valignment="top" usebox="none">
15091 \begin_layout Plain Layout
15098 <row topspace="default">
15099 <cell alignment="center" valignment="top" usebox="none">
15102 \begin_layout Plain Layout
15103 \begin_inset Formula $f_{\mathrm{max}}$
15111 <cell alignment="center" valignment="top" usebox="none">
15114 \begin_layout Plain Layout
15120 <cell alignment="center" valignment="top" usebox="none">
15123 \begin_layout Plain Layout
15129 <cell alignment="center" valignment="top" usebox="none">
15132 \begin_layout Plain Layout
15140 <cell alignment="center" valignment="top" topline="true" usebox="none">
15143 \begin_layout Plain Layout
15147 \begin_layout Plain Layout
15160 \begin_layout Plain Layout
15174 <cell alignment="center" valignment="top" topline="true" usebox="none">
15177 \begin_layout Plain Layout
15183 <cell alignment="center" valignment="top" topline="true" usebox="none">
15186 \begin_layout Plain Layout
15192 <cell alignment="center" valignment="top" topline="true" usebox="none">
15195 \begin_layout Plain Layout
15203 <cell alignment="center" valignment="top" usebox="none">
15206 \begin_layout Plain Layout
15207 \begin_inset Formula $\mu m$
15215 <cell alignment="center" valignment="top" usebox="none">
15218 \begin_layout Plain Layout
15224 <cell alignment="center" valignment="top" usebox="none">
15227 \begin_layout Plain Layout
15233 <cell alignment="center" valignment="top" usebox="none">
15236 \begin_layout Plain Layout
15244 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15247 \begin_layout Plain Layout
15253 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15256 \begin_layout Plain Layout
15262 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15265 \begin_layout Plain Layout
15271 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15274 \begin_layout Plain Layout
15293 \begin_layout Section
15295 \begin_inset Index idx
15298 \begin_layout Plain Layout
15307 \begin_layout Standard
15308 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
15309 \begin_inset CommandInset ref
15311 reference "sec:ボックスダイアログ"
15315 節に述べられているように、ボックスの垂直揃えを行います。
15318 \begin_layout Standard
15320 \begin_inset space \thinspace{}
15327 \begin_layout Plain Layout
15329 \begin_inset CommandInset ref
15331 reference "sec:ミニページ"
15343 \begin_layout Itemize
15345 \begin_inset Box Frameless
15355 height_special "totalheight"
15358 \begin_layout Plain Layout
15359 \begin_inset Tabular
15360 <lyxtabular version="3" rows="3" columns="3">
15361 <features rotate="0" tabularvalignment="middle">
15362 <column alignment="center" valignment="top">
15363 <column alignment="center" valignment="top">
15364 <column alignment="center" valignment="top">
15366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15369 \begin_layout Plain Layout
15375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15378 \begin_layout Plain Layout
15384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15387 \begin_layout Plain Layout
15395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15398 \begin_layout Plain Layout
15404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15407 \begin_layout Plain Layout
15413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15416 \begin_layout Plain Layout
15424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15427 \begin_layout Plain Layout
15433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15436 \begin_layout Plain Layout
15442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15445 \begin_layout Plain Layout
15465 \begin_layout Plain Layout
15477 \begin_inset Box Frameless
15487 height_special "totalheight"
15490 \begin_layout Plain Layout
15491 \begin_inset Tabular
15492 <lyxtabular version="3" rows="3" columns="3">
15493 <features rotate="0" tabularvalignment="middle">
15494 <column alignment="center" valignment="top">
15495 <column alignment="center" valignment="top">
15496 <column alignment="center" valignment="top">
15498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15501 \begin_layout Plain Layout
15507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15510 \begin_layout Plain Layout
15516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15519 \begin_layout Plain Layout
15527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15530 \begin_layout Plain Layout
15536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15539 \begin_layout Plain Layout
15545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15548 \begin_layout Plain Layout
15556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15559 \begin_layout Plain Layout
15565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15568 \begin_layout Plain Layout
15574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15577 \begin_layout Plain Layout
15597 \begin_layout Plain Layout
15607 \begin_layout Itemize
15609 \begin_inset Box Frameless
15619 height_special "totalheight"
15622 \begin_layout Plain Layout
15623 \begin_inset Tabular
15624 <lyxtabular version="3" rows="3" columns="3">
15625 <features rotate="0" tabularvalignment="middle">
15626 <column alignment="center" valignment="top">
15627 <column alignment="center" valignment="top">
15628 <column alignment="center" valignment="top">
15630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15633 \begin_layout Plain Layout
15639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15642 \begin_layout Plain Layout
15648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15651 \begin_layout Plain Layout
15659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15662 \begin_layout Plain Layout
15668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15671 \begin_layout Plain Layout
15677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15680 \begin_layout Plain Layout
15688 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15691 \begin_layout Plain Layout
15697 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15700 \begin_layout Plain Layout
15706 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15709 \begin_layout Plain Layout
15728 \begin_layout Itemize
15730 \begin_inset Box Frameless
15740 height_special "totalheight"
15743 \begin_layout Plain Layout
15744 \begin_inset Tabular
15745 <lyxtabular version="3" rows="3" columns="3">
15746 <features rotate="0" tabularvalignment="middle">
15747 <column alignment="center" valignment="top">
15748 <column alignment="center" valignment="top">
15749 <column alignment="center" valignment="top">
15751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15754 \begin_layout Plain Layout
15760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15763 \begin_layout Plain Layout
15769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15772 \begin_layout Plain Layout
15780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15783 \begin_layout Plain Layout
15789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15792 \begin_layout Plain Layout
15798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15801 \begin_layout Plain Layout
15809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15812 \begin_layout Plain Layout
15818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15821 \begin_layout Plain Layout
15827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15830 \begin_layout Plain Layout
15850 \begin_layout Plain Layout
15862 \begin_inset Box Frameless
15872 height_special "totalheight"
15875 \begin_layout Plain Layout
15876 \begin_inset Tabular
15877 <lyxtabular version="3" rows="3" columns="3">
15878 <features rotate="0" tabularvalignment="middle">
15879 <column alignment="center" valignment="top">
15880 <column alignment="center" valignment="top">
15881 <column alignment="center" valignment="top">
15883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15886 \begin_layout Plain Layout
15892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15895 \begin_layout Plain Layout
15901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15904 \begin_layout Plain Layout
15912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15915 \begin_layout Plain Layout
15921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15924 \begin_layout Plain Layout
15930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15933 \begin_layout Plain Layout
15941 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15944 \begin_layout Plain Layout
15950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15953 \begin_layout Plain Layout
15959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15962 \begin_layout Plain Layout
15982 \begin_layout Plain Layout
15992 \begin_layout Standard
15993 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
15997 \begin_layout Plain Layout
15999 \begin_inset CommandInset ref
16001 reference "sub:垂直揃え"
16010 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
16013 \begin_layout Standard
16023 \begin_layout Standard
16024 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
16028 をTeXコードとして挿入してあります。最後の項目の第二表には、
16031 \begin_layout Standard
16041 \begin_layout Standard
16045 \begin_layout Standard
16046 \begin_inset Note Greyedout
16049 \begin_layout Plain Layout
16054 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
16060 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
16068 \begin_layout Section
16070 \begin_inset CommandInset label
16077 \begin_inset Index idx
16080 \begin_layout Plain Layout
16089 \begin_layout Subsection
16091 \begin_inset Index idx
16094 \begin_layout Plain Layout
16095 ひょうのいろ@表の色 ! せるぶ@セル部
16101 \begin_inset Index idx
16104 \begin_layout Plain Layout
16105 いろつき@色付き ! ひょうせるぶ@表セル部
16113 \begin_layout Standard
16114 \begin_inset Float table
16120 \begin_layout Plain Layout
16121 \begin_inset Caption Standard
16123 \begin_layout Plain Layout
16124 \begin_inset CommandInset label
16126 name "tab:colortblなしの表"
16135 \begin_inset Argument 1
16138 \begin_layout Plain Layout
16152 \begin_layout Plain Layout
16154 \begin_inset Tabular
16155 <lyxtabular version="3" rows="3" columns="3">
16156 <features rotate="0" tabularvalignment="middle">
16157 <column alignment="center" valignment="top">
16158 <column alignment="center" valignment="top">
16159 <column alignment="center" valignment="top">
16161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16164 \begin_layout Plain Layout
16172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16175 \begin_layout Plain Layout
16183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16186 \begin_layout Plain Layout
16196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16199 \begin_layout Plain Layout
16207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16210 \begin_layout Plain Layout
16218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16221 \begin_layout Plain Layout
16231 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16234 \begin_layout Plain Layout
16242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16245 \begin_layout Plain Layout
16253 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16256 \begin_layout Plain Layout
16277 \begin_layout Standard
16278 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
16280 編集\SpecialChar \menuseparator
16284 \begin_inset CommandInset ref
16286 reference "tab:colortblなしの表"
16290 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
16295 \begin_inset Index idx
16298 \begin_layout Plain Layout
16299 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
16307 \begin_layout Standard
16311 \begin_layout Plain Layout
16321 \begin_inset Note Note
16324 \begin_layout Plain Layout
16325 本節の以下の部分は、LaTeXパッケージ
16337 \begin_layout Standard
16338 色付きの表を作成するには、プリアンブルに
16341 \begin_layout Standard
16346 usepackage{colortbl}
16349 \begin_layout Standard
16354 を読み込まなくてはなりません。列の色は、
16361 \begin_layout Standard
16369 \begin_layout Standard
16370 というコマンドを書いて指定することができます。
16375 \begin_inset CommandInset ref
16377 reference "sub:連結列の計算"
16384 \begin_layout Standard
16385 以下の色彩名が事前に定義されています。
16388 \begin_layout Standard
16422 \begin_layout Standard
16423 \begin_inset VSpace medskip
16429 \begin_layout Standard
16430 また、文書設定中で、文書クラスオプションに
16433 \begin_layout Standard
16436 usenames,dvipsnames
16439 \begin_layout Standard
16440 を与えると、さらに61色を使用することができます。これらの色は、附録
16441 \begin_inset CommandInset ref
16443 reference "chap:dvips色名一覧"
16447 に列挙されています。それらの色の1つ、
16452 \begin_inset CommandInset ref
16454 reference "tab:色付き表"
16461 \begin_layout Standard
16462 \begin_inset VSpace medskip
16468 \begin_layout Standard
16472 \begin_layout Standard
16477 definecolor{色彩名}{色彩モデル}{色彩値}
16480 \begin_layout Standard
16481 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
16484 \begin_layout Labeling
16485 \labelwidthstring 00.00.0000
16505 \begin_layout Labeling
16506 \labelwidthstring 00.00.0000
16522 \begin_layout Labeling
16523 \labelwidthstring 00.00.0000
16527 \begin_layout Standard
16528 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
16531 \begin_layout Standard
16535 \begin_layout Standard
16540 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
16543 \begin_layout Standard
16551 \begin_layout Standard
16556 definecolor{lightgray}{gray}{0.8}
16559 \begin_layout Standard
16567 \begin_layout Standard
16568 \begin_inset VSpace medskip
16574 \begin_layout Standard
16578 \begin_layout Standard
16586 \begin_layout Standard
16587 というコマンドを使用して色付けすることができ、セルは
16590 \begin_layout Standard
16598 \begin_layout Standard
16599 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
16602 \begin_layout Standard
16603 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
16605 編集\SpecialChar \menuseparator
16608 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
16612 \begin_layout Standard
16613 \begin_inset Note Greyedout
16616 \begin_layout Plain Layout
16617 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
16625 \begin_layout Standard
16626 \begin_inset VSpace bigskip
16632 \begin_layout Standard
16634 \begin_inset CommandInset ref
16636 reference "tab:色付き表"
16640 を作成するには、以下のようにしてください。第一列の色は
16644 にしたいので、この列のLaTeX変数として
16647 \begin_layout Standard
16652 columncolor{darkgreen}
16657 \begin_layout Standard
16658 と書き込みます。第一列は青にしたいので、この列の最初のセルに
16661 \begin_layout Standard
16669 \begin_layout Standard
16670 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最終行の最後のセルは、
16673 \begin_layout Standard
16681 \begin_layout Standard
16682 というTeXコードコマンドを書き込むことで、マルーンに色づけされています。この後、
16684 編集\SpecialChar \menuseparator
16687 メニューを使って、各文字に色付けをすることができます。
16690 \begin_layout Standard
16691 \begin_inset Float table
16697 \begin_layout Plain Layout
16698 \begin_inset Caption Standard
16700 \begin_layout Plain Layout
16703 \begin_inset CommandInset label
16712 \begin_inset Argument 1
16715 \begin_layout Plain Layout
16729 \begin_layout Plain Layout
16731 \begin_inset Tabular
16732 <lyxtabular version="3" rows="3" columns="3">
16733 <features rotate="0" tabularvalignment="middle">
16734 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
16735 <column alignment="center" valignment="top">
16736 <column alignment="center" valignment="top">
16738 <cell alignment="center" valignment="top" usebox="none">
16741 \begin_layout Plain Layout
16745 \begin_layout Plain Layout
16761 <cell alignment="center" valignment="top" usebox="none">
16764 \begin_layout Plain Layout
16772 <cell alignment="center" valignment="top" usebox="none">
16775 \begin_layout Plain Layout
16785 <cell alignment="center" valignment="top" usebox="none">
16788 \begin_layout Plain Layout
16796 <cell alignment="center" valignment="top" usebox="none">
16799 \begin_layout Plain Layout
16807 <cell alignment="center" valignment="top" usebox="none">
16810 \begin_layout Plain Layout
16820 <cell alignment="center" valignment="top" usebox="none">
16823 \begin_layout Plain Layout
16831 <cell alignment="center" valignment="top" usebox="none">
16834 \begin_layout Plain Layout
16842 <cell alignment="center" valignment="top" usebox="none">
16845 \begin_layout Plain Layout
16849 \begin_layout Plain Layout
16878 \begin_layout Standard
16882 \begin_layout Plain Layout
16892 \begin_inset Note Note
16895 \begin_layout Plain Layout
16900 が導入されていないときに表示されます。
16908 \begin_layout Standard
16916 \begin_layout Standard
16920 \begin_layout Plain Layout
16932 \begin_layout Subsection
16934 \begin_inset Index idx
16937 \begin_layout Plain Layout
16938 ひょうのいろ@表の色 ! ぎょうぜんたい@行全体
16944 \begin_inset Index idx
16947 \begin_layout Plain Layout
16948 いろつき@色付き ! ひょうのぎょう@表の行
16956 \begin_layout Standard
16957 表の行を交互に色付けする必要がある場合、前節に述べたのとは別な方法があります。文書プリアンブルに
16960 \begin_layout Standard
16965 usepackage[table]{xcolor}
16968 \begin_layout Standard
16974 \begin_inset Index idx
16977 \begin_layout Plain Layout
16978 LaTeXぱっけーじ@LaTeXパッケージ ! xcolor
16982 \begin_layout Plain Layout
17005 \begin_inset Index idx
17008 \begin_layout Plain Layout
17009 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
17014 パッケージも読み込むので、LaTeXエラーを防ぐためには、お使いのLaTeX頒布版中に
17021 \begin_layout Standard
17025 \begin_layout Plain Layout
17035 \begin_inset Note Note
17038 \begin_layout Plain Layout
17039 本節の以下の部分は、LaTeXパッケージ
17051 \begin_layout Standard
17052 表の行は、文書プリアンブル中か、色付けする最初の表の前にTeXコードで
17055 \begin_layout Standard
17060 rowcolors[コマンド]{行番号}{奇数行の色}{偶数行の色}
17063 \begin_layout Standard
17064 というコマンドを使用すれば、色付けすることができます。ここで、「行番号」は、奇数行色で色付けする最初の行の番号です。「コマンド」は、各行の前で実行したいコマンド
17065 を付加する時に用います。したがって、例えば
17068 \begin_layout Standard
17073 rowcolors{1}{white}{lightgray}
17076 \begin_layout Standard
17078 \begin_inset CommandInset ref
17080 reference "tab:表-行色"
17084 のようなカラースキームをもたらします。また、
17087 \begin_layout Standard
17094 hline]{1}{lightgray}{cyan}
17097 \begin_layout Standard
17099 \begin_inset CommandInset ref
17101 reference "tab:表-行色-2"
17105 のようなカラースキームになります。「奇数行の色」ないし「偶数行の色」(またはその両方)が空のときは、色付けはされませんので、
17108 \begin_layout Standard
17116 \begin_layout Standard
17117 というコマンドはすべての色付けを削除することになります。
17123 は、コマンドに続くすべての表に影響を及ぼします。
17126 \begin_layout Standard
17130 \begin_layout Plain Layout
17134 rowcolors{1}{white}{lightgray}
17142 \begin_layout Standard
17143 \begin_inset Float table
17149 \begin_layout Plain Layout
17150 \begin_inset Caption Standard
17152 \begin_layout Plain Layout
17153 \begin_inset CommandInset label
17167 \begin_layout Plain Layout
17169 \begin_inset Tabular
17170 <lyxtabular version="3" rows="4" columns="3">
17171 <features rotate="0" tabularvalignment="middle">
17172 <column alignment="center" valignment="top">
17173 <column alignment="center" valignment="top" width="0pt">
17174 <column alignment="center" valignment="top" width="0pt">
17176 <cell alignment="center" valignment="top" usebox="none">
17179 \begin_layout Plain Layout
17185 <cell alignment="center" valignment="top" usebox="none">
17188 \begin_layout Plain Layout
17194 <cell alignment="center" valignment="top" usebox="none">
17197 \begin_layout Plain Layout
17205 <cell alignment="center" valignment="top" usebox="none">
17208 \begin_layout Plain Layout
17214 <cell alignment="center" valignment="top" usebox="none">
17217 \begin_layout Plain Layout
17223 <cell alignment="center" valignment="top" usebox="none">
17226 \begin_layout Plain Layout
17234 <cell alignment="center" valignment="top" usebox="none">
17237 \begin_layout Plain Layout
17243 <cell alignment="center" valignment="top" usebox="none">
17246 \begin_layout Plain Layout
17252 <cell alignment="center" valignment="top" usebox="none">
17255 \begin_layout Plain Layout
17263 <cell alignment="center" valignment="top" usebox="none">
17266 \begin_layout Plain Layout
17272 <cell alignment="center" valignment="top" usebox="none">
17275 \begin_layout Plain Layout
17281 <cell alignment="center" valignment="top" usebox="none">
17284 \begin_layout Plain Layout
17303 \begin_layout Standard
17307 \begin_layout Plain Layout
17313 hline]{1}{lightgray}{cyan}
17321 \begin_layout Standard
17322 \begin_inset Float table
17328 \begin_layout Plain Layout
17329 \begin_inset Caption Standard
17331 \begin_layout Plain Layout
17332 \begin_inset CommandInset label
17338 隔行でシアン色に着色され、行間に線の入った表
17346 \begin_layout Plain Layout
17348 \begin_inset Tabular
17349 <lyxtabular version="3" rows="4" columns="3">
17350 <features rotate="0" tabularvalignment="middle">
17351 <column alignment="center" valignment="top">
17352 <column alignment="center" valignment="top">
17353 <column alignment="center" valignment="top" width="0pt">
17355 <cell alignment="center" valignment="top" usebox="none">
17358 \begin_layout Plain Layout
17364 <cell alignment="center" valignment="top" usebox="none">
17367 \begin_layout Plain Layout
17373 <cell alignment="center" valignment="top" usebox="none">
17376 \begin_layout Plain Layout
17384 <cell alignment="center" valignment="top" usebox="none">
17387 \begin_layout Plain Layout
17393 <cell alignment="center" valignment="top" usebox="none">
17396 \begin_layout Plain Layout
17402 <cell alignment="center" valignment="top" usebox="none">
17405 \begin_layout Plain Layout
17413 <cell alignment="center" valignment="top" usebox="none">
17416 \begin_layout Plain Layout
17422 <cell alignment="center" valignment="top" usebox="none">
17425 \begin_layout Plain Layout
17431 <cell alignment="center" valignment="top" usebox="none">
17434 \begin_layout Plain Layout
17442 <cell alignment="center" valignment="top" usebox="none">
17445 \begin_layout Plain Layout
17451 <cell alignment="center" valignment="top" usebox="none">
17454 \begin_layout Plain Layout
17460 <cell alignment="center" valignment="top" usebox="none">
17463 \begin_layout Plain Layout
17482 \begin_layout Standard
17486 \begin_layout Plain Layout
17496 \begin_inset Note Note
17499 \begin_layout Plain Layout
17508 \begin_layout Standard
17512 \begin_layout Plain Layout
17522 \begin_inset Note Note
17525 \begin_layout Plain Layout
17530 が導入されていないときに表示されます。
17538 \begin_layout Standard
17546 \begin_layout Standard
17550 \begin_layout Plain Layout
17562 \begin_layout Subsection
17564 \begin_inset Index idx
17567 \begin_layout Plain Layout
17568 ひょうのいろ@表の色 ! けいせんぶ@罫線部
17574 \begin_inset Index idx
17577 \begin_layout Plain Layout
17578 いろつき@色付き ! ひょうけいせんぶ@表罫線部
17586 \begin_layout Standard
17588 \begin_inset CommandInset ref
17590 reference "sub:罫線幅"
17594 節に述べられているように、表中の全罫線の線幅は、長さ
17600 を使って調節することができます。本節の表では、すべて1.5
17601 \begin_inset space \thinspace{}
17608 \begin_layout Plain Layout
17614 arrayrulewidth}{1.5pt}
17622 \begin_layout Standard
17624 \begin_inset CommandInset ref
17626 reference "sub:自製書式"
17630 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
17633 \begin_layout Standard
17638 newcolumntype{W}{!{
17645 \begin_layout Standard
17647 \begin_inset CommandInset ref
17649 reference "tab:色付き縦罫線の表"
17664 \begin_layout Standard
17665 複数の色を用いたいときには、列書式をもっと定義してください。
17668 \begin_layout Standard
17669 \begin_inset Float table
17675 \begin_layout Plain Layout
17676 \begin_inset Caption Standard
17678 \begin_layout Plain Layout
17679 \begin_inset CommandInset label
17681 name "tab:色付き縦罫線の表"
17693 \begin_layout Plain Layout
17695 \begin_inset Tabular
17696 <lyxtabular version="3" rows="3" columns="3">
17697 <features rotate="0" tabularvalignment="middle">
17698 <column alignment="center" valignment="top" special="Wc">
17699 <column alignment="center" valignment="top" special="Wc">
17700 <column alignment="center" valignment="top" special="WcW">
17702 <cell alignment="center" valignment="top" topline="true" usebox="none">
17705 \begin_layout Plain Layout
17711 <cell alignment="center" valignment="top" topline="true" usebox="none">
17714 \begin_layout Plain Layout
17720 <cell alignment="center" valignment="top" topline="true" usebox="none">
17723 \begin_layout Plain Layout
17731 <cell alignment="center" valignment="top" topline="true" usebox="none">
17734 \begin_layout Plain Layout
17740 <cell alignment="center" valignment="top" topline="true" usebox="none">
17743 \begin_layout Plain Layout
17749 <cell alignment="center" valignment="top" topline="true" usebox="none">
17752 \begin_layout Plain Layout
17760 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17763 \begin_layout Plain Layout
17769 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17772 \begin_layout Plain Layout
17778 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17781 \begin_layout Plain Layout
17800 \begin_layout Standard
17801 \begin_inset VSpace bigskip
17805 \begin_inset CommandInset ref
17807 reference "tab:色付き横罫線の表"
17811 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
17814 \begin_layout Standard
17824 \begin_inset Newline newline
17832 \begin_inset Newline newline
17836 \begin_inset Phantom HPhantom
17839 \begin_layout Plain Layout
17840 \begin_inset space ~
17850 arrayrulecolor{red}
17854 arrayrulecolor{black}}
17857 \begin_layout Standard
17861 \begin_layout Standard
17865 \begin_layout Plain Layout
17876 \begin_layout Plain Layout
17885 \begin_layout Plain Layout
17889 arrayrulecolor{red}
17893 arrayrulecolor{black}}
17899 \begin_inset Float table
17905 \begin_layout Plain Layout
17906 \begin_inset Caption Standard
17908 \begin_layout Plain Layout
17909 \begin_inset CommandInset label
17911 name "tab:色付き横罫線の表"
17923 \begin_layout Plain Layout
17925 \begin_inset Tabular
17926 <lyxtabular version="3" rows="3" columns="3">
17927 <features rotate="0" tabularvalignment="middle">
17928 <column alignment="center" valignment="top">
17929 <column alignment="center" valignment="top">
17930 <column alignment="center" valignment="top">
17932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17935 \begin_layout Plain Layout
17941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17944 \begin_layout Plain Layout
17950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17953 \begin_layout Plain Layout
17961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17964 \begin_layout Plain Layout
17970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17973 \begin_layout Plain Layout
17979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17982 \begin_layout Plain Layout
17990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17993 \begin_layout Plain Layout
17999 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18002 \begin_layout Plain Layout
18008 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18011 \begin_layout Plain Layout
18030 \begin_layout Standard
18034 \begin_layout Standard
18046 \begin_layout Standard
18047 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
18048 \begin_inset CommandInset ref
18050 reference "tab:色付き罫線の表"
18057 \begin_layout Standard
18058 \begin_inset Float table
18064 \begin_layout Plain Layout
18065 \begin_inset Caption Standard
18067 \begin_layout Plain Layout
18068 \begin_inset CommandInset label
18082 \begin_layout Plain Layout
18084 \begin_inset Tabular
18085 <lyxtabular version="3" rows="3" columns="3">
18086 <features rotate="0" tabularvalignment="middle">
18087 <column alignment="center" valignment="top" special="Wc">
18088 <column alignment="center" valignment="top" special="Wc">
18089 <column alignment="center" valignment="top" special="WcW">
18091 <cell alignment="center" valignment="top" topline="true" usebox="none">
18094 \begin_layout Plain Layout
18100 <cell alignment="center" valignment="top" topline="true" usebox="none">
18103 \begin_layout Plain Layout
18109 <cell alignment="center" valignment="top" topline="true" usebox="none">
18112 \begin_layout Plain Layout
18120 <cell alignment="center" valignment="top" topline="true" usebox="none">
18123 \begin_layout Plain Layout
18129 <cell alignment="center" valignment="top" topline="true" usebox="none">
18132 \begin_layout Plain Layout
18138 <cell alignment="center" valignment="top" topline="true" usebox="none">
18141 \begin_layout Plain Layout
18148 <row topspace="default">
18149 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18152 \begin_layout Plain Layout
18158 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18161 \begin_layout Plain Layout
18167 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18170 \begin_layout Plain Layout
18189 \begin_layout Standard
18193 \begin_layout Plain Layout
18209 \begin_layout Standard
18213 \begin_layout Plain Layout
18219 arrayrulewidth}{0.4pt}
18227 \begin_layout Section
18229 \begin_inset CommandInset label
18238 \begin_layout Standard
18239 幅広の表では、表がページ余白に突き出てしまわないように調整するのが難しいことがあります。表中の全列に固定幅を設定する方法もありますが、では各列にどれくらいの幅を
18243 \begin_layout Standard
18245 \begin_inset Formula $W_{\text{表}}$
18248 は計算することができます。各列の実際の幅は、指定した列幅
18249 \begin_inset Formula $W_{\text{列}}$
18252 に、列の内容と列罫線との間の余白(LaTeX長
18259 \begin_inset space \thinspace{}
18269 \begin_inset space \thinspace{}
18272 pt)を加えたものになります。したがって、もし同じ幅の
18273 \begin_inset Formula $n$
18277 \begin_inset Formula
18279 W_{\text{表}}=n\left(W_{\text{列}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
18287 \begin_layout Standard
18288 となります。表が使用できる幅は、ページ余白の間の幅か、本文段幅(二段組文書の場合)です(LaTeX長
18294 )。表の列をすべて同じ幅にするとすれば、
18295 \begin_inset Formula $W_{\text{表}}$
18299 \begin_inset space \thinspace{}
18304 columnwidthになりますので、
18305 \begin_inset Formula $W_{\text{列}}$
18311 \begin_layout Standard
18312 計算を行わせる場合には、文書プリアンブル中でLaTeXパッケージ
18317 \begin_inset Index idx
18320 \begin_layout Plain Layout
18321 LaTeXぱっけーじ@LaTeXパッケージ ! calc
18326 を読みこませる必要があります。表ダイアログ中で幅を設定するには、
18330 フィールドに書きこまなくてはなりません。このフィールドのコマンドスキームは、第
18331 \begin_inset CommandInset ref
18333 reference "sub:連結列の計算"
18337 節で説明したのと同様です。同幅中央揃え5列の表ならば、各列の同フィールドに
18340 \begin_layout Standard
18347 columnwidth-62.4pt)/5}
18350 \begin_layout Standard
18351 というコマンドを入力します。5列の表で、うち2列が他の3列の幅の0.75倍であるような表の場合には、計算は
18352 \begin_inset Formula
18354 \backslash\mbox{columnwidth} & =3\, W_{\text{列}}+2\cdot0.75\, W_{\text{列}}+\backslash\mbox{arrayrulewidth}\nonumber \\
18355 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
18356 & =4.5\, W_{\text{列}}+62.4\,\mathrm{pt}\nonumber \\
18357 W_{\text{列}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
18365 \begin_layout Standard
18366 となります。したがって、表中の広い列には
18369 \begin_layout Standard
18376 columnwidth-62.4pt)/
18381 \begin_layout Standard
18385 \begin_layout Standard
18392 columnwidth-62.4pt)/
18399 \begin_layout Standard
18400 というコマンドを用いることにすると、以下の表が出来上がります。
18403 \begin_layout Standard
18404 \begin_inset Tabular
18405 <lyxtabular version="3" rows="2" columns="5">
18406 <features rotate="0" tabularvalignment="middle">
18407 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18408 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
18409 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18410 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
18411 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18416 \begin_layout Plain Layout
18422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18425 \begin_layout Plain Layout
18431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18434 \begin_layout Plain Layout
18440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18443 \begin_layout Plain Layout
18449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18452 \begin_layout Plain Layout
18460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18463 \begin_layout Plain Layout
18464 111111 1111111 111111 111111111 11111 11111 1111
18469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18472 \begin_layout Plain Layout
18478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18481 \begin_layout Plain Layout
18482 2222 22222 222222 222222222 2222222 22 22222
18487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18490 \begin_layout Plain Layout
18496 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18499 \begin_layout Plain Layout
18500 333333 333333 333333 33333 3333333 333
18513 \begin_layout Section
18515 \begin_inset Index idx
18518 \begin_layout Plain Layout
18525 \begin_inset Index idx
18528 \begin_layout Plain Layout
18537 \begin_layout Subsection
18539 \begin_inset CommandInset label
18546 \begin_inset Index idx
18549 \begin_layout Plain Layout
18550 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
18558 \begin_layout Standard
18563 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
18566 \begin_layout Description
18567 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
18571 \begin_layout Plain Layout
18573 \begin_inset CommandInset ref
18575 reference "sec:フォーマル形式の表"
18585 \begin_inset space \thinspace{}
18588 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
18589 \begin_inset VSpace medskip
18593 \begin_inset Newline newline
18597 \begin_inset space \hspace*{}
18602 \begin_inset space \hfill{}
18606 \begin_inset Tabular
18607 <lyxtabular version="3" rows="3" columns="1">
18608 <features rotate="0" tabularvalignment="middle">
18609 <column alignment="center" valignment="top">
18611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18614 \begin_layout Plain Layout
18621 <row topspace="3mm">
18622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18625 \begin_layout Plain Layout
18627 \begin_inset space \thinspace{}
18637 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18640 \begin_layout Plain Layout
18652 \begin_inset space \hfill{}
18656 \begin_inset space \hspace*{}
18661 \begin_inset VSpace medskip
18665 \begin_inset Newline newline
18668 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
18671 \begin_layout Description
18672 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
18673 \begin_inset space \thinspace{}
18676 emの余白を挿入し、通常の表ならば既定値として2
18677 \begin_inset space \thinspace{}
18683 \begin_layout Description
18684 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
18685 \begin_inset space \thinspace{}
18688 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
18689 \begin_inset VSpace medskip
18693 \begin_inset Newline newline
18697 \begin_inset space \hspace*{}
18702 \begin_inset space \hfill{}
18706 \begin_inset Tabular
18707 <lyxtabular version="3" rows="3" columns="1">
18708 <features rotate="0" tabularvalignment="middle">
18709 <column alignment="center" valignment="top">
18711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18714 \begin_layout Plain Layout
18721 <row interlinespace="3mm">
18722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18725 \begin_layout Plain Layout
18726 \begin_inset Formula $\downarrow$
18730 \begin_inset space \thinspace{}
18734 \begin_inset Formula $\downarrow$
18744 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18747 \begin_layout Plain Layout
18748 \begin_inset Formula $\uparrow$
18752 \begin_inset space \thinspace{}
18756 \begin_inset Formula $\uparrow$
18770 \begin_inset space \hfill{}
18774 \begin_inset space \hspace*{}
18779 \begin_inset VSpace medskip
18783 \begin_inset Newline newline
18786 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
18789 \begin_layout Standard
18790 \begin_inset VSpace bigskip
18793 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
18796 \begin_layout Standard
18801 @ifundefined{extrarowheight}
18802 \begin_inset Newline newline
18806 \begin_inset Phantom HPhantom
18809 \begin_layout Plain Layout
18810 \begin_inset space ~
18820 usepackage{array}}{}
18821 \begin_inset Newline newline
18828 extrarowheight}{height}
18831 \begin_layout Standard
18832 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
18836 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
18845 \begin_layout Standard
18846 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
18852 コマンドを挿入することで補正することができます。表
18853 \begin_inset CommandInset ref
18855 reference "tab:垂直揃え"
18862 \begin_layout Standard
18864 \begin_inset Float table
18870 \begin_layout Plain Layout
18871 \begin_inset Caption Standard
18873 \begin_layout Plain Layout
18874 \begin_inset CommandInset label
18888 \begin_layout Plain Layout
18889 \begin_inset space \hfill{}
18893 \begin_inset Float table
18898 \begin_layout Plain Layout
18899 \begin_inset Caption Standard
18901 \begin_layout Plain Layout
18910 \begin_layout Plain Layout
18913 \begin_inset Tabular
18914 <lyxtabular version="3" rows="6" columns="1">
18915 <features rotate="0" tabularvalignment="middle">
18916 <column alignment="left" valignment="top">
18918 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18921 \begin_layout Plain Layout
18929 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18932 \begin_layout Plain Layout
18942 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18945 \begin_layout Plain Layout
18955 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18958 \begin_layout Plain Layout
18968 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18971 \begin_layout Plain Layout
18981 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18984 \begin_layout Plain Layout
19003 \begin_inset space \hfill{}
19007 \begin_inset Float table
19012 \begin_layout Plain Layout
19013 \begin_inset Caption Standard
19015 \begin_layout Plain Layout
19030 \begin_layout Plain Layout
19033 \begin_inset Tabular
19034 <lyxtabular version="3" rows="6" columns="1">
19035 <features rotate="0" tabularvalignment="middle">
19036 <column alignment="left" valignment="top">
19038 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19041 \begin_layout Plain Layout
19049 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19052 \begin_layout Plain Layout
19058 \begin_layout Plain Layout
19074 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19077 \begin_layout Plain Layout
19083 \begin_layout Plain Layout
19099 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19102 \begin_layout Plain Layout
19108 \begin_layout Plain Layout
19124 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19127 \begin_layout Plain Layout
19133 \begin_layout Plain Layout
19149 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19152 \begin_layout Plain Layout
19158 \begin_layout Plain Layout
19183 \begin_inset space \hfill{}
19194 \begin_layout Subsection
19196 \begin_inset CommandInset label
19203 \begin_inset Index idx
19206 \begin_layout Plain Layout
19207 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
19215 \begin_layout Standard
19217 \begin_inset CommandInset ref
19219 reference "tab:表セル"
19223 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
19224 \begin_inset Graphics
19225 filename ../../images/tabular-feature_align-decimal.png
19227 scaleBeforeRotation
19238 \begin_layout Standard
19239 \begin_inset Float table
19245 \begin_layout Plain Layout
19246 \begin_inset Caption Standard
19248 \begin_layout Plain Layout
19249 \begin_inset CommandInset label
19263 \begin_layout Plain Layout
19265 \begin_inset Tabular
19266 <lyxtabular version="3" rows="4" columns="1">
19267 <features rotate="0" booktabs="true" tabularvalignment="middle">
19268 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
19270 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19273 \begin_layout Plain Layout
19281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19284 \begin_layout Plain Layout
19292 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19295 \begin_layout Plain Layout
19303 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19306 \begin_layout Plain Layout
19325 \begin_layout Standard
19326 \begin_inset Float table
19332 \begin_layout Plain Layout
19333 \begin_inset Caption Standard
19335 \begin_layout Plain Layout
19336 \begin_inset CommandInset label
19350 \begin_layout Plain Layout
19352 \begin_inset Tabular
19353 <lyxtabular version="3" rows="4" columns="2">
19354 <features rotate="0" booktabs="true" tabularvalignment="middle">
19355 <column alignment="right" valignment="top" width="0pt">
19356 <column alignment="left" valignment="top" width="0pt" special="@{}l">
19358 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
19361 \begin_layout Plain Layout
19367 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19370 \begin_layout Plain Layout
19378 <cell alignment="center" valignment="top" usebox="none">
19381 \begin_layout Plain Layout
19382 \begin_inset Formula $12\,+$
19390 <cell alignment="center" valignment="top" usebox="none">
19393 \begin_layout Plain Layout
19394 \begin_inset Formula $\,6$
19404 <cell alignment="center" valignment="top" usebox="none">
19407 \begin_layout Plain Layout
19408 \begin_inset Formula $0\,-$
19416 <cell alignment="center" valignment="top" usebox="none">
19419 \begin_layout Plain Layout
19420 \begin_inset Formula $\,68$
19430 <cell alignment="center" valignment="top" usebox="none">
19433 \begin_layout Plain Layout
19434 \begin_inset Formula $-123\,/$
19442 <cell alignment="center" valignment="top" usebox="none">
19445 \begin_layout Plain Layout
19446 \begin_inset Formula $\,0$
19467 \begin_layout Standard
19468 揃え文字を指定するフィールドには、数式を用いることができないので、この方法を使って、数式中の文字で揃えることはできません。このような場合には、表
19469 \begin_inset CommandInset ref
19471 reference "tab:演算子揃え表"
19475 のような方法を用いる必要があります。この表は、4
19476 \begin_inset Formula $\times$
19479 2表として作成されており、見出しは中央揃え連結列です。第1列には、右揃えで演算子を含む前半部を収め、第2列には、左揃えで残りを収めます。演算子の周りに通常加えら
19480 れる空白を得るために、第2列の各セルの冒頭には、小空白が加えられています。通常、表の列間に加えられる余白を削るために、
19483 \begin_layout Standard
19489 \begin_layout Standard
19490 というLaTeX引数を第2列に指定します。
19493 \begin_layout Standard
19495 \begin_inset CommandInset ref
19497 reference "tab:表セル揃え"
19501 は、揃え方の例をいくつか示しています。関係子で揃えるために、表
19502 \begin_inset CommandInset ref
19504 reference "tab:演算子揃え表"
19508 の冒頭には、小空白が加えられています。
19511 \begin_layout Standard
19512 \begin_inset Float table
19517 \begin_layout Plain Layout
19518 \begin_inset Caption Standard
19520 \begin_layout Plain Layout
19521 \begin_inset CommandInset label
19535 \begin_layout Plain Layout
19537 \begin_inset Tabular
19538 <lyxtabular version="3" rows="4" columns="6">
19539 <features rotate="0" tabularvalignment="middle">
19540 <column alignment="right" valignment="top">
19541 <column alignment="left" valignment="top" special="@{}l">
19542 <column alignment="right" valignment="top">
19543 <column alignment="left" valignment="top" special="@{}l">
19544 <column alignment="right" valignment="top">
19545 <column alignment="left" valignment="top" special="@{}l">
19547 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
19550 \begin_layout Plain Layout
19556 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19559 \begin_layout Plain Layout
19565 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
19568 \begin_layout Plain Layout
19574 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19577 \begin_layout Plain Layout
19583 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
19586 \begin_layout Plain Layout
19592 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19595 \begin_layout Plain Layout
19603 <cell alignment="center" valignment="top" usebox="none">
19606 \begin_layout Plain Layout
19608 \begin_inset Formula $\times$
19616 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19619 \begin_layout Plain Layout
19625 <cell alignment="center" valignment="top" usebox="none">
19628 \begin_layout Plain Layout
19629 \begin_inset Formula $10\cdot$
19637 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19640 \begin_layout Plain Layout
19641 \begin_inset Formula $10^{\mbox{-}17}$
19649 <cell alignment="center" valignment="top" usebox="none">
19652 \begin_layout Plain Layout
19653 \begin_inset Formula $\Gamma(t)\propto$
19661 <cell alignment="center" valignment="top" usebox="none">
19664 \begin_layout Plain Layout
19665 \begin_inset Formula $\:\Upsilon(t)$
19675 <cell alignment="center" valignment="top" usebox="none">
19678 \begin_layout Plain Layout
19680 \begin_inset Formula $\times$
19688 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19691 \begin_layout Plain Layout
19697 <cell alignment="center" valignment="top" usebox="none">
19700 \begin_layout Plain Layout
19701 \begin_inset Formula $5.78\cdot$
19709 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19712 \begin_layout Plain Layout
19713 \begin_inset Formula $10^{7}$
19721 <cell alignment="center" valignment="top" usebox="none">
19724 \begin_layout Plain Layout
19725 \begin_inset Formula $A\ne$
19733 <cell alignment="center" valignment="top" usebox="none">
19736 \begin_layout Plain Layout
19737 \begin_inset Formula $\: B_{\mathrm{red}}$
19747 <cell alignment="center" valignment="top" usebox="none">
19750 \begin_layout Plain Layout
19752 \begin_inset Formula $\times$
19760 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19763 \begin_layout Plain Layout
19765 \begin_inset space \thinspace{}
19773 <cell alignment="center" valignment="top" usebox="none">
19776 \begin_layout Plain Layout
19778 \begin_inset Formula $33.5\cdot$
19786 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19789 \begin_layout Plain Layout
19790 \begin_inset Formula $10^{4}$
19798 <cell alignment="center" valignment="top" usebox="none">
19801 \begin_layout Plain Layout
19802 \begin_inset Formula $\sin(\alpha)\ge$
19810 <cell alignment="center" valignment="top" usebox="none">
19813 \begin_layout Plain Layout
19814 \begin_inset Formula $\:\sin(\beta)$
19835 \begin_layout Subsection
19837 \begin_inset CommandInset label
19844 \begin_inset Index idx
19847 \begin_layout Plain Layout
19848 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
19856 \begin_layout Standard
19858 \begin_inset CommandInset ref
19860 reference "sec:表幅の計算"
19864 節のようにして通常列の必要幅を計算したり、第
19865 \begin_inset CommandInset ref
19867 reference "sub:連結列の計算"
19871 節のように連結列の必要幅を計算したりするのは、計算の必要な表が複数あるときには、とても大変です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえ
19872 ば、それを文書中のすべての表で使うことができます。書式は、以下のように定義します。
19875 \begin_layout Standard
19880 newcolumntype{書式名}[引数の数]{コマンド}
19883 \begin_layout Standard
19908 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
19911 \begin_layout Standard
19912 \begin_inset VSpace medskip
19918 \begin_layout Standard
19919 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
19922 \begin_layout Standard
19927 newcolumntype{M}[1]{>{
19934 \begin_layout Standard
19942 \begin_inset CommandInset ref
19944 reference "sub:複数行"
19948 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログの
19955 \begin_layout Standard
19961 \begin_layout Standard
19965 \begin_layout Standard
19966 \begin_inset VSpace bigskip
19972 \begin_layout Standard
19973 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
19976 \begin_layout Standard
19981 newcolumntype{S}[2]{>{
19986 \begin_inset Newline newline
19990 \begin_inset Phantom HPhantom
19993 \begin_layout Plain Layout
20007 arrayrulewidth)*(1-#2))/#2}}
20010 \begin_layout Standard
20011 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
20012 \begin_inset CommandInset ref
20021 \begin_layout Standard
20022 こうしておけば、当該セルのLaTeX引数に
20025 \begin_layout Standard
20028 S{連結列セルの幅}{連結列セルがまたがる列の数}
20031 \begin_layout Standard
20035 \begin_layout Standard
20036 \begin_inset VSpace bigskip
20042 \begin_layout Standard
20043 色付き列については、以下のように定義するとよいでしょう。
20046 \begin_layout Standard
20051 newcolumntype{K}[1]{>{
20058 \begin_layout Standard
20059 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
20062 \begin_layout Standard
20068 \begin_layout Standard
20072 \begin_layout Standard
20073 \begin_inset VSpace bigskip
20079 \begin_layout Standard
20081 \begin_inset CommandInset ref
20083 reference "tab:ユーザー定義の表書式"
20087 を生成するには、第1列と連結列にLaTeX引数として
20090 \begin_layout Standard
20096 \begin_layout Standard
20100 \begin_layout Standard
20106 \begin_layout Standard
20110 \begin_layout Standard
20116 \begin_layout Standard
20120 \begin_layout Standard
20121 \begin_inset Float table
20127 \begin_layout Plain Layout
20128 \begin_inset Caption Standard
20130 \begin_layout Plain Layout
20131 \begin_inset CommandInset label
20133 name "tab:ユーザー定義の表書式"
20145 \begin_layout Plain Layout
20147 \begin_inset Tabular
20148 <lyxtabular version="3" rows="3" columns="4">
20149 <features rotate="0" tabularvalignment="middle">
20150 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
20151 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
20152 <column alignment="center" valignment="middle">
20153 <column alignment="center" valignment="middle" special="K{red}">
20155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20158 \begin_layout Plain Layout
20164 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
20167 \begin_layout Plain Layout
20173 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20176 \begin_layout Plain Layout
20182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20185 \begin_layout Plain Layout
20193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20196 \begin_layout Plain Layout
20202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20205 \begin_layout Plain Layout
20211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20214 \begin_layout Plain Layout
20220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20223 \begin_layout Plain Layout
20231 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20234 \begin_layout Plain Layout
20240 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20243 \begin_layout Plain Layout
20249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20252 \begin_layout Plain Layout
20258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20261 \begin_layout Plain Layout
20280 \begin_layout Subsection
20282 \begin_inset CommandInset label
20289 \begin_inset Index idx
20292 \begin_layout Plain Layout
20293 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
20301 \begin_layout Standard
20302 表中のすべての罫線の罫線幅を調整するには、長さ
20309 \begin_inset CommandInset ref
20311 reference "tab:Table-with-1.5"
20316 \begin_inset space \thinspace{}
20319 ptにするには、表や表フロートの前にTeXコードで
20322 \begin_layout Standard
20329 arrayrulewidth}{1.5pt}
20332 \begin_layout Standard
20333 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
20340 \begin_inset space \thinspace{}
20346 \begin_layout Standard
20350 \begin_layout Plain Layout
20356 arrayrulewidth}{1.5pt}
20362 \begin_inset Float table
20367 \begin_layout Plain Layout
20368 \begin_inset Caption Standard
20370 \begin_layout Plain Layout
20371 \begin_inset CommandInset label
20373 name "tab:Table-with-1.5"
20378 \begin_inset space \thinspace{}
20389 \begin_layout Plain Layout
20391 \begin_inset Tabular
20392 <lyxtabular version="3" rows="3" columns="3">
20393 <features rotate="0" tabularvalignment="middle">
20394 <column alignment="center" valignment="top">
20395 <column alignment="center" valignment="top">
20396 <column alignment="center" valignment="top">
20398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20401 \begin_layout Plain Layout
20407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20410 \begin_layout Plain Layout
20416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20419 \begin_layout Plain Layout
20427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20430 \begin_layout Plain Layout
20436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20439 \begin_layout Plain Layout
20445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20448 \begin_layout Plain Layout
20456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20459 \begin_layout Plain Layout
20465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20468 \begin_layout Plain Layout
20474 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20477 \begin_layout Plain Layout
20497 \begin_layout Plain Layout
20503 arrayrulewidth}{0.4pt}
20511 \begin_layout Standard
20512 \begin_inset VSpace bigskip
20516 \begin_inset CommandInset ref
20518 reference "tab:1.5pt幅横罫"
20523 \begin_inset space \thinspace{}
20526 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
20529 \begin_layout Standard
20539 \begin_inset Newline newline
20547 \begin_inset Newline newline
20556 arrayrulewidth 1.5pt}
20557 \begin_inset Newline newline
20568 arrayrulewidth 0.4pt}}
20571 \begin_layout Standard
20572 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
20575 \begin_layout Standard
20587 \begin_layout Standard
20591 \begin_layout Plain Layout
20602 \begin_layout Plain Layout
20611 \begin_layout Plain Layout
20619 arrayrulewidth 1.5pt}
20622 \begin_layout Plain Layout
20632 arrayrulewidth 0.4pt}}
20638 \begin_inset Float table
20643 \begin_layout Plain Layout
20644 \begin_inset Caption Standard
20646 \begin_layout Plain Layout
20647 \begin_inset CommandInset label
20649 name "tab:1.5pt幅横罫"
20654 \begin_inset space \thinspace{}
20665 \begin_layout Plain Layout
20667 \begin_inset Tabular
20668 <lyxtabular version="3" rows="3" columns="3">
20669 <features rotate="0" tabularvalignment="middle">
20670 <column alignment="center" valignment="top">
20671 <column alignment="center" valignment="top">
20672 <column alignment="center" valignment="top">
20674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20677 \begin_layout Plain Layout
20683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20686 \begin_layout Plain Layout
20692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20695 \begin_layout Plain Layout
20703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20706 \begin_layout Plain Layout
20712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20715 \begin_layout Plain Layout
20721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20724 \begin_layout Plain Layout
20732 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20735 \begin_layout Plain Layout
20741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20744 \begin_layout Plain Layout
20750 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20753 \begin_layout Plain Layout
20773 \begin_layout Plain Layout
20789 \begin_layout Standard
20790 \begin_inset VSpace bigskip
20794 \begin_inset space \thinspace{}
20798 \begin_inset CommandInset ref
20800 reference "sub:自製書式"
20804 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
20807 \begin_layout Standard
20812 newcolumntype{V}{!{
20814 vrule width 1.5pt}}
20817 \begin_layout Standard
20819 \begin_inset CommandInset ref
20821 reference "tab:1.5pt幅縦罫"
20828 \begin_layout Standard
20834 \begin_layout Standard
20838 \begin_layout Standard
20844 \begin_layout Standard
20848 \begin_layout Standard
20849 \begin_inset Float table
20854 \begin_layout Plain Layout
20855 \begin_inset Caption Standard
20857 \begin_layout Plain Layout
20858 \begin_inset CommandInset label
20860 name "tab:1.5pt幅縦罫"
20865 \begin_inset space \thinspace{}
20876 \begin_layout Plain Layout
20878 \begin_inset Tabular
20879 <lyxtabular version="3" rows="3" columns="3">
20880 <features rotate="0" tabularvalignment="middle">
20881 <column alignment="center" valignment="top" special="Vc">
20882 <column alignment="center" valignment="top" special="Vc">
20883 <column alignment="center" valignment="top" special="VcV">
20885 <cell alignment="center" valignment="top" topline="true" usebox="none">
20888 \begin_layout Plain Layout
20894 <cell alignment="center" valignment="top" topline="true" usebox="none">
20897 \begin_layout Plain Layout
20903 <cell alignment="center" valignment="top" topline="true" usebox="none">
20906 \begin_layout Plain Layout
20914 <cell alignment="center" valignment="top" topline="true" usebox="none">
20917 \begin_layout Plain Layout
20923 <cell alignment="center" valignment="top" topline="true" usebox="none">
20926 \begin_layout Plain Layout
20932 <cell alignment="center" valignment="top" topline="true" usebox="none">
20935 \begin_layout Plain Layout
20943 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20946 \begin_layout Plain Layout
20952 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20955 \begin_layout Plain Layout
20961 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20964 \begin_layout Plain Layout
20983 \begin_layout Subsection
20985 \begin_inset Index idx
20988 \begin_layout Plain Layout
20989 ひょうのちょうせい@表の調整 ! てんけい@点罫
20997 \begin_layout Standard
21001 \begin_layout Plain Layout
21011 \begin_inset Note Note
21014 \begin_layout Plain Layout
21027 \begin_layout Standard
21028 \begin_inset Float table
21034 \begin_layout Plain Layout
21035 \begin_inset Caption Standard
21037 \begin_layout Plain Layout
21038 \begin_inset CommandInset label
21052 \begin_layout Plain Layout
21054 \begin_inset Tabular
21055 <lyxtabular version="3" rows="5" columns="5">
21056 <features rotate="0" tabularvalignment="middle">
21057 <column alignment="center" valignment="top">
21058 <column alignment="center" valignment="top">
21059 <column alignment="center" valignment="top" special=":c">
21060 <column alignment="center" valignment="top">
21061 <column alignment="center" valignment="top">
21063 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21066 \begin_layout Plain Layout
21072 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21075 \begin_layout Plain Layout
21081 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21084 \begin_layout Plain Layout
21090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21093 \begin_layout Plain Layout
21099 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21102 \begin_layout Plain Layout
21110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21113 \begin_layout Plain Layout
21119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21122 \begin_layout Plain Layout
21128 <cell alignment="center" valignment="top" topline="true" usebox="none">
21131 \begin_layout Plain Layout
21137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21140 \begin_layout Plain Layout
21146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21149 \begin_layout Plain Layout
21157 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21160 \begin_layout Plain Layout
21164 \begin_layout Plain Layout
21178 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21181 \begin_layout Plain Layout
21187 <cell alignment="center" valignment="top" usebox="none">
21190 \begin_layout Plain Layout
21196 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21199 \begin_layout Plain Layout
21205 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21208 \begin_layout Plain Layout
21216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21219 \begin_layout Plain Layout
21223 \begin_layout Plain Layout
21237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21240 \begin_layout Plain Layout
21246 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
21249 \begin_layout Plain Layout
21255 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21258 \begin_layout Plain Layout
21264 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21267 \begin_layout Plain Layout
21275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21278 \begin_layout Plain Layout
21284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21287 \begin_layout Plain Layout
21293 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21296 \begin_layout Plain Layout
21302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21305 \begin_layout Plain Layout
21311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21314 \begin_layout Plain Layout
21333 \begin_layout Standard
21334 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
21337 \begin_layout Standard
21342 usepackage{arydshln}
21345 \begin_layout Standard
21346 というコマンドを書き、LaTeXパッケージの
21351 \begin_inset Index idx
21354 \begin_layout Plain Layout
21355 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
21360 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
21363 \begin_layout Standard
21364 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
21367 \begin_layout Standard
21375 \begin_layout Standard
21379 \begin_layout Standard
21380 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
21383 \begin_layout Standard
21393 \begin_layout Standard
21394 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
21397 \begin_layout Standard
21405 \begin_layout Standard
21409 \begin_layout Standard
21410 \begin_inset VSpace bigskip
21416 \begin_layout Standard
21418 \begin_inset CommandInset ref
21420 reference "tab:点罫表"
21424 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
21430 が挿れられており、第4行の最初のセルには、TeXコードのコマンド
21431 \begin_inset Newline newline
21443 \begin_layout Standard
21444 \begin_inset VSpace bigskip
21450 \begin_layout Standard
21452 \begin_inset CommandInset ref
21454 reference "tab:Colored-table-with"
21461 \begin_layout Standard
21465 \begin_layout Plain Layout
21471 arrayrulewidth}{1pt}
21477 \begin_inset Note Note
21480 \begin_layout Plain Layout
21489 \begin_layout Standard
21493 \begin_layout Plain Layout
21497 dashgapcolor{green}
21503 \begin_inset Note Note
21506 \begin_layout Plain Layout
21515 \begin_layout Standard
21519 \begin_layout Plain Layout
21530 \begin_layout Plain Layout
21539 \begin_layout Plain Layout
21543 arrayrulecolor{red}
21547 arrayrulecolor{black}}
21553 \begin_inset Note Note
21556 \begin_layout Plain Layout
21565 \begin_layout Standard
21569 \begin_layout Plain Layout
21580 \begin_layout Plain Layout
21589 \begin_layout Plain Layout
21593 arrayrulecolor{yellow}
21597 arrayrulecolor{black}}
21603 \begin_inset Note Note
21606 \begin_layout Plain Layout
21615 \begin_layout Standard
21616 \begin_inset Float table
21622 \begin_layout Plain Layout
21623 \begin_inset Caption Standard
21625 \begin_layout Plain Layout
21626 \begin_inset CommandInset label
21628 name "tab:Colored-table-with"
21640 \begin_layout Plain Layout
21642 \begin_inset Tabular
21643 <lyxtabular version="3" rows="5" columns="5">
21644 <features rotate="0" tabularvalignment="middle">
21645 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
21646 <column alignment="center" valignment="top" width="0pt">
21647 <column alignment="center" valignment="top" width="0pt" special=":c">
21648 <column alignment="center" valignment="top">
21649 <column alignment="center" valignment="top">
21651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21654 \begin_layout Plain Layout
21660 <cell alignment="center" valignment="top" topline="true" usebox="none">
21663 \begin_layout Plain Layout
21669 <cell alignment="center" valignment="top" topline="true" usebox="none">
21672 \begin_layout Plain Layout
21678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21681 \begin_layout Plain Layout
21687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21690 \begin_layout Plain Layout
21698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21701 \begin_layout Plain Layout
21707 <cell alignment="center" valignment="top" topline="true" usebox="none">
21710 \begin_layout Plain Layout
21716 <cell alignment="center" valignment="top" topline="true" usebox="none">
21719 \begin_layout Plain Layout
21725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21728 \begin_layout Plain Layout
21734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21737 \begin_layout Plain Layout
21745 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21748 \begin_layout Plain Layout
21752 \begin_layout Plain Layout
21765 \begin_layout Plain Layout
21779 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21782 \begin_layout Plain Layout
21788 <cell alignment="center" valignment="top" usebox="none">
21791 \begin_layout Plain Layout
21797 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21800 \begin_layout Plain Layout
21806 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21809 \begin_layout Plain Layout
21817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21820 \begin_layout Plain Layout
21824 \begin_layout Plain Layout
21838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21841 \begin_layout Plain Layout
21847 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
21850 \begin_layout Plain Layout
21856 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21859 \begin_layout Plain Layout
21865 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21868 \begin_layout Plain Layout
21876 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21879 \begin_layout Plain Layout
21885 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21888 \begin_layout Plain Layout
21894 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21897 \begin_layout Plain Layout
21903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21906 \begin_layout Plain Layout
21912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21915 \begin_layout Plain Layout
21919 \begin_layout Plain Layout
21946 \begin_layout Standard
21950 \begin_layout Plain Layout
21964 \begin_inset Note Note
21967 \begin_layout Plain Layout
21976 \begin_layout Standard
21980 \begin_layout Plain Layout
21994 \begin_inset Note Note
21997 \begin_layout Plain Layout
22006 \begin_layout Standard
22010 \begin_layout Plain Layout
22020 \begin_inset Note Note
22023 \begin_layout Plain Layout
22032 \begin_layout Standard
22036 \begin_layout Plain Layout
22042 arrayrulewidth}{0.4pt}
22048 \begin_inset Note Note
22051 \begin_layout Plain Layout
22060 \begin_layout Standard
22062 \begin_inset CommandInset ref
22064 reference "sec:色付きの表"
22068 節に述べられているように動作します。水平線の着色も、
22092 に置き換えれば、そこで述べられているのと同様に機能します。したがって、以下のようなコマンドを使います。
22095 \begin_layout Standard
22105 \begin_inset Newline newline
22113 \begin_inset Newline newline
22117 \begin_inset Phantom HPhantom
22120 \begin_layout Plain Layout
22121 \begin_inset space ~
22131 arrayrulecolor{red}
22135 arrayrulecolor{black}}
22138 \begin_layout Standard
22148 \begin_layout Standard
22158 \begin_inset Newline newline
22166 \begin_inset Newline newline
22170 \begin_inset Phantom HPhantom
22173 \begin_layout Plain Layout
22174 \begin_inset space ~
22184 arrayrulecolor{red}
22188 arrayrulecolor{black}}
22191 \begin_layout Standard
22192 のようになります。黒の罫線に戻すには、以下のコマンドを表の後ろにTeXコードで挿入する必要があります。
22195 \begin_layout Standard
22205 \begin_layout Standard
22217 \begin_layout Standard
22227 \begin_layout Standard
22239 \begin_layout Standard
22240 としてください。点線の間の余白に色をつけるには、表の前にTeXコードで
22243 \begin_layout Standard
22251 \begin_layout Standard
22252 とすれば良いです。ここで「色」は、定義済みの色名です。
22255 \begin_layout Standard
22263 \begin_layout Standard
22273 \begin_layout Standard
22274 \begin_inset Note Greyedout
22277 \begin_layout Plain Layout
22278 【註】1つのセル中に複数のコマンドがある場合、
22282 のコマンドが、そのセル中で最初に来る必要があります。したがって、表
22283 \begin_inset CommandInset ref
22285 reference "tab:Colored-table-with"
22313 \begin_layout Standard
22314 \begin_inset Note Greyedout
22317 \begin_layout Plain Layout
22326 は、文書プリアンブル中でLaTeXパッケージ
22331 \begin_inset Index idx
22334 \begin_layout Plain Layout
22335 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
22340 よりも前に読み込まれている必要があります。
22348 \begin_layout Standard
22352 \begin_layout Plain Layout
22362 \begin_inset Note Note
22365 \begin_layout Plain Layout
22378 \begin_layout Standard
22383 パッケージを導入しなくてはなりません。
22386 \begin_layout Standard
22390 \begin_layout Plain Layout
22402 \begin_layout Standard
22408 \begin_inset CommandInset citation
22417 \begin_layout Chapter
22419 \begin_inset CommandInset label
22426 \begin_inset Index idx
22429 \begin_layout Plain Layout
22438 \begin_layout Section
22440 \begin_inset CommandInset label
22442 name "sec:フロートはじめに"
22447 \begin_inset Index idx
22450 \begin_layout Plain Layout
22459 \begin_layout Standard
22460 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
22469 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
22472 \begin_layout Standard
22473 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
22474 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
22475 ートには連番が割り当てられます。参照については、第
22476 \begin_inset CommandInset ref
22478 reference "sec:フロートの参照"
22485 \begin_layout Standard
22488 挿入\SpecialChar \menuseparator
22491 メニューを使えば、ラベルのついたボックスすなわち
22495 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
22496 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
22497 \begin_inset CommandInset ref
22499 reference "sec:キャプションの配置"
22503 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
22505 \begin_inset Graphics
22506 filename clipart/floatQt4.png
22508 scaleBeforeRotation
22512 のように、灰色ボタンに赤字ラベルで表示されます。
22515 \begin_layout Standard
22516 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
22519 \begin_layout Standard
22520 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
22523 \begin_layout Section
22527 \begin_layout Standard
22529 \begin_inset CommandInset ref
22531 reference "sec:図フロート"
22536 \begin_inset CommandInset ref
22538 reference "sec:表フロート"
22542 節で各々説明されている図フロートと表フロート以外に、
22551 \begin_inset CommandInset ref
22553 reference "sec:折返しフロート"
22560 \begin_layout Subsection
22562 \begin_inset Index idx
22565 \begin_layout Plain Layout
22566 ふろーと@フロート ! あるごりずむ@アルゴリズム
22574 \begin_layout Standard
22575 \begin_inset Float algorithm
22581 \begin_layout Plain Layout
22582 \begin_inset Caption Standard
22584 \begin_layout Plain Layout
22585 \begin_inset CommandInset label
22587 name "alg:アルゴリズムフロートの例"
22599 \begin_layout LyX-Code
22601 \begin_inset Newline newline
22604 Sum:= Sum + A(I); /*comment*/
22605 \begin_inset Newline newline
22609 \begin_inset VSpace -4mm
22620 \begin_layout Standard
22625 \SpecialChar \menuseparator
22626 フロート\SpecialChar \menuseparator
22630 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
22631 \begin_inset CommandInset ref
22633 reference "cha:プログラムコードリスト"
22637 章で説明されているプログラムコードリストの代わりとみなすことができます。
22641 に述べられているように、アルゴリズム向けの環境としては、
22646 \begin_inset CommandInset ref
22648 reference "alg:アルゴリズムフロートの例"
22652 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
22653 \begin_inset space \thinspace{}
22659 \begin_layout Standard
22660 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
22663 \begin_layout Standard
22668 floatname{algorithm}{付けたい名称}
22671 \begin_layout Standard
22672 という行を手動で加える必要があります。ここで
22685 \begin_layout Standard
22686 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
22688 挿入\SpecialChar \menuseparator
22689 一覧/目次\SpecialChar \menuseparator
22692 メニューを使用します。それ以外の場合には、代わりに
22695 \begin_layout Standard
22700 listof{algorithm}{付けたい名称}
22703 \begin_layout Standard
22704 というコマンドをTeXコードとして用います。ここで
22712 s」という単語に相当する、ご使用になりたい言語での単語です。
22715 \begin_layout Standard
22716 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
22717 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
22720 \begin_layout Standard
22725 numberwithin{algorithm}{chapter}
22728 \begin_layout Standard
22735 というコマンドを使用するには、文書設定の
22746 \begin_layout Section
22748 \begin_inset Index idx
22751 \begin_layout Plain Layout
22752 ふろーと@フロート ! れんばん@連番
22760 \begin_layout Standard
22761 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
22765 \begin_layout Standard
22766 節から独立して付けられている連番を変更するには、文書プリアンブルで
22769 \begin_layout Standard
22781 \begin_layout Standard
22788 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
22794 コマンドを使用します。上のコマンドで使用されている
22800 は、表番号を小文字のローマ数字で印字するコマンドです。
22803 \begin_layout Standard
22804 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
22807 \begin_layout Standard
22812 numberwithin{table}{subsection}
22815 \begin_layout Standard
22822 コマンドを使用可能にするためには、文書設定の
22829 \begin_inset space ~
22837 \begin_layout Standard
22838 連番コマンドについての詳細と大切な注意点については、第
22839 \begin_inset CommandInset ref
22841 reference "sub:脚注の付番"
22848 \begin_layout Section
22850 \begin_inset CommandInset label
22857 \begin_inset Index idx
22860 \begin_layout Plain Layout
22861 ふろーと@フロート ! さんしょう@参照
22867 \begin_inset Index idx
22870 \begin_layout Plain Layout
22871 さんしょう@参照 ! ふろーとにたいする@フロートに対する
22879 \begin_layout Standard
22882 挿入\SpecialChar \menuseparator
22885 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
22886 \begin_inset Graphics
22887 filename clipart/labelQt4.png
22889 scaleBeforeRotation
22893 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
22894 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
22901 \begin_layout Standard
22902 ラベルは、参照のための名称兼位置標として用いられます。
22904 挿入\SpecialChar \menuseparator
22912 arg "dialog-show-new-inset ref"
22917 を使えば、ラベルを参照することができます。
22918 \begin_inset Graphics
22919 filename clipart/referenceQt4.png
22921 scaleBeforeRotation
22925 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
22926 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
22930 \begin_layout Standard
22931 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
22932 出力では、参照の代わりに二つの疑問符が表示されることになります。
22935 \begin_layout Standard
22936 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
22937 で、リンクの更新に手間を割く必要はありません。
22940 \begin_layout Standard
22945 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
22949 に変わるので、相互参照にカーソルを戻すのに使用することができます。
22952 \begin_layout Subsection
22954 \begin_inset CommandInset label
22961 \begin_inset Index idx
22964 \begin_layout Plain Layout
22973 \begin_layout Standard
22974 相互参照には、以下の6種類があります。
22977 \begin_layout Description
22978 <参照>: これはフロート番号を表示します。これが既定値です。例:
22979 \begin_inset CommandInset ref
22981 reference "fig:歪められた二つの像"
22988 \begin_layout Description
22989 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
22991 \begin_inset CommandInset ref
23000 \begin_layout Description
23001 <参照ページ>: これはページ番号を表示します。例:Page
23002 \begin_inset space ~
23006 \begin_inset CommandInset ref
23007 LatexCommand pageref
23008 reference "fig:歪められた二つの像"
23015 \begin_layout Description
23017 \begin_inset space ~
23021 \begin_inset space ~
23024 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
23025 \begin_inset CommandInset ref
23026 LatexCommand vpageref
23027 reference "fig:歪められた二つの像"
23034 \begin_layout Description
23036 \begin_inset space ~
23040 \begin_inset space ~
23044 \begin_inset space ~
23047 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
23048 \begin_inset CommandInset ref
23050 reference "fig:歪められた二つの像"
23057 \begin_layout Description
23058 整形された参照: これは自製の相互参照書式で出力します。
23059 \begin_inset Newline newline
23063 \begin_inset Note Greyedout
23066 \begin_layout Plain Layout
23067 【註】この機能は、LaTeXパッケージ
23075 が導入されている場合のみ使用することができます。
23076 \begin_inset Index idx
23079 \begin_layout Plain Layout
23080 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
23086 \begin_inset Index idx
23089 \begin_layout Plain Layout
23090 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
23101 \begin_inset Newline newline
23106 文書\SpecialChar \menuseparator
23107 設定\SpecialChar \menuseparator
23112 相互参照に(prettyrefではなく)refstyleを使用
23114 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
23120 コマンド(prettyrefの場合)あるいは
23126 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
23130 」を持ちます)をすべて定義し直すには、
23131 \begin_inset Newline newline
23138 newref{fig}{refcmd={Image on page
23141 \begin_inset Newline newline
23146 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
23147 \begin_inset CommandInset citation
23149 key "prettyref,refstyle"
23156 \begin_layout Description
23157 名称参照: これは、右のように参照のキャプションを出力します。
23158 \begin_inset CommandInset ref
23159 LatexCommand nameref
23160 reference "fig:歪められた二つの像"
23167 \begin_layout Standard
23172 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
23178 <参照> on page <参照ページ>
23180 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
23183 \begin_layout Standard
23184 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
23191 \begin_layout Standard
23192 \begin_inset Note Greyedout
23195 \begin_layout Plain Layout
23201 \begin_inset Index idx
23204 \begin_layout Plain Layout
23205 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
23211 \begin_inset Flex Ruby
23214 \begin_layout Plain Layout
23216 \begin_inset Argument post:1
23219 \begin_layout Plain Layout
23234 \begin_layout Plain Layout
23236 \begin_inset Quotes eld
23240 \begin_inset Quotes erd
23244 \begin_inset Flex Ruby
23247 \begin_layout Plain Layout
23249 \begin_inset Argument post:1
23252 \begin_layout Plain Layout
23268 を全部は解釈できず、国際化もされていないので、
23273 \begin_inset Index idx
23276 \begin_layout Plain Layout
23277 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
23290 \begin_layout Subsection
23292 \begin_inset Index idx
23295 \begin_layout Plain Layout
23296 さんしょう@参照 ! じどうめいめい@自動命名
23304 \begin_layout Standard
23318 \begin_inset Index idx
23321 \begin_layout Plain Layout
23322 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23327 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
23331 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
23332 の機能を使用するには、hyperrefを有効にして、
23335 \begin_layout Standard
23351 \begin_layout Standard
23352 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
23353 \begin_inset space \thinspace{}
23356 」としたいなど、既定の参照名以外のものが欲しい場合には、
23359 \begin_layout Standard
23370 sectionautorefname}
23371 \begin_inset Newline newline
23375 \begin_inset Phantom HPhantom
23378 \begin_layout Plain Layout
23381 \begin_inset space ~
23394 \begin_layout Standard
23395 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
23396 \begin_inset Newline newline
23407 に置き換えてください(***は使用中の言語名)。
23410 \begin_layout Standard
23411 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
23414 \begin_layout Standard
23425 equationautorefname}[1]{}}
23428 \begin_layout Standard
23429 この話題に関する詳細は、hyperrefの説明書
23430 \begin_inset CommandInset citation
23439 \begin_layout Standard
23440 \begin_inset Note Greyedout
23443 \begin_layout Plain Layout
23453 \begin_inset CommandInset ref
23455 reference "sub:相互参照の書式"
23459 節)で使用しているときには、使用することができません。
23467 \begin_layout Standard
23472 』では、参照名の自動命名が使用されています。
23475 \begin_layout Subsection
23477 \begin_inset CommandInset label
23484 \begin_inset Index idx
23487 \begin_layout Plain Layout
23488 さんしょう@参照 ! さんしょういち@参照位置
23496 \begin_layout Standard
23510 \begin_inset Index idx
23513 \begin_layout Plain Layout
23514 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23519 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
23520 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
23525 \begin_inset Index idx
23528 \begin_layout Plain Layout
23529 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23539 \begin_inset Index idx
23542 \begin_layout Plain Layout
23543 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23548 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
23551 \begin_layout Standard
23556 usepackage[figure]{hypcap}
23559 \begin_layout Standard
23560 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
23562 \begin_inset CommandInset citation
23571 \begin_layout Standard
23572 \begin_inset Note Greyedout
23575 \begin_layout Plain Layout
23580 は内部図への参照には効力がありません。
23588 \begin_layout Section
23590 \begin_inset CommandInset label
23597 \begin_inset Index idx
23600 \begin_layout Plain Layout
23609 \begin_layout Standard
23619 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
23620 \begin_inset Newline newline
23641 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
23642 \begin_inset Newline newline
23663 オプションは、フロートを回転するのに用います。第
23673 \begin_inset CommandInset ref
23675 reference "sec:回転フロート"
23691 \begin_layout Standard
23719 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
23722 \begin_layout Description
23732 フロートを挿入位置に配置することを試みます
23735 \begin_layout Description
23745 フロートを現在ページの上部に配置することを試みます
23748 \begin_layout Description
23758 フロートを現在ページの下部に配置することを試みます
23761 \begin_layout Description
23771 フロートを独立したページに配置することを試みます
23774 \begin_layout Standard
23779 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
23787 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
23788 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
23791 \begin_layout Standard
23792 既定では、各オプションはそれぞれ以下の規則を持っています。
23795 \begin_layout Labeling
23796 \labelwidthstring 00.00.0000
23801 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
23810 \begin_layout Labeling
23811 \labelwidthstring 00.00.0000
23816 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
23825 \begin_layout Labeling
23826 \labelwidthstring 00.00.0000
23831 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
23840 \begin_layout Standard
23845 オプションを追加することによって、これらを無視することができます。
23846 \begin_inset Newline newline
23849 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
23850 、ページの5割に変えるには、文書プリアンブルに
23853 \begin_layout Standard
23860 bottomfraction}{0.5}
23863 \begin_layout Standard
23867 \begin_layout Standard
23868 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
23872 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
23873 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
23877 \begin_layout Standard
23878 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
23881 \begin_layout Standard
23882 \begin_inset VSpace bigskip
23888 \begin_layout Standard
23889 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
23890 することがあります。この問題を避けるには、LaTeXコマンドの
23892 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
23893 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
23896 \begin_layout Standard
23906 \begin_inset Newline newline
23920 \begin_layout Standard
23921 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
23922 することがあるので、これらに対する定義はお勧めしません。
23925 \begin_layout Standard
23926 \begin_inset VSpace bigskip
23929 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
23934 \begin_inset Index idx
23937 \begin_layout Plain Layout
23938 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
23943 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
23944 \begin_inset Quotes eld
23950 \begin_inset space ~
23956 \begin_inset Quotes erd
23959 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
23962 \begin_layout Standard
23967 usepackage[options]{endfloat}
23970 \begin_layout Standard
23971 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
23976 \begin_inset CommandInset citation
23983 \begin_inset Newline newline
23987 \begin_inset Note Greyedout
23990 \begin_layout Plain Layout
23995 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
23996 \begin_inset CommandInset citation
24008 \begin_inset Newline newline
24012 \begin_inset Note Greyedout
24015 \begin_layout Plain Layout
24024 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
24038 \begin_layout Standard
24039 \begin_inset VSpace bigskip
24042 フロートの割付に関する詳細は、LaTeX関連書
24043 \begin_inset CommandInset citation
24045 key "latexcompanion,latexguide,latexbook"
24052 \begin_layout Section
24054 \begin_inset CommandInset label
24061 \begin_inset Index idx
24064 \begin_layout Plain Layout
24065 ふろーと@フロート ! かいてん@回転
24073 \begin_layout Standard
24074 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
24081 \begin_layout Standard
24082 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
24086 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
24087 たって回転方向を強制したい場合には、文書クラスオプションに
24098 \begin_layout Standard
24099 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
24100 \begin_inset CommandInset ref
24102 reference "tab:回転した表"
24109 \begin_layout Standard
24110 \begin_inset Note Greyedout
24113 \begin_layout Plain Layout
24118 すべてのDVIビューアが回転フロートを表示できるわけではありません。
24126 \begin_layout Standard
24127 \begin_inset Float table
24132 \begin_layout Plain Layout
24133 \begin_inset Caption Standard
24135 \begin_layout Plain Layout
24136 \begin_inset CommandInset label
24150 \begin_layout Plain Layout
24152 \begin_inset Tabular
24153 <lyxtabular version="3" rows="1" columns="5">
24154 <features rotate="0" tabularvalignment="middle">
24155 <column alignment="center" valignment="top">
24156 <column alignment="center" valignment="top">
24157 <column alignment="center" valignment="top">
24158 <column alignment="center" valignment="top">
24159 <column alignment="center" valignment="top">
24161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24164 \begin_layout Plain Layout
24170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24173 \begin_layout Plain Layout
24179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24182 \begin_layout Plain Layout
24188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24191 \begin_layout Plain Layout
24197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24200 \begin_layout Plain Layout
24219 \begin_layout Section
24221 \begin_inset Index idx
24224 \begin_layout Plain Layout
24225 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
24233 \begin_layout Standard
24234 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
24235 \begin_inset CommandInset ref
24237 reference "tab:従属表を横に並べたもの"
24242 \begin_inset CommandInset ref
24244 reference "tab:従属表を縦に並べたもの"
24248 に示されているように段落と同様に指定することができます。
24251 \begin_layout Standard
24252 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
24253 \begin_inset CommandInset ref
24255 reference "tab:これは従属表a"
24260 \begin_inset CommandInset ref
24262 reference "tab:これは従属表b"
24267 \begin_inset CommandInset ref
24269 reference "tab:従属表を横に並べたもの"
24274 \begin_inset Float table
24279 \begin_layout Plain Layout
24280 \begin_inset Caption Standard
24282 \begin_layout Plain Layout
24283 \begin_inset CommandInset label
24285 name "tab:従属表を横に並べたもの"
24297 \begin_layout Plain Layout
24298 \begin_inset space \hfill{}
24302 \begin_inset Float table
24307 \begin_layout Plain Layout
24308 \begin_inset Caption Standard
24310 \begin_layout Plain Layout
24311 \begin_inset CommandInset label
24325 \begin_layout Plain Layout
24327 \begin_inset Tabular
24328 <lyxtabular version="3" rows="1" columns="5">
24329 <features rotate="0" tabularvalignment="middle">
24330 <column alignment="center" valignment="top">
24331 <column alignment="center" valignment="top">
24332 <column alignment="center" valignment="top">
24333 <column alignment="center" valignment="top">
24334 <column alignment="center" valignment="top">
24336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24339 \begin_layout Plain Layout
24345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24348 \begin_layout Plain Layout
24354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24357 \begin_layout Plain Layout
24363 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24366 \begin_layout Plain Layout
24372 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24375 \begin_layout Plain Layout
24392 \begin_inset space \hfill{}
24396 \begin_inset Float table
24401 \begin_layout Plain Layout
24402 \begin_inset Caption Standard
24404 \begin_layout Plain Layout
24405 \begin_inset CommandInset label
24419 \begin_layout Plain Layout
24421 \begin_inset Tabular
24422 <lyxtabular version="3" rows="1" columns="5">
24423 <features rotate="0" tabularvalignment="middle">
24424 <column alignment="center" valignment="top">
24425 <column alignment="center" valignment="top">
24426 <column alignment="center" valignment="top">
24427 <column alignment="center" valignment="top">
24428 <column alignment="center" valignment="top">
24430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24433 \begin_layout Plain Layout
24439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24442 \begin_layout Plain Layout
24448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24451 \begin_layout Plain Layout
24457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24460 \begin_layout Plain Layout
24466 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24469 \begin_layout Plain Layout
24486 \begin_inset space \hfill{}
24495 \begin_inset Float table
24500 \begin_layout Plain Layout
24501 \begin_inset Caption Standard
24503 \begin_layout Plain Layout
24504 \begin_inset CommandInset label
24506 name "tab:従属表を縦に並べたもの"
24510 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
24518 \begin_layout Plain Layout
24521 \begin_inset Float table
24526 \begin_layout Plain Layout
24527 \begin_inset Caption Standard
24529 \begin_layout Plain Layout
24538 \begin_layout Plain Layout
24540 \begin_inset Tabular
24541 <lyxtabular version="3" rows="1" columns="4">
24542 <features rotate="0" tabularvalignment="middle">
24543 <column alignment="center" valignment="top">
24544 <column alignment="center" valignment="top">
24545 <column alignment="center" valignment="top">
24546 <column alignment="center" valignment="top">
24548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24551 \begin_layout Plain Layout
24557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24560 \begin_layout Plain Layout
24566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24569 \begin_layout Plain Layout
24575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24578 \begin_layout Plain Layout
24597 \begin_layout Plain Layout
24600 \begin_inset Float table
24605 \begin_layout Plain Layout
24606 \begin_inset Caption Standard
24608 \begin_layout Plain Layout
24617 \begin_layout Plain Layout
24619 \begin_inset Tabular
24620 <lyxtabular version="3" rows="1" columns="5">
24621 <features rotate="0" tabularvalignment="middle">
24622 <column alignment="center" valignment="top">
24623 <column alignment="center" valignment="top">
24624 <column alignment="center" valignment="top">
24625 <column alignment="center" valignment="top">
24626 <column alignment="center" valignment="top">
24628 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24631 \begin_layout Plain Layout
24637 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24640 \begin_layout Plain Layout
24646 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24649 \begin_layout Plain Layout
24655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24658 \begin_layout Plain Layout
24664 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24667 \begin_layout Plain Layout
24691 \begin_layout Section
24693 \begin_inset Index idx
24696 \begin_layout Plain Layout
24697 ふろーと@フロート ! よこならび@横並び
24705 \begin_layout Standard
24707 \begin_inset CommandInset ref
24709 reference "fig:左側のフロート"
24714 \begin_inset CommandInset ref
24716 reference "fig:右側のフロート"
24720 のようにフロートを横並びに配置するには、
24724 フロートのみを使用し、その中に二つのminipageボックスを挿入します
24728 \begin_layout Plain Layout
24730 \begin_inset CommandInset ref
24732 reference "sec:ミニページ"
24742 \begin_inset space \thinspace{}
24746 \begin_inset space \thinspace{}
24749 列幅%とし、各minipageのボックス配置を
24753 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
24757 がここではminipageボックスの幅によって計算されることです。
24760 \begin_layout Standard
24761 \begin_inset Float figure
24766 \begin_layout Plain Layout
24767 \begin_inset Box Frameless
24777 height_special "totalheight"
24780 \begin_layout Plain Layout
24782 \begin_inset Graphics
24783 filename ../clipart/mobius.eps
24786 scaleBeforeRotation
24793 \begin_layout Plain Layout
24794 \begin_inset Caption Standard
24796 \begin_layout Plain Layout
24797 \begin_inset CommandInset label
24814 \begin_inset space \hfill{}
24818 \begin_inset Box Frameless
24828 height_special "totalheight"
24831 \begin_layout Plain Layout
24833 \begin_inset Graphics
24834 filename ../clipart/platypus.eps
24837 scaleBeforeRotation
24844 \begin_layout Plain Layout
24845 \begin_inset Caption Standard
24847 \begin_layout Plain Layout
24848 \begin_inset CommandInset label
24867 \begin_layout Plain Layout
24876 \begin_layout Section
24878 \begin_inset Index idx
24881 \begin_layout Plain Layout
24882 きゃぷしょん@キャプション ! しょしきせってい@書式設定
24888 \begin_inset Index idx
24891 \begin_layout Plain Layout
24892 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
24898 \begin_inset CommandInset label
24900 name "sec:キャプションの書式設定"
24907 \begin_layout Standard
24916 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
24920 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
24924 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
24925 。このキャプション書式は、すべての文書書式に適しているわけではありません。
24928 \begin_layout Standard
24929 既定のキャプション書式を変更するには、文書プリアンブルに
24932 \begin_layout Standard
24937 usepackage[format definition]{caption}
24940 \begin_layout Standard
24941 という行を加えて、LaTeXパッケージ
24946 \begin_inset Index idx
24949 \begin_layout Plain Layout
24950 LaTeXぱっけーじ@LaTeXパッケージ ! caption
24955 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
24958 \begin_layout Standard
24963 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
24966 \begin_layout Standard
24967 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
24971 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
24974 \begin_layout Standard
24979 captionsetup[フロート型]{書式定義}
24982 \begin_layout Standard
24983 というコマンドを使用して、個別の書式を指定してください。たとえば、図
24984 \begin_inset CommandInset ref
24986 reference "fig:図キャプション"
24991 \begin_inset CommandInset ref
24993 reference "tab:表キャプション"
24997 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
25000 \begin_layout Standard
25005 usepackage[tableposition=top]{caption}
25008 \begin_inset Newline newline
25015 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
25016 \begin_inset Newline newline
25020 \begin_inset Phantom HPhantom
25023 \begin_layout Plain Layout
25026 captionsetup[figure]{
25032 \begin_inset Newline newline
25037 captionsetup[table]{labelfont={bf,sf}}
25040 \begin_layout Standard
25041 \begin_inset Note Greyedout
25044 \begin_layout Plain Layout
25058 \begin_inset Index idx
25061 \begin_layout Plain Layout
25062 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25067 が使われているときには、無効になります。この場合には、文書クラスオプション
25069 captions=tableheading
25079 \begin_layout Standard
25084 パッケージについての詳細は、その取扱説明書
25085 \begin_inset CommandInset citation
25094 \begin_layout Standard
25095 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
25098 \begin_layout Standard
25110 \begin_layout Standard
25124 \begin_layout Standard
25125 \begin_inset VSpace bigskip
25133 \begin_inset Index idx
25136 \begin_layout Plain Layout
25137 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25144 article (KOMA-script)
25152 letter (KOMA-script)
25156 report (KOMA-script)
25170 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
25173 \begin_layout Standard
25178 setkomafont{captionlabel}{
25183 \begin_layout Standard
25195 \begin_inset CommandInset citation
25204 \begin_layout Standard
25208 \begin_layout Plain Layout
25212 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
25219 \begin_inset Note Note
25222 \begin_layout Plain Layout
25223 キャプション書式は、この例のみ変更してあります。
25231 \begin_layout Standard
25232 \begin_inset Float figure
25238 \begin_layout Plain Layout
25240 \begin_inset Graphics
25241 filename ../clipart/mobius.eps
25244 scaleBeforeRotation
25251 \begin_layout Plain Layout
25252 \begin_inset Caption Standard
25254 \begin_layout Plain Layout
25255 \begin_inset CommandInset label
25261 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
25274 \begin_layout Standard
25278 \begin_layout Plain Layout
25282 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
25291 \begin_layout Standard
25292 \begin_inset Float table
25298 \begin_layout Plain Layout
25299 \begin_inset Caption Standard
25301 \begin_layout Plain Layout
25302 \begin_inset CommandInset label
25308 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
25316 \begin_layout Plain Layout
25318 \begin_inset Tabular
25319 <lyxtabular version="3" rows="1" columns="5">
25320 <features rotate="0" tabularvalignment="middle">
25321 <column alignment="center" valignment="top">
25322 <column alignment="center" valignment="top">
25323 <column alignment="center" valignment="top">
25324 <column alignment="center" valignment="top">
25325 <column alignment="center" valignment="top">
25327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25330 \begin_layout Plain Layout
25336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25339 \begin_layout Plain Layout
25345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25348 \begin_layout Plain Layout
25354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25357 \begin_layout Plain Layout
25363 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25366 \begin_layout Plain Layout
25385 \begin_layout Section
25387 \begin_inset Index idx
25390 \begin_layout Plain Layout
25391 きゃぷしょん@キャプション ! はいち@配置
25397 \begin_inset Index idx
25400 \begin_layout Plain Layout
25401 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
25407 \begin_inset CommandInset label
25409 name "sec:キャプションの配置"
25416 \begin_layout Standard
25420 \begin_layout Description
25421 図の場合: キャプションを図の下に置く
25424 \begin_layout Description
25425 表の場合: キャプションを表の上に置く
25428 \begin_layout Standard
25429 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
25445 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、
25447 load the LaTeX-package
25453 \begin_inset Index idx
25456 \begin_layout Plain Layout
25457 LaTeXぱっけーじ@LaTeXパッケージ ! caption
25464 in your document preamble with the option
25470 \begin_layout Plain Layout
25476 \begin_inset CommandInset ref
25478 reference "sec:キャプションの書式設定"
25490 \begin_layout Standard
25496 \begin_layout Standard
25502 \begin_inset Index idx
25505 \begin_layout Plain Layout
25506 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25513 article (KOMA-script)
25521 letter (KOMA-script)
25525 report (KOMA-script)
25528 \begin_inset space \thinspace{}
25535 パッケージにオプションを与える代わりに、文書クラスオプション
25538 \begin_layout Standard
25541 captions=tableheading
25544 \begin_layout Standard
25549 \begin_layout Plain Layout
25552 That option is used in this document.
25560 \begin_layout Standard
25563 In documents with a KOMA-Script document class you can also right-click
25564 on a caption and mark in the context menu if this should be a caption above
25565 or below the table/figure.
25566 This way you can override the document-wide caption placement for certain
25571 \begin_inset CommandInset ref
25573 reference "tab:A-caption-marked"
25579 is an example where the caption is marked a being below the table while
25581 For comparison the caption in Table
25584 \begin_inset CommandInset ref
25586 reference "tab:A-standard-table"
25595 \begin_layout Standard
25596 \begin_inset Float table
25601 \begin_layout Plain Layout
25602 \begin_inset Caption Below
25604 \begin_layout Plain Layout
25605 \begin_inset CommandInset label
25607 name "tab:A-caption-marked"
25613 A caption marked as being below the table.
25621 \begin_layout Plain Layout
25623 \begin_inset Tabular
25624 <lyxtabular version="3" rows="3" columns="3">
25625 <features rotate="0" tabularvalignment="middle">
25626 <column alignment="center" valignment="top" width="0pt">
25627 <column alignment="center" valignment="top" width="0pt">
25628 <column alignment="center" valignment="top" width="0pt">
25630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25633 \begin_layout Plain Layout
25639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25642 \begin_layout Plain Layout
25648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25651 \begin_layout Plain Layout
25659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25662 \begin_layout Plain Layout
25668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25671 \begin_layout Plain Layout
25677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25680 \begin_layout Plain Layout
25688 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25691 \begin_layout Plain Layout
25692 \begin_inset Formula $\int x^{2}dx$
25700 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25703 \begin_layout Plain Layout
25704 \begin_inset Formula $\left[\begin{array}{cc}
25707 \end{array}\right]$
25715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25718 \begin_layout Plain Layout
25719 \begin_inset Formula $1+1=2$
25740 \begin_layout Standard
25741 \begin_inset Float table
25746 \begin_layout Plain Layout
25747 \begin_inset Caption Standard
25749 \begin_layout Plain Layout
25750 \begin_inset CommandInset label
25752 name "tab:A-standard-table"
25758 A standard table caption.
25766 \begin_layout Plain Layout
25768 \begin_inset Tabular
25769 <lyxtabular version="3" rows="3" columns="3">
25770 <features rotate="0" tabularvalignment="middle">
25771 <column alignment="center" valignment="top" width="0pt">
25772 <column alignment="center" valignment="top" width="0pt">
25773 <column alignment="center" valignment="top" width="0pt">
25775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25778 \begin_layout Plain Layout
25784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25787 \begin_layout Plain Layout
25793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25796 \begin_layout Plain Layout
25804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25807 \begin_layout Plain Layout
25813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25816 \begin_layout Plain Layout
25822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25825 \begin_layout Plain Layout
25833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25836 \begin_layout Plain Layout
25837 \begin_inset Formula $\int x^{2}dx$
25845 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25848 \begin_layout Plain Layout
25849 \begin_inset Formula $\left[\begin{array}{cc}
25852 \end{array}\right]$
25860 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25863 \begin_layout Plain Layout
25864 \begin_inset Formula $1+1=2$
25885 \begin_layout Standard
25886 \begin_inset VSpace bigskip
25889 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
25892 \begin_layout Standard
25897 usepackage[option]{sidecap}
25900 \begin_layout Standard
25901 という行を入れて、LaTeXパッケージ
25906 \begin_inset Index idx
25909 \begin_layout Plain Layout
25910 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
25915 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
25919 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
25930 \begin_layout Standard
25934 \begin_layout Plain Layout
25944 \begin_inset Note Note
25947 \begin_layout Plain Layout
25952 が導入されているときのみ表示されます。
25960 \begin_layout Standard
25961 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
25962 \begin_inset Newpage pagebreak
25968 \begin_layout Standard
25970 \begin_inset CommandInset line
25981 \begin_layout Standard
25988 TabBesBeg}[1][1.0]{%
25989 \begin_inset Newline newline
25993 \begin_inset Phantom HPhantom
25996 \begin_layout Plain Layout
25997 \begin_inset space ~
26012 \begin_inset Newline newline
26016 \begin_inset Phantom HPhantom
26019 \begin_layout Plain Layout
26022 \begin_inset space ~
26037 \begin_inset Newline newline
26041 \begin_inset Phantom HPhantom
26044 \begin_layout Plain Layout
26047 \begin_inset space ~
26057 renewenvironment{table}[1]{
26059 begin{SCtable}[#1]##1}{
26064 \begin_layout Standard
26072 \begin_inset Newline newline
26076 \begin_inset Phantom HPhantom
26079 \begin_layout Plain Layout
26080 \begin_inset space ~
26095 \begin_inset Newline newline
26099 \begin_inset Phantom HPhantom
26102 \begin_layout Plain Layout
26103 \begin_inset space ~
26120 \begin_layout Standard
26127 FigBesBeg}[1][1.0]{%
26128 \begin_inset Newline newline
26132 \begin_inset Phantom HPhantom
26135 \begin_layout Plain Layout
26136 \begin_inset space ~
26151 \begin_inset Newline newline
26155 \begin_inset Phantom HPhantom
26158 \begin_layout Plain Layout
26159 \begin_inset space ~
26174 \begin_inset Newline newline
26178 \begin_inset Phantom HPhantom
26181 \begin_layout Plain Layout
26182 \begin_inset space ~
26192 renewenvironment{figure}[1]{
26194 begin{SCfigure}[#1]##1}{
26199 \begin_layout Standard
26207 \begin_inset Newline newline
26211 \begin_inset Phantom HPhantom
26214 \begin_layout Plain Layout
26215 \begin_inset space ~
26230 \begin_inset Newline newline
26234 \begin_inset Phantom HPhantom
26237 \begin_layout Plain Layout
26238 \begin_inset space ~
26255 \begin_layout Standard
26257 \begin_inset CommandInset line
26268 \begin_layout Standard
26269 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
26272 \begin_layout Standard
26280 \begin_layout Standard
26281 というコマンドを、フロートの前にTeXコードで入れてください。そして、元のフロート定義に戻したいところで、
26284 \begin_layout Standard
26292 \begin_layout Standard
26296 \begin_layout Standard
26297 表フロートに対しては、対応するコマンド
26300 \begin_layout Standard
26314 \begin_layout Standard
26316 \begin_inset CommandInset ref
26318 reference "fig:図横キャプション"
26323 \begin_inset CommandInset ref
26325 reference "tab:表横キャプション"
26332 \begin_layout Standard
26333 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
26334 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
26337 \begin_layout Standard
26342 sidecaptionvpos{フロート型}{配置}
26345 \begin_layout Standard
26346 というコマンドを使用します。ここで「フロート型」は
26354 であり、「配置」は、上揃えの場合はtopの
26357 \begin_layout Standard
26370 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
26373 \begin_layout Standard
26378 sidecaptionvpos{figure}{c}
26381 \begin_layout Standard
26382 というコマンドを使用します。これは、図
26383 \begin_inset CommandInset ref
26385 reference "fig:図横キャプション-2"
26392 \begin_layout Standard
26393 \begin_inset VSpace medskip
26399 \begin_layout Standard
26400 キャプション幅の既定値は、画像幅ないし表幅です。しかし、表
26401 \begin_inset CommandInset ref
26403 reference "tab:表横キャプション"
26407 のように幅狭の表では、これではキャプションの幅が狭くなりすぎます。キャプション幅を増やすには、画像幅ないし表幅に掛ける因数を指定することができます。指定した幅で
26408 は、キャプションがページ余白ないし段余白に突き出てしまうような場合は、キャプション幅は自動的に再計算してくれます。
26415 \begin_layout Standard
26423 \begin_layout Standard
26430 への非必須引数として与えることもできますし、
26441 \begin_inset CommandInset ref
26443 reference "tab:図横幅広"
26450 \begin_layout Standard
26451 \begin_inset Note Greyedout
26454 \begin_layout Plain Layout
26455 【註】キャプションを横につけたフロートでは、フロート配置オプションの
26463 がサポートしていないので、使用することができません。.
26471 \begin_layout Standard
26472 \begin_inset VSpace medskip
26480 \begin_inset CommandInset citation
26489 \begin_layout Standard
26490 \begin_inset Note Greyedout
26493 \begin_layout Plain Layout
26499 \begin_inset CommandInset ref
26501 reference "sub:参照位置"
26510 \begin_inset Index idx
26513 \begin_layout Plain Layout
26514 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
26519 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
26527 \begin_layout Standard
26528 \begin_inset Note Greyedout
26531 \begin_layout Plain Layout
26541 \begin_inset Index idx
26544 \begin_layout Plain Layout
26545 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
26550 は、pLaTeXと互換性がなく、特に文書全体の見出しのフォントが適切に表示できなくなってしまうため、本日本語訳では当該パッケージを使用していません。その使用例に
26555 』(つまりこの文書)のLyX文書本体を見るか、出力結果を見たい場合には英語版を出力するようにしてください。
26561 \begin_inset Note Note
26564 \begin_layout Plain Layout
26568 \begin_layout Plain Layout
26580 \begin_layout Plain Layout
26581 \begin_inset Float figure
26586 \begin_layout Plain Layout
26587 \begin_inset Graphics
26588 filename ../clipart/escher-lsd.eps
26590 scaleBeforeRotation
26597 \begin_layout Plain Layout
26598 \begin_inset Caption Standard
26600 \begin_layout Plain Layout
26601 \begin_inset CommandInset label
26603 name "fig:図横キャプション"
26620 \begin_layout Plain Layout
26624 \begin_layout Plain Layout
26636 \begin_layout Plain Layout
26640 \begin_layout Plain Layout
26652 \begin_layout Plain Layout
26653 \begin_inset Float table
26658 \begin_layout Plain Layout
26659 \begin_inset Caption Standard
26661 \begin_layout Plain Layout
26662 \begin_inset CommandInset label
26664 name "tab:表横キャプション"
26676 \begin_layout Plain Layout
26677 \begin_inset Tabular
26678 <lyxtabular version="3" rows="4" columns="5">
26679 <features rotate="0" tabularvalignment="middle">
26680 <column alignment="center" valignment="top">
26681 <column alignment="center" valignment="top">
26682 <column alignment="center" valignment="top">
26683 <column alignment="center" valignment="top">
26684 <column alignment="center" valignment="top">
26686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26689 \begin_layout Plain Layout
26695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26698 \begin_layout Plain Layout
26704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26707 \begin_layout Plain Layout
26713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26716 \begin_layout Plain Layout
26722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26725 \begin_layout Plain Layout
26733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26736 \begin_layout Plain Layout
26742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26745 \begin_layout Plain Layout
26751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26754 \begin_layout Plain Layout
26760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26763 \begin_layout Plain Layout
26769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26772 \begin_layout Plain Layout
26780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26783 \begin_layout Plain Layout
26789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26792 \begin_layout Plain Layout
26798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26801 \begin_layout Plain Layout
26807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26810 \begin_layout Plain Layout
26816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26819 \begin_layout Plain Layout
26827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26830 \begin_layout Plain Layout
26836 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26839 \begin_layout Plain Layout
26845 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26848 \begin_layout Plain Layout
26854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26857 \begin_layout Plain Layout
26863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26866 \begin_layout Plain Layout
26885 \begin_layout Plain Layout
26889 \begin_layout Plain Layout
26901 \begin_layout Plain Layout
26905 \begin_layout Plain Layout
26917 \begin_layout Plain Layout
26921 \begin_layout Plain Layout
26925 sidecaptionvpos{figure}{c}
26931 \begin_inset Float figure
26936 \begin_layout Plain Layout
26937 \begin_inset Graphics
26938 filename ../clipart/escher-lsd.eps
26940 scaleBeforeRotation
26947 \begin_layout Plain Layout
26948 \begin_inset Caption Standard
26950 \begin_layout Plain Layout
26951 \begin_inset CommandInset label
26953 name "fig:図横キャプション-2"
26957 これは図の横にある縦方向中央揃えのキャプションです。
26970 \begin_layout Plain Layout
26974 \begin_layout Plain Layout
26986 \begin_layout Plain Layout
26990 \begin_layout Plain Layout
27002 \begin_layout Plain Layout
27003 \begin_inset Float table
27008 \begin_layout Plain Layout
27009 \begin_inset Caption Standard
27011 \begin_layout Plain Layout
27012 \begin_inset CommandInset label
27019 \begin_inset CommandInset ref
27021 reference "tab:表横キャプション"
27033 \begin_layout Plain Layout
27034 \begin_inset Tabular
27035 <lyxtabular version="3" rows="4" columns="5">
27036 <features rotate="0" tabularvalignment="middle">
27037 <column alignment="center" valignment="top">
27038 <column alignment="center" valignment="top">
27039 <column alignment="center" valignment="top">
27040 <column alignment="center" valignment="top">
27041 <column alignment="center" valignment="top">
27043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27046 \begin_layout Plain Layout
27052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27055 \begin_layout Plain Layout
27061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27064 \begin_layout Plain Layout
27070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27073 \begin_layout Plain Layout
27079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27082 \begin_layout Plain Layout
27090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27093 \begin_layout Plain Layout
27099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27102 \begin_layout Plain Layout
27108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27111 \begin_layout Plain Layout
27117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27120 \begin_layout Plain Layout
27126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27129 \begin_layout Plain Layout
27137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27140 \begin_layout Plain Layout
27146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27149 \begin_layout Plain Layout
27155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27158 \begin_layout Plain Layout
27164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27167 \begin_layout Plain Layout
27173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27176 \begin_layout Plain Layout
27184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27187 \begin_layout Plain Layout
27193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27196 \begin_layout Plain Layout
27202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27205 \begin_layout Plain Layout
27211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27214 \begin_layout Plain Layout
27220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27223 \begin_layout Plain Layout
27242 \begin_layout Plain Layout
27246 \begin_layout Plain Layout
27263 \begin_layout Standard
27267 \begin_layout Plain Layout
27277 \begin_inset Note Note
27280 \begin_layout Plain Layout
27285 が導入されていないときのみ表示されます。
27293 \begin_layout Standard
27294 本節の残りの部分を出力で表示するには、LaTeXパッケージ
27301 \begin_layout Standard
27305 \begin_layout Plain Layout
27317 \begin_layout Section
27319 \begin_inset Index idx
27322 \begin_layout Plain Layout
27323 ふろーと@フロート ! ふろーといちらん@フロート一覧
27331 \begin_layout Standard
27332 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
27334 挿入\SpecialChar \menuseparator
27340 \begin_layout Standard
27341 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
27344 \begin_layout Standard
27345 本文書の終わりに、図一覧と表一覧があります。
27348 \begin_layout Chapter
27352 \begin_layout Section
27354 \begin_inset Index idx
27357 \begin_layout Plain Layout
27358 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
27366 \begin_layout Standard
27379 挿入\SpecialChar \menuseparator
27382 メニューで挿入することができます。注釈には、以下の三つの型があります。
27385 \begin_layout Description
27386 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
27387 \begin_inset Newline newline
27391 \begin_inset Newline newline
27395 \begin_inset Graphics
27396 filename clipart/LyXNoteImageQt4.png
27399 scaleBeforeRotation
27404 \begin_inset Note Note
27407 \begin_layout Plain Layout
27408 これは、出力には現れない注釈ボックスに書かれた文章です。
27416 \begin_layout Description
27417 コメント この注釈も出力には現れませんが、
27419 ファイル\SpecialChar \menuseparator
27420 書き出し\SpecialChar \menuseparator
27421 LaTeX (pdflatex) / (平文)
27423 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
27424 \begin_inset Newline newline
27428 \begin_inset Newline newline
27432 \begin_inset Graphics
27433 filename clipart/CommentNoteImageQt4.png
27436 scaleBeforeRotation
27441 \begin_inset Note Comment
27444 \begin_layout Plain Layout
27445 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
27453 \begin_layout Description
27454 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
27455 \begin_inset Newline newline
27459 \begin_inset Newline newline
27463 \begin_inset Graphics
27464 filename clipart/GreyedOutNoteImageQt4.png
27467 scaleBeforeRotation
27472 \begin_inset Newline newline
27479 \begin_layout Plain Layout
27483 renewenvironment{lyxgreyedout}
27486 \begin_layout Plain Layout
27490 textcolor[gray]{0.8}
27500 \begin_inset Note Greyedout
27503 \begin_layout Plain Layout
27504 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
27508 \begin_layout Plain Layout
27509 これは、淡色注釈内に脚注を用いた例です。
27523 \begin_layout Plain Layout
27527 renewenvironment{lyxgreyedout}
27530 \begin_layout Plain Layout
27544 \begin_inset Note Note
27547 \begin_layout Plain Layout
27548 以下に述べられているように、淡色注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色注釈は、LyX本来の定義で表示されるように再
27555 \begin_inset Newline newline
27559 \begin_inset Newline newline
27562 この例から分かるように、淡色注釈の最初の行は少し字下げされるほか、淡色注釈には脚注を入れることができます。
27565 \begin_layout Standard
27566 \begin_inset VSpace bigskip
27583 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
27584 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
27588 \begin_layout Standard
27589 \begin_inset VSpace bigskip
27594 文書\SpecialChar \menuseparator
27595 設定\SpecialChar \menuseparator
27601 \begin_layout Section
27603 \begin_inset CommandInset label
27610 \begin_inset Index idx
27613 \begin_layout Plain Layout
27614 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
27620 \begin_inset Index idx
27623 \begin_layout Plain Layout
27632 \begin_layout Standard
27638 arg "footnote-insert"
27645 挿入\SpecialChar \menuseparator
27648 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
27649 \begin_inset Graphics
27650 filename clipart/footnoteQt4.png
27652 scaleBeforeRotation
27656 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
27657 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
27660 \begin_layout Standard
27665 \begin_layout Plain Layout
27666 \begin_inset CommandInset label
27681 \begin_layout Plain Layout
27685 newcounter{MyRepeatFoot}
27688 \begin_layout Plain Layout
27692 setcounter{MyRepeatFoot}{
27702 \begin_layout Standard
27703 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
27704 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
27707 \begin_layout Standard
27708 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
27709 \begin_inset CommandInset ref
27711 reference "sec:フロートの参照"
27715 節に説明されているようにして、本文中でこのラベルを相互参照してください。
27716 \begin_inset Newline newline
27720 \begin_inset CommandInset ref
27722 reference "fn:これは脚注の一例"
27729 \begin_layout Standard
27730 \begin_inset VSpace defskip
27736 \begin_layout Standard
27737 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
27743 コマンドを入れてください。脚注の本文は、表の後でTeXコード
27750 \begin_inset Newline newline
27754 \begin_inset Newline newline
27768 \begin_inset Newline newline
27774 \begin_layout Standard
27775 \begin_inset Tabular
27776 <lyxtabular version="3" rows="2" columns="1">
27777 <features rotate="0" tabularvalignment="middle">
27778 <column alignment="center" valignment="top">
27780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27783 \begin_layout Plain Layout
27788 \begin_layout Plain Layout
27801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27804 \begin_layout Plain Layout
27809 \begin_layout Plain Layout
27832 \begin_layout Plain Layout
27845 \begin_layout Plain Layout
27855 \begin_layout Standard
27857 \begin_inset CommandInset ref
27859 reference "sub:長尺表での脚注"
27866 \begin_layout Standard
27867 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
27868 \begin_inset CommandInset ref
27870 reference "sec:ミニページ"
27874 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
27889 \begin_layout Standard
27890 \begin_inset Box Frameless
27900 height_special "totalheight"
27903 \begin_layout Plain Layout
27908 \begin_layout Plain Layout
27917 \begin_layout Plain Layout
27922 \begin_layout Plain Layout
27939 \begin_layout Standard
27943 \begin_layout Plain Layout
27956 \begin_layout Plain Layout
27964 \begin_inset VSpace defskip
27970 \begin_layout Standard
27971 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
27978 \begin_inset Newline newline
27981 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
27982 \begin_inset CommandInset ref
27984 reference "fn:これは脚注の一例"
27991 \begin_layout Standard
27996 newcounter{MyRepeatFoot}
27997 \begin_inset Newline newline
28002 setcounter{MyRepeatFoot}{
28007 \begin_layout Standard
28008 というコマンドを挿入しています。そして脚注マークは、
28011 \begin_layout Standard
28021 \begin_layout Standard
28025 \begin_layout Standard
28030 \begin_layout Plain Layout
28044 \begin_layout Standard
28045 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
28048 \begin_layout Standard
28058 \begin_layout Standard
28062 \begin_layout Standard
28067 \begin_layout Plain Layout
28081 \begin_layout Subsection
28083 \begin_inset CommandInset label
28090 \begin_inset Index idx
28093 \begin_layout Plain Layout
28102 \begin_layout Standard
28103 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
28106 \begin_layout Standard
28111 @addtoreset{footnote}{section}
28114 \begin_layout Standard
28118 \begin_layout Standard
28119 \begin_inset VSpace bigskip
28122 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
28125 \begin_layout Standard
28137 \begin_layout Standard
28141 \begin_layout Plain Layout
28158 \begin_layout Plain Layout
28159 これは、ローマ数字を使った脚注の例です。
28167 \begin_layout Standard
28168 付番様式を大文字ローマ数字に変更するには、上記コマンドの
28180 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
28192 を使用してください。記号を使って付「番」するには、
28201 \begin_layout Standard
28202 \begin_inset Note Greyedout
28205 \begin_layout Plain Layout
28210 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
28216 \begin_inset Newline newline
28220 \begin_inset Note Greyedout
28223 \begin_layout Plain Layout
28228 記号を使うと9個の脚注しか番号を振ることができません。
28236 \begin_layout Standard
28237 付番様式を変更した後、既定様式に戻すには、上記コマンドの
28253 \begin_layout Plain Layout
28269 \begin_layout Standard
28270 \begin_inset VSpace bigskip
28276 \begin_layout Standard
28277 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
28280 \begin_layout Standard
28285 numberwithin{footnote}{chapter}
28288 \begin_layout Standard
28295 コマンドを使用できるようにするためには、文書設定の
28302 \begin_inset space ~
28310 \begin_layout Standard
28314 \begin_layout Plain Layout
28318 numberwithin{footnote}{chapter}
28329 \begin_layout Plain Layout
28334 「章番号.脚注番号」スキームで番号を振られた脚注です。
28345 \begin_layout Plain Layout
28361 \begin_layout Standard
28362 \begin_inset Note Greyedout
28365 \begin_layout Plain Layout
28372 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
28380 \begin_layout Standard
28383 Roman{footnote}」スキームを得るには、
28389 の代わりに以下のコマンドを使用してください。
28392 \begin_layout Standard
28406 \begin_layout Subsection
28408 \begin_inset Index idx
28411 \begin_layout Plain Layout
28420 \begin_layout Standard
28421 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
28423 \begin_inset space \thinspace{}
28429 \begin_layout Standard
28439 \begin_inset Newline newline
28453 \begin_layout Standard
28454 \begin_inset VSpace bigskip
28457 二段組文書では、脚注は各段底部に表示されます(図
28458 \begin_inset CommandInset ref
28460 reference "fig:標準的脚注配置"
28465 \begin_inset CommandInset ref
28467 reference "fig:ftnright脚注配置"
28471 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
28474 \begin_layout Standard
28479 usepackage{ftnright}
28482 \begin_layout Standard
28483 というコマンドを書いて、LaTeXパッケージ
28488 \begin_inset Index idx
28491 \begin_layout Plain Layout
28492 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
28498 \begin_inset Float figure
28504 \begin_layout Plain Layout
28508 \begin_layout Plain Layout
28518 \begin_inset Graphics
28519 filename ../clipart/without_fntright.pdf
28521 scaleBeforeRotation
28529 \begin_layout Plain Layout
28539 \begin_layout Plain Layout
28540 \begin_inset Caption Standard
28542 \begin_layout Plain Layout
28543 \begin_inset CommandInset label
28562 \begin_layout Standard
28563 \begin_inset Float figure
28569 \begin_layout Plain Layout
28573 \begin_layout Plain Layout
28583 \begin_inset Graphics
28584 filename ../clipart/with_fntright.pdf
28586 scaleBeforeRotation
28594 \begin_layout Plain Layout
28604 \begin_layout Plain Layout
28605 \begin_inset Caption Standard
28607 \begin_layout Plain Layout
28608 \begin_inset CommandInset label
28610 name "fig:ftnright脚注配置"
28631 \begin_layout Standard
28632 \begin_inset VSpace bigskip
28636 \begin_inset CommandInset ref
28642 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
28643 \begin_inset Index idx
28646 \begin_layout Plain Layout
28652 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
28654 文書\SpecialChar \menuseparator
28655 設定\SpecialChar \menuseparator
28662 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
28665 \begin_layout Standard
28673 \begin_layout Standard
28677 \begin_layout Standard
28678 \begin_inset Float figure
28683 \begin_layout Plain Layout
28688 \begin_layout Plain Layout
28698 \begin_inset Graphics
28699 filename ../clipart/endnotes.pdf
28700 scaleBeforeRotation
28708 \begin_layout Plain Layout
28718 \begin_layout Plain Layout
28719 \begin_inset Caption Standard
28721 \begin_layout Plain Layout
28722 \begin_inset CommandInset label
28728 後注 – 注を節ないし章末に別段落として印字します。
28741 \begin_layout Standard
28742 \begin_inset VSpace medskip
28745 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
28748 \begin_layout Standard
28755 notesname}{Anmerkungen}
28758 \begin_layout Standard
28759 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
28762 \begin_layout Standard
28763 \begin_inset VSpace medskip
28767 \begin_inset CommandInset ref
28769 reference "sub:脚注の付番"
28773 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
28785 を用いてください。後注番号をリセットするには、第
28786 \begin_inset CommandInset ref
28788 reference "sub:脚注の付番"
28809 \begin_layout Standard
28811 \begin_inset CommandInset ref
28832 \begin_layout Standard
28833 \begin_inset VSpace bigskip
28836 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
28841 \begin_inset Index idx
28844 \begin_layout Plain Layout
28845 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
28851 \begin_inset CommandInset citation
28860 \begin_layout Standard
28861 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
28862 \begin_inset CommandInset citation
28864 key "latexcompanion,latexguide,latexbook"
28873 \begin_inset Index idx
28876 \begin_layout Plain Layout
28877 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
28882 文書クラスを使用している場合には、すべての脚注設定を、クラス固有のコマンドで調節することができます(
28883 \begin_inset CommandInset citation
28892 \begin_layout Section
28894 \begin_inset Index idx
28897 \begin_layout Plain Layout
28898 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
28906 \begin_layout Standard
28907 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
28909 挿入\SpecialChar \menuseparator
28917 arg "marginalnote-insert"
28922 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
28925 \begin_layout Standard
28927 \begin_inset Marginal
28930 \begin_layout Plain Layout
28939 \begin_layout Standard
28940 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
28941 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
28944 \begin_layout Standard
28945 \begin_inset VSpace bigskip
28948 傍注を内側余白に置くには、傍注の前にTeXコードで
28951 \begin_layout Standard
28959 \begin_layout Standard
28960 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
28964 \begin_layout Plain Layout
28974 \begin_inset Marginal
28977 \begin_layout Plain Layout
28986 \begin_inset Newline newline
28992 \begin_inset Note Greyedout
28995 \begin_layout Plain Layout
28996 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
29004 \begin_layout Standard
29008 \begin_layout Standard
29016 \begin_layout Standard
29021 \begin_layout Plain Layout
29031 \begin_inset Note Greyedout
29034 \begin_layout Plain Layout
29041 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
29049 \begin_layout Standard
29050 \begin_inset VSpace bigskip
29054 \begin_inset Marginal
29057 \begin_layout Plain Layout
29058 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
29064 \begin_inset CommandInset ref
29066 reference "sub:複数行"
29070 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
29071 \begin_inset space \thinspace{}
29075 \begin_inset Marginal
29078 \begin_layout Plain Layout
29079 \begin_inset space \hspace*{}
29083 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
29091 \begin_layout Standard
29092 \begin_inset VSpace bigskip
29098 \begin_layout Standard
29099 \begin_inset Note Greyedout
29102 \begin_layout Plain Layout
29107 通常、傍注は表やフロート、脚注の中では使用することができません。
29115 \begin_layout Standard
29116 \begin_inset VSpace bigskip
29122 \begin_layout Standard
29126 \begin_layout Plain Layout
29136 \begin_inset Note Note
29139 \begin_layout Plain Layout
29144 が導入されているときのみ表示されます。
29152 \begin_layout Standard
29158 \begin_inset Index idx
29161 \begin_layout Plain Layout
29162 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
29167 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
29171 パッケージが提供するコマンドを使うようになります。
29174 \begin_layout Standard
29179 usepackage{marginnote}
29180 \begin_inset Newline newline
29192 \begin_layout Standard
29197 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
29201 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
29202 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
29205 \begin_layout Standard
29211 \begin_layout Standard
29212 という形で書くことで設定することができます。ここで「オフセット」には、表
29213 \begin_inset CommandInset ref
29219 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
29224 \begin_inset space \thinspace{}
29228 \begin_inset Marginal
29231 \begin_layout Plain Layout
29233 \begin_inset space \thinspace{}
29245 \begin_layout Plain Layout
29255 \begin_layout Standard
29256 \begin_inset VSpace medskip
29263 を使うと、傍注の揃えを変更することもできます。たとえば、
29266 \begin_layout Standard
29273 raggedleftmarginnote}{
29276 \begin_inset Newline newline
29283 raggedrightmarginnote}{
29288 \begin_layout Standard
29289 というコマンドを使うと、中央揃えになります。
29293 raggedleftmarginnote
29295 とは、左側に表示されている傍注のことを指します
29299 \begin_layout Plain Layout
29305 raggedleftmarginnote}{
29310 \begin_layout Plain Layout
29316 raggedrightmarginnote}{
29324 \begin_inset Marginal
29327 \begin_layout Plain Layout
29328 この傍注の文章は中央揃えになっています。
29336 \begin_layout Standard
29343 raggedleftmarginnote}{
29346 \begin_inset Newline newline
29353 raggedrightmarginnote}{
29361 \begin_layout Plain Layout
29367 raggedleftmarginnote}{
29372 \begin_layout Plain Layout
29378 raggedrightmarginnote}{
29388 \begin_layout Standard
29392 \begin_layout Standard
29393 \begin_inset VSpace medskip
29401 \begin_inset CommandInset citation
29410 \begin_layout Standard
29411 \begin_inset VSpace bigskip
29414 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
29422 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
29425 \begin_layout Standard
29435 \begin_inset Newline newline
29445 \begin_inset Newline newline
29449 \begin_inset Phantom HPhantom
29452 \begin_layout Plain Layout
29455 \begin_inset space ~
29472 \begin_inset Newline newline
29476 \begin_inset Phantom HPhantom
29479 \begin_layout Plain Layout
29482 \begin_inset space ~
29499 \begin_layout Standard
29503 \begin_layout Plain Layout
29514 \begin_layout Plain Layout
29525 \begin_layout Plain Layout
29536 \begin_layout Plain Layout
29550 \begin_inset Marginal
29553 \begin_layout Plain Layout
29554 これは、定義したヘッダをつけた傍注です。
29563 \begin_layout Plain Layout
29574 \begin_layout Plain Layout
29588 \begin_inset Note Note
29591 \begin_layout Plain Layout
29592 傍注書式は、この例の分だけ変更してあります。
29600 \begin_layout Standard
29604 \begin_layout Plain Layout
29614 \begin_inset Note Note
29617 \begin_layout Plain Layout
29622 が導入されていないときのみ表示されます。
29630 \begin_layout Standard
29631 本節の以下の部分を出力に表示するには、LaTeXパッケージ
29638 \begin_layout Standard
29642 \begin_layout Plain Layout
29654 \begin_layout Chapter
29658 \begin_layout Section
29660 \begin_inset Index idx
29663 \begin_layout Plain Layout
29672 \begin_layout Standard
29673 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
29674 \begin_inset CommandInset ref
29676 reference "sec:ミニページ"
29681 \begin_inset CommandInset ref
29687 節参照)、単語がハイフネートされるのを予防したり(第
29688 \begin_inset CommandInset ref
29690 reference "sec:ハイフネーションの回避"
29695 \begin_inset CommandInset ref
29697 reference "sub:垂直揃え"
29701 節参照)、あるいは文章の背景色を設定したり(第
29702 \begin_inset CommandInset ref
29704 reference "sec:色付きボックス"
29711 \begin_layout Standard
29714 挿入\SpecialChar \menuseparator
29722 arg "box-insert Frameless"
29727 を使って挿入することができます。すると、
29728 \begin_inset Graphics
29729 filename clipart/BoxInsetDefaultQt4.png
29731 scaleBeforeRotation
29739 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
29743 メニューを選択すると現れるボックスダイアログでは、
29759 型は、新規ボックスの既定値となっており、第
29760 \begin_inset CommandInset ref
29762 reference "sec:ミニページ"
29771 \begin_inset CommandInset ref
29773 reference "sec:Parboxes"
29782 \begin_inset CommandInset ref
29784 reference "sec:ハイフネーションの回避"
29791 \begin_layout Standard
29792 ボックスは付番されないので、フロートや脚注のように参照することはできません。
29795 \begin_layout Standard
29796 \begin_inset Note Greyedout
29799 \begin_layout Plain Layout
29808 環境の単独要素とすべきではありません。
29816 \begin_layout Standard
29817 \begin_inset Note Greyedout
29820 \begin_layout Plain Layout
29821 【註】理由は不明ですが、枠付きボックスを使用している場合には、
29834 \begin_inset CommandInset ref
29836 reference "sec:ハイフネーションの回避"
29848 \begin_layout Section
29850 \begin_inset CommandInset label
29852 name "sec:ボックスダイアログ"
29857 \begin_inset Index idx
29860 \begin_layout Plain Layout
29861 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
29869 \begin_layout Subsection
29871 \begin_inset Index idx
29874 \begin_layout Plain Layout
29875 ぼっくす@ボックス ! すんぽう@寸法
29883 \begin_layout Standard
29892 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
29893 \begin_inset CommandInset ref
29903 フィールドには、加えて以下の寸法を使用することができます。
29906 \begin_layout Description
29907 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
29908 \begin_inset Newline newline
29912 \begin_inset Newline newline
29916 \begin_inset Newline newline
29920 \begin_inset Box Boxed
29930 height_special "depth"
29933 \begin_layout Plain Layout
29941 \begin_inset Newline newline
29945 \begin_inset Newline newline
29951 \begin_layout Description
29952 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
29953 \begin_inset Box Boxed
29963 height_special "height"
29966 \begin_layout Plain Layout
29976 \begin_layout Description
29978 \begin_inset Box Boxed
29988 height_special "totalheight"
29991 \begin_layout Plain Layout
30001 \begin_layout Description
30002 幅 これはボックスの幅を高さに設定します。
30003 \begin_inset Box Boxed
30013 height_special "width"
30016 \begin_layout Plain Layout
30026 \begin_layout Subsection
30028 \begin_inset Index idx
30031 \begin_layout Plain Layout
30032 ぼっくす@ボックス ! もじそろえ@文字揃え
30040 \begin_layout Standard
30045 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
30048 \begin_layout Description
30050 \begin_inset Box Boxed
30060 height_special "totalheight"
30063 \begin_layout Plain Layout
30073 \begin_layout Description
30075 \begin_inset Box Boxed
30085 height_special "totalheight"
30088 \begin_layout Plain Layout
30098 \begin_layout Description
30100 \begin_inset Box Boxed
30110 height_special "totalheight"
30113 \begin_layout Plain Layout
30123 \begin_layout Standard
30124 \begin_inset Note Greyedout
30127 \begin_layout Plain Layout
30132 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
30140 \begin_layout Standard
30141 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
30144 \begin_layout Standard
30145 \begin_inset VSpace bigskip
30152 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
30155 \begin_layout Description
30157 \begin_inset Box Boxed
30167 height_special "totalheight"
30170 \begin_layout Plain Layout
30180 \begin_layout Description
30182 \begin_inset Box Boxed
30192 height_special "totalheight"
30195 \begin_layout Plain Layout
30205 \begin_layout Description
30207 \begin_inset Box Boxed
30217 height_special "totalheight"
30220 \begin_layout Plain Layout
30230 \begin_layout Description
30231 広げる これは例示のための本文行です。
30232 \begin_inset Box Boxed
30242 height_special "totalheight"
30245 \begin_layout Plain Layout
30250 \begin_layout Plain Layout
30255 \begin_layout Plain Layout
30265 \begin_layout Standard
30266 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
30269 \begin_layout Standard
30270 \begin_inset VSpace bigskip
30277 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
30280 \begin_layout Standard
30282 \begin_inset Box Boxed
30292 height_special "totalheight"
30295 \begin_layout Plain Layout
30300 \begin_layout Plain Layout
30305 \begin_layout Plain Layout
30315 \begin_layout Standard
30320 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
30323 \begin_layout Standard
30325 \begin_inset Box Boxed
30335 height_special "totalheight"
30338 \begin_layout Plain Layout
30339 このボックスの文章は水平方向に広げてあります。
30347 \begin_layout Subsection
30349 \begin_inset CommandInset label
30356 \begin_inset Index idx
30359 \begin_layout Plain Layout
30360 ぼっくす@ボックス ! そうしょく@装飾
30368 \begin_layout Standard
30373 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
30376 \begin_layout Description
30380 \begin_layout Description
30381 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
30388 \begin_inset Box Boxed
30398 height_special "totalheight"
30401 \begin_layout Plain Layout
30411 \begin_layout Description
30412 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
30413 \begin_inset space \thinspace{}
30417 \begin_inset Box ovalbox
30427 height_special "totalheight"
30430 \begin_layout Plain Layout
30440 \begin_layout Description
30441 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
30442 \begin_inset space \thinspace{}
30446 \begin_inset Box Ovalbox
30456 height_special "totalheight"
30459 \begin_layout Plain Layout
30469 \begin_layout Description
30470 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
30477 \begin_inset space \thinspace{}
30481 \begin_inset Box Shadowbox
30491 height_special "totalheight"
30494 \begin_layout Plain Layout
30504 \begin_layout Description
30505 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
30509 \begin_layout Plain Layout
30511 \begin_inset CommandInset ref
30513 reference "sec:色付きボックス"
30522 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
30523 \begin_inset Box Shaded
30533 height_special "totalheight"
30536 \begin_layout Plain Layout
30545 \begin_layout Description
30546 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
30547 \begin_inset space \thinspace{}
30557 \begin_inset space \thinspace{}
30567 \begin_inset space \thinspace{}
30577 \begin_inset space \thinspace{}
30581 \begin_inset space \thinspace{}
30585 \begin_inset space \thinspace{}
30589 \begin_inset Box Doublebox
30599 height_special "totalheight"
30602 \begin_layout Plain Layout
30612 \begin_layout Standard
30613 \begin_inset VSpace bigskip
30616 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
30621 \begin_inset Index idx
30624 \begin_layout Plain Layout
30625 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
30633 \begin_layout Standard
30634 \begin_inset VSpace bigskip
30641 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
30661 \begin_inset Box Framed
30671 height_special "totalheight"
30674 \begin_layout Plain Layout
30683 \begin_layout Section
30685 \begin_inset Index idx
30688 \begin_layout Plain Layout
30689 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
30697 \begin_layout Standard
30705 \begin_inset space \thinspace{}
30708 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
30709 \begin_inset space \thinspace{}
30715 \begin_layout Standard
30725 \begin_layout Standard
30729 \begin_layout Plain Layout
30741 \begin_inset Box Boxed
30751 height_special "totalheight"
30754 \begin_layout Plain Layout
30763 \begin_inset space \thinspace{}
30767 \begin_inset space \thinspace{}
30771 \begin_inset space \thinspace{}
30783 \begin_layout Plain Layout
30797 \begin_layout Standard
30798 \begin_inset VSpace bigskip
30801 枠とボックスの内容との空白は、すべての枠様式について3
30802 \begin_inset space \thinspace{}
30805 ptが既定値になっています。これは、長さ
30811 を別の値に設定することによって変更することができます。たとえば
30814 \begin_layout Standard
30824 \begin_layout Standard
30826 \begin_inset space \thinspace{}
30829 ptにし、以下のボックスのようになります。
30832 \begin_layout Standard
30836 \begin_layout Plain Layout
30848 \begin_inset Box Boxed
30858 height_special "totalheight"
30861 \begin_layout Plain Layout
30870 \begin_inset space \thinspace{}
30874 \begin_inset space \thinspace{}
30878 \begin_inset space \thinspace{}
30890 \begin_layout Plain Layout
30904 \begin_layout Standard
30905 \begin_inset VSpace bigskip
30908 楕円形ボックスの丸い角の直径は、コマンド
30917 \begin_layout Standard
30925 \begin_layout Standard
30927 \begin_inset space \thinspace{}
30933 \begin_layout Standard
30941 \begin_layout Standard
30945 \begin_inset space \thinspace{}
30951 \begin_inset Formula $\times$
30957 \begin_inset space \thinspace{}
30971 \begin_layout Standard
30975 \begin_layout Plain Layout
30985 \begin_inset Box Ovalbox
30995 height_special "totalheight"
30998 \begin_layout Plain Layout
31007 \begin_inset space \thinspace{}
31011 \begin_inset space \thinspace{}
31015 \begin_inset space \thinspace{}
31027 \begin_layout Plain Layout
31039 \begin_layout Standard
31040 \begin_inset VSpace bigskip
31049 を変更することで調整できます。以下のボックスでは
31052 \begin_layout Standard
31062 \begin_layout Standard
31064 \begin_inset space \thinspace{}
31070 \begin_layout Standard
31074 \begin_layout Plain Layout
31086 \begin_inset Box Shadowbox
31096 height_special "totalheight"
31099 \begin_layout Plain Layout
31108 \begin_inset space \thinspace{}
31112 \begin_inset space \thinspace{}
31116 \begin_inset space \thinspace{}
31128 \begin_layout Plain Layout
31142 \begin_layout Standard
31143 \begin_inset VSpace bigskip
31149 \begin_layout Standard
31157 \begin_inset space \thinspace{}
31160 ptです。ボックスの中身と枠の間の空白の既定値は9
31161 \begin_inset space \thinspace{}
31170 の値を変えることで変更することができます。たとえば、下記の
31177 \begin_layout Standard
31185 \begin_inset Newline newline
31195 \begin_layout Standard
31196 というTeXコードコマンドで設定してあります。
31200 \begin_layout Plain Layout
31209 \begin_layout Plain Layout
31221 \begin_inset Box Framed
31231 height_special "totalheight"
31234 \begin_layout Plain Layout
31248 \begin_layout Plain Layout
31257 \begin_layout Plain Layout
31271 \begin_layout Standard
31272 \begin_inset VSpace bigskip
31278 \begin_layout Standard
31283 ボックスでは、ボックスの内容と枠の余白の既定値は3
31284 \begin_inset space \thinspace{}
31293 の値を変更することで変えられます。既定の背景色である赤色は、
31297 definecolor{shadebox}
31299 コマンドで局所的に変更することもできますし、
31301 ツール\SpecialChar \menuseparator
31302 設定\SpecialChar \menuseparator
31303 色\SpecialChar \menuseparator
31306 メニューからグローバルに変更することもできます。
31313 \begin_inset CommandInset ref
31315 reference "sec:色付きの表"
31323 \begin_layout Plain Layout
31334 をプリアンブルに読み込む必要があります。第
31335 \begin_inset CommandInset ref
31337 reference "sec:色付きボックス"
31349 \begin_layout Standard
31350 たとえば、下記の影付き背景ボックスの外見は
31353 \begin_layout Standard
31363 \begin_inset Newline newline
31370 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31373 \begin_layout Standard
31374 というTeXコードコマンドを使って設定してあります。
31377 \begin_layout Standard
31381 \begin_layout Plain Layout
31390 \begin_layout Plain Layout
31394 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31400 \begin_inset Box Shaded
31410 height_special "totalheight"
31413 \begin_layout Plain Layout
31429 \begin_layout Plain Layout
31438 \begin_layout Plain Layout
31442 definecolor{shadecolor}{rgb}{1,0,0}
31450 \begin_layout Standard
31451 \begin_inset VSpace bigskip
31454 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
31457 \begin_layout Section
31459 \begin_inset CommandInset label
31466 \begin_inset Index idx
31469 \begin_layout Plain Layout
31470 ぼっくす@ボックス ! みにぺーじ@ミニページ
31478 \begin_layout Standard
31479 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
31482 \begin_layout Standard
31483 ミニページは、複数の言語を含む文書を執筆する際に便利です。
31486 \begin_layout Standard
31487 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
31491 \SpecialChar \menuseparator
31496 \SpecialChar \menuseparator
31501 メニューで挿入した水平フィルで隔てられています。
31502 \begin_inset Newpage newpage
31508 \begin_layout Standard
31509 \begin_inset Box Frameless
31519 height_special "totalheight"
31522 \begin_layout Plain Layout
31523 Dies ist ein deutscher Text.
31524 Dies ist ein deutscher Text.
31525 Dies ist ein deutscher Text.
31526 Dies ist ein deutscher Text.
31527 Dies ist ein deutscher Text.
31528 Dies ist ein deutscher Text.
31529 Dies ist ein deutscher Text.
31530 Dies ist ein deutscher Text.
31531 Dies ist ein deutscher Text.
31532 Dies ist ein deutscher Text.
31533 Dies ist ein deutscher Text.
31534 Dies ist ein deutscher Text.
31535 Dies ist ein deutscher Text
31539 \begin_layout Plain Layout
31540 Dies ist eine deutsche Fußnote.
31546 Dies ist ein deutscher Text.
31547 Dies ist ein deutscher Text.
31553 \begin_inset space \hfill{}
31557 \begin_inset Box Frameless
31567 height_special "totalheight"
31570 \begin_layout Plain Layout
31571 This is an English Text.
31572 This is an English Text.
31573 This is an English Text.
31574 This is an English Text.
31575 This is an English Text.
31576 This is an English Text.
31577 This is an English Text.
31578 This is an English Text.
31579 This is an English Text.
31580 This is an English Text.
31581 This is an English Text.
31582 This is an English Text.
31583 This is an English Text.
31584 This is an English Text.
31585 This is an English Text.
31586 This is an English Text.
31590 \begin_layout Plain Layout
31591 This is an English footnote.
31596 This is an English Text.
31604 \begin_layout Standard
31605 \begin_inset VSpace bigskip
31608 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
31612 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
31615 \begin_layout Standard
31616 ミニページは、文章部に背景色を与えるのに使用することもできます。第
31617 \begin_inset CommandInset ref
31619 reference "sub:段落の着色"
31626 \begin_layout Standard
31627 \begin_inset Note Greyedout
31630 \begin_layout Plain Layout
31635 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
31643 \begin_layout Section
31645 \begin_inset CommandInset label
31647 name "sec:Parboxes"
31652 \begin_inset Index idx
31655 \begin_layout Plain Layout
31656 ぼっくす@ボックス ! Parboxes
31664 \begin_layout Standard
31665 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
31668 \begin_layout Standard
31670 \begin_inset Box Frameless
31680 height_special "totalheight"
31683 \begin_layout Plain Layout
31684 これはparbox内の文章です。これはparbox内の文章です。
31687 \begin_layout Plain Layout
31692 \begin_layout Plain Layout
31693 これはparbox内の脚注であり、したがって表示はされません。
31706 \begin_layout Section
31708 \begin_inset Index idx
31711 \begin_layout Plain Layout
31712 ぼっくす@ボックス ! もじよう@文字用
31720 \begin_layout Subsection
31722 \begin_inset CommandInset label
31724 name "sec:ハイフネーションの回避"
31729 \begin_inset Index idx
31732 \begin_layout Plain Layout
31733 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
31741 \begin_layout Standard
31742 単語や文章がハイフネートされるのを防ぐには、
31747 \begin_inset Newline newline
31753 \begin_layout Standard
31754 This line is an example to show how you can prevent the hyphenation of
31755 \begin_inset Quotes eld
31759 \begin_inset Quotes erd
31765 \begin_layout Standard
31766 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
31775 and use no explicit width
31780 \begin_layout Standard
31784 \begin_layout Standard
31785 This line is an example to show how you can prevent the hyphenation of
31786 \begin_inset Box Frameless
31796 height_special "totalheight"
31799 \begin_layout Plain Layout
31800 \begin_inset Quotes eld
31804 \begin_inset Quotes erd
31815 \begin_layout Standard
31816 別の方法としては、以下のように、単語の前に直接TeXコードで「
31825 \begin_layout Standard
31826 This line is an example to show how you can prevent the hyphenation of
31827 \begin_inset Quotes eld
31834 \begin_layout Plain Layout
31844 \begin_inset Quotes erd
31850 \begin_layout Standard
31851 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
31855 \SpecialChar \menuseparator
31860 \SpecialChar \menuseparator
31866 \begin_inset Flex Ruby
31869 \begin_layout Plain Layout
31871 \begin_inset Argument post:1
31874 \begin_layout Plain Layout
31888 arg "newline-insert newline"
31891 )から改行を単語の前に入れてください。
31894 \begin_layout Standard
31895 This line is an example to show how you can prevent the hyphenation of
31896 \begin_inset Newline newline
31900 \begin_inset Box Frameless
31910 height_special "totalheight"
31913 \begin_layout Plain Layout
31914 \begin_inset Quotes eld
31918 \begin_inset Quotes erd
31929 \begin_layout Subsection
31931 \begin_inset CommandInset label
31938 \begin_inset Index idx
31941 \begin_layout Plain Layout
31942 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
31948 \begin_inset Index idx
31951 \begin_layout Plain Layout
31952 ぼっくす@ボックス ! Raiseboxes
31960 \begin_layout Standard
31967 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
31976 \begin_layout Standard
31981 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
31984 \begin_layout Standard
31985 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
31988 \begin_layout Standard
31989 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
31992 \begin_layout Standard
32002 \begin_layout Standard
32003 というコマンドを挿入してください。単語の後には、閉じ括弧「
32008 \begin_inset Newline newline
32014 \begin_layout Standard
32015 This is a text line with the word
32019 \begin_layout Plain Layout
32031 \begin_inset Quotes eld
32035 \begin_inset Quotes erd
32042 \begin_layout Plain Layout
32052 \begin_layout Standard
32053 \begin_inset VSpace bigskip
32056 行中の文字を上げ下げすると、以下のように行間が広がります。
32059 \begin_layout Standard
32060 This is a text line with the word
32064 \begin_layout Plain Layout
32076 \begin_inset Quotes eld
32080 \begin_inset Quotes erd
32087 \begin_layout Plain Layout
32095 \begin_inset Newline newline
32098 This is a text line with the word
32102 \begin_layout Plain Layout
32112 \begin_inset Quotes eld
32116 \begin_inset Quotes erd
32123 \begin_layout Plain Layout
32133 \begin_layout Standard
32134 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
32137 \begin_layout Standard
32147 \begin_layout Standard
32151 \begin_layout Standard
32152 This is a text line with the word
32156 \begin_layout Plain Layout
32168 \begin_inset Quotes eld
32172 \begin_inset Quotes erd
32179 \begin_layout Plain Layout
32187 \begin_inset Newline newline
32190 This is a text line with the word
32194 \begin_layout Plain Layout
32198 raisebox{0.5cm}[0pt]{
32204 \begin_inset Quotes eld
32208 \begin_inset Quotes erd
32215 \begin_layout Plain Layout
32225 \begin_layout Section
32227 \begin_inset CommandInset label
32234 \begin_inset Index idx
32237 \begin_layout Plain Layout
32238 ぼっくす@ボックス ! いろつき@色付き
32246 \begin_layout Subsection
32248 \begin_inset Index idx
32251 \begin_layout Plain Layout
32260 \begin_layout Standard
32261 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
32266 \begin_inset Index idx
32269 \begin_layout Plain Layout
32270 LaTeXぱっけーじ@LaTeXパッケージ ! color
32275 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
32278 \begin_layout Standard
32283 @ifundefined{textcolor}
32284 \begin_inset Newline newline
32288 \begin_inset Phantom HPhantom
32291 \begin_layout Plain Layout
32294 \begin_inset space ~
32304 usepackage{color}}{}
32307 \begin_layout Standard
32312 パッケージは、文章を着色するとLyXが自動的に読み込みます
32316 \begin_layout Plain Layout
32317 これが二度読み込まれることを回避するには、
32331 \begin_layout Standard
32332 \begin_inset VSpace medskip
32341 コマンドを使って作ります。これは、以下のような書式で使われます。
32344 \begin_layout Standard
32349 colorbox{color}{ボックスの内容}
32352 \begin_layout Standard
32353 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
32356 \begin_layout Standard
32358 \begin_inset Newline newline
32394 \begin_inset Newline newline
32398 \begin_inset CommandInset ref
32400 reference "sec:色付きの表"
32404 節に述べられているようにすれば、自前の色を定義することもできます。
32407 \begin_layout Standard
32408 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
32411 \begin_layout Standard
32419 \begin_layout Standard
32420 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
32425 \begin_inset Newline newline
32431 \begin_layout Standard
32436 \begin_layout Plain Layout
32449 \begin_layout Plain Layout
32459 \begin_layout Standard
32460 \begin_inset VSpace bigskip
32463 ボックスの枠を別の色にしたい場合には、以下の書式で
32472 \begin_layout Standard
32477 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
32480 \begin_layout Standard
32493 の拡張です。枠の太さと枠とボックスの中身との余白は、第
32494 \begin_inset CommandInset ref
32515 \begin_layout Standard
32519 \begin_layout Standard
32524 fcolorbox{cyan}{magenta}{
32527 \begin_layout Standard
32531 \begin_layout Standard
32533 \begin_inset space \thinspace{}
32537 \begin_inset Newline newline
32544 \begin_layout Plain Layout
32559 \begin_layout Plain Layout
32563 fcolorbox{cyan}{magenta}{
32568 これは着色した色付きボックス中の文章です。
32572 \begin_layout Plain Layout
32582 \begin_layout Standard
32583 \begin_inset VSpace bigskip
32586 もちろん、色付きボックスの中に色付き文字を入れることもできます
32587 \begin_inset Newline newline
32594 \begin_layout Plain Layout
32598 fcolorbox{cyan}{magenta}{
32605 これは着色した色付きボックス中の色付き文章です。
32611 \begin_layout Plain Layout
32622 \begin_layout Plain Layout
32636 \begin_layout Standard
32639 \begin_inset VSpace medskip
32645 \begin_layout Standard
32646 \begin_inset Note Greyedout
32649 \begin_layout Plain Layout
32654 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
32662 \begin_layout Subsection
32664 \begin_inset CommandInset label
32671 \begin_inset Index idx
32674 \begin_layout Plain Layout
32683 \begin_layout Standard
32684 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
32693 \begin_layout Standard
32701 \begin_layout Standard
32702 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
32709 \begin_layout Standard
32713 \begin_layout Plain Layout
32717 colorbox{lightgrey}{
32723 \begin_inset Box Frameless
32733 height_special "totalheight"
32736 \begin_layout Plain Layout
32737 これは背景色を付けた文章です。これは背景色を付けた文章です。
32740 \begin_layout Plain Layout
32741 \begin_inset VSpace defskip
32748 \begin_layout Plain Layout
32754 を付けることもできますし、図表を挿入することもできます。
32757 \begin_layout Plain Layout
32759 \begin_inset Tabular
32760 <lyxtabular version="3" rows="3" columns="3">
32761 <features rotate="0" tabularvalignment="middle">
32762 <column alignment="center" valignment="top">
32763 <column alignment="center" valignment="top">
32764 <column alignment="center" valignment="top">
32766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32769 \begin_layout Plain Layout
32775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32778 \begin_layout Plain Layout
32784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32787 \begin_layout Plain Layout
32795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32798 \begin_layout Plain Layout
32804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32807 \begin_layout Plain Layout
32809 \begin_inset Quotes erd
32817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32820 \begin_layout Plain Layout
32828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32831 \begin_layout Plain Layout
32837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32840 \begin_layout Plain Layout
32846 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32849 \begin_layout Plain Layout
32869 \begin_layout Plain Layout
32879 \begin_layout Section
32883 \begin_layout Standard
32884 本節で述べられているコマンドを使用するには、文書プリアンブルで
32887 \begin_layout Standard
32892 @ifundefined{rotatebox}
32893 \begin_inset Newline newline
32897 \begin_inset Phantom HPhantom
32900 \begin_layout Plain Layout
32903 \begin_inset space ~
32913 usepackage{graphicx}}{}
32916 \begin_layout Standard
32922 \begin_inset Index idx
32925 \begin_layout Plain Layout
32926 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
32931 LaTeXパッケージを読み込む必要があります。
32934 \begin_layout Standard
32935 \begin_inset Note Greyedout
32938 \begin_layout Plain Layout
32943 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
32951 \begin_layout Standard
32952 \begin_inset Note Greyedout
32955 \begin_layout Plain Layout
32960 フロートは回転伸縮したボックスの中に入れることはできません。
32968 \begin_layout Subsection
32970 \begin_inset Index idx
32973 \begin_layout Plain Layout
32974 ぼっくす@ボックス ! かいてんした@回転した
32980 \begin_inset Index idx
32983 \begin_layout Plain Layout
32984 かいてん@回転 ! そざいの@素材の---
32990 \begin_inset Index idx
32993 \begin_layout Plain Layout
33000 \begin_inset Index idx
33003 \begin_layout Plain Layout
33004 ひょうのちょうせい@表の調整 ! かいてん@回転
33012 \begin_layout Standard
33013 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
33019 コマンドを使用すれば作成することができます。
33022 \begin_layout Standard
33027 rotatebox[回転の原点]{回転角}{ボックスの内容}
33030 \begin_layout Standard
33035 の形で指定します。位置として指定可能なのは、
33055 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
33059 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
33063 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
33066 \begin_layout Standard
33067 以下の例では、「回転した」文章の前にTeXコードで
33071 rotatebox[origin=c]{60}{
33073 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
33080 \begin_layout Standard
33085 \begin_layout Plain Layout
33089 rotatebox[origin=c]{60}{
33098 \begin_layout Plain Layout
33108 \begin_layout Standard
33109 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
33112 \begin_layout Standard
33117 \begin_layout Plain Layout
33121 rotatebox[origin=r]{-60}{
33127 \begin_inset Box Doublebox
33137 height_special "totalheight"
33140 \begin_layout Plain Layout
33150 \begin_layout Plain Layout
33161 \begin_layout Plain Layout
33165 rotatebox[origin=lb]{60}{
33171 \begin_inset Formula $\int A\,\mathrm{d}x=B$
33178 \begin_layout Plain Layout
33188 \begin_layout Standard
33189 あるいは、以下のように図や表を入れることもできます。
33192 \begin_layout Standard
33197 \begin_layout Plain Layout
33201 rotatebox[origin=lb]{90}{
33207 \begin_inset Graphics
33208 filename ../clipart/platypus.eps
33218 \begin_layout Plain Layout
33229 \begin_layout Plain Layout
33233 rotatebox[origin=l]{-90}{
33239 \begin_inset Tabular
33240 <lyxtabular version="3" rows="2" columns="2">
33241 <features rotate="0" tabularvalignment="middle">
33242 <column alignment="center" valignment="top">
33243 <column alignment="center" valignment="top">
33245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33248 \begin_layout Plain Layout
33254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33257 \begin_layout Plain Layout
33265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33268 \begin_layout Plain Layout
33274 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33277 \begin_layout Plain Layout
33292 \begin_layout Plain Layout
33302 \begin_layout Subsection
33304 \begin_inset Index idx
33307 \begin_layout Plain Layout
33308 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
33314 \begin_inset Index idx
33317 \begin_layout Plain Layout
33318 しんしゅく@伸縮 ! そざいの@素材の---
33324 \begin_inset Index idx
33327 \begin_layout Plain Layout
33328 ず@図 ! のしんしゅく@---の伸縮
33334 \begin_inset Index idx
33337 \begin_layout Plain Layout
33338 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
33346 \begin_layout Standard
33362 \begin_layout Standard
33372 \begin_layout Standard
33377 scalebox{水平方向}[垂直方向]{ボックスの内容}
33380 \begin_layout Standard
33381 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
33384 \begin_layout Standard
33391 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
33395 \begin_layout Plain Layout
33408 \begin_layout Plain Layout
33418 \begin_layout Standard
33423 scalebox{2}[1]{こんにちは}
33429 \begin_layout Plain Layout
33442 \begin_layout Plain Layout
33452 \begin_layout Standard
33453 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
33457 scalebox{-1}[1]{こんにちは}
33459 というコマンドは、右のように反転文字を生成するのに使用できます:
33463 \begin_layout Plain Layout
33476 \begin_layout Plain Layout
33486 \begin_layout Standard
33491 scalebox{1}[-1]{こんにちは}
33497 \begin_layout Plain Layout
33510 \begin_layout Plain Layout
33520 \begin_layout Standard
33525 scalebox{-1}[1]{ボックスの内容}
33528 \begin_inset Newline newline
33535 reflectbox{ボックスの内容}
33538 \begin_inset Newline newline
33544 \begin_layout Standard
33545 \begin_inset VSpace bigskip
33548 指定した幅や丈にボックスを伸縮させるには、
33557 \begin_layout Standard
33562 resizebox{幅}{丈}{ボックスの内容}
33565 \begin_layout Standard
33566 です。上記二つのコマンド引数のうち一つが感嘆符「
33570 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
33573 \begin_layout Standard
33578 resizebox{2cm}{1cm}{こんにちは}
33584 \begin_layout Plain Layout
33588 resizebox{2cm}{1cm}{
33597 \begin_layout Plain Layout
33605 \begin_inset Newline newline
33612 resizebox{2cm}{!}{こんにちは}
33618 \begin_layout Plain Layout
33631 \begin_layout Plain Layout
33641 \begin_layout Standard
33642 \begin_inset VSpace bigskip
33646 \begin_inset Note Greyedout
33649 \begin_layout Plain Layout
33662 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
33670 \begin_layout Standard
33671 \begin_inset VSpace bigskip
33677 \begin_layout Standard
33678 ボックスは好きな順序で組み合わせることができます。たとえば、
33679 \begin_inset Newline newline
33686 rotatebox[origin=c]{-45}{
33690 reflectbox{こんにちは}}}
33691 \begin_inset Newline newline
33699 \begin_layout Standard
33704 \begin_layout Plain Layout
33708 rotatebox[origin=c]{-45}{
33721 \begin_layout Plain Layout
33731 \begin_layout Standard
33733 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
33736 \begin_layout Standard
33741 \begin_layout Plain Layout
33745 rotatebox[origin=c]{-30}{
33755 \begin_inset Graphics
33756 filename ../clipart/platypus.eps
33766 \begin_layout Plain Layout
33777 \begin_layout Plain Layout
33781 rotatebox[origin=c]{-45}{
33791 \begin_inset Tabular
33792 <lyxtabular version="3" rows="2" columns="2">
33793 <features rotate="0" tabularvalignment="middle">
33794 <column alignment="center" valignment="top">
33795 <column alignment="center" valignment="top">
33797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33800 \begin_layout Plain Layout
33806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33809 \begin_layout Plain Layout
33817 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33820 \begin_layout Plain Layout
33826 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33829 \begin_layout Plain Layout
33844 \begin_layout Plain Layout
33855 \begin_layout Plain Layout
33859 rotatebox[origin=c]{-45}{
33869 \begin_inset Formula $\int A\,\mathrm{d}x=B$
33876 \begin_layout Plain Layout
33886 \begin_layout Standard
33895 \begin_layout Plain Layout
33896 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
33901 には、別行建て数式も伸縮させることができます。
33904 \begin_layout Chapter
33906 \begin_inset Index idx
33909 \begin_layout Plain Layout
33918 \begin_layout Section
33920 \begin_inset CommandInset label
33927 \begin_inset Index idx
33930 \begin_layout Plain Layout
33931 ふろーと@フロート ! おりかえしふろーと@折返しフロート
33937 \begin_inset Index idx
33940 \begin_layout Plain Layout
33941 ほんぶんまわりこみ@本文回り込み ! おりかえしふろーと@折返しフロート
33949 \begin_layout Standard
33950 \begin_inset Wrap figure
33957 \begin_layout Plain Layout
33958 \begin_inset Graphics
33959 filename ../clipart/mobius.eps
33961 scaleBeforeRotation
33962 rotateOrigin center
33969 \begin_layout Plain Layout
33970 \begin_inset Caption Standard
33972 \begin_layout Plain Layout
33973 \begin_inset CommandInset label
33975 name "fig:折返し図フロート"
33989 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
33994 \begin_inset Index idx
33997 \begin_layout Plain Layout
33998 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
34005 挿入\SpecialChar \menuseparator
34006 フロート\SpecialChar \menuseparator
34017 \begin_layout Plain Layout
34018 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
34023 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
34039 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
34040 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
34041 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
34042 \begin_inset CommandInset ref
34044 reference "fig:折返し図フロート"
34049 \begin_inset space \thinspace{}
34053 \begin_inset space \thinspace{}
34056 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります。
34059 \begin_layout Standard
34060 \begin_inset Note Greyedout
34063 \begin_layout Plain Layout
34068 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
34077 \begin_layout Standard
34081 \begin_layout Itemize
34082 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
34083 うになってから、正確な位置に挿入しなくてはなりません。
34086 \begin_layout Itemize
34087 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
34090 \begin_layout Itemize
34091 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
34094 \begin_layout Itemize
34095 折返しフロートは、節見出しや表中に入れることは認められていません。
34098 \begin_layout Itemize
34100 \begin_inset CommandInset ref
34102 reference "chap:フロート"
34109 \begin_layout Section
34111 \begin_inset Index idx
34114 \begin_layout Plain Layout
34115 ほんぶんまわりこみ@本文回り込み ! こていおぶじぇくと@固定オブジェクト
34123 \begin_layout Standard
34125 \begin_inset CommandInset ref
34127 reference "sec:折返しフロート"
34131 節の折返しフロートは、段落中で、以下のような配置がされます。
34134 \begin_layout Standard
34137 \begin_inset Tabular
34138 <lyxtabular version="3" rows="2" columns="2">
34139 <features rotate="0" tabularvalignment="middle">
34140 <column alignment="center" valignment="top">
34141 <column alignment="center" valignment="top">
34143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34146 \begin_layout Plain Layout
34147 \begin_inset Graphics
34148 filename ../../images/dialog-show-new-inset_graphics.png
34150 scaleBeforeRotation
34159 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34162 \begin_layout Plain Layout
34170 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34173 \begin_layout Plain Layout
34179 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34182 \begin_layout Plain Layout
34194 \begin_inset Tabular
34195 <lyxtabular version="3" rows="2" columns="2">
34196 <features rotate="0" tabularvalignment="middle">
34197 <column alignment="center" valignment="top">
34198 <column alignment="center" valignment="top">
34200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34203 \begin_layout Plain Layout
34209 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34212 \begin_layout Plain Layout
34213 \begin_inset Graphics
34214 filename ../../images/dialog-show-new-inset_graphics.png
34216 scaleBeforeRotation
34227 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34230 \begin_layout Plain Layout
34236 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34239 \begin_layout Plain Layout
34253 \begin_layout Standard
34255 \begin_inset VSpace defskip
34261 \begin_layout Standard
34264 \begin_inset Tabular
34265 <lyxtabular version="3" rows="2" columns="2">
34266 <features rotate="0" tabularvalignment="middle">
34267 <column alignment="center" valignment="top">
34268 <column alignment="center" valignment="top">
34270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34273 \begin_layout Plain Layout
34279 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34282 \begin_layout Plain Layout
34290 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34293 \begin_layout Plain Layout
34294 \begin_inset Graphics
34295 filename ../../images/dialog-show-new-inset_graphics.png
34297 scaleBeforeRotation
34306 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34309 \begin_layout Plain Layout
34321 \begin_inset Tabular
34322 <lyxtabular version="3" rows="2" columns="2">
34323 <features rotate="0" tabularvalignment="middle">
34324 <column alignment="center" valignment="top">
34325 <column alignment="center" valignment="top">
34327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34330 \begin_layout Plain Layout
34336 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34339 \begin_layout Plain Layout
34347 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34350 \begin_layout Plain Layout
34356 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34359 \begin_layout Plain Layout
34360 \begin_inset Graphics
34361 filename ../../images/dialog-show-new-inset_graphics.png
34363 scaleBeforeRotation
34378 \begin_inset Tabular
34379 <lyxtabular version="3" rows="2" columns="3">
34380 <features rotate="0" tabularvalignment="middle">
34381 <column alignment="center" valignment="top">
34382 <column alignment="center" valignment="top">
34383 <column alignment="center" valignment="top">
34385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34388 \begin_layout Plain Layout
34394 <cell alignment="center" valignment="top" topline="true" usebox="none">
34397 \begin_layout Plain Layout
34398 \begin_inset Graphics
34399 filename ../../images/dialog-show-new-inset_graphics.png
34401 scaleBeforeRotation
34410 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34413 \begin_layout Plain Layout
34421 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34424 \begin_layout Plain Layout
34430 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34433 \begin_layout Plain Layout
34439 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34442 \begin_layout Plain Layout
34454 \begin_inset Tabular
34455 <lyxtabular version="3" rows="2" columns="3">
34456 <features rotate="0" tabularvalignment="middle">
34457 <column alignment="center" valignment="top">
34458 <column alignment="center" valignment="top">
34459 <column alignment="center" valignment="top">
34461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34464 \begin_layout Plain Layout
34470 <cell alignment="center" valignment="top" topline="true" usebox="none">
34473 \begin_layout Plain Layout
34479 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34482 \begin_layout Plain Layout
34490 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34493 \begin_layout Plain Layout
34499 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34502 \begin_layout Plain Layout
34503 \begin_inset Graphics
34504 filename ../../images/dialog-show-new-inset_graphics.png
34506 scaleBeforeRotation
34515 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34518 \begin_layout Plain Layout
34532 \begin_layout Standard
34535 \begin_inset Tabular
34536 <lyxtabular version="3" rows="3" columns="2">
34537 <features rotate="0" tabularvalignment="middle">
34538 <column alignment="center" valignment="top">
34539 <column alignment="center" valignment="top">
34541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34544 \begin_layout Plain Layout
34550 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34553 \begin_layout Plain Layout
34561 <cell alignment="center" valignment="top" leftline="true" usebox="none">
34564 \begin_layout Plain Layout
34565 \begin_inset Graphics
34566 filename ../../images/dialog-show-new-inset_graphics.png
34568 scaleBeforeRotation
34577 <cell alignment="center" valignment="top" rightline="true" usebox="none">
34580 \begin_layout Plain Layout
34588 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34591 \begin_layout Plain Layout
34597 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34600 \begin_layout Plain Layout
34612 \begin_inset Tabular
34613 <lyxtabular version="3" rows="3" columns="3">
34614 <features rotate="0" tabularvalignment="middle">
34615 <column alignment="center" valignment="top">
34616 <column alignment="center" valignment="top">
34617 <column alignment="center" valignment="top">
34619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34622 \begin_layout Plain Layout
34628 <cell alignment="center" valignment="top" topline="true" usebox="none">
34631 \begin_layout Plain Layout
34637 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34640 \begin_layout Plain Layout
34648 <cell alignment="center" valignment="top" leftline="true" usebox="none">
34651 \begin_layout Plain Layout
34657 <cell alignment="center" valignment="top" usebox="none">
34660 \begin_layout Plain Layout
34661 \begin_inset Graphics
34662 filename ../../images/dialog-show-new-inset_graphics.png
34664 scaleBeforeRotation
34673 <cell alignment="center" valignment="top" rightline="true" usebox="none">
34676 \begin_layout Plain Layout
34684 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34687 \begin_layout Plain Layout
34693 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34696 \begin_layout Plain Layout
34702 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34705 \begin_layout Plain Layout
34717 \begin_inset Tabular
34718 <lyxtabular version="3" rows="3" columns="2">
34719 <features rotate="0" tabularvalignment="middle">
34720 <column alignment="center" valignment="top">
34721 <column alignment="center" valignment="top">
34723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34726 \begin_layout Plain Layout
34732 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34735 \begin_layout Plain Layout
34743 <cell alignment="center" valignment="top" leftline="true" usebox="none">
34746 \begin_layout Plain Layout
34752 <cell alignment="center" valignment="top" rightline="true" usebox="none">
34755 \begin_layout Plain Layout
34756 \begin_inset Graphics
34757 filename ../../images/dialog-show-new-inset_graphics.png
34759 scaleBeforeRotation
34770 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34773 \begin_layout Plain Layout
34779 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34782 \begin_layout Plain Layout
34796 \begin_layout Standard
34798 オブジェクトを挿入した場所に正確に配置したい時には、
34803 \begin_inset Index idx
34806 \begin_layout Plain Layout
34807 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
34812 LaTeXパッケージを使うことができます。下記はその用例です。
34815 \begin_layout Standard
34819 \begin_layout Plain Layout
34829 \begin_inset Note Note
34832 \begin_layout Plain Layout
34837 が導入されているときのみ表示されます。
34845 \begin_layout Standard
34849 \begin_layout Plain Layout
34853 begin{window}[2,c,{
34859 \begin_inset Graphics
34860 filename ../clipart/mobius.eps
34863 scaleBeforeRotation
34864 rotateOrigin center
34872 \begin_layout Plain Layout
34877 \begin_layout Plain Layout
34886 It was in the spring of the year 1894 that all London was interested, and
34887 the fashionable world dismayed, by the murder of the Honourable Ronald
34888 Adair under most unusual and inexplicable circumstances.
34889 The public has already learned those particulars of the crime which
34895 \begin_layout Plain Layout
34906 came out in the police investigation, but a good deal was suppressed upon
34907 that occasion, since the case for the prosecution was so overwhelmingly
34908 strong that it was not necessary to bring forward all the facts.
34909 Only now, at the end of nearly ten years, am I allowed to supply those
34910 missing links which make up the whole of that remarkable chain.
34916 \begin_layout Plain Layout
34928 \begin_layout Standard
34932 \begin_layout Plain Layout
34945 \begin_layout Plain Layout
34955 \begin_layout Standard
34956 固定回り込みオブジェクトは、オブジェクトの周りに本文を流しこむのに用いられ、段落中のオブジェクトの位置は、オブジェクトの上の行数を指定することで決定します。フロ
34957 ートとは違って、連番のキャプションをつけることはできません。
34960 \begin_layout Standard
34961 固定オブジェクトは、段落冒頭にTeXコードで
34964 \begin_layout Standard
34969 begin{window}[2,c,{
34972 \begin_layout Standard
34973 というコマンドを書くことによって挿入されます。角括弧中の最初のパラメータ(ここでは「2」)は、オブジェクト上に来る行数を指定し、二番目のパラメータ(ここでは「c
34974 」)はオブジェクトの位置を示します。位置としては、「l」「c」「r」が可能です(それぞれ左・中央・右)。このコマンドの後にオブジェクトを挿入します。この例では、
34976 \begin_inset space \thinspace{}
34979 %の画像が挿入されています。オブジェクトは、表やボックス、数式でも構いません。オブジェクトの後には、
34982 \begin_layout Standard
34986 \begin_inset Newline newline
34992 \begin_layout Standard
34993 というコマンドが挿入されています。2行目に「
34997 」が入っていることに注意してください。説明文は非必須です。オブジェクトに回り込む文章は、オブジェクトと同じ段落になくてはなりませんので、
35001 の直後から書き始めてください。段落末には、
35004 \begin_layout Standard
35012 \begin_layout Standard
35013 というコマンドを挿入してください。固定オブジェクトのある段落では、通常のように脚注を挿入することはできません。第
35014 \begin_inset CommandInset ref
35035 \begin_layout Standard
35039 \begin_layout Plain Layout
35049 \begin_inset Note Note
35052 \begin_layout Plain Layout
35057 が導入されていないときのみ表示されます。
35065 \begin_layout Standard
35066 本節の以下の部分を出力に表示するには、LaTeXパッケージ
35073 \begin_layout Standard
35077 \begin_layout Plain Layout
35089 \begin_layout Section
35091 \begin_inset Index idx
35094 \begin_layout Plain Layout
35101 \begin_inset Index idx
35104 \begin_layout Plain Layout
35105 ほんぶんまわりこみ@本文回り込み ! かしらもじ@頭文字
35113 \begin_layout Standard
35114 頭文字を用いるには、LaTeXパッケージ
35115 \begin_inset Index idx
35118 \begin_layout Plain Layout
35119 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
35130 文書\SpecialChar \menuseparator
35131 設定\SpecialChar \menuseparator
35138 様式を使用してください。この様式には、1つの必須引数と2つの非必須引数があります。引数は、
35150 には、頭文字の単語若しくは文字列の残りが入ります。引数
35154 には、頭文字を修正するパラメータが入ります。使うことができるパラメータについての詳細は、
35159 \begin_inset CommandInset citation
35165 をご覧ください。この様式の段落そのものに、頭文字に回り込む文章も入れます。通常、この様式では、最初の文字を頭文字とする単語全体が、
35167 スモールキャップ体(small caps
35172 \begin_layout Standard
35176 \begin_layout Standard
35180 \begin_layout Plain Layout
35190 \begin_inset Note Note
35193 \begin_layout Plain Layout
35198 が導入されているときのみ表示されます。
35206 \begin_layout Enumerate
35207 非必須引数なし。頭文字は、数式フォント
35208 \begin_inset Formula $\mathfrak{Fraktur}$
35215 \begin_layout Initial
35216 \begin_inset Argument 2
35219 \begin_layout Plain Layout
35220 \begin_inset Formula $\mathfrak{I}$
35229 \begin_inset Argument 3
35232 \begin_layout Plain Layout
35238 was in the spring of the year 1894 that all London was interested, and
35239 the fashionable world dismayed, by the murder of the Honourable Ronald
35240 Adair under most unusual and inexplicable circumstances.
35241 The public has already learned those particulars of the crime which came
35242 out in the police investigation, but a good deal was suppressed upon that
35243 occasion, since the case for the prosecution was so overwhelmingly strong
35244 that it was not necessary to bring forward all the facts.
35245 \begin_inset Newpage newpage
35252 \begin_layout Enumerate
35253 頭文字に回り込む行は1行のみ。頭文字は標準フォントで2文字。スモールキャップ体で印字する文字はなし。
35257 \begin_layout Initial
35258 \begin_inset Argument 1
35261 \begin_layout Plain Layout
35268 \begin_inset Argument 2
35271 \begin_layout Plain Layout
35277 was in the spring of the year 1894 that all London was interested, and
35278 the fashionable world dismayed, by the murder of the Honourable Ronald
35279 Adair under most unusual and inexplicable circumstances.
35280 The public has already learned those particulars of the crime which came
35281 out in the police investigation, but a good deal was suppressed upon that
35282 occasion, since the case for the prosecution was so overwhelmingly strong
35283 that it was not necessary to bring forward all the facts.
35287 \begin_layout Enumerate
35289 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
35292 で3行にかかり、マゼンタ色。「t was in the spring」という文章を
35296 。頭文字に色をつけるには、頭文字の前に
35297 \begin_inset Newline newline
35311 \begin_inset Newline newline
35314 というコマンドを挿入しなくてはなりません。ここで、
35318 は「red」・「blue」・「green」・「yellow」・「cyan」・「magenta」・「black」・「white」のいずれかです。また、文書プリアン
35320 \begin_inset Newline newline
35327 @ifundefined{textcolor}
35328 \begin_inset Newline newline
35332 \begin_inset space ~
35337 usepackage{color}}{}
35338 \begin_inset Newline newline
35343 というコマンドを書きこんでおかなくてはなりません。
35347 \begin_layout Standard
35351 \begin_layout Plain Layout
35365 \begin_inset Note Note
35368 \begin_layout Plain Layout
35371 makes the initial magenta
35379 \begin_layout Initial
35380 \begin_inset Argument 1
35383 \begin_layout Plain Layout
35384 lines=3, lhang=0.33, loversize=0.25
35390 \begin_inset Argument 2
35393 \begin_layout Plain Layout
35394 \begin_inset Formula $\mathcal{I}$
35403 \begin_inset Argument 3
35406 \begin_layout Plain Layout
35407 t was in the spring
35412 of the year 1894 that all London was interested, and the fashionable world
35413 dismayed, by the murder of the Honourable Ronald Adair under most unusual
35414 and inexplicable circumstances.
35415 The public has already learned those particulars of the crime which came
35416 out in the police investigation, but a good deal was suppressed upon that
35417 occasion, since the case for the prosecution was so overwhelmingly strong
35418 that it was not necessary to bring forward all the facts.
35422 \begin_layout Standard
35426 \begin_layout Plain Layout
35436 \begin_inset Note Note
35439 \begin_layout Plain Layout
35444 が導入されていないときのみ表示されます。
35452 \begin_layout Standard
35453 本節の以下の部分を出力に表示するには、LaTeXパッケージ
35460 \begin_layout Standard
35464 \begin_layout Plain Layout
35476 \begin_layout Chapter
35478 \begin_inset Index idx
35481 \begin_layout Plain Layout
35482 がいぶぶんしょこうせいようそ@外部文書構成要素
35490 \begin_layout Standard
35493 挿入\SpecialChar \menuseparator
35496 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
35499 \begin_layout Description
35500 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
35503 \begin_layout Description
35504 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
35507 \begin_layout Description
35508 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
35511 \begin_layout Description
35515 \begin_layout Description
35516 子文書 LyXあるいはLaTeX文書。
35519 \begin_layout Section
35521 \begin_inset Index idx
35524 \begin_layout Plain Layout
35525 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
35533 \begin_layout Standard
35534 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
35535 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
35537 操作性\SpecialChar \menuseparator
35540 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
35543 \begin_layout Standard
35548 \SpecialChar \menuseparator
35553 \SpecialChar \menuseparator
35562 ダイアログから挿入することができます。目下、以下のファイル形式(
35569 \begin_layout Description
35573 \begin_inset CommandInset href
35576 target "http://en.wikipedia.org/wiki/XBoard"
35582 プログラムで作成されたチェス棋譜をサポートします。
35585 \begin_layout Description
35590 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
35591 \begin_inset External
35598 \begin_inset space ~
35602 \begin_inset Note Note
35605 \begin_layout Plain Layout
35606 バグ4398が修正されたら、この保護空白は削除してください!
35612 \begin_inset Newline newline
35615 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
35619 \SpecialChar \menuseparator
35620 日付メニューを使用する方法で、他はLaTeXコマンドの
35626 をTeXコードで使用する方法です。これらの各方法は、表
35627 \begin_inset CommandInset ref
35629 reference "tab:日付挿入方法"
35636 \begin_layout Description
35640 \begin_inset CommandInset href
35643 target "http://ja.wikipedia.org/wiki/Dia_%28%E3%82%BD%E3%83%95%E3%83%88%E3%82%A6%E3%82%A7%E3%82%A2%29"
35649 プログラムで作成したダイアグラムをサポートします。
35652 \begin_layout Description
35653 Gnumeric表計算表 このひな形では、
35656 \begin_inset CommandInset href
35659 target "http://ja.wikipedia.org/wiki/Gnumeric"
35666 \begin_inset CommandInset href
35668 name "OpenDocument"
35669 target "http://ja.wikipedia.org/wiki/OpenDocument"
35674 \begin_inset CommandInset href
35676 name "Microsoft Office XML"
35677 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
35682 \begin_inset CommandInset href
35684 name "Office Open XML"
35685 target "http://ja.wikipedia.org/wiki/Office_Open_XML"
35689 形式の表計算表を挿入することができます。この機能を使用するには、LyXの初期設定中に
35693 プログラムが検出される必要があります。このプログラムはGnumericの一部ですので、Gnumeric以外の形式の表を読み込む場合には、Gnumericが導入済
35694 みである必要があります。用例と制約については、LyX用例ファイル
35701 \begin_layout Description
35702 Lilypond組版楽譜 このひな型は、
35705 \begin_inset CommandInset href
35708 target "http://ja.wikipedia.org/wiki/GNU_LilyPond"
35714 プログラムで作成した楽譜の組版に使用されます。LyXにおけるLilyPond拡張サポートについては、LyX用例ファイル
35721 \begin_layout Description
35722 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
35734 オプションを指定してください。このオプションの引数は、コンマ区切りのリストで、ページ番号(オプションを
35742 )、あるいはこれらの組み合わせで指定できます。空のページを入れるには、{}を指定してください。例えば、
35744 pages={3,{},8-11,15}
35746 は、3ページ目と空のページ、8・9・10・11・15ページ目を挿入します。ページ範囲は、
35762 を省略すると、1ページ目を指定したのと同じ事になり、
35766 を省略すると、文書の最終ページを指定したのと同じ事になります。最終ページは、
35770 というキーワードを使って指定することもできます(これはページ範囲指定のみで有効です)。したがって、
35774 は文書の全ページを挿入することになり、
35778 は全ページを逆順で挿入します。pagesオプションを指定しないと、PDFの最初のページのみが挿入されます。
35779 \begin_inset Newline newline
35786 オプションは、各ページを元々の寸法で挿入します。もしこのオプションが指定されていなければ、各ページは文書のページ幅に合うように大きさが変更されます。
35790 タブでは、取り込むページの縦横の大きさと回転角を指定することができます。100縮尺%以外の幅が指定されると、
35794 オプションは無視されます。詳しい情報と取り得るオプション値については、LaTeXパッケージ
35799 \begin_inset CommandInset citation
35806 \begin_inset Index idx
35809 \begin_layout Plain Layout
35810 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
35816 \begin_inset Newline newline
35823 プレゼンテーションで使用するには、まず
35827 環境を挿入して、続く段落でTeXコードボックスを挿入し、
35831 setbeamertemplate{background canvas}{}
35833 というコマンドを入力してください。すると、PDFページのひな型を含んだ段落を好きなだけ入れることができるようになります。取り込んだPDFページの後で、新しいフレ
35834 ームを開始するか、新しい節を開始することによって、Beamerプレゼンテーションに復帰することができます。PDFページの前に空白ページができてしまうのを防ぐため
35840 \begin_inset Newline newline
35843 下記は、-5度回転させたPDFを取り込んだものです。
35844 \begin_inset Newline newline
35848 \begin_inset Graphics
35849 filename ../clipart/Abstract.pdf
35851 rotateOrigin leftBottom
35856 \begin_inset Newline newline
35860 \begin_inset Note Greyedout
35863 \begin_layout Plain Layout
35868 は、pdflatexに基づいており、LaTeXでは組版ができない(LaTeXパッケージ
35873 \begin_inset CommandInset citation
35879 参照)ため、この外部素材はpLaTeXでは使用することができません。英文版の取扱説明書では、上記のPDFは、
35881 挿入\SpecialChar \menuseparator
35882 ファイル\SpecialChar \menuseparator
35893 を指定して挿入されていますが、ここでは
35895 挿入\SpecialChar \menuseparator
35906 \begin_layout Description
35907 ラスターイメージ これはビットマップ画像に使用します。
35912 \begin_inset CommandInset ref
35914 reference "sec:画像ダイアログ"
35922 ダイアログを使って挿入される画像と同じように取り扱うことができます。通常の画像の取り込みと違うのは、ラスター画像のみを使うことができることです。つまり、PDFや
35923 EPS画像はサポートされていません。右記は、ラスター画像を挿入した例です。
35924 \begin_inset External
35925 template RasterImage
35926 filename clipart/ToolbarEnvBox.png
35933 \begin_layout Description
35937 \begin_inset CommandInset href
35940 target "http://ja.wikipedia.org/wiki/Xfig"
35946 プログラムで作成した画像をサポートします。
35949 \begin_layout Standard
35950 \begin_inset Float table
35956 \begin_layout Plain Layout
35957 \begin_inset Caption Standard
35959 \begin_layout Plain Layout
35960 \begin_inset CommandInset label
35974 \begin_layout Plain Layout
35976 \begin_inset Tabular
35977 <lyxtabular version="3" rows="4" columns="4">
35978 <features rotate="0" tabularvalignment="middle">
35979 <column alignment="center" valignment="top">
35980 <column alignment="center" valignment="top">
35981 <column alignment="center" valignment="top">
35982 <column alignment="center" valignment="top">
35984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35987 \begin_layout Plain Layout
35993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35996 \begin_layout Plain Layout
35999 外部素材\SpecialChar \menuseparator
36005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36008 \begin_layout Plain Layout
36011 挿入\SpecialChar \menuseparator
36017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36020 \begin_layout Plain Layout
36034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36037 \begin_layout Plain Layout
36043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36046 \begin_layout Plain Layout
36052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36055 \begin_layout Plain Layout
36061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36064 \begin_layout Plain Layout
36072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36075 \begin_layout Plain Layout
36081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36084 \begin_layout Plain Layout
36090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36093 \begin_layout Plain Layout
36099 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36102 \begin_layout Plain Layout
36110 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36113 \begin_layout Plain Layout
36119 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36122 \begin_layout Plain Layout
36128 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36131 \begin_layout Plain Layout
36137 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
36140 \begin_layout Plain Layout
36159 \begin_layout Standard
36172 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
36173 \begin_inset Newline newline
36176 LyX中での外部素材は、ダイアログ内の
36185 \begin_inset Graphics
36186 filename clipart/ExternalMaterialQt4.png
36188 scaleBeforeRotation
36192 のようなボックスとして表示されるか、画像として表示されます。
36195 \begin_layout Standard
36202 には、自製のひな型を定義する方法が説明されています。
36205 \begin_layout Section
36207 \begin_inset CommandInset label
36214 \begin_inset Index idx
36217 \begin_layout Plain Layout
36218 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
36224 \begin_inset Index idx
36227 \begin_layout Plain Layout
36228 ふぁいる@ファイル ! いんくるーど@インクルード
36236 \begin_layout Standard
36237 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
36238 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
36239 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
36242 \begin_layout Standard
36243 親文書を開くことなく子文書で作業できるようにするには、子文書の
36247 \SpecialChar \menuseparator
36252 \SpecialChar \menuseparator
36257 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
36260 \begin_layout Standard
36262 \begin_inset Graphics
36263 filename clipart/ChildDocumentQt4.png
36265 scaleBeforeRotation
36269 のようなボックスとして表示されます。子文書を親文書に取り込むには、
36273 \SpecialChar \menuseparator
36278 \SpecialChar \menuseparator
36283 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
36286 \begin_layout Description
36287 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
36295 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
36296 \begin_inset Newline newline
36302 \begin_layout Standard
36308 \begin_inset CommandInset include
36309 LatexCommand include
36310 filename "DummyDocument1.lyx"
36317 \begin_layout Standard
36318 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
36319 あります。取り込んだ文書のラベルは、第
36320 \begin_inset CommandInset ref
36322 reference "sub:外部文書の第1小節"
36326 小節、のように参照することができます。
36329 \begin_layout Standard
36330 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
36331 は、新規頁から始まるように挿入され、改頁して終わります。
36334 \begin_layout Standard
36335 \begin_inset Note Greyedout
36338 \begin_layout Plain Layout
36343 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
36352 \begin_layout Description
36353 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
36357 \begin_layout Itemize
36358 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
36361 \begin_layout Itemize
36362 Inputファイルは、LyX設定の操作性
36364 \SpecialChar \menuseparator
36371 を有効にすると、LyX中でプレビューすることができます。
36374 \begin_layout Itemize
36385 \begin_layout Standard
36391 \begin_inset CommandInset include
36393 filename "DummyDocument2.lyx"
36400 \begin_layout Description
36401 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
36402 に用いられているコマンドは実行されません。
36406 オプションを有効にすると、ソースコード中のすべての空白文字に「
36410 \begin_layout Plain Layout
36421 挿入\SpecialChar \menuseparator
36422 ファイル\SpecialChar \menuseparator
36425 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
36428 \begin_layout Standard
36429 以下は、verbatimとして挿入された子文書です。
36430 \begin_inset CommandInset include
36431 LatexCommand verbatiminput
36432 filename "../DummyTextDocument.txt"
36437 \begin_inset VSpace bigskip
36444 オプションを指定して、verbatimとして挿入された子文書です。
36445 \begin_inset CommandInset include
36446 LatexCommand verbatiminput*
36447 filename "../DummyTextDocument.txt"
36454 \begin_layout Standard
36455 \begin_inset VSpace bigskip
36461 \begin_layout Standard
36462 \begin_inset Note Greyedout
36465 \begin_layout Plain Layout
36474 として取り込んだ文書の文章は、文書行の終わりで改行されません。
36482 \begin_layout Standard
36483 \begin_inset Note Greyedout
36486 \begin_layout Plain Layout
36491 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
36499 \begin_layout Description
36500 プログラムリスト この型については、第
36501 \begin_inset CommandInset ref
36503 reference "cha:プログラムコードリスト"
36510 \begin_layout Standard
36511 \begin_inset Note Greyedout
36514 \begin_layout Plain Layout
36519 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
36527 \begin_layout Standard
36528 コンパイル時間を短縮したり、執筆中のbookの特定の章のみを配布したいなどの理由で、親文書内の特定の子文書のみを表示させたり書きだしたりしたい場合には、子文書の
36529 一部を出力から排除することができます。これは、
36531 文書\SpecialChar \menuseparator
36532 設定\SpecialChar \menuseparator
36535 メニューから行うことができます。そこの一覧中の各子文書の
36539 列をダブルクリックすることによって、その子文書を排除したり取り込んだりすることができます(これは「Input」ではなく「Include」で埋めこまれた文書に対し
36540 てのみ機能することにご注意ください)。
36544 オプションを有効にすると、LyXは、すべてのページ番号と参照等が、文書全体を処理した時と同じように正しくなるようにします。これは、選択した部分文書が、文書全体の
36545 コンテクストの中で表現されるのと全く同じようにしておきたい時に便利です。しかしながら、この機能を実現するには、LyXはバックグラウンドで文書全体を処理しなくては
36546 なりません。したがって、コンパイルの時間を節約し、カウンタや参照が必ずしも正しくなくてもいい場合には、このチェックボックスは外しておいてください。
36549 \begin_layout Standard
36550 あるいは、取り込んだファイルの各々を派生枝の中に入れる方法があります
36554 \begin_layout Plain Layout
36568 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。この方法は、Inputで取り込んだ部分文
36569 書についても動作するという利点があります。ただし、カウンタと参照は、この方法では維持されるとは限りません。
36572 \begin_layout Chapter
36574 \begin_inset CommandInset label
36576 name "cha:プログラムコードリスト"
36581 \begin_inset Index idx
36584 \begin_layout Plain Layout
36591 \begin_inset Index idx
36594 \begin_layout Plain Layout
36601 \begin_inset Index idx
36604 \begin_layout Plain Layout
36605 ふろーと@フロート ! りすと@リスト
36613 \begin_layout Standard
36614 プログラムコードを取り込んで組版するには、
36618 \SpecialChar \menuseparator
36623 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
36628 \begin_inset Index idx
36631 \begin_layout Plain Layout
36632 LaTeXぱっけーじ@LaTeXパッケージ ! listings
36637 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
36640 \begin_layout Standard
36641 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
36644 \begin_layout Standard
36645 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
36650 \begin_inset listings
36651 lstparams "language={C++}"
36655 \begin_layout Plain Layout
36663 \begin_inset Newline newline
36670 オプションは、プログラムリストフロートを生成するものですが、ここで、第
36671 \begin_inset CommandInset ref
36673 reference "sec:フロートの配置"
36677 節に説明されているフロート配置オプションに従って、「
36693 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
36697 」のように区切りを入れることなく入力することができます。「
36701 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
36705 オプションを使用しなければ大丈夫です。
36708 \begin_layout Standard
36713 \SpecialChar \menuseparator
36718 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
36719 \begin_inset CommandInset ref
36721 reference "lst:リストフロート"
36727 A list of listings which contains all listings with captions can be created
36730 Insert\SpecialChar \menuseparator
36732 \begin_inset space ~
36736 \begin_inset space ~
36739 TOC\SpecialChar \menuseparator
36743 The list entries are the listing caption and the listing number
36748 \begin_layout Standard
36749 \begin_inset listings
36750 lstparams "language=Python"
36754 \begin_layout Plain Layout
36756 \begin_inset Caption Standard
36758 \begin_layout Plain Layout
36759 \begin_inset CommandInset label
36765 Example Listing Float
36770 # Example listing float
36773 \begin_layout Plain Layout
36778 \begin_layout Plain Layout
36780 'this is a python function'
36783 \begin_layout Plain Layout
36793 \begin_layout Standard
36794 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
36795 onのキーワード「def」が識別され、ボールド体で出力されます。
36798 \begin_layout Standard
36799 \begin_inset Note Greyedout
36802 \begin_layout Plain Layout
36807 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
36811 フォントがボールド体を提供していません。この場合には、
36815 \SpecialChar \menuseparator
36820 \SpecialChar \menuseparator
36825 メニューで別のフォントを選択してください(
36837 の各フォントはボールド体を提供します)。
36845 \begin_layout Standard
36846 \begin_inset Note Greyedout
36849 \begin_layout Plain Layout
36854 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
36862 \begin_layout Standard
36867 のセクションでは、行番号の様式を指定することができます。
36871 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
36874 \begin_layout Standard
36875 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
36879 オプションを使用しなくてはなりません。
36880 \begin_inset Newline newline
36883 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
36884 \begin_inset space \thinspace{}
36888 \begin_inset space \thinspace{}
36891 8」で設定したプログラムリストの例です。
36894 \begin_layout Standard
36895 \begin_inset listings
36896 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
36900 \begin_layout Plain Layout
36905 \begin_layout Plain Layout
36907 'this is a python function'
36910 \begin_layout Plain Layout
36915 \begin_layout Plain Layout
36920 \begin_layout Plain Layout
36922 'This is a German word: Tschüß'
36925 \begin_layout Plain Layout
36930 \begin_layout Plain Layout
36935 \begin_layout Plain Layout
36937 'this is a python function'
36940 \begin_layout Plain Layout
36950 \begin_layout Standard
36951 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
36958 \begin_layout Standard
36959 \begin_inset Note Greyedout
36962 \begin_layout Plain Layout
36967 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
36976 \begin_layout Standard
36977 \begin_inset VSpace bigskip
36983 \begin_layout Standard
36984 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
36988 \SpecialChar \menuseparator
36993 \SpecialChar \menuseparator
37006 \begin_layout Plain Layout
37007 他の子文書型については、第 section
37008 \begin_inset space ~
37012 \begin_inset CommandInset ref
37014 reference "sec:子文書"
37023 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
37027 \begin_layout Standard
37028 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
37032 \SpecialChar \menuseparator
37037 メニューを使って参照できるようになります。
37040 \begin_layout Standard
37042 \begin_inset CommandInset ref
37044 reference "lst:file-listing"
37048 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
37051 \begin_layout Standard
37052 \begin_inset CommandInset include
37053 LatexCommand lstinputlisting
37054 filename "EmbeddedObjects.lyx"
37055 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
37062 \begin_layout Standard
37063 \begin_inset VSpace bigskip
37069 \begin_layout Standard
37070 リストに数式を入れるには、以下のようにします。
37073 \begin_layout Enumerate
37079 \begin_inset Newline newline
37087 \begin_inset Newline newline
37093 \begin_layout Enumerate
37097 \begin_layout Enumerate
37098 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
37107 \begin_layout Enumerate
37108 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
37117 \begin_layout Standard
37118 \begin_inset listings
37119 lstparams "language=Python,mathescape=true"
37123 \begin_layout Plain Layout
37125 \begin_inset Caption Standard
37127 \begin_layout Plain Layout
37128 Example Listing float containing a formula
37133 # Example listing float
37136 \begin_layout Plain Layout
37141 \begin_layout Plain Layout
37154 \begin_layout Plain Layout
37164 \begin_layout Standard
37165 \begin_inset VSpace bigskip
37171 \begin_layout Standard
37176 \SpecialChar \menuseparator
37181 \SpecialChar \menuseparator
37186 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
37190 フィールドで疑問符「?」を打鍵してください。
37193 \begin_layout Standard
37198 パッケージについての詳しい情報については、取扱説明書
37199 \begin_inset CommandInset citation
37208 \begin_layout Standard
37209 \begin_inset Newpage newpage
37215 \begin_layout Chapter
37218 \begin_inset Index idx
37221 \begin_layout Plain Layout
37228 \begin_inset CommandInset label
37230 name "cha:LyXで使用できる単位"
37237 \begin_layout Standard
37238 この文書で用いられる単位の理解のために、表
37239 \begin_inset CommandInset ref
37245 に、LyXで使うことのできる単位をまとめておきます。
37248 \begin_layout Standard
37249 \begin_inset Float table
37255 \begin_layout Plain Layout
37256 \begin_inset Caption Standard
37258 \begin_layout Plain Layout
37259 \begin_inset CommandInset label
37273 \begin_layout Plain Layout
37274 \begin_inset VSpace medskip
37280 \begin_layout Plain Layout
37282 \begin_inset Tabular
37283 <lyxtabular version="3" rows="20" columns="2">
37284 <features rotate="0" tabularvalignment="middle">
37285 <column alignment="center" valignment="top">
37286 <column alignment="center" valignment="top">
37288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37291 \begin_layout Plain Layout
37297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37300 \begin_layout Plain Layout
37308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37311 \begin_layout Plain Layout
37317 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37320 \begin_layout Plain Layout
37328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37331 \begin_layout Plain Layout
37337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37340 \begin_layout Plain Layout
37348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37351 \begin_layout Plain Layout
37357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37360 \begin_layout Plain Layout
37368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37371 \begin_layout Plain Layout
37377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37380 \begin_layout Plain Layout
37382 \begin_inset Formula $\,$
37386 \begin_inset Formula $\,$
37396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37399 \begin_layout Plain Layout
37405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37408 \begin_layout Plain Layout
37410 \begin_inset Formula $\,$
37414 \begin_inset Formula $\,$
37424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37427 \begin_layout Plain Layout
37433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37436 \begin_layout Plain Layout
37438 \begin_inset Formula $\,$
37442 \begin_inset Formula $\,$
37452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37455 \begin_layout Plain Layout
37461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37464 \begin_layout Plain Layout
37466 \begin_inset Formula $\,$
37470 \begin_inset Formula $\,$
37480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37483 \begin_layout Plain Layout
37489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37492 \begin_layout Plain Layout
37494 \begin_inset Formula $\,$
37498 \begin_inset Formula $\approx$
37502 \begin_inset Formula $\,$
37512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37515 \begin_layout Plain Layout
37521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37524 \begin_layout Plain Layout
37526 \begin_inset Formula $\,$
37530 \begin_inset Formula $\,$
37540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37543 \begin_layout Plain Layout
37549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37552 \begin_layout Plain Layout
37560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37563 \begin_layout Plain Layout
37569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37572 \begin_layout Plain Layout
37580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37583 \begin_layout Plain Layout
37589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37592 \begin_layout Plain Layout
37600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37603 \begin_layout Plain Layout
37609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37612 \begin_layout Plain Layout
37620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37623 \begin_layout Plain Layout
37629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37632 \begin_layout Plain Layout
37640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37643 \begin_layout Plain Layout
37649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37652 \begin_layout Plain Layout
37660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37663 \begin_layout Plain Layout
37669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37672 \begin_layout Plain Layout
37680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37683 \begin_layout Plain Layout
37689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37692 \begin_layout Plain Layout
37700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37703 \begin_layout Plain Layout
37709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37712 \begin_layout Plain Layout
37720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37723 \begin_layout Plain Layout
37729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37732 \begin_layout Plain Layout
37734 \begin_inset Formula $\,$
37738 \begin_inset Formula $\,$
37759 \begin_layout Chapter
37761 \begin_inset CommandInset label
37763 name "cha:ファイル出力形式"
37770 \begin_layout Section
37772 \begin_inset Index idx
37775 \begin_layout Plain Layout
37776 ふぁいるしょしき@ファイル書式 ! DVI
37782 \begin_inset Index idx
37785 \begin_layout Plain Layout
37790 \begin_layout Plain Layout
37801 \begin_layout Plain Layout
37816 \begin_layout Standard
37821 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
37822 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
37823 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
37826 \begin_layout Standard
37827 \begin_inset Note Greyedout
37830 \begin_layout Plain Layout
37831 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
37840 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
37841 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
37845 \begin_layout Standard
37850 \SpecialChar \menuseparator
37855 \SpecialChar \menuseparator
37860 メニューを使用して、DVIに書き出すことができます。
37864 メニューから、文書をDVIとして表示させることもできます。
37867 \begin_layout Section
37869 \begin_inset CommandInset label
37871 name "sec:PostScript"
37876 \begin_inset Index idx
37879 \begin_layout Plain Layout
37880 ふぁいるしょしき@ファイル書式 ! PostScript
37886 \begin_inset Index idx
37889 \begin_layout Plain Layout
37894 \begin_layout Plain Layout
37905 \begin_layout Plain Layout
37920 \begin_layout Standard
37929 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
37930 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
37934 \begin_layout Plain Layout
37935 これについてもう少し学ぶ気があれば、LaTeXパッケージ
37940 \begin_inset CommandInset citation
37951 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
37954 \begin_layout Standard
37955 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
37959 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
37960 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
37961 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
37962 を直接EPSとして入れておく方がよいでしょう。
37965 \begin_layout Standard
37970 \SpecialChar \menuseparator
37975 \SpecialChar \menuseparator
37980 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
37985 \begin_inset Graphics
37986 filename ../../images/buffer-view_ps.png
37988 scaleBeforeRotation
37992 を使用することでPostScriptとして表示させることができます。
37995 \begin_layout Section
37997 \begin_inset Index idx
38000 \begin_layout Plain Layout
38001 ふぁいるしょしき@ファイル書式 ! PDF
38007 \begin_inset Index idx
38010 \begin_layout Plain Layout
38019 \begin_layout Standard
38024 」です。この「Portable Document Format (PDF)」は、
38028 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
38029 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
38032 \begin_layout Standard
38033 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
38041 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
38045 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
38046 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
38050 \begin_layout Standard
38055 \SpecialChar \menuseparator
38060 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
38063 \begin_layout Description
38065 \begin_inset space ~
38072 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
38076 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
38079 \begin_layout Description
38081 \begin_inset space ~
38088 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
38091 \begin_layout Description
38093 \begin_inset space ~
38100 プログラムを使って、現在のファイルを直接PDFに変換します。
38103 \begin_layout Standard
38108 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
38111 \begin_inset space ~
38120 プログラムは開発が停止しており、若干時代遅れになっています。
38123 \begin_layout Standard
38124 使用中の文書をPDFとして表示するには、
38129 \begin_inset Graphics
38130 filename ../../images/buffer-view_pdf2.png
38132 scaleBeforeRotation
38139 \begin_inset space ~
38147 \begin_layout Chapter
38149 \begin_inset CommandInset label
38151 name "chap:dvips色名一覧"
38158 \begin_layout Standard
38159 \begin_inset Tabular
38160 <lyxtabular version="3" rows="17" columns="4">
38161 <features rotate="0" tabularvalignment="middle">
38162 <column alignment="left" valignment="top" width="0pt">
38163 <column alignment="left" valignment="top" width="0pt">
38164 <column alignment="left" valignment="top" width="0pt">
38165 <column alignment="left" valignment="top" width="0pt">
38167 <cell alignment="left" valignment="top" usebox="none">
38170 \begin_layout Plain Layout
38174 \begin_layout Plain Layout
38187 \begin_layout Plain Layout
38198 \begin_layout Plain Layout
38210 <cell alignment="left" valignment="top" usebox="none">
38213 \begin_layout Plain Layout
38217 \begin_layout Plain Layout
38230 \begin_layout Plain Layout
38241 \begin_layout Plain Layout
38253 <cell alignment="left" valignment="top" usebox="none">
38256 \begin_layout Plain Layout
38260 \begin_layout Plain Layout
38273 \begin_layout Plain Layout
38284 \begin_layout Plain Layout
38296 <cell alignment="left" valignment="top" usebox="none">
38299 \begin_layout Plain Layout
38303 \begin_layout Plain Layout
38316 \begin_layout Plain Layout
38327 \begin_layout Plain Layout
38341 <cell alignment="center" valignment="top" usebox="none">
38344 \begin_layout Plain Layout
38348 \begin_layout Plain Layout
38361 \begin_layout Plain Layout
38369 \begin_inset Phantom Phantom
38372 \begin_layout Plain Layout
38382 \begin_layout Plain Layout
38394 <cell alignment="center" valignment="top" usebox="none">
38397 \begin_layout Plain Layout
38401 \begin_layout Plain Layout
38414 \begin_layout Plain Layout
38422 \begin_inset Phantom Phantom
38425 \begin_layout Plain Layout
38435 \begin_layout Plain Layout
38447 <cell alignment="center" valignment="top" usebox="none">
38450 \begin_layout Plain Layout
38454 \begin_layout Plain Layout
38467 \begin_layout Plain Layout
38475 \begin_inset Phantom Phantom
38478 \begin_layout Plain Layout
38488 \begin_layout Plain Layout
38500 <cell alignment="center" valignment="top" usebox="none">
38503 \begin_layout Plain Layout
38507 \begin_layout Plain Layout
38520 \begin_layout Plain Layout
38528 \begin_inset Phantom Phantom
38531 \begin_layout Plain Layout
38541 \begin_layout Plain Layout
38555 <cell alignment="left" valignment="top" usebox="none">
38558 \begin_layout Plain Layout
38562 \begin_layout Plain Layout
38575 \begin_layout Plain Layout
38583 \begin_inset Phantom Phantom
38586 \begin_layout Plain Layout
38596 \begin_layout Plain Layout
38608 <cell alignment="left" valignment="top" usebox="none">
38611 \begin_layout Plain Layout
38615 \begin_layout Plain Layout
38628 \begin_layout Plain Layout
38636 \begin_inset Phantom Phantom
38639 \begin_layout Plain Layout
38649 \begin_layout Plain Layout
38661 <cell alignment="left" valignment="top" usebox="none">
38664 \begin_layout Plain Layout
38668 \begin_layout Plain Layout
38681 \begin_layout Plain Layout
38689 \begin_inset Phantom Phantom
38692 \begin_layout Plain Layout
38702 \begin_layout Plain Layout
38714 <cell alignment="left" valignment="top" usebox="none">
38717 \begin_layout Plain Layout
38721 \begin_layout Plain Layout
38734 \begin_layout Plain Layout
38742 \begin_inset Phantom Phantom
38745 \begin_layout Plain Layout
38755 \begin_layout Plain Layout
38769 <cell alignment="left" valignment="top" usebox="none">
38772 \begin_layout Plain Layout
38776 \begin_layout Plain Layout
38789 \begin_layout Plain Layout
38797 \begin_inset Phantom Phantom
38800 \begin_layout Plain Layout
38810 \begin_layout Plain Layout
38822 <cell alignment="left" valignment="top" usebox="none">
38825 \begin_layout Plain Layout
38829 \begin_layout Plain Layout
38842 \begin_layout Plain Layout
38850 \begin_inset Phantom Phantom
38853 \begin_layout Plain Layout
38863 \begin_layout Plain Layout
38875 <cell alignment="left" valignment="top" usebox="none">
38878 \begin_layout Plain Layout
38882 \begin_layout Plain Layout
38895 \begin_layout Plain Layout
38903 \begin_inset Phantom Phantom
38906 \begin_layout Plain Layout
38916 \begin_layout Plain Layout
38928 <cell alignment="left" valignment="top" usebox="none">
38931 \begin_layout Plain Layout
38935 \begin_layout Plain Layout
38948 \begin_layout Plain Layout
38956 \begin_inset Phantom Phantom
38959 \begin_layout Plain Layout
38969 \begin_layout Plain Layout
38983 <cell alignment="left" valignment="top" usebox="none">
38986 \begin_layout Plain Layout
38990 \begin_layout Plain Layout
39003 \begin_layout Plain Layout
39011 \begin_inset Phantom Phantom
39014 \begin_layout Plain Layout
39024 \begin_layout Plain Layout
39036 <cell alignment="left" valignment="top" usebox="none">
39039 \begin_layout Plain Layout
39043 \begin_layout Plain Layout
39056 \begin_layout Plain Layout
39064 \begin_inset Phantom Phantom
39067 \begin_layout Plain Layout
39077 \begin_layout Plain Layout
39089 <cell alignment="left" valignment="top" usebox="none">
39092 \begin_layout Plain Layout
39096 \begin_layout Plain Layout
39109 \begin_layout Plain Layout
39117 \begin_inset Phantom Phantom
39120 \begin_layout Plain Layout
39130 \begin_layout Plain Layout
39142 <cell alignment="left" valignment="top" usebox="none">
39145 \begin_layout Plain Layout
39149 \begin_layout Plain Layout
39162 \begin_layout Plain Layout
39170 \begin_inset Phantom Phantom
39173 \begin_layout Plain Layout
39183 \begin_layout Plain Layout
39197 <cell alignment="left" valignment="top" usebox="none">
39200 \begin_layout Plain Layout
39204 \begin_layout Plain Layout
39217 \begin_layout Plain Layout
39225 \begin_inset Phantom Phantom
39228 \begin_layout Plain Layout
39238 \begin_layout Plain Layout
39250 <cell alignment="left" valignment="top" usebox="none">
39253 \begin_layout Plain Layout
39257 \begin_layout Plain Layout
39270 \begin_layout Plain Layout
39278 \begin_inset Phantom Phantom
39281 \begin_layout Plain Layout
39291 \begin_layout Plain Layout
39303 <cell alignment="left" valignment="top" usebox="none">
39306 \begin_layout Plain Layout
39310 \begin_layout Plain Layout
39323 \begin_layout Plain Layout
39331 \begin_inset Phantom Phantom
39334 \begin_layout Plain Layout
39344 \begin_layout Plain Layout
39356 <cell alignment="left" valignment="top" usebox="none">
39359 \begin_layout Plain Layout
39363 \begin_layout Plain Layout
39376 \begin_layout Plain Layout
39384 \begin_inset Phantom Phantom
39387 \begin_layout Plain Layout
39397 \begin_layout Plain Layout
39411 <cell alignment="center" valignment="top" usebox="none">
39414 \begin_layout Plain Layout
39418 \begin_layout Plain Layout
39431 \begin_layout Plain Layout
39439 \begin_inset Phantom Phantom
39442 \begin_layout Plain Layout
39452 \begin_layout Plain Layout
39464 <cell alignment="center" valignment="top" usebox="none">
39467 \begin_layout Plain Layout
39471 \begin_layout Plain Layout
39484 \begin_layout Plain Layout
39492 \begin_inset Phantom Phantom
39495 \begin_layout Plain Layout
39505 \begin_layout Plain Layout
39517 <cell alignment="center" valignment="top" usebox="none">
39520 \begin_layout Plain Layout
39524 \begin_layout Plain Layout
39537 \begin_layout Plain Layout
39545 \begin_inset Phantom Phantom
39548 \begin_layout Plain Layout
39558 \begin_layout Plain Layout
39570 <cell alignment="center" valignment="top" usebox="none">
39573 \begin_layout Plain Layout
39577 \begin_layout Plain Layout
39590 \begin_layout Plain Layout
39598 \begin_inset Phantom Phantom
39601 \begin_layout Plain Layout
39611 \begin_layout Plain Layout
39625 <cell alignment="left" valignment="top" usebox="none">
39628 \begin_layout Plain Layout
39632 \begin_layout Plain Layout
39645 \begin_layout Plain Layout
39653 \begin_inset Phantom Phantom
39656 \begin_layout Plain Layout
39666 \begin_layout Plain Layout
39678 <cell alignment="left" valignment="top" usebox="none">
39681 \begin_layout Plain Layout
39685 \begin_layout Plain Layout
39698 \begin_layout Plain Layout
39706 \begin_inset Phantom Phantom
39709 \begin_layout Plain Layout
39719 \begin_layout Plain Layout
39731 <cell alignment="left" valignment="top" usebox="none">
39734 \begin_layout Plain Layout
39738 \begin_layout Plain Layout
39751 \begin_layout Plain Layout
39759 \begin_inset Phantom Phantom
39762 \begin_layout Plain Layout
39772 \begin_layout Plain Layout
39784 <cell alignment="left" valignment="top" usebox="none">
39787 \begin_layout Plain Layout
39791 \begin_layout Plain Layout
39804 \begin_layout Plain Layout
39812 \begin_inset Phantom Phantom
39815 \begin_layout Plain Layout
39825 \begin_layout Plain Layout
39839 <cell alignment="left" valignment="top" usebox="none">
39842 \begin_layout Plain Layout
39846 \begin_layout Plain Layout
39859 \begin_layout Plain Layout
39867 \begin_inset Phantom Phantom
39870 \begin_layout Plain Layout
39880 \begin_layout Plain Layout
39892 <cell alignment="left" valignment="top" usebox="none">
39895 \begin_layout Plain Layout
39899 \begin_layout Plain Layout
39912 \begin_layout Plain Layout
39920 \begin_inset Phantom Phantom
39923 \begin_layout Plain Layout
39933 \begin_layout Plain Layout
39945 <cell alignment="left" valignment="top" usebox="none">
39948 \begin_layout Plain Layout
39952 \begin_layout Plain Layout
39965 \begin_layout Plain Layout
39973 \begin_inset Phantom Phantom
39976 \begin_layout Plain Layout
39986 \begin_layout Plain Layout
39998 <cell alignment="left" valignment="top" usebox="none">
40001 \begin_layout Plain Layout
40005 \begin_layout Plain Layout
40018 \begin_layout Plain Layout
40026 \begin_inset Phantom Phantom
40029 \begin_layout Plain Layout
40039 \begin_layout Plain Layout
40053 <cell alignment="left" valignment="top" usebox="none">
40056 \begin_layout Plain Layout
40060 \begin_layout Plain Layout
40073 \begin_layout Plain Layout
40081 \begin_inset Phantom Phantom
40084 \begin_layout Plain Layout
40094 \begin_layout Plain Layout
40106 <cell alignment="left" valignment="top" usebox="none">
40109 \begin_layout Plain Layout
40113 \begin_layout Plain Layout
40126 \begin_layout Plain Layout
40134 \begin_inset Phantom Phantom
40137 \begin_layout Plain Layout
40147 \begin_layout Plain Layout
40159 <cell alignment="left" valignment="top" usebox="none">
40162 \begin_layout Plain Layout
40166 \begin_layout Plain Layout
40179 \begin_layout Plain Layout
40187 \begin_inset Phantom Phantom
40190 \begin_layout Plain Layout
40200 \begin_layout Plain Layout
40212 <cell alignment="left" valignment="top" usebox="none">
40215 \begin_layout Plain Layout
40219 \begin_layout Plain Layout
40232 \begin_layout Plain Layout
40240 \begin_inset Phantom Phantom
40243 \begin_layout Plain Layout
40253 \begin_layout Plain Layout
40267 <cell alignment="left" valignment="top" usebox="none">
40270 \begin_layout Plain Layout
40274 \begin_layout Plain Layout
40287 \begin_layout Plain Layout
40295 \begin_inset Phantom Phantom
40298 \begin_layout Plain Layout
40308 \begin_layout Plain Layout
40320 <cell alignment="left" valignment="top" usebox="none">
40323 \begin_layout Plain Layout
40327 \begin_layout Plain Layout
40340 \begin_layout Plain Layout
40348 \begin_inset Phantom Phantom
40351 \begin_layout Plain Layout
40361 \begin_layout Plain Layout
40373 <cell alignment="left" valignment="top" usebox="none">
40376 \begin_layout Plain Layout
40380 \begin_layout Plain Layout
40393 \begin_layout Plain Layout
40401 \begin_inset Phantom Phantom
40404 \begin_layout Plain Layout
40414 \begin_layout Plain Layout
40426 <cell alignment="left" valignment="top" usebox="none">
40429 \begin_layout Plain Layout
40433 \begin_layout Plain Layout
40446 \begin_layout Plain Layout
40454 \begin_inset Phantom Phantom
40457 \begin_layout Plain Layout
40467 \begin_layout Plain Layout
40481 <cell alignment="left" valignment="top" usebox="none">
40484 \begin_layout Plain Layout
40488 \begin_layout Plain Layout
40501 \begin_layout Plain Layout
40509 \begin_inset Phantom Phantom
40512 \begin_layout Plain Layout
40522 \begin_layout Plain Layout
40534 <cell alignment="left" valignment="top" usebox="none">
40537 \begin_layout Plain Layout
40541 \begin_layout Plain Layout
40554 \begin_layout Plain Layout
40562 \begin_inset Phantom Phantom
40565 \begin_layout Plain Layout
40575 \begin_layout Plain Layout
40587 <cell alignment="left" valignment="top" usebox="none">
40590 \begin_layout Plain Layout
40594 \begin_layout Plain Layout
40607 \begin_layout Plain Layout
40615 \begin_inset Phantom Phantom
40618 \begin_layout Plain Layout
40628 \begin_layout Plain Layout
40640 <cell alignment="left" valignment="top" usebox="none">
40643 \begin_layout Plain Layout
40647 \begin_layout Plain Layout
40660 \begin_layout Plain Layout
40668 \begin_inset Phantom Phantom
40671 \begin_layout Plain Layout
40681 \begin_layout Plain Layout
40695 <cell alignment="left" valignment="top" usebox="none">
40698 \begin_layout Plain Layout
40702 \begin_layout Plain Layout
40715 \begin_layout Plain Layout
40723 \begin_inset Phantom Phantom
40726 \begin_layout Plain Layout
40736 \begin_layout Plain Layout
40748 <cell alignment="left" valignment="top" usebox="none">
40751 \begin_layout Plain Layout
40755 \begin_layout Plain Layout
40768 \begin_layout Plain Layout
40776 \begin_inset Phantom Phantom
40779 \begin_layout Plain Layout
40789 \begin_layout Plain Layout
40801 <cell alignment="left" valignment="top" usebox="none">
40804 \begin_layout Plain Layout
40808 \begin_layout Plain Layout
40821 \begin_layout Plain Layout
40829 \begin_inset Phantom Phantom
40832 \begin_layout Plain Layout
40842 \begin_layout Plain Layout
40854 <cell alignment="left" valignment="top" usebox="none">
40857 \begin_layout Plain Layout
40861 \begin_layout Plain Layout
40874 \begin_layout Plain Layout
40882 \begin_inset Phantom Phantom
40885 \begin_layout Plain Layout
40895 \begin_layout Plain Layout
40909 <cell alignment="left" valignment="top" usebox="none">
40912 \begin_layout Plain Layout
40916 \begin_layout Plain Layout
40929 \begin_layout Plain Layout
40937 \begin_inset Phantom Phantom
40940 \begin_layout Plain Layout
40950 \begin_layout Plain Layout
40962 <cell alignment="left" valignment="top" usebox="none">
40965 \begin_layout Plain Layout
40969 \begin_layout Plain Layout
40982 \begin_layout Plain Layout
40990 \begin_inset Phantom Phantom
40993 \begin_layout Plain Layout
41003 \begin_layout Plain Layout
41015 <cell alignment="left" valignment="top" usebox="none">
41018 \begin_layout Plain Layout
41022 \begin_layout Plain Layout
41035 \begin_layout Plain Layout
41043 \begin_inset Phantom Phantom
41046 \begin_layout Plain Layout
41056 \begin_layout Plain Layout
41068 <cell alignment="left" valignment="top" usebox="none">
41071 \begin_layout Plain Layout
41075 \begin_layout Plain Layout
41088 \begin_layout Plain Layout
41096 \begin_inset Phantom Phantom
41099 \begin_layout Plain Layout
41109 \begin_layout Plain Layout
41123 <cell alignment="left" valignment="top" usebox="none">
41126 \begin_layout Plain Layout
41130 \begin_layout Plain Layout
41143 \begin_layout Plain Layout
41151 \begin_inset Phantom Phantom
41154 \begin_layout Plain Layout
41164 \begin_layout Plain Layout
41176 <cell alignment="left" valignment="top" usebox="none">
41179 \begin_layout Plain Layout
41183 \begin_layout Plain Layout
41196 \begin_layout Plain Layout
41204 \begin_inset Phantom Phantom
41207 \begin_layout Plain Layout
41217 \begin_layout Plain Layout
41229 <cell alignment="left" valignment="top" usebox="none">
41232 \begin_layout Plain Layout
41236 \begin_layout Plain Layout
41249 \begin_layout Plain Layout
41257 \begin_inset Phantom Phantom
41260 \begin_layout Plain Layout
41270 \begin_layout Plain Layout
41282 <cell alignment="left" valignment="top" usebox="none">
41285 \begin_layout Plain Layout
41289 \begin_layout Plain Layout
41302 \begin_layout Plain Layout
41310 \begin_inset Phantom Phantom
41313 \begin_layout Plain Layout
41323 \begin_layout Plain Layout
41337 <cell alignment="left" valignment="top" usebox="none">
41340 \begin_layout Plain Layout
41344 \begin_layout Plain Layout
41357 \begin_layout Plain Layout
41365 \begin_inset Phantom Phantom
41368 \begin_layout Plain Layout
41378 \begin_layout Plain Layout
41390 <cell alignment="left" valignment="top" usebox="none">
41393 \begin_layout Plain Layout
41397 \begin_layout Plain Layout
41410 \begin_layout Plain Layout
41418 \begin_inset Phantom Phantom
41421 \begin_layout Plain Layout
41431 \begin_layout Plain Layout
41443 <cell alignment="left" valignment="top" usebox="none">
41446 \begin_layout Plain Layout
41450 \begin_layout Plain Layout
41463 \begin_layout Plain Layout
41471 \begin_inset Phantom Phantom
41474 \begin_layout Plain Layout
41484 \begin_layout Plain Layout
41496 <cell alignment="left" valignment="top" usebox="none">
41499 \begin_layout Plain Layout
41503 \begin_layout Plain Layout
41516 \begin_layout Plain Layout
41524 \begin_inset Phantom Phantom
41527 \begin_layout Plain Layout
41537 \begin_layout Plain Layout
41551 <cell alignment="left" valignment="top" usebox="none">
41554 \begin_layout Plain Layout
41558 \begin_layout Plain Layout
41571 \begin_layout Plain Layout
41579 \begin_inset Phantom Phantom
41582 \begin_layout Plain Layout
41592 \begin_layout Plain Layout
41604 <cell alignment="left" valignment="top" usebox="none">
41607 \begin_layout Plain Layout
41613 <cell alignment="left" valignment="top" usebox="none">
41616 \begin_layout Plain Layout
41622 <cell alignment="left" valignment="top" usebox="none">
41625 \begin_layout Plain Layout
41639 \begin_layout Chapter
41641 \begin_inset CommandInset ref
41648 \begin_inset CommandInset label
41657 \begin_layout Standard
41658 \begin_inset Formula $n$
41662 \begin_inset Formula $W_{\mathrm{tot\, n}}$
41666 \begin_inset Formula
41668 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
41676 \begin_layout Standard
41678 \begin_inset Formula $W_{g\, n}$
41687 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
41688 \begin_inset space \thinspace{}
41698 \begin_inset space \thinspace{}
41704 \begin_layout Standard
41706 \begin_inset CommandInset ref
41708 reference "eq:Wtot_n"
41713 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
41717 \begin_inset Formula
41719 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
41727 \begin_layout Standard
41729 \begin_inset Formula $n$
41733 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
41737 \begin_inset CommandInset ref
41739 reference "eq:Wtot_n"
41744 \begin_inset CommandInset ref
41746 reference "eq:Wtot_mult"
41750 式が等しいものと置けば、必要となる固定幅
41751 \begin_inset Formula $W_{g\, n}$
41755 \begin_inset Formula
41757 W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
41765 \begin_layout Bibliography
41766 \labelwidthstring 参考文献
41767 \begin_inset CommandInset bibitem
41768 LatexCommand bibitem
41769 key "latexcompanion"
41773 Frank Mittelbach and Michel Goossens:
41775 The LaTeX Companion Second Edition.
41778 Addison-Wesley, 2004
41781 \begin_layout Bibliography
41782 \labelwidthstring 参考文献
41783 \begin_inset CommandInset bibitem
41784 LatexCommand bibitem
41789 Helmut Kopka and Patrick W.
41792 A Guide to LaTeX Fourth Edition.
41795 Addison-Wesley, 2003
41798 \begin_layout Bibliography
41799 \labelwidthstring 参考文献
41800 \begin_inset CommandInset bibitem
41801 LatexCommand bibitem
41808 LaTeX: A Document Preparation System.
41811 Addison-Wesley, second edition, 1994
41814 \begin_layout Bibliography
41815 \labelwidthstring 参考文献
41816 \begin_inset CommandInset bibitem
41817 LatexCommand bibitem
41825 \begin_inset CommandInset href
41828 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
41835 \begin_inset Index idx
41838 \begin_layout Plain Layout
41839 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
41847 \begin_layout Bibliography
41848 \labelwidthstring 参考文献
41849 \begin_inset CommandInset bibitem
41850 LatexCommand bibitem
41858 \begin_inset CommandInset href
41861 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
41868 \begin_inset Index idx
41871 \begin_layout Plain Layout
41872 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
41880 \begin_layout Bibliography
41881 \labelwidthstring 参考文献
41882 \begin_inset CommandInset bibitem
41883 LatexCommand bibitem
41891 \begin_inset CommandInset href
41894 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
41901 \begin_inset Index idx
41904 \begin_layout Plain Layout
41905 LaTeXぱっけーじ@LaTeXパッケージ ! caption
41913 \begin_layout Bibliography
41914 \labelwidthstring 参考文献
41915 \begin_inset CommandInset bibitem
41916 LatexCommand bibitem
41924 \begin_inset CommandInset href
41927 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
41934 \begin_inset Index idx
41937 \begin_layout Plain Layout
41938 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
41946 \begin_layout Bibliography
41947 \labelwidthstring 参考文献
41948 \begin_inset CommandInset bibitem
41949 LatexCommand bibitem
41957 \begin_inset CommandInset href
41960 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
41967 \begin_inset Index idx
41970 \begin_layout Plain Layout
41971 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
41979 \begin_layout Bibliography
41980 \labelwidthstring 参考文献
41981 \begin_inset CommandInset bibitem
41982 LatexCommand bibitem
41990 \begin_inset CommandInset href
41993 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
42000 \begin_inset Index idx
42003 \begin_layout Plain Layout
42004 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
42012 \begin_layout Bibliography
42013 \labelwidthstring 参考文献
42014 \begin_inset CommandInset bibitem
42015 LatexCommand bibitem
42023 \begin_inset CommandInset href
42026 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
42033 \begin_inset Index idx
42036 \begin_layout Plain Layout
42037 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42045 \begin_layout Bibliography
42046 \labelwidthstring 参考文献
42047 \begin_inset CommandInset bibitem
42048 LatexCommand bibitem
42056 \begin_inset CommandInset href
42059 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
42066 \begin_inset Index idx
42069 \begin_layout Plain Layout
42070 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42078 \begin_layout Bibliography
42079 \labelwidthstring 参考文献
42080 \begin_inset CommandInset bibitem
42081 LatexCommand bibitem
42089 \begin_inset CommandInset href
42092 target "http://mirror.ctan.org/macros/latex/contrib/koma-script/scrguien.pdf"
42099 \begin_inset Index idx
42102 \begin_layout Plain Layout
42103 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
42111 \begin_layout Bibliography
42112 \labelwidthstring 参考文献
42113 \begin_inset CommandInset bibitem
42114 LatexCommand bibitem
42122 \begin_inset CommandInset href
42125 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
42132 \begin_inset CommandInset href
42135 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
42140 \begin_inset Index idx
42143 \begin_layout Plain Layout
42144 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
42152 \begin_layout Bibliography
42153 \labelwidthstring 参考文献
42154 \begin_inset CommandInset bibitem
42155 LatexCommand bibitem
42163 \begin_inset CommandInset href
42166 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
42173 \begin_inset Index idx
42176 \begin_layout Plain Layout
42177 LaTeXぱっけーじ@LaTeXパッケージ ! listings
42185 \begin_layout Bibliography
42186 \labelwidthstring 参考文献
42187 \begin_inset CommandInset bibitem
42188 LatexCommand bibitem
42196 \begin_inset CommandInset href
42199 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
42206 \begin_inset Index idx
42209 \begin_layout Plain Layout
42210 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
42218 \begin_layout Bibliography
42219 \labelwidthstring 参考文献
42220 \begin_inset CommandInset bibitem
42221 LatexCommand bibitem
42229 \begin_inset CommandInset href
42232 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
42239 \begin_inset Index idx
42242 \begin_layout Plain Layout
42243 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
42251 \begin_layout Bibliography
42252 \labelwidthstring 参考文献
42253 \begin_inset CommandInset bibitem
42254 LatexCommand bibitem
42262 \begin_inset CommandInset href
42265 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
42272 \begin_inset Index idx
42275 \begin_layout Plain Layout
42276 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
42284 \begin_layout Bibliography
42285 \labelwidthstring 参考文献
42286 \begin_inset CommandInset bibitem
42287 LatexCommand bibitem
42295 \begin_inset CommandInset href
42298 target "http://tug.org/PSTricks/"
42305 \begin_inset Index idx
42308 \begin_layout Plain Layout
42309 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
42317 \begin_layout Bibliography
42318 \labelwidthstring 参考文献
42319 \begin_inset CommandInset bibitem
42320 LatexCommand bibitem
42328 \begin_inset CommandInset href
42331 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
42338 \begin_inset Index idx
42341 \begin_layout Plain Layout
42342 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
42350 \begin_layout Bibliography
42351 \labelwidthstring 参考文献
42352 \begin_inset CommandInset bibitem
42353 LatexCommand bibitem
42361 \begin_inset CommandInset href
42364 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
42371 \begin_inset Index idx
42374 \begin_layout Plain Layout
42375 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
42383 \begin_layout Bibliography
42384 \labelwidthstring 参考文献
42385 \begin_inset CommandInset bibitem
42386 LatexCommand bibitem
42396 \begin_inset CommandInset href
42399 target "http://wiki.lyx.org/LyX/NewInLyX20"
42406 \begin_layout Standard
42407 \begin_inset CommandInset index_print
42408 LatexCommand printindex