1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
7 %% Added by the translator
8 % Correction for PDF bookmarks
9 %\usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,bookmarkstype=toc]{hyperref}
10 \ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else
11 \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi
17 % set fonts for nicer pdf view
18 \IfFileExists{lmodern.sty}
19 {\usepackage{lmodern}}{}
21 \fi % end if pdflatex is used
23 % that links to image floats jumps
24 % to the beginning of the float and
26 \usepackage[figure]{hypcap}
28 % the pages of the TOC is numbered roman
29 % and a PDF-bookmark for the TOC is added
30 \let\myTOC\tableofcontents
31 \renewcommand\tableofcontents{%
33 \pdfbookmark[1]{\contentsname}{}
37 % provides caption formatting
38 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
40 % provides commands to set caption
41 % beside tables/images
44 \newcommand{\TabBesBeg}{%
46 \let\MyEndtable\endtable
47 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
49 \newcommand{\TabBesEnd}{%
51 \let\endtable\MyEndtable}
53 \newcommand{\FigBesBeg}{%
55 \let\MyEndfigure\endfigure
56 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
58 \newcommand{\FigBesEnd}{%
60 \let\endfigure\MyEndfigure}
62 % enables calculation of values,
65 % increase the bottom float placement fraction
66 \renewcommand{\bottomfraction}{0.5}
68 % avoids that floats are placed before their
69 % corresponding section starts
70 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
72 % speed up the longtable calculation
73 \setcounter{LTchunksize}{100}
75 % used for scaled and rotated boxes
76 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
78 % used for colored tables
79 \@ifundefined{textcolor}
80 {\usepackage{color}}{}
81 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
82 \definecolor{lightgrey}{gray}{0.8}
84 % check for package colortbl
85 % used for colored table cells
87 \IfFileExists{colortbl.sty}
88 {\usepackage{colortbl}
89 \setboolean{colortbl}{true}}
90 {\setboolean{colortbl}{false}}
92 % used for book-style tables
95 % used to have extra space in table cells
96 \@ifundefined{extrarowheight}
97 {\usepackage{array}}{}
98 \setlength{\extrarowheight}{2pt}
100 % used for customized tables
103 {>{\centering\hspace{0pt}}m{#1}}
106 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
109 {>{\columncolor{#1}\hspace{0pt}}c}
111 \newcolumntype{V}{!{\vrule width 1.5pt}}
113 \newcolumntype{W}{!{\color{green}\vline}}
116 % insert additional vertical space of
117 % 1.5 mm between footnotes
119 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
121 % number algorithm floats within chapters
122 \numberwithin{algorithm}{chapter}
125 % ------------------------------------
126 % used to check for needed LaTeX packages
129 % check for package arydshln
130 % used for tables with dashed lines
131 \newboolean{arydshln}
132 \IfFileExists{arydshln.sty}
133 {\usepackage{arydshln}
134 \setboolean{arydshln}{true}}
135 {\setboolean{arydshln}{false}}
137 % check for package marginnote
138 % used for margin notes
139 \newboolean{marginnote}
140 \IfFileExists{marginnote.sty}
141 {\usepackage{marginnote}
142 \let\marginpar\marginnote
143 \setboolean{marginnote}{true}}
144 {\setboolean{marginnote}{false}}
146 % check for package sidecap
147 % used for captions on the side
149 \IfFileExists{sidecap.sty}
150 {\usepackage{sidecap}
151 \setboolean{sidecap}{true}}
152 {\setboolean{sidecap}{false}}
155 % used for surrounded fixed objects
156 \newboolean{picinpar}
157 \IfFileExists{picinpar.sty}
158 {\usepackage{picinpar}
159 \setboolean{picinpar}{true}}
160 {\setboolean{picinpar}{false}}
163 \renewcommand{\seename}{→}
166 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
167 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
169 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
170 \use_default_options false
174 \maintain_unincluded_children false
176 \language_package default
181 \font_typewriter default
182 \font_default_family default
183 \use_non_tex_fonts false
190 \default_output_format default
192 \bibtex_command default
193 \index_command default
197 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
198 \pdf_author "LyX Team, Uwe Stohr"
199 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
200 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
202 \pdf_bookmarksnumbered true
203 \pdf_bookmarksopen true
204 \pdf_bookmarksopenlevel 1
205 \pdf_breaklinks false
209 \pdf_pdfusetitle false
210 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
220 \paperorientation portrait
223 \notefontcolor #0000ff
234 \paragraph_separation skip
236 \quotes_language english
239 \paperpagestyle default
243 \tracking_changes false
244 \output_changes false
247 \html_be_strict false
253 LyXの図表・フロート・注釈・ボックス・外部素材に関する詳細説明書
261 \begin_layout Plain Layout
263 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
264 \begin_inset CommandInset href
266 name "lyx-docs@lists.lyx.org"
267 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
278 \begin_inset Note Note
281 \begin_layout Plain Layout
288 \begin_inset Newline newline
292 \begin_inset Newline newline
300 \begin_layout Standard
301 \begin_inset CommandInset toc
302 LatexCommand tableofcontents
309 \begin_layout Standard
310 \begin_inset Note Note
313 \begin_layout Plain Layout
314 本文書の全体をPDFやPS、DVIに書き出すには、
338 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
342 \begin_layout Plain Layout
344 \begin_inset Newline newline
349 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
352 \begin_inset Newline newline
363 \begin_layout Chapter
365 \begin_inset Index idx
368 \begin_layout Plain Layout
375 \begin_inset Index idx
378 \begin_layout Plain Layout
383 \begin_layout Plain Layout
394 \begin_layout Plain Layout
409 \begin_layout Section
411 \begin_inset Index idx
414 \begin_layout Plain Layout
415 ず@図 ! がぞうだいあろぐ@画像ダイアログ
421 \begin_inset CommandInset label
430 \begin_layout Standard
431 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
432 \begin_inset Graphics
433 filename ../../images/dialog-show-new-inset_graphics.png
441 挿入\SpecialChar \menuseparator
444 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
447 \begin_layout Standard
448 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
451 \begin_layout Description
456 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
457 \begin_inset CommandInset ref
459 reference "cha:LyXで使用できる単位"
464 \begin_inset Newline newline
468 \begin_inset Index idx
471 \begin_layout Plain Layout
477 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
478 \begin_inset Newline newline
482 \begin_inset Index idx
485 \begin_layout Plain Layout
491 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
492 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
496 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
497 \begin_inset Newline newline
500 画像を右クリックすると現れるコンテクストメニューで
504 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
508 \begin_layout Description
513 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
517 ボタンを押すことによって、自動的に計算することもできます。
521 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
524 \begin_layout Description
529 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
532 \begin_inset Newline newline
537 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
540 \begin_inset Newline newline
549 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
551 \begin_inset Newline newline
554 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
555 \begin_inset CommandInset ref
557 reference "sec:PostScript"
561 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
562 \begin_inset Newline newline
570 \begin_inset Newline newline
575 zgrep %%Bounding x.eps.gz > x.eps.bb
578 \begin_inset Newline newline
581 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
582 \begin_inset Newline newline
595 you can define or join an image settings group.
598 \begin_inset Index idx
601 \begin_layout Plain Layout
602 ず@図 ! せっていぐるーぷ@設定グループ
607 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
608 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
609 ーを使用して、望むグループ名をチェックすることで行うこともできます。
612 \begin_layout Standard
613 \begin_inset VSpace bigskip
619 \begin_layout Standard
624 \begin_layout Plain Layout
626 \begin_inset CommandInset ref
637 の画像の例で、単独の中央揃えの段落に置いてあります。
640 \begin_layout Standard
642 \begin_inset Graphics
643 filename ../clipart/mobius.eps
653 \begin_layout Standard
654 下記は上と同じ画像ですが、下書きモードのものです。
657 \begin_layout Standard
659 \begin_inset Graphics
660 filename ../clipart/mobius.eps
671 \begin_layout Standard
672 \begin_inset Newpage newpage
678 \begin_layout Section
680 \begin_inset CommandInset label
687 \begin_inset Index idx
690 \begin_layout Plain Layout
697 \begin_inset Index idx
700 \begin_layout Plain Layout
709 \begin_layout Standard
711 \begin_inset CommandInset ref
713 reference "sec:フロートはじめに"
720 \begin_layout Standard
722 \begin_inset Graphics
723 filename ../../images/float-insert_figure.png
731 挿入\SpecialChar \menuseparator
732 フロート\SpecialChar \menuseparator
735 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
736 \begin_inset CommandInset ref
738 reference "fig:犠牲のカモノハシ"
742 のようにキャプションの上に置くこともできますし、図
743 \begin_inset CommandInset ref
745 reference "fig:エッシャー"
749 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
750 \begin_inset CommandInset ref
752 reference "sec:キャプションの配置"
759 \begin_layout Standard
760 \begin_inset Float figure
765 \begin_layout Plain Layout
767 \begin_inset Graphics
768 filename ../clipart/platypus.eps
778 \begin_layout Plain Layout
781 \begin_layout Plain Layout
782 \begin_inset CommandInset label
801 \begin_layout Standard
802 \begin_inset Float figure
807 \begin_layout Plain Layout
810 \begin_layout Plain Layout
811 \begin_inset CommandInset label
825 \begin_layout Plain Layout
827 \begin_inset Graphics
828 filename ../clipart/escher-lsd.eps
843 \begin_layout Standard
844 \begin_inset Index idx
847 \begin_layout Plain Layout
848 さんしょう@参照 ! ずへの@図への ---
854 \begin_inset CommandInset ref
856 reference "fig:犠牲のカモノハシ"
861 \begin_inset CommandInset ref
863 reference "fig:エッシャー"
867 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
869 挿入\SpecialChar \menuseparator
873 \begin_inset Graphics
874 filename ../../images/label-insert.png
880 を使用して、キャプションにラベルを挿入してください。その後、
882 挿入\SpecialChar \menuseparator
886 \begin_inset Graphics
887 filename ../../images/dialog-show-new-inset_ref.png
893 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
894 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
895 \begin_inset Newline newline
899 \begin_inset CommandInset ref
901 reference "sec:フロートの参照"
908 \begin_layout Standard
909 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
910 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
911 \begin_inset CommandInset ref
913 reference "fig:歪められた二つの像"
917 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
918 \begin_inset CommandInset ref
920 reference "fig:何かわからない構造"
925 \begin_inset CommandInset ref
927 reference "fig:カモノハシ"
934 \begin_layout Standard
935 \begin_inset Float figure
940 \begin_layout Plain Layout
941 \begin_inset space \hfill{}
945 \begin_inset Float figure
950 \begin_layout Plain Layout
953 \begin_layout Plain Layout
954 \begin_inset CommandInset label
968 \begin_layout Plain Layout
969 \begin_inset Graphics
970 filename ../clipart/escher-lsd.eps
983 \begin_inset space \hfill{}
987 \begin_inset Float figure
992 \begin_layout Plain Layout
995 \begin_layout Plain Layout
996 \begin_inset CommandInset label
1010 \begin_layout Plain Layout
1011 \begin_inset Graphics
1012 filename ../clipart/platypus.eps
1025 \begin_inset space \hfill{}
1031 \begin_layout Plain Layout
1032 \begin_inset Caption
1034 \begin_layout Plain Layout
1035 \begin_inset CommandInset label
1037 name "fig:歪められた二つの像"
1041 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1054 \begin_layout Standard
1055 \begin_inset Newpage newpage
1061 \begin_layout Section
1063 \begin_inset CommandInset label
1070 \begin_inset Index idx
1073 \begin_layout Plain Layout
1080 \begin_inset Index idx
1083 \begin_layout Plain Layout
1092 \begin_layout Standard
1093 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1094 \begin_inset CommandInset ref
1096 reference "cha:ファイル出力形式"
1100 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1105 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1106 用するとよいでしょう。出力ファイル書式は、付録
1107 \begin_inset CommandInset ref
1109 reference "cha:ファイル出力形式"
1116 \begin_layout Standard
1117 フォントと同じく、画像形式にも以下の二つの型があります。
1120 \begin_layout Description
1121 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1122 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1127 \begin_inset Index idx
1130 \begin_layout Plain Layout
1135 \begin_layout Plain Layout
1146 \begin_layout Plain Layout
1158 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1163 \begin_inset Index idx
1166 \begin_layout Plain Layout
1171 \begin_layout Plain Layout
1182 \begin_layout Plain Layout
1194 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1203 \begin_inset Index idx
1206 \begin_layout Plain Layout
1211 \begin_layout Plain Layout
1222 \begin_layout Plain Layout
1237 \begin_layout Description
1238 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1239 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1241 \begin_inset Newline newline
1244 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1249 \begin_inset Index idx
1252 \begin_layout Plain Layout
1257 \begin_layout Plain Layout
1268 \begin_layout Plain Layout
1280 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1285 \begin_inset Index idx
1288 \begin_layout Plain Layout
1293 \begin_layout Plain Layout
1304 \begin_layout Plain Layout
1316 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1321 \begin_inset Index idx
1324 \begin_layout Plain Layout
1330 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1335 \begin_inset Index idx
1338 \begin_layout Plain Layout
1343 \begin_layout Plain Layout
1354 \begin_layout Plain Layout
1366 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1367 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1371 \begin_layout Plain Layout
1372 PDFの場合には、さらに元画像が圧縮されます。
1381 が生成するPDFファイルは、ビットマップ画像です。
1384 \begin_layout Standard
1385 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1386 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1387 \begin_inset Formula $\to$
1390 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1393 \begin_layout Chapter
1395 \begin_inset Index idx
1398 \begin_layout Plain Layout
1407 \begin_layout Section
1409 \begin_inset Index idx
1412 \begin_layout Plain Layout
1421 \begin_layout Standard
1432 \begin_inset Graphics
1433 filename ../../images/tabular-insert.png
1447 挿入\SpecialChar \menuseparator
1450 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1451 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1452 \begin_inset Newline newline
1455 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1456 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1459 \begin_layout Standard
1461 \begin_inset Tabular
1462 <lyxtabular version="3" rows="4" columns="4">
1463 <features tabularvalignment="middle">
1464 <column alignment="center" valignment="top" width="0">
1465 <column alignment="center" valignment="top" width="0">
1466 <column alignment="center" valignment="top" width="0">
1467 <column alignment="center" valignment="top" width="0">
1469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1472 \begin_layout Plain Layout
1478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1481 \begin_layout Plain Layout
1487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1490 \begin_layout Plain Layout
1496 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1499 \begin_layout Plain Layout
1507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1510 \begin_layout Plain Layout
1516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1519 \begin_layout Plain Layout
1525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1528 \begin_layout Plain Layout
1534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1537 \begin_layout Plain Layout
1545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1548 \begin_layout Plain Layout
1554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1557 \begin_layout Plain Layout
1563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1566 \begin_layout Plain Layout
1572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1575 \begin_layout Plain Layout
1583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1586 \begin_layout Plain Layout
1592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1595 \begin_layout Plain Layout
1601 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1604 \begin_layout Plain Layout
1610 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1613 \begin_layout Plain Layout
1627 \begin_layout Section
1629 \begin_inset Index idx
1632 \begin_layout Plain Layout
1641 \begin_layout Standard
1651 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1652 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1665 を選択するのと、セル自体を選択するのは違うことに注意して下さい。
1666 \begin_inset Newline newline
1673 を使用すると、ダイアログ中に行った変更が直ちに適用されるようになります。カーソルを別のセルに移動すると、ダイアログも新しいセルのパラメーターに更新されます。ダイ
1674 アログ中の長さの値を変更した場合には、リターンを押さないと変更が適用されません。
1675 \begin_inset Newline newline
1678 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1681 \begin_layout Description
1686 ここでは、現在列の幅と水平揃えを設定することができます。
1691 \begin_inset CommandInset ref
1693 reference "sub:特殊なセル揃え"
1697 で説明されています。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関して
1699 \begin_inset CommandInset ref
1705 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1706 \begin_inset Newline newline
1709 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1710 \begin_inset CommandInset ref
1716 節をご参照下さい。あるいは同一列のセルを連結行セルとして指定することもできます。これについては、第
1717 \begin_inset CommandInset ref
1724 \begin_inset Newline newline
1727 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1728 \begin_inset Newline newline
1732 \begin_inset Note Greyedout
1735 \begin_layout Plain Layout
1740 DVIビューアのすべてが回転を表示できるわけではありません。
1746 \begin_inset Newline newline
1749 下記は、本文行中の表に、表全体の垂直揃えを適用したものです。
1750 \begin_inset Newline newline
1754 \begin_inset Tabular
1755 <lyxtabular version="3" rows="2" columns="2">
1756 <features tabularvalignment="top">
1757 <column alignment="center" valignment="top" width="0pt">
1758 <column alignment="center" valignment="top" width="0">
1760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1763 \begin_layout Plain Layout
1769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1772 \begin_layout Plain Layout
1780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1783 \begin_layout Plain Layout
1789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1792 \begin_layout Plain Layout
1804 \begin_inset Tabular
1805 <lyxtabular version="3" rows="2" columns="2">
1806 <features tabularvalignment="middle">
1807 <column alignment="center" valignment="top" width="0">
1808 <column alignment="center" valignment="top" width="0">
1810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1813 \begin_layout Plain Layout
1819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1822 \begin_layout Plain Layout
1830 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1833 \begin_layout Plain Layout
1839 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1842 \begin_layout Plain Layout
1854 \begin_inset Tabular
1855 <lyxtabular version="3" rows="2" columns="2">
1856 <features tabularvalignment="bottom">
1857 <column alignment="center" valignment="top" width="0pt">
1858 <column alignment="center" valignment="top" width="0">
1860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1863 \begin_layout Plain Layout
1869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1872 \begin_layout Plain Layout
1880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1883 \begin_layout Plain Layout
1889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1892 \begin_layout Plain Layout
1904 \begin_inset Newline newline
1907 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1908 \begin_inset CommandInset ref
1910 reference "sub:連結列の計算"
1915 \begin_inset CommandInset ref
1917 reference "sec:色付きの表"
1924 \begin_layout Description
1929 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1930 \begin_inset Newline newline
1938 \begin_inset CommandInset ref
1940 reference "sec:フォーマル形式の表"
1944 節に述べられているフォーマル様式の表に表を変換します。
1945 \begin_inset Newline newline
1949 \begin_inset CommandInset ref
1951 reference "sub:行の余白取り"
1955 節に述べられているように、表の行に空白を追加することもできます。
1958 \begin_layout Description
1963 このタブは、複数のページにわたる、いわゆる「
1968 \begin_inset CommandInset ref
1975 \begin_inset CommandInset ref
1977 reference "sec:長尺表にまつわる諸点"
1981 節に、長尺表の機能に関する詳細な説明があります。
1984 \begin_layout Section
1986 \begin_inset Index idx
1989 \begin_layout Plain Layout
1998 \begin_layout Standard
1999 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
2000 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
2003 \begin_layout Standard
2004 ツールバーには、以下のアイコンがあります。
2007 \begin_layout Labeling
2008 \labelwidthstring 00.00.0000
2009 \begin_inset Graphics
2010 filename ../../images/tabular-feature_append-row.png
2015 は、現在セルあるいは選択範囲の下に行を追加します。
2018 \begin_layout Labeling
2019 \labelwidthstring 00.00.0000
2020 \begin_inset Graphics
2021 filename ../../images/tabular-feature_append-column.png
2026 は、現在セルあるいは選択範囲の右に列を追加します。
2029 \begin_layout Labeling
2030 \labelwidthstring 00.00.0000
2031 \begin_inset Graphics
2032 filename ../../images/tabular-feature_delete-row.png
2037 は、現在行あるいは選択範囲行を削除します。
2040 \begin_layout Labeling
2041 \labelwidthstring 00.00.0000
2042 \begin_inset Graphics
2043 filename ../../images/tabular-feature_delete-column.png
2048 は、現在列あるいは選択範囲列を削除します。
2051 \begin_layout Labeling
2052 \labelwidthstring 00.00.0000
2053 \begin_inset Graphics
2054 filename ../../images/tabular-feature_toggle-line-top.png
2059 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2062 \begin_layout Labeling
2063 \labelwidthstring 00.00.0000
2064 \begin_inset Graphics
2065 filename ../../images/tabular-feature_toggle-line-bottom.png
2070 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2073 \begin_layout Labeling
2074 \labelwidthstring 00.00.0000
2075 \begin_inset Graphics
2076 filename ../../images/tabular-feature_toggle-line-left.png
2081 は、 現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2084 \begin_layout Labeling
2085 \labelwidthstring 00.00.0000
2086 \begin_inset Graphics
2087 filename ../../images/tabular-feature_toggle-line-right.png
2092 は、 現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2095 \begin_layout Labeling
2096 \labelwidthstring 00.00.0000
2097 \begin_inset Graphics
2098 filename ../../images/tabular-feature_set-all-lines.png
2103 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2106 \begin_layout Labeling
2107 \labelwidthstring 00.00.0000
2108 \begin_inset Graphics
2109 filename ../../images/tabular-feature_unset-all-lines.png
2114 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2117 \begin_layout Labeling
2118 \labelwidthstring 00.00.0000
2119 \begin_inset Graphics
2120 filename ../../images/tabular-feature_m-align-left.png
2125 は、現在セルあるいは現在列の内容を左揃えにします。
2128 \begin_layout Labeling
2129 \labelwidthstring 00.00.0000
2130 \begin_inset Graphics
2131 filename ../../images/tabular-feature_m-align-center.png
2136 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2139 \begin_layout Labeling
2140 \labelwidthstring 00.00.0000
2141 \begin_inset Graphics
2142 filename ../../images/tabular-feature_m-align-right.png
2147 は、現在セルあるいは現在列の内容を右揃えにします。
2150 \begin_layout Labeling
2151 \labelwidthstring 00.00.0000
2152 \begin_inset Graphics
2153 filename ../../images/tabular-feature_align-decimal.png
2158 は、現在セルの内容を特定文字位置で揃えます。
2161 \begin_layout Labeling
2162 \labelwidthstring 00.00.0000
2163 \begin_inset Graphics
2164 filename ../../images/tabular-feature_m-valign-top.png
2169 は、現在セルの内容を垂直方向上揃えにします。
2172 \begin_layout Labeling
2173 \labelwidthstring 00.00.0000
2174 \begin_inset Graphics
2175 filename ../../images/tabular-feature_m-valign-middle.png
2180 は、現在セルの内容を垂直方向中央揃えにします。
2183 \begin_layout Labeling
2184 \labelwidthstring 00.00.0000
2185 \begin_inset Graphics
2186 filename ../../images/tabular-feature_m-valign-bottom.png
2191 は、現在セルの内容を垂直方向下揃えにします。
2194 \begin_layout Labeling
2195 \labelwidthstring 00.00.0000
2196 \begin_inset Graphics
2197 filename ../../images/tabular-feature_set-rotate-cell.png
2202 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2205 \begin_layout Labeling
2206 \labelwidthstring 00.00.0000
2207 \begin_inset Graphics
2208 filename ../../images/tabular-feature_set-rotate-tabular.png
2213 は、表全体を反時計廻りに90度回転します。
2216 \begin_layout Labeling
2217 \labelwidthstring 00.00.0000
2218 \begin_inset Graphics
2219 filename ../../images/tabular-feature_multicolumn.png
2224 は、現在セルあるいは選択範囲を連結列にします。
2227 \begin_layout Labeling
2228 \labelwidthstring 00.00.0000
2229 \begin_inset Graphics
2230 filename ../../images/tabular-feature_multirow.png
2235 は、現在セルあるいは選択範囲を連結行にします。
2238 \begin_layout Standard
2239 \begin_inset Note Greyedout
2242 \begin_layout Plain Layout
2247 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2255 \begin_layout Section
2257 \begin_inset Index idx
2260 \begin_layout Plain Layout
2261 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2269 \begin_layout Standard
2272 編集\SpecialChar \menuseparator
2275 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2279 \begin_layout Section
2281 \begin_inset CommandInset label
2288 \begin_inset Index idx
2291 \begin_layout Plain Layout
2298 \begin_inset Index idx
2301 \begin_layout Plain Layout
2310 \begin_layout Standard
2312 \begin_inset CommandInset ref
2314 reference "sec:フロートはじめに"
2321 \begin_layout Standard
2322 \begin_inset Float table
2328 \begin_layout Plain Layout
2329 \begin_inset Caption
2331 \begin_layout Plain Layout
2332 \begin_inset CommandInset label
2346 \begin_layout Plain Layout
2348 \begin_inset Tabular
2349 <lyxtabular version="3" rows="3" columns="3">
2350 <features tabularvalignment="middle">
2351 <column alignment="center" valignment="top" width="0pt">
2352 <column alignment="center" valignment="top" width="0pt">
2353 <column alignment="center" valignment="top" width="0pt">
2355 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2358 \begin_layout Plain Layout
2373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2376 \begin_layout Plain Layout
2391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2394 \begin_layout Plain Layout
2411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2414 \begin_layout Plain Layout
2420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2423 \begin_layout Plain Layout
2429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2432 \begin_layout Plain Layout
2440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2443 \begin_layout Plain Layout
2453 \begin_inset Formula $\int x^{2}dx$
2461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2464 \begin_layout Plain Layout
2474 \begin_inset Formula $\left[\begin{array}{cc}
2485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2488 \begin_layout Plain Layout
2498 \begin_inset Formula $1+1=2$
2519 \begin_layout Standard
2524 \SpecialChar \menuseparator
2525 フロート\SpecialChar \menuseparator
2530 \begin_inset Graphics
2531 filename ../../images/float-insert_table.png
2540 \begin_layout Standard
2541 フロートは折りたたむことのできるボックスとして表示され、中には「表
2542 \begin_inset space ~
2545 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2548 \begin_layout Standard
2550 \begin_inset space ~
2554 \begin_inset CommandInset ref
2556 reference "tab:表フロート"
2563 \begin_layout Standard
2564 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2565 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2571 \begin_inset Index idx
2574 \begin_layout Plain Layout
2575 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2583 \begin_layout Standard
2589 \begin_layout Standard
2590 というオプションとともにloadコマンドを使って読み込んでください
2594 \begin_layout Plain Layout
2596 \begin_inset CommandInset ref
2598 reference "sec:キャプションの配置"
2608 \begin_inset CommandInset ref
2610 reference "sec:キャプションの書式設定"
2621 \begin_layout Standard
2622 \begin_inset Index idx
2625 \begin_layout Plain Layout
2626 さんしょう@参照 ! ひょうへの@表への
2631 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2633 挿入\SpecialChar \menuseparator
2637 \begin_inset Graphics
2638 filename ../../images/label-insert.png
2644 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2646 \begin_inset Graphics
2647 filename ../../images/dialog-show-new-inset_ref.png
2653 を用いて、このラベルを参照することができます。
2654 \begin_inset Newline newline
2658 \begin_inset CommandInset ref
2660 reference "sec:フロートの参照"
2667 \begin_layout Section
2669 \begin_inset CommandInset label
2676 \begin_inset Index idx
2679 \begin_layout Plain Layout
2686 \begin_inset Index idx
2689 \begin_layout Plain Layout
2690 ひょう@表 ! ちょうしゃくひょう@長尺表
2698 \begin_layout Standard
2699 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2707 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2711 \begin_layout Description
2712 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2739 が定義されているときは、冒頭ページを除きます。
2748 これと区別して、このヘッダは本体ヘッダと呼びます。
2751 \begin_layout Description
2752 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2755 \begin_layout Description
2756 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2783 が定義されているときは、末尾ページを除きます。
2786 \begin_layout Description
2787 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2790 \begin_layout Description
2791 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2792 \begin_inset CommandInset ref
2794 reference "sub:長尺表のキャプション"
2801 \begin_layout Standard
2802 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2805 \begin_layout Standard
2807 \begin_inset Tabular
2808 <lyxtabular version="3" rows="69" columns="3">
2809 <features islongtable="true" longtabularalignment="center">
2810 <column alignment="left" valignment="top" width="0cm">
2811 <column alignment="left" valignment="top" width="0pt">
2812 <column alignment="center" valignment="top" width="0pt">
2813 <row endfirsthead="true">
2814 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2817 \begin_layout Plain Layout
2825 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2828 \begin_layout Plain Layout
2834 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2837 \begin_layout Plain Layout
2844 <row endfirsthead="true">
2845 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2848 \begin_layout Plain Layout
2854 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2857 \begin_layout Plain Layout
2863 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2866 \begin_layout Plain Layout
2875 <row endhead="true">
2876 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2879 \begin_layout Plain Layout
2887 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2890 \begin_layout Plain Layout
2896 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2899 \begin_layout Plain Layout
2906 <row endhead="true">
2907 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2910 \begin_layout Plain Layout
2916 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2919 \begin_layout Plain Layout
2925 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2928 \begin_layout Plain Layout
2937 <row endfoot="true">
2938 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2941 \begin_layout Plain Layout
2947 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2950 \begin_layout Plain Layout
2956 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2959 \begin_layout Plain Layout
2967 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2970 \begin_layout Plain Layout
2978 <cell alignment="center" valignment="top" usebox="none">
2981 \begin_layout Plain Layout
2987 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
2990 \begin_layout Plain Layout
2998 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3001 \begin_layout Plain Layout
3009 <cell alignment="center" valignment="top" usebox="none">
3012 \begin_layout Plain Layout
3018 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3021 \begin_layout Plain Layout
3029 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3032 \begin_layout Plain Layout
3040 <cell alignment="center" valignment="top" usebox="none">
3043 \begin_layout Plain Layout
3049 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3052 \begin_layout Plain Layout
3060 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3063 \begin_layout Plain Layout
3071 <cell alignment="center" valignment="top" usebox="none">
3074 \begin_layout Plain Layout
3080 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3083 \begin_layout Plain Layout
3091 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3094 \begin_layout Plain Layout
3102 <cell alignment="center" valignment="top" usebox="none">
3105 \begin_layout Plain Layout
3111 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3114 \begin_layout Plain Layout
3122 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3125 \begin_layout Plain Layout
3133 <cell alignment="center" valignment="top" usebox="none">
3136 \begin_layout Plain Layout
3142 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3145 \begin_layout Plain Layout
3153 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3156 \begin_layout Plain Layout
3164 <cell alignment="center" valignment="top" usebox="none">
3167 \begin_layout Plain Layout
3173 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3176 \begin_layout Plain Layout
3184 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3187 \begin_layout Plain Layout
3195 <cell alignment="center" valignment="top" usebox="none">
3198 \begin_layout Plain Layout
3204 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3207 \begin_layout Plain Layout
3215 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3218 \begin_layout Plain Layout
3226 <cell alignment="center" valignment="top" usebox="none">
3229 \begin_layout Plain Layout
3235 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3238 \begin_layout Plain Layout
3246 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3249 \begin_layout Plain Layout
3257 <cell alignment="center" valignment="top" usebox="none">
3260 \begin_layout Plain Layout
3266 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3269 \begin_layout Plain Layout
3277 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3280 \begin_layout Plain Layout
3288 <cell alignment="center" valignment="top" usebox="none">
3291 \begin_layout Plain Layout
3297 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3300 \begin_layout Plain Layout
3308 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3311 \begin_layout Plain Layout
3319 <cell alignment="center" valignment="top" usebox="none">
3322 \begin_layout Plain Layout
3328 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3331 \begin_layout Plain Layout
3339 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3342 \begin_layout Plain Layout
3350 <cell alignment="center" valignment="top" usebox="none">
3353 \begin_layout Plain Layout
3359 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3362 \begin_layout Plain Layout
3370 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3373 \begin_layout Plain Layout
3381 <cell alignment="center" valignment="top" usebox="none">
3384 \begin_layout Plain Layout
3390 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3393 \begin_layout Plain Layout
3401 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3404 \begin_layout Plain Layout
3412 <cell alignment="center" valignment="top" usebox="none">
3415 \begin_layout Plain Layout
3421 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3424 \begin_layout Plain Layout
3432 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3435 \begin_layout Plain Layout
3443 <cell alignment="center" valignment="top" usebox="none">
3446 \begin_layout Plain Layout
3452 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3455 \begin_layout Plain Layout
3463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3466 \begin_layout Plain Layout
3474 <cell alignment="center" valignment="top" usebox="none">
3477 \begin_layout Plain Layout
3483 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3486 \begin_layout Plain Layout
3494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3497 \begin_layout Plain Layout
3505 <cell alignment="center" valignment="top" usebox="none">
3508 \begin_layout Plain Layout
3514 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3517 \begin_layout Plain Layout
3525 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3528 \begin_layout Plain Layout
3536 <cell alignment="center" valignment="top" usebox="none">
3539 \begin_layout Plain Layout
3545 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3548 \begin_layout Plain Layout
3556 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3559 \begin_layout Plain Layout
3567 <cell alignment="center" valignment="top" usebox="none">
3570 \begin_layout Plain Layout
3576 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3579 \begin_layout Plain Layout
3587 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3590 \begin_layout Plain Layout
3598 <cell alignment="center" valignment="top" usebox="none">
3601 \begin_layout Plain Layout
3607 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3610 \begin_layout Plain Layout
3618 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3621 \begin_layout Plain Layout
3629 <cell alignment="center" valignment="top" usebox="none">
3632 \begin_layout Plain Layout
3638 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3641 \begin_layout Plain Layout
3649 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3652 \begin_layout Plain Layout
3660 <cell alignment="center" valignment="top" usebox="none">
3663 \begin_layout Plain Layout
3669 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3672 \begin_layout Plain Layout
3680 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3683 \begin_layout Plain Layout
3691 <cell alignment="center" valignment="top" usebox="none">
3694 \begin_layout Plain Layout
3700 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3703 \begin_layout Plain Layout
3711 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3714 \begin_layout Plain Layout
3722 <cell alignment="center" valignment="top" usebox="none">
3725 \begin_layout Plain Layout
3731 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3734 \begin_layout Plain Layout
3742 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3745 \begin_layout Plain Layout
3753 <cell alignment="center" valignment="top" usebox="none">
3756 \begin_layout Plain Layout
3762 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3765 \begin_layout Plain Layout
3773 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3776 \begin_layout Plain Layout
3784 <cell alignment="center" valignment="top" usebox="none">
3787 \begin_layout Plain Layout
3793 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3796 \begin_layout Plain Layout
3804 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3807 \begin_layout Plain Layout
3815 <cell alignment="center" valignment="top" usebox="none">
3818 \begin_layout Plain Layout
3824 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3827 \begin_layout Plain Layout
3835 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3838 \begin_layout Plain Layout
3846 <cell alignment="center" valignment="top" usebox="none">
3849 \begin_layout Plain Layout
3855 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3858 \begin_layout Plain Layout
3866 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3869 \begin_layout Plain Layout
3877 <cell alignment="center" valignment="top" usebox="none">
3880 \begin_layout Plain Layout
3886 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3889 \begin_layout Plain Layout
3897 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3900 \begin_layout Plain Layout
3908 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3911 \begin_layout Plain Layout
3917 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3920 \begin_layout Plain Layout
3928 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3931 \begin_layout Plain Layout
3937 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3940 \begin_layout Plain Layout
3946 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3949 \begin_layout Plain Layout
3957 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3960 \begin_layout Plain Layout
3968 <cell alignment="center" valignment="top" usebox="none">
3971 \begin_layout Plain Layout
3977 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3980 \begin_layout Plain Layout
3988 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3991 \begin_layout Plain Layout
3999 <cell alignment="center" valignment="top" usebox="none">
4002 \begin_layout Plain Layout
4008 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4011 \begin_layout Plain Layout
4019 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4022 \begin_layout Plain Layout
4030 <cell alignment="center" valignment="top" usebox="none">
4033 \begin_layout Plain Layout
4039 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4042 \begin_layout Plain Layout
4050 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4053 \begin_layout Plain Layout
4061 <cell alignment="center" valignment="top" usebox="none">
4064 \begin_layout Plain Layout
4070 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4073 \begin_layout Plain Layout
4081 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4084 \begin_layout Plain Layout
4092 <cell alignment="center" valignment="top" usebox="none">
4095 \begin_layout Plain Layout
4101 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4104 \begin_layout Plain Layout
4112 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4115 \begin_layout Plain Layout
4123 <cell alignment="center" valignment="top" usebox="none">
4126 \begin_layout Plain Layout
4132 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4135 \begin_layout Plain Layout
4143 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4146 \begin_layout Plain Layout
4154 <cell alignment="center" valignment="top" usebox="none">
4157 \begin_layout Plain Layout
4163 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4166 \begin_layout Plain Layout
4174 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4177 \begin_layout Plain Layout
4185 <cell alignment="center" valignment="top" usebox="none">
4188 \begin_layout Plain Layout
4194 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4197 \begin_layout Plain Layout
4205 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4208 \begin_layout Plain Layout
4216 <cell alignment="center" valignment="top" usebox="none">
4219 \begin_layout Plain Layout
4225 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4228 \begin_layout Plain Layout
4236 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4239 \begin_layout Plain Layout
4247 <cell alignment="center" valignment="top" usebox="none">
4250 \begin_layout Plain Layout
4256 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4259 \begin_layout Plain Layout
4267 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4270 \begin_layout Plain Layout
4278 <cell alignment="center" valignment="top" usebox="none">
4281 \begin_layout Plain Layout
4287 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4290 \begin_layout Plain Layout
4298 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4301 \begin_layout Plain Layout
4309 <cell alignment="center" valignment="top" usebox="none">
4312 \begin_layout Plain Layout
4318 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4321 \begin_layout Plain Layout
4329 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4332 \begin_layout Plain Layout
4340 <cell alignment="center" valignment="top" usebox="none">
4343 \begin_layout Plain Layout
4349 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4352 \begin_layout Plain Layout
4360 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4363 \begin_layout Plain Layout
4371 <cell alignment="center" valignment="top" usebox="none">
4374 \begin_layout Plain Layout
4380 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4383 \begin_layout Plain Layout
4391 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4394 \begin_layout Plain Layout
4402 <cell alignment="center" valignment="top" usebox="none">
4405 \begin_layout Plain Layout
4411 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4414 \begin_layout Plain Layout
4422 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4425 \begin_layout Plain Layout
4433 <cell alignment="center" valignment="top" usebox="none">
4436 \begin_layout Plain Layout
4442 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4445 \begin_layout Plain Layout
4453 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4456 \begin_layout Plain Layout
4464 <cell alignment="center" valignment="top" usebox="none">
4467 \begin_layout Plain Layout
4473 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4476 \begin_layout Plain Layout
4484 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4487 \begin_layout Plain Layout
4495 <cell alignment="center" valignment="top" usebox="none">
4498 \begin_layout Plain Layout
4504 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4507 \begin_layout Plain Layout
4515 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4518 \begin_layout Plain Layout
4526 <cell alignment="center" valignment="top" usebox="none">
4529 \begin_layout Plain Layout
4535 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4538 \begin_layout Plain Layout
4546 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4549 \begin_layout Plain Layout
4557 <cell alignment="center" valignment="top" usebox="none">
4560 \begin_layout Plain Layout
4566 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4569 \begin_layout Plain Layout
4577 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4580 \begin_layout Plain Layout
4588 <cell alignment="center" valignment="top" usebox="none">
4591 \begin_layout Plain Layout
4597 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4600 \begin_layout Plain Layout
4608 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4611 \begin_layout Plain Layout
4619 <cell alignment="center" valignment="top" usebox="none">
4622 \begin_layout Plain Layout
4628 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4631 \begin_layout Plain Layout
4639 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4642 \begin_layout Plain Layout
4650 <cell alignment="center" valignment="top" usebox="none">
4653 \begin_layout Plain Layout
4659 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4662 \begin_layout Plain Layout
4670 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4673 \begin_layout Plain Layout
4681 <cell alignment="center" valignment="top" usebox="none">
4684 \begin_layout Plain Layout
4690 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4693 \begin_layout Plain Layout
4701 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4704 \begin_layout Plain Layout
4712 <cell alignment="center" valignment="top" usebox="none">
4715 \begin_layout Plain Layout
4721 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4724 \begin_layout Plain Layout
4732 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4735 \begin_layout Plain Layout
4743 <cell alignment="center" valignment="top" usebox="none">
4746 \begin_layout Plain Layout
4752 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4755 \begin_layout Plain Layout
4763 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4766 \begin_layout Plain Layout
4774 <cell alignment="center" valignment="top" usebox="none">
4777 \begin_layout Plain Layout
4783 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4786 \begin_layout Plain Layout
4794 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4797 \begin_layout Plain Layout
4805 <cell alignment="center" valignment="top" usebox="none">
4808 \begin_layout Plain Layout
4814 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4817 \begin_layout Plain Layout
4825 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4828 \begin_layout Plain Layout
4836 <cell alignment="center" valignment="top" usebox="none">
4839 \begin_layout Plain Layout
4845 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4848 \begin_layout Plain Layout
4856 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4859 \begin_layout Plain Layout
4867 <cell alignment="center" valignment="top" usebox="none">
4870 \begin_layout Plain Layout
4876 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4879 \begin_layout Plain Layout
4887 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4890 \begin_layout Plain Layout
4898 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4901 \begin_layout Plain Layout
4907 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4910 \begin_layout Plain Layout
4917 <row endlastfoot="true">
4918 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4921 \begin_layout Plain Layout
4927 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4930 \begin_layout Plain Layout
4936 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4939 \begin_layout Plain Layout
4954 \begin_layout Plain Layout
4958 addtocounter{table}{-1}
4964 \begin_inset Note Note
4967 \begin_layout Plain Layout
4969 \begin_inset CommandInset ref
4971 reference "sub:長尺表のキャプション"
4983 \begin_layout Subsection
4985 \begin_inset CommandInset label
4992 \begin_inset Index idx
4995 \begin_layout Plain Layout
4996 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
5004 \begin_layout Standard
5005 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
5006 \begin_inset CommandInset ref
5008 reference "tab:別キャプション"
5015 \begin_layout Subsection
5017 \begin_inset Index idx
5020 \begin_layout Plain Layout
5021 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5029 \begin_layout Standard
5030 表設定ダイアログでは、長尺表の水平揃えを指定することができます。左揃えや右揃えでは、表は直接ページ境界に寄せられます。表と境界の間に余白を加えるには、中央揃えに
5034 \begin_layout Standard
5044 \begin_layout Standard
5045 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5057 の値を変更しなくてはなりません。ここで「値」は、第
5058 \begin_inset CommandInset ref
5064 表に挙げてある単位であれば、どの単位を取ることもできます。
5070 は、左頁余白から長尺表までの水平方向の距離を制御し、
5076 は、右頁余白からの距離を制御します。これらの長さの既定値は
5082 となっており、LyXの水平フィルと同等になっています。
5085 \begin_layout Standard
5102 \begin_layout Plain Layout
5118 \begin_layout Standard
5119 \begin_inset Tabular
5120 <lyxtabular version="3" rows="5" columns="5">
5121 <features islongtable="true" longtabularalignment="center">
5122 <column alignment="center" valignment="top" width="0">
5123 <column alignment="center" valignment="top" width="0">
5124 <column alignment="center" valignment="top" width="0">
5125 <column alignment="center" valignment="top" width="0">
5126 <column alignment="center" valignment="top" width="0">
5128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5131 \begin_layout Plain Layout
5137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5140 \begin_layout Plain Layout
5146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5149 \begin_layout Plain Layout
5155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5158 \begin_layout Plain Layout
5164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5167 \begin_layout Plain Layout
5175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5178 \begin_layout Plain Layout
5184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5187 \begin_layout Plain Layout
5193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5196 \begin_layout Plain Layout
5202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5205 \begin_layout Plain Layout
5211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5214 \begin_layout Plain Layout
5222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5225 \begin_layout Plain Layout
5231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5234 \begin_layout Plain Layout
5240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5243 \begin_layout Plain Layout
5249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5252 \begin_layout Plain Layout
5258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5261 \begin_layout Plain Layout
5269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5272 \begin_layout Plain Layout
5278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5281 \begin_layout Plain Layout
5287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5290 \begin_layout Plain Layout
5296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5299 \begin_layout Plain Layout
5305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5308 \begin_layout Plain Layout
5316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5319 \begin_layout Plain Layout
5325 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5328 \begin_layout Plain Layout
5334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5337 \begin_layout Plain Layout
5343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5346 \begin_layout Plain Layout
5352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5355 \begin_layout Plain Layout
5370 \begin_layout Plain Layout
5387 \begin_layout Plain Layout
5391 addtocounter{table}{-1}
5397 \begin_inset Note Note
5400 \begin_layout Plain Layout
5402 \begin_inset CommandInset ref
5404 reference "sub:長尺表のキャプション"
5416 \begin_layout Subsection
5418 \begin_inset Index idx
5421 \begin_layout Plain Layout
5422 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5428 \begin_inset CommandInset label
5430 name "sub:長尺表のキャプション"
5437 \begin_layout Standard
5438 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5439 \begin_inset CommandInset ref
5445 節に述べられているように、ある行で長尺表オプションの
5449 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5452 \begin_layout Standard
5453 以下は、動作を確認するための短い長尺表です。
5456 \begin_layout Standard
5457 \begin_inset Tabular
5458 <lyxtabular version="3" rows="6" columns="5">
5459 <features islongtable="true" longtabularalignment="center">
5460 <column alignment="center" valignment="top" width="0">
5461 <column alignment="center" valignment="top" width="0">
5462 <column alignment="center" valignment="top" width="0">
5463 <column alignment="center" valignment="top" width="0">
5464 <column alignment="center" valignment="top" width="0">
5465 <row caption="true">
5466 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5469 \begin_layout Plain Layout
5470 \begin_inset Caption
5472 \begin_layout Plain Layout
5474 \begin_inset Argument
5477 \begin_layout Plain Layout
5493 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5496 \begin_layout Plain Layout
5502 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5505 \begin_layout Plain Layout
5511 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5514 \begin_layout Plain Layout
5520 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5523 \begin_layout Plain Layout
5531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5534 \begin_layout Plain Layout
5540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5543 \begin_layout Plain Layout
5549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5552 \begin_layout Plain Layout
5558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5561 \begin_layout Plain Layout
5567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5570 \begin_layout Plain Layout
5578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5581 \begin_layout Plain Layout
5587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5590 \begin_layout Plain Layout
5596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5599 \begin_layout Plain Layout
5605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5608 \begin_layout Plain Layout
5614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5617 \begin_layout Plain Layout
5625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5628 \begin_layout Plain Layout
5634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5637 \begin_layout Plain Layout
5643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5646 \begin_layout Plain Layout
5652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5655 \begin_layout Plain Layout
5661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5664 \begin_layout Plain Layout
5672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5675 \begin_layout Plain Layout
5681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5684 \begin_layout Plain Layout
5690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5693 \begin_layout Plain Layout
5699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5702 \begin_layout Plain Layout
5708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5711 \begin_layout Plain Layout
5719 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5722 \begin_layout Plain Layout
5728 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5731 \begin_layout Plain Layout
5737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5740 \begin_layout Plain Layout
5746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5749 \begin_layout Plain Layout
5755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5758 \begin_layout Plain Layout
5772 \begin_layout Standard
5773 \begin_inset VSpace medskip
5777 \begin_inset Note Greyedout
5780 \begin_layout Plain Layout
5785 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5786 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5789 \begin_layout Plain Layout
5794 addtocounter{table}{-1}
5797 \begin_layout Plain Layout
5798 というコマンドを挿入する方法があります。
5801 \begin_layout Plain Layout
5802 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5805 \begin_layout Plain Layout
5815 \begin_inset Newline newline
5826 addtocounter{table}{-1}}
5834 \begin_layout Standard
5835 \begin_inset Note Greyedout
5838 \begin_layout Plain Layout
5856 \begin_inset Index idx
5859 \begin_layout Plain Layout
5860 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5865 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5873 \begin_layout Subsubsection
5875 \begin_inset Index idx
5878 \begin_layout Plain Layout
5879 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5887 \begin_layout Standard
5888 \begin_inset Tabular
5889 <lyxtabular version="3" rows="6" columns="5">
5890 <features islongtable="true" longtabularalignment="center">
5891 <column alignment="center" valignment="top" width="0">
5892 <column alignment="center" valignment="top" width="0">
5893 <column alignment="center" valignment="top" width="0">
5894 <column alignment="center" valignment="top" width="0">
5895 <column alignment="center" valignment="top" width="0">
5896 <row caption="true">
5897 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5900 \begin_layout Plain Layout
5901 \begin_inset Caption
5903 \begin_layout Plain Layout
5905 \begin_inset CommandInset label
5921 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5924 \begin_layout Plain Layout
5930 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5933 \begin_layout Plain Layout
5939 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5942 \begin_layout Plain Layout
5948 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5951 \begin_layout Plain Layout
5959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5962 \begin_layout Plain Layout
5968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5971 \begin_layout Plain Layout
5977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5980 \begin_layout Plain Layout
5986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5989 \begin_layout Plain Layout
5995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5998 \begin_layout Plain Layout
6006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6009 \begin_layout Plain Layout
6015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6018 \begin_layout Plain Layout
6024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6027 \begin_layout Plain Layout
6033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6036 \begin_layout Plain Layout
6042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6045 \begin_layout Plain Layout
6053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6056 \begin_layout Plain Layout
6062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6065 \begin_layout Plain Layout
6071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6074 \begin_layout Plain Layout
6080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6083 \begin_layout Plain Layout
6089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6092 \begin_layout Plain Layout
6100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6103 \begin_layout Plain Layout
6109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6112 \begin_layout Plain Layout
6118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6121 \begin_layout Plain Layout
6127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6130 \begin_layout Plain Layout
6136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6139 \begin_layout Plain Layout
6147 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6150 \begin_layout Plain Layout
6156 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6159 \begin_layout Plain Layout
6165 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6168 \begin_layout Plain Layout
6174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6177 \begin_layout Plain Layout
6183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6186 \begin_layout Plain Layout
6200 \begin_layout Standard
6201 長尺表を参照するには、キャプションにラベルを挿入してください。
6204 \begin_layout Standard
6206 \begin_inset CommandInset ref
6215 \begin_layout Standard
6216 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6221 \begin_inset Index idx
6224 \begin_layout Plain Layout
6225 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6231 \begin_inset CommandInset ref
6233 reference "sec:キャプションの書式設定"
6240 \begin_layout Subsubsection
6242 \begin_inset Index idx
6245 \begin_layout Plain Layout
6246 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6254 \begin_layout Standard
6261 によって指定することができます。既定値は4
6262 \begin_inset space \thinspace{}
6265 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6268 \begin_layout Standard
6278 \begin_layout Standard
6279 というコマンドを書き加えて下さい。ここで「幅」には、付録
6280 \begin_inset CommandInset ref
6282 reference "cha:LyXで使用できる単位"
6286 に挙げられている単位を取ることができます。
6289 \begin_layout Standard
6293 \begin_layout Standard
6294 \begin_inset Tabular
6295 <lyxtabular version="3" rows="6" columns="5">
6296 <features islongtable="true" longtabularalignment="center">
6297 <column alignment="center" valignment="top" width="0">
6298 <column alignment="center" valignment="top" width="0">
6299 <column alignment="center" valignment="top" width="0">
6300 <column alignment="center" valignment="top" width="0">
6301 <column alignment="center" valignment="top" width="0">
6302 <row caption="true">
6303 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6306 \begin_layout Plain Layout
6307 \begin_inset Caption
6309 \begin_layout Plain Layout
6310 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6311 \begin_inset Argument
6314 \begin_layout Plain Layout
6330 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6333 \begin_layout Plain Layout
6339 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6342 \begin_layout Plain Layout
6348 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6351 \begin_layout Plain Layout
6357 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6360 \begin_layout Plain Layout
6368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6371 \begin_layout Plain Layout
6377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6380 \begin_layout Plain Layout
6386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6389 \begin_layout Plain Layout
6395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6398 \begin_layout Plain Layout
6404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6407 \begin_layout Plain Layout
6415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6418 \begin_layout Plain Layout
6424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6427 \begin_layout Plain Layout
6433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6436 \begin_layout Plain Layout
6442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6445 \begin_layout Plain Layout
6451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6454 \begin_layout Plain Layout
6462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6465 \begin_layout Plain Layout
6471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6474 \begin_layout Plain Layout
6480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6483 \begin_layout Plain Layout
6489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6492 \begin_layout Plain Layout
6498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6501 \begin_layout Plain Layout
6509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6512 \begin_layout Plain Layout
6518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6521 \begin_layout Plain Layout
6527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6530 \begin_layout Plain Layout
6536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6539 \begin_layout Plain Layout
6545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6548 \begin_layout Plain Layout
6556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6559 \begin_layout Plain Layout
6565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6568 \begin_layout Plain Layout
6574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6577 \begin_layout Plain Layout
6583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6586 \begin_layout Plain Layout
6592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6595 \begin_layout Plain Layout
6609 \begin_layout Standard
6613 \begin_layout Plain Layout
6625 \begin_inset Tabular
6626 <lyxtabular version="3" rows="6" columns="5">
6627 <features islongtable="true" longtabularalignment="center">
6628 <column alignment="center" valignment="top" width="0">
6629 <column alignment="center" valignment="top" width="0">
6630 <column alignment="center" valignment="top" width="0">
6631 <column alignment="center" valignment="top" width="0">
6632 <column alignment="center" valignment="top" width="0">
6633 <row caption="true">
6634 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6637 \begin_layout Plain Layout
6638 \begin_inset Caption
6640 \begin_layout Plain Layout
6642 \begin_inset space \thinspace{}
6646 \begin_inset space \thinspace{}
6650 \begin_inset space \thinspace{}
6654 \begin_inset Argument
6657 \begin_layout Plain Layout
6659 \begin_inset space \thinspace{}
6677 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6680 \begin_layout Plain Layout
6686 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6689 \begin_layout Plain Layout
6695 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6698 \begin_layout Plain Layout
6704 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6707 \begin_layout Plain Layout
6715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6718 \begin_layout Plain Layout
6724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6727 \begin_layout Plain Layout
6733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6736 \begin_layout Plain Layout
6742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6745 \begin_layout Plain Layout
6751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6754 \begin_layout Plain Layout
6762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6765 \begin_layout Plain Layout
6771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6774 \begin_layout Plain Layout
6780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6783 \begin_layout Plain Layout
6789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6792 \begin_layout Plain Layout
6798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6801 \begin_layout Plain Layout
6809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6812 \begin_layout Plain Layout
6818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6821 \begin_layout Plain Layout
6827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6830 \begin_layout Plain Layout
6836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6839 \begin_layout Plain Layout
6845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6848 \begin_layout Plain Layout
6856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6859 \begin_layout Plain Layout
6865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6868 \begin_layout Plain Layout
6874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6877 \begin_layout Plain Layout
6883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6886 \begin_layout Plain Layout
6892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6895 \begin_layout Plain Layout
6903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6906 \begin_layout Plain Layout
6912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6915 \begin_layout Plain Layout
6921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6924 \begin_layout Plain Layout
6930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6933 \begin_layout Plain Layout
6939 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6942 \begin_layout Plain Layout
6956 \begin_layout Standard
6960 \begin_layout Plain Layout
6974 \begin_layout Standard
6975 \begin_inset Note Greyedout
6978 \begin_layout Plain Layout
6988 \begin_inset Index idx
6991 \begin_layout Plain Layout
6992 LaTeXぱっけーじ@LaTeXパッケージ ! caption
7004 \begin_inset space \thinspace{}
7007 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
7008 \begin_inset space \thinspace{}
7011 in幅のキャプションを作るには、3.99
7012 \begin_inset space \thinspace{}
7016 \begin_inset space \thinspace{}
7027 captionsetup{width=値}
7029 というLaTeXコマンドを用いる方法があります。
7037 \begin_layout Subsubsection
7039 \begin_inset Index idx
7042 \begin_layout Plain Layout
7043 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7051 \begin_layout Standard
7052 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
7055 \begin_layout Standard
7067 \begin_layout Standard
7068 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
7069 \begin_inset CommandInset ref
7071 reference "tab:別キャプション"
7075 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7078 \begin_layout Standard
7080 \begin_inset Tabular
7081 <lyxtabular version="3" rows="59" columns="3">
7082 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7083 <column alignment="left" valignment="top" width="0cm">
7084 <column alignment="left" valignment="top" width="0pt">
7085 <column alignment="center" valignment="top" width="0pt">
7086 <row caption="true">
7087 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7090 \begin_layout Plain Layout
7091 \begin_inset Caption
7093 \begin_layout Plain Layout
7095 \begin_inset CommandInset label
7102 \begin_inset Argument
7105 \begin_layout Plain Layout
7121 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7124 \begin_layout Plain Layout
7130 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7133 \begin_layout Plain Layout
7140 <row endfirsthead="true">
7141 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7144 \begin_layout Plain Layout
7152 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7155 \begin_layout Plain Layout
7161 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7164 \begin_layout Plain Layout
7171 <row endfirsthead="true">
7172 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7175 \begin_layout Plain Layout
7183 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7186 \begin_layout Plain Layout
7192 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7195 \begin_layout Plain Layout
7204 <row endhead="true">
7205 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7208 \begin_layout Plain Layout
7212 \begin_layout Plain Layout
7230 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7233 \begin_layout Plain Layout
7239 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7242 \begin_layout Plain Layout
7249 <row endhead="true">
7250 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7253 \begin_layout Plain Layout
7261 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7264 \begin_layout Plain Layout
7270 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7273 \begin_layout Plain Layout
7280 <row endhead="true">
7281 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7284 \begin_layout Plain Layout
7292 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7295 \begin_layout Plain Layout
7301 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7304 \begin_layout Plain Layout
7313 <row endfoot="true">
7314 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7317 \begin_layout Plain Layout
7323 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7326 \begin_layout Plain Layout
7332 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7335 \begin_layout Plain Layout
7343 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7346 \begin_layout Plain Layout
7354 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7357 \begin_layout Plain Layout
7363 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7366 \begin_layout Plain Layout
7374 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7377 \begin_layout Plain Layout
7385 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7388 \begin_layout Plain Layout
7394 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7397 \begin_layout Plain Layout
7405 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7408 \begin_layout Plain Layout
7416 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7419 \begin_layout Plain Layout
7425 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7428 \begin_layout Plain Layout
7436 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7439 \begin_layout Plain Layout
7447 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7450 \begin_layout Plain Layout
7456 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7459 \begin_layout Plain Layout
7467 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7470 \begin_layout Plain Layout
7478 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7481 \begin_layout Plain Layout
7487 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7490 \begin_layout Plain Layout
7498 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7501 \begin_layout Plain Layout
7509 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7512 \begin_layout Plain Layout
7518 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7521 \begin_layout Plain Layout
7529 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7532 \begin_layout Plain Layout
7540 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7543 \begin_layout Plain Layout
7549 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7552 \begin_layout Plain Layout
7560 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7563 \begin_layout Plain Layout
7571 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7574 \begin_layout Plain Layout
7580 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7583 \begin_layout Plain Layout
7591 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7594 \begin_layout Plain Layout
7602 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7605 \begin_layout Plain Layout
7611 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7614 \begin_layout Plain Layout
7622 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7625 \begin_layout Plain Layout
7633 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7636 \begin_layout Plain Layout
7642 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7645 \begin_layout Plain Layout
7653 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7656 \begin_layout Plain Layout
7664 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7667 \begin_layout Plain Layout
7673 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7676 \begin_layout Plain Layout
7684 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7687 \begin_layout Plain Layout
7695 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7698 \begin_layout Plain Layout
7704 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7707 \begin_layout Plain Layout
7715 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7718 \begin_layout Plain Layout
7726 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7729 \begin_layout Plain Layout
7735 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7738 \begin_layout Plain Layout
7746 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7749 \begin_layout Plain Layout
7757 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7760 \begin_layout Plain Layout
7766 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7769 \begin_layout Plain Layout
7777 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7780 \begin_layout Plain Layout
7789 \begin_layout Plain Layout
7800 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7803 \begin_layout Plain Layout
7809 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7812 \begin_layout Plain Layout
7820 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7823 \begin_layout Plain Layout
7831 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7834 \begin_layout Plain Layout
7840 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7843 \begin_layout Plain Layout
7851 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7854 \begin_layout Plain Layout
7862 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7865 \begin_layout Plain Layout
7871 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7874 \begin_layout Plain Layout
7882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7885 \begin_layout Plain Layout
7893 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7896 \begin_layout Plain Layout
7902 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7905 \begin_layout Plain Layout
7913 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7916 \begin_layout Plain Layout
7924 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7927 \begin_layout Plain Layout
7933 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7936 \begin_layout Plain Layout
7944 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7947 \begin_layout Plain Layout
7955 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7958 \begin_layout Plain Layout
7964 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7967 \begin_layout Plain Layout
7975 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7978 \begin_layout Plain Layout
7986 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7989 \begin_layout Plain Layout
7995 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7998 \begin_layout Plain Layout
8006 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8009 \begin_layout Plain Layout
8017 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8020 \begin_layout Plain Layout
8026 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8029 \begin_layout Plain Layout
8037 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8040 \begin_layout Plain Layout
8048 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8051 \begin_layout Plain Layout
8057 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8060 \begin_layout Plain Layout
8068 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8071 \begin_layout Plain Layout
8079 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8082 \begin_layout Plain Layout
8088 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8091 \begin_layout Plain Layout
8099 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8102 \begin_layout Plain Layout
8110 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8113 \begin_layout Plain Layout
8119 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8122 \begin_layout Plain Layout
8130 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8133 \begin_layout Plain Layout
8141 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8144 \begin_layout Plain Layout
8150 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8153 \begin_layout Plain Layout
8161 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8164 \begin_layout Plain Layout
8172 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8175 \begin_layout Plain Layout
8181 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8184 \begin_layout Plain Layout
8192 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8195 \begin_layout Plain Layout
8203 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8206 \begin_layout Plain Layout
8212 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8215 \begin_layout Plain Layout
8223 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8226 \begin_layout Plain Layout
8234 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8237 \begin_layout Plain Layout
8243 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8246 \begin_layout Plain Layout
8254 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8257 \begin_layout Plain Layout
8265 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8268 \begin_layout Plain Layout
8274 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8277 \begin_layout Plain Layout
8285 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8288 \begin_layout Plain Layout
8296 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8299 \begin_layout Plain Layout
8305 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8308 \begin_layout Plain Layout
8316 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8319 \begin_layout Plain Layout
8325 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8328 \begin_layout Plain Layout
8334 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8337 \begin_layout Plain Layout
8345 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8348 \begin_layout Plain Layout
8356 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8359 \begin_layout Plain Layout
8365 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8368 \begin_layout Plain Layout
8376 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8379 \begin_layout Plain Layout
8387 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8390 \begin_layout Plain Layout
8396 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8399 \begin_layout Plain Layout
8407 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8410 \begin_layout Plain Layout
8418 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8421 \begin_layout Plain Layout
8427 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8430 \begin_layout Plain Layout
8438 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8441 \begin_layout Plain Layout
8449 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8452 \begin_layout Plain Layout
8458 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8461 \begin_layout Plain Layout
8469 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8472 \begin_layout Plain Layout
8480 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8483 \begin_layout Plain Layout
8489 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8492 \begin_layout Plain Layout
8500 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8503 \begin_layout Plain Layout
8511 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8514 \begin_layout Plain Layout
8520 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8523 \begin_layout Plain Layout
8531 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8534 \begin_layout Plain Layout
8542 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8545 \begin_layout Plain Layout
8551 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8554 \begin_layout Plain Layout
8562 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8565 \begin_layout Plain Layout
8573 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8576 \begin_layout Plain Layout
8582 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8585 \begin_layout Plain Layout
8593 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8596 \begin_layout Plain Layout
8604 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8607 \begin_layout Plain Layout
8613 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8616 \begin_layout Plain Layout
8624 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8627 \begin_layout Plain Layout
8635 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8638 \begin_layout Plain Layout
8644 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8647 \begin_layout Plain Layout
8655 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8658 \begin_layout Plain Layout
8666 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8669 \begin_layout Plain Layout
8675 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8678 \begin_layout Plain Layout
8686 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8689 \begin_layout Plain Layout
8697 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8700 \begin_layout Plain Layout
8706 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8709 \begin_layout Plain Layout
8717 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8720 \begin_layout Plain Layout
8728 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8731 \begin_layout Plain Layout
8737 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8740 \begin_layout Plain Layout
8748 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8751 \begin_layout Plain Layout
8759 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8762 \begin_layout Plain Layout
8768 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8771 \begin_layout Plain Layout
8779 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8782 \begin_layout Plain Layout
8790 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8793 \begin_layout Plain Layout
8799 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8802 \begin_layout Plain Layout
8810 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8813 \begin_layout Plain Layout
8821 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8824 \begin_layout Plain Layout
8830 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8833 \begin_layout Plain Layout
8841 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8844 \begin_layout Plain Layout
8852 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8855 \begin_layout Plain Layout
8861 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8864 \begin_layout Plain Layout
8872 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8875 \begin_layout Plain Layout
8883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8886 \begin_layout Plain Layout
8892 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8895 \begin_layout Plain Layout
8903 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8906 \begin_layout Plain Layout
8914 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8917 \begin_layout Plain Layout
8923 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8926 \begin_layout Plain Layout
8934 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8937 \begin_layout Plain Layout
8945 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8948 \begin_layout Plain Layout
8954 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8957 \begin_layout Plain Layout
8971 \begin_layout Section
8973 \begin_inset CommandInset label
8975 name "sec:長尺表にまつわる諸点"
8982 \begin_layout Subsection
8984 \begin_inset Index idx
8987 \begin_layout Plain Layout
8988 ちょうしゃくひょう@長尺表 ! けいさん@計算
8996 \begin_layout Standard
8997 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
8998 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
9001 \begin_layout Standard
9006 setcounter{LTchunksize}{100}
9009 \begin_layout Standard
9010 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9013 \begin_layout Subsection
9015 \begin_inset Index idx
9018 \begin_layout Plain Layout
9019 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9027 \begin_layout Standard
9028 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9034 コマンドを長尺表の前にTeXコードとして書き加えてください。
9037 \begin_layout Subsection
9039 \begin_inset Index idx
9042 \begin_layout Plain Layout
9043 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9051 \begin_layout Standard
9052 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9069 コマンドの前には、現セルよりも右にある列数と同じ数の「
9073 」文字を、TeXコードで挿入してやる必要があります。この
9081 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9082 \begin_inset Newline newline
9093 コマンドの後ろには、現在列の左側にある列数と同じ数の
9098 \begin_inset CommandInset ref
9100 reference "tab:強制改頁"
9104 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9107 \begin_layout Standard
9117 \begin_inset Newline newline
9123 \begin_layout Standard
9128 」の後にTeXコードとして挿入してあります。
9131 \begin_layout Standard
9132 同一行3列目の「111」は削除してあります。
9138 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9139 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9142 \begin_layout Standard
9150 \begin_inset Newline newline
9158 \begin_layout Standard
9162 \begin_layout Standard
9163 改頁をしたいセルが最右列にある場合には、
9166 \begin_layout Standard
9176 \begin_layout Standard
9177 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9181 \begin_layout Standard
9183 \begin_inset Tabular
9184 <lyxtabular version="3" rows="38" columns="3">
9185 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9186 <column alignment="left" valignment="top" width="0cm">
9187 <column alignment="left" valignment="top" width="3cm">
9188 <column alignment="center" valignment="top" width="0pt">
9189 <row caption="true">
9190 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9193 \begin_layout Plain Layout
9194 \begin_inset Caption
9196 \begin_layout Plain Layout
9198 \begin_inset CommandInset label
9205 \begin_inset Argument
9208 \begin_layout Plain Layout
9224 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9227 \begin_layout Plain Layout
9233 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9236 \begin_layout Plain Layout
9243 <row endfirsthead="true">
9244 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9247 \begin_layout Plain Layout
9255 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9258 \begin_layout Plain Layout
9264 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9267 \begin_layout Plain Layout
9274 <row endfirsthead="true">
9275 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9278 \begin_layout Plain Layout
9286 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9289 \begin_layout Plain Layout
9295 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9298 \begin_layout Plain Layout
9307 <row endhead="true">
9308 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9311 \begin_layout Plain Layout
9315 \begin_layout Plain Layout
9333 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9336 \begin_layout Plain Layout
9342 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9345 \begin_layout Plain Layout
9352 <row endhead="true">
9353 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9356 \begin_layout Plain Layout
9362 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9365 \begin_layout Plain Layout
9371 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9374 \begin_layout Plain Layout
9381 <row endhead="true">
9382 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9385 \begin_layout Plain Layout
9393 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9396 \begin_layout Plain Layout
9402 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9405 \begin_layout Plain Layout
9414 <row endfoot="true">
9415 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9418 \begin_layout Plain Layout
9424 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9427 \begin_layout Plain Layout
9433 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9436 \begin_layout Plain Layout
9444 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9447 \begin_layout Plain Layout
9455 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9458 \begin_layout Plain Layout
9464 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9467 \begin_layout Plain Layout
9475 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9478 \begin_layout Plain Layout
9486 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9489 \begin_layout Plain Layout
9495 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9498 \begin_layout Plain Layout
9506 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9509 \begin_layout Plain Layout
9517 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9520 \begin_layout Plain Layout
9526 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9529 \begin_layout Plain Layout
9537 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9540 \begin_layout Plain Layout
9548 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9551 \begin_layout Plain Layout
9557 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9560 \begin_layout Plain Layout
9568 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9571 \begin_layout Plain Layout
9579 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9582 \begin_layout Plain Layout
9588 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9591 \begin_layout Plain Layout
9599 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9602 \begin_layout Plain Layout
9610 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9613 \begin_layout Plain Layout
9619 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9622 \begin_layout Plain Layout
9630 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9633 \begin_layout Plain Layout
9641 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9644 \begin_layout Plain Layout
9650 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9653 \begin_layout Plain Layout
9661 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9664 \begin_layout Plain Layout
9672 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9675 \begin_layout Plain Layout
9681 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9684 \begin_layout Plain Layout
9692 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9695 \begin_layout Plain Layout
9703 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9706 \begin_layout Plain Layout
9712 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9715 \begin_layout Plain Layout
9723 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9726 \begin_layout Plain Layout
9734 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9737 \begin_layout Plain Layout
9743 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9746 \begin_layout Plain Layout
9754 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9757 \begin_layout Plain Layout
9765 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9768 \begin_layout Plain Layout
9774 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9777 \begin_layout Plain Layout
9785 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9788 \begin_layout Plain Layout
9796 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9799 \begin_layout Plain Layout
9805 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9808 \begin_layout Plain Layout
9816 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9819 \begin_layout Plain Layout
9827 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9830 \begin_layout Plain Layout
9836 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9839 \begin_layout Plain Layout
9847 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9850 \begin_layout Plain Layout
9858 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9861 \begin_layout Plain Layout
9867 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9870 \begin_layout Plain Layout
9878 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9881 \begin_layout Plain Layout
9889 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9892 \begin_layout Plain Layout
9898 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9901 \begin_layout Plain Layout
9909 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9912 \begin_layout Plain Layout
9920 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9923 \begin_layout Plain Layout
9929 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9932 \begin_layout Plain Layout
9940 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9943 \begin_layout Plain Layout
9951 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9954 \begin_layout Plain Layout
9960 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9963 \begin_layout Plain Layout
9971 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9974 \begin_layout Plain Layout
9982 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9985 \begin_layout Plain Layout
9991 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9994 \begin_layout Plain Layout
10002 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10005 \begin_layout Plain Layout
10013 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10016 \begin_layout Plain Layout
10022 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10025 \begin_layout Plain Layout
10033 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10036 \begin_layout Plain Layout
10044 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10047 \begin_layout Plain Layout
10053 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10056 \begin_layout Plain Layout
10064 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10067 \begin_layout Plain Layout
10075 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10078 \begin_layout Plain Layout
10084 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10087 \begin_layout Plain Layout
10095 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10098 \begin_layout Plain Layout
10106 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10109 \begin_layout Plain Layout
10115 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10118 \begin_layout Plain Layout
10126 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10129 \begin_layout Plain Layout
10137 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10140 \begin_layout Plain Layout
10142 Fürst von Montecompatri, 11.
10143 Fürst von Sulmona und Vivaro, 10.
10144 Fürst von Rossano, 5.
10145 Herzog von Canemorte, 11.
10146 Herzog von Palombara, 5.
10147 Herzog von Castelchiodato,
10151 \begin_layout Plain Layout
10162 \begin_layout Plain Layout
10170 Herzog von Poggionativo, 11.
10171 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10172 Graf von Valinfreda, 11.
10173 Baron von Cropalati, 11.
10174 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10179 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10182 \begin_layout Plain Layout
10190 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10193 \begin_layout Plain Layout
10201 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10204 \begin_layout Plain Layout
10210 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10213 \begin_layout Plain Layout
10221 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10224 \begin_layout Plain Layout
10232 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10235 \begin_layout Plain Layout
10241 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10244 \begin_layout Plain Layout
10252 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10255 \begin_layout Plain Layout
10263 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10266 \begin_layout Plain Layout
10272 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10275 \begin_layout Plain Layout
10283 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10286 \begin_layout Plain Layout
10294 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10297 \begin_layout Plain Layout
10303 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10306 \begin_layout Plain Layout
10314 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10317 \begin_layout Plain Layout
10325 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10328 \begin_layout Plain Layout
10334 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10337 \begin_layout Plain Layout
10345 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10348 \begin_layout Plain Layout
10356 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10359 \begin_layout Plain Layout
10365 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10368 \begin_layout Plain Layout
10376 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10379 \begin_layout Plain Layout
10387 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10390 \begin_layout Plain Layout
10396 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10399 \begin_layout Plain Layout
10407 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10410 \begin_layout Plain Layout
10418 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10421 \begin_layout Plain Layout
10427 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10430 \begin_layout Plain Layout
10444 \begin_layout Section
10448 \begin_layout Subsection
10450 \begin_inset CommandInset label
10457 \begin_inset Index idx
10460 \begin_layout Plain Layout
10461 ひょうせるないのふくすうぎょう@表セル内の複数行
10467 \begin_inset Index idx
10470 \begin_layout Plain Layout
10479 \begin_layout Standard
10481 \begin_inset Float table
10487 \begin_layout Plain Layout
10488 \begin_inset Caption
10490 \begin_layout Plain Layout
10491 \begin_inset CommandInset label
10505 \begin_layout Plain Layout
10507 \begin_inset Tabular
10508 <lyxtabular version="3" rows="3" columns="3">
10509 <features tabularvalignment="middle">
10510 <column alignment="center" valignment="middle" width="2.5cm">
10511 <column alignment="center" valignment="middle" width="0">
10512 <column alignment="center" valignment="middle" width="0">
10514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10517 \begin_layout Plain Layout
10519 \begin_inset Newline linebreak
10527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10530 \begin_layout Plain Layout
10536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10539 \begin_layout Plain Layout
10547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10550 \begin_layout Plain Layout
10556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10559 \begin_layout Plain Layout
10565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10568 \begin_layout Plain Layout
10576 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10579 \begin_layout Plain Layout
10585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10588 \begin_layout Plain Layout
10594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10597 \begin_layout Plain Layout
10616 \begin_layout Standard
10617 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10620 \begin_layout Standard
10622 \begin_inset CommandInset ref
10624 reference "tab:複数行表"
10628 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10632 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10633 \begin_inset space \thinspace{}
10636 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10637 \begin_inset space \thinspace{}
10640 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10643 arg "newline-insert linebreak"
10646 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10649 \begin_layout Standard
10650 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10651 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10652 \begin_inset space \thinspace{}
10655 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10656 \begin_inset CommandInset ref
10658 reference "tab:ハイフネーション表"
10666 \begin_layout Plain Layout
10671 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10679 \begin_layout Standard
10680 \begin_inset Float table
10686 \begin_layout Plain Layout
10687 \begin_inset Caption
10689 \begin_layout Plain Layout
10690 \begin_inset CommandInset label
10692 name "tab:ハイフネーション表"
10704 \begin_layout Plain Layout
10705 \begin_inset space \hfill{}
10709 \begin_inset Tabular
10710 <lyxtabular version="3" rows="3" columns="3">
10711 <features tabularvalignment="middle">
10712 <column alignment="center" valignment="middle" width="2.5cm">
10713 <column alignment="center" valignment="middle" width="0">
10714 <column alignment="center" valignment="middle" width="0">
10716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10719 \begin_layout Plain Layout
10720 verylongtablecellword
10725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10728 \begin_layout Plain Layout
10734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10737 \begin_layout Plain Layout
10745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10748 \begin_layout Plain Layout
10754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10757 \begin_layout Plain Layout
10763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10766 \begin_layout Plain Layout
10774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10777 \begin_layout Plain Layout
10783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10786 \begin_layout Plain Layout
10792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10795 \begin_layout Plain Layout
10807 \begin_inset space \hfill{}
10811 \begin_inset Tabular
10812 <lyxtabular version="3" rows="3" columns="3">
10813 <features tabularvalignment="middle">
10814 <column alignment="center" valignment="middle" width="2.5cm">
10815 <column alignment="center" valignment="middle" width="0">
10816 <column alignment="center" valignment="middle" width="0">
10818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10821 \begin_layout Plain Layout
10822 \begin_inset space \hspace{}
10826 verylongtablecellword
10831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10834 \begin_layout Plain Layout
10840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10843 \begin_layout Plain Layout
10851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10854 \begin_layout Plain Layout
10860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10863 \begin_layout Plain Layout
10869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10872 \begin_layout Plain Layout
10880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10883 \begin_layout Plain Layout
10889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10892 \begin_layout Plain Layout
10898 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10901 \begin_layout Plain Layout
10913 \begin_inset space \hfill{}
10924 \begin_layout Subsection
10926 \begin_inset CommandInset label
10933 \begin_inset Index idx
10936 \begin_layout Plain Layout
10943 \begin_inset Index idx
10946 \begin_layout Plain Layout
10955 \begin_layout Subsubsection
10959 \begin_layout Standard
10960 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
10961 \begin_inset Graphics
10962 filename ../../images/tabular-feature_multicolumn.png
10964 scaleBeforeRotation
10970 編集\SpecialChar \menuseparator
10971 表\SpecialChar \menuseparator
10974 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
10981 \begin_layout Standard
10982 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
10983 、最下行に上罫線のない連結行がある表の例です。
10986 \begin_layout Standard
10988 \begin_inset Tabular
10989 <lyxtabular version="3" rows="3" columns="4">
10990 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
10991 <column alignment="center" valignment="top" width="0pt">
10992 <column alignment="center" valignment="middle" width="0">
10993 <column alignment="center" valignment="top" width="0in">
10994 <column alignment="center" valignment="top" width="0pt">
10996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10999 \begin_layout Plain Layout
11005 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11008 \begin_layout Plain Layout
11014 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11017 \begin_layout Plain Layout
11023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11026 \begin_layout Plain Layout
11034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11037 \begin_layout Plain Layout
11043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11046 \begin_layout Plain Layout
11052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11055 \begin_layout Plain Layout
11061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11064 \begin_layout Plain Layout
11072 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11075 \begin_layout Plain Layout
11081 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11084 \begin_layout Plain Layout
11090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11093 \begin_layout Plain Layout
11099 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11102 \begin_layout Plain Layout
11116 \begin_layout Subsubsection
11118 \begin_inset CommandInset label
11125 \begin_inset Index idx
11128 \begin_layout Plain Layout
11129 れんけつれつ@連結列 ! けいさん@計算
11137 \begin_layout Standard
11138 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11141 \begin_layout Standard
11142 \begin_inset Float table
11148 \begin_layout Plain Layout
11149 \begin_inset Caption
11151 \begin_layout Plain Layout
11152 \begin_inset CommandInset label
11158 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11159 \begin_inset Argument
11162 \begin_layout Plain Layout
11176 \begin_layout Plain Layout
11178 \begin_inset Tabular
11179 <lyxtabular version="3" rows="3" columns="3">
11180 <features tabularvalignment="middle">
11181 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11182 <column alignment="center" valignment="middle" width="0">
11183 <column alignment="center" valignment="top" width="0">
11185 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11188 \begin_layout Plain Layout
11194 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11197 \begin_layout Plain Layout
11203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11206 \begin_layout Plain Layout
11214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11217 \begin_layout Plain Layout
11223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11226 \begin_layout Plain Layout
11232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11235 \begin_layout Plain Layout
11243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11246 \begin_layout Plain Layout
11252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11255 \begin_layout Plain Layout
11261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11264 \begin_layout Plain Layout
11283 \begin_layout Standard
11285 \begin_inset CommandInset ref
11287 reference "tab:中央揃え表"
11291 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11295 を選択します。そして現れる表の設定ダイアログで、このセルを
11304 \begin_inset space \thinspace{}
11307 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11308 \begin_inset space \thinspace{}
11311 cm幅に設定します。すると第二列は自動的に1.25
11312 \begin_inset space \thinspace{}
11315 cm幅(連結列幅マイナス第一列の幅)になります。表
11316 \begin_inset CommandInset ref
11318 reference "tab:半分でない表"
11325 \begin_layout Standard
11326 \begin_inset Float table
11331 \begin_layout Plain Layout
11332 \begin_inset Caption
11334 \begin_layout Plain Layout
11335 \begin_inset CommandInset label
11341 連結セルの下の列が正確に半分になっていない表
11342 \begin_inset Argument
11345 \begin_layout Plain Layout
11359 \begin_layout Plain Layout
11361 \begin_inset Tabular
11362 <lyxtabular version="3" rows="3" columns="3">
11363 <features tabularvalignment="middle">
11364 <column alignment="center" valignment="top" width="1.25cm">
11365 <column alignment="center" valignment="top" width="0">
11366 <column alignment="center" valignment="top" width="0">
11368 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11371 \begin_layout Plain Layout
11377 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11380 \begin_layout Plain Layout
11386 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11389 \begin_layout Plain Layout
11397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11400 \begin_layout Plain Layout
11406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11409 \begin_layout Plain Layout
11415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11418 \begin_layout Plain Layout
11426 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11429 \begin_layout Plain Layout
11435 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11438 \begin_layout Plain Layout
11444 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11447 \begin_layout Plain Layout
11466 \begin_layout Standard
11467 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11469 \begin_inset Formula $W_{\mbox{指}}$
11473 \begin_inset Formula $W_{\text{全}}$
11477 \begin_inset CommandInset ref
11479 reference "cha:式の説明"
11486 \begin_layout Standard
11492 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11496 \begin_inset Formula $W_{\mbox{指}:n}$
11500 \begin_inset Formula
11502 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11510 \begin_layout Standard
11511 で計算することができます。上記の例では
11512 \begin_inset Formula $n=2$
11516 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11520 \begin_inset CommandInset ref
11527 \begin_inset Formula
11529 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11537 \begin_layout Standard
11538 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11541 \begin_layout Standard
11549 \begin_layout Standard
11555 \begin_inset Index idx
11558 \begin_layout Plain Layout
11559 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11564 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11565 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11568 \begin_layout Itemize
11573 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11576 \begin_layout Itemize
11581 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11584 \begin_layout Itemize
11589 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11592 \begin_layout Standard
11593 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11596 \begin_layout Standard
11597 \begin_inset Note Greyedout
11600 \begin_layout Plain Layout
11605 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11613 \begin_layout Standard
11620 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11623 \begin_layout Standard
11628 centering}m{1.25cm-6.2pt}
11631 \begin_layout Standard
11636 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11639 \begin_layout Standard
11640 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11644 \begin_layout Standard
11652 \begin_layout Standard
11653 というLaTeX変数を指定しなくてはなりません。
11656 \begin_layout Subsection
11658 \begin_inset CommandInset label
11665 \begin_inset Index idx
11668 \begin_layout Plain Layout
11675 \begin_inset Index idx
11678 \begin_layout Plain Layout
11679 ひょう@表 ! れんけつぎょう@連結行
11687 \begin_layout Standard
11688 複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
11689 \begin_inset Graphics
11690 filename ../../images/tabular-feature_multirow.png
11692 scaleBeforeRotation
11698 編集\SpecialChar \menuseparator
11699 表\SpecialChar \menuseparator
11702 を選ぶか、選択したセルを右クリックして、コンテクストメニューから
11704 \SpecialChar \menuseparator
11710 \begin_layout Standard
11711 下記は一列目に連結列を適用した表の例です。
11714 \begin_layout Standard
11716 \begin_inset Tabular
11717 <lyxtabular version="3" rows="3" columns="3">
11718 <features tabularvalignment="middle">
11719 <column alignment="center" valignment="top" width="0pt">
11720 <column alignment="center" valignment="top" width="0">
11721 <column alignment="center" valignment="top" width="0">
11723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11726 \begin_layout Plain Layout
11732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11735 \begin_layout Plain Layout
11741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11744 \begin_layout Plain Layout
11752 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11755 \begin_layout Plain Layout
11761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11764 \begin_layout Plain Layout
11770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11773 \begin_layout Plain Layout
11781 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11784 \begin_layout Plain Layout
11790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11793 \begin_layout Plain Layout
11799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11802 \begin_layout Plain Layout
11816 \begin_layout Standard
11817 連結列の幅は、列全体の幅と揃えを設定することによって設定することができます。
11821 は、正または負の値を与えると、連結列の内容を上下にシフトします。
11824 \begin_layout Standard
11825 連結行セルの列に明示的な幅が与えられていない場合、連結行セルは当該列の揃えを継承します。それもなければ左揃えです。既定値を上書きするには、
11828 \begin_layout Standard
11840 \begin_layout Standard
11847 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11848 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11869 \begin_layout Standard
11870 下記は、-4ミリの垂直オフセットを設定し、3センチ幅の列中にある右揃えの連結列セルがある表の例です。
11873 \begin_layout Standard
11879 \begin_layout Plain Layout
11893 \begin_inset Tabular
11894 <lyxtabular version="3" rows="4" columns="3">
11895 <features tabularvalignment="middle">
11896 <column alignment="center" valignment="top" width="3cm">
11897 <column alignment="center" valignment="top" width="0">
11898 <column alignment="center" valignment="top" width="0">
11900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11903 \begin_layout Plain Layout
11909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11912 \begin_layout Plain Layout
11918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11921 \begin_layout Plain Layout
11929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11932 \begin_layout Plain Layout
11938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11941 \begin_layout Plain Layout
11947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11950 \begin_layout Plain Layout
11958 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11961 \begin_layout Plain Layout
11967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11970 \begin_layout Plain Layout
11976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11979 \begin_layout Plain Layout
11987 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11990 \begin_layout Plain Layout
11996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11999 \begin_layout Plain Layout
12005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12008 \begin_layout Plain Layout
12023 \begin_layout Plain Layout
12039 \begin_layout Standard
12042 To start a new line in a multirow you can use a forced line break (shortcut
12046 arg "newline-insert newline"
12049 ) but this will not respect the cell lines as demonstrated in this table:
12052 \begin_layout Standard
12057 \begin_inset Tabular
12058 <lyxtabular version="3" rows="3" columns="2">
12059 <features tabularvalignment="middle">
12060 <column alignment="left" valignment="middle" width="2cm">
12061 <column alignment="center" valignment="top" width="0">
12063 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12066 \begin_layout Plain Layout
12070 \begin_inset Newline newline
12074 \begin_inset Newline newline
12082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12085 \begin_layout Plain Layout
12095 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12098 \begin_layout Plain Layout
12104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12107 \begin_layout Plain Layout
12117 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12120 \begin_layout Plain Layout
12128 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12131 \begin_layout Plain Layout
12147 \begin_layout Standard
12150 Therefore be careful with forced line breaks.
12153 \begin_layout Section
12155 \begin_inset CommandInset label
12157 name "sec:フォーマル形式の表"
12162 \begin_inset Index idx
12165 \begin_layout Plain Layout
12166 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
12174 \begin_layout Standard
12176 \begin_inset CommandInset ref
12178 reference "tab:ブックタブ表の例"
12182 のように組版されます。この種の表は、「
12186 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
12189 \begin_layout Standard
12190 \begin_inset Float table
12196 \begin_layout Plain Layout
12197 \begin_inset Caption
12199 \begin_layout Plain Layout
12200 \begin_inset CommandInset label
12202 name "tab:ブックタブ表の例"
12214 \begin_layout Plain Layout
12216 \begin_inset Tabular
12217 <lyxtabular version="3" rows="8" columns="4">
12218 <features booktabs="true" tabularvalignment="middle">
12219 <column alignment="center" valignment="top" width="0">
12220 <column alignment="center" valignment="top" width="0">
12221 <column alignment="center" valignment="top" width="0">
12222 <column alignment="center" valignment="top" width="0">
12224 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12227 \begin_layout Plain Layout
12233 <cell alignment="center" valignment="top" topline="true" usebox="none">
12236 \begin_layout Plain Layout
12238 \begin_inset space \thinspace{}
12246 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12249 \begin_layout Plain Layout
12251 \begin_inset space \thinspace{}
12259 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12262 \begin_layout Plain Layout
12270 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12273 \begin_layout Plain Layout
12277 \begin_layout Plain Layout
12290 \begin_layout Plain Layout
12304 <cell alignment="center" valignment="top" usebox="none">
12307 \begin_layout Plain Layout
12313 <cell alignment="center" valignment="top" usebox="none">
12316 \begin_layout Plain Layout
12322 <cell alignment="center" valignment="top" usebox="none">
12325 \begin_layout Plain Layout
12333 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12336 \begin_layout Plain Layout
12342 <cell alignment="center" valignment="top" topline="true" usebox="none">
12345 \begin_layout Plain Layout
12351 <cell alignment="center" valignment="top" topline="true" usebox="none">
12354 \begin_layout Plain Layout
12360 <cell alignment="center" valignment="top" topline="true" usebox="none">
12363 \begin_layout Plain Layout
12370 <row topspace="default">
12371 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12374 \begin_layout Plain Layout
12380 <cell alignment="center" valignment="top" usebox="none">
12383 \begin_layout Plain Layout
12389 <cell alignment="center" valignment="top" usebox="none">
12392 \begin_layout Plain Layout
12398 <cell alignment="center" valignment="top" usebox="none">
12401 \begin_layout Plain Layout
12408 <row topspace="default">
12409 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12412 \begin_layout Plain Layout
12413 \begin_inset Formula $f_{\mathrm{max}}$
12421 <cell alignment="center" valignment="top" usebox="none">
12424 \begin_layout Plain Layout
12430 <cell alignment="center" valignment="top" usebox="none">
12433 \begin_layout Plain Layout
12439 <cell alignment="center" valignment="top" usebox="none">
12442 \begin_layout Plain Layout
12449 <row topspace="default">
12450 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12453 \begin_layout Plain Layout
12457 \begin_layout Plain Layout
12461 cmidrule(l{10pt}){1-1}
12471 <cell alignment="center" valignment="top" usebox="none">
12474 \begin_layout Plain Layout
12480 <cell alignment="center" valignment="top" usebox="none">
12483 \begin_layout Plain Layout
12489 <cell alignment="center" valignment="top" usebox="none">
12492 \begin_layout Plain Layout
12500 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12503 \begin_layout Plain Layout
12509 <cell alignment="center" valignment="top" usebox="none">
12512 \begin_layout Plain Layout
12518 <cell alignment="center" valignment="top" usebox="none">
12521 \begin_layout Plain Layout
12527 <cell alignment="center" valignment="top" usebox="none">
12530 \begin_layout Plain Layout
12538 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12541 \begin_layout Plain Layout
12547 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12550 \begin_layout Plain Layout
12556 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12559 \begin_layout Plain Layout
12565 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12568 \begin_layout Plain Layout
12587 \begin_layout Standard
12589 \begin_inset CommandInset ref
12591 reference "sub:行の余白取り"
12595 節に述べられているように、表の設定ダイアログの
12602 \begin_layout Standard
12603 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
12604 \begin_inset Newline newline
12608 \begin_inset space \thinspace{}
12611 emですが、他の罫線の既定幅は0.05
12612 \begin_inset space \thinspace{}
12618 \begin_layout Standard
12619 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
12622 \begin_layout Standard
12632 \begin_inset Newline newline
12644 \begin_layout Standard
12649 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
12657 に置き換えて下さい。他の罫線の線幅を変更するには、
12665 に置き換えます。線幅を設定する上では、付録
12666 \begin_inset CommandInset ref
12668 reference "cha:LyXで使用できる単位"
12672 に挙げてあるすべての単位を使用することができます。
12675 \begin_layout Standard
12676 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
12682 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
12685 \begin_layout Standard
12690 cmidrule[幅](刈込){開始列-終了列}
12693 \begin_layout Standard
12700 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
12706 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
12710 \begin_layout Standard
12712 \begin_inset space \thinspace{}
12715 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
12724 の値を取り、刈込幅の指定は非必須です。たとえば、
12728 というパラメーターを使うと、罫線が左端から2
12729 \begin_inset space \thinspace{}
12732 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
12733 \begin_inset space \thinspace{}
12739 \begin_layout Standard
12740 \begin_inset VSpace bigskip
12744 \begin_inset CommandInset ref
12746 reference "tab:ブックタブ表の例"
12753 \begin_layout Standard
12763 \begin_layout Standard
12764 というコマンドを第二行の初めに使用し、
12767 \begin_layout Standard
12772 cmidrule(l{10pt}){1-1}
12775 \begin_layout Standard
12779 \begin_layout Standard
12780 \begin_inset VSpace bigskip
12786 \begin_layout Standard
12788 \begin_inset CommandInset ref
12790 reference "tab:特殊なブックタブ表"
12800 が欲しいことがあるかもしれません。これは、TeXコードで
12803 \begin_layout Standard
12811 \begin_layout Standard
12812 コマンドを使用することによって実現することができます。表
12813 \begin_inset CommandInset ref
12815 reference "tab:特殊なブックタブ表"
12822 \begin_layout Standard
12836 \begin_layout Standard
12837 というコマンドが使用されており、第六列には
12840 \begin_layout Standard
12852 \begin_layout Standard
12856 \begin_layout Standard
12857 \begin_inset VSpace bigskip
12863 \begin_layout Standard
12864 罫線の余白取りにどうしても満足が行かない場合には、
12867 \begin_layout Standard
12872 specialrule{幅}{上余白}{下余白}
12875 \begin_layout Standard
12876 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
12881 \begin_inset CommandInset citation
12888 \begin_inset Index idx
12891 \begin_layout Plain Layout
12892 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
12900 \begin_layout Standard
12901 \begin_inset Float table
12907 \begin_layout Plain Layout
12908 \begin_inset Caption
12910 \begin_layout Plain Layout
12911 \begin_inset CommandInset label
12913 name "tab:特殊なブックタブ表"
12925 \begin_layout Plain Layout
12927 \begin_inset Tabular
12928 <lyxtabular version="3" rows="8" columns="4">
12929 <features booktabs="true" tabularvalignment="middle">
12930 <column alignment="center" valignment="top" width="0">
12931 <column alignment="center" valignment="top" width="0">
12932 <column alignment="center" valignment="top" width="0">
12933 <column alignment="center" valignment="top" width="0">
12935 <cell alignment="center" valignment="top" topline="true" usebox="none">
12938 \begin_layout Plain Layout
12944 <cell alignment="center" valignment="top" topline="true" usebox="none">
12947 \begin_layout Plain Layout
12949 \begin_inset space \thinspace{}
12957 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12960 \begin_layout Plain Layout
12962 \begin_inset space \thinspace{}
12970 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12973 \begin_layout Plain Layout
12981 <cell alignment="center" valignment="top" usebox="none">
12984 \begin_layout Plain Layout
12988 \begin_layout Plain Layout
13001 \begin_layout Plain Layout
13014 \begin_layout Plain Layout
13027 \begin_layout Plain Layout
13041 <cell alignment="center" valignment="top" usebox="none">
13044 \begin_layout Plain Layout
13050 <cell alignment="center" valignment="top" usebox="none">
13053 \begin_layout Plain Layout
13059 <cell alignment="center" valignment="top" usebox="none">
13062 \begin_layout Plain Layout
13070 <cell alignment="center" valignment="top" topline="true" usebox="none">
13073 \begin_layout Plain Layout
13079 <cell alignment="center" valignment="top" topline="true" usebox="none">
13082 \begin_layout Plain Layout
13088 <cell alignment="center" valignment="top" topline="true" usebox="none">
13091 \begin_layout Plain Layout
13097 <cell alignment="center" valignment="top" topline="true" usebox="none">
13100 \begin_layout Plain Layout
13107 <row topspace="default">
13108 <cell alignment="center" valignment="top" usebox="none">
13111 \begin_layout Plain Layout
13117 <cell alignment="center" valignment="top" usebox="none">
13120 \begin_layout Plain Layout
13126 <cell alignment="center" valignment="top" usebox="none">
13129 \begin_layout Plain Layout
13135 <cell alignment="center" valignment="top" usebox="none">
13138 \begin_layout Plain Layout
13145 <row topspace="default">
13146 <cell alignment="center" valignment="top" usebox="none">
13149 \begin_layout Plain Layout
13150 \begin_inset Formula $f_{\mathrm{max}}$
13158 <cell alignment="center" valignment="top" usebox="none">
13161 \begin_layout Plain Layout
13167 <cell alignment="center" valignment="top" usebox="none">
13170 \begin_layout Plain Layout
13176 <cell alignment="center" valignment="top" usebox="none">
13179 \begin_layout Plain Layout
13187 <cell alignment="center" valignment="top" topline="true" usebox="none">
13190 \begin_layout Plain Layout
13194 \begin_layout Plain Layout
13207 \begin_layout Plain Layout
13221 <cell alignment="center" valignment="top" topline="true" usebox="none">
13224 \begin_layout Plain Layout
13230 <cell alignment="center" valignment="top" topline="true" usebox="none">
13233 \begin_layout Plain Layout
13239 <cell alignment="center" valignment="top" topline="true" usebox="none">
13242 \begin_layout Plain Layout
13250 <cell alignment="center" valignment="top" usebox="none">
13253 \begin_layout Plain Layout
13259 <cell alignment="center" valignment="top" usebox="none">
13262 \begin_layout Plain Layout
13268 <cell alignment="center" valignment="top" usebox="none">
13271 \begin_layout Plain Layout
13277 <cell alignment="center" valignment="top" usebox="none">
13280 \begin_layout Plain Layout
13288 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13291 \begin_layout Plain Layout
13297 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13300 \begin_layout Plain Layout
13306 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13309 \begin_layout Plain Layout
13315 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13318 \begin_layout Plain Layout
13337 \begin_layout Section
13339 \begin_inset Index idx
13342 \begin_layout Plain Layout
13351 \begin_layout Standard
13352 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
13353 \begin_inset CommandInset ref
13355 reference "sec:ボックスダイアログ"
13359 節に述べられているように、ボックスの垂直揃えを行います。
13362 \begin_layout Standard
13364 \begin_inset space \thinspace{}
13371 \begin_layout Plain Layout
13373 \begin_inset CommandInset ref
13375 reference "sec:ミニページ"
13387 \begin_layout Itemize
13389 \begin_inset Box Frameless
13399 height_special "totalheight"
13402 \begin_layout Plain Layout
13403 \begin_inset Tabular
13404 <lyxtabular version="3" rows="3" columns="3">
13405 <features tabularvalignment="middle">
13406 <column alignment="center" valignment="top" width="0">
13407 <column alignment="center" valignment="top" width="0">
13408 <column alignment="center" valignment="top" width="0">
13410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13413 \begin_layout Plain Layout
13419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13422 \begin_layout Plain Layout
13428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13431 \begin_layout Plain Layout
13439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13442 \begin_layout Plain Layout
13448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13451 \begin_layout Plain Layout
13457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13460 \begin_layout Plain Layout
13468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13471 \begin_layout Plain Layout
13477 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13480 \begin_layout Plain Layout
13486 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13489 \begin_layout Plain Layout
13509 \begin_layout Plain Layout
13521 \begin_inset Box Frameless
13531 height_special "totalheight"
13534 \begin_layout Plain Layout
13535 \begin_inset Tabular
13536 <lyxtabular version="3" rows="3" columns="3">
13537 <features tabularvalignment="middle">
13538 <column alignment="center" valignment="top" width="0">
13539 <column alignment="center" valignment="top" width="0">
13540 <column alignment="center" valignment="top" width="0">
13542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13545 \begin_layout Plain Layout
13551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13554 \begin_layout Plain Layout
13560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13563 \begin_layout Plain Layout
13571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13574 \begin_layout Plain Layout
13580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13583 \begin_layout Plain Layout
13589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13592 \begin_layout Plain Layout
13600 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13603 \begin_layout Plain Layout
13609 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13612 \begin_layout Plain Layout
13618 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13621 \begin_layout Plain Layout
13641 \begin_layout Plain Layout
13651 \begin_layout Itemize
13653 \begin_inset Box Frameless
13663 height_special "totalheight"
13666 \begin_layout Plain Layout
13667 \begin_inset Tabular
13668 <lyxtabular version="3" rows="3" columns="3">
13669 <features tabularvalignment="middle">
13670 <column alignment="center" valignment="top" width="0">
13671 <column alignment="center" valignment="top" width="0">
13672 <column alignment="center" valignment="top" width="0">
13674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13677 \begin_layout Plain Layout
13683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13686 \begin_layout Plain Layout
13692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13695 \begin_layout Plain Layout
13703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13706 \begin_layout Plain Layout
13712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13715 \begin_layout Plain Layout
13721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13724 \begin_layout Plain Layout
13732 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13735 \begin_layout Plain Layout
13741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13744 \begin_layout Plain Layout
13750 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13753 \begin_layout Plain Layout
13772 \begin_layout Itemize
13774 \begin_inset Box Frameless
13784 height_special "totalheight"
13787 \begin_layout Plain Layout
13788 \begin_inset Tabular
13789 <lyxtabular version="3" rows="3" columns="3">
13790 <features tabularvalignment="middle">
13791 <column alignment="center" valignment="top" width="0">
13792 <column alignment="center" valignment="top" width="0">
13793 <column alignment="center" valignment="top" width="0">
13795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13798 \begin_layout Plain Layout
13804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13807 \begin_layout Plain Layout
13813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13816 \begin_layout Plain Layout
13824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13827 \begin_layout Plain Layout
13833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13836 \begin_layout Plain Layout
13842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13845 \begin_layout Plain Layout
13853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13856 \begin_layout Plain Layout
13862 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13865 \begin_layout Plain Layout
13871 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13874 \begin_layout Plain Layout
13894 \begin_layout Plain Layout
13906 \begin_inset Box Frameless
13916 height_special "totalheight"
13919 \begin_layout Plain Layout
13920 \begin_inset Tabular
13921 <lyxtabular version="3" rows="3" columns="3">
13922 <features tabularvalignment="middle">
13923 <column alignment="center" valignment="top" width="0">
13924 <column alignment="center" valignment="top" width="0">
13925 <column alignment="center" valignment="top" width="0">
13927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13930 \begin_layout Plain Layout
13936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13939 \begin_layout Plain Layout
13945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13948 \begin_layout Plain Layout
13956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13959 \begin_layout Plain Layout
13965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13968 \begin_layout Plain Layout
13974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13977 \begin_layout Plain Layout
13985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13988 \begin_layout Plain Layout
13994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13997 \begin_layout Plain Layout
14003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14006 \begin_layout Plain Layout
14026 \begin_layout Plain Layout
14036 \begin_layout Standard
14037 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
14041 \begin_layout Plain Layout
14043 \begin_inset CommandInset ref
14045 reference "sub:垂直揃え"
14054 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
14057 \begin_layout Standard
14067 \begin_layout Standard
14068 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
14072 をTeXコードとして挿入してあります。最後の項目の第二表には、
14075 \begin_layout Standard
14085 \begin_layout Standard
14089 \begin_layout Standard
14090 \begin_inset Note Greyedout
14093 \begin_layout Plain Layout
14098 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
14104 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
14112 \begin_layout Section
14114 \begin_inset CommandInset label
14121 \begin_inset Index idx
14124 \begin_layout Plain Layout
14133 \begin_layout Subsection
14135 \begin_inset Index idx
14138 \begin_layout Plain Layout
14139 ひょうのいろ@表の色 ! せるぶ@セル部
14145 \begin_inset Index idx
14148 \begin_layout Plain Layout
14149 いろつき@色付き ! ひょうせるぶ@表セル部
14157 \begin_layout Standard
14158 \begin_inset Float table
14164 \begin_layout Plain Layout
14165 \begin_inset Caption
14167 \begin_layout Plain Layout
14168 \begin_inset CommandInset label
14170 name "tab:colortblなしの表"
14179 \begin_inset Argument
14182 \begin_layout Plain Layout
14196 \begin_layout Plain Layout
14198 \begin_inset Tabular
14199 <lyxtabular version="3" rows="3" columns="3">
14200 <features tabularvalignment="middle">
14201 <column alignment="center" valignment="top" width="0">
14202 <column alignment="center" valignment="top" width="0">
14203 <column alignment="center" valignment="top" width="0">
14205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14208 \begin_layout Plain Layout
14216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14219 \begin_layout Plain Layout
14227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14230 \begin_layout Plain Layout
14240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14243 \begin_layout Plain Layout
14251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14254 \begin_layout Plain Layout
14262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14265 \begin_layout Plain Layout
14275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14278 \begin_layout Plain Layout
14286 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14289 \begin_layout Plain Layout
14297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14300 \begin_layout Plain Layout
14321 \begin_layout Standard
14322 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
14324 編集\SpecialChar \menuseparator
14328 \begin_inset CommandInset ref
14330 reference "tab:colortblなしの表"
14334 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
14339 \begin_inset Index idx
14342 \begin_layout Plain Layout
14343 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
14351 \begin_layout Standard
14355 \begin_layout Plain Layout
14365 \begin_inset Note Note
14368 \begin_layout Plain Layout
14369 本節の以下の部分は、LaTeXパッケージ
14381 \begin_layout Standard
14382 色付きの表を作成するには、プリアンブルに
14385 \begin_layout Standard
14390 usepackage{colortbl}
14393 \begin_layout Standard
14398 を読み込まなくてはなりません。列の色は、
14405 \begin_layout Standard
14413 \begin_layout Standard
14414 というコマンドを書いて指定することができます。
14419 \begin_inset CommandInset ref
14421 reference "sub:連結列の計算"
14428 \begin_layout Standard
14429 以下の色彩名が事前に定義されています。
14432 \begin_layout Standard
14466 \begin_layout Standard
14467 \begin_inset VSpace medskip
14473 \begin_layout Standard
14477 \begin_layout Standard
14482 definecolor{色彩名}{色彩モデル}{色彩値}
14485 \begin_layout Standard
14486 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
14489 \begin_layout Labeling
14490 \labelwidthstring 00.00.0000
14510 \begin_layout Labeling
14511 \labelwidthstring 00.00.0000
14527 \begin_layout Labeling
14528 \labelwidthstring 00.00.0000
14532 \begin_layout Standard
14533 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
14536 \begin_layout Standard
14540 \begin_layout Standard
14545 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14548 \begin_layout Standard
14556 \begin_layout Standard
14561 definecolor{lightgray}{gray}{0.8}
14564 \begin_layout Standard
14572 \begin_layout Standard
14573 \begin_inset VSpace medskip
14579 \begin_layout Standard
14583 \begin_layout Standard
14591 \begin_layout Standard
14592 というコマンドを使用して色付けすることができ、セルは
14595 \begin_layout Standard
14603 \begin_layout Standard
14604 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
14607 \begin_layout Standard
14608 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
14610 編集\SpecialChar \menuseparator
14613 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
14617 \begin_layout Standard
14618 \begin_inset Note Greyedout
14621 \begin_layout Plain Layout
14622 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
14630 \begin_layout Standard
14631 \begin_inset VSpace bigskip
14637 \begin_layout Standard
14639 \begin_inset CommandInset ref
14641 reference "tab:色付き表"
14645 を作成するには、以下のようにしてください。第一列の色は
14649 にしたいので、この列のLaTeX変数として
14652 \begin_layout Standard
14657 columncolor{darkgreen}
14662 \begin_layout Standard
14663 と書き込みます。第一列は青にしたいので、この列の最初のセルに
14666 \begin_layout Standard
14674 \begin_layout Standard
14675 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最下行の最後のセルは、
14678 \begin_layout Standard
14686 \begin_layout Standard
14687 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
14689 編集\SpecialChar \menuseparator
14692 メニューを使って、各文字に色付けをすることができます。
14695 \begin_layout Standard
14696 \begin_inset Float table
14702 \begin_layout Plain Layout
14703 \begin_inset Caption
14705 \begin_layout Plain Layout
14708 \begin_inset CommandInset label
14717 \begin_inset Argument
14720 \begin_layout Plain Layout
14734 \begin_layout Plain Layout
14736 \begin_inset Tabular
14737 <lyxtabular version="3" rows="3" columns="3">
14738 <features tabularvalignment="middle">
14739 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14740 <column alignment="center" valignment="top" width="0">
14741 <column alignment="center" valignment="top" width="0">
14743 <cell alignment="center" valignment="top" usebox="none">
14746 \begin_layout Plain Layout
14750 \begin_layout Plain Layout
14766 <cell alignment="center" valignment="top" usebox="none">
14769 \begin_layout Plain Layout
14777 <cell alignment="center" valignment="top" usebox="none">
14780 \begin_layout Plain Layout
14790 <cell alignment="center" valignment="top" usebox="none">
14793 \begin_layout Plain Layout
14801 <cell alignment="center" valignment="top" usebox="none">
14804 \begin_layout Plain Layout
14812 <cell alignment="center" valignment="top" usebox="none">
14815 \begin_layout Plain Layout
14825 <cell alignment="center" valignment="top" usebox="none">
14828 \begin_layout Plain Layout
14836 <cell alignment="center" valignment="top" usebox="none">
14839 \begin_layout Plain Layout
14847 <cell alignment="center" valignment="top" usebox="none">
14850 \begin_layout Plain Layout
14854 \begin_layout Plain Layout
14883 \begin_layout Standard
14887 \begin_layout Plain Layout
14897 \begin_inset Note Note
14900 \begin_layout Plain Layout
14905 が導入されていないときに表示されます。
14913 \begin_layout Standard
14921 \begin_layout Standard
14925 \begin_layout Plain Layout
14937 \begin_layout Subsection
14939 \begin_inset Index idx
14942 \begin_layout Plain Layout
14943 ひょうのいろ@表の色 ! けいせんぶ@罫線部
14949 \begin_inset Index idx
14952 \begin_layout Plain Layout
14953 いろつき@色付き ! ひょうけいせんぶ@表罫線部
14961 \begin_layout Standard
14963 \begin_inset CommandInset ref
14965 reference "sub:罫線幅"
14969 節に述べられているように、表中の全罫線の線幅は、長さ
14975 を使って調節することができます。本節の表では、すべて1.5
14976 \begin_inset space \thinspace{}
14983 \begin_layout Plain Layout
14989 arrayrulewidth}{1.5pt}
14997 \begin_layout Standard
14999 \begin_inset CommandInset ref
15001 reference "sub:自製書式"
15005 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
15008 \begin_layout Standard
15013 newcolumntype{W}{!{
15020 \begin_layout Standard
15022 \begin_inset CommandInset ref
15024 reference "tab:色付き縦罫線の表"
15039 \begin_layout Standard
15040 複数の色を用いたいときには、列書式をもっと定義してください。
15043 \begin_layout Standard
15044 \begin_inset Float table
15050 \begin_layout Plain Layout
15051 \begin_inset Caption
15053 \begin_layout Plain Layout
15054 \begin_inset CommandInset label
15056 name "tab:色付き縦罫線の表"
15068 \begin_layout Plain Layout
15070 \begin_inset Tabular
15071 <lyxtabular version="3" rows="3" columns="3">
15072 <features tabularvalignment="middle">
15073 <column alignment="center" valignment="top" width="0" special="Wc">
15074 <column alignment="center" valignment="top" width="0" special="Wc">
15075 <column alignment="center" valignment="top" width="0" special="WcW">
15077 <cell alignment="center" valignment="top" topline="true" usebox="none">
15080 \begin_layout Plain Layout
15086 <cell alignment="center" valignment="top" topline="true" usebox="none">
15089 \begin_layout Plain Layout
15095 <cell alignment="center" valignment="top" topline="true" usebox="none">
15098 \begin_layout Plain Layout
15106 <cell alignment="center" valignment="top" topline="true" usebox="none">
15109 \begin_layout Plain Layout
15115 <cell alignment="center" valignment="top" topline="true" usebox="none">
15118 \begin_layout Plain Layout
15124 <cell alignment="center" valignment="top" topline="true" usebox="none">
15127 \begin_layout Plain Layout
15135 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15138 \begin_layout Plain Layout
15144 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15147 \begin_layout Plain Layout
15153 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15156 \begin_layout Plain Layout
15175 \begin_layout Standard
15176 \begin_inset VSpace bigskip
15180 \begin_inset CommandInset ref
15182 reference "tab:色付き横罫線の表"
15186 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
15189 \begin_layout Standard
15199 \begin_inset Newline newline
15207 \begin_inset Newline newline
15211 \begin_inset Phantom HPhantom
15214 \begin_layout Plain Layout
15215 \begin_inset space ~
15225 arrayrulecolor{red}
15229 arrayrulecolor{black}}
15232 \begin_layout Standard
15236 \begin_layout Standard
15240 \begin_layout Plain Layout
15251 \begin_layout Plain Layout
15260 \begin_layout Plain Layout
15264 arrayrulecolor{red}
15268 arrayrulecolor{black}}
15274 \begin_inset Float table
15280 \begin_layout Plain Layout
15281 \begin_inset Caption
15283 \begin_layout Plain Layout
15284 \begin_inset CommandInset label
15286 name "tab:色付き横罫線の表"
15298 \begin_layout Plain Layout
15300 \begin_inset Tabular
15301 <lyxtabular version="3" rows="3" columns="3">
15302 <features tabularvalignment="middle">
15303 <column alignment="center" valignment="top" width="0">
15304 <column alignment="center" valignment="top" width="0">
15305 <column alignment="center" valignment="top" width="0">
15307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15310 \begin_layout Plain Layout
15316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15319 \begin_layout Plain Layout
15325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15328 \begin_layout Plain Layout
15336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15339 \begin_layout Plain Layout
15345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15348 \begin_layout Plain Layout
15354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15357 \begin_layout Plain Layout
15365 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15368 \begin_layout Plain Layout
15374 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15377 \begin_layout Plain Layout
15383 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15386 \begin_layout Plain Layout
15405 \begin_layout Standard
15409 \begin_layout Standard
15421 \begin_layout Standard
15422 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
15423 \begin_inset CommandInset ref
15425 reference "tab:色付き罫線の表"
15432 \begin_layout Standard
15433 \begin_inset Float table
15439 \begin_layout Plain Layout
15440 \begin_inset Caption
15442 \begin_layout Plain Layout
15443 \begin_inset CommandInset label
15457 \begin_layout Plain Layout
15459 \begin_inset Tabular
15460 <lyxtabular version="3" rows="3" columns="3">
15461 <features tabularvalignment="middle">
15462 <column alignment="center" valignment="top" width="0" special="Wc">
15463 <column alignment="center" valignment="top" width="0" special="Wc">
15464 <column alignment="center" valignment="top" width="0" special="WcW">
15466 <cell alignment="center" valignment="top" topline="true" usebox="none">
15469 \begin_layout Plain Layout
15475 <cell alignment="center" valignment="top" topline="true" usebox="none">
15478 \begin_layout Plain Layout
15484 <cell alignment="center" valignment="top" topline="true" usebox="none">
15487 \begin_layout Plain Layout
15495 <cell alignment="center" valignment="top" topline="true" usebox="none">
15498 \begin_layout Plain Layout
15504 <cell alignment="center" valignment="top" topline="true" usebox="none">
15507 \begin_layout Plain Layout
15513 <cell alignment="center" valignment="top" topline="true" usebox="none">
15516 \begin_layout Plain Layout
15523 <row topspace="default">
15524 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15527 \begin_layout Plain Layout
15533 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15536 \begin_layout Plain Layout
15542 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15545 \begin_layout Plain Layout
15564 \begin_layout Standard
15568 \begin_layout Plain Layout
15584 \begin_layout Standard
15588 \begin_layout Plain Layout
15594 arrayrulewidth}{0.4pt}
15602 \begin_layout Section
15604 \begin_inset Index idx
15607 \begin_layout Plain Layout
15614 \begin_inset Index idx
15617 \begin_layout Plain Layout
15626 \begin_layout Subsection
15628 \begin_inset CommandInset label
15635 \begin_inset Index idx
15638 \begin_layout Plain Layout
15639 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
15647 \begin_layout Standard
15652 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
15655 \begin_layout Description
15656 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
15660 \begin_layout Plain Layout
15662 \begin_inset CommandInset ref
15664 reference "sec:フォーマル形式の表"
15674 \begin_inset space \thinspace{}
15677 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15678 \begin_inset VSpace medskip
15682 \begin_inset Newline newline
15686 \begin_inset space \hspace*{}
15691 \begin_inset space \hfill{}
15695 \begin_inset Tabular
15696 <lyxtabular version="3" rows="3" columns="1">
15697 <features tabularvalignment="middle">
15698 <column alignment="center" valignment="top" width="0">
15700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15703 \begin_layout Plain Layout
15710 <row topspace="3mm">
15711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15714 \begin_layout Plain Layout
15716 \begin_inset space \thinspace{}
15726 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15729 \begin_layout Plain Layout
15741 \begin_inset space \hfill{}
15745 \begin_inset space \hspace*{}
15750 \begin_inset VSpace medskip
15754 \begin_inset Newline newline
15757 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
15760 \begin_layout Description
15761 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15762 \begin_inset space \thinspace{}
15765 emの余白を挿入し、通常の表ならば既定値として2
15766 \begin_inset space \thinspace{}
15772 \begin_layout Description
15773 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15774 \begin_inset space \thinspace{}
15777 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15778 \begin_inset VSpace medskip
15782 \begin_inset Newline newline
15786 \begin_inset space \hspace*{}
15791 \begin_inset space \hfill{}
15795 \begin_inset Tabular
15796 <lyxtabular version="3" rows="3" columns="1">
15797 <features tabularvalignment="middle">
15798 <column alignment="center" valignment="top" width="0">
15800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15803 \begin_layout Plain Layout
15810 <row interlinespace="3mm">
15811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15814 \begin_layout Plain Layout
15815 \begin_inset Formula $\downarrow$
15819 \begin_inset space \thinspace{}
15823 \begin_inset Formula $\downarrow$
15833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15836 \begin_layout Plain Layout
15837 \begin_inset Formula $\uparrow$
15841 \begin_inset space \thinspace{}
15845 \begin_inset Formula $\uparrow$
15859 \begin_inset space \hfill{}
15863 \begin_inset space \hspace*{}
15868 \begin_inset VSpace medskip
15872 \begin_inset Newline newline
15875 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
15878 \begin_layout Standard
15879 \begin_inset VSpace bigskip
15882 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
15885 \begin_layout Standard
15890 @ifundefined{extrarowheight}
15891 \begin_inset Newline newline
15895 \begin_inset Phantom HPhantom
15898 \begin_layout Plain Layout
15899 \begin_inset space ~
15909 usepackage{array}}{}
15910 \begin_inset Newline newline
15917 extrarowheight}{height}
15920 \begin_layout Standard
15921 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
15925 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
15934 \begin_layout Standard
15935 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
15941 コマンドを挿入することで補正することができます。表
15942 \begin_inset CommandInset ref
15944 reference "tab:垂直揃え"
15951 \begin_layout Standard
15953 \begin_inset Float table
15959 \begin_layout Plain Layout
15960 \begin_inset Caption
15962 \begin_layout Plain Layout
15963 \begin_inset CommandInset label
15977 \begin_layout Plain Layout
15978 \begin_inset space \hfill{}
15982 \begin_inset Float table
15987 \begin_layout Plain Layout
15988 \begin_inset Caption
15990 \begin_layout Plain Layout
15999 \begin_layout Plain Layout
16002 \begin_inset Tabular
16003 <lyxtabular version="3" rows="6" columns="1">
16004 <features tabularvalignment="middle">
16005 <column alignment="left" valignment="top" width="0">
16007 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16010 \begin_layout Plain Layout
16018 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16021 \begin_layout Plain Layout
16031 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16034 \begin_layout Plain Layout
16044 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16047 \begin_layout Plain Layout
16057 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16060 \begin_layout Plain Layout
16070 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16073 \begin_layout Plain Layout
16092 \begin_inset space \hfill{}
16096 \begin_inset Float table
16101 \begin_layout Plain Layout
16102 \begin_inset Caption
16104 \begin_layout Plain Layout
16119 \begin_layout Plain Layout
16122 \begin_inset Tabular
16123 <lyxtabular version="3" rows="6" columns="1">
16124 <features tabularvalignment="middle">
16125 <column alignment="left" valignment="top" width="0">
16127 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16130 \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" leftline="true" rightline="true" usebox="none">
16216 \begin_layout Plain Layout
16222 \begin_layout Plain Layout
16238 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16241 \begin_layout Plain Layout
16247 \begin_layout Plain Layout
16272 \begin_inset space \hfill{}
16283 \begin_layout Subsection
16285 \begin_inset CommandInset label
16292 \begin_inset Index idx
16295 \begin_layout Plain Layout
16296 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
16304 \begin_layout Standard
16306 \begin_inset CommandInset ref
16308 reference "tab:表セル"
16312 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
16313 \begin_inset Graphics
16314 filename ../../images/tabular-feature_align-decimal.png
16316 scaleBeforeRotation
16327 \begin_layout Standard
16328 \begin_inset Float table
16334 \begin_layout Plain Layout
16335 \begin_inset Caption
16337 \begin_layout Plain Layout
16338 \begin_inset CommandInset label
16352 \begin_layout Plain Layout
16354 \begin_inset Tabular
16355 <lyxtabular version="3" rows="4" columns="1">
16356 <features booktabs="true" tabularvalignment="middle">
16357 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
16359 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
16362 \begin_layout Plain Layout
16370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16373 \begin_layout Plain Layout
16381 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
16384 \begin_layout Plain Layout
16392 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
16395 \begin_layout Plain Layout
16414 \begin_layout Standard
16415 \begin_inset Float table
16421 \begin_layout Plain Layout
16422 \begin_inset Caption
16424 \begin_layout Plain Layout
16425 \begin_inset CommandInset label
16439 \begin_layout Plain Layout
16441 \begin_inset Tabular
16442 <lyxtabular version="3" rows="4" columns="2">
16443 <features booktabs="true" tabularvalignment="middle">
16444 <column alignment="right" valignment="top" width="0pt">
16445 <column alignment="left" valignment="top" width="0pt" special="@{}l">
16447 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16450 \begin_layout Plain Layout
16456 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16459 \begin_layout Plain Layout
16467 <cell alignment="center" valignment="top" usebox="none">
16470 \begin_layout Plain Layout
16471 \begin_inset Formula $12\,+$
16479 <cell alignment="center" valignment="top" usebox="none">
16482 \begin_layout Plain Layout
16483 \begin_inset Formula $\,6$
16493 <cell alignment="center" valignment="top" usebox="none">
16496 \begin_layout Plain Layout
16497 \begin_inset Formula $0\,-$
16505 <cell alignment="center" valignment="top" usebox="none">
16508 \begin_layout Plain Layout
16509 \begin_inset Formula $\,68$
16519 <cell alignment="center" valignment="top" usebox="none">
16522 \begin_layout Plain Layout
16523 \begin_inset Formula $-123\,/$
16531 <cell alignment="center" valignment="top" usebox="none">
16534 \begin_layout Plain Layout
16535 \begin_inset Formula $\,0$
16556 \begin_layout Standard
16557 揃え文字を指定するフィールドには、数式を用いることができないので、この方法を使って、数式中の文字で揃えることはできません。このような場合には、表
16558 \begin_inset CommandInset ref
16560 reference "tab:演算子揃え表"
16564 のような方法を用いる必要があります。この表は、4×2表として作成されており、見出しは中央揃え連結列です。第1列には、右揃えで演算子を含む前半部を収め、第2列には
16565 、左揃えで残りを収めます。演算子の周りに通常加えられる空白を得るために、第2列の各セルの冒頭には、小空白が加えられています。通常、表の列間に加えられる余白を削る
16569 \begin_layout Standard
16575 \begin_layout Standard
16576 というLaTeX引数を第2列に指定します。
16579 \begin_layout Standard
16581 \begin_inset CommandInset ref
16583 reference "tab:表セル揃え"
16587 は、揃え方の例をいくつか示しています。関係子で揃えるために、表
16588 \begin_inset CommandInset ref
16590 reference "tab:演算子揃え表"
16594 の冒頭には、小空白が加えられています。
16597 \begin_layout Standard
16598 \begin_inset Float table
16603 \begin_layout Plain Layout
16604 \begin_inset Caption
16606 \begin_layout Plain Layout
16607 \begin_inset CommandInset label
16621 \begin_layout Plain Layout
16623 \begin_inset Tabular
16624 <lyxtabular version="3" rows="4" columns="6">
16625 <features tabularvalignment="middle">
16626 <column alignment="right" valignment="top" width="0">
16627 <column alignment="left" valignment="top" width="0" special="@{}l">
16628 <column alignment="right" valignment="top" width="0">
16629 <column alignment="left" valignment="top" width="0" special="@{}l">
16630 <column alignment="right" valignment="top" width="0">
16631 <column alignment="left" valignment="top" width="0" special="@{}l">
16633 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16636 \begin_layout Plain Layout
16642 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16645 \begin_layout Plain Layout
16651 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16654 \begin_layout Plain Layout
16660 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16663 \begin_layout Plain Layout
16669 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16672 \begin_layout Plain Layout
16678 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16681 \begin_layout Plain Layout
16689 <cell alignment="center" valignment="top" usebox="none">
16692 \begin_layout Plain Layout
16698 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16701 \begin_layout Plain Layout
16707 <cell alignment="center" valignment="top" usebox="none">
16710 \begin_layout Plain Layout
16711 \begin_inset Formula $10\cdot$
16719 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16722 \begin_layout Plain Layout
16723 \begin_inset Formula $10^{\mbox{-}17}$
16731 <cell alignment="center" valignment="top" usebox="none">
16734 \begin_layout Plain Layout
16735 \begin_inset Formula $\Gamma(t)\propto$
16743 <cell alignment="center" valignment="top" usebox="none">
16746 \begin_layout Plain Layout
16747 \begin_inset Formula $\:\Upsilon(t)$
16757 <cell alignment="center" valignment="top" usebox="none">
16760 \begin_layout Plain Layout
16766 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16769 \begin_layout Plain Layout
16775 <cell alignment="center" valignment="top" usebox="none">
16778 \begin_layout Plain Layout
16779 \begin_inset Formula $5.78\cdot$
16787 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16790 \begin_layout Plain Layout
16791 \begin_inset Formula $10^{7}$
16799 <cell alignment="center" valignment="top" usebox="none">
16802 \begin_layout Plain Layout
16803 \begin_inset Formula $A\ne$
16811 <cell alignment="center" valignment="top" usebox="none">
16814 \begin_layout Plain Layout
16815 \begin_inset Formula $\: B_{\mathrm{red}}$
16825 <cell alignment="center" valignment="top" usebox="none">
16828 \begin_layout Plain Layout
16834 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16837 \begin_layout Plain Layout
16839 \begin_inset space \thinspace{}
16847 <cell alignment="center" valignment="top" usebox="none">
16850 \begin_layout Plain Layout
16852 \begin_inset Formula $33.5\cdot$
16860 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16863 \begin_layout Plain Layout
16864 \begin_inset Formula $10^{4}$
16872 <cell alignment="center" valignment="top" usebox="none">
16875 \begin_layout Plain Layout
16876 \begin_inset Formula $\sin(\alpha)\ge$
16884 <cell alignment="center" valignment="top" usebox="none">
16887 \begin_layout Plain Layout
16888 \begin_inset Formula $\:\sin(\beta)$
16909 \begin_layout Subsection
16911 \begin_inset CommandInset label
16918 \begin_inset Index idx
16921 \begin_layout Plain Layout
16922 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
16930 \begin_layout Standard
16931 連結列セルを含む表がいくつもある場合には、第
16932 \begin_inset CommandInset ref
16934 reference "sub:連結列の計算"
16938 節のように連結部分を含む列に必要とされる幅を計算することはたいへん面倒です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のす
16939 べての表で使うことができます。書式は、以下のように定義します。
16942 \begin_layout Standard
16947 newcolumntype{書式名}[引数の数]{コマンド}
16950 \begin_layout Standard
16975 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
16978 \begin_layout Standard
16979 \begin_inset VSpace medskip
16985 \begin_layout Standard
16986 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
16989 \begin_layout Standard
16994 newcolumntype{M}[1]{>{
17001 \begin_layout Standard
17009 \begin_inset CommandInset ref
17011 reference "sub:複数行"
17015 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
17018 \begin_layout Standard
17024 \begin_layout Standard
17028 \begin_layout Standard
17029 \begin_inset VSpace bigskip
17035 \begin_layout Standard
17036 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
17039 \begin_layout Standard
17044 newcolumntype{S}[2]{>{
17049 \begin_inset Newline newline
17053 \begin_inset Phantom HPhantom
17056 \begin_layout Plain Layout
17070 arrayrulewidth)*(1-#2))/#2}}
17073 \begin_layout Standard
17074 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
17075 \begin_inset CommandInset ref
17084 \begin_layout Standard
17085 こうしておけば、当該セルのLaTeX引数に
17088 \begin_layout Standard
17091 S{連結列セルの幅}{連結列セルがまたがる列の数}
17094 \begin_layout Standard
17098 \begin_layout Standard
17099 \begin_inset VSpace bigskip
17105 \begin_layout Standard
17106 色付き列については、以下のように定義するとよいでしょう。
17109 \begin_layout Standard
17114 newcolumntype{K}[1]{>{
17121 \begin_layout Standard
17122 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
17125 \begin_layout Standard
17131 \begin_layout Standard
17135 \begin_layout Standard
17136 \begin_inset VSpace bigskip
17142 \begin_layout Standard
17144 \begin_inset CommandInset ref
17146 reference "tab:ユーザー定義の表書式"
17150 を生成するには、第1列と連結列にLaTeX引数として
17153 \begin_layout Standard
17159 \begin_layout Standard
17163 \begin_layout Standard
17169 \begin_layout Standard
17173 \begin_layout Standard
17179 \begin_layout Standard
17183 \begin_layout Standard
17184 \begin_inset Float table
17190 \begin_layout Plain Layout
17191 \begin_inset Caption
17193 \begin_layout Plain Layout
17194 \begin_inset CommandInset label
17196 name "tab:ユーザー定義の表書式"
17208 \begin_layout Plain Layout
17210 \begin_inset Tabular
17211 <lyxtabular version="3" rows="3" columns="4">
17212 <features tabularvalignment="middle">
17213 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17214 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17215 <column alignment="center" valignment="middle" width="0">
17216 <column alignment="center" valignment="middle" width="0" special="K{red}">
17218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17221 \begin_layout Plain Layout
17227 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17230 \begin_layout Plain Layout
17236 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17239 \begin_layout Plain Layout
17245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17248 \begin_layout Plain Layout
17256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17259 \begin_layout Plain Layout
17265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17268 \begin_layout Plain Layout
17274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17277 \begin_layout Plain Layout
17283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17286 \begin_layout Plain Layout
17294 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17297 \begin_layout Plain Layout
17303 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17306 \begin_layout Plain Layout
17312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17315 \begin_layout Plain Layout
17321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17324 \begin_layout Plain Layout
17343 \begin_layout Subsection
17345 \begin_inset CommandInset label
17352 \begin_inset Index idx
17355 \begin_layout Plain Layout
17356 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
17364 \begin_layout Standard
17365 表中のすべての罫線の罫線幅を調整するには、長さ
17372 \begin_inset CommandInset ref
17374 reference "tab:Table-with-1.5"
17379 \begin_inset space \thinspace{}
17382 ptにするには、表や表フロートの前にTeXコードで
17385 \begin_layout Standard
17392 arrayrulewidth}{1.5pt}
17395 \begin_layout Standard
17396 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
17403 \begin_inset space \thinspace{}
17409 \begin_layout Standard
17413 \begin_layout Plain Layout
17419 arrayrulewidth}{1.5pt}
17425 \begin_inset Float table
17430 \begin_layout Plain Layout
17431 \begin_inset Caption
17433 \begin_layout Plain Layout
17434 \begin_inset CommandInset label
17436 name "tab:Table-with-1.5"
17441 \begin_inset space \thinspace{}
17452 \begin_layout Plain Layout
17454 \begin_inset Tabular
17455 <lyxtabular version="3" rows="3" columns="3">
17456 <features tabularvalignment="middle">
17457 <column alignment="center" valignment="top" width="0">
17458 <column alignment="center" valignment="top" width="0">
17459 <column alignment="center" valignment="top" width="0">
17461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17464 \begin_layout Plain Layout
17470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17473 \begin_layout Plain Layout
17479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17482 \begin_layout Plain Layout
17490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17493 \begin_layout Plain Layout
17499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17502 \begin_layout Plain Layout
17508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17511 \begin_layout Plain Layout
17519 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17522 \begin_layout Plain Layout
17528 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17531 \begin_layout Plain Layout
17537 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17540 \begin_layout Plain Layout
17560 \begin_layout Plain Layout
17566 arrayrulewidth}{0.4pt}
17574 \begin_layout Standard
17575 \begin_inset VSpace bigskip
17579 \begin_inset CommandInset ref
17581 reference "tab:1.5pt幅横罫"
17586 \begin_inset space \thinspace{}
17589 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
17592 \begin_layout Standard
17602 \begin_inset Newline newline
17610 \begin_inset Newline newline
17619 arrayrulewidth 1.5pt}
17620 \begin_inset Newline newline
17631 arrayrulewidth 0.4pt}}
17634 \begin_layout Standard
17635 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
17638 \begin_layout Standard
17650 \begin_layout Standard
17654 \begin_layout Plain Layout
17665 \begin_layout Plain Layout
17674 \begin_layout Plain Layout
17682 arrayrulewidth 1.5pt}
17685 \begin_layout Plain Layout
17695 arrayrulewidth 0.4pt}}
17701 \begin_inset Float table
17706 \begin_layout Plain Layout
17707 \begin_inset Caption
17709 \begin_layout Plain Layout
17710 \begin_inset CommandInset label
17712 name "tab:1.5pt幅横罫"
17717 \begin_inset space \thinspace{}
17728 \begin_layout Plain Layout
17730 \begin_inset Tabular
17731 <lyxtabular version="3" rows="3" columns="3">
17732 <features tabularvalignment="middle">
17733 <column alignment="center" valignment="top" width="0">
17734 <column alignment="center" valignment="top" width="0">
17735 <column alignment="center" valignment="top" width="0">
17737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17740 \begin_layout Plain Layout
17746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17749 \begin_layout Plain Layout
17755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17758 \begin_layout Plain Layout
17766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17769 \begin_layout Plain Layout
17775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17778 \begin_layout Plain Layout
17784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17787 \begin_layout Plain Layout
17795 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17798 \begin_layout Plain Layout
17804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17807 \begin_layout Plain Layout
17813 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17816 \begin_layout Plain Layout
17836 \begin_layout Plain Layout
17852 \begin_layout Standard
17853 \begin_inset VSpace bigskip
17857 \begin_inset space \thinspace{}
17861 \begin_inset CommandInset ref
17863 reference "sub:自製書式"
17867 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
17870 \begin_layout Standard
17875 newcolumntype{V}{!{
17877 vrule width 1.5pt}}
17880 \begin_layout Standard
17882 \begin_inset CommandInset ref
17884 reference "tab:1.5pt幅縦罫"
17891 \begin_layout Standard
17897 \begin_layout Standard
17901 \begin_layout Standard
17907 \begin_layout Standard
17911 \begin_layout Standard
17912 \begin_inset Float table
17917 \begin_layout Plain Layout
17918 \begin_inset Caption
17920 \begin_layout Plain Layout
17921 \begin_inset CommandInset label
17923 name "tab:1.5pt幅縦罫"
17928 \begin_inset space \thinspace{}
17939 \begin_layout Plain Layout
17941 \begin_inset Tabular
17942 <lyxtabular version="3" rows="3" columns="3">
17943 <features tabularvalignment="middle">
17944 <column alignment="center" valignment="top" width="0" special="Vc">
17945 <column alignment="center" valignment="top" width="0" special="Vc">
17946 <column alignment="center" valignment="top" width="0" special="VcV">
17948 <cell alignment="center" valignment="top" topline="true" usebox="none">
17951 \begin_layout Plain Layout
17957 <cell alignment="center" valignment="top" topline="true" usebox="none">
17960 \begin_layout Plain Layout
17966 <cell alignment="center" valignment="top" topline="true" usebox="none">
17969 \begin_layout Plain Layout
17977 <cell alignment="center" valignment="top" topline="true" usebox="none">
17980 \begin_layout Plain Layout
17986 <cell alignment="center" valignment="top" topline="true" usebox="none">
17989 \begin_layout Plain Layout
17995 <cell alignment="center" valignment="top" topline="true" usebox="none">
17998 \begin_layout Plain Layout
18006 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18009 \begin_layout Plain Layout
18015 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18018 \begin_layout Plain Layout
18024 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18027 \begin_layout Plain Layout
18046 \begin_layout Subsection
18048 \begin_inset Index idx
18051 \begin_layout Plain Layout
18052 ひょうのちょうせい@表の調整 ! てんけい@点罫
18060 \begin_layout Standard
18064 \begin_layout Plain Layout
18074 \begin_inset Note Note
18077 \begin_layout Plain Layout
18078 この節は、LaTeXパッケージarydshlnが導入済みの時のみ表示されます。
18086 \begin_layout Standard
18087 \begin_inset Float table
18093 \begin_layout Plain Layout
18094 \begin_inset Caption
18096 \begin_layout Plain Layout
18097 \begin_inset CommandInset label
18111 \begin_layout Plain Layout
18113 \begin_inset Tabular
18114 <lyxtabular version="3" rows="5" columns="5">
18115 <features tabularvalignment="middle">
18116 <column alignment="center" valignment="top" width="0">
18117 <column alignment="center" valignment="top" width="0">
18118 <column alignment="center" valignment="top" width="0" special=":c">
18119 <column alignment="center" valignment="top" width="0">
18120 <column alignment="center" valignment="top" width="0">
18122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18125 \begin_layout Plain Layout
18131 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18134 \begin_layout Plain Layout
18140 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18143 \begin_layout Plain Layout
18149 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18152 \begin_layout Plain Layout
18158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18161 \begin_layout Plain Layout
18169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18172 \begin_layout Plain Layout
18178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18181 \begin_layout Plain Layout
18187 <cell alignment="center" valignment="top" topline="true" usebox="none">
18190 \begin_layout Plain Layout
18196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18199 \begin_layout Plain Layout
18205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18208 \begin_layout Plain Layout
18216 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18219 \begin_layout Plain Layout
18223 \begin_layout Plain Layout
18237 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18240 \begin_layout Plain Layout
18246 <cell alignment="center" valignment="top" usebox="none">
18249 \begin_layout Plain Layout
18255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18258 \begin_layout Plain Layout
18264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18267 \begin_layout Plain Layout
18275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18278 \begin_layout Plain Layout
18282 \begin_layout Plain Layout
18296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18299 \begin_layout Plain Layout
18305 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18308 \begin_layout Plain Layout
18314 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18317 \begin_layout Plain Layout
18323 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18326 \begin_layout Plain Layout
18334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18337 \begin_layout Plain Layout
18343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18346 \begin_layout Plain Layout
18352 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18355 \begin_layout Plain Layout
18361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18364 \begin_layout Plain Layout
18370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18373 \begin_layout Plain Layout
18392 \begin_layout Standard
18393 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
18396 \begin_layout Standard
18401 usepackage{arydshln}
18404 \begin_layout Standard
18405 というコマンドを書き、LaTeXパッケージの
18410 \begin_inset Index idx
18413 \begin_layout Plain Layout
18414 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
18419 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
18422 \begin_layout Standard
18423 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
18426 \begin_layout Standard
18434 \begin_layout Standard
18438 \begin_layout Standard
18439 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
18442 \begin_layout Standard
18452 \begin_layout Standard
18453 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
18456 \begin_layout Standard
18464 \begin_layout Standard
18468 \begin_layout Standard
18469 \begin_inset VSpace bigskip
18475 \begin_layout Standard
18477 \begin_inset CommandInset ref
18479 reference "tab:点罫表"
18483 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
18487 hdashlineが挿れられており、第3行の最初のセルには、
18490 \begin_inset Newline newline
18497 cdashline{4-5}が挿れられています。
18500 \begin_layout Standard
18501 \begin_inset Note Greyedout
18504 \begin_layout Plain Layout
18509 ここで用いられているLaTeXパッケージ
18514 \begin_inset CommandInset ref
18516 reference "sec:色付きの表"
18520 節の色付き表で用いられているLaTeXパッケージ
18525 \begin_inset Index idx
18528 \begin_layout Plain Layout
18529 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
18534 とは、どうやら共存し得ないようです。すなわち、色付き表に点罫をつけることはできません。
18542 \begin_layout Standard
18546 \begin_layout Plain Layout
18556 \begin_inset Note Note
18559 \begin_layout Plain Layout
18572 \begin_layout Standard
18577 パッケージを導入しなくてはなりません。
18580 \begin_layout Standard
18584 \begin_layout Plain Layout
18596 \begin_layout Chapter
18598 \begin_inset CommandInset label
18605 \begin_inset Index idx
18608 \begin_layout Plain Layout
18617 \begin_layout Section
18619 \begin_inset CommandInset label
18621 name "sec:フロートはじめに"
18626 \begin_inset Index idx
18629 \begin_layout Plain Layout
18638 \begin_layout Standard
18639 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
18648 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
18651 \begin_layout Standard
18652 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
18653 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
18654 ートには連番が割り当てられます。参照については、第
18655 \begin_inset CommandInset ref
18657 reference "sec:フロートの参照"
18664 \begin_layout Standard
18667 挿入\SpecialChar \menuseparator
18670 メニューを使えば、ラベルのついたボックスすなわち
18674 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
18675 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
18676 \begin_inset CommandInset ref
18678 reference "sec:キャプションの配置"
18682 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
18684 \begin_inset Graphics
18685 filename clipart/floatQt4.png
18687 scaleBeforeRotation
18691 のように、灰色ボタンに赤字ラベルで表示されます。
18694 \begin_layout Standard
18695 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
18698 \begin_layout Standard
18699 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
18702 \begin_layout Section
18706 \begin_layout Standard
18708 \begin_inset CommandInset ref
18710 reference "sec:図フロート"
18715 \begin_inset CommandInset ref
18717 reference "sec:表フロート"
18721 節で各々説明されている図フロートと表フロート以外に、
18731 The latter are explained in sec.
18734 \begin_inset space \thinspace{}
18738 \begin_inset CommandInset ref
18740 reference "sec:折返しフロート"
18747 \begin_layout Subsection
18749 \begin_inset Index idx
18752 \begin_layout Plain Layout
18753 ふろーと@フロート ! あるごりずむ@アルゴリズム
18761 \begin_layout Standard
18762 \begin_inset Float algorithm
18768 \begin_layout Plain Layout
18769 \begin_inset Caption
18771 \begin_layout Plain Layout
18772 \begin_inset CommandInset label
18774 name "alg:アルゴリズムフロートの例"
18786 \begin_layout LyX-Code
18788 \begin_inset Newline newline
18791 Sum:= Sum + A(I); /*comment*/
18792 \begin_inset Newline newline
18796 \begin_inset VSpace -4mm
18807 \begin_layout Standard
18812 \SpecialChar \menuseparator
18813 フロート\SpecialChar \menuseparator
18817 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
18818 \begin_inset CommandInset ref
18820 reference "cha:プログラムコードリスト"
18824 章で説明されているプログラムコードリストの代わりとみなすことができます。
18828 に述べられているように、アルゴリズム向けの環境としては、
18833 \begin_inset CommandInset ref
18835 reference "alg:アルゴリズムフロートの例"
18839 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
18840 \begin_inset space \thinspace{}
18846 \begin_layout Standard
18847 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
18850 \begin_layout Standard
18855 floatname{algorithm}{付けたい名称}
18858 \begin_layout Standard
18859 という行を手動で加える必要があります。ここで
18872 \begin_layout Standard
18873 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
18875 挿入\SpecialChar \menuseparator
18876 一覧/目次\SpecialChar \menuseparator
18879 メニューを使用します。それ以外の場合には、代わりに
18882 \begin_layout Standard
18887 listof{algorithm}{付けたい名称}
18890 \begin_layout Standard
18891 というコマンドをTeXコードとして用います。ここで
18899 s」という単語に相当する、ご使用になりたい言語での単語です。
18902 \begin_layout Standard
18903 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
18904 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
18907 \begin_layout Standard
18912 numberwithin{algorithm}{chapter}
18915 \begin_layout Standard
18922 というコマンドを使用するには、文書設定の
18933 \begin_layout Section
18935 \begin_inset Index idx
18938 \begin_layout Plain Layout
18939 ふろーと@フロート ! れんばん@連番
18947 \begin_layout Standard
18948 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
18952 \begin_layout Standard
18953 節から独立して付けられている連番を変更するには、文書プリアンブルで
18956 \begin_layout Standard
18968 \begin_layout Standard
18975 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
18981 コマンドを使用します。上のコマンドで使用されている
18987 は、表番号を小文字のローマ数字で印字するコマンドです。
18990 \begin_layout Standard
18991 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
18994 \begin_layout Standard
18999 numberwithin{table}{subsection}
19002 \begin_layout Standard
19009 コマンドを使用可能にするためには、文書設定の
19016 \begin_inset space ~
19024 \begin_layout Standard
19025 連番コマンドについての詳細と大切な注意点については、第
19026 \begin_inset CommandInset ref
19028 reference "sub:脚注の付番"
19035 \begin_layout Section
19037 \begin_inset CommandInset label
19044 \begin_inset Index idx
19047 \begin_layout Plain Layout
19048 ふろーと@フロート ! さんしょう@参照
19054 \begin_inset Index idx
19057 \begin_layout Plain Layout
19058 さんしょう@参照 ! ふろーとにたいする@フロートに対する
19066 \begin_layout Standard
19069 挿入\SpecialChar \menuseparator
19072 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
19073 \begin_inset Graphics
19074 filename ../clipart/labelQt4.png
19076 scaleBeforeRotation
19080 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
19081 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
19088 \begin_layout Standard
19089 ラベルは、参照のための名称兼位置標として用いられます。
19091 挿入\SpecialChar \menuseparator
19095 \begin_inset Graphics
19096 filename ../../images/dialog-show-new-inset_ref.png
19098 scaleBeforeRotation
19102 を使えば、ラベルを参照することができます。
19103 \begin_inset Graphics
19104 filename clipart/referenceQt4.png
19106 scaleBeforeRotation
19110 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
19111 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
19115 \begin_layout Standard
19116 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
19117 出力では、参照の代わりに二つの疑問符が表示されることになります。
19120 \begin_layout Standard
19121 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
19122 で、リンクの更新に手間を割く必要はありません。
19125 \begin_layout Standard
19130 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
19134 に変わるので、相互参照にカーソルを戻すのに使用することができます。相互参照ボックスを右クリックしても、カーソルを参照されているラベルの前に移すことができますが、
19135 この場合には元に戻ることができません。
19138 \begin_layout Subsection
19140 \begin_inset CommandInset label
19147 \begin_inset Index idx
19150 \begin_layout Plain Layout
19159 \begin_layout Standard
19160 相互参照には、以下の6種類があります。
19163 \begin_layout Description
19164 <参照>: これはフロート番号を表示します。これが既定値です。例:
19165 \begin_inset CommandInset ref
19167 reference "fig:歪められた二つの像"
19174 \begin_layout Description
19175 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
19177 \begin_inset CommandInset ref
19186 \begin_layout Description
19187 <参照ページ>: これはページ番号を表示します。例:Page
19188 \begin_inset space ~
19192 \begin_inset CommandInset ref
19193 LatexCommand pageref
19194 reference "fig:歪められた二つの像"
19201 \begin_layout Description
19203 \begin_inset space ~
19207 \begin_inset space ~
19210 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
19211 \begin_inset CommandInset ref
19212 LatexCommand vpageref
19213 reference "fig:歪められた二つの像"
19220 \begin_layout Description
19222 \begin_inset space ~
19226 \begin_inset space ~
19230 \begin_inset space ~
19233 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
19234 \begin_inset CommandInset ref
19236 reference "fig:歪められた二つの像"
19243 \begin_layout Description
19244 整形された参照: これは自製の相互参照書式で出力します。
19245 \begin_inset Newline newline
19249 \begin_inset Note Greyedout
19252 \begin_layout Plain Layout
19253 【註】この機能は、LaTeXパッケージ
19261 が導入されている場合のみ使用することができます。
19262 \begin_inset Index idx
19265 \begin_layout Plain Layout
19266 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19272 \begin_inset Index idx
19275 \begin_layout Plain Layout
19276 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19287 \begin_inset Newline newline
19292 文書\SpecialChar \menuseparator
19293 設定\SpecialChar \menuseparator
19298 相互参照に(prettyrefではなく)refstyleを使用
19300 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
19306 コマンド(prettyrefの場合)あるいは
19312 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
19316 」を持ちます)をすべて定義し直すには、
19317 \begin_inset Newline newline
19324 newref{fig}{refcmd={Image on page
19327 \begin_inset Newline newline
19332 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
19333 \begin_inset CommandInset citation
19335 key "prettyref,refstyle"
19342 \begin_layout Description
19343 名称参照: これは、右のように参照のキャプションを出力します。
19344 \begin_inset CommandInset ref
19345 LatexCommand nameref
19346 reference "fig:歪められた二つの像"
19353 \begin_layout Standard
19358 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
19364 <参照> on page <参照ページ>
19366 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
19369 \begin_layout Standard
19370 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
19377 \begin_layout Standard
19378 \begin_inset Note Greyedout
19381 \begin_layout Plain Layout
19386 It is recommended to use the LaTeX-package
19391 \begin_inset Index idx
19394 \begin_layout Plain Layout
19395 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19405 \begin_inset Index idx
19408 \begin_layout Plain Layout
19409 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19414 does not know all of LyX's possible label shortcuts
19418 \begin_layout Plain Layout
19419 \begin_inset Quotes eld
19423 \begin_inset Quotes erd
19426 is for example LyX's shortcut for labels in figure captions.
19431 and is not internationalized.
19439 \begin_layout Subsection
19441 \begin_inset Index idx
19444 \begin_layout Plain Layout
19445 さんしょう@参照 ! じどうめいめい@自動命名
19453 \begin_layout Standard
19467 \begin_inset Index idx
19470 \begin_layout Plain Layout
19471 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19476 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
19480 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
19481 の機能を使用するには、hyperrefを有効にして、
19484 \begin_layout Standard
19500 \begin_layout Standard
19501 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
19502 \begin_inset space \thinspace{}
19505 」としたいなど、既定の参照名以外のものが欲しい場合には、
19508 \begin_layout Standard
19519 sectionautorefname}
19520 \begin_inset Newline newline
19524 \begin_inset Phantom HPhantom
19527 \begin_layout Plain Layout
19530 \begin_inset space ~
19543 \begin_layout Standard
19544 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
19545 \begin_inset Newline newline
19556 に置き換えてください(***は使用中の言語名)。
19559 \begin_layout Standard
19560 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
19563 \begin_layout Standard
19571 \begin_inset Newline newline
19581 \begin_inset Newline newline
19592 equationautorefname}
19593 \begin_inset Newline newline
19597 \begin_inset Phantom HPhantom
19600 \begin_layout Plain Layout
19603 \begin_inset space ~
19618 \begin_layout Standard
19619 この話題に関する詳細は、hyperrefの説明書
19620 \begin_inset CommandInset citation
19629 \begin_layout Standard
19630 \begin_inset Note Greyedout
19633 \begin_layout Plain Layout
19643 \begin_inset CommandInset ref
19645 reference "sub:相互参照の書式"
19649 節)で使用しているときには、使用することができません。
19657 \begin_layout Standard
19662 は、参照の自動命名が使用されている一例です。
19665 \begin_layout Subsection
19667 \begin_inset CommandInset label
19674 \begin_inset Index idx
19677 \begin_layout Plain Layout
19678 さんしょう@参照 ! さんしょういち@参照位置
19686 \begin_layout Standard
19700 \begin_inset Index idx
19703 \begin_layout Plain Layout
19704 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19709 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
19710 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
19715 \begin_inset Index idx
19718 \begin_layout Plain Layout
19719 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19729 \begin_inset Index idx
19732 \begin_layout Plain Layout
19733 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19738 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
19741 \begin_layout Standard
19746 usepackage[figure]{hypcap}
19749 \begin_layout Standard
19750 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
19752 \begin_inset CommandInset citation
19761 \begin_layout Standard
19762 \begin_inset Note Greyedout
19765 \begin_layout Plain Layout
19770 は内部図への参照には効力がありません。
19778 \begin_layout Section
19780 \begin_inset CommandInset label
19787 \begin_inset Index idx
19790 \begin_layout Plain Layout
19799 \begin_layout Standard
19809 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
19810 \begin_inset Newline newline
19831 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
19832 \begin_inset Newline newline
19853 オプションは、フロートを回転するのに用います。第
19863 \begin_inset CommandInset ref
19865 reference "sec:回転フロート"
19881 \begin_layout Standard
19909 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
19912 \begin_layout Description
19922 フロートを挿入位置に配置することを試みます
19925 \begin_layout Description
19935 フロートを現在ページの上部に配置することを試みます
19938 \begin_layout Description
19948 フロートを現在ページの下部に配置することを試みます
19951 \begin_layout Description
19961 フロートを独立したページに配置することを試みます
19964 \begin_layout Standard
19969 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
19977 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
19978 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
19981 \begin_layout Standard
19982 既定では、各オプションはそれぞれ以下の規則を持っています。
19985 \begin_layout Labeling
19986 \labelwidthstring 00.00.0000
19991 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
20000 \begin_layout Labeling
20001 \labelwidthstring 00.00.0000
20006 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
20015 \begin_layout Labeling
20016 \labelwidthstring 00.00.0000
20021 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
20030 \begin_layout Standard
20035 オプションを追加することによって、これらを無視することができます。
20036 \begin_inset Newline newline
20039 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
20040 、ページの5割に変えるには、文書プリアンブルに
20043 \begin_layout Standard
20050 bottomfraction}{0.5}
20053 \begin_layout Standard
20057 \begin_layout Standard
20058 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
20062 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
20063 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
20067 \begin_layout Standard
20068 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
20071 \begin_layout Standard
20072 \begin_inset VSpace bigskip
20078 \begin_layout Standard
20079 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
20080 することがあります。この問題を避けるには、LaTeXコマンドの
20082 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
20083 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
20086 \begin_layout Standard
20096 \begin_inset Newline newline
20110 \begin_layout Standard
20111 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
20112 することがあるので、これらに対する定義はお勧めしません。
20115 \begin_layout Standard
20116 \begin_inset VSpace bigskip
20119 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
20124 \begin_inset Index idx
20127 \begin_layout Plain Layout
20128 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
20133 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
20134 \begin_inset Quotes eld
20140 \begin_inset space ~
20146 \begin_inset Quotes erd
20149 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
20152 \begin_layout Standard
20157 usepackage[options]{endfloat}
20160 \begin_layout Standard
20161 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
20166 \begin_inset CommandInset citation
20173 \begin_inset Newline newline
20177 \begin_inset Note Greyedout
20180 \begin_layout Plain Layout
20185 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
20186 \begin_inset CommandInset citation
20198 \begin_inset Newline newline
20202 \begin_inset Note Greyedout
20205 \begin_layout Plain Layout
20214 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
20228 \begin_layout Standard
20229 \begin_inset VSpace bigskip
20232 フロートの割付に関する詳細は、LaTeX関連書
20233 \begin_inset CommandInset citation
20235 key "latexcompanion,latexguide,latexbook"
20242 \begin_layout Section
20244 \begin_inset CommandInset label
20251 \begin_inset Index idx
20254 \begin_layout Plain Layout
20255 ふろーと@フロート ! かいてん@回転
20263 \begin_layout Standard
20264 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
20271 \begin_layout Standard
20272 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
20276 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
20277 たって回転方向を強制したい場合には、文書クラスオプションに
20288 \begin_layout Standard
20289 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
20290 \begin_inset CommandInset ref
20292 reference "tab:回転した表"
20299 \begin_layout Standard
20300 \begin_inset Note Greyedout
20303 \begin_layout Plain Layout
20308 すべてのDVIビューアが回転フロートを表示できるわけではありません。
20316 \begin_layout Standard
20317 \begin_inset Float table
20322 \begin_layout Plain Layout
20323 \begin_inset Caption
20325 \begin_layout Plain Layout
20326 \begin_inset CommandInset label
20340 \begin_layout Plain Layout
20342 \begin_inset Tabular
20343 <lyxtabular version="3" rows="1" columns="5">
20344 <features tabularvalignment="middle">
20345 <column alignment="center" valignment="top" width="0">
20346 <column alignment="center" valignment="top" width="0">
20347 <column alignment="center" valignment="top" width="0">
20348 <column alignment="center" valignment="top" width="0">
20349 <column alignment="center" valignment="top" width="0">
20351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20354 \begin_layout Plain Layout
20360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20363 \begin_layout Plain Layout
20369 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20372 \begin_layout Plain Layout
20378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20381 \begin_layout Plain Layout
20387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20390 \begin_layout Plain Layout
20409 \begin_layout Section
20411 \begin_inset Index idx
20414 \begin_layout Plain Layout
20415 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
20423 \begin_layout Standard
20424 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
20425 \begin_inset CommandInset ref
20427 reference "tab:従属表を横に並べたもの"
20432 \begin_inset CommandInset ref
20434 reference "tab:従属表を縦に並べたもの"
20438 に示されているように段落と同様に指定することができます。
20441 \begin_layout Standard
20442 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
20443 \begin_inset CommandInset ref
20445 reference "tab:これは従属表a"
20450 \begin_inset CommandInset ref
20452 reference "tab:これは従属表b"
20457 \begin_inset CommandInset ref
20459 reference "tab:従属表を横に並べたもの"
20464 \begin_inset Float table
20469 \begin_layout Plain Layout
20470 \begin_inset Caption
20472 \begin_layout Plain Layout
20473 \begin_inset CommandInset label
20475 name "tab:従属表を横に並べたもの"
20487 \begin_layout Plain Layout
20488 \begin_inset space \hfill{}
20492 \begin_inset Float table
20497 \begin_layout Plain Layout
20498 \begin_inset Caption
20500 \begin_layout Plain Layout
20501 \begin_inset CommandInset label
20515 \begin_layout Plain Layout
20517 \begin_inset Tabular
20518 <lyxtabular version="3" rows="1" columns="5">
20519 <features tabularvalignment="middle">
20520 <column alignment="center" valignment="top" width="0">
20521 <column alignment="center" valignment="top" width="0">
20522 <column alignment="center" valignment="top" width="0">
20523 <column alignment="center" valignment="top" width="0">
20524 <column alignment="center" valignment="top" width="0">
20526 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20529 \begin_layout Plain Layout
20535 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20538 \begin_layout Plain Layout
20544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20547 \begin_layout Plain Layout
20553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20556 \begin_layout Plain Layout
20562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20565 \begin_layout Plain Layout
20582 \begin_inset space \hfill{}
20586 \begin_inset Float table
20591 \begin_layout Plain Layout
20592 \begin_inset Caption
20594 \begin_layout Plain Layout
20595 \begin_inset CommandInset label
20609 \begin_layout Plain Layout
20611 \begin_inset Tabular
20612 <lyxtabular version="3" rows="1" columns="5">
20613 <features tabularvalignment="middle">
20614 <column alignment="center" valignment="top" width="0">
20615 <column alignment="center" valignment="top" width="0">
20616 <column alignment="center" valignment="top" width="0">
20617 <column alignment="center" valignment="top" width="0">
20618 <column alignment="center" valignment="top" width="0">
20620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20623 \begin_layout Plain Layout
20629 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20632 \begin_layout Plain Layout
20638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20641 \begin_layout Plain Layout
20647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20650 \begin_layout Plain Layout
20656 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20659 \begin_layout Plain Layout
20676 \begin_inset space \hfill{}
20685 \begin_inset Float table
20690 \begin_layout Plain Layout
20691 \begin_inset Caption
20693 \begin_layout Plain Layout
20694 \begin_inset CommandInset label
20696 name "tab:従属表を縦に並べたもの"
20700 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
20708 \begin_layout Plain Layout
20709 \begin_inset Float table
20714 \begin_layout Plain Layout
20715 \begin_inset Caption
20717 \begin_layout Plain Layout
20726 \begin_layout Plain Layout
20728 \begin_inset Tabular
20729 <lyxtabular version="3" rows="1" columns="4">
20730 <features tabularvalignment="middle">
20731 <column alignment="center" valignment="top" width="0">
20732 <column alignment="center" valignment="top" width="0">
20733 <column alignment="center" valignment="top" width="0">
20734 <column alignment="center" valignment="top" width="0">
20736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20739 \begin_layout Plain Layout
20745 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20748 \begin_layout Plain Layout
20754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20757 \begin_layout Plain Layout
20763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20766 \begin_layout Plain Layout
20785 \begin_layout Plain Layout
20786 \begin_inset Float table
20791 \begin_layout Plain Layout
20792 \begin_inset Caption
20794 \begin_layout Plain Layout
20803 \begin_layout Plain Layout
20805 \begin_inset Tabular
20806 <lyxtabular version="3" rows="1" columns="5">
20807 <features tabularvalignment="middle">
20808 <column alignment="center" valignment="top" width="0">
20809 <column alignment="center" valignment="top" width="0">
20810 <column alignment="center" valignment="top" width="0">
20811 <column alignment="center" valignment="top" width="0">
20812 <column alignment="center" valignment="top" width="0">
20814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20817 \begin_layout Plain Layout
20823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20826 \begin_layout Plain Layout
20832 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20835 \begin_layout Plain Layout
20841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20844 \begin_layout Plain Layout
20850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20853 \begin_layout Plain Layout
20877 \begin_layout Section
20879 \begin_inset Index idx
20882 \begin_layout Plain Layout
20883 ふろーと@フロート ! よこならび@横並び
20891 \begin_layout Standard
20893 \begin_inset CommandInset ref
20895 reference "fig:左側のフロート"
20900 \begin_inset CommandInset ref
20902 reference "fig:右側のフロート"
20906 のようにフロートを横並びに配置するには、
20910 フロートのみを使用し、その中に二つのminipageボックスを挿入します
20914 \begin_layout Plain Layout
20916 \begin_inset CommandInset ref
20918 reference "sec:ミニページ"
20928 \begin_inset space \thinspace{}
20932 \begin_inset space \thinspace{}
20935 列幅%とし、各minipageのボックス配置を
20939 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
20943 がここではminipageボックスの幅によって計算されることです。
20946 \begin_layout Standard
20947 \begin_inset Float figure
20952 \begin_layout Plain Layout
20953 \begin_inset Box Frameless
20963 height_special "totalheight"
20966 \begin_layout Plain Layout
20968 \begin_inset Graphics
20969 filename ../clipart/mobius.eps
20972 scaleBeforeRotation
20979 \begin_layout Plain Layout
20980 \begin_inset Caption
20982 \begin_layout Plain Layout
20983 \begin_inset CommandInset label
21000 \begin_inset space \hfill{}
21004 \begin_inset Box Frameless
21014 height_special "totalheight"
21017 \begin_layout Plain Layout
21019 \begin_inset Graphics
21020 filename ../clipart/platypus.eps
21023 scaleBeforeRotation
21030 \begin_layout Plain Layout
21031 \begin_inset Caption
21033 \begin_layout Plain Layout
21034 \begin_inset CommandInset label
21053 \begin_layout Plain Layout
21062 \begin_layout Section
21064 \begin_inset Index idx
21067 \begin_layout Plain Layout
21068 きゃぷしょん@キャプション ! しょしきせってい@書式設定
21074 \begin_inset Index idx
21077 \begin_layout Plain Layout
21078 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
21084 \begin_inset CommandInset label
21086 name "sec:キャプションの書式設定"
21093 \begin_layout Standard
21102 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
21106 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
21110 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
21111 。このキャプション書式は、すべての文書書式に適しているわけではありません。
21114 \begin_layout Standard
21115 既定のキャプション書式を変更するには、文書プリアンブルに
21118 \begin_layout Standard
21123 usepackage[format definition]{caption}
21126 \begin_layout Standard
21127 という行を加えて、LaTeXパッケージ
21132 \begin_inset Index idx
21135 \begin_layout Plain Layout
21136 LaTeXぱっけーじ@LaTeXパッケージ ! caption
21141 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
21144 \begin_layout Standard
21149 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21152 \begin_layout Standard
21153 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
21157 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
21160 \begin_layout Standard
21165 captionsetup[フロート型]{書式定義}
21168 \begin_layout Standard
21169 というコマンドを使用して、個別の書式を指定してください。たとえば、図
21170 \begin_inset CommandInset ref
21172 reference "fig:図キャプション"
21177 \begin_inset CommandInset ref
21179 reference "tab:表キャプション"
21183 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
21186 \begin_layout Standard
21191 usepackage[tableposition=top]{caption}
21194 \begin_inset Newline newline
21201 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21202 \begin_inset Newline newline
21206 \begin_inset Phantom HPhantom
21209 \begin_layout Plain Layout
21212 captionsetup[figure]{
21218 \begin_inset Newline newline
21223 captionsetup[table]{labelfont={bf,sf}}
21226 \begin_layout Standard
21227 \begin_inset Note Greyedout
21230 \begin_layout Plain Layout
21244 \begin_inset Index idx
21247 \begin_layout Plain Layout
21248 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21253 が使われているときには、無効になります。この場合には、文書クラスオプション
21255 captions=tableheading
21265 \begin_layout Standard
21270 パッケージについての詳細は、その取扱説明書
21271 \begin_inset CommandInset citation
21280 \begin_layout Standard
21281 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
21284 \begin_layout Standard
21296 \begin_layout Standard
21310 \begin_layout Standard
21311 \begin_inset VSpace bigskip
21319 \begin_inset Index idx
21322 \begin_layout Plain Layout
21323 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21330 article (KOMA-script)
21338 letter (KOMA-script)
21342 report (KOMA-script)
21356 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
21359 \begin_layout Standard
21364 setkomafont{captionlabel}{
21369 \begin_layout Standard
21381 \begin_inset CommandInset citation
21390 \begin_layout Standard
21394 \begin_layout Plain Layout
21398 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21405 \begin_inset Note Note
21408 \begin_layout Plain Layout
21409 キャプション書式は、この例のみ変更してあります。
21417 \begin_layout Standard
21418 \begin_inset Float figure
21424 \begin_layout Plain Layout
21426 \begin_inset Graphics
21427 filename ../clipart/mobius.eps
21430 scaleBeforeRotation
21437 \begin_layout Plain Layout
21438 \begin_inset Caption
21440 \begin_layout Plain Layout
21441 \begin_inset CommandInset label
21447 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
21460 \begin_layout Standard
21464 \begin_layout Plain Layout
21468 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21477 \begin_layout Standard
21478 \begin_inset Float table
21484 \begin_layout Plain Layout
21485 \begin_inset Caption
21487 \begin_layout Plain Layout
21488 \begin_inset CommandInset label
21494 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
21502 \begin_layout Plain Layout
21504 \begin_inset Tabular
21505 <lyxtabular version="3" rows="1" columns="5">
21506 <features tabularvalignment="middle">
21507 <column alignment="center" valignment="top" width="0">
21508 <column alignment="center" valignment="top" width="0">
21509 <column alignment="center" valignment="top" width="0">
21510 <column alignment="center" valignment="top" width="0">
21511 <column alignment="center" valignment="top" width="0">
21513 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21516 \begin_layout Plain Layout
21522 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21525 \begin_layout Plain Layout
21531 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21534 \begin_layout Plain Layout
21540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21543 \begin_layout Plain Layout
21549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21552 \begin_layout Plain Layout
21571 \begin_layout Section
21573 \begin_inset Index idx
21576 \begin_layout Plain Layout
21577 きゃぷしょん@キャプション ! はいち@配置
21583 \begin_inset Index idx
21586 \begin_layout Plain Layout
21587 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
21593 \begin_inset CommandInset label
21595 name "sec:キャプションの配置"
21602 \begin_layout Standard
21606 \begin_layout Description
21607 図の場合: キャプションを図の下に置く
21610 \begin_layout Description
21611 表の場合: キャプションを表の上に置く
21614 \begin_layout Standard
21615 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
21631 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
21639 \begin_layout Standard
21645 \begin_layout Standard
21650 \begin_layout Plain Layout
21656 \begin_inset CommandInset ref
21658 reference "sec:キャプションの書式設定"
21672 \begin_inset Index idx
21675 \begin_layout Plain Layout
21676 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21683 article (KOMA-script)
21691 letter (KOMA-script)
21695 report (KOMA-script)
21698 \begin_inset space \thinspace{}
21705 パッケージにオプションを与える代わりに、文書クラスオプション
21707 captions=tableheading
21712 \begin_layout Standard
21713 \begin_inset VSpace bigskip
21716 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
21719 \begin_layout Standard
21724 usepackage[option]{sidecap}
21727 \begin_layout Standard
21728 という行を入れて、LaTeXパッケージ
21733 \begin_inset Index idx
21736 \begin_layout Plain Layout
21737 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
21742 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
21746 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
21757 \begin_layout Standard
21761 \begin_layout Plain Layout
21771 \begin_inset Note Note
21774 \begin_layout Plain Layout
21779 が導入されているときのみ表示されます。
21787 \begin_layout Standard
21788 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
21791 \begin_layout Standard
21793 \begin_inset CommandInset line
21804 \begin_layout Standard
21812 \begin_inset Newline newline
21816 \begin_inset Phantom HPhantom
21819 \begin_layout Plain Layout
21822 \begin_inset space ~
21837 \begin_inset Newline newline
21841 \begin_inset Phantom HPhantom
21844 \begin_layout Plain Layout
21847 \begin_inset space ~
21862 \begin_inset Newline newline
21866 \begin_inset Phantom HPhantom
21869 \begin_layout Plain Layout
21872 \begin_inset space ~
21882 renewenvironment{table}{
21889 \begin_layout Standard
21897 \begin_inset Newline newline
21901 \begin_inset Phantom HPhantom
21904 \begin_layout Plain Layout
21907 \begin_inset space ~
21922 \begin_inset Newline newline
21926 \begin_inset Phantom HPhantom
21929 \begin_layout Plain Layout
21932 \begin_inset space ~
21949 \begin_layout Standard
21957 \begin_inset Newline newline
21961 \begin_inset Phantom HPhantom
21964 \begin_layout Plain Layout
21967 \begin_inset space ~
21982 \begin_inset Newline newline
21986 \begin_inset Phantom HPhantom
21989 \begin_layout Plain Layout
21992 \begin_inset space ~
22007 \begin_inset Newline newline
22011 \begin_inset Phantom HPhantom
22014 \begin_layout Plain Layout
22017 \begin_inset space ~
22027 renewenvironment{figure}{
22034 \begin_layout Standard
22042 \begin_inset Newline newline
22046 \begin_inset Phantom HPhantom
22049 \begin_layout Plain Layout
22052 \begin_inset space ~
22067 \begin_inset Newline newline
22071 \begin_inset Phantom HPhantom
22074 \begin_layout Plain Layout
22077 \begin_inset space ~
22094 \begin_layout Standard
22096 \begin_inset CommandInset line
22107 \begin_layout Standard
22108 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
22111 \begin_layout Standard
22119 \begin_layout Standard
22120 というコマンドを、フロートの前にTeXコードで入れてください。本来のフロート定義に戻すには、フロートの後に、TeXコードで
22123 \begin_layout Standard
22131 \begin_layout Standard
22135 \begin_layout Standard
22136 表フロートに対しては、対応するコマンド
22139 \begin_layout Standard
22153 \begin_layout Standard
22155 \begin_inset CommandInset ref
22157 reference "fig:図横キャプション"
22162 \begin_inset CommandInset ref
22164 reference "tab:表横キャプション"
22171 \begin_layout Standard
22172 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
22173 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
22176 \begin_layout Standard
22181 sidecaptionvpos{フロート型}{配置}
22184 \begin_layout Standard
22185 というコマンドを使用します。ここで「フロート型」は
22193 であり、「配置」は、上揃えの場合はtopの
22196 \begin_layout Standard
22209 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
22212 \begin_layout Standard
22217 sidecaptionvpos{figure}{c}
22220 \begin_layout Standard
22221 というコマンドを使用します。これは、図
22222 \begin_inset CommandInset ref
22224 reference "fig:図横キャプション-2"
22231 \begin_layout Standard
22232 \begin_inset VSpace medskip
22240 \begin_inset CommandInset citation
22249 \begin_layout Standard
22250 \begin_inset Note Greyedout
22253 \begin_layout Plain Layout
22259 \begin_inset CommandInset ref
22261 reference "sub:参照位置"
22270 \begin_inset Index idx
22273 \begin_layout Plain Layout
22274 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
22279 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
22287 \begin_layout Standard
22291 \begin_layout Plain Layout
22303 \begin_layout Standard
22304 \begin_inset Float figure
22309 \begin_layout Plain Layout
22310 \begin_inset Graphics
22311 filename ../clipart/escher-lsd.eps
22313 scaleBeforeRotation
22320 \begin_layout Plain Layout
22321 \begin_inset Caption
22323 \begin_layout Plain Layout
22324 \begin_inset CommandInset label
22326 name "fig:図横キャプション"
22343 \begin_layout Standard
22347 \begin_layout Plain Layout
22359 \begin_layout Standard
22360 \begin_inset Float table
22365 \begin_layout Plain Layout
22366 \begin_inset Caption
22368 \begin_layout Plain Layout
22369 \begin_inset CommandInset label
22371 name "tab:表横キャプション"
22383 \begin_layout Plain Layout
22384 \begin_inset Tabular
22385 <lyxtabular version="3" rows="4" columns="5">
22386 <features tabularvalignment="middle">
22387 <column alignment="center" valignment="top" width="0">
22388 <column alignment="center" valignment="top" width="0">
22389 <column alignment="center" valignment="top" width="0">
22390 <column alignment="center" valignment="top" width="0">
22391 <column alignment="center" valignment="top" width="0">
22393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22396 \begin_layout Plain Layout
22402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22405 \begin_layout Plain Layout
22411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22414 \begin_layout Plain Layout
22420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22423 \begin_layout Plain Layout
22429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22432 \begin_layout Plain Layout
22440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22443 \begin_layout Plain Layout
22449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22452 \begin_layout Plain Layout
22458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22461 \begin_layout Plain Layout
22467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22470 \begin_layout Plain Layout
22476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22479 \begin_layout Plain Layout
22487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22490 \begin_layout Plain Layout
22496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22499 \begin_layout Plain Layout
22505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22508 \begin_layout Plain Layout
22514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22517 \begin_layout Plain Layout
22523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22526 \begin_layout Plain Layout
22534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22537 \begin_layout Plain Layout
22543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22546 \begin_layout Plain Layout
22552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22555 \begin_layout Plain Layout
22561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22564 \begin_layout Plain Layout
22570 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22573 \begin_layout Plain Layout
22592 \begin_layout Standard
22596 \begin_layout Plain Layout
22608 \begin_layout Standard
22612 \begin_layout Plain Layout
22616 sidecaptionvpos{figure}{c}
22622 \begin_inset Float figure
22627 \begin_layout Plain Layout
22628 \begin_inset Graphics
22629 filename ../clipart/escher-lsd.eps
22631 scaleBeforeRotation
22638 \begin_layout Plain Layout
22639 \begin_inset Caption
22641 \begin_layout Plain Layout
22642 \begin_inset CommandInset label
22644 name "fig:図横キャプション-2"
22648 これは図の横にある縦方向中央揃えのキャプションです。
22661 \begin_layout Standard
22665 \begin_layout Plain Layout
22677 \begin_layout Standard
22681 \begin_layout Plain Layout
22691 \begin_inset Note Note
22694 \begin_layout Plain Layout
22699 が導入されていないときのみ表示されます。
22707 \begin_layout Standard
22708 本節の残りの部分を出力で表示するには、LaTeXパッケージ
22715 \begin_layout Standard
22719 \begin_layout Plain Layout
22731 \begin_layout Section
22733 \begin_inset Index idx
22736 \begin_layout Plain Layout
22737 ふろーと@フロート ! ふろーといちらん@フロート一覧
22745 \begin_layout Standard
22746 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
22748 挿入\SpecialChar \menuseparator
22754 \begin_layout Standard
22755 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
22758 \begin_layout Standard
22759 本文書の終わりに、図一覧と表一覧があります。
22762 \begin_layout Chapter
22766 \begin_layout Section
22768 \begin_inset Index idx
22771 \begin_layout Plain Layout
22772 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
22780 \begin_layout Standard
22782 \begin_inset Graphics
22783 filename ../../images/note-insert.png
22785 scaleBeforeRotation
22791 挿入\SpecialChar \menuseparator
22794 メニューで挿入することができます。注釈には、以下の三つの型があります。
22797 \begin_layout Description
22798 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
22799 \begin_inset Newline newline
22803 \begin_inset Newline newline
22807 \begin_inset Graphics
22808 filename ../clipart/LyXNoteImageQt4.png
22811 scaleBeforeRotation
22816 \begin_inset Note Note
22819 \begin_layout Plain Layout
22820 これは、出力には現れない注釈ボックスに書かれた文章です。
22828 \begin_layout Description
22829 コメント この注釈も出力には現れませんが、
22831 ファイル\SpecialChar \menuseparator
22832 書き出し\SpecialChar \menuseparator
22833 LaTeX (pdflatex) / (平文)
22835 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
22836 \begin_inset Newline newline
22840 \begin_inset Newline newline
22844 \begin_inset Graphics
22845 filename ../clipart/CommentNoteImageQt4.png
22848 scaleBeforeRotation
22853 \begin_inset Note Comment
22856 \begin_layout Plain Layout
22857 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
22865 \begin_layout Description
22866 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
22867 \begin_inset Newline newline
22871 \begin_inset Newline newline
22875 \begin_inset Graphics
22876 filename ../clipart/GreyedOutNoteImageQt4.png
22879 scaleBeforeRotation
22884 \begin_inset Newline newline
22891 \begin_layout Plain Layout
22895 renewenvironment{lyxgreyedout}
22898 \begin_layout Plain Layout
22902 textcolor[gray]{0.8}
22912 \begin_inset Note Greyedout
22915 \begin_layout Plain Layout
22916 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
22920 \begin_layout Plain Layout
22921 これは、淡色表示注釈内に脚注を用いた例です。
22935 \begin_layout Plain Layout
22939 renewenvironment{lyxgreyedout}
22942 \begin_layout Plain Layout
22956 \begin_inset Note Note
22959 \begin_layout Plain Layout
22960 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
22967 \begin_inset Newline newline
22971 \begin_inset Newline newline
22974 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
22977 \begin_layout Standard
22978 \begin_inset VSpace bigskip
22982 \begin_inset Graphics
22983 filename ../../images/note-insert.png
22985 scaleBeforeRotation
22993 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
22994 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
22998 \begin_layout Standard
22999 \begin_inset VSpace bigskip
23004 You can change the text color of the greyed out notes in the menu
23006 Document\SpecialChar \menuseparator
23007 Settings\SpecialChar \menuseparator
23013 \begin_layout Section
23015 \begin_inset CommandInset label
23022 \begin_inset Index idx
23025 \begin_layout Plain Layout
23026 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
23032 \begin_inset Index idx
23035 \begin_layout Plain Layout
23044 \begin_layout Standard
23046 \begin_inset Graphics
23047 filename ../../images/footnote-insert.png
23049 scaleBeforeRotation
23055 挿入\SpecialChar \menuseparator
23058 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
23059 \begin_inset Graphics
23060 filename clipart/footnoteQt4.png
23062 scaleBeforeRotation
23066 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
23067 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
23070 \begin_layout Standard
23075 \begin_layout Plain Layout
23076 \begin_inset CommandInset label
23091 \begin_layout Plain Layout
23095 newcounter{MyRepeatFoot}
23098 \begin_layout Plain Layout
23102 setcounter{MyRepeatFoot}{
23112 \begin_layout Standard
23113 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
23114 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
23117 \begin_layout Standard
23118 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
23119 \begin_inset CommandInset ref
23121 reference "sec:フロートの参照"
23125 節に説明されているようにして、本文中でこのラベルを相互参照してください。
23126 \begin_inset Newline newline
23130 \begin_inset CommandInset ref
23132 reference "fn:これは脚注の一例"
23139 \begin_layout Standard
23140 \begin_inset VSpace defskip
23146 \begin_layout Standard
23147 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
23153 コマンドを入れてください。脚注の本文は、表の後でTeXコード
23160 \begin_inset Newline newline
23164 \begin_inset Newline newline
23178 \begin_inset Newline newline
23184 \begin_layout Standard
23185 \begin_inset Tabular
23186 <lyxtabular version="3" rows="2" columns="1">
23187 <features tabularvalignment="middle">
23188 <column alignment="center" valignment="top" width="0">
23190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23193 \begin_layout Plain Layout
23198 \begin_layout Plain Layout
23211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23214 \begin_layout Plain Layout
23219 \begin_layout Plain Layout
23242 \begin_layout Plain Layout
23255 \begin_layout Plain Layout
23265 \begin_layout Standard
23267 \begin_inset CommandInset ref
23269 reference "sub:長尺表での脚注"
23276 \begin_layout Standard
23277 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
23278 \begin_inset CommandInset ref
23280 reference "sec:ミニページ"
23284 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
23299 \begin_layout Standard
23300 \begin_inset Box Frameless
23310 height_special "totalheight"
23313 \begin_layout Plain Layout
23318 \begin_layout Plain Layout
23327 \begin_layout Plain Layout
23332 \begin_layout Plain Layout
23349 \begin_layout Standard
23353 \begin_layout Plain Layout
23366 \begin_layout Plain Layout
23374 \begin_inset VSpace defskip
23380 \begin_layout Standard
23381 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
23388 \begin_inset Newline newline
23391 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
23392 \begin_inset CommandInset ref
23394 reference "fn:これは脚注の一例"
23401 \begin_layout Standard
23406 newcounter{MyRepeatFoot}
23407 \begin_inset Newline newline
23412 setcounter{MyRepeatFoot}{
23417 \begin_layout Standard
23418 というコマンドを挿入しています。そして脚注マークは、
23421 \begin_layout Standard
23431 \begin_layout Standard
23435 \begin_layout Standard
23440 \begin_layout Plain Layout
23454 \begin_layout Standard
23455 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
23458 \begin_layout Standard
23468 \begin_layout Standard
23472 \begin_layout Standard
23477 \begin_layout Plain Layout
23491 \begin_layout Subsection
23493 \begin_inset CommandInset label
23500 \begin_inset Index idx
23503 \begin_layout Plain Layout
23512 \begin_layout Standard
23513 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
23516 \begin_layout Standard
23521 @addtoreset{footnote}{section}
23524 \begin_layout Standard
23528 \begin_layout Standard
23529 \begin_inset VSpace bigskip
23532 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
23535 \begin_layout Standard
23547 \begin_layout Standard
23551 \begin_layout Plain Layout
23568 \begin_layout Plain Layout
23569 これは、ローマ数字を使った脚注の例です。
23577 \begin_layout Standard
23578 付番様式を大文字ローマ数字に変更するには、上記コマンドの
23590 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
23602 を使用してください。記号を使って付「番」するには、
23611 \begin_layout Standard
23612 \begin_inset Note Greyedout
23615 \begin_layout Plain Layout
23620 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
23626 \begin_inset Newline newline
23630 \begin_inset Note Greyedout
23633 \begin_layout Plain Layout
23638 記号を使うと9個の脚注しか番号を振ることができません。
23646 \begin_layout Standard
23647 付番様式を変更した後、既定様式に戻すには、上記コマンドの
23663 \begin_layout Plain Layout
23679 \begin_layout Standard
23680 \begin_inset VSpace bigskip
23686 \begin_layout Standard
23687 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
23690 \begin_layout Standard
23695 numberwithin{footnote}{chapter}
23698 \begin_layout Standard
23705 コマンドを使用できるようにするためには、文書設定の
23712 \begin_inset space ~
23720 \begin_layout Standard
23724 \begin_layout Plain Layout
23728 numberwithin{footnote}{chapter}
23739 \begin_layout Plain Layout
23744 「章番号.脚注番号」スキームで番号を振られた脚注です。
23755 \begin_layout Plain Layout
23771 \begin_layout Standard
23772 \begin_inset Note Greyedout
23775 \begin_layout Plain Layout
23782 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
23790 \begin_layout Standard
23793 Roman{footnote}」スキームを得るには、
23799 の代わりに以下のコマンドを使用してください。
23802 \begin_layout Standard
23816 \begin_layout Subsection
23818 \begin_inset Index idx
23821 \begin_layout Plain Layout
23830 \begin_layout Standard
23831 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
23833 \begin_inset space \thinspace{}
23839 \begin_layout Standard
23849 \begin_inset Newline newline
23863 \begin_layout Standard
23864 \begin_inset VSpace bigskip
23867 二段組文書では、脚注は各段底部に表示されます(図
23868 \begin_inset CommandInset ref
23870 reference "fig:標準的脚注配置"
23875 \begin_inset CommandInset ref
23877 reference "fig:ftnright脚注配置"
23881 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
23884 \begin_layout Standard
23889 usepackage{ftnright}
23892 \begin_layout Standard
23893 というコマンドを書いて、LaTeXパッケージ
23898 \begin_inset Index idx
23901 \begin_layout Plain Layout
23902 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
23908 \begin_inset Float figure
23914 \begin_layout Plain Layout
23918 \begin_layout Plain Layout
23928 \begin_inset Graphics
23929 filename ../clipart/without_fntright.pdf
23931 scaleBeforeRotation
23939 \begin_layout Plain Layout
23949 \begin_layout Plain Layout
23950 \begin_inset Caption
23952 \begin_layout Plain Layout
23953 \begin_inset CommandInset label
23972 \begin_layout Standard
23973 \begin_inset Float figure
23979 \begin_layout Plain Layout
23983 \begin_layout Plain Layout
23993 \begin_inset Graphics
23994 filename ../clipart/with_fntright.pdf
23996 scaleBeforeRotation
24004 \begin_layout Plain Layout
24014 \begin_layout Plain Layout
24015 \begin_inset Caption
24017 \begin_layout Plain Layout
24018 \begin_inset CommandInset label
24020 name "fig:ftnright脚注配置"
24041 \begin_layout Standard
24042 \begin_inset VSpace bigskip
24046 \begin_inset CommandInset ref
24052 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
24053 \begin_inset Index idx
24056 \begin_layout Plain Layout
24062 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
24064 文書\SpecialChar \menuseparator
24065 設定\SpecialChar \menuseparator
24072 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
24075 \begin_layout Standard
24083 \begin_layout Standard
24087 \begin_layout Standard
24088 \begin_inset Float figure
24093 \begin_layout Plain Layout
24098 \begin_layout Plain Layout
24108 \begin_inset Graphics
24109 filename ../clipart/endnotes.pdf
24110 scaleBeforeRotation
24118 \begin_layout Plain Layout
24128 \begin_layout Plain Layout
24129 \begin_inset Caption
24131 \begin_layout Plain Layout
24132 \begin_inset CommandInset label
24138 後注 – 注を節ないし章末に別段落として印字します。
24151 \begin_layout Standard
24152 \begin_inset VSpace medskip
24155 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
24158 \begin_layout Standard
24165 notesname}{Anmerkungen}
24168 \begin_layout Standard
24169 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
24172 \begin_layout Standard
24173 \begin_inset VSpace medskip
24177 \begin_inset CommandInset ref
24179 reference "sub:脚注の付番"
24183 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
24195 を用いてください。後注番号をリセットするには、第
24196 \begin_inset CommandInset ref
24198 reference "sub:脚注の付番"
24219 \begin_layout Standard
24221 \begin_inset CommandInset ref
24242 \begin_layout Standard
24243 \begin_inset VSpace bigskip
24246 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
24251 \begin_inset Index idx
24254 \begin_layout Plain Layout
24255 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
24261 \begin_inset CommandInset citation
24270 \begin_layout Standard
24271 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
24272 \begin_inset CommandInset citation
24274 key "latexcompanion,latexguide,latexbook"
24287 \begin_inset Index idx
24290 \begin_layout Plain Layout
24291 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
24298 document class, you can adjust all footnote settings using class-specific
24302 \begin_inset CommandInset citation
24311 \begin_layout Section
24313 \begin_inset Index idx
24316 \begin_layout Plain Layout
24317 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
24325 \begin_layout Standard
24326 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
24328 挿入\SpecialChar \menuseparator
24332 \begin_inset Graphics
24333 filename ../../images/marginalnote-insert.png
24335 scaleBeforeRotation
24339 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
24342 \begin_layout Standard
24344 \begin_inset Marginal
24347 \begin_layout Plain Layout
24356 \begin_layout Standard
24357 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
24358 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
24361 \begin_layout Standard
24362 \begin_inset VSpace bigskip
24365 傍注を内側余白に置くには、傍注の前にTeXコードで
24368 \begin_layout Standard
24376 \begin_layout Standard
24377 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
24381 \begin_layout Plain Layout
24391 \begin_inset Marginal
24394 \begin_layout Plain Layout
24403 \begin_inset Newline newline
24409 \begin_inset Note Greyedout
24412 \begin_layout Plain Layout
24413 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
24421 \begin_layout Standard
24425 \begin_layout Standard
24433 \begin_layout Standard
24438 \begin_layout Plain Layout
24448 \begin_inset Note Greyedout
24451 \begin_layout Plain Layout
24458 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
24466 \begin_layout Standard
24467 \begin_inset VSpace bigskip
24471 \begin_inset Marginal
24474 \begin_layout Plain Layout
24475 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
24481 \begin_inset CommandInset ref
24483 reference "sub:複数行"
24487 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
24488 \begin_inset space \thinspace{}
24492 \begin_inset Marginal
24495 \begin_layout Plain Layout
24496 \begin_inset space \hspace*{}
24500 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
24508 \begin_layout Standard
24509 \begin_inset VSpace bigskip
24515 \begin_layout Standard
24516 \begin_inset Note Greyedout
24519 \begin_layout Plain Layout
24524 通常、傍注は表やフロート、脚注の中では使用することができません。
24532 \begin_layout Standard
24533 \begin_inset VSpace bigskip
24539 \begin_layout Standard
24543 \begin_layout Plain Layout
24553 \begin_inset Note Note
24556 \begin_layout Plain Layout
24561 が導入されているときのみ表示されます。
24569 \begin_layout Standard
24575 \begin_inset Index idx
24578 \begin_layout Plain Layout
24579 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
24584 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
24588 パッケージが提供するコマンドを使うようになります。
24591 \begin_layout Standard
24596 usepackage{marginnote}
24597 \begin_inset Newline newline
24609 \begin_layout Standard
24614 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
24618 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
24619 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
24622 \begin_layout Standard
24628 \begin_layout Standard
24629 という形で書くことで設定することができます。ここで「オフセット」には、表
24630 \begin_inset CommandInset ref
24636 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
24641 \begin_inset space \thinspace{}
24645 \begin_inset Marginal
24648 \begin_layout Plain Layout
24650 \begin_inset space \thinspace{}
24662 \begin_layout Plain Layout
24672 \begin_layout Standard
24673 \begin_inset VSpace medskip
24680 を使うと、傍注の揃えを変更することもできます。たとえば、
24683 \begin_layout Standard
24690 raggedleftmarginnote}{
24693 \begin_inset Newline newline
24700 raggedrightmarginnote}{
24705 \begin_layout Standard
24706 というコマンドを使うと、中央揃えになります。
24710 raggedleftmarginnote
24712 とは、左側に表示されている傍注のことを指します
24716 \begin_layout Plain Layout
24722 raggedleftmarginnote}{
24727 \begin_layout Plain Layout
24733 raggedrightmarginnote}{
24741 \begin_inset Marginal
24744 \begin_layout Plain Layout
24745 この傍注の文章は中央揃えになっています。
24753 \begin_layout Standard
24760 raggedleftmarginnote}{
24763 \begin_inset Newline newline
24770 raggedrightmarginnote}{
24778 \begin_layout Plain Layout
24784 raggedleftmarginnote}{
24789 \begin_layout Plain Layout
24795 raggedrightmarginnote}{
24805 \begin_layout Standard
24809 \begin_layout Standard
24810 \begin_inset VSpace medskip
24818 \begin_inset CommandInset citation
24827 \begin_layout Standard
24828 \begin_inset VSpace bigskip
24831 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
24839 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
24842 \begin_layout Standard
24852 \begin_inset Newline newline
24862 \begin_inset Newline newline
24866 \begin_inset Phantom HPhantom
24869 \begin_layout Plain Layout
24872 \begin_inset space ~
24889 \begin_inset Newline newline
24893 \begin_inset Phantom HPhantom
24896 \begin_layout Plain Layout
24899 \begin_inset space ~
24916 \begin_layout Standard
24920 \begin_layout Plain Layout
24931 \begin_layout Plain Layout
24942 \begin_layout Plain Layout
24953 \begin_layout Plain Layout
24967 \begin_inset Marginal
24970 \begin_layout Plain Layout
24971 これは、定義したヘッダをつけた傍注です。
24980 \begin_layout Plain Layout
24991 \begin_layout Plain Layout
25005 \begin_inset Note Note
25008 \begin_layout Plain Layout
25009 傍注書式は、この例の分だけ変更してあります。
25017 \begin_layout Standard
25021 \begin_layout Plain Layout
25031 \begin_inset Note Note
25034 \begin_layout Plain Layout
25039 が導入されていないときのみ表示されます。
25047 \begin_layout Standard
25048 本節の以下の部分を出力に表示するには、LaTeXパッケージ
25055 \begin_layout Standard
25059 \begin_layout Plain Layout
25071 \begin_layout Chapter
25075 \begin_layout Section
25077 \begin_inset Index idx
25080 \begin_layout Plain Layout
25089 \begin_layout Standard
25090 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
25091 \begin_inset CommandInset ref
25093 reference "sec:ミニページ"
25098 \begin_inset CommandInset ref
25104 節参照)、単語がハイフネートされるのを予防したり(第
25105 \begin_inset CommandInset ref
25107 reference "sec:ハイフネーションの回避"
25112 \begin_inset CommandInset ref
25114 reference "sub:垂直揃え"
25118 節参照)、あるいは文章の背景色を設定したり(第
25119 \begin_inset CommandInset ref
25121 reference "sec:色付きボックス"
25128 \begin_layout Standard
25131 挿入\SpecialChar \menuseparator
25135 \begin_inset Graphics
25136 filename ../../images/box-insert.png
25138 scaleBeforeRotation
25142 を使って挿入することができます。すると、
25143 \begin_inset Graphics
25144 filename ../clipart/BoxInsetDefaultQt4.png
25146 scaleBeforeRotation
25154 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
25158 メニューを選択すると現れるボックスダイアログでは、
25174 型は、新規ボックスの既定値となっており、第
25175 \begin_inset CommandInset ref
25177 reference "sec:ミニページ"
25186 \begin_inset CommandInset ref
25188 reference "sec:Parboxes"
25197 \begin_inset CommandInset ref
25199 reference "sec:ハイフネーションの回避"
25206 \begin_layout Standard
25207 ボックスは付番されないので、フロートや脚注のように参照することはできません。
25210 \begin_layout Standard
25211 \begin_inset Note Greyedout
25214 \begin_layout Plain Layout
25223 環境の単独要素とすべきではありません。
25231 \begin_layout Standard
25232 \begin_inset Note Greyedout
25235 \begin_layout Plain Layout
25236 【註】理由は不明ですが、枠付きボックスを使用している場合には、
25249 \begin_inset CommandInset ref
25251 reference "sec:ハイフネーションの回避"
25263 \begin_layout Section
25265 \begin_inset CommandInset label
25267 name "sec:ボックスダイアログ"
25272 \begin_inset Index idx
25275 \begin_layout Plain Layout
25276 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
25284 \begin_layout Subsection
25286 \begin_inset Index idx
25289 \begin_layout Plain Layout
25290 ぼっくす@ボックス ! すんぽう@寸法
25298 \begin_layout Standard
25307 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
25308 \begin_inset CommandInset ref
25318 フィールドには、加えて以下の寸法を使用することができます。
25321 \begin_layout Description
25322 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
25323 \begin_inset Newline newline
25327 \begin_inset Newline newline
25331 \begin_inset Newline newline
25335 \begin_inset Box Boxed
25345 height_special "depth"
25348 \begin_layout Plain Layout
25356 \begin_inset Newline newline
25360 \begin_inset Newline newline
25366 \begin_layout Description
25367 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
25368 \begin_inset Box Boxed
25378 height_special "height"
25381 \begin_layout Plain Layout
25391 \begin_layout Description
25393 \begin_inset Box Boxed
25403 height_special "totalheight"
25406 \begin_layout Plain Layout
25416 \begin_layout Description
25417 幅 これはボックスの幅を高さに設定します。
25418 \begin_inset Box Boxed
25428 height_special "width"
25431 \begin_layout Plain Layout
25441 \begin_layout Subsection
25443 \begin_inset Index idx
25446 \begin_layout Plain Layout
25447 ぼっくす@ボックス ! もじそろえ@文字揃え
25455 \begin_layout Standard
25460 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
25463 \begin_layout Description
25465 \begin_inset Box Boxed
25475 height_special "totalheight"
25478 \begin_layout Plain Layout
25488 \begin_layout Description
25490 \begin_inset Box Boxed
25500 height_special "totalheight"
25503 \begin_layout Plain Layout
25513 \begin_layout Description
25515 \begin_inset Box Boxed
25525 height_special "totalheight"
25528 \begin_layout Plain Layout
25538 \begin_layout Standard
25539 \begin_inset Note Greyedout
25542 \begin_layout Plain Layout
25547 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
25555 \begin_layout Standard
25556 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
25559 \begin_layout Standard
25560 \begin_inset VSpace bigskip
25567 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
25570 \begin_layout Description
25572 \begin_inset Box Boxed
25582 height_special "totalheight"
25585 \begin_layout Plain Layout
25595 \begin_layout Description
25597 \begin_inset Box Boxed
25607 height_special "totalheight"
25610 \begin_layout Plain Layout
25620 \begin_layout Description
25622 \begin_inset Box Boxed
25632 height_special "totalheight"
25635 \begin_layout Plain Layout
25645 \begin_layout Description
25646 広げる これは例示のための本文行です。
25647 \begin_inset Box Boxed
25657 height_special "totalheight"
25660 \begin_layout Plain Layout
25665 \begin_layout Plain Layout
25670 \begin_layout Plain Layout
25680 \begin_layout Standard
25681 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
25684 \begin_layout Standard
25685 \begin_inset VSpace bigskip
25692 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
25695 \begin_layout Standard
25697 \begin_inset Box Boxed
25707 height_special "totalheight"
25710 \begin_layout Plain Layout
25715 \begin_layout Plain Layout
25720 \begin_layout Plain Layout
25730 \begin_layout Standard
25735 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
25738 \begin_layout Standard
25740 \begin_inset Box Boxed
25750 height_special "totalheight"
25753 \begin_layout Plain Layout
25754 このボックスの文章は水平方向に広げてあります。
25762 \begin_layout Subsection
25764 \begin_inset CommandInset label
25771 \begin_inset Index idx
25774 \begin_layout Plain Layout
25775 ぼっくす@ボックス ! そうしょく@装飾
25783 \begin_layout Standard
25788 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
25791 \begin_layout Description
25795 \begin_layout Description
25796 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
25803 \begin_inset Box Boxed
25813 height_special "totalheight"
25816 \begin_layout Plain Layout
25826 \begin_layout Description
25827 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
25828 \begin_inset space \thinspace{}
25832 \begin_inset Box ovalbox
25842 height_special "totalheight"
25845 \begin_layout Plain Layout
25855 \begin_layout Description
25856 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
25857 \begin_inset space \thinspace{}
25861 \begin_inset Box Ovalbox
25871 height_special "totalheight"
25874 \begin_layout Plain Layout
25884 \begin_layout Description
25885 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
25892 \begin_inset space \thinspace{}
25896 \begin_inset Box Shadowbox
25906 height_special "totalheight"
25909 \begin_layout Plain Layout
25919 \begin_layout Description
25920 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
25924 \begin_layout Plain Layout
25926 \begin_inset CommandInset ref
25928 reference "sec:色付きボックス"
25937 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
25938 \begin_inset Box Shaded
25948 height_special "totalheight"
25951 \begin_layout Plain Layout
25960 \begin_layout Description
25961 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
25962 \begin_inset space \thinspace{}
25972 \begin_inset space \thinspace{}
25982 \begin_inset space \thinspace{}
25992 \begin_inset space \thinspace{}
25996 \begin_inset space \thinspace{}
26000 \begin_inset space \thinspace{}
26004 \begin_inset Box Doublebox
26014 height_special "totalheight"
26017 \begin_layout Plain Layout
26027 \begin_layout Standard
26028 \begin_inset VSpace bigskip
26031 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
26036 \begin_inset Index idx
26039 \begin_layout Plain Layout
26040 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
26048 \begin_layout Standard
26049 \begin_inset VSpace bigskip
26056 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
26076 \begin_inset Box Framed
26086 height_special "totalheight"
26089 \begin_layout Plain Layout
26098 \begin_layout Section
26100 \begin_inset Index idx
26103 \begin_layout Plain Layout
26104 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
26112 \begin_layout Standard
26120 \begin_inset space \thinspace{}
26123 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
26124 \begin_inset space \thinspace{}
26130 \begin_layout Standard
26140 \begin_layout Standard
26144 \begin_layout Plain Layout
26156 \begin_inset Box Boxed
26166 height_special "totalheight"
26169 \begin_layout Plain Layout
26178 \begin_inset space \thinspace{}
26182 \begin_inset space \thinspace{}
26186 \begin_inset space \thinspace{}
26198 \begin_layout Plain Layout
26212 \begin_layout Standard
26213 \begin_inset VSpace bigskip
26216 枠とボックスの内容との空白は、すべての枠様式について3
26217 \begin_inset space \thinspace{}
26220 ptが既定値になっています。これは、長さ
26226 を別の値に設定することによって変更することができます。たとえば
26229 \begin_layout Standard
26239 \begin_layout Standard
26241 \begin_inset space \thinspace{}
26244 ptにし、以下のボックスのようになります。
26247 \begin_layout Standard
26251 \begin_layout Plain Layout
26263 \begin_inset Box Boxed
26273 height_special "totalheight"
26276 \begin_layout Plain Layout
26285 \begin_inset space \thinspace{}
26289 \begin_inset space \thinspace{}
26293 \begin_inset space \thinspace{}
26305 \begin_layout Plain Layout
26319 \begin_layout Standard
26320 \begin_inset VSpace bigskip
26323 楕円形ボックスの丸い角の直径は、コマンド
26332 \begin_layout Standard
26340 \begin_layout Standard
26342 \begin_inset space \thinspace{}
26348 \begin_layout Standard
26356 \begin_layout Standard
26360 \begin_inset space \thinspace{}
26364 \begin_inset space \thinspace{}
26378 \begin_layout Standard
26382 \begin_layout Plain Layout
26392 \begin_inset Box Ovalbox
26402 height_special "totalheight"
26405 \begin_layout Plain Layout
26414 \begin_inset space \thinspace{}
26418 \begin_inset space \thinspace{}
26422 \begin_inset space \thinspace{}
26434 \begin_layout Plain Layout
26446 \begin_layout Standard
26447 \begin_inset VSpace bigskip
26456 を変更することで調整できます。以下のボックスでは
26459 \begin_layout Standard
26469 \begin_layout Standard
26471 \begin_inset space \thinspace{}
26477 \begin_layout Standard
26481 \begin_layout Plain Layout
26493 \begin_inset Box Shadowbox
26503 height_special "totalheight"
26506 \begin_layout Plain Layout
26515 \begin_inset space \thinspace{}
26519 \begin_inset space \thinspace{}
26523 \begin_inset space \thinspace{}
26535 \begin_layout Plain Layout
26549 \begin_layout Standard
26550 \begin_inset VSpace bigskip
26556 \begin_layout Standard
26564 \begin_inset space \thinspace{}
26567 ptです。ボックスの中身と枠の間の空白の既定値は9
26568 \begin_inset space \thinspace{}
26577 の値を変えることで変更することができます。たとえば、下記の
26584 \begin_layout Standard
26592 \begin_inset Newline newline
26602 \begin_layout Standard
26603 というTeXコードコマンドで設定してあります。
26607 \begin_layout Plain Layout
26616 \begin_layout Plain Layout
26628 \begin_inset Box Framed
26638 height_special "totalheight"
26641 \begin_layout Plain Layout
26655 \begin_layout Plain Layout
26664 \begin_layout Plain Layout
26678 \begin_layout Standard
26679 \begin_inset VSpace bigskip
26685 \begin_layout Standard
26690 ボックスでは、ボックスの内容と枠の余白の既定値は3
26691 \begin_inset space \thinspace{}
26700 の値を変更することで変えられます。既定の背景色である赤色は、
26704 definecolor{shadebox}
26706 コマンドで局所的に変更することもできますし、
26708 ツール\SpecialChar \menuseparator
26709 設定\SpecialChar \menuseparator
26710 色\SpecialChar \menuseparator
26713 メニューからグローバルに変更することもできます。
26720 \begin_inset CommandInset ref
26722 reference "sec:色付きの表"
26730 \begin_layout Plain Layout
26741 をプリアンブルに読み込む必要があります。第
26742 \begin_inset CommandInset ref
26744 reference "sec:色付きボックス"
26756 \begin_layout Standard
26757 たとえば、下記の影付き背景ボックスの外見は
26760 \begin_layout Standard
26770 \begin_inset Newline newline
26777 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26780 \begin_layout Standard
26781 というTeXコードコマンドを使って設定してあります。
26784 \begin_layout Standard
26788 \begin_layout Plain Layout
26797 \begin_layout Plain Layout
26801 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26807 \begin_inset Box Shaded
26817 height_special "totalheight"
26820 \begin_layout Plain Layout
26836 \begin_layout Plain Layout
26845 \begin_layout Plain Layout
26849 definecolor{shadecolor}{rgb}{1,0,0}
26857 \begin_layout Standard
26858 \begin_inset VSpace bigskip
26861 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
26864 \begin_layout Section
26866 \begin_inset CommandInset label
26873 \begin_inset Index idx
26876 \begin_layout Plain Layout
26877 ぼっくす@ボックス ! みにぺーじ@ミニページ
26885 \begin_layout Standard
26886 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
26889 \begin_layout Standard
26890 ミニページは、複数の言語を含む文書を執筆する際に便利です。
26893 \begin_layout Standard
26894 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
26898 \SpecialChar \menuseparator
26903 \SpecialChar \menuseparator
26908 メニューで挿入した水平フィルで隔てられています。
26909 \begin_inset Newpage newpage
26915 \begin_layout Standard
26916 \begin_inset Box Frameless
26926 height_special "totalheight"
26929 \begin_layout Plain Layout
26930 Dies ist ein deutscher Text.
26931 Dies ist ein deutscher Text.
26932 Dies ist ein deutscher Text.
26933 Dies ist ein deutscher Text.
26934 Dies ist ein deutscher Text.
26935 Dies ist ein deutscher Text.
26936 Dies ist ein deutscher Text.
26937 Dies ist ein deutscher Text.
26938 Dies ist ein deutscher Text.
26939 Dies ist ein deutscher Text.
26940 Dies ist ein deutscher Text.
26941 Dies ist ein deutscher Text.
26942 Dies ist ein deutscher Text
26946 \begin_layout Plain Layout
26947 Dies ist eine deutsche Fußnote.
26953 Dies ist ein deutscher Text.
26954 Dies ist ein deutscher Text.
26960 \begin_inset space \hfill{}
26964 \begin_inset Box Frameless
26974 height_special "totalheight"
26977 \begin_layout Plain Layout
26978 This is an English Text.
26979 This is an English Text.
26980 This is an English Text.
26981 This is an English Text.
26982 This is an English Text.
26983 This is an English Text.
26984 This is an English Text.
26985 This is an English Text.
26986 This is an English Text.
26987 This is an English Text.
26988 This is an English Text.
26989 This is an English Text.
26990 This is an English Text.
26991 This is an English Text.
26992 This is an English Text.
26993 This is an English Text.
26997 \begin_layout Plain Layout
26998 This is an English footnote.
27003 This is an English Text.
27012 \begin_layout Standard
27013 \begin_inset VSpace bigskip
27016 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
27017 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
27020 \begin_layout Standard
27022 \begin_inset Tabular
27023 <lyxtabular version="3" rows="3" columns="4">
27024 <features tabularvalignment="middle">
27025 <column alignment="center" valignment="top" width="0pt">
27026 <column alignment="center" valignment="top" width="0pt">
27027 <column alignment="center" valignment="top" width="0pt">
27028 <column alignment="center" valignment="top" width="0pt">
27030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27033 \begin_layout Plain Layout
27039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27042 \begin_layout Plain Layout
27048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27051 \begin_layout Plain Layout
27056 \begin_layout Plain Layout
27067 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27070 \begin_layout Plain Layout
27078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27081 \begin_layout Plain Layout
27087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27090 \begin_layout Plain Layout
27096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27099 \begin_layout Plain Layout
27105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27108 \begin_layout Plain Layout
27116 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27119 \begin_layout Plain Layout
27125 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27128 \begin_layout Plain Layout
27134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27137 \begin_layout Plain Layout
27143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27146 \begin_layout Plain Layout
27160 \begin_layout Standard
27162 \begin_inset Box Frameless
27172 height_special "totalheight"
27175 \begin_layout Plain Layout
27177 \begin_inset Tabular
27178 <lyxtabular version="3" rows="3" columns="4">
27179 <features tabularvalignment="middle">
27180 <column alignment="center" valignment="top" width="0pt">
27181 <column alignment="center" valignment="top" width="0pt">
27182 <column alignment="center" valignment="top" width="0pt">
27183 <column alignment="center" valignment="top" width="0pt">
27185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27188 \begin_layout Plain Layout
27194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27197 \begin_layout Plain Layout
27203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27206 \begin_layout Plain Layout
27211 \begin_layout Plain Layout
27222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27225 \begin_layout Plain Layout
27233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27236 \begin_layout Plain Layout
27242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27245 \begin_layout Plain Layout
27251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27254 \begin_layout Plain Layout
27260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27263 \begin_layout Plain Layout
27271 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27274 \begin_layout Plain Layout
27280 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27283 \begin_layout Plain Layout
27289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27292 \begin_layout Plain Layout
27298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27301 \begin_layout Plain Layout
27320 \begin_layout Standard
27321 \begin_inset VSpace bigskip
27324 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
27328 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
27331 \begin_layout Standard
27332 ミニページは、文章部に背景色を与えるのに使用することもできます。第
27333 \begin_inset CommandInset ref
27335 reference "sub:段落の着色"
27342 \begin_layout Standard
27343 \begin_inset Note Greyedout
27346 \begin_layout Plain Layout
27351 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
27359 \begin_layout Section
27361 \begin_inset CommandInset label
27363 name "sec:Parboxes"
27368 \begin_inset Index idx
27371 \begin_layout Plain Layout
27372 ぼっくす@ボックス ! Parboxes
27380 \begin_layout Standard
27381 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
27384 \begin_layout Standard
27386 \begin_inset Box Frameless
27396 height_special "totalheight"
27399 \begin_layout Plain Layout
27400 これはparbox内の文章です。これはparbox内の文章です。
27403 \begin_layout Plain Layout
27408 \begin_layout Plain Layout
27409 これはparbox内の脚注であり、したがって表示はされません。
27422 \begin_layout Section
27424 \begin_inset Index idx
27427 \begin_layout Plain Layout
27428 ぼっくす@ボックス ! もじよう@文字用
27436 \begin_layout Subsection
27438 \begin_inset CommandInset label
27440 name "sec:ハイフネーションの回避"
27445 \begin_inset Index idx
27448 \begin_layout Plain Layout
27449 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
27457 \begin_layout Standard
27458 単語や文章がハイフネートされるのを防ぐには、
27463 \begin_inset Newline newline
27469 \begin_layout Standard
27470 This line is an example to show how you can prevent the hyphenation of
27471 \begin_inset Quotes eld
27475 \begin_inset Quotes erd
27481 \begin_layout Standard
27482 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
27493 \begin_layout Standard
27497 \begin_layout Standard
27498 This line is an example to show how you can prevent the hyphenation of
27499 \begin_inset Box Frameless
27509 height_special "totalheight"
27512 \begin_layout Plain Layout
27513 \begin_inset Quotes eld
27517 \begin_inset Quotes erd
27528 \begin_layout Standard
27529 別の方法としては、以下のように、単語の前に直接TeXコードで「
27538 \begin_layout Standard
27539 This line is an example to show how you can prevent the hyphenation of
27540 \begin_inset Quotes eld
27547 \begin_layout Plain Layout
27557 \begin_inset Quotes erd
27563 \begin_layout Standard
27564 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
27568 \SpecialChar \menuseparator
27573 \SpecialChar \menuseparator
27581 arg "newline-insert newline"
27584 )から改行を単語の前に入れてください。
27587 \begin_layout Standard
27588 This line is an example to show how you can prevent the hyphenation of
27589 \begin_inset Newline newline
27593 \begin_inset Box Frameless
27603 height_special "totalheight"
27606 \begin_layout Plain Layout
27607 \begin_inset Quotes eld
27611 \begin_inset Quotes erd
27622 \begin_layout Subsection
27624 \begin_inset CommandInset label
27631 \begin_inset Index idx
27634 \begin_layout Plain Layout
27635 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
27641 \begin_inset Index idx
27644 \begin_layout Plain Layout
27645 ぼっくす@ボックス ! Raiseboxes
27653 \begin_layout Standard
27660 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
27669 \begin_layout Standard
27674 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
27677 \begin_layout Standard
27678 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
27681 \begin_layout Standard
27682 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
27685 \begin_layout Standard
27695 \begin_layout Standard
27696 というコマンドを挿入してください。単語の後には、閉じ括弧「
27701 \begin_inset Newline newline
27707 \begin_layout Standard
27708 This is a text line with the word
27712 \begin_layout Plain Layout
27724 \begin_inset Quotes eld
27728 \begin_inset Quotes erd
27735 \begin_layout Plain Layout
27745 \begin_layout Standard
27746 \begin_inset VSpace bigskip
27749 行中の文字を上げ下げすると、以下のように行間が広がります。
27752 \begin_layout Standard
27753 This is a text line with the word
27757 \begin_layout Plain Layout
27769 \begin_inset Quotes eld
27773 \begin_inset Quotes erd
27780 \begin_layout Plain Layout
27788 \begin_inset Newline newline
27791 This is a text line with the word
27795 \begin_layout Plain Layout
27805 \begin_inset Quotes eld
27809 \begin_inset Quotes erd
27816 \begin_layout Plain Layout
27826 \begin_layout Standard
27827 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
27830 \begin_layout Standard
27840 \begin_layout Standard
27844 \begin_layout Standard
27845 This is a text line with the word
27849 \begin_layout Plain Layout
27861 \begin_inset Quotes eld
27865 \begin_inset Quotes erd
27872 \begin_layout Plain Layout
27880 \begin_inset Newline newline
27883 This is a text line with the word
27887 \begin_layout Plain Layout
27891 raisebox{0.5cm}[0pt]{
27897 \begin_inset Quotes eld
27901 \begin_inset Quotes erd
27908 \begin_layout Plain Layout
27918 \begin_layout Section
27920 \begin_inset CommandInset label
27927 \begin_inset Index idx
27930 \begin_layout Plain Layout
27931 ぼっくす@ボックス ! いろつき@色付き
27939 \begin_layout Subsection
27941 \begin_inset Index idx
27944 \begin_layout Plain Layout
27953 \begin_layout Standard
27954 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
27959 \begin_inset Index idx
27962 \begin_layout Plain Layout
27963 LaTeXぱっけーじ@LaTeXパッケージ ! color
27968 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
27971 \begin_layout Standard
27976 @ifundefined{textcolor}
27977 \begin_inset Newline newline
27981 \begin_inset Phantom HPhantom
27984 \begin_layout Plain Layout
27987 \begin_inset space ~
27997 usepackage{color}}{}
28000 \begin_layout Standard
28005 パッケージは、文章を着色するとLyXが自動的に読み込みます
28009 \begin_layout Plain Layout
28010 これが二度読み込まれることを回避するには、
28024 \begin_layout Standard
28025 \begin_inset VSpace medskip
28034 コマンドを使って作ります。これは、以下のような書式で使われます。
28037 \begin_layout Standard
28042 colorbox{color}{ボックスの内容}
28045 \begin_layout Standard
28046 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
28049 \begin_layout Standard
28051 \begin_inset Newline newline
28087 \begin_inset Newline newline
28091 \begin_inset CommandInset ref
28093 reference "sec:色付きの表"
28097 節に述べられているようにすれば、自前の色を定義することもできます。
28100 \begin_layout Standard
28101 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
28104 \begin_layout Standard
28112 \begin_layout Standard
28113 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
28118 \begin_inset Newline newline
28124 \begin_layout Standard
28129 \begin_layout Plain Layout
28142 \begin_layout Plain Layout
28152 \begin_layout Standard
28153 \begin_inset VSpace bigskip
28156 ボックスの枠を別の色にしたい場合には、以下の書式で
28165 \begin_layout Standard
28170 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
28173 \begin_layout Standard
28186 の拡張です。枠の太さと枠とボックスの中身との余白は、第
28187 \begin_inset CommandInset ref
28208 \begin_layout Standard
28212 \begin_layout Standard
28217 fcolorbox{cyan}{magenta}{
28220 \begin_layout Standard
28224 \begin_layout Standard
28226 \begin_inset space \thinspace{}
28230 \begin_inset Newline newline
28237 \begin_layout Plain Layout
28252 \begin_layout Plain Layout
28256 fcolorbox{cyan}{magenta}{
28261 これは着色した色付きボックス中の文章です。
28265 \begin_layout Plain Layout
28275 \begin_layout Standard
28276 \begin_inset VSpace bigskip
28279 もちろん、色付きボックスの中に色付き文字を入れることもできます
28280 \begin_inset Newline newline
28287 \begin_layout Plain Layout
28291 fcolorbox{cyan}{magenta}{
28298 これは着色した色付きボックス中の色付き文章です。
28304 \begin_layout Plain Layout
28315 \begin_layout Plain Layout
28329 \begin_layout Standard
28332 \begin_inset VSpace medskip
28338 \begin_layout Standard
28339 \begin_inset Note Greyedout
28342 \begin_layout Plain Layout
28347 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
28355 \begin_layout Subsection
28357 \begin_inset CommandInset label
28364 \begin_inset Index idx
28367 \begin_layout Plain Layout
28376 \begin_layout Standard
28377 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
28386 \begin_layout Standard
28394 \begin_layout Standard
28395 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
28402 \begin_layout Standard
28406 \begin_layout Plain Layout
28410 colorbox{lightgrey}{
28416 \begin_inset Box Frameless
28426 height_special "totalheight"
28429 \begin_layout Plain Layout
28430 これは背景色を付けた文章です。これは背景色を付けた文章です。
28433 \begin_layout Plain Layout
28434 \begin_inset VSpace defskip
28441 \begin_layout Plain Layout
28447 を付けることもできますし、図表を挿入することもできます。
28450 \begin_layout Plain Layout
28452 \begin_inset Tabular
28453 <lyxtabular version="3" rows="3" columns="3">
28454 <features tabularvalignment="middle">
28455 <column alignment="center" valignment="top" width="0">
28456 <column alignment="center" valignment="top" width="0">
28457 <column alignment="center" valignment="top" width="0">
28459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28462 \begin_layout Plain Layout
28468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28471 \begin_layout Plain Layout
28477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28480 \begin_layout Plain Layout
28488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28491 \begin_layout Plain Layout
28497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28500 \begin_layout Plain Layout
28502 \begin_inset Quotes erd
28510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28513 \begin_layout Plain Layout
28521 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28524 \begin_layout Plain Layout
28530 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28533 \begin_layout Plain Layout
28539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28542 \begin_layout Plain Layout
28562 \begin_layout Plain Layout
28572 \begin_layout Section
28576 \begin_layout Standard
28577 本節で述べられているコマンドを使用するには、文書プリアンブルで
28580 \begin_layout Standard
28585 @ifundefined{rotatebox}
28586 \begin_inset Newline newline
28590 \begin_inset Phantom HPhantom
28593 \begin_layout Plain Layout
28596 \begin_inset space ~
28606 usepackage{graphicx}}{}
28609 \begin_layout Standard
28615 \begin_inset Index idx
28618 \begin_layout Plain Layout
28619 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
28624 LaTeXパッケージを読み込む必要があります。
28627 \begin_layout Standard
28628 \begin_inset Note Greyedout
28631 \begin_layout Plain Layout
28636 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
28644 \begin_layout Standard
28645 \begin_inset Note Greyedout
28648 \begin_layout Plain Layout
28653 フロートは回転伸縮したボックスの中に入れることはできません。
28661 \begin_layout Subsection
28663 \begin_inset Index idx
28666 \begin_layout Plain Layout
28667 ぼっくす@ボックス ! かいてんした@回転した
28673 \begin_inset Index idx
28676 \begin_layout Plain Layout
28677 かいてん@回転 ! そざいの@素材の---
28683 \begin_inset Index idx
28686 \begin_layout Plain Layout
28693 \begin_inset Index idx
28696 \begin_layout Plain Layout
28697 ひょうのちょうせい@表の調整 ! かいてん@回転
28705 \begin_layout Standard
28706 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
28712 コマンドを使用すれば作成することができます。
28715 \begin_layout Standard
28720 rotatebox[回転の原点]{回転角}{ボックスの内容}
28723 \begin_layout Standard
28728 の形で指定します。位置として指定可能なのは、
28748 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
28752 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
28756 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
28759 \begin_layout Standard
28760 以下の例では、「回転した」文章の前にTeXコードで
28764 rotatebox[origin=c]{60}{
28766 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
28773 \begin_layout Standard
28778 \begin_layout Plain Layout
28782 rotatebox[origin=c]{60}{
28791 \begin_layout Plain Layout
28801 \begin_layout Standard
28802 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
28805 \begin_layout Standard
28810 \begin_layout Plain Layout
28814 rotatebox[origin=r]{-60}{
28820 \begin_inset Box Doublebox
28830 height_special "totalheight"
28833 \begin_layout Plain Layout
28843 \begin_layout Plain Layout
28854 \begin_layout Plain Layout
28858 rotatebox[origin=lb]{60}{
28864 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28871 \begin_layout Plain Layout
28881 \begin_layout Standard
28882 あるいは、以下のように図や表を入れることもできます。
28885 \begin_layout Standard
28890 \begin_layout Plain Layout
28894 rotatebox[origin=lb]{90}{
28900 \begin_inset Graphics
28901 filename ../clipart/platypus.eps
28911 \begin_layout Plain Layout
28922 \begin_layout Plain Layout
28926 rotatebox[origin=l]{-90}{
28932 \begin_inset Tabular
28933 <lyxtabular version="3" rows="2" columns="2">
28934 <features tabularvalignment="middle">
28935 <column alignment="center" valignment="top" width="0">
28936 <column alignment="center" valignment="top" width="0">
28938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28941 \begin_layout Plain Layout
28947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28950 \begin_layout Plain Layout
28958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28961 \begin_layout Plain Layout
28967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28970 \begin_layout Plain Layout
28985 \begin_layout Plain Layout
28995 \begin_layout Subsection
28997 \begin_inset Index idx
29000 \begin_layout Plain Layout
29001 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
29007 \begin_inset Index idx
29010 \begin_layout Plain Layout
29011 しんしゅく@伸縮 ! そざいの@素材の---
29017 \begin_inset Index idx
29020 \begin_layout Plain Layout
29021 ず@図 ! のしんしゅく@---の伸縮
29027 \begin_inset Index idx
29030 \begin_layout Plain Layout
29031 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
29039 \begin_layout Standard
29055 \begin_layout Standard
29065 \begin_layout Standard
29070 scalebox{水平方向}[垂直方向]{ボックスの内容}
29073 \begin_layout Standard
29074 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
29077 \begin_layout Standard
29084 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
29088 \begin_layout Plain Layout
29101 \begin_layout Plain Layout
29111 \begin_layout Standard
29116 scalebox{2}[1]{こんにちは}
29122 \begin_layout Plain Layout
29135 \begin_layout Plain Layout
29145 \begin_layout Standard
29146 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
29150 scalebox{-1}[1]{こんにちは}
29152 というコマンドは、右のように反転文字を生成するのに使用できます:
29156 \begin_layout Plain Layout
29169 \begin_layout Plain Layout
29179 \begin_layout Standard
29184 scalebox{1}[-1]{こんにちは}
29190 \begin_layout Plain Layout
29203 \begin_layout Plain Layout
29213 \begin_layout Standard
29218 scalebox{-1}[1]{ボックスの内容}
29221 \begin_inset Newline newline
29228 reflectbox{ボックスの内容}
29231 \begin_inset Newline newline
29237 \begin_layout Standard
29238 \begin_inset VSpace bigskip
29241 指定した幅や丈にボックスを伸縮させるには、
29250 \begin_layout Standard
29255 resizebox{幅}{丈}{ボックスの内容}
29258 \begin_layout Standard
29259 です。上記二つのコマンド引数のうち一つが感嘆符「
29263 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
29266 \begin_layout Standard
29271 resizebox{2cm}{1cm}{こんにちは}
29277 \begin_layout Plain Layout
29281 resizebox{2cm}{1cm}{
29290 \begin_layout Plain Layout
29298 \begin_inset Newline newline
29305 resizebox{2cm}{!}{こんにちは}
29311 \begin_layout Plain Layout
29324 \begin_layout Plain Layout
29334 \begin_layout Standard
29335 \begin_inset VSpace bigskip
29339 \begin_inset Note Greyedout
29342 \begin_layout Plain Layout
29355 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
29363 \begin_layout Standard
29364 \begin_inset VSpace bigskip
29370 \begin_layout Standard
29371 ボックスは好きな順序で組み合わせることができます。たとえば、
29372 \begin_inset Newline newline
29379 rotatebox[origin=c]{-45}{
29383 reflectbox{こんにちは}}}
29384 \begin_inset Newline newline
29392 \begin_layout Standard
29397 \begin_layout Plain Layout
29401 rotatebox[origin=c]{-45}{
29414 \begin_layout Plain Layout
29424 \begin_layout Standard
29426 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
29429 \begin_layout Standard
29434 \begin_layout Plain Layout
29438 rotatebox[origin=c]{-30}{
29448 \begin_inset Graphics
29449 filename ../clipart/platypus.eps
29459 \begin_layout Plain Layout
29470 \begin_layout Plain Layout
29474 rotatebox[origin=c]{-45}{
29484 \begin_inset Tabular
29485 <lyxtabular version="3" rows="2" columns="2">
29486 <features tabularvalignment="middle">
29487 <column alignment="center" valignment="top" width="0">
29488 <column alignment="center" valignment="top" width="0">
29490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29493 \begin_layout Plain Layout
29499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29502 \begin_layout Plain Layout
29510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29513 \begin_layout Plain Layout
29519 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29522 \begin_layout Plain Layout
29537 \begin_layout Plain Layout
29548 \begin_layout Plain Layout
29552 rotatebox[origin=c]{-45}{
29562 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29569 \begin_layout Plain Layout
29579 \begin_layout Standard
29588 \begin_layout Plain Layout
29589 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
29594 には、別行建て数式も伸縮させることができます。
29597 \begin_layout Chapter
29600 Objects Surrounded by Text
29601 \begin_inset Index idx
29604 \begin_layout Plain Layout
29615 \begin_layout Subsection
29617 \begin_inset CommandInset label
29624 \begin_inset Index idx
29627 \begin_layout Plain Layout
29628 ふろーと@フロート ! おりかえしふろーと@折返しフロート
29636 \begin_inset Index idx
29639 \begin_layout Plain Layout
29642 Surrounded by text ! Wrap Floats
29650 \begin_layout Standard
29651 \begin_inset Wrap figure
29658 \begin_layout Plain Layout
29659 \begin_inset Graphics
29660 filename ../clipart/mobius.eps
29662 scaleBeforeRotation
29663 rotateOrigin center
29670 \begin_layout Plain Layout
29671 \begin_inset Caption
29673 \begin_layout Plain Layout
29674 \begin_inset CommandInset label
29676 name "fig:折返し図フロート"
29690 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
29695 \begin_inset Index idx
29698 \begin_layout Plain Layout
29699 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
29706 挿入\SpecialChar \menuseparator
29707 フロート\SpecialChar \menuseparator
29718 \begin_layout Plain Layout
29719 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
29724 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
29740 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
29741 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
29742 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
29743 \begin_inset CommandInset ref
29745 reference "fig:折返し図フロート"
29750 \begin_inset space \thinspace{}
29754 \begin_inset space \thinspace{}
29757 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
29761 \begin_layout Plain Layout
29763 \begin_inset CommandInset ref
29765 reference "cha:LyXで使用できる単位"
29777 \begin_layout Standard
29778 \begin_inset Note Greyedout
29781 \begin_layout Plain Layout
29786 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
29795 \begin_layout Standard
29799 \begin_layout Itemize
29800 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
29801 うになってから、正確な位置に挿入しなくてはなりません。
29804 \begin_layout Itemize
29805 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
29808 \begin_layout Itemize
29809 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
29812 \begin_layout Itemize
29813 折返しフロートは、節見出しや表中に入れることは認められていません。
29816 \begin_layout Itemize
29819 Their numbering and referencing works as described in chap.
29822 \begin_inset space \thinspace{}
29826 \begin_inset CommandInset ref
29828 reference "chap:フロート"
29835 \begin_layout Section
29838 Surrounded Fixed Objects
29839 \begin_inset Index idx
29842 \begin_layout Plain Layout
29845 Surrounded by text ! Fixed objects
29853 \begin_layout Standard
29856 The wrap floats described in sec.
29859 \begin_inset space \thinspace{}
29863 \begin_inset CommandInset ref
29865 reference "sec:折返しフロート"
29871 have these positions in the paragraph:
29874 \begin_layout Standard
29879 \begin_inset Tabular
29880 <lyxtabular version="3" rows="2" columns="2">
29881 <features tabularvalignment="middle">
29882 <column alignment="center" valignment="top" width="0">
29883 <column alignment="center" valignment="top" width="0">
29885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29888 \begin_layout Plain Layout
29891 \begin_inset Graphics
29892 filename ../../images/dialog-show-new-inset_graphics.png
29894 scaleBeforeRotation
29895 BoundingBox 0bp 6bp 22bp 22bp
29904 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
29907 \begin_layout Plain Layout
29917 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
29920 \begin_layout Plain Layout
29928 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
29931 \begin_layout Plain Layout
29945 \begin_inset Tabular
29946 <lyxtabular version="3" rows="2" columns="2">
29947 <features tabularvalignment="middle">
29948 <column alignment="center" valignment="top" width="0">
29949 <column alignment="center" valignment="top" width="0">
29951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29954 \begin_layout Plain Layout
29962 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
29965 \begin_layout Plain Layout
29968 \begin_inset Graphics
29969 filename ../../images/dialog-show-new-inset_graphics.png
29971 scaleBeforeRotation
29972 BoundingBox 0bp 6bp 22bp 22bp
29983 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
29986 \begin_layout Plain Layout
29994 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
29997 \begin_layout Plain Layout
30013 \begin_layout Standard
30016 To get an object exactly at the position where it is inserted, for example
30017 to get one of these positions:
30018 \begin_inset VSpace defskip
30024 \begin_layout Standard
30029 \begin_inset Tabular
30030 <lyxtabular version="3" rows="2" columns="2">
30031 <features tabularvalignment="middle">
30032 <column alignment="center" valignment="top" width="0">
30033 <column alignment="center" valignment="top" width="0">
30035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30038 \begin_layout Plain Layout
30046 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30049 \begin_layout Plain Layout
30059 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30062 \begin_layout Plain Layout
30065 \begin_inset Graphics
30066 filename ../../images/dialog-show-new-inset_graphics.png
30068 scaleBeforeRotation
30069 BoundingBox 0bp 6bp 22bp 22bp
30078 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30081 \begin_layout Plain Layout
30095 \begin_inset Tabular
30096 <lyxtabular version="3" rows="2" columns="2">
30097 <features tabularvalignment="middle">
30098 <column alignment="center" valignment="top" width="0">
30099 <column alignment="center" valignment="top" width="0">
30101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30104 \begin_layout Plain Layout
30112 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30115 \begin_layout Plain Layout
30125 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30128 \begin_layout Plain Layout
30136 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30139 \begin_layout Plain Layout
30142 \begin_inset Graphics
30143 filename ../../images/dialog-show-new-inset_graphics.png
30145 scaleBeforeRotation
30146 BoundingBox 0bp 6bp 22bp 22bp
30161 \begin_inset Tabular
30162 <lyxtabular version="3" rows="2" columns="3">
30163 <features tabularvalignment="middle">
30164 <column alignment="center" valignment="top" width="0">
30165 <column alignment="center" valignment="top" width="0">
30166 <column alignment="center" valignment="top" width="0">
30168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30171 \begin_layout Plain Layout
30179 <cell alignment="center" valignment="top" topline="true" usebox="none">
30182 \begin_layout Plain Layout
30185 \begin_inset Graphics
30186 filename ../../images/dialog-show-new-inset_graphics.png
30188 scaleBeforeRotation
30189 BoundingBox 0bp 6bp 22bp 22bp
30198 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30201 \begin_layout Plain Layout
30211 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30214 \begin_layout Plain Layout
30222 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30225 \begin_layout Plain Layout
30233 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30236 \begin_layout Plain Layout
30250 \begin_inset Tabular
30251 <lyxtabular version="3" rows="2" columns="3">
30252 <features tabularvalignment="middle">
30253 <column alignment="center" valignment="top" width="0">
30254 <column alignment="center" valignment="top" width="0">
30255 <column alignment="center" valignment="top" width="0">
30257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30260 \begin_layout Plain Layout
30268 <cell alignment="center" valignment="top" topline="true" usebox="none">
30271 \begin_layout Plain Layout
30279 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30282 \begin_layout Plain Layout
30292 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30295 \begin_layout Plain Layout
30303 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30306 \begin_layout Plain Layout
30309 \begin_inset Graphics
30310 filename ../../images/dialog-show-new-inset_graphics.png
30312 scaleBeforeRotation
30313 BoundingBox 0bp 6bp 22bp 22bp
30322 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30325 \begin_layout Plain Layout
30341 \begin_layout Standard
30346 \begin_inset Tabular
30347 <lyxtabular version="3" rows="3" columns="2">
30348 <features tabularvalignment="middle">
30349 <column alignment="center" valignment="top" width="0">
30350 <column alignment="center" valignment="top" width="0">
30352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30355 \begin_layout Plain Layout
30363 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30366 \begin_layout Plain Layout
30376 <cell alignment="center" valignment="top" leftline="true" usebox="none">
30379 \begin_layout Plain Layout
30382 \begin_inset Graphics
30383 filename ../../images/dialog-show-new-inset_graphics.png
30385 scaleBeforeRotation
30386 BoundingBox 0bp 6bp 22bp 22bp
30395 <cell alignment="center" valignment="top" rightline="true" usebox="none">
30398 \begin_layout Plain Layout
30408 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30411 \begin_layout Plain Layout
30419 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30422 \begin_layout Plain Layout
30436 \begin_inset Tabular
30437 <lyxtabular version="3" rows="3" columns="3">
30438 <features tabularvalignment="middle">
30439 <column alignment="center" valignment="top" width="0">
30440 <column alignment="center" valignment="top" width="0">
30441 <column alignment="center" valignment="top" width="0">
30443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30446 \begin_layout Plain Layout
30454 <cell alignment="center" valignment="top" topline="true" usebox="none">
30457 \begin_layout Plain Layout
30465 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30468 \begin_layout Plain Layout
30478 <cell alignment="center" valignment="top" leftline="true" usebox="none">
30481 \begin_layout Plain Layout
30489 <cell alignment="center" valignment="top" usebox="none">
30492 \begin_layout Plain Layout
30495 \begin_inset Graphics
30496 filename ../../images/dialog-show-new-inset_graphics.png
30498 scaleBeforeRotation
30499 BoundingBox 0bp 6bp 22bp 22bp
30508 <cell alignment="center" valignment="top" rightline="true" usebox="none">
30511 \begin_layout Plain Layout
30521 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30524 \begin_layout Plain Layout
30532 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30535 \begin_layout Plain Layout
30543 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30546 \begin_layout Plain Layout
30560 \begin_inset Tabular
30561 <lyxtabular version="3" rows="3" columns="2">
30562 <features tabularvalignment="middle">
30563 <column alignment="center" valignment="top" width="0">
30564 <column alignment="center" valignment="top" width="0">
30566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30569 \begin_layout Plain Layout
30577 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
30580 \begin_layout Plain Layout
30590 <cell alignment="center" valignment="top" leftline="true" usebox="none">
30593 \begin_layout Plain Layout
30601 <cell alignment="center" valignment="top" rightline="true" usebox="none">
30604 \begin_layout Plain Layout
30607 \begin_inset Graphics
30608 filename ../../images/dialog-show-new-inset_graphics.png
30610 scaleBeforeRotation
30611 BoundingBox 0bp 6bp 22bp 22bp
30622 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
30625 \begin_layout Plain Layout
30633 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
30636 \begin_layout Plain Layout
30652 \begin_layout Standard
30656 you can use the LaTeX-package
30663 \begin_inset Index idx
30666 \begin_layout Plain Layout
30667 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
30680 \begin_layout Standard
30684 \begin_layout Plain Layout
30694 \begin_inset Note Note
30697 \begin_layout Plain Layout
30702 が導入されているときのみ表示されます。
30710 \begin_layout Standard
30714 \begin_layout Plain Layout
30718 begin{window}[2,c,{
30724 \begin_inset Graphics
30725 filename ../clipart/mobius.eps
30728 scaleBeforeRotation
30729 rotateOrigin center
30737 \begin_layout Plain Layout
30742 \begin_layout Plain Layout
30752 It was in the spring of the year 1894 that all London was interested, and
30753 the fashionable world dismayed, by the murder of the Honourable Ronald
30754 Adair under most unusual and inexplicable circumstances.
30755 The public has already learned those particulars of the crime which
30761 \begin_layout Plain Layout
30772 came out in the police investigation, but a good deal was suppressed upon
30773 that occasion, since the case for the prosecution was so overwhelmingly
30774 strong that it was not necessary to bring forward all the facts.
30775 Only now, at the end of nearly ten years, am I allowed to supply those
30776 missing links which make up the whole of that remarkable chain
30784 \begin_layout Plain Layout
30796 \begin_layout Standard
30802 \begin_layout Plain Layout
30811 Footnote of the paragraph with the fixed object.
30815 \begin_layout Plain Layout
30825 \begin_layout Standard
30828 Surrounded fixed objects are used to let text float around them, at which
30829 the object's position in the paragraph can be determined by the number
30831 In contrary to floats is it not possible to have a numbered caption.
30834 \begin_layout Standard
30837 A fixed object is inserted by adding the command
30840 \begin_layout Standard
30845 begin{window}[2,c,{
30848 \begin_layout Standard
30851 as TeX Code at the beginning of the paragraph.
30852 The first parameter in the bracket, here '2', defines the number of lines
30853 above the object, the second, here 'c', the position of the object.
30854 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
30855 Behind the command you insert the object.
30856 In this example an image with a width of 40
30857 \begin_inset space \thinspace{}
30860 % of the text column width was inserted.
30861 The object can also be a table, a box or an equation.
30862 Behind the object the command
30865 \begin_layout Standard
30868 },description text]
30869 \begin_inset Newline newline
30875 \begin_layout Standard
30880 \begin_inset Quotes eld
30888 \begin_inset Quotes erd
30891 is in the second line.
30892 The description text is optional.
30893 The text surrounding the object must be in the same paragraph as the object,
30894 so it must begin directly after the
30899 At the end of the paragraph insert the command:
30902 \begin_layout Standard
30910 \begin_layout Standard
30913 Within a paragraph with a fixed object, you cannot insert footnotes in the
30915 You have to use instead the command
30921 inside the paragraph and outside the command
30927 as described in sec.
30930 \begin_inset space \thinspace{}
30934 \begin_inset CommandInset ref
30943 \begin_layout Standard
30947 \begin_layout Plain Layout
30957 \begin_inset Note Note
30960 \begin_layout Plain Layout
30965 が導入されていないときのみ表示されます。
30973 \begin_layout Standard
30974 本節の以下の部分を出力に表示するには、LaTeXパッケージ
30981 \begin_layout Standard
30985 \begin_layout Plain Layout
30997 \begin_layout Section
31001 \begin_inset Index idx
31004 \begin_layout Plain Layout
31013 \begin_inset Index idx
31016 \begin_layout Plain Layout
31019 Surrounded by text ! Initials
31027 \begin_layout Standard
31030 To use initials, you must have the LaTeX package
31037 \begin_inset Index idx
31040 \begin_layout Plain Layout
31041 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
31048 installed and use the module
31052 in your document (menu
31054 Document\SpecialChar \menuseparator
31055 Settings\SpecialChar \menuseparator
31059 To insert an initial, use the style
31064 This style has a mandatory and an optional argument.
31065 The mandatory argument is inserted via the menu
31067 Insert\SpecialChar \menuseparator
31069 \begin_inset space ~
31074 and contains the letter that is the initial.
31075 To use the also the optional argument, insert another argument in front
31076 of the mandatory argument.
31077 This one contains parameters to modify the initial.
31078 For more information about the possible parameters see the documentation
31086 \begin_inset CommandInset citation
31095 The style itself contains the text that is surrounding the initial.
31096 The usual style is hereby that the word whose first letter is the initial,
31102 To tell LaTeX where this word is finished, add a closing brace '
31106 ' as TeX Code behind it.
31107 At the end of the style there must be an opening brace '
31114 \begin_layout Standard
31117 Here are some examples:
31120 \begin_layout Enumerate
31123 No optional argument, the initial is the letter 'I' in the math font
31124 \begin_inset Formula $\mathfrak{Fraktur}$
31131 \begin_layout Initial
31132 \begin_inset Argument
31135 \begin_layout Plain Layout
31136 \begin_inset Formula $\mathfrak{I}$
31148 \begin_layout Plain Layout
31157 was in the spring of the year 1894 that all London was interested, and the
31158 fashionable world dismayed, by the murder of the Honourable Ronald Adair
31159 under most unusual and inexplicable circumstances.
31160 The public has already learned those particulars of the crime which came
31161 out in the police investigation, but a good deal was suppressed upon that
31162 occasion, since the case for the prosecution was so overwhelmingly strong
31163 that it was not necessary to bring forward all the facts.
31169 \begin_layout Plain Layout
31179 \begin_inset Newpage newpage
31186 \begin_layout Enumerate
31189 Only one line is surrounding the initial, which is formed by two letters
31190 in standard font and no text is printed in small caps:
31194 \begin_layout Initial
31195 \begin_inset Argument
31198 \begin_layout Plain Layout
31205 \begin_inset Argument
31208 \begin_layout Plain Layout
31218 \begin_layout Plain Layout
31227 was in the spring of the year 1894 that all London was interested, and the
31228 fashionable world dismayed, by the murder of the Honourable Ronald Adair
31229 under most unusual and inexplicable circumstances.
31230 The public has already learned those particulars of the crime which came
31231 out in the police investigation, but a good deal was suppressed upon that
31232 occasion, since the case for the prosecution was so overwhelmingly strong
31233 that it was not necessary to bring forward all the facts.
31239 \begin_layout Plain Layout
31250 \begin_layout Enumerate
31253 Magenta, hanging initial over 3
31254 \begin_inset space ~
31257 lines in the math font
31258 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
31262 \begin_inset Quotes eld
31265 t was in the spring
31266 \begin_inset Quotes erd
31273 ; to color the initial, you must insert this command before the initial:
31274 \begin_inset Newline newline
31288 \begin_inset Newline newline
31296 \begin_inset Quotes eld
31300 \begin_inset Quotes erd
31304 \begin_inset Quotes eld
31308 \begin_inset Quotes erd
31312 \begin_inset Quotes eld
31316 \begin_inset Quotes erd
31320 \begin_inset Quotes eld
31324 \begin_inset Quotes erd
31328 \begin_inset Quotes eld
31332 \begin_inset Quotes erd
31336 \begin_inset Quotes eld
31340 \begin_inset Quotes erd
31344 \begin_inset Quotes eld
31348 \begin_inset Quotes erd
31352 \begin_inset Quotes eld
31356 \begin_inset Quotes erd
31359 , and add this command to the document preamble
31362 \begin_inset Newline newline
31369 @ifundefined{textcolor}
31370 \begin_inset Newline newline
31374 \begin_inset space ~
31379 usepackage{color}}{}
31383 \begin_layout Standard
31387 \begin_layout Plain Layout
31403 \begin_inset Note Note
31406 \begin_layout Plain Layout
31409 makes the initial magenta
31417 \begin_layout Initial
31418 \begin_inset Argument
31421 \begin_layout Plain Layout
31422 lines=3, lhang=0.33, loversize=0.25
31428 \begin_inset Argument
31431 \begin_layout Plain Layout
31432 \begin_inset Formula $\mathcal{I}$
31442 t was in the spring
31448 \begin_layout Plain Layout
31457 of the year 1894 that all London was interested, and the fashionable world
31458 dismayed, by the murder of the Honourable Ronald Adair under most unusual
31459 and inexplicable circumstances.
31460 The public has already learned those particulars of the crime which came
31461 out in the police investigation, but a good deal was suppressed upon that
31462 occasion, since the case for the prosecution was so overwhelmingly strong
31463 that it was not necessary to bring forward all the facts.
31469 \begin_layout Plain Layout
31480 \begin_layout Chapter
31482 \begin_inset Index idx
31485 \begin_layout Plain Layout
31486 がいぶぶんしょこうせいようそ@外部文書構成要素
31494 \begin_layout Standard
31497 挿入\SpecialChar \menuseparator
31500 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
31503 \begin_layout Description
31504 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
31507 \begin_layout Description
31508 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
31511 \begin_layout Description
31512 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
31515 \begin_layout Description
31519 \begin_layout Description
31520 子文書 LyXあるいはLaTeX文書。
31523 \begin_layout Section
31525 \begin_inset Index idx
31528 \begin_layout Plain Layout
31529 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
31537 \begin_layout Standard
31538 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
31539 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
31541 操作性\SpecialChar \menuseparator
31544 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
31547 \begin_layout Standard
31552 \SpecialChar \menuseparator
31557 \SpecialChar \menuseparator
31566 ダイアログから挿入することができます。目下、以下のファイル形式(
31573 \begin_layout Description
31577 \begin_inset CommandInset href
31580 target "http://en.wikipedia.org/wiki/XBoard"
31586 プログラムで作成されたチェス棋譜をサポートします。
31589 \begin_layout Description
31594 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
31595 \begin_inset External
31602 \begin_inset space ~
31606 \begin_inset Note Note
31609 \begin_layout Plain Layout
31610 バグ4398が修正されたら、この保護空白は削除してください!
31616 \begin_inset Newline newline
31619 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
31623 \SpecialChar \menuseparator
31624 日付メニューを使用する方法で、他はLaTeXコマンドの
31630 をTeXコードで使用する方法です。これらの各方法は、表
31631 \begin_inset CommandInset ref
31633 reference "tab:日付挿入方法"
31640 \begin_layout Description
31644 \begin_inset CommandInset href
31647 target "http://en.wikipedia.org/wiki/Dia_(software)"
31653 プログラムで作成したダイアグラムをサポートします。
31656 \begin_layout Description
31660 \begin_inset CommandInset href
31663 target "http://en.wikipedia.org/wiki/LilyPond"
31669 プログラムで作成した楽譜の組版に使用されます。
31672 \begin_layout Description
31673 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
31689 オプションを指定しないと、PDFの最初のページのみが挿入されます。
31692 \begin_layout Description
31693 ラスターイメージ これはビットマップ画像に使用します。よく使われる画像形式のほとんどすべてがサポートされています。
31698 \begin_inset CommandInset ref
31700 reference "sec:画像ダイアログ"
31708 ダイアログを使って挿入される画像と同じように取り扱うことができます。異なる点といえば、ラスターイメージのみを取り扱うことができる点、すなわちPDFやEPS画像は
31712 \begin_layout Description
31716 \begin_inset CommandInset href
31719 target "http://en.wikipedia.org/wiki/Xfig"
31725 プログラムで作成した画像をサポートします。
31728 \begin_layout Standard
31729 \begin_inset Float table
31735 \begin_layout Plain Layout
31736 \begin_inset Caption
31738 \begin_layout Plain Layout
31739 \begin_inset CommandInset label
31753 \begin_layout Plain Layout
31755 \begin_inset Tabular
31756 <lyxtabular version="3" rows="4" columns="4">
31757 <features tabularvalignment="middle">
31758 <column alignment="center" valignment="top" width="0">
31759 <column alignment="center" valignment="top" width="0">
31760 <column alignment="center" valignment="top" width="0">
31761 <column alignment="center" valignment="top" width="0">
31763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31766 \begin_layout Plain Layout
31772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31775 \begin_layout Plain Layout
31778 外部素材\SpecialChar \menuseparator
31784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31787 \begin_layout Plain Layout
31790 挿入\SpecialChar \menuseparator
31796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31799 \begin_layout Plain Layout
31813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31816 \begin_layout Plain Layout
31822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31825 \begin_layout Plain Layout
31831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31834 \begin_layout Plain Layout
31840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31843 \begin_layout Plain Layout
31851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31854 \begin_layout Plain Layout
31860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31863 \begin_layout Plain Layout
31869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31872 \begin_layout Plain Layout
31878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31881 \begin_layout Plain Layout
31889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31892 \begin_layout Plain Layout
31898 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31901 \begin_layout Plain Layout
31907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31910 \begin_layout Plain Layout
31916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31919 \begin_layout Plain Layout
31938 \begin_layout Standard
31951 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
31952 \begin_inset Newline newline
31955 LyX中での外部素材は、ダイアログ内の
31964 \begin_inset Graphics
31965 filename clipart/ExternalMaterialQt4.png
31967 scaleBeforeRotation
31971 のようなボックスとして表示されるか、画像として表示されます。
31974 \begin_layout Standard
31981 には、自製のひな型を定義する方法が説明されています。
31984 \begin_layout Section
31986 \begin_inset CommandInset label
31993 \begin_inset Index idx
31996 \begin_layout Plain Layout
31997 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
32003 \begin_inset Index idx
32006 \begin_layout Plain Layout
32007 ふぁいる@ファイル ! いんくるーど@インクルード
32015 \begin_layout Standard
32016 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
32017 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
32018 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
32021 \begin_layout Standard
32022 親文書を開くことなく子文書で作業できるようにするには、子文書の
32026 \SpecialChar \menuseparator
32031 \SpecialChar \menuseparator
32036 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
32039 \begin_layout Standard
32041 \begin_inset Graphics
32042 filename clipart/ChildDocumentQt4.png
32044 scaleBeforeRotation
32048 のようなボックスとして表示されます。子文書を親文書に取り込むには、
32052 \SpecialChar \menuseparator
32057 \SpecialChar \menuseparator
32062 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
32065 \begin_layout Description
32066 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
32074 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
32075 \begin_inset Newline newline
32081 \begin_layout Standard
32087 \begin_inset CommandInset include
32088 LatexCommand include
32089 filename "DummyDocument1.lyx"
32096 \begin_layout Standard
32097 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
32098 あります。取り込んだ文書のラベルは、第
32099 \begin_inset CommandInset ref
32101 reference "sub:外部文書の第1小節"
32105 小節、のように参照することができます。
32108 \begin_layout Standard
32109 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
32110 は、新規頁から始まるように挿入され、改頁して終わります。
32113 \begin_layout Standard
32114 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
32118 \begin_layout Plain Layout
32132 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
32135 \begin_layout Standard
32136 \begin_inset Note Greyedout
32139 \begin_layout Plain Layout
32144 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
32158 \begin_layout Standard
32159 \begin_inset Note Greyedout
32162 \begin_layout Plain Layout
32167 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
32176 \begin_layout Description
32177 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
32181 \begin_layout Itemize
32182 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
32185 \begin_layout Itemize
32186 Inputファイルは、LyX設定の操作性
32188 \SpecialChar \menuseparator
32195 を有効にすると、LyX中でプレビューすることができます。
32198 \begin_layout Itemize
32209 \begin_layout Standard
32215 \begin_inset CommandInset include
32217 filename "DummyDocument2.lyx"
32224 \begin_layout Description
32225 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
32226 に用いられているコマンドは実行されません。
32230 オプションを有効にすると、ソースコード中のすべての空白文字に「
32234 \begin_layout Plain Layout
32245 挿入\SpecialChar \menuseparator
32246 ファイル\SpecialChar \menuseparator
32249 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
32252 \begin_layout Standard
32253 以下は、verbatimとして挿入された子文書です。
32254 \begin_inset CommandInset include
32255 LatexCommand verbatiminput
32256 filename "../DummyTextDocument.txt"
32261 \begin_inset VSpace bigskip
32268 オプションを指定して、verbatimとして挿入された子文書です。
32269 \begin_inset CommandInset include
32270 LatexCommand verbatiminput*
32271 filename "../DummyTextDocument.txt"
32278 \begin_layout Standard
32279 \begin_inset VSpace bigskip
32285 \begin_layout Standard
32286 \begin_inset Note Greyedout
32289 \begin_layout Plain Layout
32298 として取り込んだ文書の文章は、文書行の終わりで改行されません。
32306 \begin_layout Standard
32307 \begin_inset Note Greyedout
32310 \begin_layout Plain Layout
32315 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
32323 \begin_layout Description
32324 プログラムリスト この型については、第
32325 \begin_inset CommandInset ref
32327 reference "cha:プログラムコードリスト"
32334 \begin_layout Standard
32335 \begin_inset Note Greyedout
32338 \begin_layout Plain Layout
32343 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
32351 \begin_layout Chapter
32353 \begin_inset CommandInset label
32355 name "cha:プログラムコードリスト"
32360 \begin_inset Index idx
32363 \begin_layout Plain Layout
32370 \begin_inset Index idx
32373 \begin_layout Plain Layout
32380 \begin_inset Index idx
32383 \begin_layout Plain Layout
32384 ふろーと@フロート ! りすと@リスト
32392 \begin_layout Standard
32393 プログラムコードを取り込んで組版するには、
32397 \SpecialChar \menuseparator
32402 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
32407 \begin_inset Index idx
32410 \begin_layout Plain Layout
32411 LaTeXぱっけーじ@LaTeXパッケージ ! listings
32416 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
32419 \begin_layout Standard
32420 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
32423 \begin_layout Standard
32424 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
32429 \begin_inset listings
32430 lstparams "language={C++}"
32434 \begin_layout Plain Layout
32442 \begin_inset Newline newline
32449 オプションは、プログラムリストフロートを生成するものですが、ここで、第
32450 \begin_inset CommandInset ref
32452 reference "sec:フロートの配置"
32456 節に説明されているフロート配置オプションに従って、「
32472 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
32476 」のように区切りを入れることなく入力することができます。「
32480 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
32484 オプションを使用しなければ大丈夫です。
32487 \begin_layout Standard
32492 \SpecialChar \menuseparator
32497 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
32498 \begin_inset CommandInset ref
32500 reference "lst:リストフロート"
32507 \begin_layout Standard
32508 \begin_inset listings
32509 lstparams "language=Python"
32513 \begin_layout Plain Layout
32515 \begin_inset Caption
32517 \begin_layout Plain Layout
32518 \begin_inset CommandInset label
32524 Example Listing Float
32529 # Example listing float
32532 \begin_layout Plain Layout
32537 \begin_layout Plain Layout
32539 'this is a python function'
32542 \begin_layout Plain Layout
32552 \begin_layout Standard
32553 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
32554 onのキーワード「def」が識別され、ボールド体で出力されます。
32557 \begin_layout Standard
32558 \begin_inset Note Greyedout
32561 \begin_layout Plain Layout
32566 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
32570 フォントがボールド体を提供していません。この場合には、
32574 \SpecialChar \menuseparator
32579 \SpecialChar \menuseparator
32584 メニューで別のフォントを選択してください(
32596 の各フォントはボールド体を提供します)。
32604 \begin_layout Standard
32605 \begin_inset Note Greyedout
32608 \begin_layout Plain Layout
32613 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
32621 \begin_layout Standard
32626 のセクションでは、行番号の様式を指定することができます。
32630 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
32633 \begin_layout Standard
32634 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
32638 オプションを使用しなくてはなりません。
32639 \begin_inset Newline newline
32642 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
32643 \begin_inset space \thinspace{}
32647 \begin_inset space \thinspace{}
32650 8」で設定したプログラムリストの例です。
32653 \begin_layout Standard
32654 \begin_inset listings
32655 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
32659 \begin_layout Plain Layout
32664 \begin_layout Plain Layout
32666 'this is a python function'
32669 \begin_layout Plain Layout
32674 \begin_layout Plain Layout
32679 \begin_layout Plain Layout
32681 'This is a German word: Tschüß'
32684 \begin_layout Plain Layout
32689 \begin_layout Plain Layout
32694 \begin_layout Plain Layout
32696 'this is a python function'
32699 \begin_layout Plain Layout
32709 \begin_layout Standard
32710 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
32717 \begin_layout Standard
32718 \begin_inset Note Greyedout
32721 \begin_layout Plain Layout
32726 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
32735 \begin_layout Standard
32736 \begin_inset VSpace bigskip
32742 \begin_layout Standard
32743 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
32747 \SpecialChar \menuseparator
32752 \SpecialChar \menuseparator
32765 \begin_layout Plain Layout
32766 他の子文書型については、第 section
32767 \begin_inset space ~
32771 \begin_inset CommandInset ref
32773 reference "sec:子文書"
32782 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
32786 \begin_layout Standard
32787 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
32791 \SpecialChar \menuseparator
32796 メニューを使って参照できるようになります。
32799 \begin_layout Standard
32801 \begin_inset CommandInset ref
32803 reference "lst:file-listing"
32807 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
32810 \begin_layout Standard
32811 \begin_inset CommandInset include
32812 LatexCommand lstinputlisting
32813 filename "EmbeddedObjects.lyx"
32814 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
32821 \begin_layout Standard
32822 \begin_inset VSpace bigskip
32828 \begin_layout Standard
32829 リストに数式を入れるには、以下のようにします。
32832 \begin_layout Enumerate
32838 \begin_inset Newline newline
32846 \begin_inset Newline newline
32852 \begin_layout Enumerate
32856 \begin_layout Enumerate
32857 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
32866 \begin_layout Enumerate
32867 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
32876 \begin_layout Standard
32877 \begin_inset listings
32878 lstparams "language=Python,mathescape=true"
32882 \begin_layout Plain Layout
32884 \begin_inset Caption
32886 \begin_layout Plain Layout
32887 Example Listing float containing a formula
32892 # Example listing float
32895 \begin_layout Plain Layout
32900 \begin_layout Plain Layout
32913 \begin_layout Plain Layout
32923 \begin_layout Standard
32924 \begin_inset VSpace bigskip
32930 \begin_layout Standard
32935 \SpecialChar \menuseparator
32940 \SpecialChar \menuseparator
32945 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
32949 フィールドで疑問符「?」を打鍵してください。
32952 \begin_layout Standard
32957 パッケージについての詳しい情報については、取扱説明書
32958 \begin_inset CommandInset citation
32967 \begin_layout Standard
32968 \begin_inset Newpage newpage
32974 \begin_layout Chapter
32977 \begin_inset Index idx
32980 \begin_layout Plain Layout
32987 \begin_inset CommandInset label
32989 name "cha:LyXで使用できる単位"
32996 \begin_layout Standard
32997 この文書で用いられる単位の理解のために、表
32998 \begin_inset CommandInset ref
33004 に、LyXで使うことのできる単位をまとめておきます。
33007 \begin_layout Standard
33008 \begin_inset Float table
33014 \begin_layout Plain Layout
33015 \begin_inset Caption
33017 \begin_layout Plain Layout
33018 \begin_inset CommandInset label
33032 \begin_layout Plain Layout
33033 \begin_inset VSpace medskip
33039 \begin_layout Plain Layout
33041 \begin_inset Tabular
33042 <lyxtabular version="3" rows="20" columns="2">
33043 <features tabularvalignment="middle">
33044 <column alignment="center" valignment="top" width="0">
33045 <column alignment="center" valignment="top" width="0">
33047 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33050 \begin_layout Plain Layout
33056 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33059 \begin_layout Plain Layout
33067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33070 \begin_layout Plain Layout
33076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33079 \begin_layout Plain Layout
33087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33090 \begin_layout Plain Layout
33096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33099 \begin_layout Plain Layout
33107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33110 \begin_layout Plain Layout
33116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33119 \begin_layout Plain Layout
33127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33130 \begin_layout Plain Layout
33136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33139 \begin_layout Plain Layout
33141 \begin_inset Formula $\,$
33145 \begin_inset Formula $\,$
33155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33158 \begin_layout Plain Layout
33164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33167 \begin_layout Plain Layout
33169 \begin_inset Formula $\,$
33173 \begin_inset Formula $\,$
33183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33186 \begin_layout Plain Layout
33192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33195 \begin_layout Plain Layout
33197 \begin_inset Formula $\,$
33201 \begin_inset Formula $\,$
33211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33214 \begin_layout Plain Layout
33220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33223 \begin_layout Plain Layout
33225 \begin_inset Formula $\,$
33229 \begin_inset Formula $\,$
33239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33242 \begin_layout Plain Layout
33248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33251 \begin_layout Plain Layout
33253 \begin_inset Formula $\,$
33257 \begin_inset Formula $\approx$
33261 \begin_inset Formula $\,$
33271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33274 \begin_layout Plain Layout
33280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33283 \begin_layout Plain Layout
33285 \begin_inset Formula $\,$
33289 \begin_inset Formula $\,$
33299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33302 \begin_layout Plain Layout
33308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33311 \begin_layout Plain Layout
33319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33322 \begin_layout Plain Layout
33328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33331 \begin_layout Plain Layout
33339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33342 \begin_layout Plain Layout
33348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33351 \begin_layout Plain Layout
33359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33362 \begin_layout Plain Layout
33368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33371 \begin_layout Plain Layout
33379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33382 \begin_layout Plain Layout
33388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33391 \begin_layout Plain Layout
33399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33402 \begin_layout Plain Layout
33408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33411 \begin_layout Plain Layout
33419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33422 \begin_layout Plain Layout
33428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33431 \begin_layout Plain Layout
33439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33442 \begin_layout Plain Layout
33448 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33451 \begin_layout Plain Layout
33459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33462 \begin_layout Plain Layout
33468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33471 \begin_layout Plain Layout
33479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33482 \begin_layout Plain Layout
33488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33491 \begin_layout Plain Layout
33493 \begin_inset Formula $\,$
33497 \begin_inset Formula $\,$
33518 \begin_layout Chapter
33520 \begin_inset CommandInset label
33522 name "cha:ファイル出力形式"
33529 \begin_layout Section
33531 \begin_inset Index idx
33534 \begin_layout Plain Layout
33535 ふぁいるしょしき@ファイル書式 ! DVI
33541 \begin_inset Index idx
33544 \begin_layout Plain Layout
33549 \begin_layout Plain Layout
33560 \begin_layout Plain Layout
33575 \begin_layout Standard
33580 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
33581 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
33582 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
33585 \begin_layout Standard
33586 \begin_inset Note Greyedout
33589 \begin_layout Plain Layout
33590 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
33599 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
33600 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
33604 \begin_layout Standard
33609 \SpecialChar \menuseparator
33614 \SpecialChar \menuseparator
33619 メニューを使用して、DVIに書き出すことができます。また、
33624 \begin_inset Graphics
33625 filename ../../images/buffer-view_dvi.png
33627 scaleBeforeRotation
33631 を使用すれば、使用中の文書をDVIで表示させることができます。
33634 \begin_layout Section
33636 \begin_inset CommandInset label
33638 name "sec:PostScript"
33643 \begin_inset Index idx
33646 \begin_layout Plain Layout
33647 ふぁいるしょしき@ファイル書式 ! PostScript
33653 \begin_inset Index idx
33656 \begin_layout Plain Layout
33661 \begin_layout Plain Layout
33672 \begin_layout Plain Layout
33687 \begin_layout Standard
33696 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
33697 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
33701 \begin_layout Plain Layout
33702 これについてもう少し学ぶ気があれば、LaTeXパッケージ
33707 \begin_inset CommandInset citation
33718 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
33721 \begin_layout Standard
33722 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
33726 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
33727 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
33728 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
33729 を直接EPSとして入れておく方がよいでしょう。
33732 \begin_layout Standard
33737 \SpecialChar \menuseparator
33742 \SpecialChar \menuseparator
33747 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
33752 \begin_inset Graphics
33753 filename ../../images/buffer-view_ps.png
33755 scaleBeforeRotation
33759 を使用することでPostScriptとして表示させることができます。
33762 \begin_layout Section
33764 \begin_inset Index idx
33767 \begin_layout Plain Layout
33768 ふぁいるしょしき@ファイル書式 ! PDF
33774 \begin_inset Index idx
33777 \begin_layout Plain Layout
33786 \begin_layout Standard
33791 」です。この「Portable Document Format (PDF)」は、
33795 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
33796 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
33799 \begin_layout Standard
33800 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
33808 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
33812 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
33813 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
33817 \begin_layout Standard
33822 \SpecialChar \menuseparator
33827 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
33830 \begin_layout Description
33832 \begin_inset space ~
33839 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
33843 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
33846 \begin_layout Description
33848 \begin_inset space ~
33855 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
33858 \begin_layout Description
33860 \begin_inset space ~
33867 プログラムを使って、現在のファイルを直接PDFに変換します。
33870 \begin_layout Standard
33875 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
33878 \begin_inset space ~
33887 プログラムは開発が停止しており、若干時代遅れになっています。
33890 \begin_layout Standard
33891 使用中の文書をPDFとして表示するには、
33896 \begin_inset Graphics
33897 filename ../../images/buffer-view_pdf2.png
33899 scaleBeforeRotation
33906 \begin_inset space ~
33914 \begin_layout Chapter
33916 \begin_inset CommandInset ref
33923 \begin_inset CommandInset label
33932 \begin_layout Standard
33933 \begin_inset Formula $n$
33937 \begin_inset Formula $W_{\mathrm{tot\, n}}$
33943 \begin_layout Standard
33944 \begin_inset Formula
33946 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
33954 \begin_layout Standard
33956 \begin_inset Formula $W_{g\, n}$
33965 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
33966 \begin_inset space \thinspace{}
33976 \begin_inset space \thinspace{}
33982 \begin_layout Standard
33984 \begin_inset CommandInset ref
33986 reference "eq:Wtot_n"
33991 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
33997 \begin_layout Standard
33998 \begin_inset Formula
34000 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
34008 \begin_layout Standard
34010 \begin_inset Formula $n$
34014 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
34018 \begin_inset CommandInset ref
34020 reference "eq:Wtot_n"
34025 \begin_inset CommandInset ref
34027 reference "eq:Wtot_mult"
34031 式が等しいものと置けば、必要となる固定幅
34032 \begin_inset Formula $W_{g\, n}$
34038 \begin_layout Standard
34039 \begin_inset Formula
34041 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n
34049 \begin_layout Bibliography
34050 \labelwidthstring 参考文献
34051 \begin_inset CommandInset bibitem
34052 LatexCommand bibitem
34053 key "latexcompanion"
34057 Frank Mittelbach and Michel Goossens:
34059 The LaTeX Companion Second Edition.
34062 Addison-Wesley, 2004
34065 \begin_layout Bibliography
34066 \labelwidthstring 参考文献
34067 \begin_inset CommandInset bibitem
34068 LatexCommand bibitem
34073 Helmut Kopka and Patrick W.
34076 A Guide to LaTeX Fourth Edition.
34079 Addison-Wesley, 2003
34082 \begin_layout Bibliography
34083 \labelwidthstring 参考文献
34084 \begin_inset CommandInset bibitem
34085 LatexCommand bibitem
34092 LaTeX: A Document Preparation System.
34095 Addison-Wesley, second edition, 1994
34098 \begin_layout Bibliography
34099 \labelwidthstring 参考文献
34100 \begin_inset CommandInset bibitem
34101 LatexCommand bibitem
34109 \begin_inset CommandInset href
34112 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
34119 \begin_inset Index idx
34122 \begin_layout Plain Layout
34123 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
34131 \begin_layout Bibliography
34132 \labelwidthstring 参考文献
34133 \begin_inset CommandInset bibitem
34134 LatexCommand bibitem
34142 \begin_inset CommandInset href
34145 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
34152 \begin_inset Index idx
34155 \begin_layout Plain Layout
34156 LaTeXぱっけーじ@LaTeXパッケージ ! caption
34164 \begin_layout Bibliography
34165 \labelwidthstring 参考文献
34166 \begin_inset CommandInset bibitem
34167 LatexCommand bibitem
34175 \begin_inset CommandInset href
34178 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
34185 \begin_inset Index idx
34188 \begin_layout Plain Layout
34189 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
34197 \begin_layout Bibliography
34198 \labelwidthstring 参考文献
34199 \begin_inset CommandInset bibitem
34200 LatexCommand bibitem
34208 \begin_inset CommandInset href
34211 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
34218 \begin_inset Index idx
34221 \begin_layout Plain Layout
34222 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
34230 \begin_layout Bibliography
34231 \labelwidthstring 参考文献
34232 \begin_inset CommandInset bibitem
34233 LatexCommand bibitem
34241 \begin_inset CommandInset href
34244 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
34251 \begin_inset Index idx
34254 \begin_layout Plain Layout
34255 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
34263 \begin_layout Bibliography
34264 \labelwidthstring 参考文献
34265 \begin_inset CommandInset bibitem
34266 LatexCommand bibitem
34274 \begin_inset CommandInset href
34277 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
34284 \begin_inset Index idx
34287 \begin_layout Plain Layout
34288 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
34296 \begin_layout Bibliography
34297 \labelwidthstring 参考文献
34298 \begin_inset CommandInset bibitem
34299 LatexCommand bibitem
34307 \begin_inset CommandInset href
34310 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
34317 \begin_inset Index idx
34320 \begin_layout Plain Layout
34321 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
34329 \begin_layout Bibliography
34330 \labelwidthstring 参考文献
34331 \begin_inset CommandInset bibitem
34332 LatexCommand bibitem
34340 \begin_inset CommandInset href
34343 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
34350 \begin_inset Index idx
34353 \begin_layout Plain Layout
34354 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
34362 \begin_layout Bibliography
34363 \labelwidthstring 参考文献
34364 \begin_inset CommandInset bibitem
34365 LatexCommand bibitem
34373 \begin_inset CommandInset href
34376 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
34383 \begin_inset Index idx
34386 \begin_layout Plain Layout
34387 LaTeXぱっけーじ@LaTeXパッケージ ! listings
34395 \begin_layout Bibliography
34396 \labelwidthstring 参考文献
34397 \begin_inset CommandInset bibitem
34398 LatexCommand bibitem
34406 \begin_inset CommandInset href
34409 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
34416 \begin_inset Index idx
34419 \begin_layout Plain Layout
34420 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
34428 \begin_layout Bibliography
34429 \labelwidthstring 参考文献
34430 \begin_inset CommandInset bibitem
34431 LatexCommand bibitem
34439 \begin_inset CommandInset href
34442 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
34453 \begin_inset CommandInset href
34456 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
34461 \begin_inset Index idx
34464 \begin_layout Plain Layout
34465 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
34473 \begin_layout Bibliography
34474 \labelwidthstring 参考文献
34475 \begin_inset CommandInset bibitem
34476 LatexCommand bibitem
34484 \begin_inset CommandInset href
34487 target "http://tug.org/PSTricks/"
34494 \begin_inset Index idx
34497 \begin_layout Plain Layout
34498 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
34506 \begin_layout Bibliography
34507 \labelwidthstring 参考文献
34508 \begin_inset CommandInset bibitem
34509 LatexCommand bibitem
34517 \begin_inset CommandInset href
34520 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
34527 \begin_inset Index idx
34530 \begin_layout Plain Layout
34531 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
34539 \begin_layout Bibliography
34540 \labelwidthstring 参考文献
34541 \begin_inset CommandInset bibitem
34542 LatexCommand bibitem
34550 \begin_inset CommandInset href
34553 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
34560 \begin_inset Index idx
34563 \begin_layout Plain Layout
34564 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
34572 \begin_layout Bibliography
34573 \labelwidthstring 参考文献
34574 \begin_inset CommandInset bibitem
34575 LatexCommand bibitem
34583 \begin_inset CommandInset href
34586 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
34593 \begin_inset Index idx
34596 \begin_layout Plain Layout
34597 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
34605 \begin_layout Bibliography
34606 \labelwidthstring 参考文献
34607 \begin_inset CommandInset bibitem
34608 LatexCommand bibitem
34618 \begin_inset CommandInset href
34621 target "http://wiki.lyx.org/LyX/NewInLyX20"
34628 \begin_layout Standard
34629 \begin_inset CommandInset index_print
34630 LatexCommand printindex