1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 %% Added by the translator
8 % Correction for PDF bookmarks
9 %\usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,bookmarkstype=toc]{hyperref}
10 \ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else
11 \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi
17 % set fonts for nicer pdf view
18 \IfFileExists{lmodern.sty}
19 {\usepackage{lmodern}}{}
21 \fi % end if pdflatex is used
23 % that links to image floats jumps
24 % to the beginning of the float and
26 \usepackage[figure]{hypcap}
28 % the pages of the TOC is numbered roman
29 % and a PDF-bookmark for the TOC is added
30 \let\myTOC\tableofcontents
31 \renewcommand\tableofcontents{%
33 \pdfbookmark[1]{\contentsname}{}
37 % provides caption formatting
38 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
40 % provides commands to set caption
41 % beside tables/images
42 \newcommand{\TabBesBeg}[1][1.0]{%
44 \let\MyEndtable\endtable
45 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
47 \newcommand{\TabBesEnd}{%
49 \let\endtable\MyEndtable}
51 \newcommand{\FigBesBeg}[1][1.0]{%
53 \let\MyEndfigure\endfigure
54 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
56 \newcommand{\FigBesEnd}{%
58 \let\endfigure\MyEndfigure}
60 % enables calculation of values,
63 % increase the bottom float placement fraction
64 \renewcommand{\bottomfraction}{0.5}
66 % avoids that floats are placed before their
67 % corresponding section starts
68 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
70 % speed up the longtable calculation
71 \setcounter{LTchunksize}{100}
73 % used for scaled and rotated boxes
74 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
76 % used for colored tables
77 \@ifundefined{textcolor}
78 {\usepackage{color}}{}
79 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
80 \definecolor{lightgrey}{gray}{0.8}
82 % check for package colortbl
83 % used for colored table cells
85 \IfFileExists{colortbl.sty}
86 {\usepackage{colortbl}
87 \setboolean{colortbl}{true}}
88 {\setboolean{colortbl}{false}}
90 % used for colored table rows
91 \usepackage[table]{xcolor}
93 % used to have extra space in table cells
94 \@ifundefined{extrarowheight}
95 {\usepackage{array}}{}
96 \setlength{\extrarowheight}{2pt}
98 % used for customized tables
101 {>{\centering\hspace{0pt}}m{#1}}
104 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
107 {>{\columncolor{#1}\hspace{0pt}}c}
109 \newcolumntype{V}{!{\vrule width 1.5pt}}
111 \newcolumntype{W}{!{\color{green}\vline}}
114 % insert additional vertical space of
115 % 1.5 mm between footnotes
117 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
119 % number algorithm floats within chapters
120 \numberwithin{algorithm}{chapter}
123 % ------------------------------------
124 % used to check for needed LaTeX packages
127 % check for package arydshln
128 % used for tables with dashed lines
129 \newboolean{arydshln}
130 \IfFileExists{arydshln.sty}
131 {\usepackage{arydshln}
132 \setboolean{arydshln}{true}}
133 {\setboolean{arydshln}{false}}
135 % check for package marginnote
136 % used for margin notes
137 \newboolean{marginnote}
138 \IfFileExists{marginnote.sty}
139 {\usepackage{marginnote}
140 \let\marginpar\marginnote
141 \setboolean{marginnote}{true}}
142 {\setboolean{marginnote}{false}}
144 % check for package sidecap
145 % used for captions on the side
147 \IfFileExists{sidecap.sty}
148 {% \usepackage{sidecap} % This breaks title fonts with pLaTeX
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 bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
182 \use_default_options false
186 \maintain_unincluded_children false
188 InsetLayout Flex:Ruby
194 Decoration Conglomerate
197 MenuString "ルビ文(S)|S"
198 Decoration Conglomerate
208 \IfFileExists{okumacro.sty}
209 {\usepackage{okumacro}}
210 {\newcommand{\ruby}[2]{#2}}
215 \language_package default
220 \font_typewriter default
222 \font_default_family default
223 \use_non_tex_fonts false
229 \default_output_format default
231 \bibtex_command default
232 \index_command default
236 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
237 \pdf_author "LyX Team, Uwe Stohr"
238 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
239 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
241 \pdf_bookmarksnumbered true
242 \pdf_bookmarksopen true
243 \pdf_bookmarksopenlevel 1
244 \pdf_breaklinks false
248 \pdf_pdfusetitle false
249 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
252 \use_package amsmath 2
253 \use_package amssymb 2
254 \use_package cancel 0
256 \use_package mathdots 1
257 \use_package mathtools 0
258 \use_package mhchem 1
259 \use_package stackrel 0
260 \use_package stmaryrd 0
261 \use_package undertilde 0
263 \cite_engine_type default
267 \paperorientation portrait
271 \notefontcolor #0000ff
282 \paragraph_separation skip
284 \quotes_language english
287 \paperpagestyle default
291 \tracking_changes false
292 \output_changes false
295 \html_be_strict false
301 LyXの図表・フロート・注釈・ボックス・外部素材に関する詳細説明書
309 \begin_layout Plain Layout
311 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
312 \begin_inset CommandInset href
314 name "lyx-docs@lists.lyx.org"
315 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
326 \begin_inset Note Note
329 \begin_layout Plain Layout
336 \begin_inset Newline newline
340 \begin_inset Newline newline
348 \begin_layout Standard
349 \begin_inset CommandInset toc
350 LatexCommand tableofcontents
357 \begin_layout Standard
358 \begin_inset Note Note
361 \begin_layout Plain Layout
362 本文書の全体をPDFやPS、DVIに書き出すには、
390 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
394 \begin_layout Plain Layout
396 \begin_inset Newline newline
401 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
404 \begin_inset Newline newline
415 \begin_layout Chapter
417 \begin_inset Index idx
420 \begin_layout Plain Layout
427 \begin_inset Index idx
430 \begin_layout Plain Layout
435 \begin_layout Plain Layout
446 \begin_layout Plain Layout
461 \begin_layout Section
463 \begin_inset Index idx
466 \begin_layout Plain Layout
467 ず@図 ! がぞうだいあろぐ@画像ダイアログ
473 \begin_inset CommandInset label
482 \begin_layout Standard
483 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
488 arg "dialog-show-new-inset graphics"
495 挿入\SpecialChar \menuseparator
498 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
501 \begin_layout Standard
502 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
505 \begin_layout Description
510 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
511 \begin_inset CommandInset ref
513 reference "cha:LyXで使用できる単位"
518 \begin_inset Newline newline
522 \begin_inset Index idx
525 \begin_layout Plain Layout
531 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
532 \begin_inset Newline newline
536 \begin_inset Index idx
539 \begin_layout Plain Layout
545 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
546 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
550 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
551 \begin_inset Newline newline
554 画像を右クリックすると現れるコンテクストメニューで
558 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
562 \begin_layout Description
567 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
571 ボタンを押すことによって、自動的に計算することもできます。
575 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
578 \begin_layout Description
583 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
586 \begin_inset Newline newline
591 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
594 \begin_inset Newline newline
603 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
605 \begin_inset Newline newline
608 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
609 \begin_inset CommandInset ref
611 reference "sec:PostScript"
615 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
616 \begin_inset Newline newline
624 \begin_inset Newline newline
629 zgrep %%Bounding x.eps.gz > x.eps.bb
632 \begin_inset Newline newline
635 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
636 \begin_inset Newline newline
643 のセクションでは、画像設定グループを定義したり、既存のものに所属させたりすることができます。
644 \begin_inset Index idx
647 \begin_layout Plain Layout
648 ず@図 ! せっていぐるーぷ@設定グループ
653 これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。したが
654 って、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュー
655 を使用して、望むグループ名をチェックすることで行うこともできます。
658 \begin_layout Standard
659 \begin_inset VSpace bigskip
665 \begin_layout Standard
670 \begin_layout Plain Layout
672 \begin_inset CommandInset ref
683 の画像の例で、単独の中央揃えの段落に置いてあります。
686 \begin_layout Standard
688 \begin_inset Graphics
689 filename ../clipart/mobius.eps
699 \begin_layout Standard
700 下記は上と同じ画像ですが、下書きモードのものです。
703 \begin_layout Standard
705 \begin_inset Graphics
706 filename ../clipart/mobius.eps
717 \begin_layout Standard
718 \begin_inset Newpage newpage
724 \begin_layout Section
726 \begin_inset CommandInset label
733 \begin_inset Index idx
736 \begin_layout Plain Layout
743 \begin_inset Index idx
746 \begin_layout Plain Layout
755 \begin_layout Standard
757 \begin_inset CommandInset ref
759 reference "sec:フロートはじめに"
766 \begin_layout Standard
772 arg "float-insert figure"
779 挿入\SpecialChar \menuseparator
780 フロート\SpecialChar \menuseparator
783 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
784 \begin_inset CommandInset ref
786 reference "fig:犠牲のカモノハシ"
790 のようにキャプションの上に置くこともできますし、図
791 \begin_inset CommandInset ref
793 reference "fig:エッシャー"
797 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
798 \begin_inset CommandInset ref
800 reference "sec:キャプションの配置"
807 \begin_layout Standard
808 \begin_inset Float figure
813 \begin_layout Plain Layout
815 \begin_inset Graphics
816 filename ../clipart/platypus.eps
826 \begin_layout Plain Layout
827 \begin_inset Caption Standard
829 \begin_layout Plain Layout
830 \begin_inset CommandInset label
849 \begin_layout Standard
850 \begin_inset Float figure
855 \begin_layout Plain Layout
856 \begin_inset Caption Standard
858 \begin_layout Plain Layout
859 \begin_inset CommandInset label
873 \begin_layout Plain Layout
875 \begin_inset Graphics
876 filename ../clipart/escher-lsd.eps
891 \begin_layout Standard
892 \begin_inset Index idx
895 \begin_layout Plain Layout
896 さんしょう@参照 ! ずへの@図への ---
902 \begin_inset CommandInset ref
904 reference "fig:犠牲のカモノハシ"
909 \begin_inset CommandInset ref
911 reference "fig:エッシャー"
915 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
917 挿入\SpecialChar \menuseparator
930 を使用して、キャプションにラベルを挿入してください。その後、
932 挿入\SpecialChar \menuseparator
940 arg "dialog-show-new-inset ref"
945 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
946 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
947 \begin_inset Newline newline
951 \begin_inset CommandInset ref
953 reference "sec:フロートの参照"
960 \begin_layout Standard
961 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
962 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
963 \begin_inset CommandInset ref
965 reference "fig:歪められた二つの像"
969 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
970 \begin_inset CommandInset ref
972 reference "fig:何かわからない構造"
977 \begin_inset CommandInset ref
979 reference "fig:カモノハシ"
986 \begin_layout Standard
987 \begin_inset Float figure
992 \begin_layout Plain Layout
993 \begin_inset space \hfill{}
997 \begin_inset Float figure
1002 \begin_layout Plain Layout
1003 \begin_inset Caption Standard
1005 \begin_layout Plain Layout
1006 \begin_inset CommandInset label
1008 name "fig:何かわからない構造"
1020 \begin_layout Plain Layout
1021 \begin_inset Graphics
1022 filename ../clipart/escher-lsd.eps
1035 \begin_inset space \hfill{}
1039 \begin_inset Float figure
1044 \begin_layout Plain Layout
1045 \begin_inset Caption Standard
1047 \begin_layout Plain Layout
1048 \begin_inset CommandInset label
1062 \begin_layout Plain Layout
1063 \begin_inset Graphics
1064 filename ../clipart/platypus.eps
1077 \begin_inset space \hfill{}
1083 \begin_layout Plain Layout
1084 \begin_inset Caption Standard
1086 \begin_layout Plain Layout
1087 \begin_inset CommandInset label
1089 name "fig:歪められた二つの像"
1093 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1106 \begin_layout Standard
1107 \begin_inset Newpage newpage
1113 \begin_layout Section
1115 \begin_inset CommandInset label
1122 \begin_inset Index idx
1125 \begin_layout Plain Layout
1132 \begin_inset Index idx
1135 \begin_layout Plain Layout
1144 \begin_layout Standard
1145 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1146 \begin_inset CommandInset ref
1148 reference "cha:ファイル出力形式"
1152 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1157 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル形式に直接埋め込める画像形式のみを使
1158 用するとよいでしょう。出力ファイル形式は、付録
1159 \begin_inset CommandInset ref
1161 reference "cha:ファイル出力形式"
1168 \begin_layout Standard
1169 フォントと同じく、画像形式にも以下の二つの型があります。
1172 \begin_layout Description
1173 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1174 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1179 \begin_inset Index idx
1182 \begin_layout Plain Layout
1187 \begin_layout Plain Layout
1198 \begin_layout Plain Layout
1210 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1215 \begin_inset Index idx
1218 \begin_layout Plain Layout
1223 \begin_layout Plain Layout
1234 \begin_layout Plain Layout
1246 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1255 \begin_inset Index idx
1258 \begin_layout Plain Layout
1263 \begin_layout Plain Layout
1274 \begin_layout Plain Layout
1289 \begin_layout Description
1290 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1291 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1293 \begin_inset Newline newline
1296 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1301 \begin_inset Index idx
1304 \begin_layout Plain Layout
1309 \begin_layout Plain Layout
1320 \begin_layout Plain Layout
1332 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1337 \begin_inset Index idx
1340 \begin_layout Plain Layout
1345 \begin_layout Plain Layout
1356 \begin_layout Plain Layout
1368 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1373 \begin_inset Index idx
1376 \begin_layout Plain Layout
1382 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1387 \begin_inset Index idx
1390 \begin_layout Plain Layout
1395 \begin_layout Plain Layout
1406 \begin_layout Plain Layout
1418 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1419 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1423 \begin_layout Plain Layout
1424 PDFの場合には、さらに元画像が圧縮されます。
1433 が生成するPDFファイルは、ビットマップ画像です。
1436 \begin_layout Standard
1437 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1438 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1439 \begin_inset Formula $\to$
1442 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1445 \begin_layout Chapter
1447 \begin_inset Index idx
1450 \begin_layout Plain Layout
1459 \begin_layout Section
1461 \begin_inset Index idx
1464 \begin_layout Plain Layout
1473 \begin_layout Standard
1495 arg "tabular-insert"
1516 挿入\SpecialChar \menuseparator
1519 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1520 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1521 \begin_inset Newline newline
1524 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1525 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1528 \begin_layout Standard
1530 \begin_inset Tabular
1531 <lyxtabular version="3" rows="4" columns="4">
1532 <features rotate="0" tabularvalignment="middle">
1533 <column alignment="center" valignment="top">
1534 <column alignment="center" valignment="top">
1535 <column alignment="center" valignment="top">
1536 <column alignment="center" valignment="top">
1538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1541 \begin_layout Plain Layout
1547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1550 \begin_layout Plain Layout
1556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1559 \begin_layout Plain Layout
1565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1568 \begin_layout Plain Layout
1576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1579 \begin_layout Plain Layout
1585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1588 \begin_layout Plain Layout
1594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1597 \begin_layout Plain Layout
1603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1606 \begin_layout Plain Layout
1614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1617 \begin_layout Plain Layout
1623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1626 \begin_layout Plain Layout
1632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1635 \begin_layout Plain Layout
1641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1644 \begin_layout Plain Layout
1652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1655 \begin_layout Plain Layout
1661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1664 \begin_layout Plain Layout
1670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1673 \begin_layout Plain Layout
1679 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1682 \begin_layout Plain Layout
1696 \begin_layout Section
1698 \begin_inset Index idx
1701 \begin_layout Plain Layout
1710 \begin_layout Standard
1720 表を右クリックすると、文脈依存メニューが表示されて、表を変更することができます。メニュー項目
1738 以下では、現在カーソルが置かれているセルないし行・列の設定を調節することができます。文脈依存メニュー
1747 詳細\SpecialChar \menuseparator
1757 を選ぶと、ダイアログボックスが開いて、更に詳細な設定を行うことができます。また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセ
1758 ルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1771 を選択するのと、セル自体を選択するのは異なることに注意して下さい。
1772 \begin_inset Newline newline
1779 を使用すると、ダイアログ中に行った変更が直ちに適用されるようになります。カーソルを別のセルに移動すると、ダイアログも新しいセルのパラメーターに更新されます。ダイ
1780 アログ中の長さの値を変更した場合には、リターンを押さないと変更が適用されません。
1781 \begin_inset Newline newline
1784 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1787 \begin_layout Description
1792 ここでは、現在列の幅と水平揃えを設定することができます。
1797 \begin_inset CommandInset ref
1799 reference "sub:特殊なセル揃え"
1803 で説明されています。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関して
1805 \begin_inset CommandInset ref
1811 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1812 \begin_inset Newline newline
1815 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1816 \begin_inset CommandInset ref
1822 節をご参照下さい。あるいは同一列のセルを連結行セルとして指定することもできます。これについては、第
1823 \begin_inset CommandInset ref
1830 \begin_inset Newline newline
1833 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1834 \begin_inset Newline newline
1838 \begin_inset Note Greyedout
1841 \begin_layout Plain Layout
1846 DVIビューアのすべてが回転を表示できるわけではありません。
1852 \begin_inset Newline newline
1855 下記は、本文行中の表に、表全体の垂直揃えを適用したものです。
1856 \begin_inset Newline newline
1860 \begin_inset Tabular
1861 <lyxtabular version="3" rows="2" columns="2">
1862 <features rotate="0" tabularvalignment="top">
1863 <column alignment="center" valignment="top" width="0pt">
1864 <column alignment="center" valignment="top">
1866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1869 \begin_layout Plain Layout
1875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1878 \begin_layout Plain Layout
1886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1889 \begin_layout Plain Layout
1895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1898 \begin_layout Plain Layout
1910 \begin_inset Tabular
1911 <lyxtabular version="3" rows="2" columns="2">
1912 <features rotate="0" tabularvalignment="middle">
1913 <column alignment="center" valignment="top">
1914 <column alignment="center" valignment="top">
1916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1919 \begin_layout Plain Layout
1925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1928 \begin_layout Plain Layout
1936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1939 \begin_layout Plain Layout
1945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1948 \begin_layout Plain Layout
1960 \begin_inset Tabular
1961 <lyxtabular version="3" rows="2" columns="2">
1962 <features rotate="0" tabularvalignment="bottom">
1963 <column alignment="center" valignment="top" width="0pt">
1964 <column alignment="center" valignment="top">
1966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1969 \begin_layout Plain Layout
1975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1978 \begin_layout Plain Layout
1986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1989 \begin_layout Plain Layout
1995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1998 \begin_layout Plain Layout
2010 \begin_inset Newline newline
2013 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
2014 \begin_inset CommandInset ref
2016 reference "sub:連結列の計算"
2021 \begin_inset CommandInset ref
2023 reference "sec:色付きの表"
2030 \begin_layout Description
2035 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
2036 \begin_inset Newline newline
2044 \begin_inset CommandInset ref
2046 reference "sec:フォーマル形式の表"
2050 節に述べられているフォーマル様式の表に表を変換します。
2051 \begin_inset Newline newline
2055 \begin_inset CommandInset ref
2057 reference "sub:行の余白取り"
2061 節に述べられているように、表の行に空白を追加することもできます。
2064 \begin_layout Description
2069 このタブは、複数のページにわたる、いわゆる「
2074 \begin_inset CommandInset ref
2081 \begin_inset CommandInset ref
2083 reference "sec:長尺表にまつわる諸点"
2087 節に、長尺表の機能に関する詳細な説明があります。
2090 \begin_layout Section
2092 \begin_inset Index idx
2095 \begin_layout Plain Layout
2104 \begin_layout Standard
2105 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
2106 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
2109 \begin_layout Standard
2110 ツールバーには、以下のアイコンがあります。
2113 \begin_layout Labeling
2114 \labelwidthstring 00.00.0000
2119 arg "inset-modify tabular append-row"
2124 は、現在セルあるいは選択範囲の下に行を追加します。
2127 \begin_layout Labeling
2128 \labelwidthstring 00.00.0000
2133 arg "inset-modify tabular append-column"
2138 は、現在セルあるいは選択範囲の右に列を追加します。
2141 \begin_layout Labeling
2142 \labelwidthstring 00.00.0000
2147 arg "inset-modify tabular delete-row"
2152 は、現在行あるいは選択範囲行を削除します。
2155 \begin_layout Labeling
2156 \labelwidthstring 00.00.0000
2161 arg "inset-modify tabular delete-column"
2166 は、現在列あるいは選択範囲列を削除します。
2169 \begin_layout Labeling
2170 \labelwidthstring 00.00.0000
2173 arg "inset-modify tabular move-row-up"
2179 \begin_layout Labeling
2180 \labelwidthstring 00.00.0000
2183 arg "inset-modify tabular move-column-left"
2189 \begin_layout Labeling
2190 \labelwidthstring 00.00.0000
2193 arg "inset-modify tabular move-row-down"
2199 \begin_layout Labeling
2200 \labelwidthstring 00.00.0000
2203 arg "inset-modify tabular move-column-right"
2209 \begin_layout Labeling
2210 \labelwidthstring 00.00.0000
2215 arg "inset-modify tabular toggle-line-top"
2220 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2223 \begin_layout Labeling
2224 \labelwidthstring 00.00.0000
2229 arg "inset-modify tabular toggle-line-bottom"
2234 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2237 \begin_layout Labeling
2238 \labelwidthstring 00.00.0000
2243 arg "inset-modify tabular toggle-line-left"
2248 は、現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2251 \begin_layout Labeling
2252 \labelwidthstring 00.00.0000
2257 arg "inset-modify tabular toggle-line-right"
2262 は、現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2265 \begin_layout Labeling
2266 \labelwidthstring 00.00.0000
2271 arg "inset-modify tabular set-all-lines"
2276 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2279 \begin_layout Labeling
2280 \labelwidthstring 00.00.0000
2285 arg "inset-modify tabular unset-all-lines"
2290 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2293 \begin_layout Labeling
2294 \labelwidthstring 00.00.0000
2299 arg "inset-modify tabular m-align-left"
2304 は、現在セルあるいは現在列の内容を左揃えにします。
2307 \begin_layout Labeling
2308 \labelwidthstring 00.00.0000
2313 arg "inset-modify tabular m-align-center"
2318 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2321 \begin_layout Labeling
2322 \labelwidthstring 00.00.0000
2327 arg "inset-modify tabular m-align-right"
2332 は、現在セルあるいは現在列の内容を右揃えにします。
2335 \begin_layout Labeling
2336 \labelwidthstring 00.00.0000
2341 arg "inset-modify tabular align-decimal"
2346 は、現在セルの内容を特定文字位置で揃えます。
2349 \begin_layout Labeling
2350 \labelwidthstring 00.00.0000
2355 arg "inset-modify tabular m-valign-top"
2360 は、現在セルの内容を垂直方向上揃えにします。
2363 \begin_layout Labeling
2364 \labelwidthstring 00.00.0000
2369 arg "inset-modify tabular m-valign-middle"
2374 は、現在セルの内容を垂直方向中央揃えにします。
2377 \begin_layout Labeling
2378 \labelwidthstring 00.00.0000
2383 arg "inset-modify tabular m-valign-bottom"
2388 は、現在セルの内容を垂直方向下揃えにします。
2391 \begin_layout Labeling
2392 \labelwidthstring 00.00.0000
2397 arg "inset-modify tabular set-rotate-cell"
2402 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2405 \begin_layout Labeling
2406 \labelwidthstring 00.00.0000
2411 arg "inset-modify tabular set-rotate-tabular"
2416 は、表全体を反時計廻りに90度回転します。
2419 \begin_layout Labeling
2420 \labelwidthstring 00.00.0000
2425 arg "inset-modify tabular multicolumn"
2430 は、現在セルあるいは選択範囲を連結列にします。
2433 \begin_layout Labeling
2434 \labelwidthstring 00.00.0000
2439 arg "inset-modify tabular multirow"
2444 は、現在セルあるいは選択範囲を連結行にします。
2447 \begin_layout Standard
2448 \begin_inset Note Greyedout
2451 \begin_layout Plain Layout
2456 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2464 \begin_layout Section
2466 \begin_inset Index idx
2469 \begin_layout Plain Layout
2470 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2478 \begin_layout Standard
2481 編集\SpecialChar \menuseparator
2484 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2488 \begin_layout Section
2490 \begin_inset CommandInset label
2497 \begin_inset Index idx
2500 \begin_layout Plain Layout
2507 \begin_inset Index idx
2510 \begin_layout Plain Layout
2519 \begin_layout Standard
2521 \begin_inset CommandInset ref
2523 reference "sec:フロートはじめに"
2530 \begin_layout Standard
2531 \begin_inset Float table
2537 \begin_layout Plain Layout
2538 \begin_inset Caption Standard
2540 \begin_layout Plain Layout
2541 \begin_inset CommandInset label
2555 \begin_layout Plain Layout
2557 \begin_inset Tabular
2558 <lyxtabular version="3" rows="3" columns="3">
2559 <features rotate="0" tabularvalignment="middle">
2560 <column alignment="center" valignment="top" width="0pt">
2561 <column alignment="center" valignment="top" width="0pt">
2562 <column alignment="center" valignment="top" width="0pt">
2564 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2567 \begin_layout Plain Layout
2582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2585 \begin_layout Plain Layout
2600 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2603 \begin_layout Plain Layout
2620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2623 \begin_layout Plain Layout
2629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2632 \begin_layout Plain Layout
2638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2641 \begin_layout Plain Layout
2649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2652 \begin_layout Plain Layout
2662 \begin_inset Formula $\int x^{2}dx$
2670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2673 \begin_layout Plain Layout
2683 \begin_inset Formula $\left[\begin{array}{cc}
2694 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2697 \begin_layout Plain Layout
2707 \begin_inset Formula $1+1=2$
2728 \begin_layout Standard
2733 \SpecialChar \menuseparator
2734 フロート\SpecialChar \menuseparator
2743 arg "float-insert table"
2751 \begin_layout Standard
2752 フロートは折りたたむことのできるボックスとして表示され、中には「表
2753 \begin_inset space ~
2756 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2759 \begin_layout Standard
2761 \begin_inset space ~
2765 \begin_inset CommandInset ref
2767 reference "tab:表フロート"
2774 \begin_layout Standard
2775 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2776 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2782 \begin_inset Index idx
2785 \begin_layout Plain Layout
2786 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2794 \begin_layout Standard
2800 \begin_layout Standard
2801 というオプションとともにloadコマンドを使って読み込んでください
2805 \begin_layout Plain Layout
2807 \begin_inset CommandInset ref
2809 reference "sec:キャプションの配置"
2819 \begin_inset CommandInset ref
2821 reference "sec:キャプションの書式設定"
2832 \begin_layout Standard
2833 \begin_inset Index idx
2836 \begin_layout Plain Layout
2837 さんしょう@参照 ! ひょうへの@表への
2842 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2844 挿入\SpecialChar \menuseparator
2857 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2863 arg "dialog-show-new-inset ref"
2868 を用いて、このラベルを参照することができます。
2869 \begin_inset Newline newline
2873 \begin_inset CommandInset ref
2875 reference "sec:フロートの参照"
2882 \begin_layout Section
2884 \begin_inset CommandInset label
2891 \begin_inset Index idx
2894 \begin_layout Plain Layout
2901 \begin_inset Index idx
2904 \begin_layout Plain Layout
2905 ひょう@表 ! ちょうしゃくひょう@長尺表
2913 \begin_layout Standard
2914 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2922 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2926 \begin_layout Description
2927 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2954 が定義されているときは、冒頭ページを除きます。
2963 これと区別して、このヘッダは本体ヘッダと呼びます。
2966 \begin_layout Description
2967 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2970 \begin_layout Description
2971 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2998 が定義されているときは、末尾ページを除きます。
3001 \begin_layout Description
3002 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
3005 \begin_layout Description
3006 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
3007 \begin_inset CommandInset ref
3009 reference "sub:長尺表のキャプション"
3016 \begin_layout Standard
3017 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
3020 \begin_layout Standard
3022 \begin_inset Tabular
3023 <lyxtabular version="3" rows="69" columns="3">
3024 <features rotate="0" islongtable="true" longtabularalignment="center">
3025 <column alignment="left" valignment="top" width="0cm">
3026 <column alignment="left" valignment="top" width="0pt">
3027 <column alignment="center" valignment="top" width="0pt">
3028 <row endfirsthead="true">
3029 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3032 \begin_layout Plain Layout
3040 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3043 \begin_layout Plain Layout
3049 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3052 \begin_layout Plain Layout
3059 <row endfirsthead="true">
3060 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3063 \begin_layout Plain Layout
3069 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3072 \begin_layout Plain Layout
3078 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3081 \begin_layout Plain Layout
3090 <row endhead="true">
3091 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3094 \begin_layout Plain Layout
3102 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3105 \begin_layout Plain Layout
3111 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3114 \begin_layout Plain Layout
3121 <row endhead="true">
3122 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3125 \begin_layout Plain Layout
3131 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3134 \begin_layout Plain Layout
3140 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3143 \begin_layout Plain Layout
3152 <row endfoot="true">
3153 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3156 \begin_layout Plain Layout
3162 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3165 \begin_layout Plain Layout
3171 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3174 \begin_layout Plain Layout
3182 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3185 \begin_layout Plain Layout
3193 <cell alignment="center" valignment="top" usebox="none">
3196 \begin_layout Plain Layout
3202 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3205 \begin_layout Plain Layout
3213 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3216 \begin_layout Plain Layout
3224 <cell alignment="center" valignment="top" usebox="none">
3227 \begin_layout Plain Layout
3233 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3236 \begin_layout Plain Layout
3244 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3247 \begin_layout Plain Layout
3255 <cell alignment="center" valignment="top" usebox="none">
3258 \begin_layout Plain Layout
3264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3267 \begin_layout Plain Layout
3275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3278 \begin_layout Plain Layout
3286 <cell alignment="center" valignment="top" usebox="none">
3289 \begin_layout Plain Layout
3295 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3298 \begin_layout Plain Layout
3306 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3309 \begin_layout Plain Layout
3317 <cell alignment="center" valignment="top" usebox="none">
3320 \begin_layout Plain Layout
3326 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3329 \begin_layout Plain Layout
3337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3340 \begin_layout Plain Layout
3348 <cell alignment="center" valignment="top" usebox="none">
3351 \begin_layout Plain Layout
3357 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3360 \begin_layout Plain Layout
3368 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3371 \begin_layout Plain Layout
3379 <cell alignment="center" valignment="top" usebox="none">
3382 \begin_layout Plain Layout
3388 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3391 \begin_layout Plain Layout
3399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3402 \begin_layout Plain Layout
3410 <cell alignment="center" valignment="top" usebox="none">
3413 \begin_layout Plain Layout
3419 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3422 \begin_layout Plain Layout
3430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3433 \begin_layout Plain Layout
3441 <cell alignment="center" valignment="top" usebox="none">
3444 \begin_layout Plain Layout
3450 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3453 \begin_layout Plain Layout
3461 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3464 \begin_layout Plain Layout
3472 <cell alignment="center" valignment="top" usebox="none">
3475 \begin_layout Plain Layout
3481 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3484 \begin_layout Plain Layout
3492 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3495 \begin_layout Plain Layout
3503 <cell alignment="center" valignment="top" usebox="none">
3506 \begin_layout Plain Layout
3512 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3515 \begin_layout Plain Layout
3523 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3526 \begin_layout Plain Layout
3534 <cell alignment="center" valignment="top" usebox="none">
3537 \begin_layout Plain Layout
3543 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3546 \begin_layout Plain Layout
3554 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3557 \begin_layout Plain Layout
3565 <cell alignment="center" valignment="top" usebox="none">
3568 \begin_layout Plain Layout
3574 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3577 \begin_layout Plain Layout
3585 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3588 \begin_layout Plain Layout
3596 <cell alignment="center" valignment="top" usebox="none">
3599 \begin_layout Plain Layout
3605 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3608 \begin_layout Plain Layout
3616 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3619 \begin_layout Plain Layout
3627 <cell alignment="center" valignment="top" usebox="none">
3630 \begin_layout Plain Layout
3636 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3639 \begin_layout Plain Layout
3647 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3650 \begin_layout Plain Layout
3658 <cell alignment="center" valignment="top" usebox="none">
3661 \begin_layout Plain Layout
3667 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3670 \begin_layout Plain Layout
3678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3681 \begin_layout Plain Layout
3689 <cell alignment="center" valignment="top" usebox="none">
3692 \begin_layout Plain Layout
3698 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3701 \begin_layout Plain Layout
3709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3712 \begin_layout Plain Layout
3720 <cell alignment="center" valignment="top" usebox="none">
3723 \begin_layout Plain Layout
3729 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3732 \begin_layout Plain Layout
3740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3743 \begin_layout Plain Layout
3751 <cell alignment="center" valignment="top" usebox="none">
3754 \begin_layout Plain Layout
3760 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3763 \begin_layout Plain Layout
3771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3774 \begin_layout Plain Layout
3782 <cell alignment="center" valignment="top" usebox="none">
3785 \begin_layout Plain Layout
3791 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3794 \begin_layout Plain Layout
3802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3805 \begin_layout Plain Layout
3813 <cell alignment="center" valignment="top" usebox="none">
3816 \begin_layout Plain Layout
3822 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3825 \begin_layout Plain Layout
3833 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3836 \begin_layout Plain Layout
3844 <cell alignment="center" valignment="top" usebox="none">
3847 \begin_layout Plain Layout
3853 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3856 \begin_layout Plain Layout
3864 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3867 \begin_layout Plain Layout
3875 <cell alignment="center" valignment="top" usebox="none">
3878 \begin_layout Plain Layout
3884 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3887 \begin_layout Plain Layout
3895 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3898 \begin_layout Plain Layout
3906 <cell alignment="center" valignment="top" usebox="none">
3909 \begin_layout Plain Layout
3915 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3918 \begin_layout Plain Layout
3926 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3929 \begin_layout Plain Layout
3937 <cell alignment="center" valignment="top" usebox="none">
3940 \begin_layout Plain Layout
3946 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3949 \begin_layout Plain Layout
3957 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3960 \begin_layout Plain Layout
3968 <cell alignment="center" valignment="top" usebox="none">
3971 \begin_layout Plain Layout
3977 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3980 \begin_layout Plain Layout
3988 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3991 \begin_layout Plain Layout
3999 <cell alignment="center" valignment="top" usebox="none">
4002 \begin_layout Plain Layout
4008 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4011 \begin_layout Plain Layout
4019 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4022 \begin_layout Plain Layout
4030 <cell alignment="center" valignment="top" usebox="none">
4033 \begin_layout Plain Layout
4039 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4042 \begin_layout Plain Layout
4050 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4053 \begin_layout Plain Layout
4061 <cell alignment="center" valignment="top" usebox="none">
4064 \begin_layout Plain Layout
4070 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4073 \begin_layout Plain Layout
4081 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4084 \begin_layout Plain Layout
4092 <cell alignment="center" valignment="top" usebox="none">
4095 \begin_layout Plain Layout
4101 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4104 \begin_layout Plain Layout
4112 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4115 \begin_layout Plain Layout
4123 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4126 \begin_layout Plain Layout
4132 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4135 \begin_layout Plain Layout
4143 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4146 \begin_layout Plain Layout
4152 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4155 \begin_layout Plain Layout
4161 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4164 \begin_layout Plain Layout
4172 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4175 \begin_layout Plain Layout
4183 <cell alignment="center" valignment="top" usebox="none">
4186 \begin_layout Plain Layout
4192 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4195 \begin_layout Plain Layout
4203 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4206 \begin_layout Plain Layout
4214 <cell alignment="center" valignment="top" usebox="none">
4217 \begin_layout Plain Layout
4223 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4226 \begin_layout Plain Layout
4234 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4237 \begin_layout Plain Layout
4245 <cell alignment="center" valignment="top" usebox="none">
4248 \begin_layout Plain Layout
4254 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4257 \begin_layout Plain Layout
4265 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4268 \begin_layout Plain Layout
4276 <cell alignment="center" valignment="top" usebox="none">
4279 \begin_layout Plain Layout
4285 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4288 \begin_layout Plain Layout
4296 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4299 \begin_layout Plain Layout
4307 <cell alignment="center" valignment="top" usebox="none">
4310 \begin_layout Plain Layout
4316 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4319 \begin_layout Plain Layout
4327 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4330 \begin_layout Plain Layout
4338 <cell alignment="center" valignment="top" usebox="none">
4341 \begin_layout Plain Layout
4347 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4350 \begin_layout Plain Layout
4358 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4361 \begin_layout Plain Layout
4369 <cell alignment="center" valignment="top" usebox="none">
4372 \begin_layout Plain Layout
4378 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4381 \begin_layout Plain Layout
4389 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4392 \begin_layout Plain Layout
4400 <cell alignment="center" valignment="top" usebox="none">
4403 \begin_layout Plain Layout
4409 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4412 \begin_layout Plain Layout
4420 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4423 \begin_layout Plain Layout
4431 <cell alignment="center" valignment="top" usebox="none">
4434 \begin_layout Plain Layout
4440 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4443 \begin_layout Plain Layout
4451 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4454 \begin_layout Plain Layout
4462 <cell alignment="center" valignment="top" usebox="none">
4465 \begin_layout Plain Layout
4471 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4474 \begin_layout Plain Layout
4482 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4485 \begin_layout Plain Layout
4493 <cell alignment="center" valignment="top" usebox="none">
4496 \begin_layout Plain Layout
4502 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4505 \begin_layout Plain Layout
4513 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4516 \begin_layout Plain Layout
4524 <cell alignment="center" valignment="top" usebox="none">
4527 \begin_layout Plain Layout
4533 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4536 \begin_layout Plain Layout
4544 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4547 \begin_layout Plain Layout
4555 <cell alignment="center" valignment="top" usebox="none">
4558 \begin_layout Plain Layout
4564 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4567 \begin_layout Plain Layout
4575 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4578 \begin_layout Plain Layout
4586 <cell alignment="center" valignment="top" usebox="none">
4589 \begin_layout Plain Layout
4595 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4598 \begin_layout Plain Layout
4606 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4609 \begin_layout Plain Layout
4617 <cell alignment="center" valignment="top" usebox="none">
4620 \begin_layout Plain Layout
4626 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4629 \begin_layout Plain Layout
4637 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4640 \begin_layout Plain Layout
4648 <cell alignment="center" valignment="top" usebox="none">
4651 \begin_layout Plain Layout
4657 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4660 \begin_layout Plain Layout
4668 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4671 \begin_layout Plain Layout
4679 <cell alignment="center" valignment="top" usebox="none">
4682 \begin_layout Plain Layout
4688 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4691 \begin_layout Plain Layout
4699 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4702 \begin_layout Plain Layout
4710 <cell alignment="center" valignment="top" usebox="none">
4713 \begin_layout Plain Layout
4719 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4722 \begin_layout Plain Layout
4730 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4733 \begin_layout Plain Layout
4741 <cell alignment="center" valignment="top" usebox="none">
4744 \begin_layout Plain Layout
4750 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4753 \begin_layout Plain Layout
4761 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4764 \begin_layout Plain Layout
4772 <cell alignment="center" valignment="top" usebox="none">
4775 \begin_layout Plain Layout
4781 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4784 \begin_layout Plain Layout
4792 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4795 \begin_layout Plain Layout
4803 <cell alignment="center" valignment="top" usebox="none">
4806 \begin_layout Plain Layout
4812 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4815 \begin_layout Plain Layout
4823 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4826 \begin_layout Plain Layout
4834 <cell alignment="center" valignment="top" usebox="none">
4837 \begin_layout Plain Layout
4843 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4846 \begin_layout Plain Layout
4854 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4857 \begin_layout Plain Layout
4865 <cell alignment="center" valignment="top" usebox="none">
4868 \begin_layout Plain Layout
4874 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4877 \begin_layout Plain Layout
4885 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4888 \begin_layout Plain Layout
4896 <cell alignment="center" valignment="top" usebox="none">
4899 \begin_layout Plain Layout
4905 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4908 \begin_layout Plain Layout
4916 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4919 \begin_layout Plain Layout
4927 <cell alignment="center" valignment="top" usebox="none">
4930 \begin_layout Plain Layout
4936 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4939 \begin_layout Plain Layout
4947 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4950 \begin_layout Plain Layout
4958 <cell alignment="center" valignment="top" usebox="none">
4961 \begin_layout Plain Layout
4967 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4970 \begin_layout Plain Layout
4978 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4981 \begin_layout Plain Layout
4989 <cell alignment="center" valignment="top" usebox="none">
4992 \begin_layout Plain Layout
4998 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5001 \begin_layout Plain Layout
5009 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5012 \begin_layout Plain Layout
5020 <cell alignment="center" valignment="top" usebox="none">
5023 \begin_layout Plain Layout
5029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5032 \begin_layout Plain Layout
5040 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5043 \begin_layout Plain Layout
5051 <cell alignment="center" valignment="top" usebox="none">
5054 \begin_layout Plain Layout
5060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5063 \begin_layout Plain Layout
5071 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5074 \begin_layout Plain Layout
5082 <cell alignment="center" valignment="top" usebox="none">
5085 \begin_layout Plain Layout
5091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5094 \begin_layout Plain Layout
5102 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5105 \begin_layout Plain Layout
5113 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5116 \begin_layout Plain Layout
5122 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5125 \begin_layout Plain Layout
5132 <row endlastfoot="true">
5133 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5136 \begin_layout Plain Layout
5142 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5145 \begin_layout Plain Layout
5151 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5154 \begin_layout Plain Layout
5169 \begin_layout Plain Layout
5173 addtocounter{table}{-1}
5179 \begin_inset Note Note
5182 \begin_layout Plain Layout
5184 \begin_inset CommandInset ref
5186 reference "sub:長尺表のキャプション"
5198 \begin_layout Subsection
5200 \begin_inset CommandInset label
5207 \begin_inset Index idx
5210 \begin_layout Plain Layout
5211 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
5219 \begin_layout Standard
5220 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
5221 \begin_inset CommandInset ref
5223 reference "tab:別キャプション"
5230 \begin_layout Subsection
5232 \begin_inset Index idx
5235 \begin_layout Plain Layout
5236 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5244 \begin_layout Standard
5245 表設定ダイアログでは、長尺表の水平揃えを指定することができます。左揃えや右揃えでは、表は直接ページ境界に寄せられます。表と境界の間に余白を加えるには、中央揃えに
5249 \begin_layout Standard
5259 \begin_layout Standard
5260 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5272 の値を変更しなくてはなりません。ここで「値」は、第
5273 \begin_inset CommandInset ref
5279 表に挙げてある単位であれば、どの単位を取ることもできます。
5285 は、左頁余白から長尺表までの水平方向の距離を制御し、
5291 は、右頁余白からの距離を制御します。これらの長さの既定値は
5297 となっており、LyXの水平フィルと同等になっています。
5300 \begin_layout Standard
5317 \begin_layout Plain Layout
5333 \begin_layout Standard
5334 \begin_inset Tabular
5335 <lyxtabular version="3" rows="5" columns="5">
5336 <features rotate="0" islongtable="true" longtabularalignment="center">
5337 <column alignment="center" valignment="top">
5338 <column alignment="center" valignment="top">
5339 <column alignment="center" valignment="top">
5340 <column alignment="center" valignment="top">
5341 <column alignment="center" valignment="top">
5343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5346 \begin_layout Plain Layout
5352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5355 \begin_layout Plain Layout
5361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5364 \begin_layout Plain Layout
5370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5373 \begin_layout Plain Layout
5379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5382 \begin_layout Plain Layout
5390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5393 \begin_layout Plain Layout
5399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5402 \begin_layout Plain Layout
5408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5411 \begin_layout Plain Layout
5417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5420 \begin_layout Plain Layout
5426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5429 \begin_layout Plain Layout
5437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5440 \begin_layout Plain Layout
5446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5449 \begin_layout Plain Layout
5455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5458 \begin_layout Plain Layout
5464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5467 \begin_layout Plain Layout
5473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5476 \begin_layout Plain Layout
5484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5487 \begin_layout Plain Layout
5493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5496 \begin_layout Plain Layout
5502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5505 \begin_layout Plain Layout
5511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5514 \begin_layout Plain Layout
5520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5523 \begin_layout Plain Layout
5531 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5534 \begin_layout Plain Layout
5540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5543 \begin_layout Plain Layout
5549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5552 \begin_layout Plain Layout
5558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5561 \begin_layout Plain Layout
5567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5570 \begin_layout Plain Layout
5585 \begin_layout Plain Layout
5602 \begin_layout Plain Layout
5606 addtocounter{table}{-1}
5612 \begin_inset Note Note
5615 \begin_layout Plain Layout
5617 \begin_inset CommandInset ref
5619 reference "sub:長尺表のキャプション"
5631 \begin_layout Subsection
5633 \begin_inset Index idx
5636 \begin_layout Plain Layout
5637 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5643 \begin_inset CommandInset label
5645 name "sub:長尺表のキャプション"
5652 \begin_layout Standard
5653 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5654 \begin_inset CommandInset ref
5660 節に述べられているように、ある行で長尺表オプションの
5664 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションは、
5680 のいずれかに入れなくてはなりません。それぞれのヘッダ・フッタに入れることができる行は、ひとつだけです。
5683 \begin_layout Standard
5684 以下は、動作を確認するための短い長尺表です。
5687 \begin_layout Standard
5688 \begin_inset Tabular
5689 <lyxtabular version="3" rows="6" columns="5">
5690 <features rotate="0" islongtable="true" longtabularalignment="center">
5691 <column alignment="center" valignment="top">
5692 <column alignment="center" valignment="top">
5693 <column alignment="center" valignment="top">
5694 <column alignment="center" valignment="top">
5695 <column alignment="center" valignment="top">
5696 <row endfirsthead="true" caption="true">
5697 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5700 \begin_layout Plain Layout
5701 \begin_inset Caption Standard
5703 \begin_layout Plain Layout
5705 \begin_inset Argument 1
5708 \begin_layout Plain Layout
5724 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5727 \begin_layout Plain Layout
5733 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5736 \begin_layout Plain Layout
5742 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5745 \begin_layout Plain Layout
5751 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5754 \begin_layout Plain Layout
5762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5765 \begin_layout Plain Layout
5771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5774 \begin_layout Plain Layout
5780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5783 \begin_layout Plain Layout
5789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5792 \begin_layout Plain Layout
5798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5801 \begin_layout Plain Layout
5809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5812 \begin_layout Plain Layout
5818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5821 \begin_layout Plain Layout
5827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5830 \begin_layout Plain Layout
5836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5839 \begin_layout Plain Layout
5845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5848 \begin_layout Plain Layout
5856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5859 \begin_layout Plain Layout
5865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5868 \begin_layout Plain Layout
5874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5877 \begin_layout Plain Layout
5883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5886 \begin_layout Plain Layout
5892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5895 \begin_layout Plain Layout
5903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5906 \begin_layout Plain Layout
5912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5915 \begin_layout Plain Layout
5921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5924 \begin_layout Plain Layout
5930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5933 \begin_layout Plain Layout
5939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5942 \begin_layout Plain Layout
5950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5953 \begin_layout Plain Layout
5959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5962 \begin_layout Plain Layout
5968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5971 \begin_layout Plain Layout
5977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5980 \begin_layout Plain Layout
5986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5989 \begin_layout Plain Layout
6003 \begin_layout Standard
6004 \begin_inset VSpace medskip
6008 \begin_inset Note Greyedout
6011 \begin_layout Plain Layout
6016 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
6017 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
6020 \begin_layout Plain Layout
6025 addtocounter{table}{-1}
6028 \begin_layout Plain Layout
6029 というコマンドを挿入する方法があります。
6032 \begin_layout Plain Layout
6033 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
6036 \begin_layout Plain Layout
6046 \begin_inset Newline newline
6057 addtocounter{table}{-1}}
6065 \begin_layout Standard
6066 \begin_inset Note Greyedout
6069 \begin_layout Plain Layout
6087 \begin_inset Index idx
6090 \begin_layout Plain Layout
6091 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
6096 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
6104 \begin_layout Subsubsection
6106 \begin_inset Index idx
6109 \begin_layout Plain Layout
6110 ちょうしゃくひょう@長尺表 ! さんしょう@参照
6118 \begin_layout Standard
6119 \begin_inset Tabular
6120 <lyxtabular version="3" rows="6" columns="5">
6121 <features rotate="0" islongtable="true" longtabularalignment="center">
6122 <column alignment="center" valignment="top">
6123 <column alignment="center" valignment="top">
6124 <column alignment="center" valignment="top">
6125 <column alignment="center" valignment="top">
6126 <column alignment="center" valignment="top">
6127 <row endfirsthead="true" caption="true">
6128 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6131 \begin_layout Plain Layout
6132 \begin_inset Caption Standard
6134 \begin_layout Plain Layout
6136 \begin_inset CommandInset label
6152 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6155 \begin_layout Plain Layout
6161 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6164 \begin_layout Plain Layout
6170 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6173 \begin_layout Plain Layout
6179 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6182 \begin_layout Plain Layout
6190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6193 \begin_layout Plain Layout
6199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6202 \begin_layout Plain Layout
6208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6211 \begin_layout Plain Layout
6217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6220 \begin_layout Plain Layout
6226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6229 \begin_layout Plain Layout
6237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6240 \begin_layout Plain Layout
6246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6249 \begin_layout Plain Layout
6255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6258 \begin_layout Plain Layout
6264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6267 \begin_layout Plain Layout
6273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6276 \begin_layout Plain Layout
6284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6287 \begin_layout Plain Layout
6293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6296 \begin_layout Plain Layout
6302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6305 \begin_layout Plain Layout
6311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6314 \begin_layout Plain Layout
6320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6323 \begin_layout Plain Layout
6331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6334 \begin_layout Plain Layout
6340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6343 \begin_layout Plain Layout
6349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6352 \begin_layout Plain Layout
6358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6361 \begin_layout Plain Layout
6367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6370 \begin_layout Plain Layout
6378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6381 \begin_layout Plain Layout
6387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6390 \begin_layout Plain Layout
6396 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6399 \begin_layout Plain Layout
6405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6408 \begin_layout Plain Layout
6414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6417 \begin_layout Plain Layout
6431 \begin_layout Standard
6432 長尺表を参照するには、キャプションにラベルを挿入してください。
6435 \begin_layout Standard
6437 \begin_inset CommandInset ref
6446 \begin_layout Standard
6447 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6452 \begin_inset Index idx
6455 \begin_layout Plain Layout
6456 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6462 \begin_inset CommandInset ref
6464 reference "sec:キャプションの書式設定"
6471 \begin_layout Subsubsection
6473 \begin_inset Index idx
6476 \begin_layout Plain Layout
6477 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6485 \begin_layout Standard
6492 によって指定することができます。既定値は4
6493 \begin_inset space \thinspace{}
6496 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6499 \begin_layout Standard
6509 \begin_layout Standard
6510 というコマンドを書き加えて下さい。ここで「幅」には、付録
6511 \begin_inset CommandInset ref
6513 reference "cha:LyXで使用できる単位"
6517 に挙げられている単位を取ることができます。
6520 \begin_layout Standard
6524 \begin_layout Standard
6525 \begin_inset Tabular
6526 <lyxtabular version="3" rows="6" columns="5">
6527 <features rotate="0" islongtable="true" longtabularalignment="center">
6528 <column alignment="center" valignment="top">
6529 <column alignment="center" valignment="top">
6530 <column alignment="center" valignment="top">
6531 <column alignment="center" valignment="top">
6532 <column alignment="center" valignment="top">
6533 <row endfirsthead="true" caption="true">
6534 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6537 \begin_layout Plain Layout
6538 \begin_inset Caption Standard
6540 \begin_layout Plain Layout
6541 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6542 \begin_inset Argument 1
6545 \begin_layout Plain Layout
6561 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6564 \begin_layout Plain Layout
6570 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6573 \begin_layout Plain Layout
6579 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6582 \begin_layout Plain Layout
6588 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6591 \begin_layout Plain Layout
6599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6602 \begin_layout Plain Layout
6608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6611 \begin_layout Plain Layout
6617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6620 \begin_layout Plain Layout
6626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6629 \begin_layout Plain Layout
6635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6638 \begin_layout Plain Layout
6646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6649 \begin_layout Plain Layout
6655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6658 \begin_layout Plain Layout
6664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6667 \begin_layout Plain Layout
6673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6676 \begin_layout Plain Layout
6682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6685 \begin_layout Plain Layout
6693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6696 \begin_layout Plain Layout
6702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6705 \begin_layout Plain Layout
6711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6714 \begin_layout Plain Layout
6720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6723 \begin_layout Plain Layout
6729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6732 \begin_layout Plain Layout
6740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6743 \begin_layout Plain Layout
6749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6752 \begin_layout Plain Layout
6758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6761 \begin_layout Plain Layout
6767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6770 \begin_layout Plain Layout
6776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6779 \begin_layout Plain Layout
6787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6790 \begin_layout Plain Layout
6796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6799 \begin_layout Plain Layout
6805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6808 \begin_layout Plain Layout
6814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6817 \begin_layout Plain Layout
6823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6826 \begin_layout Plain Layout
6840 \begin_layout Standard
6844 \begin_layout Plain Layout
6856 \begin_inset Tabular
6857 <lyxtabular version="3" rows="6" columns="5">
6858 <features rotate="0" islongtable="true" longtabularalignment="center">
6859 <column alignment="center" valignment="top">
6860 <column alignment="center" valignment="top">
6861 <column alignment="center" valignment="top">
6862 <column alignment="center" valignment="top">
6863 <column alignment="center" valignment="top">
6864 <row endfirsthead="true" caption="true">
6865 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6868 \begin_layout Plain Layout
6869 \begin_inset Caption Standard
6871 \begin_layout Plain Layout
6873 \begin_inset space \thinspace{}
6877 \begin_inset space \thinspace{}
6881 \begin_inset space \thinspace{}
6885 \begin_inset Argument 1
6888 \begin_layout Plain Layout
6890 \begin_inset space \thinspace{}
6908 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6911 \begin_layout Plain Layout
6917 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6920 \begin_layout Plain Layout
6926 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6929 \begin_layout Plain Layout
6935 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6938 \begin_layout Plain Layout
6946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6949 \begin_layout Plain Layout
6955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6958 \begin_layout Plain Layout
6964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6967 \begin_layout Plain Layout
6973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6976 \begin_layout Plain Layout
6982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6985 \begin_layout Plain Layout
6993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6996 \begin_layout Plain Layout
7002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7005 \begin_layout Plain Layout
7011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7014 \begin_layout Plain Layout
7020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7023 \begin_layout Plain Layout
7029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7032 \begin_layout Plain Layout
7040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7043 \begin_layout Plain Layout
7049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7052 \begin_layout Plain Layout
7058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7061 \begin_layout Plain Layout
7067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7070 \begin_layout Plain Layout
7076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7079 \begin_layout Plain Layout
7087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7090 \begin_layout Plain Layout
7096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7099 \begin_layout Plain Layout
7105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7108 \begin_layout Plain Layout
7114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7117 \begin_layout Plain Layout
7123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7126 \begin_layout Plain Layout
7134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7137 \begin_layout Plain Layout
7143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7146 \begin_layout Plain Layout
7152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7155 \begin_layout Plain Layout
7161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7164 \begin_layout Plain Layout
7170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7173 \begin_layout Plain Layout
7187 \begin_layout Standard
7191 \begin_layout Plain Layout
7205 \begin_layout Standard
7206 \begin_inset Note Greyedout
7209 \begin_layout Plain Layout
7219 \begin_inset Index idx
7222 \begin_layout Plain Layout
7223 LaTeXぱっけーじ@LaTeXパッケージ ! caption
7235 \begin_inset space \thinspace{}
7238 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
7239 \begin_inset space \thinspace{}
7242 in幅のキャプションを作るには、3.99
7243 \begin_inset space \thinspace{}
7247 \begin_inset space \thinspace{}
7258 captionsetup{width=値}
7260 というLaTeXコマンドを用いる方法があります。
7268 \begin_layout Subsubsection
7270 \begin_inset Index idx
7273 \begin_layout Plain Layout
7274 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7282 \begin_layout Standard
7283 次頁以降の表キャプションを、1頁めとは異なるものにしたい場合には、キャプションを入れる空行をヘッダに指定して下さい。それから、キャプションを右クリックして、文脈
7289 \begin_inset CommandInset ref
7291 reference "tab:別キャプション"
7295 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7298 \begin_layout Standard
7300 \begin_inset Tabular
7301 <lyxtabular version="3" rows="59" columns="3">
7302 <features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7303 <column alignment="left" valignment="top" width="0cm">
7304 <column alignment="left" valignment="top" width="0pt">
7305 <column alignment="center" valignment="top" width="0pt">
7306 <row endfirsthead="true" caption="true">
7307 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7310 \begin_layout Plain Layout
7311 \begin_inset Caption Standard
7313 \begin_layout Plain Layout
7315 \begin_inset CommandInset label
7322 \begin_inset Argument 1
7325 \begin_layout Plain Layout
7341 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7344 \begin_layout Plain Layout
7350 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7353 \begin_layout Plain Layout
7360 <row endfirsthead="true">
7361 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7364 \begin_layout Plain Layout
7372 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7375 \begin_layout Plain Layout
7381 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7384 \begin_layout Plain Layout
7391 <row endfirsthead="true">
7392 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7395 \begin_layout Plain Layout
7403 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7406 \begin_layout Plain Layout
7412 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7415 \begin_layout Plain Layout
7424 <row endhead="true">
7425 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7428 \begin_layout Plain Layout
7432 \begin_layout Plain Layout
7450 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7453 \begin_layout Plain Layout
7459 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7462 \begin_layout Plain Layout
7469 <row endhead="true">
7470 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7473 \begin_layout Plain Layout
7481 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7484 \begin_layout Plain Layout
7490 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7493 \begin_layout Plain Layout
7500 <row endhead="true">
7501 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7504 \begin_layout Plain Layout
7512 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7515 \begin_layout Plain Layout
7521 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7524 \begin_layout Plain Layout
7533 <row endfoot="true">
7534 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7537 \begin_layout Plain Layout
7543 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7546 \begin_layout Plain Layout
7552 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7555 \begin_layout Plain Layout
7563 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7566 \begin_layout Plain Layout
7574 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7577 \begin_layout Plain Layout
7583 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7586 \begin_layout Plain Layout
7594 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7597 \begin_layout Plain Layout
7605 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7608 \begin_layout Plain Layout
7614 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7617 \begin_layout Plain Layout
7625 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7628 \begin_layout Plain Layout
7636 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7639 \begin_layout Plain Layout
7645 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7648 \begin_layout Plain Layout
7656 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7659 \begin_layout Plain Layout
7667 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7670 \begin_layout Plain Layout
7676 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7679 \begin_layout Plain Layout
7687 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7690 \begin_layout Plain Layout
7698 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7701 \begin_layout Plain Layout
7707 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7710 \begin_layout Plain Layout
7718 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7721 \begin_layout Plain Layout
7729 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7732 \begin_layout Plain Layout
7738 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7741 \begin_layout Plain Layout
7749 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7752 \begin_layout Plain Layout
7760 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7763 \begin_layout Plain Layout
7769 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7772 \begin_layout Plain Layout
7780 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7783 \begin_layout Plain Layout
7791 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7794 \begin_layout Plain Layout
7800 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7803 \begin_layout Plain Layout
7811 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7814 \begin_layout Plain Layout
7822 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7825 \begin_layout Plain Layout
7831 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7834 \begin_layout Plain Layout
7842 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7845 \begin_layout Plain Layout
7853 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7856 \begin_layout Plain Layout
7862 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7865 \begin_layout Plain Layout
7873 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7876 \begin_layout Plain Layout
7884 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7887 \begin_layout Plain Layout
7893 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7896 \begin_layout Plain Layout
7904 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7907 \begin_layout Plain Layout
7915 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7918 \begin_layout Plain Layout
7924 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7927 \begin_layout Plain Layout
7935 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7938 \begin_layout Plain Layout
7946 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7949 \begin_layout Plain Layout
7955 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7958 \begin_layout Plain Layout
7966 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7969 \begin_layout Plain Layout
7977 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7980 \begin_layout Plain Layout
7986 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7989 \begin_layout Plain Layout
7997 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8000 \begin_layout Plain Layout
8009 \begin_layout Plain Layout
8020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8023 \begin_layout Plain Layout
8029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8032 \begin_layout Plain Layout
8040 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8043 \begin_layout Plain Layout
8051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8054 \begin_layout Plain Layout
8060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8063 \begin_layout Plain Layout
8071 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8074 \begin_layout Plain Layout
8082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8085 \begin_layout Plain Layout
8091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8094 \begin_layout Plain Layout
8102 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8105 \begin_layout Plain Layout
8113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8116 \begin_layout Plain Layout
8122 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8125 \begin_layout Plain Layout
8133 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8136 \begin_layout Plain Layout
8144 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8147 \begin_layout Plain Layout
8153 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8156 \begin_layout Plain Layout
8164 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8167 \begin_layout Plain Layout
8175 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8178 \begin_layout Plain Layout
8184 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8187 \begin_layout Plain Layout
8195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8198 \begin_layout Plain Layout
8206 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8209 \begin_layout Plain Layout
8215 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8218 \begin_layout Plain Layout
8226 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8229 \begin_layout Plain Layout
8237 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8240 \begin_layout Plain Layout
8246 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8249 \begin_layout Plain Layout
8257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8260 \begin_layout Plain Layout
8268 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8271 \begin_layout Plain Layout
8277 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8280 \begin_layout Plain Layout
8288 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8291 \begin_layout Plain Layout
8299 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8302 \begin_layout Plain Layout
8308 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8311 \begin_layout Plain Layout
8319 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8322 \begin_layout Plain Layout
8330 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8333 \begin_layout Plain Layout
8339 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8342 \begin_layout Plain Layout
8350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8353 \begin_layout Plain Layout
8361 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8364 \begin_layout Plain Layout
8370 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8373 \begin_layout Plain Layout
8381 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8384 \begin_layout Plain Layout
8392 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8395 \begin_layout Plain Layout
8401 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8404 \begin_layout Plain Layout
8412 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8415 \begin_layout Plain Layout
8423 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8426 \begin_layout Plain Layout
8432 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8435 \begin_layout Plain Layout
8443 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8446 \begin_layout Plain Layout
8454 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8457 \begin_layout Plain Layout
8463 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8466 \begin_layout Plain Layout
8474 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8477 \begin_layout Plain Layout
8485 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8488 \begin_layout Plain Layout
8494 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8497 \begin_layout Plain Layout
8505 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8508 \begin_layout Plain Layout
8516 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8519 \begin_layout Plain Layout
8525 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8528 \begin_layout Plain Layout
8536 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8539 \begin_layout Plain Layout
8545 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8548 \begin_layout Plain Layout
8554 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8557 \begin_layout Plain Layout
8565 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8568 \begin_layout Plain Layout
8576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8579 \begin_layout Plain Layout
8585 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8588 \begin_layout Plain Layout
8596 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8599 \begin_layout Plain Layout
8607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8610 \begin_layout Plain Layout
8616 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8619 \begin_layout Plain Layout
8627 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8630 \begin_layout Plain Layout
8638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8641 \begin_layout Plain Layout
8647 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8650 \begin_layout Plain Layout
8658 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8661 \begin_layout Plain Layout
8669 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8672 \begin_layout Plain Layout
8678 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8681 \begin_layout Plain Layout
8689 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8692 \begin_layout Plain Layout
8700 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8703 \begin_layout Plain Layout
8709 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8712 \begin_layout Plain Layout
8720 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8723 \begin_layout Plain Layout
8731 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8734 \begin_layout Plain Layout
8740 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8743 \begin_layout Plain Layout
8751 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8754 \begin_layout Plain Layout
8762 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8765 \begin_layout Plain Layout
8771 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8774 \begin_layout Plain Layout
8782 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8785 \begin_layout Plain Layout
8793 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8796 \begin_layout Plain Layout
8802 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8805 \begin_layout Plain Layout
8813 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8816 \begin_layout Plain Layout
8824 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8827 \begin_layout Plain Layout
8833 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8836 \begin_layout Plain Layout
8844 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8847 \begin_layout Plain Layout
8855 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8858 \begin_layout Plain Layout
8864 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8867 \begin_layout Plain Layout
8875 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8878 \begin_layout Plain Layout
8886 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8889 \begin_layout Plain Layout
8895 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8898 \begin_layout Plain Layout
8906 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8909 \begin_layout Plain Layout
8917 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8920 \begin_layout Plain Layout
8926 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8929 \begin_layout Plain Layout
8937 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8940 \begin_layout Plain Layout
8948 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8951 \begin_layout Plain Layout
8957 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8960 \begin_layout Plain Layout
8968 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8971 \begin_layout Plain Layout
8979 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8982 \begin_layout Plain Layout
8988 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8991 \begin_layout Plain Layout
8999 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9002 \begin_layout Plain Layout
9010 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9013 \begin_layout Plain Layout
9019 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9022 \begin_layout Plain Layout
9030 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9033 \begin_layout Plain Layout
9041 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9044 \begin_layout Plain Layout
9050 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9053 \begin_layout Plain Layout
9061 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9064 \begin_layout Plain Layout
9072 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9075 \begin_layout Plain Layout
9081 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9084 \begin_layout Plain Layout
9092 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9095 \begin_layout Plain Layout
9103 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9106 \begin_layout Plain Layout
9112 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9115 \begin_layout Plain Layout
9123 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9126 \begin_layout Plain Layout
9134 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9137 \begin_layout Plain Layout
9143 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9146 \begin_layout Plain Layout
9154 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9157 \begin_layout Plain Layout
9165 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9168 \begin_layout Plain Layout
9174 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9177 \begin_layout Plain Layout
9191 \begin_layout Section
9193 \begin_inset CommandInset label
9195 name "sec:長尺表にまつわる諸点"
9202 \begin_layout Subsection
9204 \begin_inset Index idx
9207 \begin_layout Plain Layout
9208 ちょうしゃくひょう@長尺表 ! けいさん@計算
9216 \begin_layout Standard
9217 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
9218 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
9221 \begin_layout Standard
9226 setcounter{LTchunksize}{100}
9229 \begin_layout Standard
9230 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9233 \begin_layout Subsection
9235 \begin_inset Index idx
9238 \begin_layout Plain Layout
9239 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9247 \begin_layout Standard
9248 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9254 コマンドを長尺表の前にTeXコードとして書き加えてください。
9257 \begin_layout Subsection
9259 \begin_inset Index idx
9262 \begin_layout Plain Layout
9263 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9271 \begin_layout Standard
9272 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9289 コマンドの前には、現セルよりも右にある列数と同じ数の「
9293 」文字を、TeXコードで挿入してやる必要があります。この
9301 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9302 \begin_inset Newline newline
9313 コマンドの後ろには、現在列の左側にある列数と同じ数の
9318 \begin_inset CommandInset ref
9320 reference "tab:強制改頁"
9324 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9327 \begin_layout Standard
9337 \begin_inset Newline newline
9343 \begin_layout Standard
9348 」の後にTeXコードとして挿入してあります。
9351 \begin_layout Standard
9352 同一行3列目の「111」は削除してあります。
9358 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9359 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9362 \begin_layout Standard
9370 \begin_inset Newline newline
9378 \begin_layout Standard
9382 \begin_layout Standard
9383 改頁をしたいセルが最右列にある場合には、
9386 \begin_layout Standard
9396 \begin_layout Standard
9397 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9401 \begin_layout Standard
9403 \begin_inset Tabular
9404 <lyxtabular version="3" rows="38" columns="3">
9405 <features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9406 <column alignment="left" valignment="top" width="0cm">
9407 <column alignment="left" valignment="top" width="3cm">
9408 <column alignment="center" valignment="top" width="0pt">
9409 <row endfirsthead="true" caption="true">
9410 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9413 \begin_layout Plain Layout
9414 \begin_inset Caption Standard
9416 \begin_layout Plain Layout
9418 \begin_inset CommandInset label
9425 \begin_inset Argument 1
9428 \begin_layout Plain Layout
9444 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9447 \begin_layout Plain Layout
9453 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9456 \begin_layout Plain Layout
9463 <row endfirsthead="true">
9464 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9467 \begin_layout Plain Layout
9475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9478 \begin_layout Plain Layout
9484 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9487 \begin_layout Plain Layout
9494 <row endfirsthead="true">
9495 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9498 \begin_layout Plain Layout
9506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9509 \begin_layout Plain Layout
9515 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9518 \begin_layout Plain Layout
9527 <row endhead="true">
9528 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9531 \begin_layout Plain Layout
9535 \begin_layout Plain Layout
9553 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9556 \begin_layout Plain Layout
9562 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9565 \begin_layout Plain Layout
9572 <row endhead="true">
9573 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9576 \begin_layout Plain Layout
9582 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9585 \begin_layout Plain Layout
9591 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9594 \begin_layout Plain Layout
9601 <row endhead="true">
9602 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9605 \begin_layout Plain Layout
9613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9616 \begin_layout Plain Layout
9622 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9625 \begin_layout Plain Layout
9634 <row endfoot="true">
9635 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9638 \begin_layout Plain Layout
9644 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9647 \begin_layout Plain Layout
9653 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9656 \begin_layout Plain Layout
9664 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9667 \begin_layout Plain Layout
9675 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9678 \begin_layout Plain Layout
9684 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9687 \begin_layout Plain Layout
9695 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9698 \begin_layout Plain Layout
9706 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9709 \begin_layout Plain Layout
9715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9718 \begin_layout Plain Layout
9726 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9729 \begin_layout Plain Layout
9737 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9740 \begin_layout Plain Layout
9746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9749 \begin_layout Plain Layout
9757 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9760 \begin_layout Plain Layout
9768 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9771 \begin_layout Plain Layout
9777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9780 \begin_layout Plain Layout
9788 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9791 \begin_layout Plain Layout
9799 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9802 \begin_layout Plain Layout
9808 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9811 \begin_layout Plain Layout
9819 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9822 \begin_layout Plain Layout
9830 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9833 \begin_layout Plain Layout
9839 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9842 \begin_layout Plain Layout
9850 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9853 \begin_layout Plain Layout
9861 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9864 \begin_layout Plain Layout
9870 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9873 \begin_layout Plain Layout
9881 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9884 \begin_layout Plain Layout
9892 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9895 \begin_layout Plain Layout
9901 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9904 \begin_layout Plain Layout
9912 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9915 \begin_layout Plain Layout
9923 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9926 \begin_layout Plain Layout
9932 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9935 \begin_layout Plain Layout
9943 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9946 \begin_layout Plain Layout
9954 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9957 \begin_layout Plain Layout
9963 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9966 \begin_layout Plain Layout
9974 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9977 \begin_layout Plain Layout
9985 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9988 \begin_layout Plain Layout
9994 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9997 \begin_layout Plain Layout
10005 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10008 \begin_layout Plain Layout
10016 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10019 \begin_layout Plain Layout
10025 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10028 \begin_layout Plain Layout
10036 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10039 \begin_layout Plain Layout
10047 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10050 \begin_layout Plain Layout
10056 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10059 \begin_layout Plain Layout
10067 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10070 \begin_layout Plain Layout
10078 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10081 \begin_layout Plain Layout
10087 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10090 \begin_layout Plain Layout
10098 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10101 \begin_layout Plain Layout
10109 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10112 \begin_layout Plain Layout
10118 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10121 \begin_layout Plain Layout
10129 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10132 \begin_layout Plain Layout
10140 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10143 \begin_layout Plain Layout
10149 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10152 \begin_layout Plain Layout
10160 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10163 \begin_layout Plain Layout
10171 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10174 \begin_layout Plain Layout
10180 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10183 \begin_layout Plain Layout
10191 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10194 \begin_layout Plain Layout
10202 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10205 \begin_layout Plain Layout
10211 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10214 \begin_layout Plain Layout
10222 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10225 \begin_layout Plain Layout
10233 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10236 \begin_layout Plain Layout
10242 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10245 \begin_layout Plain Layout
10253 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10256 \begin_layout Plain Layout
10264 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10267 \begin_layout Plain Layout
10273 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10276 \begin_layout Plain Layout
10284 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10287 \begin_layout Plain Layout
10295 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10298 \begin_layout Plain Layout
10304 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10307 \begin_layout Plain Layout
10315 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10318 \begin_layout Plain Layout
10326 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10329 \begin_layout Plain Layout
10335 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10338 \begin_layout Plain Layout
10346 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10349 \begin_layout Plain Layout
10357 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10360 \begin_layout Plain Layout
10362 Fürst von Montecompatri, 11.
10363 Fürst von Sulmona und Vivaro, 10.
10364 Fürst von Rossano, 5.
10365 Herzog von Canemorte, 11.
10366 Herzog von Palombara, 5.
10367 Herzog von Castelchiodato,
10371 \begin_layout Plain Layout
10382 \begin_layout Plain Layout
10390 Herzog von Poggionativo, 11.
10391 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10392 Graf von Valinfreda, 11.
10393 Baron von Cropalati, 11.
10394 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10399 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10402 \begin_layout Plain Layout
10410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10413 \begin_layout Plain Layout
10421 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10424 \begin_layout Plain Layout
10430 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10433 \begin_layout Plain Layout
10441 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10444 \begin_layout Plain Layout
10452 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10455 \begin_layout Plain Layout
10461 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10464 \begin_layout Plain Layout
10472 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10475 \begin_layout Plain Layout
10483 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10486 \begin_layout Plain Layout
10492 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10495 \begin_layout Plain Layout
10503 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10506 \begin_layout Plain Layout
10514 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10517 \begin_layout Plain Layout
10523 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10526 \begin_layout Plain Layout
10534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10537 \begin_layout Plain Layout
10545 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10548 \begin_layout Plain Layout
10554 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10557 \begin_layout Plain Layout
10565 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10568 \begin_layout Plain Layout
10576 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10579 \begin_layout Plain Layout
10585 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10588 \begin_layout Plain Layout
10596 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10599 \begin_layout Plain Layout
10607 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10610 \begin_layout Plain Layout
10616 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10619 \begin_layout Plain Layout
10627 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10630 \begin_layout Plain Layout
10638 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10641 \begin_layout Plain Layout
10647 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10650 \begin_layout Plain Layout
10664 \begin_layout Section
10668 \begin_layout Subsection
10670 \begin_inset CommandInset label
10677 \begin_inset Index idx
10680 \begin_layout Plain Layout
10681 ひょうせるないのふくすうぎょう@表セル内の複数行
10687 \begin_inset Index idx
10690 \begin_layout Plain Layout
10699 \begin_layout Standard
10701 \begin_inset Float table
10707 \begin_layout Plain Layout
10708 \begin_inset Caption Standard
10710 \begin_layout Plain Layout
10711 \begin_inset CommandInset label
10725 \begin_layout Plain Layout
10727 \begin_inset Tabular
10728 <lyxtabular version="3" rows="3" columns="3">
10729 <features rotate="0" tabularvalignment="middle">
10730 <column alignment="center" valignment="middle" width="2.5cm">
10731 <column alignment="center" valignment="middle">
10732 <column alignment="center" valignment="middle">
10734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10737 \begin_layout Plain Layout
10739 \begin_inset Newline linebreak
10747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10750 \begin_layout Plain Layout
10756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10759 \begin_layout Plain Layout
10767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10770 \begin_layout Plain Layout
10776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10779 \begin_layout Plain Layout
10785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10788 \begin_layout Plain Layout
10796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10799 \begin_layout Plain Layout
10805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10808 \begin_layout Plain Layout
10814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10817 \begin_layout Plain Layout
10836 \begin_layout Standard
10837 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10840 \begin_layout Standard
10842 \begin_inset CommandInset ref
10844 reference "tab:複数行表"
10849 \begin_inset Formula $\times$
10852 3表を作り、最初のセルを右クリックして現れるメニューから、
10856 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10857 \begin_inset space \thinspace{}
10860 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10861 \begin_inset space \thinspace{}
10864 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(
10865 \begin_inset Flex Ruby
10868 \begin_layout Plain Layout
10870 \begin_inset Argument post:1
10873 \begin_layout Plain Layout
10887 arg "newline-insert linebreak"
10890 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10893 \begin_layout Standard
10894 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10895 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10896 \begin_inset space \thinspace{}
10899 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10900 \begin_inset CommandInset ref
10902 reference "tab:ハイフネーション表"
10910 \begin_layout Plain Layout
10915 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10923 \begin_layout Standard
10924 \begin_inset Float table
10930 \begin_layout Plain Layout
10931 \begin_inset Caption Standard
10933 \begin_layout Plain Layout
10934 \begin_inset CommandInset label
10936 name "tab:ハイフネーション表"
10948 \begin_layout Plain Layout
10949 \begin_inset space \hfill{}
10953 \begin_inset Tabular
10954 <lyxtabular version="3" rows="3" columns="3">
10955 <features rotate="0" tabularvalignment="middle">
10956 <column alignment="center" valignment="middle" width="2.5cm">
10957 <column alignment="center" valignment="middle">
10958 <column alignment="center" valignment="middle">
10960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10963 \begin_layout Plain Layout
10964 verylongtablecellword
10969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10972 \begin_layout Plain Layout
10978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10981 \begin_layout Plain Layout
10989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10992 \begin_layout Plain Layout
10998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11001 \begin_layout Plain Layout
11007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11010 \begin_layout Plain Layout
11018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11021 \begin_layout Plain Layout
11027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11030 \begin_layout Plain Layout
11036 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11039 \begin_layout Plain Layout
11051 \begin_inset space \hfill{}
11055 \begin_inset Tabular
11056 <lyxtabular version="3" rows="3" columns="3">
11057 <features rotate="0" tabularvalignment="middle">
11058 <column alignment="center" valignment="middle" width="2.5cm">
11059 <column alignment="center" valignment="middle">
11060 <column alignment="center" valignment="middle">
11062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11065 \begin_layout Plain Layout
11066 \begin_inset space \hspace{}
11070 verylongtablecellword
11075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11078 \begin_layout Plain Layout
11084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11087 \begin_layout Plain Layout
11095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11098 \begin_layout Plain Layout
11104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11107 \begin_layout Plain Layout
11113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11116 \begin_layout Plain Layout
11124 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11127 \begin_layout Plain Layout
11133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11136 \begin_layout Plain Layout
11142 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11145 \begin_layout Plain Layout
11157 \begin_inset space \hfill{}
11168 \begin_layout Subsection
11170 \begin_inset CommandInset label
11177 \begin_inset Index idx
11180 \begin_layout Plain Layout
11187 \begin_inset Index idx
11190 \begin_layout Plain Layout
11199 \begin_layout Subsubsection
11203 \begin_layout Standard
11204 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
11209 arg "inset-modify tabular multicolumn"
11216 編集\SpecialChar \menuseparator
11217 表\SpecialChar \menuseparator
11220 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
11227 \begin_layout Standard
11228 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
11229 、最下行に上罫線のない連結行がある表の例です。
11232 \begin_layout Standard
11234 \begin_inset Tabular
11235 <lyxtabular version="3" rows="3" columns="4">
11236 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11237 <column alignment="center" valignment="top" width="0pt">
11238 <column alignment="center" valignment="middle">
11239 <column alignment="center" valignment="top" width="0in">
11240 <column alignment="center" valignment="top" width="0pt">
11242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11245 \begin_layout Plain Layout
11251 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11254 \begin_layout Plain Layout
11260 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11263 \begin_layout Plain Layout
11269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11272 \begin_layout Plain Layout
11280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11283 \begin_layout Plain Layout
11289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11292 \begin_layout Plain Layout
11298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11301 \begin_layout Plain Layout
11307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11310 \begin_layout Plain Layout
11318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11321 \begin_layout Plain Layout
11327 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11330 \begin_layout Plain Layout
11336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11339 \begin_layout Plain Layout
11345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11348 \begin_layout Plain Layout
11362 \begin_layout Subsubsection
11364 \begin_inset CommandInset label
11371 \begin_inset Index idx
11374 \begin_layout Plain Layout
11375 れんけつれつ@連結列 ! けいさん@計算
11383 \begin_layout Standard
11384 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11387 \begin_layout Standard
11388 \begin_inset Float table
11394 \begin_layout Plain Layout
11395 \begin_inset Caption Standard
11397 \begin_layout Plain Layout
11398 \begin_inset CommandInset label
11404 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11405 \begin_inset Argument 1
11408 \begin_layout Plain Layout
11422 \begin_layout Plain Layout
11424 \begin_inset Tabular
11425 <lyxtabular version="3" rows="3" columns="3">
11426 <features rotate="0" tabularvalignment="middle">
11427 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11428 <column alignment="center" valignment="middle">
11429 <column alignment="center" valignment="top">
11431 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11434 \begin_layout Plain Layout
11440 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11443 \begin_layout Plain Layout
11449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11452 \begin_layout Plain Layout
11460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11463 \begin_layout Plain Layout
11469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11472 \begin_layout Plain Layout
11478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11481 \begin_layout Plain Layout
11489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11492 \begin_layout Plain Layout
11498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11501 \begin_layout Plain Layout
11507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11510 \begin_layout Plain Layout
11529 \begin_layout Standard
11531 \begin_inset CommandInset ref
11533 reference "tab:中央揃え表"
11538 \begin_inset Formula $\times$
11541 3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11545 を選択します。そして現れる表の設定ダイアログで、このセルを
11554 \begin_inset space \thinspace{}
11557 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11558 \begin_inset space \thinspace{}
11561 cm幅に設定します。すると第二列は自動的に1.25
11562 \begin_inset space \thinspace{}
11565 cm幅(連結列幅マイナス第一列の幅)になります。表
11566 \begin_inset CommandInset ref
11568 reference "tab:半分でない表"
11575 \begin_layout Standard
11576 \begin_inset Float table
11581 \begin_layout Plain Layout
11582 \begin_inset Caption Standard
11584 \begin_layout Plain Layout
11585 \begin_inset CommandInset label
11591 連結セルの下の列が正確に半分になっていない表
11592 \begin_inset Argument 1
11595 \begin_layout Plain Layout
11609 \begin_layout Plain Layout
11611 \begin_inset Tabular
11612 <lyxtabular version="3" rows="3" columns="3">
11613 <features rotate="0" tabularvalignment="middle">
11614 <column alignment="center" valignment="top" width="1.25cm">
11615 <column alignment="center" valignment="top">
11616 <column alignment="center" valignment="top">
11618 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11621 \begin_layout Plain Layout
11627 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11630 \begin_layout Plain Layout
11636 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11639 \begin_layout Plain Layout
11647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11650 \begin_layout Plain Layout
11656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11659 \begin_layout Plain Layout
11665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11668 \begin_layout Plain Layout
11676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11679 \begin_layout Plain Layout
11685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11688 \begin_layout Plain Layout
11694 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11697 \begin_layout Plain Layout
11716 \begin_layout Standard
11717 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11719 \begin_inset Formula $W_{\mbox{指}}$
11723 \begin_inset Formula $W_{\text{全}}$
11727 \begin_inset CommandInset ref
11729 reference "cha:式の説明"
11736 \begin_layout Standard
11742 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11746 \begin_inset Formula $W_{\mbox{指}:n}$
11750 \begin_inset Formula
11752 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11760 \begin_layout Standard
11761 で計算することができます。上記の例では
11762 \begin_inset Formula $n=2$
11766 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11770 \begin_inset CommandInset ref
11777 \begin_inset Formula
11779 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11787 \begin_layout Standard
11788 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11791 \begin_layout Standard
11799 \begin_layout Standard
11805 \begin_inset Index idx
11808 \begin_layout Plain Layout
11809 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11814 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11815 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11818 \begin_layout Itemize
11823 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11826 \begin_layout Itemize
11831 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11834 \begin_layout Itemize
11839 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11842 \begin_layout Standard
11843 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11846 \begin_layout Standard
11847 \begin_inset Note Greyedout
11850 \begin_layout Plain Layout
11855 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11863 \begin_layout Standard
11870 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11873 \begin_layout Standard
11878 centering}m{1.25cm-6.2pt}
11881 \begin_layout Standard
11886 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11889 \begin_layout Standard
11890 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11894 \begin_layout Standard
11902 \begin_layout Standard
11903 というLaTeX変数を指定しなくてはなりません。
11906 \begin_layout Subsection
11908 \begin_inset CommandInset label
11915 \begin_inset Index idx
11918 \begin_layout Plain Layout
11925 \begin_inset Index idx
11928 \begin_layout Plain Layout
11929 ひょう@表 ! れんけつぎょう@連結行
11937 \begin_layout Standard
11938 複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
11943 arg "inset-modify tabular multirow"
11950 編集\SpecialChar \menuseparator
11951 表\SpecialChar \menuseparator
11954 を選ぶか、選択したセルを右クリックして、コンテクストメニューから
11956 \SpecialChar \menuseparator
11962 \begin_layout Standard
11963 下記は一列目に連結列を適用した表の例です。
11966 \begin_layout Standard
11968 \begin_inset Tabular
11969 <lyxtabular version="3" rows="3" columns="3">
11970 <features rotate="0" tabularvalignment="middle">
11971 <column alignment="center" valignment="top" width="0pt">
11972 <column alignment="center" valignment="top">
11973 <column alignment="center" valignment="top">
11975 <cell alignment="center" valignment="top" topline="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="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12007 \begin_layout Plain Layout
12013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12016 \begin_layout Plain Layout
12022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12025 \begin_layout Plain Layout
12033 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12036 \begin_layout Plain Layout
12042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12045 \begin_layout Plain Layout
12051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12054 \begin_layout Plain Layout
12068 \begin_layout Standard
12069 連結列の幅は、列全体の幅と揃えを設定することによって設定することができます。
12073 は、正または負の値を与えると、連結列の内容を上下にシフトします。
12076 \begin_layout Standard
12077 連結行セルの列に明示的な幅が与えられていない場合、連結行セルは当該列の揃えを継承します。それもなければ左揃えです。既定値を上書きするには、
12080 \begin_layout Standard
12092 \begin_layout Standard
12099 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
12100 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
12121 \begin_layout Standard
12122 下記は、-4ミリの垂直オフセットを設定し、3センチ幅の列中にある右揃えの連結列セルがある表の例です。
12125 \begin_layout Standard
12131 \begin_layout Plain Layout
12145 \begin_inset Tabular
12146 <lyxtabular version="3" rows="4" columns="3">
12147 <features rotate="0" tabularvalignment="middle">
12148 <column alignment="center" valignment="top" width="3cm">
12149 <column alignment="center" valignment="top">
12150 <column alignment="center" valignment="top">
12152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12155 \begin_layout Plain Layout
12161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12164 \begin_layout Plain Layout
12170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12173 \begin_layout Plain Layout
12181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12184 \begin_layout Plain Layout
12190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12193 \begin_layout Plain Layout
12199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12202 \begin_layout Plain Layout
12210 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12213 \begin_layout Plain Layout
12219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12222 \begin_layout Plain Layout
12228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12231 \begin_layout Plain Layout
12239 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12242 \begin_layout Plain Layout
12248 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12251 \begin_layout Plain Layout
12257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12260 \begin_layout Plain Layout
12275 \begin_layout Plain Layout
12291 \begin_layout Standard
12292 連結行で新しい行に移るには、強制改行(
12293 \begin_inset Flex Ruby
12296 \begin_layout Plain Layout
12298 \begin_inset Argument post:1
12301 \begin_layout Plain Layout
12315 arg "newline-insert newline"
12318 )を使用できますが、この場合、下記の例に示されているようにセル行との整合を顧慮しません。
12321 \begin_layout Standard
12324 \begin_inset Tabular
12325 <lyxtabular version="3" rows="3" columns="2">
12326 <features rotate="0" tabularvalignment="middle">
12327 <column alignment="left" valignment="middle" width="2cm">
12328 <column alignment="center" valignment="top">
12330 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12333 \begin_layout Plain Layout
12335 \begin_inset Newline newline
12339 \begin_inset Newline newline
12347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12350 \begin_layout Plain Layout
12358 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12361 \begin_layout Plain Layout
12367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12370 \begin_layout Plain Layout
12378 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12381 \begin_layout Plain Layout
12387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12390 \begin_layout Plain Layout
12404 \begin_layout Standard
12405 したがって、強制改行を使うのは注意が必要です。
12408 \begin_layout Subsection
12412 \begin_layout Standard
12413 読者に表中の行見出しや列見出しが何を意味しているかを伝えるには、表の第1セルに対角線を一本ないし二本引いて分割すると便利です。これは、LaTeXパッケージの
12418 \begin_inset Index idx
12421 \begin_layout Plain Layout
12422 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
12427 を文書プリアンブルに読み込むことによって実現できます。このパッケージには、
12433 というコマンドがありますので、以下のように、これに2ないし3の引数をつけて、TeXコードで挿入します。
12436 \begin_layout Standard
12441 diagbox[オプション]{左下}{右上}
12444 \begin_layout Standard
12449 diagbox[オプション]{左下}{左上}{右上}
12452 \begin_layout Standard
12453 最初の書式は、第1セルを一本の対角線で分割し、引数の内容がその上下に入れられます。二つ目の書式は、第1セルを二本の線で分割します。
12456 \begin_layout Standard
12460 \begin_layout Plain Layout
12470 \begin_inset Note Note
12473 \begin_layout Plain Layout
12486 \begin_layout Standard
12493 を第1セル中に2引数書式で使用した表の例です。
12494 \begin_inset VSpace medskip
12500 \begin_layout Standard
12502 \begin_inset Tabular
12503 <lyxtabular version="3" rows="4" columns="4">
12504 <features rotate="0" tabularvalignment="middle">
12505 <column alignment="center" valignment="top">
12506 <column alignment="center" valignment="top">
12507 <column alignment="center" valignment="top">
12508 <column alignment="center" valignment="top">
12510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12513 \begin_layout Plain Layout
12517 \begin_layout Plain Layout
12530 \begin_layout Plain Layout
12541 \begin_layout Plain Layout
12553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12556 \begin_layout Plain Layout
12562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12565 \begin_layout Plain Layout
12571 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12574 \begin_layout Plain Layout
12582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12585 \begin_layout Plain Layout
12591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12594 \begin_layout Plain Layout
12600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12603 \begin_layout Plain Layout
12609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12612 \begin_layout Plain Layout
12620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12623 \begin_layout Plain Layout
12629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12632 \begin_layout Plain Layout
12638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12641 \begin_layout Plain Layout
12647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12650 \begin_layout Plain Layout
12658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12661 \begin_layout Plain Layout
12667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12670 \begin_layout Plain Layout
12676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12679 \begin_layout Plain Layout
12685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12688 \begin_layout Plain Layout
12700 \begin_inset VSpace medskip
12706 \begin_layout Standard
12707 3引数書式は、例えばスポーツリーグや距離を示すクロス表に便利です。
12710 \begin_layout Standard
12713 \begin_inset Tabular
12714 <lyxtabular version="3" rows="4" columns="4">
12715 <features rotate="0" tabularvalignment="middle">
12716 <column alignment="center" valignment="top" width="0pt">
12717 <column alignment="center" valignment="top">
12718 <column alignment="center" valignment="top">
12719 <column alignment="center" valignment="top">
12721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12724 \begin_layout Plain Layout
12728 \begin_layout Plain Layout
12741 \begin_layout Plain Layout
12752 \begin_layout Plain Layout
12763 \begin_layout Plain Layout
12775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12778 \begin_layout Plain Layout
12784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12787 \begin_layout Plain Layout
12793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12796 \begin_layout Plain Layout
12804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12807 \begin_layout Plain Layout
12813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12816 \begin_layout Plain Layout
12822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12825 \begin_layout Plain Layout
12831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12834 \begin_layout Plain Layout
12842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12845 \begin_layout Plain Layout
12851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12854 \begin_layout Plain Layout
12860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12863 \begin_layout Plain Layout
12869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12872 \begin_layout Plain Layout
12880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12883 \begin_layout Plain Layout
12889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12892 \begin_layout Plain Layout
12898 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12901 \begin_layout Plain Layout
12907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12910 \begin_layout Plain Layout
12924 \begin_layout Standard
12925 大きなクロス表では、下記のように、2つないし全部のコーナーセルに対角線を入れると良いかもしれません。
12928 \begin_layout Standard
12931 \begin_inset Tabular
12932 <lyxtabular version="3" rows="5" columns="5">
12933 <features rotate="0" tabularvalignment="middle">
12934 <column alignment="center" valignment="top" width="0pt">
12935 <column alignment="center" valignment="top">
12936 <column alignment="center" valignment="top">
12937 <column alignment="center" valignment="top">
12938 <column alignment="center" valignment="top">
12940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12943 \begin_layout Plain Layout
12947 \begin_layout Plain Layout
12960 \begin_layout Plain Layout
12971 \begin_layout Plain Layout
12982 \begin_layout Plain Layout
12994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12997 \begin_layout Plain Layout
13003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13006 \begin_layout Plain Layout
13012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13015 \begin_layout Plain Layout
13021 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13024 \begin_layout Plain Layout
13028 \begin_layout Plain Layout
13041 \begin_layout Plain Layout
13052 \begin_layout Plain Layout
13063 \begin_layout Plain Layout
13077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13080 \begin_layout Plain Layout
13086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13089 \begin_layout Plain Layout
13095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13098 \begin_layout Plain Layout
13104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13107 \begin_layout Plain Layout
13113 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13116 \begin_layout Plain Layout
13124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13127 \begin_layout Plain Layout
13133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13136 \begin_layout Plain Layout
13142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13145 \begin_layout Plain Layout
13151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13154 \begin_layout Plain Layout
13160 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13163 \begin_layout Plain Layout
13171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13174 \begin_layout Plain Layout
13180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13183 \begin_layout Plain Layout
13189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13192 \begin_layout Plain Layout
13198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13201 \begin_layout Plain Layout
13207 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13210 \begin_layout Plain Layout
13218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13221 \begin_layout Plain Layout
13225 \begin_layout Plain Layout
13238 \begin_layout Plain Layout
13249 \begin_layout Plain Layout
13260 \begin_layout Plain Layout
13272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13275 \begin_layout Plain Layout
13281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13284 \begin_layout Plain Layout
13290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13293 \begin_layout Plain Layout
13299 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13302 \begin_layout Plain Layout
13306 \begin_layout Plain Layout
13319 \begin_layout Plain Layout
13330 \begin_layout Plain Layout
13341 \begin_layout Plain Layout
13361 \begin_layout Standard
13362 対角線を廻すために、コマンドオプションとして
13386 のいずれかで、コンパスでの位置を示します。例えば、
13390 は南西かど(south-west)を示します。したがって、上の表の左下のセルでは、
13393 \begin_layout Standard
13398 diagbox[dir=SW]{ホームチーム}{結果}{アウェイチーム}
13401 \begin_layout Standard
13402 というコマンドを使用しています。方角を指定しなければ、NWを指定したのと同じ事になります。
13405 \begin_layout Standard
13406 対角線を引いたセルに必要な幅は、自動的に計算されます。したがって、計算された幅よりも小さい固定列幅を指定してしまうと、下記の例のように、セルの中身がはみ出てしま
13410 \begin_layout Standard
13413 \begin_inset Tabular
13414 <lyxtabular version="3" rows="2" columns="2">
13415 <features rotate="0" tabularvalignment="middle">
13416 <column alignment="center" valignment="top" width="3cm">
13417 <column alignment="center" valignment="top">
13419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13422 \begin_layout Plain Layout
13426 \begin_layout Plain Layout
13439 \begin_layout Plain Layout
13450 \begin_layout Plain Layout
13462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13465 \begin_layout Plain Layout
13473 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13476 \begin_layout Plain Layout
13482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13485 \begin_layout Plain Layout
13499 \begin_layout Standard
13500 対角線を引いたセルの列に一定の幅が必要な場合は、コマンドオプションとして
13504 (必要に応じて「3cm」を必要な幅に変更)を与えてください。下記の表では、第1列の幅が4
13505 \begin_inset space \thinspace{}
13515 \begin_inset space \thinspace{}
13518 cm)に、本文とセル罫線との間隔の2倍を加えたものになるので、
13525 \begin_inset space \thinspace{}
13529 \begin_inset space \thinspace{}
13534 tabcolsepの幅が必要です。幅の計算は、
13540 のコマンドオプション内では行うことができないので、前もって新しい長さを定義しておく必要があります。これは、TeXコードコマンドで
13543 \begin_layout Standard
13551 \begin_inset Newline newline
13563 \begin_layout Standard
13567 \begin_layout Plain Layout
13576 \begin_layout Plain Layout
13592 \begin_layout Standard
13593 とすれば実現できます。LaTeX内で計算を行うには、文書プリアンブル中で
13598 \begin_inset Index idx
13601 \begin_layout Plain Layout
13602 LaTeXぱっけーじ@LaTeXパッケージ ! calc
13607 パッケージを読み込んでおく必要があります。
13610 \begin_layout Standard
13614 \begin_layout Standard
13624 \begin_layout Standard
13628 \begin_layout Standard
13631 \begin_inset Tabular
13632 <lyxtabular version="3" rows="2" columns="2">
13633 <features rotate="0" tabularvalignment="middle">
13634 <column alignment="center" valignment="top" width="4cm">
13635 <column alignment="center" valignment="top">
13637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13640 \begin_layout Plain Layout
13644 \begin_layout Plain Layout
13659 \begin_layout Plain Layout
13670 \begin_layout Plain Layout
13682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13685 \begin_layout Plain Layout
13693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13696 \begin_layout Plain Layout
13702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13705 \begin_layout Plain Layout
13719 \begin_layout Standard
13720 対角線の引いたセルは、当該列中で最も幅広くなっていなくてはなりません。さもないと、次の表のように、対角線の長さが正しく計算できなくなってしまいます。
13723 \begin_layout Standard
13726 \begin_inset Tabular
13727 <lyxtabular version="3" rows="2" columns="2">
13728 <features rotate="0" tabularvalignment="middle">
13729 <column alignment="center" valignment="top" width="0pt">
13730 <column alignment="center" valignment="top">
13732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13735 \begin_layout Plain Layout
13739 \begin_layout Plain Layout
13752 \begin_layout Plain Layout
13763 \begin_layout Plain Layout
13775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13778 \begin_layout Plain Layout
13786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13789 \begin_layout Plain Layout
13795 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13798 \begin_layout Plain Layout
13812 \begin_layout Standard
13823 オプションを使用してください。こうすると、セル幅が列幅に等しくなるので、2
13825 tabcolsepを足す必要はなくなります。下記の表では、3
13826 \begin_inset space \thinspace{}
13832 \begin_layout Standard
13835 \begin_inset Tabular
13836 <lyxtabular version="3" rows="2" columns="2">
13837 <features rotate="0" tabularvalignment="middle">
13838 <column alignment="center" valignment="top" width="0pt">
13839 <column alignment="center" valignment="top">
13841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13844 \begin_layout Plain Layout
13848 \begin_layout Plain Layout
13852 diagbox[width=3cm]{
13861 \begin_layout Plain Layout
13872 \begin_layout Plain Layout
13884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13887 \begin_layout Plain Layout
13895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13898 \begin_layout Plain Layout
13904 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13907 \begin_layout Plain Layout
13921 \begin_layout Standard
13922 対角線を引いたセルに複数行を入力するには、文章をセルに合わせるために高さを追加する必要があります。これは、
13932 を与えることで実現できます(「3cm」は必要な高さに置き換えてください)。下記の表では、第1セルに
13935 \begin_layout Standard
13940 diagbox[width=3cm,height=1.4cm]{A
13951 \begin_layout Standard
13952 というコマンドを使用しています。ここでコマンド
13964 \begin_layout Plain Layout
13969 を使っての改行は、列が固定幅の時のみ、使用することができます。
13977 \begin_layout Standard
13980 \begin_inset Tabular
13981 <lyxtabular version="3" rows="2" columns="2">
13982 <features rotate="0" tabularvalignment="middle">
13983 <column alignment="center" valignment="top">
13984 <column alignment="center" valignment="top">
13986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13989 \begin_layout Plain Layout
13993 \begin_layout Plain Layout
13997 diagbox[width=3cm,height=1.4cm]{
14006 \begin_layout Plain Layout
14021 \begin_layout Plain Layout
14032 \begin_layout Plain Layout
14047 \begin_layout Plain Layout
14059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14062 \begin_layout Plain Layout
14070 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14073 \begin_layout Plain Layout
14079 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14082 \begin_layout Plain Layout
14096 \begin_layout Standard
14100 \begin_layout Plain Layout
14110 \begin_inset Note Note
14113 \begin_layout Plain Layout
14126 \begin_layout Standard
14131 パッケージを導入しなくてはなりません。
14134 \begin_layout Standard
14138 \begin_layout Plain Layout
14150 \begin_layout Standard
14156 \begin_inset CommandInset citation
14165 \begin_layout Section
14167 \begin_inset CommandInset label
14169 name "sec:フォーマル形式の表"
14174 \begin_inset Index idx
14177 \begin_layout Plain Layout
14178 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
14186 \begin_layout Standard
14188 \begin_inset CommandInset ref
14190 reference "tab:ブックタブ表の例"
14194 のように組版されます。この種の表は、「
14198 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
14201 \begin_layout Standard
14202 \begin_inset Float table
14208 \begin_layout Plain Layout
14209 \begin_inset Caption Standard
14211 \begin_layout Plain Layout
14212 \begin_inset CommandInset label
14214 name "tab:ブックタブ表の例"
14226 \begin_layout Plain Layout
14228 \begin_inset Tabular
14229 <lyxtabular version="3" rows="8" columns="4">
14230 <features rotate="0" booktabs="true" tabularvalignment="middle">
14231 <column alignment="center" valignment="top">
14232 <column alignment="center" valignment="top">
14233 <column alignment="center" valignment="top">
14234 <column alignment="center" valignment="top">
14236 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14239 \begin_layout Plain Layout
14245 <cell alignment="center" valignment="top" topline="true" usebox="none">
14248 \begin_layout Plain Layout
14250 \begin_inset space \thinspace{}
14258 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14261 \begin_layout Plain Layout
14263 \begin_inset space \thinspace{}
14271 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14274 \begin_layout Plain Layout
14282 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14285 \begin_layout Plain Layout
14289 \begin_layout Plain Layout
14302 \begin_layout Plain Layout
14312 \begin_inset Formula $\mu m$
14320 <cell alignment="center" valignment="top" usebox="none">
14323 \begin_layout Plain Layout
14329 <cell alignment="center" valignment="top" usebox="none">
14332 \begin_layout Plain Layout
14338 <cell alignment="center" valignment="top" usebox="none">
14341 \begin_layout Plain Layout
14349 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14352 \begin_layout Plain Layout
14358 <cell alignment="center" valignment="top" topline="true" usebox="none">
14361 \begin_layout Plain Layout
14367 <cell alignment="center" valignment="top" topline="true" usebox="none">
14370 \begin_layout Plain Layout
14376 <cell alignment="center" valignment="top" topline="true" usebox="none">
14379 \begin_layout Plain Layout
14386 <row topspace="default">
14387 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14390 \begin_layout Plain Layout
14392 \begin_inset Formula $\mu m$
14400 <cell alignment="center" valignment="top" usebox="none">
14403 \begin_layout Plain Layout
14409 <cell alignment="center" valignment="top" usebox="none">
14412 \begin_layout Plain Layout
14418 <cell alignment="center" valignment="top" usebox="none">
14421 \begin_layout Plain Layout
14428 <row topspace="default">
14429 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14432 \begin_layout Plain Layout
14433 \begin_inset Formula $f_{\mathrm{max}}$
14441 <cell alignment="center" valignment="top" usebox="none">
14444 \begin_layout Plain Layout
14450 <cell alignment="center" valignment="top" usebox="none">
14453 \begin_layout Plain Layout
14459 <cell alignment="center" valignment="top" usebox="none">
14462 \begin_layout Plain Layout
14469 <row topspace="default">
14470 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14473 \begin_layout Plain Layout
14477 \begin_layout Plain Layout
14481 cmidrule[2pt](l{10pt}){1-1}
14491 <cell alignment="center" valignment="top" usebox="none">
14494 \begin_layout Plain Layout
14500 <cell alignment="center" valignment="top" usebox="none">
14503 \begin_layout Plain Layout
14509 <cell alignment="center" valignment="top" usebox="none">
14512 \begin_layout Plain Layout
14520 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14523 \begin_layout Plain Layout
14524 \begin_inset Formula $\mu m$
14532 <cell alignment="center" valignment="top" usebox="none">
14535 \begin_layout Plain Layout
14541 <cell alignment="center" valignment="top" usebox="none">
14544 \begin_layout Plain Layout
14550 <cell alignment="center" valignment="top" usebox="none">
14553 \begin_layout Plain Layout
14561 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14564 \begin_layout Plain Layout
14570 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14573 \begin_layout Plain Layout
14579 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14582 \begin_layout Plain Layout
14588 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14591 \begin_layout Plain Layout
14610 \begin_layout Standard
14612 \begin_inset CommandInset ref
14614 reference "sub:行の余白取り"
14618 節に述べられているように、表の設定ダイアログの
14625 \begin_layout Standard
14626 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
14627 \begin_inset Newline newline
14631 \begin_inset space \thinspace{}
14634 emですが、他の罫線の既定幅は0.05
14635 \begin_inset space \thinspace{}
14641 \begin_layout Standard
14642 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
14645 \begin_layout Standard
14655 \begin_inset Newline newline
14667 \begin_layout Standard
14672 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
14680 に置き換えて下さい。他の罫線の線幅を変更するには、
14688 に置き換えます。線幅を設定する上では、付録
14689 \begin_inset CommandInset ref
14691 reference "cha:LyXで使用できる単位"
14695 に挙げてあるすべての単位を使用することができます。
14698 \begin_layout Standard
14699 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
14705 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
14708 \begin_layout Standard
14713 cmidrule[幅](刈込){開始列-終了列}
14716 \begin_layout Standard
14723 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
14729 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
14733 \begin_layout Standard
14735 \begin_inset space \thinspace{}
14738 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
14747 の値を取り、刈込幅の指定は非必須です。たとえば、
14751 というパラメーターを使うと、罫線が左端から2
14752 \begin_inset space \thinspace{}
14755 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
14756 \begin_inset space \thinspace{}
14762 \begin_layout Standard
14763 \begin_inset VSpace bigskip
14767 \begin_inset CommandInset ref
14769 reference "tab:ブックタブ表の例"
14776 \begin_layout Standard
14786 \begin_layout Standard
14787 というコマンドを第二行の初めに使用し、
14790 \begin_layout Standard
14795 cmidrule[2pt](l{10pt}){1-1}
14798 \begin_layout Standard
14802 \begin_layout Standard
14803 \begin_inset VSpace bigskip
14809 \begin_layout Standard
14811 \begin_inset CommandInset ref
14813 reference "tab:特殊なブックタブ表"
14823 が欲しいことがあるかもしれません。これは、TeXコードで
14826 \begin_layout Standard
14834 \begin_layout Standard
14835 コマンドを使用することによって実現することができます。表
14836 \begin_inset CommandInset ref
14838 reference "tab:特殊なブックタブ表"
14845 \begin_layout Standard
14859 \begin_layout Standard
14860 というコマンドが使用されており、第六列には
14863 \begin_layout Standard
14875 \begin_layout Standard
14879 \begin_layout Standard
14880 \begin_inset VSpace bigskip
14886 \begin_layout Standard
14887 罫線の余白取りにどうしても満足が行かない場合には、
14890 \begin_layout Standard
14895 specialrule{幅}{上余白}{下余白}
14898 \begin_layout Standard
14899 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
14904 \begin_inset CommandInset citation
14911 \begin_inset Index idx
14914 \begin_layout Plain Layout
14915 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
14923 \begin_layout Standard
14924 \begin_inset Float table
14930 \begin_layout Plain Layout
14931 \begin_inset Caption Standard
14933 \begin_layout Plain Layout
14934 \begin_inset CommandInset label
14936 name "tab:特殊なブックタブ表"
14948 \begin_layout Plain Layout
14950 \begin_inset Tabular
14951 <lyxtabular version="3" rows="8" columns="4">
14952 <features rotate="0" booktabs="true" tabularvalignment="middle">
14953 <column alignment="center" valignment="top">
14954 <column alignment="center" valignment="top">
14955 <column alignment="center" valignment="top">
14956 <column alignment="center" valignment="top">
14958 <cell alignment="center" valignment="top" topline="true" usebox="none">
14961 \begin_layout Plain Layout
14967 <cell alignment="center" valignment="top" topline="true" usebox="none">
14970 \begin_layout Plain Layout
14972 \begin_inset space \thinspace{}
14980 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14983 \begin_layout Plain Layout
14985 \begin_inset space \thinspace{}
14993 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14996 \begin_layout Plain Layout
15004 <cell alignment="center" valignment="top" usebox="none">
15007 \begin_layout Plain Layout
15011 \begin_layout Plain Layout
15024 \begin_layout Plain Layout
15037 \begin_layout Plain Layout
15050 \begin_layout Plain Layout
15060 \begin_inset Formula $\mu m$
15068 <cell alignment="center" valignment="top" usebox="none">
15071 \begin_layout Plain Layout
15077 <cell alignment="center" valignment="top" usebox="none">
15080 \begin_layout Plain Layout
15086 <cell alignment="center" valignment="top" usebox="none">
15089 \begin_layout Plain Layout
15097 <cell alignment="center" valignment="top" topline="true" usebox="none">
15100 \begin_layout Plain Layout
15106 <cell alignment="center" valignment="top" topline="true" usebox="none">
15109 \begin_layout Plain Layout
15115 <cell alignment="center" valignment="top" topline="true" usebox="none">
15118 \begin_layout Plain Layout
15124 <cell alignment="center" valignment="top" topline="true" usebox="none">
15127 \begin_layout Plain Layout
15134 <row topspace="default">
15135 <cell alignment="center" valignment="top" usebox="none">
15138 \begin_layout Plain Layout
15140 \begin_inset Formula $\mu m$
15148 <cell alignment="center" valignment="top" usebox="none">
15151 \begin_layout Plain Layout
15157 <cell alignment="center" valignment="top" usebox="none">
15160 \begin_layout Plain Layout
15166 <cell alignment="center" valignment="top" usebox="none">
15169 \begin_layout Plain Layout
15176 <row topspace="default">
15177 <cell alignment="center" valignment="top" usebox="none">
15180 \begin_layout Plain Layout
15181 \begin_inset Formula $f_{\mathrm{max}}$
15189 <cell alignment="center" valignment="top" usebox="none">
15192 \begin_layout Plain Layout
15198 <cell alignment="center" valignment="top" usebox="none">
15201 \begin_layout Plain Layout
15207 <cell alignment="center" valignment="top" usebox="none">
15210 \begin_layout Plain Layout
15218 <cell alignment="center" valignment="top" topline="true" usebox="none">
15221 \begin_layout Plain Layout
15225 \begin_layout Plain Layout
15238 \begin_layout Plain Layout
15252 <cell alignment="center" valignment="top" topline="true" usebox="none">
15255 \begin_layout Plain Layout
15261 <cell alignment="center" valignment="top" topline="true" usebox="none">
15264 \begin_layout Plain Layout
15270 <cell alignment="center" valignment="top" topline="true" usebox="none">
15273 \begin_layout Plain Layout
15281 <cell alignment="center" valignment="top" usebox="none">
15284 \begin_layout Plain Layout
15285 \begin_inset Formula $\mu m$
15293 <cell alignment="center" valignment="top" usebox="none">
15296 \begin_layout Plain Layout
15302 <cell alignment="center" valignment="top" usebox="none">
15305 \begin_layout Plain Layout
15311 <cell alignment="center" valignment="top" usebox="none">
15314 \begin_layout Plain Layout
15322 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15325 \begin_layout Plain Layout
15331 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15334 \begin_layout Plain Layout
15340 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15343 \begin_layout Plain Layout
15349 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15352 \begin_layout Plain Layout
15371 \begin_layout Section
15373 \begin_inset Index idx
15376 \begin_layout Plain Layout
15385 \begin_layout Standard
15386 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
15387 \begin_inset CommandInset ref
15389 reference "sec:ボックスダイアログ"
15393 節に述べられているように、ボックスの垂直揃えを行います。
15396 \begin_layout Standard
15398 \begin_inset space \thinspace{}
15405 \begin_layout Plain Layout
15407 \begin_inset CommandInset ref
15409 reference "sec:ミニページ"
15421 \begin_layout Itemize
15423 \begin_inset Box Frameless
15433 height_special "totalheight"
15436 \begin_layout Plain Layout
15437 \begin_inset Tabular
15438 <lyxtabular version="3" rows="3" columns="3">
15439 <features rotate="0" tabularvalignment="middle">
15440 <column alignment="center" valignment="top">
15441 <column alignment="center" valignment="top">
15442 <column alignment="center" valignment="top">
15444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15447 \begin_layout Plain Layout
15453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15456 \begin_layout Plain Layout
15462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15465 \begin_layout Plain Layout
15473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15476 \begin_layout Plain Layout
15482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15485 \begin_layout Plain Layout
15491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15494 \begin_layout Plain Layout
15502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15505 \begin_layout Plain Layout
15511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15514 \begin_layout Plain Layout
15520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15523 \begin_layout Plain Layout
15543 \begin_layout Plain Layout
15555 \begin_inset Box Frameless
15565 height_special "totalheight"
15568 \begin_layout Plain Layout
15569 \begin_inset Tabular
15570 <lyxtabular version="3" rows="3" columns="3">
15571 <features rotate="0" tabularvalignment="middle">
15572 <column alignment="center" valignment="top">
15573 <column alignment="center" valignment="top">
15574 <column alignment="center" valignment="top">
15576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15579 \begin_layout Plain Layout
15585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15588 \begin_layout Plain Layout
15594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15597 \begin_layout Plain Layout
15605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15608 \begin_layout Plain Layout
15614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15617 \begin_layout Plain Layout
15623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15626 \begin_layout Plain Layout
15634 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15637 \begin_layout Plain Layout
15643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15646 \begin_layout Plain Layout
15652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15655 \begin_layout Plain Layout
15675 \begin_layout Plain Layout
15685 \begin_layout Itemize
15687 \begin_inset Box Frameless
15697 height_special "totalheight"
15700 \begin_layout Plain Layout
15701 \begin_inset Tabular
15702 <lyxtabular version="3" rows="3" columns="3">
15703 <features rotate="0" tabularvalignment="middle">
15704 <column alignment="center" valignment="top">
15705 <column alignment="center" valignment="top">
15706 <column alignment="center" valignment="top">
15708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15711 \begin_layout Plain Layout
15717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15720 \begin_layout Plain Layout
15726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15729 \begin_layout Plain Layout
15737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15740 \begin_layout Plain Layout
15746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15749 \begin_layout Plain Layout
15755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15758 \begin_layout Plain Layout
15766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15769 \begin_layout Plain Layout
15775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15778 \begin_layout Plain Layout
15784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15787 \begin_layout Plain Layout
15806 \begin_layout Itemize
15808 \begin_inset Box Frameless
15818 height_special "totalheight"
15821 \begin_layout Plain Layout
15822 \begin_inset Tabular
15823 <lyxtabular version="3" rows="3" columns="3">
15824 <features rotate="0" tabularvalignment="middle">
15825 <column alignment="center" valignment="top">
15826 <column alignment="center" valignment="top">
15827 <column alignment="center" valignment="top">
15829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15832 \begin_layout Plain Layout
15838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15841 \begin_layout Plain Layout
15847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15850 \begin_layout Plain Layout
15858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15861 \begin_layout Plain Layout
15867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15870 \begin_layout Plain Layout
15876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15879 \begin_layout Plain Layout
15887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15890 \begin_layout Plain Layout
15896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15899 \begin_layout Plain Layout
15905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15908 \begin_layout Plain Layout
15928 \begin_layout Plain Layout
15940 \begin_inset Box Frameless
15950 height_special "totalheight"
15953 \begin_layout Plain Layout
15954 \begin_inset Tabular
15955 <lyxtabular version="3" rows="3" columns="3">
15956 <features rotate="0" tabularvalignment="middle">
15957 <column alignment="center" valignment="top">
15958 <column alignment="center" valignment="top">
15959 <column alignment="center" valignment="top">
15961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15964 \begin_layout Plain Layout
15970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15973 \begin_layout Plain Layout
15979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15982 \begin_layout Plain Layout
15990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15993 \begin_layout Plain Layout
15999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16002 \begin_layout Plain Layout
16008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16011 \begin_layout Plain Layout
16019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16022 \begin_layout Plain Layout
16028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16031 \begin_layout Plain Layout
16037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16040 \begin_layout Plain Layout
16060 \begin_layout Plain Layout
16070 \begin_layout Standard
16071 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
16075 \begin_layout Plain Layout
16077 \begin_inset CommandInset ref
16079 reference "sub:垂直揃え"
16088 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
16091 \begin_layout Standard
16101 \begin_layout Standard
16102 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
16106 をTeXコードとして挿入してあります。最後の項目の第二表には、
16109 \begin_layout Standard
16119 \begin_layout Standard
16123 \begin_layout Standard
16124 \begin_inset Note Greyedout
16127 \begin_layout Plain Layout
16132 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
16138 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
16146 \begin_layout Section
16148 \begin_inset CommandInset label
16155 \begin_inset Index idx
16158 \begin_layout Plain Layout
16167 \begin_layout Subsection
16169 \begin_inset Index idx
16172 \begin_layout Plain Layout
16173 ひょうのいろ@表の色 ! せるぶ@セル部
16179 \begin_inset Index idx
16182 \begin_layout Plain Layout
16183 いろつき@色付き ! ひょうせるぶ@表セル部
16191 \begin_layout Standard
16192 \begin_inset Float table
16198 \begin_layout Plain Layout
16199 \begin_inset Caption Standard
16201 \begin_layout Plain Layout
16202 \begin_inset CommandInset label
16204 name "tab:colortblなしの表"
16213 \begin_inset Argument 1
16216 \begin_layout Plain Layout
16230 \begin_layout Plain Layout
16232 \begin_inset Tabular
16233 <lyxtabular version="3" rows="3" columns="3">
16234 <features rotate="0" tabularvalignment="middle">
16235 <column alignment="center" valignment="top">
16236 <column alignment="center" valignment="top">
16237 <column alignment="center" valignment="top">
16239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16242 \begin_layout Plain Layout
16250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16253 \begin_layout Plain Layout
16261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16264 \begin_layout Plain Layout
16274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16277 \begin_layout Plain Layout
16285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16288 \begin_layout Plain Layout
16296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16299 \begin_layout Plain Layout
16309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16312 \begin_layout Plain Layout
16320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16323 \begin_layout Plain Layout
16331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16334 \begin_layout Plain Layout
16355 \begin_layout Standard
16356 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
16358 編集\SpecialChar \menuseparator
16362 \begin_inset CommandInset ref
16364 reference "tab:colortblなしの表"
16368 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
16373 \begin_inset Index idx
16376 \begin_layout Plain Layout
16377 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
16385 \begin_layout Standard
16389 \begin_layout Plain Layout
16399 \begin_inset Note Note
16402 \begin_layout Plain Layout
16403 本節の以下の部分は、LaTeXパッケージ
16415 \begin_layout Standard
16416 色付きの表を作成するには、プリアンブルに
16419 \begin_layout Standard
16424 usepackage{colortbl}
16427 \begin_layout Standard
16432 を読み込まなくてはなりません。列の色は、
16439 \begin_layout Standard
16447 \begin_layout Standard
16448 というコマンドを書いて指定することができます。
16453 \begin_inset CommandInset ref
16455 reference "sub:連結列の計算"
16462 \begin_layout Standard
16463 以下の色彩名が事前に定義されています。
16466 \begin_layout Standard
16500 \begin_layout Standard
16501 \begin_inset VSpace medskip
16507 \begin_layout Standard
16508 また、文書設定中で、文書クラスオプションに
16511 \begin_layout Standard
16514 usenames,dvipsnames
16517 \begin_layout Standard
16518 を与えると、さらに61色を使用することができます。これらの色は、附録
16519 \begin_inset CommandInset ref
16521 reference "chap:dvips色名一覧"
16525 に列挙されています。それらの色の1つ、
16530 \begin_inset CommandInset ref
16532 reference "tab:色付き表"
16539 \begin_layout Standard
16540 \begin_inset VSpace medskip
16546 \begin_layout Standard
16550 \begin_layout Standard
16555 definecolor{色彩名}{色彩モデル}{色彩値}
16558 \begin_layout Standard
16559 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
16562 \begin_layout Labeling
16563 \labelwidthstring 00.00.0000
16583 \begin_layout Labeling
16584 \labelwidthstring 00.00.0000
16600 \begin_layout Labeling
16601 \labelwidthstring 00.00.0000
16605 \begin_layout Standard
16606 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
16609 \begin_layout Standard
16613 \begin_layout Standard
16618 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
16621 \begin_layout Standard
16629 \begin_layout Standard
16634 definecolor{lightgray}{gray}{0.8}
16637 \begin_layout Standard
16645 \begin_layout Standard
16646 \begin_inset VSpace medskip
16652 \begin_layout Standard
16656 \begin_layout Standard
16664 \begin_layout Standard
16665 というコマンドを使用して色付けすることができ、セルは
16668 \begin_layout Standard
16676 \begin_layout Standard
16677 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
16680 \begin_layout Standard
16681 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
16683 編集\SpecialChar \menuseparator
16686 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
16690 \begin_layout Standard
16691 \begin_inset Note Greyedout
16694 \begin_layout Plain Layout
16699 DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
16707 \begin_layout Standard
16708 \begin_inset VSpace bigskip
16714 \begin_layout Standard
16716 \begin_inset CommandInset ref
16718 reference "tab:色付き表"
16722 を作成するには、以下のようにしてください。第一列の色は
16726 にしたいので、この列のLaTeX変数として
16729 \begin_layout Standard
16734 columncolor{darkgreen}
16739 \begin_layout Standard
16740 と書き込みます。第一列は青にしたいので、この列の最初のセルに
16743 \begin_layout Standard
16751 \begin_layout Standard
16752 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最終行の最後のセルは、
16755 \begin_layout Standard
16763 \begin_layout Standard
16764 というTeXコードコマンドを書き込むことで、マルーンに色づけされています。この後、
16766 編集\SpecialChar \menuseparator
16769 メニューを使って、各文字に色付けをすることができます。
16772 \begin_layout Standard
16773 \begin_inset Float table
16779 \begin_layout Plain Layout
16780 \begin_inset Caption Standard
16782 \begin_layout Plain Layout
16785 \begin_inset CommandInset label
16794 \begin_inset Argument 1
16797 \begin_layout Plain Layout
16811 \begin_layout Plain Layout
16813 \begin_inset Tabular
16814 <lyxtabular version="3" rows="3" columns="3">
16815 <features rotate="0" tabularvalignment="middle">
16816 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
16817 <column alignment="center" valignment="top">
16818 <column alignment="center" valignment="top">
16820 <cell alignment="center" valignment="top" usebox="none">
16823 \begin_layout Plain Layout
16827 \begin_layout Plain Layout
16843 <cell alignment="center" valignment="top" usebox="none">
16846 \begin_layout Plain Layout
16854 <cell alignment="center" valignment="top" usebox="none">
16857 \begin_layout Plain Layout
16867 <cell alignment="center" valignment="top" usebox="none">
16870 \begin_layout Plain Layout
16878 <cell alignment="center" valignment="top" usebox="none">
16881 \begin_layout Plain Layout
16889 <cell alignment="center" valignment="top" usebox="none">
16892 \begin_layout Plain Layout
16902 <cell alignment="center" valignment="top" usebox="none">
16905 \begin_layout Plain Layout
16913 <cell alignment="center" valignment="top" usebox="none">
16916 \begin_layout Plain Layout
16924 <cell alignment="center" valignment="top" usebox="none">
16927 \begin_layout Plain Layout
16931 \begin_layout Plain Layout
16960 \begin_layout Standard
16964 \begin_layout Plain Layout
16974 \begin_inset Note Note
16977 \begin_layout Plain Layout
16982 が導入されていないときに表示されます。
16990 \begin_layout Standard
16998 \begin_layout Standard
17002 \begin_layout Plain Layout
17014 \begin_layout Subsection
17016 \begin_inset Index idx
17019 \begin_layout Plain Layout
17020 ひょうのいろ@表の色 ! ぎょうぜんたい@行全体
17026 \begin_inset Index idx
17029 \begin_layout Plain Layout
17030 いろつき@色付き ! ひょうのぎょう@表の行
17038 \begin_layout Standard
17039 表の行を交互に色付けする必要がある場合、前節に述べたのとは別な方法があります。文書プリアンブルに
17042 \begin_layout Standard
17047 usepackage[table]{xcolor}
17050 \begin_layout Standard
17056 \begin_inset Index idx
17059 \begin_layout Plain Layout
17060 LaTeXぱっけーじ@LaTeXパッケージ ! xcolor
17064 \begin_layout Plain Layout
17087 \begin_inset Index idx
17090 \begin_layout Plain Layout
17091 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
17096 パッケージも読み込むので、LaTeXエラーを防ぐためには、お使いのLaTeX頒布版中に
17103 \begin_layout Standard
17107 \begin_layout Plain Layout
17117 \begin_inset Note Note
17120 \begin_layout Plain Layout
17121 本節の以下の部分は、LaTeXパッケージ
17133 \begin_layout Standard
17134 表の行は、文書プリアンブル中か、色付けする最初の表の前にTeXコードで
17137 \begin_layout Standard
17142 rowcolors[コマンド]{行番号}{奇数行の色}{偶数行の色}
17145 \begin_layout Standard
17146 というコマンドを使用すれば、色付けすることができます。ここで、「行番号」は、奇数行色で色付けする最初の行の番号です。「コマンド」は、各行の前で実行したいコマンド
17147 を付加する時に用います。したがって、例えば
17150 \begin_layout Standard
17155 rowcolors{1}{white}{lightgray}
17158 \begin_layout Standard
17160 \begin_inset CommandInset ref
17162 reference "tab:表-行色"
17166 のようなカラースキームをもたらします。また、
17169 \begin_layout Standard
17176 hline]{1}{lightgray}{cyan}
17179 \begin_layout Standard
17181 \begin_inset CommandInset ref
17183 reference "tab:表-行色-2"
17187 のようなカラースキームになります。「奇数行の色」ないし「偶数行の色」(またはその両方)が空のときは、色付けはされませんので、
17190 \begin_layout Standard
17198 \begin_layout Standard
17199 というコマンドはすべての色付けを削除することになります。
17205 は、コマンドに続くすべての表に影響を及ぼします。
17208 \begin_layout Standard
17212 \begin_layout Plain Layout
17216 rowcolors{1}{white}{lightgray}
17224 \begin_layout Standard
17225 \begin_inset Float table
17231 \begin_layout Plain Layout
17232 \begin_inset Caption Standard
17234 \begin_layout Plain Layout
17235 \begin_inset CommandInset label
17249 \begin_layout Plain Layout
17251 \begin_inset Tabular
17252 <lyxtabular version="3" rows="4" columns="3">
17253 <features rotate="0" tabularvalignment="middle">
17254 <column alignment="center" valignment="top">
17255 <column alignment="center" valignment="top" width="0pt">
17256 <column alignment="center" valignment="top" width="0pt">
17258 <cell alignment="center" valignment="top" usebox="none">
17261 \begin_layout Plain Layout
17267 <cell alignment="center" valignment="top" usebox="none">
17270 \begin_layout Plain Layout
17276 <cell alignment="center" valignment="top" usebox="none">
17279 \begin_layout Plain Layout
17287 <cell alignment="center" valignment="top" usebox="none">
17290 \begin_layout Plain Layout
17296 <cell alignment="center" valignment="top" usebox="none">
17299 \begin_layout Plain Layout
17305 <cell alignment="center" valignment="top" usebox="none">
17308 \begin_layout Plain Layout
17316 <cell alignment="center" valignment="top" usebox="none">
17319 \begin_layout Plain Layout
17325 <cell alignment="center" valignment="top" usebox="none">
17328 \begin_layout Plain Layout
17334 <cell alignment="center" valignment="top" usebox="none">
17337 \begin_layout Plain Layout
17345 <cell alignment="center" valignment="top" usebox="none">
17348 \begin_layout Plain Layout
17354 <cell alignment="center" valignment="top" usebox="none">
17357 \begin_layout Plain Layout
17363 <cell alignment="center" valignment="top" usebox="none">
17366 \begin_layout Plain Layout
17385 \begin_layout Standard
17389 \begin_layout Plain Layout
17395 hline]{1}{lightgray}{cyan}
17403 \begin_layout Standard
17404 \begin_inset Float table
17410 \begin_layout Plain Layout
17411 \begin_inset Caption Standard
17413 \begin_layout Plain Layout
17414 \begin_inset CommandInset label
17420 隔行でシアン色に着色され、行間に線の入った表
17428 \begin_layout Plain Layout
17430 \begin_inset Tabular
17431 <lyxtabular version="3" rows="4" columns="3">
17432 <features rotate="0" tabularvalignment="middle">
17433 <column alignment="center" valignment="top">
17434 <column alignment="center" valignment="top">
17435 <column alignment="center" valignment="top" width="0pt">
17437 <cell alignment="center" valignment="top" usebox="none">
17440 \begin_layout Plain Layout
17446 <cell alignment="center" valignment="top" usebox="none">
17449 \begin_layout Plain Layout
17455 <cell alignment="center" valignment="top" usebox="none">
17458 \begin_layout Plain Layout
17466 <cell alignment="center" valignment="top" usebox="none">
17469 \begin_layout Plain Layout
17475 <cell alignment="center" valignment="top" usebox="none">
17478 \begin_layout Plain Layout
17484 <cell alignment="center" valignment="top" usebox="none">
17487 \begin_layout Plain Layout
17495 <cell alignment="center" valignment="top" usebox="none">
17498 \begin_layout Plain Layout
17504 <cell alignment="center" valignment="top" usebox="none">
17507 \begin_layout Plain Layout
17513 <cell alignment="center" valignment="top" usebox="none">
17516 \begin_layout Plain Layout
17524 <cell alignment="center" valignment="top" usebox="none">
17527 \begin_layout Plain Layout
17533 <cell alignment="center" valignment="top" usebox="none">
17536 \begin_layout Plain Layout
17542 <cell alignment="center" valignment="top" usebox="none">
17545 \begin_layout Plain Layout
17564 \begin_layout Standard
17568 \begin_layout Plain Layout
17578 \begin_inset Note Note
17581 \begin_layout Plain Layout
17590 \begin_layout Standard
17594 \begin_layout Plain Layout
17604 \begin_inset Note Note
17607 \begin_layout Plain Layout
17612 が導入されていないときに表示されます。
17620 \begin_layout Standard
17628 \begin_layout Standard
17632 \begin_layout Plain Layout
17644 \begin_layout Subsection
17646 \begin_inset Index idx
17649 \begin_layout Plain Layout
17650 ひょうのいろ@表の色 ! けいせんぶ@罫線部
17656 \begin_inset Index idx
17659 \begin_layout Plain Layout
17660 いろつき@色付き ! ひょうけいせんぶ@表罫線部
17668 \begin_layout Standard
17670 \begin_inset CommandInset ref
17672 reference "sub:罫線幅"
17676 節に述べられているように、表中の全罫線の線幅は、長さ
17682 を使って調節することができます。本節の表では、すべて1.5
17683 \begin_inset space \thinspace{}
17690 \begin_layout Plain Layout
17696 arrayrulewidth}{1.5pt}
17704 \begin_layout Standard
17706 \begin_inset CommandInset ref
17708 reference "sub:自製書式"
17712 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
17715 \begin_layout Standard
17720 newcolumntype{W}{!{
17727 \begin_layout Standard
17729 \begin_inset CommandInset ref
17731 reference "tab:色付き縦罫線の表"
17746 \begin_layout Standard
17747 複数の色を用いたいときには、列書式をもっと定義してください。
17750 \begin_layout Standard
17751 \begin_inset Float table
17757 \begin_layout Plain Layout
17758 \begin_inset Caption Standard
17760 \begin_layout Plain Layout
17761 \begin_inset CommandInset label
17763 name "tab:色付き縦罫線の表"
17775 \begin_layout Plain Layout
17777 \begin_inset Tabular
17778 <lyxtabular version="3" rows="3" columns="3">
17779 <features rotate="0" tabularvalignment="middle">
17780 <column alignment="center" valignment="top" special="Wc">
17781 <column alignment="center" valignment="top" special="Wc">
17782 <column alignment="center" valignment="top" special="WcW">
17784 <cell alignment="center" valignment="top" topline="true" usebox="none">
17787 \begin_layout Plain Layout
17793 <cell alignment="center" valignment="top" topline="true" usebox="none">
17796 \begin_layout Plain Layout
17802 <cell alignment="center" valignment="top" topline="true" usebox="none">
17805 \begin_layout Plain Layout
17813 <cell alignment="center" valignment="top" topline="true" usebox="none">
17816 \begin_layout Plain Layout
17822 <cell alignment="center" valignment="top" topline="true" usebox="none">
17825 \begin_layout Plain Layout
17831 <cell alignment="center" valignment="top" topline="true" usebox="none">
17834 \begin_layout Plain Layout
17842 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17845 \begin_layout Plain Layout
17851 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17854 \begin_layout Plain Layout
17860 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17863 \begin_layout Plain Layout
17882 \begin_layout Standard
17883 \begin_inset VSpace bigskip
17887 \begin_inset CommandInset ref
17889 reference "tab:色付き横罫線の表"
17893 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
17896 \begin_layout Standard
17906 \begin_inset Newline newline
17914 \begin_inset Newline newline
17918 \begin_inset Phantom HPhantom
17921 \begin_layout Plain Layout
17922 \begin_inset space ~
17932 arrayrulecolor{red}
17936 arrayrulecolor{black}}
17939 \begin_layout Standard
17943 \begin_layout Standard
17947 \begin_layout Plain Layout
17958 \begin_layout Plain Layout
17967 \begin_layout Plain Layout
17971 arrayrulecolor{red}
17975 arrayrulecolor{black}}
17981 \begin_inset Float table
17987 \begin_layout Plain Layout
17988 \begin_inset Caption Standard
17990 \begin_layout Plain Layout
17991 \begin_inset CommandInset label
17993 name "tab:色付き横罫線の表"
18005 \begin_layout Plain Layout
18007 \begin_inset Tabular
18008 <lyxtabular version="3" rows="3" columns="3">
18009 <features rotate="0" tabularvalignment="middle">
18010 <column alignment="center" valignment="top">
18011 <column alignment="center" valignment="top">
18012 <column alignment="center" valignment="top">
18014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18017 \begin_layout Plain Layout
18023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18026 \begin_layout Plain Layout
18032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18035 \begin_layout Plain Layout
18043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18046 \begin_layout Plain Layout
18052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18055 \begin_layout Plain Layout
18061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18064 \begin_layout Plain Layout
18072 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18075 \begin_layout Plain Layout
18081 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18084 \begin_layout Plain Layout
18090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18093 \begin_layout Plain Layout
18112 \begin_layout Standard
18116 \begin_layout Standard
18128 \begin_layout Standard
18129 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
18130 \begin_inset CommandInset ref
18132 reference "tab:色付き罫線の表"
18139 \begin_layout Standard
18140 \begin_inset Float table
18146 \begin_layout Plain Layout
18147 \begin_inset Caption Standard
18149 \begin_layout Plain Layout
18150 \begin_inset CommandInset label
18164 \begin_layout Plain Layout
18166 \begin_inset Tabular
18167 <lyxtabular version="3" rows="3" columns="3">
18168 <features rotate="0" tabularvalignment="middle">
18169 <column alignment="center" valignment="top" special="Wc">
18170 <column alignment="center" valignment="top" special="Wc">
18171 <column alignment="center" valignment="top" special="WcW">
18173 <cell alignment="center" valignment="top" topline="true" usebox="none">
18176 \begin_layout Plain Layout
18182 <cell alignment="center" valignment="top" topline="true" usebox="none">
18185 \begin_layout Plain Layout
18191 <cell alignment="center" valignment="top" topline="true" usebox="none">
18194 \begin_layout Plain Layout
18202 <cell alignment="center" valignment="top" topline="true" usebox="none">
18205 \begin_layout Plain Layout
18211 <cell alignment="center" valignment="top" topline="true" usebox="none">
18214 \begin_layout Plain Layout
18220 <cell alignment="center" valignment="top" topline="true" usebox="none">
18223 \begin_layout Plain Layout
18230 <row topspace="default">
18231 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18234 \begin_layout Plain Layout
18240 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18243 \begin_layout Plain Layout
18249 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18252 \begin_layout Plain Layout
18271 \begin_layout Standard
18275 \begin_layout Plain Layout
18291 \begin_layout Standard
18295 \begin_layout Plain Layout
18301 arrayrulewidth}{0.4pt}
18309 \begin_layout Section
18311 \begin_inset CommandInset label
18318 \begin_inset Index idx
18321 \begin_layout Plain Layout
18322 ひょう@表 ! せるのかいてん@セルの回転
18328 \begin_inset Index idx
18331 \begin_layout Plain Layout
18332 かいてん@回転 ! そざいの@素材の---
18340 \begin_layout Standard
18341 \begin_inset Note Greyedout
18344 \begin_layout Plain Layout
18349 すべてのDVIビューアが回転表示できるわけではありません。
18357 \begin_layout Standard
18359 \begin_inset CommandInset ref
18361 reference "tab:表多行回転"
18365 は、3つのセルを45°回転させた用例です。
18368 \begin_layout Standard
18369 \begin_inset Float table
18374 \begin_layout Plain Layout
18375 \begin_inset Caption Standard
18377 \begin_layout Plain Layout
18378 \begin_inset CommandInset label
18392 \begin_layout Plain Layout
18395 \begin_inset Tabular
18396 <lyxtabular version="3" rows="2" columns="3">
18397 <features rotate="0" tabularvalignment="middle">
18398 <column alignment="center" valignment="top" width="0pt">
18399 <column alignment="center" valignment="top" width="0pt">
18400 <column alignment="center" valignment="top" width="0pt">
18402 <cell alignment="center" valignment="top" rotate="45" usebox="none">
18405 \begin_layout Plain Layout
18411 <cell alignment="center" valignment="top" rotate="45" usebox="none">
18414 \begin_layout Plain Layout
18420 <cell alignment="center" valignment="top" rotate="45" usebox="none">
18423 \begin_layout Plain Layout
18431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18434 \begin_layout Plain Layout
18440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18443 \begin_layout Plain Layout
18449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18452 \begin_layout Plain Layout
18471 \begin_layout Standard
18472 \begin_inset Note Greyedout
18475 \begin_layout Plain Layout
18481 \begin_inset Flex Ruby
18484 \begin_layout Plain Layout
18486 \begin_inset Argument post:1
18489 \begin_layout Plain Layout
18503 arg "newline-insert newline"
18514 \begin_layout Standard
18515 改行を含むセルを回転させたい場合には、セルの内容をminipageかparboxに置かなくてはなりません
18519 \begin_layout Plain Layout
18521 \begin_inset CommandInset ref
18523 reference "sec:ミニページ"
18528 \begin_inset CommandInset ref
18530 reference "sec:Parboxes"
18540 \begin_inset space \thinspace{}
18543 °回転させると、ボックス幅はセルの高さになります。表
18544 \begin_inset CommandInset ref
18546 reference "tab:表多行回転"
18551 \begin_inset space \thinspace{}
18557 \begin_layout Standard
18558 \begin_inset Float table
18563 \begin_layout Plain Layout
18564 \begin_inset Caption Standard
18566 \begin_layout Plain Layout
18567 \begin_inset CommandInset label
18581 \begin_layout Plain Layout
18584 \begin_inset Tabular
18585 <lyxtabular version="3" rows="2" columns="3">
18586 <features rotate="0" tabularvalignment="middle">
18587 <column alignment="center" valignment="top">
18588 <column alignment="center" valignment="top" width="0pt">
18589 <column alignment="center" valignment="top">
18591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18594 \begin_layout Plain Layout
18600 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
18603 \begin_layout Plain Layout
18604 \begin_inset Box Frameless
18614 height_special "totalheight"
18617 \begin_layout Plain Layout
18619 \begin_inset Newline newline
18632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18635 \begin_layout Plain Layout
18643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18646 \begin_layout Plain Layout
18652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18655 \begin_layout Plain Layout
18661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18664 \begin_layout Plain Layout
18683 \begin_layout Section
18685 \begin_inset CommandInset label
18694 \begin_layout Standard
18695 幅広の表では、表がページ余白に突き出てしまわないように調整するのが難しいことがあります。表中の全列に固定幅を設定する方法もありますが、では各列にどれくらいの幅を
18699 \begin_layout Standard
18701 \begin_inset Formula $W_{\text{表}}$
18704 は計算することができます。各列の実際の幅は、指定した列幅
18705 \begin_inset Formula $W_{\text{列}}$
18708 に、列の内容と列罫線との間の余白(LaTeX長
18715 \begin_inset space \thinspace{}
18725 \begin_inset space \thinspace{}
18728 pt)を加えたものになります。したがって、もし同じ幅の
18729 \begin_inset Formula $n$
18733 \begin_inset Formula
18735 W_{\text{表}}=n\left(W_{\text{列}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
18743 \begin_layout Standard
18744 となります。表が使用できる幅は、ページ余白の間の幅か、本文段幅(二段組文書の場合)です(LaTeX長
18750 )。表の列をすべて同じ幅にするとすれば、
18751 \begin_inset Formula $W_{\text{表}}$
18755 \begin_inset space \thinspace{}
18760 columnwidthになりますので、
18761 \begin_inset Formula $W_{\text{列}}$
18767 \begin_layout Standard
18768 計算を行わせる場合には、文書プリアンブル中でLaTeXパッケージ
18773 \begin_inset Index idx
18776 \begin_layout Plain Layout
18777 LaTeXぱっけーじ@LaTeXパッケージ ! calc
18782 を読みこませる必要があります。表ダイアログ中で幅を設定するには、
18786 フィールドに書きこまなくてはなりません。このフィールドのコマンドスキームは、第
18787 \begin_inset CommandInset ref
18789 reference "sub:連結列の計算"
18793 節で説明したのと同様です。同幅中央揃え5列の表ならば、各列の同フィールドに
18796 \begin_layout Standard
18803 columnwidth-62.4pt)/5}
18806 \begin_layout Standard
18807 というコマンドを入力します。5列の表で、うち2列が他の3列の幅の0.75倍であるような表の場合には、計算は
18808 \begin_inset Formula
18810 \backslash\mbox{columnwidth} & =3\,W_{\text{列}}+2\cdot0.75\,W_{\text{列}}+\backslash\mbox{arrayrulewidth}\nonumber \\
18811 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
18812 & =4.5\,W_{\text{列}}+62.4\,\mathrm{pt}\nonumber \\
18813 W_{\text{列}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
18821 \begin_layout Standard
18822 となります。したがって、表中の広い列には
18825 \begin_layout Standard
18832 columnwidth-62.4pt)/
18837 \begin_layout Standard
18841 \begin_layout Standard
18848 columnwidth-62.4pt)/
18855 \begin_layout Standard
18856 というコマンドを用いることにすると、以下の表が出来上がります。
18859 \begin_layout Standard
18860 \begin_inset Tabular
18861 <lyxtabular version="3" rows="2" columns="5">
18862 <features rotate="0" tabularvalignment="middle">
18863 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18864 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
18865 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18866 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
18867 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18869 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18872 \begin_layout Plain Layout
18878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18881 \begin_layout Plain Layout
18887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18890 \begin_layout Plain Layout
18896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18899 \begin_layout Plain Layout
18905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18908 \begin_layout Plain Layout
18916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18919 \begin_layout Plain Layout
18920 111111 1111111 111111 111111111 11111 11111 1111
18925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18928 \begin_layout Plain Layout
18934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18937 \begin_layout Plain Layout
18938 2222 22222 222222 222222222 2222222 22 22222
18943 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18946 \begin_layout Plain Layout
18952 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18955 \begin_layout Plain Layout
18956 333333 333333 333333 33333 3333333 333
18969 \begin_layout Section
18971 \begin_inset Index idx
18974 \begin_layout Plain Layout
18981 \begin_inset Index idx
18984 \begin_layout Plain Layout
18993 \begin_layout Subsection
18995 \begin_inset CommandInset label
19002 \begin_inset Index idx
19005 \begin_layout Plain Layout
19006 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
19014 \begin_layout Standard
19019 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
19022 \begin_layout Description
19023 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
19027 \begin_layout Plain Layout
19029 \begin_inset CommandInset ref
19031 reference "sec:フォーマル形式の表"
19041 \begin_inset space \thinspace{}
19044 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19045 \begin_inset VSpace medskip
19049 \begin_inset Newline newline
19053 \begin_inset space \hspace*{}
19058 \begin_inset space \hfill{}
19062 \begin_inset Tabular
19063 <lyxtabular version="3" rows="3" columns="1">
19064 <features rotate="0" tabularvalignment="middle">
19065 <column alignment="center" valignment="top">
19067 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19070 \begin_layout Plain Layout
19077 <row topspace="3mm">
19078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19081 \begin_layout Plain Layout
19083 \begin_inset space \thinspace{}
19093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19096 \begin_layout Plain Layout
19108 \begin_inset space \hfill{}
19112 \begin_inset space \hspace*{}
19117 \begin_inset VSpace medskip
19121 \begin_inset Newline newline
19124 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
19127 \begin_layout Description
19128 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19129 \begin_inset space \thinspace{}
19132 emの余白を挿入し、通常の表ならば既定値として2
19133 \begin_inset space \thinspace{}
19139 \begin_layout Description
19140 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19141 \begin_inset space \thinspace{}
19144 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19145 \begin_inset VSpace medskip
19149 \begin_inset Newline newline
19153 \begin_inset space \hspace*{}
19158 \begin_inset space \hfill{}
19162 \begin_inset Tabular
19163 <lyxtabular version="3" rows="3" columns="1">
19164 <features rotate="0" tabularvalignment="middle">
19165 <column alignment="center" valignment="top">
19167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19170 \begin_layout Plain Layout
19177 <row interlinespace="3mm">
19178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19181 \begin_layout Plain Layout
19182 \begin_inset Formula $\downarrow$
19186 \begin_inset space \thinspace{}
19190 \begin_inset Formula $\downarrow$
19200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19203 \begin_layout Plain Layout
19204 \begin_inset Formula $\uparrow$
19208 \begin_inset space \thinspace{}
19212 \begin_inset Formula $\uparrow$
19226 \begin_inset space \hfill{}
19230 \begin_inset space \hspace*{}
19235 \begin_inset VSpace medskip
19239 \begin_inset Newline newline
19242 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
19245 \begin_layout Standard
19246 \begin_inset VSpace bigskip
19249 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
19252 \begin_layout Standard
19257 @ifundefined{extrarowheight}
19258 \begin_inset Newline newline
19262 \begin_inset Phantom HPhantom
19265 \begin_layout Plain Layout
19266 \begin_inset space ~
19276 usepackage{array}}{}
19277 \begin_inset Newline newline
19284 extrarowheight}{height}
19287 \begin_layout Standard
19288 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
19292 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
19301 \begin_layout Standard
19302 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
19308 コマンドを挿入することで補正することができます。表
19309 \begin_inset CommandInset ref
19311 reference "tab:垂直揃え"
19318 \begin_layout Standard
19320 \begin_inset Float table
19326 \begin_layout Plain Layout
19327 \begin_inset Caption Standard
19329 \begin_layout Plain Layout
19330 \begin_inset CommandInset label
19344 \begin_layout Plain Layout
19345 \begin_inset space \hfill{}
19349 \begin_inset Float table
19354 \begin_layout Plain Layout
19355 \begin_inset Caption Standard
19357 \begin_layout Plain Layout
19366 \begin_layout Plain Layout
19369 \begin_inset Tabular
19370 <lyxtabular version="3" rows="6" columns="1">
19371 <features rotate="0" tabularvalignment="middle">
19372 <column alignment="left" valignment="top">
19374 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19377 \begin_layout Plain Layout
19385 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19388 \begin_layout Plain Layout
19398 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19401 \begin_layout Plain Layout
19411 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19414 \begin_layout Plain Layout
19424 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19427 \begin_layout Plain Layout
19437 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19440 \begin_layout Plain Layout
19459 \begin_inset space \hfill{}
19463 \begin_inset Float table
19468 \begin_layout Plain Layout
19469 \begin_inset Caption Standard
19471 \begin_layout Plain Layout
19486 \begin_layout Plain Layout
19489 \begin_inset Tabular
19490 <lyxtabular version="3" rows="6" columns="1">
19491 <features rotate="0" tabularvalignment="middle">
19492 <column alignment="left" valignment="top">
19494 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19497 \begin_layout Plain Layout
19505 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19508 \begin_layout Plain Layout
19514 \begin_layout Plain Layout
19530 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19533 \begin_layout Plain Layout
19539 \begin_layout Plain Layout
19555 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19558 \begin_layout Plain Layout
19564 \begin_layout Plain Layout
19580 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19583 \begin_layout Plain Layout
19589 \begin_layout Plain Layout
19605 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19608 \begin_layout Plain Layout
19614 \begin_layout Plain Layout
19639 \begin_inset space \hfill{}
19650 \begin_layout Subsection
19652 \begin_inset CommandInset label
19659 \begin_inset Index idx
19662 \begin_layout Plain Layout
19663 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
19671 \begin_layout Standard
19673 \begin_inset CommandInset ref
19675 reference "tab:表セル"
19679 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
19680 \begin_inset Graphics
19681 filename ../../images/tabular-feature_align-decimal.png
19683 scaleBeforeRotation
19694 \begin_layout Standard
19695 \begin_inset Float table
19701 \begin_layout Plain Layout
19702 \begin_inset Caption Standard
19704 \begin_layout Plain Layout
19705 \begin_inset CommandInset label
19719 \begin_layout Plain Layout
19721 \begin_inset Tabular
19722 <lyxtabular version="3" rows="4" columns="1">
19723 <features rotate="0" booktabs="true" tabularvalignment="middle">
19724 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
19726 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19729 \begin_layout Plain Layout
19737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19740 \begin_layout Plain Layout
19748 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19751 \begin_layout Plain Layout
19759 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19762 \begin_layout Plain Layout
19781 \begin_layout Standard
19782 \begin_inset Float table
19788 \begin_layout Plain Layout
19789 \begin_inset Caption Standard
19791 \begin_layout Plain Layout
19792 \begin_inset CommandInset label
19806 \begin_layout Plain Layout
19808 \begin_inset Tabular
19809 <lyxtabular version="3" rows="4" columns="2">
19810 <features rotate="0" booktabs="true" tabularvalignment="middle">
19811 <column alignment="right" valignment="top" width="0pt">
19812 <column alignment="left" valignment="top" width="0pt" special="@{}l">
19814 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
19817 \begin_layout Plain Layout
19823 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19826 \begin_layout Plain Layout
19834 <cell alignment="center" valignment="top" usebox="none">
19837 \begin_layout Plain Layout
19838 \begin_inset Formula $12\,+$
19846 <cell alignment="center" valignment="top" usebox="none">
19849 \begin_layout Plain Layout
19850 \begin_inset Formula $\,6$
19860 <cell alignment="center" valignment="top" usebox="none">
19863 \begin_layout Plain Layout
19864 \begin_inset Formula $0\,-$
19872 <cell alignment="center" valignment="top" usebox="none">
19875 \begin_layout Plain Layout
19876 \begin_inset Formula $\,68$
19886 <cell alignment="center" valignment="top" usebox="none">
19889 \begin_layout Plain Layout
19890 \begin_inset Formula $-123\,/$
19898 <cell alignment="center" valignment="top" usebox="none">
19901 \begin_layout Plain Layout
19902 \begin_inset Formula $\,0$
19923 \begin_layout Standard
19924 揃え文字を指定するフィールドには、数式を用いることができないので、この方法を使って、数式中の文字で揃えることはできません。このような場合には、表
19925 \begin_inset CommandInset ref
19927 reference "tab:演算子揃え表"
19931 のような方法を用いる必要があります。この表は、4
19932 \begin_inset Formula $\times$
19935 2表として作成されており、見出しは中央揃え連結列です。第1列には、右揃えで演算子を含む前半部を収め、第2列には、左揃えで残りを収めます。演算子の周りに通常加えら
19936 れる空白を得るために、第2列の各セルの冒頭には、小空白が加えられています。通常、表の列間に加えられる余白を削るために、
19939 \begin_layout Standard
19945 \begin_layout Standard
19946 というLaTeX引数を第2列に指定します。
19949 \begin_layout Standard
19951 \begin_inset CommandInset ref
19953 reference "tab:表セル揃え"
19957 は、揃え方の例をいくつか示しています。関係子で揃えるために、表
19958 \begin_inset CommandInset ref
19960 reference "tab:演算子揃え表"
19964 の冒頭には、小空白が加えられています。
19967 \begin_layout Standard
19968 \begin_inset Float table
19973 \begin_layout Plain Layout
19974 \begin_inset Caption Standard
19976 \begin_layout Plain Layout
19977 \begin_inset CommandInset label
19991 \begin_layout Plain Layout
19993 \begin_inset Tabular
19994 <lyxtabular version="3" rows="4" columns="6">
19995 <features rotate="0" tabularvalignment="middle">
19996 <column alignment="right" valignment="top">
19997 <column alignment="left" valignment="top" special="@{}l">
19998 <column alignment="right" valignment="top">
19999 <column alignment="left" valignment="top" special="@{}l">
20000 <column alignment="right" valignment="top">
20001 <column alignment="left" valignment="top" special="@{}l">
20003 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20006 \begin_layout Plain Layout
20012 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20015 \begin_layout Plain Layout
20021 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20024 \begin_layout Plain Layout
20030 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20033 \begin_layout Plain Layout
20039 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
20042 \begin_layout Plain Layout
20048 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20051 \begin_layout Plain Layout
20059 <cell alignment="center" valignment="top" usebox="none">
20062 \begin_layout Plain Layout
20064 \begin_inset Formula $\times$
20072 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20075 \begin_layout Plain Layout
20081 <cell alignment="center" valignment="top" usebox="none">
20084 \begin_layout Plain Layout
20085 \begin_inset Formula $10\cdot$
20093 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20096 \begin_layout Plain Layout
20097 \begin_inset Formula $10^{\mbox{-}17}$
20105 <cell alignment="center" valignment="top" usebox="none">
20108 \begin_layout Plain Layout
20109 \begin_inset Formula $\Gamma(t)\propto$
20117 <cell alignment="center" valignment="top" usebox="none">
20120 \begin_layout Plain Layout
20121 \begin_inset Formula $\:\Upsilon(t)$
20131 <cell alignment="center" valignment="top" usebox="none">
20134 \begin_layout Plain Layout
20136 \begin_inset Formula $\times$
20144 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20147 \begin_layout Plain Layout
20153 <cell alignment="center" valignment="top" usebox="none">
20156 \begin_layout Plain Layout
20157 \begin_inset Formula $5.78\cdot$
20165 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20168 \begin_layout Plain Layout
20169 \begin_inset Formula $10^{7}$
20177 <cell alignment="center" valignment="top" usebox="none">
20180 \begin_layout Plain Layout
20181 \begin_inset Formula $A\ne$
20189 <cell alignment="center" valignment="top" usebox="none">
20192 \begin_layout Plain Layout
20193 \begin_inset Formula $\:B_{\mathrm{red}}$
20203 <cell alignment="center" valignment="top" usebox="none">
20206 \begin_layout Plain Layout
20208 \begin_inset Formula $\times$
20216 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20219 \begin_layout Plain Layout
20221 \begin_inset space \thinspace{}
20229 <cell alignment="center" valignment="top" usebox="none">
20232 \begin_layout Plain Layout
20234 \begin_inset Formula $33.5\cdot$
20242 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20245 \begin_layout Plain Layout
20246 \begin_inset Formula $10^{4}$
20254 <cell alignment="center" valignment="top" usebox="none">
20257 \begin_layout Plain Layout
20258 \begin_inset Formula $\sin(\alpha)\ge$
20266 <cell alignment="center" valignment="top" usebox="none">
20269 \begin_layout Plain Layout
20270 \begin_inset Formula $\:\sin(\beta)$
20291 \begin_layout Subsection
20293 \begin_inset CommandInset label
20300 \begin_inset Index idx
20303 \begin_layout Plain Layout
20304 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
20312 \begin_layout Standard
20314 \begin_inset CommandInset ref
20316 reference "sec:表幅の計算"
20320 節のようにして通常列の必要幅を計算したり、第
20321 \begin_inset CommandInset ref
20323 reference "sub:連結列の計算"
20327 節のように連結列の必要幅を計算したりするのは、計算の必要な表が複数あるときには、とても大変です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえ
20328 ば、それを文書中のすべての表で使うことができます。書式は、以下のように定義します。
20331 \begin_layout Standard
20336 newcolumntype{書式名}[引数の数]{コマンド}
20339 \begin_layout Standard
20364 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
20367 \begin_layout Standard
20368 \begin_inset VSpace medskip
20374 \begin_layout Standard
20375 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
20378 \begin_layout Standard
20383 newcolumntype{M}[1]{>{
20390 \begin_layout Standard
20398 \begin_inset CommandInset ref
20400 reference "sub:複数行"
20404 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログの
20411 \begin_layout Standard
20417 \begin_layout Standard
20421 \begin_layout Standard
20422 \begin_inset VSpace bigskip
20428 \begin_layout Standard
20429 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
20432 \begin_layout Standard
20437 newcolumntype{S}[2]{>{
20442 \begin_inset Newline newline
20446 \begin_inset Phantom HPhantom
20449 \begin_layout Plain Layout
20463 arrayrulewidth)*(1-#2))/#2}}
20466 \begin_layout Standard
20467 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
20468 \begin_inset CommandInset ref
20477 \begin_layout Standard
20478 こうしておけば、当該セルのLaTeX引数に
20481 \begin_layout Standard
20484 S{連結列セルの幅}{連結列セルがまたがる列の数}
20487 \begin_layout Standard
20491 \begin_layout Standard
20492 \begin_inset VSpace bigskip
20498 \begin_layout Standard
20499 色付き列については、以下のように定義するとよいでしょう。
20502 \begin_layout Standard
20507 newcolumntype{K}[1]{>{
20514 \begin_layout Standard
20515 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
20518 \begin_layout Standard
20524 \begin_layout Standard
20528 \begin_layout Standard
20529 \begin_inset VSpace bigskip
20535 \begin_layout Standard
20537 \begin_inset CommandInset ref
20539 reference "tab:ユーザー定義の表書式"
20543 を生成するには、第1列と連結列にLaTeX引数として
20546 \begin_layout Standard
20552 \begin_layout Standard
20556 \begin_layout Standard
20562 \begin_layout Standard
20566 \begin_layout Standard
20572 \begin_layout Standard
20576 \begin_layout Standard
20577 \begin_inset Float table
20583 \begin_layout Plain Layout
20584 \begin_inset Caption Standard
20586 \begin_layout Plain Layout
20587 \begin_inset CommandInset label
20589 name "tab:ユーザー定義の表書式"
20601 \begin_layout Plain Layout
20603 \begin_inset Tabular
20604 <lyxtabular version="3" rows="3" columns="4">
20605 <features rotate="0" tabularvalignment="middle">
20606 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
20607 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
20608 <column alignment="center" valignment="middle">
20609 <column alignment="center" valignment="middle" special="K{red}">
20611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20614 \begin_layout Plain Layout
20620 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
20623 \begin_layout Plain Layout
20629 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20632 \begin_layout Plain Layout
20638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20641 \begin_layout Plain Layout
20649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20652 \begin_layout Plain Layout
20658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20661 \begin_layout Plain Layout
20667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20670 \begin_layout Plain Layout
20676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20679 \begin_layout Plain Layout
20687 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20690 \begin_layout Plain Layout
20696 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20699 \begin_layout Plain Layout
20705 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20708 \begin_layout Plain Layout
20714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20717 \begin_layout Plain Layout
20736 \begin_layout Subsection
20738 \begin_inset CommandInset label
20745 \begin_inset Index idx
20748 \begin_layout Plain Layout
20749 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
20757 \begin_layout Standard
20758 表中のすべての罫線の罫線幅を調整するには、長さ
20765 \begin_inset CommandInset ref
20767 reference "tab:Table-with-1.5"
20772 \begin_inset space \thinspace{}
20775 ptにするには、表や表フロートの前にTeXコードで
20778 \begin_layout Standard
20785 arrayrulewidth}{1.5pt}
20788 \begin_layout Standard
20789 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
20796 \begin_inset space \thinspace{}
20802 \begin_layout Standard
20806 \begin_layout Plain Layout
20812 arrayrulewidth}{1.5pt}
20818 \begin_inset Float table
20823 \begin_layout Plain Layout
20824 \begin_inset Caption Standard
20826 \begin_layout Plain Layout
20827 \begin_inset CommandInset label
20829 name "tab:Table-with-1.5"
20834 \begin_inset space \thinspace{}
20845 \begin_layout Plain Layout
20847 \begin_inset Tabular
20848 <lyxtabular version="3" rows="3" columns="3">
20849 <features rotate="0" tabularvalignment="middle">
20850 <column alignment="center" valignment="top">
20851 <column alignment="center" valignment="top">
20852 <column alignment="center" valignment="top">
20854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20857 \begin_layout Plain Layout
20863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20866 \begin_layout Plain Layout
20872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20875 \begin_layout Plain Layout
20883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20886 \begin_layout Plain Layout
20892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20895 \begin_layout Plain Layout
20901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20904 \begin_layout Plain Layout
20912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20915 \begin_layout Plain Layout
20921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20924 \begin_layout Plain Layout
20930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20933 \begin_layout Plain Layout
20953 \begin_layout Plain Layout
20959 arrayrulewidth}{0.4pt}
20967 \begin_layout Standard
20968 \begin_inset VSpace bigskip
20972 \begin_inset CommandInset ref
20974 reference "tab:1.5pt幅横罫"
20979 \begin_inset space \thinspace{}
20982 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
20985 \begin_layout Standard
20995 \begin_inset Newline newline
21003 \begin_inset Newline newline
21012 arrayrulewidth 1.5pt}
21013 \begin_inset Newline newline
21024 arrayrulewidth 0.4pt}}
21027 \begin_layout Standard
21028 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
21031 \begin_layout Standard
21043 \begin_layout Standard
21047 \begin_layout Plain Layout
21058 \begin_layout Plain Layout
21067 \begin_layout Plain Layout
21075 arrayrulewidth 1.5pt}
21078 \begin_layout Plain Layout
21088 arrayrulewidth 0.4pt}}
21094 \begin_inset Float table
21099 \begin_layout Plain Layout
21100 \begin_inset Caption Standard
21102 \begin_layout Plain Layout
21103 \begin_inset CommandInset label
21105 name "tab:1.5pt幅横罫"
21110 \begin_inset space \thinspace{}
21121 \begin_layout Plain Layout
21123 \begin_inset Tabular
21124 <lyxtabular version="3" rows="3" columns="3">
21125 <features rotate="0" tabularvalignment="middle">
21126 <column alignment="center" valignment="top">
21127 <column alignment="center" valignment="top">
21128 <column alignment="center" valignment="top">
21130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21133 \begin_layout Plain Layout
21139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21142 \begin_layout Plain Layout
21148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21151 \begin_layout Plain Layout
21159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21162 \begin_layout Plain Layout
21168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21171 \begin_layout Plain Layout
21177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21180 \begin_layout Plain Layout
21188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21191 \begin_layout Plain Layout
21197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21200 \begin_layout Plain Layout
21206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21209 \begin_layout Plain Layout
21229 \begin_layout Plain Layout
21245 \begin_layout Standard
21246 \begin_inset VSpace bigskip
21250 \begin_inset space \thinspace{}
21254 \begin_inset CommandInset ref
21256 reference "sub:自製書式"
21260 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
21263 \begin_layout Standard
21268 newcolumntype{V}{!{
21270 vrule width 1.5pt}}
21273 \begin_layout Standard
21275 \begin_inset CommandInset ref
21277 reference "tab:1.5pt幅縦罫"
21284 \begin_layout Standard
21290 \begin_layout Standard
21294 \begin_layout Standard
21300 \begin_layout Standard
21304 \begin_layout Standard
21305 \begin_inset Float table
21310 \begin_layout Plain Layout
21311 \begin_inset Caption Standard
21313 \begin_layout Plain Layout
21314 \begin_inset CommandInset label
21316 name "tab:1.5pt幅縦罫"
21321 \begin_inset space \thinspace{}
21332 \begin_layout Plain Layout
21334 \begin_inset Tabular
21335 <lyxtabular version="3" rows="3" columns="3">
21336 <features rotate="0" tabularvalignment="middle">
21337 <column alignment="center" valignment="top" special="Vc">
21338 <column alignment="center" valignment="top" special="Vc">
21339 <column alignment="center" valignment="top" special="VcV">
21341 <cell alignment="center" valignment="top" topline="true" usebox="none">
21344 \begin_layout Plain Layout
21350 <cell alignment="center" valignment="top" topline="true" usebox="none">
21353 \begin_layout Plain Layout
21359 <cell alignment="center" valignment="top" topline="true" usebox="none">
21362 \begin_layout Plain Layout
21370 <cell alignment="center" valignment="top" topline="true" usebox="none">
21373 \begin_layout Plain Layout
21379 <cell alignment="center" valignment="top" topline="true" usebox="none">
21382 \begin_layout Plain Layout
21388 <cell alignment="center" valignment="top" topline="true" usebox="none">
21391 \begin_layout Plain Layout
21399 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21402 \begin_layout Plain Layout
21408 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21411 \begin_layout Plain Layout
21417 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21420 \begin_layout Plain Layout
21439 \begin_layout Subsection
21441 \begin_inset Index idx
21444 \begin_layout Plain Layout
21445 ひょうのちょうせい@表の調整 ! てんけい@点罫
21453 \begin_layout Standard
21457 \begin_layout Plain Layout
21467 \begin_inset Note Note
21470 \begin_layout Plain Layout
21483 \begin_layout Standard
21484 \begin_inset Float table
21490 \begin_layout Plain Layout
21491 \begin_inset Caption Standard
21493 \begin_layout Plain Layout
21494 \begin_inset CommandInset label
21508 \begin_layout Plain Layout
21510 \begin_inset Tabular
21511 <lyxtabular version="3" rows="5" columns="5">
21512 <features rotate="0" tabularvalignment="middle">
21513 <column alignment="center" valignment="top">
21514 <column alignment="center" valignment="top">
21515 <column alignment="center" valignment="top" special=":c">
21516 <column alignment="center" valignment="top">
21517 <column alignment="center" valignment="top">
21519 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21522 \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" usebox="none">
21540 \begin_layout Plain Layout
21546 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21549 \begin_layout Plain Layout
21555 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21558 \begin_layout Plain Layout
21566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21569 \begin_layout Plain Layout
21575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21578 \begin_layout Plain Layout
21584 <cell alignment="center" valignment="top" topline="true" usebox="none">
21587 \begin_layout Plain Layout
21593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21596 \begin_layout Plain Layout
21602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21605 \begin_layout Plain Layout
21613 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21616 \begin_layout Plain Layout
21620 \begin_layout Plain Layout
21634 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21637 \begin_layout Plain Layout
21643 <cell alignment="center" valignment="top" usebox="none">
21646 \begin_layout Plain Layout
21652 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21655 \begin_layout Plain Layout
21661 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21664 \begin_layout Plain Layout
21672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21675 \begin_layout Plain Layout
21679 \begin_layout Plain Layout
21693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21696 \begin_layout Plain Layout
21702 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
21705 \begin_layout Plain Layout
21711 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21714 \begin_layout Plain Layout
21720 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21723 \begin_layout Plain Layout
21731 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21734 \begin_layout Plain Layout
21740 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21743 \begin_layout Plain Layout
21749 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21752 \begin_layout Plain Layout
21758 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21761 \begin_layout Plain Layout
21767 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21770 \begin_layout Plain Layout
21789 \begin_layout Standard
21790 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
21793 \begin_layout Standard
21798 usepackage{arydshln}
21801 \begin_layout Standard
21802 というコマンドを書き、LaTeXパッケージの
21807 \begin_inset Index idx
21810 \begin_layout Plain Layout
21811 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
21816 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
21819 \begin_layout Standard
21820 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
21823 \begin_layout Standard
21831 \begin_layout Standard
21835 \begin_layout Standard
21836 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
21839 \begin_layout Standard
21849 \begin_layout Standard
21850 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
21853 \begin_layout Standard
21861 \begin_layout Standard
21865 \begin_layout Standard
21866 \begin_inset VSpace bigskip
21872 \begin_layout Standard
21874 \begin_inset CommandInset ref
21876 reference "tab:点罫表"
21880 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
21886 が挿れられており、第4行の最初のセルには、TeXコードのコマンド
21887 \begin_inset Newline newline
21899 \begin_layout Standard
21900 \begin_inset VSpace bigskip
21906 \begin_layout Standard
21908 \begin_inset CommandInset ref
21910 reference "tab:Colored-table-with"
21917 \begin_layout Standard
21921 \begin_layout Plain Layout
21927 arrayrulewidth}{1pt}
21933 \begin_inset Note Note
21936 \begin_layout Plain Layout
21945 \begin_layout Standard
21949 \begin_layout Plain Layout
21953 dashgapcolor{green}
21959 \begin_inset Note Note
21962 \begin_layout Plain Layout
21971 \begin_layout Standard
21975 \begin_layout Plain Layout
21986 \begin_layout Plain Layout
21995 \begin_layout Plain Layout
21999 arrayrulecolor{red}
22003 arrayrulecolor{black}}
22009 \begin_inset Note Note
22012 \begin_layout Plain Layout
22021 \begin_layout Standard
22025 \begin_layout Plain Layout
22036 \begin_layout Plain Layout
22045 \begin_layout Plain Layout
22049 arrayrulecolor{yellow}
22053 arrayrulecolor{black}}
22059 \begin_inset Note Note
22062 \begin_layout Plain Layout
22071 \begin_layout Standard
22072 \begin_inset Float table
22078 \begin_layout Plain Layout
22079 \begin_inset Caption Standard
22081 \begin_layout Plain Layout
22082 \begin_inset CommandInset label
22084 name "tab:Colored-table-with"
22096 \begin_layout Plain Layout
22098 \begin_inset Tabular
22099 <lyxtabular version="3" rows="5" columns="5">
22100 <features rotate="0" tabularvalignment="middle">
22101 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
22102 <column alignment="center" valignment="top" width="0pt">
22103 <column alignment="center" valignment="top" width="0pt" special=":c">
22104 <column alignment="center" valignment="top">
22105 <column alignment="center" valignment="top">
22107 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22110 \begin_layout Plain Layout
22116 <cell alignment="center" valignment="top" topline="true" usebox="none">
22119 \begin_layout Plain Layout
22125 <cell alignment="center" valignment="top" topline="true" usebox="none">
22128 \begin_layout Plain Layout
22134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22137 \begin_layout Plain Layout
22143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22146 \begin_layout Plain Layout
22154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22157 \begin_layout Plain Layout
22163 <cell alignment="center" valignment="top" topline="true" usebox="none">
22166 \begin_layout Plain Layout
22172 <cell alignment="center" valignment="top" topline="true" usebox="none">
22175 \begin_layout Plain Layout
22181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22184 \begin_layout Plain Layout
22190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22193 \begin_layout Plain Layout
22201 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22204 \begin_layout Plain Layout
22208 \begin_layout Plain Layout
22221 \begin_layout Plain Layout
22235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22238 \begin_layout Plain Layout
22244 <cell alignment="center" valignment="top" usebox="none">
22247 \begin_layout Plain Layout
22253 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22256 \begin_layout Plain Layout
22262 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22265 \begin_layout Plain Layout
22273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22276 \begin_layout Plain Layout
22280 \begin_layout Plain Layout
22294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22297 \begin_layout Plain Layout
22303 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
22306 \begin_layout Plain Layout
22312 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22315 \begin_layout Plain Layout
22321 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22324 \begin_layout Plain Layout
22332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22335 \begin_layout Plain Layout
22341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22344 \begin_layout Plain Layout
22350 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
22353 \begin_layout Plain Layout
22359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22362 \begin_layout Plain Layout
22368 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22371 \begin_layout Plain Layout
22375 \begin_layout Plain Layout
22402 \begin_layout Standard
22406 \begin_layout Plain Layout
22420 \begin_inset Note Note
22423 \begin_layout Plain Layout
22432 \begin_layout Standard
22436 \begin_layout Plain Layout
22450 \begin_inset Note Note
22453 \begin_layout Plain Layout
22462 \begin_layout Standard
22466 \begin_layout Plain Layout
22476 \begin_inset Note Note
22479 \begin_layout Plain Layout
22488 \begin_layout Standard
22492 \begin_layout Plain Layout
22498 arrayrulewidth}{0.4pt}
22504 \begin_inset Note Note
22507 \begin_layout Plain Layout
22516 \begin_layout Standard
22518 \begin_inset CommandInset ref
22520 reference "sec:色付きの表"
22524 節に述べられているように動作します。水平線の着色も、
22548 に置き換えれば、そこで述べられているのと同様に機能します。したがって、以下のようなコマンドを使います。
22551 \begin_layout Standard
22561 \begin_inset Newline newline
22569 \begin_inset Newline newline
22573 \begin_inset Phantom HPhantom
22576 \begin_layout Plain Layout
22577 \begin_inset space ~
22587 arrayrulecolor{red}
22591 arrayrulecolor{black}}
22594 \begin_layout Standard
22604 \begin_layout Standard
22614 \begin_inset Newline newline
22622 \begin_inset Newline newline
22626 \begin_inset Phantom HPhantom
22629 \begin_layout Plain Layout
22630 \begin_inset space ~
22640 arrayrulecolor{red}
22644 arrayrulecolor{black}}
22647 \begin_layout Standard
22648 のようになります。黒の罫線に戻すには、以下のコマンドを表の後ろにTeXコードで挿入する必要があります。
22651 \begin_layout Standard
22661 \begin_layout Standard
22673 \begin_layout Standard
22683 \begin_layout Standard
22695 \begin_layout Standard
22696 としてください。点線の間の余白に色をつけるには、表の前にTeXコードで
22699 \begin_layout Standard
22707 \begin_layout Standard
22708 とすれば良いです。ここで「色」は、定義済みの色名です。
22711 \begin_layout Standard
22719 \begin_layout Standard
22729 \begin_layout Standard
22730 \begin_inset Note Greyedout
22733 \begin_layout Plain Layout
22738 1つのセル中に複数のコマンドがある場合、
22742 のコマンドが、そのセル中で最初に来る必要があります。したがって、表
22743 \begin_inset CommandInset ref
22745 reference "tab:Colored-table-with"
22773 \begin_layout Standard
22774 \begin_inset Note Greyedout
22777 \begin_layout Plain Layout
22786 は、文書プリアンブル中でLaTeXパッケージ
22791 \begin_inset Index idx
22794 \begin_layout Plain Layout
22795 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
22800 よりも前に読み込まれている必要があります。
22808 \begin_layout Standard
22812 \begin_layout Plain Layout
22822 \begin_inset Note Note
22825 \begin_layout Plain Layout
22838 \begin_layout Standard
22843 パッケージを導入しなくてはなりません。
22846 \begin_layout Standard
22850 \begin_layout Plain Layout
22862 \begin_layout Standard
22868 \begin_inset CommandInset citation
22877 \begin_layout Chapter
22879 \begin_inset CommandInset label
22886 \begin_inset Index idx
22889 \begin_layout Plain Layout
22898 \begin_layout Section
22900 \begin_inset CommandInset label
22902 name "sec:フロートはじめに"
22907 \begin_inset Index idx
22910 \begin_layout Plain Layout
22919 \begin_layout Standard
22920 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
22929 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
22932 \begin_layout Standard
22933 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
22934 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
22935 ートには連番が割り当てられます。参照については、第
22936 \begin_inset CommandInset ref
22938 reference "sec:フロートの参照"
22945 \begin_layout Standard
22948 挿入\SpecialChar \menuseparator
22954 arg "float-insert figure"
22960 arg "float-insert table"
22963 ツールバーボタン)を使えば、ラベルのついたボックスすなわち
22967 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
22968 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
22969 \begin_inset CommandInset ref
22971 reference "sec:キャプションの配置"
22975 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
22977 \begin_inset Graphics
22978 filename clipart/floatQt4.png
22980 scaleBeforeRotation
22984 のように、灰色ボタンに赤字ラベルで表示されます。
22987 \begin_layout Standard
22988 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
22991 \begin_layout Standard
22992 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
22995 \begin_layout Section
22999 \begin_layout Standard
23001 \begin_inset CommandInset ref
23003 reference "sec:図フロート"
23008 \begin_inset CommandInset ref
23010 reference "sec:表フロート"
23014 節で各々説明されている図フロートと表フロート以外に、
23023 \begin_inset CommandInset ref
23025 reference "sec:折返しフロート"
23032 \begin_layout Subsection
23034 \begin_inset Index idx
23037 \begin_layout Plain Layout
23038 ふろーと@フロート ! あるごりずむ@アルゴリズム
23046 \begin_layout Standard
23047 \begin_inset Float algorithm
23053 \begin_layout Plain Layout
23054 \begin_inset Caption Standard
23056 \begin_layout Plain Layout
23057 \begin_inset CommandInset label
23059 name "alg:アルゴリズムフロートの例"
23071 \begin_layout LyX-Code
23073 \begin_inset Newline newline
23076 Sum:= Sum + A(I); /*comment*/
23077 \begin_inset Newline newline
23081 \begin_inset VSpace -4mm
23092 \begin_layout Standard
23097 \SpecialChar \menuseparator
23098 フロート\SpecialChar \menuseparator
23102 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
23103 \begin_inset CommandInset ref
23105 reference "cha:プログラムコードリスト"
23109 章で説明されているプログラムコードリストの代わりとみなすことができます。
23113 に述べられているように、アルゴリズム向けの環境としては、
23118 \begin_inset CommandInset ref
23120 reference "alg:アルゴリズムフロートの例"
23124 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
23125 \begin_inset space \thinspace{}
23131 \begin_layout Standard
23132 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
23135 \begin_layout Standard
23140 floatname{algorithm}{付けたい名称}
23143 \begin_layout Standard
23144 という行を手動で加える必要があります。ここで
23157 \begin_layout Standard
23158 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
23160 挿入\SpecialChar \menuseparator
23161 一覧/目次\SpecialChar \menuseparator
23164 メニューを使用します。それ以外の場合には、代わりに
23167 \begin_layout Standard
23172 listof{algorithm}{付けたい名称}
23175 \begin_layout Standard
23176 というコマンドをTeXコードとして用います。ここで
23184 s」という単語に相当する、ご使用になりたい言語での単語です。
23187 \begin_layout Standard
23188 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
23189 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
23192 \begin_layout Standard
23197 numberwithin{algorithm}{chapter}
23200 \begin_layout Standard
23207 というコマンドを使用するには、文書設定の
23218 \begin_layout Section
23220 \begin_inset Index idx
23223 \begin_layout Plain Layout
23224 ふろーと@フロート ! れんばん@連番
23232 \begin_layout Standard
23233 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
23237 \begin_layout Standard
23238 節から独立して付けられている連番を変更するには、文書プリアンブルで
23241 \begin_layout Standard
23253 \begin_layout Standard
23260 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
23266 コマンドを使用します。上のコマンドで使用されている
23272 は、表番号を小文字のローマ数字で印字するコマンドです。
23275 \begin_layout Standard
23276 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
23279 \begin_layout Standard
23284 numberwithin{table}{subsection}
23287 \begin_layout Standard
23294 コマンドを使用可能にするためには、文書設定の
23301 \begin_inset space ~
23309 \begin_layout Standard
23310 連番コマンドについての詳細と大切な注意点については、第
23311 \begin_inset CommandInset ref
23313 reference "sub:脚注の付番"
23320 \begin_layout Section
23322 \begin_inset CommandInset label
23329 \begin_inset Index idx
23332 \begin_layout Plain Layout
23333 ふろーと@フロート ! さんしょう@参照
23339 \begin_inset Index idx
23342 \begin_layout Plain Layout
23343 さんしょう@参照 ! ふろーとにたいする@フロートに対する
23351 \begin_layout Standard
23354 挿入\SpecialChar \menuseparator
23357 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
23358 \begin_inset Graphics
23359 filename clipart/labelQt4.png
23360 scaleBeforeRotation
23364 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
23365 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
23372 \begin_layout Standard
23373 ラベルは、参照のための名称兼位置標として用いられます。
23375 挿入\SpecialChar \menuseparator
23383 arg "dialog-show-new-inset ref"
23388 を使えば、ラベルを参照することができます。
23389 \begin_inset Graphics
23390 filename clipart/referenceQt4.png
23392 scaleBeforeRotation
23396 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
23397 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
23401 \begin_layout Standard
23402 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
23403 出力では、参照の代わりに二つの疑問符が表示されることになります。
23406 \begin_layout Standard
23407 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
23408 で、リンクの更新に手間を割く必要はありません。
23411 \begin_layout Standard
23416 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
23420 に変わるので、相互参照にカーソルを戻すのに使用することができます。
23423 \begin_layout Subsection
23425 \begin_inset CommandInset label
23432 \begin_inset Index idx
23435 \begin_layout Plain Layout
23444 \begin_layout Standard
23445 相互参照には、以下の6種類があります。
23448 \begin_layout Description
23449 <参照>: これはフロート番号を表示します。これが既定値です。例:
23450 \begin_inset CommandInset ref
23452 reference "fig:歪められた二つの像"
23459 \begin_layout Description
23460 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
23462 \begin_inset CommandInset ref
23471 \begin_layout Description
23472 <参照ページ>: これはページ番号を表示します。例:Page
23473 \begin_inset space ~
23477 \begin_inset CommandInset ref
23478 LatexCommand pageref
23479 reference "fig:歪められた二つの像"
23486 \begin_layout Description
23488 \begin_inset space ~
23492 \begin_inset space ~
23495 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
23496 \begin_inset CommandInset ref
23497 LatexCommand vpageref
23498 reference "fig:歪められた二つの像"
23505 \begin_layout Description
23507 \begin_inset space ~
23511 \begin_inset space ~
23515 \begin_inset space ~
23518 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
23519 \begin_inset CommandInset ref
23521 reference "fig:歪められた二つの像"
23528 \begin_layout Description
23529 整形された参照: これは自製の相互参照書式で出力します。
23530 \begin_inset Newline newline
23534 \begin_inset Note Greyedout
23537 \begin_layout Plain Layout
23550 が導入されている場合のみ使用することができます。
23551 \begin_inset Index idx
23554 \begin_layout Plain Layout
23555 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
23561 \begin_inset Index idx
23564 \begin_layout Plain Layout
23565 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
23576 \begin_inset Newline newline
23581 文書\SpecialChar \menuseparator
23582 設定\SpecialChar \menuseparator
23587 相互参照に(prettyrefではなく)refstyleを使用
23589 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
23595 コマンド(prettyrefの場合)あるいは
23601 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
23605 」を持ちます)をすべて定義し直すには、
23606 \begin_inset Newline newline
23613 newref{fig}{refcmd={Image on page
23616 \begin_inset Newline newline
23621 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
23622 \begin_inset CommandInset citation
23624 key "prettyref,refstyle"
23631 \begin_layout Description
23632 名称参照: これは、下のような参照のキャプションを出力します。
23633 \begin_inset Newline newline
23637 \begin_inset CommandInset ref
23638 LatexCommand nameref
23639 reference "fig:歪められた二つの像"
23646 \begin_layout Standard
23651 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
23657 <参照> on page <参照ページ>
23659 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
23662 \begin_layout Standard
23663 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
23670 \begin_layout Standard
23671 \begin_inset Note Greyedout
23674 \begin_layout Plain Layout
23684 \begin_inset Index idx
23687 \begin_layout Plain Layout
23688 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
23694 \begin_inset Flex Ruby
23697 \begin_layout Plain Layout
23699 \begin_inset Argument post:1
23702 \begin_layout Plain Layout
23717 \begin_layout Plain Layout
23719 \begin_inset Quotes eld
23723 \begin_inset Quotes erd
23727 \begin_inset Flex Ruby
23730 \begin_layout Plain Layout
23732 \begin_inset Argument post:1
23735 \begin_layout Plain Layout
23751 を全部は解釈できず、国際化もされていないので、
23756 \begin_inset Index idx
23759 \begin_layout Plain Layout
23760 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
23773 \begin_layout Standard
23774 \begin_inset Note Greyedout
23777 \begin_layout Plain Layout
23782 LaTeXパッケージvarioref第1.4w版のバグによって、終止符を活用する言語(仏語等)を文書言語にすると、相互参照形式の一部でLaTeXエラーが発生します
23784 \begin_inset Newline newline
23788 \begin_inset CommandInset href
23790 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
23795 \begin_inset Newline newline
23806 \begin_layout Subsection
23808 \begin_inset Index idx
23811 \begin_layout Plain Layout
23812 さんしょう@参照 ! じどうめいめい@自動命名
23820 \begin_layout Standard
23834 \begin_inset Index idx
23837 \begin_layout Plain Layout
23838 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23843 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
23847 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
23848 の機能を使用するには、hyperrefを有効にして、
23851 \begin_layout Standard
23867 \begin_layout Standard
23868 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
23869 \begin_inset space \thinspace{}
23872 」としたいなど、既定の参照名以外のものが欲しい場合には、
23875 \begin_layout Standard
23886 sectionautorefname}
23887 \begin_inset Newline newline
23891 \begin_inset Phantom HPhantom
23894 \begin_layout Plain Layout
23897 \begin_inset space ~
23910 \begin_layout Standard
23911 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
23912 \begin_inset Newline newline
23923 に置き換えてください(***は使用中の言語名)。
23926 \begin_layout Standard
23927 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
23930 \begin_layout Standard
23941 equationautorefname}[1]{}}
23944 \begin_layout Standard
23945 この話題に関する詳細は、hyperrefの説明書
23946 \begin_inset CommandInset citation
23955 \begin_layout Standard
23956 \begin_inset Note Greyedout
23959 \begin_layout Plain Layout
23969 \begin_inset CommandInset ref
23971 reference "sub:相互参照の書式"
23975 節)で使用しているときには、使用することができません。
23983 \begin_layout Standard
23988 』では、参照名の自動命名が使用されています。
23991 \begin_layout Subsection
23993 \begin_inset CommandInset label
24000 \begin_inset Index idx
24003 \begin_layout Plain Layout
24004 さんしょう@参照 ! さんしょういち@参照位置
24012 \begin_layout Standard
24026 \begin_inset Index idx
24029 \begin_layout Plain Layout
24030 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24035 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
24036 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
24041 \begin_inset Index idx
24044 \begin_layout Plain Layout
24045 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24055 \begin_inset Index idx
24058 \begin_layout Plain Layout
24059 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24064 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
24067 \begin_layout Standard
24072 usepackage[figure]{hypcap}
24075 \begin_layout Standard
24076 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
24078 \begin_inset CommandInset citation
24087 \begin_layout Standard
24088 \begin_inset Note Greyedout
24091 \begin_layout Plain Layout
24096 は内部図への参照には効力がありません。
24104 \begin_layout Section
24106 \begin_inset CommandInset label
24113 \begin_inset Index idx
24116 \begin_layout Plain Layout
24125 \begin_layout Standard
24135 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
24136 \begin_inset Newline newline
24157 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
24158 \begin_inset Newline newline
24179 オプションは、フロートを回転するのに用います。第
24189 \begin_inset CommandInset ref
24191 reference "sec:回転フロート"
24207 \begin_layout Standard
24235 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
24238 \begin_layout Description
24248 フロートを挿入位置に配置することを試みます
24251 \begin_layout Description
24261 フロートを現在ページの上部に配置することを試みます
24264 \begin_layout Description
24274 フロートを現在ページの下部に配置することを試みます
24277 \begin_layout Description
24287 フロートを独立したページに配置することを試みます
24290 \begin_layout Standard
24295 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
24303 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
24304 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
24307 \begin_layout Standard
24308 既定では、各オプションはそれぞれ以下の規則を持っています。
24311 \begin_layout Labeling
24312 \labelwidthstring 00.00.0000
24317 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
24326 \begin_layout Labeling
24327 \labelwidthstring 00.00.0000
24332 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
24341 \begin_layout Labeling
24342 \labelwidthstring 00.00.0000
24347 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
24356 \begin_layout Standard
24361 オプションを追加することによって、これらを無視することができます。
24362 \begin_inset Newline newline
24365 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
24366 、ページの5割に変えるには、文書プリアンブルに
24369 \begin_layout Standard
24376 bottomfraction}{0.5}
24379 \begin_layout Standard
24383 \begin_layout Standard
24384 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
24388 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
24389 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
24393 \begin_layout Standard
24394 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
24397 \begin_layout Standard
24398 \begin_inset VSpace bigskip
24404 \begin_layout Standard
24405 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
24406 することがあります。この問題を避けるには、LaTeXコマンドの
24408 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
24409 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
24412 \begin_layout Standard
24422 \begin_inset Newline newline
24436 \begin_layout Standard
24437 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
24438 することがあるので、これらに対する定義はお勧めしません。
24441 \begin_layout Standard
24442 \begin_inset VSpace bigskip
24445 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
24450 \begin_inset Index idx
24453 \begin_layout Plain Layout
24454 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
24459 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
24460 \begin_inset Quotes eld
24466 \begin_inset space ~
24472 \begin_inset Quotes erd
24475 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
24478 \begin_layout Standard
24483 usepackage[options]{endfloat}
24486 \begin_layout Standard
24487 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
24492 \begin_inset CommandInset citation
24499 \begin_inset Newline newline
24503 \begin_inset Note Greyedout
24506 \begin_layout Plain Layout
24511 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
24512 \begin_inset CommandInset citation
24524 \begin_inset Newline newline
24528 \begin_inset Note Greyedout
24531 \begin_layout Plain Layout
24540 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
24554 \begin_layout Standard
24555 \begin_inset VSpace bigskip
24558 フロートの割付に関する詳細は、LaTeX関連書
24559 \begin_inset CommandInset citation
24561 key "latexcompanion,latexguide,latexbook"
24568 \begin_layout Section
24570 \begin_inset CommandInset label
24577 \begin_inset Index idx
24580 \begin_layout Plain Layout
24581 ふろーと@フロート ! かいてん@回転
24589 \begin_layout Standard
24590 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
24597 \begin_layout Standard
24598 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
24602 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
24603 たって回転方向を強制したい場合には、文書クラスオプションに
24614 \begin_layout Standard
24615 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
24616 \begin_inset CommandInset ref
24618 reference "tab:回転した表"
24625 \begin_layout Standard
24626 \begin_inset Note Greyedout
24629 \begin_layout Plain Layout
24634 すべてのDVIビューアが回転フロートを表示できるわけではありません。
24642 \begin_layout Standard
24643 \begin_inset Float table
24648 \begin_layout Plain Layout
24649 \begin_inset Caption Standard
24651 \begin_layout Plain Layout
24652 \begin_inset CommandInset label
24666 \begin_layout Plain Layout
24668 \begin_inset Tabular
24669 <lyxtabular version="3" rows="1" columns="5">
24670 <features rotate="0" tabularvalignment="middle">
24671 <column alignment="center" valignment="top">
24672 <column alignment="center" valignment="top">
24673 <column alignment="center" valignment="top">
24674 <column alignment="center" valignment="top">
24675 <column alignment="center" valignment="top">
24677 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24680 \begin_layout Plain Layout
24686 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24689 \begin_layout Plain Layout
24695 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24698 \begin_layout Plain Layout
24704 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24707 \begin_layout Plain Layout
24713 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24716 \begin_layout Plain Layout
24735 \begin_layout Section
24737 \begin_inset Index idx
24740 \begin_layout Plain Layout
24741 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
24749 \begin_layout Standard
24750 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
24751 \begin_inset CommandInset ref
24753 reference "tab:従属表を横に並べたもの"
24758 \begin_inset CommandInset ref
24760 reference "tab:従属表を縦に並べたもの"
24764 に示されているように段落と同様に指定することができます。
24767 \begin_layout Standard
24768 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
24769 \begin_inset CommandInset ref
24771 reference "tab:これは従属表a"
24776 \begin_inset CommandInset ref
24778 reference "tab:これは従属表b"
24783 \begin_inset CommandInset ref
24785 reference "tab:従属表を横に並べたもの"
24790 \begin_inset Float table
24795 \begin_layout Plain Layout
24796 \begin_inset Caption Standard
24798 \begin_layout Plain Layout
24799 \begin_inset CommandInset label
24801 name "tab:従属表を横に並べたもの"
24813 \begin_layout Plain Layout
24814 \begin_inset space \hfill{}
24818 \begin_inset Float table
24823 \begin_layout Plain Layout
24824 \begin_inset Caption Standard
24826 \begin_layout Plain Layout
24827 \begin_inset CommandInset label
24841 \begin_layout Plain Layout
24843 \begin_inset Tabular
24844 <lyxtabular version="3" rows="1" columns="5">
24845 <features rotate="0" tabularvalignment="middle">
24846 <column alignment="center" valignment="top">
24847 <column alignment="center" valignment="top">
24848 <column alignment="center" valignment="top">
24849 <column alignment="center" valignment="top">
24850 <column alignment="center" valignment="top">
24852 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24855 \begin_layout Plain Layout
24861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24864 \begin_layout Plain Layout
24870 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24873 \begin_layout Plain Layout
24879 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24882 \begin_layout Plain Layout
24888 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24891 \begin_layout Plain Layout
24908 \begin_inset space \hfill{}
24912 \begin_inset Float table
24917 \begin_layout Plain Layout
24918 \begin_inset Caption Standard
24920 \begin_layout Plain Layout
24921 \begin_inset CommandInset label
24935 \begin_layout Plain Layout
24937 \begin_inset Tabular
24938 <lyxtabular version="3" rows="1" columns="5">
24939 <features rotate="0" tabularvalignment="middle">
24940 <column alignment="center" valignment="top">
24941 <column alignment="center" valignment="top">
24942 <column alignment="center" valignment="top">
24943 <column alignment="center" valignment="top">
24944 <column alignment="center" valignment="top">
24946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24949 \begin_layout Plain Layout
24955 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24958 \begin_layout Plain Layout
24964 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24967 \begin_layout Plain Layout
24973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24976 \begin_layout Plain Layout
24982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24985 \begin_layout Plain Layout
25002 \begin_inset space \hfill{}
25011 \begin_inset Float table
25016 \begin_layout Plain Layout
25017 \begin_inset Caption Standard
25019 \begin_layout Plain Layout
25020 \begin_inset CommandInset label
25022 name "tab:従属表を縦に並べたもの"
25026 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
25034 \begin_layout Plain Layout
25037 \begin_inset Float table
25042 \begin_layout Plain Layout
25043 \begin_inset Caption Standard
25045 \begin_layout Plain Layout
25054 \begin_layout Plain Layout
25056 \begin_inset Tabular
25057 <lyxtabular version="3" rows="1" columns="4">
25058 <features rotate="0" tabularvalignment="middle">
25059 <column alignment="center" valignment="top">
25060 <column alignment="center" valignment="top">
25061 <column alignment="center" valignment="top">
25062 <column alignment="center" valignment="top">
25064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25067 \begin_layout Plain Layout
25073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25076 \begin_layout Plain Layout
25082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25085 \begin_layout Plain Layout
25091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25094 \begin_layout Plain Layout
25113 \begin_layout Plain Layout
25116 \begin_inset Float table
25121 \begin_layout Plain Layout
25122 \begin_inset Caption Standard
25124 \begin_layout Plain Layout
25133 \begin_layout Plain Layout
25135 \begin_inset Tabular
25136 <lyxtabular version="3" rows="1" columns="5">
25137 <features rotate="0" tabularvalignment="middle">
25138 <column alignment="center" valignment="top">
25139 <column alignment="center" valignment="top">
25140 <column alignment="center" valignment="top">
25141 <column alignment="center" valignment="top">
25142 <column alignment="center" valignment="top">
25144 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25147 \begin_layout Plain Layout
25153 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25156 \begin_layout Plain Layout
25162 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25165 \begin_layout Plain Layout
25171 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25174 \begin_layout Plain Layout
25180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25183 \begin_layout Plain Layout
25207 \begin_layout Section
25209 \begin_inset Index idx
25212 \begin_layout Plain Layout
25213 ふろーと@フロート ! よこならび@横並び
25221 \begin_layout Standard
25223 \begin_inset CommandInset ref
25225 reference "fig:左側のフロート"
25230 \begin_inset CommandInset ref
25232 reference "fig:右側のフロート"
25236 のようにフロートを横並びに配置するには、
25240 フロートのみを使用し、その中に二つのminipageボックスを挿入します
25244 \begin_layout Plain Layout
25246 \begin_inset CommandInset ref
25248 reference "sec:ミニページ"
25258 \begin_inset space \thinspace{}
25262 \begin_inset space \thinspace{}
25265 列幅%とし、各minipageのボックス配置を
25269 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
25273 がここではminipageボックスの幅によって計算されることです。
25276 \begin_layout Standard
25277 \begin_inset Float figure
25282 \begin_layout Plain Layout
25283 \begin_inset Box Frameless
25293 height_special "totalheight"
25296 \begin_layout Plain Layout
25298 \begin_inset Graphics
25299 filename ../clipart/mobius.eps
25302 scaleBeforeRotation
25309 \begin_layout Plain Layout
25310 \begin_inset Caption Standard
25312 \begin_layout Plain Layout
25313 \begin_inset CommandInset label
25330 \begin_inset space \hfill{}
25334 \begin_inset Box Frameless
25344 height_special "totalheight"
25347 \begin_layout Plain Layout
25349 \begin_inset Graphics
25350 filename ../clipart/platypus.eps
25353 scaleBeforeRotation
25360 \begin_layout Plain Layout
25361 \begin_inset Caption Standard
25363 \begin_layout Plain Layout
25364 \begin_inset CommandInset label
25383 \begin_layout Plain Layout
25392 \begin_layout Section
25394 \begin_inset Index idx
25397 \begin_layout Plain Layout
25398 きゃぷしょん@キャプション ! しょしきせってい@書式設定
25404 \begin_inset Index idx
25407 \begin_layout Plain Layout
25408 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
25414 \begin_inset CommandInset label
25416 name "sec:キャプションの書式設定"
25423 \begin_layout Standard
25432 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
25436 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
25440 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
25441 。このキャプション書式は、すべての文書書式に適しているわけではありません。
25444 \begin_layout Standard
25445 既定のキャプション書式を変更するには、文書プリアンブルに
25448 \begin_layout Standard
25453 usepackage[format definition]{caption}
25456 \begin_layout Standard
25457 という行を加えて、LaTeXパッケージ
25462 \begin_inset Index idx
25465 \begin_layout Plain Layout
25466 LaTeXぱっけーじ@LaTeXパッケージ ! caption
25471 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
25474 \begin_layout Standard
25479 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
25482 \begin_layout Standard
25483 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
25487 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
25490 \begin_layout Standard
25495 captionsetup[フロート型]{書式定義}
25498 \begin_layout Standard
25499 というコマンドを使用して、個別の書式を指定してください。たとえば、図
25500 \begin_inset CommandInset ref
25502 reference "fig:図キャプション"
25507 \begin_inset CommandInset ref
25509 reference "tab:表キャプション"
25513 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
25516 \begin_layout Standard
25521 usepackage[tableposition=top]{caption}
25524 \begin_inset Newline newline
25531 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
25532 \begin_inset Newline newline
25536 \begin_inset Phantom HPhantom
25539 \begin_layout Plain Layout
25542 captionsetup[figure]{
25548 \begin_inset Newline newline
25553 captionsetup[table]{labelfont={bf,sf}}
25556 \begin_layout Standard
25557 \begin_inset Note Greyedout
25560 \begin_layout Plain Layout
25574 \begin_inset Index idx
25577 \begin_layout Plain Layout
25578 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25583 が使われているときには、無効になります。この場合には、文書クラスオプション
25585 captions=tableheading
25595 \begin_layout Standard
25600 パッケージについての詳細は、その取扱説明書
25601 \begin_inset CommandInset citation
25610 \begin_layout Standard
25611 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
25614 \begin_layout Standard
25626 \begin_layout Standard
25640 \begin_layout Standard
25641 \begin_inset VSpace bigskip
25649 \begin_inset Index idx
25652 \begin_layout Plain Layout
25653 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25660 article (KOMA-script)
25668 letter (KOMA-script)
25672 report (KOMA-script)
25686 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
25689 \begin_layout Standard
25694 setkomafont{captionlabel}{
25699 \begin_layout Standard
25711 \begin_inset CommandInset citation
25720 \begin_layout Standard
25724 \begin_layout Plain Layout
25728 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
25735 \begin_inset Note Note
25738 \begin_layout Plain Layout
25739 キャプション書式は、この例のみ変更してあります。
25747 \begin_layout Standard
25748 \begin_inset Float figure
25754 \begin_layout Plain Layout
25756 \begin_inset Graphics
25757 filename ../clipart/mobius.eps
25760 scaleBeforeRotation
25767 \begin_layout Plain Layout
25768 \begin_inset Caption Standard
25770 \begin_layout Plain Layout
25771 \begin_inset CommandInset label
25777 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
25790 \begin_layout Standard
25794 \begin_layout Plain Layout
25798 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
25807 \begin_layout Standard
25808 \begin_inset Float table
25814 \begin_layout Plain Layout
25815 \begin_inset Caption Standard
25817 \begin_layout Plain Layout
25818 \begin_inset CommandInset label
25824 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
25832 \begin_layout Plain Layout
25834 \begin_inset Tabular
25835 <lyxtabular version="3" rows="1" columns="5">
25836 <features rotate="0" tabularvalignment="middle">
25837 <column alignment="center" valignment="top">
25838 <column alignment="center" valignment="top">
25839 <column alignment="center" valignment="top">
25840 <column alignment="center" valignment="top">
25841 <column alignment="center" valignment="top">
25843 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25846 \begin_layout Plain Layout
25852 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25855 \begin_layout Plain Layout
25861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25864 \begin_layout Plain Layout
25870 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25873 \begin_layout Plain Layout
25879 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25882 \begin_layout Plain Layout
25901 \begin_layout Section
25903 \begin_inset Index idx
25906 \begin_layout Plain Layout
25907 きゃぷしょん@キャプション ! はいち@配置
25913 \begin_inset Index idx
25916 \begin_layout Plain Layout
25917 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
25923 \begin_inset CommandInset label
25925 name "sec:キャプションの配置"
25932 \begin_layout Standard
25936 \begin_layout Description
25937 図の場合: キャプションを図の下に置く
25940 \begin_layout Description
25941 表の場合: キャプションを表の上に置く
25944 \begin_layout Standard
25945 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
25961 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
25969 \begin_layout Standard
25975 \begin_layout Standard
25980 \begin_layout Plain Layout
25986 \begin_inset CommandInset ref
25988 reference "sec:キャプションの書式設定"
26002 \begin_inset Index idx
26005 \begin_layout Plain Layout
26006 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
26013 article (KOMA-script)
26021 letter (KOMA-script)
26025 report (KOMA-script)
26028 \begin_inset space \thinspace{}
26035 パッケージにオプションを与える代わりに、文書クラスオプション
26038 \begin_layout Standard
26041 captions=tableheading
26044 \begin_layout Standard
26049 \begin_layout Plain Layout
26050 このオプションは本文書で使用されています。
26058 \begin_layout Standard
26059 KOMA-Script文書クラスの文書では、キャプションを右クリックして、文脈依存メニューから、これが図表の上または下に来るべきキャプションかを指定することもで
26060 きます。これによって、文書全体のキャプション配置指定にかかわらず、特定のキャプションの配置を変えることができます。表
26061 \begin_inset CommandInset ref
26063 reference "tab:指定付きキャプション"
26067 は、キャプションは、LyX中では上に置かれているけれども、表の下に来るように指定されている例です。比較のために、表
26068 \begin_inset CommandInset ref
26070 reference "tab:標準表"
26074 のキャプションでは、指定が為されていません。
26077 \begin_layout Standard
26078 \begin_inset Float table
26083 \begin_layout Plain Layout
26084 \begin_inset Caption Below
26086 \begin_layout Plain Layout
26087 \begin_inset CommandInset label
26089 name "tab:指定付きキャプション"
26093 表下に来るように指定されたキャプション
26101 \begin_layout Plain Layout
26103 \begin_inset Tabular
26104 <lyxtabular version="3" rows="3" columns="3">
26105 <features rotate="0" tabularvalignment="middle">
26106 <column alignment="center" valignment="top" width="0pt">
26107 <column alignment="center" valignment="top" width="0pt">
26108 <column alignment="center" valignment="top" width="0pt">
26110 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26113 \begin_layout Plain Layout
26119 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26122 \begin_layout Plain Layout
26128 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26131 \begin_layout Plain Layout
26139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26142 \begin_layout Plain Layout
26148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26151 \begin_layout Plain Layout
26157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26160 \begin_layout Plain Layout
26168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26171 \begin_layout Plain Layout
26172 \begin_inset Formula $\int x^{2}dx$
26180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26183 \begin_layout Plain Layout
26184 \begin_inset Formula $\left[\begin{array}{cc}
26187 \end{array}\right]$
26195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26198 \begin_layout Plain Layout
26199 \begin_inset Formula $1+1=2$
26220 \begin_layout Standard
26221 \begin_inset Float table
26226 \begin_layout Plain Layout
26227 \begin_inset Caption Standard
26229 \begin_layout Plain Layout
26230 \begin_inset CommandInset label
26244 \begin_layout Plain Layout
26246 \begin_inset Tabular
26247 <lyxtabular version="3" rows="3" columns="3">
26248 <features rotate="0" tabularvalignment="middle">
26249 <column alignment="center" valignment="top" width="0pt">
26250 <column alignment="center" valignment="top" width="0pt">
26251 <column alignment="center" valignment="top" width="0pt">
26253 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26256 \begin_layout Plain Layout
26262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26265 \begin_layout Plain Layout
26271 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26274 \begin_layout Plain Layout
26282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26285 \begin_layout Plain Layout
26291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26294 \begin_layout Plain Layout
26300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26303 \begin_layout Plain Layout
26311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26314 \begin_layout Plain Layout
26315 \begin_inset Formula $\int x^{2}dx$
26323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26326 \begin_layout Plain Layout
26327 \begin_inset Formula $\left[\begin{array}{cc}
26330 \end{array}\right]$
26338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26341 \begin_layout Plain Layout
26342 \begin_inset Formula $1+1=2$
26363 \begin_layout Standard
26364 \begin_inset VSpace bigskip
26367 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
26370 \begin_layout Standard
26375 usepackage[option]{sidecap}
26378 \begin_layout Standard
26379 という行を入れて、LaTeXパッケージ
26384 \begin_inset Index idx
26387 \begin_layout Plain Layout
26388 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
26393 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
26397 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
26408 \begin_layout Standard
26412 \begin_layout Plain Layout
26422 \begin_inset Note Note
26425 \begin_layout Plain Layout
26430 が導入されているときのみ表示されます。
26438 \begin_layout Standard
26439 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
26442 \begin_layout Standard
26444 \begin_inset CommandInset line
26455 \begin_layout Standard
26462 TabBesBeg}[1][1.0]{%
26463 \begin_inset Newline newline
26467 \begin_inset Phantom HPhantom
26470 \begin_layout Plain Layout
26471 \begin_inset space ~
26486 \begin_inset Newline newline
26490 \begin_inset Phantom HPhantom
26493 \begin_layout Plain Layout
26496 \begin_inset space ~
26511 \begin_inset Newline newline
26515 \begin_inset Phantom HPhantom
26518 \begin_layout Plain Layout
26521 \begin_inset space ~
26531 renewenvironment{table}[1]{
26533 begin{SCtable}[#1]##1}{
26538 \begin_layout Standard
26546 \begin_inset Newline newline
26550 \begin_inset Phantom HPhantom
26553 \begin_layout Plain Layout
26554 \begin_inset space ~
26569 \begin_inset Newline newline
26573 \begin_inset Phantom HPhantom
26576 \begin_layout Plain Layout
26577 \begin_inset space ~
26594 \begin_layout Standard
26601 FigBesBeg}[1][1.0]{%
26602 \begin_inset Newline newline
26606 \begin_inset Phantom HPhantom
26609 \begin_layout Plain Layout
26610 \begin_inset space ~
26625 \begin_inset Newline newline
26629 \begin_inset Phantom HPhantom
26632 \begin_layout Plain Layout
26633 \begin_inset space ~
26648 \begin_inset Newline newline
26652 \begin_inset Phantom HPhantom
26655 \begin_layout Plain Layout
26656 \begin_inset space ~
26666 renewenvironment{figure}[1]{
26668 begin{SCfigure}[#1]##1}{
26673 \begin_layout Standard
26681 \begin_inset Newline newline
26685 \begin_inset Phantom HPhantom
26688 \begin_layout Plain Layout
26689 \begin_inset space ~
26704 \begin_inset Newline newline
26708 \begin_inset Phantom HPhantom
26711 \begin_layout Plain Layout
26712 \begin_inset space ~
26729 \begin_layout Standard
26731 \begin_inset CommandInset line
26742 \begin_layout Standard
26743 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
26746 \begin_layout Standard
26754 \begin_layout Standard
26755 というコマンドを、フロートの前にTeXコードで入れてください。そして、元のフロート定義に戻したいところで、
26758 \begin_layout Standard
26766 \begin_layout Standard
26770 \begin_layout Standard
26771 表フロートに対しては、対応するコマンド
26774 \begin_layout Standard
26788 \begin_layout Standard
26790 \begin_inset CommandInset ref
26792 reference "fig:図横キャプション"
26797 \begin_inset CommandInset ref
26799 reference "tab:表横キャプション"
26806 \begin_layout Standard
26807 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
26808 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
26811 \begin_layout Standard
26816 sidecaptionvpos{フロート型}{配置}
26819 \begin_layout Standard
26820 というコマンドを使用します。ここで「フロート型」は
26828 であり、「配置」は、上揃えの場合はtopの
26831 \begin_layout Standard
26844 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
26847 \begin_layout Standard
26852 sidecaptionvpos{figure}{c}
26855 \begin_layout Standard
26856 というコマンドを使用します。これは、図
26857 \begin_inset CommandInset ref
26859 reference "fig:図横キャプション-2"
26866 \begin_layout Standard
26867 \begin_inset VSpace medskip
26873 \begin_layout Standard
26874 キャプション幅の既定値は、画像幅ないし表幅です。しかし、表
26875 \begin_inset CommandInset ref
26877 reference "tab:表横キャプション"
26881 のように幅狭の表では、これではキャプションの幅が狭くなりすぎます。キャプション幅を増やすには、画像幅ないし表幅に掛ける因数を指定することができます。指定した幅で
26882 は、キャプションがページ余白ないし段余白に突き出てしまうような場合は、キャプション幅は自動的に再計算してくれます。
26889 \begin_layout Standard
26897 \begin_layout Standard
26904 への非必須引数として与えることもできますし、
26915 \begin_inset CommandInset ref
26917 reference "tab:図横幅広"
26924 \begin_layout Standard
26925 \begin_inset Note Greyedout
26928 \begin_layout Plain Layout
26933 キャプションを横につけたフロートでは、フロート配置オプションの
26941 がサポートしていないので、使用することができません。.
26949 \begin_layout Standard
26950 \begin_inset VSpace medskip
26958 \begin_inset CommandInset citation
26967 \begin_layout Standard
26968 \begin_inset Note Greyedout
26971 \begin_layout Plain Layout
26977 \begin_inset CommandInset ref
26979 reference "sub:参照位置"
26988 \begin_inset Index idx
26991 \begin_layout Plain Layout
26992 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
26997 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
27005 \begin_layout Standard
27006 \begin_inset Note Greyedout
27009 \begin_layout Plain Layout
27019 \begin_inset Index idx
27022 \begin_layout Plain Layout
27023 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
27028 は、pLaTeXと互換性がなく、特に文書全体の見出しのフォントが適切に表示できなくなってしまうため、本日本語訳では当該パッケージを使用していません。その使用例に
27033 』(つまりこの文書)のLyX文書本体を見るか、出力結果を見たい場合には英語版を出力するようにしてください。
27039 \begin_inset Note Note
27042 \begin_layout Plain Layout
27046 \begin_layout Plain Layout
27058 \begin_layout Plain Layout
27059 \begin_inset Float figure
27064 \begin_layout Plain Layout
27065 \begin_inset Graphics
27066 filename ../clipart/escher-lsd.eps
27068 scaleBeforeRotation
27075 \begin_layout Plain Layout
27076 \begin_inset Caption Standard
27078 \begin_layout Plain Layout
27079 \begin_inset CommandInset label
27081 name "fig:図横キャプション"
27098 \begin_layout Plain Layout
27102 \begin_layout Plain Layout
27114 \begin_layout Plain Layout
27118 \begin_layout Plain Layout
27130 \begin_layout Plain Layout
27131 \begin_inset Float table
27136 \begin_layout Plain Layout
27137 \begin_inset Caption Standard
27139 \begin_layout Plain Layout
27140 \begin_inset CommandInset label
27142 name "tab:表横キャプション"
27154 \begin_layout Plain Layout
27155 \begin_inset Tabular
27156 <lyxtabular version="3" rows="4" columns="5">
27157 <features rotate="0" tabularvalignment="middle">
27158 <column alignment="center" valignment="top">
27159 <column alignment="center" valignment="top">
27160 <column alignment="center" valignment="top">
27161 <column alignment="center" valignment="top">
27162 <column alignment="center" valignment="top">
27164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27167 \begin_layout Plain Layout
27173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27176 \begin_layout Plain Layout
27182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27185 \begin_layout Plain Layout
27191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27194 \begin_layout Plain Layout
27200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27203 \begin_layout Plain Layout
27211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27214 \begin_layout Plain Layout
27220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27223 \begin_layout Plain Layout
27229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27232 \begin_layout Plain Layout
27238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27241 \begin_layout Plain Layout
27247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27250 \begin_layout Plain Layout
27258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27261 \begin_layout Plain Layout
27267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27270 \begin_layout Plain Layout
27276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27279 \begin_layout Plain Layout
27285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27288 \begin_layout Plain Layout
27294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27297 \begin_layout Plain Layout
27305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27308 \begin_layout Plain Layout
27314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27317 \begin_layout Plain Layout
27323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27326 \begin_layout Plain Layout
27332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27335 \begin_layout Plain Layout
27341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27344 \begin_layout Plain Layout
27363 \begin_layout Plain Layout
27367 \begin_layout Plain Layout
27379 \begin_layout Plain Layout
27383 \begin_layout Plain Layout
27396 \begin_layout Plain Layout
27400 sidecaptionvpos{figure}{c}
27406 \begin_inset Float figure
27411 \begin_layout Plain Layout
27412 \begin_inset Graphics
27413 filename ../clipart/escher-lsd.eps
27415 scaleBeforeRotation
27422 \begin_layout Plain Layout
27423 \begin_inset Caption Standard
27425 \begin_layout Plain Layout
27426 \begin_inset CommandInset label
27428 name "fig:図横キャプション-2"
27432 これは図の横にある縦方向中央揃えのキャプションです。
27445 \begin_layout Plain Layout
27449 \begin_layout Plain Layout
27461 \begin_layout Plain Layout
27465 \begin_layout Plain Layout
27477 \begin_layout Plain Layout
27478 \begin_inset Float table
27483 \begin_layout Plain Layout
27484 \begin_inset Caption Standard
27486 \begin_layout Plain Layout
27487 \begin_inset CommandInset label
27494 \begin_inset CommandInset ref
27496 reference "tab:表横キャプション"
27508 \begin_layout Plain Layout
27509 \begin_inset Tabular
27510 <lyxtabular version="3" rows="4" columns="5">
27511 <features rotate="0" tabularvalignment="middle">
27512 <column alignment="center" valignment="top">
27513 <column alignment="center" valignment="top">
27514 <column alignment="center" valignment="top">
27515 <column alignment="center" valignment="top">
27516 <column alignment="center" valignment="top">
27518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27521 \begin_layout Plain Layout
27527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27530 \begin_layout Plain Layout
27536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27539 \begin_layout Plain Layout
27545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27548 \begin_layout Plain Layout
27554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27557 \begin_layout Plain Layout
27565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27568 \begin_layout Plain Layout
27574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27577 \begin_layout Plain Layout
27583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27586 \begin_layout Plain Layout
27592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27595 \begin_layout Plain Layout
27601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27604 \begin_layout Plain Layout
27612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27615 \begin_layout Plain Layout
27621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27624 \begin_layout Plain Layout
27630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27633 \begin_layout Plain Layout
27639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27642 \begin_layout Plain Layout
27648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27651 \begin_layout Plain Layout
27659 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27662 \begin_layout Plain Layout
27668 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27671 \begin_layout Plain Layout
27677 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27680 \begin_layout Plain Layout
27686 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27689 \begin_layout Plain Layout
27695 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27698 \begin_layout Plain Layout
27717 \begin_layout Plain Layout
27721 \begin_layout Plain Layout
27738 \begin_layout Standard
27742 \begin_layout Plain Layout
27752 \begin_inset Note Note
27755 \begin_layout Plain Layout
27760 が導入されていないときのみ表示されます。
27768 \begin_layout Standard
27769 本節の残りの部分を出力で表示するには、LaTeXパッケージ
27776 \begin_layout Standard
27780 \begin_layout Plain Layout
27792 \begin_layout Section
27794 \begin_inset Index idx
27797 \begin_layout Plain Layout
27798 ふろーと@フロート ! ふろーといちらん@フロート一覧
27806 \begin_layout Standard
27807 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
27809 挿入\SpecialChar \menuseparator
27815 \begin_layout Standard
27816 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
27819 \begin_layout Standard
27820 本文書の終わりに、図一覧と表一覧があります。
27823 \begin_layout Chapter
27827 \begin_layout Section
27829 \begin_inset Index idx
27832 \begin_layout Plain Layout
27833 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
27841 \begin_layout Standard
27854 挿入\SpecialChar \menuseparator
27857 メニューで挿入することができます。注釈には、以下の三つの型があります。
27860 \begin_layout Description
27861 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
27862 \begin_inset Newline newline
27866 \begin_inset Newline newline
27870 \begin_inset Graphics
27871 filename clipart/LyXNoteImageQt4.png
27874 scaleBeforeRotation
27879 \begin_inset Note Note
27882 \begin_layout Plain Layout
27883 これは、出力には現れない注釈ボックスに書かれた文章です。
27891 \begin_layout Description
27892 コメント この注釈も出力には現れませんが、
27894 ファイル\SpecialChar \menuseparator
27895 書き出し\SpecialChar \menuseparator
27900 \begin_layout Plain Layout
27907 eX (pdflatex) / (平文)
27909 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
27910 \begin_inset Newline newline
27914 \begin_inset Newline newline
27918 \begin_inset Graphics
27919 filename clipart/CommentNoteImageQt4.png
27922 scaleBeforeRotation
27927 \begin_inset Note Comment
27930 \begin_layout Plain Layout
27931 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
27939 \begin_layout Description
27940 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
27941 \begin_inset Newline newline
27945 \begin_inset Newline newline
27949 \begin_inset Graphics
27950 filename clipart/GreyedOutNoteImageQt4.png
27953 scaleBeforeRotation
27958 \begin_inset Newline newline
27965 \begin_layout Plain Layout
27969 renewenvironment{lyxgreyedout}
27972 \begin_layout Plain Layout
27976 textcolor[gray]{0.8}
27986 \begin_inset Note Greyedout
27989 \begin_layout Plain Layout
27990 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
27994 \begin_layout Plain Layout
27995 これは、淡色注釈内に脚注を用いた例です。
28009 \begin_layout Plain Layout
28013 renewenvironment{lyxgreyedout}
28016 \begin_layout Plain Layout
28030 \begin_inset Note Note
28033 \begin_layout Plain Layout
28034 以下に述べられているように、淡色注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色注釈は、LyX本来の定義で表示されるように再
28041 \begin_inset Newline newline
28045 \begin_inset Newline newline
28048 この例から分かるように、淡色注釈の最初の行は少し字下げされるほか、淡色注釈には脚注を入れることができます。
28051 \begin_layout Standard
28052 \begin_inset VSpace bigskip
28069 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
28070 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
28074 \begin_layout Standard
28075 \begin_inset VSpace bigskip
28080 文書\SpecialChar \menuseparator
28081 設定\SpecialChar \menuseparator
28087 \begin_layout Section
28089 \begin_inset CommandInset label
28096 \begin_inset Index idx
28099 \begin_layout Plain Layout
28100 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
28106 \begin_inset Index idx
28109 \begin_layout Plain Layout
28118 \begin_layout Standard
28124 arg "footnote-insert"
28131 挿入\SpecialChar \menuseparator
28134 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
28135 \begin_inset Graphics
28136 filename clipart/footnoteQt4.png
28138 scaleBeforeRotation
28142 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
28143 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
28146 \begin_layout Standard
28151 \begin_layout Plain Layout
28152 \begin_inset CommandInset label
28167 \begin_layout Plain Layout
28171 newcounter{MyRepeatFoot}
28174 \begin_layout Plain Layout
28178 setcounter{MyRepeatFoot}{
28188 \begin_layout Standard
28189 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
28190 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
28193 \begin_layout Standard
28194 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
28195 \begin_inset CommandInset ref
28197 reference "sec:フロートの参照"
28201 節に説明されているようにして、本文中でこのラベルを相互参照してください。
28202 \begin_inset Newline newline
28206 \begin_inset CommandInset ref
28208 reference "fn:これは脚注の一例"
28215 \begin_layout Standard
28216 \begin_inset VSpace defskip
28221 Footnotes in title environments are usually not numbered with symbols and
28222 they cannot contain several paragraphs.
28223 See for example the footnote in the titling of this document.
28226 \begin_layout Standard
28227 \begin_inset VSpace defskip
28233 \begin_layout Standard
28234 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
28240 コマンドを入れてください。脚注の本文は、表の後でTeXコード
28247 \begin_inset Newline newline
28251 \begin_inset Newline newline
28265 \begin_inset Newline newline
28271 \begin_layout Standard
28272 \begin_inset Tabular
28273 <lyxtabular version="3" rows="2" columns="1">
28274 <features rotate="0" tabularvalignment="middle">
28275 <column alignment="center" valignment="top">
28277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28280 \begin_layout Plain Layout
28285 \begin_layout Plain Layout
28298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28301 \begin_layout Plain Layout
28306 \begin_layout Plain Layout
28329 \begin_layout Plain Layout
28342 \begin_layout Plain Layout
28352 \begin_layout Standard
28354 \begin_inset CommandInset ref
28356 reference "sub:長尺表での脚注"
28363 \begin_layout Standard
28364 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
28365 \begin_inset CommandInset ref
28367 reference "sec:ミニページ"
28371 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
28386 \begin_layout Standard
28387 \begin_inset Box Frameless
28397 height_special "totalheight"
28400 \begin_layout Plain Layout
28405 \begin_layout Plain Layout
28414 \begin_layout Plain Layout
28419 \begin_layout Plain Layout
28436 \begin_layout Standard
28440 \begin_layout Plain Layout
28453 \begin_layout Plain Layout
28461 \begin_inset VSpace defskip
28467 \begin_layout Standard
28468 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
28475 \begin_inset Newline newline
28478 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
28479 \begin_inset CommandInset ref
28481 reference "fn:これは脚注の一例"
28488 \begin_layout Standard
28493 newcounter{MyRepeatFoot}
28494 \begin_inset Newline newline
28499 setcounter{MyRepeatFoot}{
28504 \begin_layout Standard
28505 というコマンドを挿入しています。そして脚注マークは、
28508 \begin_layout Standard
28518 \begin_layout Standard
28522 \begin_layout Standard
28527 \begin_layout Plain Layout
28541 \begin_layout Standard
28542 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
28545 \begin_layout Standard
28555 \begin_layout Standard
28559 \begin_layout Standard
28564 \begin_layout Plain Layout
28578 \begin_layout Subsection
28580 \begin_inset CommandInset label
28587 \begin_inset Index idx
28590 \begin_layout Plain Layout
28599 \begin_layout Standard
28600 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
28603 \begin_layout Standard
28608 @addtoreset{footnote}{section}
28611 \begin_layout Standard
28615 \begin_layout Standard
28616 \begin_inset VSpace bigskip
28619 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
28622 \begin_layout Standard
28634 \begin_layout Standard
28638 \begin_layout Plain Layout
28655 \begin_layout Plain Layout
28656 これは、ローマ数字を使った脚注の例です。
28664 \begin_layout Standard
28665 付番様式を大文字ローマ数字に変更するには、上記コマンドの
28677 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
28689 を使用してください。記号を使って付「番」するには、
28698 \begin_layout Standard
28699 \begin_inset Note Greyedout
28702 \begin_layout Plain Layout
28707 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
28713 \begin_inset Newline newline
28717 \begin_inset Note Greyedout
28720 \begin_layout Plain Layout
28725 記号を使うと9個の脚注しか番号を振ることができません。
28733 \begin_layout Standard
28734 付番様式を変更した後、既定様式に戻すには、上記コマンドの
28750 \begin_layout Plain Layout
28766 \begin_layout Standard
28767 \begin_inset VSpace bigskip
28773 \begin_layout Standard
28774 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
28777 \begin_layout Standard
28782 numberwithin{footnote}{chapter}
28785 \begin_layout Standard
28792 コマンドを使用できるようにするためには、文書設定の
28799 \begin_inset space ~
28807 \begin_layout Standard
28811 \begin_layout Plain Layout
28815 numberwithin{footnote}{chapter}
28826 \begin_layout Plain Layout
28831 「章番号.脚注番号」スキームで番号を振られた脚注です。
28842 \begin_layout Plain Layout
28858 \begin_layout Standard
28859 \begin_inset Note Greyedout
28862 \begin_layout Plain Layout
28869 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
28877 \begin_layout Standard
28880 Roman{footnote}」スキームを得るには、
28886 の代わりに以下のコマンドを使用してください。
28889 \begin_layout Standard
28903 \begin_layout Subsection
28905 \begin_inset Index idx
28908 \begin_layout Plain Layout
28917 \begin_layout Standard
28918 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
28920 \begin_inset space \thinspace{}
28926 \begin_layout Standard
28936 \begin_inset Newline newline
28950 \begin_layout Standard
28951 \begin_inset VSpace bigskip
28954 二段組文書では、脚注は各段底部に表示されます(図
28955 \begin_inset CommandInset ref
28957 reference "fig:標準的脚注配置"
28962 \begin_inset CommandInset ref
28964 reference "fig:ftnright脚注配置"
28968 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
28971 \begin_layout Standard
28976 usepackage{ftnright}
28979 \begin_layout Standard
28980 というコマンドを書いて、LaTeXパッケージ
28985 \begin_inset Index idx
28988 \begin_layout Plain Layout
28989 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
28995 \begin_inset Float figure
29001 \begin_layout Plain Layout
29005 \begin_layout Plain Layout
29015 \begin_inset Graphics
29016 filename ../clipart/without_fntright.pdf
29018 scaleBeforeRotation
29026 \begin_layout Plain Layout
29036 \begin_layout Plain Layout
29037 \begin_inset Caption Standard
29039 \begin_layout Plain Layout
29040 \begin_inset CommandInset label
29059 \begin_layout Standard
29060 \begin_inset Float figure
29066 \begin_layout Plain Layout
29070 \begin_layout Plain Layout
29080 \begin_inset Graphics
29081 filename ../clipart/with_fntright.pdf
29083 scaleBeforeRotation
29091 \begin_layout Plain Layout
29101 \begin_layout Plain Layout
29102 \begin_inset Caption Standard
29104 \begin_layout Plain Layout
29105 \begin_inset CommandInset label
29107 name "fig:ftnright脚注配置"
29128 \begin_layout Standard
29129 \begin_inset VSpace bigskip
29133 \begin_inset CommandInset ref
29139 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
29140 \begin_inset Index idx
29143 \begin_layout Plain Layout
29149 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
29151 文書\SpecialChar \menuseparator
29152 設定\SpecialChar \menuseparator
29159 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
29162 \begin_layout Standard
29170 \begin_layout Standard
29174 \begin_layout Standard
29175 \begin_inset Float figure
29180 \begin_layout Plain Layout
29185 \begin_layout Plain Layout
29195 \begin_inset Graphics
29196 filename ../clipart/endnotes.pdf
29197 scaleBeforeRotation
29205 \begin_layout Plain Layout
29215 \begin_layout Plain Layout
29216 \begin_inset Caption Standard
29218 \begin_layout Plain Layout
29219 \begin_inset CommandInset label
29225 後注 – 注を節ないし章末に別段落として印字します。
29238 \begin_layout Standard
29239 \begin_inset VSpace medskip
29242 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
29245 \begin_layout Standard
29252 notesname}{Anmerkungen}
29255 \begin_layout Standard
29256 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
29259 \begin_layout Standard
29260 \begin_inset VSpace medskip
29264 \begin_inset CommandInset ref
29266 reference "sub:脚注の付番"
29270 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
29282 を用いてください。後注番号をリセットするには、第
29283 \begin_inset CommandInset ref
29285 reference "sub:脚注の付番"
29306 \begin_layout Standard
29308 \begin_inset CommandInset ref
29329 \begin_layout Standard
29330 \begin_inset VSpace bigskip
29333 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
29338 \begin_inset Index idx
29341 \begin_layout Plain Layout
29342 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
29348 \begin_inset CommandInset citation
29357 \begin_layout Standard
29358 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
29359 \begin_inset CommandInset citation
29361 key "latexcompanion,latexguide,latexbook"
29370 \begin_inset Index idx
29373 \begin_layout Plain Layout
29374 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
29379 文書クラスを使用している場合には、すべての脚注設定を、クラス固有のコマンドで調節することができます(
29380 \begin_inset CommandInset citation
29389 \begin_layout Section
29391 \begin_inset Index idx
29394 \begin_layout Plain Layout
29395 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
29403 \begin_layout Standard
29404 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
29406 挿入\SpecialChar \menuseparator
29414 arg "marginalnote-insert"
29419 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
29422 \begin_layout Standard
29424 \begin_inset Marginal
29427 \begin_layout Plain Layout
29436 \begin_layout Standard
29437 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
29438 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
29441 \begin_layout Standard
29442 \begin_inset VSpace bigskip
29445 傍注を内側余白に置くには、傍注の前にTeXコードで
29448 \begin_layout Standard
29456 \begin_layout Standard
29457 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
29461 \begin_layout Plain Layout
29471 \begin_inset Marginal
29474 \begin_layout Plain Layout
29483 \begin_inset Newline newline
29489 \begin_inset Note Greyedout
29492 \begin_layout Plain Layout
29497 内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
29505 \begin_layout Standard
29509 \begin_layout Standard
29517 \begin_layout Standard
29522 \begin_layout Plain Layout
29532 \begin_inset Note Greyedout
29535 \begin_layout Plain Layout
29542 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
29550 \begin_layout Standard
29551 \begin_inset VSpace bigskip
29555 \begin_inset Marginal
29558 \begin_layout Plain Layout
29559 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
29565 \begin_inset CommandInset ref
29567 reference "sub:複数行"
29571 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
29572 \begin_inset space \thinspace{}
29576 \begin_inset Marginal
29579 \begin_layout Plain Layout
29580 \begin_inset space \hspace*{}
29584 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
29592 \begin_layout Standard
29593 \begin_inset VSpace bigskip
29599 \begin_layout Standard
29600 \begin_inset Note Greyedout
29603 \begin_layout Plain Layout
29608 通常、傍注は表やフロート、脚注の中では使用することができません。
29616 \begin_layout Standard
29617 \begin_inset VSpace bigskip
29623 \begin_layout Standard
29627 \begin_layout Plain Layout
29637 \begin_inset Note Note
29640 \begin_layout Plain Layout
29645 が導入されているときのみ表示されます。
29653 \begin_layout Standard
29659 \begin_inset Index idx
29662 \begin_layout Plain Layout
29663 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
29668 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
29672 パッケージが提供するコマンドを使うようになります。
29675 \begin_layout Standard
29680 usepackage{marginnote}
29681 \begin_inset Newline newline
29693 \begin_layout Standard
29698 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
29702 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
29703 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
29706 \begin_layout Standard
29712 \begin_layout Standard
29713 という形で書くことで設定することができます。ここで「オフセット」には、表
29714 \begin_inset CommandInset ref
29720 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
29725 \begin_inset space \thinspace{}
29729 \begin_inset Marginal
29732 \begin_layout Plain Layout
29734 \begin_inset space \thinspace{}
29746 \begin_layout Plain Layout
29756 \begin_layout Standard
29757 \begin_inset VSpace medskip
29764 を使うと、傍注の揃えを変更することもできます。たとえば、
29767 \begin_layout Standard
29774 raggedleftmarginnote}{
29777 \begin_inset Newline newline
29784 raggedrightmarginnote}{
29789 \begin_layout Standard
29790 というコマンドを使うと、中央揃えになります。
29794 raggedleftmarginnote
29796 とは、左側に表示されている傍注のことを指します
29800 \begin_layout Plain Layout
29806 raggedleftmarginnote}{
29811 \begin_layout Plain Layout
29817 raggedrightmarginnote}{
29825 \begin_inset Marginal
29828 \begin_layout Plain Layout
29829 この傍注の文章は中央揃えになっています。
29837 \begin_layout Standard
29844 raggedleftmarginnote}{
29847 \begin_inset Newline newline
29854 raggedrightmarginnote}{
29862 \begin_layout Plain Layout
29868 raggedleftmarginnote}{
29873 \begin_layout Plain Layout
29879 raggedrightmarginnote}{
29889 \begin_layout Standard
29893 \begin_layout Standard
29894 \begin_inset VSpace medskip
29902 \begin_inset CommandInset citation
29911 \begin_layout Standard
29912 \begin_inset VSpace bigskip
29915 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
29923 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
29926 \begin_layout Standard
29936 \begin_inset Newline newline
29946 \begin_inset Newline newline
29950 \begin_inset Phantom HPhantom
29953 \begin_layout Plain Layout
29956 \begin_inset space ~
29973 \begin_inset Newline newline
29977 \begin_inset Phantom HPhantom
29980 \begin_layout Plain Layout
29983 \begin_inset space ~
30000 \begin_layout Standard
30004 \begin_layout Plain Layout
30015 \begin_layout Plain Layout
30026 \begin_layout Plain Layout
30037 \begin_layout Plain Layout
30051 \begin_inset Marginal
30054 \begin_layout Plain Layout
30055 これは、定義したヘッダをつけた傍注です。
30064 \begin_layout Plain Layout
30075 \begin_layout Plain Layout
30089 \begin_inset Note Note
30092 \begin_layout Plain Layout
30093 傍注書式は、この例の分だけ変更してあります。
30101 \begin_layout Standard
30105 \begin_layout Plain Layout
30115 \begin_inset Note Note
30118 \begin_layout Plain Layout
30123 が導入されていないときのみ表示されます。
30131 \begin_layout Standard
30132 本節の以下の部分を出力に表示するには、LaTeXパッケージ
30139 \begin_layout Standard
30143 \begin_layout Plain Layout
30155 \begin_layout Chapter
30159 \begin_layout Section
30161 \begin_inset Index idx
30164 \begin_layout Plain Layout
30173 \begin_layout Standard
30174 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
30175 \begin_inset CommandInset ref
30177 reference "sec:ミニページ"
30182 \begin_inset CommandInset ref
30188 節参照)、単語がハイフネートされるのを予防したり(第
30189 \begin_inset CommandInset ref
30191 reference "sec:ハイフネーションの回避"
30196 \begin_inset CommandInset ref
30198 reference "sub:垂直揃え"
30202 節参照)、あるいは文章の背景色を設定したり(第
30203 \begin_inset CommandInset ref
30205 reference "sec:色付きボックス"
30212 \begin_layout Standard
30215 挿入\SpecialChar \menuseparator
30223 arg "box-insert Frameless"
30228 を使って挿入することができます。すると、
30229 \begin_inset Graphics
30230 filename clipart/BoxInsetDefaultQt4.png
30232 scaleBeforeRotation
30240 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
30244 メニューを選択すると現れるボックスダイアログでは、
30260 型は、新規ボックスの既定値となっており、第
30261 \begin_inset CommandInset ref
30263 reference "sec:ミニページ"
30272 \begin_inset CommandInset ref
30274 reference "sec:Parboxes"
30283 \begin_inset CommandInset ref
30285 reference "sec:ハイフネーションの回避"
30292 \begin_layout Standard
30293 ボックスは付番されないので、フロートや脚注のように参照することはできません。
30296 \begin_layout Standard
30297 \begin_inset Note Greyedout
30300 \begin_layout Plain Layout
30313 環境の単独要素とすべきではありません。
30321 \begin_layout Standard
30322 \begin_inset Note Greyedout
30325 \begin_layout Plain Layout
30330 理由は不明ですが、枠付きボックスを使用している場合には、
30343 \begin_inset CommandInset ref
30345 reference "sec:ハイフネーションの回避"
30357 \begin_layout Section
30359 \begin_inset CommandInset label
30361 name "sec:ボックスダイアログ"
30366 \begin_inset Index idx
30369 \begin_layout Plain Layout
30370 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
30378 \begin_layout Subsection
30380 \begin_inset Index idx
30383 \begin_layout Plain Layout
30384 ぼっくす@ボックス ! すんぽう@寸法
30392 \begin_layout Standard
30401 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
30402 \begin_inset CommandInset ref
30412 フィールドには、加えて以下の寸法を使用することができます。
30415 \begin_layout Description
30416 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
30417 \begin_inset Newline newline
30421 \begin_inset Newline newline
30425 \begin_inset Newline newline
30429 \begin_inset Box Boxed
30439 height_special "depth"
30442 \begin_layout Plain Layout
30450 \begin_inset Newline newline
30454 \begin_inset Newline newline
30460 \begin_layout Description
30461 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
30462 \begin_inset Box Boxed
30472 height_special "height"
30475 \begin_layout Plain Layout
30485 \begin_layout Description
30487 \begin_inset Box Boxed
30497 height_special "totalheight"
30500 \begin_layout Plain Layout
30510 \begin_layout Description
30511 幅 これはボックスの幅を高さに設定します。
30512 \begin_inset Box Boxed
30522 height_special "width"
30525 \begin_layout Plain Layout
30535 \begin_layout Subsection
30537 \begin_inset Index idx
30540 \begin_layout Plain Layout
30541 ぼっくす@ボックス ! もじそろえ@文字揃え
30549 \begin_layout Standard
30554 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
30557 \begin_layout Description
30559 \begin_inset Box Boxed
30569 height_special "totalheight"
30572 \begin_layout Plain Layout
30582 \begin_layout Description
30584 \begin_inset Box Boxed
30594 height_special "totalheight"
30597 \begin_layout Plain Layout
30607 \begin_layout Description
30609 \begin_inset Box Boxed
30619 height_special "totalheight"
30622 \begin_layout Plain Layout
30632 \begin_layout Standard
30633 \begin_inset Note Greyedout
30636 \begin_layout Plain Layout
30641 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
30649 \begin_layout Standard
30650 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
30653 \begin_layout Standard
30654 \begin_inset VSpace bigskip
30661 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
30664 \begin_layout Description
30666 \begin_inset Box Boxed
30676 height_special "totalheight"
30679 \begin_layout Plain Layout
30689 \begin_layout Description
30691 \begin_inset Box Boxed
30701 height_special "totalheight"
30704 \begin_layout Plain Layout
30714 \begin_layout Description
30716 \begin_inset Box Boxed
30726 height_special "totalheight"
30729 \begin_layout Plain Layout
30739 \begin_layout Description
30740 広げる これは例示のための本文行です。
30741 \begin_inset Box Boxed
30751 height_special "totalheight"
30754 \begin_layout Plain Layout
30759 \begin_layout Plain Layout
30764 \begin_layout Plain Layout
30774 \begin_layout Standard
30775 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
30778 \begin_layout Standard
30779 \begin_inset VSpace bigskip
30786 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
30789 \begin_layout Standard
30791 \begin_inset Box Boxed
30801 height_special "totalheight"
30804 \begin_layout Plain Layout
30809 \begin_layout Plain Layout
30814 \begin_layout Plain Layout
30824 \begin_layout Standard
30829 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
30832 \begin_layout Standard
30834 \begin_inset Box Boxed
30844 height_special "totalheight"
30847 \begin_layout Plain Layout
30848 このボックスの文章は水平方向に広げてあります。
30856 \begin_layout Subsection
30858 \begin_inset CommandInset label
30865 \begin_inset Index idx
30868 \begin_layout Plain Layout
30869 ぼっくす@ボックス ! そうしょく@装飾
30877 \begin_layout Standard
30882 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
30885 \begin_layout Description
30889 \begin_layout Description
30890 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
30897 \begin_inset Box Boxed
30907 height_special "totalheight"
30910 \begin_layout Plain Layout
30920 \begin_layout Description
30921 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
30922 \begin_inset space \thinspace{}
30926 \begin_inset Box ovalbox
30936 height_special "totalheight"
30939 \begin_layout Plain Layout
30949 \begin_layout Description
30950 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
30951 \begin_inset space \thinspace{}
30955 \begin_inset Box Ovalbox
30965 height_special "totalheight"
30968 \begin_layout Plain Layout
30978 \begin_layout Description
30979 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
30986 \begin_inset space \thinspace{}
30990 \begin_inset Box Shadowbox
31000 height_special "totalheight"
31003 \begin_layout Plain Layout
31013 \begin_layout Description
31014 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
31018 \begin_layout Plain Layout
31020 \begin_inset CommandInset ref
31022 reference "sec:色付きボックス"
31031 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
31032 \begin_inset Box Shaded
31042 height_special "totalheight"
31045 \begin_layout Plain Layout
31054 \begin_layout Description
31055 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
31056 \begin_inset space \thinspace{}
31066 \begin_inset space \thinspace{}
31076 \begin_inset space \thinspace{}
31086 \begin_inset space \thinspace{}
31090 \begin_inset space \thinspace{}
31094 \begin_inset space \thinspace{}
31098 \begin_inset Box Doublebox
31108 height_special "totalheight"
31111 \begin_layout Plain Layout
31121 \begin_layout Standard
31122 \begin_inset VSpace bigskip
31125 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
31130 \begin_inset Index idx
31133 \begin_layout Plain Layout
31134 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
31142 \begin_layout Standard
31143 \begin_inset VSpace bigskip
31150 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
31170 \begin_inset Box Framed
31180 height_special "totalheight"
31183 \begin_layout Plain Layout
31192 \begin_layout Section
31194 \begin_inset Index idx
31197 \begin_layout Plain Layout
31198 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
31206 \begin_layout Standard
31214 \begin_inset space \thinspace{}
31217 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
31218 \begin_inset space \thinspace{}
31224 \begin_layout Standard
31234 \begin_layout Standard
31238 \begin_layout Plain Layout
31250 \begin_inset Box Boxed
31260 height_special "totalheight"
31263 \begin_layout Plain Layout
31272 \begin_inset space \thinspace{}
31276 \begin_inset space \thinspace{}
31280 \begin_inset space \thinspace{}
31292 \begin_layout Plain Layout
31306 \begin_layout Standard
31307 \begin_inset VSpace bigskip
31310 枠とボックスの内容との空白は、すべての枠様式について3
31311 \begin_inset space \thinspace{}
31314 ptが既定値になっています。これは、長さ
31320 を別の値に設定することによって変更することができます。たとえば
31323 \begin_layout Standard
31333 \begin_layout Standard
31335 \begin_inset space \thinspace{}
31338 ptにし、以下のボックスのようになります。
31341 \begin_layout Standard
31345 \begin_layout Plain Layout
31357 \begin_inset Box Boxed
31367 height_special "totalheight"
31370 \begin_layout Plain Layout
31379 \begin_inset space \thinspace{}
31383 \begin_inset space \thinspace{}
31387 \begin_inset space \thinspace{}
31399 \begin_layout Plain Layout
31413 \begin_layout Standard
31414 \begin_inset VSpace bigskip
31417 楕円形ボックスの丸い角の直径は、コマンド
31426 \begin_layout Standard
31434 \begin_layout Standard
31436 \begin_inset space \thinspace{}
31442 \begin_layout Standard
31450 \begin_layout Standard
31454 \begin_inset space \thinspace{}
31460 \begin_inset Formula $\times$
31466 \begin_inset space \thinspace{}
31480 \begin_layout Standard
31484 \begin_layout Plain Layout
31494 \begin_inset Box Ovalbox
31504 height_special "totalheight"
31507 \begin_layout Plain Layout
31516 \begin_inset space \thinspace{}
31520 \begin_inset space \thinspace{}
31524 \begin_inset space \thinspace{}
31536 \begin_layout Plain Layout
31548 \begin_layout Standard
31549 \begin_inset VSpace bigskip
31558 を変更することで調整できます。以下のボックスでは
31561 \begin_layout Standard
31571 \begin_layout Standard
31573 \begin_inset space \thinspace{}
31579 \begin_layout Standard
31583 \begin_layout Plain Layout
31595 \begin_inset Box Shadowbox
31605 height_special "totalheight"
31608 \begin_layout Plain Layout
31617 \begin_inset space \thinspace{}
31621 \begin_inset space \thinspace{}
31625 \begin_inset space \thinspace{}
31637 \begin_layout Plain Layout
31651 \begin_layout Standard
31652 \begin_inset VSpace bigskip
31658 \begin_layout Standard
31666 \begin_inset space \thinspace{}
31669 ptです。ボックスの中身と枠の間の空白の既定値は9
31670 \begin_inset space \thinspace{}
31679 の値を変えることで変更することができます。たとえば、下記の
31686 \begin_layout Standard
31694 \begin_inset Newline newline
31704 \begin_layout Standard
31705 というTeXコードコマンドで設定してあります。
31709 \begin_layout Plain Layout
31718 \begin_layout Plain Layout
31730 \begin_inset Box Framed
31740 height_special "totalheight"
31743 \begin_layout Plain Layout
31757 \begin_layout Plain Layout
31766 \begin_layout Plain Layout
31780 \begin_layout Standard
31781 \begin_inset VSpace bigskip
31787 \begin_layout Standard
31792 ボックスでは、ボックスの内容と枠の余白の既定値は3
31793 \begin_inset space \thinspace{}
31802 の値を変更することで変えられます。既定の背景色である赤色は、
31806 definecolor{shadebox}
31808 コマンドで局所的に変更することもできますし、
31810 ツール\SpecialChar \menuseparator
31811 設定\SpecialChar \menuseparator
31812 色\SpecialChar \menuseparator
31815 メニューからグローバルに変更することもできます。
31822 \begin_inset CommandInset ref
31824 reference "sec:色付きの表"
31832 \begin_layout Plain Layout
31843 をプリアンブルに読み込む必要があります。第
31844 \begin_inset CommandInset ref
31846 reference "sec:色付きボックス"
31858 \begin_layout Standard
31859 たとえば、下記の影付き背景ボックスの外見は
31862 \begin_layout Standard
31872 \begin_inset Newline newline
31879 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31882 \begin_layout Standard
31883 というTeXコードコマンドを使って設定してあります。
31886 \begin_layout Standard
31890 \begin_layout Plain Layout
31899 \begin_layout Plain Layout
31903 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31909 \begin_inset Box Shaded
31919 height_special "totalheight"
31922 \begin_layout Plain Layout
31938 \begin_layout Plain Layout
31947 \begin_layout Plain Layout
31951 definecolor{shadecolor}{rgb}{1,0,0}
31959 \begin_layout Standard
31960 \begin_inset VSpace bigskip
31963 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
31966 \begin_layout Section
31968 \begin_inset CommandInset label
31975 \begin_inset Index idx
31978 \begin_layout Plain Layout
31979 ぼっくす@ボックス ! みにぺーじ@ミニページ
31987 \begin_layout Standard
31988 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
31991 \begin_layout Standard
31992 ミニページは、複数の言語を含む文書を執筆する際に便利です。
31995 \begin_layout Standard
31996 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
32000 \SpecialChar \menuseparator
32005 \SpecialChar \menuseparator
32010 メニューで挿入した水平フィルで隔てられています。
32011 \begin_inset Newpage newpage
32017 \begin_layout Standard
32018 \begin_inset Box Frameless
32028 height_special "totalheight"
32031 \begin_layout Plain Layout
32032 Dies ist ein deutscher Text.
32033 Dies ist ein deutscher Text.
32034 Dies ist ein deutscher Text.
32035 Dies ist ein deutscher Text.
32036 Dies ist ein deutscher Text.
32037 Dies ist ein deutscher Text.
32038 Dies ist ein deutscher Text.
32039 Dies ist ein deutscher Text.
32040 Dies ist ein deutscher Text.
32041 Dies ist ein deutscher Text.
32042 Dies ist ein deutscher Text.
32043 Dies ist ein deutscher Text.
32044 Dies ist ein deutscher Text
32048 \begin_layout Plain Layout
32049 Dies ist eine deutsche Fußnote.
32055 Dies ist ein deutscher Text.
32056 Dies ist ein deutscher Text.
32062 \begin_inset space \hfill{}
32066 \begin_inset Box Frameless
32076 height_special "totalheight"
32079 \begin_layout Plain Layout
32080 This is an English Text.
32081 This is an English Text.
32082 This is an English Text.
32083 This is an English Text.
32084 This is an English Text.
32085 This is an English Text.
32086 This is an English Text.
32087 This is an English Text.
32088 This is an English Text.
32089 This is an English Text.
32090 This is an English Text.
32091 This is an English Text.
32092 This is an English Text.
32093 This is an English Text.
32094 This is an English Text.
32095 This is an English Text.
32099 \begin_layout Plain Layout
32100 This is an English footnote.
32105 This is an English Text.
32113 \begin_layout Standard
32114 \begin_inset VSpace bigskip
32117 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
32121 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
32124 \begin_layout Standard
32125 ミニページは、文章部に背景色を与えるのに使用することもできます。第
32126 \begin_inset CommandInset ref
32128 reference "sub:段落の着色"
32135 \begin_layout Standard
32136 \begin_inset Note Greyedout
32139 \begin_layout Plain Layout
32144 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
32152 \begin_layout Section
32154 \begin_inset CommandInset label
32156 name "sec:Parboxes"
32161 \begin_inset Index idx
32164 \begin_layout Plain Layout
32165 ぼっくす@ボックス ! Parboxes
32173 \begin_layout Standard
32174 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
32177 \begin_layout Standard
32179 \begin_inset Box Frameless
32189 height_special "totalheight"
32192 \begin_layout Plain Layout
32193 これはparbox内の文章です。これはparbox内の文章です。
32196 \begin_layout Plain Layout
32201 \begin_layout Plain Layout
32202 これはparbox内の脚注であり、したがって表示はされません。
32215 \begin_layout Section
32217 \begin_inset Index idx
32220 \begin_layout Plain Layout
32221 ぼっくす@ボックス ! もじよう@文字用
32229 \begin_layout Subsection
32231 \begin_inset CommandInset label
32233 name "sec:ハイフネーションの回避"
32238 \begin_inset Index idx
32241 \begin_layout Plain Layout
32242 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
32250 \begin_layout Standard
32251 単語や文章がハイフネートされるのを防ぐには、
32256 \begin_inset Newline newline
32262 \begin_layout Standard
32263 This line is an example to show how you can prevent the hyphenation of
32264 \begin_inset Quotes eld
32268 \begin_inset Quotes erd
32274 \begin_layout Standard
32275 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
32286 \begin_layout Standard
32290 \begin_layout Standard
32291 This line is an example to show how you can prevent the hyphenation of
32292 \begin_inset Box Frameless
32302 height_special "totalheight"
32305 \begin_layout Plain Layout
32306 \begin_inset Quotes eld
32310 \begin_inset Quotes erd
32321 \begin_layout Standard
32322 別の方法としては、以下のように、単語の前に直接TeXコードで「
32331 \begin_layout Standard
32332 This line is an example to show how you can prevent the hyphenation of
32333 \begin_inset Quotes eld
32340 \begin_layout Plain Layout
32350 \begin_inset Quotes erd
32356 \begin_layout Standard
32357 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
32361 \SpecialChar \menuseparator
32366 \SpecialChar \menuseparator
32372 \begin_inset Flex Ruby
32375 \begin_layout Plain Layout
32377 \begin_inset Argument post:1
32380 \begin_layout Plain Layout
32394 arg "newline-insert newline"
32397 )から改行を単語の前に入れてください。
32400 \begin_layout Standard
32401 This line is an example to show how you can prevent the hyphenation of
32402 \begin_inset Newline newline
32406 \begin_inset Box Frameless
32416 height_special "totalheight"
32419 \begin_layout Plain Layout
32420 \begin_inset Quotes eld
32424 \begin_inset Quotes erd
32435 \begin_layout Subsection
32437 \begin_inset CommandInset label
32444 \begin_inset Index idx
32447 \begin_layout Plain Layout
32448 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
32454 \begin_inset Index idx
32457 \begin_layout Plain Layout
32458 ぼっくす@ボックス ! Raiseboxes
32466 \begin_layout Standard
32473 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
32482 \begin_layout Standard
32487 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
32490 \begin_layout Standard
32491 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
32494 \begin_layout Standard
32495 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
32498 \begin_layout Standard
32508 \begin_layout Standard
32509 というコマンドを挿入してください。単語の後には、閉じ括弧「
32514 \begin_inset Newline newline
32520 \begin_layout Standard
32521 This is a text line with the word
32525 \begin_layout Plain Layout
32537 \begin_inset Quotes eld
32541 \begin_inset Quotes erd
32548 \begin_layout Plain Layout
32558 \begin_layout Standard
32559 \begin_inset VSpace bigskip
32562 行中の文字を上げ下げすると、以下のように行間が広がります。
32565 \begin_layout Standard
32566 This is a text line with the word
32570 \begin_layout Plain Layout
32582 \begin_inset Quotes eld
32586 \begin_inset Quotes erd
32593 \begin_layout Plain Layout
32601 \begin_inset Newline newline
32604 This is a text line with the word
32608 \begin_layout Plain Layout
32618 \begin_inset Quotes eld
32622 \begin_inset Quotes erd
32629 \begin_layout Plain Layout
32639 \begin_layout Standard
32640 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
32643 \begin_layout Standard
32653 \begin_layout Standard
32657 \begin_layout Standard
32658 This is a text line with the word
32662 \begin_layout Plain Layout
32674 \begin_inset Quotes eld
32678 \begin_inset Quotes erd
32685 \begin_layout Plain Layout
32693 \begin_inset Newline newline
32696 This is a text line with the word
32700 \begin_layout Plain Layout
32704 raisebox{0.5cm}[0pt]{
32710 \begin_inset Quotes eld
32714 \begin_inset Quotes erd
32721 \begin_layout Plain Layout
32731 \begin_layout Section
32733 \begin_inset CommandInset label
32740 \begin_inset Index idx
32743 \begin_layout Plain Layout
32744 ぼっくす@ボックス ! いろつき@色付き
32752 \begin_layout Subsection
32754 \begin_inset Index idx
32757 \begin_layout Plain Layout
32766 \begin_layout Standard
32767 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
32772 \begin_inset Index idx
32775 \begin_layout Plain Layout
32776 LaTeXぱっけーじ@LaTeXパッケージ ! color
32781 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
32784 \begin_layout Standard
32789 @ifundefined{textcolor}
32790 \begin_inset Newline newline
32794 \begin_inset Phantom HPhantom
32797 \begin_layout Plain Layout
32800 \begin_inset space ~
32810 usepackage{color}}{}
32813 \begin_layout Standard
32818 パッケージは、文章を着色するとLyXが自動的に読み込みます
32822 \begin_layout Plain Layout
32823 これが二度読み込まれることを回避するには、
32837 \begin_layout Standard
32838 \begin_inset VSpace medskip
32847 コマンドを使って作ります。これは、以下のような書式で使われます。
32850 \begin_layout Standard
32855 colorbox{color}{ボックスの内容}
32858 \begin_layout Standard
32859 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
32862 \begin_layout Standard
32864 \begin_inset Newline newline
32900 \begin_inset Newline newline
32904 \begin_inset CommandInset ref
32906 reference "sec:色付きの表"
32910 節に述べられているようにすれば、自前の色を定義することもできます。
32913 \begin_layout Standard
32914 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
32917 \begin_layout Standard
32925 \begin_layout Standard
32926 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
32931 \begin_inset Newline newline
32937 \begin_layout Standard
32942 \begin_layout Plain Layout
32955 \begin_layout Plain Layout
32965 \begin_layout Standard
32966 \begin_inset VSpace bigskip
32969 ボックスの枠を別の色にしたい場合には、以下の書式で
32978 \begin_layout Standard
32983 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
32986 \begin_layout Standard
32999 の拡張です。枠の太さと枠とボックスの中身との余白は、第
33000 \begin_inset CommandInset ref
33021 \begin_layout Standard
33025 \begin_layout Standard
33030 fcolorbox{cyan}{magenta}{
33033 \begin_layout Standard
33037 \begin_layout Standard
33039 \begin_inset space \thinspace{}
33043 \begin_inset Newline newline
33050 \begin_layout Plain Layout
33065 \begin_layout Plain Layout
33069 fcolorbox{cyan}{magenta}{
33074 これは着色した色付きボックス中の文章です。
33078 \begin_layout Plain Layout
33088 \begin_layout Standard
33089 \begin_inset VSpace bigskip
33092 もちろん、色付きボックスの中に色付き文字を入れることもできます
33093 \begin_inset Newline newline
33100 \begin_layout Plain Layout
33104 fcolorbox{cyan}{magenta}{
33111 これは着色した色付きボックス中の色付き文章です。
33117 \begin_layout Plain Layout
33128 \begin_layout Plain Layout
33142 \begin_layout Standard
33145 \begin_inset VSpace medskip
33151 \begin_layout Standard
33152 \begin_inset Note Greyedout
33155 \begin_layout Plain Layout
33160 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
33168 \begin_layout Subsection
33170 \begin_inset CommandInset label
33177 \begin_inset Index idx
33180 \begin_layout Plain Layout
33189 \begin_layout Standard
33190 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
33199 \begin_layout Standard
33207 \begin_layout Standard
33208 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
33215 \begin_layout Standard
33219 \begin_layout Plain Layout
33223 colorbox{lightgrey}{
33229 \begin_inset Box Frameless
33239 height_special "totalheight"
33242 \begin_layout Plain Layout
33243 これは背景色を付けた文章です。これは背景色を付けた文章です。
33246 \begin_layout Plain Layout
33247 \begin_inset VSpace defskip
33254 \begin_layout Plain Layout
33260 を付けることもできますし、図表を挿入することもできます。
33263 \begin_layout Plain Layout
33265 \begin_inset Tabular
33266 <lyxtabular version="3" rows="3" columns="3">
33267 <features rotate="0" tabularvalignment="middle">
33268 <column alignment="center" valignment="top">
33269 <column alignment="center" valignment="top">
33270 <column alignment="center" valignment="top">
33272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33275 \begin_layout Plain Layout
33281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33284 \begin_layout Plain Layout
33290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33293 \begin_layout Plain Layout
33301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33304 \begin_layout Plain Layout
33310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33313 \begin_layout Plain Layout
33315 \begin_inset Quotes erd
33323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33326 \begin_layout Plain Layout
33334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33337 \begin_layout Plain Layout
33343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33346 \begin_layout Plain Layout
33352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33355 \begin_layout Plain Layout
33375 \begin_layout Plain Layout
33385 \begin_layout Section
33389 \begin_layout Standard
33390 本節で述べられているコマンドを使用するには、文書プリアンブルで
33393 \begin_layout Standard
33398 @ifundefined{rotatebox}
33399 \begin_inset Newline newline
33403 \begin_inset Phantom HPhantom
33406 \begin_layout Plain Layout
33409 \begin_inset space ~
33419 usepackage{graphicx}}{}
33422 \begin_layout Standard
33428 \begin_inset Index idx
33431 \begin_layout Plain Layout
33432 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
33437 LaTeXパッケージを読み込む必要があります。
33440 \begin_layout Standard
33441 \begin_inset Note Greyedout
33444 \begin_layout Plain Layout
33449 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
33457 \begin_layout Standard
33458 \begin_inset Note Greyedout
33461 \begin_layout Plain Layout
33466 フロートは回転伸縮したボックスの中に入れることはできません。
33474 \begin_layout Subsection
33476 \begin_inset Index idx
33479 \begin_layout Plain Layout
33480 ぼっくす@ボックス ! かいてんした@回転した
33486 \begin_inset Index idx
33489 \begin_layout Plain Layout
33490 かいてん@回転 ! そざいの@素材の---
33496 \begin_inset Index idx
33499 \begin_layout Plain Layout
33506 \begin_inset Index idx
33509 \begin_layout Plain Layout
33510 ひょうのちょうせい@表の調整 ! かいてん@回転
33518 \begin_layout Standard
33519 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
33525 コマンドを使用すれば作成することができます。
33528 \begin_layout Standard
33533 rotatebox[回転の原点]{回転角}{ボックスの内容}
33536 \begin_layout Standard
33541 の形で指定します。位置として指定可能なのは、
33561 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
33565 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
33569 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
33572 \begin_layout Standard
33573 以下の例では、「回転した」文章の前にTeXコードで
33577 rotatebox[origin=c]{60}{
33579 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
33586 \begin_layout Standard
33591 \begin_layout Plain Layout
33595 rotatebox[origin=c]{60}{
33604 \begin_layout Plain Layout
33614 \begin_layout Standard
33615 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
33618 \begin_layout Standard
33623 \begin_layout Plain Layout
33627 rotatebox[origin=r]{-60}{
33633 \begin_inset Box Doublebox
33643 height_special "totalheight"
33646 \begin_layout Plain Layout
33656 \begin_layout Plain Layout
33667 \begin_layout Plain Layout
33671 rotatebox[origin=lb]{60}{
33677 \begin_inset Formula $\int A\,\mathrm{d}x=B$
33684 \begin_layout Plain Layout
33694 \begin_layout Standard
33695 あるいは、以下のように図や表を入れることもできます。
33698 \begin_layout Standard
33703 \begin_layout Plain Layout
33707 rotatebox[origin=lb]{90}{
33713 \begin_inset Graphics
33714 filename ../clipart/platypus.eps
33724 \begin_layout Plain Layout
33735 \begin_layout Plain Layout
33739 rotatebox[origin=l]{-90}{
33745 \begin_inset Tabular
33746 <lyxtabular version="3" rows="2" columns="2">
33747 <features rotate="0" tabularvalignment="middle">
33748 <column alignment="center" valignment="top">
33749 <column alignment="center" valignment="top">
33751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33754 \begin_layout Plain Layout
33760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33763 \begin_layout Plain Layout
33771 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33774 \begin_layout Plain Layout
33780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33783 \begin_layout Plain Layout
33798 \begin_layout Plain Layout
33808 \begin_layout Subsection
33810 \begin_inset Index idx
33813 \begin_layout Plain Layout
33814 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
33820 \begin_inset Index idx
33823 \begin_layout Plain Layout
33824 しんしゅく@伸縮 ! そざいの@素材の---
33830 \begin_inset Index idx
33833 \begin_layout Plain Layout
33834 ず@図 ! のしんしゅく@---の伸縮
33840 \begin_inset Index idx
33843 \begin_layout Plain Layout
33844 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
33852 \begin_layout Standard
33868 \begin_layout Standard
33878 \begin_layout Standard
33883 scalebox{水平方向}[垂直方向]{ボックスの内容}
33886 \begin_layout Standard
33887 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
33890 \begin_layout Standard
33897 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
33901 \begin_layout Plain Layout
33914 \begin_layout Plain Layout
33924 \begin_layout Standard
33929 scalebox{2}[1]{こんにちは}
33935 \begin_layout Plain Layout
33948 \begin_layout Plain Layout
33958 \begin_layout Standard
33959 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
33963 scalebox{-1}[1]{こんにちは}
33965 というコマンドは、右のように反転文字を生成するのに使用できます:
33969 \begin_layout Plain Layout
33982 \begin_layout Plain Layout
33992 \begin_layout Standard
33997 scalebox{1}[-1]{こんにちは}
34003 \begin_layout Plain Layout
34016 \begin_layout Plain Layout
34026 \begin_layout Standard
34031 scalebox{-1}[1]{ボックスの内容}
34034 \begin_inset Newline newline
34041 reflectbox{ボックスの内容}
34044 \begin_inset Newline newline
34050 \begin_layout Standard
34051 \begin_inset VSpace bigskip
34054 指定した幅や丈にボックスを伸縮させるには、
34063 \begin_layout Standard
34068 resizebox{幅}{丈}{ボックスの内容}
34071 \begin_layout Standard
34072 です。上記二つのコマンド引数のうち一つが感嘆符「
34076 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
34079 \begin_layout Standard
34084 resizebox{2cm}{1cm}{こんにちは}
34090 \begin_layout Plain Layout
34094 resizebox{2cm}{1cm}{
34103 \begin_layout Plain Layout
34111 \begin_inset Newline newline
34118 resizebox{2cm}{!}{こんにちは}
34124 \begin_layout Plain Layout
34137 \begin_layout Plain Layout
34147 \begin_layout Standard
34148 \begin_inset VSpace bigskip
34152 \begin_inset Note Greyedout
34155 \begin_layout Plain Layout
34168 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
34176 \begin_layout Standard
34177 \begin_inset VSpace bigskip
34183 \begin_layout Standard
34184 ボックスは好きな順序で組み合わせることができます。たとえば、
34185 \begin_inset Newline newline
34192 rotatebox[origin=c]{-45}{
34196 reflectbox{こんにちは}}}
34197 \begin_inset Newline newline
34205 \begin_layout Standard
34210 \begin_layout Plain Layout
34214 rotatebox[origin=c]{-45}{
34227 \begin_layout Plain Layout
34237 \begin_layout Standard
34239 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
34242 \begin_layout Standard
34247 \begin_layout Plain Layout
34251 rotatebox[origin=c]{-30}{
34261 \begin_inset Graphics
34262 filename ../clipart/platypus.eps
34272 \begin_layout Plain Layout
34283 \begin_layout Plain Layout
34287 rotatebox[origin=c]{-45}{
34297 \begin_inset Tabular
34298 <lyxtabular version="3" rows="2" columns="2">
34299 <features rotate="0" tabularvalignment="middle">
34300 <column alignment="center" valignment="top">
34301 <column alignment="center" valignment="top">
34303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34306 \begin_layout Plain Layout
34312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34315 \begin_layout Plain Layout
34323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34326 \begin_layout Plain Layout
34332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34335 \begin_layout Plain Layout
34350 \begin_layout Plain Layout
34361 \begin_layout Plain Layout
34365 rotatebox[origin=c]{-45}{
34375 \begin_inset Formula $\int A\,\mathrm{d}x=B$
34382 \begin_layout Plain Layout
34392 \begin_layout Standard
34401 \begin_layout Plain Layout
34402 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
34407 には、別行建て数式も伸縮させることができます。
34410 \begin_layout Chapter
34412 \begin_inset Index idx
34415 \begin_layout Plain Layout
34424 \begin_layout Section
34426 \begin_inset CommandInset label
34433 \begin_inset Index idx
34436 \begin_layout Plain Layout
34437 ふろーと@フロート ! おりかえしふろーと@折返しフロート
34443 \begin_inset Index idx
34446 \begin_layout Plain Layout
34447 ほんぶんまわりこみ@本文回り込み ! おりかえしふろーと@折返しフロート
34455 \begin_layout Standard
34456 \begin_inset Wrap figure
34463 \begin_layout Plain Layout
34464 \begin_inset Graphics
34465 filename ../clipart/mobius.eps
34467 scaleBeforeRotation
34468 rotateOrigin center
34475 \begin_layout Plain Layout
34476 \begin_inset Caption Standard
34478 \begin_layout Plain Layout
34479 \begin_inset CommandInset label
34481 name "fig:折返し図フロート"
34495 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
34500 \begin_inset Index idx
34503 \begin_layout Plain Layout
34504 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
34511 挿入\SpecialChar \menuseparator
34512 フロート\SpecialChar \menuseparator
34523 \begin_layout Plain Layout
34524 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
34529 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
34545 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
34546 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
34547 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
34548 \begin_inset CommandInset ref
34550 reference "fig:折返し図フロート"
34555 \begin_inset space \thinspace{}
34559 \begin_inset space \thinspace{}
34562 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります。
34565 \begin_layout Standard
34566 \begin_inset Note Greyedout
34569 \begin_layout Plain Layout
34574 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
34583 \begin_layout Standard
34587 \begin_layout Itemize
34588 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
34589 うになってから、正確な位置に挿入しなくてはなりません。
34592 \begin_layout Itemize
34593 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
34596 \begin_layout Itemize
34597 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
34600 \begin_layout Itemize
34601 折返しフロートは、節見出しや表中に入れることは認められていません。
34604 \begin_layout Itemize
34606 \begin_inset CommandInset ref
34608 reference "chap:フロート"
34615 \begin_layout Section
34617 \begin_inset Index idx
34620 \begin_layout Plain Layout
34621 ほんぶんまわりこみ@本文回り込み ! こていおぶじぇくと@固定オブジェクト
34629 \begin_layout Standard
34631 \begin_inset CommandInset ref
34633 reference "sec:折返しフロート"
34637 節の折返しフロートは、段落中で、以下のような配置がされます。
34640 \begin_layout Standard
34643 \begin_inset Tabular
34644 <lyxtabular version="3" rows="2" columns="2">
34645 <features rotate="0" tabularvalignment="middle">
34646 <column alignment="center" valignment="top">
34647 <column alignment="center" valignment="top">
34649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34652 \begin_layout Plain Layout
34653 \begin_inset Graphics
34654 filename ../../images/dialog-show-new-inset_graphics.png
34656 scaleBeforeRotation
34665 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34668 \begin_layout Plain Layout
34676 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34679 \begin_layout Plain Layout
34685 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34688 \begin_layout Plain Layout
34700 \begin_inset Tabular
34701 <lyxtabular version="3" rows="2" columns="2">
34702 <features rotate="0" tabularvalignment="middle">
34703 <column alignment="center" valignment="top">
34704 <column alignment="center" valignment="top">
34706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34709 \begin_layout Plain Layout
34715 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34718 \begin_layout Plain Layout
34719 \begin_inset Graphics
34720 filename ../../images/dialog-show-new-inset_graphics.png
34722 scaleBeforeRotation
34733 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34736 \begin_layout Plain Layout
34742 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34745 \begin_layout Plain Layout
34759 \begin_layout Standard
34761 \begin_inset VSpace defskip
34767 \begin_layout Standard
34770 \begin_inset Tabular
34771 <lyxtabular version="3" rows="2" columns="2">
34772 <features rotate="0" tabularvalignment="middle">
34773 <column alignment="center" valignment="top">
34774 <column alignment="center" valignment="top">
34776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34779 \begin_layout Plain Layout
34785 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34788 \begin_layout Plain Layout
34796 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34799 \begin_layout Plain Layout
34800 \begin_inset Graphics
34801 filename ../../images/dialog-show-new-inset_graphics.png
34803 scaleBeforeRotation
34812 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34815 \begin_layout Plain Layout
34827 \begin_inset Tabular
34828 <lyxtabular version="3" rows="2" columns="2">
34829 <features rotate="0" tabularvalignment="middle">
34830 <column alignment="center" valignment="top">
34831 <column alignment="center" valignment="top">
34833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34836 \begin_layout Plain Layout
34842 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34845 \begin_layout Plain Layout
34853 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34856 \begin_layout Plain Layout
34862 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34865 \begin_layout Plain Layout
34866 \begin_inset Graphics
34867 filename ../../images/dialog-show-new-inset_graphics.png
34869 scaleBeforeRotation
34884 \begin_inset Tabular
34885 <lyxtabular version="3" rows="2" columns="3">
34886 <features rotate="0" tabularvalignment="middle">
34887 <column alignment="center" valignment="top">
34888 <column alignment="center" valignment="top">
34889 <column alignment="center" valignment="top">
34891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34894 \begin_layout Plain Layout
34900 <cell alignment="center" valignment="top" topline="true" usebox="none">
34903 \begin_layout Plain Layout
34904 \begin_inset Graphics
34905 filename ../../images/dialog-show-new-inset_graphics.png
34907 scaleBeforeRotation
34916 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34919 \begin_layout Plain Layout
34927 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34930 \begin_layout Plain Layout
34936 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
34939 \begin_layout Plain Layout
34945 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34948 \begin_layout Plain Layout
34960 \begin_inset Tabular
34961 <lyxtabular version="3" rows="2" columns="3">
34962 <features rotate="0" tabularvalignment="middle">
34963 <column alignment="center" valignment="top">
34964 <column alignment="center" valignment="top">
34965 <column alignment="center" valignment="top">
34967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34970 \begin_layout Plain Layout
34976 <cell alignment="center" valignment="top" topline="true" usebox="none">
34979 \begin_layout Plain Layout
34985 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34988 \begin_layout Plain Layout
34996 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34999 \begin_layout Plain Layout
35005 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35008 \begin_layout Plain Layout
35009 \begin_inset Graphics
35010 filename ../../images/dialog-show-new-inset_graphics.png
35012 scaleBeforeRotation
35021 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35024 \begin_layout Plain Layout
35038 \begin_layout Standard
35041 \begin_inset Tabular
35042 <lyxtabular version="3" rows="3" columns="2">
35043 <features rotate="0" tabularvalignment="middle">
35044 <column alignment="center" valignment="top">
35045 <column alignment="center" valignment="top">
35047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35050 \begin_layout Plain Layout
35056 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35059 \begin_layout Plain Layout
35067 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35070 \begin_layout Plain Layout
35071 \begin_inset Graphics
35072 filename ../../images/dialog-show-new-inset_graphics.png
35074 scaleBeforeRotation
35083 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35086 \begin_layout Plain Layout
35094 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35097 \begin_layout Plain Layout
35103 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35106 \begin_layout Plain Layout
35118 \begin_inset Tabular
35119 <lyxtabular version="3" rows="3" columns="3">
35120 <features rotate="0" tabularvalignment="middle">
35121 <column alignment="center" valignment="top">
35122 <column alignment="center" valignment="top">
35123 <column alignment="center" valignment="top">
35125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35128 \begin_layout Plain Layout
35134 <cell alignment="center" valignment="top" topline="true" usebox="none">
35137 \begin_layout Plain Layout
35143 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35146 \begin_layout Plain Layout
35154 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35157 \begin_layout Plain Layout
35163 <cell alignment="center" valignment="top" usebox="none">
35166 \begin_layout Plain Layout
35167 \begin_inset Graphics
35168 filename ../../images/dialog-show-new-inset_graphics.png
35170 scaleBeforeRotation
35179 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35182 \begin_layout Plain Layout
35190 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35193 \begin_layout Plain Layout
35199 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35202 \begin_layout Plain Layout
35208 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35211 \begin_layout Plain Layout
35223 \begin_inset Tabular
35224 <lyxtabular version="3" rows="3" columns="2">
35225 <features rotate="0" tabularvalignment="middle">
35226 <column alignment="center" valignment="top">
35227 <column alignment="center" valignment="top">
35229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35232 \begin_layout Plain Layout
35238 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35241 \begin_layout Plain Layout
35249 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35252 \begin_layout Plain Layout
35258 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35261 \begin_layout Plain Layout
35262 \begin_inset Graphics
35263 filename ../../images/dialog-show-new-inset_graphics.png
35265 scaleBeforeRotation
35276 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35279 \begin_layout Plain Layout
35285 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35288 \begin_layout Plain Layout
35302 \begin_layout Standard
35304 オブジェクトを挿入した場所に正確に配置したい時には、
35309 \begin_inset Index idx
35312 \begin_layout Plain Layout
35313 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
35318 LaTeXパッケージを使うことができます。下記はその用例です。
35321 \begin_layout Standard
35325 \begin_layout Plain Layout
35335 \begin_inset Note Note
35338 \begin_layout Plain Layout
35343 が導入されているときのみ表示されます。
35351 \begin_layout Standard
35355 \begin_layout Plain Layout
35359 begin{window}[2,c,{
35365 \begin_inset Graphics
35366 filename ../clipart/mobius.eps
35369 scaleBeforeRotation
35370 rotateOrigin center
35378 \begin_layout Plain Layout
35383 \begin_layout Plain Layout
35392 It was in the spring of the year 1894 that all London was interested, and
35393 the fashionable world dismayed, by the murder of the Honourable Ronald
35394 Adair under most unusual and inexplicable circumstances.
35395 The public has already learned those particulars of the crime which
35401 \begin_layout Plain Layout
35412 came out in the police investigation, but a good deal was suppressed upon
35413 that occasion, since the case for the prosecution was so overwhelmingly
35414 strong that it was not necessary to bring forward all the facts.
35415 Only now, at the end of nearly ten years, am I allowed to supply those
35416 missing links which make up the whole of that remarkable chain.
35422 \begin_layout Plain Layout
35434 \begin_layout Standard
35438 \begin_layout Plain Layout
35451 \begin_layout Plain Layout
35461 \begin_layout Standard
35462 固定回り込みオブジェクトは、オブジェクトの周りに本文を流しこむのに用いられ、段落中のオブジェクトの位置は、オブジェクトの上の行数を指定することで決定します。フロ
35463 ートとは違って、連番のキャプションをつけることはできません。
35466 \begin_layout Standard
35467 固定オブジェクトは、段落冒頭にTeXコードで
35470 \begin_layout Standard
35475 begin{window}[2,c,{
35478 \begin_layout Standard
35479 というコマンドを書くことによって挿入されます。角括弧中の最初のパラメータ(ここでは「2」)は、オブジェクト上に来る行数を指定し、二番目のパラメータ(ここでは「c
35480 」)はオブジェクトの位置を示します。位置としては、「l」「c」「r」が可能です(それぞれ左・中央・右)。このコマンドの後にオブジェクトを挿入します。この例では、
35482 \begin_inset space \thinspace{}
35485 %の画像が挿入されています。オブジェクトは、表やボックス、数式でも構いません。オブジェクトの後には、
35488 \begin_layout Standard
35492 \begin_inset Newline newline
35498 \begin_layout Standard
35499 というコマンドが挿入されています。2行目に「
35503 」が入っていることに注意してください。説明文は非必須です。オブジェクトに回り込む文章は、オブジェクトと同じ段落になくてはなりませんので、
35507 の直後から書き始めてください。段落末には、
35510 \begin_layout Standard
35518 \begin_layout Standard
35519 というコマンドを挿入してください。固定オブジェクトのある段落では、通常のように脚注を挿入することはできません。第
35520 \begin_inset CommandInset ref
35541 \begin_layout Standard
35545 \begin_layout Plain Layout
35555 \begin_inset Note Note
35558 \begin_layout Plain Layout
35563 が導入されていないときのみ表示されます。
35571 \begin_layout Standard
35572 本節の以下の部分を出力に表示するには、LaTeXパッケージ
35579 \begin_layout Standard
35583 \begin_layout Plain Layout
35595 \begin_layout Section
35597 \begin_inset Index idx
35600 \begin_layout Plain Layout
35607 \begin_inset Index idx
35610 \begin_layout Plain Layout
35611 ほんぶんまわりこみ@本文回り込み ! かしらもじ@頭文字
35619 \begin_layout Standard
35620 頭文字を用いるには、LaTeXパッケージ
35621 \begin_inset Index idx
35624 \begin_layout Plain Layout
35625 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
35636 文書\SpecialChar \menuseparator
35637 設定\SpecialChar \menuseparator
35644 様式を使用してください。この様式には、1つの必須引数と2つの非必須引数があります。引数は、
35656 には、頭文字の単語若しくは文字列の残りが入ります。引数
35660 には、頭文字を修正するパラメータが入ります。使うことができるパラメータについての詳細は、
35665 \begin_inset CommandInset citation
35671 をご覧ください。この様式の段落そのものに、頭文字に回り込む文章も入れます。通常、この様式では、最初の文字を頭文字とする単語全体が、
35673 スモールキャップ体(small caps
35678 \begin_layout Standard
35682 \begin_layout Standard
35686 \begin_layout Plain Layout
35696 \begin_inset Note Note
35699 \begin_layout Plain Layout
35704 が導入されているときのみ表示されます。
35712 \begin_layout Enumerate
35713 非必須引数なし。頭文字は、数式フォント
35714 \begin_inset Formula $\mathfrak{Fraktur}$
35721 \begin_layout Initial
35722 \begin_inset Argument 2
35725 \begin_layout Plain Layout
35726 \begin_inset Formula $\mathfrak{I}$
35735 \begin_inset Argument 3
35738 \begin_layout Plain Layout
35744 was in the spring of the year 1894 that all London was interested, and
35745 the fashionable world dismayed, by the murder of the Honourable Ronald
35746 Adair under most unusual and inexplicable circumstances.
35747 The public has already learned those particulars of the crime which came
35748 out in the police investigation, but a good deal was suppressed upon that
35749 occasion, since the case for the prosecution was so overwhelmingly strong
35750 that it was not necessary to bring forward all the facts.
35751 \begin_inset Newpage newpage
35758 \begin_layout Enumerate
35759 頭文字に回り込む行は1行のみ。頭文字は標準フォントで2文字。スモールキャップ体で印字する文字はなし。
35763 \begin_layout Initial
35764 \begin_inset Argument 1
35767 \begin_layout Plain Layout
35774 \begin_inset Argument 2
35777 \begin_layout Plain Layout
35783 was in the spring of the year 1894 that all London was interested, and
35784 the fashionable world dismayed, by the murder of the Honourable Ronald
35785 Adair under most unusual and inexplicable circumstances.
35786 The public has already learned those particulars of the crime which came
35787 out in the police investigation, but a good deal was suppressed upon that
35788 occasion, since the case for the prosecution was so overwhelmingly strong
35789 that it was not necessary to bring forward all the facts.
35793 \begin_layout Enumerate
35795 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
35798 で3行にかかり、マゼンタ色。「t was in the spring」という文章を
35802 。頭文字に色をつけるには、頭文字の前に
35803 \begin_inset Newline newline
35817 \begin_inset Newline newline
35820 というコマンドを挿入しなくてはなりません。ここで、
35824 は「red」・「blue」・「green」・「yellow」・「cyan」・「magenta」・「black」・「white」のいずれかです。また、文書プリアン
35826 \begin_inset Newline newline
35833 @ifundefined{textcolor}
35834 \begin_inset Newline newline
35838 \begin_inset space ~
35843 usepackage{color}}{}
35844 \begin_inset Newline newline
35849 というコマンドを書きこんでおかなくてはなりません。
35853 \begin_layout Standard
35857 \begin_layout Plain Layout
35871 \begin_inset Note Note
35874 \begin_layout Plain Layout
35877 makes the initial magenta
35885 \begin_layout Initial
35886 \begin_inset Argument 1
35889 \begin_layout Plain Layout
35890 lines=3, lhang=0.33, loversize=0.25
35896 \begin_inset Argument 2
35899 \begin_layout Plain Layout
35900 \begin_inset Formula $\mathcal{I}$
35909 \begin_inset Argument 3
35912 \begin_layout Plain Layout
35913 t was in the spring
35918 of the year 1894 that all London was interested, and the fashionable world
35919 dismayed, by the murder of the Honourable Ronald Adair under most unusual
35920 and inexplicable circumstances.
35921 The public has already learned those particulars of the crime which came
35922 out in the police investigation, but a good deal was suppressed upon that
35923 occasion, since the case for the prosecution was so overwhelmingly strong
35924 that it was not necessary to bring forward all the facts.
35928 \begin_layout Standard
35932 \begin_layout Plain Layout
35942 \begin_inset Note Note
35945 \begin_layout Plain Layout
35950 が導入されていないときのみ表示されます。
35958 \begin_layout Standard
35959 本節の以下の部分を出力に表示するには、LaTeXパッケージ
35966 \begin_layout Standard
35970 \begin_layout Plain Layout
35982 \begin_layout Chapter
35984 \begin_inset Index idx
35987 \begin_layout Plain Layout
35988 がいぶぶんしょこうせいようそ@外部文書構成要素
35996 \begin_layout Standard
35999 挿入\SpecialChar \menuseparator
36002 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
36005 \begin_layout Description
36006 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
36009 \begin_layout Description
36010 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
36013 \begin_layout Description
36014 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
36017 \begin_layout Description
36021 \begin_layout Description
36022 子文書 LyXあるいはLaTeX文書。
36025 \begin_layout Section
36027 \begin_inset Index idx
36030 \begin_layout Plain Layout
36031 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
36039 \begin_layout Standard
36040 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
36041 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
36043 操作性\SpecialChar \menuseparator
36046 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
36049 \begin_layout Standard
36054 \SpecialChar \menuseparator
36059 \SpecialChar \menuseparator
36068 ダイアログから挿入することができます。目下、以下のファイル形式(
36075 \begin_layout Description
36079 \begin_inset CommandInset href
36082 target "http://en.wikipedia.org/wiki/XBoard"
36088 プログラムで作成されたチェス棋譜をサポートします。
36091 \begin_layout Description
36096 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
36097 \begin_inset External
36099 filename ../../trunk/lib/trunk/lib/doc/ja
36104 \begin_inset space ~
36108 \begin_inset Note Note
36111 \begin_layout Plain Layout
36112 バグ4398が修正されたら、この保護空白は削除してください!
36118 \begin_inset Newline newline
36121 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
36125 \SpecialChar \menuseparator
36126 日付メニューを使用する方法で、他はLaTeXコマンドの
36132 をTeXコードで使用する方法です。これらの各方法は、表
36133 \begin_inset CommandInset ref
36135 reference "tab:日付挿入方法"
36142 \begin_layout Description
36146 \begin_inset CommandInset href
36149 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"
36155 プログラムで作成したダイアグラムをサポートします。
36158 \begin_layout Description
36159 Gnumeric表計算表 このひな形では、
36162 \begin_inset CommandInset href
36165 target "http://ja.wikipedia.org/wiki/Gnumeric"
36172 \begin_inset CommandInset href
36174 name "OpenDocument"
36175 target "http://ja.wikipedia.org/wiki/OpenDocument"
36180 \begin_inset CommandInset href
36182 name "Microsoft Office XML"
36183 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
36188 \begin_inset CommandInset href
36190 name "Office Open XML"
36191 target "http://ja.wikipedia.org/wiki/Office_Open_XML"
36195 形式の表計算表を挿入することができます。この機能を使用するには、LyXの初期設定中に
36199 プログラムが検出される必要があります。このプログラムはGnumericの一部ですので、Gnumeric以外の形式の表を読み込む場合には、Gnumericが導入済
36200 みである必要があります。用例と制約については、LyX用例ファイル
36207 \begin_layout Description
36208 Lilypond組版楽譜 このひな型は、
36211 \begin_inset CommandInset href
36214 target "http://ja.wikipedia.org/wiki/GNU_LilyPond"
36220 プログラムで作成した楽譜の組版に使用されます。LyXにおけるLilyPond拡張サポートについては、LyX用例ファイル
36227 \begin_layout Description
36228 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
36240 オプションを指定してください。このオプションの引数は、コンマ区切りのリストで、ページ番号(オプションを
36248 )、あるいはこれらの組み合わせで指定できます。空のページを入れるには、{}を指定してください。例えば、
36250 pages={3,{},8-11,15}
36252 は、3ページ目と空のページ、8・9・10・11・15ページ目を挿入します。ページ範囲は、
36268 を省略すると、1ページ目を指定したのと同じ事になり、
36272 を省略すると、文書の最終ページを指定したのと同じ事になります。最終ページは、
36276 というキーワードを使って指定することもできます(これはページ範囲指定のみで有効です)。したがって、
36280 は文書の全ページを挿入することになり、
36284 は全ページを逆順で挿入します。pagesオプションを指定しないと、PDFの最初のページのみが挿入されます。
36285 \begin_inset Newline newline
36292 オプションは、各ページを元々の寸法で挿入します。もしこのオプションが指定されていなければ、各ページは文書のページ幅に合うように大きさが変更されます。
36296 タブでは、取り込むページの縦横の大きさと回転角を指定することができます。100縮尺%以外の幅が指定されると、
36300 オプションは無視されます。詳しい情報と取り得るオプション値については、LaTeXパッケージ
36305 \begin_inset CommandInset citation
36312 \begin_inset Index idx
36315 \begin_layout Plain Layout
36316 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
36322 \begin_inset Newline newline
36329 プレゼンテーションで使用するには、まず
36333 環境を挿入して、続く段落でTeXコードボックスを挿入し、
36337 setbeamertemplate{background canvas}{}
36339 というコマンドを入力してください。すると、PDFページのひな型を含んだ段落を好きなだけ入れることができるようになります。取り込んだPDFページの後で、新しいフレ
36340 ームを開始するか、新しい節を開始することによって、Beamerプレゼンテーションに復帰することができます。PDFページの前に空白ページができてしまうのを防ぐため
36346 \begin_inset Newline newline
36349 下記は、-5度回転させたPDFを取り込んだものです。
36350 \begin_inset Newline newline
36354 \begin_inset Graphics
36355 filename ../clipart/Abstract.pdf
36357 rotateOrigin leftBottom
36362 \begin_inset Newline newline
36366 \begin_inset Note Greyedout
36369 \begin_layout Plain Layout
36378 は、pdflatexに基づいており、LaTeXでは組版ができない(LaTeXパッケージ
36383 \begin_inset CommandInset citation
36389 参照)ため、この外部素材はpLaTeXでは使用することができません。英文版の取扱説明書では、上記のPDFは、
36391 挿入\SpecialChar \menuseparator
36392 ファイル\SpecialChar \menuseparator
36403 を指定して挿入されていますが、ここでは
36405 挿入\SpecialChar \menuseparator
36416 \begin_layout Description
36417 ラスターイメージ これはビットマップ画像に使用します。
36422 \begin_inset CommandInset ref
36424 reference "sec:画像ダイアログ"
36432 ダイアログを使って挿入される画像と同じように取り扱うことができます。通常の画像の取り込みと違うのは、ラスター画像のみを使うことができることです。つまり、PDFや
36433 EPS画像はサポートされていません。右記は、ラスター画像を挿入した例です。
36434 \begin_inset External
36435 template RasterImage
36436 filename clipart/ToolbarEnvBox.png
36443 \begin_layout Description
36447 \begin_inset CommandInset href
36450 target "http://ja.wikipedia.org/wiki/Xfig"
36456 プログラムで作成した画像をサポートします。
36459 \begin_layout Standard
36460 \begin_inset Float table
36466 \begin_layout Plain Layout
36467 \begin_inset Caption Standard
36469 \begin_layout Plain Layout
36470 \begin_inset CommandInset label
36484 \begin_layout Plain Layout
36486 \begin_inset Tabular
36487 <lyxtabular version="3" rows="4" columns="4">
36488 <features rotate="0" tabularvalignment="middle">
36489 <column alignment="center" valignment="top">
36490 <column alignment="center" valignment="top">
36491 <column alignment="center" valignment="top">
36492 <column alignment="center" valignment="top">
36494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36497 \begin_layout Plain Layout
36503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36506 \begin_layout Plain Layout
36509 外部素材\SpecialChar \menuseparator
36515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36518 \begin_layout Plain Layout
36521 挿入\SpecialChar \menuseparator
36527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36530 \begin_layout Plain Layout
36544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36547 \begin_layout Plain Layout
36553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36556 \begin_layout Plain Layout
36562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36565 \begin_layout Plain Layout
36571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36574 \begin_layout Plain Layout
36582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36585 \begin_layout Plain Layout
36591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36594 \begin_layout Plain Layout
36600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36603 \begin_layout Plain Layout
36609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36612 \begin_layout Plain Layout
36620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36623 \begin_layout Plain Layout
36629 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36632 \begin_layout Plain Layout
36638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36641 \begin_layout Plain Layout
36647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
36650 \begin_layout Plain Layout
36669 \begin_layout Standard
36682 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
36683 \begin_inset Newline newline
36686 LyX中での外部素材は、ダイアログ内の
36695 \begin_inset Graphics
36696 filename clipart/ExternalMaterialQt4.png
36698 scaleBeforeRotation
36702 のようなボックスとして表示されるか、画像として表示されます。
36705 \begin_layout Standard
36712 には、自製のひな型を定義する方法が説明されています。
36715 \begin_layout Section
36717 \begin_inset CommandInset label
36724 \begin_inset Index idx
36727 \begin_layout Plain Layout
36728 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
36734 \begin_inset Index idx
36737 \begin_layout Plain Layout
36738 ふぁいる@ファイル ! いんくるーど@インクルード
36746 \begin_layout Standard
36747 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
36748 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる「子文書」であり、親文書はこれら子文書を連結して、文書全体
36749 やその一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
36752 \begin_layout Standard
36753 親文書を開くことなく子文書で作業できるようにするには、子文書の
36757 \SpecialChar \menuseparator
36762 \SpecialChar \menuseparator
36767 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
36770 \begin_layout Standard
36772 \begin_inset Graphics
36773 filename clipart/ChildDocumentQt4.png
36775 scaleBeforeRotation
36779 のようなボックスとして表示されます。子文書を親文書に取り込むには、
36783 \SpecialChar \menuseparator
36788 \SpecialChar \menuseparator
36793 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
36796 \begin_layout Description
36797 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
36805 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
36806 \begin_inset Newline newline
36812 \begin_layout Standard
36818 \begin_inset CommandInset include
36819 LatexCommand include
36820 filename "DummyDocument1.lyx"
36827 \begin_layout Standard
36828 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
36829 あります。取り込んだ文書のラベルは、第
36830 \begin_inset CommandInset ref
36832 reference "sub:外部文書の第1小節"
36836 小節、のように参照することができます。
36839 \begin_layout Standard
36840 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
36841 は、新規頁から始まるように挿入され、改頁して終わります。
36844 \begin_layout Standard
36845 \begin_inset Note Greyedout
36848 \begin_layout Plain Layout
36853 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
36862 \begin_layout Description
36863 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
36867 \begin_layout Itemize
36868 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
36871 \begin_layout Itemize
36872 Inputファイルは、LyX設定の操作性
36874 \SpecialChar \menuseparator
36881 を有効にすると、LyX中でプレビューすることができます。
36884 \begin_layout Itemize
36895 \begin_layout Standard
36901 \begin_inset CommandInset include
36903 filename "DummyDocument2.lyx"
36910 \begin_layout Description
36911 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
36912 に用いられているコマンドは実行されません。
36916 オプションを有効にすると、ソースコード中のすべての空白文字に「
36920 \begin_layout Plain Layout
36931 挿入\SpecialChar \menuseparator
36932 ファイル\SpecialChar \menuseparator
36935 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
36938 \begin_layout Standard
36939 以下は、verbatimとして挿入された子文書です。
36940 \begin_inset CommandInset include
36941 LatexCommand verbatiminput
36942 filename "../DummyTextDocument.txt"
36947 \begin_inset VSpace bigskip
36954 オプションを指定して、verbatimとして挿入された子文書です。
36955 \begin_inset CommandInset include
36956 LatexCommand verbatiminput*
36957 filename "../DummyTextDocument.txt"
36964 \begin_layout Standard
36965 \begin_inset VSpace bigskip
36971 \begin_layout Standard
36972 \begin_inset Note Greyedout
36975 \begin_layout Plain Layout
36984 として取り込んだ文書の文章は、文書行の終わりで改行されません。
36992 \begin_layout Standard
36993 \begin_inset Note Greyedout
36996 \begin_layout Plain Layout
37001 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
37009 \begin_layout Description
37010 プログラムリスト この型については、第
37011 \begin_inset CommandInset ref
37013 reference "cha:プログラムコードリスト"
37020 \begin_layout Standard
37021 \begin_inset Note Greyedout
37024 \begin_layout Plain Layout
37029 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
37037 \begin_layout Standard
37038 コンパイル時間を短縮したり、執筆中のbookの特定の章のみを配布したいなどの理由で、親文書内の特定の子文書のみを表示させたり書きだしたりしたい場合には、子文書の
37039 一部を出力から排除することができます。これは、
37041 文書\SpecialChar \menuseparator
37042 設定\SpecialChar \menuseparator
37045 メニューから行うことができます。そこの一覧中の各子文書の
37049 列をダブルクリックすることによって、その子文書を排除したり取り込んだりすることができます(これは「Input」ではなく「Include」で埋めこまれた文書に対し
37050 てのみ機能することにご注意ください)。
37054 オプションを有効にすると、LyXは、すべてのページ番号と参照等が、文書全体を処理した時と同じように正しくなるようにします。これは、選択した部分文書が、文書全体の
37055 コンテクストの中で表現されるのと全く同じようにしておきたい時に便利です。しかしながら、この機能を実現するには、LyXはバックグラウンドで文書全体を処理しなくては
37056 なりません。したがって、コンパイルの時間を節約し、カウンタや参照が必ずしも正しくなくてもいい場合には、このチェックボックスは外しておいてください。
37059 \begin_layout Standard
37060 あるいは、取り込んだファイルの各々を派生枝の中に入れる方法があります
37064 \begin_layout Plain Layout
37078 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。この方法は、Inputで取り込んだ部分文
37079 書についても動作するという利点があります。ただし、カウンタと参照は、この方法では維持されるとは限りません。
37082 \begin_layout Chapter
37084 \begin_inset CommandInset label
37086 name "cha:プログラムコードリスト"
37091 \begin_inset Index idx
37094 \begin_layout Plain Layout
37101 \begin_inset Index idx
37104 \begin_layout Plain Layout
37111 \begin_inset Index idx
37114 \begin_layout Plain Layout
37115 ふろーと@フロート ! りすと@リスト
37123 \begin_layout Standard
37124 プログラムコードを取り込んで組版するには、
37128 \SpecialChar \menuseparator
37133 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
37138 \begin_inset Index idx
37141 \begin_layout Plain Layout
37142 LaTeXぱっけーじ@LaTeXパッケージ ! listings
37147 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
37150 \begin_layout Standard
37151 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
37154 \begin_layout Standard
37155 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
37160 \begin_inset listings
37161 lstparams "language={C++}"
37165 \begin_layout Plain Layout
37173 \begin_inset Newline newline
37180 オプションは、プログラムリストフロートを生成するものですが、ここで、第
37181 \begin_inset CommandInset ref
37183 reference "sec:フロートの配置"
37187 節に説明されているフロート配置オプションに従って、「
37203 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
37207 」のように区切りを入れることなく入力することができます。「
37211 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
37215 オプションを使用しなければ大丈夫です。
37218 \begin_layout Standard
37223 \SpecialChar \menuseparator
37228 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
37229 \begin_inset CommandInset ref
37231 reference "lst:リストフロート"
37235 のように参照することができます。キャプションのついたプログラムリストの全一覧を、
37239 \SpecialChar \menuseparator
37244 \SpecialChar \menuseparator
37249 で作成することができます。一覧の項目には、プログラムリストのキャプションとプログラムリスト番号が入ります。
37252 \begin_layout Standard
37253 \begin_inset listings
37254 lstparams "language=Python"
37258 \begin_layout Plain Layout
37260 \begin_inset Caption Standard
37262 \begin_layout Plain Layout
37263 \begin_inset CommandInset label
37269 Example Listing Float
37274 # Example listing float
37277 \begin_layout Plain Layout
37282 \begin_layout Plain Layout
37284 'this is a python function'
37287 \begin_layout Plain Layout
37297 \begin_layout Standard
37298 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
37299 onのキーワード「def」が識別され、ボールド体で出力されます。
37302 \begin_layout Standard
37303 \begin_inset Note Greyedout
37306 \begin_layout Plain Layout
37311 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
37315 フォントがボールド体を提供していません。この場合には、
37319 \SpecialChar \menuseparator
37324 \SpecialChar \menuseparator
37329 メニューで別のフォントを選択してください(
37341 の各フォントはボールド体を提供します)。
37349 \begin_layout Standard
37350 \begin_inset Note Greyedout
37353 \begin_layout Plain Layout
37358 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
37366 \begin_layout Standard
37371 のセクションでは、行番号の様式を指定することができます。
37375 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
37378 \begin_layout Standard
37379 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
37383 オプションを使用しなくてはなりません。
37384 \begin_inset Newline newline
37388 \begin_inset Note Greyedout
37391 \begin_layout Plain Layout
37396 これは、pLaTeXではうまく動作しません。
37402 \begin_inset Newline newline
37405 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
37406 \begin_inset space \thinspace{}
37410 \begin_inset space \thinspace{}
37413 8」で設定したプログラムリストの例です。
37416 \begin_layout Standard
37417 \begin_inset listings
37418 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
37422 \begin_layout Plain Layout
37427 \begin_layout Plain Layout
37429 'this is a python function'
37432 \begin_layout Plain Layout
37437 \begin_layout Plain Layout
37442 \begin_layout Plain Layout
37444 'This is a German word: Tschüß'
37447 \begin_layout Plain Layout
37452 \begin_layout Plain Layout
37457 \begin_layout Plain Layout
37459 'this is a python function'
37462 \begin_layout Plain Layout
37472 \begin_layout Standard
37473 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
37480 \begin_layout Standard
37481 \begin_inset Note Greyedout
37484 \begin_layout Plain Layout
37489 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
37498 \begin_layout Standard
37499 \begin_inset VSpace bigskip
37505 \begin_layout Standard
37506 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
37510 \SpecialChar \menuseparator
37515 \SpecialChar \menuseparator
37528 \begin_layout Plain Layout
37529 他の子文書型については、第 section
37530 \begin_inset space ~
37534 \begin_inset CommandInset ref
37536 reference "sec:子文書"
37545 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
37549 \begin_layout Standard
37550 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
37554 \SpecialChar \menuseparator
37559 メニューを使って参照できるようになります。
37562 \begin_layout Standard
37564 \begin_inset CommandInset ref
37566 reference "lst:file-listing"
37570 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
37573 \begin_layout Standard
37574 \begin_inset CommandInset include
37575 LatexCommand lstinputlisting
37576 filename "EmbeddedObjects.lyx"
37577 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
37584 \begin_layout Standard
37585 \begin_inset VSpace bigskip
37591 \begin_layout Standard
37592 リストに数式を入れるには、以下のようにします。
37595 \begin_layout Enumerate
37601 \begin_inset Newline newline
37609 \begin_inset Newline newline
37615 \begin_layout Enumerate
37619 \begin_layout Enumerate
37620 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
37629 \begin_layout Enumerate
37630 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
37639 \begin_layout Standard
37640 \begin_inset listings
37641 lstparams "language=Python,mathescape=true"
37645 \begin_layout Plain Layout
37647 \begin_inset Caption Standard
37649 \begin_layout Plain Layout
37650 Example Listing float containing a formula
37655 # Example listing float
37658 \begin_layout Plain Layout
37663 \begin_layout Plain Layout
37676 \begin_layout Plain Layout
37686 \begin_layout Standard
37687 \begin_inset VSpace bigskip
37693 \begin_layout Standard
37698 \SpecialChar \menuseparator
37703 \SpecialChar \menuseparator
37708 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
37712 フィールドで疑問符「?」を打鍵してください。
37715 \begin_layout Standard
37720 パッケージについての詳しい情報については、取扱説明書
37721 \begin_inset CommandInset citation
37730 \begin_layout Standard
37731 \begin_inset Newpage newpage
37737 \begin_layout Chapter
37740 \begin_inset Index idx
37743 \begin_layout Plain Layout
37750 \begin_inset CommandInset label
37752 name "cha:LyXで使用できる単位"
37759 \begin_layout Standard
37760 この文書で用いられる単位の理解のために、表
37761 \begin_inset CommandInset ref
37767 に、LyXで使うことのできる単位をまとめておきます。
37770 \begin_layout Standard
37771 \begin_inset Float table
37777 \begin_layout Plain Layout
37778 \begin_inset Caption Standard
37780 \begin_layout Plain Layout
37781 \begin_inset CommandInset label
37795 \begin_layout Plain Layout
37796 \begin_inset VSpace medskip
37802 \begin_layout Plain Layout
37804 \begin_inset Tabular
37805 <lyxtabular version="3" rows="20" columns="3">
37806 <features rotate="0" tabularvalignment="middle">
37807 <column alignment="center" valignment="top">
37808 <column alignment="center" valignment="top">
37809 <column alignment="center" valignment="top">
37811 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37814 \begin_layout Plain Layout
37820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37823 \begin_layout Plain Layout
37829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37832 \begin_layout Plain Layout
37840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37843 \begin_layout Plain Layout
37849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37852 \begin_layout Plain Layout
37858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37861 \begin_layout Plain Layout
37869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37872 \begin_layout Plain Layout
37878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37881 \begin_layout Plain Layout
37887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37890 \begin_layout Plain Layout
37898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37901 \begin_layout Plain Layout
37907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37910 \begin_layout Plain Layout
37916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37919 \begin_layout Plain Layout
37927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37930 \begin_layout Plain Layout
37936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37939 \begin_layout Plain Layout
37941 \begin_inset space \thinspace{}
37945 \begin_inset space \thinspace{}
37953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37956 \begin_layout Plain Layout
37964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37967 \begin_layout Plain Layout
37973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37976 \begin_layout Plain Layout
37978 \begin_inset space \thinspace{}
37982 \begin_inset space \thinspace{}
37990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37993 \begin_layout Plain Layout
38001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38004 \begin_layout Plain Layout
38010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38013 \begin_layout Plain Layout
38015 \begin_inset space \thinspace{}
38019 \begin_inset space \thinspace{}
38027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38030 \begin_layout Plain Layout
38038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38041 \begin_layout Plain Layout
38047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38050 \begin_layout Plain Layout
38052 \begin_inset space \thinspace{}
38056 \begin_inset space \thinspace{}
38064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38067 \begin_layout Plain Layout
38075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38078 \begin_layout Plain Layout
38084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38087 \begin_layout Plain Layout
38089 \begin_inset space \thinspace{}
38093 \begin_inset Formula $\approx$
38097 \begin_inset space \thinspace{}
38105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38108 \begin_layout Plain Layout
38116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38119 \begin_layout Plain Layout
38125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38128 \begin_layout Plain Layout
38130 \begin_inset space \thinspace{}
38134 \begin_inset space \thinspace{}
38142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38145 \begin_layout Plain Layout
38153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38156 \begin_layout Plain Layout
38164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38167 \begin_layout Plain Layout
38173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38176 \begin_layout Plain Layout
38184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38187 \begin_layout Plain Layout
38195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38198 \begin_layout Plain Layout
38204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38207 \begin_layout Plain Layout
38217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38220 \begin_layout Plain Layout
38228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38231 \begin_layout Plain Layout
38237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38240 \begin_layout Plain Layout
38250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38253 \begin_layout Plain Layout
38261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38264 \begin_layout Plain Layout
38270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38273 \begin_layout Plain Layout
38283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38286 \begin_layout Plain Layout
38294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38297 \begin_layout Plain Layout
38303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38306 \begin_layout Plain Layout
38316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38319 \begin_layout Plain Layout
38327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38330 \begin_layout Plain Layout
38336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38339 \begin_layout Plain Layout
38349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38352 \begin_layout Plain Layout
38360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38363 \begin_layout Plain Layout
38369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38372 \begin_layout Plain Layout
38382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38385 \begin_layout Plain Layout
38391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38394 \begin_layout Plain Layout
38400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38403 \begin_layout Plain Layout
38411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38414 \begin_layout Plain Layout
38420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38423 \begin_layout Plain Layout
38429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38432 \begin_layout Plain Layout
38440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38443 \begin_layout Plain Layout
38449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38452 \begin_layout Plain Layout
38454 \begin_inset space \thinspace{}
38458 \begin_inset space \thinspace{}
38466 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38469 \begin_layout Plain Layout
38488 \begin_layout Chapter
38490 \begin_inset CommandInset label
38492 name "cha:ファイル出力形式"
38499 \begin_layout Section
38501 \begin_inset Index idx
38504 \begin_layout Plain Layout
38505 ふぁいるしょしき@ファイル書式 ! DVI
38511 \begin_inset Index idx
38514 \begin_layout Plain Layout
38519 \begin_layout Plain Layout
38530 \begin_layout Plain Layout
38545 \begin_layout Standard
38550 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
38551 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
38552 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
38555 \begin_layout Standard
38556 \begin_inset Note Greyedout
38559 \begin_layout Plain Layout
38564 DVIファイルには画像は含まれていません。画像はリンクされているだけです。
38573 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
38574 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
38578 \begin_layout Standard
38583 \SpecialChar \menuseparator
38588 \SpecialChar \menuseparator
38593 メニューを使用して、DVIに書き出すことができます。
38597 メニューから、文書をDVIとして表示させることもできます。
38600 \begin_layout Section
38602 \begin_inset CommandInset label
38604 name "sec:PostScript"
38609 \begin_inset Index idx
38612 \begin_layout Plain Layout
38613 ふぁいるしょしき@ファイル書式 ! PostScript
38619 \begin_inset Index idx
38622 \begin_layout Plain Layout
38627 \begin_layout Plain Layout
38638 \begin_layout Plain Layout
38653 \begin_layout Standard
38662 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
38663 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
38667 \begin_layout Plain Layout
38668 これについてもう少し学ぶ気があれば、LaTeXパッケージ
38673 \begin_inset CommandInset citation
38684 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
38687 \begin_layout Standard
38688 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
38692 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
38693 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
38694 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
38695 を直接EPSとして入れておく方がよいでしょう。
38698 \begin_layout Standard
38703 \SpecialChar \menuseparator
38708 \SpecialChar \menuseparator
38713 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
38718 \begin_inset Graphics
38719 filename ../../images/buffer-view_ps.png
38721 scaleBeforeRotation
38725 を使用することでPostScriptとして表示させることができます。
38728 \begin_layout Section
38730 \begin_inset Index idx
38733 \begin_layout Plain Layout
38734 ふぁいるしょしき@ファイル書式 ! PDF
38740 \begin_inset Index idx
38743 \begin_layout Plain Layout
38752 \begin_layout Standard
38757 」です。この「Portable Document Format (PDF)」は、
38761 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
38762 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
38765 \begin_layout Standard
38766 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
38774 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
38778 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
38779 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
38783 \begin_layout Standard
38788 \SpecialChar \menuseparator
38793 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
38796 \begin_layout Description
38798 \begin_inset space ~
38805 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
38809 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
38812 \begin_layout Description
38814 \begin_inset space ~
38821 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
38824 \begin_layout Description
38826 \begin_inset space ~
38833 プログラムを使って、現在のファイルを直接PDFに変換します。
38836 \begin_layout Standard
38841 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
38844 \begin_inset space ~
38853 プログラムは開発が停止しており、若干時代遅れになっています。
38856 \begin_layout Standard
38857 使用中の文書をPDFとして表示するには、
38862 \begin_inset Graphics
38863 filename ../../images/buffer-view_pdf2.png
38865 scaleBeforeRotation
38872 \begin_inset space ~
38880 \begin_layout Chapter
38882 \begin_inset CommandInset label
38884 name "chap:dvips色名一覧"
38891 \begin_layout Standard
38892 \begin_inset Tabular
38893 <lyxtabular version="3" rows="17" columns="4">
38894 <features rotate="0" tabularvalignment="middle">
38895 <column alignment="left" valignment="top" width="0pt">
38896 <column alignment="left" valignment="top" width="0pt">
38897 <column alignment="left" valignment="top" width="0pt">
38898 <column alignment="left" valignment="top" width="0pt">
38900 <cell alignment="left" valignment="top" usebox="none">
38903 \begin_layout Plain Layout
38907 \begin_layout Plain Layout
38920 \begin_layout Plain Layout
38931 \begin_layout Plain Layout
38943 <cell alignment="left" valignment="top" usebox="none">
38946 \begin_layout Plain Layout
38950 \begin_layout Plain Layout
38963 \begin_layout Plain Layout
38974 \begin_layout Plain Layout
38986 <cell alignment="left" valignment="top" usebox="none">
38989 \begin_layout Plain Layout
38993 \begin_layout Plain Layout
39006 \begin_layout Plain Layout
39017 \begin_layout Plain Layout
39029 <cell alignment="left" valignment="top" usebox="none">
39032 \begin_layout Plain Layout
39036 \begin_layout Plain Layout
39049 \begin_layout Plain Layout
39060 \begin_layout Plain Layout
39074 <cell alignment="center" valignment="top" usebox="none">
39077 \begin_layout Plain Layout
39081 \begin_layout Plain Layout
39094 \begin_layout Plain Layout
39102 \begin_inset Phantom Phantom
39105 \begin_layout Plain Layout
39115 \begin_layout Plain Layout
39127 <cell alignment="center" valignment="top" usebox="none">
39130 \begin_layout Plain Layout
39134 \begin_layout Plain Layout
39147 \begin_layout Plain Layout
39155 \begin_inset Phantom Phantom
39158 \begin_layout Plain Layout
39168 \begin_layout Plain Layout
39180 <cell alignment="center" valignment="top" usebox="none">
39183 \begin_layout Plain Layout
39187 \begin_layout Plain Layout
39200 \begin_layout Plain Layout
39208 \begin_inset Phantom Phantom
39211 \begin_layout Plain Layout
39221 \begin_layout Plain Layout
39233 <cell alignment="center" valignment="top" usebox="none">
39236 \begin_layout Plain Layout
39240 \begin_layout Plain Layout
39253 \begin_layout Plain Layout
39261 \begin_inset Phantom Phantom
39264 \begin_layout Plain Layout
39274 \begin_layout Plain Layout
39288 <cell alignment="left" valignment="top" usebox="none">
39291 \begin_layout Plain Layout
39295 \begin_layout Plain Layout
39308 \begin_layout Plain Layout
39316 \begin_inset Phantom Phantom
39319 \begin_layout Plain Layout
39329 \begin_layout Plain Layout
39341 <cell alignment="left" valignment="top" usebox="none">
39344 \begin_layout Plain Layout
39348 \begin_layout Plain Layout
39361 \begin_layout Plain Layout
39369 \begin_inset Phantom Phantom
39372 \begin_layout Plain Layout
39382 \begin_layout Plain Layout
39394 <cell alignment="left" valignment="top" usebox="none">
39397 \begin_layout Plain Layout
39401 \begin_layout Plain Layout
39414 \begin_layout Plain Layout
39422 \begin_inset Phantom Phantom
39425 \begin_layout Plain Layout
39435 \begin_layout Plain Layout
39447 <cell alignment="left" valignment="top" usebox="none">
39450 \begin_layout Plain Layout
39454 \begin_layout Plain Layout
39467 \begin_layout Plain Layout
39475 \begin_inset Phantom Phantom
39478 \begin_layout Plain Layout
39488 \begin_layout Plain Layout
39502 <cell alignment="left" valignment="top" usebox="none">
39505 \begin_layout Plain Layout
39509 \begin_layout Plain Layout
39522 \begin_layout Plain Layout
39530 \begin_inset Phantom Phantom
39533 \begin_layout Plain Layout
39543 \begin_layout Plain Layout
39555 <cell alignment="left" valignment="top" usebox="none">
39558 \begin_layout Plain Layout
39562 \begin_layout Plain Layout
39575 \begin_layout Plain Layout
39583 \begin_inset Phantom Phantom
39586 \begin_layout Plain Layout
39596 \begin_layout Plain Layout
39608 <cell alignment="left" valignment="top" usebox="none">
39611 \begin_layout Plain Layout
39615 \begin_layout Plain Layout
39628 \begin_layout Plain Layout
39636 \begin_inset Phantom Phantom
39639 \begin_layout Plain Layout
39649 \begin_layout Plain Layout
39661 <cell alignment="left" valignment="top" usebox="none">
39664 \begin_layout Plain Layout
39668 \begin_layout Plain Layout
39681 \begin_layout Plain Layout
39689 \begin_inset Phantom Phantom
39692 \begin_layout Plain Layout
39702 \begin_layout Plain Layout
39716 <cell alignment="left" valignment="top" usebox="none">
39719 \begin_layout Plain Layout
39723 \begin_layout Plain Layout
39736 \begin_layout Plain Layout
39744 \begin_inset Phantom Phantom
39747 \begin_layout Plain Layout
39757 \begin_layout Plain Layout
39769 <cell alignment="left" valignment="top" usebox="none">
39772 \begin_layout Plain Layout
39776 \begin_layout Plain Layout
39789 \begin_layout Plain Layout
39797 \begin_inset Phantom Phantom
39800 \begin_layout Plain Layout
39810 \begin_layout Plain Layout
39822 <cell alignment="left" valignment="top" usebox="none">
39825 \begin_layout Plain Layout
39829 \begin_layout Plain Layout
39842 \begin_layout Plain Layout
39850 \begin_inset Phantom Phantom
39853 \begin_layout Plain Layout
39863 \begin_layout Plain Layout
39875 <cell alignment="left" valignment="top" usebox="none">
39878 \begin_layout Plain Layout
39882 \begin_layout Plain Layout
39895 \begin_layout Plain Layout
39903 \begin_inset Phantom Phantom
39906 \begin_layout Plain Layout
39916 \begin_layout Plain Layout
39930 <cell alignment="left" valignment="top" usebox="none">
39933 \begin_layout Plain Layout
39937 \begin_layout Plain Layout
39950 \begin_layout Plain Layout
39958 \begin_inset Phantom Phantom
39961 \begin_layout Plain Layout
39971 \begin_layout Plain Layout
39983 <cell alignment="left" valignment="top" usebox="none">
39986 \begin_layout Plain Layout
39990 \begin_layout Plain Layout
40003 \begin_layout Plain Layout
40011 \begin_inset Phantom Phantom
40014 \begin_layout Plain Layout
40024 \begin_layout Plain Layout
40036 <cell alignment="left" valignment="top" usebox="none">
40039 \begin_layout Plain Layout
40043 \begin_layout Plain Layout
40056 \begin_layout Plain Layout
40064 \begin_inset Phantom Phantom
40067 \begin_layout Plain Layout
40077 \begin_layout Plain Layout
40089 <cell alignment="left" valignment="top" usebox="none">
40092 \begin_layout Plain Layout
40096 \begin_layout Plain Layout
40109 \begin_layout Plain Layout
40117 \begin_inset Phantom Phantom
40120 \begin_layout Plain Layout
40130 \begin_layout Plain Layout
40144 <cell alignment="center" valignment="top" usebox="none">
40147 \begin_layout Plain Layout
40151 \begin_layout Plain Layout
40164 \begin_layout Plain Layout
40172 \begin_inset Phantom Phantom
40175 \begin_layout Plain Layout
40185 \begin_layout Plain Layout
40197 <cell alignment="center" valignment="top" usebox="none">
40200 \begin_layout Plain Layout
40204 \begin_layout Plain Layout
40217 \begin_layout Plain Layout
40225 \begin_inset Phantom Phantom
40228 \begin_layout Plain Layout
40238 \begin_layout Plain Layout
40250 <cell alignment="center" valignment="top" usebox="none">
40253 \begin_layout Plain Layout
40257 \begin_layout Plain Layout
40270 \begin_layout Plain Layout
40278 \begin_inset Phantom Phantom
40281 \begin_layout Plain Layout
40291 \begin_layout Plain Layout
40303 <cell alignment="center" valignment="top" usebox="none">
40306 \begin_layout Plain Layout
40310 \begin_layout Plain Layout
40323 \begin_layout Plain Layout
40331 \begin_inset Phantom Phantom
40334 \begin_layout Plain Layout
40344 \begin_layout Plain Layout
40358 <cell alignment="left" valignment="top" usebox="none">
40361 \begin_layout Plain Layout
40365 \begin_layout Plain Layout
40378 \begin_layout Plain Layout
40386 \begin_inset Phantom Phantom
40389 \begin_layout Plain Layout
40399 \begin_layout Plain Layout
40411 <cell alignment="left" valignment="top" usebox="none">
40414 \begin_layout Plain Layout
40418 \begin_layout Plain Layout
40431 \begin_layout Plain Layout
40439 \begin_inset Phantom Phantom
40442 \begin_layout Plain Layout
40452 \begin_layout Plain Layout
40464 <cell alignment="left" valignment="top" usebox="none">
40467 \begin_layout Plain Layout
40471 \begin_layout Plain Layout
40484 \begin_layout Plain Layout
40492 \begin_inset Phantom Phantom
40495 \begin_layout Plain Layout
40505 \begin_layout Plain Layout
40517 <cell alignment="left" valignment="top" usebox="none">
40520 \begin_layout Plain Layout
40524 \begin_layout Plain Layout
40537 \begin_layout Plain Layout
40545 \begin_inset Phantom Phantom
40548 \begin_layout Plain Layout
40558 \begin_layout Plain Layout
40572 <cell alignment="left" valignment="top" usebox="none">
40575 \begin_layout Plain Layout
40579 \begin_layout Plain Layout
40592 \begin_layout Plain Layout
40600 \begin_inset Phantom Phantom
40603 \begin_layout Plain Layout
40613 \begin_layout Plain Layout
40625 <cell alignment="left" valignment="top" usebox="none">
40628 \begin_layout Plain Layout
40632 \begin_layout Plain Layout
40645 \begin_layout Plain Layout
40653 \begin_inset Phantom Phantom
40656 \begin_layout Plain Layout
40666 \begin_layout Plain Layout
40678 <cell alignment="left" valignment="top" usebox="none">
40681 \begin_layout Plain Layout
40685 \begin_layout Plain Layout
40698 \begin_layout Plain Layout
40706 \begin_inset Phantom Phantom
40709 \begin_layout Plain Layout
40719 \begin_layout Plain Layout
40731 <cell alignment="left" valignment="top" usebox="none">
40734 \begin_layout Plain Layout
40738 \begin_layout Plain Layout
40751 \begin_layout Plain Layout
40759 \begin_inset Phantom Phantom
40762 \begin_layout Plain Layout
40772 \begin_layout Plain Layout
40786 <cell alignment="left" valignment="top" usebox="none">
40789 \begin_layout Plain Layout
40793 \begin_layout Plain Layout
40806 \begin_layout Plain Layout
40814 \begin_inset Phantom Phantom
40817 \begin_layout Plain Layout
40827 \begin_layout Plain Layout
40839 <cell alignment="left" valignment="top" usebox="none">
40842 \begin_layout Plain Layout
40846 \begin_layout Plain Layout
40859 \begin_layout Plain Layout
40867 \begin_inset Phantom Phantom
40870 \begin_layout Plain Layout
40880 \begin_layout Plain Layout
40892 <cell alignment="left" valignment="top" usebox="none">
40895 \begin_layout Plain Layout
40899 \begin_layout Plain Layout
40912 \begin_layout Plain Layout
40920 \begin_inset Phantom Phantom
40923 \begin_layout Plain Layout
40933 \begin_layout Plain Layout
40945 <cell alignment="left" valignment="top" usebox="none">
40948 \begin_layout Plain Layout
40952 \begin_layout Plain Layout
40965 \begin_layout Plain Layout
40973 \begin_inset Phantom Phantom
40976 \begin_layout Plain Layout
40986 \begin_layout Plain Layout
41000 <cell alignment="left" valignment="top" usebox="none">
41003 \begin_layout Plain Layout
41007 \begin_layout Plain Layout
41020 \begin_layout Plain Layout
41028 \begin_inset Phantom Phantom
41031 \begin_layout Plain Layout
41041 \begin_layout Plain Layout
41053 <cell alignment="left" valignment="top" usebox="none">
41056 \begin_layout Plain Layout
41060 \begin_layout Plain Layout
41073 \begin_layout Plain Layout
41081 \begin_inset Phantom Phantom
41084 \begin_layout Plain Layout
41094 \begin_layout Plain Layout
41106 <cell alignment="left" valignment="top" usebox="none">
41109 \begin_layout Plain Layout
41113 \begin_layout Plain Layout
41126 \begin_layout Plain Layout
41134 \begin_inset Phantom Phantom
41137 \begin_layout Plain Layout
41147 \begin_layout Plain Layout
41159 <cell alignment="left" valignment="top" usebox="none">
41162 \begin_layout Plain Layout
41166 \begin_layout Plain Layout
41179 \begin_layout Plain Layout
41187 \begin_inset Phantom Phantom
41190 \begin_layout Plain Layout
41200 \begin_layout Plain Layout
41214 <cell alignment="left" valignment="top" usebox="none">
41217 \begin_layout Plain Layout
41221 \begin_layout Plain Layout
41234 \begin_layout Plain Layout
41242 \begin_inset Phantom Phantom
41245 \begin_layout Plain Layout
41255 \begin_layout Plain Layout
41267 <cell alignment="left" valignment="top" usebox="none">
41270 \begin_layout Plain Layout
41274 \begin_layout Plain Layout
41287 \begin_layout Plain Layout
41295 \begin_inset Phantom Phantom
41298 \begin_layout Plain Layout
41308 \begin_layout Plain Layout
41320 <cell alignment="left" valignment="top" usebox="none">
41323 \begin_layout Plain Layout
41327 \begin_layout Plain Layout
41340 \begin_layout Plain Layout
41348 \begin_inset Phantom Phantom
41351 \begin_layout Plain Layout
41361 \begin_layout Plain Layout
41373 <cell alignment="left" valignment="top" usebox="none">
41376 \begin_layout Plain Layout
41380 \begin_layout Plain Layout
41393 \begin_layout Plain Layout
41401 \begin_inset Phantom Phantom
41404 \begin_layout Plain Layout
41414 \begin_layout Plain Layout
41428 <cell alignment="left" valignment="top" usebox="none">
41431 \begin_layout Plain Layout
41435 \begin_layout Plain Layout
41448 \begin_layout Plain Layout
41456 \begin_inset Phantom Phantom
41459 \begin_layout Plain Layout
41469 \begin_layout Plain Layout
41481 <cell alignment="left" valignment="top" usebox="none">
41484 \begin_layout Plain Layout
41488 \begin_layout Plain Layout
41501 \begin_layout Plain Layout
41509 \begin_inset Phantom Phantom
41512 \begin_layout Plain Layout
41522 \begin_layout Plain Layout
41534 <cell alignment="left" valignment="top" usebox="none">
41537 \begin_layout Plain Layout
41541 \begin_layout Plain Layout
41554 \begin_layout Plain Layout
41562 \begin_inset Phantom Phantom
41565 \begin_layout Plain Layout
41575 \begin_layout Plain Layout
41587 <cell alignment="left" valignment="top" usebox="none">
41590 \begin_layout Plain Layout
41594 \begin_layout Plain Layout
41607 \begin_layout Plain Layout
41615 \begin_inset Phantom Phantom
41618 \begin_layout Plain Layout
41628 \begin_layout Plain Layout
41642 <cell alignment="left" valignment="top" usebox="none">
41645 \begin_layout Plain Layout
41649 \begin_layout Plain Layout
41662 \begin_layout Plain Layout
41670 \begin_inset Phantom Phantom
41673 \begin_layout Plain Layout
41683 \begin_layout Plain Layout
41695 <cell alignment="left" valignment="top" usebox="none">
41698 \begin_layout Plain Layout
41702 \begin_layout Plain Layout
41715 \begin_layout Plain Layout
41723 \begin_inset Phantom Phantom
41726 \begin_layout Plain Layout
41736 \begin_layout Plain Layout
41748 <cell alignment="left" valignment="top" usebox="none">
41751 \begin_layout Plain Layout
41755 \begin_layout Plain Layout
41768 \begin_layout Plain Layout
41776 \begin_inset Phantom Phantom
41779 \begin_layout Plain Layout
41789 \begin_layout Plain Layout
41801 <cell alignment="left" valignment="top" usebox="none">
41804 \begin_layout Plain Layout
41808 \begin_layout Plain Layout
41821 \begin_layout Plain Layout
41829 \begin_inset Phantom Phantom
41832 \begin_layout Plain Layout
41842 \begin_layout Plain Layout
41856 <cell alignment="left" valignment="top" usebox="none">
41859 \begin_layout Plain Layout
41863 \begin_layout Plain Layout
41876 \begin_layout Plain Layout
41884 \begin_inset Phantom Phantom
41887 \begin_layout Plain Layout
41897 \begin_layout Plain Layout
41909 <cell alignment="left" valignment="top" usebox="none">
41912 \begin_layout Plain Layout
41916 \begin_layout Plain Layout
41929 \begin_layout Plain Layout
41937 \begin_inset Phantom Phantom
41940 \begin_layout Plain Layout
41950 \begin_layout Plain Layout
41962 <cell alignment="left" valignment="top" usebox="none">
41965 \begin_layout Plain Layout
41969 \begin_layout Plain Layout
41982 \begin_layout Plain Layout
41990 \begin_inset Phantom Phantom
41993 \begin_layout Plain Layout
42003 \begin_layout Plain Layout
42015 <cell alignment="left" valignment="top" usebox="none">
42018 \begin_layout Plain Layout
42022 \begin_layout Plain Layout
42035 \begin_layout Plain Layout
42043 \begin_inset Phantom Phantom
42046 \begin_layout Plain Layout
42056 \begin_layout Plain Layout
42070 <cell alignment="left" valignment="top" usebox="none">
42073 \begin_layout Plain Layout
42077 \begin_layout Plain Layout
42090 \begin_layout Plain Layout
42098 \begin_inset Phantom Phantom
42101 \begin_layout Plain Layout
42111 \begin_layout Plain Layout
42123 <cell alignment="left" valignment="top" usebox="none">
42126 \begin_layout Plain Layout
42130 \begin_layout Plain Layout
42143 \begin_layout Plain Layout
42151 \begin_inset Phantom Phantom
42154 \begin_layout Plain Layout
42164 \begin_layout Plain Layout
42176 <cell alignment="left" valignment="top" usebox="none">
42179 \begin_layout Plain Layout
42183 \begin_layout Plain Layout
42196 \begin_layout Plain Layout
42204 \begin_inset Phantom Phantom
42207 \begin_layout Plain Layout
42217 \begin_layout Plain Layout
42229 <cell alignment="left" valignment="top" usebox="none">
42232 \begin_layout Plain Layout
42236 \begin_layout Plain Layout
42249 \begin_layout Plain Layout
42257 \begin_inset Phantom Phantom
42260 \begin_layout Plain Layout
42270 \begin_layout Plain Layout
42284 <cell alignment="left" valignment="top" usebox="none">
42287 \begin_layout Plain Layout
42291 \begin_layout Plain Layout
42304 \begin_layout Plain Layout
42312 \begin_inset Phantom Phantom
42315 \begin_layout Plain Layout
42325 \begin_layout Plain Layout
42337 <cell alignment="left" valignment="top" usebox="none">
42340 \begin_layout Plain Layout
42346 <cell alignment="left" valignment="top" usebox="none">
42349 \begin_layout Plain Layout
42355 <cell alignment="left" valignment="top" usebox="none">
42358 \begin_layout Plain Layout
42372 \begin_layout Chapter
42374 \begin_inset CommandInset ref
42381 \begin_inset CommandInset label
42390 \begin_layout Standard
42391 \begin_inset Formula $n$
42395 \begin_inset Formula $W_{\mathrm{tot\,n}}$
42399 \begin_inset Formula
42401 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
42409 \begin_layout Standard
42411 \begin_inset Formula $W_{g\,n}$
42420 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
42421 \begin_inset space \thinspace{}
42431 \begin_inset space \thinspace{}
42437 \begin_layout Standard
42439 \begin_inset CommandInset ref
42441 reference "eq:Wtot_n"
42446 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
42450 \begin_inset Formula
42452 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
42460 \begin_layout Standard
42462 \begin_inset Formula $n$
42466 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
42470 \begin_inset CommandInset ref
42472 reference "eq:Wtot_n"
42477 \begin_inset CommandInset ref
42479 reference "eq:Wtot_mult"
42483 式が等しいものと置けば、必要となる固定幅
42484 \begin_inset Formula $W_{g\,n}$
42488 \begin_inset Formula
42490 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
42498 \begin_layout Bibliography
42499 \labelwidthstring 参考文献
42500 \begin_inset CommandInset bibitem
42501 LatexCommand bibitem
42502 key "latexcompanion"
42506 Frank Mittelbach and Michel Goossens:
42508 The LaTeX Companion Second Edition.
42511 Addison-Wesley, 2004
42514 \begin_layout Bibliography
42515 \labelwidthstring 参考文献
42516 \begin_inset CommandInset bibitem
42517 LatexCommand bibitem
42522 Helmut Kopka and Patrick W.
42525 A Guide to LaTeX Fourth Edition.
42528 Addison-Wesley, 2003
42531 \begin_layout Bibliography
42532 \labelwidthstring 参考文献
42533 \begin_inset CommandInset bibitem
42534 LatexCommand bibitem
42541 LaTeX: A Document Preparation System.
42544 Addison-Wesley, second edition, 1994
42547 \begin_layout Bibliography
42548 \labelwidthstring 参考文献
42549 \begin_inset CommandInset bibitem
42550 LatexCommand bibitem
42558 \begin_inset CommandInset href
42561 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
42568 \begin_inset Index idx
42571 \begin_layout Plain Layout
42572 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
42580 \begin_layout Bibliography
42581 \labelwidthstring 参考文献
42582 \begin_inset CommandInset bibitem
42583 LatexCommand bibitem
42591 \begin_inset CommandInset href
42594 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
42601 \begin_inset Index idx
42604 \begin_layout Plain Layout
42605 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
42613 \begin_layout Bibliography
42614 \labelwidthstring 参考文献
42615 \begin_inset CommandInset bibitem
42616 LatexCommand bibitem
42624 \begin_inset CommandInset href
42627 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
42634 \begin_inset Index idx
42637 \begin_layout Plain Layout
42638 LaTeXぱっけーじ@LaTeXパッケージ ! caption
42646 \begin_layout Bibliography
42647 \labelwidthstring 参考文献
42648 \begin_inset CommandInset bibitem
42649 LatexCommand bibitem
42657 \begin_inset CommandInset href
42660 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
42667 \begin_inset Index idx
42670 \begin_layout Plain Layout
42671 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
42679 \begin_layout Bibliography
42680 \labelwidthstring 参考文献
42681 \begin_inset CommandInset bibitem
42682 LatexCommand bibitem
42690 \begin_inset CommandInset href
42693 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
42700 \begin_inset Index idx
42703 \begin_layout Plain Layout
42704 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
42712 \begin_layout Bibliography
42713 \labelwidthstring 参考文献
42714 \begin_inset CommandInset bibitem
42715 LatexCommand bibitem
42723 \begin_inset CommandInset href
42726 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
42733 \begin_inset Index idx
42736 \begin_layout Plain Layout
42737 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
42745 \begin_layout Bibliography
42746 \labelwidthstring 参考文献
42747 \begin_inset CommandInset bibitem
42748 LatexCommand bibitem
42756 \begin_inset CommandInset href
42759 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
42766 \begin_inset Index idx
42769 \begin_layout Plain Layout
42770 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42778 \begin_layout Bibliography
42779 \labelwidthstring 参考文献
42780 \begin_inset CommandInset bibitem
42781 LatexCommand bibitem
42789 \begin_inset CommandInset href
42792 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
42799 \begin_inset Index idx
42802 \begin_layout Plain Layout
42803 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42811 \begin_layout Bibliography
42812 \labelwidthstring 参考文献
42813 \begin_inset CommandInset bibitem
42814 LatexCommand bibitem
42822 \begin_inset CommandInset href
42825 target "http://mirror.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf"
42832 \begin_inset Index idx
42835 \begin_layout Plain Layout
42836 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
42844 \begin_layout Bibliography
42845 \labelwidthstring 参考文献
42846 \begin_inset CommandInset bibitem
42847 LatexCommand bibitem
42855 \begin_inset CommandInset href
42858 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
42865 \begin_inset CommandInset href
42868 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
42873 \begin_inset Index idx
42876 \begin_layout Plain Layout
42877 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
42885 \begin_layout Bibliography
42886 \labelwidthstring 参考文献
42887 \begin_inset CommandInset bibitem
42888 LatexCommand bibitem
42896 \begin_inset CommandInset href
42899 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
42906 \begin_inset Index idx
42909 \begin_layout Plain Layout
42910 LaTeXぱっけーじ@LaTeXパッケージ ! listings
42918 \begin_layout Bibliography
42919 \labelwidthstring 参考文献
42920 \begin_inset CommandInset bibitem
42921 LatexCommand bibitem
42929 \begin_inset CommandInset href
42932 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
42939 \begin_inset Index idx
42942 \begin_layout Plain Layout
42943 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
42951 \begin_layout Bibliography
42952 \labelwidthstring 参考文献
42953 \begin_inset CommandInset bibitem
42954 LatexCommand bibitem
42962 \begin_inset CommandInset href
42965 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
42972 \begin_inset Index idx
42975 \begin_layout Plain Layout
42976 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
42984 \begin_layout Bibliography
42985 \labelwidthstring 参考文献
42986 \begin_inset CommandInset bibitem
42987 LatexCommand bibitem
42995 \begin_inset CommandInset href
42998 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
43005 \begin_inset Index idx
43008 \begin_layout Plain Layout
43009 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
43017 \begin_layout Bibliography
43018 \labelwidthstring 参考文献
43019 \begin_inset CommandInset bibitem
43020 LatexCommand bibitem
43028 \begin_inset CommandInset href
43031 target "http://tug.org/PSTricks/"
43038 \begin_inset Index idx
43041 \begin_layout Plain Layout
43042 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
43050 \begin_layout Bibliography
43051 \labelwidthstring 参考文献
43052 \begin_inset CommandInset bibitem
43053 LatexCommand bibitem
43061 \begin_inset CommandInset href
43064 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
43071 \begin_inset Index idx
43074 \begin_layout Plain Layout
43075 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
43083 \begin_layout Bibliography
43084 \labelwidthstring 参考文献
43085 \begin_inset CommandInset bibitem
43086 LatexCommand bibitem
43094 \begin_inset CommandInset href
43097 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
43104 \begin_inset Index idx
43107 \begin_layout Plain Layout
43108 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
43116 \begin_layout Bibliography
43117 \labelwidthstring 参考文献
43118 \begin_inset CommandInset bibitem
43119 LatexCommand bibitem
43129 \begin_inset CommandInset href
43132 target "http://wiki.lyx.org/LyX/NewInLyX20"
43139 \begin_layout Standard
43140 \begin_inset CommandInset index_print
43141 LatexCommand printindex