1 #LyX 2.0.0beta1 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}}
154 % redefine the \LyX macro for PDF bookmarks
155 \def\LyX{\texorpdfstring{%
156 L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
160 \renewcommand{\seename}{→}
163 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
164 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
166 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
167 \use_default_options false
168 \maintain_unincluded_children false
174 \font_typewriter default
175 \font_default_family default
176 \use_non_tex_fonts false
183 \default_output_format default
185 \bibtex_command default
186 \index_command default
190 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
191 \pdf_author "LyX Team, Uwe Stohr"
192 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
193 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
195 \pdf_bookmarksnumbered true
196 \pdf_bookmarksopen true
197 \pdf_bookmarksopenlevel 1
198 \pdf_breaklinks false
202 \pdf_pdfusetitle false
203 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
213 \paperorientation portrait
216 \notefontcolor #0000ff
227 \paragraph_separation skip
229 \quotes_language english
232 \paperpagestyle default
236 \tracking_changes false
237 \output_changes false
239 \html_be_strict false
245 LyXにおける図表・フロート・注釈・ボックス・外部素材の詳細についての説明書
253 \begin_layout Plain Layout
255 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
256 \begin_inset CommandInset href
258 name "lyx-docs@lists.lyx.org"
259 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
270 \begin_inset Note Note
273 \begin_layout Plain Layout
280 \begin_inset Newline newline
284 \begin_inset Newline newline
292 \begin_layout Standard
293 \begin_inset CommandInset toc
294 LatexCommand tableofcontents
301 \begin_layout Standard
302 \begin_inset Note Note
305 \begin_layout Plain Layout
306 本文書の全体をPDFやPS、DVIに書き出すには、
322 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
326 \begin_layout Plain Layout
328 \begin_inset Newline newline
333 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
336 \begin_inset Newline newline
347 \begin_layout Chapter
349 \begin_inset Index idx
352 \begin_layout Plain Layout
359 \begin_inset Index idx
362 \begin_layout Plain Layout
367 \begin_layout Plain Layout
378 \begin_layout Plain Layout
393 \begin_layout Section
395 \begin_inset Index idx
398 \begin_layout Plain Layout
399 ず@図 ! がぞうだいあろぐ@画像ダイアログ
405 \begin_inset CommandInset label
414 \begin_layout Standard
415 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
416 \begin_inset Graphics
417 filename ../../images/dialog-show-new-inset_graphics.png
425 挿入\SpecialChar \menuseparator
428 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
431 \begin_layout Standard
432 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
435 \begin_layout Description
440 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
441 \begin_inset CommandInset ref
443 reference "cha:LyXで使用できる単位"
448 \begin_inset Newline newline
452 \begin_inset Index idx
455 \begin_layout Plain Layout
461 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
462 \begin_inset Newline newline
466 \begin_inset Index idx
469 \begin_layout Plain Layout
475 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
476 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
480 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
481 \begin_inset Newline newline
484 画像を右クリックすると現れるコンテクストメニューで
488 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
492 \begin_layout Description
497 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
501 ボタンを押すことによって、自動的に計算することもできます。
505 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
508 \begin_layout Description
513 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
516 \begin_inset Newline newline
521 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
524 \begin_inset Newline newline
533 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
535 \begin_inset Newline newline
538 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
539 \begin_inset CommandInset ref
541 reference "sec:PostScript"
545 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
546 \begin_inset Newline newline
554 \begin_inset Newline newline
559 zgrep %%Bounding x.eps.gz > x.eps.bb
562 \begin_inset Newline newline
565 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
566 \begin_inset Newline newline
573 フィールドでは、画像設定グループを定義したり既存のグループに所属させたりすることができます
574 \begin_inset Index idx
577 \begin_layout Plain Layout
578 ず@図 ! せっていぐるーぷ@設定グループ
583 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
584 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
585 ーを使用して、望むグループ名をチェックすることで行うこともできます。
588 \begin_layout Standard
589 \begin_inset VSpace bigskip
595 \begin_layout Standard
600 \begin_layout Plain Layout
602 \begin_inset CommandInset ref
613 の画像の例で、単独の中央揃えの段落に置いてあります。
616 \begin_layout Standard
618 \begin_inset Graphics
619 filename ../clipart/mobius.eps
629 \begin_layout Standard
630 下記は上と同じ画像ですが、下書きモードのものです。
633 \begin_layout Standard
635 \begin_inset Graphics
636 filename ../clipart/mobius.eps
647 \begin_layout Standard
648 \begin_inset Newpage newpage
654 \begin_layout Section
656 \begin_inset CommandInset label
663 \begin_inset Index idx
666 \begin_layout Plain Layout
673 \begin_inset Index idx
676 \begin_layout Plain Layout
685 \begin_layout Standard
687 \begin_inset CommandInset ref
689 reference "sec:フロートはじめに"
696 \begin_layout Standard
698 \begin_inset Graphics
699 filename ../../images/float-insert_figure.png
707 挿入\SpecialChar \menuseparator
708 フロート\SpecialChar \menuseparator
711 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
712 \begin_inset CommandInset ref
714 reference "fig:犠牲のカモノハシ"
718 のようにキャプションの上に置くこともできますし、図
719 \begin_inset CommandInset ref
721 reference "fig:エッシャー"
725 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
726 \begin_inset CommandInset ref
728 reference "sec:キャプションの配置"
735 \begin_layout Standard
736 \begin_inset Float figure
741 \begin_layout Plain Layout
743 \begin_inset Graphics
744 filename ../clipart/platypus.eps
754 \begin_layout Plain Layout
757 \begin_layout Plain Layout
758 \begin_inset CommandInset label
777 \begin_layout Standard
778 \begin_inset Float figure
783 \begin_layout Plain Layout
786 \begin_layout Plain Layout
787 \begin_inset CommandInset label
801 \begin_layout Plain Layout
803 \begin_inset Graphics
804 filename ../clipart/escher-lsd.eps
819 \begin_layout Standard
820 \begin_inset Index idx
823 \begin_layout Plain Layout
824 さんしょう@参照 ! ずへの@図への ---
830 \begin_inset CommandInset ref
832 reference "fig:犠牲のカモノハシ"
837 \begin_inset CommandInset ref
839 reference "fig:エッシャー"
843 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
845 挿入\SpecialChar \menuseparator
849 \begin_inset Graphics
850 filename ../../images/label-insert.png
856 を使用して、キャプションにラベルを挿入してください。その後、
858 挿入\SpecialChar \menuseparator
862 \begin_inset Graphics
863 filename ../../images/dialog-show-new-inset_ref.png
869 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
870 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
871 \begin_inset Newline newline
875 \begin_inset CommandInset ref
877 reference "sec:フロートの参照"
884 \begin_layout Standard
885 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
886 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
887 \begin_inset CommandInset ref
889 reference "fig:歪められた二つの像"
893 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
894 \begin_inset CommandInset ref
896 reference "fig:何かわからない構造"
901 \begin_inset CommandInset ref
903 reference "fig:カモノハシ"
910 \begin_layout Standard
911 \begin_inset Float figure
916 \begin_layout Plain Layout
917 \begin_inset space \hfill{}
921 \begin_inset Float figure
926 \begin_layout Plain Layout
929 \begin_layout Plain Layout
930 \begin_inset CommandInset label
944 \begin_layout Plain Layout
945 \begin_inset Graphics
946 filename ../clipart/escher-lsd.eps
959 \begin_inset space \hfill{}
963 \begin_inset Float figure
968 \begin_layout Plain Layout
971 \begin_layout Plain Layout
972 \begin_inset CommandInset label
986 \begin_layout Plain Layout
987 \begin_inset Graphics
988 filename ../clipart/platypus.eps
1001 \begin_inset space \hfill{}
1007 \begin_layout Plain Layout
1008 \begin_inset Caption
1010 \begin_layout Plain Layout
1011 \begin_inset CommandInset label
1013 name "fig:歪められた二つの像"
1017 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1030 \begin_layout Standard
1031 \begin_inset Newpage newpage
1037 \begin_layout Section
1039 \begin_inset CommandInset label
1046 \begin_inset Index idx
1049 \begin_layout Plain Layout
1056 \begin_inset Index idx
1059 \begin_layout Plain Layout
1068 \begin_layout Standard
1069 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1070 \begin_inset CommandInset ref
1072 reference "cha:ファイル出力形式"
1076 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1081 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1082 用するとよいでしょう。出力ファイル書式は、付録
1083 \begin_inset CommandInset ref
1085 reference "cha:ファイル出力形式"
1092 \begin_layout Standard
1093 フォントと同じく、画像形式にも以下の二つの型があります。
1096 \begin_layout Description
1097 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1098 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1103 \begin_inset Index idx
1106 \begin_layout Plain Layout
1111 \begin_layout Plain Layout
1122 \begin_layout Plain Layout
1134 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1139 \begin_inset Index idx
1142 \begin_layout Plain Layout
1147 \begin_layout Plain Layout
1158 \begin_layout Plain Layout
1170 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1179 \begin_inset Index idx
1182 \begin_layout Plain Layout
1187 \begin_layout Plain Layout
1198 \begin_layout Plain Layout
1213 \begin_layout Description
1214 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1215 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1217 \begin_inset Newline newline
1220 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1225 \begin_inset Index idx
1228 \begin_layout Plain Layout
1233 \begin_layout Plain Layout
1244 \begin_layout Plain Layout
1256 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1261 \begin_inset Index idx
1264 \begin_layout Plain Layout
1269 \begin_layout Plain Layout
1280 \begin_layout Plain Layout
1292 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1297 \begin_inset Index idx
1300 \begin_layout Plain Layout
1306 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1311 \begin_inset Index idx
1314 \begin_layout Plain Layout
1319 \begin_layout Plain Layout
1330 \begin_layout Plain Layout
1342 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1343 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1347 \begin_layout Plain Layout
1348 PDFの場合には、さらに元画像が圧縮されます。
1357 が生成するPDFファイルは、ビットマップ画像です。
1360 \begin_layout Standard
1361 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1362 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1363 \begin_inset Formula $\to$
1366 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1369 \begin_layout Chapter
1371 \begin_inset Index idx
1374 \begin_layout Plain Layout
1383 \begin_layout Section
1385 \begin_inset Index idx
1388 \begin_layout Plain Layout
1397 \begin_layout Standard
1408 \begin_inset Graphics
1409 filename ../../images/tabular-insert.png
1423 挿入\SpecialChar \menuseparator
1426 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1427 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1428 \begin_inset Newline newline
1431 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1432 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1435 \begin_layout Standard
1437 \begin_inset Tabular
1438 <lyxtabular version="3" rows="4" columns="4">
1439 <features tabularvalignment="middle">
1440 <column alignment="center" valignment="top" width="0">
1441 <column alignment="center" valignment="top" width="0">
1442 <column alignment="center" valignment="top" width="0">
1443 <column alignment="center" valignment="top" width="0">
1445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1448 \begin_layout Plain Layout
1454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1457 \begin_layout Plain Layout
1463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1466 \begin_layout Plain Layout
1472 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1475 \begin_layout Plain Layout
1483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1486 \begin_layout Plain Layout
1492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1495 \begin_layout Plain Layout
1501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1504 \begin_layout Plain Layout
1510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1513 \begin_layout Plain Layout
1521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1524 \begin_layout Plain Layout
1530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1533 \begin_layout Plain Layout
1539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1542 \begin_layout Plain Layout
1548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1551 \begin_layout Plain Layout
1559 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1562 \begin_layout Plain Layout
1568 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1571 \begin_layout Plain Layout
1577 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1580 \begin_layout Plain Layout
1586 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1589 \begin_layout Plain Layout
1603 \begin_layout Section
1605 \begin_inset Index idx
1608 \begin_layout Plain Layout
1617 \begin_layout Standard
1627 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1628 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1641 を選択するのと、セル自体を選択するのは違うことに注意して下さい。
1642 \begin_inset Newline newline
1647 With the dialog option
1650 \begin_inset space ~
1655 every change you make in the dialog is directly applied.
1656 If you move the cursor to another table cell the dialog will then also
1657 be updated with the parameters of the new cell.
1658 If you change length values in the dialog you must press return to get
1662 \begin_inset Newline newline
1665 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1668 \begin_layout Description
1673 ここでは、現在列の幅と水平揃えを設定することができます。
1678 \begin_inset space ~
1682 \begin_inset space ~
1690 \begin_inset CommandInset ref
1692 reference "sub:特殊なセル揃え"
1696 。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関しては、第
1697 \begin_inset CommandInset ref
1703 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1704 \begin_inset Newline newline
1707 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1708 \begin_inset CommandInset ref
1716 or the cells of one column as multirow cell, see section
1719 \begin_inset space ~
1723 \begin_inset CommandInset ref
1730 \begin_inset Newline newline
1733 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1734 \begin_inset Newline newline
1738 \begin_inset Note Greyedout
1741 \begin_layout Plain Layout
1746 DVIビューアのすべてが回転を表示できるわけではありません。
1752 \begin_inset Newline newline
1757 The table-wide vertical alignment is used for tables within text lines:
1758 \begin_inset Newline newline
1761 A line with tables with different alignments
1764 \begin_inset Tabular
1765 <lyxtabular version="3" rows="2" columns="2">
1766 <features tabularvalignment="top">
1767 <column alignment="center" valignment="top" width="0pt">
1768 <column alignment="center" valignment="top" width="0">
1770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1773 \begin_layout Plain Layout
1779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1782 \begin_layout Plain Layout
1790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1793 \begin_layout Plain Layout
1799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1802 \begin_layout Plain Layout
1814 \begin_inset Tabular
1815 <lyxtabular version="3" rows="2" columns="2">
1816 <features tabularvalignment="middle">
1817 <column alignment="center" valignment="top" width="0">
1818 <column alignment="center" valignment="top" width="0">
1820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1823 \begin_layout Plain Layout
1829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1832 \begin_layout Plain Layout
1840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1843 \begin_layout Plain Layout
1849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1852 \begin_layout Plain Layout
1864 \begin_inset Tabular
1865 <lyxtabular version="3" rows="2" columns="2">
1866 <features tabularvalignment="bottom">
1867 <column alignment="center" valignment="top" width="0pt">
1868 <column alignment="center" valignment="top" width="0">
1870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1873 \begin_layout Plain Layout
1879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1882 \begin_layout Plain Layout
1890 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1893 \begin_layout Plain Layout
1899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1902 \begin_layout Plain Layout
1914 \begin_inset Newline newline
1917 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1918 \begin_inset CommandInset ref
1920 reference "sub:連結列の計算"
1925 \begin_inset CommandInset ref
1927 reference "sec:色付きの表"
1934 \begin_layout Description
1939 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1940 \begin_inset Newline newline
1948 \begin_inset CommandInset ref
1950 reference "sec:フォーマル形式の表"
1954 節に述べられているフォーマル様式の表に表を変換します。
1955 \begin_inset Newline newline
1959 \begin_inset CommandInset ref
1961 reference "sub:行の余白取り"
1965 節に述べられているように、表の行に空白を追加することもできます。
1968 \begin_layout Description
1973 このタブは、複数のページにわたる、いわゆる「
1978 \begin_inset CommandInset ref
1985 \begin_inset CommandInset ref
1987 reference "sec:長尺表にまつわる諸点"
1991 節に、長尺表の機能に関する詳細な説明があります。
1994 \begin_layout Section
1996 \begin_inset Index idx
1999 \begin_layout Plain Layout
2008 \begin_layout Standard
2009 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
2010 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
2013 \begin_layout Standard
2014 ツールバーには、以下のアイコンがあります。
2017 \begin_layout Labeling
2018 \labelwidthstring 00.00.0000
2019 \begin_inset Graphics
2020 filename ../../images/tabular-feature_append-row.png
2025 は、現在セルあるいは選択範囲の下に行を追加します。
2028 \begin_layout Labeling
2029 \labelwidthstring 00.00.0000
2030 \begin_inset Graphics
2031 filename ../../images/tabular-feature_append-column.png
2036 は、現在セルあるいは選択範囲の右に列を追加します。
2039 \begin_layout Labeling
2040 \labelwidthstring 00.00.0000
2041 \begin_inset Graphics
2042 filename ../../images/tabular-feature_delete-row.png
2047 は、現在行あるいは選択範囲行を削除します。
2050 \begin_layout Labeling
2051 \labelwidthstring 00.00.0000
2052 \begin_inset Graphics
2053 filename ../../images/tabular-feature_delete-column.png
2058 は、現在列あるいは選択範囲列を削除します。
2061 \begin_layout Labeling
2062 \labelwidthstring 00.00.0000
2063 \begin_inset Graphics
2064 filename ../../images/tabular-feature_toggle-line-top.png
2069 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2072 \begin_layout Labeling
2073 \labelwidthstring 00.00.0000
2074 \begin_inset Graphics
2075 filename ../../images/tabular-feature_toggle-line-bottom.png
2080 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2083 \begin_layout Labeling
2084 \labelwidthstring 00.00.0000
2085 \begin_inset Graphics
2086 filename ../../images/tabular-feature_toggle-line-left.png
2091 は、 現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2094 \begin_layout Labeling
2095 \labelwidthstring 00.00.0000
2096 \begin_inset Graphics
2097 filename ../../images/tabular-feature_toggle-line-right.png
2102 は、 現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2105 \begin_layout Labeling
2106 \labelwidthstring 00.00.0000
2107 \begin_inset Graphics
2108 filename ../../images/tabular-feature_set-all-lines.png
2113 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2116 \begin_layout Labeling
2117 \labelwidthstring 00.00.0000
2118 \begin_inset Graphics
2119 filename ../../images/tabular-feature_unset-all-lines.png
2124 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2127 \begin_layout Labeling
2128 \labelwidthstring 00.00.0000
2129 \begin_inset Graphics
2130 filename ../../images/tabular-feature_m-align-left.png
2135 は、現在セルあるいは現在列の内容を左揃えにします。
2138 \begin_layout Labeling
2139 \labelwidthstring 00.00.0000
2140 \begin_inset Graphics
2141 filename ../../images/tabular-feature_m-align-center.png
2146 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2149 \begin_layout Labeling
2150 \labelwidthstring 00.00.0000
2151 \begin_inset Graphics
2152 filename ../../images/tabular-feature_m-align-right.png
2157 は、現在セルあるいは現在列の内容を右揃えにします。
2160 \begin_layout Labeling
2161 \labelwidthstring 00.00.0000
2162 \begin_inset Graphics
2163 filename ../../images/tabular-feature_align-decimal.png
2170 aligns the content of the current column at a character
2173 \begin_layout Labeling
2174 \labelwidthstring 00.00.0000
2175 \begin_inset Graphics
2176 filename ../../images/tabular-feature_m-valign-top.png
2181 は、現在セルの内容を垂直方向上揃えにします。
2184 \begin_layout Labeling
2185 \labelwidthstring 00.00.0000
2186 \begin_inset Graphics
2187 filename ../../images/tabular-feature_m-valign-middle.png
2192 は、現在セルの内容を垂直方向中央揃えにします。
2195 \begin_layout Labeling
2196 \labelwidthstring 00.00.0000
2197 \begin_inset Graphics
2198 filename ../../images/tabular-feature_m-valign-bottom.png
2203 は、現在セルの内容を垂直方向下揃えにします。
2206 \begin_layout Labeling
2207 \labelwidthstring 00.00.0000
2208 \begin_inset Graphics
2209 filename ../../images/tabular-feature_set-rotate-cell.png
2214 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2217 \begin_layout Labeling
2218 \labelwidthstring 00.00.0000
2219 \begin_inset Graphics
2220 filename ../../images/tabular-feature_set-rotate-tabular.png
2225 は、表全体を反時計廻りに90度回転します。
2228 \begin_layout Labeling
2229 \labelwidthstring 00.00.0000
2230 \begin_inset Graphics
2231 filename ../../images/tabular-feature_multicolumn.png
2236 は、現在セルあるいは選択範囲を連結列にします。
2239 \begin_layout Labeling
2240 \labelwidthstring 00.00.0000
2241 \begin_inset Graphics
2242 filename ../../images/tabular-feature_multirow.png
2249 sets the current cell or selection as a multirow
2252 \begin_layout Standard
2253 \begin_inset Note Greyedout
2256 \begin_layout Plain Layout
2261 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2269 \begin_layout Section
2271 \begin_inset Index idx
2274 \begin_layout Plain Layout
2275 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2283 \begin_layout Standard
2286 編集\SpecialChar \menuseparator
2289 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2293 \begin_layout Section
2295 \begin_inset CommandInset label
2302 \begin_inset Index idx
2305 \begin_layout Plain Layout
2312 \begin_inset Index idx
2315 \begin_layout Plain Layout
2324 \begin_layout Standard
2326 \begin_inset CommandInset ref
2328 reference "sec:フロートはじめに"
2335 \begin_layout Standard
2336 \begin_inset Float table
2342 \begin_layout Plain Layout
2343 \begin_inset Caption
2345 \begin_layout Plain Layout
2346 \begin_inset CommandInset label
2360 \begin_layout Plain Layout
2362 \begin_inset Tabular
2363 <lyxtabular version="3" rows="3" columns="3">
2364 <features tabularvalignment="middle">
2365 <column alignment="center" valignment="top" width="0pt">
2366 <column alignment="center" valignment="top" width="0pt">
2367 <column alignment="center" valignment="top" width="0pt">
2369 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2372 \begin_layout Plain Layout
2387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2390 \begin_layout Plain Layout
2405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2408 \begin_layout Plain Layout
2425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2428 \begin_layout Plain Layout
2434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2437 \begin_layout Plain Layout
2443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2446 \begin_layout Plain Layout
2454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2457 \begin_layout Plain Layout
2467 \begin_inset Formula $\int x^{2}dx$
2475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2478 \begin_layout Plain Layout
2488 \begin_inset Formula $\left[\begin{array}{cc}
2499 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2502 \begin_layout Plain Layout
2512 \begin_inset Formula $1+1=2$
2533 \begin_layout Standard
2538 \SpecialChar \menuseparator
2539 フロート\SpecialChar \menuseparator
2544 \begin_inset Graphics
2545 filename ../../images/float-insert_table.png
2554 \begin_layout Standard
2555 フロートは折りたたむことのできるボックスとして表示され、中には「表
2556 \begin_inset space ~
2559 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2562 \begin_layout Standard
2564 \begin_inset space ~
2568 \begin_inset CommandInset ref
2570 reference "tab:表フロート"
2577 \begin_layout Standard
2578 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2579 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2585 \begin_inset Index idx
2588 \begin_layout Plain Layout
2589 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2597 \begin_layout Standard
2603 \begin_layout Standard
2604 というオプションとともにloadコマンドを使って読み込んでください
2608 \begin_layout Plain Layout
2610 \begin_inset CommandInset ref
2612 reference "sec:キャプションの配置"
2622 \begin_inset CommandInset ref
2624 reference "sec:キャプションの書式設定"
2635 \begin_layout Standard
2636 \begin_inset Index idx
2639 \begin_layout Plain Layout
2640 さんしょう@参照 ! ひょうへの@表への
2645 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2647 挿入\SpecialChar \menuseparator
2651 \begin_inset Graphics
2652 filename ../../images/label-insert.png
2658 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2660 \begin_inset Graphics
2661 filename ../../images/dialog-show-new-inset_ref.png
2667 を用いて、このラベルを参照することができます。
2668 \begin_inset Newline newline
2672 \begin_inset CommandInset ref
2674 reference "sec:フロートの参照"
2681 \begin_layout Section
2683 \begin_inset CommandInset label
2690 \begin_inset Index idx
2693 \begin_layout Plain Layout
2700 \begin_inset Index idx
2703 \begin_layout Plain Layout
2704 ひょう@表 ! ちょうしゃくひょう@長尺表
2712 \begin_layout Standard
2713 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2721 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2725 \begin_layout Description
2726 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2753 が定義されているときは、冒頭ページを除きます。
2762 これと区別して、このヘッダは本体ヘッダと呼びます。
2765 \begin_layout Description
2766 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2769 \begin_layout Description
2770 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2797 が定義されているときは、末尾ページを除きます。
2800 \begin_layout Description
2801 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2804 \begin_layout Description
2805 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2806 \begin_inset CommandInset ref
2808 reference "sub:長尺表のキャプション"
2815 \begin_layout Standard
2816 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2819 \begin_layout Standard
2821 \begin_inset Tabular
2822 <lyxtabular version="3" rows="69" columns="3">
2823 <features islongtable="true" longtabularalignment="center">
2824 <column alignment="left" valignment="top" width="0cm">
2825 <column alignment="left" valignment="top" width="0pt">
2826 <column alignment="center" valignment="top" width="0pt">
2827 <row endfirsthead="true">
2828 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2831 \begin_layout Plain Layout
2839 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2842 \begin_layout Plain Layout
2848 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2851 \begin_layout Plain Layout
2858 <row endfirsthead="true">
2859 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2862 \begin_layout Plain Layout
2868 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2871 \begin_layout Plain Layout
2877 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2880 \begin_layout Plain Layout
2889 <row endhead="true">
2890 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2893 \begin_layout Plain Layout
2901 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2904 \begin_layout Plain Layout
2910 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2913 \begin_layout Plain Layout
2920 <row endhead="true">
2921 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2924 \begin_layout Plain Layout
2930 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2933 \begin_layout Plain Layout
2939 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2942 \begin_layout Plain Layout
2951 <row endfoot="true">
2952 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2955 \begin_layout Plain Layout
2961 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2964 \begin_layout Plain Layout
2970 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2973 \begin_layout Plain Layout
2981 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2984 \begin_layout Plain Layout
2992 <cell alignment="center" valignment="top" usebox="none">
2995 \begin_layout Plain Layout
3001 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3004 \begin_layout Plain Layout
3012 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3015 \begin_layout Plain Layout
3023 <cell alignment="center" valignment="top" usebox="none">
3026 \begin_layout Plain Layout
3032 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3035 \begin_layout Plain Layout
3043 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3046 \begin_layout Plain Layout
3054 <cell alignment="center" valignment="top" usebox="none">
3057 \begin_layout Plain Layout
3063 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3066 \begin_layout Plain Layout
3074 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3077 \begin_layout Plain Layout
3085 <cell alignment="center" valignment="top" usebox="none">
3088 \begin_layout Plain Layout
3094 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3097 \begin_layout Plain Layout
3105 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3108 \begin_layout Plain Layout
3116 <cell alignment="center" valignment="top" usebox="none">
3119 \begin_layout Plain Layout
3125 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3128 \begin_layout Plain Layout
3136 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3139 \begin_layout Plain Layout
3147 <cell alignment="center" valignment="top" usebox="none">
3150 \begin_layout Plain Layout
3156 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3159 \begin_layout Plain Layout
3167 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3170 \begin_layout Plain Layout
3178 <cell alignment="center" valignment="top" usebox="none">
3181 \begin_layout Plain Layout
3187 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3190 \begin_layout Plain Layout
3198 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3201 \begin_layout Plain Layout
3209 <cell alignment="center" valignment="top" usebox="none">
3212 \begin_layout Plain Layout
3218 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3221 \begin_layout Plain Layout
3229 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3232 \begin_layout Plain Layout
3240 <cell alignment="center" valignment="top" usebox="none">
3243 \begin_layout Plain Layout
3249 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3252 \begin_layout Plain Layout
3260 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3263 \begin_layout Plain Layout
3271 <cell alignment="center" valignment="top" usebox="none">
3274 \begin_layout Plain Layout
3280 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3283 \begin_layout Plain Layout
3291 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3294 \begin_layout Plain Layout
3302 <cell alignment="center" valignment="top" usebox="none">
3305 \begin_layout Plain Layout
3311 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3314 \begin_layout Plain Layout
3322 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3325 \begin_layout Plain Layout
3333 <cell alignment="center" valignment="top" usebox="none">
3336 \begin_layout Plain Layout
3342 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3345 \begin_layout Plain Layout
3353 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3356 \begin_layout Plain Layout
3364 <cell alignment="center" valignment="top" usebox="none">
3367 \begin_layout Plain Layout
3373 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3376 \begin_layout Plain Layout
3384 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3387 \begin_layout Plain Layout
3395 <cell alignment="center" valignment="top" usebox="none">
3398 \begin_layout Plain Layout
3404 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3407 \begin_layout Plain Layout
3415 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3418 \begin_layout Plain Layout
3426 <cell alignment="center" valignment="top" usebox="none">
3429 \begin_layout Plain Layout
3435 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3438 \begin_layout Plain Layout
3446 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3449 \begin_layout Plain Layout
3457 <cell alignment="center" valignment="top" usebox="none">
3460 \begin_layout Plain Layout
3466 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3469 \begin_layout Plain Layout
3477 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3480 \begin_layout Plain Layout
3488 <cell alignment="center" valignment="top" usebox="none">
3491 \begin_layout Plain Layout
3497 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3500 \begin_layout Plain Layout
3508 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3511 \begin_layout Plain Layout
3519 <cell alignment="center" valignment="top" usebox="none">
3522 \begin_layout Plain Layout
3528 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3531 \begin_layout Plain Layout
3539 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3542 \begin_layout Plain Layout
3550 <cell alignment="center" valignment="top" usebox="none">
3553 \begin_layout Plain Layout
3559 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3562 \begin_layout Plain Layout
3570 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3573 \begin_layout Plain Layout
3581 <cell alignment="center" valignment="top" usebox="none">
3584 \begin_layout Plain Layout
3590 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3593 \begin_layout Plain Layout
3601 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3604 \begin_layout Plain Layout
3612 <cell alignment="center" valignment="top" usebox="none">
3615 \begin_layout Plain Layout
3621 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3624 \begin_layout Plain Layout
3632 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3635 \begin_layout Plain Layout
3643 <cell alignment="center" valignment="top" usebox="none">
3646 \begin_layout Plain Layout
3652 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3655 \begin_layout Plain Layout
3663 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3666 \begin_layout Plain Layout
3674 <cell alignment="center" valignment="top" usebox="none">
3677 \begin_layout Plain Layout
3683 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3686 \begin_layout Plain Layout
3694 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3697 \begin_layout Plain Layout
3705 <cell alignment="center" valignment="top" usebox="none">
3708 \begin_layout Plain Layout
3714 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3717 \begin_layout Plain Layout
3725 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3728 \begin_layout Plain Layout
3736 <cell alignment="center" valignment="top" usebox="none">
3739 \begin_layout Plain Layout
3745 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3748 \begin_layout Plain Layout
3756 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3759 \begin_layout Plain Layout
3767 <cell alignment="center" valignment="top" usebox="none">
3770 \begin_layout Plain Layout
3776 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3779 \begin_layout Plain Layout
3787 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3790 \begin_layout Plain Layout
3798 <cell alignment="center" valignment="top" usebox="none">
3801 \begin_layout Plain Layout
3807 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3810 \begin_layout Plain Layout
3818 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3821 \begin_layout Plain Layout
3829 <cell alignment="center" valignment="top" usebox="none">
3832 \begin_layout Plain Layout
3838 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3841 \begin_layout Plain Layout
3849 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3852 \begin_layout Plain Layout
3860 <cell alignment="center" valignment="top" usebox="none">
3863 \begin_layout Plain Layout
3869 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3872 \begin_layout Plain Layout
3880 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3883 \begin_layout Plain Layout
3891 <cell alignment="center" valignment="top" usebox="none">
3894 \begin_layout Plain Layout
3900 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3903 \begin_layout Plain Layout
3911 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3914 \begin_layout Plain Layout
3922 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3925 \begin_layout Plain Layout
3931 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3934 \begin_layout Plain Layout
3942 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3945 \begin_layout Plain Layout
3951 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3954 \begin_layout Plain Layout
3960 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3963 \begin_layout Plain Layout
3971 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3974 \begin_layout Plain Layout
3982 <cell alignment="center" valignment="top" usebox="none">
3985 \begin_layout Plain Layout
3991 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3994 \begin_layout Plain Layout
4002 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4005 \begin_layout Plain Layout
4013 <cell alignment="center" valignment="top" usebox="none">
4016 \begin_layout Plain Layout
4022 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4025 \begin_layout Plain Layout
4033 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4036 \begin_layout Plain Layout
4044 <cell alignment="center" valignment="top" usebox="none">
4047 \begin_layout Plain Layout
4053 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4056 \begin_layout Plain Layout
4064 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4067 \begin_layout Plain Layout
4075 <cell alignment="center" valignment="top" usebox="none">
4078 \begin_layout Plain Layout
4084 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4087 \begin_layout Plain Layout
4095 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4098 \begin_layout Plain Layout
4106 <cell alignment="center" valignment="top" usebox="none">
4109 \begin_layout Plain Layout
4115 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4118 \begin_layout Plain Layout
4126 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4129 \begin_layout Plain Layout
4137 <cell alignment="center" valignment="top" usebox="none">
4140 \begin_layout Plain Layout
4146 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4149 \begin_layout Plain Layout
4157 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4160 \begin_layout Plain Layout
4168 <cell alignment="center" valignment="top" usebox="none">
4171 \begin_layout Plain Layout
4177 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4180 \begin_layout Plain Layout
4188 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4191 \begin_layout Plain Layout
4199 <cell alignment="center" valignment="top" usebox="none">
4202 \begin_layout Plain Layout
4208 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4211 \begin_layout Plain Layout
4219 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4222 \begin_layout Plain Layout
4230 <cell alignment="center" valignment="top" usebox="none">
4233 \begin_layout Plain Layout
4239 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4242 \begin_layout Plain Layout
4250 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4253 \begin_layout Plain Layout
4261 <cell alignment="center" valignment="top" usebox="none">
4264 \begin_layout Plain Layout
4270 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4273 \begin_layout Plain Layout
4281 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4284 \begin_layout Plain Layout
4292 <cell alignment="center" valignment="top" usebox="none">
4295 \begin_layout Plain Layout
4301 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4304 \begin_layout Plain Layout
4312 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4315 \begin_layout Plain Layout
4323 <cell alignment="center" valignment="top" usebox="none">
4326 \begin_layout Plain Layout
4332 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4335 \begin_layout Plain Layout
4343 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4346 \begin_layout Plain Layout
4354 <cell alignment="center" valignment="top" usebox="none">
4357 \begin_layout Plain Layout
4363 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4366 \begin_layout Plain Layout
4374 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4377 \begin_layout Plain Layout
4385 <cell alignment="center" valignment="top" usebox="none">
4388 \begin_layout Plain Layout
4394 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4397 \begin_layout Plain Layout
4405 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4408 \begin_layout Plain Layout
4416 <cell alignment="center" valignment="top" usebox="none">
4419 \begin_layout Plain Layout
4425 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4428 \begin_layout Plain Layout
4436 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4439 \begin_layout Plain Layout
4447 <cell alignment="center" valignment="top" usebox="none">
4450 \begin_layout Plain Layout
4456 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4459 \begin_layout Plain Layout
4467 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4470 \begin_layout Plain Layout
4478 <cell alignment="center" valignment="top" usebox="none">
4481 \begin_layout Plain Layout
4487 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4490 \begin_layout Plain Layout
4498 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4501 \begin_layout Plain Layout
4509 <cell alignment="center" valignment="top" usebox="none">
4512 \begin_layout Plain Layout
4518 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4521 \begin_layout Plain Layout
4529 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4532 \begin_layout Plain Layout
4540 <cell alignment="center" valignment="top" usebox="none">
4543 \begin_layout Plain Layout
4549 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4552 \begin_layout Plain Layout
4560 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4563 \begin_layout Plain Layout
4571 <cell alignment="center" valignment="top" usebox="none">
4574 \begin_layout Plain Layout
4580 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4583 \begin_layout Plain Layout
4591 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4594 \begin_layout Plain Layout
4602 <cell alignment="center" valignment="top" usebox="none">
4605 \begin_layout Plain Layout
4611 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4614 \begin_layout Plain Layout
4622 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4625 \begin_layout Plain Layout
4633 <cell alignment="center" valignment="top" usebox="none">
4636 \begin_layout Plain Layout
4642 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4645 \begin_layout Plain Layout
4653 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4656 \begin_layout Plain Layout
4664 <cell alignment="center" valignment="top" usebox="none">
4667 \begin_layout Plain Layout
4673 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4676 \begin_layout Plain Layout
4684 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4687 \begin_layout Plain Layout
4695 <cell alignment="center" valignment="top" usebox="none">
4698 \begin_layout Plain Layout
4704 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4707 \begin_layout Plain Layout
4715 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4718 \begin_layout Plain Layout
4726 <cell alignment="center" valignment="top" usebox="none">
4729 \begin_layout Plain Layout
4735 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4738 \begin_layout Plain Layout
4746 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4749 \begin_layout Plain Layout
4757 <cell alignment="center" valignment="top" usebox="none">
4760 \begin_layout Plain Layout
4766 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4769 \begin_layout Plain Layout
4777 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4780 \begin_layout Plain Layout
4788 <cell alignment="center" valignment="top" usebox="none">
4791 \begin_layout Plain Layout
4797 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4800 \begin_layout Plain Layout
4808 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4811 \begin_layout Plain Layout
4819 <cell alignment="center" valignment="top" usebox="none">
4822 \begin_layout Plain Layout
4828 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4831 \begin_layout Plain Layout
4839 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4842 \begin_layout Plain Layout
4850 <cell alignment="center" valignment="top" usebox="none">
4853 \begin_layout Plain Layout
4859 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4862 \begin_layout Plain Layout
4870 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4873 \begin_layout Plain Layout
4881 <cell alignment="center" valignment="top" usebox="none">
4884 \begin_layout Plain Layout
4890 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4893 \begin_layout Plain Layout
4901 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4904 \begin_layout Plain Layout
4912 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4915 \begin_layout Plain Layout
4921 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4924 \begin_layout Plain Layout
4931 <row endlastfoot="true">
4932 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4935 \begin_layout Plain Layout
4941 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4944 \begin_layout Plain Layout
4950 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4953 \begin_layout Plain Layout
4968 \begin_layout Plain Layout
4972 addtocounter{table}{-1}
4978 \begin_inset Note Note
4981 \begin_layout Plain Layout
4983 \begin_inset CommandInset ref
4985 reference "sub:長尺表のキャプション"
4997 \begin_layout Subsection
4999 \begin_inset CommandInset label
5006 \begin_inset Index idx
5009 \begin_layout Plain Layout
5010 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
5018 \begin_layout Standard
5019 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
5020 \begin_inset CommandInset ref
5022 reference "tab:別キャプション"
5029 \begin_layout Subsection
5031 \begin_inset Index idx
5034 \begin_layout Plain Layout
5035 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5043 \begin_layout Standard
5046 The horizontal alignment of longtables can be set in the table settings
5048 For left- and right-alignment the table will be directly at the page border.
5049 To add space between the table and the border one has to set the alignment
5050 to center and change the value of the LaTeX-lengths
5062 by inserting this line as TeX-Code before the longtable:
5065 \begin_layout Standard
5075 \begin_layout Standard
5076 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5088 の値を変更しなくてはなりません。ここで「値」は、第
5089 \begin_inset CommandInset ref
5095 表に挙げてある単位であれば、どの単位を取ることもできます。
5101 は、左頁余白から長尺表までの水平方向の距離を制御し、
5107 は、右頁余白からの距離を制御します。これらの長さの既定値は
5113 となっており、LyXの水平フィルと同等になっています。
5116 \begin_layout Standard
5119 The following longtable was centered and
5141 \begin_layout Plain Layout
5157 \begin_layout Standard
5158 \begin_inset Tabular
5159 <lyxtabular version="3" rows="5" columns="5">
5160 <features islongtable="true" longtabularalignment="center">
5161 <column alignment="center" valignment="top" width="0">
5162 <column alignment="center" valignment="top" width="0">
5163 <column alignment="center" valignment="top" width="0">
5164 <column alignment="center" valignment="top" width="0">
5165 <column alignment="center" valignment="top" width="0">
5167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5170 \begin_layout Plain Layout
5176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5179 \begin_layout Plain Layout
5185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5188 \begin_layout Plain Layout
5194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5197 \begin_layout Plain Layout
5203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5206 \begin_layout Plain Layout
5214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5217 \begin_layout Plain Layout
5223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5226 \begin_layout Plain Layout
5232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5235 \begin_layout Plain Layout
5241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5244 \begin_layout Plain Layout
5250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5253 \begin_layout Plain Layout
5261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5264 \begin_layout Plain Layout
5270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5273 \begin_layout Plain Layout
5279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5282 \begin_layout Plain Layout
5288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5291 \begin_layout Plain Layout
5297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5300 \begin_layout Plain Layout
5308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5311 \begin_layout Plain Layout
5317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5320 \begin_layout Plain Layout
5326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5329 \begin_layout Plain Layout
5335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5338 \begin_layout Plain Layout
5344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5347 \begin_layout Plain Layout
5355 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5358 \begin_layout Plain Layout
5364 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5367 \begin_layout Plain Layout
5373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5376 \begin_layout Plain Layout
5382 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5385 \begin_layout Plain Layout
5391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5394 \begin_layout Plain Layout
5409 \begin_layout Plain Layout
5426 \begin_layout Plain Layout
5430 addtocounter{table}{-1}
5436 \begin_inset Note Note
5439 \begin_layout Plain Layout
5441 \begin_inset CommandInset ref
5443 reference "sub:長尺表のキャプション"
5455 \begin_layout Subsection
5457 \begin_inset Index idx
5460 \begin_layout Plain Layout
5461 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5467 \begin_inset CommandInset label
5469 name "sub:長尺表のキャプション"
5476 \begin_layout Standard
5477 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5478 \begin_inset CommandInset ref
5484 節に述べられているように、ある行で長尺表オプションの
5488 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5491 \begin_layout Standard
5492 以下は、動作を確認するための短い長尺表です。
5495 \begin_layout Standard
5496 \begin_inset Tabular
5497 <lyxtabular version="3" rows="6" columns="5">
5498 <features islongtable="true" longtabularalignment="center">
5499 <column alignment="center" valignment="top" width="0">
5500 <column alignment="center" valignment="top" width="0">
5501 <column alignment="center" valignment="top" width="0">
5502 <column alignment="center" valignment="top" width="0">
5503 <column alignment="center" valignment="top" width="0">
5504 <row caption="true">
5505 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5508 \begin_layout Plain Layout
5509 \begin_inset Caption
5511 \begin_layout Plain Layout
5513 \begin_inset Argument
5516 \begin_layout Plain Layout
5532 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5535 \begin_layout Plain Layout
5541 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5544 \begin_layout Plain Layout
5550 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5553 \begin_layout Plain Layout
5559 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5562 \begin_layout Plain Layout
5570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5573 \begin_layout Plain Layout
5579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5582 \begin_layout Plain Layout
5588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5591 \begin_layout Plain Layout
5597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5600 \begin_layout Plain Layout
5606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5609 \begin_layout Plain Layout
5617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5620 \begin_layout Plain Layout
5626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5629 \begin_layout Plain Layout
5635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5638 \begin_layout Plain Layout
5644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5647 \begin_layout Plain Layout
5653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5656 \begin_layout Plain Layout
5664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5667 \begin_layout Plain Layout
5673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5676 \begin_layout Plain Layout
5682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5685 \begin_layout Plain Layout
5691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5694 \begin_layout Plain Layout
5700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5703 \begin_layout Plain Layout
5711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5714 \begin_layout Plain Layout
5720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5723 \begin_layout Plain Layout
5729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5732 \begin_layout Plain Layout
5738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5741 \begin_layout Plain Layout
5747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5750 \begin_layout Plain Layout
5758 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5761 \begin_layout Plain Layout
5767 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5770 \begin_layout Plain Layout
5776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5779 \begin_layout Plain Layout
5785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5788 \begin_layout Plain Layout
5794 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5797 \begin_layout Plain Layout
5811 \begin_layout Standard
5812 \begin_inset VSpace medskip
5816 \begin_inset Note Greyedout
5819 \begin_layout Plain Layout
5824 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5825 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5828 \begin_layout Plain Layout
5833 addtocounter{table}{-1}
5836 \begin_layout Plain Layout
5837 というコマンドを挿入する方法があります。
5840 \begin_layout Plain Layout
5841 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5844 \begin_layout Plain Layout
5854 \begin_inset Newline newline
5865 addtocounter{table}{-1}}
5873 \begin_layout Standard
5874 \begin_inset Note Greyedout
5877 \begin_layout Plain Layout
5895 \begin_inset Index idx
5898 \begin_layout Plain Layout
5899 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5904 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5912 \begin_layout Subsubsection
5914 \begin_inset Index idx
5917 \begin_layout Plain Layout
5918 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5926 \begin_layout Standard
5927 \begin_inset Tabular
5928 <lyxtabular version="3" rows="6" columns="5">
5929 <features islongtable="true" longtabularalignment="center">
5930 <column alignment="center" valignment="top" width="0">
5931 <column alignment="center" valignment="top" width="0">
5932 <column alignment="center" valignment="top" width="0">
5933 <column alignment="center" valignment="top" width="0">
5934 <column alignment="center" valignment="top" width="0">
5935 <row caption="true">
5936 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5939 \begin_layout Plain Layout
5940 \begin_inset Caption
5942 \begin_layout Plain Layout
5944 \begin_inset CommandInset label
5960 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5963 \begin_layout Plain Layout
5969 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5972 \begin_layout Plain Layout
5978 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5981 \begin_layout Plain Layout
5987 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5990 \begin_layout Plain Layout
5998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6001 \begin_layout Plain Layout
6007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6010 \begin_layout Plain Layout
6016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6019 \begin_layout Plain Layout
6025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6028 \begin_layout Plain Layout
6034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6037 \begin_layout Plain Layout
6045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6048 \begin_layout Plain Layout
6054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6057 \begin_layout Plain Layout
6063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6066 \begin_layout Plain Layout
6072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6075 \begin_layout Plain Layout
6081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6084 \begin_layout Plain Layout
6092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6095 \begin_layout Plain Layout
6101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6104 \begin_layout Plain Layout
6110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6113 \begin_layout Plain Layout
6119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6122 \begin_layout Plain Layout
6128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6131 \begin_layout Plain Layout
6139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6142 \begin_layout Plain Layout
6148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6151 \begin_layout Plain Layout
6157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6160 \begin_layout Plain Layout
6166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6169 \begin_layout Plain Layout
6175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6178 \begin_layout Plain Layout
6186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6189 \begin_layout Plain Layout
6195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6198 \begin_layout Plain Layout
6204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6207 \begin_layout Plain Layout
6213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6216 \begin_layout Plain Layout
6222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6225 \begin_layout Plain Layout
6239 \begin_layout Standard
6240 長尺表を参照するには、キャプションにラベルを挿入してください。
6243 \begin_layout Standard
6245 \begin_inset CommandInset ref
6254 \begin_layout Standard
6255 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6260 \begin_inset Index idx
6263 \begin_layout Plain Layout
6264 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6270 \begin_inset CommandInset ref
6272 reference "sec:キャプションの書式設定"
6279 \begin_layout Subsubsection
6281 \begin_inset Index idx
6284 \begin_layout Plain Layout
6285 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6293 \begin_layout Standard
6300 によって指定することができます。既定値は4
6301 \begin_inset space \thinspace{}
6304 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6307 \begin_layout Standard
6317 \begin_layout Standard
6318 というコマンドを書き加えて下さい。ここで「幅」には、付録
6319 \begin_inset CommandInset ref
6321 reference "cha:LyXで使用できる単位"
6325 に挙げられている単位を取ることができます。
6328 \begin_layout Standard
6332 \begin_layout Standard
6333 \begin_inset Tabular
6334 <lyxtabular version="3" rows="6" columns="5">
6335 <features islongtable="true" longtabularalignment="center">
6336 <column alignment="center" valignment="top" width="0">
6337 <column alignment="center" valignment="top" width="0">
6338 <column alignment="center" valignment="top" width="0">
6339 <column alignment="center" valignment="top" width="0">
6340 <column alignment="center" valignment="top" width="0">
6341 <row caption="true">
6342 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6345 \begin_layout Plain Layout
6346 \begin_inset Caption
6348 \begin_layout Plain Layout
6349 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6350 \begin_inset Argument
6353 \begin_layout Plain Layout
6369 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6372 \begin_layout Plain Layout
6378 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6381 \begin_layout Plain Layout
6387 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6390 \begin_layout Plain Layout
6396 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6399 \begin_layout Plain Layout
6407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6410 \begin_layout Plain Layout
6416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6419 \begin_layout Plain Layout
6425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6428 \begin_layout Plain Layout
6434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6437 \begin_layout Plain Layout
6443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6446 \begin_layout Plain Layout
6454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6457 \begin_layout Plain Layout
6463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6466 \begin_layout Plain Layout
6472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6475 \begin_layout Plain Layout
6481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6484 \begin_layout Plain Layout
6490 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6493 \begin_layout Plain Layout
6501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6504 \begin_layout Plain Layout
6510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6513 \begin_layout Plain Layout
6519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6522 \begin_layout Plain Layout
6528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6531 \begin_layout Plain Layout
6537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6540 \begin_layout Plain Layout
6548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6551 \begin_layout Plain Layout
6557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6560 \begin_layout Plain Layout
6566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6569 \begin_layout Plain Layout
6575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6578 \begin_layout Plain Layout
6584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6587 \begin_layout Plain Layout
6595 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6598 \begin_layout Plain Layout
6604 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6607 \begin_layout Plain Layout
6613 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6616 \begin_layout Plain Layout
6622 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6625 \begin_layout Plain Layout
6631 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6634 \begin_layout Plain Layout
6648 \begin_layout Standard
6652 \begin_layout Plain Layout
6664 \begin_inset Tabular
6665 <lyxtabular version="3" rows="6" columns="5">
6666 <features islongtable="true" longtabularalignment="center">
6667 <column alignment="center" valignment="top" width="0">
6668 <column alignment="center" valignment="top" width="0">
6669 <column alignment="center" valignment="top" width="0">
6670 <column alignment="center" valignment="top" width="0">
6671 <column alignment="center" valignment="top" width="0">
6672 <row caption="true">
6673 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6676 \begin_layout Plain Layout
6677 \begin_inset Caption
6679 \begin_layout Plain Layout
6681 \begin_inset space \thinspace{}
6685 \begin_inset space \thinspace{}
6689 \begin_inset space \thinspace{}
6693 \begin_inset Argument
6696 \begin_layout Plain Layout
6698 \begin_inset space \thinspace{}
6716 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6719 \begin_layout Plain Layout
6725 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6728 \begin_layout Plain Layout
6734 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6737 \begin_layout Plain Layout
6743 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6746 \begin_layout Plain Layout
6754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6757 \begin_layout Plain Layout
6763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6766 \begin_layout Plain Layout
6772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6775 \begin_layout Plain Layout
6781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6784 \begin_layout Plain Layout
6790 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6793 \begin_layout Plain Layout
6801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6804 \begin_layout Plain Layout
6810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6813 \begin_layout Plain Layout
6819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6822 \begin_layout Plain Layout
6828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6831 \begin_layout Plain Layout
6837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6840 \begin_layout Plain Layout
6848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6851 \begin_layout Plain Layout
6857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6860 \begin_layout Plain Layout
6866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6869 \begin_layout Plain Layout
6875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6878 \begin_layout Plain Layout
6884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6887 \begin_layout Plain Layout
6895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6898 \begin_layout Plain Layout
6904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6907 \begin_layout Plain Layout
6913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6916 \begin_layout Plain Layout
6922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6925 \begin_layout Plain Layout
6931 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6934 \begin_layout Plain Layout
6942 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6945 \begin_layout Plain Layout
6951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6954 \begin_layout Plain Layout
6960 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6963 \begin_layout Plain Layout
6969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6972 \begin_layout Plain Layout
6978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6981 \begin_layout Plain Layout
6995 \begin_layout Standard
6999 \begin_layout Plain Layout
7013 \begin_layout Standard
7014 \begin_inset Note Greyedout
7017 \begin_layout Plain Layout
7027 \begin_inset Index idx
7030 \begin_layout Plain Layout
7031 LaTeXぱっけーじ@LaTeXパッケージ ! caption
7043 \begin_inset space \thinspace{}
7046 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
7047 \begin_inset space \thinspace{}
7050 in幅のキャプションを作るには、3.99
7051 \begin_inset space \thinspace{}
7055 \begin_inset space \thinspace{}
7066 captionsetup{width=値}
7068 というLaTeXコマンドを用いる方法があります。
7076 \begin_layout Subsubsection
7078 \begin_inset Index idx
7081 \begin_layout Plain Layout
7082 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7090 \begin_layout Standard
7091 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
7094 \begin_layout Standard
7106 \begin_layout Standard
7107 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
7108 \begin_inset CommandInset ref
7110 reference "tab:別キャプション"
7114 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7117 \begin_layout Standard
7119 \begin_inset Tabular
7120 <lyxtabular version="3" rows="59" columns="3">
7121 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7122 <column alignment="left" valignment="top" width="0cm">
7123 <column alignment="left" valignment="top" width="0pt">
7124 <column alignment="center" valignment="top" width="0pt">
7125 <row caption="true">
7126 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7129 \begin_layout Plain Layout
7130 \begin_inset Caption
7132 \begin_layout Plain Layout
7134 \begin_inset CommandInset label
7141 \begin_inset Argument
7144 \begin_layout Plain Layout
7160 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7163 \begin_layout Plain Layout
7169 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7172 \begin_layout Plain Layout
7179 <row endfirsthead="true">
7180 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7183 \begin_layout Plain Layout
7191 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7194 \begin_layout Plain Layout
7200 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7203 \begin_layout Plain Layout
7210 <row endfirsthead="true">
7211 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7214 \begin_layout Plain Layout
7222 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7225 \begin_layout Plain Layout
7231 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7234 \begin_layout Plain Layout
7243 <row endhead="true">
7244 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7247 \begin_layout Plain Layout
7251 \begin_layout Plain Layout
7269 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7272 \begin_layout Plain Layout
7278 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7281 \begin_layout Plain Layout
7288 <row endhead="true">
7289 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7292 \begin_layout Plain Layout
7300 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7303 \begin_layout Plain Layout
7309 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7312 \begin_layout Plain Layout
7319 <row endhead="true">
7320 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7323 \begin_layout Plain Layout
7331 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7334 \begin_layout Plain Layout
7340 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7343 \begin_layout Plain Layout
7352 <row endfoot="true">
7353 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7356 \begin_layout Plain Layout
7362 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7365 \begin_layout Plain Layout
7371 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7374 \begin_layout Plain Layout
7382 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7385 \begin_layout Plain Layout
7393 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7396 \begin_layout Plain Layout
7402 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7405 \begin_layout Plain Layout
7413 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7416 \begin_layout Plain Layout
7424 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7427 \begin_layout Plain Layout
7433 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7436 \begin_layout Plain Layout
7444 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7447 \begin_layout Plain Layout
7455 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7458 \begin_layout Plain Layout
7464 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7467 \begin_layout Plain Layout
7475 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7478 \begin_layout Plain Layout
7486 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7489 \begin_layout Plain Layout
7495 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7498 \begin_layout Plain Layout
7506 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7509 \begin_layout Plain Layout
7517 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7520 \begin_layout Plain Layout
7526 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7529 \begin_layout Plain Layout
7537 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7540 \begin_layout Plain Layout
7548 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7551 \begin_layout Plain Layout
7557 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7560 \begin_layout Plain Layout
7568 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7571 \begin_layout Plain Layout
7579 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7582 \begin_layout Plain Layout
7588 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7591 \begin_layout Plain Layout
7599 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7602 \begin_layout Plain Layout
7610 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7613 \begin_layout Plain Layout
7619 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7622 \begin_layout Plain Layout
7630 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7633 \begin_layout Plain Layout
7641 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7644 \begin_layout Plain Layout
7650 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7653 \begin_layout Plain Layout
7661 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7664 \begin_layout Plain Layout
7672 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7675 \begin_layout Plain Layout
7681 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7684 \begin_layout Plain Layout
7692 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7695 \begin_layout Plain Layout
7703 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7706 \begin_layout Plain Layout
7712 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7715 \begin_layout Plain Layout
7723 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7726 \begin_layout Plain Layout
7734 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7737 \begin_layout Plain Layout
7743 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7746 \begin_layout Plain Layout
7754 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7757 \begin_layout Plain Layout
7765 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7768 \begin_layout Plain Layout
7774 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7777 \begin_layout Plain Layout
7785 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7788 \begin_layout Plain Layout
7796 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7799 \begin_layout Plain Layout
7805 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7808 \begin_layout Plain Layout
7816 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7819 \begin_layout Plain Layout
7828 \begin_layout Plain Layout
7839 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7842 \begin_layout Plain Layout
7848 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7851 \begin_layout Plain Layout
7859 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7862 \begin_layout Plain Layout
7870 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7873 \begin_layout Plain Layout
7879 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7882 \begin_layout Plain Layout
7890 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7893 \begin_layout Plain Layout
7901 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7904 \begin_layout Plain Layout
7910 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7913 \begin_layout Plain Layout
7921 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7924 \begin_layout Plain Layout
7932 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7935 \begin_layout Plain Layout
7941 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7944 \begin_layout Plain Layout
7952 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7955 \begin_layout Plain Layout
7963 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7966 \begin_layout Plain Layout
7972 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7975 \begin_layout Plain Layout
7983 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7986 \begin_layout Plain Layout
7994 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7997 \begin_layout Plain Layout
8003 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8006 \begin_layout Plain Layout
8014 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8017 \begin_layout Plain Layout
8025 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8028 \begin_layout Plain Layout
8034 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8037 \begin_layout Plain Layout
8045 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8048 \begin_layout Plain Layout
8056 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8059 \begin_layout Plain Layout
8065 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8068 \begin_layout Plain Layout
8076 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8079 \begin_layout Plain Layout
8087 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8090 \begin_layout Plain Layout
8096 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8099 \begin_layout Plain Layout
8107 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8110 \begin_layout Plain Layout
8118 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8121 \begin_layout Plain Layout
8127 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8130 \begin_layout Plain Layout
8138 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8141 \begin_layout Plain Layout
8149 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8152 \begin_layout Plain Layout
8158 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8161 \begin_layout Plain Layout
8169 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8172 \begin_layout Plain Layout
8180 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8183 \begin_layout Plain Layout
8189 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8192 \begin_layout Plain Layout
8200 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8203 \begin_layout Plain Layout
8211 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8214 \begin_layout Plain Layout
8220 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8223 \begin_layout Plain Layout
8231 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8234 \begin_layout Plain Layout
8242 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8245 \begin_layout Plain Layout
8251 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8254 \begin_layout Plain Layout
8262 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8265 \begin_layout Plain Layout
8273 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8276 \begin_layout Plain Layout
8282 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8285 \begin_layout Plain Layout
8293 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8296 \begin_layout Plain Layout
8304 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8307 \begin_layout Plain Layout
8313 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8316 \begin_layout Plain Layout
8324 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8327 \begin_layout Plain Layout
8335 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8338 \begin_layout Plain Layout
8344 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8347 \begin_layout Plain Layout
8355 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8358 \begin_layout Plain Layout
8364 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8367 \begin_layout Plain Layout
8373 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8376 \begin_layout Plain Layout
8384 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8387 \begin_layout Plain Layout
8395 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8398 \begin_layout Plain Layout
8404 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8407 \begin_layout Plain Layout
8415 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8418 \begin_layout Plain Layout
8426 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8429 \begin_layout Plain Layout
8435 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8438 \begin_layout Plain Layout
8446 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8449 \begin_layout Plain Layout
8457 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8460 \begin_layout Plain Layout
8466 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8469 \begin_layout Plain Layout
8477 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8480 \begin_layout Plain Layout
8488 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8491 \begin_layout Plain Layout
8497 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8500 \begin_layout Plain Layout
8508 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8511 \begin_layout Plain Layout
8519 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8522 \begin_layout Plain Layout
8528 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8531 \begin_layout Plain Layout
8539 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8542 \begin_layout Plain Layout
8550 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8553 \begin_layout Plain Layout
8559 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8562 \begin_layout Plain Layout
8570 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8573 \begin_layout Plain Layout
8581 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8584 \begin_layout Plain Layout
8590 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8593 \begin_layout Plain Layout
8601 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8604 \begin_layout Plain Layout
8612 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8615 \begin_layout Plain Layout
8621 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8624 \begin_layout Plain Layout
8632 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8635 \begin_layout Plain Layout
8643 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8646 \begin_layout Plain Layout
8652 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8655 \begin_layout Plain Layout
8663 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8666 \begin_layout Plain Layout
8674 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8677 \begin_layout Plain Layout
8683 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8686 \begin_layout Plain Layout
8694 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8697 \begin_layout Plain Layout
8705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8708 \begin_layout Plain Layout
8714 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8717 \begin_layout Plain Layout
8725 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8728 \begin_layout Plain Layout
8736 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8739 \begin_layout Plain Layout
8745 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8748 \begin_layout Plain Layout
8756 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8759 \begin_layout Plain Layout
8767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8770 \begin_layout Plain Layout
8776 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8779 \begin_layout Plain Layout
8787 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8790 \begin_layout Plain Layout
8798 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8801 \begin_layout Plain Layout
8807 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8810 \begin_layout Plain Layout
8818 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8821 \begin_layout Plain Layout
8829 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8832 \begin_layout Plain Layout
8838 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8841 \begin_layout Plain Layout
8849 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8852 \begin_layout Plain Layout
8860 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8863 \begin_layout Plain Layout
8869 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8872 \begin_layout Plain Layout
8880 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8883 \begin_layout Plain Layout
8891 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8894 \begin_layout Plain Layout
8900 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8903 \begin_layout Plain Layout
8911 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8914 \begin_layout Plain Layout
8922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8925 \begin_layout Plain Layout
8931 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8934 \begin_layout Plain Layout
8942 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8945 \begin_layout Plain Layout
8953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8956 \begin_layout Plain Layout
8962 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8965 \begin_layout Plain Layout
8973 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8976 \begin_layout Plain Layout
8984 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8987 \begin_layout Plain Layout
8993 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8996 \begin_layout Plain Layout
9010 \begin_layout Section
9012 \begin_inset CommandInset label
9014 name "sec:長尺表にまつわる諸点"
9021 \begin_layout Subsection
9023 \begin_inset Index idx
9026 \begin_layout Plain Layout
9027 ちょうしゃくひょう@長尺表 ! けいさん@計算
9035 \begin_layout Standard
9036 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
9037 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
9040 \begin_layout Standard
9045 setcounter{LTchunksize}{100}
9048 \begin_layout Standard
9049 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9052 \begin_layout Subsection
9054 \begin_inset Index idx
9057 \begin_layout Plain Layout
9058 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9066 \begin_layout Standard
9067 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9073 コマンドを長尺表の前にTeXコードとして書き加えてください。
9076 \begin_layout Subsection
9078 \begin_inset Index idx
9081 \begin_layout Plain Layout
9082 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9090 \begin_layout Standard
9091 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9108 コマンドの前には、現セルよりも右にある列数と同じ数の「
9112 」文字を、TeXコードで挿入してやる必要があります。この
9120 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9121 \begin_inset Newline newline
9132 コマンドの後ろには、現在列の左側にある列数と同じ数の
9137 \begin_inset CommandInset ref
9139 reference "tab:強制改頁"
9143 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9146 \begin_layout Standard
9156 \begin_inset Newline newline
9162 \begin_layout Standard
9167 」の後にTeXコードとして挿入してあります。
9170 \begin_layout Standard
9171 同一行3列目の「111」は削除してあります。
9177 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9178 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9181 \begin_layout Standard
9189 \begin_inset Newline newline
9197 \begin_layout Standard
9201 \begin_layout Standard
9202 改頁をしたいセルが最右列にある場合には、
9205 \begin_layout Standard
9215 \begin_layout Standard
9216 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9220 \begin_layout Standard
9222 \begin_inset Tabular
9223 <lyxtabular version="3" rows="38" columns="3">
9224 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9225 <column alignment="left" valignment="top" width="0cm">
9226 <column alignment="left" valignment="top" width="3cm">
9227 <column alignment="center" valignment="top" width="0pt">
9228 <row caption="true">
9229 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9232 \begin_layout Plain Layout
9233 \begin_inset Caption
9235 \begin_layout Plain Layout
9237 \begin_inset CommandInset label
9244 \begin_inset Argument
9247 \begin_layout Plain Layout
9263 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9266 \begin_layout Plain Layout
9272 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9275 \begin_layout Plain Layout
9282 <row endfirsthead="true">
9283 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9286 \begin_layout Plain Layout
9294 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9297 \begin_layout Plain Layout
9303 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9306 \begin_layout Plain Layout
9313 <row endfirsthead="true">
9314 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9317 \begin_layout Plain Layout
9325 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9328 \begin_layout Plain Layout
9334 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9337 \begin_layout Plain Layout
9346 <row endhead="true">
9347 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9350 \begin_layout Plain Layout
9354 \begin_layout Plain Layout
9372 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9375 \begin_layout Plain Layout
9381 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9384 \begin_layout Plain Layout
9391 <row endhead="true">
9392 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9395 \begin_layout Plain Layout
9401 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9404 \begin_layout Plain Layout
9410 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9413 \begin_layout Plain Layout
9420 <row endhead="true">
9421 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9424 \begin_layout Plain Layout
9432 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9435 \begin_layout Plain Layout
9441 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9444 \begin_layout Plain Layout
9453 <row endfoot="true">
9454 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9457 \begin_layout Plain Layout
9463 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9466 \begin_layout Plain Layout
9472 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9475 \begin_layout Plain Layout
9483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9486 \begin_layout Plain Layout
9494 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9497 \begin_layout Plain Layout
9503 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9506 \begin_layout Plain Layout
9514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9517 \begin_layout Plain Layout
9525 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9528 \begin_layout Plain Layout
9534 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9537 \begin_layout Plain Layout
9545 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9548 \begin_layout Plain Layout
9556 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9559 \begin_layout Plain Layout
9565 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9568 \begin_layout Plain Layout
9576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9579 \begin_layout Plain Layout
9587 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9590 \begin_layout Plain Layout
9596 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9599 \begin_layout Plain Layout
9607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9610 \begin_layout Plain Layout
9618 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9621 \begin_layout Plain Layout
9627 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9630 \begin_layout Plain Layout
9638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9641 \begin_layout Plain Layout
9649 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9652 \begin_layout Plain Layout
9658 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9661 \begin_layout Plain Layout
9669 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9672 \begin_layout Plain Layout
9680 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9683 \begin_layout Plain Layout
9689 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9692 \begin_layout Plain Layout
9700 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9703 \begin_layout Plain Layout
9711 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9714 \begin_layout Plain Layout
9720 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9723 \begin_layout Plain Layout
9731 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9734 \begin_layout Plain Layout
9742 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9745 \begin_layout Plain Layout
9751 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9754 \begin_layout Plain Layout
9762 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9765 \begin_layout Plain Layout
9773 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9776 \begin_layout Plain Layout
9782 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9785 \begin_layout Plain Layout
9793 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9796 \begin_layout Plain Layout
9804 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9807 \begin_layout Plain Layout
9813 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9816 \begin_layout Plain Layout
9824 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9827 \begin_layout Plain Layout
9835 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9838 \begin_layout Plain Layout
9844 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9847 \begin_layout Plain Layout
9855 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9858 \begin_layout Plain Layout
9866 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9869 \begin_layout Plain Layout
9875 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9878 \begin_layout Plain Layout
9886 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9889 \begin_layout Plain Layout
9897 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9900 \begin_layout Plain Layout
9906 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9909 \begin_layout Plain Layout
9917 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9920 \begin_layout Plain Layout
9928 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9931 \begin_layout Plain Layout
9937 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9940 \begin_layout Plain Layout
9948 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9951 \begin_layout Plain Layout
9959 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9962 \begin_layout Plain Layout
9968 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9971 \begin_layout Plain Layout
9979 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9982 \begin_layout Plain Layout
9990 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9993 \begin_layout Plain Layout
9999 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10002 \begin_layout Plain Layout
10010 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10013 \begin_layout Plain Layout
10021 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10024 \begin_layout Plain Layout
10030 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10033 \begin_layout Plain Layout
10041 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10044 \begin_layout Plain Layout
10052 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10055 \begin_layout Plain Layout
10061 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10064 \begin_layout Plain Layout
10072 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10075 \begin_layout Plain Layout
10083 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10086 \begin_layout Plain Layout
10092 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10095 \begin_layout Plain Layout
10103 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10106 \begin_layout Plain Layout
10114 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10117 \begin_layout Plain Layout
10123 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10126 \begin_layout Plain Layout
10134 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10137 \begin_layout Plain Layout
10145 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10148 \begin_layout Plain Layout
10154 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10157 \begin_layout Plain Layout
10165 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10168 \begin_layout Plain Layout
10176 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10179 \begin_layout Plain Layout
10181 Fürst von Montecompatri, 11.
10182 Fürst von Sulmona und Vivaro, 10.
10183 Fürst von Rossano, 5.
10184 Herzog von Canemorte, 11.
10185 Herzog von Palombara, 5.
10186 Herzog von Castelchiodato,
10190 \begin_layout Plain Layout
10201 \begin_layout Plain Layout
10209 Herzog von Poggionativo, 11.
10210 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10211 Graf von Valinfreda, 11.
10212 Baron von Cropalati, 11.
10213 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10218 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10221 \begin_layout Plain Layout
10229 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10232 \begin_layout Plain Layout
10240 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10243 \begin_layout Plain Layout
10249 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10252 \begin_layout Plain Layout
10260 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10263 \begin_layout Plain Layout
10271 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10274 \begin_layout Plain Layout
10280 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10283 \begin_layout Plain Layout
10291 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10294 \begin_layout Plain Layout
10302 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10305 \begin_layout Plain Layout
10311 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10314 \begin_layout Plain Layout
10322 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10325 \begin_layout Plain Layout
10333 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10336 \begin_layout Plain Layout
10342 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10345 \begin_layout Plain Layout
10353 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10356 \begin_layout Plain Layout
10364 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10367 \begin_layout Plain Layout
10373 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10376 \begin_layout Plain Layout
10384 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10387 \begin_layout Plain Layout
10395 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10398 \begin_layout Plain Layout
10404 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10407 \begin_layout Plain Layout
10415 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10418 \begin_layout Plain Layout
10426 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10429 \begin_layout Plain Layout
10435 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10438 \begin_layout Plain Layout
10446 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10449 \begin_layout Plain Layout
10457 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10460 \begin_layout Plain Layout
10466 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10469 \begin_layout Plain Layout
10483 \begin_layout Section
10487 \begin_layout Subsection
10489 \begin_inset CommandInset label
10496 \begin_inset Index idx
10499 \begin_layout Plain Layout
10500 ひょうせるないのふくすうぎょう@表セル内の複数行
10506 \begin_inset Index idx
10509 \begin_layout Plain Layout
10518 \begin_layout Standard
10520 \begin_inset Float table
10526 \begin_layout Plain Layout
10527 \begin_inset Caption
10529 \begin_layout Plain Layout
10530 \begin_inset CommandInset label
10544 \begin_layout Plain Layout
10546 \begin_inset Tabular
10547 <lyxtabular version="3" rows="3" columns="3">
10548 <features tabularvalignment="middle">
10549 <column alignment="center" valignment="middle" width="2.5cm">
10550 <column alignment="center" valignment="middle" width="0">
10551 <column alignment="center" valignment="middle" width="0">
10553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10556 \begin_layout Plain Layout
10558 \begin_inset Newline linebreak
10566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10569 \begin_layout Plain Layout
10575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10578 \begin_layout Plain Layout
10586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10589 \begin_layout Plain Layout
10595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10598 \begin_layout Plain Layout
10604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10607 \begin_layout Plain Layout
10615 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10618 \begin_layout Plain Layout
10624 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10627 \begin_layout Plain Layout
10633 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10636 \begin_layout Plain Layout
10655 \begin_layout Standard
10656 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10659 \begin_layout Standard
10661 \begin_inset CommandInset ref
10663 reference "tab:複数行表"
10667 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10671 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10672 \begin_inset space \thinspace{}
10675 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10676 \begin_inset space \thinspace{}
10679 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10682 arg "newline-insert linebreak"
10685 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10688 \begin_layout Standard
10689 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10690 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10691 \begin_inset space \thinspace{}
10694 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10695 \begin_inset CommandInset ref
10697 reference "tab:ハイフネーション表"
10705 \begin_layout Plain Layout
10710 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10718 \begin_layout Standard
10719 \begin_inset Float table
10725 \begin_layout Plain Layout
10726 \begin_inset Caption
10728 \begin_layout Plain Layout
10729 \begin_inset CommandInset label
10731 name "tab:ハイフネーション表"
10743 \begin_layout Plain Layout
10744 \begin_inset space \hfill{}
10748 \begin_inset Tabular
10749 <lyxtabular version="3" rows="3" columns="3">
10750 <features tabularvalignment="middle">
10751 <column alignment="center" valignment="middle" width="2.5cm">
10752 <column alignment="center" valignment="middle" width="0">
10753 <column alignment="center" valignment="middle" width="0">
10755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10758 \begin_layout Plain Layout
10759 verylongtablecellword
10764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10767 \begin_layout Plain Layout
10773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10776 \begin_layout Plain Layout
10784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10787 \begin_layout Plain Layout
10793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10796 \begin_layout Plain Layout
10802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10805 \begin_layout Plain Layout
10813 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10816 \begin_layout Plain Layout
10822 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10825 \begin_layout Plain Layout
10831 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10834 \begin_layout Plain Layout
10846 \begin_inset space \hfill{}
10850 \begin_inset Tabular
10851 <lyxtabular version="3" rows="3" columns="3">
10852 <features tabularvalignment="middle">
10853 <column alignment="center" valignment="middle" width="2.5cm">
10854 <column alignment="center" valignment="middle" width="0">
10855 <column alignment="center" valignment="middle" width="0">
10857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10860 \begin_layout Plain Layout
10861 \begin_inset space \hspace{}
10865 verylongtablecellword
10870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10873 \begin_layout Plain Layout
10879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10882 \begin_layout Plain Layout
10890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10893 \begin_layout Plain Layout
10899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10902 \begin_layout Plain Layout
10908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10911 \begin_layout Plain Layout
10919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10922 \begin_layout Plain Layout
10928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10931 \begin_layout Plain Layout
10937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10940 \begin_layout Plain Layout
10952 \begin_inset space \hfill{}
10963 \begin_layout Subsection
10965 \begin_inset CommandInset label
10972 \begin_inset Index idx
10975 \begin_layout Plain Layout
10982 \begin_inset Index idx
10985 \begin_layout Plain Layout
10994 \begin_layout Subsubsection
10998 \begin_layout Standard
10999 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
11000 \begin_inset Graphics
11001 filename ../../images/tabular-feature_multicolumn.png
11003 scaleBeforeRotation
11009 編集\SpecialChar \menuseparator
11010 表\SpecialChar \menuseparator
11013 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
11020 \begin_layout Standard
11021 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
11022 、最下行に上罫線のない連結行がある表の例です。
11025 \begin_layout Standard
11027 \begin_inset Tabular
11028 <lyxtabular version="3" rows="3" columns="4">
11029 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11030 <column alignment="center" valignment="top" width="0pt">
11031 <column alignment="center" valignment="middle" width="0">
11032 <column alignment="center" valignment="top" width="0in">
11033 <column alignment="center" valignment="top" width="0pt">
11035 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11038 \begin_layout Plain Layout
11044 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11047 \begin_layout Plain Layout
11053 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11056 \begin_layout Plain Layout
11062 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11065 \begin_layout Plain Layout
11073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11076 \begin_layout Plain Layout
11082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11085 \begin_layout Plain Layout
11091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11094 \begin_layout Plain Layout
11100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11103 \begin_layout Plain Layout
11111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11114 \begin_layout Plain Layout
11120 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11123 \begin_layout Plain Layout
11129 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11132 \begin_layout Plain Layout
11138 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11141 \begin_layout Plain Layout
11155 \begin_layout Subsubsection
11157 \begin_inset CommandInset label
11164 \begin_inset Index idx
11167 \begin_layout Plain Layout
11168 れんけつれつ@連結列 ! けいさん@計算
11176 \begin_layout Standard
11177 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11180 \begin_layout Standard
11181 \begin_inset Float table
11187 \begin_layout Plain Layout
11188 \begin_inset Caption
11190 \begin_layout Plain Layout
11191 \begin_inset CommandInset label
11197 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11198 \begin_inset Argument
11201 \begin_layout Plain Layout
11215 \begin_layout Plain Layout
11217 \begin_inset Tabular
11218 <lyxtabular version="3" rows="3" columns="3">
11219 <features tabularvalignment="middle">
11220 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11221 <column alignment="center" valignment="middle" width="0">
11222 <column alignment="center" valignment="top" width="0">
11224 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11227 \begin_layout Plain Layout
11233 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11236 \begin_layout Plain Layout
11242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11245 \begin_layout Plain Layout
11253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11256 \begin_layout Plain Layout
11262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11265 \begin_layout Plain Layout
11271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11274 \begin_layout Plain Layout
11282 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11285 \begin_layout Plain Layout
11291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11294 \begin_layout Plain Layout
11300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11303 \begin_layout Plain Layout
11322 \begin_layout Standard
11324 \begin_inset CommandInset ref
11326 reference "tab:中央揃え表"
11330 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11334 を選択します。そして現れる表の設定ダイアログで、このセルを
11343 \begin_inset space \thinspace{}
11346 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11347 \begin_inset space \thinspace{}
11350 cm幅に設定します。すると第二列は自動的に1.25
11351 \begin_inset space \thinspace{}
11354 cm幅(連結列幅マイナス第一列の幅)になります。表
11355 \begin_inset CommandInset ref
11357 reference "tab:半分でない表"
11364 \begin_layout Standard
11365 \begin_inset Float table
11370 \begin_layout Plain Layout
11371 \begin_inset Caption
11373 \begin_layout Plain Layout
11374 \begin_inset CommandInset label
11380 連結セルの下の列が正確に半分になっていない表
11381 \begin_inset Argument
11384 \begin_layout Plain Layout
11398 \begin_layout Plain Layout
11400 \begin_inset Tabular
11401 <lyxtabular version="3" rows="3" columns="3">
11402 <features tabularvalignment="middle">
11403 <column alignment="center" valignment="top" width="1.25cm">
11404 <column alignment="center" valignment="top" width="0">
11405 <column alignment="center" valignment="top" width="0">
11407 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11410 \begin_layout Plain Layout
11416 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11419 \begin_layout Plain Layout
11425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11428 \begin_layout Plain Layout
11436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11439 \begin_layout Plain Layout
11445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11448 \begin_layout Plain Layout
11454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11457 \begin_layout Plain Layout
11465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11468 \begin_layout Plain Layout
11474 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11477 \begin_layout Plain Layout
11483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11486 \begin_layout Plain Layout
11505 \begin_layout Standard
11506 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11508 \begin_inset Formula $W_{\mbox{指}}$
11512 \begin_inset Formula $W_{\text{全}}$
11516 \begin_inset CommandInset ref
11518 reference "cha:式の説明"
11525 \begin_layout Standard
11531 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11535 \begin_inset Formula $W_{\mbox{指}:n}$
11539 \begin_inset Formula \begin{equation}
11540 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11548 \begin_layout Standard
11549 で計算することができます。上記の例では
11550 \begin_inset Formula $n=2$
11554 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11558 \begin_inset CommandInset ref
11565 \begin_inset Formula \begin{equation}
11566 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11574 \begin_layout Standard
11575 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11578 \begin_layout Standard
11586 \begin_layout Standard
11592 \begin_inset Index idx
11595 \begin_layout Plain Layout
11596 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11601 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11602 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11605 \begin_layout Itemize
11610 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11613 \begin_layout Itemize
11618 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11621 \begin_layout Itemize
11626 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11629 \begin_layout Standard
11630 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11633 \begin_layout Standard
11634 \begin_inset Note Greyedout
11637 \begin_layout Plain Layout
11642 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11650 \begin_layout Standard
11657 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11660 \begin_layout Standard
11665 centering}m{1.25cm-6.2pt}
11668 \begin_layout Standard
11673 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11676 \begin_layout Standard
11677 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11681 \begin_layout Standard
11689 \begin_layout Standard
11690 というLaTeX変数を指定しなくてはなりません。
11693 \begin_layout Subsection
11695 \begin_inset CommandInset label
11702 \begin_inset Index idx
11705 \begin_layout Plain Layout
11712 \begin_inset Index idx
11715 \begin_layout Plain Layout
11716 ひょう@表 ! れんけつぎょう@連結行
11724 \begin_layout Standard
11727 To merge cells over multiple rows, select as many cells within a column
11728 as you want to merge and use either the table-toolbar button
11731 \begin_inset Graphics
11732 filename ../../images/tabular-feature_multirow.png
11734 scaleBeforeRotation
11742 Edit\SpecialChar \menuseparator
11743 Table\SpecialChar \menuseparator
11746 , or right click on the marked cells and choose
11750 in the context menu.
11753 \begin_layout Standard
11756 Here is an example table with a multirow in the first column:
11759 \begin_layout Standard
11763 \begin_inset Tabular
11764 <lyxtabular version="3" rows="3" columns="3">
11765 <features tabularvalignment="middle">
11766 <column alignment="center" valignment="top" width="0pt">
11767 <column alignment="center" valignment="top" width="0">
11768 <column alignment="center" valignment="top" width="0">
11770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11773 \begin_layout Plain Layout
11781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11784 \begin_layout Plain Layout
11792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11795 \begin_layout Plain Layout
11805 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11808 \begin_layout Plain Layout
11816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11819 \begin_layout Plain Layout
11827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11830 \begin_layout Plain Layout
11840 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11843 \begin_layout Plain Layout
11849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11852 \begin_layout Plain Layout
11860 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11863 \begin_layout Plain Layout
11879 \begin_layout Standard
11882 The width of multirow cells is set by setting the width and alignment for
11888 shifts the content of the multirow up/down if the offset is positive/negative.
11891 \begin_layout Standard
11894 If the column of a multirow cell has no explicit width, the multirow cell
11895 inherits the alignment of the column.
11896 Otherwise it is by default left-aligned.
11897 To override the default, renew the command
11906 \begin_layout Standard
11918 \begin_layout Standard
11925 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11926 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11947 \begin_layout Standard
11950 This is an example table with a right-aligned multirow cell that has a vertical
11952 \begin_inset space \thinspace{}
11956 \begin_inset space \thinspace{}
11962 \begin_layout Standard
11968 \begin_layout Plain Layout
11982 \begin_inset Tabular
11983 <lyxtabular version="3" rows="4" columns="3">
11984 <features tabularvalignment="middle">
11985 <column alignment="center" valignment="top" width="3cm">
11986 <column alignment="center" valignment="top" width="0">
11987 <column alignment="center" valignment="top" width="0">
11989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11992 \begin_layout Plain Layout
11998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12001 \begin_layout Plain Layout
12007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12010 \begin_layout Plain Layout
12018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12021 \begin_layout Plain Layout
12027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12030 \begin_layout Plain Layout
12036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12039 \begin_layout Plain Layout
12047 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12050 \begin_layout Plain Layout
12056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12059 \begin_layout Plain Layout
12065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12068 \begin_layout Plain Layout
12076 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12079 \begin_layout Plain Layout
12085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12088 \begin_layout Plain Layout
12094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12097 \begin_layout Plain Layout
12112 \begin_layout Plain Layout
12128 \begin_layout Section
12130 \begin_inset CommandInset label
12132 name "sec:フォーマル形式の表"
12137 \begin_inset Index idx
12140 \begin_layout Plain Layout
12141 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
12149 \begin_layout Standard
12151 \begin_inset CommandInset ref
12153 reference "tab:ブックタブ表の例"
12157 のように組版されます。この種の表は、「
12161 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
12164 \begin_layout Standard
12165 \begin_inset Float table
12171 \begin_layout Plain Layout
12172 \begin_inset Caption
12174 \begin_layout Plain Layout
12175 \begin_inset CommandInset label
12177 name "tab:ブックタブ表の例"
12189 \begin_layout Plain Layout
12191 \begin_inset Tabular
12192 <lyxtabular version="3" rows="8" columns="4">
12193 <features booktabs="true" tabularvalignment="middle">
12194 <column alignment="center" valignment="top" width="0">
12195 <column alignment="center" valignment="top" width="0">
12196 <column alignment="center" valignment="top" width="0">
12197 <column alignment="center" valignment="top" width="0">
12199 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12202 \begin_layout Plain Layout
12208 <cell alignment="center" valignment="top" topline="true" usebox="none">
12211 \begin_layout Plain Layout
12213 \begin_inset space \thinspace{}
12221 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12224 \begin_layout Plain Layout
12226 \begin_inset space \thinspace{}
12234 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12237 \begin_layout Plain Layout
12245 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12248 \begin_layout Plain Layout
12252 \begin_layout Plain Layout
12265 \begin_layout Plain Layout
12279 <cell alignment="center" valignment="top" usebox="none">
12282 \begin_layout Plain Layout
12288 <cell alignment="center" valignment="top" usebox="none">
12291 \begin_layout Plain Layout
12297 <cell alignment="center" valignment="top" usebox="none">
12300 \begin_layout Plain Layout
12308 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12311 \begin_layout Plain Layout
12317 <cell alignment="center" valignment="top" topline="true" usebox="none">
12320 \begin_layout Plain Layout
12326 <cell alignment="center" valignment="top" topline="true" usebox="none">
12329 \begin_layout Plain Layout
12335 <cell alignment="center" valignment="top" topline="true" usebox="none">
12338 \begin_layout Plain Layout
12345 <row topspace="default">
12346 <cell alignment="center" valignment="top" rightline="true" 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
12373 <cell alignment="center" valignment="top" usebox="none">
12376 \begin_layout Plain Layout
12383 <row topspace="default">
12384 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12387 \begin_layout Plain Layout
12388 \begin_inset Formula $f_{\mathrm{max}}$
12396 <cell alignment="center" valignment="top" usebox="none">
12399 \begin_layout Plain Layout
12405 <cell alignment="center" valignment="top" usebox="none">
12408 \begin_layout Plain Layout
12414 <cell alignment="center" valignment="top" usebox="none">
12417 \begin_layout Plain Layout
12424 <row topspace="default">
12425 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12428 \begin_layout Plain Layout
12432 \begin_layout Plain Layout
12436 cmidrule(l{10pt}){1-1}
12446 <cell alignment="center" valignment="top" usebox="none">
12449 \begin_layout Plain Layout
12455 <cell alignment="center" valignment="top" usebox="none">
12458 \begin_layout Plain Layout
12464 <cell alignment="center" valignment="top" usebox="none">
12467 \begin_layout Plain Layout
12475 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12478 \begin_layout Plain Layout
12484 <cell alignment="center" valignment="top" usebox="none">
12487 \begin_layout Plain Layout
12493 <cell alignment="center" valignment="top" usebox="none">
12496 \begin_layout Plain Layout
12502 <cell alignment="center" valignment="top" usebox="none">
12505 \begin_layout Plain Layout
12513 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12516 \begin_layout Plain Layout
12522 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12525 \begin_layout Plain Layout
12531 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12534 \begin_layout Plain Layout
12540 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12543 \begin_layout Plain Layout
12562 \begin_layout Standard
12564 \begin_inset CommandInset ref
12566 reference "sub:行の余白取り"
12570 節に述べられているように、表の設定ダイアログの
12577 \begin_layout Standard
12578 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
12579 \begin_inset Newline newline
12583 \begin_inset space \thinspace{}
12586 emですが、他の罫線の既定幅は0.05
12587 \begin_inset space \thinspace{}
12593 \begin_layout Standard
12594 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
12597 \begin_layout Standard
12607 \begin_inset Newline newline
12619 \begin_layout Standard
12624 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
12632 に置き換えて下さい。他の罫線の線幅を変更するには、
12640 に置き換えます。線幅を設定する上では、付録
12641 \begin_inset CommandInset ref
12643 reference "cha:LyXで使用できる単位"
12647 に挙げてあるすべての単位を使用することができます。
12650 \begin_layout Standard
12651 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
12657 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
12660 \begin_layout Standard
12665 cmidrule[幅](刈込){開始列-終了列}
12668 \begin_layout Standard
12675 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
12681 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
12685 \begin_layout Standard
12687 \begin_inset space \thinspace{}
12690 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
12699 の値を取り、刈込幅の指定は非必須です。たとえば、
12703 というパラメーターを使うと、罫線が左端から2
12704 \begin_inset space \thinspace{}
12707 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
12708 \begin_inset space \thinspace{}
12714 \begin_layout Standard
12715 \begin_inset VSpace bigskip
12719 \begin_inset CommandInset ref
12721 reference "tab:ブックタブ表の例"
12728 \begin_layout Standard
12738 \begin_layout Standard
12739 というコマンドを第二行の初めに使用し、
12742 \begin_layout Standard
12747 cmidrule(l{10pt}){1-1}
12750 \begin_layout Standard
12754 \begin_layout Standard
12755 \begin_inset VSpace bigskip
12761 \begin_layout Standard
12763 \begin_inset CommandInset ref
12765 reference "tab:特殊なブックタブ表"
12775 が欲しいことがあるかもしれません。これは、TeXコードで
12778 \begin_layout Standard
12786 \begin_layout Standard
12787 コマンドを使用することによって実現することができます。表
12788 \begin_inset CommandInset ref
12790 reference "tab:特殊なブックタブ表"
12797 \begin_layout Standard
12811 \begin_layout Standard
12812 というコマンドが使用されており、第六列には
12815 \begin_layout Standard
12827 \begin_layout Standard
12831 \begin_layout Standard
12832 \begin_inset VSpace bigskip
12838 \begin_layout Standard
12839 罫線の余白取りにどうしても満足が行かない場合には、
12842 \begin_layout Standard
12847 specialrule{幅}{上余白}{下余白}
12850 \begin_layout Standard
12851 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
12856 \begin_inset CommandInset citation
12863 \begin_inset Index idx
12866 \begin_layout Plain Layout
12867 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
12875 \begin_layout Standard
12876 \begin_inset Float table
12882 \begin_layout Plain Layout
12883 \begin_inset Caption
12885 \begin_layout Plain Layout
12886 \begin_inset CommandInset label
12888 name "tab:特殊なブックタブ表"
12900 \begin_layout Plain Layout
12902 \begin_inset Tabular
12903 <lyxtabular version="3" rows="8" columns="4">
12904 <features booktabs="true" tabularvalignment="middle">
12905 <column alignment="center" valignment="top" width="0">
12906 <column alignment="center" valignment="top" width="0">
12907 <column alignment="center" valignment="top" width="0">
12908 <column alignment="center" valignment="top" width="0">
12910 <cell alignment="center" valignment="top" topline="true" usebox="none">
12913 \begin_layout Plain Layout
12919 <cell alignment="center" valignment="top" topline="true" usebox="none">
12922 \begin_layout Plain Layout
12924 \begin_inset space \thinspace{}
12932 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12935 \begin_layout Plain Layout
12937 \begin_inset space \thinspace{}
12945 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12948 \begin_layout Plain Layout
12956 <cell alignment="center" valignment="top" usebox="none">
12959 \begin_layout Plain Layout
12963 \begin_layout Plain Layout
12976 \begin_layout Plain Layout
12989 \begin_layout Plain Layout
13002 \begin_layout Plain Layout
13016 <cell alignment="center" valignment="top" usebox="none">
13019 \begin_layout Plain Layout
13025 <cell alignment="center" valignment="top" usebox="none">
13028 \begin_layout Plain Layout
13034 <cell alignment="center" valignment="top" usebox="none">
13037 \begin_layout Plain Layout
13045 <cell alignment="center" valignment="top" topline="true" usebox="none">
13048 \begin_layout Plain Layout
13054 <cell alignment="center" valignment="top" topline="true" usebox="none">
13057 \begin_layout Plain Layout
13063 <cell alignment="center" valignment="top" topline="true" usebox="none">
13066 \begin_layout Plain Layout
13072 <cell alignment="center" valignment="top" topline="true" usebox="none">
13075 \begin_layout Plain Layout
13082 <row topspace="default">
13083 <cell alignment="center" valignment="top" usebox="none">
13086 \begin_layout Plain Layout
13092 <cell alignment="center" valignment="top" usebox="none">
13095 \begin_layout Plain Layout
13101 <cell alignment="center" valignment="top" usebox="none">
13104 \begin_layout Plain Layout
13110 <cell alignment="center" valignment="top" usebox="none">
13113 \begin_layout Plain Layout
13120 <row topspace="default">
13121 <cell alignment="center" valignment="top" usebox="none">
13124 \begin_layout Plain Layout
13125 \begin_inset Formula $f_{\mathrm{max}}$
13133 <cell alignment="center" valignment="top" usebox="none">
13136 \begin_layout Plain Layout
13142 <cell alignment="center" valignment="top" usebox="none">
13145 \begin_layout Plain Layout
13151 <cell alignment="center" valignment="top" usebox="none">
13154 \begin_layout Plain Layout
13162 <cell alignment="center" valignment="top" topline="true" usebox="none">
13165 \begin_layout Plain Layout
13169 \begin_layout Plain Layout
13182 \begin_layout Plain Layout
13196 <cell alignment="center" valignment="top" topline="true" usebox="none">
13199 \begin_layout Plain Layout
13205 <cell alignment="center" valignment="top" topline="true" usebox="none">
13208 \begin_layout Plain Layout
13214 <cell alignment="center" valignment="top" topline="true" usebox="none">
13217 \begin_layout Plain Layout
13225 <cell alignment="center" valignment="top" usebox="none">
13228 \begin_layout Plain Layout
13234 <cell alignment="center" valignment="top" usebox="none">
13237 \begin_layout Plain Layout
13243 <cell alignment="center" valignment="top" usebox="none">
13246 \begin_layout Plain Layout
13252 <cell alignment="center" valignment="top" usebox="none">
13255 \begin_layout Plain Layout
13263 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13266 \begin_layout Plain Layout
13272 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13275 \begin_layout Plain Layout
13281 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13284 \begin_layout Plain Layout
13290 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13293 \begin_layout Plain Layout
13312 \begin_layout Section
13314 \begin_inset Index idx
13317 \begin_layout Plain Layout
13326 \begin_layout Standard
13327 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
13328 \begin_inset CommandInset ref
13330 reference "sec:ボックスダイアログ"
13334 節に述べられているように、ボックスの垂直揃えを行います。
13337 \begin_layout Standard
13339 \begin_inset space \thinspace{}
13346 \begin_layout Plain Layout
13348 \begin_inset CommandInset ref
13350 reference "sec:ミニページ"
13362 \begin_layout Itemize
13364 \begin_inset Box Frameless
13374 height_special "totalheight"
13377 \begin_layout Plain Layout
13378 \begin_inset Tabular
13379 <lyxtabular version="3" rows="3" columns="3">
13380 <features tabularvalignment="middle">
13381 <column alignment="center" valignment="top" width="0">
13382 <column alignment="center" valignment="top" width="0">
13383 <column alignment="center" valignment="top" width="0">
13385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13388 \begin_layout Plain Layout
13394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13397 \begin_layout Plain Layout
13403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13406 \begin_layout Plain Layout
13414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13417 \begin_layout Plain Layout
13423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13426 \begin_layout Plain Layout
13432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13435 \begin_layout Plain Layout
13443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13446 \begin_layout Plain Layout
13452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13455 \begin_layout Plain Layout
13461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13464 \begin_layout Plain Layout
13484 \begin_layout Plain Layout
13496 \begin_inset Box Frameless
13506 height_special "totalheight"
13509 \begin_layout Plain Layout
13510 \begin_inset Tabular
13511 <lyxtabular version="3" rows="3" columns="3">
13512 <features tabularvalignment="middle">
13513 <column alignment="center" valignment="top" width="0">
13514 <column alignment="center" valignment="top" width="0">
13515 <column alignment="center" valignment="top" width="0">
13517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13520 \begin_layout Plain Layout
13526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13529 \begin_layout Plain Layout
13535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13538 \begin_layout Plain Layout
13546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13549 \begin_layout Plain Layout
13555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13558 \begin_layout Plain Layout
13564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13567 \begin_layout Plain Layout
13575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13578 \begin_layout Plain Layout
13584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13587 \begin_layout Plain Layout
13593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13596 \begin_layout Plain Layout
13616 \begin_layout Plain Layout
13626 \begin_layout Itemize
13628 \begin_inset Box Frameless
13638 height_special "totalheight"
13641 \begin_layout Plain Layout
13642 \begin_inset Tabular
13643 <lyxtabular version="3" rows="3" columns="3">
13644 <features tabularvalignment="middle">
13645 <column alignment="center" valignment="top" width="0">
13646 <column alignment="center" valignment="top" width="0">
13647 <column alignment="center" valignment="top" width="0">
13649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13652 \begin_layout Plain Layout
13658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13661 \begin_layout Plain Layout
13667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13670 \begin_layout Plain Layout
13678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13681 \begin_layout Plain Layout
13687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13690 \begin_layout Plain Layout
13696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13699 \begin_layout Plain Layout
13707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13710 \begin_layout Plain Layout
13716 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13719 \begin_layout Plain Layout
13725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13728 \begin_layout Plain Layout
13747 \begin_layout Itemize
13749 \begin_inset Box Frameless
13759 height_special "totalheight"
13762 \begin_layout Plain Layout
13763 \begin_inset Tabular
13764 <lyxtabular version="3" rows="3" columns="3">
13765 <features tabularvalignment="middle">
13766 <column alignment="center" valignment="top" width="0">
13767 <column alignment="center" valignment="top" width="0">
13768 <column alignment="center" valignment="top" width="0">
13770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13773 \begin_layout Plain Layout
13779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13782 \begin_layout Plain Layout
13788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13791 \begin_layout Plain Layout
13799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13802 \begin_layout Plain Layout
13808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13811 \begin_layout Plain Layout
13817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13820 \begin_layout Plain Layout
13828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13831 \begin_layout Plain Layout
13837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13840 \begin_layout Plain Layout
13846 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13849 \begin_layout Plain Layout
13869 \begin_layout Plain Layout
13881 \begin_inset Box Frameless
13891 height_special "totalheight"
13894 \begin_layout Plain Layout
13895 \begin_inset Tabular
13896 <lyxtabular version="3" rows="3" columns="3">
13897 <features tabularvalignment="middle">
13898 <column alignment="center" valignment="top" width="0">
13899 <column alignment="center" valignment="top" width="0">
13900 <column alignment="center" valignment="top" width="0">
13902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13905 \begin_layout Plain Layout
13911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13914 \begin_layout Plain Layout
13920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13923 \begin_layout Plain Layout
13931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13934 \begin_layout Plain Layout
13940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13943 \begin_layout Plain Layout
13949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13952 \begin_layout Plain Layout
13960 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13963 \begin_layout Plain Layout
13969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13972 \begin_layout Plain Layout
13978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13981 \begin_layout Plain Layout
14001 \begin_layout Plain Layout
14011 \begin_layout Standard
14012 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
14016 \begin_layout Plain Layout
14018 \begin_inset CommandInset ref
14020 reference "sub:垂直揃え"
14029 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
14032 \begin_layout Standard
14042 \begin_layout Standard
14043 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
14047 をTeXコードとして挿入してあります。最後の項目の第二表には、
14050 \begin_layout Standard
14060 \begin_layout Standard
14064 \begin_layout Standard
14065 \begin_inset Note Greyedout
14068 \begin_layout Plain Layout
14073 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
14079 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
14087 \begin_layout Section
14089 \begin_inset CommandInset label
14096 \begin_inset Index idx
14099 \begin_layout Plain Layout
14108 \begin_layout Subsection
14110 \begin_inset Index idx
14113 \begin_layout Plain Layout
14114 ひょうのいろ@表の色 ! せるぶ@セル部
14120 \begin_inset Index idx
14123 \begin_layout Plain Layout
14124 いろつき@色付き ! ひょうせるぶ@表セル部
14132 \begin_layout Standard
14133 \begin_inset Float table
14139 \begin_layout Plain Layout
14140 \begin_inset Caption
14142 \begin_layout Plain Layout
14143 \begin_inset CommandInset label
14145 name "tab:colortblなしの表"
14154 \begin_inset Argument
14157 \begin_layout Plain Layout
14171 \begin_layout Plain Layout
14173 \begin_inset Tabular
14174 <lyxtabular version="3" rows="3" columns="3">
14175 <features tabularvalignment="middle">
14176 <column alignment="center" valignment="top" width="0">
14177 <column alignment="center" valignment="top" width="0">
14178 <column alignment="center" valignment="top" width="0">
14180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14183 \begin_layout Plain Layout
14191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14194 \begin_layout Plain Layout
14202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14205 \begin_layout Plain Layout
14215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14218 \begin_layout Plain Layout
14226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14229 \begin_layout Plain Layout
14237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14240 \begin_layout Plain Layout
14250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14253 \begin_layout Plain Layout
14261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14264 \begin_layout Plain Layout
14272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14275 \begin_layout Plain Layout
14296 \begin_layout Standard
14297 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
14299 編集\SpecialChar \menuseparator
14303 \begin_inset CommandInset ref
14305 reference "tab:colortblなしの表"
14309 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
14314 \begin_inset Index idx
14317 \begin_layout Plain Layout
14318 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
14326 \begin_layout Standard
14330 \begin_layout Plain Layout
14340 \begin_inset Note Note
14343 \begin_layout Plain Layout
14344 本節の以下の部分は、LaTeXパッケージ
14356 \begin_layout Standard
14357 色付きの表を作成するには、プリアンブルに
14360 \begin_layout Standard
14365 usepackage{colortbl}
14368 \begin_layout Standard
14373 を読み込まなくてはなりません。列の色は、
14380 \begin_layout Standard
14388 \begin_layout Standard
14389 というコマンドを書いて指定することができます。
14394 \begin_inset CommandInset ref
14396 reference "sub:連結列の計算"
14403 \begin_layout Standard
14404 以下の色彩名が事前に定義されています。
14407 \begin_layout Standard
14441 \begin_layout Standard
14442 \begin_inset VSpace medskip
14448 \begin_layout Standard
14452 \begin_layout Standard
14457 definecolor{色彩名}{色彩モデル}{色彩値}
14460 \begin_layout Standard
14461 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
14464 \begin_layout Labeling
14465 \labelwidthstring 00.00.0000
14485 \begin_layout Labeling
14486 \labelwidthstring 00.00.0000
14502 \begin_layout Labeling
14503 \labelwidthstring 00.00.0000
14507 \begin_layout Standard
14508 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
14511 \begin_layout Standard
14515 \begin_layout Standard
14520 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14523 \begin_layout Standard
14531 \begin_layout Standard
14536 definecolor{lightgray}{gray}{0.8}
14539 \begin_layout Standard
14547 \begin_layout Standard
14548 \begin_inset VSpace medskip
14554 \begin_layout Standard
14558 \begin_layout Standard
14566 \begin_layout Standard
14567 というコマンドを使用して色付けすることができ、セルは
14570 \begin_layout Standard
14578 \begin_layout Standard
14579 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
14582 \begin_layout Standard
14583 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
14585 編集\SpecialChar \menuseparator
14588 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
14592 \begin_layout Standard
14593 \begin_inset Note Greyedout
14596 \begin_layout Plain Layout
14597 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
14605 \begin_layout Standard
14606 \begin_inset VSpace bigskip
14612 \begin_layout Standard
14614 \begin_inset CommandInset ref
14616 reference "tab:色付き表"
14620 を作成するには、以下のようにしてください。第一列の色は
14624 にしたいので、この列のLaTeX変数として
14627 \begin_layout Standard
14632 columncolor{darkgreen}
14637 \begin_layout Standard
14638 と書き込みます。第一列は青にしたいので、この列の最初のセルに
14641 \begin_layout Standard
14649 \begin_layout Standard
14650 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最下行の最後のセルは、
14653 \begin_layout Standard
14661 \begin_layout Standard
14662 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
14664 編集\SpecialChar \menuseparator
14667 メニューを使って、各文字に色付けをすることができます。
14670 \begin_layout Standard
14671 \begin_inset Float table
14677 \begin_layout Plain Layout
14678 \begin_inset Caption
14680 \begin_layout Plain Layout
14683 \begin_inset CommandInset label
14692 \begin_inset Argument
14695 \begin_layout Plain Layout
14709 \begin_layout Plain Layout
14711 \begin_inset Tabular
14712 <lyxtabular version="3" rows="3" columns="3">
14713 <features tabularvalignment="middle">
14714 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14715 <column alignment="center" valignment="top" width="0">
14716 <column alignment="center" valignment="top" width="0">
14718 <cell alignment="center" valignment="top" usebox="none">
14721 \begin_layout Plain Layout
14725 \begin_layout Plain Layout
14741 <cell alignment="center" valignment="top" usebox="none">
14744 \begin_layout Plain Layout
14752 <cell alignment="center" valignment="top" usebox="none">
14755 \begin_layout Plain Layout
14765 <cell alignment="center" valignment="top" usebox="none">
14768 \begin_layout Plain Layout
14776 <cell alignment="center" valignment="top" usebox="none">
14779 \begin_layout Plain Layout
14787 <cell alignment="center" valignment="top" usebox="none">
14790 \begin_layout Plain Layout
14800 <cell alignment="center" valignment="top" usebox="none">
14803 \begin_layout Plain Layout
14811 <cell alignment="center" valignment="top" usebox="none">
14814 \begin_layout Plain Layout
14822 <cell alignment="center" valignment="top" usebox="none">
14825 \begin_layout Plain Layout
14829 \begin_layout Plain Layout
14858 \begin_layout Standard
14862 \begin_layout Plain Layout
14872 \begin_inset Note Note
14875 \begin_layout Plain Layout
14880 が導入されていないときに表示されます。
14888 \begin_layout Standard
14896 \begin_layout Standard
14900 \begin_layout Plain Layout
14912 \begin_layout Subsection
14914 \begin_inset Index idx
14917 \begin_layout Plain Layout
14918 ひょうのいろ@表の色 ! けいせんぶ@罫線部
14924 \begin_inset Index idx
14927 \begin_layout Plain Layout
14928 いろつき@色付き ! ひょうけいせんぶ@表罫線部
14936 \begin_layout Standard
14938 \begin_inset CommandInset ref
14940 reference "sub:罫線幅"
14944 節に述べられているように、表中の全罫線の線幅は、長さ
14950 を使って調節することができます。本節の表では、すべて1.5
14951 \begin_inset space \thinspace{}
14958 \begin_layout Plain Layout
14964 arrayrulewidth}{1.5pt}
14972 \begin_layout Standard
14974 \begin_inset CommandInset ref
14976 reference "sub:自製書式"
14980 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
14983 \begin_layout Standard
14988 newcolumntype{W}{!{
14995 \begin_layout Standard
14997 \begin_inset CommandInset ref
14999 reference "tab:色付き縦罫線の表"
15014 \begin_layout Standard
15015 複数の色を用いたいときには、列書式をもっと定義してください。
15018 \begin_layout Standard
15019 \begin_inset Float table
15025 \begin_layout Plain Layout
15026 \begin_inset Caption
15028 \begin_layout Plain Layout
15029 \begin_inset CommandInset label
15031 name "tab:色付き縦罫線の表"
15043 \begin_layout Plain Layout
15045 \begin_inset Tabular
15046 <lyxtabular version="3" rows="3" columns="3">
15047 <features tabularvalignment="middle">
15048 <column alignment="center" valignment="top" width="0" special="Wc">
15049 <column alignment="center" valignment="top" width="0" special="Wc">
15050 <column alignment="center" valignment="top" width="0" special="WcW">
15052 <cell alignment="center" valignment="top" topline="true" usebox="none">
15055 \begin_layout Plain Layout
15061 <cell alignment="center" valignment="top" topline="true" usebox="none">
15064 \begin_layout Plain Layout
15070 <cell alignment="center" valignment="top" topline="true" usebox="none">
15073 \begin_layout Plain Layout
15081 <cell alignment="center" valignment="top" topline="true" usebox="none">
15084 \begin_layout Plain Layout
15090 <cell alignment="center" valignment="top" topline="true" usebox="none">
15093 \begin_layout Plain Layout
15099 <cell alignment="center" valignment="top" topline="true" usebox="none">
15102 \begin_layout Plain Layout
15110 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15113 \begin_layout Plain Layout
15119 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15122 \begin_layout Plain Layout
15128 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15131 \begin_layout Plain Layout
15150 \begin_layout Standard
15151 \begin_inset VSpace bigskip
15155 \begin_inset CommandInset ref
15157 reference "tab:色付き横罫線の表"
15161 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
15164 \begin_layout Standard
15174 \begin_inset Newline newline
15182 \begin_inset Newline newline
15186 \begin_inset Phantom HPhantom
15189 \begin_layout Plain Layout
15190 \begin_inset space ~
15200 arrayrulecolor{red}
15204 arrayrulecolor{black}}
15207 \begin_layout Standard
15211 \begin_layout Standard
15215 \begin_layout Plain Layout
15226 \begin_layout Plain Layout
15235 \begin_layout Plain Layout
15239 arrayrulecolor{red}
15243 arrayrulecolor{black}}
15249 \begin_inset Float table
15255 \begin_layout Plain Layout
15256 \begin_inset Caption
15258 \begin_layout Plain Layout
15259 \begin_inset CommandInset label
15261 name "tab:色付き横罫線の表"
15273 \begin_layout Plain Layout
15275 \begin_inset Tabular
15276 <lyxtabular version="3" rows="3" columns="3">
15277 <features tabularvalignment="middle">
15278 <column alignment="center" valignment="top" width="0">
15279 <column alignment="center" valignment="top" width="0">
15280 <column alignment="center" valignment="top" width="0">
15282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15285 \begin_layout Plain Layout
15291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15294 \begin_layout Plain Layout
15300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15303 \begin_layout Plain Layout
15311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15314 \begin_layout Plain Layout
15320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15323 \begin_layout Plain Layout
15329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15332 \begin_layout Plain Layout
15340 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15343 \begin_layout Plain Layout
15349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15352 \begin_layout Plain Layout
15358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15361 \begin_layout Plain Layout
15380 \begin_layout Standard
15384 \begin_layout Standard
15396 \begin_layout Standard
15397 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
15398 \begin_inset CommandInset ref
15400 reference "tab:色付き罫線の表"
15407 \begin_layout Standard
15408 \begin_inset Float table
15414 \begin_layout Plain Layout
15415 \begin_inset Caption
15417 \begin_layout Plain Layout
15418 \begin_inset CommandInset label
15432 \begin_layout Plain Layout
15434 \begin_inset Tabular
15435 <lyxtabular version="3" rows="3" columns="3">
15436 <features tabularvalignment="middle">
15437 <column alignment="center" valignment="top" width="0" special="Wc">
15438 <column alignment="center" valignment="top" width="0" special="Wc">
15439 <column alignment="center" valignment="top" width="0" special="WcW">
15441 <cell alignment="center" valignment="top" topline="true" usebox="none">
15444 \begin_layout Plain Layout
15450 <cell alignment="center" valignment="top" topline="true" usebox="none">
15453 \begin_layout Plain Layout
15459 <cell alignment="center" valignment="top" topline="true" usebox="none">
15462 \begin_layout Plain Layout
15470 <cell alignment="center" valignment="top" topline="true" usebox="none">
15473 \begin_layout Plain Layout
15479 <cell alignment="center" valignment="top" topline="true" usebox="none">
15482 \begin_layout Plain Layout
15488 <cell alignment="center" valignment="top" topline="true" usebox="none">
15491 \begin_layout Plain Layout
15498 <row topspace="default">
15499 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15502 \begin_layout Plain Layout
15508 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15511 \begin_layout Plain Layout
15517 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15520 \begin_layout Plain Layout
15539 \begin_layout Standard
15543 \begin_layout Plain Layout
15559 \begin_layout Standard
15563 \begin_layout Plain Layout
15569 arrayrulewidth}{0.4pt}
15577 \begin_layout Section
15579 \begin_inset Index idx
15582 \begin_layout Plain Layout
15589 \begin_inset Index idx
15592 \begin_layout Plain Layout
15601 \begin_layout Subsection
15603 \begin_inset CommandInset label
15610 \begin_inset Index idx
15613 \begin_layout Plain Layout
15614 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
15622 \begin_layout Standard
15627 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
15630 \begin_layout Description
15631 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
15635 \begin_layout Plain Layout
15637 \begin_inset CommandInset ref
15639 reference "sec:フォーマル形式の表"
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 topspace="3mm">
15686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15689 \begin_layout Plain Layout
15691 \begin_inset space \thinspace{}
15701 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15704 \begin_layout Plain Layout
15716 \begin_inset space \hfill{}
15720 \begin_inset space \hspace*{}
15725 \begin_inset VSpace medskip
15729 \begin_inset Newline newline
15732 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
15735 \begin_layout Description
15736 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15737 \begin_inset space \thinspace{}
15740 emの余白を挿入し、通常の表ならば既定値として2
15741 \begin_inset space \thinspace{}
15747 \begin_layout Description
15748 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15749 \begin_inset space \thinspace{}
15752 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15753 \begin_inset VSpace medskip
15757 \begin_inset Newline newline
15761 \begin_inset space \hspace*{}
15766 \begin_inset space \hfill{}
15770 \begin_inset Tabular
15771 <lyxtabular version="3" rows="3" columns="1">
15772 <features tabularvalignment="middle">
15773 <column alignment="center" valignment="top" width="0">
15775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15778 \begin_layout Plain Layout
15785 <row interlinespace="3mm">
15786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15789 \begin_layout Plain Layout
15790 \begin_inset Formula $\downarrow$
15794 \begin_inset space \thinspace{}
15798 \begin_inset Formula $\downarrow$
15808 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15811 \begin_layout Plain Layout
15812 \begin_inset Formula $\uparrow$
15816 \begin_inset space \thinspace{}
15820 \begin_inset Formula $\uparrow$
15834 \begin_inset space \hfill{}
15838 \begin_inset space \hspace*{}
15843 \begin_inset VSpace medskip
15847 \begin_inset Newline newline
15850 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
15853 \begin_layout Standard
15854 \begin_inset VSpace bigskip
15857 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
15860 \begin_layout Standard
15865 @ifundefined{extrarowheight}
15866 \begin_inset Newline newline
15870 \begin_inset Phantom HPhantom
15873 \begin_layout Plain Layout
15874 \begin_inset space ~
15884 usepackage{array}}{}
15885 \begin_inset Newline newline
15892 extrarowheight}{height}
15895 \begin_layout Standard
15896 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
15900 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
15909 \begin_layout Standard
15910 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
15916 コマンドを挿入することで補正することができます。表
15917 \begin_inset CommandInset ref
15919 reference "tab:垂直揃え"
15926 \begin_layout Standard
15928 \begin_inset Float table
15934 \begin_layout Plain Layout
15935 \begin_inset Caption
15937 \begin_layout Plain Layout
15938 \begin_inset CommandInset label
15952 \begin_layout Plain Layout
15953 \begin_inset space \hfill{}
15957 \begin_inset Float table
15962 \begin_layout Plain Layout
15963 \begin_inset Caption
15965 \begin_layout Plain Layout
15974 \begin_layout Plain Layout
15977 \begin_inset Tabular
15978 <lyxtabular version="3" rows="6" columns="1">
15979 <features tabularvalignment="middle">
15980 <column alignment="left" valignment="top" width="0">
15982 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15985 \begin_layout Plain Layout
15993 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15996 \begin_layout Plain Layout
16006 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16009 \begin_layout Plain Layout
16019 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16022 \begin_layout Plain Layout
16032 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16035 \begin_layout Plain Layout
16045 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16048 \begin_layout Plain Layout
16067 \begin_inset space \hfill{}
16071 \begin_inset Float table
16076 \begin_layout Plain Layout
16077 \begin_inset Caption
16079 \begin_layout Plain Layout
16094 \begin_layout Plain Layout
16097 \begin_inset Tabular
16098 <lyxtabular version="3" rows="6" columns="1">
16099 <features tabularvalignment="middle">
16100 <column alignment="left" valignment="top" width="0">
16102 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16105 \begin_layout Plain Layout
16113 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16116 \begin_layout Plain Layout
16122 \begin_layout Plain Layout
16138 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16141 \begin_layout Plain Layout
16147 \begin_layout Plain Layout
16163 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16166 \begin_layout Plain Layout
16172 \begin_layout Plain Layout
16188 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16191 \begin_layout Plain Layout
16197 \begin_layout Plain Layout
16213 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16216 \begin_layout Plain Layout
16222 \begin_layout Plain Layout
16247 \begin_inset space \hfill{}
16258 \begin_layout Subsection
16260 \begin_inset CommandInset label
16267 \begin_inset Index idx
16270 \begin_layout Plain Layout
16271 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
16279 \begin_layout Standard
16281 \begin_inset CommandInset ref
16283 reference "tab:表セル"
16287 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。
16289 This alignment is achieved by setting the cursor into the column and then
16290 either pressing the toolbar button
16293 \begin_inset Graphics
16294 filename ../../images/tabular-feature_align-decimal.png
16296 scaleBeforeRotation
16302 or setting the alignment in the table settings to
16305 \begin_inset space ~
16309 \begin_inset space ~
16315 The alignment character can be a character of your choice and is specified
16316 in the table settings.
16319 \begin_layout Standard
16320 \begin_inset Float table
16326 \begin_layout Plain Layout
16327 \begin_inset Caption
16329 \begin_layout Plain Layout
16330 \begin_inset CommandInset label
16344 \begin_layout Plain Layout
16346 \begin_inset Tabular
16347 <lyxtabular version="3" rows="4" columns="1">
16348 <features booktabs="true" tabularvalignment="middle">
16349 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
16351 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
16354 \begin_layout Plain Layout
16362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16365 \begin_layout Plain Layout
16373 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
16376 \begin_layout Plain Layout
16384 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
16387 \begin_layout Plain Layout
16406 \begin_layout Standard
16407 \begin_inset Float table
16413 \begin_layout Plain Layout
16414 \begin_inset Caption
16416 \begin_layout Plain Layout
16417 \begin_inset CommandInset label
16419 name "tab:Table-align-operator"
16425 Table cells of a column aligned with the operators.
16433 \begin_layout Plain Layout
16435 \begin_inset Tabular
16436 <lyxtabular version="3" rows="4" columns="2">
16437 <features booktabs="true" tabularvalignment="middle">
16438 <column alignment="right" valignment="top" width="0pt">
16439 <column alignment="left" valignment="top" width="0pt" special="@{}l">
16441 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16444 \begin_layout Plain Layout
16450 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16453 \begin_layout Plain Layout
16461 <cell alignment="center" valignment="top" usebox="none">
16464 \begin_layout Plain Layout
16465 \begin_inset Formula $12\,+$
16473 <cell alignment="center" valignment="top" usebox="none">
16476 \begin_layout Plain Layout
16477 \begin_inset Formula $\,6$
16487 <cell alignment="center" valignment="top" usebox="none">
16490 \begin_layout Plain Layout
16491 \begin_inset Formula $0\,-$
16499 <cell alignment="center" valignment="top" usebox="none">
16502 \begin_layout Plain Layout
16503 \begin_inset Formula $\,68$
16513 <cell alignment="center" valignment="top" usebox="none">
16516 \begin_layout Plain Layout
16517 \begin_inset Formula $-123\,/$
16525 <cell alignment="center" valignment="top" usebox="none">
16528 \begin_layout Plain Layout
16529 \begin_inset Formula $\,0$
16550 \begin_layout Standard
16553 For alignments at characters in formulas this method does not work because
16554 the field to specify the alignment character does not allow formulas.
16555 In this case one need to use the method from
16560 \begin_inset CommandInset ref
16562 reference "tab:Table-align-operator"
16567 This table was created with a 4×2 table.
16568 The heading is a centered multicolumn.
16569 The first column is right-aligned and contains the first part including
16571 The second column is left aligned and contains the rest.
16572 A small space was added at the beginning of each cell of the second column
16573 to get the space that is usually around operators.
16576 第2列には、小数点以下の各桁が左揃えで収められています。通常、表の列間に加えられる余白を削るために、
16579 \begin_layout Standard
16585 \begin_layout Standard
16586 というLaTeX引数を第2列に指定します。
16589 \begin_layout Standard
16591 \begin_inset CommandInset ref
16593 reference "tab:表セル揃え"
16597 は、揃え方の例をいくつか示しています。
16599 For the alignment with the relation sign, a small space was added like for
16600 the second column of
16603 \begin_inset CommandInset ref
16605 reference "tab:Table-align-operator"
16612 \begin_layout Standard
16613 \begin_inset Float table
16618 \begin_layout Plain Layout
16619 \begin_inset Caption
16621 \begin_layout Plain Layout
16622 \begin_inset CommandInset label
16636 \begin_layout Plain Layout
16638 \begin_inset Tabular
16639 <lyxtabular version="3" rows="4" columns="6">
16640 <features tabularvalignment="middle">
16641 <column alignment="right" valignment="top" width="0">
16642 <column alignment="left" valignment="top" width="0" special="@{}l">
16643 <column alignment="right" valignment="top" width="0">
16644 <column alignment="left" valignment="top" width="0" special="@{}l">
16645 <column alignment="right" valignment="top" width="0">
16646 <column alignment="left" valignment="top" width="0" special="@{}l">
16648 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16651 \begin_layout Plain Layout
16657 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16660 \begin_layout Plain Layout
16666 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16669 \begin_layout Plain Layout
16675 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16678 \begin_layout Plain Layout
16684 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16687 \begin_layout Plain Layout
16693 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16696 \begin_layout Plain Layout
16704 <cell alignment="center" valignment="top" usebox="none">
16707 \begin_layout Plain Layout
16713 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16716 \begin_layout Plain Layout
16722 <cell alignment="center" valignment="top" usebox="none">
16725 \begin_layout Plain Layout
16726 \begin_inset Formula $10\cdot$
16734 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16737 \begin_layout Plain Layout
16738 \begin_inset Formula $10^{\mbox{-}17}$
16746 <cell alignment="center" valignment="top" usebox="none">
16749 \begin_layout Plain Layout
16750 \begin_inset Formula $\Gamma(t)\propto$
16758 <cell alignment="center" valignment="top" usebox="none">
16761 \begin_layout Plain Layout
16762 \begin_inset Formula $\:\Upsilon(t)$
16772 <cell alignment="center" valignment="top" usebox="none">
16775 \begin_layout Plain Layout
16781 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16784 \begin_layout Plain Layout
16790 <cell alignment="center" valignment="top" usebox="none">
16793 \begin_layout Plain Layout
16794 \begin_inset Formula $5.78\cdot$
16802 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16805 \begin_layout Plain Layout
16806 \begin_inset Formula $10^{7}$
16814 <cell alignment="center" valignment="top" usebox="none">
16817 \begin_layout Plain Layout
16818 \begin_inset Formula $A\ne$
16826 <cell alignment="center" valignment="top" usebox="none">
16829 \begin_layout Plain Layout
16830 \begin_inset Formula $\: B_{\mathrm{red}}$
16840 <cell alignment="center" valignment="top" usebox="none">
16843 \begin_layout Plain Layout
16849 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16852 \begin_layout Plain Layout
16854 \begin_inset space \thinspace{}
16862 <cell alignment="center" valignment="top" usebox="none">
16865 \begin_layout Plain Layout
16867 \begin_inset Formula $33.5\cdot$
16875 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16878 \begin_layout Plain Layout
16879 \begin_inset Formula $10^{4}$
16887 <cell alignment="center" valignment="top" usebox="none">
16890 \begin_layout Plain Layout
16891 \begin_inset Formula $\sin(\alpha)\ge$
16899 <cell alignment="center" valignment="top" usebox="none">
16902 \begin_layout Plain Layout
16903 \begin_inset Formula $\:\sin(\beta)$
16924 \begin_layout Subsection
16926 \begin_inset CommandInset label
16933 \begin_inset Index idx
16936 \begin_layout Plain Layout
16937 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
16945 \begin_layout Standard
16946 連結列セルを含む表がいくつもある場合には、第
16947 \begin_inset CommandInset ref
16949 reference "sub:連結列の計算"
16953 節のように連結部分を含む列に必要とされる幅を計算することはたいへん面倒です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のす
16954 べての表で使うことができます。書式は、以下のように定義します。
16957 \begin_layout Standard
16962 newcolumntype{書式名}[引数の数]{コマンド}
16965 \begin_layout Standard
16990 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
16993 \begin_layout Standard
16994 \begin_inset VSpace medskip
17000 \begin_layout Standard
17001 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
17004 \begin_layout Standard
17009 newcolumntype{M}[1]{>{
17016 \begin_layout Standard
17024 \begin_inset CommandInset ref
17026 reference "sub:複数行"
17030 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
17033 \begin_layout Standard
17039 \begin_layout Standard
17043 \begin_layout Standard
17044 \begin_inset VSpace bigskip
17050 \begin_layout Standard
17051 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
17054 \begin_layout Standard
17059 newcolumntype{S}[2]{>{
17064 \begin_inset Newline newline
17068 \begin_inset Phantom HPhantom
17071 \begin_layout Plain Layout
17085 arrayrulewidth)*(1-#2))/#2}}
17088 \begin_layout Standard
17089 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
17090 \begin_inset CommandInset ref
17099 \begin_layout Standard
17100 こうしておけば、当該セルのLaTeX引数に
17103 \begin_layout Standard
17106 S{連結列セルの幅}{連結列セルがまたがる列の数}
17109 \begin_layout Standard
17113 \begin_layout Standard
17114 \begin_inset VSpace bigskip
17120 \begin_layout Standard
17121 色付き列については、以下のように定義するとよいでしょう。
17124 \begin_layout Standard
17129 newcolumntype{K}[1]{>{
17136 \begin_layout Standard
17137 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
17140 \begin_layout Standard
17146 \begin_layout Standard
17150 \begin_layout Standard
17151 \begin_inset VSpace bigskip
17157 \begin_layout Standard
17159 \begin_inset CommandInset ref
17161 reference "tab:ユーザー定義の表書式"
17165 を生成するには、第1列と連結列にLaTeX引数として
17168 \begin_layout Standard
17174 \begin_layout Standard
17178 \begin_layout Standard
17184 \begin_layout Standard
17188 \begin_layout Standard
17194 \begin_layout Standard
17198 \begin_layout Standard
17199 \begin_inset Float table
17205 \begin_layout Plain Layout
17206 \begin_inset Caption
17208 \begin_layout Plain Layout
17209 \begin_inset CommandInset label
17211 name "tab:ユーザー定義の表書式"
17223 \begin_layout Plain Layout
17225 \begin_inset Tabular
17226 <lyxtabular version="3" rows="3" columns="4">
17227 <features tabularvalignment="middle">
17228 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17229 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17230 <column alignment="center" valignment="middle" width="0">
17231 <column alignment="center" valignment="middle" width="0" special="K{red}">
17233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17236 \begin_layout Plain Layout
17242 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17245 \begin_layout Plain Layout
17251 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17254 \begin_layout Plain Layout
17260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17263 \begin_layout Plain Layout
17271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17274 \begin_layout Plain Layout
17280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17283 \begin_layout Plain Layout
17289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17292 \begin_layout Plain Layout
17298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17301 \begin_layout Plain Layout
17309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17312 \begin_layout Plain Layout
17318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17321 \begin_layout Plain Layout
17327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17330 \begin_layout Plain Layout
17336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17339 \begin_layout Plain Layout
17358 \begin_layout Subsection
17360 \begin_inset CommandInset label
17367 \begin_inset Index idx
17370 \begin_layout Plain Layout
17371 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
17379 \begin_layout Standard
17380 表中のすべての罫線の罫線幅を調整するには、長さ
17387 \begin_inset CommandInset ref
17389 reference "tab:Table-with-1.5"
17394 \begin_inset space \thinspace{}
17397 ptにするには、表や表フロートの前にTeXコードで
17400 \begin_layout Standard
17407 arrayrulewidth}{1.5pt}
17410 \begin_layout Standard
17411 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
17418 \begin_inset space \thinspace{}
17424 \begin_layout Standard
17428 \begin_layout Plain Layout
17434 arrayrulewidth}{1.5pt}
17440 \begin_inset Float table
17445 \begin_layout Plain Layout
17446 \begin_inset Caption
17448 \begin_layout Plain Layout
17449 \begin_inset CommandInset label
17451 name "tab:Table-with-1.5"
17456 \begin_inset space \thinspace{}
17467 \begin_layout Plain Layout
17469 \begin_inset Tabular
17470 <lyxtabular version="3" rows="3" columns="3">
17471 <features tabularvalignment="middle">
17472 <column alignment="center" valignment="top" width="0">
17473 <column alignment="center" valignment="top" width="0">
17474 <column alignment="center" valignment="top" width="0">
17476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17479 \begin_layout Plain Layout
17485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17488 \begin_layout Plain Layout
17494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17497 \begin_layout Plain Layout
17505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17508 \begin_layout Plain Layout
17514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17517 \begin_layout Plain Layout
17523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17526 \begin_layout Plain Layout
17534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17537 \begin_layout Plain Layout
17543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17546 \begin_layout Plain Layout
17552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17555 \begin_layout Plain Layout
17575 \begin_layout Plain Layout
17581 arrayrulewidth}{0.4pt}
17589 \begin_layout Standard
17590 \begin_inset VSpace bigskip
17594 \begin_inset CommandInset ref
17596 reference "tab:1.5pt幅横罫"
17601 \begin_inset space \thinspace{}
17604 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
17607 \begin_layout Standard
17617 \begin_inset Newline newline
17625 \begin_inset Newline newline
17634 arrayrulewidth 1.5pt}
17635 \begin_inset Newline newline
17646 arrayrulewidth 0.4pt}}
17649 \begin_layout Standard
17650 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
17653 \begin_layout Standard
17665 \begin_layout Standard
17669 \begin_layout Plain Layout
17680 \begin_layout Plain Layout
17689 \begin_layout Plain Layout
17697 arrayrulewidth 1.5pt}
17700 \begin_layout Plain Layout
17710 arrayrulewidth 0.4pt}}
17716 \begin_inset Float table
17721 \begin_layout Plain Layout
17722 \begin_inset Caption
17724 \begin_layout Plain Layout
17725 \begin_inset CommandInset label
17727 name "tab:1.5pt幅横罫"
17732 \begin_inset space \thinspace{}
17743 \begin_layout Plain Layout
17745 \begin_inset Tabular
17746 <lyxtabular version="3" rows="3" columns="3">
17747 <features tabularvalignment="middle">
17748 <column alignment="center" valignment="top" width="0">
17749 <column alignment="center" valignment="top" width="0">
17750 <column alignment="center" valignment="top" width="0">
17752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17755 \begin_layout Plain Layout
17761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17764 \begin_layout Plain Layout
17770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17773 \begin_layout Plain Layout
17781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17784 \begin_layout Plain Layout
17790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17793 \begin_layout Plain Layout
17799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17802 \begin_layout Plain Layout
17810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17813 \begin_layout Plain Layout
17819 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17822 \begin_layout Plain Layout
17828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17831 \begin_layout Plain Layout
17851 \begin_layout Plain Layout
17867 \begin_layout Standard
17868 \begin_inset VSpace bigskip
17872 \begin_inset space \thinspace{}
17876 \begin_inset CommandInset ref
17878 reference "sub:自製書式"
17882 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
17885 \begin_layout Standard
17890 newcolumntype{V}{!{
17892 vrule width 1.5pt}}
17895 \begin_layout Standard
17897 \begin_inset CommandInset ref
17899 reference "tab:1.5pt幅縦罫"
17906 \begin_layout Standard
17912 \begin_layout Standard
17916 \begin_layout Standard
17922 \begin_layout Standard
17926 \begin_layout Standard
17927 \begin_inset Float table
17932 \begin_layout Plain Layout
17933 \begin_inset Caption
17935 \begin_layout Plain Layout
17936 \begin_inset CommandInset label
17938 name "tab:1.5pt幅縦罫"
17943 \begin_inset space \thinspace{}
17954 \begin_layout Plain Layout
17956 \begin_inset Tabular
17957 <lyxtabular version="3" rows="3" columns="3">
17958 <features tabularvalignment="middle">
17959 <column alignment="center" valignment="top" width="0" special="Vc">
17960 <column alignment="center" valignment="top" width="0" special="Vc">
17961 <column alignment="center" valignment="top" width="0" special="VcV">
17963 <cell alignment="center" valignment="top" topline="true" usebox="none">
17966 \begin_layout Plain Layout
17972 <cell alignment="center" valignment="top" topline="true" usebox="none">
17975 \begin_layout Plain Layout
17981 <cell alignment="center" valignment="top" topline="true" usebox="none">
17984 \begin_layout Plain Layout
17992 <cell alignment="center" valignment="top" topline="true" usebox="none">
17995 \begin_layout Plain Layout
18001 <cell alignment="center" valignment="top" topline="true" usebox="none">
18004 \begin_layout Plain Layout
18010 <cell alignment="center" valignment="top" topline="true" usebox="none">
18013 \begin_layout Plain Layout
18021 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18024 \begin_layout Plain Layout
18030 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18033 \begin_layout Plain Layout
18039 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18042 \begin_layout Plain Layout
18061 \begin_layout Subsection
18063 \begin_inset Index idx
18066 \begin_layout Plain Layout
18067 ひょうのちょうせい@表の調整 ! てんけい@点罫
18075 \begin_layout Standard
18079 \begin_layout Plain Layout
18089 \begin_inset Note Note
18092 \begin_layout Plain Layout
18093 この節は、LaTeXパッケージarydshlnが導入済みの時のみ表示されます。
18101 \begin_layout Standard
18102 \begin_inset Float table
18108 \begin_layout Plain Layout
18109 \begin_inset Caption
18111 \begin_layout Plain Layout
18112 \begin_inset CommandInset label
18126 \begin_layout Plain Layout
18128 \begin_inset Tabular
18129 <lyxtabular version="3" rows="5" columns="5">
18130 <features tabularvalignment="middle">
18131 <column alignment="center" valignment="top" width="0">
18132 <column alignment="center" valignment="top" width="0">
18133 <column alignment="center" valignment="top" width="0" special=":c">
18134 <column alignment="center" valignment="top" width="0">
18135 <column alignment="center" valignment="top" width="0">
18137 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18140 \begin_layout Plain Layout
18146 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18149 \begin_layout Plain Layout
18155 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18158 \begin_layout Plain Layout
18164 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18167 \begin_layout Plain Layout
18173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18176 \begin_layout Plain Layout
18184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18187 \begin_layout Plain Layout
18193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18196 \begin_layout Plain Layout
18202 <cell alignment="center" valignment="top" topline="true" usebox="none">
18205 \begin_layout Plain Layout
18211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18214 \begin_layout Plain Layout
18220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18223 \begin_layout Plain Layout
18231 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18234 \begin_layout Plain Layout
18238 \begin_layout Plain Layout
18252 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18255 \begin_layout Plain Layout
18261 <cell alignment="center" valignment="top" usebox="none">
18264 \begin_layout Plain Layout
18270 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18273 \begin_layout Plain Layout
18279 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18282 \begin_layout Plain Layout
18290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18293 \begin_layout Plain Layout
18297 \begin_layout Plain Layout
18311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18314 \begin_layout Plain Layout
18320 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18323 \begin_layout Plain Layout
18329 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18332 \begin_layout Plain Layout
18338 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18341 \begin_layout Plain Layout
18349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18352 \begin_layout Plain Layout
18358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18361 \begin_layout Plain Layout
18367 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18370 \begin_layout Plain Layout
18376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18379 \begin_layout Plain Layout
18385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18388 \begin_layout Plain Layout
18407 \begin_layout Standard
18408 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
18411 \begin_layout Standard
18416 usepackage{arydshln}
18419 \begin_layout Standard
18420 というコマンドを書き、LaTeXパッケージの
18425 \begin_inset Index idx
18428 \begin_layout Plain Layout
18429 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
18434 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
18437 \begin_layout Standard
18438 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
18441 \begin_layout Standard
18449 \begin_layout Standard
18453 \begin_layout Standard
18454 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
18457 \begin_layout Standard
18467 \begin_layout Standard
18468 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
18471 \begin_layout Standard
18479 \begin_layout Standard
18483 \begin_layout Standard
18484 \begin_inset VSpace bigskip
18490 \begin_layout Standard
18492 \begin_inset CommandInset ref
18494 reference "tab:点罫表"
18498 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
18502 hdashlineが挿れられており、第3行の最初のセルには、
18505 \begin_inset Newline newline
18512 cdashline{4-5}が挿れられています。
18515 \begin_layout Standard
18516 \begin_inset Note Greyedout
18519 \begin_layout Plain Layout
18524 ここで用いられているLaTeXパッケージ
18529 \begin_inset CommandInset ref
18531 reference "sec:色付きの表"
18535 節の色付き表で用いられているLaTeXパッケージ
18540 \begin_inset Index idx
18543 \begin_layout Plain Layout
18544 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
18549 とは、どうやら共存し得ないようです。すなわち、色付き表に点罫をつけることはできません。
18557 \begin_layout Standard
18561 \begin_layout Plain Layout
18571 \begin_inset Note Note
18574 \begin_layout Plain Layout
18587 \begin_layout Standard
18592 パッケージを導入しなくてはなりません。
18595 \begin_layout Standard
18599 \begin_layout Plain Layout
18611 \begin_layout Chapter
18613 \begin_inset Index idx
18616 \begin_layout Plain Layout
18625 \begin_layout Section
18627 \begin_inset CommandInset label
18629 name "sec:フロートはじめに"
18634 \begin_inset Index idx
18637 \begin_layout Plain Layout
18646 \begin_layout Standard
18647 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
18656 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
18659 \begin_layout Standard
18660 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
18661 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
18662 ートには連番が割り当てられます。参照については、第
18663 \begin_inset CommandInset ref
18665 reference "sec:フロートの参照"
18672 \begin_layout Standard
18675 挿入\SpecialChar \menuseparator
18678 メニューを使えば、ラベルのついたボックスすなわち
18682 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
18683 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
18684 \begin_inset CommandInset ref
18686 reference "sec:キャプションの配置"
18690 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
18692 \begin_inset Graphics
18693 filename clipart/floatQt4.png
18695 scaleBeforeRotation
18699 のように、灰色ボタンに赤字ラベルで表示されます。
18702 \begin_layout Standard
18703 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
18706 \begin_layout Standard
18707 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
18710 \begin_layout Section
18714 \begin_layout Standard
18716 \begin_inset CommandInset ref
18718 reference "sec:図フロート"
18723 \begin_inset CommandInset ref
18725 reference "sec:表フロート"
18729 節で各々説明されている図フロートと表フロート以外に、
18740 \begin_layout Subsection
18742 \begin_inset Index idx
18745 \begin_layout Plain Layout
18746 ふろーと@フロート ! あるごりずむ@アルゴリズム
18754 \begin_layout Standard
18755 \begin_inset Float algorithm
18761 \begin_layout Plain Layout
18762 \begin_inset Caption
18764 \begin_layout Plain Layout
18765 \begin_inset CommandInset label
18767 name "alg:アルゴリズムフロートの例"
18779 \begin_layout LyX-Code
18781 \begin_inset Newline newline
18784 Sum:= Sum + A(I); /*comment*/
18785 \begin_inset Newline newline
18789 \begin_inset VSpace -4mm
18800 \begin_layout Standard
18805 \SpecialChar \menuseparator
18806 フロート\SpecialChar \menuseparator
18810 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
18811 \begin_inset CommandInset ref
18813 reference "cha:プログラムコードリスト"
18817 章で説明されているプログラムコードリストの代わりとみなすことができます。
18821 に述べられているように、アルゴリズム向けの環境としては、
18826 \begin_inset CommandInset ref
18828 reference "alg:アルゴリズムフロートの例"
18832 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
18833 \begin_inset space \thinspace{}
18839 \begin_layout Standard
18840 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
18843 \begin_layout Standard
18848 floatname{algorithm}{付けたい名称}
18851 \begin_layout Standard
18852 という行を手動で加える必要があります。ここで
18865 \begin_layout Standard
18866 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
18868 挿入\SpecialChar \menuseparator
18869 一覧/目次\SpecialChar \menuseparator
18872 メニューを使用します。それ以外の場合には、代わりに
18875 \begin_layout Standard
18880 listof{algorithm}{付けたい名称}
18883 \begin_layout Standard
18884 というコマンドをTeXコードとして用います。ここで
18892 s」という単語に相当する、ご使用になりたい言語での単語です。
18895 \begin_layout Standard
18896 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
18897 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
18900 \begin_layout Standard
18905 numberwithin{algorithm}{chapter}
18908 \begin_layout Standard
18915 というコマンドを使用するには、文書設定の
18926 \begin_layout Subsection
18928 \begin_inset Index idx
18931 \begin_layout Plain Layout
18932 ふろーと@フロート ! おりかえしふろーと@折返しフロート
18940 \begin_layout Standard
18941 \begin_inset Wrap figure
18948 \begin_layout Plain Layout
18949 \begin_inset Graphics
18950 filename ../clipart/mobius.eps
18952 scaleBeforeRotation
18953 rotateOrigin center
18960 \begin_layout Plain Layout
18961 \begin_inset Caption
18963 \begin_layout Plain Layout
18964 \begin_inset CommandInset label
18966 name "fig:折返し図フロート"
18980 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
18985 \begin_inset Index idx
18988 \begin_layout Plain Layout
18989 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
18996 挿入\SpecialChar \menuseparator
18997 フロート\SpecialChar \menuseparator
19008 \begin_layout Plain Layout
19009 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
19014 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
19030 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
19031 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
19032 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
19033 \begin_inset CommandInset ref
19035 reference "fig:折返し図フロート"
19040 \begin_inset space \thinspace{}
19044 \begin_inset space \thinspace{}
19047 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
19051 \begin_layout Plain Layout
19053 \begin_inset CommandInset ref
19055 reference "cha:LyXで使用できる単位"
19067 \begin_layout Standard
19068 \begin_inset Note Greyedout
19071 \begin_layout Plain Layout
19076 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
19085 \begin_layout Standard
19089 \begin_layout Itemize
19090 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
19091 うになってから、正確な位置に挿入しなくてはなりません。
19094 \begin_layout Itemize
19095 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
19098 \begin_layout Itemize
19099 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
19102 \begin_layout Itemize
19103 折返しフロートは、節見出しや表中に入れることは認められていません。
19106 \begin_layout Section
19108 \begin_inset Index idx
19111 \begin_layout Plain Layout
19112 ふろーと@フロート ! れんばん@連番
19120 \begin_layout Standard
19121 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
19125 \begin_layout Standard
19126 節から独立して付けられている連番を変更するには、文書プリアンブルで
19129 \begin_layout Standard
19141 \begin_layout Standard
19148 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
19154 コマンドを使用します。上のコマンドで使用されている
19160 は、表番号を小文字のローマ数字で印字するコマンドです。
19163 \begin_layout Standard
19164 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
19167 \begin_layout Standard
19172 numberwithin{table}{subsection}
19175 \begin_layout Standard
19182 コマンドを使用可能にするためには、文書設定の
19189 \begin_inset space ~
19197 \begin_layout Standard
19198 連番コマンドについての詳細と大切な注意点については、第
19199 \begin_inset CommandInset ref
19201 reference "sub:脚注の付番"
19208 \begin_layout Section
19210 \begin_inset CommandInset label
19217 \begin_inset Index idx
19220 \begin_layout Plain Layout
19221 ふろーと@フロート ! さんしょう@参照
19227 \begin_inset Index idx
19230 \begin_layout Plain Layout
19231 さんしょう@参照 ! ふろーとにたいする@フロートに対する
19239 \begin_layout Standard
19242 挿入\SpecialChar \menuseparator
19245 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
19246 \begin_inset Graphics
19247 filename ../clipart/labelQt4.png
19249 scaleBeforeRotation
19253 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
19254 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
19261 \begin_layout Standard
19262 ラベルは、参照のための名称兼位置標として用いられます。
19264 挿入\SpecialChar \menuseparator
19268 \begin_inset Graphics
19269 filename ../../images/dialog-show-new-inset_ref.png
19271 scaleBeforeRotation
19275 を使えば、ラベルを参照することができます。
19276 \begin_inset Graphics
19277 filename clipart/referenceQt4.png
19279 scaleBeforeRotation
19283 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
19284 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
19288 \begin_layout Standard
19289 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
19290 出力では、参照の代わりに二つの疑問符が表示されることになります。
19293 \begin_layout Standard
19294 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
19295 で、リンクの更新に手間を割く必要はありません。
19298 \begin_layout Standard
19303 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
19307 に変わるので、相互参照にカーソルを戻すのに使用することができます。相互参照ボックスを右クリックしても、カーソルを参照されているラベルの前に移すことができますが、
19308 この場合には元に戻ることができません。
19311 \begin_layout Subsection
19313 \begin_inset CommandInset label
19320 \begin_inset Index idx
19323 \begin_layout Plain Layout
19332 \begin_layout Standard
19333 相互参照には、以下の6種類があります。
19336 \begin_layout Description
19337 <参照>: これはフロート番号を表示します。これが既定値です。例:
19338 \begin_inset CommandInset ref
19340 reference "fig:歪められた二つの像"
19347 \begin_layout Description
19348 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
19350 \begin_inset CommandInset ref
19359 \begin_layout Description
19360 <参照ページ>: これはページ番号を表示します。例:Page
19361 \begin_inset space ~
19365 \begin_inset CommandInset ref
19366 LatexCommand pageref
19367 reference "fig:歪められた二つの像"
19374 \begin_layout Description
19376 \begin_inset space ~
19380 \begin_inset space ~
19383 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
19384 \begin_inset CommandInset ref
19385 LatexCommand vpageref
19386 reference "fig:歪められた二つの像"
19393 \begin_layout Description
19395 \begin_inset space ~
19399 \begin_inset space ~
19403 \begin_inset space ~
19406 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
19407 \begin_inset CommandInset ref
19409 reference "fig:歪められた二つの像"
19416 \begin_layout Description
19420 \begin_inset space ~
19423 reference: prints a self-defined cross-reference format.
19424 \begin_inset Newline newline
19428 \begin_inset Note Greyedout
19431 \begin_layout Plain Layout
19437 This feature is only available when you have the LaTeX-package
19447 \begin_inset Index idx
19450 \begin_layout Plain Layout
19451 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19457 \begin_inset Index idx
19460 \begin_layout Plain Layout
19461 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19476 \begin_inset Newline newline
19481 You can select which LaTeX-package should be used for this feature by setting
19484 Use refstyle (not prettyref) for cross-references
19488 Document\SpecialChar \menuseparator
19489 Settings\SpecialChar \menuseparator
19493 The format is specified by adding the command
19505 (refstyle) to the preamble of the document.
19506 For example redefining all references to figures (which have the label
19508 \begin_inset Quotes eld
19516 \begin_inset Quotes erd
19519 ) can be done with this command
19522 \begin_inset Newline newline
19529 newref{fig}{refcmd={
19538 \begin_inset Newline newline
19543 For more information about the format, have a look at the package documentations
19546 \begin_inset CommandInset citation
19548 key "prettyref,refstyle"
19555 \begin_layout Description
19559 \begin_inset space ~
19562 reference: prints the caption of the reference
19565 \begin_inset CommandInset ref
19566 LatexCommand nameref
19567 reference "fig:歪められた二つの像"
19574 \begin_layout Standard
19580 will not print the page number if the label is on the previous, the same,
19583 \begin_inset space \thinspace{}
19587 \begin_inset space \space{}
19591 \begin_inset Quotes eld
19599 \begin_inset Quotes erd
19605 <reference> on page <page>
19607 will not print anything about the page if the label is on the same page.
19610 \begin_layout Standard
19613 The number and current page of the part of the document referred to in the
19614 output is automatically calculated by LaTeX.
19615 The varieties are adjusted in the field
19619 of the cross-reference window that appears when you click on the cross-referenc
19623 \begin_layout Standard
19626 \begin_inset Note Greyedout
19629 \begin_layout Plain Layout
19635 It is recommended to use the LaTeX-package
19641 \begin_inset Index idx
19644 \begin_layout Plain Layout
19645 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19658 \begin_inset Index idx
19661 \begin_layout Plain Layout
19662 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19669 does not know all of LyX's possible label shortcuts
19673 \begin_layout Plain Layout
19676 \begin_inset Quotes eld
19680 \begin_inset Quotes erd
19683 is for example LyX's shortcut for labels in figure captions.
19688 and is not internationalized.
19696 \begin_layout Subsection
19698 \begin_inset Index idx
19701 \begin_layout Plain Layout
19702 さんしょう@参照 ! じどうめいめい@自動命名
19710 \begin_layout Standard
19724 \begin_inset Index idx
19727 \begin_layout Plain Layout
19728 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19733 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
19737 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
19738 の機能を使用するには、hyperrefを有効にして、
19741 \begin_layout Standard
19757 \begin_layout Standard
19758 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
19759 \begin_inset space \thinspace{}
19762 」としたいなど、既定の参照名以外のものが欲しい場合には、
19765 \begin_layout Standard
19776 sectionautorefname}
19777 \begin_inset Newline newline
19781 \begin_inset Phantom HPhantom
19784 \begin_layout Plain Layout
19787 \begin_inset space ~
19800 \begin_layout Standard
19801 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
19802 \begin_inset Newline newline
19813 に置き換えてください(***は使用中の言語名)。
19816 \begin_layout Standard
19817 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
19820 \begin_layout Standard
19828 \begin_inset Newline newline
19838 \begin_inset Newline newline
19849 equationautorefname}
19850 \begin_inset Newline newline
19854 \begin_inset Phantom HPhantom
19857 \begin_layout Plain Layout
19860 \begin_inset space ~
19875 \begin_layout Standard
19876 この話題に関する詳細は、hyperrefの説明書
19877 \begin_inset CommandInset citation
19886 \begin_layout Standard
19887 \begin_inset Note Greyedout
19890 \begin_layout Plain Layout
19900 \begin_inset CommandInset ref
19902 reference "sub:相互参照の書式"
19906 節)で使用しているときには、使用することができません。
19914 \begin_layout Standard
19919 は、参照の自動命名が使用されている一例です。
19922 \begin_layout Subsection
19924 \begin_inset CommandInset label
19931 \begin_inset Index idx
19934 \begin_layout Plain Layout
19935 さんしょう@参照 ! さんしょういち@参照位置
19943 \begin_layout Standard
19957 \begin_inset Index idx
19960 \begin_layout Plain Layout
19961 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19966 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
19967 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
19972 \begin_inset Index idx
19975 \begin_layout Plain Layout
19976 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19986 \begin_inset Index idx
19989 \begin_layout Plain Layout
19990 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19995 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
19998 \begin_layout Standard
20003 usepackage[figure]{hypcap}
20006 \begin_layout Standard
20007 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
20009 \begin_inset CommandInset citation
20018 \begin_layout Standard
20019 \begin_inset Note Greyedout
20022 \begin_layout Plain Layout
20027 は内部図への参照には効力がありません。
20035 \begin_layout Section
20037 \begin_inset CommandInset label
20044 \begin_inset Index idx
20047 \begin_layout Plain Layout
20056 \begin_layout Standard
20066 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
20067 \begin_inset Newline newline
20088 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
20089 \begin_inset Newline newline
20110 オプションは、フロートを回転するのに用います。第
20120 \begin_inset CommandInset ref
20122 reference "sec:回転フロート"
20138 \begin_layout Standard
20166 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
20169 \begin_layout Description
20179 フロートを挿入位置に配置することを試みます
20182 \begin_layout Description
20192 フロートを現在ページの上部に配置することを試みます
20195 \begin_layout Description
20205 フロートを現在ページの下部に配置することを試みます
20208 \begin_layout Description
20218 フロートを独立したページに配置することを試みます
20221 \begin_layout Standard
20226 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
20234 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
20235 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
20238 \begin_layout Standard
20239 既定では、各オプションはそれぞれ以下の規則を持っています。
20242 \begin_layout Labeling
20243 \labelwidthstring 00.00.0000
20248 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
20257 \begin_layout Labeling
20258 \labelwidthstring 00.00.0000
20263 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
20272 \begin_layout Labeling
20273 \labelwidthstring 00.00.0000
20278 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
20287 \begin_layout Standard
20292 オプションを追加することによって、これらを無視することができます。
20293 \begin_inset Newline newline
20296 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
20297 、ページの5割に変えるには、文書プリアンブルに
20300 \begin_layout Standard
20307 bottomfraction}{0.5}
20310 \begin_layout Standard
20314 \begin_layout Standard
20315 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
20319 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
20320 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
20324 \begin_layout Standard
20325 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
20328 \begin_layout Standard
20329 \begin_inset VSpace bigskip
20335 \begin_layout Standard
20336 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
20337 することがあります。この問題を避けるには、LaTeXコマンドの
20339 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
20340 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
20343 \begin_layout Standard
20353 \begin_inset Newline newline
20367 \begin_layout Standard
20368 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
20369 することがあるので、これらに対する定義はお勧めしません。
20372 \begin_layout Standard
20373 \begin_inset VSpace bigskip
20376 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
20381 \begin_inset Index idx
20384 \begin_layout Plain Layout
20385 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
20390 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
20391 \begin_inset Quotes eld
20397 \begin_inset space ~
20403 \begin_inset Quotes erd
20406 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
20409 \begin_layout Standard
20414 usepackage[options]{endfloat}
20417 \begin_layout Standard
20418 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
20423 \begin_inset CommandInset citation
20430 \begin_inset Newline newline
20434 \begin_inset Note Greyedout
20437 \begin_layout Plain Layout
20442 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
20443 \begin_inset CommandInset citation
20455 \begin_inset Newline newline
20459 \begin_inset Note Greyedout
20462 \begin_layout Plain Layout
20471 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
20485 \begin_layout Standard
20486 \begin_inset VSpace bigskip
20489 フロートの割付に関する詳細は、LaTeX関連書
20490 \begin_inset CommandInset citation
20492 key "latexcompanion,latexguide,latexbook"
20499 \begin_layout Section
20501 \begin_inset CommandInset label
20508 \begin_inset Index idx
20511 \begin_layout Plain Layout
20512 ふろーと@フロート ! かいてん@回転
20520 \begin_layout Standard
20521 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
20528 \begin_layout Standard
20529 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
20533 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
20534 たって回転方向を強制したい場合には、文書クラスオプションに
20545 \begin_layout Standard
20546 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
20547 \begin_inset CommandInset ref
20549 reference "tab:回転した表"
20556 \begin_layout Standard
20557 \begin_inset Note Greyedout
20560 \begin_layout Plain Layout
20565 すべてのDVIビューアが回転フロートを表示できるわけではありません。
20573 \begin_layout Standard
20574 \begin_inset Float table
20579 \begin_layout Plain Layout
20580 \begin_inset Caption
20582 \begin_layout Plain Layout
20583 \begin_inset CommandInset label
20597 \begin_layout Plain Layout
20599 \begin_inset Tabular
20600 <lyxtabular version="3" rows="1" columns="5">
20601 <features tabularvalignment="middle">
20602 <column alignment="center" valignment="top" width="0">
20603 <column alignment="center" valignment="top" width="0">
20604 <column alignment="center" valignment="top" width="0">
20605 <column alignment="center" valignment="top" width="0">
20606 <column alignment="center" valignment="top" width="0">
20608 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20611 \begin_layout Plain Layout
20617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20620 \begin_layout Plain Layout
20626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20629 \begin_layout Plain Layout
20635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20638 \begin_layout Plain Layout
20644 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20647 \begin_layout Plain Layout
20666 \begin_layout Section
20668 \begin_inset Index idx
20671 \begin_layout Plain Layout
20672 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
20680 \begin_layout Standard
20681 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
20682 \begin_inset CommandInset ref
20684 reference "tab:従属表を横に並べたもの"
20689 \begin_inset CommandInset ref
20691 reference "tab:従属表を縦に並べたもの"
20695 に示されているように段落と同様に指定することができます。
20698 \begin_layout Standard
20699 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
20700 \begin_inset CommandInset ref
20702 reference "tab:これは従属表a"
20707 \begin_inset CommandInset ref
20709 reference "tab:これは従属表b"
20714 \begin_inset CommandInset ref
20716 reference "tab:従属表を横に並べたもの"
20721 \begin_inset Float table
20726 \begin_layout Plain Layout
20727 \begin_inset Caption
20729 \begin_layout Plain Layout
20730 \begin_inset CommandInset label
20732 name "tab:従属表を横に並べたもの"
20744 \begin_layout Plain Layout
20745 \begin_inset space \hfill{}
20749 \begin_inset Float table
20754 \begin_layout Plain Layout
20755 \begin_inset Caption
20757 \begin_layout Plain Layout
20758 \begin_inset CommandInset label
20772 \begin_layout Plain Layout
20774 \begin_inset Tabular
20775 <lyxtabular version="3" rows="1" columns="5">
20776 <features tabularvalignment="middle">
20777 <column alignment="center" valignment="top" width="0">
20778 <column alignment="center" valignment="top" width="0">
20779 <column alignment="center" valignment="top" width="0">
20780 <column alignment="center" valignment="top" width="0">
20781 <column alignment="center" valignment="top" width="0">
20783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20786 \begin_layout Plain Layout
20792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20795 \begin_layout Plain Layout
20801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20804 \begin_layout Plain Layout
20810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20813 \begin_layout Plain Layout
20819 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20822 \begin_layout Plain Layout
20839 \begin_inset space \hfill{}
20843 \begin_inset Float table
20848 \begin_layout Plain Layout
20849 \begin_inset Caption
20851 \begin_layout Plain Layout
20852 \begin_inset CommandInset label
20866 \begin_layout Plain Layout
20868 \begin_inset Tabular
20869 <lyxtabular version="3" rows="1" columns="5">
20870 <features tabularvalignment="middle">
20871 <column alignment="center" valignment="top" width="0">
20872 <column alignment="center" valignment="top" width="0">
20873 <column alignment="center" valignment="top" width="0">
20874 <column alignment="center" valignment="top" width="0">
20875 <column alignment="center" valignment="top" width="0">
20877 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20880 \begin_layout Plain Layout
20886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20889 \begin_layout Plain Layout
20895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20898 \begin_layout Plain Layout
20904 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20907 \begin_layout Plain Layout
20913 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20916 \begin_layout Plain Layout
20933 \begin_inset space \hfill{}
20942 \begin_inset Float table
20947 \begin_layout Plain Layout
20948 \begin_inset Caption
20950 \begin_layout Plain Layout
20951 \begin_inset CommandInset label
20953 name "tab:従属表を縦に並べたもの"
20957 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
20965 \begin_layout Plain Layout
20966 \begin_inset Float table
20971 \begin_layout Plain Layout
20972 \begin_inset Caption
20974 \begin_layout Plain Layout
20983 \begin_layout Plain Layout
20985 \begin_inset Tabular
20986 <lyxtabular version="3" rows="1" columns="4">
20987 <features tabularvalignment="middle">
20988 <column alignment="center" valignment="top" width="0">
20989 <column alignment="center" valignment="top" width="0">
20990 <column alignment="center" valignment="top" width="0">
20991 <column alignment="center" valignment="top" width="0">
20993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20996 \begin_layout Plain Layout
21002 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21005 \begin_layout Plain Layout
21011 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21014 \begin_layout Plain Layout
21020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21023 \begin_layout Plain Layout
21042 \begin_layout Plain Layout
21043 \begin_inset Float table
21048 \begin_layout Plain Layout
21049 \begin_inset Caption
21051 \begin_layout Plain Layout
21060 \begin_layout Plain Layout
21062 \begin_inset Tabular
21063 <lyxtabular version="3" rows="1" columns="5">
21064 <features tabularvalignment="middle">
21065 <column alignment="center" valignment="top" width="0">
21066 <column alignment="center" valignment="top" width="0">
21067 <column alignment="center" valignment="top" width="0">
21068 <column alignment="center" valignment="top" width="0">
21069 <column alignment="center" valignment="top" width="0">
21071 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21074 \begin_layout Plain Layout
21080 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21083 \begin_layout Plain Layout
21089 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21092 \begin_layout Plain Layout
21098 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21101 \begin_layout Plain Layout
21107 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21110 \begin_layout Plain Layout
21134 \begin_layout Section
21136 \begin_inset Index idx
21139 \begin_layout Plain Layout
21140 ふろーと@フロート ! よこならび@横並び
21148 \begin_layout Standard
21150 \begin_inset CommandInset ref
21152 reference "fig:左側のフロート"
21157 \begin_inset CommandInset ref
21159 reference "fig:右側のフロート"
21163 のようにフロートを横並びに配置するには、
21167 フロートのみを使用し、その中に二つのminipageボックスを挿入します
21171 \begin_layout Plain Layout
21173 \begin_inset CommandInset ref
21175 reference "sec:ミニページ"
21185 \begin_inset space \thinspace{}
21189 \begin_inset space \thinspace{}
21192 列幅%とし、各minipageのボックス配置を
21196 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
21200 がここではminipageボックスの幅によって計算されることです。
21203 \begin_layout Standard
21204 \begin_inset Float figure
21209 \begin_layout Plain Layout
21210 \begin_inset Box Frameless
21220 height_special "totalheight"
21223 \begin_layout Plain Layout
21225 \begin_inset Graphics
21226 filename ../clipart/mobius.eps
21229 scaleBeforeRotation
21236 \begin_layout Plain Layout
21237 \begin_inset Caption
21239 \begin_layout Plain Layout
21240 \begin_inset CommandInset label
21257 \begin_inset space \hfill{}
21261 \begin_inset Box Frameless
21271 height_special "totalheight"
21274 \begin_layout Plain Layout
21276 \begin_inset Graphics
21277 filename ../clipart/platypus.eps
21280 scaleBeforeRotation
21287 \begin_layout Plain Layout
21288 \begin_inset Caption
21290 \begin_layout Plain Layout
21291 \begin_inset CommandInset label
21310 \begin_layout Plain Layout
21319 \begin_layout Section
21321 \begin_inset Index idx
21324 \begin_layout Plain Layout
21325 きゃぷしょん@キャプション ! しょしきせってい@書式設定
21331 \begin_inset Index idx
21334 \begin_layout Plain Layout
21335 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
21341 \begin_inset CommandInset label
21343 name "sec:キャプションの書式設定"
21350 \begin_layout Standard
21359 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
21363 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
21367 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
21368 。このキャプション書式は、すべての文書書式に適しているわけではありません。
21371 \begin_layout Standard
21372 既定のキャプション書式を変更するには、文書プリアンブルに
21375 \begin_layout Standard
21380 usepackage[format definition]{caption}
21383 \begin_layout Standard
21384 という行を加えて、LaTeXパッケージ
21389 \begin_inset Index idx
21392 \begin_layout Plain Layout
21393 LaTeXぱっけーじ@LaTeXパッケージ ! caption
21398 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
21401 \begin_layout Standard
21406 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21409 \begin_layout Standard
21410 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
21414 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
21417 \begin_layout Standard
21422 captionsetup[フロート型]{書式定義}
21425 \begin_layout Standard
21426 というコマンドを使用して、個別の書式を指定してください。たとえば、図
21427 \begin_inset CommandInset ref
21429 reference "fig:図キャプション"
21434 \begin_inset CommandInset ref
21436 reference "tab:表キャプション"
21440 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
21443 \begin_layout Standard
21448 usepackage[tableposition=top]{caption}
21451 \begin_inset Newline newline
21458 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21459 \begin_inset Newline newline
21463 \begin_inset Phantom HPhantom
21466 \begin_layout Plain Layout
21469 captionsetup[figure]{
21475 \begin_inset Newline newline
21480 captionsetup[table]{labelfont={bf,sf}}
21483 \begin_layout Standard
21484 \begin_inset Note Greyedout
21487 \begin_layout Plain Layout
21501 \begin_inset Index idx
21504 \begin_layout Plain Layout
21505 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21510 が使われているときには、無効になります。この場合には、文書クラスオプション
21512 captions=tableheading
21522 \begin_layout Standard
21527 パッケージについての詳細は、その取扱説明書
21528 \begin_inset CommandInset citation
21537 \begin_layout Standard
21538 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
21541 \begin_layout Standard
21553 \begin_layout Standard
21567 \begin_layout Standard
21568 \begin_inset VSpace bigskip
21576 \begin_inset Index idx
21579 \begin_layout Plain Layout
21580 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21587 article (KOMA-script)
21595 letter (KOMA-script)
21599 report (KOMA-script)
21613 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
21616 \begin_layout Standard
21621 setkomafont{captionlabel}{
21626 \begin_layout Standard
21638 \begin_inset CommandInset citation
21647 \begin_layout Standard
21651 \begin_layout Plain Layout
21655 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21662 \begin_inset Note Note
21665 \begin_layout Plain Layout
21666 キャプション書式は、この例のみ変更してあります。
21674 \begin_layout Standard
21675 \begin_inset Float figure
21681 \begin_layout Plain Layout
21683 \begin_inset Graphics
21684 filename ../clipart/mobius.eps
21687 scaleBeforeRotation
21694 \begin_layout Plain Layout
21695 \begin_inset Caption
21697 \begin_layout Plain Layout
21698 \begin_inset CommandInset label
21704 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
21717 \begin_layout Standard
21721 \begin_layout Plain Layout
21725 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21734 \begin_layout Standard
21735 \begin_inset Float table
21741 \begin_layout Plain Layout
21742 \begin_inset Caption
21744 \begin_layout Plain Layout
21745 \begin_inset CommandInset label
21751 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
21759 \begin_layout Plain Layout
21761 \begin_inset Tabular
21762 <lyxtabular version="3" rows="1" columns="5">
21763 <features tabularvalignment="middle">
21764 <column alignment="center" valignment="top" width="0">
21765 <column alignment="center" valignment="top" width="0">
21766 <column alignment="center" valignment="top" width="0">
21767 <column alignment="center" valignment="top" width="0">
21768 <column alignment="center" valignment="top" width="0">
21770 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21773 \begin_layout Plain Layout
21779 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21782 \begin_layout Plain Layout
21788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21791 \begin_layout Plain Layout
21797 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21800 \begin_layout Plain Layout
21806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21809 \begin_layout Plain Layout
21828 \begin_layout Section
21830 \begin_inset Index idx
21833 \begin_layout Plain Layout
21834 きゃぷしょん@キャプション ! はいち@配置
21840 \begin_inset Index idx
21843 \begin_layout Plain Layout
21844 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
21850 \begin_inset CommandInset label
21852 name "sec:キャプションの配置"
21859 \begin_layout Standard
21863 \begin_layout Description
21864 図の場合: キャプションを図の下に置く
21867 \begin_layout Description
21868 表の場合: キャプションを表の上に置く
21871 \begin_layout Standard
21872 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
21888 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
21896 \begin_layout Standard
21902 \begin_layout Standard
21907 \begin_layout Plain Layout
21913 \begin_inset CommandInset ref
21915 reference "sec:キャプションの書式設定"
21929 \begin_inset Index idx
21932 \begin_layout Plain Layout
21933 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21940 article (KOMA-script)
21948 letter (KOMA-script)
21952 report (KOMA-script)
21955 \begin_inset space \thinspace{}
21962 パッケージにオプションを与える代わりに、文書クラスオプション
21964 captions=tableheading
21969 \begin_layout Standard
21970 \begin_inset VSpace bigskip
21973 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
21976 \begin_layout Standard
21981 usepackage[option]{sidecap}
21984 \begin_layout Standard
21985 という行を入れて、LaTeXパッケージ
21990 \begin_inset Index idx
21993 \begin_layout Plain Layout
21994 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
21999 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
22003 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
22014 \begin_layout Standard
22018 \begin_layout Plain Layout
22028 \begin_inset Note Note
22031 \begin_layout Plain Layout
22036 が導入されているときのみ表示されます。
22044 \begin_layout Standard
22045 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
22048 \begin_layout Standard
22050 \begin_inset CommandInset line
22061 \begin_layout Standard
22069 \begin_inset Newline newline
22073 \begin_inset Phantom HPhantom
22076 \begin_layout Plain Layout
22079 \begin_inset space ~
22094 \begin_inset Newline newline
22098 \begin_inset Phantom HPhantom
22101 \begin_layout Plain Layout
22104 \begin_inset space ~
22119 \begin_inset Newline newline
22123 \begin_inset Phantom HPhantom
22126 \begin_layout Plain Layout
22129 \begin_inset space ~
22139 renewenvironment{table}{
22146 \begin_layout Standard
22154 \begin_inset Newline newline
22158 \begin_inset Phantom HPhantom
22161 \begin_layout Plain Layout
22164 \begin_inset space ~
22179 \begin_inset Newline newline
22183 \begin_inset Phantom HPhantom
22186 \begin_layout Plain Layout
22189 \begin_inset space ~
22206 \begin_layout Standard
22214 \begin_inset Newline newline
22218 \begin_inset Phantom HPhantom
22221 \begin_layout Plain Layout
22224 \begin_inset space ~
22239 \begin_inset Newline newline
22243 \begin_inset Phantom HPhantom
22246 \begin_layout Plain Layout
22249 \begin_inset space ~
22264 \begin_inset Newline newline
22268 \begin_inset Phantom HPhantom
22271 \begin_layout Plain Layout
22274 \begin_inset space ~
22284 renewenvironment{figure}{
22291 \begin_layout Standard
22299 \begin_inset Newline newline
22303 \begin_inset Phantom HPhantom
22306 \begin_layout Plain Layout
22309 \begin_inset space ~
22324 \begin_inset Newline newline
22328 \begin_inset Phantom HPhantom
22331 \begin_layout Plain Layout
22334 \begin_inset space ~
22351 \begin_layout Standard
22353 \begin_inset CommandInset line
22364 \begin_layout Standard
22365 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
22368 \begin_layout Standard
22376 \begin_layout Standard
22377 というコマンドを、フロートの前にTeXコードで入れてください。本来のフロート定義に戻すには、フロートの後に、TeXコードで
22380 \begin_layout Standard
22388 \begin_layout Standard
22392 \begin_layout Standard
22393 表フロートに対しては、対応するコマンド
22396 \begin_layout Standard
22410 \begin_layout Standard
22412 \begin_inset CommandInset ref
22414 reference "fig:図横キャプション"
22419 \begin_inset CommandInset ref
22421 reference "tab:表横キャプション"
22428 \begin_layout Standard
22429 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
22430 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
22433 \begin_layout Standard
22438 sidecaptionvpos{フロート型}{配置}
22441 \begin_layout Standard
22442 というコマンドを使用します。ここで「フロート型」は
22450 であり、「配置」は、上揃えの場合はtopの
22453 \begin_layout Standard
22466 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
22469 \begin_layout Standard
22474 sidecaptionvpos{figure}{c}
22477 \begin_layout Standard
22478 というコマンドを使用します。これは、図
22479 \begin_inset CommandInset ref
22481 reference "fig:図横キャプション-2"
22488 \begin_layout Standard
22489 \begin_inset VSpace medskip
22497 \begin_inset CommandInset citation
22506 \begin_layout Standard
22507 \begin_inset Note Greyedout
22510 \begin_layout Plain Layout
22516 \begin_inset CommandInset ref
22518 reference "sub:参照位置"
22527 \begin_inset Index idx
22530 \begin_layout Plain Layout
22531 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
22536 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
22544 \begin_layout Standard
22548 \begin_layout Plain Layout
22560 \begin_layout Standard
22561 \begin_inset Float figure
22566 \begin_layout Plain Layout
22567 \begin_inset Graphics
22568 filename ../clipart/escher-lsd.eps
22570 scaleBeforeRotation
22577 \begin_layout Plain Layout
22578 \begin_inset Caption
22580 \begin_layout Plain Layout
22581 \begin_inset CommandInset label
22583 name "fig:図横キャプション"
22600 \begin_layout Standard
22604 \begin_layout Plain Layout
22616 \begin_layout Standard
22617 \begin_inset Float table
22622 \begin_layout Plain Layout
22623 \begin_inset Caption
22625 \begin_layout Plain Layout
22626 \begin_inset CommandInset label
22628 name "tab:表横キャプション"
22640 \begin_layout Plain Layout
22641 \begin_inset Tabular
22642 <lyxtabular version="3" rows="4" columns="5">
22643 <features tabularvalignment="middle">
22644 <column alignment="center" valignment="top" width="0">
22645 <column alignment="center" valignment="top" width="0">
22646 <column alignment="center" valignment="top" width="0">
22647 <column alignment="center" valignment="top" width="0">
22648 <column alignment="center" valignment="top" width="0">
22650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22653 \begin_layout Plain Layout
22659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22662 \begin_layout Plain Layout
22668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22671 \begin_layout Plain Layout
22677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22680 \begin_layout Plain Layout
22686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22689 \begin_layout Plain Layout
22697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22700 \begin_layout Plain Layout
22706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22709 \begin_layout Plain Layout
22715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22718 \begin_layout Plain Layout
22724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22727 \begin_layout Plain Layout
22733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22736 \begin_layout Plain Layout
22744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22747 \begin_layout Plain Layout
22753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22756 \begin_layout Plain Layout
22762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22765 \begin_layout Plain Layout
22771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22774 \begin_layout Plain Layout
22780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22783 \begin_layout Plain Layout
22791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22794 \begin_layout Plain Layout
22800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22803 \begin_layout Plain Layout
22809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22812 \begin_layout Plain Layout
22818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22821 \begin_layout Plain Layout
22827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22830 \begin_layout Plain Layout
22849 \begin_layout Standard
22853 \begin_layout Plain Layout
22865 \begin_layout Standard
22869 \begin_layout Plain Layout
22873 sidecaptionvpos{figure}{c}
22879 \begin_inset Float figure
22884 \begin_layout Plain Layout
22885 \begin_inset Graphics
22886 filename ../clipart/escher-lsd.eps
22888 scaleBeforeRotation
22895 \begin_layout Plain Layout
22896 \begin_inset Caption
22898 \begin_layout Plain Layout
22899 \begin_inset CommandInset label
22901 name "fig:図横キャプション-2"
22905 これは図の横にある縦方向中央揃えのキャプションです。
22918 \begin_layout Standard
22922 \begin_layout Plain Layout
22934 \begin_layout Standard
22938 \begin_layout Plain Layout
22948 \begin_inset Note Note
22951 \begin_layout Plain Layout
22956 が導入されていないときのみ表示されます。
22964 \begin_layout Standard
22965 本節の残りの部分を出力で表示するには、LaTeXパッケージ
22972 \begin_layout Standard
22976 \begin_layout Plain Layout
22988 \begin_layout Section
22990 \begin_inset Index idx
22993 \begin_layout Plain Layout
22994 ふろーと@フロート ! ふろーといちらん@フロート一覧
23002 \begin_layout Standard
23003 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
23005 挿入\SpecialChar \menuseparator
23011 \begin_layout Standard
23012 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
23015 \begin_layout Standard
23016 本文書の終わりに、図一覧と表一覧があります。
23019 \begin_layout Chapter
23023 \begin_layout Section
23025 \begin_inset Index idx
23028 \begin_layout Plain Layout
23029 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
23037 \begin_layout Standard
23039 \begin_inset Graphics
23040 filename ../../images/note-insert.png
23042 scaleBeforeRotation
23048 挿入\SpecialChar \menuseparator
23051 メニューで挿入することができます。注釈には、以下の三つの型があります。
23054 \begin_layout Description
23055 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
23056 \begin_inset Newline newline
23060 \begin_inset Newline newline
23064 \begin_inset Graphics
23065 filename ../clipart/LyXNoteImageQt4.png
23068 scaleBeforeRotation
23073 \begin_inset Note Note
23076 \begin_layout Plain Layout
23077 これは、出力には現れない注釈ボックスに書かれた文章です。
23085 \begin_layout Description
23086 コメント この注釈も出力には現れませんが、
23088 ファイル\SpecialChar \menuseparator
23089 エクスポート\SpecialChar \menuseparator
23090 LaTeX (pdflatex) / (平文)
23092 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
23093 \begin_inset Newline newline
23097 \begin_inset Newline newline
23101 \begin_inset Graphics
23102 filename ../clipart/CommentNoteImageQt4.png
23105 scaleBeforeRotation
23110 \begin_inset Note Comment
23113 \begin_layout Plain Layout
23114 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
23122 \begin_layout Description
23123 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
23124 \begin_inset Newline newline
23128 \begin_inset Newline newline
23132 \begin_inset Graphics
23133 filename ../clipart/GreyedOutNoteImageQt4.png
23136 scaleBeforeRotation
23141 \begin_inset Newline newline
23148 \begin_layout Plain Layout
23152 renewenvironment{lyxgreyedout}
23155 \begin_layout Plain Layout
23159 textcolor[gray]{0.8}
23169 \begin_inset Note Greyedout
23172 \begin_layout Plain Layout
23173 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
23177 \begin_layout Plain Layout
23178 これは、淡色表示注釈内に脚注を用いた例です。
23192 \begin_layout Plain Layout
23196 renewenvironment{lyxgreyedout}
23199 \begin_layout Plain Layout
23213 \begin_inset Note Note
23216 \begin_layout Plain Layout
23217 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
23224 \begin_inset Newline newline
23228 \begin_inset Newline newline
23231 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
23234 \begin_layout Standard
23235 \begin_inset VSpace bigskip
23239 \begin_inset Graphics
23240 filename ../../images/note-insert.png
23242 scaleBeforeRotation
23250 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
23251 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
23255 \begin_layout Standard
23256 \begin_inset VSpace bigskip
23259 淡色注釈の文字色は、プリアンブルに以下のコマンドを置くことで変更することができます。
23262 \begin_layout Standard
23267 renewenvironment{lyxgreyedout}
23268 \begin_inset Newline newline
23272 \begin_inset Phantom HPhantom
23275 \begin_layout Plain Layout
23278 \begin_inset space ~
23295 \begin_layout Standard
23296 使用できる色彩名と、自製色の定義の仕方は、第
23297 \begin_inset CommandInset ref
23299 reference "sec:色付きの表"
23306 \begin_layout Standard
23307 本文書で青で表示されている注釈は、青文字に設定した淡色表示注釈を使用しています。
23310 \begin_layout Section
23312 \begin_inset CommandInset label
23319 \begin_inset Index idx
23322 \begin_layout Plain Layout
23323 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
23329 \begin_inset Index idx
23332 \begin_layout Plain Layout
23341 \begin_layout Standard
23343 \begin_inset Graphics
23344 filename ../../images/footnote-insert.png
23346 scaleBeforeRotation
23352 挿入\SpecialChar \menuseparator
23355 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
23356 \begin_inset Graphics
23357 filename clipart/footnoteQt4.png
23359 scaleBeforeRotation
23363 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
23364 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
23367 \begin_layout Standard
23372 \begin_layout Plain Layout
23373 \begin_inset CommandInset label
23388 \begin_layout Plain Layout
23392 newcounter{MyRepeatFoot}
23395 \begin_layout Plain Layout
23399 setcounter{MyRepeatFoot}{
23409 \begin_layout Standard
23410 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
23411 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
23414 \begin_layout Standard
23415 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
23416 \begin_inset CommandInset ref
23418 reference "sec:フロートの参照"
23422 節に説明されているようにして、本文中でこのラベルを相互参照してください。
23423 \begin_inset Newline newline
23427 \begin_inset CommandInset ref
23429 reference "fn:これは脚注の一例"
23436 \begin_layout Standard
23437 \begin_inset VSpace defskip
23443 \begin_layout Standard
23446 Footnotes in tables are not printed by LaTeX due to technical reasons.
23447 However there exists another method to print them: Instead of the footnote
23454 is inserted as TeX-code.
23455 The text of the footnote is entered as an argument of the TeX-code command
23463 \begin_inset Newline newline
23466 This was done for the following table with the command
23469 \begin_layout Standard
23477 Printed table footnote.
23482 \begin_layout Standard
23485 \begin_inset Tabular
23486 <lyxtabular version="3" rows="2" columns="1">
23487 <features tabularvalignment="middle">
23488 <column alignment="center" valignment="top" width="0">
23490 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23493 \begin_layout Plain Layout
23496 This an example text.
23500 \begin_layout Plain Layout
23503 This footnote will not be printed!
23515 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23518 \begin_layout Plain Layout
23521 This an example text.
23525 \begin_layout Plain Layout
23548 \begin_layout Plain Layout
23557 Printed table footnote.
23561 \begin_layout Plain Layout
23571 \begin_layout Standard
23574 Footnotes in longtables are described in section
23575 \begin_inset space ~
23581 \begin_inset CommandInset ref
23583 reference "sub:長尺表での脚注"
23592 \begin_layout Standard
23595 Footnotes in minipage boxes are printed, but inside the box and with a different
23596 numbering because a minipage box is like a page inside a page.
23597 (For more about minipages, see section
23598 \begin_inset space ~
23604 \begin_inset CommandInset ref
23606 reference "sec:ミニページ"
23612 .) To get a footnote in the minipage that is output at the bottom of the
23613 page like normal footnotes, also use the method of
23628 \begin_layout Standard
23631 \begin_inset Box Frameless
23641 height_special "totalheight"
23644 \begin_layout Plain Layout
23647 This an example text in a minipage.
23651 \begin_layout Plain Layout
23654 Footnote in the minipage.
23662 \begin_layout Plain Layout
23665 This an example text in a minipage.
23669 \begin_layout Plain Layout
23686 \begin_layout Standard
23692 \begin_layout Plain Layout
23701 Footnote outside the minipage.
23705 \begin_layout Plain Layout
23715 \begin_layout Standard
23718 \begin_inset VSpace defskip
23724 \begin_layout Standard
23727 To refer to the same footnote several times without printing the footnote
23728 text every time, use the command
23732 footnotemark[number]
23735 \begin_inset Newline newline
23738 As you do not know the number of the repeating footnote while you are writing
23739 the text, you have to store its number.
23740 For the following footnote mark example, these commands were inserted in
23741 TeX-code after Footnote
23742 \begin_inset space ~
23748 \begin_inset CommandInset ref
23750 reference "fn:これは脚注の一例"
23756 to store the footnote number:
23759 \begin_layout Standard
23765 newcounter{MyRepeatFoot}
23766 \begin_inset Newline newline
23771 setcounter{MyRepeatFoot}{
23776 \begin_layout Standard
23779 The footnote mark was then created with this command:
23782 \begin_layout Standard
23793 \begin_layout Standard
23796 Here is a repeated footnote:
23804 \begin_layout Plain Layout
23818 \begin_layout Standard
23821 If you want to repeat the previous footnote, you can omit the storage of
23822 the footnote number and just use this command instead:
23825 \begin_layout Standard
23836 \begin_layout Standard
23839 Here is another repeated footnote:
23847 \begin_layout Plain Layout
23861 \begin_layout Subsection
23863 \begin_inset CommandInset label
23870 \begin_inset Index idx
23873 \begin_layout Plain Layout
23882 \begin_layout Standard
23883 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
23886 \begin_layout Standard
23891 @addtoreset{footnote}{section}
23894 \begin_layout Standard
23898 \begin_layout Standard
23899 \begin_inset VSpace bigskip
23902 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
23905 \begin_layout Standard
23917 \begin_layout Standard
23921 \begin_layout Plain Layout
23938 \begin_layout Plain Layout
23939 これは、ローマ数字を使った脚注の例です。
23947 \begin_layout Standard
23948 付番様式を大文字ローマ数字に変更するには、上記コマンドの
23960 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
23972 を使用してください。記号を使って付「番」するには、
23981 \begin_layout Standard
23982 \begin_inset Note Greyedout
23985 \begin_layout Plain Layout
23990 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
23996 \begin_inset Newline newline
24000 \begin_inset Note Greyedout
24003 \begin_layout Plain Layout
24008 記号を使うと9個の脚注しか番号を振ることができません。
24016 \begin_layout Standard
24017 付番様式を変更した後、既定様式に戻すには、上記コマンドの
24033 \begin_layout Plain Layout
24049 \begin_layout Standard
24050 \begin_inset VSpace bigskip
24056 \begin_layout Standard
24057 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
24060 \begin_layout Standard
24065 numberwithin{footnote}{chapter}
24068 \begin_layout Standard
24075 コマンドを使用できるようにするためには、文書設定の
24082 \begin_inset space ~
24090 \begin_layout Standard
24094 \begin_layout Plain Layout
24098 numberwithin{footnote}{chapter}
24109 \begin_layout Plain Layout
24114 「章番号.脚注番号」スキームで番号を振られた脚注です。
24125 \begin_layout Plain Layout
24141 \begin_layout Standard
24142 \begin_inset Note Greyedout
24145 \begin_layout Plain Layout
24152 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
24160 \begin_layout Standard
24163 Roman{footnote}」スキームを得るには、
24169 の代わりに以下のコマンドを使用してください。
24172 \begin_layout Standard
24186 \begin_layout Subsection
24188 \begin_inset Index idx
24191 \begin_layout Plain Layout
24200 \begin_layout Standard
24201 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
24203 \begin_inset space \thinspace{}
24209 \begin_layout Standard
24219 \begin_inset Newline newline
24233 \begin_layout Standard
24234 \begin_inset VSpace bigskip
24237 二段組文書では、脚注は各段底部に表示されます(図
24238 \begin_inset CommandInset ref
24240 reference "fig:標準的脚注配置"
24245 \begin_inset CommandInset ref
24247 reference "fig:ftnright脚注配置"
24251 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
24254 \begin_layout Standard
24259 usepackage{ftnright}
24262 \begin_layout Standard
24263 というコマンドを書いて、LaTeXパッケージ
24268 \begin_inset Index idx
24271 \begin_layout Plain Layout
24272 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
24278 \begin_inset Float figure
24284 \begin_layout Plain Layout
24288 \begin_layout Plain Layout
24298 \begin_inset Graphics
24299 filename ../clipart/without_fntright.pdf
24301 scaleBeforeRotation
24309 \begin_layout Plain Layout
24319 \begin_layout Plain Layout
24320 \begin_inset Caption
24322 \begin_layout Plain Layout
24323 \begin_inset CommandInset label
24342 \begin_layout Standard
24343 \begin_inset Float figure
24349 \begin_layout Plain Layout
24353 \begin_layout Plain Layout
24363 \begin_inset Graphics
24364 filename ../clipart/with_fntright.pdf
24366 scaleBeforeRotation
24374 \begin_layout Plain Layout
24384 \begin_layout Plain Layout
24385 \begin_inset Caption
24387 \begin_layout Plain Layout
24388 \begin_inset CommandInset label
24390 name "fig:ftnright脚注配置"
24411 \begin_layout Standard
24412 \begin_inset VSpace bigskip
24416 \begin_inset CommandInset ref
24422 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
24423 \begin_inset Index idx
24426 \begin_layout Plain Layout
24432 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
24434 文書\SpecialChar \menuseparator
24435 設定\SpecialChar \menuseparator
24442 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
24445 \begin_layout Standard
24453 \begin_layout Standard
24457 \begin_layout Standard
24458 \begin_inset Float figure
24463 \begin_layout Plain Layout
24468 \begin_layout Plain Layout
24478 \begin_inset Graphics
24479 filename ../clipart/endnotes.pdf
24480 scaleBeforeRotation
24488 \begin_layout Plain Layout
24498 \begin_layout Plain Layout
24499 \begin_inset Caption
24501 \begin_layout Plain Layout
24502 \begin_inset CommandInset label
24508 後注 – 注を節ないし章末に別段落として印字します。
24521 \begin_layout Standard
24522 \begin_inset VSpace medskip
24525 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
24528 \begin_layout Standard
24535 notesname}{Anmerkungen}
24538 \begin_layout Standard
24539 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
24542 \begin_layout Standard
24543 \begin_inset VSpace medskip
24547 \begin_inset CommandInset ref
24549 reference "sub:脚注の付番"
24553 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
24565 を用いてください。後注番号をリセットするには、第
24566 \begin_inset CommandInset ref
24568 reference "sub:脚注の付番"
24589 \begin_layout Standard
24591 \begin_inset CommandInset ref
24612 \begin_layout Standard
24613 \begin_inset VSpace bigskip
24616 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
24621 \begin_inset Index idx
24624 \begin_layout Plain Layout
24625 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
24631 \begin_inset CommandInset citation
24640 \begin_layout Standard
24641 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
24642 \begin_inset CommandInset citation
24644 key "latexcompanion,latexguide,latexbook"
24651 \begin_layout Section
24653 \begin_inset Index idx
24656 \begin_layout Plain Layout
24657 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
24665 \begin_layout Standard
24666 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
24668 挿入\SpecialChar \menuseparator
24672 \begin_inset Graphics
24673 filename ../../images/marginalnote-insert.png
24675 scaleBeforeRotation
24679 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
24682 \begin_layout Standard
24684 \begin_inset Marginal
24687 \begin_layout Plain Layout
24696 \begin_layout Standard
24697 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
24698 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
24701 \begin_layout Standard
24702 \begin_inset VSpace bigskip
24705 傍注を内側余白に置くには、傍注の前にTeXコードで
24708 \begin_layout Standard
24716 \begin_layout Standard
24717 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
24721 \begin_layout Plain Layout
24731 \begin_inset Marginal
24734 \begin_layout Plain Layout
24743 \begin_inset Newline newline
24749 \begin_inset Note Greyedout
24752 \begin_layout Plain Layout
24753 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
24761 \begin_layout Standard
24765 \begin_layout Standard
24773 \begin_layout Standard
24778 \begin_layout Plain Layout
24788 \begin_inset Note Greyedout
24791 \begin_layout Plain Layout
24798 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
24806 \begin_layout Standard
24807 \begin_inset VSpace bigskip
24811 \begin_inset Marginal
24814 \begin_layout Plain Layout
24815 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
24821 \begin_inset CommandInset ref
24823 reference "sub:複数行"
24827 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
24828 \begin_inset space \thinspace{}
24832 \begin_inset Marginal
24835 \begin_layout Plain Layout
24836 \begin_inset space \hspace*{}
24840 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
24848 \begin_layout Standard
24849 \begin_inset VSpace bigskip
24855 \begin_layout Standard
24856 \begin_inset Note Greyedout
24859 \begin_layout Plain Layout
24864 通常、傍注は表やフロート、脚注の中では使用することができません。
24872 \begin_layout Standard
24873 \begin_inset VSpace bigskip
24879 \begin_layout Standard
24883 \begin_layout Plain Layout
24893 \begin_inset Note Note
24896 \begin_layout Plain Layout
24901 が導入されているときのみ表示されます。
24909 \begin_layout Standard
24915 \begin_inset Index idx
24918 \begin_layout Plain Layout
24919 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
24924 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
24928 パッケージが提供するコマンドを使うようになります。
24931 \begin_layout Standard
24936 usepackage{marginnote}
24937 \begin_inset Newline newline
24949 \begin_layout Standard
24954 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
24958 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
24959 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
24962 \begin_layout Standard
24968 \begin_layout Standard
24969 という形で書くことで設定することができます。ここで「オフセット」には、表
24970 \begin_inset CommandInset ref
24976 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
24981 \begin_inset space \thinspace{}
24985 \begin_inset Marginal
24988 \begin_layout Plain Layout
24990 \begin_inset space \thinspace{}
25002 \begin_layout Plain Layout
25012 \begin_layout Standard
25013 \begin_inset VSpace medskip
25020 を使うと、傍注の揃えを変更することもできます。たとえば、
25023 \begin_layout Standard
25030 raggedleftmarginnote}{
25033 \begin_inset Newline newline
25040 raggedrightmarginnote}{
25045 \begin_layout Standard
25046 というコマンドを使うと、中央揃えになります。
25050 raggedleftmarginnote
25052 とは、左側に表示されている傍注のことを指します
25056 \begin_layout Plain Layout
25062 raggedleftmarginnote}{
25067 \begin_layout Plain Layout
25073 raggedrightmarginnote}{
25081 \begin_inset Marginal
25084 \begin_layout Plain Layout
25085 この傍注の文章は中央揃えになっています。
25093 \begin_layout Standard
25100 raggedleftmarginnote}{
25103 \begin_inset Newline newline
25110 raggedrightmarginnote}{
25118 \begin_layout Plain Layout
25124 raggedleftmarginnote}{
25129 \begin_layout Plain Layout
25135 raggedrightmarginnote}{
25145 \begin_layout Standard
25149 \begin_layout Standard
25150 \begin_inset VSpace medskip
25158 \begin_inset CommandInset citation
25167 \begin_layout Standard
25168 \begin_inset VSpace bigskip
25171 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
25179 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
25182 \begin_layout Standard
25192 \begin_inset Newline newline
25202 \begin_inset Newline newline
25206 \begin_inset Phantom HPhantom
25209 \begin_layout Plain Layout
25212 \begin_inset space ~
25229 \begin_inset Newline newline
25233 \begin_inset Phantom HPhantom
25236 \begin_layout Plain Layout
25239 \begin_inset space ~
25256 \begin_layout Standard
25260 \begin_layout Plain Layout
25271 \begin_layout Plain Layout
25282 \begin_layout Plain Layout
25293 \begin_layout Plain Layout
25307 \begin_inset Marginal
25310 \begin_layout Plain Layout
25311 これは、定義したヘッダをつけた傍注です。
25320 \begin_layout Plain Layout
25331 \begin_layout Plain Layout
25345 \begin_inset Note Note
25348 \begin_layout Plain Layout
25349 傍注書式は、この例の分だけ変更してあります。
25357 \begin_layout Standard
25361 \begin_layout Plain Layout
25371 \begin_inset Note Note
25374 \begin_layout Plain Layout
25379 が導入されていないときのみ表示されます。
25387 \begin_layout Standard
25388 本節の以下の部分を出力に表示するには、LaTeXパッケージ
25395 \begin_layout Standard
25399 \begin_layout Plain Layout
25411 \begin_layout Chapter
25415 \begin_layout Section
25417 \begin_inset Index idx
25420 \begin_layout Plain Layout
25429 \begin_layout Standard
25430 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
25431 \begin_inset CommandInset ref
25433 reference "sec:ミニページ"
25438 \begin_inset CommandInset ref
25444 節参照)、単語がハイフネートされるのを予防したり(第
25445 \begin_inset CommandInset ref
25447 reference "sec:ハイフネーションの回避"
25452 \begin_inset CommandInset ref
25454 reference "sub:垂直揃え"
25458 節参照)、あるいは文章の背景色を設定したり(第
25459 \begin_inset CommandInset ref
25461 reference "sec:色付きボックス"
25468 \begin_layout Standard
25471 挿入\SpecialChar \menuseparator
25475 \begin_inset Graphics
25476 filename ../../images/box-insert.png
25478 scaleBeforeRotation
25482 を使って挿入することができます。すると、
25483 \begin_inset Graphics
25484 filename ../clipart/BoxInsetDefaultQt4.png
25486 scaleBeforeRotation
25494 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
25498 メニューを選択すると現れるボックスダイアログでは、
25514 型は、新規ボックスの既定値となっており、第
25515 \begin_inset CommandInset ref
25517 reference "sec:ミニページ"
25526 \begin_inset CommandInset ref
25528 reference "sec:Parboxes"
25541 \begin_inset CommandInset ref
25543 reference "sec:ハイフネーションの回避"
25550 \begin_layout Standard
25551 ボックスは付番されないので、フロートや脚注のように参照することはできません。
25554 \begin_layout Standard
25555 \begin_inset Note Greyedout
25558 \begin_layout Plain Layout
25567 環境の単独要素とすべきではありません。
25575 \begin_layout Standard
25576 \begin_inset Note Greyedout
25579 \begin_layout Plain Layout
25580 【註】理由は不明ですが、枠付きボックスを使用している場合には、
25593 \begin_inset CommandInset ref
25595 reference "sec:ハイフネーションの回避"
25607 \begin_layout Section
25609 \begin_inset CommandInset label
25611 name "sec:ボックスダイアログ"
25616 \begin_inset Index idx
25619 \begin_layout Plain Layout
25620 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
25628 \begin_layout Subsection
25630 \begin_inset Index idx
25633 \begin_layout Plain Layout
25634 ぼっくす@ボックス ! すんぽう@寸法
25642 \begin_layout Standard
25651 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
25652 \begin_inset CommandInset ref
25662 フィールドには、加えて以下の寸法を使用することができます。
25665 \begin_layout Description
25666 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
25667 \begin_inset Newline newline
25671 \begin_inset Newline newline
25675 \begin_inset Newline newline
25679 \begin_inset Box Boxed
25689 height_special "depth"
25692 \begin_layout Plain Layout
25700 \begin_inset Newline newline
25704 \begin_inset Newline newline
25710 \begin_layout Description
25711 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
25712 \begin_inset Box Boxed
25722 height_special "height"
25725 \begin_layout Plain Layout
25735 \begin_layout Description
25737 \begin_inset Box Boxed
25747 height_special "totalheight"
25750 \begin_layout Plain Layout
25760 \begin_layout Description
25761 幅 これはボックスの幅を高さに設定します。
25762 \begin_inset Box Boxed
25772 height_special "width"
25775 \begin_layout Plain Layout
25785 \begin_layout Subsection
25787 \begin_inset Index idx
25790 \begin_layout Plain Layout
25791 ぼっくす@ボックス ! もじそろえ@文字揃え
25799 \begin_layout Standard
25804 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
25807 \begin_layout Description
25809 \begin_inset Box Boxed
25819 height_special "totalheight"
25822 \begin_layout Plain Layout
25832 \begin_layout Description
25834 \begin_inset Box Boxed
25844 height_special "totalheight"
25847 \begin_layout Plain Layout
25857 \begin_layout Description
25859 \begin_inset Box Boxed
25869 height_special "totalheight"
25872 \begin_layout Plain Layout
25882 \begin_layout Standard
25883 \begin_inset Note Greyedout
25886 \begin_layout Plain Layout
25891 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
25899 \begin_layout Standard
25900 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
25903 \begin_layout Standard
25904 \begin_inset VSpace bigskip
25911 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
25914 \begin_layout Description
25916 \begin_inset Box Boxed
25926 height_special "totalheight"
25929 \begin_layout Plain Layout
25939 \begin_layout Description
25941 \begin_inset Box Boxed
25951 height_special "totalheight"
25954 \begin_layout Plain Layout
25964 \begin_layout Description
25966 \begin_inset Box Boxed
25976 height_special "totalheight"
25979 \begin_layout Plain Layout
25989 \begin_layout Description
25990 広げる これは例示のための本文行です。
25991 \begin_inset Box Boxed
26001 height_special "totalheight"
26004 \begin_layout Plain Layout
26009 \begin_layout Plain Layout
26014 \begin_layout Plain Layout
26024 \begin_layout Standard
26025 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
26028 \begin_layout Standard
26029 \begin_inset VSpace bigskip
26036 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
26039 \begin_layout Standard
26041 \begin_inset Box Boxed
26051 height_special "totalheight"
26054 \begin_layout Plain Layout
26059 \begin_layout Plain Layout
26064 \begin_layout Plain Layout
26074 \begin_layout Standard
26079 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
26082 \begin_layout Standard
26084 \begin_inset Box Boxed
26094 height_special "totalheight"
26097 \begin_layout Plain Layout
26099 このボックスの文章は水平方向に広げてあります。
26107 \begin_layout Subsection
26109 \begin_inset CommandInset label
26116 \begin_inset Index idx
26119 \begin_layout Plain Layout
26120 ぼっくす@ボックス ! そうしょく@装飾
26128 \begin_layout Standard
26133 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
26136 \begin_layout Description
26140 \begin_inset space ~
26143 frame Nothing is drawn.
26146 \begin_layout Description
26147 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
26154 \begin_inset Box Boxed
26164 height_special "totalheight"
26167 \begin_layout Plain Layout
26177 \begin_layout Description
26178 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
26179 \begin_inset space \thinspace{}
26183 \begin_inset Box ovalbox
26193 height_special "totalheight"
26196 \begin_layout Plain Layout
26206 \begin_layout Description
26207 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
26208 \begin_inset space \thinspace{}
26212 \begin_inset Box Ovalbox
26222 height_special "totalheight"
26225 \begin_layout Plain Layout
26235 \begin_layout Description
26236 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
26243 \begin_inset space \thinspace{}
26247 \begin_inset Box Shadowbox
26257 height_special "totalheight"
26260 \begin_layout Plain Layout
26270 \begin_layout Description
26271 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
26275 \begin_layout Plain Layout
26277 \begin_inset CommandInset ref
26279 reference "sec:色付きボックス"
26288 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
26289 \begin_inset Box Shaded
26299 height_special "totalheight"
26302 \begin_layout Plain Layout
26311 \begin_layout Description
26312 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
26313 \begin_inset space \thinspace{}
26323 \begin_inset space \thinspace{}
26333 \begin_inset space \thinspace{}
26343 \begin_inset space \thinspace{}
26347 \begin_inset space \thinspace{}
26351 \begin_inset space \thinspace{}
26355 \begin_inset Box Doublebox
26365 height_special "totalheight"
26368 \begin_layout Plain Layout
26378 \begin_layout Standard
26379 \begin_inset VSpace bigskip
26382 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
26387 \begin_inset Index idx
26390 \begin_layout Plain Layout
26391 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
26399 \begin_layout Standard
26400 \begin_inset VSpace bigskip
26407 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
26427 \begin_inset Box Framed
26437 height_special "totalheight"
26440 \begin_layout Plain Layout
26449 \begin_layout Section
26451 \begin_inset Index idx
26454 \begin_layout Plain Layout
26455 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
26463 \begin_layout Standard
26471 \begin_inset space \thinspace{}
26474 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
26475 \begin_inset space \thinspace{}
26481 \begin_layout Standard
26491 \begin_layout Standard
26495 \begin_layout Plain Layout
26507 \begin_inset Box Boxed
26517 height_special "totalheight"
26520 \begin_layout Plain Layout
26529 \begin_inset space \thinspace{}
26533 \begin_inset space \thinspace{}
26537 \begin_inset space \thinspace{}
26549 \begin_layout Plain Layout
26563 \begin_layout Standard
26564 \begin_inset VSpace bigskip
26567 枠とボックスの内容との空白は、すべての枠様式について3
26568 \begin_inset space \thinspace{}
26571 ptが既定値になっています。これは、長さ
26577 を別の値に設定することによって変更することができます。たとえば
26580 \begin_layout Standard
26590 \begin_layout Standard
26592 \begin_inset space \thinspace{}
26595 ptにし、以下のボックスのようになります。
26598 \begin_layout Standard
26602 \begin_layout Plain Layout
26614 \begin_inset Box Boxed
26624 height_special "totalheight"
26627 \begin_layout Plain Layout
26636 \begin_inset space \thinspace{}
26640 \begin_inset space \thinspace{}
26644 \begin_inset space \thinspace{}
26656 \begin_layout Plain Layout
26670 \begin_layout Standard
26671 \begin_inset VSpace bigskip
26674 楕円形ボックスの丸い角の直径は、コマンド
26683 \begin_layout Standard
26691 \begin_layout Standard
26693 \begin_inset space \thinspace{}
26699 \begin_layout Standard
26707 \begin_layout Standard
26711 \begin_inset space \thinspace{}
26715 \begin_inset space \thinspace{}
26729 \begin_layout Standard
26733 \begin_layout Plain Layout
26743 \begin_inset Box Ovalbox
26753 height_special "totalheight"
26756 \begin_layout Plain Layout
26765 \begin_inset space \thinspace{}
26769 \begin_inset space \thinspace{}
26773 \begin_inset space \thinspace{}
26785 \begin_layout Plain Layout
26797 \begin_layout Standard
26798 \begin_inset VSpace bigskip
26807 を変更することで調整できます。以下のボックスでは
26810 \begin_layout Standard
26820 \begin_layout Standard
26822 \begin_inset space \thinspace{}
26828 \begin_layout Standard
26832 \begin_layout Plain Layout
26844 \begin_inset Box Shadowbox
26854 height_special "totalheight"
26857 \begin_layout Plain Layout
26866 \begin_inset space \thinspace{}
26870 \begin_inset space \thinspace{}
26874 \begin_inset space \thinspace{}
26886 \begin_layout Plain Layout
26900 \begin_layout Standard
26901 \begin_inset VSpace bigskip
26907 \begin_layout Standard
26915 \begin_inset space \thinspace{}
26918 ptです。ボックスの中身と枠の間の空白の既定値は9
26919 \begin_inset space \thinspace{}
26928 の値を変えることで変更することができます。たとえば、下記の
26935 \begin_layout Standard
26943 \begin_inset Newline newline
26953 \begin_layout Standard
26954 というTeXコードコマンドで設定してあります。
26958 \begin_layout Plain Layout
26967 \begin_layout Plain Layout
26979 \begin_inset Box Framed
26989 height_special "totalheight"
26992 \begin_layout Plain Layout
27006 \begin_layout Plain Layout
27015 \begin_layout Plain Layout
27029 \begin_layout Standard
27030 \begin_inset VSpace bigskip
27036 \begin_layout Standard
27041 ボックスでは、ボックスの内容と枠の余白の既定値は3
27042 \begin_inset space \thinspace{}
27051 の値を変更することで変えられます。既定の背景色である赤色は、
27055 definecolor{shadebox}
27057 コマンドで局所的に変更することもできますし、
27059 ツール\SpecialChar \menuseparator
27060 設定\SpecialChar \menuseparator
27061 色\SpecialChar \menuseparator
27064 メニューからグローバルに変更することもできます。
27071 \begin_inset CommandInset ref
27073 reference "sec:色付きの表"
27081 \begin_layout Plain Layout
27092 をプリアンブルに読み込む必要があります。第
27093 \begin_inset CommandInset ref
27095 reference "sec:色付きボックス"
27107 \begin_layout Standard
27108 たとえば、下記の影付き背景ボックスの外見は
27111 \begin_layout Standard
27121 \begin_inset Newline newline
27128 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
27131 \begin_layout Standard
27132 というTeXコードコマンドを使って設定してあります。
27135 \begin_layout Standard
27139 \begin_layout Plain Layout
27148 \begin_layout Plain Layout
27152 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
27158 \begin_inset Box Shaded
27168 height_special "totalheight"
27171 \begin_layout Plain Layout
27187 \begin_layout Plain Layout
27196 \begin_layout Plain Layout
27200 definecolor{shadecolor}{rgb}{1,0,0}
27208 \begin_layout Standard
27209 \begin_inset VSpace bigskip
27212 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
27215 \begin_layout Section
27217 \begin_inset CommandInset label
27224 \begin_inset Index idx
27227 \begin_layout Plain Layout
27228 ぼっくす@ボックス ! みにぺーじ@ミニページ
27236 \begin_layout Standard
27237 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
27240 \begin_layout Standard
27241 ミニページは、複数の言語を含む文書を執筆する際に便利です。
27244 \begin_layout Standard
27245 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
27249 \SpecialChar \menuseparator
27254 \SpecialChar \menuseparator
27259 メニューで挿入した水平フィルで隔てられています。
27260 \begin_inset Newpage newpage
27266 \begin_layout Standard
27267 \begin_inset Box Frameless
27277 height_special "totalheight"
27280 \begin_layout Plain Layout
27281 Dies ist ein deutscher Text.
27282 Dies ist ein deutscher Text.
27283 Dies ist ein deutscher Text.
27284 Dies ist ein deutscher Text.
27285 Dies ist ein deutscher Text.
27286 Dies ist ein deutscher Text.
27287 Dies ist ein deutscher Text.
27288 Dies ist ein deutscher Text.
27289 Dies ist ein deutscher Text.
27290 Dies ist ein deutscher Text.
27291 Dies ist ein deutscher Text.
27292 Dies ist ein deutscher Text.
27293 Dies ist ein deutscher Text
27297 \begin_layout Plain Layout
27298 Dies ist eine deutsche Fußnote.
27304 Dies ist ein deutscher Text.
27305 Dies ist ein deutscher Text.
27311 \begin_inset space \hfill{}
27315 \begin_inset Box Frameless
27325 height_special "totalheight"
27328 \begin_layout Plain Layout
27329 This is an English Text.
27330 This is an English Text.
27331 This is an English Text.
27332 This is an English Text.
27333 This is an English Text.
27334 This is an English Text.
27335 This is an English Text.
27336 This is an English Text.
27337 This is an English Text.
27338 This is an English Text.
27339 This is an English Text.
27340 This is an English Text.
27341 This is an English Text.
27342 This is an English Text.
27343 This is an English Text.
27344 This is an English Text.
27348 \begin_layout Plain Layout
27349 This is an English footnote.
27354 This is an English Text.
27363 \begin_layout Standard
27364 \begin_inset VSpace bigskip
27367 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
27368 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
27371 \begin_layout Standard
27373 \begin_inset Tabular
27374 <lyxtabular version="3" rows="3" columns="4">
27375 <features tabularvalignment="middle">
27376 <column alignment="center" valignment="top" width="0pt">
27377 <column alignment="center" valignment="top" width="0pt">
27378 <column alignment="center" valignment="top" width="0pt">
27379 <column alignment="center" valignment="top" width="0pt">
27381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27384 \begin_layout Plain Layout
27390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27393 \begin_layout Plain Layout
27399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27402 \begin_layout Plain Layout
27407 \begin_layout Plain Layout
27418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27421 \begin_layout Plain Layout
27429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27432 \begin_layout Plain Layout
27438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27441 \begin_layout Plain Layout
27447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27450 \begin_layout Plain Layout
27456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27459 \begin_layout Plain Layout
27467 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27470 \begin_layout Plain Layout
27476 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27479 \begin_layout Plain Layout
27485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27488 \begin_layout Plain Layout
27494 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27497 \begin_layout Plain Layout
27511 \begin_layout Standard
27513 \begin_inset Box Frameless
27523 height_special "totalheight"
27526 \begin_layout Plain Layout
27528 \begin_inset Tabular
27529 <lyxtabular version="3" rows="3" columns="4">
27530 <features tabularvalignment="middle">
27531 <column alignment="center" valignment="top" width="0pt">
27532 <column alignment="center" valignment="top" width="0pt">
27533 <column alignment="center" valignment="top" width="0pt">
27534 <column alignment="center" valignment="top" width="0pt">
27536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27539 \begin_layout Plain Layout
27545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27548 \begin_layout Plain Layout
27554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27557 \begin_layout Plain Layout
27562 \begin_layout Plain Layout
27573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27576 \begin_layout Plain Layout
27584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27587 \begin_layout Plain Layout
27593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27596 \begin_layout Plain Layout
27602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27605 \begin_layout Plain Layout
27611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27614 \begin_layout Plain Layout
27622 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27625 \begin_layout Plain Layout
27631 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27634 \begin_layout Plain Layout
27640 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27643 \begin_layout Plain Layout
27649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27652 \begin_layout Plain Layout
27671 \begin_layout Standard
27672 \begin_inset VSpace bigskip
27675 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
27679 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
27682 \begin_layout Standard
27683 ミニページは、文章部に背景色を与えるのに使用することもできます。第
27684 \begin_inset CommandInset ref
27686 reference "sub:段落の着色"
27693 \begin_layout Standard
27694 \begin_inset Note Greyedout
27697 \begin_layout Plain Layout
27702 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
27710 \begin_layout Section
27712 \begin_inset CommandInset label
27714 name "sec:Parboxes"
27719 \begin_inset Index idx
27722 \begin_layout Plain Layout
27723 ぼっくす@ボックス ! Parboxes
27731 \begin_layout Standard
27732 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
27735 \begin_layout Standard
27737 \begin_inset Box Frameless
27747 height_special "totalheight"
27750 \begin_layout Plain Layout
27751 これはparbox内の文章です。これはparbox内の文章です。
27754 \begin_layout Plain Layout
27759 \begin_layout Plain Layout
27760 これはparbox内の脚注であり、したがって表示はされません。
27773 \begin_layout Section
27775 \begin_inset Index idx
27778 \begin_layout Plain Layout
27779 ぼっくす@ボックス ! もじよう@文字用
27787 \begin_layout Subsection
27789 \begin_inset CommandInset label
27791 name "sec:ハイフネーションの回避"
27796 \begin_inset Index idx
27799 \begin_layout Plain Layout
27800 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
27808 \begin_layout Standard
27811 You can use the box type
27815 to prevent words or text from being hyphenated.
27818 \begin_inset Newline newline
27824 \begin_layout Standard
27825 This line is an example to show how you can prevent the hyphenation of
27826 \begin_inset Quotes eld
27830 \begin_inset Quotes erd
27836 \begin_layout Standard
27839 To prevent the hyphenation of the word
27840 \begin_inset Quotes eld
27844 \begin_inset Quotes erd
27847 , put the word into a box, set the
27850 \begin_inset space ~
27860 \begin_inset space \thinspace{}
27866 \begin_layout Standard
27870 \begin_layout Standard
27871 This line is an example to show how you can prevent the hyphenation of
27872 \begin_inset Box Frameless
27882 height_special "totalheight"
27885 \begin_layout Plain Layout
27886 \begin_inset Quotes eld
27890 \begin_inset Quotes erd
27901 \begin_layout Standard
27902 別の方法としては、以下のように、単語の前に直接TeXコードで「
27911 \begin_layout Standard
27912 This line is an example to show how you can prevent the hyphenation of
27913 \begin_inset Quotes eld
27920 \begin_layout Plain Layout
27930 \begin_inset Quotes erd
27936 \begin_layout Standard
27937 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
27941 \SpecialChar \menuseparator
27946 \SpecialChar \menuseparator
27954 arg "newline-insert newline"
27957 )から改行を単語の前に入れてください。
27960 \begin_layout Standard
27961 This line is an example to show how you can prevent the hyphenation of
27962 \begin_inset Newline newline
27966 \begin_inset Box Frameless
27976 height_special "totalheight"
27979 \begin_layout Plain Layout
27980 \begin_inset Quotes eld
27984 \begin_inset Quotes erd
27995 \begin_layout Subsection
27997 \begin_inset CommandInset label
28004 \begin_inset Index idx
28007 \begin_layout Plain Layout
28008 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
28014 \begin_inset Index idx
28017 \begin_layout Plain Layout
28018 ぼっくす@ボックス ! Raiseboxes
28026 \begin_layout Standard
28033 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
28042 \begin_layout Standard
28047 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
28050 \begin_layout Standard
28051 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
28054 \begin_layout Standard
28055 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
28058 \begin_layout Standard
28068 \begin_layout Standard
28069 というコマンドを挿入してください。単語の後には、閉じ括弧「
28074 \begin_inset Newline newline
28080 \begin_layout Standard
28081 This is a text line with the word
28085 \begin_layout Plain Layout
28097 \begin_inset Quotes eld
28101 \begin_inset Quotes erd
28108 \begin_layout Plain Layout
28118 \begin_layout Standard
28119 \begin_inset VSpace bigskip
28122 行中の文字を上げ下げすると、以下のように行間が広がります。
28125 \begin_layout Standard
28126 This is a text line with the word
28130 \begin_layout Plain Layout
28142 \begin_inset Quotes eld
28146 \begin_inset Quotes erd
28153 \begin_layout Plain Layout
28161 \begin_inset Newline newline
28164 This is a text line with the word
28168 \begin_layout Plain Layout
28178 \begin_inset Quotes eld
28182 \begin_inset Quotes erd
28189 \begin_layout Plain Layout
28199 \begin_layout Standard
28200 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
28203 \begin_layout Standard
28213 \begin_layout Standard
28217 \begin_layout Standard
28218 This is a text line with the word
28222 \begin_layout Plain Layout
28234 \begin_inset Quotes eld
28238 \begin_inset Quotes erd
28245 \begin_layout Plain Layout
28253 \begin_inset Newline newline
28256 This is a text line with the word
28260 \begin_layout Plain Layout
28264 raisebox{0.5cm}[0pt]{
28270 \begin_inset Quotes eld
28274 \begin_inset Quotes erd
28281 \begin_layout Plain Layout
28291 \begin_layout Section
28293 \begin_inset CommandInset label
28300 \begin_inset Index idx
28303 \begin_layout Plain Layout
28304 ぼっくす@ボックス ! いろつき@色付き
28312 \begin_layout Subsection
28314 \begin_inset Index idx
28317 \begin_layout Plain Layout
28326 \begin_layout Standard
28327 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
28332 \begin_inset Index idx
28335 \begin_layout Plain Layout
28336 LaTeXぱっけーじ@LaTeXパッケージ ! color
28341 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
28344 \begin_layout Standard
28349 @ifundefined{textcolor}
28350 \begin_inset Newline newline
28354 \begin_inset Phantom HPhantom
28357 \begin_layout Plain Layout
28360 \begin_inset space ~
28370 usepackage{color}}{}
28373 \begin_layout Standard
28378 パッケージは、文章を着色するとLyXが自動的に読み込みます
28382 \begin_layout Plain Layout
28383 これが二度読み込まれることを回避するには、
28397 \begin_layout Standard
28398 \begin_inset VSpace medskip
28407 コマンドを使って作ります。これは、以下のような書式で使われます。
28410 \begin_layout Standard
28415 colorbox{color}{ボックスの内容}
28418 \begin_layout Standard
28419 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
28422 \begin_layout Standard
28424 \begin_inset Newline newline
28460 \begin_inset Newline newline
28464 \begin_inset CommandInset ref
28466 reference "sec:色付きの表"
28470 節に述べられているようにすれば、自前の色を定義することもできます。
28473 \begin_layout Standard
28474 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
28477 \begin_layout Standard
28485 \begin_layout Standard
28486 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
28491 \begin_inset Newline newline
28497 \begin_layout Standard
28502 \begin_layout Plain Layout
28515 \begin_layout Plain Layout
28525 \begin_layout Standard
28526 \begin_inset VSpace bigskip
28529 ボックスの枠を別の色にしたい場合には、以下の書式で
28538 \begin_layout Standard
28543 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
28546 \begin_layout Standard
28559 の拡張です。枠の太さと枠とボックスの中身との余白は、第
28560 \begin_inset CommandInset ref
28581 \begin_layout Standard
28585 \begin_layout Standard
28590 fcolorbox{cyan}{magenta}{
28593 \begin_layout Standard
28597 \begin_layout Standard
28599 \begin_inset space \thinspace{}
28603 \begin_inset Newline newline
28610 \begin_layout Plain Layout
28625 \begin_layout Plain Layout
28629 fcolorbox{cyan}{magenta}{
28634 これは着色した色付きボックス中の文章です。
28638 \begin_layout Plain Layout
28648 \begin_layout Standard
28649 \begin_inset VSpace bigskip
28652 もちろん、色付きボックスの中に色付き文字を入れることもできます
28653 \begin_inset Newline newline
28660 \begin_layout Plain Layout
28664 fcolorbox{cyan}{magenta}{
28671 これは着色した色付きボックス中の色付き文章です。
28677 \begin_layout Plain Layout
28688 \begin_layout Plain Layout
28702 \begin_layout Standard
28705 \begin_inset VSpace medskip
28711 \begin_layout Standard
28712 \begin_inset Note Greyedout
28715 \begin_layout Plain Layout
28720 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
28728 \begin_layout Subsection
28730 \begin_inset CommandInset label
28737 \begin_inset Index idx
28740 \begin_layout Plain Layout
28749 \begin_layout Standard
28750 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
28759 \begin_layout Standard
28767 \begin_layout Standard
28768 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
28775 \begin_layout Standard
28779 \begin_layout Plain Layout
28783 colorbox{lightgrey}{
28789 \begin_inset Box Frameless
28799 height_special "totalheight"
28802 \begin_layout Plain Layout
28803 これは背景色を付けた文章です。これは背景色を付けた文章です。
28806 \begin_layout Plain Layout
28807 \begin_inset VSpace defskip
28814 \begin_layout Plain Layout
28820 を付けることもできますし、図表を挿入することもできます。
28823 \begin_layout Plain Layout
28825 \begin_inset Tabular
28826 <lyxtabular version="3" rows="3" columns="3">
28827 <features tabularvalignment="middle">
28828 <column alignment="center" valignment="top" width="0">
28829 <column alignment="center" valignment="top" width="0">
28830 <column alignment="center" valignment="top" width="0">
28832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28835 \begin_layout Plain Layout
28841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28844 \begin_layout Plain Layout
28850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28853 \begin_layout Plain Layout
28861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28864 \begin_layout Plain Layout
28870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28873 \begin_layout Plain Layout
28875 \begin_inset Quotes erd
28883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28886 \begin_layout Plain Layout
28894 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28897 \begin_layout Plain Layout
28903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28906 \begin_layout Plain Layout
28912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28915 \begin_layout Plain Layout
28935 \begin_layout Plain Layout
28945 \begin_layout Section
28949 \begin_layout Standard
28950 本節で述べられているコマンドを使用するには、文書プリアンブルで
28953 \begin_layout Standard
28958 @ifundefined{rotatebox}
28959 \begin_inset Newline newline
28963 \begin_inset Phantom HPhantom
28966 \begin_layout Plain Layout
28969 \begin_inset space ~
28979 usepackage{graphicx}}{}
28982 \begin_layout Standard
28988 \begin_inset Index idx
28991 \begin_layout Plain Layout
28992 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
28997 LaTeXパッケージを読み込む必要があります。
29000 \begin_layout Standard
29001 \begin_inset Note Greyedout
29004 \begin_layout Plain Layout
29009 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
29017 \begin_layout Standard
29018 \begin_inset Note Greyedout
29021 \begin_layout Plain Layout
29026 フロートは回転伸縮したボックスの中に入れることはできません。
29034 \begin_layout Subsection
29036 \begin_inset Index idx
29039 \begin_layout Plain Layout
29040 ぼっくす@ボックス ! かいてんした@回転した
29046 \begin_inset Index idx
29049 \begin_layout Plain Layout
29050 かいてん@回転 ! そざいの@素材の---
29056 \begin_inset Index idx
29059 \begin_layout Plain Layout
29066 \begin_inset Index idx
29069 \begin_layout Plain Layout
29070 ひょうのちょうせい@表の調整 ! かいてん@回転
29078 \begin_layout Standard
29079 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
29085 コマンドを使用すれば作成することができます。
29088 \begin_layout Standard
29093 rotatebox[回転の原点]{回転角}{ボックスの内容}
29096 \begin_layout Standard
29101 の形で指定します。位置として指定可能なのは、
29121 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
29125 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
29129 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
29132 \begin_layout Standard
29133 以下の例では、「回転した」文章の前にTeXコードで
29137 rotatebox[origin=c]{60}{
29139 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
29146 \begin_layout Standard
29151 \begin_layout Plain Layout
29155 rotatebox[origin=c]{60}{
29164 \begin_layout Plain Layout
29174 \begin_layout Standard
29175 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
29178 \begin_layout Standard
29183 \begin_layout Plain Layout
29187 rotatebox[origin=r]{-60}{
29193 \begin_inset Box Doublebox
29203 height_special "totalheight"
29206 \begin_layout Plain Layout
29216 \begin_layout Plain Layout
29227 \begin_layout Plain Layout
29231 rotatebox[origin=lb]{60}{
29237 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29244 \begin_layout Plain Layout
29254 \begin_layout Standard
29255 あるいは、以下のように図や表を入れることもできます。
29258 \begin_layout Standard
29263 \begin_layout Plain Layout
29267 rotatebox[origin=lb]{90}{
29273 \begin_inset Graphics
29274 filename ../clipart/platypus.eps
29284 \begin_layout Plain Layout
29295 \begin_layout Plain Layout
29299 rotatebox[origin=l]{-90}{
29305 \begin_inset Tabular
29306 <lyxtabular version="3" rows="2" columns="2">
29307 <features tabularvalignment="middle">
29308 <column alignment="center" valignment="top" width="0">
29309 <column alignment="center" valignment="top" width="0">
29311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29314 \begin_layout Plain Layout
29320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29323 \begin_layout Plain Layout
29331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29334 \begin_layout Plain Layout
29340 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29343 \begin_layout Plain Layout
29358 \begin_layout Plain Layout
29368 \begin_layout Subsection
29370 \begin_inset Index idx
29373 \begin_layout Plain Layout
29374 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
29380 \begin_inset Index idx
29383 \begin_layout Plain Layout
29384 しんしゅく@伸縮 ! そざいの@素材の---
29390 \begin_inset Index idx
29393 \begin_layout Plain Layout
29394 ず@図 ! のしんしゅく@---の伸縮
29400 \begin_inset Index idx
29403 \begin_layout Plain Layout
29404 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
29412 \begin_layout Standard
29428 \begin_layout Standard
29438 \begin_layout Standard
29443 scalebox{水平方向}[垂直方向]{ボックスの内容}
29446 \begin_layout Standard
29447 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
29450 \begin_layout Standard
29457 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
29461 \begin_layout Plain Layout
29474 \begin_layout Plain Layout
29484 \begin_layout Standard
29489 scalebox{2}[1]{こんにちは}
29495 \begin_layout Plain Layout
29508 \begin_layout Plain Layout
29518 \begin_layout Standard
29519 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
29523 scalebox{-1}[1]{こんにちは}
29525 というコマンドは、右のように反転文字を生成するのに使用できます:
29529 \begin_layout Plain Layout
29542 \begin_layout Plain Layout
29552 \begin_layout Standard
29557 scalebox{1}[-1]{こんにちは}
29563 \begin_layout Plain Layout
29576 \begin_layout Plain Layout
29586 \begin_layout Standard
29591 scalebox{-1}[1]{ボックスの内容}
29594 \begin_inset Newline newline
29601 reflectbox{ボックスの内容}
29604 \begin_inset Newline newline
29610 \begin_layout Standard
29611 \begin_inset VSpace bigskip
29614 指定した幅や丈にボックスを伸縮させるには、
29623 \begin_layout Standard
29628 resizebox{幅}{丈}{ボックスの内容}
29631 \begin_layout Standard
29632 です。上記二つのコマンド引数のうち一つが感嘆符「
29636 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
29639 \begin_layout Standard
29644 resizebox{2cm}{1cm}{こんにちは}
29650 \begin_layout Plain Layout
29654 resizebox{2cm}{1cm}{
29663 \begin_layout Plain Layout
29671 \begin_inset Newline newline
29678 resizebox{2cm}{!}{こんにちは}
29684 \begin_layout Plain Layout
29697 \begin_layout Plain Layout
29707 \begin_layout Standard
29708 \begin_inset VSpace bigskip
29712 \begin_inset Note Greyedout
29715 \begin_layout Plain Layout
29728 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
29736 \begin_layout Standard
29737 \begin_inset VSpace bigskip
29743 \begin_layout Standard
29744 ボックスは好きな順序で組み合わせることができます。たとえば、
29745 \begin_inset Newline newline
29752 rotatebox[origin=c]{-45}{
29756 reflectbox{こんにちは}}}
29757 \begin_inset Newline newline
29765 \begin_layout Standard
29770 \begin_layout Plain Layout
29774 rotatebox[origin=c]{-45}{
29787 \begin_layout Plain Layout
29797 \begin_layout Standard
29799 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
29802 \begin_layout Standard
29807 \begin_layout Plain Layout
29811 rotatebox[origin=c]{-30}{
29821 \begin_inset Graphics
29822 filename ../clipart/platypus.eps
29832 \begin_layout Plain Layout
29843 \begin_layout Plain Layout
29847 rotatebox[origin=c]{-45}{
29857 \begin_inset Tabular
29858 <lyxtabular version="3" rows="2" columns="2">
29859 <features tabularvalignment="middle">
29860 <column alignment="center" valignment="top" width="0">
29861 <column alignment="center" valignment="top" width="0">
29863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29866 \begin_layout Plain Layout
29872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29875 \begin_layout Plain Layout
29883 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29886 \begin_layout Plain Layout
29892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29895 \begin_layout Plain Layout
29910 \begin_layout Plain Layout
29921 \begin_layout Plain Layout
29925 rotatebox[origin=c]{-45}{
29935 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29942 \begin_layout Plain Layout
29952 \begin_layout Standard
29961 \begin_layout Plain Layout
29962 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
29967 には、別行建て数式も伸縮させることができます。
29970 \begin_layout Chapter
29972 \begin_inset Index idx
29975 \begin_layout Plain Layout
29976 がいぶぶんしょこうせいようそ@外部文書構成要素
29984 \begin_layout Standard
29987 挿入\SpecialChar \menuseparator
29990 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
29993 \begin_layout Description
29994 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
29997 \begin_layout Description
29998 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
30001 \begin_layout Description
30002 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
30005 \begin_layout Description
30009 \begin_layout Description
30010 子文書 LyXあるいはLaTeX文書。
30013 \begin_layout Section
30015 \begin_inset Index idx
30018 \begin_layout Plain Layout
30019 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
30027 \begin_layout Standard
30028 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
30029 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
30031 操作性\SpecialChar \menuseparator
30034 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
30037 \begin_layout Standard
30042 \SpecialChar \menuseparator
30047 \SpecialChar \menuseparator
30056 ダイアログから挿入することができます。目下、以下のファイル形式(
30063 \begin_layout Description
30067 \begin_inset CommandInset href
30070 target "http://en.wikipedia.org/wiki/XBoard"
30076 プログラムで作成されたチェス棋譜をサポートします。
30079 \begin_layout Description
30084 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
30085 \begin_inset External
30092 \begin_inset space ~
30096 \begin_inset Note Note
30099 \begin_layout Plain Layout
30100 バグ4398が修正されたら、この保護空白は削除してください!
30106 \begin_inset Newline newline
30109 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
30113 \SpecialChar \menuseparator
30114 日付メニューを使用する方法で、他はLaTeXコマンドの
30120 をTeXコードで使用する方法です。これらの各方法は、表
30121 \begin_inset CommandInset ref
30123 reference "tab:日付挿入方法"
30130 \begin_layout Description
30134 \begin_inset CommandInset href
30137 target "http://en.wikipedia.org/wiki/Dia_(software)"
30143 プログラムで作成したダイアグラムをサポートします。
30146 \begin_layout Description
30150 \begin_inset CommandInset href
30153 target "http://en.wikipedia.org/wiki/LilyPond"
30159 プログラムで作成した楽譜の組版に使用されます。
30162 \begin_layout Description
30163 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
30179 オプションを指定しないと、PDFの最初のページのみが挿入されます。
30182 \begin_layout Description
30183 ラスターイメージ これはビットマップ画像に使用します。よく使われる画像形式のほとんどすべてがサポートされています。
30188 \begin_inset CommandInset ref
30190 reference "sec:画像ダイアログ"
30198 ダイアログを使って挿入される画像と同じように取り扱うことができます。異なる点といえば、ラスターイメージのみを取り扱うことができる点、すなわちPDFやEPS画像は
30202 \begin_layout Description
30206 \begin_inset CommandInset href
30209 target "http://en.wikipedia.org/wiki/Xfig"
30215 プログラムで作成した画像をサポートします。
30218 \begin_layout Standard
30219 \begin_inset Float table
30225 \begin_layout Plain Layout
30226 \begin_inset Caption
30228 \begin_layout Plain Layout
30229 \begin_inset CommandInset label
30243 \begin_layout Plain Layout
30245 \begin_inset Tabular
30246 <lyxtabular version="3" rows="4" columns="4">
30247 <features tabularvalignment="middle">
30248 <column alignment="center" valignment="top" width="0">
30249 <column alignment="center" valignment="top" width="0">
30250 <column alignment="center" valignment="top" width="0">
30251 <column alignment="center" valignment="top" width="0">
30253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30256 \begin_layout Plain Layout
30262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30265 \begin_layout Plain Layout
30268 外部素材\SpecialChar \menuseparator
30274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30277 \begin_layout Plain Layout
30280 挿入\SpecialChar \menuseparator
30286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30289 \begin_layout Plain Layout
30303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30306 \begin_layout Plain Layout
30312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30315 \begin_layout Plain Layout
30321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30324 \begin_layout Plain Layout
30330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30333 \begin_layout Plain Layout
30341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30344 \begin_layout Plain Layout
30350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30353 \begin_layout Plain Layout
30359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30362 \begin_layout Plain Layout
30368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30371 \begin_layout Plain Layout
30379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30382 \begin_layout Plain Layout
30388 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30391 \begin_layout Plain Layout
30397 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30400 \begin_layout Plain Layout
30406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30409 \begin_layout Plain Layout
30428 \begin_layout Standard
30441 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
30442 \begin_inset Newline newline
30445 LyX中での外部素材は、ダイアログ内の
30454 \begin_inset Graphics
30455 filename clipart/ExternalMaterialQt4.png
30457 scaleBeforeRotation
30461 のようなボックスとして表示されるか、画像として表示されます。
30464 \begin_layout Standard
30471 には、自製のひな型を定義する方法が説明されています。
30474 \begin_layout Section
30476 \begin_inset CommandInset label
30483 \begin_inset Index idx
30486 \begin_layout Plain Layout
30487 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
30493 \begin_inset Index idx
30496 \begin_layout Plain Layout
30497 ふぁいる@ファイル ! いんくるーど@インクルード
30505 \begin_layout Standard
30506 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
30507 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
30508 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
30511 \begin_layout Standard
30512 親文書を開くことなく子文書で作業できるようにするには、子文書の
30516 \SpecialChar \menuseparator
30521 \SpecialChar \menuseparator
30526 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
30529 \begin_layout Standard
30531 \begin_inset Graphics
30532 filename clipart/ChildDocumentQt4.png
30534 scaleBeforeRotation
30538 のようなボックスとして表示されます。子文書を親文書に取り込むには、
30542 \SpecialChar \menuseparator
30547 \SpecialChar \menuseparator
30552 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
30555 \begin_layout Description
30556 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
30564 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
30565 \begin_inset Newline newline
30571 \begin_layout Standard
30577 \begin_inset CommandInset include
30578 LatexCommand include
30579 filename "DummyDocument1.lyx"
30586 \begin_layout Standard
30587 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
30588 あります。取り込んだ文書のラベルは、第
30589 \begin_inset CommandInset ref
30591 reference "sub:外部文書の第1小節"
30595 小節、のように参照することができます。
30598 \begin_layout Standard
30599 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
30600 は、新規頁から始まるように挿入され、改頁して終わります。
30603 \begin_layout Standard
30604 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
30608 \begin_layout Plain Layout
30622 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
30625 \begin_layout Standard
30626 \begin_inset Note Greyedout
30629 \begin_layout Plain Layout
30634 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
30648 \begin_layout Standard
30649 \begin_inset Note Greyedout
30652 \begin_layout Plain Layout
30657 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
30666 \begin_layout Description
30667 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
30671 \begin_layout Itemize
30672 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
30675 \begin_layout Itemize
30676 Inputファイルは、LyX設定の操作性
30678 \SpecialChar \menuseparator
30685 を有効にすると、LyX中でプレビューすることができます。
30688 \begin_layout Itemize
30699 \begin_layout Standard
30705 \begin_inset CommandInset include
30707 filename "DummyDocument2.lyx"
30714 \begin_layout Description
30715 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
30716 に用いられているコマンドは実行されません。
30720 オプションを有効にすると、ソースコード中のすべての空白文字に「
30724 \begin_layout Plain Layout
30735 挿入\SpecialChar \menuseparator
30736 ファイル\SpecialChar \menuseparator
30739 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
30742 \begin_layout Standard
30743 以下は、verbatimとして挿入された子文書です。
30744 \begin_inset CommandInset include
30745 LatexCommand verbatiminput
30746 filename "../DummyTextDocument.txt"
30751 \begin_inset VSpace bigskip
30758 オプションを指定して、verbatimとして挿入された子文書です。
30759 \begin_inset CommandInset include
30760 LatexCommand verbatiminput*
30761 filename "../DummyTextDocument.txt"
30768 \begin_layout Standard
30769 \begin_inset VSpace bigskip
30775 \begin_layout Standard
30776 \begin_inset Note Greyedout
30779 \begin_layout Plain Layout
30788 として取り込んだ文書の文章は、文書行の終わりで改行されません。
30796 \begin_layout Standard
30797 \begin_inset Note Greyedout
30800 \begin_layout Plain Layout
30805 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
30813 \begin_layout Description
30814 プログラムリスト この型については、第
30815 \begin_inset CommandInset ref
30817 reference "cha:プログラムコードリスト"
30824 \begin_layout Standard
30825 \begin_inset Note Greyedout
30828 \begin_layout Plain Layout
30833 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
30841 \begin_layout Chapter
30843 \begin_inset CommandInset label
30845 name "cha:プログラムコードリスト"
30850 \begin_inset Index idx
30853 \begin_layout Plain Layout
30860 \begin_inset Index idx
30863 \begin_layout Plain Layout
30870 \begin_inset Index idx
30873 \begin_layout Plain Layout
30874 ふろーと@フロート ! りすと@リスト
30882 \begin_layout Standard
30883 プログラムコードを取り込んで組版するには、
30887 \SpecialChar \menuseparator
30892 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
30897 \begin_inset Index idx
30900 \begin_layout Plain Layout
30901 LaTeXぱっけーじ@LaTeXパッケージ ! listings
30906 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
30909 \begin_layout Standard
30910 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
30913 \begin_layout Standard
30914 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
30919 \begin_inset listings
30920 lstparams "language={C++}"
30924 \begin_layout Plain Layout
30932 \begin_inset Newline newline
30939 オプションは、プログラムリストフロートを生成するものですが、ここで、第
30940 \begin_inset CommandInset ref
30942 reference "sec:フロートの配置"
30946 節に説明されているフロート配置オプションに従って、「
30962 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
30966 」のように区切りを入れることなく入力することができます。「
30970 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
30974 オプションを使用しなければ大丈夫です。
30977 \begin_layout Standard
30982 \SpecialChar \menuseparator
30987 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、Listing
30988 \begin_inset space ~
30992 \begin_inset CommandInset ref
30994 reference "lst:Example-Listing"
31001 \begin_layout Standard
31002 \begin_inset listings
31003 lstparams "language=Python"
31007 \begin_layout Plain Layout
31009 \begin_inset Caption
31011 \begin_layout Plain Layout
31012 \begin_inset CommandInset label
31014 name "lst:Example-Listing"
31018 Example Listing float
31023 # Example listing float
31026 \begin_layout Plain Layout
31031 \begin_layout Plain Layout
31033 'this is a python function'
31036 \begin_layout Plain Layout
31046 \begin_layout Standard
31047 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
31048 onのキーワード「def」が識別され、ボールド体で出力されます。
31051 \begin_layout Standard
31052 \begin_inset Note Greyedout
31055 \begin_layout Plain Layout
31060 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
31064 フォントがボールド体を提供していません。この場合には、
31068 \SpecialChar \menuseparator
31073 \SpecialChar \menuseparator
31078 メニューで別のフォントを選択してください(
31090 の各フォントはボールド体を提供します)。
31098 \begin_layout Standard
31099 \begin_inset Note Greyedout
31102 \begin_layout Plain Layout
31107 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
31115 \begin_layout Standard
31120 のセクションでは、行番号の様式を指定することができます。
31124 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
31127 \begin_layout Standard
31128 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
31132 オプションを使用しなくてはなりません。
31133 \begin_inset Newline newline
31136 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
31137 \begin_inset space \thinspace{}
31141 \begin_inset space \thinspace{}
31144 8」で設定したプログラムリストの例です。
31147 \begin_layout Standard
31148 \begin_inset listings
31149 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
31153 \begin_layout Plain Layout
31158 \begin_layout Plain Layout
31160 'this is a python function'
31163 \begin_layout Plain Layout
31168 \begin_layout Plain Layout
31173 \begin_layout Plain Layout
31175 'This is a German word: Tschüß'
31178 \begin_layout Plain Layout
31183 \begin_layout Plain Layout
31188 \begin_layout Plain Layout
31190 'this is a python function'
31193 \begin_layout Plain Layout
31203 \begin_layout Standard
31204 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
31211 \begin_layout Standard
31212 \begin_inset Note Greyedout
31215 \begin_layout Plain Layout
31220 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
31229 \begin_layout Standard
31230 \begin_inset VSpace bigskip
31236 \begin_layout Standard
31237 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
31241 \SpecialChar \menuseparator
31246 \SpecialChar \menuseparator
31259 \begin_layout Plain Layout
31260 他の子文書型については、第 section
31261 \begin_inset space ~
31265 \begin_inset CommandInset ref
31267 reference "sec:子文書"
31276 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
31280 \begin_layout Standard
31281 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
31285 \SpecialChar \menuseparator
31290 メニューを使って参照できるようになります。
31293 \begin_layout Standard
31295 \begin_inset CommandInset ref
31297 reference "lst:file-listing"
31301 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
31304 \begin_layout Standard
31305 \begin_inset CommandInset include
31306 LatexCommand lstinputlisting
31307 filename "EmbeddedObjects.lyx"
31308 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
31315 \begin_layout Standard
31316 \begin_inset VSpace bigskip
31322 \begin_layout Standard
31325 Inserting a formula into a listing can be done the following way:
31328 \begin_layout Enumerate
31331 Open the listings dialog and add
31332 \begin_inset Newline newline
31340 \begin_inset Newline newline
31343 to the field of the
31350 \begin_layout Enumerate
31353 Create a formula outside the listing
31356 \begin_layout Enumerate
31359 Copy the content of the formula (not the formula inset) to the clipboard
31369 \begin_layout Enumerate
31372 In the listing write
31373 \begin_inset Quotes eld
31381 \begin_inset Quotes erd
31384 and copy from the clipboard between the dollar-signs (shortcut
31393 \begin_layout Standard
31394 \begin_inset listings
31395 lstparams "language=Python,mathescape=true"
31399 \begin_layout Plain Layout
31401 \begin_inset Caption
31403 \begin_layout Plain Layout
31406 Example Listing float containing a formula
31411 # Example listing float
31414 \begin_layout Plain Layout
31419 \begin_layout Plain Layout
31432 \begin_layout Plain Layout
31442 \begin_layout Standard
31443 \begin_inset VSpace bigskip
31449 \begin_layout Standard
31454 \SpecialChar \menuseparator
31459 \SpecialChar \menuseparator
31464 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
31468 フィールドで疑問符「?」を打鍵してください。
31471 \begin_layout Standard
31476 パッケージについての詳しい情報については、取扱説明書
31477 \begin_inset CommandInset citation
31486 \begin_layout Standard
31487 \begin_inset Newpage newpage
31493 \begin_layout Chapter
31496 \begin_inset Index idx
31499 \begin_layout Plain Layout
31506 \begin_inset CommandInset label
31508 name "cha:LyXで使用できる単位"
31515 \begin_layout Standard
31516 この文書で用いられる単位の理解のために、表
31517 \begin_inset CommandInset ref
31523 に、LyXで使うことのできる単位をまとめておきます。
31526 \begin_layout Standard
31527 \begin_inset Float table
31533 \begin_layout Plain Layout
31534 \begin_inset Caption
31536 \begin_layout Plain Layout
31537 \begin_inset CommandInset label
31551 \begin_layout Plain Layout
31552 \begin_inset VSpace medskip
31558 \begin_layout Plain Layout
31560 \begin_inset Tabular
31561 <lyxtabular version="3" rows="20" columns="2">
31562 <features tabularvalignment="middle">
31563 <column alignment="center" valignment="top" width="0">
31564 <column alignment="center" valignment="top" width="0">
31566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31569 \begin_layout Plain Layout
31575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31578 \begin_layout Plain Layout
31586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31589 \begin_layout Plain Layout
31595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31598 \begin_layout Plain Layout
31606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31609 \begin_layout Plain Layout
31615 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31618 \begin_layout Plain Layout
31626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31629 \begin_layout Plain Layout
31635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31638 \begin_layout Plain Layout
31646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31649 \begin_layout Plain Layout
31655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31658 \begin_layout Plain Layout
31660 \begin_inset Formula $\,$
31664 \begin_inset Formula $\,$
31674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31677 \begin_layout Plain Layout
31683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31686 \begin_layout Plain Layout
31688 \begin_inset Formula $\,$
31692 \begin_inset Formula $\,$
31702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31705 \begin_layout Plain Layout
31711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31714 \begin_layout Plain Layout
31716 \begin_inset Formula $\,$
31720 \begin_inset Formula $\,$
31730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31733 \begin_layout Plain Layout
31739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31742 \begin_layout Plain Layout
31744 \begin_inset Formula $\,$
31748 \begin_inset Formula $\,$
31758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31761 \begin_layout Plain Layout
31767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31770 \begin_layout Plain Layout
31772 \begin_inset Formula $\,$
31776 \begin_inset Formula $\approx$
31780 \begin_inset Formula $\,$
31790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31793 \begin_layout Plain Layout
31799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31802 \begin_layout Plain Layout
31804 \begin_inset Formula $\,$
31808 \begin_inset Formula $\,$
31818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31821 \begin_layout Plain Layout
31827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31830 \begin_layout Plain Layout
31838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31841 \begin_layout Plain Layout
31847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31850 \begin_layout Plain Layout
31858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31861 \begin_layout Plain Layout
31867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31870 \begin_layout Plain Layout
31878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31881 \begin_layout Plain Layout
31887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31890 \begin_layout Plain Layout
31898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31901 \begin_layout Plain Layout
31907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31910 \begin_layout Plain Layout
31918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31921 \begin_layout Plain Layout
31927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31930 \begin_layout Plain Layout
31938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31941 \begin_layout Plain Layout
31947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31950 \begin_layout Plain Layout
31958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31961 \begin_layout Plain Layout
31967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31970 \begin_layout Plain Layout
31978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31981 \begin_layout Plain Layout
31987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31990 \begin_layout Plain Layout
31998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32001 \begin_layout Plain Layout
32007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32010 \begin_layout Plain Layout
32012 \begin_inset Formula $\,$
32016 \begin_inset Formula $\,$
32037 \begin_layout Chapter
32039 \begin_inset CommandInset label
32041 name "cha:ファイル出力形式"
32048 \begin_layout Section
32050 \begin_inset Index idx
32053 \begin_layout Plain Layout
32054 ふぁいるしょしき@ファイル書式 ! DVI
32060 \begin_inset Index idx
32063 \begin_layout Plain Layout
32068 \begin_layout Plain Layout
32079 \begin_layout Plain Layout
32094 \begin_layout Standard
32099 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
32100 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
32101 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
32104 \begin_layout Standard
32105 \begin_inset Note Greyedout
32108 \begin_layout Plain Layout
32109 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
32118 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
32119 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
32123 \begin_layout Standard
32128 \SpecialChar \menuseparator
32133 \SpecialChar \menuseparator
32138 メニューを使用して、DVIに書き出すことができます。また、
32143 \begin_inset Graphics
32144 filename ../../images/buffer-view_dvi.png
32146 scaleBeforeRotation
32150 を使用すれば、使用中の文書をDVIで表示させることができます。
32153 \begin_layout Section
32155 \begin_inset CommandInset label
32157 name "sec:PostScript"
32162 \begin_inset Index idx
32165 \begin_layout Plain Layout
32166 ふぁいるしょしき@ファイル書式 ! PostScript
32172 \begin_inset Index idx
32175 \begin_layout Plain Layout
32180 \begin_layout Plain Layout
32191 \begin_layout Plain Layout
32206 \begin_layout Standard
32215 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
32216 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
32220 \begin_layout Plain Layout
32221 これについてもう少し学ぶ気があれば、LaTeXパッケージ
32226 \begin_inset CommandInset citation
32237 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
32240 \begin_layout Standard
32241 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
32245 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
32246 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
32247 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
32248 を直接EPSとして入れておく方がよいでしょう。
32251 \begin_layout Standard
32256 \SpecialChar \menuseparator
32261 \SpecialChar \menuseparator
32266 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
32271 \begin_inset Graphics
32272 filename ../../images/buffer-view_ps.png
32274 scaleBeforeRotation
32278 を使用することでPostScriptとして表示させることができます。
32281 \begin_layout Section
32283 \begin_inset Index idx
32286 \begin_layout Plain Layout
32287 ふぁいるしょしき@ファイル書式 ! PDF
32293 \begin_inset Index idx
32296 \begin_layout Plain Layout
32305 \begin_layout Standard
32310 」です。この「Portable Document Format (PDF)」は、
32314 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
32315 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
32318 \begin_layout Standard
32319 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
32327 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
32331 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
32332 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
32336 \begin_layout Standard
32341 \SpecialChar \menuseparator
32346 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
32349 \begin_layout Description
32351 \begin_inset space ~
32358 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
32362 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
32365 \begin_layout Description
32367 \begin_inset space ~
32374 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
32377 \begin_layout Description
32379 \begin_inset space ~
32386 プログラムを使って、現在のファイルを直接PDFに変換します。
32389 \begin_layout Standard
32394 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
32397 \begin_inset space ~
32406 プログラムは開発が停止しており、若干時代遅れになっています。
32409 \begin_layout Standard
32410 使用中の文書をPDFとして表示するには、
32415 \begin_inset Graphics
32416 filename ../../images/buffer-view_pdf2.png
32418 scaleBeforeRotation
32425 \begin_inset space ~
32433 \begin_layout Chapter
32435 \begin_inset CommandInset ref
32442 \begin_inset CommandInset label
32451 \begin_layout Standard
32452 \begin_inset Formula $n$
32456 \begin_inset Formula $W_{\mathrm{tot\, n}}$
32462 \begin_layout Standard
32463 \begin_inset Formula \begin{equation}
32464 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
32472 \begin_layout Standard
32474 \begin_inset Formula $W_{g\, n}$
32483 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
32484 \begin_inset space \thinspace{}
32494 \begin_inset space \thinspace{}
32500 \begin_layout Standard
32502 \begin_inset CommandInset ref
32504 reference "eq:Wtot_n"
32509 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
32515 \begin_layout Standard
32516 \begin_inset Formula \begin{equation}
32517 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
32525 \begin_layout Standard
32527 \begin_inset Formula $n$
32531 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
32535 \begin_inset CommandInset ref
32537 reference "eq:Wtot_n"
32542 \begin_inset CommandInset ref
32544 reference "eq:Wtot_mult"
32548 式が等しいものと置けば、必要となる固定幅
32549 \begin_inset Formula $W_{g\, n}$
32555 \begin_layout Standard
32556 \begin_inset Formula \begin{equation}
32557 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
32565 \begin_layout Bibliography
32566 \labelwidthstring 参考文献
32567 \begin_inset CommandInset bibitem
32568 LatexCommand bibitem
32569 key "latexcompanion"
32573 Frank Mittelbach and Michel Goossens:
32575 The LaTeX Companion Second Edition.
32578 Addison-Wesley, 2004
32581 \begin_layout Bibliography
32582 \labelwidthstring 参考文献
32583 \begin_inset CommandInset bibitem
32584 LatexCommand bibitem
32589 Helmut Kopka and Patrick W.
32592 A Guide to LaTeX Fourth Edition.
32595 Addison-Wesley, 2003
32598 \begin_layout Bibliography
32599 \labelwidthstring 参考文献
32600 \begin_inset CommandInset bibitem
32601 LatexCommand bibitem
32608 LaTeX: A Document Preparation System.
32611 Addison-Wesley, second edition, 1994
32614 \begin_layout Bibliography
32615 \labelwidthstring 参考文献
32616 \begin_inset CommandInset bibitem
32617 LatexCommand bibitem
32625 \begin_inset CommandInset href
32628 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
32635 \begin_inset Index idx
32638 \begin_layout Plain Layout
32639 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
32647 \begin_layout Bibliography
32648 \labelwidthstring 参考文献
32649 \begin_inset CommandInset bibitem
32650 LatexCommand bibitem
32658 \begin_inset CommandInset href
32661 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
32668 \begin_inset Index idx
32671 \begin_layout Plain Layout
32672 LaTeXぱっけーじ@LaTeXパッケージ ! caption
32680 \begin_layout Bibliography
32681 \labelwidthstring 参考文献
32682 \begin_inset CommandInset bibitem
32683 LatexCommand bibitem
32691 \begin_inset CommandInset href
32694 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
32701 \begin_inset Index idx
32704 \begin_layout Plain Layout
32705 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
32713 \begin_layout Bibliography
32714 \labelwidthstring 参考文献
32715 \begin_inset CommandInset bibitem
32716 LatexCommand bibitem
32724 \begin_inset CommandInset href
32727 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
32734 \begin_inset Index idx
32737 \begin_layout Plain Layout
32738 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
32746 \begin_layout Bibliography
32747 \labelwidthstring 参考文献
32748 \begin_inset CommandInset bibitem
32749 LatexCommand bibitem
32757 \begin_inset CommandInset href
32760 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
32767 \begin_inset Index idx
32770 \begin_layout Plain Layout
32771 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
32779 \begin_layout Bibliography
32780 \labelwidthstring 参考文献
32781 \begin_inset CommandInset bibitem
32782 LatexCommand bibitem
32790 \begin_inset CommandInset href
32793 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
32800 \begin_inset Index idx
32803 \begin_layout Plain Layout
32804 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
32812 \begin_layout Bibliography
32813 \labelwidthstring 参考文献
32814 \begin_inset CommandInset bibitem
32815 LatexCommand bibitem
32823 \begin_inset CommandInset href
32826 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
32833 \begin_inset Index idx
32836 \begin_layout Plain Layout
32837 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
32845 \begin_layout Bibliography
32846 \labelwidthstring 参考文献
32847 \begin_inset CommandInset bibitem
32848 LatexCommand bibitem
32856 \begin_inset CommandInset href
32859 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
32866 \begin_inset Index idx
32869 \begin_layout Plain Layout
32870 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
32878 \begin_layout Bibliography
32879 \labelwidthstring 参考文献
32880 \begin_inset CommandInset bibitem
32881 LatexCommand bibitem
32889 \begin_inset CommandInset href
32892 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
32899 \begin_inset Index idx
32902 \begin_layout Plain Layout
32903 LaTeXぱっけーじ@LaTeXパッケージ ! listings
32911 \begin_layout Bibliography
32912 \labelwidthstring 参考文献
32913 \begin_inset CommandInset bibitem
32914 LatexCommand bibitem
32922 \begin_inset CommandInset href
32925 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
32932 \begin_inset Index idx
32935 \begin_layout Plain Layout
32936 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
32944 \begin_layout Bibliography
32945 \labelwidthstring 参考文献
32946 \begin_inset CommandInset bibitem
32947 LatexCommand bibitem
32955 \begin_inset CommandInset href
32958 target "http://tug.org/PSTricks/"
32965 \begin_inset Index idx
32968 \begin_layout Plain Layout
32969 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
32977 \begin_layout Bibliography
32978 \labelwidthstring 参考文献
32979 \begin_inset CommandInset bibitem
32980 LatexCommand bibitem
32988 \begin_inset CommandInset href
32991 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
32998 \begin_inset Index idx
33001 \begin_layout Plain Layout
33002 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
33010 \begin_layout Bibliography
33011 \labelwidthstring 参考文献
33012 \begin_inset CommandInset bibitem
33013 LatexCommand bibitem
33021 \begin_inset CommandInset href
33024 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
33031 \begin_inset Index idx
33034 \begin_layout Plain Layout
33035 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
33043 \begin_layout Bibliography
33044 \labelwidthstring 参考文献
33045 \begin_inset CommandInset bibitem
33046 LatexCommand bibitem
33054 \begin_inset CommandInset href
33057 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
33064 \begin_inset Index idx
33067 \begin_layout Plain Layout
33068 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
33076 \begin_layout Bibliography
33077 \labelwidthstring 参考文献
33078 \begin_inset CommandInset bibitem
33079 LatexCommand bibitem
33089 \begin_inset CommandInset href
33092 target "http://wiki.lyx.org/LyX/NewInLyX20"
33099 \begin_layout Standard
33100 \begin_inset CommandInset index_print
33101 LatexCommand printindex