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 に変わるので、相互参照にカーソルを戻すのに使用することができます。相互参照ボックスを右クリックしても、カーソルを参照されているラベルの前に移すことができますが、
22664 この場合には元に戻ることができません。
22667 \begin_layout Subsection
22669 \begin_inset CommandInset label
22676 \begin_inset Index idx
22679 \begin_layout Plain Layout
22688 \begin_layout Standard
22689 相互参照には、以下の6種類があります。
22692 \begin_layout Description
22693 <参照>: これはフロート番号を表示します。これが既定値です。例:
22694 \begin_inset CommandInset ref
22696 reference "fig:歪められた二つの像"
22703 \begin_layout Description
22704 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
22706 \begin_inset CommandInset ref
22715 \begin_layout Description
22716 <参照ページ>: これはページ番号を表示します。例:Page
22717 \begin_inset space ~
22721 \begin_inset CommandInset ref
22722 LatexCommand pageref
22723 reference "fig:歪められた二つの像"
22730 \begin_layout Description
22732 \begin_inset space ~
22736 \begin_inset space ~
22739 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
22740 \begin_inset CommandInset ref
22741 LatexCommand vpageref
22742 reference "fig:歪められた二つの像"
22749 \begin_layout Description
22751 \begin_inset space ~
22755 \begin_inset space ~
22759 \begin_inset space ~
22762 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
22763 \begin_inset CommandInset ref
22765 reference "fig:歪められた二つの像"
22772 \begin_layout Description
22773 整形された参照: これは自製の相互参照書式で出力します。
22774 \begin_inset Newline newline
22778 \begin_inset Note Greyedout
22781 \begin_layout Plain Layout
22782 【註】この機能は、LaTeXパッケージ
22790 が導入されている場合のみ使用することができます。
22791 \begin_inset Index idx
22794 \begin_layout Plain Layout
22795 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
22801 \begin_inset Index idx
22804 \begin_layout Plain Layout
22805 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
22816 \begin_inset Newline newline
22821 文書\SpecialChar \menuseparator
22822 設定\SpecialChar \menuseparator
22827 相互参照に(prettyrefではなく)refstyleを使用
22829 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
22835 コマンド(prettyrefの場合)あるいは
22841 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
22845 」を持ちます)をすべて定義し直すには、
22846 \begin_inset Newline newline
22853 newref{fig}{refcmd={Image on page
22856 \begin_inset Newline newline
22861 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
22862 \begin_inset CommandInset citation
22864 key "prettyref,refstyle"
22871 \begin_layout Description
22872 名称参照: これは、右のように参照のキャプションを出力します。
22873 \begin_inset CommandInset ref
22874 LatexCommand nameref
22875 reference "fig:歪められた二つの像"
22882 \begin_layout Standard
22887 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
22893 <参照> on page <参照ページ>
22895 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
22898 \begin_layout Standard
22899 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
22906 \begin_layout Standard
22907 \begin_inset Note Greyedout
22910 \begin_layout Plain Layout
22915 It is recommended to use the LaTeX-package
22920 \begin_inset Index idx
22923 \begin_layout Plain Layout
22924 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
22934 \begin_inset Index idx
22937 \begin_layout Plain Layout
22938 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
22943 does not know all of LyX's possible label shortcuts
22947 \begin_layout Plain Layout
22948 \begin_inset Quotes eld
22952 \begin_inset Quotes erd
22955 is for example LyX's shortcut for labels in figure captions.
22960 and is not internationalized.
22968 \begin_layout Subsection
22970 \begin_inset Index idx
22973 \begin_layout Plain Layout
22974 さんしょう@参照 ! じどうめいめい@自動命名
22982 \begin_layout Standard
22996 \begin_inset Index idx
22999 \begin_layout Plain Layout
23000 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23005 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
23009 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
23010 の機能を使用するには、hyperrefを有効にして、
23013 \begin_layout Standard
23029 \begin_layout Standard
23030 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
23031 \begin_inset space \thinspace{}
23034 」としたいなど、既定の参照名以外のものが欲しい場合には、
23037 \begin_layout Standard
23048 sectionautorefname}
23049 \begin_inset Newline newline
23053 \begin_inset Phantom HPhantom
23056 \begin_layout Plain Layout
23059 \begin_inset space ~
23072 \begin_layout Standard
23073 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
23074 \begin_inset Newline newline
23085 に置き換えてください(***は使用中の言語名)。
23088 \begin_layout Standard
23089 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
23092 \begin_layout Standard
23100 \begin_inset Newline newline
23110 \begin_inset Newline newline
23121 equationautorefname}
23122 \begin_inset Newline newline
23126 \begin_inset Phantom HPhantom
23129 \begin_layout Plain Layout
23132 \begin_inset space ~
23147 \begin_layout Standard
23148 この話題に関する詳細は、hyperrefの説明書
23149 \begin_inset CommandInset citation
23158 \begin_layout Standard
23159 \begin_inset Note Greyedout
23162 \begin_layout Plain Layout
23172 \begin_inset CommandInset ref
23174 reference "sub:相互参照の書式"
23178 節)で使用しているときには、使用することができません。
23186 \begin_layout Standard
23191 は、参照の自動命名が使用されている一例です。
23194 \begin_layout Subsection
23196 \begin_inset CommandInset label
23203 \begin_inset Index idx
23206 \begin_layout Plain Layout
23207 さんしょう@参照 ! さんしょういち@参照位置
23215 \begin_layout Standard
23229 \begin_inset Index idx
23232 \begin_layout Plain Layout
23233 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23238 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
23239 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
23244 \begin_inset Index idx
23247 \begin_layout Plain Layout
23248 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23258 \begin_inset Index idx
23261 \begin_layout Plain Layout
23262 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23267 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
23270 \begin_layout Standard
23275 usepackage[figure]{hypcap}
23278 \begin_layout Standard
23279 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
23281 \begin_inset CommandInset citation
23290 \begin_layout Standard
23291 \begin_inset Note Greyedout
23294 \begin_layout Plain Layout
23299 は内部図への参照には効力がありません。
23307 \begin_layout Section
23309 \begin_inset CommandInset label
23316 \begin_inset Index idx
23319 \begin_layout Plain Layout
23328 \begin_layout Standard
23338 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
23339 \begin_inset Newline newline
23360 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
23361 \begin_inset Newline newline
23382 オプションは、フロートを回転するのに用います。第
23392 \begin_inset CommandInset ref
23394 reference "sec:回転フロート"
23410 \begin_layout Standard
23438 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
23441 \begin_layout Description
23451 フロートを挿入位置に配置することを試みます
23454 \begin_layout Description
23464 フロートを現在ページの上部に配置することを試みます
23467 \begin_layout Description
23477 フロートを現在ページの下部に配置することを試みます
23480 \begin_layout Description
23490 フロートを独立したページに配置することを試みます
23493 \begin_layout Standard
23498 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
23506 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
23507 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
23510 \begin_layout Standard
23511 既定では、各オプションはそれぞれ以下の規則を持っています。
23514 \begin_layout Labeling
23515 \labelwidthstring 00.00.0000
23520 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
23529 \begin_layout Labeling
23530 \labelwidthstring 00.00.0000
23535 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
23544 \begin_layout Labeling
23545 \labelwidthstring 00.00.0000
23550 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
23559 \begin_layout Standard
23564 オプションを追加することによって、これらを無視することができます。
23565 \begin_inset Newline newline
23568 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
23569 、ページの5割に変えるには、文書プリアンブルに
23572 \begin_layout Standard
23579 bottomfraction}{0.5}
23582 \begin_layout Standard
23586 \begin_layout Standard
23587 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
23591 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
23592 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
23596 \begin_layout Standard
23597 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
23600 \begin_layout Standard
23601 \begin_inset VSpace bigskip
23607 \begin_layout Standard
23608 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
23609 することがあります。この問題を避けるには、LaTeXコマンドの
23611 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
23612 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
23615 \begin_layout Standard
23625 \begin_inset Newline newline
23639 \begin_layout Standard
23640 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
23641 することがあるので、これらに対する定義はお勧めしません。
23644 \begin_layout Standard
23645 \begin_inset VSpace bigskip
23648 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
23653 \begin_inset Index idx
23656 \begin_layout Plain Layout
23657 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
23662 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
23663 \begin_inset Quotes eld
23669 \begin_inset space ~
23675 \begin_inset Quotes erd
23678 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
23681 \begin_layout Standard
23686 usepackage[options]{endfloat}
23689 \begin_layout Standard
23690 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
23695 \begin_inset CommandInset citation
23702 \begin_inset Newline newline
23706 \begin_inset Note Greyedout
23709 \begin_layout Plain Layout
23714 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
23715 \begin_inset CommandInset citation
23727 \begin_inset Newline newline
23731 \begin_inset Note Greyedout
23734 \begin_layout Plain Layout
23743 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
23757 \begin_layout Standard
23758 \begin_inset VSpace bigskip
23761 フロートの割付に関する詳細は、LaTeX関連書
23762 \begin_inset CommandInset citation
23764 key "latexcompanion,latexguide,latexbook"
23771 \begin_layout Section
23773 \begin_inset CommandInset label
23780 \begin_inset Index idx
23783 \begin_layout Plain Layout
23784 ふろーと@フロート ! かいてん@回転
23792 \begin_layout Standard
23793 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
23800 \begin_layout Standard
23801 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
23805 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
23806 たって回転方向を強制したい場合には、文書クラスオプションに
23817 \begin_layout Standard
23818 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
23819 \begin_inset CommandInset ref
23821 reference "tab:回転した表"
23828 \begin_layout Standard
23829 \begin_inset Note Greyedout
23832 \begin_layout Plain Layout
23837 すべてのDVIビューアが回転フロートを表示できるわけではありません。
23845 \begin_layout Standard
23846 \begin_inset Float table
23851 \begin_layout Plain Layout
23852 \begin_inset Caption
23854 \begin_layout Plain Layout
23855 \begin_inset CommandInset label
23869 \begin_layout Plain Layout
23871 \begin_inset Tabular
23872 <lyxtabular version="3" rows="1" columns="5">
23873 <features tabularvalignment="middle">
23874 <column alignment="center" valignment="top" width="0">
23875 <column alignment="center" valignment="top" width="0">
23876 <column alignment="center" valignment="top" width="0">
23877 <column alignment="center" valignment="top" width="0">
23878 <column alignment="center" valignment="top" width="0">
23880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23883 \begin_layout Plain Layout
23889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23892 \begin_layout Plain Layout
23898 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23901 \begin_layout Plain Layout
23907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23910 \begin_layout Plain Layout
23916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23919 \begin_layout Plain Layout
23938 \begin_layout Section
23940 \begin_inset Index idx
23943 \begin_layout Plain Layout
23944 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
23952 \begin_layout Standard
23953 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
23954 \begin_inset CommandInset ref
23956 reference "tab:従属表を横に並べたもの"
23961 \begin_inset CommandInset ref
23963 reference "tab:従属表を縦に並べたもの"
23967 に示されているように段落と同様に指定することができます。
23970 \begin_layout Standard
23971 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
23972 \begin_inset CommandInset ref
23974 reference "tab:これは従属表a"
23979 \begin_inset CommandInset ref
23981 reference "tab:これは従属表b"
23986 \begin_inset CommandInset ref
23988 reference "tab:従属表を横に並べたもの"
23993 \begin_inset Float table
23998 \begin_layout Plain Layout
23999 \begin_inset Caption
24001 \begin_layout Plain Layout
24002 \begin_inset CommandInset label
24004 name "tab:従属表を横に並べたもの"
24016 \begin_layout Plain Layout
24017 \begin_inset space \hfill{}
24021 \begin_inset Float table
24026 \begin_layout Plain Layout
24027 \begin_inset Caption
24029 \begin_layout Plain Layout
24030 \begin_inset CommandInset label
24044 \begin_layout Plain Layout
24046 \begin_inset Tabular
24047 <lyxtabular version="3" rows="1" columns="5">
24048 <features tabularvalignment="middle">
24049 <column alignment="center" valignment="top" width="0">
24050 <column alignment="center" valignment="top" width="0">
24051 <column alignment="center" valignment="top" width="0">
24052 <column alignment="center" valignment="top" width="0">
24053 <column alignment="center" valignment="top" width="0">
24055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24058 \begin_layout Plain Layout
24064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24067 \begin_layout Plain Layout
24073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24076 \begin_layout Plain Layout
24082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24085 \begin_layout Plain Layout
24091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24094 \begin_layout Plain Layout
24111 \begin_inset space \hfill{}
24115 \begin_inset Float table
24120 \begin_layout Plain Layout
24121 \begin_inset Caption
24123 \begin_layout Plain Layout
24124 \begin_inset CommandInset label
24138 \begin_layout Plain Layout
24140 \begin_inset Tabular
24141 <lyxtabular version="3" rows="1" columns="5">
24142 <features tabularvalignment="middle">
24143 <column alignment="center" valignment="top" width="0">
24144 <column alignment="center" valignment="top" width="0">
24145 <column alignment="center" valignment="top" width="0">
24146 <column alignment="center" valignment="top" width="0">
24147 <column alignment="center" valignment="top" width="0">
24149 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24152 \begin_layout Plain Layout
24158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24161 \begin_layout Plain Layout
24167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24170 \begin_layout Plain Layout
24176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24179 \begin_layout Plain Layout
24185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24188 \begin_layout Plain Layout
24205 \begin_inset space \hfill{}
24214 \begin_inset Float table
24219 \begin_layout Plain Layout
24220 \begin_inset Caption
24222 \begin_layout Plain Layout
24223 \begin_inset CommandInset label
24225 name "tab:従属表を縦に並べたもの"
24229 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
24237 \begin_layout Plain Layout
24238 \begin_inset Float table
24243 \begin_layout Plain Layout
24244 \begin_inset Caption
24246 \begin_layout Plain Layout
24255 \begin_layout Plain Layout
24257 \begin_inset Tabular
24258 <lyxtabular version="3" rows="1" columns="4">
24259 <features tabularvalignment="middle">
24260 <column alignment="center" valignment="top" width="0">
24261 <column alignment="center" valignment="top" width="0">
24262 <column alignment="center" valignment="top" width="0">
24263 <column alignment="center" valignment="top" width="0">
24265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24268 \begin_layout Plain Layout
24274 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24277 \begin_layout Plain Layout
24283 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24286 \begin_layout Plain Layout
24292 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24295 \begin_layout Plain Layout
24314 \begin_layout Plain Layout
24315 \begin_inset Float table
24320 \begin_layout Plain Layout
24321 \begin_inset Caption
24323 \begin_layout Plain Layout
24332 \begin_layout Plain Layout
24334 \begin_inset Tabular
24335 <lyxtabular version="3" rows="1" columns="5">
24336 <features tabularvalignment="middle">
24337 <column alignment="center" valignment="top" width="0">
24338 <column alignment="center" valignment="top" width="0">
24339 <column alignment="center" valignment="top" width="0">
24340 <column alignment="center" valignment="top" width="0">
24341 <column alignment="center" valignment="top" width="0">
24343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24346 \begin_layout Plain Layout
24352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24355 \begin_layout Plain Layout
24361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24364 \begin_layout Plain Layout
24370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24373 \begin_layout Plain Layout
24379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24382 \begin_layout Plain Layout
24406 \begin_layout Section
24408 \begin_inset Index idx
24411 \begin_layout Plain Layout
24412 ふろーと@フロート ! よこならび@横並び
24420 \begin_layout Standard
24422 \begin_inset CommandInset ref
24424 reference "fig:左側のフロート"
24429 \begin_inset CommandInset ref
24431 reference "fig:右側のフロート"
24435 のようにフロートを横並びに配置するには、
24439 フロートのみを使用し、その中に二つのminipageボックスを挿入します
24443 \begin_layout Plain Layout
24445 \begin_inset CommandInset ref
24447 reference "sec:ミニページ"
24457 \begin_inset space \thinspace{}
24461 \begin_inset space \thinspace{}
24464 列幅%とし、各minipageのボックス配置を
24468 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
24472 がここではminipageボックスの幅によって計算されることです。
24475 \begin_layout Standard
24476 \begin_inset Float figure
24481 \begin_layout Plain Layout
24482 \begin_inset Box Frameless
24492 height_special "totalheight"
24495 \begin_layout Plain Layout
24497 \begin_inset Graphics
24498 filename ../clipart/mobius.eps
24501 scaleBeforeRotation
24508 \begin_layout Plain Layout
24509 \begin_inset Caption
24511 \begin_layout Plain Layout
24512 \begin_inset CommandInset label
24529 \begin_inset space \hfill{}
24533 \begin_inset Box Frameless
24543 height_special "totalheight"
24546 \begin_layout Plain Layout
24548 \begin_inset Graphics
24549 filename ../clipart/platypus.eps
24552 scaleBeforeRotation
24559 \begin_layout Plain Layout
24560 \begin_inset Caption
24562 \begin_layout Plain Layout
24563 \begin_inset CommandInset label
24582 \begin_layout Plain Layout
24591 \begin_layout Section
24593 \begin_inset Index idx
24596 \begin_layout Plain Layout
24597 きゃぷしょん@キャプション ! しょしきせってい@書式設定
24603 \begin_inset Index idx
24606 \begin_layout Plain Layout
24607 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
24613 \begin_inset CommandInset label
24615 name "sec:キャプションの書式設定"
24622 \begin_layout Standard
24631 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
24635 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
24639 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
24640 。このキャプション書式は、すべての文書書式に適しているわけではありません。
24643 \begin_layout Standard
24644 既定のキャプション書式を変更するには、文書プリアンブルに
24647 \begin_layout Standard
24652 usepackage[format definition]{caption}
24655 \begin_layout Standard
24656 という行を加えて、LaTeXパッケージ
24661 \begin_inset Index idx
24664 \begin_layout Plain Layout
24665 LaTeXぱっけーじ@LaTeXパッケージ ! caption
24670 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
24673 \begin_layout Standard
24678 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
24681 \begin_layout Standard
24682 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
24686 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
24689 \begin_layout Standard
24694 captionsetup[フロート型]{書式定義}
24697 \begin_layout Standard
24698 というコマンドを使用して、個別の書式を指定してください。たとえば、図
24699 \begin_inset CommandInset ref
24701 reference "fig:図キャプション"
24706 \begin_inset CommandInset ref
24708 reference "tab:表キャプション"
24712 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
24715 \begin_layout Standard
24720 usepackage[tableposition=top]{caption}
24723 \begin_inset Newline newline
24730 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
24731 \begin_inset Newline newline
24735 \begin_inset Phantom HPhantom
24738 \begin_layout Plain Layout
24741 captionsetup[figure]{
24747 \begin_inset Newline newline
24752 captionsetup[table]{labelfont={bf,sf}}
24755 \begin_layout Standard
24756 \begin_inset Note Greyedout
24759 \begin_layout Plain Layout
24773 \begin_inset Index idx
24776 \begin_layout Plain Layout
24777 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
24782 が使われているときには、無効になります。この場合には、文書クラスオプション
24784 captions=tableheading
24794 \begin_layout Standard
24799 パッケージについての詳細は、その取扱説明書
24800 \begin_inset CommandInset citation
24809 \begin_layout Standard
24810 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
24813 \begin_layout Standard
24825 \begin_layout Standard
24839 \begin_layout Standard
24840 \begin_inset VSpace bigskip
24848 \begin_inset Index idx
24851 \begin_layout Plain Layout
24852 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
24859 article (KOMA-script)
24867 letter (KOMA-script)
24871 report (KOMA-script)
24885 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
24888 \begin_layout Standard
24893 setkomafont{captionlabel}{
24898 \begin_layout Standard
24910 \begin_inset CommandInset citation
24919 \begin_layout Standard
24923 \begin_layout Plain Layout
24927 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
24934 \begin_inset Note Note
24937 \begin_layout Plain Layout
24938 キャプション書式は、この例のみ変更してあります。
24946 \begin_layout Standard
24947 \begin_inset Float figure
24953 \begin_layout Plain Layout
24955 \begin_inset Graphics
24956 filename ../clipart/mobius.eps
24959 scaleBeforeRotation
24966 \begin_layout Plain Layout
24967 \begin_inset Caption
24969 \begin_layout Plain Layout
24970 \begin_inset CommandInset label
24976 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
24989 \begin_layout Standard
24993 \begin_layout Plain Layout
24997 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
25006 \begin_layout Standard
25007 \begin_inset Float table
25013 \begin_layout Plain Layout
25014 \begin_inset Caption
25016 \begin_layout Plain Layout
25017 \begin_inset CommandInset label
25023 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
25031 \begin_layout Plain Layout
25033 \begin_inset Tabular
25034 <lyxtabular version="3" rows="1" columns="5">
25035 <features tabularvalignment="middle">
25036 <column alignment="center" valignment="top" width="0">
25037 <column alignment="center" valignment="top" width="0">
25038 <column alignment="center" valignment="top" width="0">
25039 <column alignment="center" valignment="top" width="0">
25040 <column alignment="center" valignment="top" width="0">
25042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25045 \begin_layout Plain Layout
25051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25054 \begin_layout Plain Layout
25060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25063 \begin_layout Plain Layout
25069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25072 \begin_layout Plain Layout
25078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25081 \begin_layout Plain Layout
25100 \begin_layout Section
25102 \begin_inset Index idx
25105 \begin_layout Plain Layout
25106 きゃぷしょん@キャプション ! はいち@配置
25112 \begin_inset Index idx
25115 \begin_layout Plain Layout
25116 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
25122 \begin_inset CommandInset label
25124 name "sec:キャプションの配置"
25131 \begin_layout Standard
25135 \begin_layout Description
25136 図の場合: キャプションを図の下に置く
25139 \begin_layout Description
25140 表の場合: キャプションを表の上に置く
25143 \begin_layout Standard
25144 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
25160 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
25168 \begin_layout Standard
25174 \begin_layout Standard
25179 \begin_layout Plain Layout
25185 \begin_inset CommandInset ref
25187 reference "sec:キャプションの書式設定"
25201 \begin_inset Index idx
25204 \begin_layout Plain Layout
25205 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25212 article (KOMA-script)
25220 letter (KOMA-script)
25224 report (KOMA-script)
25227 \begin_inset space \thinspace{}
25234 パッケージにオプションを与える代わりに、文書クラスオプション
25236 captions=tableheading
25241 \begin_layout Standard
25242 \begin_inset VSpace bigskip
25245 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
25248 \begin_layout Standard
25253 usepackage[option]{sidecap}
25256 \begin_layout Standard
25257 という行を入れて、LaTeXパッケージ
25262 \begin_inset Index idx
25265 \begin_layout Plain Layout
25266 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
25271 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
25275 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
25286 \begin_layout Standard
25290 \begin_layout Plain Layout
25300 \begin_inset Note Note
25303 \begin_layout Plain Layout
25308 が導入されているときのみ表示されます。
25316 \begin_layout Standard
25317 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
25320 \begin_layout Standard
25322 \begin_inset CommandInset line
25333 \begin_layout Standard
25340 TabBesBeg}[1][1.0]{%
25341 \begin_inset Newline newline
25345 \begin_inset Phantom HPhantom
25348 \begin_layout Plain Layout
25349 \begin_inset space ~
25364 \begin_inset Newline newline
25368 \begin_inset Phantom HPhantom
25371 \begin_layout Plain Layout
25374 \begin_inset space ~
25389 \begin_inset Newline newline
25393 \begin_inset Phantom HPhantom
25396 \begin_layout Plain Layout
25399 \begin_inset space ~
25409 renewenvironment{table}[1]{
25411 begin{SCtable}[#1]##1}{
25416 \begin_layout Standard
25424 \begin_inset Newline newline
25428 \begin_inset Phantom HPhantom
25431 \begin_layout Plain Layout
25432 \begin_inset space ~
25447 \begin_inset Newline newline
25451 \begin_inset Phantom HPhantom
25454 \begin_layout Plain Layout
25455 \begin_inset space ~
25472 \begin_layout Standard
25479 FigBesBeg}[1][1.0]{%
25480 \begin_inset Newline newline
25484 \begin_inset Phantom HPhantom
25487 \begin_layout Plain Layout
25488 \begin_inset space ~
25503 \begin_inset Newline newline
25507 \begin_inset Phantom HPhantom
25510 \begin_layout Plain Layout
25511 \begin_inset space ~
25526 \begin_inset Newline newline
25530 \begin_inset Phantom HPhantom
25533 \begin_layout Plain Layout
25534 \begin_inset space ~
25544 renewenvironment{figure}[1]{
25546 begin{SCfigure}[#1]##1}{
25551 \begin_layout Standard
25559 \begin_inset Newline newline
25563 \begin_inset Phantom HPhantom
25566 \begin_layout Plain Layout
25567 \begin_inset space ~
25582 \begin_inset Newline newline
25586 \begin_inset Phantom HPhantom
25589 \begin_layout Plain Layout
25590 \begin_inset space ~
25607 \begin_layout Standard
25609 \begin_inset CommandInset line
25620 \begin_layout Standard
25621 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
25624 \begin_layout Standard
25632 \begin_layout Standard
25633 というコマンドを、フロートの前にTeXコードで入れてください。
25635 And insert the command
25638 \begin_layout Standard
25646 \begin_layout Standard
25649 in TeX-Code at the point where you want to get back to the original float
25653 \begin_layout Standard
25654 表フロートに対しては、対応するコマンド
25657 \begin_layout Standard
25671 \begin_layout Standard
25673 \begin_inset CommandInset ref
25675 reference "fig:図横キャプション"
25680 \begin_inset CommandInset ref
25682 reference "tab:表横キャプション"
25689 \begin_layout Standard
25690 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
25691 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
25694 \begin_layout Standard
25699 sidecaptionvpos{フロート型}{配置}
25702 \begin_layout Standard
25703 というコマンドを使用します。ここで「フロート型」は
25711 であり、「配置」は、上揃えの場合はtopの
25714 \begin_layout Standard
25727 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
25730 \begin_layout Standard
25735 sidecaptionvpos{figure}{c}
25738 \begin_layout Standard
25739 というコマンドを使用します。これは、図
25740 \begin_inset CommandInset ref
25742 reference "fig:図横キャプション-2"
25749 \begin_layout Standard
25750 \begin_inset VSpace medskip
25756 \begin_layout Standard
25759 The default caption width is the width of the image/table.
25760 For thin image/tables, like in Table
25763 \begin_inset space ~
25767 \begin_inset CommandInset ref
25769 reference "tab:表横キャプション"
25775 this leads to captions that are too thin.
25776 You can increase the width by specifying a factor that will be multiplied
25777 with the image/table width to get the caption width.
25778 The caption width will automatically be recalculated in case it would protrude
25779 over the page or column margin due to the specified width.
25784 can either be given as optional argument for
25793 \begin_layout Standard
25802 \begin_layout Standard
25805 or in the definition of
25815 with another value.
25816 If you do the latter, your factor will be the default if
25822 is used without an argument.
25826 \begin_inset space ~
25830 \begin_inset CommandInset ref
25832 reference "tab:cap-beside-tab-wider"
25838 the factor 5 was used.
25841 \begin_layout Standard
25844 \begin_inset Note Greyedout
25847 \begin_layout Plain Layout
25853 For floats with captions set beside, you cannot use the float placement
25857 \begin_inset space ~
25862 because it is not supported by
25874 \begin_layout Standard
25875 \begin_inset VSpace medskip
25883 \begin_inset CommandInset citation
25892 \begin_layout Standard
25893 \begin_inset Note Greyedout
25896 \begin_layout Plain Layout
25902 \begin_inset CommandInset ref
25904 reference "sub:参照位置"
25913 \begin_inset Index idx
25916 \begin_layout Plain Layout
25917 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
25922 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
25930 \begin_layout Standard
25934 \begin_layout Plain Layout
25946 \begin_layout Standard
25947 \begin_inset Float figure
25952 \begin_layout Plain Layout
25953 \begin_inset Graphics
25954 filename ../clipart/escher-lsd.eps
25956 scaleBeforeRotation
25963 \begin_layout Plain Layout
25964 \begin_inset Caption
25966 \begin_layout Plain Layout
25967 \begin_inset CommandInset label
25969 name "fig:図横キャプション"
25986 \begin_layout Standard
25990 \begin_layout Plain Layout
26002 \begin_layout Standard
26006 \begin_layout Plain Layout
26018 \begin_layout Standard
26019 \begin_inset Float table
26024 \begin_layout Plain Layout
26025 \begin_inset Caption
26027 \begin_layout Plain Layout
26028 \begin_inset CommandInset label
26030 name "tab:表横キャプション"
26042 \begin_layout Plain Layout
26043 \begin_inset Tabular
26044 <lyxtabular version="3" rows="4" columns="5">
26045 <features tabularvalignment="middle">
26046 <column alignment="center" valignment="top" width="0">
26047 <column alignment="center" valignment="top" width="0">
26048 <column alignment="center" valignment="top" width="0">
26049 <column alignment="center" valignment="top" width="0">
26050 <column alignment="center" valignment="top" width="0">
26052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26055 \begin_layout Plain Layout
26061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26064 \begin_layout Plain Layout
26070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26073 \begin_layout Plain Layout
26079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26082 \begin_layout Plain Layout
26088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26091 \begin_layout Plain Layout
26099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26102 \begin_layout Plain Layout
26108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26111 \begin_layout Plain Layout
26117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26120 \begin_layout Plain Layout
26126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26129 \begin_layout Plain Layout
26135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26138 \begin_layout Plain Layout
26146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26149 \begin_layout Plain Layout
26155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26158 \begin_layout Plain Layout
26164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26167 \begin_layout Plain Layout
26173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26176 \begin_layout Plain Layout
26182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26185 \begin_layout Plain Layout
26193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26196 \begin_layout Plain Layout
26202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26205 \begin_layout Plain Layout
26211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26214 \begin_layout Plain Layout
26220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26223 \begin_layout Plain Layout
26229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26232 \begin_layout Plain Layout
26251 \begin_layout Standard
26255 \begin_layout Plain Layout
26267 \begin_layout Standard
26271 \begin_layout Plain Layout
26275 sidecaptionvpos{figure}{c}
26281 \begin_inset Float figure
26286 \begin_layout Plain Layout
26287 \begin_inset Graphics
26288 filename ../clipart/escher-lsd.eps
26290 scaleBeforeRotation
26297 \begin_layout Plain Layout
26298 \begin_inset Caption
26300 \begin_layout Plain Layout
26301 \begin_inset CommandInset label
26303 name "fig:図横キャプション-2"
26307 これは図の横にある縦方向中央揃えのキャプションです。
26320 \begin_layout Standard
26324 \begin_layout Plain Layout
26336 \begin_layout Standard
26340 \begin_layout Plain Layout
26352 \begin_layout Standard
26353 \begin_inset Float table
26358 \begin_layout Plain Layout
26359 \begin_inset Caption
26361 \begin_layout Plain Layout
26364 \begin_inset CommandInset label
26366 name "tab:cap-beside-tab-wider"
26370 This is a caption is wider than the one in Table
26373 \begin_inset space ~
26377 \begin_inset CommandInset ref
26379 reference "tab:表横キャプション"
26391 \begin_layout Plain Layout
26392 \begin_inset Tabular
26393 <lyxtabular version="3" rows="4" columns="5">
26394 <features tabularvalignment="middle">
26395 <column alignment="center" valignment="top" width="0">
26396 <column alignment="center" valignment="top" width="0">
26397 <column alignment="center" valignment="top" width="0">
26398 <column alignment="center" valignment="top" width="0">
26399 <column alignment="center" valignment="top" width="0">
26401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26404 \begin_layout Plain Layout
26410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26413 \begin_layout Plain Layout
26419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26422 \begin_layout Plain Layout
26428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26431 \begin_layout Plain Layout
26437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26440 \begin_layout Plain Layout
26448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26451 \begin_layout Plain Layout
26457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26460 \begin_layout Plain Layout
26466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26469 \begin_layout Plain Layout
26475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26478 \begin_layout Plain Layout
26484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26487 \begin_layout Plain Layout
26495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26498 \begin_layout Plain Layout
26504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26507 \begin_layout Plain Layout
26513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26516 \begin_layout Plain Layout
26522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26525 \begin_layout Plain Layout
26531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26534 \begin_layout Plain Layout
26542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26545 \begin_layout Plain Layout
26551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26554 \begin_layout Plain Layout
26560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26563 \begin_layout Plain Layout
26569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26572 \begin_layout Plain Layout
26578 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26581 \begin_layout Plain Layout
26600 \begin_layout Standard
26604 \begin_layout Plain Layout
26616 \begin_layout Standard
26620 \begin_layout Plain Layout
26630 \begin_inset Note Note
26633 \begin_layout Plain Layout
26638 が導入されていないときのみ表示されます。
26646 \begin_layout Standard
26647 本節の残りの部分を出力で表示するには、LaTeXパッケージ
26654 \begin_layout Standard
26658 \begin_layout Plain Layout
26670 \begin_layout Section
26672 \begin_inset Index idx
26675 \begin_layout Plain Layout
26676 ふろーと@フロート ! ふろーといちらん@フロート一覧
26684 \begin_layout Standard
26685 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
26687 挿入\SpecialChar \menuseparator
26693 \begin_layout Standard
26694 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
26697 \begin_layout Standard
26698 本文書の終わりに、図一覧と表一覧があります。
26701 \begin_layout Chapter
26705 \begin_layout Section
26707 \begin_inset Index idx
26710 \begin_layout Plain Layout
26711 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
26719 \begin_layout Standard
26732 挿入\SpecialChar \menuseparator
26735 メニューで挿入することができます。注釈には、以下の三つの型があります。
26738 \begin_layout Description
26739 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
26740 \begin_inset Newline newline
26744 \begin_inset Newline newline
26748 \begin_inset Graphics
26749 filename ../clipart/LyXNoteImageQt4.png
26752 scaleBeforeRotation
26757 \begin_inset Note Note
26760 \begin_layout Plain Layout
26761 これは、出力には現れない注釈ボックスに書かれた文章です。
26769 \begin_layout Description
26770 コメント この注釈も出力には現れませんが、
26772 ファイル\SpecialChar \menuseparator
26773 書き出し\SpecialChar \menuseparator
26774 LaTeX (pdflatex) / (平文)
26776 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
26777 \begin_inset Newline newline
26781 \begin_inset Newline newline
26785 \begin_inset Graphics
26786 filename ../clipart/CommentNoteImageQt4.png
26789 scaleBeforeRotation
26794 \begin_inset Note Comment
26797 \begin_layout Plain Layout
26798 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
26806 \begin_layout Description
26807 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
26808 \begin_inset Newline newline
26812 \begin_inset Newline newline
26816 \begin_inset Graphics
26817 filename ../clipart/GreyedOutNoteImageQt4.png
26820 scaleBeforeRotation
26825 \begin_inset Newline newline
26832 \begin_layout Plain Layout
26836 renewenvironment{lyxgreyedout}
26839 \begin_layout Plain Layout
26843 textcolor[gray]{0.8}
26853 \begin_inset Note Greyedout
26856 \begin_layout Plain Layout
26857 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
26861 \begin_layout Plain Layout
26862 これは、淡色表示注釈内に脚注を用いた例です。
26876 \begin_layout Plain Layout
26880 renewenvironment{lyxgreyedout}
26883 \begin_layout Plain Layout
26897 \begin_inset Note Note
26900 \begin_layout Plain Layout
26901 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
26908 \begin_inset Newline newline
26912 \begin_inset Newline newline
26915 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
26918 \begin_layout Standard
26919 \begin_inset VSpace bigskip
26936 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
26937 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
26941 \begin_layout Standard
26942 \begin_inset VSpace bigskip
26947 You can change the text color of the greyed out notes in the menu
26949 Document\SpecialChar \menuseparator
26950 Settings\SpecialChar \menuseparator
26956 \begin_layout Section
26958 \begin_inset CommandInset label
26965 \begin_inset Index idx
26968 \begin_layout Plain Layout
26969 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
26975 \begin_inset Index idx
26978 \begin_layout Plain Layout
26987 \begin_layout Standard
26993 arg "footnote-insert"
27000 挿入\SpecialChar \menuseparator
27003 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
27004 \begin_inset Graphics
27005 filename clipart/footnoteQt4.png
27007 scaleBeforeRotation
27011 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
27012 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
27015 \begin_layout Standard
27020 \begin_layout Plain Layout
27021 \begin_inset CommandInset label
27036 \begin_layout Plain Layout
27040 newcounter{MyRepeatFoot}
27043 \begin_layout Plain Layout
27047 setcounter{MyRepeatFoot}{
27057 \begin_layout Standard
27058 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
27059 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
27062 \begin_layout Standard
27063 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
27064 \begin_inset CommandInset ref
27066 reference "sec:フロートの参照"
27070 節に説明されているようにして、本文中でこのラベルを相互参照してください。
27071 \begin_inset Newline newline
27075 \begin_inset CommandInset ref
27077 reference "fn:これは脚注の一例"
27084 \begin_layout Standard
27085 \begin_inset VSpace defskip
27091 \begin_layout Standard
27092 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
27098 コマンドを入れてください。脚注の本文は、表の後でTeXコード
27105 \begin_inset Newline newline
27109 \begin_inset Newline newline
27123 \begin_inset Newline newline
27129 \begin_layout Standard
27130 \begin_inset Tabular
27131 <lyxtabular version="3" rows="2" columns="1">
27132 <features tabularvalignment="middle">
27133 <column alignment="center" valignment="top" width="0">
27135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27138 \begin_layout Plain Layout
27143 \begin_layout Plain Layout
27156 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27159 \begin_layout Plain Layout
27164 \begin_layout Plain Layout
27187 \begin_layout Plain Layout
27200 \begin_layout Plain Layout
27210 \begin_layout Standard
27212 \begin_inset CommandInset ref
27214 reference "sub:長尺表での脚注"
27221 \begin_layout Standard
27222 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
27223 \begin_inset CommandInset ref
27225 reference "sec:ミニページ"
27229 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
27244 \begin_layout Standard
27245 \begin_inset Box Frameless
27255 height_special "totalheight"
27258 \begin_layout Plain Layout
27263 \begin_layout Plain Layout
27272 \begin_layout Plain Layout
27277 \begin_layout Plain Layout
27294 \begin_layout Standard
27298 \begin_layout Plain Layout
27311 \begin_layout Plain Layout
27319 \begin_inset VSpace defskip
27325 \begin_layout Standard
27326 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
27333 \begin_inset Newline newline
27336 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
27337 \begin_inset CommandInset ref
27339 reference "fn:これは脚注の一例"
27346 \begin_layout Standard
27351 newcounter{MyRepeatFoot}
27352 \begin_inset Newline newline
27357 setcounter{MyRepeatFoot}{
27362 \begin_layout Standard
27363 というコマンドを挿入しています。そして脚注マークは、
27366 \begin_layout Standard
27376 \begin_layout Standard
27380 \begin_layout Standard
27385 \begin_layout Plain Layout
27399 \begin_layout Standard
27400 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
27403 \begin_layout Standard
27413 \begin_layout Standard
27417 \begin_layout Standard
27422 \begin_layout Plain Layout
27436 \begin_layout Subsection
27438 \begin_inset CommandInset label
27445 \begin_inset Index idx
27448 \begin_layout Plain Layout
27457 \begin_layout Standard
27458 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
27461 \begin_layout Standard
27466 @addtoreset{footnote}{section}
27469 \begin_layout Standard
27473 \begin_layout Standard
27474 \begin_inset VSpace bigskip
27477 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
27480 \begin_layout Standard
27492 \begin_layout Standard
27496 \begin_layout Plain Layout
27513 \begin_layout Plain Layout
27514 これは、ローマ数字を使った脚注の例です。
27522 \begin_layout Standard
27523 付番様式を大文字ローマ数字に変更するには、上記コマンドの
27535 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
27547 を使用してください。記号を使って付「番」するには、
27556 \begin_layout Standard
27557 \begin_inset Note Greyedout
27560 \begin_layout Plain Layout
27565 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
27571 \begin_inset Newline newline
27575 \begin_inset Note Greyedout
27578 \begin_layout Plain Layout
27583 記号を使うと9個の脚注しか番号を振ることができません。
27591 \begin_layout Standard
27592 付番様式を変更した後、既定様式に戻すには、上記コマンドの
27608 \begin_layout Plain Layout
27624 \begin_layout Standard
27625 \begin_inset VSpace bigskip
27631 \begin_layout Standard
27632 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
27635 \begin_layout Standard
27640 numberwithin{footnote}{chapter}
27643 \begin_layout Standard
27650 コマンドを使用できるようにするためには、文書設定の
27657 \begin_inset space ~
27665 \begin_layout Standard
27669 \begin_layout Plain Layout
27673 numberwithin{footnote}{chapter}
27684 \begin_layout Plain Layout
27689 「章番号.脚注番号」スキームで番号を振られた脚注です。
27700 \begin_layout Plain Layout
27716 \begin_layout Standard
27717 \begin_inset Note Greyedout
27720 \begin_layout Plain Layout
27727 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
27735 \begin_layout Standard
27738 Roman{footnote}」スキームを得るには、
27744 の代わりに以下のコマンドを使用してください。
27747 \begin_layout Standard
27761 \begin_layout Subsection
27763 \begin_inset Index idx
27766 \begin_layout Plain Layout
27775 \begin_layout Standard
27776 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
27778 \begin_inset space \thinspace{}
27784 \begin_layout Standard
27794 \begin_inset Newline newline
27808 \begin_layout Standard
27809 \begin_inset VSpace bigskip
27812 二段組文書では、脚注は各段底部に表示されます(図
27813 \begin_inset CommandInset ref
27815 reference "fig:標準的脚注配置"
27820 \begin_inset CommandInset ref
27822 reference "fig:ftnright脚注配置"
27826 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
27829 \begin_layout Standard
27834 usepackage{ftnright}
27837 \begin_layout Standard
27838 というコマンドを書いて、LaTeXパッケージ
27843 \begin_inset Index idx
27846 \begin_layout Plain Layout
27847 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
27853 \begin_inset Float figure
27859 \begin_layout Plain Layout
27863 \begin_layout Plain Layout
27873 \begin_inset Graphics
27874 filename ../clipart/without_fntright.pdf
27876 scaleBeforeRotation
27884 \begin_layout Plain Layout
27894 \begin_layout Plain Layout
27895 \begin_inset Caption
27897 \begin_layout Plain Layout
27898 \begin_inset CommandInset label
27917 \begin_layout Standard
27918 \begin_inset Float figure
27924 \begin_layout Plain Layout
27928 \begin_layout Plain Layout
27938 \begin_inset Graphics
27939 filename ../clipart/with_fntright.pdf
27941 scaleBeforeRotation
27949 \begin_layout Plain Layout
27959 \begin_layout Plain Layout
27960 \begin_inset Caption
27962 \begin_layout Plain Layout
27963 \begin_inset CommandInset label
27965 name "fig:ftnright脚注配置"
27986 \begin_layout Standard
27987 \begin_inset VSpace bigskip
27991 \begin_inset CommandInset ref
27997 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
27998 \begin_inset Index idx
28001 \begin_layout Plain Layout
28007 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
28009 文書\SpecialChar \menuseparator
28010 設定\SpecialChar \menuseparator
28017 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
28020 \begin_layout Standard
28028 \begin_layout Standard
28032 \begin_layout Standard
28033 \begin_inset Float figure
28038 \begin_layout Plain Layout
28043 \begin_layout Plain Layout
28053 \begin_inset Graphics
28054 filename ../clipart/endnotes.pdf
28055 scaleBeforeRotation
28063 \begin_layout Plain Layout
28073 \begin_layout Plain Layout
28074 \begin_inset Caption
28076 \begin_layout Plain Layout
28077 \begin_inset CommandInset label
28083 後注 – 注を節ないし章末に別段落として印字します。
28096 \begin_layout Standard
28097 \begin_inset VSpace medskip
28100 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
28103 \begin_layout Standard
28110 notesname}{Anmerkungen}
28113 \begin_layout Standard
28114 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
28117 \begin_layout Standard
28118 \begin_inset VSpace medskip
28122 \begin_inset CommandInset ref
28124 reference "sub:脚注の付番"
28128 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
28140 を用いてください。後注番号をリセットするには、第
28141 \begin_inset CommandInset ref
28143 reference "sub:脚注の付番"
28164 \begin_layout Standard
28166 \begin_inset CommandInset ref
28187 \begin_layout Standard
28188 \begin_inset VSpace bigskip
28191 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
28196 \begin_inset Index idx
28199 \begin_layout Plain Layout
28200 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
28206 \begin_inset CommandInset citation
28215 \begin_layout Standard
28216 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
28217 \begin_inset CommandInset citation
28219 key "latexcompanion,latexguide,latexbook"
28232 \begin_inset Index idx
28235 \begin_layout Plain Layout
28236 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
28243 document class, you can adjust all footnote settings using class-specific
28247 \begin_inset CommandInset citation
28256 \begin_layout Section
28258 \begin_inset Index idx
28261 \begin_layout Plain Layout
28262 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
28270 \begin_layout Standard
28271 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
28273 挿入\SpecialChar \menuseparator
28281 arg "marginalnote-insert"
28286 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
28289 \begin_layout Standard
28291 \begin_inset Marginal
28294 \begin_layout Plain Layout
28303 \begin_layout Standard
28304 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
28305 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
28308 \begin_layout Standard
28309 \begin_inset VSpace bigskip
28312 傍注を内側余白に置くには、傍注の前にTeXコードで
28315 \begin_layout Standard
28323 \begin_layout Standard
28324 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
28328 \begin_layout Plain Layout
28338 \begin_inset Marginal
28341 \begin_layout Plain Layout
28350 \begin_inset Newline newline
28356 \begin_inset Note Greyedout
28359 \begin_layout Plain Layout
28360 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
28368 \begin_layout Standard
28372 \begin_layout Standard
28380 \begin_layout Standard
28385 \begin_layout Plain Layout
28395 \begin_inset Note Greyedout
28398 \begin_layout Plain Layout
28405 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
28413 \begin_layout Standard
28414 \begin_inset VSpace bigskip
28418 \begin_inset Marginal
28421 \begin_layout Plain Layout
28422 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
28428 \begin_inset CommandInset ref
28430 reference "sub:複数行"
28434 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
28435 \begin_inset space \thinspace{}
28439 \begin_inset Marginal
28442 \begin_layout Plain Layout
28443 \begin_inset space \hspace*{}
28447 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
28455 \begin_layout Standard
28456 \begin_inset VSpace bigskip
28462 \begin_layout Standard
28463 \begin_inset Note Greyedout
28466 \begin_layout Plain Layout
28471 通常、傍注は表やフロート、脚注の中では使用することができません。
28479 \begin_layout Standard
28480 \begin_inset VSpace bigskip
28486 \begin_layout Standard
28490 \begin_layout Plain Layout
28500 \begin_inset Note Note
28503 \begin_layout Plain Layout
28508 が導入されているときのみ表示されます。
28516 \begin_layout Standard
28522 \begin_inset Index idx
28525 \begin_layout Plain Layout
28526 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
28531 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
28535 パッケージが提供するコマンドを使うようになります。
28538 \begin_layout Standard
28543 usepackage{marginnote}
28544 \begin_inset Newline newline
28556 \begin_layout Standard
28561 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
28565 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
28566 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
28569 \begin_layout Standard
28575 \begin_layout Standard
28576 という形で書くことで設定することができます。ここで「オフセット」には、表
28577 \begin_inset CommandInset ref
28583 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
28588 \begin_inset space \thinspace{}
28592 \begin_inset Marginal
28595 \begin_layout Plain Layout
28597 \begin_inset space \thinspace{}
28609 \begin_layout Plain Layout
28619 \begin_layout Standard
28620 \begin_inset VSpace medskip
28627 を使うと、傍注の揃えを変更することもできます。たとえば、
28630 \begin_layout Standard
28637 raggedleftmarginnote}{
28640 \begin_inset Newline newline
28647 raggedrightmarginnote}{
28652 \begin_layout Standard
28653 というコマンドを使うと、中央揃えになります。
28657 raggedleftmarginnote
28659 とは、左側に表示されている傍注のことを指します
28663 \begin_layout Plain Layout
28669 raggedleftmarginnote}{
28674 \begin_layout Plain Layout
28680 raggedrightmarginnote}{
28688 \begin_inset Marginal
28691 \begin_layout Plain Layout
28692 この傍注の文章は中央揃えになっています。
28700 \begin_layout Standard
28707 raggedleftmarginnote}{
28710 \begin_inset Newline newline
28717 raggedrightmarginnote}{
28725 \begin_layout Plain Layout
28731 raggedleftmarginnote}{
28736 \begin_layout Plain Layout
28742 raggedrightmarginnote}{
28752 \begin_layout Standard
28756 \begin_layout Standard
28757 \begin_inset VSpace medskip
28765 \begin_inset CommandInset citation
28774 \begin_layout Standard
28775 \begin_inset VSpace bigskip
28778 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
28786 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
28789 \begin_layout Standard
28799 \begin_inset Newline newline
28809 \begin_inset Newline newline
28813 \begin_inset Phantom HPhantom
28816 \begin_layout Plain Layout
28819 \begin_inset space ~
28836 \begin_inset Newline newline
28840 \begin_inset Phantom HPhantom
28843 \begin_layout Plain Layout
28846 \begin_inset space ~
28863 \begin_layout Standard
28867 \begin_layout Plain Layout
28878 \begin_layout Plain Layout
28889 \begin_layout Plain Layout
28900 \begin_layout Plain Layout
28914 \begin_inset Marginal
28917 \begin_layout Plain Layout
28918 これは、定義したヘッダをつけた傍注です。
28927 \begin_layout Plain Layout
28938 \begin_layout Plain Layout
28952 \begin_inset Note Note
28955 \begin_layout Plain Layout
28956 傍注書式は、この例の分だけ変更してあります。
28964 \begin_layout Standard
28968 \begin_layout Plain Layout
28978 \begin_inset Note Note
28981 \begin_layout Plain Layout
28986 が導入されていないときのみ表示されます。
28994 \begin_layout Standard
28995 本節の以下の部分を出力に表示するには、LaTeXパッケージ
29002 \begin_layout Standard
29006 \begin_layout Plain Layout
29018 \begin_layout Chapter
29022 \begin_layout Section
29024 \begin_inset Index idx
29027 \begin_layout Plain Layout
29036 \begin_layout Standard
29037 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
29038 \begin_inset CommandInset ref
29040 reference "sec:ミニページ"
29045 \begin_inset CommandInset ref
29051 節参照)、単語がハイフネートされるのを予防したり(第
29052 \begin_inset CommandInset ref
29054 reference "sec:ハイフネーションの回避"
29059 \begin_inset CommandInset ref
29061 reference "sub:垂直揃え"
29065 節参照)、あるいは文章の背景色を設定したり(第
29066 \begin_inset CommandInset ref
29068 reference "sec:色付きボックス"
29075 \begin_layout Standard
29078 挿入\SpecialChar \menuseparator
29086 arg "box-insert Frameless"
29091 を使って挿入することができます。すると、
29092 \begin_inset Graphics
29093 filename ../clipart/BoxInsetDefaultQt4.png
29095 scaleBeforeRotation
29103 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
29107 メニューを選択すると現れるボックスダイアログでは、
29123 型は、新規ボックスの既定値となっており、第
29124 \begin_inset CommandInset ref
29126 reference "sec:ミニページ"
29135 \begin_inset CommandInset ref
29137 reference "sec:Parboxes"
29146 \begin_inset CommandInset ref
29148 reference "sec:ハイフネーションの回避"
29155 \begin_layout Standard
29156 ボックスは付番されないので、フロートや脚注のように参照することはできません。
29159 \begin_layout Standard
29160 \begin_inset Note Greyedout
29163 \begin_layout Plain Layout
29172 環境の単独要素とすべきではありません。
29180 \begin_layout Standard
29181 \begin_inset Note Greyedout
29184 \begin_layout Plain Layout
29185 【註】理由は不明ですが、枠付きボックスを使用している場合には、
29198 \begin_inset CommandInset ref
29200 reference "sec:ハイフネーションの回避"
29212 \begin_layout Section
29214 \begin_inset CommandInset label
29216 name "sec:ボックスダイアログ"
29221 \begin_inset Index idx
29224 \begin_layout Plain Layout
29225 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
29233 \begin_layout Subsection
29235 \begin_inset Index idx
29238 \begin_layout Plain Layout
29239 ぼっくす@ボックス ! すんぽう@寸法
29247 \begin_layout Standard
29256 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
29257 \begin_inset CommandInset ref
29267 フィールドには、加えて以下の寸法を使用することができます。
29270 \begin_layout Description
29271 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
29272 \begin_inset Newline newline
29276 \begin_inset Newline newline
29280 \begin_inset Newline newline
29284 \begin_inset Box Boxed
29294 height_special "depth"
29297 \begin_layout Plain Layout
29305 \begin_inset Newline newline
29309 \begin_inset Newline newline
29315 \begin_layout Description
29316 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
29317 \begin_inset Box Boxed
29327 height_special "height"
29330 \begin_layout Plain Layout
29340 \begin_layout Description
29342 \begin_inset Box Boxed
29352 height_special "totalheight"
29355 \begin_layout Plain Layout
29365 \begin_layout Description
29366 幅 これはボックスの幅を高さに設定します。
29367 \begin_inset Box Boxed
29377 height_special "width"
29380 \begin_layout Plain Layout
29390 \begin_layout Subsection
29392 \begin_inset Index idx
29395 \begin_layout Plain Layout
29396 ぼっくす@ボックス ! もじそろえ@文字揃え
29404 \begin_layout Standard
29409 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
29412 \begin_layout Description
29414 \begin_inset Box Boxed
29424 height_special "totalheight"
29427 \begin_layout Plain Layout
29437 \begin_layout Description
29439 \begin_inset Box Boxed
29449 height_special "totalheight"
29452 \begin_layout Plain Layout
29462 \begin_layout Description
29464 \begin_inset Box Boxed
29474 height_special "totalheight"
29477 \begin_layout Plain Layout
29487 \begin_layout Standard
29488 \begin_inset Note Greyedout
29491 \begin_layout Plain Layout
29496 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
29504 \begin_layout Standard
29505 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
29508 \begin_layout Standard
29509 \begin_inset VSpace bigskip
29516 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
29519 \begin_layout Description
29521 \begin_inset Box Boxed
29531 height_special "totalheight"
29534 \begin_layout Plain Layout
29544 \begin_layout Description
29546 \begin_inset Box Boxed
29556 height_special "totalheight"
29559 \begin_layout Plain Layout
29569 \begin_layout Description
29571 \begin_inset Box Boxed
29581 height_special "totalheight"
29584 \begin_layout Plain Layout
29594 \begin_layout Description
29595 広げる これは例示のための本文行です。
29596 \begin_inset Box Boxed
29606 height_special "totalheight"
29609 \begin_layout Plain Layout
29614 \begin_layout Plain Layout
29619 \begin_layout Plain Layout
29629 \begin_layout Standard
29630 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
29633 \begin_layout Standard
29634 \begin_inset VSpace bigskip
29641 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
29644 \begin_layout Standard
29646 \begin_inset Box Boxed
29656 height_special "totalheight"
29659 \begin_layout Plain Layout
29664 \begin_layout Plain Layout
29669 \begin_layout Plain Layout
29679 \begin_layout Standard
29684 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
29687 \begin_layout Standard
29689 \begin_inset Box Boxed
29699 height_special "totalheight"
29702 \begin_layout Plain Layout
29703 このボックスの文章は水平方向に広げてあります。
29711 \begin_layout Subsection
29713 \begin_inset CommandInset label
29720 \begin_inset Index idx
29723 \begin_layout Plain Layout
29724 ぼっくす@ボックス ! そうしょく@装飾
29732 \begin_layout Standard
29737 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
29740 \begin_layout Description
29744 \begin_layout Description
29745 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
29752 \begin_inset Box Boxed
29762 height_special "totalheight"
29765 \begin_layout Plain Layout
29775 \begin_layout Description
29776 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
29777 \begin_inset space \thinspace{}
29781 \begin_inset Box ovalbox
29791 height_special "totalheight"
29794 \begin_layout Plain Layout
29804 \begin_layout Description
29805 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
29806 \begin_inset space \thinspace{}
29810 \begin_inset Box Ovalbox
29820 height_special "totalheight"
29823 \begin_layout Plain Layout
29833 \begin_layout Description
29834 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
29841 \begin_inset space \thinspace{}
29845 \begin_inset Box Shadowbox
29855 height_special "totalheight"
29858 \begin_layout Plain Layout
29868 \begin_layout Description
29869 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
29873 \begin_layout Plain Layout
29875 \begin_inset CommandInset ref
29877 reference "sec:色付きボックス"
29886 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
29887 \begin_inset Box Shaded
29897 height_special "totalheight"
29900 \begin_layout Plain Layout
29909 \begin_layout Description
29910 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
29911 \begin_inset space \thinspace{}
29921 \begin_inset space \thinspace{}
29931 \begin_inset space \thinspace{}
29941 \begin_inset space \thinspace{}
29945 \begin_inset space \thinspace{}
29949 \begin_inset space \thinspace{}
29953 \begin_inset Box Doublebox
29963 height_special "totalheight"
29966 \begin_layout Plain Layout
29976 \begin_layout Standard
29977 \begin_inset VSpace bigskip
29980 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
29985 \begin_inset Index idx
29988 \begin_layout Plain Layout
29989 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
29997 \begin_layout Standard
29998 \begin_inset VSpace bigskip
30005 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
30025 \begin_inset Box Framed
30035 height_special "totalheight"
30038 \begin_layout Plain Layout
30047 \begin_layout Section
30049 \begin_inset Index idx
30052 \begin_layout Plain Layout
30053 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
30061 \begin_layout Standard
30069 \begin_inset space \thinspace{}
30072 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
30073 \begin_inset space \thinspace{}
30079 \begin_layout Standard
30089 \begin_layout Standard
30093 \begin_layout Plain Layout
30105 \begin_inset Box Boxed
30115 height_special "totalheight"
30118 \begin_layout Plain Layout
30127 \begin_inset space \thinspace{}
30131 \begin_inset space \thinspace{}
30135 \begin_inset space \thinspace{}
30147 \begin_layout Plain Layout
30161 \begin_layout Standard
30162 \begin_inset VSpace bigskip
30165 枠とボックスの内容との空白は、すべての枠様式について3
30166 \begin_inset space \thinspace{}
30169 ptが既定値になっています。これは、長さ
30175 を別の値に設定することによって変更することができます。たとえば
30178 \begin_layout Standard
30188 \begin_layout Standard
30190 \begin_inset space \thinspace{}
30193 ptにし、以下のボックスのようになります。
30196 \begin_layout Standard
30200 \begin_layout Plain Layout
30212 \begin_inset Box Boxed
30222 height_special "totalheight"
30225 \begin_layout Plain Layout
30234 \begin_inset space \thinspace{}
30238 \begin_inset space \thinspace{}
30242 \begin_inset space \thinspace{}
30254 \begin_layout Plain Layout
30268 \begin_layout Standard
30269 \begin_inset VSpace bigskip
30272 楕円形ボックスの丸い角の直径は、コマンド
30281 \begin_layout Standard
30289 \begin_layout Standard
30291 \begin_inset space \thinspace{}
30297 \begin_layout Standard
30305 \begin_layout Standard
30309 \begin_inset space \thinspace{}
30313 \begin_inset space \thinspace{}
30327 \begin_layout Standard
30331 \begin_layout Plain Layout
30341 \begin_inset Box Ovalbox
30351 height_special "totalheight"
30354 \begin_layout Plain Layout
30363 \begin_inset space \thinspace{}
30367 \begin_inset space \thinspace{}
30371 \begin_inset space \thinspace{}
30383 \begin_layout Plain Layout
30395 \begin_layout Standard
30396 \begin_inset VSpace bigskip
30405 を変更することで調整できます。以下のボックスでは
30408 \begin_layout Standard
30418 \begin_layout Standard
30420 \begin_inset space \thinspace{}
30426 \begin_layout Standard
30430 \begin_layout Plain Layout
30442 \begin_inset Box Shadowbox
30452 height_special "totalheight"
30455 \begin_layout Plain Layout
30464 \begin_inset space \thinspace{}
30468 \begin_inset space \thinspace{}
30472 \begin_inset space \thinspace{}
30484 \begin_layout Plain Layout
30498 \begin_layout Standard
30499 \begin_inset VSpace bigskip
30505 \begin_layout Standard
30513 \begin_inset space \thinspace{}
30516 ptです。ボックスの中身と枠の間の空白の既定値は9
30517 \begin_inset space \thinspace{}
30526 の値を変えることで変更することができます。たとえば、下記の
30533 \begin_layout Standard
30541 \begin_inset Newline newline
30551 \begin_layout Standard
30552 というTeXコードコマンドで設定してあります。
30556 \begin_layout Plain Layout
30565 \begin_layout Plain Layout
30577 \begin_inset Box Framed
30587 height_special "totalheight"
30590 \begin_layout Plain Layout
30604 \begin_layout Plain Layout
30613 \begin_layout Plain Layout
30627 \begin_layout Standard
30628 \begin_inset VSpace bigskip
30634 \begin_layout Standard
30639 ボックスでは、ボックスの内容と枠の余白の既定値は3
30640 \begin_inset space \thinspace{}
30649 の値を変更することで変えられます。既定の背景色である赤色は、
30653 definecolor{shadebox}
30655 コマンドで局所的に変更することもできますし、
30657 ツール\SpecialChar \menuseparator
30658 設定\SpecialChar \menuseparator
30659 色\SpecialChar \menuseparator
30662 メニューからグローバルに変更することもできます。
30669 \begin_inset CommandInset ref
30671 reference "sec:色付きの表"
30679 \begin_layout Plain Layout
30690 をプリアンブルに読み込む必要があります。第
30691 \begin_inset CommandInset ref
30693 reference "sec:色付きボックス"
30705 \begin_layout Standard
30706 たとえば、下記の影付き背景ボックスの外見は
30709 \begin_layout Standard
30719 \begin_inset Newline newline
30726 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
30729 \begin_layout Standard
30730 というTeXコードコマンドを使って設定してあります。
30733 \begin_layout Standard
30737 \begin_layout Plain Layout
30746 \begin_layout Plain Layout
30750 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
30756 \begin_inset Box Shaded
30766 height_special "totalheight"
30769 \begin_layout Plain Layout
30785 \begin_layout Plain Layout
30794 \begin_layout Plain Layout
30798 definecolor{shadecolor}{rgb}{1,0,0}
30806 \begin_layout Standard
30807 \begin_inset VSpace bigskip
30810 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
30813 \begin_layout Section
30815 \begin_inset CommandInset label
30822 \begin_inset Index idx
30825 \begin_layout Plain Layout
30826 ぼっくす@ボックス ! みにぺーじ@ミニページ
30834 \begin_layout Standard
30835 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
30838 \begin_layout Standard
30839 ミニページは、複数の言語を含む文書を執筆する際に便利です。
30842 \begin_layout Standard
30843 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
30847 \SpecialChar \menuseparator
30852 \SpecialChar \menuseparator
30857 メニューで挿入した水平フィルで隔てられています。
30858 \begin_inset Newpage newpage
30864 \begin_layout Standard
30865 \begin_inset Box Frameless
30875 height_special "totalheight"
30878 \begin_layout Plain Layout
30879 Dies ist ein deutscher Text.
30880 Dies ist ein deutscher Text.
30881 Dies ist ein deutscher Text.
30882 Dies ist ein deutscher Text.
30883 Dies ist ein deutscher Text.
30884 Dies ist ein deutscher Text.
30885 Dies ist ein deutscher Text.
30886 Dies ist ein deutscher Text.
30887 Dies ist ein deutscher Text.
30888 Dies ist ein deutscher Text.
30889 Dies ist ein deutscher Text.
30890 Dies ist ein deutscher Text.
30891 Dies ist ein deutscher Text
30895 \begin_layout Plain Layout
30896 Dies ist eine deutsche Fußnote.
30902 Dies ist ein deutscher Text.
30903 Dies ist ein deutscher Text.
30909 \begin_inset space \hfill{}
30913 \begin_inset Box Frameless
30923 height_special "totalheight"
30926 \begin_layout Plain Layout
30927 This is an English Text.
30928 This is an English Text.
30929 This is an English Text.
30930 This is an English Text.
30931 This is an English Text.
30932 This is an English Text.
30933 This is an English Text.
30934 This is an English Text.
30935 This is an English Text.
30936 This is an English Text.
30937 This is an English Text.
30938 This is an English Text.
30939 This is an English Text.
30940 This is an English Text.
30941 This is an English Text.
30942 This is an English Text.
30946 \begin_layout Plain Layout
30947 This is an English footnote.
30952 This is an English Text.
30960 \begin_layout Standard
30961 \begin_inset VSpace bigskip
30964 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
30965 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
30968 \begin_layout Standard
30970 \begin_inset Tabular
30971 <lyxtabular version="3" rows="3" columns="4">
30972 <features tabularvalignment="middle">
30973 <column alignment="center" valignment="top" width="0pt">
30974 <column alignment="center" valignment="top" width="0pt">
30975 <column alignment="center" valignment="top" width="0pt">
30976 <column alignment="center" valignment="top" width="0pt">
30978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30981 \begin_layout Plain Layout
30987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30990 \begin_layout Plain Layout
30996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30999 \begin_layout Plain Layout
31004 \begin_layout Plain Layout
31015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31018 \begin_layout Plain Layout
31026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31029 \begin_layout Plain Layout
31035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31038 \begin_layout Plain Layout
31044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31047 \begin_layout Plain Layout
31053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31056 \begin_layout Plain Layout
31064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31067 \begin_layout Plain Layout
31073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31076 \begin_layout Plain Layout
31082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31085 \begin_layout Plain Layout
31091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31094 \begin_layout Plain Layout
31108 \begin_layout Standard
31110 \begin_inset Box Frameless
31120 height_special "totalheight"
31123 \begin_layout Plain Layout
31125 \begin_inset Tabular
31126 <lyxtabular version="3" rows="3" columns="4">
31127 <features tabularvalignment="middle">
31128 <column alignment="center" valignment="top" width="0pt">
31129 <column alignment="center" valignment="top" width="0pt">
31130 <column alignment="center" valignment="top" width="0pt">
31131 <column alignment="center" valignment="top" width="0pt">
31133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31136 \begin_layout Plain Layout
31142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31145 \begin_layout Plain Layout
31151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31154 \begin_layout Plain Layout
31159 \begin_layout Plain Layout
31170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31173 \begin_layout Plain Layout
31181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31184 \begin_layout Plain Layout
31190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31193 \begin_layout Plain Layout
31199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31202 \begin_layout Plain Layout
31208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31211 \begin_layout Plain Layout
31219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31222 \begin_layout Plain Layout
31228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31231 \begin_layout Plain Layout
31237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31240 \begin_layout Plain Layout
31246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31249 \begin_layout Plain Layout
31268 \begin_layout Standard
31269 \begin_inset VSpace bigskip
31272 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
31276 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
31279 \begin_layout Standard
31280 ミニページは、文章部に背景色を与えるのに使用することもできます。第
31281 \begin_inset CommandInset ref
31283 reference "sub:段落の着色"
31290 \begin_layout Standard
31291 \begin_inset Note Greyedout
31294 \begin_layout Plain Layout
31299 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
31307 \begin_layout Section
31309 \begin_inset CommandInset label
31311 name "sec:Parboxes"
31316 \begin_inset Index idx
31319 \begin_layout Plain Layout
31320 ぼっくす@ボックス ! Parboxes
31328 \begin_layout Standard
31329 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
31332 \begin_layout Standard
31334 \begin_inset Box Frameless
31344 height_special "totalheight"
31347 \begin_layout Plain Layout
31348 これはparbox内の文章です。これはparbox内の文章です。
31351 \begin_layout Plain Layout
31356 \begin_layout Plain Layout
31357 これはparbox内の脚注であり、したがって表示はされません。
31370 \begin_layout Section
31372 \begin_inset Index idx
31375 \begin_layout Plain Layout
31376 ぼっくす@ボックス ! もじよう@文字用
31384 \begin_layout Subsection
31386 \begin_inset CommandInset label
31388 name "sec:ハイフネーションの回避"
31393 \begin_inset Index idx
31396 \begin_layout Plain Layout
31397 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
31405 \begin_layout Standard
31406 単語や文章がハイフネートされるのを防ぐには、
31411 \begin_inset Newline newline
31417 \begin_layout Standard
31418 This line is an example to show how you can prevent the hyphenation of
31419 \begin_inset Quotes eld
31423 \begin_inset Quotes erd
31429 \begin_layout Standard
31430 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
31441 \begin_layout Standard
31445 \begin_layout Standard
31446 This line is an example to show how you can prevent the hyphenation of
31447 \begin_inset Box Frameless
31457 height_special "totalheight"
31460 \begin_layout Plain Layout
31461 \begin_inset Quotes eld
31465 \begin_inset Quotes erd
31476 \begin_layout Standard
31477 別の方法としては、以下のように、単語の前に直接TeXコードで「
31486 \begin_layout Standard
31487 This line is an example to show how you can prevent the hyphenation of
31488 \begin_inset Quotes eld
31495 \begin_layout Plain Layout
31505 \begin_inset Quotes erd
31511 \begin_layout Standard
31512 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
31516 \SpecialChar \menuseparator
31521 \SpecialChar \menuseparator
31529 arg "newline-insert newline"
31532 )から改行を単語の前に入れてください。
31535 \begin_layout Standard
31536 This line is an example to show how you can prevent the hyphenation of
31537 \begin_inset Newline newline
31541 \begin_inset Box Frameless
31551 height_special "totalheight"
31554 \begin_layout Plain Layout
31555 \begin_inset Quotes eld
31559 \begin_inset Quotes erd
31570 \begin_layout Subsection
31572 \begin_inset CommandInset label
31579 \begin_inset Index idx
31582 \begin_layout Plain Layout
31583 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
31589 \begin_inset Index idx
31592 \begin_layout Plain Layout
31593 ぼっくす@ボックス ! Raiseboxes
31601 \begin_layout Standard
31608 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
31617 \begin_layout Standard
31622 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
31625 \begin_layout Standard
31626 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
31629 \begin_layout Standard
31630 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
31633 \begin_layout Standard
31643 \begin_layout Standard
31644 というコマンドを挿入してください。単語の後には、閉じ括弧「
31649 \begin_inset Newline newline
31655 \begin_layout Standard
31656 This is a text line with the word
31660 \begin_layout Plain Layout
31672 \begin_inset Quotes eld
31676 \begin_inset Quotes erd
31683 \begin_layout Plain Layout
31693 \begin_layout Standard
31694 \begin_inset VSpace bigskip
31697 行中の文字を上げ下げすると、以下のように行間が広がります。
31700 \begin_layout Standard
31701 This is a text line with the word
31705 \begin_layout Plain Layout
31717 \begin_inset Quotes eld
31721 \begin_inset Quotes erd
31728 \begin_layout Plain Layout
31736 \begin_inset Newline newline
31739 This is a text line with the word
31743 \begin_layout Plain Layout
31753 \begin_inset Quotes eld
31757 \begin_inset Quotes erd
31764 \begin_layout Plain Layout
31774 \begin_layout Standard
31775 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
31778 \begin_layout Standard
31788 \begin_layout Standard
31792 \begin_layout Standard
31793 This is a text line with the word
31797 \begin_layout Plain Layout
31809 \begin_inset Quotes eld
31813 \begin_inset Quotes erd
31820 \begin_layout Plain Layout
31828 \begin_inset Newline newline
31831 This is a text line with the word
31835 \begin_layout Plain Layout
31839 raisebox{0.5cm}[0pt]{
31845 \begin_inset Quotes eld
31849 \begin_inset Quotes erd
31856 \begin_layout Plain Layout
31866 \begin_layout Section
31868 \begin_inset CommandInset label
31875 \begin_inset Index idx
31878 \begin_layout Plain Layout
31879 ぼっくす@ボックス ! いろつき@色付き
31887 \begin_layout Subsection
31889 \begin_inset Index idx
31892 \begin_layout Plain Layout
31901 \begin_layout Standard
31902 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
31907 \begin_inset Index idx
31910 \begin_layout Plain Layout
31911 LaTeXぱっけーじ@LaTeXパッケージ ! color
31916 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
31919 \begin_layout Standard
31924 @ifundefined{textcolor}
31925 \begin_inset Newline newline
31929 \begin_inset Phantom HPhantom
31932 \begin_layout Plain Layout
31935 \begin_inset space ~
31945 usepackage{color}}{}
31948 \begin_layout Standard
31953 パッケージは、文章を着色するとLyXが自動的に読み込みます
31957 \begin_layout Plain Layout
31958 これが二度読み込まれることを回避するには、
31972 \begin_layout Standard
31973 \begin_inset VSpace medskip
31982 コマンドを使って作ります。これは、以下のような書式で使われます。
31985 \begin_layout Standard
31990 colorbox{color}{ボックスの内容}
31993 \begin_layout Standard
31994 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
31997 \begin_layout Standard
31999 \begin_inset Newline newline
32035 \begin_inset Newline newline
32039 \begin_inset CommandInset ref
32041 reference "sec:色付きの表"
32045 節に述べられているようにすれば、自前の色を定義することもできます。
32048 \begin_layout Standard
32049 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
32052 \begin_layout Standard
32060 \begin_layout Standard
32061 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
32066 \begin_inset Newline newline
32072 \begin_layout Standard
32077 \begin_layout Plain Layout
32090 \begin_layout Plain Layout
32100 \begin_layout Standard
32101 \begin_inset VSpace bigskip
32104 ボックスの枠を別の色にしたい場合には、以下の書式で
32113 \begin_layout Standard
32118 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
32121 \begin_layout Standard
32134 の拡張です。枠の太さと枠とボックスの中身との余白は、第
32135 \begin_inset CommandInset ref
32156 \begin_layout Standard
32160 \begin_layout Standard
32165 fcolorbox{cyan}{magenta}{
32168 \begin_layout Standard
32172 \begin_layout Standard
32174 \begin_inset space \thinspace{}
32178 \begin_inset Newline newline
32185 \begin_layout Plain Layout
32200 \begin_layout Plain Layout
32204 fcolorbox{cyan}{magenta}{
32209 これは着色した色付きボックス中の文章です。
32213 \begin_layout Plain Layout
32223 \begin_layout Standard
32224 \begin_inset VSpace bigskip
32227 もちろん、色付きボックスの中に色付き文字を入れることもできます
32228 \begin_inset Newline newline
32235 \begin_layout Plain Layout
32239 fcolorbox{cyan}{magenta}{
32246 これは着色した色付きボックス中の色付き文章です。
32252 \begin_layout Plain Layout
32263 \begin_layout Plain Layout
32277 \begin_layout Standard
32280 \begin_inset VSpace medskip
32286 \begin_layout Standard
32287 \begin_inset Note Greyedout
32290 \begin_layout Plain Layout
32295 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
32303 \begin_layout Subsection
32305 \begin_inset CommandInset label
32312 \begin_inset Index idx
32315 \begin_layout Plain Layout
32324 \begin_layout Standard
32325 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
32334 \begin_layout Standard
32342 \begin_layout Standard
32343 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
32350 \begin_layout Standard
32354 \begin_layout Plain Layout
32358 colorbox{lightgrey}{
32364 \begin_inset Box Frameless
32374 height_special "totalheight"
32377 \begin_layout Plain Layout
32378 これは背景色を付けた文章です。これは背景色を付けた文章です。
32381 \begin_layout Plain Layout
32382 \begin_inset VSpace defskip
32389 \begin_layout Plain Layout
32395 を付けることもできますし、図表を挿入することもできます。
32398 \begin_layout Plain Layout
32400 \begin_inset Tabular
32401 <lyxtabular version="3" rows="3" columns="3">
32402 <features tabularvalignment="middle">
32403 <column alignment="center" valignment="top" width="0">
32404 <column alignment="center" valignment="top" width="0">
32405 <column alignment="center" valignment="top" width="0">
32407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32410 \begin_layout Plain Layout
32416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32419 \begin_layout Plain Layout
32425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32428 \begin_layout Plain Layout
32436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32439 \begin_layout Plain Layout
32445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32448 \begin_layout Plain Layout
32450 \begin_inset Quotes erd
32458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32461 \begin_layout Plain Layout
32469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32472 \begin_layout Plain Layout
32478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32481 \begin_layout Plain Layout
32487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32490 \begin_layout Plain Layout
32510 \begin_layout Plain Layout
32520 \begin_layout Section
32524 \begin_layout Standard
32525 本節で述べられているコマンドを使用するには、文書プリアンブルで
32528 \begin_layout Standard
32533 @ifundefined{rotatebox}
32534 \begin_inset Newline newline
32538 \begin_inset Phantom HPhantom
32541 \begin_layout Plain Layout
32544 \begin_inset space ~
32554 usepackage{graphicx}}{}
32557 \begin_layout Standard
32563 \begin_inset Index idx
32566 \begin_layout Plain Layout
32567 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
32572 LaTeXパッケージを読み込む必要があります。
32575 \begin_layout Standard
32576 \begin_inset Note Greyedout
32579 \begin_layout Plain Layout
32584 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
32592 \begin_layout Standard
32593 \begin_inset Note Greyedout
32596 \begin_layout Plain Layout
32601 フロートは回転伸縮したボックスの中に入れることはできません。
32609 \begin_layout Subsection
32611 \begin_inset Index idx
32614 \begin_layout Plain Layout
32615 ぼっくす@ボックス ! かいてんした@回転した
32621 \begin_inset Index idx
32624 \begin_layout Plain Layout
32625 かいてん@回転 ! そざいの@素材の---
32631 \begin_inset Index idx
32634 \begin_layout Plain Layout
32641 \begin_inset Index idx
32644 \begin_layout Plain Layout
32645 ひょうのちょうせい@表の調整 ! かいてん@回転
32653 \begin_layout Standard
32654 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
32660 コマンドを使用すれば作成することができます。
32663 \begin_layout Standard
32668 rotatebox[回転の原点]{回転角}{ボックスの内容}
32671 \begin_layout Standard
32676 の形で指定します。位置として指定可能なのは、
32696 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
32700 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
32704 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
32707 \begin_layout Standard
32708 以下の例では、「回転した」文章の前にTeXコードで
32712 rotatebox[origin=c]{60}{
32714 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
32721 \begin_layout Standard
32726 \begin_layout Plain Layout
32730 rotatebox[origin=c]{60}{
32739 \begin_layout Plain Layout
32749 \begin_layout Standard
32750 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
32753 \begin_layout Standard
32758 \begin_layout Plain Layout
32762 rotatebox[origin=r]{-60}{
32768 \begin_inset Box Doublebox
32778 height_special "totalheight"
32781 \begin_layout Plain Layout
32791 \begin_layout Plain Layout
32802 \begin_layout Plain Layout
32806 rotatebox[origin=lb]{60}{
32812 \begin_inset Formula $\int A\,\mathrm{d}x=B$
32819 \begin_layout Plain Layout
32829 \begin_layout Standard
32830 あるいは、以下のように図や表を入れることもできます。
32833 \begin_layout Standard
32838 \begin_layout Plain Layout
32842 rotatebox[origin=lb]{90}{
32848 \begin_inset Graphics
32849 filename ../clipart/platypus.eps
32859 \begin_layout Plain Layout
32870 \begin_layout Plain Layout
32874 rotatebox[origin=l]{-90}{
32880 \begin_inset Tabular
32881 <lyxtabular version="3" rows="2" columns="2">
32882 <features tabularvalignment="middle">
32883 <column alignment="center" valignment="top" width="0">
32884 <column alignment="center" valignment="top" width="0">
32886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32889 \begin_layout Plain Layout
32895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32898 \begin_layout Plain Layout
32906 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32909 \begin_layout Plain Layout
32915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32918 \begin_layout Plain Layout
32933 \begin_layout Plain Layout
32943 \begin_layout Subsection
32945 \begin_inset Index idx
32948 \begin_layout Plain Layout
32949 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
32955 \begin_inset Index idx
32958 \begin_layout Plain Layout
32959 しんしゅく@伸縮 ! そざいの@素材の---
32965 \begin_inset Index idx
32968 \begin_layout Plain Layout
32969 ず@図 ! のしんしゅく@---の伸縮
32975 \begin_inset Index idx
32978 \begin_layout Plain Layout
32979 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
32987 \begin_layout Standard
33003 \begin_layout Standard
33013 \begin_layout Standard
33018 scalebox{水平方向}[垂直方向]{ボックスの内容}
33021 \begin_layout Standard
33022 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
33025 \begin_layout Standard
33032 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
33036 \begin_layout Plain Layout
33049 \begin_layout Plain Layout
33059 \begin_layout Standard
33064 scalebox{2}[1]{こんにちは}
33070 \begin_layout Plain Layout
33083 \begin_layout Plain Layout
33093 \begin_layout Standard
33094 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
33098 scalebox{-1}[1]{こんにちは}
33100 というコマンドは、右のように反転文字を生成するのに使用できます:
33104 \begin_layout Plain Layout
33117 \begin_layout Plain Layout
33127 \begin_layout Standard
33132 scalebox{1}[-1]{こんにちは}
33138 \begin_layout Plain Layout
33151 \begin_layout Plain Layout
33161 \begin_layout Standard
33166 scalebox{-1}[1]{ボックスの内容}
33169 \begin_inset Newline newline
33176 reflectbox{ボックスの内容}
33179 \begin_inset Newline newline
33185 \begin_layout Standard
33186 \begin_inset VSpace bigskip
33189 指定した幅や丈にボックスを伸縮させるには、
33198 \begin_layout Standard
33203 resizebox{幅}{丈}{ボックスの内容}
33206 \begin_layout Standard
33207 です。上記二つのコマンド引数のうち一つが感嘆符「
33211 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
33214 \begin_layout Standard
33219 resizebox{2cm}{1cm}{こんにちは}
33225 \begin_layout Plain Layout
33229 resizebox{2cm}{1cm}{
33238 \begin_layout Plain Layout
33246 \begin_inset Newline newline
33253 resizebox{2cm}{!}{こんにちは}
33259 \begin_layout Plain Layout
33272 \begin_layout Plain Layout
33282 \begin_layout Standard
33283 \begin_inset VSpace bigskip
33287 \begin_inset Note Greyedout
33290 \begin_layout Plain Layout
33303 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
33311 \begin_layout Standard
33312 \begin_inset VSpace bigskip
33318 \begin_layout Standard
33319 ボックスは好きな順序で組み合わせることができます。たとえば、
33320 \begin_inset Newline newline
33327 rotatebox[origin=c]{-45}{
33331 reflectbox{こんにちは}}}
33332 \begin_inset Newline newline
33340 \begin_layout Standard
33345 \begin_layout Plain Layout
33349 rotatebox[origin=c]{-45}{
33362 \begin_layout Plain Layout
33372 \begin_layout Standard
33374 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
33377 \begin_layout Standard
33382 \begin_layout Plain Layout
33386 rotatebox[origin=c]{-30}{
33396 \begin_inset Graphics
33397 filename ../clipart/platypus.eps
33407 \begin_layout Plain Layout
33418 \begin_layout Plain Layout
33422 rotatebox[origin=c]{-45}{
33432 \begin_inset Tabular
33433 <lyxtabular version="3" rows="2" columns="2">
33434 <features tabularvalignment="middle">
33435 <column alignment="center" valignment="top" width="0">
33436 <column alignment="center" valignment="top" width="0">
33438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33441 \begin_layout Plain Layout
33447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33450 \begin_layout Plain Layout
33458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33461 \begin_layout Plain Layout
33467 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33470 \begin_layout Plain Layout
33485 \begin_layout Plain Layout
33496 \begin_layout Plain Layout
33500 rotatebox[origin=c]{-45}{
33510 \begin_inset Formula $\int A\,\mathrm{d}x=B$
33517 \begin_layout Plain Layout
33527 \begin_layout Standard
33536 \begin_layout Plain Layout
33537 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
33542 には、別行建て数式も伸縮させることができます。
33545 \begin_layout Chapter
33548 Objects Surrounded by Text
33549 \begin_inset Index idx
33552 \begin_layout Plain Layout
33563 \begin_layout Section
33565 \begin_inset CommandInset label
33572 \begin_inset Index idx
33575 \begin_layout Plain Layout
33576 ふろーと@フロート ! おりかえしふろーと@折返しフロート
33584 \begin_inset Index idx
33587 \begin_layout Plain Layout
33590 Surrounded by text ! Wrap Floats
33598 \begin_layout Standard
33599 \begin_inset Wrap figure
33606 \begin_layout Plain Layout
33607 \begin_inset Graphics
33608 filename ../clipart/mobius.eps
33610 scaleBeforeRotation
33611 rotateOrigin center
33618 \begin_layout Plain Layout
33619 \begin_inset Caption
33621 \begin_layout Plain Layout
33622 \begin_inset CommandInset label
33624 name "fig:折返し図フロート"
33638 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
33643 \begin_inset Index idx
33646 \begin_layout Plain Layout
33647 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
33654 挿入\SpecialChar \menuseparator
33655 フロート\SpecialChar \menuseparator
33666 \begin_layout Plain Layout
33667 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
33672 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
33688 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
33689 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
33690 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
33691 \begin_inset CommandInset ref
33693 reference "fig:折返し図フロート"
33698 \begin_inset space \thinspace{}
33702 \begin_inset space \thinspace{}
33705 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
33709 \begin_layout Plain Layout
33711 \begin_inset CommandInset ref
33713 reference "cha:LyXで使用できる単位"
33725 \begin_layout Standard
33726 \begin_inset Note Greyedout
33729 \begin_layout Plain Layout
33734 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
33743 \begin_layout Standard
33747 \begin_layout Itemize
33748 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
33749 うになってから、正確な位置に挿入しなくてはなりません。
33752 \begin_layout Itemize
33753 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
33756 \begin_layout Itemize
33757 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
33760 \begin_layout Itemize
33761 折返しフロートは、節見出しや表中に入れることは認められていません。
33764 \begin_layout Itemize
33767 Their numbering and referencing works as described in chap.
33770 \begin_inset space \thinspace{}
33774 \begin_inset CommandInset ref
33776 reference "chap:フロート"
33783 \begin_layout Section
33786 Surrounded Fixed Objects
33787 \begin_inset Index idx
33790 \begin_layout Plain Layout
33793 Surrounded by text ! Fixed objects
33801 \begin_layout Standard
33804 The wrap floats described in sec.
33807 \begin_inset space \thinspace{}
33811 \begin_inset CommandInset ref
33813 reference "sec:折返しフロート"
33819 have these positions in the paragraph:
33822 \begin_layout Standard
33827 \begin_inset Tabular
33828 <lyxtabular version="3" rows="2" columns="2">
33829 <features tabularvalignment="middle">
33830 <column alignment="center" valignment="top" width="0">
33831 <column alignment="center" valignment="top" width="0">
33833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33836 \begin_layout Plain Layout
33839 \begin_inset Graphics
33840 filename ../../images/dialog-show-new-inset_graphics.png
33842 scaleBeforeRotation
33851 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33854 \begin_layout Plain Layout
33864 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
33867 \begin_layout Plain Layout
33875 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
33878 \begin_layout Plain Layout
33892 \begin_inset Tabular
33893 <lyxtabular version="3" rows="2" columns="2">
33894 <features tabularvalignment="middle">
33895 <column alignment="center" valignment="top" width="0">
33896 <column alignment="center" valignment="top" width="0">
33898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33901 \begin_layout Plain Layout
33909 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33912 \begin_layout Plain Layout
33915 \begin_inset Graphics
33916 filename ../../images/dialog-show-new-inset_graphics.png
33918 scaleBeforeRotation
33929 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
33932 \begin_layout Plain Layout
33940 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
33943 \begin_layout Plain Layout
33959 \begin_layout Standard
33962 To get an object exactly at the position where it is inserted, for example
33963 to get one of these positions:
33964 \begin_inset VSpace defskip
33970 \begin_layout Standard
33975 \begin_inset Tabular
33976 <lyxtabular version="3" rows="2" columns="2">
33977 <features tabularvalignment="middle">
33978 <column alignment="center" valignment="top" width="0">
33979 <column alignment="center" valignment="top" width="0">
33981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33984 \begin_layout Plain Layout
33992 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
33995 \begin_layout Plain Layout
34005 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34008 \begin_layout Plain Layout
34011 \begin_inset Graphics
34012 filename ../../images/dialog-show-new-inset_graphics.png
34014 scaleBeforeRotation
34023 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34026 \begin_layout Plain Layout
34040 \begin_inset Tabular
34041 <lyxtabular version="3" rows="2" columns="2">
34042 <features tabularvalignment="middle">
34043 <column alignment="center" valignment="top" width="0">
34044 <column alignment="center" valignment="top" width="0">
34046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34049 \begin_layout Plain Layout
34057 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34060 \begin_layout Plain Layout
34070 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34073 \begin_layout Plain Layout
34081 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34084 \begin_layout Plain Layout
34087 \begin_inset Graphics
34088 filename ../../images/dialog-show-new-inset_graphics.png
34090 scaleBeforeRotation
34105 \begin_inset Tabular
34106 <lyxtabular version="3" rows="2" columns="3">
34107 <features tabularvalignment="middle">
34108 <column alignment="center" valignment="top" width="0">
34109 <column alignment="center" valignment="top" width="0">
34110 <column alignment="center" valignment="top" width="0">
34112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34115 \begin_layout Plain Layout
34123 <cell alignment="center" valignment="top" topline="true" usebox="none">
34126 \begin_layout Plain Layout
34129 \begin_inset Graphics
34130 filename ../../images/dialog-show-new-inset_graphics.png
34132 scaleBeforeRotation
34141 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34144 \begin_layout Plain Layout
34154 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34157 \begin_layout Plain Layout
34165 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34168 \begin_layout Plain Layout
34176 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34179 \begin_layout Plain Layout
34193 \begin_inset Tabular
34194 <lyxtabular version="3" rows="2" columns="3">
34195 <features tabularvalignment="middle">
34196 <column alignment="center" valignment="top" width="0">
34197 <column alignment="center" valignment="top" width="0">
34198 <column alignment="center" valignment="top" width="0">
34200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34203 \begin_layout Plain Layout
34211 <cell alignment="center" valignment="top" topline="true" usebox="none">
34214 \begin_layout Plain Layout
34222 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34225 \begin_layout Plain Layout
34235 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34238 \begin_layout Plain Layout
34246 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34249 \begin_layout Plain Layout
34252 \begin_inset Graphics
34253 filename ../../images/dialog-show-new-inset_graphics.png
34255 scaleBeforeRotation
34264 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34267 \begin_layout Plain Layout
34283 \begin_layout Standard
34288 \begin_inset Tabular
34289 <lyxtabular version="3" rows="3" columns="2">
34290 <features tabularvalignment="middle">
34291 <column alignment="center" valignment="top" width="0">
34292 <column alignment="center" valignment="top" width="0">
34294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34297 \begin_layout Plain Layout
34305 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34308 \begin_layout Plain Layout
34318 <cell alignment="center" valignment="top" leftline="true" usebox="none">
34321 \begin_layout Plain Layout
34324 \begin_inset Graphics
34325 filename ../../images/dialog-show-new-inset_graphics.png
34327 scaleBeforeRotation
34336 <cell alignment="center" valignment="top" rightline="true" usebox="none">
34339 \begin_layout Plain Layout
34349 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34352 \begin_layout Plain Layout
34360 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34363 \begin_layout Plain Layout
34377 \begin_inset Tabular
34378 <lyxtabular version="3" rows="3" columns="3">
34379 <features tabularvalignment="middle">
34380 <column alignment="center" valignment="top" width="0">
34381 <column alignment="center" valignment="top" width="0">
34382 <column alignment="center" valignment="top" width="0">
34384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34387 \begin_layout Plain Layout
34395 <cell alignment="center" valignment="top" topline="true" usebox="none">
34398 \begin_layout Plain Layout
34406 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34409 \begin_layout Plain Layout
34419 <cell alignment="center" valignment="top" leftline="true" usebox="none">
34422 \begin_layout Plain Layout
34430 <cell alignment="center" valignment="top" usebox="none">
34433 \begin_layout Plain Layout
34436 \begin_inset Graphics
34437 filename ../../images/dialog-show-new-inset_graphics.png
34439 scaleBeforeRotation
34448 <cell alignment="center" valignment="top" rightline="true" usebox="none">
34451 \begin_layout Plain Layout
34461 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34464 \begin_layout Plain Layout
34472 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34475 \begin_layout Plain Layout
34483 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34486 \begin_layout Plain Layout
34500 \begin_inset Tabular
34501 <lyxtabular version="3" rows="3" columns="2">
34502 <features tabularvalignment="middle">
34503 <column alignment="center" valignment="top" width="0">
34504 <column alignment="center" valignment="top" width="0">
34506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34509 \begin_layout Plain Layout
34517 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34520 \begin_layout Plain Layout
34530 <cell alignment="center" valignment="top" leftline="true" usebox="none">
34533 \begin_layout Plain Layout
34541 <cell alignment="center" valignment="top" rightline="true" usebox="none">
34544 \begin_layout Plain Layout
34547 \begin_inset Graphics
34548 filename ../../images/dialog-show-new-inset_graphics.png
34550 scaleBeforeRotation
34561 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34564 \begin_layout Plain Layout
34572 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34575 \begin_layout Plain Layout
34591 \begin_layout Standard
34595 you can use the LaTeX-package
34602 \begin_inset Index idx
34605 \begin_layout Plain Layout
34606 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
34619 \begin_layout Standard
34623 \begin_layout Plain Layout
34633 \begin_inset Note Note
34636 \begin_layout Plain Layout
34641 が導入されているときのみ表示されます。
34649 \begin_layout Standard
34653 \begin_layout Plain Layout
34657 begin{window}[2,c,{
34663 \begin_inset Graphics
34664 filename ../clipart/mobius.eps
34667 scaleBeforeRotation
34668 rotateOrigin center
34676 \begin_layout Plain Layout
34681 \begin_layout Plain Layout
34691 It was in the spring of the year 1894 that all London was interested, and
34692 the fashionable world dismayed, by the murder of the Honourable Ronald
34693 Adair under most unusual and inexplicable circumstances.
34694 The public has already learned those particulars of the crime which
34700 \begin_layout Plain Layout
34711 came out in the police investigation, but a good deal was suppressed upon
34712 that occasion, since the case for the prosecution was so overwhelmingly
34713 strong that it was not necessary to bring forward all the facts.
34714 Only now, at the end of nearly ten years, am I allowed to supply those
34715 missing links which make up the whole of that remarkable chain
34723 \begin_layout Plain Layout
34735 \begin_layout Standard
34741 \begin_layout Plain Layout
34750 Footnote of the paragraph with the fixed object.
34754 \begin_layout Plain Layout
34764 \begin_layout Standard
34767 Surrounded fixed objects are used to let text float around them, at which
34768 the object's position in the paragraph can be determined by the number
34770 In contrary to floats is it not possible to have a numbered caption.
34773 \begin_layout Standard
34776 A fixed object is inserted by adding the command
34779 \begin_layout Standard
34784 begin{window}[2,c,{
34787 \begin_layout Standard
34790 as TeX Code at the beginning of the paragraph.
34791 The first parameter in the bracket, here '2', defines the number of lines
34792 above the object, the second, here 'c', the position of the object.
34793 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
34794 Behind the command you insert the object.
34795 In this example an image with a width of 40
34796 \begin_inset space \thinspace{}
34799 % of the text column width was inserted.
34800 The object can also be a table, a box or an equation.
34801 Behind the object the command
34804 \begin_layout Standard
34807 },description text]
34808 \begin_inset Newline newline
34814 \begin_layout Standard
34819 \begin_inset Quotes eld
34827 \begin_inset Quotes erd
34830 is in the second line.
34831 The description text is optional.
34832 The text surrounding the object must be in the same paragraph as the object,
34833 so it must begin directly after the
34838 At the end of the paragraph insert the command:
34841 \begin_layout Standard
34849 \begin_layout Standard
34852 Within a paragraph with a fixed object, you cannot insert footnotes in the
34854 You have to use instead the command
34860 inside the paragraph and outside the command
34866 as described in sec.
34869 \begin_inset space \thinspace{}
34873 \begin_inset CommandInset ref
34882 \begin_layout Standard
34886 \begin_layout Plain Layout
34896 \begin_inset Note Note
34899 \begin_layout Plain Layout
34904 が導入されていないときのみ表示されます。
34912 \begin_layout Standard
34913 本節の以下の部分を出力に表示するには、LaTeXパッケージ
34920 \begin_layout Standard
34924 \begin_layout Plain Layout
34936 \begin_layout Section
34940 \begin_inset Index idx
34943 \begin_layout Plain Layout
34952 \begin_inset Index idx
34955 \begin_layout Plain Layout
34958 Surrounded by text ! Initials
34966 \begin_layout Standard
34969 To use initials, you must have the LaTeX package
34976 \begin_inset Index idx
34979 \begin_layout Plain Layout
34980 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
34987 installed and use the module
34991 in your document (menu
34993 Document\SpecialChar \menuseparator
34994 Settings\SpecialChar \menuseparator
34998 To insert an initial, use the style
35003 This style has a mandatory and an optional argument.
35004 The mandatory argument is inserted via the menu
35006 Insert\SpecialChar \menuseparator
35008 \begin_inset space ~
35013 and contains the letter that is the initial.
35014 To use the also the optional argument, insert another argument in front
35015 of the mandatory argument.
35016 This one contains parameters to modify the initial.
35017 For more information about the possible parameters see the documentation
35025 \begin_inset CommandInset citation
35034 The style itself contains the text that is surrounding the initial.
35035 The usual style is hereby that the word whose first letter is the initial,
35041 To tell LaTeX where this word is finished, add a closing brace '
35045 ' as TeX Code behind it.
35046 At the end of the style there must be an opening brace '
35053 \begin_layout Standard
35056 Here are some examples:
35059 \begin_layout Standard
35063 \begin_layout Plain Layout
35073 \begin_inset Note Note
35076 \begin_layout Plain Layout
35081 が導入されているときのみ表示されます。
35089 \begin_layout Enumerate
35092 No optional argument, the initial is the letter 'I' in the math font
35093 \begin_inset Formula $\mathfrak{Fraktur}$
35100 \begin_layout Initial
35101 \begin_inset Argument
35104 \begin_layout Plain Layout
35105 \begin_inset Formula $\mathfrak{I}$
35117 \begin_layout Plain Layout
35126 was in the spring of the year 1894 that all London was interested, and the
35127 fashionable world dismayed, by the murder of the Honourable Ronald Adair
35128 under most unusual and inexplicable circumstances.
35129 The public has already learned those particulars of the crime which came
35130 out in the police investigation, but a good deal was suppressed upon that
35131 occasion, since the case for the prosecution was so overwhelmingly strong
35132 that it was not necessary to bring forward all the facts.
35138 \begin_layout Plain Layout
35148 \begin_inset Newpage newpage
35155 \begin_layout Enumerate
35158 Only one line is surrounding the initial, which is formed by two letters
35159 in standard font and no text is printed in small caps:
35163 \begin_layout Initial
35164 \begin_inset Argument
35167 \begin_layout Plain Layout
35174 \begin_inset Argument
35177 \begin_layout Plain Layout
35187 \begin_layout Plain Layout
35196 was in the spring of the year 1894 that all London was interested, and the
35197 fashionable world dismayed, by the murder of the Honourable Ronald Adair
35198 under most unusual and inexplicable circumstances.
35199 The public has already learned those particulars of the crime which came
35200 out in the police investigation, but a good deal was suppressed upon that
35201 occasion, since the case for the prosecution was so overwhelmingly strong
35202 that it was not necessary to bring forward all the facts.
35208 \begin_layout Plain Layout
35219 \begin_layout Enumerate
35222 Magenta, hanging initial over 3
35223 \begin_inset space ~
35226 lines in the math font
35227 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
35231 \begin_inset Quotes eld
35234 t was in the spring
35235 \begin_inset Quotes erd
35242 ; to color the initial, you must insert this command before the initial:
35243 \begin_inset Newline newline
35257 \begin_inset Newline newline
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
35289 \begin_inset Quotes eld
35293 \begin_inset Quotes erd
35297 \begin_inset Quotes eld
35301 \begin_inset Quotes erd
35305 \begin_inset Quotes eld
35309 \begin_inset Quotes erd
35313 \begin_inset Quotes eld
35317 \begin_inset Quotes erd
35321 \begin_inset Quotes eld
35325 \begin_inset Quotes erd
35328 , and add this command to the document preamble
35331 \begin_inset Newline newline
35338 @ifundefined{textcolor}
35339 \begin_inset Newline newline
35343 \begin_inset space ~
35348 usepackage{color}}{}
35352 \begin_layout Standard
35356 \begin_layout Plain Layout
35372 \begin_inset Note Note
35375 \begin_layout Plain Layout
35378 makes the initial magenta
35386 \begin_layout Initial
35387 \begin_inset Argument
35390 \begin_layout Plain Layout
35391 lines=3, lhang=0.33, loversize=0.25
35397 \begin_inset Argument
35400 \begin_layout Plain Layout
35401 \begin_inset Formula $\mathcal{I}$
35411 t was in the spring
35417 \begin_layout Plain Layout
35426 of the year 1894 that all London was interested, and the fashionable world
35427 dismayed, by the murder of the Honourable Ronald Adair under most unusual
35428 and inexplicable circumstances.
35429 The public has already learned those particulars of the crime which came
35430 out in the police investigation, but a good deal was suppressed upon that
35431 occasion, since the case for the prosecution was so overwhelmingly strong
35432 that it was not necessary to bring forward all the facts.
35438 \begin_layout Plain Layout
35449 \begin_layout Standard
35453 \begin_layout Plain Layout
35463 \begin_inset Note Note
35466 \begin_layout Plain Layout
35471 が導入されていないときのみ表示されます。
35479 \begin_layout Standard
35480 本節の以下の部分を出力に表示するには、LaTeXパッケージ
35487 \begin_layout Standard
35491 \begin_layout Plain Layout
35503 \begin_layout Chapter
35505 \begin_inset Index idx
35508 \begin_layout Plain Layout
35509 がいぶぶんしょこうせいようそ@外部文書構成要素
35517 \begin_layout Standard
35520 挿入\SpecialChar \menuseparator
35523 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
35526 \begin_layout Description
35527 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
35530 \begin_layout Description
35531 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
35534 \begin_layout Description
35535 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
35538 \begin_layout Description
35542 \begin_layout Description
35543 子文書 LyXあるいはLaTeX文書。
35546 \begin_layout Section
35548 \begin_inset Index idx
35551 \begin_layout Plain Layout
35552 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
35560 \begin_layout Standard
35561 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
35562 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
35564 操作性\SpecialChar \menuseparator
35567 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
35570 \begin_layout Standard
35575 \SpecialChar \menuseparator
35580 \SpecialChar \menuseparator
35589 ダイアログから挿入することができます。目下、以下のファイル形式(
35596 \begin_layout Description
35600 \begin_inset CommandInset href
35603 target "http://en.wikipedia.org/wiki/XBoard"
35609 プログラムで作成されたチェス棋譜をサポートします。
35612 \begin_layout Description
35617 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
35618 \begin_inset External
35625 \begin_inset space ~
35629 \begin_inset Note Note
35632 \begin_layout Plain Layout
35633 バグ4398が修正されたら、この保護空白は削除してください!
35639 \begin_inset Newline newline
35642 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
35646 \SpecialChar \menuseparator
35647 日付メニューを使用する方法で、他はLaTeXコマンドの
35653 をTeXコードで使用する方法です。これらの各方法は、表
35654 \begin_inset CommandInset ref
35656 reference "tab:日付挿入方法"
35663 \begin_layout Description
35667 \begin_inset CommandInset href
35670 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"
35676 プログラムで作成したダイアグラムをサポートします。
35679 \begin_layout Description
35682 GnumericSpreadsheet With this template you can insert spreadsheets
35683 \begin_inset space \thinspace{}
35687 \begin_inset space \thinspace{}
35690 tables in the format of
35693 \begin_inset CommandInset href
35696 target "http://ja.wikipedia.org/wiki/Gnumeric"
35703 \begin_inset CommandInset href
35705 name "OpenDocument"
35706 target "http://ja.wikipedia.org/wiki/OpenDocument"
35711 \begin_inset CommandInset href
35713 name "Microsoft Office XML"
35714 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
35719 \begin_inset CommandInset href
35721 name "Office Open XML"
35722 target "http://ja.wikipedia.org/wiki/Office_Open_XML"
35727 For this feature LyX must have found the program
35731 during its configuration.
35732 This program is part of Gnumeric, so that you must have Gnumeric installed,
35733 also if you don't have tables in the Gnumeric format.
35734 For examples and possible limitations have a look at LyX's example file
35742 \begin_layout Description
35746 \begin_inset CommandInset href
35749 target "http://ja.wikipedia.org/wiki/GNU_LilyPond"
35755 プログラムで作成した楽譜の組版に使用されます。
35757 For LyX's extended support for LilyPond have a look at LyX's example file
35765 \begin_layout Description
35766 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
35780 The argument of this option is a comma separated list, containing page numbers
35785 ), ranges of page numbers (
35789 ) or any combination.
35790 To insert empty pages use {}.
35792 \begin_inset space \thinspace{}
35796 \begin_inset space ~
35801 pages={3,{},8-11,15}
35803 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
35804 Page ranges are specified in the syntax
35813 This selects all pages from
35826 defaults to the first page; omitting
35830 defaults to the last page of the document.
35831 The last page can also be selected with the keyword
35836 (This is only permitted in a page range.) So
35840 will insert all pages of the document and
35844 will insert all pages in reverse order.
35849 オプションを指定しないと、PDFの最初のページのみが挿入されます。
35850 \begin_inset Newline newline
35859 inserts the pages with their original size, if this option is not given,
35860 the pages will be resized to fith the width of the page of your document.
35865 you can specify the width and height of the input pages and their rotation.
35866 If another width than 100
35867 \begin_inset space \thinspace{}
35870 Scale% is used, the option
35874 will be overwritten.
35875 For more info and possible options, have a look into the documentation
35876 of the LaTeX-package
35882 \begin_inset CommandInset citation
35889 \begin_inset Index idx
35892 \begin_layout Plain Layout
35893 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
35899 \begin_inset Newline newline
35904 To use this template in a
35908 presentation you need to first insert an
35912 environment and in a subsequent paragraph a TeX Code box containing the
35917 setbeamertemplate{background canvas}{}
35920 Then you can insert as many paragraphs containing the PDFPages template
35922 Behind the included PDF pages you can resume the Beamer presentation by
35923 beginning a new frame or by starting a new section.
35924 To avoid stray blank pages prior to the PDF pages, make sure to use the
35929 alignment for the paragraph containing the template.
35930 \begin_inset Newline newline
35933 Here is an included PDF which is rotated by -5°:
35936 \begin_inset External
35938 filename ../clipart/Abstract.pdf
35939 extra LaTeX "noautoscale, pages=-"
35941 rotateOrigin bottomleft
35948 \begin_layout Description
35949 ラスターイメージ これはビットマップ画像に使用します。
35954 \begin_inset CommandInset ref
35956 reference "sec:画像ダイアログ"
35964 ダイアログを使って挿入される画像と同じように取り扱うことができます。
35966 The difference to the normal image input is that only raster images are
35967 allowed; that means that PDF and EPS-images are not supported
35972 Here is an inserted raster image:
35975 \begin_inset External
35976 template RasterImage
35977 filename ../clipart/ToolbarEnvBox.png
35984 \begin_layout Description
35988 \begin_inset CommandInset href
35991 target "http://ja.wikipedia.org/wiki/Xfig"
35997 プログラムで作成した画像をサポートします。
36000 \begin_layout Standard
36001 \begin_inset Float table
36007 \begin_layout Plain Layout
36008 \begin_inset Caption
36010 \begin_layout Plain Layout
36011 \begin_inset CommandInset label
36025 \begin_layout Plain Layout
36027 \begin_inset Tabular
36028 <lyxtabular version="3" rows="4" columns="4">
36029 <features tabularvalignment="middle">
36030 <column alignment="center" valignment="top" width="0">
36031 <column alignment="center" valignment="top" width="0">
36032 <column alignment="center" valignment="top" width="0">
36033 <column alignment="center" valignment="top" width="0">
36035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36038 \begin_layout Plain Layout
36044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36047 \begin_layout Plain Layout
36050 外部素材\SpecialChar \menuseparator
36056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36059 \begin_layout Plain Layout
36062 挿入\SpecialChar \menuseparator
36068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36071 \begin_layout Plain Layout
36085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36088 \begin_layout Plain Layout
36094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36097 \begin_layout Plain Layout
36103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36106 \begin_layout Plain Layout
36112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36115 \begin_layout Plain Layout
36123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36126 \begin_layout Plain Layout
36132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36135 \begin_layout Plain Layout
36141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36144 \begin_layout Plain Layout
36150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36153 \begin_layout Plain Layout
36161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36164 \begin_layout Plain Layout
36170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36173 \begin_layout Plain Layout
36179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36182 \begin_layout Plain Layout
36188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
36191 \begin_layout Plain Layout
36210 \begin_layout Standard
36223 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
36224 \begin_inset Newline newline
36227 LyX中での外部素材は、ダイアログ内の
36236 \begin_inset Graphics
36237 filename clipart/ExternalMaterialQt4.png
36239 scaleBeforeRotation
36243 のようなボックスとして表示されるか、画像として表示されます。
36246 \begin_layout Standard
36253 には、自製のひな型を定義する方法が説明されています。
36256 \begin_layout Section
36258 \begin_inset CommandInset label
36265 \begin_inset Index idx
36268 \begin_layout Plain Layout
36269 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
36275 \begin_inset Index idx
36278 \begin_layout Plain Layout
36279 ふぁいる@ファイル ! いんくるーど@インクルード
36287 \begin_layout Standard
36288 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
36289 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
36290 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
36293 \begin_layout Standard
36294 親文書を開くことなく子文書で作業できるようにするには、子文書の
36298 \SpecialChar \menuseparator
36303 \SpecialChar \menuseparator
36308 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
36311 \begin_layout Standard
36313 \begin_inset Graphics
36314 filename clipart/ChildDocumentQt4.png
36316 scaleBeforeRotation
36320 のようなボックスとして表示されます。子文書を親文書に取り込むには、
36324 \SpecialChar \menuseparator
36329 \SpecialChar \menuseparator
36334 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
36337 \begin_layout Description
36338 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
36346 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
36347 \begin_inset Newline newline
36353 \begin_layout Standard
36359 \begin_inset CommandInset include
36360 LatexCommand include
36361 filename "DummyDocument1.lyx"
36368 \begin_layout Standard
36369 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
36370 あります。取り込んだ文書のラベルは、第
36371 \begin_inset CommandInset ref
36373 reference "sub:外部文書の第1小節"
36377 小節、のように参照することができます。
36380 \begin_layout Standard
36381 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
36382 は、新規頁から始まるように挿入され、改頁して終わります。
36385 \begin_layout Standard
36386 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
36390 \begin_layout Plain Layout
36404 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
36407 \begin_layout Standard
36408 \begin_inset Note Greyedout
36411 \begin_layout Plain Layout
36416 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
36430 \begin_layout Standard
36431 \begin_inset Note Greyedout
36434 \begin_layout Plain Layout
36439 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
36448 \begin_layout Description
36449 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
36453 \begin_layout Itemize
36454 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
36457 \begin_layout Itemize
36458 Inputファイルは、LyX設定の操作性
36460 \SpecialChar \menuseparator
36467 を有効にすると、LyX中でプレビューすることができます。
36470 \begin_layout Itemize
36481 \begin_layout Standard
36487 \begin_inset CommandInset include
36489 filename "DummyDocument2.lyx"
36496 \begin_layout Description
36497 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
36498 に用いられているコマンドは実行されません。
36502 オプションを有効にすると、ソースコード中のすべての空白文字に「
36506 \begin_layout Plain Layout
36517 挿入\SpecialChar \menuseparator
36518 ファイル\SpecialChar \menuseparator
36521 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
36524 \begin_layout Standard
36525 以下は、verbatimとして挿入された子文書です。
36526 \begin_inset CommandInset include
36527 LatexCommand verbatiminput
36528 filename "../DummyTextDocument.txt"
36533 \begin_inset VSpace bigskip
36540 オプションを指定して、verbatimとして挿入された子文書です。
36541 \begin_inset CommandInset include
36542 LatexCommand verbatiminput*
36543 filename "../DummyTextDocument.txt"
36550 \begin_layout Standard
36551 \begin_inset VSpace bigskip
36557 \begin_layout Standard
36558 \begin_inset Note Greyedout
36561 \begin_layout Plain Layout
36570 として取り込んだ文書の文章は、文書行の終わりで改行されません。
36578 \begin_layout Standard
36579 \begin_inset Note Greyedout
36582 \begin_layout Plain Layout
36587 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
36595 \begin_layout Description
36596 プログラムリスト この型については、第
36597 \begin_inset CommandInset ref
36599 reference "cha:プログラムコードリスト"
36606 \begin_layout Standard
36607 \begin_inset Note Greyedout
36610 \begin_layout Plain Layout
36615 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
36623 \begin_layout Chapter
36625 \begin_inset CommandInset label
36627 name "cha:プログラムコードリスト"
36632 \begin_inset Index idx
36635 \begin_layout Plain Layout
36642 \begin_inset Index idx
36645 \begin_layout Plain Layout
36652 \begin_inset Index idx
36655 \begin_layout Plain Layout
36656 ふろーと@フロート ! りすと@リスト
36664 \begin_layout Standard
36665 プログラムコードを取り込んで組版するには、
36669 \SpecialChar \menuseparator
36674 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
36679 \begin_inset Index idx
36682 \begin_layout Plain Layout
36683 LaTeXぱっけーじ@LaTeXパッケージ ! listings
36688 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
36691 \begin_layout Standard
36692 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
36695 \begin_layout Standard
36696 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
36701 \begin_inset listings
36702 lstparams "language={C++}"
36706 \begin_layout Plain Layout
36714 \begin_inset Newline newline
36721 オプションは、プログラムリストフロートを生成するものですが、ここで、第
36722 \begin_inset CommandInset ref
36724 reference "sec:フロートの配置"
36728 節に説明されているフロート配置オプションに従って、「
36744 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
36748 」のように区切りを入れることなく入力することができます。「
36752 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
36756 オプションを使用しなければ大丈夫です。
36759 \begin_layout Standard
36764 \SpecialChar \menuseparator
36769 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
36770 \begin_inset CommandInset ref
36772 reference "lst:リストフロート"
36779 \begin_layout Standard
36780 \begin_inset listings
36781 lstparams "language=Python"
36785 \begin_layout Plain Layout
36787 \begin_inset Caption
36789 \begin_layout Plain Layout
36790 \begin_inset CommandInset label
36796 Example Listing Float
36801 # Example listing float
36804 \begin_layout Plain Layout
36809 \begin_layout Plain Layout
36811 'this is a python function'
36814 \begin_layout Plain Layout
36824 \begin_layout Standard
36825 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
36826 onのキーワード「def」が識別され、ボールド体で出力されます。
36829 \begin_layout Standard
36830 \begin_inset Note Greyedout
36833 \begin_layout Plain Layout
36838 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
36842 フォントがボールド体を提供していません。この場合には、
36846 \SpecialChar \menuseparator
36851 \SpecialChar \menuseparator
36856 メニューで別のフォントを選択してください(
36868 の各フォントはボールド体を提供します)。
36876 \begin_layout Standard
36877 \begin_inset Note Greyedout
36880 \begin_layout Plain Layout
36885 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
36893 \begin_layout Standard
36898 のセクションでは、行番号の様式を指定することができます。
36902 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
36905 \begin_layout Standard
36906 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
36910 オプションを使用しなくてはなりません。
36911 \begin_inset Newline newline
36914 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
36915 \begin_inset space \thinspace{}
36919 \begin_inset space \thinspace{}
36922 8」で設定したプログラムリストの例です。
36925 \begin_layout Standard
36926 \begin_inset listings
36927 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
36931 \begin_layout Plain Layout
36936 \begin_layout Plain Layout
36938 'this is a python function'
36941 \begin_layout Plain Layout
36946 \begin_layout Plain Layout
36951 \begin_layout Plain Layout
36953 'This is a German word: Tschüß'
36956 \begin_layout Plain Layout
36961 \begin_layout Plain Layout
36966 \begin_layout Plain Layout
36968 'this is a python function'
36971 \begin_layout Plain Layout
36981 \begin_layout Standard
36982 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
36989 \begin_layout Standard
36990 \begin_inset Note Greyedout
36993 \begin_layout Plain Layout
36998 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
37007 \begin_layout Standard
37008 \begin_inset VSpace bigskip
37014 \begin_layout Standard
37015 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
37019 \SpecialChar \menuseparator
37024 \SpecialChar \menuseparator
37037 \begin_layout Plain Layout
37038 他の子文書型については、第 section
37039 \begin_inset space ~
37043 \begin_inset CommandInset ref
37045 reference "sec:子文書"
37054 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
37058 \begin_layout Standard
37059 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
37063 \SpecialChar \menuseparator
37068 メニューを使って参照できるようになります。
37071 \begin_layout Standard
37073 \begin_inset CommandInset ref
37075 reference "lst:file-listing"
37079 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
37082 \begin_layout Standard
37083 \begin_inset CommandInset include
37084 LatexCommand lstinputlisting
37085 filename "EmbeddedObjects.lyx"
37086 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
37093 \begin_layout Standard
37094 \begin_inset VSpace bigskip
37100 \begin_layout Standard
37101 リストに数式を入れるには、以下のようにします。
37104 \begin_layout Enumerate
37110 \begin_inset Newline newline
37118 \begin_inset Newline newline
37124 \begin_layout Enumerate
37128 \begin_layout Enumerate
37129 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
37138 \begin_layout Enumerate
37139 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
37148 \begin_layout Standard
37149 \begin_inset listings
37150 lstparams "language=Python,mathescape=true"
37154 \begin_layout Plain Layout
37156 \begin_inset Caption
37158 \begin_layout Plain Layout
37159 Example Listing float containing a formula
37164 # Example listing float
37167 \begin_layout Plain Layout
37172 \begin_layout Plain Layout
37185 \begin_layout Plain Layout
37195 \begin_layout Standard
37196 \begin_inset VSpace bigskip
37202 \begin_layout Standard
37207 \SpecialChar \menuseparator
37212 \SpecialChar \menuseparator
37217 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
37221 フィールドで疑問符「?」を打鍵してください。
37224 \begin_layout Standard
37229 パッケージについての詳しい情報については、取扱説明書
37230 \begin_inset CommandInset citation
37239 \begin_layout Standard
37240 \begin_inset Newpage newpage
37246 \begin_layout Chapter
37249 \begin_inset Index idx
37252 \begin_layout Plain Layout
37259 \begin_inset CommandInset label
37261 name "cha:LyXで使用できる単位"
37268 \begin_layout Standard
37269 この文書で用いられる単位の理解のために、表
37270 \begin_inset CommandInset ref
37276 に、LyXで使うことのできる単位をまとめておきます。
37279 \begin_layout Standard
37280 \begin_inset Float table
37286 \begin_layout Plain Layout
37287 \begin_inset Caption
37289 \begin_layout Plain Layout
37290 \begin_inset CommandInset label
37304 \begin_layout Plain Layout
37305 \begin_inset VSpace medskip
37311 \begin_layout Plain Layout
37313 \begin_inset Tabular
37314 <lyxtabular version="3" rows="20" columns="2">
37315 <features tabularvalignment="middle">
37316 <column alignment="center" valignment="top" width="0">
37317 <column alignment="center" valignment="top" width="0">
37319 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37322 \begin_layout Plain Layout
37328 <cell alignment="center" valignment="top" topline="true" bottomline="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
37379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37382 \begin_layout Plain Layout
37388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37391 \begin_layout Plain Layout
37399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37402 \begin_layout Plain Layout
37408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37411 \begin_layout Plain Layout
37413 \begin_inset Formula $\,$
37417 \begin_inset Formula $\,$
37427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37430 \begin_layout Plain Layout
37436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37439 \begin_layout Plain Layout
37441 \begin_inset Formula $\,$
37445 \begin_inset Formula $\,$
37455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37458 \begin_layout Plain Layout
37464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37467 \begin_layout Plain Layout
37469 \begin_inset Formula $\,$
37473 \begin_inset Formula $\,$
37483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37486 \begin_layout Plain Layout
37492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37495 \begin_layout Plain Layout
37497 \begin_inset Formula $\,$
37501 \begin_inset Formula $\,$
37511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37514 \begin_layout Plain Layout
37520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37523 \begin_layout Plain Layout
37525 \begin_inset Formula $\,$
37529 \begin_inset Formula $\approx$
37533 \begin_inset Formula $\,$
37543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37546 \begin_layout Plain Layout
37552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37555 \begin_layout Plain Layout
37557 \begin_inset Formula $\,$
37561 \begin_inset Formula $\,$
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" leftline="true" usebox="none">
37714 \begin_layout Plain Layout
37720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37723 \begin_layout Plain Layout
37731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37734 \begin_layout Plain Layout
37740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37743 \begin_layout Plain Layout
37751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37754 \begin_layout Plain Layout
37760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37763 \begin_layout Plain Layout
37765 \begin_inset Formula $\,$
37769 \begin_inset Formula $\,$
37790 \begin_layout Chapter
37792 \begin_inset CommandInset label
37794 name "cha:ファイル出力形式"
37801 \begin_layout Section
37803 \begin_inset Index idx
37806 \begin_layout Plain Layout
37807 ふぁいるしょしき@ファイル書式 ! DVI
37813 \begin_inset Index idx
37816 \begin_layout Plain Layout
37821 \begin_layout Plain Layout
37832 \begin_layout Plain Layout
37847 \begin_layout Standard
37852 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
37853 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
37854 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
37857 \begin_layout Standard
37858 \begin_inset Note Greyedout
37861 \begin_layout Plain Layout
37862 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
37871 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
37872 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
37876 \begin_layout Standard
37881 \SpecialChar \menuseparator
37886 \SpecialChar \menuseparator
37891 メニューを使用して、DVIに書き出すことができます。
37893 You can view your document as DVI via the
37900 \begin_layout Section
37902 \begin_inset CommandInset label
37904 name "sec:PostScript"
37909 \begin_inset Index idx
37912 \begin_layout Plain Layout
37913 ふぁいるしょしき@ファイル書式 ! PostScript
37919 \begin_inset Index idx
37922 \begin_layout Plain Layout
37927 \begin_layout Plain Layout
37938 \begin_layout Plain Layout
37953 \begin_layout Standard
37962 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
37963 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
37967 \begin_layout Plain Layout
37968 これについてもう少し学ぶ気があれば、LaTeXパッケージ
37973 \begin_inset CommandInset citation
37984 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
37987 \begin_layout Standard
37988 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
37992 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
37993 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
37994 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
37995 を直接EPSとして入れておく方がよいでしょう。
37998 \begin_layout Standard
38003 \SpecialChar \menuseparator
38008 \SpecialChar \menuseparator
38013 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
38018 \begin_inset Graphics
38019 filename ../../images/buffer-view_ps.png
38021 scaleBeforeRotation
38025 を使用することでPostScriptとして表示させることができます。
38028 \begin_layout Section
38030 \begin_inset Index idx
38033 \begin_layout Plain Layout
38034 ふぁいるしょしき@ファイル書式 ! PDF
38040 \begin_inset Index idx
38043 \begin_layout Plain Layout
38052 \begin_layout Standard
38057 」です。この「Portable Document Format (PDF)」は、
38061 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
38062 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
38065 \begin_layout Standard
38066 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
38074 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
38078 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
38079 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
38083 \begin_layout Standard
38088 \SpecialChar \menuseparator
38093 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
38096 \begin_layout Description
38098 \begin_inset space ~
38105 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
38109 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
38112 \begin_layout Description
38114 \begin_inset space ~
38121 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
38124 \begin_layout Description
38126 \begin_inset space ~
38133 プログラムを使って、現在のファイルを直接PDFに変換します。
38136 \begin_layout Standard
38141 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
38144 \begin_inset space ~
38153 プログラムは開発が停止しており、若干時代遅れになっています。
38156 \begin_layout Standard
38157 使用中の文書をPDFとして表示するには、
38162 \begin_inset Graphics
38163 filename ../../images/buffer-view_pdf2.png
38165 scaleBeforeRotation
38172 \begin_inset space ~
38180 \begin_layout Chapter
38183 List of dvips color names
38184 \begin_inset CommandInset label
38186 name "chap:List-of-dvips-colornames"
38193 \begin_layout Standard
38194 \begin_inset Tabular
38195 <lyxtabular version="3" rows="17" columns="4">
38196 <features tabularvalignment="middle">
38197 <column alignment="left" valignment="top" width="0pt">
38198 <column alignment="left" valignment="top" width="0pt">
38199 <column alignment="left" valignment="top" width="0pt">
38200 <column alignment="left" valignment="top" width="0pt">
38202 <cell alignment="left" valignment="top" usebox="none">
38205 \begin_layout Plain Layout
38209 \begin_layout Plain Layout
38222 \begin_layout Plain Layout
38237 \begin_layout Plain Layout
38251 <cell alignment="left" valignment="top" usebox="none">
38254 \begin_layout Plain Layout
38258 \begin_layout Plain Layout
38271 \begin_layout Plain Layout
38286 \begin_layout Plain Layout
38300 <cell alignment="left" valignment="top" usebox="none">
38303 \begin_layout Plain Layout
38307 \begin_layout Plain Layout
38320 \begin_layout Plain Layout
38335 \begin_layout Plain Layout
38349 <cell alignment="left" valignment="top" usebox="none">
38352 \begin_layout Plain Layout
38356 \begin_layout Plain Layout
38369 \begin_layout Plain Layout
38384 \begin_layout Plain Layout
38400 <cell alignment="center" valignment="top" usebox="none">
38403 \begin_layout Plain Layout
38407 \begin_layout Plain Layout
38420 \begin_layout Plain Layout
38428 \begin_inset Phantom Phantom
38431 \begin_layout Plain Layout
38441 \begin_layout Plain Layout
38453 <cell alignment="center" valignment="top" usebox="none">
38456 \begin_layout Plain Layout
38460 \begin_layout Plain Layout
38473 \begin_layout Plain Layout
38481 \begin_inset Phantom Phantom
38484 \begin_layout Plain Layout
38494 \begin_layout Plain Layout
38506 <cell alignment="center" valignment="top" usebox="none">
38509 \begin_layout Plain Layout
38513 \begin_layout Plain Layout
38526 \begin_layout Plain Layout
38534 \begin_inset Phantom Phantom
38537 \begin_layout Plain Layout
38547 \begin_layout Plain Layout
38559 <cell alignment="center" valignment="top" usebox="none">
38562 \begin_layout Plain Layout
38566 \begin_layout Plain Layout
38579 \begin_layout Plain Layout
38587 \begin_inset Phantom Phantom
38590 \begin_layout Plain Layout
38600 \begin_layout Plain Layout
38614 <cell alignment="left" valignment="top" usebox="none">
38617 \begin_layout Plain Layout
38621 \begin_layout Plain Layout
38634 \begin_layout Plain Layout
38642 \begin_inset Phantom Phantom
38645 \begin_layout Plain Layout
38655 \begin_layout Plain Layout
38667 <cell alignment="left" valignment="top" usebox="none">
38670 \begin_layout Plain Layout
38674 \begin_layout Plain Layout
38687 \begin_layout Plain Layout
38695 \begin_inset Phantom Phantom
38698 \begin_layout Plain Layout
38708 \begin_layout Plain Layout
38720 <cell alignment="left" valignment="top" usebox="none">
38723 \begin_layout Plain Layout
38727 \begin_layout Plain Layout
38740 \begin_layout Plain Layout
38748 \begin_inset Phantom Phantom
38751 \begin_layout Plain Layout
38761 \begin_layout Plain Layout
38773 <cell alignment="left" valignment="top" usebox="none">
38776 \begin_layout Plain Layout
38780 \begin_layout Plain Layout
38793 \begin_layout Plain Layout
38801 \begin_inset Phantom Phantom
38804 \begin_layout Plain Layout
38814 \begin_layout Plain Layout
38828 <cell alignment="left" valignment="top" usebox="none">
38831 \begin_layout Plain Layout
38835 \begin_layout Plain Layout
38848 \begin_layout Plain Layout
38856 \begin_inset Phantom Phantom
38859 \begin_layout Plain Layout
38869 \begin_layout Plain Layout
38881 <cell alignment="left" valignment="top" usebox="none">
38884 \begin_layout Plain Layout
38888 \begin_layout Plain Layout
38901 \begin_layout Plain Layout
38909 \begin_inset Phantom Phantom
38912 \begin_layout Plain Layout
38922 \begin_layout Plain Layout
38934 <cell alignment="left" valignment="top" usebox="none">
38937 \begin_layout Plain Layout
38941 \begin_layout Plain Layout
38954 \begin_layout Plain Layout
38962 \begin_inset Phantom Phantom
38965 \begin_layout Plain Layout
38975 \begin_layout Plain Layout
38987 <cell alignment="left" valignment="top" usebox="none">
38990 \begin_layout Plain Layout
38994 \begin_layout Plain Layout
39007 \begin_layout Plain Layout
39015 \begin_inset Phantom Phantom
39018 \begin_layout Plain Layout
39028 \begin_layout Plain Layout
39042 <cell alignment="left" valignment="top" usebox="none">
39045 \begin_layout Plain Layout
39049 \begin_layout Plain Layout
39062 \begin_layout Plain Layout
39070 \begin_inset Phantom Phantom
39073 \begin_layout Plain Layout
39083 \begin_layout Plain Layout
39095 <cell alignment="left" valignment="top" usebox="none">
39098 \begin_layout Plain Layout
39102 \begin_layout Plain Layout
39115 \begin_layout Plain Layout
39123 \begin_inset Phantom Phantom
39126 \begin_layout Plain Layout
39136 \begin_layout Plain Layout
39148 <cell alignment="left" valignment="top" usebox="none">
39151 \begin_layout Plain Layout
39155 \begin_layout Plain Layout
39168 \begin_layout Plain Layout
39176 \begin_inset Phantom Phantom
39179 \begin_layout Plain Layout
39189 \begin_layout Plain Layout
39201 <cell alignment="left" valignment="top" usebox="none">
39204 \begin_layout Plain Layout
39208 \begin_layout Plain Layout
39221 \begin_layout Plain Layout
39229 \begin_inset Phantom Phantom
39232 \begin_layout Plain Layout
39242 \begin_layout Plain Layout
39256 <cell alignment="left" valignment="top" usebox="none">
39259 \begin_layout Plain Layout
39263 \begin_layout Plain Layout
39276 \begin_layout Plain Layout
39284 \begin_inset Phantom Phantom
39287 \begin_layout Plain Layout
39297 \begin_layout Plain Layout
39309 <cell alignment="left" valignment="top" usebox="none">
39312 \begin_layout Plain Layout
39316 \begin_layout Plain Layout
39329 \begin_layout Plain Layout
39337 \begin_inset Phantom Phantom
39340 \begin_layout Plain Layout
39350 \begin_layout Plain Layout
39362 <cell alignment="left" valignment="top" usebox="none">
39365 \begin_layout Plain Layout
39369 \begin_layout Plain Layout
39382 \begin_layout Plain Layout
39390 \begin_inset Phantom Phantom
39393 \begin_layout Plain Layout
39403 \begin_layout Plain Layout
39415 <cell alignment="left" valignment="top" usebox="none">
39418 \begin_layout Plain Layout
39422 \begin_layout Plain Layout
39435 \begin_layout Plain Layout
39443 \begin_inset Phantom Phantom
39446 \begin_layout Plain Layout
39456 \begin_layout Plain Layout
39470 <cell alignment="center" valignment="top" usebox="none">
39473 \begin_layout Plain Layout
39477 \begin_layout Plain Layout
39490 \begin_layout Plain Layout
39498 \begin_inset Phantom Phantom
39501 \begin_layout Plain Layout
39511 \begin_layout Plain Layout
39523 <cell alignment="center" valignment="top" usebox="none">
39526 \begin_layout Plain Layout
39530 \begin_layout Plain Layout
39543 \begin_layout Plain Layout
39551 \begin_inset Phantom Phantom
39554 \begin_layout Plain Layout
39564 \begin_layout Plain Layout
39576 <cell alignment="center" valignment="top" usebox="none">
39579 \begin_layout Plain Layout
39583 \begin_layout Plain Layout
39596 \begin_layout Plain Layout
39604 \begin_inset Phantom Phantom
39607 \begin_layout Plain Layout
39617 \begin_layout Plain Layout
39629 <cell alignment="center" valignment="top" usebox="none">
39632 \begin_layout Plain Layout
39636 \begin_layout Plain Layout
39649 \begin_layout Plain Layout
39657 \begin_inset Phantom Phantom
39660 \begin_layout Plain Layout
39670 \begin_layout Plain Layout
39684 <cell alignment="left" valignment="top" usebox="none">
39687 \begin_layout Plain Layout
39691 \begin_layout Plain Layout
39704 \begin_layout Plain Layout
39712 \begin_inset Phantom Phantom
39715 \begin_layout Plain Layout
39725 \begin_layout Plain Layout
39737 <cell alignment="left" valignment="top" usebox="none">
39740 \begin_layout Plain Layout
39744 \begin_layout Plain Layout
39757 \begin_layout Plain Layout
39765 \begin_inset Phantom Phantom
39768 \begin_layout Plain Layout
39778 \begin_layout Plain Layout
39790 <cell alignment="left" valignment="top" usebox="none">
39793 \begin_layout Plain Layout
39797 \begin_layout Plain Layout
39810 \begin_layout Plain Layout
39818 \begin_inset Phantom Phantom
39821 \begin_layout Plain Layout
39831 \begin_layout Plain Layout
39843 <cell alignment="left" valignment="top" usebox="none">
39846 \begin_layout Plain Layout
39850 \begin_layout Plain Layout
39863 \begin_layout Plain Layout
39871 \begin_inset Phantom Phantom
39874 \begin_layout Plain Layout
39884 \begin_layout Plain Layout
39898 <cell alignment="left" valignment="top" usebox="none">
39901 \begin_layout Plain Layout
39905 \begin_layout Plain Layout
39918 \begin_layout Plain Layout
39926 \begin_inset Phantom Phantom
39929 \begin_layout Plain Layout
39939 \begin_layout Plain Layout
39951 <cell alignment="left" valignment="top" usebox="none">
39954 \begin_layout Plain Layout
39958 \begin_layout Plain Layout
39971 \begin_layout Plain Layout
39979 \begin_inset Phantom Phantom
39982 \begin_layout Plain Layout
39992 \begin_layout Plain Layout
40004 <cell alignment="left" valignment="top" usebox="none">
40007 \begin_layout Plain Layout
40011 \begin_layout Plain Layout
40024 \begin_layout Plain Layout
40032 \begin_inset Phantom Phantom
40035 \begin_layout Plain Layout
40045 \begin_layout Plain Layout
40057 <cell alignment="left" valignment="top" usebox="none">
40060 \begin_layout Plain Layout
40064 \begin_layout Plain Layout
40077 \begin_layout Plain Layout
40085 \begin_inset Phantom Phantom
40088 \begin_layout Plain Layout
40098 \begin_layout Plain Layout
40112 <cell alignment="left" valignment="top" usebox="none">
40115 \begin_layout Plain Layout
40119 \begin_layout Plain Layout
40132 \begin_layout Plain Layout
40140 \begin_inset Phantom Phantom
40143 \begin_layout Plain Layout
40153 \begin_layout Plain Layout
40165 <cell alignment="left" valignment="top" usebox="none">
40168 \begin_layout Plain Layout
40172 \begin_layout Plain Layout
40185 \begin_layout Plain Layout
40193 \begin_inset Phantom Phantom
40196 \begin_layout Plain Layout
40206 \begin_layout Plain Layout
40218 <cell alignment="left" valignment="top" usebox="none">
40221 \begin_layout Plain Layout
40225 \begin_layout Plain Layout
40238 \begin_layout Plain Layout
40246 \begin_inset Phantom Phantom
40249 \begin_layout Plain Layout
40259 \begin_layout Plain Layout
40271 <cell alignment="left" valignment="top" usebox="none">
40274 \begin_layout Plain Layout
40278 \begin_layout Plain Layout
40291 \begin_layout Plain Layout
40299 \begin_inset Phantom Phantom
40302 \begin_layout Plain Layout
40312 \begin_layout Plain Layout
40326 <cell alignment="left" valignment="top" usebox="none">
40329 \begin_layout Plain Layout
40333 \begin_layout Plain Layout
40346 \begin_layout Plain Layout
40354 \begin_inset Phantom Phantom
40357 \begin_layout Plain Layout
40367 \begin_layout Plain Layout
40379 <cell alignment="left" valignment="top" usebox="none">
40382 \begin_layout Plain Layout
40386 \begin_layout Plain Layout
40399 \begin_layout Plain Layout
40407 \begin_inset Phantom Phantom
40410 \begin_layout Plain Layout
40420 \begin_layout Plain Layout
40432 <cell alignment="left" valignment="top" usebox="none">
40435 \begin_layout Plain Layout
40439 \begin_layout Plain Layout
40452 \begin_layout Plain Layout
40460 \begin_inset Phantom Phantom
40463 \begin_layout Plain Layout
40473 \begin_layout Plain Layout
40485 <cell alignment="left" valignment="top" usebox="none">
40488 \begin_layout Plain Layout
40492 \begin_layout Plain Layout
40505 \begin_layout Plain Layout
40513 \begin_inset Phantom Phantom
40516 \begin_layout Plain Layout
40526 \begin_layout Plain Layout
40540 <cell alignment="left" valignment="top" usebox="none">
40543 \begin_layout Plain Layout
40547 \begin_layout Plain Layout
40560 \begin_layout Plain Layout
40568 \begin_inset Phantom Phantom
40571 \begin_layout Plain Layout
40581 \begin_layout Plain Layout
40593 <cell alignment="left" valignment="top" usebox="none">
40596 \begin_layout Plain Layout
40600 \begin_layout Plain Layout
40613 \begin_layout Plain Layout
40621 \begin_inset Phantom Phantom
40624 \begin_layout Plain Layout
40634 \begin_layout Plain Layout
40646 <cell alignment="left" valignment="top" usebox="none">
40649 \begin_layout Plain Layout
40653 \begin_layout Plain Layout
40666 \begin_layout Plain Layout
40674 \begin_inset Phantom Phantom
40677 \begin_layout Plain Layout
40687 \begin_layout Plain Layout
40699 <cell alignment="left" valignment="top" usebox="none">
40702 \begin_layout Plain Layout
40706 \begin_layout Plain Layout
40719 \begin_layout Plain Layout
40727 \begin_inset Phantom Phantom
40730 \begin_layout Plain Layout
40740 \begin_layout Plain Layout
40754 <cell alignment="left" valignment="top" usebox="none">
40757 \begin_layout Plain Layout
40761 \begin_layout Plain Layout
40774 \begin_layout Plain Layout
40782 \begin_inset Phantom Phantom
40785 \begin_layout Plain Layout
40795 \begin_layout Plain Layout
40807 <cell alignment="left" valignment="top" usebox="none">
40810 \begin_layout Plain Layout
40814 \begin_layout Plain Layout
40827 \begin_layout Plain Layout
40835 \begin_inset Phantom Phantom
40838 \begin_layout Plain Layout
40848 \begin_layout Plain Layout
40860 <cell alignment="left" valignment="top" usebox="none">
40863 \begin_layout Plain Layout
40867 \begin_layout Plain Layout
40880 \begin_layout Plain Layout
40888 \begin_inset Phantom Phantom
40891 \begin_layout Plain Layout
40901 \begin_layout Plain Layout
40913 <cell alignment="left" valignment="top" usebox="none">
40916 \begin_layout Plain Layout
40920 \begin_layout Plain Layout
40933 \begin_layout Plain Layout
40941 \begin_inset Phantom Phantom
40944 \begin_layout Plain Layout
40954 \begin_layout Plain Layout
40968 <cell alignment="left" valignment="top" usebox="none">
40971 \begin_layout Plain Layout
40975 \begin_layout Plain Layout
40988 \begin_layout Plain Layout
40996 \begin_inset Phantom Phantom
40999 \begin_layout Plain Layout
41009 \begin_layout Plain Layout
41021 <cell alignment="left" valignment="top" usebox="none">
41024 \begin_layout Plain Layout
41028 \begin_layout Plain Layout
41041 \begin_layout Plain Layout
41049 \begin_inset Phantom Phantom
41052 \begin_layout Plain Layout
41062 \begin_layout Plain Layout
41074 <cell alignment="left" valignment="top" usebox="none">
41077 \begin_layout Plain Layout
41081 \begin_layout Plain Layout
41094 \begin_layout Plain Layout
41102 \begin_inset Phantom Phantom
41105 \begin_layout Plain Layout
41115 \begin_layout Plain Layout
41127 <cell alignment="left" valignment="top" usebox="none">
41130 \begin_layout Plain Layout
41134 \begin_layout Plain Layout
41147 \begin_layout Plain Layout
41155 \begin_inset Phantom Phantom
41158 \begin_layout Plain Layout
41168 \begin_layout Plain Layout
41182 <cell alignment="left" valignment="top" usebox="none">
41185 \begin_layout Plain Layout
41189 \begin_layout Plain Layout
41202 \begin_layout Plain Layout
41210 \begin_inset Phantom Phantom
41213 \begin_layout Plain Layout
41223 \begin_layout Plain Layout
41235 <cell alignment="left" valignment="top" usebox="none">
41238 \begin_layout Plain Layout
41242 \begin_layout Plain Layout
41255 \begin_layout Plain Layout
41263 \begin_inset Phantom Phantom
41266 \begin_layout Plain Layout
41276 \begin_layout Plain Layout
41288 <cell alignment="left" valignment="top" usebox="none">
41291 \begin_layout Plain Layout
41295 \begin_layout Plain Layout
41308 \begin_layout Plain Layout
41316 \begin_inset Phantom Phantom
41319 \begin_layout Plain Layout
41329 \begin_layout Plain Layout
41341 <cell alignment="left" valignment="top" usebox="none">
41344 \begin_layout Plain Layout
41348 \begin_layout Plain Layout
41361 \begin_layout Plain Layout
41369 \begin_inset Phantom Phantom
41372 \begin_layout Plain Layout
41382 \begin_layout Plain Layout
41396 <cell alignment="left" valignment="top" usebox="none">
41399 \begin_layout Plain Layout
41403 \begin_layout Plain Layout
41416 \begin_layout Plain Layout
41424 \begin_inset Phantom Phantom
41427 \begin_layout Plain Layout
41437 \begin_layout Plain Layout
41449 <cell alignment="left" valignment="top" usebox="none">
41452 \begin_layout Plain Layout
41456 \begin_layout Plain Layout
41469 \begin_layout Plain Layout
41477 \begin_inset Phantom Phantom
41480 \begin_layout Plain Layout
41490 \begin_layout Plain Layout
41502 <cell alignment="left" valignment="top" usebox="none">
41505 \begin_layout Plain Layout
41509 \begin_layout Plain Layout
41522 \begin_layout Plain Layout
41530 \begin_inset Phantom Phantom
41533 \begin_layout Plain Layout
41543 \begin_layout Plain Layout
41555 <cell alignment="left" valignment="top" usebox="none">
41558 \begin_layout Plain Layout
41562 \begin_layout Plain Layout
41575 \begin_layout Plain Layout
41583 \begin_inset Phantom Phantom
41586 \begin_layout Plain Layout
41596 \begin_layout Plain Layout
41610 <cell alignment="left" valignment="top" usebox="none">
41613 \begin_layout Plain Layout
41617 \begin_layout Plain Layout
41630 \begin_layout Plain Layout
41638 \begin_inset Phantom Phantom
41641 \begin_layout Plain Layout
41651 \begin_layout Plain Layout
41663 <cell alignment="left" valignment="top" usebox="none">
41666 \begin_layout Plain Layout
41672 <cell alignment="left" valignment="top" usebox="none">
41675 \begin_layout Plain Layout
41681 <cell alignment="left" valignment="top" usebox="none">
41684 \begin_layout Plain Layout
41698 \begin_layout Chapter
41700 \begin_inset CommandInset ref
41707 \begin_inset CommandInset label
41716 \begin_layout Standard
41717 \begin_inset Formula $n$
41721 \begin_inset Formula $W_{\mathrm{tot\, n}}$
41725 \begin_inset Formula
41727 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
41735 \begin_layout Standard
41737 \begin_inset Formula $W_{g\, n}$
41746 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
41747 \begin_inset space \thinspace{}
41757 \begin_inset space \thinspace{}
41763 \begin_layout Standard
41765 \begin_inset CommandInset ref
41767 reference "eq:Wtot_n"
41772 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
41776 \begin_inset Formula
41778 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
41786 \begin_layout Standard
41788 \begin_inset Formula $n$
41792 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
41796 \begin_inset CommandInset ref
41798 reference "eq:Wtot_n"
41803 \begin_inset CommandInset ref
41805 reference "eq:Wtot_mult"
41809 式が等しいものと置けば、必要となる固定幅
41810 \begin_inset Formula $W_{g\, n}$
41814 \begin_inset Formula
41816 W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
41824 \begin_layout Bibliography
41825 \labelwidthstring 参考文献
41826 \begin_inset CommandInset bibitem
41827 LatexCommand bibitem
41828 key "latexcompanion"
41832 Frank Mittelbach and Michel Goossens:
41834 The LaTeX Companion Second Edition.
41837 Addison-Wesley, 2004
41840 \begin_layout Bibliography
41841 \labelwidthstring 参考文献
41842 \begin_inset CommandInset bibitem
41843 LatexCommand bibitem
41848 Helmut Kopka and Patrick W.
41851 A Guide to LaTeX Fourth Edition.
41854 Addison-Wesley, 2003
41857 \begin_layout Bibliography
41858 \labelwidthstring 参考文献
41859 \begin_inset CommandInset bibitem
41860 LatexCommand bibitem
41867 LaTeX: A Document Preparation System.
41870 Addison-Wesley, second edition, 1994
41873 \begin_layout Bibliography
41874 \labelwidthstring 参考文献
41875 \begin_inset CommandInset bibitem
41876 LatexCommand bibitem
41884 \begin_inset CommandInset href
41887 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
41894 \begin_inset Index idx
41897 \begin_layout Plain Layout
41898 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
41906 \begin_layout Bibliography
41907 \labelwidthstring 参考文献
41908 \begin_inset CommandInset bibitem
41909 LatexCommand bibitem
41917 \begin_inset CommandInset href
41920 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
41927 \begin_inset Index idx
41930 \begin_layout Plain Layout
41931 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
41939 \begin_layout Bibliography
41940 \labelwidthstring 参考文献
41941 \begin_inset CommandInset bibitem
41942 LatexCommand bibitem
41950 \begin_inset CommandInset href
41953 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
41960 \begin_inset Index idx
41963 \begin_layout Plain Layout
41964 LaTeXぱっけーじ@LaTeXパッケージ ! caption
41972 \begin_layout Bibliography
41973 \labelwidthstring 参考文献
41974 \begin_inset CommandInset bibitem
41975 LatexCommand bibitem
41983 \begin_inset CommandInset href
41986 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
41993 \begin_inset Index idx
41996 \begin_layout Plain Layout
41997 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
42005 \begin_layout Bibliography
42006 \labelwidthstring 参考文献
42007 \begin_inset CommandInset bibitem
42008 LatexCommand bibitem
42016 \begin_inset CommandInset href
42019 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
42026 \begin_inset Index idx
42029 \begin_layout Plain Layout
42030 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
42038 \begin_layout Bibliography
42039 \labelwidthstring 参考文献
42040 \begin_inset CommandInset bibitem
42041 LatexCommand bibitem
42049 \begin_inset CommandInset href
42052 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
42059 \begin_inset Index idx
42062 \begin_layout Plain Layout
42063 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
42071 \begin_layout Bibliography
42072 \labelwidthstring 参考文献
42073 \begin_inset CommandInset bibitem
42074 LatexCommand bibitem
42082 \begin_inset CommandInset href
42085 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
42092 \begin_inset Index idx
42095 \begin_layout Plain Layout
42096 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42104 \begin_layout Bibliography
42105 \labelwidthstring 参考文献
42106 \begin_inset CommandInset bibitem
42107 LatexCommand bibitem
42115 \begin_inset CommandInset href
42118 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
42125 \begin_inset Index idx
42128 \begin_layout Plain Layout
42129 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42137 \begin_layout Bibliography
42138 \labelwidthstring 参考文献
42139 \begin_inset CommandInset bibitem
42140 LatexCommand bibitem
42148 \begin_inset CommandInset href
42151 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
42158 \begin_inset Index idx
42161 \begin_layout Plain Layout
42162 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
42170 \begin_layout Bibliography
42171 \labelwidthstring 参考文献
42172 \begin_inset CommandInset bibitem
42173 LatexCommand bibitem
42181 \begin_inset CommandInset href
42184 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
42195 \begin_inset CommandInset href
42198 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
42203 \begin_inset Index idx
42206 \begin_layout Plain Layout
42207 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
42215 \begin_layout Bibliography
42216 \labelwidthstring 参考文献
42217 \begin_inset CommandInset bibitem
42218 LatexCommand bibitem
42226 \begin_inset CommandInset href
42229 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
42236 \begin_inset Index idx
42239 \begin_layout Plain Layout
42240 LaTeXぱっけーじ@LaTeXパッケージ ! listings
42248 \begin_layout Bibliography
42249 \labelwidthstring 参考文献
42250 \begin_inset CommandInset bibitem
42251 LatexCommand bibitem
42259 \begin_inset CommandInset href
42262 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
42269 \begin_inset Index idx
42272 \begin_layout Plain Layout
42273 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
42281 \begin_layout Bibliography
42282 \labelwidthstring 参考文献
42283 \begin_inset CommandInset bibitem
42284 LatexCommand bibitem
42292 \begin_inset CommandInset href
42295 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
42302 \begin_inset Index idx
42305 \begin_layout Plain Layout
42306 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
42314 \begin_layout Bibliography
42315 \labelwidthstring 参考文献
42316 \begin_inset CommandInset bibitem
42317 LatexCommand bibitem
42325 \begin_inset CommandInset href
42328 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
42335 \begin_inset Index idx
42338 \begin_layout Plain Layout
42339 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
42347 \begin_layout Bibliography
42348 \labelwidthstring 参考文献
42349 \begin_inset CommandInset bibitem
42350 LatexCommand bibitem
42358 \begin_inset CommandInset href
42361 target "http://tug.org/PSTricks/"
42368 \begin_inset Index idx
42371 \begin_layout Plain Layout
42372 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
42380 \begin_layout Bibliography
42381 \labelwidthstring 参考文献
42382 \begin_inset CommandInset bibitem
42383 LatexCommand bibitem
42391 \begin_inset CommandInset href
42394 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
42401 \begin_inset Index idx
42404 \begin_layout Plain Layout
42405 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
42413 \begin_layout Bibliography
42414 \labelwidthstring 参考文献
42415 \begin_inset CommandInset bibitem
42416 LatexCommand bibitem
42424 \begin_inset CommandInset href
42427 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
42434 \begin_inset Index idx
42437 \begin_layout Plain Layout
42438 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
42446 \begin_layout Bibliography
42447 \labelwidthstring 参考文献
42448 \begin_inset CommandInset bibitem
42449 LatexCommand bibitem
42459 \begin_inset CommandInset href
42462 target "http://wiki.lyx.org/LyX/NewInLyX20"
42469 \begin_layout Standard
42470 \begin_inset CommandInset index_print
42471 LatexCommand printindex