1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 %% Added by the translator
8 % Correction for PDF bookmarks
9 %\usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,bookmarkstype=toc]{hyperref}
10 \ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else
11 \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi
17 % set fonts for nicer pdf view
18 \IfFileExists{lmodern.sty}
19 {\usepackage{lmodern}}{}
21 \fi % end if pdflatex is used
23 % that links to image floats jumps
24 % to the beginning of the float and
26 \usepackage[figure]{hypcap}
28 % the pages of the TOC is numbered roman
29 % and a PDF-bookmark for the TOC is added
30 \let\myTOC\tableofcontents
31 \renewcommand\tableofcontents{%
33 \pdfbookmark[1]{\contentsname}{}
37 % provides caption formatting
38 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
40 % provides commands to set caption
41 % beside tables/images
42 \newcommand{\TabBesBeg}[1][1.0]{%
44 \let\MyEndtable\endtable
45 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
47 \newcommand{\TabBesEnd}{%
49 \let\endtable\MyEndtable}
51 \newcommand{\FigBesBeg}[1][1.0]{%
53 \let\MyEndfigure\endfigure
54 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
56 \newcommand{\FigBesEnd}{%
58 \let\endfigure\MyEndfigure}
60 % enables calculation of values,
63 % increase the bottom float placement fraction
64 \renewcommand{\bottomfraction}{0.5}
66 % avoids that floats are placed before their
67 % corresponding section starts
68 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
70 % speed up the longtable calculation
71 \setcounter{LTchunksize}{100}
73 % used for scaled and rotated boxes
74 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
76 % used for colored tables
77 \@ifundefined{textcolor}
78 {\usepackage{color}}{}
79 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
80 \definecolor{lightgrey}{gray}{0.8}
82 % check for package colortbl
83 % used for colored table cells
85 \IfFileExists{colortbl.sty}
86 {\usepackage{colortbl}
87 \setboolean{colortbl}{true}}
88 {\setboolean{colortbl}{false}}
90 % used for colored table rows
91 \usepackage[table]{xcolor}
93 % used to have extra space in table cells
94 \@ifundefined{extrarowheight}
95 {\usepackage{array}}{}
96 \setlength{\extrarowheight}{2pt}
98 % used for customized tables
101 {>{\centering\hspace{0pt}}m{#1}}
104 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
107 {>{\columncolor{#1}\hspace{0pt}}c}
109 \newcolumntype{V}{!{\vrule width 1.5pt}}
111 \newcolumntype{W}{!{\color{green}\vline}}
114 % insert additional vertical space of
115 % 1.5 mm between footnotes
117 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
119 % number algorithm floats within chapters
120 \numberwithin{algorithm}{chapter}
123 % ------------------------------------
124 % used to check for needed LaTeX packages
127 % check for package arydshln
128 % used for tables with dashed lines
129 \newboolean{arydshln}
130 \IfFileExists{arydshln.sty}
131 {\usepackage{arydshln}
132 \setboolean{arydshln}{true}}
133 {\setboolean{arydshln}{false}}
135 % check for package marginnote
136 % used for margin notes
137 \newboolean{marginnote}
138 \IfFileExists{marginnote.sty}
139 {\usepackage{marginnote}
140 \let\marginpar\marginnote
141 \setboolean{marginnote}{true}}
142 {\setboolean{marginnote}{false}}
144 % check for package sidecap
145 % used for captions on the side
147 \IfFileExists{sidecap.sty}
148 {\usepackage{sidecap}
149 \setboolean{sidecap}{true}}
150 {\setboolean{sidecap}{false}}
153 % used for surrounded fixed objects
154 \newboolean{picinpar}
155 \IfFileExists{picinpar.sty}
156 {\usepackage{picinpar}
157 \setboolean{picinpar}{true}}
158 {\setboolean{picinpar}{false}}
161 \newboolean{lettrine}
162 \IfFileExists{lettrine.sty}
163 {\usepackage{lettrine}
164 \setboolean{lettrine}{true}}
165 {\setboolean{lettrine}{false}}
169 \IfFileExists{diagbox.sty}
170 {\usepackage{diagbox}
171 \setboolean{diagbox}{true}}
172 {\setboolean{diagbox}{false}}
175 \renewcommand{\seename}{→}
178 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
179 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
181 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
182 \use_default_options false
186 \maintain_unincluded_children false
188 \language_package default
193 \font_typewriter default
195 \font_default_family default
196 \use_non_tex_fonts false
202 \default_output_format default
204 \bibtex_command default
205 \index_command default
209 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
210 \pdf_author "LyX Team, Uwe Stohr"
211 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
212 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
214 \pdf_bookmarksnumbered true
215 \pdf_bookmarksopen true
216 \pdf_bookmarksopenlevel 1
217 \pdf_breaklinks false
221 \pdf_pdfusetitle false
222 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
225 \use_package amsmath 2
226 \use_package amssymb 2
228 \use_package mathdots 1
229 \use_package mathtools 0
230 \use_package mhchem 1
231 \use_package stackrel 0
232 \use_package stmaryrd 0
233 \use_package undertilde 0
235 \cite_engine_type numerical
239 \paperorientation portrait
243 \notefontcolor #0000ff
254 \paragraph_separation skip
256 \quotes_language english
259 \paperpagestyle default
263 \tracking_changes false
264 \output_changes false
267 \html_be_strict false
273 LyXの図表・フロート・注釈・ボックス・外部素材に関する詳細説明書
281 \begin_layout Plain Layout
283 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
284 \begin_inset CommandInset href
286 name "lyx-docs@lists.lyx.org"
287 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
298 \begin_inset Note Note
301 \begin_layout Plain Layout
308 \begin_inset Newline newline
312 \begin_inset Newline newline
320 \begin_layout Standard
321 \begin_inset CommandInset toc
322 LatexCommand tableofcontents
329 \begin_layout Standard
330 \begin_inset Note Note
333 \begin_layout Plain Layout
334 本文書の全体をPDFやPS、DVIに書き出すには、
362 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
366 \begin_layout Plain Layout
368 \begin_inset Newline newline
373 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
376 \begin_inset Newline newline
387 \begin_layout Chapter
389 \begin_inset Index idx
392 \begin_layout Plain Layout
399 \begin_inset Index idx
402 \begin_layout Plain Layout
407 \begin_layout Plain Layout
418 \begin_layout Plain Layout
433 \begin_layout Section
435 \begin_inset Index idx
438 \begin_layout Plain Layout
439 ず@図 ! がぞうだいあろぐ@画像ダイアログ
445 \begin_inset CommandInset label
454 \begin_layout Standard
455 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
458 arg "dialog-show-new-inset graphics"
463 挿入\SpecialChar \menuseparator
466 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
469 \begin_layout Standard
470 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
473 \begin_layout Description
478 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
479 \begin_inset CommandInset ref
481 reference "cha:LyXで使用できる単位"
486 \begin_inset Newline newline
490 \begin_inset Index idx
493 \begin_layout Plain Layout
499 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
500 \begin_inset Newline newline
504 \begin_inset Index idx
507 \begin_layout Plain Layout
513 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
514 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
518 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
519 \begin_inset Newline newline
522 画像を右クリックすると現れるコンテクストメニューで
526 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
530 \begin_layout Description
535 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
539 ボタンを押すことによって、自動的に計算することもできます。
543 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
546 \begin_layout Description
551 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
554 \begin_inset Newline newline
559 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
562 \begin_inset Newline newline
571 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
573 \begin_inset Newline newline
576 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
577 \begin_inset CommandInset ref
579 reference "sec:PostScript"
583 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
584 \begin_inset Newline newline
592 \begin_inset Newline newline
597 zgrep %%Bounding x.eps.gz > x.eps.bb
600 \begin_inset Newline newline
603 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
604 \begin_inset Newline newline
617 you can define or join an image settings group.
620 \begin_inset Index idx
623 \begin_layout Plain Layout
624 ず@図 ! せっていぐるーぷ@設定グループ
629 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
630 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
631 ーを使用して、望むグループ名をチェックすることで行うこともできます。
634 \begin_layout Standard
635 \begin_inset VSpace bigskip
641 \begin_layout Standard
646 \begin_layout Plain Layout
648 \begin_inset CommandInset ref
659 の画像の例で、単独の中央揃えの段落に置いてあります。
662 \begin_layout Standard
664 \begin_inset Graphics
665 filename ../clipart/mobius.eps
675 \begin_layout Standard
676 下記は上と同じ画像ですが、下書きモードのものです。
679 \begin_layout Standard
681 \begin_inset Graphics
682 filename ../clipart/mobius.eps
693 \begin_layout Standard
694 \begin_inset Newpage newpage
700 \begin_layout Section
702 \begin_inset CommandInset label
709 \begin_inset Index idx
712 \begin_layout Plain Layout
719 \begin_inset Index idx
722 \begin_layout Plain Layout
731 \begin_layout Standard
733 \begin_inset CommandInset ref
735 reference "sec:フロートはじめに"
742 \begin_layout Standard
748 arg "float-insert figure"
755 挿入\SpecialChar \menuseparator
756 フロート\SpecialChar \menuseparator
759 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
760 \begin_inset CommandInset ref
762 reference "fig:犠牲のカモノハシ"
766 のようにキャプションの上に置くこともできますし、図
767 \begin_inset CommandInset ref
769 reference "fig:エッシャー"
773 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
774 \begin_inset CommandInset ref
776 reference "sec:キャプションの配置"
783 \begin_layout Standard
784 \begin_inset Float figure
789 \begin_layout Plain Layout
791 \begin_inset Graphics
792 filename ../clipart/platypus.eps
802 \begin_layout Plain Layout
803 \begin_inset Caption Standard
805 \begin_layout Plain Layout
806 \begin_inset CommandInset label
825 \begin_layout Standard
826 \begin_inset Float figure
831 \begin_layout Plain Layout
832 \begin_inset Caption Standard
834 \begin_layout Plain Layout
835 \begin_inset CommandInset label
849 \begin_layout Plain Layout
851 \begin_inset Graphics
852 filename ../clipart/escher-lsd.eps
867 \begin_layout Standard
868 \begin_inset Index idx
871 \begin_layout Plain Layout
872 さんしょう@参照 ! ずへの@図への ---
878 \begin_inset CommandInset ref
880 reference "fig:犠牲のカモノハシ"
885 \begin_inset CommandInset ref
887 reference "fig:エッシャー"
891 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
893 挿入\SpecialChar \menuseparator
902 を使用して、キャプションにラベルを挿入してください。その後、
904 挿入\SpecialChar \menuseparator
910 arg "dialog-show-new-inset ref"
913 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
914 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
915 \begin_inset Newline newline
919 \begin_inset CommandInset ref
921 reference "sec:フロートの参照"
928 \begin_layout Standard
929 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
930 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
931 \begin_inset CommandInset ref
933 reference "fig:歪められた二つの像"
937 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
938 \begin_inset CommandInset ref
940 reference "fig:何かわからない構造"
945 \begin_inset CommandInset ref
947 reference "fig:カモノハシ"
954 \begin_layout Standard
955 \begin_inset Float figure
960 \begin_layout Plain Layout
961 \begin_inset space \hfill{}
965 \begin_inset Float figure
970 \begin_layout Plain Layout
971 \begin_inset Caption Standard
973 \begin_layout Plain Layout
974 \begin_inset CommandInset label
988 \begin_layout Plain Layout
989 \begin_inset Graphics
990 filename ../clipart/escher-lsd.eps
1003 \begin_inset space \hfill{}
1007 \begin_inset Float figure
1012 \begin_layout Plain Layout
1013 \begin_inset Caption Standard
1015 \begin_layout Plain Layout
1016 \begin_inset CommandInset label
1030 \begin_layout Plain Layout
1031 \begin_inset Graphics
1032 filename ../clipart/platypus.eps
1045 \begin_inset space \hfill{}
1051 \begin_layout Plain Layout
1052 \begin_inset Caption Standard
1054 \begin_layout Plain Layout
1055 \begin_inset CommandInset label
1057 name "fig:歪められた二つの像"
1061 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1074 \begin_layout Standard
1075 \begin_inset Newpage newpage
1081 \begin_layout Section
1083 \begin_inset CommandInset label
1090 \begin_inset Index idx
1093 \begin_layout Plain Layout
1100 \begin_inset Index idx
1103 \begin_layout Plain Layout
1112 \begin_layout Standard
1113 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1114 \begin_inset CommandInset ref
1116 reference "cha:ファイル出力形式"
1120 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1125 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1126 用するとよいでしょう。出力ファイル書式は、付録
1127 \begin_inset CommandInset ref
1129 reference "cha:ファイル出力形式"
1136 \begin_layout Standard
1137 フォントと同じく、画像形式にも以下の二つの型があります。
1140 \begin_layout Description
1141 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1142 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1147 \begin_inset Index idx
1150 \begin_layout Plain Layout
1155 \begin_layout Plain Layout
1166 \begin_layout Plain Layout
1178 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1183 \begin_inset Index idx
1186 \begin_layout Plain Layout
1191 \begin_layout Plain Layout
1202 \begin_layout Plain Layout
1214 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1223 \begin_inset Index idx
1226 \begin_layout Plain Layout
1231 \begin_layout Plain Layout
1242 \begin_layout Plain Layout
1257 \begin_layout Description
1258 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1259 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1261 \begin_inset Newline newline
1264 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1269 \begin_inset Index idx
1272 \begin_layout Plain Layout
1277 \begin_layout Plain Layout
1288 \begin_layout Plain Layout
1300 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1305 \begin_inset Index idx
1308 \begin_layout Plain Layout
1313 \begin_layout Plain Layout
1324 \begin_layout Plain Layout
1336 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1341 \begin_inset Index idx
1344 \begin_layout Plain Layout
1350 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1355 \begin_inset Index idx
1358 \begin_layout Plain Layout
1363 \begin_layout Plain Layout
1374 \begin_layout Plain Layout
1386 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1387 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1391 \begin_layout Plain Layout
1392 PDFの場合には、さらに元画像が圧縮されます。
1401 が生成するPDFファイルは、ビットマップ画像です。
1404 \begin_layout Standard
1405 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1406 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1407 \begin_inset Formula $\to$
1410 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1413 \begin_layout Chapter
1415 \begin_inset Index idx
1418 \begin_layout Plain Layout
1427 \begin_layout Section
1429 \begin_inset Index idx
1432 \begin_layout Plain Layout
1441 \begin_layout Standard
1463 arg "tabular-insert"
1484 挿入\SpecialChar \menuseparator
1487 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1488 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1489 \begin_inset Newline newline
1492 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1493 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1496 \begin_layout Standard
1498 \begin_inset Tabular
1499 <lyxtabular version="3" rows="4" columns="4">
1500 <features rotate="0" tabularvalignment="middle">
1501 <column alignment="center" valignment="top" width="0">
1502 <column alignment="center" valignment="top" width="0">
1503 <column alignment="center" valignment="top" width="0">
1504 <column alignment="center" valignment="top" width="0">
1506 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1509 \begin_layout Plain Layout
1515 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1518 \begin_layout Plain Layout
1524 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1527 \begin_layout Plain Layout
1533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1536 \begin_layout Plain Layout
1544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1547 \begin_layout Plain Layout
1553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1556 \begin_layout Plain Layout
1562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1565 \begin_layout Plain Layout
1571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1574 \begin_layout Plain Layout
1582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1585 \begin_layout Plain Layout
1591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1594 \begin_layout Plain Layout
1600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1603 \begin_layout Plain Layout
1609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1612 \begin_layout Plain Layout
1620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1623 \begin_layout Plain Layout
1629 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1632 \begin_layout Plain Layout
1638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1641 \begin_layout Plain Layout
1647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1650 \begin_layout Plain Layout
1664 \begin_layout Section
1666 \begin_inset Index idx
1669 \begin_layout Plain Layout
1678 \begin_layout Standard
1688 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1689 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1702 を選択するのと、セル自体を選択するのは違うことに注意して下さい。
1703 \begin_inset Newline newline
1710 を使用すると、ダイアログ中に行った変更が直ちに適用されるようになります。カーソルを別のセルに移動すると、ダイアログも新しいセルのパラメーターに更新されます。ダイ
1711 アログ中の長さの値を変更した場合には、リターンを押さないと変更が適用されません。
1712 \begin_inset Newline newline
1715 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1718 \begin_layout Description
1723 ここでは、現在列の幅と水平揃えを設定することができます。
1728 \begin_inset CommandInset ref
1730 reference "sub:特殊なセル揃え"
1734 で説明されています。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関して
1736 \begin_inset CommandInset ref
1742 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1743 \begin_inset Newline newline
1746 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1747 \begin_inset CommandInset ref
1753 節をご参照下さい。あるいは同一列のセルを連結行セルとして指定することもできます。これについては、第
1754 \begin_inset CommandInset ref
1761 \begin_inset Newline newline
1764 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1766 For more information see sec.
1767 \begin_inset space \thinspace{}
1773 \begin_inset CommandInset ref
1775 reference "sec:Rotated-Table-Cells"
1780 \begin_inset Newline newline
1784 \begin_inset Note Greyedout
1787 \begin_layout Plain Layout
1792 DVIビューアのすべてが回転を表示できるわけではありません。
1798 \begin_inset Newline newline
1801 下記は、本文行中の表に、表全体の垂直揃えを適用したものです。
1802 \begin_inset Newline newline
1806 \begin_inset Tabular
1807 <lyxtabular version="3" rows="2" columns="2">
1808 <features rotate="0" tabularvalignment="top">
1809 <column alignment="center" valignment="top" width="0pt">
1810 <column alignment="center" valignment="top" width="0">
1812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1815 \begin_layout Plain Layout
1821 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1824 \begin_layout Plain Layout
1832 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1835 \begin_layout Plain Layout
1841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1844 \begin_layout Plain Layout
1856 \begin_inset Tabular
1857 <lyxtabular version="3" rows="2" columns="2">
1858 <features rotate="0" tabularvalignment="middle">
1859 <column alignment="center" valignment="top" width="0">
1860 <column alignment="center" valignment="top" width="0">
1862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1865 \begin_layout Plain Layout
1871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1874 \begin_layout Plain Layout
1882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1885 \begin_layout Plain Layout
1891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1894 \begin_layout Plain Layout
1906 \begin_inset Tabular
1907 <lyxtabular version="3" rows="2" columns="2">
1908 <features rotate="0" tabularvalignment="bottom">
1909 <column alignment="center" valignment="top" width="0pt">
1910 <column alignment="center" valignment="top" width="0">
1912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1915 \begin_layout Plain Layout
1921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1924 \begin_layout Plain Layout
1932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1935 \begin_layout Plain Layout
1941 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1944 \begin_layout Plain Layout
1956 \begin_inset Newline newline
1959 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1960 \begin_inset CommandInset ref
1962 reference "sub:連結列の計算"
1967 \begin_inset CommandInset ref
1969 reference "sec:色付きの表"
1976 \begin_layout Description
1981 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1982 \begin_inset Newline newline
1990 \begin_inset CommandInset ref
1992 reference "sec:フォーマル形式の表"
1996 節に述べられているフォーマル様式の表に表を変換します。
1997 \begin_inset Newline newline
2001 \begin_inset CommandInset ref
2003 reference "sub:行の余白取り"
2007 節に述べられているように、表の行に空白を追加することもできます。
2010 \begin_layout Description
2015 このタブは、複数のページにわたる、いわゆる「
2020 \begin_inset CommandInset ref
2027 \begin_inset CommandInset ref
2029 reference "sec:長尺表にまつわる諸点"
2033 節に、長尺表の機能に関する詳細な説明があります。
2036 \begin_layout Section
2038 \begin_inset Index idx
2041 \begin_layout Plain Layout
2050 \begin_layout Standard
2051 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
2052 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
2055 \begin_layout Standard
2056 ツールバーには、以下のアイコンがあります。
2059 \begin_layout Labeling
2060 \labelwidthstring 00.00.0000
2063 arg "inset-modify tabular append-row"
2066 は、現在セルあるいは選択範囲の下に行を追加します。
2069 \begin_layout Labeling
2070 \labelwidthstring 00.00.0000
2073 arg "inset-modify tabular append-column"
2076 は、現在セルあるいは選択範囲の右に列を追加します。
2079 \begin_layout Labeling
2080 \labelwidthstring 00.00.0000
2083 arg "inset-modify tabular delete-row"
2086 は、現在行あるいは選択範囲行を削除します。
2089 \begin_layout Labeling
2090 \labelwidthstring 00.00.0000
2093 arg "inset-modify tabular delete-column"
2096 は、現在列あるいは選択範囲列を削除します。
2099 \begin_layout Labeling
2100 \labelwidthstring 00.00.0000
2103 arg "inset-modify tabular toggle-line-top"
2106 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2109 \begin_layout Labeling
2110 \labelwidthstring 00.00.0000
2113 arg "inset-modify tabular toggle-line-bottom"
2116 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2119 \begin_layout Labeling
2120 \labelwidthstring 00.00.0000
2123 arg "inset-modify tabular toggle-line-left"
2126 は、現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2129 \begin_layout Labeling
2130 \labelwidthstring 00.00.0000
2133 arg "inset-modify tabular toggle-line-right"
2136 は、現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2139 \begin_layout Labeling
2140 \labelwidthstring 00.00.0000
2143 arg "inset-modify tabular set-all-lines"
2146 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2149 \begin_layout Labeling
2150 \labelwidthstring 00.00.0000
2153 arg "inset-modify tabular unset-all-lines"
2156 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2159 \begin_layout Labeling
2160 \labelwidthstring 00.00.0000
2163 arg "inset-modify tabular m-align-left"
2166 は、現在セルあるいは現在列の内容を左揃えにします。
2169 \begin_layout Labeling
2170 \labelwidthstring 00.00.0000
2173 arg "inset-modify tabular m-align-center"
2176 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2179 \begin_layout Labeling
2180 \labelwidthstring 00.00.0000
2183 arg "inset-modify tabular m-align-right"
2186 は、現在セルあるいは現在列の内容を右揃えにします。
2189 \begin_layout Labeling
2190 \labelwidthstring 00.00.0000
2193 arg "inset-modify tabular align-decimal"
2196 は、現在セルの内容を特定文字位置で揃えます。
2199 \begin_layout Labeling
2200 \labelwidthstring 00.00.0000
2203 arg "inset-modify tabular m-valign-top"
2206 は、現在セルの内容を垂直方向上揃えにします。
2209 \begin_layout Labeling
2210 \labelwidthstring 00.00.0000
2213 arg "inset-modify tabular m-valign-middle"
2216 は、現在セルの内容を垂直方向中央揃えにします。
2219 \begin_layout Labeling
2220 \labelwidthstring 00.00.0000
2223 arg "inset-modify tabular m-valign-bottom"
2226 は、現在セルの内容を垂直方向下揃えにします。
2229 \begin_layout Labeling
2230 \labelwidthstring 00.00.0000
2233 arg "inset-modify tabular set-rotate-cell"
2236 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2239 \begin_layout Labeling
2240 \labelwidthstring 00.00.0000
2243 arg "inset-modify tabular set-rotate-tabular"
2246 は、表全体を反時計廻りに90度回転します。
2249 \begin_layout Labeling
2250 \labelwidthstring 00.00.0000
2253 arg "inset-modify tabular multicolumn"
2256 は、現在セルあるいは選択範囲を連結列にします。
2259 \begin_layout Labeling
2260 \labelwidthstring 00.00.0000
2263 arg "inset-modify tabular multirow"
2266 は、現在セルあるいは選択範囲を連結行にします。
2269 \begin_layout Standard
2270 \begin_inset Note Greyedout
2273 \begin_layout Plain Layout
2278 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2286 \begin_layout Section
2288 \begin_inset Index idx
2291 \begin_layout Plain Layout
2292 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2300 \begin_layout Standard
2303 編集\SpecialChar \menuseparator
2306 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2310 \begin_layout Section
2312 \begin_inset CommandInset label
2319 \begin_inset Index idx
2322 \begin_layout Plain Layout
2329 \begin_inset Index idx
2332 \begin_layout Plain Layout
2341 \begin_layout Standard
2343 \begin_inset CommandInset ref
2345 reference "sec:フロートはじめに"
2352 \begin_layout Standard
2353 \begin_inset Float table
2359 \begin_layout Plain Layout
2360 \begin_inset Caption Standard
2362 \begin_layout Plain Layout
2363 \begin_inset CommandInset label
2377 \begin_layout Plain Layout
2379 \begin_inset Tabular
2380 <lyxtabular version="3" rows="3" columns="3">
2381 <features rotate="0" tabularvalignment="middle">
2382 <column alignment="center" valignment="top" width="0pt">
2383 <column alignment="center" valignment="top" width="0pt">
2384 <column alignment="center" valignment="top" width="0pt">
2386 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2389 \begin_layout Plain Layout
2404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2407 \begin_layout Plain Layout
2422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2425 \begin_layout Plain Layout
2442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2445 \begin_layout Plain Layout
2451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2454 \begin_layout Plain Layout
2460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2463 \begin_layout Plain Layout
2471 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2474 \begin_layout Plain Layout
2484 \begin_inset Formula $\int x^{2}dx$
2492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2495 \begin_layout Plain Layout
2505 \begin_inset Formula $\left[\begin{array}{cc}
2516 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2519 \begin_layout Plain Layout
2529 \begin_inset Formula $1+1=2$
2550 \begin_layout Standard
2555 \SpecialChar \menuseparator
2556 フロート\SpecialChar \menuseparator
2565 arg "float-insert table"
2573 \begin_layout Standard
2574 フロートは折りたたむことのできるボックスとして表示され、中には「表
2575 \begin_inset space ~
2578 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2581 \begin_layout Standard
2583 \begin_inset space ~
2587 \begin_inset CommandInset ref
2589 reference "tab:表フロート"
2596 \begin_layout Standard
2597 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2598 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2604 \begin_inset Index idx
2607 \begin_layout Plain Layout
2608 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2616 \begin_layout Standard
2622 \begin_layout Standard
2623 というオプションとともにloadコマンドを使って読み込んでください
2627 \begin_layout Plain Layout
2629 \begin_inset CommandInset ref
2631 reference "sec:キャプションの配置"
2641 \begin_inset CommandInset ref
2643 reference "sec:キャプションの書式設定"
2654 \begin_layout Standard
2655 \begin_inset Index idx
2658 \begin_layout Plain Layout
2659 さんしょう@参照 ! ひょうへの@表への
2664 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2666 挿入\SpecialChar \menuseparator
2675 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2679 arg "dialog-show-new-inset ref"
2682 を用いて、このラベルを参照することができます。
2683 \begin_inset Newline newline
2687 \begin_inset CommandInset ref
2689 reference "sec:フロートの参照"
2696 \begin_layout Section
2698 \begin_inset CommandInset label
2705 \begin_inset Index idx
2708 \begin_layout Plain Layout
2715 \begin_inset Index idx
2718 \begin_layout Plain Layout
2719 ひょう@表 ! ちょうしゃくひょう@長尺表
2727 \begin_layout Standard
2728 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2736 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2740 \begin_layout Description
2741 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2768 が定義されているときは、冒頭ページを除きます。
2777 これと区別して、このヘッダは本体ヘッダと呼びます。
2780 \begin_layout Description
2781 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2784 \begin_layout Description
2785 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2812 が定義されているときは、末尾ページを除きます。
2815 \begin_layout Description
2816 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2819 \begin_layout Description
2820 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2821 \begin_inset CommandInset ref
2823 reference "sub:長尺表のキャプション"
2830 \begin_layout Standard
2831 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2834 \begin_layout Standard
2836 \begin_inset Tabular
2837 <lyxtabular version="3" rows="69" columns="3">
2838 <features rotate="0" islongtable="true" longtabularalignment="center">
2839 <column alignment="left" valignment="top" width="0cm">
2840 <column alignment="left" valignment="top" width="0pt">
2841 <column alignment="center" valignment="top" width="0pt">
2842 <row endfirsthead="true">
2843 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2846 \begin_layout Plain Layout
2854 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2857 \begin_layout Plain Layout
2863 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2866 \begin_layout Plain Layout
2873 <row endfirsthead="true">
2874 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2877 \begin_layout Plain Layout
2883 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2886 \begin_layout Plain Layout
2892 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2895 \begin_layout Plain Layout
2904 <row endhead="true">
2905 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2908 \begin_layout Plain Layout
2916 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2919 \begin_layout Plain Layout
2925 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2928 \begin_layout Plain Layout
2935 <row endhead="true">
2936 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2939 \begin_layout Plain Layout
2945 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2948 \begin_layout Plain Layout
2954 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2957 \begin_layout Plain Layout
2966 <row endfoot="true">
2967 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2970 \begin_layout Plain Layout
2976 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2979 \begin_layout Plain Layout
2985 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2988 \begin_layout Plain Layout
2996 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2999 \begin_layout Plain Layout
3007 <cell alignment="center" valignment="top" usebox="none">
3010 \begin_layout Plain Layout
3016 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3019 \begin_layout Plain Layout
3027 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3030 \begin_layout Plain Layout
3038 <cell alignment="center" valignment="top" usebox="none">
3041 \begin_layout Plain Layout
3047 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3050 \begin_layout Plain Layout
3058 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3061 \begin_layout Plain Layout
3069 <cell alignment="center" valignment="top" usebox="none">
3072 \begin_layout Plain Layout
3078 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3081 \begin_layout Plain Layout
3089 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3092 \begin_layout Plain Layout
3100 <cell alignment="center" valignment="top" usebox="none">
3103 \begin_layout Plain Layout
3109 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3112 \begin_layout Plain Layout
3120 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3123 \begin_layout Plain Layout
3131 <cell alignment="center" valignment="top" usebox="none">
3134 \begin_layout Plain Layout
3140 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3143 \begin_layout Plain Layout
3151 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3154 \begin_layout Plain Layout
3162 <cell alignment="center" valignment="top" usebox="none">
3165 \begin_layout Plain Layout
3171 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3174 \begin_layout Plain Layout
3182 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3185 \begin_layout Plain Layout
3193 <cell alignment="center" valignment="top" usebox="none">
3196 \begin_layout Plain Layout
3202 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3205 \begin_layout Plain Layout
3213 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3216 \begin_layout Plain Layout
3224 <cell alignment="center" valignment="top" usebox="none">
3227 \begin_layout Plain Layout
3233 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3236 \begin_layout Plain Layout
3244 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3247 \begin_layout Plain Layout
3255 <cell alignment="center" valignment="top" usebox="none">
3258 \begin_layout Plain Layout
3264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3267 \begin_layout Plain Layout
3275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3278 \begin_layout Plain Layout
3286 <cell alignment="center" valignment="top" usebox="none">
3289 \begin_layout Plain Layout
3295 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3298 \begin_layout Plain Layout
3306 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3309 \begin_layout Plain Layout
3317 <cell alignment="center" valignment="top" usebox="none">
3320 \begin_layout Plain Layout
3326 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3329 \begin_layout Plain Layout
3337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3340 \begin_layout Plain Layout
3348 <cell alignment="center" valignment="top" usebox="none">
3351 \begin_layout Plain Layout
3357 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3360 \begin_layout Plain Layout
3368 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3371 \begin_layout Plain Layout
3379 <cell alignment="center" valignment="top" usebox="none">
3382 \begin_layout Plain Layout
3388 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3391 \begin_layout Plain Layout
3399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3402 \begin_layout Plain Layout
3410 <cell alignment="center" valignment="top" usebox="none">
3413 \begin_layout Plain Layout
3419 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3422 \begin_layout Plain Layout
3430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3433 \begin_layout Plain Layout
3441 <cell alignment="center" valignment="top" usebox="none">
3444 \begin_layout Plain Layout
3450 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3453 \begin_layout Plain Layout
3461 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3464 \begin_layout Plain Layout
3472 <cell alignment="center" valignment="top" usebox="none">
3475 \begin_layout Plain Layout
3481 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3484 \begin_layout Plain Layout
3492 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3495 \begin_layout Plain Layout
3503 <cell alignment="center" valignment="top" usebox="none">
3506 \begin_layout Plain Layout
3512 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3515 \begin_layout Plain Layout
3523 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3526 \begin_layout Plain Layout
3534 <cell alignment="center" valignment="top" usebox="none">
3537 \begin_layout Plain Layout
3543 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3546 \begin_layout Plain Layout
3554 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3557 \begin_layout Plain Layout
3565 <cell alignment="center" valignment="top" usebox="none">
3568 \begin_layout Plain Layout
3574 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3577 \begin_layout Plain Layout
3585 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3588 \begin_layout Plain Layout
3596 <cell alignment="center" valignment="top" usebox="none">
3599 \begin_layout Plain Layout
3605 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3608 \begin_layout Plain Layout
3616 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3619 \begin_layout Plain Layout
3627 <cell alignment="center" valignment="top" usebox="none">
3630 \begin_layout Plain Layout
3636 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3639 \begin_layout Plain Layout
3647 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3650 \begin_layout Plain Layout
3658 <cell alignment="center" valignment="top" usebox="none">
3661 \begin_layout Plain Layout
3667 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3670 \begin_layout Plain Layout
3678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3681 \begin_layout Plain Layout
3689 <cell alignment="center" valignment="top" usebox="none">
3692 \begin_layout Plain Layout
3698 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3701 \begin_layout Plain Layout
3709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3712 \begin_layout Plain Layout
3720 <cell alignment="center" valignment="top" usebox="none">
3723 \begin_layout Plain Layout
3729 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3732 \begin_layout Plain Layout
3740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3743 \begin_layout Plain Layout
3751 <cell alignment="center" valignment="top" usebox="none">
3754 \begin_layout Plain Layout
3760 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3763 \begin_layout Plain Layout
3771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3774 \begin_layout Plain Layout
3782 <cell alignment="center" valignment="top" usebox="none">
3785 \begin_layout Plain Layout
3791 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3794 \begin_layout Plain Layout
3802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3805 \begin_layout Plain Layout
3813 <cell alignment="center" valignment="top" usebox="none">
3816 \begin_layout Plain Layout
3822 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3825 \begin_layout Plain Layout
3833 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3836 \begin_layout Plain Layout
3844 <cell alignment="center" valignment="top" usebox="none">
3847 \begin_layout Plain Layout
3853 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3856 \begin_layout Plain Layout
3864 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3867 \begin_layout Plain Layout
3875 <cell alignment="center" valignment="top" usebox="none">
3878 \begin_layout Plain Layout
3884 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3887 \begin_layout Plain Layout
3895 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3898 \begin_layout Plain Layout
3906 <cell alignment="center" valignment="top" usebox="none">
3909 \begin_layout Plain Layout
3915 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3918 \begin_layout Plain Layout
3926 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3929 \begin_layout Plain Layout
3937 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3940 \begin_layout Plain Layout
3946 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3949 \begin_layout Plain Layout
3957 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3960 \begin_layout Plain Layout
3966 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3969 \begin_layout Plain Layout
3975 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3978 \begin_layout Plain Layout
3986 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3989 \begin_layout Plain Layout
3997 <cell alignment="center" valignment="top" usebox="none">
4000 \begin_layout Plain Layout
4006 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4009 \begin_layout Plain Layout
4017 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4020 \begin_layout Plain Layout
4028 <cell alignment="center" valignment="top" usebox="none">
4031 \begin_layout Plain Layout
4037 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4040 \begin_layout Plain Layout
4048 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4051 \begin_layout Plain Layout
4059 <cell alignment="center" valignment="top" usebox="none">
4062 \begin_layout Plain Layout
4068 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4071 \begin_layout Plain Layout
4079 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4082 \begin_layout Plain Layout
4090 <cell alignment="center" valignment="top" usebox="none">
4093 \begin_layout Plain Layout
4099 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4102 \begin_layout Plain Layout
4110 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4113 \begin_layout Plain Layout
4121 <cell alignment="center" valignment="top" usebox="none">
4124 \begin_layout Plain Layout
4130 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4133 \begin_layout Plain Layout
4141 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4144 \begin_layout Plain Layout
4152 <cell alignment="center" valignment="top" usebox="none">
4155 \begin_layout Plain Layout
4161 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4164 \begin_layout Plain Layout
4172 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4175 \begin_layout Plain Layout
4183 <cell alignment="center" valignment="top" usebox="none">
4186 \begin_layout Plain Layout
4192 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4195 \begin_layout Plain Layout
4203 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4206 \begin_layout Plain Layout
4214 <cell alignment="center" valignment="top" usebox="none">
4217 \begin_layout Plain Layout
4223 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4226 \begin_layout Plain Layout
4234 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4237 \begin_layout Plain Layout
4245 <cell alignment="center" valignment="top" usebox="none">
4248 \begin_layout Plain Layout
4254 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4257 \begin_layout Plain Layout
4265 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4268 \begin_layout Plain Layout
4276 <cell alignment="center" valignment="top" usebox="none">
4279 \begin_layout Plain Layout
4285 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4288 \begin_layout Plain Layout
4296 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4299 \begin_layout Plain Layout
4307 <cell alignment="center" valignment="top" usebox="none">
4310 \begin_layout Plain Layout
4316 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4319 \begin_layout Plain Layout
4327 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4330 \begin_layout Plain Layout
4338 <cell alignment="center" valignment="top" usebox="none">
4341 \begin_layout Plain Layout
4347 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4350 \begin_layout Plain Layout
4358 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4361 \begin_layout Plain Layout
4369 <cell alignment="center" valignment="top" usebox="none">
4372 \begin_layout Plain Layout
4378 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4381 \begin_layout Plain Layout
4389 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4392 \begin_layout Plain Layout
4400 <cell alignment="center" valignment="top" usebox="none">
4403 \begin_layout Plain Layout
4409 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4412 \begin_layout Plain Layout
4420 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4423 \begin_layout Plain Layout
4431 <cell alignment="center" valignment="top" usebox="none">
4434 \begin_layout Plain Layout
4440 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4443 \begin_layout Plain Layout
4451 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4454 \begin_layout Plain Layout
4462 <cell alignment="center" valignment="top" usebox="none">
4465 \begin_layout Plain Layout
4471 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4474 \begin_layout Plain Layout
4482 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4485 \begin_layout Plain Layout
4493 <cell alignment="center" valignment="top" usebox="none">
4496 \begin_layout Plain Layout
4502 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4505 \begin_layout Plain Layout
4513 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4516 \begin_layout Plain Layout
4524 <cell alignment="center" valignment="top" usebox="none">
4527 \begin_layout Plain Layout
4533 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4536 \begin_layout Plain Layout
4544 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4547 \begin_layout Plain Layout
4555 <cell alignment="center" valignment="top" usebox="none">
4558 \begin_layout Plain Layout
4564 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4567 \begin_layout Plain Layout
4575 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4578 \begin_layout Plain Layout
4586 <cell alignment="center" valignment="top" usebox="none">
4589 \begin_layout Plain Layout
4595 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4598 \begin_layout Plain Layout
4606 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4609 \begin_layout Plain Layout
4617 <cell alignment="center" valignment="top" usebox="none">
4620 \begin_layout Plain Layout
4626 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4629 \begin_layout Plain Layout
4637 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4640 \begin_layout Plain Layout
4648 <cell alignment="center" valignment="top" usebox="none">
4651 \begin_layout Plain Layout
4657 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4660 \begin_layout Plain Layout
4668 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4671 \begin_layout Plain Layout
4679 <cell alignment="center" valignment="top" usebox="none">
4682 \begin_layout Plain Layout
4688 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4691 \begin_layout Plain Layout
4699 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4702 \begin_layout Plain Layout
4710 <cell alignment="center" valignment="top" usebox="none">
4713 \begin_layout Plain Layout
4719 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4722 \begin_layout Plain Layout
4730 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4733 \begin_layout Plain Layout
4741 <cell alignment="center" valignment="top" usebox="none">
4744 \begin_layout Plain Layout
4750 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4753 \begin_layout Plain Layout
4761 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4764 \begin_layout Plain Layout
4772 <cell alignment="center" valignment="top" usebox="none">
4775 \begin_layout Plain Layout
4781 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4784 \begin_layout Plain Layout
4792 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4795 \begin_layout Plain Layout
4803 <cell alignment="center" valignment="top" usebox="none">
4806 \begin_layout Plain Layout
4812 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4815 \begin_layout Plain Layout
4823 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4826 \begin_layout Plain Layout
4834 <cell alignment="center" valignment="top" usebox="none">
4837 \begin_layout Plain Layout
4843 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4846 \begin_layout Plain Layout
4854 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4857 \begin_layout Plain Layout
4865 <cell alignment="center" valignment="top" usebox="none">
4868 \begin_layout Plain Layout
4874 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4877 \begin_layout Plain Layout
4885 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4888 \begin_layout Plain Layout
4896 <cell alignment="center" valignment="top" usebox="none">
4899 \begin_layout Plain Layout
4905 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4908 \begin_layout Plain Layout
4916 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4919 \begin_layout Plain Layout
4927 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4930 \begin_layout Plain Layout
4936 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4939 \begin_layout Plain Layout
4946 <row endlastfoot="true">
4947 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4950 \begin_layout Plain Layout
4956 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4959 \begin_layout Plain Layout
4965 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4968 \begin_layout Plain Layout
4983 \begin_layout Plain Layout
4987 addtocounter{table}{-1}
4993 \begin_inset Note Note
4996 \begin_layout Plain Layout
4998 \begin_inset CommandInset ref
5000 reference "sub:長尺表のキャプション"
5012 \begin_layout Subsection
5014 \begin_inset CommandInset label
5021 \begin_inset Index idx
5024 \begin_layout Plain Layout
5025 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
5033 \begin_layout Standard
5034 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
5035 \begin_inset CommandInset ref
5037 reference "tab:別キャプション"
5044 \begin_layout Subsection
5046 \begin_inset Index idx
5049 \begin_layout Plain Layout
5050 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5058 \begin_layout Standard
5059 表設定ダイアログでは、長尺表の水平揃えを指定することができます。左揃えや右揃えでは、表は直接ページ境界に寄せられます。表と境界の間に余白を加えるには、中央揃えに
5063 \begin_layout Standard
5073 \begin_layout Standard
5074 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5086 の値を変更しなくてはなりません。ここで「値」は、第
5087 \begin_inset CommandInset ref
5093 表に挙げてある単位であれば、どの単位を取ることもできます。
5099 は、左頁余白から長尺表までの水平方向の距離を制御し、
5105 は、右頁余白からの距離を制御します。これらの長さの既定値は
5111 となっており、LyXの水平フィルと同等になっています。
5114 \begin_layout Standard
5131 \begin_layout Plain Layout
5147 \begin_layout Standard
5148 \begin_inset Tabular
5149 <lyxtabular version="3" rows="5" columns="5">
5150 <features rotate="0" islongtable="true" longtabularalignment="center">
5151 <column alignment="center" valignment="top" width="0">
5152 <column alignment="center" valignment="top" width="0">
5153 <column alignment="center" valignment="top" width="0">
5154 <column alignment="center" valignment="top" width="0">
5155 <column alignment="center" valignment="top" width="0">
5157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5160 \begin_layout Plain Layout
5166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5169 \begin_layout Plain Layout
5175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5178 \begin_layout Plain Layout
5184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5187 \begin_layout Plain Layout
5193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5196 \begin_layout Plain Layout
5204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5207 \begin_layout Plain Layout
5213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5216 \begin_layout Plain Layout
5222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5225 \begin_layout Plain Layout
5231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5234 \begin_layout Plain Layout
5240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5243 \begin_layout Plain Layout
5251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5254 \begin_layout Plain Layout
5260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5263 \begin_layout Plain Layout
5269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5272 \begin_layout Plain Layout
5278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5281 \begin_layout Plain Layout
5287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5290 \begin_layout Plain Layout
5298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5301 \begin_layout Plain Layout
5307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5310 \begin_layout Plain Layout
5316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5319 \begin_layout Plain Layout
5325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5328 \begin_layout Plain Layout
5334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5337 \begin_layout Plain Layout
5345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5348 \begin_layout Plain Layout
5354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5357 \begin_layout Plain Layout
5363 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5366 \begin_layout Plain Layout
5372 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5375 \begin_layout Plain Layout
5381 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5384 \begin_layout Plain Layout
5399 \begin_layout Plain Layout
5416 \begin_layout Plain Layout
5420 addtocounter{table}{-1}
5426 \begin_inset Note Note
5429 \begin_layout Plain Layout
5431 \begin_inset CommandInset ref
5433 reference "sub:長尺表のキャプション"
5445 \begin_layout Subsection
5447 \begin_inset Index idx
5450 \begin_layout Plain Layout
5451 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5457 \begin_inset CommandInset label
5459 name "sub:長尺表のキャプション"
5466 \begin_layout Standard
5467 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5468 \begin_inset CommandInset ref
5474 節に述べられているように、ある行で長尺表オプションの
5478 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5481 \begin_layout Standard
5482 以下は、動作を確認するための短い長尺表です。
5485 \begin_layout Standard
5486 \begin_inset Tabular
5487 <lyxtabular version="3" rows="6" columns="5">
5488 <features rotate="0" islongtable="true" longtabularalignment="center">
5489 <column alignment="center" valignment="top" width="0">
5490 <column alignment="center" valignment="top" width="0">
5491 <column alignment="center" valignment="top" width="0">
5492 <column alignment="center" valignment="top" width="0">
5493 <column alignment="center" valignment="top" width="0">
5494 <row endfirsthead="true" caption="true">
5495 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5498 \begin_layout Plain Layout
5499 \begin_inset Caption Standard
5501 \begin_layout Plain Layout
5503 \begin_inset Argument 1
5506 \begin_layout Plain Layout
5522 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5525 \begin_layout Plain Layout
5531 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5534 \begin_layout Plain Layout
5540 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5543 \begin_layout Plain Layout
5549 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5552 \begin_layout Plain Layout
5560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5563 \begin_layout Plain Layout
5569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5572 \begin_layout Plain Layout
5578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5581 \begin_layout Plain Layout
5587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5590 \begin_layout Plain Layout
5596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5599 \begin_layout Plain Layout
5607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5610 \begin_layout Plain Layout
5616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5619 \begin_layout Plain Layout
5625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5628 \begin_layout Plain Layout
5634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5637 \begin_layout Plain Layout
5643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5646 \begin_layout Plain Layout
5654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5657 \begin_layout Plain Layout
5663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5666 \begin_layout Plain Layout
5672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5675 \begin_layout Plain Layout
5681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5684 \begin_layout Plain Layout
5690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5693 \begin_layout Plain Layout
5701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5704 \begin_layout Plain Layout
5710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5713 \begin_layout Plain Layout
5719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5722 \begin_layout Plain Layout
5728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5731 \begin_layout Plain Layout
5737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5740 \begin_layout Plain Layout
5748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5751 \begin_layout Plain Layout
5757 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5760 \begin_layout Plain Layout
5766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5769 \begin_layout Plain Layout
5775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5778 \begin_layout Plain Layout
5784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5787 \begin_layout Plain Layout
5801 \begin_layout Standard
5802 \begin_inset VSpace medskip
5806 \begin_inset Note Greyedout
5809 \begin_layout Plain Layout
5814 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5815 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5818 \begin_layout Plain Layout
5823 addtocounter{table}{-1}
5826 \begin_layout Plain Layout
5827 というコマンドを挿入する方法があります。
5830 \begin_layout Plain Layout
5831 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5834 \begin_layout Plain Layout
5844 \begin_inset Newline newline
5855 addtocounter{table}{-1}}
5863 \begin_layout Standard
5864 \begin_inset Note Greyedout
5867 \begin_layout Plain Layout
5885 \begin_inset Index idx
5888 \begin_layout Plain Layout
5889 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5894 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5902 \begin_layout Subsubsection
5904 \begin_inset Index idx
5907 \begin_layout Plain Layout
5908 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5916 \begin_layout Standard
5917 \begin_inset Tabular
5918 <lyxtabular version="3" rows="6" columns="5">
5919 <features rotate="0" islongtable="true" longtabularalignment="center">
5920 <column alignment="center" valignment="top" width="0">
5921 <column alignment="center" valignment="top" width="0">
5922 <column alignment="center" valignment="top" width="0">
5923 <column alignment="center" valignment="top" width="0">
5924 <column alignment="center" valignment="top" width="0">
5925 <row endfirsthead="true" caption="true">
5926 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5929 \begin_layout Plain Layout
5930 \begin_inset Caption Standard
5932 \begin_layout Plain Layout
5934 \begin_inset CommandInset label
5950 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5953 \begin_layout Plain Layout
5959 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5962 \begin_layout Plain Layout
5968 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5971 \begin_layout Plain Layout
5977 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5980 \begin_layout Plain Layout
5988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5991 \begin_layout Plain Layout
5997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6000 \begin_layout Plain Layout
6006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6009 \begin_layout Plain Layout
6015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6018 \begin_layout Plain Layout
6024 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6027 \begin_layout Plain Layout
6035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6038 \begin_layout Plain Layout
6044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6047 \begin_layout Plain Layout
6053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6056 \begin_layout Plain Layout
6062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6065 \begin_layout Plain Layout
6071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6074 \begin_layout Plain Layout
6082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6085 \begin_layout Plain Layout
6091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6094 \begin_layout Plain Layout
6100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6103 \begin_layout Plain Layout
6109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6112 \begin_layout Plain Layout
6118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6121 \begin_layout Plain Layout
6129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6132 \begin_layout Plain Layout
6138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6141 \begin_layout Plain Layout
6147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6150 \begin_layout Plain Layout
6156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6159 \begin_layout Plain Layout
6165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6168 \begin_layout Plain Layout
6176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6179 \begin_layout Plain Layout
6185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6188 \begin_layout Plain Layout
6194 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6197 \begin_layout Plain Layout
6203 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6206 \begin_layout Plain Layout
6212 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6215 \begin_layout Plain Layout
6229 \begin_layout Standard
6230 長尺表を参照するには、キャプションにラベルを挿入してください。
6233 \begin_layout Standard
6235 \begin_inset CommandInset ref
6244 \begin_layout Standard
6245 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6250 \begin_inset Index idx
6253 \begin_layout Plain Layout
6254 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6260 \begin_inset CommandInset ref
6262 reference "sec:キャプションの書式設定"
6269 \begin_layout Subsubsection
6271 \begin_inset Index idx
6274 \begin_layout Plain Layout
6275 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6283 \begin_layout Standard
6290 によって指定することができます。既定値は4
6291 \begin_inset space \thinspace{}
6294 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6297 \begin_layout Standard
6307 \begin_layout Standard
6308 というコマンドを書き加えて下さい。ここで「幅」には、付録
6309 \begin_inset CommandInset ref
6311 reference "cha:LyXで使用できる単位"
6315 に挙げられている単位を取ることができます。
6318 \begin_layout Standard
6322 \begin_layout Standard
6323 \begin_inset Tabular
6324 <lyxtabular version="3" rows="6" columns="5">
6325 <features rotate="0" islongtable="true" longtabularalignment="center">
6326 <column alignment="center" valignment="top" width="0">
6327 <column alignment="center" valignment="top" width="0">
6328 <column alignment="center" valignment="top" width="0">
6329 <column alignment="center" valignment="top" width="0">
6330 <column alignment="center" valignment="top" width="0">
6331 <row endfirsthead="true" caption="true">
6332 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6335 \begin_layout Plain Layout
6336 \begin_inset Caption Standard
6338 \begin_layout Plain Layout
6339 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6340 \begin_inset Argument 1
6343 \begin_layout Plain Layout
6359 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6362 \begin_layout Plain Layout
6368 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6371 \begin_layout Plain Layout
6377 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6380 \begin_layout Plain Layout
6386 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6389 \begin_layout Plain Layout
6397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6400 \begin_layout Plain Layout
6406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6409 \begin_layout Plain Layout
6415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6418 \begin_layout Plain Layout
6424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6427 \begin_layout Plain Layout
6433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6436 \begin_layout Plain Layout
6444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6447 \begin_layout Plain Layout
6453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6456 \begin_layout Plain Layout
6462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6465 \begin_layout Plain Layout
6471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6474 \begin_layout Plain Layout
6480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6483 \begin_layout Plain Layout
6491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6494 \begin_layout Plain Layout
6500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6503 \begin_layout Plain Layout
6509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6512 \begin_layout Plain Layout
6518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6521 \begin_layout Plain Layout
6527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6530 \begin_layout Plain Layout
6538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6541 \begin_layout Plain Layout
6547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6550 \begin_layout Plain Layout
6556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6559 \begin_layout Plain Layout
6565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6568 \begin_layout Plain Layout
6574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6577 \begin_layout Plain Layout
6585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6588 \begin_layout Plain Layout
6594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6597 \begin_layout Plain Layout
6603 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6606 \begin_layout Plain Layout
6612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6615 \begin_layout Plain Layout
6621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6624 \begin_layout Plain Layout
6638 \begin_layout Standard
6642 \begin_layout Plain Layout
6654 \begin_inset Tabular
6655 <lyxtabular version="3" rows="6" columns="5">
6656 <features rotate="0" islongtable="true" longtabularalignment="center">
6657 <column alignment="center" valignment="top" width="0">
6658 <column alignment="center" valignment="top" width="0">
6659 <column alignment="center" valignment="top" width="0">
6660 <column alignment="center" valignment="top" width="0">
6661 <column alignment="center" valignment="top" width="0">
6662 <row endfirsthead="true" caption="true">
6663 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6666 \begin_layout Plain Layout
6667 \begin_inset Caption Standard
6669 \begin_layout Plain Layout
6671 \begin_inset space \thinspace{}
6675 \begin_inset space \thinspace{}
6679 \begin_inset space \thinspace{}
6683 \begin_inset Argument 1
6686 \begin_layout Plain Layout
6688 \begin_inset space \thinspace{}
6706 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6709 \begin_layout Plain Layout
6715 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6718 \begin_layout Plain Layout
6724 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6727 \begin_layout Plain Layout
6733 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6736 \begin_layout Plain Layout
6744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6747 \begin_layout Plain Layout
6753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6756 \begin_layout Plain Layout
6762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6765 \begin_layout Plain Layout
6771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6774 \begin_layout Plain Layout
6780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6783 \begin_layout Plain Layout
6791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6794 \begin_layout Plain Layout
6800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6803 \begin_layout Plain Layout
6809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6812 \begin_layout Plain Layout
6818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6821 \begin_layout Plain Layout
6827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6830 \begin_layout Plain Layout
6838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6841 \begin_layout Plain Layout
6847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6850 \begin_layout Plain Layout
6856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6859 \begin_layout Plain Layout
6865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6868 \begin_layout Plain Layout
6874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6877 \begin_layout Plain Layout
6885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6888 \begin_layout Plain Layout
6894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6897 \begin_layout Plain Layout
6903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6906 \begin_layout Plain Layout
6912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6915 \begin_layout Plain Layout
6921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6924 \begin_layout Plain Layout
6932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6935 \begin_layout Plain Layout
6941 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6944 \begin_layout Plain Layout
6950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6953 \begin_layout Plain Layout
6959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6962 \begin_layout Plain Layout
6968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6971 \begin_layout Plain Layout
6985 \begin_layout Standard
6989 \begin_layout Plain Layout
7003 \begin_layout Standard
7004 \begin_inset Note Greyedout
7007 \begin_layout Plain Layout
7017 \begin_inset Index idx
7020 \begin_layout Plain Layout
7021 LaTeXぱっけーじ@LaTeXパッケージ ! caption
7033 \begin_inset space \thinspace{}
7036 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
7037 \begin_inset space \thinspace{}
7040 in幅のキャプションを作るには、3.99
7041 \begin_inset space \thinspace{}
7045 \begin_inset space \thinspace{}
7056 captionsetup{width=値}
7058 というLaTeXコマンドを用いる方法があります。
7066 \begin_layout Subsubsection
7068 \begin_inset Index idx
7071 \begin_layout Plain Layout
7072 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7080 \begin_layout Standard
7081 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
7084 \begin_layout Standard
7096 \begin_layout Standard
7097 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
7098 \begin_inset CommandInset ref
7100 reference "tab:別キャプション"
7104 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7107 \begin_layout Standard
7109 \begin_inset Tabular
7110 <lyxtabular version="3" rows="59" columns="3">
7111 <features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7112 <column alignment="left" valignment="top" width="0cm">
7113 <column alignment="left" valignment="top" width="0pt">
7114 <column alignment="center" valignment="top" width="0pt">
7115 <row endfirsthead="true" caption="true">
7116 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7119 \begin_layout Plain Layout
7120 \begin_inset Caption Standard
7122 \begin_layout Plain Layout
7124 \begin_inset CommandInset label
7131 \begin_inset Argument 1
7134 \begin_layout Plain Layout
7150 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7153 \begin_layout Plain Layout
7159 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7162 \begin_layout Plain Layout
7169 <row endfirsthead="true">
7170 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7173 \begin_layout Plain Layout
7181 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7184 \begin_layout Plain Layout
7190 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7193 \begin_layout Plain Layout
7200 <row endfirsthead="true">
7201 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7204 \begin_layout Plain Layout
7212 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7215 \begin_layout Plain Layout
7221 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7224 \begin_layout Plain Layout
7233 <row endhead="true">
7234 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7237 \begin_layout Plain Layout
7241 \begin_layout Plain Layout
7259 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7262 \begin_layout Plain Layout
7268 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7271 \begin_layout Plain Layout
7278 <row endhead="true">
7279 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7282 \begin_layout Plain Layout
7290 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7293 \begin_layout Plain Layout
7299 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7302 \begin_layout Plain Layout
7309 <row endhead="true">
7310 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7313 \begin_layout Plain Layout
7321 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7324 \begin_layout Plain Layout
7330 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7333 \begin_layout Plain Layout
7342 <row endfoot="true">
7343 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7346 \begin_layout Plain Layout
7352 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7355 \begin_layout Plain Layout
7361 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7364 \begin_layout Plain Layout
7372 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7375 \begin_layout Plain Layout
7383 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7386 \begin_layout Plain Layout
7392 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7395 \begin_layout Plain Layout
7403 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7406 \begin_layout Plain Layout
7414 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7417 \begin_layout Plain Layout
7423 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7426 \begin_layout Plain Layout
7434 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7437 \begin_layout Plain Layout
7445 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7448 \begin_layout Plain Layout
7454 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7457 \begin_layout Plain Layout
7465 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7468 \begin_layout Plain Layout
7476 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7479 \begin_layout Plain Layout
7485 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7488 \begin_layout Plain Layout
7496 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7499 \begin_layout Plain Layout
7507 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7510 \begin_layout Plain Layout
7516 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7519 \begin_layout Plain Layout
7527 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7530 \begin_layout Plain Layout
7538 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7541 \begin_layout Plain Layout
7547 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7550 \begin_layout Plain Layout
7558 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7561 \begin_layout Plain Layout
7569 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7572 \begin_layout Plain Layout
7578 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7581 \begin_layout Plain Layout
7589 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7592 \begin_layout Plain Layout
7600 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7603 \begin_layout Plain Layout
7609 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7612 \begin_layout Plain Layout
7620 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7623 \begin_layout Plain Layout
7631 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7634 \begin_layout Plain Layout
7640 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7643 \begin_layout Plain Layout
7651 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7654 \begin_layout Plain Layout
7662 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7665 \begin_layout Plain Layout
7671 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7674 \begin_layout Plain Layout
7682 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7685 \begin_layout Plain Layout
7693 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7696 \begin_layout Plain Layout
7702 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7705 \begin_layout Plain Layout
7713 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7716 \begin_layout Plain Layout
7724 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7727 \begin_layout Plain Layout
7733 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7736 \begin_layout Plain Layout
7744 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7747 \begin_layout Plain Layout
7755 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7758 \begin_layout Plain Layout
7764 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7767 \begin_layout Plain Layout
7775 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7778 \begin_layout Plain Layout
7786 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7789 \begin_layout Plain Layout
7795 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7798 \begin_layout Plain Layout
7806 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7809 \begin_layout Plain Layout
7818 \begin_layout Plain Layout
7829 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7832 \begin_layout Plain Layout
7838 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7841 \begin_layout Plain Layout
7849 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7852 \begin_layout Plain Layout
7860 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7863 \begin_layout Plain Layout
7869 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7872 \begin_layout Plain Layout
7880 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7883 \begin_layout Plain Layout
7891 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7894 \begin_layout Plain Layout
7900 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7903 \begin_layout Plain Layout
7911 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7914 \begin_layout Plain Layout
7922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7925 \begin_layout Plain Layout
7931 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7934 \begin_layout Plain Layout
7942 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7945 \begin_layout Plain Layout
7953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7956 \begin_layout Plain Layout
7962 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7965 \begin_layout Plain Layout
7973 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7976 \begin_layout Plain Layout
7984 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7987 \begin_layout Plain Layout
7993 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7996 \begin_layout Plain Layout
8004 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8007 \begin_layout Plain Layout
8015 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8018 \begin_layout Plain Layout
8024 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8027 \begin_layout Plain Layout
8035 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8038 \begin_layout Plain Layout
8046 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8049 \begin_layout Plain Layout
8055 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8058 \begin_layout Plain Layout
8066 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8069 \begin_layout Plain Layout
8077 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8080 \begin_layout Plain Layout
8086 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8089 \begin_layout Plain Layout
8097 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8100 \begin_layout Plain Layout
8108 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8111 \begin_layout Plain Layout
8117 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8120 \begin_layout Plain Layout
8128 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8131 \begin_layout Plain Layout
8139 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8142 \begin_layout Plain Layout
8148 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8151 \begin_layout Plain Layout
8159 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8162 \begin_layout Plain Layout
8170 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8173 \begin_layout Plain Layout
8179 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8182 \begin_layout Plain Layout
8190 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8193 \begin_layout Plain Layout
8201 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8204 \begin_layout Plain Layout
8210 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8213 \begin_layout Plain Layout
8221 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8224 \begin_layout Plain Layout
8232 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8235 \begin_layout Plain Layout
8241 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8244 \begin_layout Plain Layout
8252 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8255 \begin_layout Plain Layout
8263 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8266 \begin_layout Plain Layout
8272 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8275 \begin_layout Plain Layout
8283 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8286 \begin_layout Plain Layout
8294 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8297 \begin_layout Plain Layout
8303 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8306 \begin_layout Plain Layout
8314 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8317 \begin_layout Plain Layout
8325 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8328 \begin_layout Plain Layout
8334 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8337 \begin_layout Plain Layout
8345 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8348 \begin_layout Plain Layout
8354 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8357 \begin_layout Plain Layout
8363 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8366 \begin_layout Plain Layout
8374 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8377 \begin_layout Plain Layout
8385 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8388 \begin_layout Plain Layout
8394 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8397 \begin_layout Plain Layout
8405 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8408 \begin_layout Plain Layout
8416 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8419 \begin_layout Plain Layout
8425 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8428 \begin_layout Plain Layout
8436 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8439 \begin_layout Plain Layout
8447 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8450 \begin_layout Plain Layout
8456 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8459 \begin_layout Plain Layout
8467 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8470 \begin_layout Plain Layout
8478 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8481 \begin_layout Plain Layout
8487 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8490 \begin_layout Plain Layout
8498 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8501 \begin_layout Plain Layout
8509 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8512 \begin_layout Plain Layout
8518 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8521 \begin_layout Plain Layout
8529 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8532 \begin_layout Plain Layout
8540 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8543 \begin_layout Plain Layout
8549 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8552 \begin_layout Plain Layout
8560 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8563 \begin_layout Plain Layout
8571 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8574 \begin_layout Plain Layout
8580 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8583 \begin_layout Plain Layout
8591 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8594 \begin_layout Plain Layout
8602 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8605 \begin_layout Plain Layout
8611 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8614 \begin_layout Plain Layout
8622 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8625 \begin_layout Plain Layout
8633 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8636 \begin_layout Plain Layout
8642 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8645 \begin_layout Plain Layout
8653 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8656 \begin_layout Plain Layout
8664 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8667 \begin_layout Plain Layout
8673 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8676 \begin_layout Plain Layout
8684 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8687 \begin_layout Plain Layout
8695 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8698 \begin_layout Plain Layout
8704 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8707 \begin_layout Plain Layout
8715 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8718 \begin_layout Plain Layout
8726 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8729 \begin_layout Plain Layout
8735 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8738 \begin_layout Plain Layout
8746 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8749 \begin_layout Plain Layout
8757 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8760 \begin_layout Plain Layout
8766 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8769 \begin_layout Plain Layout
8777 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8780 \begin_layout Plain Layout
8788 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8791 \begin_layout Plain Layout
8797 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8800 \begin_layout Plain Layout
8808 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8811 \begin_layout Plain Layout
8819 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8822 \begin_layout Plain Layout
8828 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8831 \begin_layout Plain Layout
8839 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8842 \begin_layout Plain Layout
8850 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8853 \begin_layout Plain Layout
8859 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8862 \begin_layout Plain Layout
8870 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8873 \begin_layout Plain Layout
8881 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8884 \begin_layout Plain Layout
8890 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8893 \begin_layout Plain Layout
8901 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8904 \begin_layout Plain Layout
8912 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8915 \begin_layout Plain Layout
8921 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8924 \begin_layout Plain Layout
8932 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8935 \begin_layout Plain Layout
8943 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8946 \begin_layout Plain Layout
8952 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8955 \begin_layout Plain Layout
8963 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8966 \begin_layout Plain Layout
8974 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8977 \begin_layout Plain Layout
8983 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8986 \begin_layout Plain Layout
9000 \begin_layout Section
9002 \begin_inset CommandInset label
9004 name "sec:長尺表にまつわる諸点"
9011 \begin_layout Subsection
9013 \begin_inset Index idx
9016 \begin_layout Plain Layout
9017 ちょうしゃくひょう@長尺表 ! けいさん@計算
9025 \begin_layout Standard
9026 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
9027 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
9030 \begin_layout Standard
9035 setcounter{LTchunksize}{100}
9038 \begin_layout Standard
9039 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9042 \begin_layout Subsection
9044 \begin_inset Index idx
9047 \begin_layout Plain Layout
9048 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9056 \begin_layout Standard
9057 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9063 コマンドを長尺表の前にTeXコードとして書き加えてください。
9066 \begin_layout Subsection
9068 \begin_inset Index idx
9071 \begin_layout Plain Layout
9072 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9080 \begin_layout Standard
9081 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9098 コマンドの前には、現セルよりも右にある列数と同じ数の「
9102 」文字を、TeXコードで挿入してやる必要があります。この
9110 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9111 \begin_inset Newline newline
9122 コマンドの後ろには、現在列の左側にある列数と同じ数の
9127 \begin_inset CommandInset ref
9129 reference "tab:強制改頁"
9133 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9136 \begin_layout Standard
9146 \begin_inset Newline newline
9152 \begin_layout Standard
9157 」の後にTeXコードとして挿入してあります。
9160 \begin_layout Standard
9161 同一行3列目の「111」は削除してあります。
9167 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9168 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9171 \begin_layout Standard
9179 \begin_inset Newline newline
9187 \begin_layout Standard
9191 \begin_layout Standard
9192 改頁をしたいセルが最右列にある場合には、
9195 \begin_layout Standard
9205 \begin_layout Standard
9206 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9210 \begin_layout Standard
9212 \begin_inset Tabular
9213 <lyxtabular version="3" rows="38" columns="3">
9214 <features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9215 <column alignment="left" valignment="top" width="0cm">
9216 <column alignment="left" valignment="top" width="3cm">
9217 <column alignment="center" valignment="top" width="0pt">
9218 <row endfirsthead="true" caption="true">
9219 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9222 \begin_layout Plain Layout
9223 \begin_inset Caption Standard
9225 \begin_layout Plain Layout
9227 \begin_inset CommandInset label
9234 \begin_inset Argument 1
9237 \begin_layout Plain Layout
9253 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9256 \begin_layout Plain Layout
9262 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9265 \begin_layout Plain Layout
9272 <row endfirsthead="true">
9273 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9276 \begin_layout Plain Layout
9284 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9287 \begin_layout Plain Layout
9293 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9296 \begin_layout Plain Layout
9303 <row endfirsthead="true">
9304 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9307 \begin_layout Plain Layout
9315 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9318 \begin_layout Plain Layout
9324 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9327 \begin_layout Plain Layout
9336 <row endhead="true">
9337 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9340 \begin_layout Plain Layout
9344 \begin_layout Plain Layout
9362 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9365 \begin_layout Plain Layout
9371 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9374 \begin_layout Plain Layout
9381 <row endhead="true">
9382 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9385 \begin_layout Plain Layout
9391 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9394 \begin_layout Plain Layout
9400 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9403 \begin_layout Plain Layout
9410 <row endhead="true">
9411 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9414 \begin_layout Plain Layout
9422 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9425 \begin_layout Plain Layout
9431 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9434 \begin_layout Plain Layout
9443 <row endfoot="true">
9444 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9447 \begin_layout Plain Layout
9453 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9456 \begin_layout Plain Layout
9462 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9465 \begin_layout Plain Layout
9473 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9476 \begin_layout Plain Layout
9484 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9487 \begin_layout Plain Layout
9493 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9496 \begin_layout Plain Layout
9504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9507 \begin_layout Plain Layout
9515 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9518 \begin_layout Plain Layout
9524 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9527 \begin_layout Plain Layout
9535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9538 \begin_layout Plain Layout
9546 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9549 \begin_layout Plain Layout
9555 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9558 \begin_layout Plain Layout
9566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9569 \begin_layout Plain Layout
9577 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9580 \begin_layout Plain Layout
9586 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9589 \begin_layout Plain Layout
9597 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9600 \begin_layout Plain Layout
9608 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9611 \begin_layout Plain Layout
9617 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9620 \begin_layout Plain Layout
9628 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9631 \begin_layout Plain Layout
9639 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9642 \begin_layout Plain Layout
9648 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9651 \begin_layout Plain Layout
9659 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9662 \begin_layout Plain Layout
9670 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9673 \begin_layout Plain Layout
9679 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9682 \begin_layout Plain Layout
9690 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9693 \begin_layout Plain Layout
9701 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9704 \begin_layout Plain Layout
9710 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9713 \begin_layout Plain Layout
9721 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9724 \begin_layout Plain Layout
9732 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9735 \begin_layout Plain Layout
9741 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9744 \begin_layout Plain Layout
9752 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9755 \begin_layout Plain Layout
9763 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9766 \begin_layout Plain Layout
9772 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9775 \begin_layout Plain Layout
9783 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9786 \begin_layout Plain Layout
9794 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9797 \begin_layout Plain Layout
9803 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9806 \begin_layout Plain Layout
9814 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9817 \begin_layout Plain Layout
9825 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9828 \begin_layout Plain Layout
9834 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9837 \begin_layout Plain Layout
9845 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9848 \begin_layout Plain Layout
9856 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9859 \begin_layout Plain Layout
9865 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9868 \begin_layout Plain Layout
9876 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9879 \begin_layout Plain Layout
9887 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9890 \begin_layout Plain Layout
9896 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9899 \begin_layout Plain Layout
9907 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9910 \begin_layout Plain Layout
9918 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9921 \begin_layout Plain Layout
9927 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9930 \begin_layout Plain Layout
9938 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9941 \begin_layout Plain Layout
9949 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9952 \begin_layout Plain Layout
9958 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9961 \begin_layout Plain Layout
9969 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9972 \begin_layout Plain Layout
9980 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9983 \begin_layout Plain Layout
9989 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9992 \begin_layout Plain Layout
10000 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10003 \begin_layout Plain Layout
10011 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10014 \begin_layout Plain Layout
10020 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10023 \begin_layout Plain Layout
10031 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10034 \begin_layout Plain Layout
10042 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10045 \begin_layout Plain Layout
10051 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10054 \begin_layout Plain Layout
10062 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10065 \begin_layout Plain Layout
10073 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10076 \begin_layout Plain Layout
10082 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10085 \begin_layout Plain Layout
10093 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10096 \begin_layout Plain Layout
10104 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10107 \begin_layout Plain Layout
10113 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10116 \begin_layout Plain Layout
10124 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10127 \begin_layout Plain Layout
10135 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10138 \begin_layout Plain Layout
10144 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10147 \begin_layout Plain Layout
10155 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10158 \begin_layout Plain Layout
10166 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10169 \begin_layout Plain Layout
10171 Fürst von Montecompatri, 11.
10172 Fürst von Sulmona und Vivaro, 10.
10173 Fürst von Rossano, 5.
10174 Herzog von Canemorte, 11.
10175 Herzog von Palombara, 5.
10176 Herzog von Castelchiodato,
10180 \begin_layout Plain Layout
10191 \begin_layout Plain Layout
10199 Herzog von Poggionativo, 11.
10200 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10201 Graf von Valinfreda, 11.
10202 Baron von Cropalati, 11.
10203 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10208 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10211 \begin_layout Plain Layout
10219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10222 \begin_layout Plain Layout
10230 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10233 \begin_layout Plain Layout
10239 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10242 \begin_layout Plain Layout
10250 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10253 \begin_layout Plain Layout
10261 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10264 \begin_layout Plain Layout
10270 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10273 \begin_layout Plain Layout
10281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10284 \begin_layout Plain Layout
10292 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10295 \begin_layout Plain Layout
10301 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10304 \begin_layout Plain Layout
10312 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10315 \begin_layout Plain Layout
10323 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10326 \begin_layout Plain Layout
10332 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10335 \begin_layout Plain Layout
10343 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10346 \begin_layout Plain Layout
10354 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10357 \begin_layout Plain Layout
10363 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10366 \begin_layout Plain Layout
10374 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10377 \begin_layout Plain Layout
10385 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10388 \begin_layout Plain Layout
10394 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10397 \begin_layout Plain Layout
10405 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10408 \begin_layout Plain Layout
10416 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10419 \begin_layout Plain Layout
10425 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10428 \begin_layout Plain Layout
10436 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10439 \begin_layout Plain Layout
10447 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10450 \begin_layout Plain Layout
10456 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10459 \begin_layout Plain Layout
10473 \begin_layout Section
10477 \begin_layout Subsection
10479 \begin_inset CommandInset label
10486 \begin_inset Index idx
10489 \begin_layout Plain Layout
10490 ひょうせるないのふくすうぎょう@表セル内の複数行
10496 \begin_inset Index idx
10499 \begin_layout Plain Layout
10508 \begin_layout Standard
10510 \begin_inset Float table
10516 \begin_layout Plain Layout
10517 \begin_inset Caption Standard
10519 \begin_layout Plain Layout
10520 \begin_inset CommandInset label
10534 \begin_layout Plain Layout
10536 \begin_inset Tabular
10537 <lyxtabular version="3" rows="3" columns="3">
10538 <features rotate="0" tabularvalignment="middle">
10539 <column alignment="center" valignment="middle" width="2.5cm">
10540 <column alignment="center" valignment="middle" width="0">
10541 <column alignment="center" valignment="middle" width="0">
10543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10546 \begin_layout Plain Layout
10548 \begin_inset Newline linebreak
10556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10559 \begin_layout Plain Layout
10565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10568 \begin_layout Plain Layout
10576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10579 \begin_layout Plain Layout
10585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10588 \begin_layout Plain Layout
10594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10597 \begin_layout Plain Layout
10605 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10608 \begin_layout Plain Layout
10614 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10617 \begin_layout Plain Layout
10623 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10626 \begin_layout Plain Layout
10645 \begin_layout Standard
10646 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10649 \begin_layout Standard
10651 \begin_inset CommandInset ref
10653 reference "tab:複数行表"
10657 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10661 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10662 \begin_inset space \thinspace{}
10665 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10666 \begin_inset space \thinspace{}
10669 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10672 arg "newline-insert linebreak"
10675 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10678 \begin_layout Standard
10679 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10680 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10681 \begin_inset space \thinspace{}
10684 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10685 \begin_inset CommandInset ref
10687 reference "tab:ハイフネーション表"
10695 \begin_layout Plain Layout
10700 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10708 \begin_layout Standard
10709 \begin_inset Float table
10715 \begin_layout Plain Layout
10716 \begin_inset Caption Standard
10718 \begin_layout Plain Layout
10719 \begin_inset CommandInset label
10721 name "tab:ハイフネーション表"
10733 \begin_layout Plain Layout
10734 \begin_inset space \hfill{}
10738 \begin_inset Tabular
10739 <lyxtabular version="3" rows="3" columns="3">
10740 <features rotate="0" tabularvalignment="middle">
10741 <column alignment="center" valignment="middle" width="2.5cm">
10742 <column alignment="center" valignment="middle" width="0">
10743 <column alignment="center" valignment="middle" width="0">
10745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10748 \begin_layout Plain Layout
10749 verylongtablecellword
10754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10757 \begin_layout Plain Layout
10763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10766 \begin_layout Plain Layout
10774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10777 \begin_layout Plain Layout
10783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10786 \begin_layout Plain Layout
10792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10795 \begin_layout Plain Layout
10803 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10806 \begin_layout Plain Layout
10812 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10815 \begin_layout Plain Layout
10821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10824 \begin_layout Plain Layout
10836 \begin_inset space \hfill{}
10840 \begin_inset Tabular
10841 <lyxtabular version="3" rows="3" columns="3">
10842 <features rotate="0" tabularvalignment="middle">
10843 <column alignment="center" valignment="middle" width="2.5cm">
10844 <column alignment="center" valignment="middle" width="0">
10845 <column alignment="center" valignment="middle" width="0">
10847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10850 \begin_layout Plain Layout
10851 \begin_inset space \hspace{}
10855 verylongtablecellword
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" rightline="true" usebox="none">
10872 \begin_layout Plain Layout
10880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10883 \begin_layout Plain Layout
10889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10892 \begin_layout Plain Layout
10898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10901 \begin_layout Plain Layout
10909 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10912 \begin_layout Plain Layout
10918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10921 \begin_layout Plain Layout
10927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10930 \begin_layout Plain Layout
10942 \begin_inset space \hfill{}
10953 \begin_layout Subsection
10955 \begin_inset CommandInset label
10962 \begin_inset Index idx
10965 \begin_layout Plain Layout
10972 \begin_inset Index idx
10975 \begin_layout Plain Layout
10984 \begin_layout Subsubsection
10988 \begin_layout Standard
10989 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
10992 arg "inset-modify tabular multicolumn"
10997 編集\SpecialChar \menuseparator
10998 表\SpecialChar \menuseparator
11001 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
11008 \begin_layout Standard
11009 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
11010 、最下行に上罫線のない連結行がある表の例です。
11013 \begin_layout Standard
11015 \begin_inset Tabular
11016 <lyxtabular version="3" rows="3" columns="4">
11017 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11018 <column alignment="center" valignment="top" width="0pt">
11019 <column alignment="center" valignment="middle" width="0">
11020 <column alignment="center" valignment="top" width="0in">
11021 <column alignment="center" valignment="top" width="0pt">
11023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11026 \begin_layout Plain Layout
11032 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11035 \begin_layout Plain Layout
11041 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11044 \begin_layout Plain Layout
11050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11053 \begin_layout Plain Layout
11061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11064 \begin_layout Plain Layout
11070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11073 \begin_layout Plain Layout
11079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11082 \begin_layout Plain Layout
11088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11091 \begin_layout Plain Layout
11099 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11102 \begin_layout Plain Layout
11108 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11111 \begin_layout Plain Layout
11117 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11120 \begin_layout Plain Layout
11126 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11129 \begin_layout Plain Layout
11143 \begin_layout Subsubsection
11145 \begin_inset CommandInset label
11152 \begin_inset Index idx
11155 \begin_layout Plain Layout
11156 れんけつれつ@連結列 ! けいさん@計算
11164 \begin_layout Standard
11165 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11168 \begin_layout Standard
11169 \begin_inset Float table
11175 \begin_layout Plain Layout
11176 \begin_inset Caption Standard
11178 \begin_layout Plain Layout
11179 \begin_inset CommandInset label
11185 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11186 \begin_inset Argument 1
11189 \begin_layout Plain Layout
11203 \begin_layout Plain Layout
11205 \begin_inset Tabular
11206 <lyxtabular version="3" rows="3" columns="3">
11207 <features rotate="0" tabularvalignment="middle">
11208 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11209 <column alignment="center" valignment="middle" width="0">
11210 <column alignment="center" valignment="top" width="0">
11212 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11215 \begin_layout Plain Layout
11221 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11224 \begin_layout Plain Layout
11230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11233 \begin_layout Plain Layout
11241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11244 \begin_layout Plain Layout
11250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11253 \begin_layout Plain Layout
11259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11262 \begin_layout Plain Layout
11270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11273 \begin_layout Plain Layout
11279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11282 \begin_layout Plain Layout
11288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11291 \begin_layout Plain Layout
11310 \begin_layout Standard
11312 \begin_inset CommandInset ref
11314 reference "tab:中央揃え表"
11318 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11322 を選択します。そして現れる表の設定ダイアログで、このセルを
11331 \begin_inset space \thinspace{}
11334 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11335 \begin_inset space \thinspace{}
11338 cm幅に設定します。すると第二列は自動的に1.25
11339 \begin_inset space \thinspace{}
11342 cm幅(連結列幅マイナス第一列の幅)になります。表
11343 \begin_inset CommandInset ref
11345 reference "tab:半分でない表"
11352 \begin_layout Standard
11353 \begin_inset Float table
11358 \begin_layout Plain Layout
11359 \begin_inset Caption Standard
11361 \begin_layout Plain Layout
11362 \begin_inset CommandInset label
11368 連結セルの下の列が正確に半分になっていない表
11369 \begin_inset Argument 1
11372 \begin_layout Plain Layout
11386 \begin_layout Plain Layout
11388 \begin_inset Tabular
11389 <lyxtabular version="3" rows="3" columns="3">
11390 <features rotate="0" tabularvalignment="middle">
11391 <column alignment="center" valignment="top" width="1.25cm">
11392 <column alignment="center" valignment="top" width="0">
11393 <column alignment="center" valignment="top" width="0">
11395 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11398 \begin_layout Plain Layout
11404 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11407 \begin_layout Plain Layout
11413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11416 \begin_layout Plain Layout
11424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11427 \begin_layout Plain Layout
11433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11436 \begin_layout Plain Layout
11442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11445 \begin_layout Plain Layout
11453 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11456 \begin_layout Plain Layout
11462 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11465 \begin_layout Plain Layout
11471 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11474 \begin_layout Plain Layout
11493 \begin_layout Standard
11494 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11496 \begin_inset Formula $W_{\mbox{指}}$
11500 \begin_inset Formula $W_{\text{全}}$
11504 \begin_inset CommandInset ref
11506 reference "cha:式の説明"
11513 \begin_layout Standard
11519 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11523 \begin_inset Formula $W_{\mbox{指}:n}$
11527 \begin_inset Formula
11529 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11537 \begin_layout Standard
11538 で計算することができます。上記の例では
11539 \begin_inset Formula $n=2$
11543 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11547 \begin_inset CommandInset ref
11554 \begin_inset Formula
11556 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11564 \begin_layout Standard
11565 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11568 \begin_layout Standard
11576 \begin_layout Standard
11582 \begin_inset Index idx
11585 \begin_layout Plain Layout
11586 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11591 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11592 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11595 \begin_layout Itemize
11600 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11603 \begin_layout Itemize
11608 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11611 \begin_layout Itemize
11616 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11619 \begin_layout Standard
11620 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11623 \begin_layout Standard
11624 \begin_inset Note Greyedout
11627 \begin_layout Plain Layout
11632 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11640 \begin_layout Standard
11647 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11650 \begin_layout Standard
11655 centering}m{1.25cm-6.2pt}
11658 \begin_layout Standard
11663 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11666 \begin_layout Standard
11667 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11671 \begin_layout Standard
11679 \begin_layout Standard
11680 というLaTeX変数を指定しなくてはなりません。
11683 \begin_layout Subsection
11685 \begin_inset CommandInset label
11692 \begin_inset Index idx
11695 \begin_layout Plain Layout
11702 \begin_inset Index idx
11705 \begin_layout Plain Layout
11706 ひょう@表 ! れんけつぎょう@連結行
11714 \begin_layout Standard
11715 複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
11718 arg "inset-modify tabular multirow"
11723 編集\SpecialChar \menuseparator
11724 表\SpecialChar \menuseparator
11727 を選ぶか、選択したセルを右クリックして、コンテクストメニューから
11729 \SpecialChar \menuseparator
11735 \begin_layout Standard
11736 下記は一列目に連結列を適用した表の例です。
11739 \begin_layout Standard
11741 \begin_inset Tabular
11742 <lyxtabular version="3" rows="3" columns="3">
11743 <features rotate="0" tabularvalignment="middle">
11744 <column alignment="center" valignment="top" width="0pt">
11745 <column alignment="center" valignment="top" width="0">
11746 <column alignment="center" valignment="top" width="0">
11748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11751 \begin_layout Plain Layout
11757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11760 \begin_layout Plain Layout
11766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11769 \begin_layout Plain Layout
11777 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11780 \begin_layout Plain Layout
11786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11789 \begin_layout Plain Layout
11795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11798 \begin_layout Plain Layout
11806 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11809 \begin_layout Plain Layout
11815 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11818 \begin_layout Plain Layout
11824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11827 \begin_layout Plain Layout
11841 \begin_layout Standard
11842 連結列の幅は、列全体の幅と揃えを設定することによって設定することができます。
11846 は、正または負の値を与えると、連結列の内容を上下にシフトします。
11849 \begin_layout Standard
11850 連結行セルの列に明示的な幅が与えられていない場合、連結行セルは当該列の揃えを継承します。それもなければ左揃えです。既定値を上書きするには、
11853 \begin_layout Standard
11865 \begin_layout Standard
11872 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11873 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11894 \begin_layout Standard
11895 下記は、-4ミリの垂直オフセットを設定し、3センチ幅の列中にある右揃えの連結列セルがある表の例です。
11898 \begin_layout Standard
11904 \begin_layout Plain Layout
11918 \begin_inset Tabular
11919 <lyxtabular version="3" rows="4" columns="3">
11920 <features rotate="0" tabularvalignment="middle">
11921 <column alignment="center" valignment="top" width="3cm">
11922 <column alignment="center" valignment="top" width="0">
11923 <column alignment="center" valignment="top" width="0">
11925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11928 \begin_layout Plain Layout
11934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11937 \begin_layout Plain Layout
11943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11946 \begin_layout Plain Layout
11954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11957 \begin_layout Plain Layout
11963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11966 \begin_layout Plain Layout
11972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11975 \begin_layout Plain Layout
11983 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11986 \begin_layout Plain Layout
11992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11995 \begin_layout Plain Layout
12001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12004 \begin_layout Plain Layout
12012 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12015 \begin_layout Plain Layout
12021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12024 \begin_layout Plain Layout
12030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12033 \begin_layout Plain Layout
12048 \begin_layout Plain Layout
12064 \begin_layout Standard
12067 To start a new line in a multirow you can use a forced line break (shortcut
12071 arg "newline-insert newline"
12074 ) but this will not respect the cell lines as demonstrated in this table:
12077 \begin_layout Standard
12082 \begin_inset Tabular
12083 <lyxtabular version="3" rows="3" columns="2">
12084 <features rotate="0" tabularvalignment="middle">
12085 <column alignment="left" valignment="middle" width="2cm">
12086 <column alignment="center" valignment="top" width="0">
12088 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12091 \begin_layout Plain Layout
12095 \begin_inset Newline newline
12099 \begin_inset Newline newline
12107 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12110 \begin_layout Plain Layout
12120 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12123 \begin_layout Plain Layout
12129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12132 \begin_layout Plain Layout
12142 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12145 \begin_layout Plain Layout
12153 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12156 \begin_layout Plain Layout
12172 \begin_layout Standard
12175 Therefore be careful with forced line breaks.
12178 \begin_layout Subsection
12181 Cells with diagonal line(s)
12184 \begin_layout Standard
12187 To tell the reader what is meant by column and row headings in a table,
12188 it is helpful to split the first cell of the table by one or two diagonal
12190 This can be achieved by loading the LaTeX-package
12196 \begin_inset Index idx
12199 \begin_layout Plain Layout
12200 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
12207 in the document preamble.
12208 The package provides the command
12214 that is inserted as TeX-Code and that can take 2 or 3
12215 \begin_inset space ~
12221 \begin_layout Standard
12227 diagbox[options]{lower left}{upper right}
12230 \begin_layout Standard
12236 diagbox[options]{lower left}{upper left}{upper right}
12239 \begin_layout Standard
12242 The first scheme divides the cell by a single diagonal line and the arguments
12243 are placed below and above this line.
12244 The second scheme divides the cell by 2
12245 \begin_inset space ~
12251 \begin_layout Standard
12255 \begin_layout Plain Layout
12265 \begin_inset Note Note
12268 \begin_layout Plain Layout
12281 \begin_layout Standard
12284 Here is an example table where
12290 is used in the 2-argument scheme in the first cell:
12291 \begin_inset VSpace medskip
12297 \begin_layout Standard
12301 \begin_inset Tabular
12302 <lyxtabular version="3" rows="4" columns="4">
12303 <features rotate="0" tabularvalignment="middle">
12304 <column alignment="center" valignment="top" width="0">
12305 <column alignment="center" valignment="top" width="0">
12306 <column alignment="center" valignment="top" width="0">
12307 <column alignment="center" valignment="top" width="0">
12309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12312 \begin_layout Plain Layout
12318 \begin_layout Plain Layout
12331 \begin_layout Plain Layout
12342 \begin_layout Plain Layout
12354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12357 \begin_layout Plain Layout
12365 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12368 \begin_layout Plain Layout
12376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12379 \begin_layout Plain Layout
12389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12392 \begin_layout Plain Layout
12400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12403 \begin_layout Plain Layout
12411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12414 \begin_layout Plain Layout
12422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12425 \begin_layout Plain Layout
12435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12438 \begin_layout Plain Layout
12446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12449 \begin_layout Plain Layout
12457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12460 \begin_layout Plain Layout
12468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12471 \begin_layout Plain Layout
12481 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12484 \begin_layout Plain Layout
12492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12495 \begin_layout Plain Layout
12503 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12506 \begin_layout Plain Layout
12514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12517 \begin_layout Plain Layout
12531 \begin_inset VSpace medskip
12537 \begin_layout Standard
12540 The 3-argument scheme is for example useful for cross-tables of sports leagues
12544 \begin_layout Standard
12549 \begin_inset Tabular
12550 <lyxtabular version="3" rows="4" columns="4">
12551 <features rotate="0" tabularvalignment="middle">
12552 <column alignment="center" valignment="top" width="0pt">
12553 <column alignment="center" valignment="top" width="0">
12554 <column alignment="center" valignment="top" width="0">
12555 <column alignment="center" valignment="top" width="0">
12557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12560 \begin_layout Plain Layout
12566 \begin_layout Plain Layout
12579 \begin_layout Plain Layout
12590 \begin_layout Plain Layout
12601 \begin_layout Plain Layout
12613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12616 \begin_layout Plain Layout
12624 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12627 \begin_layout Plain Layout
12635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12638 \begin_layout Plain Layout
12648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12651 \begin_layout Plain Layout
12659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12662 \begin_layout Plain Layout
12670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12673 \begin_layout Plain Layout
12681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12684 \begin_layout Plain Layout
12694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12697 \begin_layout Plain Layout
12705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12708 \begin_layout Plain Layout
12716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12719 \begin_layout Plain Layout
12727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12730 \begin_layout Plain Layout
12740 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12743 \begin_layout Plain Layout
12751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12754 \begin_layout Plain Layout
12762 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12765 \begin_layout Plain Layout
12773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12776 \begin_layout Plain Layout
12792 \begin_layout Standard
12795 For larger cross-tables one might use split cells in 2 or every corner of
12796 the table like in this example:
12799 \begin_layout Standard
12804 \begin_inset Tabular
12805 <lyxtabular version="3" rows="5" columns="5">
12806 <features rotate="0" tabularvalignment="middle">
12807 <column alignment="center" valignment="top" width="0pt">
12808 <column alignment="center" valignment="top" width="0">
12809 <column alignment="center" valignment="top" width="0">
12810 <column alignment="center" valignment="top" width="0">
12811 <column alignment="center" valignment="top" width="0">
12813 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12816 \begin_layout Plain Layout
12822 \begin_layout Plain Layout
12835 \begin_layout Plain Layout
12846 \begin_layout Plain Layout
12857 \begin_layout Plain Layout
12869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12872 \begin_layout Plain Layout
12880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12883 \begin_layout Plain Layout
12891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12894 \begin_layout Plain Layout
12902 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
12905 \begin_layout Plain Layout
12911 \begin_layout Plain Layout
12924 \begin_layout Plain Layout
12935 \begin_layout Plain Layout
12946 \begin_layout Plain Layout
12960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12963 \begin_layout Plain Layout
12971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12974 \begin_layout Plain Layout
12982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12985 \begin_layout Plain Layout
12993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12996 \begin_layout Plain Layout
13004 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13007 \begin_layout Plain Layout
13017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13020 \begin_layout Plain Layout
13028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13031 \begin_layout Plain Layout
13039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13042 \begin_layout Plain Layout
13050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13053 \begin_layout Plain Layout
13061 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13064 \begin_layout Plain Layout
13074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13077 \begin_layout Plain Layout
13085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13088 \begin_layout Plain Layout
13096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13099 \begin_layout Plain Layout
13107 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13110 \begin_layout Plain Layout
13118 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13121 \begin_layout Plain Layout
13131 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13134 \begin_layout Plain Layout
13140 \begin_layout Plain Layout
13153 \begin_layout Plain Layout
13164 \begin_layout Plain Layout
13175 \begin_layout Plain Layout
13187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13190 \begin_layout Plain Layout
13198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13201 \begin_layout Plain Layout
13209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13212 \begin_layout Plain Layout
13220 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13223 \begin_layout Plain Layout
13229 \begin_layout Plain Layout
13242 \begin_layout Plain Layout
13253 \begin_layout Plain Layout
13264 \begin_layout Plain Layout
13284 \begin_layout Standard
13287 To rotate the diagonal lines, the command option
13312 and represent a point of a compass.
13317 is for example the south-west corner.
13318 Thus in the lower left cell of the above table the command
13321 \begin_layout Standard
13327 diagbox[dir=SW]{Team home}{Result}{Team away}
13330 \begin_layout Standard
13334 If no direction is given, it will be NW.
13337 \begin_layout Standard
13340 The necessary width of split cells is automatically calculated.
13341 Thus if you set a fixed column width smaller than the calculated one, the
13342 cell's content will protrude the cell borders:
13345 \begin_layout Standard
13350 \begin_inset Tabular
13351 <lyxtabular version="3" rows="2" columns="2">
13352 <features rotate="0" tabularvalignment="middle">
13353 <column alignment="center" valignment="top" width="3cm">
13354 <column alignment="center" valignment="top" width="0">
13356 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13359 \begin_layout Plain Layout
13365 \begin_layout Plain Layout
13378 \begin_layout Plain Layout
13389 \begin_layout Plain Layout
13401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13404 \begin_layout Plain Layout
13414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13417 \begin_layout Plain Layout
13425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13428 \begin_layout Plain Layout
13444 \begin_layout Standard
13447 If you need a certain width for columns with a split cell, use the command
13452 (replace '3cm' by the width you need).
13453 In the following table the width of the first column is set to 4
13454 \begin_inset space \thinspace{}
13465 \begin_inset space \thinspace{}
13469 \begin_inset space \thinspace{}
13474 tabcolsep is necessary because the overall width is the width for the text
13475 (in this case the 4
13476 \begin_inset space \thinspace{}
13479 cm) plus two times the separation of the text and the cell border.
13480 The calculation of the width cannot be done in the command option of
13486 so one needs to create a new length which can be used later.
13487 This is done with the TeX-Code commands
13490 \begin_layout Standard
13498 \begin_inset Newline newline
13510 \begin_layout Standard
13514 \begin_layout Plain Layout
13523 \begin_layout Plain Layout
13539 \begin_layout Standard
13542 To enable calculations in LaTeX one needs to load the package
13548 \begin_inset Index idx
13551 \begin_layout Plain Layout
13552 LaTeXぱっけーじ@LaTeXパッケージ ! calc
13559 in the document preamble.
13562 \begin_layout Standard
13565 In this table you can now use the command
13568 \begin_layout Standard
13579 \begin_layout Standard
13585 \begin_layout Standard
13590 \begin_inset Tabular
13591 <lyxtabular version="3" rows="2" columns="2">
13592 <features rotate="0" tabularvalignment="middle">
13593 <column alignment="center" valignment="top" width="4cm">
13594 <column alignment="center" valignment="top" width="0">
13596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13599 \begin_layout Plain Layout
13605 \begin_layout Plain Layout
13620 \begin_layout Plain Layout
13631 \begin_layout Plain Layout
13643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13646 \begin_layout Plain Layout
13656 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13659 \begin_layout Plain Layout
13667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13670 \begin_layout Plain Layout
13686 \begin_layout Standard
13689 Note that the split cell needs to be the widest one in the column.
13690 Otherwise the length of the diagonal line cannot be calculated correctly
13691 like in this table:
13694 \begin_layout Standard
13699 \begin_inset Tabular
13700 <lyxtabular version="3" rows="2" columns="2">
13701 <features rotate="0" tabularvalignment="middle">
13702 <column alignment="center" valignment="top" width="0pt">
13703 <column alignment="center" valignment="top" width="0">
13705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13708 \begin_layout Plain Layout
13714 \begin_layout Plain Layout
13727 \begin_layout Plain Layout
13738 \begin_layout Plain Layout
13750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13753 \begin_layout Plain Layout
13763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13766 \begin_layout Plain Layout
13774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13777 \begin_layout Plain Layout
13793 \begin_layout Standard
13796 In this case use the
13807 It is then not necessary to add 2
13809 tabcolsep because the cell width is now the width of the column.
13810 In this table a width of 3
13811 \begin_inset space \thinspace{}
13817 \begin_layout Standard
13822 \begin_inset Tabular
13823 <lyxtabular version="3" rows="2" columns="2">
13824 <features rotate="0" tabularvalignment="middle">
13825 <column alignment="center" valignment="top" width="0pt">
13826 <column alignment="center" valignment="top" width="0">
13828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13831 \begin_layout Plain Layout
13837 \begin_layout Plain Layout
13841 diagbox[width=3cm]{
13850 \begin_layout Plain Layout
13861 \begin_layout Plain Layout
13873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13876 \begin_layout Plain Layout
13886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13889 \begin_layout Plain Layout
13897 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13900 \begin_layout Plain Layout
13916 \begin_layout Standard
13919 For multiple text lines in split cells one needs some extra height to fit
13920 the text to the cell.
13921 This can be achieved with the
13931 (replace '3cm' by the height you need).
13932 In the following table the command
13935 \begin_layout Standard
13941 diagbox[width=3cm,height=1.4cm]{A
13952 \begin_layout Standard
13955 is used in the first cell.
13964 creates hereby the line break.
13968 \begin_layout Plain Layout
13971 Breaking lines with
13975 is only possible when the column has a fixed width.
13983 \begin_layout Standard
13988 \begin_inset Tabular
13989 <lyxtabular version="3" rows="2" columns="2">
13990 <features rotate="0" tabularvalignment="middle">
13991 <column alignment="center" valignment="top" width="0">
13992 <column alignment="center" valignment="top" width="0">
13994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13997 \begin_layout Plain Layout
14003 \begin_layout Plain Layout
14007 diagbox[width=3cm,height=1.4cm]{
14016 \begin_layout Plain Layout
14031 \begin_layout Plain Layout
14042 \begin_layout Plain Layout
14057 \begin_layout Plain Layout
14069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14072 \begin_layout Plain Layout
14082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14085 \begin_layout Plain Layout
14093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14096 \begin_layout Plain Layout
14112 \begin_layout Standard
14116 \begin_layout Plain Layout
14126 \begin_inset Note Note
14129 \begin_layout Plain Layout
14142 \begin_layout Standard
14147 パッケージを導入しなくてはなりません。
14150 \begin_layout Standard
14154 \begin_layout Plain Layout
14166 \begin_layout Standard
14169 For more info about the LaTeX-package
14173 , see its documentation
14176 \begin_inset CommandInset citation
14185 \begin_layout Section
14187 \begin_inset CommandInset label
14189 name "sec:フォーマル形式の表"
14194 \begin_inset Index idx
14197 \begin_layout Plain Layout
14198 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
14206 \begin_layout Standard
14208 \begin_inset CommandInset ref
14210 reference "tab:ブックタブ表の例"
14214 のように組版されます。この種の表は、「
14218 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
14221 \begin_layout Standard
14222 \begin_inset Float table
14228 \begin_layout Plain Layout
14229 \begin_inset Caption Standard
14231 \begin_layout Plain Layout
14232 \begin_inset CommandInset label
14234 name "tab:ブックタブ表の例"
14246 \begin_layout Plain Layout
14248 \begin_inset Tabular
14249 <lyxtabular version="3" rows="8" columns="4">
14250 <features rotate="0" booktabs="true" tabularvalignment="middle">
14251 <column alignment="center" valignment="top" width="0">
14252 <column alignment="center" valignment="top" width="0">
14253 <column alignment="center" valignment="top" width="0">
14254 <column alignment="center" valignment="top" width="0">
14256 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14259 \begin_layout Plain Layout
14265 <cell alignment="center" valignment="top" topline="true" usebox="none">
14268 \begin_layout Plain Layout
14270 \begin_inset space \thinspace{}
14278 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14281 \begin_layout Plain Layout
14283 \begin_inset space \thinspace{}
14291 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14294 \begin_layout Plain Layout
14302 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14305 \begin_layout Plain Layout
14309 \begin_layout Plain Layout
14322 \begin_layout Plain Layout
14336 <cell alignment="center" valignment="top" usebox="none">
14339 \begin_layout Plain Layout
14345 <cell alignment="center" valignment="top" usebox="none">
14348 \begin_layout Plain Layout
14354 <cell alignment="center" valignment="top" usebox="none">
14357 \begin_layout Plain Layout
14365 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14368 \begin_layout Plain Layout
14374 <cell alignment="center" valignment="top" topline="true" usebox="none">
14377 \begin_layout Plain Layout
14383 <cell alignment="center" valignment="top" topline="true" usebox="none">
14386 \begin_layout Plain Layout
14392 <cell alignment="center" valignment="top" topline="true" usebox="none">
14395 \begin_layout Plain Layout
14402 <row topspace="default">
14403 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14406 \begin_layout Plain Layout
14412 <cell alignment="center" valignment="top" usebox="none">
14415 \begin_layout Plain Layout
14421 <cell alignment="center" valignment="top" usebox="none">
14424 \begin_layout Plain Layout
14430 <cell alignment="center" valignment="top" usebox="none">
14433 \begin_layout Plain Layout
14440 <row topspace="default">
14441 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14444 \begin_layout Plain Layout
14445 \begin_inset Formula $f_{\mathrm{max}}$
14453 <cell alignment="center" valignment="top" usebox="none">
14456 \begin_layout Plain Layout
14462 <cell alignment="center" valignment="top" usebox="none">
14465 \begin_layout Plain Layout
14471 <cell alignment="center" valignment="top" usebox="none">
14474 \begin_layout Plain Layout
14481 <row topspace="default">
14482 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14485 \begin_layout Plain Layout
14489 \begin_layout Plain Layout
14493 cmidrule(l{10pt}){1-1}
14503 <cell alignment="center" valignment="top" usebox="none">
14506 \begin_layout Plain Layout
14512 <cell alignment="center" valignment="top" usebox="none">
14515 \begin_layout Plain Layout
14521 <cell alignment="center" valignment="top" usebox="none">
14524 \begin_layout Plain Layout
14532 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14535 \begin_layout Plain Layout
14541 <cell alignment="center" valignment="top" usebox="none">
14544 \begin_layout Plain Layout
14550 <cell alignment="center" valignment="top" usebox="none">
14553 \begin_layout Plain Layout
14559 <cell alignment="center" valignment="top" usebox="none">
14562 \begin_layout Plain Layout
14570 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14573 \begin_layout Plain Layout
14579 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14582 \begin_layout Plain Layout
14588 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14591 \begin_layout Plain Layout
14597 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14600 \begin_layout Plain Layout
14619 \begin_layout Standard
14621 \begin_inset CommandInset ref
14623 reference "sub:行の余白取り"
14627 節に述べられているように、表の設定ダイアログの
14634 \begin_layout Standard
14635 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
14636 \begin_inset Newline newline
14640 \begin_inset space \thinspace{}
14643 emですが、他の罫線の既定幅は0.05
14644 \begin_inset space \thinspace{}
14650 \begin_layout Standard
14651 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
14654 \begin_layout Standard
14664 \begin_inset Newline newline
14676 \begin_layout Standard
14681 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
14689 に置き換えて下さい。他の罫線の線幅を変更するには、
14697 に置き換えます。線幅を設定する上では、付録
14698 \begin_inset CommandInset ref
14700 reference "cha:LyXで使用できる単位"
14704 に挙げてあるすべての単位を使用することができます。
14707 \begin_layout Standard
14708 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
14714 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
14717 \begin_layout Standard
14722 cmidrule[幅](刈込){開始列-終了列}
14725 \begin_layout Standard
14732 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
14738 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
14742 \begin_layout Standard
14744 \begin_inset space \thinspace{}
14747 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
14756 の値を取り、刈込幅の指定は非必須です。たとえば、
14760 というパラメーターを使うと、罫線が左端から2
14761 \begin_inset space \thinspace{}
14764 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
14765 \begin_inset space \thinspace{}
14771 \begin_layout Standard
14772 \begin_inset VSpace bigskip
14776 \begin_inset CommandInset ref
14778 reference "tab:ブックタブ表の例"
14785 \begin_layout Standard
14795 \begin_layout Standard
14796 というコマンドを第二行の初めに使用し、
14799 \begin_layout Standard
14804 cmidrule(l{10pt}){1-1}
14807 \begin_layout Standard
14811 \begin_layout Standard
14812 \begin_inset VSpace bigskip
14818 \begin_layout Standard
14820 \begin_inset CommandInset ref
14822 reference "tab:特殊なブックタブ表"
14832 が欲しいことがあるかもしれません。これは、TeXコードで
14835 \begin_layout Standard
14843 \begin_layout Standard
14844 コマンドを使用することによって実現することができます。表
14845 \begin_inset CommandInset ref
14847 reference "tab:特殊なブックタブ表"
14854 \begin_layout Standard
14868 \begin_layout Standard
14869 というコマンドが使用されており、第六列には
14872 \begin_layout Standard
14884 \begin_layout Standard
14888 \begin_layout Standard
14889 \begin_inset VSpace bigskip
14895 \begin_layout Standard
14896 罫線の余白取りにどうしても満足が行かない場合には、
14899 \begin_layout Standard
14904 specialrule{幅}{上余白}{下余白}
14907 \begin_layout Standard
14908 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
14913 \begin_inset CommandInset citation
14920 \begin_inset Index idx
14923 \begin_layout Plain Layout
14924 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
14932 \begin_layout Standard
14933 \begin_inset Float table
14939 \begin_layout Plain Layout
14940 \begin_inset Caption Standard
14942 \begin_layout Plain Layout
14943 \begin_inset CommandInset label
14945 name "tab:特殊なブックタブ表"
14957 \begin_layout Plain Layout
14959 \begin_inset Tabular
14960 <lyxtabular version="3" rows="8" columns="4">
14961 <features rotate="0" booktabs="true" tabularvalignment="middle">
14962 <column alignment="center" valignment="top" width="0">
14963 <column alignment="center" valignment="top" width="0">
14964 <column alignment="center" valignment="top" width="0">
14965 <column alignment="center" valignment="top" width="0">
14967 <cell alignment="center" valignment="top" topline="true" usebox="none">
14970 \begin_layout Plain Layout
14976 <cell alignment="center" valignment="top" topline="true" usebox="none">
14979 \begin_layout Plain Layout
14981 \begin_inset space \thinspace{}
14989 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14992 \begin_layout Plain Layout
14994 \begin_inset space \thinspace{}
15002 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15005 \begin_layout Plain Layout
15013 <cell alignment="center" valignment="top" usebox="none">
15016 \begin_layout Plain Layout
15020 \begin_layout Plain Layout
15033 \begin_layout Plain Layout
15046 \begin_layout Plain Layout
15059 \begin_layout Plain Layout
15073 <cell alignment="center" valignment="top" usebox="none">
15076 \begin_layout Plain Layout
15082 <cell alignment="center" valignment="top" usebox="none">
15085 \begin_layout Plain Layout
15091 <cell alignment="center" valignment="top" usebox="none">
15094 \begin_layout Plain Layout
15102 <cell alignment="center" valignment="top" topline="true" usebox="none">
15105 \begin_layout Plain Layout
15111 <cell alignment="center" valignment="top" topline="true" usebox="none">
15114 \begin_layout Plain Layout
15120 <cell alignment="center" valignment="top" topline="true" usebox="none">
15123 \begin_layout Plain Layout
15129 <cell alignment="center" valignment="top" topline="true" usebox="none">
15132 \begin_layout Plain Layout
15139 <row topspace="default">
15140 <cell alignment="center" valignment="top" usebox="none">
15143 \begin_layout Plain Layout
15149 <cell alignment="center" valignment="top" usebox="none">
15152 \begin_layout Plain Layout
15158 <cell alignment="center" valignment="top" usebox="none">
15161 \begin_layout Plain Layout
15167 <cell alignment="center" valignment="top" usebox="none">
15170 \begin_layout Plain Layout
15177 <row topspace="default">
15178 <cell alignment="center" valignment="top" usebox="none">
15181 \begin_layout Plain Layout
15182 \begin_inset Formula $f_{\mathrm{max}}$
15190 <cell alignment="center" valignment="top" usebox="none">
15193 \begin_layout Plain Layout
15199 <cell alignment="center" valignment="top" usebox="none">
15202 \begin_layout Plain Layout
15208 <cell alignment="center" valignment="top" usebox="none">
15211 \begin_layout Plain Layout
15219 <cell alignment="center" valignment="top" topline="true" usebox="none">
15222 \begin_layout Plain Layout
15226 \begin_layout Plain Layout
15239 \begin_layout Plain Layout
15253 <cell alignment="center" valignment="top" topline="true" usebox="none">
15256 \begin_layout Plain Layout
15262 <cell alignment="center" valignment="top" topline="true" usebox="none">
15265 \begin_layout Plain Layout
15271 <cell alignment="center" valignment="top" topline="true" usebox="none">
15274 \begin_layout Plain Layout
15282 <cell alignment="center" valignment="top" usebox="none">
15285 \begin_layout Plain Layout
15291 <cell alignment="center" valignment="top" usebox="none">
15294 \begin_layout Plain Layout
15300 <cell alignment="center" valignment="top" usebox="none">
15303 \begin_layout Plain Layout
15309 <cell alignment="center" valignment="top" usebox="none">
15312 \begin_layout Plain Layout
15320 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15323 \begin_layout Plain Layout
15329 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15332 \begin_layout Plain Layout
15338 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15341 \begin_layout Plain Layout
15347 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15350 \begin_layout Plain Layout
15369 \begin_layout Section
15371 \begin_inset Index idx
15374 \begin_layout Plain Layout
15383 \begin_layout Standard
15384 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
15385 \begin_inset CommandInset ref
15387 reference "sec:ボックスダイアログ"
15391 節に述べられているように、ボックスの垂直揃えを行います。
15394 \begin_layout Standard
15396 \begin_inset space \thinspace{}
15403 \begin_layout Plain Layout
15405 \begin_inset CommandInset ref
15407 reference "sec:ミニページ"
15419 \begin_layout Itemize
15421 \begin_inset Box Frameless
15431 height_special "totalheight"
15434 \begin_layout Plain Layout
15435 \begin_inset Tabular
15436 <lyxtabular version="3" rows="3" columns="3">
15437 <features rotate="0" tabularvalignment="middle">
15438 <column alignment="center" valignment="top" width="0">
15439 <column alignment="center" valignment="top" width="0">
15440 <column alignment="center" valignment="top" width="0">
15442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15445 \begin_layout Plain Layout
15451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15454 \begin_layout Plain Layout
15460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15463 \begin_layout Plain Layout
15471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15474 \begin_layout Plain Layout
15480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15483 \begin_layout Plain Layout
15489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15492 \begin_layout Plain Layout
15500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15503 \begin_layout Plain Layout
15509 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15512 \begin_layout Plain Layout
15518 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15521 \begin_layout Plain Layout
15541 \begin_layout Plain Layout
15553 \begin_inset Box Frameless
15563 height_special "totalheight"
15566 \begin_layout Plain Layout
15567 \begin_inset Tabular
15568 <lyxtabular version="3" rows="3" columns="3">
15569 <features rotate="0" tabularvalignment="middle">
15570 <column alignment="center" valignment="top" width="0">
15571 <column alignment="center" valignment="top" width="0">
15572 <column alignment="center" valignment="top" width="0">
15574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15577 \begin_layout Plain Layout
15583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15586 \begin_layout Plain Layout
15592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15595 \begin_layout Plain Layout
15603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15606 \begin_layout Plain Layout
15612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15615 \begin_layout Plain Layout
15621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15624 \begin_layout Plain Layout
15632 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15635 \begin_layout Plain Layout
15641 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15644 \begin_layout Plain Layout
15650 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15653 \begin_layout Plain Layout
15673 \begin_layout Plain Layout
15683 \begin_layout Itemize
15685 \begin_inset Box Frameless
15695 height_special "totalheight"
15698 \begin_layout Plain Layout
15699 \begin_inset Tabular
15700 <lyxtabular version="3" rows="3" columns="3">
15701 <features rotate="0" tabularvalignment="middle">
15702 <column alignment="center" valignment="top" width="0">
15703 <column alignment="center" valignment="top" width="0">
15704 <column alignment="center" valignment="top" width="0">
15706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15709 \begin_layout Plain Layout
15715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15718 \begin_layout Plain Layout
15724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15727 \begin_layout Plain Layout
15735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15738 \begin_layout Plain Layout
15744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15747 \begin_layout Plain Layout
15753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15756 \begin_layout Plain Layout
15764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15767 \begin_layout Plain Layout
15773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15776 \begin_layout Plain Layout
15782 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15785 \begin_layout Plain Layout
15804 \begin_layout Itemize
15806 \begin_inset Box Frameless
15816 height_special "totalheight"
15819 \begin_layout Plain Layout
15820 \begin_inset Tabular
15821 <lyxtabular version="3" rows="3" columns="3">
15822 <features rotate="0" tabularvalignment="middle">
15823 <column alignment="center" valignment="top" width="0">
15824 <column alignment="center" valignment="top" width="0">
15825 <column alignment="center" valignment="top" width="0">
15827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15830 \begin_layout Plain Layout
15836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15839 \begin_layout Plain Layout
15845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15848 \begin_layout Plain Layout
15856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15859 \begin_layout Plain Layout
15865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15868 \begin_layout Plain Layout
15874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15877 \begin_layout Plain Layout
15885 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15888 \begin_layout Plain Layout
15894 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15897 \begin_layout Plain Layout
15903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15906 \begin_layout Plain Layout
15926 \begin_layout Plain Layout
15938 \begin_inset Box Frameless
15948 height_special "totalheight"
15951 \begin_layout Plain Layout
15952 \begin_inset Tabular
15953 <lyxtabular version="3" rows="3" columns="3">
15954 <features rotate="0" tabularvalignment="middle">
15955 <column alignment="center" valignment="top" width="0">
15956 <column alignment="center" valignment="top" width="0">
15957 <column alignment="center" valignment="top" width="0">
15959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15962 \begin_layout Plain Layout
15968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15971 \begin_layout Plain Layout
15977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15980 \begin_layout Plain Layout
15988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15991 \begin_layout Plain Layout
15997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16000 \begin_layout Plain Layout
16006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16009 \begin_layout Plain Layout
16017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16020 \begin_layout Plain Layout
16026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16029 \begin_layout Plain Layout
16035 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16038 \begin_layout Plain Layout
16058 \begin_layout Plain Layout
16068 \begin_layout Standard
16069 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
16073 \begin_layout Plain Layout
16075 \begin_inset CommandInset ref
16077 reference "sub:垂直揃え"
16086 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
16089 \begin_layout Standard
16099 \begin_layout Standard
16100 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
16104 をTeXコードとして挿入してあります。最後の項目の第二表には、
16107 \begin_layout Standard
16117 \begin_layout Standard
16121 \begin_layout Standard
16122 \begin_inset Note Greyedout
16125 \begin_layout Plain Layout
16130 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
16136 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
16144 \begin_layout Section
16146 \begin_inset CommandInset label
16153 \begin_inset Index idx
16156 \begin_layout Plain Layout
16165 \begin_layout Subsection
16167 \begin_inset Index idx
16170 \begin_layout Plain Layout
16171 ひょうのいろ@表の色 ! せるぶ@セル部
16177 \begin_inset Index idx
16180 \begin_layout Plain Layout
16181 いろつき@色付き ! ひょうせるぶ@表セル部
16189 \begin_layout Standard
16190 \begin_inset Float table
16196 \begin_layout Plain Layout
16197 \begin_inset Caption Standard
16199 \begin_layout Plain Layout
16200 \begin_inset CommandInset label
16202 name "tab:colortblなしの表"
16211 \begin_inset Argument 1
16214 \begin_layout Plain Layout
16228 \begin_layout Plain Layout
16230 \begin_inset Tabular
16231 <lyxtabular version="3" rows="3" columns="3">
16232 <features rotate="0" tabularvalignment="middle">
16233 <column alignment="center" valignment="top" width="0">
16234 <column alignment="center" valignment="top" width="0">
16235 <column alignment="center" valignment="top" width="0">
16237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16240 \begin_layout Plain Layout
16248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16251 \begin_layout Plain Layout
16259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16262 \begin_layout Plain Layout
16272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16275 \begin_layout Plain Layout
16283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16286 \begin_layout Plain Layout
16294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16297 \begin_layout Plain Layout
16307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16310 \begin_layout Plain Layout
16318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16321 \begin_layout Plain Layout
16329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16332 \begin_layout Plain Layout
16353 \begin_layout Standard
16354 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
16356 編集\SpecialChar \menuseparator
16360 \begin_inset CommandInset ref
16362 reference "tab:colortblなしの表"
16366 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
16371 \begin_inset Index idx
16374 \begin_layout Plain Layout
16375 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
16383 \begin_layout Standard
16387 \begin_layout Plain Layout
16397 \begin_inset Note Note
16400 \begin_layout Plain Layout
16401 本節の以下の部分は、LaTeXパッケージ
16413 \begin_layout Standard
16414 色付きの表を作成するには、プリアンブルに
16417 \begin_layout Standard
16422 usepackage{colortbl}
16425 \begin_layout Standard
16430 を読み込まなくてはなりません。列の色は、
16437 \begin_layout Standard
16445 \begin_layout Standard
16446 というコマンドを書いて指定することができます。
16451 \begin_inset CommandInset ref
16453 reference "sub:連結列の計算"
16460 \begin_layout Standard
16461 以下の色彩名が事前に定義されています。
16464 \begin_layout Standard
16498 \begin_layout Standard
16499 \begin_inset VSpace medskip
16505 \begin_layout Standard
16508 If you add the options
16511 \begin_layout Standard
16514 usenames,dvipsnames
16517 \begin_layout Standard
16520 to the document class options in the document settings, you can additionally
16522 \begin_inset space ~
16526 These colors are listed in appendix
16527 \begin_inset space ~
16531 \begin_inset CommandInset ref
16533 reference "chap:List-of-dvips-colornames"
16538 One of these colors,
16542 , is used as example in Table
16545 \begin_inset space ~
16549 \begin_inset CommandInset ref
16551 reference "tab:色付き表"
16558 \begin_layout Standard
16559 \begin_inset VSpace medskip
16565 \begin_layout Standard
16569 \begin_layout Standard
16574 definecolor{色彩名}{色彩モデル}{色彩値}
16577 \begin_layout Standard
16578 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
16581 \begin_layout Labeling
16582 \labelwidthstring 00.00.0000
16602 \begin_layout Labeling
16603 \labelwidthstring 00.00.0000
16619 \begin_layout Labeling
16620 \labelwidthstring 00.00.0000
16624 \begin_layout Standard
16625 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
16628 \begin_layout Standard
16632 \begin_layout Standard
16637 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
16640 \begin_layout Standard
16648 \begin_layout Standard
16653 definecolor{lightgray}{gray}{0.8}
16656 \begin_layout Standard
16664 \begin_layout Standard
16665 \begin_inset VSpace medskip
16671 \begin_layout Standard
16675 \begin_layout Standard
16683 \begin_layout Standard
16684 というコマンドを使用して色付けすることができ、セルは
16687 \begin_layout Standard
16695 \begin_layout Standard
16696 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
16699 \begin_layout Standard
16700 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
16702 編集\SpecialChar \menuseparator
16705 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
16709 \begin_layout Standard
16710 \begin_inset Note Greyedout
16713 \begin_layout Plain Layout
16714 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
16722 \begin_layout Standard
16723 \begin_inset VSpace bigskip
16729 \begin_layout Standard
16731 \begin_inset CommandInset ref
16733 reference "tab:色付き表"
16737 を作成するには、以下のようにしてください。第一列の色は
16741 にしたいので、この列のLaTeX変数として
16744 \begin_layout Standard
16749 columncolor{darkgreen}
16754 \begin_layout Standard
16755 と書き込みます。第一列は青にしたいので、この列の最初のセルに
16758 \begin_layout Standard
16766 \begin_layout Standard
16767 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。
16769 The last cell of the last row is colored maroon by inserting the TeX-Code
16773 \begin_layout Standard
16781 \begin_layout Standard
16782 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
16784 編集\SpecialChar \menuseparator
16787 メニューを使って、各文字に色付けをすることができます。
16790 \begin_layout Standard
16791 \begin_inset Float table
16797 \begin_layout Plain Layout
16798 \begin_inset Caption Standard
16800 \begin_layout Plain Layout
16803 \begin_inset CommandInset label
16812 \begin_inset Argument 1
16815 \begin_layout Plain Layout
16829 \begin_layout Plain Layout
16831 \begin_inset Tabular
16832 <lyxtabular version="3" rows="3" columns="3">
16833 <features rotate="0" tabularvalignment="middle">
16834 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
16835 <column alignment="center" valignment="top" width="0">
16836 <column alignment="center" valignment="top" width="0">
16838 <cell alignment="center" valignment="top" usebox="none">
16841 \begin_layout Plain Layout
16845 \begin_layout Plain Layout
16861 <cell alignment="center" valignment="top" usebox="none">
16864 \begin_layout Plain Layout
16872 <cell alignment="center" valignment="top" usebox="none">
16875 \begin_layout Plain Layout
16885 <cell alignment="center" valignment="top" usebox="none">
16888 \begin_layout Plain Layout
16896 <cell alignment="center" valignment="top" usebox="none">
16899 \begin_layout Plain Layout
16907 <cell alignment="center" valignment="top" usebox="none">
16910 \begin_layout Plain Layout
16920 <cell alignment="center" valignment="top" usebox="none">
16923 \begin_layout Plain Layout
16931 <cell alignment="center" valignment="top" usebox="none">
16934 \begin_layout Plain Layout
16942 <cell alignment="center" valignment="top" usebox="none">
16945 \begin_layout Plain Layout
16949 \begin_layout Plain Layout
16978 \begin_layout Standard
16982 \begin_layout Plain Layout
16992 \begin_inset Note Note
16995 \begin_layout Plain Layout
17000 が導入されていないときに表示されます。
17008 \begin_layout Standard
17016 \begin_layout Standard
17020 \begin_layout Plain Layout
17032 \begin_layout Subsection
17036 \begin_inset Index idx
17039 \begin_layout Plain Layout
17042 Table Color ! for Rows
17048 \begin_inset Index idx
17051 \begin_layout Plain Layout
17054 Color ! for Table Rows
17062 \begin_layout Standard
17065 In case every second table row needs to be colored there is an alternative
17066 to the method described in the previous section: One loads the package
17073 \begin_inset Index idx
17076 \begin_layout Plain Layout
17077 LaTeXぱっけーじ@LaTeXパッケージ ! xcolor
17081 \begin_layout Plain Layout
17097 in the document preamble with the command
17100 \begin_layout Standard
17105 usepackage[table]{xcolor}
17108 \begin_layout Standard
17114 automatically loads also the package
17120 \begin_inset Index idx
17123 \begin_layout Plain Layout
17124 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
17135 must be installed in your LaTeX-distribution, otherwise you get LaTeX-errors.
17138 \begin_layout Standard
17142 \begin_layout Plain Layout
17152 \begin_inset Note Note
17155 \begin_layout Plain Layout
17156 本節の以下の部分は、LaTeXパッケージ
17168 \begin_layout Standard
17171 The table rows are colored with the command
17174 \begin_layout Standard
17180 rowcolors[commands]{row number}{odd row color}{even row color}
17183 \begin_layout Standard
17186 that is either inserted in the document preamble or as TeX-Code before the
17187 first table to be colored.
17189 \begin_inset space ~
17192 number is the number of the first row which should be colored according
17193 to the odd row color.
17194 commands can be additional commands that are executed before every table
17196 So for example the command
17199 \begin_layout Standard
17204 rowcolors{1}{white}{lightgray}
17207 \begin_layout Standard
17210 leads to the coloring scheme of Table
17211 \begin_inset space ~
17215 \begin_inset CommandInset ref
17217 reference "tab:Table-rowcolors"
17225 \begin_layout Standard
17232 hline]{1}{lightgray}{cyan}
17235 \begin_layout Standard
17238 leads to the coloring scheme of Table
17239 \begin_inset space ~
17243 \begin_inset CommandInset ref
17245 reference "tab:Table-rowcolors-2"
17251 \begin_inset space ~
17255 \begin_inset space ~
17259 \begin_inset space ~
17263 \begin_inset space ~
17266 color are left empty, no color will be used so that the command
17269 \begin_layout Standard
17277 \begin_layout Standard
17280 deletes all colors.
17287 affects all tables following that command.
17290 \begin_layout Standard
17294 \begin_layout Plain Layout
17298 rowcolors{1}{white}{lightgray}
17306 \begin_layout Standard
17307 \begin_inset Float table
17313 \begin_layout Plain Layout
17314 \begin_inset Caption Standard
17316 \begin_layout Plain Layout
17319 \begin_inset CommandInset label
17321 name "tab:Table-rowcolors"
17325 Table where every second row is colored light gray.
17333 \begin_layout Plain Layout
17335 \begin_inset Tabular
17336 <lyxtabular version="3" rows="4" columns="3">
17337 <features rotate="0" tabularvalignment="middle">
17338 <column alignment="center" valignment="top" width="0">
17339 <column alignment="center" valignment="top" width="0pt">
17340 <column alignment="center" valignment="top" width="0pt">
17342 <cell alignment="center" valignment="top" usebox="none">
17345 \begin_layout Plain Layout
17351 <cell alignment="center" valignment="top" usebox="none">
17354 \begin_layout Plain Layout
17360 <cell alignment="center" valignment="top" usebox="none">
17363 \begin_layout Plain Layout
17371 <cell alignment="center" valignment="top" usebox="none">
17374 \begin_layout Plain Layout
17380 <cell alignment="center" valignment="top" usebox="none">
17383 \begin_layout Plain Layout
17389 <cell alignment="center" valignment="top" usebox="none">
17392 \begin_layout Plain Layout
17400 <cell alignment="center" valignment="top" usebox="none">
17403 \begin_layout Plain Layout
17409 <cell alignment="center" valignment="top" usebox="none">
17412 \begin_layout Plain Layout
17418 <cell alignment="center" valignment="top" usebox="none">
17421 \begin_layout Plain Layout
17429 <cell alignment="center" valignment="top" usebox="none">
17432 \begin_layout Plain Layout
17438 <cell alignment="center" valignment="top" usebox="none">
17441 \begin_layout Plain Layout
17447 <cell alignment="center" valignment="top" usebox="none">
17450 \begin_layout Plain Layout
17469 \begin_layout Standard
17473 \begin_layout Plain Layout
17479 hline]{1}{lightgray}{cyan}
17487 \begin_layout Standard
17488 \begin_inset Float table
17494 \begin_layout Plain Layout
17495 \begin_inset Caption Standard
17497 \begin_layout Plain Layout
17500 \begin_inset CommandInset label
17502 name "tab:Table-rowcolors-2"
17506 Table where every second row is colored cyan and at which there is a line
17515 \begin_layout Plain Layout
17517 \begin_inset Tabular
17518 <lyxtabular version="3" rows="4" columns="3">
17519 <features rotate="0" tabularvalignment="middle">
17520 <column alignment="center" valignment="top" width="0">
17521 <column alignment="center" valignment="top" width="0">
17522 <column alignment="center" valignment="top" width="0pt">
17524 <cell alignment="center" valignment="top" usebox="none">
17527 \begin_layout Plain Layout
17533 <cell alignment="center" valignment="top" usebox="none">
17536 \begin_layout Plain Layout
17542 <cell alignment="center" valignment="top" usebox="none">
17545 \begin_layout Plain Layout
17553 <cell alignment="center" valignment="top" usebox="none">
17556 \begin_layout Plain Layout
17562 <cell alignment="center" valignment="top" usebox="none">
17565 \begin_layout Plain Layout
17571 <cell alignment="center" valignment="top" usebox="none">
17574 \begin_layout Plain Layout
17582 <cell alignment="center" valignment="top" usebox="none">
17585 \begin_layout Plain Layout
17591 <cell alignment="center" valignment="top" usebox="none">
17594 \begin_layout Plain Layout
17600 <cell alignment="center" valignment="top" usebox="none">
17603 \begin_layout Plain Layout
17611 <cell alignment="center" valignment="top" usebox="none">
17614 \begin_layout Plain Layout
17620 <cell alignment="center" valignment="top" usebox="none">
17623 \begin_layout Plain Layout
17629 <cell alignment="center" valignment="top" usebox="none">
17632 \begin_layout Plain Layout
17651 \begin_layout Standard
17655 \begin_layout Plain Layout
17665 \begin_inset Note Note
17668 \begin_layout Plain Layout
17671 turn off the row coloring
17679 \begin_layout Standard
17683 \begin_layout Plain Layout
17693 \begin_inset Note Note
17696 \begin_layout Plain Layout
17701 が導入されていないときに表示されます。
17709 \begin_layout Standard
17717 \begin_layout Standard
17721 \begin_layout Plain Layout
17733 \begin_layout Subsection
17735 \begin_inset Index idx
17738 \begin_layout Plain Layout
17739 ひょうのいろ@表の色 ! けいせんぶ@罫線部
17745 \begin_inset Index idx
17748 \begin_layout Plain Layout
17749 いろつき@色付き ! ひょうけいせんぶ@表罫線部
17757 \begin_layout Standard
17759 \begin_inset CommandInset ref
17761 reference "sub:罫線幅"
17765 節に述べられているように、表中の全罫線の線幅は、長さ
17771 を使って調節することができます。本節の表では、すべて1.5
17772 \begin_inset space \thinspace{}
17779 \begin_layout Plain Layout
17785 arrayrulewidth}{1.5pt}
17793 \begin_layout Standard
17795 \begin_inset CommandInset ref
17797 reference "sub:自製書式"
17801 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
17804 \begin_layout Standard
17809 newcolumntype{W}{!{
17816 \begin_layout Standard
17818 \begin_inset CommandInset ref
17820 reference "tab:色付き縦罫線の表"
17835 \begin_layout Standard
17836 複数の色を用いたいときには、列書式をもっと定義してください。
17839 \begin_layout Standard
17840 \begin_inset Float table
17846 \begin_layout Plain Layout
17847 \begin_inset Caption Standard
17849 \begin_layout Plain Layout
17850 \begin_inset CommandInset label
17852 name "tab:色付き縦罫線の表"
17864 \begin_layout Plain Layout
17866 \begin_inset Tabular
17867 <lyxtabular version="3" rows="3" columns="3">
17868 <features rotate="0" tabularvalignment="middle">
17869 <column alignment="center" valignment="top" width="0" special="Wc">
17870 <column alignment="center" valignment="top" width="0" special="Wc">
17871 <column alignment="center" valignment="top" width="0" special="WcW">
17873 <cell alignment="center" valignment="top" topline="true" usebox="none">
17876 \begin_layout Plain Layout
17882 <cell alignment="center" valignment="top" topline="true" usebox="none">
17885 \begin_layout Plain Layout
17891 <cell alignment="center" valignment="top" topline="true" usebox="none">
17894 \begin_layout Plain Layout
17902 <cell alignment="center" valignment="top" topline="true" usebox="none">
17905 \begin_layout Plain Layout
17911 <cell alignment="center" valignment="top" topline="true" usebox="none">
17914 \begin_layout Plain Layout
17920 <cell alignment="center" valignment="top" topline="true" usebox="none">
17923 \begin_layout Plain Layout
17931 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17934 \begin_layout Plain Layout
17940 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17943 \begin_layout Plain Layout
17949 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17952 \begin_layout Plain Layout
17971 \begin_layout Standard
17972 \begin_inset VSpace bigskip
17976 \begin_inset CommandInset ref
17978 reference "tab:色付き横罫線の表"
17982 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
17985 \begin_layout Standard
17995 \begin_inset Newline newline
18003 \begin_inset Newline newline
18007 \begin_inset Phantom HPhantom
18010 \begin_layout Plain Layout
18011 \begin_inset space ~
18021 arrayrulecolor{red}
18025 arrayrulecolor{black}}
18028 \begin_layout Standard
18032 \begin_layout Standard
18036 \begin_layout Plain Layout
18047 \begin_layout Plain Layout
18056 \begin_layout Plain Layout
18060 arrayrulecolor{red}
18064 arrayrulecolor{black}}
18070 \begin_inset Float table
18076 \begin_layout Plain Layout
18077 \begin_inset Caption Standard
18079 \begin_layout Plain Layout
18080 \begin_inset CommandInset label
18082 name "tab:色付き横罫線の表"
18094 \begin_layout Plain Layout
18096 \begin_inset Tabular
18097 <lyxtabular version="3" rows="3" columns="3">
18098 <features rotate="0" tabularvalignment="middle">
18099 <column alignment="center" valignment="top" width="0">
18100 <column alignment="center" valignment="top" width="0">
18101 <column alignment="center" valignment="top" width="0">
18103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18106 \begin_layout Plain Layout
18112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18115 \begin_layout Plain Layout
18121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18124 \begin_layout Plain Layout
18132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18135 \begin_layout Plain Layout
18141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18144 \begin_layout Plain Layout
18150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18153 \begin_layout Plain Layout
18161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18164 \begin_layout Plain Layout
18170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18173 \begin_layout Plain Layout
18179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18182 \begin_layout Plain Layout
18201 \begin_layout Standard
18205 \begin_layout Standard
18217 \begin_layout Standard
18218 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
18219 \begin_inset CommandInset ref
18221 reference "tab:色付き罫線の表"
18228 \begin_layout Standard
18229 \begin_inset Float table
18235 \begin_layout Plain Layout
18236 \begin_inset Caption Standard
18238 \begin_layout Plain Layout
18239 \begin_inset CommandInset label
18253 \begin_layout Plain Layout
18255 \begin_inset Tabular
18256 <lyxtabular version="3" rows="3" columns="3">
18257 <features rotate="0" tabularvalignment="middle">
18258 <column alignment="center" valignment="top" width="0" special="Wc">
18259 <column alignment="center" valignment="top" width="0" special="Wc">
18260 <column alignment="center" valignment="top" width="0" special="WcW">
18262 <cell alignment="center" valignment="top" topline="true" usebox="none">
18265 \begin_layout Plain Layout
18271 <cell alignment="center" valignment="top" topline="true" usebox="none">
18274 \begin_layout Plain Layout
18280 <cell alignment="center" valignment="top" topline="true" usebox="none">
18283 \begin_layout Plain Layout
18291 <cell alignment="center" valignment="top" topline="true" usebox="none">
18294 \begin_layout Plain Layout
18300 <cell alignment="center" valignment="top" topline="true" usebox="none">
18303 \begin_layout Plain Layout
18309 <cell alignment="center" valignment="top" topline="true" usebox="none">
18312 \begin_layout Plain Layout
18319 <row topspace="default">
18320 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18323 \begin_layout Plain Layout
18329 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18332 \begin_layout Plain Layout
18338 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18341 \begin_layout Plain Layout
18360 \begin_layout Standard
18364 \begin_layout Plain Layout
18380 \begin_layout Standard
18384 \begin_layout Plain Layout
18390 arrayrulewidth}{0.4pt}
18398 \begin_layout Section
18401 Rotated Table Cells
18404 \begin_inset CommandInset label
18406 name "sec:Rotated-Table-Cells"
18411 \begin_inset Index idx
18414 \begin_layout Plain Layout
18417 Table ! Rotated Cells
18423 \begin_inset Index idx
18426 \begin_layout Plain Layout
18437 \begin_layout Standard
18440 \begin_inset Note Greyedout
18443 \begin_layout Plain Layout
18449 Not all DVI-viewers are able to display rotations.
18457 \begin_layout Standard
18460 Currently LyX only offers to rotate table cells by 90
18461 \begin_inset space \thinspace{}
18464 ° counter-clockwise.
18465 To rotate cells by an angle of your choice, you have to add this to the
18469 \begin_layout Standard
18474 @ifundefined{turnbox}{
18476 usepackage{rotating}}{}
18479 \begin_layout Standard
18482 In the table cell that should be rotated, add at the beginning this command
18486 \begin_layout Standard
18495 \begin_layout Standard
18498 where angle is the rotation angle in °.
18499 At the end of the cell the command
18502 \begin_layout Standard
18510 \begin_layout Standard
18513 is inserted as TeX-code.
18516 \begin_layout Standard
18520 \begin_inset space ~
18524 \begin_inset CommandInset ref
18526 reference "tab:Table-with-rotated-multi"
18530 is an example where 3
18531 \begin_inset space ~
18534 cells were rotated by 45
18535 \begin_inset space \thinspace{}
18541 \begin_layout Standard
18544 \begin_inset Float table
18549 \begin_layout Plain Layout
18552 \begin_inset Caption Standard
18554 \begin_layout Plain Layout
18557 \begin_inset CommandInset label
18559 name "tab:Table-with-rotated"
18563 Table with rotated cells in the first row.
18571 \begin_layout Plain Layout
18576 \begin_inset Tabular
18577 <lyxtabular version="3" rows="2" columns="3">
18578 <features rotate="0" tabularvalignment="middle">
18579 <column alignment="center" valignment="top" width="0">
18580 <column alignment="center" valignment="top" width="0pt">
18581 <column alignment="center" valignment="top" width="0">
18583 <cell alignment="center" valignment="top" usebox="none">
18586 \begin_layout Plain Layout
18592 \begin_layout Plain Layout
18605 \begin_layout Plain Layout
18619 <cell alignment="center" valignment="top" usebox="none">
18622 \begin_layout Plain Layout
18628 \begin_layout Plain Layout
18641 \begin_layout Plain Layout
18655 <cell alignment="center" valignment="top" usebox="none">
18658 \begin_layout Plain Layout
18664 \begin_layout Plain Layout
18677 \begin_layout Plain Layout
18693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18696 \begin_layout Plain Layout
18704 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18707 \begin_layout Plain Layout
18715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18718 \begin_layout Plain Layout
18739 \begin_layout Standard
18742 \begin_inset Note Greyedout
18745 \begin_layout Plain Layout
18751 Line breaks (shortcut
18754 arg "newline-insert newline"
18757 ) are not allowed in rotated cells.
18765 \begin_layout Standard
18768 If you want to rotate table cells containing line breaks, you have to put
18769 the cell content into a minipage or a parbox.
18773 \begin_layout Plain Layout
18776 For more about these boxes see sec.
18779 \begin_inset space \thinspace{}
18783 \begin_inset CommandInset ref
18785 reference "sec:ミニページ"
18794 \begin_inset CommandInset ref
18796 reference "sec:Parbox"
18805 If you rotate this cell by 90
18806 \begin_inset space \thinspace{}
18809 ° the width of the box is the height of the cell.
18811 \begin_inset space ~
18815 \begin_inset CommandInset ref
18817 reference "tab:Table-with-rotated-multi"
18821 is an example for a rotated multiline cell where the box width was set
18823 \begin_inset space \thinspace{}
18829 \begin_layout Standard
18832 \begin_inset Float table
18837 \begin_layout Plain Layout
18840 \begin_inset Caption Standard
18842 \begin_layout Plain Layout
18845 \begin_inset CommandInset label
18847 name "tab:Table-with-rotated-multi"
18851 Table with rotated multiline cell.
18859 \begin_layout Plain Layout
18864 \begin_inset Tabular
18865 <lyxtabular version="3" rows="2" columns="3">
18866 <features rotate="0" tabularvalignment="middle">
18867 <column alignment="center" valignment="top" width="0">
18868 <column alignment="center" valignment="top" width="0pt">
18869 <column alignment="center" valignment="top" width="0">
18871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18874 \begin_layout Plain Layout
18882 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
18885 \begin_layout Plain Layout
18888 \begin_inset Box Frameless
18898 height_special "totalheight"
18901 \begin_layout Plain Layout
18905 \begin_inset Newline newline
18918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18921 \begin_layout Plain Layout
18931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18934 \begin_layout Plain Layout
18942 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18945 \begin_layout Plain Layout
18953 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18956 \begin_layout Plain Layout
18977 \begin_layout Section
18980 Table Width Calculation
18981 \begin_inset CommandInset label
18983 name "sec:Table-Width-Calculation"
18990 \begin_layout Standard
18993 For wide tables it is sometimes difficult to assure that the table does
18994 not protrude over the page margin.
18995 Setting a fixed width for every column of the table is the solution, but
18996 what amount of space is needed for each column?
18999 \begin_layout Standard
19003 \begin_inset Formula $W_{\mathrm{table}}$
19006 can be calculated: Every column has the width of the specified column width
19008 \begin_inset Formula $W_{\mathrm{column}}$
19011 (that the content of the column can consume) plus two times the separation
19012 between the column content and the column border (LaTeX length
19019 \begin_inset space \thinspace{}
19022 pt) plus the width of a border line (LaTeX length
19029 \begin_inset space \thinspace{}
19033 \begin_inset Formula $n$
19037 \begin_inset space ~
19040 columns have the same width, the table width is
19043 \begin_inset Formula
19045 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
19053 \begin_layout Standard
19056 The available width for a table is the space between the page margins or
19057 the width of a text column (for a two-column document) (LaTeX length
19064 If all table columns should have the same width and
19065 \begin_inset Formula $W_{\mathrm{table}}$
19069 \begin_inset space \thinspace{}
19075 \begin_inset Formula $W_{\mathrm{column}}$
19078 can easily be calculated.
19081 \begin_layout Standard
19084 To be able to perform calculations you need to load the LaTeX-package
19090 \begin_inset Index idx
19093 \begin_layout Plain Layout
19094 LaTeXぱっけーじ@LaTeXパッケージ ! calc
19101 in the document preamble.
19102 To set the width in the table dialog you have to use the field
19107 The command scheme for this field is the same that is explained in section
19108 \begin_inset space ~
19114 \begin_inset CommandInset ref
19116 reference "sub:連結列の計算"
19124 \begin_inset space \thinspace{}
19127 columns with an uniform width and centered text, enter there for each column
19131 \begin_layout Standard
19138 columnwidth-62.4pt)/5}
19141 \begin_layout Standard
19145 \begin_inset space \thinspace{}
19148 columns where 2 should have 0.75
19149 \begin_inset space ~
19152 times the width than the 3 others, the calculation is
19155 \begin_inset Formula
19157 \backslash\mbox{columnwidth} & =3\, W_{\mathrm{column}}+2\cdot0.75\, W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
19158 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
19159 & =4.5\, W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
19160 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
19168 \begin_layout Standard
19171 In the table therefore the command
19174 \begin_layout Standard
19181 columnwidth-62.4pt)/
19186 \begin_layout Standard
19189 is used for the wider columns and
19192 \begin_layout Standard
19199 columnwidth-62.4pt)/
19206 \begin_layout Standard
19209 for the smaller ones:
19212 \begin_layout Standard
19213 \begin_inset Tabular
19214 <lyxtabular version="3" rows="2" columns="5">
19215 <features rotate="0" tabularvalignment="middle">
19216 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
19217 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
19218 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
19219 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
19220 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
19222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19225 \begin_layout Plain Layout
19231 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19234 \begin_layout Plain Layout
19240 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19243 \begin_layout Plain Layout
19249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19252 \begin_layout Plain Layout
19258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19261 \begin_layout Plain Layout
19269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19272 \begin_layout Plain Layout
19273 111111 1111111 111111 111111111 11111 11111 1111
19278 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19281 \begin_layout Plain Layout
19287 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19290 \begin_layout Plain Layout
19291 2222 22222 222222 222222222 2222222 22 22222
19296 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19299 \begin_layout Plain Layout
19305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19308 \begin_layout Plain Layout
19309 333333 333333 333333 33333 3333333 333
19322 \begin_layout Section
19324 \begin_inset Index idx
19327 \begin_layout Plain Layout
19334 \begin_inset Index idx
19337 \begin_layout Plain Layout
19346 \begin_layout Subsection
19348 \begin_inset CommandInset label
19355 \begin_inset Index idx
19358 \begin_layout Plain Layout
19359 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
19367 \begin_layout Standard
19372 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
19375 \begin_layout Description
19376 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
19380 \begin_layout Plain Layout
19382 \begin_inset CommandInset ref
19384 reference "sec:フォーマル形式の表"
19394 \begin_inset space \thinspace{}
19397 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19398 \begin_inset VSpace medskip
19402 \begin_inset Newline newline
19406 \begin_inset space \hspace*{}
19411 \begin_inset space \hfill{}
19415 \begin_inset Tabular
19416 <lyxtabular version="3" rows="3" columns="1">
19417 <features rotate="0" tabularvalignment="middle">
19418 <column alignment="center" valignment="top" width="0">
19420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19423 \begin_layout Plain Layout
19430 <row topspace="3mm">
19431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19434 \begin_layout Plain Layout
19436 \begin_inset space \thinspace{}
19446 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19449 \begin_layout Plain Layout
19461 \begin_inset space \hfill{}
19465 \begin_inset space \hspace*{}
19470 \begin_inset VSpace medskip
19474 \begin_inset Newline newline
19477 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
19480 \begin_layout Description
19481 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19482 \begin_inset space \thinspace{}
19485 emの余白を挿入し、通常の表ならば既定値として2
19486 \begin_inset space \thinspace{}
19492 \begin_layout Description
19493 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19494 \begin_inset space \thinspace{}
19497 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19498 \begin_inset VSpace medskip
19502 \begin_inset Newline newline
19506 \begin_inset space \hspace*{}
19511 \begin_inset space \hfill{}
19515 \begin_inset Tabular
19516 <lyxtabular version="3" rows="3" columns="1">
19517 <features rotate="0" tabularvalignment="middle">
19518 <column alignment="center" valignment="top" width="0">
19520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19523 \begin_layout Plain Layout
19530 <row interlinespace="3mm">
19531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19534 \begin_layout Plain Layout
19535 \begin_inset Formula $\downarrow$
19539 \begin_inset space \thinspace{}
19543 \begin_inset Formula $\downarrow$
19553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19556 \begin_layout Plain Layout
19557 \begin_inset Formula $\uparrow$
19561 \begin_inset space \thinspace{}
19565 \begin_inset Formula $\uparrow$
19579 \begin_inset space \hfill{}
19583 \begin_inset space \hspace*{}
19588 \begin_inset VSpace medskip
19592 \begin_inset Newline newline
19595 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
19598 \begin_layout Standard
19599 \begin_inset VSpace bigskip
19602 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
19605 \begin_layout Standard
19610 @ifundefined{extrarowheight}
19611 \begin_inset Newline newline
19615 \begin_inset Phantom HPhantom
19618 \begin_layout Plain Layout
19619 \begin_inset space ~
19629 usepackage{array}}{}
19630 \begin_inset Newline newline
19637 extrarowheight}{height}
19640 \begin_layout Standard
19641 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
19645 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
19654 \begin_layout Standard
19655 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
19661 コマンドを挿入することで補正することができます。表
19662 \begin_inset CommandInset ref
19664 reference "tab:垂直揃え"
19671 \begin_layout Standard
19673 \begin_inset Float table
19679 \begin_layout Plain Layout
19680 \begin_inset Caption Standard
19682 \begin_layout Plain Layout
19683 \begin_inset CommandInset label
19697 \begin_layout Plain Layout
19698 \begin_inset space \hfill{}
19702 \begin_inset Float table
19707 \begin_layout Plain Layout
19708 \begin_inset Caption Standard
19710 \begin_layout Plain Layout
19719 \begin_layout Plain Layout
19722 \begin_inset Tabular
19723 <lyxtabular version="3" rows="6" columns="1">
19724 <features rotate="0" tabularvalignment="middle">
19725 <column alignment="left" valignment="top" width="0">
19727 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19730 \begin_layout Plain Layout
19738 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19741 \begin_layout Plain Layout
19751 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19754 \begin_layout Plain Layout
19764 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19767 \begin_layout Plain Layout
19777 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19780 \begin_layout Plain Layout
19790 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19793 \begin_layout Plain Layout
19812 \begin_inset space \hfill{}
19816 \begin_inset Float table
19821 \begin_layout Plain Layout
19822 \begin_inset Caption Standard
19824 \begin_layout Plain Layout
19839 \begin_layout Plain Layout
19842 \begin_inset Tabular
19843 <lyxtabular version="3" rows="6" columns="1">
19844 <features rotate="0" tabularvalignment="middle">
19845 <column alignment="left" valignment="top" width="0">
19847 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19850 \begin_layout Plain Layout
19858 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19861 \begin_layout Plain Layout
19867 \begin_layout Plain Layout
19883 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19886 \begin_layout Plain Layout
19892 \begin_layout Plain Layout
19908 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19911 \begin_layout Plain Layout
19917 \begin_layout Plain Layout
19933 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19936 \begin_layout Plain Layout
19942 \begin_layout Plain Layout
19958 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19961 \begin_layout Plain Layout
19967 \begin_layout Plain Layout
19992 \begin_inset space \hfill{}
20003 \begin_layout Subsection
20005 \begin_inset CommandInset label
20012 \begin_inset Index idx
20015 \begin_layout Plain Layout
20016 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
20024 \begin_layout Standard
20026 \begin_inset CommandInset ref
20028 reference "tab:表セル"
20032 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
20035 arg "inset-modify tabular align-decimal"
20045 \begin_layout Standard
20046 \begin_inset Float table
20052 \begin_layout Plain Layout
20053 \begin_inset Caption Standard
20055 \begin_layout Plain Layout
20056 \begin_inset CommandInset label
20070 \begin_layout Plain Layout
20072 \begin_inset Tabular
20073 <lyxtabular version="3" rows="4" columns="1">
20074 <features rotate="0" booktabs="true" tabularvalignment="middle">
20075 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
20077 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20080 \begin_layout Plain Layout
20088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20091 \begin_layout Plain Layout
20099 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20102 \begin_layout Plain Layout
20110 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20113 \begin_layout Plain Layout
20132 \begin_layout Standard
20133 \begin_inset Float table
20139 \begin_layout Plain Layout
20140 \begin_inset Caption Standard
20142 \begin_layout Plain Layout
20143 \begin_inset CommandInset label
20157 \begin_layout Plain Layout
20159 \begin_inset Tabular
20160 <lyxtabular version="3" rows="4" columns="2">
20161 <features rotate="0" booktabs="true" tabularvalignment="middle">
20162 <column alignment="right" valignment="top" width="0pt">
20163 <column alignment="left" valignment="top" width="0pt" special="@{}l">
20165 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
20168 \begin_layout Plain Layout
20174 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20177 \begin_layout Plain Layout
20185 <cell alignment="center" valignment="top" usebox="none">
20188 \begin_layout Plain Layout
20189 \begin_inset Formula $12\,+$
20197 <cell alignment="center" valignment="top" usebox="none">
20200 \begin_layout Plain Layout
20201 \begin_inset Formula $\,6$
20211 <cell alignment="center" valignment="top" usebox="none">
20214 \begin_layout Plain Layout
20215 \begin_inset Formula $0\,-$
20223 <cell alignment="center" valignment="top" usebox="none">
20226 \begin_layout Plain Layout
20227 \begin_inset Formula $\,68$
20237 <cell alignment="center" valignment="top" usebox="none">
20240 \begin_layout Plain Layout
20241 \begin_inset Formula $-123\,/$
20249 <cell alignment="center" valignment="top" usebox="none">
20252 \begin_layout Plain Layout
20253 \begin_inset Formula $\,0$
20274 \begin_layout Standard
20275 揃え文字を指定するフィールドには、数式を用いることができないので、この方法を使って、数式中の文字で揃えることはできません。このような場合には、表
20276 \begin_inset CommandInset ref
20278 reference "tab:演算子揃え表"
20282 のような方法を用いる必要があります。この表は、4×2表として作成されており、見出しは中央揃え連結列です。第1列には、右揃えで演算子を含む前半部を収め、第2列には
20283 、左揃えで残りを収めます。演算子の周りに通常加えられる空白を得るために、第2列の各セルの冒頭には、小空白が加えられています。通常、表の列間に加えられる余白を削る
20287 \begin_layout Standard
20293 \begin_layout Standard
20294 というLaTeX引数を第2列に指定します。
20297 \begin_layout Standard
20299 \begin_inset CommandInset ref
20301 reference "tab:表セル揃え"
20305 は、揃え方の例をいくつか示しています。関係子で揃えるために、表
20306 \begin_inset CommandInset ref
20308 reference "tab:演算子揃え表"
20312 の冒頭には、小空白が加えられています。
20315 \begin_layout Standard
20316 \begin_inset Float table
20321 \begin_layout Plain Layout
20322 \begin_inset Caption Standard
20324 \begin_layout Plain Layout
20325 \begin_inset CommandInset label
20339 \begin_layout Plain Layout
20341 \begin_inset Tabular
20342 <lyxtabular version="3" rows="4" columns="6">
20343 <features rotate="0" tabularvalignment="middle">
20344 <column alignment="right" valignment="top" width="0">
20345 <column alignment="left" valignment="top" width="0" special="@{}l">
20346 <column alignment="right" valignment="top" width="0">
20347 <column alignment="left" valignment="top" width="0" special="@{}l">
20348 <column alignment="right" valignment="top" width="0">
20349 <column alignment="left" valignment="top" width="0" special="@{}l">
20351 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20354 \begin_layout Plain Layout
20360 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20363 \begin_layout Plain Layout
20369 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20372 \begin_layout Plain Layout
20378 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20381 \begin_layout Plain Layout
20387 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
20390 \begin_layout Plain Layout
20396 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20399 \begin_layout Plain Layout
20407 <cell alignment="center" valignment="top" usebox="none">
20410 \begin_layout Plain Layout
20416 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20419 \begin_layout Plain Layout
20425 <cell alignment="center" valignment="top" usebox="none">
20428 \begin_layout Plain Layout
20429 \begin_inset Formula $10\cdot$
20437 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20440 \begin_layout Plain Layout
20441 \begin_inset Formula $10^{\mbox{-}17}$
20449 <cell alignment="center" valignment="top" usebox="none">
20452 \begin_layout Plain Layout
20453 \begin_inset Formula $\Gamma(t)\propto$
20461 <cell alignment="center" valignment="top" usebox="none">
20464 \begin_layout Plain Layout
20465 \begin_inset Formula $\:\Upsilon(t)$
20475 <cell alignment="center" valignment="top" usebox="none">
20478 \begin_layout Plain Layout
20484 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20487 \begin_layout Plain Layout
20493 <cell alignment="center" valignment="top" usebox="none">
20496 \begin_layout Plain Layout
20497 \begin_inset Formula $5.78\cdot$
20505 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20508 \begin_layout Plain Layout
20509 \begin_inset Formula $10^{7}$
20517 <cell alignment="center" valignment="top" usebox="none">
20520 \begin_layout Plain Layout
20521 \begin_inset Formula $A\ne$
20529 <cell alignment="center" valignment="top" usebox="none">
20532 \begin_layout Plain Layout
20533 \begin_inset Formula $\: B_{\mathrm{red}}$
20543 <cell alignment="center" valignment="top" usebox="none">
20546 \begin_layout Plain Layout
20552 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20555 \begin_layout Plain Layout
20557 \begin_inset space \thinspace{}
20565 <cell alignment="center" valignment="top" usebox="none">
20568 \begin_layout Plain Layout
20570 \begin_inset Formula $33.5\cdot$
20578 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20581 \begin_layout Plain Layout
20582 \begin_inset Formula $10^{4}$
20590 <cell alignment="center" valignment="top" usebox="none">
20593 \begin_layout Plain Layout
20594 \begin_inset Formula $\sin(\alpha)\ge$
20602 <cell alignment="center" valignment="top" usebox="none">
20605 \begin_layout Plain Layout
20606 \begin_inset Formula $\:\sin(\beta)$
20627 \begin_layout Subsection
20629 \begin_inset CommandInset label
20636 \begin_inset Index idx
20639 \begin_layout Plain Layout
20640 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
20648 \begin_layout Standard
20651 Calculating the required width for normal columns as described in section
20652 \begin_inset space ~
20656 \begin_inset CommandInset ref
20658 reference "sec:Table-Width-Calculation"
20662 or for spanned columns as described in section
20663 \begin_inset space ~
20669 \begin_inset CommandInset ref
20671 reference "sub:連結列の計算"
20677 is very annoying if you have several tables where a calculation is necessary.
20680 そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のすべての表で使うことができます。書式は、以下のように定義します。
20683 \begin_layout Standard
20688 newcolumntype{書式名}[引数の数]{コマンド}
20691 \begin_layout Standard
20716 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
20719 \begin_layout Standard
20720 \begin_inset VSpace medskip
20726 \begin_layout Standard
20727 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
20730 \begin_layout Standard
20735 newcolumntype{M}[1]{>{
20742 \begin_layout Standard
20750 \begin_inset CommandInset ref
20752 reference "sub:複数行"
20756 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
20759 \begin_layout Standard
20765 \begin_layout Standard
20769 \begin_layout Standard
20770 \begin_inset VSpace bigskip
20776 \begin_layout Standard
20777 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
20780 \begin_layout Standard
20785 newcolumntype{S}[2]{>{
20790 \begin_inset Newline newline
20794 \begin_inset Phantom HPhantom
20797 \begin_layout Plain Layout
20811 arrayrulewidth)*(1-#2))/#2}}
20814 \begin_layout Standard
20815 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
20816 \begin_inset CommandInset ref
20825 \begin_layout Standard
20826 こうしておけば、当該セルのLaTeX引数に
20829 \begin_layout Standard
20832 S{連結列セルの幅}{連結列セルがまたがる列の数}
20835 \begin_layout Standard
20839 \begin_layout Standard
20840 \begin_inset VSpace bigskip
20846 \begin_layout Standard
20847 色付き列については、以下のように定義するとよいでしょう。
20850 \begin_layout Standard
20855 newcolumntype{K}[1]{>{
20862 \begin_layout Standard
20863 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
20866 \begin_layout Standard
20872 \begin_layout Standard
20876 \begin_layout Standard
20877 \begin_inset VSpace bigskip
20883 \begin_layout Standard
20885 \begin_inset CommandInset ref
20887 reference "tab:ユーザー定義の表書式"
20891 を生成するには、第1列と連結列にLaTeX引数として
20894 \begin_layout Standard
20900 \begin_layout Standard
20904 \begin_layout Standard
20910 \begin_layout Standard
20914 \begin_layout Standard
20920 \begin_layout Standard
20924 \begin_layout Standard
20925 \begin_inset Float table
20931 \begin_layout Plain Layout
20932 \begin_inset Caption Standard
20934 \begin_layout Plain Layout
20935 \begin_inset CommandInset label
20937 name "tab:ユーザー定義の表書式"
20949 \begin_layout Plain Layout
20951 \begin_inset Tabular
20952 <lyxtabular version="3" rows="3" columns="4">
20953 <features rotate="0" tabularvalignment="middle">
20954 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
20955 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
20956 <column alignment="center" valignment="middle" width="0">
20957 <column alignment="center" valignment="middle" width="0" special="K{red}">
20959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20962 \begin_layout Plain Layout
20968 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
20971 \begin_layout Plain Layout
20977 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20980 \begin_layout Plain Layout
20986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20989 \begin_layout Plain Layout
20997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21000 \begin_layout Plain Layout
21006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21009 \begin_layout Plain Layout
21015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21018 \begin_layout Plain Layout
21024 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21027 \begin_layout Plain Layout
21035 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21038 \begin_layout Plain Layout
21044 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21047 \begin_layout Plain Layout
21053 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21056 \begin_layout Plain Layout
21062 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21065 \begin_layout Plain Layout
21084 \begin_layout Subsection
21086 \begin_inset CommandInset label
21093 \begin_inset Index idx
21096 \begin_layout Plain Layout
21097 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
21105 \begin_layout Standard
21106 表中のすべての罫線の罫線幅を調整するには、長さ
21113 \begin_inset CommandInset ref
21115 reference "tab:Table-with-1.5"
21120 \begin_inset space \thinspace{}
21123 ptにするには、表や表フロートの前にTeXコードで
21126 \begin_layout Standard
21133 arrayrulewidth}{1.5pt}
21136 \begin_layout Standard
21137 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
21144 \begin_inset space \thinspace{}
21150 \begin_layout Standard
21154 \begin_layout Plain Layout
21160 arrayrulewidth}{1.5pt}
21166 \begin_inset Float table
21171 \begin_layout Plain Layout
21172 \begin_inset Caption Standard
21174 \begin_layout Plain Layout
21175 \begin_inset CommandInset label
21177 name "tab:Table-with-1.5"
21182 \begin_inset space \thinspace{}
21193 \begin_layout Plain Layout
21195 \begin_inset Tabular
21196 <lyxtabular version="3" rows="3" columns="3">
21197 <features rotate="0" tabularvalignment="middle">
21198 <column alignment="center" valignment="top" width="0">
21199 <column alignment="center" valignment="top" width="0">
21200 <column alignment="center" valignment="top" width="0">
21202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21205 \begin_layout Plain Layout
21211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21214 \begin_layout Plain Layout
21220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21223 \begin_layout Plain Layout
21231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21234 \begin_layout Plain Layout
21240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21243 \begin_layout Plain Layout
21249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21252 \begin_layout Plain Layout
21260 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21263 \begin_layout Plain Layout
21269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21272 \begin_layout Plain Layout
21278 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21281 \begin_layout Plain Layout
21301 \begin_layout Plain Layout
21307 arrayrulewidth}{0.4pt}
21315 \begin_layout Standard
21316 \begin_inset VSpace bigskip
21320 \begin_inset CommandInset ref
21322 reference "tab:1.5pt幅横罫"
21327 \begin_inset space \thinspace{}
21330 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
21333 \begin_layout Standard
21343 \begin_inset Newline newline
21351 \begin_inset Newline newline
21360 arrayrulewidth 1.5pt}
21361 \begin_inset Newline newline
21372 arrayrulewidth 0.4pt}}
21375 \begin_layout Standard
21376 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
21379 \begin_layout Standard
21391 \begin_layout Standard
21395 \begin_layout Plain Layout
21406 \begin_layout Plain Layout
21415 \begin_layout Plain Layout
21423 arrayrulewidth 1.5pt}
21426 \begin_layout Plain Layout
21436 arrayrulewidth 0.4pt}}
21442 \begin_inset Float table
21447 \begin_layout Plain Layout
21448 \begin_inset Caption Standard
21450 \begin_layout Plain Layout
21451 \begin_inset CommandInset label
21453 name "tab:1.5pt幅横罫"
21458 \begin_inset space \thinspace{}
21469 \begin_layout Plain Layout
21471 \begin_inset Tabular
21472 <lyxtabular version="3" rows="3" columns="3">
21473 <features rotate="0" tabularvalignment="middle">
21474 <column alignment="center" valignment="top" width="0">
21475 <column alignment="center" valignment="top" width="0">
21476 <column alignment="center" valignment="top" width="0">
21478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21481 \begin_layout Plain Layout
21487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21490 \begin_layout Plain Layout
21496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21499 \begin_layout Plain Layout
21507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21510 \begin_layout Plain Layout
21516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21519 \begin_layout Plain Layout
21525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21528 \begin_layout Plain Layout
21536 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21539 \begin_layout Plain Layout
21545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21548 \begin_layout Plain Layout
21554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21557 \begin_layout Plain Layout
21577 \begin_layout Plain Layout
21593 \begin_layout Standard
21594 \begin_inset VSpace bigskip
21598 \begin_inset space \thinspace{}
21602 \begin_inset CommandInset ref
21604 reference "sub:自製書式"
21608 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
21611 \begin_layout Standard
21616 newcolumntype{V}{!{
21618 vrule width 1.5pt}}
21621 \begin_layout Standard
21623 \begin_inset CommandInset ref
21625 reference "tab:1.5pt幅縦罫"
21632 \begin_layout Standard
21638 \begin_layout Standard
21642 \begin_layout Standard
21648 \begin_layout Standard
21652 \begin_layout Standard
21653 \begin_inset Float table
21658 \begin_layout Plain Layout
21659 \begin_inset Caption Standard
21661 \begin_layout Plain Layout
21662 \begin_inset CommandInset label
21664 name "tab:1.5pt幅縦罫"
21669 \begin_inset space \thinspace{}
21680 \begin_layout Plain Layout
21682 \begin_inset Tabular
21683 <lyxtabular version="3" rows="3" columns="3">
21684 <features rotate="0" tabularvalignment="middle">
21685 <column alignment="center" valignment="top" width="0" special="Vc">
21686 <column alignment="center" valignment="top" width="0" special="Vc">
21687 <column alignment="center" valignment="top" width="0" special="VcV">
21689 <cell alignment="center" valignment="top" topline="true" usebox="none">
21692 \begin_layout Plain Layout
21698 <cell alignment="center" valignment="top" topline="true" usebox="none">
21701 \begin_layout Plain Layout
21707 <cell alignment="center" valignment="top" topline="true" usebox="none">
21710 \begin_layout Plain Layout
21718 <cell alignment="center" valignment="top" topline="true" usebox="none">
21721 \begin_layout Plain Layout
21727 <cell alignment="center" valignment="top" topline="true" usebox="none">
21730 \begin_layout Plain Layout
21736 <cell alignment="center" valignment="top" topline="true" usebox="none">
21739 \begin_layout Plain Layout
21747 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21750 \begin_layout Plain Layout
21756 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21759 \begin_layout Plain Layout
21765 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21768 \begin_layout Plain Layout
21787 \begin_layout Subsection
21789 \begin_inset Index idx
21792 \begin_layout Plain Layout
21793 ひょうのちょうせい@表の調整 ! てんけい@点罫
21801 \begin_layout Standard
21805 \begin_layout Plain Layout
21815 \begin_inset Note Note
21818 \begin_layout Plain Layout
21831 \begin_layout Standard
21832 \begin_inset Float table
21838 \begin_layout Plain Layout
21839 \begin_inset Caption Standard
21841 \begin_layout Plain Layout
21842 \begin_inset CommandInset label
21856 \begin_layout Plain Layout
21858 \begin_inset Tabular
21859 <lyxtabular version="3" rows="5" columns="5">
21860 <features rotate="0" tabularvalignment="middle">
21861 <column alignment="center" valignment="top" width="0">
21862 <column alignment="center" valignment="top" width="0">
21863 <column alignment="center" valignment="top" width="0" special=":c">
21864 <column alignment="center" valignment="top" width="0">
21865 <column alignment="center" valignment="top" width="0">
21867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21870 \begin_layout Plain Layout
21876 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21879 \begin_layout Plain Layout
21885 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21888 \begin_layout Plain Layout
21894 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21897 \begin_layout Plain Layout
21903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21906 \begin_layout Plain Layout
21914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21917 \begin_layout Plain Layout
21923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21926 \begin_layout Plain Layout
21932 <cell alignment="center" valignment="top" topline="true" usebox="none">
21935 \begin_layout Plain Layout
21941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21944 \begin_layout Plain Layout
21950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21953 \begin_layout Plain Layout
21961 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21964 \begin_layout Plain Layout
21968 \begin_layout Plain Layout
21982 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21985 \begin_layout Plain Layout
21991 <cell alignment="center" valignment="top" usebox="none">
21994 \begin_layout Plain Layout
22000 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22003 \begin_layout Plain Layout
22009 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22012 \begin_layout Plain Layout
22020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22023 \begin_layout Plain Layout
22027 \begin_layout Plain Layout
22041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22044 \begin_layout Plain Layout
22050 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
22053 \begin_layout Plain Layout
22059 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22062 \begin_layout Plain Layout
22068 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22071 \begin_layout Plain Layout
22079 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22082 \begin_layout Plain Layout
22088 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22091 \begin_layout Plain Layout
22097 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
22100 \begin_layout Plain Layout
22106 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22109 \begin_layout Plain Layout
22115 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22118 \begin_layout Plain Layout
22137 \begin_layout Standard
22138 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
22141 \begin_layout Standard
22146 usepackage{arydshln}
22149 \begin_layout Standard
22150 というコマンドを書き、LaTeXパッケージの
22155 \begin_inset Index idx
22158 \begin_layout Plain Layout
22159 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
22164 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
22167 \begin_layout Standard
22168 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
22171 \begin_layout Standard
22179 \begin_layout Standard
22183 \begin_layout Standard
22184 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
22187 \begin_layout Standard
22197 \begin_layout Standard
22198 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
22201 \begin_layout Standard
22209 \begin_layout Standard
22213 \begin_layout Standard
22214 \begin_inset VSpace bigskip
22220 \begin_layout Standard
22222 \begin_inset CommandInset ref
22224 reference "tab:点罫表"
22228 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
22234 が挿れられており、第3行の最初のセルには、TeXコードのコマンド
22235 \begin_inset Newline newline
22247 \begin_layout Standard
22248 \begin_inset VSpace bigskip
22254 \begin_layout Standard
22257 Tables with dashed lines can also be colored as shown by Table
22260 \begin_inset space ~
22264 \begin_inset CommandInset ref
22266 reference "tab:Colored-table-with"
22273 \begin_layout Standard
22277 \begin_layout Plain Layout
22283 arrayrulewidth}{1pt}
22291 \begin_inset Note Note
22294 \begin_layout Plain Layout
22297 thicker lines for better visualization of the line color
22305 \begin_layout Standard
22309 \begin_layout Plain Layout
22313 dashgapcolor{green}
22321 \begin_inset Note Note
22324 \begin_layout Plain Layout
22327 color gaps between dashes green
22335 \begin_layout Standard
22339 \begin_layout Plain Layout
22350 \begin_layout Plain Layout
22359 \begin_layout Plain Layout
22363 arrayrulecolor{red}
22367 arrayrulecolor{black}}
22375 \begin_inset Note Note
22378 \begin_layout Plain Layout
22381 color horizontal, dashed lines red
22389 \begin_layout Standard
22393 \begin_layout Plain Layout
22404 \begin_layout Plain Layout
22413 \begin_layout Plain Layout
22417 arrayrulecolor{yellow}
22421 arrayrulecolor{black}}
22429 \begin_inset Note Note
22432 \begin_layout Plain Layout
22435 color partial horizontal, dashed lines yellow
22443 \begin_layout Standard
22444 \begin_inset Float table
22450 \begin_layout Plain Layout
22451 \begin_inset Caption Standard
22453 \begin_layout Plain Layout
22454 \begin_inset CommandInset label
22456 name "tab:Colored-table-with"
22462 Colored table with dashed lines
22470 \begin_layout Plain Layout
22472 \begin_inset Tabular
22473 <lyxtabular version="3" rows="5" columns="5">
22474 <features rotate="0" tabularvalignment="middle">
22475 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
22476 <column alignment="center" valignment="top" width="0pt">
22477 <column alignment="center" valignment="top" width="0pt" special=":c">
22478 <column alignment="center" valignment="top" width="0">
22479 <column alignment="center" valignment="top" width="0">
22481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22484 \begin_layout Plain Layout
22490 <cell alignment="center" valignment="top" topline="true" usebox="none">
22493 \begin_layout Plain Layout
22499 <cell alignment="center" valignment="top" topline="true" usebox="none">
22502 \begin_layout Plain Layout
22508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22511 \begin_layout Plain Layout
22517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22520 \begin_layout Plain Layout
22528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22531 \begin_layout Plain Layout
22537 <cell alignment="center" valignment="top" topline="true" usebox="none">
22540 \begin_layout Plain Layout
22546 <cell alignment="center" valignment="top" topline="true" usebox="none">
22549 \begin_layout Plain Layout
22555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22558 \begin_layout Plain Layout
22564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22567 \begin_layout Plain Layout
22575 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22578 \begin_layout Plain Layout
22582 \begin_layout Plain Layout
22595 \begin_layout Plain Layout
22609 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22612 \begin_layout Plain Layout
22618 <cell alignment="center" valignment="top" usebox="none">
22621 \begin_layout Plain Layout
22627 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22630 \begin_layout Plain Layout
22636 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22639 \begin_layout Plain Layout
22647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22650 \begin_layout Plain Layout
22654 \begin_layout Plain Layout
22668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22671 \begin_layout Plain Layout
22677 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
22680 \begin_layout Plain Layout
22686 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22689 \begin_layout Plain Layout
22695 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22698 \begin_layout Plain Layout
22706 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22709 \begin_layout Plain Layout
22715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22718 \begin_layout Plain Layout
22724 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
22727 \begin_layout Plain Layout
22733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22736 \begin_layout Plain Layout
22742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22745 \begin_layout Plain Layout
22749 \begin_layout Plain Layout
22776 \begin_layout Standard
22780 \begin_layout Plain Layout
22796 \begin_inset Note Note
22799 \begin_layout Plain Layout
22810 \begin_layout Standard
22814 \begin_layout Plain Layout
22830 \begin_inset Note Note
22833 \begin_layout Plain Layout
22844 \begin_layout Standard
22848 \begin_layout Plain Layout
22860 \begin_inset Note Note
22863 \begin_layout Plain Layout
22874 \begin_layout Standard
22878 \begin_layout Plain Layout
22884 arrayrulewidth}{0.4pt}
22892 \begin_inset Note Note
22895 \begin_layout Plain Layout
22906 \begin_layout Standard
22909 The coloring of lines, columns and lines works as decribed in section
22910 \begin_inset space ~
22916 \begin_inset CommandInset ref
22918 reference "sec:色付きの表"
22925 Coloring horizontal lines works analogically as described there as well,
22926 one only needs to replace in the commands
22950 ; so one uses the command
22953 \begin_layout Standard
22963 \begin_inset Newline newline
22971 \begin_inset Newline newline
22975 \begin_inset Phantom HPhantom
22978 \begin_layout Plain Layout
22979 \begin_inset space ~
22989 arrayrulecolor{red}
22993 arrayrulecolor{black}}
22996 \begin_layout Standard
23008 \begin_layout Standard
23018 \begin_inset Newline newline
23026 \begin_inset Newline newline
23030 \begin_inset Phantom HPhantom
23033 \begin_layout Plain Layout
23034 \begin_inset space ~
23044 arrayrulecolor{red}
23048 arrayrulecolor{black}}
23051 \begin_layout Standard
23054 To get back the black line color, one needs to insert the following commands
23055 as TeX-Code behind the table:
23058 \begin_layout Standard
23068 \begin_layout Standard
23080 \begin_layout Standard
23090 \begin_layout Standard
23102 \begin_layout Standard
23105 To color the gaps between the dashes the command
23108 \begin_layout Standard
23114 dashgapcolor{color}
23117 \begin_layout Standard
23120 can be used in front of a table as TeX-Code.
23121 color is hereby the name of a defined color.
23125 \begin_layout Standard
23133 \begin_layout Standard
23136 unsets the changes made by
23145 \begin_layout Standard
23148 \begin_inset Note Greyedout
23151 \begin_layout Plain Layout
23158 : If there are multiple commands in a cell, the command of
23162 needs to be the first one in the cell.
23168 \begin_inset space ~
23172 \begin_inset CommandInset ref
23174 reference "tab:Colored-table-with"
23198 \begin_layout Standard
23201 \begin_inset Note Greyedout
23204 \begin_layout Plain Layout
23215 must be loaded in the document preamble before the LaTeX-package
23223 \begin_inset Index idx
23226 \begin_layout Plain Layout
23227 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
23242 \begin_layout Standard
23246 \begin_layout Plain Layout
23256 \begin_inset Note Note
23259 \begin_layout Plain Layout
23272 \begin_layout Standard
23277 パッケージを導入しなくてはなりません。
23280 \begin_layout Standard
23284 \begin_layout Plain Layout
23296 \begin_layout Standard
23299 For more information about dashed lines see the documentation of
23306 \begin_inset CommandInset citation
23315 \begin_layout Chapter
23317 \begin_inset CommandInset label
23324 \begin_inset Index idx
23327 \begin_layout Plain Layout
23336 \begin_layout Section
23338 \begin_inset CommandInset label
23340 name "sec:フロートはじめに"
23345 \begin_inset Index idx
23348 \begin_layout Plain Layout
23357 \begin_layout Standard
23358 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
23367 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
23370 \begin_layout Standard
23371 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
23372 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
23373 ートには連番が割り当てられます。参照については、第
23374 \begin_inset CommandInset ref
23376 reference "sec:フロートの参照"
23383 \begin_layout Standard
23386 挿入\SpecialChar \menuseparator
23389 メニューを使えば、ラベルのついたボックスすなわち
23400 arg "float-insert figure"
23410 arg "float-insert table"
23413 )。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプションの上ないし下に別
23414 の段落として挿入します。キャプションの配置に関して詳しくは、第
23415 \begin_inset CommandInset ref
23417 reference "sec:キャプションの配置"
23421 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
23423 \begin_inset Graphics
23424 filename clipart/floatQt4.png
23426 scaleBeforeRotation
23430 のように、灰色ボタンに赤字ラベルで表示されます。
23433 \begin_layout Standard
23434 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
23437 \begin_layout Standard
23438 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
23441 \begin_layout Section
23445 \begin_layout Standard
23447 \begin_inset CommandInset ref
23449 reference "sec:図フロート"
23454 \begin_inset CommandInset ref
23456 reference "sec:表フロート"
23460 節で各々説明されている図フロートと表フロート以外に、
23470 The latter are explained in sec.
23473 \begin_inset space \thinspace{}
23477 \begin_inset CommandInset ref
23479 reference "sec:折返しフロート"
23486 \begin_layout Subsection
23488 \begin_inset Index idx
23491 \begin_layout Plain Layout
23492 ふろーと@フロート ! あるごりずむ@アルゴリズム
23500 \begin_layout Standard
23501 \begin_inset Float algorithm
23507 \begin_layout Plain Layout
23508 \begin_inset Caption Standard
23510 \begin_layout Plain Layout
23511 \begin_inset CommandInset label
23513 name "alg:アルゴリズムフロートの例"
23525 \begin_layout LyX-Code
23527 \begin_inset Newline newline
23530 Sum:= Sum + A(I); /*comment*/
23531 \begin_inset Newline newline
23535 \begin_inset VSpace -4mm
23546 \begin_layout Standard
23551 \SpecialChar \menuseparator
23552 フロート\SpecialChar \menuseparator
23556 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
23557 \begin_inset CommandInset ref
23559 reference "cha:プログラムコードリスト"
23563 章で説明されているプログラムコードリストの代わりとみなすことができます。
23567 に述べられているように、アルゴリズム向けの環境としては、
23572 \begin_inset CommandInset ref
23574 reference "alg:アルゴリズムフロートの例"
23578 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
23579 \begin_inset space \thinspace{}
23585 \begin_layout Standard
23586 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
23589 \begin_layout Standard
23594 floatname{algorithm}{付けたい名称}
23597 \begin_layout Standard
23598 という行を手動で加える必要があります。ここで
23611 \begin_layout Standard
23612 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
23614 挿入\SpecialChar \menuseparator
23615 一覧/目次\SpecialChar \menuseparator
23618 メニューを使用します。それ以外の場合には、代わりに
23621 \begin_layout Standard
23626 listof{algorithm}{付けたい名称}
23629 \begin_layout Standard
23630 というコマンドをTeXコードとして用います。ここで
23638 s」という単語に相当する、ご使用になりたい言語での単語です。
23641 \begin_layout Standard
23642 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
23643 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
23646 \begin_layout Standard
23651 numberwithin{algorithm}{chapter}
23654 \begin_layout Standard
23661 というコマンドを使用するには、文書設定の
23672 \begin_layout Section
23674 \begin_inset Index idx
23677 \begin_layout Plain Layout
23678 ふろーと@フロート ! れんばん@連番
23686 \begin_layout Standard
23687 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
23691 \begin_layout Standard
23692 節から独立して付けられている連番を変更するには、文書プリアンブルで
23695 \begin_layout Standard
23707 \begin_layout Standard
23714 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
23720 コマンドを使用します。上のコマンドで使用されている
23726 は、表番号を小文字のローマ数字で印字するコマンドです。
23729 \begin_layout Standard
23730 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
23733 \begin_layout Standard
23738 numberwithin{table}{subsection}
23741 \begin_layout Standard
23748 コマンドを使用可能にするためには、文書設定の
23755 \begin_inset space ~
23763 \begin_layout Standard
23764 連番コマンドについての詳細と大切な注意点については、第
23765 \begin_inset CommandInset ref
23767 reference "sub:脚注の付番"
23774 \begin_layout Section
23776 \begin_inset CommandInset label
23783 \begin_inset Index idx
23786 \begin_layout Plain Layout
23787 ふろーと@フロート ! さんしょう@参照
23793 \begin_inset Index idx
23796 \begin_layout Plain Layout
23797 さんしょう@参照 ! ふろーとにたいする@フロートに対する
23805 \begin_layout Standard
23808 挿入\SpecialChar \menuseparator
23811 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
23812 \begin_inset Graphics
23813 filename ../clipart/labelQt4.png
23815 scaleBeforeRotation
23819 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
23820 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
23827 \begin_layout Standard
23828 ラベルは、参照のための名称兼位置標として用いられます。
23830 挿入\SpecialChar \menuseparator
23836 arg "dialog-show-new-inset ref"
23839 を使えば、ラベルを参照することができます。
23840 \begin_inset Graphics
23841 filename clipart/referenceQt4.png
23843 scaleBeforeRotation
23847 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
23848 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
23852 \begin_layout Standard
23853 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
23854 出力では、参照の代わりに二つの疑問符が表示されることになります。
23857 \begin_layout Standard
23858 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
23859 で、リンクの更新に手間を割く必要はありません。
23862 \begin_layout Standard
23867 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
23871 に変わるので、相互参照にカーソルを戻すのに使用することができます。
23874 \begin_layout Subsection
23876 \begin_inset CommandInset label
23883 \begin_inset Index idx
23886 \begin_layout Plain Layout
23895 \begin_layout Standard
23896 相互参照には、以下の6種類があります。
23899 \begin_layout Description
23900 <参照>: これはフロート番号を表示します。これが既定値です。例:
23901 \begin_inset CommandInset ref
23903 reference "fig:歪められた二つの像"
23910 \begin_layout Description
23911 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
23913 \begin_inset CommandInset ref
23922 \begin_layout Description
23923 <参照ページ>: これはページ番号を表示します。例:Page
23924 \begin_inset space ~
23928 \begin_inset CommandInset ref
23929 LatexCommand pageref
23930 reference "fig:歪められた二つの像"
23937 \begin_layout Description
23939 \begin_inset space ~
23943 \begin_inset space ~
23946 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
23947 \begin_inset CommandInset ref
23948 LatexCommand vpageref
23949 reference "fig:歪められた二つの像"
23956 \begin_layout Description
23958 \begin_inset space ~
23962 \begin_inset space ~
23966 \begin_inset space ~
23969 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
23970 \begin_inset CommandInset ref
23972 reference "fig:歪められた二つの像"
23979 \begin_layout Description
23980 整形された参照: これは自製の相互参照書式で出力します。
23981 \begin_inset Newline newline
23985 \begin_inset Note Greyedout
23988 \begin_layout Plain Layout
23989 【註】この機能は、LaTeXパッケージ
23997 が導入されている場合のみ使用することができます。
23998 \begin_inset Index idx
24001 \begin_layout Plain Layout
24002 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
24008 \begin_inset Index idx
24011 \begin_layout Plain Layout
24012 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
24023 \begin_inset Newline newline
24028 文書\SpecialChar \menuseparator
24029 設定\SpecialChar \menuseparator
24034 相互参照に(prettyrefではなく)refstyleを使用
24036 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
24042 コマンド(prettyrefの場合)あるいは
24048 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
24052 」を持ちます)をすべて定義し直すには、
24053 \begin_inset Newline newline
24060 newref{fig}{refcmd={Image on page
24063 \begin_inset Newline newline
24068 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
24069 \begin_inset CommandInset citation
24071 key "prettyref,refstyle"
24078 \begin_layout Description
24079 名称参照: これは、右のように参照のキャプションを出力します。
24080 \begin_inset CommandInset ref
24081 LatexCommand nameref
24082 reference "fig:歪められた二つの像"
24089 \begin_layout Standard
24094 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
24100 <参照> on page <参照ページ>
24102 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
24105 \begin_layout Standard
24106 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
24113 \begin_layout Standard
24114 \begin_inset Note Greyedout
24117 \begin_layout Plain Layout
24122 It is recommended to use the LaTeX-package
24127 \begin_inset Index idx
24130 \begin_layout Plain Layout
24131 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
24141 \begin_inset Index idx
24144 \begin_layout Plain Layout
24145 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
24150 does not know all of LyX's possible label shortcuts
24154 \begin_layout Plain Layout
24155 \begin_inset Quotes eld
24159 \begin_inset Quotes erd
24162 is for example LyX's shortcut for labels in figure captions.
24167 and is not internationalized.
24175 \begin_layout Subsection
24177 \begin_inset Index idx
24180 \begin_layout Plain Layout
24181 さんしょう@参照 ! じどうめいめい@自動命名
24189 \begin_layout Standard
24203 \begin_inset Index idx
24206 \begin_layout Plain Layout
24207 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24212 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
24216 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
24217 の機能を使用するには、hyperrefを有効にして、
24220 \begin_layout Standard
24236 \begin_layout Standard
24237 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
24238 \begin_inset space \thinspace{}
24241 」としたいなど、既定の参照名以外のものが欲しい場合には、
24244 \begin_layout Standard
24255 sectionautorefname}
24256 \begin_inset Newline newline
24260 \begin_inset Phantom HPhantom
24263 \begin_layout Plain Layout
24266 \begin_inset space ~
24279 \begin_layout Standard
24280 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
24281 \begin_inset Newline newline
24292 に置き換えてください(***は使用中の言語名)。
24295 \begin_layout Standard
24296 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
24299 \begin_layout Standard
24310 equationautorefname}[1]{}}
24313 \begin_layout Standard
24314 この話題に関する詳細は、hyperrefの説明書
24315 \begin_inset CommandInset citation
24324 \begin_layout Standard
24325 \begin_inset Note Greyedout
24328 \begin_layout Plain Layout
24338 \begin_inset CommandInset ref
24340 reference "sub:相互参照の書式"
24344 節)で使用しているときには、使用することができません。
24352 \begin_layout Standard
24359 manual is an example where automatic reference naming is used.
24362 \begin_layout Subsection
24364 \begin_inset CommandInset label
24371 \begin_inset Index idx
24374 \begin_layout Plain Layout
24375 さんしょう@参照 ! さんしょういち@参照位置
24383 \begin_layout Standard
24397 \begin_inset Index idx
24400 \begin_layout Plain Layout
24401 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24406 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
24407 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
24412 \begin_inset Index idx
24415 \begin_layout Plain Layout
24416 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24426 \begin_inset Index idx
24429 \begin_layout Plain Layout
24430 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24435 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
24438 \begin_layout Standard
24443 usepackage[figure]{hypcap}
24446 \begin_layout Standard
24447 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
24449 \begin_inset CommandInset citation
24458 \begin_layout Standard
24459 \begin_inset Note Greyedout
24462 \begin_layout Plain Layout
24467 は内部図への参照には効力がありません。
24475 \begin_layout Section
24477 \begin_inset CommandInset label
24484 \begin_inset Index idx
24487 \begin_layout Plain Layout
24496 \begin_layout Standard
24506 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
24507 \begin_inset Newline newline
24528 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
24529 \begin_inset Newline newline
24550 オプションは、フロートを回転するのに用います。第
24560 \begin_inset CommandInset ref
24562 reference "sec:回転フロート"
24578 \begin_layout Standard
24606 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
24609 \begin_layout Description
24619 フロートを挿入位置に配置することを試みます
24622 \begin_layout Description
24632 フロートを現在ページの上部に配置することを試みます
24635 \begin_layout Description
24645 フロートを現在ページの下部に配置することを試みます
24648 \begin_layout Description
24658 フロートを独立したページに配置することを試みます
24661 \begin_layout Standard
24666 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
24674 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
24675 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
24678 \begin_layout Standard
24679 既定では、各オプションはそれぞれ以下の規則を持っています。
24682 \begin_layout Labeling
24683 \labelwidthstring 00.00.0000
24688 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
24697 \begin_layout Labeling
24698 \labelwidthstring 00.00.0000
24703 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
24712 \begin_layout Labeling
24713 \labelwidthstring 00.00.0000
24718 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
24727 \begin_layout Standard
24732 オプションを追加することによって、これらを無視することができます。
24733 \begin_inset Newline newline
24736 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
24737 、ページの5割に変えるには、文書プリアンブルに
24740 \begin_layout Standard
24747 bottomfraction}{0.5}
24750 \begin_layout Standard
24754 \begin_layout Standard
24755 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
24759 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
24760 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
24764 \begin_layout Standard
24765 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
24768 \begin_layout Standard
24769 \begin_inset VSpace bigskip
24775 \begin_layout Standard
24776 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
24777 することがあります。この問題を避けるには、LaTeXコマンドの
24779 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
24780 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
24783 \begin_layout Standard
24793 \begin_inset Newline newline
24807 \begin_layout Standard
24808 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
24809 することがあるので、これらに対する定義はお勧めしません。
24812 \begin_layout Standard
24813 \begin_inset VSpace bigskip
24816 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
24821 \begin_inset Index idx
24824 \begin_layout Plain Layout
24825 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
24830 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
24831 \begin_inset Quotes eld
24837 \begin_inset space ~
24843 \begin_inset Quotes erd
24846 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
24849 \begin_layout Standard
24854 usepackage[options]{endfloat}
24857 \begin_layout Standard
24858 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
24863 \begin_inset CommandInset citation
24870 \begin_inset Newline newline
24874 \begin_inset Note Greyedout
24877 \begin_layout Plain Layout
24882 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
24883 \begin_inset CommandInset citation
24895 \begin_inset Newline newline
24899 \begin_inset Note Greyedout
24902 \begin_layout Plain Layout
24911 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
24925 \begin_layout Standard
24926 \begin_inset VSpace bigskip
24929 フロートの割付に関する詳細は、LaTeX関連書
24930 \begin_inset CommandInset citation
24932 key "latexcompanion,latexguide,latexbook"
24939 \begin_layout Section
24941 \begin_inset CommandInset label
24948 \begin_inset Index idx
24951 \begin_layout Plain Layout
24952 ふろーと@フロート ! かいてん@回転
24960 \begin_layout Standard
24961 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
24968 \begin_layout Standard
24969 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
24973 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
24974 たって回転方向を強制したい場合には、文書クラスオプションに
24985 \begin_layout Standard
24986 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
24987 \begin_inset CommandInset ref
24989 reference "tab:回転した表"
24996 \begin_layout Standard
24997 \begin_inset Note Greyedout
25000 \begin_layout Plain Layout
25005 すべてのDVIビューアが回転フロートを表示できるわけではありません。
25013 \begin_layout Standard
25014 \begin_inset Float table
25019 \begin_layout Plain Layout
25020 \begin_inset Caption Standard
25022 \begin_layout Plain Layout
25023 \begin_inset CommandInset label
25037 \begin_layout Plain Layout
25039 \begin_inset Tabular
25040 <lyxtabular version="3" rows="1" columns="5">
25041 <features rotate="0" tabularvalignment="middle">
25042 <column alignment="center" valignment="top" width="0">
25043 <column alignment="center" valignment="top" width="0">
25044 <column alignment="center" valignment="top" width="0">
25045 <column alignment="center" valignment="top" width="0">
25046 <column alignment="center" valignment="top" width="0">
25048 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25051 \begin_layout Plain Layout
25057 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25060 \begin_layout Plain Layout
25066 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25069 \begin_layout Plain Layout
25075 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25078 \begin_layout Plain Layout
25084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25087 \begin_layout Plain Layout
25106 \begin_layout Section
25108 \begin_inset Index idx
25111 \begin_layout Plain Layout
25112 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
25120 \begin_layout Standard
25121 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
25122 \begin_inset CommandInset ref
25124 reference "tab:従属表を横に並べたもの"
25129 \begin_inset CommandInset ref
25131 reference "tab:従属表を縦に並べたもの"
25135 に示されているように段落と同様に指定することができます。
25138 \begin_layout Standard
25139 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
25140 \begin_inset CommandInset ref
25142 reference "tab:これは従属表a"
25147 \begin_inset CommandInset ref
25149 reference "tab:これは従属表b"
25154 \begin_inset CommandInset ref
25156 reference "tab:従属表を横に並べたもの"
25161 \begin_inset Float table
25166 \begin_layout Plain Layout
25167 \begin_inset Caption Standard
25169 \begin_layout Plain Layout
25170 \begin_inset CommandInset label
25172 name "tab:従属表を横に並べたもの"
25184 \begin_layout Plain Layout
25185 \begin_inset space \hfill{}
25189 \begin_inset Float table
25194 \begin_layout Plain Layout
25195 \begin_inset Caption Standard
25197 \begin_layout Plain Layout
25198 \begin_inset CommandInset label
25212 \begin_layout Plain Layout
25214 \begin_inset Tabular
25215 <lyxtabular version="3" rows="1" columns="5">
25216 <features rotate="0" tabularvalignment="middle">
25217 <column alignment="center" valignment="top" width="0">
25218 <column alignment="center" valignment="top" width="0">
25219 <column alignment="center" valignment="top" width="0">
25220 <column alignment="center" valignment="top" width="0">
25221 <column alignment="center" valignment="top" width="0">
25223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25226 \begin_layout Plain Layout
25232 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25235 \begin_layout Plain Layout
25241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25244 \begin_layout Plain Layout
25250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25253 \begin_layout Plain Layout
25259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25262 \begin_layout Plain Layout
25279 \begin_inset space \hfill{}
25283 \begin_inset Float table
25288 \begin_layout Plain Layout
25289 \begin_inset Caption Standard
25291 \begin_layout Plain Layout
25292 \begin_inset CommandInset label
25306 \begin_layout Plain Layout
25308 \begin_inset Tabular
25309 <lyxtabular version="3" rows="1" columns="5">
25310 <features rotate="0" tabularvalignment="middle">
25311 <column alignment="center" valignment="top" width="0">
25312 <column alignment="center" valignment="top" width="0">
25313 <column alignment="center" valignment="top" width="0">
25314 <column alignment="center" valignment="top" width="0">
25315 <column alignment="center" valignment="top" width="0">
25317 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25320 \begin_layout Plain Layout
25326 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25329 \begin_layout Plain Layout
25335 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25338 \begin_layout Plain Layout
25344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25347 \begin_layout Plain Layout
25353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25356 \begin_layout Plain Layout
25373 \begin_inset space \hfill{}
25382 \begin_inset Float table
25387 \begin_layout Plain Layout
25388 \begin_inset Caption Standard
25390 \begin_layout Plain Layout
25391 \begin_inset CommandInset label
25393 name "tab:従属表を縦に並べたもの"
25397 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
25405 \begin_layout Plain Layout
25406 \begin_inset Float table
25411 \begin_layout Plain Layout
25412 \begin_inset Caption Standard
25414 \begin_layout Plain Layout
25423 \begin_layout Plain Layout
25425 \begin_inset Tabular
25426 <lyxtabular version="3" rows="1" columns="4">
25427 <features rotate="0" tabularvalignment="middle">
25428 <column alignment="center" valignment="top" width="0">
25429 <column alignment="center" valignment="top" width="0">
25430 <column alignment="center" valignment="top" width="0">
25431 <column alignment="center" valignment="top" width="0">
25433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25436 \begin_layout Plain Layout
25442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25445 \begin_layout Plain Layout
25451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25454 \begin_layout Plain Layout
25460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25463 \begin_layout Plain Layout
25482 \begin_layout Plain Layout
25483 \begin_inset Float table
25488 \begin_layout Plain Layout
25489 \begin_inset Caption Standard
25491 \begin_layout Plain Layout
25500 \begin_layout Plain Layout
25502 \begin_inset Tabular
25503 <lyxtabular version="3" rows="1" columns="5">
25504 <features rotate="0" tabularvalignment="middle">
25505 <column alignment="center" valignment="top" width="0">
25506 <column alignment="center" valignment="top" width="0">
25507 <column alignment="center" valignment="top" width="0">
25508 <column alignment="center" valignment="top" width="0">
25509 <column alignment="center" valignment="top" width="0">
25511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25514 \begin_layout Plain Layout
25520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25523 \begin_layout Plain Layout
25529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25532 \begin_layout Plain Layout
25538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25541 \begin_layout Plain Layout
25547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25550 \begin_layout Plain Layout
25574 \begin_layout Section
25576 \begin_inset Index idx
25579 \begin_layout Plain Layout
25580 ふろーと@フロート ! よこならび@横並び
25588 \begin_layout Standard
25590 \begin_inset CommandInset ref
25592 reference "fig:左側のフロート"
25597 \begin_inset CommandInset ref
25599 reference "fig:右側のフロート"
25603 のようにフロートを横並びに配置するには、
25607 フロートのみを使用し、その中に二つのminipageボックスを挿入します
25611 \begin_layout Plain Layout
25613 \begin_inset CommandInset ref
25615 reference "sec:ミニページ"
25625 \begin_inset space \thinspace{}
25629 \begin_inset space \thinspace{}
25632 列幅%とし、各minipageのボックス配置を
25636 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
25640 がここではminipageボックスの幅によって計算されることです。
25643 \begin_layout Standard
25644 \begin_inset Float figure
25649 \begin_layout Plain Layout
25650 \begin_inset Box Frameless
25660 height_special "totalheight"
25663 \begin_layout Plain Layout
25665 \begin_inset Graphics
25666 filename ../clipart/mobius.eps
25669 scaleBeforeRotation
25676 \begin_layout Plain Layout
25677 \begin_inset Caption Standard
25679 \begin_layout Plain Layout
25680 \begin_inset CommandInset label
25697 \begin_inset space \hfill{}
25701 \begin_inset Box Frameless
25711 height_special "totalheight"
25714 \begin_layout Plain Layout
25716 \begin_inset Graphics
25717 filename ../clipart/platypus.eps
25720 scaleBeforeRotation
25727 \begin_layout Plain Layout
25728 \begin_inset Caption Standard
25730 \begin_layout Plain Layout
25731 \begin_inset CommandInset label
25750 \begin_layout Plain Layout
25759 \begin_layout Section
25761 \begin_inset Index idx
25764 \begin_layout Plain Layout
25765 きゃぷしょん@キャプション ! しょしきせってい@書式設定
25771 \begin_inset Index idx
25774 \begin_layout Plain Layout
25775 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
25781 \begin_inset CommandInset label
25783 name "sec:キャプションの書式設定"
25790 \begin_layout Standard
25799 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
25803 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
25807 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
25808 。このキャプション書式は、すべての文書書式に適しているわけではありません。
25811 \begin_layout Standard
25812 既定のキャプション書式を変更するには、文書プリアンブルに
25815 \begin_layout Standard
25820 usepackage[format definition]{caption}
25823 \begin_layout Standard
25824 という行を加えて、LaTeXパッケージ
25829 \begin_inset Index idx
25832 \begin_layout Plain Layout
25833 LaTeXぱっけーじ@LaTeXパッケージ ! caption
25838 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
25841 \begin_layout Standard
25846 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
25849 \begin_layout Standard
25850 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
25854 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
25857 \begin_layout Standard
25862 captionsetup[フロート型]{書式定義}
25865 \begin_layout Standard
25866 というコマンドを使用して、個別の書式を指定してください。たとえば、図
25867 \begin_inset CommandInset ref
25869 reference "fig:図キャプション"
25874 \begin_inset CommandInset ref
25876 reference "tab:表キャプション"
25880 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
25883 \begin_layout Standard
25888 usepackage[tableposition=top]{caption}
25891 \begin_inset Newline newline
25898 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
25899 \begin_inset Newline newline
25903 \begin_inset Phantom HPhantom
25906 \begin_layout Plain Layout
25909 captionsetup[figure]{
25915 \begin_inset Newline newline
25920 captionsetup[table]{labelfont={bf,sf}}
25923 \begin_layout Standard
25924 \begin_inset Note Greyedout
25927 \begin_layout Plain Layout
25941 \begin_inset Index idx
25944 \begin_layout Plain Layout
25945 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25950 が使われているときには、無効になります。この場合には、文書クラスオプション
25952 captions=tableheading
25962 \begin_layout Standard
25967 パッケージについての詳細は、その取扱説明書
25968 \begin_inset CommandInset citation
25977 \begin_layout Standard
25978 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
25981 \begin_layout Standard
25993 \begin_layout Standard
26007 \begin_layout Standard
26008 \begin_inset VSpace bigskip
26016 \begin_inset Index idx
26019 \begin_layout Plain Layout
26020 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
26027 article (KOMA-script)
26035 letter (KOMA-script)
26039 report (KOMA-script)
26053 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
26056 \begin_layout Standard
26061 setkomafont{captionlabel}{
26066 \begin_layout Standard
26078 \begin_inset CommandInset citation
26087 \begin_layout Standard
26091 \begin_layout Plain Layout
26095 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
26102 \begin_inset Note Note
26105 \begin_layout Plain Layout
26106 キャプション書式は、この例のみ変更してあります。
26114 \begin_layout Standard
26115 \begin_inset Float figure
26121 \begin_layout Plain Layout
26123 \begin_inset Graphics
26124 filename ../clipart/mobius.eps
26127 scaleBeforeRotation
26134 \begin_layout Plain Layout
26135 \begin_inset Caption Standard
26137 \begin_layout Plain Layout
26138 \begin_inset CommandInset label
26144 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
26157 \begin_layout Standard
26161 \begin_layout Plain Layout
26165 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
26174 \begin_layout Standard
26175 \begin_inset Float table
26181 \begin_layout Plain Layout
26182 \begin_inset Caption Standard
26184 \begin_layout Plain Layout
26185 \begin_inset CommandInset label
26191 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
26199 \begin_layout Plain Layout
26201 \begin_inset Tabular
26202 <lyxtabular version="3" rows="1" columns="5">
26203 <features rotate="0" tabularvalignment="middle">
26204 <column alignment="center" valignment="top" width="0">
26205 <column alignment="center" valignment="top" width="0">
26206 <column alignment="center" valignment="top" width="0">
26207 <column alignment="center" valignment="top" width="0">
26208 <column alignment="center" valignment="top" width="0">
26210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26213 \begin_layout Plain Layout
26219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26222 \begin_layout Plain Layout
26228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26231 \begin_layout Plain Layout
26237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26240 \begin_layout Plain Layout
26246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26249 \begin_layout Plain Layout
26268 \begin_layout Section
26270 \begin_inset Index idx
26273 \begin_layout Plain Layout
26274 きゃぷしょん@キャプション ! はいち@配置
26280 \begin_inset Index idx
26283 \begin_layout Plain Layout
26284 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
26290 \begin_inset CommandInset label
26292 name "sec:キャプションの配置"
26299 \begin_layout Standard
26303 \begin_layout Description
26304 図の場合: キャプションを図の下に置く
26307 \begin_layout Description
26308 表の場合: キャプションを表の上に置く
26311 \begin_layout Standard
26312 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
26328 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
26336 \begin_layout Standard
26342 \begin_layout Standard
26347 \begin_layout Plain Layout
26353 \begin_inset CommandInset ref
26355 reference "sec:キャプションの書式設定"
26369 \begin_inset Index idx
26372 \begin_layout Plain Layout
26373 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
26380 article (KOMA-script)
26388 letter (KOMA-script)
26392 report (KOMA-script)
26395 \begin_inset space \thinspace{}
26402 パッケージにオプションを与える代わりに、文書クラスオプション
26404 captions=tableheading
26409 \begin_layout Standard
26410 \begin_inset VSpace bigskip
26413 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
26416 \begin_layout Standard
26421 usepackage[option]{sidecap}
26424 \begin_layout Standard
26425 という行を入れて、LaTeXパッケージ
26430 \begin_inset Index idx
26433 \begin_layout Plain Layout
26434 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
26439 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
26443 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
26454 \begin_layout Standard
26458 \begin_layout Plain Layout
26468 \begin_inset Note Note
26471 \begin_layout Plain Layout
26476 が導入されているときのみ表示されます。
26484 \begin_layout Standard
26485 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
26488 \begin_layout Standard
26490 \begin_inset CommandInset line
26501 \begin_layout Standard
26508 TabBesBeg}[1][1.0]{%
26509 \begin_inset Newline newline
26513 \begin_inset Phantom HPhantom
26516 \begin_layout Plain Layout
26517 \begin_inset space ~
26532 \begin_inset Newline newline
26536 \begin_inset Phantom HPhantom
26539 \begin_layout Plain Layout
26542 \begin_inset space ~
26557 \begin_inset Newline newline
26561 \begin_inset Phantom HPhantom
26564 \begin_layout Plain Layout
26567 \begin_inset space ~
26577 renewenvironment{table}[1]{
26579 begin{SCtable}[#1]##1}{
26584 \begin_layout Standard
26592 \begin_inset Newline newline
26596 \begin_inset Phantom HPhantom
26599 \begin_layout Plain Layout
26600 \begin_inset space ~
26615 \begin_inset Newline newline
26619 \begin_inset Phantom HPhantom
26622 \begin_layout Plain Layout
26623 \begin_inset space ~
26640 \begin_layout Standard
26647 FigBesBeg}[1][1.0]{%
26648 \begin_inset Newline newline
26652 \begin_inset Phantom HPhantom
26655 \begin_layout Plain Layout
26656 \begin_inset space ~
26671 \begin_inset Newline newline
26675 \begin_inset Phantom HPhantom
26678 \begin_layout Plain Layout
26679 \begin_inset space ~
26694 \begin_inset Newline newline
26698 \begin_inset Phantom HPhantom
26701 \begin_layout Plain Layout
26702 \begin_inset space ~
26712 renewenvironment{figure}[1]{
26714 begin{SCfigure}[#1]##1}{
26719 \begin_layout Standard
26727 \begin_inset Newline newline
26731 \begin_inset Phantom HPhantom
26734 \begin_layout Plain Layout
26735 \begin_inset space ~
26750 \begin_inset Newline newline
26754 \begin_inset Phantom HPhantom
26757 \begin_layout Plain Layout
26758 \begin_inset space ~
26775 \begin_layout Standard
26777 \begin_inset CommandInset line
26788 \begin_layout Standard
26789 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
26792 \begin_layout Standard
26800 \begin_layout Standard
26801 というコマンドを、フロートの前にTeXコードで入れてください。
26803 And insert the command
26806 \begin_layout Standard
26814 \begin_layout Standard
26817 in TeX-Code at the point where you want to get back to the original float
26821 \begin_layout Standard
26822 表フロートに対しては、対応するコマンド
26825 \begin_layout Standard
26839 \begin_layout Standard
26841 \begin_inset CommandInset ref
26843 reference "fig:図横キャプション"
26848 \begin_inset CommandInset ref
26850 reference "tab:表横キャプション"
26857 \begin_layout Standard
26858 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
26859 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
26862 \begin_layout Standard
26867 sidecaptionvpos{フロート型}{配置}
26870 \begin_layout Standard
26871 というコマンドを使用します。ここで「フロート型」は
26879 であり、「配置」は、上揃えの場合はtopの
26882 \begin_layout Standard
26895 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
26898 \begin_layout Standard
26903 sidecaptionvpos{figure}{c}
26906 \begin_layout Standard
26907 というコマンドを使用します。これは、図
26908 \begin_inset CommandInset ref
26910 reference "fig:図横キャプション-2"
26917 \begin_layout Standard
26918 \begin_inset VSpace medskip
26924 \begin_layout Standard
26927 The default caption width is the width of the image/table.
26928 For thin image/tables, like in Table
26931 \begin_inset space ~
26935 \begin_inset CommandInset ref
26937 reference "tab:表横キャプション"
26943 this leads to captions that are too thin.
26944 You can increase the width by specifying a factor that will be multiplied
26945 with the image/table width to get the caption width.
26946 The caption width will automatically be recalculated in case it would protrude
26947 over the page or column margin due to the specified width.
26952 can either be given as optional argument for
26961 \begin_layout Standard
26970 \begin_layout Standard
26973 or in the definition of
26983 with another value.
26984 If you do the latter, your factor will be the default if
26990 is used without an argument.
26994 \begin_inset space ~
26998 \begin_inset CommandInset ref
27000 reference "tab:cap-beside-tab-wider"
27006 the factor 5 was used.
27009 \begin_layout Standard
27012 \begin_inset Note Greyedout
27015 \begin_layout Plain Layout
27021 For floats with captions set beside, you cannot use the float placement
27025 \begin_inset space ~
27030 because it is not supported by
27042 \begin_layout Standard
27043 \begin_inset VSpace medskip
27051 \begin_inset CommandInset citation
27060 \begin_layout Standard
27061 \begin_inset Note Greyedout
27064 \begin_layout Plain Layout
27070 \begin_inset CommandInset ref
27072 reference "sub:参照位置"
27081 \begin_inset Index idx
27084 \begin_layout Plain Layout
27085 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
27090 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
27098 \begin_layout Standard
27102 \begin_layout Plain Layout
27114 \begin_layout Standard
27115 \begin_inset Float figure
27120 \begin_layout Plain Layout
27121 \begin_inset Graphics
27122 filename ../clipart/escher-lsd.eps
27124 scaleBeforeRotation
27131 \begin_layout Plain Layout
27132 \begin_inset Caption Standard
27134 \begin_layout Plain Layout
27135 \begin_inset CommandInset label
27137 name "fig:図横キャプション"
27154 \begin_layout Standard
27158 \begin_layout Plain Layout
27170 \begin_layout Standard
27174 \begin_layout Plain Layout
27186 \begin_layout Standard
27187 \begin_inset Float table
27192 \begin_layout Plain Layout
27193 \begin_inset Caption Standard
27195 \begin_layout Plain Layout
27196 \begin_inset CommandInset label
27198 name "tab:表横キャプション"
27210 \begin_layout Plain Layout
27211 \begin_inset Tabular
27212 <lyxtabular version="3" rows="4" columns="5">
27213 <features rotate="0" tabularvalignment="middle">
27214 <column alignment="center" valignment="top" width="0">
27215 <column alignment="center" valignment="top" width="0">
27216 <column alignment="center" valignment="top" width="0">
27217 <column alignment="center" valignment="top" width="0">
27218 <column alignment="center" valignment="top" width="0">
27220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27223 \begin_layout Plain Layout
27229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27232 \begin_layout Plain Layout
27238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27241 \begin_layout Plain Layout
27247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27250 \begin_layout Plain Layout
27256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27259 \begin_layout Plain Layout
27267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27270 \begin_layout Plain Layout
27276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27279 \begin_layout Plain Layout
27285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27288 \begin_layout Plain Layout
27294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27297 \begin_layout Plain Layout
27303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27306 \begin_layout Plain Layout
27314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27317 \begin_layout Plain Layout
27323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27326 \begin_layout Plain Layout
27332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27335 \begin_layout Plain Layout
27341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27344 \begin_layout Plain Layout
27350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27353 \begin_layout Plain Layout
27361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27364 \begin_layout Plain Layout
27370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27373 \begin_layout Plain Layout
27379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27382 \begin_layout Plain Layout
27388 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27391 \begin_layout Plain Layout
27397 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27400 \begin_layout Plain Layout
27419 \begin_layout Standard
27423 \begin_layout Plain Layout
27435 \begin_layout Standard
27439 \begin_layout Plain Layout
27443 sidecaptionvpos{figure}{c}
27449 \begin_inset Float figure
27454 \begin_layout Plain Layout
27455 \begin_inset Graphics
27456 filename ../clipart/escher-lsd.eps
27458 scaleBeforeRotation
27465 \begin_layout Plain Layout
27466 \begin_inset Caption Standard
27468 \begin_layout Plain Layout
27469 \begin_inset CommandInset label
27471 name "fig:図横キャプション-2"
27475 これは図の横にある縦方向中央揃えのキャプションです。
27488 \begin_layout Standard
27492 \begin_layout Plain Layout
27504 \begin_layout Standard
27508 \begin_layout Plain Layout
27520 \begin_layout Standard
27521 \begin_inset Float table
27526 \begin_layout Plain Layout
27527 \begin_inset Caption Standard
27529 \begin_layout Plain Layout
27532 \begin_inset CommandInset label
27534 name "tab:cap-beside-tab-wider"
27538 This is a caption is wider than the one in Table
27541 \begin_inset space ~
27545 \begin_inset CommandInset ref
27547 reference "tab:表横キャプション"
27559 \begin_layout Plain Layout
27560 \begin_inset Tabular
27561 <lyxtabular version="3" rows="4" columns="5">
27562 <features rotate="0" tabularvalignment="middle">
27563 <column alignment="center" valignment="top" width="0">
27564 <column alignment="center" valignment="top" width="0">
27565 <column alignment="center" valignment="top" width="0">
27566 <column alignment="center" valignment="top" width="0">
27567 <column alignment="center" valignment="top" width="0">
27569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27572 \begin_layout Plain Layout
27578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27581 \begin_layout Plain Layout
27587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27590 \begin_layout Plain Layout
27596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27599 \begin_layout Plain Layout
27605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27608 \begin_layout Plain Layout
27616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27619 \begin_layout Plain Layout
27625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27628 \begin_layout Plain Layout
27634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27637 \begin_layout Plain Layout
27643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27646 \begin_layout Plain Layout
27652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27655 \begin_layout Plain Layout
27663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27666 \begin_layout Plain Layout
27672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27675 \begin_layout Plain Layout
27681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27684 \begin_layout Plain Layout
27690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27693 \begin_layout Plain Layout
27699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27702 \begin_layout Plain Layout
27710 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27713 \begin_layout Plain Layout
27719 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27722 \begin_layout Plain Layout
27728 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27731 \begin_layout Plain Layout
27737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27740 \begin_layout Plain Layout
27746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27749 \begin_layout Plain Layout
27768 \begin_layout Standard
27772 \begin_layout Plain Layout
27784 \begin_layout Standard
27788 \begin_layout Plain Layout
27798 \begin_inset Note Note
27801 \begin_layout Plain Layout
27806 が導入されていないときのみ表示されます。
27814 \begin_layout Standard
27815 本節の残りの部分を出力で表示するには、LaTeXパッケージ
27822 \begin_layout Standard
27826 \begin_layout Plain Layout
27838 \begin_layout Section
27840 \begin_inset Index idx
27843 \begin_layout Plain Layout
27844 ふろーと@フロート ! ふろーといちらん@フロート一覧
27852 \begin_layout Standard
27853 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
27855 挿入\SpecialChar \menuseparator
27861 \begin_layout Standard
27862 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
27865 \begin_layout Standard
27866 本文書の終わりに、図一覧と表一覧があります。
27869 \begin_layout Chapter
27873 \begin_layout Section
27875 \begin_inset Index idx
27878 \begin_layout Plain Layout
27879 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
27887 \begin_layout Standard
27896 挿入\SpecialChar \menuseparator
27899 メニューで挿入することができます。注釈には、以下の三つの型があります。
27902 \begin_layout Description
27903 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
27904 \begin_inset Newline newline
27908 \begin_inset Newline newline
27912 \begin_inset Graphics
27913 filename ../clipart/LyXNoteImageQt4.png
27916 scaleBeforeRotation
27921 \begin_inset Note Note
27924 \begin_layout Plain Layout
27925 これは、出力には現れない注釈ボックスに書かれた文章です。
27933 \begin_layout Description
27934 コメント この注釈も出力には現れませんが、
27936 ファイル\SpecialChar \menuseparator
27937 書き出し\SpecialChar \menuseparator
27938 LaTeX (pdflatex) / (平文)
27940 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
27941 \begin_inset Newline newline
27945 \begin_inset Newline newline
27949 \begin_inset Graphics
27950 filename ../clipart/CommentNoteImageQt4.png
27953 scaleBeforeRotation
27958 \begin_inset Note Comment
27961 \begin_layout Plain Layout
27962 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
27970 \begin_layout Description
27971 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
27972 \begin_inset Newline newline
27976 \begin_inset Newline newline
27980 \begin_inset Graphics
27981 filename ../clipart/GreyedOutNoteImageQt4.png
27984 scaleBeforeRotation
27989 \begin_inset Newline newline
27996 \begin_layout Plain Layout
28000 renewenvironment{lyxgreyedout}
28003 \begin_layout Plain Layout
28007 textcolor[gray]{0.8}
28017 \begin_inset Note Greyedout
28020 \begin_layout Plain Layout
28021 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
28025 \begin_layout Plain Layout
28026 これは、淡色表示注釈内に脚注を用いた例です。
28040 \begin_layout Plain Layout
28044 renewenvironment{lyxgreyedout}
28047 \begin_layout Plain Layout
28061 \begin_inset Note Note
28064 \begin_layout Plain Layout
28065 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
28072 \begin_inset Newline newline
28076 \begin_inset Newline newline
28079 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
28082 \begin_layout Standard
28083 \begin_inset VSpace bigskip
28096 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
28097 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
28101 \begin_layout Standard
28102 \begin_inset VSpace bigskip
28107 You can change the text color of the greyed out notes in the menu
28109 Document\SpecialChar \menuseparator
28110 Settings\SpecialChar \menuseparator
28116 \begin_layout Section
28118 \begin_inset CommandInset label
28125 \begin_inset Index idx
28128 \begin_layout Plain Layout
28129 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
28135 \begin_inset Index idx
28138 \begin_layout Plain Layout
28147 \begin_layout Standard
28151 arg "footnote-insert"
28156 挿入\SpecialChar \menuseparator
28159 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
28160 \begin_inset Graphics
28161 filename clipart/footnoteQt4.png
28163 scaleBeforeRotation
28167 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
28168 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
28171 \begin_layout Standard
28176 \begin_layout Plain Layout
28177 \begin_inset CommandInset label
28192 \begin_layout Plain Layout
28196 newcounter{MyRepeatFoot}
28199 \begin_layout Plain Layout
28203 setcounter{MyRepeatFoot}{
28213 \begin_layout Standard
28214 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
28215 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
28218 \begin_layout Standard
28219 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
28220 \begin_inset CommandInset ref
28222 reference "sec:フロートの参照"
28226 節に説明されているようにして、本文中でこのラベルを相互参照してください。
28227 \begin_inset Newline newline
28231 \begin_inset CommandInset ref
28233 reference "fn:これは脚注の一例"
28240 \begin_layout Standard
28241 \begin_inset VSpace defskip
28247 \begin_layout Standard
28248 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
28254 コマンドを入れてください。脚注の本文は、表の後でTeXコード
28261 \begin_inset Newline newline
28265 \begin_inset Newline newline
28279 \begin_inset Newline newline
28285 \begin_layout Standard
28286 \begin_inset Tabular
28287 <lyxtabular version="3" rows="2" columns="1">
28288 <features rotate="0" tabularvalignment="middle">
28289 <column alignment="center" valignment="top" width="0">
28291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28294 \begin_layout Plain Layout
28299 \begin_layout Plain Layout
28312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28315 \begin_layout Plain Layout
28320 \begin_layout Plain Layout
28343 \begin_layout Plain Layout
28356 \begin_layout Plain Layout
28366 \begin_layout Standard
28368 \begin_inset CommandInset ref
28370 reference "sub:長尺表での脚注"
28377 \begin_layout Standard
28378 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
28379 \begin_inset CommandInset ref
28381 reference "sec:ミニページ"
28385 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
28400 \begin_layout Standard
28401 \begin_inset Box Frameless
28411 height_special "totalheight"
28414 \begin_layout Plain Layout
28419 \begin_layout Plain Layout
28428 \begin_layout Plain Layout
28433 \begin_layout Plain Layout
28450 \begin_layout Standard
28454 \begin_layout Plain Layout
28467 \begin_layout Plain Layout
28475 \begin_inset VSpace defskip
28481 \begin_layout Standard
28482 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
28489 \begin_inset Newline newline
28492 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
28493 \begin_inset CommandInset ref
28495 reference "fn:これは脚注の一例"
28502 \begin_layout Standard
28507 newcounter{MyRepeatFoot}
28508 \begin_inset Newline newline
28513 setcounter{MyRepeatFoot}{
28518 \begin_layout Standard
28519 というコマンドを挿入しています。そして脚注マークは、
28522 \begin_layout Standard
28532 \begin_layout Standard
28536 \begin_layout Standard
28541 \begin_layout Plain Layout
28555 \begin_layout Standard
28556 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
28559 \begin_layout Standard
28569 \begin_layout Standard
28573 \begin_layout Standard
28578 \begin_layout Plain Layout
28592 \begin_layout Subsection
28594 \begin_inset CommandInset label
28601 \begin_inset Index idx
28604 \begin_layout Plain Layout
28613 \begin_layout Standard
28614 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
28617 \begin_layout Standard
28622 @addtoreset{footnote}{section}
28625 \begin_layout Standard
28629 \begin_layout Standard
28630 \begin_inset VSpace bigskip
28633 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
28636 \begin_layout Standard
28648 \begin_layout Standard
28652 \begin_layout Plain Layout
28669 \begin_layout Plain Layout
28670 これは、ローマ数字を使った脚注の例です。
28678 \begin_layout Standard
28679 付番様式を大文字ローマ数字に変更するには、上記コマンドの
28691 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
28703 を使用してください。記号を使って付「番」するには、
28712 \begin_layout Standard
28713 \begin_inset Note Greyedout
28716 \begin_layout Plain Layout
28721 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
28727 \begin_inset Newline newline
28731 \begin_inset Note Greyedout
28734 \begin_layout Plain Layout
28739 記号を使うと9個の脚注しか番号を振ることができません。
28747 \begin_layout Standard
28748 付番様式を変更した後、既定様式に戻すには、上記コマンドの
28764 \begin_layout Plain Layout
28780 \begin_layout Standard
28781 \begin_inset VSpace bigskip
28787 \begin_layout Standard
28788 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
28791 \begin_layout Standard
28796 numberwithin{footnote}{chapter}
28799 \begin_layout Standard
28806 コマンドを使用できるようにするためには、文書設定の
28813 \begin_inset space ~
28821 \begin_layout Standard
28825 \begin_layout Plain Layout
28829 numberwithin{footnote}{chapter}
28840 \begin_layout Plain Layout
28845 「章番号.脚注番号」スキームで番号を振られた脚注です。
28856 \begin_layout Plain Layout
28872 \begin_layout Standard
28873 \begin_inset Note Greyedout
28876 \begin_layout Plain Layout
28883 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
28891 \begin_layout Standard
28894 Roman{footnote}」スキームを得るには、
28900 の代わりに以下のコマンドを使用してください。
28903 \begin_layout Standard
28917 \begin_layout Subsection
28919 \begin_inset Index idx
28922 \begin_layout Plain Layout
28931 \begin_layout Standard
28932 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
28934 \begin_inset space \thinspace{}
28940 \begin_layout Standard
28950 \begin_inset Newline newline
28964 \begin_layout Standard
28965 \begin_inset VSpace bigskip
28968 二段組文書では、脚注は各段底部に表示されます(図
28969 \begin_inset CommandInset ref
28971 reference "fig:標準的脚注配置"
28976 \begin_inset CommandInset ref
28978 reference "fig:ftnright脚注配置"
28982 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
28985 \begin_layout Standard
28990 usepackage{ftnright}
28993 \begin_layout Standard
28994 というコマンドを書いて、LaTeXパッケージ
28999 \begin_inset Index idx
29002 \begin_layout Plain Layout
29003 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
29009 \begin_inset Float figure
29015 \begin_layout Plain Layout
29019 \begin_layout Plain Layout
29029 \begin_inset Graphics
29030 filename ../clipart/without_fntright.pdf
29032 scaleBeforeRotation
29040 \begin_layout Plain Layout
29050 \begin_layout Plain Layout
29051 \begin_inset Caption Standard
29053 \begin_layout Plain Layout
29054 \begin_inset CommandInset label
29073 \begin_layout Standard
29074 \begin_inset Float figure
29080 \begin_layout Plain Layout
29084 \begin_layout Plain Layout
29094 \begin_inset Graphics
29095 filename ../clipart/with_fntright.pdf
29097 scaleBeforeRotation
29105 \begin_layout Plain Layout
29115 \begin_layout Plain Layout
29116 \begin_inset Caption Standard
29118 \begin_layout Plain Layout
29119 \begin_inset CommandInset label
29121 name "fig:ftnright脚注配置"
29142 \begin_layout Standard
29143 \begin_inset VSpace bigskip
29147 \begin_inset CommandInset ref
29153 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
29154 \begin_inset Index idx
29157 \begin_layout Plain Layout
29163 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
29165 文書\SpecialChar \menuseparator
29166 設定\SpecialChar \menuseparator
29173 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
29176 \begin_layout Standard
29184 \begin_layout Standard
29188 \begin_layout Standard
29189 \begin_inset Float figure
29194 \begin_layout Plain Layout
29199 \begin_layout Plain Layout
29209 \begin_inset Graphics
29210 filename ../clipart/endnotes.pdf
29211 scaleBeforeRotation
29219 \begin_layout Plain Layout
29229 \begin_layout Plain Layout
29230 \begin_inset Caption Standard
29232 \begin_layout Plain Layout
29233 \begin_inset CommandInset label
29239 後注 – 注を節ないし章末に別段落として印字します。
29252 \begin_layout Standard
29253 \begin_inset VSpace medskip
29256 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
29259 \begin_layout Standard
29266 notesname}{Anmerkungen}
29269 \begin_layout Standard
29270 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
29273 \begin_layout Standard
29274 \begin_inset VSpace medskip
29278 \begin_inset CommandInset ref
29280 reference "sub:脚注の付番"
29284 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
29296 を用いてください。後注番号をリセットするには、第
29297 \begin_inset CommandInset ref
29299 reference "sub:脚注の付番"
29320 \begin_layout Standard
29322 \begin_inset CommandInset ref
29343 \begin_layout Standard
29344 \begin_inset VSpace bigskip
29347 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
29352 \begin_inset Index idx
29355 \begin_layout Plain Layout
29356 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
29362 \begin_inset CommandInset citation
29371 \begin_layout Standard
29372 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
29373 \begin_inset CommandInset citation
29375 key "latexcompanion,latexguide,latexbook"
29388 \begin_inset Index idx
29391 \begin_layout Plain Layout
29392 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
29399 document class, you can adjust all footnote settings using class-specific
29403 \begin_inset CommandInset citation
29412 \begin_layout Section
29414 \begin_inset Index idx
29417 \begin_layout Plain Layout
29418 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
29426 \begin_layout Standard
29427 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
29429 挿入\SpecialChar \menuseparator
29435 arg "marginalnote-insert"
29438 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
29441 \begin_layout Standard
29443 \begin_inset Marginal
29446 \begin_layout Plain Layout
29455 \begin_layout Standard
29456 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
29457 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
29460 \begin_layout Standard
29461 \begin_inset VSpace bigskip
29464 傍注を内側余白に置くには、傍注の前にTeXコードで
29467 \begin_layout Standard
29475 \begin_layout Standard
29476 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
29480 \begin_layout Plain Layout
29490 \begin_inset Marginal
29493 \begin_layout Plain Layout
29502 \begin_inset Newline newline
29508 \begin_inset Note Greyedout
29511 \begin_layout Plain Layout
29512 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
29520 \begin_layout Standard
29524 \begin_layout Standard
29532 \begin_layout Standard
29537 \begin_layout Plain Layout
29547 \begin_inset Note Greyedout
29550 \begin_layout Plain Layout
29557 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
29565 \begin_layout Standard
29566 \begin_inset VSpace bigskip
29570 \begin_inset Marginal
29573 \begin_layout Plain Layout
29574 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
29580 \begin_inset CommandInset ref
29582 reference "sub:複数行"
29586 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
29587 \begin_inset space \thinspace{}
29591 \begin_inset Marginal
29594 \begin_layout Plain Layout
29595 \begin_inset space \hspace*{}
29599 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
29607 \begin_layout Standard
29608 \begin_inset VSpace bigskip
29614 \begin_layout Standard
29615 \begin_inset Note Greyedout
29618 \begin_layout Plain Layout
29623 通常、傍注は表やフロート、脚注の中では使用することができません。
29631 \begin_layout Standard
29632 \begin_inset VSpace bigskip
29638 \begin_layout Standard
29642 \begin_layout Plain Layout
29652 \begin_inset Note Note
29655 \begin_layout Plain Layout
29660 が導入されているときのみ表示されます。
29668 \begin_layout Standard
29674 \begin_inset Index idx
29677 \begin_layout Plain Layout
29678 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
29683 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
29687 パッケージが提供するコマンドを使うようになります。
29690 \begin_layout Standard
29695 usepackage{marginnote}
29696 \begin_inset Newline newline
29708 \begin_layout Standard
29713 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
29717 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
29718 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
29721 \begin_layout Standard
29727 \begin_layout Standard
29728 という形で書くことで設定することができます。ここで「オフセット」には、表
29729 \begin_inset CommandInset ref
29735 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
29740 \begin_inset space \thinspace{}
29744 \begin_inset Marginal
29747 \begin_layout Plain Layout
29749 \begin_inset space \thinspace{}
29761 \begin_layout Plain Layout
29771 \begin_layout Standard
29772 \begin_inset VSpace medskip
29779 を使うと、傍注の揃えを変更することもできます。たとえば、
29782 \begin_layout Standard
29789 raggedleftmarginnote}{
29792 \begin_inset Newline newline
29799 raggedrightmarginnote}{
29804 \begin_layout Standard
29805 というコマンドを使うと、中央揃えになります。
29809 raggedleftmarginnote
29811 とは、左側に表示されている傍注のことを指します
29815 \begin_layout Plain Layout
29821 raggedleftmarginnote}{
29826 \begin_layout Plain Layout
29832 raggedrightmarginnote}{
29840 \begin_inset Marginal
29843 \begin_layout Plain Layout
29844 この傍注の文章は中央揃えになっています。
29852 \begin_layout Standard
29859 raggedleftmarginnote}{
29862 \begin_inset Newline newline
29869 raggedrightmarginnote}{
29877 \begin_layout Plain Layout
29883 raggedleftmarginnote}{
29888 \begin_layout Plain Layout
29894 raggedrightmarginnote}{
29904 \begin_layout Standard
29908 \begin_layout Standard
29909 \begin_inset VSpace medskip
29917 \begin_inset CommandInset citation
29926 \begin_layout Standard
29927 \begin_inset VSpace bigskip
29930 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
29938 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
29941 \begin_layout Standard
29951 \begin_inset Newline newline
29961 \begin_inset Newline newline
29965 \begin_inset Phantom HPhantom
29968 \begin_layout Plain Layout
29971 \begin_inset space ~
29988 \begin_inset Newline newline
29992 \begin_inset Phantom HPhantom
29995 \begin_layout Plain Layout
29998 \begin_inset space ~
30015 \begin_layout Standard
30019 \begin_layout Plain Layout
30030 \begin_layout Plain Layout
30041 \begin_layout Plain Layout
30052 \begin_layout Plain Layout
30066 \begin_inset Marginal
30069 \begin_layout Plain Layout
30070 これは、定義したヘッダをつけた傍注です。
30079 \begin_layout Plain Layout
30090 \begin_layout Plain Layout
30104 \begin_inset Note Note
30107 \begin_layout Plain Layout
30108 傍注書式は、この例の分だけ変更してあります。
30116 \begin_layout Standard
30120 \begin_layout Plain Layout
30130 \begin_inset Note Note
30133 \begin_layout Plain Layout
30138 が導入されていないときのみ表示されます。
30146 \begin_layout Standard
30147 本節の以下の部分を出力に表示するには、LaTeXパッケージ
30154 \begin_layout Standard
30158 \begin_layout Plain Layout
30170 \begin_layout Chapter
30174 \begin_layout Section
30176 \begin_inset Index idx
30179 \begin_layout Plain Layout
30188 \begin_layout Standard
30189 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
30190 \begin_inset CommandInset ref
30192 reference "sec:ミニページ"
30197 \begin_inset CommandInset ref
30203 節参照)、単語がハイフネートされるのを予防したり(第
30204 \begin_inset CommandInset ref
30206 reference "sec:ハイフネーションの回避"
30211 \begin_inset CommandInset ref
30213 reference "sub:垂直揃え"
30217 節参照)、あるいは文章の背景色を設定したり(第
30218 \begin_inset CommandInset ref
30220 reference "sec:色付きボックス"
30227 \begin_layout Standard
30230 挿入\SpecialChar \menuseparator
30236 arg "box-insert Frameless"
30239 を使って挿入することができます。すると、
30240 \begin_inset Graphics
30241 filename ../clipart/BoxInsetDefaultQt4.png
30243 scaleBeforeRotation
30251 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
30255 メニューを選択すると現れるボックスダイアログでは、
30271 型は、新規ボックスの既定値となっており、第
30272 \begin_inset CommandInset ref
30274 reference "sec:ミニページ"
30283 \begin_inset CommandInset ref
30285 reference "sec:Parbox"
30294 \begin_inset CommandInset ref
30296 reference "sec:ハイフネーションの回避"
30303 \begin_layout Standard
30304 ボックスは付番されないので、フロートや脚注のように参照することはできません。
30307 \begin_layout Standard
30308 \begin_inset Note Greyedout
30311 \begin_layout Plain Layout
30320 環境の単独要素とすべきではありません。
30328 \begin_layout Standard
30329 \begin_inset Note Greyedout
30332 \begin_layout Plain Layout
30333 【註】理由は不明ですが、枠付きボックスを使用している場合には、
30346 \begin_inset CommandInset ref
30348 reference "sec:ハイフネーションの回避"
30360 \begin_layout Section
30362 \begin_inset CommandInset label
30364 name "sec:ボックスダイアログ"
30369 \begin_inset Index idx
30372 \begin_layout Plain Layout
30373 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
30381 \begin_layout Subsection
30383 \begin_inset Index idx
30386 \begin_layout Plain Layout
30387 ぼっくす@ボックス ! すんぽう@寸法
30395 \begin_layout Standard
30404 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
30405 \begin_inset CommandInset ref
30415 フィールドには、加えて以下の寸法を使用することができます。
30418 \begin_layout Description
30419 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
30420 \begin_inset Newline newline
30424 \begin_inset Newline newline
30428 \begin_inset Newline newline
30432 \begin_inset Box Boxed
30442 height_special "depth"
30445 \begin_layout Plain Layout
30453 \begin_inset Newline newline
30457 \begin_inset Newline newline
30463 \begin_layout Description
30464 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
30465 \begin_inset Box Boxed
30475 height_special "height"
30478 \begin_layout Plain Layout
30488 \begin_layout Description
30490 \begin_inset Box Boxed
30500 height_special "totalheight"
30503 \begin_layout Plain Layout
30513 \begin_layout Description
30514 幅 これはボックスの幅を高さに設定します。
30515 \begin_inset Box Boxed
30525 height_special "width"
30528 \begin_layout Plain Layout
30538 \begin_layout Subsection
30540 \begin_inset Index idx
30543 \begin_layout Plain Layout
30544 ぼっくす@ボックス ! もじそろえ@文字揃え
30552 \begin_layout Standard
30557 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
30560 \begin_layout Description
30562 \begin_inset Box Boxed
30572 height_special "totalheight"
30575 \begin_layout Plain Layout
30585 \begin_layout Description
30587 \begin_inset Box Boxed
30597 height_special "totalheight"
30600 \begin_layout Plain Layout
30610 \begin_layout Description
30612 \begin_inset Box Boxed
30622 height_special "totalheight"
30625 \begin_layout Plain Layout
30635 \begin_layout Standard
30636 \begin_inset Note Greyedout
30639 \begin_layout Plain Layout
30644 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
30652 \begin_layout Standard
30653 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
30656 \begin_layout Standard
30657 \begin_inset VSpace bigskip
30664 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
30667 \begin_layout Description
30669 \begin_inset Box Boxed
30679 height_special "totalheight"
30682 \begin_layout Plain Layout
30692 \begin_layout Description
30694 \begin_inset Box Boxed
30704 height_special "totalheight"
30707 \begin_layout Plain Layout
30717 \begin_layout Description
30719 \begin_inset Box Boxed
30729 height_special "totalheight"
30732 \begin_layout Plain Layout
30742 \begin_layout Description
30743 広げる これは例示のための本文行です。
30744 \begin_inset Box Boxed
30754 height_special "totalheight"
30757 \begin_layout Plain Layout
30762 \begin_layout Plain Layout
30767 \begin_layout Plain Layout
30777 \begin_layout Standard
30778 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
30781 \begin_layout Standard
30782 \begin_inset VSpace bigskip
30789 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
30792 \begin_layout Standard
30794 \begin_inset Box Boxed
30804 height_special "totalheight"
30807 \begin_layout Plain Layout
30812 \begin_layout Plain Layout
30817 \begin_layout Plain Layout
30827 \begin_layout Standard
30832 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
30835 \begin_layout Standard
30837 \begin_inset Box Boxed
30847 height_special "totalheight"
30850 \begin_layout Plain Layout
30851 このボックスの文章は水平方向に広げてあります。
30859 \begin_layout Subsection
30861 \begin_inset CommandInset label
30868 \begin_inset Index idx
30871 \begin_layout Plain Layout
30872 ぼっくす@ボックス ! そうしょく@装飾
30880 \begin_layout Standard
30885 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
30888 \begin_layout Description
30892 \begin_layout Description
30893 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
30900 \begin_inset Box Boxed
30910 height_special "totalheight"
30913 \begin_layout Plain Layout
30923 \begin_layout Description
30924 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
30925 \begin_inset space \thinspace{}
30929 \begin_inset Box ovalbox
30939 height_special "totalheight"
30942 \begin_layout Plain Layout
30952 \begin_layout Description
30953 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
30954 \begin_inset space \thinspace{}
30958 \begin_inset Box Ovalbox
30968 height_special "totalheight"
30971 \begin_layout Plain Layout
30981 \begin_layout Description
30982 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
30989 \begin_inset space \thinspace{}
30993 \begin_inset Box Shadowbox
31003 height_special "totalheight"
31006 \begin_layout Plain Layout
31016 \begin_layout Description
31017 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
31021 \begin_layout Plain Layout
31023 \begin_inset CommandInset ref
31025 reference "sec:色付きボックス"
31034 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
31035 \begin_inset Box Shaded
31045 height_special "totalheight"
31048 \begin_layout Plain Layout
31057 \begin_layout Description
31058 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
31059 \begin_inset space \thinspace{}
31069 \begin_inset space \thinspace{}
31079 \begin_inset space \thinspace{}
31089 \begin_inset space \thinspace{}
31093 \begin_inset space \thinspace{}
31097 \begin_inset space \thinspace{}
31101 \begin_inset Box Doublebox
31111 height_special "totalheight"
31114 \begin_layout Plain Layout
31124 \begin_layout Standard
31125 \begin_inset VSpace bigskip
31128 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
31133 \begin_inset Index idx
31136 \begin_layout Plain Layout
31137 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
31145 \begin_layout Standard
31146 \begin_inset VSpace bigskip
31153 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
31173 \begin_inset Box Framed
31183 height_special "totalheight"
31186 \begin_layout Plain Layout
31195 \begin_layout Section
31197 \begin_inset Index idx
31200 \begin_layout Plain Layout
31201 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
31209 \begin_layout Standard
31217 \begin_inset space \thinspace{}
31220 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
31221 \begin_inset space \thinspace{}
31227 \begin_layout Standard
31237 \begin_layout Standard
31241 \begin_layout Plain Layout
31253 \begin_inset Box Boxed
31263 height_special "totalheight"
31266 \begin_layout Plain Layout
31275 \begin_inset space \thinspace{}
31279 \begin_inset space \thinspace{}
31283 \begin_inset space \thinspace{}
31295 \begin_layout Plain Layout
31309 \begin_layout Standard
31310 \begin_inset VSpace bigskip
31313 枠とボックスの内容との空白は、すべての枠様式について3
31314 \begin_inset space \thinspace{}
31317 ptが既定値になっています。これは、長さ
31323 を別の値に設定することによって変更することができます。たとえば
31326 \begin_layout Standard
31336 \begin_layout Standard
31338 \begin_inset space \thinspace{}
31341 ptにし、以下のボックスのようになります。
31344 \begin_layout Standard
31348 \begin_layout Plain Layout
31360 \begin_inset Box Boxed
31370 height_special "totalheight"
31373 \begin_layout Plain Layout
31382 \begin_inset space \thinspace{}
31386 \begin_inset space \thinspace{}
31390 \begin_inset space \thinspace{}
31402 \begin_layout Plain Layout
31416 \begin_layout Standard
31417 \begin_inset VSpace bigskip
31420 楕円形ボックスの丸い角の直径は、コマンド
31429 \begin_layout Standard
31437 \begin_layout Standard
31439 \begin_inset space \thinspace{}
31445 \begin_layout Standard
31453 \begin_layout Standard
31457 \begin_inset space \thinspace{}
31461 \begin_inset space \thinspace{}
31475 \begin_layout Standard
31479 \begin_layout Plain Layout
31489 \begin_inset Box Ovalbox
31499 height_special "totalheight"
31502 \begin_layout Plain Layout
31511 \begin_inset space \thinspace{}
31515 \begin_inset space \thinspace{}
31519 \begin_inset space \thinspace{}
31531 \begin_layout Plain Layout
31543 \begin_layout Standard
31544 \begin_inset VSpace bigskip
31553 を変更することで調整できます。以下のボックスでは
31556 \begin_layout Standard
31566 \begin_layout Standard
31568 \begin_inset space \thinspace{}
31574 \begin_layout Standard
31578 \begin_layout Plain Layout
31590 \begin_inset Box Shadowbox
31600 height_special "totalheight"
31603 \begin_layout Plain Layout
31612 \begin_inset space \thinspace{}
31616 \begin_inset space \thinspace{}
31620 \begin_inset space \thinspace{}
31632 \begin_layout Plain Layout
31646 \begin_layout Standard
31647 \begin_inset VSpace bigskip
31653 \begin_layout Standard
31661 \begin_inset space \thinspace{}
31664 ptです。ボックスの中身と枠の間の空白の既定値は9
31665 \begin_inset space \thinspace{}
31674 の値を変えることで変更することができます。たとえば、下記の
31681 \begin_layout Standard
31689 \begin_inset Newline newline
31699 \begin_layout Standard
31700 というTeXコードコマンドで設定してあります。
31704 \begin_layout Plain Layout
31713 \begin_layout Plain Layout
31725 \begin_inset Box Framed
31735 height_special "totalheight"
31738 \begin_layout Plain Layout
31752 \begin_layout Plain Layout
31761 \begin_layout Plain Layout
31775 \begin_layout Standard
31776 \begin_inset VSpace bigskip
31782 \begin_layout Standard
31787 ボックスでは、ボックスの内容と枠の余白の既定値は3
31788 \begin_inset space \thinspace{}
31797 の値を変更することで変えられます。既定の背景色である赤色は、
31801 definecolor{shadebox}
31803 コマンドで局所的に変更することもできますし、
31805 ツール\SpecialChar \menuseparator
31806 設定\SpecialChar \menuseparator
31807 色\SpecialChar \menuseparator
31810 メニューからグローバルに変更することもできます。
31817 \begin_inset CommandInset ref
31819 reference "sec:色付きの表"
31827 \begin_layout Plain Layout
31838 をプリアンブルに読み込む必要があります。第
31839 \begin_inset CommandInset ref
31841 reference "sec:色付きボックス"
31853 \begin_layout Standard
31854 たとえば、下記の影付き背景ボックスの外見は
31857 \begin_layout Standard
31867 \begin_inset Newline newline
31874 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31877 \begin_layout Standard
31878 というTeXコードコマンドを使って設定してあります。
31881 \begin_layout Standard
31885 \begin_layout Plain Layout
31894 \begin_layout Plain Layout
31898 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31904 \begin_inset Box Shaded
31914 height_special "totalheight"
31917 \begin_layout Plain Layout
31933 \begin_layout Plain Layout
31942 \begin_layout Plain Layout
31946 definecolor{shadecolor}{rgb}{1,0,0}
31954 \begin_layout Standard
31955 \begin_inset VSpace bigskip
31958 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
31961 \begin_layout Section
31963 \begin_inset CommandInset label
31970 \begin_inset Index idx
31973 \begin_layout Plain Layout
31974 ぼっくす@ボックス ! みにぺーじ@ミニページ
31982 \begin_layout Standard
31983 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
31986 \begin_layout Standard
31987 ミニページは、複数の言語を含む文書を執筆する際に便利です。
31990 \begin_layout Standard
31991 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
31995 \SpecialChar \menuseparator
32000 \SpecialChar \menuseparator
32005 メニューで挿入した水平フィルで隔てられています。
32006 \begin_inset Newpage newpage
32012 \begin_layout Standard
32013 \begin_inset Box Frameless
32023 height_special "totalheight"
32026 \begin_layout Plain Layout
32027 Dies ist ein deutscher Text.
32028 Dies ist ein deutscher Text.
32029 Dies ist ein deutscher Text.
32030 Dies ist ein deutscher Text.
32031 Dies ist ein deutscher Text.
32032 Dies ist ein deutscher Text.
32033 Dies ist ein deutscher Text.
32034 Dies ist ein deutscher Text.
32035 Dies ist ein deutscher Text.
32036 Dies ist ein deutscher Text.
32037 Dies ist ein deutscher Text.
32038 Dies ist ein deutscher Text.
32039 Dies ist ein deutscher Text
32043 \begin_layout Plain Layout
32044 Dies ist eine deutsche Fußnote.
32050 Dies ist ein deutscher Text.
32051 Dies ist ein deutscher Text.
32057 \begin_inset space \hfill{}
32061 \begin_inset Box Frameless
32071 height_special "totalheight"
32074 \begin_layout Plain Layout
32075 This is an English Text.
32076 This is an English Text.
32077 This is an English Text.
32078 This is an English Text.
32079 This is an English Text.
32080 This is an English Text.
32081 This is an English Text.
32082 This is an English Text.
32083 This is an English Text.
32084 This is an English Text.
32085 This is an English Text.
32086 This is an English Text.
32087 This is an English Text.
32088 This is an English Text.
32089 This is an English Text.
32090 This is an English Text.
32094 \begin_layout Plain Layout
32095 This is an English footnote.
32100 This is an English Text.
32108 \begin_layout Standard
32109 \begin_inset VSpace bigskip
32112 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
32113 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
32116 \begin_layout Standard
32118 \begin_inset Tabular
32119 <lyxtabular version="3" rows="3" columns="4">
32120 <features rotate="0" tabularvalignment="middle">
32121 <column alignment="center" valignment="top" width="0pt">
32122 <column alignment="center" valignment="top" width="0pt">
32123 <column alignment="center" valignment="top" width="0pt">
32124 <column alignment="center" valignment="top" width="0pt">
32126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32129 \begin_layout Plain Layout
32135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32138 \begin_layout Plain Layout
32144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32147 \begin_layout Plain Layout
32152 \begin_layout Plain Layout
32163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32166 \begin_layout Plain Layout
32174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32177 \begin_layout Plain Layout
32183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32186 \begin_layout Plain Layout
32192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32195 \begin_layout Plain Layout
32201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32204 \begin_layout Plain Layout
32212 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32215 \begin_layout Plain Layout
32221 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32224 \begin_layout Plain Layout
32230 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32233 \begin_layout Plain Layout
32239 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32242 \begin_layout Plain Layout
32256 \begin_layout Standard
32258 \begin_inset Box Frameless
32268 height_special "totalheight"
32271 \begin_layout Plain Layout
32273 \begin_inset Tabular
32274 <lyxtabular version="3" rows="3" columns="4">
32275 <features rotate="0" tabularvalignment="middle">
32276 <column alignment="center" valignment="top" width="0pt">
32277 <column alignment="center" valignment="top" width="0pt">
32278 <column alignment="center" valignment="top" width="0pt">
32279 <column alignment="center" valignment="top" width="0pt">
32281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32284 \begin_layout Plain Layout
32290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32293 \begin_layout Plain Layout
32299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32302 \begin_layout Plain Layout
32307 \begin_layout Plain Layout
32318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32321 \begin_layout Plain Layout
32329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32332 \begin_layout Plain Layout
32338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32341 \begin_layout Plain Layout
32347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32350 \begin_layout Plain Layout
32356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32359 \begin_layout Plain Layout
32367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32370 \begin_layout Plain Layout
32376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32379 \begin_layout Plain Layout
32385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32388 \begin_layout Plain Layout
32394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32397 \begin_layout Plain Layout
32416 \begin_layout Standard
32417 \begin_inset VSpace bigskip
32420 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
32424 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
32427 \begin_layout Standard
32428 ミニページは、文章部に背景色を与えるのに使用することもできます。第
32429 \begin_inset CommandInset ref
32431 reference "sub:段落の着色"
32438 \begin_layout Standard
32439 \begin_inset Note Greyedout
32442 \begin_layout Plain Layout
32447 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
32455 \begin_layout Section
32457 \begin_inset CommandInset label
32464 \begin_inset Index idx
32467 \begin_layout Plain Layout
32468 ぼっくす@ボックス ! Parboxes
32476 \begin_layout Standard
32477 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
32480 \begin_layout Standard
32482 \begin_inset Box Frameless
32492 height_special "totalheight"
32495 \begin_layout Plain Layout
32496 これはparbox内の文章です。これはparbox内の文章です。
32499 \begin_layout Plain Layout
32504 \begin_layout Plain Layout
32505 これはparbox内の脚注であり、したがって表示はされません。
32518 \begin_layout Section
32520 \begin_inset Index idx
32523 \begin_layout Plain Layout
32524 ぼっくす@ボックス ! もじよう@文字用
32532 \begin_layout Subsection
32534 \begin_inset CommandInset label
32536 name "sec:ハイフネーションの回避"
32541 \begin_inset Index idx
32544 \begin_layout Plain Layout
32545 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
32553 \begin_layout Standard
32554 単語や文章がハイフネートされるのを防ぐには、
32559 \begin_inset Newline newline
32565 \begin_layout Standard
32566 This line is an example to show how you can prevent the hyphenation of
32567 \begin_inset Quotes eld
32571 \begin_inset Quotes erd
32577 \begin_layout Standard
32578 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
32589 \begin_layout Standard
32593 \begin_layout Standard
32594 This line is an example to show how you can prevent the hyphenation of
32595 \begin_inset Box Frameless
32605 height_special "totalheight"
32608 \begin_layout Plain Layout
32609 \begin_inset Quotes eld
32613 \begin_inset Quotes erd
32624 \begin_layout Standard
32625 別の方法としては、以下のように、単語の前に直接TeXコードで「
32634 \begin_layout Standard
32635 This line is an example to show how you can prevent the hyphenation of
32636 \begin_inset Quotes eld
32643 \begin_layout Plain Layout
32653 \begin_inset Quotes erd
32659 \begin_layout Standard
32660 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
32664 \SpecialChar \menuseparator
32669 \SpecialChar \menuseparator
32677 arg "newline-insert newline"
32680 )から改行を単語の前に入れてください。
32683 \begin_layout Standard
32684 This line is an example to show how you can prevent the hyphenation of
32685 \begin_inset Newline newline
32689 \begin_inset Box Frameless
32699 height_special "totalheight"
32702 \begin_layout Plain Layout
32703 \begin_inset Quotes eld
32707 \begin_inset Quotes erd
32718 \begin_layout Subsection
32720 \begin_inset CommandInset label
32727 \begin_inset Index idx
32730 \begin_layout Plain Layout
32731 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
32737 \begin_inset Index idx
32740 \begin_layout Plain Layout
32741 ぼっくす@ボックス ! Raiseboxes
32749 \begin_layout Standard
32756 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
32765 \begin_layout Standard
32770 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
32773 \begin_layout Standard
32774 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
32777 \begin_layout Standard
32778 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
32781 \begin_layout Standard
32791 \begin_layout Standard
32792 というコマンドを挿入してください。単語の後には、閉じ括弧「
32797 \begin_inset Newline newline
32803 \begin_layout Standard
32804 This is a text line with the word
32808 \begin_layout Plain Layout
32820 \begin_inset Quotes eld
32824 \begin_inset Quotes erd
32831 \begin_layout Plain Layout
32841 \begin_layout Standard
32842 \begin_inset VSpace bigskip
32845 行中の文字を上げ下げすると、以下のように行間が広がります。
32848 \begin_layout Standard
32849 This is a text line with the word
32853 \begin_layout Plain Layout
32865 \begin_inset Quotes eld
32869 \begin_inset Quotes erd
32876 \begin_layout Plain Layout
32884 \begin_inset Newline newline
32887 This is a text line with the word
32891 \begin_layout Plain Layout
32901 \begin_inset Quotes eld
32905 \begin_inset Quotes erd
32912 \begin_layout Plain Layout
32922 \begin_layout Standard
32923 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
32926 \begin_layout Standard
32936 \begin_layout Standard
32940 \begin_layout Standard
32941 This is a text line with the word
32945 \begin_layout Plain Layout
32957 \begin_inset Quotes eld
32961 \begin_inset Quotes erd
32968 \begin_layout Plain Layout
32976 \begin_inset Newline newline
32979 This is a text line with the word
32983 \begin_layout Plain Layout
32987 raisebox{0.5cm}[0pt]{
32993 \begin_inset Quotes eld
32997 \begin_inset Quotes erd
33004 \begin_layout Plain Layout
33014 \begin_layout Section
33016 \begin_inset CommandInset label
33023 \begin_inset Index idx
33026 \begin_layout Plain Layout
33027 ぼっくす@ボックス ! いろつき@色付き
33035 \begin_layout Subsection
33037 \begin_inset Index idx
33040 \begin_layout Plain Layout
33049 \begin_layout Standard
33050 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
33055 \begin_inset Index idx
33058 \begin_layout Plain Layout
33059 LaTeXぱっけーじ@LaTeXパッケージ ! color
33064 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
33067 \begin_layout Standard
33072 @ifundefined{textcolor}
33073 \begin_inset Newline newline
33077 \begin_inset Phantom HPhantom
33080 \begin_layout Plain Layout
33083 \begin_inset space ~
33093 usepackage{color}}{}
33096 \begin_layout Standard
33101 パッケージは、文章を着色するとLyXが自動的に読み込みます
33105 \begin_layout Plain Layout
33106 これが二度読み込まれることを回避するには、
33120 \begin_layout Standard
33121 \begin_inset VSpace medskip
33130 コマンドを使って作ります。これは、以下のような書式で使われます。
33133 \begin_layout Standard
33138 colorbox{color}{ボックスの内容}
33141 \begin_layout Standard
33142 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
33145 \begin_layout Standard
33147 \begin_inset Newline newline
33183 \begin_inset Newline newline
33187 \begin_inset CommandInset ref
33189 reference "sec:色付きの表"
33193 節に述べられているようにすれば、自前の色を定義することもできます。
33196 \begin_layout Standard
33197 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
33200 \begin_layout Standard
33208 \begin_layout Standard
33209 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
33214 \begin_inset Newline newline
33220 \begin_layout Standard
33225 \begin_layout Plain Layout
33238 \begin_layout Plain Layout
33248 \begin_layout Standard
33249 \begin_inset VSpace bigskip
33252 ボックスの枠を別の色にしたい場合には、以下の書式で
33261 \begin_layout Standard
33266 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
33269 \begin_layout Standard
33282 の拡張です。枠の太さと枠とボックスの中身との余白は、第
33283 \begin_inset CommandInset ref
33304 \begin_layout Standard
33308 \begin_layout Standard
33313 fcolorbox{cyan}{magenta}{
33316 \begin_layout Standard
33320 \begin_layout Standard
33322 \begin_inset space \thinspace{}
33326 \begin_inset Newline newline
33333 \begin_layout Plain Layout
33348 \begin_layout Plain Layout
33352 fcolorbox{cyan}{magenta}{
33357 これは着色した色付きボックス中の文章です。
33361 \begin_layout Plain Layout
33371 \begin_layout Standard
33372 \begin_inset VSpace bigskip
33375 もちろん、色付きボックスの中に色付き文字を入れることもできます
33376 \begin_inset Newline newline
33383 \begin_layout Plain Layout
33387 fcolorbox{cyan}{magenta}{
33394 これは着色した色付きボックス中の色付き文章です。
33400 \begin_layout Plain Layout
33411 \begin_layout Plain Layout
33425 \begin_layout Standard
33428 \begin_inset VSpace medskip
33434 \begin_layout Standard
33435 \begin_inset Note Greyedout
33438 \begin_layout Plain Layout
33443 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
33451 \begin_layout Subsection
33453 \begin_inset CommandInset label
33460 \begin_inset Index idx
33463 \begin_layout Plain Layout
33472 \begin_layout Standard
33473 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
33482 \begin_layout Standard
33490 \begin_layout Standard
33491 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
33498 \begin_layout Standard
33502 \begin_layout Plain Layout
33506 colorbox{lightgrey}{
33512 \begin_inset Box Frameless
33522 height_special "totalheight"
33525 \begin_layout Plain Layout
33526 これは背景色を付けた文章です。これは背景色を付けた文章です。
33529 \begin_layout Plain Layout
33530 \begin_inset VSpace defskip
33537 \begin_layout Plain Layout
33543 を付けることもできますし、図表を挿入することもできます。
33546 \begin_layout Plain Layout
33548 \begin_inset Tabular
33549 <lyxtabular version="3" rows="3" columns="3">
33550 <features rotate="0" tabularvalignment="middle">
33551 <column alignment="center" valignment="top" width="0">
33552 <column alignment="center" valignment="top" width="0">
33553 <column alignment="center" valignment="top" width="0">
33555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33558 \begin_layout Plain Layout
33564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33567 \begin_layout Plain Layout
33573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33576 \begin_layout Plain Layout
33584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33587 \begin_layout Plain Layout
33593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33596 \begin_layout Plain Layout
33598 \begin_inset Quotes erd
33606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33609 \begin_layout Plain Layout
33617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33620 \begin_layout Plain Layout
33626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33629 \begin_layout Plain Layout
33635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33638 \begin_layout Plain Layout
33658 \begin_layout Plain Layout
33668 \begin_layout Section
33672 \begin_layout Standard
33673 本節で述べられているコマンドを使用するには、文書プリアンブルで
33676 \begin_layout Standard
33681 @ifundefined{rotatebox}
33682 \begin_inset Newline newline
33686 \begin_inset Phantom HPhantom
33689 \begin_layout Plain Layout
33692 \begin_inset space ~
33702 usepackage{graphicx}}{}
33705 \begin_layout Standard
33711 \begin_inset Index idx
33714 \begin_layout Plain Layout
33715 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
33720 LaTeXパッケージを読み込む必要があります。
33723 \begin_layout Standard
33724 \begin_inset Note Greyedout
33727 \begin_layout Plain Layout
33732 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
33740 \begin_layout Standard
33741 \begin_inset Note Greyedout
33744 \begin_layout Plain Layout
33749 フロートは回転伸縮したボックスの中に入れることはできません。
33757 \begin_layout Subsection
33759 \begin_inset Index idx
33762 \begin_layout Plain Layout
33763 ぼっくす@ボックス ! かいてんした@回転した
33769 \begin_inset Index idx
33772 \begin_layout Plain Layout
33773 かいてん@回転 ! そざいの@素材の---
33781 \begin_layout Standard
33782 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
33788 コマンドを使用すれば作成することができます。
33791 \begin_layout Standard
33796 rotatebox[回転の原点]{回転角}{ボックスの内容}
33799 \begin_layout Standard
33804 の形で指定します。位置として指定可能なのは、
33824 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
33828 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
33832 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
33835 \begin_layout Standard
33836 以下の例では、「回転した」文章の前にTeXコードで
33840 rotatebox[origin=c]{60}{
33842 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
33849 \begin_layout Standard
33854 \begin_layout Plain Layout
33858 rotatebox[origin=c]{60}{
33867 \begin_layout Plain Layout
33877 \begin_layout Standard
33878 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
33881 \begin_layout Standard
33886 \begin_layout Plain Layout
33890 rotatebox[origin=r]{-60}{
33896 \begin_inset Box Doublebox
33906 height_special "totalheight"
33909 \begin_layout Plain Layout
33919 \begin_layout Plain Layout
33930 \begin_layout Plain Layout
33934 rotatebox[origin=lb]{60}{
33940 \begin_inset Formula $\int A\,\mathrm{d}x=B$
33947 \begin_layout Plain Layout
33957 \begin_layout Standard
33958 あるいは、以下のように図や表を入れることもできます。
33961 \begin_layout Standard
33966 \begin_layout Plain Layout
33970 rotatebox[origin=lb]{90}{
33976 \begin_inset Graphics
33977 filename ../clipart/platypus.eps
33987 \begin_layout Plain Layout
33998 \begin_layout Plain Layout
34002 rotatebox[origin=l]{-90}{
34008 \begin_inset Tabular
34009 <lyxtabular version="3" rows="2" columns="2">
34010 <features rotate="0" tabularvalignment="middle">
34011 <column alignment="center" valignment="top" width="0">
34012 <column alignment="center" valignment="top" width="0">
34014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34017 \begin_layout Plain Layout
34023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34026 \begin_layout Plain Layout
34034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34037 \begin_layout Plain Layout
34043 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34046 \begin_layout Plain Layout
34061 \begin_layout Plain Layout
34069 \begin_inset Index idx
34072 \begin_layout Plain Layout
34079 \begin_inset Index idx
34082 \begin_layout Plain Layout
34083 ひょうのちょうせい@表の調整 ! かいてん@回転
34091 \begin_layout Subsection
34093 \begin_inset Index idx
34096 \begin_layout Plain Layout
34097 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
34103 \begin_inset Index idx
34106 \begin_layout Plain Layout
34107 しんしゅく@伸縮 ! そざいの@素材の---
34115 \begin_layout Standard
34131 \begin_layout Standard
34141 \begin_layout Standard
34146 scalebox{水平方向}[垂直方向]{ボックスの内容}
34149 \begin_layout Standard
34150 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
34153 \begin_layout Standard
34160 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
34164 \begin_layout Plain Layout
34177 \begin_layout Plain Layout
34187 \begin_layout Standard
34192 scalebox{2}[1]{こんにちは}
34198 \begin_layout Plain Layout
34211 \begin_layout Plain Layout
34221 \begin_layout Standard
34222 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
34226 scalebox{-1}[1]{こんにちは}
34228 というコマンドは、右のように反転文字を生成するのに使用できます:
34232 \begin_layout Plain Layout
34245 \begin_layout Plain Layout
34255 \begin_layout Standard
34260 scalebox{1}[-1]{こんにちは}
34266 \begin_layout Plain Layout
34279 \begin_layout Plain Layout
34289 \begin_layout Standard
34294 scalebox{-1}[1]{ボックスの内容}
34297 \begin_inset Newline newline
34304 reflectbox{ボックスの内容}
34307 \begin_inset Newline newline
34313 \begin_layout Standard
34314 \begin_inset VSpace bigskip
34317 指定した幅や丈にボックスを伸縮させるには、
34326 \begin_layout Standard
34331 resizebox{幅}{丈}{ボックスの内容}
34334 \begin_layout Standard
34335 です。上記二つのコマンド引数のうち一つが感嘆符「
34339 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
34342 \begin_layout Standard
34347 resizebox{2cm}{1cm}{こんにちは}
34353 \begin_layout Plain Layout
34357 resizebox{2cm}{1cm}{
34366 \begin_layout Plain Layout
34374 \begin_inset Newline newline
34381 resizebox{2cm}{!}{こんにちは}
34387 \begin_layout Plain Layout
34400 \begin_layout Plain Layout
34410 \begin_layout Standard
34411 \begin_inset VSpace bigskip
34415 \begin_inset Note Greyedout
34418 \begin_layout Plain Layout
34431 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
34439 \begin_layout Standard
34440 \begin_inset VSpace bigskip
34446 \begin_layout Standard
34447 ボックスは好きな順序で組み合わせることができます。たとえば、
34448 \begin_inset Newline newline
34455 rotatebox[origin=c]{-45}{
34459 reflectbox{こんにちは}}}
34460 \begin_inset Newline newline
34468 \begin_layout Standard
34473 \begin_layout Plain Layout
34477 rotatebox[origin=c]{-45}{
34490 \begin_layout Plain Layout
34500 \begin_layout Standard
34502 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
34505 \begin_layout Standard
34510 \begin_layout Plain Layout
34514 rotatebox[origin=c]{-30}{
34524 \begin_inset Graphics
34525 filename ../clipart/platypus.eps
34535 \begin_layout Plain Layout
34546 \begin_layout Plain Layout
34550 rotatebox[origin=c]{-45}{
34560 \begin_inset Tabular
34561 <lyxtabular version="3" rows="2" columns="2">
34562 <features rotate="0" tabularvalignment="middle">
34563 <column alignment="center" valignment="top" width="0">
34564 <column alignment="center" valignment="top" width="0">
34566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34569 \begin_layout Plain Layout
34575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34578 \begin_layout Plain Layout
34586 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34589 \begin_layout Plain Layout
34595 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34598 \begin_layout Plain Layout
34613 \begin_layout Plain Layout
34624 \begin_layout Plain Layout
34628 rotatebox[origin=c]{-45}{
34638 \begin_inset Formula $\int A\,\mathrm{d}x=B$
34645 \begin_layout Plain Layout
34653 \begin_inset Index idx
34656 \begin_layout Plain Layout
34657 ず@図 ! のしんしゅく@---の伸縮
34663 \begin_inset Index idx
34666 \begin_layout Plain Layout
34667 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
34675 \begin_layout Standard
34684 \begin_layout Plain Layout
34685 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
34690 には、別行建て数式も伸縮させることができます。
34693 \begin_layout Chapter
34696 Objects Surrounded by Text
34697 \begin_inset Index idx
34700 \begin_layout Plain Layout
34711 \begin_layout Section
34713 \begin_inset CommandInset label
34720 \begin_inset Index idx
34723 \begin_layout Plain Layout
34724 ふろーと@フロート ! おりかえしふろーと@折返しフロート
34732 \begin_inset Index idx
34735 \begin_layout Plain Layout
34738 Surrounded by text ! Wrap Floats
34746 \begin_layout Standard
34747 \begin_inset Wrap figure
34754 \begin_layout Plain Layout
34755 \begin_inset Graphics
34756 filename ../clipart/mobius.eps
34758 scaleBeforeRotation
34759 rotateOrigin center
34766 \begin_layout Plain Layout
34767 \begin_inset Caption Standard
34769 \begin_layout Plain Layout
34770 \begin_inset CommandInset label
34772 name "fig:折返し図フロート"
34786 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
34791 \begin_inset Index idx
34794 \begin_layout Plain Layout
34795 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
34802 挿入\SpecialChar \menuseparator
34803 フロート\SpecialChar \menuseparator
34814 \begin_layout Plain Layout
34815 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
34820 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
34836 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
34837 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
34838 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
34839 \begin_inset CommandInset ref
34841 reference "fig:折返し図フロート"
34846 \begin_inset space \thinspace{}
34850 \begin_inset space \thinspace{}
34853 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
34857 \begin_layout Plain Layout
34859 \begin_inset CommandInset ref
34861 reference "cha:LyXで使用できる単位"
34873 \begin_layout Standard
34874 \begin_inset Note Greyedout
34877 \begin_layout Plain Layout
34882 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
34891 \begin_layout Standard
34895 \begin_layout Itemize
34896 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
34897 うになってから、正確な位置に挿入しなくてはなりません。
34900 \begin_layout Itemize
34901 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
34904 \begin_layout Itemize
34905 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
34908 \begin_layout Itemize
34909 折返しフロートは、節見出しや表中に入れることは認められていません。
34912 \begin_layout Itemize
34915 Their numbering and referencing works as described in chap.
34918 \begin_inset space \thinspace{}
34922 \begin_inset CommandInset ref
34924 reference "chap:フロート"
34931 \begin_layout Section
34934 Surrounded Fixed Objects
34935 \begin_inset Index idx
34938 \begin_layout Plain Layout
34941 Surrounded by text ! Fixed objects
34949 \begin_layout Standard
34952 The wrap floats described in sec.
34955 \begin_inset space \thinspace{}
34959 \begin_inset CommandInset ref
34961 reference "sec:折返しフロート"
34967 have these positions in the paragraph:
34970 \begin_layout Standard
34975 \begin_inset Tabular
34976 <lyxtabular version="3" rows="2" columns="2">
34977 <features rotate="0" tabularvalignment="middle">
34978 <column alignment="center" valignment="top" width="0">
34979 <column alignment="center" valignment="top" width="0">
34981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34984 \begin_layout Plain Layout
34987 \begin_inset Graphics
34988 filename ../../images/dialog-show-new-inset_graphics.png
34990 scaleBeforeRotation
34999 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35002 \begin_layout Plain Layout
35012 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35015 \begin_layout Plain Layout
35023 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35026 \begin_layout Plain Layout
35040 \begin_inset Tabular
35041 <lyxtabular version="3" rows="2" columns="2">
35042 <features rotate="0" tabularvalignment="middle">
35043 <column alignment="center" valignment="top" width="0">
35044 <column alignment="center" valignment="top" width="0">
35046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35049 \begin_layout Plain Layout
35057 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35060 \begin_layout Plain Layout
35063 \begin_inset Graphics
35064 filename ../../images/dialog-show-new-inset_graphics.png
35066 scaleBeforeRotation
35077 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35080 \begin_layout Plain Layout
35088 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35091 \begin_layout Plain Layout
35107 \begin_layout Standard
35110 To get an object exactly at the position where it is inserted, for example
35111 to get one of these positions:
35112 \begin_inset VSpace defskip
35118 \begin_layout Standard
35123 \begin_inset Tabular
35124 <lyxtabular version="3" rows="2" columns="2">
35125 <features rotate="0" tabularvalignment="middle">
35126 <column alignment="center" valignment="top" width="0">
35127 <column alignment="center" valignment="top" width="0">
35129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35132 \begin_layout Plain Layout
35140 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35143 \begin_layout Plain Layout
35153 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35156 \begin_layout Plain Layout
35159 \begin_inset Graphics
35160 filename ../../images/dialog-show-new-inset_graphics.png
35162 scaleBeforeRotation
35171 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35174 \begin_layout Plain Layout
35188 \begin_inset Tabular
35189 <lyxtabular version="3" rows="2" columns="2">
35190 <features rotate="0" tabularvalignment="middle">
35191 <column alignment="center" valignment="top" width="0">
35192 <column alignment="center" valignment="top" width="0">
35194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35197 \begin_layout Plain Layout
35205 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35208 \begin_layout Plain Layout
35218 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35221 \begin_layout Plain Layout
35229 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35232 \begin_layout Plain Layout
35235 \begin_inset Graphics
35236 filename ../../images/dialog-show-new-inset_graphics.png
35238 scaleBeforeRotation
35253 \begin_inset Tabular
35254 <lyxtabular version="3" rows="2" columns="3">
35255 <features rotate="0" tabularvalignment="middle">
35256 <column alignment="center" valignment="top" width="0">
35257 <column alignment="center" valignment="top" width="0">
35258 <column alignment="center" valignment="top" width="0">
35260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35263 \begin_layout Plain Layout
35271 <cell alignment="center" valignment="top" topline="true" usebox="none">
35274 \begin_layout Plain Layout
35277 \begin_inset Graphics
35278 filename ../../images/dialog-show-new-inset_graphics.png
35280 scaleBeforeRotation
35289 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35292 \begin_layout Plain Layout
35302 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35305 \begin_layout Plain Layout
35313 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35316 \begin_layout Plain Layout
35324 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35327 \begin_layout Plain Layout
35341 \begin_inset Tabular
35342 <lyxtabular version="3" rows="2" columns="3">
35343 <features rotate="0" tabularvalignment="middle">
35344 <column alignment="center" valignment="top" width="0">
35345 <column alignment="center" valignment="top" width="0">
35346 <column alignment="center" valignment="top" width="0">
35348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35351 \begin_layout Plain Layout
35359 <cell alignment="center" valignment="top" topline="true" usebox="none">
35362 \begin_layout Plain Layout
35370 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35373 \begin_layout Plain Layout
35383 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35386 \begin_layout Plain Layout
35394 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35397 \begin_layout Plain Layout
35400 \begin_inset Graphics
35401 filename ../../images/dialog-show-new-inset_graphics.png
35403 scaleBeforeRotation
35412 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35415 \begin_layout Plain Layout
35431 \begin_layout Standard
35436 \begin_inset Tabular
35437 <lyxtabular version="3" rows="3" columns="2">
35438 <features rotate="0" tabularvalignment="middle">
35439 <column alignment="center" valignment="top" width="0">
35440 <column alignment="center" valignment="top" width="0">
35442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35445 \begin_layout Plain Layout
35453 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35456 \begin_layout Plain Layout
35466 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35469 \begin_layout Plain Layout
35472 \begin_inset Graphics
35473 filename ../../images/dialog-show-new-inset_graphics.png
35475 scaleBeforeRotation
35484 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35487 \begin_layout Plain Layout
35497 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35500 \begin_layout Plain Layout
35508 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35511 \begin_layout Plain Layout
35525 \begin_inset Tabular
35526 <lyxtabular version="3" rows="3" columns="3">
35527 <features rotate="0" tabularvalignment="middle">
35528 <column alignment="center" valignment="top" width="0">
35529 <column alignment="center" valignment="top" width="0">
35530 <column alignment="center" valignment="top" width="0">
35532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35535 \begin_layout Plain Layout
35543 <cell alignment="center" valignment="top" topline="true" usebox="none">
35546 \begin_layout Plain Layout
35554 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35557 \begin_layout Plain Layout
35567 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35570 \begin_layout Plain Layout
35578 <cell alignment="center" valignment="top" usebox="none">
35581 \begin_layout Plain Layout
35584 \begin_inset Graphics
35585 filename ../../images/dialog-show-new-inset_graphics.png
35587 scaleBeforeRotation
35596 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35599 \begin_layout Plain Layout
35609 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35612 \begin_layout Plain Layout
35620 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35623 \begin_layout Plain Layout
35631 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35634 \begin_layout Plain Layout
35648 \begin_inset Tabular
35649 <lyxtabular version="3" rows="3" columns="2">
35650 <features rotate="0" tabularvalignment="middle">
35651 <column alignment="center" valignment="top" width="0">
35652 <column alignment="center" valignment="top" width="0">
35654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35657 \begin_layout Plain Layout
35665 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35668 \begin_layout Plain Layout
35678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35681 \begin_layout Plain Layout
35689 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35692 \begin_layout Plain Layout
35695 \begin_inset Graphics
35696 filename ../../images/dialog-show-new-inset_graphics.png
35698 scaleBeforeRotation
35709 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35712 \begin_layout Plain Layout
35720 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35723 \begin_layout Plain Layout
35739 \begin_layout Standard
35743 you can use the LaTeX-package
35750 \begin_inset Index idx
35753 \begin_layout Plain Layout
35754 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
35767 \begin_layout Standard
35771 \begin_layout Plain Layout
35781 \begin_inset Note Note
35784 \begin_layout Plain Layout
35789 が導入されているときのみ表示されます。
35797 \begin_layout Standard
35801 \begin_layout Plain Layout
35805 begin{window}[2,c,{
35811 \begin_inset Graphics
35812 filename ../clipart/mobius.eps
35815 scaleBeforeRotation
35816 rotateOrigin center
35824 \begin_layout Plain Layout
35829 \begin_layout Plain Layout
35839 It was in the spring of the year 1894 that all London was interested, and
35840 the fashionable world dismayed, by the murder of the Honourable Ronald
35841 Adair under most unusual and inexplicable circumstances.
35842 The public has already learned those particulars of the crime which
35848 \begin_layout Plain Layout
35859 came out in the police investigation, but a good deal was suppressed upon
35860 that occasion, since the case for the prosecution was so overwhelmingly
35861 strong that it was not necessary to bring forward all the facts.
35862 Only now, at the end of nearly ten years, am I allowed to supply those
35863 missing links which make up the whole of that remarkable chain
35871 \begin_layout Plain Layout
35883 \begin_layout Standard
35889 \begin_layout Plain Layout
35898 Footnote of the paragraph with the fixed object.
35902 \begin_layout Plain Layout
35912 \begin_layout Standard
35915 Surrounded fixed objects are used to let text float around them, at which
35916 the object's position in the paragraph can be determined by the number
35918 In contrary to floats is it not possible to have a numbered caption.
35921 \begin_layout Standard
35924 A fixed object is inserted by adding the command
35927 \begin_layout Standard
35932 begin{window}[2,c,{
35935 \begin_layout Standard
35938 as TeX Code at the beginning of the paragraph.
35939 The first parameter in the bracket, here '2', defines the number of lines
35940 above the object, the second, here 'c', the position of the object.
35941 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
35942 Behind the command you insert the object.
35943 In this example an image with a width of 40
35944 \begin_inset space \thinspace{}
35947 % of the text column width was inserted.
35948 The object can also be a table, a box or an equation.
35949 Behind the object the command
35952 \begin_layout Standard
35955 },description text]
35956 \begin_inset Newline newline
35962 \begin_layout Standard
35967 \begin_inset Quotes eld
35975 \begin_inset Quotes erd
35978 is in the second line.
35979 The description text is optional.
35980 The text surrounding the object must be in the same paragraph as the object,
35981 so it must begin directly after the
35986 At the end of the paragraph insert the command:
35989 \begin_layout Standard
35997 \begin_layout Standard
36000 Within a paragraph with a fixed object, you cannot insert footnotes in the
36002 You have to use instead the command
36008 inside the paragraph and outside the command
36014 as described in sec.
36017 \begin_inset space \thinspace{}
36021 \begin_inset CommandInset ref
36030 \begin_layout Standard
36034 \begin_layout Plain Layout
36044 \begin_inset Note Note
36047 \begin_layout Plain Layout
36052 が導入されていないときのみ表示されます。
36060 \begin_layout Standard
36061 本節の以下の部分を出力に表示するには、LaTeXパッケージ
36068 \begin_layout Standard
36072 \begin_layout Plain Layout
36084 \begin_layout Section
36088 \begin_inset Index idx
36091 \begin_layout Plain Layout
36100 \begin_inset Index idx
36103 \begin_layout Plain Layout
36106 Surrounded by text ! Initials
36114 \begin_layout Standard
36117 To use initials, you must have the LaTeX package
36124 \begin_inset Index idx
36127 \begin_layout Plain Layout
36128 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
36135 installed and use the module
36139 in your document (menu
36141 Document\SpecialChar \menuseparator
36142 Settings\SpecialChar \menuseparator
36146 To insert an initial, use the style
36151 This style has a mandatory and two optional arguments.
36152 The arguments are inserted via the
36157 The mandatory argument
36161 contains the letter(s) that is the initial, the argument
36164 \begin_inset space ~
36168 \begin_inset space ~
36173 contains the rest of the word or text of the initial letter(s).
36178 contains parameters to modify the initial.
36179 For more information about the possible parameters see the documentation
36187 \begin_inset CommandInset citation
36196 The style itself contains the text that is surrounding the initial.
36197 The usual style is hereby that the word whose first letter is the initial,
36205 \begin_layout Standard
36208 Here are some examples:
36211 \begin_layout Standard
36215 \begin_layout Plain Layout
36225 \begin_inset Note Note
36228 \begin_layout Plain Layout
36233 が導入されているときのみ表示されます。
36241 \begin_layout Enumerate
36244 No optional argument, the initial is the letter 'I' in the math font
36245 \begin_inset Formula $\mathfrak{Fraktur}$
36252 \begin_layout Initial
36253 \begin_inset Argument 2
36256 \begin_layout Plain Layout
36257 \begin_inset Formula $\mathfrak{I}$
36266 \begin_inset Argument 3
36269 \begin_layout Plain Layout
36277 was in the spring of the year 1894 that all London was interested, and the
36278 fashionable world dismayed, by the murder of the Honourable Ronald Adair
36279 under most unusual and inexplicable circumstances.
36280 The public has already learned those particulars of the crime which came
36281 out in the police investigation, but a good deal was suppressed upon that
36282 occasion, since the case for the prosecution was so overwhelmingly strong
36283 that it was not necessary to bring forward all the facts.
36284 \begin_inset Newpage newpage
36291 \begin_layout Enumerate
36294 Only one line is surrounding the initial, which is formed by two letters
36295 in standard font and no text is printed in small caps:
36299 \begin_layout Initial
36300 \begin_inset Argument 1
36303 \begin_layout Plain Layout
36310 \begin_inset Argument 2
36313 \begin_layout Plain Layout
36321 was in the spring of the year 1894 that all London was interested, and the
36322 fashionable world dismayed, by the murder of the Honourable Ronald Adair
36323 under most unusual and inexplicable circumstances.
36324 The public has already learned those particulars of the crime which came
36325 out in the police investigation, but a good deal was suppressed upon that
36326 occasion, since the case for the prosecution was so overwhelmingly strong
36327 that it was not necessary to bring forward all the facts.
36331 \begin_layout Enumerate
36334 Magenta, hanging initial over 3
36335 \begin_inset space ~
36338 lines in the math font
36339 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
36343 \begin_inset Quotes eld
36346 t was in the spring
36347 \begin_inset Quotes erd
36354 ; to color the initial, you must insert this command before the initial:
36355 \begin_inset Newline newline
36369 \begin_inset Newline newline
36377 \begin_inset Quotes eld
36381 \begin_inset Quotes erd
36385 \begin_inset Quotes eld
36389 \begin_inset Quotes erd
36393 \begin_inset Quotes eld
36397 \begin_inset Quotes erd
36401 \begin_inset Quotes eld
36405 \begin_inset Quotes erd
36409 \begin_inset Quotes eld
36413 \begin_inset Quotes erd
36417 \begin_inset Quotes eld
36421 \begin_inset Quotes erd
36425 \begin_inset Quotes eld
36429 \begin_inset Quotes erd
36433 \begin_inset Quotes eld
36437 \begin_inset Quotes erd
36440 , and add this command to the document preamble
36443 \begin_inset Newline newline
36450 @ifundefined{textcolor}
36451 \begin_inset Newline newline
36455 \begin_inset space ~
36460 usepackage{color}}{}
36464 \begin_layout Standard
36468 \begin_layout Plain Layout
36484 \begin_inset Note Note
36487 \begin_layout Plain Layout
36490 makes the initial magenta
36498 \begin_layout Initial
36499 \begin_inset Argument 1
36502 \begin_layout Plain Layout
36503 lines=3, lhang=0.33, loversize=0.25
36509 \begin_inset Argument 2
36512 \begin_layout Plain Layout
36513 \begin_inset Formula $\mathcal{I}$
36522 \begin_inset Argument 3
36525 \begin_layout Plain Layout
36528 t was in the spring
36535 of the year 1894 that all London was interested, and the fashionable world
36536 dismayed, by the murder of the Honourable Ronald Adair under most unusual
36537 and inexplicable circumstances.
36538 The public has already learned those particulars of the crime which came
36539 out in the police investigation, but a good deal was suppressed upon that
36540 occasion, since the case for the prosecution was so overwhelmingly strong
36541 that it was not necessary to bring forward all the facts.
36545 \begin_layout Standard
36549 \begin_layout Plain Layout
36559 \begin_inset Note Note
36562 \begin_layout Plain Layout
36567 が導入されていないときのみ表示されます。
36575 \begin_layout Standard
36576 本節の以下の部分を出力に表示するには、LaTeXパッケージ
36583 \begin_layout Standard
36587 \begin_layout Plain Layout
36599 \begin_layout Chapter
36601 \begin_inset Index idx
36604 \begin_layout Plain Layout
36605 がいぶぶんしょこうせいようそ@外部文書構成要素
36613 \begin_layout Standard
36616 挿入\SpecialChar \menuseparator
36619 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
36622 \begin_layout Description
36623 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
36626 \begin_layout Description
36627 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
36630 \begin_layout Description
36631 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
36634 \begin_layout Description
36638 \begin_layout Description
36639 子文書 LyXあるいはLaTeX文書。
36642 \begin_layout Section
36644 \begin_inset Index idx
36647 \begin_layout Plain Layout
36648 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
36656 \begin_layout Standard
36657 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
36658 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
36660 操作性\SpecialChar \menuseparator
36663 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
36666 \begin_layout Standard
36671 \SpecialChar \menuseparator
36676 \SpecialChar \menuseparator
36685 ダイアログから挿入することができます。目下、以下のファイル形式(
36692 \begin_layout Description
36696 \begin_inset CommandInset href
36699 target "http://en.wikipedia.org/wiki/XBoard"
36705 プログラムで作成されたチェス棋譜をサポートします。
36708 \begin_layout Description
36713 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
36714 \begin_inset External
36721 \begin_inset space ~
36725 \begin_inset Note Note
36728 \begin_layout Plain Layout
36729 バグ4398が修正されたら、この保護空白は削除してください!
36735 \begin_inset Newline newline
36738 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
36742 \SpecialChar \menuseparator
36743 日付メニューを使用する方法で、他はLaTeXコマンドの
36749 をTeXコードで使用する方法です。これらの各方法は、表
36750 \begin_inset CommandInset ref
36752 reference "tab:日付挿入方法"
36759 \begin_layout Description
36763 \begin_inset CommandInset href
36766 target "http://ja.wikipedia.org/wiki/Dia_%28%E3%82%BD%E3%83%95%E3%83%88%E3%82%A6%E3%82%A7%E3%82%A2%29"
36772 プログラムで作成したダイアグラムをサポートします。
36775 \begin_layout Description
36778 GnumericSpreadsheet With this template you can insert spreadsheets
36779 \begin_inset space \thinspace{}
36783 \begin_inset space \thinspace{}
36786 tables in the format of
36789 \begin_inset CommandInset href
36792 target "http://ja.wikipedia.org/wiki/Gnumeric"
36799 \begin_inset CommandInset href
36801 name "OpenDocument"
36802 target "http://ja.wikipedia.org/wiki/OpenDocument"
36807 \begin_inset CommandInset href
36809 name "Microsoft Office XML"
36810 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
36815 \begin_inset CommandInset href
36817 name "Office Open XML"
36818 target "http://ja.wikipedia.org/wiki/Office_Open_XML"
36823 For this feature LyX must have found the program
36827 during its configuration.
36828 This program is part of Gnumeric, so that you must have Gnumeric installed,
36829 also if you don't have tables in the Gnumeric format.
36830 For examples and possible limitations have a look at LyX's example file
36838 \begin_layout Description
36842 \begin_inset CommandInset href
36845 target "http://ja.wikipedia.org/wiki/GNU_LilyPond"
36851 プログラムで作成した楽譜の組版に使用されます。
36853 For LyX's extended support for LilyPond have a look at LyX's example file
36861 \begin_layout Description
36862 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
36876 The argument of this option is a comma separated list, containing page numbers
36881 ), ranges of page numbers (
36885 ) or any combination.
36886 To insert empty pages use {}.
36888 \begin_inset space \thinspace{}
36892 \begin_inset space ~
36897 pages={3,{},8-11,15}
36899 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
36900 Page ranges are specified in the syntax
36909 This selects all pages from
36922 defaults to the first page; omitting
36926 defaults to the last page of the document.
36927 The last page can also be selected with the keyword
36932 (This is only permitted in a page range.) So
36936 will insert all pages of the document and
36940 will insert all pages in reverse order.
36945 オプションを指定しないと、PDFの最初のページのみが挿入されます。
36946 \begin_inset Newline newline
36955 inserts the pages with their original size, if this option is not given,
36956 the pages will be resized to fith the width of the page of your document.
36961 you can specify the width and height of the input pages and their rotation.
36962 If another width than 100
36963 \begin_inset space \thinspace{}
36966 Scale% is used, the option
36970 will be overwritten.
36971 For more info and possible options, have a look into the documentation
36972 of the LaTeX-package
36978 \begin_inset CommandInset citation
36985 \begin_inset Index idx
36988 \begin_layout Plain Layout
36989 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
36995 \begin_inset Newline newline
37000 To use this template in a
37004 presentation you need to first insert an
37008 environment and in a subsequent paragraph a TeX Code box containing the
37013 setbeamertemplate{background canvas}{}
37016 Then you can insert as many paragraphs containing the PDFPages template
37018 Behind the included PDF pages you can resume the Beamer presentation by
37019 beginning a new frame or by starting a new section.
37020 To avoid stray blank pages prior to the PDF pages, make sure to use the
37025 alignment for the paragraph containing the template.
37026 \begin_inset Newline newline
37029 Here is an included PDF which is rotated by -5°:
37032 \begin_inset External
37034 filename ../clipart/Abstract.pdf
37035 extra LaTeX "noautoscale, pages=-"
37037 rotateOrigin bottomleft
37044 \begin_layout Description
37045 ラスターイメージ これはビットマップ画像に使用します。
37050 \begin_inset CommandInset ref
37052 reference "sec:画像ダイアログ"
37060 ダイアログを使って挿入される画像と同じように取り扱うことができます。
37062 The difference to the normal image input is that only raster images are
37063 allowed; that means that PDF and EPS-images are not supported
37068 Here is an inserted raster image:
37071 \begin_inset External
37072 template RasterImage
37073 filename ../clipart/ToolbarEnvBox.png
37080 \begin_layout Description
37084 \begin_inset CommandInset href
37087 target "http://ja.wikipedia.org/wiki/Xfig"
37093 プログラムで作成した画像をサポートします。
37096 \begin_layout Standard
37097 \begin_inset Float table
37103 \begin_layout Plain Layout
37104 \begin_inset Caption Standard
37106 \begin_layout Plain Layout
37107 \begin_inset CommandInset label
37121 \begin_layout Plain Layout
37123 \begin_inset Tabular
37124 <lyxtabular version="3" rows="4" columns="4">
37125 <features rotate="0" tabularvalignment="middle">
37126 <column alignment="center" valignment="top" width="0">
37127 <column alignment="center" valignment="top" width="0">
37128 <column alignment="center" valignment="top" width="0">
37129 <column alignment="center" valignment="top" width="0">
37131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37134 \begin_layout Plain Layout
37140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37143 \begin_layout Plain Layout
37146 外部素材\SpecialChar \menuseparator
37152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37155 \begin_layout Plain Layout
37158 挿入\SpecialChar \menuseparator
37164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37167 \begin_layout Plain Layout
37181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37184 \begin_layout Plain Layout
37190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37193 \begin_layout Plain Layout
37199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37202 \begin_layout Plain Layout
37208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37211 \begin_layout Plain Layout
37219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37222 \begin_layout Plain Layout
37228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37231 \begin_layout Plain Layout
37237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37240 \begin_layout Plain Layout
37246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37249 \begin_layout Plain Layout
37257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37260 \begin_layout Plain Layout
37266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37269 \begin_layout Plain Layout
37275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37278 \begin_layout Plain Layout
37284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37287 \begin_layout Plain Layout
37306 \begin_layout Standard
37319 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
37320 \begin_inset Newline newline
37323 LyX中での外部素材は、ダイアログ内の
37332 \begin_inset Graphics
37333 filename clipart/ExternalMaterialQt4.png
37335 scaleBeforeRotation
37339 のようなボックスとして表示されるか、画像として表示されます。
37342 \begin_layout Standard
37349 には、自製のひな型を定義する方法が説明されています。
37352 \begin_layout Section
37354 \begin_inset CommandInset label
37361 \begin_inset Index idx
37364 \begin_layout Plain Layout
37365 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
37371 \begin_inset Index idx
37374 \begin_layout Plain Layout
37375 ふぁいる@ファイル ! いんくるーど@インクルード
37383 \begin_layout Standard
37384 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
37385 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
37386 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
37389 \begin_layout Standard
37390 親文書を開くことなく子文書で作業できるようにするには、子文書の
37394 \SpecialChar \menuseparator
37399 \SpecialChar \menuseparator
37404 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
37407 \begin_layout Standard
37409 \begin_inset Graphics
37410 filename clipart/ChildDocumentQt4.png
37412 scaleBeforeRotation
37416 のようなボックスとして表示されます。子文書を親文書に取り込むには、
37420 \SpecialChar \menuseparator
37425 \SpecialChar \menuseparator
37430 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
37433 \begin_layout Description
37434 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
37442 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
37443 \begin_inset Newline newline
37449 \begin_layout Standard
37455 \begin_inset CommandInset include
37456 LatexCommand include
37457 filename "DummyDocument1.lyx"
37464 \begin_layout Standard
37465 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
37466 あります。取り込んだ文書のラベルは、第
37467 \begin_inset CommandInset ref
37469 reference "sub:外部文書の第1小節"
37473 小節、のように参照することができます。
37476 \begin_layout Standard
37477 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
37478 は、新規頁から始まるように挿入され、改頁して終わります。
37481 \begin_layout Standard
37482 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
37486 \begin_layout Plain Layout
37500 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
37503 \begin_layout Standard
37504 \begin_inset Note Greyedout
37507 \begin_layout Plain Layout
37512 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
37526 \begin_layout Standard
37527 \begin_inset Note Greyedout
37530 \begin_layout Plain Layout
37535 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
37544 \begin_layout Description
37545 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
37549 \begin_layout Itemize
37550 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
37553 \begin_layout Itemize
37554 Inputファイルは、LyX設定の操作性
37556 \SpecialChar \menuseparator
37563 を有効にすると、LyX中でプレビューすることができます。
37566 \begin_layout Itemize
37577 \begin_layout Standard
37583 \begin_inset CommandInset include
37585 filename "DummyDocument2.lyx"
37592 \begin_layout Description
37593 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
37594 に用いられているコマンドは実行されません。
37598 オプションを有効にすると、ソースコード中のすべての空白文字に「
37602 \begin_layout Plain Layout
37613 挿入\SpecialChar \menuseparator
37614 ファイル\SpecialChar \menuseparator
37617 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
37620 \begin_layout Standard
37621 以下は、verbatimとして挿入された子文書です。
37622 \begin_inset CommandInset include
37623 LatexCommand verbatiminput
37624 filename "../DummyTextDocument.txt"
37629 \begin_inset VSpace bigskip
37636 オプションを指定して、verbatimとして挿入された子文書です。
37637 \begin_inset CommandInset include
37638 LatexCommand verbatiminput*
37639 filename "../DummyTextDocument.txt"
37646 \begin_layout Standard
37647 \begin_inset VSpace bigskip
37653 \begin_layout Standard
37654 \begin_inset Note Greyedout
37657 \begin_layout Plain Layout
37666 として取り込んだ文書の文章は、文書行の終わりで改行されません。
37674 \begin_layout Standard
37675 \begin_inset Note Greyedout
37678 \begin_layout Plain Layout
37683 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
37691 \begin_layout Description
37692 プログラムリスト この型については、第
37693 \begin_inset CommandInset ref
37695 reference "cha:プログラムコードリスト"
37702 \begin_layout Standard
37703 \begin_inset Note Greyedout
37706 \begin_layout Plain Layout
37711 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
37719 \begin_layout Chapter
37721 \begin_inset CommandInset label
37723 name "cha:プログラムコードリスト"
37728 \begin_inset Index idx
37731 \begin_layout Plain Layout
37738 \begin_inset Index idx
37741 \begin_layout Plain Layout
37748 \begin_inset Index idx
37751 \begin_layout Plain Layout
37752 ふろーと@フロート ! りすと@リスト
37760 \begin_layout Standard
37761 プログラムコードを取り込んで組版するには、
37765 \SpecialChar \menuseparator
37770 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
37775 \begin_inset Index idx
37778 \begin_layout Plain Layout
37779 LaTeXぱっけーじ@LaTeXパッケージ ! listings
37784 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
37787 \begin_layout Standard
37788 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
37791 \begin_layout Standard
37792 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
37797 \begin_inset listings
37798 lstparams "language={C++}"
37802 \begin_layout Plain Layout
37810 \begin_inset Newline newline
37817 オプションは、プログラムリストフロートを生成するものですが、ここで、第
37818 \begin_inset CommandInset ref
37820 reference "sec:フロートの配置"
37824 節に説明されているフロート配置オプションに従って、「
37840 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
37844 」のように区切りを入れることなく入力することができます。「
37848 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
37852 オプションを使用しなければ大丈夫です。
37855 \begin_layout Standard
37860 \SpecialChar \menuseparator
37865 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
37866 \begin_inset CommandInset ref
37868 reference "lst:リストフロート"
37875 \begin_layout Standard
37876 \begin_inset listings
37877 lstparams "language=Python"
37881 \begin_layout Plain Layout
37883 \begin_inset Caption Standard
37885 \begin_layout Plain Layout
37886 \begin_inset CommandInset label
37892 Example Listing Float
37897 # Example listing float
37900 \begin_layout Plain Layout
37905 \begin_layout Plain Layout
37907 'this is a python function'
37910 \begin_layout Plain Layout
37920 \begin_layout Standard
37921 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
37922 onのキーワード「def」が識別され、ボールド体で出力されます。
37925 \begin_layout Standard
37926 \begin_inset Note Greyedout
37929 \begin_layout Plain Layout
37934 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
37938 フォントがボールド体を提供していません。この場合には、
37942 \SpecialChar \menuseparator
37947 \SpecialChar \menuseparator
37952 メニューで別のフォントを選択してください(
37964 の各フォントはボールド体を提供します)。
37972 \begin_layout Standard
37973 \begin_inset Note Greyedout
37976 \begin_layout Plain Layout
37981 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
37989 \begin_layout Standard
37994 のセクションでは、行番号の様式を指定することができます。
37998 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
38001 \begin_layout Standard
38002 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
38006 オプションを使用しなくてはなりません。
38007 \begin_inset Newline newline
38010 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
38011 \begin_inset space \thinspace{}
38015 \begin_inset space \thinspace{}
38018 8」で設定したプログラムリストの例です。
38021 \begin_layout Standard
38022 \begin_inset listings
38023 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
38027 \begin_layout Plain Layout
38032 \begin_layout Plain Layout
38034 'this is a python function'
38037 \begin_layout Plain Layout
38042 \begin_layout Plain Layout
38047 \begin_layout Plain Layout
38049 'This is a German word: Tschüß'
38052 \begin_layout Plain Layout
38057 \begin_layout Plain Layout
38062 \begin_layout Plain Layout
38064 'this is a python function'
38067 \begin_layout Plain Layout
38077 \begin_layout Standard
38078 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
38085 \begin_layout Standard
38086 \begin_inset Note Greyedout
38089 \begin_layout Plain Layout
38094 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
38103 \begin_layout Standard
38104 \begin_inset VSpace bigskip
38110 \begin_layout Standard
38111 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
38115 \SpecialChar \menuseparator
38120 \SpecialChar \menuseparator
38133 \begin_layout Plain Layout
38134 他の子文書型については、第 section
38135 \begin_inset space ~
38139 \begin_inset CommandInset ref
38141 reference "sec:子文書"
38150 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
38154 \begin_layout Standard
38155 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
38159 \SpecialChar \menuseparator
38164 メニューを使って参照できるようになります。
38167 \begin_layout Standard
38169 \begin_inset CommandInset ref
38171 reference "lst:file-listing"
38175 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
38178 \begin_layout Standard
38179 \begin_inset CommandInset include
38180 LatexCommand lstinputlisting
38181 filename "EmbeddedObjects.lyx"
38182 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
38189 \begin_layout Standard
38190 \begin_inset VSpace bigskip
38196 \begin_layout Standard
38197 リストに数式を入れるには、以下のようにします。
38200 \begin_layout Enumerate
38206 \begin_inset Newline newline
38214 \begin_inset Newline newline
38220 \begin_layout Enumerate
38224 \begin_layout Enumerate
38225 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
38234 \begin_layout Enumerate
38235 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
38244 \begin_layout Standard
38245 \begin_inset listings
38246 lstparams "language=Python,mathescape=true"
38250 \begin_layout Plain Layout
38252 \begin_inset Caption Standard
38254 \begin_layout Plain Layout
38255 Example Listing float containing a formula
38260 # Example listing float
38263 \begin_layout Plain Layout
38268 \begin_layout Plain Layout
38281 \begin_layout Plain Layout
38291 \begin_layout Standard
38292 \begin_inset VSpace bigskip
38298 \begin_layout Standard
38303 \SpecialChar \menuseparator
38308 \SpecialChar \menuseparator
38313 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
38317 フィールドで疑問符「?」を打鍵してください。
38320 \begin_layout Standard
38325 パッケージについての詳しい情報については、取扱説明書
38326 \begin_inset CommandInset citation
38335 \begin_layout Standard
38336 \begin_inset Newpage newpage
38342 \begin_layout Chapter
38345 \begin_inset Index idx
38348 \begin_layout Plain Layout
38355 \begin_inset CommandInset label
38357 name "cha:LyXで使用できる単位"
38364 \begin_layout Standard
38365 この文書で用いられる単位の理解のために、表
38366 \begin_inset CommandInset ref
38372 に、LyXで使うことのできる単位をまとめておきます。
38375 \begin_layout Standard
38376 \begin_inset Float table
38382 \begin_layout Plain Layout
38383 \begin_inset Caption Standard
38385 \begin_layout Plain Layout
38386 \begin_inset CommandInset label
38400 \begin_layout Plain Layout
38401 \begin_inset VSpace medskip
38407 \begin_layout Plain Layout
38409 \begin_inset Tabular
38410 <lyxtabular version="3" rows="20" columns="2">
38411 <features rotate="0" tabularvalignment="middle">
38412 <column alignment="center" valignment="top" width="0">
38413 <column alignment="center" valignment="top" width="0">
38415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38418 \begin_layout Plain Layout
38424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38427 \begin_layout Plain Layout
38435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38438 \begin_layout Plain Layout
38444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38447 \begin_layout Plain Layout
38455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38458 \begin_layout Plain Layout
38464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38467 \begin_layout Plain Layout
38475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38478 \begin_layout Plain Layout
38484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38487 \begin_layout Plain Layout
38495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38498 \begin_layout Plain Layout
38504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38507 \begin_layout Plain Layout
38509 \begin_inset Formula $\,$
38513 \begin_inset Formula $\,$
38523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38526 \begin_layout Plain Layout
38532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38535 \begin_layout Plain Layout
38537 \begin_inset Formula $\,$
38541 \begin_inset Formula $\,$
38551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38554 \begin_layout Plain Layout
38560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38563 \begin_layout Plain Layout
38565 \begin_inset Formula $\,$
38569 \begin_inset Formula $\,$
38579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38582 \begin_layout Plain Layout
38588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38591 \begin_layout Plain Layout
38593 \begin_inset Formula $\,$
38597 \begin_inset Formula $\,$
38607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38610 \begin_layout Plain Layout
38616 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38619 \begin_layout Plain Layout
38621 \begin_inset Formula $\,$
38625 \begin_inset Formula $\approx$
38629 \begin_inset Formula $\,$
38639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38642 \begin_layout Plain Layout
38648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38651 \begin_layout Plain Layout
38653 \begin_inset Formula $\,$
38657 \begin_inset Formula $\,$
38667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38670 \begin_layout Plain Layout
38676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38679 \begin_layout Plain Layout
38687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38690 \begin_layout Plain Layout
38696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38699 \begin_layout Plain Layout
38707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38710 \begin_layout Plain Layout
38716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38719 \begin_layout Plain Layout
38727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38730 \begin_layout Plain Layout
38736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38739 \begin_layout Plain Layout
38747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38750 \begin_layout Plain Layout
38756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38759 \begin_layout Plain Layout
38767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38770 \begin_layout Plain Layout
38776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38779 \begin_layout Plain Layout
38787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38790 \begin_layout Plain Layout
38796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38799 \begin_layout Plain Layout
38807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38810 \begin_layout Plain Layout
38816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38819 \begin_layout Plain Layout
38827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38830 \begin_layout Plain Layout
38836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38839 \begin_layout Plain Layout
38847 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38850 \begin_layout Plain Layout
38856 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38859 \begin_layout Plain Layout
38861 \begin_inset Formula $\,$
38865 \begin_inset Formula $\,$
38886 \begin_layout Chapter
38888 \begin_inset CommandInset label
38890 name "cha:ファイル出力形式"
38897 \begin_layout Section
38899 \begin_inset Index idx
38902 \begin_layout Plain Layout
38903 ふぁいるしょしき@ファイル書式 ! DVI
38909 \begin_inset Index idx
38912 \begin_layout Plain Layout
38917 \begin_layout Plain Layout
38928 \begin_layout Plain Layout
38943 \begin_layout Standard
38948 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
38949 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
38950 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
38953 \begin_layout Standard
38954 \begin_inset Note Greyedout
38957 \begin_layout Plain Layout
38958 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
38967 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
38968 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
38972 \begin_layout Standard
38977 \SpecialChar \menuseparator
38982 \SpecialChar \menuseparator
38987 メニューを使用して、DVIに書き出すことができます。
38989 You can view your document as DVI via the
38996 \begin_layout Section
38998 \begin_inset CommandInset label
39000 name "sec:PostScript"
39005 \begin_inset Index idx
39008 \begin_layout Plain Layout
39009 ふぁいるしょしき@ファイル書式 ! PostScript
39015 \begin_inset Index idx
39018 \begin_layout Plain Layout
39023 \begin_layout Plain Layout
39034 \begin_layout Plain Layout
39049 \begin_layout Standard
39058 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
39059 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
39063 \begin_layout Plain Layout
39064 これについてもう少し学ぶ気があれば、LaTeXパッケージ
39069 \begin_inset CommandInset citation
39080 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
39083 \begin_layout Standard
39084 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
39088 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
39089 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
39090 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
39091 を直接EPSとして入れておく方がよいでしょう。
39094 \begin_layout Standard
39097 You can export your document to PostScript using the menu
39102 \SpecialChar \menuseparator
39107 \SpecialChar \menuseparator
39114 You can view your document as PostScript via the
39121 \begin_layout Section
39123 \begin_inset Index idx
39126 \begin_layout Plain Layout
39127 ふぁいるしょしき@ファイル書式 ! PDF
39133 \begin_inset Index idx
39136 \begin_layout Plain Layout
39145 \begin_layout Standard
39150 」です。この「Portable Document Format (PDF)」は、
39154 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
39155 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
39158 \begin_layout Standard
39159 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
39167 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
39171 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
39172 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
39176 \begin_layout Standard
39181 \SpecialChar \menuseparator
39186 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
39189 \begin_layout Description
39191 \begin_inset space ~
39198 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
39202 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
39205 \begin_layout Description
39207 \begin_inset space ~
39214 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
39217 \begin_layout Description
39219 \begin_inset space ~
39226 プログラムを使って、現在のファイルを直接PDFに変換します。
39229 \begin_layout Standard
39234 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
39237 \begin_inset space ~
39246 プログラムは開発が停止しており、若干時代遅れになっています。
39249 \begin_layout Standard
39252 You can view your document as PDF via the
39256 menu or by using a toolbar button.
39259 \begin_layout Chapter
39262 List of dvips color names
39263 \begin_inset CommandInset label
39265 name "chap:List-of-dvips-colornames"
39272 \begin_layout Standard
39273 \begin_inset Tabular
39274 <lyxtabular version="3" rows="17" columns="4">
39275 <features rotate="0" tabularvalignment="middle">
39276 <column alignment="left" valignment="top" width="0pt">
39277 <column alignment="left" valignment="top" width="0pt">
39278 <column alignment="left" valignment="top" width="0pt">
39279 <column alignment="left" valignment="top" width="0pt">
39281 <cell alignment="left" valignment="top" usebox="none">
39284 \begin_layout Plain Layout
39288 \begin_layout Plain Layout
39301 \begin_layout Plain Layout
39316 \begin_layout Plain Layout
39330 <cell alignment="left" valignment="top" usebox="none">
39333 \begin_layout Plain Layout
39337 \begin_layout Plain Layout
39350 \begin_layout Plain Layout
39365 \begin_layout Plain Layout
39379 <cell alignment="left" valignment="top" usebox="none">
39382 \begin_layout Plain Layout
39386 \begin_layout Plain Layout
39399 \begin_layout Plain Layout
39414 \begin_layout Plain Layout
39428 <cell alignment="left" valignment="top" usebox="none">
39431 \begin_layout Plain Layout
39435 \begin_layout Plain Layout
39448 \begin_layout Plain Layout
39463 \begin_layout Plain Layout
39479 <cell alignment="center" valignment="top" usebox="none">
39482 \begin_layout Plain Layout
39486 \begin_layout Plain Layout
39499 \begin_layout Plain Layout
39507 \begin_inset Phantom Phantom
39510 \begin_layout Plain Layout
39520 \begin_layout Plain Layout
39532 <cell alignment="center" valignment="top" usebox="none">
39535 \begin_layout Plain Layout
39539 \begin_layout Plain Layout
39552 \begin_layout Plain Layout
39560 \begin_inset Phantom Phantom
39563 \begin_layout Plain Layout
39573 \begin_layout Plain Layout
39585 <cell alignment="center" valignment="top" usebox="none">
39588 \begin_layout Plain Layout
39592 \begin_layout Plain Layout
39605 \begin_layout Plain Layout
39613 \begin_inset Phantom Phantom
39616 \begin_layout Plain Layout
39626 \begin_layout Plain Layout
39638 <cell alignment="center" valignment="top" usebox="none">
39641 \begin_layout Plain Layout
39645 \begin_layout Plain Layout
39658 \begin_layout Plain Layout
39666 \begin_inset Phantom Phantom
39669 \begin_layout Plain Layout
39679 \begin_layout Plain Layout
39693 <cell alignment="left" valignment="top" usebox="none">
39696 \begin_layout Plain Layout
39700 \begin_layout Plain Layout
39713 \begin_layout Plain Layout
39721 \begin_inset Phantom Phantom
39724 \begin_layout Plain Layout
39734 \begin_layout Plain Layout
39746 <cell alignment="left" valignment="top" usebox="none">
39749 \begin_layout Plain Layout
39753 \begin_layout Plain Layout
39766 \begin_layout Plain Layout
39774 \begin_inset Phantom Phantom
39777 \begin_layout Plain Layout
39787 \begin_layout Plain Layout
39799 <cell alignment="left" valignment="top" usebox="none">
39802 \begin_layout Plain Layout
39806 \begin_layout Plain Layout
39819 \begin_layout Plain Layout
39827 \begin_inset Phantom Phantom
39830 \begin_layout Plain Layout
39840 \begin_layout Plain Layout
39852 <cell alignment="left" valignment="top" usebox="none">
39855 \begin_layout Plain Layout
39859 \begin_layout Plain Layout
39872 \begin_layout Plain Layout
39880 \begin_inset Phantom Phantom
39883 \begin_layout Plain Layout
39893 \begin_layout Plain Layout
39907 <cell alignment="left" valignment="top" usebox="none">
39910 \begin_layout Plain Layout
39914 \begin_layout Plain Layout
39927 \begin_layout Plain Layout
39935 \begin_inset Phantom Phantom
39938 \begin_layout Plain Layout
39948 \begin_layout Plain Layout
39960 <cell alignment="left" valignment="top" usebox="none">
39963 \begin_layout Plain Layout
39967 \begin_layout Plain Layout
39980 \begin_layout Plain Layout
39988 \begin_inset Phantom Phantom
39991 \begin_layout Plain Layout
40001 \begin_layout Plain Layout
40013 <cell alignment="left" valignment="top" usebox="none">
40016 \begin_layout Plain Layout
40020 \begin_layout Plain Layout
40033 \begin_layout Plain Layout
40041 \begin_inset Phantom Phantom
40044 \begin_layout Plain Layout
40054 \begin_layout Plain Layout
40066 <cell alignment="left" valignment="top" usebox="none">
40069 \begin_layout Plain Layout
40073 \begin_layout Plain Layout
40086 \begin_layout Plain Layout
40094 \begin_inset Phantom Phantom
40097 \begin_layout Plain Layout
40107 \begin_layout Plain Layout
40121 <cell alignment="left" valignment="top" usebox="none">
40124 \begin_layout Plain Layout
40128 \begin_layout Plain Layout
40141 \begin_layout Plain Layout
40149 \begin_inset Phantom Phantom
40152 \begin_layout Plain Layout
40162 \begin_layout Plain Layout
40174 <cell alignment="left" valignment="top" usebox="none">
40177 \begin_layout Plain Layout
40181 \begin_layout Plain Layout
40194 \begin_layout Plain Layout
40202 \begin_inset Phantom Phantom
40205 \begin_layout Plain Layout
40215 \begin_layout Plain Layout
40227 <cell alignment="left" valignment="top" usebox="none">
40230 \begin_layout Plain Layout
40234 \begin_layout Plain Layout
40247 \begin_layout Plain Layout
40255 \begin_inset Phantom Phantom
40258 \begin_layout Plain Layout
40268 \begin_layout Plain Layout
40280 <cell alignment="left" valignment="top" usebox="none">
40283 \begin_layout Plain Layout
40287 \begin_layout Plain Layout
40300 \begin_layout Plain Layout
40308 \begin_inset Phantom Phantom
40311 \begin_layout Plain Layout
40321 \begin_layout Plain Layout
40335 <cell alignment="left" valignment="top" usebox="none">
40338 \begin_layout Plain Layout
40342 \begin_layout Plain Layout
40355 \begin_layout Plain Layout
40363 \begin_inset Phantom Phantom
40366 \begin_layout Plain Layout
40376 \begin_layout Plain Layout
40388 <cell alignment="left" valignment="top" usebox="none">
40391 \begin_layout Plain Layout
40395 \begin_layout Plain Layout
40408 \begin_layout Plain Layout
40416 \begin_inset Phantom Phantom
40419 \begin_layout Plain Layout
40429 \begin_layout Plain Layout
40441 <cell alignment="left" valignment="top" usebox="none">
40444 \begin_layout Plain Layout
40448 \begin_layout Plain Layout
40461 \begin_layout Plain Layout
40469 \begin_inset Phantom Phantom
40472 \begin_layout Plain Layout
40482 \begin_layout Plain Layout
40494 <cell alignment="left" valignment="top" usebox="none">
40497 \begin_layout Plain Layout
40501 \begin_layout Plain Layout
40514 \begin_layout Plain Layout
40522 \begin_inset Phantom Phantom
40525 \begin_layout Plain Layout
40535 \begin_layout Plain Layout
40549 <cell alignment="center" valignment="top" usebox="none">
40552 \begin_layout Plain Layout
40556 \begin_layout Plain Layout
40569 \begin_layout Plain Layout
40577 \begin_inset Phantom Phantom
40580 \begin_layout Plain Layout
40590 \begin_layout Plain Layout
40602 <cell alignment="center" valignment="top" usebox="none">
40605 \begin_layout Plain Layout
40609 \begin_layout Plain Layout
40622 \begin_layout Plain Layout
40630 \begin_inset Phantom Phantom
40633 \begin_layout Plain Layout
40643 \begin_layout Plain Layout
40655 <cell alignment="center" valignment="top" usebox="none">
40658 \begin_layout Plain Layout
40662 \begin_layout Plain Layout
40675 \begin_layout Plain Layout
40683 \begin_inset Phantom Phantom
40686 \begin_layout Plain Layout
40696 \begin_layout Plain Layout
40708 <cell alignment="center" valignment="top" usebox="none">
40711 \begin_layout Plain Layout
40715 \begin_layout Plain Layout
40728 \begin_layout Plain Layout
40736 \begin_inset Phantom Phantom
40739 \begin_layout Plain Layout
40749 \begin_layout Plain Layout
40763 <cell alignment="left" valignment="top" usebox="none">
40766 \begin_layout Plain Layout
40770 \begin_layout Plain Layout
40783 \begin_layout Plain Layout
40791 \begin_inset Phantom Phantom
40794 \begin_layout Plain Layout
40804 \begin_layout Plain Layout
40816 <cell alignment="left" valignment="top" usebox="none">
40819 \begin_layout Plain Layout
40823 \begin_layout Plain Layout
40836 \begin_layout Plain Layout
40844 \begin_inset Phantom Phantom
40847 \begin_layout Plain Layout
40857 \begin_layout Plain Layout
40869 <cell alignment="left" valignment="top" usebox="none">
40872 \begin_layout Plain Layout
40876 \begin_layout Plain Layout
40889 \begin_layout Plain Layout
40897 \begin_inset Phantom Phantom
40900 \begin_layout Plain Layout
40910 \begin_layout Plain Layout
40922 <cell alignment="left" valignment="top" usebox="none">
40925 \begin_layout Plain Layout
40929 \begin_layout Plain Layout
40942 \begin_layout Plain Layout
40950 \begin_inset Phantom Phantom
40953 \begin_layout Plain Layout
40963 \begin_layout Plain Layout
40977 <cell alignment="left" valignment="top" usebox="none">
40980 \begin_layout Plain Layout
40984 \begin_layout Plain Layout
40997 \begin_layout Plain Layout
41005 \begin_inset Phantom Phantom
41008 \begin_layout Plain Layout
41018 \begin_layout Plain Layout
41030 <cell alignment="left" valignment="top" usebox="none">
41033 \begin_layout Plain Layout
41037 \begin_layout Plain Layout
41050 \begin_layout Plain Layout
41058 \begin_inset Phantom Phantom
41061 \begin_layout Plain Layout
41071 \begin_layout Plain Layout
41083 <cell alignment="left" valignment="top" usebox="none">
41086 \begin_layout Plain Layout
41090 \begin_layout Plain Layout
41103 \begin_layout Plain Layout
41111 \begin_inset Phantom Phantom
41114 \begin_layout Plain Layout
41124 \begin_layout Plain Layout
41136 <cell alignment="left" valignment="top" usebox="none">
41139 \begin_layout Plain Layout
41143 \begin_layout Plain Layout
41156 \begin_layout Plain Layout
41164 \begin_inset Phantom Phantom
41167 \begin_layout Plain Layout
41177 \begin_layout Plain Layout
41191 <cell alignment="left" valignment="top" usebox="none">
41194 \begin_layout Plain Layout
41198 \begin_layout Plain Layout
41211 \begin_layout Plain Layout
41219 \begin_inset Phantom Phantom
41222 \begin_layout Plain Layout
41232 \begin_layout Plain Layout
41244 <cell alignment="left" valignment="top" usebox="none">
41247 \begin_layout Plain Layout
41251 \begin_layout Plain Layout
41264 \begin_layout Plain Layout
41272 \begin_inset Phantom Phantom
41275 \begin_layout Plain Layout
41285 \begin_layout Plain Layout
41297 <cell alignment="left" valignment="top" usebox="none">
41300 \begin_layout Plain Layout
41304 \begin_layout Plain Layout
41317 \begin_layout Plain Layout
41325 \begin_inset Phantom Phantom
41328 \begin_layout Plain Layout
41338 \begin_layout Plain Layout
41350 <cell alignment="left" valignment="top" usebox="none">
41353 \begin_layout Plain Layout
41357 \begin_layout Plain Layout
41370 \begin_layout Plain Layout
41378 \begin_inset Phantom Phantom
41381 \begin_layout Plain Layout
41391 \begin_layout Plain Layout
41405 <cell alignment="left" valignment="top" usebox="none">
41408 \begin_layout Plain Layout
41412 \begin_layout Plain Layout
41425 \begin_layout Plain Layout
41433 \begin_inset Phantom Phantom
41436 \begin_layout Plain Layout
41446 \begin_layout Plain Layout
41458 <cell alignment="left" valignment="top" usebox="none">
41461 \begin_layout Plain Layout
41465 \begin_layout Plain Layout
41478 \begin_layout Plain Layout
41486 \begin_inset Phantom Phantom
41489 \begin_layout Plain Layout
41499 \begin_layout Plain Layout
41511 <cell alignment="left" valignment="top" usebox="none">
41514 \begin_layout Plain Layout
41518 \begin_layout Plain Layout
41531 \begin_layout Plain Layout
41539 \begin_inset Phantom Phantom
41542 \begin_layout Plain Layout
41552 \begin_layout Plain Layout
41564 <cell alignment="left" valignment="top" usebox="none">
41567 \begin_layout Plain Layout
41571 \begin_layout Plain Layout
41584 \begin_layout Plain Layout
41592 \begin_inset Phantom Phantom
41595 \begin_layout Plain Layout
41605 \begin_layout Plain Layout
41619 <cell alignment="left" valignment="top" usebox="none">
41622 \begin_layout Plain Layout
41626 \begin_layout Plain Layout
41639 \begin_layout Plain Layout
41647 \begin_inset Phantom Phantom
41650 \begin_layout Plain Layout
41660 \begin_layout Plain Layout
41672 <cell alignment="left" valignment="top" usebox="none">
41675 \begin_layout Plain Layout
41679 \begin_layout Plain Layout
41692 \begin_layout Plain Layout
41700 \begin_inset Phantom Phantom
41703 \begin_layout Plain Layout
41713 \begin_layout Plain Layout
41725 <cell alignment="left" valignment="top" usebox="none">
41728 \begin_layout Plain Layout
41732 \begin_layout Plain Layout
41745 \begin_layout Plain Layout
41753 \begin_inset Phantom Phantom
41756 \begin_layout Plain Layout
41766 \begin_layout Plain Layout
41778 <cell alignment="left" valignment="top" usebox="none">
41781 \begin_layout Plain Layout
41785 \begin_layout Plain Layout
41798 \begin_layout Plain Layout
41806 \begin_inset Phantom Phantom
41809 \begin_layout Plain Layout
41819 \begin_layout Plain Layout
41833 <cell alignment="left" valignment="top" usebox="none">
41836 \begin_layout Plain Layout
41840 \begin_layout Plain Layout
41853 \begin_layout Plain Layout
41861 \begin_inset Phantom Phantom
41864 \begin_layout Plain Layout
41874 \begin_layout Plain Layout
41886 <cell alignment="left" valignment="top" usebox="none">
41889 \begin_layout Plain Layout
41893 \begin_layout Plain Layout
41906 \begin_layout Plain Layout
41914 \begin_inset Phantom Phantom
41917 \begin_layout Plain Layout
41927 \begin_layout Plain Layout
41939 <cell alignment="left" valignment="top" usebox="none">
41942 \begin_layout Plain Layout
41946 \begin_layout Plain Layout
41959 \begin_layout Plain Layout
41967 \begin_inset Phantom Phantom
41970 \begin_layout Plain Layout
41980 \begin_layout Plain Layout
41992 <cell alignment="left" valignment="top" usebox="none">
41995 \begin_layout Plain Layout
41999 \begin_layout Plain Layout
42012 \begin_layout Plain Layout
42020 \begin_inset Phantom Phantom
42023 \begin_layout Plain Layout
42033 \begin_layout Plain Layout
42047 <cell alignment="left" valignment="top" usebox="none">
42050 \begin_layout Plain Layout
42054 \begin_layout Plain Layout
42067 \begin_layout Plain Layout
42075 \begin_inset Phantom Phantom
42078 \begin_layout Plain Layout
42088 \begin_layout Plain Layout
42100 <cell alignment="left" valignment="top" usebox="none">
42103 \begin_layout Plain Layout
42107 \begin_layout Plain Layout
42120 \begin_layout Plain Layout
42128 \begin_inset Phantom Phantom
42131 \begin_layout Plain Layout
42141 \begin_layout Plain Layout
42153 <cell alignment="left" valignment="top" usebox="none">
42156 \begin_layout Plain Layout
42160 \begin_layout Plain Layout
42173 \begin_layout Plain Layout
42181 \begin_inset Phantom Phantom
42184 \begin_layout Plain Layout
42194 \begin_layout Plain Layout
42206 <cell alignment="left" valignment="top" usebox="none">
42209 \begin_layout Plain Layout
42213 \begin_layout Plain Layout
42226 \begin_layout Plain Layout
42234 \begin_inset Phantom Phantom
42237 \begin_layout Plain Layout
42247 \begin_layout Plain Layout
42261 <cell alignment="left" valignment="top" usebox="none">
42264 \begin_layout Plain Layout
42268 \begin_layout Plain Layout
42281 \begin_layout Plain Layout
42289 \begin_inset Phantom Phantom
42292 \begin_layout Plain Layout
42302 \begin_layout Plain Layout
42314 <cell alignment="left" valignment="top" usebox="none">
42317 \begin_layout Plain Layout
42321 \begin_layout Plain Layout
42334 \begin_layout Plain Layout
42342 \begin_inset Phantom Phantom
42345 \begin_layout Plain Layout
42355 \begin_layout Plain Layout
42367 <cell alignment="left" valignment="top" usebox="none">
42370 \begin_layout Plain Layout
42374 \begin_layout Plain Layout
42387 \begin_layout Plain Layout
42395 \begin_inset Phantom Phantom
42398 \begin_layout Plain Layout
42408 \begin_layout Plain Layout
42420 <cell alignment="left" valignment="top" usebox="none">
42423 \begin_layout Plain Layout
42427 \begin_layout Plain Layout
42440 \begin_layout Plain Layout
42448 \begin_inset Phantom Phantom
42451 \begin_layout Plain Layout
42461 \begin_layout Plain Layout
42475 <cell alignment="left" valignment="top" usebox="none">
42478 \begin_layout Plain Layout
42482 \begin_layout Plain Layout
42495 \begin_layout Plain Layout
42503 \begin_inset Phantom Phantom
42506 \begin_layout Plain Layout
42516 \begin_layout Plain Layout
42528 <cell alignment="left" valignment="top" usebox="none">
42531 \begin_layout Plain Layout
42535 \begin_layout Plain Layout
42548 \begin_layout Plain Layout
42556 \begin_inset Phantom Phantom
42559 \begin_layout Plain Layout
42569 \begin_layout Plain Layout
42581 <cell alignment="left" valignment="top" usebox="none">
42584 \begin_layout Plain Layout
42588 \begin_layout Plain Layout
42601 \begin_layout Plain Layout
42609 \begin_inset Phantom Phantom
42612 \begin_layout Plain Layout
42622 \begin_layout Plain Layout
42634 <cell alignment="left" valignment="top" usebox="none">
42637 \begin_layout Plain Layout
42641 \begin_layout Plain Layout
42654 \begin_layout Plain Layout
42662 \begin_inset Phantom Phantom
42665 \begin_layout Plain Layout
42675 \begin_layout Plain Layout
42689 <cell alignment="left" valignment="top" usebox="none">
42692 \begin_layout Plain Layout
42696 \begin_layout Plain Layout
42709 \begin_layout Plain Layout
42717 \begin_inset Phantom Phantom
42720 \begin_layout Plain Layout
42730 \begin_layout Plain Layout
42742 <cell alignment="left" valignment="top" usebox="none">
42745 \begin_layout Plain Layout
42751 <cell alignment="left" valignment="top" usebox="none">
42754 \begin_layout Plain Layout
42760 <cell alignment="left" valignment="top" usebox="none">
42763 \begin_layout Plain Layout
42777 \begin_layout Chapter
42779 \begin_inset CommandInset ref
42786 \begin_inset CommandInset label
42795 \begin_layout Standard
42796 \begin_inset Formula $n$
42800 \begin_inset Formula $W_{\mathrm{tot\, n}}$
42804 \begin_inset Formula
42806 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
42814 \begin_layout Standard
42816 \begin_inset Formula $W_{g\, n}$
42825 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
42826 \begin_inset space \thinspace{}
42836 \begin_inset space \thinspace{}
42842 \begin_layout Standard
42844 \begin_inset CommandInset ref
42846 reference "eq:Wtot_n"
42851 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
42855 \begin_inset Formula
42857 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
42865 \begin_layout Standard
42867 \begin_inset Formula $n$
42871 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
42875 \begin_inset CommandInset ref
42877 reference "eq:Wtot_n"
42882 \begin_inset CommandInset ref
42884 reference "eq:Wtot_mult"
42888 式が等しいものと置けば、必要となる固定幅
42889 \begin_inset Formula $W_{g\, n}$
42893 \begin_inset Formula
42895 W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
42903 \begin_layout Bibliography
42904 \begin_inset CommandInset bibitem
42905 LatexCommand bibitem
42906 key "latexcompanion"
42910 Frank Mittelbach and Michel Goossens:
42912 The LaTeX Companion Second Edition.
42915 Addison-Wesley, 2004
42918 \begin_layout Bibliography
42919 \begin_inset CommandInset bibitem
42920 LatexCommand bibitem
42925 Helmut Kopka and Patrick W.
42928 A Guide to LaTeX Fourth Edition.
42931 Addison-Wesley, 2003
42934 \begin_layout Bibliography
42935 \begin_inset CommandInset bibitem
42936 LatexCommand bibitem
42943 LaTeX: A Document Preparation System.
42946 Addison-Wesley, second edition, 1994
42949 \begin_layout Bibliography
42950 \begin_inset CommandInset bibitem
42951 LatexCommand bibitem
42959 \begin_inset CommandInset href
42962 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
42969 \begin_inset Index idx
42972 \begin_layout Plain Layout
42973 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
42981 \begin_layout Bibliography
42982 \begin_inset CommandInset bibitem
42983 LatexCommand bibitem
42991 \begin_inset CommandInset href
42994 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
43001 \begin_inset Index idx
43004 \begin_layout Plain Layout
43005 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
43013 \begin_layout Bibliography
43014 \begin_inset CommandInset bibitem
43015 LatexCommand bibitem
43023 \begin_inset CommandInset href
43026 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
43033 \begin_inset Index idx
43036 \begin_layout Plain Layout
43037 LaTeXぱっけーじ@LaTeXパッケージ ! caption
43045 \begin_layout Bibliography
43046 \begin_inset CommandInset bibitem
43047 LatexCommand bibitem
43055 \begin_inset CommandInset href
43058 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
43065 \begin_inset Index idx
43068 \begin_layout Plain Layout
43069 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
43077 \begin_layout Bibliography
43078 \begin_inset CommandInset bibitem
43079 LatexCommand bibitem
43087 \begin_inset CommandInset href
43090 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
43097 \begin_inset Index idx
43100 \begin_layout Plain Layout
43101 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
43109 \begin_layout Bibliography
43110 \begin_inset CommandInset bibitem
43111 LatexCommand bibitem
43119 \begin_inset CommandInset href
43122 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
43129 \begin_inset Index idx
43132 \begin_layout Plain Layout
43133 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
43141 \begin_layout Bibliography
43142 \begin_inset CommandInset bibitem
43143 LatexCommand bibitem
43151 \begin_inset CommandInset href
43154 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
43161 \begin_inset Index idx
43164 \begin_layout Plain Layout
43165 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
43173 \begin_layout Bibliography
43174 \begin_inset CommandInset bibitem
43175 LatexCommand bibitem
43183 \begin_inset CommandInset href
43186 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
43193 \begin_inset Index idx
43196 \begin_layout Plain Layout
43197 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
43205 \begin_layout Bibliography
43206 \begin_inset CommandInset bibitem
43207 LatexCommand bibitem
43215 \begin_inset CommandInset href
43218 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
43225 \begin_inset Index idx
43228 \begin_layout Plain Layout
43229 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
43237 \begin_layout Bibliography
43238 \begin_inset CommandInset bibitem
43239 LatexCommand bibitem
43247 \begin_inset CommandInset href
43250 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
43261 \begin_inset CommandInset href
43264 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
43269 \begin_inset Index idx
43272 \begin_layout Plain Layout
43273 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
43281 \begin_layout Bibliography
43282 \begin_inset CommandInset bibitem
43283 LatexCommand bibitem
43291 \begin_inset CommandInset href
43294 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
43301 \begin_inset Index idx
43304 \begin_layout Plain Layout
43305 LaTeXぱっけーじ@LaTeXパッケージ ! listings
43313 \begin_layout Bibliography
43314 \begin_inset CommandInset bibitem
43315 LatexCommand bibitem
43323 \begin_inset CommandInset href
43326 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
43333 \begin_inset Index idx
43336 \begin_layout Plain Layout
43337 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
43345 \begin_layout Bibliography
43346 \begin_inset CommandInset bibitem
43347 LatexCommand bibitem
43355 \begin_inset CommandInset href
43358 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
43365 \begin_inset Index idx
43368 \begin_layout Plain Layout
43369 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
43377 \begin_layout Bibliography
43378 \begin_inset CommandInset bibitem
43379 LatexCommand bibitem
43387 \begin_inset CommandInset href
43390 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
43397 \begin_inset Index idx
43400 \begin_layout Plain Layout
43401 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
43409 \begin_layout Bibliography
43410 \begin_inset CommandInset bibitem
43411 LatexCommand bibitem
43419 \begin_inset CommandInset href
43422 target "http://tug.org/PSTricks/"
43429 \begin_inset Index idx
43432 \begin_layout Plain Layout
43433 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
43441 \begin_layout Bibliography
43442 \begin_inset CommandInset bibitem
43443 LatexCommand bibitem
43451 \begin_inset CommandInset href
43454 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
43461 \begin_inset Index idx
43464 \begin_layout Plain Layout
43465 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
43473 \begin_layout Bibliography
43474 \begin_inset CommandInset bibitem
43475 LatexCommand bibitem
43483 \begin_inset CommandInset href
43486 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
43493 \begin_inset Index idx
43496 \begin_layout Plain Layout
43497 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
43505 \begin_layout Bibliography
43506 \begin_inset CommandInset bibitem
43507 LatexCommand bibitem
43517 \begin_inset CommandInset href
43520 target "http://wiki.lyx.org/LyX/NewInLyX20"
43527 \begin_layout Standard
43528 \begin_inset CommandInset index_print
43529 LatexCommand printindex