1 #LyX 2.0 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 to have extra space in table cells
91 \@ifundefined{extrarowheight}
92 {\usepackage{array}}{}
93 \setlength{\extrarowheight}{2pt}
95 % used for customized tables
98 {>{\centering\hspace{0pt}}m{#1}}
101 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
104 {>{\columncolor{#1}\hspace{0pt}}c}
106 \newcolumntype{V}{!{\vrule width 1.5pt}}
108 \newcolumntype{W}{!{\color{green}\vline}}
111 % insert additional vertical space of
112 % 1.5 mm between footnotes
114 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
116 % number algorithm floats within chapters
117 \numberwithin{algorithm}{chapter}
120 % ------------------------------------
121 % used to check for needed LaTeX packages
124 % check for package arydshln
125 % used for tables with dashed lines
126 \newboolean{arydshln}
127 \IfFileExists{arydshln.sty}
128 {\usepackage{arydshln}
129 \setboolean{arydshln}{true}}
130 {\setboolean{arydshln}{false}}
132 % check for package marginnote
133 % used for margin notes
134 \newboolean{marginnote}
135 \IfFileExists{marginnote.sty}
136 {\usepackage{marginnote}
137 \let\marginpar\marginnote
138 \setboolean{marginnote}{true}}
139 {\setboolean{marginnote}{false}}
141 % check for package sidecap
142 % used for captions on the side
144 \IfFileExists{sidecap.sty}
145 {\usepackage{sidecap}
146 \setboolean{sidecap}{true}}
147 {\setboolean{sidecap}{false}}
150 % used for surrounded fixed objects
151 \newboolean{picinpar}
152 \IfFileExists{picinpar.sty}
153 {\usepackage{picinpar}
154 \setboolean{picinpar}{true}}
155 {\setboolean{picinpar}{false}}
158 \newboolean{lettrine}
159 \IfFileExists{lettrine.sty}
160 {\usepackage{lettrine}
161 \setboolean{lettrine}{true}}
162 {\setboolean{lettrine}{false}}
166 \IfFileExists{diagbox.sty}
167 {\usepackage{diagbox}
168 \setboolean{diagbox}{true}}
169 {\setboolean{diagbox}{false}}
172 \renewcommand{\seename}{→}
175 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
176 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
178 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
179 \use_default_options false
183 \maintain_unincluded_children false
185 \language_package default
190 \font_typewriter default
191 \font_default_family default
192 \use_non_tex_fonts false
199 \default_output_format default
201 \bibtex_command default
202 \index_command default
206 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
207 \pdf_author "LyX Team, Uwe Stohr"
208 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
209 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
211 \pdf_bookmarksnumbered true
212 \pdf_bookmarksopen true
213 \pdf_bookmarksopenlevel 1
214 \pdf_breaklinks false
218 \pdf_pdfusetitle false
219 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
229 \paperorientation portrait
232 \notefontcolor #0000ff
243 \paragraph_separation skip
245 \quotes_language english
248 \paperpagestyle default
252 \tracking_changes false
253 \output_changes false
256 \html_be_strict false
262 LyXの図表・フロート・注釈・ボックス・外部素材に関する詳細説明書
270 \begin_layout Plain Layout
272 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
273 \begin_inset CommandInset href
275 name "lyx-docs@lists.lyx.org"
276 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
287 \begin_inset Note Note
290 \begin_layout Plain Layout
297 \begin_inset Newline newline
301 \begin_inset Newline newline
309 \begin_layout Standard
310 \begin_inset CommandInset toc
311 LatexCommand tableofcontents
318 \begin_layout Standard
319 \begin_inset Note Note
322 \begin_layout Plain Layout
323 本文書の全体をPDFやPS、DVIに書き出すには、
351 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
355 \begin_layout Plain Layout
357 \begin_inset Newline newline
362 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
365 \begin_inset Newline newline
376 \begin_layout Chapter
378 \begin_inset Index idx
381 \begin_layout Plain Layout
388 \begin_inset Index idx
391 \begin_layout Plain Layout
396 \begin_layout Plain Layout
407 \begin_layout Plain Layout
422 \begin_layout Section
424 \begin_inset Index idx
427 \begin_layout Plain Layout
428 ず@図 ! がぞうだいあろぐ@画像ダイアログ
434 \begin_inset CommandInset label
443 \begin_layout Standard
444 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
449 arg "dialog-show-new-inset graphics"
456 挿入\SpecialChar \menuseparator
459 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
462 \begin_layout Standard
463 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
466 \begin_layout Description
471 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
472 \begin_inset CommandInset ref
474 reference "cha:LyXで使用できる単位"
479 \begin_inset Newline newline
483 \begin_inset Index idx
486 \begin_layout Plain Layout
492 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
493 \begin_inset Newline newline
497 \begin_inset Index idx
500 \begin_layout Plain Layout
506 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
507 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
511 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
512 \begin_inset Newline newline
515 画像を右クリックすると現れるコンテクストメニューで
519 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
523 \begin_layout Description
528 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
532 ボタンを押すことによって、自動的に計算することもできます。
536 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
539 \begin_layout Description
544 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
547 \begin_inset Newline newline
552 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
555 \begin_inset Newline newline
564 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
566 \begin_inset Newline newline
569 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
570 \begin_inset CommandInset ref
572 reference "sec:PostScript"
576 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
577 \begin_inset Newline newline
585 \begin_inset Newline newline
590 zgrep %%Bounding x.eps.gz > x.eps.bb
593 \begin_inset Newline newline
596 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
597 \begin_inset Newline newline
610 you can define or join an image settings group.
613 \begin_inset Index idx
616 \begin_layout Plain Layout
617 ず@図 ! せっていぐるーぷ@設定グループ
622 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
623 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
624 ーを使用して、望むグループ名をチェックすることで行うこともできます。
627 \begin_layout Standard
628 \begin_inset VSpace bigskip
634 \begin_layout Standard
639 \begin_layout Plain Layout
641 \begin_inset CommandInset ref
652 の画像の例で、単独の中央揃えの段落に置いてあります。
655 \begin_layout Standard
657 \begin_inset Graphics
658 filename ../clipart/mobius.eps
668 \begin_layout Standard
669 下記は上と同じ画像ですが、下書きモードのものです。
672 \begin_layout Standard
674 \begin_inset Graphics
675 filename ../clipart/mobius.eps
686 \begin_layout Standard
687 \begin_inset Newpage newpage
693 \begin_layout Section
695 \begin_inset CommandInset label
702 \begin_inset Index idx
705 \begin_layout Plain Layout
712 \begin_inset Index idx
715 \begin_layout Plain Layout
724 \begin_layout Standard
726 \begin_inset CommandInset ref
728 reference "sec:フロートはじめに"
735 \begin_layout Standard
741 arg "float-insert figure"
748 挿入\SpecialChar \menuseparator
749 フロート\SpecialChar \menuseparator
752 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
753 \begin_inset CommandInset ref
755 reference "fig:犠牲のカモノハシ"
759 のようにキャプションの上に置くこともできますし、図
760 \begin_inset CommandInset ref
762 reference "fig:エッシャー"
766 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
767 \begin_inset CommandInset ref
769 reference "sec:キャプションの配置"
776 \begin_layout Standard
777 \begin_inset Float figure
782 \begin_layout Plain Layout
784 \begin_inset Graphics
785 filename ../clipart/platypus.eps
795 \begin_layout Plain Layout
798 \begin_layout Plain Layout
799 \begin_inset CommandInset label
818 \begin_layout Standard
819 \begin_inset Float figure
824 \begin_layout Plain Layout
827 \begin_layout Plain Layout
828 \begin_inset CommandInset label
842 \begin_layout Plain Layout
844 \begin_inset Graphics
845 filename ../clipart/escher-lsd.eps
860 \begin_layout Standard
861 \begin_inset Index idx
864 \begin_layout Plain Layout
865 さんしょう@参照 ! ずへの@図への ---
871 \begin_inset CommandInset ref
873 reference "fig:犠牲のカモノハシ"
878 \begin_inset CommandInset ref
880 reference "fig:エッシャー"
884 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
886 挿入\SpecialChar \menuseparator
899 を使用して、キャプションにラベルを挿入してください。その後、
901 挿入\SpecialChar \menuseparator
909 arg "dialog-show-new-inset ref"
914 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
915 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
916 \begin_inset Newline newline
920 \begin_inset CommandInset ref
922 reference "sec:フロートの参照"
929 \begin_layout Standard
930 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
931 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
932 \begin_inset CommandInset ref
934 reference "fig:歪められた二つの像"
938 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
939 \begin_inset CommandInset ref
941 reference "fig:何かわからない構造"
946 \begin_inset CommandInset ref
948 reference "fig:カモノハシ"
955 \begin_layout Standard
956 \begin_inset Float figure
961 \begin_layout Plain Layout
962 \begin_inset space \hfill{}
966 \begin_inset Float figure
971 \begin_layout Plain Layout
974 \begin_layout Plain Layout
975 \begin_inset CommandInset label
989 \begin_layout Plain Layout
990 \begin_inset Graphics
991 filename ../clipart/escher-lsd.eps
1004 \begin_inset space \hfill{}
1008 \begin_inset Float figure
1013 \begin_layout Plain Layout
1014 \begin_inset Caption
1016 \begin_layout Plain Layout
1017 \begin_inset CommandInset label
1031 \begin_layout Plain Layout
1032 \begin_inset Graphics
1033 filename ../clipart/platypus.eps
1046 \begin_inset space \hfill{}
1052 \begin_layout Plain Layout
1053 \begin_inset Caption
1055 \begin_layout Plain Layout
1056 \begin_inset CommandInset label
1058 name "fig:歪められた二つの像"
1062 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1075 \begin_layout Standard
1076 \begin_inset Newpage newpage
1082 \begin_layout Section
1084 \begin_inset CommandInset label
1091 \begin_inset Index idx
1094 \begin_layout Plain Layout
1101 \begin_inset Index idx
1104 \begin_layout Plain Layout
1113 \begin_layout Standard
1114 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1115 \begin_inset CommandInset ref
1117 reference "cha:ファイル出力形式"
1121 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1126 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1127 用するとよいでしょう。出力ファイル書式は、付録
1128 \begin_inset CommandInset ref
1130 reference "cha:ファイル出力形式"
1137 \begin_layout Standard
1138 フォントと同じく、画像形式にも以下の二つの型があります。
1141 \begin_layout Description
1142 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1143 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1148 \begin_inset Index idx
1151 \begin_layout Plain Layout
1156 \begin_layout Plain Layout
1167 \begin_layout Plain Layout
1179 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1184 \begin_inset Index idx
1187 \begin_layout Plain Layout
1192 \begin_layout Plain Layout
1203 \begin_layout Plain Layout
1215 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1224 \begin_inset Index idx
1227 \begin_layout Plain Layout
1232 \begin_layout Plain Layout
1243 \begin_layout Plain Layout
1258 \begin_layout Description
1259 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1260 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1262 \begin_inset Newline newline
1265 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1270 \begin_inset Index idx
1273 \begin_layout Plain Layout
1278 \begin_layout Plain Layout
1289 \begin_layout Plain Layout
1301 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1306 \begin_inset Index idx
1309 \begin_layout Plain Layout
1314 \begin_layout Plain Layout
1325 \begin_layout Plain Layout
1337 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1342 \begin_inset Index idx
1345 \begin_layout Plain Layout
1351 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1356 \begin_inset Index idx
1359 \begin_layout Plain Layout
1364 \begin_layout Plain Layout
1375 \begin_layout Plain Layout
1387 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1388 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1392 \begin_layout Plain Layout
1393 PDFの場合には、さらに元画像が圧縮されます。
1402 が生成するPDFファイルは、ビットマップ画像です。
1405 \begin_layout Standard
1406 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1407 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1408 \begin_inset Formula $\to$
1411 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1414 \begin_layout Chapter
1416 \begin_inset Index idx
1419 \begin_layout Plain Layout
1428 \begin_layout Section
1430 \begin_inset Index idx
1433 \begin_layout Plain Layout
1442 \begin_layout Standard
1464 arg "tabular-insert"
1485 挿入\SpecialChar \menuseparator
1488 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1489 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1490 \begin_inset Newline newline
1493 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1494 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1497 \begin_layout Standard
1499 \begin_inset Tabular
1500 <lyxtabular version="3" rows="4" columns="4">
1501 <features tabularvalignment="middle">
1502 <column alignment="center" valignment="top" width="0">
1503 <column alignment="center" valignment="top" width="0">
1504 <column alignment="center" valignment="top" width="0">
1505 <column alignment="center" valignment="top" width="0">
1507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1510 \begin_layout Plain Layout
1516 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1519 \begin_layout Plain Layout
1525 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1528 \begin_layout Plain Layout
1534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1537 \begin_layout Plain Layout
1545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1548 \begin_layout Plain Layout
1554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1557 \begin_layout Plain Layout
1563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1566 \begin_layout Plain Layout
1572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1575 \begin_layout Plain Layout
1583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1586 \begin_layout Plain Layout
1592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1595 \begin_layout Plain Layout
1601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1604 \begin_layout Plain Layout
1610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1613 \begin_layout Plain Layout
1621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1624 \begin_layout Plain Layout
1630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1633 \begin_layout Plain Layout
1639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1642 \begin_layout Plain Layout
1648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1651 \begin_layout Plain Layout
1665 \begin_layout Section
1667 \begin_inset Index idx
1670 \begin_layout Plain Layout
1679 \begin_layout Standard
1689 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1690 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1703 を選択するのと、セル自体を選択するのは違うことに注意して下さい。
1704 \begin_inset Newline newline
1711 を使用すると、ダイアログ中に行った変更が直ちに適用されるようになります。カーソルを別のセルに移動すると、ダイアログも新しいセルのパラメーターに更新されます。ダイ
1712 アログ中の長さの値を変更した場合には、リターンを押さないと変更が適用されません。
1713 \begin_inset Newline newline
1716 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1719 \begin_layout Description
1724 ここでは、現在列の幅と水平揃えを設定することができます。
1729 \begin_inset CommandInset ref
1731 reference "sub:特殊なセル揃え"
1735 で説明されています。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関して
1737 \begin_inset CommandInset ref
1743 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1744 \begin_inset Newline newline
1747 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1748 \begin_inset CommandInset ref
1754 節をご参照下さい。あるいは同一列のセルを連結行セルとして指定することもできます。これについては、第
1755 \begin_inset CommandInset ref
1762 \begin_inset Newline newline
1765 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1766 \begin_inset Newline newline
1770 \begin_inset Note Greyedout
1773 \begin_layout Plain Layout
1778 DVIビューアのすべてが回転を表示できるわけではありません。
1784 \begin_inset Newline newline
1787 下記は、本文行中の表に、表全体の垂直揃えを適用したものです。
1788 \begin_inset Newline newline
1792 \begin_inset Tabular
1793 <lyxtabular version="3" rows="2" columns="2">
1794 <features tabularvalignment="top">
1795 <column alignment="center" valignment="top" width="0pt">
1796 <column alignment="center" valignment="top" width="0">
1798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1801 \begin_layout Plain Layout
1807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1810 \begin_layout Plain Layout
1818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1821 \begin_layout Plain Layout
1827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1830 \begin_layout Plain Layout
1842 \begin_inset Tabular
1843 <lyxtabular version="3" rows="2" columns="2">
1844 <features tabularvalignment="middle">
1845 <column alignment="center" valignment="top" width="0">
1846 <column alignment="center" valignment="top" width="0">
1848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1851 \begin_layout Plain Layout
1857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1860 \begin_layout Plain Layout
1868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1871 \begin_layout Plain Layout
1877 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1880 \begin_layout Plain Layout
1892 \begin_inset Tabular
1893 <lyxtabular version="3" rows="2" columns="2">
1894 <features tabularvalignment="bottom">
1895 <column alignment="center" valignment="top" width="0pt">
1896 <column alignment="center" valignment="top" width="0">
1898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1901 \begin_layout Plain Layout
1907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1910 \begin_layout Plain Layout
1918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1921 \begin_layout Plain Layout
1927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1930 \begin_layout Plain Layout
1942 \begin_inset Newline newline
1945 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1946 \begin_inset CommandInset ref
1948 reference "sub:連結列の計算"
1953 \begin_inset CommandInset ref
1955 reference "sec:色付きの表"
1962 \begin_layout Description
1967 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1968 \begin_inset Newline newline
1976 \begin_inset CommandInset ref
1978 reference "sec:フォーマル形式の表"
1982 節に述べられているフォーマル様式の表に表を変換します。
1983 \begin_inset Newline newline
1987 \begin_inset CommandInset ref
1989 reference "sub:行の余白取り"
1993 節に述べられているように、表の行に空白を追加することもできます。
1996 \begin_layout Description
2001 このタブは、複数のページにわたる、いわゆる「
2006 \begin_inset CommandInset ref
2013 \begin_inset CommandInset ref
2015 reference "sec:長尺表にまつわる諸点"
2019 節に、長尺表の機能に関する詳細な説明があります。
2022 \begin_layout Section
2024 \begin_inset Index idx
2027 \begin_layout Plain Layout
2036 \begin_layout Standard
2037 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
2038 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
2041 \begin_layout Standard
2042 ツールバーには、以下のアイコンがあります。
2045 \begin_layout Labeling
2046 \labelwidthstring 00.00.0000
2051 arg "inset-modify tabular append-row"
2056 は、現在セルあるいは選択範囲の下に行を追加します。
2059 \begin_layout Labeling
2060 \labelwidthstring 00.00.0000
2065 arg "inset-modify tabular append-column"
2070 は、現在セルあるいは選択範囲の右に列を追加します。
2073 \begin_layout Labeling
2074 \labelwidthstring 00.00.0000
2079 arg "inset-modify tabular delete-row"
2084 は、現在行あるいは選択範囲行を削除します。
2087 \begin_layout Labeling
2088 \labelwidthstring 00.00.0000
2093 arg "inset-modify tabular delete-column"
2098 は、現在列あるいは選択範囲列を削除します。
2101 \begin_layout Labeling
2102 \labelwidthstring 00.00.0000
2107 arg "inset-modify tabular toggle-line-top"
2112 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2115 \begin_layout Labeling
2116 \labelwidthstring 00.00.0000
2121 arg "inset-modify tabular toggle-line-bottom"
2126 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2129 \begin_layout Labeling
2130 \labelwidthstring 00.00.0000
2135 arg "inset-modify tabular toggle-line-left"
2140 は、現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2143 \begin_layout Labeling
2144 \labelwidthstring 00.00.0000
2149 arg "inset-modify tabular toggle-line-right"
2154 は、現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2157 \begin_layout Labeling
2158 \labelwidthstring 00.00.0000
2163 arg "inset-modify tabular set-all-lines"
2168 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2171 \begin_layout Labeling
2172 \labelwidthstring 00.00.0000
2177 arg "inset-modify tabular unset-all-lines"
2182 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2185 \begin_layout Labeling
2186 \labelwidthstring 00.00.0000
2191 arg "inset-modify tabular m-align-left"
2196 は、現在セルあるいは現在列の内容を左揃えにします。
2199 \begin_layout Labeling
2200 \labelwidthstring 00.00.0000
2205 arg "inset-modify tabular m-align-center"
2210 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2213 \begin_layout Labeling
2214 \labelwidthstring 00.00.0000
2219 arg "inset-modify tabular m-align-right"
2224 は、現在セルあるいは現在列の内容を右揃えにします。
2227 \begin_layout Labeling
2228 \labelwidthstring 00.00.0000
2233 arg "inset-modify tabular align-decimal"
2238 は、現在セルの内容を特定文字位置で揃えます。
2241 \begin_layout Labeling
2242 \labelwidthstring 00.00.0000
2247 arg "inset-modify tabular m-valign-top"
2252 は、現在セルの内容を垂直方向上揃えにします。
2255 \begin_layout Labeling
2256 \labelwidthstring 00.00.0000
2261 arg "inset-modify tabular m-valign-middle"
2266 は、現在セルの内容を垂直方向中央揃えにします。
2269 \begin_layout Labeling
2270 \labelwidthstring 00.00.0000
2275 arg "inset-modify tabular m-valign-bottom"
2280 は、現在セルの内容を垂直方向下揃えにします。
2283 \begin_layout Labeling
2284 \labelwidthstring 00.00.0000
2289 arg "inset-modify tabular set-rotate-cell"
2294 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2297 \begin_layout Labeling
2298 \labelwidthstring 00.00.0000
2303 arg "inset-modify tabular set-rotate-tabular"
2308 は、表全体を反時計廻りに90度回転します。
2311 \begin_layout Labeling
2312 \labelwidthstring 00.00.0000
2317 arg "inset-modify tabular multicolumn"
2322 は、現在セルあるいは選択範囲を連結列にします。
2325 \begin_layout Labeling
2326 \labelwidthstring 00.00.0000
2331 arg "inset-modify tabular multirow"
2336 は、現在セルあるいは選択範囲を連結行にします。
2339 \begin_layout Standard
2340 \begin_inset Note Greyedout
2343 \begin_layout Plain Layout
2348 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2356 \begin_layout Section
2358 \begin_inset Index idx
2361 \begin_layout Plain Layout
2362 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2370 \begin_layout Standard
2373 編集\SpecialChar \menuseparator
2376 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2380 \begin_layout Section
2382 \begin_inset CommandInset label
2389 \begin_inset Index idx
2392 \begin_layout Plain Layout
2399 \begin_inset Index idx
2402 \begin_layout Plain Layout
2411 \begin_layout Standard
2413 \begin_inset CommandInset ref
2415 reference "sec:フロートはじめに"
2422 \begin_layout Standard
2423 \begin_inset Float table
2429 \begin_layout Plain Layout
2430 \begin_inset Caption
2432 \begin_layout Plain Layout
2433 \begin_inset CommandInset label
2447 \begin_layout Plain Layout
2449 \begin_inset Tabular
2450 <lyxtabular version="3" rows="3" columns="3">
2451 <features tabularvalignment="middle">
2452 <column alignment="center" valignment="top" width="0pt">
2453 <column alignment="center" valignment="top" width="0pt">
2454 <column alignment="center" valignment="top" width="0pt">
2456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2459 \begin_layout Plain Layout
2474 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2477 \begin_layout Plain Layout
2492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2495 \begin_layout Plain Layout
2512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2515 \begin_layout Plain Layout
2521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2524 \begin_layout Plain Layout
2530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2533 \begin_layout Plain Layout
2541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2544 \begin_layout Plain Layout
2554 \begin_inset Formula $\int x^{2}dx$
2562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2565 \begin_layout Plain Layout
2575 \begin_inset Formula $\left[\begin{array}{cc}
2586 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2589 \begin_layout Plain Layout
2599 \begin_inset Formula $1+1=2$
2620 \begin_layout Standard
2625 \SpecialChar \menuseparator
2626 フロート\SpecialChar \menuseparator
2635 arg "float-insert table"
2643 \begin_layout Standard
2644 フロートは折りたたむことのできるボックスとして表示され、中には「表
2645 \begin_inset space ~
2648 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2651 \begin_layout Standard
2653 \begin_inset space ~
2657 \begin_inset CommandInset ref
2659 reference "tab:表フロート"
2666 \begin_layout Standard
2667 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2668 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2674 \begin_inset Index idx
2677 \begin_layout Plain Layout
2678 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2686 \begin_layout Standard
2692 \begin_layout Standard
2693 というオプションとともにloadコマンドを使って読み込んでください
2697 \begin_layout Plain Layout
2699 \begin_inset CommandInset ref
2701 reference "sec:キャプションの配置"
2711 \begin_inset CommandInset ref
2713 reference "sec:キャプションの書式設定"
2724 \begin_layout Standard
2725 \begin_inset Index idx
2728 \begin_layout Plain Layout
2729 さんしょう@参照 ! ひょうへの@表への
2734 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2736 挿入\SpecialChar \menuseparator
2749 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2755 arg "dialog-show-new-inset ref"
2760 を用いて、このラベルを参照することができます。
2761 \begin_inset Newline newline
2765 \begin_inset CommandInset ref
2767 reference "sec:フロートの参照"
2774 \begin_layout Section
2776 \begin_inset CommandInset label
2783 \begin_inset Index idx
2786 \begin_layout Plain Layout
2793 \begin_inset Index idx
2796 \begin_layout Plain Layout
2797 ひょう@表 ! ちょうしゃくひょう@長尺表
2805 \begin_layout Standard
2806 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2814 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2818 \begin_layout Description
2819 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2846 が定義されているときは、冒頭ページを除きます。
2855 これと区別して、このヘッダは本体ヘッダと呼びます。
2858 \begin_layout Description
2859 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2862 \begin_layout Description
2863 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2890 が定義されているときは、末尾ページを除きます。
2893 \begin_layout Description
2894 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2897 \begin_layout Description
2898 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2899 \begin_inset CommandInset ref
2901 reference "sub:長尺表のキャプション"
2908 \begin_layout Standard
2909 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2912 \begin_layout Standard
2914 \begin_inset Tabular
2915 <lyxtabular version="3" rows="69" columns="3">
2916 <features islongtable="true" longtabularalignment="center">
2917 <column alignment="left" valignment="top" width="0cm">
2918 <column alignment="left" valignment="top" width="0pt">
2919 <column alignment="center" valignment="top" width="0pt">
2920 <row endfirsthead="true">
2921 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2924 \begin_layout Plain Layout
2932 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2935 \begin_layout Plain Layout
2941 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2944 \begin_layout Plain Layout
2951 <row endfirsthead="true">
2952 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2955 \begin_layout Plain Layout
2961 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2964 \begin_layout Plain Layout
2970 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2973 \begin_layout Plain Layout
2982 <row endhead="true">
2983 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2986 \begin_layout Plain Layout
2994 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2997 \begin_layout Plain Layout
3003 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3006 \begin_layout Plain Layout
3013 <row endhead="true">
3014 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3017 \begin_layout Plain Layout
3023 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3026 \begin_layout Plain Layout
3032 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3035 \begin_layout Plain Layout
3044 <row endfoot="true">
3045 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3048 \begin_layout Plain Layout
3054 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3057 \begin_layout Plain Layout
3063 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3066 \begin_layout Plain Layout
3074 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3077 \begin_layout Plain Layout
3085 <cell alignment="center" valignment="top" usebox="none">
3088 \begin_layout Plain Layout
3094 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3097 \begin_layout Plain Layout
3105 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3108 \begin_layout Plain Layout
3116 <cell alignment="center" valignment="top" usebox="none">
3119 \begin_layout Plain Layout
3125 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3128 \begin_layout Plain Layout
3136 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3139 \begin_layout Plain Layout
3147 <cell alignment="center" valignment="top" usebox="none">
3150 \begin_layout Plain Layout
3156 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3159 \begin_layout Plain Layout
3167 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3170 \begin_layout Plain Layout
3178 <cell alignment="center" valignment="top" usebox="none">
3181 \begin_layout Plain Layout
3187 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3190 \begin_layout Plain Layout
3198 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3201 \begin_layout Plain Layout
3209 <cell alignment="center" valignment="top" usebox="none">
3212 \begin_layout Plain Layout
3218 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3221 \begin_layout Plain Layout
3229 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3232 \begin_layout Plain Layout
3240 <cell alignment="center" valignment="top" usebox="none">
3243 \begin_layout Plain Layout
3249 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3252 \begin_layout Plain Layout
3260 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3263 \begin_layout Plain Layout
3271 <cell alignment="center" valignment="top" usebox="none">
3274 \begin_layout Plain Layout
3280 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3283 \begin_layout Plain Layout
3291 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3294 \begin_layout Plain Layout
3302 <cell alignment="center" valignment="top" usebox="none">
3305 \begin_layout Plain Layout
3311 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3314 \begin_layout Plain Layout
3322 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3325 \begin_layout Plain Layout
3333 <cell alignment="center" valignment="top" usebox="none">
3336 \begin_layout Plain Layout
3342 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3345 \begin_layout Plain Layout
3353 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3356 \begin_layout Plain Layout
3364 <cell alignment="center" valignment="top" usebox="none">
3367 \begin_layout Plain Layout
3373 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3376 \begin_layout Plain Layout
3384 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3387 \begin_layout Plain Layout
3395 <cell alignment="center" valignment="top" usebox="none">
3398 \begin_layout Plain Layout
3404 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3407 \begin_layout Plain Layout
3415 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3418 \begin_layout Plain Layout
3426 <cell alignment="center" valignment="top" usebox="none">
3429 \begin_layout Plain Layout
3435 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3438 \begin_layout Plain Layout
3446 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3449 \begin_layout Plain Layout
3457 <cell alignment="center" valignment="top" usebox="none">
3460 \begin_layout Plain Layout
3466 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3469 \begin_layout Plain Layout
3477 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3480 \begin_layout Plain Layout
3488 <cell alignment="center" valignment="top" usebox="none">
3491 \begin_layout Plain Layout
3497 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3500 \begin_layout Plain Layout
3508 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3511 \begin_layout Plain Layout
3519 <cell alignment="center" valignment="top" usebox="none">
3522 \begin_layout Plain Layout
3528 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3531 \begin_layout Plain Layout
3539 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3542 \begin_layout Plain Layout
3550 <cell alignment="center" valignment="top" usebox="none">
3553 \begin_layout Plain Layout
3559 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3562 \begin_layout Plain Layout
3570 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3573 \begin_layout Plain Layout
3581 <cell alignment="center" valignment="top" usebox="none">
3584 \begin_layout Plain Layout
3590 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3593 \begin_layout Plain Layout
3601 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3604 \begin_layout Plain Layout
3612 <cell alignment="center" valignment="top" usebox="none">
3615 \begin_layout Plain Layout
3621 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3624 \begin_layout Plain Layout
3632 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3635 \begin_layout Plain Layout
3643 <cell alignment="center" valignment="top" usebox="none">
3646 \begin_layout Plain Layout
3652 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3655 \begin_layout Plain Layout
3663 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3666 \begin_layout Plain Layout
3674 <cell alignment="center" valignment="top" usebox="none">
3677 \begin_layout Plain Layout
3683 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3686 \begin_layout Plain Layout
3694 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3697 \begin_layout Plain Layout
3705 <cell alignment="center" valignment="top" usebox="none">
3708 \begin_layout Plain Layout
3714 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3717 \begin_layout Plain Layout
3725 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3728 \begin_layout Plain Layout
3736 <cell alignment="center" valignment="top" usebox="none">
3739 \begin_layout Plain Layout
3745 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3748 \begin_layout Plain Layout
3756 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3759 \begin_layout Plain Layout
3767 <cell alignment="center" valignment="top" usebox="none">
3770 \begin_layout Plain Layout
3776 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3779 \begin_layout Plain Layout
3787 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3790 \begin_layout Plain Layout
3798 <cell alignment="center" valignment="top" usebox="none">
3801 \begin_layout Plain Layout
3807 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3810 \begin_layout Plain Layout
3818 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3821 \begin_layout Plain Layout
3829 <cell alignment="center" valignment="top" usebox="none">
3832 \begin_layout Plain Layout
3838 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3841 \begin_layout Plain Layout
3849 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3852 \begin_layout Plain Layout
3860 <cell alignment="center" valignment="top" usebox="none">
3863 \begin_layout Plain Layout
3869 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3872 \begin_layout Plain Layout
3880 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3883 \begin_layout Plain Layout
3891 <cell alignment="center" valignment="top" usebox="none">
3894 \begin_layout Plain Layout
3900 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3903 \begin_layout Plain Layout
3911 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3914 \begin_layout Plain Layout
3922 <cell alignment="center" valignment="top" usebox="none">
3925 \begin_layout Plain Layout
3931 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3934 \begin_layout Plain Layout
3942 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3945 \begin_layout Plain Layout
3953 <cell alignment="center" valignment="top" usebox="none">
3956 \begin_layout Plain Layout
3962 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3965 \begin_layout Plain Layout
3973 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3976 \begin_layout Plain Layout
3984 <cell alignment="center" valignment="top" usebox="none">
3987 \begin_layout Plain Layout
3993 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3996 \begin_layout Plain Layout
4004 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4007 \begin_layout Plain Layout
4015 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4018 \begin_layout Plain Layout
4024 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4027 \begin_layout Plain Layout
4035 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4038 \begin_layout Plain Layout
4044 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4047 \begin_layout Plain Layout
4053 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4056 \begin_layout Plain Layout
4064 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4067 \begin_layout Plain Layout
4075 <cell alignment="center" valignment="top" usebox="none">
4078 \begin_layout Plain Layout
4084 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4087 \begin_layout Plain Layout
4095 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4098 \begin_layout Plain Layout
4106 <cell alignment="center" valignment="top" usebox="none">
4109 \begin_layout Plain Layout
4115 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4118 \begin_layout Plain Layout
4126 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4129 \begin_layout Plain Layout
4137 <cell alignment="center" valignment="top" usebox="none">
4140 \begin_layout Plain Layout
4146 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4149 \begin_layout Plain Layout
4157 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4160 \begin_layout Plain Layout
4168 <cell alignment="center" valignment="top" usebox="none">
4171 \begin_layout Plain Layout
4177 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4180 \begin_layout Plain Layout
4188 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4191 \begin_layout Plain Layout
4199 <cell alignment="center" valignment="top" usebox="none">
4202 \begin_layout Plain Layout
4208 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4211 \begin_layout Plain Layout
4219 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4222 \begin_layout Plain Layout
4230 <cell alignment="center" valignment="top" usebox="none">
4233 \begin_layout Plain Layout
4239 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4242 \begin_layout Plain Layout
4250 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4253 \begin_layout Plain Layout
4261 <cell alignment="center" valignment="top" usebox="none">
4264 \begin_layout Plain Layout
4270 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4273 \begin_layout Plain Layout
4281 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4284 \begin_layout Plain Layout
4292 <cell alignment="center" valignment="top" usebox="none">
4295 \begin_layout Plain Layout
4301 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4304 \begin_layout Plain Layout
4312 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4315 \begin_layout Plain Layout
4323 <cell alignment="center" valignment="top" usebox="none">
4326 \begin_layout Plain Layout
4332 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4335 \begin_layout Plain Layout
4343 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4346 \begin_layout Plain Layout
4354 <cell alignment="center" valignment="top" usebox="none">
4357 \begin_layout Plain Layout
4363 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4366 \begin_layout Plain Layout
4374 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4377 \begin_layout Plain Layout
4385 <cell alignment="center" valignment="top" usebox="none">
4388 \begin_layout Plain Layout
4394 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4397 \begin_layout Plain Layout
4405 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4408 \begin_layout Plain Layout
4416 <cell alignment="center" valignment="top" usebox="none">
4419 \begin_layout Plain Layout
4425 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4428 \begin_layout Plain Layout
4436 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4439 \begin_layout Plain Layout
4447 <cell alignment="center" valignment="top" usebox="none">
4450 \begin_layout Plain Layout
4456 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4459 \begin_layout Plain Layout
4467 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4470 \begin_layout Plain Layout
4478 <cell alignment="center" valignment="top" usebox="none">
4481 \begin_layout Plain Layout
4487 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4490 \begin_layout Plain Layout
4498 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4501 \begin_layout Plain Layout
4509 <cell alignment="center" valignment="top" usebox="none">
4512 \begin_layout Plain Layout
4518 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4521 \begin_layout Plain Layout
4529 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4532 \begin_layout Plain Layout
4540 <cell alignment="center" valignment="top" usebox="none">
4543 \begin_layout Plain Layout
4549 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4552 \begin_layout Plain Layout
4560 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4563 \begin_layout Plain Layout
4571 <cell alignment="center" valignment="top" usebox="none">
4574 \begin_layout Plain Layout
4580 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4583 \begin_layout Plain Layout
4591 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4594 \begin_layout Plain Layout
4602 <cell alignment="center" valignment="top" usebox="none">
4605 \begin_layout Plain Layout
4611 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4614 \begin_layout Plain Layout
4622 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4625 \begin_layout Plain Layout
4633 <cell alignment="center" valignment="top" usebox="none">
4636 \begin_layout Plain Layout
4642 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4645 \begin_layout Plain Layout
4653 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4656 \begin_layout Plain Layout
4664 <cell alignment="center" valignment="top" usebox="none">
4667 \begin_layout Plain Layout
4673 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4676 \begin_layout Plain Layout
4684 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4687 \begin_layout Plain Layout
4695 <cell alignment="center" valignment="top" usebox="none">
4698 \begin_layout Plain Layout
4704 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4707 \begin_layout Plain Layout
4715 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4718 \begin_layout Plain Layout
4726 <cell alignment="center" valignment="top" usebox="none">
4729 \begin_layout Plain Layout
4735 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4738 \begin_layout Plain Layout
4746 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4749 \begin_layout Plain Layout
4757 <cell alignment="center" valignment="top" usebox="none">
4760 \begin_layout Plain Layout
4766 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4769 \begin_layout Plain Layout
4777 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4780 \begin_layout Plain Layout
4788 <cell alignment="center" valignment="top" usebox="none">
4791 \begin_layout Plain Layout
4797 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4800 \begin_layout Plain Layout
4808 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4811 \begin_layout Plain Layout
4819 <cell alignment="center" valignment="top" usebox="none">
4822 \begin_layout Plain Layout
4828 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4831 \begin_layout Plain Layout
4839 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4842 \begin_layout Plain Layout
4850 <cell alignment="center" valignment="top" usebox="none">
4853 \begin_layout Plain Layout
4859 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4862 \begin_layout Plain Layout
4870 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4873 \begin_layout Plain Layout
4881 <cell alignment="center" valignment="top" usebox="none">
4884 \begin_layout Plain Layout
4890 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4893 \begin_layout Plain Layout
4901 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4904 \begin_layout Plain Layout
4912 <cell alignment="center" valignment="top" usebox="none">
4915 \begin_layout Plain Layout
4921 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4924 \begin_layout Plain Layout
4932 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4935 \begin_layout Plain Layout
4943 <cell alignment="center" valignment="top" usebox="none">
4946 \begin_layout Plain Layout
4952 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4955 \begin_layout Plain Layout
4963 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4966 \begin_layout Plain Layout
4974 <cell alignment="center" valignment="top" usebox="none">
4977 \begin_layout Plain Layout
4983 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4986 \begin_layout Plain Layout
4994 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4997 \begin_layout Plain Layout
5005 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5008 \begin_layout Plain Layout
5014 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5017 \begin_layout Plain Layout
5024 <row endlastfoot="true">
5025 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5028 \begin_layout Plain Layout
5034 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5037 \begin_layout Plain Layout
5043 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5046 \begin_layout Plain Layout
5061 \begin_layout Plain Layout
5065 addtocounter{table}{-1}
5071 \begin_inset Note Note
5074 \begin_layout Plain Layout
5076 \begin_inset CommandInset ref
5078 reference "sub:長尺表のキャプション"
5090 \begin_layout Subsection
5092 \begin_inset CommandInset label
5099 \begin_inset Index idx
5102 \begin_layout Plain Layout
5103 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
5111 \begin_layout Standard
5112 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
5113 \begin_inset CommandInset ref
5115 reference "tab:別キャプション"
5122 \begin_layout Subsection
5124 \begin_inset Index idx
5127 \begin_layout Plain Layout
5128 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5136 \begin_layout Standard
5137 表設定ダイアログでは、長尺表の水平揃えを指定することができます。左揃えや右揃えでは、表は直接ページ境界に寄せられます。表と境界の間に余白を加えるには、中央揃えに
5141 \begin_layout Standard
5151 \begin_layout Standard
5152 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5164 の値を変更しなくてはなりません。ここで「値」は、第
5165 \begin_inset CommandInset ref
5171 表に挙げてある単位であれば、どの単位を取ることもできます。
5177 は、左頁余白から長尺表までの水平方向の距離を制御し、
5183 は、右頁余白からの距離を制御します。これらの長さの既定値は
5189 となっており、LyXの水平フィルと同等になっています。
5192 \begin_layout Standard
5209 \begin_layout Plain Layout
5225 \begin_layout Standard
5226 \begin_inset Tabular
5227 <lyxtabular version="3" rows="5" columns="5">
5228 <features islongtable="true" longtabularalignment="center">
5229 <column alignment="center" valignment="top" width="0">
5230 <column alignment="center" valignment="top" width="0">
5231 <column alignment="center" valignment="top" width="0">
5232 <column alignment="center" valignment="top" width="0">
5233 <column alignment="center" valignment="top" width="0">
5235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5238 \begin_layout Plain Layout
5244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5247 \begin_layout Plain Layout
5253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5256 \begin_layout Plain Layout
5262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5265 \begin_layout Plain Layout
5271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5274 \begin_layout Plain Layout
5282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5285 \begin_layout Plain Layout
5291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5294 \begin_layout Plain Layout
5300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5303 \begin_layout Plain Layout
5309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5312 \begin_layout Plain Layout
5318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5321 \begin_layout Plain Layout
5329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5332 \begin_layout Plain Layout
5338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5341 \begin_layout Plain Layout
5347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5350 \begin_layout Plain Layout
5356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5359 \begin_layout Plain Layout
5365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5368 \begin_layout Plain Layout
5376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5379 \begin_layout Plain Layout
5385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5388 \begin_layout Plain Layout
5394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5397 \begin_layout Plain Layout
5403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5406 \begin_layout Plain Layout
5412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5415 \begin_layout Plain Layout
5423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5426 \begin_layout Plain Layout
5432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5435 \begin_layout Plain Layout
5441 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5444 \begin_layout Plain Layout
5450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5453 \begin_layout Plain Layout
5459 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5462 \begin_layout Plain Layout
5477 \begin_layout Plain Layout
5494 \begin_layout Plain Layout
5498 addtocounter{table}{-1}
5504 \begin_inset Note Note
5507 \begin_layout Plain Layout
5509 \begin_inset CommandInset ref
5511 reference "sub:長尺表のキャプション"
5523 \begin_layout Subsection
5525 \begin_inset Index idx
5528 \begin_layout Plain Layout
5529 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5535 \begin_inset CommandInset label
5537 name "sub:長尺表のキャプション"
5544 \begin_layout Standard
5545 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5546 \begin_inset CommandInset ref
5552 節に述べられているように、ある行で長尺表オプションの
5556 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5559 \begin_layout Standard
5560 以下は、動作を確認するための短い長尺表です。
5563 \begin_layout Standard
5564 \begin_inset Tabular
5565 <lyxtabular version="3" rows="6" columns="5">
5566 <features islongtable="true" longtabularalignment="center">
5567 <column alignment="center" valignment="top" width="0">
5568 <column alignment="center" valignment="top" width="0">
5569 <column alignment="center" valignment="top" width="0">
5570 <column alignment="center" valignment="top" width="0">
5571 <column alignment="center" valignment="top" width="0">
5572 <row caption="true">
5573 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5576 \begin_layout Plain Layout
5577 \begin_inset Caption
5579 \begin_layout Plain Layout
5581 \begin_inset Argument
5584 \begin_layout Plain Layout
5600 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5603 \begin_layout Plain Layout
5609 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5612 \begin_layout Plain Layout
5618 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5621 \begin_layout Plain Layout
5627 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5630 \begin_layout Plain Layout
5638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5641 \begin_layout Plain Layout
5647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5650 \begin_layout Plain Layout
5656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5659 \begin_layout Plain Layout
5665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5668 \begin_layout Plain Layout
5674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5677 \begin_layout Plain Layout
5685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5688 \begin_layout Plain Layout
5694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5697 \begin_layout Plain Layout
5703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5706 \begin_layout Plain Layout
5712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5715 \begin_layout Plain Layout
5721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5724 \begin_layout Plain Layout
5732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5735 \begin_layout Plain Layout
5741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5744 \begin_layout Plain Layout
5750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5753 \begin_layout Plain Layout
5759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5762 \begin_layout Plain Layout
5768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5771 \begin_layout Plain Layout
5779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5782 \begin_layout Plain Layout
5788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5791 \begin_layout Plain Layout
5797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5800 \begin_layout Plain Layout
5806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5809 \begin_layout Plain Layout
5815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5818 \begin_layout Plain Layout
5826 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5829 \begin_layout Plain Layout
5835 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5838 \begin_layout Plain Layout
5844 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5847 \begin_layout Plain Layout
5853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5856 \begin_layout Plain Layout
5862 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5865 \begin_layout Plain Layout
5879 \begin_layout Standard
5880 \begin_inset VSpace medskip
5884 \begin_inset Note Greyedout
5887 \begin_layout Plain Layout
5892 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5893 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5896 \begin_layout Plain Layout
5901 addtocounter{table}{-1}
5904 \begin_layout Plain Layout
5905 というコマンドを挿入する方法があります。
5908 \begin_layout Plain Layout
5909 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5912 \begin_layout Plain Layout
5922 \begin_inset Newline newline
5933 addtocounter{table}{-1}}
5941 \begin_layout Standard
5942 \begin_inset Note Greyedout
5945 \begin_layout Plain Layout
5963 \begin_inset Index idx
5966 \begin_layout Plain Layout
5967 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5972 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5980 \begin_layout Subsubsection
5982 \begin_inset Index idx
5985 \begin_layout Plain Layout
5986 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5994 \begin_layout Standard
5995 \begin_inset Tabular
5996 <lyxtabular version="3" rows="6" columns="5">
5997 <features islongtable="true" longtabularalignment="center">
5998 <column alignment="center" valignment="top" width="0">
5999 <column alignment="center" valignment="top" width="0">
6000 <column alignment="center" valignment="top" width="0">
6001 <column alignment="center" valignment="top" width="0">
6002 <column alignment="center" valignment="top" width="0">
6003 <row caption="true">
6004 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6007 \begin_layout Plain Layout
6008 \begin_inset Caption
6010 \begin_layout Plain Layout
6012 \begin_inset CommandInset label
6028 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6031 \begin_layout Plain Layout
6037 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6040 \begin_layout Plain Layout
6046 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6049 \begin_layout Plain Layout
6055 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6058 \begin_layout Plain Layout
6066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6069 \begin_layout Plain Layout
6075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6078 \begin_layout Plain Layout
6084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6087 \begin_layout Plain Layout
6093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6096 \begin_layout Plain Layout
6102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6105 \begin_layout Plain Layout
6113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6116 \begin_layout Plain Layout
6122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6125 \begin_layout Plain Layout
6131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6134 \begin_layout Plain Layout
6140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6143 \begin_layout Plain Layout
6149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6152 \begin_layout Plain Layout
6160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6163 \begin_layout Plain Layout
6169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6172 \begin_layout Plain Layout
6178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6181 \begin_layout Plain Layout
6187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6190 \begin_layout Plain Layout
6196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6199 \begin_layout Plain Layout
6207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6210 \begin_layout Plain Layout
6216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6219 \begin_layout Plain Layout
6225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6228 \begin_layout Plain Layout
6234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6237 \begin_layout Plain Layout
6243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6246 \begin_layout Plain Layout
6254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6257 \begin_layout Plain Layout
6263 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6266 \begin_layout Plain Layout
6272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6275 \begin_layout Plain Layout
6281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6284 \begin_layout Plain Layout
6290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6293 \begin_layout Plain Layout
6307 \begin_layout Standard
6308 長尺表を参照するには、キャプションにラベルを挿入してください。
6311 \begin_layout Standard
6313 \begin_inset CommandInset ref
6322 \begin_layout Standard
6323 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6328 \begin_inset Index idx
6331 \begin_layout Plain Layout
6332 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6338 \begin_inset CommandInset ref
6340 reference "sec:キャプションの書式設定"
6347 \begin_layout Subsubsection
6349 \begin_inset Index idx
6352 \begin_layout Plain Layout
6353 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6361 \begin_layout Standard
6368 によって指定することができます。既定値は4
6369 \begin_inset space \thinspace{}
6372 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6375 \begin_layout Standard
6385 \begin_layout Standard
6386 というコマンドを書き加えて下さい。ここで「幅」には、付録
6387 \begin_inset CommandInset ref
6389 reference "cha:LyXで使用できる単位"
6393 に挙げられている単位を取ることができます。
6396 \begin_layout Standard
6400 \begin_layout Standard
6401 \begin_inset Tabular
6402 <lyxtabular version="3" rows="6" columns="5">
6403 <features islongtable="true" longtabularalignment="center">
6404 <column alignment="center" valignment="top" width="0">
6405 <column alignment="center" valignment="top" width="0">
6406 <column alignment="center" valignment="top" width="0">
6407 <column alignment="center" valignment="top" width="0">
6408 <column alignment="center" valignment="top" width="0">
6409 <row caption="true">
6410 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6413 \begin_layout Plain Layout
6414 \begin_inset Caption
6416 \begin_layout Plain Layout
6417 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6418 \begin_inset Argument
6421 \begin_layout Plain Layout
6437 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6440 \begin_layout Plain Layout
6446 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6449 \begin_layout Plain Layout
6455 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6458 \begin_layout Plain Layout
6464 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6467 \begin_layout Plain Layout
6475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6478 \begin_layout Plain Layout
6484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6487 \begin_layout Plain Layout
6493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6496 \begin_layout Plain Layout
6502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6505 \begin_layout Plain Layout
6511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6514 \begin_layout Plain Layout
6522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6525 \begin_layout Plain Layout
6531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6534 \begin_layout Plain Layout
6540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6543 \begin_layout Plain Layout
6549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6552 \begin_layout Plain Layout
6558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6561 \begin_layout Plain Layout
6569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6572 \begin_layout Plain Layout
6578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6581 \begin_layout Plain Layout
6587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6590 \begin_layout Plain Layout
6596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6599 \begin_layout Plain Layout
6605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6608 \begin_layout Plain Layout
6616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6619 \begin_layout Plain Layout
6625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6628 \begin_layout Plain Layout
6634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6637 \begin_layout Plain Layout
6643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6646 \begin_layout Plain Layout
6652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6655 \begin_layout Plain Layout
6663 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6666 \begin_layout Plain Layout
6672 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6675 \begin_layout Plain Layout
6681 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6684 \begin_layout Plain Layout
6690 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6693 \begin_layout Plain Layout
6699 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6702 \begin_layout Plain Layout
6716 \begin_layout Standard
6720 \begin_layout Plain Layout
6732 \begin_inset Tabular
6733 <lyxtabular version="3" rows="6" columns="5">
6734 <features islongtable="true" longtabularalignment="center">
6735 <column alignment="center" valignment="top" width="0">
6736 <column alignment="center" valignment="top" width="0">
6737 <column alignment="center" valignment="top" width="0">
6738 <column alignment="center" valignment="top" width="0">
6739 <column alignment="center" valignment="top" width="0">
6740 <row caption="true">
6741 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6744 \begin_layout Plain Layout
6745 \begin_inset Caption
6747 \begin_layout Plain Layout
6749 \begin_inset space \thinspace{}
6753 \begin_inset space \thinspace{}
6757 \begin_inset space \thinspace{}
6761 \begin_inset Argument
6764 \begin_layout Plain Layout
6766 \begin_inset space \thinspace{}
6784 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6787 \begin_layout Plain Layout
6793 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6796 \begin_layout Plain Layout
6802 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6805 \begin_layout Plain Layout
6811 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6814 \begin_layout Plain Layout
6822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6825 \begin_layout Plain Layout
6831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6834 \begin_layout Plain Layout
6840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6843 \begin_layout Plain Layout
6849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6852 \begin_layout Plain Layout
6858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6861 \begin_layout Plain Layout
6869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6872 \begin_layout Plain Layout
6878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6881 \begin_layout Plain Layout
6887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6890 \begin_layout Plain Layout
6896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6899 \begin_layout Plain Layout
6905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6908 \begin_layout Plain Layout
6916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6919 \begin_layout Plain Layout
6925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6928 \begin_layout Plain Layout
6934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6937 \begin_layout Plain Layout
6943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6946 \begin_layout Plain Layout
6952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6955 \begin_layout Plain Layout
6963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6966 \begin_layout Plain Layout
6972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6975 \begin_layout Plain Layout
6981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6984 \begin_layout Plain Layout
6990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6993 \begin_layout Plain Layout
6999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7002 \begin_layout Plain Layout
7010 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7013 \begin_layout Plain Layout
7019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7022 \begin_layout Plain Layout
7028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7031 \begin_layout Plain Layout
7037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7040 \begin_layout Plain Layout
7046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7049 \begin_layout Plain Layout
7063 \begin_layout Standard
7067 \begin_layout Plain Layout
7081 \begin_layout Standard
7082 \begin_inset Note Greyedout
7085 \begin_layout Plain Layout
7095 \begin_inset Index idx
7098 \begin_layout Plain Layout
7099 LaTeXぱっけーじ@LaTeXパッケージ ! caption
7111 \begin_inset space \thinspace{}
7114 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
7115 \begin_inset space \thinspace{}
7118 in幅のキャプションを作るには、3.99
7119 \begin_inset space \thinspace{}
7123 \begin_inset space \thinspace{}
7134 captionsetup{width=値}
7136 というLaTeXコマンドを用いる方法があります。
7144 \begin_layout Subsubsection
7146 \begin_inset Index idx
7149 \begin_layout Plain Layout
7150 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7158 \begin_layout Standard
7159 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
7162 \begin_layout Standard
7174 \begin_layout Standard
7175 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
7176 \begin_inset CommandInset ref
7178 reference "tab:別キャプション"
7182 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7185 \begin_layout Standard
7187 \begin_inset Tabular
7188 <lyxtabular version="3" rows="59" columns="3">
7189 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7190 <column alignment="left" valignment="top" width="0cm">
7191 <column alignment="left" valignment="top" width="0pt">
7192 <column alignment="center" valignment="top" width="0pt">
7193 <row caption="true">
7194 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7197 \begin_layout Plain Layout
7198 \begin_inset Caption
7200 \begin_layout Plain Layout
7202 \begin_inset CommandInset label
7209 \begin_inset Argument
7212 \begin_layout Plain Layout
7228 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7231 \begin_layout Plain Layout
7237 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7240 \begin_layout Plain Layout
7247 <row endfirsthead="true">
7248 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7251 \begin_layout Plain Layout
7259 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7262 \begin_layout Plain Layout
7268 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7271 \begin_layout Plain Layout
7278 <row endfirsthead="true">
7279 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="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 alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7302 \begin_layout Plain Layout
7311 <row endhead="true">
7312 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7315 \begin_layout Plain Layout
7319 \begin_layout Plain Layout
7337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7340 \begin_layout Plain Layout
7346 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7349 \begin_layout Plain Layout
7356 <row endhead="true">
7357 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7360 \begin_layout Plain Layout
7368 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7371 \begin_layout Plain Layout
7377 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7380 \begin_layout Plain Layout
7387 <row endhead="true">
7388 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7391 \begin_layout Plain Layout
7399 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7402 \begin_layout Plain Layout
7408 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7411 \begin_layout Plain Layout
7420 <row endfoot="true">
7421 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7424 \begin_layout Plain Layout
7430 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7433 \begin_layout Plain Layout
7439 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7442 \begin_layout Plain Layout
7450 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7453 \begin_layout Plain Layout
7461 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7464 \begin_layout Plain Layout
7470 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7473 \begin_layout Plain Layout
7481 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7484 \begin_layout Plain Layout
7492 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7495 \begin_layout Plain Layout
7501 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7504 \begin_layout Plain Layout
7512 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7515 \begin_layout Plain Layout
7523 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7526 \begin_layout Plain Layout
7532 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7535 \begin_layout Plain Layout
7543 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7546 \begin_layout Plain Layout
7554 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7557 \begin_layout Plain Layout
7563 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7566 \begin_layout Plain Layout
7574 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7577 \begin_layout Plain Layout
7585 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7588 \begin_layout Plain Layout
7594 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7597 \begin_layout Plain Layout
7605 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7608 \begin_layout Plain Layout
7616 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7619 \begin_layout Plain Layout
7625 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7628 \begin_layout Plain Layout
7636 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7639 \begin_layout Plain Layout
7647 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7650 \begin_layout Plain Layout
7656 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7659 \begin_layout Plain Layout
7667 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7670 \begin_layout Plain Layout
7678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7681 \begin_layout Plain Layout
7687 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7690 \begin_layout Plain Layout
7698 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7701 \begin_layout Plain Layout
7709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7712 \begin_layout Plain Layout
7718 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7721 \begin_layout Plain Layout
7729 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7732 \begin_layout Plain Layout
7740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7743 \begin_layout Plain Layout
7749 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7752 \begin_layout Plain Layout
7760 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7763 \begin_layout Plain Layout
7771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7774 \begin_layout Plain Layout
7780 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7783 \begin_layout Plain Layout
7791 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7794 \begin_layout Plain Layout
7802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7805 \begin_layout Plain Layout
7811 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7814 \begin_layout Plain Layout
7822 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7825 \begin_layout Plain Layout
7833 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7836 \begin_layout Plain Layout
7842 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7845 \begin_layout Plain Layout
7853 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7856 \begin_layout Plain Layout
7864 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7867 \begin_layout Plain Layout
7873 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7876 \begin_layout Plain Layout
7884 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7887 \begin_layout Plain Layout
7896 \begin_layout Plain Layout
7907 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7910 \begin_layout Plain Layout
7916 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7919 \begin_layout Plain Layout
7927 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7930 \begin_layout Plain Layout
7938 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7941 \begin_layout Plain Layout
7947 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7950 \begin_layout Plain Layout
7958 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7961 \begin_layout Plain Layout
7969 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7972 \begin_layout Plain Layout
7978 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7981 \begin_layout Plain Layout
7989 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7992 \begin_layout Plain Layout
8000 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8003 \begin_layout Plain Layout
8009 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8012 \begin_layout Plain Layout
8020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8023 \begin_layout Plain Layout
8031 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8034 \begin_layout Plain Layout
8040 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8043 \begin_layout Plain Layout
8051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8054 \begin_layout Plain Layout
8062 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8065 \begin_layout Plain Layout
8071 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8074 \begin_layout Plain Layout
8082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8085 \begin_layout Plain Layout
8093 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8096 \begin_layout Plain Layout
8102 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8105 \begin_layout Plain Layout
8113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8116 \begin_layout Plain Layout
8124 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8127 \begin_layout Plain Layout
8133 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8136 \begin_layout Plain Layout
8144 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8147 \begin_layout Plain Layout
8155 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8158 \begin_layout Plain Layout
8164 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8167 \begin_layout Plain Layout
8175 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8178 \begin_layout Plain Layout
8186 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8189 \begin_layout Plain Layout
8195 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8198 \begin_layout Plain Layout
8206 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8209 \begin_layout Plain Layout
8217 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8220 \begin_layout Plain Layout
8226 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8229 \begin_layout Plain Layout
8237 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8240 \begin_layout Plain Layout
8248 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8251 \begin_layout Plain Layout
8257 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8260 \begin_layout Plain Layout
8268 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8271 \begin_layout Plain Layout
8279 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8282 \begin_layout Plain Layout
8288 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8291 \begin_layout Plain Layout
8299 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8302 \begin_layout Plain Layout
8310 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8313 \begin_layout Plain Layout
8319 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8322 \begin_layout Plain Layout
8330 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8333 \begin_layout Plain Layout
8341 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8344 \begin_layout Plain Layout
8350 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8353 \begin_layout Plain Layout
8361 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8364 \begin_layout Plain Layout
8372 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8375 \begin_layout Plain Layout
8381 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8384 \begin_layout Plain Layout
8392 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8395 \begin_layout Plain Layout
8403 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8406 \begin_layout Plain Layout
8412 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8415 \begin_layout Plain Layout
8423 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8426 \begin_layout Plain Layout
8432 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8435 \begin_layout Plain Layout
8441 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8444 \begin_layout Plain Layout
8452 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8455 \begin_layout Plain Layout
8463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8466 \begin_layout Plain Layout
8472 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8475 \begin_layout Plain Layout
8483 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8486 \begin_layout Plain Layout
8494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8497 \begin_layout Plain Layout
8503 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8506 \begin_layout Plain Layout
8514 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8517 \begin_layout Plain Layout
8525 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8528 \begin_layout Plain Layout
8534 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8537 \begin_layout Plain Layout
8545 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8548 \begin_layout Plain Layout
8556 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8559 \begin_layout Plain Layout
8565 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8568 \begin_layout Plain Layout
8576 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8579 \begin_layout Plain Layout
8587 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8590 \begin_layout Plain Layout
8596 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8599 \begin_layout Plain Layout
8607 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8610 \begin_layout Plain Layout
8618 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8621 \begin_layout Plain Layout
8627 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8630 \begin_layout Plain Layout
8638 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8641 \begin_layout Plain Layout
8649 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8652 \begin_layout Plain Layout
8658 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8661 \begin_layout Plain Layout
8669 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8672 \begin_layout Plain Layout
8680 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8683 \begin_layout Plain Layout
8689 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8692 \begin_layout Plain Layout
8700 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8703 \begin_layout Plain Layout
8711 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8714 \begin_layout Plain Layout
8720 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8723 \begin_layout Plain Layout
8731 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8734 \begin_layout Plain Layout
8742 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8745 \begin_layout Plain Layout
8751 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8754 \begin_layout Plain Layout
8762 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8765 \begin_layout Plain Layout
8773 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8776 \begin_layout Plain Layout
8782 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8785 \begin_layout Plain Layout
8793 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8796 \begin_layout Plain Layout
8804 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8807 \begin_layout Plain Layout
8813 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8816 \begin_layout Plain Layout
8824 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8827 \begin_layout Plain Layout
8835 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8838 \begin_layout Plain Layout
8844 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8847 \begin_layout Plain Layout
8855 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8858 \begin_layout Plain Layout
8866 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8869 \begin_layout Plain Layout
8875 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8878 \begin_layout Plain Layout
8886 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8889 \begin_layout Plain Layout
8897 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8900 \begin_layout Plain Layout
8906 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8909 \begin_layout Plain Layout
8917 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8920 \begin_layout Plain Layout
8928 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8931 \begin_layout Plain Layout
8937 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8940 \begin_layout Plain Layout
8948 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8951 \begin_layout Plain Layout
8959 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8962 \begin_layout Plain Layout
8968 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8971 \begin_layout Plain Layout
8979 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8982 \begin_layout Plain Layout
8990 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8993 \begin_layout Plain Layout
8999 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9002 \begin_layout Plain Layout
9010 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9013 \begin_layout Plain Layout
9021 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9024 \begin_layout Plain Layout
9030 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9033 \begin_layout Plain Layout
9041 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9044 \begin_layout Plain Layout
9052 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9055 \begin_layout Plain Layout
9061 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9064 \begin_layout Plain Layout
9078 \begin_layout Section
9080 \begin_inset CommandInset label
9082 name "sec:長尺表にまつわる諸点"
9089 \begin_layout Subsection
9091 \begin_inset Index idx
9094 \begin_layout Plain Layout
9095 ちょうしゃくひょう@長尺表 ! けいさん@計算
9103 \begin_layout Standard
9104 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
9105 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
9108 \begin_layout Standard
9113 setcounter{LTchunksize}{100}
9116 \begin_layout Standard
9117 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9120 \begin_layout Subsection
9122 \begin_inset Index idx
9125 \begin_layout Plain Layout
9126 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9134 \begin_layout Standard
9135 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9141 コマンドを長尺表の前にTeXコードとして書き加えてください。
9144 \begin_layout Subsection
9146 \begin_inset Index idx
9149 \begin_layout Plain Layout
9150 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9158 \begin_layout Standard
9159 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9176 コマンドの前には、現セルよりも右にある列数と同じ数の「
9180 」文字を、TeXコードで挿入してやる必要があります。この
9188 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9189 \begin_inset Newline newline
9200 コマンドの後ろには、現在列の左側にある列数と同じ数の
9205 \begin_inset CommandInset ref
9207 reference "tab:強制改頁"
9211 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9214 \begin_layout Standard
9224 \begin_inset Newline newline
9230 \begin_layout Standard
9235 」の後にTeXコードとして挿入してあります。
9238 \begin_layout Standard
9239 同一行3列目の「111」は削除してあります。
9245 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9246 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9249 \begin_layout Standard
9257 \begin_inset Newline newline
9265 \begin_layout Standard
9269 \begin_layout Standard
9270 改頁をしたいセルが最右列にある場合には、
9273 \begin_layout Standard
9283 \begin_layout Standard
9284 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9288 \begin_layout Standard
9290 \begin_inset Tabular
9291 <lyxtabular version="3" rows="38" columns="3">
9292 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9293 <column alignment="left" valignment="top" width="0cm">
9294 <column alignment="left" valignment="top" width="3cm">
9295 <column alignment="center" valignment="top" width="0pt">
9296 <row caption="true">
9297 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9300 \begin_layout Plain Layout
9301 \begin_inset Caption
9303 \begin_layout Plain Layout
9305 \begin_inset CommandInset label
9312 \begin_inset Argument
9315 \begin_layout Plain Layout
9331 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9334 \begin_layout Plain Layout
9340 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9343 \begin_layout Plain Layout
9350 <row endfirsthead="true">
9351 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9354 \begin_layout Plain Layout
9362 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9365 \begin_layout Plain Layout
9371 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9374 \begin_layout Plain Layout
9381 <row endfirsthead="true">
9382 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9385 \begin_layout Plain Layout
9393 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9396 \begin_layout Plain Layout
9402 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9405 \begin_layout Plain Layout
9414 <row endhead="true">
9415 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9418 \begin_layout Plain Layout
9422 \begin_layout Plain Layout
9440 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9443 \begin_layout Plain Layout
9449 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9452 \begin_layout Plain Layout
9459 <row endhead="true">
9460 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9463 \begin_layout Plain Layout
9469 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9472 \begin_layout Plain Layout
9478 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9481 \begin_layout Plain Layout
9488 <row endhead="true">
9489 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9492 \begin_layout Plain Layout
9500 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9503 \begin_layout Plain Layout
9509 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9512 \begin_layout Plain Layout
9521 <row endfoot="true">
9522 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9525 \begin_layout Plain Layout
9531 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9534 \begin_layout Plain Layout
9540 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9543 \begin_layout Plain Layout
9551 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9554 \begin_layout Plain Layout
9562 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9565 \begin_layout Plain Layout
9571 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9574 \begin_layout Plain Layout
9582 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9585 \begin_layout Plain Layout
9593 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9596 \begin_layout Plain Layout
9602 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9605 \begin_layout Plain Layout
9613 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9616 \begin_layout Plain Layout
9624 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9627 \begin_layout Plain Layout
9633 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9636 \begin_layout Plain Layout
9644 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9647 \begin_layout Plain Layout
9655 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9658 \begin_layout Plain Layout
9664 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9667 \begin_layout Plain Layout
9675 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9678 \begin_layout Plain Layout
9686 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9689 \begin_layout Plain Layout
9695 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9698 \begin_layout Plain Layout
9706 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9709 \begin_layout Plain Layout
9717 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9720 \begin_layout Plain Layout
9726 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9729 \begin_layout Plain Layout
9737 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9740 \begin_layout Plain Layout
9748 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9751 \begin_layout Plain Layout
9757 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9760 \begin_layout Plain Layout
9768 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9771 \begin_layout Plain Layout
9779 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9782 \begin_layout Plain Layout
9788 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9791 \begin_layout Plain Layout
9799 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9802 \begin_layout Plain Layout
9810 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9813 \begin_layout Plain Layout
9819 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9822 \begin_layout Plain Layout
9830 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9833 \begin_layout Plain Layout
9841 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9844 \begin_layout Plain Layout
9850 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9853 \begin_layout Plain Layout
9861 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9864 \begin_layout Plain Layout
9872 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9875 \begin_layout Plain Layout
9881 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9884 \begin_layout Plain Layout
9892 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9895 \begin_layout Plain Layout
9903 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9906 \begin_layout Plain Layout
9912 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9915 \begin_layout Plain Layout
9923 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9926 \begin_layout Plain Layout
9934 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9937 \begin_layout Plain Layout
9943 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9946 \begin_layout Plain Layout
9954 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9957 \begin_layout Plain Layout
9965 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9968 \begin_layout Plain Layout
9974 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9977 \begin_layout Plain Layout
9985 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9988 \begin_layout Plain Layout
9996 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9999 \begin_layout Plain Layout
10005 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10008 \begin_layout Plain Layout
10016 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10019 \begin_layout Plain Layout
10027 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10030 \begin_layout Plain Layout
10036 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10039 \begin_layout Plain Layout
10047 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10050 \begin_layout Plain Layout
10058 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10061 \begin_layout Plain Layout
10067 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10070 \begin_layout Plain Layout
10078 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10081 \begin_layout Plain Layout
10089 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10092 \begin_layout Plain Layout
10098 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10101 \begin_layout Plain Layout
10109 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10112 \begin_layout Plain Layout
10120 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10123 \begin_layout Plain Layout
10129 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10132 \begin_layout Plain Layout
10140 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10143 \begin_layout Plain Layout
10151 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10154 \begin_layout Plain Layout
10160 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10163 \begin_layout Plain Layout
10171 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10174 \begin_layout Plain Layout
10182 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10185 \begin_layout Plain Layout
10191 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10194 \begin_layout Plain Layout
10202 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10205 \begin_layout Plain Layout
10213 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10216 \begin_layout Plain Layout
10222 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10225 \begin_layout Plain Layout
10233 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10236 \begin_layout Plain Layout
10244 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10247 \begin_layout Plain Layout
10249 Fürst von Montecompatri, 11.
10250 Fürst von Sulmona und Vivaro, 10.
10251 Fürst von Rossano, 5.
10252 Herzog von Canemorte, 11.
10253 Herzog von Palombara, 5.
10254 Herzog von Castelchiodato,
10258 \begin_layout Plain Layout
10269 \begin_layout Plain Layout
10277 Herzog von Poggionativo, 11.
10278 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10279 Graf von Valinfreda, 11.
10280 Baron von Cropalati, 11.
10281 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10286 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10289 \begin_layout Plain Layout
10297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10300 \begin_layout Plain Layout
10308 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10311 \begin_layout Plain Layout
10317 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10320 \begin_layout Plain Layout
10328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10331 \begin_layout Plain Layout
10339 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10342 \begin_layout Plain Layout
10348 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10351 \begin_layout Plain Layout
10359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10362 \begin_layout Plain Layout
10370 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10373 \begin_layout Plain Layout
10379 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10382 \begin_layout Plain Layout
10390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10393 \begin_layout Plain Layout
10401 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10404 \begin_layout Plain Layout
10410 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10413 \begin_layout Plain Layout
10421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10424 \begin_layout Plain Layout
10432 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10435 \begin_layout Plain Layout
10441 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10444 \begin_layout Plain Layout
10452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10455 \begin_layout Plain Layout
10463 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10466 \begin_layout Plain Layout
10472 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10475 \begin_layout Plain Layout
10483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10486 \begin_layout Plain Layout
10494 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10497 \begin_layout Plain Layout
10503 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10506 \begin_layout Plain Layout
10514 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10517 \begin_layout Plain Layout
10525 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10528 \begin_layout Plain Layout
10534 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10537 \begin_layout Plain Layout
10551 \begin_layout Section
10555 \begin_layout Subsection
10557 \begin_inset CommandInset label
10564 \begin_inset Index idx
10567 \begin_layout Plain Layout
10568 ひょうせるないのふくすうぎょう@表セル内の複数行
10574 \begin_inset Index idx
10577 \begin_layout Plain Layout
10586 \begin_layout Standard
10588 \begin_inset Float table
10594 \begin_layout Plain Layout
10595 \begin_inset Caption
10597 \begin_layout Plain Layout
10598 \begin_inset CommandInset label
10612 \begin_layout Plain Layout
10614 \begin_inset Tabular
10615 <lyxtabular version="3" rows="3" columns="3">
10616 <features tabularvalignment="middle">
10617 <column alignment="center" valignment="middle" width="2.5cm">
10618 <column alignment="center" valignment="middle" width="0">
10619 <column alignment="center" valignment="middle" width="0">
10621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10624 \begin_layout Plain Layout
10626 \begin_inset Newline linebreak
10634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10637 \begin_layout Plain Layout
10643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10646 \begin_layout Plain Layout
10654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10657 \begin_layout Plain Layout
10663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10666 \begin_layout Plain Layout
10672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10675 \begin_layout Plain Layout
10683 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10686 \begin_layout Plain Layout
10692 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10695 \begin_layout Plain Layout
10701 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10704 \begin_layout Plain Layout
10723 \begin_layout Standard
10724 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10727 \begin_layout Standard
10729 \begin_inset CommandInset ref
10731 reference "tab:複数行表"
10735 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10739 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10740 \begin_inset space \thinspace{}
10743 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10744 \begin_inset space \thinspace{}
10747 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10750 arg "newline-insert linebreak"
10753 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10756 \begin_layout Standard
10757 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10758 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10759 \begin_inset space \thinspace{}
10762 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10763 \begin_inset CommandInset ref
10765 reference "tab:ハイフネーション表"
10773 \begin_layout Plain Layout
10778 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10786 \begin_layout Standard
10787 \begin_inset Float table
10793 \begin_layout Plain Layout
10794 \begin_inset Caption
10796 \begin_layout Plain Layout
10797 \begin_inset CommandInset label
10799 name "tab:ハイフネーション表"
10811 \begin_layout Plain Layout
10812 \begin_inset space \hfill{}
10816 \begin_inset Tabular
10817 <lyxtabular version="3" rows="3" columns="3">
10818 <features tabularvalignment="middle">
10819 <column alignment="center" valignment="middle" width="2.5cm">
10820 <column alignment="center" valignment="middle" width="0">
10821 <column alignment="center" valignment="middle" width="0">
10823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10826 \begin_layout Plain Layout
10827 verylongtablecellword
10832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10835 \begin_layout Plain Layout
10841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10844 \begin_layout Plain Layout
10852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10855 \begin_layout Plain Layout
10861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10864 \begin_layout Plain Layout
10870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10873 \begin_layout Plain Layout
10881 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10884 \begin_layout Plain Layout
10890 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10893 \begin_layout Plain Layout
10899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10902 \begin_layout Plain Layout
10914 \begin_inset space \hfill{}
10918 \begin_inset Tabular
10919 <lyxtabular version="3" rows="3" columns="3">
10920 <features tabularvalignment="middle">
10921 <column alignment="center" valignment="middle" width="2.5cm">
10922 <column alignment="center" valignment="middle" width="0">
10923 <column alignment="center" valignment="middle" width="0">
10925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10928 \begin_layout Plain Layout
10929 \begin_inset space \hspace{}
10933 verylongtablecellword
10938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10941 \begin_layout Plain Layout
10947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10950 \begin_layout Plain Layout
10958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10961 \begin_layout Plain Layout
10967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10970 \begin_layout Plain Layout
10976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10979 \begin_layout Plain Layout
10987 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10990 \begin_layout Plain Layout
10996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10999 \begin_layout Plain Layout
11005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11008 \begin_layout Plain Layout
11020 \begin_inset space \hfill{}
11031 \begin_layout Subsection
11033 \begin_inset CommandInset label
11040 \begin_inset Index idx
11043 \begin_layout Plain Layout
11050 \begin_inset Index idx
11053 \begin_layout Plain Layout
11062 \begin_layout Subsubsection
11066 \begin_layout Standard
11067 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
11072 arg "inset-modify tabular multicolumn"
11079 編集\SpecialChar \menuseparator
11080 表\SpecialChar \menuseparator
11083 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
11090 \begin_layout Standard
11091 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
11092 、最下行に上罫線のない連結行がある表の例です。
11095 \begin_layout Standard
11097 \begin_inset Tabular
11098 <lyxtabular version="3" rows="3" columns="4">
11099 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11100 <column alignment="center" valignment="top" width="0pt">
11101 <column alignment="center" valignment="middle" width="0">
11102 <column alignment="center" valignment="top" width="0in">
11103 <column alignment="center" valignment="top" width="0pt">
11105 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11108 \begin_layout Plain Layout
11114 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11117 \begin_layout Plain Layout
11123 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11126 \begin_layout Plain Layout
11132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11135 \begin_layout Plain Layout
11143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11146 \begin_layout Plain Layout
11152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11155 \begin_layout Plain Layout
11161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11164 \begin_layout Plain Layout
11170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11173 \begin_layout Plain Layout
11181 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11184 \begin_layout Plain Layout
11190 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11193 \begin_layout Plain Layout
11199 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11202 \begin_layout Plain Layout
11208 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11211 \begin_layout Plain Layout
11225 \begin_layout Subsubsection
11227 \begin_inset CommandInset label
11234 \begin_inset Index idx
11237 \begin_layout Plain Layout
11238 れんけつれつ@連結列 ! けいさん@計算
11246 \begin_layout Standard
11247 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11250 \begin_layout Standard
11251 \begin_inset Float table
11257 \begin_layout Plain Layout
11258 \begin_inset Caption
11260 \begin_layout Plain Layout
11261 \begin_inset CommandInset label
11267 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11268 \begin_inset Argument
11271 \begin_layout Plain Layout
11285 \begin_layout Plain Layout
11287 \begin_inset Tabular
11288 <lyxtabular version="3" rows="3" columns="3">
11289 <features tabularvalignment="middle">
11290 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11291 <column alignment="center" valignment="middle" width="0">
11292 <column alignment="center" valignment="top" width="0">
11294 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11297 \begin_layout Plain Layout
11303 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11306 \begin_layout Plain Layout
11312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11315 \begin_layout Plain Layout
11323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11326 \begin_layout Plain Layout
11332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11335 \begin_layout Plain Layout
11341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11344 \begin_layout Plain Layout
11352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11355 \begin_layout Plain Layout
11361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11364 \begin_layout Plain Layout
11370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11373 \begin_layout Plain Layout
11392 \begin_layout Standard
11394 \begin_inset CommandInset ref
11396 reference "tab:中央揃え表"
11400 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11404 を選択します。そして現れる表の設定ダイアログで、このセルを
11413 \begin_inset space \thinspace{}
11416 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11417 \begin_inset space \thinspace{}
11420 cm幅に設定します。すると第二列は自動的に1.25
11421 \begin_inset space \thinspace{}
11424 cm幅(連結列幅マイナス第一列の幅)になります。表
11425 \begin_inset CommandInset ref
11427 reference "tab:半分でない表"
11434 \begin_layout Standard
11435 \begin_inset Float table
11440 \begin_layout Plain Layout
11441 \begin_inset Caption
11443 \begin_layout Plain Layout
11444 \begin_inset CommandInset label
11450 連結セルの下の列が正確に半分になっていない表
11451 \begin_inset Argument
11454 \begin_layout Plain Layout
11468 \begin_layout Plain Layout
11470 \begin_inset Tabular
11471 <lyxtabular version="3" rows="3" columns="3">
11472 <features tabularvalignment="middle">
11473 <column alignment="center" valignment="top" width="1.25cm">
11474 <column alignment="center" valignment="top" width="0">
11475 <column alignment="center" valignment="top" width="0">
11477 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11480 \begin_layout Plain Layout
11486 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11489 \begin_layout Plain Layout
11495 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11498 \begin_layout Plain Layout
11506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11509 \begin_layout Plain Layout
11515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11518 \begin_layout Plain Layout
11524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11527 \begin_layout Plain Layout
11535 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11538 \begin_layout Plain Layout
11544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11547 \begin_layout Plain Layout
11553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11556 \begin_layout Plain Layout
11575 \begin_layout Standard
11576 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11578 \begin_inset Formula $W_{\mbox{指}}$
11582 \begin_inset Formula $W_{\text{全}}$
11586 \begin_inset CommandInset ref
11588 reference "cha:式の説明"
11595 \begin_layout Standard
11601 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11605 \begin_inset Formula $W_{\mbox{指}:n}$
11609 \begin_inset Formula
11611 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11619 \begin_layout Standard
11620 で計算することができます。上記の例では
11621 \begin_inset Formula $n=2$
11625 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11629 \begin_inset CommandInset ref
11636 \begin_inset Formula
11638 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11646 \begin_layout Standard
11647 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11650 \begin_layout Standard
11658 \begin_layout Standard
11664 \begin_inset Index idx
11667 \begin_layout Plain Layout
11668 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11673 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11674 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11677 \begin_layout Itemize
11682 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11685 \begin_layout Itemize
11690 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11693 \begin_layout Itemize
11698 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11701 \begin_layout Standard
11702 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11705 \begin_layout Standard
11706 \begin_inset Note Greyedout
11709 \begin_layout Plain Layout
11714 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11722 \begin_layout Standard
11729 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11732 \begin_layout Standard
11737 centering}m{1.25cm-6.2pt}
11740 \begin_layout Standard
11745 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11748 \begin_layout Standard
11749 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11753 \begin_layout Standard
11761 \begin_layout Standard
11762 というLaTeX変数を指定しなくてはなりません。
11765 \begin_layout Subsection
11767 \begin_inset CommandInset label
11774 \begin_inset Index idx
11777 \begin_layout Plain Layout
11784 \begin_inset Index idx
11787 \begin_layout Plain Layout
11788 ひょう@表 ! れんけつぎょう@連結行
11796 \begin_layout Standard
11797 複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
11802 arg "inset-modify tabular multirow"
11809 編集\SpecialChar \menuseparator
11810 表\SpecialChar \menuseparator
11813 を選ぶか、選択したセルを右クリックして、コンテクストメニューから
11815 \SpecialChar \menuseparator
11821 \begin_layout Standard
11822 下記は一列目に連結列を適用した表の例です。
11825 \begin_layout Standard
11827 \begin_inset Tabular
11828 <lyxtabular version="3" rows="3" columns="3">
11829 <features tabularvalignment="middle">
11830 <column alignment="center" valignment="top" width="0pt">
11831 <column alignment="center" valignment="top" width="0">
11832 <column alignment="center" valignment="top" width="0">
11834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11837 \begin_layout Plain Layout
11843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11846 \begin_layout Plain Layout
11852 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11855 \begin_layout Plain Layout
11863 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11866 \begin_layout Plain Layout
11872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11875 \begin_layout Plain Layout
11881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11884 \begin_layout Plain Layout
11892 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11895 \begin_layout Plain Layout
11901 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11904 \begin_layout Plain Layout
11910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11913 \begin_layout Plain Layout
11927 \begin_layout Standard
11928 連結列の幅は、列全体の幅と揃えを設定することによって設定することができます。
11932 は、正または負の値を与えると、連結列の内容を上下にシフトします。
11935 \begin_layout Standard
11936 連結行セルの列に明示的な幅が与えられていない場合、連結行セルは当該列の揃えを継承します。それもなければ左揃えです。既定値を上書きするには、
11939 \begin_layout Standard
11951 \begin_layout Standard
11958 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11959 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11980 \begin_layout Standard
11981 下記は、-4ミリの垂直オフセットを設定し、3センチ幅の列中にある右揃えの連結列セルがある表の例です。
11984 \begin_layout Standard
11990 \begin_layout Plain Layout
12004 \begin_inset Tabular
12005 <lyxtabular version="3" rows="4" columns="3">
12006 <features tabularvalignment="middle">
12007 <column alignment="center" valignment="top" width="3cm">
12008 <column alignment="center" valignment="top" width="0">
12009 <column alignment="center" valignment="top" width="0">
12011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12014 \begin_layout Plain Layout
12020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12023 \begin_layout Plain Layout
12029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12032 \begin_layout Plain Layout
12040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12043 \begin_layout Plain Layout
12049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12052 \begin_layout Plain Layout
12058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12061 \begin_layout Plain Layout
12069 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12072 \begin_layout Plain Layout
12078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12081 \begin_layout Plain Layout
12087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12090 \begin_layout Plain Layout
12098 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12101 \begin_layout Plain Layout
12107 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12110 \begin_layout Plain Layout
12116 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12119 \begin_layout Plain Layout
12134 \begin_layout Plain Layout
12150 \begin_layout Standard
12153 To start a new line in a multirow you can use a forced line break (shortcut
12157 arg "newline-insert newline"
12160 ) but this will not respect the cell lines as demonstrated in this table:
12163 \begin_layout Standard
12168 \begin_inset Tabular
12169 <lyxtabular version="3" rows="3" columns="2">
12170 <features tabularvalignment="middle">
12171 <column alignment="left" valignment="middle" width="2cm">
12172 <column alignment="center" valignment="top" width="0">
12174 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12177 \begin_layout Plain Layout
12181 \begin_inset Newline newline
12185 \begin_inset Newline newline
12193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12196 \begin_layout Plain Layout
12206 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12209 \begin_layout Plain Layout
12215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12218 \begin_layout Plain Layout
12228 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12231 \begin_layout Plain Layout
12239 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12242 \begin_layout Plain Layout
12258 \begin_layout Standard
12261 Therefore be careful with forced line breaks.
12264 \begin_layout Subsection
12267 Cells with diagonal line(s)
12270 \begin_layout Standard
12273 To tell the reader what is meant by column and row headings in a table,
12274 it is helpful to split the first cell of the table by one or two diagonal
12276 This can be achieved by loading the LaTeX-package
12282 \begin_inset Index idx
12285 \begin_layout Plain Layout
12286 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
12293 in the document preamble.
12294 The package provides the command
12300 that is inserted as TeX-Code and that can take 2 or 3
12301 \begin_inset space ~
12307 \begin_layout Standard
12313 diagbox[options]{lower left}{upper right}
12316 \begin_layout Standard
12322 diagbox[options]{lower left}{upper left}{upper right}
12325 \begin_layout Standard
12328 The first scheme divides the cell by a single diagonal line and the arguments
12329 are placed below and above this line.
12330 The second scheme divides the cell by 2
12331 \begin_inset space ~
12337 \begin_layout Standard
12341 \begin_layout Plain Layout
12351 \begin_inset Note Note
12354 \begin_layout Plain Layout
12367 \begin_layout Standard
12370 Here is an example table where
12376 is used in the 2-argument scheme in the first cell:
12377 \begin_inset VSpace medskip
12383 \begin_layout Standard
12387 \begin_inset Tabular
12388 <lyxtabular version="3" rows="4" columns="4">
12389 <features tabularvalignment="middle">
12390 <column alignment="center" valignment="top" width="0">
12391 <column alignment="center" valignment="top" width="0">
12392 <column alignment="center" valignment="top" width="0">
12393 <column alignment="center" valignment="top" width="0">
12395 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12398 \begin_layout Plain Layout
12404 \begin_layout Plain Layout
12417 \begin_layout Plain Layout
12428 \begin_layout Plain Layout
12440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12443 \begin_layout Plain Layout
12451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12454 \begin_layout Plain Layout
12462 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12465 \begin_layout Plain Layout
12475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12478 \begin_layout Plain Layout
12486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12489 \begin_layout Plain Layout
12497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12500 \begin_layout Plain Layout
12508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12511 \begin_layout Plain Layout
12521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12524 \begin_layout Plain Layout
12532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12535 \begin_layout Plain Layout
12543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12546 \begin_layout Plain Layout
12554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12557 \begin_layout Plain Layout
12567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12570 \begin_layout Plain Layout
12578 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12581 \begin_layout Plain Layout
12589 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12592 \begin_layout Plain Layout
12600 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12603 \begin_layout Plain Layout
12617 \begin_inset VSpace medskip
12623 \begin_layout Standard
12626 The 3-argument scheme is for example useful for cross-tables of sports leagues
12630 \begin_layout Standard
12635 \begin_inset Tabular
12636 <lyxtabular version="3" rows="4" columns="4">
12637 <features tabularvalignment="middle">
12638 <column alignment="center" valignment="top" width="0pt">
12639 <column alignment="center" valignment="top" width="0">
12640 <column alignment="center" valignment="top" width="0">
12641 <column alignment="center" valignment="top" width="0">
12643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12646 \begin_layout Plain Layout
12652 \begin_layout Plain Layout
12665 \begin_layout Plain Layout
12676 \begin_layout Plain Layout
12687 \begin_layout Plain Layout
12699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12702 \begin_layout Plain Layout
12710 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12713 \begin_layout Plain Layout
12721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12724 \begin_layout Plain Layout
12734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12737 \begin_layout Plain Layout
12745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12748 \begin_layout Plain Layout
12756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12759 \begin_layout Plain Layout
12767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12770 \begin_layout Plain Layout
12780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12783 \begin_layout Plain Layout
12791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12794 \begin_layout Plain Layout
12802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12805 \begin_layout Plain Layout
12813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12816 \begin_layout Plain Layout
12826 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12829 \begin_layout Plain Layout
12837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12840 \begin_layout Plain Layout
12848 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12851 \begin_layout Plain Layout
12859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12862 \begin_layout Plain Layout
12878 \begin_layout Standard
12881 For larger cross-tables one might use split cells in 2 or every corner of
12882 the table like in this example:
12885 \begin_layout Standard
12890 \begin_inset Tabular
12891 <lyxtabular version="3" rows="5" columns="5">
12892 <features tabularvalignment="middle">
12893 <column alignment="center" valignment="top" width="0pt">
12894 <column alignment="center" valignment="top" width="0">
12895 <column alignment="center" valignment="top" width="0">
12896 <column alignment="center" valignment="top" width="0">
12897 <column alignment="center" valignment="top" width="0">
12899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12902 \begin_layout Plain Layout
12908 \begin_layout Plain Layout
12921 \begin_layout Plain Layout
12932 \begin_layout Plain Layout
12943 \begin_layout Plain Layout
12955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12958 \begin_layout Plain Layout
12966 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12969 \begin_layout Plain Layout
12977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12980 \begin_layout Plain Layout
12988 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
12991 \begin_layout Plain Layout
12997 \begin_layout Plain Layout
13010 \begin_layout Plain Layout
13021 \begin_layout Plain Layout
13032 \begin_layout Plain Layout
13046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13049 \begin_layout Plain Layout
13057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13060 \begin_layout Plain Layout
13068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13071 \begin_layout Plain Layout
13079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13082 \begin_layout Plain Layout
13090 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13093 \begin_layout Plain Layout
13103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13106 \begin_layout Plain Layout
13114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13117 \begin_layout Plain Layout
13125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13128 \begin_layout Plain Layout
13136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13139 \begin_layout Plain Layout
13147 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13150 \begin_layout Plain Layout
13160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13163 \begin_layout Plain Layout
13171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13174 \begin_layout Plain Layout
13182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13185 \begin_layout Plain Layout
13193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13196 \begin_layout Plain Layout
13204 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13207 \begin_layout Plain Layout
13217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13220 \begin_layout Plain Layout
13226 \begin_layout Plain Layout
13239 \begin_layout Plain Layout
13250 \begin_layout Plain Layout
13261 \begin_layout Plain Layout
13273 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13276 \begin_layout Plain Layout
13284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13287 \begin_layout Plain Layout
13295 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13298 \begin_layout Plain Layout
13306 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13309 \begin_layout Plain Layout
13315 \begin_layout Plain Layout
13328 \begin_layout Plain Layout
13339 \begin_layout Plain Layout
13350 \begin_layout Plain Layout
13370 \begin_layout Standard
13373 To rotate the diagonal lines, the command option
13398 and represent a point of a compass.
13403 is for example the south-west corner.
13404 Thus in the lower left cell of the above table the command
13407 \begin_layout Standard
13413 diagbox[dir=SW]{Team home}{Result}{Team away}
13416 \begin_layout Standard
13420 If no direction is given, it will be NW.
13423 \begin_layout Standard
13426 The necessary width of split cells is automatically calculated.
13427 Thus if you set a fixed column width smaller than the calculated one, the
13428 cell's content will protrude the cell borders:
13431 \begin_layout Standard
13436 \begin_inset Tabular
13437 <lyxtabular version="3" rows="2" columns="2">
13438 <features tabularvalignment="middle">
13439 <column alignment="center" valignment="top" width="3cm">
13440 <column alignment="center" valignment="top" width="0">
13442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13445 \begin_layout Plain Layout
13451 \begin_layout Plain Layout
13464 \begin_layout Plain Layout
13475 \begin_layout Plain Layout
13487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13490 \begin_layout Plain Layout
13500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13503 \begin_layout Plain Layout
13511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13514 \begin_layout Plain Layout
13530 \begin_layout Standard
13533 If you need a certain width for columns with a split cell, use the command
13538 (replace '3cm' by the width you need).
13539 In the following table the width of the first column is set to 4
13540 \begin_inset space \thinspace{}
13551 \begin_inset space \thinspace{}
13555 \begin_inset space \thinspace{}
13560 tabcolsep is necessary because the overall width is the width for the text
13561 (in this case the 4
13562 \begin_inset space \thinspace{}
13565 cm) plus two times the separation of the text and the cell border.
13566 The calculation of the width cannot be done in the command option of
13572 so one needs to create a new length which can be used later.
13573 This is done with the TeX-Code commands
13576 \begin_layout Standard
13584 \begin_inset Newline newline
13596 \begin_layout Standard
13600 \begin_layout Plain Layout
13609 \begin_layout Plain Layout
13625 \begin_layout Standard
13628 To enable calculations in LaTeX one needs to load the package
13634 \begin_inset Index idx
13637 \begin_layout Plain Layout
13638 LaTeXぱっけーじ@LaTeXパッケージ ! calc
13645 in the document preamble.
13648 \begin_layout Standard
13651 In this table you can now use the command
13654 \begin_layout Standard
13665 \begin_layout Standard
13671 \begin_layout Standard
13676 \begin_inset Tabular
13677 <lyxtabular version="3" rows="2" columns="2">
13678 <features tabularvalignment="middle">
13679 <column alignment="center" valignment="top" width="4cm">
13680 <column alignment="center" valignment="top" width="0">
13682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13685 \begin_layout Plain Layout
13691 \begin_layout Plain Layout
13706 \begin_layout Plain Layout
13717 \begin_layout Plain Layout
13729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13732 \begin_layout Plain Layout
13742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13745 \begin_layout Plain Layout
13753 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13756 \begin_layout Plain Layout
13772 \begin_layout Standard
13775 Note that the split cell needs to be the widest one in the column.
13776 Otherwise the length of the diagonal line cannot be calculated correctly
13777 like in this table:
13780 \begin_layout Standard
13785 \begin_inset Tabular
13786 <lyxtabular version="3" rows="2" columns="2">
13787 <features tabularvalignment="middle">
13788 <column alignment="center" valignment="top" width="0pt">
13789 <column alignment="center" valignment="top" width="0">
13791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13794 \begin_layout Plain Layout
13800 \begin_layout Plain Layout
13813 \begin_layout Plain Layout
13824 \begin_layout Plain Layout
13836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13839 \begin_layout Plain Layout
13849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13852 \begin_layout Plain Layout
13860 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13863 \begin_layout Plain Layout
13879 \begin_layout Standard
13882 In this case use the
13893 It is then not necessary to add 2
13895 tabcolsep because the cell width is now the width of the column.
13896 In this table a width of 3
13897 \begin_inset space \thinspace{}
13903 \begin_layout Standard
13908 \begin_inset Tabular
13909 <lyxtabular version="3" rows="2" columns="2">
13910 <features tabularvalignment="middle">
13911 <column alignment="center" valignment="top" width="0pt">
13912 <column alignment="center" valignment="top" width="0">
13914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13917 \begin_layout Plain Layout
13923 \begin_layout Plain Layout
13927 diagbox[width=3cm]{
13936 \begin_layout Plain Layout
13947 \begin_layout Plain Layout
13959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13962 \begin_layout Plain Layout
13972 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13975 \begin_layout Plain Layout
13983 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13986 \begin_layout Plain Layout
14002 \begin_layout Standard
14005 For multiple text lines in split cells one needs some extra height to fit
14006 the text to the cell.
14007 This can be achieved with the
14017 (replace '3cm' by the height you need).
14018 In the following table the command
14021 \begin_layout Standard
14027 diagbox[width=3cm,height=1.4cm]{A
14038 \begin_layout Standard
14041 is used in the first cell.
14050 creates hereby the line break.
14054 \begin_layout Plain Layout
14057 Breaking lines with
14061 is only possible when the column has a fixed width.
14069 \begin_layout Standard
14074 \begin_inset Tabular
14075 <lyxtabular version="3" rows="2" columns="2">
14076 <features tabularvalignment="middle">
14077 <column alignment="center" valignment="top" width="0">
14078 <column alignment="center" valignment="top" width="0">
14080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14083 \begin_layout Plain Layout
14089 \begin_layout Plain Layout
14093 diagbox[width=3cm,height=1.4cm]{
14102 \begin_layout Plain Layout
14117 \begin_layout Plain Layout
14128 \begin_layout Plain Layout
14143 \begin_layout Plain Layout
14155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14158 \begin_layout Plain Layout
14168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14171 \begin_layout Plain Layout
14179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14182 \begin_layout Plain Layout
14198 \begin_layout Standard
14202 \begin_layout Plain Layout
14212 \begin_inset Note Note
14215 \begin_layout Plain Layout
14228 \begin_layout Standard
14233 パッケージを導入しなくてはなりません。
14236 \begin_layout Standard
14240 \begin_layout Plain Layout
14252 \begin_layout Standard
14255 For more info about the LaTeX-package
14259 , see its documentation
14262 \begin_inset CommandInset citation
14271 \begin_layout Section
14273 \begin_inset CommandInset label
14275 name "sec:フォーマル形式の表"
14280 \begin_inset Index idx
14283 \begin_layout Plain Layout
14284 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
14292 \begin_layout Standard
14294 \begin_inset CommandInset ref
14296 reference "tab:ブックタブ表の例"
14300 のように組版されます。この種の表は、「
14304 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
14307 \begin_layout Standard
14308 \begin_inset Float table
14314 \begin_layout Plain Layout
14315 \begin_inset Caption
14317 \begin_layout Plain Layout
14318 \begin_inset CommandInset label
14320 name "tab:ブックタブ表の例"
14332 \begin_layout Plain Layout
14334 \begin_inset Tabular
14335 <lyxtabular version="3" rows="8" columns="4">
14336 <features booktabs="true" tabularvalignment="middle">
14337 <column alignment="center" valignment="top" width="0">
14338 <column alignment="center" valignment="top" width="0">
14339 <column alignment="center" valignment="top" width="0">
14340 <column alignment="center" valignment="top" width="0">
14342 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14345 \begin_layout Plain Layout
14351 <cell alignment="center" valignment="top" topline="true" usebox="none">
14354 \begin_layout Plain Layout
14356 \begin_inset space \thinspace{}
14364 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14367 \begin_layout Plain Layout
14369 \begin_inset space \thinspace{}
14377 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14380 \begin_layout Plain Layout
14388 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14391 \begin_layout Plain Layout
14395 \begin_layout Plain Layout
14408 \begin_layout Plain Layout
14422 <cell alignment="center" valignment="top" usebox="none">
14425 \begin_layout Plain Layout
14431 <cell alignment="center" valignment="top" usebox="none">
14434 \begin_layout Plain Layout
14440 <cell alignment="center" valignment="top" usebox="none">
14443 \begin_layout Plain Layout
14451 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14454 \begin_layout Plain Layout
14460 <cell alignment="center" valignment="top" topline="true" usebox="none">
14463 \begin_layout Plain Layout
14469 <cell alignment="center" valignment="top" topline="true" usebox="none">
14472 \begin_layout Plain Layout
14478 <cell alignment="center" valignment="top" topline="true" usebox="none">
14481 \begin_layout Plain Layout
14488 <row topspace="default">
14489 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14492 \begin_layout Plain Layout
14498 <cell alignment="center" valignment="top" usebox="none">
14501 \begin_layout Plain Layout
14507 <cell alignment="center" valignment="top" usebox="none">
14510 \begin_layout Plain Layout
14516 <cell alignment="center" valignment="top" usebox="none">
14519 \begin_layout Plain Layout
14526 <row topspace="default">
14527 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14530 \begin_layout Plain Layout
14531 \begin_inset Formula $f_{\mathrm{max}}$
14539 <cell alignment="center" valignment="top" usebox="none">
14542 \begin_layout Plain Layout
14548 <cell alignment="center" valignment="top" usebox="none">
14551 \begin_layout Plain Layout
14557 <cell alignment="center" valignment="top" usebox="none">
14560 \begin_layout Plain Layout
14567 <row topspace="default">
14568 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14571 \begin_layout Plain Layout
14575 \begin_layout Plain Layout
14579 cmidrule(l{10pt}){1-1}
14589 <cell alignment="center" valignment="top" usebox="none">
14592 \begin_layout Plain Layout
14598 <cell alignment="center" valignment="top" usebox="none">
14601 \begin_layout Plain Layout
14607 <cell alignment="center" valignment="top" usebox="none">
14610 \begin_layout Plain Layout
14618 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14621 \begin_layout Plain Layout
14627 <cell alignment="center" valignment="top" usebox="none">
14630 \begin_layout Plain Layout
14636 <cell alignment="center" valignment="top" usebox="none">
14639 \begin_layout Plain Layout
14645 <cell alignment="center" valignment="top" usebox="none">
14648 \begin_layout Plain Layout
14656 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14659 \begin_layout Plain Layout
14665 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14668 \begin_layout Plain Layout
14674 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14677 \begin_layout Plain Layout
14683 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14686 \begin_layout Plain Layout
14705 \begin_layout Standard
14707 \begin_inset CommandInset ref
14709 reference "sub:行の余白取り"
14713 節に述べられているように、表の設定ダイアログの
14720 \begin_layout Standard
14721 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
14722 \begin_inset Newline newline
14726 \begin_inset space \thinspace{}
14729 emですが、他の罫線の既定幅は0.05
14730 \begin_inset space \thinspace{}
14736 \begin_layout Standard
14737 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
14740 \begin_layout Standard
14750 \begin_inset Newline newline
14762 \begin_layout Standard
14767 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
14775 に置き換えて下さい。他の罫線の線幅を変更するには、
14783 に置き換えます。線幅を設定する上では、付録
14784 \begin_inset CommandInset ref
14786 reference "cha:LyXで使用できる単位"
14790 に挙げてあるすべての単位を使用することができます。
14793 \begin_layout Standard
14794 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
14800 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
14803 \begin_layout Standard
14808 cmidrule[幅](刈込){開始列-終了列}
14811 \begin_layout Standard
14818 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
14824 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
14828 \begin_layout Standard
14830 \begin_inset space \thinspace{}
14833 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
14842 の値を取り、刈込幅の指定は非必須です。たとえば、
14846 というパラメーターを使うと、罫線が左端から2
14847 \begin_inset space \thinspace{}
14850 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
14851 \begin_inset space \thinspace{}
14857 \begin_layout Standard
14858 \begin_inset VSpace bigskip
14862 \begin_inset CommandInset ref
14864 reference "tab:ブックタブ表の例"
14871 \begin_layout Standard
14881 \begin_layout Standard
14882 というコマンドを第二行の初めに使用し、
14885 \begin_layout Standard
14890 cmidrule(l{10pt}){1-1}
14893 \begin_layout Standard
14897 \begin_layout Standard
14898 \begin_inset VSpace bigskip
14904 \begin_layout Standard
14906 \begin_inset CommandInset ref
14908 reference "tab:特殊なブックタブ表"
14918 が欲しいことがあるかもしれません。これは、TeXコードで
14921 \begin_layout Standard
14929 \begin_layout Standard
14930 コマンドを使用することによって実現することができます。表
14931 \begin_inset CommandInset ref
14933 reference "tab:特殊なブックタブ表"
14940 \begin_layout Standard
14954 \begin_layout Standard
14955 というコマンドが使用されており、第六列には
14958 \begin_layout Standard
14970 \begin_layout Standard
14974 \begin_layout Standard
14975 \begin_inset VSpace bigskip
14981 \begin_layout Standard
14982 罫線の余白取りにどうしても満足が行かない場合には、
14985 \begin_layout Standard
14990 specialrule{幅}{上余白}{下余白}
14993 \begin_layout Standard
14994 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
14999 \begin_inset CommandInset citation
15006 \begin_inset Index idx
15009 \begin_layout Plain Layout
15010 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
15018 \begin_layout Standard
15019 \begin_inset Float table
15025 \begin_layout Plain Layout
15026 \begin_inset Caption
15028 \begin_layout Plain Layout
15029 \begin_inset CommandInset label
15031 name "tab:特殊なブックタブ表"
15043 \begin_layout Plain Layout
15045 \begin_inset Tabular
15046 <lyxtabular version="3" rows="8" columns="4">
15047 <features booktabs="true" tabularvalignment="middle">
15048 <column alignment="center" valignment="top" width="0">
15049 <column alignment="center" valignment="top" width="0">
15050 <column alignment="center" valignment="top" width="0">
15051 <column alignment="center" valignment="top" width="0">
15053 <cell alignment="center" valignment="top" topline="true" usebox="none">
15056 \begin_layout Plain Layout
15062 <cell alignment="center" valignment="top" topline="true" usebox="none">
15065 \begin_layout Plain Layout
15067 \begin_inset space \thinspace{}
15075 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15078 \begin_layout Plain Layout
15080 \begin_inset space \thinspace{}
15088 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15091 \begin_layout Plain Layout
15099 <cell alignment="center" valignment="top" usebox="none">
15102 \begin_layout Plain Layout
15106 \begin_layout Plain Layout
15119 \begin_layout Plain Layout
15132 \begin_layout Plain Layout
15145 \begin_layout Plain Layout
15159 <cell alignment="center" valignment="top" usebox="none">
15162 \begin_layout Plain Layout
15168 <cell alignment="center" valignment="top" usebox="none">
15171 \begin_layout Plain Layout
15177 <cell alignment="center" valignment="top" usebox="none">
15180 \begin_layout Plain Layout
15188 <cell alignment="center" valignment="top" topline="true" usebox="none">
15191 \begin_layout Plain Layout
15197 <cell alignment="center" valignment="top" topline="true" usebox="none">
15200 \begin_layout Plain Layout
15206 <cell alignment="center" valignment="top" topline="true" usebox="none">
15209 \begin_layout Plain Layout
15215 <cell alignment="center" valignment="top" topline="true" usebox="none">
15218 \begin_layout Plain Layout
15225 <row topspace="default">
15226 <cell alignment="center" valignment="top" usebox="none">
15229 \begin_layout Plain Layout
15235 <cell alignment="center" valignment="top" usebox="none">
15238 \begin_layout Plain Layout
15244 <cell alignment="center" valignment="top" usebox="none">
15247 \begin_layout Plain Layout
15253 <cell alignment="center" valignment="top" usebox="none">
15256 \begin_layout Plain Layout
15263 <row topspace="default">
15264 <cell alignment="center" valignment="top" usebox="none">
15267 \begin_layout Plain Layout
15268 \begin_inset Formula $f_{\mathrm{max}}$
15276 <cell alignment="center" valignment="top" usebox="none">
15279 \begin_layout Plain Layout
15285 <cell alignment="center" valignment="top" usebox="none">
15288 \begin_layout Plain Layout
15294 <cell alignment="center" valignment="top" usebox="none">
15297 \begin_layout Plain Layout
15305 <cell alignment="center" valignment="top" topline="true" usebox="none">
15308 \begin_layout Plain Layout
15312 \begin_layout Plain Layout
15325 \begin_layout Plain Layout
15339 <cell alignment="center" valignment="top" topline="true" usebox="none">
15342 \begin_layout Plain Layout
15348 <cell alignment="center" valignment="top" topline="true" usebox="none">
15351 \begin_layout Plain Layout
15357 <cell alignment="center" valignment="top" topline="true" usebox="none">
15360 \begin_layout Plain Layout
15368 <cell alignment="center" valignment="top" usebox="none">
15371 \begin_layout Plain Layout
15377 <cell alignment="center" valignment="top" usebox="none">
15380 \begin_layout Plain Layout
15386 <cell alignment="center" valignment="top" usebox="none">
15389 \begin_layout Plain Layout
15395 <cell alignment="center" valignment="top" usebox="none">
15398 \begin_layout Plain Layout
15406 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15409 \begin_layout Plain Layout
15415 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15418 \begin_layout Plain Layout
15424 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15427 \begin_layout Plain Layout
15433 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15436 \begin_layout Plain Layout
15455 \begin_layout Section
15457 \begin_inset Index idx
15460 \begin_layout Plain Layout
15469 \begin_layout Standard
15470 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
15471 \begin_inset CommandInset ref
15473 reference "sec:ボックスダイアログ"
15477 節に述べられているように、ボックスの垂直揃えを行います。
15480 \begin_layout Standard
15482 \begin_inset space \thinspace{}
15489 \begin_layout Plain Layout
15491 \begin_inset CommandInset ref
15493 reference "sec:ミニページ"
15505 \begin_layout Itemize
15507 \begin_inset Box Frameless
15517 height_special "totalheight"
15520 \begin_layout Plain Layout
15521 \begin_inset Tabular
15522 <lyxtabular version="3" rows="3" columns="3">
15523 <features tabularvalignment="middle">
15524 <column alignment="center" valignment="top" width="0">
15525 <column alignment="center" valignment="top" width="0">
15526 <column alignment="center" valignment="top" width="0">
15528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15531 \begin_layout Plain Layout
15537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15540 \begin_layout Plain Layout
15546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15549 \begin_layout Plain Layout
15557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15560 \begin_layout Plain Layout
15566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15569 \begin_layout Plain Layout
15575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15578 \begin_layout Plain Layout
15586 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15589 \begin_layout Plain Layout
15595 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15598 \begin_layout Plain Layout
15604 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15607 \begin_layout Plain Layout
15627 \begin_layout Plain Layout
15639 \begin_inset Box Frameless
15649 height_special "totalheight"
15652 \begin_layout Plain Layout
15653 \begin_inset Tabular
15654 <lyxtabular version="3" rows="3" columns="3">
15655 <features tabularvalignment="middle">
15656 <column alignment="center" valignment="top" width="0">
15657 <column alignment="center" valignment="top" width="0">
15658 <column alignment="center" valignment="top" width="0">
15660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15663 \begin_layout Plain Layout
15669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15672 \begin_layout Plain Layout
15678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15681 \begin_layout Plain Layout
15689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15692 \begin_layout Plain Layout
15698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15701 \begin_layout Plain Layout
15707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15710 \begin_layout Plain Layout
15718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15721 \begin_layout Plain Layout
15727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15730 \begin_layout Plain Layout
15736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15739 \begin_layout Plain Layout
15759 \begin_layout Plain Layout
15769 \begin_layout Itemize
15771 \begin_inset Box Frameless
15781 height_special "totalheight"
15784 \begin_layout Plain Layout
15785 \begin_inset Tabular
15786 <lyxtabular version="3" rows="3" columns="3">
15787 <features tabularvalignment="middle">
15788 <column alignment="center" valignment="top" width="0">
15789 <column alignment="center" valignment="top" width="0">
15790 <column alignment="center" valignment="top" width="0">
15792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15795 \begin_layout Plain Layout
15801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15804 \begin_layout Plain Layout
15810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15813 \begin_layout Plain Layout
15821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15824 \begin_layout Plain Layout
15830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15833 \begin_layout Plain Layout
15839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15842 \begin_layout Plain Layout
15850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15853 \begin_layout Plain Layout
15859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15862 \begin_layout Plain Layout
15868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15871 \begin_layout Plain Layout
15890 \begin_layout Itemize
15892 \begin_inset Box Frameless
15902 height_special "totalheight"
15905 \begin_layout Plain Layout
15906 \begin_inset Tabular
15907 <lyxtabular version="3" rows="3" columns="3">
15908 <features tabularvalignment="middle">
15909 <column alignment="center" valignment="top" width="0">
15910 <column alignment="center" valignment="top" width="0">
15911 <column alignment="center" valignment="top" width="0">
15913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15916 \begin_layout Plain Layout
15922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15925 \begin_layout Plain Layout
15931 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15934 \begin_layout Plain Layout
15942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15945 \begin_layout Plain Layout
15951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15954 \begin_layout Plain Layout
15960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15963 \begin_layout Plain Layout
15971 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15974 \begin_layout Plain Layout
15980 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15983 \begin_layout Plain Layout
15989 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15992 \begin_layout Plain Layout
16012 \begin_layout Plain Layout
16024 \begin_inset Box Frameless
16034 height_special "totalheight"
16037 \begin_layout Plain Layout
16038 \begin_inset Tabular
16039 <lyxtabular version="3" rows="3" columns="3">
16040 <features tabularvalignment="middle">
16041 <column alignment="center" valignment="top" width="0">
16042 <column alignment="center" valignment="top" width="0">
16043 <column alignment="center" valignment="top" width="0">
16045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16048 \begin_layout Plain Layout
16054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16057 \begin_layout Plain Layout
16063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16066 \begin_layout Plain Layout
16074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16077 \begin_layout Plain Layout
16083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16086 \begin_layout Plain Layout
16092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16095 \begin_layout Plain Layout
16103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16106 \begin_layout Plain Layout
16112 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16115 \begin_layout Plain Layout
16121 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16124 \begin_layout Plain Layout
16144 \begin_layout Plain Layout
16154 \begin_layout Standard
16155 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
16159 \begin_layout Plain Layout
16161 \begin_inset CommandInset ref
16163 reference "sub:垂直揃え"
16172 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
16175 \begin_layout Standard
16185 \begin_layout Standard
16186 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
16190 をTeXコードとして挿入してあります。最後の項目の第二表には、
16193 \begin_layout Standard
16203 \begin_layout Standard
16207 \begin_layout Standard
16208 \begin_inset Note Greyedout
16211 \begin_layout Plain Layout
16216 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
16222 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
16230 \begin_layout Section
16232 \begin_inset CommandInset label
16239 \begin_inset Index idx
16242 \begin_layout Plain Layout
16251 \begin_layout Subsection
16253 \begin_inset Index idx
16256 \begin_layout Plain Layout
16257 ひょうのいろ@表の色 ! せるぶ@セル部
16263 \begin_inset Index idx
16266 \begin_layout Plain Layout
16267 いろつき@色付き ! ひょうせるぶ@表セル部
16275 \begin_layout Standard
16276 \begin_inset Float table
16282 \begin_layout Plain Layout
16283 \begin_inset Caption
16285 \begin_layout Plain Layout
16286 \begin_inset CommandInset label
16288 name "tab:colortblなしの表"
16297 \begin_inset Argument
16300 \begin_layout Plain Layout
16314 \begin_layout Plain Layout
16316 \begin_inset Tabular
16317 <lyxtabular version="3" rows="3" columns="3">
16318 <features tabularvalignment="middle">
16319 <column alignment="center" valignment="top" width="0">
16320 <column alignment="center" valignment="top" width="0">
16321 <column alignment="center" valignment="top" width="0">
16323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16326 \begin_layout Plain Layout
16334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16337 \begin_layout Plain Layout
16345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16348 \begin_layout Plain Layout
16358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16361 \begin_layout Plain Layout
16369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16372 \begin_layout Plain Layout
16380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16383 \begin_layout Plain Layout
16393 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16396 \begin_layout Plain Layout
16404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16407 \begin_layout Plain Layout
16415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16418 \begin_layout Plain Layout
16439 \begin_layout Standard
16440 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
16442 編集\SpecialChar \menuseparator
16446 \begin_inset CommandInset ref
16448 reference "tab:colortblなしの表"
16452 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
16457 \begin_inset Index idx
16460 \begin_layout Plain Layout
16461 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
16469 \begin_layout Standard
16473 \begin_layout Plain Layout
16483 \begin_inset Note Note
16486 \begin_layout Plain Layout
16487 本節の以下の部分は、LaTeXパッケージ
16499 \begin_layout Standard
16500 色付きの表を作成するには、プリアンブルに
16503 \begin_layout Standard
16508 usepackage{colortbl}
16511 \begin_layout Standard
16516 を読み込まなくてはなりません。列の色は、
16523 \begin_layout Standard
16531 \begin_layout Standard
16532 というコマンドを書いて指定することができます。
16537 \begin_inset CommandInset ref
16539 reference "sub:連結列の計算"
16546 \begin_layout Standard
16547 以下の色彩名が事前に定義されています。
16550 \begin_layout Standard
16584 \begin_layout Standard
16585 \begin_inset VSpace medskip
16591 \begin_layout Standard
16594 If you add the options
16597 \begin_layout Standard
16600 usenames,dvipsnames
16603 \begin_layout Standard
16606 to the document class options in the document settings, you can additionally
16608 \begin_inset space ~
16612 These colors are listed in appendix
16613 \begin_inset space ~
16617 \begin_inset CommandInset ref
16619 reference "chap:List-of-dvips-colornames"
16624 One of these colors,
16628 , is used as example in Table
16631 \begin_inset space ~
16635 \begin_inset CommandInset ref
16637 reference "tab:色付き表"
16644 \begin_layout Standard
16645 \begin_inset VSpace medskip
16651 \begin_layout Standard
16655 \begin_layout Standard
16660 definecolor{色彩名}{色彩モデル}{色彩値}
16663 \begin_layout Standard
16664 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
16667 \begin_layout Labeling
16668 \labelwidthstring 00.00.0000
16688 \begin_layout Labeling
16689 \labelwidthstring 00.00.0000
16705 \begin_layout Labeling
16706 \labelwidthstring 00.00.0000
16710 \begin_layout Standard
16711 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
16714 \begin_layout Standard
16718 \begin_layout Standard
16723 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
16726 \begin_layout Standard
16734 \begin_layout Standard
16739 definecolor{lightgray}{gray}{0.8}
16742 \begin_layout Standard
16750 \begin_layout Standard
16751 \begin_inset VSpace medskip
16757 \begin_layout Standard
16761 \begin_layout Standard
16769 \begin_layout Standard
16770 というコマンドを使用して色付けすることができ、セルは
16773 \begin_layout Standard
16781 \begin_layout Standard
16782 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
16785 \begin_layout Standard
16786 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
16788 編集\SpecialChar \menuseparator
16791 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
16795 \begin_layout Standard
16796 \begin_inset Note Greyedout
16799 \begin_layout Plain Layout
16800 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
16808 \begin_layout Standard
16809 \begin_inset VSpace bigskip
16815 \begin_layout Standard
16817 \begin_inset CommandInset ref
16819 reference "tab:色付き表"
16823 を作成するには、以下のようにしてください。第一列の色は
16827 にしたいので、この列のLaTeX変数として
16830 \begin_layout Standard
16835 columncolor{darkgreen}
16840 \begin_layout Standard
16841 と書き込みます。第一列は青にしたいので、この列の最初のセルに
16844 \begin_layout Standard
16852 \begin_layout Standard
16853 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。
16855 The last cell of the last row is colored maroon by inserting the TeX-Code
16859 \begin_layout Standard
16867 \begin_layout Standard
16868 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
16870 編集\SpecialChar \menuseparator
16873 メニューを使って、各文字に色付けをすることができます。
16876 \begin_layout Standard
16877 \begin_inset Float table
16883 \begin_layout Plain Layout
16884 \begin_inset Caption
16886 \begin_layout Plain Layout
16889 \begin_inset CommandInset label
16898 \begin_inset Argument
16901 \begin_layout Plain Layout
16915 \begin_layout Plain Layout
16917 \begin_inset Tabular
16918 <lyxtabular version="3" rows="3" columns="3">
16919 <features tabularvalignment="middle">
16920 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
16921 <column alignment="center" valignment="top" width="0">
16922 <column alignment="center" valignment="top" width="0">
16924 <cell alignment="center" valignment="top" usebox="none">
16927 \begin_layout Plain Layout
16931 \begin_layout Plain Layout
16947 <cell alignment="center" valignment="top" usebox="none">
16950 \begin_layout Plain Layout
16958 <cell alignment="center" valignment="top" usebox="none">
16961 \begin_layout Plain Layout
16971 <cell alignment="center" valignment="top" usebox="none">
16974 \begin_layout Plain Layout
16982 <cell alignment="center" valignment="top" usebox="none">
16985 \begin_layout Plain Layout
16993 <cell alignment="center" valignment="top" usebox="none">
16996 \begin_layout Plain Layout
17006 <cell alignment="center" valignment="top" usebox="none">
17009 \begin_layout Plain Layout
17017 <cell alignment="center" valignment="top" usebox="none">
17020 \begin_layout Plain Layout
17028 <cell alignment="center" valignment="top" usebox="none">
17031 \begin_layout Plain Layout
17035 \begin_layout Plain Layout
17064 \begin_layout Standard
17068 \begin_layout Plain Layout
17078 \begin_inset Note Note
17081 \begin_layout Plain Layout
17086 が導入されていないときに表示されます。
17094 \begin_layout Standard
17102 \begin_layout Standard
17106 \begin_layout Plain Layout
17118 \begin_layout Subsection
17120 \begin_inset Index idx
17123 \begin_layout Plain Layout
17124 ひょうのいろ@表の色 ! けいせんぶ@罫線部
17130 \begin_inset Index idx
17133 \begin_layout Plain Layout
17134 いろつき@色付き ! ひょうけいせんぶ@表罫線部
17142 \begin_layout Standard
17144 \begin_inset CommandInset ref
17146 reference "sub:罫線幅"
17150 節に述べられているように、表中の全罫線の線幅は、長さ
17156 を使って調節することができます。本節の表では、すべて1.5
17157 \begin_inset space \thinspace{}
17164 \begin_layout Plain Layout
17170 arrayrulewidth}{1.5pt}
17178 \begin_layout Standard
17180 \begin_inset CommandInset ref
17182 reference "sub:自製書式"
17186 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
17189 \begin_layout Standard
17194 newcolumntype{W}{!{
17201 \begin_layout Standard
17203 \begin_inset CommandInset ref
17205 reference "tab:色付き縦罫線の表"
17220 \begin_layout Standard
17221 複数の色を用いたいときには、列書式をもっと定義してください。
17224 \begin_layout Standard
17225 \begin_inset Float table
17231 \begin_layout Plain Layout
17232 \begin_inset Caption
17234 \begin_layout Plain Layout
17235 \begin_inset CommandInset label
17237 name "tab:色付き縦罫線の表"
17249 \begin_layout Plain Layout
17251 \begin_inset Tabular
17252 <lyxtabular version="3" rows="3" columns="3">
17253 <features tabularvalignment="middle">
17254 <column alignment="center" valignment="top" width="0" special="Wc">
17255 <column alignment="center" valignment="top" width="0" special="Wc">
17256 <column alignment="center" valignment="top" width="0" special="WcW">
17258 <cell alignment="center" valignment="top" topline="true" usebox="none">
17261 \begin_layout Plain Layout
17267 <cell alignment="center" valignment="top" topline="true" usebox="none">
17270 \begin_layout Plain Layout
17276 <cell alignment="center" valignment="top" topline="true" usebox="none">
17279 \begin_layout Plain Layout
17287 <cell alignment="center" valignment="top" topline="true" usebox="none">
17290 \begin_layout Plain Layout
17296 <cell alignment="center" valignment="top" topline="true" usebox="none">
17299 \begin_layout Plain Layout
17305 <cell alignment="center" valignment="top" topline="true" usebox="none">
17308 \begin_layout Plain Layout
17316 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17319 \begin_layout Plain Layout
17325 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17328 \begin_layout Plain Layout
17334 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17337 \begin_layout Plain Layout
17356 \begin_layout Standard
17357 \begin_inset VSpace bigskip
17361 \begin_inset CommandInset ref
17363 reference "tab:色付き横罫線の表"
17367 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
17370 \begin_layout Standard
17380 \begin_inset Newline newline
17388 \begin_inset Newline newline
17392 \begin_inset Phantom HPhantom
17395 \begin_layout Plain Layout
17396 \begin_inset space ~
17406 arrayrulecolor{red}
17410 arrayrulecolor{black}}
17413 \begin_layout Standard
17417 \begin_layout Standard
17421 \begin_layout Plain Layout
17432 \begin_layout Plain Layout
17441 \begin_layout Plain Layout
17445 arrayrulecolor{red}
17449 arrayrulecolor{black}}
17455 \begin_inset Float table
17461 \begin_layout Plain Layout
17462 \begin_inset Caption
17464 \begin_layout Plain Layout
17465 \begin_inset CommandInset label
17467 name "tab:色付き横罫線の表"
17479 \begin_layout Plain Layout
17481 \begin_inset Tabular
17482 <lyxtabular version="3" rows="3" columns="3">
17483 <features tabularvalignment="middle">
17484 <column alignment="center" valignment="top" width="0">
17485 <column alignment="center" valignment="top" width="0">
17486 <column alignment="center" valignment="top" width="0">
17488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17491 \begin_layout Plain Layout
17497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17500 \begin_layout Plain Layout
17506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17509 \begin_layout Plain Layout
17517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17520 \begin_layout Plain Layout
17526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17529 \begin_layout Plain Layout
17535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17538 \begin_layout Plain Layout
17546 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17549 \begin_layout Plain Layout
17555 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17558 \begin_layout Plain Layout
17564 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17567 \begin_layout Plain Layout
17586 \begin_layout Standard
17590 \begin_layout Standard
17602 \begin_layout Standard
17603 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
17604 \begin_inset CommandInset ref
17606 reference "tab:色付き罫線の表"
17613 \begin_layout Standard
17614 \begin_inset Float table
17620 \begin_layout Plain Layout
17621 \begin_inset Caption
17623 \begin_layout Plain Layout
17624 \begin_inset CommandInset label
17638 \begin_layout Plain Layout
17640 \begin_inset Tabular
17641 <lyxtabular version="3" rows="3" columns="3">
17642 <features tabularvalignment="middle">
17643 <column alignment="center" valignment="top" width="0" special="Wc">
17644 <column alignment="center" valignment="top" width="0" special="Wc">
17645 <column alignment="center" valignment="top" width="0" special="WcW">
17647 <cell alignment="center" valignment="top" topline="true" usebox="none">
17650 \begin_layout Plain Layout
17656 <cell alignment="center" valignment="top" topline="true" usebox="none">
17659 \begin_layout Plain Layout
17665 <cell alignment="center" valignment="top" topline="true" usebox="none">
17668 \begin_layout Plain Layout
17676 <cell alignment="center" valignment="top" topline="true" usebox="none">
17679 \begin_layout Plain Layout
17685 <cell alignment="center" valignment="top" topline="true" usebox="none">
17688 \begin_layout Plain Layout
17694 <cell alignment="center" valignment="top" topline="true" usebox="none">
17697 \begin_layout Plain Layout
17704 <row topspace="default">
17705 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17708 \begin_layout Plain Layout
17714 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17717 \begin_layout Plain Layout
17723 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17726 \begin_layout Plain Layout
17745 \begin_layout Standard
17749 \begin_layout Plain Layout
17765 \begin_layout Standard
17769 \begin_layout Plain Layout
17775 arrayrulewidth}{0.4pt}
17783 \begin_layout Section
17786 Table Width Calculation
17787 \begin_inset CommandInset label
17789 name "sec:Table-Width-Calculation"
17796 \begin_layout Standard
17799 For wide tables it is sometimes difficult to assure that the table does
17800 not protrude over the page margin.
17801 Setting a fixed width for every column of the table is the solution, but
17802 what amount of space is needed for each column?
17805 \begin_layout Standard
17809 \begin_inset Formula $W_{\mathrm{table}}$
17812 can be calculated: Every column has the width of the specified column width
17814 \begin_inset Formula $W_{\mathrm{column}}$
17817 (that the content of the column can consume) plus two times the separation
17818 between the column content and the column border (LaTeX length
17825 \begin_inset space \thinspace{}
17828 pt) plus the width of a border line (LaTeX length
17835 \begin_inset space \thinspace{}
17839 \begin_inset Formula $n$
17843 \begin_inset space ~
17846 columns have the same width, the table width is
17849 \begin_inset Formula
17851 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
17859 \begin_layout Standard
17862 The available width for a table is the space between the page margins or
17863 the width of a text column (for a two-column document) (LaTeX length
17870 If all table columns should have the same width and
17871 \begin_inset Formula $W_{\mathrm{table}}$
17875 \begin_inset space \thinspace{}
17881 \begin_inset Formula $W_{\mathrm{column}}$
17884 can easily be calculated.
17887 \begin_layout Standard
17890 To be able to perform calculations you need to load the LaTeX-package
17896 \begin_inset Index idx
17899 \begin_layout Plain Layout
17900 LaTeXぱっけーじ@LaTeXパッケージ ! calc
17907 in the document preamble.
17908 To set the width in the table dialog you have to use the field
17913 The command scheme for this field is the same that is explained in section
17914 \begin_inset space ~
17920 \begin_inset CommandInset ref
17922 reference "sub:連結列の計算"
17930 \begin_inset space \thinspace{}
17933 columns with an uniform width and centered text, enter there for each column
17937 \begin_layout Standard
17944 columnwidth-62.4pt)/5}
17947 \begin_layout Standard
17951 \begin_inset space \thinspace{}
17954 columns where 2 should have 0.75
17955 \begin_inset space ~
17958 times the width than the 3 others, the calculation is
17961 \begin_inset Formula
17963 \backslash\mbox{columnwidth} & =3\, W_{\mathrm{column}}+2\cdot0.75\, W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
17964 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
17965 & =4.5\, W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
17966 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
17974 \begin_layout Standard
17977 In the table therefore the command
17980 \begin_layout Standard
17987 columnwidth-62.4pt)/
17992 \begin_layout Standard
17995 is used for the wider columns and
17998 \begin_layout Standard
18005 columnwidth-62.4pt)/
18012 \begin_layout Standard
18015 for the smaller ones:
18018 \begin_layout Standard
18019 \begin_inset Tabular
18020 <lyxtabular version="3" rows="2" columns="5">
18021 <features tabularvalignment="middle">
18022 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18023 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
18024 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18025 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
18026 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18031 \begin_layout Plain Layout
18037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18040 \begin_layout Plain Layout
18046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18049 \begin_layout Plain Layout
18055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18058 \begin_layout Plain Layout
18064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18067 \begin_layout Plain Layout
18075 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18078 \begin_layout Plain Layout
18079 111111 1111111 111111 111111111 11111 11111 1111
18084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18087 \begin_layout Plain Layout
18093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18096 \begin_layout Plain Layout
18097 2222 22222 222222 222222222 2222222 22 22222
18102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18105 \begin_layout Plain Layout
18111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18114 \begin_layout Plain Layout
18115 333333 333333 333333 33333 3333333 333
18128 \begin_layout Section
18130 \begin_inset Index idx
18133 \begin_layout Plain Layout
18140 \begin_inset Index idx
18143 \begin_layout Plain Layout
18152 \begin_layout Subsection
18154 \begin_inset CommandInset label
18161 \begin_inset Index idx
18164 \begin_layout Plain Layout
18165 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
18173 \begin_layout Standard
18178 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
18181 \begin_layout Description
18182 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
18186 \begin_layout Plain Layout
18188 \begin_inset CommandInset ref
18190 reference "sec:フォーマル形式の表"
18200 \begin_inset space \thinspace{}
18203 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
18204 \begin_inset VSpace medskip
18208 \begin_inset Newline newline
18212 \begin_inset space \hspace*{}
18217 \begin_inset space \hfill{}
18221 \begin_inset Tabular
18222 <lyxtabular version="3" rows="3" columns="1">
18223 <features tabularvalignment="middle">
18224 <column alignment="center" valignment="top" width="0">
18226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18229 \begin_layout Plain Layout
18236 <row topspace="3mm">
18237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18240 \begin_layout Plain Layout
18242 \begin_inset space \thinspace{}
18252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18255 \begin_layout Plain Layout
18267 \begin_inset space \hfill{}
18271 \begin_inset space \hspace*{}
18276 \begin_inset VSpace medskip
18280 \begin_inset Newline newline
18283 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
18286 \begin_layout Description
18287 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
18288 \begin_inset space \thinspace{}
18291 emの余白を挿入し、通常の表ならば既定値として2
18292 \begin_inset space \thinspace{}
18298 \begin_layout Description
18299 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
18300 \begin_inset space \thinspace{}
18303 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
18304 \begin_inset VSpace medskip
18308 \begin_inset Newline newline
18312 \begin_inset space \hspace*{}
18317 \begin_inset space \hfill{}
18321 \begin_inset Tabular
18322 <lyxtabular version="3" rows="3" columns="1">
18323 <features tabularvalignment="middle">
18324 <column alignment="center" valignment="top" width="0">
18326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18329 \begin_layout Plain Layout
18336 <row interlinespace="3mm">
18337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18340 \begin_layout Plain Layout
18341 \begin_inset Formula $\downarrow$
18345 \begin_inset space \thinspace{}
18349 \begin_inset Formula $\downarrow$
18359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18362 \begin_layout Plain Layout
18363 \begin_inset Formula $\uparrow$
18367 \begin_inset space \thinspace{}
18371 \begin_inset Formula $\uparrow$
18385 \begin_inset space \hfill{}
18389 \begin_inset space \hspace*{}
18394 \begin_inset VSpace medskip
18398 \begin_inset Newline newline
18401 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
18404 \begin_layout Standard
18405 \begin_inset VSpace bigskip
18408 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
18411 \begin_layout Standard
18416 @ifundefined{extrarowheight}
18417 \begin_inset Newline newline
18421 \begin_inset Phantom HPhantom
18424 \begin_layout Plain Layout
18425 \begin_inset space ~
18435 usepackage{array}}{}
18436 \begin_inset Newline newline
18443 extrarowheight}{height}
18446 \begin_layout Standard
18447 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
18451 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
18460 \begin_layout Standard
18461 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
18467 コマンドを挿入することで補正することができます。表
18468 \begin_inset CommandInset ref
18470 reference "tab:垂直揃え"
18477 \begin_layout Standard
18479 \begin_inset Float table
18485 \begin_layout Plain Layout
18486 \begin_inset Caption
18488 \begin_layout Plain Layout
18489 \begin_inset CommandInset label
18503 \begin_layout Plain Layout
18504 \begin_inset space \hfill{}
18508 \begin_inset Float table
18513 \begin_layout Plain Layout
18514 \begin_inset Caption
18516 \begin_layout Plain Layout
18525 \begin_layout Plain Layout
18528 \begin_inset Tabular
18529 <lyxtabular version="3" rows="6" columns="1">
18530 <features tabularvalignment="middle">
18531 <column alignment="left" valignment="top" width="0">
18533 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18536 \begin_layout Plain Layout
18544 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18547 \begin_layout Plain Layout
18557 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18560 \begin_layout Plain Layout
18570 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18573 \begin_layout Plain Layout
18583 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18586 \begin_layout Plain Layout
18596 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18599 \begin_layout Plain Layout
18618 \begin_inset space \hfill{}
18622 \begin_inset Float table
18627 \begin_layout Plain Layout
18628 \begin_inset Caption
18630 \begin_layout Plain Layout
18645 \begin_layout Plain Layout
18648 \begin_inset Tabular
18649 <lyxtabular version="3" rows="6" columns="1">
18650 <features tabularvalignment="middle">
18651 <column alignment="left" valignment="top" width="0">
18653 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18656 \begin_layout Plain Layout
18664 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18667 \begin_layout Plain Layout
18673 \begin_layout Plain Layout
18689 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18692 \begin_layout Plain Layout
18698 \begin_layout Plain Layout
18714 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18717 \begin_layout Plain Layout
18723 \begin_layout Plain Layout
18739 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18742 \begin_layout Plain Layout
18748 \begin_layout Plain Layout
18764 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18767 \begin_layout Plain Layout
18773 \begin_layout Plain Layout
18798 \begin_inset space \hfill{}
18809 \begin_layout Subsection
18811 \begin_inset CommandInset label
18818 \begin_inset Index idx
18821 \begin_layout Plain Layout
18822 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
18830 \begin_layout Standard
18832 \begin_inset CommandInset ref
18834 reference "tab:表セル"
18838 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
18839 \begin_inset Graphics
18840 filename ../../images/tabular-feature_align-decimal.png
18842 scaleBeforeRotation
18853 \begin_layout Standard
18854 \begin_inset Float table
18860 \begin_layout Plain Layout
18861 \begin_inset Caption
18863 \begin_layout Plain Layout
18864 \begin_inset CommandInset label
18878 \begin_layout Plain Layout
18880 \begin_inset Tabular
18881 <lyxtabular version="3" rows="4" columns="1">
18882 <features booktabs="true" tabularvalignment="middle">
18883 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
18885 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18888 \begin_layout Plain Layout
18896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18899 \begin_layout Plain Layout
18907 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18910 \begin_layout Plain Layout
18918 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18921 \begin_layout Plain Layout
18940 \begin_layout Standard
18941 \begin_inset Float table
18947 \begin_layout Plain Layout
18948 \begin_inset Caption
18950 \begin_layout Plain Layout
18951 \begin_inset CommandInset label
18965 \begin_layout Plain Layout
18967 \begin_inset Tabular
18968 <lyxtabular version="3" rows="4" columns="2">
18969 <features booktabs="true" tabularvalignment="middle">
18970 <column alignment="right" valignment="top" width="0pt">
18971 <column alignment="left" valignment="top" width="0pt" special="@{}l">
18973 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
18976 \begin_layout Plain Layout
18982 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18985 \begin_layout Plain Layout
18993 <cell alignment="center" valignment="top" usebox="none">
18996 \begin_layout Plain Layout
18997 \begin_inset Formula $12\,+$
19005 <cell alignment="center" valignment="top" usebox="none">
19008 \begin_layout Plain Layout
19009 \begin_inset Formula $\,6$
19019 <cell alignment="center" valignment="top" usebox="none">
19022 \begin_layout Plain Layout
19023 \begin_inset Formula $0\,-$
19031 <cell alignment="center" valignment="top" usebox="none">
19034 \begin_layout Plain Layout
19035 \begin_inset Formula $\,68$
19045 <cell alignment="center" valignment="top" usebox="none">
19048 \begin_layout Plain Layout
19049 \begin_inset Formula $-123\,/$
19057 <cell alignment="center" valignment="top" usebox="none">
19060 \begin_layout Plain Layout
19061 \begin_inset Formula $\,0$
19082 \begin_layout Standard
19083 揃え文字を指定するフィールドには、数式を用いることができないので、この方法を使って、数式中の文字で揃えることはできません。このような場合には、表
19084 \begin_inset CommandInset ref
19086 reference "tab:演算子揃え表"
19090 のような方法を用いる必要があります。この表は、4×2表として作成されており、見出しは中央揃え連結列です。第1列には、右揃えで演算子を含む前半部を収め、第2列には
19091 、左揃えで残りを収めます。演算子の周りに通常加えられる空白を得るために、第2列の各セルの冒頭には、小空白が加えられています。通常、表の列間に加えられる余白を削る
19095 \begin_layout Standard
19101 \begin_layout Standard
19102 というLaTeX引数を第2列に指定します。
19105 \begin_layout Standard
19107 \begin_inset CommandInset ref
19109 reference "tab:表セル揃え"
19113 は、揃え方の例をいくつか示しています。関係子で揃えるために、表
19114 \begin_inset CommandInset ref
19116 reference "tab:演算子揃え表"
19120 の冒頭には、小空白が加えられています。
19123 \begin_layout Standard
19124 \begin_inset Float table
19129 \begin_layout Plain Layout
19130 \begin_inset Caption
19132 \begin_layout Plain Layout
19133 \begin_inset CommandInset label
19147 \begin_layout Plain Layout
19149 \begin_inset Tabular
19150 <lyxtabular version="3" rows="4" columns="6">
19151 <features tabularvalignment="middle">
19152 <column alignment="right" valignment="top" width="0">
19153 <column alignment="left" valignment="top" width="0" special="@{}l">
19154 <column alignment="right" valignment="top" width="0">
19155 <column alignment="left" valignment="top" width="0" special="@{}l">
19156 <column alignment="right" valignment="top" width="0">
19157 <column alignment="left" valignment="top" width="0" special="@{}l">
19159 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
19162 \begin_layout Plain Layout
19168 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19171 \begin_layout Plain Layout
19177 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
19180 \begin_layout Plain Layout
19186 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19189 \begin_layout Plain Layout
19195 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
19198 \begin_layout Plain Layout
19204 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19207 \begin_layout Plain Layout
19215 <cell alignment="center" valignment="top" usebox="none">
19218 \begin_layout Plain Layout
19224 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19227 \begin_layout Plain Layout
19233 <cell alignment="center" valignment="top" usebox="none">
19236 \begin_layout Plain Layout
19237 \begin_inset Formula $10\cdot$
19245 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19248 \begin_layout Plain Layout
19249 \begin_inset Formula $10^{\mbox{-}17}$
19257 <cell alignment="center" valignment="top" usebox="none">
19260 \begin_layout Plain Layout
19261 \begin_inset Formula $\Gamma(t)\propto$
19269 <cell alignment="center" valignment="top" usebox="none">
19272 \begin_layout Plain Layout
19273 \begin_inset Formula $\:\Upsilon(t)$
19283 <cell alignment="center" valignment="top" usebox="none">
19286 \begin_layout Plain Layout
19292 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19295 \begin_layout Plain Layout
19301 <cell alignment="center" valignment="top" usebox="none">
19304 \begin_layout Plain Layout
19305 \begin_inset Formula $5.78\cdot$
19313 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19316 \begin_layout Plain Layout
19317 \begin_inset Formula $10^{7}$
19325 <cell alignment="center" valignment="top" usebox="none">
19328 \begin_layout Plain Layout
19329 \begin_inset Formula $A\ne$
19337 <cell alignment="center" valignment="top" usebox="none">
19340 \begin_layout Plain Layout
19341 \begin_inset Formula $\: B_{\mathrm{red}}$
19351 <cell alignment="center" valignment="top" usebox="none">
19354 \begin_layout Plain Layout
19360 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19363 \begin_layout Plain Layout
19365 \begin_inset space \thinspace{}
19373 <cell alignment="center" valignment="top" usebox="none">
19376 \begin_layout Plain Layout
19378 \begin_inset Formula $33.5\cdot$
19386 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19389 \begin_layout Plain Layout
19390 \begin_inset Formula $10^{4}$
19398 <cell alignment="center" valignment="top" usebox="none">
19401 \begin_layout Plain Layout
19402 \begin_inset Formula $\sin(\alpha)\ge$
19410 <cell alignment="center" valignment="top" usebox="none">
19413 \begin_layout Plain Layout
19414 \begin_inset Formula $\:\sin(\beta)$
19435 \begin_layout Subsection
19437 \begin_inset CommandInset label
19444 \begin_inset Index idx
19447 \begin_layout Plain Layout
19448 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
19456 \begin_layout Standard
19459 Calculating the required width for normal columns as described in section
19460 \begin_inset space ~
19464 \begin_inset CommandInset ref
19466 reference "sec:Table-Width-Calculation"
19470 or for spanned columns as described in section
19471 \begin_inset space ~
19477 \begin_inset CommandInset ref
19479 reference "sub:連結列の計算"
19485 is very annoying if you have several tables where a calculation is necessary.
19488 そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のすべての表で使うことができます。書式は、以下のように定義します。
19491 \begin_layout Standard
19496 newcolumntype{書式名}[引数の数]{コマンド}
19499 \begin_layout Standard
19524 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
19527 \begin_layout Standard
19528 \begin_inset VSpace medskip
19534 \begin_layout Standard
19535 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
19538 \begin_layout Standard
19543 newcolumntype{M}[1]{>{
19550 \begin_layout Standard
19558 \begin_inset CommandInset ref
19560 reference "sub:複数行"
19564 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
19567 \begin_layout Standard
19573 \begin_layout Standard
19577 \begin_layout Standard
19578 \begin_inset VSpace bigskip
19584 \begin_layout Standard
19585 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
19588 \begin_layout Standard
19593 newcolumntype{S}[2]{>{
19598 \begin_inset Newline newline
19602 \begin_inset Phantom HPhantom
19605 \begin_layout Plain Layout
19619 arrayrulewidth)*(1-#2))/#2}}
19622 \begin_layout Standard
19623 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
19624 \begin_inset CommandInset ref
19633 \begin_layout Standard
19634 こうしておけば、当該セルのLaTeX引数に
19637 \begin_layout Standard
19640 S{連結列セルの幅}{連結列セルがまたがる列の数}
19643 \begin_layout Standard
19647 \begin_layout Standard
19648 \begin_inset VSpace bigskip
19654 \begin_layout Standard
19655 色付き列については、以下のように定義するとよいでしょう。
19658 \begin_layout Standard
19663 newcolumntype{K}[1]{>{
19670 \begin_layout Standard
19671 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
19674 \begin_layout Standard
19680 \begin_layout Standard
19684 \begin_layout Standard
19685 \begin_inset VSpace bigskip
19691 \begin_layout Standard
19693 \begin_inset CommandInset ref
19695 reference "tab:ユーザー定義の表書式"
19699 を生成するには、第1列と連結列にLaTeX引数として
19702 \begin_layout Standard
19708 \begin_layout Standard
19712 \begin_layout Standard
19718 \begin_layout Standard
19722 \begin_layout Standard
19728 \begin_layout Standard
19732 \begin_layout Standard
19733 \begin_inset Float table
19739 \begin_layout Plain Layout
19740 \begin_inset Caption
19742 \begin_layout Plain Layout
19743 \begin_inset CommandInset label
19745 name "tab:ユーザー定義の表書式"
19757 \begin_layout Plain Layout
19759 \begin_inset Tabular
19760 <lyxtabular version="3" rows="3" columns="4">
19761 <features tabularvalignment="middle">
19762 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
19763 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
19764 <column alignment="center" valignment="middle" width="0">
19765 <column alignment="center" valignment="middle" width="0" special="K{red}">
19767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19770 \begin_layout Plain Layout
19776 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
19779 \begin_layout Plain Layout
19785 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19788 \begin_layout Plain Layout
19794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19797 \begin_layout Plain Layout
19805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19808 \begin_layout Plain Layout
19814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19817 \begin_layout Plain Layout
19823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19826 \begin_layout Plain Layout
19832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19835 \begin_layout Plain Layout
19843 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19846 \begin_layout Plain Layout
19852 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19855 \begin_layout Plain Layout
19861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19864 \begin_layout Plain Layout
19870 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19873 \begin_layout Plain Layout
19892 \begin_layout Subsection
19894 \begin_inset CommandInset label
19901 \begin_inset Index idx
19904 \begin_layout Plain Layout
19905 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
19913 \begin_layout Standard
19914 表中のすべての罫線の罫線幅を調整するには、長さ
19921 \begin_inset CommandInset ref
19923 reference "tab:Table-with-1.5"
19928 \begin_inset space \thinspace{}
19931 ptにするには、表や表フロートの前にTeXコードで
19934 \begin_layout Standard
19941 arrayrulewidth}{1.5pt}
19944 \begin_layout Standard
19945 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
19952 \begin_inset space \thinspace{}
19958 \begin_layout Standard
19962 \begin_layout Plain Layout
19968 arrayrulewidth}{1.5pt}
19974 \begin_inset Float table
19979 \begin_layout Plain Layout
19980 \begin_inset Caption
19982 \begin_layout Plain Layout
19983 \begin_inset CommandInset label
19985 name "tab:Table-with-1.5"
19990 \begin_inset space \thinspace{}
20001 \begin_layout Plain Layout
20003 \begin_inset Tabular
20004 <lyxtabular version="3" rows="3" columns="3">
20005 <features tabularvalignment="middle">
20006 <column alignment="center" valignment="top" width="0">
20007 <column alignment="center" valignment="top" width="0">
20008 <column alignment="center" valignment="top" width="0">
20010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20013 \begin_layout Plain Layout
20019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20022 \begin_layout Plain Layout
20028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20031 \begin_layout Plain Layout
20039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20042 \begin_layout Plain Layout
20048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20051 \begin_layout Plain Layout
20057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20060 \begin_layout Plain Layout
20068 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20071 \begin_layout Plain Layout
20077 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20080 \begin_layout Plain Layout
20086 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20089 \begin_layout Plain Layout
20109 \begin_layout Plain Layout
20115 arrayrulewidth}{0.4pt}
20123 \begin_layout Standard
20124 \begin_inset VSpace bigskip
20128 \begin_inset CommandInset ref
20130 reference "tab:1.5pt幅横罫"
20135 \begin_inset space \thinspace{}
20138 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
20141 \begin_layout Standard
20151 \begin_inset Newline newline
20159 \begin_inset Newline newline
20168 arrayrulewidth 1.5pt}
20169 \begin_inset Newline newline
20180 arrayrulewidth 0.4pt}}
20183 \begin_layout Standard
20184 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
20187 \begin_layout Standard
20199 \begin_layout Standard
20203 \begin_layout Plain Layout
20214 \begin_layout Plain Layout
20223 \begin_layout Plain Layout
20231 arrayrulewidth 1.5pt}
20234 \begin_layout Plain Layout
20244 arrayrulewidth 0.4pt}}
20250 \begin_inset Float table
20255 \begin_layout Plain Layout
20256 \begin_inset Caption
20258 \begin_layout Plain Layout
20259 \begin_inset CommandInset label
20261 name "tab:1.5pt幅横罫"
20266 \begin_inset space \thinspace{}
20277 \begin_layout Plain Layout
20279 \begin_inset Tabular
20280 <lyxtabular version="3" rows="3" columns="3">
20281 <features tabularvalignment="middle">
20282 <column alignment="center" valignment="top" width="0">
20283 <column alignment="center" valignment="top" width="0">
20284 <column alignment="center" valignment="top" width="0">
20286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20289 \begin_layout Plain Layout
20295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20298 \begin_layout Plain Layout
20304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20307 \begin_layout Plain Layout
20315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20318 \begin_layout Plain Layout
20324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20327 \begin_layout Plain Layout
20333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20336 \begin_layout Plain Layout
20344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20347 \begin_layout Plain Layout
20353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20356 \begin_layout Plain Layout
20362 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20365 \begin_layout Plain Layout
20385 \begin_layout Plain Layout
20401 \begin_layout Standard
20402 \begin_inset VSpace bigskip
20406 \begin_inset space \thinspace{}
20410 \begin_inset CommandInset ref
20412 reference "sub:自製書式"
20416 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
20419 \begin_layout Standard
20424 newcolumntype{V}{!{
20426 vrule width 1.5pt}}
20429 \begin_layout Standard
20431 \begin_inset CommandInset ref
20433 reference "tab:1.5pt幅縦罫"
20440 \begin_layout Standard
20446 \begin_layout Standard
20450 \begin_layout Standard
20456 \begin_layout Standard
20460 \begin_layout Standard
20461 \begin_inset Float table
20466 \begin_layout Plain Layout
20467 \begin_inset Caption
20469 \begin_layout Plain Layout
20470 \begin_inset CommandInset label
20472 name "tab:1.5pt幅縦罫"
20477 \begin_inset space \thinspace{}
20488 \begin_layout Plain Layout
20490 \begin_inset Tabular
20491 <lyxtabular version="3" rows="3" columns="3">
20492 <features tabularvalignment="middle">
20493 <column alignment="center" valignment="top" width="0" special="Vc">
20494 <column alignment="center" valignment="top" width="0" special="Vc">
20495 <column alignment="center" valignment="top" width="0" special="VcV">
20497 <cell alignment="center" valignment="top" topline="true" usebox="none">
20500 \begin_layout Plain Layout
20506 <cell alignment="center" valignment="top" topline="true" usebox="none">
20509 \begin_layout Plain Layout
20515 <cell alignment="center" valignment="top" topline="true" usebox="none">
20518 \begin_layout Plain Layout
20526 <cell alignment="center" valignment="top" topline="true" usebox="none">
20529 \begin_layout Plain Layout
20535 <cell alignment="center" valignment="top" topline="true" usebox="none">
20538 \begin_layout Plain Layout
20544 <cell alignment="center" valignment="top" topline="true" usebox="none">
20547 \begin_layout Plain Layout
20555 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20558 \begin_layout Plain Layout
20564 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20567 \begin_layout Plain Layout
20573 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20576 \begin_layout Plain Layout
20595 \begin_layout Subsection
20597 \begin_inset Index idx
20600 \begin_layout Plain Layout
20601 ひょうのちょうせい@表の調整 ! てんけい@点罫
20609 \begin_layout Standard
20613 \begin_layout Plain Layout
20623 \begin_inset Note Note
20626 \begin_layout Plain Layout
20639 \begin_layout Standard
20640 \begin_inset Float table
20646 \begin_layout Plain Layout
20647 \begin_inset Caption
20649 \begin_layout Plain Layout
20650 \begin_inset CommandInset label
20664 \begin_layout Plain Layout
20666 \begin_inset Tabular
20667 <lyxtabular version="3" rows="5" columns="5">
20668 <features tabularvalignment="middle">
20669 <column alignment="center" valignment="top" width="0">
20670 <column alignment="center" valignment="top" width="0">
20671 <column alignment="center" valignment="top" width="0" special=":c">
20672 <column alignment="center" valignment="top" width="0">
20673 <column alignment="center" valignment="top" width="0">
20675 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20678 \begin_layout Plain Layout
20684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20687 \begin_layout Plain Layout
20693 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20696 \begin_layout Plain Layout
20702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20705 \begin_layout Plain Layout
20711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20714 \begin_layout Plain Layout
20722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20725 \begin_layout Plain Layout
20731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20734 \begin_layout Plain Layout
20740 <cell alignment="center" valignment="top" topline="true" usebox="none">
20743 \begin_layout Plain Layout
20749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20752 \begin_layout Plain Layout
20758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20761 \begin_layout Plain Layout
20769 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20772 \begin_layout Plain Layout
20776 \begin_layout Plain Layout
20790 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20793 \begin_layout Plain Layout
20799 <cell alignment="center" valignment="top" usebox="none">
20802 \begin_layout Plain Layout
20808 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20811 \begin_layout Plain Layout
20817 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20820 \begin_layout Plain Layout
20828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20831 \begin_layout Plain Layout
20835 \begin_layout Plain Layout
20849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20852 \begin_layout Plain Layout
20858 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
20861 \begin_layout Plain Layout
20867 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20870 \begin_layout Plain Layout
20876 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20879 \begin_layout Plain Layout
20887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20890 \begin_layout Plain Layout
20896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20899 \begin_layout Plain Layout
20905 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20908 \begin_layout Plain Layout
20914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20917 \begin_layout Plain Layout
20923 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20926 \begin_layout Plain Layout
20945 \begin_layout Standard
20946 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
20949 \begin_layout Standard
20954 usepackage{arydshln}
20957 \begin_layout Standard
20958 というコマンドを書き、LaTeXパッケージの
20963 \begin_inset Index idx
20966 \begin_layout Plain Layout
20967 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
20972 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
20975 \begin_layout Standard
20976 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
20979 \begin_layout Standard
20987 \begin_layout Standard
20991 \begin_layout Standard
20992 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
20995 \begin_layout Standard
21005 \begin_layout Standard
21006 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
21009 \begin_layout Standard
21017 \begin_layout Standard
21021 \begin_layout Standard
21022 \begin_inset VSpace bigskip
21028 \begin_layout Standard
21030 \begin_inset CommandInset ref
21032 reference "tab:点罫表"
21036 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
21042 が挿れられており、第3行の最初のセルには、TeXコードのコマンド
21043 \begin_inset Newline newline
21055 \begin_layout Standard
21056 \begin_inset VSpace bigskip
21062 \begin_layout Standard
21065 Tables with dashed lines can also be colored as shown by Table
21068 \begin_inset space ~
21072 \begin_inset CommandInset ref
21074 reference "tab:Colored-table-with"
21081 \begin_layout Standard
21085 \begin_layout Plain Layout
21091 arrayrulewidth}{1pt}
21099 \begin_inset Note Note
21102 \begin_layout Plain Layout
21105 thicker lines for better visualization of the line color
21113 \begin_layout Standard
21117 \begin_layout Plain Layout
21121 dashgapcolor{green}
21129 \begin_inset Note Note
21132 \begin_layout Plain Layout
21135 color gaps between dashes green
21143 \begin_layout Standard
21147 \begin_layout Plain Layout
21158 \begin_layout Plain Layout
21167 \begin_layout Plain Layout
21171 arrayrulecolor{red}
21175 arrayrulecolor{black}}
21183 \begin_inset Note Note
21186 \begin_layout Plain Layout
21189 color horizontal, dashed lines red
21197 \begin_layout Standard
21201 \begin_layout Plain Layout
21212 \begin_layout Plain Layout
21221 \begin_layout Plain Layout
21225 arrayrulecolor{yellow}
21229 arrayrulecolor{black}}
21237 \begin_inset Note Note
21240 \begin_layout Plain Layout
21243 color partial horizontal, dashed lines yellow
21251 \begin_layout Standard
21252 \begin_inset Float table
21258 \begin_layout Plain Layout
21259 \begin_inset Caption
21261 \begin_layout Plain Layout
21262 \begin_inset CommandInset label
21264 name "tab:Colored-table-with"
21270 Colored table with dashed lines
21278 \begin_layout Plain Layout
21280 \begin_inset Tabular
21281 <lyxtabular version="3" rows="5" columns="5">
21282 <features tabularvalignment="middle">
21283 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
21284 <column alignment="center" valignment="top" width="0pt">
21285 <column alignment="center" valignment="top" width="0pt" special=":c">
21286 <column alignment="center" valignment="top" width="0">
21287 <column alignment="center" valignment="top" width="0">
21289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21292 \begin_layout Plain Layout
21298 <cell alignment="center" valignment="top" topline="true" usebox="none">
21301 \begin_layout Plain Layout
21307 <cell alignment="center" valignment="top" topline="true" usebox="none">
21310 \begin_layout Plain Layout
21316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21319 \begin_layout Plain Layout
21325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21328 \begin_layout Plain Layout
21336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21339 \begin_layout Plain Layout
21345 <cell alignment="center" valignment="top" topline="true" usebox="none">
21348 \begin_layout Plain Layout
21354 <cell alignment="center" valignment="top" topline="true" usebox="none">
21357 \begin_layout Plain Layout
21363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21366 \begin_layout Plain Layout
21372 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21375 \begin_layout Plain Layout
21383 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21386 \begin_layout Plain Layout
21390 \begin_layout Plain Layout
21403 \begin_layout Plain Layout
21417 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21420 \begin_layout Plain Layout
21426 <cell alignment="center" valignment="top" usebox="none">
21429 \begin_layout Plain Layout
21435 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21438 \begin_layout Plain Layout
21444 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21447 \begin_layout Plain Layout
21455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21458 \begin_layout Plain Layout
21462 \begin_layout Plain Layout
21476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21479 \begin_layout Plain Layout
21485 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
21488 \begin_layout Plain Layout
21494 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21497 \begin_layout Plain Layout
21503 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21506 \begin_layout Plain Layout
21514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21517 \begin_layout Plain Layout
21523 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21526 \begin_layout Plain Layout
21532 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21535 \begin_layout Plain Layout
21541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21544 \begin_layout Plain Layout
21550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21553 \begin_layout Plain Layout
21557 \begin_layout Plain Layout
21584 \begin_layout Standard
21588 \begin_layout Plain Layout
21604 \begin_inset Note Note
21607 \begin_layout Plain Layout
21618 \begin_layout Standard
21622 \begin_layout Plain Layout
21638 \begin_inset Note Note
21641 \begin_layout Plain Layout
21652 \begin_layout Standard
21656 \begin_layout Plain Layout
21668 \begin_inset Note Note
21671 \begin_layout Plain Layout
21682 \begin_layout Standard
21686 \begin_layout Plain Layout
21692 arrayrulewidth}{0.4pt}
21700 \begin_inset Note Note
21703 \begin_layout Plain Layout
21714 \begin_layout Standard
21717 The coloring of lines, columns and lines works as decribed in section
21718 \begin_inset space ~
21724 \begin_inset CommandInset ref
21726 reference "sec:色付きの表"
21733 Coloring horizontal lines works analogically as described there as well,
21734 one only needs to replace in the commands
21758 ; so one uses the command
21761 \begin_layout Standard
21771 \begin_inset Newline newline
21779 \begin_inset Newline newline
21783 \begin_inset Phantom HPhantom
21786 \begin_layout Plain Layout
21787 \begin_inset space ~
21797 arrayrulecolor{red}
21801 arrayrulecolor{black}}
21804 \begin_layout Standard
21816 \begin_layout Standard
21826 \begin_inset Newline newline
21834 \begin_inset Newline newline
21838 \begin_inset Phantom HPhantom
21841 \begin_layout Plain Layout
21842 \begin_inset space ~
21852 arrayrulecolor{red}
21856 arrayrulecolor{black}}
21859 \begin_layout Standard
21862 To get back the black line color, one needs to insert the following commands
21863 as TeX-Code behind the table:
21866 \begin_layout Standard
21876 \begin_layout Standard
21888 \begin_layout Standard
21898 \begin_layout Standard
21910 \begin_layout Standard
21913 To color the gaps between the dashes the command
21916 \begin_layout Standard
21922 dashgapcolor{color}
21925 \begin_layout Standard
21928 can be used in front of a table as TeX-Code.
21929 color is hereby the name of a defined color.
21933 \begin_layout Standard
21941 \begin_layout Standard
21944 unsets the changes made by
21953 \begin_layout Standard
21956 \begin_inset Note Greyedout
21959 \begin_layout Plain Layout
21966 : If there are multiple commands in a cell, the command of
21970 needs to be the first one in the cell.
21976 \begin_inset space ~
21980 \begin_inset CommandInset ref
21982 reference "tab:Colored-table-with"
22006 \begin_layout Standard
22009 \begin_inset Note Greyedout
22012 \begin_layout Plain Layout
22023 must be loaded in the document preamble before the LaTeX-package
22031 \begin_inset Index idx
22034 \begin_layout Plain Layout
22035 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
22050 \begin_layout Standard
22054 \begin_layout Plain Layout
22064 \begin_inset Note Note
22067 \begin_layout Plain Layout
22080 \begin_layout Standard
22085 パッケージを導入しなくてはなりません。
22088 \begin_layout Standard
22092 \begin_layout Plain Layout
22104 \begin_layout Standard
22107 For more information about dashed lines see the documentation of
22114 \begin_inset CommandInset citation
22123 \begin_layout Chapter
22125 \begin_inset CommandInset label
22132 \begin_inset Index idx
22135 \begin_layout Plain Layout
22144 \begin_layout Section
22146 \begin_inset CommandInset label
22148 name "sec:フロートはじめに"
22153 \begin_inset Index idx
22156 \begin_layout Plain Layout
22165 \begin_layout Standard
22166 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
22175 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
22178 \begin_layout Standard
22179 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
22180 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
22181 ートには連番が割り当てられます。参照については、第
22182 \begin_inset CommandInset ref
22184 reference "sec:フロートの参照"
22191 \begin_layout Standard
22194 挿入\SpecialChar \menuseparator
22197 メニューを使えば、ラベルのついたボックスすなわち
22201 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
22202 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
22203 \begin_inset CommandInset ref
22205 reference "sec:キャプションの配置"
22209 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
22211 \begin_inset Graphics
22212 filename clipart/floatQt4.png
22214 scaleBeforeRotation
22218 のように、灰色ボタンに赤字ラベルで表示されます。
22221 \begin_layout Standard
22222 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
22225 \begin_layout Standard
22226 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
22229 \begin_layout Section
22233 \begin_layout Standard
22235 \begin_inset CommandInset ref
22237 reference "sec:図フロート"
22242 \begin_inset CommandInset ref
22244 reference "sec:表フロート"
22248 節で各々説明されている図フロートと表フロート以外に、
22258 The latter are explained in sec.
22261 \begin_inset space \thinspace{}
22265 \begin_inset CommandInset ref
22267 reference "sec:折返しフロート"
22274 \begin_layout Subsection
22276 \begin_inset Index idx
22279 \begin_layout Plain Layout
22280 ふろーと@フロート ! あるごりずむ@アルゴリズム
22288 \begin_layout Standard
22289 \begin_inset Float algorithm
22295 \begin_layout Plain Layout
22296 \begin_inset Caption
22298 \begin_layout Plain Layout
22299 \begin_inset CommandInset label
22301 name "alg:アルゴリズムフロートの例"
22313 \begin_layout LyX-Code
22315 \begin_inset Newline newline
22318 Sum:= Sum + A(I); /*comment*/
22319 \begin_inset Newline newline
22323 \begin_inset VSpace -4mm
22334 \begin_layout Standard
22339 \SpecialChar \menuseparator
22340 フロート\SpecialChar \menuseparator
22344 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
22345 \begin_inset CommandInset ref
22347 reference "cha:プログラムコードリスト"
22351 章で説明されているプログラムコードリストの代わりとみなすことができます。
22355 に述べられているように、アルゴリズム向けの環境としては、
22360 \begin_inset CommandInset ref
22362 reference "alg:アルゴリズムフロートの例"
22366 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
22367 \begin_inset space \thinspace{}
22373 \begin_layout Standard
22374 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
22377 \begin_layout Standard
22382 floatname{algorithm}{付けたい名称}
22385 \begin_layout Standard
22386 という行を手動で加える必要があります。ここで
22399 \begin_layout Standard
22400 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
22402 挿入\SpecialChar \menuseparator
22403 一覧/目次\SpecialChar \menuseparator
22406 メニューを使用します。それ以外の場合には、代わりに
22409 \begin_layout Standard
22414 listof{algorithm}{付けたい名称}
22417 \begin_layout Standard
22418 というコマンドをTeXコードとして用います。ここで
22426 s」という単語に相当する、ご使用になりたい言語での単語です。
22429 \begin_layout Standard
22430 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
22431 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
22434 \begin_layout Standard
22439 numberwithin{algorithm}{chapter}
22442 \begin_layout Standard
22449 というコマンドを使用するには、文書設定の
22460 \begin_layout Section
22462 \begin_inset Index idx
22465 \begin_layout Plain Layout
22466 ふろーと@フロート ! れんばん@連番
22474 \begin_layout Standard
22475 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
22479 \begin_layout Standard
22480 節から独立して付けられている連番を変更するには、文書プリアンブルで
22483 \begin_layout Standard
22495 \begin_layout Standard
22502 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
22508 コマンドを使用します。上のコマンドで使用されている
22514 は、表番号を小文字のローマ数字で印字するコマンドです。
22517 \begin_layout Standard
22518 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
22521 \begin_layout Standard
22526 numberwithin{table}{subsection}
22529 \begin_layout Standard
22536 コマンドを使用可能にするためには、文書設定の
22543 \begin_inset space ~
22551 \begin_layout Standard
22552 連番コマンドについての詳細と大切な注意点については、第
22553 \begin_inset CommandInset ref
22555 reference "sub:脚注の付番"
22562 \begin_layout Section
22564 \begin_inset CommandInset label
22571 \begin_inset Index idx
22574 \begin_layout Plain Layout
22575 ふろーと@フロート ! さんしょう@参照
22581 \begin_inset Index idx
22584 \begin_layout Plain Layout
22585 さんしょう@参照 ! ふろーとにたいする@フロートに対する
22593 \begin_layout Standard
22596 挿入\SpecialChar \menuseparator
22599 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
22600 \begin_inset Graphics
22601 filename ../clipart/labelQt4.png
22603 scaleBeforeRotation
22607 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
22608 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
22615 \begin_layout Standard
22616 ラベルは、参照のための名称兼位置標として用いられます。
22618 挿入\SpecialChar \menuseparator
22626 arg "dialog-show-new-inset ref"
22631 を使えば、ラベルを参照することができます。
22632 \begin_inset Graphics
22633 filename clipart/referenceQt4.png
22635 scaleBeforeRotation
22639 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
22640 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
22644 \begin_layout Standard
22645 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
22646 出力では、参照の代わりに二つの疑問符が表示されることになります。
22649 \begin_layout Standard
22650 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
22651 で、リンクの更新に手間を割く必要はありません。
22654 \begin_layout Standard
22659 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
22663 に変わるので、相互参照にカーソルを戻すのに使用することができます。
22666 \begin_layout Subsection
22668 \begin_inset CommandInset label
22675 \begin_inset Index idx
22678 \begin_layout Plain Layout
22687 \begin_layout Standard
22688 相互参照には、以下の6種類があります。
22691 \begin_layout Description
22692 <参照>: これはフロート番号を表示します。これが既定値です。例:
22693 \begin_inset CommandInset ref
22695 reference "fig:歪められた二つの像"
22702 \begin_layout Description
22703 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
22705 \begin_inset CommandInset ref
22714 \begin_layout Description
22715 <参照ページ>: これはページ番号を表示します。例:Page
22716 \begin_inset space ~
22720 \begin_inset CommandInset ref
22721 LatexCommand pageref
22722 reference "fig:歪められた二つの像"
22729 \begin_layout Description
22731 \begin_inset space ~
22735 \begin_inset space ~
22738 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
22739 \begin_inset CommandInset ref
22740 LatexCommand vpageref
22741 reference "fig:歪められた二つの像"
22748 \begin_layout Description
22750 \begin_inset space ~
22754 \begin_inset space ~
22758 \begin_inset space ~
22761 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
22762 \begin_inset CommandInset ref
22764 reference "fig:歪められた二つの像"
22771 \begin_layout Description
22772 整形された参照: これは自製の相互参照書式で出力します。
22773 \begin_inset Newline newline
22777 \begin_inset Note Greyedout
22780 \begin_layout Plain Layout
22781 【註】この機能は、LaTeXパッケージ
22789 が導入されている場合のみ使用することができます。
22790 \begin_inset Index idx
22793 \begin_layout Plain Layout
22794 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
22800 \begin_inset Index idx
22803 \begin_layout Plain Layout
22804 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
22815 \begin_inset Newline newline
22820 文書\SpecialChar \menuseparator
22821 設定\SpecialChar \menuseparator
22826 相互参照に(prettyrefではなく)refstyleを使用
22828 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
22834 コマンド(prettyrefの場合)あるいは
22840 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
22844 」を持ちます)をすべて定義し直すには、
22845 \begin_inset Newline newline
22852 newref{fig}{refcmd={Image on page
22855 \begin_inset Newline newline
22860 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
22861 \begin_inset CommandInset citation
22863 key "prettyref,refstyle"
22870 \begin_layout Description
22871 名称参照: これは、右のように参照のキャプションを出力します。
22872 \begin_inset CommandInset ref
22873 LatexCommand nameref
22874 reference "fig:歪められた二つの像"
22881 \begin_layout Standard
22886 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
22892 <参照> on page <参照ページ>
22894 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
22897 \begin_layout Standard
22898 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
22905 \begin_layout Standard
22906 \begin_inset Note Greyedout
22909 \begin_layout Plain Layout
22914 It is recommended to use the LaTeX-package
22919 \begin_inset Index idx
22922 \begin_layout Plain Layout
22923 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
22933 \begin_inset Index idx
22936 \begin_layout Plain Layout
22937 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
22942 does not know all of LyX's possible label shortcuts
22946 \begin_layout Plain Layout
22947 \begin_inset Quotes eld
22951 \begin_inset Quotes erd
22954 is for example LyX's shortcut for labels in figure captions.
22959 and is not internationalized.
22967 \begin_layout Subsection
22969 \begin_inset Index idx
22972 \begin_layout Plain Layout
22973 さんしょう@参照 ! じどうめいめい@自動命名
22981 \begin_layout Standard
22995 \begin_inset Index idx
22998 \begin_layout Plain Layout
22999 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23004 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
23008 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
23009 の機能を使用するには、hyperrefを有効にして、
23012 \begin_layout Standard
23028 \begin_layout Standard
23029 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
23030 \begin_inset space \thinspace{}
23033 」としたいなど、既定の参照名以外のものが欲しい場合には、
23036 \begin_layout Standard
23047 sectionautorefname}
23048 \begin_inset Newline newline
23052 \begin_inset Phantom HPhantom
23055 \begin_layout Plain Layout
23058 \begin_inset space ~
23071 \begin_layout Standard
23072 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
23073 \begin_inset Newline newline
23084 に置き換えてください(***は使用中の言語名)。
23087 \begin_layout Standard
23088 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
23091 \begin_layout Standard
23102 equationautorefname}[1]{}}
23105 \begin_layout Standard
23106 この話題に関する詳細は、hyperrefの説明書
23107 \begin_inset CommandInset citation
23116 \begin_layout Standard
23117 \begin_inset Note Greyedout
23120 \begin_layout Plain Layout
23130 \begin_inset CommandInset ref
23132 reference "sub:相互参照の書式"
23136 節)で使用しているときには、使用することができません。
23144 \begin_layout Standard
23151 manual is an example where automatic reference naming is used.
23154 \begin_layout Subsection
23156 \begin_inset CommandInset label
23163 \begin_inset Index idx
23166 \begin_layout Plain Layout
23167 さんしょう@参照 ! さんしょういち@参照位置
23175 \begin_layout Standard
23189 \begin_inset Index idx
23192 \begin_layout Plain Layout
23193 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23198 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
23199 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
23204 \begin_inset Index idx
23207 \begin_layout Plain Layout
23208 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23218 \begin_inset Index idx
23221 \begin_layout Plain Layout
23222 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23227 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
23230 \begin_layout Standard
23235 usepackage[figure]{hypcap}
23238 \begin_layout Standard
23239 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
23241 \begin_inset CommandInset citation
23250 \begin_layout Standard
23251 \begin_inset Note Greyedout
23254 \begin_layout Plain Layout
23259 は内部図への参照には効力がありません。
23267 \begin_layout Section
23269 \begin_inset CommandInset label
23276 \begin_inset Index idx
23279 \begin_layout Plain Layout
23288 \begin_layout Standard
23298 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
23299 \begin_inset Newline newline
23320 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
23321 \begin_inset Newline newline
23342 オプションは、フロートを回転するのに用います。第
23352 \begin_inset CommandInset ref
23354 reference "sec:回転フロート"
23370 \begin_layout Standard
23398 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
23401 \begin_layout Description
23411 フロートを挿入位置に配置することを試みます
23414 \begin_layout Description
23424 フロートを現在ページの上部に配置することを試みます
23427 \begin_layout Description
23437 フロートを現在ページの下部に配置することを試みます
23440 \begin_layout Description
23450 フロートを独立したページに配置することを試みます
23453 \begin_layout Standard
23458 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
23466 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
23467 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
23470 \begin_layout Standard
23471 既定では、各オプションはそれぞれ以下の規則を持っています。
23474 \begin_layout Labeling
23475 \labelwidthstring 00.00.0000
23480 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
23489 \begin_layout Labeling
23490 \labelwidthstring 00.00.0000
23495 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
23504 \begin_layout Labeling
23505 \labelwidthstring 00.00.0000
23510 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
23519 \begin_layout Standard
23524 オプションを追加することによって、これらを無視することができます。
23525 \begin_inset Newline newline
23528 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
23529 、ページの5割に変えるには、文書プリアンブルに
23532 \begin_layout Standard
23539 bottomfraction}{0.5}
23542 \begin_layout Standard
23546 \begin_layout Standard
23547 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
23551 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
23552 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
23556 \begin_layout Standard
23557 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
23560 \begin_layout Standard
23561 \begin_inset VSpace bigskip
23567 \begin_layout Standard
23568 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
23569 することがあります。この問題を避けるには、LaTeXコマンドの
23571 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
23572 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
23575 \begin_layout Standard
23585 \begin_inset Newline newline
23599 \begin_layout Standard
23600 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
23601 することがあるので、これらに対する定義はお勧めしません。
23604 \begin_layout Standard
23605 \begin_inset VSpace bigskip
23608 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
23613 \begin_inset Index idx
23616 \begin_layout Plain Layout
23617 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
23622 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
23623 \begin_inset Quotes eld
23629 \begin_inset space ~
23635 \begin_inset Quotes erd
23638 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
23641 \begin_layout Standard
23646 usepackage[options]{endfloat}
23649 \begin_layout Standard
23650 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
23655 \begin_inset CommandInset citation
23662 \begin_inset Newline newline
23666 \begin_inset Note Greyedout
23669 \begin_layout Plain Layout
23674 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
23675 \begin_inset CommandInset citation
23687 \begin_inset Newline newline
23691 \begin_inset Note Greyedout
23694 \begin_layout Plain Layout
23703 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
23717 \begin_layout Standard
23718 \begin_inset VSpace bigskip
23721 フロートの割付に関する詳細は、LaTeX関連書
23722 \begin_inset CommandInset citation
23724 key "latexcompanion,latexguide,latexbook"
23731 \begin_layout Section
23733 \begin_inset CommandInset label
23740 \begin_inset Index idx
23743 \begin_layout Plain Layout
23744 ふろーと@フロート ! かいてん@回転
23752 \begin_layout Standard
23753 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
23760 \begin_layout Standard
23761 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
23765 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
23766 たって回転方向を強制したい場合には、文書クラスオプションに
23777 \begin_layout Standard
23778 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
23779 \begin_inset CommandInset ref
23781 reference "tab:回転した表"
23788 \begin_layout Standard
23789 \begin_inset Note Greyedout
23792 \begin_layout Plain Layout
23797 すべてのDVIビューアが回転フロートを表示できるわけではありません。
23805 \begin_layout Standard
23806 \begin_inset Float table
23811 \begin_layout Plain Layout
23812 \begin_inset Caption
23814 \begin_layout Plain Layout
23815 \begin_inset CommandInset label
23829 \begin_layout Plain Layout
23831 \begin_inset Tabular
23832 <lyxtabular version="3" rows="1" columns="5">
23833 <features tabularvalignment="middle">
23834 <column alignment="center" valignment="top" width="0">
23835 <column alignment="center" valignment="top" width="0">
23836 <column alignment="center" valignment="top" width="0">
23837 <column alignment="center" valignment="top" width="0">
23838 <column alignment="center" valignment="top" width="0">
23840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23843 \begin_layout Plain Layout
23849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23852 \begin_layout Plain Layout
23858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23861 \begin_layout Plain Layout
23867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23870 \begin_layout Plain Layout
23876 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23879 \begin_layout Plain Layout
23898 \begin_layout Section
23900 \begin_inset Index idx
23903 \begin_layout Plain Layout
23904 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
23912 \begin_layout Standard
23913 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
23914 \begin_inset CommandInset ref
23916 reference "tab:従属表を横に並べたもの"
23921 \begin_inset CommandInset ref
23923 reference "tab:従属表を縦に並べたもの"
23927 に示されているように段落と同様に指定することができます。
23930 \begin_layout Standard
23931 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
23932 \begin_inset CommandInset ref
23934 reference "tab:これは従属表a"
23939 \begin_inset CommandInset ref
23941 reference "tab:これは従属表b"
23946 \begin_inset CommandInset ref
23948 reference "tab:従属表を横に並べたもの"
23953 \begin_inset Float table
23958 \begin_layout Plain Layout
23959 \begin_inset Caption
23961 \begin_layout Plain Layout
23962 \begin_inset CommandInset label
23964 name "tab:従属表を横に並べたもの"
23976 \begin_layout Plain Layout
23977 \begin_inset space \hfill{}
23981 \begin_inset Float table
23986 \begin_layout Plain Layout
23987 \begin_inset Caption
23989 \begin_layout Plain Layout
23990 \begin_inset CommandInset label
24004 \begin_layout Plain Layout
24006 \begin_inset Tabular
24007 <lyxtabular version="3" rows="1" columns="5">
24008 <features tabularvalignment="middle">
24009 <column alignment="center" valignment="top" width="0">
24010 <column alignment="center" valignment="top" width="0">
24011 <column alignment="center" valignment="top" width="0">
24012 <column alignment="center" valignment="top" width="0">
24013 <column alignment="center" valignment="top" width="0">
24015 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24018 \begin_layout Plain Layout
24024 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24027 \begin_layout Plain Layout
24033 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24036 \begin_layout Plain Layout
24042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24045 \begin_layout Plain Layout
24051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24054 \begin_layout Plain Layout
24071 \begin_inset space \hfill{}
24075 \begin_inset Float table
24080 \begin_layout Plain Layout
24081 \begin_inset Caption
24083 \begin_layout Plain Layout
24084 \begin_inset CommandInset label
24098 \begin_layout Plain Layout
24100 \begin_inset Tabular
24101 <lyxtabular version="3" rows="1" columns="5">
24102 <features tabularvalignment="middle">
24103 <column alignment="center" valignment="top" width="0">
24104 <column alignment="center" valignment="top" width="0">
24105 <column alignment="center" valignment="top" width="0">
24106 <column alignment="center" valignment="top" width="0">
24107 <column alignment="center" valignment="top" width="0">
24109 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24112 \begin_layout Plain Layout
24118 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24121 \begin_layout Plain Layout
24127 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24130 \begin_layout Plain Layout
24136 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24139 \begin_layout Plain Layout
24145 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24148 \begin_layout Plain Layout
24165 \begin_inset space \hfill{}
24174 \begin_inset Float table
24179 \begin_layout Plain Layout
24180 \begin_inset Caption
24182 \begin_layout Plain Layout
24183 \begin_inset CommandInset label
24185 name "tab:従属表を縦に並べたもの"
24189 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
24197 \begin_layout Plain Layout
24198 \begin_inset Float table
24203 \begin_layout Plain Layout
24204 \begin_inset Caption
24206 \begin_layout Plain Layout
24215 \begin_layout Plain Layout
24217 \begin_inset Tabular
24218 <lyxtabular version="3" rows="1" columns="4">
24219 <features tabularvalignment="middle">
24220 <column alignment="center" valignment="top" width="0">
24221 <column alignment="center" valignment="top" width="0">
24222 <column alignment="center" valignment="top" width="0">
24223 <column alignment="center" valignment="top" width="0">
24225 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24228 \begin_layout Plain Layout
24234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24237 \begin_layout Plain Layout
24243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24246 \begin_layout Plain Layout
24252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24255 \begin_layout Plain Layout
24274 \begin_layout Plain Layout
24275 \begin_inset Float table
24280 \begin_layout Plain Layout
24281 \begin_inset Caption
24283 \begin_layout Plain Layout
24292 \begin_layout Plain Layout
24294 \begin_inset Tabular
24295 <lyxtabular version="3" rows="1" columns="5">
24296 <features tabularvalignment="middle">
24297 <column alignment="center" valignment="top" width="0">
24298 <column alignment="center" valignment="top" width="0">
24299 <column alignment="center" valignment="top" width="0">
24300 <column alignment="center" valignment="top" width="0">
24301 <column alignment="center" valignment="top" width="0">
24303 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24306 \begin_layout Plain Layout
24312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24315 \begin_layout Plain Layout
24321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24324 \begin_layout Plain Layout
24330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24333 \begin_layout Plain Layout
24339 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24342 \begin_layout Plain Layout
24366 \begin_layout Section
24368 \begin_inset Index idx
24371 \begin_layout Plain Layout
24372 ふろーと@フロート ! よこならび@横並び
24380 \begin_layout Standard
24382 \begin_inset CommandInset ref
24384 reference "fig:左側のフロート"
24389 \begin_inset CommandInset ref
24391 reference "fig:右側のフロート"
24395 のようにフロートを横並びに配置するには、
24399 フロートのみを使用し、その中に二つのminipageボックスを挿入します
24403 \begin_layout Plain Layout
24405 \begin_inset CommandInset ref
24407 reference "sec:ミニページ"
24417 \begin_inset space \thinspace{}
24421 \begin_inset space \thinspace{}
24424 列幅%とし、各minipageのボックス配置を
24428 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
24432 がここではminipageボックスの幅によって計算されることです。
24435 \begin_layout Standard
24436 \begin_inset Float figure
24441 \begin_layout Plain Layout
24442 \begin_inset Box Frameless
24452 height_special "totalheight"
24455 \begin_layout Plain Layout
24457 \begin_inset Graphics
24458 filename ../clipart/mobius.eps
24461 scaleBeforeRotation
24468 \begin_layout Plain Layout
24469 \begin_inset Caption
24471 \begin_layout Plain Layout
24472 \begin_inset CommandInset label
24489 \begin_inset space \hfill{}
24493 \begin_inset Box Frameless
24503 height_special "totalheight"
24506 \begin_layout Plain Layout
24508 \begin_inset Graphics
24509 filename ../clipart/platypus.eps
24512 scaleBeforeRotation
24519 \begin_layout Plain Layout
24520 \begin_inset Caption
24522 \begin_layout Plain Layout
24523 \begin_inset CommandInset label
24542 \begin_layout Plain Layout
24551 \begin_layout Section
24553 \begin_inset Index idx
24556 \begin_layout Plain Layout
24557 きゃぷしょん@キャプション ! しょしきせってい@書式設定
24563 \begin_inset Index idx
24566 \begin_layout Plain Layout
24567 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
24573 \begin_inset CommandInset label
24575 name "sec:キャプションの書式設定"
24582 \begin_layout Standard
24591 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
24595 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
24599 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
24600 。このキャプション書式は、すべての文書書式に適しているわけではありません。
24603 \begin_layout Standard
24604 既定のキャプション書式を変更するには、文書プリアンブルに
24607 \begin_layout Standard
24612 usepackage[format definition]{caption}
24615 \begin_layout Standard
24616 という行を加えて、LaTeXパッケージ
24621 \begin_inset Index idx
24624 \begin_layout Plain Layout
24625 LaTeXぱっけーじ@LaTeXパッケージ ! caption
24630 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
24633 \begin_layout Standard
24638 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
24641 \begin_layout Standard
24642 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
24646 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
24649 \begin_layout Standard
24654 captionsetup[フロート型]{書式定義}
24657 \begin_layout Standard
24658 というコマンドを使用して、個別の書式を指定してください。たとえば、図
24659 \begin_inset CommandInset ref
24661 reference "fig:図キャプション"
24666 \begin_inset CommandInset ref
24668 reference "tab:表キャプション"
24672 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
24675 \begin_layout Standard
24680 usepackage[tableposition=top]{caption}
24683 \begin_inset Newline newline
24690 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
24691 \begin_inset Newline newline
24695 \begin_inset Phantom HPhantom
24698 \begin_layout Plain Layout
24701 captionsetup[figure]{
24707 \begin_inset Newline newline
24712 captionsetup[table]{labelfont={bf,sf}}
24715 \begin_layout Standard
24716 \begin_inset Note Greyedout
24719 \begin_layout Plain Layout
24733 \begin_inset Index idx
24736 \begin_layout Plain Layout
24737 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
24742 が使われているときには、無効になります。この場合には、文書クラスオプション
24744 captions=tableheading
24754 \begin_layout Standard
24759 パッケージについての詳細は、その取扱説明書
24760 \begin_inset CommandInset citation
24769 \begin_layout Standard
24770 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
24773 \begin_layout Standard
24785 \begin_layout Standard
24799 \begin_layout Standard
24800 \begin_inset VSpace bigskip
24808 \begin_inset Index idx
24811 \begin_layout Plain Layout
24812 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
24819 article (KOMA-script)
24827 letter (KOMA-script)
24831 report (KOMA-script)
24845 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
24848 \begin_layout Standard
24853 setkomafont{captionlabel}{
24858 \begin_layout Standard
24870 \begin_inset CommandInset citation
24879 \begin_layout Standard
24883 \begin_layout Plain Layout
24887 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
24894 \begin_inset Note Note
24897 \begin_layout Plain Layout
24898 キャプション書式は、この例のみ変更してあります。
24906 \begin_layout Standard
24907 \begin_inset Float figure
24913 \begin_layout Plain Layout
24915 \begin_inset Graphics
24916 filename ../clipart/mobius.eps
24919 scaleBeforeRotation
24926 \begin_layout Plain Layout
24927 \begin_inset Caption
24929 \begin_layout Plain Layout
24930 \begin_inset CommandInset label
24936 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
24949 \begin_layout Standard
24953 \begin_layout Plain Layout
24957 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
24966 \begin_layout Standard
24967 \begin_inset Float table
24973 \begin_layout Plain Layout
24974 \begin_inset Caption
24976 \begin_layout Plain Layout
24977 \begin_inset CommandInset label
24983 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
24991 \begin_layout Plain Layout
24993 \begin_inset Tabular
24994 <lyxtabular version="3" rows="1" columns="5">
24995 <features tabularvalignment="middle">
24996 <column alignment="center" valignment="top" width="0">
24997 <column alignment="center" valignment="top" width="0">
24998 <column alignment="center" valignment="top" width="0">
24999 <column alignment="center" valignment="top" width="0">
25000 <column alignment="center" valignment="top" width="0">
25002 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25005 \begin_layout Plain Layout
25011 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25014 \begin_layout Plain Layout
25020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25023 \begin_layout Plain Layout
25029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25032 \begin_layout Plain Layout
25038 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25041 \begin_layout Plain Layout
25060 \begin_layout Section
25062 \begin_inset Index idx
25065 \begin_layout Plain Layout
25066 きゃぷしょん@キャプション ! はいち@配置
25072 \begin_inset Index idx
25075 \begin_layout Plain Layout
25076 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
25082 \begin_inset CommandInset label
25084 name "sec:キャプションの配置"
25091 \begin_layout Standard
25095 \begin_layout Description
25096 図の場合: キャプションを図の下に置く
25099 \begin_layout Description
25100 表の場合: キャプションを表の上に置く
25103 \begin_layout Standard
25104 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
25120 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
25128 \begin_layout Standard
25134 \begin_layout Standard
25139 \begin_layout Plain Layout
25145 \begin_inset CommandInset ref
25147 reference "sec:キャプションの書式設定"
25161 \begin_inset Index idx
25164 \begin_layout Plain Layout
25165 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25172 article (KOMA-script)
25180 letter (KOMA-script)
25184 report (KOMA-script)
25187 \begin_inset space \thinspace{}
25194 パッケージにオプションを与える代わりに、文書クラスオプション
25196 captions=tableheading
25201 \begin_layout Standard
25202 \begin_inset VSpace bigskip
25205 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
25208 \begin_layout Standard
25213 usepackage[option]{sidecap}
25216 \begin_layout Standard
25217 という行を入れて、LaTeXパッケージ
25222 \begin_inset Index idx
25225 \begin_layout Plain Layout
25226 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
25231 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
25235 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
25246 \begin_layout Standard
25250 \begin_layout Plain Layout
25260 \begin_inset Note Note
25263 \begin_layout Plain Layout
25268 が導入されているときのみ表示されます。
25276 \begin_layout Standard
25277 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
25280 \begin_layout Standard
25282 \begin_inset CommandInset line
25293 \begin_layout Standard
25300 TabBesBeg}[1][1.0]{%
25301 \begin_inset Newline newline
25305 \begin_inset Phantom HPhantom
25308 \begin_layout Plain Layout
25309 \begin_inset space ~
25324 \begin_inset Newline newline
25328 \begin_inset Phantom HPhantom
25331 \begin_layout Plain Layout
25334 \begin_inset space ~
25349 \begin_inset Newline newline
25353 \begin_inset Phantom HPhantom
25356 \begin_layout Plain Layout
25359 \begin_inset space ~
25369 renewenvironment{table}[1]{
25371 begin{SCtable}[#1]##1}{
25376 \begin_layout Standard
25384 \begin_inset Newline newline
25388 \begin_inset Phantom HPhantom
25391 \begin_layout Plain Layout
25392 \begin_inset space ~
25407 \begin_inset Newline newline
25411 \begin_inset Phantom HPhantom
25414 \begin_layout Plain Layout
25415 \begin_inset space ~
25432 \begin_layout Standard
25439 FigBesBeg}[1][1.0]{%
25440 \begin_inset Newline newline
25444 \begin_inset Phantom HPhantom
25447 \begin_layout Plain Layout
25448 \begin_inset space ~
25463 \begin_inset Newline newline
25467 \begin_inset Phantom HPhantom
25470 \begin_layout Plain Layout
25471 \begin_inset space ~
25486 \begin_inset Newline newline
25490 \begin_inset Phantom HPhantom
25493 \begin_layout Plain Layout
25494 \begin_inset space ~
25504 renewenvironment{figure}[1]{
25506 begin{SCfigure}[#1]##1}{
25511 \begin_layout Standard
25519 \begin_inset Newline newline
25523 \begin_inset Phantom HPhantom
25526 \begin_layout Plain Layout
25527 \begin_inset space ~
25542 \begin_inset Newline newline
25546 \begin_inset Phantom HPhantom
25549 \begin_layout Plain Layout
25550 \begin_inset space ~
25567 \begin_layout Standard
25569 \begin_inset CommandInset line
25580 \begin_layout Standard
25581 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
25584 \begin_layout Standard
25592 \begin_layout Standard
25593 というコマンドを、フロートの前にTeXコードで入れてください。
25595 And insert the command
25598 \begin_layout Standard
25606 \begin_layout Standard
25609 in TeX-Code at the point where you want to get back to the original float
25613 \begin_layout Standard
25614 表フロートに対しては、対応するコマンド
25617 \begin_layout Standard
25631 \begin_layout Standard
25633 \begin_inset CommandInset ref
25635 reference "fig:図横キャプション"
25640 \begin_inset CommandInset ref
25642 reference "tab:表横キャプション"
25649 \begin_layout Standard
25650 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
25651 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
25654 \begin_layout Standard
25659 sidecaptionvpos{フロート型}{配置}
25662 \begin_layout Standard
25663 というコマンドを使用します。ここで「フロート型」は
25671 であり、「配置」は、上揃えの場合はtopの
25674 \begin_layout Standard
25687 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
25690 \begin_layout Standard
25695 sidecaptionvpos{figure}{c}
25698 \begin_layout Standard
25699 というコマンドを使用します。これは、図
25700 \begin_inset CommandInset ref
25702 reference "fig:図横キャプション-2"
25709 \begin_layout Standard
25710 \begin_inset VSpace medskip
25716 \begin_layout Standard
25719 The default caption width is the width of the image/table.
25720 For thin image/tables, like in Table
25723 \begin_inset space ~
25727 \begin_inset CommandInset ref
25729 reference "tab:表横キャプション"
25735 this leads to captions that are too thin.
25736 You can increase the width by specifying a factor that will be multiplied
25737 with the image/table width to get the caption width.
25738 The caption width will automatically be recalculated in case it would protrude
25739 over the page or column margin due to the specified width.
25744 can either be given as optional argument for
25753 \begin_layout Standard
25762 \begin_layout Standard
25765 or in the definition of
25775 with another value.
25776 If you do the latter, your factor will be the default if
25782 is used without an argument.
25786 \begin_inset space ~
25790 \begin_inset CommandInset ref
25792 reference "tab:cap-beside-tab-wider"
25798 the factor 5 was used.
25801 \begin_layout Standard
25804 \begin_inset Note Greyedout
25807 \begin_layout Plain Layout
25813 For floats with captions set beside, you cannot use the float placement
25817 \begin_inset space ~
25822 because it is not supported by
25834 \begin_layout Standard
25835 \begin_inset VSpace medskip
25843 \begin_inset CommandInset citation
25852 \begin_layout Standard
25853 \begin_inset Note Greyedout
25856 \begin_layout Plain Layout
25862 \begin_inset CommandInset ref
25864 reference "sub:参照位置"
25873 \begin_inset Index idx
25876 \begin_layout Plain Layout
25877 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
25882 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
25890 \begin_layout Standard
25894 \begin_layout Plain Layout
25906 \begin_layout Standard
25907 \begin_inset Float figure
25912 \begin_layout Plain Layout
25913 \begin_inset Graphics
25914 filename ../clipart/escher-lsd.eps
25916 scaleBeforeRotation
25923 \begin_layout Plain Layout
25924 \begin_inset Caption
25926 \begin_layout Plain Layout
25927 \begin_inset CommandInset label
25929 name "fig:図横キャプション"
25946 \begin_layout Standard
25950 \begin_layout Plain Layout
25962 \begin_layout Standard
25966 \begin_layout Plain Layout
25978 \begin_layout Standard
25979 \begin_inset Float table
25984 \begin_layout Plain Layout
25985 \begin_inset Caption
25987 \begin_layout Plain Layout
25988 \begin_inset CommandInset label
25990 name "tab:表横キャプション"
26002 \begin_layout Plain Layout
26003 \begin_inset Tabular
26004 <lyxtabular version="3" rows="4" columns="5">
26005 <features tabularvalignment="middle">
26006 <column alignment="center" valignment="top" width="0">
26007 <column alignment="center" valignment="top" width="0">
26008 <column alignment="center" valignment="top" width="0">
26009 <column alignment="center" valignment="top" width="0">
26010 <column alignment="center" valignment="top" width="0">
26012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26015 \begin_layout Plain Layout
26021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26024 \begin_layout Plain Layout
26030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26033 \begin_layout Plain Layout
26039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26042 \begin_layout Plain Layout
26048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26051 \begin_layout Plain Layout
26059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26062 \begin_layout Plain Layout
26068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26071 \begin_layout Plain Layout
26077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26080 \begin_layout Plain Layout
26086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26089 \begin_layout Plain Layout
26095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26098 \begin_layout Plain Layout
26106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26109 \begin_layout Plain Layout
26115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26118 \begin_layout Plain Layout
26124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26127 \begin_layout Plain Layout
26133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26136 \begin_layout Plain Layout
26142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26145 \begin_layout Plain Layout
26153 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26156 \begin_layout Plain Layout
26162 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26165 \begin_layout Plain Layout
26171 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26174 \begin_layout Plain Layout
26180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26183 \begin_layout Plain Layout
26189 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26192 \begin_layout Plain Layout
26211 \begin_layout Standard
26215 \begin_layout Plain Layout
26227 \begin_layout Standard
26231 \begin_layout Plain Layout
26235 sidecaptionvpos{figure}{c}
26241 \begin_inset Float figure
26246 \begin_layout Plain Layout
26247 \begin_inset Graphics
26248 filename ../clipart/escher-lsd.eps
26250 scaleBeforeRotation
26257 \begin_layout Plain Layout
26258 \begin_inset Caption
26260 \begin_layout Plain Layout
26261 \begin_inset CommandInset label
26263 name "fig:図横キャプション-2"
26267 これは図の横にある縦方向中央揃えのキャプションです。
26280 \begin_layout Standard
26284 \begin_layout Plain Layout
26296 \begin_layout Standard
26300 \begin_layout Plain Layout
26312 \begin_layout Standard
26313 \begin_inset Float table
26318 \begin_layout Plain Layout
26319 \begin_inset Caption
26321 \begin_layout Plain Layout
26324 \begin_inset CommandInset label
26326 name "tab:cap-beside-tab-wider"
26330 This is a caption is wider than the one in Table
26333 \begin_inset space ~
26337 \begin_inset CommandInset ref
26339 reference "tab:表横キャプション"
26351 \begin_layout Plain Layout
26352 \begin_inset Tabular
26353 <lyxtabular version="3" rows="4" columns="5">
26354 <features tabularvalignment="middle">
26355 <column alignment="center" valignment="top" width="0">
26356 <column alignment="center" valignment="top" width="0">
26357 <column alignment="center" valignment="top" width="0">
26358 <column alignment="center" valignment="top" width="0">
26359 <column alignment="center" valignment="top" width="0">
26361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26364 \begin_layout Plain Layout
26370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26373 \begin_layout Plain Layout
26379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26382 \begin_layout Plain Layout
26388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26391 \begin_layout Plain Layout
26397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26400 \begin_layout Plain Layout
26408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26411 \begin_layout Plain Layout
26417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26420 \begin_layout Plain Layout
26426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26429 \begin_layout Plain Layout
26435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26438 \begin_layout Plain Layout
26444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26447 \begin_layout Plain Layout
26455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26458 \begin_layout Plain Layout
26464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26467 \begin_layout Plain Layout
26473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26476 \begin_layout Plain Layout
26482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26485 \begin_layout Plain Layout
26491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26494 \begin_layout Plain Layout
26502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26505 \begin_layout Plain Layout
26511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26514 \begin_layout Plain Layout
26520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26523 \begin_layout Plain Layout
26529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26532 \begin_layout Plain Layout
26538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26541 \begin_layout Plain Layout
26560 \begin_layout Standard
26564 \begin_layout Plain Layout
26576 \begin_layout Standard
26580 \begin_layout Plain Layout
26590 \begin_inset Note Note
26593 \begin_layout Plain Layout
26598 が導入されていないときのみ表示されます。
26606 \begin_layout Standard
26607 本節の残りの部分を出力で表示するには、LaTeXパッケージ
26614 \begin_layout Standard
26618 \begin_layout Plain Layout
26630 \begin_layout Section
26632 \begin_inset Index idx
26635 \begin_layout Plain Layout
26636 ふろーと@フロート ! ふろーといちらん@フロート一覧
26644 \begin_layout Standard
26645 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
26647 挿入\SpecialChar \menuseparator
26653 \begin_layout Standard
26654 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
26657 \begin_layout Standard
26658 本文書の終わりに、図一覧と表一覧があります。
26661 \begin_layout Chapter
26665 \begin_layout Section
26667 \begin_inset Index idx
26670 \begin_layout Plain Layout
26671 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
26679 \begin_layout Standard
26692 挿入\SpecialChar \menuseparator
26695 メニューで挿入することができます。注釈には、以下の三つの型があります。
26698 \begin_layout Description
26699 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
26700 \begin_inset Newline newline
26704 \begin_inset Newline newline
26708 \begin_inset Graphics
26709 filename ../clipart/LyXNoteImageQt4.png
26712 scaleBeforeRotation
26717 \begin_inset Note Note
26720 \begin_layout Plain Layout
26721 これは、出力には現れない注釈ボックスに書かれた文章です。
26729 \begin_layout Description
26730 コメント この注釈も出力には現れませんが、
26732 ファイル\SpecialChar \menuseparator
26733 書き出し\SpecialChar \menuseparator
26734 LaTeX (pdflatex) / (平文)
26736 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
26737 \begin_inset Newline newline
26741 \begin_inset Newline newline
26745 \begin_inset Graphics
26746 filename ../clipart/CommentNoteImageQt4.png
26749 scaleBeforeRotation
26754 \begin_inset Note Comment
26757 \begin_layout Plain Layout
26758 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
26766 \begin_layout Description
26767 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
26768 \begin_inset Newline newline
26772 \begin_inset Newline newline
26776 \begin_inset Graphics
26777 filename ../clipart/GreyedOutNoteImageQt4.png
26780 scaleBeforeRotation
26785 \begin_inset Newline newline
26792 \begin_layout Plain Layout
26796 renewenvironment{lyxgreyedout}
26799 \begin_layout Plain Layout
26803 textcolor[gray]{0.8}
26813 \begin_inset Note Greyedout
26816 \begin_layout Plain Layout
26817 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
26821 \begin_layout Plain Layout
26822 これは、淡色表示注釈内に脚注を用いた例です。
26836 \begin_layout Plain Layout
26840 renewenvironment{lyxgreyedout}
26843 \begin_layout Plain Layout
26857 \begin_inset Note Note
26860 \begin_layout Plain Layout
26861 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
26868 \begin_inset Newline newline
26872 \begin_inset Newline newline
26875 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
26878 \begin_layout Standard
26879 \begin_inset VSpace bigskip
26896 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
26897 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
26901 \begin_layout Standard
26902 \begin_inset VSpace bigskip
26907 You can change the text color of the greyed out notes in the menu
26909 Document\SpecialChar \menuseparator
26910 Settings\SpecialChar \menuseparator
26916 \begin_layout Section
26918 \begin_inset CommandInset label
26925 \begin_inset Index idx
26928 \begin_layout Plain Layout
26929 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
26935 \begin_inset Index idx
26938 \begin_layout Plain Layout
26947 \begin_layout Standard
26953 arg "footnote-insert"
26960 挿入\SpecialChar \menuseparator
26963 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
26964 \begin_inset Graphics
26965 filename clipart/footnoteQt4.png
26967 scaleBeforeRotation
26971 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
26972 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
26975 \begin_layout Standard
26980 \begin_layout Plain Layout
26981 \begin_inset CommandInset label
26996 \begin_layout Plain Layout
27000 newcounter{MyRepeatFoot}
27003 \begin_layout Plain Layout
27007 setcounter{MyRepeatFoot}{
27017 \begin_layout Standard
27018 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
27019 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
27022 \begin_layout Standard
27023 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
27024 \begin_inset CommandInset ref
27026 reference "sec:フロートの参照"
27030 節に説明されているようにして、本文中でこのラベルを相互参照してください。
27031 \begin_inset Newline newline
27035 \begin_inset CommandInset ref
27037 reference "fn:これは脚注の一例"
27044 \begin_layout Standard
27045 \begin_inset VSpace defskip
27051 \begin_layout Standard
27052 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
27058 コマンドを入れてください。脚注の本文は、表の後でTeXコード
27065 \begin_inset Newline newline
27069 \begin_inset Newline newline
27083 \begin_inset Newline newline
27089 \begin_layout Standard
27090 \begin_inset Tabular
27091 <lyxtabular version="3" rows="2" columns="1">
27092 <features tabularvalignment="middle">
27093 <column alignment="center" valignment="top" width="0">
27095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27098 \begin_layout Plain Layout
27103 \begin_layout Plain Layout
27116 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27119 \begin_layout Plain Layout
27124 \begin_layout Plain Layout
27147 \begin_layout Plain Layout
27160 \begin_layout Plain Layout
27170 \begin_layout Standard
27172 \begin_inset CommandInset ref
27174 reference "sub:長尺表での脚注"
27181 \begin_layout Standard
27182 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
27183 \begin_inset CommandInset ref
27185 reference "sec:ミニページ"
27189 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
27204 \begin_layout Standard
27205 \begin_inset Box Frameless
27215 height_special "totalheight"
27218 \begin_layout Plain Layout
27223 \begin_layout Plain Layout
27232 \begin_layout Plain Layout
27237 \begin_layout Plain Layout
27254 \begin_layout Standard
27258 \begin_layout Plain Layout
27271 \begin_layout Plain Layout
27279 \begin_inset VSpace defskip
27285 \begin_layout Standard
27286 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
27293 \begin_inset Newline newline
27296 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
27297 \begin_inset CommandInset ref
27299 reference "fn:これは脚注の一例"
27306 \begin_layout Standard
27311 newcounter{MyRepeatFoot}
27312 \begin_inset Newline newline
27317 setcounter{MyRepeatFoot}{
27322 \begin_layout Standard
27323 というコマンドを挿入しています。そして脚注マークは、
27326 \begin_layout Standard
27336 \begin_layout Standard
27340 \begin_layout Standard
27345 \begin_layout Plain Layout
27359 \begin_layout Standard
27360 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
27363 \begin_layout Standard
27373 \begin_layout Standard
27377 \begin_layout Standard
27382 \begin_layout Plain Layout
27396 \begin_layout Subsection
27398 \begin_inset CommandInset label
27405 \begin_inset Index idx
27408 \begin_layout Plain Layout
27417 \begin_layout Standard
27418 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
27421 \begin_layout Standard
27426 @addtoreset{footnote}{section}
27429 \begin_layout Standard
27433 \begin_layout Standard
27434 \begin_inset VSpace bigskip
27437 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
27440 \begin_layout Standard
27452 \begin_layout Standard
27456 \begin_layout Plain Layout
27473 \begin_layout Plain Layout
27474 これは、ローマ数字を使った脚注の例です。
27482 \begin_layout Standard
27483 付番様式を大文字ローマ数字に変更するには、上記コマンドの
27495 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
27507 を使用してください。記号を使って付「番」するには、
27516 \begin_layout Standard
27517 \begin_inset Note Greyedout
27520 \begin_layout Plain Layout
27525 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
27531 \begin_inset Newline newline
27535 \begin_inset Note Greyedout
27538 \begin_layout Plain Layout
27543 記号を使うと9個の脚注しか番号を振ることができません。
27551 \begin_layout Standard
27552 付番様式を変更した後、既定様式に戻すには、上記コマンドの
27568 \begin_layout Plain Layout
27584 \begin_layout Standard
27585 \begin_inset VSpace bigskip
27591 \begin_layout Standard
27592 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
27595 \begin_layout Standard
27600 numberwithin{footnote}{chapter}
27603 \begin_layout Standard
27610 コマンドを使用できるようにするためには、文書設定の
27617 \begin_inset space ~
27625 \begin_layout Standard
27629 \begin_layout Plain Layout
27633 numberwithin{footnote}{chapter}
27644 \begin_layout Plain Layout
27649 「章番号.脚注番号」スキームで番号を振られた脚注です。
27660 \begin_layout Plain Layout
27676 \begin_layout Standard
27677 \begin_inset Note Greyedout
27680 \begin_layout Plain Layout
27687 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
27695 \begin_layout Standard
27698 Roman{footnote}」スキームを得るには、
27704 の代わりに以下のコマンドを使用してください。
27707 \begin_layout Standard
27721 \begin_layout Subsection
27723 \begin_inset Index idx
27726 \begin_layout Plain Layout
27735 \begin_layout Standard
27736 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
27738 \begin_inset space \thinspace{}
27744 \begin_layout Standard
27754 \begin_inset Newline newline
27768 \begin_layout Standard
27769 \begin_inset VSpace bigskip
27772 二段組文書では、脚注は各段底部に表示されます(図
27773 \begin_inset CommandInset ref
27775 reference "fig:標準的脚注配置"
27780 \begin_inset CommandInset ref
27782 reference "fig:ftnright脚注配置"
27786 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
27789 \begin_layout Standard
27794 usepackage{ftnright}
27797 \begin_layout Standard
27798 というコマンドを書いて、LaTeXパッケージ
27803 \begin_inset Index idx
27806 \begin_layout Plain Layout
27807 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
27813 \begin_inset Float figure
27819 \begin_layout Plain Layout
27823 \begin_layout Plain Layout
27833 \begin_inset Graphics
27834 filename ../clipart/without_fntright.pdf
27836 scaleBeforeRotation
27844 \begin_layout Plain Layout
27854 \begin_layout Plain Layout
27855 \begin_inset Caption
27857 \begin_layout Plain Layout
27858 \begin_inset CommandInset label
27877 \begin_layout Standard
27878 \begin_inset Float figure
27884 \begin_layout Plain Layout
27888 \begin_layout Plain Layout
27898 \begin_inset Graphics
27899 filename ../clipart/with_fntright.pdf
27901 scaleBeforeRotation
27909 \begin_layout Plain Layout
27919 \begin_layout Plain Layout
27920 \begin_inset Caption
27922 \begin_layout Plain Layout
27923 \begin_inset CommandInset label
27925 name "fig:ftnright脚注配置"
27946 \begin_layout Standard
27947 \begin_inset VSpace bigskip
27951 \begin_inset CommandInset ref
27957 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
27958 \begin_inset Index idx
27961 \begin_layout Plain Layout
27967 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
27969 文書\SpecialChar \menuseparator
27970 設定\SpecialChar \menuseparator
27977 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
27980 \begin_layout Standard
27988 \begin_layout Standard
27992 \begin_layout Standard
27993 \begin_inset Float figure
27998 \begin_layout Plain Layout
28003 \begin_layout Plain Layout
28013 \begin_inset Graphics
28014 filename ../clipart/endnotes.pdf
28015 scaleBeforeRotation
28023 \begin_layout Plain Layout
28033 \begin_layout Plain Layout
28034 \begin_inset Caption
28036 \begin_layout Plain Layout
28037 \begin_inset CommandInset label
28043 後注 – 注を節ないし章末に別段落として印字します。
28056 \begin_layout Standard
28057 \begin_inset VSpace medskip
28060 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
28063 \begin_layout Standard
28070 notesname}{Anmerkungen}
28073 \begin_layout Standard
28074 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
28077 \begin_layout Standard
28078 \begin_inset VSpace medskip
28082 \begin_inset CommandInset ref
28084 reference "sub:脚注の付番"
28088 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
28100 を用いてください。後注番号をリセットするには、第
28101 \begin_inset CommandInset ref
28103 reference "sub:脚注の付番"
28124 \begin_layout Standard
28126 \begin_inset CommandInset ref
28147 \begin_layout Standard
28148 \begin_inset VSpace bigskip
28151 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
28156 \begin_inset Index idx
28159 \begin_layout Plain Layout
28160 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
28166 \begin_inset CommandInset citation
28175 \begin_layout Standard
28176 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
28177 \begin_inset CommandInset citation
28179 key "latexcompanion,latexguide,latexbook"
28192 \begin_inset Index idx
28195 \begin_layout Plain Layout
28196 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
28203 document class, you can adjust all footnote settings using class-specific
28207 \begin_inset CommandInset citation
28216 \begin_layout Section
28218 \begin_inset Index idx
28221 \begin_layout Plain Layout
28222 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
28230 \begin_layout Standard
28231 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
28233 挿入\SpecialChar \menuseparator
28241 arg "marginalnote-insert"
28246 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
28249 \begin_layout Standard
28251 \begin_inset Marginal
28254 \begin_layout Plain Layout
28263 \begin_layout Standard
28264 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
28265 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
28268 \begin_layout Standard
28269 \begin_inset VSpace bigskip
28272 傍注を内側余白に置くには、傍注の前にTeXコードで
28275 \begin_layout Standard
28283 \begin_layout Standard
28284 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
28288 \begin_layout Plain Layout
28298 \begin_inset Marginal
28301 \begin_layout Plain Layout
28310 \begin_inset Newline newline
28316 \begin_inset Note Greyedout
28319 \begin_layout Plain Layout
28320 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
28328 \begin_layout Standard
28332 \begin_layout Standard
28340 \begin_layout Standard
28345 \begin_layout Plain Layout
28355 \begin_inset Note Greyedout
28358 \begin_layout Plain Layout
28365 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
28373 \begin_layout Standard
28374 \begin_inset VSpace bigskip
28378 \begin_inset Marginal
28381 \begin_layout Plain Layout
28382 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
28388 \begin_inset CommandInset ref
28390 reference "sub:複数行"
28394 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
28395 \begin_inset space \thinspace{}
28399 \begin_inset Marginal
28402 \begin_layout Plain Layout
28403 \begin_inset space \hspace*{}
28407 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
28415 \begin_layout Standard
28416 \begin_inset VSpace bigskip
28422 \begin_layout Standard
28423 \begin_inset Note Greyedout
28426 \begin_layout Plain Layout
28431 通常、傍注は表やフロート、脚注の中では使用することができません。
28439 \begin_layout Standard
28440 \begin_inset VSpace bigskip
28446 \begin_layout Standard
28450 \begin_layout Plain Layout
28460 \begin_inset Note Note
28463 \begin_layout Plain Layout
28468 が導入されているときのみ表示されます。
28476 \begin_layout Standard
28482 \begin_inset Index idx
28485 \begin_layout Plain Layout
28486 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
28491 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
28495 パッケージが提供するコマンドを使うようになります。
28498 \begin_layout Standard
28503 usepackage{marginnote}
28504 \begin_inset Newline newline
28516 \begin_layout Standard
28521 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
28525 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
28526 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
28529 \begin_layout Standard
28535 \begin_layout Standard
28536 という形で書くことで設定することができます。ここで「オフセット」には、表
28537 \begin_inset CommandInset ref
28543 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
28548 \begin_inset space \thinspace{}
28552 \begin_inset Marginal
28555 \begin_layout Plain Layout
28557 \begin_inset space \thinspace{}
28569 \begin_layout Plain Layout
28579 \begin_layout Standard
28580 \begin_inset VSpace medskip
28587 を使うと、傍注の揃えを変更することもできます。たとえば、
28590 \begin_layout Standard
28597 raggedleftmarginnote}{
28600 \begin_inset Newline newline
28607 raggedrightmarginnote}{
28612 \begin_layout Standard
28613 というコマンドを使うと、中央揃えになります。
28617 raggedleftmarginnote
28619 とは、左側に表示されている傍注のことを指します
28623 \begin_layout Plain Layout
28629 raggedleftmarginnote}{
28634 \begin_layout Plain Layout
28640 raggedrightmarginnote}{
28648 \begin_inset Marginal
28651 \begin_layout Plain Layout
28652 この傍注の文章は中央揃えになっています。
28660 \begin_layout Standard
28667 raggedleftmarginnote}{
28670 \begin_inset Newline newline
28677 raggedrightmarginnote}{
28685 \begin_layout Plain Layout
28691 raggedleftmarginnote}{
28696 \begin_layout Plain Layout
28702 raggedrightmarginnote}{
28712 \begin_layout Standard
28716 \begin_layout Standard
28717 \begin_inset VSpace medskip
28725 \begin_inset CommandInset citation
28734 \begin_layout Standard
28735 \begin_inset VSpace bigskip
28738 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
28746 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
28749 \begin_layout Standard
28759 \begin_inset Newline newline
28769 \begin_inset Newline newline
28773 \begin_inset Phantom HPhantom
28776 \begin_layout Plain Layout
28779 \begin_inset space ~
28796 \begin_inset Newline newline
28800 \begin_inset Phantom HPhantom
28803 \begin_layout Plain Layout
28806 \begin_inset space ~
28823 \begin_layout Standard
28827 \begin_layout Plain Layout
28838 \begin_layout Plain Layout
28849 \begin_layout Plain Layout
28860 \begin_layout Plain Layout
28874 \begin_inset Marginal
28877 \begin_layout Plain Layout
28878 これは、定義したヘッダをつけた傍注です。
28887 \begin_layout Plain Layout
28898 \begin_layout Plain Layout
28912 \begin_inset Note Note
28915 \begin_layout Plain Layout
28916 傍注書式は、この例の分だけ変更してあります。
28924 \begin_layout Standard
28928 \begin_layout Plain Layout
28938 \begin_inset Note Note
28941 \begin_layout Plain Layout
28946 が導入されていないときのみ表示されます。
28954 \begin_layout Standard
28955 本節の以下の部分を出力に表示するには、LaTeXパッケージ
28962 \begin_layout Standard
28966 \begin_layout Plain Layout
28978 \begin_layout Chapter
28982 \begin_layout Section
28984 \begin_inset Index idx
28987 \begin_layout Plain Layout
28996 \begin_layout Standard
28997 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
28998 \begin_inset CommandInset ref
29000 reference "sec:ミニページ"
29005 \begin_inset CommandInset ref
29011 節参照)、単語がハイフネートされるのを予防したり(第
29012 \begin_inset CommandInset ref
29014 reference "sec:ハイフネーションの回避"
29019 \begin_inset CommandInset ref
29021 reference "sub:垂直揃え"
29025 節参照)、あるいは文章の背景色を設定したり(第
29026 \begin_inset CommandInset ref
29028 reference "sec:色付きボックス"
29035 \begin_layout Standard
29038 挿入\SpecialChar \menuseparator
29046 arg "box-insert Frameless"
29051 を使って挿入することができます。すると、
29052 \begin_inset Graphics
29053 filename ../clipart/BoxInsetDefaultQt4.png
29055 scaleBeforeRotation
29063 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
29067 メニューを選択すると現れるボックスダイアログでは、
29083 型は、新規ボックスの既定値となっており、第
29084 \begin_inset CommandInset ref
29086 reference "sec:ミニページ"
29095 \begin_inset CommandInset ref
29097 reference "sec:Parboxes"
29106 \begin_inset CommandInset ref
29108 reference "sec:ハイフネーションの回避"
29115 \begin_layout Standard
29116 ボックスは付番されないので、フロートや脚注のように参照することはできません。
29119 \begin_layout Standard
29120 \begin_inset Note Greyedout
29123 \begin_layout Plain Layout
29132 環境の単独要素とすべきではありません。
29140 \begin_layout Standard
29141 \begin_inset Note Greyedout
29144 \begin_layout Plain Layout
29145 【註】理由は不明ですが、枠付きボックスを使用している場合には、
29158 \begin_inset CommandInset ref
29160 reference "sec:ハイフネーションの回避"
29172 \begin_layout Section
29174 \begin_inset CommandInset label
29176 name "sec:ボックスダイアログ"
29181 \begin_inset Index idx
29184 \begin_layout Plain Layout
29185 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
29193 \begin_layout Subsection
29195 \begin_inset Index idx
29198 \begin_layout Plain Layout
29199 ぼっくす@ボックス ! すんぽう@寸法
29207 \begin_layout Standard
29216 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
29217 \begin_inset CommandInset ref
29227 フィールドには、加えて以下の寸法を使用することができます。
29230 \begin_layout Description
29231 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
29232 \begin_inset Newline newline
29236 \begin_inset Newline newline
29240 \begin_inset Newline newline
29244 \begin_inset Box Boxed
29254 height_special "depth"
29257 \begin_layout Plain Layout
29265 \begin_inset Newline newline
29269 \begin_inset Newline newline
29275 \begin_layout Description
29276 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
29277 \begin_inset Box Boxed
29287 height_special "height"
29290 \begin_layout Plain Layout
29300 \begin_layout Description
29302 \begin_inset Box Boxed
29312 height_special "totalheight"
29315 \begin_layout Plain Layout
29325 \begin_layout Description
29326 幅 これはボックスの幅を高さに設定します。
29327 \begin_inset Box Boxed
29337 height_special "width"
29340 \begin_layout Plain Layout
29350 \begin_layout Subsection
29352 \begin_inset Index idx
29355 \begin_layout Plain Layout
29356 ぼっくす@ボックス ! もじそろえ@文字揃え
29364 \begin_layout Standard
29369 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
29372 \begin_layout Description
29374 \begin_inset Box Boxed
29384 height_special "totalheight"
29387 \begin_layout Plain Layout
29397 \begin_layout Description
29399 \begin_inset Box Boxed
29409 height_special "totalheight"
29412 \begin_layout Plain Layout
29422 \begin_layout Description
29424 \begin_inset Box Boxed
29434 height_special "totalheight"
29437 \begin_layout Plain Layout
29447 \begin_layout Standard
29448 \begin_inset Note Greyedout
29451 \begin_layout Plain Layout
29456 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
29464 \begin_layout Standard
29465 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
29468 \begin_layout Standard
29469 \begin_inset VSpace bigskip
29476 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
29479 \begin_layout Description
29481 \begin_inset Box Boxed
29491 height_special "totalheight"
29494 \begin_layout Plain Layout
29504 \begin_layout Description
29506 \begin_inset Box Boxed
29516 height_special "totalheight"
29519 \begin_layout Plain Layout
29529 \begin_layout Description
29531 \begin_inset Box Boxed
29541 height_special "totalheight"
29544 \begin_layout Plain Layout
29554 \begin_layout Description
29555 広げる これは例示のための本文行です。
29556 \begin_inset Box Boxed
29566 height_special "totalheight"
29569 \begin_layout Plain Layout
29574 \begin_layout Plain Layout
29579 \begin_layout Plain Layout
29589 \begin_layout Standard
29590 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
29593 \begin_layout Standard
29594 \begin_inset VSpace bigskip
29601 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
29604 \begin_layout Standard
29606 \begin_inset Box Boxed
29616 height_special "totalheight"
29619 \begin_layout Plain Layout
29624 \begin_layout Plain Layout
29629 \begin_layout Plain Layout
29639 \begin_layout Standard
29644 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
29647 \begin_layout Standard
29649 \begin_inset Box Boxed
29659 height_special "totalheight"
29662 \begin_layout Plain Layout
29663 このボックスの文章は水平方向に広げてあります。
29671 \begin_layout Subsection
29673 \begin_inset CommandInset label
29680 \begin_inset Index idx
29683 \begin_layout Plain Layout
29684 ぼっくす@ボックス ! そうしょく@装飾
29692 \begin_layout Standard
29697 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
29700 \begin_layout Description
29704 \begin_layout Description
29705 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
29712 \begin_inset Box Boxed
29722 height_special "totalheight"
29725 \begin_layout Plain Layout
29735 \begin_layout Description
29736 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
29737 \begin_inset space \thinspace{}
29741 \begin_inset Box ovalbox
29751 height_special "totalheight"
29754 \begin_layout Plain Layout
29764 \begin_layout Description
29765 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
29766 \begin_inset space \thinspace{}
29770 \begin_inset Box Ovalbox
29780 height_special "totalheight"
29783 \begin_layout Plain Layout
29793 \begin_layout Description
29794 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
29801 \begin_inset space \thinspace{}
29805 \begin_inset Box Shadowbox
29815 height_special "totalheight"
29818 \begin_layout Plain Layout
29828 \begin_layout Description
29829 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
29833 \begin_layout Plain Layout
29835 \begin_inset CommandInset ref
29837 reference "sec:色付きボックス"
29846 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
29847 \begin_inset Box Shaded
29857 height_special "totalheight"
29860 \begin_layout Plain Layout
29869 \begin_layout Description
29870 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
29871 \begin_inset space \thinspace{}
29881 \begin_inset space \thinspace{}
29891 \begin_inset space \thinspace{}
29901 \begin_inset space \thinspace{}
29905 \begin_inset space \thinspace{}
29909 \begin_inset space \thinspace{}
29913 \begin_inset Box Doublebox
29923 height_special "totalheight"
29926 \begin_layout Plain Layout
29936 \begin_layout Standard
29937 \begin_inset VSpace bigskip
29940 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
29945 \begin_inset Index idx
29948 \begin_layout Plain Layout
29949 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
29957 \begin_layout Standard
29958 \begin_inset VSpace bigskip
29965 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
29985 \begin_inset Box Framed
29995 height_special "totalheight"
29998 \begin_layout Plain Layout
30007 \begin_layout Section
30009 \begin_inset Index idx
30012 \begin_layout Plain Layout
30013 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
30021 \begin_layout Standard
30029 \begin_inset space \thinspace{}
30032 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
30033 \begin_inset space \thinspace{}
30039 \begin_layout Standard
30049 \begin_layout Standard
30053 \begin_layout Plain Layout
30065 \begin_inset Box Boxed
30075 height_special "totalheight"
30078 \begin_layout Plain Layout
30087 \begin_inset space \thinspace{}
30091 \begin_inset space \thinspace{}
30095 \begin_inset space \thinspace{}
30107 \begin_layout Plain Layout
30121 \begin_layout Standard
30122 \begin_inset VSpace bigskip
30125 枠とボックスの内容との空白は、すべての枠様式について3
30126 \begin_inset space \thinspace{}
30129 ptが既定値になっています。これは、長さ
30135 を別の値に設定することによって変更することができます。たとえば
30138 \begin_layout Standard
30148 \begin_layout Standard
30150 \begin_inset space \thinspace{}
30153 ptにし、以下のボックスのようになります。
30156 \begin_layout Standard
30160 \begin_layout Plain Layout
30172 \begin_inset Box Boxed
30182 height_special "totalheight"
30185 \begin_layout Plain Layout
30194 \begin_inset space \thinspace{}
30198 \begin_inset space \thinspace{}
30202 \begin_inset space \thinspace{}
30214 \begin_layout Plain Layout
30228 \begin_layout Standard
30229 \begin_inset VSpace bigskip
30232 楕円形ボックスの丸い角の直径は、コマンド
30241 \begin_layout Standard
30249 \begin_layout Standard
30251 \begin_inset space \thinspace{}
30257 \begin_layout Standard
30265 \begin_layout Standard
30269 \begin_inset space \thinspace{}
30273 \begin_inset space \thinspace{}
30287 \begin_layout Standard
30291 \begin_layout Plain Layout
30301 \begin_inset Box Ovalbox
30311 height_special "totalheight"
30314 \begin_layout Plain Layout
30323 \begin_inset space \thinspace{}
30327 \begin_inset space \thinspace{}
30331 \begin_inset space \thinspace{}
30343 \begin_layout Plain Layout
30355 \begin_layout Standard
30356 \begin_inset VSpace bigskip
30365 を変更することで調整できます。以下のボックスでは
30368 \begin_layout Standard
30378 \begin_layout Standard
30380 \begin_inset space \thinspace{}
30386 \begin_layout Standard
30390 \begin_layout Plain Layout
30402 \begin_inset Box Shadowbox
30412 height_special "totalheight"
30415 \begin_layout Plain Layout
30424 \begin_inset space \thinspace{}
30428 \begin_inset space \thinspace{}
30432 \begin_inset space \thinspace{}
30444 \begin_layout Plain Layout
30458 \begin_layout Standard
30459 \begin_inset VSpace bigskip
30465 \begin_layout Standard
30473 \begin_inset space \thinspace{}
30476 ptです。ボックスの中身と枠の間の空白の既定値は9
30477 \begin_inset space \thinspace{}
30486 の値を変えることで変更することができます。たとえば、下記の
30493 \begin_layout Standard
30501 \begin_inset Newline newline
30511 \begin_layout Standard
30512 というTeXコードコマンドで設定してあります。
30516 \begin_layout Plain Layout
30525 \begin_layout Plain Layout
30537 \begin_inset Box Framed
30547 height_special "totalheight"
30550 \begin_layout Plain Layout
30564 \begin_layout Plain Layout
30573 \begin_layout Plain Layout
30587 \begin_layout Standard
30588 \begin_inset VSpace bigskip
30594 \begin_layout Standard
30599 ボックスでは、ボックスの内容と枠の余白の既定値は3
30600 \begin_inset space \thinspace{}
30609 の値を変更することで変えられます。既定の背景色である赤色は、
30613 definecolor{shadebox}
30615 コマンドで局所的に変更することもできますし、
30617 ツール\SpecialChar \menuseparator
30618 設定\SpecialChar \menuseparator
30619 色\SpecialChar \menuseparator
30622 メニューからグローバルに変更することもできます。
30629 \begin_inset CommandInset ref
30631 reference "sec:色付きの表"
30639 \begin_layout Plain Layout
30650 をプリアンブルに読み込む必要があります。第
30651 \begin_inset CommandInset ref
30653 reference "sec:色付きボックス"
30665 \begin_layout Standard
30666 たとえば、下記の影付き背景ボックスの外見は
30669 \begin_layout Standard
30679 \begin_inset Newline newline
30686 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
30689 \begin_layout Standard
30690 というTeXコードコマンドを使って設定してあります。
30693 \begin_layout Standard
30697 \begin_layout Plain Layout
30706 \begin_layout Plain Layout
30710 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
30716 \begin_inset Box Shaded
30726 height_special "totalheight"
30729 \begin_layout Plain Layout
30745 \begin_layout Plain Layout
30754 \begin_layout Plain Layout
30758 definecolor{shadecolor}{rgb}{1,0,0}
30766 \begin_layout Standard
30767 \begin_inset VSpace bigskip
30770 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
30773 \begin_layout Section
30775 \begin_inset CommandInset label
30782 \begin_inset Index idx
30785 \begin_layout Plain Layout
30786 ぼっくす@ボックス ! みにぺーじ@ミニページ
30794 \begin_layout Standard
30795 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
30798 \begin_layout Standard
30799 ミニページは、複数の言語を含む文書を執筆する際に便利です。
30802 \begin_layout Standard
30803 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
30807 \SpecialChar \menuseparator
30812 \SpecialChar \menuseparator
30817 メニューで挿入した水平フィルで隔てられています。
30818 \begin_inset Newpage newpage
30824 \begin_layout Standard
30825 \begin_inset Box Frameless
30835 height_special "totalheight"
30838 \begin_layout Plain Layout
30839 Dies ist ein deutscher Text.
30840 Dies ist ein deutscher Text.
30841 Dies ist ein deutscher Text.
30842 Dies ist ein deutscher Text.
30843 Dies ist ein deutscher Text.
30844 Dies ist ein deutscher Text.
30845 Dies ist ein deutscher Text.
30846 Dies ist ein deutscher Text.
30847 Dies ist ein deutscher Text.
30848 Dies ist ein deutscher Text.
30849 Dies ist ein deutscher Text.
30850 Dies ist ein deutscher Text.
30851 Dies ist ein deutscher Text
30855 \begin_layout Plain Layout
30856 Dies ist eine deutsche Fußnote.
30862 Dies ist ein deutscher Text.
30863 Dies ist ein deutscher Text.
30869 \begin_inset space \hfill{}
30873 \begin_inset Box Frameless
30883 height_special "totalheight"
30886 \begin_layout Plain Layout
30887 This is an English Text.
30888 This is an English Text.
30889 This is an English Text.
30890 This is an English Text.
30891 This is an English Text.
30892 This is an English Text.
30893 This is an English Text.
30894 This is an English Text.
30895 This is an English Text.
30896 This is an English Text.
30897 This is an English Text.
30898 This is an English Text.
30899 This is an English Text.
30900 This is an English Text.
30901 This is an English Text.
30902 This is an English Text.
30906 \begin_layout Plain Layout
30907 This is an English footnote.
30912 This is an English Text.
30920 \begin_layout Standard
30921 \begin_inset VSpace bigskip
30924 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
30925 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
30928 \begin_layout Standard
30930 \begin_inset Tabular
30931 <lyxtabular version="3" rows="3" columns="4">
30932 <features tabularvalignment="middle">
30933 <column alignment="center" valignment="top" width="0pt">
30934 <column alignment="center" valignment="top" width="0pt">
30935 <column alignment="center" valignment="top" width="0pt">
30936 <column alignment="center" valignment="top" width="0pt">
30938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30941 \begin_layout Plain Layout
30947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30950 \begin_layout Plain Layout
30956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30959 \begin_layout Plain Layout
30964 \begin_layout Plain Layout
30975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30978 \begin_layout Plain Layout
30986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30989 \begin_layout Plain Layout
30995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30998 \begin_layout Plain Layout
31004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31007 \begin_layout Plain Layout
31013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31016 \begin_layout Plain Layout
31024 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31027 \begin_layout Plain Layout
31033 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31036 \begin_layout Plain Layout
31042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31045 \begin_layout Plain Layout
31051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31054 \begin_layout Plain Layout
31068 \begin_layout Standard
31070 \begin_inset Box Frameless
31080 height_special "totalheight"
31083 \begin_layout Plain Layout
31085 \begin_inset Tabular
31086 <lyxtabular version="3" rows="3" columns="4">
31087 <features tabularvalignment="middle">
31088 <column alignment="center" valignment="top" width="0pt">
31089 <column alignment="center" valignment="top" width="0pt">
31090 <column alignment="center" valignment="top" width="0pt">
31091 <column alignment="center" valignment="top" width="0pt">
31093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31096 \begin_layout Plain Layout
31102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31105 \begin_layout Plain Layout
31111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31114 \begin_layout Plain Layout
31119 \begin_layout Plain Layout
31130 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31133 \begin_layout Plain Layout
31141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31144 \begin_layout Plain Layout
31150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31153 \begin_layout Plain Layout
31159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31162 \begin_layout Plain Layout
31168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31171 \begin_layout Plain Layout
31179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31182 \begin_layout Plain Layout
31188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31191 \begin_layout Plain Layout
31197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31200 \begin_layout Plain Layout
31206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31209 \begin_layout Plain Layout
31228 \begin_layout Standard
31229 \begin_inset VSpace bigskip
31232 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
31236 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
31239 \begin_layout Standard
31240 ミニページは、文章部に背景色を与えるのに使用することもできます。第
31241 \begin_inset CommandInset ref
31243 reference "sub:段落の着色"
31250 \begin_layout Standard
31251 \begin_inset Note Greyedout
31254 \begin_layout Plain Layout
31259 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
31267 \begin_layout Section
31269 \begin_inset CommandInset label
31271 name "sec:Parboxes"
31276 \begin_inset Index idx
31279 \begin_layout Plain Layout
31280 ぼっくす@ボックス ! Parboxes
31288 \begin_layout Standard
31289 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
31292 \begin_layout Standard
31294 \begin_inset Box Frameless
31304 height_special "totalheight"
31307 \begin_layout Plain Layout
31308 これはparbox内の文章です。これはparbox内の文章です。
31311 \begin_layout Plain Layout
31316 \begin_layout Plain Layout
31317 これはparbox内の脚注であり、したがって表示はされません。
31330 \begin_layout Section
31332 \begin_inset Index idx
31335 \begin_layout Plain Layout
31336 ぼっくす@ボックス ! もじよう@文字用
31344 \begin_layout Subsection
31346 \begin_inset CommandInset label
31348 name "sec:ハイフネーションの回避"
31353 \begin_inset Index idx
31356 \begin_layout Plain Layout
31357 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
31365 \begin_layout Standard
31366 単語や文章がハイフネートされるのを防ぐには、
31371 \begin_inset Newline newline
31377 \begin_layout Standard
31378 This line is an example to show how you can prevent the hyphenation of
31379 \begin_inset Quotes eld
31383 \begin_inset Quotes erd
31389 \begin_layout Standard
31390 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
31401 \begin_layout Standard
31405 \begin_layout Standard
31406 This line is an example to show how you can prevent the hyphenation of
31407 \begin_inset Box Frameless
31417 height_special "totalheight"
31420 \begin_layout Plain Layout
31421 \begin_inset Quotes eld
31425 \begin_inset Quotes erd
31436 \begin_layout Standard
31437 別の方法としては、以下のように、単語の前に直接TeXコードで「
31446 \begin_layout Standard
31447 This line is an example to show how you can prevent the hyphenation of
31448 \begin_inset Quotes eld
31455 \begin_layout Plain Layout
31465 \begin_inset Quotes erd
31471 \begin_layout Standard
31472 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
31476 \SpecialChar \menuseparator
31481 \SpecialChar \menuseparator
31489 arg "newline-insert newline"
31492 )から改行を単語の前に入れてください。
31495 \begin_layout Standard
31496 This line is an example to show how you can prevent the hyphenation of
31497 \begin_inset Newline newline
31501 \begin_inset Box Frameless
31511 height_special "totalheight"
31514 \begin_layout Plain Layout
31515 \begin_inset Quotes eld
31519 \begin_inset Quotes erd
31530 \begin_layout Subsection
31532 \begin_inset CommandInset label
31539 \begin_inset Index idx
31542 \begin_layout Plain Layout
31543 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
31549 \begin_inset Index idx
31552 \begin_layout Plain Layout
31553 ぼっくす@ボックス ! Raiseboxes
31561 \begin_layout Standard
31568 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
31577 \begin_layout Standard
31582 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
31585 \begin_layout Standard
31586 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
31589 \begin_layout Standard
31590 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
31593 \begin_layout Standard
31603 \begin_layout Standard
31604 というコマンドを挿入してください。単語の後には、閉じ括弧「
31609 \begin_inset Newline newline
31615 \begin_layout Standard
31616 This is a text line with the word
31620 \begin_layout Plain Layout
31632 \begin_inset Quotes eld
31636 \begin_inset Quotes erd
31643 \begin_layout Plain Layout
31653 \begin_layout Standard
31654 \begin_inset VSpace bigskip
31657 行中の文字を上げ下げすると、以下のように行間が広がります。
31660 \begin_layout Standard
31661 This is a text line with the word
31665 \begin_layout Plain Layout
31677 \begin_inset Quotes eld
31681 \begin_inset Quotes erd
31688 \begin_layout Plain Layout
31696 \begin_inset Newline newline
31699 This is a text line with the word
31703 \begin_layout Plain Layout
31713 \begin_inset Quotes eld
31717 \begin_inset Quotes erd
31724 \begin_layout Plain Layout
31734 \begin_layout Standard
31735 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
31738 \begin_layout Standard
31748 \begin_layout Standard
31752 \begin_layout Standard
31753 This is a text line with the word
31757 \begin_layout Plain Layout
31769 \begin_inset Quotes eld
31773 \begin_inset Quotes erd
31780 \begin_layout Plain Layout
31788 \begin_inset Newline newline
31791 This is a text line with the word
31795 \begin_layout Plain Layout
31799 raisebox{0.5cm}[0pt]{
31805 \begin_inset Quotes eld
31809 \begin_inset Quotes erd
31816 \begin_layout Plain Layout
31826 \begin_layout Section
31828 \begin_inset CommandInset label
31835 \begin_inset Index idx
31838 \begin_layout Plain Layout
31839 ぼっくす@ボックス ! いろつき@色付き
31847 \begin_layout Subsection
31849 \begin_inset Index idx
31852 \begin_layout Plain Layout
31861 \begin_layout Standard
31862 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
31867 \begin_inset Index idx
31870 \begin_layout Plain Layout
31871 LaTeXぱっけーじ@LaTeXパッケージ ! color
31876 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
31879 \begin_layout Standard
31884 @ifundefined{textcolor}
31885 \begin_inset Newline newline
31889 \begin_inset Phantom HPhantom
31892 \begin_layout Plain Layout
31895 \begin_inset space ~
31905 usepackage{color}}{}
31908 \begin_layout Standard
31913 パッケージは、文章を着色するとLyXが自動的に読み込みます
31917 \begin_layout Plain Layout
31918 これが二度読み込まれることを回避するには、
31932 \begin_layout Standard
31933 \begin_inset VSpace medskip
31942 コマンドを使って作ります。これは、以下のような書式で使われます。
31945 \begin_layout Standard
31950 colorbox{color}{ボックスの内容}
31953 \begin_layout Standard
31954 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
31957 \begin_layout Standard
31959 \begin_inset Newline newline
31995 \begin_inset Newline newline
31999 \begin_inset CommandInset ref
32001 reference "sec:色付きの表"
32005 節に述べられているようにすれば、自前の色を定義することもできます。
32008 \begin_layout Standard
32009 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
32012 \begin_layout Standard
32020 \begin_layout Standard
32021 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
32026 \begin_inset Newline newline
32032 \begin_layout Standard
32037 \begin_layout Plain Layout
32050 \begin_layout Plain Layout
32060 \begin_layout Standard
32061 \begin_inset VSpace bigskip
32064 ボックスの枠を別の色にしたい場合には、以下の書式で
32073 \begin_layout Standard
32078 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
32081 \begin_layout Standard
32094 の拡張です。枠の太さと枠とボックスの中身との余白は、第
32095 \begin_inset CommandInset ref
32116 \begin_layout Standard
32120 \begin_layout Standard
32125 fcolorbox{cyan}{magenta}{
32128 \begin_layout Standard
32132 \begin_layout Standard
32134 \begin_inset space \thinspace{}
32138 \begin_inset Newline newline
32145 \begin_layout Plain Layout
32160 \begin_layout Plain Layout
32164 fcolorbox{cyan}{magenta}{
32169 これは着色した色付きボックス中の文章です。
32173 \begin_layout Plain Layout
32183 \begin_layout Standard
32184 \begin_inset VSpace bigskip
32187 もちろん、色付きボックスの中に色付き文字を入れることもできます
32188 \begin_inset Newline newline
32195 \begin_layout Plain Layout
32199 fcolorbox{cyan}{magenta}{
32206 これは着色した色付きボックス中の色付き文章です。
32212 \begin_layout Plain Layout
32223 \begin_layout Plain Layout
32237 \begin_layout Standard
32240 \begin_inset VSpace medskip
32246 \begin_layout Standard
32247 \begin_inset Note Greyedout
32250 \begin_layout Plain Layout
32255 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
32263 \begin_layout Subsection
32265 \begin_inset CommandInset label
32272 \begin_inset Index idx
32275 \begin_layout Plain Layout
32284 \begin_layout Standard
32285 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
32294 \begin_layout Standard
32302 \begin_layout Standard
32303 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
32310 \begin_layout Standard
32314 \begin_layout Plain Layout
32318 colorbox{lightgrey}{
32324 \begin_inset Box Frameless
32334 height_special "totalheight"
32337 \begin_layout Plain Layout
32338 これは背景色を付けた文章です。これは背景色を付けた文章です。
32341 \begin_layout Plain Layout
32342 \begin_inset VSpace defskip
32349 \begin_layout Plain Layout
32355 を付けることもできますし、図表を挿入することもできます。
32358 \begin_layout Plain Layout
32360 \begin_inset Tabular
32361 <lyxtabular version="3" rows="3" columns="3">
32362 <features tabularvalignment="middle">
32363 <column alignment="center" valignment="top" width="0">
32364 <column alignment="center" valignment="top" width="0">
32365 <column alignment="center" valignment="top" width="0">
32367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32370 \begin_layout Plain Layout
32376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32379 \begin_layout Plain Layout
32385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32388 \begin_layout Plain Layout
32396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32399 \begin_layout Plain Layout
32405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32408 \begin_layout Plain Layout
32410 \begin_inset Quotes erd
32418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32421 \begin_layout Plain Layout
32429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32432 \begin_layout Plain Layout
32438 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32441 \begin_layout Plain Layout
32447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32450 \begin_layout Plain Layout
32470 \begin_layout Plain Layout
32480 \begin_layout Section
32484 \begin_layout Standard
32485 本節で述べられているコマンドを使用するには、文書プリアンブルで
32488 \begin_layout Standard
32493 @ifundefined{rotatebox}
32494 \begin_inset Newline newline
32498 \begin_inset Phantom HPhantom
32501 \begin_layout Plain Layout
32504 \begin_inset space ~
32514 usepackage{graphicx}}{}
32517 \begin_layout Standard
32523 \begin_inset Index idx
32526 \begin_layout Plain Layout
32527 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
32532 LaTeXパッケージを読み込む必要があります。
32535 \begin_layout Standard
32536 \begin_inset Note Greyedout
32539 \begin_layout Plain Layout
32544 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
32552 \begin_layout Standard
32553 \begin_inset Note Greyedout
32556 \begin_layout Plain Layout
32561 フロートは回転伸縮したボックスの中に入れることはできません。
32569 \begin_layout Subsection
32571 \begin_inset Index idx
32574 \begin_layout Plain Layout
32575 ぼっくす@ボックス ! かいてんした@回転した
32581 \begin_inset Index idx
32584 \begin_layout Plain Layout
32585 かいてん@回転 ! そざいの@素材の---
32591 \begin_inset Index idx
32594 \begin_layout Plain Layout
32601 \begin_inset Index idx
32604 \begin_layout Plain Layout
32605 ひょうのちょうせい@表の調整 ! かいてん@回転
32613 \begin_layout Standard
32614 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
32620 コマンドを使用すれば作成することができます。
32623 \begin_layout Standard
32628 rotatebox[回転の原点]{回転角}{ボックスの内容}
32631 \begin_layout Standard
32636 の形で指定します。位置として指定可能なのは、
32656 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
32660 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
32664 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
32667 \begin_layout Standard
32668 以下の例では、「回転した」文章の前にTeXコードで
32672 rotatebox[origin=c]{60}{
32674 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
32681 \begin_layout Standard
32686 \begin_layout Plain Layout
32690 rotatebox[origin=c]{60}{
32699 \begin_layout Plain Layout
32709 \begin_layout Standard
32710 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
32713 \begin_layout Standard
32718 \begin_layout Plain Layout
32722 rotatebox[origin=r]{-60}{
32728 \begin_inset Box Doublebox
32738 height_special "totalheight"
32741 \begin_layout Plain Layout
32751 \begin_layout Plain Layout
32762 \begin_layout Plain Layout
32766 rotatebox[origin=lb]{60}{
32772 \begin_inset Formula $\int A\,\mathrm{d}x=B$
32779 \begin_layout Plain Layout
32789 \begin_layout Standard
32790 あるいは、以下のように図や表を入れることもできます。
32793 \begin_layout Standard
32798 \begin_layout Plain Layout
32802 rotatebox[origin=lb]{90}{
32808 \begin_inset Graphics
32809 filename ../clipart/platypus.eps
32819 \begin_layout Plain Layout
32830 \begin_layout Plain Layout
32834 rotatebox[origin=l]{-90}{
32840 \begin_inset Tabular
32841 <lyxtabular version="3" rows="2" columns="2">
32842 <features tabularvalignment="middle">
32843 <column alignment="center" valignment="top" width="0">
32844 <column alignment="center" valignment="top" width="0">
32846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32849 \begin_layout Plain Layout
32855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32858 \begin_layout Plain Layout
32866 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32869 \begin_layout Plain Layout
32875 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32878 \begin_layout Plain Layout
32893 \begin_layout Plain Layout
32903 \begin_layout Subsection
32905 \begin_inset Index idx
32908 \begin_layout Plain Layout
32909 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
32915 \begin_inset Index idx
32918 \begin_layout Plain Layout
32919 しんしゅく@伸縮 ! そざいの@素材の---
32925 \begin_inset Index idx
32928 \begin_layout Plain Layout
32929 ず@図 ! のしんしゅく@---の伸縮
32935 \begin_inset Index idx
32938 \begin_layout Plain Layout
32939 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
32947 \begin_layout Standard
32963 \begin_layout Standard
32973 \begin_layout Standard
32978 scalebox{水平方向}[垂直方向]{ボックスの内容}
32981 \begin_layout Standard
32982 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
32985 \begin_layout Standard
32992 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
32996 \begin_layout Plain Layout
33009 \begin_layout Plain Layout
33019 \begin_layout Standard
33024 scalebox{2}[1]{こんにちは}
33030 \begin_layout Plain Layout
33043 \begin_layout Plain Layout
33053 \begin_layout Standard
33054 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
33058 scalebox{-1}[1]{こんにちは}
33060 というコマンドは、右のように反転文字を生成するのに使用できます:
33064 \begin_layout Plain Layout
33077 \begin_layout Plain Layout
33087 \begin_layout Standard
33092 scalebox{1}[-1]{こんにちは}
33098 \begin_layout Plain Layout
33111 \begin_layout Plain Layout
33121 \begin_layout Standard
33126 scalebox{-1}[1]{ボックスの内容}
33129 \begin_inset Newline newline
33136 reflectbox{ボックスの内容}
33139 \begin_inset Newline newline
33145 \begin_layout Standard
33146 \begin_inset VSpace bigskip
33149 指定した幅や丈にボックスを伸縮させるには、
33158 \begin_layout Standard
33163 resizebox{幅}{丈}{ボックスの内容}
33166 \begin_layout Standard
33167 です。上記二つのコマンド引数のうち一つが感嘆符「
33171 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
33174 \begin_layout Standard
33179 resizebox{2cm}{1cm}{こんにちは}
33185 \begin_layout Plain Layout
33189 resizebox{2cm}{1cm}{
33198 \begin_layout Plain Layout
33206 \begin_inset Newline newline
33213 resizebox{2cm}{!}{こんにちは}
33219 \begin_layout Plain Layout
33232 \begin_layout Plain Layout
33242 \begin_layout Standard
33243 \begin_inset VSpace bigskip
33247 \begin_inset Note Greyedout
33250 \begin_layout Plain Layout
33263 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
33271 \begin_layout Standard
33272 \begin_inset VSpace bigskip
33278 \begin_layout Standard
33279 ボックスは好きな順序で組み合わせることができます。たとえば、
33280 \begin_inset Newline newline
33287 rotatebox[origin=c]{-45}{
33291 reflectbox{こんにちは}}}
33292 \begin_inset Newline newline
33300 \begin_layout Standard
33305 \begin_layout Plain Layout
33309 rotatebox[origin=c]{-45}{
33322 \begin_layout Plain Layout
33332 \begin_layout Standard
33334 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
33337 \begin_layout Standard
33342 \begin_layout Plain Layout
33346 rotatebox[origin=c]{-30}{
33356 \begin_inset Graphics
33357 filename ../clipart/platypus.eps
33367 \begin_layout Plain Layout
33378 \begin_layout Plain Layout
33382 rotatebox[origin=c]{-45}{
33392 \begin_inset Tabular
33393 <lyxtabular version="3" rows="2" columns="2">
33394 <features tabularvalignment="middle">
33395 <column alignment="center" valignment="top" width="0">
33396 <column alignment="center" valignment="top" width="0">
33398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33401 \begin_layout Plain Layout
33407 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33410 \begin_layout Plain Layout
33418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33421 \begin_layout Plain Layout
33427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33430 \begin_layout Plain Layout
33445 \begin_layout Plain Layout
33456 \begin_layout Plain Layout
33460 rotatebox[origin=c]{-45}{
33470 \begin_inset Formula $\int A\,\mathrm{d}x=B$
33477 \begin_layout Plain Layout
33487 \begin_layout Standard
33496 \begin_layout Plain Layout
33497 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
33502 には、別行建て数式も伸縮させることができます。
33505 \begin_layout Chapter
33508 Objects Surrounded by Text
33509 \begin_inset Index idx
33512 \begin_layout Plain Layout
33523 \begin_layout Section
33525 \begin_inset CommandInset label
33532 \begin_inset Index idx
33535 \begin_layout Plain Layout
33536 ふろーと@フロート ! おりかえしふろーと@折返しフロート
33544 \begin_inset Index idx
33547 \begin_layout Plain Layout
33550 Surrounded by text ! Wrap Floats
33558 \begin_layout Standard
33559 \begin_inset Wrap figure
33566 \begin_layout Plain Layout
33567 \begin_inset Graphics
33568 filename ../clipart/mobius.eps
33570 scaleBeforeRotation
33571 rotateOrigin center
33578 \begin_layout Plain Layout
33579 \begin_inset Caption
33581 \begin_layout Plain Layout
33582 \begin_inset CommandInset label
33584 name "fig:折返し図フロート"
33598 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
33603 \begin_inset Index idx
33606 \begin_layout Plain Layout
33607 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
33614 挿入\SpecialChar \menuseparator
33615 フロート\SpecialChar \menuseparator
33626 \begin_layout Plain Layout
33627 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
33632 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
33648 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
33649 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
33650 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
33651 \begin_inset CommandInset ref
33653 reference "fig:折返し図フロート"
33658 \begin_inset space \thinspace{}
33662 \begin_inset space \thinspace{}
33665 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
33669 \begin_layout Plain Layout
33671 \begin_inset CommandInset ref
33673 reference "cha:LyXで使用できる単位"
33685 \begin_layout Standard
33686 \begin_inset Note Greyedout
33689 \begin_layout Plain Layout
33694 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
33703 \begin_layout Standard
33707 \begin_layout Itemize
33708 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
33709 うになってから、正確な位置に挿入しなくてはなりません。
33712 \begin_layout Itemize
33713 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
33716 \begin_layout Itemize
33717 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
33720 \begin_layout Itemize
33721 折返しフロートは、節見出しや表中に入れることは認められていません。
33724 \begin_layout Itemize
33727 Their numbering and referencing works as described in chap.
33730 \begin_inset space \thinspace{}
33734 \begin_inset CommandInset ref
33736 reference "chap:フロート"
33743 \begin_layout Section
33746 Surrounded Fixed Objects
33747 \begin_inset Index idx
33750 \begin_layout Plain Layout
33753 Surrounded by text ! Fixed objects
33761 \begin_layout Standard
33764 The wrap floats described in sec.
33767 \begin_inset space \thinspace{}
33771 \begin_inset CommandInset ref
33773 reference "sec:折返しフロート"
33779 have these positions in the paragraph:
33782 \begin_layout Standard
33787 \begin_inset Tabular
33788 <lyxtabular version="3" rows="2" columns="2">
33789 <features tabularvalignment="middle">
33790 <column alignment="center" valignment="top" width="0">
33791 <column alignment="center" valignment="top" width="0">
33793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33796 \begin_layout Plain Layout
33799 \begin_inset Graphics
33800 filename ../../images/dialog-show-new-inset_graphics.png
33802 scaleBeforeRotation
33811 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33814 \begin_layout Plain Layout
33824 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
33827 \begin_layout Plain Layout
33835 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
33838 \begin_layout Plain Layout
33852 \begin_inset Tabular
33853 <lyxtabular version="3" rows="2" columns="2">
33854 <features tabularvalignment="middle">
33855 <column alignment="center" valignment="top" width="0">
33856 <column alignment="center" valignment="top" width="0">
33858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33861 \begin_layout Plain Layout
33869 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33872 \begin_layout Plain Layout
33875 \begin_inset Graphics
33876 filename ../../images/dialog-show-new-inset_graphics.png
33878 scaleBeforeRotation
33889 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
33892 \begin_layout Plain Layout
33900 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
33903 \begin_layout Plain Layout
33919 \begin_layout Standard
33922 To get an object exactly at the position where it is inserted, for example
33923 to get one of these positions:
33924 \begin_inset VSpace defskip
33930 \begin_layout Standard
33935 \begin_inset Tabular
33936 <lyxtabular version="3" rows="2" columns="2">
33937 <features tabularvalignment="middle">
33938 <column alignment="center" valignment="top" width="0">
33939 <column alignment="center" valignment="top" width="0">
33941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33944 \begin_layout Plain Layout
33952 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33955 \begin_layout Plain Layout
33965 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
33968 \begin_layout Plain Layout
33971 \begin_inset Graphics
33972 filename ../../images/dialog-show-new-inset_graphics.png
33974 scaleBeforeRotation
33983 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
33986 \begin_layout Plain Layout
34000 \begin_inset Tabular
34001 <lyxtabular version="3" rows="2" columns="2">
34002 <features tabularvalignment="middle">
34003 <column alignment="center" valignment="top" width="0">
34004 <column alignment="center" valignment="top" width="0">
34006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34009 \begin_layout Plain Layout
34017 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34020 \begin_layout Plain Layout
34030 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34033 \begin_layout Plain Layout
34041 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34044 \begin_layout Plain Layout
34047 \begin_inset Graphics
34048 filename ../../images/dialog-show-new-inset_graphics.png
34050 scaleBeforeRotation
34065 \begin_inset Tabular
34066 <lyxtabular version="3" rows="2" columns="3">
34067 <features tabularvalignment="middle">
34068 <column alignment="center" valignment="top" width="0">
34069 <column alignment="center" valignment="top" width="0">
34070 <column alignment="center" valignment="top" width="0">
34072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34075 \begin_layout Plain Layout
34083 <cell alignment="center" valignment="top" topline="true" usebox="none">
34086 \begin_layout Plain Layout
34089 \begin_inset Graphics
34090 filename ../../images/dialog-show-new-inset_graphics.png
34092 scaleBeforeRotation
34101 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34104 \begin_layout Plain Layout
34114 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34117 \begin_layout Plain Layout
34125 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34128 \begin_layout Plain Layout
34136 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34139 \begin_layout Plain Layout
34153 \begin_inset Tabular
34154 <lyxtabular version="3" rows="2" columns="3">
34155 <features tabularvalignment="middle">
34156 <column alignment="center" valignment="top" width="0">
34157 <column alignment="center" valignment="top" width="0">
34158 <column alignment="center" valignment="top" width="0">
34160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34163 \begin_layout Plain Layout
34171 <cell alignment="center" valignment="top" topline="true" usebox="none">
34174 \begin_layout Plain Layout
34182 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34185 \begin_layout Plain Layout
34195 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34198 \begin_layout Plain Layout
34206 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34209 \begin_layout Plain Layout
34212 \begin_inset Graphics
34213 filename ../../images/dialog-show-new-inset_graphics.png
34215 scaleBeforeRotation
34224 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34227 \begin_layout Plain Layout
34243 \begin_layout Standard
34248 \begin_inset Tabular
34249 <lyxtabular version="3" rows="3" columns="2">
34250 <features tabularvalignment="middle">
34251 <column alignment="center" valignment="top" width="0">
34252 <column alignment="center" valignment="top" width="0">
34254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34257 \begin_layout Plain Layout
34265 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34268 \begin_layout Plain Layout
34278 <cell alignment="center" valignment="top" leftline="true" usebox="none">
34281 \begin_layout Plain Layout
34284 \begin_inset Graphics
34285 filename ../../images/dialog-show-new-inset_graphics.png
34287 scaleBeforeRotation
34296 <cell alignment="center" valignment="top" rightline="true" usebox="none">
34299 \begin_layout Plain Layout
34309 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34312 \begin_layout Plain Layout
34320 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34323 \begin_layout Plain Layout
34337 \begin_inset Tabular
34338 <lyxtabular version="3" rows="3" columns="3">
34339 <features tabularvalignment="middle">
34340 <column alignment="center" valignment="top" width="0">
34341 <column alignment="center" valignment="top" width="0">
34342 <column alignment="center" valignment="top" width="0">
34344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34347 \begin_layout Plain Layout
34355 <cell alignment="center" valignment="top" topline="true" usebox="none">
34358 \begin_layout Plain Layout
34366 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34369 \begin_layout Plain Layout
34379 <cell alignment="center" valignment="top" leftline="true" usebox="none">
34382 \begin_layout Plain Layout
34390 <cell alignment="center" valignment="top" usebox="none">
34393 \begin_layout Plain Layout
34396 \begin_inset Graphics
34397 filename ../../images/dialog-show-new-inset_graphics.png
34399 scaleBeforeRotation
34408 <cell alignment="center" valignment="top" rightline="true" usebox="none">
34411 \begin_layout Plain Layout
34421 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34424 \begin_layout Plain Layout
34432 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34435 \begin_layout Plain Layout
34443 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34446 \begin_layout Plain Layout
34460 \begin_inset Tabular
34461 <lyxtabular version="3" rows="3" columns="2">
34462 <features tabularvalignment="middle">
34463 <column alignment="center" valignment="top" width="0">
34464 <column alignment="center" valignment="top" width="0">
34466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34469 \begin_layout Plain Layout
34477 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34480 \begin_layout Plain Layout
34490 <cell alignment="center" valignment="top" leftline="true" usebox="none">
34493 \begin_layout Plain Layout
34501 <cell alignment="center" valignment="top" rightline="true" usebox="none">
34504 \begin_layout Plain Layout
34507 \begin_inset Graphics
34508 filename ../../images/dialog-show-new-inset_graphics.png
34510 scaleBeforeRotation
34521 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34524 \begin_layout Plain Layout
34532 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34535 \begin_layout Plain Layout
34551 \begin_layout Standard
34555 you can use the LaTeX-package
34562 \begin_inset Index idx
34565 \begin_layout Plain Layout
34566 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
34579 \begin_layout Standard
34583 \begin_layout Plain Layout
34593 \begin_inset Note Note
34596 \begin_layout Plain Layout
34601 が導入されているときのみ表示されます。
34609 \begin_layout Standard
34613 \begin_layout Plain Layout
34617 begin{window}[2,c,{
34623 \begin_inset Graphics
34624 filename ../clipart/mobius.eps
34627 scaleBeforeRotation
34628 rotateOrigin center
34636 \begin_layout Plain Layout
34641 \begin_layout Plain Layout
34651 It was in the spring of the year 1894 that all London was interested, and
34652 the fashionable world dismayed, by the murder of the Honourable Ronald
34653 Adair under most unusual and inexplicable circumstances.
34654 The public has already learned those particulars of the crime which
34660 \begin_layout Plain Layout
34671 came out in the police investigation, but a good deal was suppressed upon
34672 that occasion, since the case for the prosecution was so overwhelmingly
34673 strong that it was not necessary to bring forward all the facts.
34674 Only now, at the end of nearly ten years, am I allowed to supply those
34675 missing links which make up the whole of that remarkable chain
34683 \begin_layout Plain Layout
34695 \begin_layout Standard
34701 \begin_layout Plain Layout
34710 Footnote of the paragraph with the fixed object.
34714 \begin_layout Plain Layout
34724 \begin_layout Standard
34727 Surrounded fixed objects are used to let text float around them, at which
34728 the object's position in the paragraph can be determined by the number
34730 In contrary to floats is it not possible to have a numbered caption.
34733 \begin_layout Standard
34736 A fixed object is inserted by adding the command
34739 \begin_layout Standard
34744 begin{window}[2,c,{
34747 \begin_layout Standard
34750 as TeX Code at the beginning of the paragraph.
34751 The first parameter in the bracket, here '2', defines the number of lines
34752 above the object, the second, here 'c', the position of the object.
34753 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
34754 Behind the command you insert the object.
34755 In this example an image with a width of 40
34756 \begin_inset space \thinspace{}
34759 % of the text column width was inserted.
34760 The object can also be a table, a box or an equation.
34761 Behind the object the command
34764 \begin_layout Standard
34767 },description text]
34768 \begin_inset Newline newline
34774 \begin_layout Standard
34779 \begin_inset Quotes eld
34787 \begin_inset Quotes erd
34790 is in the second line.
34791 The description text is optional.
34792 The text surrounding the object must be in the same paragraph as the object,
34793 so it must begin directly after the
34798 At the end of the paragraph insert the command:
34801 \begin_layout Standard
34809 \begin_layout Standard
34812 Within a paragraph with a fixed object, you cannot insert footnotes in the
34814 You have to use instead the command
34820 inside the paragraph and outside the command
34826 as described in sec.
34829 \begin_inset space \thinspace{}
34833 \begin_inset CommandInset ref
34842 \begin_layout Standard
34846 \begin_layout Plain Layout
34856 \begin_inset Note Note
34859 \begin_layout Plain Layout
34864 が導入されていないときのみ表示されます。
34872 \begin_layout Standard
34873 本節の以下の部分を出力に表示するには、LaTeXパッケージ
34880 \begin_layout Standard
34884 \begin_layout Plain Layout
34896 \begin_layout Section
34900 \begin_inset Index idx
34903 \begin_layout Plain Layout
34912 \begin_inset Index idx
34915 \begin_layout Plain Layout
34918 Surrounded by text ! Initials
34926 \begin_layout Standard
34929 To use initials, you must have the LaTeX package
34936 \begin_inset Index idx
34939 \begin_layout Plain Layout
34940 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
34947 installed and use the module
34951 in your document (menu
34953 Document\SpecialChar \menuseparator
34954 Settings\SpecialChar \menuseparator
34958 To insert an initial, use the style
34963 This style has a mandatory and an optional argument.
34964 The mandatory argument is inserted via the menu
34966 Insert\SpecialChar \menuseparator
34968 \begin_inset space ~
34973 and contains the letter that is the initial.
34974 To use the also the optional argument, insert another argument in front
34975 of the mandatory argument.
34976 This one contains parameters to modify the initial.
34977 For more information about the possible parameters see the documentation
34985 \begin_inset CommandInset citation
34994 The style itself contains the text that is surrounding the initial.
34995 The usual style is hereby that the word whose first letter is the initial,
35001 To tell LaTeX where this word is finished, add a closing brace '
35005 ' as TeX Code behind it.
35006 At the end of the style there must be an opening brace '
35013 \begin_layout Standard
35016 Here are some examples:
35019 \begin_layout Standard
35023 \begin_layout Plain Layout
35033 \begin_inset Note Note
35036 \begin_layout Plain Layout
35041 が導入されているときのみ表示されます。
35049 \begin_layout Enumerate
35052 No optional argument, the initial is the letter 'I' in the math font
35053 \begin_inset Formula $\mathfrak{Fraktur}$
35060 \begin_layout Initial
35061 \begin_inset Argument
35064 \begin_layout Plain Layout
35065 \begin_inset Formula $\mathfrak{I}$
35077 \begin_layout Plain Layout
35086 was in the spring of the year 1894 that all London was interested, and the
35087 fashionable world dismayed, by the murder of the Honourable Ronald Adair
35088 under most unusual and inexplicable circumstances.
35089 The public has already learned those particulars of the crime which came
35090 out in the police investigation, but a good deal was suppressed upon that
35091 occasion, since the case for the prosecution was so overwhelmingly strong
35092 that it was not necessary to bring forward all the facts.
35098 \begin_layout Plain Layout
35108 \begin_inset Newpage newpage
35115 \begin_layout Enumerate
35118 Only one line is surrounding the initial, which is formed by two letters
35119 in standard font and no text is printed in small caps:
35123 \begin_layout Initial
35124 \begin_inset Argument
35127 \begin_layout Plain Layout
35134 \begin_inset Argument
35137 \begin_layout Plain Layout
35147 \begin_layout Plain Layout
35156 was in the spring of the year 1894 that all London was interested, and the
35157 fashionable world dismayed, by the murder of the Honourable Ronald Adair
35158 under most unusual and inexplicable circumstances.
35159 The public has already learned those particulars of the crime which came
35160 out in the police investigation, but a good deal was suppressed upon that
35161 occasion, since the case for the prosecution was so overwhelmingly strong
35162 that it was not necessary to bring forward all the facts.
35168 \begin_layout Plain Layout
35179 \begin_layout Enumerate
35182 Magenta, hanging initial over 3
35183 \begin_inset space ~
35186 lines in the math font
35187 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
35191 \begin_inset Quotes eld
35194 t was in the spring
35195 \begin_inset Quotes erd
35202 ; to color the initial, you must insert this command before the initial:
35203 \begin_inset Newline newline
35217 \begin_inset Newline newline
35225 \begin_inset Quotes eld
35229 \begin_inset Quotes erd
35233 \begin_inset Quotes eld
35237 \begin_inset Quotes erd
35241 \begin_inset Quotes eld
35245 \begin_inset Quotes erd
35249 \begin_inset Quotes eld
35253 \begin_inset Quotes erd
35257 \begin_inset Quotes eld
35261 \begin_inset Quotes erd
35265 \begin_inset Quotes eld
35269 \begin_inset Quotes erd
35273 \begin_inset Quotes eld
35277 \begin_inset Quotes erd
35281 \begin_inset Quotes eld
35285 \begin_inset Quotes erd
35288 , and add this command to the document preamble
35291 \begin_inset Newline newline
35298 @ifundefined{textcolor}
35299 \begin_inset Newline newline
35303 \begin_inset space ~
35308 usepackage{color}}{}
35312 \begin_layout Standard
35316 \begin_layout Plain Layout
35332 \begin_inset Note Note
35335 \begin_layout Plain Layout
35338 makes the initial magenta
35346 \begin_layout Initial
35347 \begin_inset Argument
35350 \begin_layout Plain Layout
35351 lines=3, lhang=0.33, loversize=0.25
35357 \begin_inset Argument
35360 \begin_layout Plain Layout
35361 \begin_inset Formula $\mathcal{I}$
35371 t was in the spring
35377 \begin_layout Plain Layout
35386 of the year 1894 that all London was interested, and the fashionable world
35387 dismayed, by the murder of the Honourable Ronald Adair under most unusual
35388 and inexplicable circumstances.
35389 The public has already learned those particulars of the crime which came
35390 out in the police investigation, but a good deal was suppressed upon that
35391 occasion, since the case for the prosecution was so overwhelmingly strong
35392 that it was not necessary to bring forward all the facts.
35398 \begin_layout Plain Layout
35409 \begin_layout Standard
35413 \begin_layout Plain Layout
35423 \begin_inset Note Note
35426 \begin_layout Plain Layout
35431 が導入されていないときのみ表示されます。
35439 \begin_layout Standard
35440 本節の以下の部分を出力に表示するには、LaTeXパッケージ
35447 \begin_layout Standard
35451 \begin_layout Plain Layout
35463 \begin_layout Chapter
35465 \begin_inset Index idx
35468 \begin_layout Plain Layout
35469 がいぶぶんしょこうせいようそ@外部文書構成要素
35477 \begin_layout Standard
35480 挿入\SpecialChar \menuseparator
35483 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
35486 \begin_layout Description
35487 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
35490 \begin_layout Description
35491 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
35494 \begin_layout Description
35495 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
35498 \begin_layout Description
35502 \begin_layout Description
35503 子文書 LyXあるいはLaTeX文書。
35506 \begin_layout Section
35508 \begin_inset Index idx
35511 \begin_layout Plain Layout
35512 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
35520 \begin_layout Standard
35521 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
35522 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
35524 操作性\SpecialChar \menuseparator
35527 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
35530 \begin_layout Standard
35535 \SpecialChar \menuseparator
35540 \SpecialChar \menuseparator
35549 ダイアログから挿入することができます。目下、以下のファイル形式(
35556 \begin_layout Description
35560 \begin_inset CommandInset href
35563 target "http://en.wikipedia.org/wiki/XBoard"
35569 プログラムで作成されたチェス棋譜をサポートします。
35572 \begin_layout Description
35577 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
35578 \begin_inset External
35585 \begin_inset space ~
35589 \begin_inset Note Note
35592 \begin_layout Plain Layout
35593 バグ4398が修正されたら、この保護空白は削除してください!
35599 \begin_inset Newline newline
35602 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
35606 \SpecialChar \menuseparator
35607 日付メニューを使用する方法で、他はLaTeXコマンドの
35613 をTeXコードで使用する方法です。これらの各方法は、表
35614 \begin_inset CommandInset ref
35616 reference "tab:日付挿入方法"
35623 \begin_layout Description
35627 \begin_inset CommandInset href
35630 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"
35636 プログラムで作成したダイアグラムをサポートします。
35639 \begin_layout Description
35642 GnumericSpreadsheet With this template you can insert spreadsheets
35643 \begin_inset space \thinspace{}
35647 \begin_inset space \thinspace{}
35650 tables in the format of
35653 \begin_inset CommandInset href
35656 target "http://ja.wikipedia.org/wiki/Gnumeric"
35663 \begin_inset CommandInset href
35665 name "OpenDocument"
35666 target "http://ja.wikipedia.org/wiki/OpenDocument"
35671 \begin_inset CommandInset href
35673 name "Microsoft Office XML"
35674 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
35679 \begin_inset CommandInset href
35681 name "Office Open XML"
35682 target "http://ja.wikipedia.org/wiki/Office_Open_XML"
35687 For this feature LyX must have found the program
35691 during its configuration.
35692 This program is part of Gnumeric, so that you must have Gnumeric installed,
35693 also if you don't have tables in the Gnumeric format.
35694 For examples and possible limitations have a look at LyX's example file
35702 \begin_layout Description
35706 \begin_inset CommandInset href
35709 target "http://ja.wikipedia.org/wiki/GNU_LilyPond"
35715 プログラムで作成した楽譜の組版に使用されます。
35717 For LyX's extended support for LilyPond have a look at LyX's example file
35725 \begin_layout Description
35726 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
35740 The argument of this option is a comma separated list, containing page numbers
35745 ), ranges of page numbers (
35749 ) or any combination.
35750 To insert empty pages use {}.
35752 \begin_inset space \thinspace{}
35756 \begin_inset space ~
35761 pages={3,{},8-11,15}
35763 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
35764 Page ranges are specified in the syntax
35773 This selects all pages from
35786 defaults to the first page; omitting
35790 defaults to the last page of the document.
35791 The last page can also be selected with the keyword
35796 (This is only permitted in a page range.) So
35800 will insert all pages of the document and
35804 will insert all pages in reverse order.
35809 オプションを指定しないと、PDFの最初のページのみが挿入されます。
35810 \begin_inset Newline newline
35819 inserts the pages with their original size, if this option is not given,
35820 the pages will be resized to fith the width of the page of your document.
35825 you can specify the width and height of the input pages and their rotation.
35826 If another width than 100
35827 \begin_inset space \thinspace{}
35830 Scale% is used, the option
35834 will be overwritten.
35835 For more info and possible options, have a look into the documentation
35836 of the LaTeX-package
35842 \begin_inset CommandInset citation
35849 \begin_inset Index idx
35852 \begin_layout Plain Layout
35853 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
35859 \begin_inset Newline newline
35864 To use this template in a
35868 presentation you need to first insert an
35872 environment and in a subsequent paragraph a TeX Code box containing the
35877 setbeamertemplate{background canvas}{}
35880 Then you can insert as many paragraphs containing the PDFPages template
35882 Behind the included PDF pages you can resume the Beamer presentation by
35883 beginning a new frame or by starting a new section.
35884 To avoid stray blank pages prior to the PDF pages, make sure to use the
35889 alignment for the paragraph containing the template.
35890 \begin_inset Newline newline
35893 Here is an included PDF which is rotated by -5°:
35896 \begin_inset External
35898 filename ../clipart/Abstract.pdf
35899 extra LaTeX "noautoscale, pages=-"
35901 rotateOrigin bottomleft
35908 \begin_layout Description
35909 ラスターイメージ これはビットマップ画像に使用します。
35914 \begin_inset CommandInset ref
35916 reference "sec:画像ダイアログ"
35924 ダイアログを使って挿入される画像と同じように取り扱うことができます。
35926 The difference to the normal image input is that only raster images are
35927 allowed; that means that PDF and EPS-images are not supported
35932 Here is an inserted raster image:
35935 \begin_inset External
35936 template RasterImage
35937 filename ../clipart/ToolbarEnvBox.png
35944 \begin_layout Description
35948 \begin_inset CommandInset href
35951 target "http://ja.wikipedia.org/wiki/Xfig"
35957 プログラムで作成した画像をサポートします。
35960 \begin_layout Standard
35961 \begin_inset Float table
35967 \begin_layout Plain Layout
35968 \begin_inset Caption
35970 \begin_layout Plain Layout
35971 \begin_inset CommandInset label
35985 \begin_layout Plain Layout
35987 \begin_inset Tabular
35988 <lyxtabular version="3" rows="4" columns="4">
35989 <features tabularvalignment="middle">
35990 <column alignment="center" valignment="top" width="0">
35991 <column alignment="center" valignment="top" width="0">
35992 <column alignment="center" valignment="top" width="0">
35993 <column alignment="center" valignment="top" width="0">
35995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35998 \begin_layout Plain Layout
36004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36007 \begin_layout Plain Layout
36010 外部素材\SpecialChar \menuseparator
36016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36019 \begin_layout Plain Layout
36022 挿入\SpecialChar \menuseparator
36028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36031 \begin_layout Plain Layout
36045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36048 \begin_layout Plain Layout
36054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36057 \begin_layout Plain Layout
36063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36066 \begin_layout Plain Layout
36072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36075 \begin_layout Plain Layout
36083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36086 \begin_layout Plain Layout
36092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36095 \begin_layout Plain Layout
36101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36104 \begin_layout Plain Layout
36110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36113 \begin_layout Plain Layout
36121 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36124 \begin_layout Plain Layout
36130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36133 \begin_layout Plain Layout
36139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36142 \begin_layout Plain Layout
36148 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
36151 \begin_layout Plain Layout
36170 \begin_layout Standard
36183 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
36184 \begin_inset Newline newline
36187 LyX中での外部素材は、ダイアログ内の
36196 \begin_inset Graphics
36197 filename clipart/ExternalMaterialQt4.png
36199 scaleBeforeRotation
36203 のようなボックスとして表示されるか、画像として表示されます。
36206 \begin_layout Standard
36213 には、自製のひな型を定義する方法が説明されています。
36216 \begin_layout Section
36218 \begin_inset CommandInset label
36225 \begin_inset Index idx
36228 \begin_layout Plain Layout
36229 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
36235 \begin_inset Index idx
36238 \begin_layout Plain Layout
36239 ふぁいる@ファイル ! いんくるーど@インクルード
36247 \begin_layout Standard
36248 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
36249 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
36250 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
36253 \begin_layout Standard
36254 親文書を開くことなく子文書で作業できるようにするには、子文書の
36258 \SpecialChar \menuseparator
36263 \SpecialChar \menuseparator
36268 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
36271 \begin_layout Standard
36273 \begin_inset Graphics
36274 filename clipart/ChildDocumentQt4.png
36276 scaleBeforeRotation
36280 のようなボックスとして表示されます。子文書を親文書に取り込むには、
36284 \SpecialChar \menuseparator
36289 \SpecialChar \menuseparator
36294 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
36297 \begin_layout Description
36298 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
36306 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
36307 \begin_inset Newline newline
36313 \begin_layout Standard
36319 \begin_inset CommandInset include
36320 LatexCommand include
36321 filename "DummyDocument1.lyx"
36328 \begin_layout Standard
36329 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
36330 あります。取り込んだ文書のラベルは、第
36331 \begin_inset CommandInset ref
36333 reference "sub:外部文書の第1小節"
36337 小節、のように参照することができます。
36340 \begin_layout Standard
36341 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
36342 は、新規頁から始まるように挿入され、改頁して終わります。
36345 \begin_layout Standard
36346 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
36350 \begin_layout Plain Layout
36364 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
36367 \begin_layout Standard
36368 \begin_inset Note Greyedout
36371 \begin_layout Plain Layout
36376 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
36390 \begin_layout Standard
36391 \begin_inset Note Greyedout
36394 \begin_layout Plain Layout
36399 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
36408 \begin_layout Description
36409 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
36413 \begin_layout Itemize
36414 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
36417 \begin_layout Itemize
36418 Inputファイルは、LyX設定の操作性
36420 \SpecialChar \menuseparator
36427 を有効にすると、LyX中でプレビューすることができます。
36430 \begin_layout Itemize
36441 \begin_layout Standard
36447 \begin_inset CommandInset include
36449 filename "DummyDocument2.lyx"
36456 \begin_layout Description
36457 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
36458 に用いられているコマンドは実行されません。
36462 オプションを有効にすると、ソースコード中のすべての空白文字に「
36466 \begin_layout Plain Layout
36477 挿入\SpecialChar \menuseparator
36478 ファイル\SpecialChar \menuseparator
36481 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
36484 \begin_layout Standard
36485 以下は、verbatimとして挿入された子文書です。
36486 \begin_inset CommandInset include
36487 LatexCommand verbatiminput
36488 filename "../DummyTextDocument.txt"
36493 \begin_inset VSpace bigskip
36500 オプションを指定して、verbatimとして挿入された子文書です。
36501 \begin_inset CommandInset include
36502 LatexCommand verbatiminput*
36503 filename "../DummyTextDocument.txt"
36510 \begin_layout Standard
36511 \begin_inset VSpace bigskip
36517 \begin_layout Standard
36518 \begin_inset Note Greyedout
36521 \begin_layout Plain Layout
36530 として取り込んだ文書の文章は、文書行の終わりで改行されません。
36538 \begin_layout Standard
36539 \begin_inset Note Greyedout
36542 \begin_layout Plain Layout
36547 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
36555 \begin_layout Description
36556 プログラムリスト この型については、第
36557 \begin_inset CommandInset ref
36559 reference "cha:プログラムコードリスト"
36566 \begin_layout Standard
36567 \begin_inset Note Greyedout
36570 \begin_layout Plain Layout
36575 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
36583 \begin_layout Chapter
36585 \begin_inset CommandInset label
36587 name "cha:プログラムコードリスト"
36592 \begin_inset Index idx
36595 \begin_layout Plain Layout
36602 \begin_inset Index idx
36605 \begin_layout Plain Layout
36612 \begin_inset Index idx
36615 \begin_layout Plain Layout
36616 ふろーと@フロート ! りすと@リスト
36624 \begin_layout Standard
36625 プログラムコードを取り込んで組版するには、
36629 \SpecialChar \menuseparator
36634 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
36639 \begin_inset Index idx
36642 \begin_layout Plain Layout
36643 LaTeXぱっけーじ@LaTeXパッケージ ! listings
36648 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
36651 \begin_layout Standard
36652 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
36655 \begin_layout Standard
36656 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
36661 \begin_inset listings
36662 lstparams "language={C++}"
36666 \begin_layout Plain Layout
36674 \begin_inset Newline newline
36681 オプションは、プログラムリストフロートを生成するものですが、ここで、第
36682 \begin_inset CommandInset ref
36684 reference "sec:フロートの配置"
36688 節に説明されているフロート配置オプションに従って、「
36704 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
36708 」のように区切りを入れることなく入力することができます。「
36712 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
36716 オプションを使用しなければ大丈夫です。
36719 \begin_layout Standard
36724 \SpecialChar \menuseparator
36729 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
36730 \begin_inset CommandInset ref
36732 reference "lst:リストフロート"
36739 \begin_layout Standard
36740 \begin_inset listings
36741 lstparams "language=Python"
36745 \begin_layout Plain Layout
36747 \begin_inset Caption
36749 \begin_layout Plain Layout
36750 \begin_inset CommandInset label
36756 Example Listing Float
36761 # Example listing float
36764 \begin_layout Plain Layout
36769 \begin_layout Plain Layout
36771 'this is a python function'
36774 \begin_layout Plain Layout
36784 \begin_layout Standard
36785 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
36786 onのキーワード「def」が識別され、ボールド体で出力されます。
36789 \begin_layout Standard
36790 \begin_inset Note Greyedout
36793 \begin_layout Plain Layout
36798 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
36802 フォントがボールド体を提供していません。この場合には、
36806 \SpecialChar \menuseparator
36811 \SpecialChar \menuseparator
36816 メニューで別のフォントを選択してください(
36828 の各フォントはボールド体を提供します)。
36836 \begin_layout Standard
36837 \begin_inset Note Greyedout
36840 \begin_layout Plain Layout
36845 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
36853 \begin_layout Standard
36858 のセクションでは、行番号の様式を指定することができます。
36862 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
36865 \begin_layout Standard
36866 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
36870 オプションを使用しなくてはなりません。
36871 \begin_inset Newline newline
36874 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
36875 \begin_inset space \thinspace{}
36879 \begin_inset space \thinspace{}
36882 8」で設定したプログラムリストの例です。
36885 \begin_layout Standard
36886 \begin_inset listings
36887 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
36891 \begin_layout Plain Layout
36896 \begin_layout Plain Layout
36898 'this is a python function'
36901 \begin_layout Plain Layout
36906 \begin_layout Plain Layout
36911 \begin_layout Plain Layout
36913 'This is a German word: Tschüß'
36916 \begin_layout Plain Layout
36921 \begin_layout Plain Layout
36926 \begin_layout Plain Layout
36928 'this is a python function'
36931 \begin_layout Plain Layout
36941 \begin_layout Standard
36942 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
36949 \begin_layout Standard
36950 \begin_inset Note Greyedout
36953 \begin_layout Plain Layout
36958 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
36967 \begin_layout Standard
36968 \begin_inset VSpace bigskip
36974 \begin_layout Standard
36975 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
36979 \SpecialChar \menuseparator
36984 \SpecialChar \menuseparator
36997 \begin_layout Plain Layout
36998 他の子文書型については、第 section
36999 \begin_inset space ~
37003 \begin_inset CommandInset ref
37005 reference "sec:子文書"
37014 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
37018 \begin_layout Standard
37019 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
37023 \SpecialChar \menuseparator
37028 メニューを使って参照できるようになります。
37031 \begin_layout Standard
37033 \begin_inset CommandInset ref
37035 reference "lst:file-listing"
37039 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
37042 \begin_layout Standard
37043 \begin_inset CommandInset include
37044 LatexCommand lstinputlisting
37045 filename "EmbeddedObjects.lyx"
37046 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
37053 \begin_layout Standard
37054 \begin_inset VSpace bigskip
37060 \begin_layout Standard
37061 リストに数式を入れるには、以下のようにします。
37064 \begin_layout Enumerate
37070 \begin_inset Newline newline
37078 \begin_inset Newline newline
37084 \begin_layout Enumerate
37088 \begin_layout Enumerate
37089 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
37098 \begin_layout Enumerate
37099 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
37108 \begin_layout Standard
37109 \begin_inset listings
37110 lstparams "language=Python,mathescape=true"
37114 \begin_layout Plain Layout
37116 \begin_inset Caption
37118 \begin_layout Plain Layout
37119 Example Listing float containing a formula
37124 # Example listing float
37127 \begin_layout Plain Layout
37132 \begin_layout Plain Layout
37145 \begin_layout Plain Layout
37155 \begin_layout Standard
37156 \begin_inset VSpace bigskip
37162 \begin_layout Standard
37167 \SpecialChar \menuseparator
37172 \SpecialChar \menuseparator
37177 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
37181 フィールドで疑問符「?」を打鍵してください。
37184 \begin_layout Standard
37189 パッケージについての詳しい情報については、取扱説明書
37190 \begin_inset CommandInset citation
37199 \begin_layout Standard
37200 \begin_inset Newpage newpage
37206 \begin_layout Chapter
37209 \begin_inset Index idx
37212 \begin_layout Plain Layout
37219 \begin_inset CommandInset label
37221 name "cha:LyXで使用できる単位"
37228 \begin_layout Standard
37229 この文書で用いられる単位の理解のために、表
37230 \begin_inset CommandInset ref
37236 に、LyXで使うことのできる単位をまとめておきます。
37239 \begin_layout Standard
37240 \begin_inset Float table
37246 \begin_layout Plain Layout
37247 \begin_inset Caption
37249 \begin_layout Plain Layout
37250 \begin_inset CommandInset label
37264 \begin_layout Plain Layout
37265 \begin_inset VSpace medskip
37271 \begin_layout Plain Layout
37273 \begin_inset Tabular
37274 <lyxtabular version="3" rows="20" columns="2">
37275 <features tabularvalignment="middle">
37276 <column alignment="center" valignment="top" width="0">
37277 <column alignment="center" valignment="top" width="0">
37279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37282 \begin_layout Plain Layout
37288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37291 \begin_layout Plain Layout
37299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37302 \begin_layout Plain Layout
37308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37311 \begin_layout Plain Layout
37319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37322 \begin_layout Plain Layout
37328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37331 \begin_layout Plain Layout
37339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37342 \begin_layout Plain Layout
37348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37351 \begin_layout Plain Layout
37359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37362 \begin_layout Plain Layout
37368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37371 \begin_layout Plain Layout
37373 \begin_inset Formula $\,$
37377 \begin_inset Formula $\,$
37387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37390 \begin_layout Plain Layout
37396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37399 \begin_layout Plain Layout
37401 \begin_inset Formula $\,$
37405 \begin_inset Formula $\,$
37415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37418 \begin_layout Plain Layout
37424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37427 \begin_layout Plain Layout
37429 \begin_inset Formula $\,$
37433 \begin_inset Formula $\,$
37443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37446 \begin_layout Plain Layout
37452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37455 \begin_layout Plain Layout
37457 \begin_inset Formula $\,$
37461 \begin_inset Formula $\,$
37471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37474 \begin_layout Plain Layout
37480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37483 \begin_layout Plain Layout
37485 \begin_inset Formula $\,$
37489 \begin_inset Formula $\approx$
37493 \begin_inset Formula $\,$
37503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37506 \begin_layout Plain Layout
37512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37515 \begin_layout Plain Layout
37517 \begin_inset Formula $\,$
37521 \begin_inset Formula $\,$
37531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37534 \begin_layout Plain Layout
37540 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37543 \begin_layout Plain Layout
37551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37554 \begin_layout Plain Layout
37560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37563 \begin_layout Plain Layout
37571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37574 \begin_layout Plain Layout
37580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37583 \begin_layout Plain Layout
37591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37594 \begin_layout Plain Layout
37600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37603 \begin_layout Plain Layout
37611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37614 \begin_layout Plain Layout
37620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37623 \begin_layout Plain Layout
37631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37634 \begin_layout Plain Layout
37640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37643 \begin_layout Plain Layout
37651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37654 \begin_layout Plain Layout
37660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37663 \begin_layout Plain Layout
37671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37674 \begin_layout Plain Layout
37680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37683 \begin_layout Plain Layout
37691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37694 \begin_layout Plain Layout
37700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37703 \begin_layout Plain Layout
37711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37714 \begin_layout Plain Layout
37720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37723 \begin_layout Plain Layout
37725 \begin_inset Formula $\,$
37729 \begin_inset Formula $\,$
37750 \begin_layout Chapter
37752 \begin_inset CommandInset label
37754 name "cha:ファイル出力形式"
37761 \begin_layout Section
37763 \begin_inset Index idx
37766 \begin_layout Plain Layout
37767 ふぁいるしょしき@ファイル書式 ! DVI
37773 \begin_inset Index idx
37776 \begin_layout Plain Layout
37781 \begin_layout Plain Layout
37792 \begin_layout Plain Layout
37807 \begin_layout Standard
37812 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
37813 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
37814 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
37817 \begin_layout Standard
37818 \begin_inset Note Greyedout
37821 \begin_layout Plain Layout
37822 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
37831 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
37832 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
37836 \begin_layout Standard
37841 \SpecialChar \menuseparator
37846 \SpecialChar \menuseparator
37851 メニューを使用して、DVIに書き出すことができます。
37853 You can view your document as DVI via the
37860 \begin_layout Section
37862 \begin_inset CommandInset label
37864 name "sec:PostScript"
37869 \begin_inset Index idx
37872 \begin_layout Plain Layout
37873 ふぁいるしょしき@ファイル書式 ! PostScript
37879 \begin_inset Index idx
37882 \begin_layout Plain Layout
37887 \begin_layout Plain Layout
37898 \begin_layout Plain Layout
37913 \begin_layout Standard
37922 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
37923 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
37927 \begin_layout Plain Layout
37928 これについてもう少し学ぶ気があれば、LaTeXパッケージ
37933 \begin_inset CommandInset citation
37944 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
37947 \begin_layout Standard
37948 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
37952 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
37953 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
37954 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
37955 を直接EPSとして入れておく方がよいでしょう。
37958 \begin_layout Standard
37963 \SpecialChar \menuseparator
37968 \SpecialChar \menuseparator
37973 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
37978 \begin_inset Graphics
37979 filename ../../images/buffer-view_ps.png
37981 scaleBeforeRotation
37985 を使用することでPostScriptとして表示させることができます。
37988 \begin_layout Section
37990 \begin_inset Index idx
37993 \begin_layout Plain Layout
37994 ふぁいるしょしき@ファイル書式 ! PDF
38000 \begin_inset Index idx
38003 \begin_layout Plain Layout
38012 \begin_layout Standard
38017 」です。この「Portable Document Format (PDF)」は、
38021 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
38022 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
38025 \begin_layout Standard
38026 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
38034 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
38038 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
38039 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
38043 \begin_layout Standard
38048 \SpecialChar \menuseparator
38053 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
38056 \begin_layout Description
38058 \begin_inset space ~
38065 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
38069 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
38072 \begin_layout Description
38074 \begin_inset space ~
38081 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
38084 \begin_layout Description
38086 \begin_inset space ~
38093 プログラムを使って、現在のファイルを直接PDFに変換します。
38096 \begin_layout Standard
38101 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
38104 \begin_inset space ~
38113 プログラムは開発が停止しており、若干時代遅れになっています。
38116 \begin_layout Standard
38117 使用中の文書をPDFとして表示するには、
38122 \begin_inset Graphics
38123 filename ../../images/buffer-view_pdf2.png
38125 scaleBeforeRotation
38132 \begin_inset space ~
38140 \begin_layout Chapter
38143 List of dvips color names
38144 \begin_inset CommandInset label
38146 name "chap:List-of-dvips-colornames"
38153 \begin_layout Standard
38154 \begin_inset Tabular
38155 <lyxtabular version="3" rows="17" columns="4">
38156 <features tabularvalignment="middle">
38157 <column alignment="left" valignment="top" width="0pt">
38158 <column alignment="left" valignment="top" width="0pt">
38159 <column alignment="left" valignment="top" width="0pt">
38160 <column alignment="left" valignment="top" width="0pt">
38162 <cell alignment="left" valignment="top" usebox="none">
38165 \begin_layout Plain Layout
38169 \begin_layout Plain Layout
38182 \begin_layout Plain Layout
38197 \begin_layout Plain Layout
38211 <cell alignment="left" valignment="top" usebox="none">
38214 \begin_layout Plain Layout
38218 \begin_layout Plain Layout
38231 \begin_layout Plain Layout
38246 \begin_layout Plain Layout
38260 <cell alignment="left" valignment="top" usebox="none">
38263 \begin_layout Plain Layout
38267 \begin_layout Plain Layout
38280 \begin_layout Plain Layout
38295 \begin_layout Plain Layout
38309 <cell alignment="left" valignment="top" usebox="none">
38312 \begin_layout Plain Layout
38316 \begin_layout Plain Layout
38329 \begin_layout Plain Layout
38344 \begin_layout Plain Layout
38360 <cell alignment="center" valignment="top" usebox="none">
38363 \begin_layout Plain Layout
38367 \begin_layout Plain Layout
38380 \begin_layout Plain Layout
38388 \begin_inset Phantom Phantom
38391 \begin_layout Plain Layout
38401 \begin_layout Plain Layout
38413 <cell alignment="center" valignment="top" usebox="none">
38416 \begin_layout Plain Layout
38420 \begin_layout Plain Layout
38433 \begin_layout Plain Layout
38441 \begin_inset Phantom Phantom
38444 \begin_layout Plain Layout
38454 \begin_layout Plain Layout
38466 <cell alignment="center" valignment="top" usebox="none">
38469 \begin_layout Plain Layout
38473 \begin_layout Plain Layout
38486 \begin_layout Plain Layout
38494 \begin_inset Phantom Phantom
38497 \begin_layout Plain Layout
38507 \begin_layout Plain Layout
38519 <cell alignment="center" valignment="top" usebox="none">
38522 \begin_layout Plain Layout
38526 \begin_layout Plain Layout
38539 \begin_layout Plain Layout
38547 \begin_inset Phantom Phantom
38550 \begin_layout Plain Layout
38560 \begin_layout Plain Layout
38574 <cell alignment="left" valignment="top" usebox="none">
38577 \begin_layout Plain Layout
38581 \begin_layout Plain Layout
38594 \begin_layout Plain Layout
38602 \begin_inset Phantom Phantom
38605 \begin_layout Plain Layout
38615 \begin_layout Plain Layout
38627 <cell alignment="left" valignment="top" usebox="none">
38630 \begin_layout Plain Layout
38634 \begin_layout Plain Layout
38647 \begin_layout Plain Layout
38655 \begin_inset Phantom Phantom
38658 \begin_layout Plain Layout
38668 \begin_layout Plain Layout
38680 <cell alignment="left" valignment="top" usebox="none">
38683 \begin_layout Plain Layout
38687 \begin_layout Plain Layout
38700 \begin_layout Plain Layout
38708 \begin_inset Phantom Phantom
38711 \begin_layout Plain Layout
38721 \begin_layout Plain Layout
38733 <cell alignment="left" valignment="top" usebox="none">
38736 \begin_layout Plain Layout
38740 \begin_layout Plain Layout
38753 \begin_layout Plain Layout
38761 \begin_inset Phantom Phantom
38764 \begin_layout Plain Layout
38774 \begin_layout Plain Layout
38788 <cell alignment="left" valignment="top" usebox="none">
38791 \begin_layout Plain Layout
38795 \begin_layout Plain Layout
38808 \begin_layout Plain Layout
38816 \begin_inset Phantom Phantom
38819 \begin_layout Plain Layout
38829 \begin_layout Plain Layout
38841 <cell alignment="left" valignment="top" usebox="none">
38844 \begin_layout Plain Layout
38848 \begin_layout Plain Layout
38861 \begin_layout Plain Layout
38869 \begin_inset Phantom Phantom
38872 \begin_layout Plain Layout
38882 \begin_layout Plain Layout
38894 <cell alignment="left" valignment="top" usebox="none">
38897 \begin_layout Plain Layout
38901 \begin_layout Plain Layout
38914 \begin_layout Plain Layout
38922 \begin_inset Phantom Phantom
38925 \begin_layout Plain Layout
38935 \begin_layout Plain Layout
38947 <cell alignment="left" valignment="top" usebox="none">
38950 \begin_layout Plain Layout
38954 \begin_layout Plain Layout
38967 \begin_layout Plain Layout
38975 \begin_inset Phantom Phantom
38978 \begin_layout Plain Layout
38988 \begin_layout Plain Layout
39002 <cell alignment="left" valignment="top" usebox="none">
39005 \begin_layout Plain Layout
39009 \begin_layout Plain Layout
39022 \begin_layout Plain Layout
39030 \begin_inset Phantom Phantom
39033 \begin_layout Plain Layout
39043 \begin_layout Plain Layout
39055 <cell alignment="left" valignment="top" usebox="none">
39058 \begin_layout Plain Layout
39062 \begin_layout Plain Layout
39075 \begin_layout Plain Layout
39083 \begin_inset Phantom Phantom
39086 \begin_layout Plain Layout
39096 \begin_layout Plain Layout
39108 <cell alignment="left" valignment="top" usebox="none">
39111 \begin_layout Plain Layout
39115 \begin_layout Plain Layout
39128 \begin_layout Plain Layout
39136 \begin_inset Phantom Phantom
39139 \begin_layout Plain Layout
39149 \begin_layout Plain Layout
39161 <cell alignment="left" valignment="top" usebox="none">
39164 \begin_layout Plain Layout
39168 \begin_layout Plain Layout
39181 \begin_layout Plain Layout
39189 \begin_inset Phantom Phantom
39192 \begin_layout Plain Layout
39202 \begin_layout Plain Layout
39216 <cell alignment="left" valignment="top" usebox="none">
39219 \begin_layout Plain Layout
39223 \begin_layout Plain Layout
39236 \begin_layout Plain Layout
39244 \begin_inset Phantom Phantom
39247 \begin_layout Plain Layout
39257 \begin_layout Plain Layout
39269 <cell alignment="left" valignment="top" usebox="none">
39272 \begin_layout Plain Layout
39276 \begin_layout Plain Layout
39289 \begin_layout Plain Layout
39297 \begin_inset Phantom Phantom
39300 \begin_layout Plain Layout
39310 \begin_layout Plain Layout
39322 <cell alignment="left" valignment="top" usebox="none">
39325 \begin_layout Plain Layout
39329 \begin_layout Plain Layout
39342 \begin_layout Plain Layout
39350 \begin_inset Phantom Phantom
39353 \begin_layout Plain Layout
39363 \begin_layout Plain Layout
39375 <cell alignment="left" valignment="top" usebox="none">
39378 \begin_layout Plain Layout
39382 \begin_layout Plain Layout
39395 \begin_layout Plain Layout
39403 \begin_inset Phantom Phantom
39406 \begin_layout Plain Layout
39416 \begin_layout Plain Layout
39430 <cell alignment="center" valignment="top" usebox="none">
39433 \begin_layout Plain Layout
39437 \begin_layout Plain Layout
39450 \begin_layout Plain Layout
39458 \begin_inset Phantom Phantom
39461 \begin_layout Plain Layout
39471 \begin_layout Plain Layout
39483 <cell alignment="center" valignment="top" usebox="none">
39486 \begin_layout Plain Layout
39490 \begin_layout Plain Layout
39503 \begin_layout Plain Layout
39511 \begin_inset Phantom Phantom
39514 \begin_layout Plain Layout
39524 \begin_layout Plain Layout
39536 <cell alignment="center" valignment="top" usebox="none">
39539 \begin_layout Plain Layout
39543 \begin_layout Plain Layout
39556 \begin_layout Plain Layout
39564 \begin_inset Phantom Phantom
39567 \begin_layout Plain Layout
39577 \begin_layout Plain Layout
39589 <cell alignment="center" valignment="top" usebox="none">
39592 \begin_layout Plain Layout
39596 \begin_layout Plain Layout
39609 \begin_layout Plain Layout
39617 \begin_inset Phantom Phantom
39620 \begin_layout Plain Layout
39630 \begin_layout Plain Layout
39644 <cell alignment="left" valignment="top" usebox="none">
39647 \begin_layout Plain Layout
39651 \begin_layout Plain Layout
39664 \begin_layout Plain Layout
39672 \begin_inset Phantom Phantom
39675 \begin_layout Plain Layout
39685 \begin_layout Plain Layout
39697 <cell alignment="left" valignment="top" usebox="none">
39700 \begin_layout Plain Layout
39704 \begin_layout Plain Layout
39717 \begin_layout Plain Layout
39725 \begin_inset Phantom Phantom
39728 \begin_layout Plain Layout
39738 \begin_layout Plain Layout
39750 <cell alignment="left" valignment="top" usebox="none">
39753 \begin_layout Plain Layout
39757 \begin_layout Plain Layout
39770 \begin_layout Plain Layout
39778 \begin_inset Phantom Phantom
39781 \begin_layout Plain Layout
39791 \begin_layout Plain Layout
39803 <cell alignment="left" valignment="top" usebox="none">
39806 \begin_layout Plain Layout
39810 \begin_layout Plain Layout
39823 \begin_layout Plain Layout
39831 \begin_inset Phantom Phantom
39834 \begin_layout Plain Layout
39844 \begin_layout Plain Layout
39858 <cell alignment="left" valignment="top" usebox="none">
39861 \begin_layout Plain Layout
39865 \begin_layout Plain Layout
39878 \begin_layout Plain Layout
39886 \begin_inset Phantom Phantom
39889 \begin_layout Plain Layout
39899 \begin_layout Plain Layout
39911 <cell alignment="left" valignment="top" usebox="none">
39914 \begin_layout Plain Layout
39918 \begin_layout Plain Layout
39931 \begin_layout Plain Layout
39939 \begin_inset Phantom Phantom
39942 \begin_layout Plain Layout
39952 \begin_layout Plain Layout
39964 <cell alignment="left" valignment="top" usebox="none">
39967 \begin_layout Plain Layout
39971 \begin_layout Plain Layout
39984 \begin_layout Plain Layout
39992 \begin_inset Phantom Phantom
39995 \begin_layout Plain Layout
40005 \begin_layout Plain Layout
40017 <cell alignment="left" valignment="top" usebox="none">
40020 \begin_layout Plain Layout
40024 \begin_layout Plain Layout
40037 \begin_layout Plain Layout
40045 \begin_inset Phantom Phantom
40048 \begin_layout Plain Layout
40058 \begin_layout Plain Layout
40072 <cell alignment="left" valignment="top" usebox="none">
40075 \begin_layout Plain Layout
40079 \begin_layout Plain Layout
40092 \begin_layout Plain Layout
40100 \begin_inset Phantom Phantom
40103 \begin_layout Plain Layout
40113 \begin_layout Plain Layout
40125 <cell alignment="left" valignment="top" usebox="none">
40128 \begin_layout Plain Layout
40132 \begin_layout Plain Layout
40145 \begin_layout Plain Layout
40153 \begin_inset Phantom Phantom
40156 \begin_layout Plain Layout
40166 \begin_layout Plain Layout
40178 <cell alignment="left" valignment="top" usebox="none">
40181 \begin_layout Plain Layout
40185 \begin_layout Plain Layout
40198 \begin_layout Plain Layout
40206 \begin_inset Phantom Phantom
40209 \begin_layout Plain Layout
40219 \begin_layout Plain Layout
40231 <cell alignment="left" valignment="top" usebox="none">
40234 \begin_layout Plain Layout
40238 \begin_layout Plain Layout
40251 \begin_layout Plain Layout
40259 \begin_inset Phantom Phantom
40262 \begin_layout Plain Layout
40272 \begin_layout Plain Layout
40286 <cell alignment="left" valignment="top" usebox="none">
40289 \begin_layout Plain Layout
40293 \begin_layout Plain Layout
40306 \begin_layout Plain Layout
40314 \begin_inset Phantom Phantom
40317 \begin_layout Plain Layout
40327 \begin_layout Plain Layout
40339 <cell alignment="left" valignment="top" usebox="none">
40342 \begin_layout Plain Layout
40346 \begin_layout Plain Layout
40359 \begin_layout Plain Layout
40367 \begin_inset Phantom Phantom
40370 \begin_layout Plain Layout
40380 \begin_layout Plain Layout
40392 <cell alignment="left" valignment="top" usebox="none">
40395 \begin_layout Plain Layout
40399 \begin_layout Plain Layout
40412 \begin_layout Plain Layout
40420 \begin_inset Phantom Phantom
40423 \begin_layout Plain Layout
40433 \begin_layout Plain Layout
40445 <cell alignment="left" valignment="top" usebox="none">
40448 \begin_layout Plain Layout
40452 \begin_layout Plain Layout
40465 \begin_layout Plain Layout
40473 \begin_inset Phantom Phantom
40476 \begin_layout Plain Layout
40486 \begin_layout Plain Layout
40500 <cell alignment="left" valignment="top" usebox="none">
40503 \begin_layout Plain Layout
40507 \begin_layout Plain Layout
40520 \begin_layout Plain Layout
40528 \begin_inset Phantom Phantom
40531 \begin_layout Plain Layout
40541 \begin_layout Plain Layout
40553 <cell alignment="left" valignment="top" usebox="none">
40556 \begin_layout Plain Layout
40560 \begin_layout Plain Layout
40573 \begin_layout Plain Layout
40581 \begin_inset Phantom Phantom
40584 \begin_layout Plain Layout
40594 \begin_layout Plain Layout
40606 <cell alignment="left" valignment="top" usebox="none">
40609 \begin_layout Plain Layout
40613 \begin_layout Plain Layout
40626 \begin_layout Plain Layout
40634 \begin_inset Phantom Phantom
40637 \begin_layout Plain Layout
40647 \begin_layout Plain Layout
40659 <cell alignment="left" valignment="top" usebox="none">
40662 \begin_layout Plain Layout
40666 \begin_layout Plain Layout
40679 \begin_layout Plain Layout
40687 \begin_inset Phantom Phantom
40690 \begin_layout Plain Layout
40700 \begin_layout Plain Layout
40714 <cell alignment="left" valignment="top" usebox="none">
40717 \begin_layout Plain Layout
40721 \begin_layout Plain Layout
40734 \begin_layout Plain Layout
40742 \begin_inset Phantom Phantom
40745 \begin_layout Plain Layout
40755 \begin_layout Plain Layout
40767 <cell alignment="left" valignment="top" usebox="none">
40770 \begin_layout Plain Layout
40774 \begin_layout Plain Layout
40787 \begin_layout Plain Layout
40795 \begin_inset Phantom Phantom
40798 \begin_layout Plain Layout
40808 \begin_layout Plain Layout
40820 <cell alignment="left" valignment="top" usebox="none">
40823 \begin_layout Plain Layout
40827 \begin_layout Plain Layout
40840 \begin_layout Plain Layout
40848 \begin_inset Phantom Phantom
40851 \begin_layout Plain Layout
40861 \begin_layout Plain Layout
40873 <cell alignment="left" valignment="top" usebox="none">
40876 \begin_layout Plain Layout
40880 \begin_layout Plain Layout
40893 \begin_layout Plain Layout
40901 \begin_inset Phantom Phantom
40904 \begin_layout Plain Layout
40914 \begin_layout Plain Layout
40928 <cell alignment="left" valignment="top" usebox="none">
40931 \begin_layout Plain Layout
40935 \begin_layout Plain Layout
40948 \begin_layout Plain Layout
40956 \begin_inset Phantom Phantom
40959 \begin_layout Plain Layout
40969 \begin_layout Plain Layout
40981 <cell alignment="left" valignment="top" usebox="none">
40984 \begin_layout Plain Layout
40988 \begin_layout Plain Layout
41001 \begin_layout Plain Layout
41009 \begin_inset Phantom Phantom
41012 \begin_layout Plain Layout
41022 \begin_layout Plain Layout
41034 <cell alignment="left" valignment="top" usebox="none">
41037 \begin_layout Plain Layout
41041 \begin_layout Plain Layout
41054 \begin_layout Plain Layout
41062 \begin_inset Phantom Phantom
41065 \begin_layout Plain Layout
41075 \begin_layout Plain Layout
41087 <cell alignment="left" valignment="top" usebox="none">
41090 \begin_layout Plain Layout
41094 \begin_layout Plain Layout
41107 \begin_layout Plain Layout
41115 \begin_inset Phantom Phantom
41118 \begin_layout Plain Layout
41128 \begin_layout Plain Layout
41142 <cell alignment="left" valignment="top" usebox="none">
41145 \begin_layout Plain Layout
41149 \begin_layout Plain Layout
41162 \begin_layout Plain Layout
41170 \begin_inset Phantom Phantom
41173 \begin_layout Plain Layout
41183 \begin_layout Plain Layout
41195 <cell alignment="left" valignment="top" usebox="none">
41198 \begin_layout Plain Layout
41202 \begin_layout Plain Layout
41215 \begin_layout Plain Layout
41223 \begin_inset Phantom Phantom
41226 \begin_layout Plain Layout
41236 \begin_layout Plain Layout
41248 <cell alignment="left" valignment="top" usebox="none">
41251 \begin_layout Plain Layout
41255 \begin_layout Plain Layout
41268 \begin_layout Plain Layout
41276 \begin_inset Phantom Phantom
41279 \begin_layout Plain Layout
41289 \begin_layout Plain Layout
41301 <cell alignment="left" valignment="top" usebox="none">
41304 \begin_layout Plain Layout
41308 \begin_layout Plain Layout
41321 \begin_layout Plain Layout
41329 \begin_inset Phantom Phantom
41332 \begin_layout Plain Layout
41342 \begin_layout Plain Layout
41356 <cell alignment="left" valignment="top" usebox="none">
41359 \begin_layout Plain Layout
41363 \begin_layout Plain Layout
41376 \begin_layout Plain Layout
41384 \begin_inset Phantom Phantom
41387 \begin_layout Plain Layout
41397 \begin_layout Plain Layout
41409 <cell alignment="left" valignment="top" usebox="none">
41412 \begin_layout Plain Layout
41416 \begin_layout Plain Layout
41429 \begin_layout Plain Layout
41437 \begin_inset Phantom Phantom
41440 \begin_layout Plain Layout
41450 \begin_layout Plain Layout
41462 <cell alignment="left" valignment="top" usebox="none">
41465 \begin_layout Plain Layout
41469 \begin_layout Plain Layout
41482 \begin_layout Plain Layout
41490 \begin_inset Phantom Phantom
41493 \begin_layout Plain Layout
41503 \begin_layout Plain Layout
41515 <cell alignment="left" valignment="top" usebox="none">
41518 \begin_layout Plain Layout
41522 \begin_layout Plain Layout
41535 \begin_layout Plain Layout
41543 \begin_inset Phantom Phantom
41546 \begin_layout Plain Layout
41556 \begin_layout Plain Layout
41570 <cell alignment="left" valignment="top" usebox="none">
41573 \begin_layout Plain Layout
41577 \begin_layout Plain Layout
41590 \begin_layout Plain Layout
41598 \begin_inset Phantom Phantom
41601 \begin_layout Plain Layout
41611 \begin_layout Plain Layout
41623 <cell alignment="left" valignment="top" usebox="none">
41626 \begin_layout Plain Layout
41632 <cell alignment="left" valignment="top" usebox="none">
41635 \begin_layout Plain Layout
41641 <cell alignment="left" valignment="top" usebox="none">
41644 \begin_layout Plain Layout
41658 \begin_layout Chapter
41660 \begin_inset CommandInset ref
41667 \begin_inset CommandInset label
41676 \begin_layout Standard
41677 \begin_inset Formula $n$
41681 \begin_inset Formula $W_{\mathrm{tot\, n}}$
41685 \begin_inset Formula
41687 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
41695 \begin_layout Standard
41697 \begin_inset Formula $W_{g\, n}$
41706 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
41707 \begin_inset space \thinspace{}
41717 \begin_inset space \thinspace{}
41723 \begin_layout Standard
41725 \begin_inset CommandInset ref
41727 reference "eq:Wtot_n"
41732 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
41736 \begin_inset Formula
41738 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
41746 \begin_layout Standard
41748 \begin_inset Formula $n$
41752 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
41756 \begin_inset CommandInset ref
41758 reference "eq:Wtot_n"
41763 \begin_inset CommandInset ref
41765 reference "eq:Wtot_mult"
41769 式が等しいものと置けば、必要となる固定幅
41770 \begin_inset Formula $W_{g\, n}$
41774 \begin_inset Formula
41776 W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
41784 \begin_layout Bibliography
41785 \labelwidthstring 参考文献
41786 \begin_inset CommandInset bibitem
41787 LatexCommand bibitem
41788 key "latexcompanion"
41792 Frank Mittelbach and Michel Goossens:
41794 The LaTeX Companion Second Edition.
41797 Addison-Wesley, 2004
41800 \begin_layout Bibliography
41801 \labelwidthstring 参考文献
41802 \begin_inset CommandInset bibitem
41803 LatexCommand bibitem
41808 Helmut Kopka and Patrick W.
41811 A Guide to LaTeX Fourth Edition.
41814 Addison-Wesley, 2003
41817 \begin_layout Bibliography
41818 \labelwidthstring 参考文献
41819 \begin_inset CommandInset bibitem
41820 LatexCommand bibitem
41827 LaTeX: A Document Preparation System.
41830 Addison-Wesley, second edition, 1994
41833 \begin_layout Bibliography
41834 \labelwidthstring 参考文献
41835 \begin_inset CommandInset bibitem
41836 LatexCommand bibitem
41844 \begin_inset CommandInset href
41847 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
41854 \begin_inset Index idx
41857 \begin_layout Plain Layout
41858 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
41866 \begin_layout Bibliography
41867 \labelwidthstring 参考文献
41868 \begin_inset CommandInset bibitem
41869 LatexCommand bibitem
41877 \begin_inset CommandInset href
41880 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
41887 \begin_inset Index idx
41890 \begin_layout Plain Layout
41891 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
41899 \begin_layout Bibliography
41900 \labelwidthstring 参考文献
41901 \begin_inset CommandInset bibitem
41902 LatexCommand bibitem
41910 \begin_inset CommandInset href
41913 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
41920 \begin_inset Index idx
41923 \begin_layout Plain Layout
41924 LaTeXぱっけーじ@LaTeXパッケージ ! caption
41932 \begin_layout Bibliography
41933 \labelwidthstring 参考文献
41934 \begin_inset CommandInset bibitem
41935 LatexCommand bibitem
41943 \begin_inset CommandInset href
41946 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
41953 \begin_inset Index idx
41956 \begin_layout Plain Layout
41957 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
41965 \begin_layout Bibliography
41966 \labelwidthstring 参考文献
41967 \begin_inset CommandInset bibitem
41968 LatexCommand bibitem
41976 \begin_inset CommandInset href
41979 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
41986 \begin_inset Index idx
41989 \begin_layout Plain Layout
41990 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
41998 \begin_layout Bibliography
41999 \labelwidthstring 参考文献
42000 \begin_inset CommandInset bibitem
42001 LatexCommand bibitem
42009 \begin_inset CommandInset href
42012 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
42019 \begin_inset Index idx
42022 \begin_layout Plain Layout
42023 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
42031 \begin_layout Bibliography
42032 \labelwidthstring 参考文献
42033 \begin_inset CommandInset bibitem
42034 LatexCommand bibitem
42042 \begin_inset CommandInset href
42045 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
42052 \begin_inset Index idx
42055 \begin_layout Plain Layout
42056 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42064 \begin_layout Bibliography
42065 \labelwidthstring 参考文献
42066 \begin_inset CommandInset bibitem
42067 LatexCommand bibitem
42075 \begin_inset CommandInset href
42078 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
42085 \begin_inset Index idx
42088 \begin_layout Plain Layout
42089 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42097 \begin_layout Bibliography
42098 \labelwidthstring 参考文献
42099 \begin_inset CommandInset bibitem
42100 LatexCommand bibitem
42108 \begin_inset CommandInset href
42111 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
42118 \begin_inset Index idx
42121 \begin_layout Plain Layout
42122 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
42130 \begin_layout Bibliography
42131 \labelwidthstring 参考文献
42132 \begin_inset CommandInset bibitem
42133 LatexCommand bibitem
42141 \begin_inset CommandInset href
42144 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
42155 \begin_inset CommandInset href
42158 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
42163 \begin_inset Index idx
42166 \begin_layout Plain Layout
42167 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
42175 \begin_layout Bibliography
42176 \labelwidthstring 参考文献
42177 \begin_inset CommandInset bibitem
42178 LatexCommand bibitem
42186 \begin_inset CommandInset href
42189 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
42196 \begin_inset Index idx
42199 \begin_layout Plain Layout
42200 LaTeXぱっけーじ@LaTeXパッケージ ! listings
42208 \begin_layout Bibliography
42209 \labelwidthstring 参考文献
42210 \begin_inset CommandInset bibitem
42211 LatexCommand bibitem
42219 \begin_inset CommandInset href
42222 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
42229 \begin_inset Index idx
42232 \begin_layout Plain Layout
42233 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
42241 \begin_layout Bibliography
42242 \labelwidthstring 参考文献
42243 \begin_inset CommandInset bibitem
42244 LatexCommand bibitem
42252 \begin_inset CommandInset href
42255 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
42262 \begin_inset Index idx
42265 \begin_layout Plain Layout
42266 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
42274 \begin_layout Bibliography
42275 \labelwidthstring 参考文献
42276 \begin_inset CommandInset bibitem
42277 LatexCommand bibitem
42285 \begin_inset CommandInset href
42288 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
42295 \begin_inset Index idx
42298 \begin_layout Plain Layout
42299 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
42307 \begin_layout Bibliography
42308 \labelwidthstring 参考文献
42309 \begin_inset CommandInset bibitem
42310 LatexCommand bibitem
42318 \begin_inset CommandInset href
42321 target "http://tug.org/PSTricks/"
42328 \begin_inset Index idx
42331 \begin_layout Plain Layout
42332 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
42340 \begin_layout Bibliography
42341 \labelwidthstring 参考文献
42342 \begin_inset CommandInset bibitem
42343 LatexCommand bibitem
42351 \begin_inset CommandInset href
42354 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
42361 \begin_inset Index idx
42364 \begin_layout Plain Layout
42365 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
42373 \begin_layout Bibliography
42374 \labelwidthstring 参考文献
42375 \begin_inset CommandInset bibitem
42376 LatexCommand bibitem
42384 \begin_inset CommandInset href
42387 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
42394 \begin_inset Index idx
42397 \begin_layout Plain Layout
42398 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
42406 \begin_layout Bibliography
42407 \labelwidthstring 参考文献
42408 \begin_inset CommandInset bibitem
42409 LatexCommand bibitem
42419 \begin_inset CommandInset href
42422 target "http://wiki.lyx.org/LyX/NewInLyX20"
42429 \begin_layout Standard
42430 \begin_inset CommandInset index_print
42431 LatexCommand printindex