1 #LyX 2.0.0svn 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 % provides special table cell alignments
68 % increase the bottom float placement fraction
69 \renewcommand{\bottomfraction}{0.5}
71 % avoids that floats are placed before their
72 % corresponding section starts
73 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
75 % speed up the longtable calculation
76 \setcounter{LTchunksize}{100}
78 % used for scaled and rotated boxes
79 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
81 % used for colored tables
82 \@ifundefined{textcolor}
83 {\usepackage{color}}{}
84 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
85 \definecolor{lightgrey}{gray}{0.8}
87 % check for package colortbl
88 % used for colored table cells
90 \IfFileExists{colortbl.sty}
91 {\usepackage{colortbl}
92 \setboolean{colortbl}{true}}
93 {\setboolean{colortbl}{false}}
97 %\renewcommand{\multirowsetup}{\centering}
99 % used for book-style tables
100 \usepackage{booktabs}
102 % used to have extra space in table cells
103 \@ifundefined{extrarowheight}
104 {\usepackage{array}}{}
105 \setlength{\extrarowheight}{2pt}
107 % used for customized tables
110 {>{\centering\hspace{0pt}}m{#1}}
113 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
116 {>{\columncolor{#1}\hspace{0pt}}c}
118 \newcolumntype{V}{!{\vrule width 1.5pt}}
120 \newcolumntype{W}{!{\color{green}\vline}}
123 % insert additional vertical space of
124 % 1.5 mm between footnotes
126 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
128 % number algorithm floats within chapters
129 \numberwithin{algorithm}{chapter}
132 % ------------------------------------
133 % used to check for needed LaTeX packages
136 % check for package arydshln
137 % used for tables with dashed lines
138 \newboolean{arydshln}
139 \IfFileExists{arydshln.sty}
140 {\usepackage{arydshln}
141 \setboolean{arydshln}{true}}
142 {\setboolean{arydshln}{false}}
144 % check for package marginnote
145 % used for margin notes
146 \newboolean{marginnote}
147 \IfFileExists{marginnote.sty}
148 {\usepackage{marginnote}
149 \let\marginpar\marginnote
150 \setboolean{marginnote}{true}}
151 {\setboolean{marginnote}{false}}
153 % check for package sidecap
154 % used for captions on the side
156 \IfFileExists{sidecap.sty}
157 {\usepackage{sidecap}
158 \setboolean{sidecap}{true}}
159 {\setboolean{sidecap}{false}}
161 % redefine the \LyX macro for PDF bookmarks
162 \def\LyX{\texorpdfstring{%
163 L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
167 \renewcommand{\seename}{→}
170 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
171 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
173 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
174 \use_default_options false
175 \maintain_unincluded_children false
181 \font_typewriter default
182 \font_default_family default
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
246 \html_be_strict false
252 LyXにおける図表・フロート・注釈・ボックス・外部素材の詳細についての説明書
260 \begin_layout Plain Layout
262 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
263 \begin_inset CommandInset href
265 name "lyx-docs@lists.lyx.org"
266 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
277 \begin_inset Note Note
280 \begin_layout Plain Layout
287 \begin_inset Newline newline
291 \begin_inset Newline newline
299 \begin_layout Standard
300 \begin_inset CommandInset toc
301 LatexCommand tableofcontents
308 \begin_layout Standard
309 \begin_inset Note Note
312 \begin_layout Plain Layout
313 本文書の全体をPDFやPS、DVIに書き出すには、
329 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
333 \begin_layout Plain Layout
335 \begin_inset Newline newline
340 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
343 \begin_inset Newline newline
354 \begin_layout Chapter
356 \begin_inset Index idx
359 \begin_layout Plain Layout
366 \begin_inset Index idx
369 \begin_layout Plain Layout
374 \begin_layout Plain Layout
385 \begin_layout Plain Layout
400 \begin_layout Section
402 \begin_inset Index idx
405 \begin_layout Plain Layout
406 ず@図 ! がぞうだいあろぐ@画像ダイアログ
412 \begin_inset CommandInset label
421 \begin_layout Standard
422 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
423 \begin_inset Graphics
424 filename ../../images/dialog-show-new-inset_graphics.png
432 挿入\SpecialChar \menuseparator
435 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
438 \begin_layout Standard
439 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
442 \begin_layout Description
447 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
448 \begin_inset CommandInset ref
450 reference "cha:LyXで使用できる単位"
455 \begin_inset Newline newline
459 \begin_inset Index idx
462 \begin_layout Plain Layout
468 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
469 \begin_inset Newline newline
473 \begin_inset Index idx
476 \begin_layout Plain Layout
482 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
483 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
487 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
488 \begin_inset Newline newline
491 画像を右クリックすると現れるコンテクストメニューで
495 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
499 \begin_layout Description
504 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
508 ボタンを押すことによって、自動的に計算することもできます。
512 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
515 \begin_layout Description
520 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
523 \begin_inset Newline newline
528 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
531 \begin_inset Newline newline
540 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
542 \begin_inset Newline newline
545 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
546 \begin_inset CommandInset ref
548 reference "sec:PostScript"
552 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
553 \begin_inset Newline newline
561 \begin_inset Newline newline
566 zgrep %%Bounding x.eps.gz > x.eps.bb
569 \begin_inset Newline newline
572 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
573 \begin_inset Newline newline
580 フィールドでは、画像設定グループを定義したり既存のグループに所属させたりすることができます
581 \begin_inset Index idx
584 \begin_layout Plain Layout
585 ず@図 ! せっていぐるーぷ@設定グループ
590 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
591 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
592 ーを使用して、望むグループ名をチェックすることで行うこともできます。
595 \begin_layout Standard
596 \begin_inset VSpace bigskip
602 \begin_layout Standard
607 \begin_layout Plain Layout
609 \begin_inset CommandInset ref
620 の画像の例で、単独の中央揃えの段落に置いてあります。
623 \begin_layout Standard
625 \begin_inset Graphics
626 filename ../clipart/mobius.eps
636 \begin_layout Standard
637 下記は上と同じ画像ですが、下書きモードのものです。
640 \begin_layout Standard
642 \begin_inset Graphics
643 filename ../clipart/mobius.eps
654 \begin_layout Standard
655 \begin_inset Newpage newpage
661 \begin_layout Section
663 \begin_inset CommandInset label
670 \begin_inset Index idx
673 \begin_layout Plain Layout
680 \begin_inset Index idx
683 \begin_layout Plain Layout
692 \begin_layout Standard
694 \begin_inset CommandInset ref
696 reference "sec:フロートはじめに"
703 \begin_layout Standard
705 \begin_inset Graphics
706 filename ../../images/float-insert_figure.png
714 挿入\SpecialChar \menuseparator
715 フロート\SpecialChar \menuseparator
718 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
719 \begin_inset CommandInset ref
721 reference "fig:犠牲のカモノハシ"
725 のようにキャプションの上に置くこともできますし、図
726 \begin_inset CommandInset ref
728 reference "fig:エッシャー"
732 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
733 \begin_inset CommandInset ref
735 reference "sec:キャプションの配置"
742 \begin_layout Standard
743 \begin_inset Float figure
748 \begin_layout Plain Layout
750 \begin_inset Graphics
751 filename ../clipart/platypus.eps
761 \begin_layout Plain Layout
764 \begin_layout Plain Layout
765 \begin_inset CommandInset label
784 \begin_layout Standard
785 \begin_inset Float figure
790 \begin_layout Plain Layout
793 \begin_layout Plain Layout
794 \begin_inset CommandInset label
808 \begin_layout Plain Layout
810 \begin_inset Graphics
811 filename ../clipart/escher-lsd.eps
826 \begin_layout Standard
827 \begin_inset Index idx
830 \begin_layout Plain Layout
831 さんしょう@参照 ! ずへの@図への ---
837 \begin_inset CommandInset ref
839 reference "fig:犠牲のカモノハシ"
844 \begin_inset CommandInset ref
846 reference "fig:エッシャー"
850 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
852 挿入\SpecialChar \menuseparator
856 \begin_inset Graphics
857 filename ../../images/label-insert.png
863 を使用して、キャプションにラベルを挿入してください。その後、
865 挿入\SpecialChar \menuseparator
869 \begin_inset Graphics
870 filename ../../images/dialog-show-new-inset_ref.png
876 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
877 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
878 \begin_inset Newline newline
882 \begin_inset CommandInset ref
884 reference "sec:フロートの参照"
891 \begin_layout Standard
892 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
893 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
894 \begin_inset CommandInset ref
896 reference "fig:歪められた二つの像"
900 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
901 \begin_inset CommandInset ref
903 reference "fig:何かわからない構造"
908 \begin_inset CommandInset ref
910 reference "fig:カモノハシ"
917 \begin_layout Standard
918 \begin_inset Float figure
923 \begin_layout Plain Layout
924 \begin_inset space \hfill{}
928 \begin_inset Float figure
933 \begin_layout Plain Layout
936 \begin_layout Plain Layout
937 \begin_inset CommandInset label
951 \begin_layout Plain Layout
952 \begin_inset Graphics
953 filename ../clipart/escher-lsd.eps
966 \begin_inset space \hfill{}
970 \begin_inset Float figure
975 \begin_layout Plain Layout
978 \begin_layout Plain Layout
979 \begin_inset CommandInset label
993 \begin_layout Plain Layout
994 \begin_inset Graphics
995 filename ../clipart/platypus.eps
1008 \begin_inset space \hfill{}
1014 \begin_layout Plain Layout
1015 \begin_inset Caption
1017 \begin_layout Plain Layout
1018 \begin_inset CommandInset label
1020 name "fig:歪められた二つの像"
1024 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1037 \begin_layout Standard
1038 \begin_inset Newpage newpage
1044 \begin_layout Section
1046 \begin_inset CommandInset label
1053 \begin_inset Index idx
1056 \begin_layout Plain Layout
1063 \begin_inset Index idx
1066 \begin_layout Plain Layout
1075 \begin_layout Standard
1076 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1077 \begin_inset CommandInset ref
1079 reference "cha:ファイル出力形式"
1083 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1088 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1089 用するとよいでしょう。出力ファイル書式は、付録
1090 \begin_inset CommandInset ref
1092 reference "cha:ファイル出力形式"
1099 \begin_layout Standard
1100 フォントと同じく、画像形式にも以下の二つの型があります。
1103 \begin_layout Description
1104 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1105 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1110 \begin_inset Index idx
1113 \begin_layout Plain Layout
1118 \begin_layout Plain Layout
1129 \begin_layout Plain Layout
1141 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1146 \begin_inset Index idx
1149 \begin_layout Plain Layout
1154 \begin_layout Plain Layout
1165 \begin_layout Plain Layout
1177 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1186 \begin_inset Index idx
1189 \begin_layout Plain Layout
1194 \begin_layout Plain Layout
1205 \begin_layout Plain Layout
1220 \begin_layout Description
1221 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1222 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1224 \begin_inset Newline newline
1227 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1232 \begin_inset Index idx
1235 \begin_layout Plain Layout
1240 \begin_layout Plain Layout
1251 \begin_layout Plain Layout
1263 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1268 \begin_inset Index idx
1271 \begin_layout Plain Layout
1276 \begin_layout Plain Layout
1287 \begin_layout Plain Layout
1299 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1304 \begin_inset Index idx
1307 \begin_layout Plain Layout
1313 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1318 \begin_inset Index idx
1321 \begin_layout Plain Layout
1326 \begin_layout Plain Layout
1337 \begin_layout Plain Layout
1349 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1350 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1354 \begin_layout Plain Layout
1355 PDFの場合には、さらに元画像が圧縮されます。
1364 が生成するPDFファイルは、ビットマップ画像です。
1367 \begin_layout Standard
1368 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1369 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1370 \begin_inset Formula $\to$
1373 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1376 \begin_layout Chapter
1378 \begin_inset Index idx
1381 \begin_layout Plain Layout
1390 \begin_layout Section
1392 \begin_inset Index idx
1395 \begin_layout Plain Layout
1404 \begin_layout Standard
1415 \begin_inset Graphics
1416 filename ../../images/tabular-insert.png
1430 挿入\SpecialChar \menuseparator
1433 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1434 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1435 \begin_inset Newline newline
1438 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1439 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1442 \begin_layout Standard
1444 \begin_inset Tabular
1445 <lyxtabular version="3" rows="4" columns="4">
1446 <features tabularvalignment="middle">
1447 <column alignment="center" valignment="top" width="0">
1448 <column alignment="center" valignment="top" width="0">
1449 <column alignment="center" valignment="top" width="0">
1450 <column alignment="center" valignment="top" width="0">
1452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1455 \begin_layout Plain Layout
1461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1464 \begin_layout Plain Layout
1470 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1473 \begin_layout Plain Layout
1479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1482 \begin_layout Plain Layout
1490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1493 \begin_layout Plain Layout
1499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1502 \begin_layout Plain Layout
1508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1511 \begin_layout Plain Layout
1517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1520 \begin_layout Plain Layout
1528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1531 \begin_layout Plain Layout
1537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1540 \begin_layout Plain Layout
1546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1549 \begin_layout Plain Layout
1555 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1558 \begin_layout Plain Layout
1566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1569 \begin_layout Plain Layout
1575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1578 \begin_layout Plain Layout
1584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1587 \begin_layout Plain Layout
1593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1596 \begin_layout Plain Layout
1610 \begin_layout Section
1612 \begin_inset Index idx
1615 \begin_layout Plain Layout
1624 \begin_layout Standard
1634 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1635 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1648 を選択するのと、セル自体を選択するのは違うことに注意して下さい。表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1651 \begin_layout Description
1656 ここでは、現在列の幅と水平揃えを設定することができます。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセ
1657 ルに入れることができます。これに関しては、第
1658 \begin_inset CommandInset ref
1664 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1665 \begin_inset Newline newline
1668 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1669 \begin_inset CommandInset ref
1677 or the cells of one column as multirow cell, see section
1678 \begin_inset space ~
1684 \begin_inset Newline newline
1687 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1688 \begin_inset Newline newline
1692 \begin_inset Note Greyedout
1695 \begin_layout Plain Layout
1700 DVIビューアのすべてが回転を表示できるわけではありません。
1706 \begin_inset Newline newline
1709 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1710 \begin_inset CommandInset ref
1712 reference "sub:連結列の計算"
1717 \begin_inset CommandInset ref
1719 reference "sec:色付きの表"
1726 \begin_layout Description
1731 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1732 \begin_inset Newline newline
1740 \begin_inset CommandInset ref
1742 reference "sec:フォーマル形式の表"
1746 節に述べられているフォーマル様式の表に表を変換します。
1747 \begin_inset Newline newline
1751 \begin_inset CommandInset ref
1753 reference "sub:行の余白取り"
1757 節に述べられているように、表の行に空白を追加することもできます。
1760 \begin_layout Description
1765 このタブは、複数のページにわたる、いわゆる「
1770 \begin_inset CommandInset ref
1777 \begin_inset CommandInset ref
1779 reference "sec:長尺表にまつわる諸点"
1783 節に、長尺表の機能に関する詳細な説明があります。
1786 \begin_layout Standard
1787 表ダイアログを開いたままでも、セル間をカーソルを使って移動することができ、その際、現在セルの特性が直ちにダイアログに表示されます。
1790 \begin_layout Section
1792 \begin_inset Index idx
1795 \begin_layout Plain Layout
1804 \begin_layout Standard
1805 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
1806 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
1809 \begin_layout Standard
1810 ツールバーには、以下のアイコンがあります。
1813 \begin_layout Labeling
1814 \begin_inset Graphics
1815 filename ../../images/tabular-feature_append-row.png
1820 は、現在セルあるいは選択範囲の下に行を追加します。
1823 \begin_layout Labeling
1824 \begin_inset Graphics
1825 filename ../../images/tabular-feature_append-column.png
1830 は、現在セルあるいは選択範囲の右に列を追加します。
1833 \begin_layout Labeling
1834 \begin_inset Graphics
1835 filename ../../images/tabular-feature_delete-row.png
1840 は、現在行あるいは選択範囲行を削除します。
1843 \begin_layout Labeling
1844 \begin_inset Graphics
1845 filename ../../images/tabular-feature_delete-column.png
1850 は、現在列あるいは選択範囲列を削除します。
1853 \begin_layout Labeling
1854 \begin_inset Graphics
1855 filename ../../images/tabular-feature_toggle-line-top.png
1860 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
1863 \begin_layout Labeling
1864 \begin_inset Graphics
1865 filename ../../images/tabular-feature_toggle-line-bottom.png
1870 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
1873 \begin_layout Labeling
1874 \begin_inset Graphics
1875 filename ../../images/tabular-feature_toggle-line-left.png
1880 は、 現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
1883 \begin_layout Labeling
1884 \begin_inset Graphics
1885 filename ../../images/tabular-feature_toggle-line-right.png
1890 は、 現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
1893 \begin_layout Labeling
1894 \begin_inset Graphics
1895 filename ../../images/tabular-feature_set-all-lines.png
1900 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
1903 \begin_layout Labeling
1904 \begin_inset Graphics
1905 filename ../../images/tabular-feature_unset-all-lines.png
1910 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
1913 \begin_layout Labeling
1914 \begin_inset Graphics
1915 filename ../../images/tabular-feature_m-align-left.png
1920 は、現在セルあるいは現在列の内容を左揃えにします。
1923 \begin_layout Labeling
1924 \begin_inset Graphics
1925 filename ../../images/tabular-feature_m-align-center.png
1930 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
1933 \begin_layout Labeling
1934 \begin_inset Graphics
1935 filename ../../images/tabular-feature_m-align-right.png
1940 は、現在セルあるいは現在列の内容を右揃えにします。
1943 \begin_layout Labeling
1944 \begin_inset Graphics
1945 filename ../../images/tabular-feature_align-decimal.png
1952 aligns the content of the current column at a character
1955 \begin_layout Labeling
1956 \begin_inset Graphics
1957 filename ../../images/tabular-feature_m-valign-top.png
1962 は、現在セルの内容を垂直方向上揃えにします。
1965 \begin_layout Labeling
1966 \begin_inset Graphics
1967 filename ../../images/tabular-feature_m-valign-middle.png
1972 は、現在セルの内容を垂直方向中央揃えにします。
1975 \begin_layout Labeling
1976 \begin_inset Graphics
1977 filename ../../images/tabular-feature_m-valign-bottom.png
1982 は、現在セルの内容を垂直方向下揃えにします。
1985 \begin_layout Labeling
1986 \begin_inset Graphics
1987 filename ../../images/tabular-feature_set-rotate-cell.png
1992 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
1995 \begin_layout Labeling
1996 \begin_inset Graphics
1997 filename ../../images/tabular-feature_set-rotate-tabular.png
2002 は、表全体を反時計廻りに90度回転します。
2005 \begin_layout Labeling
2006 \begin_inset Graphics
2007 filename ../../images/tabular-feature_multicolumn.png
2012 は、現在セルあるいは選択範囲を連結列にします。
2015 \begin_layout Labeling
2016 \begin_inset Graphics
2017 filename ../../images/tabular-feature_multirow.png
2024 sets the current cell or selection as a multirow
2027 \begin_layout Standard
2028 \begin_inset Note Greyedout
2031 \begin_layout Plain Layout
2036 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2044 \begin_layout Section
2046 \begin_inset Index idx
2049 \begin_layout Plain Layout
2050 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2058 \begin_layout Standard
2061 編集\SpecialChar \menuseparator
2064 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2068 \begin_layout Section
2070 \begin_inset CommandInset label
2077 \begin_inset Index idx
2080 \begin_layout Plain Layout
2087 \begin_inset Index idx
2090 \begin_layout Plain Layout
2099 \begin_layout Standard
2101 \begin_inset CommandInset ref
2103 reference "sec:フロートはじめに"
2110 \begin_layout Standard
2111 \begin_inset Float table
2117 \begin_layout Plain Layout
2118 \begin_inset Caption
2120 \begin_layout Plain Layout
2121 \begin_inset CommandInset label
2135 \begin_layout Plain Layout
2137 \begin_inset Tabular
2138 <lyxtabular version="3" rows="3" columns="3">
2139 <features tabularvalignment="middle">
2140 <column alignment="center" valignment="top" width="0pt">
2141 <column alignment="center" valignment="top" width="0pt">
2142 <column alignment="center" valignment="top" width="0pt">
2144 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2147 \begin_layout Plain Layout
2162 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2165 \begin_layout Plain Layout
2180 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2183 \begin_layout Plain Layout
2200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2203 \begin_layout Plain Layout
2209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2212 \begin_layout Plain Layout
2218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2221 \begin_layout Plain Layout
2229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2232 \begin_layout Plain Layout
2242 \begin_inset Formula $\int x^{2}dx$
2250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2253 \begin_layout Plain Layout
2263 \begin_inset Formula $\left[\begin{array}{cc}
2274 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2277 \begin_layout Plain Layout
2287 \begin_inset Formula $1+1=2$
2308 \begin_layout Standard
2313 \SpecialChar \menuseparator
2314 フロート\SpecialChar \menuseparator
2319 \begin_inset Graphics
2320 filename ../../images/float-insert_table.png
2329 \begin_layout Standard
2330 フロートは折りたたむことのできるボックスとして表示され、中には「表
2331 \begin_inset space ~
2334 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2337 \begin_layout Standard
2339 \begin_inset space ~
2343 \begin_inset CommandInset ref
2345 reference "tab:表フロート"
2352 \begin_layout Standard
2353 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2354 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2360 \begin_inset Index idx
2363 \begin_layout Plain Layout
2364 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2372 \begin_layout Standard
2378 \begin_layout Standard
2379 というオプションとともにloadコマンドを使って読み込んでください
2383 \begin_layout Plain Layout
2385 \begin_inset CommandInset ref
2387 reference "sec:キャプションの配置"
2397 \begin_inset CommandInset ref
2399 reference "sec:キャプションの書式設定"
2410 \begin_layout Standard
2411 \begin_inset Index idx
2414 \begin_layout Plain Layout
2415 さんしょう@参照 ! ひょうへの@表への
2420 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2422 挿入\SpecialChar \menuseparator
2426 \begin_inset Graphics
2427 filename ../../images/label-insert.png
2433 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2435 \begin_inset Graphics
2436 filename ../../images/dialog-show-new-inset_ref.png
2442 を用いて、このラベルを参照することができます。
2443 \begin_inset Newline newline
2447 \begin_inset CommandInset ref
2449 reference "sec:フロートの参照"
2456 \begin_layout Section
2458 \begin_inset CommandInset label
2465 \begin_inset Index idx
2468 \begin_layout Plain Layout
2475 \begin_inset Index idx
2478 \begin_layout Plain Layout
2479 ひょう@表 ! ちょうしゃくひょう@長尺表
2487 \begin_layout Standard
2488 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2496 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2500 \begin_layout Description
2501 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2528 が定義されているときは、冒頭ページを除きます。
2537 これと区別して、このヘッダは本体ヘッダと呼びます。
2540 \begin_layout Description
2541 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2544 \begin_layout Description
2545 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2572 が定義されているときは、末尾ページを除きます。
2575 \begin_layout Description
2576 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2579 \begin_layout Description
2580 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2581 \begin_inset CommandInset ref
2583 reference "sub:長尺表のキャプション"
2590 \begin_layout Standard
2591 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2594 \begin_layout Standard
2596 \begin_inset Tabular
2597 <lyxtabular version="3" rows="69" columns="3">
2598 <features islongtable="true" longtabularalignment="center">
2599 <column alignment="left" valignment="top" width="0cm">
2600 <column alignment="left" valignment="top" width="0pt">
2601 <column alignment="center" valignment="top" width="0pt">
2602 <row endfirsthead="true">
2603 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2606 \begin_layout Plain Layout
2614 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2617 \begin_layout Plain Layout
2623 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2626 \begin_layout Plain Layout
2633 <row endfirsthead="true">
2634 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2637 \begin_layout Plain Layout
2643 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2646 \begin_layout Plain Layout
2652 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2655 \begin_layout Plain Layout
2664 <row endhead="true">
2665 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2668 \begin_layout Plain Layout
2676 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2679 \begin_layout Plain Layout
2685 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2688 \begin_layout Plain Layout
2695 <row endhead="true">
2696 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2699 \begin_layout Plain Layout
2705 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2708 \begin_layout Plain Layout
2714 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2717 \begin_layout Plain Layout
2726 <row endfoot="true">
2727 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2730 \begin_layout Plain Layout
2736 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2739 \begin_layout Plain Layout
2745 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2748 \begin_layout Plain Layout
2756 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2759 \begin_layout Plain Layout
2767 <cell alignment="center" valignment="top" usebox="none">
2770 \begin_layout Plain Layout
2776 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
2779 \begin_layout Plain Layout
2787 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2790 \begin_layout Plain Layout
2798 <cell alignment="center" valignment="top" usebox="none">
2801 \begin_layout Plain Layout
2807 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2810 \begin_layout Plain Layout
2818 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2821 \begin_layout Plain Layout
2829 <cell alignment="center" valignment="top" usebox="none">
2832 \begin_layout Plain Layout
2838 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2841 \begin_layout Plain Layout
2849 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2852 \begin_layout Plain Layout
2860 <cell alignment="center" valignment="top" usebox="none">
2863 \begin_layout Plain Layout
2869 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2872 \begin_layout Plain Layout
2880 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2883 \begin_layout Plain Layout
2891 <cell alignment="center" valignment="top" usebox="none">
2894 \begin_layout Plain Layout
2900 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2903 \begin_layout Plain Layout
2911 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2914 \begin_layout Plain Layout
2922 <cell alignment="center" valignment="top" usebox="none">
2925 \begin_layout Plain Layout
2931 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2934 \begin_layout Plain Layout
2942 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2945 \begin_layout Plain Layout
2953 <cell alignment="center" valignment="top" usebox="none">
2956 \begin_layout Plain Layout
2962 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2965 \begin_layout Plain Layout
2973 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2976 \begin_layout Plain Layout
2984 <cell alignment="center" valignment="top" usebox="none">
2987 \begin_layout Plain Layout
2993 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2996 \begin_layout Plain Layout
3004 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3007 \begin_layout Plain Layout
3015 <cell alignment="center" valignment="top" usebox="none">
3018 \begin_layout Plain Layout
3024 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3027 \begin_layout Plain Layout
3035 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3038 \begin_layout Plain Layout
3046 <cell alignment="center" valignment="top" usebox="none">
3049 \begin_layout Plain Layout
3055 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3058 \begin_layout Plain Layout
3066 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3069 \begin_layout Plain Layout
3077 <cell alignment="center" valignment="top" usebox="none">
3080 \begin_layout Plain Layout
3086 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3089 \begin_layout Plain Layout
3097 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3100 \begin_layout Plain Layout
3108 <cell alignment="center" valignment="top" usebox="none">
3111 \begin_layout Plain Layout
3117 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3120 \begin_layout Plain Layout
3128 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3131 \begin_layout Plain Layout
3139 <cell alignment="center" valignment="top" usebox="none">
3142 \begin_layout Plain Layout
3148 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3151 \begin_layout Plain Layout
3159 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3162 \begin_layout Plain Layout
3170 <cell alignment="center" valignment="top" usebox="none">
3173 \begin_layout Plain Layout
3179 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3182 \begin_layout Plain Layout
3190 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3193 \begin_layout Plain Layout
3201 <cell alignment="center" valignment="top" usebox="none">
3204 \begin_layout Plain Layout
3210 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3213 \begin_layout Plain Layout
3221 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3224 \begin_layout Plain Layout
3232 <cell alignment="center" valignment="top" usebox="none">
3235 \begin_layout Plain Layout
3241 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3244 \begin_layout Plain Layout
3252 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3255 \begin_layout Plain Layout
3263 <cell alignment="center" valignment="top" usebox="none">
3266 \begin_layout Plain Layout
3272 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3275 \begin_layout Plain Layout
3283 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3286 \begin_layout Plain Layout
3294 <cell alignment="center" valignment="top" usebox="none">
3297 \begin_layout Plain Layout
3303 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3306 \begin_layout Plain Layout
3314 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3317 \begin_layout Plain Layout
3325 <cell alignment="center" valignment="top" usebox="none">
3328 \begin_layout Plain Layout
3334 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3337 \begin_layout Plain Layout
3345 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3348 \begin_layout Plain Layout
3356 <cell alignment="center" valignment="top" usebox="none">
3359 \begin_layout Plain Layout
3365 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3368 \begin_layout Plain Layout
3376 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3379 \begin_layout Plain Layout
3387 <cell alignment="center" valignment="top" usebox="none">
3390 \begin_layout Plain Layout
3396 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3399 \begin_layout Plain Layout
3407 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3410 \begin_layout Plain Layout
3418 <cell alignment="center" valignment="top" usebox="none">
3421 \begin_layout Plain Layout
3427 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3430 \begin_layout Plain Layout
3438 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3441 \begin_layout Plain Layout
3449 <cell alignment="center" valignment="top" usebox="none">
3452 \begin_layout Plain Layout
3458 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3461 \begin_layout Plain Layout
3469 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3472 \begin_layout Plain Layout
3480 <cell alignment="center" valignment="top" usebox="none">
3483 \begin_layout Plain Layout
3489 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3492 \begin_layout Plain Layout
3500 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3503 \begin_layout Plain Layout
3511 <cell alignment="center" valignment="top" usebox="none">
3514 \begin_layout Plain Layout
3520 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3523 \begin_layout Plain Layout
3531 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3534 \begin_layout Plain Layout
3542 <cell alignment="center" valignment="top" usebox="none">
3545 \begin_layout Plain Layout
3551 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3554 \begin_layout Plain Layout
3562 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3565 \begin_layout Plain Layout
3573 <cell alignment="center" valignment="top" usebox="none">
3576 \begin_layout Plain Layout
3582 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3585 \begin_layout Plain Layout
3593 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3596 \begin_layout Plain Layout
3604 <cell alignment="center" valignment="top" usebox="none">
3607 \begin_layout Plain Layout
3613 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3616 \begin_layout Plain Layout
3624 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3627 \begin_layout Plain Layout
3635 <cell alignment="center" valignment="top" usebox="none">
3638 \begin_layout Plain Layout
3644 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3647 \begin_layout Plain Layout
3655 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3658 \begin_layout Plain Layout
3666 <cell alignment="center" valignment="top" usebox="none">
3669 \begin_layout Plain Layout
3675 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3678 \begin_layout Plain Layout
3686 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3689 \begin_layout Plain Layout
3697 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3700 \begin_layout Plain Layout
3706 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3709 \begin_layout Plain Layout
3717 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3720 \begin_layout Plain Layout
3726 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3729 \begin_layout Plain Layout
3735 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3738 \begin_layout Plain Layout
3746 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3749 \begin_layout Plain Layout
3757 <cell alignment="center" valignment="top" usebox="none">
3760 \begin_layout Plain Layout
3766 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3769 \begin_layout Plain Layout
3777 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3780 \begin_layout Plain Layout
3788 <cell alignment="center" valignment="top" usebox="none">
3791 \begin_layout Plain Layout
3797 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3800 \begin_layout Plain Layout
3808 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3811 \begin_layout Plain Layout
3819 <cell alignment="center" valignment="top" usebox="none">
3822 \begin_layout Plain Layout
3828 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3831 \begin_layout Plain Layout
3839 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3842 \begin_layout Plain Layout
3850 <cell alignment="center" valignment="top" usebox="none">
3853 \begin_layout Plain Layout
3859 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3862 \begin_layout Plain Layout
3870 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3873 \begin_layout Plain Layout
3881 <cell alignment="center" valignment="top" usebox="none">
3884 \begin_layout Plain Layout
3890 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3893 \begin_layout Plain Layout
3901 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3904 \begin_layout Plain Layout
3912 <cell alignment="center" valignment="top" usebox="none">
3915 \begin_layout Plain Layout
3921 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3924 \begin_layout Plain Layout
3932 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3935 \begin_layout Plain Layout
3943 <cell alignment="center" valignment="top" usebox="none">
3946 \begin_layout Plain Layout
3952 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3955 \begin_layout Plain Layout
3963 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3966 \begin_layout Plain Layout
3974 <cell alignment="center" valignment="top" usebox="none">
3977 \begin_layout Plain Layout
3983 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3986 \begin_layout Plain Layout
3994 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3997 \begin_layout Plain Layout
4005 <cell alignment="center" valignment="top" usebox="none">
4008 \begin_layout Plain Layout
4014 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4017 \begin_layout Plain Layout
4025 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4028 \begin_layout Plain Layout
4036 <cell alignment="center" valignment="top" usebox="none">
4039 \begin_layout Plain Layout
4045 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4048 \begin_layout Plain Layout
4056 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4059 \begin_layout Plain Layout
4067 <cell alignment="center" valignment="top" usebox="none">
4070 \begin_layout Plain Layout
4076 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4079 \begin_layout Plain Layout
4087 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4090 \begin_layout Plain Layout
4098 <cell alignment="center" valignment="top" usebox="none">
4101 \begin_layout Plain Layout
4107 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4110 \begin_layout Plain Layout
4118 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4121 \begin_layout Plain Layout
4129 <cell alignment="center" valignment="top" usebox="none">
4132 \begin_layout Plain Layout
4138 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4141 \begin_layout Plain Layout
4149 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4152 \begin_layout Plain Layout
4160 <cell alignment="center" valignment="top" usebox="none">
4163 \begin_layout Plain Layout
4169 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4172 \begin_layout Plain Layout
4180 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4183 \begin_layout Plain Layout
4191 <cell alignment="center" valignment="top" usebox="none">
4194 \begin_layout Plain Layout
4200 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4203 \begin_layout Plain Layout
4211 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4214 \begin_layout Plain Layout
4222 <cell alignment="center" valignment="top" usebox="none">
4225 \begin_layout Plain Layout
4231 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4234 \begin_layout Plain Layout
4242 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4245 \begin_layout Plain Layout
4253 <cell alignment="center" valignment="top" usebox="none">
4256 \begin_layout Plain Layout
4262 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4265 \begin_layout Plain Layout
4273 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4276 \begin_layout Plain Layout
4284 <cell alignment="center" valignment="top" usebox="none">
4287 \begin_layout Plain Layout
4293 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4296 \begin_layout Plain Layout
4304 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4307 \begin_layout Plain Layout
4315 <cell alignment="center" valignment="top" usebox="none">
4318 \begin_layout Plain Layout
4324 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4327 \begin_layout Plain Layout
4335 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4338 \begin_layout Plain Layout
4346 <cell alignment="center" valignment="top" usebox="none">
4349 \begin_layout Plain Layout
4355 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4358 \begin_layout Plain Layout
4366 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4369 \begin_layout Plain Layout
4377 <cell alignment="center" valignment="top" usebox="none">
4380 \begin_layout Plain Layout
4386 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4389 \begin_layout Plain Layout
4397 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4400 \begin_layout Plain Layout
4408 <cell alignment="center" valignment="top" usebox="none">
4411 \begin_layout Plain Layout
4417 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4420 \begin_layout Plain Layout
4428 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4431 \begin_layout Plain Layout
4439 <cell alignment="center" valignment="top" usebox="none">
4442 \begin_layout Plain Layout
4448 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4451 \begin_layout Plain Layout
4459 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4462 \begin_layout Plain Layout
4470 <cell alignment="center" valignment="top" usebox="none">
4473 \begin_layout Plain Layout
4479 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4482 \begin_layout Plain Layout
4490 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4493 \begin_layout Plain Layout
4501 <cell alignment="center" valignment="top" usebox="none">
4504 \begin_layout Plain Layout
4510 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4513 \begin_layout Plain Layout
4521 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4524 \begin_layout Plain Layout
4532 <cell alignment="center" valignment="top" usebox="none">
4535 \begin_layout Plain Layout
4541 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4544 \begin_layout Plain Layout
4552 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4555 \begin_layout Plain Layout
4563 <cell alignment="center" valignment="top" usebox="none">
4566 \begin_layout Plain Layout
4572 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4575 \begin_layout Plain Layout
4583 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4586 \begin_layout Plain Layout
4594 <cell alignment="center" valignment="top" usebox="none">
4597 \begin_layout Plain Layout
4603 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4606 \begin_layout Plain Layout
4614 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4617 \begin_layout Plain Layout
4625 <cell alignment="center" valignment="top" usebox="none">
4628 \begin_layout Plain Layout
4634 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4637 \begin_layout Plain Layout
4645 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4648 \begin_layout Plain Layout
4656 <cell alignment="center" valignment="top" usebox="none">
4659 \begin_layout Plain Layout
4665 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4668 \begin_layout Plain Layout
4676 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4679 \begin_layout Plain Layout
4687 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4690 \begin_layout Plain Layout
4696 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4699 \begin_layout Plain Layout
4706 <row endlastfoot="true">
4707 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4710 \begin_layout Plain Layout
4716 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4719 \begin_layout Plain Layout
4725 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4728 \begin_layout Plain Layout
4743 \begin_layout Plain Layout
4747 addtocounter{table}{-1}
4753 \begin_inset Note Note
4756 \begin_layout Plain Layout
4758 \begin_inset CommandInset ref
4760 reference "sub:長尺表のキャプション"
4772 \begin_layout Subsection
4774 \begin_inset CommandInset label
4781 \begin_inset Index idx
4784 \begin_layout Plain Layout
4785 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
4793 \begin_layout Standard
4794 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
4795 \begin_inset CommandInset ref
4797 reference "tab:別キャプション"
4804 \begin_layout Subsection
4806 \begin_inset Index idx
4809 \begin_layout Plain Layout
4810 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
4818 \begin_layout Standard
4821 The horizontal alignment of longtables can be set in the table settings
4823 For left- and right-alignment the table will be directly at the page border.
4824 To add space between the table and the border one has to set the alignment
4825 to center and change the value of the LaTeX-lengths
4837 by inserting this line as TeX-Code before the longtable:
4840 \begin_layout Standard
4850 \begin_layout Standard
4851 という行を当該長尺表の前にTeXコードとして挿入して、長さ
4863 の値を変更しなくてはなりません。ここで「値」は、第
4864 \begin_inset CommandInset ref
4870 表に挙げてある単位であれば、どの単位を取ることもできます。
4876 は、左頁余白から長尺表までの水平方向の距離を制御し、
4882 は、右頁余白からの距離を制御します。これらの長さの既定値は
4888 となっており、LyXの水平フィルと同等になっています。
4891 \begin_layout Standard
4894 The following longtable was centered and
4916 \begin_layout Plain Layout
4932 \begin_layout Standard
4933 \begin_inset Tabular
4934 <lyxtabular version="3" rows="5" columns="5">
4935 <features islongtable="true" longtabularalignment="center">
4936 <column alignment="center" valignment="top" width="0">
4937 <column alignment="center" valignment="top" width="0">
4938 <column alignment="center" valignment="top" width="0">
4939 <column alignment="center" valignment="top" width="0">
4940 <column alignment="center" valignment="top" width="0">
4942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4945 \begin_layout Plain Layout
4951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4954 \begin_layout Plain Layout
4960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4963 \begin_layout Plain Layout
4969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4972 \begin_layout Plain Layout
4978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4981 \begin_layout Plain Layout
4989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4992 \begin_layout Plain Layout
4998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5001 \begin_layout Plain Layout
5007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5010 \begin_layout Plain Layout
5016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5019 \begin_layout Plain Layout
5025 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5028 \begin_layout Plain Layout
5036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5039 \begin_layout Plain Layout
5045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5048 \begin_layout Plain Layout
5054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5057 \begin_layout Plain Layout
5063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5066 \begin_layout Plain Layout
5072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5075 \begin_layout Plain Layout
5083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5086 \begin_layout Plain Layout
5092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5095 \begin_layout Plain Layout
5101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5104 \begin_layout Plain Layout
5110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5113 \begin_layout Plain Layout
5119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5122 \begin_layout Plain Layout
5130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5133 \begin_layout Plain Layout
5139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5142 \begin_layout Plain Layout
5148 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5151 \begin_layout Plain Layout
5157 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5160 \begin_layout Plain Layout
5166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5169 \begin_layout Plain Layout
5184 \begin_layout Plain Layout
5201 \begin_layout Plain Layout
5205 addtocounter{table}{-1}
5211 \begin_inset Note Note
5214 \begin_layout Plain Layout
5216 \begin_inset CommandInset ref
5218 reference "sub:長尺表のキャプション"
5230 \begin_layout Subsection
5232 \begin_inset Index idx
5235 \begin_layout Plain Layout
5236 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5242 \begin_inset CommandInset label
5244 name "sub:長尺表のキャプション"
5251 \begin_layout Standard
5252 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5253 \begin_inset CommandInset ref
5259 節に述べられているように、ある行で長尺表オプションの
5263 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5266 \begin_layout Standard
5267 以下は、動作を確認するための短い長尺表です。
5270 \begin_layout Standard
5271 \begin_inset Tabular
5272 <lyxtabular version="3" rows="6" columns="5">
5273 <features islongtable="true" longtabularalignment="center">
5274 <column alignment="center" valignment="top" width="0">
5275 <column alignment="center" valignment="top" width="0">
5276 <column alignment="center" valignment="top" width="0">
5277 <column alignment="center" valignment="top" width="0">
5278 <column alignment="center" valignment="top" width="0">
5279 <row caption="true">
5280 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5283 \begin_layout Plain Layout
5284 \begin_inset Caption
5286 \begin_layout Plain Layout
5288 \begin_inset Argument
5291 \begin_layout Plain Layout
5307 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5310 \begin_layout Plain Layout
5316 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5319 \begin_layout Plain Layout
5325 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5328 \begin_layout Plain Layout
5334 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5337 \begin_layout Plain Layout
5345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5348 \begin_layout Plain Layout
5354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5357 \begin_layout Plain Layout
5363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5366 \begin_layout Plain Layout
5372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5375 \begin_layout Plain Layout
5381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5384 \begin_layout Plain Layout
5392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5395 \begin_layout Plain Layout
5401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5404 \begin_layout Plain Layout
5410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5413 \begin_layout Plain Layout
5419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5422 \begin_layout Plain Layout
5428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5431 \begin_layout Plain Layout
5439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5442 \begin_layout Plain Layout
5448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5451 \begin_layout Plain Layout
5457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5460 \begin_layout Plain Layout
5466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5469 \begin_layout Plain Layout
5475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5478 \begin_layout Plain Layout
5486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5489 \begin_layout Plain Layout
5495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5498 \begin_layout Plain Layout
5504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5507 \begin_layout Plain Layout
5513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5516 \begin_layout Plain Layout
5522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5525 \begin_layout Plain Layout
5533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5536 \begin_layout Plain Layout
5542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5545 \begin_layout Plain Layout
5551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5554 \begin_layout Plain Layout
5560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5563 \begin_layout Plain Layout
5569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5572 \begin_layout Plain Layout
5586 \begin_layout Standard
5587 \begin_inset VSpace medskip
5591 \begin_inset Note Greyedout
5594 \begin_layout Plain Layout
5599 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5600 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5603 \begin_layout Plain Layout
5608 addtocounter{table}{-1}
5611 \begin_layout Plain Layout
5612 というコマンドを挿入する方法があります。
5615 \begin_layout Plain Layout
5616 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5619 \begin_layout Plain Layout
5629 \begin_inset Newline newline
5640 addtocounter{table}{-1}}
5648 \begin_layout Standard
5649 \begin_inset Note Greyedout
5652 \begin_layout Plain Layout
5670 \begin_inset Index idx
5673 \begin_layout Plain Layout
5674 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5679 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5687 \begin_layout Subsubsection
5689 \begin_inset Index idx
5692 \begin_layout Plain Layout
5693 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5701 \begin_layout Standard
5702 \begin_inset Tabular
5703 <lyxtabular version="3" rows="6" columns="5">
5704 <features islongtable="true" longtabularalignment="center">
5705 <column alignment="center" valignment="top" width="0">
5706 <column alignment="center" valignment="top" width="0">
5707 <column alignment="center" valignment="top" width="0">
5708 <column alignment="center" valignment="top" width="0">
5709 <column alignment="center" valignment="top" width="0">
5710 <row caption="true">
5711 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5714 \begin_layout Plain Layout
5715 \begin_inset Caption
5717 \begin_layout Plain Layout
5719 \begin_inset CommandInset label
5735 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5738 \begin_layout Plain Layout
5744 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5747 \begin_layout Plain Layout
5753 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5756 \begin_layout Plain Layout
5762 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5765 \begin_layout Plain Layout
5773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5776 \begin_layout Plain Layout
5782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5785 \begin_layout Plain Layout
5791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5794 \begin_layout Plain Layout
5800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5803 \begin_layout Plain Layout
5809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5812 \begin_layout Plain Layout
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5823 \begin_layout Plain Layout
5829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5832 \begin_layout Plain Layout
5838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5841 \begin_layout Plain Layout
5847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5850 \begin_layout Plain Layout
5856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5859 \begin_layout Plain Layout
5867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5870 \begin_layout Plain Layout
5876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5879 \begin_layout Plain Layout
5885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5888 \begin_layout Plain Layout
5894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5897 \begin_layout Plain Layout
5903 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5906 \begin_layout Plain Layout
5914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5917 \begin_layout Plain Layout
5923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5926 \begin_layout Plain Layout
5932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5935 \begin_layout Plain Layout
5941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5944 \begin_layout Plain Layout
5950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5953 \begin_layout Plain Layout
5961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5964 \begin_layout Plain Layout
5970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5973 \begin_layout Plain Layout
5979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5982 \begin_layout Plain Layout
5988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5991 \begin_layout Plain Layout
5997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6000 \begin_layout Plain Layout
6014 \begin_layout Standard
6015 長尺表を参照するには、キャプションにラベルを挿入してください。
6018 \begin_layout Standard
6020 \begin_inset CommandInset ref
6029 \begin_layout Standard
6030 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6035 \begin_inset Index idx
6038 \begin_layout Plain Layout
6039 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6045 \begin_inset CommandInset ref
6047 reference "sec:キャプションの書式設定"
6054 \begin_layout Subsubsection
6056 \begin_inset Index idx
6059 \begin_layout Plain Layout
6060 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6068 \begin_layout Standard
6075 によって指定することができます。既定値は4
6076 \begin_inset space \thinspace{}
6079 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6082 \begin_layout Standard
6092 \begin_layout Standard
6093 というコマンドを書き加えて下さい。ここで「幅」には、付録
6094 \begin_inset CommandInset ref
6096 reference "cha:LyXで使用できる単位"
6100 に挙げられている単位を取ることができます。
6103 \begin_layout Standard
6107 \begin_layout Standard
6108 \begin_inset Tabular
6109 <lyxtabular version="3" rows="6" columns="5">
6110 <features islongtable="true" longtabularalignment="center">
6111 <column alignment="center" valignment="top" width="0">
6112 <column alignment="center" valignment="top" width="0">
6113 <column alignment="center" valignment="top" width="0">
6114 <column alignment="center" valignment="top" width="0">
6115 <column alignment="center" valignment="top" width="0">
6116 <row caption="true">
6117 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6120 \begin_layout Plain Layout
6121 \begin_inset Caption
6123 \begin_layout Plain Layout
6124 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6125 \begin_inset Argument
6128 \begin_layout Plain Layout
6144 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6147 \begin_layout Plain Layout
6153 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6156 \begin_layout Plain Layout
6162 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6165 \begin_layout Plain Layout
6171 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6174 \begin_layout Plain Layout
6182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6185 \begin_layout Plain Layout
6191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6194 \begin_layout Plain Layout
6200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6203 \begin_layout Plain Layout
6209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6212 \begin_layout Plain Layout
6218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6221 \begin_layout Plain Layout
6229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6232 \begin_layout Plain Layout
6238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6241 \begin_layout Plain Layout
6247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6250 \begin_layout Plain Layout
6256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6259 \begin_layout Plain Layout
6265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6268 \begin_layout Plain Layout
6276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6279 \begin_layout Plain Layout
6285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6288 \begin_layout Plain Layout
6294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6297 \begin_layout Plain Layout
6303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6306 \begin_layout Plain Layout
6312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6315 \begin_layout Plain Layout
6323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6326 \begin_layout Plain Layout
6332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6335 \begin_layout Plain Layout
6341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6344 \begin_layout Plain Layout
6350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6353 \begin_layout Plain Layout
6359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6362 \begin_layout Plain Layout
6370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6373 \begin_layout Plain Layout
6379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6382 \begin_layout Plain Layout
6388 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6391 \begin_layout Plain Layout
6397 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6400 \begin_layout Plain Layout
6406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6409 \begin_layout Plain Layout
6423 \begin_layout Standard
6427 \begin_layout Plain Layout
6439 \begin_inset Tabular
6440 <lyxtabular version="3" rows="6" columns="5">
6441 <features islongtable="true" longtabularalignment="center">
6442 <column alignment="center" valignment="top" width="0">
6443 <column alignment="center" valignment="top" width="0">
6444 <column alignment="center" valignment="top" width="0">
6445 <column alignment="center" valignment="top" width="0">
6446 <column alignment="center" valignment="top" width="0">
6447 <row caption="true">
6448 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6451 \begin_layout Plain Layout
6452 \begin_inset Caption
6454 \begin_layout Plain Layout
6456 \begin_inset space \thinspace{}
6460 \begin_inset space \thinspace{}
6464 \begin_inset space \thinspace{}
6468 \begin_inset Argument
6471 \begin_layout Plain Layout
6473 \begin_inset space \thinspace{}
6491 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6494 \begin_layout Plain Layout
6500 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6503 \begin_layout Plain Layout
6509 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6512 \begin_layout Plain Layout
6518 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6521 \begin_layout Plain Layout
6529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6532 \begin_layout Plain Layout
6538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6541 \begin_layout Plain Layout
6547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6550 \begin_layout Plain Layout
6556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6559 \begin_layout Plain Layout
6565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6568 \begin_layout Plain Layout
6576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6579 \begin_layout Plain Layout
6585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6588 \begin_layout Plain Layout
6594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6597 \begin_layout Plain Layout
6603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6606 \begin_layout Plain Layout
6612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6615 \begin_layout Plain Layout
6623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6626 \begin_layout Plain Layout
6632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6635 \begin_layout Plain Layout
6641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6644 \begin_layout Plain Layout
6650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6653 \begin_layout Plain Layout
6659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6662 \begin_layout Plain Layout
6670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6673 \begin_layout Plain Layout
6679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6682 \begin_layout Plain Layout
6688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6691 \begin_layout Plain Layout
6697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6700 \begin_layout Plain Layout
6706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6709 \begin_layout Plain Layout
6717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6720 \begin_layout Plain Layout
6726 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6729 \begin_layout Plain Layout
6735 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6738 \begin_layout Plain Layout
6744 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6747 \begin_layout Plain Layout
6753 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6756 \begin_layout Plain Layout
6770 \begin_layout Standard
6774 \begin_layout Plain Layout
6788 \begin_layout Standard
6789 \begin_inset Note Greyedout
6792 \begin_layout Plain Layout
6802 \begin_inset Index idx
6805 \begin_layout Plain Layout
6806 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6818 \begin_inset space \thinspace{}
6821 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
6822 \begin_inset space \thinspace{}
6825 in幅のキャプションを作るには、3.99
6826 \begin_inset space \thinspace{}
6830 \begin_inset space \thinspace{}
6841 captionsetup{width=値}
6843 というLaTeXコマンドを用いる方法があります。
6851 \begin_layout Subsubsection
6853 \begin_inset Index idx
6856 \begin_layout Plain Layout
6857 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
6865 \begin_layout Standard
6866 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
6869 \begin_layout Standard
6881 \begin_layout Standard
6882 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
6883 \begin_inset CommandInset ref
6885 reference "tab:別キャプション"
6889 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
6892 \begin_layout Standard
6894 \begin_inset Tabular
6895 <lyxtabular version="3" rows="59" columns="3">
6896 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
6897 <column alignment="left" valignment="top" width="0cm">
6898 <column alignment="left" valignment="top" width="0pt">
6899 <column alignment="center" valignment="top" width="0pt">
6900 <row caption="true">
6901 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
6904 \begin_layout Plain Layout
6905 \begin_inset Caption
6907 \begin_layout Plain Layout
6909 \begin_inset CommandInset label
6916 \begin_inset Argument
6919 \begin_layout Plain Layout
6935 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6938 \begin_layout Plain Layout
6944 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6947 \begin_layout Plain Layout
6954 <row endfirsthead="true">
6955 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6958 \begin_layout Plain Layout
6966 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
6969 \begin_layout Plain Layout
6975 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
6978 \begin_layout Plain Layout
6985 <row endfirsthead="true">
6986 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6989 \begin_layout Plain Layout
6997 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7000 \begin_layout Plain Layout
7006 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7009 \begin_layout Plain Layout
7018 <row endhead="true">
7019 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7022 \begin_layout Plain Layout
7026 \begin_layout Plain Layout
7044 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7047 \begin_layout Plain Layout
7053 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7056 \begin_layout Plain Layout
7063 <row endhead="true">
7064 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7067 \begin_layout Plain Layout
7075 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7078 \begin_layout Plain Layout
7084 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7087 \begin_layout Plain Layout
7094 <row endhead="true">
7095 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7098 \begin_layout Plain Layout
7106 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7109 \begin_layout Plain Layout
7115 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7118 \begin_layout Plain Layout
7127 <row endfoot="true">
7128 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7131 \begin_layout Plain Layout
7137 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7140 \begin_layout Plain Layout
7146 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7149 \begin_layout Plain Layout
7157 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7160 \begin_layout Plain Layout
7168 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7171 \begin_layout Plain Layout
7177 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7180 \begin_layout Plain Layout
7188 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7191 \begin_layout Plain Layout
7199 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7202 \begin_layout Plain Layout
7208 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7211 \begin_layout Plain Layout
7219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7222 \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
7250 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7253 \begin_layout Plain Layout
7261 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7264 \begin_layout Plain Layout
7270 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7273 \begin_layout Plain Layout
7281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7284 \begin_layout Plain Layout
7292 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7295 \begin_layout Plain Layout
7301 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7304 \begin_layout Plain Layout
7312 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7315 \begin_layout Plain Layout
7323 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7326 \begin_layout Plain Layout
7332 <cell alignment="center" valignment="top" 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="center" 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
7603 \begin_layout Plain Layout
7614 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7617 \begin_layout Plain Layout
7623 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7626 \begin_layout Plain Layout
7634 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7637 \begin_layout Plain Layout
7645 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7648 \begin_layout Plain Layout
7654 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7657 \begin_layout Plain Layout
7665 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7668 \begin_layout Plain Layout
7676 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7679 \begin_layout Plain Layout
7685 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7688 \begin_layout Plain Layout
7696 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7699 \begin_layout Plain Layout
7707 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7710 \begin_layout Plain Layout
7716 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7719 \begin_layout Plain Layout
7727 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7730 \begin_layout Plain Layout
7738 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7741 \begin_layout Plain Layout
7747 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7750 \begin_layout Plain Layout
7758 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7761 \begin_layout Plain Layout
7769 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7772 \begin_layout Plain Layout
7778 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7781 \begin_layout Plain Layout
7789 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7792 \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" bottomline="true" leftline="true" usebox="none">
8102 \begin_layout Plain Layout
8110 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8113 \begin_layout Plain Layout
8119 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8122 \begin_layout Plain Layout
8130 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8133 \begin_layout Plain Layout
8139 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8142 \begin_layout Plain Layout
8148 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8151 \begin_layout Plain Layout
8159 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8162 \begin_layout Plain Layout
8170 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8173 \begin_layout Plain Layout
8179 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8182 \begin_layout Plain Layout
8190 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8193 \begin_layout Plain Layout
8201 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8204 \begin_layout Plain Layout
8210 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8213 \begin_layout Plain Layout
8221 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8224 \begin_layout Plain Layout
8232 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8235 \begin_layout Plain Layout
8241 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8244 \begin_layout Plain Layout
8252 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8255 \begin_layout Plain Layout
8263 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8266 \begin_layout Plain Layout
8272 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8275 \begin_layout Plain Layout
8283 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8286 \begin_layout Plain Layout
8294 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8297 \begin_layout Plain Layout
8303 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8306 \begin_layout Plain Layout
8314 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8317 \begin_layout Plain Layout
8325 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8328 \begin_layout Plain Layout
8334 <cell alignment="center" valignment="top" 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" bottomline="true" leftline="true" usebox="none">
8751 \begin_layout Plain Layout
8759 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8762 \begin_layout Plain Layout
8768 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8771 \begin_layout Plain Layout
8785 \begin_layout Section
8787 \begin_inset CommandInset label
8789 name "sec:長尺表にまつわる諸点"
8796 \begin_layout Subsection
8798 \begin_inset Index idx
8801 \begin_layout Plain Layout
8802 ちょうしゃくひょう@長尺表 ! けいさん@計算
8810 \begin_layout Standard
8811 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
8812 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
8815 \begin_layout Standard
8820 setcounter{LTchunksize}{100}
8823 \begin_layout Standard
8824 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
8827 \begin_layout Subsection
8829 \begin_inset Index idx
8832 \begin_layout Plain Layout
8833 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
8841 \begin_layout Standard
8842 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
8848 コマンドを長尺表の前にTeXコードとして書き加えてください。
8851 \begin_layout Subsection
8853 \begin_inset Index idx
8856 \begin_layout Plain Layout
8857 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
8865 \begin_layout Standard
8866 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
8883 コマンドの前には、現セルよりも右にある列数と同じ数の「
8887 」文字を、TeXコードで挿入してやる必要があります。この
8895 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
8896 \begin_inset Newline newline
8907 コマンドの後ろには、現在列の左側にある列数と同じ数の
8912 \begin_inset CommandInset ref
8914 reference "tab:強制改頁"
8918 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
8921 \begin_layout Standard
8931 \begin_inset Newline newline
8937 \begin_layout Standard
8942 」の後にTeXコードとして挿入してあります。
8945 \begin_layout Standard
8946 同一行3列目の「111」は削除してあります。
8952 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
8953 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
8956 \begin_layout Standard
8964 \begin_inset Newline newline
8972 \begin_layout Standard
8976 \begin_layout Standard
8977 改頁をしたいセルが最右列にある場合には、
8980 \begin_layout Standard
8990 \begin_layout Standard
8991 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
8995 \begin_layout Standard
8997 \begin_inset Tabular
8998 <lyxtabular version="3" rows="38" columns="3">
8999 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9000 <column alignment="left" valignment="top" width="0cm">
9001 <column alignment="left" valignment="top" width="3cm">
9002 <column alignment="center" valignment="top" width="0pt">
9003 <row caption="true">
9004 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9007 \begin_layout Plain Layout
9008 \begin_inset Caption
9010 \begin_layout Plain Layout
9012 \begin_inset CommandInset label
9019 \begin_inset Argument
9022 \begin_layout Plain Layout
9038 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9041 \begin_layout Plain Layout
9047 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9050 \begin_layout Plain Layout
9057 <row endfirsthead="true">
9058 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9061 \begin_layout Plain Layout
9069 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9072 \begin_layout Plain Layout
9078 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9081 \begin_layout Plain Layout
9088 <row endfirsthead="true">
9089 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9092 \begin_layout Plain Layout
9100 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9103 \begin_layout Plain Layout
9109 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9112 \begin_layout Plain Layout
9121 <row endhead="true">
9122 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9125 \begin_layout Plain Layout
9129 \begin_layout Plain Layout
9147 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9150 \begin_layout Plain Layout
9156 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9159 \begin_layout Plain Layout
9166 <row endhead="true">
9167 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9170 \begin_layout Plain Layout
9176 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9179 \begin_layout Plain Layout
9185 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9188 \begin_layout Plain Layout
9195 <row endhead="true">
9196 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9199 \begin_layout Plain Layout
9207 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9210 \begin_layout Plain Layout
9216 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9219 \begin_layout Plain Layout
9228 <row endfoot="true">
9229 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9232 \begin_layout Plain Layout
9238 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9241 \begin_layout Plain Layout
9247 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9250 \begin_layout Plain Layout
9258 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9261 \begin_layout Plain Layout
9269 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9272 \begin_layout Plain Layout
9278 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9281 \begin_layout Plain Layout
9289 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9292 \begin_layout Plain Layout
9300 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9303 \begin_layout Plain Layout
9309 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9312 \begin_layout Plain Layout
9320 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9323 \begin_layout Plain Layout
9331 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9334 \begin_layout Plain Layout
9340 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9343 \begin_layout Plain Layout
9351 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9354 \begin_layout Plain Layout
9362 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9365 \begin_layout Plain Layout
9371 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9374 \begin_layout Plain Layout
9382 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9385 \begin_layout Plain Layout
9393 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9396 \begin_layout Plain Layout
9402 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9405 \begin_layout Plain Layout
9413 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9416 \begin_layout Plain Layout
9424 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9427 \begin_layout Plain Layout
9433 <cell alignment="center" valignment="top" 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="center" 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
9956 Fürst von Montecompatri, 11.
9957 Fürst von Sulmona und Vivaro, 10.
9958 Fürst von Rossano, 5.
9959 Herzog von Canemorte, 11.
9960 Herzog von Palombara, 5.
9961 Herzog von Castelchiodato,
9965 \begin_layout Plain Layout
9976 \begin_layout Plain Layout
9984 Herzog von Poggionativo, 11.
9985 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9986 Graf von Valinfreda, 11.
9987 Baron von Cropalati, 11.
9988 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9993 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9996 \begin_layout Plain Layout
10004 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10007 \begin_layout Plain Layout
10015 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10018 \begin_layout Plain Layout
10024 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10027 \begin_layout Plain Layout
10035 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10038 \begin_layout Plain Layout
10046 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10049 \begin_layout Plain Layout
10055 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10058 \begin_layout Plain Layout
10066 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10069 \begin_layout Plain Layout
10077 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10080 \begin_layout Plain Layout
10086 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10089 \begin_layout Plain Layout
10097 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10100 \begin_layout Plain Layout
10108 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10111 \begin_layout Plain Layout
10117 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10120 \begin_layout Plain Layout
10128 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10131 \begin_layout Plain Layout
10139 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10142 \begin_layout Plain Layout
10148 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10151 \begin_layout Plain Layout
10159 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10162 \begin_layout Plain Layout
10170 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10173 \begin_layout Plain Layout
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" bottomline="true" leftline="true" usebox="none">
10224 \begin_layout Plain Layout
10232 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10235 \begin_layout Plain Layout
10241 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10244 \begin_layout Plain Layout
10258 \begin_layout Section
10262 \begin_layout Subsection
10264 \begin_inset CommandInset label
10271 \begin_inset Index idx
10274 \begin_layout Plain Layout
10275 ひょうせるないのふくすうぎょう@表セル内の複数行
10281 \begin_inset Index idx
10284 \begin_layout Plain Layout
10293 \begin_layout Standard
10295 \begin_inset Float table
10301 \begin_layout Plain Layout
10302 \begin_inset Caption
10304 \begin_layout Plain Layout
10305 \begin_inset CommandInset label
10319 \begin_layout Plain Layout
10321 \begin_inset Tabular
10322 <lyxtabular version="3" rows="3" columns="3">
10323 <features tabularvalignment="middle">
10324 <column alignment="center" valignment="middle" width="2.5cm">
10325 <column alignment="center" valignment="middle" width="0">
10326 <column alignment="center" valignment="middle" width="0">
10328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10331 \begin_layout Plain Layout
10333 \begin_inset Newline linebreak
10341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10344 \begin_layout Plain Layout
10350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10353 \begin_layout Plain Layout
10361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10364 \begin_layout Plain Layout
10370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10373 \begin_layout Plain Layout
10379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10382 \begin_layout Plain Layout
10390 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10393 \begin_layout Plain Layout
10399 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10402 \begin_layout Plain Layout
10408 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10411 \begin_layout Plain Layout
10430 \begin_layout Standard
10431 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10434 \begin_layout Standard
10436 \begin_inset CommandInset ref
10438 reference "tab:複数行表"
10442 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10446 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10447 \begin_inset space \thinspace{}
10450 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10451 \begin_inset space \thinspace{}
10454 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10457 arg "newline-insert linebreak"
10460 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10463 \begin_layout Standard
10464 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10465 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10466 \begin_inset space \thinspace{}
10469 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10470 \begin_inset CommandInset ref
10472 reference "tab:ハイフネーション表"
10480 \begin_layout Plain Layout
10485 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10493 \begin_layout Standard
10494 \begin_inset Float table
10500 \begin_layout Plain Layout
10501 \begin_inset Caption
10503 \begin_layout Plain Layout
10504 \begin_inset CommandInset label
10506 name "tab:ハイフネーション表"
10518 \begin_layout Plain Layout
10519 \begin_inset space \hfill{}
10523 \begin_inset Tabular
10524 <lyxtabular version="3" rows="3" columns="3">
10525 <features tabularvalignment="middle">
10526 <column alignment="center" valignment="middle" width="2.5cm">
10527 <column alignment="center" valignment="middle" width="0">
10528 <column alignment="center" valignment="middle" width="0">
10530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10533 \begin_layout Plain Layout
10534 verylongtablecellword
10539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10542 \begin_layout Plain Layout
10548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10551 \begin_layout Plain Layout
10559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10562 \begin_layout Plain Layout
10568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10571 \begin_layout Plain Layout
10577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10580 \begin_layout Plain Layout
10588 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10591 \begin_layout Plain Layout
10597 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10600 \begin_layout Plain Layout
10606 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10609 \begin_layout Plain Layout
10621 \begin_inset space \hfill{}
10625 \begin_inset Tabular
10626 <lyxtabular version="3" rows="3" columns="3">
10627 <features tabularvalignment="middle">
10628 <column alignment="center" valignment="middle" width="2.5cm">
10629 <column alignment="center" valignment="middle" width="0">
10630 <column alignment="center" valignment="middle" width="0">
10632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10635 \begin_layout Plain Layout
10636 \begin_inset space \hspace{}
10640 verylongtablecellword
10645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10648 \begin_layout Plain Layout
10654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10657 \begin_layout Plain Layout
10665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10668 \begin_layout Plain Layout
10674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10677 \begin_layout Plain Layout
10683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10686 \begin_layout Plain Layout
10694 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10697 \begin_layout Plain Layout
10703 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10706 \begin_layout Plain Layout
10712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10715 \begin_layout Plain Layout
10727 \begin_inset space \hfill{}
10738 \begin_layout Subsection
10740 \begin_inset CommandInset label
10747 \begin_inset Index idx
10750 \begin_layout Plain Layout
10757 \begin_inset Index idx
10760 \begin_layout Plain Layout
10769 \begin_layout Subsubsection
10773 \begin_layout Standard
10774 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
10775 \begin_inset Graphics
10776 filename ../../images/tabular-feature_multicolumn.png
10778 scaleBeforeRotation
10784 編集\SpecialChar \menuseparator
10785 表\SpecialChar \menuseparator
10788 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
10795 \begin_layout Standard
10796 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
10797 、最下行に上罫線のない連結行がある表の例です。
10800 \begin_layout Standard
10802 \begin_inset Tabular
10803 <lyxtabular version="3" rows="3" columns="4">
10804 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
10805 <column alignment="center" valignment="top" width="0pt">
10806 <column alignment="center" valignment="middle" width="0">
10807 <column alignment="center" valignment="top" width="0in">
10808 <column alignment="center" valignment="top" width="0pt">
10810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10813 \begin_layout Plain Layout
10819 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10822 \begin_layout Plain Layout
10828 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10831 \begin_layout Plain Layout
10837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10840 \begin_layout Plain Layout
10848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10851 \begin_layout Plain Layout
10857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10860 \begin_layout Plain Layout
10866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10869 \begin_layout Plain Layout
10875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10878 \begin_layout Plain Layout
10886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10889 \begin_layout Plain Layout
10895 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10898 \begin_layout Plain Layout
10904 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10907 \begin_layout Plain Layout
10913 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10916 \begin_layout Plain Layout
10930 \begin_layout Subsubsection
10932 \begin_inset CommandInset label
10939 \begin_inset Index idx
10942 \begin_layout Plain Layout
10943 れんけつれつ@連結列 ! けいさん@計算
10951 \begin_layout Standard
10952 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
10955 \begin_layout Standard
10956 \begin_inset Float table
10962 \begin_layout Plain Layout
10963 \begin_inset Caption
10965 \begin_layout Plain Layout
10966 \begin_inset CommandInset label
10972 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
10973 \begin_inset Argument
10976 \begin_layout Plain Layout
10990 \begin_layout Plain Layout
10992 \begin_inset Tabular
10993 <lyxtabular version="3" rows="3" columns="3">
10994 <features tabularvalignment="middle">
10995 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
10996 <column alignment="center" valignment="middle" width="0">
10997 <column alignment="center" valignment="top" width="0">
10999 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11002 \begin_layout Plain Layout
11008 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11011 \begin_layout Plain Layout
11017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11020 \begin_layout Plain Layout
11028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11031 \begin_layout Plain Layout
11037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11040 \begin_layout Plain Layout
11046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11049 \begin_layout Plain Layout
11057 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11060 \begin_layout Plain Layout
11066 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11069 \begin_layout Plain Layout
11075 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11078 \begin_layout Plain Layout
11097 \begin_layout Standard
11099 \begin_inset CommandInset ref
11101 reference "tab:中央揃え表"
11105 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11109 を選択します。そして現れる表の設定ダイアログで、このセルを
11118 \begin_inset space \thinspace{}
11121 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11122 \begin_inset space \thinspace{}
11125 cm幅に設定します。すると第二列は自動的に1.25
11126 \begin_inset space \thinspace{}
11129 cm幅(連結列幅マイナス第一列の幅)になります。表
11130 \begin_inset CommandInset ref
11132 reference "tab:半分でない表"
11139 \begin_layout Standard
11140 \begin_inset Float table
11145 \begin_layout Plain Layout
11146 \begin_inset Caption
11148 \begin_layout Plain Layout
11149 \begin_inset CommandInset label
11155 連結セルの下の列が正確に半分になっていない表
11156 \begin_inset Argument
11159 \begin_layout Plain Layout
11173 \begin_layout Plain Layout
11175 \begin_inset Tabular
11176 <lyxtabular version="3" rows="3" columns="3">
11177 <features tabularvalignment="middle">
11178 <column alignment="center" valignment="top" width="1.25cm">
11179 <column alignment="center" valignment="top" width="0">
11180 <column alignment="center" valignment="top" width="0">
11182 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11185 \begin_layout Plain Layout
11191 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11194 \begin_layout Plain Layout
11200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11203 \begin_layout Plain Layout
11211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11214 \begin_layout Plain Layout
11220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11223 \begin_layout Plain Layout
11229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11232 \begin_layout Plain Layout
11240 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11243 \begin_layout Plain Layout
11249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11252 \begin_layout Plain Layout
11258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11261 \begin_layout Plain Layout
11280 \begin_layout Standard
11281 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11283 \begin_inset Formula $W_{\mbox{指}}$
11287 \begin_inset Formula $W_{\text{全}}$
11291 \begin_inset CommandInset ref
11293 reference "cha:式の説明"
11300 \begin_layout Standard
11306 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11310 \begin_inset Formula $W_{\mbox{指}:n}$
11314 \begin_inset Formula \begin{equation}
11315 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11322 \begin_layout Standard
11323 で計算することができます。上記の例では
11324 \begin_inset Formula $n=2$
11328 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11332 \begin_inset CommandInset ref
11339 \begin_inset Formula \begin{equation}
11340 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11347 \begin_layout Standard
11348 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11351 \begin_layout Standard
11359 \begin_layout Standard
11365 \begin_inset Index idx
11368 \begin_layout Plain Layout
11369 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11374 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11375 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11378 \begin_layout Itemize
11383 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11386 \begin_layout Itemize
11391 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11394 \begin_layout Itemize
11399 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11402 \begin_layout Standard
11403 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11406 \begin_layout Standard
11407 \begin_inset Note Greyedout
11410 \begin_layout Plain Layout
11415 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11423 \begin_layout Standard
11430 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11433 \begin_layout Standard
11438 centering}m{1.25cm-6.2pt}
11441 \begin_layout Standard
11446 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11449 \begin_layout Standard
11450 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11454 \begin_layout Standard
11462 \begin_layout Standard
11463 というLaTeX変数を指定しなくてはなりません。
11466 \begin_layout Subsection
11468 \begin_inset Index idx
11471 \begin_layout Plain Layout
11478 \begin_inset Index idx
11481 \begin_layout Plain Layout
11482 ひょう@表 ! れんけつぎょう@連結行
11490 \begin_layout Standard
11491 連結列とは対照的に、連結行はLyXではまだサポートされていないために、若干のTeXコードを使用する必要があります。連結行を利用するには、文書プリアンブルに
11494 \begin_layout Standard
11499 usepackage{multirow}
11502 \begin_layout Standard
11503 というコマンドを書いて、LaTeXパッケージの
11508 \begin_inset Index idx
11511 \begin_layout Plain Layout
11512 LaTeXぱっけーじ@LaTeXパッケージ ! multirow
11517 を読み込んでおく必要があります。連結列は
11520 \begin_layout Standard
11525 multirow{行数}{セル幅}{セルの内容}
11528 \begin_layout Standard
11529 というコマンドで生成することができます。以下の表を作成するには、
11532 \begin_layout Standard
11537 \begin_layout Plain Layout
11551 \begin_inset Tabular
11552 <lyxtabular version="3" rows="3" columns="3">
11553 <features tabularvalignment="middle">
11554 <column alignment="center" valignment="top" width="0">
11555 <column alignment="center" valignment="top" width="0">
11556 <column alignment="center" valignment="top" width="0">
11558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11561 \begin_layout Plain Layout
11567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11570 \begin_layout Plain Layout
11576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11579 \begin_layout Plain Layout
11587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11590 \begin_layout Plain Layout
11594 \begin_layout Plain Layout
11598 multirow{2}{2.5cm}{
11607 \begin_layout Plain Layout
11619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11622 \begin_layout Plain Layout
11628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11631 \begin_layout Plain Layout
11639 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11642 \begin_layout Plain Layout
11648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11651 \begin_layout Plain Layout
11657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11660 \begin_layout Plain Layout
11675 \begin_layout Plain Layout
11691 \begin_layout Standard
11692 まず3×3表を作成して下さい。第一列の最下セル上の罫線を削除して下さい。そして、第二行第一列に
11695 \begin_layout Standard
11700 multirow{2}{2.5cm}{
11703 \begin_layout Standard
11704 というコマンドをTeXコードとして入れると、連結行を作成することができます。このコマンドのパラメータに指定されているように、連結行は2行を連結し、2.5
11705 \begin_inset space \thinspace{}
11708 cmの幅を持つようになります。連結行セルの内容は、TeXコードボックスの後に書き込み、その文章の後に別のTeXコードボックスで右括弧
11715 \begin_layout Standard
11722 は、既定値でその中身を左揃えにします。この既定値を上書きするには、文書プリアンブル中のTeXコードで
11725 \begin_layout Standard
11737 \begin_layout Standard
11744 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11745 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11766 \begin_layout Section
11768 \begin_inset CommandInset label
11770 name "sec:フォーマル形式の表"
11775 \begin_inset Index idx
11778 \begin_layout Plain Layout
11779 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
11787 \begin_layout Standard
11789 \begin_inset CommandInset ref
11791 reference "tab:ブックタブ表の例"
11795 のように組版されます。この種の表は、「
11799 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
11802 \begin_layout Standard
11803 \begin_inset Float table
11809 \begin_layout Plain Layout
11810 \begin_inset Caption
11812 \begin_layout Plain Layout
11813 \begin_inset CommandInset label
11815 name "tab:ブックタブ表の例"
11827 \begin_layout Plain Layout
11829 \begin_inset Tabular
11830 <lyxtabular version="3" rows="8" columns="4">
11831 <features booktabs="true" tabularvalignment="middle">
11832 <column alignment="center" valignment="top" width="0">
11833 <column alignment="center" valignment="top" width="0">
11834 <column alignment="center" valignment="top" width="0">
11835 <column alignment="center" valignment="top" width="0">
11837 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
11840 \begin_layout Plain Layout
11846 <cell alignment="center" valignment="top" topline="true" usebox="none">
11849 \begin_layout Plain Layout
11851 \begin_inset space \thinspace{}
11859 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
11862 \begin_layout Plain Layout
11864 \begin_inset space \thinspace{}
11872 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11875 \begin_layout Plain Layout
11883 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11886 \begin_layout Plain Layout
11890 \begin_layout Plain Layout
11903 \begin_layout Plain Layout
11917 <cell alignment="center" valignment="top" usebox="none">
11920 \begin_layout Plain Layout
11926 <cell alignment="center" valignment="top" usebox="none">
11929 \begin_layout Plain Layout
11935 <cell alignment="center" valignment="top" usebox="none">
11938 \begin_layout Plain Layout
11946 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
11949 \begin_layout Plain Layout
11955 <cell alignment="center" valignment="top" topline="true" usebox="none">
11958 \begin_layout Plain Layout
11964 <cell alignment="center" valignment="top" topline="true" usebox="none">
11967 \begin_layout Plain Layout
11973 <cell alignment="center" valignment="top" topline="true" usebox="none">
11976 \begin_layout Plain Layout
11983 <row topspace="default">
11984 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11987 \begin_layout Plain Layout
11993 <cell alignment="center" valignment="top" usebox="none">
11996 \begin_layout Plain Layout
12002 <cell alignment="center" valignment="top" usebox="none">
12005 \begin_layout Plain Layout
12011 <cell alignment="center" valignment="top" usebox="none">
12014 \begin_layout Plain Layout
12021 <row topspace="default">
12022 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12025 \begin_layout Plain Layout
12026 \begin_inset Formula $f_{\mathrm{max}}$
12034 <cell alignment="center" valignment="top" usebox="none">
12037 \begin_layout Plain Layout
12043 <cell alignment="center" valignment="top" usebox="none">
12046 \begin_layout Plain Layout
12052 <cell alignment="center" valignment="top" usebox="none">
12055 \begin_layout Plain Layout
12062 <row topspace="default">
12063 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12066 \begin_layout Plain Layout
12070 \begin_layout Plain Layout
12074 cmidrule(l{10pt}){1-1}
12084 <cell alignment="center" valignment="top" usebox="none">
12087 \begin_layout Plain Layout
12093 <cell alignment="center" valignment="top" usebox="none">
12096 \begin_layout Plain Layout
12102 <cell alignment="center" valignment="top" usebox="none">
12105 \begin_layout Plain Layout
12113 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12116 \begin_layout Plain Layout
12122 <cell alignment="center" valignment="top" usebox="none">
12125 \begin_layout Plain Layout
12131 <cell alignment="center" valignment="top" usebox="none">
12134 \begin_layout Plain Layout
12140 <cell alignment="center" valignment="top" usebox="none">
12143 \begin_layout Plain Layout
12151 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12154 \begin_layout Plain Layout
12160 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12163 \begin_layout Plain Layout
12169 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12172 \begin_layout Plain Layout
12178 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12181 \begin_layout Plain Layout
12200 \begin_layout Standard
12202 \begin_inset CommandInset ref
12204 reference "sub:行の余白取り"
12208 節に述べられているように、表の設定ダイアログの
12215 \begin_layout Standard
12216 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
12217 \begin_inset Newline newline
12221 \begin_inset space \thinspace{}
12224 emですが、他の罫線の既定幅は0.05
12225 \begin_inset space \thinspace{}
12231 \begin_layout Standard
12232 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
12235 \begin_layout Standard
12245 \begin_inset Newline newline
12257 \begin_layout Standard
12262 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
12270 に置き換えて下さい。他の罫線の線幅を変更するには、
12278 に置き換えます。線幅を設定する上では、付録
12279 \begin_inset CommandInset ref
12281 reference "cha:LyXで使用できる単位"
12285 に挙げてあるすべての単位を使用することができます。
12288 \begin_layout Standard
12289 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
12295 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
12298 \begin_layout Standard
12303 cmidrule[幅](刈込){開始列-終了列}
12306 \begin_layout Standard
12313 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
12319 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
12323 \begin_layout Standard
12325 \begin_inset space \thinspace{}
12328 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
12337 の値を取り、刈込幅の指定は非必須です。たとえば、
12341 というパラメーターを使うと、罫線が左端から2
12342 \begin_inset space \thinspace{}
12345 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
12346 \begin_inset space \thinspace{}
12352 \begin_layout Standard
12353 \begin_inset VSpace bigskip
12357 \begin_inset CommandInset ref
12359 reference "tab:ブックタブ表の例"
12366 \begin_layout Standard
12376 \begin_layout Standard
12377 というコマンドを第二行の初めに使用し、
12380 \begin_layout Standard
12385 cmidrule(l{10pt}){1-1}
12388 \begin_layout Standard
12392 \begin_layout Standard
12393 \begin_inset VSpace bigskip
12399 \begin_layout Standard
12401 \begin_inset CommandInset ref
12403 reference "tab:特殊なブックタブ表"
12413 が欲しいことがあるかもしれません。これは、TeXコードで
12416 \begin_layout Standard
12424 \begin_layout Standard
12425 コマンドを使用することによって実現することができます。表
12426 \begin_inset CommandInset ref
12428 reference "tab:特殊なブックタブ表"
12435 \begin_layout Standard
12449 \begin_layout Standard
12450 というコマンドが使用されており、第六列には
12453 \begin_layout Standard
12465 \begin_layout Standard
12469 \begin_layout Standard
12470 \begin_inset VSpace bigskip
12476 \begin_layout Standard
12477 罫線の余白取りにどうしても満足が行かない場合には、
12480 \begin_layout Standard
12485 specialrule{幅}{上余白}{下余白}
12488 \begin_layout Standard
12489 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
12494 \begin_inset CommandInset citation
12501 \begin_inset Index idx
12504 \begin_layout Plain Layout
12505 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
12513 \begin_layout Standard
12514 \begin_inset Float table
12520 \begin_layout Plain Layout
12521 \begin_inset Caption
12523 \begin_layout Plain Layout
12524 \begin_inset CommandInset label
12526 name "tab:特殊なブックタブ表"
12538 \begin_layout Plain Layout
12540 \begin_inset Tabular
12541 <lyxtabular version="3" rows="8" columns="4">
12542 <features booktabs="true" tabularvalignment="middle">
12543 <column alignment="center" valignment="top" width="0">
12544 <column alignment="center" valignment="top" width="0">
12545 <column alignment="center" valignment="top" width="0">
12546 <column alignment="center" valignment="top" width="0">
12548 <cell alignment="center" valignment="top" topline="true" usebox="none">
12551 \begin_layout Plain Layout
12557 <cell alignment="center" valignment="top" topline="true" usebox="none">
12560 \begin_layout Plain Layout
12562 \begin_inset space \thinspace{}
12570 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12573 \begin_layout Plain Layout
12575 \begin_inset space \thinspace{}
12583 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12586 \begin_layout Plain Layout
12594 <cell alignment="center" valignment="top" usebox="none">
12597 \begin_layout Plain Layout
12601 \begin_layout Plain Layout
12614 \begin_layout Plain Layout
12627 \begin_layout Plain Layout
12640 \begin_layout Plain Layout
12654 <cell alignment="center" valignment="top" usebox="none">
12657 \begin_layout Plain Layout
12663 <cell alignment="center" valignment="top" usebox="none">
12666 \begin_layout Plain Layout
12672 <cell alignment="center" valignment="top" usebox="none">
12675 \begin_layout Plain Layout
12683 <cell alignment="center" valignment="top" topline="true" usebox="none">
12686 \begin_layout Plain Layout
12692 <cell alignment="center" valignment="top" topline="true" usebox="none">
12695 \begin_layout Plain Layout
12701 <cell alignment="center" valignment="top" topline="true" usebox="none">
12704 \begin_layout Plain Layout
12710 <cell alignment="center" valignment="top" topline="true" usebox="none">
12713 \begin_layout Plain Layout
12720 <row topspace="default">
12721 <cell alignment="center" valignment="top" usebox="none">
12724 \begin_layout Plain Layout
12730 <cell alignment="center" valignment="top" usebox="none">
12733 \begin_layout Plain Layout
12739 <cell alignment="center" valignment="top" usebox="none">
12742 \begin_layout Plain Layout
12748 <cell alignment="center" valignment="top" usebox="none">
12751 \begin_layout Plain Layout
12758 <row topspace="default">
12759 <cell alignment="center" valignment="top" usebox="none">
12762 \begin_layout Plain Layout
12763 \begin_inset Formula $f_{\mathrm{max}}$
12771 <cell alignment="center" valignment="top" usebox="none">
12774 \begin_layout Plain Layout
12780 <cell alignment="center" valignment="top" usebox="none">
12783 \begin_layout Plain Layout
12789 <cell alignment="center" valignment="top" usebox="none">
12792 \begin_layout Plain Layout
12800 <cell alignment="center" valignment="top" topline="true" usebox="none">
12803 \begin_layout Plain Layout
12807 \begin_layout Plain Layout
12820 \begin_layout Plain Layout
12834 <cell alignment="center" valignment="top" topline="true" usebox="none">
12837 \begin_layout Plain Layout
12843 <cell alignment="center" valignment="top" topline="true" usebox="none">
12846 \begin_layout Plain Layout
12852 <cell alignment="center" valignment="top" topline="true" usebox="none">
12855 \begin_layout Plain Layout
12863 <cell alignment="center" valignment="top" usebox="none">
12866 \begin_layout Plain Layout
12872 <cell alignment="center" valignment="top" usebox="none">
12875 \begin_layout Plain Layout
12881 <cell alignment="center" valignment="top" usebox="none">
12884 \begin_layout Plain Layout
12890 <cell alignment="center" valignment="top" usebox="none">
12893 \begin_layout Plain Layout
12901 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12904 \begin_layout Plain Layout
12910 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12913 \begin_layout Plain Layout
12919 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12922 \begin_layout Plain Layout
12928 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12931 \begin_layout Plain Layout
12950 \begin_layout Section
12952 \begin_inset Index idx
12955 \begin_layout Plain Layout
12964 \begin_layout Standard
12965 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
12966 \begin_inset CommandInset ref
12968 reference "sec:ボックスダイアログ"
12972 節に述べられているように、ボックスの垂直揃えを行います。
12975 \begin_layout Standard
12977 \begin_inset space \thinspace{}
12984 \begin_layout Plain Layout
12986 \begin_inset CommandInset ref
12988 reference "sec:ミニページ"
13000 \begin_layout Itemize
13002 \begin_inset Box Frameless
13012 height_special "totalheight"
13015 \begin_layout Plain Layout
13016 \begin_inset Tabular
13017 <lyxtabular version="3" rows="3" columns="3">
13018 <features tabularvalignment="middle">
13019 <column alignment="center" valignment="top" width="0">
13020 <column alignment="center" valignment="top" width="0">
13021 <column alignment="center" valignment="top" width="0">
13023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13026 \begin_layout Plain Layout
13032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13035 \begin_layout Plain Layout
13041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13044 \begin_layout Plain Layout
13052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13055 \begin_layout Plain Layout
13061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13064 \begin_layout Plain Layout
13070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13073 \begin_layout Plain Layout
13081 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13084 \begin_layout Plain Layout
13090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13093 \begin_layout Plain Layout
13099 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13102 \begin_layout Plain Layout
13122 \begin_layout Plain Layout
13134 \begin_inset Box Frameless
13144 height_special "totalheight"
13147 \begin_layout Plain Layout
13148 \begin_inset Tabular
13149 <lyxtabular version="3" rows="3" columns="3">
13150 <features tabularvalignment="middle">
13151 <column alignment="center" valignment="top" width="0">
13152 <column alignment="center" valignment="top" width="0">
13153 <column alignment="center" valignment="top" width="0">
13155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13158 \begin_layout Plain Layout
13164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13167 \begin_layout Plain Layout
13173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13176 \begin_layout Plain Layout
13184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13187 \begin_layout Plain Layout
13193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13196 \begin_layout Plain Layout
13202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13205 \begin_layout Plain Layout
13213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13216 \begin_layout Plain Layout
13222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13225 \begin_layout Plain Layout
13231 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13234 \begin_layout Plain Layout
13254 \begin_layout Plain Layout
13264 \begin_layout Itemize
13266 \begin_inset Box Frameless
13276 height_special "totalheight"
13279 \begin_layout Plain Layout
13280 \begin_inset Tabular
13281 <lyxtabular version="3" rows="3" columns="3">
13282 <features tabularvalignment="middle">
13283 <column alignment="center" valignment="top" width="0">
13284 <column alignment="center" valignment="top" width="0">
13285 <column alignment="center" valignment="top" width="0">
13287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13290 \begin_layout Plain Layout
13296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13299 \begin_layout Plain Layout
13305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13308 \begin_layout Plain Layout
13316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13319 \begin_layout Plain Layout
13325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13328 \begin_layout Plain Layout
13334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13337 \begin_layout Plain Layout
13345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13348 \begin_layout Plain Layout
13354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13357 \begin_layout Plain Layout
13363 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13366 \begin_layout Plain Layout
13385 \begin_layout Itemize
13387 \begin_inset Box Frameless
13397 height_special "totalheight"
13400 \begin_layout Plain Layout
13401 \begin_inset Tabular
13402 <lyxtabular version="3" rows="3" columns="3">
13403 <features tabularvalignment="middle">
13404 <column alignment="center" valignment="top" width="0">
13405 <column alignment="center" valignment="top" width="0">
13406 <column alignment="center" valignment="top" width="0">
13408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13411 \begin_layout Plain Layout
13417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13420 \begin_layout Plain Layout
13426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13429 \begin_layout Plain Layout
13437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13440 \begin_layout Plain Layout
13446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13449 \begin_layout Plain Layout
13455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13458 \begin_layout Plain Layout
13466 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13469 \begin_layout Plain Layout
13475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13478 \begin_layout Plain Layout
13484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13487 \begin_layout Plain Layout
13507 \begin_layout Plain Layout
13519 \begin_inset Box Frameless
13529 height_special "totalheight"
13532 \begin_layout Plain Layout
13533 \begin_inset Tabular
13534 <lyxtabular version="3" rows="3" columns="3">
13535 <features tabularvalignment="middle">
13536 <column alignment="center" valignment="top" width="0">
13537 <column alignment="center" valignment="top" width="0">
13538 <column alignment="center" valignment="top" width="0">
13540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13543 \begin_layout Plain Layout
13549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13552 \begin_layout Plain Layout
13558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13561 \begin_layout Plain Layout
13569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13572 \begin_layout Plain Layout
13578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13581 \begin_layout Plain Layout
13587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13590 \begin_layout Plain Layout
13598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13601 \begin_layout Plain Layout
13607 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13610 \begin_layout Plain Layout
13616 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13619 \begin_layout Plain Layout
13639 \begin_layout Plain Layout
13649 \begin_layout Standard
13650 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
13654 \begin_layout Plain Layout
13656 \begin_inset CommandInset ref
13658 reference "sub:垂直揃え"
13667 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
13670 \begin_layout Standard
13680 \begin_layout Standard
13681 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
13685 をTeXコードとして挿入してあります。最後の項目の第二表には、
13688 \begin_layout Standard
13698 \begin_layout Standard
13702 \begin_layout Standard
13703 \begin_inset Note Greyedout
13706 \begin_layout Plain Layout
13711 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
13717 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
13725 \begin_layout Section
13727 \begin_inset CommandInset label
13734 \begin_inset Index idx
13737 \begin_layout Plain Layout
13746 \begin_layout Subsection
13748 \begin_inset Index idx
13751 \begin_layout Plain Layout
13752 ひょうのいろ@表の色 ! せるぶ@セル部
13758 \begin_inset Index idx
13761 \begin_layout Plain Layout
13762 いろつき@色付き ! ひょうせるぶ@表セル部
13770 \begin_layout Standard
13771 \begin_inset Float table
13777 \begin_layout Plain Layout
13778 \begin_inset Caption
13780 \begin_layout Plain Layout
13781 \begin_inset CommandInset label
13783 name "tab:colortblなしの表"
13792 \begin_inset Argument
13795 \begin_layout Plain Layout
13809 \begin_layout Plain Layout
13811 \begin_inset Tabular
13812 <lyxtabular version="3" rows="3" columns="3">
13813 <features tabularvalignment="middle">
13814 <column alignment="center" valignment="top" width="0">
13815 <column alignment="center" valignment="top" width="0">
13816 <column alignment="center" valignment="top" width="0">
13818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13821 \begin_layout Plain Layout
13829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13832 \begin_layout Plain Layout
13840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13843 \begin_layout Plain Layout
13853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13856 \begin_layout Plain Layout
13864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13867 \begin_layout Plain Layout
13875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13878 \begin_layout Plain Layout
13888 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13891 \begin_layout Plain Layout
13899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13902 \begin_layout Plain Layout
13910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13913 \begin_layout Plain Layout
13934 \begin_layout Standard
13935 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
13937 編集\SpecialChar \menuseparator
13941 \begin_inset CommandInset ref
13943 reference "tab:colortblなしの表"
13947 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
13952 \begin_inset Index idx
13955 \begin_layout Plain Layout
13956 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
13964 \begin_layout Standard
13968 \begin_layout Plain Layout
13978 \begin_inset Note Note
13981 \begin_layout Plain Layout
13982 本節の以下の部分は、LaTeXパッケージ
13994 \begin_layout Standard
13995 色付きの表を作成するには、プリアンブルに
13998 \begin_layout Standard
14003 usepackage{colortbl}
14006 \begin_layout Standard
14011 を読み込まなくてはなりません。列の色は、
14018 \begin_layout Standard
14026 \begin_layout Standard
14027 というコマンドを書いて指定することができます。
14032 \begin_inset CommandInset ref
14034 reference "sub:連結列の計算"
14041 \begin_layout Standard
14042 以下の色彩名が事前に定義されています。
14045 \begin_layout Standard
14079 \begin_layout Standard
14080 \begin_inset VSpace medskip
14086 \begin_layout Standard
14090 \begin_layout Standard
14095 definecolor{色彩名}{色彩モデル}{色彩値}
14098 \begin_layout Standard
14099 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
14102 \begin_layout Labeling
14122 \begin_layout Labeling
14138 \begin_layout Labeling
14142 \begin_layout Standard
14143 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
14146 \begin_layout Standard
14150 \begin_layout Standard
14155 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14158 \begin_layout Standard
14166 \begin_layout Standard
14171 definecolor{lightgray}{gray}{0.8}
14174 \begin_layout Standard
14182 \begin_layout Standard
14183 \begin_inset VSpace medskip
14189 \begin_layout Standard
14193 \begin_layout Standard
14201 \begin_layout Standard
14202 というコマンドを使用して色付けすることができ、セルは
14205 \begin_layout Standard
14213 \begin_layout Standard
14214 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
14217 \begin_layout Standard
14218 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
14220 編集\SpecialChar \menuseparator
14223 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
14227 \begin_layout Standard
14228 \begin_inset Note Greyedout
14231 \begin_layout Plain Layout
14232 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
14240 \begin_layout Standard
14241 \begin_inset VSpace bigskip
14247 \begin_layout Standard
14249 \begin_inset CommandInset ref
14251 reference "tab:色付き表"
14255 を作成するには、以下のようにしてください。第一列の色は
14259 にしたいので、この列のLaTeX変数として
14262 \begin_layout Standard
14267 columncolor{darkgreen}
14272 \begin_layout Standard
14273 と書き込みます。第一列は青にしたいので、この列の最初のセルに
14276 \begin_layout Standard
14284 \begin_layout Standard
14285 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最下行の最後のセルは、
14288 \begin_layout Standard
14296 \begin_layout Standard
14297 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
14299 編集\SpecialChar \menuseparator
14302 メニューを使って、各文字に色付けをすることができます。
14305 \begin_layout Standard
14306 \begin_inset Float table
14312 \begin_layout Plain Layout
14313 \begin_inset Caption
14315 \begin_layout Plain Layout
14318 \begin_inset CommandInset label
14327 \begin_inset Argument
14330 \begin_layout Plain Layout
14344 \begin_layout Plain Layout
14346 \begin_inset Tabular
14347 <lyxtabular version="3" rows="3" columns="3">
14348 <features tabularvalignment="middle">
14349 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14350 <column alignment="center" valignment="top" width="0">
14351 <column alignment="center" valignment="top" width="0">
14353 <cell alignment="center" valignment="top" usebox="none">
14356 \begin_layout Plain Layout
14360 \begin_layout Plain Layout
14376 <cell alignment="center" valignment="top" usebox="none">
14379 \begin_layout Plain Layout
14387 <cell alignment="center" valignment="top" usebox="none">
14390 \begin_layout Plain Layout
14400 <cell alignment="center" valignment="top" usebox="none">
14403 \begin_layout Plain Layout
14411 <cell alignment="center" valignment="top" usebox="none">
14414 \begin_layout Plain Layout
14422 <cell alignment="center" valignment="top" usebox="none">
14425 \begin_layout Plain Layout
14435 <cell alignment="center" valignment="top" usebox="none">
14438 \begin_layout Plain Layout
14446 <cell alignment="center" valignment="top" usebox="none">
14449 \begin_layout Plain Layout
14457 <cell alignment="center" valignment="top" usebox="none">
14460 \begin_layout Plain Layout
14464 \begin_layout Plain Layout
14493 \begin_layout Standard
14497 \begin_layout Plain Layout
14507 \begin_inset Note Note
14510 \begin_layout Plain Layout
14515 が導入されていないときに表示されます。
14523 \begin_layout Standard
14531 \begin_layout Standard
14535 \begin_layout Plain Layout
14547 \begin_layout Subsection
14549 \begin_inset Index idx
14552 \begin_layout Plain Layout
14553 ひょうのいろ@表の色 ! けいせんぶ@罫線部
14559 \begin_inset Index idx
14562 \begin_layout Plain Layout
14563 いろつき@色付き ! ひょうけいせんぶ@表罫線部
14571 \begin_layout Standard
14573 \begin_inset CommandInset ref
14575 reference "sub:罫線幅"
14579 節に述べられているように、表中の全罫線の線幅は、長さ
14585 を使って調節することができます。本節の表では、すべて1.5
14586 \begin_inset space \thinspace{}
14593 \begin_layout Plain Layout
14599 arrayrulewidth}{1.5pt}
14607 \begin_layout Standard
14609 \begin_inset CommandInset ref
14611 reference "sub:自製書式"
14615 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
14618 \begin_layout Standard
14623 newcolumntype{W}{!{
14630 \begin_layout Standard
14632 \begin_inset CommandInset ref
14634 reference "tab:色付き縦罫線の表"
14649 \begin_layout Standard
14650 複数の色を用いたいときには、列書式をもっと定義してください。
14653 \begin_layout Standard
14654 \begin_inset Float table
14660 \begin_layout Plain Layout
14661 \begin_inset Caption
14663 \begin_layout Plain Layout
14664 \begin_inset CommandInset label
14666 name "tab:色付き縦罫線の表"
14678 \begin_layout Plain Layout
14680 \begin_inset Tabular
14681 <lyxtabular version="3" rows="3" columns="3">
14682 <features tabularvalignment="middle">
14683 <column alignment="center" valignment="top" width="0" special="Wc">
14684 <column alignment="center" valignment="top" width="0" special="Wc">
14685 <column alignment="center" valignment="top" width="0" special="WcW">
14687 <cell alignment="center" valignment="top" topline="true" usebox="none">
14690 \begin_layout Plain Layout
14696 <cell alignment="center" valignment="top" topline="true" usebox="none">
14699 \begin_layout Plain Layout
14705 <cell alignment="center" valignment="top" topline="true" usebox="none">
14708 \begin_layout Plain Layout
14716 <cell alignment="center" valignment="top" topline="true" usebox="none">
14719 \begin_layout Plain Layout
14725 <cell alignment="center" valignment="top" topline="true" usebox="none">
14728 \begin_layout Plain Layout
14734 <cell alignment="center" valignment="top" topline="true" usebox="none">
14737 \begin_layout Plain Layout
14745 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14748 \begin_layout Plain Layout
14754 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14757 \begin_layout Plain Layout
14763 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14766 \begin_layout Plain Layout
14785 \begin_layout Standard
14786 \begin_inset VSpace bigskip
14790 \begin_inset CommandInset ref
14792 reference "tab:色付き横罫線の表"
14796 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
14799 \begin_layout Standard
14809 \begin_inset Newline newline
14817 \begin_inset Newline newline
14821 \begin_inset Phantom HPhantom
14824 \begin_layout Plain Layout
14825 \begin_inset space ~
14835 arrayrulecolor{red}
14839 arrayrulecolor{black}}
14842 \begin_layout Standard
14846 \begin_layout Standard
14850 \begin_layout Plain Layout
14861 \begin_layout Plain Layout
14870 \begin_layout Plain Layout
14874 arrayrulecolor{red}
14878 arrayrulecolor{black}}
14884 \begin_inset Float table
14890 \begin_layout Plain Layout
14891 \begin_inset Caption
14893 \begin_layout Plain Layout
14894 \begin_inset CommandInset label
14896 name "tab:色付き横罫線の表"
14908 \begin_layout Plain Layout
14910 \begin_inset Tabular
14911 <lyxtabular version="3" rows="3" columns="3">
14912 <features tabularvalignment="middle">
14913 <column alignment="center" valignment="top" width="0">
14914 <column alignment="center" valignment="top" width="0">
14915 <column alignment="center" valignment="top" width="0">
14917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14920 \begin_layout Plain Layout
14926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14929 \begin_layout Plain Layout
14935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14938 \begin_layout Plain Layout
14946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14949 \begin_layout Plain Layout
14955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14958 \begin_layout Plain Layout
14964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14967 \begin_layout Plain Layout
14975 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14978 \begin_layout Plain Layout
14984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14987 \begin_layout Plain Layout
14993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14996 \begin_layout Plain Layout
15015 \begin_layout Standard
15019 \begin_layout Standard
15031 \begin_layout Standard
15032 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
15033 \begin_inset CommandInset ref
15035 reference "tab:色付き罫線の表"
15042 \begin_layout Standard
15043 \begin_inset Float table
15049 \begin_layout Plain Layout
15050 \begin_inset Caption
15052 \begin_layout Plain Layout
15053 \begin_inset CommandInset label
15067 \begin_layout Plain Layout
15069 \begin_inset Tabular
15070 <lyxtabular version="3" rows="3" columns="3">
15071 <features tabularvalignment="middle">
15072 <column alignment="center" valignment="top" width="0" special="Wc">
15073 <column alignment="center" valignment="top" width="0" special="Wc">
15074 <column alignment="center" valignment="top" width="0" special="WcW">
15076 <cell alignment="center" valignment="top" topline="true" usebox="none">
15079 \begin_layout Plain Layout
15085 <cell alignment="center" valignment="top" topline="true" usebox="none">
15088 \begin_layout Plain Layout
15094 <cell alignment="center" valignment="top" topline="true" usebox="none">
15097 \begin_layout Plain Layout
15105 <cell alignment="center" valignment="top" topline="true" usebox="none">
15108 \begin_layout Plain Layout
15114 <cell alignment="center" valignment="top" topline="true" usebox="none">
15117 \begin_layout Plain Layout
15123 <cell alignment="center" valignment="top" topline="true" usebox="none">
15126 \begin_layout Plain Layout
15133 <row topspace="default">
15134 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15137 \begin_layout Plain Layout
15143 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15146 \begin_layout Plain Layout
15152 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15155 \begin_layout Plain Layout
15174 \begin_layout Standard
15178 \begin_layout Plain Layout
15194 \begin_layout Standard
15198 \begin_layout Plain Layout
15204 arrayrulewidth}{0.4pt}
15212 \begin_layout Section
15214 \begin_inset Index idx
15217 \begin_layout Plain Layout
15224 \begin_inset Index idx
15227 \begin_layout Plain Layout
15236 \begin_layout Subsection
15238 \begin_inset CommandInset label
15245 \begin_inset Index idx
15248 \begin_layout Plain Layout
15249 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
15257 \begin_layout Standard
15262 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
15265 \begin_layout Description
15266 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
15270 \begin_layout Plain Layout
15272 \begin_inset CommandInset ref
15274 reference "sec:フォーマル形式の表"
15284 \begin_inset space \thinspace{}
15287 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15288 \begin_inset VSpace medskip
15292 \begin_inset Newline newline
15296 \begin_inset space \hspace*{}
15301 \begin_inset space \hfill{}
15305 \begin_inset Tabular
15306 <lyxtabular version="3" rows="3" columns="1">
15307 <features tabularvalignment="middle">
15308 <column alignment="center" valignment="top" width="0">
15310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15313 \begin_layout Plain Layout
15320 <row topspace="3mm">
15321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15324 \begin_layout Plain Layout
15326 \begin_inset space \thinspace{}
15336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15339 \begin_layout Plain Layout
15351 \begin_inset space \hfill{}
15355 \begin_inset space \hspace*{}
15360 \begin_inset VSpace medskip
15364 \begin_inset Newline newline
15367 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
15370 \begin_layout Description
15371 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15372 \begin_inset space \thinspace{}
15375 emの余白を挿入し、通常の表ならば既定値として2
15376 \begin_inset space \thinspace{}
15382 \begin_layout Description
15383 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15384 \begin_inset space \thinspace{}
15387 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15388 \begin_inset VSpace medskip
15392 \begin_inset Newline newline
15396 \begin_inset space \hspace*{}
15401 \begin_inset space \hfill{}
15405 \begin_inset Tabular
15406 <lyxtabular version="3" rows="3" columns="1">
15407 <features tabularvalignment="middle">
15408 <column alignment="center" valignment="top" width="0">
15410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15413 \begin_layout Plain Layout
15420 <row interlinespace="3mm">
15421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15424 \begin_layout Plain Layout
15425 \begin_inset Formula $\downarrow$
15429 \begin_inset space \thinspace{}
15433 \begin_inset Formula $\downarrow$
15443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15446 \begin_layout Plain Layout
15447 \begin_inset Formula $\uparrow$
15451 \begin_inset space \thinspace{}
15455 \begin_inset Formula $\uparrow$
15469 \begin_inset space \hfill{}
15473 \begin_inset space \hspace*{}
15478 \begin_inset VSpace medskip
15482 \begin_inset Newline newline
15485 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
15488 \begin_layout Standard
15489 \begin_inset VSpace bigskip
15492 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
15495 \begin_layout Standard
15500 @ifundefined{extrarowheight}
15501 \begin_inset Newline newline
15505 \begin_inset Phantom HPhantom
15508 \begin_layout Plain Layout
15509 \begin_inset space ~
15519 usepackage{array}}{}
15520 \begin_inset Newline newline
15527 extrarowheight}{height}
15530 \begin_layout Standard
15531 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
15535 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
15544 \begin_layout Standard
15545 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
15551 コマンドを挿入することで補正することができます。表
15552 \begin_inset CommandInset ref
15554 reference "tab:垂直揃え"
15561 \begin_layout Standard
15563 \begin_inset Float table
15569 \begin_layout Plain Layout
15570 \begin_inset Caption
15572 \begin_layout Plain Layout
15573 \begin_inset CommandInset label
15587 \begin_layout Plain Layout
15588 \begin_inset space \hfill{}
15592 \begin_inset Float table
15597 \begin_layout Plain Layout
15598 \begin_inset Caption
15600 \begin_layout Plain Layout
15609 \begin_layout Plain Layout
15612 \begin_inset Tabular
15613 <lyxtabular version="3" rows="6" columns="1">
15614 <features tabularvalignment="middle">
15615 <column alignment="left" valignment="top" width="0">
15617 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15620 \begin_layout Plain Layout
15628 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15631 \begin_layout Plain Layout
15641 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15644 \begin_layout Plain Layout
15654 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15657 \begin_layout Plain Layout
15667 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15670 \begin_layout Plain Layout
15680 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15683 \begin_layout Plain Layout
15702 \begin_inset space \hfill{}
15706 \begin_inset Float table
15711 \begin_layout Plain Layout
15712 \begin_inset Caption
15714 \begin_layout Plain Layout
15729 \begin_layout Plain Layout
15732 \begin_inset Tabular
15733 <lyxtabular version="3" rows="6" columns="1">
15734 <features tabularvalignment="middle">
15735 <column alignment="left" valignment="top" width="0">
15737 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15740 \begin_layout Plain Layout
15748 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15751 \begin_layout Plain Layout
15757 \begin_layout Plain Layout
15773 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15776 \begin_layout Plain Layout
15782 \begin_layout Plain Layout
15798 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15801 \begin_layout Plain Layout
15807 \begin_layout Plain Layout
15823 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15826 \begin_layout Plain Layout
15832 \begin_layout Plain Layout
15848 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15851 \begin_layout Plain Layout
15857 \begin_layout Plain Layout
15882 \begin_inset space \hfill{}
15893 \begin_layout Subsection
15895 \begin_inset Index idx
15898 \begin_layout Plain Layout
15899 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
15907 \begin_layout Standard
15909 \begin_inset CommandInset ref
15911 reference "tab:表セル"
15915 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。
15918 \begin_layout Standard
15919 \begin_inset Float table
15925 \begin_layout Plain Layout
15926 \begin_inset Caption
15928 \begin_layout Plain Layout
15929 \begin_inset CommandInset label
15943 \begin_layout Plain Layout
15945 \begin_inset Tabular
15946 <lyxtabular version="3" rows="4" columns="2">
15947 <features tabularvalignment="middle">
15948 <column alignment="right" valignment="top" width="0">
15949 <column alignment="left" valignment="top" width="0" special="@{}l">
15951 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15954 \begin_layout Plain Layout
15960 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15963 \begin_layout Plain Layout
15971 <cell alignment="center" valignment="top" usebox="none">
15974 \begin_layout Plain Layout
15980 <cell alignment="center" valignment="top" usebox="none">
15983 \begin_layout Plain Layout
15991 <cell alignment="center" valignment="top" usebox="none">
15994 \begin_layout Plain Layout
16000 <cell alignment="center" valignment="top" usebox="none">
16003 \begin_layout Plain Layout
16011 <cell alignment="center" valignment="top" usebox="none">
16014 \begin_layout Plain Layout
16020 <cell alignment="center" valignment="top" usebox="none">
16023 \begin_layout Plain Layout
16042 \begin_layout Standard
16043 この表は4×2表として作成されています。見出しは中央揃えの連結列になっています。第1列には、小数点以上の各桁と小数点が右揃えで収められています。第2列には、小数
16044 点以下の各桁が左揃えで収められています。通常、表の列間に加えられる余白を削るために、
16047 \begin_layout Standard
16053 \begin_layout Standard
16054 というLaTeX引数を第2列に指定します。
16057 \begin_layout Standard
16059 \begin_inset CommandInset ref
16061 reference "tab:表セル揃え"
16065 は、揃え方の例をいくつか示しています。関係子で揃えを行うには、関係詞の周りに正しい余白を取るために、二番目に小さい数式余白を最終列の初めに加えなくてはなりません
16069 \begin_layout Standard
16070 \begin_inset Float table
16075 \begin_layout Plain Layout
16076 \begin_inset Caption
16078 \begin_layout Plain Layout
16079 \begin_inset CommandInset label
16093 \begin_layout Plain Layout
16095 \begin_inset Tabular
16096 <lyxtabular version="3" rows="4" columns="6">
16097 <features tabularvalignment="middle">
16098 <column alignment="right" valignment="top" width="0">
16099 <column alignment="left" valignment="top" width="0" special="@{}l">
16100 <column alignment="right" valignment="top" width="0">
16101 <column alignment="left" valignment="top" width="0" special="@{}l">
16102 <column alignment="right" valignment="top" width="0">
16103 <column alignment="left" valignment="top" width="0" special="@{}l">
16105 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16108 \begin_layout Plain Layout
16114 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16117 \begin_layout Plain Layout
16123 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16126 \begin_layout Plain Layout
16132 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16135 \begin_layout Plain Layout
16141 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16144 \begin_layout Plain Layout
16150 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16153 \begin_layout Plain Layout
16161 <cell alignment="center" valignment="top" usebox="none">
16164 \begin_layout Plain Layout
16170 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16173 \begin_layout Plain Layout
16179 <cell alignment="center" valignment="top" usebox="none">
16182 \begin_layout Plain Layout
16183 \begin_inset Formula $10\cdot$
16191 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16194 \begin_layout Plain Layout
16195 \begin_inset Formula $10^{\mbox{-}17}$
16203 <cell alignment="center" valignment="top" usebox="none">
16206 \begin_layout Plain Layout
16207 \begin_inset Formula $\Gamma(t)\propto$
16215 <cell alignment="center" valignment="top" usebox="none">
16218 \begin_layout Plain Layout
16219 \begin_inset Formula $\:\Upsilon(t)$
16229 <cell alignment="center" valignment="top" usebox="none">
16232 \begin_layout Plain Layout
16238 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16241 \begin_layout Plain Layout
16247 <cell alignment="center" valignment="top" usebox="none">
16250 \begin_layout Plain Layout
16251 \begin_inset Formula $5.78\cdot$
16259 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16262 \begin_layout Plain Layout
16263 \begin_inset Formula $10^{7}$
16271 <cell alignment="center" valignment="top" usebox="none">
16274 \begin_layout Plain Layout
16275 \begin_inset Formula $A\ne$
16283 <cell alignment="center" valignment="top" usebox="none">
16286 \begin_layout Plain Layout
16287 \begin_inset Formula $\: B_{\mathrm{red}}$
16297 <cell alignment="center" valignment="top" usebox="none">
16300 \begin_layout Plain Layout
16306 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16309 \begin_layout Plain Layout
16311 \begin_inset space \thinspace{}
16319 <cell alignment="center" valignment="top" usebox="none">
16322 \begin_layout Plain Layout
16324 \begin_inset Formula $33.5\cdot$
16332 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16335 \begin_layout Plain Layout
16336 \begin_inset Formula $10^{4}$
16344 <cell alignment="center" valignment="top" usebox="none">
16347 \begin_layout Plain Layout
16348 \begin_inset Formula $\sin(\alpha)\ge$
16356 <cell alignment="center" valignment="top" usebox="none">
16359 \begin_layout Plain Layout
16360 \begin_inset Formula $\:\sin(\beta)$
16381 \begin_layout Standard
16382 \begin_inset VSpace bigskip
16390 \begin_inset Index idx
16393 \begin_layout Plain Layout
16394 LaTeXぱっけーじ@LaTeXパッケージ ! dcolumn
16399 LaTeXパッケージもあります。しかし残念ながら、このパッケージはセルの内容全体を数式として取扱うため、表セル中に数式を入れることはできません。表
16400 \begin_inset CommandInset ref
16402 reference "tab:表セル揃え"
16411 \begin_inset CommandInset ref
16413 reference "tab:使用したときの揃え"
16417 の第1列のようになり、ちょっとしたテクニックを使わなければ、期待通りにはなりません。表
16418 \begin_inset CommandInset ref
16420 reference "tab:表セル揃え"
16429 \begin_inset Newpage newpage
16435 \begin_layout Standard
16436 \begin_inset Float table
16442 \begin_layout Plain Layout
16443 \begin_inset Caption
16445 \begin_layout Plain Layout
16446 \begin_inset CommandInset label
16448 name "tab:使用したときの揃え"
16452 LaTeXパッケージdcolumnを使用したときの揃えの様子。この出力のようにすべての列を揃えるには、テクニックを用いなくてはなりません。
16460 \begin_layout Plain Layout
16462 \begin_inset Tabular
16463 <lyxtabular version="3" rows="4" columns="3">
16464 <features tabularvalignment="middle">
16465 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
16466 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
16467 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16469 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16472 \begin_layout Plain Layout
16478 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16481 \begin_layout Plain Layout
16487 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16490 \begin_layout Plain Layout
16498 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16501 \begin_layout Plain Layout
16507 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16510 \begin_layout Plain Layout
16516 <cell alignment="center" valignment="top" usebox="none">
16519 \begin_layout Plain Layout
16524 \begin_layout Plain Layout
16534 \begin_inset Formula $\mbox{本の瓶}$
16544 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16547 \begin_layout Plain Layout
16553 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16556 \begin_layout Plain Layout
16562 <cell alignment="center" valignment="top" usebox="none">
16565 \begin_layout Plain Layout
16570 \begin_layout Plain Layout
16580 \begin_inset Formula $\mbox{ピクセル}$
16590 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16593 \begin_layout Plain Layout
16595 \begin_inset space \thinspace{}
16603 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16606 \begin_layout Plain Layout
16608 \begin_inset space \thinspace{}
16612 \begin_inset Formula $\mbox{cm}$
16620 <cell alignment="center" valignment="top" usebox="none">
16623 \begin_layout Plain Layout
16628 \begin_layout Plain Layout
16638 \begin_inset Formula $\mbox{cm}$
16659 \begin_layout Subsection
16661 \begin_inset CommandInset label
16668 \begin_inset Index idx
16671 \begin_layout Plain Layout
16672 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
16680 \begin_layout Standard
16681 連結列セルを含む表がいくつもある場合には、第
16682 \begin_inset CommandInset ref
16684 reference "sub:連結列の計算"
16688 節のように連結部分を含む列に必要とされる幅を計算することはたいへん面倒です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のす
16689 べての表で使うことができます。書式は、以下のように定義します。
16692 \begin_layout Standard
16697 newcolumntype{書式名}[引数の数]{コマンド}
16700 \begin_layout Standard
16725 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
16728 \begin_layout Standard
16729 \begin_inset VSpace medskip
16735 \begin_layout Standard
16736 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
16739 \begin_layout Standard
16744 newcolumntype{M}[1]{>{
16751 \begin_layout Standard
16759 \begin_inset CommandInset ref
16761 reference "sub:複数行"
16765 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
16768 \begin_layout Standard
16774 \begin_layout Standard
16778 \begin_layout Standard
16779 \begin_inset VSpace bigskip
16785 \begin_layout Standard
16786 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
16789 \begin_layout Standard
16794 newcolumntype{S}[2]{>{
16799 \begin_inset Newline newline
16803 \begin_inset Phantom HPhantom
16806 \begin_layout Plain Layout
16820 arrayrulewidth)*(1-#2))/#2}}
16823 \begin_layout Standard
16824 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
16825 \begin_inset CommandInset ref
16834 \begin_layout Standard
16835 こうしておけば、当該セルのLaTeX引数に
16838 \begin_layout Standard
16841 S{連結列セルの幅}{連結列セルがまたがる列の数}
16844 \begin_layout Standard
16848 \begin_layout Standard
16849 \begin_inset VSpace bigskip
16855 \begin_layout Standard
16856 色付き列については、以下のように定義するとよいでしょう。
16859 \begin_layout Standard
16864 newcolumntype{K}[1]{>{
16871 \begin_layout Standard
16872 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
16875 \begin_layout Standard
16881 \begin_layout Standard
16885 \begin_layout Standard
16886 \begin_inset VSpace bigskip
16892 \begin_layout Standard
16894 \begin_inset CommandInset ref
16896 reference "tab:ユーザー定義の表書式"
16900 を生成するには、第1列と連結列にLaTeX引数として
16903 \begin_layout Standard
16909 \begin_layout Standard
16913 \begin_layout Standard
16919 \begin_layout Standard
16923 \begin_layout Standard
16929 \begin_layout Standard
16933 \begin_layout Standard
16934 \begin_inset Float table
16940 \begin_layout Plain Layout
16941 \begin_inset Caption
16943 \begin_layout Plain Layout
16944 \begin_inset CommandInset label
16946 name "tab:ユーザー定義の表書式"
16958 \begin_layout Plain Layout
16960 \begin_inset Tabular
16961 <lyxtabular version="3" rows="3" columns="4">
16962 <features tabularvalignment="middle">
16963 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
16964 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
16965 <column alignment="center" valignment="middle" width="0">
16966 <column alignment="center" valignment="middle" width="0" special="K{red}">
16968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16971 \begin_layout Plain Layout
16977 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
16980 \begin_layout Plain Layout
16986 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16989 \begin_layout Plain Layout
16995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16998 \begin_layout Plain Layout
17006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17009 \begin_layout Plain Layout
17015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17018 \begin_layout Plain Layout
17024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17027 \begin_layout Plain Layout
17033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17036 \begin_layout Plain Layout
17044 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17047 \begin_layout Plain Layout
17053 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17056 \begin_layout Plain Layout
17062 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17065 \begin_layout Plain Layout
17071 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17074 \begin_layout Plain Layout
17093 \begin_layout Subsection
17095 \begin_inset CommandInset label
17102 \begin_inset Index idx
17105 \begin_layout Plain Layout
17106 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
17114 \begin_layout Standard
17115 表中のすべての罫線の罫線幅を調整するには、長さ
17122 \begin_inset CommandInset ref
17124 reference "tab:Table-with-1.5"
17129 \begin_inset space \thinspace{}
17132 ptにするには、表や表フロートの前にTeXコードで
17135 \begin_layout Standard
17142 arrayrulewidth}{1.5pt}
17145 \begin_layout Standard
17146 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
17153 \begin_inset space \thinspace{}
17159 \begin_layout Standard
17163 \begin_layout Plain Layout
17169 arrayrulewidth}{1.5pt}
17175 \begin_inset Float table
17180 \begin_layout Plain Layout
17181 \begin_inset Caption
17183 \begin_layout Plain Layout
17184 \begin_inset CommandInset label
17186 name "tab:Table-with-1.5"
17191 \begin_inset space \thinspace{}
17202 \begin_layout Plain Layout
17204 \begin_inset Tabular
17205 <lyxtabular version="3" rows="3" columns="3">
17206 <features tabularvalignment="middle">
17207 <column alignment="center" valignment="top" width="0">
17208 <column alignment="center" valignment="top" width="0">
17209 <column alignment="center" valignment="top" width="0">
17211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17214 \begin_layout Plain Layout
17220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17223 \begin_layout Plain Layout
17229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17232 \begin_layout Plain Layout
17240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17243 \begin_layout Plain Layout
17249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17252 \begin_layout Plain Layout
17258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17261 \begin_layout Plain Layout
17269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17272 \begin_layout Plain Layout
17278 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17281 \begin_layout Plain Layout
17287 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17290 \begin_layout Plain Layout
17310 \begin_layout Plain Layout
17316 arrayrulewidth}{0.4pt}
17324 \begin_layout Standard
17325 \begin_inset VSpace bigskip
17329 \begin_inset CommandInset ref
17331 reference "tab:1.5pt幅横罫"
17336 \begin_inset space \thinspace{}
17339 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
17342 \begin_layout Standard
17352 \begin_inset Newline newline
17360 \begin_inset Newline newline
17369 arrayrulewidth 1.5pt}
17370 \begin_inset Newline newline
17381 arrayrulewidth 0.4pt}}
17384 \begin_layout Standard
17385 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
17388 \begin_layout Standard
17400 \begin_layout Standard
17404 \begin_layout Plain Layout
17415 \begin_layout Plain Layout
17424 \begin_layout Plain Layout
17432 arrayrulewidth 1.5pt}
17435 \begin_layout Plain Layout
17445 arrayrulewidth 0.4pt}}
17451 \begin_inset Float table
17456 \begin_layout Plain Layout
17457 \begin_inset Caption
17459 \begin_layout Plain Layout
17460 \begin_inset CommandInset label
17462 name "tab:1.5pt幅横罫"
17467 \begin_inset space \thinspace{}
17478 \begin_layout Plain Layout
17480 \begin_inset Tabular
17481 <lyxtabular version="3" rows="3" columns="3">
17482 <features tabularvalignment="middle">
17483 <column alignment="center" valignment="top" width="0">
17484 <column alignment="center" valignment="top" width="0">
17485 <column alignment="center" valignment="top" width="0">
17487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17490 \begin_layout Plain Layout
17496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17499 \begin_layout Plain Layout
17505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17508 \begin_layout Plain Layout
17516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17519 \begin_layout Plain Layout
17525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17528 \begin_layout Plain Layout
17534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17537 \begin_layout Plain Layout
17545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17548 \begin_layout Plain Layout
17554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17557 \begin_layout Plain Layout
17563 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17566 \begin_layout Plain Layout
17586 \begin_layout Plain Layout
17602 \begin_layout Standard
17603 \begin_inset VSpace bigskip
17607 \begin_inset space \thinspace{}
17611 \begin_inset CommandInset ref
17613 reference "sub:自製書式"
17617 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
17620 \begin_layout Standard
17625 newcolumntype{V}{!{
17627 vrule width 1.5pt}}
17630 \begin_layout Standard
17632 \begin_inset CommandInset ref
17634 reference "tab:1.5pt幅縦罫"
17641 \begin_layout Standard
17647 \begin_layout Standard
17651 \begin_layout Standard
17657 \begin_layout Standard
17661 \begin_layout Standard
17662 \begin_inset Float table
17667 \begin_layout Plain Layout
17668 \begin_inset Caption
17670 \begin_layout Plain Layout
17671 \begin_inset CommandInset label
17673 name "tab:1.5pt幅縦罫"
17678 \begin_inset space \thinspace{}
17689 \begin_layout Plain Layout
17691 \begin_inset Tabular
17692 <lyxtabular version="3" rows="3" columns="3">
17693 <features tabularvalignment="middle">
17694 <column alignment="center" valignment="top" width="0" special="Vc">
17695 <column alignment="center" valignment="top" width="0" special="Vc">
17696 <column alignment="center" valignment="top" width="0" special="VcV">
17698 <cell alignment="center" valignment="top" topline="true" usebox="none">
17701 \begin_layout Plain Layout
17707 <cell alignment="center" valignment="top" topline="true" usebox="none">
17710 \begin_layout Plain Layout
17716 <cell alignment="center" valignment="top" topline="true" usebox="none">
17719 \begin_layout Plain Layout
17727 <cell alignment="center" valignment="top" topline="true" usebox="none">
17730 \begin_layout Plain Layout
17736 <cell alignment="center" valignment="top" topline="true" usebox="none">
17739 \begin_layout Plain Layout
17745 <cell alignment="center" valignment="top" topline="true" usebox="none">
17748 \begin_layout Plain Layout
17756 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17759 \begin_layout Plain Layout
17765 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17768 \begin_layout Plain Layout
17774 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17777 \begin_layout Plain Layout
17796 \begin_layout Subsection
17798 \begin_inset Index idx
17801 \begin_layout Plain Layout
17802 ひょうのちょうせい@表の調整 ! てんけい@点罫
17810 \begin_layout Standard
17814 \begin_layout Plain Layout
17824 \begin_inset Note Note
17827 \begin_layout Plain Layout
17828 この節は、LaTeXパッケージarydshlnが導入済みの時のみ表示されます。
17836 \begin_layout Standard
17837 \begin_inset Float table
17843 \begin_layout Plain Layout
17844 \begin_inset Caption
17846 \begin_layout Plain Layout
17847 \begin_inset CommandInset label
17861 \begin_layout Plain Layout
17863 \begin_inset Tabular
17864 <lyxtabular version="3" rows="5" columns="5">
17865 <features tabularvalignment="middle">
17866 <column alignment="center" valignment="top" width="0">
17867 <column alignment="center" valignment="top" width="0">
17868 <column alignment="center" valignment="top" width="0" special=":c">
17869 <column alignment="center" valignment="top" width="0">
17870 <column alignment="center" valignment="top" width="0">
17872 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17875 \begin_layout Plain Layout
17881 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17884 \begin_layout Plain Layout
17890 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17893 \begin_layout Plain Layout
17899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17902 \begin_layout Plain Layout
17908 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17911 \begin_layout Plain Layout
17919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17922 \begin_layout Plain Layout
17928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17931 \begin_layout Plain Layout
17937 <cell alignment="center" valignment="top" topline="true" usebox="none">
17940 \begin_layout Plain Layout
17946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17949 \begin_layout Plain Layout
17955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17958 \begin_layout Plain Layout
17966 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17969 \begin_layout Plain Layout
17973 \begin_layout Plain Layout
17987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17990 \begin_layout Plain Layout
17996 <cell alignment="center" valignment="top" usebox="none">
17999 \begin_layout Plain Layout
18005 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18008 \begin_layout Plain Layout
18014 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18017 \begin_layout Plain Layout
18025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18028 \begin_layout Plain Layout
18032 \begin_layout Plain Layout
18046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18049 \begin_layout Plain Layout
18055 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18058 \begin_layout Plain Layout
18064 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18067 \begin_layout Plain Layout
18073 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18076 \begin_layout Plain Layout
18084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18087 \begin_layout Plain Layout
18093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18096 \begin_layout Plain Layout
18102 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18105 \begin_layout Plain Layout
18111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18114 \begin_layout Plain Layout
18120 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18123 \begin_layout Plain Layout
18142 \begin_layout Standard
18143 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
18146 \begin_layout Standard
18151 usepackage{arydshln}
18154 \begin_layout Standard
18155 というコマンドを書き、LaTeXパッケージの
18160 \begin_inset Index idx
18163 \begin_layout Plain Layout
18164 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
18169 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
18172 \begin_layout Standard
18173 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
18176 \begin_layout Standard
18184 \begin_layout Standard
18188 \begin_layout Standard
18189 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
18192 \begin_layout Standard
18202 \begin_layout Standard
18203 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
18206 \begin_layout Standard
18214 \begin_layout Standard
18218 \begin_layout Standard
18219 \begin_inset VSpace bigskip
18225 \begin_layout Standard
18227 \begin_inset CommandInset ref
18229 reference "tab:点罫表"
18233 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
18237 hdashlineが挿れられており、第3行の最初のセルには、
18240 \begin_inset Newline newline
18247 cdashline{4-5}が挿れられています。
18250 \begin_layout Standard
18251 \begin_inset Note Greyedout
18254 \begin_layout Plain Layout
18259 ここで用いられているLaTeXパッケージ
18264 \begin_inset CommandInset ref
18266 reference "sec:色付きの表"
18270 節の色付き表で用いられているLaTeXパッケージ
18275 \begin_inset Index idx
18278 \begin_layout Plain Layout
18279 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
18284 とは、どうやら共存し得ないようです。すなわち、色付き表に点罫をつけることはできません。
18292 \begin_layout Standard
18296 \begin_layout Plain Layout
18306 \begin_inset Note Note
18309 \begin_layout Plain Layout
18322 \begin_layout Standard
18327 パッケージを導入しなくてはなりません。
18330 \begin_layout Standard
18334 \begin_layout Plain Layout
18346 \begin_layout Chapter
18348 \begin_inset Index idx
18351 \begin_layout Plain Layout
18360 \begin_layout Section
18362 \begin_inset CommandInset label
18364 name "sec:フロートはじめに"
18369 \begin_inset Index idx
18372 \begin_layout Plain Layout
18381 \begin_layout Standard
18382 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
18391 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
18394 \begin_layout Standard
18395 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
18396 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
18397 ートには連番が割り当てられます。参照については、第
18398 \begin_inset CommandInset ref
18400 reference "sec:フロートの参照"
18407 \begin_layout Standard
18410 挿入\SpecialChar \menuseparator
18413 メニューを使えば、ラベルのついたボックスすなわち
18417 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
18418 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
18419 \begin_inset CommandInset ref
18421 reference "sec:キャプションの配置"
18425 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
18427 \begin_inset Graphics
18428 filename clipart/floatQt4.png
18430 scaleBeforeRotation
18434 のように、灰色ボタンに赤字ラベルで表示されます。
18437 \begin_layout Standard
18438 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
18441 \begin_layout Standard
18442 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
18445 \begin_layout Section
18449 \begin_layout Standard
18451 \begin_inset CommandInset ref
18453 reference "sec:図フロート"
18458 \begin_inset CommandInset ref
18460 reference "sec:表フロート"
18464 節で各々説明されている図フロートと表フロート以外に、
18475 \begin_layout Subsection
18477 \begin_inset Index idx
18480 \begin_layout Plain Layout
18481 ふろーと@フロート ! あるごりずむ@アルゴリズム
18489 \begin_layout Standard
18490 \begin_inset Float algorithm
18496 \begin_layout Plain Layout
18497 \begin_inset Caption
18499 \begin_layout Plain Layout
18500 \begin_inset CommandInset label
18502 name "alg:アルゴリズムフロートの例"
18514 \begin_layout LyX-Code
18516 \begin_inset Newline newline
18519 Sum:= Sum + A(I); /*comment*/
18520 \begin_inset Newline newline
18524 \begin_inset VSpace -4mm
18535 \begin_layout Standard
18540 \SpecialChar \menuseparator
18541 フロート\SpecialChar \menuseparator
18545 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
18546 \begin_inset CommandInset ref
18548 reference "cha:プログラムコードリスト"
18552 章で説明されているプログラムコードリストの代わりとみなすことができます。
18556 に述べられているように、アルゴリズム向けの環境としては、
18561 \begin_inset CommandInset ref
18563 reference "alg:アルゴリズムフロートの例"
18567 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
18568 \begin_inset space \thinspace{}
18574 \begin_layout Standard
18575 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
18578 \begin_layout Standard
18583 floatname{algorithm}{付けたい名称}
18586 \begin_layout Standard
18587 という行を手動で加える必要があります。ここで
18600 \begin_layout Standard
18601 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
18603 挿入\SpecialChar \menuseparator
18604 一覧/目次\SpecialChar \menuseparator
18607 メニューを使用します。それ以外の場合には、代わりに
18610 \begin_layout Standard
18615 listof{algorithm}{付けたい名称}
18618 \begin_layout Standard
18619 というコマンドをTeXコードとして用います。ここで
18627 s」という単語に相当する、ご使用になりたい言語での単語です。
18630 \begin_layout Standard
18631 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
18632 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
18635 \begin_layout Standard
18640 numberwithin{algorithm}{chapter}
18643 \begin_layout Standard
18650 というコマンドを使用するには、文書設定の
18661 \begin_layout Subsection
18663 \begin_inset Index idx
18666 \begin_layout Plain Layout
18667 ふろーと@フロート ! おりかえしふろーと@折返しフロート
18675 \begin_layout Standard
18676 \begin_inset Wrap figure
18683 \begin_layout Plain Layout
18684 \begin_inset Graphics
18685 filename ../clipart/mobius.eps
18687 scaleBeforeRotation
18688 rotateOrigin center
18695 \begin_layout Plain Layout
18696 \begin_inset Caption
18698 \begin_layout Plain Layout
18699 \begin_inset CommandInset label
18701 name "fig:折返し図フロート"
18715 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
18720 \begin_inset Index idx
18723 \begin_layout Plain Layout
18724 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
18731 挿入\SpecialChar \menuseparator
18732 フロート\SpecialChar \menuseparator
18743 \begin_layout Plain Layout
18744 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
18749 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
18765 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
18766 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
18767 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
18768 \begin_inset CommandInset ref
18770 reference "fig:折返し図フロート"
18775 \begin_inset space \thinspace{}
18779 \begin_inset space \thinspace{}
18782 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
18786 \begin_layout Plain Layout
18788 \begin_inset CommandInset ref
18790 reference "cha:LyXで使用できる単位"
18802 \begin_layout Standard
18803 \begin_inset Note Greyedout
18806 \begin_layout Plain Layout
18811 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
18820 \begin_layout Standard
18824 \begin_layout Itemize
18825 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
18826 うになってから、正確な位置に挿入しなくてはなりません。
18829 \begin_layout Itemize
18830 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
18833 \begin_layout Itemize
18834 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
18837 \begin_layout Itemize
18838 折返しフロートは、節見出しや表中に入れることは認められていません。
18841 \begin_layout Section
18843 \begin_inset Index idx
18846 \begin_layout Plain Layout
18847 ふろーと@フロート ! れんばん@連番
18855 \begin_layout Standard
18856 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
18860 \begin_layout Standard
18861 節から独立して付けられている連番を変更するには、文書プリアンブルで
18864 \begin_layout Standard
18876 \begin_layout Standard
18883 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
18889 コマンドを使用します。上のコマンドで使用されている
18895 は、表番号を小文字のローマ数字で印字するコマンドです。
18898 \begin_layout Standard
18899 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
18902 \begin_layout Standard
18907 numberwithin{table}{subsection}
18910 \begin_layout Standard
18917 コマンドを使用可能にするためには、文書設定の
18924 \begin_inset space ~
18932 \begin_layout Standard
18933 連番コマンドについての詳細と大切な注意点については、第
18934 \begin_inset CommandInset ref
18936 reference "sub:脚注の付番"
18943 \begin_layout Section
18945 \begin_inset CommandInset label
18952 \begin_inset Index idx
18955 \begin_layout Plain Layout
18956 ふろーと@フロート ! さんしょう@参照
18962 \begin_inset Index idx
18965 \begin_layout Plain Layout
18966 さんしょう@参照 ! ふろーとにたいする@フロートに対する
18974 \begin_layout Standard
18977 挿入\SpecialChar \menuseparator
18980 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
18981 \begin_inset Graphics
18982 filename ../clipart/labelQt4.png
18984 scaleBeforeRotation
18988 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
18989 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
18996 \begin_layout Standard
18997 ラベルは、参照のための名称兼位置標として用いられます。
18999 挿入\SpecialChar \menuseparator
19003 \begin_inset Graphics
19004 filename ../../images/dialog-show-new-inset_ref.png
19006 scaleBeforeRotation
19010 を使えば、ラベルを参照することができます。
19011 \begin_inset Graphics
19012 filename clipart/referenceQt4.png
19014 scaleBeforeRotation
19018 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
19019 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
19023 \begin_layout Standard
19024 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
19025 出力では、参照の代わりに二つの疑問符が表示されることになります。
19028 \begin_layout Standard
19029 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
19030 で、リンクの更新に手間を割く必要はありません。
19033 \begin_layout Standard
19038 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
19042 に変わるので、相互参照にカーソルを戻すのに使用することができます。相互参照ボックスを右クリックしても、カーソルを参照されているラベルの前に移すことができますが、
19043 この場合には元に戻ることができません。
19046 \begin_layout Subsection
19048 \begin_inset CommandInset label
19055 \begin_inset Index idx
19058 \begin_layout Plain Layout
19067 \begin_layout Standard
19068 相互参照には、以下の6種類があります。
19071 \begin_layout Description
19072 <参照>: これはフロート番号を表示します。これが既定値です。例:
19073 \begin_inset CommandInset ref
19075 reference "fig:歪められた二つの像"
19082 \begin_layout Description
19083 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
19085 \begin_inset CommandInset ref
19094 \begin_layout Description
19095 <参照ページ>: これはページ番号を表示します。例:Page
19096 \begin_inset space ~
19100 \begin_inset CommandInset ref
19101 LatexCommand pageref
19102 reference "fig:歪められた二つの像"
19109 \begin_layout Description
19111 \begin_inset space ~
19115 \begin_inset space ~
19118 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
19119 \begin_inset CommandInset ref
19120 LatexCommand vpageref
19121 reference "fig:歪められた二つの像"
19128 \begin_layout Description
19130 \begin_inset space ~
19134 \begin_inset space ~
19138 \begin_inset space ~
19141 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
19142 \begin_inset CommandInset ref
19144 reference "fig:歪められた二つの像"
19151 \begin_layout Description
19155 \begin_inset space ~
19158 reference: prints a self-defined cross-reference format.
19159 \begin_inset Newline newline
19163 \begin_inset Note Greyedout
19166 \begin_layout Plain Layout
19172 This feature is only available when you have the LaTeX-package
19182 \begin_inset Index idx
19185 \begin_layout Plain Layout
19186 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19192 \begin_inset Index idx
19195 \begin_layout Plain Layout
19196 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19211 \begin_inset Newline newline
19216 You can select which LaTeX-package should be used for this feature by setting
19219 Use refstyle (not prettyref) for cross-references
19223 Document\SpecialChar \menuseparator
19224 Settings\SpecialChar \menuseparator
19228 The format is specified by adding the command
19240 (refstyle) to the preamble of the document.
19241 For example redefining all references to figures (which have the label
19243 \begin_inset Quotes eld
19251 \begin_inset Quotes erd
19254 ) can be done with this command
19257 \begin_inset Newline newline
19264 newref{fig}{refcmd={
19273 \begin_inset Newline newline
19278 For more information about the format, have a look at the package documentations
19281 \begin_inset CommandInset citation
19283 key "prettyref,refstyle"
19290 \begin_layout Description
19294 \begin_inset space ~
19297 reference: prints the caption of the reference
19300 \begin_inset CommandInset ref
19301 LatexCommand nameref
19302 reference "fig:歪められた二つの像"
19309 \begin_layout Standard
19315 will not print the page number if the label is on the previous, the same,
19318 \begin_inset space \thinspace{}
19322 \begin_inset space \space{}
19326 \begin_inset Quotes eld
19334 \begin_inset Quotes erd
19340 <reference> on page <page>
19342 will not print anything about the page if the label is on the same page.
19345 \begin_layout Standard
19348 The number and current page of the part of the document referred to in the
19349 output is automatically calculated by LaTeX.
19350 The varieties are adjusted in the field
19354 of the cross-reference window that appears when you click on the cross-referenc
19358 \begin_layout Standard
19361 \begin_inset Note Greyedout
19364 \begin_layout Plain Layout
19370 It is recommended to use the LaTeX-package
19376 \begin_inset Index idx
19379 \begin_layout Plain Layout
19380 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
19393 \begin_inset Index idx
19396 \begin_layout Plain Layout
19397 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
19404 does not know all of LyX's possible label shortcuts
19408 \begin_layout Plain Layout
19411 \begin_inset Quotes eld
19415 \begin_inset Quotes erd
19418 is for example LyX's shortcut for labels in figure captions.
19423 and is not internationalized.
19431 \begin_layout Subsection
19433 \begin_inset Index idx
19436 \begin_layout Plain Layout
19437 さんしょう@参照 ! じどうめいめい@自動命名
19445 \begin_layout Standard
19459 \begin_inset Index idx
19462 \begin_layout Plain Layout
19463 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19468 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
19472 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
19473 の機能を使用するには、hyperrefを有効にして、
19476 \begin_layout Standard
19492 \begin_layout Standard
19493 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
19494 \begin_inset space \thinspace{}
19497 」としたいなど、既定の参照名以外のものが欲しい場合には、
19500 \begin_layout Standard
19511 sectionautorefname}
19512 \begin_inset Newline newline
19516 \begin_inset Phantom HPhantom
19519 \begin_layout Plain Layout
19522 \begin_inset space ~
19535 \begin_layout Standard
19536 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
19537 \begin_inset Newline newline
19548 に置き換えてください(***は使用中の言語名)。
19551 \begin_layout Standard
19552 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
19555 \begin_layout Standard
19563 \begin_inset Newline newline
19573 \begin_inset Newline newline
19584 equationautorefname}
19585 \begin_inset Newline newline
19589 \begin_inset Phantom HPhantom
19592 \begin_layout Plain Layout
19595 \begin_inset space ~
19610 \begin_layout Standard
19611 この話題に関する詳細は、hyperrefの説明書
19612 \begin_inset CommandInset citation
19621 \begin_layout Standard
19622 \begin_inset Note Greyedout
19625 \begin_layout Plain Layout
19635 \begin_inset CommandInset ref
19637 reference "sub:相互参照の書式"
19641 節)で使用しているときには、使用することができません。
19649 \begin_layout Standard
19654 は、参照の自動命名が使用されている一例です。
19657 \begin_layout Subsection
19659 \begin_inset CommandInset label
19666 \begin_inset Index idx
19669 \begin_layout Plain Layout
19670 さんしょう@参照 ! さんしょういち@参照位置
19678 \begin_layout Standard
19692 \begin_inset Index idx
19695 \begin_layout Plain Layout
19696 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19701 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
19702 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
19707 \begin_inset Index idx
19710 \begin_layout Plain Layout
19711 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19721 \begin_inset Index idx
19724 \begin_layout Plain Layout
19725 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19730 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
19733 \begin_layout Standard
19738 usepackage[figure]{hypcap}
19741 \begin_layout Standard
19742 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
19744 \begin_inset CommandInset citation
19753 \begin_layout Standard
19754 \begin_inset Note Greyedout
19757 \begin_layout Plain Layout
19762 は内部図への参照には効力がありません。
19770 \begin_layout Section
19772 \begin_inset CommandInset label
19779 \begin_inset Index idx
19782 \begin_layout Plain Layout
19791 \begin_layout Standard
19801 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
19802 \begin_inset Newline newline
19823 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
19824 \begin_inset Newline newline
19845 オプションは、フロートを回転するのに用います。第
19855 \begin_inset CommandInset ref
19857 reference "sec:回転フロート"
19873 \begin_layout Standard
19901 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
19904 \begin_layout Description
19914 フロートを挿入位置に配置することを試みます
19917 \begin_layout Description
19927 フロートを現在ページの上部に配置することを試みます
19930 \begin_layout Description
19940 フロートを現在ページの下部に配置することを試みます
19943 \begin_layout Description
19953 フロートを独立したページに配置することを試みます
19956 \begin_layout Standard
19961 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
19969 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
19970 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
19973 \begin_layout Standard
19974 既定では、各オプションはそれぞれ以下の規則を持っています。
19978 \labelwidthstring 00.00.0000
19983 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
19993 \labelwidthstring 00.00.0000
19998 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
20008 \labelwidthstring 00.00.0000
20013 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
20022 \begin_layout Standard
20027 オプションを追加することによって、これらを無視することができます。
20028 \begin_inset Newline newline
20031 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
20032 、ページの5割に変えるには、文書プリアンブルに
20035 \begin_layout Standard
20042 bottomfraction}{0.5}
20045 \begin_layout Standard
20049 \begin_layout Standard
20050 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
20054 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
20055 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
20059 \begin_layout Standard
20060 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
20063 \begin_layout Standard
20064 \begin_inset VSpace bigskip
20070 \begin_layout Standard
20071 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
20072 することがあります。この問題を避けるには、LaTeXコマンドの
20074 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
20075 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
20078 \begin_layout Standard
20088 \begin_inset Newline newline
20102 \begin_layout Standard
20103 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
20104 することがあるので、これらに対する定義はお勧めしません。
20107 \begin_layout Standard
20108 \begin_inset VSpace bigskip
20111 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
20116 \begin_inset Index idx
20119 \begin_layout Plain Layout
20120 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
20125 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
20126 \begin_inset Quotes eld
20132 \begin_inset space ~
20138 \begin_inset Quotes erd
20141 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
20144 \begin_layout Standard
20149 usepackage[options]{endfloat}
20152 \begin_layout Standard
20153 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
20158 \begin_inset CommandInset citation
20165 \begin_inset Newline newline
20169 \begin_inset Note Greyedout
20172 \begin_layout Plain Layout
20177 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
20178 \begin_inset CommandInset citation
20190 \begin_inset Newline newline
20194 \begin_inset Note Greyedout
20197 \begin_layout Plain Layout
20206 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
20220 \begin_layout Standard
20221 \begin_inset VSpace bigskip
20224 フロートの割付に関する詳細は、LaTeX関連書
20225 \begin_inset CommandInset citation
20227 key "latexcompanion,latexguide,latexbook"
20234 \begin_layout Section
20236 \begin_inset CommandInset label
20243 \begin_inset Index idx
20246 \begin_layout Plain Layout
20247 ふろーと@フロート ! かいてん@回転
20255 \begin_layout Standard
20256 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
20263 \begin_layout Standard
20264 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
20268 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
20269 たって回転方向を強制したい場合には、文書クラスオプションに
20280 \begin_layout Standard
20281 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
20282 \begin_inset CommandInset ref
20284 reference "tab:回転した表"
20291 \begin_layout Standard
20292 \begin_inset Note Greyedout
20295 \begin_layout Plain Layout
20300 すべてのDVIビューアが回転フロートを表示できるわけではありません。
20308 \begin_layout Standard
20309 \begin_inset Float table
20314 \begin_layout Plain Layout
20315 \begin_inset Caption
20317 \begin_layout Plain Layout
20318 \begin_inset CommandInset label
20332 \begin_layout Plain Layout
20334 \begin_inset Tabular
20335 <lyxtabular version="3" rows="1" columns="5">
20336 <features tabularvalignment="middle">
20337 <column alignment="center" valignment="top" width="0">
20338 <column alignment="center" valignment="top" width="0">
20339 <column alignment="center" valignment="top" width="0">
20340 <column alignment="center" valignment="top" width="0">
20341 <column alignment="center" valignment="top" width="0">
20343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20346 \begin_layout Plain Layout
20352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20355 \begin_layout Plain Layout
20361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20364 \begin_layout Plain Layout
20370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20373 \begin_layout Plain Layout
20379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20382 \begin_layout Plain Layout
20401 \begin_layout Section
20403 \begin_inset Index idx
20406 \begin_layout Plain Layout
20407 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
20415 \begin_layout Standard
20416 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
20417 \begin_inset CommandInset ref
20419 reference "tab:従属表を横に並べたもの"
20424 \begin_inset CommandInset ref
20426 reference "tab:従属表を縦に並べたもの"
20430 に示されているように段落と同様に指定することができます。
20433 \begin_layout Standard
20434 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
20435 \begin_inset CommandInset ref
20437 reference "tab:これは従属表a"
20442 \begin_inset CommandInset ref
20444 reference "tab:これは従属表b"
20449 \begin_inset CommandInset ref
20451 reference "tab:従属表を横に並べたもの"
20456 \begin_inset Float table
20461 \begin_layout Plain Layout
20462 \begin_inset Caption
20464 \begin_layout Plain Layout
20465 \begin_inset CommandInset label
20467 name "tab:従属表を横に並べたもの"
20479 \begin_layout Plain Layout
20480 \begin_inset space \hfill{}
20484 \begin_inset Float table
20489 \begin_layout Plain Layout
20490 \begin_inset Caption
20492 \begin_layout Plain Layout
20493 \begin_inset CommandInset label
20507 \begin_layout Plain Layout
20509 \begin_inset Tabular
20510 <lyxtabular version="3" rows="1" columns="5">
20511 <features tabularvalignment="middle">
20512 <column alignment="center" valignment="top" width="0">
20513 <column alignment="center" valignment="top" width="0">
20514 <column alignment="center" valignment="top" width="0">
20515 <column alignment="center" valignment="top" width="0">
20516 <column alignment="center" valignment="top" width="0">
20518 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20521 \begin_layout Plain Layout
20527 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20530 \begin_layout Plain Layout
20536 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20539 \begin_layout Plain Layout
20545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20548 \begin_layout Plain Layout
20554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20557 \begin_layout Plain Layout
20574 \begin_inset space \hfill{}
20578 \begin_inset Float table
20583 \begin_layout Plain Layout
20584 \begin_inset Caption
20586 \begin_layout Plain Layout
20587 \begin_inset CommandInset label
20601 \begin_layout Plain Layout
20603 \begin_inset Tabular
20604 <lyxtabular version="3" rows="1" columns="5">
20605 <features tabularvalignment="middle">
20606 <column alignment="center" valignment="top" width="0">
20607 <column alignment="center" valignment="top" width="0">
20608 <column alignment="center" valignment="top" width="0">
20609 <column alignment="center" valignment="top" width="0">
20610 <column alignment="center" valignment="top" width="0">
20612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20615 \begin_layout Plain Layout
20621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20624 \begin_layout Plain Layout
20630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20633 \begin_layout Plain Layout
20639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20642 \begin_layout Plain Layout
20648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20651 \begin_layout Plain Layout
20668 \begin_inset space \hfill{}
20677 \begin_inset Float table
20682 \begin_layout Plain Layout
20683 \begin_inset Caption
20685 \begin_layout Plain Layout
20686 \begin_inset CommandInset label
20688 name "tab:従属表を縦に並べたもの"
20692 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
20700 \begin_layout Plain Layout
20701 \begin_inset Float table
20706 \begin_layout Plain Layout
20707 \begin_inset Caption
20709 \begin_layout Plain Layout
20718 \begin_layout Plain Layout
20720 \begin_inset Tabular
20721 <lyxtabular version="3" rows="1" columns="4">
20722 <features tabularvalignment="middle">
20723 <column alignment="center" valignment="top" width="0">
20724 <column alignment="center" valignment="top" width="0">
20725 <column alignment="center" valignment="top" width="0">
20726 <column alignment="center" valignment="top" width="0">
20728 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20731 \begin_layout Plain Layout
20737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20740 \begin_layout Plain Layout
20746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20749 \begin_layout Plain Layout
20755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20758 \begin_layout Plain Layout
20777 \begin_layout Plain Layout
20778 \begin_inset Float table
20783 \begin_layout Plain Layout
20784 \begin_inset Caption
20786 \begin_layout Plain Layout
20795 \begin_layout Plain Layout
20797 \begin_inset Tabular
20798 <lyxtabular version="3" rows="1" columns="5">
20799 <features tabularvalignment="middle">
20800 <column alignment="center" valignment="top" width="0">
20801 <column alignment="center" valignment="top" width="0">
20802 <column alignment="center" valignment="top" width="0">
20803 <column alignment="center" valignment="top" width="0">
20804 <column alignment="center" valignment="top" width="0">
20806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20809 \begin_layout Plain Layout
20815 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20818 \begin_layout Plain Layout
20824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20827 \begin_layout Plain Layout
20833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20836 \begin_layout Plain Layout
20842 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20845 \begin_layout Plain Layout
20869 \begin_layout Section
20871 \begin_inset Index idx
20874 \begin_layout Plain Layout
20875 ふろーと@フロート ! よこならび@横並び
20883 \begin_layout Standard
20885 \begin_inset CommandInset ref
20887 reference "fig:左側のフロート"
20892 \begin_inset CommandInset ref
20894 reference "fig:右側のフロート"
20898 のようにフロートを横並びに配置するには、
20902 フロートのみを使用し、その中に二つのminipageボックスを挿入します
20906 \begin_layout Plain Layout
20908 \begin_inset CommandInset ref
20910 reference "sec:ミニページ"
20920 \begin_inset space \thinspace{}
20924 \begin_inset space \thinspace{}
20927 列幅%とし、各minipageのボックス配置を
20931 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
20935 がここではminipageボックスの幅によって計算されることです。
20938 \begin_layout Standard
20939 \begin_inset Float figure
20944 \begin_layout Plain Layout
20945 \begin_inset Box Frameless
20955 height_special "totalheight"
20958 \begin_layout Plain Layout
20960 \begin_inset Graphics
20961 filename ../clipart/mobius.eps
20964 scaleBeforeRotation
20971 \begin_layout Plain Layout
20972 \begin_inset Caption
20974 \begin_layout Plain Layout
20975 \begin_inset CommandInset label
20992 \begin_inset space \hfill{}
20996 \begin_inset Box Frameless
21006 height_special "totalheight"
21009 \begin_layout Plain Layout
21011 \begin_inset Graphics
21012 filename ../clipart/platypus.eps
21015 scaleBeforeRotation
21022 \begin_layout Plain Layout
21023 \begin_inset Caption
21025 \begin_layout Plain Layout
21026 \begin_inset CommandInset label
21045 \begin_layout Plain Layout
21054 \begin_layout Section
21056 \begin_inset Index idx
21059 \begin_layout Plain Layout
21060 きゃぷしょん@キャプション ! しょしきせってい@書式設定
21066 \begin_inset Index idx
21069 \begin_layout Plain Layout
21070 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
21076 \begin_inset CommandInset label
21078 name "sec:キャプションの書式設定"
21085 \begin_layout Standard
21094 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
21098 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
21102 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
21103 。このキャプション書式は、すべての文書書式に適しているわけではありません。
21106 \begin_layout Standard
21107 既定のキャプション書式を変更するには、文書プリアンブルに
21110 \begin_layout Standard
21115 usepackage[format definition]{caption}
21118 \begin_layout Standard
21119 という行を加えて、LaTeXパッケージ
21124 \begin_inset Index idx
21127 \begin_layout Plain Layout
21128 LaTeXぱっけーじ@LaTeXパッケージ ! caption
21133 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
21136 \begin_layout Standard
21141 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21144 \begin_layout Standard
21145 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
21149 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
21152 \begin_layout Standard
21157 captionsetup[フロート型]{書式定義}
21160 \begin_layout Standard
21161 というコマンドを使用して、個別の書式を指定してください。たとえば、図
21162 \begin_inset CommandInset ref
21164 reference "fig:図キャプション"
21169 \begin_inset CommandInset ref
21171 reference "tab:表キャプション"
21175 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
21178 \begin_layout Standard
21183 usepackage[tableposition=top]{caption}
21186 \begin_inset Newline newline
21193 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21194 \begin_inset Newline newline
21198 \begin_inset Phantom HPhantom
21201 \begin_layout Plain Layout
21204 captionsetup[figure]{
21210 \begin_inset Newline newline
21215 captionsetup[table]{labelfont={bf,sf}}
21218 \begin_layout Standard
21219 \begin_inset Note Greyedout
21222 \begin_layout Plain Layout
21236 \begin_inset Index idx
21239 \begin_layout Plain Layout
21240 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21245 が使われているときには、無効になります。この場合には、文書クラスオプション
21247 captions=tableheading
21257 \begin_layout Standard
21262 パッケージについての詳細は、その取扱説明書
21263 \begin_inset CommandInset citation
21272 \begin_layout Standard
21273 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
21276 \begin_layout Standard
21288 \begin_layout Standard
21302 \begin_layout Standard
21303 \begin_inset VSpace bigskip
21311 \begin_inset Index idx
21314 \begin_layout Plain Layout
21315 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21322 article (KOMA-script)
21330 letter (KOMA-script)
21334 report (KOMA-script)
21348 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
21351 \begin_layout Standard
21356 setkomafont{captionlabel}{
21361 \begin_layout Standard
21373 \begin_inset CommandInset citation
21382 \begin_layout Standard
21386 \begin_layout Plain Layout
21390 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21397 \begin_inset Note Note
21400 \begin_layout Plain Layout
21401 キャプション書式は、この例のみ変更してあります。
21409 \begin_layout Standard
21410 \begin_inset Float figure
21416 \begin_layout Plain Layout
21418 \begin_inset Graphics
21419 filename ../clipart/mobius.eps
21422 scaleBeforeRotation
21429 \begin_layout Plain Layout
21430 \begin_inset Caption
21432 \begin_layout Plain Layout
21433 \begin_inset CommandInset label
21439 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
21452 \begin_layout Standard
21456 \begin_layout Plain Layout
21460 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21469 \begin_layout Standard
21470 \begin_inset Float table
21476 \begin_layout Plain Layout
21477 \begin_inset Caption
21479 \begin_layout Plain Layout
21480 \begin_inset CommandInset label
21486 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
21494 \begin_layout Plain Layout
21496 \begin_inset Tabular
21497 <lyxtabular version="3" rows="1" columns="5">
21498 <features tabularvalignment="middle">
21499 <column alignment="center" valignment="top" width="0">
21500 <column alignment="center" valignment="top" width="0">
21501 <column alignment="center" valignment="top" width="0">
21502 <column alignment="center" valignment="top" width="0">
21503 <column alignment="center" valignment="top" width="0">
21505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21508 \begin_layout Plain Layout
21514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21517 \begin_layout Plain Layout
21523 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21526 \begin_layout Plain Layout
21532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21535 \begin_layout Plain Layout
21541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21544 \begin_layout Plain Layout
21563 \begin_layout Section
21565 \begin_inset Index idx
21568 \begin_layout Plain Layout
21569 きゃぷしょん@キャプション ! はいち@配置
21575 \begin_inset Index idx
21578 \begin_layout Plain Layout
21579 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
21585 \begin_inset CommandInset label
21587 name "sec:キャプションの配置"
21594 \begin_layout Standard
21598 \begin_layout Description
21599 図の場合: キャプションを図の下に置く
21602 \begin_layout Description
21603 表の場合: キャプションを表の上に置く
21606 \begin_layout Standard
21607 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
21623 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
21631 \begin_layout Standard
21637 \begin_layout Standard
21642 \begin_layout Plain Layout
21648 \begin_inset CommandInset ref
21650 reference "sec:キャプションの書式設定"
21664 \begin_inset Index idx
21667 \begin_layout Plain Layout
21668 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21675 article (KOMA-script)
21683 letter (KOMA-script)
21687 report (KOMA-script)
21690 \begin_inset space \thinspace{}
21697 パッケージにオプションを与える代わりに、文書クラスオプション
21699 captions=tableheading
21704 \begin_layout Standard
21705 \begin_inset VSpace bigskip
21708 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
21711 \begin_layout Standard
21716 usepackage[option]{sidecap}
21719 \begin_layout Standard
21720 という行を入れて、LaTeXパッケージ
21725 \begin_inset Index idx
21728 \begin_layout Plain Layout
21729 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
21734 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
21738 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
21749 \begin_layout Standard
21753 \begin_layout Plain Layout
21763 \begin_inset Note Note
21766 \begin_layout Plain Layout
21771 が導入されているときのみ表示されます。
21779 \begin_layout Standard
21780 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
21783 \begin_layout Standard
21785 \begin_inset CommandInset line
21796 \begin_layout Standard
21804 \begin_inset Newline newline
21808 \begin_inset Phantom HPhantom
21811 \begin_layout Plain Layout
21814 \begin_inset space ~
21829 \begin_inset Newline newline
21833 \begin_inset Phantom HPhantom
21836 \begin_layout Plain Layout
21839 \begin_inset space ~
21854 \begin_inset Newline newline
21858 \begin_inset Phantom HPhantom
21861 \begin_layout Plain Layout
21864 \begin_inset space ~
21874 renewenvironment{table}{
21881 \begin_layout Standard
21889 \begin_inset Newline newline
21893 \begin_inset Phantom HPhantom
21896 \begin_layout Plain Layout
21899 \begin_inset space ~
21914 \begin_inset Newline newline
21918 \begin_inset Phantom HPhantom
21921 \begin_layout Plain Layout
21924 \begin_inset space ~
21941 \begin_layout Standard
21949 \begin_inset Newline newline
21953 \begin_inset Phantom HPhantom
21956 \begin_layout Plain Layout
21959 \begin_inset space ~
21974 \begin_inset Newline newline
21978 \begin_inset Phantom HPhantom
21981 \begin_layout Plain Layout
21984 \begin_inset space ~
21999 \begin_inset Newline newline
22003 \begin_inset Phantom HPhantom
22006 \begin_layout Plain Layout
22009 \begin_inset space ~
22019 renewenvironment{figure}{
22026 \begin_layout Standard
22034 \begin_inset Newline newline
22038 \begin_inset Phantom HPhantom
22041 \begin_layout Plain Layout
22044 \begin_inset space ~
22059 \begin_inset Newline newline
22063 \begin_inset Phantom HPhantom
22066 \begin_layout Plain Layout
22069 \begin_inset space ~
22086 \begin_layout Standard
22088 \begin_inset CommandInset line
22099 \begin_layout Standard
22100 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
22103 \begin_layout Standard
22111 \begin_layout Standard
22112 というコマンドを、フロートの前にTeXコードで入れてください。本来のフロート定義に戻すには、フロートの後に、TeXコードで
22115 \begin_layout Standard
22123 \begin_layout Standard
22127 \begin_layout Standard
22128 表フロートに対しては、対応するコマンド
22131 \begin_layout Standard
22145 \begin_layout Standard
22147 \begin_inset CommandInset ref
22149 reference "fig:図横キャプション"
22154 \begin_inset CommandInset ref
22156 reference "tab:表横キャプション"
22163 \begin_layout Standard
22164 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
22165 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
22168 \begin_layout Standard
22173 sidecaptionvpos{フロート型}{配置}
22176 \begin_layout Standard
22177 というコマンドを使用します。ここで「フロート型」は
22185 であり、「配置」は、上揃えの場合はtopの
22188 \begin_layout Standard
22201 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
22204 \begin_layout Standard
22209 sidecaptionvpos{figure}{c}
22212 \begin_layout Standard
22213 というコマンドを使用します。これは、図
22214 \begin_inset CommandInset ref
22216 reference "fig:図横キャプション-2"
22223 \begin_layout Standard
22224 \begin_inset VSpace medskip
22232 \begin_inset CommandInset citation
22241 \begin_layout Standard
22242 \begin_inset Note Greyedout
22245 \begin_layout Plain Layout
22251 \begin_inset CommandInset ref
22253 reference "sub:参照位置"
22262 \begin_inset Index idx
22265 \begin_layout Plain Layout
22266 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
22271 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
22279 \begin_layout Standard
22283 \begin_layout Plain Layout
22295 \begin_layout Standard
22296 \begin_inset Float figure
22301 \begin_layout Plain Layout
22302 \begin_inset Graphics
22303 filename ../clipart/escher-lsd.eps
22305 scaleBeforeRotation
22312 \begin_layout Plain Layout
22313 \begin_inset Caption
22315 \begin_layout Plain Layout
22316 \begin_inset CommandInset label
22318 name "fig:図横キャプション"
22335 \begin_layout Standard
22339 \begin_layout Plain Layout
22351 \begin_layout Standard
22352 \begin_inset Float table
22357 \begin_layout Plain Layout
22358 \begin_inset Caption
22360 \begin_layout Plain Layout
22361 \begin_inset CommandInset label
22363 name "tab:表横キャプション"
22375 \begin_layout Plain Layout
22376 \begin_inset Tabular
22377 <lyxtabular version="3" rows="4" columns="5">
22378 <features tabularvalignment="middle">
22379 <column alignment="center" valignment="top" width="0">
22380 <column alignment="center" valignment="top" width="0">
22381 <column alignment="center" valignment="top" width="0">
22382 <column alignment="center" valignment="top" width="0">
22383 <column alignment="center" valignment="top" width="0">
22385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22388 \begin_layout Plain Layout
22394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22397 \begin_layout Plain Layout
22403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22406 \begin_layout Plain Layout
22412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22415 \begin_layout Plain Layout
22421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22424 \begin_layout Plain Layout
22432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22435 \begin_layout Plain Layout
22441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22444 \begin_layout Plain Layout
22450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22453 \begin_layout Plain Layout
22459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22462 \begin_layout Plain Layout
22468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22471 \begin_layout Plain Layout
22479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22482 \begin_layout Plain Layout
22488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22491 \begin_layout Plain Layout
22497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22500 \begin_layout Plain Layout
22506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22509 \begin_layout Plain Layout
22515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22518 \begin_layout Plain Layout
22526 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22529 \begin_layout Plain Layout
22535 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22538 \begin_layout Plain Layout
22544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22547 \begin_layout Plain Layout
22553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22556 \begin_layout Plain Layout
22562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22565 \begin_layout Plain Layout
22584 \begin_layout Standard
22588 \begin_layout Plain Layout
22600 \begin_layout Standard
22604 \begin_layout Plain Layout
22608 sidecaptionvpos{figure}{c}
22614 \begin_inset Float figure
22619 \begin_layout Plain Layout
22620 \begin_inset Graphics
22621 filename ../clipart/escher-lsd.eps
22623 scaleBeforeRotation
22630 \begin_layout Plain Layout
22631 \begin_inset Caption
22633 \begin_layout Plain Layout
22634 \begin_inset CommandInset label
22636 name "fig:図横キャプション-2"
22640 これは図の横にある縦方向中央揃えのキャプションです。
22653 \begin_layout Standard
22657 \begin_layout Plain Layout
22669 \begin_layout Standard
22673 \begin_layout Plain Layout
22683 \begin_inset Note Note
22686 \begin_layout Plain Layout
22691 が導入されていないときのみ表示されます。
22699 \begin_layout Standard
22700 本節の残りの部分を出力で表示するには、LaTeXパッケージ
22707 \begin_layout Standard
22711 \begin_layout Plain Layout
22723 \begin_layout Section
22725 \begin_inset Index idx
22728 \begin_layout Plain Layout
22729 ふろーと@フロート ! ふろーといちらん@フロート一覧
22737 \begin_layout Standard
22738 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
22740 挿入\SpecialChar \menuseparator
22746 \begin_layout Standard
22747 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
22750 \begin_layout Standard
22751 本文書の終わりに、図一覧と表一覧があります。
22754 \begin_layout Chapter
22758 \begin_layout Section
22760 \begin_inset Index idx
22763 \begin_layout Plain Layout
22764 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
22772 \begin_layout Standard
22774 \begin_inset Graphics
22775 filename ../../images/note-insert.png
22777 scaleBeforeRotation
22783 挿入\SpecialChar \menuseparator
22786 メニューで挿入することができます。注釈には、以下の三つの型があります。
22789 \begin_layout Description
22790 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
22791 \begin_inset Newline newline
22795 \begin_inset Newline newline
22799 \begin_inset Graphics
22800 filename ../clipart/LyXNoteImageQt4.png
22803 scaleBeforeRotation
22808 \begin_inset Note Note
22811 \begin_layout Plain Layout
22812 これは、出力には現れない注釈ボックスに書かれた文章です。
22820 \begin_layout Description
22821 コメント この注釈も出力には現れませんが、
22823 ファイル\SpecialChar \menuseparator
22824 エクスポート\SpecialChar \menuseparator
22825 LaTeX (pdflatex) / (平文)
22827 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
22828 \begin_inset Newline newline
22832 \begin_inset Newline newline
22836 \begin_inset Graphics
22837 filename ../clipart/CommentNoteImageQt4.png
22840 scaleBeforeRotation
22845 \begin_inset Note Comment
22848 \begin_layout Plain Layout
22849 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
22857 \begin_layout Description
22858 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
22859 \begin_inset Newline newline
22863 \begin_inset Newline newline
22867 \begin_inset Graphics
22868 filename ../clipart/GreyedOutNoteImageQt4.png
22871 scaleBeforeRotation
22876 \begin_inset Newline newline
22883 \begin_layout Plain Layout
22887 renewenvironment{lyxgreyedout}
22890 \begin_layout Plain Layout
22894 textcolor[gray]{0.8}
22904 \begin_inset Note Greyedout
22907 \begin_layout Plain Layout
22908 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
22912 \begin_layout Plain Layout
22913 これは、淡色表示注釈内に脚注を用いた例です。
22927 \begin_layout Plain Layout
22931 renewenvironment{lyxgreyedout}
22934 \begin_layout Plain Layout
22948 \begin_inset Note Note
22951 \begin_layout Plain Layout
22952 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
22959 \begin_inset Newline newline
22963 \begin_inset Newline newline
22966 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
22969 \begin_layout Standard
22970 \begin_inset VSpace bigskip
22974 \begin_inset Graphics
22975 filename ../../images/note-insert.png
22977 scaleBeforeRotation
22985 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
22986 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
22990 \begin_layout Standard
22991 \begin_inset VSpace bigskip
22994 淡色注釈の文字色は、プリアンブルに以下のコマンドを置くことで変更することができます。
22997 \begin_layout Standard
23002 renewenvironment{lyxgreyedout}
23003 \begin_inset Newline newline
23007 \begin_inset Phantom HPhantom
23010 \begin_layout Plain Layout
23013 \begin_inset space ~
23030 \begin_layout Standard
23031 使用できる色彩名と、自製色の定義の仕方は、第
23032 \begin_inset CommandInset ref
23034 reference "sec:色付きの表"
23041 \begin_layout Standard
23042 本文書で青で表示されている注釈は、青文字に設定した淡色表示注釈を使用しています。
23045 \begin_layout Section
23047 \begin_inset CommandInset label
23054 \begin_inset Index idx
23057 \begin_layout Plain Layout
23058 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
23064 \begin_inset Index idx
23067 \begin_layout Plain Layout
23076 \begin_layout Standard
23078 \begin_inset Graphics
23079 filename ../../images/footnote-insert.png
23081 scaleBeforeRotation
23087 挿入\SpecialChar \menuseparator
23090 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
23091 \begin_inset Graphics
23092 filename clipart/footnoteQt4.png
23094 scaleBeforeRotation
23098 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
23099 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
23102 \begin_layout Standard
23107 \begin_layout Plain Layout
23108 \begin_inset CommandInset label
23123 \begin_layout Plain Layout
23127 newcounter{MyRepeatFoot}
23130 \begin_layout Plain Layout
23134 setcounter{MyRepeatFoot}{
23144 \begin_layout Standard
23145 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
23146 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
23149 \begin_layout Standard
23150 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
23151 \begin_inset CommandInset ref
23153 reference "sec:フロートの参照"
23157 節に説明されているようにして、本文中でこのラベルを相互参照してください。
23158 \begin_inset Newline newline
23162 \begin_inset CommandInset ref
23164 reference "fn:これは脚注の一例"
23171 \begin_layout Standard
23172 \begin_inset VSpace defskip
23178 \begin_layout Standard
23181 Footnotes in tables are not printed by LaTeX due to technical reasons.
23182 However there exists another method to print them: Instead of the footnote
23189 is inserted as TeX-code.
23190 The text of the footnote is entered as an argument of the TeX-code command
23198 \begin_inset Newline newline
23201 This was done for the following table with the command
23204 \begin_layout Standard
23212 Printed table footnote.
23217 \begin_layout Standard
23220 \begin_inset Tabular
23221 <lyxtabular version="3" rows="2" columns="1">
23222 <features tabularvalignment="middle">
23223 <column alignment="center" valignment="top" width="0">
23225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23228 \begin_layout Plain Layout
23231 This an example text.
23235 \begin_layout Plain Layout
23238 This footnote will not be printed!
23250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23253 \begin_layout Plain Layout
23256 This an example text.
23260 \begin_layout Plain Layout
23283 \begin_layout Plain Layout
23292 Printed table footnote.
23296 \begin_layout Plain Layout
23306 \begin_layout Standard
23309 Footnotes in longtables are described in section
23310 \begin_inset space ~
23316 \begin_inset CommandInset ref
23318 reference "sub:長尺表での脚注"
23327 \begin_layout Standard
23330 Footnotes in minipage boxes are printed, but inside the box and with a different
23331 numbering because a minipage box is like a page inside a page.
23332 (For more about minipages, see section
23333 \begin_inset space ~
23339 \begin_inset CommandInset ref
23341 reference "sec:ミニページ"
23347 .) To get a footnote in the minipage that is output at the bottom of the
23348 page like normal footnotes, also use the method of
23363 \begin_layout Standard
23366 \begin_inset Box Frameless
23376 height_special "totalheight"
23379 \begin_layout Plain Layout
23382 This an example text in a minipage.
23386 \begin_layout Plain Layout
23389 Footnote in the minipage.
23397 \begin_layout Plain Layout
23400 This an example text in a minipage.
23404 \begin_layout Plain Layout
23421 \begin_layout Standard
23427 \begin_layout Plain Layout
23436 Footnote outside the minipage.
23440 \begin_layout Plain Layout
23450 \begin_layout Standard
23453 \begin_inset VSpace defskip
23459 \begin_layout Standard
23462 To refer to the same footnote several times without printing the footnote
23463 text every time, use the command
23467 footnotemark[number]
23470 \begin_inset Newline newline
23473 As you do not know the number of the repeating footnote while you are writing
23474 the text, you have to store its number.
23475 For the following footnote mark example, these commands were inserted in
23476 TeX-code after Footnote
23477 \begin_inset space ~
23483 \begin_inset CommandInset ref
23485 reference "fn:これは脚注の一例"
23491 to store the footnote number:
23494 \begin_layout Standard
23500 newcounter{MyRepeatFoot}
23501 \begin_inset Newline newline
23506 setcounter{MyRepeatFoot}{
23511 \begin_layout Standard
23514 The footnote mark was then created with this command:
23517 \begin_layout Standard
23528 \begin_layout Standard
23531 Here is a repeated footnote:
23539 \begin_layout Plain Layout
23553 \begin_layout Standard
23556 If you want to repeat the previous footnote, you can omit the storage of
23557 the footnote number and just use this command instead:
23560 \begin_layout Standard
23571 \begin_layout Standard
23574 Here is another repeated footnote:
23582 \begin_layout Plain Layout
23596 \begin_layout Subsection
23598 \begin_inset CommandInset label
23605 \begin_inset Index idx
23608 \begin_layout Plain Layout
23617 \begin_layout Standard
23618 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
23621 \begin_layout Standard
23626 @addtoreset{footnote}{section}
23629 \begin_layout Standard
23633 \begin_layout Standard
23634 \begin_inset VSpace bigskip
23637 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
23640 \begin_layout Standard
23652 \begin_layout Standard
23656 \begin_layout Plain Layout
23673 \begin_layout Plain Layout
23674 これは、ローマ数字を使った脚注の例です。
23682 \begin_layout Standard
23683 付番様式を大文字ローマ数字に変更するには、上記コマンドの
23695 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
23707 を使用してください。記号を使って付「番」するには、
23716 \begin_layout Standard
23717 \begin_inset Note Greyedout
23720 \begin_layout Plain Layout
23725 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
23731 \begin_inset Newline newline
23735 \begin_inset Note Greyedout
23738 \begin_layout Plain Layout
23743 記号を使うと9個の脚注しか番号を振ることができません。
23751 \begin_layout Standard
23752 付番様式を変更した後、既定様式に戻すには、上記コマンドの
23768 \begin_layout Plain Layout
23784 \begin_layout Standard
23785 \begin_inset VSpace bigskip
23791 \begin_layout Standard
23792 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
23795 \begin_layout Standard
23800 numberwithin{footnote}{chapter}
23803 \begin_layout Standard
23810 コマンドを使用できるようにするためには、文書設定の
23817 \begin_inset space ~
23825 \begin_layout Standard
23829 \begin_layout Plain Layout
23833 numberwithin{footnote}{chapter}
23844 \begin_layout Plain Layout
23849 「章番号.脚注番号」スキームで番号を振られた脚注です。
23860 \begin_layout Plain Layout
23876 \begin_layout Standard
23877 \begin_inset Note Greyedout
23880 \begin_layout Plain Layout
23887 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
23895 \begin_layout Standard
23898 Roman{footnote}」スキームを得るには、
23904 の代わりに以下のコマンドを使用してください。
23907 \begin_layout Standard
23921 \begin_layout Subsection
23923 \begin_inset Index idx
23926 \begin_layout Plain Layout
23935 \begin_layout Standard
23936 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
23938 \begin_inset space \thinspace{}
23944 \begin_layout Standard
23954 \begin_inset Newline newline
23968 \begin_layout Standard
23969 \begin_inset VSpace bigskip
23972 二段組文書では、脚注は各段底部に表示されます(図
23973 \begin_inset CommandInset ref
23975 reference "fig:標準的脚注配置"
23980 \begin_inset CommandInset ref
23982 reference "fig:ftnright脚注配置"
23986 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
23989 \begin_layout Standard
23994 usepackage{ftnright}
23997 \begin_layout Standard
23998 というコマンドを書いて、LaTeXパッケージ
24003 \begin_inset Index idx
24006 \begin_layout Plain Layout
24007 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
24013 \begin_inset Float figure
24019 \begin_layout Plain Layout
24023 \begin_layout Plain Layout
24033 \begin_inset Graphics
24034 filename ../clipart/without_fntright.pdf
24036 scaleBeforeRotation
24044 \begin_layout Plain Layout
24054 \begin_layout Plain Layout
24055 \begin_inset Caption
24057 \begin_layout Plain Layout
24058 \begin_inset CommandInset label
24077 \begin_layout Standard
24078 \begin_inset Float figure
24084 \begin_layout Plain Layout
24088 \begin_layout Plain Layout
24098 \begin_inset Graphics
24099 filename ../clipart/with_fntright.pdf
24101 scaleBeforeRotation
24109 \begin_layout Plain Layout
24119 \begin_layout Plain Layout
24120 \begin_inset Caption
24122 \begin_layout Plain Layout
24123 \begin_inset CommandInset label
24125 name "fig:ftnright脚注配置"
24146 \begin_layout Standard
24147 \begin_inset VSpace bigskip
24151 \begin_inset CommandInset ref
24157 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
24158 \begin_inset Index idx
24161 \begin_layout Plain Layout
24167 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
24169 文書\SpecialChar \menuseparator
24170 設定\SpecialChar \menuseparator
24177 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
24180 \begin_layout Standard
24188 \begin_layout Standard
24192 \begin_layout Standard
24193 \begin_inset Float figure
24198 \begin_layout Plain Layout
24203 \begin_layout Plain Layout
24213 \begin_inset Graphics
24214 filename ../clipart/endnotes.pdf
24215 scaleBeforeRotation
24223 \begin_layout Plain Layout
24233 \begin_layout Plain Layout
24234 \begin_inset Caption
24236 \begin_layout Plain Layout
24237 \begin_inset CommandInset label
24243 後注 – 注を節ないし章末に別段落として印字します。
24256 \begin_layout Standard
24257 \begin_inset VSpace medskip
24260 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
24263 \begin_layout Standard
24270 notesname}{Anmerkungen}
24273 \begin_layout Standard
24274 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
24277 \begin_layout Standard
24278 \begin_inset VSpace medskip
24282 \begin_inset CommandInset ref
24284 reference "sub:脚注の付番"
24288 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
24300 を用いてください。後注番号をリセットするには、第
24301 \begin_inset CommandInset ref
24303 reference "sub:脚注の付番"
24324 \begin_layout Standard
24326 \begin_inset CommandInset ref
24347 \begin_layout Standard
24348 \begin_inset VSpace bigskip
24351 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
24356 \begin_inset Index idx
24359 \begin_layout Plain Layout
24360 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
24366 \begin_inset CommandInset citation
24375 \begin_layout Standard
24376 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
24377 \begin_inset CommandInset citation
24379 key "latexcompanion,latexguide,latexbook"
24386 \begin_layout Section
24388 \begin_inset Index idx
24391 \begin_layout Plain Layout
24392 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
24400 \begin_layout Standard
24401 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
24403 挿入\SpecialChar \menuseparator
24407 \begin_inset Graphics
24408 filename ../../images/marginalnote-insert.png
24410 scaleBeforeRotation
24414 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
24417 \begin_layout Standard
24419 \begin_inset Marginal
24422 \begin_layout Plain Layout
24431 \begin_layout Standard
24432 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
24433 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
24436 \begin_layout Standard
24437 \begin_inset VSpace bigskip
24440 傍注を内側余白に置くには、傍注の前にTeXコードで
24443 \begin_layout Standard
24451 \begin_layout Standard
24452 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
24456 \begin_layout Plain Layout
24466 \begin_inset Marginal
24469 \begin_layout Plain Layout
24478 \begin_inset Newline newline
24484 \begin_inset Note Greyedout
24487 \begin_layout Plain Layout
24488 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
24496 \begin_layout Standard
24500 \begin_layout Standard
24508 \begin_layout Standard
24513 \begin_layout Plain Layout
24523 \begin_inset Note Greyedout
24526 \begin_layout Plain Layout
24533 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
24541 \begin_layout Standard
24542 \begin_inset VSpace bigskip
24546 \begin_inset Marginal
24549 \begin_layout Plain Layout
24550 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
24556 \begin_inset CommandInset ref
24558 reference "sub:複数行"
24562 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
24563 \begin_inset space \thinspace{}
24567 \begin_inset Marginal
24570 \begin_layout Plain Layout
24571 \begin_inset space \hspace*{}
24575 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
24583 \begin_layout Standard
24584 \begin_inset VSpace bigskip
24590 \begin_layout Standard
24591 \begin_inset Note Greyedout
24594 \begin_layout Plain Layout
24599 通常、傍注は表やフロート、脚注の中では使用することができません。
24607 \begin_layout Standard
24608 \begin_inset VSpace bigskip
24614 \begin_layout Standard
24618 \begin_layout Plain Layout
24628 \begin_inset Note Note
24631 \begin_layout Plain Layout
24636 が導入されているときのみ表示されます。
24644 \begin_layout Standard
24650 \begin_inset Index idx
24653 \begin_layout Plain Layout
24654 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
24659 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
24663 パッケージが提供するコマンドを使うようになります。
24666 \begin_layout Standard
24671 usepackage{marginnote}
24672 \begin_inset Newline newline
24684 \begin_layout Standard
24689 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
24693 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
24694 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
24697 \begin_layout Standard
24703 \begin_layout Standard
24704 という形で書くことで設定することができます。ここで「オフセット」には、表
24705 \begin_inset CommandInset ref
24711 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
24716 \begin_inset space \thinspace{}
24720 \begin_inset Marginal
24723 \begin_layout Plain Layout
24725 \begin_inset space \thinspace{}
24737 \begin_layout Plain Layout
24747 \begin_layout Standard
24748 \begin_inset VSpace medskip
24755 を使うと、傍注の揃えを変更することもできます。たとえば、
24758 \begin_layout Standard
24765 raggedleftmarginnote}{
24768 \begin_inset Newline newline
24775 raggedrightmarginnote}{
24780 \begin_layout Standard
24781 というコマンドを使うと、中央揃えになります。
24785 raggedleftmarginnote
24787 とは、左側に表示されている傍注のことを指します
24791 \begin_layout Plain Layout
24797 raggedleftmarginnote}{
24802 \begin_layout Plain Layout
24808 raggedrightmarginnote}{
24816 \begin_inset Marginal
24819 \begin_layout Plain Layout
24820 この傍注の文章は中央揃えになっています。
24828 \begin_layout Standard
24835 raggedleftmarginnote}{
24838 \begin_inset Newline newline
24845 raggedrightmarginnote}{
24853 \begin_layout Plain Layout
24859 raggedleftmarginnote}{
24864 \begin_layout Plain Layout
24870 raggedrightmarginnote}{
24880 \begin_layout Standard
24884 \begin_layout Standard
24885 \begin_inset VSpace medskip
24893 \begin_inset CommandInset citation
24902 \begin_layout Standard
24903 \begin_inset VSpace bigskip
24906 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
24914 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
24917 \begin_layout Standard
24927 \begin_inset Newline newline
24937 \begin_inset Newline newline
24941 \begin_inset Phantom HPhantom
24944 \begin_layout Plain Layout
24947 \begin_inset space ~
24964 \begin_inset Newline newline
24968 \begin_inset Phantom HPhantom
24971 \begin_layout Plain Layout
24974 \begin_inset space ~
24991 \begin_layout Standard
24995 \begin_layout Plain Layout
25006 \begin_layout Plain Layout
25017 \begin_layout Plain Layout
25028 \begin_layout Plain Layout
25042 \begin_inset Marginal
25045 \begin_layout Plain Layout
25046 これは、定義したヘッダをつけた傍注です。
25055 \begin_layout Plain Layout
25066 \begin_layout Plain Layout
25080 \begin_inset Note Note
25083 \begin_layout Plain Layout
25084 傍注書式は、この例の分だけ変更してあります。
25092 \begin_layout Standard
25096 \begin_layout Plain Layout
25106 \begin_inset Note Note
25109 \begin_layout Plain Layout
25114 が導入されていないときのみ表示されます。
25122 \begin_layout Standard
25123 本節の以下の部分を出力に表示するには、LaTeXパッケージ
25130 \begin_layout Standard
25134 \begin_layout Plain Layout
25146 \begin_layout Chapter
25150 \begin_layout Section
25152 \begin_inset Index idx
25155 \begin_layout Plain Layout
25164 \begin_layout Standard
25165 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
25166 \begin_inset CommandInset ref
25168 reference "sec:ミニページ"
25173 \begin_inset CommandInset ref
25179 節参照)、単語がハイフネートされるのを予防したり(第
25180 \begin_inset CommandInset ref
25182 reference "sec:ハイフネーションの回避"
25187 \begin_inset CommandInset ref
25189 reference "sub:垂直揃え"
25193 節参照)、あるいは文章の背景色を設定したり(第
25194 \begin_inset CommandInset ref
25196 reference "sec:色付きボックス"
25203 \begin_layout Standard
25206 挿入\SpecialChar \menuseparator
25210 \begin_inset Graphics
25211 filename ../../images/box-insert.png
25213 scaleBeforeRotation
25217 を使って挿入することができます。すると、
25218 \begin_inset Graphics
25219 filename ../clipart/BoxInsetDefaultQt4.png
25221 scaleBeforeRotation
25229 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
25233 メニューを選択すると現れるボックスダイアログでは、
25249 型は、新規ボックスの既定値となっており、第
25250 \begin_inset CommandInset ref
25252 reference "sec:ミニページ"
25261 \begin_inset CommandInset ref
25263 reference "sec:Parboxes"
25276 \begin_inset CommandInset ref
25278 reference "sec:ハイフネーションの回避"
25285 \begin_layout Standard
25286 ボックスは付番されないので、フロートや脚注のように参照することはできません。
25289 \begin_layout Standard
25290 \begin_inset Note Greyedout
25293 \begin_layout Plain Layout
25302 環境の単独要素とすべきではありません。
25310 \begin_layout Standard
25311 \begin_inset Note Greyedout
25314 \begin_layout Plain Layout
25315 【註】理由は不明ですが、枠付きボックスを使用している場合には、
25328 \begin_inset CommandInset ref
25330 reference "sec:ハイフネーションの回避"
25342 \begin_layout Section
25344 \begin_inset CommandInset label
25346 name "sec:ボックスダイアログ"
25351 \begin_inset Index idx
25354 \begin_layout Plain Layout
25355 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
25363 \begin_layout Subsection
25365 \begin_inset Index idx
25368 \begin_layout Plain Layout
25369 ぼっくす@ボックス ! すんぽう@寸法
25377 \begin_layout Standard
25386 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
25387 \begin_inset CommandInset ref
25397 フィールドには、加えて以下の寸法を使用することができます。
25400 \begin_layout Description
25401 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
25402 \begin_inset Newline newline
25406 \begin_inset Newline newline
25410 \begin_inset Newline newline
25414 \begin_inset Box Boxed
25424 height_special "depth"
25427 \begin_layout Plain Layout
25435 \begin_inset Newline newline
25439 \begin_inset Newline newline
25445 \begin_layout Description
25446 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
25447 \begin_inset Box Boxed
25457 height_special "height"
25460 \begin_layout Plain Layout
25470 \begin_layout Description
25472 \begin_inset Box Boxed
25482 height_special "totalheight"
25485 \begin_layout Plain Layout
25495 \begin_layout Description
25496 幅 これはボックスの幅を高さに設定します。
25497 \begin_inset Box Boxed
25507 height_special "width"
25510 \begin_layout Plain Layout
25520 \begin_layout Subsection
25522 \begin_inset Index idx
25525 \begin_layout Plain Layout
25526 ぼっくす@ボックス ! もじそろえ@文字揃え
25534 \begin_layout Standard
25539 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
25542 \begin_layout Description
25544 \begin_inset Box Boxed
25554 height_special "totalheight"
25557 \begin_layout Plain Layout
25567 \begin_layout Description
25569 \begin_inset Box Boxed
25579 height_special "totalheight"
25582 \begin_layout Plain Layout
25592 \begin_layout Description
25594 \begin_inset Box Boxed
25604 height_special "totalheight"
25607 \begin_layout Plain Layout
25617 \begin_layout Standard
25618 \begin_inset Note Greyedout
25621 \begin_layout Plain Layout
25626 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
25634 \begin_layout Standard
25635 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
25638 \begin_layout Standard
25639 \begin_inset VSpace bigskip
25646 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
25649 \begin_layout Description
25651 \begin_inset Box Boxed
25661 height_special "totalheight"
25664 \begin_layout Plain Layout
25674 \begin_layout Description
25676 \begin_inset Box Boxed
25686 height_special "totalheight"
25689 \begin_layout Plain Layout
25699 \begin_layout Description
25701 \begin_inset Box Boxed
25711 height_special "totalheight"
25714 \begin_layout Plain Layout
25724 \begin_layout Description
25725 広げる これは例示のための本文行です。
25726 \begin_inset Box Boxed
25736 height_special "totalheight"
25739 \begin_layout Plain Layout
25744 \begin_layout Plain Layout
25749 \begin_layout Plain Layout
25759 \begin_layout Standard
25760 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
25763 \begin_layout Standard
25764 \begin_inset VSpace bigskip
25771 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
25774 \begin_layout Standard
25776 \begin_inset Box Boxed
25786 height_special "totalheight"
25789 \begin_layout Plain Layout
25794 \begin_layout Plain Layout
25799 \begin_layout Plain Layout
25809 \begin_layout Standard
25814 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
25817 \begin_layout Standard
25819 \begin_inset Box Boxed
25829 height_special "totalheight"
25832 \begin_layout Plain Layout
25834 このボックスの文章は水平方向に広げてあります。
25842 \begin_layout Subsection
25844 \begin_inset CommandInset label
25851 \begin_inset Index idx
25854 \begin_layout Plain Layout
25855 ぼっくす@ボックス ! そうしょく@装飾
25863 \begin_layout Standard
25868 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
25871 \begin_layout Description
25875 \begin_inset space ~
25878 frame Nothing is drawn.
25881 \begin_layout Description
25882 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
25889 \begin_inset Box Boxed
25899 height_special "totalheight"
25902 \begin_layout Plain Layout
25912 \begin_layout Description
25913 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
25914 \begin_inset space \thinspace{}
25918 \begin_inset Box ovalbox
25928 height_special "totalheight"
25931 \begin_layout Plain Layout
25941 \begin_layout Description
25942 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
25943 \begin_inset space \thinspace{}
25947 \begin_inset Box Ovalbox
25957 height_special "totalheight"
25960 \begin_layout Plain Layout
25970 \begin_layout Description
25971 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
25978 \begin_inset space \thinspace{}
25982 \begin_inset Box Shadowbox
25992 height_special "totalheight"
25995 \begin_layout Plain Layout
26005 \begin_layout Description
26006 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
26010 \begin_layout Plain Layout
26012 \begin_inset CommandInset ref
26014 reference "sec:色付きボックス"
26023 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
26024 \begin_inset Box Shaded
26034 height_special "totalheight"
26037 \begin_layout Plain Layout
26046 \begin_layout Description
26047 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
26048 \begin_inset space \thinspace{}
26058 \begin_inset space \thinspace{}
26068 \begin_inset space \thinspace{}
26078 \begin_inset space \thinspace{}
26082 \begin_inset space \thinspace{}
26086 \begin_inset space \thinspace{}
26090 \begin_inset Box Doublebox
26100 height_special "totalheight"
26103 \begin_layout Plain Layout
26113 \begin_layout Standard
26114 \begin_inset VSpace bigskip
26117 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
26122 \begin_inset Index idx
26125 \begin_layout Plain Layout
26126 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
26134 \begin_layout Standard
26135 \begin_inset VSpace bigskip
26142 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
26162 \begin_inset Box Framed
26172 height_special "totalheight"
26175 \begin_layout Plain Layout
26184 \begin_layout Section
26186 \begin_inset Index idx
26189 \begin_layout Plain Layout
26190 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
26198 \begin_layout Standard
26206 \begin_inset space \thinspace{}
26209 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
26210 \begin_inset space \thinspace{}
26216 \begin_layout Standard
26226 \begin_layout Standard
26230 \begin_layout Plain Layout
26242 \begin_inset Box Boxed
26252 height_special "totalheight"
26255 \begin_layout Plain Layout
26264 \begin_inset space \thinspace{}
26268 \begin_inset space \thinspace{}
26272 \begin_inset space \thinspace{}
26284 \begin_layout Plain Layout
26298 \begin_layout Standard
26299 \begin_inset VSpace bigskip
26302 枠とボックスの内容との空白は、すべての枠様式について3
26303 \begin_inset space \thinspace{}
26306 ptが既定値になっています。これは、長さ
26312 を別の値に設定することによって変更することができます。たとえば
26315 \begin_layout Standard
26325 \begin_layout Standard
26327 \begin_inset space \thinspace{}
26330 ptにし、以下のボックスのようになります。
26333 \begin_layout Standard
26337 \begin_layout Plain Layout
26349 \begin_inset Box Boxed
26359 height_special "totalheight"
26362 \begin_layout Plain Layout
26371 \begin_inset space \thinspace{}
26375 \begin_inset space \thinspace{}
26379 \begin_inset space \thinspace{}
26391 \begin_layout Plain Layout
26405 \begin_layout Standard
26406 \begin_inset VSpace bigskip
26409 楕円形ボックスの丸い角の直径は、コマンド
26418 \begin_layout Standard
26426 \begin_layout Standard
26428 \begin_inset space \thinspace{}
26434 \begin_layout Standard
26442 \begin_layout Standard
26446 \begin_inset space \thinspace{}
26450 \begin_inset space \thinspace{}
26464 \begin_layout Standard
26468 \begin_layout Plain Layout
26478 \begin_inset Box Ovalbox
26488 height_special "totalheight"
26491 \begin_layout Plain Layout
26500 \begin_inset space \thinspace{}
26504 \begin_inset space \thinspace{}
26508 \begin_inset space \thinspace{}
26520 \begin_layout Plain Layout
26532 \begin_layout Standard
26533 \begin_inset VSpace bigskip
26542 を変更することで調整できます。以下のボックスでは
26545 \begin_layout Standard
26555 \begin_layout Standard
26557 \begin_inset space \thinspace{}
26563 \begin_layout Standard
26567 \begin_layout Plain Layout
26579 \begin_inset Box Shadowbox
26589 height_special "totalheight"
26592 \begin_layout Plain Layout
26601 \begin_inset space \thinspace{}
26605 \begin_inset space \thinspace{}
26609 \begin_inset space \thinspace{}
26621 \begin_layout Plain Layout
26635 \begin_layout Standard
26636 \begin_inset VSpace bigskip
26642 \begin_layout Standard
26650 \begin_inset space \thinspace{}
26653 ptです。ボックスの中身と枠の間の空白の既定値は9
26654 \begin_inset space \thinspace{}
26663 の値を変えることで変更することができます。たとえば、下記の
26670 \begin_layout Standard
26678 \begin_inset Newline newline
26688 \begin_layout Standard
26689 というTeXコードコマンドで設定してあります。
26693 \begin_layout Plain Layout
26702 \begin_layout Plain Layout
26714 \begin_inset Box Framed
26724 height_special "totalheight"
26727 \begin_layout Plain Layout
26741 \begin_layout Plain Layout
26750 \begin_layout Plain Layout
26764 \begin_layout Standard
26765 \begin_inset VSpace bigskip
26771 \begin_layout Standard
26776 ボックスでは、ボックスの内容と枠の余白の既定値は3
26777 \begin_inset space \thinspace{}
26786 の値を変更することで変えられます。既定の背景色である赤色は、
26790 definecolor{shadebox}
26792 コマンドで局所的に変更することもできますし、
26794 ツール\SpecialChar \menuseparator
26795 設定\SpecialChar \menuseparator
26796 色\SpecialChar \menuseparator
26799 メニューからグローバルに変更することもできます。
26806 \begin_inset CommandInset ref
26808 reference "sec:色付きの表"
26816 \begin_layout Plain Layout
26827 をプリアンブルに読み込む必要があります。第
26828 \begin_inset CommandInset ref
26830 reference "sec:色付きボックス"
26842 \begin_layout Standard
26843 たとえば、下記の影付き背景ボックスの外見は
26846 \begin_layout Standard
26856 \begin_inset Newline newline
26863 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26866 \begin_layout Standard
26867 というTeXコードコマンドを使って設定してあります。
26870 \begin_layout Standard
26874 \begin_layout Plain Layout
26883 \begin_layout Plain Layout
26887 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26893 \begin_inset Box Shaded
26903 height_special "totalheight"
26906 \begin_layout Plain Layout
26922 \begin_layout Plain Layout
26931 \begin_layout Plain Layout
26935 definecolor{shadecolor}{rgb}{1,0,0}
26943 \begin_layout Standard
26944 \begin_inset VSpace bigskip
26947 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
26950 \begin_layout Section
26952 \begin_inset CommandInset label
26959 \begin_inset Index idx
26962 \begin_layout Plain Layout
26963 ぼっくす@ボックス ! みにぺーじ@ミニページ
26971 \begin_layout Standard
26972 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
26975 \begin_layout Standard
26976 ミニページは、複数の言語を含む文書を執筆する際に便利です。
26979 \begin_layout Standard
26980 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
26984 \SpecialChar \menuseparator
26989 \SpecialChar \menuseparator
26994 メニューで挿入した水平フィルで隔てられています。
26995 \begin_inset Newpage newpage
27001 \begin_layout Standard
27002 \begin_inset Box Frameless
27012 height_special "totalheight"
27015 \begin_layout Plain Layout
27016 Dies ist ein deutscher Text.
27017 Dies ist ein deutscher Text.
27018 Dies ist ein deutscher Text.
27019 Dies ist ein deutscher Text.
27020 Dies ist ein deutscher Text.
27021 Dies ist ein deutscher Text.
27022 Dies ist ein deutscher Text.
27023 Dies ist ein deutscher Text.
27024 Dies ist ein deutscher Text.
27025 Dies ist ein deutscher Text.
27026 Dies ist ein deutscher Text.
27027 Dies ist ein deutscher Text.
27028 Dies ist ein deutscher Text
27032 \begin_layout Plain Layout
27033 Dies ist eine deutsche Fußnote.
27039 Dies ist ein deutscher Text.
27040 Dies ist ein deutscher Text.
27046 \begin_inset space \hfill{}
27050 \begin_inset Box Frameless
27060 height_special "totalheight"
27063 \begin_layout Plain Layout
27064 This is an English Text.
27065 This is an English Text.
27066 This is an English Text.
27067 This is an English Text.
27068 This is an English Text.
27069 This is an English Text.
27070 This is an English Text.
27071 This is an English Text.
27072 This is an English Text.
27073 This is an English Text.
27074 This is an English Text.
27075 This is an English Text.
27076 This is an English Text.
27077 This is an English Text.
27078 This is an English Text.
27079 This is an English Text.
27083 \begin_layout Plain Layout
27084 This is an English footnote.
27089 This is an English Text.
27098 \begin_layout Standard
27099 \begin_inset VSpace bigskip
27102 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
27103 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
27106 \begin_layout Standard
27108 \begin_inset Tabular
27109 <lyxtabular version="3" rows="3" columns="4">
27110 <features tabularvalignment="middle">
27111 <column alignment="center" valignment="top" width="0pt">
27112 <column alignment="center" valignment="top" width="0pt">
27113 <column alignment="center" valignment="top" width="0pt">
27114 <column alignment="center" valignment="top" width="0pt">
27116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27119 \begin_layout Plain Layout
27125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27128 \begin_layout Plain Layout
27134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27137 \begin_layout Plain Layout
27142 \begin_layout Plain Layout
27153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27156 \begin_layout Plain Layout
27164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27167 \begin_layout Plain Layout
27173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27176 \begin_layout Plain Layout
27182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27185 \begin_layout Plain Layout
27191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27194 \begin_layout Plain Layout
27202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27205 \begin_layout Plain Layout
27211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27214 \begin_layout Plain Layout
27220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27223 \begin_layout Plain Layout
27229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27232 \begin_layout Plain Layout
27246 \begin_layout Standard
27248 \begin_inset Box Frameless
27258 height_special "totalheight"
27261 \begin_layout Plain Layout
27263 \begin_inset Tabular
27264 <lyxtabular version="3" rows="3" columns="4">
27265 <features tabularvalignment="middle">
27266 <column alignment="center" valignment="top" width="0pt">
27267 <column alignment="center" valignment="top" width="0pt">
27268 <column alignment="center" valignment="top" width="0pt">
27269 <column alignment="center" valignment="top" width="0pt">
27271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27274 \begin_layout Plain Layout
27280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27283 \begin_layout Plain Layout
27289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27292 \begin_layout Plain Layout
27297 \begin_layout Plain Layout
27308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27311 \begin_layout Plain Layout
27319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27322 \begin_layout Plain Layout
27328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27331 \begin_layout Plain Layout
27337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27340 \begin_layout Plain Layout
27346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27349 \begin_layout Plain Layout
27357 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27360 \begin_layout Plain Layout
27366 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27369 \begin_layout Plain Layout
27375 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27378 \begin_layout Plain Layout
27384 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27387 \begin_layout Plain Layout
27406 \begin_layout Standard
27407 \begin_inset VSpace bigskip
27410 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
27414 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
27417 \begin_layout Standard
27418 ミニページは、文章部に背景色を与えるのに使用することもできます。第
27419 \begin_inset CommandInset ref
27421 reference "sub:段落の着色"
27428 \begin_layout Standard
27429 \begin_inset Note Greyedout
27432 \begin_layout Plain Layout
27437 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
27445 \begin_layout Section
27447 \begin_inset CommandInset label
27449 name "sec:Parboxes"
27454 \begin_inset Index idx
27457 \begin_layout Plain Layout
27458 ぼっくす@ボックス ! Parboxes
27466 \begin_layout Standard
27467 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。ミニページとの主な違いは、ミニページの方は、parboxとは違って、本
27468 当のボックスではなくLaTeX環境であるところです。
27471 \begin_layout Standard
27473 \begin_inset Box Frameless
27483 height_special "totalheight"
27486 \begin_layout Plain Layout
27487 これはparbox内の文章です。これはparbox内の文章です。
27490 \begin_layout Plain Layout
27495 \begin_layout Plain Layout
27496 これはparbox内の脚注であり、したがって表示はされません。
27509 \begin_layout Section
27511 \begin_inset Index idx
27514 \begin_layout Plain Layout
27515 ぼっくす@ボックス ! もじよう@文字用
27523 \begin_layout Subsection
27525 \begin_inset CommandInset label
27527 name "sec:ハイフネーションの回避"
27532 \begin_inset Index idx
27535 \begin_layout Plain Layout
27536 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
27544 \begin_layout Standard
27547 You can use the box type
27551 to prevent words or text from being hyphenated.
27554 \begin_inset Newline newline
27560 \begin_layout Standard
27561 This line is an example to show how you can prevent the hyphenation of
27562 \begin_inset Quotes eld
27566 \begin_inset Quotes erd
27572 \begin_layout Standard
27575 To prevent the hyphenation of the word
27576 \begin_inset Quotes eld
27580 \begin_inset Quotes erd
27583 , put the word into a box, set the
27586 \begin_inset space ~
27596 \begin_inset space \thinspace{}
27602 \begin_layout Standard
27606 \begin_layout Standard
27607 This line is an example to show how you can prevent the hyphenation of
27608 \begin_inset Box Frameless
27618 height_special "totalheight"
27621 \begin_layout Plain Layout
27622 \begin_inset Quotes eld
27626 \begin_inset Quotes erd
27637 \begin_layout Standard
27638 別の方法としては、以下のように、単語の前に直接TeXコードで「
27647 \begin_layout Standard
27648 This line is an example to show how you can prevent the hyphenation of
27649 \begin_inset Quotes eld
27656 \begin_layout Plain Layout
27666 \begin_inset Quotes erd
27672 \begin_layout Standard
27673 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
27677 \SpecialChar \menuseparator
27682 \SpecialChar \menuseparator
27690 arg "newline-insert newline"
27693 )から改行を単語の前に入れてください。
27696 \begin_layout Standard
27697 This line is an example to show how you can prevent the hyphenation of
27698 \begin_inset Newline newline
27702 \begin_inset Box Frameless
27712 height_special "totalheight"
27715 \begin_layout Plain Layout
27716 \begin_inset Quotes eld
27720 \begin_inset Quotes erd
27731 \begin_layout Subsection
27733 \begin_inset CommandInset label
27740 \begin_inset Index idx
27743 \begin_layout Plain Layout
27744 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
27750 \begin_inset Index idx
27753 \begin_layout Plain Layout
27754 ぼっくす@ボックス ! Raiseboxes
27762 \begin_layout Standard
27769 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
27778 \begin_layout Standard
27783 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
27786 \begin_layout Standard
27787 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
27790 \begin_layout Standard
27791 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
27794 \begin_layout Standard
27804 \begin_layout Standard
27805 というコマンドを挿入してください。単語の後には、閉じ括弧「
27810 \begin_inset Newline newline
27816 \begin_layout Standard
27817 This is a text line with the word
27821 \begin_layout Plain Layout
27833 \begin_inset Quotes eld
27837 \begin_inset Quotes erd
27844 \begin_layout Plain Layout
27854 \begin_layout Standard
27855 \begin_inset VSpace bigskip
27858 行中の文字を上げ下げすると、以下のように行間が広がります。
27861 \begin_layout Standard
27862 This is a text line with the word
27866 \begin_layout Plain Layout
27878 \begin_inset Quotes eld
27882 \begin_inset Quotes erd
27889 \begin_layout Plain Layout
27897 \begin_inset Newline newline
27900 This is a text line with the word
27904 \begin_layout Plain Layout
27914 \begin_inset Quotes eld
27918 \begin_inset Quotes erd
27925 \begin_layout Plain Layout
27935 \begin_layout Standard
27936 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
27939 \begin_layout Standard
27949 \begin_layout Standard
27953 \begin_layout Standard
27954 This is a text line with the word
27958 \begin_layout Plain Layout
27970 \begin_inset Quotes eld
27974 \begin_inset Quotes erd
27981 \begin_layout Plain Layout
27989 \begin_inset Newline newline
27992 This is a text line with the word
27996 \begin_layout Plain Layout
28000 raisebox{0.5cm}[0pt]{
28006 \begin_inset Quotes eld
28010 \begin_inset Quotes erd
28017 \begin_layout Plain Layout
28027 \begin_layout Section
28029 \begin_inset CommandInset label
28036 \begin_inset Index idx
28039 \begin_layout Plain Layout
28040 ぼっくす@ボックス ! いろつき@色付き
28048 \begin_layout Subsection
28050 \begin_inset Index idx
28053 \begin_layout Plain Layout
28062 \begin_layout Standard
28063 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
28068 \begin_inset Index idx
28071 \begin_layout Plain Layout
28072 LaTeXぱっけーじ@LaTeXパッケージ ! color
28077 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
28080 \begin_layout Standard
28085 @ifundefined{textcolor}
28086 \begin_inset Newline newline
28090 \begin_inset Phantom HPhantom
28093 \begin_layout Plain Layout
28096 \begin_inset space ~
28106 usepackage{color}}{}
28109 \begin_layout Standard
28114 パッケージは、文章を着色するとLyXが自動的に読み込みます
28118 \begin_layout Plain Layout
28119 これが二度読み込まれることを回避するには、
28133 \begin_layout Standard
28134 \begin_inset VSpace medskip
28143 コマンドを使って作ります。これは、以下のような書式で使われます。
28146 \begin_layout Standard
28151 colorbox{color}{ボックスの内容}
28154 \begin_layout Standard
28155 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
28158 \begin_layout Standard
28160 \begin_inset Newline newline
28196 \begin_inset Newline newline
28200 \begin_inset CommandInset ref
28202 reference "sec:色付きの表"
28206 節に述べられているようにすれば、自前の色を定義することもできます。
28209 \begin_layout Standard
28210 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
28213 \begin_layout Standard
28221 \begin_layout Standard
28222 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
28227 \begin_inset Newline newline
28233 \begin_layout Standard
28238 \begin_layout Plain Layout
28251 \begin_layout Plain Layout
28261 \begin_layout Standard
28262 \begin_inset VSpace bigskip
28265 ボックスの枠を別の色にしたい場合には、以下の書式で
28274 \begin_layout Standard
28279 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
28282 \begin_layout Standard
28295 の拡張です。枠の太さと枠とボックスの中身との余白は、第
28296 \begin_inset CommandInset ref
28317 \begin_layout Standard
28321 \begin_layout Standard
28326 fcolorbox{cyan}{magenta}{
28329 \begin_layout Standard
28333 \begin_layout Standard
28335 \begin_inset space \thinspace{}
28339 \begin_inset Newline newline
28346 \begin_layout Plain Layout
28361 \begin_layout Plain Layout
28365 fcolorbox{cyan}{magenta}{
28370 これは着色した色付きボックス中の文章です。
28374 \begin_layout Plain Layout
28384 \begin_layout Standard
28385 \begin_inset VSpace bigskip
28388 もちろん、色付きボックスの中に色付き文字を入れることもできます
28389 \begin_inset Newline newline
28396 \begin_layout Plain Layout
28400 fcolorbox{cyan}{magenta}{
28407 これは着色した色付きボックス中の色付き文章です。
28413 \begin_layout Plain Layout
28424 \begin_layout Plain Layout
28438 \begin_layout Standard
28441 \begin_inset VSpace medskip
28447 \begin_layout Standard
28448 \begin_inset Note Greyedout
28451 \begin_layout Plain Layout
28456 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
28464 \begin_layout Subsection
28466 \begin_inset CommandInset label
28473 \begin_inset Index idx
28476 \begin_layout Plain Layout
28485 \begin_layout Standard
28486 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
28495 \begin_layout Standard
28503 \begin_layout Standard
28504 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
28511 \begin_layout Standard
28515 \begin_layout Plain Layout
28519 colorbox{lightgrey}{
28525 \begin_inset Box Frameless
28535 height_special "totalheight"
28538 \begin_layout Plain Layout
28539 これは背景色を付けた文章です。これは背景色を付けた文章です。
28542 \begin_layout Plain Layout
28543 \begin_inset VSpace defskip
28550 \begin_layout Plain Layout
28556 を付けることもできますし、図表を挿入することもできます。
28559 \begin_layout Plain Layout
28561 \begin_inset Tabular
28562 <lyxtabular version="3" rows="3" columns="3">
28563 <features tabularvalignment="middle">
28564 <column alignment="center" valignment="top" width="0">
28565 <column alignment="center" valignment="top" width="0">
28566 <column alignment="center" valignment="top" width="0">
28568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28571 \begin_layout Plain Layout
28577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28580 \begin_layout Plain Layout
28586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28589 \begin_layout Plain Layout
28597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28600 \begin_layout Plain Layout
28606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28609 \begin_layout Plain Layout
28611 \begin_inset Quotes erd
28619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28622 \begin_layout Plain Layout
28630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28633 \begin_layout Plain Layout
28639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28642 \begin_layout Plain Layout
28648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28651 \begin_layout Plain Layout
28671 \begin_layout Plain Layout
28681 \begin_layout Section
28685 \begin_layout Standard
28686 本節で述べられているコマンドを使用するには、文書プリアンブルで
28689 \begin_layout Standard
28694 @ifundefined{rotatebox}
28695 \begin_inset Newline newline
28699 \begin_inset Phantom HPhantom
28702 \begin_layout Plain Layout
28705 \begin_inset space ~
28715 usepackage{graphicx}}{}
28718 \begin_layout Standard
28724 \begin_inset Index idx
28727 \begin_layout Plain Layout
28728 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
28733 LaTeXパッケージを読み込む必要があります。
28736 \begin_layout Standard
28737 \begin_inset Note Greyedout
28740 \begin_layout Plain Layout
28745 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
28753 \begin_layout Standard
28754 \begin_inset Note Greyedout
28757 \begin_layout Plain Layout
28762 フロートは回転伸縮したボックスの中に入れることはできません。
28770 \begin_layout Subsection
28772 \begin_inset Index idx
28775 \begin_layout Plain Layout
28776 ぼっくす@ボックス ! かいてんした@回転した
28782 \begin_inset Index idx
28785 \begin_layout Plain Layout
28786 かいてん@回転 ! そざいの@素材の---
28792 \begin_inset Index idx
28795 \begin_layout Plain Layout
28802 \begin_inset Index idx
28805 \begin_layout Plain Layout
28806 ひょうのちょうせい@表の調整 ! かいてん@回転
28814 \begin_layout Standard
28815 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
28821 コマンドを使用すれば作成することができます。
28824 \begin_layout Standard
28829 rotatebox[回転の原点]{回転角}{ボックスの内容}
28832 \begin_layout Standard
28837 の形で指定します。位置として指定可能なのは、
28857 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
28861 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
28865 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
28868 \begin_layout Standard
28869 以下の例では、「回転した」文章の前にTeXコードで
28873 rotatebox[origin=c]{60}{
28875 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
28882 \begin_layout Standard
28887 \begin_layout Plain Layout
28891 rotatebox[origin=c]{60}{
28900 \begin_layout Plain Layout
28910 \begin_layout Standard
28911 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
28914 \begin_layout Standard
28919 \begin_layout Plain Layout
28923 rotatebox[origin=r]{-60}{
28929 \begin_inset Box Doublebox
28939 height_special "totalheight"
28942 \begin_layout Plain Layout
28952 \begin_layout Plain Layout
28963 \begin_layout Plain Layout
28967 rotatebox[origin=lb]{60}{
28973 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28980 \begin_layout Plain Layout
28990 \begin_layout Standard
28991 あるいは、以下のように図や表を入れることもできます。
28994 \begin_layout Standard
28999 \begin_layout Plain Layout
29003 rotatebox[origin=lb]{90}{
29009 \begin_inset Graphics
29010 filename ../clipart/platypus.eps
29020 \begin_layout Plain Layout
29031 \begin_layout Plain Layout
29035 rotatebox[origin=l]{-90}{
29041 \begin_inset Tabular
29042 <lyxtabular version="3" rows="2" columns="2">
29043 <features tabularvalignment="middle">
29044 <column alignment="center" valignment="top" width="0">
29045 <column alignment="center" valignment="top" width="0">
29047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29050 \begin_layout Plain Layout
29056 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29059 \begin_layout Plain Layout
29067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29070 \begin_layout Plain Layout
29076 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29079 \begin_layout Plain Layout
29094 \begin_layout Plain Layout
29104 \begin_layout Subsection
29106 \begin_inset Index idx
29109 \begin_layout Plain Layout
29110 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
29116 \begin_inset Index idx
29119 \begin_layout Plain Layout
29120 しんしゅく@伸縮 ! そざいの@素材の---
29126 \begin_inset Index idx
29129 \begin_layout Plain Layout
29130 ず@図 ! のしんしゅく@---の伸縮
29136 \begin_inset Index idx
29139 \begin_layout Plain Layout
29140 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
29148 \begin_layout Standard
29164 \begin_layout Standard
29174 \begin_layout Standard
29179 scalebox{水平方向}[垂直方向]{ボックスの内容}
29182 \begin_layout Standard
29183 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
29186 \begin_layout Standard
29193 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
29197 \begin_layout Plain Layout
29210 \begin_layout Plain Layout
29220 \begin_layout Standard
29225 scalebox{2}[1]{こんにちは}
29231 \begin_layout Plain Layout
29244 \begin_layout Plain Layout
29254 \begin_layout Standard
29255 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
29259 scalebox{-1}[1]{こんにちは}
29261 というコマンドは、右のように反転文字を生成するのに使用できます:
29265 \begin_layout Plain Layout
29278 \begin_layout Plain Layout
29288 \begin_layout Standard
29293 scalebox{1}[-1]{こんにちは}
29299 \begin_layout Plain Layout
29312 \begin_layout Plain Layout
29322 \begin_layout Standard
29327 scalebox{-1}[1]{ボックスの内容}
29330 \begin_inset Newline newline
29337 reflectbox{ボックスの内容}
29340 \begin_inset Newline newline
29346 \begin_layout Standard
29347 \begin_inset VSpace bigskip
29350 指定した幅や丈にボックスを伸縮させるには、
29359 \begin_layout Standard
29364 resizebox{幅}{丈}{ボックスの内容}
29367 \begin_layout Standard
29368 です。上記二つのコマンド引数のうち一つが感嘆符「
29372 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
29375 \begin_layout Standard
29380 resizebox{2cm}{1cm}{こんにちは}
29386 \begin_layout Plain Layout
29390 resizebox{2cm}{1cm}{
29399 \begin_layout Plain Layout
29407 \begin_inset Newline newline
29414 resizebox{2cm}{!}{こんにちは}
29420 \begin_layout Plain Layout
29433 \begin_layout Plain Layout
29443 \begin_layout Standard
29444 \begin_inset VSpace bigskip
29448 \begin_inset Note Greyedout
29451 \begin_layout Plain Layout
29464 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
29472 \begin_layout Standard
29473 \begin_inset VSpace bigskip
29479 \begin_layout Standard
29480 ボックスは好きな順序で組み合わせることができます。たとえば、
29481 \begin_inset Newline newline
29488 rotatebox[origin=c]{-45}{
29492 reflectbox{こんにちは}}}
29493 \begin_inset Newline newline
29501 \begin_layout Standard
29506 \begin_layout Plain Layout
29510 rotatebox[origin=c]{-45}{
29523 \begin_layout Plain Layout
29533 \begin_layout Standard
29535 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
29538 \begin_layout Standard
29543 \begin_layout Plain Layout
29547 rotatebox[origin=c]{-30}{
29557 \begin_inset Graphics
29558 filename ../clipart/platypus.eps
29568 \begin_layout Plain Layout
29579 \begin_layout Plain Layout
29583 rotatebox[origin=c]{-45}{
29593 \begin_inset Tabular
29594 <lyxtabular version="3" rows="2" columns="2">
29595 <features tabularvalignment="middle">
29596 <column alignment="center" valignment="top" width="0">
29597 <column alignment="center" valignment="top" width="0">
29599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29602 \begin_layout Plain Layout
29608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29611 \begin_layout Plain Layout
29619 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29622 \begin_layout Plain Layout
29628 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29631 \begin_layout Plain Layout
29646 \begin_layout Plain Layout
29657 \begin_layout Plain Layout
29661 rotatebox[origin=c]{-45}{
29671 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29678 \begin_layout Plain Layout
29688 \begin_layout Standard
29697 \begin_layout Plain Layout
29698 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
29703 には、別行建て数式も伸縮させることができます。
29706 \begin_layout Chapter
29708 \begin_inset Index idx
29711 \begin_layout Plain Layout
29712 がいぶぶんしょこうせいようそ@外部文書構成要素
29720 \begin_layout Standard
29723 挿入\SpecialChar \menuseparator
29726 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
29729 \begin_layout Description
29730 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
29733 \begin_layout Description
29734 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
29737 \begin_layout Description
29738 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
29741 \begin_layout Description
29745 \begin_layout Description
29746 子文書 LyXあるいはLaTeX文書。
29749 \begin_layout Section
29751 \begin_inset Index idx
29754 \begin_layout Plain Layout
29755 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
29763 \begin_layout Standard
29764 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
29765 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
29767 操作性\SpecialChar \menuseparator
29770 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
29773 \begin_layout Standard
29778 \SpecialChar \menuseparator
29783 \SpecialChar \menuseparator
29792 ダイアログから挿入することができます。目下、以下のファイル形式(
29799 \begin_layout Description
29803 \begin_inset CommandInset href
29806 target "http://en.wikipedia.org/wiki/XBoard"
29812 プログラムで作成されたチェス棋譜をサポートします。
29815 \begin_layout Description
29820 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
29821 \begin_inset External
29828 \begin_inset space ~
29832 \begin_inset Note Note
29835 \begin_layout Plain Layout
29836 バグ4398が修正されたら、この保護空白は削除してください!
29842 \begin_inset Newline newline
29845 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
29849 \SpecialChar \menuseparator
29850 日付メニューを使用する方法で、他はLaTeXコマンドの
29856 をTeXコードで使用する方法です。これらの各方法は、表
29857 \begin_inset CommandInset ref
29859 reference "tab:日付挿入方法"
29866 \begin_layout Description
29870 \begin_inset CommandInset href
29873 target "http://en.wikipedia.org/wiki/Dia_(software)"
29879 プログラムで作成したダイアグラムをサポートします。
29882 \begin_layout Description
29886 \begin_inset CommandInset href
29889 target "http://en.wikipedia.org/wiki/LilyPond"
29895 プログラムで作成した楽譜の組版に使用されます。
29898 \begin_layout Description
29899 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
29915 オプションを指定しないと、PDFの最初のページのみが挿入されます。
29918 \begin_layout Description
29919 ラスターイメージ これはビットマップ画像に使用します。よく使われる画像形式のほとんどすべてがサポートされています。
29924 \begin_inset CommandInset ref
29926 reference "sec:画像ダイアログ"
29934 ダイアログを使って挿入される画像と同じように取り扱うことができます。異なる点といえば、ラスターイメージのみを取り扱うことができる点、すなわちPDFやEPS画像は
29938 \begin_layout Description
29942 \begin_inset CommandInset href
29945 target "http://en.wikipedia.org/wiki/Xfig"
29951 プログラムで作成した画像をサポートします。
29954 \begin_layout Standard
29955 \begin_inset Float table
29961 \begin_layout Plain Layout
29962 \begin_inset Caption
29964 \begin_layout Plain Layout
29965 \begin_inset CommandInset label
29979 \begin_layout Plain Layout
29981 \begin_inset Tabular
29982 <lyxtabular version="3" rows="4" columns="4">
29983 <features tabularvalignment="middle">
29984 <column alignment="center" valignment="top" width="0">
29985 <column alignment="center" valignment="top" width="0">
29986 <column alignment="center" valignment="top" width="0">
29987 <column alignment="center" valignment="top" width="0">
29989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29992 \begin_layout Plain Layout
29998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30001 \begin_layout Plain Layout
30004 外部素材\SpecialChar \menuseparator
30010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30013 \begin_layout Plain Layout
30016 挿入\SpecialChar \menuseparator
30022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30025 \begin_layout Plain Layout
30039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30042 \begin_layout Plain Layout
30048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30051 \begin_layout Plain Layout
30057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30060 \begin_layout Plain Layout
30066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30069 \begin_layout Plain Layout
30077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30080 \begin_layout Plain Layout
30086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30089 \begin_layout Plain Layout
30095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30098 \begin_layout Plain Layout
30104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30107 \begin_layout Plain Layout
30115 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30118 \begin_layout Plain Layout
30124 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30127 \begin_layout Plain Layout
30133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30136 \begin_layout Plain Layout
30142 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30145 \begin_layout Plain Layout
30164 \begin_layout Standard
30177 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
30178 \begin_inset Newline newline
30181 LyX中での外部素材は、ダイアログ内の
30190 \begin_inset Graphics
30191 filename clipart/ExternalMaterialQt4.png
30193 scaleBeforeRotation
30197 のようなボックスとして表示されるか、画像として表示されます。
30200 \begin_layout Standard
30207 には、自製のひな型を定義する方法が説明されています。
30210 \begin_layout Section
30212 \begin_inset CommandInset label
30219 \begin_inset Index idx
30222 \begin_layout Plain Layout
30223 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
30229 \begin_inset Index idx
30232 \begin_layout Plain Layout
30233 ふぁいる@ファイル ! いんくるーど@インクルード
30241 \begin_layout Standard
30242 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
30243 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
30244 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
30247 \begin_layout Standard
30248 親文書を開くことなく子文書で作業できるようにするには、子文書の
30252 \SpecialChar \menuseparator
30257 \SpecialChar \menuseparator
30262 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
30265 \begin_layout Standard
30267 \begin_inset Graphics
30268 filename clipart/ChildDocumentQt4.png
30270 scaleBeforeRotation
30274 のようなボックスとして表示されます。子文書を親文書に取り込むには、
30278 \SpecialChar \menuseparator
30283 \SpecialChar \menuseparator
30288 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
30291 \begin_layout Description
30292 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
30300 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
30301 \begin_inset Newline newline
30307 \begin_layout Standard
30313 \begin_inset CommandInset include
30314 LatexCommand include
30315 filename "DummyDocument1.lyx"
30322 \begin_layout Standard
30323 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
30324 あります。取り込んだ文書のラベルは、第
30325 \begin_inset CommandInset ref
30327 reference "sub:外部文書の第1小節"
30331 小節、のように参照することができます。
30334 \begin_layout Standard
30335 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
30336 は、新規頁から始まるように挿入され、改頁して終わります。
30339 \begin_layout Standard
30340 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
30344 \begin_layout Plain Layout
30358 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
30361 \begin_layout Standard
30362 \begin_inset Note Greyedout
30365 \begin_layout Plain Layout
30370 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
30384 \begin_layout Standard
30385 \begin_inset Note Greyedout
30388 \begin_layout Plain Layout
30393 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
30402 \begin_layout Description
30403 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
30407 \begin_layout Itemize
30408 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
30411 \begin_layout Itemize
30412 Inputファイルは、LyX設定の操作性
30414 \SpecialChar \menuseparator
30421 を有効にすると、LyX中でプレビューすることができます。
30424 \begin_layout Itemize
30435 \begin_layout Standard
30441 \begin_inset CommandInset include
30443 filename "DummyDocument2.lyx"
30450 \begin_layout Description
30451 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
30452 に用いられているコマンドは実行されません。
30456 オプションを有効にすると、ソースコード中のすべての空白文字に「
30460 \begin_layout Plain Layout
30471 挿入\SpecialChar \menuseparator
30472 ファイル\SpecialChar \menuseparator
30475 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
30478 \begin_layout Standard
30479 以下は、verbatimとして挿入された子文書です。
30480 \begin_inset CommandInset include
30481 LatexCommand verbatiminput
30482 filename "../DummyTextDocument.txt"
30487 \begin_inset VSpace bigskip
30494 オプションを指定して、verbatimとして挿入された子文書です。
30495 \begin_inset CommandInset include
30496 LatexCommand verbatiminput*
30497 filename "../DummyTextDocument.txt"
30504 \begin_layout Standard
30505 \begin_inset VSpace bigskip
30511 \begin_layout Standard
30512 \begin_inset Note Greyedout
30515 \begin_layout Plain Layout
30524 として取り込んだ文書の文章は、文書行の終わりで改行されません。
30532 \begin_layout Standard
30533 \begin_inset Note Greyedout
30536 \begin_layout Plain Layout
30541 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
30549 \begin_layout Description
30550 プログラムリスト この型については、第
30551 \begin_inset CommandInset ref
30553 reference "cha:プログラムコードリスト"
30560 \begin_layout Standard
30561 \begin_inset Note Greyedout
30564 \begin_layout Plain Layout
30569 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
30577 \begin_layout Chapter
30579 \begin_inset CommandInset label
30581 name "cha:プログラムコードリスト"
30586 \begin_inset Index idx
30589 \begin_layout Plain Layout
30596 \begin_inset Index idx
30599 \begin_layout Plain Layout
30606 \begin_inset Index idx
30609 \begin_layout Plain Layout
30610 ふろーと@フロート ! りすと@リスト
30618 \begin_layout Standard
30619 プログラムコードを取り込んで組版するには、
30623 \SpecialChar \menuseparator
30628 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
30633 \begin_inset Index idx
30636 \begin_layout Plain Layout
30637 LaTeXぱっけーじ@LaTeXパッケージ ! listings
30642 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
30645 \begin_layout Standard
30646 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
30649 \begin_layout Standard
30650 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
30655 \begin_inset listings
30656 lstparams "language={C++}"
30660 \begin_layout Plain Layout
30668 \begin_inset Newline newline
30675 オプションは、プログラムリストフロートを生成するものですが、ここで、第
30676 \begin_inset CommandInset ref
30678 reference "sec:フロートの配置"
30682 節に説明されているフロート配置オプションに従って、「
30698 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
30702 」のように区切りを入れることなく入力することができます。「
30706 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
30710 オプションを使用しなければ大丈夫です。
30713 \begin_layout Standard
30718 \SpecialChar \menuseparator
30723 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、Listing
30724 \begin_inset space ~
30728 \begin_inset CommandInset ref
30730 reference "lst:Example-Listing"
30737 \begin_layout Standard
30738 \begin_inset listings
30739 lstparams "language=Python"
30743 \begin_layout Plain Layout
30745 \begin_inset Caption
30747 \begin_layout Plain Layout
30748 \begin_inset CommandInset label
30750 name "lst:Example-Listing"
30754 Example Listing float
30759 # Example listing float
30762 \begin_layout Plain Layout
30767 \begin_layout Plain Layout
30769 'this is a python function'
30772 \begin_layout Plain Layout
30782 \begin_layout Standard
30783 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
30784 onのキーワード「def」が識別され、ボールド体で出力されます。
30787 \begin_layout Standard
30788 \begin_inset Note Greyedout
30791 \begin_layout Plain Layout
30796 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
30800 フォントがボールド体を提供していません。この場合には、
30804 \SpecialChar \menuseparator
30809 \SpecialChar \menuseparator
30814 メニューで別のフォントを選択してください(
30826 の各フォントはボールド体を提供します)。
30834 \begin_layout Standard
30835 \begin_inset Note Greyedout
30838 \begin_layout Plain Layout
30843 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
30851 \begin_layout Standard
30856 のセクションでは、行番号の様式を指定することができます。
30860 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
30863 \begin_layout Standard
30864 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
30868 オプションを使用しなくてはなりません。
30869 \begin_inset Newline newline
30872 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
30873 \begin_inset space \thinspace{}
30877 \begin_inset space \thinspace{}
30880 8」で設定したプログラムリストの例です。
30883 \begin_layout Standard
30884 \begin_inset listings
30885 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
30889 \begin_layout Plain Layout
30894 \begin_layout Plain Layout
30896 'this is a python function'
30899 \begin_layout Plain Layout
30904 \begin_layout Plain Layout
30909 \begin_layout Plain Layout
30911 'This is a German word: Tschüß'
30914 \begin_layout Plain Layout
30919 \begin_layout Plain Layout
30924 \begin_layout Plain Layout
30926 'this is a python function'
30929 \begin_layout Plain Layout
30939 \begin_layout Standard
30940 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
30947 \begin_layout Standard
30948 \begin_inset Note Greyedout
30951 \begin_layout Plain Layout
30956 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
30965 \begin_layout Standard
30966 \begin_inset VSpace bigskip
30972 \begin_layout Standard
30973 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
30977 \SpecialChar \menuseparator
30982 \SpecialChar \menuseparator
30995 \begin_layout Plain Layout
30996 他の子文書型については、第 section
30997 \begin_inset space ~
31001 \begin_inset CommandInset ref
31003 reference "sec:子文書"
31012 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
31016 \begin_layout Standard
31017 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
31021 \SpecialChar \menuseparator
31026 メニューを使って参照できるようになります。
31029 \begin_layout Standard
31031 \begin_inset CommandInset ref
31033 reference "lst:file-listing"
31037 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
31040 \begin_layout Standard
31041 \begin_inset CommandInset include
31042 LatexCommand lstinputlisting
31043 filename "EmbeddedObjects.lyx"
31044 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
31051 \begin_layout Standard
31052 \begin_inset VSpace bigskip
31058 \begin_layout Standard
31061 Inserting a formula into a listing can be done the following way:
31064 \begin_layout Enumerate
31067 Open the listings dialog and add
31068 \begin_inset Newline newline
31076 \begin_inset Newline newline
31079 to the field of the
31086 \begin_layout Enumerate
31089 Create a formula outside the listing
31092 \begin_layout Enumerate
31095 Copy the content of the formula (not the formula inset) to the clipboard
31105 \begin_layout Enumerate
31108 In the listing write
31109 \begin_inset Quotes eld
31117 \begin_inset Quotes erd
31120 and copy from the clipboard between the dollar-signs (shortcut
31129 \begin_layout Standard
31130 \begin_inset listings
31131 lstparams "language=Python,mathescape=true"
31135 \begin_layout Plain Layout
31137 \begin_inset Caption
31139 \begin_layout Plain Layout
31142 Example Listing float containing a formula
31147 # Example listing float
31150 \begin_layout Plain Layout
31155 \begin_layout Plain Layout
31168 \begin_layout Plain Layout
31178 \begin_layout Standard
31179 \begin_inset VSpace bigskip
31185 \begin_layout Standard
31190 \SpecialChar \menuseparator
31195 \SpecialChar \menuseparator
31200 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
31204 フィールドで疑問符「?」を打鍵してください。
31207 \begin_layout Standard
31212 パッケージについての詳しい情報については、取扱説明書
31213 \begin_inset CommandInset citation
31222 \begin_layout Standard
31223 \begin_inset Newpage newpage
31229 \begin_layout Chapter
31232 \begin_inset Index idx
31235 \begin_layout Plain Layout
31242 \begin_inset CommandInset label
31244 name "cha:LyXで使用できる単位"
31251 \begin_layout Standard
31252 この文書で用いられる単位の理解のために、表
31253 \begin_inset CommandInset ref
31259 に、LyXで使うことのできる単位をまとめておきます。
31262 \begin_layout Standard
31263 \begin_inset Float table
31269 \begin_layout Plain Layout
31270 \begin_inset Caption
31272 \begin_layout Plain Layout
31273 \begin_inset CommandInset label
31287 \begin_layout Plain Layout
31288 \begin_inset VSpace medskip
31294 \begin_layout Plain Layout
31296 \begin_inset Tabular
31297 <lyxtabular version="3" rows="20" columns="2">
31298 <features tabularvalignment="middle">
31299 <column alignment="center" valignment="top" width="0">
31300 <column alignment="center" valignment="top" width="0">
31302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31305 \begin_layout Plain Layout
31311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31314 \begin_layout Plain Layout
31322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31325 \begin_layout Plain Layout
31331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31334 \begin_layout Plain Layout
31342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31345 \begin_layout Plain Layout
31351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31354 \begin_layout Plain Layout
31362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31365 \begin_layout Plain Layout
31371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31374 \begin_layout Plain Layout
31382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31385 \begin_layout Plain Layout
31391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31394 \begin_layout Plain Layout
31396 \begin_inset Formula $\,$
31400 \begin_inset Formula $\,$
31410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31413 \begin_layout Plain Layout
31419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31422 \begin_layout Plain Layout
31424 \begin_inset Formula $\,$
31428 \begin_inset Formula $\,$
31438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31441 \begin_layout Plain Layout
31447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31450 \begin_layout Plain Layout
31452 \begin_inset Formula $\,$
31456 \begin_inset Formula $\,$
31466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31469 \begin_layout Plain Layout
31475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31478 \begin_layout Plain Layout
31480 \begin_inset Formula $\,$
31484 \begin_inset Formula $\,$
31494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31497 \begin_layout Plain Layout
31503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31506 \begin_layout Plain Layout
31508 \begin_inset Formula $\,$
31512 \begin_inset Formula $\approx$
31516 \begin_inset Formula $\,$
31526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31529 \begin_layout Plain Layout
31535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31538 \begin_layout Plain Layout
31540 \begin_inset Formula $\,$
31544 \begin_inset Formula $\,$
31554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31557 \begin_layout Plain Layout
31563 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31566 \begin_layout Plain Layout
31574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31577 \begin_layout Plain Layout
31583 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31586 \begin_layout Plain Layout
31594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31597 \begin_layout Plain Layout
31603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31606 \begin_layout Plain Layout
31614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31617 \begin_layout Plain Layout
31623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31626 \begin_layout Plain Layout
31634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31637 \begin_layout Plain Layout
31643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31646 \begin_layout Plain Layout
31654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31657 \begin_layout Plain Layout
31663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31666 \begin_layout Plain Layout
31674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31677 \begin_layout Plain Layout
31683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31686 \begin_layout Plain Layout
31694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31697 \begin_layout Plain Layout
31703 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31706 \begin_layout Plain Layout
31714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31717 \begin_layout Plain Layout
31723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31726 \begin_layout Plain Layout
31734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31737 \begin_layout Plain Layout
31743 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31746 \begin_layout Plain Layout
31748 \begin_inset Formula $\,$
31752 \begin_inset Formula $\,$
31773 \begin_layout Chapter
31775 \begin_inset CommandInset label
31777 name "cha:ファイル出力形式"
31784 \begin_layout Section
31786 \begin_inset Index idx
31789 \begin_layout Plain Layout
31790 ふぁいるしょしき@ファイル書式 ! DVI
31796 \begin_inset Index idx
31799 \begin_layout Plain Layout
31804 \begin_layout Plain Layout
31815 \begin_layout Plain Layout
31830 \begin_layout Standard
31835 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
31836 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
31837 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
31840 \begin_layout Standard
31841 \begin_inset Note Greyedout
31844 \begin_layout Plain Layout
31845 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
31854 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
31855 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
31859 \begin_layout Standard
31864 \SpecialChar \menuseparator
31869 \SpecialChar \menuseparator
31874 メニューを使用して、DVIに書き出すことができます。また、
31879 \begin_inset Graphics
31880 filename ../../images/buffer-view_dvi.png
31882 scaleBeforeRotation
31886 を使用すれば、使用中の文書をDVIで表示させることができます。
31889 \begin_layout Section
31891 \begin_inset CommandInset label
31893 name "sec:PostScript"
31898 \begin_inset Index idx
31901 \begin_layout Plain Layout
31902 ふぁいるしょしき@ファイル書式 ! PostScript
31908 \begin_inset Index idx
31911 \begin_layout Plain Layout
31916 \begin_layout Plain Layout
31927 \begin_layout Plain Layout
31942 \begin_layout Standard
31951 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
31952 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
31956 \begin_layout Plain Layout
31957 これについてもう少し学ぶ気があれば、LaTeXパッケージ
31962 \begin_inset CommandInset citation
31973 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
31976 \begin_layout Standard
31977 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
31981 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
31982 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
31983 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
31984 を直接EPSとして入れておく方がよいでしょう。
31987 \begin_layout Standard
31992 \SpecialChar \menuseparator
31997 \SpecialChar \menuseparator
32002 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
32007 \begin_inset Graphics
32008 filename ../../images/buffer-view_ps.png
32010 scaleBeforeRotation
32014 を使用することでPostScriptとして表示させることができます。
32017 \begin_layout Section
32019 \begin_inset Index idx
32022 \begin_layout Plain Layout
32023 ふぁいるしょしき@ファイル書式 ! PDF
32029 \begin_inset Index idx
32032 \begin_layout Plain Layout
32041 \begin_layout Standard
32046 」です。この「Portable Document Format (PDF)」は、
32050 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
32051 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
32054 \begin_layout Standard
32055 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
32063 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
32067 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
32068 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
32072 \begin_layout Standard
32077 \SpecialChar \menuseparator
32082 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
32085 \begin_layout Description
32087 \begin_inset space ~
32094 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
32098 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
32101 \begin_layout Description
32103 \begin_inset space ~
32110 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
32113 \begin_layout Description
32115 \begin_inset space ~
32122 プログラムを使って、現在のファイルを直接PDFに変換します。
32125 \begin_layout Standard
32130 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
32133 \begin_inset space ~
32142 プログラムは開発が停止しており、若干時代遅れになっています。
32145 \begin_layout Standard
32146 使用中の文書をPDFとして表示するには、
32151 \begin_inset Graphics
32152 filename ../../images/buffer-view_pdf2.png
32154 scaleBeforeRotation
32161 \begin_inset space ~
32169 \begin_layout Chapter
32171 \begin_inset CommandInset ref
32178 \begin_inset CommandInset label
32187 \begin_layout Standard
32188 \begin_inset Formula $n$
32192 \begin_inset Formula $W_{\mathrm{tot\, n}}$
32198 \begin_layout Standard
32199 \begin_inset Formula \begin{equation}
32200 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
32207 \begin_layout Standard
32209 \begin_inset Formula $W_{g\, n}$
32218 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
32219 \begin_inset space \thinspace{}
32229 \begin_inset space \thinspace{}
32235 \begin_layout Standard
32237 \begin_inset CommandInset ref
32239 reference "eq:Wtot_n"
32244 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
32250 \begin_layout Standard
32251 \begin_inset Formula \begin{equation}
32252 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
32259 \begin_layout Standard
32261 \begin_inset Formula $n$
32265 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
32269 \begin_inset CommandInset ref
32271 reference "eq:Wtot_n"
32276 \begin_inset CommandInset ref
32278 reference "eq:Wtot_mult"
32282 式が等しいものと置けば、必要となる固定幅
32283 \begin_inset Formula $W_{g\, n}$
32289 \begin_layout Standard
32290 \begin_inset Formula \begin{equation}
32291 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
32298 \begin_layout Bibliography
32299 \labelwidthstring 参考文献
32300 \begin_inset CommandInset bibitem
32301 LatexCommand bibitem
32302 key "latexcompanion"
32306 Frank Mittelbach and Michel Goossens:
32308 The LaTeX Companion Second Edition.
32311 Addison-Wesley, 2004
32314 \begin_layout Bibliography
32315 \labelwidthstring 参考文献
32316 \begin_inset CommandInset bibitem
32317 LatexCommand bibitem
32322 Helmut Kopka and Patrick W.
32325 A Guide to LaTeX Fourth Edition.
32328 Addison-Wesley, 2003
32331 \begin_layout Bibliography
32332 \labelwidthstring 参考文献
32333 \begin_inset CommandInset bibitem
32334 LatexCommand bibitem
32341 LaTeX: A Document Preparation System.
32344 Addison-Wesley, second edition, 1994
32347 \begin_layout Bibliography
32348 \labelwidthstring 参考文献
32349 \begin_inset CommandInset bibitem
32350 LatexCommand bibitem
32358 \begin_inset CommandInset href
32361 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
32368 \begin_inset Index idx
32371 \begin_layout Plain Layout
32372 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
32380 \begin_layout Bibliography
32381 \labelwidthstring 参考文献
32382 \begin_inset CommandInset bibitem
32383 LatexCommand bibitem
32391 \begin_inset CommandInset href
32394 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
32401 \begin_inset Index idx
32404 \begin_layout Plain Layout
32405 LaTeXぱっけーじ@LaTeXパッケージ ! caption
32413 \begin_layout Bibliography
32414 \labelwidthstring 参考文献
32415 \begin_inset CommandInset bibitem
32416 LatexCommand bibitem
32424 \begin_inset CommandInset href
32427 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
32434 \begin_inset Index idx
32437 \begin_layout Plain Layout
32438 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
32446 \begin_layout Bibliography
32447 \labelwidthstring 参考文献
32448 \begin_inset CommandInset bibitem
32449 LatexCommand bibitem
32457 \begin_inset CommandInset href
32460 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
32467 \begin_inset Index idx
32470 \begin_layout Plain Layout
32471 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
32479 \begin_layout Bibliography
32480 \labelwidthstring 参考文献
32481 \begin_inset CommandInset bibitem
32482 LatexCommand bibitem
32490 \begin_inset CommandInset href
32493 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
32500 \begin_inset Index idx
32503 \begin_layout Plain Layout
32504 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
32512 \begin_layout Bibliography
32513 \labelwidthstring 参考文献
32514 \begin_inset CommandInset bibitem
32515 LatexCommand bibitem
32523 \begin_inset CommandInset href
32526 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
32533 \begin_inset Index idx
32536 \begin_layout Plain Layout
32537 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
32545 \begin_layout Bibliography
32546 \labelwidthstring 参考文献
32547 \begin_inset CommandInset bibitem
32548 LatexCommand bibitem
32556 \begin_inset CommandInset href
32559 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
32566 \begin_inset Index idx
32569 \begin_layout Plain Layout
32570 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
32578 \begin_layout Bibliography
32579 \labelwidthstring 参考文献
32580 \begin_inset CommandInset bibitem
32581 LatexCommand bibitem
32589 \begin_inset CommandInset href
32592 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
32599 \begin_inset Index idx
32602 \begin_layout Plain Layout
32603 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
32611 \begin_layout Bibliography
32612 \labelwidthstring 参考文献
32613 \begin_inset CommandInset bibitem
32614 LatexCommand bibitem
32622 \begin_inset CommandInset href
32625 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
32632 \begin_inset Index idx
32635 \begin_layout Plain Layout
32636 LaTeXぱっけーじ@LaTeXパッケージ ! listings
32644 \begin_layout Bibliography
32645 \labelwidthstring 参考文献
32646 \begin_inset CommandInset bibitem
32647 LatexCommand bibitem
32655 \begin_inset CommandInset href
32658 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
32665 \begin_inset Index idx
32668 \begin_layout Plain Layout
32669 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
32677 \begin_layout Bibliography
32678 \labelwidthstring 参考文献
32679 \begin_inset CommandInset bibitem
32680 LatexCommand bibitem
32688 \begin_inset CommandInset href
32691 target "http://tug.org/PSTricks/"
32698 \begin_inset Index idx
32701 \begin_layout Plain Layout
32702 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
32710 \begin_layout Bibliography
32711 \labelwidthstring 参考文献
32712 \begin_inset CommandInset bibitem
32713 LatexCommand bibitem
32721 \begin_inset CommandInset href
32724 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
32731 \begin_inset Index idx
32734 \begin_layout Plain Layout
32735 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
32743 \begin_layout Bibliography
32744 \labelwidthstring 参考文献
32745 \begin_inset CommandInset bibitem
32746 LatexCommand bibitem
32754 \begin_inset CommandInset href
32757 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
32764 \begin_inset Index idx
32767 \begin_layout Plain Layout
32768 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
32776 \begin_layout Bibliography
32777 \labelwidthstring 参考文献
32778 \begin_inset CommandInset bibitem
32779 LatexCommand bibitem
32787 \begin_inset CommandInset href
32790 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
32797 \begin_inset Index idx
32800 \begin_layout Plain Layout
32801 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
32809 \begin_layout Bibliography
32810 \labelwidthstring 参考文献
32811 \begin_inset CommandInset bibitem
32812 LatexCommand bibitem
32822 \begin_inset CommandInset href
32825 target "http://wiki.lyx.org/LyX/NewInLyX20"
32832 \begin_layout Standard
32833 \begin_inset CommandInset index_print
32834 LatexCommand printindex