1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
7 %% Added by the translator
8 % Correction for PDF bookmarks
9 %\usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,bookmarkstype=toc]{hyperref}
10 \ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else
11 \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi
17 % set fonts for nicer pdf view
18 \IfFileExists{lmodern.sty}
19 {\usepackage{lmodern}}{}
21 \fi % end if pdflatex is used
23 % that links to image floats jumps
24 % to the beginning of the float and
26 \usepackage[figure]{hypcap}
28 % the pages of the TOC is numbered roman
29 % and a PDF-bookmark for the TOC is added
30 \let\myTOC\tableofcontents
31 \renewcommand\tableofcontents{%
33 \pdfbookmark[1]{\contentsname}{}
37 % provides caption formatting
38 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
40 % provides commands to set caption
41 % beside tables/images
44 \newcommand{\TabBesBeg}{%
46 \let\MyEndtable\endtable
47 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
49 \newcommand{\TabBesEnd}{%
51 \let\endtable\MyEndtable}
53 \newcommand{\FigBesBeg}{%
55 \let\MyEndfigure\endfigure
56 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
58 \newcommand{\FigBesEnd}{%
60 \let\endfigure\MyEndfigure}
62 % enables calculation of values,
65 % increase the bottom float placement fraction
66 \renewcommand{\bottomfraction}{0.5}
68 % avoids that floats are placed before their
69 % corresponding section starts
70 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
72 % speed up the longtable calculation
73 \setcounter{LTchunksize}{100}
75 % used for scaled and rotated boxes
76 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
78 % used for colored tables
79 \@ifundefined{textcolor}
80 {\usepackage{color}}{}
81 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
82 \definecolor{lightgrey}{gray}{0.8}
84 % check for package colortbl
85 % used for colored table cells
87 \IfFileExists{colortbl.sty}
88 {\usepackage{colortbl}
89 \setboolean{colortbl}{true}}
90 {\setboolean{colortbl}{false}}
92 % used for book-style tables
95 % used to have extra space in table cells
96 \@ifundefined{extrarowheight}
97 {\usepackage{array}}{}
98 \setlength{\extrarowheight}{2pt}
100 % used for customized tables
103 {>{\centering\hspace{0pt}}m{#1}}
106 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
109 {>{\columncolor{#1}\hspace{0pt}}c}
111 \newcolumntype{V}{!{\vrule width 1.5pt}}
113 \newcolumntype{W}{!{\color{green}\vline}}
116 % insert additional vertical space of
117 % 1.5 mm between footnotes
119 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
121 % number algorithm floats within chapters
122 \numberwithin{algorithm}{chapter}
125 % ------------------------------------
126 % used to check for needed LaTeX packages
129 % check for package arydshln
130 % used for tables with dashed lines
131 \newboolean{arydshln}
132 \IfFileExists{arydshln.sty}
133 {\usepackage{arydshln}
134 \setboolean{arydshln}{true}}
135 {\setboolean{arydshln}{false}}
137 % check for package marginnote
138 % used for margin notes
139 \newboolean{marginnote}
140 \IfFileExists{marginnote.sty}
141 {\usepackage{marginnote}
142 \let\marginpar\marginnote
143 \setboolean{marginnote}{true}}
144 {\setboolean{marginnote}{false}}
146 % check for package sidecap
147 % used for captions on the side
149 \IfFileExists{sidecap.sty}
150 {\usepackage{sidecap}
151 \setboolean{sidecap}{true}}
152 {\setboolean{sidecap}{false}}
155 % used for surrounded fixed objects
156 \newboolean{picinpar}
157 \IfFileExists{picinpar.sty}
158 {\usepackage{picinpar}
159 \setboolean{picinpar}{true}}
160 {\setboolean{picinpar}{false}}
162 % redefine the \LyX macro for PDF bookmarks
163 \def\LyX{\texorpdfstring{%
164 L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
168 \renewcommand{\seename}{→}
171 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
172 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
174 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
175 \use_default_options false
179 \maintain_unincluded_children false
181 \language_package default
186 \font_typewriter default
187 \font_default_family default
188 \use_non_tex_fonts false
195 \default_output_format default
197 \bibtex_command default
198 \index_command default
202 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
203 \pdf_author "LyX Team, Uwe Stohr"
204 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
205 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
207 \pdf_bookmarksnumbered true
208 \pdf_bookmarksopen true
209 \pdf_bookmarksopenlevel 1
210 \pdf_breaklinks false
214 \pdf_pdfusetitle false
215 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
225 \paperorientation portrait
228 \notefontcolor #0000ff
239 \paragraph_separation skip
241 \quotes_language english
244 \paperpagestyle default
248 \tracking_changes false
249 \output_changes false
252 \html_be_strict false
258 LyXの図表・フロート・注釈・ボックス・外部素材に関する詳細説明書
266 \begin_layout Plain Layout
268 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
269 \begin_inset CommandInset href
271 name "lyx-docs@lists.lyx.org"
272 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
283 \begin_inset Note Note
286 \begin_layout Plain Layout
293 \begin_inset Newline newline
297 \begin_inset Newline newline
305 \begin_layout Standard
306 \begin_inset CommandInset toc
307 LatexCommand tableofcontents
314 \begin_layout Standard
315 \begin_inset Note Note
318 \begin_layout Plain Layout
319 本文書の全体をPDFやPS、DVIに書き出すには、
335 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
339 \begin_layout Plain Layout
341 \begin_inset Newline newline
346 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
349 \begin_inset Newline newline
360 \begin_layout Chapter
362 \begin_inset Index idx
365 \begin_layout Plain Layout
372 \begin_inset Index idx
375 \begin_layout Plain Layout
380 \begin_layout Plain Layout
391 \begin_layout Plain Layout
406 \begin_layout Section
408 \begin_inset Index idx
411 \begin_layout Plain Layout
412 ず@図 ! がぞうだいあろぐ@画像ダイアログ
418 \begin_inset CommandInset label
427 \begin_layout Standard
428 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
429 \begin_inset Graphics
430 filename ../../images/dialog-show-new-inset_graphics.png
438 挿入\SpecialChar \menuseparator
441 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
444 \begin_layout Standard
445 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
448 \begin_layout Description
453 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
454 \begin_inset CommandInset ref
456 reference "cha:LyXで使用できる単位"
461 \begin_inset Newline newline
465 \begin_inset Index idx
468 \begin_layout Plain Layout
474 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
475 \begin_inset Newline newline
479 \begin_inset Index idx
482 \begin_layout Plain Layout
488 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
489 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
493 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
494 \begin_inset Newline newline
497 画像を右クリックすると現れるコンテクストメニューで
501 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
505 \begin_layout Description
510 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
514 ボタンを押すことによって、自動的に計算することもできます。
518 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
521 \begin_layout Description
526 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
529 \begin_inset Newline newline
534 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
537 \begin_inset Newline newline
546 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
548 \begin_inset Newline newline
551 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
552 \begin_inset CommandInset ref
554 reference "sec:PostScript"
558 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
559 \begin_inset Newline newline
567 \begin_inset Newline newline
572 zgrep %%Bounding x.eps.gz > x.eps.bb
575 \begin_inset Newline newline
578 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
579 \begin_inset Newline newline
586 フィールドでは、画像設定グループを定義したり既存のグループに所属させたりすることができます
587 \begin_inset Index idx
590 \begin_layout Plain Layout
591 ず@図 ! せっていぐるーぷ@設定グループ
596 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
597 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
598 ーを使用して、望むグループ名をチェックすることで行うこともできます。
601 \begin_layout Standard
602 \begin_inset VSpace bigskip
608 \begin_layout Standard
613 \begin_layout Plain Layout
615 \begin_inset CommandInset ref
626 の画像の例で、単独の中央揃えの段落に置いてあります。
629 \begin_layout Standard
631 \begin_inset Graphics
632 filename ../clipart/mobius.eps
642 \begin_layout Standard
643 下記は上と同じ画像ですが、下書きモードのものです。
646 \begin_layout Standard
648 \begin_inset Graphics
649 filename ../clipart/mobius.eps
660 \begin_layout Standard
661 \begin_inset Newpage newpage
667 \begin_layout Section
669 \begin_inset CommandInset label
676 \begin_inset Index idx
679 \begin_layout Plain Layout
686 \begin_inset Index idx
689 \begin_layout Plain Layout
698 \begin_layout Standard
700 \begin_inset CommandInset ref
702 reference "sec:フロートはじめに"
709 \begin_layout Standard
711 \begin_inset Graphics
712 filename ../../images/float-insert_figure.png
720 挿入\SpecialChar \menuseparator
721 フロート\SpecialChar \menuseparator
724 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
725 \begin_inset CommandInset ref
727 reference "fig:犠牲のカモノハシ"
731 のようにキャプションの上に置くこともできますし、図
732 \begin_inset CommandInset ref
734 reference "fig:エッシャー"
738 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
739 \begin_inset CommandInset ref
741 reference "sec:キャプションの配置"
748 \begin_layout Standard
749 \begin_inset Float figure
754 \begin_layout Plain Layout
756 \begin_inset Graphics
757 filename ../clipart/platypus.eps
767 \begin_layout Plain Layout
770 \begin_layout Plain Layout
771 \begin_inset CommandInset label
790 \begin_layout Standard
791 \begin_inset Float figure
796 \begin_layout Plain Layout
799 \begin_layout Plain Layout
800 \begin_inset CommandInset label
814 \begin_layout Plain Layout
816 \begin_inset Graphics
817 filename ../clipart/escher-lsd.eps
832 \begin_layout Standard
833 \begin_inset Index idx
836 \begin_layout Plain Layout
837 さんしょう@参照 ! ずへの@図への ---
843 \begin_inset CommandInset ref
845 reference "fig:犠牲のカモノハシ"
850 \begin_inset CommandInset ref
852 reference "fig:エッシャー"
856 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
858 挿入\SpecialChar \menuseparator
862 \begin_inset Graphics
863 filename ../../images/label-insert.png
869 を使用して、キャプションにラベルを挿入してください。その後、
871 挿入\SpecialChar \menuseparator
875 \begin_inset Graphics
876 filename ../../images/dialog-show-new-inset_ref.png
882 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
883 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
884 \begin_inset Newline newline
888 \begin_inset CommandInset ref
890 reference "sec:フロートの参照"
897 \begin_layout Standard
898 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
899 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
900 \begin_inset CommandInset ref
902 reference "fig:歪められた二つの像"
906 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
907 \begin_inset CommandInset ref
909 reference "fig:何かわからない構造"
914 \begin_inset CommandInset ref
916 reference "fig:カモノハシ"
923 \begin_layout Standard
924 \begin_inset Float figure
929 \begin_layout Plain Layout
930 \begin_inset space \hfill{}
934 \begin_inset Float figure
939 \begin_layout Plain Layout
942 \begin_layout Plain Layout
943 \begin_inset CommandInset label
957 \begin_layout Plain Layout
958 \begin_inset Graphics
959 filename ../clipart/escher-lsd.eps
972 \begin_inset space \hfill{}
976 \begin_inset Float figure
981 \begin_layout Plain Layout
984 \begin_layout Plain Layout
985 \begin_inset CommandInset label
999 \begin_layout Plain Layout
1000 \begin_inset Graphics
1001 filename ../clipart/platypus.eps
1014 \begin_inset space \hfill{}
1020 \begin_layout Plain Layout
1021 \begin_inset Caption
1023 \begin_layout Plain Layout
1024 \begin_inset CommandInset label
1026 name "fig:歪められた二つの像"
1030 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1043 \begin_layout Standard
1044 \begin_inset Newpage newpage
1050 \begin_layout Section
1052 \begin_inset CommandInset label
1059 \begin_inset Index idx
1062 \begin_layout Plain Layout
1069 \begin_inset Index idx
1072 \begin_layout Plain Layout
1081 \begin_layout Standard
1082 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1083 \begin_inset CommandInset ref
1085 reference "cha:ファイル出力形式"
1089 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1094 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1095 用するとよいでしょう。出力ファイル書式は、付録
1096 \begin_inset CommandInset ref
1098 reference "cha:ファイル出力形式"
1105 \begin_layout Standard
1106 フォントと同じく、画像形式にも以下の二つの型があります。
1109 \begin_layout Description
1110 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1111 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1116 \begin_inset Index idx
1119 \begin_layout Plain Layout
1124 \begin_layout Plain Layout
1135 \begin_layout Plain Layout
1147 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1152 \begin_inset Index idx
1155 \begin_layout Plain Layout
1160 \begin_layout Plain Layout
1171 \begin_layout Plain Layout
1183 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1192 \begin_inset Index idx
1195 \begin_layout Plain Layout
1200 \begin_layout Plain Layout
1211 \begin_layout Plain Layout
1226 \begin_layout Description
1227 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1228 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1230 \begin_inset Newline newline
1233 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1238 \begin_inset Index idx
1241 \begin_layout Plain Layout
1246 \begin_layout Plain Layout
1257 \begin_layout Plain Layout
1269 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1274 \begin_inset Index idx
1277 \begin_layout Plain Layout
1282 \begin_layout Plain Layout
1293 \begin_layout Plain Layout
1305 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1310 \begin_inset Index idx
1313 \begin_layout Plain Layout
1319 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1324 \begin_inset Index idx
1327 \begin_layout Plain Layout
1332 \begin_layout Plain Layout
1343 \begin_layout Plain Layout
1355 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1356 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1360 \begin_layout Plain Layout
1361 PDFの場合には、さらに元画像が圧縮されます。
1370 が生成するPDFファイルは、ビットマップ画像です。
1373 \begin_layout Standard
1374 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1375 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1376 \begin_inset Formula $\to$
1379 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1382 \begin_layout Chapter
1384 \begin_inset Index idx
1387 \begin_layout Plain Layout
1396 \begin_layout Section
1398 \begin_inset Index idx
1401 \begin_layout Plain Layout
1410 \begin_layout Standard
1421 \begin_inset Graphics
1422 filename ../../images/tabular-insert.png
1436 挿入\SpecialChar \menuseparator
1439 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1440 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1441 \begin_inset Newline newline
1444 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1445 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1448 \begin_layout Standard
1450 \begin_inset Tabular
1451 <lyxtabular version="3" rows="4" columns="4">
1452 <features tabularvalignment="middle">
1453 <column alignment="center" valignment="top" width="0">
1454 <column alignment="center" valignment="top" width="0">
1455 <column alignment="center" valignment="top" width="0">
1456 <column alignment="center" valignment="top" width="0">
1458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1461 \begin_layout Plain Layout
1467 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1470 \begin_layout Plain Layout
1476 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1479 \begin_layout Plain Layout
1485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1488 \begin_layout Plain Layout
1496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1499 \begin_layout Plain Layout
1505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1508 \begin_layout Plain Layout
1514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1517 \begin_layout Plain Layout
1523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1526 \begin_layout Plain Layout
1534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1537 \begin_layout Plain Layout
1543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1546 \begin_layout Plain Layout
1552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1555 \begin_layout Plain Layout
1561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1564 \begin_layout Plain Layout
1572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1575 \begin_layout Plain Layout
1581 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1584 \begin_layout Plain Layout
1590 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1593 \begin_layout Plain Layout
1599 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1602 \begin_layout Plain Layout
1616 \begin_layout Section
1618 \begin_inset Index idx
1621 \begin_layout Plain Layout
1630 \begin_layout Standard
1640 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1641 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1654 を選択するのと、セル自体を選択するのは違うことに注意して下さい。
1655 \begin_inset Newline newline
1662 を使用すると、ダイアログ中に行った変更が直ちに適用されるようになります。カーソルを別のセルに移動すると、ダイアログも新しいセルのパラメーターに更新されます。ダイ
1663 アログ中の長さの値を変更した場合には、リターンを押さないと変更が適用されません。
1664 \begin_inset Newline newline
1667 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1670 \begin_layout Description
1675 ここでは、現在列の幅と水平揃えを設定することができます。
1680 \begin_inset CommandInset ref
1682 reference "sub:特殊なセル揃え"
1686 で説明されています。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関して
1688 \begin_inset CommandInset ref
1694 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1695 \begin_inset Newline newline
1698 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1699 \begin_inset CommandInset ref
1705 節をご参照下さい。あるいは同一列のセルを連結行セルとして指定することもできます。これについては、第
1706 \begin_inset CommandInset ref
1713 \begin_inset Newline newline
1716 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1717 \begin_inset Newline newline
1721 \begin_inset Note Greyedout
1724 \begin_layout Plain Layout
1729 DVIビューアのすべてが回転を表示できるわけではありません。
1735 \begin_inset Newline newline
1738 下記は、本文行中の表に、表全体の垂直揃えを適用したものです。
1739 \begin_inset Newline newline
1743 \begin_inset Tabular
1744 <lyxtabular version="3" rows="2" columns="2">
1745 <features tabularvalignment="top">
1746 <column alignment="center" valignment="top" width="0pt">
1747 <column alignment="center" valignment="top" width="0">
1749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1752 \begin_layout Plain Layout
1758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1761 \begin_layout Plain Layout
1769 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1772 \begin_layout Plain Layout
1778 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1781 \begin_layout Plain Layout
1793 \begin_inset Tabular
1794 <lyxtabular version="3" rows="2" columns="2">
1795 <features tabularvalignment="middle">
1796 <column alignment="center" valignment="top" width="0">
1797 <column alignment="center" valignment="top" width="0">
1799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1802 \begin_layout Plain Layout
1808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1811 \begin_layout Plain Layout
1819 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1822 \begin_layout Plain Layout
1828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1831 \begin_layout Plain Layout
1843 \begin_inset Tabular
1844 <lyxtabular version="3" rows="2" columns="2">
1845 <features tabularvalignment="bottom">
1846 <column alignment="center" valignment="top" width="0pt">
1847 <column alignment="center" valignment="top" width="0">
1849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1852 \begin_layout Plain Layout
1858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1861 \begin_layout Plain Layout
1869 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1872 \begin_layout Plain Layout
1878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1881 \begin_layout Plain Layout
1893 \begin_inset Newline newline
1896 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1897 \begin_inset CommandInset ref
1899 reference "sub:連結列の計算"
1904 \begin_inset CommandInset ref
1906 reference "sec:色付きの表"
1913 \begin_layout Description
1918 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1919 \begin_inset Newline newline
1927 \begin_inset CommandInset ref
1929 reference "sec:フォーマル形式の表"
1933 節に述べられているフォーマル様式の表に表を変換します。
1934 \begin_inset Newline newline
1938 \begin_inset CommandInset ref
1940 reference "sub:行の余白取り"
1944 節に述べられているように、表の行に空白を追加することもできます。
1947 \begin_layout Description
1952 このタブは、複数のページにわたる、いわゆる「
1957 \begin_inset CommandInset ref
1964 \begin_inset CommandInset ref
1966 reference "sec:長尺表にまつわる諸点"
1970 節に、長尺表の機能に関する詳細な説明があります。
1973 \begin_layout Section
1975 \begin_inset Index idx
1978 \begin_layout Plain Layout
1987 \begin_layout Standard
1988 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
1989 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
1992 \begin_layout Standard
1993 ツールバーには、以下のアイコンがあります。
1996 \begin_layout Labeling
1997 \labelwidthstring 00.00.0000
1998 \begin_inset Graphics
1999 filename ../../images/tabular-feature_append-row.png
2004 は、現在セルあるいは選択範囲の下に行を追加します。
2007 \begin_layout Labeling
2008 \labelwidthstring 00.00.0000
2009 \begin_inset Graphics
2010 filename ../../images/tabular-feature_append-column.png
2015 は、現在セルあるいは選択範囲の右に列を追加します。
2018 \begin_layout Labeling
2019 \labelwidthstring 00.00.0000
2020 \begin_inset Graphics
2021 filename ../../images/tabular-feature_delete-row.png
2026 は、現在行あるいは選択範囲行を削除します。
2029 \begin_layout Labeling
2030 \labelwidthstring 00.00.0000
2031 \begin_inset Graphics
2032 filename ../../images/tabular-feature_delete-column.png
2037 は、現在列あるいは選択範囲列を削除します。
2040 \begin_layout Labeling
2041 \labelwidthstring 00.00.0000
2042 \begin_inset Graphics
2043 filename ../../images/tabular-feature_toggle-line-top.png
2048 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2051 \begin_layout Labeling
2052 \labelwidthstring 00.00.0000
2053 \begin_inset Graphics
2054 filename ../../images/tabular-feature_toggle-line-bottom.png
2059 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2062 \begin_layout Labeling
2063 \labelwidthstring 00.00.0000
2064 \begin_inset Graphics
2065 filename ../../images/tabular-feature_toggle-line-left.png
2070 は、 現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2073 \begin_layout Labeling
2074 \labelwidthstring 00.00.0000
2075 \begin_inset Graphics
2076 filename ../../images/tabular-feature_toggle-line-right.png
2081 は、 現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2084 \begin_layout Labeling
2085 \labelwidthstring 00.00.0000
2086 \begin_inset Graphics
2087 filename ../../images/tabular-feature_set-all-lines.png
2092 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2095 \begin_layout Labeling
2096 \labelwidthstring 00.00.0000
2097 \begin_inset Graphics
2098 filename ../../images/tabular-feature_unset-all-lines.png
2103 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2106 \begin_layout Labeling
2107 \labelwidthstring 00.00.0000
2108 \begin_inset Graphics
2109 filename ../../images/tabular-feature_m-align-left.png
2114 は、現在セルあるいは現在列の内容を左揃えにします。
2117 \begin_layout Labeling
2118 \labelwidthstring 00.00.0000
2119 \begin_inset Graphics
2120 filename ../../images/tabular-feature_m-align-center.png
2125 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2128 \begin_layout Labeling
2129 \labelwidthstring 00.00.0000
2130 \begin_inset Graphics
2131 filename ../../images/tabular-feature_m-align-right.png
2136 は、現在セルあるいは現在列の内容を右揃えにします。
2139 \begin_layout Labeling
2140 \labelwidthstring 00.00.0000
2141 \begin_inset Graphics
2142 filename ../../images/tabular-feature_align-decimal.png
2147 は、現在セルの内容を特定文字位置で揃えます。
2150 \begin_layout Labeling
2151 \labelwidthstring 00.00.0000
2152 \begin_inset Graphics
2153 filename ../../images/tabular-feature_m-valign-top.png
2158 は、現在セルの内容を垂直方向上揃えにします。
2161 \begin_layout Labeling
2162 \labelwidthstring 00.00.0000
2163 \begin_inset Graphics
2164 filename ../../images/tabular-feature_m-valign-middle.png
2169 は、現在セルの内容を垂直方向中央揃えにします。
2172 \begin_layout Labeling
2173 \labelwidthstring 00.00.0000
2174 \begin_inset Graphics
2175 filename ../../images/tabular-feature_m-valign-bottom.png
2180 は、現在セルの内容を垂直方向下揃えにします。
2183 \begin_layout Labeling
2184 \labelwidthstring 00.00.0000
2185 \begin_inset Graphics
2186 filename ../../images/tabular-feature_set-rotate-cell.png
2191 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2194 \begin_layout Labeling
2195 \labelwidthstring 00.00.0000
2196 \begin_inset Graphics
2197 filename ../../images/tabular-feature_set-rotate-tabular.png
2202 は、表全体を反時計廻りに90度回転します。
2205 \begin_layout Labeling
2206 \labelwidthstring 00.00.0000
2207 \begin_inset Graphics
2208 filename ../../images/tabular-feature_multicolumn.png
2213 は、現在セルあるいは選択範囲を連結列にします。
2216 \begin_layout Labeling
2217 \labelwidthstring 00.00.0000
2218 \begin_inset Graphics
2219 filename ../../images/tabular-feature_multirow.png
2224 は、現在セルあるいは選択範囲を連結行にします。
2227 \begin_layout Standard
2228 \begin_inset Note Greyedout
2231 \begin_layout Plain Layout
2236 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2244 \begin_layout Section
2246 \begin_inset Index idx
2249 \begin_layout Plain Layout
2250 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2258 \begin_layout Standard
2261 編集\SpecialChar \menuseparator
2264 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2268 \begin_layout Section
2270 \begin_inset CommandInset label
2277 \begin_inset Index idx
2280 \begin_layout Plain Layout
2287 \begin_inset Index idx
2290 \begin_layout Plain Layout
2299 \begin_layout Standard
2301 \begin_inset CommandInset ref
2303 reference "sec:フロートはじめに"
2310 \begin_layout Standard
2311 \begin_inset Float table
2317 \begin_layout Plain Layout
2318 \begin_inset Caption
2320 \begin_layout Plain Layout
2321 \begin_inset CommandInset label
2335 \begin_layout Plain Layout
2337 \begin_inset Tabular
2338 <lyxtabular version="3" rows="3" columns="3">
2339 <features tabularvalignment="middle">
2340 <column alignment="center" valignment="top" width="0pt">
2341 <column alignment="center" valignment="top" width="0pt">
2342 <column alignment="center" valignment="top" width="0pt">
2344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2347 \begin_layout Plain Layout
2362 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2365 \begin_layout Plain Layout
2380 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2383 \begin_layout Plain Layout
2400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2403 \begin_layout Plain Layout
2409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2412 \begin_layout Plain Layout
2418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2421 \begin_layout Plain Layout
2429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2432 \begin_layout Plain Layout
2442 \begin_inset Formula $\int x^{2}dx$
2450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2453 \begin_layout Plain Layout
2463 \begin_inset Formula $\left[\begin{array}{cc}
2474 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2477 \begin_layout Plain Layout
2487 \begin_inset Formula $1+1=2$
2508 \begin_layout Standard
2513 \SpecialChar \menuseparator
2514 フロート\SpecialChar \menuseparator
2519 \begin_inset Graphics
2520 filename ../../images/float-insert_table.png
2529 \begin_layout Standard
2530 フロートは折りたたむことのできるボックスとして表示され、中には「表
2531 \begin_inset space ~
2534 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2537 \begin_layout Standard
2539 \begin_inset space ~
2543 \begin_inset CommandInset ref
2545 reference "tab:表フロート"
2552 \begin_layout Standard
2553 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2554 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2560 \begin_inset Index idx
2563 \begin_layout Plain Layout
2564 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2572 \begin_layout Standard
2578 \begin_layout Standard
2579 というオプションとともにloadコマンドを使って読み込んでください
2583 \begin_layout Plain Layout
2585 \begin_inset CommandInset ref
2587 reference "sec:キャプションの配置"
2597 \begin_inset CommandInset ref
2599 reference "sec:キャプションの書式設定"
2610 \begin_layout Standard
2611 \begin_inset Index idx
2614 \begin_layout Plain Layout
2615 さんしょう@参照 ! ひょうへの@表への
2620 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2622 挿入\SpecialChar \menuseparator
2626 \begin_inset Graphics
2627 filename ../../images/label-insert.png
2633 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2635 \begin_inset Graphics
2636 filename ../../images/dialog-show-new-inset_ref.png
2642 を用いて、このラベルを参照することができます。
2643 \begin_inset Newline newline
2647 \begin_inset CommandInset ref
2649 reference "sec:フロートの参照"
2656 \begin_layout Section
2658 \begin_inset CommandInset label
2665 \begin_inset Index idx
2668 \begin_layout Plain Layout
2675 \begin_inset Index idx
2678 \begin_layout Plain Layout
2679 ひょう@表 ! ちょうしゃくひょう@長尺表
2687 \begin_layout Standard
2688 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2696 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2700 \begin_layout Description
2701 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2728 が定義されているときは、冒頭ページを除きます。
2737 これと区別して、このヘッダは本体ヘッダと呼びます。
2740 \begin_layout Description
2741 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2744 \begin_layout Description
2745 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2772 が定義されているときは、末尾ページを除きます。
2775 \begin_layout Description
2776 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2779 \begin_layout Description
2780 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2781 \begin_inset CommandInset ref
2783 reference "sub:長尺表のキャプション"
2790 \begin_layout Standard
2791 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2794 \begin_layout Standard
2796 \begin_inset Tabular
2797 <lyxtabular version="3" rows="69" columns="3">
2798 <features islongtable="true" longtabularalignment="center">
2799 <column alignment="left" valignment="top" width="0cm">
2800 <column alignment="left" valignment="top" width="0pt">
2801 <column alignment="center" valignment="top" width="0pt">
2802 <row endfirsthead="true">
2803 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2806 \begin_layout Plain Layout
2814 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2817 \begin_layout Plain Layout
2823 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2826 \begin_layout Plain Layout
2833 <row endfirsthead="true">
2834 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2837 \begin_layout Plain Layout
2843 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2846 \begin_layout Plain Layout
2852 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2855 \begin_layout Plain Layout
2864 <row endhead="true">
2865 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2868 \begin_layout Plain Layout
2876 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2879 \begin_layout Plain Layout
2885 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2888 \begin_layout Plain Layout
2895 <row endhead="true">
2896 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2899 \begin_layout Plain Layout
2905 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2908 \begin_layout Plain Layout
2914 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2917 \begin_layout Plain Layout
2926 <row endfoot="true">
2927 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2930 \begin_layout Plain Layout
2936 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2939 \begin_layout Plain Layout
2945 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2948 \begin_layout Plain Layout
2956 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2959 \begin_layout Plain Layout
2967 <cell alignment="center" valignment="top" usebox="none">
2970 \begin_layout Plain Layout
2976 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
2979 \begin_layout Plain Layout
2987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2990 \begin_layout Plain Layout
2998 <cell alignment="center" valignment="top" usebox="none">
3001 \begin_layout Plain Layout
3007 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3010 \begin_layout Plain Layout
3018 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3021 \begin_layout Plain Layout
3029 <cell alignment="center" valignment="top" usebox="none">
3032 \begin_layout Plain Layout
3038 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3041 \begin_layout Plain Layout
3049 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3052 \begin_layout Plain Layout
3060 <cell alignment="center" valignment="top" usebox="none">
3063 \begin_layout Plain Layout
3069 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3072 \begin_layout Plain Layout
3080 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3083 \begin_layout Plain Layout
3091 <cell alignment="center" valignment="top" usebox="none">
3094 \begin_layout Plain Layout
3100 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3103 \begin_layout Plain Layout
3111 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3114 \begin_layout Plain Layout
3122 <cell alignment="center" valignment="top" usebox="none">
3125 \begin_layout Plain Layout
3131 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3134 \begin_layout Plain Layout
3142 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3145 \begin_layout Plain Layout
3153 <cell alignment="center" valignment="top" usebox="none">
3156 \begin_layout Plain Layout
3162 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3165 \begin_layout Plain Layout
3173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3176 \begin_layout Plain Layout
3184 <cell alignment="center" valignment="top" usebox="none">
3187 \begin_layout Plain Layout
3193 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3196 \begin_layout Plain Layout
3204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3207 \begin_layout Plain Layout
3215 <cell alignment="center" valignment="top" usebox="none">
3218 \begin_layout Plain Layout
3224 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3227 \begin_layout Plain Layout
3235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3238 \begin_layout Plain Layout
3246 <cell alignment="center" valignment="top" usebox="none">
3249 \begin_layout Plain Layout
3255 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3258 \begin_layout Plain Layout
3266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3269 \begin_layout Plain Layout
3277 <cell alignment="center" valignment="top" usebox="none">
3280 \begin_layout Plain Layout
3286 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3289 \begin_layout Plain Layout
3297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3300 \begin_layout Plain Layout
3308 <cell alignment="center" valignment="top" usebox="none">
3311 \begin_layout Plain Layout
3317 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3320 \begin_layout Plain Layout
3328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3331 \begin_layout Plain Layout
3339 <cell alignment="center" valignment="top" usebox="none">
3342 \begin_layout Plain Layout
3348 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3351 \begin_layout Plain Layout
3359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3362 \begin_layout Plain Layout
3370 <cell alignment="center" valignment="top" usebox="none">
3373 \begin_layout Plain Layout
3379 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3382 \begin_layout Plain Layout
3390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3393 \begin_layout Plain Layout
3401 <cell alignment="center" valignment="top" usebox="none">
3404 \begin_layout Plain Layout
3410 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3413 \begin_layout Plain Layout
3421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3424 \begin_layout Plain Layout
3432 <cell alignment="center" valignment="top" usebox="none">
3435 \begin_layout Plain Layout
3441 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3444 \begin_layout Plain Layout
3452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3455 \begin_layout Plain Layout
3463 <cell alignment="center" valignment="top" usebox="none">
3466 \begin_layout Plain Layout
3472 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3475 \begin_layout Plain Layout
3483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3486 \begin_layout Plain Layout
3494 <cell alignment="center" valignment="top" usebox="none">
3497 \begin_layout Plain Layout
3503 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3506 \begin_layout Plain Layout
3514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3517 \begin_layout Plain Layout
3525 <cell alignment="center" valignment="top" usebox="none">
3528 \begin_layout Plain Layout
3534 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3537 \begin_layout Plain Layout
3545 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3548 \begin_layout Plain Layout
3556 <cell alignment="center" valignment="top" usebox="none">
3559 \begin_layout Plain Layout
3565 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3568 \begin_layout Plain Layout
3576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3579 \begin_layout Plain Layout
3587 <cell alignment="center" valignment="top" usebox="none">
3590 \begin_layout Plain Layout
3596 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3599 \begin_layout Plain Layout
3607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3610 \begin_layout Plain Layout
3618 <cell alignment="center" valignment="top" usebox="none">
3621 \begin_layout Plain Layout
3627 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3630 \begin_layout Plain Layout
3638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3641 \begin_layout Plain Layout
3649 <cell alignment="center" valignment="top" usebox="none">
3652 \begin_layout Plain Layout
3658 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3661 \begin_layout Plain Layout
3669 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3672 \begin_layout Plain Layout
3680 <cell alignment="center" valignment="top" usebox="none">
3683 \begin_layout Plain Layout
3689 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3692 \begin_layout Plain Layout
3700 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3703 \begin_layout Plain Layout
3711 <cell alignment="center" valignment="top" usebox="none">
3714 \begin_layout Plain Layout
3720 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3723 \begin_layout Plain Layout
3731 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3734 \begin_layout Plain Layout
3742 <cell alignment="center" valignment="top" usebox="none">
3745 \begin_layout Plain Layout
3751 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3754 \begin_layout Plain Layout
3762 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3765 \begin_layout Plain Layout
3773 <cell alignment="center" valignment="top" usebox="none">
3776 \begin_layout Plain Layout
3782 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3785 \begin_layout Plain Layout
3793 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3796 \begin_layout Plain Layout
3804 <cell alignment="center" valignment="top" usebox="none">
3807 \begin_layout Plain Layout
3813 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3816 \begin_layout Plain Layout
3824 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3827 \begin_layout Plain Layout
3835 <cell alignment="center" valignment="top" usebox="none">
3838 \begin_layout Plain Layout
3844 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3847 \begin_layout Plain Layout
3855 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3858 \begin_layout Plain Layout
3866 <cell alignment="center" valignment="top" usebox="none">
3869 \begin_layout Plain Layout
3875 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3878 \begin_layout Plain Layout
3886 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3889 \begin_layout Plain Layout
3897 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3900 \begin_layout Plain Layout
3906 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3909 \begin_layout Plain Layout
3917 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3920 \begin_layout Plain Layout
3926 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3929 \begin_layout Plain Layout
3935 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3938 \begin_layout Plain Layout
3946 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3949 \begin_layout Plain Layout
3957 <cell alignment="center" valignment="top" usebox="none">
3960 \begin_layout Plain Layout
3966 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3969 \begin_layout Plain Layout
3977 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3980 \begin_layout Plain Layout
3988 <cell alignment="center" valignment="top" usebox="none">
3991 \begin_layout Plain Layout
3997 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4000 \begin_layout Plain Layout
4008 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4011 \begin_layout Plain Layout
4019 <cell alignment="center" valignment="top" usebox="none">
4022 \begin_layout Plain Layout
4028 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4031 \begin_layout Plain Layout
4039 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4042 \begin_layout Plain Layout
4050 <cell alignment="center" valignment="top" usebox="none">
4053 \begin_layout Plain Layout
4059 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4062 \begin_layout Plain Layout
4070 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4073 \begin_layout Plain Layout
4081 <cell alignment="center" valignment="top" usebox="none">
4084 \begin_layout Plain Layout
4090 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4093 \begin_layout Plain Layout
4101 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4104 \begin_layout Plain Layout
4112 <cell alignment="center" valignment="top" usebox="none">
4115 \begin_layout Plain Layout
4121 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4124 \begin_layout Plain Layout
4132 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4135 \begin_layout Plain Layout
4143 <cell alignment="center" valignment="top" usebox="none">
4146 \begin_layout Plain Layout
4152 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4155 \begin_layout Plain Layout
4163 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4166 \begin_layout Plain Layout
4174 <cell alignment="center" valignment="top" usebox="none">
4177 \begin_layout Plain Layout
4183 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4186 \begin_layout Plain Layout
4194 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4197 \begin_layout Plain Layout
4205 <cell alignment="center" valignment="top" usebox="none">
4208 \begin_layout Plain Layout
4214 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4217 \begin_layout Plain Layout
4225 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4228 \begin_layout Plain Layout
4236 <cell alignment="center" valignment="top" usebox="none">
4239 \begin_layout Plain Layout
4245 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4248 \begin_layout Plain Layout
4256 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4259 \begin_layout Plain Layout
4267 <cell alignment="center" valignment="top" usebox="none">
4270 \begin_layout Plain Layout
4276 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4279 \begin_layout Plain Layout
4287 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4290 \begin_layout Plain Layout
4298 <cell alignment="center" valignment="top" usebox="none">
4301 \begin_layout Plain Layout
4307 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4310 \begin_layout Plain Layout
4318 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4321 \begin_layout Plain Layout
4329 <cell alignment="center" valignment="top" usebox="none">
4332 \begin_layout Plain Layout
4338 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4341 \begin_layout Plain Layout
4349 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4352 \begin_layout Plain Layout
4360 <cell alignment="center" valignment="top" usebox="none">
4363 \begin_layout Plain Layout
4369 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4372 \begin_layout Plain Layout
4380 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4383 \begin_layout Plain Layout
4391 <cell alignment="center" valignment="top" usebox="none">
4394 \begin_layout Plain Layout
4400 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4403 \begin_layout Plain Layout
4411 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4414 \begin_layout Plain Layout
4422 <cell alignment="center" valignment="top" usebox="none">
4425 \begin_layout Plain Layout
4431 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4434 \begin_layout Plain Layout
4442 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4445 \begin_layout Plain Layout
4453 <cell alignment="center" valignment="top" usebox="none">
4456 \begin_layout Plain Layout
4462 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4465 \begin_layout Plain Layout
4473 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4476 \begin_layout Plain Layout
4484 <cell alignment="center" valignment="top" usebox="none">
4487 \begin_layout Plain Layout
4493 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4496 \begin_layout Plain Layout
4504 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4507 \begin_layout Plain Layout
4515 <cell alignment="center" valignment="top" usebox="none">
4518 \begin_layout Plain Layout
4524 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4527 \begin_layout Plain Layout
4535 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4538 \begin_layout Plain Layout
4546 <cell alignment="center" valignment="top" usebox="none">
4549 \begin_layout Plain Layout
4555 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4558 \begin_layout Plain Layout
4566 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4569 \begin_layout Plain Layout
4577 <cell alignment="center" valignment="top" usebox="none">
4580 \begin_layout Plain Layout
4586 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4589 \begin_layout Plain Layout
4597 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4600 \begin_layout Plain Layout
4608 <cell alignment="center" valignment="top" usebox="none">
4611 \begin_layout Plain Layout
4617 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4620 \begin_layout Plain Layout
4628 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4631 \begin_layout Plain Layout
4639 <cell alignment="center" valignment="top" usebox="none">
4642 \begin_layout Plain Layout
4648 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4651 \begin_layout Plain Layout
4659 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4662 \begin_layout Plain Layout
4670 <cell alignment="center" valignment="top" usebox="none">
4673 \begin_layout Plain Layout
4679 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4682 \begin_layout Plain Layout
4690 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4693 \begin_layout Plain Layout
4701 <cell alignment="center" valignment="top" usebox="none">
4704 \begin_layout Plain Layout
4710 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4713 \begin_layout Plain Layout
4721 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4724 \begin_layout Plain Layout
4732 <cell alignment="center" valignment="top" usebox="none">
4735 \begin_layout Plain Layout
4741 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4744 \begin_layout Plain Layout
4752 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4755 \begin_layout Plain Layout
4763 <cell alignment="center" valignment="top" usebox="none">
4766 \begin_layout Plain Layout
4772 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4775 \begin_layout Plain Layout
4783 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4786 \begin_layout Plain Layout
4794 <cell alignment="center" valignment="top" usebox="none">
4797 \begin_layout Plain Layout
4803 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4806 \begin_layout Plain Layout
4814 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4817 \begin_layout Plain Layout
4825 <cell alignment="center" valignment="top" usebox="none">
4828 \begin_layout Plain Layout
4834 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4837 \begin_layout Plain Layout
4845 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4848 \begin_layout Plain Layout
4856 <cell alignment="center" valignment="top" usebox="none">
4859 \begin_layout Plain Layout
4865 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4868 \begin_layout Plain Layout
4876 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4879 \begin_layout Plain Layout
4887 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4890 \begin_layout Plain Layout
4896 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4899 \begin_layout Plain Layout
4906 <row endlastfoot="true">
4907 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4910 \begin_layout Plain Layout
4916 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4919 \begin_layout Plain Layout
4925 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4928 \begin_layout Plain Layout
4943 \begin_layout Plain Layout
4947 addtocounter{table}{-1}
4953 \begin_inset Note Note
4956 \begin_layout Plain Layout
4958 \begin_inset CommandInset ref
4960 reference "sub:長尺表のキャプション"
4972 \begin_layout Subsection
4974 \begin_inset CommandInset label
4981 \begin_inset Index idx
4984 \begin_layout Plain Layout
4985 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
4993 \begin_layout Standard
4994 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
4995 \begin_inset CommandInset ref
4997 reference "tab:別キャプション"
5004 \begin_layout Subsection
5006 \begin_inset Index idx
5009 \begin_layout Plain Layout
5010 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5018 \begin_layout Standard
5019 表設定ダイアログでは、長尺表の水平揃えを指定することができます。左揃えや右揃えでは、表は直接ページ境界に寄せられます。表と境界の間に余白を加えるには、中央揃えに
5023 \begin_layout Standard
5033 \begin_layout Standard
5034 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5046 の値を変更しなくてはなりません。ここで「値」は、第
5047 \begin_inset CommandInset ref
5053 表に挙げてある単位であれば、どの単位を取ることもできます。
5059 は、左頁余白から長尺表までの水平方向の距離を制御し、
5065 は、右頁余白からの距離を制御します。これらの長さの既定値は
5071 となっており、LyXの水平フィルと同等になっています。
5074 \begin_layout Standard
5091 \begin_layout Plain Layout
5107 \begin_layout Standard
5108 \begin_inset Tabular
5109 <lyxtabular version="3" rows="5" columns="5">
5110 <features islongtable="true" longtabularalignment="center">
5111 <column alignment="center" valignment="top" width="0">
5112 <column alignment="center" valignment="top" width="0">
5113 <column alignment="center" valignment="top" width="0">
5114 <column alignment="center" valignment="top" width="0">
5115 <column alignment="center" valignment="top" width="0">
5117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5120 \begin_layout Plain Layout
5126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5129 \begin_layout Plain Layout
5135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5138 \begin_layout Plain Layout
5144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5147 \begin_layout Plain Layout
5153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5156 \begin_layout Plain Layout
5164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5167 \begin_layout Plain Layout
5173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5176 \begin_layout Plain Layout
5182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5185 \begin_layout Plain Layout
5191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5194 \begin_layout Plain Layout
5200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5203 \begin_layout Plain Layout
5211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5214 \begin_layout Plain Layout
5220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5223 \begin_layout Plain Layout
5229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5232 \begin_layout Plain Layout
5238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5241 \begin_layout Plain Layout
5247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5250 \begin_layout Plain Layout
5258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5261 \begin_layout Plain Layout
5267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5270 \begin_layout Plain Layout
5276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5279 \begin_layout Plain Layout
5285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5288 \begin_layout Plain Layout
5294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5297 \begin_layout Plain Layout
5305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5308 \begin_layout Plain Layout
5314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5317 \begin_layout Plain Layout
5323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5326 \begin_layout Plain Layout
5332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5335 \begin_layout Plain Layout
5341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5344 \begin_layout Plain Layout
5359 \begin_layout Plain Layout
5376 \begin_layout Plain Layout
5380 addtocounter{table}{-1}
5386 \begin_inset Note Note
5389 \begin_layout Plain Layout
5391 \begin_inset CommandInset ref
5393 reference "sub:長尺表のキャプション"
5405 \begin_layout Subsection
5407 \begin_inset Index idx
5410 \begin_layout Plain Layout
5411 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5417 \begin_inset CommandInset label
5419 name "sub:長尺表のキャプション"
5426 \begin_layout Standard
5427 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5428 \begin_inset CommandInset ref
5434 節に述べられているように、ある行で長尺表オプションの
5438 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5441 \begin_layout Standard
5442 以下は、動作を確認するための短い長尺表です。
5445 \begin_layout Standard
5446 \begin_inset Tabular
5447 <lyxtabular version="3" rows="6" columns="5">
5448 <features islongtable="true" longtabularalignment="center">
5449 <column alignment="center" valignment="top" width="0">
5450 <column alignment="center" valignment="top" width="0">
5451 <column alignment="center" valignment="top" width="0">
5452 <column alignment="center" valignment="top" width="0">
5453 <column alignment="center" valignment="top" width="0">
5454 <row caption="true">
5455 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5458 \begin_layout Plain Layout
5459 \begin_inset Caption
5461 \begin_layout Plain Layout
5463 \begin_inset Argument
5466 \begin_layout Plain Layout
5482 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5485 \begin_layout Plain Layout
5491 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5494 \begin_layout Plain Layout
5500 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5503 \begin_layout Plain Layout
5509 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5512 \begin_layout Plain Layout
5520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5523 \begin_layout Plain Layout
5529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5532 \begin_layout Plain Layout
5538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5541 \begin_layout Plain Layout
5547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5550 \begin_layout Plain Layout
5556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5559 \begin_layout Plain Layout
5567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5570 \begin_layout Plain Layout
5576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5579 \begin_layout Plain Layout
5585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5588 \begin_layout Plain Layout
5594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5597 \begin_layout Plain Layout
5603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5606 \begin_layout Plain Layout
5614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5617 \begin_layout Plain Layout
5623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5626 \begin_layout Plain Layout
5632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5635 \begin_layout Plain Layout
5641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5644 \begin_layout Plain Layout
5650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5653 \begin_layout Plain Layout
5661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5664 \begin_layout Plain Layout
5670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5673 \begin_layout Plain Layout
5679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5682 \begin_layout Plain Layout
5688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5691 \begin_layout Plain Layout
5697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5700 \begin_layout Plain Layout
5708 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5711 \begin_layout Plain Layout
5717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5720 \begin_layout Plain Layout
5726 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5729 \begin_layout Plain Layout
5735 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5738 \begin_layout Plain Layout
5744 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5747 \begin_layout Plain Layout
5761 \begin_layout Standard
5762 \begin_inset VSpace medskip
5766 \begin_inset Note Greyedout
5769 \begin_layout Plain Layout
5774 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5775 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5778 \begin_layout Plain Layout
5783 addtocounter{table}{-1}
5786 \begin_layout Plain Layout
5787 というコマンドを挿入する方法があります。
5790 \begin_layout Plain Layout
5791 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5794 \begin_layout Plain Layout
5804 \begin_inset Newline newline
5815 addtocounter{table}{-1}}
5823 \begin_layout Standard
5824 \begin_inset Note Greyedout
5827 \begin_layout Plain Layout
5845 \begin_inset Index idx
5848 \begin_layout Plain Layout
5849 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5854 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5862 \begin_layout Subsubsection
5864 \begin_inset Index idx
5867 \begin_layout Plain Layout
5868 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5876 \begin_layout Standard
5877 \begin_inset Tabular
5878 <lyxtabular version="3" rows="6" columns="5">
5879 <features islongtable="true" longtabularalignment="center">
5880 <column alignment="center" valignment="top" width="0">
5881 <column alignment="center" valignment="top" width="0">
5882 <column alignment="center" valignment="top" width="0">
5883 <column alignment="center" valignment="top" width="0">
5884 <column alignment="center" valignment="top" width="0">
5885 <row caption="true">
5886 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5889 \begin_layout Plain Layout
5890 \begin_inset Caption
5892 \begin_layout Plain Layout
5894 \begin_inset CommandInset label
5910 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5913 \begin_layout Plain Layout
5919 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5922 \begin_layout Plain Layout
5928 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5931 \begin_layout Plain Layout
5937 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5940 \begin_layout Plain Layout
5948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5951 \begin_layout Plain Layout
5957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5960 \begin_layout Plain Layout
5966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5969 \begin_layout Plain Layout
5975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5978 \begin_layout Plain Layout
5984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5987 \begin_layout Plain Layout
5995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5998 \begin_layout Plain Layout
6004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6007 \begin_layout Plain Layout
6013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6016 \begin_layout Plain Layout
6022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6025 \begin_layout Plain Layout
6031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6034 \begin_layout Plain Layout
6042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6045 \begin_layout Plain Layout
6051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6054 \begin_layout Plain Layout
6060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6063 \begin_layout Plain Layout
6069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6072 \begin_layout Plain Layout
6078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6081 \begin_layout Plain Layout
6089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6092 \begin_layout Plain Layout
6098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6101 \begin_layout Plain Layout
6107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6110 \begin_layout Plain Layout
6116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6119 \begin_layout Plain Layout
6125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6128 \begin_layout Plain Layout
6136 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6139 \begin_layout Plain Layout
6145 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6148 \begin_layout Plain Layout
6154 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6157 \begin_layout Plain Layout
6163 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6166 \begin_layout Plain Layout
6172 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6175 \begin_layout Plain Layout
6189 \begin_layout Standard
6190 長尺表を参照するには、キャプションにラベルを挿入してください。
6193 \begin_layout Standard
6195 \begin_inset CommandInset ref
6204 \begin_layout Standard
6205 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6210 \begin_inset Index idx
6213 \begin_layout Plain Layout
6214 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6220 \begin_inset CommandInset ref
6222 reference "sec:キャプションの書式設定"
6229 \begin_layout Subsubsection
6231 \begin_inset Index idx
6234 \begin_layout Plain Layout
6235 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6243 \begin_layout Standard
6250 によって指定することができます。既定値は4
6251 \begin_inset space \thinspace{}
6254 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6257 \begin_layout Standard
6267 \begin_layout Standard
6268 というコマンドを書き加えて下さい。ここで「幅」には、付録
6269 \begin_inset CommandInset ref
6271 reference "cha:LyXで使用できる単位"
6275 に挙げられている単位を取ることができます。
6278 \begin_layout Standard
6282 \begin_layout Standard
6283 \begin_inset Tabular
6284 <lyxtabular version="3" rows="6" columns="5">
6285 <features islongtable="true" longtabularalignment="center">
6286 <column alignment="center" valignment="top" width="0">
6287 <column alignment="center" valignment="top" width="0">
6288 <column alignment="center" valignment="top" width="0">
6289 <column alignment="center" valignment="top" width="0">
6290 <column alignment="center" valignment="top" width="0">
6291 <row caption="true">
6292 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6295 \begin_layout Plain Layout
6296 \begin_inset Caption
6298 \begin_layout Plain Layout
6299 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6300 \begin_inset Argument
6303 \begin_layout Plain Layout
6319 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6322 \begin_layout Plain Layout
6328 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6331 \begin_layout Plain Layout
6337 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6340 \begin_layout Plain Layout
6346 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6349 \begin_layout Plain Layout
6357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6360 \begin_layout Plain Layout
6366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6369 \begin_layout Plain Layout
6375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6378 \begin_layout Plain Layout
6384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6387 \begin_layout Plain Layout
6393 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6396 \begin_layout Plain Layout
6404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6407 \begin_layout Plain Layout
6413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6416 \begin_layout Plain Layout
6422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6425 \begin_layout Plain Layout
6431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6434 \begin_layout Plain Layout
6440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6443 \begin_layout Plain Layout
6451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6454 \begin_layout Plain Layout
6460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6463 \begin_layout Plain Layout
6469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6472 \begin_layout Plain Layout
6478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6481 \begin_layout Plain Layout
6487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6490 \begin_layout Plain Layout
6498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6501 \begin_layout Plain Layout
6507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6510 \begin_layout Plain Layout
6516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6519 \begin_layout Plain Layout
6525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6528 \begin_layout Plain Layout
6534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6537 \begin_layout Plain Layout
6545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6548 \begin_layout Plain Layout
6554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6557 \begin_layout Plain Layout
6563 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6566 \begin_layout Plain Layout
6572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6575 \begin_layout Plain Layout
6581 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6584 \begin_layout Plain Layout
6598 \begin_layout Standard
6602 \begin_layout Plain Layout
6614 \begin_inset Tabular
6615 <lyxtabular version="3" rows="6" columns="5">
6616 <features islongtable="true" longtabularalignment="center">
6617 <column alignment="center" valignment="top" width="0">
6618 <column alignment="center" valignment="top" width="0">
6619 <column alignment="center" valignment="top" width="0">
6620 <column alignment="center" valignment="top" width="0">
6621 <column alignment="center" valignment="top" width="0">
6622 <row caption="true">
6623 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6626 \begin_layout Plain Layout
6627 \begin_inset Caption
6629 \begin_layout Plain Layout
6631 \begin_inset space \thinspace{}
6635 \begin_inset space \thinspace{}
6639 \begin_inset space \thinspace{}
6643 \begin_inset Argument
6646 \begin_layout Plain Layout
6648 \begin_inset space \thinspace{}
6666 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6669 \begin_layout Plain Layout
6675 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6678 \begin_layout Plain Layout
6684 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6687 \begin_layout Plain Layout
6693 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6696 \begin_layout Plain Layout
6704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6707 \begin_layout Plain Layout
6713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6716 \begin_layout Plain Layout
6722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6725 \begin_layout Plain Layout
6731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6734 \begin_layout Plain Layout
6740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6743 \begin_layout Plain Layout
6751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6754 \begin_layout Plain Layout
6760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6763 \begin_layout Plain Layout
6769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6772 \begin_layout Plain Layout
6778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6781 \begin_layout Plain Layout
6787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6790 \begin_layout Plain Layout
6798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6801 \begin_layout Plain Layout
6807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6810 \begin_layout Plain Layout
6816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6819 \begin_layout Plain Layout
6825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6828 \begin_layout Plain Layout
6834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6837 \begin_layout Plain Layout
6845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6848 \begin_layout Plain Layout
6854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6857 \begin_layout Plain Layout
6863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6866 \begin_layout Plain Layout
6872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6875 \begin_layout Plain Layout
6881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6884 \begin_layout Plain Layout
6892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6895 \begin_layout Plain Layout
6901 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6904 \begin_layout Plain Layout
6910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6913 \begin_layout Plain Layout
6919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6922 \begin_layout Plain Layout
6928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6931 \begin_layout Plain Layout
6945 \begin_layout Standard
6949 \begin_layout Plain Layout
6963 \begin_layout Standard
6964 \begin_inset Note Greyedout
6967 \begin_layout Plain Layout
6977 \begin_inset Index idx
6980 \begin_layout Plain Layout
6981 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6993 \begin_inset space \thinspace{}
6996 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
6997 \begin_inset space \thinspace{}
7000 in幅のキャプションを作るには、3.99
7001 \begin_inset space \thinspace{}
7005 \begin_inset space \thinspace{}
7016 captionsetup{width=値}
7018 というLaTeXコマンドを用いる方法があります。
7026 \begin_layout Subsubsection
7028 \begin_inset Index idx
7031 \begin_layout Plain Layout
7032 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7040 \begin_layout Standard
7041 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
7044 \begin_layout Standard
7056 \begin_layout Standard
7057 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
7058 \begin_inset CommandInset ref
7060 reference "tab:別キャプション"
7064 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7067 \begin_layout Standard
7069 \begin_inset Tabular
7070 <lyxtabular version="3" rows="59" columns="3">
7071 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7072 <column alignment="left" valignment="top" width="0cm">
7073 <column alignment="left" valignment="top" width="0pt">
7074 <column alignment="center" valignment="top" width="0pt">
7075 <row caption="true">
7076 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7079 \begin_layout Plain Layout
7080 \begin_inset Caption
7082 \begin_layout Plain Layout
7084 \begin_inset CommandInset label
7091 \begin_inset Argument
7094 \begin_layout Plain Layout
7110 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7113 \begin_layout Plain Layout
7119 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7122 \begin_layout Plain Layout
7129 <row endfirsthead="true">
7130 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7133 \begin_layout Plain Layout
7141 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7144 \begin_layout Plain Layout
7150 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7153 \begin_layout Plain Layout
7160 <row endfirsthead="true">
7161 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7164 \begin_layout Plain Layout
7172 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7175 \begin_layout Plain Layout
7181 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7184 \begin_layout Plain Layout
7193 <row endhead="true">
7194 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7197 \begin_layout Plain Layout
7201 \begin_layout Plain Layout
7219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7222 \begin_layout Plain Layout
7228 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7231 \begin_layout Plain Layout
7238 <row endhead="true">
7239 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7242 \begin_layout Plain Layout
7250 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7253 \begin_layout Plain Layout
7259 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7262 \begin_layout Plain Layout
7269 <row endhead="true">
7270 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7273 \begin_layout Plain Layout
7281 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7284 \begin_layout Plain Layout
7290 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7293 \begin_layout Plain Layout
7302 <row endfoot="true">
7303 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7306 \begin_layout Plain Layout
7312 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7315 \begin_layout Plain Layout
7321 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7324 \begin_layout Plain Layout
7332 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7335 \begin_layout Plain Layout
7343 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7346 \begin_layout Plain Layout
7352 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7355 \begin_layout Plain Layout
7363 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7366 \begin_layout Plain Layout
7374 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7377 \begin_layout Plain Layout
7383 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7386 \begin_layout Plain Layout
7394 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7397 \begin_layout Plain Layout
7405 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7408 \begin_layout Plain Layout
7414 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7417 \begin_layout Plain Layout
7425 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7428 \begin_layout Plain Layout
7436 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7439 \begin_layout Plain Layout
7445 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7448 \begin_layout Plain Layout
7456 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7459 \begin_layout Plain Layout
7467 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7470 \begin_layout Plain Layout
7476 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7479 \begin_layout Plain Layout
7487 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7490 \begin_layout Plain Layout
7498 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7501 \begin_layout Plain Layout
7507 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7510 \begin_layout Plain Layout
7518 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7521 \begin_layout Plain Layout
7529 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7532 \begin_layout Plain Layout
7538 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7541 \begin_layout Plain Layout
7549 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7552 \begin_layout Plain Layout
7560 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7563 \begin_layout Plain Layout
7569 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7572 \begin_layout Plain Layout
7580 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7583 \begin_layout Plain Layout
7591 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7594 \begin_layout Plain Layout
7600 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7603 \begin_layout Plain Layout
7611 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7614 \begin_layout Plain Layout
7622 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7625 \begin_layout Plain Layout
7631 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7634 \begin_layout Plain Layout
7642 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7645 \begin_layout Plain Layout
7653 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7656 \begin_layout Plain Layout
7662 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7665 \begin_layout Plain Layout
7673 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7676 \begin_layout Plain Layout
7684 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7687 \begin_layout Plain Layout
7693 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7696 \begin_layout Plain Layout
7704 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7707 \begin_layout Plain Layout
7715 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7718 \begin_layout Plain Layout
7724 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7727 \begin_layout Plain Layout
7735 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7738 \begin_layout Plain Layout
7746 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7749 \begin_layout Plain Layout
7755 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7758 \begin_layout Plain Layout
7766 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7769 \begin_layout Plain Layout
7778 \begin_layout Plain Layout
7789 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7792 \begin_layout Plain Layout
7798 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7801 \begin_layout Plain Layout
7809 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7812 \begin_layout Plain Layout
7820 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7823 \begin_layout Plain Layout
7829 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7832 \begin_layout Plain Layout
7840 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7843 \begin_layout Plain Layout
7851 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7854 \begin_layout Plain Layout
7860 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7863 \begin_layout Plain Layout
7871 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7874 \begin_layout Plain Layout
7882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7885 \begin_layout Plain Layout
7891 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7894 \begin_layout Plain Layout
7902 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7905 \begin_layout Plain Layout
7913 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7916 \begin_layout Plain Layout
7922 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7925 \begin_layout Plain Layout
7933 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7936 \begin_layout Plain Layout
7944 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7947 \begin_layout Plain Layout
7953 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7956 \begin_layout Plain Layout
7964 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7967 \begin_layout Plain Layout
7975 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7978 \begin_layout Plain Layout
7984 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7987 \begin_layout Plain Layout
7995 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7998 \begin_layout Plain Layout
8006 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8009 \begin_layout Plain Layout
8015 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8018 \begin_layout Plain Layout
8026 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8029 \begin_layout Plain Layout
8037 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8040 \begin_layout Plain Layout
8046 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8049 \begin_layout Plain Layout
8057 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8060 \begin_layout Plain Layout
8068 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8071 \begin_layout Plain Layout
8077 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8080 \begin_layout Plain Layout
8088 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8091 \begin_layout Plain Layout
8099 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8102 \begin_layout Plain Layout
8108 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8111 \begin_layout Plain Layout
8119 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8122 \begin_layout Plain Layout
8130 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8133 \begin_layout Plain Layout
8139 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8142 \begin_layout Plain Layout
8150 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8153 \begin_layout Plain Layout
8161 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8164 \begin_layout Plain Layout
8170 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8173 \begin_layout Plain Layout
8181 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8184 \begin_layout Plain Layout
8192 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8195 \begin_layout Plain Layout
8201 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8204 \begin_layout Plain Layout
8212 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8215 \begin_layout Plain Layout
8223 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8226 \begin_layout Plain Layout
8232 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8235 \begin_layout Plain Layout
8243 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8246 \begin_layout Plain Layout
8254 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8257 \begin_layout Plain Layout
8263 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8266 \begin_layout Plain Layout
8274 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8277 \begin_layout Plain Layout
8285 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8288 \begin_layout Plain Layout
8294 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8297 \begin_layout Plain Layout
8305 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8308 \begin_layout Plain Layout
8314 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8317 \begin_layout Plain Layout
8323 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8326 \begin_layout Plain Layout
8334 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8337 \begin_layout Plain Layout
8345 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8348 \begin_layout Plain Layout
8354 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8357 \begin_layout Plain Layout
8365 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8368 \begin_layout Plain Layout
8376 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8379 \begin_layout Plain Layout
8385 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8388 \begin_layout Plain Layout
8396 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8399 \begin_layout Plain Layout
8407 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8410 \begin_layout Plain Layout
8416 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8419 \begin_layout Plain Layout
8427 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8430 \begin_layout Plain Layout
8438 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8441 \begin_layout Plain Layout
8447 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8450 \begin_layout Plain Layout
8458 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8461 \begin_layout Plain Layout
8469 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8472 \begin_layout Plain Layout
8478 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8481 \begin_layout Plain Layout
8489 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8492 \begin_layout Plain Layout
8500 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8503 \begin_layout Plain Layout
8509 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8512 \begin_layout Plain Layout
8520 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8523 \begin_layout Plain Layout
8531 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8534 \begin_layout Plain Layout
8540 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8543 \begin_layout Plain Layout
8551 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8554 \begin_layout Plain Layout
8562 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8565 \begin_layout Plain Layout
8571 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8574 \begin_layout Plain Layout
8582 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8585 \begin_layout Plain Layout
8593 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8596 \begin_layout Plain Layout
8602 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8605 \begin_layout Plain Layout
8613 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8616 \begin_layout Plain Layout
8624 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8627 \begin_layout Plain Layout
8633 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8636 \begin_layout Plain Layout
8644 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8647 \begin_layout Plain Layout
8655 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8658 \begin_layout Plain Layout
8664 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8667 \begin_layout Plain Layout
8675 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8678 \begin_layout Plain Layout
8686 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8689 \begin_layout Plain Layout
8695 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8698 \begin_layout Plain Layout
8706 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8709 \begin_layout Plain Layout
8717 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8720 \begin_layout Plain Layout
8726 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8729 \begin_layout Plain Layout
8737 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8740 \begin_layout Plain Layout
8748 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8751 \begin_layout Plain Layout
8757 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8760 \begin_layout Plain Layout
8768 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8771 \begin_layout Plain Layout
8779 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8782 \begin_layout Plain Layout
8788 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8791 \begin_layout Plain Layout
8799 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8802 \begin_layout Plain Layout
8810 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8813 \begin_layout Plain Layout
8819 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8822 \begin_layout Plain Layout
8830 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8833 \begin_layout Plain Layout
8841 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8844 \begin_layout Plain Layout
8850 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8853 \begin_layout Plain Layout
8861 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8864 \begin_layout Plain Layout
8872 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8875 \begin_layout Plain Layout
8881 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8884 \begin_layout Plain Layout
8892 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8895 \begin_layout Plain Layout
8903 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8906 \begin_layout Plain Layout
8912 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8915 \begin_layout Plain Layout
8923 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8926 \begin_layout Plain Layout
8934 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8937 \begin_layout Plain Layout
8943 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8946 \begin_layout Plain Layout
8960 \begin_layout Section
8962 \begin_inset CommandInset label
8964 name "sec:長尺表にまつわる諸点"
8971 \begin_layout Subsection
8973 \begin_inset Index idx
8976 \begin_layout Plain Layout
8977 ちょうしゃくひょう@長尺表 ! けいさん@計算
8985 \begin_layout Standard
8986 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
8987 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
8990 \begin_layout Standard
8995 setcounter{LTchunksize}{100}
8998 \begin_layout Standard
8999 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9002 \begin_layout Subsection
9004 \begin_inset Index idx
9007 \begin_layout Plain Layout
9008 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9016 \begin_layout Standard
9017 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9023 コマンドを長尺表の前にTeXコードとして書き加えてください。
9026 \begin_layout Subsection
9028 \begin_inset Index idx
9031 \begin_layout Plain Layout
9032 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9040 \begin_layout Standard
9041 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9058 コマンドの前には、現セルよりも右にある列数と同じ数の「
9062 」文字を、TeXコードで挿入してやる必要があります。この
9070 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9071 \begin_inset Newline newline
9082 コマンドの後ろには、現在列の左側にある列数と同じ数の
9087 \begin_inset CommandInset ref
9089 reference "tab:強制改頁"
9093 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9096 \begin_layout Standard
9106 \begin_inset Newline newline
9112 \begin_layout Standard
9117 」の後にTeXコードとして挿入してあります。
9120 \begin_layout Standard
9121 同一行3列目の「111」は削除してあります。
9127 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9128 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9131 \begin_layout Standard
9139 \begin_inset Newline newline
9147 \begin_layout Standard
9151 \begin_layout Standard
9152 改頁をしたいセルが最右列にある場合には、
9155 \begin_layout Standard
9165 \begin_layout Standard
9166 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9170 \begin_layout Standard
9172 \begin_inset Tabular
9173 <lyxtabular version="3" rows="38" columns="3">
9174 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9175 <column alignment="left" valignment="top" width="0cm">
9176 <column alignment="left" valignment="top" width="3cm">
9177 <column alignment="center" valignment="top" width="0pt">
9178 <row caption="true">
9179 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9182 \begin_layout Plain Layout
9183 \begin_inset Caption
9185 \begin_layout Plain Layout
9187 \begin_inset CommandInset label
9194 \begin_inset Argument
9197 \begin_layout Plain Layout
9213 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9216 \begin_layout Plain Layout
9222 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9225 \begin_layout Plain Layout
9232 <row endfirsthead="true">
9233 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9236 \begin_layout Plain Layout
9244 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9247 \begin_layout Plain Layout
9253 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9256 \begin_layout Plain Layout
9263 <row endfirsthead="true">
9264 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9267 \begin_layout Plain Layout
9275 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9278 \begin_layout Plain Layout
9284 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9287 \begin_layout Plain Layout
9296 <row endhead="true">
9297 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9300 \begin_layout Plain Layout
9304 \begin_layout Plain Layout
9322 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9325 \begin_layout Plain Layout
9331 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9334 \begin_layout Plain Layout
9341 <row endhead="true">
9342 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9345 \begin_layout Plain Layout
9351 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9354 \begin_layout Plain Layout
9360 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9363 \begin_layout Plain Layout
9370 <row endhead="true">
9371 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9374 \begin_layout Plain Layout
9382 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9385 \begin_layout Plain Layout
9391 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9394 \begin_layout Plain Layout
9403 <row endfoot="true">
9404 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9407 \begin_layout Plain Layout
9413 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9416 \begin_layout Plain Layout
9422 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9425 \begin_layout Plain Layout
9433 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9436 \begin_layout Plain Layout
9444 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9447 \begin_layout Plain Layout
9453 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9456 \begin_layout Plain Layout
9464 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9467 \begin_layout Plain Layout
9475 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9478 \begin_layout Plain Layout
9484 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9487 \begin_layout Plain Layout
9495 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9498 \begin_layout Plain Layout
9506 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9509 \begin_layout Plain Layout
9515 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9518 \begin_layout Plain Layout
9526 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9529 \begin_layout Plain Layout
9537 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9540 \begin_layout Plain Layout
9546 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9549 \begin_layout Plain Layout
9557 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9560 \begin_layout Plain Layout
9568 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9571 \begin_layout Plain Layout
9577 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9580 \begin_layout Plain Layout
9588 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9591 \begin_layout Plain Layout
9599 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9602 \begin_layout Plain Layout
9608 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9611 \begin_layout Plain Layout
9619 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9622 \begin_layout Plain Layout
9630 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9633 \begin_layout Plain Layout
9639 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9642 \begin_layout Plain Layout
9650 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9653 \begin_layout Plain Layout
9661 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9664 \begin_layout Plain Layout
9670 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9673 \begin_layout Plain Layout
9681 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9684 \begin_layout Plain Layout
9692 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9695 \begin_layout Plain Layout
9701 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9704 \begin_layout Plain Layout
9712 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9715 \begin_layout Plain Layout
9723 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9726 \begin_layout Plain Layout
9732 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9735 \begin_layout Plain Layout
9743 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9746 \begin_layout Plain Layout
9754 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9757 \begin_layout Plain Layout
9763 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9766 \begin_layout Plain Layout
9774 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9777 \begin_layout Plain Layout
9785 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9788 \begin_layout Plain Layout
9794 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9797 \begin_layout Plain Layout
9805 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9808 \begin_layout Plain Layout
9816 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9819 \begin_layout Plain Layout
9825 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9828 \begin_layout Plain Layout
9836 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9839 \begin_layout Plain Layout
9847 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9850 \begin_layout Plain Layout
9856 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9859 \begin_layout Plain Layout
9867 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9870 \begin_layout Plain Layout
9878 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9881 \begin_layout Plain Layout
9887 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9890 \begin_layout Plain Layout
9898 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9901 \begin_layout Plain Layout
9909 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9912 \begin_layout Plain Layout
9918 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9921 \begin_layout Plain Layout
9929 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9932 \begin_layout Plain Layout
9940 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9943 \begin_layout Plain Layout
9949 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9952 \begin_layout Plain Layout
9960 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9963 \begin_layout Plain Layout
9971 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9974 \begin_layout Plain Layout
9980 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9983 \begin_layout Plain Layout
9991 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9994 \begin_layout Plain Layout
10002 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10005 \begin_layout Plain Layout
10011 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10014 \begin_layout Plain Layout
10022 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10025 \begin_layout Plain Layout
10033 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10036 \begin_layout Plain Layout
10042 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10045 \begin_layout Plain Layout
10053 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10056 \begin_layout Plain Layout
10064 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10067 \begin_layout Plain Layout
10073 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10076 \begin_layout Plain Layout
10084 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10087 \begin_layout Plain Layout
10095 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10098 \begin_layout Plain Layout
10104 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10107 \begin_layout Plain Layout
10115 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10118 \begin_layout Plain Layout
10126 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10129 \begin_layout Plain Layout
10131 Fürst von Montecompatri, 11.
10132 Fürst von Sulmona und Vivaro, 10.
10133 Fürst von Rossano, 5.
10134 Herzog von Canemorte, 11.
10135 Herzog von Palombara, 5.
10136 Herzog von Castelchiodato,
10140 \begin_layout Plain Layout
10151 \begin_layout Plain Layout
10159 Herzog von Poggionativo, 11.
10160 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10161 Graf von Valinfreda, 11.
10162 Baron von Cropalati, 11.
10163 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10168 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10171 \begin_layout Plain Layout
10179 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10182 \begin_layout Plain Layout
10190 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10193 \begin_layout Plain Layout
10199 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10202 \begin_layout Plain Layout
10210 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10213 \begin_layout Plain Layout
10221 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10224 \begin_layout Plain Layout
10230 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10233 \begin_layout Plain Layout
10241 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10244 \begin_layout Plain Layout
10252 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10255 \begin_layout Plain Layout
10261 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10264 \begin_layout Plain Layout
10272 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10275 \begin_layout Plain Layout
10283 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10286 \begin_layout Plain Layout
10292 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10295 \begin_layout Plain Layout
10303 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10306 \begin_layout Plain Layout
10314 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10317 \begin_layout Plain Layout
10323 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10326 \begin_layout Plain Layout
10334 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10337 \begin_layout Plain Layout
10345 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10348 \begin_layout Plain Layout
10354 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10357 \begin_layout Plain Layout
10365 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10368 \begin_layout Plain Layout
10376 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10379 \begin_layout Plain Layout
10385 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10388 \begin_layout Plain Layout
10396 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10399 \begin_layout Plain Layout
10407 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10410 \begin_layout Plain Layout
10416 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10419 \begin_layout Plain Layout
10433 \begin_layout Section
10437 \begin_layout Subsection
10439 \begin_inset CommandInset label
10446 \begin_inset Index idx
10449 \begin_layout Plain Layout
10450 ひょうせるないのふくすうぎょう@表セル内の複数行
10456 \begin_inset Index idx
10459 \begin_layout Plain Layout
10468 \begin_layout Standard
10470 \begin_inset Float table
10476 \begin_layout Plain Layout
10477 \begin_inset Caption
10479 \begin_layout Plain Layout
10480 \begin_inset CommandInset label
10494 \begin_layout Plain Layout
10496 \begin_inset Tabular
10497 <lyxtabular version="3" rows="3" columns="3">
10498 <features tabularvalignment="middle">
10499 <column alignment="center" valignment="middle" width="2.5cm">
10500 <column alignment="center" valignment="middle" width="0">
10501 <column alignment="center" valignment="middle" width="0">
10503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10506 \begin_layout Plain Layout
10508 \begin_inset Newline linebreak
10516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10519 \begin_layout Plain Layout
10525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10528 \begin_layout Plain Layout
10536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10539 \begin_layout Plain Layout
10545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10548 \begin_layout Plain Layout
10554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10557 \begin_layout Plain Layout
10565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10568 \begin_layout Plain Layout
10574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10577 \begin_layout Plain Layout
10583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10586 \begin_layout Plain Layout
10605 \begin_layout Standard
10606 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10609 \begin_layout Standard
10611 \begin_inset CommandInset ref
10613 reference "tab:複数行表"
10617 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10621 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10622 \begin_inset space \thinspace{}
10625 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10626 \begin_inset space \thinspace{}
10629 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10632 arg "newline-insert linebreak"
10635 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10638 \begin_layout Standard
10639 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10640 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10641 \begin_inset space \thinspace{}
10644 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10645 \begin_inset CommandInset ref
10647 reference "tab:ハイフネーション表"
10655 \begin_layout Plain Layout
10660 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10668 \begin_layout Standard
10669 \begin_inset Float table
10675 \begin_layout Plain Layout
10676 \begin_inset Caption
10678 \begin_layout Plain Layout
10679 \begin_inset CommandInset label
10681 name "tab:ハイフネーション表"
10693 \begin_layout Plain Layout
10694 \begin_inset space \hfill{}
10698 \begin_inset Tabular
10699 <lyxtabular version="3" rows="3" columns="3">
10700 <features tabularvalignment="middle">
10701 <column alignment="center" valignment="middle" width="2.5cm">
10702 <column alignment="center" valignment="middle" width="0">
10703 <column alignment="center" valignment="middle" width="0">
10705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10708 \begin_layout Plain Layout
10709 verylongtablecellword
10714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10717 \begin_layout Plain Layout
10723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10726 \begin_layout Plain Layout
10734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10737 \begin_layout Plain Layout
10743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10746 \begin_layout Plain Layout
10752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10755 \begin_layout Plain Layout
10763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10766 \begin_layout Plain Layout
10772 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10775 \begin_layout Plain Layout
10781 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10784 \begin_layout Plain Layout
10796 \begin_inset space \hfill{}
10800 \begin_inset Tabular
10801 <lyxtabular version="3" rows="3" columns="3">
10802 <features tabularvalignment="middle">
10803 <column alignment="center" valignment="middle" width="2.5cm">
10804 <column alignment="center" valignment="middle" width="0">
10805 <column alignment="center" valignment="middle" width="0">
10807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10810 \begin_layout Plain Layout
10811 \begin_inset space \hspace{}
10815 verylongtablecellword
10820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10823 \begin_layout Plain Layout
10829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10832 \begin_layout Plain Layout
10840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10843 \begin_layout Plain Layout
10849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10852 \begin_layout Plain Layout
10858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10861 \begin_layout Plain Layout
10869 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10872 \begin_layout Plain Layout
10878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10881 \begin_layout Plain Layout
10887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10890 \begin_layout Plain Layout
10902 \begin_inset space \hfill{}
10913 \begin_layout Subsection
10915 \begin_inset CommandInset label
10922 \begin_inset Index idx
10925 \begin_layout Plain Layout
10932 \begin_inset Index idx
10935 \begin_layout Plain Layout
10944 \begin_layout Subsubsection
10948 \begin_layout Standard
10949 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
10950 \begin_inset Graphics
10951 filename ../../images/tabular-feature_multicolumn.png
10953 scaleBeforeRotation
10959 編集\SpecialChar \menuseparator
10960 表\SpecialChar \menuseparator
10963 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
10970 \begin_layout Standard
10971 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
10972 、最下行に上罫線のない連結行がある表の例です。
10975 \begin_layout Standard
10977 \begin_inset Tabular
10978 <lyxtabular version="3" rows="3" columns="4">
10979 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
10980 <column alignment="center" valignment="top" width="0pt">
10981 <column alignment="center" valignment="middle" width="0">
10982 <column alignment="center" valignment="top" width="0in">
10983 <column alignment="center" valignment="top" width="0pt">
10985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10988 \begin_layout Plain Layout
10994 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10997 \begin_layout Plain Layout
11003 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11006 \begin_layout Plain Layout
11012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11015 \begin_layout Plain Layout
11023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11026 \begin_layout Plain Layout
11032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11035 \begin_layout Plain Layout
11041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11044 \begin_layout Plain Layout
11050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11053 \begin_layout Plain Layout
11061 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11064 \begin_layout Plain Layout
11070 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11073 \begin_layout Plain Layout
11079 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11082 \begin_layout Plain Layout
11088 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11091 \begin_layout Plain Layout
11105 \begin_layout Subsubsection
11107 \begin_inset CommandInset label
11114 \begin_inset Index idx
11117 \begin_layout Plain Layout
11118 れんけつれつ@連結列 ! けいさん@計算
11126 \begin_layout Standard
11127 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11130 \begin_layout Standard
11131 \begin_inset Float table
11137 \begin_layout Plain Layout
11138 \begin_inset Caption
11140 \begin_layout Plain Layout
11141 \begin_inset CommandInset label
11147 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11148 \begin_inset Argument
11151 \begin_layout Plain Layout
11165 \begin_layout Plain Layout
11167 \begin_inset Tabular
11168 <lyxtabular version="3" rows="3" columns="3">
11169 <features tabularvalignment="middle">
11170 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11171 <column alignment="center" valignment="middle" width="0">
11172 <column alignment="center" valignment="top" width="0">
11174 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11177 \begin_layout Plain Layout
11183 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11186 \begin_layout Plain Layout
11192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11195 \begin_layout Plain Layout
11203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11206 \begin_layout Plain Layout
11212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11215 \begin_layout Plain Layout
11221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11224 \begin_layout Plain Layout
11232 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11235 \begin_layout Plain Layout
11241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11244 \begin_layout Plain Layout
11250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11253 \begin_layout Plain Layout
11272 \begin_layout Standard
11274 \begin_inset CommandInset ref
11276 reference "tab:中央揃え表"
11280 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11284 を選択します。そして現れる表の設定ダイアログで、このセルを
11293 \begin_inset space \thinspace{}
11296 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11297 \begin_inset space \thinspace{}
11300 cm幅に設定します。すると第二列は自動的に1.25
11301 \begin_inset space \thinspace{}
11304 cm幅(連結列幅マイナス第一列の幅)になります。表
11305 \begin_inset CommandInset ref
11307 reference "tab:半分でない表"
11314 \begin_layout Standard
11315 \begin_inset Float table
11320 \begin_layout Plain Layout
11321 \begin_inset Caption
11323 \begin_layout Plain Layout
11324 \begin_inset CommandInset label
11330 連結セルの下の列が正確に半分になっていない表
11331 \begin_inset Argument
11334 \begin_layout Plain Layout
11348 \begin_layout Plain Layout
11350 \begin_inset Tabular
11351 <lyxtabular version="3" rows="3" columns="3">
11352 <features tabularvalignment="middle">
11353 <column alignment="center" valignment="top" width="1.25cm">
11354 <column alignment="center" valignment="top" width="0">
11355 <column alignment="center" valignment="top" width="0">
11357 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11360 \begin_layout Plain Layout
11366 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11369 \begin_layout Plain Layout
11375 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11378 \begin_layout Plain Layout
11386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11389 \begin_layout Plain Layout
11395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11398 \begin_layout Plain Layout
11404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11407 \begin_layout Plain Layout
11415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11418 \begin_layout Plain Layout
11424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11427 \begin_layout Plain Layout
11433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11436 \begin_layout Plain Layout
11455 \begin_layout Standard
11456 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11458 \begin_inset Formula $W_{\mbox{指}}$
11462 \begin_inset Formula $W_{\text{全}}$
11466 \begin_inset CommandInset ref
11468 reference "cha:式の説明"
11475 \begin_layout Standard
11481 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11485 \begin_inset Formula $W_{\mbox{指}:n}$
11489 \begin_inset Formula
11491 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11499 \begin_layout Standard
11500 で計算することができます。上記の例では
11501 \begin_inset Formula $n=2$
11505 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11509 \begin_inset CommandInset ref
11516 \begin_inset Formula
11518 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11526 \begin_layout Standard
11527 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11530 \begin_layout Standard
11538 \begin_layout Standard
11544 \begin_inset Index idx
11547 \begin_layout Plain Layout
11548 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11553 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11554 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11557 \begin_layout Itemize
11562 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11565 \begin_layout Itemize
11570 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11573 \begin_layout Itemize
11578 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11581 \begin_layout Standard
11582 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11585 \begin_layout Standard
11586 \begin_inset Note Greyedout
11589 \begin_layout Plain Layout
11594 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11602 \begin_layout Standard
11609 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11612 \begin_layout Standard
11617 centering}m{1.25cm-6.2pt}
11620 \begin_layout Standard
11625 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11628 \begin_layout Standard
11629 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11633 \begin_layout Standard
11641 \begin_layout Standard
11642 というLaTeX変数を指定しなくてはなりません。
11645 \begin_layout Subsection
11647 \begin_inset CommandInset label
11654 \begin_inset Index idx
11657 \begin_layout Plain Layout
11664 \begin_inset Index idx
11667 \begin_layout Plain Layout
11668 ひょう@表 ! れんけつぎょう@連結行
11676 \begin_layout Standard
11677 複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
11678 \begin_inset Graphics
11679 filename ../../images/tabular-feature_multirow.png
11681 scaleBeforeRotation
11687 編集\SpecialChar \menuseparator
11688 表\SpecialChar \menuseparator
11691 を選ぶか、選択したセルを右クリックして、コンテクストメニューから
11693 \SpecialChar \menuseparator
11699 \begin_layout Standard
11700 下記は一列目に連結列を適用した表の例です。
11703 \begin_layout Standard
11705 \begin_inset Tabular
11706 <lyxtabular version="3" rows="3" columns="3">
11707 <features tabularvalignment="middle">
11708 <column alignment="center" valignment="top" width="0pt">
11709 <column alignment="center" valignment="top" width="0">
11710 <column alignment="center" valignment="top" width="0">
11712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11715 \begin_layout Plain Layout
11721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11724 \begin_layout Plain Layout
11730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11733 \begin_layout Plain Layout
11741 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11744 \begin_layout Plain Layout
11750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11753 \begin_layout Plain Layout
11759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11762 \begin_layout Plain Layout
11770 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11773 \begin_layout Plain Layout
11779 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11782 \begin_layout Plain Layout
11788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11791 \begin_layout Plain Layout
11805 \begin_layout Standard
11806 連結列の幅は、列全体の幅と揃えを設定することによって設定することができます。
11810 は、正または負の値を与えると、連結列の内容を上下にシフトします。
11813 \begin_layout Standard
11814 連結行セルの列に明示的な幅が与えられていない場合、連結行セルは当該列の揃えを継承します。それもなければ左揃えです。既定値を上書きするには、
11817 \begin_layout Standard
11829 \begin_layout Standard
11836 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11837 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11858 \begin_layout Standard
11859 下記は、-4ミリの垂直オフセットを設定し、3センチ幅の列中にある右揃えの連結列セルがある表の例です。
11862 \begin_layout Standard
11868 \begin_layout Plain Layout
11882 \begin_inset Tabular
11883 <lyxtabular version="3" rows="4" columns="3">
11884 <features tabularvalignment="middle">
11885 <column alignment="center" valignment="top" width="3cm">
11886 <column alignment="center" valignment="top" width="0">
11887 <column alignment="center" valignment="top" width="0">
11889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11892 \begin_layout Plain Layout
11898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11901 \begin_layout Plain Layout
11907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11910 \begin_layout Plain Layout
11918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11921 \begin_layout Plain Layout
11927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11930 \begin_layout Plain Layout
11936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11939 \begin_layout Plain Layout
11947 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11950 \begin_layout Plain Layout
11956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11959 \begin_layout Plain Layout
11965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11968 \begin_layout Plain Layout
11976 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11979 \begin_layout Plain Layout
11985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11988 \begin_layout Plain Layout
11994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11997 \begin_layout Plain Layout
12012 \begin_layout Plain Layout
12028 \begin_layout Section
12030 \begin_inset CommandInset label
12032 name "sec:フォーマル形式の表"
12037 \begin_inset Index idx
12040 \begin_layout Plain Layout
12041 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
12049 \begin_layout Standard
12051 \begin_inset CommandInset ref
12053 reference "tab:ブックタブ表の例"
12057 のように組版されます。この種の表は、「
12061 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
12064 \begin_layout Standard
12065 \begin_inset Float table
12071 \begin_layout Plain Layout
12072 \begin_inset Caption
12074 \begin_layout Plain Layout
12075 \begin_inset CommandInset label
12077 name "tab:ブックタブ表の例"
12089 \begin_layout Plain Layout
12091 \begin_inset Tabular
12092 <lyxtabular version="3" rows="8" columns="4">
12093 <features booktabs="true" tabularvalignment="middle">
12094 <column alignment="center" valignment="top" width="0">
12095 <column alignment="center" valignment="top" width="0">
12096 <column alignment="center" valignment="top" width="0">
12097 <column alignment="center" valignment="top" width="0">
12099 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12102 \begin_layout Plain Layout
12108 <cell alignment="center" valignment="top" topline="true" usebox="none">
12111 \begin_layout Plain Layout
12113 \begin_inset space \thinspace{}
12121 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12124 \begin_layout Plain Layout
12126 \begin_inset space \thinspace{}
12134 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12137 \begin_layout Plain Layout
12145 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12148 \begin_layout Plain Layout
12152 \begin_layout Plain Layout
12165 \begin_layout Plain Layout
12179 <cell alignment="center" valignment="top" usebox="none">
12182 \begin_layout Plain Layout
12188 <cell alignment="center" valignment="top" usebox="none">
12191 \begin_layout Plain Layout
12197 <cell alignment="center" valignment="top" usebox="none">
12200 \begin_layout Plain Layout
12208 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12211 \begin_layout Plain Layout
12217 <cell alignment="center" valignment="top" topline="true" usebox="none">
12220 \begin_layout Plain Layout
12226 <cell alignment="center" valignment="top" topline="true" usebox="none">
12229 \begin_layout Plain Layout
12235 <cell alignment="center" valignment="top" topline="true" usebox="none">
12238 \begin_layout Plain Layout
12245 <row topspace="default">
12246 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12249 \begin_layout Plain Layout
12255 <cell alignment="center" valignment="top" usebox="none">
12258 \begin_layout Plain Layout
12264 <cell alignment="center" valignment="top" usebox="none">
12267 \begin_layout Plain Layout
12273 <cell alignment="center" valignment="top" usebox="none">
12276 \begin_layout Plain Layout
12283 <row topspace="default">
12284 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12287 \begin_layout Plain Layout
12288 \begin_inset Formula $f_{\mathrm{max}}$
12296 <cell alignment="center" valignment="top" usebox="none">
12299 \begin_layout Plain Layout
12305 <cell alignment="center" valignment="top" usebox="none">
12308 \begin_layout Plain Layout
12314 <cell alignment="center" valignment="top" usebox="none">
12317 \begin_layout Plain Layout
12324 <row topspace="default">
12325 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12328 \begin_layout Plain Layout
12332 \begin_layout Plain Layout
12336 cmidrule(l{10pt}){1-1}
12346 <cell alignment="center" valignment="top" usebox="none">
12349 \begin_layout Plain Layout
12355 <cell alignment="center" valignment="top" usebox="none">
12358 \begin_layout Plain Layout
12364 <cell alignment="center" valignment="top" usebox="none">
12367 \begin_layout Plain Layout
12375 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12378 \begin_layout Plain Layout
12384 <cell alignment="center" valignment="top" usebox="none">
12387 \begin_layout Plain Layout
12393 <cell alignment="center" valignment="top" usebox="none">
12396 \begin_layout Plain Layout
12402 <cell alignment="center" valignment="top" usebox="none">
12405 \begin_layout Plain Layout
12413 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12416 \begin_layout Plain Layout
12422 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12425 \begin_layout Plain Layout
12431 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12434 \begin_layout Plain Layout
12440 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12443 \begin_layout Plain Layout
12462 \begin_layout Standard
12464 \begin_inset CommandInset ref
12466 reference "sub:行の余白取り"
12470 節に述べられているように、表の設定ダイアログの
12477 \begin_layout Standard
12478 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
12479 \begin_inset Newline newline
12483 \begin_inset space \thinspace{}
12486 emですが、他の罫線の既定幅は0.05
12487 \begin_inset space \thinspace{}
12493 \begin_layout Standard
12494 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
12497 \begin_layout Standard
12507 \begin_inset Newline newline
12519 \begin_layout Standard
12524 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
12532 に置き換えて下さい。他の罫線の線幅を変更するには、
12540 に置き換えます。線幅を設定する上では、付録
12541 \begin_inset CommandInset ref
12543 reference "cha:LyXで使用できる単位"
12547 に挙げてあるすべての単位を使用することができます。
12550 \begin_layout Standard
12551 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
12557 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
12560 \begin_layout Standard
12565 cmidrule[幅](刈込){開始列-終了列}
12568 \begin_layout Standard
12575 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
12581 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
12585 \begin_layout Standard
12587 \begin_inset space \thinspace{}
12590 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
12599 の値を取り、刈込幅の指定は非必須です。たとえば、
12603 というパラメーターを使うと、罫線が左端から2
12604 \begin_inset space \thinspace{}
12607 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
12608 \begin_inset space \thinspace{}
12614 \begin_layout Standard
12615 \begin_inset VSpace bigskip
12619 \begin_inset CommandInset ref
12621 reference "tab:ブックタブ表の例"
12628 \begin_layout Standard
12638 \begin_layout Standard
12639 というコマンドを第二行の初めに使用し、
12642 \begin_layout Standard
12647 cmidrule(l{10pt}){1-1}
12650 \begin_layout Standard
12654 \begin_layout Standard
12655 \begin_inset VSpace bigskip
12661 \begin_layout Standard
12663 \begin_inset CommandInset ref
12665 reference "tab:特殊なブックタブ表"
12675 が欲しいことがあるかもしれません。これは、TeXコードで
12678 \begin_layout Standard
12686 \begin_layout Standard
12687 コマンドを使用することによって実現することができます。表
12688 \begin_inset CommandInset ref
12690 reference "tab:特殊なブックタブ表"
12697 \begin_layout Standard
12711 \begin_layout Standard
12712 というコマンドが使用されており、第六列には
12715 \begin_layout Standard
12727 \begin_layout Standard
12731 \begin_layout Standard
12732 \begin_inset VSpace bigskip
12738 \begin_layout Standard
12739 罫線の余白取りにどうしても満足が行かない場合には、
12742 \begin_layout Standard
12747 specialrule{幅}{上余白}{下余白}
12750 \begin_layout Standard
12751 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
12756 \begin_inset CommandInset citation
12763 \begin_inset Index idx
12766 \begin_layout Plain Layout
12767 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
12775 \begin_layout Standard
12776 \begin_inset Float table
12782 \begin_layout Plain Layout
12783 \begin_inset Caption
12785 \begin_layout Plain Layout
12786 \begin_inset CommandInset label
12788 name "tab:特殊なブックタブ表"
12800 \begin_layout Plain Layout
12802 \begin_inset Tabular
12803 <lyxtabular version="3" rows="8" columns="4">
12804 <features booktabs="true" tabularvalignment="middle">
12805 <column alignment="center" valignment="top" width="0">
12806 <column alignment="center" valignment="top" width="0">
12807 <column alignment="center" valignment="top" width="0">
12808 <column alignment="center" valignment="top" width="0">
12810 <cell alignment="center" valignment="top" topline="true" usebox="none">
12813 \begin_layout Plain Layout
12819 <cell alignment="center" valignment="top" topline="true" usebox="none">
12822 \begin_layout Plain Layout
12824 \begin_inset space \thinspace{}
12832 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12835 \begin_layout Plain Layout
12837 \begin_inset space \thinspace{}
12845 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12848 \begin_layout Plain Layout
12856 <cell alignment="center" valignment="top" usebox="none">
12859 \begin_layout Plain Layout
12863 \begin_layout Plain Layout
12876 \begin_layout Plain Layout
12889 \begin_layout Plain Layout
12902 \begin_layout Plain Layout
12916 <cell alignment="center" valignment="top" usebox="none">
12919 \begin_layout Plain Layout
12925 <cell alignment="center" valignment="top" usebox="none">
12928 \begin_layout Plain Layout
12934 <cell alignment="center" valignment="top" usebox="none">
12937 \begin_layout Plain Layout
12945 <cell alignment="center" valignment="top" topline="true" usebox="none">
12948 \begin_layout Plain Layout
12954 <cell alignment="center" valignment="top" topline="true" usebox="none">
12957 \begin_layout Plain Layout
12963 <cell alignment="center" valignment="top" topline="true" usebox="none">
12966 \begin_layout Plain Layout
12972 <cell alignment="center" valignment="top" topline="true" usebox="none">
12975 \begin_layout Plain Layout
12982 <row topspace="default">
12983 <cell alignment="center" valignment="top" usebox="none">
12986 \begin_layout Plain Layout
12992 <cell alignment="center" valignment="top" usebox="none">
12995 \begin_layout Plain Layout
13001 <cell alignment="center" valignment="top" usebox="none">
13004 \begin_layout Plain Layout
13010 <cell alignment="center" valignment="top" usebox="none">
13013 \begin_layout Plain Layout
13020 <row topspace="default">
13021 <cell alignment="center" valignment="top" usebox="none">
13024 \begin_layout Plain Layout
13025 \begin_inset Formula $f_{\mathrm{max}}$
13033 <cell alignment="center" valignment="top" usebox="none">
13036 \begin_layout Plain Layout
13042 <cell alignment="center" valignment="top" usebox="none">
13045 \begin_layout Plain Layout
13051 <cell alignment="center" valignment="top" usebox="none">
13054 \begin_layout Plain Layout
13062 <cell alignment="center" valignment="top" topline="true" usebox="none">
13065 \begin_layout Plain Layout
13069 \begin_layout Plain Layout
13082 \begin_layout Plain Layout
13096 <cell alignment="center" valignment="top" topline="true" usebox="none">
13099 \begin_layout Plain Layout
13105 <cell alignment="center" valignment="top" topline="true" usebox="none">
13108 \begin_layout Plain Layout
13114 <cell alignment="center" valignment="top" topline="true" usebox="none">
13117 \begin_layout Plain Layout
13125 <cell alignment="center" valignment="top" usebox="none">
13128 \begin_layout Plain Layout
13134 <cell alignment="center" valignment="top" usebox="none">
13137 \begin_layout Plain Layout
13143 <cell alignment="center" valignment="top" usebox="none">
13146 \begin_layout Plain Layout
13152 <cell alignment="center" valignment="top" usebox="none">
13155 \begin_layout Plain Layout
13163 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13166 \begin_layout Plain Layout
13172 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13175 \begin_layout Plain Layout
13181 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13184 \begin_layout Plain Layout
13190 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13193 \begin_layout Plain Layout
13212 \begin_layout Section
13214 \begin_inset Index idx
13217 \begin_layout Plain Layout
13226 \begin_layout Standard
13227 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
13228 \begin_inset CommandInset ref
13230 reference "sec:ボックスダイアログ"
13234 節に述べられているように、ボックスの垂直揃えを行います。
13237 \begin_layout Standard
13239 \begin_inset space \thinspace{}
13246 \begin_layout Plain Layout
13248 \begin_inset CommandInset ref
13250 reference "sec:ミニページ"
13262 \begin_layout Itemize
13264 \begin_inset Box Frameless
13274 height_special "totalheight"
13277 \begin_layout Plain Layout
13278 \begin_inset Tabular
13279 <lyxtabular version="3" rows="3" columns="3">
13280 <features tabularvalignment="middle">
13281 <column alignment="center" valignment="top" width="0">
13282 <column alignment="center" valignment="top" width="0">
13283 <column alignment="center" valignment="top" width="0">
13285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13288 \begin_layout Plain Layout
13294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13297 \begin_layout Plain Layout
13303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13306 \begin_layout Plain Layout
13314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13317 \begin_layout Plain Layout
13323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13326 \begin_layout Plain Layout
13332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13335 \begin_layout Plain Layout
13343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13346 \begin_layout Plain Layout
13352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13355 \begin_layout Plain Layout
13361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13364 \begin_layout Plain Layout
13384 \begin_layout Plain Layout
13396 \begin_inset Box Frameless
13406 height_special "totalheight"
13409 \begin_layout Plain Layout
13410 \begin_inset Tabular
13411 <lyxtabular version="3" rows="3" columns="3">
13412 <features tabularvalignment="middle">
13413 <column alignment="center" valignment="top" width="0">
13414 <column alignment="center" valignment="top" width="0">
13415 <column alignment="center" valignment="top" width="0">
13417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13420 \begin_layout Plain Layout
13426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13429 \begin_layout Plain Layout
13435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13438 \begin_layout Plain Layout
13446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13449 \begin_layout Plain Layout
13455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13458 \begin_layout Plain Layout
13464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13467 \begin_layout Plain Layout
13475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13478 \begin_layout Plain Layout
13484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13487 \begin_layout Plain Layout
13493 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13496 \begin_layout Plain Layout
13516 \begin_layout Plain Layout
13526 \begin_layout Itemize
13528 \begin_inset Box Frameless
13538 height_special "totalheight"
13541 \begin_layout Plain Layout
13542 \begin_inset Tabular
13543 <lyxtabular version="3" rows="3" columns="3">
13544 <features tabularvalignment="middle">
13545 <column alignment="center" valignment="top" width="0">
13546 <column alignment="center" valignment="top" width="0">
13547 <column alignment="center" valignment="top" width="0">
13549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13552 \begin_layout Plain Layout
13558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13561 \begin_layout Plain Layout
13567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13570 \begin_layout Plain Layout
13578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13581 \begin_layout Plain Layout
13587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13590 \begin_layout Plain Layout
13596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13599 \begin_layout Plain Layout
13607 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13610 \begin_layout Plain Layout
13616 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13619 \begin_layout Plain Layout
13625 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13628 \begin_layout Plain Layout
13647 \begin_layout Itemize
13649 \begin_inset Box Frameless
13659 height_special "totalheight"
13662 \begin_layout Plain Layout
13663 \begin_inset Tabular
13664 <lyxtabular version="3" rows="3" columns="3">
13665 <features tabularvalignment="middle">
13666 <column alignment="center" valignment="top" width="0">
13667 <column alignment="center" valignment="top" width="0">
13668 <column alignment="center" valignment="top" width="0">
13670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13673 \begin_layout Plain Layout
13679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13682 \begin_layout Plain Layout
13688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13691 \begin_layout Plain Layout
13699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13702 \begin_layout Plain Layout
13708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13711 \begin_layout Plain Layout
13717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13720 \begin_layout Plain Layout
13728 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13731 \begin_layout Plain Layout
13737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13740 \begin_layout Plain Layout
13746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13749 \begin_layout Plain Layout
13769 \begin_layout Plain Layout
13781 \begin_inset Box Frameless
13791 height_special "totalheight"
13794 \begin_layout Plain Layout
13795 \begin_inset Tabular
13796 <lyxtabular version="3" rows="3" columns="3">
13797 <features tabularvalignment="middle">
13798 <column alignment="center" valignment="top" width="0">
13799 <column alignment="center" valignment="top" width="0">
13800 <column alignment="center" valignment="top" width="0">
13802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13805 \begin_layout Plain Layout
13811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13814 \begin_layout Plain Layout
13820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13823 \begin_layout Plain Layout
13831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13834 \begin_layout Plain Layout
13840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13843 \begin_layout Plain Layout
13849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13852 \begin_layout Plain Layout
13860 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13863 \begin_layout Plain Layout
13869 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13872 \begin_layout Plain Layout
13878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13881 \begin_layout Plain Layout
13901 \begin_layout Plain Layout
13911 \begin_layout Standard
13912 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
13916 \begin_layout Plain Layout
13918 \begin_inset CommandInset ref
13920 reference "sub:垂直揃え"
13929 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
13932 \begin_layout Standard
13942 \begin_layout Standard
13943 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
13947 をTeXコードとして挿入してあります。最後の項目の第二表には、
13950 \begin_layout Standard
13960 \begin_layout Standard
13964 \begin_layout Standard
13965 \begin_inset Note Greyedout
13968 \begin_layout Plain Layout
13973 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
13979 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
13987 \begin_layout Section
13989 \begin_inset CommandInset label
13996 \begin_inset Index idx
13999 \begin_layout Plain Layout
14008 \begin_layout Subsection
14010 \begin_inset Index idx
14013 \begin_layout Plain Layout
14014 ひょうのいろ@表の色 ! せるぶ@セル部
14020 \begin_inset Index idx
14023 \begin_layout Plain Layout
14024 いろつき@色付き ! ひょうせるぶ@表セル部
14032 \begin_layout Standard
14033 \begin_inset Float table
14039 \begin_layout Plain Layout
14040 \begin_inset Caption
14042 \begin_layout Plain Layout
14043 \begin_inset CommandInset label
14045 name "tab:colortblなしの表"
14054 \begin_inset Argument
14057 \begin_layout Plain Layout
14071 \begin_layout Plain Layout
14073 \begin_inset Tabular
14074 <lyxtabular version="3" rows="3" columns="3">
14075 <features tabularvalignment="middle">
14076 <column alignment="center" valignment="top" width="0">
14077 <column alignment="center" valignment="top" width="0">
14078 <column alignment="center" valignment="top" width="0">
14080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14083 \begin_layout Plain Layout
14091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14094 \begin_layout Plain Layout
14102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14105 \begin_layout Plain Layout
14115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14118 \begin_layout Plain Layout
14126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14129 \begin_layout Plain Layout
14137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14140 \begin_layout Plain Layout
14150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14153 \begin_layout Plain Layout
14161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14164 \begin_layout Plain Layout
14172 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14175 \begin_layout Plain Layout
14196 \begin_layout Standard
14197 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
14199 編集\SpecialChar \menuseparator
14203 \begin_inset CommandInset ref
14205 reference "tab:colortblなしの表"
14209 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
14214 \begin_inset Index idx
14217 \begin_layout Plain Layout
14218 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
14226 \begin_layout Standard
14230 \begin_layout Plain Layout
14240 \begin_inset Note Note
14243 \begin_layout Plain Layout
14244 本節の以下の部分は、LaTeXパッケージ
14256 \begin_layout Standard
14257 色付きの表を作成するには、プリアンブルに
14260 \begin_layout Standard
14265 usepackage{colortbl}
14268 \begin_layout Standard
14273 を読み込まなくてはなりません。列の色は、
14280 \begin_layout Standard
14288 \begin_layout Standard
14289 というコマンドを書いて指定することができます。
14294 \begin_inset CommandInset ref
14296 reference "sub:連結列の計算"
14303 \begin_layout Standard
14304 以下の色彩名が事前に定義されています。
14307 \begin_layout Standard
14341 \begin_layout Standard
14342 \begin_inset VSpace medskip
14348 \begin_layout Standard
14352 \begin_layout Standard
14357 definecolor{色彩名}{色彩モデル}{色彩値}
14360 \begin_layout Standard
14361 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
14364 \begin_layout Labeling
14365 \labelwidthstring 00.00.0000
14385 \begin_layout Labeling
14386 \labelwidthstring 00.00.0000
14402 \begin_layout Labeling
14403 \labelwidthstring 00.00.0000
14407 \begin_layout Standard
14408 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
14411 \begin_layout Standard
14415 \begin_layout Standard
14420 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14423 \begin_layout Standard
14431 \begin_layout Standard
14436 definecolor{lightgray}{gray}{0.8}
14439 \begin_layout Standard
14447 \begin_layout Standard
14448 \begin_inset VSpace medskip
14454 \begin_layout Standard
14458 \begin_layout Standard
14466 \begin_layout Standard
14467 というコマンドを使用して色付けすることができ、セルは
14470 \begin_layout Standard
14478 \begin_layout Standard
14479 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
14482 \begin_layout Standard
14483 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
14485 編集\SpecialChar \menuseparator
14488 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
14492 \begin_layout Standard
14493 \begin_inset Note Greyedout
14496 \begin_layout Plain Layout
14497 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
14505 \begin_layout Standard
14506 \begin_inset VSpace bigskip
14512 \begin_layout Standard
14514 \begin_inset CommandInset ref
14516 reference "tab:色付き表"
14520 を作成するには、以下のようにしてください。第一列の色は
14524 にしたいので、この列のLaTeX変数として
14527 \begin_layout Standard
14532 columncolor{darkgreen}
14537 \begin_layout Standard
14538 と書き込みます。第一列は青にしたいので、この列の最初のセルに
14541 \begin_layout Standard
14549 \begin_layout Standard
14550 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最下行の最後のセルは、
14553 \begin_layout Standard
14561 \begin_layout Standard
14562 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
14564 編集\SpecialChar \menuseparator
14567 メニューを使って、各文字に色付けをすることができます。
14570 \begin_layout Standard
14571 \begin_inset Float table
14577 \begin_layout Plain Layout
14578 \begin_inset Caption
14580 \begin_layout Plain Layout
14583 \begin_inset CommandInset label
14592 \begin_inset Argument
14595 \begin_layout Plain Layout
14609 \begin_layout Plain Layout
14611 \begin_inset Tabular
14612 <lyxtabular version="3" rows="3" columns="3">
14613 <features tabularvalignment="middle">
14614 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14615 <column alignment="center" valignment="top" width="0">
14616 <column alignment="center" valignment="top" width="0">
14618 <cell alignment="center" valignment="top" usebox="none">
14621 \begin_layout Plain Layout
14625 \begin_layout Plain Layout
14641 <cell alignment="center" valignment="top" usebox="none">
14644 \begin_layout Plain Layout
14652 <cell alignment="center" valignment="top" usebox="none">
14655 \begin_layout Plain Layout
14665 <cell alignment="center" valignment="top" usebox="none">
14668 \begin_layout Plain Layout
14676 <cell alignment="center" valignment="top" usebox="none">
14679 \begin_layout Plain Layout
14687 <cell alignment="center" valignment="top" usebox="none">
14690 \begin_layout Plain Layout
14700 <cell alignment="center" valignment="top" usebox="none">
14703 \begin_layout Plain Layout
14711 <cell alignment="center" valignment="top" usebox="none">
14714 \begin_layout Plain Layout
14722 <cell alignment="center" valignment="top" usebox="none">
14725 \begin_layout Plain Layout
14729 \begin_layout Plain Layout
14758 \begin_layout Standard
14762 \begin_layout Plain Layout
14772 \begin_inset Note Note
14775 \begin_layout Plain Layout
14780 が導入されていないときに表示されます。
14788 \begin_layout Standard
14796 \begin_layout Standard
14800 \begin_layout Plain Layout
14812 \begin_layout Subsection
14814 \begin_inset Index idx
14817 \begin_layout Plain Layout
14818 ひょうのいろ@表の色 ! けいせんぶ@罫線部
14824 \begin_inset Index idx
14827 \begin_layout Plain Layout
14828 いろつき@色付き ! ひょうけいせんぶ@表罫線部
14836 \begin_layout Standard
14838 \begin_inset CommandInset ref
14840 reference "sub:罫線幅"
14844 節に述べられているように、表中の全罫線の線幅は、長さ
14850 を使って調節することができます。本節の表では、すべて1.5
14851 \begin_inset space \thinspace{}
14858 \begin_layout Plain Layout
14864 arrayrulewidth}{1.5pt}
14872 \begin_layout Standard
14874 \begin_inset CommandInset ref
14876 reference "sub:自製書式"
14880 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
14883 \begin_layout Standard
14888 newcolumntype{W}{!{
14895 \begin_layout Standard
14897 \begin_inset CommandInset ref
14899 reference "tab:色付き縦罫線の表"
14914 \begin_layout Standard
14915 複数の色を用いたいときには、列書式をもっと定義してください。
14918 \begin_layout Standard
14919 \begin_inset Float table
14925 \begin_layout Plain Layout
14926 \begin_inset Caption
14928 \begin_layout Plain Layout
14929 \begin_inset CommandInset label
14931 name "tab:色付き縦罫線の表"
14943 \begin_layout Plain Layout
14945 \begin_inset Tabular
14946 <lyxtabular version="3" rows="3" columns="3">
14947 <features tabularvalignment="middle">
14948 <column alignment="center" valignment="top" width="0" special="Wc">
14949 <column alignment="center" valignment="top" width="0" special="Wc">
14950 <column alignment="center" valignment="top" width="0" special="WcW">
14952 <cell alignment="center" valignment="top" topline="true" usebox="none">
14955 \begin_layout Plain Layout
14961 <cell alignment="center" valignment="top" topline="true" usebox="none">
14964 \begin_layout Plain Layout
14970 <cell alignment="center" valignment="top" topline="true" usebox="none">
14973 \begin_layout Plain Layout
14981 <cell alignment="center" valignment="top" topline="true" usebox="none">
14984 \begin_layout Plain Layout
14990 <cell alignment="center" valignment="top" topline="true" usebox="none">
14993 \begin_layout Plain Layout
14999 <cell alignment="center" valignment="top" topline="true" usebox="none">
15002 \begin_layout Plain Layout
15010 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15013 \begin_layout Plain Layout
15019 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15022 \begin_layout Plain Layout
15028 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15031 \begin_layout Plain Layout
15050 \begin_layout Standard
15051 \begin_inset VSpace bigskip
15055 \begin_inset CommandInset ref
15057 reference "tab:色付き横罫線の表"
15061 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
15064 \begin_layout Standard
15074 \begin_inset Newline newline
15082 \begin_inset Newline newline
15086 \begin_inset Phantom HPhantom
15089 \begin_layout Plain Layout
15090 \begin_inset space ~
15100 arrayrulecolor{red}
15104 arrayrulecolor{black}}
15107 \begin_layout Standard
15111 \begin_layout Standard
15115 \begin_layout Plain Layout
15126 \begin_layout Plain Layout
15135 \begin_layout Plain Layout
15139 arrayrulecolor{red}
15143 arrayrulecolor{black}}
15149 \begin_inset Float table
15155 \begin_layout Plain Layout
15156 \begin_inset Caption
15158 \begin_layout Plain Layout
15159 \begin_inset CommandInset label
15161 name "tab:色付き横罫線の表"
15173 \begin_layout Plain Layout
15175 \begin_inset Tabular
15176 <lyxtabular version="3" rows="3" columns="3">
15177 <features tabularvalignment="middle">
15178 <column alignment="center" valignment="top" width="0">
15179 <column alignment="center" valignment="top" width="0">
15180 <column alignment="center" valignment="top" width="0">
15182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15185 \begin_layout Plain Layout
15191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15194 \begin_layout Plain Layout
15200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15203 \begin_layout Plain Layout
15211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15214 \begin_layout Plain Layout
15220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15223 \begin_layout Plain Layout
15229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15232 \begin_layout Plain Layout
15240 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15243 \begin_layout Plain Layout
15249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15252 \begin_layout Plain Layout
15258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15261 \begin_layout Plain Layout
15280 \begin_layout Standard
15284 \begin_layout Standard
15296 \begin_layout Standard
15297 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
15298 \begin_inset CommandInset ref
15300 reference "tab:色付き罫線の表"
15307 \begin_layout Standard
15308 \begin_inset Float table
15314 \begin_layout Plain Layout
15315 \begin_inset Caption
15317 \begin_layout Plain Layout
15318 \begin_inset CommandInset label
15332 \begin_layout Plain Layout
15334 \begin_inset Tabular
15335 <lyxtabular version="3" rows="3" columns="3">
15336 <features tabularvalignment="middle">
15337 <column alignment="center" valignment="top" width="0" special="Wc">
15338 <column alignment="center" valignment="top" width="0" special="Wc">
15339 <column alignment="center" valignment="top" width="0" special="WcW">
15341 <cell alignment="center" valignment="top" topline="true" usebox="none">
15344 \begin_layout Plain Layout
15350 <cell alignment="center" valignment="top" topline="true" usebox="none">
15353 \begin_layout Plain Layout
15359 <cell alignment="center" valignment="top" topline="true" usebox="none">
15362 \begin_layout Plain Layout
15370 <cell alignment="center" valignment="top" topline="true" usebox="none">
15373 \begin_layout Plain Layout
15379 <cell alignment="center" valignment="top" topline="true" usebox="none">
15382 \begin_layout Plain Layout
15388 <cell alignment="center" valignment="top" topline="true" usebox="none">
15391 \begin_layout Plain Layout
15398 <row topspace="default">
15399 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15402 \begin_layout Plain Layout
15408 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15411 \begin_layout Plain Layout
15417 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15420 \begin_layout Plain Layout
15439 \begin_layout Standard
15443 \begin_layout Plain Layout
15459 \begin_layout Standard
15463 \begin_layout Plain Layout
15469 arrayrulewidth}{0.4pt}
15477 \begin_layout Section
15479 \begin_inset Index idx
15482 \begin_layout Plain Layout
15489 \begin_inset Index idx
15492 \begin_layout Plain Layout
15501 \begin_layout Subsection
15503 \begin_inset CommandInset label
15510 \begin_inset Index idx
15513 \begin_layout Plain Layout
15514 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
15522 \begin_layout Standard
15527 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
15530 \begin_layout Description
15531 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
15535 \begin_layout Plain Layout
15537 \begin_inset CommandInset ref
15539 reference "sec:フォーマル形式の表"
15549 \begin_inset space \thinspace{}
15552 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15553 \begin_inset VSpace medskip
15557 \begin_inset Newline newline
15561 \begin_inset space \hspace*{}
15566 \begin_inset space \hfill{}
15570 \begin_inset Tabular
15571 <lyxtabular version="3" rows="3" columns="1">
15572 <features tabularvalignment="middle">
15573 <column alignment="center" valignment="top" width="0">
15575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15578 \begin_layout Plain Layout
15585 <row topspace="3mm">
15586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15589 \begin_layout Plain Layout
15591 \begin_inset space \thinspace{}
15601 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15604 \begin_layout Plain Layout
15616 \begin_inset space \hfill{}
15620 \begin_inset space \hspace*{}
15625 \begin_inset VSpace medskip
15629 \begin_inset Newline newline
15632 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
15635 \begin_layout Description
15636 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15637 \begin_inset space \thinspace{}
15640 emの余白を挿入し、通常の表ならば既定値として2
15641 \begin_inset space \thinspace{}
15647 \begin_layout Description
15648 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15649 \begin_inset space \thinspace{}
15652 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15653 \begin_inset VSpace medskip
15657 \begin_inset Newline newline
15661 \begin_inset space \hspace*{}
15666 \begin_inset space \hfill{}
15670 \begin_inset Tabular
15671 <lyxtabular version="3" rows="3" columns="1">
15672 <features tabularvalignment="middle">
15673 <column alignment="center" valignment="top" width="0">
15675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15678 \begin_layout Plain Layout
15685 <row interlinespace="3mm">
15686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15689 \begin_layout Plain Layout
15690 \begin_inset Formula $\downarrow$
15694 \begin_inset space \thinspace{}
15698 \begin_inset Formula $\downarrow$
15708 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15711 \begin_layout Plain Layout
15712 \begin_inset Formula $\uparrow$
15716 \begin_inset space \thinspace{}
15720 \begin_inset Formula $\uparrow$
15734 \begin_inset space \hfill{}
15738 \begin_inset space \hspace*{}
15743 \begin_inset VSpace medskip
15747 \begin_inset Newline newline
15750 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
15753 \begin_layout Standard
15754 \begin_inset VSpace bigskip
15757 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
15760 \begin_layout Standard
15765 @ifundefined{extrarowheight}
15766 \begin_inset Newline newline
15770 \begin_inset Phantom HPhantom
15773 \begin_layout Plain Layout
15774 \begin_inset space ~
15784 usepackage{array}}{}
15785 \begin_inset Newline newline
15792 extrarowheight}{height}
15795 \begin_layout Standard
15796 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
15800 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
15809 \begin_layout Standard
15810 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
15816 コマンドを挿入することで補正することができます。表
15817 \begin_inset CommandInset ref
15819 reference "tab:垂直揃え"
15826 \begin_layout Standard
15828 \begin_inset Float table
15834 \begin_layout Plain Layout
15835 \begin_inset Caption
15837 \begin_layout Plain Layout
15838 \begin_inset CommandInset label
15852 \begin_layout Plain Layout
15853 \begin_inset space \hfill{}
15857 \begin_inset Float table
15862 \begin_layout Plain Layout
15863 \begin_inset Caption
15865 \begin_layout Plain Layout
15874 \begin_layout Plain Layout
15877 \begin_inset Tabular
15878 <lyxtabular version="3" rows="6" columns="1">
15879 <features tabularvalignment="middle">
15880 <column alignment="left" valignment="top" width="0">
15882 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15885 \begin_layout Plain Layout
15893 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15896 \begin_layout Plain Layout
15906 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15909 \begin_layout Plain Layout
15919 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15922 \begin_layout Plain Layout
15932 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15935 \begin_layout Plain Layout
15945 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15948 \begin_layout Plain Layout
15967 \begin_inset space \hfill{}
15971 \begin_inset Float table
15976 \begin_layout Plain Layout
15977 \begin_inset Caption
15979 \begin_layout Plain Layout
15994 \begin_layout Plain Layout
15997 \begin_inset Tabular
15998 <lyxtabular version="3" rows="6" columns="1">
15999 <features tabularvalignment="middle">
16000 <column alignment="left" valignment="top" width="0">
16002 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16005 \begin_layout Plain Layout
16013 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16016 \begin_layout Plain Layout
16022 \begin_layout Plain Layout
16038 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16041 \begin_layout Plain Layout
16047 \begin_layout Plain Layout
16063 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16066 \begin_layout Plain Layout
16072 \begin_layout Plain Layout
16088 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16091 \begin_layout Plain Layout
16097 \begin_layout Plain Layout
16113 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16116 \begin_layout Plain Layout
16122 \begin_layout Plain Layout
16147 \begin_inset space \hfill{}
16158 \begin_layout Subsection
16160 \begin_inset CommandInset label
16167 \begin_inset Index idx
16170 \begin_layout Plain Layout
16171 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
16179 \begin_layout Standard
16181 \begin_inset CommandInset ref
16183 reference "tab:表セル"
16187 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
16188 \begin_inset Graphics
16189 filename ../../images/tabular-feature_align-decimal.png
16191 scaleBeforeRotation
16202 \begin_layout Standard
16203 \begin_inset Float table
16209 \begin_layout Plain Layout
16210 \begin_inset Caption
16212 \begin_layout Plain Layout
16213 \begin_inset CommandInset label
16227 \begin_layout Plain Layout
16229 \begin_inset Tabular
16230 <lyxtabular version="3" rows="4" columns="1">
16231 <features booktabs="true" tabularvalignment="middle">
16232 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
16234 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
16237 \begin_layout Plain Layout
16245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16248 \begin_layout Plain Layout
16256 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
16259 \begin_layout Plain Layout
16267 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
16270 \begin_layout Plain Layout
16289 \begin_layout Standard
16290 \begin_inset Float table
16296 \begin_layout Plain Layout
16297 \begin_inset Caption
16299 \begin_layout Plain Layout
16300 \begin_inset CommandInset label
16314 \begin_layout Plain Layout
16316 \begin_inset Tabular
16317 <lyxtabular version="3" rows="4" columns="2">
16318 <features booktabs="true" tabularvalignment="middle">
16319 <column alignment="right" valignment="top" width="0pt">
16320 <column alignment="left" valignment="top" width="0pt" special="@{}l">
16322 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16325 \begin_layout Plain Layout
16331 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16334 \begin_layout Plain Layout
16342 <cell alignment="center" valignment="top" usebox="none">
16345 \begin_layout Plain Layout
16346 \begin_inset Formula $12\,+$
16354 <cell alignment="center" valignment="top" usebox="none">
16357 \begin_layout Plain Layout
16358 \begin_inset Formula $\,6$
16368 <cell alignment="center" valignment="top" usebox="none">
16371 \begin_layout Plain Layout
16372 \begin_inset Formula $0\,-$
16380 <cell alignment="center" valignment="top" usebox="none">
16383 \begin_layout Plain Layout
16384 \begin_inset Formula $\,68$
16394 <cell alignment="center" valignment="top" usebox="none">
16397 \begin_layout Plain Layout
16398 \begin_inset Formula $-123\,/$
16406 <cell alignment="center" valignment="top" usebox="none">
16409 \begin_layout Plain Layout
16410 \begin_inset Formula $\,0$
16431 \begin_layout Standard
16432 揃え文字を指定するフィールドには、数式を用いることができないので、この方法を使って、数式中の文字で揃えることはできません。このような場合には、表
16433 \begin_inset CommandInset ref
16435 reference "tab:演算子揃え表"
16439 のような方法を用いる必要があります。この表は、4×2表として作成されており、見出しは中央揃え連結列です。第1列には、右揃えで演算子を含む前半部を収め、第2列には
16440 、左揃えで残りを収めます。演算子の周りに通常加えられる空白を得るために、第2列の各セルの冒頭には、小空白が加えられています。通常、表の列間に加えられる余白を削る
16444 \begin_layout Standard
16450 \begin_layout Standard
16451 というLaTeX引数を第2列に指定します。
16454 \begin_layout Standard
16456 \begin_inset CommandInset ref
16458 reference "tab:表セル揃え"
16462 は、揃え方の例をいくつか示しています。関係子で揃えるために、表
16463 \begin_inset CommandInset ref
16465 reference "tab:演算子揃え表"
16469 の冒頭には、小空白が加えられています。
16472 \begin_layout Standard
16473 \begin_inset Float table
16478 \begin_layout Plain Layout
16479 \begin_inset Caption
16481 \begin_layout Plain Layout
16482 \begin_inset CommandInset label
16496 \begin_layout Plain Layout
16498 \begin_inset Tabular
16499 <lyxtabular version="3" rows="4" columns="6">
16500 <features tabularvalignment="middle">
16501 <column alignment="right" valignment="top" width="0">
16502 <column alignment="left" valignment="top" width="0" special="@{}l">
16503 <column alignment="right" valignment="top" width="0">
16504 <column alignment="left" valignment="top" width="0" special="@{}l">
16505 <column alignment="right" valignment="top" width="0">
16506 <column alignment="left" valignment="top" width="0" special="@{}l">
16508 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16511 \begin_layout Plain Layout
16517 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16520 \begin_layout Plain Layout
16526 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16529 \begin_layout Plain Layout
16535 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16538 \begin_layout Plain Layout
16544 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16547 \begin_layout Plain Layout
16553 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16556 \begin_layout Plain Layout
16564 <cell alignment="center" valignment="top" usebox="none">
16567 \begin_layout Plain Layout
16573 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16576 \begin_layout Plain Layout
16582 <cell alignment="center" valignment="top" usebox="none">
16585 \begin_layout Plain Layout
16586 \begin_inset Formula $10\cdot$
16594 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16597 \begin_layout Plain Layout
16598 \begin_inset Formula $10^{\mbox{-}17}$
16606 <cell alignment="center" valignment="top" usebox="none">
16609 \begin_layout Plain Layout
16610 \begin_inset Formula $\Gamma(t)\propto$
16618 <cell alignment="center" valignment="top" usebox="none">
16621 \begin_layout Plain Layout
16622 \begin_inset Formula $\:\Upsilon(t)$
16632 <cell alignment="center" valignment="top" usebox="none">
16635 \begin_layout Plain Layout
16641 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16644 \begin_layout Plain Layout
16650 <cell alignment="center" valignment="top" usebox="none">
16653 \begin_layout Plain Layout
16654 \begin_inset Formula $5.78\cdot$
16662 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16665 \begin_layout Plain Layout
16666 \begin_inset Formula $10^{7}$
16674 <cell alignment="center" valignment="top" usebox="none">
16677 \begin_layout Plain Layout
16678 \begin_inset Formula $A\ne$
16686 <cell alignment="center" valignment="top" usebox="none">
16689 \begin_layout Plain Layout
16690 \begin_inset Formula $\: B_{\mathrm{red}}$
16700 <cell alignment="center" valignment="top" usebox="none">
16703 \begin_layout Plain Layout
16709 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16712 \begin_layout Plain Layout
16714 \begin_inset space \thinspace{}
16722 <cell alignment="center" valignment="top" usebox="none">
16725 \begin_layout Plain Layout
16727 \begin_inset Formula $33.5\cdot$
16735 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16738 \begin_layout Plain Layout
16739 \begin_inset Formula $10^{4}$
16747 <cell alignment="center" valignment="top" usebox="none">
16750 \begin_layout Plain Layout
16751 \begin_inset Formula $\sin(\alpha)\ge$
16759 <cell alignment="center" valignment="top" usebox="none">
16762 \begin_layout Plain Layout
16763 \begin_inset Formula $\:\sin(\beta)$
16784 \begin_layout Subsection
16786 \begin_inset CommandInset label
16793 \begin_inset Index idx
16796 \begin_layout Plain Layout
16797 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
16805 \begin_layout Standard
16806 連結列セルを含む表がいくつもある場合には、第
16807 \begin_inset CommandInset ref
16809 reference "sub:連結列の計算"
16813 節のように連結部分を含む列に必要とされる幅を計算することはたいへん面倒です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のす
16814 べての表で使うことができます。書式は、以下のように定義します。
16817 \begin_layout Standard
16822 newcolumntype{書式名}[引数の数]{コマンド}
16825 \begin_layout Standard
16850 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
16853 \begin_layout Standard
16854 \begin_inset VSpace medskip
16860 \begin_layout Standard
16861 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
16864 \begin_layout Standard
16869 newcolumntype{M}[1]{>{
16876 \begin_layout Standard
16884 \begin_inset CommandInset ref
16886 reference "sub:複数行"
16890 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
16893 \begin_layout Standard
16899 \begin_layout Standard
16903 \begin_layout Standard
16904 \begin_inset VSpace bigskip
16910 \begin_layout Standard
16911 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
16914 \begin_layout Standard
16919 newcolumntype{S}[2]{>{
16924 \begin_inset Newline newline
16928 \begin_inset Phantom HPhantom
16931 \begin_layout Plain Layout
16945 arrayrulewidth)*(1-#2))/#2}}
16948 \begin_layout Standard
16949 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
16950 \begin_inset CommandInset ref
16959 \begin_layout Standard
16960 こうしておけば、当該セルのLaTeX引数に
16963 \begin_layout Standard
16966 S{連結列セルの幅}{連結列セルがまたがる列の数}
16969 \begin_layout Standard
16973 \begin_layout Standard
16974 \begin_inset VSpace bigskip
16980 \begin_layout Standard
16981 色付き列については、以下のように定義するとよいでしょう。
16984 \begin_layout Standard
16989 newcolumntype{K}[1]{>{
16996 \begin_layout Standard
16997 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
17000 \begin_layout Standard
17006 \begin_layout Standard
17010 \begin_layout Standard
17011 \begin_inset VSpace bigskip
17017 \begin_layout Standard
17019 \begin_inset CommandInset ref
17021 reference "tab:ユーザー定義の表書式"
17025 を生成するには、第1列と連結列にLaTeX引数として
17028 \begin_layout Standard
17034 \begin_layout Standard
17038 \begin_layout Standard
17044 \begin_layout Standard
17048 \begin_layout Standard
17054 \begin_layout Standard
17058 \begin_layout Standard
17059 \begin_inset Float table
17065 \begin_layout Plain Layout
17066 \begin_inset Caption
17068 \begin_layout Plain Layout
17069 \begin_inset CommandInset label
17071 name "tab:ユーザー定義の表書式"
17083 \begin_layout Plain Layout
17085 \begin_inset Tabular
17086 <lyxtabular version="3" rows="3" columns="4">
17087 <features tabularvalignment="middle">
17088 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17089 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17090 <column alignment="center" valignment="middle" width="0">
17091 <column alignment="center" valignment="middle" width="0" special="K{red}">
17093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17096 \begin_layout Plain Layout
17102 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17105 \begin_layout Plain Layout
17111 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17114 \begin_layout Plain Layout
17120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17123 \begin_layout Plain Layout
17131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17134 \begin_layout Plain Layout
17140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17143 \begin_layout Plain Layout
17149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17152 \begin_layout Plain Layout
17158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17161 \begin_layout Plain Layout
17169 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17172 \begin_layout Plain Layout
17178 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17181 \begin_layout Plain Layout
17187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17190 \begin_layout Plain Layout
17196 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17199 \begin_layout Plain Layout
17218 \begin_layout Subsection
17220 \begin_inset CommandInset label
17227 \begin_inset Index idx
17230 \begin_layout Plain Layout
17231 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
17239 \begin_layout Standard
17240 表中のすべての罫線の罫線幅を調整するには、長さ
17247 \begin_inset CommandInset ref
17249 reference "tab:Table-with-1.5"
17254 \begin_inset space \thinspace{}
17257 ptにするには、表や表フロートの前にTeXコードで
17260 \begin_layout Standard
17267 arrayrulewidth}{1.5pt}
17270 \begin_layout Standard
17271 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
17278 \begin_inset space \thinspace{}
17284 \begin_layout Standard
17288 \begin_layout Plain Layout
17294 arrayrulewidth}{1.5pt}
17300 \begin_inset Float table
17305 \begin_layout Plain Layout
17306 \begin_inset Caption
17308 \begin_layout Plain Layout
17309 \begin_inset CommandInset label
17311 name "tab:Table-with-1.5"
17316 \begin_inset space \thinspace{}
17327 \begin_layout Plain Layout
17329 \begin_inset Tabular
17330 <lyxtabular version="3" rows="3" columns="3">
17331 <features tabularvalignment="middle">
17332 <column alignment="center" valignment="top" width="0">
17333 <column alignment="center" valignment="top" width="0">
17334 <column alignment="center" valignment="top" width="0">
17336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17339 \begin_layout Plain Layout
17345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17348 \begin_layout Plain Layout
17354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17357 \begin_layout Plain Layout
17365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17368 \begin_layout Plain Layout
17374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17377 \begin_layout Plain Layout
17383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17386 \begin_layout Plain Layout
17394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17397 \begin_layout Plain Layout
17403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17406 \begin_layout Plain Layout
17412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17415 \begin_layout Plain Layout
17435 \begin_layout Plain Layout
17441 arrayrulewidth}{0.4pt}
17449 \begin_layout Standard
17450 \begin_inset VSpace bigskip
17454 \begin_inset CommandInset ref
17456 reference "tab:1.5pt幅横罫"
17461 \begin_inset space \thinspace{}
17464 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
17467 \begin_layout Standard
17477 \begin_inset Newline newline
17485 \begin_inset Newline newline
17494 arrayrulewidth 1.5pt}
17495 \begin_inset Newline newline
17506 arrayrulewidth 0.4pt}}
17509 \begin_layout Standard
17510 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
17513 \begin_layout Standard
17525 \begin_layout Standard
17529 \begin_layout Plain Layout
17540 \begin_layout Plain Layout
17549 \begin_layout Plain Layout
17557 arrayrulewidth 1.5pt}
17560 \begin_layout Plain Layout
17570 arrayrulewidth 0.4pt}}
17576 \begin_inset Float table
17581 \begin_layout Plain Layout
17582 \begin_inset Caption
17584 \begin_layout Plain Layout
17585 \begin_inset CommandInset label
17587 name "tab:1.5pt幅横罫"
17592 \begin_inset space \thinspace{}
17603 \begin_layout Plain Layout
17605 \begin_inset Tabular
17606 <lyxtabular version="3" rows="3" columns="3">
17607 <features tabularvalignment="middle">
17608 <column alignment="center" valignment="top" width="0">
17609 <column alignment="center" valignment="top" width="0">
17610 <column alignment="center" valignment="top" width="0">
17612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17615 \begin_layout Plain Layout
17621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17624 \begin_layout Plain Layout
17630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17633 \begin_layout Plain Layout
17641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17644 \begin_layout Plain Layout
17650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17653 \begin_layout Plain Layout
17659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17662 \begin_layout Plain Layout
17670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17673 \begin_layout Plain Layout
17679 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17682 \begin_layout Plain Layout
17688 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17691 \begin_layout Plain Layout
17711 \begin_layout Plain Layout
17727 \begin_layout Standard
17728 \begin_inset VSpace bigskip
17732 \begin_inset space \thinspace{}
17736 \begin_inset CommandInset ref
17738 reference "sub:自製書式"
17742 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
17745 \begin_layout Standard
17750 newcolumntype{V}{!{
17752 vrule width 1.5pt}}
17755 \begin_layout Standard
17757 \begin_inset CommandInset ref
17759 reference "tab:1.5pt幅縦罫"
17766 \begin_layout Standard
17772 \begin_layout Standard
17776 \begin_layout Standard
17782 \begin_layout Standard
17786 \begin_layout Standard
17787 \begin_inset Float table
17792 \begin_layout Plain Layout
17793 \begin_inset Caption
17795 \begin_layout Plain Layout
17796 \begin_inset CommandInset label
17798 name "tab:1.5pt幅縦罫"
17803 \begin_inset space \thinspace{}
17814 \begin_layout Plain Layout
17816 \begin_inset Tabular
17817 <lyxtabular version="3" rows="3" columns="3">
17818 <features tabularvalignment="middle">
17819 <column alignment="center" valignment="top" width="0" special="Vc">
17820 <column alignment="center" valignment="top" width="0" special="Vc">
17821 <column alignment="center" valignment="top" width="0" special="VcV">
17823 <cell alignment="center" valignment="top" topline="true" usebox="none">
17826 \begin_layout Plain Layout
17832 <cell alignment="center" valignment="top" topline="true" usebox="none">
17835 \begin_layout Plain Layout
17841 <cell alignment="center" valignment="top" topline="true" usebox="none">
17844 \begin_layout Plain Layout
17852 <cell alignment="center" valignment="top" topline="true" usebox="none">
17855 \begin_layout Plain Layout
17861 <cell alignment="center" valignment="top" topline="true" usebox="none">
17864 \begin_layout Plain Layout
17870 <cell alignment="center" valignment="top" topline="true" usebox="none">
17873 \begin_layout Plain Layout
17881 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17884 \begin_layout Plain Layout
17890 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17893 \begin_layout Plain Layout
17899 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17902 \begin_layout Plain Layout
17921 \begin_layout Subsection
17923 \begin_inset Index idx
17926 \begin_layout Plain Layout
17927 ひょうのちょうせい@表の調整 ! てんけい@点罫
17935 \begin_layout Standard
17939 \begin_layout Plain Layout
17949 \begin_inset Note Note
17952 \begin_layout Plain Layout
17953 この節は、LaTeXパッケージarydshlnが導入済みの時のみ表示されます。
17961 \begin_layout Standard
17962 \begin_inset Float table
17968 \begin_layout Plain Layout
17969 \begin_inset Caption
17971 \begin_layout Plain Layout
17972 \begin_inset CommandInset label
17986 \begin_layout Plain Layout
17988 \begin_inset Tabular
17989 <lyxtabular version="3" rows="5" columns="5">
17990 <features tabularvalignment="middle">
17991 <column alignment="center" valignment="top" width="0">
17992 <column alignment="center" valignment="top" width="0">
17993 <column alignment="center" valignment="top" width="0" special=":c">
17994 <column alignment="center" valignment="top" width="0">
17995 <column alignment="center" valignment="top" width="0">
17997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18000 \begin_layout Plain Layout
18006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18009 \begin_layout Plain Layout
18015 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18018 \begin_layout Plain Layout
18024 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18027 \begin_layout Plain Layout
18033 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18036 \begin_layout Plain Layout
18044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18047 \begin_layout Plain Layout
18053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18056 \begin_layout Plain Layout
18062 <cell alignment="center" valignment="top" topline="true" usebox="none">
18065 \begin_layout Plain Layout
18071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18074 \begin_layout Plain Layout
18080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18083 \begin_layout Plain Layout
18091 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18094 \begin_layout Plain Layout
18098 \begin_layout Plain Layout
18112 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18115 \begin_layout Plain Layout
18121 <cell alignment="center" valignment="top" usebox="none">
18124 \begin_layout Plain Layout
18130 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18133 \begin_layout Plain Layout
18139 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18142 \begin_layout Plain Layout
18150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18153 \begin_layout Plain Layout
18157 \begin_layout Plain Layout
18171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18174 \begin_layout Plain Layout
18180 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18183 \begin_layout Plain Layout
18189 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18192 \begin_layout Plain Layout
18198 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18201 \begin_layout Plain Layout
18209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18212 \begin_layout Plain Layout
18218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18221 \begin_layout Plain Layout
18227 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18230 \begin_layout Plain Layout
18236 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18239 \begin_layout Plain Layout
18245 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18248 \begin_layout Plain Layout
18267 \begin_layout Standard
18268 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
18271 \begin_layout Standard
18276 usepackage{arydshln}
18279 \begin_layout Standard
18280 というコマンドを書き、LaTeXパッケージの
18285 \begin_inset Index idx
18288 \begin_layout Plain Layout
18289 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
18294 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
18297 \begin_layout Standard
18298 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
18301 \begin_layout Standard
18309 \begin_layout Standard
18313 \begin_layout Standard
18314 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
18317 \begin_layout Standard
18327 \begin_layout Standard
18328 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
18331 \begin_layout Standard
18339 \begin_layout Standard
18343 \begin_layout Standard
18344 \begin_inset VSpace bigskip
18350 \begin_layout Standard
18352 \begin_inset CommandInset ref
18354 reference "tab:点罫表"
18358 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
18362 hdashlineが挿れられており、第3行の最初のセルには、
18365 \begin_inset Newline newline
18372 cdashline{4-5}が挿れられています。
18375 \begin_layout Standard
18376 \begin_inset Note Greyedout
18379 \begin_layout Plain Layout
18384 ここで用いられているLaTeXパッケージ
18389 \begin_inset CommandInset ref
18391 reference "sec:色付きの表"
18395 節の色付き表で用いられているLaTeXパッケージ
18400 \begin_inset Index idx
18403 \begin_layout Plain Layout
18404 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
18409 とは、どうやら共存し得ないようです。すなわち、色付き表に点罫をつけることはできません。
18417 \begin_layout Standard
18421 \begin_layout Plain Layout
18431 \begin_inset Note Note
18434 \begin_layout Plain Layout
18447 \begin_layout Standard
18452 パッケージを導入しなくてはなりません。
18455 \begin_layout Standard
18459 \begin_layout Plain Layout
18471 \begin_layout Chapter
18473 \begin_inset CommandInset label
18480 \begin_inset Index idx
18483 \begin_layout Plain Layout
18492 \begin_layout Section
18494 \begin_inset CommandInset label
18496 name "sec:フロートはじめに"
18501 \begin_inset Index idx
18504 \begin_layout Plain Layout
18513 \begin_layout Standard
18514 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
18523 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
18526 \begin_layout Standard
18527 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
18528 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
18529 ートには連番が割り当てられます。参照については、第
18530 \begin_inset CommandInset ref
18532 reference "sec:フロートの参照"
18539 \begin_layout Standard
18542 挿入\SpecialChar \menuseparator
18545 メニューを使えば、ラベルのついたボックスすなわち
18549 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
18550 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
18551 \begin_inset CommandInset ref
18553 reference "sec:キャプションの配置"
18557 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
18559 \begin_inset Graphics
18560 filename clipart/floatQt4.png
18562 scaleBeforeRotation
18566 のように、灰色ボタンに赤字ラベルで表示されます。
18569 \begin_layout Standard
18570 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
18573 \begin_layout Standard
18574 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
18577 \begin_layout Section
18581 \begin_layout Standard
18583 \begin_inset CommandInset ref
18585 reference "sec:図フロート"
18590 \begin_inset CommandInset ref
18592 reference "sec:表フロート"
18596 節で各々説明されている図フロートと表フロート以外に、
18606 The latter are explained in sec.
18609 \begin_inset space \thinspace{}
18613 \begin_inset CommandInset ref
18615 reference "sec:折返しフロート"
18622 \begin_layout Subsection
18624 \begin_inset Index idx
18627 \begin_layout Plain Layout
18628 ふろーと@フロート ! あるごりずむ@アルゴリズム
18636 \begin_layout Standard
18637 \begin_inset Float algorithm
18643 \begin_layout Plain Layout
18644 \begin_inset Caption
18646 \begin_layout Plain Layout
18647 \begin_inset CommandInset label
18649 name "alg:アルゴリズムフロートの例"
18661 \begin_layout LyX-Code
18663 \begin_inset Newline newline
18666 Sum:= Sum + A(I); /*comment*/
18667 \begin_inset Newline newline
18671 \begin_inset VSpace -4mm
18682 \begin_layout Standard
18687 \SpecialChar \menuseparator
18688 フロート\SpecialChar \menuseparator
18692 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
18693 \begin_inset CommandInset ref
18695 reference "cha:プログラムコードリスト"
18699 章で説明されているプログラムコードリストの代わりとみなすことができます。
18703 に述べられているように、アルゴリズム向けの環境としては、
18708 \begin_inset CommandInset ref
18710 reference "alg:アルゴリズムフロートの例"
18714 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
18715 \begin_inset space \thinspace{}
18721 \begin_layout Standard
18722 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
18725 \begin_layout Standard
18730 floatname{algorithm}{付けたい名称}
18733 \begin_layout Standard
18734 という行を手動で加える必要があります。ここで
18747 \begin_layout Standard
18748 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
18750 挿入\SpecialChar \menuseparator
18751 一覧/目次\SpecialChar \menuseparator
18754 メニューを使用します。それ以外の場合には、代わりに
18757 \begin_layout Standard
18762 listof{algorithm}{付けたい名称}
18765 \begin_layout Standard
18766 というコマンドをTeXコードとして用います。ここで
18774 s」という単語に相当する、ご使用になりたい言語での単語です。
18777 \begin_layout Standard
18778 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
18779 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
18782 \begin_layout Standard
18787 numberwithin{algorithm}{chapter}
18790 \begin_layout Standard
18797 というコマンドを使用するには、文書設定の
18808 \begin_layout Section
18810 \begin_inset Index idx
18813 \begin_layout Plain Layout
18814 ふろーと@フロート ! れんばん@連番
18822 \begin_layout Standard
18823 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
18827 \begin_layout Standard
18828 節から独立して付けられている連番を変更するには、文書プリアンブルで
18831 \begin_layout Standard
18843 \begin_layout Standard
18850 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
18856 コマンドを使用します。上のコマンドで使用されている
18862 は、表番号を小文字のローマ数字で印字するコマンドです。
18865 \begin_layout Standard
18866 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
18869 \begin_layout Standard
18874 numberwithin{table}{subsection}
18877 \begin_layout Standard
18884 コマンドを使用可能にするためには、文書設定の
18891 \begin_inset space ~
18899 \begin_layout Standard
18900 連番コマンドについての詳細と大切な注意点については、第
18901 \begin_inset CommandInset ref
18903 reference "sub:脚注の付番"
18910 \begin_layout Section
18912 \begin_inset CommandInset label
18919 \begin_inset Index idx
18922 \begin_layout Plain Layout
18923 ふろーと@フロート ! さんしょう@参照
18929 \begin_inset Index idx
18932 \begin_layout Plain Layout
18933 さんしょう@参照 ! ふろーとにたいする@フロートに対する
18941 \begin_layout Standard
18944 挿入\SpecialChar \menuseparator
18947 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
18948 \begin_inset Graphics
18949 filename ../clipart/labelQt4.png
18951 scaleBeforeRotation
18955 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
18956 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
18963 \begin_layout Standard
18964 ラベルは、参照のための名称兼位置標として用いられます。
18966 挿入\SpecialChar \menuseparator
18970 \begin_inset Graphics
18971 filename ../../images/dialog-show-new-inset_ref.png
18973 scaleBeforeRotation
18977 を使えば、ラベルを参照することができます。
18978 \begin_inset Graphics
18979 filename clipart/referenceQt4.png
18981 scaleBeforeRotation
18985 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
18986 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
18990 \begin_layout Standard
18991 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
18992 出力では、参照の代わりに二つの疑問符が表示されることになります。
18995 \begin_layout Standard
18996 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
18997 で、リンクの更新に手間を割く必要はありません。
19000 \begin_layout Standard
19005 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
19009 に変わるので、相互参照にカーソルを戻すのに使用することができます。相互参照ボックスを右クリックしても、カーソルを参照されているラベルの前に移すことができますが、
19010 この場合には元に戻ることができません。
19013 \begin_layout Subsection
19015 \begin_inset CommandInset label
19022 \begin_inset Index idx
19025 \begin_layout Plain Layout
19034 \begin_layout Standard
19035 相互参照には、以下の6種類があります。
19038 \begin_layout Description
19039 <参照>: これはフロート番号を表示します。これが既定値です。例:
19040 \begin_inset CommandInset ref
19042 reference "fig:歪められた二つの像"
19049 \begin_layout Description
19050 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
19052 \begin_inset CommandInset ref
19061 \begin_layout Description
19062 <参照ページ>: これはページ番号を表示します。例:Page
19063 \begin_inset space ~
19067 \begin_inset CommandInset ref
19068 LatexCommand pageref
19069 reference "fig:歪められた二つの像"
19076 \begin_layout Description
19078 \begin_inset space ~
19082 \begin_inset space ~
19085 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
19086 \begin_inset CommandInset ref
19087 LatexCommand vpageref
19088 reference "fig:歪められた二つの像"
19095 \begin_layout Description
19097 \begin_inset space ~
19101 \begin_inset space ~
19105 \begin_inset space ~
19108 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
19109 \begin_inset CommandInset ref
19111 reference "fig:歪められた二つの像"
19118 \begin_layout Description
19119 整形された参照: これは自製の相互参照書式で出力します。
19120 \begin_inset Newline newline
19124 \begin_inset Note Greyedout
19127 \begin_layout Plain Layout
19128 【註】この機能は、LaTeXパッケージ
19136 が導入されている場合のみ使用することができます。
19137 \begin_inset Index idx
19140 \begin_layout Plain Layout
19141 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19147 \begin_inset Index idx
19150 \begin_layout Plain Layout
19151 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19162 \begin_inset Newline newline
19167 文書\SpecialChar \menuseparator
19168 設定\SpecialChar \menuseparator
19173 相互参照に(prettyrefではなく)refstyleを使用
19175 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
19181 コマンド(prettyrefの場合)あるいは
19187 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
19191 」を持ちます)をすべて定義し直すには、
19192 \begin_inset Newline newline
19199 newref{fig}{refcmd={Image on page
19202 \begin_inset Newline newline
19207 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
19208 \begin_inset CommandInset citation
19210 key "prettyref,refstyle"
19217 \begin_layout Description
19218 名称参照: これは、右のように参照のキャプションを出力します。
19219 \begin_inset CommandInset ref
19220 LatexCommand nameref
19221 reference "fig:歪められた二つの像"
19228 \begin_layout Standard
19233 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
19239 <参照> on page <参照ページ>
19241 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
19244 \begin_layout Standard
19245 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
19252 \begin_layout Standard
19253 \begin_inset Note Greyedout
19256 \begin_layout Plain Layout
19261 It is recommended to use the LaTeX-package
19266 \begin_inset Index idx
19269 \begin_layout Plain Layout
19270 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19280 \begin_inset Index idx
19283 \begin_layout Plain Layout
19284 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19289 does not know all of LyX's possible label shortcuts
19293 \begin_layout Plain Layout
19294 \begin_inset Quotes eld
19298 \begin_inset Quotes erd
19301 is for example LyX's shortcut for labels in figure captions.
19306 and is not internationalized.
19314 \begin_layout Subsection
19316 \begin_inset Index idx
19319 \begin_layout Plain Layout
19320 さんしょう@参照 ! じどうめいめい@自動命名
19328 \begin_layout Standard
19342 \begin_inset Index idx
19345 \begin_layout Plain Layout
19346 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19351 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
19355 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
19356 の機能を使用するには、hyperrefを有効にして、
19359 \begin_layout Standard
19375 \begin_layout Standard
19376 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
19377 \begin_inset space \thinspace{}
19380 」としたいなど、既定の参照名以外のものが欲しい場合には、
19383 \begin_layout Standard
19394 sectionautorefname}
19395 \begin_inset Newline newline
19399 \begin_inset Phantom HPhantom
19402 \begin_layout Plain Layout
19405 \begin_inset space ~
19418 \begin_layout Standard
19419 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
19420 \begin_inset Newline newline
19431 に置き換えてください(***は使用中の言語名)。
19434 \begin_layout Standard
19435 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
19438 \begin_layout Standard
19446 \begin_inset Newline newline
19456 \begin_inset Newline newline
19467 equationautorefname}
19468 \begin_inset Newline newline
19472 \begin_inset Phantom HPhantom
19475 \begin_layout Plain Layout
19478 \begin_inset space ~
19493 \begin_layout Standard
19494 この話題に関する詳細は、hyperrefの説明書
19495 \begin_inset CommandInset citation
19504 \begin_layout Standard
19505 \begin_inset Note Greyedout
19508 \begin_layout Plain Layout
19518 \begin_inset CommandInset ref
19520 reference "sub:相互参照の書式"
19524 節)で使用しているときには、使用することができません。
19532 \begin_layout Standard
19537 は、参照の自動命名が使用されている一例です。
19540 \begin_layout Subsection
19542 \begin_inset CommandInset label
19549 \begin_inset Index idx
19552 \begin_layout Plain Layout
19553 さんしょう@参照 ! さんしょういち@参照位置
19561 \begin_layout Standard
19575 \begin_inset Index idx
19578 \begin_layout Plain Layout
19579 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19584 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
19585 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
19590 \begin_inset Index idx
19593 \begin_layout Plain Layout
19594 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19604 \begin_inset Index idx
19607 \begin_layout Plain Layout
19608 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19613 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
19616 \begin_layout Standard
19621 usepackage[figure]{hypcap}
19624 \begin_layout Standard
19625 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
19627 \begin_inset CommandInset citation
19636 \begin_layout Standard
19637 \begin_inset Note Greyedout
19640 \begin_layout Plain Layout
19645 は内部図への参照には効力がありません。
19653 \begin_layout Section
19655 \begin_inset CommandInset label
19662 \begin_inset Index idx
19665 \begin_layout Plain Layout
19674 \begin_layout Standard
19684 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
19685 \begin_inset Newline newline
19706 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
19707 \begin_inset Newline newline
19728 オプションは、フロートを回転するのに用います。第
19738 \begin_inset CommandInset ref
19740 reference "sec:回転フロート"
19756 \begin_layout Standard
19784 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
19787 \begin_layout Description
19797 フロートを挿入位置に配置することを試みます
19800 \begin_layout Description
19810 フロートを現在ページの上部に配置することを試みます
19813 \begin_layout Description
19823 フロートを現在ページの下部に配置することを試みます
19826 \begin_layout Description
19836 フロートを独立したページに配置することを試みます
19839 \begin_layout Standard
19844 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
19852 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
19853 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
19856 \begin_layout Standard
19857 既定では、各オプションはそれぞれ以下の規則を持っています。
19860 \begin_layout Labeling
19861 \labelwidthstring 00.00.0000
19866 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
19875 \begin_layout Labeling
19876 \labelwidthstring 00.00.0000
19881 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
19890 \begin_layout Labeling
19891 \labelwidthstring 00.00.0000
19896 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
19905 \begin_layout Standard
19910 オプションを追加することによって、これらを無視することができます。
19911 \begin_inset Newline newline
19914 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
19915 、ページの5割に変えるには、文書プリアンブルに
19918 \begin_layout Standard
19925 bottomfraction}{0.5}
19928 \begin_layout Standard
19932 \begin_layout Standard
19933 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
19937 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
19938 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
19942 \begin_layout Standard
19943 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
19946 \begin_layout Standard
19947 \begin_inset VSpace bigskip
19953 \begin_layout Standard
19954 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
19955 することがあります。この問題を避けるには、LaTeXコマンドの
19957 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
19958 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
19961 \begin_layout Standard
19971 \begin_inset Newline newline
19985 \begin_layout Standard
19986 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
19987 することがあるので、これらに対する定義はお勧めしません。
19990 \begin_layout Standard
19991 \begin_inset VSpace bigskip
19994 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
19999 \begin_inset Index idx
20002 \begin_layout Plain Layout
20003 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
20008 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
20009 \begin_inset Quotes eld
20015 \begin_inset space ~
20021 \begin_inset Quotes erd
20024 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
20027 \begin_layout Standard
20032 usepackage[options]{endfloat}
20035 \begin_layout Standard
20036 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
20041 \begin_inset CommandInset citation
20048 \begin_inset Newline newline
20052 \begin_inset Note Greyedout
20055 \begin_layout Plain Layout
20060 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
20061 \begin_inset CommandInset citation
20073 \begin_inset Newline newline
20077 \begin_inset Note Greyedout
20080 \begin_layout Plain Layout
20089 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
20103 \begin_layout Standard
20104 \begin_inset VSpace bigskip
20107 フロートの割付に関する詳細は、LaTeX関連書
20108 \begin_inset CommandInset citation
20110 key "latexcompanion,latexguide,latexbook"
20117 \begin_layout Section
20119 \begin_inset CommandInset label
20126 \begin_inset Index idx
20129 \begin_layout Plain Layout
20130 ふろーと@フロート ! かいてん@回転
20138 \begin_layout Standard
20139 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
20146 \begin_layout Standard
20147 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
20151 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
20152 たって回転方向を強制したい場合には、文書クラスオプションに
20163 \begin_layout Standard
20164 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
20165 \begin_inset CommandInset ref
20167 reference "tab:回転した表"
20174 \begin_layout Standard
20175 \begin_inset Note Greyedout
20178 \begin_layout Plain Layout
20183 すべてのDVIビューアが回転フロートを表示できるわけではありません。
20191 \begin_layout Standard
20192 \begin_inset Float table
20197 \begin_layout Plain Layout
20198 \begin_inset Caption
20200 \begin_layout Plain Layout
20201 \begin_inset CommandInset label
20215 \begin_layout Plain Layout
20217 \begin_inset Tabular
20218 <lyxtabular version="3" rows="1" columns="5">
20219 <features tabularvalignment="middle">
20220 <column alignment="center" valignment="top" width="0">
20221 <column alignment="center" valignment="top" width="0">
20222 <column alignment="center" valignment="top" width="0">
20223 <column alignment="center" valignment="top" width="0">
20224 <column alignment="center" valignment="top" width="0">
20226 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20229 \begin_layout Plain Layout
20235 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20238 \begin_layout Plain Layout
20244 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20247 \begin_layout Plain Layout
20253 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20256 \begin_layout Plain Layout
20262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20265 \begin_layout Plain Layout
20284 \begin_layout Section
20286 \begin_inset Index idx
20289 \begin_layout Plain Layout
20290 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
20298 \begin_layout Standard
20299 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
20300 \begin_inset CommandInset ref
20302 reference "tab:従属表を横に並べたもの"
20307 \begin_inset CommandInset ref
20309 reference "tab:従属表を縦に並べたもの"
20313 に示されているように段落と同様に指定することができます。
20316 \begin_layout Standard
20317 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
20318 \begin_inset CommandInset ref
20320 reference "tab:これは従属表a"
20325 \begin_inset CommandInset ref
20327 reference "tab:これは従属表b"
20332 \begin_inset CommandInset ref
20334 reference "tab:従属表を横に並べたもの"
20339 \begin_inset Float table
20344 \begin_layout Plain Layout
20345 \begin_inset Caption
20347 \begin_layout Plain Layout
20348 \begin_inset CommandInset label
20350 name "tab:従属表を横に並べたもの"
20362 \begin_layout Plain Layout
20363 \begin_inset space \hfill{}
20367 \begin_inset Float table
20372 \begin_layout Plain Layout
20373 \begin_inset Caption
20375 \begin_layout Plain Layout
20376 \begin_inset CommandInset label
20390 \begin_layout Plain Layout
20392 \begin_inset Tabular
20393 <lyxtabular version="3" rows="1" columns="5">
20394 <features tabularvalignment="middle">
20395 <column alignment="center" valignment="top" width="0">
20396 <column alignment="center" valignment="top" width="0">
20397 <column alignment="center" valignment="top" width="0">
20398 <column alignment="center" valignment="top" width="0">
20399 <column alignment="center" valignment="top" width="0">
20401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20404 \begin_layout Plain Layout
20410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20413 \begin_layout Plain Layout
20419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20422 \begin_layout Plain Layout
20428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20431 \begin_layout Plain Layout
20437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20440 \begin_layout Plain Layout
20457 \begin_inset space \hfill{}
20461 \begin_inset Float table
20466 \begin_layout Plain Layout
20467 \begin_inset Caption
20469 \begin_layout Plain Layout
20470 \begin_inset CommandInset label
20484 \begin_layout Plain Layout
20486 \begin_inset Tabular
20487 <lyxtabular version="3" rows="1" columns="5">
20488 <features tabularvalignment="middle">
20489 <column alignment="center" valignment="top" width="0">
20490 <column alignment="center" valignment="top" width="0">
20491 <column alignment="center" valignment="top" width="0">
20492 <column alignment="center" valignment="top" width="0">
20493 <column alignment="center" valignment="top" width="0">
20495 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20498 \begin_layout Plain Layout
20504 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20507 \begin_layout Plain Layout
20513 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20516 \begin_layout Plain Layout
20522 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20525 \begin_layout Plain Layout
20531 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20534 \begin_layout Plain Layout
20551 \begin_inset space \hfill{}
20560 \begin_inset Float table
20565 \begin_layout Plain Layout
20566 \begin_inset Caption
20568 \begin_layout Plain Layout
20569 \begin_inset CommandInset label
20571 name "tab:従属表を縦に並べたもの"
20575 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
20583 \begin_layout Plain Layout
20584 \begin_inset Float table
20589 \begin_layout Plain Layout
20590 \begin_inset Caption
20592 \begin_layout Plain Layout
20601 \begin_layout Plain Layout
20603 \begin_inset Tabular
20604 <lyxtabular version="3" rows="1" columns="4">
20605 <features tabularvalignment="middle">
20606 <column alignment="center" valignment="top" width="0">
20607 <column alignment="center" valignment="top" width="0">
20608 <column alignment="center" valignment="top" width="0">
20609 <column alignment="center" valignment="top" width="0">
20611 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20614 \begin_layout Plain Layout
20620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20623 \begin_layout Plain Layout
20629 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20632 \begin_layout Plain Layout
20638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20641 \begin_layout Plain Layout
20660 \begin_layout Plain Layout
20661 \begin_inset Float table
20666 \begin_layout Plain Layout
20667 \begin_inset Caption
20669 \begin_layout Plain Layout
20678 \begin_layout Plain Layout
20680 \begin_inset Tabular
20681 <lyxtabular version="3" rows="1" columns="5">
20682 <features tabularvalignment="middle">
20683 <column alignment="center" valignment="top" width="0">
20684 <column alignment="center" valignment="top" width="0">
20685 <column alignment="center" valignment="top" width="0">
20686 <column alignment="center" valignment="top" width="0">
20687 <column alignment="center" valignment="top" width="0">
20689 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20692 \begin_layout Plain Layout
20698 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20701 \begin_layout Plain Layout
20707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20710 \begin_layout Plain Layout
20716 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20719 \begin_layout Plain Layout
20725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20728 \begin_layout Plain Layout
20752 \begin_layout Section
20754 \begin_inset Index idx
20757 \begin_layout Plain Layout
20758 ふろーと@フロート ! よこならび@横並び
20766 \begin_layout Standard
20768 \begin_inset CommandInset ref
20770 reference "fig:左側のフロート"
20775 \begin_inset CommandInset ref
20777 reference "fig:右側のフロート"
20781 のようにフロートを横並びに配置するには、
20785 フロートのみを使用し、その中に二つのminipageボックスを挿入します
20789 \begin_layout Plain Layout
20791 \begin_inset CommandInset ref
20793 reference "sec:ミニページ"
20803 \begin_inset space \thinspace{}
20807 \begin_inset space \thinspace{}
20810 列幅%とし、各minipageのボックス配置を
20814 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
20818 がここではminipageボックスの幅によって計算されることです。
20821 \begin_layout Standard
20822 \begin_inset Float figure
20827 \begin_layout Plain Layout
20828 \begin_inset Box Frameless
20838 height_special "totalheight"
20841 \begin_layout Plain Layout
20843 \begin_inset Graphics
20844 filename ../clipart/mobius.eps
20847 scaleBeforeRotation
20854 \begin_layout Plain Layout
20855 \begin_inset Caption
20857 \begin_layout Plain Layout
20858 \begin_inset CommandInset label
20875 \begin_inset space \hfill{}
20879 \begin_inset Box Frameless
20889 height_special "totalheight"
20892 \begin_layout Plain Layout
20894 \begin_inset Graphics
20895 filename ../clipart/platypus.eps
20898 scaleBeforeRotation
20905 \begin_layout Plain Layout
20906 \begin_inset Caption
20908 \begin_layout Plain Layout
20909 \begin_inset CommandInset label
20928 \begin_layout Plain Layout
20937 \begin_layout Section
20939 \begin_inset Index idx
20942 \begin_layout Plain Layout
20943 きゃぷしょん@キャプション ! しょしきせってい@書式設定
20949 \begin_inset Index idx
20952 \begin_layout Plain Layout
20953 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
20959 \begin_inset CommandInset label
20961 name "sec:キャプションの書式設定"
20968 \begin_layout Standard
20977 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
20981 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
20985 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
20986 。このキャプション書式は、すべての文書書式に適しているわけではありません。
20989 \begin_layout Standard
20990 既定のキャプション書式を変更するには、文書プリアンブルに
20993 \begin_layout Standard
20998 usepackage[format definition]{caption}
21001 \begin_layout Standard
21002 という行を加えて、LaTeXパッケージ
21007 \begin_inset Index idx
21010 \begin_layout Plain Layout
21011 LaTeXぱっけーじ@LaTeXパッケージ ! caption
21016 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
21019 \begin_layout Standard
21024 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21027 \begin_layout Standard
21028 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
21032 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
21035 \begin_layout Standard
21040 captionsetup[フロート型]{書式定義}
21043 \begin_layout Standard
21044 というコマンドを使用して、個別の書式を指定してください。たとえば、図
21045 \begin_inset CommandInset ref
21047 reference "fig:図キャプション"
21052 \begin_inset CommandInset ref
21054 reference "tab:表キャプション"
21058 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
21061 \begin_layout Standard
21066 usepackage[tableposition=top]{caption}
21069 \begin_inset Newline newline
21076 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21077 \begin_inset Newline newline
21081 \begin_inset Phantom HPhantom
21084 \begin_layout Plain Layout
21087 captionsetup[figure]{
21093 \begin_inset Newline newline
21098 captionsetup[table]{labelfont={bf,sf}}
21101 \begin_layout Standard
21102 \begin_inset Note Greyedout
21105 \begin_layout Plain Layout
21119 \begin_inset Index idx
21122 \begin_layout Plain Layout
21123 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21128 が使われているときには、無効になります。この場合には、文書クラスオプション
21130 captions=tableheading
21140 \begin_layout Standard
21145 パッケージについての詳細は、その取扱説明書
21146 \begin_inset CommandInset citation
21155 \begin_layout Standard
21156 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
21159 \begin_layout Standard
21171 \begin_layout Standard
21185 \begin_layout Standard
21186 \begin_inset VSpace bigskip
21194 \begin_inset Index idx
21197 \begin_layout Plain Layout
21198 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21205 article (KOMA-script)
21213 letter (KOMA-script)
21217 report (KOMA-script)
21231 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
21234 \begin_layout Standard
21239 setkomafont{captionlabel}{
21244 \begin_layout Standard
21256 \begin_inset CommandInset citation
21265 \begin_layout Standard
21269 \begin_layout Plain Layout
21273 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21280 \begin_inset Note Note
21283 \begin_layout Plain Layout
21284 キャプション書式は、この例のみ変更してあります。
21292 \begin_layout Standard
21293 \begin_inset Float figure
21299 \begin_layout Plain Layout
21301 \begin_inset Graphics
21302 filename ../clipart/mobius.eps
21305 scaleBeforeRotation
21312 \begin_layout Plain Layout
21313 \begin_inset Caption
21315 \begin_layout Plain Layout
21316 \begin_inset CommandInset label
21322 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
21335 \begin_layout Standard
21339 \begin_layout Plain Layout
21343 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21352 \begin_layout Standard
21353 \begin_inset Float table
21359 \begin_layout Plain Layout
21360 \begin_inset Caption
21362 \begin_layout Plain Layout
21363 \begin_inset CommandInset label
21369 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
21377 \begin_layout Plain Layout
21379 \begin_inset Tabular
21380 <lyxtabular version="3" rows="1" columns="5">
21381 <features tabularvalignment="middle">
21382 <column alignment="center" valignment="top" width="0">
21383 <column alignment="center" valignment="top" width="0">
21384 <column alignment="center" valignment="top" width="0">
21385 <column alignment="center" valignment="top" width="0">
21386 <column alignment="center" valignment="top" width="0">
21388 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21391 \begin_layout Plain Layout
21397 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21400 \begin_layout Plain Layout
21406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21409 \begin_layout Plain Layout
21415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21418 \begin_layout Plain Layout
21424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21427 \begin_layout Plain Layout
21446 \begin_layout Section
21448 \begin_inset Index idx
21451 \begin_layout Plain Layout
21452 きゃぷしょん@キャプション ! はいち@配置
21458 \begin_inset Index idx
21461 \begin_layout Plain Layout
21462 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
21468 \begin_inset CommandInset label
21470 name "sec:キャプションの配置"
21477 \begin_layout Standard
21481 \begin_layout Description
21482 図の場合: キャプションを図の下に置く
21485 \begin_layout Description
21486 表の場合: キャプションを表の上に置く
21489 \begin_layout Standard
21490 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
21506 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
21514 \begin_layout Standard
21520 \begin_layout Standard
21525 \begin_layout Plain Layout
21531 \begin_inset CommandInset ref
21533 reference "sec:キャプションの書式設定"
21547 \begin_inset Index idx
21550 \begin_layout Plain Layout
21551 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21558 article (KOMA-script)
21566 letter (KOMA-script)
21570 report (KOMA-script)
21573 \begin_inset space \thinspace{}
21580 パッケージにオプションを与える代わりに、文書クラスオプション
21582 captions=tableheading
21587 \begin_layout Standard
21588 \begin_inset VSpace bigskip
21591 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
21594 \begin_layout Standard
21599 usepackage[option]{sidecap}
21602 \begin_layout Standard
21603 という行を入れて、LaTeXパッケージ
21608 \begin_inset Index idx
21611 \begin_layout Plain Layout
21612 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
21617 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
21621 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
21632 \begin_layout Standard
21636 \begin_layout Plain Layout
21646 \begin_inset Note Note
21649 \begin_layout Plain Layout
21654 が導入されているときのみ表示されます。
21662 \begin_layout Standard
21663 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
21666 \begin_layout Standard
21668 \begin_inset CommandInset line
21679 \begin_layout Standard
21687 \begin_inset Newline newline
21691 \begin_inset Phantom HPhantom
21694 \begin_layout Plain Layout
21697 \begin_inset space ~
21712 \begin_inset Newline newline
21716 \begin_inset Phantom HPhantom
21719 \begin_layout Plain Layout
21722 \begin_inset space ~
21737 \begin_inset Newline newline
21741 \begin_inset Phantom HPhantom
21744 \begin_layout Plain Layout
21747 \begin_inset space ~
21757 renewenvironment{table}{
21764 \begin_layout Standard
21772 \begin_inset Newline newline
21776 \begin_inset Phantom HPhantom
21779 \begin_layout Plain Layout
21782 \begin_inset space ~
21797 \begin_inset Newline newline
21801 \begin_inset Phantom HPhantom
21804 \begin_layout Plain Layout
21807 \begin_inset space ~
21824 \begin_layout Standard
21832 \begin_inset Newline newline
21836 \begin_inset Phantom HPhantom
21839 \begin_layout Plain Layout
21842 \begin_inset space ~
21857 \begin_inset Newline newline
21861 \begin_inset Phantom HPhantom
21864 \begin_layout Plain Layout
21867 \begin_inset space ~
21882 \begin_inset Newline newline
21886 \begin_inset Phantom HPhantom
21889 \begin_layout Plain Layout
21892 \begin_inset space ~
21902 renewenvironment{figure}{
21909 \begin_layout Standard
21917 \begin_inset Newline newline
21921 \begin_inset Phantom HPhantom
21924 \begin_layout Plain Layout
21927 \begin_inset space ~
21942 \begin_inset Newline newline
21946 \begin_inset Phantom HPhantom
21949 \begin_layout Plain Layout
21952 \begin_inset space ~
21969 \begin_layout Standard
21971 \begin_inset CommandInset line
21982 \begin_layout Standard
21983 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
21986 \begin_layout Standard
21994 \begin_layout Standard
21995 というコマンドを、フロートの前にTeXコードで入れてください。本来のフロート定義に戻すには、フロートの後に、TeXコードで
21998 \begin_layout Standard
22006 \begin_layout Standard
22010 \begin_layout Standard
22011 表フロートに対しては、対応するコマンド
22014 \begin_layout Standard
22028 \begin_layout Standard
22030 \begin_inset CommandInset ref
22032 reference "fig:図横キャプション"
22037 \begin_inset CommandInset ref
22039 reference "tab:表横キャプション"
22046 \begin_layout Standard
22047 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
22048 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
22051 \begin_layout Standard
22056 sidecaptionvpos{フロート型}{配置}
22059 \begin_layout Standard
22060 というコマンドを使用します。ここで「フロート型」は
22068 であり、「配置」は、上揃えの場合はtopの
22071 \begin_layout Standard
22084 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
22087 \begin_layout Standard
22092 sidecaptionvpos{figure}{c}
22095 \begin_layout Standard
22096 というコマンドを使用します。これは、図
22097 \begin_inset CommandInset ref
22099 reference "fig:図横キャプション-2"
22106 \begin_layout Standard
22107 \begin_inset VSpace medskip
22115 \begin_inset CommandInset citation
22124 \begin_layout Standard
22125 \begin_inset Note Greyedout
22128 \begin_layout Plain Layout
22134 \begin_inset CommandInset ref
22136 reference "sub:参照位置"
22145 \begin_inset Index idx
22148 \begin_layout Plain Layout
22149 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
22154 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
22162 \begin_layout Standard
22166 \begin_layout Plain Layout
22178 \begin_layout Standard
22179 \begin_inset Float figure
22184 \begin_layout Plain Layout
22185 \begin_inset Graphics
22186 filename ../clipart/escher-lsd.eps
22188 scaleBeforeRotation
22195 \begin_layout Plain Layout
22196 \begin_inset Caption
22198 \begin_layout Plain Layout
22199 \begin_inset CommandInset label
22201 name "fig:図横キャプション"
22218 \begin_layout Standard
22222 \begin_layout Plain Layout
22234 \begin_layout Standard
22235 \begin_inset Float table
22240 \begin_layout Plain Layout
22241 \begin_inset Caption
22243 \begin_layout Plain Layout
22244 \begin_inset CommandInset label
22246 name "tab:表横キャプション"
22258 \begin_layout Plain Layout
22259 \begin_inset Tabular
22260 <lyxtabular version="3" rows="4" columns="5">
22261 <features tabularvalignment="middle">
22262 <column alignment="center" valignment="top" width="0">
22263 <column alignment="center" valignment="top" width="0">
22264 <column alignment="center" valignment="top" width="0">
22265 <column alignment="center" valignment="top" width="0">
22266 <column alignment="center" valignment="top" width="0">
22268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22271 \begin_layout Plain Layout
22277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22280 \begin_layout Plain Layout
22286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22289 \begin_layout Plain Layout
22295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22298 \begin_layout Plain Layout
22304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22307 \begin_layout Plain Layout
22315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22318 \begin_layout Plain Layout
22324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22327 \begin_layout Plain Layout
22333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22336 \begin_layout Plain Layout
22342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22345 \begin_layout Plain Layout
22351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22354 \begin_layout Plain Layout
22362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22365 \begin_layout Plain Layout
22371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22374 \begin_layout Plain Layout
22380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22383 \begin_layout Plain Layout
22389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22392 \begin_layout Plain Layout
22398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22401 \begin_layout Plain Layout
22409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22412 \begin_layout Plain Layout
22418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22421 \begin_layout Plain Layout
22427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22430 \begin_layout Plain Layout
22436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22439 \begin_layout Plain Layout
22445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22448 \begin_layout Plain Layout
22467 \begin_layout Standard
22471 \begin_layout Plain Layout
22483 \begin_layout Standard
22487 \begin_layout Plain Layout
22491 sidecaptionvpos{figure}{c}
22497 \begin_inset Float figure
22502 \begin_layout Plain Layout
22503 \begin_inset Graphics
22504 filename ../clipart/escher-lsd.eps
22506 scaleBeforeRotation
22513 \begin_layout Plain Layout
22514 \begin_inset Caption
22516 \begin_layout Plain Layout
22517 \begin_inset CommandInset label
22519 name "fig:図横キャプション-2"
22523 これは図の横にある縦方向中央揃えのキャプションです。
22536 \begin_layout Standard
22540 \begin_layout Plain Layout
22552 \begin_layout Standard
22556 \begin_layout Plain Layout
22566 \begin_inset Note Note
22569 \begin_layout Plain Layout
22574 が導入されていないときのみ表示されます。
22582 \begin_layout Standard
22583 本節の残りの部分を出力で表示するには、LaTeXパッケージ
22590 \begin_layout Standard
22594 \begin_layout Plain Layout
22606 \begin_layout Section
22608 \begin_inset Index idx
22611 \begin_layout Plain Layout
22612 ふろーと@フロート ! ふろーといちらん@フロート一覧
22620 \begin_layout Standard
22621 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
22623 挿入\SpecialChar \menuseparator
22629 \begin_layout Standard
22630 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
22633 \begin_layout Standard
22634 本文書の終わりに、図一覧と表一覧があります。
22637 \begin_layout Chapter
22641 \begin_layout Section
22643 \begin_inset Index idx
22646 \begin_layout Plain Layout
22647 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
22655 \begin_layout Standard
22657 \begin_inset Graphics
22658 filename ../../images/note-insert.png
22660 scaleBeforeRotation
22666 挿入\SpecialChar \menuseparator
22669 メニューで挿入することができます。注釈には、以下の三つの型があります。
22672 \begin_layout Description
22673 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
22674 \begin_inset Newline newline
22678 \begin_inset Newline newline
22682 \begin_inset Graphics
22683 filename ../clipart/LyXNoteImageQt4.png
22686 scaleBeforeRotation
22691 \begin_inset Note Note
22694 \begin_layout Plain Layout
22695 これは、出力には現れない注釈ボックスに書かれた文章です。
22703 \begin_layout Description
22704 コメント この注釈も出力には現れませんが、
22706 ファイル\SpecialChar \menuseparator
22707 書き出し\SpecialChar \menuseparator
22708 LaTeX (pdflatex) / (平文)
22710 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
22711 \begin_inset Newline newline
22715 \begin_inset Newline newline
22719 \begin_inset Graphics
22720 filename ../clipart/CommentNoteImageQt4.png
22723 scaleBeforeRotation
22728 \begin_inset Note Comment
22731 \begin_layout Plain Layout
22732 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
22740 \begin_layout Description
22741 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
22742 \begin_inset Newline newline
22746 \begin_inset Newline newline
22750 \begin_inset Graphics
22751 filename ../clipart/GreyedOutNoteImageQt4.png
22754 scaleBeforeRotation
22759 \begin_inset Newline newline
22766 \begin_layout Plain Layout
22770 renewenvironment{lyxgreyedout}
22773 \begin_layout Plain Layout
22777 textcolor[gray]{0.8}
22787 \begin_inset Note Greyedout
22790 \begin_layout Plain Layout
22791 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
22795 \begin_layout Plain Layout
22796 これは、淡色表示注釈内に脚注を用いた例です。
22810 \begin_layout Plain Layout
22814 renewenvironment{lyxgreyedout}
22817 \begin_layout Plain Layout
22831 \begin_inset Note Note
22834 \begin_layout Plain Layout
22835 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
22842 \begin_inset Newline newline
22846 \begin_inset Newline newline
22849 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
22852 \begin_layout Standard
22853 \begin_inset VSpace bigskip
22857 \begin_inset Graphics
22858 filename ../../images/note-insert.png
22860 scaleBeforeRotation
22868 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
22869 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
22873 \begin_layout Standard
22874 \begin_inset VSpace bigskip
22879 You can change the text color of the greyed out notes in the menu
22881 Document\SpecialChar \menuseparator
22882 Settings\SpecialChar \menuseparator
22888 \begin_layout Section
22890 \begin_inset CommandInset label
22897 \begin_inset Index idx
22900 \begin_layout Plain Layout
22901 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
22907 \begin_inset Index idx
22910 \begin_layout Plain Layout
22919 \begin_layout Standard
22921 \begin_inset Graphics
22922 filename ../../images/footnote-insert.png
22924 scaleBeforeRotation
22930 挿入\SpecialChar \menuseparator
22933 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
22934 \begin_inset Graphics
22935 filename clipart/footnoteQt4.png
22937 scaleBeforeRotation
22941 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
22942 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
22945 \begin_layout Standard
22950 \begin_layout Plain Layout
22951 \begin_inset CommandInset label
22966 \begin_layout Plain Layout
22970 newcounter{MyRepeatFoot}
22973 \begin_layout Plain Layout
22977 setcounter{MyRepeatFoot}{
22987 \begin_layout Standard
22988 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
22989 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
22992 \begin_layout Standard
22993 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
22994 \begin_inset CommandInset ref
22996 reference "sec:フロートの参照"
23000 節に説明されているようにして、本文中でこのラベルを相互参照してください。
23001 \begin_inset Newline newline
23005 \begin_inset CommandInset ref
23007 reference "fn:これは脚注の一例"
23014 \begin_layout Standard
23015 \begin_inset VSpace defskip
23021 \begin_layout Standard
23022 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
23028 コマンドを入れてください。脚注の本文は、表の後でTeXコード
23035 \begin_inset Newline newline
23039 \begin_inset Newline newline
23053 \begin_inset Newline newline
23059 \begin_layout Standard
23060 \begin_inset Tabular
23061 <lyxtabular version="3" rows="2" columns="1">
23062 <features tabularvalignment="middle">
23063 <column alignment="center" valignment="top" width="0">
23065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23068 \begin_layout Plain Layout
23073 \begin_layout Plain Layout
23086 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23089 \begin_layout Plain Layout
23094 \begin_layout Plain Layout
23117 \begin_layout Plain Layout
23130 \begin_layout Plain Layout
23140 \begin_layout Standard
23142 \begin_inset CommandInset ref
23144 reference "sub:長尺表での脚注"
23151 \begin_layout Standard
23152 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
23153 \begin_inset CommandInset ref
23155 reference "sec:ミニページ"
23159 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
23174 \begin_layout Standard
23175 \begin_inset Box Frameless
23185 height_special "totalheight"
23188 \begin_layout Plain Layout
23193 \begin_layout Plain Layout
23202 \begin_layout Plain Layout
23207 \begin_layout Plain Layout
23224 \begin_layout Standard
23228 \begin_layout Plain Layout
23241 \begin_layout Plain Layout
23249 \begin_inset VSpace defskip
23255 \begin_layout Standard
23256 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
23263 \begin_inset Newline newline
23266 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
23267 \begin_inset CommandInset ref
23269 reference "fn:これは脚注の一例"
23276 \begin_layout Standard
23281 newcounter{MyRepeatFoot}
23282 \begin_inset Newline newline
23287 setcounter{MyRepeatFoot}{
23292 \begin_layout Standard
23293 というコマンドを挿入しています。そして脚注マークは、
23296 \begin_layout Standard
23306 \begin_layout Standard
23310 \begin_layout Standard
23315 \begin_layout Plain Layout
23329 \begin_layout Standard
23330 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
23333 \begin_layout Standard
23343 \begin_layout Standard
23347 \begin_layout Standard
23352 \begin_layout Plain Layout
23366 \begin_layout Subsection
23368 \begin_inset CommandInset label
23375 \begin_inset Index idx
23378 \begin_layout Plain Layout
23387 \begin_layout Standard
23388 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
23391 \begin_layout Standard
23396 @addtoreset{footnote}{section}
23399 \begin_layout Standard
23403 \begin_layout Standard
23404 \begin_inset VSpace bigskip
23407 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
23410 \begin_layout Standard
23422 \begin_layout Standard
23426 \begin_layout Plain Layout
23443 \begin_layout Plain Layout
23444 これは、ローマ数字を使った脚注の例です。
23452 \begin_layout Standard
23453 付番様式を大文字ローマ数字に変更するには、上記コマンドの
23465 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
23477 を使用してください。記号を使って付「番」するには、
23486 \begin_layout Standard
23487 \begin_inset Note Greyedout
23490 \begin_layout Plain Layout
23495 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
23501 \begin_inset Newline newline
23505 \begin_inset Note Greyedout
23508 \begin_layout Plain Layout
23513 記号を使うと9個の脚注しか番号を振ることができません。
23521 \begin_layout Standard
23522 付番様式を変更した後、既定様式に戻すには、上記コマンドの
23538 \begin_layout Plain Layout
23554 \begin_layout Standard
23555 \begin_inset VSpace bigskip
23561 \begin_layout Standard
23562 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
23565 \begin_layout Standard
23570 numberwithin{footnote}{chapter}
23573 \begin_layout Standard
23580 コマンドを使用できるようにするためには、文書設定の
23587 \begin_inset space ~
23595 \begin_layout Standard
23599 \begin_layout Plain Layout
23603 numberwithin{footnote}{chapter}
23614 \begin_layout Plain Layout
23619 「章番号.脚注番号」スキームで番号を振られた脚注です。
23630 \begin_layout Plain Layout
23646 \begin_layout Standard
23647 \begin_inset Note Greyedout
23650 \begin_layout Plain Layout
23657 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
23665 \begin_layout Standard
23668 Roman{footnote}」スキームを得るには、
23674 の代わりに以下のコマンドを使用してください。
23677 \begin_layout Standard
23691 \begin_layout Subsection
23693 \begin_inset Index idx
23696 \begin_layout Plain Layout
23705 \begin_layout Standard
23706 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
23708 \begin_inset space \thinspace{}
23714 \begin_layout Standard
23724 \begin_inset Newline newline
23738 \begin_layout Standard
23739 \begin_inset VSpace bigskip
23742 二段組文書では、脚注は各段底部に表示されます(図
23743 \begin_inset CommandInset ref
23745 reference "fig:標準的脚注配置"
23750 \begin_inset CommandInset ref
23752 reference "fig:ftnright脚注配置"
23756 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
23759 \begin_layout Standard
23764 usepackage{ftnright}
23767 \begin_layout Standard
23768 というコマンドを書いて、LaTeXパッケージ
23773 \begin_inset Index idx
23776 \begin_layout Plain Layout
23777 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
23783 \begin_inset Float figure
23789 \begin_layout Plain Layout
23793 \begin_layout Plain Layout
23803 \begin_inset Graphics
23804 filename ../clipart/without_fntright.pdf
23806 scaleBeforeRotation
23814 \begin_layout Plain Layout
23824 \begin_layout Plain Layout
23825 \begin_inset Caption
23827 \begin_layout Plain Layout
23828 \begin_inset CommandInset label
23847 \begin_layout Standard
23848 \begin_inset Float figure
23854 \begin_layout Plain Layout
23858 \begin_layout Plain Layout
23868 \begin_inset Graphics
23869 filename ../clipart/with_fntright.pdf
23871 scaleBeforeRotation
23879 \begin_layout Plain Layout
23889 \begin_layout Plain Layout
23890 \begin_inset Caption
23892 \begin_layout Plain Layout
23893 \begin_inset CommandInset label
23895 name "fig:ftnright脚注配置"
23916 \begin_layout Standard
23917 \begin_inset VSpace bigskip
23921 \begin_inset CommandInset ref
23927 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
23928 \begin_inset Index idx
23931 \begin_layout Plain Layout
23937 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
23939 文書\SpecialChar \menuseparator
23940 設定\SpecialChar \menuseparator
23947 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
23950 \begin_layout Standard
23958 \begin_layout Standard
23962 \begin_layout Standard
23963 \begin_inset Float figure
23968 \begin_layout Plain Layout
23973 \begin_layout Plain Layout
23983 \begin_inset Graphics
23984 filename ../clipart/endnotes.pdf
23985 scaleBeforeRotation
23993 \begin_layout Plain Layout
24003 \begin_layout Plain Layout
24004 \begin_inset Caption
24006 \begin_layout Plain Layout
24007 \begin_inset CommandInset label
24013 後注 – 注を節ないし章末に別段落として印字します。
24026 \begin_layout Standard
24027 \begin_inset VSpace medskip
24030 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
24033 \begin_layout Standard
24040 notesname}{Anmerkungen}
24043 \begin_layout Standard
24044 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
24047 \begin_layout Standard
24048 \begin_inset VSpace medskip
24052 \begin_inset CommandInset ref
24054 reference "sub:脚注の付番"
24058 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
24070 を用いてください。後注番号をリセットするには、第
24071 \begin_inset CommandInset ref
24073 reference "sub:脚注の付番"
24094 \begin_layout Standard
24096 \begin_inset CommandInset ref
24117 \begin_layout Standard
24118 \begin_inset VSpace bigskip
24121 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
24126 \begin_inset Index idx
24129 \begin_layout Plain Layout
24130 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
24136 \begin_inset CommandInset citation
24145 \begin_layout Standard
24146 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
24147 \begin_inset CommandInset citation
24149 key "latexcompanion,latexguide,latexbook"
24162 \begin_inset Index idx
24165 \begin_layout Plain Layout
24166 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
24173 document class, you can adjust all footnote settings using class-specific
24177 \begin_inset CommandInset citation
24186 \begin_layout Section
24188 \begin_inset Index idx
24191 \begin_layout Plain Layout
24192 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
24200 \begin_layout Standard
24201 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
24203 挿入\SpecialChar \menuseparator
24207 \begin_inset Graphics
24208 filename ../../images/marginalnote-insert.png
24210 scaleBeforeRotation
24214 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
24217 \begin_layout Standard
24219 \begin_inset Marginal
24222 \begin_layout Plain Layout
24231 \begin_layout Standard
24232 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
24233 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
24236 \begin_layout Standard
24237 \begin_inset VSpace bigskip
24240 傍注を内側余白に置くには、傍注の前にTeXコードで
24243 \begin_layout Standard
24251 \begin_layout Standard
24252 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
24256 \begin_layout Plain Layout
24266 \begin_inset Marginal
24269 \begin_layout Plain Layout
24278 \begin_inset Newline newline
24284 \begin_inset Note Greyedout
24287 \begin_layout Plain Layout
24288 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
24296 \begin_layout Standard
24300 \begin_layout Standard
24308 \begin_layout Standard
24313 \begin_layout Plain Layout
24323 \begin_inset Note Greyedout
24326 \begin_layout Plain Layout
24333 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
24341 \begin_layout Standard
24342 \begin_inset VSpace bigskip
24346 \begin_inset Marginal
24349 \begin_layout Plain Layout
24350 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
24356 \begin_inset CommandInset ref
24358 reference "sub:複数行"
24362 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
24363 \begin_inset space \thinspace{}
24367 \begin_inset Marginal
24370 \begin_layout Plain Layout
24371 \begin_inset space \hspace*{}
24375 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
24383 \begin_layout Standard
24384 \begin_inset VSpace bigskip
24390 \begin_layout Standard
24391 \begin_inset Note Greyedout
24394 \begin_layout Plain Layout
24399 通常、傍注は表やフロート、脚注の中では使用することができません。
24407 \begin_layout Standard
24408 \begin_inset VSpace bigskip
24414 \begin_layout Standard
24418 \begin_layout Plain Layout
24428 \begin_inset Note Note
24431 \begin_layout Plain Layout
24436 が導入されているときのみ表示されます。
24444 \begin_layout Standard
24450 \begin_inset Index idx
24453 \begin_layout Plain Layout
24454 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
24459 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
24463 パッケージが提供するコマンドを使うようになります。
24466 \begin_layout Standard
24471 usepackage{marginnote}
24472 \begin_inset Newline newline
24484 \begin_layout Standard
24489 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
24493 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
24494 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
24497 \begin_layout Standard
24503 \begin_layout Standard
24504 という形で書くことで設定することができます。ここで「オフセット」には、表
24505 \begin_inset CommandInset ref
24511 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
24516 \begin_inset space \thinspace{}
24520 \begin_inset Marginal
24523 \begin_layout Plain Layout
24525 \begin_inset space \thinspace{}
24537 \begin_layout Plain Layout
24547 \begin_layout Standard
24548 \begin_inset VSpace medskip
24555 を使うと、傍注の揃えを変更することもできます。たとえば、
24558 \begin_layout Standard
24565 raggedleftmarginnote}{
24568 \begin_inset Newline newline
24575 raggedrightmarginnote}{
24580 \begin_layout Standard
24581 というコマンドを使うと、中央揃えになります。
24585 raggedleftmarginnote
24587 とは、左側に表示されている傍注のことを指します
24591 \begin_layout Plain Layout
24597 raggedleftmarginnote}{
24602 \begin_layout Plain Layout
24608 raggedrightmarginnote}{
24616 \begin_inset Marginal
24619 \begin_layout Plain Layout
24620 この傍注の文章は中央揃えになっています。
24628 \begin_layout Standard
24635 raggedleftmarginnote}{
24638 \begin_inset Newline newline
24645 raggedrightmarginnote}{
24653 \begin_layout Plain Layout
24659 raggedleftmarginnote}{
24664 \begin_layout Plain Layout
24670 raggedrightmarginnote}{
24680 \begin_layout Standard
24684 \begin_layout Standard
24685 \begin_inset VSpace medskip
24693 \begin_inset CommandInset citation
24702 \begin_layout Standard
24703 \begin_inset VSpace bigskip
24706 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
24714 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
24717 \begin_layout Standard
24727 \begin_inset Newline newline
24737 \begin_inset Newline newline
24741 \begin_inset Phantom HPhantom
24744 \begin_layout Plain Layout
24747 \begin_inset space ~
24764 \begin_inset Newline newline
24768 \begin_inset Phantom HPhantom
24771 \begin_layout Plain Layout
24774 \begin_inset space ~
24791 \begin_layout Standard
24795 \begin_layout Plain Layout
24806 \begin_layout Plain Layout
24817 \begin_layout Plain Layout
24828 \begin_layout Plain Layout
24842 \begin_inset Marginal
24845 \begin_layout Plain Layout
24846 これは、定義したヘッダをつけた傍注です。
24855 \begin_layout Plain Layout
24866 \begin_layout Plain Layout
24880 \begin_inset Note Note
24883 \begin_layout Plain Layout
24884 傍注書式は、この例の分だけ変更してあります。
24892 \begin_layout Standard
24896 \begin_layout Plain Layout
24906 \begin_inset Note Note
24909 \begin_layout Plain Layout
24914 が導入されていないときのみ表示されます。
24922 \begin_layout Standard
24923 本節の以下の部分を出力に表示するには、LaTeXパッケージ
24930 \begin_layout Standard
24934 \begin_layout Plain Layout
24946 \begin_layout Chapter
24950 \begin_layout Section
24952 \begin_inset Index idx
24955 \begin_layout Plain Layout
24964 \begin_layout Standard
24965 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
24966 \begin_inset CommandInset ref
24968 reference "sec:ミニページ"
24973 \begin_inset CommandInset ref
24979 節参照)、単語がハイフネートされるのを予防したり(第
24980 \begin_inset CommandInset ref
24982 reference "sec:ハイフネーションの回避"
24987 \begin_inset CommandInset ref
24989 reference "sub:垂直揃え"
24993 節参照)、あるいは文章の背景色を設定したり(第
24994 \begin_inset CommandInset ref
24996 reference "sec:色付きボックス"
25003 \begin_layout Standard
25006 挿入\SpecialChar \menuseparator
25010 \begin_inset Graphics
25011 filename ../../images/box-insert.png
25013 scaleBeforeRotation
25017 を使って挿入することができます。すると、
25018 \begin_inset Graphics
25019 filename ../clipart/BoxInsetDefaultQt4.png
25021 scaleBeforeRotation
25029 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
25033 メニューを選択すると現れるボックスダイアログでは、
25049 型は、新規ボックスの既定値となっており、第
25050 \begin_inset CommandInset ref
25052 reference "sec:ミニページ"
25061 \begin_inset CommandInset ref
25063 reference "sec:Parboxes"
25072 \begin_inset CommandInset ref
25074 reference "sec:ハイフネーションの回避"
25081 \begin_layout Standard
25082 ボックスは付番されないので、フロートや脚注のように参照することはできません。
25085 \begin_layout Standard
25086 \begin_inset Note Greyedout
25089 \begin_layout Plain Layout
25098 環境の単独要素とすべきではありません。
25106 \begin_layout Standard
25107 \begin_inset Note Greyedout
25110 \begin_layout Plain Layout
25111 【註】理由は不明ですが、枠付きボックスを使用している場合には、
25124 \begin_inset CommandInset ref
25126 reference "sec:ハイフネーションの回避"
25138 \begin_layout Section
25140 \begin_inset CommandInset label
25142 name "sec:ボックスダイアログ"
25147 \begin_inset Index idx
25150 \begin_layout Plain Layout
25151 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
25159 \begin_layout Subsection
25161 \begin_inset Index idx
25164 \begin_layout Plain Layout
25165 ぼっくす@ボックス ! すんぽう@寸法
25173 \begin_layout Standard
25182 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
25183 \begin_inset CommandInset ref
25193 フィールドには、加えて以下の寸法を使用することができます。
25196 \begin_layout Description
25197 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
25198 \begin_inset Newline newline
25202 \begin_inset Newline newline
25206 \begin_inset Newline newline
25210 \begin_inset Box Boxed
25220 height_special "depth"
25223 \begin_layout Plain Layout
25231 \begin_inset Newline newline
25235 \begin_inset Newline newline
25241 \begin_layout Description
25242 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
25243 \begin_inset Box Boxed
25253 height_special "height"
25256 \begin_layout Plain Layout
25266 \begin_layout Description
25268 \begin_inset Box Boxed
25278 height_special "totalheight"
25281 \begin_layout Plain Layout
25291 \begin_layout Description
25292 幅 これはボックスの幅を高さに設定します。
25293 \begin_inset Box Boxed
25303 height_special "width"
25306 \begin_layout Plain Layout
25316 \begin_layout Subsection
25318 \begin_inset Index idx
25321 \begin_layout Plain Layout
25322 ぼっくす@ボックス ! もじそろえ@文字揃え
25330 \begin_layout Standard
25335 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
25338 \begin_layout Description
25340 \begin_inset Box Boxed
25350 height_special "totalheight"
25353 \begin_layout Plain Layout
25363 \begin_layout Description
25365 \begin_inset Box Boxed
25375 height_special "totalheight"
25378 \begin_layout Plain Layout
25388 \begin_layout Description
25390 \begin_inset Box Boxed
25400 height_special "totalheight"
25403 \begin_layout Plain Layout
25413 \begin_layout Standard
25414 \begin_inset Note Greyedout
25417 \begin_layout Plain Layout
25422 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
25430 \begin_layout Standard
25431 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
25434 \begin_layout Standard
25435 \begin_inset VSpace bigskip
25442 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
25445 \begin_layout Description
25447 \begin_inset Box Boxed
25457 height_special "totalheight"
25460 \begin_layout Plain Layout
25470 \begin_layout Description
25472 \begin_inset Box Boxed
25482 height_special "totalheight"
25485 \begin_layout Plain Layout
25495 \begin_layout Description
25497 \begin_inset Box Boxed
25507 height_special "totalheight"
25510 \begin_layout Plain Layout
25520 \begin_layout Description
25521 広げる これは例示のための本文行です。
25522 \begin_inset Box Boxed
25532 height_special "totalheight"
25535 \begin_layout Plain Layout
25540 \begin_layout Plain Layout
25545 \begin_layout Plain Layout
25555 \begin_layout Standard
25556 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
25559 \begin_layout Standard
25560 \begin_inset VSpace bigskip
25567 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
25570 \begin_layout Standard
25572 \begin_inset Box Boxed
25582 height_special "totalheight"
25585 \begin_layout Plain Layout
25590 \begin_layout Plain Layout
25595 \begin_layout Plain Layout
25605 \begin_layout Standard
25610 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
25613 \begin_layout Standard
25615 \begin_inset Box Boxed
25625 height_special "totalheight"
25628 \begin_layout Plain Layout
25629 このボックスの文章は水平方向に広げてあります。
25637 \begin_layout Subsection
25639 \begin_inset CommandInset label
25646 \begin_inset Index idx
25649 \begin_layout Plain Layout
25650 ぼっくす@ボックス ! そうしょく@装飾
25658 \begin_layout Standard
25663 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
25666 \begin_layout Description
25670 \begin_layout Description
25671 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
25678 \begin_inset Box Boxed
25688 height_special "totalheight"
25691 \begin_layout Plain Layout
25701 \begin_layout Description
25702 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
25703 \begin_inset space \thinspace{}
25707 \begin_inset Box ovalbox
25717 height_special "totalheight"
25720 \begin_layout Plain Layout
25730 \begin_layout Description
25731 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
25732 \begin_inset space \thinspace{}
25736 \begin_inset Box Ovalbox
25746 height_special "totalheight"
25749 \begin_layout Plain Layout
25759 \begin_layout Description
25760 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
25767 \begin_inset space \thinspace{}
25771 \begin_inset Box Shadowbox
25781 height_special "totalheight"
25784 \begin_layout Plain Layout
25794 \begin_layout Description
25795 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
25799 \begin_layout Plain Layout
25801 \begin_inset CommandInset ref
25803 reference "sec:色付きボックス"
25812 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
25813 \begin_inset Box Shaded
25823 height_special "totalheight"
25826 \begin_layout Plain Layout
25835 \begin_layout Description
25836 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
25837 \begin_inset space \thinspace{}
25847 \begin_inset space \thinspace{}
25857 \begin_inset space \thinspace{}
25867 \begin_inset space \thinspace{}
25871 \begin_inset space \thinspace{}
25875 \begin_inset space \thinspace{}
25879 \begin_inset Box Doublebox
25889 height_special "totalheight"
25892 \begin_layout Plain Layout
25902 \begin_layout Standard
25903 \begin_inset VSpace bigskip
25906 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
25911 \begin_inset Index idx
25914 \begin_layout Plain Layout
25915 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
25923 \begin_layout Standard
25924 \begin_inset VSpace bigskip
25931 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
25951 \begin_inset Box Framed
25961 height_special "totalheight"
25964 \begin_layout Plain Layout
25973 \begin_layout Section
25975 \begin_inset Index idx
25978 \begin_layout Plain Layout
25979 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
25987 \begin_layout Standard
25995 \begin_inset space \thinspace{}
25998 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
25999 \begin_inset space \thinspace{}
26005 \begin_layout Standard
26015 \begin_layout Standard
26019 \begin_layout Plain Layout
26031 \begin_inset Box Boxed
26041 height_special "totalheight"
26044 \begin_layout Plain Layout
26053 \begin_inset space \thinspace{}
26057 \begin_inset space \thinspace{}
26061 \begin_inset space \thinspace{}
26073 \begin_layout Plain Layout
26087 \begin_layout Standard
26088 \begin_inset VSpace bigskip
26091 枠とボックスの内容との空白は、すべての枠様式について3
26092 \begin_inset space \thinspace{}
26095 ptが既定値になっています。これは、長さ
26101 を別の値に設定することによって変更することができます。たとえば
26104 \begin_layout Standard
26114 \begin_layout Standard
26116 \begin_inset space \thinspace{}
26119 ptにし、以下のボックスのようになります。
26122 \begin_layout Standard
26126 \begin_layout Plain Layout
26138 \begin_inset Box Boxed
26148 height_special "totalheight"
26151 \begin_layout Plain Layout
26160 \begin_inset space \thinspace{}
26164 \begin_inset space \thinspace{}
26168 \begin_inset space \thinspace{}
26180 \begin_layout Plain Layout
26194 \begin_layout Standard
26195 \begin_inset VSpace bigskip
26198 楕円形ボックスの丸い角の直径は、コマンド
26207 \begin_layout Standard
26215 \begin_layout Standard
26217 \begin_inset space \thinspace{}
26223 \begin_layout Standard
26231 \begin_layout Standard
26235 \begin_inset space \thinspace{}
26239 \begin_inset space \thinspace{}
26253 \begin_layout Standard
26257 \begin_layout Plain Layout
26267 \begin_inset Box Ovalbox
26277 height_special "totalheight"
26280 \begin_layout Plain Layout
26289 \begin_inset space \thinspace{}
26293 \begin_inset space \thinspace{}
26297 \begin_inset space \thinspace{}
26309 \begin_layout Plain Layout
26321 \begin_layout Standard
26322 \begin_inset VSpace bigskip
26331 を変更することで調整できます。以下のボックスでは
26334 \begin_layout Standard
26344 \begin_layout Standard
26346 \begin_inset space \thinspace{}
26352 \begin_layout Standard
26356 \begin_layout Plain Layout
26368 \begin_inset Box Shadowbox
26378 height_special "totalheight"
26381 \begin_layout Plain Layout
26390 \begin_inset space \thinspace{}
26394 \begin_inset space \thinspace{}
26398 \begin_inset space \thinspace{}
26410 \begin_layout Plain Layout
26424 \begin_layout Standard
26425 \begin_inset VSpace bigskip
26431 \begin_layout Standard
26439 \begin_inset space \thinspace{}
26442 ptです。ボックスの中身と枠の間の空白の既定値は9
26443 \begin_inset space \thinspace{}
26452 の値を変えることで変更することができます。たとえば、下記の
26459 \begin_layout Standard
26467 \begin_inset Newline newline
26477 \begin_layout Standard
26478 というTeXコードコマンドで設定してあります。
26482 \begin_layout Plain Layout
26491 \begin_layout Plain Layout
26503 \begin_inset Box Framed
26513 height_special "totalheight"
26516 \begin_layout Plain Layout
26530 \begin_layout Plain Layout
26539 \begin_layout Plain Layout
26553 \begin_layout Standard
26554 \begin_inset VSpace bigskip
26560 \begin_layout Standard
26565 ボックスでは、ボックスの内容と枠の余白の既定値は3
26566 \begin_inset space \thinspace{}
26575 の値を変更することで変えられます。既定の背景色である赤色は、
26579 definecolor{shadebox}
26581 コマンドで局所的に変更することもできますし、
26583 ツール\SpecialChar \menuseparator
26584 設定\SpecialChar \menuseparator
26585 色\SpecialChar \menuseparator
26588 メニューからグローバルに変更することもできます。
26595 \begin_inset CommandInset ref
26597 reference "sec:色付きの表"
26605 \begin_layout Plain Layout
26616 をプリアンブルに読み込む必要があります。第
26617 \begin_inset CommandInset ref
26619 reference "sec:色付きボックス"
26631 \begin_layout Standard
26632 たとえば、下記の影付き背景ボックスの外見は
26635 \begin_layout Standard
26645 \begin_inset Newline newline
26652 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26655 \begin_layout Standard
26656 というTeXコードコマンドを使って設定してあります。
26659 \begin_layout Standard
26663 \begin_layout Plain Layout
26672 \begin_layout Plain Layout
26676 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26682 \begin_inset Box Shaded
26692 height_special "totalheight"
26695 \begin_layout Plain Layout
26711 \begin_layout Plain Layout
26720 \begin_layout Plain Layout
26724 definecolor{shadecolor}{rgb}{1,0,0}
26732 \begin_layout Standard
26733 \begin_inset VSpace bigskip
26736 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
26739 \begin_layout Section
26741 \begin_inset CommandInset label
26748 \begin_inset Index idx
26751 \begin_layout Plain Layout
26752 ぼっくす@ボックス ! みにぺーじ@ミニページ
26760 \begin_layout Standard
26761 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
26764 \begin_layout Standard
26765 ミニページは、複数の言語を含む文書を執筆する際に便利です。
26768 \begin_layout Standard
26769 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
26773 \SpecialChar \menuseparator
26778 \SpecialChar \menuseparator
26783 メニューで挿入した水平フィルで隔てられています。
26784 \begin_inset Newpage newpage
26790 \begin_layout Standard
26791 \begin_inset Box Frameless
26801 height_special "totalheight"
26804 \begin_layout Plain Layout
26805 Dies ist ein deutscher Text.
26806 Dies ist ein deutscher Text.
26807 Dies ist ein deutscher Text.
26808 Dies ist ein deutscher Text.
26809 Dies ist ein deutscher Text.
26810 Dies ist ein deutscher Text.
26811 Dies ist ein deutscher Text.
26812 Dies ist ein deutscher Text.
26813 Dies ist ein deutscher Text.
26814 Dies ist ein deutscher Text.
26815 Dies ist ein deutscher Text.
26816 Dies ist ein deutscher Text.
26817 Dies ist ein deutscher Text
26821 \begin_layout Plain Layout
26822 Dies ist eine deutsche Fußnote.
26828 Dies ist ein deutscher Text.
26829 Dies ist ein deutscher Text.
26835 \begin_inset space \hfill{}
26839 \begin_inset Box Frameless
26849 height_special "totalheight"
26852 \begin_layout Plain Layout
26853 This is an English Text.
26854 This is an English Text.
26855 This is an English Text.
26856 This is an English Text.
26857 This is an English Text.
26858 This is an English Text.
26859 This is an English Text.
26860 This is an English Text.
26861 This is an English Text.
26862 This is an English Text.
26863 This is an English Text.
26864 This is an English Text.
26865 This is an English Text.
26866 This is an English Text.
26867 This is an English Text.
26868 This is an English Text.
26872 \begin_layout Plain Layout
26873 This is an English footnote.
26878 This is an English Text.
26887 \begin_layout Standard
26888 \begin_inset VSpace bigskip
26891 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
26892 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
26895 \begin_layout Standard
26897 \begin_inset Tabular
26898 <lyxtabular version="3" rows="3" columns="4">
26899 <features tabularvalignment="middle">
26900 <column alignment="center" valignment="top" width="0pt">
26901 <column alignment="center" valignment="top" width="0pt">
26902 <column alignment="center" valignment="top" width="0pt">
26903 <column alignment="center" valignment="top" width="0pt">
26905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26908 \begin_layout Plain Layout
26914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26917 \begin_layout Plain Layout
26923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26926 \begin_layout Plain Layout
26931 \begin_layout Plain Layout
26942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26945 \begin_layout Plain Layout
26953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26956 \begin_layout Plain Layout
26962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26965 \begin_layout Plain Layout
26971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26974 \begin_layout Plain Layout
26980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26983 \begin_layout Plain Layout
26991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26994 \begin_layout Plain Layout
27000 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27003 \begin_layout Plain Layout
27009 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27012 \begin_layout Plain Layout
27018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27021 \begin_layout Plain Layout
27035 \begin_layout Standard
27037 \begin_inset Box Frameless
27047 height_special "totalheight"
27050 \begin_layout Plain Layout
27052 \begin_inset Tabular
27053 <lyxtabular version="3" rows="3" columns="4">
27054 <features tabularvalignment="middle">
27055 <column alignment="center" valignment="top" width="0pt">
27056 <column alignment="center" valignment="top" width="0pt">
27057 <column alignment="center" valignment="top" width="0pt">
27058 <column alignment="center" valignment="top" width="0pt">
27060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27063 \begin_layout Plain Layout
27069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27072 \begin_layout Plain Layout
27078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27081 \begin_layout Plain Layout
27086 \begin_layout Plain Layout
27097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27100 \begin_layout Plain Layout
27108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27111 \begin_layout Plain Layout
27117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27120 \begin_layout Plain Layout
27126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27129 \begin_layout Plain Layout
27135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27138 \begin_layout Plain Layout
27146 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27149 \begin_layout Plain Layout
27155 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27158 \begin_layout Plain Layout
27164 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27167 \begin_layout Plain Layout
27173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27176 \begin_layout Plain Layout
27195 \begin_layout Standard
27196 \begin_inset VSpace bigskip
27199 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
27203 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
27206 \begin_layout Standard
27207 ミニページは、文章部に背景色を与えるのに使用することもできます。第
27208 \begin_inset CommandInset ref
27210 reference "sub:段落の着色"
27217 \begin_layout Standard
27218 \begin_inset Note Greyedout
27221 \begin_layout Plain Layout
27226 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
27234 \begin_layout Section
27236 \begin_inset CommandInset label
27238 name "sec:Parboxes"
27243 \begin_inset Index idx
27246 \begin_layout Plain Layout
27247 ぼっくす@ボックス ! Parboxes
27255 \begin_layout Standard
27256 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
27259 \begin_layout Standard
27261 \begin_inset Box Frameless
27271 height_special "totalheight"
27274 \begin_layout Plain Layout
27275 これはparbox内の文章です。これはparbox内の文章です。
27278 \begin_layout Plain Layout
27283 \begin_layout Plain Layout
27284 これはparbox内の脚注であり、したがって表示はされません。
27297 \begin_layout Section
27299 \begin_inset Index idx
27302 \begin_layout Plain Layout
27303 ぼっくす@ボックス ! もじよう@文字用
27311 \begin_layout Subsection
27313 \begin_inset CommandInset label
27315 name "sec:ハイフネーションの回避"
27320 \begin_inset Index idx
27323 \begin_layout Plain Layout
27324 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
27332 \begin_layout Standard
27333 単語や文章がハイフネートされるのを防ぐには、
27338 \begin_inset Newline newline
27344 \begin_layout Standard
27345 This line is an example to show how you can prevent the hyphenation of
27346 \begin_inset Quotes eld
27350 \begin_inset Quotes erd
27356 \begin_layout Standard
27357 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
27368 \begin_layout Standard
27372 \begin_layout Standard
27373 This line is an example to show how you can prevent the hyphenation of
27374 \begin_inset Box Frameless
27384 height_special "totalheight"
27387 \begin_layout Plain Layout
27388 \begin_inset Quotes eld
27392 \begin_inset Quotes erd
27403 \begin_layout Standard
27404 別の方法としては、以下のように、単語の前に直接TeXコードで「
27413 \begin_layout Standard
27414 This line is an example to show how you can prevent the hyphenation of
27415 \begin_inset Quotes eld
27422 \begin_layout Plain Layout
27432 \begin_inset Quotes erd
27438 \begin_layout Standard
27439 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
27443 \SpecialChar \menuseparator
27448 \SpecialChar \menuseparator
27456 arg "newline-insert newline"
27459 )から改行を単語の前に入れてください。
27462 \begin_layout Standard
27463 This line is an example to show how you can prevent the hyphenation of
27464 \begin_inset Newline newline
27468 \begin_inset Box Frameless
27478 height_special "totalheight"
27481 \begin_layout Plain Layout
27482 \begin_inset Quotes eld
27486 \begin_inset Quotes erd
27497 \begin_layout Subsection
27499 \begin_inset CommandInset label
27506 \begin_inset Index idx
27509 \begin_layout Plain Layout
27510 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
27516 \begin_inset Index idx
27519 \begin_layout Plain Layout
27520 ぼっくす@ボックス ! Raiseboxes
27528 \begin_layout Standard
27535 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
27544 \begin_layout Standard
27549 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
27552 \begin_layout Standard
27553 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
27556 \begin_layout Standard
27557 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
27560 \begin_layout Standard
27570 \begin_layout Standard
27571 というコマンドを挿入してください。単語の後には、閉じ括弧「
27576 \begin_inset Newline newline
27582 \begin_layout Standard
27583 This is a text line with the word
27587 \begin_layout Plain Layout
27599 \begin_inset Quotes eld
27603 \begin_inset Quotes erd
27610 \begin_layout Plain Layout
27620 \begin_layout Standard
27621 \begin_inset VSpace bigskip
27624 行中の文字を上げ下げすると、以下のように行間が広がります。
27627 \begin_layout Standard
27628 This is a text line with the word
27632 \begin_layout Plain Layout
27644 \begin_inset Quotes eld
27648 \begin_inset Quotes erd
27655 \begin_layout Plain Layout
27663 \begin_inset Newline newline
27666 This is a text line with the word
27670 \begin_layout Plain Layout
27680 \begin_inset Quotes eld
27684 \begin_inset Quotes erd
27691 \begin_layout Plain Layout
27701 \begin_layout Standard
27702 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
27705 \begin_layout Standard
27715 \begin_layout Standard
27719 \begin_layout Standard
27720 This is a text line with the word
27724 \begin_layout Plain Layout
27736 \begin_inset Quotes eld
27740 \begin_inset Quotes erd
27747 \begin_layout Plain Layout
27755 \begin_inset Newline newline
27758 This is a text line with the word
27762 \begin_layout Plain Layout
27766 raisebox{0.5cm}[0pt]{
27772 \begin_inset Quotes eld
27776 \begin_inset Quotes erd
27783 \begin_layout Plain Layout
27793 \begin_layout Section
27795 \begin_inset CommandInset label
27802 \begin_inset Index idx
27805 \begin_layout Plain Layout
27806 ぼっくす@ボックス ! いろつき@色付き
27814 \begin_layout Subsection
27816 \begin_inset Index idx
27819 \begin_layout Plain Layout
27828 \begin_layout Standard
27829 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
27834 \begin_inset Index idx
27837 \begin_layout Plain Layout
27838 LaTeXぱっけーじ@LaTeXパッケージ ! color
27843 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
27846 \begin_layout Standard
27851 @ifundefined{textcolor}
27852 \begin_inset Newline newline
27856 \begin_inset Phantom HPhantom
27859 \begin_layout Plain Layout
27862 \begin_inset space ~
27872 usepackage{color}}{}
27875 \begin_layout Standard
27880 パッケージは、文章を着色するとLyXが自動的に読み込みます
27884 \begin_layout Plain Layout
27885 これが二度読み込まれることを回避するには、
27899 \begin_layout Standard
27900 \begin_inset VSpace medskip
27909 コマンドを使って作ります。これは、以下のような書式で使われます。
27912 \begin_layout Standard
27917 colorbox{color}{ボックスの内容}
27920 \begin_layout Standard
27921 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
27924 \begin_layout Standard
27926 \begin_inset Newline newline
27962 \begin_inset Newline newline
27966 \begin_inset CommandInset ref
27968 reference "sec:色付きの表"
27972 節に述べられているようにすれば、自前の色を定義することもできます。
27975 \begin_layout Standard
27976 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
27979 \begin_layout Standard
27987 \begin_layout Standard
27988 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
27993 \begin_inset Newline newline
27999 \begin_layout Standard
28004 \begin_layout Plain Layout
28017 \begin_layout Plain Layout
28027 \begin_layout Standard
28028 \begin_inset VSpace bigskip
28031 ボックスの枠を別の色にしたい場合には、以下の書式で
28040 \begin_layout Standard
28045 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
28048 \begin_layout Standard
28061 の拡張です。枠の太さと枠とボックスの中身との余白は、第
28062 \begin_inset CommandInset ref
28083 \begin_layout Standard
28087 \begin_layout Standard
28092 fcolorbox{cyan}{magenta}{
28095 \begin_layout Standard
28099 \begin_layout Standard
28101 \begin_inset space \thinspace{}
28105 \begin_inset Newline newline
28112 \begin_layout Plain Layout
28127 \begin_layout Plain Layout
28131 fcolorbox{cyan}{magenta}{
28136 これは着色した色付きボックス中の文章です。
28140 \begin_layout Plain Layout
28150 \begin_layout Standard
28151 \begin_inset VSpace bigskip
28154 もちろん、色付きボックスの中に色付き文字を入れることもできます
28155 \begin_inset Newline newline
28162 \begin_layout Plain Layout
28166 fcolorbox{cyan}{magenta}{
28173 これは着色した色付きボックス中の色付き文章です。
28179 \begin_layout Plain Layout
28190 \begin_layout Plain Layout
28204 \begin_layout Standard
28207 \begin_inset VSpace medskip
28213 \begin_layout Standard
28214 \begin_inset Note Greyedout
28217 \begin_layout Plain Layout
28222 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
28230 \begin_layout Subsection
28232 \begin_inset CommandInset label
28239 \begin_inset Index idx
28242 \begin_layout Plain Layout
28251 \begin_layout Standard
28252 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
28261 \begin_layout Standard
28269 \begin_layout Standard
28270 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
28277 \begin_layout Standard
28281 \begin_layout Plain Layout
28285 colorbox{lightgrey}{
28291 \begin_inset Box Frameless
28301 height_special "totalheight"
28304 \begin_layout Plain Layout
28305 これは背景色を付けた文章です。これは背景色を付けた文章です。
28308 \begin_layout Plain Layout
28309 \begin_inset VSpace defskip
28316 \begin_layout Plain Layout
28322 を付けることもできますし、図表を挿入することもできます。
28325 \begin_layout Plain Layout
28327 \begin_inset Tabular
28328 <lyxtabular version="3" rows="3" columns="3">
28329 <features tabularvalignment="middle">
28330 <column alignment="center" valignment="top" width="0">
28331 <column alignment="center" valignment="top" width="0">
28332 <column alignment="center" valignment="top" width="0">
28334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28337 \begin_layout Plain Layout
28343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28346 \begin_layout Plain Layout
28352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28355 \begin_layout Plain Layout
28363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28366 \begin_layout Plain Layout
28372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28375 \begin_layout Plain Layout
28377 \begin_inset Quotes erd
28385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28388 \begin_layout Plain Layout
28396 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28399 \begin_layout Plain Layout
28405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28408 \begin_layout Plain Layout
28414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28417 \begin_layout Plain Layout
28437 \begin_layout Plain Layout
28447 \begin_layout Section
28451 \begin_layout Standard
28452 本節で述べられているコマンドを使用するには、文書プリアンブルで
28455 \begin_layout Standard
28460 @ifundefined{rotatebox}
28461 \begin_inset Newline newline
28465 \begin_inset Phantom HPhantom
28468 \begin_layout Plain Layout
28471 \begin_inset space ~
28481 usepackage{graphicx}}{}
28484 \begin_layout Standard
28490 \begin_inset Index idx
28493 \begin_layout Plain Layout
28494 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
28499 LaTeXパッケージを読み込む必要があります。
28502 \begin_layout Standard
28503 \begin_inset Note Greyedout
28506 \begin_layout Plain Layout
28511 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
28519 \begin_layout Standard
28520 \begin_inset Note Greyedout
28523 \begin_layout Plain Layout
28528 フロートは回転伸縮したボックスの中に入れることはできません。
28536 \begin_layout Subsection
28538 \begin_inset Index idx
28541 \begin_layout Plain Layout
28542 ぼっくす@ボックス ! かいてんした@回転した
28548 \begin_inset Index idx
28551 \begin_layout Plain Layout
28552 かいてん@回転 ! そざいの@素材の---
28558 \begin_inset Index idx
28561 \begin_layout Plain Layout
28568 \begin_inset Index idx
28571 \begin_layout Plain Layout
28572 ひょうのちょうせい@表の調整 ! かいてん@回転
28580 \begin_layout Standard
28581 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
28587 コマンドを使用すれば作成することができます。
28590 \begin_layout Standard
28595 rotatebox[回転の原点]{回転角}{ボックスの内容}
28598 \begin_layout Standard
28603 の形で指定します。位置として指定可能なのは、
28623 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
28627 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
28631 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
28634 \begin_layout Standard
28635 以下の例では、「回転した」文章の前にTeXコードで
28639 rotatebox[origin=c]{60}{
28641 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
28648 \begin_layout Standard
28653 \begin_layout Plain Layout
28657 rotatebox[origin=c]{60}{
28666 \begin_layout Plain Layout
28676 \begin_layout Standard
28677 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
28680 \begin_layout Standard
28685 \begin_layout Plain Layout
28689 rotatebox[origin=r]{-60}{
28695 \begin_inset Box Doublebox
28705 height_special "totalheight"
28708 \begin_layout Plain Layout
28718 \begin_layout Plain Layout
28729 \begin_layout Plain Layout
28733 rotatebox[origin=lb]{60}{
28739 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28746 \begin_layout Plain Layout
28756 \begin_layout Standard
28757 あるいは、以下のように図や表を入れることもできます。
28760 \begin_layout Standard
28765 \begin_layout Plain Layout
28769 rotatebox[origin=lb]{90}{
28775 \begin_inset Graphics
28776 filename ../clipart/platypus.eps
28786 \begin_layout Plain Layout
28797 \begin_layout Plain Layout
28801 rotatebox[origin=l]{-90}{
28807 \begin_inset Tabular
28808 <lyxtabular version="3" rows="2" columns="2">
28809 <features tabularvalignment="middle">
28810 <column alignment="center" valignment="top" width="0">
28811 <column alignment="center" valignment="top" width="0">
28813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28816 \begin_layout Plain Layout
28822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28825 \begin_layout Plain Layout
28833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28836 \begin_layout Plain Layout
28842 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28845 \begin_layout Plain Layout
28860 \begin_layout Plain Layout
28870 \begin_layout Subsection
28872 \begin_inset Index idx
28875 \begin_layout Plain Layout
28876 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
28882 \begin_inset Index idx
28885 \begin_layout Plain Layout
28886 しんしゅく@伸縮 ! そざいの@素材の---
28892 \begin_inset Index idx
28895 \begin_layout Plain Layout
28896 ず@図 ! のしんしゅく@---の伸縮
28902 \begin_inset Index idx
28905 \begin_layout Plain Layout
28906 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
28914 \begin_layout Standard
28930 \begin_layout Standard
28940 \begin_layout Standard
28945 scalebox{水平方向}[垂直方向]{ボックスの内容}
28948 \begin_layout Standard
28949 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
28952 \begin_layout Standard
28959 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
28963 \begin_layout Plain Layout
28976 \begin_layout Plain Layout
28986 \begin_layout Standard
28991 scalebox{2}[1]{こんにちは}
28997 \begin_layout Plain Layout
29010 \begin_layout Plain Layout
29020 \begin_layout Standard
29021 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
29025 scalebox{-1}[1]{こんにちは}
29027 というコマンドは、右のように反転文字を生成するのに使用できます:
29031 \begin_layout Plain Layout
29044 \begin_layout Plain Layout
29054 \begin_layout Standard
29059 scalebox{1}[-1]{こんにちは}
29065 \begin_layout Plain Layout
29078 \begin_layout Plain Layout
29088 \begin_layout Standard
29093 scalebox{-1}[1]{ボックスの内容}
29096 \begin_inset Newline newline
29103 reflectbox{ボックスの内容}
29106 \begin_inset Newline newline
29112 \begin_layout Standard
29113 \begin_inset VSpace bigskip
29116 指定した幅や丈にボックスを伸縮させるには、
29125 \begin_layout Standard
29130 resizebox{幅}{丈}{ボックスの内容}
29133 \begin_layout Standard
29134 です。上記二つのコマンド引数のうち一つが感嘆符「
29138 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
29141 \begin_layout Standard
29146 resizebox{2cm}{1cm}{こんにちは}
29152 \begin_layout Plain Layout
29156 resizebox{2cm}{1cm}{
29165 \begin_layout Plain Layout
29173 \begin_inset Newline newline
29180 resizebox{2cm}{!}{こんにちは}
29186 \begin_layout Plain Layout
29199 \begin_layout Plain Layout
29209 \begin_layout Standard
29210 \begin_inset VSpace bigskip
29214 \begin_inset Note Greyedout
29217 \begin_layout Plain Layout
29230 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
29238 \begin_layout Standard
29239 \begin_inset VSpace bigskip
29245 \begin_layout Standard
29246 ボックスは好きな順序で組み合わせることができます。たとえば、
29247 \begin_inset Newline newline
29254 rotatebox[origin=c]{-45}{
29258 reflectbox{こんにちは}}}
29259 \begin_inset Newline newline
29267 \begin_layout Standard
29272 \begin_layout Plain Layout
29276 rotatebox[origin=c]{-45}{
29289 \begin_layout Plain Layout
29299 \begin_layout Standard
29301 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
29304 \begin_layout Standard
29309 \begin_layout Plain Layout
29313 rotatebox[origin=c]{-30}{
29323 \begin_inset Graphics
29324 filename ../clipart/platypus.eps
29334 \begin_layout Plain Layout
29345 \begin_layout Plain Layout
29349 rotatebox[origin=c]{-45}{
29359 \begin_inset Tabular
29360 <lyxtabular version="3" rows="2" columns="2">
29361 <features tabularvalignment="middle">
29362 <column alignment="center" valignment="top" width="0">
29363 <column alignment="center" valignment="top" width="0">
29365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29368 \begin_layout Plain Layout
29374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29377 \begin_layout Plain Layout
29385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29388 \begin_layout Plain Layout
29394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29397 \begin_layout Plain Layout
29412 \begin_layout Plain Layout
29423 \begin_layout Plain Layout
29427 rotatebox[origin=c]{-45}{
29437 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29444 \begin_layout Plain Layout
29454 \begin_layout Standard
29463 \begin_layout Plain Layout
29464 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
29469 には、別行建て数式も伸縮させることができます。
29472 \begin_layout Chapter
29475 Objects Surrounded by Text
29476 \begin_inset Index idx
29479 \begin_layout Plain Layout
29490 \begin_layout Subsection
29492 \begin_inset CommandInset label
29499 \begin_inset Index idx
29502 \begin_layout Plain Layout
29503 ふろーと@フロート ! おりかえしふろーと@折返しフロート
29511 \begin_inset Index idx
29514 \begin_layout Plain Layout
29517 Surrounded by text ! Wrap Floats
29525 \begin_layout Standard
29526 \begin_inset Wrap figure
29533 \begin_layout Plain Layout
29534 \begin_inset Graphics
29535 filename ../clipart/mobius.eps
29537 scaleBeforeRotation
29538 rotateOrigin center
29545 \begin_layout Plain Layout
29546 \begin_inset Caption
29548 \begin_layout Plain Layout
29549 \begin_inset CommandInset label
29551 name "fig:折返し図フロート"
29565 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
29570 \begin_inset Index idx
29573 \begin_layout Plain Layout
29574 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
29581 挿入\SpecialChar \menuseparator
29582 フロート\SpecialChar \menuseparator
29593 \begin_layout Plain Layout
29594 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
29599 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
29615 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
29616 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
29617 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
29618 \begin_inset CommandInset ref
29620 reference "fig:折返し図フロート"
29625 \begin_inset space \thinspace{}
29629 \begin_inset space \thinspace{}
29632 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
29636 \begin_layout Plain Layout
29638 \begin_inset CommandInset ref
29640 reference "cha:LyXで使用できる単位"
29652 \begin_layout Standard
29653 \begin_inset Note Greyedout
29656 \begin_layout Plain Layout
29661 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
29670 \begin_layout Standard
29674 \begin_layout Itemize
29675 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
29676 うになってから、正確な位置に挿入しなくてはなりません。
29679 \begin_layout Itemize
29680 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
29683 \begin_layout Itemize
29684 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
29687 \begin_layout Itemize
29688 折返しフロートは、節見出しや表中に入れることは認められていません。
29691 \begin_layout Itemize
29694 Their numbering and referencing works as described in chap.
29697 \begin_inset space \thinspace{}
29701 \begin_inset CommandInset ref
29703 reference "chap:フロート"
29710 \begin_layout Section
29713 Surrounded Fixed Objects
29714 \begin_inset Index idx
29717 \begin_layout Plain Layout
29720 Surrounded by text ! Fixed objects
29728 \begin_layout Standard
29731 The wrap floats described in sec.
29734 \begin_inset space \thinspace{}
29738 \begin_inset CommandInset ref
29740 reference "sec:折返しフロート"
29746 have these positions in the paragraph:
29749 \begin_layout Standard
29754 \begin_inset Tabular
29755 <lyxtabular version="3" rows="2" columns="2">
29756 <features tabularvalignment="middle">
29757 <column alignment="center" valignment="top" width="0">
29758 <column alignment="center" valignment="top" width="0">
29760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29763 \begin_layout Plain Layout
29766 \begin_inset Graphics
29767 filename ../../images/dialog-show-new-inset_graphics.png
29769 scaleBeforeRotation
29770 BoundingBox 0bp 6bp 22bp 22bp
29779 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
29782 \begin_layout Plain Layout
29792 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
29795 \begin_layout Plain Layout
29803 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
29806 \begin_layout Plain Layout
29820 \begin_inset Tabular
29821 <lyxtabular version="3" rows="2" columns="2">
29822 <features tabularvalignment="middle">
29823 <column alignment="center" valignment="top" width="0">
29824 <column alignment="center" valignment="top" width="0">
29826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29829 \begin_layout Plain Layout
29837 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
29840 \begin_layout Plain Layout
29843 \begin_inset Graphics
29844 filename ../../images/dialog-show-new-inset_graphics.png
29846 scaleBeforeRotation
29847 BoundingBox 0bp 6bp 22bp 22bp
29858 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
29861 \begin_layout Plain Layout
29869 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
29872 \begin_layout Plain Layout
29888 \begin_layout Standard
29891 To get an object exactly at the position where it is inserted, for example
29892 to get one of these positions:
29893 \begin_inset VSpace defskip
29899 \begin_layout Standard
29904 \begin_inset Tabular
29905 <lyxtabular version="3" rows="2" columns="2">
29906 <features tabularvalignment="middle">
29907 <column alignment="center" valignment="top" width="0">
29908 <column alignment="center" valignment="top" width="0">
29910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29913 \begin_layout Plain Layout
29921 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
29924 \begin_layout Plain Layout
29934 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
29937 \begin_layout Plain Layout
29940 \begin_inset Graphics
29941 filename ../../images/dialog-show-new-inset_graphics.png
29943 scaleBeforeRotation
29944 BoundingBox 0bp 6bp 22bp 22bp
29953 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
29956 \begin_layout Plain Layout
29970 \begin_inset Tabular
29971 <lyxtabular version="3" rows="2" columns="2">
29972 <features tabularvalignment="middle">
29973 <column alignment="center" valignment="top" width="0">
29974 <column alignment="center" valignment="top" width="0">
29976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29979 \begin_layout Plain Layout
29987 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
29990 \begin_layout Plain Layout
30000 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30003 \begin_layout Plain Layout
30011 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30014 \begin_layout Plain Layout
30017 \begin_inset Graphics
30018 filename ../../images/dialog-show-new-inset_graphics.png
30020 scaleBeforeRotation
30021 BoundingBox 0bp 6bp 22bp 22bp
30036 \begin_inset Tabular
30037 <lyxtabular version="3" rows="2" columns="3">
30038 <features tabularvalignment="middle">
30039 <column alignment="center" valignment="top" width="0">
30040 <column alignment="center" valignment="top" width="0">
30041 <column alignment="center" valignment="top" width="0">
30043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30046 \begin_layout Plain Layout
30054 <cell alignment="center" valignment="top" topline="true" usebox="none">
30057 \begin_layout Plain Layout
30060 \begin_inset Graphics
30061 filename ../../images/dialog-show-new-inset_graphics.png
30063 scaleBeforeRotation
30064 BoundingBox 0bp 6bp 22bp 22bp
30073 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30076 \begin_layout Plain Layout
30086 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30089 \begin_layout Plain Layout
30097 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30100 \begin_layout Plain Layout
30108 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30111 \begin_layout Plain Layout
30125 \begin_inset Tabular
30126 <lyxtabular version="3" rows="2" columns="3">
30127 <features tabularvalignment="middle">
30128 <column alignment="center" valignment="top" width="0">
30129 <column alignment="center" valignment="top" width="0">
30130 <column alignment="center" valignment="top" width="0">
30132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30135 \begin_layout Plain Layout
30143 <cell alignment="center" valignment="top" topline="true" usebox="none">
30146 \begin_layout Plain Layout
30154 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30157 \begin_layout Plain Layout
30167 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30170 \begin_layout Plain Layout
30178 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30181 \begin_layout Plain Layout
30184 \begin_inset Graphics
30185 filename ../../images/dialog-show-new-inset_graphics.png
30187 scaleBeforeRotation
30188 BoundingBox 0bp 6bp 22bp 22bp
30197 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30200 \begin_layout Plain Layout
30216 \begin_layout Standard
30221 \begin_inset Tabular
30222 <lyxtabular version="3" rows="3" columns="2">
30223 <features tabularvalignment="middle">
30224 <column alignment="center" valignment="top" width="0">
30225 <column alignment="center" valignment="top" width="0">
30227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30230 \begin_layout Plain Layout
30238 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30241 \begin_layout Plain Layout
30251 <cell alignment="center" valignment="top" leftline="true" usebox="none">
30254 \begin_layout Plain Layout
30257 \begin_inset Graphics
30258 filename ../../images/dialog-show-new-inset_graphics.png
30260 scaleBeforeRotation
30261 BoundingBox 0bp 6bp 22bp 22bp
30270 <cell alignment="center" valignment="top" rightline="true" usebox="none">
30273 \begin_layout Plain Layout
30283 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30286 \begin_layout Plain Layout
30294 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30297 \begin_layout Plain Layout
30311 \begin_inset Tabular
30312 <lyxtabular version="3" rows="3" columns="3">
30313 <features tabularvalignment="middle">
30314 <column alignment="center" valignment="top" width="0">
30315 <column alignment="center" valignment="top" width="0">
30316 <column alignment="center" valignment="top" width="0">
30318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30321 \begin_layout Plain Layout
30329 <cell alignment="center" valignment="top" topline="true" usebox="none">
30332 \begin_layout Plain Layout
30340 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30343 \begin_layout Plain Layout
30353 <cell alignment="center" valignment="top" leftline="true" usebox="none">
30356 \begin_layout Plain Layout
30364 <cell alignment="center" valignment="top" usebox="none">
30367 \begin_layout Plain Layout
30370 \begin_inset Graphics
30371 filename ../../images/dialog-show-new-inset_graphics.png
30373 scaleBeforeRotation
30374 BoundingBox 0bp 6bp 22bp 22bp
30383 <cell alignment="center" valignment="top" rightline="true" usebox="none">
30386 \begin_layout Plain Layout
30396 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30399 \begin_layout Plain Layout
30407 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30410 \begin_layout Plain Layout
30418 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30421 \begin_layout Plain Layout
30435 \begin_inset Tabular
30436 <lyxtabular version="3" rows="3" columns="2">
30437 <features tabularvalignment="middle">
30438 <column alignment="center" valignment="top" width="0">
30439 <column alignment="center" valignment="top" width="0">
30441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30444 \begin_layout Plain Layout
30452 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30455 \begin_layout Plain Layout
30465 <cell alignment="center" valignment="top" leftline="true" usebox="none">
30468 \begin_layout Plain Layout
30476 <cell alignment="center" valignment="top" rightline="true" usebox="none">
30479 \begin_layout Plain Layout
30482 \begin_inset Graphics
30483 filename ../../images/dialog-show-new-inset_graphics.png
30485 scaleBeforeRotation
30486 BoundingBox 0bp 6bp 22bp 22bp
30497 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30500 \begin_layout Plain Layout
30508 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30511 \begin_layout Plain Layout
30527 \begin_layout Standard
30531 you can use the LaTeX-package
30538 \begin_inset Index idx
30541 \begin_layout Plain Layout
30542 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
30555 \begin_layout Standard
30559 \begin_layout Plain Layout
30569 \begin_inset Note Note
30572 \begin_layout Plain Layout
30577 が導入されているときのみ表示されます。
30585 \begin_layout Standard
30589 \begin_layout Plain Layout
30593 begin{window}[2,c,{
30599 \begin_inset Graphics
30600 filename ../clipart/mobius.eps
30603 scaleBeforeRotation
30604 rotateOrigin center
30612 \begin_layout Plain Layout
30617 \begin_layout Plain Layout
30627 It was in the spring of the year 1894 that all London was interested, and
30628 the fashionable world dismayed, by the murder of the Honourable Ronald
30629 Adair under most unusual and inexplicable circumstances.
30630 The public has already learned those particulars of the crime which
30636 \begin_layout Plain Layout
30647 came out in the police investigation, but a good deal was suppressed upon
30648 that occasion, since the case for the prosecution was so overwhelmingly
30649 strong that it was not necessary to bring forward all the facts.
30650 Only now, at the end of nearly ten years, am I allowed to supply those
30651 missing links which make up the whole of that remarkable chain
30659 \begin_layout Plain Layout
30671 \begin_layout Standard
30677 \begin_layout Plain Layout
30686 Footnote of the paragraph with the fixed object.
30690 \begin_layout Plain Layout
30700 \begin_layout Standard
30703 Surrounded fixed objects are used to let text float around them, at which
30704 the object's position in the paragraph can be determined by the number
30706 In contrary to floats is it not possible to have a numbered caption.
30709 \begin_layout Standard
30712 A fixed object is inserted by adding the command
30715 \begin_layout Standard
30720 begin{window}[2,c,{
30723 \begin_layout Standard
30726 as TeX Code at the beginning of the paragraph.
30727 The first parameter in the bracket, here '2', defines the number of lines
30728 above the object, the second, here 'c', the position of the object.
30729 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
30730 Behind the command you insert the object.
30731 In this example an image with a width of 40
30732 \begin_inset space \thinspace{}
30735 % of the text column width was inserted.
30736 The object can also be a table, a box or an equation.
30737 Behind the object the command
30740 \begin_layout Standard
30743 },description text]
30744 \begin_inset Newline newline
30750 \begin_layout Standard
30755 \begin_inset Quotes eld
30763 \begin_inset Quotes erd
30766 is in the second line.
30767 The description text is optional.
30768 The text surrounding the object must be in the same paragraph as the object,
30769 so it must begin directly after the
30774 At the end of the paragraph insert the command:
30777 \begin_layout Standard
30785 \begin_layout Standard
30788 Within a paragraph with a fixed object, you cannot insert footnotes in the
30790 You have to use instead the command
30796 inside the paragraph and outside the command
30802 as described in sec.
30805 \begin_inset space \thinspace{}
30809 \begin_inset CommandInset ref
30818 \begin_layout Standard
30822 \begin_layout Plain Layout
30832 \begin_inset Note Note
30835 \begin_layout Plain Layout
30840 が導入されていないときのみ表示されます。
30848 \begin_layout Standard
30849 本節の以下の部分を出力に表示するには、LaTeXパッケージ
30856 \begin_layout Standard
30860 \begin_layout Plain Layout
30872 \begin_layout Section
30876 \begin_inset Index idx
30879 \begin_layout Plain Layout
30888 \begin_inset Index idx
30891 \begin_layout Plain Layout
30894 Surrounded by text ! Initials
30902 \begin_layout Standard
30905 To use initials, you must have the LaTeX package
30912 \begin_inset Index idx
30915 \begin_layout Plain Layout
30916 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
30923 installed and use the module
30927 in your document (menu
30929 Document\SpecialChar \menuseparator
30930 Settings\SpecialChar \menuseparator
30934 To insert an initial, use the style
30939 This style has a mandatory and an optional argument.
30940 The mandatory argument is inserted via the menu
30942 Insert\SpecialChar \menuseparator
30944 \begin_inset space ~
30949 and contains the letter that is the initial.
30950 To use the also the optional argument, insert another argument in front
30951 of the mandatory argument.
30952 This one contains parameters to modify the initial.
30953 For more information about the possible parameters see the documentation
30961 \begin_inset CommandInset citation
30970 The style itself contains the text that is surrounding the initial.
30971 The usual style is hereby that the word whose first letter is the initial,
30977 To tell LaTeX where this word is finished, add a closing brace '
30981 ' as TeX Code behind it.
30982 At the end of the style there must be an opening brace '
30989 \begin_layout Standard
30992 Here are some examples:
30995 \begin_layout Enumerate
30998 No optional argument, the initial is the letter 'I' in the math font
30999 \begin_inset Formula $\mathfrak{Fraktur}$
31006 \begin_layout Initial
31007 \begin_inset Argument
31010 \begin_layout Plain Layout
31011 \begin_inset Formula $\mathfrak{I}$
31023 \begin_layout Plain Layout
31032 was in the spring of the year 1894 that all London was interested, and the
31033 fashionable world dismayed, by the murder of the Honourable Ronald Adair
31034 under most unusual and inexplicable circumstances.
31035 The public has already learned those particulars of the crime which came
31036 out in the police investigation, but a good deal was suppressed upon that
31037 occasion, since the case for the prosecution was so overwhelmingly strong
31038 that it was not necessary to bring forward all the facts.
31044 \begin_layout Plain Layout
31054 \begin_inset Newpage newpage
31061 \begin_layout Enumerate
31064 Only one line is surrounding the initial, which is formed by two letters
31065 in standard font and no text is printed in small caps:
31069 \begin_layout Initial
31070 \begin_inset Argument
31073 \begin_layout Plain Layout
31080 \begin_inset Argument
31083 \begin_layout Plain Layout
31093 \begin_layout Plain Layout
31102 was in the spring of the year 1894 that all London was interested, and the
31103 fashionable world dismayed, by the murder of the Honourable Ronald Adair
31104 under most unusual and inexplicable circumstances.
31105 The public has already learned those particulars of the crime which came
31106 out in the police investigation, but a good deal was suppressed upon that
31107 occasion, since the case for the prosecution was so overwhelmingly strong
31108 that it was not necessary to bring forward all the facts.
31114 \begin_layout Plain Layout
31125 \begin_layout Enumerate
31128 Magenta, hanging initial over 3
31129 \begin_inset space ~
31132 lines in the math font
31133 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
31137 \begin_inset Quotes eld
31140 t was in the spring
31141 \begin_inset Quotes erd
31148 ; to color the initial, you must insert this command before the initial:
31149 \begin_inset Newline newline
31163 \begin_inset Newline newline
31171 \begin_inset Quotes eld
31175 \begin_inset Quotes erd
31179 \begin_inset Quotes eld
31183 \begin_inset Quotes erd
31187 \begin_inset Quotes eld
31191 \begin_inset Quotes erd
31195 \begin_inset Quotes eld
31199 \begin_inset Quotes erd
31203 \begin_inset Quotes eld
31207 \begin_inset Quotes erd
31211 \begin_inset Quotes eld
31215 \begin_inset Quotes erd
31219 \begin_inset Quotes eld
31223 \begin_inset Quotes erd
31227 \begin_inset Quotes eld
31231 \begin_inset Quotes erd
31234 , and add this command to the document preamble
31237 \begin_inset Newline newline
31244 @ifundefined{textcolor}
31245 \begin_inset Newline newline
31249 \begin_inset space ~
31254 usepackage{color}}{}
31258 \begin_layout Standard
31262 \begin_layout Plain Layout
31278 \begin_inset Note Note
31281 \begin_layout Plain Layout
31284 makes the initial magenta
31292 \begin_layout Initial
31293 \begin_inset Argument
31296 \begin_layout Plain Layout
31297 lines=3, lhang=0.33, loversize=0.25
31303 \begin_inset Argument
31306 \begin_layout Plain Layout
31307 \begin_inset Formula $\mathcal{I}$
31317 t was in the spring
31323 \begin_layout Plain Layout
31332 of the year 1894 that all London was interested, and the fashionable world
31333 dismayed, by the murder of the Honourable Ronald Adair under most unusual
31334 and inexplicable circumstances.
31335 The public has already learned those particulars of the crime which came
31336 out in the police investigation, but a good deal was suppressed upon that
31337 occasion, since the case for the prosecution was so overwhelmingly strong
31338 that it was not necessary to bring forward all the facts.
31344 \begin_layout Plain Layout
31355 \begin_layout Chapter
31357 \begin_inset Index idx
31360 \begin_layout Plain Layout
31361 がいぶぶんしょこうせいようそ@外部文書構成要素
31369 \begin_layout Standard
31372 挿入\SpecialChar \menuseparator
31375 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
31378 \begin_layout Description
31379 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
31382 \begin_layout Description
31383 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
31386 \begin_layout Description
31387 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
31390 \begin_layout Description
31394 \begin_layout Description
31395 子文書 LyXあるいはLaTeX文書。
31398 \begin_layout Section
31400 \begin_inset Index idx
31403 \begin_layout Plain Layout
31404 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
31412 \begin_layout Standard
31413 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
31414 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
31416 操作性\SpecialChar \menuseparator
31419 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
31422 \begin_layout Standard
31427 \SpecialChar \menuseparator
31432 \SpecialChar \menuseparator
31441 ダイアログから挿入することができます。目下、以下のファイル形式(
31448 \begin_layout Description
31452 \begin_inset CommandInset href
31455 target "http://en.wikipedia.org/wiki/XBoard"
31461 プログラムで作成されたチェス棋譜をサポートします。
31464 \begin_layout Description
31469 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
31470 \begin_inset External
31477 \begin_inset space ~
31481 \begin_inset Note Note
31484 \begin_layout Plain Layout
31485 バグ4398が修正されたら、この保護空白は削除してください!
31491 \begin_inset Newline newline
31494 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
31498 \SpecialChar \menuseparator
31499 日付メニューを使用する方法で、他はLaTeXコマンドの
31505 をTeXコードで使用する方法です。これらの各方法は、表
31506 \begin_inset CommandInset ref
31508 reference "tab:日付挿入方法"
31515 \begin_layout Description
31519 \begin_inset CommandInset href
31522 target "http://en.wikipedia.org/wiki/Dia_(software)"
31528 プログラムで作成したダイアグラムをサポートします。
31531 \begin_layout Description
31535 \begin_inset CommandInset href
31538 target "http://en.wikipedia.org/wiki/LilyPond"
31544 プログラムで作成した楽譜の組版に使用されます。
31547 \begin_layout Description
31548 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
31564 オプションを指定しないと、PDFの最初のページのみが挿入されます。
31567 \begin_layout Description
31568 ラスターイメージ これはビットマップ画像に使用します。よく使われる画像形式のほとんどすべてがサポートされています。
31573 \begin_inset CommandInset ref
31575 reference "sec:画像ダイアログ"
31583 ダイアログを使って挿入される画像と同じように取り扱うことができます。異なる点といえば、ラスターイメージのみを取り扱うことができる点、すなわちPDFやEPS画像は
31587 \begin_layout Description
31591 \begin_inset CommandInset href
31594 target "http://en.wikipedia.org/wiki/Xfig"
31600 プログラムで作成した画像をサポートします。
31603 \begin_layout Standard
31604 \begin_inset Float table
31610 \begin_layout Plain Layout
31611 \begin_inset Caption
31613 \begin_layout Plain Layout
31614 \begin_inset CommandInset label
31628 \begin_layout Plain Layout
31630 \begin_inset Tabular
31631 <lyxtabular version="3" rows="4" columns="4">
31632 <features tabularvalignment="middle">
31633 <column alignment="center" valignment="top" width="0">
31634 <column alignment="center" valignment="top" width="0">
31635 <column alignment="center" valignment="top" width="0">
31636 <column alignment="center" valignment="top" width="0">
31638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31641 \begin_layout Plain Layout
31647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31650 \begin_layout Plain Layout
31653 外部素材\SpecialChar \menuseparator
31659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31662 \begin_layout Plain Layout
31665 挿入\SpecialChar \menuseparator
31671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31674 \begin_layout Plain Layout
31688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31691 \begin_layout Plain Layout
31697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31700 \begin_layout Plain Layout
31706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31709 \begin_layout Plain Layout
31715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31718 \begin_layout Plain Layout
31726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31729 \begin_layout Plain Layout
31735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31738 \begin_layout Plain Layout
31744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31747 \begin_layout Plain Layout
31753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31756 \begin_layout Plain Layout
31764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31767 \begin_layout Plain Layout
31773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31776 \begin_layout Plain Layout
31782 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31785 \begin_layout Plain Layout
31791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31794 \begin_layout Plain Layout
31813 \begin_layout Standard
31826 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
31827 \begin_inset Newline newline
31830 LyX中での外部素材は、ダイアログ内の
31839 \begin_inset Graphics
31840 filename clipart/ExternalMaterialQt4.png
31842 scaleBeforeRotation
31846 のようなボックスとして表示されるか、画像として表示されます。
31849 \begin_layout Standard
31856 には、自製のひな型を定義する方法が説明されています。
31859 \begin_layout Section
31861 \begin_inset CommandInset label
31868 \begin_inset Index idx
31871 \begin_layout Plain Layout
31872 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
31878 \begin_inset Index idx
31881 \begin_layout Plain Layout
31882 ふぁいる@ファイル ! いんくるーど@インクルード
31890 \begin_layout Standard
31891 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
31892 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
31893 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
31896 \begin_layout Standard
31897 親文書を開くことなく子文書で作業できるようにするには、子文書の
31901 \SpecialChar \menuseparator
31906 \SpecialChar \menuseparator
31911 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
31914 \begin_layout Standard
31916 \begin_inset Graphics
31917 filename clipart/ChildDocumentQt4.png
31919 scaleBeforeRotation
31923 のようなボックスとして表示されます。子文書を親文書に取り込むには、
31927 \SpecialChar \menuseparator
31932 \SpecialChar \menuseparator
31937 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
31940 \begin_layout Description
31941 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
31949 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
31950 \begin_inset Newline newline
31956 \begin_layout Standard
31962 \begin_inset CommandInset include
31963 LatexCommand include
31964 filename "DummyDocument1.lyx"
31971 \begin_layout Standard
31972 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
31973 あります。取り込んだ文書のラベルは、第
31974 \begin_inset CommandInset ref
31976 reference "sub:外部文書の第1小節"
31980 小節、のように参照することができます。
31983 \begin_layout Standard
31984 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
31985 は、新規頁から始まるように挿入され、改頁して終わります。
31988 \begin_layout Standard
31989 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
31993 \begin_layout Plain Layout
32007 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
32010 \begin_layout Standard
32011 \begin_inset Note Greyedout
32014 \begin_layout Plain Layout
32019 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
32033 \begin_layout Standard
32034 \begin_inset Note Greyedout
32037 \begin_layout Plain Layout
32042 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
32051 \begin_layout Description
32052 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
32056 \begin_layout Itemize
32057 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
32060 \begin_layout Itemize
32061 Inputファイルは、LyX設定の操作性
32063 \SpecialChar \menuseparator
32070 を有効にすると、LyX中でプレビューすることができます。
32073 \begin_layout Itemize
32084 \begin_layout Standard
32090 \begin_inset CommandInset include
32092 filename "DummyDocument2.lyx"
32099 \begin_layout Description
32100 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
32101 に用いられているコマンドは実行されません。
32105 オプションを有効にすると、ソースコード中のすべての空白文字に「
32109 \begin_layout Plain Layout
32120 挿入\SpecialChar \menuseparator
32121 ファイル\SpecialChar \menuseparator
32124 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
32127 \begin_layout Standard
32128 以下は、verbatimとして挿入された子文書です。
32129 \begin_inset CommandInset include
32130 LatexCommand verbatiminput
32131 filename "../DummyTextDocument.txt"
32136 \begin_inset VSpace bigskip
32143 オプションを指定して、verbatimとして挿入された子文書です。
32144 \begin_inset CommandInset include
32145 LatexCommand verbatiminput*
32146 filename "../DummyTextDocument.txt"
32153 \begin_layout Standard
32154 \begin_inset VSpace bigskip
32160 \begin_layout Standard
32161 \begin_inset Note Greyedout
32164 \begin_layout Plain Layout
32173 として取り込んだ文書の文章は、文書行の終わりで改行されません。
32181 \begin_layout Standard
32182 \begin_inset Note Greyedout
32185 \begin_layout Plain Layout
32190 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
32198 \begin_layout Description
32199 プログラムリスト この型については、第
32200 \begin_inset CommandInset ref
32202 reference "cha:プログラムコードリスト"
32209 \begin_layout Standard
32210 \begin_inset Note Greyedout
32213 \begin_layout Plain Layout
32218 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
32226 \begin_layout Chapter
32228 \begin_inset CommandInset label
32230 name "cha:プログラムコードリスト"
32235 \begin_inset Index idx
32238 \begin_layout Plain Layout
32245 \begin_inset Index idx
32248 \begin_layout Plain Layout
32255 \begin_inset Index idx
32258 \begin_layout Plain Layout
32259 ふろーと@フロート ! りすと@リスト
32267 \begin_layout Standard
32268 プログラムコードを取り込んで組版するには、
32272 \SpecialChar \menuseparator
32277 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
32282 \begin_inset Index idx
32285 \begin_layout Plain Layout
32286 LaTeXぱっけーじ@LaTeXパッケージ ! listings
32291 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
32294 \begin_layout Standard
32295 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
32298 \begin_layout Standard
32299 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
32304 \begin_inset listings
32305 lstparams "language={C++}"
32309 \begin_layout Plain Layout
32317 \begin_inset Newline newline
32324 オプションは、プログラムリストフロートを生成するものですが、ここで、第
32325 \begin_inset CommandInset ref
32327 reference "sec:フロートの配置"
32331 節に説明されているフロート配置オプションに従って、「
32347 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
32351 」のように区切りを入れることなく入力することができます。「
32355 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
32359 オプションを使用しなければ大丈夫です。
32362 \begin_layout Standard
32367 \SpecialChar \menuseparator
32372 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
32373 \begin_inset CommandInset ref
32375 reference "lst:リストフロート"
32382 \begin_layout Standard
32383 \begin_inset listings
32384 lstparams "language=Python"
32388 \begin_layout Plain Layout
32390 \begin_inset Caption
32392 \begin_layout Plain Layout
32393 \begin_inset CommandInset label
32399 Example Listing Float
32404 # Example listing float
32407 \begin_layout Plain Layout
32412 \begin_layout Plain Layout
32414 'this is a python function'
32417 \begin_layout Plain Layout
32427 \begin_layout Standard
32428 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
32429 onのキーワード「def」が識別され、ボールド体で出力されます。
32432 \begin_layout Standard
32433 \begin_inset Note Greyedout
32436 \begin_layout Plain Layout
32441 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
32445 フォントがボールド体を提供していません。この場合には、
32449 \SpecialChar \menuseparator
32454 \SpecialChar \menuseparator
32459 メニューで別のフォントを選択してください(
32471 の各フォントはボールド体を提供します)。
32479 \begin_layout Standard
32480 \begin_inset Note Greyedout
32483 \begin_layout Plain Layout
32488 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
32496 \begin_layout Standard
32501 のセクションでは、行番号の様式を指定することができます。
32505 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
32508 \begin_layout Standard
32509 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
32513 オプションを使用しなくてはなりません。
32514 \begin_inset Newline newline
32517 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
32518 \begin_inset space \thinspace{}
32522 \begin_inset space \thinspace{}
32525 8」で設定したプログラムリストの例です。
32528 \begin_layout Standard
32529 \begin_inset listings
32530 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
32534 \begin_layout Plain Layout
32539 \begin_layout Plain Layout
32541 'this is a python function'
32544 \begin_layout Plain Layout
32549 \begin_layout Plain Layout
32554 \begin_layout Plain Layout
32556 'This is a German word: Tschüß'
32559 \begin_layout Plain Layout
32564 \begin_layout Plain Layout
32569 \begin_layout Plain Layout
32571 'this is a python function'
32574 \begin_layout Plain Layout
32584 \begin_layout Standard
32585 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
32592 \begin_layout Standard
32593 \begin_inset Note Greyedout
32596 \begin_layout Plain Layout
32601 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
32610 \begin_layout Standard
32611 \begin_inset VSpace bigskip
32617 \begin_layout Standard
32618 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
32622 \SpecialChar \menuseparator
32627 \SpecialChar \menuseparator
32640 \begin_layout Plain Layout
32641 他の子文書型については、第 section
32642 \begin_inset space ~
32646 \begin_inset CommandInset ref
32648 reference "sec:子文書"
32657 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
32661 \begin_layout Standard
32662 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
32666 \SpecialChar \menuseparator
32671 メニューを使って参照できるようになります。
32674 \begin_layout Standard
32676 \begin_inset CommandInset ref
32678 reference "lst:file-listing"
32682 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
32685 \begin_layout Standard
32686 \begin_inset CommandInset include
32687 LatexCommand lstinputlisting
32688 filename "EmbeddedObjects.lyx"
32689 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
32696 \begin_layout Standard
32697 \begin_inset VSpace bigskip
32703 \begin_layout Standard
32704 リストに数式を入れるには、以下のようにします。
32707 \begin_layout Enumerate
32713 \begin_inset Newline newline
32721 \begin_inset Newline newline
32727 \begin_layout Enumerate
32731 \begin_layout Enumerate
32732 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
32741 \begin_layout Enumerate
32742 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
32751 \begin_layout Standard
32752 \begin_inset listings
32753 lstparams "language=Python,mathescape=true"
32757 \begin_layout Plain Layout
32759 \begin_inset Caption
32761 \begin_layout Plain Layout
32762 Example Listing float containing a formula
32767 # Example listing float
32770 \begin_layout Plain Layout
32775 \begin_layout Plain Layout
32788 \begin_layout Plain Layout
32798 \begin_layout Standard
32799 \begin_inset VSpace bigskip
32805 \begin_layout Standard
32810 \SpecialChar \menuseparator
32815 \SpecialChar \menuseparator
32820 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
32824 フィールドで疑問符「?」を打鍵してください。
32827 \begin_layout Standard
32832 パッケージについての詳しい情報については、取扱説明書
32833 \begin_inset CommandInset citation
32842 \begin_layout Standard
32843 \begin_inset Newpage newpage
32849 \begin_layout Chapter
32852 \begin_inset Index idx
32855 \begin_layout Plain Layout
32862 \begin_inset CommandInset label
32864 name "cha:LyXで使用できる単位"
32871 \begin_layout Standard
32872 この文書で用いられる単位の理解のために、表
32873 \begin_inset CommandInset ref
32879 に、LyXで使うことのできる単位をまとめておきます。
32882 \begin_layout Standard
32883 \begin_inset Float table
32889 \begin_layout Plain Layout
32890 \begin_inset Caption
32892 \begin_layout Plain Layout
32893 \begin_inset CommandInset label
32907 \begin_layout Plain Layout
32908 \begin_inset VSpace medskip
32914 \begin_layout Plain Layout
32916 \begin_inset Tabular
32917 <lyxtabular version="3" rows="20" columns="2">
32918 <features tabularvalignment="middle">
32919 <column alignment="center" valignment="top" width="0">
32920 <column alignment="center" valignment="top" width="0">
32922 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32925 \begin_layout Plain Layout
32931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32934 \begin_layout Plain Layout
32942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32945 \begin_layout Plain Layout
32951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32954 \begin_layout Plain Layout
32962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32965 \begin_layout Plain Layout
32971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32974 \begin_layout Plain Layout
32982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32985 \begin_layout Plain Layout
32991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32994 \begin_layout Plain Layout
33002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33005 \begin_layout Plain Layout
33011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33014 \begin_layout Plain Layout
33016 \begin_inset Formula $\,$
33020 \begin_inset Formula $\,$
33030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33033 \begin_layout Plain Layout
33039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33042 \begin_layout Plain Layout
33044 \begin_inset Formula $\,$
33048 \begin_inset Formula $\,$
33058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33061 \begin_layout Plain Layout
33067 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33070 \begin_layout Plain Layout
33072 \begin_inset Formula $\,$
33076 \begin_inset Formula $\,$
33086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33089 \begin_layout Plain Layout
33095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33098 \begin_layout Plain Layout
33100 \begin_inset Formula $\,$
33104 \begin_inset Formula $\,$
33114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33117 \begin_layout Plain Layout
33123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33126 \begin_layout Plain Layout
33128 \begin_inset Formula $\,$
33132 \begin_inset Formula $\approx$
33136 \begin_inset Formula $\,$
33146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33149 \begin_layout Plain Layout
33155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33158 \begin_layout Plain Layout
33160 \begin_inset Formula $\,$
33164 \begin_inset Formula $\,$
33174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33177 \begin_layout Plain Layout
33183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33186 \begin_layout Plain Layout
33194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33197 \begin_layout Plain Layout
33203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33206 \begin_layout Plain Layout
33214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33217 \begin_layout Plain Layout
33223 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33226 \begin_layout Plain Layout
33234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33237 \begin_layout Plain Layout
33243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33246 \begin_layout Plain Layout
33254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33257 \begin_layout Plain Layout
33263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33266 \begin_layout Plain Layout
33274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33277 \begin_layout Plain Layout
33283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33286 \begin_layout Plain Layout
33294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33297 \begin_layout Plain Layout
33303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33306 \begin_layout Plain Layout
33314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33317 \begin_layout Plain Layout
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" leftline="true" usebox="none">
33337 \begin_layout Plain Layout
33343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33346 \begin_layout Plain Layout
33354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33357 \begin_layout Plain Layout
33363 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33366 \begin_layout Plain Layout
33368 \begin_inset Formula $\,$
33372 \begin_inset Formula $\,$
33393 \begin_layout Chapter
33395 \begin_inset CommandInset label
33397 name "cha:ファイル出力形式"
33404 \begin_layout Section
33406 \begin_inset Index idx
33409 \begin_layout Plain Layout
33410 ふぁいるしょしき@ファイル書式 ! DVI
33416 \begin_inset Index idx
33419 \begin_layout Plain Layout
33424 \begin_layout Plain Layout
33435 \begin_layout Plain Layout
33450 \begin_layout Standard
33455 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
33456 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
33457 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
33460 \begin_layout Standard
33461 \begin_inset Note Greyedout
33464 \begin_layout Plain Layout
33465 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
33474 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
33475 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
33479 \begin_layout Standard
33484 \SpecialChar \menuseparator
33489 \SpecialChar \menuseparator
33494 メニューを使用して、DVIに書き出すことができます。また、
33499 \begin_inset Graphics
33500 filename ../../images/buffer-view_dvi.png
33502 scaleBeforeRotation
33506 を使用すれば、使用中の文書をDVIで表示させることができます。
33509 \begin_layout Section
33511 \begin_inset CommandInset label
33513 name "sec:PostScript"
33518 \begin_inset Index idx
33521 \begin_layout Plain Layout
33522 ふぁいるしょしき@ファイル書式 ! PostScript
33528 \begin_inset Index idx
33531 \begin_layout Plain Layout
33536 \begin_layout Plain Layout
33547 \begin_layout Plain Layout
33562 \begin_layout Standard
33571 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
33572 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
33576 \begin_layout Plain Layout
33577 これについてもう少し学ぶ気があれば、LaTeXパッケージ
33582 \begin_inset CommandInset citation
33593 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
33596 \begin_layout Standard
33597 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
33601 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
33602 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
33603 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
33604 を直接EPSとして入れておく方がよいでしょう。
33607 \begin_layout Standard
33612 \SpecialChar \menuseparator
33617 \SpecialChar \menuseparator
33622 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
33627 \begin_inset Graphics
33628 filename ../../images/buffer-view_ps.png
33630 scaleBeforeRotation
33634 を使用することでPostScriptとして表示させることができます。
33637 \begin_layout Section
33639 \begin_inset Index idx
33642 \begin_layout Plain Layout
33643 ふぁいるしょしき@ファイル書式 ! PDF
33649 \begin_inset Index idx
33652 \begin_layout Plain Layout
33661 \begin_layout Standard
33666 」です。この「Portable Document Format (PDF)」は、
33670 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
33671 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
33674 \begin_layout Standard
33675 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
33683 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
33687 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
33688 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
33692 \begin_layout Standard
33697 \SpecialChar \menuseparator
33702 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
33705 \begin_layout Description
33707 \begin_inset space ~
33714 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
33718 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
33721 \begin_layout Description
33723 \begin_inset space ~
33730 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
33733 \begin_layout Description
33735 \begin_inset space ~
33742 プログラムを使って、現在のファイルを直接PDFに変換します。
33745 \begin_layout Standard
33750 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
33753 \begin_inset space ~
33762 プログラムは開発が停止しており、若干時代遅れになっています。
33765 \begin_layout Standard
33766 使用中の文書をPDFとして表示するには、
33771 \begin_inset Graphics
33772 filename ../../images/buffer-view_pdf2.png
33774 scaleBeforeRotation
33781 \begin_inset space ~
33789 \begin_layout Chapter
33791 \begin_inset CommandInset ref
33798 \begin_inset CommandInset label
33807 \begin_layout Standard
33808 \begin_inset Formula $n$
33812 \begin_inset Formula $W_{\mathrm{tot\, n}}$
33818 \begin_layout Standard
33819 \begin_inset Formula
33821 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
33829 \begin_layout Standard
33831 \begin_inset Formula $W_{g\, n}$
33840 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
33841 \begin_inset space \thinspace{}
33851 \begin_inset space \thinspace{}
33857 \begin_layout Standard
33859 \begin_inset CommandInset ref
33861 reference "eq:Wtot_n"
33866 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
33872 \begin_layout Standard
33873 \begin_inset Formula
33875 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
33883 \begin_layout Standard
33885 \begin_inset Formula $n$
33889 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
33893 \begin_inset CommandInset ref
33895 reference "eq:Wtot_n"
33900 \begin_inset CommandInset ref
33902 reference "eq:Wtot_mult"
33906 式が等しいものと置けば、必要となる固定幅
33907 \begin_inset Formula $W_{g\, n}$
33913 \begin_layout Standard
33914 \begin_inset Formula
33916 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
33924 \begin_layout Bibliography
33925 \labelwidthstring 参考文献
33926 \begin_inset CommandInset bibitem
33927 LatexCommand bibitem
33928 key "latexcompanion"
33932 Frank Mittelbach and Michel Goossens:
33934 The LaTeX Companion Second Edition.
33937 Addison-Wesley, 2004
33940 \begin_layout Bibliography
33941 \labelwidthstring 参考文献
33942 \begin_inset CommandInset bibitem
33943 LatexCommand bibitem
33948 Helmut Kopka and Patrick W.
33951 A Guide to LaTeX Fourth Edition.
33954 Addison-Wesley, 2003
33957 \begin_layout Bibliography
33958 \labelwidthstring 参考文献
33959 \begin_inset CommandInset bibitem
33960 LatexCommand bibitem
33967 LaTeX: A Document Preparation System.
33970 Addison-Wesley, second edition, 1994
33973 \begin_layout Bibliography
33974 \labelwidthstring 参考文献
33975 \begin_inset CommandInset bibitem
33976 LatexCommand bibitem
33984 \begin_inset CommandInset href
33987 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
33994 \begin_inset Index idx
33997 \begin_layout Plain Layout
33998 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
34006 \begin_layout Bibliography
34007 \labelwidthstring 参考文献
34008 \begin_inset CommandInset bibitem
34009 LatexCommand bibitem
34017 \begin_inset CommandInset href
34020 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
34027 \begin_inset Index idx
34030 \begin_layout Plain Layout
34031 LaTeXぱっけーじ@LaTeXパッケージ ! caption
34039 \begin_layout Bibliography
34040 \labelwidthstring 参考文献
34041 \begin_inset CommandInset bibitem
34042 LatexCommand bibitem
34050 \begin_inset CommandInset href
34053 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
34060 \begin_inset Index idx
34063 \begin_layout Plain Layout
34064 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
34072 \begin_layout Bibliography
34073 \labelwidthstring 参考文献
34074 \begin_inset CommandInset bibitem
34075 LatexCommand bibitem
34083 \begin_inset CommandInset href
34086 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
34093 \begin_inset Index idx
34096 \begin_layout Plain Layout
34097 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
34105 \begin_layout Bibliography
34106 \labelwidthstring 参考文献
34107 \begin_inset CommandInset bibitem
34108 LatexCommand bibitem
34116 \begin_inset CommandInset href
34119 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
34126 \begin_inset Index idx
34129 \begin_layout Plain Layout
34130 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
34138 \begin_layout Bibliography
34139 \labelwidthstring 参考文献
34140 \begin_inset CommandInset bibitem
34141 LatexCommand bibitem
34149 \begin_inset CommandInset href
34152 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
34159 \begin_inset Index idx
34162 \begin_layout Plain Layout
34163 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
34171 \begin_layout Bibliography
34172 \labelwidthstring 参考文献
34173 \begin_inset CommandInset bibitem
34174 LatexCommand bibitem
34182 \begin_inset CommandInset href
34185 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
34192 \begin_inset Index idx
34195 \begin_layout Plain Layout
34196 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
34204 \begin_layout Bibliography
34205 \labelwidthstring 参考文献
34206 \begin_inset CommandInset bibitem
34207 LatexCommand bibitem
34215 \begin_inset CommandInset href
34218 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
34225 \begin_inset Index idx
34228 \begin_layout Plain Layout
34229 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
34237 \begin_layout Bibliography
34238 \labelwidthstring 参考文献
34239 \begin_inset CommandInset bibitem
34240 LatexCommand bibitem
34248 \begin_inset CommandInset href
34251 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
34258 \begin_inset Index idx
34261 \begin_layout Plain Layout
34262 LaTeXぱっけーじ@LaTeXパッケージ ! listings
34270 \begin_layout Bibliography
34271 \labelwidthstring 参考文献
34272 \begin_inset CommandInset bibitem
34273 LatexCommand bibitem
34281 \begin_inset CommandInset href
34284 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
34291 \begin_inset Index idx
34294 \begin_layout Plain Layout
34295 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
34303 \begin_layout Bibliography
34304 \labelwidthstring 参考文献
34305 \begin_inset CommandInset bibitem
34306 LatexCommand bibitem
34314 \begin_inset CommandInset href
34317 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
34328 \begin_inset CommandInset href
34331 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
34336 \begin_inset Index idx
34339 \begin_layout Plain Layout
34340 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
34348 \begin_layout Bibliography
34349 \labelwidthstring 参考文献
34350 \begin_inset CommandInset bibitem
34351 LatexCommand bibitem
34359 \begin_inset CommandInset href
34362 target "http://tug.org/PSTricks/"
34369 \begin_inset Index idx
34372 \begin_layout Plain Layout
34373 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
34381 \begin_layout Bibliography
34382 \labelwidthstring 参考文献
34383 \begin_inset CommandInset bibitem
34384 LatexCommand bibitem
34392 \begin_inset CommandInset href
34395 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
34402 \begin_inset Index idx
34405 \begin_layout Plain Layout
34406 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
34414 \begin_layout Bibliography
34415 \labelwidthstring 参考文献
34416 \begin_inset CommandInset bibitem
34417 LatexCommand bibitem
34425 \begin_inset CommandInset href
34428 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
34435 \begin_inset Index idx
34438 \begin_layout Plain Layout
34439 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
34447 \begin_layout Bibliography
34448 \labelwidthstring 参考文献
34449 \begin_inset CommandInset bibitem
34450 LatexCommand bibitem
34458 \begin_inset CommandInset href
34461 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
34468 \begin_inset Index idx
34471 \begin_layout Plain Layout
34472 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
34480 \begin_layout Bibliography
34481 \labelwidthstring 参考文献
34482 \begin_inset CommandInset bibitem
34483 LatexCommand bibitem
34493 \begin_inset CommandInset href
34496 target "http://wiki.lyx.org/LyX/NewInLyX20"
34503 \begin_layout Standard
34504 \begin_inset CommandInset index_print
34505 LatexCommand printindex