1 #LyX 2.0.0svn 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
44 \newcommand{\TabBesBeg}{%
46 \let\MyEndtable\endtable
47 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
49 \newcommand{\TabBesEnd}{%
51 \let\endtable\MyEndtable}
53 \newcommand{\FigBesBeg}{%
55 \let\MyEndfigure\endfigure
56 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
58 \newcommand{\FigBesEnd}{%
60 \let\endfigure\MyEndfigure}
62 % enables calculation of values,
65 % provides special table cell alignments
68 % increase the bottom float placement fraction
69 \renewcommand{\bottomfraction}{0.5}
71 % avoids that floats are placed before their
72 % corresponding section starts
73 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
75 % speed up the longtable calculation
76 \setcounter{LTchunksize}{100}
78 % used for scaled and rotated boxes
79 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
81 % used for colored tables
82 \@ifundefined{textcolor}
83 {\usepackage{color}}{}
84 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
85 \definecolor{lightgrey}{gray}{0.8}
87 % check for package colortbl
88 % used for colored table cells
90 \IfFileExists{colortbl.sty}
91 {\usepackage{colortbl}
92 \setboolean{colortbl}{true}}
93 {\setboolean{colortbl}{false}}
95 % used for book-style tables
98 % used to have extra space in table cells
99 \@ifundefined{extrarowheight}
100 {\usepackage{array}}{}
101 \setlength{\extrarowheight}{2pt}
103 % used for customized tables
106 {>{\centering\hspace{0pt}}m{#1}}
109 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
112 {>{\columncolor{#1}\hspace{0pt}}c}
114 \newcolumntype{V}{!{\vrule width 1.5pt}}
116 \newcolumntype{W}{!{\color{green}\vline}}
119 % insert additional vertical space of
120 % 1.5 mm between footnotes
122 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
124 % number algorithm floats within chapters
125 \numberwithin{algorithm}{chapter}
128 % ------------------------------------
129 % used to check for needed LaTeX packages
132 % check for package arydshln
133 % used for tables with dashed lines
134 \newboolean{arydshln}
135 \IfFileExists{arydshln.sty}
136 {\usepackage{arydshln}
137 \setboolean{arydshln}{true}}
138 {\setboolean{arydshln}{false}}
140 % check for package marginnote
141 % used for margin notes
142 \newboolean{marginnote}
143 \IfFileExists{marginnote.sty}
144 {\usepackage{marginnote}
145 \let\marginpar\marginnote
146 \setboolean{marginnote}{true}}
147 {\setboolean{marginnote}{false}}
149 % check for package sidecap
150 % used for captions on the side
152 \IfFileExists{sidecap.sty}
153 {\usepackage{sidecap}
154 \setboolean{sidecap}{true}}
155 {\setboolean{sidecap}{false}}
157 % redefine the \LyX macro for PDF bookmarks
158 \def\LyX{\texorpdfstring{%
159 L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
163 \renewcommand{\seename}{→}
166 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
167 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
169 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
170 \use_default_options false
171 \maintain_unincluded_children false
177 \font_typewriter default
178 \font_default_family default
186 \default_output_format default
188 \bibtex_command default
189 \index_command default
193 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
194 \pdf_author "LyX Team, Uwe Stohr"
195 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
196 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
198 \pdf_bookmarksnumbered true
199 \pdf_bookmarksopen true
200 \pdf_bookmarksopenlevel 1
201 \pdf_breaklinks false
205 \pdf_pdfusetitle false
206 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
216 \paperorientation portrait
219 \notefontcolor #0000ff
230 \paragraph_separation skip
232 \quotes_language english
235 \paperpagestyle default
239 \tracking_changes false
240 \output_changes false
242 \html_be_strict false
248 LyXにおける図表・フロート・注釈・ボックス・外部素材の詳細についての説明書
256 \begin_layout Plain Layout
258 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
259 \begin_inset CommandInset href
261 name "lyx-docs@lists.lyx.org"
262 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
273 \begin_inset Note Note
276 \begin_layout Plain Layout
283 \begin_inset Newline newline
287 \begin_inset Newline newline
295 \begin_layout Standard
296 \begin_inset CommandInset toc
297 LatexCommand tableofcontents
304 \begin_layout Standard
305 \begin_inset Note Note
308 \begin_layout Plain Layout
309 本文書の全体をPDFやPS、DVIに書き出すには、
325 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
329 \begin_layout Plain Layout
331 \begin_inset Newline newline
336 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
339 \begin_inset Newline newline
350 \begin_layout Chapter
352 \begin_inset Index idx
355 \begin_layout Plain Layout
362 \begin_inset Index idx
365 \begin_layout Plain Layout
370 \begin_layout Plain Layout
381 \begin_layout Plain Layout
396 \begin_layout Section
398 \begin_inset Index idx
401 \begin_layout Plain Layout
402 ず@図 ! がぞうだいあろぐ@画像ダイアログ
408 \begin_inset CommandInset label
417 \begin_layout Standard
418 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
419 \begin_inset Graphics
420 filename ../../images/dialog-show-new-inset_graphics.png
428 挿入\SpecialChar \menuseparator
431 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
434 \begin_layout Standard
435 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
438 \begin_layout Description
443 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
444 \begin_inset CommandInset ref
446 reference "cha:LyXで使用できる単位"
451 \begin_inset Newline newline
455 \begin_inset Index idx
458 \begin_layout Plain Layout
464 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
465 \begin_inset Newline newline
469 \begin_inset Index idx
472 \begin_layout Plain Layout
478 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
479 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
483 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
484 \begin_inset Newline newline
487 画像を右クリックすると現れるコンテクストメニューで
491 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
495 \begin_layout Description
500 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
504 ボタンを押すことによって、自動的に計算することもできます。
508 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
511 \begin_layout Description
516 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
519 \begin_inset Newline newline
524 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
527 \begin_inset Newline newline
536 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
538 \begin_inset Newline newline
541 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
542 \begin_inset CommandInset ref
544 reference "sec:PostScript"
548 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
549 \begin_inset Newline newline
557 \begin_inset Newline newline
562 zgrep %%Bounding x.eps.gz > x.eps.bb
565 \begin_inset Newline newline
568 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
569 \begin_inset Newline newline
576 フィールドでは、画像設定グループを定義したり既存のグループに所属させたりすることができます
577 \begin_inset Index idx
580 \begin_layout Plain Layout
581 ず@図 ! せっていぐるーぷ@設定グループ
586 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
587 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
588 ーを使用して、望むグループ名をチェックすることで行うこともできます。
591 \begin_layout Standard
592 \begin_inset VSpace bigskip
598 \begin_layout Standard
603 \begin_layout Plain Layout
605 \begin_inset CommandInset ref
616 の画像の例で、単独の中央揃えの段落に置いてあります。
619 \begin_layout Standard
621 \begin_inset Graphics
622 filename ../clipart/mobius.eps
632 \begin_layout Standard
633 下記は上と同じ画像ですが、下書きモードのものです。
636 \begin_layout Standard
638 \begin_inset Graphics
639 filename ../clipart/mobius.eps
650 \begin_layout Standard
651 \begin_inset Newpage newpage
657 \begin_layout Section
659 \begin_inset CommandInset label
666 \begin_inset Index idx
669 \begin_layout Plain Layout
676 \begin_inset Index idx
679 \begin_layout Plain Layout
688 \begin_layout Standard
690 \begin_inset CommandInset ref
692 reference "sec:フロートはじめに"
699 \begin_layout Standard
701 \begin_inset Graphics
702 filename ../../images/float-insert_figure.png
710 挿入\SpecialChar \menuseparator
711 フロート\SpecialChar \menuseparator
714 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
715 \begin_inset CommandInset ref
717 reference "fig:犠牲のカモノハシ"
721 のようにキャプションの上に置くこともできますし、図
722 \begin_inset CommandInset ref
724 reference "fig:エッシャー"
728 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
729 \begin_inset CommandInset ref
731 reference "sec:キャプションの配置"
738 \begin_layout Standard
739 \begin_inset Float figure
744 \begin_layout Plain Layout
746 \begin_inset Graphics
747 filename ../clipart/platypus.eps
757 \begin_layout Plain Layout
760 \begin_layout Plain Layout
761 \begin_inset CommandInset label
780 \begin_layout Standard
781 \begin_inset Float figure
786 \begin_layout Plain Layout
789 \begin_layout Plain Layout
790 \begin_inset CommandInset label
804 \begin_layout Plain Layout
806 \begin_inset Graphics
807 filename ../clipart/escher-lsd.eps
822 \begin_layout Standard
823 \begin_inset Index idx
826 \begin_layout Plain Layout
827 さんしょう@参照 ! ずへの@図への ---
833 \begin_inset CommandInset ref
835 reference "fig:犠牲のカモノハシ"
840 \begin_inset CommandInset ref
842 reference "fig:エッシャー"
846 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
848 挿入\SpecialChar \menuseparator
852 \begin_inset Graphics
853 filename ../../images/label-insert.png
859 を使用して、キャプションにラベルを挿入してください。その後、
861 挿入\SpecialChar \menuseparator
865 \begin_inset Graphics
866 filename ../../images/dialog-show-new-inset_ref.png
872 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
873 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
874 \begin_inset Newline newline
878 \begin_inset CommandInset ref
880 reference "sec:フロートの参照"
887 \begin_layout Standard
888 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
889 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
890 \begin_inset CommandInset ref
892 reference "fig:歪められた二つの像"
896 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
897 \begin_inset CommandInset ref
899 reference "fig:何かわからない構造"
904 \begin_inset CommandInset ref
906 reference "fig:カモノハシ"
913 \begin_layout Standard
914 \begin_inset Float figure
919 \begin_layout Plain Layout
920 \begin_inset space \hfill{}
924 \begin_inset Float figure
929 \begin_layout Plain Layout
932 \begin_layout Plain Layout
933 \begin_inset CommandInset label
947 \begin_layout Plain Layout
948 \begin_inset Graphics
949 filename ../clipart/escher-lsd.eps
962 \begin_inset space \hfill{}
966 \begin_inset Float figure
971 \begin_layout Plain Layout
974 \begin_layout Plain Layout
975 \begin_inset CommandInset label
989 \begin_layout Plain Layout
990 \begin_inset Graphics
991 filename ../clipart/platypus.eps
1004 \begin_inset space \hfill{}
1010 \begin_layout Plain Layout
1011 \begin_inset Caption
1013 \begin_layout Plain Layout
1014 \begin_inset CommandInset label
1016 name "fig:歪められた二つの像"
1020 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1033 \begin_layout Standard
1034 \begin_inset Newpage newpage
1040 \begin_layout Section
1042 \begin_inset CommandInset label
1049 \begin_inset Index idx
1052 \begin_layout Plain Layout
1059 \begin_inset Index idx
1062 \begin_layout Plain Layout
1071 \begin_layout Standard
1072 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1073 \begin_inset CommandInset ref
1075 reference "cha:ファイル出力形式"
1079 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1084 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1085 用するとよいでしょう。出力ファイル書式は、付録
1086 \begin_inset CommandInset ref
1088 reference "cha:ファイル出力形式"
1095 \begin_layout Standard
1096 フォントと同じく、画像形式にも以下の二つの型があります。
1099 \begin_layout Description
1100 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1101 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1106 \begin_inset Index idx
1109 \begin_layout Plain Layout
1114 \begin_layout Plain Layout
1125 \begin_layout Plain Layout
1137 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1142 \begin_inset Index idx
1145 \begin_layout Plain Layout
1150 \begin_layout Plain Layout
1161 \begin_layout Plain Layout
1173 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1182 \begin_inset Index idx
1185 \begin_layout Plain Layout
1190 \begin_layout Plain Layout
1201 \begin_layout Plain Layout
1216 \begin_layout Description
1217 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1218 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1220 \begin_inset Newline newline
1223 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1228 \begin_inset Index idx
1231 \begin_layout Plain Layout
1236 \begin_layout Plain Layout
1247 \begin_layout Plain Layout
1259 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1264 \begin_inset Index idx
1267 \begin_layout Plain Layout
1272 \begin_layout Plain Layout
1283 \begin_layout Plain Layout
1295 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1300 \begin_inset Index idx
1303 \begin_layout Plain Layout
1309 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1314 \begin_inset Index idx
1317 \begin_layout Plain Layout
1322 \begin_layout Plain Layout
1333 \begin_layout Plain Layout
1345 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1346 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1350 \begin_layout Plain Layout
1351 PDFの場合には、さらに元画像が圧縮されます。
1360 が生成するPDFファイルは、ビットマップ画像です。
1363 \begin_layout Standard
1364 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1365 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1366 \begin_inset Formula $\to$
1369 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1372 \begin_layout Chapter
1374 \begin_inset Index idx
1377 \begin_layout Plain Layout
1386 \begin_layout Section
1388 \begin_inset Index idx
1391 \begin_layout Plain Layout
1400 \begin_layout Standard
1411 \begin_inset Graphics
1412 filename ../../images/tabular-insert.png
1426 挿入\SpecialChar \menuseparator
1429 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1430 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1431 \begin_inset Newline newline
1434 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1435 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1438 \begin_layout Standard
1440 \begin_inset Tabular
1441 <lyxtabular version="3" rows="4" columns="4">
1442 <features tabularvalignment="middle">
1443 <column alignment="center" valignment="top" width="0">
1444 <column alignment="center" valignment="top" width="0">
1445 <column alignment="center" valignment="top" width="0">
1446 <column alignment="center" valignment="top" width="0">
1448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1451 \begin_layout Plain Layout
1457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1460 \begin_layout Plain Layout
1466 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1469 \begin_layout Plain Layout
1475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1478 \begin_layout Plain Layout
1486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1489 \begin_layout Plain Layout
1495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1498 \begin_layout Plain Layout
1504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1507 \begin_layout Plain Layout
1513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1516 \begin_layout Plain Layout
1524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1527 \begin_layout Plain Layout
1533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1536 \begin_layout Plain Layout
1542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1545 \begin_layout Plain Layout
1551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1554 \begin_layout Plain Layout
1562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1565 \begin_layout Plain Layout
1571 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1574 \begin_layout Plain Layout
1580 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1583 \begin_layout Plain Layout
1589 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1592 \begin_layout Plain Layout
1606 \begin_layout Section
1608 \begin_inset Index idx
1611 \begin_layout Plain Layout
1620 \begin_layout Standard
1630 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1631 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1644 を選択するのと、セル自体を選択するのは違うことに注意して下さい。表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1647 \begin_layout Description
1652 ここでは、現在列の幅と水平揃えを設定することができます。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセ
1653 ルに入れることができます。これに関しては、第
1654 \begin_inset CommandInset ref
1660 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1661 \begin_inset Newline newline
1664 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1665 \begin_inset CommandInset ref
1673 or the cells of one column as multirow cell, see section
1676 \begin_inset space ~
1680 \begin_inset CommandInset ref
1687 \begin_inset Newline newline
1690 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1691 \begin_inset Newline newline
1695 \begin_inset Note Greyedout
1698 \begin_layout Plain Layout
1703 DVIビューアのすべてが回転を表示できるわけではありません。
1709 \begin_inset Newline newline
1712 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1713 \begin_inset CommandInset ref
1715 reference "sub:連結列の計算"
1720 \begin_inset CommandInset ref
1722 reference "sec:色付きの表"
1729 \begin_layout Description
1734 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1735 \begin_inset Newline newline
1743 \begin_inset CommandInset ref
1745 reference "sec:フォーマル形式の表"
1749 節に述べられているフォーマル様式の表に表を変換します。
1750 \begin_inset Newline newline
1754 \begin_inset CommandInset ref
1756 reference "sub:行の余白取り"
1760 節に述べられているように、表の行に空白を追加することもできます。
1763 \begin_layout Description
1768 このタブは、複数のページにわたる、いわゆる「
1773 \begin_inset CommandInset ref
1780 \begin_inset CommandInset ref
1782 reference "sec:長尺表にまつわる諸点"
1786 節に、長尺表の機能に関する詳細な説明があります。
1789 \begin_layout Standard
1790 表ダイアログを開いたままでも、セル間をカーソルを使って移動することができ、その際、現在セルの特性が直ちにダイアログに表示されます。
1793 \begin_layout Section
1795 \begin_inset Index idx
1798 \begin_layout Plain Layout
1807 \begin_layout Standard
1808 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
1809 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
1812 \begin_layout Standard
1813 ツールバーには、以下のアイコンがあります。
1816 \begin_layout Labeling
1817 \begin_inset Graphics
1818 filename ../../images/tabular-feature_append-row.png
1823 は、現在セルあるいは選択範囲の下に行を追加します。
1826 \begin_layout Labeling
1827 \begin_inset Graphics
1828 filename ../../images/tabular-feature_append-column.png
1833 は、現在セルあるいは選択範囲の右に列を追加します。
1836 \begin_layout Labeling
1837 \begin_inset Graphics
1838 filename ../../images/tabular-feature_delete-row.png
1843 は、現在行あるいは選択範囲行を削除します。
1846 \begin_layout Labeling
1847 \begin_inset Graphics
1848 filename ../../images/tabular-feature_delete-column.png
1853 は、現在列あるいは選択範囲列を削除します。
1856 \begin_layout Labeling
1857 \begin_inset Graphics
1858 filename ../../images/tabular-feature_toggle-line-top.png
1863 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
1866 \begin_layout Labeling
1867 \begin_inset Graphics
1868 filename ../../images/tabular-feature_toggle-line-bottom.png
1873 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
1876 \begin_layout Labeling
1877 \begin_inset Graphics
1878 filename ../../images/tabular-feature_toggle-line-left.png
1883 は、 現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
1886 \begin_layout Labeling
1887 \begin_inset Graphics
1888 filename ../../images/tabular-feature_toggle-line-right.png
1893 は、 現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
1896 \begin_layout Labeling
1897 \begin_inset Graphics
1898 filename ../../images/tabular-feature_set-all-lines.png
1903 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
1906 \begin_layout Labeling
1907 \begin_inset Graphics
1908 filename ../../images/tabular-feature_unset-all-lines.png
1913 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
1916 \begin_layout Labeling
1917 \begin_inset Graphics
1918 filename ../../images/tabular-feature_m-align-left.png
1923 は、現在セルあるいは現在列の内容を左揃えにします。
1926 \begin_layout Labeling
1927 \begin_inset Graphics
1928 filename ../../images/tabular-feature_m-align-center.png
1933 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
1936 \begin_layout Labeling
1937 \begin_inset Graphics
1938 filename ../../images/tabular-feature_m-align-right.png
1943 は、現在セルあるいは現在列の内容を右揃えにします。
1946 \begin_layout Labeling
1947 \begin_inset Graphics
1948 filename ../../images/tabular-feature_align-decimal.png
1955 aligns the content of the current column at a character
1958 \begin_layout Labeling
1959 \begin_inset Graphics
1960 filename ../../images/tabular-feature_m-valign-top.png
1965 は、現在セルの内容を垂直方向上揃えにします。
1968 \begin_layout Labeling
1969 \begin_inset Graphics
1970 filename ../../images/tabular-feature_m-valign-middle.png
1975 は、現在セルの内容を垂直方向中央揃えにします。
1978 \begin_layout Labeling
1979 \begin_inset Graphics
1980 filename ../../images/tabular-feature_m-valign-bottom.png
1985 は、現在セルの内容を垂直方向下揃えにします。
1988 \begin_layout Labeling
1989 \begin_inset Graphics
1990 filename ../../images/tabular-feature_set-rotate-cell.png
1995 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
1998 \begin_layout Labeling
1999 \begin_inset Graphics
2000 filename ../../images/tabular-feature_set-rotate-tabular.png
2005 は、表全体を反時計廻りに90度回転します。
2008 \begin_layout Labeling
2009 \begin_inset Graphics
2010 filename ../../images/tabular-feature_multicolumn.png
2015 は、現在セルあるいは選択範囲を連結列にします。
2018 \begin_layout Labeling
2019 \begin_inset Graphics
2020 filename ../../images/tabular-feature_multirow.png
2027 sets the current cell or selection as a multirow
2030 \begin_layout Standard
2031 \begin_inset Note Greyedout
2034 \begin_layout Plain Layout
2039 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2047 \begin_layout Section
2049 \begin_inset Index idx
2052 \begin_layout Plain Layout
2053 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2061 \begin_layout Standard
2064 編集\SpecialChar \menuseparator
2067 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2071 \begin_layout Section
2073 \begin_inset CommandInset label
2080 \begin_inset Index idx
2083 \begin_layout Plain Layout
2090 \begin_inset Index idx
2093 \begin_layout Plain Layout
2102 \begin_layout Standard
2104 \begin_inset CommandInset ref
2106 reference "sec:フロートはじめに"
2113 \begin_layout Standard
2114 \begin_inset Float table
2120 \begin_layout Plain Layout
2121 \begin_inset Caption
2123 \begin_layout Plain Layout
2124 \begin_inset CommandInset label
2138 \begin_layout Plain Layout
2140 \begin_inset Tabular
2141 <lyxtabular version="3" rows="3" columns="3">
2142 <features tabularvalignment="middle">
2143 <column alignment="center" valignment="top" width="0pt">
2144 <column alignment="center" valignment="top" width="0pt">
2145 <column alignment="center" valignment="top" width="0pt">
2147 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2150 \begin_layout Plain Layout
2165 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2168 \begin_layout Plain Layout
2183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2186 \begin_layout Plain Layout
2203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2206 \begin_layout Plain Layout
2212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2215 \begin_layout Plain Layout
2221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2224 \begin_layout Plain Layout
2232 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2235 \begin_layout Plain Layout
2245 \begin_inset Formula $\int x^{2}dx$
2253 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2256 \begin_layout Plain Layout
2266 \begin_inset Formula $\left[\begin{array}{cc}
2277 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2280 \begin_layout Plain Layout
2290 \begin_inset Formula $1+1=2$
2311 \begin_layout Standard
2316 \SpecialChar \menuseparator
2317 フロート\SpecialChar \menuseparator
2322 \begin_inset Graphics
2323 filename ../../images/float-insert_table.png
2332 \begin_layout Standard
2333 フロートは折りたたむことのできるボックスとして表示され、中には「表
2334 \begin_inset space ~
2337 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2340 \begin_layout Standard
2342 \begin_inset space ~
2346 \begin_inset CommandInset ref
2348 reference "tab:表フロート"
2355 \begin_layout Standard
2356 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2357 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2363 \begin_inset Index idx
2366 \begin_layout Plain Layout
2367 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2375 \begin_layout Standard
2381 \begin_layout Standard
2382 というオプションとともにloadコマンドを使って読み込んでください
2386 \begin_layout Plain Layout
2388 \begin_inset CommandInset ref
2390 reference "sec:キャプションの配置"
2400 \begin_inset CommandInset ref
2402 reference "sec:キャプションの書式設定"
2413 \begin_layout Standard
2414 \begin_inset Index idx
2417 \begin_layout Plain Layout
2418 さんしょう@参照 ! ひょうへの@表への
2423 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2425 挿入\SpecialChar \menuseparator
2429 \begin_inset Graphics
2430 filename ../../images/label-insert.png
2436 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2438 \begin_inset Graphics
2439 filename ../../images/dialog-show-new-inset_ref.png
2445 を用いて、このラベルを参照することができます。
2446 \begin_inset Newline newline
2450 \begin_inset CommandInset ref
2452 reference "sec:フロートの参照"
2459 \begin_layout Section
2461 \begin_inset CommandInset label
2468 \begin_inset Index idx
2471 \begin_layout Plain Layout
2478 \begin_inset Index idx
2481 \begin_layout Plain Layout
2482 ひょう@表 ! ちょうしゃくひょう@長尺表
2490 \begin_layout Standard
2491 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2499 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2503 \begin_layout Description
2504 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2531 が定義されているときは、冒頭ページを除きます。
2540 これと区別して、このヘッダは本体ヘッダと呼びます。
2543 \begin_layout Description
2544 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2547 \begin_layout Description
2548 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2575 が定義されているときは、末尾ページを除きます。
2578 \begin_layout Description
2579 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2582 \begin_layout Description
2583 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2584 \begin_inset CommandInset ref
2586 reference "sub:長尺表のキャプション"
2593 \begin_layout Standard
2594 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2597 \begin_layout Standard
2599 \begin_inset Tabular
2600 <lyxtabular version="3" rows="69" columns="3">
2601 <features islongtable="true" longtabularalignment="center">
2602 <column alignment="left" valignment="top" width="0cm">
2603 <column alignment="left" valignment="top" width="0pt">
2604 <column alignment="center" valignment="top" width="0pt">
2605 <row endfirsthead="true">
2606 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2609 \begin_layout Plain Layout
2617 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2620 \begin_layout Plain Layout
2626 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2629 \begin_layout Plain Layout
2636 <row endfirsthead="true">
2637 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2640 \begin_layout Plain Layout
2646 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2649 \begin_layout Plain Layout
2655 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2658 \begin_layout Plain Layout
2667 <row endhead="true">
2668 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2671 \begin_layout Plain Layout
2679 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2682 \begin_layout Plain Layout
2688 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2691 \begin_layout Plain Layout
2698 <row endhead="true">
2699 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2702 \begin_layout Plain Layout
2708 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2711 \begin_layout Plain Layout
2717 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2720 \begin_layout Plain Layout
2729 <row endfoot="true">
2730 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2733 \begin_layout Plain Layout
2739 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2742 \begin_layout Plain Layout
2748 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2751 \begin_layout Plain Layout
2759 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2762 \begin_layout Plain Layout
2770 <cell alignment="center" valignment="top" usebox="none">
2773 \begin_layout Plain Layout
2779 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
2782 \begin_layout Plain Layout
2790 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2793 \begin_layout Plain Layout
2801 <cell alignment="center" valignment="top" usebox="none">
2804 \begin_layout Plain Layout
2810 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2813 \begin_layout Plain Layout
2821 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2824 \begin_layout Plain Layout
2832 <cell alignment="center" valignment="top" usebox="none">
2835 \begin_layout Plain Layout
2841 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2844 \begin_layout Plain Layout
2852 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2855 \begin_layout Plain Layout
2863 <cell alignment="center" valignment="top" usebox="none">
2866 \begin_layout Plain Layout
2872 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2875 \begin_layout Plain Layout
2883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2886 \begin_layout Plain Layout
2894 <cell alignment="center" valignment="top" usebox="none">
2897 \begin_layout Plain Layout
2903 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2906 \begin_layout Plain Layout
2914 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2917 \begin_layout Plain Layout
2925 <cell alignment="center" valignment="top" usebox="none">
2928 \begin_layout Plain Layout
2934 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2937 \begin_layout Plain Layout
2945 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2948 \begin_layout Plain Layout
2956 <cell alignment="center" valignment="top" usebox="none">
2959 \begin_layout Plain Layout
2965 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2968 \begin_layout Plain Layout
2976 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2979 \begin_layout Plain Layout
2987 <cell alignment="center" valignment="top" usebox="none">
2990 \begin_layout Plain Layout
2996 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2999 \begin_layout Plain Layout
3007 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3010 \begin_layout Plain Layout
3018 <cell alignment="center" valignment="top" usebox="none">
3021 \begin_layout Plain Layout
3027 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3030 \begin_layout Plain Layout
3038 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3041 \begin_layout Plain Layout
3049 <cell alignment="center" valignment="top" usebox="none">
3052 \begin_layout Plain Layout
3058 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3061 \begin_layout Plain Layout
3069 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3072 \begin_layout Plain Layout
3080 <cell alignment="center" valignment="top" usebox="none">
3083 \begin_layout Plain Layout
3089 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3092 \begin_layout Plain Layout
3100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3103 \begin_layout Plain Layout
3111 <cell alignment="center" valignment="top" usebox="none">
3114 \begin_layout Plain Layout
3120 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3123 \begin_layout Plain Layout
3131 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3134 \begin_layout Plain Layout
3142 <cell alignment="center" valignment="top" usebox="none">
3145 \begin_layout Plain Layout
3151 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3154 \begin_layout Plain Layout
3162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3165 \begin_layout Plain Layout
3173 <cell alignment="center" valignment="top" usebox="none">
3176 \begin_layout Plain Layout
3182 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3185 \begin_layout Plain Layout
3193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3196 \begin_layout Plain Layout
3204 <cell alignment="center" valignment="top" usebox="none">
3207 \begin_layout Plain Layout
3213 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3216 \begin_layout Plain Layout
3224 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3227 \begin_layout Plain Layout
3235 <cell alignment="center" valignment="top" usebox="none">
3238 \begin_layout Plain Layout
3244 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3247 \begin_layout Plain Layout
3255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3258 \begin_layout Plain Layout
3266 <cell alignment="center" valignment="top" usebox="none">
3269 \begin_layout Plain Layout
3275 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3278 \begin_layout Plain Layout
3286 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3289 \begin_layout Plain Layout
3297 <cell alignment="center" valignment="top" usebox="none">
3300 \begin_layout Plain Layout
3306 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3309 \begin_layout Plain Layout
3317 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3320 \begin_layout Plain Layout
3328 <cell alignment="center" valignment="top" usebox="none">
3331 \begin_layout Plain Layout
3337 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3340 \begin_layout Plain Layout
3348 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3351 \begin_layout Plain Layout
3359 <cell alignment="center" valignment="top" usebox="none">
3362 \begin_layout Plain Layout
3368 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3371 \begin_layout Plain Layout
3379 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3382 \begin_layout Plain Layout
3390 <cell alignment="center" valignment="top" usebox="none">
3393 \begin_layout Plain Layout
3399 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3402 \begin_layout Plain Layout
3410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3413 \begin_layout Plain Layout
3421 <cell alignment="center" valignment="top" usebox="none">
3424 \begin_layout Plain Layout
3430 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3433 \begin_layout Plain Layout
3441 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3444 \begin_layout Plain Layout
3452 <cell alignment="center" valignment="top" usebox="none">
3455 \begin_layout Plain Layout
3461 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3464 \begin_layout Plain Layout
3472 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3475 \begin_layout Plain Layout
3483 <cell alignment="center" valignment="top" usebox="none">
3486 \begin_layout Plain Layout
3492 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3495 \begin_layout Plain Layout
3503 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3506 \begin_layout Plain Layout
3514 <cell alignment="center" valignment="top" usebox="none">
3517 \begin_layout Plain Layout
3523 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3526 \begin_layout Plain Layout
3534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3537 \begin_layout Plain Layout
3545 <cell alignment="center" valignment="top" usebox="none">
3548 \begin_layout Plain Layout
3554 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3557 \begin_layout Plain Layout
3565 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3568 \begin_layout Plain Layout
3576 <cell alignment="center" valignment="top" usebox="none">
3579 \begin_layout Plain Layout
3585 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3588 \begin_layout Plain Layout
3596 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3599 \begin_layout Plain Layout
3607 <cell alignment="center" valignment="top" usebox="none">
3610 \begin_layout Plain Layout
3616 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3619 \begin_layout Plain Layout
3627 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3630 \begin_layout Plain Layout
3638 <cell alignment="center" valignment="top" usebox="none">
3641 \begin_layout Plain Layout
3647 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3650 \begin_layout Plain Layout
3658 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3661 \begin_layout Plain Layout
3669 <cell alignment="center" valignment="top" usebox="none">
3672 \begin_layout Plain Layout
3678 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3681 \begin_layout Plain Layout
3689 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3692 \begin_layout Plain Layout
3700 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3703 \begin_layout Plain Layout
3709 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3712 \begin_layout Plain Layout
3720 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3723 \begin_layout Plain Layout
3729 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3732 \begin_layout Plain Layout
3738 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3741 \begin_layout Plain Layout
3749 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3752 \begin_layout Plain Layout
3760 <cell alignment="center" valignment="top" usebox="none">
3763 \begin_layout Plain Layout
3769 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3772 \begin_layout Plain Layout
3780 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3783 \begin_layout Plain Layout
3791 <cell alignment="center" valignment="top" usebox="none">
3794 \begin_layout Plain Layout
3800 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3803 \begin_layout Plain Layout
3811 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3814 \begin_layout Plain Layout
3822 <cell alignment="center" valignment="top" usebox="none">
3825 \begin_layout Plain Layout
3831 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3834 \begin_layout Plain Layout
3842 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3845 \begin_layout Plain Layout
3853 <cell alignment="center" valignment="top" usebox="none">
3856 \begin_layout Plain Layout
3862 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3865 \begin_layout Plain Layout
3873 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3876 \begin_layout Plain Layout
3884 <cell alignment="center" valignment="top" usebox="none">
3887 \begin_layout Plain Layout
3893 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3896 \begin_layout Plain Layout
3904 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3907 \begin_layout Plain Layout
3915 <cell alignment="center" valignment="top" usebox="none">
3918 \begin_layout Plain Layout
3924 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3927 \begin_layout Plain Layout
3935 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3938 \begin_layout Plain Layout
3946 <cell alignment="center" valignment="top" usebox="none">
3949 \begin_layout Plain Layout
3955 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3958 \begin_layout Plain Layout
3966 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3969 \begin_layout Plain Layout
3977 <cell alignment="center" valignment="top" usebox="none">
3980 \begin_layout Plain Layout
3986 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3989 \begin_layout Plain Layout
3997 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4000 \begin_layout Plain Layout
4008 <cell alignment="center" valignment="top" usebox="none">
4011 \begin_layout Plain Layout
4017 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4020 \begin_layout Plain Layout
4028 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4031 \begin_layout Plain Layout
4039 <cell alignment="center" valignment="top" usebox="none">
4042 \begin_layout Plain Layout
4048 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4051 \begin_layout Plain Layout
4059 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4062 \begin_layout Plain Layout
4070 <cell alignment="center" valignment="top" usebox="none">
4073 \begin_layout Plain Layout
4079 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4082 \begin_layout Plain Layout
4090 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4093 \begin_layout Plain Layout
4101 <cell alignment="center" valignment="top" usebox="none">
4104 \begin_layout Plain Layout
4110 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4113 \begin_layout Plain Layout
4121 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4124 \begin_layout Plain Layout
4132 <cell alignment="center" valignment="top" usebox="none">
4135 \begin_layout Plain Layout
4141 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4144 \begin_layout Plain Layout
4152 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4155 \begin_layout Plain Layout
4163 <cell alignment="center" valignment="top" usebox="none">
4166 \begin_layout Plain Layout
4172 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4175 \begin_layout Plain Layout
4183 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4186 \begin_layout Plain Layout
4194 <cell alignment="center" valignment="top" usebox="none">
4197 \begin_layout Plain Layout
4203 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4206 \begin_layout Plain Layout
4214 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4217 \begin_layout Plain Layout
4225 <cell alignment="center" valignment="top" usebox="none">
4228 \begin_layout Plain Layout
4234 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4237 \begin_layout Plain Layout
4245 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4248 \begin_layout Plain Layout
4256 <cell alignment="center" valignment="top" usebox="none">
4259 \begin_layout Plain Layout
4265 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4268 \begin_layout Plain Layout
4276 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4279 \begin_layout Plain Layout
4287 <cell alignment="center" valignment="top" usebox="none">
4290 \begin_layout Plain Layout
4296 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4299 \begin_layout Plain Layout
4307 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4310 \begin_layout Plain Layout
4318 <cell alignment="center" valignment="top" usebox="none">
4321 \begin_layout Plain Layout
4327 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4330 \begin_layout Plain Layout
4338 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4341 \begin_layout Plain Layout
4349 <cell alignment="center" valignment="top" usebox="none">
4352 \begin_layout Plain Layout
4358 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4361 \begin_layout Plain Layout
4369 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4372 \begin_layout Plain Layout
4380 <cell alignment="center" valignment="top" usebox="none">
4383 \begin_layout Plain Layout
4389 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4392 \begin_layout Plain Layout
4400 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4403 \begin_layout Plain Layout
4411 <cell alignment="center" valignment="top" usebox="none">
4414 \begin_layout Plain Layout
4420 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4423 \begin_layout Plain Layout
4431 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4434 \begin_layout Plain Layout
4442 <cell alignment="center" valignment="top" usebox="none">
4445 \begin_layout Plain Layout
4451 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4454 \begin_layout Plain Layout
4462 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4465 \begin_layout Plain Layout
4473 <cell alignment="center" valignment="top" usebox="none">
4476 \begin_layout Plain Layout
4482 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4485 \begin_layout Plain Layout
4493 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4496 \begin_layout Plain Layout
4504 <cell alignment="center" valignment="top" usebox="none">
4507 \begin_layout Plain Layout
4513 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4516 \begin_layout Plain Layout
4524 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4527 \begin_layout Plain Layout
4535 <cell alignment="center" valignment="top" usebox="none">
4538 \begin_layout Plain Layout
4544 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4547 \begin_layout Plain Layout
4555 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4558 \begin_layout Plain Layout
4566 <cell alignment="center" valignment="top" usebox="none">
4569 \begin_layout Plain Layout
4575 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4578 \begin_layout Plain Layout
4586 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4589 \begin_layout Plain Layout
4597 <cell alignment="center" valignment="top" usebox="none">
4600 \begin_layout Plain Layout
4606 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4609 \begin_layout Plain Layout
4617 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4620 \begin_layout Plain Layout
4628 <cell alignment="center" valignment="top" usebox="none">
4631 \begin_layout Plain Layout
4637 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4640 \begin_layout Plain Layout
4648 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4651 \begin_layout Plain Layout
4659 <cell alignment="center" valignment="top" usebox="none">
4662 \begin_layout Plain Layout
4668 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4671 \begin_layout Plain Layout
4679 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4682 \begin_layout Plain Layout
4690 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4693 \begin_layout Plain Layout
4699 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4702 \begin_layout Plain Layout
4709 <row endlastfoot="true">
4710 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4713 \begin_layout Plain Layout
4719 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4722 \begin_layout Plain Layout
4728 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4731 \begin_layout Plain Layout
4746 \begin_layout Plain Layout
4750 addtocounter{table}{-1}
4756 \begin_inset Note Note
4759 \begin_layout Plain Layout
4761 \begin_inset CommandInset ref
4763 reference "sub:長尺表のキャプション"
4775 \begin_layout Subsection
4777 \begin_inset CommandInset label
4784 \begin_inset Index idx
4787 \begin_layout Plain Layout
4788 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
4796 \begin_layout Standard
4797 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
4798 \begin_inset CommandInset ref
4800 reference "tab:別キャプション"
4807 \begin_layout Subsection
4809 \begin_inset Index idx
4812 \begin_layout Plain Layout
4813 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
4821 \begin_layout Standard
4824 The horizontal alignment of longtables can be set in the table settings
4826 For left- and right-alignment the table will be directly at the page border.
4827 To add space between the table and the border one has to set the alignment
4828 to center and change the value of the LaTeX-lengths
4840 by inserting this line as TeX-Code before the longtable:
4843 \begin_layout Standard
4853 \begin_layout Standard
4854 という行を当該長尺表の前にTeXコードとして挿入して、長さ
4866 の値を変更しなくてはなりません。ここで「値」は、第
4867 \begin_inset CommandInset ref
4873 表に挙げてある単位であれば、どの単位を取ることもできます。
4879 は、左頁余白から長尺表までの水平方向の距離を制御し、
4885 は、右頁余白からの距離を制御します。これらの長さの既定値は
4891 となっており、LyXの水平フィルと同等になっています。
4894 \begin_layout Standard
4897 The following longtable was centered and
4919 \begin_layout Plain Layout
4935 \begin_layout Standard
4936 \begin_inset Tabular
4937 <lyxtabular version="3" rows="5" columns="5">
4938 <features islongtable="true" longtabularalignment="center">
4939 <column alignment="center" valignment="top" width="0">
4940 <column alignment="center" valignment="top" width="0">
4941 <column alignment="center" valignment="top" width="0">
4942 <column alignment="center" valignment="top" width="0">
4943 <column alignment="center" valignment="top" width="0">
4945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4948 \begin_layout Plain Layout
4954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4957 \begin_layout Plain Layout
4963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4966 \begin_layout Plain Layout
4972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4975 \begin_layout Plain Layout
4981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4984 \begin_layout Plain Layout
4992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4995 \begin_layout Plain Layout
5001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5004 \begin_layout Plain Layout
5010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5013 \begin_layout Plain Layout
5019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5022 \begin_layout Plain Layout
5028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5031 \begin_layout Plain Layout
5039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5042 \begin_layout Plain Layout
5048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5051 \begin_layout Plain Layout
5057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5060 \begin_layout Plain Layout
5066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5069 \begin_layout Plain Layout
5075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5078 \begin_layout Plain Layout
5086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5089 \begin_layout Plain Layout
5095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5098 \begin_layout Plain Layout
5104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5107 \begin_layout Plain Layout
5113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5116 \begin_layout Plain Layout
5122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5125 \begin_layout Plain Layout
5133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5136 \begin_layout Plain Layout
5142 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5145 \begin_layout Plain Layout
5151 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5154 \begin_layout Plain Layout
5160 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5163 \begin_layout Plain Layout
5169 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5172 \begin_layout Plain Layout
5187 \begin_layout Plain Layout
5204 \begin_layout Plain Layout
5208 addtocounter{table}{-1}
5214 \begin_inset Note Note
5217 \begin_layout Plain Layout
5219 \begin_inset CommandInset ref
5221 reference "sub:長尺表のキャプション"
5233 \begin_layout Subsection
5235 \begin_inset Index idx
5238 \begin_layout Plain Layout
5239 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5245 \begin_inset CommandInset label
5247 name "sub:長尺表のキャプション"
5254 \begin_layout Standard
5255 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5256 \begin_inset CommandInset ref
5262 節に述べられているように、ある行で長尺表オプションの
5266 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5269 \begin_layout Standard
5270 以下は、動作を確認するための短い長尺表です。
5273 \begin_layout Standard
5274 \begin_inset Tabular
5275 <lyxtabular version="3" rows="6" columns="5">
5276 <features islongtable="true" longtabularalignment="center">
5277 <column alignment="center" valignment="top" width="0">
5278 <column alignment="center" valignment="top" width="0">
5279 <column alignment="center" valignment="top" width="0">
5280 <column alignment="center" valignment="top" width="0">
5281 <column alignment="center" valignment="top" width="0">
5282 <row caption="true">
5283 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5286 \begin_layout Plain Layout
5287 \begin_inset Caption
5289 \begin_layout Plain Layout
5291 \begin_inset Argument
5294 \begin_layout Plain Layout
5310 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5313 \begin_layout Plain Layout
5319 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5322 \begin_layout Plain Layout
5328 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5331 \begin_layout Plain Layout
5337 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5340 \begin_layout Plain Layout
5348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5351 \begin_layout Plain Layout
5357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5360 \begin_layout Plain Layout
5366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5369 \begin_layout Plain Layout
5375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5378 \begin_layout Plain Layout
5384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5387 \begin_layout Plain Layout
5395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5398 \begin_layout Plain Layout
5404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5407 \begin_layout Plain Layout
5413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5416 \begin_layout Plain Layout
5422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5425 \begin_layout Plain Layout
5431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5434 \begin_layout Plain Layout
5442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5445 \begin_layout Plain Layout
5451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5454 \begin_layout Plain Layout
5460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5463 \begin_layout Plain Layout
5469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5472 \begin_layout Plain Layout
5478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5481 \begin_layout Plain Layout
5489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5492 \begin_layout Plain Layout
5498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5501 \begin_layout Plain Layout
5507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5510 \begin_layout Plain Layout
5516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5519 \begin_layout Plain Layout
5525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5528 \begin_layout Plain Layout
5536 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5539 \begin_layout Plain Layout
5545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5548 \begin_layout Plain Layout
5554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5557 \begin_layout Plain Layout
5563 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5566 \begin_layout Plain Layout
5572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5575 \begin_layout Plain Layout
5589 \begin_layout Standard
5590 \begin_inset VSpace medskip
5594 \begin_inset Note Greyedout
5597 \begin_layout Plain Layout
5602 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5603 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5606 \begin_layout Plain Layout
5611 addtocounter{table}{-1}
5614 \begin_layout Plain Layout
5615 というコマンドを挿入する方法があります。
5618 \begin_layout Plain Layout
5619 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5622 \begin_layout Plain Layout
5632 \begin_inset Newline newline
5643 addtocounter{table}{-1}}
5651 \begin_layout Standard
5652 \begin_inset Note Greyedout
5655 \begin_layout Plain Layout
5673 \begin_inset Index idx
5676 \begin_layout Plain Layout
5677 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5682 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5690 \begin_layout Subsubsection
5692 \begin_inset Index idx
5695 \begin_layout Plain Layout
5696 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5704 \begin_layout Standard
5705 \begin_inset Tabular
5706 <lyxtabular version="3" rows="6" columns="5">
5707 <features islongtable="true" longtabularalignment="center">
5708 <column alignment="center" valignment="top" width="0">
5709 <column alignment="center" valignment="top" width="0">
5710 <column alignment="center" valignment="top" width="0">
5711 <column alignment="center" valignment="top" width="0">
5712 <column alignment="center" valignment="top" width="0">
5713 <row caption="true">
5714 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5717 \begin_layout Plain Layout
5718 \begin_inset Caption
5720 \begin_layout Plain Layout
5722 \begin_inset CommandInset label
5738 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5741 \begin_layout Plain Layout
5747 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5750 \begin_layout Plain Layout
5756 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5759 \begin_layout Plain Layout
5765 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5768 \begin_layout Plain Layout
5776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5779 \begin_layout Plain Layout
5785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5788 \begin_layout Plain Layout
5794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5797 \begin_layout Plain Layout
5803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5806 \begin_layout Plain Layout
5812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5815 \begin_layout Plain Layout
5823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5826 \begin_layout Plain Layout
5832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5835 \begin_layout Plain Layout
5841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5844 \begin_layout Plain Layout
5850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5853 \begin_layout Plain Layout
5859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5862 \begin_layout Plain Layout
5870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5873 \begin_layout Plain Layout
5879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5882 \begin_layout Plain Layout
5888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5891 \begin_layout Plain Layout
5897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5900 \begin_layout Plain Layout
5906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5909 \begin_layout Plain Layout
5917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5920 \begin_layout Plain Layout
5926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5929 \begin_layout Plain Layout
5935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5938 \begin_layout Plain Layout
5944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5947 \begin_layout Plain Layout
5953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5956 \begin_layout Plain Layout
5964 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5967 \begin_layout Plain Layout
5973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5976 \begin_layout Plain Layout
5982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5985 \begin_layout Plain Layout
5991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5994 \begin_layout Plain Layout
6000 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6003 \begin_layout Plain Layout
6017 \begin_layout Standard
6018 長尺表を参照するには、キャプションにラベルを挿入してください。
6021 \begin_layout Standard
6023 \begin_inset CommandInset ref
6032 \begin_layout Standard
6033 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6038 \begin_inset Index idx
6041 \begin_layout Plain Layout
6042 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6048 \begin_inset CommandInset ref
6050 reference "sec:キャプションの書式設定"
6057 \begin_layout Subsubsection
6059 \begin_inset Index idx
6062 \begin_layout Plain Layout
6063 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6071 \begin_layout Standard
6078 によって指定することができます。既定値は4
6079 \begin_inset space \thinspace{}
6082 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6085 \begin_layout Standard
6095 \begin_layout Standard
6096 というコマンドを書き加えて下さい。ここで「幅」には、付録
6097 \begin_inset CommandInset ref
6099 reference "cha:LyXで使用できる単位"
6103 に挙げられている単位を取ることができます。
6106 \begin_layout Standard
6110 \begin_layout Standard
6111 \begin_inset Tabular
6112 <lyxtabular version="3" rows="6" columns="5">
6113 <features islongtable="true" longtabularalignment="center">
6114 <column alignment="center" valignment="top" width="0">
6115 <column alignment="center" valignment="top" width="0">
6116 <column alignment="center" valignment="top" width="0">
6117 <column alignment="center" valignment="top" width="0">
6118 <column alignment="center" valignment="top" width="0">
6119 <row caption="true">
6120 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6123 \begin_layout Plain Layout
6124 \begin_inset Caption
6126 \begin_layout Plain Layout
6127 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6128 \begin_inset Argument
6131 \begin_layout Plain Layout
6147 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6150 \begin_layout Plain Layout
6156 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6159 \begin_layout Plain Layout
6165 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6168 \begin_layout Plain Layout
6174 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6177 \begin_layout Plain Layout
6185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6188 \begin_layout Plain Layout
6194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6197 \begin_layout Plain Layout
6203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6206 \begin_layout Plain Layout
6212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6215 \begin_layout Plain Layout
6221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6224 \begin_layout Plain Layout
6232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6235 \begin_layout Plain Layout
6241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6244 \begin_layout Plain Layout
6250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6253 \begin_layout Plain Layout
6259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6262 \begin_layout Plain Layout
6268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6271 \begin_layout Plain Layout
6279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6282 \begin_layout Plain Layout
6288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6291 \begin_layout Plain Layout
6297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6300 \begin_layout Plain Layout
6306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6309 \begin_layout Plain Layout
6315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6318 \begin_layout Plain Layout
6326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6329 \begin_layout Plain Layout
6335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6338 \begin_layout Plain Layout
6344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6347 \begin_layout Plain Layout
6353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6356 \begin_layout Plain Layout
6362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6365 \begin_layout Plain Layout
6373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6376 \begin_layout Plain Layout
6382 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6385 \begin_layout Plain Layout
6391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6394 \begin_layout Plain Layout
6400 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6403 \begin_layout Plain Layout
6409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6412 \begin_layout Plain Layout
6426 \begin_layout Standard
6430 \begin_layout Plain Layout
6442 \begin_inset Tabular
6443 <lyxtabular version="3" rows="6" columns="5">
6444 <features islongtable="true" longtabularalignment="center">
6445 <column alignment="center" valignment="top" width="0">
6446 <column alignment="center" valignment="top" width="0">
6447 <column alignment="center" valignment="top" width="0">
6448 <column alignment="center" valignment="top" width="0">
6449 <column alignment="center" valignment="top" width="0">
6450 <row caption="true">
6451 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6454 \begin_layout Plain Layout
6455 \begin_inset Caption
6457 \begin_layout Plain Layout
6459 \begin_inset space \thinspace{}
6463 \begin_inset space \thinspace{}
6467 \begin_inset space \thinspace{}
6471 \begin_inset Argument
6474 \begin_layout Plain Layout
6476 \begin_inset space \thinspace{}
6494 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6497 \begin_layout Plain Layout
6503 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6506 \begin_layout Plain Layout
6512 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6515 \begin_layout Plain Layout
6521 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6524 \begin_layout Plain Layout
6532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6535 \begin_layout Plain Layout
6541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6544 \begin_layout Plain Layout
6550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6553 \begin_layout Plain Layout
6559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6562 \begin_layout Plain Layout
6568 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6571 \begin_layout Plain Layout
6579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6582 \begin_layout Plain Layout
6588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6591 \begin_layout Plain Layout
6597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6600 \begin_layout Plain Layout
6606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6609 \begin_layout Plain Layout
6615 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6618 \begin_layout Plain Layout
6626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6629 \begin_layout Plain Layout
6635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6638 \begin_layout Plain Layout
6644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6647 \begin_layout Plain Layout
6653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6656 \begin_layout Plain Layout
6662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6665 \begin_layout Plain Layout
6673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6676 \begin_layout Plain Layout
6682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6685 \begin_layout Plain Layout
6691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6694 \begin_layout Plain Layout
6700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6703 \begin_layout Plain Layout
6709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6712 \begin_layout Plain Layout
6720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6723 \begin_layout Plain Layout
6729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6732 \begin_layout Plain Layout
6738 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6741 \begin_layout Plain Layout
6747 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6750 \begin_layout Plain Layout
6756 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6759 \begin_layout Plain Layout
6773 \begin_layout Standard
6777 \begin_layout Plain Layout
6791 \begin_layout Standard
6792 \begin_inset Note Greyedout
6795 \begin_layout Plain Layout
6805 \begin_inset Index idx
6808 \begin_layout Plain Layout
6809 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6821 \begin_inset space \thinspace{}
6824 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
6825 \begin_inset space \thinspace{}
6828 in幅のキャプションを作るには、3.99
6829 \begin_inset space \thinspace{}
6833 \begin_inset space \thinspace{}
6844 captionsetup{width=値}
6846 というLaTeXコマンドを用いる方法があります。
6854 \begin_layout Subsubsection
6856 \begin_inset Index idx
6859 \begin_layout Plain Layout
6860 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
6868 \begin_layout Standard
6869 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
6872 \begin_layout Standard
6884 \begin_layout Standard
6885 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
6886 \begin_inset CommandInset ref
6888 reference "tab:別キャプション"
6892 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
6895 \begin_layout Standard
6897 \begin_inset Tabular
6898 <lyxtabular version="3" rows="59" columns="3">
6899 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
6900 <column alignment="left" valignment="top" width="0cm">
6901 <column alignment="left" valignment="top" width="0pt">
6902 <column alignment="center" valignment="top" width="0pt">
6903 <row caption="true">
6904 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
6907 \begin_layout Plain Layout
6908 \begin_inset Caption
6910 \begin_layout Plain Layout
6912 \begin_inset CommandInset label
6919 \begin_inset Argument
6922 \begin_layout Plain Layout
6938 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6941 \begin_layout Plain Layout
6947 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6950 \begin_layout Plain Layout
6957 <row endfirsthead="true">
6958 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6961 \begin_layout Plain Layout
6969 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
6972 \begin_layout Plain Layout
6978 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
6981 \begin_layout Plain Layout
6988 <row endfirsthead="true">
6989 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6992 \begin_layout Plain Layout
7000 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7003 \begin_layout Plain Layout
7009 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7012 \begin_layout Plain Layout
7021 <row endhead="true">
7022 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7025 \begin_layout Plain Layout
7029 \begin_layout Plain Layout
7047 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7050 \begin_layout Plain Layout
7056 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7059 \begin_layout Plain Layout
7066 <row endhead="true">
7067 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7070 \begin_layout Plain Layout
7078 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7081 \begin_layout Plain Layout
7087 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7090 \begin_layout Plain Layout
7097 <row endhead="true">
7098 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7101 \begin_layout Plain Layout
7109 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7112 \begin_layout Plain Layout
7118 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7121 \begin_layout Plain Layout
7130 <row endfoot="true">
7131 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7134 \begin_layout Plain Layout
7140 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7143 \begin_layout Plain Layout
7149 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7152 \begin_layout Plain Layout
7160 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7163 \begin_layout Plain Layout
7171 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7174 \begin_layout Plain Layout
7180 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7183 \begin_layout Plain Layout
7191 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7194 \begin_layout Plain Layout
7202 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7205 \begin_layout Plain Layout
7211 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7214 \begin_layout Plain Layout
7222 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7225 \begin_layout Plain Layout
7233 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7236 \begin_layout Plain Layout
7242 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7245 \begin_layout Plain Layout
7253 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7256 \begin_layout Plain Layout
7264 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7267 \begin_layout Plain Layout
7273 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7276 \begin_layout Plain Layout
7284 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7287 \begin_layout Plain Layout
7295 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7298 \begin_layout Plain Layout
7304 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7307 \begin_layout Plain Layout
7315 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7318 \begin_layout Plain Layout
7326 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7329 \begin_layout Plain Layout
7335 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7338 \begin_layout Plain Layout
7346 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7349 \begin_layout Plain Layout
7357 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7360 \begin_layout Plain Layout
7366 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7369 \begin_layout Plain Layout
7377 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7380 \begin_layout Plain Layout
7388 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7391 \begin_layout Plain Layout
7397 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7400 \begin_layout Plain Layout
7408 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7411 \begin_layout Plain Layout
7419 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7422 \begin_layout Plain Layout
7428 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7431 \begin_layout Plain Layout
7439 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7442 \begin_layout Plain Layout
7450 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7453 \begin_layout Plain Layout
7459 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7462 \begin_layout Plain Layout
7470 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7473 \begin_layout Plain Layout
7481 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7484 \begin_layout Plain Layout
7490 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7493 \begin_layout Plain Layout
7501 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7504 \begin_layout Plain Layout
7512 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7515 \begin_layout Plain Layout
7521 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7524 \begin_layout Plain Layout
7532 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7535 \begin_layout Plain Layout
7543 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7546 \begin_layout Plain Layout
7552 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7555 \begin_layout Plain Layout
7563 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7566 \begin_layout Plain Layout
7574 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7577 \begin_layout Plain Layout
7583 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7586 \begin_layout Plain Layout
7594 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7597 \begin_layout Plain Layout
7606 \begin_layout Plain Layout
7617 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7620 \begin_layout Plain Layout
7626 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7629 \begin_layout Plain Layout
7637 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7640 \begin_layout Plain Layout
7648 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7651 \begin_layout Plain Layout
7657 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7660 \begin_layout Plain Layout
7668 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7671 \begin_layout Plain Layout
7679 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7682 \begin_layout Plain Layout
7688 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7691 \begin_layout Plain Layout
7699 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7702 \begin_layout Plain Layout
7710 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7713 \begin_layout Plain Layout
7719 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7722 \begin_layout Plain Layout
7730 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7733 \begin_layout Plain Layout
7741 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7744 \begin_layout Plain Layout
7750 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7753 \begin_layout Plain Layout
7761 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7764 \begin_layout Plain Layout
7772 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7775 \begin_layout Plain Layout
7781 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7784 \begin_layout Plain Layout
7792 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7795 \begin_layout Plain Layout
7803 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7806 \begin_layout Plain Layout
7812 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7815 \begin_layout Plain Layout
7823 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7826 \begin_layout Plain Layout
7834 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7837 \begin_layout Plain Layout
7843 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7846 \begin_layout Plain Layout
7854 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7857 \begin_layout Plain Layout
7865 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7868 \begin_layout Plain Layout
7874 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7877 \begin_layout Plain Layout
7885 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7888 \begin_layout Plain Layout
7896 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7899 \begin_layout Plain Layout
7905 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7908 \begin_layout Plain Layout
7916 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7919 \begin_layout Plain Layout
7927 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7930 \begin_layout Plain Layout
7936 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7939 \begin_layout Plain Layout
7947 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7950 \begin_layout Plain Layout
7958 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7961 \begin_layout Plain Layout
7967 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7970 \begin_layout Plain Layout
7978 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7981 \begin_layout Plain Layout
7989 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7992 \begin_layout Plain Layout
7998 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8001 \begin_layout Plain Layout
8009 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8012 \begin_layout Plain Layout
8020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8023 \begin_layout Plain Layout
8029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8032 \begin_layout Plain Layout
8040 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8043 \begin_layout Plain Layout
8051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8054 \begin_layout Plain Layout
8060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8063 \begin_layout Plain Layout
8071 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8074 \begin_layout Plain Layout
8082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8085 \begin_layout Plain Layout
8091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8094 \begin_layout Plain Layout
8102 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8105 \begin_layout Plain Layout
8113 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8116 \begin_layout Plain Layout
8122 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8125 \begin_layout Plain Layout
8133 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8136 \begin_layout Plain Layout
8142 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8145 \begin_layout Plain Layout
8151 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8154 \begin_layout Plain Layout
8162 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8165 \begin_layout Plain Layout
8173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8176 \begin_layout Plain Layout
8182 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8185 \begin_layout Plain Layout
8193 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8196 \begin_layout Plain Layout
8204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8207 \begin_layout Plain Layout
8213 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8216 \begin_layout Plain Layout
8224 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8227 \begin_layout Plain Layout
8235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8238 \begin_layout Plain Layout
8244 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8247 \begin_layout Plain Layout
8255 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8258 \begin_layout Plain Layout
8266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8269 \begin_layout Plain Layout
8275 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8278 \begin_layout Plain Layout
8286 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8289 \begin_layout Plain Layout
8297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8300 \begin_layout Plain Layout
8306 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8309 \begin_layout Plain Layout
8317 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8320 \begin_layout Plain Layout
8328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8331 \begin_layout Plain Layout
8337 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8340 \begin_layout Plain Layout
8348 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8351 \begin_layout Plain Layout
8359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8362 \begin_layout Plain Layout
8368 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8371 \begin_layout Plain Layout
8379 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8382 \begin_layout Plain Layout
8390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8393 \begin_layout Plain Layout
8399 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8402 \begin_layout Plain Layout
8410 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8413 \begin_layout Plain Layout
8421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8424 \begin_layout Plain Layout
8430 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8433 \begin_layout Plain Layout
8441 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8444 \begin_layout Plain Layout
8452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8455 \begin_layout Plain Layout
8461 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8464 \begin_layout Plain Layout
8472 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8475 \begin_layout Plain Layout
8483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8486 \begin_layout Plain Layout
8492 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8495 \begin_layout Plain Layout
8503 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8506 \begin_layout Plain Layout
8514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8517 \begin_layout Plain Layout
8523 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8526 \begin_layout Plain Layout
8534 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8537 \begin_layout Plain Layout
8545 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8548 \begin_layout Plain Layout
8554 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8557 \begin_layout Plain Layout
8565 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8568 \begin_layout Plain Layout
8576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8579 \begin_layout Plain Layout
8585 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8588 \begin_layout Plain Layout
8596 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8599 \begin_layout Plain Layout
8607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8610 \begin_layout Plain Layout
8616 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8619 \begin_layout Plain Layout
8627 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8630 \begin_layout Plain Layout
8638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8641 \begin_layout Plain Layout
8647 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8650 \begin_layout Plain Layout
8658 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8661 \begin_layout Plain Layout
8669 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8672 \begin_layout Plain Layout
8678 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8681 \begin_layout Plain Layout
8689 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8692 \begin_layout Plain Layout
8700 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8703 \begin_layout Plain Layout
8709 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8712 \begin_layout Plain Layout
8720 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8723 \begin_layout Plain Layout
8731 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8734 \begin_layout Plain Layout
8740 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8743 \begin_layout Plain Layout
8751 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8754 \begin_layout Plain Layout
8762 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8765 \begin_layout Plain Layout
8771 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8774 \begin_layout Plain Layout
8788 \begin_layout Section
8790 \begin_inset CommandInset label
8792 name "sec:長尺表にまつわる諸点"
8799 \begin_layout Subsection
8801 \begin_inset Index idx
8804 \begin_layout Plain Layout
8805 ちょうしゃくひょう@長尺表 ! けいさん@計算
8813 \begin_layout Standard
8814 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
8815 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
8818 \begin_layout Standard
8823 setcounter{LTchunksize}{100}
8826 \begin_layout Standard
8827 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
8830 \begin_layout Subsection
8832 \begin_inset Index idx
8835 \begin_layout Plain Layout
8836 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
8844 \begin_layout Standard
8845 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
8851 コマンドを長尺表の前にTeXコードとして書き加えてください。
8854 \begin_layout Subsection
8856 \begin_inset Index idx
8859 \begin_layout Plain Layout
8860 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
8868 \begin_layout Standard
8869 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
8886 コマンドの前には、現セルよりも右にある列数と同じ数の「
8890 」文字を、TeXコードで挿入してやる必要があります。この
8898 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
8899 \begin_inset Newline newline
8910 コマンドの後ろには、現在列の左側にある列数と同じ数の
8915 \begin_inset CommandInset ref
8917 reference "tab:強制改頁"
8921 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
8924 \begin_layout Standard
8934 \begin_inset Newline newline
8940 \begin_layout Standard
8945 」の後にTeXコードとして挿入してあります。
8948 \begin_layout Standard
8949 同一行3列目の「111」は削除してあります。
8955 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
8956 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
8959 \begin_layout Standard
8967 \begin_inset Newline newline
8975 \begin_layout Standard
8979 \begin_layout Standard
8980 改頁をしたいセルが最右列にある場合には、
8983 \begin_layout Standard
8993 \begin_layout Standard
8994 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
8998 \begin_layout Standard
9000 \begin_inset Tabular
9001 <lyxtabular version="3" rows="38" columns="3">
9002 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9003 <column alignment="left" valignment="top" width="0cm">
9004 <column alignment="left" valignment="top" width="3cm">
9005 <column alignment="center" valignment="top" width="0pt">
9006 <row caption="true">
9007 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9010 \begin_layout Plain Layout
9011 \begin_inset Caption
9013 \begin_layout Plain Layout
9015 \begin_inset CommandInset label
9022 \begin_inset Argument
9025 \begin_layout Plain Layout
9041 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9044 \begin_layout Plain Layout
9050 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9053 \begin_layout Plain Layout
9060 <row endfirsthead="true">
9061 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9064 \begin_layout Plain Layout
9072 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9075 \begin_layout Plain Layout
9081 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9084 \begin_layout Plain Layout
9091 <row endfirsthead="true">
9092 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9095 \begin_layout Plain Layout
9103 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9106 \begin_layout Plain Layout
9112 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9115 \begin_layout Plain Layout
9124 <row endhead="true">
9125 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9128 \begin_layout Plain Layout
9132 \begin_layout Plain Layout
9150 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9153 \begin_layout Plain Layout
9159 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9162 \begin_layout Plain Layout
9169 <row endhead="true">
9170 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9173 \begin_layout Plain Layout
9179 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9182 \begin_layout Plain Layout
9188 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9191 \begin_layout Plain Layout
9198 <row endhead="true">
9199 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9202 \begin_layout Plain Layout
9210 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9213 \begin_layout Plain Layout
9219 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9222 \begin_layout Plain Layout
9231 <row endfoot="true">
9232 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9235 \begin_layout Plain Layout
9241 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9244 \begin_layout Plain Layout
9250 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9253 \begin_layout Plain Layout
9261 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9264 \begin_layout Plain Layout
9272 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9275 \begin_layout Plain Layout
9281 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9284 \begin_layout Plain Layout
9292 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9295 \begin_layout Plain Layout
9303 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9306 \begin_layout Plain Layout
9312 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9315 \begin_layout Plain Layout
9323 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9326 \begin_layout Plain Layout
9334 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9337 \begin_layout Plain Layout
9343 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9346 \begin_layout Plain Layout
9354 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9357 \begin_layout Plain Layout
9365 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9368 \begin_layout Plain Layout
9374 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9377 \begin_layout Plain Layout
9385 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9388 \begin_layout Plain Layout
9396 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9399 \begin_layout Plain Layout
9405 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9408 \begin_layout Plain Layout
9416 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9419 \begin_layout Plain Layout
9427 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9430 \begin_layout Plain Layout
9436 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9439 \begin_layout Plain Layout
9447 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9450 \begin_layout Plain Layout
9458 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9461 \begin_layout Plain Layout
9467 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9470 \begin_layout Plain Layout
9478 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9481 \begin_layout Plain Layout
9489 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9492 \begin_layout Plain Layout
9498 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9501 \begin_layout Plain Layout
9509 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9512 \begin_layout Plain Layout
9520 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9523 \begin_layout Plain Layout
9529 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9532 \begin_layout Plain Layout
9540 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9543 \begin_layout Plain Layout
9551 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9554 \begin_layout Plain Layout
9560 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9563 \begin_layout Plain Layout
9571 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9574 \begin_layout Plain Layout
9582 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9585 \begin_layout Plain Layout
9591 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9594 \begin_layout Plain Layout
9602 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9605 \begin_layout Plain Layout
9613 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9616 \begin_layout Plain Layout
9622 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9625 \begin_layout Plain Layout
9633 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9636 \begin_layout Plain Layout
9644 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9647 \begin_layout Plain Layout
9653 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9656 \begin_layout Plain Layout
9664 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9667 \begin_layout Plain Layout
9675 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9678 \begin_layout Plain Layout
9684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9687 \begin_layout Plain Layout
9695 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9698 \begin_layout Plain Layout
9706 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9709 \begin_layout Plain Layout
9715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9718 \begin_layout Plain Layout
9726 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9729 \begin_layout Plain Layout
9737 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9740 \begin_layout Plain Layout
9746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9749 \begin_layout Plain Layout
9757 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9760 \begin_layout Plain Layout
9768 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9771 \begin_layout Plain Layout
9777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9780 \begin_layout Plain Layout
9788 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9791 \begin_layout Plain Layout
9799 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9802 \begin_layout Plain Layout
9808 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9811 \begin_layout Plain Layout
9819 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9822 \begin_layout Plain Layout
9830 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9833 \begin_layout Plain Layout
9839 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9842 \begin_layout Plain Layout
9850 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9853 \begin_layout Plain Layout
9861 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9864 \begin_layout Plain Layout
9870 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9873 \begin_layout Plain Layout
9881 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9884 \begin_layout Plain Layout
9892 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9895 \begin_layout Plain Layout
9901 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9904 \begin_layout Plain Layout
9912 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9915 \begin_layout Plain Layout
9923 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9926 \begin_layout Plain Layout
9932 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9935 \begin_layout Plain Layout
9943 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9946 \begin_layout Plain Layout
9954 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9957 \begin_layout Plain Layout
9959 Fürst von Montecompatri, 11.
9960 Fürst von Sulmona und Vivaro, 10.
9961 Fürst von Rossano, 5.
9962 Herzog von Canemorte, 11.
9963 Herzog von Palombara, 5.
9964 Herzog von Castelchiodato,
9968 \begin_layout Plain Layout
9979 \begin_layout Plain Layout
9987 Herzog von Poggionativo, 11.
9988 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9989 Graf von Valinfreda, 11.
9990 Baron von Cropalati, 11.
9991 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9996 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9999 \begin_layout Plain Layout
10007 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10010 \begin_layout Plain Layout
10018 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10021 \begin_layout Plain Layout
10027 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10030 \begin_layout Plain Layout
10038 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10041 \begin_layout Plain Layout
10049 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10052 \begin_layout Plain Layout
10058 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10061 \begin_layout Plain Layout
10069 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10072 \begin_layout Plain Layout
10080 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10083 \begin_layout Plain Layout
10089 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10092 \begin_layout Plain Layout
10100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10103 \begin_layout Plain Layout
10111 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10114 \begin_layout Plain Layout
10120 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10123 \begin_layout Plain Layout
10131 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10134 \begin_layout Plain Layout
10142 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10145 \begin_layout Plain Layout
10151 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10154 \begin_layout Plain Layout
10162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10165 \begin_layout Plain Layout
10173 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10176 \begin_layout Plain Layout
10182 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10185 \begin_layout Plain Layout
10193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10196 \begin_layout Plain Layout
10204 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10207 \begin_layout Plain Layout
10213 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10216 \begin_layout Plain Layout
10224 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10227 \begin_layout Plain Layout
10235 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10238 \begin_layout Plain Layout
10244 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10247 \begin_layout Plain Layout
10261 \begin_layout Section
10265 \begin_layout Subsection
10267 \begin_inset CommandInset label
10274 \begin_inset Index idx
10277 \begin_layout Plain Layout
10278 ひょうせるないのふくすうぎょう@表セル内の複数行
10284 \begin_inset Index idx
10287 \begin_layout Plain Layout
10296 \begin_layout Standard
10298 \begin_inset Float table
10304 \begin_layout Plain Layout
10305 \begin_inset Caption
10307 \begin_layout Plain Layout
10308 \begin_inset CommandInset label
10322 \begin_layout Plain Layout
10324 \begin_inset Tabular
10325 <lyxtabular version="3" rows="3" columns="3">
10326 <features tabularvalignment="middle">
10327 <column alignment="center" valignment="middle" width="2.5cm">
10328 <column alignment="center" valignment="middle" width="0">
10329 <column alignment="center" valignment="middle" width="0">
10331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10334 \begin_layout Plain Layout
10336 \begin_inset Newline linebreak
10344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10347 \begin_layout Plain Layout
10353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10356 \begin_layout Plain Layout
10364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10367 \begin_layout Plain Layout
10373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10376 \begin_layout Plain Layout
10382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10385 \begin_layout Plain Layout
10393 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10396 \begin_layout Plain Layout
10402 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10405 \begin_layout Plain Layout
10411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10414 \begin_layout Plain Layout
10433 \begin_layout Standard
10434 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10437 \begin_layout Standard
10439 \begin_inset CommandInset ref
10441 reference "tab:複数行表"
10445 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10449 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10450 \begin_inset space \thinspace{}
10453 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10454 \begin_inset space \thinspace{}
10457 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10460 arg "newline-insert linebreak"
10463 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10466 \begin_layout Standard
10467 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10468 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10469 \begin_inset space \thinspace{}
10472 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10473 \begin_inset CommandInset ref
10475 reference "tab:ハイフネーション表"
10483 \begin_layout Plain Layout
10488 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10496 \begin_layout Standard
10497 \begin_inset Float table
10503 \begin_layout Plain Layout
10504 \begin_inset Caption
10506 \begin_layout Plain Layout
10507 \begin_inset CommandInset label
10509 name "tab:ハイフネーション表"
10521 \begin_layout Plain Layout
10522 \begin_inset space \hfill{}
10526 \begin_inset Tabular
10527 <lyxtabular version="3" rows="3" columns="3">
10528 <features tabularvalignment="middle">
10529 <column alignment="center" valignment="middle" width="2.5cm">
10530 <column alignment="center" valignment="middle" width="0">
10531 <column alignment="center" valignment="middle" width="0">
10533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10536 \begin_layout Plain Layout
10537 verylongtablecellword
10542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10545 \begin_layout Plain Layout
10551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10554 \begin_layout Plain Layout
10562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10565 \begin_layout Plain Layout
10571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10574 \begin_layout Plain Layout
10580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10583 \begin_layout Plain Layout
10591 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10594 \begin_layout Plain Layout
10600 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10603 \begin_layout Plain Layout
10609 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10612 \begin_layout Plain Layout
10624 \begin_inset space \hfill{}
10628 \begin_inset Tabular
10629 <lyxtabular version="3" rows="3" columns="3">
10630 <features tabularvalignment="middle">
10631 <column alignment="center" valignment="middle" width="2.5cm">
10632 <column alignment="center" valignment="middle" width="0">
10633 <column alignment="center" valignment="middle" width="0">
10635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10638 \begin_layout Plain Layout
10639 \begin_inset space \hspace{}
10643 verylongtablecellword
10648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10651 \begin_layout Plain Layout
10657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10660 \begin_layout Plain Layout
10668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10671 \begin_layout Plain Layout
10677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10680 \begin_layout Plain Layout
10686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10689 \begin_layout Plain Layout
10697 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10700 \begin_layout Plain Layout
10706 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10709 \begin_layout Plain Layout
10715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10718 \begin_layout Plain Layout
10730 \begin_inset space \hfill{}
10741 \begin_layout Subsection
10743 \begin_inset CommandInset label
10750 \begin_inset Index idx
10753 \begin_layout Plain Layout
10760 \begin_inset Index idx
10763 \begin_layout Plain Layout
10772 \begin_layout Subsubsection
10776 \begin_layout Standard
10777 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
10778 \begin_inset Graphics
10779 filename ../../images/tabular-feature_multicolumn.png
10781 scaleBeforeRotation
10787 編集\SpecialChar \menuseparator
10788 表\SpecialChar \menuseparator
10791 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
10798 \begin_layout Standard
10799 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
10800 、最下行に上罫線のない連結行がある表の例です。
10803 \begin_layout Standard
10805 \begin_inset Tabular
10806 <lyxtabular version="3" rows="3" columns="4">
10807 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
10808 <column alignment="center" valignment="top" width="0pt">
10809 <column alignment="center" valignment="middle" width="0">
10810 <column alignment="center" valignment="top" width="0in">
10811 <column alignment="center" valignment="top" width="0pt">
10813 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10816 \begin_layout Plain Layout
10822 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10825 \begin_layout Plain Layout
10831 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10834 \begin_layout Plain Layout
10840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10843 \begin_layout Plain Layout
10851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10854 \begin_layout Plain Layout
10860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10863 \begin_layout Plain Layout
10869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10872 \begin_layout Plain Layout
10878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10881 \begin_layout Plain Layout
10889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10892 \begin_layout Plain Layout
10898 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10901 \begin_layout Plain Layout
10907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10910 \begin_layout Plain Layout
10916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10919 \begin_layout Plain Layout
10933 \begin_layout Subsubsection
10935 \begin_inset CommandInset label
10942 \begin_inset Index idx
10945 \begin_layout Plain Layout
10946 れんけつれつ@連結列 ! けいさん@計算
10954 \begin_layout Standard
10955 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
10958 \begin_layout Standard
10959 \begin_inset Float table
10965 \begin_layout Plain Layout
10966 \begin_inset Caption
10968 \begin_layout Plain Layout
10969 \begin_inset CommandInset label
10975 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
10976 \begin_inset Argument
10979 \begin_layout Plain Layout
10993 \begin_layout Plain Layout
10995 \begin_inset Tabular
10996 <lyxtabular version="3" rows="3" columns="3">
10997 <features tabularvalignment="middle">
10998 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
10999 <column alignment="center" valignment="middle" width="0">
11000 <column alignment="center" valignment="top" width="0">
11002 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11005 \begin_layout Plain Layout
11011 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11014 \begin_layout Plain Layout
11020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11023 \begin_layout Plain Layout
11031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11034 \begin_layout Plain Layout
11040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11043 \begin_layout Plain Layout
11049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11052 \begin_layout Plain Layout
11060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11063 \begin_layout Plain Layout
11069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11072 \begin_layout Plain Layout
11078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11081 \begin_layout Plain Layout
11100 \begin_layout Standard
11102 \begin_inset CommandInset ref
11104 reference "tab:中央揃え表"
11108 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11112 を選択します。そして現れる表の設定ダイアログで、このセルを
11121 \begin_inset space \thinspace{}
11124 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11125 \begin_inset space \thinspace{}
11128 cm幅に設定します。すると第二列は自動的に1.25
11129 \begin_inset space \thinspace{}
11132 cm幅(連結列幅マイナス第一列の幅)になります。表
11133 \begin_inset CommandInset ref
11135 reference "tab:半分でない表"
11142 \begin_layout Standard
11143 \begin_inset Float table
11148 \begin_layout Plain Layout
11149 \begin_inset Caption
11151 \begin_layout Plain Layout
11152 \begin_inset CommandInset label
11158 連結セルの下の列が正確に半分になっていない表
11159 \begin_inset Argument
11162 \begin_layout Plain Layout
11176 \begin_layout Plain Layout
11178 \begin_inset Tabular
11179 <lyxtabular version="3" rows="3" columns="3">
11180 <features tabularvalignment="middle">
11181 <column alignment="center" valignment="top" width="1.25cm">
11182 <column alignment="center" valignment="top" width="0">
11183 <column alignment="center" valignment="top" width="0">
11185 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11188 \begin_layout Plain Layout
11194 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11197 \begin_layout Plain Layout
11203 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11206 \begin_layout Plain Layout
11214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11217 \begin_layout Plain Layout
11223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11226 \begin_layout Plain Layout
11232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11235 \begin_layout Plain Layout
11243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11246 \begin_layout Plain Layout
11252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11255 \begin_layout Plain Layout
11261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11264 \begin_layout Plain Layout
11283 \begin_layout Standard
11284 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11286 \begin_inset Formula $W_{\mbox{指}}$
11290 \begin_inset Formula $W_{\text{全}}$
11294 \begin_inset CommandInset ref
11296 reference "cha:式の説明"
11303 \begin_layout Standard
11309 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11313 \begin_inset Formula $W_{\mbox{指}:n}$
11317 \begin_inset Formula \begin{equation}
11318 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11325 \begin_layout Standard
11326 で計算することができます。上記の例では
11327 \begin_inset Formula $n=2$
11331 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11335 \begin_inset CommandInset ref
11342 \begin_inset Formula \begin{equation}
11343 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11350 \begin_layout Standard
11351 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11354 \begin_layout Standard
11362 \begin_layout Standard
11368 \begin_inset Index idx
11371 \begin_layout Plain Layout
11372 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11377 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11378 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11381 \begin_layout Itemize
11386 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11389 \begin_layout Itemize
11394 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11397 \begin_layout Itemize
11402 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11405 \begin_layout Standard
11406 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11409 \begin_layout Standard
11410 \begin_inset Note Greyedout
11413 \begin_layout Plain Layout
11418 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11426 \begin_layout Standard
11433 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11436 \begin_layout Standard
11441 centering}m{1.25cm-6.2pt}
11444 \begin_layout Standard
11449 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11452 \begin_layout Standard
11453 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11457 \begin_layout Standard
11465 \begin_layout Standard
11466 というLaTeX変数を指定しなくてはなりません。
11469 \begin_layout Subsection
11471 \begin_inset CommandInset label
11478 \begin_inset Index idx
11481 \begin_layout Plain Layout
11488 \begin_inset Index idx
11491 \begin_layout Plain Layout
11492 ひょう@表 ! れんけつぎょう@連結行
11500 \begin_layout Standard
11503 To merge cells over multiple rows, select as many cells within a column
11504 as you want to merge and use either the table-toolbar button
11507 \begin_inset Graphics
11508 filename ../../images/tabular-feature_multirow.png
11510 scaleBeforeRotation
11518 Edit\SpecialChar \menuseparator
11519 Table\SpecialChar \menuseparator
11522 , or right click on the marked cells and choose
11526 in the context menu.
11529 \begin_layout Standard
11532 Here is an example table with a multirow in the first column:
11535 \begin_layout Standard
11537 \begin_inset Tabular
11538 <lyxtabular version="3" rows="3" columns="3">
11539 <features tabularvalignment="middle">
11540 <column alignment="center" valignment="top" width="0pt">
11541 <column alignment="center" valignment="top" width="0">
11542 <column alignment="center" valignment="top" width="0">
11544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11547 \begin_layout Plain Layout
11553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11556 \begin_layout Plain Layout
11562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11565 \begin_layout Plain Layout
11573 <cell multirow="3" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11576 \begin_layout Plain Layout
11582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11585 \begin_layout Plain Layout
11591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11594 \begin_layout Plain Layout
11602 <cell multirow="4" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11605 \begin_layout Plain Layout
11611 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11614 \begin_layout Plain Layout
11620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11623 \begin_layout Plain Layout
11637 \begin_layout Standard
11640 The width and alignment of multirow cells is set by setting the width and
11641 alignment for the whole column.
11644 \begin_layout Section
11646 \begin_inset CommandInset label
11648 name "sec:フォーマル形式の表"
11653 \begin_inset Index idx
11656 \begin_layout Plain Layout
11657 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
11665 \begin_layout Standard
11667 \begin_inset CommandInset ref
11669 reference "tab:ブックタブ表の例"
11673 のように組版されます。この種の表は、「
11677 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
11680 \begin_layout Standard
11681 \begin_inset Float table
11687 \begin_layout Plain Layout
11688 \begin_inset Caption
11690 \begin_layout Plain Layout
11691 \begin_inset CommandInset label
11693 name "tab:ブックタブ表の例"
11705 \begin_layout Plain Layout
11707 \begin_inset Tabular
11708 <lyxtabular version="3" rows="8" columns="4">
11709 <features booktabs="true" tabularvalignment="middle">
11710 <column alignment="center" valignment="top" width="0">
11711 <column alignment="center" valignment="top" width="0">
11712 <column alignment="center" valignment="top" width="0">
11713 <column alignment="center" valignment="top" width="0">
11715 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
11718 \begin_layout Plain Layout
11724 <cell alignment="center" valignment="top" topline="true" usebox="none">
11727 \begin_layout Plain Layout
11729 \begin_inset space \thinspace{}
11737 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
11740 \begin_layout Plain Layout
11742 \begin_inset space \thinspace{}
11750 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11753 \begin_layout Plain Layout
11761 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11764 \begin_layout Plain Layout
11768 \begin_layout Plain Layout
11781 \begin_layout Plain Layout
11795 <cell alignment="center" valignment="top" usebox="none">
11798 \begin_layout Plain Layout
11804 <cell alignment="center" valignment="top" usebox="none">
11807 \begin_layout Plain Layout
11813 <cell alignment="center" valignment="top" usebox="none">
11816 \begin_layout Plain Layout
11824 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
11827 \begin_layout Plain Layout
11833 <cell alignment="center" valignment="top" topline="true" usebox="none">
11836 \begin_layout Plain Layout
11842 <cell alignment="center" valignment="top" topline="true" usebox="none">
11845 \begin_layout Plain Layout
11851 <cell alignment="center" valignment="top" topline="true" usebox="none">
11854 \begin_layout Plain Layout
11861 <row topspace="default">
11862 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11865 \begin_layout Plain Layout
11871 <cell alignment="center" valignment="top" usebox="none">
11874 \begin_layout Plain Layout
11880 <cell alignment="center" valignment="top" usebox="none">
11883 \begin_layout Plain Layout
11889 <cell alignment="center" valignment="top" usebox="none">
11892 \begin_layout Plain Layout
11899 <row topspace="default">
11900 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11903 \begin_layout Plain Layout
11904 \begin_inset Formula $f_{\mathrm{max}}$
11912 <cell alignment="center" valignment="top" usebox="none">
11915 \begin_layout Plain Layout
11921 <cell alignment="center" valignment="top" usebox="none">
11924 \begin_layout Plain Layout
11930 <cell alignment="center" valignment="top" usebox="none">
11933 \begin_layout Plain Layout
11940 <row topspace="default">
11941 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11944 \begin_layout Plain Layout
11948 \begin_layout Plain Layout
11952 cmidrule(l{10pt}){1-1}
11962 <cell alignment="center" valignment="top" usebox="none">
11965 \begin_layout Plain Layout
11971 <cell alignment="center" valignment="top" usebox="none">
11974 \begin_layout Plain Layout
11980 <cell alignment="center" valignment="top" usebox="none">
11983 \begin_layout Plain Layout
11991 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11994 \begin_layout Plain Layout
12000 <cell alignment="center" valignment="top" usebox="none">
12003 \begin_layout Plain Layout
12009 <cell alignment="center" valignment="top" usebox="none">
12012 \begin_layout Plain Layout
12018 <cell alignment="center" valignment="top" usebox="none">
12021 \begin_layout Plain Layout
12029 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12032 \begin_layout Plain Layout
12038 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12041 \begin_layout Plain Layout
12047 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12050 \begin_layout Plain Layout
12056 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12059 \begin_layout Plain Layout
12078 \begin_layout Standard
12080 \begin_inset CommandInset ref
12082 reference "sub:行の余白取り"
12086 節に述べられているように、表の設定ダイアログの
12093 \begin_layout Standard
12094 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
12095 \begin_inset Newline newline
12099 \begin_inset space \thinspace{}
12102 emですが、他の罫線の既定幅は0.05
12103 \begin_inset space \thinspace{}
12109 \begin_layout Standard
12110 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
12113 \begin_layout Standard
12123 \begin_inset Newline newline
12135 \begin_layout Standard
12140 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
12148 に置き換えて下さい。他の罫線の線幅を変更するには、
12156 に置き換えます。線幅を設定する上では、付録
12157 \begin_inset CommandInset ref
12159 reference "cha:LyXで使用できる単位"
12163 に挙げてあるすべての単位を使用することができます。
12166 \begin_layout Standard
12167 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
12173 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
12176 \begin_layout Standard
12181 cmidrule[幅](刈込){開始列-終了列}
12184 \begin_layout Standard
12191 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
12197 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
12201 \begin_layout Standard
12203 \begin_inset space \thinspace{}
12206 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
12215 の値を取り、刈込幅の指定は非必須です。たとえば、
12219 というパラメーターを使うと、罫線が左端から2
12220 \begin_inset space \thinspace{}
12223 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
12224 \begin_inset space \thinspace{}
12230 \begin_layout Standard
12231 \begin_inset VSpace bigskip
12235 \begin_inset CommandInset ref
12237 reference "tab:ブックタブ表の例"
12244 \begin_layout Standard
12254 \begin_layout Standard
12255 というコマンドを第二行の初めに使用し、
12258 \begin_layout Standard
12263 cmidrule(l{10pt}){1-1}
12266 \begin_layout Standard
12270 \begin_layout Standard
12271 \begin_inset VSpace bigskip
12277 \begin_layout Standard
12279 \begin_inset CommandInset ref
12281 reference "tab:特殊なブックタブ表"
12291 が欲しいことがあるかもしれません。これは、TeXコードで
12294 \begin_layout Standard
12302 \begin_layout Standard
12303 コマンドを使用することによって実現することができます。表
12304 \begin_inset CommandInset ref
12306 reference "tab:特殊なブックタブ表"
12313 \begin_layout Standard
12327 \begin_layout Standard
12328 というコマンドが使用されており、第六列には
12331 \begin_layout Standard
12343 \begin_layout Standard
12347 \begin_layout Standard
12348 \begin_inset VSpace bigskip
12354 \begin_layout Standard
12355 罫線の余白取りにどうしても満足が行かない場合には、
12358 \begin_layout Standard
12363 specialrule{幅}{上余白}{下余白}
12366 \begin_layout Standard
12367 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
12372 \begin_inset CommandInset citation
12379 \begin_inset Index idx
12382 \begin_layout Plain Layout
12383 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
12391 \begin_layout Standard
12392 \begin_inset Float table
12398 \begin_layout Plain Layout
12399 \begin_inset Caption
12401 \begin_layout Plain Layout
12402 \begin_inset CommandInset label
12404 name "tab:特殊なブックタブ表"
12416 \begin_layout Plain Layout
12418 \begin_inset Tabular
12419 <lyxtabular version="3" rows="8" columns="4">
12420 <features booktabs="true" tabularvalignment="middle">
12421 <column alignment="center" valignment="top" width="0">
12422 <column alignment="center" valignment="top" width="0">
12423 <column alignment="center" valignment="top" width="0">
12424 <column alignment="center" valignment="top" width="0">
12426 <cell alignment="center" valignment="top" topline="true" usebox="none">
12429 \begin_layout Plain Layout
12435 <cell alignment="center" valignment="top" topline="true" usebox="none">
12438 \begin_layout Plain Layout
12440 \begin_inset space \thinspace{}
12448 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12451 \begin_layout Plain Layout
12453 \begin_inset space \thinspace{}
12461 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12464 \begin_layout Plain Layout
12472 <cell alignment="center" valignment="top" usebox="none">
12475 \begin_layout Plain Layout
12479 \begin_layout Plain Layout
12492 \begin_layout Plain Layout
12505 \begin_layout Plain Layout
12518 \begin_layout Plain Layout
12532 <cell alignment="center" valignment="top" usebox="none">
12535 \begin_layout Plain Layout
12541 <cell alignment="center" valignment="top" usebox="none">
12544 \begin_layout Plain Layout
12550 <cell alignment="center" valignment="top" usebox="none">
12553 \begin_layout Plain Layout
12561 <cell alignment="center" valignment="top" topline="true" usebox="none">
12564 \begin_layout Plain Layout
12570 <cell alignment="center" valignment="top" topline="true" usebox="none">
12573 \begin_layout Plain Layout
12579 <cell alignment="center" valignment="top" topline="true" usebox="none">
12582 \begin_layout Plain Layout
12588 <cell alignment="center" valignment="top" topline="true" usebox="none">
12591 \begin_layout Plain Layout
12598 <row topspace="default">
12599 <cell alignment="center" valignment="top" usebox="none">
12602 \begin_layout Plain Layout
12608 <cell alignment="center" valignment="top" usebox="none">
12611 \begin_layout Plain Layout
12617 <cell alignment="center" valignment="top" usebox="none">
12620 \begin_layout Plain Layout
12626 <cell alignment="center" valignment="top" usebox="none">
12629 \begin_layout Plain Layout
12636 <row topspace="default">
12637 <cell alignment="center" valignment="top" usebox="none">
12640 \begin_layout Plain Layout
12641 \begin_inset Formula $f_{\mathrm{max}}$
12649 <cell alignment="center" valignment="top" usebox="none">
12652 \begin_layout Plain Layout
12658 <cell alignment="center" valignment="top" usebox="none">
12661 \begin_layout Plain Layout
12667 <cell alignment="center" valignment="top" usebox="none">
12670 \begin_layout Plain Layout
12678 <cell alignment="center" valignment="top" topline="true" usebox="none">
12681 \begin_layout Plain Layout
12685 \begin_layout Plain Layout
12698 \begin_layout Plain Layout
12712 <cell alignment="center" valignment="top" topline="true" usebox="none">
12715 \begin_layout Plain Layout
12721 <cell alignment="center" valignment="top" topline="true" usebox="none">
12724 \begin_layout Plain Layout
12730 <cell alignment="center" valignment="top" topline="true" usebox="none">
12733 \begin_layout Plain Layout
12741 <cell alignment="center" valignment="top" usebox="none">
12744 \begin_layout Plain Layout
12750 <cell alignment="center" valignment="top" usebox="none">
12753 \begin_layout Plain Layout
12759 <cell alignment="center" valignment="top" usebox="none">
12762 \begin_layout Plain Layout
12768 <cell alignment="center" valignment="top" usebox="none">
12771 \begin_layout Plain Layout
12779 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12782 \begin_layout Plain Layout
12788 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12791 \begin_layout Plain Layout
12797 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12800 \begin_layout Plain Layout
12806 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12809 \begin_layout Plain Layout
12828 \begin_layout Section
12830 \begin_inset Index idx
12833 \begin_layout Plain Layout
12842 \begin_layout Standard
12843 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
12844 \begin_inset CommandInset ref
12846 reference "sec:ボックスダイアログ"
12850 節に述べられているように、ボックスの垂直揃えを行います。
12853 \begin_layout Standard
12855 \begin_inset space \thinspace{}
12862 \begin_layout Plain Layout
12864 \begin_inset CommandInset ref
12866 reference "sec:ミニページ"
12878 \begin_layout Itemize
12880 \begin_inset Box Frameless
12890 height_special "totalheight"
12893 \begin_layout Plain Layout
12894 \begin_inset Tabular
12895 <lyxtabular version="3" rows="3" columns="3">
12896 <features tabularvalignment="middle">
12897 <column alignment="center" valignment="top" width="0">
12898 <column alignment="center" valignment="top" width="0">
12899 <column alignment="center" valignment="top" width="0">
12901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12904 \begin_layout Plain Layout
12910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12913 \begin_layout Plain Layout
12919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12922 \begin_layout Plain Layout
12930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12933 \begin_layout Plain Layout
12939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12942 \begin_layout Plain Layout
12948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12951 \begin_layout Plain Layout
12959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12962 \begin_layout Plain Layout
12968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12971 \begin_layout Plain Layout
12977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12980 \begin_layout Plain Layout
13000 \begin_layout Plain Layout
13012 \begin_inset Box Frameless
13022 height_special "totalheight"
13025 \begin_layout Plain Layout
13026 \begin_inset Tabular
13027 <lyxtabular version="3" rows="3" columns="3">
13028 <features tabularvalignment="middle">
13029 <column alignment="center" valignment="top" width="0">
13030 <column alignment="center" valignment="top" width="0">
13031 <column alignment="center" valignment="top" width="0">
13033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13036 \begin_layout Plain Layout
13042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13045 \begin_layout Plain Layout
13051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13054 \begin_layout Plain Layout
13062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13065 \begin_layout Plain Layout
13071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13074 \begin_layout Plain Layout
13080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13083 \begin_layout Plain Layout
13091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13094 \begin_layout Plain Layout
13100 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13103 \begin_layout Plain Layout
13109 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13112 \begin_layout Plain Layout
13132 \begin_layout Plain Layout
13142 \begin_layout Itemize
13144 \begin_inset Box Frameless
13154 height_special "totalheight"
13157 \begin_layout Plain Layout
13158 \begin_inset Tabular
13159 <lyxtabular version="3" rows="3" columns="3">
13160 <features tabularvalignment="middle">
13161 <column alignment="center" valignment="top" width="0">
13162 <column alignment="center" valignment="top" width="0">
13163 <column alignment="center" valignment="top" width="0">
13165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13168 \begin_layout Plain Layout
13174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13177 \begin_layout Plain Layout
13183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13186 \begin_layout Plain Layout
13194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13197 \begin_layout Plain Layout
13203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13206 \begin_layout Plain Layout
13212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13215 \begin_layout Plain Layout
13223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13226 \begin_layout Plain Layout
13232 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13235 \begin_layout Plain Layout
13241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13244 \begin_layout Plain Layout
13263 \begin_layout Itemize
13265 \begin_inset Box Frameless
13275 height_special "totalheight"
13278 \begin_layout Plain Layout
13279 \begin_inset Tabular
13280 <lyxtabular version="3" rows="3" columns="3">
13281 <features tabularvalignment="middle">
13282 <column alignment="center" valignment="top" width="0">
13283 <column alignment="center" valignment="top" width="0">
13284 <column alignment="center" valignment="top" width="0">
13286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13289 \begin_layout Plain Layout
13295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13298 \begin_layout Plain Layout
13304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13307 \begin_layout Plain Layout
13315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13318 \begin_layout Plain Layout
13324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13327 \begin_layout Plain Layout
13333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13336 \begin_layout Plain Layout
13344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13347 \begin_layout Plain Layout
13353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13356 \begin_layout Plain Layout
13362 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13365 \begin_layout Plain Layout
13385 \begin_layout Plain Layout
13397 \begin_inset Box Frameless
13407 height_special "totalheight"
13410 \begin_layout Plain Layout
13411 \begin_inset Tabular
13412 <lyxtabular version="3" rows="3" columns="3">
13413 <features tabularvalignment="middle">
13414 <column alignment="center" valignment="top" width="0">
13415 <column alignment="center" valignment="top" width="0">
13416 <column alignment="center" valignment="top" width="0">
13418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13421 \begin_layout Plain Layout
13427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13430 \begin_layout Plain Layout
13436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13439 \begin_layout Plain Layout
13447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13450 \begin_layout Plain Layout
13456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13459 \begin_layout Plain Layout
13465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13468 \begin_layout Plain Layout
13476 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13479 \begin_layout Plain Layout
13485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13488 \begin_layout Plain Layout
13494 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13497 \begin_layout Plain Layout
13517 \begin_layout Plain Layout
13527 \begin_layout Standard
13528 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
13532 \begin_layout Plain Layout
13534 \begin_inset CommandInset ref
13536 reference "sub:垂直揃え"
13545 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
13548 \begin_layout Standard
13558 \begin_layout Standard
13559 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
13563 をTeXコードとして挿入してあります。最後の項目の第二表には、
13566 \begin_layout Standard
13576 \begin_layout Standard
13580 \begin_layout Standard
13581 \begin_inset Note Greyedout
13584 \begin_layout Plain Layout
13589 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
13595 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
13603 \begin_layout Section
13605 \begin_inset CommandInset label
13612 \begin_inset Index idx
13615 \begin_layout Plain Layout
13624 \begin_layout Subsection
13626 \begin_inset Index idx
13629 \begin_layout Plain Layout
13630 ひょうのいろ@表の色 ! せるぶ@セル部
13636 \begin_inset Index idx
13639 \begin_layout Plain Layout
13640 いろつき@色付き ! ひょうせるぶ@表セル部
13648 \begin_layout Standard
13649 \begin_inset Float table
13655 \begin_layout Plain Layout
13656 \begin_inset Caption
13658 \begin_layout Plain Layout
13659 \begin_inset CommandInset label
13661 name "tab:colortblなしの表"
13670 \begin_inset Argument
13673 \begin_layout Plain Layout
13687 \begin_layout Plain Layout
13689 \begin_inset Tabular
13690 <lyxtabular version="3" rows="3" columns="3">
13691 <features tabularvalignment="middle">
13692 <column alignment="center" valignment="top" width="0">
13693 <column alignment="center" valignment="top" width="0">
13694 <column alignment="center" valignment="top" width="0">
13696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13699 \begin_layout Plain Layout
13707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13710 \begin_layout Plain Layout
13718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13721 \begin_layout Plain Layout
13731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13734 \begin_layout Plain Layout
13742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13745 \begin_layout Plain Layout
13753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13756 \begin_layout Plain Layout
13766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13769 \begin_layout Plain Layout
13777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13780 \begin_layout Plain Layout
13788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13791 \begin_layout Plain Layout
13812 \begin_layout Standard
13813 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
13815 編集\SpecialChar \menuseparator
13819 \begin_inset CommandInset ref
13821 reference "tab:colortblなしの表"
13825 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
13830 \begin_inset Index idx
13833 \begin_layout Plain Layout
13834 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
13842 \begin_layout Standard
13846 \begin_layout Plain Layout
13856 \begin_inset Note Note
13859 \begin_layout Plain Layout
13860 本節の以下の部分は、LaTeXパッケージ
13872 \begin_layout Standard
13873 色付きの表を作成するには、プリアンブルに
13876 \begin_layout Standard
13881 usepackage{colortbl}
13884 \begin_layout Standard
13889 を読み込まなくてはなりません。列の色は、
13896 \begin_layout Standard
13904 \begin_layout Standard
13905 というコマンドを書いて指定することができます。
13910 \begin_inset CommandInset ref
13912 reference "sub:連結列の計算"
13919 \begin_layout Standard
13920 以下の色彩名が事前に定義されています。
13923 \begin_layout Standard
13957 \begin_layout Standard
13958 \begin_inset VSpace medskip
13964 \begin_layout Standard
13968 \begin_layout Standard
13973 definecolor{色彩名}{色彩モデル}{色彩値}
13976 \begin_layout Standard
13977 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
13980 \begin_layout Labeling
14000 \begin_layout Labeling
14016 \begin_layout Labeling
14020 \begin_layout Standard
14021 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
14024 \begin_layout Standard
14028 \begin_layout Standard
14033 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14036 \begin_layout Standard
14044 \begin_layout Standard
14049 definecolor{lightgray}{gray}{0.8}
14052 \begin_layout Standard
14060 \begin_layout Standard
14061 \begin_inset VSpace medskip
14067 \begin_layout Standard
14071 \begin_layout Standard
14079 \begin_layout Standard
14080 というコマンドを使用して色付けすることができ、セルは
14083 \begin_layout Standard
14091 \begin_layout Standard
14092 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
14095 \begin_layout Standard
14096 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
14098 編集\SpecialChar \menuseparator
14101 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
14105 \begin_layout Standard
14106 \begin_inset Note Greyedout
14109 \begin_layout Plain Layout
14110 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
14118 \begin_layout Standard
14119 \begin_inset VSpace bigskip
14125 \begin_layout Standard
14127 \begin_inset CommandInset ref
14129 reference "tab:色付き表"
14133 を作成するには、以下のようにしてください。第一列の色は
14137 にしたいので、この列のLaTeX変数として
14140 \begin_layout Standard
14145 columncolor{darkgreen}
14150 \begin_layout Standard
14151 と書き込みます。第一列は青にしたいので、この列の最初のセルに
14154 \begin_layout Standard
14162 \begin_layout Standard
14163 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最下行の最後のセルは、
14166 \begin_layout Standard
14174 \begin_layout Standard
14175 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
14177 編集\SpecialChar \menuseparator
14180 メニューを使って、各文字に色付けをすることができます。
14183 \begin_layout Standard
14184 \begin_inset Float table
14190 \begin_layout Plain Layout
14191 \begin_inset Caption
14193 \begin_layout Plain Layout
14196 \begin_inset CommandInset label
14205 \begin_inset Argument
14208 \begin_layout Plain Layout
14222 \begin_layout Plain Layout
14224 \begin_inset Tabular
14225 <lyxtabular version="3" rows="3" columns="3">
14226 <features tabularvalignment="middle">
14227 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14228 <column alignment="center" valignment="top" width="0">
14229 <column alignment="center" valignment="top" width="0">
14231 <cell alignment="center" valignment="top" usebox="none">
14234 \begin_layout Plain Layout
14238 \begin_layout Plain Layout
14254 <cell alignment="center" valignment="top" usebox="none">
14257 \begin_layout Plain Layout
14265 <cell alignment="center" valignment="top" usebox="none">
14268 \begin_layout Plain Layout
14278 <cell alignment="center" valignment="top" usebox="none">
14281 \begin_layout Plain Layout
14289 <cell alignment="center" valignment="top" usebox="none">
14292 \begin_layout Plain Layout
14300 <cell alignment="center" valignment="top" usebox="none">
14303 \begin_layout Plain Layout
14313 <cell alignment="center" valignment="top" usebox="none">
14316 \begin_layout Plain Layout
14324 <cell alignment="center" valignment="top" usebox="none">
14327 \begin_layout Plain Layout
14335 <cell alignment="center" valignment="top" usebox="none">
14338 \begin_layout Plain Layout
14342 \begin_layout Plain Layout
14371 \begin_layout Standard
14375 \begin_layout Plain Layout
14385 \begin_inset Note Note
14388 \begin_layout Plain Layout
14393 が導入されていないときに表示されます。
14401 \begin_layout Standard
14409 \begin_layout Standard
14413 \begin_layout Plain Layout
14425 \begin_layout Subsection
14427 \begin_inset Index idx
14430 \begin_layout Plain Layout
14431 ひょうのいろ@表の色 ! けいせんぶ@罫線部
14437 \begin_inset Index idx
14440 \begin_layout Plain Layout
14441 いろつき@色付き ! ひょうけいせんぶ@表罫線部
14449 \begin_layout Standard
14451 \begin_inset CommandInset ref
14453 reference "sub:罫線幅"
14457 節に述べられているように、表中の全罫線の線幅は、長さ
14463 を使って調節することができます。本節の表では、すべて1.5
14464 \begin_inset space \thinspace{}
14471 \begin_layout Plain Layout
14477 arrayrulewidth}{1.5pt}
14485 \begin_layout Standard
14487 \begin_inset CommandInset ref
14489 reference "sub:自製書式"
14493 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
14496 \begin_layout Standard
14501 newcolumntype{W}{!{
14508 \begin_layout Standard
14510 \begin_inset CommandInset ref
14512 reference "tab:色付き縦罫線の表"
14527 \begin_layout Standard
14528 複数の色を用いたいときには、列書式をもっと定義してください。
14531 \begin_layout Standard
14532 \begin_inset Float table
14538 \begin_layout Plain Layout
14539 \begin_inset Caption
14541 \begin_layout Plain Layout
14542 \begin_inset CommandInset label
14544 name "tab:色付き縦罫線の表"
14556 \begin_layout Plain Layout
14558 \begin_inset Tabular
14559 <lyxtabular version="3" rows="3" columns="3">
14560 <features tabularvalignment="middle">
14561 <column alignment="center" valignment="top" width="0" special="Wc">
14562 <column alignment="center" valignment="top" width="0" special="Wc">
14563 <column alignment="center" valignment="top" width="0" special="WcW">
14565 <cell alignment="center" valignment="top" topline="true" usebox="none">
14568 \begin_layout Plain Layout
14574 <cell alignment="center" valignment="top" topline="true" usebox="none">
14577 \begin_layout Plain Layout
14583 <cell alignment="center" valignment="top" topline="true" usebox="none">
14586 \begin_layout Plain Layout
14594 <cell alignment="center" valignment="top" topline="true" usebox="none">
14597 \begin_layout Plain Layout
14603 <cell alignment="center" valignment="top" topline="true" usebox="none">
14606 \begin_layout Plain Layout
14612 <cell alignment="center" valignment="top" topline="true" usebox="none">
14615 \begin_layout Plain Layout
14623 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14626 \begin_layout Plain Layout
14632 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14635 \begin_layout Plain Layout
14641 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14644 \begin_layout Plain Layout
14663 \begin_layout Standard
14664 \begin_inset VSpace bigskip
14668 \begin_inset CommandInset ref
14670 reference "tab:色付き横罫線の表"
14674 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
14677 \begin_layout Standard
14687 \begin_inset Newline newline
14695 \begin_inset Newline newline
14699 \begin_inset Phantom HPhantom
14702 \begin_layout Plain Layout
14703 \begin_inset space ~
14713 arrayrulecolor{red}
14717 arrayrulecolor{black}}
14720 \begin_layout Standard
14724 \begin_layout Standard
14728 \begin_layout Plain Layout
14739 \begin_layout Plain Layout
14748 \begin_layout Plain Layout
14752 arrayrulecolor{red}
14756 arrayrulecolor{black}}
14762 \begin_inset Float table
14768 \begin_layout Plain Layout
14769 \begin_inset Caption
14771 \begin_layout Plain Layout
14772 \begin_inset CommandInset label
14774 name "tab:色付き横罫線の表"
14786 \begin_layout Plain Layout
14788 \begin_inset Tabular
14789 <lyxtabular version="3" rows="3" columns="3">
14790 <features tabularvalignment="middle">
14791 <column alignment="center" valignment="top" width="0">
14792 <column alignment="center" valignment="top" width="0">
14793 <column alignment="center" valignment="top" width="0">
14795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14798 \begin_layout Plain Layout
14804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14807 \begin_layout Plain Layout
14813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14816 \begin_layout Plain Layout
14824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14827 \begin_layout Plain Layout
14833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14836 \begin_layout Plain Layout
14842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14845 \begin_layout Plain Layout
14853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14856 \begin_layout Plain Layout
14862 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14865 \begin_layout Plain Layout
14871 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14874 \begin_layout Plain Layout
14893 \begin_layout Standard
14897 \begin_layout Standard
14909 \begin_layout Standard
14910 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
14911 \begin_inset CommandInset ref
14913 reference "tab:色付き罫線の表"
14920 \begin_layout Standard
14921 \begin_inset Float table
14927 \begin_layout Plain Layout
14928 \begin_inset Caption
14930 \begin_layout Plain Layout
14931 \begin_inset CommandInset label
14945 \begin_layout Plain Layout
14947 \begin_inset Tabular
14948 <lyxtabular version="3" rows="3" columns="3">
14949 <features tabularvalignment="middle">
14950 <column alignment="center" valignment="top" width="0" special="Wc">
14951 <column alignment="center" valignment="top" width="0" special="Wc">
14952 <column alignment="center" valignment="top" width="0" special="WcW">
14954 <cell alignment="center" valignment="top" topline="true" usebox="none">
14957 \begin_layout Plain Layout
14963 <cell alignment="center" valignment="top" topline="true" usebox="none">
14966 \begin_layout Plain Layout
14972 <cell alignment="center" valignment="top" topline="true" usebox="none">
14975 \begin_layout Plain Layout
14983 <cell alignment="center" valignment="top" topline="true" usebox="none">
14986 \begin_layout Plain Layout
14992 <cell alignment="center" valignment="top" topline="true" usebox="none">
14995 \begin_layout Plain Layout
15001 <cell alignment="center" valignment="top" topline="true" usebox="none">
15004 \begin_layout Plain Layout
15011 <row topspace="default">
15012 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15015 \begin_layout Plain Layout
15021 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15024 \begin_layout Plain Layout
15030 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15033 \begin_layout Plain Layout
15052 \begin_layout Standard
15056 \begin_layout Plain Layout
15072 \begin_layout Standard
15076 \begin_layout Plain Layout
15082 arrayrulewidth}{0.4pt}
15090 \begin_layout Section
15092 \begin_inset Index idx
15095 \begin_layout Plain Layout
15102 \begin_inset Index idx
15105 \begin_layout Plain Layout
15114 \begin_layout Subsection
15116 \begin_inset CommandInset label
15123 \begin_inset Index idx
15126 \begin_layout Plain Layout
15127 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
15135 \begin_layout Standard
15140 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
15143 \begin_layout Description
15144 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
15148 \begin_layout Plain Layout
15150 \begin_inset CommandInset ref
15152 reference "sec:フォーマル形式の表"
15162 \begin_inset space \thinspace{}
15165 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15166 \begin_inset VSpace medskip
15170 \begin_inset Newline newline
15174 \begin_inset space \hspace*{}
15179 \begin_inset space \hfill{}
15183 \begin_inset Tabular
15184 <lyxtabular version="3" rows="3" columns="1">
15185 <features tabularvalignment="middle">
15186 <column alignment="center" valignment="top" width="0">
15188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15191 \begin_layout Plain Layout
15198 <row topspace="3mm">
15199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15202 \begin_layout Plain Layout
15204 \begin_inset space \thinspace{}
15214 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15217 \begin_layout Plain Layout
15229 \begin_inset space \hfill{}
15233 \begin_inset space \hspace*{}
15238 \begin_inset VSpace medskip
15242 \begin_inset Newline newline
15245 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
15248 \begin_layout Description
15249 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15250 \begin_inset space \thinspace{}
15253 emの余白を挿入し、通常の表ならば既定値として2
15254 \begin_inset space \thinspace{}
15260 \begin_layout Description
15261 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15262 \begin_inset space \thinspace{}
15265 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15266 \begin_inset VSpace medskip
15270 \begin_inset Newline newline
15274 \begin_inset space \hspace*{}
15279 \begin_inset space \hfill{}
15283 \begin_inset Tabular
15284 <lyxtabular version="3" rows="3" columns="1">
15285 <features tabularvalignment="middle">
15286 <column alignment="center" valignment="top" width="0">
15288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15291 \begin_layout Plain Layout
15298 <row interlinespace="3mm">
15299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15302 \begin_layout Plain Layout
15303 \begin_inset Formula $\downarrow$
15307 \begin_inset space \thinspace{}
15311 \begin_inset Formula $\downarrow$
15321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15324 \begin_layout Plain Layout
15325 \begin_inset Formula $\uparrow$
15329 \begin_inset space \thinspace{}
15333 \begin_inset Formula $\uparrow$
15347 \begin_inset space \hfill{}
15351 \begin_inset space \hspace*{}
15356 \begin_inset VSpace medskip
15360 \begin_inset Newline newline
15363 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
15366 \begin_layout Standard
15367 \begin_inset VSpace bigskip
15370 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
15373 \begin_layout Standard
15378 @ifundefined{extrarowheight}
15379 \begin_inset Newline newline
15383 \begin_inset Phantom HPhantom
15386 \begin_layout Plain Layout
15387 \begin_inset space ~
15397 usepackage{array}}{}
15398 \begin_inset Newline newline
15405 extrarowheight}{height}
15408 \begin_layout Standard
15409 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
15413 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
15422 \begin_layout Standard
15423 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
15429 コマンドを挿入することで補正することができます。表
15430 \begin_inset CommandInset ref
15432 reference "tab:垂直揃え"
15439 \begin_layout Standard
15441 \begin_inset Float table
15447 \begin_layout Plain Layout
15448 \begin_inset Caption
15450 \begin_layout Plain Layout
15451 \begin_inset CommandInset label
15465 \begin_layout Plain Layout
15466 \begin_inset space \hfill{}
15470 \begin_inset Float table
15475 \begin_layout Plain Layout
15476 \begin_inset Caption
15478 \begin_layout Plain Layout
15487 \begin_layout Plain Layout
15490 \begin_inset Tabular
15491 <lyxtabular version="3" rows="6" columns="1">
15492 <features tabularvalignment="middle">
15493 <column alignment="left" valignment="top" width="0">
15495 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15498 \begin_layout Plain Layout
15506 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15509 \begin_layout Plain Layout
15519 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15522 \begin_layout Plain Layout
15532 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15535 \begin_layout Plain Layout
15545 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15548 \begin_layout Plain Layout
15558 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15561 \begin_layout Plain Layout
15580 \begin_inset space \hfill{}
15584 \begin_inset Float table
15589 \begin_layout Plain Layout
15590 \begin_inset Caption
15592 \begin_layout Plain Layout
15607 \begin_layout Plain Layout
15610 \begin_inset Tabular
15611 <lyxtabular version="3" rows="6" columns="1">
15612 <features tabularvalignment="middle">
15613 <column alignment="left" valignment="top" width="0">
15615 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15618 \begin_layout Plain Layout
15626 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15629 \begin_layout Plain Layout
15635 \begin_layout Plain Layout
15651 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15654 \begin_layout Plain Layout
15660 \begin_layout Plain Layout
15676 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15679 \begin_layout Plain Layout
15685 \begin_layout Plain Layout
15701 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15704 \begin_layout Plain Layout
15710 \begin_layout Plain Layout
15726 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15729 \begin_layout Plain Layout
15735 \begin_layout Plain Layout
15760 \begin_inset space \hfill{}
15771 \begin_layout Subsection
15773 \begin_inset Index idx
15776 \begin_layout Plain Layout
15777 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
15785 \begin_layout Standard
15787 \begin_inset CommandInset ref
15789 reference "tab:表セル"
15793 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。
15796 \begin_layout Standard
15797 \begin_inset Float table
15803 \begin_layout Plain Layout
15804 \begin_inset Caption
15806 \begin_layout Plain Layout
15807 \begin_inset CommandInset label
15821 \begin_layout Plain Layout
15823 \begin_inset Tabular
15824 <lyxtabular version="3" rows="4" columns="2">
15825 <features tabularvalignment="middle">
15826 <column alignment="right" valignment="top" width="0">
15827 <column alignment="left" valignment="top" width="0" special="@{}l">
15829 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15832 \begin_layout Plain Layout
15838 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15841 \begin_layout Plain Layout
15849 <cell alignment="center" valignment="top" usebox="none">
15852 \begin_layout Plain Layout
15858 <cell alignment="center" valignment="top" usebox="none">
15861 \begin_layout Plain Layout
15869 <cell alignment="center" valignment="top" usebox="none">
15872 \begin_layout Plain Layout
15878 <cell alignment="center" valignment="top" usebox="none">
15881 \begin_layout Plain Layout
15889 <cell alignment="center" valignment="top" usebox="none">
15892 \begin_layout Plain Layout
15898 <cell alignment="center" valignment="top" usebox="none">
15901 \begin_layout Plain Layout
15920 \begin_layout Standard
15921 この表は4×2表として作成されています。見出しは中央揃えの連結列になっています。第1列には、小数点以上の各桁と小数点が右揃えで収められています。第2列には、小数
15922 点以下の各桁が左揃えで収められています。通常、表の列間に加えられる余白を削るために、
15925 \begin_layout Standard
15931 \begin_layout Standard
15932 というLaTeX引数を第2列に指定します。
15935 \begin_layout Standard
15937 \begin_inset CommandInset ref
15939 reference "tab:表セル揃え"
15943 は、揃え方の例をいくつか示しています。関係子で揃えを行うには、関係詞の周りに正しい余白を取るために、二番目に小さい数式余白を最終列の初めに加えなくてはなりません
15947 \begin_layout Standard
15948 \begin_inset Float table
15953 \begin_layout Plain Layout
15954 \begin_inset Caption
15956 \begin_layout Plain Layout
15957 \begin_inset CommandInset label
15971 \begin_layout Plain Layout
15973 \begin_inset Tabular
15974 <lyxtabular version="3" rows="4" columns="6">
15975 <features tabularvalignment="middle">
15976 <column alignment="right" valignment="top" width="0">
15977 <column alignment="left" valignment="top" width="0" special="@{}l">
15978 <column alignment="right" valignment="top" width="0">
15979 <column alignment="left" valignment="top" width="0" special="@{}l">
15980 <column alignment="right" valignment="top" width="0">
15981 <column alignment="left" valignment="top" width="0" special="@{}l">
15983 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15986 \begin_layout Plain Layout
15992 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15995 \begin_layout Plain Layout
16001 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16004 \begin_layout Plain Layout
16010 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16013 \begin_layout Plain Layout
16019 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16022 \begin_layout Plain Layout
16028 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16031 \begin_layout Plain Layout
16039 <cell alignment="center" valignment="top" usebox="none">
16042 \begin_layout Plain Layout
16048 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16051 \begin_layout Plain Layout
16057 <cell alignment="center" valignment="top" usebox="none">
16060 \begin_layout Plain Layout
16061 \begin_inset Formula $10\cdot$
16069 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16072 \begin_layout Plain Layout
16073 \begin_inset Formula $10^{\mbox{-}17}$
16081 <cell alignment="center" valignment="top" usebox="none">
16084 \begin_layout Plain Layout
16085 \begin_inset Formula $\Gamma(t)\propto$
16093 <cell alignment="center" valignment="top" usebox="none">
16096 \begin_layout Plain Layout
16097 \begin_inset Formula $\:\Upsilon(t)$
16107 <cell alignment="center" valignment="top" usebox="none">
16110 \begin_layout Plain Layout
16116 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16119 \begin_layout Plain Layout
16125 <cell alignment="center" valignment="top" usebox="none">
16128 \begin_layout Plain Layout
16129 \begin_inset Formula $5.78\cdot$
16137 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16140 \begin_layout Plain Layout
16141 \begin_inset Formula $10^{7}$
16149 <cell alignment="center" valignment="top" usebox="none">
16152 \begin_layout Plain Layout
16153 \begin_inset Formula $A\ne$
16161 <cell alignment="center" valignment="top" usebox="none">
16164 \begin_layout Plain Layout
16165 \begin_inset Formula $\: B_{\mathrm{red}}$
16175 <cell alignment="center" valignment="top" usebox="none">
16178 \begin_layout Plain Layout
16184 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16187 \begin_layout Plain Layout
16189 \begin_inset space \thinspace{}
16197 <cell alignment="center" valignment="top" usebox="none">
16200 \begin_layout Plain Layout
16202 \begin_inset Formula $33.5\cdot$
16210 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16213 \begin_layout Plain Layout
16214 \begin_inset Formula $10^{4}$
16222 <cell alignment="center" valignment="top" usebox="none">
16225 \begin_layout Plain Layout
16226 \begin_inset Formula $\sin(\alpha)\ge$
16234 <cell alignment="center" valignment="top" usebox="none">
16237 \begin_layout Plain Layout
16238 \begin_inset Formula $\:\sin(\beta)$
16259 \begin_layout Standard
16260 \begin_inset VSpace bigskip
16268 \begin_inset Index idx
16271 \begin_layout Plain Layout
16272 LaTeXぱっけーじ@LaTeXパッケージ ! dcolumn
16277 LaTeXパッケージもあります。しかし残念ながら、このパッケージはセルの内容全体を数式として取扱うため、表セル中に数式を入れることはできません。表
16278 \begin_inset CommandInset ref
16280 reference "tab:表セル揃え"
16289 \begin_inset CommandInset ref
16291 reference "tab:使用したときの揃え"
16295 の第1列のようになり、ちょっとしたテクニックを使わなければ、期待通りにはなりません。表
16296 \begin_inset CommandInset ref
16298 reference "tab:表セル揃え"
16307 \begin_inset Newpage newpage
16313 \begin_layout Standard
16314 \begin_inset Float table
16320 \begin_layout Plain Layout
16321 \begin_inset Caption
16323 \begin_layout Plain Layout
16324 \begin_inset CommandInset label
16326 name "tab:使用したときの揃え"
16330 LaTeXパッケージdcolumnを使用したときの揃えの様子。この出力のようにすべての列を揃えるには、テクニックを用いなくてはなりません。
16338 \begin_layout Plain Layout
16340 \begin_inset Tabular
16341 <lyxtabular version="3" rows="4" columns="3">
16342 <features tabularvalignment="middle">
16343 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
16344 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
16345 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16347 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16350 \begin_layout Plain Layout
16356 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16359 \begin_layout Plain Layout
16365 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16368 \begin_layout Plain Layout
16376 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16379 \begin_layout Plain Layout
16385 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16388 \begin_layout Plain Layout
16394 <cell alignment="center" valignment="top" usebox="none">
16397 \begin_layout Plain Layout
16402 \begin_layout Plain Layout
16412 \begin_inset Formula $\mbox{本の瓶}$
16422 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16425 \begin_layout Plain Layout
16431 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16434 \begin_layout Plain Layout
16440 <cell alignment="center" valignment="top" usebox="none">
16443 \begin_layout Plain Layout
16448 \begin_layout Plain Layout
16458 \begin_inset Formula $\mbox{ピクセル}$
16468 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16471 \begin_layout Plain Layout
16473 \begin_inset space \thinspace{}
16481 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16484 \begin_layout Plain Layout
16486 \begin_inset space \thinspace{}
16490 \begin_inset Formula $\mbox{cm}$
16498 <cell alignment="center" valignment="top" usebox="none">
16501 \begin_layout Plain Layout
16506 \begin_layout Plain Layout
16516 \begin_inset Formula $\mbox{cm}$
16537 \begin_layout Subsection
16539 \begin_inset CommandInset label
16546 \begin_inset Index idx
16549 \begin_layout Plain Layout
16550 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
16558 \begin_layout Standard
16559 連結列セルを含む表がいくつもある場合には、第
16560 \begin_inset CommandInset ref
16562 reference "sub:連結列の計算"
16566 節のように連結部分を含む列に必要とされる幅を計算することはたいへん面倒です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のす
16567 べての表で使うことができます。書式は、以下のように定義します。
16570 \begin_layout Standard
16575 newcolumntype{書式名}[引数の数]{コマンド}
16578 \begin_layout Standard
16603 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
16606 \begin_layout Standard
16607 \begin_inset VSpace medskip
16613 \begin_layout Standard
16614 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
16617 \begin_layout Standard
16622 newcolumntype{M}[1]{>{
16629 \begin_layout Standard
16637 \begin_inset CommandInset ref
16639 reference "sub:複数行"
16643 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
16646 \begin_layout Standard
16652 \begin_layout Standard
16656 \begin_layout Standard
16657 \begin_inset VSpace bigskip
16663 \begin_layout Standard
16664 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
16667 \begin_layout Standard
16672 newcolumntype{S}[2]{>{
16677 \begin_inset Newline newline
16681 \begin_inset Phantom HPhantom
16684 \begin_layout Plain Layout
16698 arrayrulewidth)*(1-#2))/#2}}
16701 \begin_layout Standard
16702 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
16703 \begin_inset CommandInset ref
16712 \begin_layout Standard
16713 こうしておけば、当該セルのLaTeX引数に
16716 \begin_layout Standard
16719 S{連結列セルの幅}{連結列セルがまたがる列の数}
16722 \begin_layout Standard
16726 \begin_layout Standard
16727 \begin_inset VSpace bigskip
16733 \begin_layout Standard
16734 色付き列については、以下のように定義するとよいでしょう。
16737 \begin_layout Standard
16742 newcolumntype{K}[1]{>{
16749 \begin_layout Standard
16750 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
16753 \begin_layout Standard
16759 \begin_layout Standard
16763 \begin_layout Standard
16764 \begin_inset VSpace bigskip
16770 \begin_layout Standard
16772 \begin_inset CommandInset ref
16774 reference "tab:ユーザー定義の表書式"
16778 を生成するには、第1列と連結列にLaTeX引数として
16781 \begin_layout Standard
16787 \begin_layout Standard
16791 \begin_layout Standard
16797 \begin_layout Standard
16801 \begin_layout Standard
16807 \begin_layout Standard
16811 \begin_layout Standard
16812 \begin_inset Float table
16818 \begin_layout Plain Layout
16819 \begin_inset Caption
16821 \begin_layout Plain Layout
16822 \begin_inset CommandInset label
16824 name "tab:ユーザー定義の表書式"
16836 \begin_layout Plain Layout
16838 \begin_inset Tabular
16839 <lyxtabular version="3" rows="3" columns="4">
16840 <features tabularvalignment="middle">
16841 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
16842 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
16843 <column alignment="center" valignment="middle" width="0">
16844 <column alignment="center" valignment="middle" width="0" special="K{red}">
16846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16849 \begin_layout Plain Layout
16855 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
16858 \begin_layout Plain Layout
16864 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16867 \begin_layout Plain Layout
16873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16876 \begin_layout Plain Layout
16884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16887 \begin_layout Plain Layout
16893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16896 \begin_layout Plain Layout
16902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16905 \begin_layout Plain Layout
16911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16914 \begin_layout Plain Layout
16922 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16925 \begin_layout Plain Layout
16931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16934 \begin_layout Plain Layout
16940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16943 \begin_layout Plain Layout
16949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16952 \begin_layout Plain Layout
16971 \begin_layout Subsection
16973 \begin_inset CommandInset label
16980 \begin_inset Index idx
16983 \begin_layout Plain Layout
16984 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
16992 \begin_layout Standard
16993 表中のすべての罫線の罫線幅を調整するには、長さ
17000 \begin_inset CommandInset ref
17002 reference "tab:Table-with-1.5"
17007 \begin_inset space \thinspace{}
17010 ptにするには、表や表フロートの前にTeXコードで
17013 \begin_layout Standard
17020 arrayrulewidth}{1.5pt}
17023 \begin_layout Standard
17024 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
17031 \begin_inset space \thinspace{}
17037 \begin_layout Standard
17041 \begin_layout Plain Layout
17047 arrayrulewidth}{1.5pt}
17053 \begin_inset Float table
17058 \begin_layout Plain Layout
17059 \begin_inset Caption
17061 \begin_layout Plain Layout
17062 \begin_inset CommandInset label
17064 name "tab:Table-with-1.5"
17069 \begin_inset space \thinspace{}
17080 \begin_layout Plain Layout
17082 \begin_inset Tabular
17083 <lyxtabular version="3" rows="3" columns="3">
17084 <features tabularvalignment="middle">
17085 <column alignment="center" valignment="top" width="0">
17086 <column alignment="center" valignment="top" width="0">
17087 <column alignment="center" valignment="top" width="0">
17089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17092 \begin_layout Plain Layout
17098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17101 \begin_layout Plain Layout
17107 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17110 \begin_layout Plain Layout
17118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17121 \begin_layout Plain Layout
17127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17130 \begin_layout Plain Layout
17136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17139 \begin_layout Plain Layout
17147 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17150 \begin_layout Plain Layout
17156 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17159 \begin_layout Plain Layout
17165 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17168 \begin_layout Plain Layout
17188 \begin_layout Plain Layout
17194 arrayrulewidth}{0.4pt}
17202 \begin_layout Standard
17203 \begin_inset VSpace bigskip
17207 \begin_inset CommandInset ref
17209 reference "tab:1.5pt幅横罫"
17214 \begin_inset space \thinspace{}
17217 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
17220 \begin_layout Standard
17230 \begin_inset Newline newline
17238 \begin_inset Newline newline
17247 arrayrulewidth 1.5pt}
17248 \begin_inset Newline newline
17259 arrayrulewidth 0.4pt}}
17262 \begin_layout Standard
17263 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
17266 \begin_layout Standard
17278 \begin_layout Standard
17282 \begin_layout Plain Layout
17293 \begin_layout Plain Layout
17302 \begin_layout Plain Layout
17310 arrayrulewidth 1.5pt}
17313 \begin_layout Plain Layout
17323 arrayrulewidth 0.4pt}}
17329 \begin_inset Float table
17334 \begin_layout Plain Layout
17335 \begin_inset Caption
17337 \begin_layout Plain Layout
17338 \begin_inset CommandInset label
17340 name "tab:1.5pt幅横罫"
17345 \begin_inset space \thinspace{}
17356 \begin_layout Plain Layout
17358 \begin_inset Tabular
17359 <lyxtabular version="3" rows="3" columns="3">
17360 <features tabularvalignment="middle">
17361 <column alignment="center" valignment="top" width="0">
17362 <column alignment="center" valignment="top" width="0">
17363 <column alignment="center" valignment="top" width="0">
17365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17368 \begin_layout Plain Layout
17374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17377 \begin_layout Plain Layout
17383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17386 \begin_layout Plain Layout
17394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17397 \begin_layout Plain Layout
17403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17406 \begin_layout Plain Layout
17412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17415 \begin_layout Plain Layout
17423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17426 \begin_layout Plain Layout
17432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17435 \begin_layout Plain Layout
17441 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17444 \begin_layout Plain Layout
17464 \begin_layout Plain Layout
17480 \begin_layout Standard
17481 \begin_inset VSpace bigskip
17485 \begin_inset space \thinspace{}
17489 \begin_inset CommandInset ref
17491 reference "sub:自製書式"
17495 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
17498 \begin_layout Standard
17503 newcolumntype{V}{!{
17505 vrule width 1.5pt}}
17508 \begin_layout Standard
17510 \begin_inset CommandInset ref
17512 reference "tab:1.5pt幅縦罫"
17519 \begin_layout Standard
17525 \begin_layout Standard
17529 \begin_layout Standard
17535 \begin_layout Standard
17539 \begin_layout Standard
17540 \begin_inset Float table
17545 \begin_layout Plain Layout
17546 \begin_inset Caption
17548 \begin_layout Plain Layout
17549 \begin_inset CommandInset label
17551 name "tab:1.5pt幅縦罫"
17556 \begin_inset space \thinspace{}
17567 \begin_layout Plain Layout
17569 \begin_inset Tabular
17570 <lyxtabular version="3" rows="3" columns="3">
17571 <features tabularvalignment="middle">
17572 <column alignment="center" valignment="top" width="0" special="Vc">
17573 <column alignment="center" valignment="top" width="0" special="Vc">
17574 <column alignment="center" valignment="top" width="0" special="VcV">
17576 <cell alignment="center" valignment="top" topline="true" usebox="none">
17579 \begin_layout Plain Layout
17585 <cell alignment="center" valignment="top" topline="true" usebox="none">
17588 \begin_layout Plain Layout
17594 <cell alignment="center" valignment="top" topline="true" usebox="none">
17597 \begin_layout Plain Layout
17605 <cell alignment="center" valignment="top" topline="true" usebox="none">
17608 \begin_layout Plain Layout
17614 <cell alignment="center" valignment="top" topline="true" usebox="none">
17617 \begin_layout Plain Layout
17623 <cell alignment="center" valignment="top" topline="true" usebox="none">
17626 \begin_layout Plain Layout
17634 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17637 \begin_layout Plain Layout
17643 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17646 \begin_layout Plain Layout
17652 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17655 \begin_layout Plain Layout
17674 \begin_layout Subsection
17676 \begin_inset Index idx
17679 \begin_layout Plain Layout
17680 ひょうのちょうせい@表の調整 ! てんけい@点罫
17688 \begin_layout Standard
17692 \begin_layout Plain Layout
17702 \begin_inset Note Note
17705 \begin_layout Plain Layout
17706 この節は、LaTeXパッケージarydshlnが導入済みの時のみ表示されます。
17714 \begin_layout Standard
17715 \begin_inset Float table
17721 \begin_layout Plain Layout
17722 \begin_inset Caption
17724 \begin_layout Plain Layout
17725 \begin_inset CommandInset label
17739 \begin_layout Plain Layout
17741 \begin_inset Tabular
17742 <lyxtabular version="3" rows="5" columns="5">
17743 <features tabularvalignment="middle">
17744 <column alignment="center" valignment="top" width="0">
17745 <column alignment="center" valignment="top" width="0">
17746 <column alignment="center" valignment="top" width="0" special=":c">
17747 <column alignment="center" valignment="top" width="0">
17748 <column alignment="center" valignment="top" width="0">
17750 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17753 \begin_layout Plain Layout
17759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17762 \begin_layout Plain Layout
17768 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17771 \begin_layout Plain Layout
17777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17780 \begin_layout Plain Layout
17786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17789 \begin_layout Plain Layout
17797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17800 \begin_layout Plain Layout
17806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17809 \begin_layout Plain Layout
17815 <cell alignment="center" valignment="top" topline="true" usebox="none">
17818 \begin_layout Plain Layout
17824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17827 \begin_layout Plain Layout
17833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17836 \begin_layout Plain Layout
17844 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17847 \begin_layout Plain Layout
17851 \begin_layout Plain Layout
17865 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17868 \begin_layout Plain Layout
17874 <cell alignment="center" valignment="top" usebox="none">
17877 \begin_layout Plain Layout
17883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17886 \begin_layout Plain Layout
17892 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17895 \begin_layout Plain Layout
17903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17906 \begin_layout Plain Layout
17910 \begin_layout Plain Layout
17924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17927 \begin_layout Plain Layout
17933 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
17936 \begin_layout Plain Layout
17942 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
17945 \begin_layout Plain Layout
17951 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17954 \begin_layout Plain Layout
17962 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17965 \begin_layout Plain Layout
17971 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17974 \begin_layout Plain Layout
17980 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17983 \begin_layout Plain Layout
17989 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17992 \begin_layout Plain Layout
17998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18001 \begin_layout Plain Layout
18020 \begin_layout Standard
18021 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
18024 \begin_layout Standard
18029 usepackage{arydshln}
18032 \begin_layout Standard
18033 というコマンドを書き、LaTeXパッケージの
18038 \begin_inset Index idx
18041 \begin_layout Plain Layout
18042 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
18047 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
18050 \begin_layout Standard
18051 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
18054 \begin_layout Standard
18062 \begin_layout Standard
18066 \begin_layout Standard
18067 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
18070 \begin_layout Standard
18080 \begin_layout Standard
18081 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
18084 \begin_layout Standard
18092 \begin_layout Standard
18096 \begin_layout Standard
18097 \begin_inset VSpace bigskip
18103 \begin_layout Standard
18105 \begin_inset CommandInset ref
18107 reference "tab:点罫表"
18111 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
18115 hdashlineが挿れられており、第3行の最初のセルには、
18118 \begin_inset Newline newline
18125 cdashline{4-5}が挿れられています。
18128 \begin_layout Standard
18129 \begin_inset Note Greyedout
18132 \begin_layout Plain Layout
18137 ここで用いられているLaTeXパッケージ
18142 \begin_inset CommandInset ref
18144 reference "sec:色付きの表"
18148 節の色付き表で用いられているLaTeXパッケージ
18153 \begin_inset Index idx
18156 \begin_layout Plain Layout
18157 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
18162 とは、どうやら共存し得ないようです。すなわち、色付き表に点罫をつけることはできません。
18170 \begin_layout Standard
18174 \begin_layout Plain Layout
18184 \begin_inset Note Note
18187 \begin_layout Plain Layout
18200 \begin_layout Standard
18205 パッケージを導入しなくてはなりません。
18208 \begin_layout Standard
18212 \begin_layout Plain Layout
18224 \begin_layout Chapter
18226 \begin_inset Index idx
18229 \begin_layout Plain Layout
18238 \begin_layout Section
18240 \begin_inset CommandInset label
18242 name "sec:フロートはじめに"
18247 \begin_inset Index idx
18250 \begin_layout Plain Layout
18259 \begin_layout Standard
18260 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
18269 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
18272 \begin_layout Standard
18273 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
18274 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
18275 ートには連番が割り当てられます。参照については、第
18276 \begin_inset CommandInset ref
18278 reference "sec:フロートの参照"
18285 \begin_layout Standard
18288 挿入\SpecialChar \menuseparator
18291 メニューを使えば、ラベルのついたボックスすなわち
18295 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
18296 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
18297 \begin_inset CommandInset ref
18299 reference "sec:キャプションの配置"
18303 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
18305 \begin_inset Graphics
18306 filename clipart/floatQt4.png
18308 scaleBeforeRotation
18312 のように、灰色ボタンに赤字ラベルで表示されます。
18315 \begin_layout Standard
18316 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
18319 \begin_layout Standard
18320 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
18323 \begin_layout Section
18327 \begin_layout Standard
18329 \begin_inset CommandInset ref
18331 reference "sec:図フロート"
18336 \begin_inset CommandInset ref
18338 reference "sec:表フロート"
18342 節で各々説明されている図フロートと表フロート以外に、
18353 \begin_layout Subsection
18355 \begin_inset Index idx
18358 \begin_layout Plain Layout
18359 ふろーと@フロート ! あるごりずむ@アルゴリズム
18367 \begin_layout Standard
18368 \begin_inset Float algorithm
18374 \begin_layout Plain Layout
18375 \begin_inset Caption
18377 \begin_layout Plain Layout
18378 \begin_inset CommandInset label
18380 name "alg:アルゴリズムフロートの例"
18392 \begin_layout LyX-Code
18394 \begin_inset Newline newline
18397 Sum:= Sum + A(I); /*comment*/
18398 \begin_inset Newline newline
18402 \begin_inset VSpace -4mm
18413 \begin_layout Standard
18418 \SpecialChar \menuseparator
18419 フロート\SpecialChar \menuseparator
18423 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
18424 \begin_inset CommandInset ref
18426 reference "cha:プログラムコードリスト"
18430 章で説明されているプログラムコードリストの代わりとみなすことができます。
18434 に述べられているように、アルゴリズム向けの環境としては、
18439 \begin_inset CommandInset ref
18441 reference "alg:アルゴリズムフロートの例"
18445 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
18446 \begin_inset space \thinspace{}
18452 \begin_layout Standard
18453 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
18456 \begin_layout Standard
18461 floatname{algorithm}{付けたい名称}
18464 \begin_layout Standard
18465 という行を手動で加える必要があります。ここで
18478 \begin_layout Standard
18479 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
18481 挿入\SpecialChar \menuseparator
18482 一覧/目次\SpecialChar \menuseparator
18485 メニューを使用します。それ以外の場合には、代わりに
18488 \begin_layout Standard
18493 listof{algorithm}{付けたい名称}
18496 \begin_layout Standard
18497 というコマンドをTeXコードとして用います。ここで
18505 s」という単語に相当する、ご使用になりたい言語での単語です。
18508 \begin_layout Standard
18509 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
18510 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
18513 \begin_layout Standard
18518 numberwithin{algorithm}{chapter}
18521 \begin_layout Standard
18528 というコマンドを使用するには、文書設定の
18539 \begin_layout Subsection
18541 \begin_inset Index idx
18544 \begin_layout Plain Layout
18545 ふろーと@フロート ! おりかえしふろーと@折返しフロート
18553 \begin_layout Standard
18554 \begin_inset Wrap figure
18561 \begin_layout Plain Layout
18562 \begin_inset Graphics
18563 filename ../clipart/mobius.eps
18565 scaleBeforeRotation
18566 rotateOrigin center
18573 \begin_layout Plain Layout
18574 \begin_inset Caption
18576 \begin_layout Plain Layout
18577 \begin_inset CommandInset label
18579 name "fig:折返し図フロート"
18593 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
18598 \begin_inset Index idx
18601 \begin_layout Plain Layout
18602 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
18609 挿入\SpecialChar \menuseparator
18610 フロート\SpecialChar \menuseparator
18621 \begin_layout Plain Layout
18622 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
18627 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
18643 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
18644 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
18645 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
18646 \begin_inset CommandInset ref
18648 reference "fig:折返し図フロート"
18653 \begin_inset space \thinspace{}
18657 \begin_inset space \thinspace{}
18660 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
18664 \begin_layout Plain Layout
18666 \begin_inset CommandInset ref
18668 reference "cha:LyXで使用できる単位"
18680 \begin_layout Standard
18681 \begin_inset Note Greyedout
18684 \begin_layout Plain Layout
18689 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
18698 \begin_layout Standard
18702 \begin_layout Itemize
18703 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
18704 うになってから、正確な位置に挿入しなくてはなりません。
18707 \begin_layout Itemize
18708 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
18711 \begin_layout Itemize
18712 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
18715 \begin_layout Itemize
18716 折返しフロートは、節見出しや表中に入れることは認められていません。
18719 \begin_layout Section
18721 \begin_inset Index idx
18724 \begin_layout Plain Layout
18725 ふろーと@フロート ! れんばん@連番
18733 \begin_layout Standard
18734 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
18738 \begin_layout Standard
18739 節から独立して付けられている連番を変更するには、文書プリアンブルで
18742 \begin_layout Standard
18754 \begin_layout Standard
18761 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
18767 コマンドを使用します。上のコマンドで使用されている
18773 は、表番号を小文字のローマ数字で印字するコマンドです。
18776 \begin_layout Standard
18777 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
18780 \begin_layout Standard
18785 numberwithin{table}{subsection}
18788 \begin_layout Standard
18795 コマンドを使用可能にするためには、文書設定の
18802 \begin_inset space ~
18810 \begin_layout Standard
18811 連番コマンドについての詳細と大切な注意点については、第
18812 \begin_inset CommandInset ref
18814 reference "sub:脚注の付番"
18821 \begin_layout Section
18823 \begin_inset CommandInset label
18830 \begin_inset Index idx
18833 \begin_layout Plain Layout
18834 ふろーと@フロート ! さんしょう@参照
18840 \begin_inset Index idx
18843 \begin_layout Plain Layout
18844 さんしょう@参照 ! ふろーとにたいする@フロートに対する
18852 \begin_layout Standard
18855 挿入\SpecialChar \menuseparator
18858 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
18859 \begin_inset Graphics
18860 filename ../clipart/labelQt4.png
18862 scaleBeforeRotation
18866 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
18867 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
18874 \begin_layout Standard
18875 ラベルは、参照のための名称兼位置標として用いられます。
18877 挿入\SpecialChar \menuseparator
18881 \begin_inset Graphics
18882 filename ../../images/dialog-show-new-inset_ref.png
18884 scaleBeforeRotation
18888 を使えば、ラベルを参照することができます。
18889 \begin_inset Graphics
18890 filename clipart/referenceQt4.png
18892 scaleBeforeRotation
18896 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
18897 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
18901 \begin_layout Standard
18902 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
18903 出力では、参照の代わりに二つの疑問符が表示されることになります。
18906 \begin_layout Standard
18907 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
18908 で、リンクの更新に手間を割く必要はありません。
18911 \begin_layout Standard
18916 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
18920 に変わるので、相互参照にカーソルを戻すのに使用することができます。相互参照ボックスを右クリックしても、カーソルを参照されているラベルの前に移すことができますが、
18921 この場合には元に戻ることができません。
18924 \begin_layout Subsection
18926 \begin_inset CommandInset label
18933 \begin_inset Index idx
18936 \begin_layout Plain Layout
18945 \begin_layout Standard
18946 相互参照には、以下の6種類があります。
18949 \begin_layout Description
18950 <参照>: これはフロート番号を表示します。これが既定値です。例:
18951 \begin_inset CommandInset ref
18953 reference "fig:歪められた二つの像"
18960 \begin_layout Description
18961 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
18963 \begin_inset CommandInset ref
18972 \begin_layout Description
18973 <参照ページ>: これはページ番号を表示します。例:Page
18974 \begin_inset space ~
18978 \begin_inset CommandInset ref
18979 LatexCommand pageref
18980 reference "fig:歪められた二つの像"
18987 \begin_layout Description
18989 \begin_inset space ~
18993 \begin_inset space ~
18996 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
18997 \begin_inset CommandInset ref
18998 LatexCommand vpageref
18999 reference "fig:歪められた二つの像"
19006 \begin_layout Description
19008 \begin_inset space ~
19012 \begin_inset space ~
19016 \begin_inset space ~
19019 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
19020 \begin_inset CommandInset ref
19022 reference "fig:歪められた二つの像"
19029 \begin_layout Description
19033 \begin_inset space ~
19036 reference: prints a self-defined cross-reference format.
19037 \begin_inset Newline newline
19041 \begin_inset Note Greyedout
19044 \begin_layout Plain Layout
19050 This feature is only available when you have the LaTeX-package
19060 \begin_inset Index idx
19063 \begin_layout Plain Layout
19064 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19070 \begin_inset Index idx
19073 \begin_layout Plain Layout
19074 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19089 \begin_inset Newline newline
19094 You can select which LaTeX-package should be used for this feature by setting
19097 Use refstyle (not prettyref) for cross-references
19101 Document\SpecialChar \menuseparator
19102 Settings\SpecialChar \menuseparator
19106 The format is specified by adding the command
19118 (refstyle) to the preamble of the document.
19119 For example redefining all references to figures (which have the label
19121 \begin_inset Quotes eld
19129 \begin_inset Quotes erd
19132 ) can be done with this command
19135 \begin_inset Newline newline
19142 newref{fig}{refcmd={
19151 \begin_inset Newline newline
19156 For more information about the format, have a look at the package documentations
19159 \begin_inset CommandInset citation
19161 key "prettyref,refstyle"
19168 \begin_layout Description
19172 \begin_inset space ~
19175 reference: prints the caption of the reference
19178 \begin_inset CommandInset ref
19179 LatexCommand nameref
19180 reference "fig:歪められた二つの像"
19187 \begin_layout Standard
19193 will not print the page number if the label is on the previous, the same,
19196 \begin_inset space \thinspace{}
19200 \begin_inset space \space{}
19204 \begin_inset Quotes eld
19212 \begin_inset Quotes erd
19218 <reference> on page <page>
19220 will not print anything about the page if the label is on the same page.
19223 \begin_layout Standard
19226 The number and current page of the part of the document referred to in the
19227 output is automatically calculated by LaTeX.
19228 The varieties are adjusted in the field
19232 of the cross-reference window that appears when you click on the cross-referenc
19236 \begin_layout Standard
19239 \begin_inset Note Greyedout
19242 \begin_layout Plain Layout
19248 It is recommended to use the LaTeX-package
19254 \begin_inset Index idx
19257 \begin_layout Plain Layout
19258 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19271 \begin_inset Index idx
19274 \begin_layout Plain Layout
19275 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19282 does not know all of LyX's possible label shortcuts
19286 \begin_layout Plain Layout
19289 \begin_inset Quotes eld
19293 \begin_inset Quotes erd
19296 is for example LyX's shortcut for labels in figure captions.
19301 and is not internationalized.
19309 \begin_layout Subsection
19311 \begin_inset Index idx
19314 \begin_layout Plain Layout
19315 さんしょう@参照 ! じどうめいめい@自動命名
19323 \begin_layout Standard
19337 \begin_inset Index idx
19340 \begin_layout Plain Layout
19341 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19346 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
19350 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
19351 の機能を使用するには、hyperrefを有効にして、
19354 \begin_layout Standard
19370 \begin_layout Standard
19371 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
19372 \begin_inset space \thinspace{}
19375 」としたいなど、既定の参照名以外のものが欲しい場合には、
19378 \begin_layout Standard
19389 sectionautorefname}
19390 \begin_inset Newline newline
19394 \begin_inset Phantom HPhantom
19397 \begin_layout Plain Layout
19400 \begin_inset space ~
19413 \begin_layout Standard
19414 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
19415 \begin_inset Newline newline
19426 に置き換えてください(***は使用中の言語名)。
19429 \begin_layout Standard
19430 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
19433 \begin_layout Standard
19441 \begin_inset Newline newline
19451 \begin_inset Newline newline
19462 equationautorefname}
19463 \begin_inset Newline newline
19467 \begin_inset Phantom HPhantom
19470 \begin_layout Plain Layout
19473 \begin_inset space ~
19488 \begin_layout Standard
19489 この話題に関する詳細は、hyperrefの説明書
19490 \begin_inset CommandInset citation
19499 \begin_layout Standard
19500 \begin_inset Note Greyedout
19503 \begin_layout Plain Layout
19513 \begin_inset CommandInset ref
19515 reference "sub:相互参照の書式"
19519 節)で使用しているときには、使用することができません。
19527 \begin_layout Standard
19532 は、参照の自動命名が使用されている一例です。
19535 \begin_layout Subsection
19537 \begin_inset CommandInset label
19544 \begin_inset Index idx
19547 \begin_layout Plain Layout
19548 さんしょう@参照 ! さんしょういち@参照位置
19556 \begin_layout Standard
19570 \begin_inset Index idx
19573 \begin_layout Plain Layout
19574 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19579 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
19580 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
19585 \begin_inset Index idx
19588 \begin_layout Plain Layout
19589 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19599 \begin_inset Index idx
19602 \begin_layout Plain Layout
19603 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19608 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
19611 \begin_layout Standard
19616 usepackage[figure]{hypcap}
19619 \begin_layout Standard
19620 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
19622 \begin_inset CommandInset citation
19631 \begin_layout Standard
19632 \begin_inset Note Greyedout
19635 \begin_layout Plain Layout
19640 は内部図への参照には効力がありません。
19648 \begin_layout Section
19650 \begin_inset CommandInset label
19657 \begin_inset Index idx
19660 \begin_layout Plain Layout
19669 \begin_layout Standard
19679 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
19680 \begin_inset Newline newline
19701 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
19702 \begin_inset Newline newline
19723 オプションは、フロートを回転するのに用います。第
19733 \begin_inset CommandInset ref
19735 reference "sec:回転フロート"
19751 \begin_layout Standard
19779 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
19782 \begin_layout Description
19792 フロートを挿入位置に配置することを試みます
19795 \begin_layout Description
19805 フロートを現在ページの上部に配置することを試みます
19808 \begin_layout Description
19818 フロートを現在ページの下部に配置することを試みます
19821 \begin_layout Description
19831 フロートを独立したページに配置することを試みます
19834 \begin_layout Standard
19839 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
19847 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
19848 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
19851 \begin_layout Standard
19852 既定では、各オプションはそれぞれ以下の規則を持っています。
19856 \labelwidthstring 00.00.0000
19861 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
19871 \labelwidthstring 00.00.0000
19876 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
19886 \labelwidthstring 00.00.0000
19891 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
19900 \begin_layout Standard
19905 オプションを追加することによって、これらを無視することができます。
19906 \begin_inset Newline newline
19909 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
19910 、ページの5割に変えるには、文書プリアンブルに
19913 \begin_layout Standard
19920 bottomfraction}{0.5}
19923 \begin_layout Standard
19927 \begin_layout Standard
19928 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
19932 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
19933 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
19937 \begin_layout Standard
19938 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
19941 \begin_layout Standard
19942 \begin_inset VSpace bigskip
19948 \begin_layout Standard
19949 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
19950 することがあります。この問題を避けるには、LaTeXコマンドの
19952 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
19953 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
19956 \begin_layout Standard
19966 \begin_inset Newline newline
19980 \begin_layout Standard
19981 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
19982 することがあるので、これらに対する定義はお勧めしません。
19985 \begin_layout Standard
19986 \begin_inset VSpace bigskip
19989 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
19994 \begin_inset Index idx
19997 \begin_layout Plain Layout
19998 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
20003 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
20004 \begin_inset Quotes eld
20010 \begin_inset space ~
20016 \begin_inset Quotes erd
20019 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
20022 \begin_layout Standard
20027 usepackage[options]{endfloat}
20030 \begin_layout Standard
20031 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
20036 \begin_inset CommandInset citation
20043 \begin_inset Newline newline
20047 \begin_inset Note Greyedout
20050 \begin_layout Plain Layout
20055 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
20056 \begin_inset CommandInset citation
20068 \begin_inset Newline newline
20072 \begin_inset Note Greyedout
20075 \begin_layout Plain Layout
20084 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
20098 \begin_layout Standard
20099 \begin_inset VSpace bigskip
20102 フロートの割付に関する詳細は、LaTeX関連書
20103 \begin_inset CommandInset citation
20105 key "latexcompanion,latexguide,latexbook"
20112 \begin_layout Section
20114 \begin_inset CommandInset label
20121 \begin_inset Index idx
20124 \begin_layout Plain Layout
20125 ふろーと@フロート ! かいてん@回転
20133 \begin_layout Standard
20134 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
20141 \begin_layout Standard
20142 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
20146 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
20147 たって回転方向を強制したい場合には、文書クラスオプションに
20158 \begin_layout Standard
20159 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
20160 \begin_inset CommandInset ref
20162 reference "tab:回転した表"
20169 \begin_layout Standard
20170 \begin_inset Note Greyedout
20173 \begin_layout Plain Layout
20178 すべてのDVIビューアが回転フロートを表示できるわけではありません。
20186 \begin_layout Standard
20187 \begin_inset Float table
20192 \begin_layout Plain Layout
20193 \begin_inset Caption
20195 \begin_layout Plain Layout
20196 \begin_inset CommandInset label
20210 \begin_layout Plain Layout
20212 \begin_inset Tabular
20213 <lyxtabular version="3" rows="1" columns="5">
20214 <features tabularvalignment="middle">
20215 <column alignment="center" valignment="top" width="0">
20216 <column alignment="center" valignment="top" width="0">
20217 <column alignment="center" valignment="top" width="0">
20218 <column alignment="center" valignment="top" width="0">
20219 <column alignment="center" valignment="top" width="0">
20221 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20224 \begin_layout Plain Layout
20230 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20233 \begin_layout Plain Layout
20239 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20242 \begin_layout Plain Layout
20248 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20251 \begin_layout Plain Layout
20257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20260 \begin_layout Plain Layout
20279 \begin_layout Section
20281 \begin_inset Index idx
20284 \begin_layout Plain Layout
20285 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
20293 \begin_layout Standard
20294 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
20295 \begin_inset CommandInset ref
20297 reference "tab:従属表を横に並べたもの"
20302 \begin_inset CommandInset ref
20304 reference "tab:従属表を縦に並べたもの"
20308 に示されているように段落と同様に指定することができます。
20311 \begin_layout Standard
20312 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
20313 \begin_inset CommandInset ref
20315 reference "tab:これは従属表a"
20320 \begin_inset CommandInset ref
20322 reference "tab:これは従属表b"
20327 \begin_inset CommandInset ref
20329 reference "tab:従属表を横に並べたもの"
20334 \begin_inset Float table
20339 \begin_layout Plain Layout
20340 \begin_inset Caption
20342 \begin_layout Plain Layout
20343 \begin_inset CommandInset label
20345 name "tab:従属表を横に並べたもの"
20357 \begin_layout Plain Layout
20358 \begin_inset space \hfill{}
20362 \begin_inset Float table
20367 \begin_layout Plain Layout
20368 \begin_inset Caption
20370 \begin_layout Plain Layout
20371 \begin_inset CommandInset label
20385 \begin_layout Plain Layout
20387 \begin_inset Tabular
20388 <lyxtabular version="3" rows="1" columns="5">
20389 <features tabularvalignment="middle">
20390 <column alignment="center" valignment="top" width="0">
20391 <column alignment="center" valignment="top" width="0">
20392 <column alignment="center" valignment="top" width="0">
20393 <column alignment="center" valignment="top" width="0">
20394 <column alignment="center" valignment="top" width="0">
20396 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20399 \begin_layout Plain Layout
20405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20408 \begin_layout Plain Layout
20414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20417 \begin_layout Plain Layout
20423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20426 \begin_layout Plain Layout
20432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20435 \begin_layout Plain Layout
20452 \begin_inset space \hfill{}
20456 \begin_inset Float table
20461 \begin_layout Plain Layout
20462 \begin_inset Caption
20464 \begin_layout Plain Layout
20465 \begin_inset CommandInset label
20479 \begin_layout Plain Layout
20481 \begin_inset Tabular
20482 <lyxtabular version="3" rows="1" columns="5">
20483 <features tabularvalignment="middle">
20484 <column alignment="center" valignment="top" width="0">
20485 <column alignment="center" valignment="top" width="0">
20486 <column alignment="center" valignment="top" width="0">
20487 <column alignment="center" valignment="top" width="0">
20488 <column alignment="center" valignment="top" width="0">
20490 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20493 \begin_layout Plain Layout
20499 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20502 \begin_layout Plain Layout
20508 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20511 \begin_layout Plain Layout
20517 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20520 \begin_layout Plain Layout
20526 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20529 \begin_layout Plain Layout
20546 \begin_inset space \hfill{}
20555 \begin_inset Float table
20560 \begin_layout Plain Layout
20561 \begin_inset Caption
20563 \begin_layout Plain Layout
20564 \begin_inset CommandInset label
20566 name "tab:従属表を縦に並べたもの"
20570 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
20578 \begin_layout Plain Layout
20579 \begin_inset Float table
20584 \begin_layout Plain Layout
20585 \begin_inset Caption
20587 \begin_layout Plain Layout
20596 \begin_layout Plain Layout
20598 \begin_inset Tabular
20599 <lyxtabular version="3" rows="1" columns="4">
20600 <features tabularvalignment="middle">
20601 <column alignment="center" valignment="top" width="0">
20602 <column alignment="center" valignment="top" width="0">
20603 <column alignment="center" valignment="top" width="0">
20604 <column alignment="center" valignment="top" width="0">
20606 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20609 \begin_layout Plain Layout
20615 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20618 \begin_layout Plain Layout
20624 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20627 \begin_layout Plain Layout
20633 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20636 \begin_layout Plain Layout
20655 \begin_layout Plain Layout
20656 \begin_inset Float table
20661 \begin_layout Plain Layout
20662 \begin_inset Caption
20664 \begin_layout Plain Layout
20673 \begin_layout Plain Layout
20675 \begin_inset Tabular
20676 <lyxtabular version="3" rows="1" columns="5">
20677 <features tabularvalignment="middle">
20678 <column alignment="center" valignment="top" width="0">
20679 <column alignment="center" valignment="top" width="0">
20680 <column alignment="center" valignment="top" width="0">
20681 <column alignment="center" valignment="top" width="0">
20682 <column alignment="center" valignment="top" width="0">
20684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20687 \begin_layout Plain Layout
20693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20696 \begin_layout Plain Layout
20702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20705 \begin_layout Plain Layout
20711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20714 \begin_layout Plain Layout
20720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20723 \begin_layout Plain Layout
20747 \begin_layout Section
20749 \begin_inset Index idx
20752 \begin_layout Plain Layout
20753 ふろーと@フロート ! よこならび@横並び
20761 \begin_layout Standard
20763 \begin_inset CommandInset ref
20765 reference "fig:左側のフロート"
20770 \begin_inset CommandInset ref
20772 reference "fig:右側のフロート"
20776 のようにフロートを横並びに配置するには、
20780 フロートのみを使用し、その中に二つのminipageボックスを挿入します
20784 \begin_layout Plain Layout
20786 \begin_inset CommandInset ref
20788 reference "sec:ミニページ"
20798 \begin_inset space \thinspace{}
20802 \begin_inset space \thinspace{}
20805 列幅%とし、各minipageのボックス配置を
20809 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
20813 がここではminipageボックスの幅によって計算されることです。
20816 \begin_layout Standard
20817 \begin_inset Float figure
20822 \begin_layout Plain Layout
20823 \begin_inset Box Frameless
20833 height_special "totalheight"
20836 \begin_layout Plain Layout
20838 \begin_inset Graphics
20839 filename ../clipart/mobius.eps
20842 scaleBeforeRotation
20849 \begin_layout Plain Layout
20850 \begin_inset Caption
20852 \begin_layout Plain Layout
20853 \begin_inset CommandInset label
20870 \begin_inset space \hfill{}
20874 \begin_inset Box Frameless
20884 height_special "totalheight"
20887 \begin_layout Plain Layout
20889 \begin_inset Graphics
20890 filename ../clipart/platypus.eps
20893 scaleBeforeRotation
20900 \begin_layout Plain Layout
20901 \begin_inset Caption
20903 \begin_layout Plain Layout
20904 \begin_inset CommandInset label
20923 \begin_layout Plain Layout
20932 \begin_layout Section
20934 \begin_inset Index idx
20937 \begin_layout Plain Layout
20938 きゃぷしょん@キャプション ! しょしきせってい@書式設定
20944 \begin_inset Index idx
20947 \begin_layout Plain Layout
20948 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
20954 \begin_inset CommandInset label
20956 name "sec:キャプションの書式設定"
20963 \begin_layout Standard
20972 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
20976 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
20980 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
20981 。このキャプション書式は、すべての文書書式に適しているわけではありません。
20984 \begin_layout Standard
20985 既定のキャプション書式を変更するには、文書プリアンブルに
20988 \begin_layout Standard
20993 usepackage[format definition]{caption}
20996 \begin_layout Standard
20997 という行を加えて、LaTeXパッケージ
21002 \begin_inset Index idx
21005 \begin_layout Plain Layout
21006 LaTeXぱっけーじ@LaTeXパッケージ ! caption
21011 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
21014 \begin_layout Standard
21019 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21022 \begin_layout Standard
21023 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
21027 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
21030 \begin_layout Standard
21035 captionsetup[フロート型]{書式定義}
21038 \begin_layout Standard
21039 というコマンドを使用して、個別の書式を指定してください。たとえば、図
21040 \begin_inset CommandInset ref
21042 reference "fig:図キャプション"
21047 \begin_inset CommandInset ref
21049 reference "tab:表キャプション"
21053 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
21056 \begin_layout Standard
21061 usepackage[tableposition=top]{caption}
21064 \begin_inset Newline newline
21071 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21072 \begin_inset Newline newline
21076 \begin_inset Phantom HPhantom
21079 \begin_layout Plain Layout
21082 captionsetup[figure]{
21088 \begin_inset Newline newline
21093 captionsetup[table]{labelfont={bf,sf}}
21096 \begin_layout Standard
21097 \begin_inset Note Greyedout
21100 \begin_layout Plain Layout
21114 \begin_inset Index idx
21117 \begin_layout Plain Layout
21118 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21123 が使われているときには、無効になります。この場合には、文書クラスオプション
21125 captions=tableheading
21135 \begin_layout Standard
21140 パッケージについての詳細は、その取扱説明書
21141 \begin_inset CommandInset citation
21150 \begin_layout Standard
21151 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
21154 \begin_layout Standard
21166 \begin_layout Standard
21180 \begin_layout Standard
21181 \begin_inset VSpace bigskip
21189 \begin_inset Index idx
21192 \begin_layout Plain Layout
21193 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21200 article (KOMA-script)
21208 letter (KOMA-script)
21212 report (KOMA-script)
21226 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
21229 \begin_layout Standard
21234 setkomafont{captionlabel}{
21239 \begin_layout Standard
21251 \begin_inset CommandInset citation
21260 \begin_layout Standard
21264 \begin_layout Plain Layout
21268 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21275 \begin_inset Note Note
21278 \begin_layout Plain Layout
21279 キャプション書式は、この例のみ変更してあります。
21287 \begin_layout Standard
21288 \begin_inset Float figure
21294 \begin_layout Plain Layout
21296 \begin_inset Graphics
21297 filename ../clipart/mobius.eps
21300 scaleBeforeRotation
21307 \begin_layout Plain Layout
21308 \begin_inset Caption
21310 \begin_layout Plain Layout
21311 \begin_inset CommandInset label
21317 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
21330 \begin_layout Standard
21334 \begin_layout Plain Layout
21338 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21347 \begin_layout Standard
21348 \begin_inset Float table
21354 \begin_layout Plain Layout
21355 \begin_inset Caption
21357 \begin_layout Plain Layout
21358 \begin_inset CommandInset label
21364 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
21372 \begin_layout Plain Layout
21374 \begin_inset Tabular
21375 <lyxtabular version="3" rows="1" columns="5">
21376 <features tabularvalignment="middle">
21377 <column alignment="center" valignment="top" width="0">
21378 <column alignment="center" valignment="top" width="0">
21379 <column alignment="center" valignment="top" width="0">
21380 <column alignment="center" valignment="top" width="0">
21381 <column alignment="center" valignment="top" width="0">
21383 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21386 \begin_layout Plain Layout
21392 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21395 \begin_layout Plain Layout
21401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21404 \begin_layout Plain Layout
21410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21413 \begin_layout Plain Layout
21419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21422 \begin_layout Plain Layout
21441 \begin_layout Section
21443 \begin_inset Index idx
21446 \begin_layout Plain Layout
21447 きゃぷしょん@キャプション ! はいち@配置
21453 \begin_inset Index idx
21456 \begin_layout Plain Layout
21457 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
21463 \begin_inset CommandInset label
21465 name "sec:キャプションの配置"
21472 \begin_layout Standard
21476 \begin_layout Description
21477 図の場合: キャプションを図の下に置く
21480 \begin_layout Description
21481 表の場合: キャプションを表の上に置く
21484 \begin_layout Standard
21485 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
21501 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
21509 \begin_layout Standard
21515 \begin_layout Standard
21520 \begin_layout Plain Layout
21526 \begin_inset CommandInset ref
21528 reference "sec:キャプションの書式設定"
21542 \begin_inset Index idx
21545 \begin_layout Plain Layout
21546 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21553 article (KOMA-script)
21561 letter (KOMA-script)
21565 report (KOMA-script)
21568 \begin_inset space \thinspace{}
21575 パッケージにオプションを与える代わりに、文書クラスオプション
21577 captions=tableheading
21582 \begin_layout Standard
21583 \begin_inset VSpace bigskip
21586 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
21589 \begin_layout Standard
21594 usepackage[option]{sidecap}
21597 \begin_layout Standard
21598 という行を入れて、LaTeXパッケージ
21603 \begin_inset Index idx
21606 \begin_layout Plain Layout
21607 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
21612 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
21616 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
21627 \begin_layout Standard
21631 \begin_layout Plain Layout
21641 \begin_inset Note Note
21644 \begin_layout Plain Layout
21649 が導入されているときのみ表示されます。
21657 \begin_layout Standard
21658 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
21661 \begin_layout Standard
21663 \begin_inset CommandInset line
21674 \begin_layout Standard
21682 \begin_inset Newline newline
21686 \begin_inset Phantom HPhantom
21689 \begin_layout Plain Layout
21692 \begin_inset space ~
21707 \begin_inset Newline newline
21711 \begin_inset Phantom HPhantom
21714 \begin_layout Plain Layout
21717 \begin_inset space ~
21732 \begin_inset Newline newline
21736 \begin_inset Phantom HPhantom
21739 \begin_layout Plain Layout
21742 \begin_inset space ~
21752 renewenvironment{table}{
21759 \begin_layout Standard
21767 \begin_inset Newline newline
21771 \begin_inset Phantom HPhantom
21774 \begin_layout Plain Layout
21777 \begin_inset space ~
21792 \begin_inset Newline newline
21796 \begin_inset Phantom HPhantom
21799 \begin_layout Plain Layout
21802 \begin_inset space ~
21819 \begin_layout Standard
21827 \begin_inset Newline newline
21831 \begin_inset Phantom HPhantom
21834 \begin_layout Plain Layout
21837 \begin_inset space ~
21852 \begin_inset Newline newline
21856 \begin_inset Phantom HPhantom
21859 \begin_layout Plain Layout
21862 \begin_inset space ~
21877 \begin_inset Newline newline
21881 \begin_inset Phantom HPhantom
21884 \begin_layout Plain Layout
21887 \begin_inset space ~
21897 renewenvironment{figure}{
21904 \begin_layout Standard
21912 \begin_inset Newline newline
21916 \begin_inset Phantom HPhantom
21919 \begin_layout Plain Layout
21922 \begin_inset space ~
21937 \begin_inset Newline newline
21941 \begin_inset Phantom HPhantom
21944 \begin_layout Plain Layout
21947 \begin_inset space ~
21964 \begin_layout Standard
21966 \begin_inset CommandInset line
21977 \begin_layout Standard
21978 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
21981 \begin_layout Standard
21989 \begin_layout Standard
21990 というコマンドを、フロートの前にTeXコードで入れてください。本来のフロート定義に戻すには、フロートの後に、TeXコードで
21993 \begin_layout Standard
22001 \begin_layout Standard
22005 \begin_layout Standard
22006 表フロートに対しては、対応するコマンド
22009 \begin_layout Standard
22023 \begin_layout Standard
22025 \begin_inset CommandInset ref
22027 reference "fig:図横キャプション"
22032 \begin_inset CommandInset ref
22034 reference "tab:表横キャプション"
22041 \begin_layout Standard
22042 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
22043 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
22046 \begin_layout Standard
22051 sidecaptionvpos{フロート型}{配置}
22054 \begin_layout Standard
22055 というコマンドを使用します。ここで「フロート型」は
22063 であり、「配置」は、上揃えの場合はtopの
22066 \begin_layout Standard
22079 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
22082 \begin_layout Standard
22087 sidecaptionvpos{figure}{c}
22090 \begin_layout Standard
22091 というコマンドを使用します。これは、図
22092 \begin_inset CommandInset ref
22094 reference "fig:図横キャプション-2"
22101 \begin_layout Standard
22102 \begin_inset VSpace medskip
22110 \begin_inset CommandInset citation
22119 \begin_layout Standard
22120 \begin_inset Note Greyedout
22123 \begin_layout Plain Layout
22129 \begin_inset CommandInset ref
22131 reference "sub:参照位置"
22140 \begin_inset Index idx
22143 \begin_layout Plain Layout
22144 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
22149 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
22157 \begin_layout Standard
22161 \begin_layout Plain Layout
22173 \begin_layout Standard
22174 \begin_inset Float figure
22179 \begin_layout Plain Layout
22180 \begin_inset Graphics
22181 filename ../clipart/escher-lsd.eps
22183 scaleBeforeRotation
22190 \begin_layout Plain Layout
22191 \begin_inset Caption
22193 \begin_layout Plain Layout
22194 \begin_inset CommandInset label
22196 name "fig:図横キャプション"
22213 \begin_layout Standard
22217 \begin_layout Plain Layout
22229 \begin_layout Standard
22230 \begin_inset Float table
22235 \begin_layout Plain Layout
22236 \begin_inset Caption
22238 \begin_layout Plain Layout
22239 \begin_inset CommandInset label
22241 name "tab:表横キャプション"
22253 \begin_layout Plain Layout
22254 \begin_inset Tabular
22255 <lyxtabular version="3" rows="4" columns="5">
22256 <features tabularvalignment="middle">
22257 <column alignment="center" valignment="top" width="0">
22258 <column alignment="center" valignment="top" width="0">
22259 <column alignment="center" valignment="top" width="0">
22260 <column alignment="center" valignment="top" width="0">
22261 <column alignment="center" valignment="top" width="0">
22263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22266 \begin_layout Plain Layout
22272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22275 \begin_layout Plain Layout
22281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22284 \begin_layout Plain Layout
22290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22293 \begin_layout Plain Layout
22299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22302 \begin_layout Plain Layout
22310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22313 \begin_layout Plain Layout
22319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22322 \begin_layout Plain Layout
22328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22331 \begin_layout Plain Layout
22337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22340 \begin_layout Plain Layout
22346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22349 \begin_layout Plain Layout
22357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22360 \begin_layout Plain Layout
22366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22369 \begin_layout Plain Layout
22375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22378 \begin_layout Plain Layout
22384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22387 \begin_layout Plain Layout
22393 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22396 \begin_layout Plain Layout
22404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22407 \begin_layout Plain Layout
22413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22416 \begin_layout Plain Layout
22422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22425 \begin_layout Plain Layout
22431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22434 \begin_layout Plain Layout
22440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22443 \begin_layout Plain Layout
22462 \begin_layout Standard
22466 \begin_layout Plain Layout
22478 \begin_layout Standard
22482 \begin_layout Plain Layout
22486 sidecaptionvpos{figure}{c}
22492 \begin_inset Float figure
22497 \begin_layout Plain Layout
22498 \begin_inset Graphics
22499 filename ../clipart/escher-lsd.eps
22501 scaleBeforeRotation
22508 \begin_layout Plain Layout
22509 \begin_inset Caption
22511 \begin_layout Plain Layout
22512 \begin_inset CommandInset label
22514 name "fig:図横キャプション-2"
22518 これは図の横にある縦方向中央揃えのキャプションです。
22531 \begin_layout Standard
22535 \begin_layout Plain Layout
22547 \begin_layout Standard
22551 \begin_layout Plain Layout
22561 \begin_inset Note Note
22564 \begin_layout Plain Layout
22569 が導入されていないときのみ表示されます。
22577 \begin_layout Standard
22578 本節の残りの部分を出力で表示するには、LaTeXパッケージ
22585 \begin_layout Standard
22589 \begin_layout Plain Layout
22601 \begin_layout Section
22603 \begin_inset Index idx
22606 \begin_layout Plain Layout
22607 ふろーと@フロート ! ふろーといちらん@フロート一覧
22615 \begin_layout Standard
22616 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
22618 挿入\SpecialChar \menuseparator
22624 \begin_layout Standard
22625 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
22628 \begin_layout Standard
22629 本文書の終わりに、図一覧と表一覧があります。
22632 \begin_layout Chapter
22636 \begin_layout Section
22638 \begin_inset Index idx
22641 \begin_layout Plain Layout
22642 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
22650 \begin_layout Standard
22652 \begin_inset Graphics
22653 filename ../../images/note-insert.png
22655 scaleBeforeRotation
22661 挿入\SpecialChar \menuseparator
22664 メニューで挿入することができます。注釈には、以下の三つの型があります。
22667 \begin_layout Description
22668 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
22669 \begin_inset Newline newline
22673 \begin_inset Newline newline
22677 \begin_inset Graphics
22678 filename ../clipart/LyXNoteImageQt4.png
22681 scaleBeforeRotation
22686 \begin_inset Note Note
22689 \begin_layout Plain Layout
22690 これは、出力には現れない注釈ボックスに書かれた文章です。
22698 \begin_layout Description
22699 コメント この注釈も出力には現れませんが、
22701 ファイル\SpecialChar \menuseparator
22702 エクスポート\SpecialChar \menuseparator
22703 LaTeX (pdflatex) / (平文)
22705 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
22706 \begin_inset Newline newline
22710 \begin_inset Newline newline
22714 \begin_inset Graphics
22715 filename ../clipart/CommentNoteImageQt4.png
22718 scaleBeforeRotation
22723 \begin_inset Note Comment
22726 \begin_layout Plain Layout
22727 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
22735 \begin_layout Description
22736 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
22737 \begin_inset Newline newline
22741 \begin_inset Newline newline
22745 \begin_inset Graphics
22746 filename ../clipart/GreyedOutNoteImageQt4.png
22749 scaleBeforeRotation
22754 \begin_inset Newline newline
22761 \begin_layout Plain Layout
22765 renewenvironment{lyxgreyedout}
22768 \begin_layout Plain Layout
22772 textcolor[gray]{0.8}
22782 \begin_inset Note Greyedout
22785 \begin_layout Plain Layout
22786 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
22790 \begin_layout Plain Layout
22791 これは、淡色表示注釈内に脚注を用いた例です。
22805 \begin_layout Plain Layout
22809 renewenvironment{lyxgreyedout}
22812 \begin_layout Plain Layout
22826 \begin_inset Note Note
22829 \begin_layout Plain Layout
22830 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
22837 \begin_inset Newline newline
22841 \begin_inset Newline newline
22844 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
22847 \begin_layout Standard
22848 \begin_inset VSpace bigskip
22852 \begin_inset Graphics
22853 filename ../../images/note-insert.png
22855 scaleBeforeRotation
22863 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
22864 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
22868 \begin_layout Standard
22869 \begin_inset VSpace bigskip
22872 淡色注釈の文字色は、プリアンブルに以下のコマンドを置くことで変更することができます。
22875 \begin_layout Standard
22880 renewenvironment{lyxgreyedout}
22881 \begin_inset Newline newline
22885 \begin_inset Phantom HPhantom
22888 \begin_layout Plain Layout
22891 \begin_inset space ~
22908 \begin_layout Standard
22909 使用できる色彩名と、自製色の定義の仕方は、第
22910 \begin_inset CommandInset ref
22912 reference "sec:色付きの表"
22919 \begin_layout Standard
22920 本文書で青で表示されている注釈は、青文字に設定した淡色表示注釈を使用しています。
22923 \begin_layout Section
22925 \begin_inset CommandInset label
22932 \begin_inset Index idx
22935 \begin_layout Plain Layout
22936 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
22942 \begin_inset Index idx
22945 \begin_layout Plain Layout
22954 \begin_layout Standard
22956 \begin_inset Graphics
22957 filename ../../images/footnote-insert.png
22959 scaleBeforeRotation
22965 挿入\SpecialChar \menuseparator
22968 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
22969 \begin_inset Graphics
22970 filename clipart/footnoteQt4.png
22972 scaleBeforeRotation
22976 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
22977 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
22980 \begin_layout Standard
22985 \begin_layout Plain Layout
22986 \begin_inset CommandInset label
23001 \begin_layout Plain Layout
23005 newcounter{MyRepeatFoot}
23008 \begin_layout Plain Layout
23012 setcounter{MyRepeatFoot}{
23022 \begin_layout Standard
23023 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
23024 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
23027 \begin_layout Standard
23028 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
23029 \begin_inset CommandInset ref
23031 reference "sec:フロートの参照"
23035 節に説明されているようにして、本文中でこのラベルを相互参照してください。
23036 \begin_inset Newline newline
23040 \begin_inset CommandInset ref
23042 reference "fn:これは脚注の一例"
23049 \begin_layout Standard
23050 \begin_inset VSpace defskip
23056 \begin_layout Standard
23059 Footnotes in tables are not printed by LaTeX due to technical reasons.
23060 However there exists another method to print them: Instead of the footnote
23067 is inserted as TeX-code.
23068 The text of the footnote is entered as an argument of the TeX-code command
23076 \begin_inset Newline newline
23079 This was done for the following table with the command
23082 \begin_layout Standard
23090 Printed table footnote.
23095 \begin_layout Standard
23098 \begin_inset Tabular
23099 <lyxtabular version="3" rows="2" columns="1">
23100 <features tabularvalignment="middle">
23101 <column alignment="center" valignment="top" width="0">
23103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23106 \begin_layout Plain Layout
23109 This an example text.
23113 \begin_layout Plain Layout
23116 This footnote will not be printed!
23128 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23131 \begin_layout Plain Layout
23134 This an example text.
23138 \begin_layout Plain Layout
23161 \begin_layout Plain Layout
23170 Printed table footnote.
23174 \begin_layout Plain Layout
23184 \begin_layout Standard
23187 Footnotes in longtables are described in section
23188 \begin_inset space ~
23194 \begin_inset CommandInset ref
23196 reference "sub:長尺表での脚注"
23205 \begin_layout Standard
23208 Footnotes in minipage boxes are printed, but inside the box and with a different
23209 numbering because a minipage box is like a page inside a page.
23210 (For more about minipages, see section
23211 \begin_inset space ~
23217 \begin_inset CommandInset ref
23219 reference "sec:ミニページ"
23225 .) To get a footnote in the minipage that is output at the bottom of the
23226 page like normal footnotes, also use the method of
23241 \begin_layout Standard
23244 \begin_inset Box Frameless
23254 height_special "totalheight"
23257 \begin_layout Plain Layout
23260 This an example text in a minipage.
23264 \begin_layout Plain Layout
23267 Footnote in the minipage.
23275 \begin_layout Plain Layout
23278 This an example text in a minipage.
23282 \begin_layout Plain Layout
23299 \begin_layout Standard
23305 \begin_layout Plain Layout
23314 Footnote outside the minipage.
23318 \begin_layout Plain Layout
23328 \begin_layout Standard
23331 \begin_inset VSpace defskip
23337 \begin_layout Standard
23340 To refer to the same footnote several times without printing the footnote
23341 text every time, use the command
23345 footnotemark[number]
23348 \begin_inset Newline newline
23351 As you do not know the number of the repeating footnote while you are writing
23352 the text, you have to store its number.
23353 For the following footnote mark example, these commands were inserted in
23354 TeX-code after Footnote
23355 \begin_inset space ~
23361 \begin_inset CommandInset ref
23363 reference "fn:これは脚注の一例"
23369 to store the footnote number:
23372 \begin_layout Standard
23378 newcounter{MyRepeatFoot}
23379 \begin_inset Newline newline
23384 setcounter{MyRepeatFoot}{
23389 \begin_layout Standard
23392 The footnote mark was then created with this command:
23395 \begin_layout Standard
23406 \begin_layout Standard
23409 Here is a repeated footnote:
23417 \begin_layout Plain Layout
23431 \begin_layout Standard
23434 If you want to repeat the previous footnote, you can omit the storage of
23435 the footnote number and just use this command instead:
23438 \begin_layout Standard
23449 \begin_layout Standard
23452 Here is another repeated footnote:
23460 \begin_layout Plain Layout
23474 \begin_layout Subsection
23476 \begin_inset CommandInset label
23483 \begin_inset Index idx
23486 \begin_layout Plain Layout
23495 \begin_layout Standard
23496 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
23499 \begin_layout Standard
23504 @addtoreset{footnote}{section}
23507 \begin_layout Standard
23511 \begin_layout Standard
23512 \begin_inset VSpace bigskip
23515 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
23518 \begin_layout Standard
23530 \begin_layout Standard
23534 \begin_layout Plain Layout
23551 \begin_layout Plain Layout
23552 これは、ローマ数字を使った脚注の例です。
23560 \begin_layout Standard
23561 付番様式を大文字ローマ数字に変更するには、上記コマンドの
23573 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
23585 を使用してください。記号を使って付「番」するには、
23594 \begin_layout Standard
23595 \begin_inset Note Greyedout
23598 \begin_layout Plain Layout
23603 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
23609 \begin_inset Newline newline
23613 \begin_inset Note Greyedout
23616 \begin_layout Plain Layout
23621 記号を使うと9個の脚注しか番号を振ることができません。
23629 \begin_layout Standard
23630 付番様式を変更した後、既定様式に戻すには、上記コマンドの
23646 \begin_layout Plain Layout
23662 \begin_layout Standard
23663 \begin_inset VSpace bigskip
23669 \begin_layout Standard
23670 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
23673 \begin_layout Standard
23678 numberwithin{footnote}{chapter}
23681 \begin_layout Standard
23688 コマンドを使用できるようにするためには、文書設定の
23695 \begin_inset space ~
23703 \begin_layout Standard
23707 \begin_layout Plain Layout
23711 numberwithin{footnote}{chapter}
23722 \begin_layout Plain Layout
23727 「章番号.脚注番号」スキームで番号を振られた脚注です。
23738 \begin_layout Plain Layout
23754 \begin_layout Standard
23755 \begin_inset Note Greyedout
23758 \begin_layout Plain Layout
23765 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
23773 \begin_layout Standard
23776 Roman{footnote}」スキームを得るには、
23782 の代わりに以下のコマンドを使用してください。
23785 \begin_layout Standard
23799 \begin_layout Subsection
23801 \begin_inset Index idx
23804 \begin_layout Plain Layout
23813 \begin_layout Standard
23814 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
23816 \begin_inset space \thinspace{}
23822 \begin_layout Standard
23832 \begin_inset Newline newline
23846 \begin_layout Standard
23847 \begin_inset VSpace bigskip
23850 二段組文書では、脚注は各段底部に表示されます(図
23851 \begin_inset CommandInset ref
23853 reference "fig:標準的脚注配置"
23858 \begin_inset CommandInset ref
23860 reference "fig:ftnright脚注配置"
23864 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
23867 \begin_layout Standard
23872 usepackage{ftnright}
23875 \begin_layout Standard
23876 というコマンドを書いて、LaTeXパッケージ
23881 \begin_inset Index idx
23884 \begin_layout Plain Layout
23885 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
23891 \begin_inset Float figure
23897 \begin_layout Plain Layout
23901 \begin_layout Plain Layout
23911 \begin_inset Graphics
23912 filename ../clipart/without_fntright.pdf
23914 scaleBeforeRotation
23922 \begin_layout Plain Layout
23932 \begin_layout Plain Layout
23933 \begin_inset Caption
23935 \begin_layout Plain Layout
23936 \begin_inset CommandInset label
23955 \begin_layout Standard
23956 \begin_inset Float figure
23962 \begin_layout Plain Layout
23966 \begin_layout Plain Layout
23976 \begin_inset Graphics
23977 filename ../clipart/with_fntright.pdf
23979 scaleBeforeRotation
23987 \begin_layout Plain Layout
23997 \begin_layout Plain Layout
23998 \begin_inset Caption
24000 \begin_layout Plain Layout
24001 \begin_inset CommandInset label
24003 name "fig:ftnright脚注配置"
24024 \begin_layout Standard
24025 \begin_inset VSpace bigskip
24029 \begin_inset CommandInset ref
24035 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
24036 \begin_inset Index idx
24039 \begin_layout Plain Layout
24045 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
24047 文書\SpecialChar \menuseparator
24048 設定\SpecialChar \menuseparator
24055 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
24058 \begin_layout Standard
24066 \begin_layout Standard
24070 \begin_layout Standard
24071 \begin_inset Float figure
24076 \begin_layout Plain Layout
24081 \begin_layout Plain Layout
24091 \begin_inset Graphics
24092 filename ../clipart/endnotes.pdf
24093 scaleBeforeRotation
24101 \begin_layout Plain Layout
24111 \begin_layout Plain Layout
24112 \begin_inset Caption
24114 \begin_layout Plain Layout
24115 \begin_inset CommandInset label
24121 後注 – 注を節ないし章末に別段落として印字します。
24134 \begin_layout Standard
24135 \begin_inset VSpace medskip
24138 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
24141 \begin_layout Standard
24148 notesname}{Anmerkungen}
24151 \begin_layout Standard
24152 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
24155 \begin_layout Standard
24156 \begin_inset VSpace medskip
24160 \begin_inset CommandInset ref
24162 reference "sub:脚注の付番"
24166 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
24178 を用いてください。後注番号をリセットするには、第
24179 \begin_inset CommandInset ref
24181 reference "sub:脚注の付番"
24202 \begin_layout Standard
24204 \begin_inset CommandInset ref
24225 \begin_layout Standard
24226 \begin_inset VSpace bigskip
24229 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
24234 \begin_inset Index idx
24237 \begin_layout Plain Layout
24238 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
24244 \begin_inset CommandInset citation
24253 \begin_layout Standard
24254 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
24255 \begin_inset CommandInset citation
24257 key "latexcompanion,latexguide,latexbook"
24264 \begin_layout Section
24266 \begin_inset Index idx
24269 \begin_layout Plain Layout
24270 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
24278 \begin_layout Standard
24279 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
24281 挿入\SpecialChar \menuseparator
24285 \begin_inset Graphics
24286 filename ../../images/marginalnote-insert.png
24288 scaleBeforeRotation
24292 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
24295 \begin_layout Standard
24297 \begin_inset Marginal
24300 \begin_layout Plain Layout
24309 \begin_layout Standard
24310 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
24311 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
24314 \begin_layout Standard
24315 \begin_inset VSpace bigskip
24318 傍注を内側余白に置くには、傍注の前にTeXコードで
24321 \begin_layout Standard
24329 \begin_layout Standard
24330 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
24334 \begin_layout Plain Layout
24344 \begin_inset Marginal
24347 \begin_layout Plain Layout
24356 \begin_inset Newline newline
24362 \begin_inset Note Greyedout
24365 \begin_layout Plain Layout
24366 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
24374 \begin_layout Standard
24378 \begin_layout Standard
24386 \begin_layout Standard
24391 \begin_layout Plain Layout
24401 \begin_inset Note Greyedout
24404 \begin_layout Plain Layout
24411 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
24419 \begin_layout Standard
24420 \begin_inset VSpace bigskip
24424 \begin_inset Marginal
24427 \begin_layout Plain Layout
24428 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
24434 \begin_inset CommandInset ref
24436 reference "sub:複数行"
24440 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
24441 \begin_inset space \thinspace{}
24445 \begin_inset Marginal
24448 \begin_layout Plain Layout
24449 \begin_inset space \hspace*{}
24453 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
24461 \begin_layout Standard
24462 \begin_inset VSpace bigskip
24468 \begin_layout Standard
24469 \begin_inset Note Greyedout
24472 \begin_layout Plain Layout
24477 通常、傍注は表やフロート、脚注の中では使用することができません。
24485 \begin_layout Standard
24486 \begin_inset VSpace bigskip
24492 \begin_layout Standard
24496 \begin_layout Plain Layout
24506 \begin_inset Note Note
24509 \begin_layout Plain Layout
24514 が導入されているときのみ表示されます。
24522 \begin_layout Standard
24528 \begin_inset Index idx
24531 \begin_layout Plain Layout
24532 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
24537 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
24541 パッケージが提供するコマンドを使うようになります。
24544 \begin_layout Standard
24549 usepackage{marginnote}
24550 \begin_inset Newline newline
24562 \begin_layout Standard
24567 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
24571 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
24572 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
24575 \begin_layout Standard
24581 \begin_layout Standard
24582 という形で書くことで設定することができます。ここで「オフセット」には、表
24583 \begin_inset CommandInset ref
24589 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
24594 \begin_inset space \thinspace{}
24598 \begin_inset Marginal
24601 \begin_layout Plain Layout
24603 \begin_inset space \thinspace{}
24615 \begin_layout Plain Layout
24625 \begin_layout Standard
24626 \begin_inset VSpace medskip
24633 を使うと、傍注の揃えを変更することもできます。たとえば、
24636 \begin_layout Standard
24643 raggedleftmarginnote}{
24646 \begin_inset Newline newline
24653 raggedrightmarginnote}{
24658 \begin_layout Standard
24659 というコマンドを使うと、中央揃えになります。
24663 raggedleftmarginnote
24665 とは、左側に表示されている傍注のことを指します
24669 \begin_layout Plain Layout
24675 raggedleftmarginnote}{
24680 \begin_layout Plain Layout
24686 raggedrightmarginnote}{
24694 \begin_inset Marginal
24697 \begin_layout Plain Layout
24698 この傍注の文章は中央揃えになっています。
24706 \begin_layout Standard
24713 raggedleftmarginnote}{
24716 \begin_inset Newline newline
24723 raggedrightmarginnote}{
24731 \begin_layout Plain Layout
24737 raggedleftmarginnote}{
24742 \begin_layout Plain Layout
24748 raggedrightmarginnote}{
24758 \begin_layout Standard
24762 \begin_layout Standard
24763 \begin_inset VSpace medskip
24771 \begin_inset CommandInset citation
24780 \begin_layout Standard
24781 \begin_inset VSpace bigskip
24784 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
24792 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
24795 \begin_layout Standard
24805 \begin_inset Newline newline
24815 \begin_inset Newline newline
24819 \begin_inset Phantom HPhantom
24822 \begin_layout Plain Layout
24825 \begin_inset space ~
24842 \begin_inset Newline newline
24846 \begin_inset Phantom HPhantom
24849 \begin_layout Plain Layout
24852 \begin_inset space ~
24869 \begin_layout Standard
24873 \begin_layout Plain Layout
24884 \begin_layout Plain Layout
24895 \begin_layout Plain Layout
24906 \begin_layout Plain Layout
24920 \begin_inset Marginal
24923 \begin_layout Plain Layout
24924 これは、定義したヘッダをつけた傍注です。
24933 \begin_layout Plain Layout
24944 \begin_layout Plain Layout
24958 \begin_inset Note Note
24961 \begin_layout Plain Layout
24962 傍注書式は、この例の分だけ変更してあります。
24970 \begin_layout Standard
24974 \begin_layout Plain Layout
24984 \begin_inset Note Note
24987 \begin_layout Plain Layout
24992 が導入されていないときのみ表示されます。
25000 \begin_layout Standard
25001 本節の以下の部分を出力に表示するには、LaTeXパッケージ
25008 \begin_layout Standard
25012 \begin_layout Plain Layout
25024 \begin_layout Chapter
25028 \begin_layout Section
25030 \begin_inset Index idx
25033 \begin_layout Plain Layout
25042 \begin_layout Standard
25043 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
25044 \begin_inset CommandInset ref
25046 reference "sec:ミニページ"
25051 \begin_inset CommandInset ref
25057 節参照)、単語がハイフネートされるのを予防したり(第
25058 \begin_inset CommandInset ref
25060 reference "sec:ハイフネーションの回避"
25065 \begin_inset CommandInset ref
25067 reference "sub:垂直揃え"
25071 節参照)、あるいは文章の背景色を設定したり(第
25072 \begin_inset CommandInset ref
25074 reference "sec:色付きボックス"
25081 \begin_layout Standard
25084 挿入\SpecialChar \menuseparator
25088 \begin_inset Graphics
25089 filename ../../images/box-insert.png
25091 scaleBeforeRotation
25095 を使って挿入することができます。すると、
25096 \begin_inset Graphics
25097 filename ../clipart/BoxInsetDefaultQt4.png
25099 scaleBeforeRotation
25107 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
25111 メニューを選択すると現れるボックスダイアログでは、
25127 型は、新規ボックスの既定値となっており、第
25128 \begin_inset CommandInset ref
25130 reference "sec:ミニページ"
25139 \begin_inset CommandInset ref
25141 reference "sec:Parboxes"
25154 \begin_inset CommandInset ref
25156 reference "sec:ハイフネーションの回避"
25163 \begin_layout Standard
25164 ボックスは付番されないので、フロートや脚注のように参照することはできません。
25167 \begin_layout Standard
25168 \begin_inset Note Greyedout
25171 \begin_layout Plain Layout
25180 環境の単独要素とすべきではありません。
25188 \begin_layout Standard
25189 \begin_inset Note Greyedout
25192 \begin_layout Plain Layout
25193 【註】理由は不明ですが、枠付きボックスを使用している場合には、
25206 \begin_inset CommandInset ref
25208 reference "sec:ハイフネーションの回避"
25220 \begin_layout Section
25222 \begin_inset CommandInset label
25224 name "sec:ボックスダイアログ"
25229 \begin_inset Index idx
25232 \begin_layout Plain Layout
25233 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
25241 \begin_layout Subsection
25243 \begin_inset Index idx
25246 \begin_layout Plain Layout
25247 ぼっくす@ボックス ! すんぽう@寸法
25255 \begin_layout Standard
25264 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
25265 \begin_inset CommandInset ref
25275 フィールドには、加えて以下の寸法を使用することができます。
25278 \begin_layout Description
25279 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
25280 \begin_inset Newline newline
25284 \begin_inset Newline newline
25288 \begin_inset Newline newline
25292 \begin_inset Box Boxed
25302 height_special "depth"
25305 \begin_layout Plain Layout
25313 \begin_inset Newline newline
25317 \begin_inset Newline newline
25323 \begin_layout Description
25324 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
25325 \begin_inset Box Boxed
25335 height_special "height"
25338 \begin_layout Plain Layout
25348 \begin_layout Description
25350 \begin_inset Box Boxed
25360 height_special "totalheight"
25363 \begin_layout Plain Layout
25373 \begin_layout Description
25374 幅 これはボックスの幅を高さに設定します。
25375 \begin_inset Box Boxed
25385 height_special "width"
25388 \begin_layout Plain Layout
25398 \begin_layout Subsection
25400 \begin_inset Index idx
25403 \begin_layout Plain Layout
25404 ぼっくす@ボックス ! もじそろえ@文字揃え
25412 \begin_layout Standard
25417 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
25420 \begin_layout Description
25422 \begin_inset Box Boxed
25432 height_special "totalheight"
25435 \begin_layout Plain Layout
25445 \begin_layout Description
25447 \begin_inset Box Boxed
25457 height_special "totalheight"
25460 \begin_layout Plain Layout
25470 \begin_layout Description
25472 \begin_inset Box Boxed
25482 height_special "totalheight"
25485 \begin_layout Plain Layout
25495 \begin_layout Standard
25496 \begin_inset Note Greyedout
25499 \begin_layout Plain Layout
25504 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
25512 \begin_layout Standard
25513 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
25516 \begin_layout Standard
25517 \begin_inset VSpace bigskip
25524 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
25527 \begin_layout Description
25529 \begin_inset Box Boxed
25539 height_special "totalheight"
25542 \begin_layout Plain Layout
25552 \begin_layout Description
25554 \begin_inset Box Boxed
25564 height_special "totalheight"
25567 \begin_layout Plain Layout
25577 \begin_layout Description
25579 \begin_inset Box Boxed
25589 height_special "totalheight"
25592 \begin_layout Plain Layout
25602 \begin_layout Description
25603 広げる これは例示のための本文行です。
25604 \begin_inset Box Boxed
25614 height_special "totalheight"
25617 \begin_layout Plain Layout
25622 \begin_layout Plain Layout
25627 \begin_layout Plain Layout
25637 \begin_layout Standard
25638 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
25641 \begin_layout Standard
25642 \begin_inset VSpace bigskip
25649 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
25652 \begin_layout Standard
25654 \begin_inset Box Boxed
25664 height_special "totalheight"
25667 \begin_layout Plain Layout
25672 \begin_layout Plain Layout
25677 \begin_layout Plain Layout
25687 \begin_layout Standard
25692 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
25695 \begin_layout Standard
25697 \begin_inset Box Boxed
25707 height_special "totalheight"
25710 \begin_layout Plain Layout
25712 このボックスの文章は水平方向に広げてあります。
25720 \begin_layout Subsection
25722 \begin_inset CommandInset label
25729 \begin_inset Index idx
25732 \begin_layout Plain Layout
25733 ぼっくす@ボックス ! そうしょく@装飾
25741 \begin_layout Standard
25746 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
25749 \begin_layout Description
25753 \begin_inset space ~
25756 frame Nothing is drawn.
25759 \begin_layout Description
25760 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
25767 \begin_inset Box Boxed
25777 height_special "totalheight"
25780 \begin_layout Plain Layout
25790 \begin_layout Description
25791 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
25792 \begin_inset space \thinspace{}
25796 \begin_inset Box ovalbox
25806 height_special "totalheight"
25809 \begin_layout Plain Layout
25819 \begin_layout Description
25820 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
25821 \begin_inset space \thinspace{}
25825 \begin_inset Box Ovalbox
25835 height_special "totalheight"
25838 \begin_layout Plain Layout
25848 \begin_layout Description
25849 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
25856 \begin_inset space \thinspace{}
25860 \begin_inset Box Shadowbox
25870 height_special "totalheight"
25873 \begin_layout Plain Layout
25883 \begin_layout Description
25884 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
25888 \begin_layout Plain Layout
25890 \begin_inset CommandInset ref
25892 reference "sec:色付きボックス"
25901 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
25902 \begin_inset Box Shaded
25912 height_special "totalheight"
25915 \begin_layout Plain Layout
25924 \begin_layout Description
25925 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
25926 \begin_inset space \thinspace{}
25936 \begin_inset space \thinspace{}
25946 \begin_inset space \thinspace{}
25956 \begin_inset space \thinspace{}
25960 \begin_inset space \thinspace{}
25964 \begin_inset space \thinspace{}
25968 \begin_inset Box Doublebox
25978 height_special "totalheight"
25981 \begin_layout Plain Layout
25991 \begin_layout Standard
25992 \begin_inset VSpace bigskip
25995 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
26000 \begin_inset Index idx
26003 \begin_layout Plain Layout
26004 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
26012 \begin_layout Standard
26013 \begin_inset VSpace bigskip
26020 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
26040 \begin_inset Box Framed
26050 height_special "totalheight"
26053 \begin_layout Plain Layout
26062 \begin_layout Section
26064 \begin_inset Index idx
26067 \begin_layout Plain Layout
26068 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
26076 \begin_layout Standard
26084 \begin_inset space \thinspace{}
26087 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
26088 \begin_inset space \thinspace{}
26094 \begin_layout Standard
26104 \begin_layout Standard
26108 \begin_layout Plain Layout
26120 \begin_inset Box Boxed
26130 height_special "totalheight"
26133 \begin_layout Plain Layout
26142 \begin_inset space \thinspace{}
26146 \begin_inset space \thinspace{}
26150 \begin_inset space \thinspace{}
26162 \begin_layout Plain Layout
26176 \begin_layout Standard
26177 \begin_inset VSpace bigskip
26180 枠とボックスの内容との空白は、すべての枠様式について3
26181 \begin_inset space \thinspace{}
26184 ptが既定値になっています。これは、長さ
26190 を別の値に設定することによって変更することができます。たとえば
26193 \begin_layout Standard
26203 \begin_layout Standard
26205 \begin_inset space \thinspace{}
26208 ptにし、以下のボックスのようになります。
26211 \begin_layout Standard
26215 \begin_layout Plain Layout
26227 \begin_inset Box Boxed
26237 height_special "totalheight"
26240 \begin_layout Plain Layout
26249 \begin_inset space \thinspace{}
26253 \begin_inset space \thinspace{}
26257 \begin_inset space \thinspace{}
26269 \begin_layout Plain Layout
26283 \begin_layout Standard
26284 \begin_inset VSpace bigskip
26287 楕円形ボックスの丸い角の直径は、コマンド
26296 \begin_layout Standard
26304 \begin_layout Standard
26306 \begin_inset space \thinspace{}
26312 \begin_layout Standard
26320 \begin_layout Standard
26324 \begin_inset space \thinspace{}
26328 \begin_inset space \thinspace{}
26342 \begin_layout Standard
26346 \begin_layout Plain Layout
26356 \begin_inset Box Ovalbox
26366 height_special "totalheight"
26369 \begin_layout Plain Layout
26378 \begin_inset space \thinspace{}
26382 \begin_inset space \thinspace{}
26386 \begin_inset space \thinspace{}
26398 \begin_layout Plain Layout
26410 \begin_layout Standard
26411 \begin_inset VSpace bigskip
26420 を変更することで調整できます。以下のボックスでは
26423 \begin_layout Standard
26433 \begin_layout Standard
26435 \begin_inset space \thinspace{}
26441 \begin_layout Standard
26445 \begin_layout Plain Layout
26457 \begin_inset Box Shadowbox
26467 height_special "totalheight"
26470 \begin_layout Plain Layout
26479 \begin_inset space \thinspace{}
26483 \begin_inset space \thinspace{}
26487 \begin_inset space \thinspace{}
26499 \begin_layout Plain Layout
26513 \begin_layout Standard
26514 \begin_inset VSpace bigskip
26520 \begin_layout Standard
26528 \begin_inset space \thinspace{}
26531 ptです。ボックスの中身と枠の間の空白の既定値は9
26532 \begin_inset space \thinspace{}
26541 の値を変えることで変更することができます。たとえば、下記の
26548 \begin_layout Standard
26556 \begin_inset Newline newline
26566 \begin_layout Standard
26567 というTeXコードコマンドで設定してあります。
26571 \begin_layout Plain Layout
26580 \begin_layout Plain Layout
26592 \begin_inset Box Framed
26602 height_special "totalheight"
26605 \begin_layout Plain Layout
26619 \begin_layout Plain Layout
26628 \begin_layout Plain Layout
26642 \begin_layout Standard
26643 \begin_inset VSpace bigskip
26649 \begin_layout Standard
26654 ボックスでは、ボックスの内容と枠の余白の既定値は3
26655 \begin_inset space \thinspace{}
26664 の値を変更することで変えられます。既定の背景色である赤色は、
26668 definecolor{shadebox}
26670 コマンドで局所的に変更することもできますし、
26672 ツール\SpecialChar \menuseparator
26673 設定\SpecialChar \menuseparator
26674 色\SpecialChar \menuseparator
26677 メニューからグローバルに変更することもできます。
26684 \begin_inset CommandInset ref
26686 reference "sec:色付きの表"
26694 \begin_layout Plain Layout
26705 をプリアンブルに読み込む必要があります。第
26706 \begin_inset CommandInset ref
26708 reference "sec:色付きボックス"
26720 \begin_layout Standard
26721 たとえば、下記の影付き背景ボックスの外見は
26724 \begin_layout Standard
26734 \begin_inset Newline newline
26741 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26744 \begin_layout Standard
26745 というTeXコードコマンドを使って設定してあります。
26748 \begin_layout Standard
26752 \begin_layout Plain Layout
26761 \begin_layout Plain Layout
26765 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26771 \begin_inset Box Shaded
26781 height_special "totalheight"
26784 \begin_layout Plain Layout
26800 \begin_layout Plain Layout
26809 \begin_layout Plain Layout
26813 definecolor{shadecolor}{rgb}{1,0,0}
26821 \begin_layout Standard
26822 \begin_inset VSpace bigskip
26825 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
26828 \begin_layout Section
26830 \begin_inset CommandInset label
26837 \begin_inset Index idx
26840 \begin_layout Plain Layout
26841 ぼっくす@ボックス ! みにぺーじ@ミニページ
26849 \begin_layout Standard
26850 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
26853 \begin_layout Standard
26854 ミニページは、複数の言語を含む文書を執筆する際に便利です。
26857 \begin_layout Standard
26858 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
26862 \SpecialChar \menuseparator
26867 \SpecialChar \menuseparator
26872 メニューで挿入した水平フィルで隔てられています。
26873 \begin_inset Newpage newpage
26879 \begin_layout Standard
26880 \begin_inset Box Frameless
26890 height_special "totalheight"
26893 \begin_layout Plain Layout
26894 Dies ist ein deutscher Text.
26895 Dies ist ein deutscher Text.
26896 Dies ist ein deutscher Text.
26897 Dies ist ein deutscher Text.
26898 Dies ist ein deutscher Text.
26899 Dies ist ein deutscher Text.
26900 Dies ist ein deutscher Text.
26901 Dies ist ein deutscher Text.
26902 Dies ist ein deutscher Text.
26903 Dies ist ein deutscher Text.
26904 Dies ist ein deutscher Text.
26905 Dies ist ein deutscher Text.
26906 Dies ist ein deutscher Text
26910 \begin_layout Plain Layout
26911 Dies ist eine deutsche Fußnote.
26917 Dies ist ein deutscher Text.
26918 Dies ist ein deutscher Text.
26924 \begin_inset space \hfill{}
26928 \begin_inset Box Frameless
26938 height_special "totalheight"
26941 \begin_layout Plain Layout
26942 This is an English Text.
26943 This is an English Text.
26944 This is an English Text.
26945 This is an English Text.
26946 This is an English Text.
26947 This is an English Text.
26948 This is an English Text.
26949 This is an English Text.
26950 This is an English Text.
26951 This is an English Text.
26952 This is an English Text.
26953 This is an English Text.
26954 This is an English Text.
26955 This is an English Text.
26956 This is an English Text.
26957 This is an English Text.
26961 \begin_layout Plain Layout
26962 This is an English footnote.
26967 This is an English Text.
26976 \begin_layout Standard
26977 \begin_inset VSpace bigskip
26980 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
26981 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
26984 \begin_layout Standard
26986 \begin_inset Tabular
26987 <lyxtabular version="3" rows="3" columns="4">
26988 <features tabularvalignment="middle">
26989 <column alignment="center" valignment="top" width="0pt">
26990 <column alignment="center" valignment="top" width="0pt">
26991 <column alignment="center" valignment="top" width="0pt">
26992 <column alignment="center" valignment="top" width="0pt">
26994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26997 \begin_layout Plain Layout
27003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27006 \begin_layout Plain Layout
27012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27015 \begin_layout Plain Layout
27020 \begin_layout Plain Layout
27031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27034 \begin_layout Plain Layout
27042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27045 \begin_layout Plain Layout
27051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27054 \begin_layout Plain Layout
27060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27063 \begin_layout Plain Layout
27069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27072 \begin_layout Plain Layout
27080 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27083 \begin_layout Plain Layout
27089 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27092 \begin_layout Plain Layout
27098 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27101 \begin_layout Plain Layout
27107 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27110 \begin_layout Plain Layout
27124 \begin_layout Standard
27126 \begin_inset Box Frameless
27136 height_special "totalheight"
27139 \begin_layout Plain Layout
27141 \begin_inset Tabular
27142 <lyxtabular version="3" rows="3" columns="4">
27143 <features tabularvalignment="middle">
27144 <column alignment="center" valignment="top" width="0pt">
27145 <column alignment="center" valignment="top" width="0pt">
27146 <column alignment="center" valignment="top" width="0pt">
27147 <column alignment="center" valignment="top" width="0pt">
27149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27152 \begin_layout Plain Layout
27158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27161 \begin_layout Plain Layout
27167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27170 \begin_layout Plain Layout
27175 \begin_layout Plain Layout
27186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27189 \begin_layout Plain Layout
27197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27200 \begin_layout Plain Layout
27206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27209 \begin_layout Plain Layout
27215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27218 \begin_layout Plain Layout
27224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27227 \begin_layout Plain Layout
27235 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27238 \begin_layout Plain Layout
27244 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27247 \begin_layout Plain Layout
27253 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27256 \begin_layout Plain Layout
27262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27265 \begin_layout Plain Layout
27284 \begin_layout Standard
27285 \begin_inset VSpace bigskip
27288 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
27292 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
27295 \begin_layout Standard
27296 ミニページは、文章部に背景色を与えるのに使用することもできます。第
27297 \begin_inset CommandInset ref
27299 reference "sub:段落の着色"
27306 \begin_layout Standard
27307 \begin_inset Note Greyedout
27310 \begin_layout Plain Layout
27315 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
27323 \begin_layout Section
27325 \begin_inset CommandInset label
27327 name "sec:Parboxes"
27332 \begin_inset Index idx
27335 \begin_layout Plain Layout
27336 ぼっくす@ボックス ! Parboxes
27344 \begin_layout Standard
27345 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。ミニページとの主な違いは、ミニページの方は、parboxとは違って、本
27346 当のボックスではなくLaTeX環境であるところです。
27349 \begin_layout Standard
27351 \begin_inset Box Frameless
27361 height_special "totalheight"
27364 \begin_layout Plain Layout
27365 これはparbox内の文章です。これはparbox内の文章です。
27368 \begin_layout Plain Layout
27373 \begin_layout Plain Layout
27374 これはparbox内の脚注であり、したがって表示はされません。
27387 \begin_layout Section
27389 \begin_inset Index idx
27392 \begin_layout Plain Layout
27393 ぼっくす@ボックス ! もじよう@文字用
27401 \begin_layout Subsection
27403 \begin_inset CommandInset label
27405 name "sec:ハイフネーションの回避"
27410 \begin_inset Index idx
27413 \begin_layout Plain Layout
27414 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
27422 \begin_layout Standard
27425 You can use the box type
27429 to prevent words or text from being hyphenated.
27432 \begin_inset Newline newline
27438 \begin_layout Standard
27439 This line is an example to show how you can prevent the hyphenation of
27440 \begin_inset Quotes eld
27444 \begin_inset Quotes erd
27450 \begin_layout Standard
27453 To prevent the hyphenation of the word
27454 \begin_inset Quotes eld
27458 \begin_inset Quotes erd
27461 , put the word into a box, set the
27464 \begin_inset space ~
27474 \begin_inset space \thinspace{}
27480 \begin_layout Standard
27484 \begin_layout Standard
27485 This line is an example to show how you can prevent the hyphenation of
27486 \begin_inset Box Frameless
27496 height_special "totalheight"
27499 \begin_layout Plain Layout
27500 \begin_inset Quotes eld
27504 \begin_inset Quotes erd
27515 \begin_layout Standard
27516 別の方法としては、以下のように、単語の前に直接TeXコードで「
27525 \begin_layout Standard
27526 This line is an example to show how you can prevent the hyphenation of
27527 \begin_inset Quotes eld
27534 \begin_layout Plain Layout
27544 \begin_inset Quotes erd
27550 \begin_layout Standard
27551 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
27555 \SpecialChar \menuseparator
27560 \SpecialChar \menuseparator
27568 arg "newline-insert newline"
27571 )から改行を単語の前に入れてください。
27574 \begin_layout Standard
27575 This line is an example to show how you can prevent the hyphenation of
27576 \begin_inset Newline newline
27580 \begin_inset Box Frameless
27590 height_special "totalheight"
27593 \begin_layout Plain Layout
27594 \begin_inset Quotes eld
27598 \begin_inset Quotes erd
27609 \begin_layout Subsection
27611 \begin_inset CommandInset label
27618 \begin_inset Index idx
27621 \begin_layout Plain Layout
27622 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
27628 \begin_inset Index idx
27631 \begin_layout Plain Layout
27632 ぼっくす@ボックス ! Raiseboxes
27640 \begin_layout Standard
27647 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
27656 \begin_layout Standard
27661 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
27664 \begin_layout Standard
27665 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
27668 \begin_layout Standard
27669 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
27672 \begin_layout Standard
27682 \begin_layout Standard
27683 というコマンドを挿入してください。単語の後には、閉じ括弧「
27688 \begin_inset Newline newline
27694 \begin_layout Standard
27695 This is a text line with the word
27699 \begin_layout Plain Layout
27711 \begin_inset Quotes eld
27715 \begin_inset Quotes erd
27722 \begin_layout Plain Layout
27732 \begin_layout Standard
27733 \begin_inset VSpace bigskip
27736 行中の文字を上げ下げすると、以下のように行間が広がります。
27739 \begin_layout Standard
27740 This is a text line with the word
27744 \begin_layout Plain Layout
27756 \begin_inset Quotes eld
27760 \begin_inset Quotes erd
27767 \begin_layout Plain Layout
27775 \begin_inset Newline newline
27778 This is a text line with the word
27782 \begin_layout Plain Layout
27792 \begin_inset Quotes eld
27796 \begin_inset Quotes erd
27803 \begin_layout Plain Layout
27813 \begin_layout Standard
27814 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
27817 \begin_layout Standard
27827 \begin_layout Standard
27831 \begin_layout Standard
27832 This is a text line with the word
27836 \begin_layout Plain Layout
27848 \begin_inset Quotes eld
27852 \begin_inset Quotes erd
27859 \begin_layout Plain Layout
27867 \begin_inset Newline newline
27870 This is a text line with the word
27874 \begin_layout Plain Layout
27878 raisebox{0.5cm}[0pt]{
27884 \begin_inset Quotes eld
27888 \begin_inset Quotes erd
27895 \begin_layout Plain Layout
27905 \begin_layout Section
27907 \begin_inset CommandInset label
27914 \begin_inset Index idx
27917 \begin_layout Plain Layout
27918 ぼっくす@ボックス ! いろつき@色付き
27926 \begin_layout Subsection
27928 \begin_inset Index idx
27931 \begin_layout Plain Layout
27940 \begin_layout Standard
27941 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
27946 \begin_inset Index idx
27949 \begin_layout Plain Layout
27950 LaTeXぱっけーじ@LaTeXパッケージ ! color
27955 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
27958 \begin_layout Standard
27963 @ifundefined{textcolor}
27964 \begin_inset Newline newline
27968 \begin_inset Phantom HPhantom
27971 \begin_layout Plain Layout
27974 \begin_inset space ~
27984 usepackage{color}}{}
27987 \begin_layout Standard
27992 パッケージは、文章を着色するとLyXが自動的に読み込みます
27996 \begin_layout Plain Layout
27997 これが二度読み込まれることを回避するには、
28011 \begin_layout Standard
28012 \begin_inset VSpace medskip
28021 コマンドを使って作ります。これは、以下のような書式で使われます。
28024 \begin_layout Standard
28029 colorbox{color}{ボックスの内容}
28032 \begin_layout Standard
28033 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
28036 \begin_layout Standard
28038 \begin_inset Newline newline
28074 \begin_inset Newline newline
28078 \begin_inset CommandInset ref
28080 reference "sec:色付きの表"
28084 節に述べられているようにすれば、自前の色を定義することもできます。
28087 \begin_layout Standard
28088 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
28091 \begin_layout Standard
28099 \begin_layout Standard
28100 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
28105 \begin_inset Newline newline
28111 \begin_layout Standard
28116 \begin_layout Plain Layout
28129 \begin_layout Plain Layout
28139 \begin_layout Standard
28140 \begin_inset VSpace bigskip
28143 ボックスの枠を別の色にしたい場合には、以下の書式で
28152 \begin_layout Standard
28157 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
28160 \begin_layout Standard
28173 の拡張です。枠の太さと枠とボックスの中身との余白は、第
28174 \begin_inset CommandInset ref
28195 \begin_layout Standard
28199 \begin_layout Standard
28204 fcolorbox{cyan}{magenta}{
28207 \begin_layout Standard
28211 \begin_layout Standard
28213 \begin_inset space \thinspace{}
28217 \begin_inset Newline newline
28224 \begin_layout Plain Layout
28239 \begin_layout Plain Layout
28243 fcolorbox{cyan}{magenta}{
28248 これは着色した色付きボックス中の文章です。
28252 \begin_layout Plain Layout
28262 \begin_layout Standard
28263 \begin_inset VSpace bigskip
28266 もちろん、色付きボックスの中に色付き文字を入れることもできます
28267 \begin_inset Newline newline
28274 \begin_layout Plain Layout
28278 fcolorbox{cyan}{magenta}{
28285 これは着色した色付きボックス中の色付き文章です。
28291 \begin_layout Plain Layout
28302 \begin_layout Plain Layout
28316 \begin_layout Standard
28319 \begin_inset VSpace medskip
28325 \begin_layout Standard
28326 \begin_inset Note Greyedout
28329 \begin_layout Plain Layout
28334 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
28342 \begin_layout Subsection
28344 \begin_inset CommandInset label
28351 \begin_inset Index idx
28354 \begin_layout Plain Layout
28363 \begin_layout Standard
28364 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
28373 \begin_layout Standard
28381 \begin_layout Standard
28382 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
28389 \begin_layout Standard
28393 \begin_layout Plain Layout
28397 colorbox{lightgrey}{
28403 \begin_inset Box Frameless
28413 height_special "totalheight"
28416 \begin_layout Plain Layout
28417 これは背景色を付けた文章です。これは背景色を付けた文章です。
28420 \begin_layout Plain Layout
28421 \begin_inset VSpace defskip
28428 \begin_layout Plain Layout
28434 を付けることもできますし、図表を挿入することもできます。
28437 \begin_layout Plain Layout
28439 \begin_inset Tabular
28440 <lyxtabular version="3" rows="3" columns="3">
28441 <features tabularvalignment="middle">
28442 <column alignment="center" valignment="top" width="0">
28443 <column alignment="center" valignment="top" width="0">
28444 <column alignment="center" valignment="top" width="0">
28446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28449 \begin_layout Plain Layout
28455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28458 \begin_layout Plain Layout
28464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28467 \begin_layout Plain Layout
28475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28478 \begin_layout Plain Layout
28484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28487 \begin_layout Plain Layout
28489 \begin_inset Quotes erd
28497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28500 \begin_layout Plain Layout
28508 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28511 \begin_layout Plain Layout
28517 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28520 \begin_layout Plain Layout
28526 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28529 \begin_layout Plain Layout
28549 \begin_layout Plain Layout
28559 \begin_layout Section
28563 \begin_layout Standard
28564 本節で述べられているコマンドを使用するには、文書プリアンブルで
28567 \begin_layout Standard
28572 @ifundefined{rotatebox}
28573 \begin_inset Newline newline
28577 \begin_inset Phantom HPhantom
28580 \begin_layout Plain Layout
28583 \begin_inset space ~
28593 usepackage{graphicx}}{}
28596 \begin_layout Standard
28602 \begin_inset Index idx
28605 \begin_layout Plain Layout
28606 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
28611 LaTeXパッケージを読み込む必要があります。
28614 \begin_layout Standard
28615 \begin_inset Note Greyedout
28618 \begin_layout Plain Layout
28623 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
28631 \begin_layout Standard
28632 \begin_inset Note Greyedout
28635 \begin_layout Plain Layout
28640 フロートは回転伸縮したボックスの中に入れることはできません。
28648 \begin_layout Subsection
28650 \begin_inset Index idx
28653 \begin_layout Plain Layout
28654 ぼっくす@ボックス ! かいてんした@回転した
28660 \begin_inset Index idx
28663 \begin_layout Plain Layout
28664 かいてん@回転 ! そざいの@素材の---
28670 \begin_inset Index idx
28673 \begin_layout Plain Layout
28680 \begin_inset Index idx
28683 \begin_layout Plain Layout
28684 ひょうのちょうせい@表の調整 ! かいてん@回転
28692 \begin_layout Standard
28693 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
28699 コマンドを使用すれば作成することができます。
28702 \begin_layout Standard
28707 rotatebox[回転の原点]{回転角}{ボックスの内容}
28710 \begin_layout Standard
28715 の形で指定します。位置として指定可能なのは、
28735 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
28739 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
28743 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
28746 \begin_layout Standard
28747 以下の例では、「回転した」文章の前にTeXコードで
28751 rotatebox[origin=c]{60}{
28753 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
28760 \begin_layout Standard
28765 \begin_layout Plain Layout
28769 rotatebox[origin=c]{60}{
28778 \begin_layout Plain Layout
28788 \begin_layout Standard
28789 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
28792 \begin_layout Standard
28797 \begin_layout Plain Layout
28801 rotatebox[origin=r]{-60}{
28807 \begin_inset Box Doublebox
28817 height_special "totalheight"
28820 \begin_layout Plain Layout
28830 \begin_layout Plain Layout
28841 \begin_layout Plain Layout
28845 rotatebox[origin=lb]{60}{
28851 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28858 \begin_layout Plain Layout
28868 \begin_layout Standard
28869 あるいは、以下のように図や表を入れることもできます。
28872 \begin_layout Standard
28877 \begin_layout Plain Layout
28881 rotatebox[origin=lb]{90}{
28887 \begin_inset Graphics
28888 filename ../clipart/platypus.eps
28898 \begin_layout Plain Layout
28909 \begin_layout Plain Layout
28913 rotatebox[origin=l]{-90}{
28919 \begin_inset Tabular
28920 <lyxtabular version="3" rows="2" columns="2">
28921 <features tabularvalignment="middle">
28922 <column alignment="center" valignment="top" width="0">
28923 <column alignment="center" valignment="top" width="0">
28925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28928 \begin_layout Plain Layout
28934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28937 \begin_layout Plain Layout
28945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28948 \begin_layout Plain Layout
28954 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28957 \begin_layout Plain Layout
28972 \begin_layout Plain Layout
28982 \begin_layout Subsection
28984 \begin_inset Index idx
28987 \begin_layout Plain Layout
28988 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
28994 \begin_inset Index idx
28997 \begin_layout Plain Layout
28998 しんしゅく@伸縮 ! そざいの@素材の---
29004 \begin_inset Index idx
29007 \begin_layout Plain Layout
29008 ず@図 ! のしんしゅく@---の伸縮
29014 \begin_inset Index idx
29017 \begin_layout Plain Layout
29018 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
29026 \begin_layout Standard
29042 \begin_layout Standard
29052 \begin_layout Standard
29057 scalebox{水平方向}[垂直方向]{ボックスの内容}
29060 \begin_layout Standard
29061 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
29064 \begin_layout Standard
29071 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
29075 \begin_layout Plain Layout
29088 \begin_layout Plain Layout
29098 \begin_layout Standard
29103 scalebox{2}[1]{こんにちは}
29109 \begin_layout Plain Layout
29122 \begin_layout Plain Layout
29132 \begin_layout Standard
29133 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
29137 scalebox{-1}[1]{こんにちは}
29139 というコマンドは、右のように反転文字を生成するのに使用できます:
29143 \begin_layout Plain Layout
29156 \begin_layout Plain Layout
29166 \begin_layout Standard
29171 scalebox{1}[-1]{こんにちは}
29177 \begin_layout Plain Layout
29190 \begin_layout Plain Layout
29200 \begin_layout Standard
29205 scalebox{-1}[1]{ボックスの内容}
29208 \begin_inset Newline newline
29215 reflectbox{ボックスの内容}
29218 \begin_inset Newline newline
29224 \begin_layout Standard
29225 \begin_inset VSpace bigskip
29228 指定した幅や丈にボックスを伸縮させるには、
29237 \begin_layout Standard
29242 resizebox{幅}{丈}{ボックスの内容}
29245 \begin_layout Standard
29246 です。上記二つのコマンド引数のうち一つが感嘆符「
29250 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
29253 \begin_layout Standard
29258 resizebox{2cm}{1cm}{こんにちは}
29264 \begin_layout Plain Layout
29268 resizebox{2cm}{1cm}{
29277 \begin_layout Plain Layout
29285 \begin_inset Newline newline
29292 resizebox{2cm}{!}{こんにちは}
29298 \begin_layout Plain Layout
29311 \begin_layout Plain Layout
29321 \begin_layout Standard
29322 \begin_inset VSpace bigskip
29326 \begin_inset Note Greyedout
29329 \begin_layout Plain Layout
29342 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
29350 \begin_layout Standard
29351 \begin_inset VSpace bigskip
29357 \begin_layout Standard
29358 ボックスは好きな順序で組み合わせることができます。たとえば、
29359 \begin_inset Newline newline
29366 rotatebox[origin=c]{-45}{
29370 reflectbox{こんにちは}}}
29371 \begin_inset Newline newline
29379 \begin_layout Standard
29384 \begin_layout Plain Layout
29388 rotatebox[origin=c]{-45}{
29401 \begin_layout Plain Layout
29411 \begin_layout Standard
29413 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
29416 \begin_layout Standard
29421 \begin_layout Plain Layout
29425 rotatebox[origin=c]{-30}{
29435 \begin_inset Graphics
29436 filename ../clipart/platypus.eps
29446 \begin_layout Plain Layout
29457 \begin_layout Plain Layout
29461 rotatebox[origin=c]{-45}{
29471 \begin_inset Tabular
29472 <lyxtabular version="3" rows="2" columns="2">
29473 <features tabularvalignment="middle">
29474 <column alignment="center" valignment="top" width="0">
29475 <column alignment="center" valignment="top" width="0">
29477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29480 \begin_layout Plain Layout
29486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29489 \begin_layout Plain Layout
29497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29500 \begin_layout Plain Layout
29506 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29509 \begin_layout Plain Layout
29524 \begin_layout Plain Layout
29535 \begin_layout Plain Layout
29539 rotatebox[origin=c]{-45}{
29549 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29556 \begin_layout Plain Layout
29566 \begin_layout Standard
29575 \begin_layout Plain Layout
29576 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
29581 には、別行建て数式も伸縮させることができます。
29584 \begin_layout Chapter
29586 \begin_inset Index idx
29589 \begin_layout Plain Layout
29590 がいぶぶんしょこうせいようそ@外部文書構成要素
29598 \begin_layout Standard
29601 挿入\SpecialChar \menuseparator
29604 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
29607 \begin_layout Description
29608 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
29611 \begin_layout Description
29612 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
29615 \begin_layout Description
29616 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
29619 \begin_layout Description
29623 \begin_layout Description
29624 子文書 LyXあるいはLaTeX文書。
29627 \begin_layout Section
29629 \begin_inset Index idx
29632 \begin_layout Plain Layout
29633 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
29641 \begin_layout Standard
29642 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
29643 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
29645 操作性\SpecialChar \menuseparator
29648 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
29651 \begin_layout Standard
29656 \SpecialChar \menuseparator
29661 \SpecialChar \menuseparator
29670 ダイアログから挿入することができます。目下、以下のファイル形式(
29677 \begin_layout Description
29681 \begin_inset CommandInset href
29684 target "http://en.wikipedia.org/wiki/XBoard"
29690 プログラムで作成されたチェス棋譜をサポートします。
29693 \begin_layout Description
29698 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
29699 \begin_inset External
29706 \begin_inset space ~
29710 \begin_inset Note Note
29713 \begin_layout Plain Layout
29714 バグ4398が修正されたら、この保護空白は削除してください!
29720 \begin_inset Newline newline
29723 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
29727 \SpecialChar \menuseparator
29728 日付メニューを使用する方法で、他はLaTeXコマンドの
29734 をTeXコードで使用する方法です。これらの各方法は、表
29735 \begin_inset CommandInset ref
29737 reference "tab:日付挿入方法"
29744 \begin_layout Description
29748 \begin_inset CommandInset href
29751 target "http://en.wikipedia.org/wiki/Dia_(software)"
29757 プログラムで作成したダイアグラムをサポートします。
29760 \begin_layout Description
29764 \begin_inset CommandInset href
29767 target "http://en.wikipedia.org/wiki/LilyPond"
29773 プログラムで作成した楽譜の組版に使用されます。
29776 \begin_layout Description
29777 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
29793 オプションを指定しないと、PDFの最初のページのみが挿入されます。
29796 \begin_layout Description
29797 ラスターイメージ これはビットマップ画像に使用します。よく使われる画像形式のほとんどすべてがサポートされています。
29802 \begin_inset CommandInset ref
29804 reference "sec:画像ダイアログ"
29812 ダイアログを使って挿入される画像と同じように取り扱うことができます。異なる点といえば、ラスターイメージのみを取り扱うことができる点、すなわちPDFやEPS画像は
29816 \begin_layout Description
29820 \begin_inset CommandInset href
29823 target "http://en.wikipedia.org/wiki/Xfig"
29829 プログラムで作成した画像をサポートします。
29832 \begin_layout Standard
29833 \begin_inset Float table
29839 \begin_layout Plain Layout
29840 \begin_inset Caption
29842 \begin_layout Plain Layout
29843 \begin_inset CommandInset label
29857 \begin_layout Plain Layout
29859 \begin_inset Tabular
29860 <lyxtabular version="3" rows="4" columns="4">
29861 <features tabularvalignment="middle">
29862 <column alignment="center" valignment="top" width="0">
29863 <column alignment="center" valignment="top" width="0">
29864 <column alignment="center" valignment="top" width="0">
29865 <column alignment="center" valignment="top" width="0">
29867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29870 \begin_layout Plain Layout
29876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29879 \begin_layout Plain Layout
29882 外部素材\SpecialChar \menuseparator
29888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29891 \begin_layout Plain Layout
29894 挿入\SpecialChar \menuseparator
29900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29903 \begin_layout Plain Layout
29917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29920 \begin_layout Plain Layout
29926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29929 \begin_layout Plain Layout
29935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29938 \begin_layout Plain Layout
29944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29947 \begin_layout Plain Layout
29955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29958 \begin_layout Plain Layout
29964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29967 \begin_layout Plain Layout
29973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29976 \begin_layout Plain Layout
29982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29985 \begin_layout Plain Layout
29993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29996 \begin_layout Plain Layout
30002 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30005 \begin_layout Plain Layout
30011 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30014 \begin_layout Plain Layout
30020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30023 \begin_layout Plain Layout
30042 \begin_layout Standard
30055 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
30056 \begin_inset Newline newline
30059 LyX中での外部素材は、ダイアログ内の
30068 \begin_inset Graphics
30069 filename clipart/ExternalMaterialQt4.png
30071 scaleBeforeRotation
30075 のようなボックスとして表示されるか、画像として表示されます。
30078 \begin_layout Standard
30085 には、自製のひな型を定義する方法が説明されています。
30088 \begin_layout Section
30090 \begin_inset CommandInset label
30097 \begin_inset Index idx
30100 \begin_layout Plain Layout
30101 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
30107 \begin_inset Index idx
30110 \begin_layout Plain Layout
30111 ふぁいる@ファイル ! いんくるーど@インクルード
30119 \begin_layout Standard
30120 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
30121 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
30122 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
30125 \begin_layout Standard
30126 親文書を開くことなく子文書で作業できるようにするには、子文書の
30130 \SpecialChar \menuseparator
30135 \SpecialChar \menuseparator
30140 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
30143 \begin_layout Standard
30145 \begin_inset Graphics
30146 filename clipart/ChildDocumentQt4.png
30148 scaleBeforeRotation
30152 のようなボックスとして表示されます。子文書を親文書に取り込むには、
30156 \SpecialChar \menuseparator
30161 \SpecialChar \menuseparator
30166 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
30169 \begin_layout Description
30170 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
30178 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
30179 \begin_inset Newline newline
30185 \begin_layout Standard
30191 \begin_inset CommandInset include
30192 LatexCommand include
30193 filename "DummyDocument1.lyx"
30200 \begin_layout Standard
30201 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
30202 あります。取り込んだ文書のラベルは、第
30203 \begin_inset CommandInset ref
30205 reference "sub:外部文書の第1小節"
30209 小節、のように参照することができます。
30212 \begin_layout Standard
30213 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
30214 は、新規頁から始まるように挿入され、改頁して終わります。
30217 \begin_layout Standard
30218 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
30222 \begin_layout Plain Layout
30236 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
30239 \begin_layout Standard
30240 \begin_inset Note Greyedout
30243 \begin_layout Plain Layout
30248 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
30262 \begin_layout Standard
30263 \begin_inset Note Greyedout
30266 \begin_layout Plain Layout
30271 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
30280 \begin_layout Description
30281 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
30285 \begin_layout Itemize
30286 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
30289 \begin_layout Itemize
30290 Inputファイルは、LyX設定の操作性
30292 \SpecialChar \menuseparator
30299 を有効にすると、LyX中でプレビューすることができます。
30302 \begin_layout Itemize
30313 \begin_layout Standard
30319 \begin_inset CommandInset include
30321 filename "DummyDocument2.lyx"
30328 \begin_layout Description
30329 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
30330 に用いられているコマンドは実行されません。
30334 オプションを有効にすると、ソースコード中のすべての空白文字に「
30338 \begin_layout Plain Layout
30349 挿入\SpecialChar \menuseparator
30350 ファイル\SpecialChar \menuseparator
30353 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
30356 \begin_layout Standard
30357 以下は、verbatimとして挿入された子文書です。
30358 \begin_inset CommandInset include
30359 LatexCommand verbatiminput
30360 filename "../DummyTextDocument.txt"
30365 \begin_inset VSpace bigskip
30372 オプションを指定して、verbatimとして挿入された子文書です。
30373 \begin_inset CommandInset include
30374 LatexCommand verbatiminput*
30375 filename "../DummyTextDocument.txt"
30382 \begin_layout Standard
30383 \begin_inset VSpace bigskip
30389 \begin_layout Standard
30390 \begin_inset Note Greyedout
30393 \begin_layout Plain Layout
30402 として取り込んだ文書の文章は、文書行の終わりで改行されません。
30410 \begin_layout Standard
30411 \begin_inset Note Greyedout
30414 \begin_layout Plain Layout
30419 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
30427 \begin_layout Description
30428 プログラムリスト この型については、第
30429 \begin_inset CommandInset ref
30431 reference "cha:プログラムコードリスト"
30438 \begin_layout Standard
30439 \begin_inset Note Greyedout
30442 \begin_layout Plain Layout
30447 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
30455 \begin_layout Chapter
30457 \begin_inset CommandInset label
30459 name "cha:プログラムコードリスト"
30464 \begin_inset Index idx
30467 \begin_layout Plain Layout
30474 \begin_inset Index idx
30477 \begin_layout Plain Layout
30484 \begin_inset Index idx
30487 \begin_layout Plain Layout
30488 ふろーと@フロート ! りすと@リスト
30496 \begin_layout Standard
30497 プログラムコードを取り込んで組版するには、
30501 \SpecialChar \menuseparator
30506 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
30511 \begin_inset Index idx
30514 \begin_layout Plain Layout
30515 LaTeXぱっけーじ@LaTeXパッケージ ! listings
30520 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
30523 \begin_layout Standard
30524 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
30527 \begin_layout Standard
30528 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
30533 \begin_inset listings
30534 lstparams "language={C++}"
30538 \begin_layout Plain Layout
30546 \begin_inset Newline newline
30553 オプションは、プログラムリストフロートを生成するものですが、ここで、第
30554 \begin_inset CommandInset ref
30556 reference "sec:フロートの配置"
30560 節に説明されているフロート配置オプションに従って、「
30576 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
30580 」のように区切りを入れることなく入力することができます。「
30584 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
30588 オプションを使用しなければ大丈夫です。
30591 \begin_layout Standard
30596 \SpecialChar \menuseparator
30601 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、Listing
30602 \begin_inset space ~
30606 \begin_inset CommandInset ref
30608 reference "lst:Example-Listing"
30615 \begin_layout Standard
30616 \begin_inset listings
30617 lstparams "language=Python"
30621 \begin_layout Plain Layout
30623 \begin_inset Caption
30625 \begin_layout Plain Layout
30626 \begin_inset CommandInset label
30628 name "lst:Example-Listing"
30632 Example Listing float
30637 # Example listing float
30640 \begin_layout Plain Layout
30645 \begin_layout Plain Layout
30647 'this is a python function'
30650 \begin_layout Plain Layout
30660 \begin_layout Standard
30661 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
30662 onのキーワード「def」が識別され、ボールド体で出力されます。
30665 \begin_layout Standard
30666 \begin_inset Note Greyedout
30669 \begin_layout Plain Layout
30674 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
30678 フォントがボールド体を提供していません。この場合には、
30682 \SpecialChar \menuseparator
30687 \SpecialChar \menuseparator
30692 メニューで別のフォントを選択してください(
30704 の各フォントはボールド体を提供します)。
30712 \begin_layout Standard
30713 \begin_inset Note Greyedout
30716 \begin_layout Plain Layout
30721 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
30729 \begin_layout Standard
30734 のセクションでは、行番号の様式を指定することができます。
30738 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
30741 \begin_layout Standard
30742 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
30746 オプションを使用しなくてはなりません。
30747 \begin_inset Newline newline
30750 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
30751 \begin_inset space \thinspace{}
30755 \begin_inset space \thinspace{}
30758 8」で設定したプログラムリストの例です。
30761 \begin_layout Standard
30762 \begin_inset listings
30763 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
30767 \begin_layout Plain Layout
30772 \begin_layout Plain Layout
30774 'this is a python function'
30777 \begin_layout Plain Layout
30782 \begin_layout Plain Layout
30787 \begin_layout Plain Layout
30789 'This is a German word: Tschüß'
30792 \begin_layout Plain Layout
30797 \begin_layout Plain Layout
30802 \begin_layout Plain Layout
30804 'this is a python function'
30807 \begin_layout Plain Layout
30817 \begin_layout Standard
30818 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
30825 \begin_layout Standard
30826 \begin_inset Note Greyedout
30829 \begin_layout Plain Layout
30834 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
30843 \begin_layout Standard
30844 \begin_inset VSpace bigskip
30850 \begin_layout Standard
30851 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
30855 \SpecialChar \menuseparator
30860 \SpecialChar \menuseparator
30873 \begin_layout Plain Layout
30874 他の子文書型については、第 section
30875 \begin_inset space ~
30879 \begin_inset CommandInset ref
30881 reference "sec:子文書"
30890 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
30894 \begin_layout Standard
30895 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
30899 \SpecialChar \menuseparator
30904 メニューを使って参照できるようになります。
30907 \begin_layout Standard
30909 \begin_inset CommandInset ref
30911 reference "lst:file-listing"
30915 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
30918 \begin_layout Standard
30919 \begin_inset CommandInset include
30920 LatexCommand lstinputlisting
30921 filename "EmbeddedObjects.lyx"
30922 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
30929 \begin_layout Standard
30930 \begin_inset VSpace bigskip
30936 \begin_layout Standard
30939 Inserting a formula into a listing can be done the following way:
30942 \begin_layout Enumerate
30945 Open the listings dialog and add
30946 \begin_inset Newline newline
30954 \begin_inset Newline newline
30957 to the field of the
30964 \begin_layout Enumerate
30967 Create a formula outside the listing
30970 \begin_layout Enumerate
30973 Copy the content of the formula (not the formula inset) to the clipboard
30983 \begin_layout Enumerate
30986 In the listing write
30987 \begin_inset Quotes eld
30995 \begin_inset Quotes erd
30998 and copy from the clipboard between the dollar-signs (shortcut
31007 \begin_layout Standard
31008 \begin_inset listings
31009 lstparams "language=Python,mathescape=true"
31013 \begin_layout Plain Layout
31015 \begin_inset Caption
31017 \begin_layout Plain Layout
31020 Example Listing float containing a formula
31025 # Example listing float
31028 \begin_layout Plain Layout
31033 \begin_layout Plain Layout
31046 \begin_layout Plain Layout
31056 \begin_layout Standard
31057 \begin_inset VSpace bigskip
31063 \begin_layout Standard
31068 \SpecialChar \menuseparator
31073 \SpecialChar \menuseparator
31078 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
31082 フィールドで疑問符「?」を打鍵してください。
31085 \begin_layout Standard
31090 パッケージについての詳しい情報については、取扱説明書
31091 \begin_inset CommandInset citation
31100 \begin_layout Standard
31101 \begin_inset Newpage newpage
31107 \begin_layout Chapter
31110 \begin_inset Index idx
31113 \begin_layout Plain Layout
31120 \begin_inset CommandInset label
31122 name "cha:LyXで使用できる単位"
31129 \begin_layout Standard
31130 この文書で用いられる単位の理解のために、表
31131 \begin_inset CommandInset ref
31137 に、LyXで使うことのできる単位をまとめておきます。
31140 \begin_layout Standard
31141 \begin_inset Float table
31147 \begin_layout Plain Layout
31148 \begin_inset Caption
31150 \begin_layout Plain Layout
31151 \begin_inset CommandInset label
31165 \begin_layout Plain Layout
31166 \begin_inset VSpace medskip
31172 \begin_layout Plain Layout
31174 \begin_inset Tabular
31175 <lyxtabular version="3" rows="20" columns="2">
31176 <features tabularvalignment="middle">
31177 <column alignment="center" valignment="top" width="0">
31178 <column alignment="center" valignment="top" width="0">
31180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31183 \begin_layout Plain Layout
31189 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31192 \begin_layout Plain Layout
31200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31203 \begin_layout Plain Layout
31209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31212 \begin_layout Plain Layout
31220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31223 \begin_layout Plain Layout
31229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31232 \begin_layout Plain Layout
31240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31243 \begin_layout Plain Layout
31249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31252 \begin_layout Plain Layout
31260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31263 \begin_layout Plain Layout
31269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31272 \begin_layout Plain Layout
31274 \begin_inset Formula $\,$
31278 \begin_inset Formula $\,$
31288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31291 \begin_layout Plain Layout
31297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31300 \begin_layout Plain Layout
31302 \begin_inset Formula $\,$
31306 \begin_inset Formula $\,$
31316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31319 \begin_layout Plain Layout
31325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31328 \begin_layout Plain Layout
31330 \begin_inset Formula $\,$
31334 \begin_inset Formula $\,$
31344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31347 \begin_layout Plain Layout
31353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31356 \begin_layout Plain Layout
31358 \begin_inset Formula $\,$
31362 \begin_inset Formula $\,$
31372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31375 \begin_layout Plain Layout
31381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31384 \begin_layout Plain Layout
31386 \begin_inset Formula $\,$
31390 \begin_inset Formula $\approx$
31394 \begin_inset Formula $\,$
31404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31407 \begin_layout Plain Layout
31413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31416 \begin_layout Plain Layout
31418 \begin_inset Formula $\,$
31422 \begin_inset Formula $\,$
31432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31435 \begin_layout Plain Layout
31441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31444 \begin_layout Plain Layout
31452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31455 \begin_layout Plain Layout
31461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31464 \begin_layout Plain Layout
31472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31475 \begin_layout Plain Layout
31481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31484 \begin_layout Plain Layout
31492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31495 \begin_layout Plain Layout
31501 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31504 \begin_layout Plain Layout
31512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31515 \begin_layout Plain Layout
31521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31524 \begin_layout Plain Layout
31532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31535 \begin_layout Plain Layout
31541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31544 \begin_layout Plain Layout
31552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31555 \begin_layout Plain Layout
31561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31564 \begin_layout Plain Layout
31572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31575 \begin_layout Plain Layout
31581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31584 \begin_layout Plain Layout
31592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31595 \begin_layout Plain Layout
31601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31604 \begin_layout Plain Layout
31612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31615 \begin_layout Plain Layout
31621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31624 \begin_layout Plain Layout
31626 \begin_inset Formula $\,$
31630 \begin_inset Formula $\,$
31651 \begin_layout Chapter
31653 \begin_inset CommandInset label
31655 name "cha:ファイル出力形式"
31662 \begin_layout Section
31664 \begin_inset Index idx
31667 \begin_layout Plain Layout
31668 ふぁいるしょしき@ファイル書式 ! DVI
31674 \begin_inset Index idx
31677 \begin_layout Plain Layout
31682 \begin_layout Plain Layout
31693 \begin_layout Plain Layout
31708 \begin_layout Standard
31713 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
31714 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
31715 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
31718 \begin_layout Standard
31719 \begin_inset Note Greyedout
31722 \begin_layout Plain Layout
31723 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
31732 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
31733 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
31737 \begin_layout Standard
31742 \SpecialChar \menuseparator
31747 \SpecialChar \menuseparator
31752 メニューを使用して、DVIに書き出すことができます。また、
31757 \begin_inset Graphics
31758 filename ../../images/buffer-view_dvi.png
31760 scaleBeforeRotation
31764 を使用すれば、使用中の文書をDVIで表示させることができます。
31767 \begin_layout Section
31769 \begin_inset CommandInset label
31771 name "sec:PostScript"
31776 \begin_inset Index idx
31779 \begin_layout Plain Layout
31780 ふぁいるしょしき@ファイル書式 ! PostScript
31786 \begin_inset Index idx
31789 \begin_layout Plain Layout
31794 \begin_layout Plain Layout
31805 \begin_layout Plain Layout
31820 \begin_layout Standard
31829 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
31830 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
31834 \begin_layout Plain Layout
31835 これについてもう少し学ぶ気があれば、LaTeXパッケージ
31840 \begin_inset CommandInset citation
31851 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
31854 \begin_layout Standard
31855 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
31859 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
31860 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
31861 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
31862 を直接EPSとして入れておく方がよいでしょう。
31865 \begin_layout Standard
31870 \SpecialChar \menuseparator
31875 \SpecialChar \menuseparator
31880 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
31885 \begin_inset Graphics
31886 filename ../../images/buffer-view_ps.png
31888 scaleBeforeRotation
31892 を使用することでPostScriptとして表示させることができます。
31895 \begin_layout Section
31897 \begin_inset Index idx
31900 \begin_layout Plain Layout
31901 ふぁいるしょしき@ファイル書式 ! PDF
31907 \begin_inset Index idx
31910 \begin_layout Plain Layout
31919 \begin_layout Standard
31924 」です。この「Portable Document Format (PDF)」は、
31928 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
31929 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
31932 \begin_layout Standard
31933 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
31941 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
31945 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
31946 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
31950 \begin_layout Standard
31955 \SpecialChar \menuseparator
31960 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
31963 \begin_layout Description
31965 \begin_inset space ~
31972 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
31976 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
31979 \begin_layout Description
31981 \begin_inset space ~
31988 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
31991 \begin_layout Description
31993 \begin_inset space ~
32000 プログラムを使って、現在のファイルを直接PDFに変換します。
32003 \begin_layout Standard
32008 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
32011 \begin_inset space ~
32020 プログラムは開発が停止しており、若干時代遅れになっています。
32023 \begin_layout Standard
32024 使用中の文書をPDFとして表示するには、
32029 \begin_inset Graphics
32030 filename ../../images/buffer-view_pdf2.png
32032 scaleBeforeRotation
32039 \begin_inset space ~
32047 \begin_layout Chapter
32049 \begin_inset CommandInset ref
32056 \begin_inset CommandInset label
32065 \begin_layout Standard
32066 \begin_inset Formula $n$
32070 \begin_inset Formula $W_{\mathrm{tot\, n}}$
32076 \begin_layout Standard
32077 \begin_inset Formula \begin{equation}
32078 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
32085 \begin_layout Standard
32087 \begin_inset Formula $W_{g\, n}$
32096 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
32097 \begin_inset space \thinspace{}
32107 \begin_inset space \thinspace{}
32113 \begin_layout Standard
32115 \begin_inset CommandInset ref
32117 reference "eq:Wtot_n"
32122 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
32128 \begin_layout Standard
32129 \begin_inset Formula \begin{equation}
32130 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
32137 \begin_layout Standard
32139 \begin_inset Formula $n$
32143 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
32147 \begin_inset CommandInset ref
32149 reference "eq:Wtot_n"
32154 \begin_inset CommandInset ref
32156 reference "eq:Wtot_mult"
32160 式が等しいものと置けば、必要となる固定幅
32161 \begin_inset Formula $W_{g\, n}$
32167 \begin_layout Standard
32168 \begin_inset Formula \begin{equation}
32169 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
32176 \begin_layout Bibliography
32177 \labelwidthstring 参考文献
32178 \begin_inset CommandInset bibitem
32179 LatexCommand bibitem
32180 key "latexcompanion"
32184 Frank Mittelbach and Michel Goossens:
32186 The LaTeX Companion Second Edition.
32189 Addison-Wesley, 2004
32192 \begin_layout Bibliography
32193 \labelwidthstring 参考文献
32194 \begin_inset CommandInset bibitem
32195 LatexCommand bibitem
32200 Helmut Kopka and Patrick W.
32203 A Guide to LaTeX Fourth Edition.
32206 Addison-Wesley, 2003
32209 \begin_layout Bibliography
32210 \labelwidthstring 参考文献
32211 \begin_inset CommandInset bibitem
32212 LatexCommand bibitem
32219 LaTeX: A Document Preparation System.
32222 Addison-Wesley, second edition, 1994
32225 \begin_layout Bibliography
32226 \labelwidthstring 参考文献
32227 \begin_inset CommandInset bibitem
32228 LatexCommand bibitem
32236 \begin_inset CommandInset href
32239 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
32246 \begin_inset Index idx
32249 \begin_layout Plain Layout
32250 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
32258 \begin_layout Bibliography
32259 \labelwidthstring 参考文献
32260 \begin_inset CommandInset bibitem
32261 LatexCommand bibitem
32269 \begin_inset CommandInset href
32272 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
32279 \begin_inset Index idx
32282 \begin_layout Plain Layout
32283 LaTeXぱっけーじ@LaTeXパッケージ ! caption
32291 \begin_layout Bibliography
32292 \labelwidthstring 参考文献
32293 \begin_inset CommandInset bibitem
32294 LatexCommand bibitem
32302 \begin_inset CommandInset href
32305 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
32312 \begin_inset Index idx
32315 \begin_layout Plain Layout
32316 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
32324 \begin_layout Bibliography
32325 \labelwidthstring 参考文献
32326 \begin_inset CommandInset bibitem
32327 LatexCommand bibitem
32335 \begin_inset CommandInset href
32338 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
32345 \begin_inset Index idx
32348 \begin_layout Plain Layout
32349 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
32357 \begin_layout Bibliography
32358 \labelwidthstring 参考文献
32359 \begin_inset CommandInset bibitem
32360 LatexCommand bibitem
32368 \begin_inset CommandInset href
32371 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
32378 \begin_inset Index idx
32381 \begin_layout Plain Layout
32382 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
32390 \begin_layout Bibliography
32391 \labelwidthstring 参考文献
32392 \begin_inset CommandInset bibitem
32393 LatexCommand bibitem
32401 \begin_inset CommandInset href
32404 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
32411 \begin_inset Index idx
32414 \begin_layout Plain Layout
32415 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
32423 \begin_layout Bibliography
32424 \labelwidthstring 参考文献
32425 \begin_inset CommandInset bibitem
32426 LatexCommand bibitem
32434 \begin_inset CommandInset href
32437 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
32444 \begin_inset Index idx
32447 \begin_layout Plain Layout
32448 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
32456 \begin_layout Bibliography
32457 \labelwidthstring 参考文献
32458 \begin_inset CommandInset bibitem
32459 LatexCommand bibitem
32467 \begin_inset CommandInset href
32470 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
32477 \begin_inset Index idx
32480 \begin_layout Plain Layout
32481 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
32489 \begin_layout Bibliography
32490 \labelwidthstring 参考文献
32491 \begin_inset CommandInset bibitem
32492 LatexCommand bibitem
32500 \begin_inset CommandInset href
32503 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
32510 \begin_inset Index idx
32513 \begin_layout Plain Layout
32514 LaTeXぱっけーじ@LaTeXパッケージ ! listings
32522 \begin_layout Bibliography
32523 \labelwidthstring 参考文献
32524 \begin_inset CommandInset bibitem
32525 LatexCommand bibitem
32533 \begin_inset CommandInset href
32536 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
32543 \begin_inset Index idx
32546 \begin_layout Plain Layout
32547 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
32555 \begin_layout Bibliography
32556 \labelwidthstring 参考文献
32557 \begin_inset CommandInset bibitem
32558 LatexCommand bibitem
32566 \begin_inset CommandInset href
32569 target "http://tug.org/PSTricks/"
32576 \begin_inset Index idx
32579 \begin_layout Plain Layout
32580 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
32588 \begin_layout Bibliography
32589 \labelwidthstring 参考文献
32590 \begin_inset CommandInset bibitem
32591 LatexCommand bibitem
32599 \begin_inset CommandInset href
32602 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
32609 \begin_inset Index idx
32612 \begin_layout Plain Layout
32613 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
32621 \begin_layout Bibliography
32622 \labelwidthstring 参考文献
32623 \begin_inset CommandInset bibitem
32624 LatexCommand bibitem
32632 \begin_inset CommandInset href
32635 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
32642 \begin_inset Index idx
32645 \begin_layout Plain Layout
32646 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
32654 \begin_layout Bibliography
32655 \labelwidthstring 参考文献
32656 \begin_inset CommandInset bibitem
32657 LatexCommand bibitem
32665 \begin_inset CommandInset href
32668 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
32675 \begin_inset Index idx
32678 \begin_layout Plain Layout
32679 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
32687 \begin_layout Bibliography
32688 \labelwidthstring 参考文献
32689 \begin_inset CommandInset bibitem
32690 LatexCommand bibitem
32700 \begin_inset CommandInset href
32703 target "http://wiki.lyx.org/LyX/NewInLyX20"
32710 \begin_layout Standard
32711 \begin_inset CommandInset index_print
32712 LatexCommand printindex