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 for colored table rows
91 \usepackage[table]{xcolor}
93 % used to have extra space in table cells
94 \@ifundefined{extrarowheight}
95 {\usepackage{array}}{}
96 \setlength{\extrarowheight}{2pt}
98 % used for customized tables
101 {>{\centering\hspace{0pt}}m{#1}}
104 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
107 {>{\columncolor{#1}\hspace{0pt}}c}
109 \newcolumntype{V}{!{\vrule width 1.5pt}}
111 \newcolumntype{W}{!{\color{green}\vline}}
114 % insert additional vertical space of
115 % 1.5 mm between footnotes
117 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
119 % number algorithm floats within chapters
120 \numberwithin{algorithm}{chapter}
123 % ------------------------------------
124 % used to check for needed LaTeX packages
127 % check for package arydshln
128 % used for tables with dashed lines
129 \newboolean{arydshln}
130 \IfFileExists{arydshln.sty}
131 {\usepackage{arydshln}
132 \setboolean{arydshln}{true}}
133 {\setboolean{arydshln}{false}}
135 % check for package marginnote
136 % used for margin notes
137 \newboolean{marginnote}
138 \IfFileExists{marginnote.sty}
139 {\usepackage{marginnote}
140 \let\marginpar\marginnote
141 \setboolean{marginnote}{true}}
142 {\setboolean{marginnote}{false}}
144 % check for package sidecap
145 % used for captions on the side
147 \IfFileExists{sidecap.sty}
148 {\usepackage{sidecap}
149 \setboolean{sidecap}{true}}
150 {\setboolean{sidecap}{false}}
153 % used for surrounded fixed objects
154 \newboolean{picinpar}
155 \IfFileExists{picinpar.sty}
156 {\usepackage{picinpar}
157 \setboolean{picinpar}{true}}
158 {\setboolean{picinpar}{false}}
161 \newboolean{lettrine}
162 \IfFileExists{lettrine.sty}
163 {\usepackage{lettrine}
164 \setboolean{lettrine}{true}}
165 {\setboolean{lettrine}{false}}
169 \IfFileExists{diagbox.sty}
170 {\usepackage{diagbox}
171 \setboolean{diagbox}{true}}
172 {\setboolean{diagbox}{false}}
175 \renewcommand{\seename}{→}
178 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
179 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
181 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
182 \use_default_options false
186 \maintain_unincluded_children false
188 \language_package default
193 \font_typewriter default
194 \font_default_family default
195 \use_non_tex_fonts false
202 \default_output_format default
204 \bibtex_command default
205 \index_command default
209 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
210 \pdf_author "LyX Team, Uwe Stohr"
211 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
212 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
214 \pdf_bookmarksnumbered true
215 \pdf_bookmarksopen true
216 \pdf_bookmarksopenlevel 1
217 \pdf_breaklinks false
221 \pdf_pdfusetitle false
222 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
232 \paperorientation portrait
235 \notefontcolor #0000ff
246 \paragraph_separation skip
248 \quotes_language english
251 \paperpagestyle default
255 \tracking_changes false
256 \output_changes false
259 \html_be_strict false
265 LyXの図表・フロート・注釈・ボックス・外部素材に関する詳細説明書
273 \begin_layout Plain Layout
275 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
276 \begin_inset CommandInset href
278 name "lyx-docs@lists.lyx.org"
279 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
290 \begin_inset Note Note
293 \begin_layout Plain Layout
300 \begin_inset Newline newline
304 \begin_inset Newline newline
312 \begin_layout Standard
313 \begin_inset CommandInset toc
314 LatexCommand tableofcontents
321 \begin_layout Standard
322 \begin_inset Note Note
325 \begin_layout Plain Layout
326 本文書の全体をPDFやPS、DVIに書き出すには、
354 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
358 \begin_layout Plain Layout
360 \begin_inset Newline newline
365 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
368 \begin_inset Newline newline
379 \begin_layout Chapter
381 \begin_inset Index idx
384 \begin_layout Plain Layout
391 \begin_inset Index idx
394 \begin_layout Plain Layout
399 \begin_layout Plain Layout
410 \begin_layout Plain Layout
425 \begin_layout Section
427 \begin_inset Index idx
430 \begin_layout Plain Layout
431 ず@図 ! がぞうだいあろぐ@画像ダイアログ
437 \begin_inset CommandInset label
446 \begin_layout Standard
447 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
450 arg "dialog-show-new-inset graphics"
455 挿入\SpecialChar \menuseparator
458 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
461 \begin_layout Standard
462 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
465 \begin_layout Description
470 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
471 \begin_inset CommandInset ref
473 reference "cha:LyXで使用できる単位"
478 \begin_inset Newline newline
482 \begin_inset Index idx
485 \begin_layout Plain Layout
491 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
492 \begin_inset Newline newline
496 \begin_inset Index idx
499 \begin_layout Plain Layout
505 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
506 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
510 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
511 \begin_inset Newline newline
514 画像を右クリックすると現れるコンテクストメニューで
518 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
522 \begin_layout Description
527 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
531 ボタンを押すことによって、自動的に計算することもできます。
535 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
538 \begin_layout Description
543 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
546 \begin_inset Newline newline
551 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
554 \begin_inset Newline newline
563 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
565 \begin_inset Newline newline
568 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
569 \begin_inset CommandInset ref
571 reference "sec:PostScript"
575 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
576 \begin_inset Newline newline
584 \begin_inset Newline newline
589 zgrep %%Bounding x.eps.gz > x.eps.bb
592 \begin_inset Newline newline
595 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
596 \begin_inset Newline newline
609 you can define or join an image settings group.
612 \begin_inset Index idx
615 \begin_layout Plain Layout
616 ず@図 ! せっていぐるーぷ@設定グループ
621 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
622 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
623 ーを使用して、望むグループ名をチェックすることで行うこともできます。
626 \begin_layout Standard
627 \begin_inset VSpace bigskip
633 \begin_layout Standard
638 \begin_layout Plain Layout
640 \begin_inset CommandInset ref
651 の画像の例で、単独の中央揃えの段落に置いてあります。
654 \begin_layout Standard
656 \begin_inset Graphics
657 filename ../clipart/mobius.eps
667 \begin_layout Standard
668 下記は上と同じ画像ですが、下書きモードのものです。
671 \begin_layout Standard
673 \begin_inset Graphics
674 filename ../clipart/mobius.eps
685 \begin_layout Standard
686 \begin_inset Newpage newpage
692 \begin_layout Section
694 \begin_inset CommandInset label
701 \begin_inset Index idx
704 \begin_layout Plain Layout
711 \begin_inset Index idx
714 \begin_layout Plain Layout
723 \begin_layout Standard
725 \begin_inset CommandInset ref
727 reference "sec:フロートはじめに"
734 \begin_layout Standard
740 arg "float-insert figure"
747 挿入\SpecialChar \menuseparator
748 フロート\SpecialChar \menuseparator
751 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
752 \begin_inset CommandInset ref
754 reference "fig:犠牲のカモノハシ"
758 のようにキャプションの上に置くこともできますし、図
759 \begin_inset CommandInset ref
761 reference "fig:エッシャー"
765 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
766 \begin_inset CommandInset ref
768 reference "sec:キャプションの配置"
775 \begin_layout Standard
776 \begin_inset Float figure
781 \begin_layout Plain Layout
783 \begin_inset Graphics
784 filename ../clipart/platypus.eps
794 \begin_layout Plain Layout
797 \begin_layout Plain Layout
798 \begin_inset CommandInset label
817 \begin_layout Standard
818 \begin_inset Float figure
823 \begin_layout Plain Layout
826 \begin_layout Plain Layout
827 \begin_inset CommandInset label
841 \begin_layout Plain Layout
843 \begin_inset Graphics
844 filename ../clipart/escher-lsd.eps
859 \begin_layout Standard
860 \begin_inset Index idx
863 \begin_layout Plain Layout
864 さんしょう@参照 ! ずへの@図への ---
870 \begin_inset CommandInset ref
872 reference "fig:犠牲のカモノハシ"
877 \begin_inset CommandInset ref
879 reference "fig:エッシャー"
883 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
885 挿入\SpecialChar \menuseparator
894 を使用して、キャプションにラベルを挿入してください。その後、
896 挿入\SpecialChar \menuseparator
902 arg "dialog-show-new-inset ref"
905 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
906 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
907 \begin_inset Newline newline
911 \begin_inset CommandInset ref
913 reference "sec:フロートの参照"
920 \begin_layout Standard
921 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
922 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
923 \begin_inset CommandInset ref
925 reference "fig:歪められた二つの像"
929 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
930 \begin_inset CommandInset ref
932 reference "fig:何かわからない構造"
937 \begin_inset CommandInset ref
939 reference "fig:カモノハシ"
946 \begin_layout Standard
947 \begin_inset Float figure
952 \begin_layout Plain Layout
953 \begin_inset space \hfill{}
957 \begin_inset Float figure
962 \begin_layout Plain Layout
965 \begin_layout Plain Layout
966 \begin_inset CommandInset label
980 \begin_layout Plain Layout
981 \begin_inset Graphics
982 filename ../clipart/escher-lsd.eps
995 \begin_inset space \hfill{}
999 \begin_inset Float figure
1004 \begin_layout Plain Layout
1005 \begin_inset Caption
1007 \begin_layout Plain Layout
1008 \begin_inset CommandInset label
1022 \begin_layout Plain Layout
1023 \begin_inset Graphics
1024 filename ../clipart/platypus.eps
1037 \begin_inset space \hfill{}
1043 \begin_layout Plain Layout
1044 \begin_inset Caption
1046 \begin_layout Plain Layout
1047 \begin_inset CommandInset label
1049 name "fig:歪められた二つの像"
1053 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1066 \begin_layout Standard
1067 \begin_inset Newpage newpage
1073 \begin_layout Section
1075 \begin_inset CommandInset label
1082 \begin_inset Index idx
1085 \begin_layout Plain Layout
1092 \begin_inset Index idx
1095 \begin_layout Plain Layout
1104 \begin_layout Standard
1105 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1106 \begin_inset CommandInset ref
1108 reference "cha:ファイル出力形式"
1112 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1117 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1118 用するとよいでしょう。出力ファイル書式は、付録
1119 \begin_inset CommandInset ref
1121 reference "cha:ファイル出力形式"
1128 \begin_layout Standard
1129 フォントと同じく、画像形式にも以下の二つの型があります。
1132 \begin_layout Description
1133 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1134 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1139 \begin_inset Index idx
1142 \begin_layout Plain Layout
1147 \begin_layout Plain Layout
1158 \begin_layout Plain Layout
1170 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1175 \begin_inset Index idx
1178 \begin_layout Plain Layout
1183 \begin_layout Plain Layout
1194 \begin_layout Plain Layout
1206 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1215 \begin_inset Index idx
1218 \begin_layout Plain Layout
1223 \begin_layout Plain Layout
1234 \begin_layout Plain Layout
1249 \begin_layout Description
1250 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1251 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1253 \begin_inset Newline newline
1256 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1261 \begin_inset Index idx
1264 \begin_layout Plain Layout
1269 \begin_layout Plain Layout
1280 \begin_layout Plain Layout
1292 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1297 \begin_inset Index idx
1300 \begin_layout Plain Layout
1305 \begin_layout Plain Layout
1316 \begin_layout Plain Layout
1328 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1333 \begin_inset Index idx
1336 \begin_layout Plain Layout
1342 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1347 \begin_inset Index idx
1350 \begin_layout Plain Layout
1355 \begin_layout Plain Layout
1366 \begin_layout Plain Layout
1378 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1379 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1383 \begin_layout Plain Layout
1384 PDFの場合には、さらに元画像が圧縮されます。
1393 が生成するPDFファイルは、ビットマップ画像です。
1396 \begin_layout Standard
1397 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1398 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1399 \begin_inset Formula $\to$
1402 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1405 \begin_layout Chapter
1407 \begin_inset Index idx
1410 \begin_layout Plain Layout
1419 \begin_layout Section
1421 \begin_inset Index idx
1424 \begin_layout Plain Layout
1433 \begin_layout Standard
1455 arg "tabular-insert"
1476 挿入\SpecialChar \menuseparator
1479 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1480 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1481 \begin_inset Newline newline
1484 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1485 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1488 \begin_layout Standard
1490 \begin_inset Tabular
1491 <lyxtabular version="3" rows="4" columns="4">
1492 <features tabularvalignment="middle">
1493 <column alignment="center" valignment="top" width="0">
1494 <column alignment="center" valignment="top" width="0">
1495 <column alignment="center" valignment="top" width="0">
1496 <column alignment="center" valignment="top" width="0">
1498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1501 \begin_layout Plain Layout
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" rightline="true" usebox="none">
1528 \begin_layout Plain Layout
1536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1539 \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" rightline="true" usebox="none">
1566 \begin_layout Plain Layout
1574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1577 \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" rightline="true" usebox="none">
1604 \begin_layout Plain Layout
1612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1615 \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" rightline="true" usebox="none">
1642 \begin_layout Plain Layout
1656 \begin_layout Section
1658 \begin_inset Index idx
1661 \begin_layout Plain Layout
1670 \begin_layout Standard
1680 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1681 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1694 を選択するのと、セル自体を選択するのは違うことに注意して下さい。
1695 \begin_inset Newline newline
1702 を使用すると、ダイアログ中に行った変更が直ちに適用されるようになります。カーソルを別のセルに移動すると、ダイアログも新しいセルのパラメーターに更新されます。ダイ
1703 アログ中の長さの値を変更した場合には、リターンを押さないと変更が適用されません。
1704 \begin_inset Newline newline
1707 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1710 \begin_layout Description
1715 ここでは、現在列の幅と水平揃えを設定することができます。
1720 \begin_inset CommandInset ref
1722 reference "sub:特殊なセル揃え"
1726 で説明されています。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関して
1728 \begin_inset CommandInset ref
1734 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1735 \begin_inset Newline newline
1738 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1739 \begin_inset CommandInset ref
1745 節をご参照下さい。あるいは同一列のセルを連結行セルとして指定することもできます。これについては、第
1746 \begin_inset CommandInset ref
1753 \begin_inset Newline newline
1756 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1758 For more information see sec.
1759 \begin_inset space \thinspace{}
1765 \begin_inset CommandInset ref
1767 reference "sec:Rotated-Table-Cells"
1772 \begin_inset Newline newline
1776 \begin_inset Note Greyedout
1779 \begin_layout Plain Layout
1784 DVIビューアのすべてが回転を表示できるわけではありません。
1790 \begin_inset Newline newline
1793 下記は、本文行中の表に、表全体の垂直揃えを適用したものです。
1794 \begin_inset Newline newline
1798 \begin_inset Tabular
1799 <lyxtabular version="3" rows="2" columns="2">
1800 <features tabularvalignment="top">
1801 <column alignment="center" valignment="top" width="0pt">
1802 <column alignment="center" valignment="top" width="0">
1804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1807 \begin_layout Plain Layout
1813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1816 \begin_layout Plain Layout
1824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1827 \begin_layout Plain Layout
1833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1836 \begin_layout Plain Layout
1848 \begin_inset Tabular
1849 <lyxtabular version="3" rows="2" columns="2">
1850 <features tabularvalignment="middle">
1851 <column alignment="center" valignment="top" width="0">
1852 <column alignment="center" valignment="top" width="0">
1854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1857 \begin_layout Plain Layout
1863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1866 \begin_layout Plain Layout
1874 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1877 \begin_layout Plain Layout
1883 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1886 \begin_layout Plain Layout
1898 \begin_inset Tabular
1899 <lyxtabular version="3" rows="2" columns="2">
1900 <features tabularvalignment="bottom">
1901 <column alignment="center" valignment="top" width="0pt">
1902 <column alignment="center" valignment="top" width="0">
1904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1907 \begin_layout Plain Layout
1913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1916 \begin_layout Plain Layout
1924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1927 \begin_layout Plain Layout
1933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1936 \begin_layout Plain Layout
1948 \begin_inset Newline newline
1951 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1952 \begin_inset CommandInset ref
1954 reference "sub:連結列の計算"
1959 \begin_inset CommandInset ref
1961 reference "sec:色付きの表"
1968 \begin_layout Description
1973 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1974 \begin_inset Newline newline
1982 \begin_inset CommandInset ref
1984 reference "sec:フォーマル形式の表"
1988 節に述べられているフォーマル様式の表に表を変換します。
1989 \begin_inset Newline newline
1993 \begin_inset CommandInset ref
1995 reference "sub:行の余白取り"
1999 節に述べられているように、表の行に空白を追加することもできます。
2002 \begin_layout Description
2007 このタブは、複数のページにわたる、いわゆる「
2012 \begin_inset CommandInset ref
2019 \begin_inset CommandInset ref
2021 reference "sec:長尺表にまつわる諸点"
2025 節に、長尺表の機能に関する詳細な説明があります。
2028 \begin_layout Section
2030 \begin_inset Index idx
2033 \begin_layout Plain Layout
2042 \begin_layout Standard
2043 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
2044 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
2047 \begin_layout Standard
2048 ツールバーには、以下のアイコンがあります。
2051 \begin_layout Labeling
2052 \labelwidthstring 00.00.0000
2055 arg "inset-modify tabular append-row"
2058 は、現在セルあるいは選択範囲の下に行を追加します。
2061 \begin_layout Labeling
2062 \labelwidthstring 00.00.0000
2065 arg "inset-modify tabular append-column"
2068 は、現在セルあるいは選択範囲の右に列を追加します。
2071 \begin_layout Labeling
2072 \labelwidthstring 00.00.0000
2075 arg "inset-modify tabular delete-row"
2078 は、現在行あるいは選択範囲行を削除します。
2081 \begin_layout Labeling
2082 \labelwidthstring 00.00.0000
2085 arg "inset-modify tabular delete-column"
2088 は、現在列あるいは選択範囲列を削除します。
2091 \begin_layout Labeling
2092 \labelwidthstring 00.00.0000
2095 arg "inset-modify tabular toggle-line-top"
2098 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2101 \begin_layout Labeling
2102 \labelwidthstring 00.00.0000
2105 arg "inset-modify tabular toggle-line-bottom"
2108 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2111 \begin_layout Labeling
2112 \labelwidthstring 00.00.0000
2115 arg "inset-modify tabular toggle-line-left"
2118 は、現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2121 \begin_layout Labeling
2122 \labelwidthstring 00.00.0000
2125 arg "inset-modify tabular toggle-line-right"
2128 は、現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2131 \begin_layout Labeling
2132 \labelwidthstring 00.00.0000
2135 arg "inset-modify tabular set-all-lines"
2138 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2141 \begin_layout Labeling
2142 \labelwidthstring 00.00.0000
2145 arg "inset-modify tabular unset-all-lines"
2148 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2151 \begin_layout Labeling
2152 \labelwidthstring 00.00.0000
2155 arg "inset-modify tabular m-align-left"
2158 は、現在セルあるいは現在列の内容を左揃えにします。
2161 \begin_layout Labeling
2162 \labelwidthstring 00.00.0000
2165 arg "inset-modify tabular m-align-center"
2168 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2171 \begin_layout Labeling
2172 \labelwidthstring 00.00.0000
2175 arg "inset-modify tabular m-align-right"
2178 は、現在セルあるいは現在列の内容を右揃えにします。
2181 \begin_layout Labeling
2182 \labelwidthstring 00.00.0000
2185 arg "inset-modify tabular align-decimal"
2188 は、現在セルの内容を特定文字位置で揃えます。
2191 \begin_layout Labeling
2192 \labelwidthstring 00.00.0000
2195 arg "inset-modify tabular m-valign-top"
2198 は、現在セルの内容を垂直方向上揃えにします。
2201 \begin_layout Labeling
2202 \labelwidthstring 00.00.0000
2205 arg "inset-modify tabular m-valign-middle"
2208 は、現在セルの内容を垂直方向中央揃えにします。
2211 \begin_layout Labeling
2212 \labelwidthstring 00.00.0000
2215 arg "inset-modify tabular m-valign-bottom"
2218 は、現在セルの内容を垂直方向下揃えにします。
2221 \begin_layout Labeling
2222 \labelwidthstring 00.00.0000
2225 arg "inset-modify tabular set-rotate-cell"
2228 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2231 \begin_layout Labeling
2232 \labelwidthstring 00.00.0000
2235 arg "inset-modify tabular set-rotate-tabular"
2238 は、表全体を反時計廻りに90度回転します。
2241 \begin_layout Labeling
2242 \labelwidthstring 00.00.0000
2245 arg "inset-modify tabular multicolumn"
2248 は、現在セルあるいは選択範囲を連結列にします。
2251 \begin_layout Labeling
2252 \labelwidthstring 00.00.0000
2255 arg "inset-modify tabular multirow"
2258 は、現在セルあるいは選択範囲を連結行にします。
2261 \begin_layout Standard
2262 \begin_inset Note Greyedout
2265 \begin_layout Plain Layout
2270 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2278 \begin_layout Section
2280 \begin_inset Index idx
2283 \begin_layout Plain Layout
2284 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2292 \begin_layout Standard
2295 編集\SpecialChar \menuseparator
2298 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2302 \begin_layout Section
2304 \begin_inset CommandInset label
2311 \begin_inset Index idx
2314 \begin_layout Plain Layout
2321 \begin_inset Index idx
2324 \begin_layout Plain Layout
2333 \begin_layout Standard
2335 \begin_inset CommandInset ref
2337 reference "sec:フロートはじめに"
2344 \begin_layout Standard
2345 \begin_inset Float table
2351 \begin_layout Plain Layout
2352 \begin_inset Caption
2354 \begin_layout Plain Layout
2355 \begin_inset CommandInset label
2369 \begin_layout Plain Layout
2371 \begin_inset Tabular
2372 <lyxtabular version="3" rows="3" columns="3">
2373 <features tabularvalignment="middle">
2374 <column alignment="center" valignment="top" width="0pt">
2375 <column alignment="center" valignment="top" width="0pt">
2376 <column alignment="center" valignment="top" width="0pt">
2378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2381 \begin_layout Plain Layout
2396 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2399 \begin_layout Plain Layout
2414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2417 \begin_layout Plain Layout
2434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2437 \begin_layout Plain Layout
2443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2446 \begin_layout Plain Layout
2452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2455 \begin_layout Plain Layout
2463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2466 \begin_layout Plain Layout
2476 \begin_inset Formula $\int x^{2}dx$
2484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2487 \begin_layout Plain Layout
2497 \begin_inset Formula $\left[\begin{array}{cc}
2508 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2511 \begin_layout Plain Layout
2521 \begin_inset Formula $1+1=2$
2542 \begin_layout Standard
2547 \SpecialChar \menuseparator
2548 フロート\SpecialChar \menuseparator
2557 arg "float-insert table"
2565 \begin_layout Standard
2566 フロートは折りたたむことのできるボックスとして表示され、中には「表
2567 \begin_inset space ~
2570 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2573 \begin_layout Standard
2575 \begin_inset space ~
2579 \begin_inset CommandInset ref
2581 reference "tab:表フロート"
2588 \begin_layout Standard
2589 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2590 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2596 \begin_inset Index idx
2599 \begin_layout Plain Layout
2600 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2608 \begin_layout Standard
2614 \begin_layout Standard
2615 というオプションとともにloadコマンドを使って読み込んでください
2619 \begin_layout Plain Layout
2621 \begin_inset CommandInset ref
2623 reference "sec:キャプションの配置"
2633 \begin_inset CommandInset ref
2635 reference "sec:キャプションの書式設定"
2646 \begin_layout Standard
2647 \begin_inset Index idx
2650 \begin_layout Plain Layout
2651 さんしょう@参照 ! ひょうへの@表への
2656 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2658 挿入\SpecialChar \menuseparator
2667 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2671 arg "dialog-show-new-inset ref"
2674 を用いて、このラベルを参照することができます。
2675 \begin_inset Newline newline
2679 \begin_inset CommandInset ref
2681 reference "sec:フロートの参照"
2688 \begin_layout Section
2690 \begin_inset CommandInset label
2697 \begin_inset Index idx
2700 \begin_layout Plain Layout
2707 \begin_inset Index idx
2710 \begin_layout Plain Layout
2711 ひょう@表 ! ちょうしゃくひょう@長尺表
2719 \begin_layout Standard
2720 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2728 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2732 \begin_layout Description
2733 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2760 が定義されているときは、冒頭ページを除きます。
2769 これと区別して、このヘッダは本体ヘッダと呼びます。
2772 \begin_layout Description
2773 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2776 \begin_layout Description
2777 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2804 が定義されているときは、末尾ページを除きます。
2807 \begin_layout Description
2808 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2811 \begin_layout Description
2812 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2813 \begin_inset CommandInset ref
2815 reference "sub:長尺表のキャプション"
2822 \begin_layout Standard
2823 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2826 \begin_layout Standard
2828 \begin_inset Tabular
2829 <lyxtabular version="3" rows="69" columns="3">
2830 <features islongtable="true" longtabularalignment="center">
2831 <column alignment="left" valignment="top" width="0cm">
2832 <column alignment="left" valignment="top" width="0pt">
2833 <column alignment="center" valignment="top" width="0pt">
2834 <row endfirsthead="true">
2835 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2838 \begin_layout Plain Layout
2846 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2849 \begin_layout Plain Layout
2855 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2858 \begin_layout Plain Layout
2865 <row endfirsthead="true">
2866 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2869 \begin_layout Plain Layout
2875 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2878 \begin_layout Plain Layout
2884 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2887 \begin_layout Plain Layout
2896 <row endhead="true">
2897 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2900 \begin_layout Plain Layout
2908 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2911 \begin_layout Plain Layout
2917 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2920 \begin_layout Plain Layout
2927 <row endhead="true">
2928 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2931 \begin_layout Plain Layout
2937 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2940 \begin_layout Plain Layout
2946 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2949 \begin_layout Plain Layout
2958 <row endfoot="true">
2959 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2962 \begin_layout Plain Layout
2968 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2971 \begin_layout Plain Layout
2977 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2980 \begin_layout Plain Layout
2988 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2991 \begin_layout Plain Layout
2999 <cell alignment="center" valignment="top" usebox="none">
3002 \begin_layout Plain Layout
3008 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3011 \begin_layout Plain Layout
3019 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3022 \begin_layout Plain Layout
3030 <cell alignment="center" valignment="top" usebox="none">
3033 \begin_layout Plain Layout
3039 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3042 \begin_layout Plain Layout
3050 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3053 \begin_layout Plain Layout
3061 <cell alignment="center" valignment="top" usebox="none">
3064 \begin_layout Plain Layout
3070 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3073 \begin_layout Plain Layout
3081 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3084 \begin_layout Plain Layout
3092 <cell alignment="center" valignment="top" usebox="none">
3095 \begin_layout Plain Layout
3101 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3104 \begin_layout Plain Layout
3112 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3115 \begin_layout Plain Layout
3123 <cell alignment="center" valignment="top" usebox="none">
3126 \begin_layout Plain Layout
3132 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3135 \begin_layout Plain Layout
3143 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3146 \begin_layout Plain Layout
3154 <cell alignment="center" valignment="top" usebox="none">
3157 \begin_layout Plain Layout
3163 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3166 \begin_layout Plain Layout
3174 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3177 \begin_layout Plain Layout
3185 <cell alignment="center" valignment="top" usebox="none">
3188 \begin_layout Plain Layout
3194 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3197 \begin_layout Plain Layout
3205 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3208 \begin_layout Plain Layout
3216 <cell alignment="center" valignment="top" usebox="none">
3219 \begin_layout Plain Layout
3225 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3228 \begin_layout Plain Layout
3236 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3239 \begin_layout Plain Layout
3247 <cell alignment="center" valignment="top" usebox="none">
3250 \begin_layout Plain Layout
3256 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3259 \begin_layout Plain Layout
3267 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3270 \begin_layout Plain Layout
3278 <cell alignment="center" valignment="top" usebox="none">
3281 \begin_layout Plain Layout
3287 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3290 \begin_layout Plain Layout
3298 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3301 \begin_layout Plain Layout
3309 <cell alignment="center" valignment="top" usebox="none">
3312 \begin_layout Plain Layout
3318 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3321 \begin_layout Plain Layout
3329 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3332 \begin_layout Plain Layout
3340 <cell alignment="center" valignment="top" usebox="none">
3343 \begin_layout Plain Layout
3349 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3352 \begin_layout Plain Layout
3360 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3363 \begin_layout Plain Layout
3371 <cell alignment="center" valignment="top" usebox="none">
3374 \begin_layout Plain Layout
3380 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3383 \begin_layout Plain Layout
3391 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3394 \begin_layout Plain Layout
3402 <cell alignment="center" valignment="top" usebox="none">
3405 \begin_layout Plain Layout
3411 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3414 \begin_layout Plain Layout
3422 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3425 \begin_layout Plain Layout
3433 <cell alignment="center" valignment="top" usebox="none">
3436 \begin_layout Plain Layout
3442 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3445 \begin_layout Plain Layout
3453 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3456 \begin_layout Plain Layout
3464 <cell alignment="center" valignment="top" usebox="none">
3467 \begin_layout Plain Layout
3473 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3476 \begin_layout Plain Layout
3484 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3487 \begin_layout Plain Layout
3495 <cell alignment="center" valignment="top" usebox="none">
3498 \begin_layout Plain Layout
3504 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3507 \begin_layout Plain Layout
3515 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3518 \begin_layout Plain Layout
3526 <cell alignment="center" valignment="top" usebox="none">
3529 \begin_layout Plain Layout
3535 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3538 \begin_layout Plain Layout
3546 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3549 \begin_layout Plain Layout
3557 <cell alignment="center" valignment="top" usebox="none">
3560 \begin_layout Plain Layout
3566 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3569 \begin_layout Plain Layout
3577 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3580 \begin_layout Plain Layout
3588 <cell alignment="center" valignment="top" usebox="none">
3591 \begin_layout Plain Layout
3597 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3600 \begin_layout Plain Layout
3608 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3611 \begin_layout Plain Layout
3619 <cell alignment="center" valignment="top" usebox="none">
3622 \begin_layout Plain Layout
3628 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3631 \begin_layout Plain Layout
3639 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3642 \begin_layout Plain Layout
3650 <cell alignment="center" valignment="top" usebox="none">
3653 \begin_layout Plain Layout
3659 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3662 \begin_layout Plain Layout
3670 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3673 \begin_layout Plain Layout
3681 <cell alignment="center" valignment="top" usebox="none">
3684 \begin_layout Plain Layout
3690 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3693 \begin_layout Plain Layout
3701 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3704 \begin_layout Plain Layout
3712 <cell alignment="center" valignment="top" usebox="none">
3715 \begin_layout Plain Layout
3721 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3724 \begin_layout Plain Layout
3732 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3735 \begin_layout Plain Layout
3743 <cell alignment="center" valignment="top" usebox="none">
3746 \begin_layout Plain Layout
3752 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3755 \begin_layout Plain Layout
3763 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3766 \begin_layout Plain Layout
3774 <cell alignment="center" valignment="top" usebox="none">
3777 \begin_layout Plain Layout
3783 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3786 \begin_layout Plain Layout
3794 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3797 \begin_layout Plain Layout
3805 <cell alignment="center" valignment="top" usebox="none">
3808 \begin_layout Plain Layout
3814 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3817 \begin_layout Plain Layout
3825 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3828 \begin_layout Plain Layout
3836 <cell alignment="center" valignment="top" usebox="none">
3839 \begin_layout Plain Layout
3845 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3848 \begin_layout Plain Layout
3856 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3859 \begin_layout Plain Layout
3867 <cell alignment="center" valignment="top" usebox="none">
3870 \begin_layout Plain Layout
3876 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3879 \begin_layout Plain Layout
3887 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3890 \begin_layout Plain Layout
3898 <cell alignment="center" valignment="top" usebox="none">
3901 \begin_layout Plain Layout
3907 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3910 \begin_layout Plain Layout
3918 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3921 \begin_layout Plain Layout
3929 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3932 \begin_layout Plain Layout
3938 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3941 \begin_layout Plain Layout
3949 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3952 \begin_layout Plain Layout
3958 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3961 \begin_layout Plain Layout
3967 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3970 \begin_layout Plain Layout
3978 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3981 \begin_layout Plain Layout
3989 <cell alignment="center" valignment="top" usebox="none">
3992 \begin_layout Plain Layout
3998 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4001 \begin_layout Plain Layout
4009 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4012 \begin_layout Plain Layout
4020 <cell alignment="center" valignment="top" usebox="none">
4023 \begin_layout Plain Layout
4029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4032 \begin_layout Plain Layout
4040 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4043 \begin_layout Plain Layout
4051 <cell alignment="center" valignment="top" usebox="none">
4054 \begin_layout Plain Layout
4060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4063 \begin_layout Plain Layout
4071 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4074 \begin_layout Plain Layout
4082 <cell alignment="center" valignment="top" usebox="none">
4085 \begin_layout Plain Layout
4091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4094 \begin_layout Plain Layout
4102 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4105 \begin_layout Plain Layout
4113 <cell alignment="center" valignment="top" usebox="none">
4116 \begin_layout Plain Layout
4122 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4125 \begin_layout Plain Layout
4133 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4136 \begin_layout Plain Layout
4144 <cell alignment="center" valignment="top" usebox="none">
4147 \begin_layout Plain Layout
4153 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4156 \begin_layout Plain Layout
4164 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4167 \begin_layout Plain Layout
4175 <cell alignment="center" valignment="top" usebox="none">
4178 \begin_layout Plain Layout
4184 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4187 \begin_layout Plain Layout
4195 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4198 \begin_layout Plain Layout
4206 <cell alignment="center" valignment="top" usebox="none">
4209 \begin_layout Plain Layout
4215 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4218 \begin_layout Plain Layout
4226 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4229 \begin_layout Plain Layout
4237 <cell alignment="center" valignment="top" usebox="none">
4240 \begin_layout Plain Layout
4246 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4249 \begin_layout Plain Layout
4257 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4260 \begin_layout Plain Layout
4268 <cell alignment="center" valignment="top" usebox="none">
4271 \begin_layout Plain Layout
4277 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4280 \begin_layout Plain Layout
4288 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4291 \begin_layout Plain Layout
4299 <cell alignment="center" valignment="top" usebox="none">
4302 \begin_layout Plain Layout
4308 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4311 \begin_layout Plain Layout
4319 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4322 \begin_layout Plain Layout
4330 <cell alignment="center" valignment="top" usebox="none">
4333 \begin_layout Plain Layout
4339 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4342 \begin_layout Plain Layout
4350 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4353 \begin_layout Plain Layout
4361 <cell alignment="center" valignment="top" usebox="none">
4364 \begin_layout Plain Layout
4370 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4373 \begin_layout Plain Layout
4381 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4384 \begin_layout Plain Layout
4392 <cell alignment="center" valignment="top" usebox="none">
4395 \begin_layout Plain Layout
4401 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4404 \begin_layout Plain Layout
4412 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4415 \begin_layout Plain Layout
4423 <cell alignment="center" valignment="top" usebox="none">
4426 \begin_layout Plain Layout
4432 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4435 \begin_layout Plain Layout
4443 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4446 \begin_layout Plain Layout
4454 <cell alignment="center" valignment="top" usebox="none">
4457 \begin_layout Plain Layout
4463 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4466 \begin_layout Plain Layout
4474 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4477 \begin_layout Plain Layout
4485 <cell alignment="center" valignment="top" usebox="none">
4488 \begin_layout Plain Layout
4494 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4497 \begin_layout Plain Layout
4505 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4508 \begin_layout Plain Layout
4516 <cell alignment="center" valignment="top" usebox="none">
4519 \begin_layout Plain Layout
4525 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4528 \begin_layout Plain Layout
4536 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4539 \begin_layout Plain Layout
4547 <cell alignment="center" valignment="top" usebox="none">
4550 \begin_layout Plain Layout
4556 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4559 \begin_layout Plain Layout
4567 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4570 \begin_layout Plain Layout
4578 <cell alignment="center" valignment="top" usebox="none">
4581 \begin_layout Plain Layout
4587 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4590 \begin_layout Plain Layout
4598 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4601 \begin_layout Plain Layout
4609 <cell alignment="center" valignment="top" usebox="none">
4612 \begin_layout Plain Layout
4618 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4621 \begin_layout Plain Layout
4629 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4632 \begin_layout Plain Layout
4640 <cell alignment="center" valignment="top" usebox="none">
4643 \begin_layout Plain Layout
4649 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4652 \begin_layout Plain Layout
4660 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4663 \begin_layout Plain Layout
4671 <cell alignment="center" valignment="top" usebox="none">
4674 \begin_layout Plain Layout
4680 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4683 \begin_layout Plain Layout
4691 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4694 \begin_layout Plain Layout
4702 <cell alignment="center" valignment="top" usebox="none">
4705 \begin_layout Plain Layout
4711 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4714 \begin_layout Plain Layout
4722 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4725 \begin_layout Plain Layout
4733 <cell alignment="center" valignment="top" usebox="none">
4736 \begin_layout Plain Layout
4742 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4745 \begin_layout Plain Layout
4753 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4756 \begin_layout Plain Layout
4764 <cell alignment="center" valignment="top" usebox="none">
4767 \begin_layout Plain Layout
4773 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4776 \begin_layout Plain Layout
4784 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4787 \begin_layout Plain Layout
4795 <cell alignment="center" valignment="top" usebox="none">
4798 \begin_layout Plain Layout
4804 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4807 \begin_layout Plain Layout
4815 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4818 \begin_layout Plain Layout
4826 <cell alignment="center" valignment="top" usebox="none">
4829 \begin_layout Plain Layout
4835 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4838 \begin_layout Plain Layout
4846 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4849 \begin_layout Plain Layout
4857 <cell alignment="center" valignment="top" usebox="none">
4860 \begin_layout Plain Layout
4866 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4869 \begin_layout Plain Layout
4877 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4880 \begin_layout Plain Layout
4888 <cell alignment="center" valignment="top" usebox="none">
4891 \begin_layout Plain Layout
4897 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4900 \begin_layout Plain Layout
4908 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4911 \begin_layout Plain Layout
4919 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4922 \begin_layout Plain Layout
4928 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4931 \begin_layout Plain Layout
4938 <row endlastfoot="true">
4939 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4942 \begin_layout Plain Layout
4948 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4951 \begin_layout Plain Layout
4957 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4960 \begin_layout Plain Layout
4975 \begin_layout Plain Layout
4979 addtocounter{table}{-1}
4985 \begin_inset Note Note
4988 \begin_layout Plain Layout
4990 \begin_inset CommandInset ref
4992 reference "sub:長尺表のキャプション"
5004 \begin_layout Subsection
5006 \begin_inset CommandInset label
5013 \begin_inset Index idx
5016 \begin_layout Plain Layout
5017 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
5025 \begin_layout Standard
5026 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
5027 \begin_inset CommandInset ref
5029 reference "tab:別キャプション"
5036 \begin_layout Subsection
5038 \begin_inset Index idx
5041 \begin_layout Plain Layout
5042 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5050 \begin_layout Standard
5051 表設定ダイアログでは、長尺表の水平揃えを指定することができます。左揃えや右揃えでは、表は直接ページ境界に寄せられます。表と境界の間に余白を加えるには、中央揃えに
5055 \begin_layout Standard
5065 \begin_layout Standard
5066 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5078 の値を変更しなくてはなりません。ここで「値」は、第
5079 \begin_inset CommandInset ref
5085 表に挙げてある単位であれば、どの単位を取ることもできます。
5091 は、左頁余白から長尺表までの水平方向の距離を制御し、
5097 は、右頁余白からの距離を制御します。これらの長さの既定値は
5103 となっており、LyXの水平フィルと同等になっています。
5106 \begin_layout Standard
5123 \begin_layout Plain Layout
5139 \begin_layout Standard
5140 \begin_inset Tabular
5141 <lyxtabular version="3" rows="5" columns="5">
5142 <features islongtable="true" longtabularalignment="center">
5143 <column alignment="center" valignment="top" width="0">
5144 <column alignment="center" valignment="top" width="0">
5145 <column alignment="center" valignment="top" width="0">
5146 <column alignment="center" valignment="top" width="0">
5147 <column alignment="center" valignment="top" width="0">
5149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5152 \begin_layout Plain Layout
5158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5161 \begin_layout Plain Layout
5167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5170 \begin_layout Plain Layout
5176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5179 \begin_layout Plain Layout
5185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5188 \begin_layout Plain Layout
5196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5199 \begin_layout Plain Layout
5205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5208 \begin_layout Plain Layout
5214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5217 \begin_layout Plain Layout
5223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5226 \begin_layout Plain Layout
5232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5235 \begin_layout Plain Layout
5243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5246 \begin_layout Plain Layout
5252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5255 \begin_layout Plain Layout
5261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5264 \begin_layout Plain Layout
5270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5273 \begin_layout Plain Layout
5279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5282 \begin_layout Plain Layout
5290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5293 \begin_layout Plain Layout
5299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5302 \begin_layout Plain Layout
5308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5311 \begin_layout Plain Layout
5317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5320 \begin_layout Plain Layout
5326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5329 \begin_layout Plain Layout
5337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5340 \begin_layout Plain Layout
5346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5349 \begin_layout Plain Layout
5355 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5358 \begin_layout Plain Layout
5364 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5367 \begin_layout Plain Layout
5373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5376 \begin_layout Plain Layout
5391 \begin_layout Plain Layout
5408 \begin_layout Plain Layout
5412 addtocounter{table}{-1}
5418 \begin_inset Note Note
5421 \begin_layout Plain Layout
5423 \begin_inset CommandInset ref
5425 reference "sub:長尺表のキャプション"
5437 \begin_layout Subsection
5439 \begin_inset Index idx
5442 \begin_layout Plain Layout
5443 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5449 \begin_inset CommandInset label
5451 name "sub:長尺表のキャプション"
5458 \begin_layout Standard
5459 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5460 \begin_inset CommandInset ref
5466 節に述べられているように、ある行で長尺表オプションの
5470 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5473 \begin_layout Standard
5474 以下は、動作を確認するための短い長尺表です。
5477 \begin_layout Standard
5478 \begin_inset Tabular
5479 <lyxtabular version="3" rows="6" columns="5">
5480 <features islongtable="true" longtabularalignment="center">
5481 <column alignment="center" valignment="top" width="0">
5482 <column alignment="center" valignment="top" width="0">
5483 <column alignment="center" valignment="top" width="0">
5484 <column alignment="center" valignment="top" width="0">
5485 <column alignment="center" valignment="top" width="0">
5486 <row caption="true">
5487 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5490 \begin_layout Plain Layout
5491 \begin_inset Caption
5493 \begin_layout Plain Layout
5495 \begin_inset Argument
5498 \begin_layout Plain Layout
5514 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5517 \begin_layout Plain Layout
5523 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5526 \begin_layout Plain Layout
5532 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5535 \begin_layout Plain Layout
5541 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5544 \begin_layout Plain Layout
5552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5555 \begin_layout Plain Layout
5561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5564 \begin_layout Plain Layout
5570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5573 \begin_layout Plain Layout
5579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5582 \begin_layout Plain Layout
5588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5591 \begin_layout Plain Layout
5599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5602 \begin_layout Plain Layout
5608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5611 \begin_layout Plain Layout
5617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5620 \begin_layout Plain Layout
5626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5629 \begin_layout Plain Layout
5635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5638 \begin_layout Plain Layout
5646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5649 \begin_layout Plain Layout
5655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5658 \begin_layout Plain Layout
5664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5667 \begin_layout Plain Layout
5673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5676 \begin_layout Plain Layout
5682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5685 \begin_layout Plain Layout
5693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5696 \begin_layout Plain Layout
5702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5705 \begin_layout Plain Layout
5711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5714 \begin_layout Plain Layout
5720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5723 \begin_layout Plain Layout
5729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5732 \begin_layout Plain Layout
5740 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5743 \begin_layout Plain Layout
5749 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5752 \begin_layout Plain Layout
5758 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5761 \begin_layout Plain Layout
5767 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5770 \begin_layout Plain Layout
5776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5779 \begin_layout Plain Layout
5793 \begin_layout Standard
5794 \begin_inset VSpace medskip
5798 \begin_inset Note Greyedout
5801 \begin_layout Plain Layout
5806 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5807 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5810 \begin_layout Plain Layout
5815 addtocounter{table}{-1}
5818 \begin_layout Plain Layout
5819 というコマンドを挿入する方法があります。
5822 \begin_layout Plain Layout
5823 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5826 \begin_layout Plain Layout
5836 \begin_inset Newline newline
5847 addtocounter{table}{-1}}
5855 \begin_layout Standard
5856 \begin_inset Note Greyedout
5859 \begin_layout Plain Layout
5877 \begin_inset Index idx
5880 \begin_layout Plain Layout
5881 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5886 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5894 \begin_layout Subsubsection
5896 \begin_inset Index idx
5899 \begin_layout Plain Layout
5900 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5908 \begin_layout Standard
5909 \begin_inset Tabular
5910 <lyxtabular version="3" rows="6" columns="5">
5911 <features islongtable="true" longtabularalignment="center">
5912 <column alignment="center" valignment="top" width="0">
5913 <column alignment="center" valignment="top" width="0">
5914 <column alignment="center" valignment="top" width="0">
5915 <column alignment="center" valignment="top" width="0">
5916 <column alignment="center" valignment="top" width="0">
5917 <row caption="true">
5918 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5921 \begin_layout Plain Layout
5922 \begin_inset Caption
5924 \begin_layout Plain Layout
5926 \begin_inset CommandInset label
5942 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5945 \begin_layout Plain Layout
5951 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5954 \begin_layout Plain Layout
5960 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5963 \begin_layout Plain Layout
5969 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5972 \begin_layout Plain Layout
5980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5983 \begin_layout Plain Layout
5989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5992 \begin_layout Plain Layout
5998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6001 \begin_layout Plain Layout
6007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6010 \begin_layout Plain Layout
6016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6019 \begin_layout Plain Layout
6027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6030 \begin_layout Plain Layout
6036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6039 \begin_layout Plain Layout
6045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6048 \begin_layout Plain Layout
6054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6057 \begin_layout Plain Layout
6063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6066 \begin_layout Plain Layout
6074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6077 \begin_layout Plain Layout
6083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6086 \begin_layout Plain Layout
6092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6095 \begin_layout Plain Layout
6101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6104 \begin_layout Plain Layout
6110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6113 \begin_layout Plain Layout
6121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6124 \begin_layout Plain Layout
6130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6133 \begin_layout Plain Layout
6139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6142 \begin_layout Plain Layout
6148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6151 \begin_layout Plain Layout
6157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6160 \begin_layout Plain Layout
6168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6171 \begin_layout Plain Layout
6177 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6180 \begin_layout Plain Layout
6186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6189 \begin_layout Plain Layout
6195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6198 \begin_layout Plain Layout
6204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6207 \begin_layout Plain Layout
6221 \begin_layout Standard
6222 長尺表を参照するには、キャプションにラベルを挿入してください。
6225 \begin_layout Standard
6227 \begin_inset CommandInset ref
6236 \begin_layout Standard
6237 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6242 \begin_inset Index idx
6245 \begin_layout Plain Layout
6246 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6252 \begin_inset CommandInset ref
6254 reference "sec:キャプションの書式設定"
6261 \begin_layout Subsubsection
6263 \begin_inset Index idx
6266 \begin_layout Plain Layout
6267 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6275 \begin_layout Standard
6282 によって指定することができます。既定値は4
6283 \begin_inset space \thinspace{}
6286 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6289 \begin_layout Standard
6299 \begin_layout Standard
6300 というコマンドを書き加えて下さい。ここで「幅」には、付録
6301 \begin_inset CommandInset ref
6303 reference "cha:LyXで使用できる単位"
6307 に挙げられている単位を取ることができます。
6310 \begin_layout Standard
6314 \begin_layout Standard
6315 \begin_inset Tabular
6316 <lyxtabular version="3" rows="6" columns="5">
6317 <features islongtable="true" longtabularalignment="center">
6318 <column alignment="center" valignment="top" width="0">
6319 <column alignment="center" valignment="top" width="0">
6320 <column alignment="center" valignment="top" width="0">
6321 <column alignment="center" valignment="top" width="0">
6322 <column alignment="center" valignment="top" width="0">
6323 <row caption="true">
6324 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6327 \begin_layout Plain Layout
6328 \begin_inset Caption
6330 \begin_layout Plain Layout
6331 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6332 \begin_inset Argument
6335 \begin_layout Plain Layout
6351 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6354 \begin_layout Plain Layout
6360 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6363 \begin_layout Plain Layout
6369 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6372 \begin_layout Plain Layout
6378 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6381 \begin_layout Plain Layout
6389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6392 \begin_layout Plain Layout
6398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6401 \begin_layout Plain Layout
6407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6410 \begin_layout Plain Layout
6416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6419 \begin_layout Plain Layout
6425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6428 \begin_layout Plain Layout
6436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6439 \begin_layout Plain Layout
6445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6448 \begin_layout Plain Layout
6454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6457 \begin_layout Plain Layout
6463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6466 \begin_layout Plain Layout
6472 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6475 \begin_layout Plain Layout
6483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6486 \begin_layout Plain Layout
6492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6495 \begin_layout Plain Layout
6501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6504 \begin_layout Plain Layout
6510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6513 \begin_layout Plain Layout
6519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6522 \begin_layout Plain Layout
6530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6533 \begin_layout Plain Layout
6539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6542 \begin_layout Plain Layout
6548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6551 \begin_layout Plain Layout
6557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6560 \begin_layout Plain Layout
6566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6569 \begin_layout Plain Layout
6577 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6580 \begin_layout Plain Layout
6586 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6589 \begin_layout Plain Layout
6595 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6598 \begin_layout Plain Layout
6604 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6607 \begin_layout Plain Layout
6613 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6616 \begin_layout Plain Layout
6630 \begin_layout Standard
6634 \begin_layout Plain Layout
6646 \begin_inset Tabular
6647 <lyxtabular version="3" rows="6" columns="5">
6648 <features islongtable="true" longtabularalignment="center">
6649 <column alignment="center" valignment="top" width="0">
6650 <column alignment="center" valignment="top" width="0">
6651 <column alignment="center" valignment="top" width="0">
6652 <column alignment="center" valignment="top" width="0">
6653 <column alignment="center" valignment="top" width="0">
6654 <row caption="true">
6655 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6658 \begin_layout Plain Layout
6659 \begin_inset Caption
6661 \begin_layout Plain Layout
6663 \begin_inset space \thinspace{}
6667 \begin_inset space \thinspace{}
6671 \begin_inset space \thinspace{}
6675 \begin_inset Argument
6678 \begin_layout Plain Layout
6680 \begin_inset space \thinspace{}
6698 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6701 \begin_layout Plain Layout
6707 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6710 \begin_layout Plain Layout
6716 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6719 \begin_layout Plain Layout
6725 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6728 \begin_layout Plain Layout
6736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6739 \begin_layout Plain Layout
6745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6748 \begin_layout Plain Layout
6754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6757 \begin_layout Plain Layout
6763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6766 \begin_layout Plain Layout
6772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6775 \begin_layout Plain Layout
6783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6786 \begin_layout Plain Layout
6792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6795 \begin_layout Plain Layout
6801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6804 \begin_layout Plain Layout
6810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6813 \begin_layout Plain Layout
6819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6822 \begin_layout Plain Layout
6830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6833 \begin_layout Plain Layout
6839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6842 \begin_layout Plain Layout
6848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6851 \begin_layout Plain Layout
6857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6860 \begin_layout Plain Layout
6866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6869 \begin_layout Plain Layout
6877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6880 \begin_layout Plain Layout
6886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6889 \begin_layout Plain Layout
6895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6898 \begin_layout Plain Layout
6904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6907 \begin_layout Plain Layout
6913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6916 \begin_layout Plain Layout
6924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6927 \begin_layout Plain Layout
6933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6936 \begin_layout Plain Layout
6942 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6945 \begin_layout Plain Layout
6951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6954 \begin_layout Plain Layout
6960 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6963 \begin_layout Plain Layout
6977 \begin_layout Standard
6981 \begin_layout Plain Layout
6995 \begin_layout Standard
6996 \begin_inset Note Greyedout
6999 \begin_layout Plain Layout
7009 \begin_inset Index idx
7012 \begin_layout Plain Layout
7013 LaTeXぱっけーじ@LaTeXパッケージ ! caption
7025 \begin_inset space \thinspace{}
7028 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
7029 \begin_inset space \thinspace{}
7032 in幅のキャプションを作るには、3.99
7033 \begin_inset space \thinspace{}
7037 \begin_inset space \thinspace{}
7048 captionsetup{width=値}
7050 というLaTeXコマンドを用いる方法があります。
7058 \begin_layout Subsubsection
7060 \begin_inset Index idx
7063 \begin_layout Plain Layout
7064 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7072 \begin_layout Standard
7073 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
7076 \begin_layout Standard
7088 \begin_layout Standard
7089 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
7090 \begin_inset CommandInset ref
7092 reference "tab:別キャプション"
7096 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7099 \begin_layout Standard
7101 \begin_inset Tabular
7102 <lyxtabular version="3" rows="59" columns="3">
7103 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7104 <column alignment="left" valignment="top" width="0cm">
7105 <column alignment="left" valignment="top" width="0pt">
7106 <column alignment="center" valignment="top" width="0pt">
7107 <row caption="true">
7108 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7111 \begin_layout Plain Layout
7112 \begin_inset Caption
7114 \begin_layout Plain Layout
7116 \begin_inset CommandInset label
7123 \begin_inset Argument
7126 \begin_layout Plain Layout
7142 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7145 \begin_layout Plain Layout
7151 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7154 \begin_layout Plain Layout
7161 <row endfirsthead="true">
7162 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7165 \begin_layout Plain Layout
7173 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7176 \begin_layout Plain Layout
7182 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7185 \begin_layout Plain Layout
7192 <row endfirsthead="true">
7193 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7196 \begin_layout Plain Layout
7204 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7207 \begin_layout Plain Layout
7213 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7216 \begin_layout Plain Layout
7225 <row endhead="true">
7226 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7229 \begin_layout Plain Layout
7233 \begin_layout Plain Layout
7251 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7254 \begin_layout Plain Layout
7260 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7263 \begin_layout Plain Layout
7270 <row endhead="true">
7271 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7274 \begin_layout Plain Layout
7282 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7285 \begin_layout Plain Layout
7291 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7294 \begin_layout Plain Layout
7301 <row endhead="true">
7302 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7305 \begin_layout Plain Layout
7313 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7316 \begin_layout Plain Layout
7322 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7325 \begin_layout Plain Layout
7334 <row endfoot="true">
7335 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7338 \begin_layout Plain Layout
7344 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7347 \begin_layout Plain Layout
7353 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7356 \begin_layout Plain Layout
7364 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7367 \begin_layout Plain Layout
7375 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7378 \begin_layout Plain Layout
7384 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7387 \begin_layout Plain Layout
7395 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7398 \begin_layout Plain Layout
7406 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7409 \begin_layout Plain Layout
7415 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7418 \begin_layout Plain Layout
7426 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7429 \begin_layout Plain Layout
7437 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7440 \begin_layout Plain Layout
7446 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7449 \begin_layout Plain Layout
7457 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7460 \begin_layout Plain Layout
7468 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7471 \begin_layout Plain Layout
7477 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7480 \begin_layout Plain Layout
7488 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7491 \begin_layout Plain Layout
7499 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7502 \begin_layout Plain Layout
7508 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7511 \begin_layout Plain Layout
7519 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7522 \begin_layout Plain Layout
7530 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7533 \begin_layout Plain Layout
7539 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7542 \begin_layout Plain Layout
7550 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7553 \begin_layout Plain Layout
7561 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7564 \begin_layout Plain Layout
7570 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7573 \begin_layout Plain Layout
7581 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7584 \begin_layout Plain Layout
7592 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7595 \begin_layout Plain Layout
7601 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7604 \begin_layout Plain Layout
7612 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7615 \begin_layout Plain Layout
7623 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7626 \begin_layout Plain Layout
7632 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7635 \begin_layout Plain Layout
7643 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7646 \begin_layout Plain Layout
7654 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7657 \begin_layout Plain Layout
7663 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7666 \begin_layout Plain Layout
7674 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7677 \begin_layout Plain Layout
7685 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7688 \begin_layout Plain Layout
7694 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7697 \begin_layout Plain Layout
7705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7708 \begin_layout Plain Layout
7716 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7719 \begin_layout Plain Layout
7725 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7728 \begin_layout Plain Layout
7736 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7739 \begin_layout Plain Layout
7747 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7750 \begin_layout Plain Layout
7756 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7759 \begin_layout Plain Layout
7767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7770 \begin_layout Plain Layout
7778 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7781 \begin_layout Plain Layout
7787 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7790 \begin_layout Plain Layout
7798 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7801 \begin_layout Plain Layout
7810 \begin_layout Plain Layout
7821 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7824 \begin_layout Plain Layout
7830 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7833 \begin_layout Plain Layout
7841 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7844 \begin_layout Plain Layout
7852 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7855 \begin_layout Plain Layout
7861 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7864 \begin_layout Plain Layout
7872 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7875 \begin_layout Plain Layout
7883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7886 \begin_layout Plain Layout
7892 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7895 \begin_layout Plain Layout
7903 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7906 \begin_layout Plain Layout
7914 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7917 \begin_layout Plain Layout
7923 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7926 \begin_layout Plain Layout
7934 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7937 \begin_layout Plain Layout
7945 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7948 \begin_layout Plain Layout
7954 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7957 \begin_layout Plain Layout
7965 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7968 \begin_layout Plain Layout
7976 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7979 \begin_layout Plain Layout
7985 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7988 \begin_layout Plain Layout
7996 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7999 \begin_layout Plain Layout
8007 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8010 \begin_layout Plain Layout
8016 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8019 \begin_layout Plain Layout
8027 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8030 \begin_layout Plain Layout
8038 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8041 \begin_layout Plain Layout
8047 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8050 \begin_layout Plain Layout
8058 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8061 \begin_layout Plain Layout
8069 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8072 \begin_layout Plain Layout
8078 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8081 \begin_layout Plain Layout
8089 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8092 \begin_layout Plain Layout
8100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8103 \begin_layout Plain Layout
8109 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8112 \begin_layout Plain Layout
8120 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8123 \begin_layout Plain Layout
8131 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8134 \begin_layout Plain Layout
8140 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8143 \begin_layout Plain Layout
8151 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8154 \begin_layout Plain Layout
8162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8165 \begin_layout Plain Layout
8171 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8174 \begin_layout Plain Layout
8182 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8185 \begin_layout Plain Layout
8193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8196 \begin_layout Plain Layout
8202 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8205 \begin_layout Plain Layout
8213 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8216 \begin_layout Plain Layout
8224 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8227 \begin_layout Plain Layout
8233 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8236 \begin_layout Plain Layout
8244 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8247 \begin_layout Plain Layout
8255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8258 \begin_layout Plain Layout
8264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8267 \begin_layout Plain Layout
8275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8278 \begin_layout Plain Layout
8286 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8289 \begin_layout Plain Layout
8295 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8298 \begin_layout Plain Layout
8306 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8309 \begin_layout Plain Layout
8317 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8320 \begin_layout Plain Layout
8326 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8329 \begin_layout Plain Layout
8337 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8340 \begin_layout Plain Layout
8346 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8349 \begin_layout Plain Layout
8355 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8358 \begin_layout Plain Layout
8366 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8369 \begin_layout Plain Layout
8377 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8380 \begin_layout Plain Layout
8386 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8389 \begin_layout Plain Layout
8397 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8400 \begin_layout Plain Layout
8408 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8411 \begin_layout Plain Layout
8417 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8420 \begin_layout Plain Layout
8428 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8431 \begin_layout Plain Layout
8439 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8442 \begin_layout Plain Layout
8448 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8451 \begin_layout Plain Layout
8459 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8462 \begin_layout Plain Layout
8470 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8473 \begin_layout Plain Layout
8479 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8482 \begin_layout Plain Layout
8490 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8493 \begin_layout Plain Layout
8501 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8504 \begin_layout Plain Layout
8510 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8513 \begin_layout Plain Layout
8521 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8524 \begin_layout Plain Layout
8532 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8535 \begin_layout Plain Layout
8541 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8544 \begin_layout Plain Layout
8552 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8555 \begin_layout Plain Layout
8563 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8566 \begin_layout Plain Layout
8572 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8575 \begin_layout Plain Layout
8583 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8586 \begin_layout Plain Layout
8594 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8597 \begin_layout Plain Layout
8603 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8606 \begin_layout Plain Layout
8614 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8617 \begin_layout Plain Layout
8625 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8628 \begin_layout Plain Layout
8634 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8637 \begin_layout Plain Layout
8645 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8648 \begin_layout Plain Layout
8656 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8659 \begin_layout Plain Layout
8665 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8668 \begin_layout Plain Layout
8676 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8679 \begin_layout Plain Layout
8687 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8690 \begin_layout Plain Layout
8696 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8699 \begin_layout Plain Layout
8707 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8710 \begin_layout Plain Layout
8718 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8721 \begin_layout Plain Layout
8727 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8730 \begin_layout Plain Layout
8738 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8741 \begin_layout Plain Layout
8749 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8752 \begin_layout Plain Layout
8758 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8761 \begin_layout Plain Layout
8769 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8772 \begin_layout Plain Layout
8780 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8783 \begin_layout Plain Layout
8789 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8792 \begin_layout Plain Layout
8800 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8803 \begin_layout Plain Layout
8811 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8814 \begin_layout Plain Layout
8820 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8823 \begin_layout Plain Layout
8831 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8834 \begin_layout Plain Layout
8842 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8845 \begin_layout Plain Layout
8851 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8854 \begin_layout Plain Layout
8862 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8865 \begin_layout Plain Layout
8873 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8876 \begin_layout Plain Layout
8882 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8885 \begin_layout Plain Layout
8893 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8896 \begin_layout Plain Layout
8904 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8907 \begin_layout Plain Layout
8913 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8916 \begin_layout Plain Layout
8924 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8927 \begin_layout Plain Layout
8935 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8938 \begin_layout Plain Layout
8944 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8947 \begin_layout Plain Layout
8955 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8958 \begin_layout Plain Layout
8966 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8969 \begin_layout Plain Layout
8975 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8978 \begin_layout Plain Layout
8992 \begin_layout Section
8994 \begin_inset CommandInset label
8996 name "sec:長尺表にまつわる諸点"
9003 \begin_layout Subsection
9005 \begin_inset Index idx
9008 \begin_layout Plain Layout
9009 ちょうしゃくひょう@長尺表 ! けいさん@計算
9017 \begin_layout Standard
9018 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
9019 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
9022 \begin_layout Standard
9027 setcounter{LTchunksize}{100}
9030 \begin_layout Standard
9031 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9034 \begin_layout Subsection
9036 \begin_inset Index idx
9039 \begin_layout Plain Layout
9040 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9048 \begin_layout Standard
9049 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9055 コマンドを長尺表の前にTeXコードとして書き加えてください。
9058 \begin_layout Subsection
9060 \begin_inset Index idx
9063 \begin_layout Plain Layout
9064 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9072 \begin_layout Standard
9073 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9090 コマンドの前には、現セルよりも右にある列数と同じ数の「
9094 」文字を、TeXコードで挿入してやる必要があります。この
9102 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9103 \begin_inset Newline newline
9114 コマンドの後ろには、現在列の左側にある列数と同じ数の
9119 \begin_inset CommandInset ref
9121 reference "tab:強制改頁"
9125 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9128 \begin_layout Standard
9138 \begin_inset Newline newline
9144 \begin_layout Standard
9149 」の後にTeXコードとして挿入してあります。
9152 \begin_layout Standard
9153 同一行3列目の「111」は削除してあります。
9159 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9160 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9163 \begin_layout Standard
9171 \begin_inset Newline newline
9179 \begin_layout Standard
9183 \begin_layout Standard
9184 改頁をしたいセルが最右列にある場合には、
9187 \begin_layout Standard
9197 \begin_layout Standard
9198 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9202 \begin_layout Standard
9204 \begin_inset Tabular
9205 <lyxtabular version="3" rows="38" columns="3">
9206 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9207 <column alignment="left" valignment="top" width="0cm">
9208 <column alignment="left" valignment="top" width="3cm">
9209 <column alignment="center" valignment="top" width="0pt">
9210 <row caption="true">
9211 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9214 \begin_layout Plain Layout
9215 \begin_inset Caption
9217 \begin_layout Plain Layout
9219 \begin_inset CommandInset label
9226 \begin_inset Argument
9229 \begin_layout Plain Layout
9245 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9248 \begin_layout Plain Layout
9254 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9257 \begin_layout Plain Layout
9264 <row endfirsthead="true">
9265 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9268 \begin_layout Plain Layout
9276 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9279 \begin_layout Plain Layout
9285 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9288 \begin_layout Plain Layout
9295 <row endfirsthead="true">
9296 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9299 \begin_layout Plain Layout
9307 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9310 \begin_layout Plain Layout
9316 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9319 \begin_layout Plain Layout
9328 <row endhead="true">
9329 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9332 \begin_layout Plain Layout
9336 \begin_layout Plain Layout
9354 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9357 \begin_layout Plain Layout
9363 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9366 \begin_layout Plain Layout
9373 <row endhead="true">
9374 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9377 \begin_layout Plain Layout
9383 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9386 \begin_layout Plain Layout
9392 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9395 \begin_layout Plain Layout
9402 <row endhead="true">
9403 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9406 \begin_layout Plain Layout
9414 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9417 \begin_layout Plain Layout
9423 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9426 \begin_layout Plain Layout
9435 <row endfoot="true">
9436 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9439 \begin_layout Plain Layout
9445 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9448 \begin_layout Plain Layout
9454 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9457 \begin_layout Plain Layout
9465 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9468 \begin_layout Plain Layout
9476 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9479 \begin_layout Plain Layout
9485 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9488 \begin_layout Plain Layout
9496 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9499 \begin_layout Plain Layout
9507 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9510 \begin_layout Plain Layout
9516 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9519 \begin_layout Plain Layout
9527 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9530 \begin_layout Plain Layout
9538 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9541 \begin_layout Plain Layout
9547 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9550 \begin_layout Plain Layout
9558 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9561 \begin_layout Plain Layout
9569 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9572 \begin_layout Plain Layout
9578 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9581 \begin_layout Plain Layout
9589 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9592 \begin_layout Plain Layout
9600 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9603 \begin_layout Plain Layout
9609 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9612 \begin_layout Plain Layout
9620 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9623 \begin_layout Plain Layout
9631 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9634 \begin_layout Plain Layout
9640 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9643 \begin_layout Plain Layout
9651 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9654 \begin_layout Plain Layout
9662 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9665 \begin_layout Plain Layout
9671 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9674 \begin_layout Plain Layout
9682 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9685 \begin_layout Plain Layout
9693 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9696 \begin_layout Plain Layout
9702 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9705 \begin_layout Plain Layout
9713 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9716 \begin_layout Plain Layout
9724 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9727 \begin_layout Plain Layout
9733 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9736 \begin_layout Plain Layout
9744 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9747 \begin_layout Plain Layout
9755 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9758 \begin_layout Plain Layout
9764 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9767 \begin_layout Plain Layout
9775 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9778 \begin_layout Plain Layout
9786 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9789 \begin_layout Plain Layout
9795 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9798 \begin_layout Plain Layout
9806 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9809 \begin_layout Plain Layout
9817 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9820 \begin_layout Plain Layout
9826 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9829 \begin_layout Plain Layout
9837 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9840 \begin_layout Plain Layout
9848 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9851 \begin_layout Plain Layout
9857 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9860 \begin_layout Plain Layout
9868 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9871 \begin_layout Plain Layout
9879 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9882 \begin_layout Plain Layout
9888 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9891 \begin_layout Plain Layout
9899 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9902 \begin_layout Plain Layout
9910 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9913 \begin_layout Plain Layout
9919 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9922 \begin_layout Plain Layout
9930 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9933 \begin_layout Plain Layout
9941 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9944 \begin_layout Plain Layout
9950 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9953 \begin_layout Plain Layout
9961 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9964 \begin_layout Plain Layout
9972 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9975 \begin_layout Plain Layout
9981 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9984 \begin_layout Plain Layout
9992 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9995 \begin_layout Plain Layout
10003 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10006 \begin_layout Plain Layout
10012 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10015 \begin_layout Plain Layout
10023 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10026 \begin_layout Plain Layout
10034 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10037 \begin_layout Plain Layout
10043 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10046 \begin_layout Plain Layout
10054 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10057 \begin_layout Plain Layout
10065 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10068 \begin_layout Plain Layout
10074 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10077 \begin_layout Plain Layout
10085 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10088 \begin_layout Plain Layout
10096 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10099 \begin_layout Plain Layout
10105 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10108 \begin_layout Plain Layout
10116 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10119 \begin_layout Plain Layout
10127 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10130 \begin_layout Plain Layout
10136 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10139 \begin_layout Plain Layout
10147 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10150 \begin_layout Plain Layout
10158 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10161 \begin_layout Plain Layout
10163 Fürst von Montecompatri, 11.
10164 Fürst von Sulmona und Vivaro, 10.
10165 Fürst von Rossano, 5.
10166 Herzog von Canemorte, 11.
10167 Herzog von Palombara, 5.
10168 Herzog von Castelchiodato,
10172 \begin_layout Plain Layout
10183 \begin_layout Plain Layout
10191 Herzog von Poggionativo, 11.
10192 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10193 Graf von Valinfreda, 11.
10194 Baron von Cropalati, 11.
10195 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10200 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10203 \begin_layout Plain Layout
10211 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10214 \begin_layout Plain Layout
10222 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10225 \begin_layout Plain Layout
10231 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10234 \begin_layout Plain Layout
10242 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10245 \begin_layout Plain Layout
10253 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10256 \begin_layout Plain Layout
10262 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10265 \begin_layout Plain Layout
10273 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10276 \begin_layout Plain Layout
10284 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10287 \begin_layout Plain Layout
10293 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10296 \begin_layout Plain Layout
10304 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10307 \begin_layout Plain Layout
10315 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10318 \begin_layout Plain Layout
10324 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10327 \begin_layout Plain Layout
10335 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10338 \begin_layout Plain Layout
10346 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10349 \begin_layout Plain Layout
10355 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10358 \begin_layout Plain Layout
10366 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10369 \begin_layout Plain Layout
10377 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10380 \begin_layout Plain Layout
10386 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10389 \begin_layout Plain Layout
10397 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10400 \begin_layout Plain Layout
10408 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10411 \begin_layout Plain Layout
10417 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10420 \begin_layout Plain Layout
10428 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10431 \begin_layout Plain Layout
10439 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10442 \begin_layout Plain Layout
10448 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10451 \begin_layout Plain Layout
10465 \begin_layout Section
10469 \begin_layout Subsection
10471 \begin_inset CommandInset label
10478 \begin_inset Index idx
10481 \begin_layout Plain Layout
10482 ひょうせるないのふくすうぎょう@表セル内の複数行
10488 \begin_inset Index idx
10491 \begin_layout Plain Layout
10500 \begin_layout Standard
10502 \begin_inset Float table
10508 \begin_layout Plain Layout
10509 \begin_inset Caption
10511 \begin_layout Plain Layout
10512 \begin_inset CommandInset label
10526 \begin_layout Plain Layout
10528 \begin_inset Tabular
10529 <lyxtabular version="3" rows="3" columns="3">
10530 <features tabularvalignment="middle">
10531 <column alignment="center" valignment="middle" width="2.5cm">
10532 <column alignment="center" valignment="middle" width="0">
10533 <column alignment="center" valignment="middle" width="0">
10535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10538 \begin_layout Plain Layout
10540 \begin_inset Newline linebreak
10548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10551 \begin_layout Plain Layout
10557 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10560 \begin_layout Plain Layout
10568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10571 \begin_layout Plain Layout
10577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10580 \begin_layout Plain Layout
10586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10589 \begin_layout Plain Layout
10597 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10600 \begin_layout Plain Layout
10606 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10609 \begin_layout Plain Layout
10615 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10618 \begin_layout Plain Layout
10637 \begin_layout Standard
10638 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10641 \begin_layout Standard
10643 \begin_inset CommandInset ref
10645 reference "tab:複数行表"
10649 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10653 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10654 \begin_inset space \thinspace{}
10657 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10658 \begin_inset space \thinspace{}
10661 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10664 arg "newline-insert linebreak"
10667 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10670 \begin_layout Standard
10671 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10672 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10673 \begin_inset space \thinspace{}
10676 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10677 \begin_inset CommandInset ref
10679 reference "tab:ハイフネーション表"
10687 \begin_layout Plain Layout
10692 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10700 \begin_layout Standard
10701 \begin_inset Float table
10707 \begin_layout Plain Layout
10708 \begin_inset Caption
10710 \begin_layout Plain Layout
10711 \begin_inset CommandInset label
10713 name "tab:ハイフネーション表"
10725 \begin_layout Plain Layout
10726 \begin_inset space \hfill{}
10730 \begin_inset Tabular
10731 <lyxtabular version="3" rows="3" columns="3">
10732 <features tabularvalignment="middle">
10733 <column alignment="center" valignment="middle" width="2.5cm">
10734 <column alignment="center" valignment="middle" width="0">
10735 <column alignment="center" valignment="middle" width="0">
10737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10740 \begin_layout Plain Layout
10741 verylongtablecellword
10746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10749 \begin_layout Plain Layout
10755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10758 \begin_layout Plain Layout
10766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10769 \begin_layout Plain Layout
10775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10778 \begin_layout Plain Layout
10784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10787 \begin_layout Plain Layout
10795 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10798 \begin_layout Plain Layout
10804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10807 \begin_layout Plain Layout
10813 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10816 \begin_layout Plain Layout
10828 \begin_inset space \hfill{}
10832 \begin_inset Tabular
10833 <lyxtabular version="3" rows="3" columns="3">
10834 <features tabularvalignment="middle">
10835 <column alignment="center" valignment="middle" width="2.5cm">
10836 <column alignment="center" valignment="middle" width="0">
10837 <column alignment="center" valignment="middle" width="0">
10839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10842 \begin_layout Plain Layout
10843 \begin_inset space \hspace{}
10847 verylongtablecellword
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" rightline="true" usebox="none">
10864 \begin_layout Plain Layout
10872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10875 \begin_layout Plain Layout
10881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10884 \begin_layout Plain Layout
10890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10893 \begin_layout Plain Layout
10901 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10904 \begin_layout Plain Layout
10910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10913 \begin_layout Plain Layout
10919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10922 \begin_layout Plain Layout
10934 \begin_inset space \hfill{}
10945 \begin_layout Subsection
10947 \begin_inset CommandInset label
10954 \begin_inset Index idx
10957 \begin_layout Plain Layout
10964 \begin_inset Index idx
10967 \begin_layout Plain Layout
10976 \begin_layout Subsubsection
10980 \begin_layout Standard
10981 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
10984 arg "inset-modify tabular multicolumn"
10989 編集\SpecialChar \menuseparator
10990 表\SpecialChar \menuseparator
10993 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
11000 \begin_layout Standard
11001 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
11002 、最下行に上罫線のない連結行がある表の例です。
11005 \begin_layout Standard
11007 \begin_inset Tabular
11008 <lyxtabular version="3" rows="3" columns="4">
11009 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11010 <column alignment="center" valignment="top" width="0pt">
11011 <column alignment="center" valignment="middle" width="0">
11012 <column alignment="center" valignment="top" width="0in">
11013 <column alignment="center" valignment="top" width="0pt">
11015 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11018 \begin_layout Plain Layout
11024 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11027 \begin_layout Plain Layout
11033 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11036 \begin_layout Plain Layout
11042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11045 \begin_layout Plain Layout
11053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11056 \begin_layout Plain Layout
11062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11065 \begin_layout Plain Layout
11071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11074 \begin_layout Plain Layout
11080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11083 \begin_layout Plain Layout
11091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11094 \begin_layout Plain Layout
11100 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11103 \begin_layout Plain Layout
11109 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11112 \begin_layout Plain Layout
11118 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11121 \begin_layout Plain Layout
11135 \begin_layout Subsubsection
11137 \begin_inset CommandInset label
11144 \begin_inset Index idx
11147 \begin_layout Plain Layout
11148 れんけつれつ@連結列 ! けいさん@計算
11156 \begin_layout Standard
11157 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11160 \begin_layout Standard
11161 \begin_inset Float table
11167 \begin_layout Plain Layout
11168 \begin_inset Caption
11170 \begin_layout Plain Layout
11171 \begin_inset CommandInset label
11177 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11178 \begin_inset Argument
11181 \begin_layout Plain Layout
11195 \begin_layout Plain Layout
11197 \begin_inset Tabular
11198 <lyxtabular version="3" rows="3" columns="3">
11199 <features tabularvalignment="middle">
11200 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11201 <column alignment="center" valignment="middle" width="0">
11202 <column alignment="center" valignment="top" width="0">
11204 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11207 \begin_layout Plain Layout
11213 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11216 \begin_layout Plain Layout
11222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11225 \begin_layout Plain Layout
11233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11236 \begin_layout Plain Layout
11242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11245 \begin_layout Plain Layout
11251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11254 \begin_layout Plain Layout
11262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11265 \begin_layout Plain Layout
11271 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11274 \begin_layout Plain Layout
11280 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11283 \begin_layout Plain Layout
11302 \begin_layout Standard
11304 \begin_inset CommandInset ref
11306 reference "tab:中央揃え表"
11310 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11314 を選択します。そして現れる表の設定ダイアログで、このセルを
11323 \begin_inset space \thinspace{}
11326 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11327 \begin_inset space \thinspace{}
11330 cm幅に設定します。すると第二列は自動的に1.25
11331 \begin_inset space \thinspace{}
11334 cm幅(連結列幅マイナス第一列の幅)になります。表
11335 \begin_inset CommandInset ref
11337 reference "tab:半分でない表"
11344 \begin_layout Standard
11345 \begin_inset Float table
11350 \begin_layout Plain Layout
11351 \begin_inset Caption
11353 \begin_layout Plain Layout
11354 \begin_inset CommandInset label
11360 連結セルの下の列が正確に半分になっていない表
11361 \begin_inset Argument
11364 \begin_layout Plain Layout
11378 \begin_layout Plain Layout
11380 \begin_inset Tabular
11381 <lyxtabular version="3" rows="3" columns="3">
11382 <features tabularvalignment="middle">
11383 <column alignment="center" valignment="top" width="1.25cm">
11384 <column alignment="center" valignment="top" width="0">
11385 <column alignment="center" valignment="top" width="0">
11387 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11390 \begin_layout Plain Layout
11396 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11399 \begin_layout Plain Layout
11405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11408 \begin_layout Plain Layout
11416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11419 \begin_layout Plain Layout
11425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11428 \begin_layout Plain Layout
11434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11437 \begin_layout Plain Layout
11445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11448 \begin_layout Plain Layout
11454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11457 \begin_layout Plain Layout
11463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11466 \begin_layout Plain Layout
11485 \begin_layout Standard
11486 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11488 \begin_inset Formula $W_{\mbox{指}}$
11492 \begin_inset Formula $W_{\text{全}}$
11496 \begin_inset CommandInset ref
11498 reference "cha:式の説明"
11505 \begin_layout Standard
11511 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11515 \begin_inset Formula $W_{\mbox{指}:n}$
11519 \begin_inset Formula
11521 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11529 \begin_layout Standard
11530 で計算することができます。上記の例では
11531 \begin_inset Formula $n=2$
11535 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11539 \begin_inset CommandInset ref
11546 \begin_inset Formula
11548 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11556 \begin_layout Standard
11557 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11560 \begin_layout Standard
11568 \begin_layout Standard
11574 \begin_inset Index idx
11577 \begin_layout Plain Layout
11578 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11583 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11584 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11587 \begin_layout Itemize
11592 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11595 \begin_layout Itemize
11600 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11603 \begin_layout Itemize
11608 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11611 \begin_layout Standard
11612 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11615 \begin_layout Standard
11616 \begin_inset Note Greyedout
11619 \begin_layout Plain Layout
11624 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11632 \begin_layout Standard
11639 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11642 \begin_layout Standard
11647 centering}m{1.25cm-6.2pt}
11650 \begin_layout Standard
11655 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11658 \begin_layout Standard
11659 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11663 \begin_layout Standard
11671 \begin_layout Standard
11672 というLaTeX変数を指定しなくてはなりません。
11675 \begin_layout Subsection
11677 \begin_inset CommandInset label
11684 \begin_inset Index idx
11687 \begin_layout Plain Layout
11694 \begin_inset Index idx
11697 \begin_layout Plain Layout
11698 ひょう@表 ! れんけつぎょう@連結行
11706 \begin_layout Standard
11707 複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
11710 arg "inset-modify tabular multirow"
11715 編集\SpecialChar \menuseparator
11716 表\SpecialChar \menuseparator
11719 を選ぶか、選択したセルを右クリックして、コンテクストメニューから
11721 \SpecialChar \menuseparator
11727 \begin_layout Standard
11728 下記は一列目に連結列を適用した表の例です。
11731 \begin_layout Standard
11733 \begin_inset Tabular
11734 <lyxtabular version="3" rows="3" columns="3">
11735 <features tabularvalignment="middle">
11736 <column alignment="center" valignment="top" width="0pt">
11737 <column alignment="center" valignment="top" width="0">
11738 <column alignment="center" valignment="top" width="0">
11740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11743 \begin_layout Plain Layout
11749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11752 \begin_layout Plain Layout
11758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11761 \begin_layout Plain Layout
11769 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11772 \begin_layout Plain Layout
11778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11781 \begin_layout Plain Layout
11787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11790 \begin_layout Plain Layout
11798 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11801 \begin_layout Plain Layout
11807 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11810 \begin_layout Plain Layout
11816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11819 \begin_layout Plain Layout
11833 \begin_layout Standard
11834 連結列の幅は、列全体の幅と揃えを設定することによって設定することができます。
11838 は、正または負の値を与えると、連結列の内容を上下にシフトします。
11841 \begin_layout Standard
11842 連結行セルの列に明示的な幅が与えられていない場合、連結行セルは当該列の揃えを継承します。それもなければ左揃えです。既定値を上書きするには、
11845 \begin_layout Standard
11857 \begin_layout Standard
11864 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11865 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11886 \begin_layout Standard
11887 下記は、-4ミリの垂直オフセットを設定し、3センチ幅の列中にある右揃えの連結列セルがある表の例です。
11890 \begin_layout Standard
11896 \begin_layout Plain Layout
11910 \begin_inset Tabular
11911 <lyxtabular version="3" rows="4" columns="3">
11912 <features tabularvalignment="middle">
11913 <column alignment="center" valignment="top" width="3cm">
11914 <column alignment="center" valignment="top" width="0">
11915 <column alignment="center" valignment="top" width="0">
11917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11920 \begin_layout Plain Layout
11926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11929 \begin_layout Plain Layout
11935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11938 \begin_layout Plain Layout
11946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11949 \begin_layout Plain Layout
11955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11958 \begin_layout Plain Layout
11964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11967 \begin_layout Plain Layout
11975 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11978 \begin_layout Plain Layout
11984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11987 \begin_layout Plain Layout
11993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11996 \begin_layout Plain Layout
12004 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12007 \begin_layout Plain Layout
12013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12016 \begin_layout Plain Layout
12022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12025 \begin_layout Plain Layout
12040 \begin_layout Plain Layout
12056 \begin_layout Standard
12059 To start a new line in a multirow you can use a forced line break (shortcut
12063 arg "newline-insert newline"
12066 ) but this will not respect the cell lines as demonstrated in this table:
12069 \begin_layout Standard
12074 \begin_inset Tabular
12075 <lyxtabular version="3" rows="3" columns="2">
12076 <features tabularvalignment="middle">
12077 <column alignment="left" valignment="middle" width="2cm">
12078 <column alignment="center" valignment="top" width="0">
12080 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12083 \begin_layout Plain Layout
12087 \begin_inset Newline newline
12091 \begin_inset Newline newline
12099 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12102 \begin_layout Plain Layout
12112 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12115 \begin_layout Plain Layout
12121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12124 \begin_layout Plain Layout
12134 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12137 \begin_layout Plain Layout
12145 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12148 \begin_layout Plain Layout
12164 \begin_layout Standard
12167 Therefore be careful with forced line breaks.
12170 \begin_layout Subsection
12173 Cells with diagonal line(s)
12176 \begin_layout Standard
12179 To tell the reader what is meant by column and row headings in a table,
12180 it is helpful to split the first cell of the table by one or two diagonal
12182 This can be achieved by loading the LaTeX-package
12188 \begin_inset Index idx
12191 \begin_layout Plain Layout
12192 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
12199 in the document preamble.
12200 The package provides the command
12206 that is inserted as TeX-Code and that can take 2 or 3
12207 \begin_inset space ~
12213 \begin_layout Standard
12219 diagbox[options]{lower left}{upper right}
12222 \begin_layout Standard
12228 diagbox[options]{lower left}{upper left}{upper right}
12231 \begin_layout Standard
12234 The first scheme divides the cell by a single diagonal line and the arguments
12235 are placed below and above this line.
12236 The second scheme divides the cell by 2
12237 \begin_inset space ~
12243 \begin_layout Standard
12247 \begin_layout Plain Layout
12257 \begin_inset Note Note
12260 \begin_layout Plain Layout
12273 \begin_layout Standard
12276 Here is an example table where
12282 is used in the 2-argument scheme in the first cell:
12283 \begin_inset VSpace medskip
12289 \begin_layout Standard
12293 \begin_inset Tabular
12294 <lyxtabular version="3" rows="4" columns="4">
12295 <features tabularvalignment="middle">
12296 <column alignment="center" valignment="top" width="0">
12297 <column alignment="center" valignment="top" width="0">
12298 <column alignment="center" valignment="top" width="0">
12299 <column alignment="center" valignment="top" width="0">
12301 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12304 \begin_layout Plain Layout
12310 \begin_layout Plain Layout
12323 \begin_layout Plain Layout
12334 \begin_layout Plain Layout
12346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12349 \begin_layout Plain Layout
12357 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12360 \begin_layout Plain Layout
12368 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12371 \begin_layout Plain Layout
12381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12384 \begin_layout Plain Layout
12392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12395 \begin_layout Plain Layout
12403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12406 \begin_layout Plain Layout
12414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12417 \begin_layout Plain Layout
12427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12430 \begin_layout Plain Layout
12438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12441 \begin_layout Plain Layout
12449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12452 \begin_layout Plain Layout
12460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12463 \begin_layout Plain Layout
12473 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12476 \begin_layout Plain Layout
12484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12487 \begin_layout Plain Layout
12495 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12498 \begin_layout Plain Layout
12506 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12509 \begin_layout Plain Layout
12523 \begin_inset VSpace medskip
12529 \begin_layout Standard
12532 The 3-argument scheme is for example useful for cross-tables of sports leagues
12536 \begin_layout Standard
12541 \begin_inset Tabular
12542 <lyxtabular version="3" rows="4" columns="4">
12543 <features tabularvalignment="middle">
12544 <column alignment="center" valignment="top" width="0pt">
12545 <column alignment="center" valignment="top" width="0">
12546 <column alignment="center" valignment="top" width="0">
12547 <column alignment="center" valignment="top" width="0">
12549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12552 \begin_layout Plain Layout
12558 \begin_layout Plain Layout
12571 \begin_layout Plain Layout
12582 \begin_layout Plain Layout
12593 \begin_layout Plain Layout
12605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12608 \begin_layout Plain Layout
12616 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12619 \begin_layout Plain Layout
12627 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12630 \begin_layout Plain Layout
12640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12643 \begin_layout Plain Layout
12651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12654 \begin_layout Plain Layout
12662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12665 \begin_layout Plain Layout
12673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12676 \begin_layout Plain Layout
12686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12689 \begin_layout Plain Layout
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12700 \begin_layout Plain Layout
12708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12711 \begin_layout Plain Layout
12719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12722 \begin_layout Plain Layout
12732 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12735 \begin_layout Plain Layout
12743 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12746 \begin_layout Plain Layout
12754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12757 \begin_layout Plain Layout
12765 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12768 \begin_layout Plain Layout
12784 \begin_layout Standard
12787 For larger cross-tables one might use split cells in 2 or every corner of
12788 the table like in this example:
12791 \begin_layout Standard
12796 \begin_inset Tabular
12797 <lyxtabular version="3" rows="5" columns="5">
12798 <features tabularvalignment="middle">
12799 <column alignment="center" valignment="top" width="0pt">
12800 <column alignment="center" valignment="top" width="0">
12801 <column alignment="center" valignment="top" width="0">
12802 <column alignment="center" valignment="top" width="0">
12803 <column alignment="center" valignment="top" width="0">
12805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12808 \begin_layout Plain Layout
12814 \begin_layout Plain Layout
12827 \begin_layout Plain Layout
12838 \begin_layout Plain Layout
12849 \begin_layout Plain Layout
12861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12864 \begin_layout Plain Layout
12872 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12875 \begin_layout Plain Layout
12883 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12886 \begin_layout Plain Layout
12894 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
12897 \begin_layout Plain Layout
12903 \begin_layout Plain Layout
12916 \begin_layout Plain Layout
12927 \begin_layout Plain Layout
12938 \begin_layout Plain Layout
12952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12955 \begin_layout Plain Layout
12963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12966 \begin_layout Plain Layout
12974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12977 \begin_layout Plain Layout
12985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12988 \begin_layout Plain Layout
12996 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12999 \begin_layout Plain Layout
13009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13012 \begin_layout Plain Layout
13020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13023 \begin_layout Plain Layout
13031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13034 \begin_layout Plain Layout
13042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13045 \begin_layout Plain Layout
13053 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13056 \begin_layout Plain Layout
13066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13069 \begin_layout Plain Layout
13077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13080 \begin_layout Plain Layout
13088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13091 \begin_layout Plain Layout
13099 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13102 \begin_layout Plain Layout
13110 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13113 \begin_layout Plain Layout
13123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13126 \begin_layout Plain Layout
13132 \begin_layout Plain Layout
13145 \begin_layout Plain Layout
13156 \begin_layout Plain Layout
13167 \begin_layout Plain Layout
13179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13182 \begin_layout Plain Layout
13190 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13193 \begin_layout Plain Layout
13201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13204 \begin_layout Plain Layout
13212 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13215 \begin_layout Plain Layout
13221 \begin_layout Plain Layout
13234 \begin_layout Plain Layout
13245 \begin_layout Plain Layout
13256 \begin_layout Plain Layout
13276 \begin_layout Standard
13279 To rotate the diagonal lines, the command option
13304 and represent a point of a compass.
13309 is for example the south-west corner.
13310 Thus in the lower left cell of the above table the command
13313 \begin_layout Standard
13319 diagbox[dir=SW]{Team home}{Result}{Team away}
13322 \begin_layout Standard
13326 If no direction is given, it will be NW.
13329 \begin_layout Standard
13332 The necessary width of split cells is automatically calculated.
13333 Thus if you set a fixed column width smaller than the calculated one, the
13334 cell's content will protrude the cell borders:
13337 \begin_layout Standard
13342 \begin_inset Tabular
13343 <lyxtabular version="3" rows="2" columns="2">
13344 <features tabularvalignment="middle">
13345 <column alignment="center" valignment="top" width="3cm">
13346 <column alignment="center" valignment="top" width="0">
13348 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13351 \begin_layout Plain Layout
13357 \begin_layout Plain Layout
13370 \begin_layout Plain Layout
13381 \begin_layout Plain Layout
13393 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13396 \begin_layout Plain Layout
13406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13409 \begin_layout Plain Layout
13417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13420 \begin_layout Plain Layout
13436 \begin_layout Standard
13439 If you need a certain width for columns with a split cell, use the command
13444 (replace '3cm' by the width you need).
13445 In the following table the width of the first column is set to 4
13446 \begin_inset space \thinspace{}
13457 \begin_inset space \thinspace{}
13461 \begin_inset space \thinspace{}
13466 tabcolsep is necessary because the overall width is the width for the text
13467 (in this case the 4
13468 \begin_inset space \thinspace{}
13471 cm) plus two times the separation of the text and the cell border.
13472 The calculation of the width cannot be done in the command option of
13478 so one needs to create a new length which can be used later.
13479 This is done with the TeX-Code commands
13482 \begin_layout Standard
13490 \begin_inset Newline newline
13502 \begin_layout Standard
13506 \begin_layout Plain Layout
13515 \begin_layout Plain Layout
13531 \begin_layout Standard
13534 To enable calculations in LaTeX one needs to load the package
13540 \begin_inset Index idx
13543 \begin_layout Plain Layout
13544 LaTeXぱっけーじ@LaTeXパッケージ ! calc
13551 in the document preamble.
13554 \begin_layout Standard
13557 In this table you can now use the command
13560 \begin_layout Standard
13571 \begin_layout Standard
13577 \begin_layout Standard
13582 \begin_inset Tabular
13583 <lyxtabular version="3" rows="2" columns="2">
13584 <features tabularvalignment="middle">
13585 <column alignment="center" valignment="top" width="4cm">
13586 <column alignment="center" valignment="top" width="0">
13588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13591 \begin_layout Plain Layout
13597 \begin_layout Plain Layout
13612 \begin_layout Plain Layout
13623 \begin_layout Plain Layout
13635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13638 \begin_layout Plain Layout
13648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13651 \begin_layout Plain Layout
13659 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13662 \begin_layout Plain Layout
13678 \begin_layout Standard
13681 Note that the split cell needs to be the widest one in the column.
13682 Otherwise the length of the diagonal line cannot be calculated correctly
13683 like in this table:
13686 \begin_layout Standard
13691 \begin_inset Tabular
13692 <lyxtabular version="3" rows="2" columns="2">
13693 <features tabularvalignment="middle">
13694 <column alignment="center" valignment="top" width="0pt">
13695 <column alignment="center" valignment="top" width="0">
13697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13700 \begin_layout Plain Layout
13706 \begin_layout Plain Layout
13719 \begin_layout Plain Layout
13730 \begin_layout Plain Layout
13742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13745 \begin_layout Plain Layout
13755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13758 \begin_layout Plain Layout
13766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13769 \begin_layout Plain Layout
13785 \begin_layout Standard
13788 In this case use the
13799 It is then not necessary to add 2
13801 tabcolsep because the cell width is now the width of the column.
13802 In this table a width of 3
13803 \begin_inset space \thinspace{}
13809 \begin_layout Standard
13814 \begin_inset Tabular
13815 <lyxtabular version="3" rows="2" columns="2">
13816 <features tabularvalignment="middle">
13817 <column alignment="center" valignment="top" width="0pt">
13818 <column alignment="center" valignment="top" width="0">
13820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13823 \begin_layout Plain Layout
13829 \begin_layout Plain Layout
13833 diagbox[width=3cm]{
13842 \begin_layout Plain Layout
13853 \begin_layout Plain Layout
13865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13868 \begin_layout Plain Layout
13878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13881 \begin_layout Plain Layout
13889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13892 \begin_layout Plain Layout
13908 \begin_layout Standard
13911 For multiple text lines in split cells one needs some extra height to fit
13912 the text to the cell.
13913 This can be achieved with the
13923 (replace '3cm' by the height you need).
13924 In the following table the command
13927 \begin_layout Standard
13933 diagbox[width=3cm,height=1.4cm]{A
13944 \begin_layout Standard
13947 is used in the first cell.
13956 creates hereby the line break.
13960 \begin_layout Plain Layout
13963 Breaking lines with
13967 is only possible when the column has a fixed width.
13975 \begin_layout Standard
13980 \begin_inset Tabular
13981 <lyxtabular version="3" rows="2" columns="2">
13982 <features tabularvalignment="middle">
13983 <column alignment="center" valignment="top" width="0">
13984 <column alignment="center" valignment="top" width="0">
13986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13989 \begin_layout Plain Layout
13995 \begin_layout Plain Layout
13999 diagbox[width=3cm,height=1.4cm]{
14008 \begin_layout Plain Layout
14023 \begin_layout Plain Layout
14034 \begin_layout Plain Layout
14049 \begin_layout Plain Layout
14061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14064 \begin_layout Plain Layout
14074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14077 \begin_layout Plain Layout
14085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14088 \begin_layout Plain Layout
14104 \begin_layout Standard
14108 \begin_layout Plain Layout
14118 \begin_inset Note Note
14121 \begin_layout Plain Layout
14134 \begin_layout Standard
14139 パッケージを導入しなくてはなりません。
14142 \begin_layout Standard
14146 \begin_layout Plain Layout
14158 \begin_layout Standard
14161 For more info about the LaTeX-package
14165 , see its documentation
14168 \begin_inset CommandInset citation
14177 \begin_layout Section
14179 \begin_inset CommandInset label
14181 name "sec:フォーマル形式の表"
14186 \begin_inset Index idx
14189 \begin_layout Plain Layout
14190 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
14198 \begin_layout Standard
14200 \begin_inset CommandInset ref
14202 reference "tab:ブックタブ表の例"
14206 のように組版されます。この種の表は、「
14210 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
14213 \begin_layout Standard
14214 \begin_inset Float table
14220 \begin_layout Plain Layout
14221 \begin_inset Caption
14223 \begin_layout Plain Layout
14224 \begin_inset CommandInset label
14226 name "tab:ブックタブ表の例"
14238 \begin_layout Plain Layout
14240 \begin_inset Tabular
14241 <lyxtabular version="3" rows="8" columns="4">
14242 <features booktabs="true" tabularvalignment="middle">
14243 <column alignment="center" valignment="top" width="0">
14244 <column alignment="center" valignment="top" width="0">
14245 <column alignment="center" valignment="top" width="0">
14246 <column alignment="center" valignment="top" width="0">
14248 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14251 \begin_layout Plain Layout
14257 <cell alignment="center" valignment="top" topline="true" usebox="none">
14260 \begin_layout Plain Layout
14262 \begin_inset space \thinspace{}
14270 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14273 \begin_layout Plain Layout
14275 \begin_inset space \thinspace{}
14283 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14286 \begin_layout Plain Layout
14294 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14297 \begin_layout Plain Layout
14301 \begin_layout Plain Layout
14314 \begin_layout Plain Layout
14328 <cell alignment="center" valignment="top" usebox="none">
14331 \begin_layout Plain Layout
14337 <cell alignment="center" valignment="top" usebox="none">
14340 \begin_layout Plain Layout
14346 <cell alignment="center" valignment="top" usebox="none">
14349 \begin_layout Plain Layout
14357 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14360 \begin_layout Plain Layout
14366 <cell alignment="center" valignment="top" topline="true" usebox="none">
14369 \begin_layout Plain Layout
14375 <cell alignment="center" valignment="top" topline="true" usebox="none">
14378 \begin_layout Plain Layout
14384 <cell alignment="center" valignment="top" topline="true" usebox="none">
14387 \begin_layout Plain Layout
14394 <row topspace="default">
14395 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14398 \begin_layout Plain Layout
14404 <cell alignment="center" valignment="top" usebox="none">
14407 \begin_layout Plain Layout
14413 <cell alignment="center" valignment="top" usebox="none">
14416 \begin_layout Plain Layout
14422 <cell alignment="center" valignment="top" usebox="none">
14425 \begin_layout Plain Layout
14432 <row topspace="default">
14433 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14436 \begin_layout Plain Layout
14437 \begin_inset Formula $f_{\mathrm{max}}$
14445 <cell alignment="center" valignment="top" usebox="none">
14448 \begin_layout Plain Layout
14454 <cell alignment="center" valignment="top" usebox="none">
14457 \begin_layout Plain Layout
14463 <cell alignment="center" valignment="top" usebox="none">
14466 \begin_layout Plain Layout
14473 <row topspace="default">
14474 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14477 \begin_layout Plain Layout
14481 \begin_layout Plain Layout
14485 cmidrule(l{10pt}){1-1}
14495 <cell alignment="center" valignment="top" usebox="none">
14498 \begin_layout Plain Layout
14504 <cell alignment="center" valignment="top" usebox="none">
14507 \begin_layout Plain Layout
14513 <cell alignment="center" valignment="top" usebox="none">
14516 \begin_layout Plain Layout
14524 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14527 \begin_layout Plain Layout
14533 <cell alignment="center" valignment="top" usebox="none">
14536 \begin_layout Plain Layout
14542 <cell alignment="center" valignment="top" usebox="none">
14545 \begin_layout Plain Layout
14551 <cell alignment="center" valignment="top" usebox="none">
14554 \begin_layout Plain Layout
14562 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14565 \begin_layout Plain Layout
14571 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14574 \begin_layout Plain Layout
14580 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14583 \begin_layout Plain Layout
14589 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14592 \begin_layout Plain Layout
14611 \begin_layout Standard
14613 \begin_inset CommandInset ref
14615 reference "sub:行の余白取り"
14619 節に述べられているように、表の設定ダイアログの
14626 \begin_layout Standard
14627 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
14628 \begin_inset Newline newline
14632 \begin_inset space \thinspace{}
14635 emですが、他の罫線の既定幅は0.05
14636 \begin_inset space \thinspace{}
14642 \begin_layout Standard
14643 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
14646 \begin_layout Standard
14656 \begin_inset Newline newline
14668 \begin_layout Standard
14673 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
14681 に置き換えて下さい。他の罫線の線幅を変更するには、
14689 に置き換えます。線幅を設定する上では、付録
14690 \begin_inset CommandInset ref
14692 reference "cha:LyXで使用できる単位"
14696 に挙げてあるすべての単位を使用することができます。
14699 \begin_layout Standard
14700 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
14706 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
14709 \begin_layout Standard
14714 cmidrule[幅](刈込){開始列-終了列}
14717 \begin_layout Standard
14724 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
14730 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
14734 \begin_layout Standard
14736 \begin_inset space \thinspace{}
14739 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
14748 の値を取り、刈込幅の指定は非必須です。たとえば、
14752 というパラメーターを使うと、罫線が左端から2
14753 \begin_inset space \thinspace{}
14756 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
14757 \begin_inset space \thinspace{}
14763 \begin_layout Standard
14764 \begin_inset VSpace bigskip
14768 \begin_inset CommandInset ref
14770 reference "tab:ブックタブ表の例"
14777 \begin_layout Standard
14787 \begin_layout Standard
14788 というコマンドを第二行の初めに使用し、
14791 \begin_layout Standard
14796 cmidrule(l{10pt}){1-1}
14799 \begin_layout Standard
14803 \begin_layout Standard
14804 \begin_inset VSpace bigskip
14810 \begin_layout Standard
14812 \begin_inset CommandInset ref
14814 reference "tab:特殊なブックタブ表"
14824 が欲しいことがあるかもしれません。これは、TeXコードで
14827 \begin_layout Standard
14835 \begin_layout Standard
14836 コマンドを使用することによって実現することができます。表
14837 \begin_inset CommandInset ref
14839 reference "tab:特殊なブックタブ表"
14846 \begin_layout Standard
14860 \begin_layout Standard
14861 というコマンドが使用されており、第六列には
14864 \begin_layout Standard
14876 \begin_layout Standard
14880 \begin_layout Standard
14881 \begin_inset VSpace bigskip
14887 \begin_layout Standard
14888 罫線の余白取りにどうしても満足が行かない場合には、
14891 \begin_layout Standard
14896 specialrule{幅}{上余白}{下余白}
14899 \begin_layout Standard
14900 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
14905 \begin_inset CommandInset citation
14912 \begin_inset Index idx
14915 \begin_layout Plain Layout
14916 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
14924 \begin_layout Standard
14925 \begin_inset Float table
14931 \begin_layout Plain Layout
14932 \begin_inset Caption
14934 \begin_layout Plain Layout
14935 \begin_inset CommandInset label
14937 name "tab:特殊なブックタブ表"
14949 \begin_layout Plain Layout
14951 \begin_inset Tabular
14952 <lyxtabular version="3" rows="8" columns="4">
14953 <features booktabs="true" tabularvalignment="middle">
14954 <column alignment="center" valignment="top" width="0">
14955 <column alignment="center" valignment="top" width="0">
14956 <column alignment="center" valignment="top" width="0">
14957 <column alignment="center" valignment="top" width="0">
14959 <cell alignment="center" valignment="top" topline="true" usebox="none">
14962 \begin_layout Plain Layout
14968 <cell alignment="center" valignment="top" topline="true" usebox="none">
14971 \begin_layout Plain Layout
14973 \begin_inset space \thinspace{}
14981 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14984 \begin_layout Plain Layout
14986 \begin_inset space \thinspace{}
14994 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14997 \begin_layout Plain Layout
15005 <cell alignment="center" valignment="top" usebox="none">
15008 \begin_layout Plain Layout
15012 \begin_layout Plain Layout
15025 \begin_layout Plain Layout
15038 \begin_layout Plain Layout
15051 \begin_layout Plain Layout
15065 <cell alignment="center" valignment="top" usebox="none">
15068 \begin_layout Plain Layout
15074 <cell alignment="center" valignment="top" usebox="none">
15077 \begin_layout Plain Layout
15083 <cell alignment="center" valignment="top" usebox="none">
15086 \begin_layout Plain Layout
15094 <cell alignment="center" valignment="top" topline="true" usebox="none">
15097 \begin_layout Plain Layout
15103 <cell alignment="center" valignment="top" topline="true" usebox="none">
15106 \begin_layout Plain Layout
15112 <cell alignment="center" valignment="top" topline="true" usebox="none">
15115 \begin_layout Plain Layout
15121 <cell alignment="center" valignment="top" topline="true" usebox="none">
15124 \begin_layout Plain Layout
15131 <row topspace="default">
15132 <cell alignment="center" valignment="top" usebox="none">
15135 \begin_layout Plain Layout
15141 <cell alignment="center" valignment="top" usebox="none">
15144 \begin_layout Plain Layout
15150 <cell alignment="center" valignment="top" usebox="none">
15153 \begin_layout Plain Layout
15159 <cell alignment="center" valignment="top" usebox="none">
15162 \begin_layout Plain Layout
15169 <row topspace="default">
15170 <cell alignment="center" valignment="top" usebox="none">
15173 \begin_layout Plain Layout
15174 \begin_inset Formula $f_{\mathrm{max}}$
15182 <cell alignment="center" valignment="top" usebox="none">
15185 \begin_layout Plain Layout
15191 <cell alignment="center" valignment="top" usebox="none">
15194 \begin_layout Plain Layout
15200 <cell alignment="center" valignment="top" usebox="none">
15203 \begin_layout Plain Layout
15211 <cell alignment="center" valignment="top" topline="true" usebox="none">
15214 \begin_layout Plain Layout
15218 \begin_layout Plain Layout
15231 \begin_layout Plain Layout
15245 <cell alignment="center" valignment="top" topline="true" usebox="none">
15248 \begin_layout Plain Layout
15254 <cell alignment="center" valignment="top" topline="true" usebox="none">
15257 \begin_layout Plain Layout
15263 <cell alignment="center" valignment="top" topline="true" usebox="none">
15266 \begin_layout Plain Layout
15274 <cell alignment="center" valignment="top" usebox="none">
15277 \begin_layout Plain Layout
15283 <cell alignment="center" valignment="top" usebox="none">
15286 \begin_layout Plain Layout
15292 <cell alignment="center" valignment="top" usebox="none">
15295 \begin_layout Plain Layout
15301 <cell alignment="center" valignment="top" usebox="none">
15304 \begin_layout Plain Layout
15312 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15315 \begin_layout Plain Layout
15321 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15324 \begin_layout Plain Layout
15330 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15333 \begin_layout Plain Layout
15339 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15342 \begin_layout Plain Layout
15361 \begin_layout Section
15363 \begin_inset Index idx
15366 \begin_layout Plain Layout
15375 \begin_layout Standard
15376 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
15377 \begin_inset CommandInset ref
15379 reference "sec:ボックスダイアログ"
15383 節に述べられているように、ボックスの垂直揃えを行います。
15386 \begin_layout Standard
15388 \begin_inset space \thinspace{}
15395 \begin_layout Plain Layout
15397 \begin_inset CommandInset ref
15399 reference "sec:ミニページ"
15411 \begin_layout Itemize
15413 \begin_inset Box Frameless
15423 height_special "totalheight"
15426 \begin_layout Plain Layout
15427 \begin_inset Tabular
15428 <lyxtabular version="3" rows="3" columns="3">
15429 <features tabularvalignment="middle">
15430 <column alignment="center" valignment="top" width="0">
15431 <column alignment="center" valignment="top" width="0">
15432 <column alignment="center" valignment="top" width="0">
15434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15437 \begin_layout Plain Layout
15443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15446 \begin_layout Plain Layout
15452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15455 \begin_layout Plain Layout
15463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15466 \begin_layout Plain Layout
15472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15475 \begin_layout Plain Layout
15481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15484 \begin_layout Plain Layout
15492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15495 \begin_layout Plain Layout
15501 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15504 \begin_layout Plain Layout
15510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15513 \begin_layout Plain Layout
15533 \begin_layout Plain Layout
15545 \begin_inset Box Frameless
15555 height_special "totalheight"
15558 \begin_layout Plain Layout
15559 \begin_inset Tabular
15560 <lyxtabular version="3" rows="3" columns="3">
15561 <features tabularvalignment="middle">
15562 <column alignment="center" valignment="top" width="0">
15563 <column alignment="center" valignment="top" width="0">
15564 <column alignment="center" valignment="top" width="0">
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" usebox="none">
15578 \begin_layout Plain Layout
15584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15587 \begin_layout Plain Layout
15595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15598 \begin_layout Plain Layout
15604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15607 \begin_layout Plain Layout
15613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15616 \begin_layout Plain Layout
15624 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15627 \begin_layout Plain Layout
15633 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15636 \begin_layout Plain Layout
15642 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15645 \begin_layout Plain Layout
15665 \begin_layout Plain Layout
15675 \begin_layout Itemize
15677 \begin_inset Box Frameless
15687 height_special "totalheight"
15690 \begin_layout Plain Layout
15691 \begin_inset Tabular
15692 <lyxtabular version="3" rows="3" columns="3">
15693 <features tabularvalignment="middle">
15694 <column alignment="center" valignment="top" width="0">
15695 <column alignment="center" valignment="top" width="0">
15696 <column alignment="center" valignment="top" width="0">
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" usebox="none">
15710 \begin_layout Plain Layout
15716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15719 \begin_layout Plain Layout
15727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15730 \begin_layout Plain Layout
15736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15739 \begin_layout Plain Layout
15745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15748 \begin_layout Plain Layout
15756 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15759 \begin_layout Plain Layout
15765 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15768 \begin_layout Plain Layout
15774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15777 \begin_layout Plain Layout
15796 \begin_layout Itemize
15798 \begin_inset Box Frameless
15808 height_special "totalheight"
15811 \begin_layout Plain Layout
15812 \begin_inset Tabular
15813 <lyxtabular version="3" rows="3" columns="3">
15814 <features tabularvalignment="middle">
15815 <column alignment="center" valignment="top" width="0">
15816 <column alignment="center" valignment="top" width="0">
15817 <column alignment="center" valignment="top" width="0">
15819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15822 \begin_layout Plain Layout
15828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15831 \begin_layout Plain Layout
15837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15840 \begin_layout Plain Layout
15848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15851 \begin_layout Plain Layout
15857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15860 \begin_layout Plain Layout
15866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15869 \begin_layout Plain Layout
15877 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15880 \begin_layout Plain Layout
15886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15889 \begin_layout Plain Layout
15895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15898 \begin_layout Plain Layout
15918 \begin_layout Plain Layout
15930 \begin_inset Box Frameless
15940 height_special "totalheight"
15943 \begin_layout Plain Layout
15944 \begin_inset Tabular
15945 <lyxtabular version="3" rows="3" columns="3">
15946 <features tabularvalignment="middle">
15947 <column alignment="center" valignment="top" width="0">
15948 <column alignment="center" valignment="top" width="0">
15949 <column alignment="center" valignment="top" width="0">
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" usebox="none">
15963 \begin_layout Plain Layout
15969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15972 \begin_layout Plain Layout
15980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15983 \begin_layout Plain Layout
15989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15992 \begin_layout Plain Layout
15998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16001 \begin_layout Plain Layout
16009 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16012 \begin_layout Plain Layout
16018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16021 \begin_layout Plain Layout
16027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16030 \begin_layout Plain Layout
16050 \begin_layout Plain Layout
16060 \begin_layout Standard
16061 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
16065 \begin_layout Plain Layout
16067 \begin_inset CommandInset ref
16069 reference "sub:垂直揃え"
16078 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
16081 \begin_layout Standard
16091 \begin_layout Standard
16092 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
16096 をTeXコードとして挿入してあります。最後の項目の第二表には、
16099 \begin_layout Standard
16109 \begin_layout Standard
16113 \begin_layout Standard
16114 \begin_inset Note Greyedout
16117 \begin_layout Plain Layout
16122 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
16128 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
16136 \begin_layout Section
16138 \begin_inset CommandInset label
16145 \begin_inset Index idx
16148 \begin_layout Plain Layout
16157 \begin_layout Subsection
16159 \begin_inset Index idx
16162 \begin_layout Plain Layout
16163 ひょうのいろ@表の色 ! せるぶ@セル部
16169 \begin_inset Index idx
16172 \begin_layout Plain Layout
16173 いろつき@色付き ! ひょうせるぶ@表セル部
16181 \begin_layout Standard
16182 \begin_inset Float table
16188 \begin_layout Plain Layout
16189 \begin_inset Caption
16191 \begin_layout Plain Layout
16192 \begin_inset CommandInset label
16194 name "tab:colortblなしの表"
16203 \begin_inset Argument
16206 \begin_layout Plain Layout
16220 \begin_layout Plain Layout
16222 \begin_inset Tabular
16223 <lyxtabular version="3" rows="3" columns="3">
16224 <features tabularvalignment="middle">
16225 <column alignment="center" valignment="top" width="0">
16226 <column alignment="center" valignment="top" width="0">
16227 <column alignment="center" valignment="top" width="0">
16229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16232 \begin_layout Plain Layout
16240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16243 \begin_layout Plain Layout
16251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16254 \begin_layout Plain Layout
16264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16267 \begin_layout Plain Layout
16275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16278 \begin_layout Plain Layout
16286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16289 \begin_layout Plain Layout
16299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16302 \begin_layout Plain Layout
16310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16313 \begin_layout Plain Layout
16321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16324 \begin_layout Plain Layout
16345 \begin_layout Standard
16346 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
16348 編集\SpecialChar \menuseparator
16352 \begin_inset CommandInset ref
16354 reference "tab:colortblなしの表"
16358 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
16363 \begin_inset Index idx
16366 \begin_layout Plain Layout
16367 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
16375 \begin_layout Standard
16379 \begin_layout Plain Layout
16389 \begin_inset Note Note
16392 \begin_layout Plain Layout
16393 本節の以下の部分は、LaTeXパッケージ
16405 \begin_layout Standard
16406 色付きの表を作成するには、プリアンブルに
16409 \begin_layout Standard
16414 usepackage{colortbl}
16417 \begin_layout Standard
16422 を読み込まなくてはなりません。列の色は、
16429 \begin_layout Standard
16437 \begin_layout Standard
16438 というコマンドを書いて指定することができます。
16443 \begin_inset CommandInset ref
16445 reference "sub:連結列の計算"
16452 \begin_layout Standard
16453 以下の色彩名が事前に定義されています。
16456 \begin_layout Standard
16490 \begin_layout Standard
16491 \begin_inset VSpace medskip
16497 \begin_layout Standard
16500 If you add the options
16503 \begin_layout Standard
16506 usenames,dvipsnames
16509 \begin_layout Standard
16512 to the document class options in the document settings, you can additionally
16514 \begin_inset space ~
16518 These colors are listed in appendix
16519 \begin_inset space ~
16523 \begin_inset CommandInset ref
16525 reference "chap:List-of-dvips-colornames"
16530 One of these colors,
16534 , is used as example in Table
16537 \begin_inset space ~
16541 \begin_inset CommandInset ref
16543 reference "tab:色付き表"
16550 \begin_layout Standard
16551 \begin_inset VSpace medskip
16557 \begin_layout Standard
16561 \begin_layout Standard
16566 definecolor{色彩名}{色彩モデル}{色彩値}
16569 \begin_layout Standard
16570 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
16573 \begin_layout Labeling
16574 \labelwidthstring 00.00.0000
16594 \begin_layout Labeling
16595 \labelwidthstring 00.00.0000
16611 \begin_layout Labeling
16612 \labelwidthstring 00.00.0000
16616 \begin_layout Standard
16617 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
16620 \begin_layout Standard
16624 \begin_layout Standard
16629 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
16632 \begin_layout Standard
16640 \begin_layout Standard
16645 definecolor{lightgray}{gray}{0.8}
16648 \begin_layout Standard
16656 \begin_layout Standard
16657 \begin_inset VSpace medskip
16663 \begin_layout Standard
16667 \begin_layout Standard
16675 \begin_layout Standard
16676 というコマンドを使用して色付けすることができ、セルは
16679 \begin_layout Standard
16687 \begin_layout Standard
16688 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
16691 \begin_layout Standard
16692 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
16694 編集\SpecialChar \menuseparator
16697 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
16701 \begin_layout Standard
16702 \begin_inset Note Greyedout
16705 \begin_layout Plain Layout
16706 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
16714 \begin_layout Standard
16715 \begin_inset VSpace bigskip
16721 \begin_layout Standard
16723 \begin_inset CommandInset ref
16725 reference "tab:色付き表"
16729 を作成するには、以下のようにしてください。第一列の色は
16733 にしたいので、この列のLaTeX変数として
16736 \begin_layout Standard
16741 columncolor{darkgreen}
16746 \begin_layout Standard
16747 と書き込みます。第一列は青にしたいので、この列の最初のセルに
16750 \begin_layout Standard
16758 \begin_layout Standard
16759 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。
16761 The last cell of the last row is colored maroon by inserting the TeX-Code
16765 \begin_layout Standard
16773 \begin_layout Standard
16774 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
16776 編集\SpecialChar \menuseparator
16779 メニューを使って、各文字に色付けをすることができます。
16782 \begin_layout Standard
16783 \begin_inset Float table
16789 \begin_layout Plain Layout
16790 \begin_inset Caption
16792 \begin_layout Plain Layout
16795 \begin_inset CommandInset label
16804 \begin_inset Argument
16807 \begin_layout Plain Layout
16821 \begin_layout Plain Layout
16823 \begin_inset Tabular
16824 <lyxtabular version="3" rows="3" columns="3">
16825 <features tabularvalignment="middle">
16826 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
16827 <column alignment="center" valignment="top" width="0">
16828 <column alignment="center" valignment="top" width="0">
16830 <cell alignment="center" valignment="top" usebox="none">
16833 \begin_layout Plain Layout
16837 \begin_layout Plain Layout
16853 <cell alignment="center" valignment="top" usebox="none">
16856 \begin_layout Plain Layout
16864 <cell alignment="center" valignment="top" usebox="none">
16867 \begin_layout Plain Layout
16877 <cell alignment="center" valignment="top" usebox="none">
16880 \begin_layout Plain Layout
16888 <cell alignment="center" valignment="top" usebox="none">
16891 \begin_layout Plain Layout
16899 <cell alignment="center" valignment="top" usebox="none">
16902 \begin_layout Plain Layout
16912 <cell alignment="center" valignment="top" usebox="none">
16915 \begin_layout Plain Layout
16923 <cell alignment="center" valignment="top" usebox="none">
16926 \begin_layout Plain Layout
16934 <cell alignment="center" valignment="top" usebox="none">
16937 \begin_layout Plain Layout
16941 \begin_layout Plain Layout
16970 \begin_layout Standard
16974 \begin_layout Plain Layout
16984 \begin_inset Note Note
16987 \begin_layout Plain Layout
16992 が導入されていないときに表示されます。
17000 \begin_layout Standard
17008 \begin_layout Standard
17012 \begin_layout Plain Layout
17024 \begin_layout Subsection
17028 \begin_inset Index idx
17031 \begin_layout Plain Layout
17034 Table Color ! for Rows
17040 \begin_inset Index idx
17043 \begin_layout Plain Layout
17046 Color ! for Table Rows
17054 \begin_layout Standard
17057 In case every second table row needs to be colored there is an alternative
17058 to the method described in the previous section: One loads the package
17065 \begin_inset Index idx
17068 \begin_layout Plain Layout
17069 LaTeXぱっけーじ@LaTeXパッケージ ! xcolor
17073 \begin_layout Plain Layout
17089 in the document preamble with the command
17092 \begin_layout Standard
17097 usepackage[table]{xcolor}
17100 \begin_layout Standard
17106 automatically loads also the package
17112 \begin_inset Index idx
17115 \begin_layout Plain Layout
17116 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
17127 must be installed in your LaTeX-distribution, otherwise you get LaTeX-errors.
17130 \begin_layout Standard
17134 \begin_layout Plain Layout
17144 \begin_inset Note Note
17147 \begin_layout Plain Layout
17148 本節の以下の部分は、LaTeXパッケージ
17160 \begin_layout Standard
17163 The table rows are colored with the command
17166 \begin_layout Standard
17172 rowcolors[commands]{row number}{odd row color}{even row color}
17175 \begin_layout Standard
17178 that is either inserted in the document preamble or as TeX-Code before the
17179 first table to be colored.
17181 \begin_inset space ~
17184 number is the number of the first row which should be colored according
17185 to the odd row color.
17186 commands can be additional commands that are executed before every table
17188 So for example the command
17191 \begin_layout Standard
17196 rowcolors{1}{white}{lightgray}
17199 \begin_layout Standard
17202 leads to the coloring scheme of Table
17203 \begin_inset space ~
17207 \begin_inset CommandInset ref
17209 reference "tab:Table-rowcolors"
17217 \begin_layout Standard
17224 hline]{1}{lightgray}{cyan}
17227 \begin_layout Standard
17230 leads to the coloring scheme of Table
17231 \begin_inset space ~
17235 \begin_inset CommandInset ref
17237 reference "tab:Table-rowcolors-2"
17243 \begin_inset space ~
17247 \begin_inset space ~
17251 \begin_inset space ~
17255 \begin_inset space ~
17258 color are left empty, no color will be used so that the command
17261 \begin_layout Standard
17269 \begin_layout Standard
17272 deletes all colors.
17279 affects all tables following that command.
17282 \begin_layout Standard
17286 \begin_layout Plain Layout
17290 rowcolors{1}{white}{lightgray}
17298 \begin_layout Standard
17299 \begin_inset Float table
17305 \begin_layout Plain Layout
17306 \begin_inset Caption
17308 \begin_layout Plain Layout
17311 \begin_inset CommandInset label
17313 name "tab:Table-rowcolors"
17317 Table where every second row is colored light gray.
17325 \begin_layout Plain Layout
17327 \begin_inset Tabular
17328 <lyxtabular version="3" rows="4" columns="3">
17329 <features tabularvalignment="middle">
17330 <column alignment="center" valignment="top" width="0">
17331 <column alignment="center" valignment="top" width="0pt">
17332 <column alignment="center" valignment="top" width="0pt">
17334 <cell alignment="center" valignment="top" usebox="none">
17337 \begin_layout Plain Layout
17343 <cell alignment="center" valignment="top" usebox="none">
17346 \begin_layout Plain Layout
17352 <cell alignment="center" valignment="top" usebox="none">
17355 \begin_layout Plain Layout
17363 <cell alignment="center" valignment="top" usebox="none">
17366 \begin_layout Plain Layout
17372 <cell alignment="center" valignment="top" usebox="none">
17375 \begin_layout Plain Layout
17381 <cell alignment="center" valignment="top" usebox="none">
17384 \begin_layout Plain Layout
17392 <cell alignment="center" valignment="top" usebox="none">
17395 \begin_layout Plain Layout
17401 <cell alignment="center" valignment="top" usebox="none">
17404 \begin_layout Plain Layout
17410 <cell alignment="center" valignment="top" usebox="none">
17413 \begin_layout Plain Layout
17421 <cell alignment="center" valignment="top" usebox="none">
17424 \begin_layout Plain Layout
17430 <cell alignment="center" valignment="top" usebox="none">
17433 \begin_layout Plain Layout
17439 <cell alignment="center" valignment="top" usebox="none">
17442 \begin_layout Plain Layout
17461 \begin_layout Standard
17465 \begin_layout Plain Layout
17471 hline]{1}{lightgray}{cyan}
17479 \begin_layout Standard
17480 \begin_inset Float table
17486 \begin_layout Plain Layout
17487 \begin_inset Caption
17489 \begin_layout Plain Layout
17492 \begin_inset CommandInset label
17494 name "tab:Table-rowcolors-2"
17498 Table where every second row is colored cyan and at which there is a line
17507 \begin_layout Plain Layout
17509 \begin_inset Tabular
17510 <lyxtabular version="3" rows="4" columns="3">
17511 <features tabularvalignment="middle">
17512 <column alignment="center" valignment="top" width="0">
17513 <column alignment="center" valignment="top" width="0">
17514 <column alignment="center" valignment="top" width="0pt">
17516 <cell alignment="center" valignment="top" usebox="none">
17519 \begin_layout Plain Layout
17525 <cell alignment="center" valignment="top" usebox="none">
17528 \begin_layout Plain Layout
17534 <cell alignment="center" valignment="top" usebox="none">
17537 \begin_layout Plain Layout
17545 <cell alignment="center" valignment="top" usebox="none">
17548 \begin_layout Plain Layout
17554 <cell alignment="center" valignment="top" usebox="none">
17557 \begin_layout Plain Layout
17563 <cell alignment="center" valignment="top" usebox="none">
17566 \begin_layout Plain Layout
17574 <cell alignment="center" valignment="top" usebox="none">
17577 \begin_layout Plain Layout
17583 <cell alignment="center" valignment="top" usebox="none">
17586 \begin_layout Plain Layout
17592 <cell alignment="center" valignment="top" usebox="none">
17595 \begin_layout Plain Layout
17603 <cell alignment="center" valignment="top" usebox="none">
17606 \begin_layout Plain Layout
17612 <cell alignment="center" valignment="top" usebox="none">
17615 \begin_layout Plain Layout
17621 <cell alignment="center" valignment="top" usebox="none">
17624 \begin_layout Plain Layout
17643 \begin_layout Standard
17647 \begin_layout Plain Layout
17657 \begin_inset Note Note
17660 \begin_layout Plain Layout
17663 turn off the row coloring
17671 \begin_layout Standard
17675 \begin_layout Plain Layout
17685 \begin_inset Note Note
17688 \begin_layout Plain Layout
17693 が導入されていないときに表示されます。
17701 \begin_layout Standard
17709 \begin_layout Standard
17713 \begin_layout Plain Layout
17725 \begin_layout Subsection
17727 \begin_inset Index idx
17730 \begin_layout Plain Layout
17731 ひょうのいろ@表の色 ! けいせんぶ@罫線部
17737 \begin_inset Index idx
17740 \begin_layout Plain Layout
17741 いろつき@色付き ! ひょうけいせんぶ@表罫線部
17749 \begin_layout Standard
17751 \begin_inset CommandInset ref
17753 reference "sub:罫線幅"
17757 節に述べられているように、表中の全罫線の線幅は、長さ
17763 を使って調節することができます。本節の表では、すべて1.5
17764 \begin_inset space \thinspace{}
17771 \begin_layout Plain Layout
17777 arrayrulewidth}{1.5pt}
17785 \begin_layout Standard
17787 \begin_inset CommandInset ref
17789 reference "sub:自製書式"
17793 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
17796 \begin_layout Standard
17801 newcolumntype{W}{!{
17808 \begin_layout Standard
17810 \begin_inset CommandInset ref
17812 reference "tab:色付き縦罫線の表"
17827 \begin_layout Standard
17828 複数の色を用いたいときには、列書式をもっと定義してください。
17831 \begin_layout Standard
17832 \begin_inset Float table
17838 \begin_layout Plain Layout
17839 \begin_inset Caption
17841 \begin_layout Plain Layout
17842 \begin_inset CommandInset label
17844 name "tab:色付き縦罫線の表"
17856 \begin_layout Plain Layout
17858 \begin_inset Tabular
17859 <lyxtabular version="3" rows="3" columns="3">
17860 <features tabularvalignment="middle">
17861 <column alignment="center" valignment="top" width="0" special="Wc">
17862 <column alignment="center" valignment="top" width="0" special="Wc">
17863 <column alignment="center" valignment="top" width="0" special="WcW">
17865 <cell alignment="center" valignment="top" topline="true" usebox="none">
17868 \begin_layout Plain Layout
17874 <cell alignment="center" valignment="top" topline="true" usebox="none">
17877 \begin_layout Plain Layout
17883 <cell alignment="center" valignment="top" topline="true" usebox="none">
17886 \begin_layout Plain Layout
17894 <cell alignment="center" valignment="top" topline="true" usebox="none">
17897 \begin_layout Plain Layout
17903 <cell alignment="center" valignment="top" topline="true" usebox="none">
17906 \begin_layout Plain Layout
17912 <cell alignment="center" valignment="top" topline="true" usebox="none">
17915 \begin_layout Plain Layout
17923 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17926 \begin_layout Plain Layout
17932 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17935 \begin_layout Plain Layout
17941 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17944 \begin_layout Plain Layout
17963 \begin_layout Standard
17964 \begin_inset VSpace bigskip
17968 \begin_inset CommandInset ref
17970 reference "tab:色付き横罫線の表"
17974 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
17977 \begin_layout Standard
17987 \begin_inset Newline newline
17995 \begin_inset Newline newline
17999 \begin_inset Phantom HPhantom
18002 \begin_layout Plain Layout
18003 \begin_inset space ~
18013 arrayrulecolor{red}
18017 arrayrulecolor{black}}
18020 \begin_layout Standard
18024 \begin_layout Standard
18028 \begin_layout Plain Layout
18039 \begin_layout Plain Layout
18048 \begin_layout Plain Layout
18052 arrayrulecolor{red}
18056 arrayrulecolor{black}}
18062 \begin_inset Float table
18068 \begin_layout Plain Layout
18069 \begin_inset Caption
18071 \begin_layout Plain Layout
18072 \begin_inset CommandInset label
18074 name "tab:色付き横罫線の表"
18086 \begin_layout Plain Layout
18088 \begin_inset Tabular
18089 <lyxtabular version="3" rows="3" columns="3">
18090 <features tabularvalignment="middle">
18091 <column alignment="center" valignment="top" width="0">
18092 <column alignment="center" valignment="top" width="0">
18093 <column alignment="center" valignment="top" width="0">
18095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18098 \begin_layout Plain Layout
18104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18107 \begin_layout Plain Layout
18113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18116 \begin_layout Plain Layout
18124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18127 \begin_layout Plain Layout
18133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18136 \begin_layout Plain Layout
18142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18145 \begin_layout Plain Layout
18153 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18156 \begin_layout Plain Layout
18162 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18165 \begin_layout Plain Layout
18171 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18174 \begin_layout Plain Layout
18193 \begin_layout Standard
18197 \begin_layout Standard
18209 \begin_layout Standard
18210 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
18211 \begin_inset CommandInset ref
18213 reference "tab:色付き罫線の表"
18220 \begin_layout Standard
18221 \begin_inset Float table
18227 \begin_layout Plain Layout
18228 \begin_inset Caption
18230 \begin_layout Plain Layout
18231 \begin_inset CommandInset label
18245 \begin_layout Plain Layout
18247 \begin_inset Tabular
18248 <lyxtabular version="3" rows="3" columns="3">
18249 <features tabularvalignment="middle">
18250 <column alignment="center" valignment="top" width="0" special="Wc">
18251 <column alignment="center" valignment="top" width="0" special="Wc">
18252 <column alignment="center" valignment="top" width="0" special="WcW">
18254 <cell alignment="center" valignment="top" topline="true" usebox="none">
18257 \begin_layout Plain Layout
18263 <cell alignment="center" valignment="top" topline="true" usebox="none">
18266 \begin_layout Plain Layout
18272 <cell alignment="center" valignment="top" topline="true" usebox="none">
18275 \begin_layout Plain Layout
18283 <cell alignment="center" valignment="top" topline="true" usebox="none">
18286 \begin_layout Plain Layout
18292 <cell alignment="center" valignment="top" topline="true" usebox="none">
18295 \begin_layout Plain Layout
18301 <cell alignment="center" valignment="top" topline="true" usebox="none">
18304 \begin_layout Plain Layout
18311 <row topspace="default">
18312 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18315 \begin_layout Plain Layout
18321 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18324 \begin_layout Plain Layout
18330 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18333 \begin_layout Plain Layout
18352 \begin_layout Standard
18356 \begin_layout Plain Layout
18372 \begin_layout Standard
18376 \begin_layout Plain Layout
18382 arrayrulewidth}{0.4pt}
18390 \begin_layout Section
18393 Rotated Table Cells
18396 \begin_inset CommandInset label
18398 name "sec:Rotated-Table-Cells"
18403 \begin_inset Index idx
18406 \begin_layout Plain Layout
18409 Table ! Rotated Cells
18415 \begin_inset Index idx
18418 \begin_layout Plain Layout
18429 \begin_layout Standard
18432 \begin_inset Note Greyedout
18435 \begin_layout Plain Layout
18441 Not all DVI-viewers are able to display rotations.
18449 \begin_layout Standard
18452 Currently LyX only offers to rotate table cells by 90
18453 \begin_inset space \thinspace{}
18456 ° counter-clockwise.
18457 To rotate cells by an angle of your choice, you have to add this to the
18461 \begin_layout Standard
18466 @ifundefined{turnbox}{
18468 usepackage{rotating}}{}
18471 \begin_layout Standard
18474 In the table cell that should be rotated, add at the beginning this command
18478 \begin_layout Standard
18487 \begin_layout Standard
18490 where angle is the rotation angle in °.
18491 At the end of the cell the command
18494 \begin_layout Standard
18502 \begin_layout Standard
18505 is inserted as TeX-code.
18508 \begin_layout Standard
18512 \begin_inset space ~
18516 \begin_inset CommandInset ref
18518 reference "tab:Table-with-rotated-multi"
18522 is an example where 3
18523 \begin_inset space ~
18526 cells were rotated by 45
18527 \begin_inset space \thinspace{}
18533 \begin_layout Standard
18536 \begin_inset Float table
18541 \begin_layout Plain Layout
18544 \begin_inset Caption
18546 \begin_layout Plain Layout
18549 \begin_inset CommandInset label
18551 name "tab:Table-with-rotated"
18555 Table with rotated cells in the first row.
18563 \begin_layout Plain Layout
18568 \begin_inset Tabular
18569 <lyxtabular version="3" rows="2" columns="3">
18570 <features tabularvalignment="middle">
18571 <column alignment="center" valignment="top" width="0">
18572 <column alignment="center" valignment="top" width="0pt">
18573 <column alignment="center" valignment="top" width="0">
18575 <cell alignment="center" valignment="top" usebox="none">
18578 \begin_layout Plain Layout
18584 \begin_layout Plain Layout
18597 \begin_layout Plain Layout
18611 <cell alignment="center" valignment="top" usebox="none">
18614 \begin_layout Plain Layout
18620 \begin_layout Plain Layout
18633 \begin_layout Plain Layout
18647 <cell alignment="center" valignment="top" usebox="none">
18650 \begin_layout Plain Layout
18656 \begin_layout Plain Layout
18669 \begin_layout Plain Layout
18685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18688 \begin_layout Plain Layout
18696 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18699 \begin_layout Plain Layout
18707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18710 \begin_layout Plain Layout
18731 \begin_layout Standard
18734 \begin_inset Note Greyedout
18737 \begin_layout Plain Layout
18743 Line breaks (shortcut
18746 arg "newline-insert newline"
18749 ) are not allowed in rotated cells.
18757 \begin_layout Standard
18760 If you want to rotate table cells containing line breaks, you have to put
18761 the cell content into a minipage or a parbox.
18765 \begin_layout Plain Layout
18768 For more about these boxes see sec.
18771 \begin_inset space \thinspace{}
18775 \begin_inset CommandInset ref
18777 reference "sec:ミニページ"
18786 \begin_inset CommandInset ref
18788 reference "sec:Parbox"
18797 If you rotate this cell by 90
18798 \begin_inset space \thinspace{}
18801 ° the width of the box is the height of the cell.
18803 \begin_inset space ~
18807 \begin_inset CommandInset ref
18809 reference "tab:Table-with-rotated-multi"
18813 is an example for a rotated multiline cell where the box width was set
18815 \begin_inset space \thinspace{}
18821 \begin_layout Standard
18824 \begin_inset Float table
18829 \begin_layout Plain Layout
18832 \begin_inset Caption
18834 \begin_layout Plain Layout
18837 \begin_inset CommandInset label
18839 name "tab:Table-with-rotated-multi"
18843 Table with rotated multiline cell.
18851 \begin_layout Plain Layout
18856 \begin_inset Tabular
18857 <lyxtabular version="3" rows="2" columns="3">
18858 <features tabularvalignment="middle">
18859 <column alignment="center" valignment="top" width="0">
18860 <column alignment="center" valignment="top" width="0pt">
18861 <column alignment="center" valignment="top" width="0">
18863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18866 \begin_layout Plain Layout
18874 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="true" usebox="none">
18877 \begin_layout Plain Layout
18880 \begin_inset Box Frameless
18890 height_special "totalheight"
18893 \begin_layout Plain Layout
18897 \begin_inset Newline newline
18910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18913 \begin_layout Plain Layout
18923 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18926 \begin_layout Plain Layout
18934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18937 \begin_layout Plain Layout
18945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18948 \begin_layout Plain Layout
18969 \begin_layout Section
18972 Table Width Calculation
18973 \begin_inset CommandInset label
18975 name "sec:Table-Width-Calculation"
18982 \begin_layout Standard
18985 For wide tables it is sometimes difficult to assure that the table does
18986 not protrude over the page margin.
18987 Setting a fixed width for every column of the table is the solution, but
18988 what amount of space is needed for each column?
18991 \begin_layout Standard
18995 \begin_inset Formula $W_{\mathrm{table}}$
18998 can be calculated: Every column has the width of the specified column width
19000 \begin_inset Formula $W_{\mathrm{column}}$
19003 (that the content of the column can consume) plus two times the separation
19004 between the column content and the column border (LaTeX length
19011 \begin_inset space \thinspace{}
19014 pt) plus the width of a border line (LaTeX length
19021 \begin_inset space \thinspace{}
19025 \begin_inset Formula $n$
19029 \begin_inset space ~
19032 columns have the same width, the table width is
19035 \begin_inset Formula
19037 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
19045 \begin_layout Standard
19048 The available width for a table is the space between the page margins or
19049 the width of a text column (for a two-column document) (LaTeX length
19056 If all table columns should have the same width and
19057 \begin_inset Formula $W_{\mathrm{table}}$
19061 \begin_inset space \thinspace{}
19067 \begin_inset Formula $W_{\mathrm{column}}$
19070 can easily be calculated.
19073 \begin_layout Standard
19076 To be able to perform calculations you need to load the LaTeX-package
19082 \begin_inset Index idx
19085 \begin_layout Plain Layout
19086 LaTeXぱっけーじ@LaTeXパッケージ ! calc
19093 in the document preamble.
19094 To set the width in the table dialog you have to use the field
19099 The command scheme for this field is the same that is explained in section
19100 \begin_inset space ~
19106 \begin_inset CommandInset ref
19108 reference "sub:連結列の計算"
19116 \begin_inset space \thinspace{}
19119 columns with an uniform width and centered text, enter there for each column
19123 \begin_layout Standard
19130 columnwidth-62.4pt)/5}
19133 \begin_layout Standard
19137 \begin_inset space \thinspace{}
19140 columns where 2 should have 0.75
19141 \begin_inset space ~
19144 times the width than the 3 others, the calculation is
19147 \begin_inset Formula
19149 \backslash\mbox{columnwidth} & =3\, W_{\mathrm{column}}+2\cdot0.75\, W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
19150 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
19151 & =4.5\, W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
19152 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
19160 \begin_layout Standard
19163 In the table therefore the command
19166 \begin_layout Standard
19173 columnwidth-62.4pt)/
19178 \begin_layout Standard
19181 is used for the wider columns and
19184 \begin_layout Standard
19191 columnwidth-62.4pt)/
19198 \begin_layout Standard
19201 for the smaller ones:
19204 \begin_layout Standard
19205 \begin_inset Tabular
19206 <lyxtabular version="3" rows="2" columns="5">
19207 <features tabularvalignment="middle">
19208 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
19209 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
19210 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
19211 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
19212 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
19214 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19217 \begin_layout Plain Layout
19223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19226 \begin_layout Plain Layout
19232 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19235 \begin_layout Plain Layout
19241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19244 \begin_layout Plain Layout
19250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19253 \begin_layout Plain Layout
19261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19264 \begin_layout Plain Layout
19265 111111 1111111 111111 111111111 11111 11111 1111
19270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19273 \begin_layout Plain Layout
19279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19282 \begin_layout Plain Layout
19283 2222 22222 222222 222222222 2222222 22 22222
19288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19291 \begin_layout Plain Layout
19297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19300 \begin_layout Plain Layout
19301 333333 333333 333333 33333 3333333 333
19314 \begin_layout Section
19316 \begin_inset Index idx
19319 \begin_layout Plain Layout
19326 \begin_inset Index idx
19329 \begin_layout Plain Layout
19338 \begin_layout Subsection
19340 \begin_inset CommandInset label
19347 \begin_inset Index idx
19350 \begin_layout Plain Layout
19351 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
19359 \begin_layout Standard
19364 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
19367 \begin_layout Description
19368 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
19372 \begin_layout Plain Layout
19374 \begin_inset CommandInset ref
19376 reference "sec:フォーマル形式の表"
19386 \begin_inset space \thinspace{}
19389 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19390 \begin_inset VSpace medskip
19394 \begin_inset Newline newline
19398 \begin_inset space \hspace*{}
19403 \begin_inset space \hfill{}
19407 \begin_inset Tabular
19408 <lyxtabular version="3" rows="3" columns="1">
19409 <features tabularvalignment="middle">
19410 <column alignment="center" valignment="top" width="0">
19412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19415 \begin_layout Plain Layout
19422 <row topspace="3mm">
19423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19426 \begin_layout Plain Layout
19428 \begin_inset space \thinspace{}
19438 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19441 \begin_layout Plain Layout
19453 \begin_inset space \hfill{}
19457 \begin_inset space \hspace*{}
19462 \begin_inset VSpace medskip
19466 \begin_inset Newline newline
19469 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
19472 \begin_layout Description
19473 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19474 \begin_inset space \thinspace{}
19477 emの余白を挿入し、通常の表ならば既定値として2
19478 \begin_inset space \thinspace{}
19484 \begin_layout Description
19485 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19486 \begin_inset space \thinspace{}
19489 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19490 \begin_inset VSpace medskip
19494 \begin_inset Newline newline
19498 \begin_inset space \hspace*{}
19503 \begin_inset space \hfill{}
19507 \begin_inset Tabular
19508 <lyxtabular version="3" rows="3" columns="1">
19509 <features tabularvalignment="middle">
19510 <column alignment="center" valignment="top" width="0">
19512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19515 \begin_layout Plain Layout
19522 <row interlinespace="3mm">
19523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19526 \begin_layout Plain Layout
19527 \begin_inset Formula $\downarrow$
19531 \begin_inset space \thinspace{}
19535 \begin_inset Formula $\downarrow$
19545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19548 \begin_layout Plain Layout
19549 \begin_inset Formula $\uparrow$
19553 \begin_inset space \thinspace{}
19557 \begin_inset Formula $\uparrow$
19571 \begin_inset space \hfill{}
19575 \begin_inset space \hspace*{}
19580 \begin_inset VSpace medskip
19584 \begin_inset Newline newline
19587 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
19590 \begin_layout Standard
19591 \begin_inset VSpace bigskip
19594 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
19597 \begin_layout Standard
19602 @ifundefined{extrarowheight}
19603 \begin_inset Newline newline
19607 \begin_inset Phantom HPhantom
19610 \begin_layout Plain Layout
19611 \begin_inset space ~
19621 usepackage{array}}{}
19622 \begin_inset Newline newline
19629 extrarowheight}{height}
19632 \begin_layout Standard
19633 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
19637 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
19646 \begin_layout Standard
19647 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
19653 コマンドを挿入することで補正することができます。表
19654 \begin_inset CommandInset ref
19656 reference "tab:垂直揃え"
19663 \begin_layout Standard
19665 \begin_inset Float table
19671 \begin_layout Plain Layout
19672 \begin_inset Caption
19674 \begin_layout Plain Layout
19675 \begin_inset CommandInset label
19689 \begin_layout Plain Layout
19690 \begin_inset space \hfill{}
19694 \begin_inset Float table
19699 \begin_layout Plain Layout
19700 \begin_inset Caption
19702 \begin_layout Plain Layout
19711 \begin_layout Plain Layout
19714 \begin_inset Tabular
19715 <lyxtabular version="3" rows="6" columns="1">
19716 <features tabularvalignment="middle">
19717 <column alignment="left" valignment="top" width="0">
19719 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19722 \begin_layout Plain Layout
19730 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19733 \begin_layout Plain Layout
19743 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19746 \begin_layout Plain Layout
19756 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19759 \begin_layout Plain Layout
19769 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19772 \begin_layout Plain Layout
19782 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19785 \begin_layout Plain Layout
19804 \begin_inset space \hfill{}
19808 \begin_inset Float table
19813 \begin_layout Plain Layout
19814 \begin_inset Caption
19816 \begin_layout Plain Layout
19831 \begin_layout Plain Layout
19834 \begin_inset Tabular
19835 <lyxtabular version="3" rows="6" columns="1">
19836 <features tabularvalignment="middle">
19837 <column alignment="left" valignment="top" width="0">
19839 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19842 \begin_layout Plain Layout
19850 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19853 \begin_layout Plain Layout
19859 \begin_layout Plain Layout
19875 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19878 \begin_layout Plain Layout
19884 \begin_layout Plain Layout
19900 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19903 \begin_layout Plain Layout
19909 \begin_layout Plain Layout
19925 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19928 \begin_layout Plain Layout
19934 \begin_layout Plain Layout
19950 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19953 \begin_layout Plain Layout
19959 \begin_layout Plain Layout
19984 \begin_inset space \hfill{}
19995 \begin_layout Subsection
19997 \begin_inset CommandInset label
20004 \begin_inset Index idx
20007 \begin_layout Plain Layout
20008 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
20016 \begin_layout Standard
20018 \begin_inset CommandInset ref
20020 reference "tab:表セル"
20024 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
20027 arg "inset-modify tabular align-decimal"
20037 \begin_layout Standard
20038 \begin_inset Float table
20044 \begin_layout Plain Layout
20045 \begin_inset Caption
20047 \begin_layout Plain Layout
20048 \begin_inset CommandInset label
20062 \begin_layout Plain Layout
20064 \begin_inset Tabular
20065 <lyxtabular version="3" rows="4" columns="1">
20066 <features booktabs="true" tabularvalignment="middle">
20067 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
20069 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20072 \begin_layout Plain Layout
20080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20083 \begin_layout Plain Layout
20091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20094 \begin_layout Plain Layout
20102 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20105 \begin_layout Plain Layout
20124 \begin_layout Standard
20125 \begin_inset Float table
20131 \begin_layout Plain Layout
20132 \begin_inset Caption
20134 \begin_layout Plain Layout
20135 \begin_inset CommandInset label
20149 \begin_layout Plain Layout
20151 \begin_inset Tabular
20152 <lyxtabular version="3" rows="4" columns="2">
20153 <features booktabs="true" tabularvalignment="middle">
20154 <column alignment="right" valignment="top" width="0pt">
20155 <column alignment="left" valignment="top" width="0pt" special="@{}l">
20157 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
20160 \begin_layout Plain Layout
20166 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20169 \begin_layout Plain Layout
20177 <cell alignment="center" valignment="top" usebox="none">
20180 \begin_layout Plain Layout
20181 \begin_inset Formula $12\,+$
20189 <cell alignment="center" valignment="top" usebox="none">
20192 \begin_layout Plain Layout
20193 \begin_inset Formula $\,6$
20203 <cell alignment="center" valignment="top" usebox="none">
20206 \begin_layout Plain Layout
20207 \begin_inset Formula $0\,-$
20215 <cell alignment="center" valignment="top" usebox="none">
20218 \begin_layout Plain Layout
20219 \begin_inset Formula $\,68$
20229 <cell alignment="center" valignment="top" usebox="none">
20232 \begin_layout Plain Layout
20233 \begin_inset Formula $-123\,/$
20241 <cell alignment="center" valignment="top" usebox="none">
20244 \begin_layout Plain Layout
20245 \begin_inset Formula $\,0$
20266 \begin_layout Standard
20267 揃え文字を指定するフィールドには、数式を用いることができないので、この方法を使って、数式中の文字で揃えることはできません。このような場合には、表
20268 \begin_inset CommandInset ref
20270 reference "tab:演算子揃え表"
20274 のような方法を用いる必要があります。この表は、4×2表として作成されており、見出しは中央揃え連結列です。第1列には、右揃えで演算子を含む前半部を収め、第2列には
20275 、左揃えで残りを収めます。演算子の周りに通常加えられる空白を得るために、第2列の各セルの冒頭には、小空白が加えられています。通常、表の列間に加えられる余白を削る
20279 \begin_layout Standard
20285 \begin_layout Standard
20286 というLaTeX引数を第2列に指定します。
20289 \begin_layout Standard
20291 \begin_inset CommandInset ref
20293 reference "tab:表セル揃え"
20297 は、揃え方の例をいくつか示しています。関係子で揃えるために、表
20298 \begin_inset CommandInset ref
20300 reference "tab:演算子揃え表"
20304 の冒頭には、小空白が加えられています。
20307 \begin_layout Standard
20308 \begin_inset Float table
20313 \begin_layout Plain Layout
20314 \begin_inset Caption
20316 \begin_layout Plain Layout
20317 \begin_inset CommandInset label
20331 \begin_layout Plain Layout
20333 \begin_inset Tabular
20334 <lyxtabular version="3" rows="4" columns="6">
20335 <features tabularvalignment="middle">
20336 <column alignment="right" valignment="top" width="0">
20337 <column alignment="left" valignment="top" width="0" special="@{}l">
20338 <column alignment="right" valignment="top" width="0">
20339 <column alignment="left" valignment="top" width="0" special="@{}l">
20340 <column alignment="right" valignment="top" width="0">
20341 <column alignment="left" valignment="top" width="0" special="@{}l">
20343 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20346 \begin_layout Plain Layout
20352 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20355 \begin_layout Plain Layout
20361 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20364 \begin_layout Plain Layout
20370 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20373 \begin_layout Plain Layout
20379 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
20382 \begin_layout Plain Layout
20388 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20391 \begin_layout Plain Layout
20399 <cell alignment="center" valignment="top" usebox="none">
20402 \begin_layout Plain Layout
20408 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20411 \begin_layout Plain Layout
20417 <cell alignment="center" valignment="top" usebox="none">
20420 \begin_layout Plain Layout
20421 \begin_inset Formula $10\cdot$
20429 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20432 \begin_layout Plain Layout
20433 \begin_inset Formula $10^{\mbox{-}17}$
20441 <cell alignment="center" valignment="top" usebox="none">
20444 \begin_layout Plain Layout
20445 \begin_inset Formula $\Gamma(t)\propto$
20453 <cell alignment="center" valignment="top" usebox="none">
20456 \begin_layout Plain Layout
20457 \begin_inset Formula $\:\Upsilon(t)$
20467 <cell alignment="center" valignment="top" usebox="none">
20470 \begin_layout Plain Layout
20476 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20479 \begin_layout Plain Layout
20485 <cell alignment="center" valignment="top" usebox="none">
20488 \begin_layout Plain Layout
20489 \begin_inset Formula $5.78\cdot$
20497 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20500 \begin_layout Plain Layout
20501 \begin_inset Formula $10^{7}$
20509 <cell alignment="center" valignment="top" usebox="none">
20512 \begin_layout Plain Layout
20513 \begin_inset Formula $A\ne$
20521 <cell alignment="center" valignment="top" usebox="none">
20524 \begin_layout Plain Layout
20525 \begin_inset Formula $\: B_{\mathrm{red}}$
20535 <cell alignment="center" valignment="top" usebox="none">
20538 \begin_layout Plain Layout
20544 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20547 \begin_layout Plain Layout
20549 \begin_inset space \thinspace{}
20557 <cell alignment="center" valignment="top" usebox="none">
20560 \begin_layout Plain Layout
20562 \begin_inset Formula $33.5\cdot$
20570 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20573 \begin_layout Plain Layout
20574 \begin_inset Formula $10^{4}$
20582 <cell alignment="center" valignment="top" usebox="none">
20585 \begin_layout Plain Layout
20586 \begin_inset Formula $\sin(\alpha)\ge$
20594 <cell alignment="center" valignment="top" usebox="none">
20597 \begin_layout Plain Layout
20598 \begin_inset Formula $\:\sin(\beta)$
20619 \begin_layout Subsection
20621 \begin_inset CommandInset label
20628 \begin_inset Index idx
20631 \begin_layout Plain Layout
20632 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
20640 \begin_layout Standard
20643 Calculating the required width for normal columns as described in section
20644 \begin_inset space ~
20648 \begin_inset CommandInset ref
20650 reference "sec:Table-Width-Calculation"
20654 or for spanned columns as described in section
20655 \begin_inset space ~
20661 \begin_inset CommandInset ref
20663 reference "sub:連結列の計算"
20669 is very annoying if you have several tables where a calculation is necessary.
20672 そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のすべての表で使うことができます。書式は、以下のように定義します。
20675 \begin_layout Standard
20680 newcolumntype{書式名}[引数の数]{コマンド}
20683 \begin_layout Standard
20708 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
20711 \begin_layout Standard
20712 \begin_inset VSpace medskip
20718 \begin_layout Standard
20719 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
20722 \begin_layout Standard
20727 newcolumntype{M}[1]{>{
20734 \begin_layout Standard
20742 \begin_inset CommandInset ref
20744 reference "sub:複数行"
20748 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
20751 \begin_layout Standard
20757 \begin_layout Standard
20761 \begin_layout Standard
20762 \begin_inset VSpace bigskip
20768 \begin_layout Standard
20769 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
20772 \begin_layout Standard
20777 newcolumntype{S}[2]{>{
20782 \begin_inset Newline newline
20786 \begin_inset Phantom HPhantom
20789 \begin_layout Plain Layout
20803 arrayrulewidth)*(1-#2))/#2}}
20806 \begin_layout Standard
20807 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
20808 \begin_inset CommandInset ref
20817 \begin_layout Standard
20818 こうしておけば、当該セルのLaTeX引数に
20821 \begin_layout Standard
20824 S{連結列セルの幅}{連結列セルがまたがる列の数}
20827 \begin_layout Standard
20831 \begin_layout Standard
20832 \begin_inset VSpace bigskip
20838 \begin_layout Standard
20839 色付き列については、以下のように定義するとよいでしょう。
20842 \begin_layout Standard
20847 newcolumntype{K}[1]{>{
20854 \begin_layout Standard
20855 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
20858 \begin_layout Standard
20864 \begin_layout Standard
20868 \begin_layout Standard
20869 \begin_inset VSpace bigskip
20875 \begin_layout Standard
20877 \begin_inset CommandInset ref
20879 reference "tab:ユーザー定義の表書式"
20883 を生成するには、第1列と連結列にLaTeX引数として
20886 \begin_layout Standard
20892 \begin_layout Standard
20896 \begin_layout Standard
20902 \begin_layout Standard
20906 \begin_layout Standard
20912 \begin_layout Standard
20916 \begin_layout Standard
20917 \begin_inset Float table
20923 \begin_layout Plain Layout
20924 \begin_inset Caption
20926 \begin_layout Plain Layout
20927 \begin_inset CommandInset label
20929 name "tab:ユーザー定義の表書式"
20941 \begin_layout Plain Layout
20943 \begin_inset Tabular
20944 <lyxtabular version="3" rows="3" columns="4">
20945 <features tabularvalignment="middle">
20946 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
20947 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
20948 <column alignment="center" valignment="middle" width="0">
20949 <column alignment="center" valignment="middle" width="0" special="K{red}">
20951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20954 \begin_layout Plain Layout
20960 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
20963 \begin_layout Plain Layout
20969 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20972 \begin_layout Plain Layout
20978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20981 \begin_layout Plain Layout
20989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20992 \begin_layout Plain Layout
20998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21001 \begin_layout Plain Layout
21007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21010 \begin_layout Plain Layout
21016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21019 \begin_layout Plain Layout
21027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21030 \begin_layout Plain Layout
21036 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21039 \begin_layout Plain Layout
21045 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21048 \begin_layout Plain Layout
21054 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21057 \begin_layout Plain Layout
21076 \begin_layout Subsection
21078 \begin_inset CommandInset label
21085 \begin_inset Index idx
21088 \begin_layout Plain Layout
21089 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
21097 \begin_layout Standard
21098 表中のすべての罫線の罫線幅を調整するには、長さ
21105 \begin_inset CommandInset ref
21107 reference "tab:Table-with-1.5"
21112 \begin_inset space \thinspace{}
21115 ptにするには、表や表フロートの前にTeXコードで
21118 \begin_layout Standard
21125 arrayrulewidth}{1.5pt}
21128 \begin_layout Standard
21129 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
21136 \begin_inset space \thinspace{}
21142 \begin_layout Standard
21146 \begin_layout Plain Layout
21152 arrayrulewidth}{1.5pt}
21158 \begin_inset Float table
21163 \begin_layout Plain Layout
21164 \begin_inset Caption
21166 \begin_layout Plain Layout
21167 \begin_inset CommandInset label
21169 name "tab:Table-with-1.5"
21174 \begin_inset space \thinspace{}
21185 \begin_layout Plain Layout
21187 \begin_inset Tabular
21188 <lyxtabular version="3" rows="3" columns="3">
21189 <features tabularvalignment="middle">
21190 <column alignment="center" valignment="top" width="0">
21191 <column alignment="center" valignment="top" width="0">
21192 <column alignment="center" valignment="top" width="0">
21194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21197 \begin_layout Plain Layout
21203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21206 \begin_layout Plain Layout
21212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21215 \begin_layout Plain Layout
21223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21226 \begin_layout Plain Layout
21232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21235 \begin_layout Plain Layout
21241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21244 \begin_layout Plain Layout
21252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21255 \begin_layout Plain Layout
21261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21264 \begin_layout Plain Layout
21270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21273 \begin_layout Plain Layout
21293 \begin_layout Plain Layout
21299 arrayrulewidth}{0.4pt}
21307 \begin_layout Standard
21308 \begin_inset VSpace bigskip
21312 \begin_inset CommandInset ref
21314 reference "tab:1.5pt幅横罫"
21319 \begin_inset space \thinspace{}
21322 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
21325 \begin_layout Standard
21335 \begin_inset Newline newline
21343 \begin_inset Newline newline
21352 arrayrulewidth 1.5pt}
21353 \begin_inset Newline newline
21364 arrayrulewidth 0.4pt}}
21367 \begin_layout Standard
21368 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
21371 \begin_layout Standard
21383 \begin_layout Standard
21387 \begin_layout Plain Layout
21398 \begin_layout Plain Layout
21407 \begin_layout Plain Layout
21415 arrayrulewidth 1.5pt}
21418 \begin_layout Plain Layout
21428 arrayrulewidth 0.4pt}}
21434 \begin_inset Float table
21439 \begin_layout Plain Layout
21440 \begin_inset Caption
21442 \begin_layout Plain Layout
21443 \begin_inset CommandInset label
21445 name "tab:1.5pt幅横罫"
21450 \begin_inset space \thinspace{}
21461 \begin_layout Plain Layout
21463 \begin_inset Tabular
21464 <lyxtabular version="3" rows="3" columns="3">
21465 <features tabularvalignment="middle">
21466 <column alignment="center" valignment="top" width="0">
21467 <column alignment="center" valignment="top" width="0">
21468 <column alignment="center" valignment="top" width="0">
21470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21473 \begin_layout Plain Layout
21479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21482 \begin_layout Plain Layout
21488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21491 \begin_layout Plain Layout
21499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21502 \begin_layout Plain Layout
21508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21511 \begin_layout Plain Layout
21517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21520 \begin_layout Plain Layout
21528 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21531 \begin_layout Plain Layout
21537 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21540 \begin_layout Plain Layout
21546 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21549 \begin_layout Plain Layout
21569 \begin_layout Plain Layout
21585 \begin_layout Standard
21586 \begin_inset VSpace bigskip
21590 \begin_inset space \thinspace{}
21594 \begin_inset CommandInset ref
21596 reference "sub:自製書式"
21600 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
21603 \begin_layout Standard
21608 newcolumntype{V}{!{
21610 vrule width 1.5pt}}
21613 \begin_layout Standard
21615 \begin_inset CommandInset ref
21617 reference "tab:1.5pt幅縦罫"
21624 \begin_layout Standard
21630 \begin_layout Standard
21634 \begin_layout Standard
21640 \begin_layout Standard
21644 \begin_layout Standard
21645 \begin_inset Float table
21650 \begin_layout Plain Layout
21651 \begin_inset Caption
21653 \begin_layout Plain Layout
21654 \begin_inset CommandInset label
21656 name "tab:1.5pt幅縦罫"
21661 \begin_inset space \thinspace{}
21672 \begin_layout Plain Layout
21674 \begin_inset Tabular
21675 <lyxtabular version="3" rows="3" columns="3">
21676 <features tabularvalignment="middle">
21677 <column alignment="center" valignment="top" width="0" special="Vc">
21678 <column alignment="center" valignment="top" width="0" special="Vc">
21679 <column alignment="center" valignment="top" width="0" special="VcV">
21681 <cell alignment="center" valignment="top" topline="true" usebox="none">
21684 \begin_layout Plain Layout
21690 <cell alignment="center" valignment="top" topline="true" usebox="none">
21693 \begin_layout Plain Layout
21699 <cell alignment="center" valignment="top" topline="true" usebox="none">
21702 \begin_layout Plain Layout
21710 <cell alignment="center" valignment="top" topline="true" usebox="none">
21713 \begin_layout Plain Layout
21719 <cell alignment="center" valignment="top" topline="true" usebox="none">
21722 \begin_layout Plain Layout
21728 <cell alignment="center" valignment="top" topline="true" usebox="none">
21731 \begin_layout Plain Layout
21739 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21742 \begin_layout Plain Layout
21748 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21751 \begin_layout Plain Layout
21757 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21760 \begin_layout Plain Layout
21779 \begin_layout Subsection
21781 \begin_inset Index idx
21784 \begin_layout Plain Layout
21785 ひょうのちょうせい@表の調整 ! てんけい@点罫
21793 \begin_layout Standard
21797 \begin_layout Plain Layout
21807 \begin_inset Note Note
21810 \begin_layout Plain Layout
21823 \begin_layout Standard
21824 \begin_inset Float table
21830 \begin_layout Plain Layout
21831 \begin_inset Caption
21833 \begin_layout Plain Layout
21834 \begin_inset CommandInset label
21848 \begin_layout Plain Layout
21850 \begin_inset Tabular
21851 <lyxtabular version="3" rows="5" columns="5">
21852 <features tabularvalignment="middle">
21853 <column alignment="center" valignment="top" width="0">
21854 <column alignment="center" valignment="top" width="0">
21855 <column alignment="center" valignment="top" width="0" special=":c">
21856 <column alignment="center" valignment="top" width="0">
21857 <column alignment="center" valignment="top" width="0">
21859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21862 \begin_layout Plain Layout
21868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21871 \begin_layout Plain Layout
21877 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21880 \begin_layout Plain Layout
21886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21889 \begin_layout Plain Layout
21895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21898 \begin_layout Plain Layout
21906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21909 \begin_layout Plain Layout
21915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21918 \begin_layout Plain Layout
21924 <cell alignment="center" valignment="top" topline="true" usebox="none">
21927 \begin_layout Plain Layout
21933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21936 \begin_layout Plain Layout
21942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21945 \begin_layout Plain Layout
21953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21956 \begin_layout Plain Layout
21960 \begin_layout Plain Layout
21974 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21977 \begin_layout Plain Layout
21983 <cell alignment="center" valignment="top" usebox="none">
21986 \begin_layout Plain Layout
21992 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21995 \begin_layout Plain Layout
22001 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22004 \begin_layout Plain Layout
22012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22015 \begin_layout Plain Layout
22019 \begin_layout Plain Layout
22033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22036 \begin_layout Plain Layout
22042 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
22045 \begin_layout Plain Layout
22051 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22054 \begin_layout Plain Layout
22060 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22063 \begin_layout Plain Layout
22071 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22074 \begin_layout Plain Layout
22080 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22083 \begin_layout Plain Layout
22089 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
22092 \begin_layout Plain Layout
22098 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22101 \begin_layout Plain Layout
22107 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22110 \begin_layout Plain Layout
22129 \begin_layout Standard
22130 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
22133 \begin_layout Standard
22138 usepackage{arydshln}
22141 \begin_layout Standard
22142 というコマンドを書き、LaTeXパッケージの
22147 \begin_inset Index idx
22150 \begin_layout Plain Layout
22151 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
22156 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
22159 \begin_layout Standard
22160 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
22163 \begin_layout Standard
22171 \begin_layout Standard
22175 \begin_layout Standard
22176 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
22179 \begin_layout Standard
22189 \begin_layout Standard
22190 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
22193 \begin_layout Standard
22201 \begin_layout Standard
22205 \begin_layout Standard
22206 \begin_inset VSpace bigskip
22212 \begin_layout Standard
22214 \begin_inset CommandInset ref
22216 reference "tab:点罫表"
22220 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
22226 が挿れられており、第3行の最初のセルには、TeXコードのコマンド
22227 \begin_inset Newline newline
22239 \begin_layout Standard
22240 \begin_inset VSpace bigskip
22246 \begin_layout Standard
22249 Tables with dashed lines can also be colored as shown by Table
22252 \begin_inset space ~
22256 \begin_inset CommandInset ref
22258 reference "tab:Colored-table-with"
22265 \begin_layout Standard
22269 \begin_layout Plain Layout
22275 arrayrulewidth}{1pt}
22283 \begin_inset Note Note
22286 \begin_layout Plain Layout
22289 thicker lines for better visualization of the line color
22297 \begin_layout Standard
22301 \begin_layout Plain Layout
22305 dashgapcolor{green}
22313 \begin_inset Note Note
22316 \begin_layout Plain Layout
22319 color gaps between dashes green
22327 \begin_layout Standard
22331 \begin_layout Plain Layout
22342 \begin_layout Plain Layout
22351 \begin_layout Plain Layout
22355 arrayrulecolor{red}
22359 arrayrulecolor{black}}
22367 \begin_inset Note Note
22370 \begin_layout Plain Layout
22373 color horizontal, dashed lines red
22381 \begin_layout Standard
22385 \begin_layout Plain Layout
22396 \begin_layout Plain Layout
22405 \begin_layout Plain Layout
22409 arrayrulecolor{yellow}
22413 arrayrulecolor{black}}
22421 \begin_inset Note Note
22424 \begin_layout Plain Layout
22427 color partial horizontal, dashed lines yellow
22435 \begin_layout Standard
22436 \begin_inset Float table
22442 \begin_layout Plain Layout
22443 \begin_inset Caption
22445 \begin_layout Plain Layout
22446 \begin_inset CommandInset label
22448 name "tab:Colored-table-with"
22454 Colored table with dashed lines
22462 \begin_layout Plain Layout
22464 \begin_inset Tabular
22465 <lyxtabular version="3" rows="5" columns="5">
22466 <features tabularvalignment="middle">
22467 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
22468 <column alignment="center" valignment="top" width="0pt">
22469 <column alignment="center" valignment="top" width="0pt" special=":c">
22470 <column alignment="center" valignment="top" width="0">
22471 <column alignment="center" valignment="top" width="0">
22473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22476 \begin_layout Plain Layout
22482 <cell alignment="center" valignment="top" topline="true" usebox="none">
22485 \begin_layout Plain Layout
22491 <cell alignment="center" valignment="top" topline="true" usebox="none">
22494 \begin_layout Plain Layout
22500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22503 \begin_layout Plain Layout
22509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22512 \begin_layout Plain Layout
22520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22523 \begin_layout Plain Layout
22529 <cell alignment="center" valignment="top" topline="true" usebox="none">
22532 \begin_layout Plain Layout
22538 <cell alignment="center" valignment="top" topline="true" usebox="none">
22541 \begin_layout Plain Layout
22547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22550 \begin_layout Plain Layout
22556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22559 \begin_layout Plain Layout
22567 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22570 \begin_layout Plain Layout
22574 \begin_layout Plain Layout
22587 \begin_layout Plain Layout
22601 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22604 \begin_layout Plain Layout
22610 <cell alignment="center" valignment="top" usebox="none">
22613 \begin_layout Plain Layout
22619 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22622 \begin_layout Plain Layout
22628 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22631 \begin_layout Plain Layout
22639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22642 \begin_layout Plain Layout
22646 \begin_layout Plain Layout
22660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22663 \begin_layout Plain Layout
22669 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
22672 \begin_layout Plain Layout
22678 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22681 \begin_layout Plain Layout
22687 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22690 \begin_layout Plain Layout
22698 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22701 \begin_layout Plain Layout
22707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22710 \begin_layout Plain Layout
22716 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
22719 \begin_layout Plain Layout
22725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22728 \begin_layout Plain Layout
22734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22737 \begin_layout Plain Layout
22741 \begin_layout Plain Layout
22768 \begin_layout Standard
22772 \begin_layout Plain Layout
22788 \begin_inset Note Note
22791 \begin_layout Plain Layout
22802 \begin_layout Standard
22806 \begin_layout Plain Layout
22822 \begin_inset Note Note
22825 \begin_layout Plain Layout
22836 \begin_layout Standard
22840 \begin_layout Plain Layout
22852 \begin_inset Note Note
22855 \begin_layout Plain Layout
22866 \begin_layout Standard
22870 \begin_layout Plain Layout
22876 arrayrulewidth}{0.4pt}
22884 \begin_inset Note Note
22887 \begin_layout Plain Layout
22898 \begin_layout Standard
22901 The coloring of lines, columns and lines works as decribed in section
22902 \begin_inset space ~
22908 \begin_inset CommandInset ref
22910 reference "sec:色付きの表"
22917 Coloring horizontal lines works analogically as described there as well,
22918 one only needs to replace in the commands
22942 ; so one uses the command
22945 \begin_layout Standard
22955 \begin_inset Newline newline
22963 \begin_inset Newline newline
22967 \begin_inset Phantom HPhantom
22970 \begin_layout Plain Layout
22971 \begin_inset space ~
22981 arrayrulecolor{red}
22985 arrayrulecolor{black}}
22988 \begin_layout Standard
23000 \begin_layout Standard
23010 \begin_inset Newline newline
23018 \begin_inset Newline newline
23022 \begin_inset Phantom HPhantom
23025 \begin_layout Plain Layout
23026 \begin_inset space ~
23036 arrayrulecolor{red}
23040 arrayrulecolor{black}}
23043 \begin_layout Standard
23046 To get back the black line color, one needs to insert the following commands
23047 as TeX-Code behind the table:
23050 \begin_layout Standard
23060 \begin_layout Standard
23072 \begin_layout Standard
23082 \begin_layout Standard
23094 \begin_layout Standard
23097 To color the gaps between the dashes the command
23100 \begin_layout Standard
23106 dashgapcolor{color}
23109 \begin_layout Standard
23112 can be used in front of a table as TeX-Code.
23113 color is hereby the name of a defined color.
23117 \begin_layout Standard
23125 \begin_layout Standard
23128 unsets the changes made by
23137 \begin_layout Standard
23140 \begin_inset Note Greyedout
23143 \begin_layout Plain Layout
23150 : If there are multiple commands in a cell, the command of
23154 needs to be the first one in the cell.
23160 \begin_inset space ~
23164 \begin_inset CommandInset ref
23166 reference "tab:Colored-table-with"
23190 \begin_layout Standard
23193 \begin_inset Note Greyedout
23196 \begin_layout Plain Layout
23207 must be loaded in the document preamble before the LaTeX-package
23215 \begin_inset Index idx
23218 \begin_layout Plain Layout
23219 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
23234 \begin_layout Standard
23238 \begin_layout Plain Layout
23248 \begin_inset Note Note
23251 \begin_layout Plain Layout
23264 \begin_layout Standard
23269 パッケージを導入しなくてはなりません。
23272 \begin_layout Standard
23276 \begin_layout Plain Layout
23288 \begin_layout Standard
23291 For more information about dashed lines see the documentation of
23298 \begin_inset CommandInset citation
23307 \begin_layout Chapter
23309 \begin_inset CommandInset label
23316 \begin_inset Index idx
23319 \begin_layout Plain Layout
23328 \begin_layout Section
23330 \begin_inset CommandInset label
23332 name "sec:フロートはじめに"
23337 \begin_inset Index idx
23340 \begin_layout Plain Layout
23349 \begin_layout Standard
23350 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
23359 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
23362 \begin_layout Standard
23363 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
23364 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
23365 ートには連番が割り当てられます。参照については、第
23366 \begin_inset CommandInset ref
23368 reference "sec:フロートの参照"
23375 \begin_layout Standard
23378 挿入\SpecialChar \menuseparator
23381 メニューを使えば、ラベルのついたボックスすなわち
23392 arg "float-insert figure"
23402 arg "float-insert table"
23405 )。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプションの上ないし下に別
23406 の段落として挿入します。キャプションの配置に関して詳しくは、第
23407 \begin_inset CommandInset ref
23409 reference "sec:キャプションの配置"
23413 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
23415 \begin_inset Graphics
23416 filename clipart/floatQt4.png
23418 scaleBeforeRotation
23422 のように、灰色ボタンに赤字ラベルで表示されます。
23425 \begin_layout Standard
23426 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
23429 \begin_layout Standard
23430 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
23433 \begin_layout Section
23437 \begin_layout Standard
23439 \begin_inset CommandInset ref
23441 reference "sec:図フロート"
23446 \begin_inset CommandInset ref
23448 reference "sec:表フロート"
23452 節で各々説明されている図フロートと表フロート以外に、
23462 The latter are explained in sec.
23465 \begin_inset space \thinspace{}
23469 \begin_inset CommandInset ref
23471 reference "sec:折返しフロート"
23478 \begin_layout Subsection
23480 \begin_inset Index idx
23483 \begin_layout Plain Layout
23484 ふろーと@フロート ! あるごりずむ@アルゴリズム
23492 \begin_layout Standard
23493 \begin_inset Float algorithm
23499 \begin_layout Plain Layout
23500 \begin_inset Caption
23502 \begin_layout Plain Layout
23503 \begin_inset CommandInset label
23505 name "alg:アルゴリズムフロートの例"
23517 \begin_layout LyX-Code
23519 \begin_inset Newline newline
23522 Sum:= Sum + A(I); /*comment*/
23523 \begin_inset Newline newline
23527 \begin_inset VSpace -4mm
23538 \begin_layout Standard
23543 \SpecialChar \menuseparator
23544 フロート\SpecialChar \menuseparator
23548 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
23549 \begin_inset CommandInset ref
23551 reference "cha:プログラムコードリスト"
23555 章で説明されているプログラムコードリストの代わりとみなすことができます。
23559 に述べられているように、アルゴリズム向けの環境としては、
23564 \begin_inset CommandInset ref
23566 reference "alg:アルゴリズムフロートの例"
23570 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
23571 \begin_inset space \thinspace{}
23577 \begin_layout Standard
23578 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
23581 \begin_layout Standard
23586 floatname{algorithm}{付けたい名称}
23589 \begin_layout Standard
23590 という行を手動で加える必要があります。ここで
23603 \begin_layout Standard
23604 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
23606 挿入\SpecialChar \menuseparator
23607 一覧/目次\SpecialChar \menuseparator
23610 メニューを使用します。それ以外の場合には、代わりに
23613 \begin_layout Standard
23618 listof{algorithm}{付けたい名称}
23621 \begin_layout Standard
23622 というコマンドをTeXコードとして用います。ここで
23630 s」という単語に相当する、ご使用になりたい言語での単語です。
23633 \begin_layout Standard
23634 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
23635 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
23638 \begin_layout Standard
23643 numberwithin{algorithm}{chapter}
23646 \begin_layout Standard
23653 というコマンドを使用するには、文書設定の
23664 \begin_layout Section
23666 \begin_inset Index idx
23669 \begin_layout Plain Layout
23670 ふろーと@フロート ! れんばん@連番
23678 \begin_layout Standard
23679 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
23683 \begin_layout Standard
23684 節から独立して付けられている連番を変更するには、文書プリアンブルで
23687 \begin_layout Standard
23699 \begin_layout Standard
23706 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
23712 コマンドを使用します。上のコマンドで使用されている
23718 は、表番号を小文字のローマ数字で印字するコマンドです。
23721 \begin_layout Standard
23722 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
23725 \begin_layout Standard
23730 numberwithin{table}{subsection}
23733 \begin_layout Standard
23740 コマンドを使用可能にするためには、文書設定の
23747 \begin_inset space ~
23755 \begin_layout Standard
23756 連番コマンドについての詳細と大切な注意点については、第
23757 \begin_inset CommandInset ref
23759 reference "sub:脚注の付番"
23766 \begin_layout Section
23768 \begin_inset CommandInset label
23775 \begin_inset Index idx
23778 \begin_layout Plain Layout
23779 ふろーと@フロート ! さんしょう@参照
23785 \begin_inset Index idx
23788 \begin_layout Plain Layout
23789 さんしょう@参照 ! ふろーとにたいする@フロートに対する
23797 \begin_layout Standard
23800 挿入\SpecialChar \menuseparator
23803 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
23804 \begin_inset Graphics
23805 filename ../clipart/labelQt4.png
23807 scaleBeforeRotation
23811 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
23812 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
23819 \begin_layout Standard
23820 ラベルは、参照のための名称兼位置標として用いられます。
23822 挿入\SpecialChar \menuseparator
23828 arg "dialog-show-new-inset ref"
23831 を使えば、ラベルを参照することができます。
23832 \begin_inset Graphics
23833 filename clipart/referenceQt4.png
23835 scaleBeforeRotation
23839 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
23840 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
23844 \begin_layout Standard
23845 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
23846 出力では、参照の代わりに二つの疑問符が表示されることになります。
23849 \begin_layout Standard
23850 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
23851 で、リンクの更新に手間を割く必要はありません。
23854 \begin_layout Standard
23859 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
23863 に変わるので、相互参照にカーソルを戻すのに使用することができます。
23866 \begin_layout Subsection
23868 \begin_inset CommandInset label
23875 \begin_inset Index idx
23878 \begin_layout Plain Layout
23887 \begin_layout Standard
23888 相互参照には、以下の6種類があります。
23891 \begin_layout Description
23892 <参照>: これはフロート番号を表示します。これが既定値です。例:
23893 \begin_inset CommandInset ref
23895 reference "fig:歪められた二つの像"
23902 \begin_layout Description
23903 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
23905 \begin_inset CommandInset ref
23914 \begin_layout Description
23915 <参照ページ>: これはページ番号を表示します。例:Page
23916 \begin_inset space ~
23920 \begin_inset CommandInset ref
23921 LatexCommand pageref
23922 reference "fig:歪められた二つの像"
23929 \begin_layout Description
23931 \begin_inset space ~
23935 \begin_inset space ~
23938 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
23939 \begin_inset CommandInset ref
23940 LatexCommand vpageref
23941 reference "fig:歪められた二つの像"
23948 \begin_layout Description
23950 \begin_inset space ~
23954 \begin_inset space ~
23958 \begin_inset space ~
23961 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
23962 \begin_inset CommandInset ref
23964 reference "fig:歪められた二つの像"
23971 \begin_layout Description
23972 整形された参照: これは自製の相互参照書式で出力します。
23973 \begin_inset Newline newline
23977 \begin_inset Note Greyedout
23980 \begin_layout Plain Layout
23981 【註】この機能は、LaTeXパッケージ
23989 が導入されている場合のみ使用することができます。
23990 \begin_inset Index idx
23993 \begin_layout Plain Layout
23994 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
24000 \begin_inset Index idx
24003 \begin_layout Plain Layout
24004 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
24015 \begin_inset Newline newline
24020 文書\SpecialChar \menuseparator
24021 設定\SpecialChar \menuseparator
24026 相互参照に(prettyrefではなく)refstyleを使用
24028 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
24034 コマンド(prettyrefの場合)あるいは
24040 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
24044 」を持ちます)をすべて定義し直すには、
24045 \begin_inset Newline newline
24052 newref{fig}{refcmd={Image on page
24055 \begin_inset Newline newline
24060 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
24061 \begin_inset CommandInset citation
24063 key "prettyref,refstyle"
24070 \begin_layout Description
24071 名称参照: これは、右のように参照のキャプションを出力します。
24072 \begin_inset CommandInset ref
24073 LatexCommand nameref
24074 reference "fig:歪められた二つの像"
24081 \begin_layout Standard
24086 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
24092 <参照> on page <参照ページ>
24094 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
24097 \begin_layout Standard
24098 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
24105 \begin_layout Standard
24106 \begin_inset Note Greyedout
24109 \begin_layout Plain Layout
24114 It is recommended to use the LaTeX-package
24119 \begin_inset Index idx
24122 \begin_layout Plain Layout
24123 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
24133 \begin_inset Index idx
24136 \begin_layout Plain Layout
24137 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
24142 does not know all of LyX's possible label shortcuts
24146 \begin_layout Plain Layout
24147 \begin_inset Quotes eld
24151 \begin_inset Quotes erd
24154 is for example LyX's shortcut for labels in figure captions.
24159 and is not internationalized.
24167 \begin_layout Subsection
24169 \begin_inset Index idx
24172 \begin_layout Plain Layout
24173 さんしょう@参照 ! じどうめいめい@自動命名
24181 \begin_layout Standard
24195 \begin_inset Index idx
24198 \begin_layout Plain Layout
24199 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24204 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
24208 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
24209 の機能を使用するには、hyperrefを有効にして、
24212 \begin_layout Standard
24228 \begin_layout Standard
24229 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
24230 \begin_inset space \thinspace{}
24233 」としたいなど、既定の参照名以外のものが欲しい場合には、
24236 \begin_layout Standard
24247 sectionautorefname}
24248 \begin_inset Newline newline
24252 \begin_inset Phantom HPhantom
24255 \begin_layout Plain Layout
24258 \begin_inset space ~
24271 \begin_layout Standard
24272 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
24273 \begin_inset Newline newline
24284 に置き換えてください(***は使用中の言語名)。
24287 \begin_layout Standard
24288 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
24291 \begin_layout Standard
24302 equationautorefname}[1]{}}
24305 \begin_layout Standard
24306 この話題に関する詳細は、hyperrefの説明書
24307 \begin_inset CommandInset citation
24316 \begin_layout Standard
24317 \begin_inset Note Greyedout
24320 \begin_layout Plain Layout
24330 \begin_inset CommandInset ref
24332 reference "sub:相互参照の書式"
24336 節)で使用しているときには、使用することができません。
24344 \begin_layout Standard
24351 manual is an example where automatic reference naming is used.
24354 \begin_layout Subsection
24356 \begin_inset CommandInset label
24363 \begin_inset Index idx
24366 \begin_layout Plain Layout
24367 さんしょう@参照 ! さんしょういち@参照位置
24375 \begin_layout Standard
24389 \begin_inset Index idx
24392 \begin_layout Plain Layout
24393 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24398 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
24399 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
24404 \begin_inset Index idx
24407 \begin_layout Plain Layout
24408 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24418 \begin_inset Index idx
24421 \begin_layout Plain Layout
24422 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24427 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
24430 \begin_layout Standard
24435 usepackage[figure]{hypcap}
24438 \begin_layout Standard
24439 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
24441 \begin_inset CommandInset citation
24450 \begin_layout Standard
24451 \begin_inset Note Greyedout
24454 \begin_layout Plain Layout
24459 は内部図への参照には効力がありません。
24467 \begin_layout Section
24469 \begin_inset CommandInset label
24476 \begin_inset Index idx
24479 \begin_layout Plain Layout
24488 \begin_layout Standard
24498 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
24499 \begin_inset Newline newline
24520 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
24521 \begin_inset Newline newline
24542 オプションは、フロートを回転するのに用います。第
24552 \begin_inset CommandInset ref
24554 reference "sec:回転フロート"
24570 \begin_layout Standard
24598 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
24601 \begin_layout Description
24611 フロートを挿入位置に配置することを試みます
24614 \begin_layout Description
24624 フロートを現在ページの上部に配置することを試みます
24627 \begin_layout Description
24637 フロートを現在ページの下部に配置することを試みます
24640 \begin_layout Description
24650 フロートを独立したページに配置することを試みます
24653 \begin_layout Standard
24658 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
24666 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
24667 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
24670 \begin_layout Standard
24671 既定では、各オプションはそれぞれ以下の規則を持っています。
24674 \begin_layout Labeling
24675 \labelwidthstring 00.00.0000
24680 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
24689 \begin_layout Labeling
24690 \labelwidthstring 00.00.0000
24695 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
24704 \begin_layout Labeling
24705 \labelwidthstring 00.00.0000
24710 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
24719 \begin_layout Standard
24724 オプションを追加することによって、これらを無視することができます。
24725 \begin_inset Newline newline
24728 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
24729 、ページの5割に変えるには、文書プリアンブルに
24732 \begin_layout Standard
24739 bottomfraction}{0.5}
24742 \begin_layout Standard
24746 \begin_layout Standard
24747 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
24751 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
24752 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
24756 \begin_layout Standard
24757 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
24760 \begin_layout Standard
24761 \begin_inset VSpace bigskip
24767 \begin_layout Standard
24768 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
24769 することがあります。この問題を避けるには、LaTeXコマンドの
24771 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
24772 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
24775 \begin_layout Standard
24785 \begin_inset Newline newline
24799 \begin_layout Standard
24800 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
24801 することがあるので、これらに対する定義はお勧めしません。
24804 \begin_layout Standard
24805 \begin_inset VSpace bigskip
24808 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
24813 \begin_inset Index idx
24816 \begin_layout Plain Layout
24817 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
24822 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
24823 \begin_inset Quotes eld
24829 \begin_inset space ~
24835 \begin_inset Quotes erd
24838 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
24841 \begin_layout Standard
24846 usepackage[options]{endfloat}
24849 \begin_layout Standard
24850 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
24855 \begin_inset CommandInset citation
24862 \begin_inset Newline newline
24866 \begin_inset Note Greyedout
24869 \begin_layout Plain Layout
24874 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
24875 \begin_inset CommandInset citation
24887 \begin_inset Newline newline
24891 \begin_inset Note Greyedout
24894 \begin_layout Plain Layout
24903 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
24917 \begin_layout Standard
24918 \begin_inset VSpace bigskip
24921 フロートの割付に関する詳細は、LaTeX関連書
24922 \begin_inset CommandInset citation
24924 key "latexcompanion,latexguide,latexbook"
24931 \begin_layout Section
24933 \begin_inset CommandInset label
24940 \begin_inset Index idx
24943 \begin_layout Plain Layout
24944 ふろーと@フロート ! かいてん@回転
24952 \begin_layout Standard
24953 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
24960 \begin_layout Standard
24961 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
24965 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
24966 たって回転方向を強制したい場合には、文書クラスオプションに
24977 \begin_layout Standard
24978 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
24979 \begin_inset CommandInset ref
24981 reference "tab:回転した表"
24988 \begin_layout Standard
24989 \begin_inset Note Greyedout
24992 \begin_layout Plain Layout
24997 すべてのDVIビューアが回転フロートを表示できるわけではありません。
25005 \begin_layout Standard
25006 \begin_inset Float table
25011 \begin_layout Plain Layout
25012 \begin_inset Caption
25014 \begin_layout Plain Layout
25015 \begin_inset CommandInset label
25029 \begin_layout Plain Layout
25031 \begin_inset Tabular
25032 <lyxtabular version="3" rows="1" columns="5">
25033 <features tabularvalignment="middle">
25034 <column alignment="center" valignment="top" width="0">
25035 <column alignment="center" valignment="top" width="0">
25036 <column alignment="center" valignment="top" width="0">
25037 <column alignment="center" valignment="top" width="0">
25038 <column alignment="center" valignment="top" width="0">
25040 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25043 \begin_layout Plain Layout
25049 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25052 \begin_layout Plain Layout
25058 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25061 \begin_layout Plain Layout
25067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25070 \begin_layout Plain Layout
25076 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25079 \begin_layout Plain Layout
25098 \begin_layout Section
25100 \begin_inset Index idx
25103 \begin_layout Plain Layout
25104 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
25112 \begin_layout Standard
25113 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
25114 \begin_inset CommandInset ref
25116 reference "tab:従属表を横に並べたもの"
25121 \begin_inset CommandInset ref
25123 reference "tab:従属表を縦に並べたもの"
25127 に示されているように段落と同様に指定することができます。
25130 \begin_layout Standard
25131 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
25132 \begin_inset CommandInset ref
25134 reference "tab:これは従属表a"
25139 \begin_inset CommandInset ref
25141 reference "tab:これは従属表b"
25146 \begin_inset CommandInset ref
25148 reference "tab:従属表を横に並べたもの"
25153 \begin_inset Float table
25158 \begin_layout Plain Layout
25159 \begin_inset Caption
25161 \begin_layout Plain Layout
25162 \begin_inset CommandInset label
25164 name "tab:従属表を横に並べたもの"
25176 \begin_layout Plain Layout
25177 \begin_inset space \hfill{}
25181 \begin_inset Float table
25186 \begin_layout Plain Layout
25187 \begin_inset Caption
25189 \begin_layout Plain Layout
25190 \begin_inset CommandInset label
25204 \begin_layout Plain Layout
25206 \begin_inset Tabular
25207 <lyxtabular version="3" rows="1" columns="5">
25208 <features tabularvalignment="middle">
25209 <column alignment="center" valignment="top" width="0">
25210 <column alignment="center" valignment="top" width="0">
25211 <column alignment="center" valignment="top" width="0">
25212 <column alignment="center" valignment="top" width="0">
25213 <column alignment="center" valignment="top" width="0">
25215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25218 \begin_layout Plain Layout
25224 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25227 \begin_layout Plain Layout
25233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25236 \begin_layout Plain Layout
25242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25245 \begin_layout Plain Layout
25251 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25254 \begin_layout Plain Layout
25271 \begin_inset space \hfill{}
25275 \begin_inset Float table
25280 \begin_layout Plain Layout
25281 \begin_inset Caption
25283 \begin_layout Plain Layout
25284 \begin_inset CommandInset label
25298 \begin_layout Plain Layout
25300 \begin_inset Tabular
25301 <lyxtabular version="3" rows="1" columns="5">
25302 <features tabularvalignment="middle">
25303 <column alignment="center" valignment="top" width="0">
25304 <column alignment="center" valignment="top" width="0">
25305 <column alignment="center" valignment="top" width="0">
25306 <column alignment="center" valignment="top" width="0">
25307 <column alignment="center" valignment="top" width="0">
25309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25312 \begin_layout Plain Layout
25318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25321 \begin_layout Plain Layout
25327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25330 \begin_layout Plain Layout
25336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25339 \begin_layout Plain Layout
25345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25348 \begin_layout Plain Layout
25365 \begin_inset space \hfill{}
25374 \begin_inset Float table
25379 \begin_layout Plain Layout
25380 \begin_inset Caption
25382 \begin_layout Plain Layout
25383 \begin_inset CommandInset label
25385 name "tab:従属表を縦に並べたもの"
25389 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
25397 \begin_layout Plain Layout
25398 \begin_inset Float table
25403 \begin_layout Plain Layout
25404 \begin_inset Caption
25406 \begin_layout Plain Layout
25415 \begin_layout Plain Layout
25417 \begin_inset Tabular
25418 <lyxtabular version="3" rows="1" columns="4">
25419 <features tabularvalignment="middle">
25420 <column alignment="center" valignment="top" width="0">
25421 <column alignment="center" valignment="top" width="0">
25422 <column alignment="center" valignment="top" width="0">
25423 <column alignment="center" valignment="top" width="0">
25425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25428 \begin_layout Plain Layout
25434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25437 \begin_layout Plain Layout
25443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25446 \begin_layout Plain Layout
25452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25455 \begin_layout Plain Layout
25474 \begin_layout Plain Layout
25475 \begin_inset Float table
25480 \begin_layout Plain Layout
25481 \begin_inset Caption
25483 \begin_layout Plain Layout
25492 \begin_layout Plain Layout
25494 \begin_inset Tabular
25495 <lyxtabular version="3" rows="1" columns="5">
25496 <features tabularvalignment="middle">
25497 <column alignment="center" valignment="top" width="0">
25498 <column alignment="center" valignment="top" width="0">
25499 <column alignment="center" valignment="top" width="0">
25500 <column alignment="center" valignment="top" width="0">
25501 <column alignment="center" valignment="top" width="0">
25503 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25506 \begin_layout Plain Layout
25512 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25515 \begin_layout Plain Layout
25521 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25524 \begin_layout Plain Layout
25530 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25533 \begin_layout Plain Layout
25539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25542 \begin_layout Plain Layout
25566 \begin_layout Section
25568 \begin_inset Index idx
25571 \begin_layout Plain Layout
25572 ふろーと@フロート ! よこならび@横並び
25580 \begin_layout Standard
25582 \begin_inset CommandInset ref
25584 reference "fig:左側のフロート"
25589 \begin_inset CommandInset ref
25591 reference "fig:右側のフロート"
25595 のようにフロートを横並びに配置するには、
25599 フロートのみを使用し、その中に二つのminipageボックスを挿入します
25603 \begin_layout Plain Layout
25605 \begin_inset CommandInset ref
25607 reference "sec:ミニページ"
25617 \begin_inset space \thinspace{}
25621 \begin_inset space \thinspace{}
25624 列幅%とし、各minipageのボックス配置を
25628 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
25632 がここではminipageボックスの幅によって計算されることです。
25635 \begin_layout Standard
25636 \begin_inset Float figure
25641 \begin_layout Plain Layout
25642 \begin_inset Box Frameless
25652 height_special "totalheight"
25655 \begin_layout Plain Layout
25657 \begin_inset Graphics
25658 filename ../clipart/mobius.eps
25661 scaleBeforeRotation
25668 \begin_layout Plain Layout
25669 \begin_inset Caption
25671 \begin_layout Plain Layout
25672 \begin_inset CommandInset label
25689 \begin_inset space \hfill{}
25693 \begin_inset Box Frameless
25703 height_special "totalheight"
25706 \begin_layout Plain Layout
25708 \begin_inset Graphics
25709 filename ../clipart/platypus.eps
25712 scaleBeforeRotation
25719 \begin_layout Plain Layout
25720 \begin_inset Caption
25722 \begin_layout Plain Layout
25723 \begin_inset CommandInset label
25742 \begin_layout Plain Layout
25751 \begin_layout Section
25753 \begin_inset Index idx
25756 \begin_layout Plain Layout
25757 きゃぷしょん@キャプション ! しょしきせってい@書式設定
25763 \begin_inset Index idx
25766 \begin_layout Plain Layout
25767 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
25773 \begin_inset CommandInset label
25775 name "sec:キャプションの書式設定"
25782 \begin_layout Standard
25791 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
25795 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
25799 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
25800 。このキャプション書式は、すべての文書書式に適しているわけではありません。
25803 \begin_layout Standard
25804 既定のキャプション書式を変更するには、文書プリアンブルに
25807 \begin_layout Standard
25812 usepackage[format definition]{caption}
25815 \begin_layout Standard
25816 という行を加えて、LaTeXパッケージ
25821 \begin_inset Index idx
25824 \begin_layout Plain Layout
25825 LaTeXぱっけーじ@LaTeXパッケージ ! caption
25830 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
25833 \begin_layout Standard
25838 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
25841 \begin_layout Standard
25842 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
25846 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
25849 \begin_layout Standard
25854 captionsetup[フロート型]{書式定義}
25857 \begin_layout Standard
25858 というコマンドを使用して、個別の書式を指定してください。たとえば、図
25859 \begin_inset CommandInset ref
25861 reference "fig:図キャプション"
25866 \begin_inset CommandInset ref
25868 reference "tab:表キャプション"
25872 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
25875 \begin_layout Standard
25880 usepackage[tableposition=top]{caption}
25883 \begin_inset Newline newline
25890 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
25891 \begin_inset Newline newline
25895 \begin_inset Phantom HPhantom
25898 \begin_layout Plain Layout
25901 captionsetup[figure]{
25907 \begin_inset Newline newline
25912 captionsetup[table]{labelfont={bf,sf}}
25915 \begin_layout Standard
25916 \begin_inset Note Greyedout
25919 \begin_layout Plain Layout
25933 \begin_inset Index idx
25936 \begin_layout Plain Layout
25937 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25942 が使われているときには、無効になります。この場合には、文書クラスオプション
25944 captions=tableheading
25954 \begin_layout Standard
25959 パッケージについての詳細は、その取扱説明書
25960 \begin_inset CommandInset citation
25969 \begin_layout Standard
25970 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
25973 \begin_layout Standard
25985 \begin_layout Standard
25999 \begin_layout Standard
26000 \begin_inset VSpace bigskip
26008 \begin_inset Index idx
26011 \begin_layout Plain Layout
26012 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
26019 article (KOMA-script)
26027 letter (KOMA-script)
26031 report (KOMA-script)
26045 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
26048 \begin_layout Standard
26053 setkomafont{captionlabel}{
26058 \begin_layout Standard
26070 \begin_inset CommandInset citation
26079 \begin_layout Standard
26083 \begin_layout Plain Layout
26087 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
26094 \begin_inset Note Note
26097 \begin_layout Plain Layout
26098 キャプション書式は、この例のみ変更してあります。
26106 \begin_layout Standard
26107 \begin_inset Float figure
26113 \begin_layout Plain Layout
26115 \begin_inset Graphics
26116 filename ../clipart/mobius.eps
26119 scaleBeforeRotation
26126 \begin_layout Plain Layout
26127 \begin_inset Caption
26129 \begin_layout Plain Layout
26130 \begin_inset CommandInset label
26136 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
26149 \begin_layout Standard
26153 \begin_layout Plain Layout
26157 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
26166 \begin_layout Standard
26167 \begin_inset Float table
26173 \begin_layout Plain Layout
26174 \begin_inset Caption
26176 \begin_layout Plain Layout
26177 \begin_inset CommandInset label
26183 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
26191 \begin_layout Plain Layout
26193 \begin_inset Tabular
26194 <lyxtabular version="3" rows="1" columns="5">
26195 <features tabularvalignment="middle">
26196 <column alignment="center" valignment="top" width="0">
26197 <column alignment="center" valignment="top" width="0">
26198 <column alignment="center" valignment="top" width="0">
26199 <column alignment="center" valignment="top" width="0">
26200 <column alignment="center" valignment="top" width="0">
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" usebox="none">
26232 \begin_layout Plain Layout
26238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26241 \begin_layout Plain Layout
26260 \begin_layout Section
26262 \begin_inset Index idx
26265 \begin_layout Plain Layout
26266 きゃぷしょん@キャプション ! はいち@配置
26272 \begin_inset Index idx
26275 \begin_layout Plain Layout
26276 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
26282 \begin_inset CommandInset label
26284 name "sec:キャプションの配置"
26291 \begin_layout Standard
26295 \begin_layout Description
26296 図の場合: キャプションを図の下に置く
26299 \begin_layout Description
26300 表の場合: キャプションを表の上に置く
26303 \begin_layout Standard
26304 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
26320 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
26328 \begin_layout Standard
26334 \begin_layout Standard
26339 \begin_layout Plain Layout
26345 \begin_inset CommandInset ref
26347 reference "sec:キャプションの書式設定"
26361 \begin_inset Index idx
26364 \begin_layout Plain Layout
26365 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
26372 article (KOMA-script)
26380 letter (KOMA-script)
26384 report (KOMA-script)
26387 \begin_inset space \thinspace{}
26394 パッケージにオプションを与える代わりに、文書クラスオプション
26396 captions=tableheading
26401 \begin_layout Standard
26402 \begin_inset VSpace bigskip
26405 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
26408 \begin_layout Standard
26413 usepackage[option]{sidecap}
26416 \begin_layout Standard
26417 という行を入れて、LaTeXパッケージ
26422 \begin_inset Index idx
26425 \begin_layout Plain Layout
26426 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
26431 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
26435 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
26446 \begin_layout Standard
26450 \begin_layout Plain Layout
26460 \begin_inset Note Note
26463 \begin_layout Plain Layout
26468 が導入されているときのみ表示されます。
26476 \begin_layout Standard
26477 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
26480 \begin_layout Standard
26482 \begin_inset CommandInset line
26493 \begin_layout Standard
26500 TabBesBeg}[1][1.0]{%
26501 \begin_inset Newline newline
26505 \begin_inset Phantom HPhantom
26508 \begin_layout Plain Layout
26509 \begin_inset space ~
26524 \begin_inset Newline newline
26528 \begin_inset Phantom HPhantom
26531 \begin_layout Plain Layout
26534 \begin_inset space ~
26549 \begin_inset Newline newline
26553 \begin_inset Phantom HPhantom
26556 \begin_layout Plain Layout
26559 \begin_inset space ~
26569 renewenvironment{table}[1]{
26571 begin{SCtable}[#1]##1}{
26576 \begin_layout Standard
26584 \begin_inset Newline newline
26588 \begin_inset Phantom HPhantom
26591 \begin_layout Plain Layout
26592 \begin_inset space ~
26607 \begin_inset Newline newline
26611 \begin_inset Phantom HPhantom
26614 \begin_layout Plain Layout
26615 \begin_inset space ~
26632 \begin_layout Standard
26639 FigBesBeg}[1][1.0]{%
26640 \begin_inset Newline newline
26644 \begin_inset Phantom HPhantom
26647 \begin_layout Plain Layout
26648 \begin_inset space ~
26663 \begin_inset Newline newline
26667 \begin_inset Phantom HPhantom
26670 \begin_layout Plain Layout
26671 \begin_inset space ~
26686 \begin_inset Newline newline
26690 \begin_inset Phantom HPhantom
26693 \begin_layout Plain Layout
26694 \begin_inset space ~
26704 renewenvironment{figure}[1]{
26706 begin{SCfigure}[#1]##1}{
26711 \begin_layout Standard
26719 \begin_inset Newline newline
26723 \begin_inset Phantom HPhantom
26726 \begin_layout Plain Layout
26727 \begin_inset space ~
26742 \begin_inset Newline newline
26746 \begin_inset Phantom HPhantom
26749 \begin_layout Plain Layout
26750 \begin_inset space ~
26767 \begin_layout Standard
26769 \begin_inset CommandInset line
26780 \begin_layout Standard
26781 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
26784 \begin_layout Standard
26792 \begin_layout Standard
26793 というコマンドを、フロートの前にTeXコードで入れてください。
26795 And insert the command
26798 \begin_layout Standard
26806 \begin_layout Standard
26809 in TeX-Code at the point where you want to get back to the original float
26813 \begin_layout Standard
26814 表フロートに対しては、対応するコマンド
26817 \begin_layout Standard
26831 \begin_layout Standard
26833 \begin_inset CommandInset ref
26835 reference "fig:図横キャプション"
26840 \begin_inset CommandInset ref
26842 reference "tab:表横キャプション"
26849 \begin_layout Standard
26850 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
26851 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
26854 \begin_layout Standard
26859 sidecaptionvpos{フロート型}{配置}
26862 \begin_layout Standard
26863 というコマンドを使用します。ここで「フロート型」は
26871 であり、「配置」は、上揃えの場合はtopの
26874 \begin_layout Standard
26887 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
26890 \begin_layout Standard
26895 sidecaptionvpos{figure}{c}
26898 \begin_layout Standard
26899 というコマンドを使用します。これは、図
26900 \begin_inset CommandInset ref
26902 reference "fig:図横キャプション-2"
26909 \begin_layout Standard
26910 \begin_inset VSpace medskip
26916 \begin_layout Standard
26919 The default caption width is the width of the image/table.
26920 For thin image/tables, like in Table
26923 \begin_inset space ~
26927 \begin_inset CommandInset ref
26929 reference "tab:表横キャプション"
26935 this leads to captions that are too thin.
26936 You can increase the width by specifying a factor that will be multiplied
26937 with the image/table width to get the caption width.
26938 The caption width will automatically be recalculated in case it would protrude
26939 over the page or column margin due to the specified width.
26944 can either be given as optional argument for
26953 \begin_layout Standard
26962 \begin_layout Standard
26965 or in the definition of
26975 with another value.
26976 If you do the latter, your factor will be the default if
26982 is used without an argument.
26986 \begin_inset space ~
26990 \begin_inset CommandInset ref
26992 reference "tab:cap-beside-tab-wider"
26998 the factor 5 was used.
27001 \begin_layout Standard
27004 \begin_inset Note Greyedout
27007 \begin_layout Plain Layout
27013 For floats with captions set beside, you cannot use the float placement
27017 \begin_inset space ~
27022 because it is not supported by
27034 \begin_layout Standard
27035 \begin_inset VSpace medskip
27043 \begin_inset CommandInset citation
27052 \begin_layout Standard
27053 \begin_inset Note Greyedout
27056 \begin_layout Plain Layout
27062 \begin_inset CommandInset ref
27064 reference "sub:参照位置"
27073 \begin_inset Index idx
27076 \begin_layout Plain Layout
27077 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
27082 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
27090 \begin_layout Standard
27094 \begin_layout Plain Layout
27106 \begin_layout Standard
27107 \begin_inset Float figure
27112 \begin_layout Plain Layout
27113 \begin_inset Graphics
27114 filename ../clipart/escher-lsd.eps
27116 scaleBeforeRotation
27123 \begin_layout Plain Layout
27124 \begin_inset Caption
27126 \begin_layout Plain Layout
27127 \begin_inset CommandInset label
27129 name "fig:図横キャプション"
27146 \begin_layout Standard
27150 \begin_layout Plain Layout
27162 \begin_layout Standard
27166 \begin_layout Plain Layout
27178 \begin_layout Standard
27179 \begin_inset Float table
27184 \begin_layout Plain Layout
27185 \begin_inset Caption
27187 \begin_layout Plain Layout
27188 \begin_inset CommandInset label
27190 name "tab:表横キャプション"
27202 \begin_layout Plain Layout
27203 \begin_inset Tabular
27204 <lyxtabular version="3" rows="4" columns="5">
27205 <features tabularvalignment="middle">
27206 <column alignment="center" valignment="top" width="0">
27207 <column alignment="center" valignment="top" width="0">
27208 <column alignment="center" valignment="top" width="0">
27209 <column alignment="center" valignment="top" width="0">
27210 <column alignment="center" valignment="top" width="0">
27212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27215 \begin_layout Plain Layout
27221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27224 \begin_layout Plain Layout
27230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27233 \begin_layout Plain Layout
27239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27242 \begin_layout Plain Layout
27248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27251 \begin_layout Plain Layout
27259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27262 \begin_layout Plain Layout
27268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27271 \begin_layout Plain Layout
27277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27280 \begin_layout Plain Layout
27286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27289 \begin_layout Plain Layout
27295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27298 \begin_layout Plain Layout
27306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27309 \begin_layout Plain Layout
27315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27318 \begin_layout Plain Layout
27324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27327 \begin_layout Plain Layout
27333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27336 \begin_layout Plain Layout
27342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27345 \begin_layout Plain Layout
27353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27356 \begin_layout Plain Layout
27362 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27365 \begin_layout Plain Layout
27371 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27374 \begin_layout Plain Layout
27380 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27383 \begin_layout Plain Layout
27389 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27392 \begin_layout Plain Layout
27411 \begin_layout Standard
27415 \begin_layout Plain Layout
27427 \begin_layout Standard
27431 \begin_layout Plain Layout
27435 sidecaptionvpos{figure}{c}
27441 \begin_inset Float figure
27446 \begin_layout Plain Layout
27447 \begin_inset Graphics
27448 filename ../clipart/escher-lsd.eps
27450 scaleBeforeRotation
27457 \begin_layout Plain Layout
27458 \begin_inset Caption
27460 \begin_layout Plain Layout
27461 \begin_inset CommandInset label
27463 name "fig:図横キャプション-2"
27467 これは図の横にある縦方向中央揃えのキャプションです。
27480 \begin_layout Standard
27484 \begin_layout Plain Layout
27496 \begin_layout Standard
27500 \begin_layout Plain Layout
27512 \begin_layout Standard
27513 \begin_inset Float table
27518 \begin_layout Plain Layout
27519 \begin_inset Caption
27521 \begin_layout Plain Layout
27524 \begin_inset CommandInset label
27526 name "tab:cap-beside-tab-wider"
27530 This is a caption is wider than the one in Table
27533 \begin_inset space ~
27537 \begin_inset CommandInset ref
27539 reference "tab:表横キャプション"
27551 \begin_layout Plain Layout
27552 \begin_inset Tabular
27553 <lyxtabular version="3" rows="4" columns="5">
27554 <features tabularvalignment="middle">
27555 <column alignment="center" valignment="top" width="0">
27556 <column alignment="center" valignment="top" width="0">
27557 <column alignment="center" valignment="top" width="0">
27558 <column alignment="center" valignment="top" width="0">
27559 <column alignment="center" valignment="top" width="0">
27561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27564 \begin_layout Plain Layout
27570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27573 \begin_layout Plain Layout
27579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27582 \begin_layout Plain Layout
27588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27591 \begin_layout Plain Layout
27597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27600 \begin_layout Plain Layout
27608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27611 \begin_layout Plain Layout
27617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27620 \begin_layout Plain Layout
27626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27629 \begin_layout Plain Layout
27635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27638 \begin_layout Plain Layout
27644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27647 \begin_layout Plain Layout
27655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27658 \begin_layout Plain Layout
27664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27667 \begin_layout Plain Layout
27673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27676 \begin_layout Plain Layout
27682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27685 \begin_layout Plain Layout
27691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27694 \begin_layout Plain Layout
27702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27705 \begin_layout Plain Layout
27711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27714 \begin_layout Plain Layout
27720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27723 \begin_layout Plain Layout
27729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27732 \begin_layout Plain Layout
27738 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27741 \begin_layout Plain Layout
27760 \begin_layout Standard
27764 \begin_layout Plain Layout
27776 \begin_layout Standard
27780 \begin_layout Plain Layout
27790 \begin_inset Note Note
27793 \begin_layout Plain Layout
27798 が導入されていないときのみ表示されます。
27806 \begin_layout Standard
27807 本節の残りの部分を出力で表示するには、LaTeXパッケージ
27814 \begin_layout Standard
27818 \begin_layout Plain Layout
27830 \begin_layout Section
27832 \begin_inset Index idx
27835 \begin_layout Plain Layout
27836 ふろーと@フロート ! ふろーといちらん@フロート一覧
27844 \begin_layout Standard
27845 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
27847 挿入\SpecialChar \menuseparator
27853 \begin_layout Standard
27854 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
27857 \begin_layout Standard
27858 本文書の終わりに、図一覧と表一覧があります。
27861 \begin_layout Chapter
27865 \begin_layout Section
27867 \begin_inset Index idx
27870 \begin_layout Plain Layout
27871 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
27879 \begin_layout Standard
27888 挿入\SpecialChar \menuseparator
27891 メニューで挿入することができます。注釈には、以下の三つの型があります。
27894 \begin_layout Description
27895 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
27896 \begin_inset Newline newline
27900 \begin_inset Newline newline
27904 \begin_inset Graphics
27905 filename ../clipart/LyXNoteImageQt4.png
27908 scaleBeforeRotation
27913 \begin_inset Note Note
27916 \begin_layout Plain Layout
27917 これは、出力には現れない注釈ボックスに書かれた文章です。
27925 \begin_layout Description
27926 コメント この注釈も出力には現れませんが、
27928 ファイル\SpecialChar \menuseparator
27929 書き出し\SpecialChar \menuseparator
27930 LaTeX (pdflatex) / (平文)
27932 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
27933 \begin_inset Newline newline
27937 \begin_inset Newline newline
27941 \begin_inset Graphics
27942 filename ../clipart/CommentNoteImageQt4.png
27945 scaleBeforeRotation
27950 \begin_inset Note Comment
27953 \begin_layout Plain Layout
27954 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
27962 \begin_layout Description
27963 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
27964 \begin_inset Newline newline
27968 \begin_inset Newline newline
27972 \begin_inset Graphics
27973 filename ../clipart/GreyedOutNoteImageQt4.png
27976 scaleBeforeRotation
27981 \begin_inset Newline newline
27988 \begin_layout Plain Layout
27992 renewenvironment{lyxgreyedout}
27995 \begin_layout Plain Layout
27999 textcolor[gray]{0.8}
28009 \begin_inset Note Greyedout
28012 \begin_layout Plain Layout
28013 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
28017 \begin_layout Plain Layout
28018 これは、淡色表示注釈内に脚注を用いた例です。
28032 \begin_layout Plain Layout
28036 renewenvironment{lyxgreyedout}
28039 \begin_layout Plain Layout
28053 \begin_inset Note Note
28056 \begin_layout Plain Layout
28057 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
28064 \begin_inset Newline newline
28068 \begin_inset Newline newline
28071 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
28074 \begin_layout Standard
28075 \begin_inset VSpace bigskip
28088 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
28089 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
28093 \begin_layout Standard
28094 \begin_inset VSpace bigskip
28099 You can change the text color of the greyed out notes in the menu
28101 Document\SpecialChar \menuseparator
28102 Settings\SpecialChar \menuseparator
28108 \begin_layout Section
28110 \begin_inset CommandInset label
28117 \begin_inset Index idx
28120 \begin_layout Plain Layout
28121 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
28127 \begin_inset Index idx
28130 \begin_layout Plain Layout
28139 \begin_layout Standard
28143 arg "footnote-insert"
28148 挿入\SpecialChar \menuseparator
28151 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
28152 \begin_inset Graphics
28153 filename clipart/footnoteQt4.png
28155 scaleBeforeRotation
28159 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
28160 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
28163 \begin_layout Standard
28168 \begin_layout Plain Layout
28169 \begin_inset CommandInset label
28184 \begin_layout Plain Layout
28188 newcounter{MyRepeatFoot}
28191 \begin_layout Plain Layout
28195 setcounter{MyRepeatFoot}{
28205 \begin_layout Standard
28206 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
28207 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
28210 \begin_layout Standard
28211 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
28212 \begin_inset CommandInset ref
28214 reference "sec:フロートの参照"
28218 節に説明されているようにして、本文中でこのラベルを相互参照してください。
28219 \begin_inset Newline newline
28223 \begin_inset CommandInset ref
28225 reference "fn:これは脚注の一例"
28232 \begin_layout Standard
28233 \begin_inset VSpace defskip
28239 \begin_layout Standard
28240 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
28246 コマンドを入れてください。脚注の本文は、表の後でTeXコード
28253 \begin_inset Newline newline
28257 \begin_inset Newline newline
28271 \begin_inset Newline newline
28277 \begin_layout Standard
28278 \begin_inset Tabular
28279 <lyxtabular version="3" rows="2" columns="1">
28280 <features tabularvalignment="middle">
28281 <column alignment="center" valignment="top" width="0">
28283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28286 \begin_layout Plain Layout
28291 \begin_layout Plain Layout
28304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28307 \begin_layout Plain Layout
28312 \begin_layout Plain Layout
28335 \begin_layout Plain Layout
28348 \begin_layout Plain Layout
28358 \begin_layout Standard
28360 \begin_inset CommandInset ref
28362 reference "sub:長尺表での脚注"
28369 \begin_layout Standard
28370 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
28371 \begin_inset CommandInset ref
28373 reference "sec:ミニページ"
28377 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
28392 \begin_layout Standard
28393 \begin_inset Box Frameless
28403 height_special "totalheight"
28406 \begin_layout Plain Layout
28411 \begin_layout Plain Layout
28420 \begin_layout Plain Layout
28425 \begin_layout Plain Layout
28442 \begin_layout Standard
28446 \begin_layout Plain Layout
28459 \begin_layout Plain Layout
28467 \begin_inset VSpace defskip
28473 \begin_layout Standard
28474 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
28481 \begin_inset Newline newline
28484 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
28485 \begin_inset CommandInset ref
28487 reference "fn:これは脚注の一例"
28494 \begin_layout Standard
28499 newcounter{MyRepeatFoot}
28500 \begin_inset Newline newline
28505 setcounter{MyRepeatFoot}{
28510 \begin_layout Standard
28511 というコマンドを挿入しています。そして脚注マークは、
28514 \begin_layout Standard
28524 \begin_layout Standard
28528 \begin_layout Standard
28533 \begin_layout Plain Layout
28547 \begin_layout Standard
28548 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
28551 \begin_layout Standard
28561 \begin_layout Standard
28565 \begin_layout Standard
28570 \begin_layout Plain Layout
28584 \begin_layout Subsection
28586 \begin_inset CommandInset label
28593 \begin_inset Index idx
28596 \begin_layout Plain Layout
28605 \begin_layout Standard
28606 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
28609 \begin_layout Standard
28614 @addtoreset{footnote}{section}
28617 \begin_layout Standard
28621 \begin_layout Standard
28622 \begin_inset VSpace bigskip
28625 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
28628 \begin_layout Standard
28640 \begin_layout Standard
28644 \begin_layout Plain Layout
28661 \begin_layout Plain Layout
28662 これは、ローマ数字を使った脚注の例です。
28670 \begin_layout Standard
28671 付番様式を大文字ローマ数字に変更するには、上記コマンドの
28683 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
28695 を使用してください。記号を使って付「番」するには、
28704 \begin_layout Standard
28705 \begin_inset Note Greyedout
28708 \begin_layout Plain Layout
28713 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
28719 \begin_inset Newline newline
28723 \begin_inset Note Greyedout
28726 \begin_layout Plain Layout
28731 記号を使うと9個の脚注しか番号を振ることができません。
28739 \begin_layout Standard
28740 付番様式を変更した後、既定様式に戻すには、上記コマンドの
28756 \begin_layout Plain Layout
28772 \begin_layout Standard
28773 \begin_inset VSpace bigskip
28779 \begin_layout Standard
28780 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
28783 \begin_layout Standard
28788 numberwithin{footnote}{chapter}
28791 \begin_layout Standard
28798 コマンドを使用できるようにするためには、文書設定の
28805 \begin_inset space ~
28813 \begin_layout Standard
28817 \begin_layout Plain Layout
28821 numberwithin{footnote}{chapter}
28832 \begin_layout Plain Layout
28837 「章番号.脚注番号」スキームで番号を振られた脚注です。
28848 \begin_layout Plain Layout
28864 \begin_layout Standard
28865 \begin_inset Note Greyedout
28868 \begin_layout Plain Layout
28875 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
28883 \begin_layout Standard
28886 Roman{footnote}」スキームを得るには、
28892 の代わりに以下のコマンドを使用してください。
28895 \begin_layout Standard
28909 \begin_layout Subsection
28911 \begin_inset Index idx
28914 \begin_layout Plain Layout
28923 \begin_layout Standard
28924 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
28926 \begin_inset space \thinspace{}
28932 \begin_layout Standard
28942 \begin_inset Newline newline
28956 \begin_layout Standard
28957 \begin_inset VSpace bigskip
28960 二段組文書では、脚注は各段底部に表示されます(図
28961 \begin_inset CommandInset ref
28963 reference "fig:標準的脚注配置"
28968 \begin_inset CommandInset ref
28970 reference "fig:ftnright脚注配置"
28974 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
28977 \begin_layout Standard
28982 usepackage{ftnright}
28985 \begin_layout Standard
28986 というコマンドを書いて、LaTeXパッケージ
28991 \begin_inset Index idx
28994 \begin_layout Plain Layout
28995 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
29001 \begin_inset Float figure
29007 \begin_layout Plain Layout
29011 \begin_layout Plain Layout
29021 \begin_inset Graphics
29022 filename ../clipart/without_fntright.pdf
29024 scaleBeforeRotation
29032 \begin_layout Plain Layout
29042 \begin_layout Plain Layout
29043 \begin_inset Caption
29045 \begin_layout Plain Layout
29046 \begin_inset CommandInset label
29065 \begin_layout Standard
29066 \begin_inset Float figure
29072 \begin_layout Plain Layout
29076 \begin_layout Plain Layout
29086 \begin_inset Graphics
29087 filename ../clipart/with_fntright.pdf
29089 scaleBeforeRotation
29097 \begin_layout Plain Layout
29107 \begin_layout Plain Layout
29108 \begin_inset Caption
29110 \begin_layout Plain Layout
29111 \begin_inset CommandInset label
29113 name "fig:ftnright脚注配置"
29134 \begin_layout Standard
29135 \begin_inset VSpace bigskip
29139 \begin_inset CommandInset ref
29145 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
29146 \begin_inset Index idx
29149 \begin_layout Plain Layout
29155 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
29157 文書\SpecialChar \menuseparator
29158 設定\SpecialChar \menuseparator
29165 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
29168 \begin_layout Standard
29176 \begin_layout Standard
29180 \begin_layout Standard
29181 \begin_inset Float figure
29186 \begin_layout Plain Layout
29191 \begin_layout Plain Layout
29201 \begin_inset Graphics
29202 filename ../clipart/endnotes.pdf
29203 scaleBeforeRotation
29211 \begin_layout Plain Layout
29221 \begin_layout Plain Layout
29222 \begin_inset Caption
29224 \begin_layout Plain Layout
29225 \begin_inset CommandInset label
29231 後注 – 注を節ないし章末に別段落として印字します。
29244 \begin_layout Standard
29245 \begin_inset VSpace medskip
29248 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
29251 \begin_layout Standard
29258 notesname}{Anmerkungen}
29261 \begin_layout Standard
29262 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
29265 \begin_layout Standard
29266 \begin_inset VSpace medskip
29270 \begin_inset CommandInset ref
29272 reference "sub:脚注の付番"
29276 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
29288 を用いてください。後注番号をリセットするには、第
29289 \begin_inset CommandInset ref
29291 reference "sub:脚注の付番"
29312 \begin_layout Standard
29314 \begin_inset CommandInset ref
29335 \begin_layout Standard
29336 \begin_inset VSpace bigskip
29339 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
29344 \begin_inset Index idx
29347 \begin_layout Plain Layout
29348 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
29354 \begin_inset CommandInset citation
29363 \begin_layout Standard
29364 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
29365 \begin_inset CommandInset citation
29367 key "latexcompanion,latexguide,latexbook"
29380 \begin_inset Index idx
29383 \begin_layout Plain Layout
29384 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
29391 document class, you can adjust all footnote settings using class-specific
29395 \begin_inset CommandInset citation
29404 \begin_layout Section
29406 \begin_inset Index idx
29409 \begin_layout Plain Layout
29410 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
29418 \begin_layout Standard
29419 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
29421 挿入\SpecialChar \menuseparator
29427 arg "marginalnote-insert"
29430 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
29433 \begin_layout Standard
29435 \begin_inset Marginal
29438 \begin_layout Plain Layout
29447 \begin_layout Standard
29448 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
29449 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
29452 \begin_layout Standard
29453 \begin_inset VSpace bigskip
29456 傍注を内側余白に置くには、傍注の前にTeXコードで
29459 \begin_layout Standard
29467 \begin_layout Standard
29468 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
29472 \begin_layout Plain Layout
29482 \begin_inset Marginal
29485 \begin_layout Plain Layout
29494 \begin_inset Newline newline
29500 \begin_inset Note Greyedout
29503 \begin_layout Plain Layout
29504 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
29512 \begin_layout Standard
29516 \begin_layout Standard
29524 \begin_layout Standard
29529 \begin_layout Plain Layout
29539 \begin_inset Note Greyedout
29542 \begin_layout Plain Layout
29549 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
29557 \begin_layout Standard
29558 \begin_inset VSpace bigskip
29562 \begin_inset Marginal
29565 \begin_layout Plain Layout
29566 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
29572 \begin_inset CommandInset ref
29574 reference "sub:複数行"
29578 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
29579 \begin_inset space \thinspace{}
29583 \begin_inset Marginal
29586 \begin_layout Plain Layout
29587 \begin_inset space \hspace*{}
29591 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
29599 \begin_layout Standard
29600 \begin_inset VSpace bigskip
29606 \begin_layout Standard
29607 \begin_inset Note Greyedout
29610 \begin_layout Plain Layout
29615 通常、傍注は表やフロート、脚注の中では使用することができません。
29623 \begin_layout Standard
29624 \begin_inset VSpace bigskip
29630 \begin_layout Standard
29634 \begin_layout Plain Layout
29644 \begin_inset Note Note
29647 \begin_layout Plain Layout
29652 が導入されているときのみ表示されます。
29660 \begin_layout Standard
29666 \begin_inset Index idx
29669 \begin_layout Plain Layout
29670 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
29675 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
29679 パッケージが提供するコマンドを使うようになります。
29682 \begin_layout Standard
29687 usepackage{marginnote}
29688 \begin_inset Newline newline
29700 \begin_layout Standard
29705 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
29709 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
29710 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
29713 \begin_layout Standard
29719 \begin_layout Standard
29720 という形で書くことで設定することができます。ここで「オフセット」には、表
29721 \begin_inset CommandInset ref
29727 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
29732 \begin_inset space \thinspace{}
29736 \begin_inset Marginal
29739 \begin_layout Plain Layout
29741 \begin_inset space \thinspace{}
29753 \begin_layout Plain Layout
29763 \begin_layout Standard
29764 \begin_inset VSpace medskip
29771 を使うと、傍注の揃えを変更することもできます。たとえば、
29774 \begin_layout Standard
29781 raggedleftmarginnote}{
29784 \begin_inset Newline newline
29791 raggedrightmarginnote}{
29796 \begin_layout Standard
29797 というコマンドを使うと、中央揃えになります。
29801 raggedleftmarginnote
29803 とは、左側に表示されている傍注のことを指します
29807 \begin_layout Plain Layout
29813 raggedleftmarginnote}{
29818 \begin_layout Plain Layout
29824 raggedrightmarginnote}{
29832 \begin_inset Marginal
29835 \begin_layout Plain Layout
29836 この傍注の文章は中央揃えになっています。
29844 \begin_layout Standard
29851 raggedleftmarginnote}{
29854 \begin_inset Newline newline
29861 raggedrightmarginnote}{
29869 \begin_layout Plain Layout
29875 raggedleftmarginnote}{
29880 \begin_layout Plain Layout
29886 raggedrightmarginnote}{
29896 \begin_layout Standard
29900 \begin_layout Standard
29901 \begin_inset VSpace medskip
29909 \begin_inset CommandInset citation
29918 \begin_layout Standard
29919 \begin_inset VSpace bigskip
29922 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
29930 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
29933 \begin_layout Standard
29943 \begin_inset Newline newline
29953 \begin_inset Newline newline
29957 \begin_inset Phantom HPhantom
29960 \begin_layout Plain Layout
29963 \begin_inset space ~
29980 \begin_inset Newline newline
29984 \begin_inset Phantom HPhantom
29987 \begin_layout Plain Layout
29990 \begin_inset space ~
30007 \begin_layout Standard
30011 \begin_layout Plain Layout
30022 \begin_layout Plain Layout
30033 \begin_layout Plain Layout
30044 \begin_layout Plain Layout
30058 \begin_inset Marginal
30061 \begin_layout Plain Layout
30062 これは、定義したヘッダをつけた傍注です。
30071 \begin_layout Plain Layout
30082 \begin_layout Plain Layout
30096 \begin_inset Note Note
30099 \begin_layout Plain Layout
30100 傍注書式は、この例の分だけ変更してあります。
30108 \begin_layout Standard
30112 \begin_layout Plain Layout
30122 \begin_inset Note Note
30125 \begin_layout Plain Layout
30130 が導入されていないときのみ表示されます。
30138 \begin_layout Standard
30139 本節の以下の部分を出力に表示するには、LaTeXパッケージ
30146 \begin_layout Standard
30150 \begin_layout Plain Layout
30162 \begin_layout Chapter
30166 \begin_layout Section
30168 \begin_inset Index idx
30171 \begin_layout Plain Layout
30180 \begin_layout Standard
30181 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
30182 \begin_inset CommandInset ref
30184 reference "sec:ミニページ"
30189 \begin_inset CommandInset ref
30195 節参照)、単語がハイフネートされるのを予防したり(第
30196 \begin_inset CommandInset ref
30198 reference "sec:ハイフネーションの回避"
30203 \begin_inset CommandInset ref
30205 reference "sub:垂直揃え"
30209 節参照)、あるいは文章の背景色を設定したり(第
30210 \begin_inset CommandInset ref
30212 reference "sec:色付きボックス"
30219 \begin_layout Standard
30222 挿入\SpecialChar \menuseparator
30228 arg "box-insert Frameless"
30231 を使って挿入することができます。すると、
30232 \begin_inset Graphics
30233 filename ../clipart/BoxInsetDefaultQt4.png
30235 scaleBeforeRotation
30243 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
30247 メニューを選択すると現れるボックスダイアログでは、
30263 型は、新規ボックスの既定値となっており、第
30264 \begin_inset CommandInset ref
30266 reference "sec:ミニページ"
30275 \begin_inset CommandInset ref
30277 reference "sec:Parbox"
30286 \begin_inset CommandInset ref
30288 reference "sec:ハイフネーションの回避"
30295 \begin_layout Standard
30296 ボックスは付番されないので、フロートや脚注のように参照することはできません。
30299 \begin_layout Standard
30300 \begin_inset Note Greyedout
30303 \begin_layout Plain Layout
30312 環境の単独要素とすべきではありません。
30320 \begin_layout Standard
30321 \begin_inset Note Greyedout
30324 \begin_layout Plain Layout
30325 【註】理由は不明ですが、枠付きボックスを使用している場合には、
30338 \begin_inset CommandInset ref
30340 reference "sec:ハイフネーションの回避"
30352 \begin_layout Section
30354 \begin_inset CommandInset label
30356 name "sec:ボックスダイアログ"
30361 \begin_inset Index idx
30364 \begin_layout Plain Layout
30365 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
30373 \begin_layout Subsection
30375 \begin_inset Index idx
30378 \begin_layout Plain Layout
30379 ぼっくす@ボックス ! すんぽう@寸法
30387 \begin_layout Standard
30396 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
30397 \begin_inset CommandInset ref
30407 フィールドには、加えて以下の寸法を使用することができます。
30410 \begin_layout Description
30411 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
30412 \begin_inset Newline newline
30416 \begin_inset Newline newline
30420 \begin_inset Newline newline
30424 \begin_inset Box Boxed
30434 height_special "depth"
30437 \begin_layout Plain Layout
30445 \begin_inset Newline newline
30449 \begin_inset Newline newline
30455 \begin_layout Description
30456 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
30457 \begin_inset Box Boxed
30467 height_special "height"
30470 \begin_layout Plain Layout
30480 \begin_layout Description
30482 \begin_inset Box Boxed
30492 height_special "totalheight"
30495 \begin_layout Plain Layout
30505 \begin_layout Description
30506 幅 これはボックスの幅を高さに設定します。
30507 \begin_inset Box Boxed
30517 height_special "width"
30520 \begin_layout Plain Layout
30530 \begin_layout Subsection
30532 \begin_inset Index idx
30535 \begin_layout Plain Layout
30536 ぼっくす@ボックス ! もじそろえ@文字揃え
30544 \begin_layout Standard
30549 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
30552 \begin_layout Description
30554 \begin_inset Box Boxed
30564 height_special "totalheight"
30567 \begin_layout Plain Layout
30577 \begin_layout Description
30579 \begin_inset Box Boxed
30589 height_special "totalheight"
30592 \begin_layout Plain Layout
30602 \begin_layout Description
30604 \begin_inset Box Boxed
30614 height_special "totalheight"
30617 \begin_layout Plain Layout
30627 \begin_layout Standard
30628 \begin_inset Note Greyedout
30631 \begin_layout Plain Layout
30636 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
30644 \begin_layout Standard
30645 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
30648 \begin_layout Standard
30649 \begin_inset VSpace bigskip
30656 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
30659 \begin_layout Description
30661 \begin_inset Box Boxed
30671 height_special "totalheight"
30674 \begin_layout Plain Layout
30684 \begin_layout Description
30686 \begin_inset Box Boxed
30696 height_special "totalheight"
30699 \begin_layout Plain Layout
30709 \begin_layout Description
30711 \begin_inset Box Boxed
30721 height_special "totalheight"
30724 \begin_layout Plain Layout
30734 \begin_layout Description
30735 広げる これは例示のための本文行です。
30736 \begin_inset Box Boxed
30746 height_special "totalheight"
30749 \begin_layout Plain Layout
30754 \begin_layout Plain Layout
30759 \begin_layout Plain Layout
30769 \begin_layout Standard
30770 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
30773 \begin_layout Standard
30774 \begin_inset VSpace bigskip
30781 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
30784 \begin_layout Standard
30786 \begin_inset Box Boxed
30796 height_special "totalheight"
30799 \begin_layout Plain Layout
30804 \begin_layout Plain Layout
30809 \begin_layout Plain Layout
30819 \begin_layout Standard
30824 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
30827 \begin_layout Standard
30829 \begin_inset Box Boxed
30839 height_special "totalheight"
30842 \begin_layout Plain Layout
30843 このボックスの文章は水平方向に広げてあります。
30851 \begin_layout Subsection
30853 \begin_inset CommandInset label
30860 \begin_inset Index idx
30863 \begin_layout Plain Layout
30864 ぼっくす@ボックス ! そうしょく@装飾
30872 \begin_layout Standard
30877 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
30880 \begin_layout Description
30884 \begin_layout Description
30885 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
30892 \begin_inset Box Boxed
30902 height_special "totalheight"
30905 \begin_layout Plain Layout
30915 \begin_layout Description
30916 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
30917 \begin_inset space \thinspace{}
30921 \begin_inset Box ovalbox
30931 height_special "totalheight"
30934 \begin_layout Plain Layout
30944 \begin_layout Description
30945 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
30946 \begin_inset space \thinspace{}
30950 \begin_inset Box Ovalbox
30960 height_special "totalheight"
30963 \begin_layout Plain Layout
30973 \begin_layout Description
30974 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
30981 \begin_inset space \thinspace{}
30985 \begin_inset Box Shadowbox
30995 height_special "totalheight"
30998 \begin_layout Plain Layout
31008 \begin_layout Description
31009 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
31013 \begin_layout Plain Layout
31015 \begin_inset CommandInset ref
31017 reference "sec:色付きボックス"
31026 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
31027 \begin_inset Box Shaded
31037 height_special "totalheight"
31040 \begin_layout Plain Layout
31049 \begin_layout Description
31050 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
31051 \begin_inset space \thinspace{}
31061 \begin_inset space \thinspace{}
31071 \begin_inset space \thinspace{}
31081 \begin_inset space \thinspace{}
31085 \begin_inset space \thinspace{}
31089 \begin_inset space \thinspace{}
31093 \begin_inset Box Doublebox
31103 height_special "totalheight"
31106 \begin_layout Plain Layout
31116 \begin_layout Standard
31117 \begin_inset VSpace bigskip
31120 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
31125 \begin_inset Index idx
31128 \begin_layout Plain Layout
31129 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
31137 \begin_layout Standard
31138 \begin_inset VSpace bigskip
31145 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
31165 \begin_inset Box Framed
31175 height_special "totalheight"
31178 \begin_layout Plain Layout
31187 \begin_layout Section
31189 \begin_inset Index idx
31192 \begin_layout Plain Layout
31193 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
31201 \begin_layout Standard
31209 \begin_inset space \thinspace{}
31212 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
31213 \begin_inset space \thinspace{}
31219 \begin_layout Standard
31229 \begin_layout Standard
31233 \begin_layout Plain Layout
31245 \begin_inset Box Boxed
31255 height_special "totalheight"
31258 \begin_layout Plain Layout
31267 \begin_inset space \thinspace{}
31271 \begin_inset space \thinspace{}
31275 \begin_inset space \thinspace{}
31287 \begin_layout Plain Layout
31301 \begin_layout Standard
31302 \begin_inset VSpace bigskip
31305 枠とボックスの内容との空白は、すべての枠様式について3
31306 \begin_inset space \thinspace{}
31309 ptが既定値になっています。これは、長さ
31315 を別の値に設定することによって変更することができます。たとえば
31318 \begin_layout Standard
31328 \begin_layout Standard
31330 \begin_inset space \thinspace{}
31333 ptにし、以下のボックスのようになります。
31336 \begin_layout Standard
31340 \begin_layout Plain Layout
31352 \begin_inset Box Boxed
31362 height_special "totalheight"
31365 \begin_layout Plain Layout
31374 \begin_inset space \thinspace{}
31378 \begin_inset space \thinspace{}
31382 \begin_inset space \thinspace{}
31394 \begin_layout Plain Layout
31408 \begin_layout Standard
31409 \begin_inset VSpace bigskip
31412 楕円形ボックスの丸い角の直径は、コマンド
31421 \begin_layout Standard
31429 \begin_layout Standard
31431 \begin_inset space \thinspace{}
31437 \begin_layout Standard
31445 \begin_layout Standard
31449 \begin_inset space \thinspace{}
31453 \begin_inset space \thinspace{}
31467 \begin_layout Standard
31471 \begin_layout Plain Layout
31481 \begin_inset Box Ovalbox
31491 height_special "totalheight"
31494 \begin_layout Plain Layout
31503 \begin_inset space \thinspace{}
31507 \begin_inset space \thinspace{}
31511 \begin_inset space \thinspace{}
31523 \begin_layout Plain Layout
31535 \begin_layout Standard
31536 \begin_inset VSpace bigskip
31545 を変更することで調整できます。以下のボックスでは
31548 \begin_layout Standard
31558 \begin_layout Standard
31560 \begin_inset space \thinspace{}
31566 \begin_layout Standard
31570 \begin_layout Plain Layout
31582 \begin_inset Box Shadowbox
31592 height_special "totalheight"
31595 \begin_layout Plain Layout
31604 \begin_inset space \thinspace{}
31608 \begin_inset space \thinspace{}
31612 \begin_inset space \thinspace{}
31624 \begin_layout Plain Layout
31638 \begin_layout Standard
31639 \begin_inset VSpace bigskip
31645 \begin_layout Standard
31653 \begin_inset space \thinspace{}
31656 ptです。ボックスの中身と枠の間の空白の既定値は9
31657 \begin_inset space \thinspace{}
31666 の値を変えることで変更することができます。たとえば、下記の
31673 \begin_layout Standard
31681 \begin_inset Newline newline
31691 \begin_layout Standard
31692 というTeXコードコマンドで設定してあります。
31696 \begin_layout Plain Layout
31705 \begin_layout Plain Layout
31717 \begin_inset Box Framed
31727 height_special "totalheight"
31730 \begin_layout Plain Layout
31744 \begin_layout Plain Layout
31753 \begin_layout Plain Layout
31767 \begin_layout Standard
31768 \begin_inset VSpace bigskip
31774 \begin_layout Standard
31779 ボックスでは、ボックスの内容と枠の余白の既定値は3
31780 \begin_inset space \thinspace{}
31789 の値を変更することで変えられます。既定の背景色である赤色は、
31793 definecolor{shadebox}
31795 コマンドで局所的に変更することもできますし、
31797 ツール\SpecialChar \menuseparator
31798 設定\SpecialChar \menuseparator
31799 色\SpecialChar \menuseparator
31802 メニューからグローバルに変更することもできます。
31809 \begin_inset CommandInset ref
31811 reference "sec:色付きの表"
31819 \begin_layout Plain Layout
31830 をプリアンブルに読み込む必要があります。第
31831 \begin_inset CommandInset ref
31833 reference "sec:色付きボックス"
31845 \begin_layout Standard
31846 たとえば、下記の影付き背景ボックスの外見は
31849 \begin_layout Standard
31859 \begin_inset Newline newline
31866 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31869 \begin_layout Standard
31870 というTeXコードコマンドを使って設定してあります。
31873 \begin_layout Standard
31877 \begin_layout Plain Layout
31886 \begin_layout Plain Layout
31890 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31896 \begin_inset Box Shaded
31906 height_special "totalheight"
31909 \begin_layout Plain Layout
31925 \begin_layout Plain Layout
31934 \begin_layout Plain Layout
31938 definecolor{shadecolor}{rgb}{1,0,0}
31946 \begin_layout Standard
31947 \begin_inset VSpace bigskip
31950 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
31953 \begin_layout Section
31955 \begin_inset CommandInset label
31962 \begin_inset Index idx
31965 \begin_layout Plain Layout
31966 ぼっくす@ボックス ! みにぺーじ@ミニページ
31974 \begin_layout Standard
31975 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
31978 \begin_layout Standard
31979 ミニページは、複数の言語を含む文書を執筆する際に便利です。
31982 \begin_layout Standard
31983 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
31987 \SpecialChar \menuseparator
31992 \SpecialChar \menuseparator
31997 メニューで挿入した水平フィルで隔てられています。
31998 \begin_inset Newpage newpage
32004 \begin_layout Standard
32005 \begin_inset Box Frameless
32015 height_special "totalheight"
32018 \begin_layout Plain Layout
32019 Dies ist ein deutscher Text.
32020 Dies ist ein deutscher Text.
32021 Dies ist ein deutscher Text.
32022 Dies ist ein deutscher Text.
32023 Dies ist ein deutscher Text.
32024 Dies ist ein deutscher Text.
32025 Dies ist ein deutscher Text.
32026 Dies ist ein deutscher Text.
32027 Dies ist ein deutscher Text.
32028 Dies ist ein deutscher Text.
32029 Dies ist ein deutscher Text.
32030 Dies ist ein deutscher Text.
32031 Dies ist ein deutscher Text
32035 \begin_layout Plain Layout
32036 Dies ist eine deutsche Fußnote.
32042 Dies ist ein deutscher Text.
32043 Dies ist ein deutscher Text.
32049 \begin_inset space \hfill{}
32053 \begin_inset Box Frameless
32063 height_special "totalheight"
32066 \begin_layout Plain Layout
32067 This is an English Text.
32068 This is an English Text.
32069 This is an English Text.
32070 This is an English Text.
32071 This is an English Text.
32072 This is an English Text.
32073 This is an English Text.
32074 This is an English Text.
32075 This is an English Text.
32076 This is an English Text.
32077 This is an English Text.
32078 This is an English Text.
32079 This is an English Text.
32080 This is an English Text.
32081 This is an English Text.
32082 This is an English Text.
32086 \begin_layout Plain Layout
32087 This is an English footnote.
32092 This is an English Text.
32100 \begin_layout Standard
32101 \begin_inset VSpace bigskip
32104 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
32105 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
32108 \begin_layout Standard
32110 \begin_inset Tabular
32111 <lyxtabular version="3" rows="3" columns="4">
32112 <features tabularvalignment="middle">
32113 <column alignment="center" valignment="top" width="0pt">
32114 <column alignment="center" valignment="top" width="0pt">
32115 <column alignment="center" valignment="top" width="0pt">
32116 <column alignment="center" valignment="top" width="0pt">
32118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32121 \begin_layout Plain Layout
32127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32130 \begin_layout Plain Layout
32136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32139 \begin_layout Plain Layout
32144 \begin_layout Plain Layout
32155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32158 \begin_layout Plain Layout
32166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32169 \begin_layout Plain Layout
32175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32178 \begin_layout Plain Layout
32184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32187 \begin_layout Plain Layout
32193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32196 \begin_layout Plain Layout
32204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32207 \begin_layout Plain Layout
32213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32216 \begin_layout Plain Layout
32222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32225 \begin_layout Plain Layout
32231 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32234 \begin_layout Plain Layout
32248 \begin_layout Standard
32250 \begin_inset Box Frameless
32260 height_special "totalheight"
32263 \begin_layout Plain Layout
32265 \begin_inset Tabular
32266 <lyxtabular version="3" rows="3" columns="4">
32267 <features tabularvalignment="middle">
32268 <column alignment="center" valignment="top" width="0pt">
32269 <column alignment="center" valignment="top" width="0pt">
32270 <column alignment="center" valignment="top" width="0pt">
32271 <column alignment="center" valignment="top" width="0pt">
32273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32276 \begin_layout Plain Layout
32282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32285 \begin_layout Plain Layout
32291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32294 \begin_layout Plain Layout
32299 \begin_layout Plain Layout
32310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32313 \begin_layout Plain Layout
32321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32324 \begin_layout Plain Layout
32330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32333 \begin_layout Plain Layout
32339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32342 \begin_layout Plain Layout
32348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32351 \begin_layout Plain Layout
32359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32362 \begin_layout Plain Layout
32368 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32371 \begin_layout Plain Layout
32377 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32380 \begin_layout Plain Layout
32386 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32389 \begin_layout Plain Layout
32408 \begin_layout Standard
32409 \begin_inset VSpace bigskip
32412 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
32416 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
32419 \begin_layout Standard
32420 ミニページは、文章部に背景色を与えるのに使用することもできます。第
32421 \begin_inset CommandInset ref
32423 reference "sub:段落の着色"
32430 \begin_layout Standard
32431 \begin_inset Note Greyedout
32434 \begin_layout Plain Layout
32439 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
32447 \begin_layout Section
32449 \begin_inset CommandInset label
32456 \begin_inset Index idx
32459 \begin_layout Plain Layout
32460 ぼっくす@ボックス ! Parboxes
32468 \begin_layout Standard
32469 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
32472 \begin_layout Standard
32474 \begin_inset Box Frameless
32484 height_special "totalheight"
32487 \begin_layout Plain Layout
32488 これはparbox内の文章です。これはparbox内の文章です。
32491 \begin_layout Plain Layout
32496 \begin_layout Plain Layout
32497 これはparbox内の脚注であり、したがって表示はされません。
32510 \begin_layout Section
32512 \begin_inset Index idx
32515 \begin_layout Plain Layout
32516 ぼっくす@ボックス ! もじよう@文字用
32524 \begin_layout Subsection
32526 \begin_inset CommandInset label
32528 name "sec:ハイフネーションの回避"
32533 \begin_inset Index idx
32536 \begin_layout Plain Layout
32537 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
32545 \begin_layout Standard
32546 単語や文章がハイフネートされるのを防ぐには、
32551 \begin_inset Newline newline
32557 \begin_layout Standard
32558 This line is an example to show how you can prevent the hyphenation of
32559 \begin_inset Quotes eld
32563 \begin_inset Quotes erd
32569 \begin_layout Standard
32570 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
32581 \begin_layout Standard
32585 \begin_layout Standard
32586 This line is an example to show how you can prevent the hyphenation of
32587 \begin_inset Box Frameless
32597 height_special "totalheight"
32600 \begin_layout Plain Layout
32601 \begin_inset Quotes eld
32605 \begin_inset Quotes erd
32616 \begin_layout Standard
32617 別の方法としては、以下のように、単語の前に直接TeXコードで「
32626 \begin_layout Standard
32627 This line is an example to show how you can prevent the hyphenation of
32628 \begin_inset Quotes eld
32635 \begin_layout Plain Layout
32645 \begin_inset Quotes erd
32651 \begin_layout Standard
32652 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
32656 \SpecialChar \menuseparator
32661 \SpecialChar \menuseparator
32669 arg "newline-insert newline"
32672 )から改行を単語の前に入れてください。
32675 \begin_layout Standard
32676 This line is an example to show how you can prevent the hyphenation of
32677 \begin_inset Newline newline
32681 \begin_inset Box Frameless
32691 height_special "totalheight"
32694 \begin_layout Plain Layout
32695 \begin_inset Quotes eld
32699 \begin_inset Quotes erd
32710 \begin_layout Subsection
32712 \begin_inset CommandInset label
32719 \begin_inset Index idx
32722 \begin_layout Plain Layout
32723 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
32729 \begin_inset Index idx
32732 \begin_layout Plain Layout
32733 ぼっくす@ボックス ! Raiseboxes
32741 \begin_layout Standard
32748 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
32757 \begin_layout Standard
32762 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
32765 \begin_layout Standard
32766 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
32769 \begin_layout Standard
32770 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
32773 \begin_layout Standard
32783 \begin_layout Standard
32784 というコマンドを挿入してください。単語の後には、閉じ括弧「
32789 \begin_inset Newline newline
32795 \begin_layout Standard
32796 This is a text line with the word
32800 \begin_layout Plain Layout
32812 \begin_inset Quotes eld
32816 \begin_inset Quotes erd
32823 \begin_layout Plain Layout
32833 \begin_layout Standard
32834 \begin_inset VSpace bigskip
32837 行中の文字を上げ下げすると、以下のように行間が広がります。
32840 \begin_layout Standard
32841 This is a text line with the word
32845 \begin_layout Plain Layout
32857 \begin_inset Quotes eld
32861 \begin_inset Quotes erd
32868 \begin_layout Plain Layout
32876 \begin_inset Newline newline
32879 This is a text line with the word
32883 \begin_layout Plain Layout
32893 \begin_inset Quotes eld
32897 \begin_inset Quotes erd
32904 \begin_layout Plain Layout
32914 \begin_layout Standard
32915 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
32918 \begin_layout Standard
32928 \begin_layout Standard
32932 \begin_layout Standard
32933 This is a text line with the word
32937 \begin_layout Plain Layout
32949 \begin_inset Quotes eld
32953 \begin_inset Quotes erd
32960 \begin_layout Plain Layout
32968 \begin_inset Newline newline
32971 This is a text line with the word
32975 \begin_layout Plain Layout
32979 raisebox{0.5cm}[0pt]{
32985 \begin_inset Quotes eld
32989 \begin_inset Quotes erd
32996 \begin_layout Plain Layout
33006 \begin_layout Section
33008 \begin_inset CommandInset label
33015 \begin_inset Index idx
33018 \begin_layout Plain Layout
33019 ぼっくす@ボックス ! いろつき@色付き
33027 \begin_layout Subsection
33029 \begin_inset Index idx
33032 \begin_layout Plain Layout
33041 \begin_layout Standard
33042 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
33047 \begin_inset Index idx
33050 \begin_layout Plain Layout
33051 LaTeXぱっけーじ@LaTeXパッケージ ! color
33056 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
33059 \begin_layout Standard
33064 @ifundefined{textcolor}
33065 \begin_inset Newline newline
33069 \begin_inset Phantom HPhantom
33072 \begin_layout Plain Layout
33075 \begin_inset space ~
33085 usepackage{color}}{}
33088 \begin_layout Standard
33093 パッケージは、文章を着色するとLyXが自動的に読み込みます
33097 \begin_layout Plain Layout
33098 これが二度読み込まれることを回避するには、
33112 \begin_layout Standard
33113 \begin_inset VSpace medskip
33122 コマンドを使って作ります。これは、以下のような書式で使われます。
33125 \begin_layout Standard
33130 colorbox{color}{ボックスの内容}
33133 \begin_layout Standard
33134 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
33137 \begin_layout Standard
33139 \begin_inset Newline newline
33175 \begin_inset Newline newline
33179 \begin_inset CommandInset ref
33181 reference "sec:色付きの表"
33185 節に述べられているようにすれば、自前の色を定義することもできます。
33188 \begin_layout Standard
33189 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
33192 \begin_layout Standard
33200 \begin_layout Standard
33201 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
33206 \begin_inset Newline newline
33212 \begin_layout Standard
33217 \begin_layout Plain Layout
33230 \begin_layout Plain Layout
33240 \begin_layout Standard
33241 \begin_inset VSpace bigskip
33244 ボックスの枠を別の色にしたい場合には、以下の書式で
33253 \begin_layout Standard
33258 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
33261 \begin_layout Standard
33274 の拡張です。枠の太さと枠とボックスの中身との余白は、第
33275 \begin_inset CommandInset ref
33296 \begin_layout Standard
33300 \begin_layout Standard
33305 fcolorbox{cyan}{magenta}{
33308 \begin_layout Standard
33312 \begin_layout Standard
33314 \begin_inset space \thinspace{}
33318 \begin_inset Newline newline
33325 \begin_layout Plain Layout
33340 \begin_layout Plain Layout
33344 fcolorbox{cyan}{magenta}{
33349 これは着色した色付きボックス中の文章です。
33353 \begin_layout Plain Layout
33363 \begin_layout Standard
33364 \begin_inset VSpace bigskip
33367 もちろん、色付きボックスの中に色付き文字を入れることもできます
33368 \begin_inset Newline newline
33375 \begin_layout Plain Layout
33379 fcolorbox{cyan}{magenta}{
33386 これは着色した色付きボックス中の色付き文章です。
33392 \begin_layout Plain Layout
33403 \begin_layout Plain Layout
33417 \begin_layout Standard
33420 \begin_inset VSpace medskip
33426 \begin_layout Standard
33427 \begin_inset Note Greyedout
33430 \begin_layout Plain Layout
33435 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
33443 \begin_layout Subsection
33445 \begin_inset CommandInset label
33452 \begin_inset Index idx
33455 \begin_layout Plain Layout
33464 \begin_layout Standard
33465 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
33474 \begin_layout Standard
33482 \begin_layout Standard
33483 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
33490 \begin_layout Standard
33494 \begin_layout Plain Layout
33498 colorbox{lightgrey}{
33504 \begin_inset Box Frameless
33514 height_special "totalheight"
33517 \begin_layout Plain Layout
33518 これは背景色を付けた文章です。これは背景色を付けた文章です。
33521 \begin_layout Plain Layout
33522 \begin_inset VSpace defskip
33529 \begin_layout Plain Layout
33535 を付けることもできますし、図表を挿入することもできます。
33538 \begin_layout Plain Layout
33540 \begin_inset Tabular
33541 <lyxtabular version="3" rows="3" columns="3">
33542 <features tabularvalignment="middle">
33543 <column alignment="center" valignment="top" width="0">
33544 <column alignment="center" valignment="top" width="0">
33545 <column alignment="center" valignment="top" width="0">
33547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33550 \begin_layout Plain Layout
33556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33559 \begin_layout Plain Layout
33565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33568 \begin_layout Plain Layout
33576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33579 \begin_layout Plain Layout
33585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33588 \begin_layout Plain Layout
33590 \begin_inset Quotes erd
33598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33601 \begin_layout Plain Layout
33609 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33612 \begin_layout Plain Layout
33618 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33621 \begin_layout Plain Layout
33627 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33630 \begin_layout Plain Layout
33650 \begin_layout Plain Layout
33660 \begin_layout Section
33664 \begin_layout Standard
33665 本節で述べられているコマンドを使用するには、文書プリアンブルで
33668 \begin_layout Standard
33673 @ifundefined{rotatebox}
33674 \begin_inset Newline newline
33678 \begin_inset Phantom HPhantom
33681 \begin_layout Plain Layout
33684 \begin_inset space ~
33694 usepackage{graphicx}}{}
33697 \begin_layout Standard
33703 \begin_inset Index idx
33706 \begin_layout Plain Layout
33707 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
33712 LaTeXパッケージを読み込む必要があります。
33715 \begin_layout Standard
33716 \begin_inset Note Greyedout
33719 \begin_layout Plain Layout
33724 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
33732 \begin_layout Standard
33733 \begin_inset Note Greyedout
33736 \begin_layout Plain Layout
33741 フロートは回転伸縮したボックスの中に入れることはできません。
33749 \begin_layout Subsection
33751 \begin_inset Index idx
33754 \begin_layout Plain Layout
33755 ぼっくす@ボックス ! かいてんした@回転した
33761 \begin_inset Index idx
33764 \begin_layout Plain Layout
33765 かいてん@回転 ! そざいの@素材の---
33773 \begin_layout Standard
33774 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
33780 コマンドを使用すれば作成することができます。
33783 \begin_layout Standard
33788 rotatebox[回転の原点]{回転角}{ボックスの内容}
33791 \begin_layout Standard
33796 の形で指定します。位置として指定可能なのは、
33816 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
33820 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
33824 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
33827 \begin_layout Standard
33828 以下の例では、「回転した」文章の前にTeXコードで
33832 rotatebox[origin=c]{60}{
33834 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
33841 \begin_layout Standard
33846 \begin_layout Plain Layout
33850 rotatebox[origin=c]{60}{
33859 \begin_layout Plain Layout
33869 \begin_layout Standard
33870 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
33873 \begin_layout Standard
33878 \begin_layout Plain Layout
33882 rotatebox[origin=r]{-60}{
33888 \begin_inset Box Doublebox
33898 height_special "totalheight"
33901 \begin_layout Plain Layout
33911 \begin_layout Plain Layout
33922 \begin_layout Plain Layout
33926 rotatebox[origin=lb]{60}{
33932 \begin_inset Formula $\int A\,\mathrm{d}x=B$
33939 \begin_layout Plain Layout
33949 \begin_layout Standard
33950 あるいは、以下のように図や表を入れることもできます。
33953 \begin_layout Standard
33958 \begin_layout Plain Layout
33962 rotatebox[origin=lb]{90}{
33968 \begin_inset Graphics
33969 filename ../clipart/platypus.eps
33979 \begin_layout Plain Layout
33990 \begin_layout Plain Layout
33994 rotatebox[origin=l]{-90}{
34000 \begin_inset Tabular
34001 <lyxtabular version="3" rows="2" columns="2">
34002 <features tabularvalignment="middle">
34003 <column alignment="center" valignment="top" width="0">
34004 <column alignment="center" valignment="top" width="0">
34006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34009 \begin_layout Plain Layout
34015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34018 \begin_layout Plain Layout
34026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34029 \begin_layout Plain Layout
34035 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34038 \begin_layout Plain Layout
34053 \begin_layout Plain Layout
34061 \begin_inset Index idx
34064 \begin_layout Plain Layout
34071 \begin_inset Index idx
34074 \begin_layout Plain Layout
34075 ひょうのちょうせい@表の調整 ! かいてん@回転
34083 \begin_layout Subsection
34085 \begin_inset Index idx
34088 \begin_layout Plain Layout
34089 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
34095 \begin_inset Index idx
34098 \begin_layout Plain Layout
34099 しんしゅく@伸縮 ! そざいの@素材の---
34107 \begin_layout Standard
34123 \begin_layout Standard
34133 \begin_layout Standard
34138 scalebox{水平方向}[垂直方向]{ボックスの内容}
34141 \begin_layout Standard
34142 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
34145 \begin_layout Standard
34152 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
34156 \begin_layout Plain Layout
34169 \begin_layout Plain Layout
34179 \begin_layout Standard
34184 scalebox{2}[1]{こんにちは}
34190 \begin_layout Plain Layout
34203 \begin_layout Plain Layout
34213 \begin_layout Standard
34214 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
34218 scalebox{-1}[1]{こんにちは}
34220 というコマンドは、右のように反転文字を生成するのに使用できます:
34224 \begin_layout Plain Layout
34237 \begin_layout Plain Layout
34247 \begin_layout Standard
34252 scalebox{1}[-1]{こんにちは}
34258 \begin_layout Plain Layout
34271 \begin_layout Plain Layout
34281 \begin_layout Standard
34286 scalebox{-1}[1]{ボックスの内容}
34289 \begin_inset Newline newline
34296 reflectbox{ボックスの内容}
34299 \begin_inset Newline newline
34305 \begin_layout Standard
34306 \begin_inset VSpace bigskip
34309 指定した幅や丈にボックスを伸縮させるには、
34318 \begin_layout Standard
34323 resizebox{幅}{丈}{ボックスの内容}
34326 \begin_layout Standard
34327 です。上記二つのコマンド引数のうち一つが感嘆符「
34331 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
34334 \begin_layout Standard
34339 resizebox{2cm}{1cm}{こんにちは}
34345 \begin_layout Plain Layout
34349 resizebox{2cm}{1cm}{
34358 \begin_layout Plain Layout
34366 \begin_inset Newline newline
34373 resizebox{2cm}{!}{こんにちは}
34379 \begin_layout Plain Layout
34392 \begin_layout Plain Layout
34402 \begin_layout Standard
34403 \begin_inset VSpace bigskip
34407 \begin_inset Note Greyedout
34410 \begin_layout Plain Layout
34423 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
34431 \begin_layout Standard
34432 \begin_inset VSpace bigskip
34438 \begin_layout Standard
34439 ボックスは好きな順序で組み合わせることができます。たとえば、
34440 \begin_inset Newline newline
34447 rotatebox[origin=c]{-45}{
34451 reflectbox{こんにちは}}}
34452 \begin_inset Newline newline
34460 \begin_layout Standard
34465 \begin_layout Plain Layout
34469 rotatebox[origin=c]{-45}{
34482 \begin_layout Plain Layout
34492 \begin_layout Standard
34494 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
34497 \begin_layout Standard
34502 \begin_layout Plain Layout
34506 rotatebox[origin=c]{-30}{
34516 \begin_inset Graphics
34517 filename ../clipart/platypus.eps
34527 \begin_layout Plain Layout
34538 \begin_layout Plain Layout
34542 rotatebox[origin=c]{-45}{
34552 \begin_inset Tabular
34553 <lyxtabular version="3" rows="2" columns="2">
34554 <features tabularvalignment="middle">
34555 <column alignment="center" valignment="top" width="0">
34556 <column alignment="center" valignment="top" width="0">
34558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34561 \begin_layout Plain Layout
34567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34570 \begin_layout Plain Layout
34578 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34581 \begin_layout Plain Layout
34587 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34590 \begin_layout Plain Layout
34605 \begin_layout Plain Layout
34616 \begin_layout Plain Layout
34620 rotatebox[origin=c]{-45}{
34630 \begin_inset Formula $\int A\,\mathrm{d}x=B$
34637 \begin_layout Plain Layout
34645 \begin_inset Index idx
34648 \begin_layout Plain Layout
34649 ず@図 ! のしんしゅく@---の伸縮
34655 \begin_inset Index idx
34658 \begin_layout Plain Layout
34659 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
34667 \begin_layout Standard
34676 \begin_layout Plain Layout
34677 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
34682 には、別行建て数式も伸縮させることができます。
34685 \begin_layout Chapter
34688 Objects Surrounded by Text
34689 \begin_inset Index idx
34692 \begin_layout Plain Layout
34703 \begin_layout Section
34705 \begin_inset CommandInset label
34712 \begin_inset Index idx
34715 \begin_layout Plain Layout
34716 ふろーと@フロート ! おりかえしふろーと@折返しフロート
34724 \begin_inset Index idx
34727 \begin_layout Plain Layout
34730 Surrounded by text ! Wrap Floats
34738 \begin_layout Standard
34739 \begin_inset Wrap figure
34746 \begin_layout Plain Layout
34747 \begin_inset Graphics
34748 filename ../clipart/mobius.eps
34750 scaleBeforeRotation
34751 rotateOrigin center
34758 \begin_layout Plain Layout
34759 \begin_inset Caption
34761 \begin_layout Plain Layout
34762 \begin_inset CommandInset label
34764 name "fig:折返し図フロート"
34778 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
34783 \begin_inset Index idx
34786 \begin_layout Plain Layout
34787 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
34794 挿入\SpecialChar \menuseparator
34795 フロート\SpecialChar \menuseparator
34806 \begin_layout Plain Layout
34807 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
34812 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
34828 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
34829 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
34830 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
34831 \begin_inset CommandInset ref
34833 reference "fig:折返し図フロート"
34838 \begin_inset space \thinspace{}
34842 \begin_inset space \thinspace{}
34845 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
34849 \begin_layout Plain Layout
34851 \begin_inset CommandInset ref
34853 reference "cha:LyXで使用できる単位"
34865 \begin_layout Standard
34866 \begin_inset Note Greyedout
34869 \begin_layout Plain Layout
34874 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
34883 \begin_layout Standard
34887 \begin_layout Itemize
34888 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
34889 うになってから、正確な位置に挿入しなくてはなりません。
34892 \begin_layout Itemize
34893 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
34896 \begin_layout Itemize
34897 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
34900 \begin_layout Itemize
34901 折返しフロートは、節見出しや表中に入れることは認められていません。
34904 \begin_layout Itemize
34907 Their numbering and referencing works as described in chap.
34910 \begin_inset space \thinspace{}
34914 \begin_inset CommandInset ref
34916 reference "chap:フロート"
34923 \begin_layout Section
34926 Surrounded Fixed Objects
34927 \begin_inset Index idx
34930 \begin_layout Plain Layout
34933 Surrounded by text ! Fixed objects
34941 \begin_layout Standard
34944 The wrap floats described in sec.
34947 \begin_inset space \thinspace{}
34951 \begin_inset CommandInset ref
34953 reference "sec:折返しフロート"
34959 have these positions in the paragraph:
34962 \begin_layout Standard
34967 \begin_inset Tabular
34968 <lyxtabular version="3" rows="2" columns="2">
34969 <features tabularvalignment="middle">
34970 <column alignment="center" valignment="top" width="0">
34971 <column alignment="center" valignment="top" width="0">
34973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34976 \begin_layout Plain Layout
34979 \begin_inset Graphics
34980 filename ../../images/dialog-show-new-inset_graphics.png
34982 scaleBeforeRotation
34991 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34994 \begin_layout Plain Layout
35004 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35007 \begin_layout Plain Layout
35015 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35018 \begin_layout Plain Layout
35032 \begin_inset Tabular
35033 <lyxtabular version="3" rows="2" columns="2">
35034 <features tabularvalignment="middle">
35035 <column alignment="center" valignment="top" width="0">
35036 <column alignment="center" valignment="top" width="0">
35038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35041 \begin_layout Plain Layout
35049 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35052 \begin_layout Plain Layout
35055 \begin_inset Graphics
35056 filename ../../images/dialog-show-new-inset_graphics.png
35058 scaleBeforeRotation
35069 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35072 \begin_layout Plain Layout
35080 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35083 \begin_layout Plain Layout
35099 \begin_layout Standard
35102 To get an object exactly at the position where it is inserted, for example
35103 to get one of these positions:
35104 \begin_inset VSpace defskip
35110 \begin_layout Standard
35115 \begin_inset Tabular
35116 <lyxtabular version="3" rows="2" columns="2">
35117 <features tabularvalignment="middle">
35118 <column alignment="center" valignment="top" width="0">
35119 <column alignment="center" valignment="top" width="0">
35121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35124 \begin_layout Plain Layout
35132 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35135 \begin_layout Plain Layout
35145 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35148 \begin_layout Plain Layout
35151 \begin_inset Graphics
35152 filename ../../images/dialog-show-new-inset_graphics.png
35154 scaleBeforeRotation
35163 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35166 \begin_layout Plain Layout
35180 \begin_inset Tabular
35181 <lyxtabular version="3" rows="2" columns="2">
35182 <features tabularvalignment="middle">
35183 <column alignment="center" valignment="top" width="0">
35184 <column alignment="center" valignment="top" width="0">
35186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35189 \begin_layout Plain Layout
35197 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35200 \begin_layout Plain Layout
35210 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35213 \begin_layout Plain Layout
35221 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35224 \begin_layout Plain Layout
35227 \begin_inset Graphics
35228 filename ../../images/dialog-show-new-inset_graphics.png
35230 scaleBeforeRotation
35245 \begin_inset Tabular
35246 <lyxtabular version="3" rows="2" columns="3">
35247 <features tabularvalignment="middle">
35248 <column alignment="center" valignment="top" width="0">
35249 <column alignment="center" valignment="top" width="0">
35250 <column alignment="center" valignment="top" width="0">
35252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35255 \begin_layout Plain Layout
35263 <cell alignment="center" valignment="top" topline="true" usebox="none">
35266 \begin_layout Plain Layout
35269 \begin_inset Graphics
35270 filename ../../images/dialog-show-new-inset_graphics.png
35272 scaleBeforeRotation
35281 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35284 \begin_layout Plain Layout
35294 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35297 \begin_layout Plain Layout
35305 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35308 \begin_layout Plain Layout
35316 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35319 \begin_layout Plain Layout
35333 \begin_inset Tabular
35334 <lyxtabular version="3" rows="2" columns="3">
35335 <features tabularvalignment="middle">
35336 <column alignment="center" valignment="top" width="0">
35337 <column alignment="center" valignment="top" width="0">
35338 <column alignment="center" valignment="top" width="0">
35340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35343 \begin_layout Plain Layout
35351 <cell alignment="center" valignment="top" topline="true" usebox="none">
35354 \begin_layout Plain Layout
35362 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35365 \begin_layout Plain Layout
35375 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35378 \begin_layout Plain Layout
35386 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35389 \begin_layout Plain Layout
35392 \begin_inset Graphics
35393 filename ../../images/dialog-show-new-inset_graphics.png
35395 scaleBeforeRotation
35404 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35407 \begin_layout Plain Layout
35423 \begin_layout Standard
35428 \begin_inset Tabular
35429 <lyxtabular version="3" rows="3" columns="2">
35430 <features tabularvalignment="middle">
35431 <column alignment="center" valignment="top" width="0">
35432 <column alignment="center" valignment="top" width="0">
35434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35437 \begin_layout Plain Layout
35445 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35448 \begin_layout Plain Layout
35458 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35461 \begin_layout Plain Layout
35464 \begin_inset Graphics
35465 filename ../../images/dialog-show-new-inset_graphics.png
35467 scaleBeforeRotation
35476 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35479 \begin_layout Plain Layout
35489 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35492 \begin_layout Plain Layout
35500 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35503 \begin_layout Plain Layout
35517 \begin_inset Tabular
35518 <lyxtabular version="3" rows="3" columns="3">
35519 <features tabularvalignment="middle">
35520 <column alignment="center" valignment="top" width="0">
35521 <column alignment="center" valignment="top" width="0">
35522 <column alignment="center" valignment="top" width="0">
35524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35527 \begin_layout Plain Layout
35535 <cell alignment="center" valignment="top" topline="true" usebox="none">
35538 \begin_layout Plain Layout
35546 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35549 \begin_layout Plain Layout
35559 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35562 \begin_layout Plain Layout
35570 <cell alignment="center" valignment="top" usebox="none">
35573 \begin_layout Plain Layout
35576 \begin_inset Graphics
35577 filename ../../images/dialog-show-new-inset_graphics.png
35579 scaleBeforeRotation
35588 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35591 \begin_layout Plain Layout
35601 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35604 \begin_layout Plain Layout
35612 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35615 \begin_layout Plain Layout
35623 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35626 \begin_layout Plain Layout
35640 \begin_inset Tabular
35641 <lyxtabular version="3" rows="3" columns="2">
35642 <features tabularvalignment="middle">
35643 <column alignment="center" valignment="top" width="0">
35644 <column alignment="center" valignment="top" width="0">
35646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35649 \begin_layout Plain Layout
35657 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35660 \begin_layout Plain Layout
35670 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35673 \begin_layout Plain Layout
35681 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35684 \begin_layout Plain Layout
35687 \begin_inset Graphics
35688 filename ../../images/dialog-show-new-inset_graphics.png
35690 scaleBeforeRotation
35701 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35704 \begin_layout Plain Layout
35712 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35715 \begin_layout Plain Layout
35731 \begin_layout Standard
35735 you can use the LaTeX-package
35742 \begin_inset Index idx
35745 \begin_layout Plain Layout
35746 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
35759 \begin_layout Standard
35763 \begin_layout Plain Layout
35773 \begin_inset Note Note
35776 \begin_layout Plain Layout
35781 が導入されているときのみ表示されます。
35789 \begin_layout Standard
35793 \begin_layout Plain Layout
35797 begin{window}[2,c,{
35803 \begin_inset Graphics
35804 filename ../clipart/mobius.eps
35807 scaleBeforeRotation
35808 rotateOrigin center
35816 \begin_layout Plain Layout
35821 \begin_layout Plain Layout
35831 It was in the spring of the year 1894 that all London was interested, and
35832 the fashionable world dismayed, by the murder of the Honourable Ronald
35833 Adair under most unusual and inexplicable circumstances.
35834 The public has already learned those particulars of the crime which
35840 \begin_layout Plain Layout
35851 came out in the police investigation, but a good deal was suppressed upon
35852 that occasion, since the case for the prosecution was so overwhelmingly
35853 strong that it was not necessary to bring forward all the facts.
35854 Only now, at the end of nearly ten years, am I allowed to supply those
35855 missing links which make up the whole of that remarkable chain
35863 \begin_layout Plain Layout
35875 \begin_layout Standard
35881 \begin_layout Plain Layout
35890 Footnote of the paragraph with the fixed object.
35894 \begin_layout Plain Layout
35904 \begin_layout Standard
35907 Surrounded fixed objects are used to let text float around them, at which
35908 the object's position in the paragraph can be determined by the number
35910 In contrary to floats is it not possible to have a numbered caption.
35913 \begin_layout Standard
35916 A fixed object is inserted by adding the command
35919 \begin_layout Standard
35924 begin{window}[2,c,{
35927 \begin_layout Standard
35930 as TeX Code at the beginning of the paragraph.
35931 The first parameter in the bracket, here '2', defines the number of lines
35932 above the object, the second, here 'c', the position of the object.
35933 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
35934 Behind the command you insert the object.
35935 In this example an image with a width of 40
35936 \begin_inset space \thinspace{}
35939 % of the text column width was inserted.
35940 The object can also be a table, a box or an equation.
35941 Behind the object the command
35944 \begin_layout Standard
35947 },description text]
35948 \begin_inset Newline newline
35954 \begin_layout Standard
35959 \begin_inset Quotes eld
35967 \begin_inset Quotes erd
35970 is in the second line.
35971 The description text is optional.
35972 The text surrounding the object must be in the same paragraph as the object,
35973 so it must begin directly after the
35978 At the end of the paragraph insert the command:
35981 \begin_layout Standard
35989 \begin_layout Standard
35992 Within a paragraph with a fixed object, you cannot insert footnotes in the
35994 You have to use instead the command
36000 inside the paragraph and outside the command
36006 as described in sec.
36009 \begin_inset space \thinspace{}
36013 \begin_inset CommandInset ref
36022 \begin_layout Standard
36026 \begin_layout Plain Layout
36036 \begin_inset Note Note
36039 \begin_layout Plain Layout
36044 が導入されていないときのみ表示されます。
36052 \begin_layout Standard
36053 本節の以下の部分を出力に表示するには、LaTeXパッケージ
36060 \begin_layout Standard
36064 \begin_layout Plain Layout
36076 \begin_layout Section
36080 \begin_inset Index idx
36083 \begin_layout Plain Layout
36092 \begin_inset Index idx
36095 \begin_layout Plain Layout
36098 Surrounded by text ! Initials
36106 \begin_layout Standard
36109 To use initials, you must have the LaTeX package
36116 \begin_inset Index idx
36119 \begin_layout Plain Layout
36120 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
36127 installed and use the module
36131 in your document (menu
36133 Document\SpecialChar \menuseparator
36134 Settings\SpecialChar \menuseparator
36138 To insert an initial, use the style
36143 This style has a mandatory and an optional argument.
36144 The mandatory argument is inserted via the menu
36146 Insert\SpecialChar \menuseparator
36148 \begin_inset space ~
36153 and contains the letter that is the initial.
36154 To use the also the optional argument, insert another argument in front
36155 of the mandatory argument.
36156 This one contains parameters to modify the initial.
36157 For more information about the possible parameters see the documentation
36165 \begin_inset CommandInset citation
36174 The style itself contains the text that is surrounding the initial.
36175 The usual style is hereby that the word whose first letter is the initial,
36181 To tell LaTeX where this word is finished, add a closing brace '
36185 ' as TeX Code behind it.
36186 At the end of the style there must be an opening brace '
36193 \begin_layout Standard
36196 Here are some examples:
36199 \begin_layout Standard
36203 \begin_layout Plain Layout
36213 \begin_inset Note Note
36216 \begin_layout Plain Layout
36221 が導入されているときのみ表示されます。
36229 \begin_layout Enumerate
36232 No optional argument, the initial is the letter 'I' in the math font
36233 \begin_inset Formula $\mathfrak{Fraktur}$
36240 \begin_layout Initial
36241 \begin_inset Argument
36244 \begin_layout Plain Layout
36245 \begin_inset Formula $\mathfrak{I}$
36257 \begin_layout Plain Layout
36266 was in the spring of the year 1894 that all London was interested, and the
36267 fashionable world dismayed, by the murder of the Honourable Ronald Adair
36268 under most unusual and inexplicable circumstances.
36269 The public has already learned those particulars of the crime which came
36270 out in the police investigation, but a good deal was suppressed upon that
36271 occasion, since the case for the prosecution was so overwhelmingly strong
36272 that it was not necessary to bring forward all the facts.
36278 \begin_layout Plain Layout
36288 \begin_inset Newpage newpage
36295 \begin_layout Enumerate
36298 Only one line is surrounding the initial, which is formed by two letters
36299 in standard font and no text is printed in small caps:
36303 \begin_layout Initial
36304 \begin_inset Argument
36307 \begin_layout Plain Layout
36314 \begin_inset Argument
36317 \begin_layout Plain Layout
36327 \begin_layout Plain Layout
36336 was in the spring of the year 1894 that all London was interested, and the
36337 fashionable world dismayed, by the murder of the Honourable Ronald Adair
36338 under most unusual and inexplicable circumstances.
36339 The public has already learned those particulars of the crime which came
36340 out in the police investigation, but a good deal was suppressed upon that
36341 occasion, since the case for the prosecution was so overwhelmingly strong
36342 that it was not necessary to bring forward all the facts.
36348 \begin_layout Plain Layout
36359 \begin_layout Enumerate
36362 Magenta, hanging initial over 3
36363 \begin_inset space ~
36366 lines in the math font
36367 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
36371 \begin_inset Quotes eld
36374 t was in the spring
36375 \begin_inset Quotes erd
36382 ; to color the initial, you must insert this command before the initial:
36383 \begin_inset Newline newline
36397 \begin_inset Newline newline
36405 \begin_inset Quotes eld
36409 \begin_inset Quotes erd
36413 \begin_inset Quotes eld
36417 \begin_inset Quotes erd
36421 \begin_inset Quotes eld
36425 \begin_inset Quotes erd
36429 \begin_inset Quotes eld
36433 \begin_inset Quotes erd
36437 \begin_inset Quotes eld
36441 \begin_inset Quotes erd
36445 \begin_inset Quotes eld
36449 \begin_inset Quotes erd
36453 \begin_inset Quotes eld
36457 \begin_inset Quotes erd
36461 \begin_inset Quotes eld
36465 \begin_inset Quotes erd
36468 , and add this command to the document preamble
36471 \begin_inset Newline newline
36478 @ifundefined{textcolor}
36479 \begin_inset Newline newline
36483 \begin_inset space ~
36488 usepackage{color}}{}
36492 \begin_layout Standard
36496 \begin_layout Plain Layout
36512 \begin_inset Note Note
36515 \begin_layout Plain Layout
36518 makes the initial magenta
36526 \begin_layout Initial
36527 \begin_inset Argument
36530 \begin_layout Plain Layout
36531 lines=3, lhang=0.33, loversize=0.25
36537 \begin_inset Argument
36540 \begin_layout Plain Layout
36541 \begin_inset Formula $\mathcal{I}$
36551 t was in the spring
36557 \begin_layout Plain Layout
36566 of the year 1894 that all London was interested, and the fashionable world
36567 dismayed, by the murder of the Honourable Ronald Adair under most unusual
36568 and inexplicable circumstances.
36569 The public has already learned those particulars of the crime which came
36570 out in the police investigation, but a good deal was suppressed upon that
36571 occasion, since the case for the prosecution was so overwhelmingly strong
36572 that it was not necessary to bring forward all the facts.
36578 \begin_layout Plain Layout
36589 \begin_layout Standard
36593 \begin_layout Plain Layout
36603 \begin_inset Note Note
36606 \begin_layout Plain Layout
36611 が導入されていないときのみ表示されます。
36619 \begin_layout Standard
36620 本節の以下の部分を出力に表示するには、LaTeXパッケージ
36627 \begin_layout Standard
36631 \begin_layout Plain Layout
36643 \begin_layout Chapter
36645 \begin_inset Index idx
36648 \begin_layout Plain Layout
36649 がいぶぶんしょこうせいようそ@外部文書構成要素
36657 \begin_layout Standard
36660 挿入\SpecialChar \menuseparator
36663 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
36666 \begin_layout Description
36667 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
36670 \begin_layout Description
36671 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
36674 \begin_layout Description
36675 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
36678 \begin_layout Description
36682 \begin_layout Description
36683 子文書 LyXあるいはLaTeX文書。
36686 \begin_layout Section
36688 \begin_inset Index idx
36691 \begin_layout Plain Layout
36692 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
36700 \begin_layout Standard
36701 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
36702 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
36704 操作性\SpecialChar \menuseparator
36707 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
36710 \begin_layout Standard
36715 \SpecialChar \menuseparator
36720 \SpecialChar \menuseparator
36729 ダイアログから挿入することができます。目下、以下のファイル形式(
36736 \begin_layout Description
36740 \begin_inset CommandInset href
36743 target "http://en.wikipedia.org/wiki/XBoard"
36749 プログラムで作成されたチェス棋譜をサポートします。
36752 \begin_layout Description
36757 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
36758 \begin_inset External
36765 \begin_inset space ~
36769 \begin_inset Note Note
36772 \begin_layout Plain Layout
36773 バグ4398が修正されたら、この保護空白は削除してください!
36779 \begin_inset Newline newline
36782 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
36786 \SpecialChar \menuseparator
36787 日付メニューを使用する方法で、他はLaTeXコマンドの
36793 をTeXコードで使用する方法です。これらの各方法は、表
36794 \begin_inset CommandInset ref
36796 reference "tab:日付挿入方法"
36803 \begin_layout Description
36807 \begin_inset CommandInset href
36810 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"
36816 プログラムで作成したダイアグラムをサポートします。
36819 \begin_layout Description
36822 GnumericSpreadsheet With this template you can insert spreadsheets
36823 \begin_inset space \thinspace{}
36827 \begin_inset space \thinspace{}
36830 tables in the format of
36833 \begin_inset CommandInset href
36836 target "http://ja.wikipedia.org/wiki/Gnumeric"
36843 \begin_inset CommandInset href
36845 name "OpenDocument"
36846 target "http://ja.wikipedia.org/wiki/OpenDocument"
36851 \begin_inset CommandInset href
36853 name "Microsoft Office XML"
36854 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
36859 \begin_inset CommandInset href
36861 name "Office Open XML"
36862 target "http://ja.wikipedia.org/wiki/Office_Open_XML"
36867 For this feature LyX must have found the program
36871 during its configuration.
36872 This program is part of Gnumeric, so that you must have Gnumeric installed,
36873 also if you don't have tables in the Gnumeric format.
36874 For examples and possible limitations have a look at LyX's example file
36882 \begin_layout Description
36886 \begin_inset CommandInset href
36889 target "http://ja.wikipedia.org/wiki/GNU_LilyPond"
36895 プログラムで作成した楽譜の組版に使用されます。
36897 For LyX's extended support for LilyPond have a look at LyX's example file
36905 \begin_layout Description
36906 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
36920 The argument of this option is a comma separated list, containing page numbers
36925 ), ranges of page numbers (
36929 ) or any combination.
36930 To insert empty pages use {}.
36932 \begin_inset space \thinspace{}
36936 \begin_inset space ~
36941 pages={3,{},8-11,15}
36943 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
36944 Page ranges are specified in the syntax
36953 This selects all pages from
36966 defaults to the first page; omitting
36970 defaults to the last page of the document.
36971 The last page can also be selected with the keyword
36976 (This is only permitted in a page range.) So
36980 will insert all pages of the document and
36984 will insert all pages in reverse order.
36989 オプションを指定しないと、PDFの最初のページのみが挿入されます。
36990 \begin_inset Newline newline
36999 inserts the pages with their original size, if this option is not given,
37000 the pages will be resized to fith the width of the page of your document.
37005 you can specify the width and height of the input pages and their rotation.
37006 If another width than 100
37007 \begin_inset space \thinspace{}
37010 Scale% is used, the option
37014 will be overwritten.
37015 For more info and possible options, have a look into the documentation
37016 of the LaTeX-package
37022 \begin_inset CommandInset citation
37029 \begin_inset Index idx
37032 \begin_layout Plain Layout
37033 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
37039 \begin_inset Newline newline
37044 To use this template in a
37048 presentation you need to first insert an
37052 environment and in a subsequent paragraph a TeX Code box containing the
37057 setbeamertemplate{background canvas}{}
37060 Then you can insert as many paragraphs containing the PDFPages template
37062 Behind the included PDF pages you can resume the Beamer presentation by
37063 beginning a new frame or by starting a new section.
37064 To avoid stray blank pages prior to the PDF pages, make sure to use the
37069 alignment for the paragraph containing the template.
37070 \begin_inset Newline newline
37073 Here is an included PDF which is rotated by -5°:
37076 \begin_inset External
37078 filename ../clipart/Abstract.pdf
37079 extra LaTeX "noautoscale, pages=-"
37081 rotateOrigin bottomleft
37088 \begin_layout Description
37089 ラスターイメージ これはビットマップ画像に使用します。
37094 \begin_inset CommandInset ref
37096 reference "sec:画像ダイアログ"
37104 ダイアログを使って挿入される画像と同じように取り扱うことができます。
37106 The difference to the normal image input is that only raster images are
37107 allowed; that means that PDF and EPS-images are not supported
37112 Here is an inserted raster image:
37115 \begin_inset External
37116 template RasterImage
37117 filename ../clipart/ToolbarEnvBox.png
37124 \begin_layout Description
37128 \begin_inset CommandInset href
37131 target "http://ja.wikipedia.org/wiki/Xfig"
37137 プログラムで作成した画像をサポートします。
37140 \begin_layout Standard
37141 \begin_inset Float table
37147 \begin_layout Plain Layout
37148 \begin_inset Caption
37150 \begin_layout Plain Layout
37151 \begin_inset CommandInset label
37165 \begin_layout Plain Layout
37167 \begin_inset Tabular
37168 <lyxtabular version="3" rows="4" columns="4">
37169 <features tabularvalignment="middle">
37170 <column alignment="center" valignment="top" width="0">
37171 <column alignment="center" valignment="top" width="0">
37172 <column alignment="center" valignment="top" width="0">
37173 <column alignment="center" valignment="top" width="0">
37175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37178 \begin_layout Plain Layout
37184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37187 \begin_layout Plain Layout
37190 外部素材\SpecialChar \menuseparator
37196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37199 \begin_layout Plain Layout
37202 挿入\SpecialChar \menuseparator
37208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37211 \begin_layout Plain Layout
37225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37228 \begin_layout Plain Layout
37234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37237 \begin_layout Plain Layout
37243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37246 \begin_layout Plain Layout
37252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37255 \begin_layout Plain Layout
37263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37266 \begin_layout Plain Layout
37272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37275 \begin_layout Plain Layout
37281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37284 \begin_layout Plain Layout
37290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37293 \begin_layout Plain Layout
37301 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37304 \begin_layout Plain Layout
37310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37313 \begin_layout Plain Layout
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
37350 \begin_layout Standard
37363 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
37364 \begin_inset Newline newline
37367 LyX中での外部素材は、ダイアログ内の
37376 \begin_inset Graphics
37377 filename clipart/ExternalMaterialQt4.png
37379 scaleBeforeRotation
37383 のようなボックスとして表示されるか、画像として表示されます。
37386 \begin_layout Standard
37393 には、自製のひな型を定義する方法が説明されています。
37396 \begin_layout Section
37398 \begin_inset CommandInset label
37405 \begin_inset Index idx
37408 \begin_layout Plain Layout
37409 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
37415 \begin_inset Index idx
37418 \begin_layout Plain Layout
37419 ふぁいる@ファイル ! いんくるーど@インクルード
37427 \begin_layout Standard
37428 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
37429 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
37430 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
37433 \begin_layout Standard
37434 親文書を開くことなく子文書で作業できるようにするには、子文書の
37438 \SpecialChar \menuseparator
37443 \SpecialChar \menuseparator
37448 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
37451 \begin_layout Standard
37453 \begin_inset Graphics
37454 filename clipart/ChildDocumentQt4.png
37456 scaleBeforeRotation
37460 のようなボックスとして表示されます。子文書を親文書に取り込むには、
37464 \SpecialChar \menuseparator
37469 \SpecialChar \menuseparator
37474 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
37477 \begin_layout Description
37478 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
37486 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
37487 \begin_inset Newline newline
37493 \begin_layout Standard
37499 \begin_inset CommandInset include
37500 LatexCommand include
37501 filename "DummyDocument1.lyx"
37508 \begin_layout Standard
37509 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
37510 あります。取り込んだ文書のラベルは、第
37511 \begin_inset CommandInset ref
37513 reference "sub:外部文書の第1小節"
37517 小節、のように参照することができます。
37520 \begin_layout Standard
37521 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
37522 は、新規頁から始まるように挿入され、改頁して終わります。
37525 \begin_layout Standard
37526 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
37530 \begin_layout Plain Layout
37544 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
37547 \begin_layout Standard
37548 \begin_inset Note Greyedout
37551 \begin_layout Plain Layout
37556 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
37570 \begin_layout Standard
37571 \begin_inset Note Greyedout
37574 \begin_layout Plain Layout
37579 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
37588 \begin_layout Description
37589 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
37593 \begin_layout Itemize
37594 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
37597 \begin_layout Itemize
37598 Inputファイルは、LyX設定の操作性
37600 \SpecialChar \menuseparator
37607 を有効にすると、LyX中でプレビューすることができます。
37610 \begin_layout Itemize
37621 \begin_layout Standard
37627 \begin_inset CommandInset include
37629 filename "DummyDocument2.lyx"
37636 \begin_layout Description
37637 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
37638 に用いられているコマンドは実行されません。
37642 オプションを有効にすると、ソースコード中のすべての空白文字に「
37646 \begin_layout Plain Layout
37657 挿入\SpecialChar \menuseparator
37658 ファイル\SpecialChar \menuseparator
37661 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
37664 \begin_layout Standard
37665 以下は、verbatimとして挿入された子文書です。
37666 \begin_inset CommandInset include
37667 LatexCommand verbatiminput
37668 filename "../DummyTextDocument.txt"
37673 \begin_inset VSpace bigskip
37680 オプションを指定して、verbatimとして挿入された子文書です。
37681 \begin_inset CommandInset include
37682 LatexCommand verbatiminput*
37683 filename "../DummyTextDocument.txt"
37690 \begin_layout Standard
37691 \begin_inset VSpace bigskip
37697 \begin_layout Standard
37698 \begin_inset Note Greyedout
37701 \begin_layout Plain Layout
37710 として取り込んだ文書の文章は、文書行の終わりで改行されません。
37718 \begin_layout Standard
37719 \begin_inset Note Greyedout
37722 \begin_layout Plain Layout
37727 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
37735 \begin_layout Description
37736 プログラムリスト この型については、第
37737 \begin_inset CommandInset ref
37739 reference "cha:プログラムコードリスト"
37746 \begin_layout Standard
37747 \begin_inset Note Greyedout
37750 \begin_layout Plain Layout
37755 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
37763 \begin_layout Chapter
37765 \begin_inset CommandInset label
37767 name "cha:プログラムコードリスト"
37772 \begin_inset Index idx
37775 \begin_layout Plain Layout
37782 \begin_inset Index idx
37785 \begin_layout Plain Layout
37792 \begin_inset Index idx
37795 \begin_layout Plain Layout
37796 ふろーと@フロート ! りすと@リスト
37804 \begin_layout Standard
37805 プログラムコードを取り込んで組版するには、
37809 \SpecialChar \menuseparator
37814 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
37819 \begin_inset Index idx
37822 \begin_layout Plain Layout
37823 LaTeXぱっけーじ@LaTeXパッケージ ! listings
37828 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
37831 \begin_layout Standard
37832 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
37835 \begin_layout Standard
37836 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
37841 \begin_inset listings
37842 lstparams "language={C++}"
37846 \begin_layout Plain Layout
37854 \begin_inset Newline newline
37861 オプションは、プログラムリストフロートを生成するものですが、ここで、第
37862 \begin_inset CommandInset ref
37864 reference "sec:フロートの配置"
37868 節に説明されているフロート配置オプションに従って、「
37884 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
37888 」のように区切りを入れることなく入力することができます。「
37892 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
37896 オプションを使用しなければ大丈夫です。
37899 \begin_layout Standard
37904 \SpecialChar \menuseparator
37909 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
37910 \begin_inset CommandInset ref
37912 reference "lst:リストフロート"
37919 \begin_layout Standard
37920 \begin_inset listings
37921 lstparams "language=Python"
37925 \begin_layout Plain Layout
37927 \begin_inset Caption
37929 \begin_layout Plain Layout
37930 \begin_inset CommandInset label
37936 Example Listing Float
37941 # Example listing float
37944 \begin_layout Plain Layout
37949 \begin_layout Plain Layout
37951 'this is a python function'
37954 \begin_layout Plain Layout
37964 \begin_layout Standard
37965 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
37966 onのキーワード「def」が識別され、ボールド体で出力されます。
37969 \begin_layout Standard
37970 \begin_inset Note Greyedout
37973 \begin_layout Plain Layout
37978 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
37982 フォントがボールド体を提供していません。この場合には、
37986 \SpecialChar \menuseparator
37991 \SpecialChar \menuseparator
37996 メニューで別のフォントを選択してください(
38008 の各フォントはボールド体を提供します)。
38016 \begin_layout Standard
38017 \begin_inset Note Greyedout
38020 \begin_layout Plain Layout
38025 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
38033 \begin_layout Standard
38038 のセクションでは、行番号の様式を指定することができます。
38042 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
38045 \begin_layout Standard
38046 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
38050 オプションを使用しなくてはなりません。
38051 \begin_inset Newline newline
38054 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
38055 \begin_inset space \thinspace{}
38059 \begin_inset space \thinspace{}
38062 8」で設定したプログラムリストの例です。
38065 \begin_layout Standard
38066 \begin_inset listings
38067 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
38071 \begin_layout Plain Layout
38076 \begin_layout Plain Layout
38078 'this is a python function'
38081 \begin_layout Plain Layout
38086 \begin_layout Plain Layout
38091 \begin_layout Plain Layout
38093 'This is a German word: Tschüß'
38096 \begin_layout Plain Layout
38101 \begin_layout Plain Layout
38106 \begin_layout Plain Layout
38108 'this is a python function'
38111 \begin_layout Plain Layout
38121 \begin_layout Standard
38122 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
38129 \begin_layout Standard
38130 \begin_inset Note Greyedout
38133 \begin_layout Plain Layout
38138 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
38147 \begin_layout Standard
38148 \begin_inset VSpace bigskip
38154 \begin_layout Standard
38155 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
38159 \SpecialChar \menuseparator
38164 \SpecialChar \menuseparator
38177 \begin_layout Plain Layout
38178 他の子文書型については、第 section
38179 \begin_inset space ~
38183 \begin_inset CommandInset ref
38185 reference "sec:子文書"
38194 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
38198 \begin_layout Standard
38199 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
38203 \SpecialChar \menuseparator
38208 メニューを使って参照できるようになります。
38211 \begin_layout Standard
38213 \begin_inset CommandInset ref
38215 reference "lst:file-listing"
38219 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
38222 \begin_layout Standard
38223 \begin_inset CommandInset include
38224 LatexCommand lstinputlisting
38225 filename "EmbeddedObjects.lyx"
38226 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
38233 \begin_layout Standard
38234 \begin_inset VSpace bigskip
38240 \begin_layout Standard
38241 リストに数式を入れるには、以下のようにします。
38244 \begin_layout Enumerate
38250 \begin_inset Newline newline
38258 \begin_inset Newline newline
38264 \begin_layout Enumerate
38268 \begin_layout Enumerate
38269 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
38278 \begin_layout Enumerate
38279 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
38288 \begin_layout Standard
38289 \begin_inset listings
38290 lstparams "language=Python,mathescape=true"
38294 \begin_layout Plain Layout
38296 \begin_inset Caption
38298 \begin_layout Plain Layout
38299 Example Listing float containing a formula
38304 # Example listing float
38307 \begin_layout Plain Layout
38312 \begin_layout Plain Layout
38325 \begin_layout Plain Layout
38335 \begin_layout Standard
38336 \begin_inset VSpace bigskip
38342 \begin_layout Standard
38347 \SpecialChar \menuseparator
38352 \SpecialChar \menuseparator
38357 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
38361 フィールドで疑問符「?」を打鍵してください。
38364 \begin_layout Standard
38369 パッケージについての詳しい情報については、取扱説明書
38370 \begin_inset CommandInset citation
38379 \begin_layout Standard
38380 \begin_inset Newpage newpage
38386 \begin_layout Chapter
38389 \begin_inset Index idx
38392 \begin_layout Plain Layout
38399 \begin_inset CommandInset label
38401 name "cha:LyXで使用できる単位"
38408 \begin_layout Standard
38409 この文書で用いられる単位の理解のために、表
38410 \begin_inset CommandInset ref
38416 に、LyXで使うことのできる単位をまとめておきます。
38419 \begin_layout Standard
38420 \begin_inset Float table
38426 \begin_layout Plain Layout
38427 \begin_inset Caption
38429 \begin_layout Plain Layout
38430 \begin_inset CommandInset label
38444 \begin_layout Plain Layout
38445 \begin_inset VSpace medskip
38451 \begin_layout Plain Layout
38453 \begin_inset Tabular
38454 <lyxtabular version="3" rows="20" columns="2">
38455 <features tabularvalignment="middle">
38456 <column alignment="center" valignment="top" width="0">
38457 <column alignment="center" valignment="top" width="0">
38459 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38462 \begin_layout Plain Layout
38468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38471 \begin_layout Plain Layout
38479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38482 \begin_layout Plain Layout
38488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38491 \begin_layout Plain Layout
38499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38502 \begin_layout Plain Layout
38508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38511 \begin_layout Plain Layout
38519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38522 \begin_layout Plain Layout
38528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38531 \begin_layout Plain Layout
38539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38542 \begin_layout Plain Layout
38548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38551 \begin_layout Plain Layout
38553 \begin_inset Formula $\,$
38557 \begin_inset Formula $\,$
38567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38570 \begin_layout Plain Layout
38576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38579 \begin_layout Plain Layout
38581 \begin_inset Formula $\,$
38585 \begin_inset Formula $\,$
38595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38598 \begin_layout Plain Layout
38604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38607 \begin_layout Plain Layout
38609 \begin_inset Formula $\,$
38613 \begin_inset Formula $\,$
38623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38626 \begin_layout Plain Layout
38632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38635 \begin_layout Plain Layout
38637 \begin_inset Formula $\,$
38641 \begin_inset Formula $\,$
38651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38654 \begin_layout Plain Layout
38660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38663 \begin_layout Plain Layout
38665 \begin_inset Formula $\,$
38669 \begin_inset Formula $\approx$
38673 \begin_inset Formula $\,$
38683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38686 \begin_layout Plain Layout
38692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38695 \begin_layout Plain Layout
38697 \begin_inset Formula $\,$
38701 \begin_inset Formula $\,$
38711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38714 \begin_layout Plain Layout
38720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38723 \begin_layout Plain Layout
38731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38734 \begin_layout Plain Layout
38740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38743 \begin_layout Plain Layout
38751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38754 \begin_layout Plain Layout
38760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38763 \begin_layout Plain Layout
38771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38774 \begin_layout Plain Layout
38780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38783 \begin_layout Plain Layout
38791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38794 \begin_layout Plain Layout
38800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38803 \begin_layout Plain Layout
38811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38814 \begin_layout Plain Layout
38820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38823 \begin_layout Plain Layout
38831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38834 \begin_layout Plain Layout
38840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38843 \begin_layout Plain Layout
38851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38854 \begin_layout Plain Layout
38860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38863 \begin_layout Plain Layout
38871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38874 \begin_layout Plain Layout
38880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38883 \begin_layout Plain Layout
38891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38894 \begin_layout Plain Layout
38900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38903 \begin_layout Plain Layout
38905 \begin_inset Formula $\,$
38909 \begin_inset Formula $\,$
38930 \begin_layout Chapter
38932 \begin_inset CommandInset label
38934 name "cha:ファイル出力形式"
38941 \begin_layout Section
38943 \begin_inset Index idx
38946 \begin_layout Plain Layout
38947 ふぁいるしょしき@ファイル書式 ! DVI
38953 \begin_inset Index idx
38956 \begin_layout Plain Layout
38961 \begin_layout Plain Layout
38972 \begin_layout Plain Layout
38987 \begin_layout Standard
38992 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
38993 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
38994 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
38997 \begin_layout Standard
38998 \begin_inset Note Greyedout
39001 \begin_layout Plain Layout
39002 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
39011 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
39012 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
39016 \begin_layout Standard
39021 \SpecialChar \menuseparator
39026 \SpecialChar \menuseparator
39031 メニューを使用して、DVIに書き出すことができます。
39033 You can view your document as DVI via the
39040 \begin_layout Section
39042 \begin_inset CommandInset label
39044 name "sec:PostScript"
39049 \begin_inset Index idx
39052 \begin_layout Plain Layout
39053 ふぁいるしょしき@ファイル書式 ! PostScript
39059 \begin_inset Index idx
39062 \begin_layout Plain Layout
39067 \begin_layout Plain Layout
39078 \begin_layout Plain Layout
39093 \begin_layout Standard
39102 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
39103 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
39107 \begin_layout Plain Layout
39108 これについてもう少し学ぶ気があれば、LaTeXパッケージ
39113 \begin_inset CommandInset citation
39124 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
39127 \begin_layout Standard
39128 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
39132 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
39133 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
39134 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
39135 を直接EPSとして入れておく方がよいでしょう。
39138 \begin_layout Standard
39141 You can export your document to PostScript using the menu
39146 \SpecialChar \menuseparator
39151 \SpecialChar \menuseparator
39158 You can view your document as PostScript via the
39165 \begin_layout Section
39167 \begin_inset Index idx
39170 \begin_layout Plain Layout
39171 ふぁいるしょしき@ファイル書式 ! PDF
39177 \begin_inset Index idx
39180 \begin_layout Plain Layout
39189 \begin_layout Standard
39194 」です。この「Portable Document Format (PDF)」は、
39198 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
39199 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
39202 \begin_layout Standard
39203 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
39211 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
39215 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
39216 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
39220 \begin_layout Standard
39225 \SpecialChar \menuseparator
39230 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
39233 \begin_layout Description
39235 \begin_inset space ~
39242 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
39246 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
39249 \begin_layout Description
39251 \begin_inset space ~
39258 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
39261 \begin_layout Description
39263 \begin_inset space ~
39270 プログラムを使って、現在のファイルを直接PDFに変換します。
39273 \begin_layout Standard
39278 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
39281 \begin_inset space ~
39290 プログラムは開発が停止しており、若干時代遅れになっています。
39293 \begin_layout Standard
39296 You can view your document as PDF via the
39300 menu or by using a toolbar button.
39303 \begin_layout Chapter
39306 List of dvips color names
39307 \begin_inset CommandInset label
39309 name "chap:List-of-dvips-colornames"
39316 \begin_layout Standard
39317 \begin_inset Tabular
39318 <lyxtabular version="3" rows="17" columns="4">
39319 <features tabularvalignment="middle">
39320 <column alignment="left" valignment="top" width="0pt">
39321 <column alignment="left" valignment="top" width="0pt">
39322 <column alignment="left" valignment="top" width="0pt">
39323 <column alignment="left" valignment="top" width="0pt">
39325 <cell alignment="left" valignment="top" usebox="none">
39328 \begin_layout Plain Layout
39332 \begin_layout Plain Layout
39345 \begin_layout Plain Layout
39360 \begin_layout Plain Layout
39374 <cell alignment="left" valignment="top" usebox="none">
39377 \begin_layout Plain Layout
39381 \begin_layout Plain Layout
39394 \begin_layout Plain Layout
39409 \begin_layout Plain Layout
39423 <cell alignment="left" valignment="top" usebox="none">
39426 \begin_layout Plain Layout
39430 \begin_layout Plain Layout
39443 \begin_layout Plain Layout
39458 \begin_layout Plain Layout
39472 <cell alignment="left" valignment="top" usebox="none">
39475 \begin_layout Plain Layout
39479 \begin_layout Plain Layout
39492 \begin_layout Plain Layout
39507 \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
39682 <cell alignment="center" valignment="top" usebox="none">
39685 \begin_layout Plain Layout
39689 \begin_layout Plain Layout
39702 \begin_layout Plain Layout
39710 \begin_inset Phantom Phantom
39713 \begin_layout Plain Layout
39723 \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
39896 <cell alignment="left" valignment="top" usebox="none">
39899 \begin_layout Plain Layout
39903 \begin_layout Plain Layout
39916 \begin_layout Plain Layout
39924 \begin_inset Phantom Phantom
39927 \begin_layout Plain Layout
39937 \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
40110 <cell alignment="left" valignment="top" usebox="none">
40113 \begin_layout Plain Layout
40117 \begin_layout Plain Layout
40130 \begin_layout Plain Layout
40138 \begin_inset Phantom Phantom
40141 \begin_layout Plain Layout
40151 \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
40324 <cell alignment="left" valignment="top" usebox="none">
40327 \begin_layout Plain Layout
40331 \begin_layout Plain Layout
40344 \begin_layout Plain Layout
40352 \begin_inset Phantom Phantom
40355 \begin_layout Plain Layout
40365 \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
40538 <cell alignment="left" valignment="top" usebox="none">
40541 \begin_layout Plain Layout
40545 \begin_layout Plain Layout
40558 \begin_layout Plain Layout
40566 \begin_inset Phantom Phantom
40569 \begin_layout Plain Layout
40579 \begin_layout Plain Layout
40593 <cell alignment="center" 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="center" 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="center" 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
40752 <cell alignment="center" valignment="top" usebox="none">
40755 \begin_layout Plain Layout
40759 \begin_layout Plain Layout
40772 \begin_layout Plain Layout
40780 \begin_inset Phantom Phantom
40783 \begin_layout Plain Layout
40793 \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
40966 <cell alignment="left" valignment="top" usebox="none">
40969 \begin_layout Plain Layout
40973 \begin_layout Plain Layout
40986 \begin_layout Plain Layout
40994 \begin_inset Phantom Phantom
40997 \begin_layout Plain Layout
41007 \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
41180 <cell alignment="left" valignment="top" usebox="none">
41183 \begin_layout Plain Layout
41187 \begin_layout Plain Layout
41200 \begin_layout Plain Layout
41208 \begin_inset Phantom Phantom
41211 \begin_layout Plain Layout
41221 \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
41394 <cell alignment="left" valignment="top" usebox="none">
41397 \begin_layout Plain Layout
41401 \begin_layout Plain Layout
41414 \begin_layout Plain Layout
41422 \begin_inset Phantom Phantom
41425 \begin_layout Plain Layout
41435 \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
41608 <cell alignment="left" valignment="top" usebox="none">
41611 \begin_layout Plain Layout
41615 \begin_layout Plain Layout
41628 \begin_layout Plain Layout
41636 \begin_inset Phantom Phantom
41639 \begin_layout Plain Layout
41649 \begin_layout Plain Layout
41663 <cell alignment="left" valignment="top" usebox="none">
41666 \begin_layout Plain Layout
41670 \begin_layout Plain Layout
41683 \begin_layout Plain Layout
41691 \begin_inset Phantom Phantom
41694 \begin_layout Plain Layout
41704 \begin_layout Plain Layout
41716 <cell alignment="left" valignment="top" usebox="none">
41719 \begin_layout Plain Layout
41723 \begin_layout Plain Layout
41736 \begin_layout Plain Layout
41744 \begin_inset Phantom Phantom
41747 \begin_layout Plain Layout
41757 \begin_layout Plain Layout
41769 <cell alignment="left" valignment="top" usebox="none">
41772 \begin_layout Plain Layout
41776 \begin_layout Plain Layout
41789 \begin_layout Plain Layout
41797 \begin_inset Phantom Phantom
41800 \begin_layout Plain Layout
41810 \begin_layout Plain Layout
41822 <cell alignment="left" valignment="top" usebox="none">
41825 \begin_layout Plain Layout
41829 \begin_layout Plain Layout
41842 \begin_layout Plain Layout
41850 \begin_inset Phantom Phantom
41853 \begin_layout Plain Layout
41863 \begin_layout Plain Layout
41877 <cell alignment="left" valignment="top" usebox="none">
41880 \begin_layout Plain Layout
41884 \begin_layout Plain Layout
41897 \begin_layout Plain Layout
41905 \begin_inset Phantom Phantom
41908 \begin_layout Plain Layout
41918 \begin_layout Plain Layout
41930 <cell alignment="left" valignment="top" usebox="none">
41933 \begin_layout Plain Layout
41937 \begin_layout Plain Layout
41950 \begin_layout Plain Layout
41958 \begin_inset Phantom Phantom
41961 \begin_layout Plain Layout
41971 \begin_layout Plain Layout
41983 <cell alignment="left" valignment="top" usebox="none">
41986 \begin_layout Plain Layout
41990 \begin_layout Plain Layout
42003 \begin_layout Plain Layout
42011 \begin_inset Phantom Phantom
42014 \begin_layout Plain Layout
42024 \begin_layout Plain Layout
42036 <cell alignment="left" valignment="top" usebox="none">
42039 \begin_layout Plain Layout
42043 \begin_layout Plain Layout
42056 \begin_layout Plain Layout
42064 \begin_inset Phantom Phantom
42067 \begin_layout Plain Layout
42077 \begin_layout Plain Layout
42091 <cell alignment="left" valignment="top" usebox="none">
42094 \begin_layout Plain Layout
42098 \begin_layout Plain Layout
42111 \begin_layout Plain Layout
42119 \begin_inset Phantom Phantom
42122 \begin_layout Plain Layout
42132 \begin_layout Plain Layout
42144 <cell alignment="left" valignment="top" usebox="none">
42147 \begin_layout Plain Layout
42151 \begin_layout Plain Layout
42164 \begin_layout Plain Layout
42172 \begin_inset Phantom Phantom
42175 \begin_layout Plain Layout
42185 \begin_layout Plain Layout
42197 <cell alignment="left" valignment="top" usebox="none">
42200 \begin_layout Plain Layout
42204 \begin_layout Plain Layout
42217 \begin_layout Plain Layout
42225 \begin_inset Phantom Phantom
42228 \begin_layout Plain Layout
42238 \begin_layout Plain Layout
42250 <cell alignment="left" valignment="top" usebox="none">
42253 \begin_layout Plain Layout
42257 \begin_layout Plain Layout
42270 \begin_layout Plain Layout
42278 \begin_inset Phantom Phantom
42281 \begin_layout Plain Layout
42291 \begin_layout Plain Layout
42305 <cell alignment="left" valignment="top" usebox="none">
42308 \begin_layout Plain Layout
42312 \begin_layout Plain Layout
42325 \begin_layout Plain Layout
42333 \begin_inset Phantom Phantom
42336 \begin_layout Plain Layout
42346 \begin_layout Plain Layout
42358 <cell alignment="left" valignment="top" usebox="none">
42361 \begin_layout Plain Layout
42365 \begin_layout Plain Layout
42378 \begin_layout Plain Layout
42386 \begin_inset Phantom Phantom
42389 \begin_layout Plain Layout
42399 \begin_layout Plain Layout
42411 <cell alignment="left" valignment="top" usebox="none">
42414 \begin_layout Plain Layout
42418 \begin_layout Plain Layout
42431 \begin_layout Plain Layout
42439 \begin_inset Phantom Phantom
42442 \begin_layout Plain Layout
42452 \begin_layout Plain Layout
42464 <cell alignment="left" valignment="top" usebox="none">
42467 \begin_layout Plain Layout
42471 \begin_layout Plain Layout
42484 \begin_layout Plain Layout
42492 \begin_inset Phantom Phantom
42495 \begin_layout Plain Layout
42505 \begin_layout Plain Layout
42519 <cell alignment="left" valignment="top" usebox="none">
42522 \begin_layout Plain Layout
42526 \begin_layout Plain Layout
42539 \begin_layout Plain Layout
42547 \begin_inset Phantom Phantom
42550 \begin_layout Plain Layout
42560 \begin_layout Plain Layout
42572 <cell alignment="left" valignment="top" usebox="none">
42575 \begin_layout Plain Layout
42579 \begin_layout Plain Layout
42592 \begin_layout Plain Layout
42600 \begin_inset Phantom Phantom
42603 \begin_layout Plain Layout
42613 \begin_layout Plain Layout
42625 <cell alignment="left" valignment="top" usebox="none">
42628 \begin_layout Plain Layout
42632 \begin_layout Plain Layout
42645 \begin_layout Plain Layout
42653 \begin_inset Phantom Phantom
42656 \begin_layout Plain Layout
42666 \begin_layout Plain Layout
42678 <cell alignment="left" valignment="top" usebox="none">
42681 \begin_layout Plain Layout
42685 \begin_layout Plain Layout
42698 \begin_layout Plain Layout
42706 \begin_inset Phantom Phantom
42709 \begin_layout Plain Layout
42719 \begin_layout Plain Layout
42733 <cell alignment="left" valignment="top" usebox="none">
42736 \begin_layout Plain Layout
42740 \begin_layout Plain Layout
42753 \begin_layout Plain Layout
42761 \begin_inset Phantom Phantom
42764 \begin_layout Plain Layout
42774 \begin_layout Plain Layout
42786 <cell alignment="left" valignment="top" usebox="none">
42789 \begin_layout Plain Layout
42795 <cell alignment="left" valignment="top" usebox="none">
42798 \begin_layout Plain Layout
42804 <cell alignment="left" valignment="top" usebox="none">
42807 \begin_layout Plain Layout
42821 \begin_layout Chapter
42823 \begin_inset CommandInset ref
42830 \begin_inset CommandInset label
42839 \begin_layout Standard
42840 \begin_inset Formula $n$
42844 \begin_inset Formula $W_{\mathrm{tot\, n}}$
42848 \begin_inset Formula
42850 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
42858 \begin_layout Standard
42860 \begin_inset Formula $W_{g\, n}$
42869 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
42870 \begin_inset space \thinspace{}
42880 \begin_inset space \thinspace{}
42886 \begin_layout Standard
42888 \begin_inset CommandInset ref
42890 reference "eq:Wtot_n"
42895 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
42899 \begin_inset Formula
42901 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
42909 \begin_layout Standard
42911 \begin_inset Formula $n$
42915 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
42919 \begin_inset CommandInset ref
42921 reference "eq:Wtot_n"
42926 \begin_inset CommandInset ref
42928 reference "eq:Wtot_mult"
42932 式が等しいものと置けば、必要となる固定幅
42933 \begin_inset Formula $W_{g\, n}$
42937 \begin_inset Formula
42939 W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
42947 \begin_layout Bibliography
42948 \labelwidthstring 参考文献
42949 \begin_inset CommandInset bibitem
42950 LatexCommand bibitem
42951 key "latexcompanion"
42955 Frank Mittelbach and Michel Goossens:
42957 The LaTeX Companion Second Edition.
42960 Addison-Wesley, 2004
42963 \begin_layout Bibliography
42964 \labelwidthstring 参考文献
42965 \begin_inset CommandInset bibitem
42966 LatexCommand bibitem
42971 Helmut Kopka and Patrick W.
42974 A Guide to LaTeX Fourth Edition.
42977 Addison-Wesley, 2003
42980 \begin_layout Bibliography
42981 \labelwidthstring 参考文献
42982 \begin_inset CommandInset bibitem
42983 LatexCommand bibitem
42990 LaTeX: A Document Preparation System.
42993 Addison-Wesley, second edition, 1994
42996 \begin_layout Bibliography
42997 \labelwidthstring 参考文献
42998 \begin_inset CommandInset bibitem
42999 LatexCommand bibitem
43007 \begin_inset CommandInset href
43010 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
43017 \begin_inset Index idx
43020 \begin_layout Plain Layout
43021 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
43029 \begin_layout Bibliography
43030 \labelwidthstring 参考文献
43031 \begin_inset CommandInset bibitem
43032 LatexCommand bibitem
43040 \begin_inset CommandInset href
43043 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
43050 \begin_inset Index idx
43053 \begin_layout Plain Layout
43054 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
43062 \begin_layout Bibliography
43063 \labelwidthstring 参考文献
43064 \begin_inset CommandInset bibitem
43065 LatexCommand bibitem
43073 \begin_inset CommandInset href
43076 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
43083 \begin_inset Index idx
43086 \begin_layout Plain Layout
43087 LaTeXぱっけーじ@LaTeXパッケージ ! caption
43095 \begin_layout Bibliography
43096 \labelwidthstring 参考文献
43097 \begin_inset CommandInset bibitem
43098 LatexCommand bibitem
43106 \begin_inset CommandInset href
43109 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
43116 \begin_inset Index idx
43119 \begin_layout Plain Layout
43120 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
43128 \begin_layout Bibliography
43129 \labelwidthstring 参考文献
43130 \begin_inset CommandInset bibitem
43131 LatexCommand bibitem
43139 \begin_inset CommandInset href
43142 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
43149 \begin_inset Index idx
43152 \begin_layout Plain Layout
43153 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
43161 \begin_layout Bibliography
43162 \labelwidthstring 参考文献
43163 \begin_inset CommandInset bibitem
43164 LatexCommand bibitem
43172 \begin_inset CommandInset href
43175 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
43182 \begin_inset Index idx
43185 \begin_layout Plain Layout
43186 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
43194 \begin_layout Bibliography
43195 \labelwidthstring 参考文献
43196 \begin_inset CommandInset bibitem
43197 LatexCommand bibitem
43205 \begin_inset CommandInset href
43208 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
43215 \begin_inset Index idx
43218 \begin_layout Plain Layout
43219 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
43227 \begin_layout Bibliography
43228 \labelwidthstring 参考文献
43229 \begin_inset CommandInset bibitem
43230 LatexCommand bibitem
43238 \begin_inset CommandInset href
43241 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
43248 \begin_inset Index idx
43251 \begin_layout Plain Layout
43252 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
43260 \begin_layout Bibliography
43261 \labelwidthstring 参考文献
43262 \begin_inset CommandInset bibitem
43263 LatexCommand bibitem
43271 \begin_inset CommandInset href
43274 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
43281 \begin_inset Index idx
43284 \begin_layout Plain Layout
43285 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
43293 \begin_layout Bibliography
43294 \labelwidthstring 参考文献
43295 \begin_inset CommandInset bibitem
43296 LatexCommand bibitem
43304 \begin_inset CommandInset href
43307 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
43318 \begin_inset CommandInset href
43321 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
43326 \begin_inset Index idx
43329 \begin_layout Plain Layout
43330 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
43338 \begin_layout Bibliography
43339 \labelwidthstring 参考文献
43340 \begin_inset CommandInset bibitem
43341 LatexCommand bibitem
43349 \begin_inset CommandInset href
43352 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
43359 \begin_inset Index idx
43362 \begin_layout Plain Layout
43363 LaTeXぱっけーじ@LaTeXパッケージ ! listings
43371 \begin_layout Bibliography
43372 \labelwidthstring 参考文献
43373 \begin_inset CommandInset bibitem
43374 LatexCommand bibitem
43382 \begin_inset CommandInset href
43385 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
43392 \begin_inset Index idx
43395 \begin_layout Plain Layout
43396 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
43404 \begin_layout Bibliography
43405 \labelwidthstring 参考文献
43406 \begin_inset CommandInset bibitem
43407 LatexCommand bibitem
43415 \begin_inset CommandInset href
43418 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
43425 \begin_inset Index idx
43428 \begin_layout Plain Layout
43429 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
43437 \begin_layout Bibliography
43438 \labelwidthstring 参考文献
43439 \begin_inset CommandInset bibitem
43440 LatexCommand bibitem
43448 \begin_inset CommandInset href
43451 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
43458 \begin_inset Index idx
43461 \begin_layout Plain Layout
43462 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
43470 \begin_layout Bibliography
43471 \labelwidthstring 参考文献
43472 \begin_inset CommandInset bibitem
43473 LatexCommand bibitem
43481 \begin_inset CommandInset href
43484 target "http://tug.org/PSTricks/"
43491 \begin_inset Index idx
43494 \begin_layout Plain Layout
43495 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
43503 \begin_layout Bibliography
43504 \labelwidthstring 参考文献
43505 \begin_inset CommandInset bibitem
43506 LatexCommand bibitem
43514 \begin_inset CommandInset href
43517 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
43524 \begin_inset Index idx
43527 \begin_layout Plain Layout
43528 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
43536 \begin_layout Bibliography
43537 \labelwidthstring 参考文献
43538 \begin_inset CommandInset bibitem
43539 LatexCommand bibitem
43547 \begin_inset CommandInset href
43550 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
43557 \begin_inset Index idx
43560 \begin_layout Plain Layout
43561 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
43569 \begin_layout Bibliography
43570 \labelwidthstring 参考文献
43571 \begin_inset CommandInset bibitem
43572 LatexCommand bibitem
43582 \begin_inset CommandInset href
43585 target "http://wiki.lyx.org/LyX/NewInLyX20"
43592 \begin_layout Standard
43593 \begin_inset CommandInset index_print
43594 LatexCommand printindex