1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 %% Added by the translator
8 % Correction for PDF bookmarks
9 %\usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,bookmarkstype=toc]{hyperref}
10 \ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else
11 \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi
17 % set fonts for nicer pdf view
18 \IfFileExists{lmodern.sty}
19 {\usepackage{lmodern}}{}
21 \fi % end if pdflatex is used
23 % that links to image floats jumps
24 % to the beginning of the float and
26 \usepackage[figure]{hypcap}
28 % the pages of the TOC is numbered roman
29 % and a PDF-bookmark for the TOC is added
30 \let\myTOC\tableofcontents
31 \renewcommand\tableofcontents{%
33 \pdfbookmark[1]{\contentsname}{}
37 % provides caption formatting
38 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
40 % provides commands to set caption
41 % beside tables/images
42 \newcommand{\TabBesBeg}[1][1.0]{%
44 \let\MyEndtable\endtable
45 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
47 \newcommand{\TabBesEnd}{%
49 \let\endtable\MyEndtable}
51 \newcommand{\FigBesBeg}[1][1.0]{%
53 \let\MyEndfigure\endfigure
54 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
56 \newcommand{\FigBesEnd}{%
58 \let\endfigure\MyEndfigure}
60 % enables calculation of values,
63 % increase the bottom float placement fraction
64 \renewcommand{\bottomfraction}{0.5}
66 % avoids that floats are placed before their
67 % corresponding section starts
68 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
70 % speed up the longtable calculation
71 \setcounter{LTchunksize}{100}
73 % used for scaled and rotated boxes
74 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
76 % used for colored tables
77 \@ifundefined{textcolor}
78 {\usepackage{color}}{}
79 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
80 \definecolor{lightgrey}{gray}{0.8}
82 % check for package colortbl
83 % used for colored table cells
85 \IfFileExists{colortbl.sty}
86 {\usepackage{colortbl}
87 \setboolean{colortbl}{true}}
88 {\setboolean{colortbl}{false}}
90 % used for colored table rows
91 \usepackage[table]{xcolor}
93 % used to have extra space in table cells
94 \@ifundefined{extrarowheight}
95 {\usepackage{array}}{}
96 \setlength{\extrarowheight}{2pt}
98 % used for customized tables
101 {>{\centering\hspace{0pt}}m{#1}}
104 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
107 {>{\columncolor{#1}\hspace{0pt}}c}
109 \newcolumntype{V}{!{\vrule width 1.5pt}}
111 \newcolumntype{W}{!{\color{green}\vline}}
114 % insert additional vertical space of
115 % 1.5 mm between footnotes
117 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
119 % number algorithm floats within chapters
120 \numberwithin{algorithm}{chapter}
123 % ------------------------------------
124 % used to check for needed LaTeX packages
127 % check for package arydshln
128 % used for tables with dashed lines
129 \newboolean{arydshln}
130 \IfFileExists{arydshln.sty}
131 {\usepackage{arydshln}
132 \setboolean{arydshln}{true}}
133 {\setboolean{arydshln}{false}}
135 % check for package marginnote
136 % used for margin notes
137 \newboolean{marginnote}
138 \IfFileExists{marginnote.sty}
139 {\usepackage{marginnote}
140 \let\marginpar\marginnote
141 \setboolean{marginnote}{true}}
142 {\setboolean{marginnote}{false}}
144 % check for package sidecap
145 % used for captions on the side
147 \IfFileExists{sidecap.sty}
148 {% \usepackage{sidecap} % This breaks title fonts with pLaTeX
149 \setboolean{sidecap}{true}}
150 {\setboolean{sidecap}{false}}
153 % used for surrounded fixed objects
154 \newboolean{picinpar}
155 \IfFileExists{picinpar.sty}
156 {\usepackage{picinpar}
157 \setboolean{picinpar}{true}}
158 {\setboolean{picinpar}{false}}
161 \newboolean{lettrine}
162 \IfFileExists{lettrine.sty}
163 {\usepackage{lettrine}
164 \setboolean{lettrine}{true}}
165 {\setboolean{lettrine}{false}}
169 \IfFileExists{diagbox.sty}
170 {\usepackage{diagbox}
171 \setboolean{diagbox}{true}}
172 {\setboolean{diagbox}{false}}
175 \renewcommand{\seename}{→}
178 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
179 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
181 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
182 \use_default_options false
186 \maintain_unincluded_children false
188 InsetLayout Flex:Ruby
194 Decoration Conglomerate
197 MenuString "ルビ文(S)|S"
198 Decoration Conglomerate
208 \IfFileExists{okumacro.sty}
209 {\usepackage{okumacro}}
210 {\newcommand{\ruby}[2]{#2}}
215 \language_package default
220 \font_typewriter default
222 \font_default_family default
223 \use_non_tex_fonts false
229 \default_output_format pdf
231 \bibtex_command default
232 \index_command default
236 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
237 \pdf_author "LyX Team, Uwe Stohr"
238 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
239 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
241 \pdf_bookmarksnumbered true
242 \pdf_bookmarksopen true
243 \pdf_bookmarksopenlevel 1
244 \pdf_breaklinks false
248 \pdf_pdfusetitle false
249 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
252 \use_package amsmath 2
253 \use_package amssymb 2
254 \use_package cancel 0
256 \use_package mathdots 1
257 \use_package mathtools 0
258 \use_package mhchem 1
259 \use_package stackrel 0
260 \use_package stmaryrd 0
261 \use_package undertilde 0
263 \cite_engine_type default
267 \paperorientation portrait
271 \notefontcolor #0000ff
282 \paragraph_separation skip
284 \quotes_language english
287 \paperpagestyle default
291 \tracking_changes false
292 \output_changes false
295 \html_be_strict false
301 LyXの図表・フロート・注釈・ボックス・外部素材に関する詳細説明書
309 \begin_layout Plain Layout
311 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
312 \begin_inset CommandInset href
314 name "lyx-docs@lists.lyx.org"
315 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
326 \begin_inset Note Note
329 \begin_layout Plain Layout
336 \begin_inset Newline newline
340 \begin_inset Newline newline
348 \begin_layout Standard
349 \begin_inset CommandInset toc
350 LatexCommand tableofcontents
357 \begin_layout Standard
358 \begin_inset Note Note
361 \begin_layout Plain Layout
362 本文書の全体をPDFやPS、DVIに書き出すには、
390 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
394 \begin_layout Plain Layout
396 \begin_inset Newline newline
401 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
404 \begin_inset Newline newline
415 \begin_layout Chapter
417 \begin_inset Index idx
420 \begin_layout Plain Layout
427 \begin_inset Index idx
430 \begin_layout Plain Layout
435 \begin_layout Plain Layout
446 \begin_layout Plain Layout
461 \begin_layout Section
463 \begin_inset Index idx
466 \begin_layout Plain Layout
467 ず@図 ! がぞうだいあろぐ@画像ダイアログ
473 \begin_inset CommandInset label
482 \begin_layout Standard
483 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
488 arg "dialog-show-new-inset graphics"
495 挿入\SpecialChar \menuseparator
498 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
501 \begin_layout Standard
502 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
505 \begin_layout Description
510 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
511 \begin_inset CommandInset ref
513 reference "cha:LyXで使用できる単位"
518 \begin_inset Newline newline
522 \begin_inset Index idx
525 \begin_layout Plain Layout
531 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
532 \begin_inset Newline newline
536 \begin_inset Index idx
539 \begin_layout Plain Layout
545 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
546 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
550 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
551 \begin_inset Newline newline
554 画像を右クリックすると現れるコンテクストメニューで
558 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
562 \begin_layout Description
567 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
571 ボタンを押すことによって、自動的に計算することもできます。
575 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
578 \begin_layout Description
583 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
586 \begin_inset Newline newline
591 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
594 \begin_inset Newline newline
603 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
605 \begin_inset Newline newline
608 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
609 \begin_inset CommandInset ref
611 reference "sec:PostScript"
615 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
616 \begin_inset Newline newline
624 \begin_inset Newline newline
629 zgrep %%Bounding x.eps.gz > x.eps.bb
632 \begin_inset Newline newline
635 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
636 \begin_inset Newline newline
643 のセクションでは、画像設定グループを定義したり、既存のものに所属させたりすることができます。
644 \begin_inset Index idx
647 \begin_layout Plain Layout
648 ず@図 ! せっていぐるーぷ@設定グループ
653 これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。したが
654 って、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュー
655 を使用して、望むグループ名をチェックすることで行うこともできます。
658 \begin_layout Standard
659 \begin_inset VSpace bigskip
665 \begin_layout Standard
670 \begin_layout Plain Layout
672 \begin_inset CommandInset ref
683 の画像の例で、単独の中央揃えの段落に置いてあります。
686 \begin_layout Standard
688 \begin_inset Graphics
689 filename ../clipart/mobius.eps
699 \begin_layout Standard
700 下記は上と同じ画像ですが、下書きモードのものです。
703 \begin_layout Standard
705 \begin_inset Graphics
706 filename ../clipart/mobius.eps
717 \begin_layout Standard
718 \begin_inset Newpage newpage
724 \begin_layout Section
726 \begin_inset CommandInset label
733 \begin_inset Index idx
736 \begin_layout Plain Layout
743 \begin_inset Index idx
746 \begin_layout Plain Layout
755 \begin_layout Standard
757 \begin_inset CommandInset ref
759 reference "sec:フロートはじめに"
766 \begin_layout Standard
772 arg "float-insert figure"
779 挿入\SpecialChar \menuseparator
780 フロート\SpecialChar \menuseparator
783 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
784 \begin_inset CommandInset ref
786 reference "fig:犠牲のカモノハシ"
790 のようにキャプションの上に置くこともできますし、図
791 \begin_inset CommandInset ref
793 reference "fig:エッシャー"
797 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
798 \begin_inset CommandInset ref
800 reference "sec:キャプションの配置"
807 \begin_layout Standard
808 \begin_inset Float figure
813 \begin_layout Plain Layout
815 \begin_inset Graphics
816 filename ../clipart/platypus.eps
826 \begin_layout Plain Layout
827 \begin_inset Caption Standard
829 \begin_layout Plain Layout
830 \begin_inset CommandInset label
849 \begin_layout Standard
850 \begin_inset Float figure
855 \begin_layout Plain Layout
856 \begin_inset Caption Standard
858 \begin_layout Plain Layout
859 \begin_inset CommandInset label
873 \begin_layout Plain Layout
875 \begin_inset Graphics
876 filename ../clipart/escher-lsd.eps
891 \begin_layout Standard
892 \begin_inset Index idx
895 \begin_layout Plain Layout
896 さんしょう@参照 ! ずへの@図への ---
902 \begin_inset CommandInset ref
904 reference "fig:犠牲のカモノハシ"
909 \begin_inset CommandInset ref
911 reference "fig:エッシャー"
915 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
917 挿入\SpecialChar \menuseparator
930 を使用して、キャプションにラベルを挿入してください。その後、
932 挿入\SpecialChar \menuseparator
940 arg "dialog-show-new-inset ref"
945 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
946 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
947 \begin_inset Newline newline
951 \begin_inset CommandInset ref
953 reference "sec:フロートの参照"
960 \begin_layout Standard
961 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
962 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
963 \begin_inset CommandInset ref
965 reference "fig:歪められた二つの像"
969 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
970 \begin_inset CommandInset ref
972 reference "fig:何かわからない構造"
977 \begin_inset CommandInset ref
979 reference "fig:カモノハシ"
986 \begin_layout Standard
987 \begin_inset Float figure
992 \begin_layout Plain Layout
993 \begin_inset space \hfill{}
997 \begin_inset Float figure
1002 \begin_layout Plain Layout
1003 \begin_inset Caption Standard
1005 \begin_layout Plain Layout
1006 \begin_inset CommandInset label
1008 name "fig:何かわからない構造"
1020 \begin_layout Plain Layout
1021 \begin_inset Graphics
1022 filename ../clipart/escher-lsd.eps
1035 \begin_inset space \hfill{}
1039 \begin_inset Float figure
1044 \begin_layout Plain Layout
1045 \begin_inset Caption Standard
1047 \begin_layout Plain Layout
1048 \begin_inset CommandInset label
1062 \begin_layout Plain Layout
1063 \begin_inset Graphics
1064 filename ../clipart/platypus.eps
1077 \begin_inset space \hfill{}
1083 \begin_layout Plain Layout
1084 \begin_inset Caption Standard
1086 \begin_layout Plain Layout
1087 \begin_inset CommandInset label
1089 name "fig:歪められた二つの像"
1093 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1106 \begin_layout Standard
1107 \begin_inset Newpage newpage
1113 \begin_layout Section
1115 \begin_inset CommandInset label
1122 \begin_inset Index idx
1125 \begin_layout Plain Layout
1132 \begin_inset Index idx
1135 \begin_layout Plain Layout
1144 \begin_layout Standard
1145 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1146 \begin_inset CommandInset ref
1148 reference "cha:ファイル出力形式"
1152 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1157 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル形式に直接埋め込める画像形式のみを使
1158 用するとよいでしょう。出力ファイル形式は、付録
1159 \begin_inset CommandInset ref
1161 reference "cha:ファイル出力形式"
1168 \begin_layout Standard
1169 フォントと同じく、画像形式にも以下の二つの型があります。
1172 \begin_layout Description
1173 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1174 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1179 \begin_inset Index idx
1182 \begin_layout Plain Layout
1187 \begin_layout Plain Layout
1198 \begin_layout Plain Layout
1210 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1215 \begin_inset Index idx
1218 \begin_layout Plain Layout
1223 \begin_layout Plain Layout
1234 \begin_layout Plain Layout
1246 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1255 \begin_inset Index idx
1258 \begin_layout Plain Layout
1263 \begin_layout Plain Layout
1274 \begin_layout Plain Layout
1289 \begin_layout Description
1290 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1291 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1293 \begin_inset Newline newline
1296 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1301 \begin_inset Index idx
1304 \begin_layout Plain Layout
1309 \begin_layout Plain Layout
1320 \begin_layout Plain Layout
1332 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1337 \begin_inset Index idx
1340 \begin_layout Plain Layout
1345 \begin_layout Plain Layout
1356 \begin_layout Plain Layout
1368 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1373 \begin_inset Index idx
1376 \begin_layout Plain Layout
1382 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1387 \begin_inset Index idx
1390 \begin_layout Plain Layout
1395 \begin_layout Plain Layout
1406 \begin_layout Plain Layout
1418 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1419 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1423 \begin_layout Plain Layout
1424 PDFの場合には、さらに元画像が圧縮されます。
1433 が生成するPDFファイルは、ビットマップ画像です。
1436 \begin_layout Standard
1437 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1438 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1439 \begin_inset Formula $\to$
1442 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1445 \begin_layout Chapter
1447 \begin_inset Index idx
1450 \begin_layout Plain Layout
1459 \begin_layout Section
1461 \begin_inset Index idx
1464 \begin_layout Plain Layout
1473 \begin_layout Standard
1495 arg "tabular-insert"
1516 挿入\SpecialChar \menuseparator
1519 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1520 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1521 \begin_inset Newline newline
1524 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1525 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1528 \begin_layout Standard
1530 \begin_inset Tabular
1531 <lyxtabular version="3" rows="4" columns="4">
1532 <features rotate="0" tabularvalignment="middle">
1533 <column alignment="center" valignment="top">
1534 <column alignment="center" valignment="top">
1535 <column alignment="center" valignment="top">
1536 <column alignment="center" valignment="top">
1538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1541 \begin_layout Plain Layout
1547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1550 \begin_layout Plain Layout
1556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1559 \begin_layout Plain Layout
1565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1568 \begin_layout Plain Layout
1576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1579 \begin_layout Plain Layout
1585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1588 \begin_layout Plain Layout
1594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1597 \begin_layout Plain Layout
1603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1606 \begin_layout Plain Layout
1614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1617 \begin_layout Plain Layout
1623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1626 \begin_layout Plain Layout
1632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1635 \begin_layout Plain Layout
1641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1644 \begin_layout Plain Layout
1652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1655 \begin_layout Plain Layout
1661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1664 \begin_layout Plain Layout
1670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1673 \begin_layout Plain Layout
1679 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1682 \begin_layout Plain Layout
1696 \begin_layout Section
1698 \begin_inset Index idx
1701 \begin_layout Plain Layout
1710 \begin_layout Standard
1720 表を右クリックすると、文脈依存メニューが表示されて、表を変更することができます。メニュー項目
1738 以下では、現在カーソルが置かれているセルないし行・列の設定を調節することができます。文脈依存メニュー
1747 詳細\SpecialChar \menuseparator
1757 を選ぶと、ダイアログボックスが開いて、更に詳細な設定を行うことができます。また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセ
1758 ルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1771 を選択するのと、セル自体を選択するのは異なることに注意して下さい。
1772 \begin_inset Newline newline
1779 を使用すると、ダイアログ中に行った変更が直ちに適用されるようになります。カーソルを別のセルに移動すると、ダイアログも新しいセルのパラメーターに更新されます。ダイ
1780 アログ中の長さの値を変更した場合には、リターンを押さないと変更が適用されません。
1781 \begin_inset Newline newline
1784 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1787 \begin_layout Description
1792 ここでは、現在列の幅と水平揃えを設定することができます。
1797 \begin_inset CommandInset ref
1799 reference "sub:特殊なセル揃え"
1803 で説明されています。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関して
1805 \begin_inset CommandInset ref
1811 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1812 \begin_inset Newline newline
1815 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1816 \begin_inset CommandInset ref
1822 節をご参照下さい。あるいは同一列のセルを連結行セルとして指定することもできます。これについては、第
1823 \begin_inset CommandInset ref
1830 \begin_inset Newline newline
1833 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1834 \begin_inset Newline newline
1838 \begin_inset Note Greyedout
1841 \begin_layout Plain Layout
1846 DVIビューアのすべてが回転を表示できるわけではありません。
1852 \begin_inset Newline newline
1855 下記は、本文行中の表に、表全体の垂直揃えを適用したものです。
1856 \begin_inset Newline newline
1860 \begin_inset Tabular
1861 <lyxtabular version="3" rows="2" columns="2">
1862 <features rotate="0" tabularvalignment="top">
1863 <column alignment="center" valignment="top" width="0pt">
1864 <column alignment="center" valignment="top">
1866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1869 \begin_layout Plain Layout
1875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1878 \begin_layout Plain Layout
1886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1889 \begin_layout Plain Layout
1895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1898 \begin_layout Plain Layout
1910 \begin_inset Tabular
1911 <lyxtabular version="3" rows="2" columns="2">
1912 <features rotate="0" tabularvalignment="middle">
1913 <column alignment="center" valignment="top">
1914 <column alignment="center" valignment="top">
1916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1919 \begin_layout Plain Layout
1925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1928 \begin_layout Plain Layout
1936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1939 \begin_layout Plain Layout
1945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1948 \begin_layout Plain Layout
1960 \begin_inset Tabular
1961 <lyxtabular version="3" rows="2" columns="2">
1962 <features rotate="0" tabularvalignment="bottom">
1963 <column alignment="center" valignment="top" width="0pt">
1964 <column alignment="center" valignment="top">
1966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1969 \begin_layout Plain Layout
1975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1978 \begin_layout Plain Layout
1986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1989 \begin_layout Plain Layout
1995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1998 \begin_layout Plain Layout
2010 \begin_inset Newline newline
2013 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
2014 \begin_inset CommandInset ref
2016 reference "sub:連結列の計算"
2021 \begin_inset CommandInset ref
2023 reference "sec:色付きの表"
2030 \begin_layout Description
2035 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
2036 \begin_inset Newline newline
2044 \begin_inset CommandInset ref
2046 reference "sec:フォーマル形式の表"
2050 節に述べられているフォーマル様式の表に表を変換します。
2051 \begin_inset Newline newline
2055 \begin_inset CommandInset ref
2057 reference "sub:行の余白取り"
2061 節に述べられているように、表の行に空白を追加することもできます。
2064 \begin_layout Description
2069 このタブは、複数のページにわたる、いわゆる「
2074 \begin_inset CommandInset ref
2081 \begin_inset CommandInset ref
2083 reference "sec:長尺表にまつわる諸点"
2087 節に、長尺表の機能に関する詳細な説明があります。
2090 \begin_layout Section
2092 \begin_inset Index idx
2095 \begin_layout Plain Layout
2104 \begin_layout Standard
2105 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
2106 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
2109 \begin_layout Standard
2110 ツールバーには、以下のアイコンがあります。
2113 \begin_layout Labeling
2114 \labelwidthstring 00.00.0000
2119 arg "inset-modify tabular append-row"
2124 は、現在セルあるいは選択範囲の下に行を追加します。
2127 \begin_layout Labeling
2128 \labelwidthstring 00.00.0000
2133 arg "inset-modify tabular append-column"
2138 は、現在セルあるいは選択範囲の右に列を追加します。
2141 \begin_layout Labeling
2142 \labelwidthstring 00.00.0000
2147 arg "inset-modify tabular delete-row"
2152 は、現在行あるいは選択範囲行を削除します。
2155 \begin_layout Labeling
2156 \labelwidthstring 00.00.0000
2161 arg "inset-modify tabular delete-column"
2166 は、現在列あるいは選択範囲列を削除します。
2169 \begin_layout Labeling
2170 \labelwidthstring 00.00.0000
2173 arg "inset-modify tabular move-row-up"
2179 \begin_layout Labeling
2180 \labelwidthstring 00.00.0000
2183 arg "inset-modify tabular move-column-left"
2189 \begin_layout Labeling
2190 \labelwidthstring 00.00.0000
2193 arg "inset-modify tabular move-row-down"
2199 \begin_layout Labeling
2200 \labelwidthstring 00.00.0000
2203 arg "inset-modify tabular move-column-right"
2209 \begin_layout Labeling
2210 \labelwidthstring 00.00.0000
2215 arg "inset-modify tabular toggle-line-top"
2220 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2223 \begin_layout Labeling
2224 \labelwidthstring 00.00.0000
2229 arg "inset-modify tabular toggle-line-bottom"
2234 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2237 \begin_layout Labeling
2238 \labelwidthstring 00.00.0000
2243 arg "inset-modify tabular toggle-line-left"
2248 は、現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2251 \begin_layout Labeling
2252 \labelwidthstring 00.00.0000
2257 arg "inset-modify tabular toggle-line-right"
2262 は、現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2265 \begin_layout Labeling
2266 \labelwidthstring 00.00.0000
2271 arg "inset-modify tabular set-all-lines"
2276 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2279 \begin_layout Labeling
2280 \labelwidthstring 00.00.0000
2285 arg "inset-modify tabular unset-all-lines"
2290 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2293 \begin_layout Labeling
2294 \labelwidthstring 00.00.0000
2299 arg "inset-modify tabular m-align-left"
2304 は、現在セルあるいは現在列の内容を左揃えにします。
2307 \begin_layout Labeling
2308 \labelwidthstring 00.00.0000
2313 arg "inset-modify tabular m-align-center"
2318 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2321 \begin_layout Labeling
2322 \labelwidthstring 00.00.0000
2327 arg "inset-modify tabular m-align-right"
2332 は、現在セルあるいは現在列の内容を右揃えにします。
2335 \begin_layout Labeling
2336 \labelwidthstring 00.00.0000
2341 arg "inset-modify tabular align-decimal"
2346 は、現在セルの内容を特定文字位置で揃えます。
2349 \begin_layout Labeling
2350 \labelwidthstring 00.00.0000
2355 arg "inset-modify tabular m-valign-top"
2360 は、現在セルの内容を垂直方向上揃えにします。
2363 \begin_layout Labeling
2364 \labelwidthstring 00.00.0000
2369 arg "inset-modify tabular m-valign-middle"
2374 は、現在セルの内容を垂直方向中央揃えにします。
2377 \begin_layout Labeling
2378 \labelwidthstring 00.00.0000
2383 arg "inset-modify tabular m-valign-bottom"
2388 は、現在セルの内容を垂直方向下揃えにします。
2391 \begin_layout Labeling
2392 \labelwidthstring 00.00.0000
2397 arg "inset-modify tabular set-rotate-cell"
2402 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2405 \begin_layout Labeling
2406 \labelwidthstring 00.00.0000
2411 arg "inset-modify tabular set-rotate-tabular"
2416 は、表全体を反時計廻りに90度回転します。
2419 \begin_layout Labeling
2420 \labelwidthstring 00.00.0000
2425 arg "inset-modify tabular multicolumn"
2430 は、現在セルあるいは選択範囲を連結列にします。
2433 \begin_layout Labeling
2434 \labelwidthstring 00.00.0000
2439 arg "inset-modify tabular multirow"
2444 は、現在セルあるいは選択範囲を連結行にします。
2447 \begin_layout Standard
2448 \begin_inset Note Greyedout
2451 \begin_layout Plain Layout
2456 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2464 \begin_layout Section
2466 \begin_inset Index idx
2469 \begin_layout Plain Layout
2470 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2478 \begin_layout Standard
2481 編集\SpecialChar \menuseparator
2484 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2488 \begin_layout Section
2490 \begin_inset CommandInset label
2497 \begin_inset Index idx
2500 \begin_layout Plain Layout
2507 \begin_inset Index idx
2510 \begin_layout Plain Layout
2519 \begin_layout Standard
2521 \begin_inset CommandInset ref
2523 reference "sec:フロートはじめに"
2530 \begin_layout Standard
2531 \begin_inset Float table
2537 \begin_layout Plain Layout
2538 \begin_inset Caption Standard
2540 \begin_layout Plain Layout
2541 \begin_inset CommandInset label
2555 \begin_layout Plain Layout
2557 \begin_inset Tabular
2558 <lyxtabular version="3" rows="3" columns="3">
2559 <features rotate="0" tabularvalignment="middle">
2560 <column alignment="center" valignment="top" width="0pt">
2561 <column alignment="center" valignment="top" width="0pt">
2562 <column alignment="center" valignment="top" width="0pt">
2564 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2567 \begin_layout Plain Layout
2582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2585 \begin_layout Plain Layout
2600 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2603 \begin_layout Plain Layout
2620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2623 \begin_layout Plain Layout
2629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2632 \begin_layout Plain Layout
2638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2641 \begin_layout Plain Layout
2649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2652 \begin_layout Plain Layout
2662 \begin_inset Formula $\int x^{2}dx$
2670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2673 \begin_layout Plain Layout
2683 \begin_inset Formula $\left[\begin{array}{cc}
2694 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2697 \begin_layout Plain Layout
2707 \begin_inset Formula $1+1=2$
2728 \begin_layout Standard
2733 \SpecialChar \menuseparator
2734 フロート\SpecialChar \menuseparator
2743 arg "float-insert table"
2751 \begin_layout Standard
2752 フロートは折りたたむことのできるボックスとして表示され、中には「表
2753 \begin_inset space ~
2756 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2759 \begin_layout Standard
2761 \begin_inset space ~
2765 \begin_inset CommandInset ref
2767 reference "tab:表フロート"
2774 \begin_layout Standard
2775 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2776 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2782 \begin_inset Index idx
2785 \begin_layout Plain Layout
2786 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2794 \begin_layout Standard
2800 \begin_layout Standard
2801 というオプションとともにloadコマンドを使って読み込んでください
2805 \begin_layout Plain Layout
2807 \begin_inset CommandInset ref
2809 reference "sec:キャプションの配置"
2819 \begin_inset CommandInset ref
2821 reference "sec:キャプションの書式設定"
2832 \begin_layout Standard
2833 \begin_inset Index idx
2836 \begin_layout Plain Layout
2837 さんしょう@参照 ! ひょうへの@表への
2842 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2844 挿入\SpecialChar \menuseparator
2857 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2863 arg "dialog-show-new-inset ref"
2868 を用いて、このラベルを参照することができます。
2869 \begin_inset Newline newline
2873 \begin_inset CommandInset ref
2875 reference "sec:フロートの参照"
2882 \begin_layout Section
2884 \begin_inset CommandInset label
2891 \begin_inset Index idx
2894 \begin_layout Plain Layout
2901 \begin_inset Index idx
2904 \begin_layout Plain Layout
2905 ひょう@表 ! ちょうしゃくひょう@長尺表
2913 \begin_layout Standard
2914 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2922 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2926 \begin_layout Description
2927 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2954 が定義されているときは、冒頭ページを除きます。
2963 これと区別して、このヘッダは本体ヘッダと呼びます。
2966 \begin_layout Description
2967 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2970 \begin_layout Description
2971 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2998 が定義されているときは、末尾ページを除きます。
3001 \begin_layout Description
3002 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
3005 \begin_layout Description
3006 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
3007 \begin_inset CommandInset ref
3009 reference "sub:長尺表のキャプション"
3016 \begin_layout Standard
3017 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
3020 \begin_layout Standard
3022 \begin_inset Tabular
3023 <lyxtabular version="3" rows="69" columns="3">
3024 <features rotate="0" islongtable="true" longtabularalignment="center">
3025 <column alignment="left" valignment="top" width="0cm">
3026 <column alignment="left" valignment="top" width="0pt">
3027 <column alignment="center" valignment="top" width="0pt">
3028 <row endfirsthead="true">
3029 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3032 \begin_layout Plain Layout
3040 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3043 \begin_layout Plain Layout
3049 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3052 \begin_layout Plain Layout
3059 <row endfirsthead="true">
3060 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3063 \begin_layout Plain Layout
3069 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3072 \begin_layout Plain Layout
3078 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3081 \begin_layout Plain Layout
3090 <row endhead="true">
3091 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3094 \begin_layout Plain Layout
3102 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3105 \begin_layout Plain Layout
3111 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3114 \begin_layout Plain Layout
3121 <row endhead="true">
3122 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3125 \begin_layout Plain Layout
3131 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3134 \begin_layout Plain Layout
3140 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3143 \begin_layout Plain Layout
3152 <row endfoot="true">
3153 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3156 \begin_layout Plain Layout
3162 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3165 \begin_layout Plain Layout
3171 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3174 \begin_layout Plain Layout
3182 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3185 \begin_layout Plain Layout
3193 <cell alignment="center" valignment="top" usebox="none">
3196 \begin_layout Plain Layout
3202 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3205 \begin_layout Plain Layout
3213 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3216 \begin_layout Plain Layout
3224 <cell alignment="center" valignment="top" usebox="none">
3227 \begin_layout Plain Layout
3233 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3236 \begin_layout Plain Layout
3244 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3247 \begin_layout Plain Layout
3255 <cell alignment="center" valignment="top" usebox="none">
3258 \begin_layout Plain Layout
3264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3267 \begin_layout Plain Layout
3275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3278 \begin_layout Plain Layout
3286 <cell alignment="center" valignment="top" usebox="none">
3289 \begin_layout Plain Layout
3295 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3298 \begin_layout Plain Layout
3306 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3309 \begin_layout Plain Layout
3317 <cell alignment="center" valignment="top" usebox="none">
3320 \begin_layout Plain Layout
3326 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3329 \begin_layout Plain Layout
3337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3340 \begin_layout Plain Layout
3348 <cell alignment="center" valignment="top" usebox="none">
3351 \begin_layout Plain Layout
3357 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3360 \begin_layout Plain Layout
3368 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3371 \begin_layout Plain Layout
3379 <cell alignment="center" valignment="top" usebox="none">
3382 \begin_layout Plain Layout
3388 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3391 \begin_layout Plain Layout
3399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3402 \begin_layout Plain Layout
3410 <cell alignment="center" valignment="top" usebox="none">
3413 \begin_layout Plain Layout
3419 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3422 \begin_layout Plain Layout
3430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3433 \begin_layout Plain Layout
3441 <cell alignment="center" valignment="top" usebox="none">
3444 \begin_layout Plain Layout
3450 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3453 \begin_layout Plain Layout
3461 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3464 \begin_layout Plain Layout
3472 <cell alignment="center" valignment="top" usebox="none">
3475 \begin_layout Plain Layout
3481 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3484 \begin_layout Plain Layout
3492 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3495 \begin_layout Plain Layout
3503 <cell alignment="center" valignment="top" usebox="none">
3506 \begin_layout Plain Layout
3512 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3515 \begin_layout Plain Layout
3523 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3526 \begin_layout Plain Layout
3534 <cell alignment="center" valignment="top" usebox="none">
3537 \begin_layout Plain Layout
3543 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3546 \begin_layout Plain Layout
3554 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3557 \begin_layout Plain Layout
3565 <cell alignment="center" valignment="top" usebox="none">
3568 \begin_layout Plain Layout
3574 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3577 \begin_layout Plain Layout
3585 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3588 \begin_layout Plain Layout
3596 <cell alignment="center" valignment="top" usebox="none">
3599 \begin_layout Plain Layout
3605 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3608 \begin_layout Plain Layout
3616 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3619 \begin_layout Plain Layout
3627 <cell alignment="center" valignment="top" usebox="none">
3630 \begin_layout Plain Layout
3636 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3639 \begin_layout Plain Layout
3647 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3650 \begin_layout Plain Layout
3658 <cell alignment="center" valignment="top" usebox="none">
3661 \begin_layout Plain Layout
3667 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3670 \begin_layout Plain Layout
3678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3681 \begin_layout Plain Layout
3689 <cell alignment="center" valignment="top" usebox="none">
3692 \begin_layout Plain Layout
3698 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3701 \begin_layout Plain Layout
3709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3712 \begin_layout Plain Layout
3720 <cell alignment="center" valignment="top" usebox="none">
3723 \begin_layout Plain Layout
3729 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3732 \begin_layout Plain Layout
3740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3743 \begin_layout Plain Layout
3751 <cell alignment="center" valignment="top" usebox="none">
3754 \begin_layout Plain Layout
3760 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3763 \begin_layout Plain Layout
3771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3774 \begin_layout Plain Layout
3782 <cell alignment="center" valignment="top" usebox="none">
3785 \begin_layout Plain Layout
3791 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3794 \begin_layout Plain Layout
3802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3805 \begin_layout Plain Layout
3813 <cell alignment="center" valignment="top" usebox="none">
3816 \begin_layout Plain Layout
3822 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3825 \begin_layout Plain Layout
3833 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3836 \begin_layout Plain Layout
3844 <cell alignment="center" valignment="top" usebox="none">
3847 \begin_layout Plain Layout
3853 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3856 \begin_layout Plain Layout
3864 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3867 \begin_layout Plain Layout
3875 <cell alignment="center" valignment="top" usebox="none">
3878 \begin_layout Plain Layout
3884 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3887 \begin_layout Plain Layout
3895 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3898 \begin_layout Plain Layout
3906 <cell alignment="center" valignment="top" usebox="none">
3909 \begin_layout Plain Layout
3915 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3918 \begin_layout Plain Layout
3926 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3929 \begin_layout Plain Layout
3937 <cell alignment="center" valignment="top" usebox="none">
3940 \begin_layout Plain Layout
3946 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3949 \begin_layout Plain Layout
3957 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3960 \begin_layout Plain Layout
3968 <cell alignment="center" valignment="top" usebox="none">
3971 \begin_layout Plain Layout
3977 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3980 \begin_layout Plain Layout
3988 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3991 \begin_layout Plain Layout
3999 <cell alignment="center" valignment="top" usebox="none">
4002 \begin_layout Plain Layout
4008 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4011 \begin_layout Plain Layout
4019 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4022 \begin_layout Plain Layout
4030 <cell alignment="center" valignment="top" usebox="none">
4033 \begin_layout Plain Layout
4039 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4042 \begin_layout Plain Layout
4050 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4053 \begin_layout Plain Layout
4061 <cell alignment="center" valignment="top" usebox="none">
4064 \begin_layout Plain Layout
4070 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4073 \begin_layout Plain Layout
4081 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4084 \begin_layout Plain Layout
4092 <cell alignment="center" valignment="top" usebox="none">
4095 \begin_layout Plain Layout
4101 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4104 \begin_layout Plain Layout
4112 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4115 \begin_layout Plain Layout
4123 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4126 \begin_layout Plain Layout
4132 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4135 \begin_layout Plain Layout
4143 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4146 \begin_layout Plain Layout
4152 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4155 \begin_layout Plain Layout
4161 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4164 \begin_layout Plain Layout
4172 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4175 \begin_layout Plain Layout
4183 <cell alignment="center" valignment="top" usebox="none">
4186 \begin_layout Plain Layout
4192 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4195 \begin_layout Plain Layout
4203 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4206 \begin_layout Plain Layout
4214 <cell alignment="center" valignment="top" usebox="none">
4217 \begin_layout Plain Layout
4223 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4226 \begin_layout Plain Layout
4234 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4237 \begin_layout Plain Layout
4245 <cell alignment="center" valignment="top" usebox="none">
4248 \begin_layout Plain Layout
4254 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4257 \begin_layout Plain Layout
4265 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4268 \begin_layout Plain Layout
4276 <cell alignment="center" valignment="top" usebox="none">
4279 \begin_layout Plain Layout
4285 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4288 \begin_layout Plain Layout
4296 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4299 \begin_layout Plain Layout
4307 <cell alignment="center" valignment="top" usebox="none">
4310 \begin_layout Plain Layout
4316 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4319 \begin_layout Plain Layout
4327 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4330 \begin_layout Plain Layout
4338 <cell alignment="center" valignment="top" usebox="none">
4341 \begin_layout Plain Layout
4347 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4350 \begin_layout Plain Layout
4358 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4361 \begin_layout Plain Layout
4369 <cell alignment="center" valignment="top" usebox="none">
4372 \begin_layout Plain Layout
4378 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4381 \begin_layout Plain Layout
4389 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4392 \begin_layout Plain Layout
4400 <cell alignment="center" valignment="top" usebox="none">
4403 \begin_layout Plain Layout
4409 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4412 \begin_layout Plain Layout
4420 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4423 \begin_layout Plain Layout
4431 <cell alignment="center" valignment="top" usebox="none">
4434 \begin_layout Plain Layout
4440 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4443 \begin_layout Plain Layout
4451 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4454 \begin_layout Plain Layout
4462 <cell alignment="center" valignment="top" usebox="none">
4465 \begin_layout Plain Layout
4471 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4474 \begin_layout Plain Layout
4482 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4485 \begin_layout Plain Layout
4493 <cell alignment="center" valignment="top" usebox="none">
4496 \begin_layout Plain Layout
4502 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4505 \begin_layout Plain Layout
4513 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4516 \begin_layout Plain Layout
4524 <cell alignment="center" valignment="top" usebox="none">
4527 \begin_layout Plain Layout
4533 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4536 \begin_layout Plain Layout
4544 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4547 \begin_layout Plain Layout
4555 <cell alignment="center" valignment="top" usebox="none">
4558 \begin_layout Plain Layout
4564 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4567 \begin_layout Plain Layout
4575 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4578 \begin_layout Plain Layout
4586 <cell alignment="center" valignment="top" usebox="none">
4589 \begin_layout Plain Layout
4595 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4598 \begin_layout Plain Layout
4606 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4609 \begin_layout Plain Layout
4617 <cell alignment="center" valignment="top" usebox="none">
4620 \begin_layout Plain Layout
4626 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4629 \begin_layout Plain Layout
4637 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4640 \begin_layout Plain Layout
4648 <cell alignment="center" valignment="top" usebox="none">
4651 \begin_layout Plain Layout
4657 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4660 \begin_layout Plain Layout
4668 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4671 \begin_layout Plain Layout
4679 <cell alignment="center" valignment="top" usebox="none">
4682 \begin_layout Plain Layout
4688 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4691 \begin_layout Plain Layout
4699 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4702 \begin_layout Plain Layout
4710 <cell alignment="center" valignment="top" usebox="none">
4713 \begin_layout Plain Layout
4719 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4722 \begin_layout Plain Layout
4730 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4733 \begin_layout Plain Layout
4741 <cell alignment="center" valignment="top" usebox="none">
4744 \begin_layout Plain Layout
4750 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4753 \begin_layout Plain Layout
4761 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4764 \begin_layout Plain Layout
4772 <cell alignment="center" valignment="top" usebox="none">
4775 \begin_layout Plain Layout
4781 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4784 \begin_layout Plain Layout
4792 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4795 \begin_layout Plain Layout
4803 <cell alignment="center" valignment="top" usebox="none">
4806 \begin_layout Plain Layout
4812 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4815 \begin_layout Plain Layout
4823 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4826 \begin_layout Plain Layout
4834 <cell alignment="center" valignment="top" usebox="none">
4837 \begin_layout Plain Layout
4843 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4846 \begin_layout Plain Layout
4854 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4857 \begin_layout Plain Layout
4865 <cell alignment="center" valignment="top" usebox="none">
4868 \begin_layout Plain Layout
4874 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4877 \begin_layout Plain Layout
4885 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4888 \begin_layout Plain Layout
4896 <cell alignment="center" valignment="top" usebox="none">
4899 \begin_layout Plain Layout
4905 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4908 \begin_layout Plain Layout
4916 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4919 \begin_layout Plain Layout
4927 <cell alignment="center" valignment="top" usebox="none">
4930 \begin_layout Plain Layout
4936 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4939 \begin_layout Plain Layout
4947 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4950 \begin_layout Plain Layout
4958 <cell alignment="center" valignment="top" usebox="none">
4961 \begin_layout Plain Layout
4967 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4970 \begin_layout Plain Layout
4978 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4981 \begin_layout Plain Layout
4989 <cell alignment="center" valignment="top" usebox="none">
4992 \begin_layout Plain Layout
4998 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5001 \begin_layout Plain Layout
5009 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5012 \begin_layout Plain Layout
5020 <cell alignment="center" valignment="top" usebox="none">
5023 \begin_layout Plain Layout
5029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5032 \begin_layout Plain Layout
5040 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5043 \begin_layout Plain Layout
5051 <cell alignment="center" valignment="top" usebox="none">
5054 \begin_layout Plain Layout
5060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5063 \begin_layout Plain Layout
5071 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5074 \begin_layout Plain Layout
5082 <cell alignment="center" valignment="top" usebox="none">
5085 \begin_layout Plain Layout
5091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5094 \begin_layout Plain Layout
5102 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5105 \begin_layout Plain Layout
5113 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5116 \begin_layout Plain Layout
5122 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5125 \begin_layout Plain Layout
5132 <row endlastfoot="true">
5133 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5136 \begin_layout Plain Layout
5142 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5145 \begin_layout Plain Layout
5151 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5154 \begin_layout Plain Layout
5169 \begin_layout Plain Layout
5173 addtocounter{table}{-1}
5179 \begin_inset Note Note
5182 \begin_layout Plain Layout
5184 \begin_inset CommandInset ref
5186 reference "sub:長尺表のキャプション"
5198 \begin_layout Subsection
5200 \begin_inset CommandInset label
5207 \begin_inset Index idx
5210 \begin_layout Plain Layout
5211 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
5219 \begin_layout Standard
5220 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
5221 \begin_inset CommandInset ref
5223 reference "tab:別キャプション"
5230 \begin_layout Subsection
5232 \begin_inset Index idx
5235 \begin_layout Plain Layout
5236 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5244 \begin_layout Standard
5245 表設定ダイアログでは、長尺表の水平揃えを指定することができます。左揃えや右揃えでは、表は直接ページ境界に寄せられます。表と境界の間に余白を加えるには、中央揃えに
5249 \begin_layout Standard
5259 \begin_layout Standard
5260 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5272 の値を変更しなくてはなりません。ここで「値」は、第
5273 \begin_inset CommandInset ref
5279 表に挙げてある単位であれば、どの単位を取ることもできます。
5285 は、左頁余白から長尺表までの水平方向の距離を制御し、
5291 は、右頁余白からの距離を制御します。これらの長さの既定値は
5297 となっており、LyXの水平フィルと同等になっています。
5300 \begin_layout Standard
5317 \begin_layout Plain Layout
5333 \begin_layout Standard
5334 \begin_inset Tabular
5335 <lyxtabular version="3" rows="5" columns="5">
5336 <features rotate="0" islongtable="true" longtabularalignment="center">
5337 <column alignment="center" valignment="top">
5338 <column alignment="center" valignment="top">
5339 <column alignment="center" valignment="top">
5340 <column alignment="center" valignment="top">
5341 <column alignment="center" valignment="top">
5343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5346 \begin_layout Plain Layout
5352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5355 \begin_layout Plain Layout
5361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5364 \begin_layout Plain Layout
5370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5373 \begin_layout Plain Layout
5379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5382 \begin_layout Plain Layout
5390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5393 \begin_layout Plain Layout
5399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5402 \begin_layout Plain Layout
5408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5411 \begin_layout Plain Layout
5417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5420 \begin_layout Plain Layout
5426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5429 \begin_layout Plain Layout
5437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5440 \begin_layout Plain Layout
5446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5449 \begin_layout Plain Layout
5455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5458 \begin_layout Plain Layout
5464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5467 \begin_layout Plain Layout
5473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5476 \begin_layout Plain Layout
5484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5487 \begin_layout Plain Layout
5493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5496 \begin_layout Plain Layout
5502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5505 \begin_layout Plain Layout
5511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5514 \begin_layout Plain Layout
5520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5523 \begin_layout Plain Layout
5531 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5534 \begin_layout Plain Layout
5540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5543 \begin_layout Plain Layout
5549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5552 \begin_layout Plain Layout
5558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5561 \begin_layout Plain Layout
5567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5570 \begin_layout Plain Layout
5585 \begin_layout Plain Layout
5602 \begin_layout Plain Layout
5606 addtocounter{table}{-1}
5612 \begin_inset Note Note
5615 \begin_layout Plain Layout
5617 \begin_inset CommandInset ref
5619 reference "sub:長尺表のキャプション"
5631 \begin_layout Subsection
5633 \begin_inset Index idx
5636 \begin_layout Plain Layout
5637 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5643 \begin_inset CommandInset label
5645 name "sub:長尺表のキャプション"
5652 \begin_layout Standard
5653 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5654 \begin_inset CommandInset ref
5660 節に述べられているように、ある行で長尺表オプションの
5664 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションは、
5680 のいずれかに入れなくてはなりません。それぞれのヘッダ・フッタに入れることができる行は、ひとつだけです。
5683 \begin_layout Standard
5684 以下は、動作を確認するための短い長尺表です。
5687 \begin_layout Standard
5688 \begin_inset Tabular
5689 <lyxtabular version="3" rows="6" columns="5">
5690 <features rotate="0" islongtable="true" longtabularalignment="center">
5691 <column alignment="center" valignment="top">
5692 <column alignment="center" valignment="top">
5693 <column alignment="center" valignment="top">
5694 <column alignment="center" valignment="top">
5695 <column alignment="center" valignment="top">
5696 <row endfirsthead="true" caption="true">
5697 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5700 \begin_layout Plain Layout
5701 \begin_inset Caption Standard
5703 \begin_layout Plain Layout
5705 \begin_inset Argument 1
5708 \begin_layout Plain Layout
5724 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5727 \begin_layout Plain Layout
5733 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5736 \begin_layout Plain Layout
5742 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5745 \begin_layout Plain Layout
5751 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5754 \begin_layout Plain Layout
5762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5765 \begin_layout Plain Layout
5771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5774 \begin_layout Plain Layout
5780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5783 \begin_layout Plain Layout
5789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5792 \begin_layout Plain Layout
5798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5801 \begin_layout Plain Layout
5809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5812 \begin_layout Plain Layout
5818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5821 \begin_layout Plain Layout
5827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5830 \begin_layout Plain Layout
5836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5839 \begin_layout Plain Layout
5845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5848 \begin_layout Plain Layout
5856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5859 \begin_layout Plain Layout
5865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5868 \begin_layout Plain Layout
5874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5877 \begin_layout Plain Layout
5883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5886 \begin_layout Plain Layout
5892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5895 \begin_layout Plain Layout
5903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5906 \begin_layout Plain Layout
5912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5915 \begin_layout Plain Layout
5921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5924 \begin_layout Plain Layout
5930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5933 \begin_layout Plain Layout
5939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5942 \begin_layout Plain Layout
5950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5953 \begin_layout Plain Layout
5959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5962 \begin_layout Plain Layout
5968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5971 \begin_layout Plain Layout
5977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5980 \begin_layout Plain Layout
5986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5989 \begin_layout Plain Layout
6003 \begin_layout Standard
6004 \begin_inset VSpace medskip
6008 \begin_inset Note Greyedout
6011 \begin_layout Plain Layout
6016 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
6017 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
6020 \begin_layout Plain Layout
6025 addtocounter{table}{-1}
6028 \begin_layout Plain Layout
6029 というコマンドを挿入する方法があります。
6032 \begin_layout Plain Layout
6033 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
6036 \begin_layout Plain Layout
6046 \begin_inset Newline newline
6057 addtocounter{table}{-1}}
6065 \begin_layout Standard
6066 \begin_inset Note Greyedout
6069 \begin_layout Plain Layout
6087 \begin_inset Index idx
6090 \begin_layout Plain Layout
6091 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
6096 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
6104 \begin_layout Subsubsection
6106 \begin_inset Index idx
6109 \begin_layout Plain Layout
6110 ちょうしゃくひょう@長尺表 ! さんしょう@参照
6118 \begin_layout Standard
6119 \begin_inset Tabular
6120 <lyxtabular version="3" rows="6" columns="5">
6121 <features rotate="0" islongtable="true" longtabularalignment="center">
6122 <column alignment="center" valignment="top">
6123 <column alignment="center" valignment="top">
6124 <column alignment="center" valignment="top">
6125 <column alignment="center" valignment="top">
6126 <column alignment="center" valignment="top">
6127 <row endfirsthead="true" caption="true">
6128 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6131 \begin_layout Plain Layout
6132 \begin_inset Caption Standard
6134 \begin_layout Plain Layout
6136 \begin_inset CommandInset label
6152 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6155 \begin_layout Plain Layout
6161 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6164 \begin_layout Plain Layout
6170 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6173 \begin_layout Plain Layout
6179 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6182 \begin_layout Plain Layout
6190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6193 \begin_layout Plain Layout
6199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6202 \begin_layout Plain Layout
6208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6211 \begin_layout Plain Layout
6217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6220 \begin_layout Plain Layout
6226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6229 \begin_layout Plain Layout
6237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6240 \begin_layout Plain Layout
6246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6249 \begin_layout Plain Layout
6255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6258 \begin_layout Plain Layout
6264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6267 \begin_layout Plain Layout
6273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6276 \begin_layout Plain Layout
6284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6287 \begin_layout Plain Layout
6293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6296 \begin_layout Plain Layout
6302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6305 \begin_layout Plain Layout
6311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6314 \begin_layout Plain Layout
6320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6323 \begin_layout Plain Layout
6331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6334 \begin_layout Plain Layout
6340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6343 \begin_layout Plain Layout
6349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6352 \begin_layout Plain Layout
6358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6361 \begin_layout Plain Layout
6367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6370 \begin_layout Plain Layout
6378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6381 \begin_layout Plain Layout
6387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6390 \begin_layout Plain Layout
6396 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6399 \begin_layout Plain Layout
6405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6408 \begin_layout Plain Layout
6414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6417 \begin_layout Plain Layout
6431 \begin_layout Standard
6432 長尺表を参照するには、キャプションにラベルを挿入してください。
6435 \begin_layout Standard
6437 \begin_inset CommandInset ref
6446 \begin_layout Standard
6447 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6452 \begin_inset Index idx
6455 \begin_layout Plain Layout
6456 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6462 \begin_inset CommandInset ref
6464 reference "sec:キャプションの書式設定"
6471 \begin_layout Subsubsection
6473 \begin_inset Index idx
6476 \begin_layout Plain Layout
6477 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6485 \begin_layout Standard
6492 によって指定することができます。既定値は4
6493 \begin_inset space \thinspace{}
6496 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6499 \begin_layout Standard
6509 \begin_layout Standard
6510 というコマンドを書き加えて下さい。ここで「幅」には、付録
6511 \begin_inset CommandInset ref
6513 reference "cha:LyXで使用できる単位"
6517 に挙げられている単位を取ることができます。
6520 \begin_layout Standard
6524 \begin_layout Standard
6525 \begin_inset Tabular
6526 <lyxtabular version="3" rows="6" columns="5">
6527 <features rotate="0" islongtable="true" longtabularalignment="center">
6528 <column alignment="center" valignment="top">
6529 <column alignment="center" valignment="top">
6530 <column alignment="center" valignment="top">
6531 <column alignment="center" valignment="top">
6532 <column alignment="center" valignment="top">
6533 <row endfirsthead="true" caption="true">
6534 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6537 \begin_layout Plain Layout
6538 \begin_inset Caption Standard
6540 \begin_layout Plain Layout
6541 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6542 \begin_inset Argument 1
6545 \begin_layout Plain Layout
6561 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6564 \begin_layout Plain Layout
6570 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6573 \begin_layout Plain Layout
6579 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6582 \begin_layout Plain Layout
6588 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6591 \begin_layout Plain Layout
6599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6602 \begin_layout Plain Layout
6608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6611 \begin_layout Plain Layout
6617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6620 \begin_layout Plain Layout
6626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6629 \begin_layout Plain Layout
6635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6638 \begin_layout Plain Layout
6646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6649 \begin_layout Plain Layout
6655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6658 \begin_layout Plain Layout
6664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6667 \begin_layout Plain Layout
6673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6676 \begin_layout Plain Layout
6682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6685 \begin_layout Plain Layout
6693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6696 \begin_layout Plain Layout
6702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6705 \begin_layout Plain Layout
6711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6714 \begin_layout Plain Layout
6720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6723 \begin_layout Plain Layout
6729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6732 \begin_layout Plain Layout
6740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6743 \begin_layout Plain Layout
6749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6752 \begin_layout Plain Layout
6758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6761 \begin_layout Plain Layout
6767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6770 \begin_layout Plain Layout
6776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6779 \begin_layout Plain Layout
6787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6790 \begin_layout Plain Layout
6796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6799 \begin_layout Plain Layout
6805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6808 \begin_layout Plain Layout
6814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6817 \begin_layout Plain Layout
6823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6826 \begin_layout Plain Layout
6840 \begin_layout Standard
6844 \begin_layout Plain Layout
6856 \begin_inset Tabular
6857 <lyxtabular version="3" rows="6" columns="5">
6858 <features rotate="0" islongtable="true" longtabularalignment="center">
6859 <column alignment="center" valignment="top">
6860 <column alignment="center" valignment="top">
6861 <column alignment="center" valignment="top">
6862 <column alignment="center" valignment="top">
6863 <column alignment="center" valignment="top">
6864 <row endfirsthead="true" caption="true">
6865 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6868 \begin_layout Plain Layout
6869 \begin_inset Caption Standard
6871 \begin_layout Plain Layout
6873 \begin_inset space \thinspace{}
6877 \begin_inset space \thinspace{}
6881 \begin_inset space \thinspace{}
6885 \begin_inset Argument 1
6888 \begin_layout Plain Layout
6890 \begin_inset space \thinspace{}
6908 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6911 \begin_layout Plain Layout
6917 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6920 \begin_layout Plain Layout
6926 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6929 \begin_layout Plain Layout
6935 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6938 \begin_layout Plain Layout
6946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6949 \begin_layout Plain Layout
6955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6958 \begin_layout Plain Layout
6964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6967 \begin_layout Plain Layout
6973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6976 \begin_layout Plain Layout
6982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6985 \begin_layout Plain Layout
6993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6996 \begin_layout Plain Layout
7002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7005 \begin_layout Plain Layout
7011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7014 \begin_layout Plain Layout
7020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7023 \begin_layout Plain Layout
7029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7032 \begin_layout Plain Layout
7040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7043 \begin_layout Plain Layout
7049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7052 \begin_layout Plain Layout
7058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7061 \begin_layout Plain Layout
7067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7070 \begin_layout Plain Layout
7076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7079 \begin_layout Plain Layout
7087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7090 \begin_layout Plain Layout
7096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7099 \begin_layout Plain Layout
7105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7108 \begin_layout Plain Layout
7114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7117 \begin_layout Plain Layout
7123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7126 \begin_layout Plain Layout
7134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7137 \begin_layout Plain Layout
7143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7146 \begin_layout Plain Layout
7152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7155 \begin_layout Plain Layout
7161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7164 \begin_layout Plain Layout
7170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7173 \begin_layout Plain Layout
7187 \begin_layout Standard
7191 \begin_layout Plain Layout
7205 \begin_layout Standard
7206 \begin_inset Note Greyedout
7209 \begin_layout Plain Layout
7219 \begin_inset Index idx
7222 \begin_layout Plain Layout
7223 LaTeXぱっけーじ@LaTeXパッケージ ! caption
7235 \begin_inset space \thinspace{}
7238 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
7239 \begin_inset space \thinspace{}
7242 in幅のキャプションを作るには、3.99
7243 \begin_inset space \thinspace{}
7247 \begin_inset space \thinspace{}
7258 captionsetup{width=値}
7260 というLaTeXコマンドを用いる方法があります。
7268 \begin_layout Subsubsection
7270 \begin_inset Index idx
7273 \begin_layout Plain Layout
7274 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7282 \begin_layout Standard
7283 次頁以降の表キャプションを、1頁めとは異なるものにしたい場合には、キャプションを入れる空行をヘッダに指定して下さい。それから、キャプションを右クリックして、文脈
7289 \begin_inset CommandInset ref
7291 reference "tab:別キャプション"
7295 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7298 \begin_layout Standard
7300 \begin_inset Tabular
7301 <lyxtabular version="3" rows="59" columns="3">
7302 <features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7303 <column alignment="left" valignment="top" width="0cm">
7304 <column alignment="left" valignment="top" width="0pt">
7305 <column alignment="center" valignment="top" width="0pt">
7306 <row endfirsthead="true" caption="true">
7307 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7310 \begin_layout Plain Layout
7311 \begin_inset Caption Standard
7313 \begin_layout Plain Layout
7315 \begin_inset CommandInset label
7322 \begin_inset Argument 1
7325 \begin_layout Plain Layout
7341 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7344 \begin_layout Plain Layout
7350 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7353 \begin_layout Plain Layout
7360 <row endfirsthead="true">
7361 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7364 \begin_layout Plain Layout
7372 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7375 \begin_layout Plain Layout
7381 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7384 \begin_layout Plain Layout
7391 <row endfirsthead="true">
7392 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7395 \begin_layout Plain Layout
7403 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7406 \begin_layout Plain Layout
7412 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7415 \begin_layout Plain Layout
7424 <row endhead="true">
7425 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7428 \begin_layout Plain Layout
7432 \begin_layout Plain Layout
7450 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7453 \begin_layout Plain Layout
7459 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7462 \begin_layout Plain Layout
7469 <row endhead="true">
7470 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7473 \begin_layout Plain Layout
7481 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7484 \begin_layout Plain Layout
7490 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7493 \begin_layout Plain Layout
7500 <row endhead="true">
7501 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7504 \begin_layout Plain Layout
7512 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7515 \begin_layout Plain Layout
7521 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7524 \begin_layout Plain Layout
7533 <row endfoot="true">
7534 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7537 \begin_layout Plain Layout
7543 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7546 \begin_layout Plain Layout
7552 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7555 \begin_layout Plain Layout
7563 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7566 \begin_layout Plain Layout
7574 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7577 \begin_layout Plain Layout
7583 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7586 \begin_layout Plain Layout
7594 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7597 \begin_layout Plain Layout
7605 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7608 \begin_layout Plain Layout
7614 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7617 \begin_layout Plain Layout
7625 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7628 \begin_layout Plain Layout
7636 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7639 \begin_layout Plain Layout
7645 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7648 \begin_layout Plain Layout
7656 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7659 \begin_layout Plain Layout
7667 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7670 \begin_layout Plain Layout
7676 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7679 \begin_layout Plain Layout
7687 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7690 \begin_layout Plain Layout
7698 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7701 \begin_layout Plain Layout
7707 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7710 \begin_layout Plain Layout
7718 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7721 \begin_layout Plain Layout
7729 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7732 \begin_layout Plain Layout
7738 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7741 \begin_layout Plain Layout
7749 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7752 \begin_layout Plain Layout
7760 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7763 \begin_layout Plain Layout
7769 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7772 \begin_layout Plain Layout
7780 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7783 \begin_layout Plain Layout
7791 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7794 \begin_layout Plain Layout
7800 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7803 \begin_layout Plain Layout
7811 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7814 \begin_layout Plain Layout
7822 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7825 \begin_layout Plain Layout
7831 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7834 \begin_layout Plain Layout
7842 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7845 \begin_layout Plain Layout
7853 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7856 \begin_layout Plain Layout
7862 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7865 \begin_layout Plain Layout
7873 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7876 \begin_layout Plain Layout
7884 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7887 \begin_layout Plain Layout
7893 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7896 \begin_layout Plain Layout
7904 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7907 \begin_layout Plain Layout
7915 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7918 \begin_layout Plain Layout
7924 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7927 \begin_layout Plain Layout
7935 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7938 \begin_layout Plain Layout
7946 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7949 \begin_layout Plain Layout
7955 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7958 \begin_layout Plain Layout
7966 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7969 \begin_layout Plain Layout
7977 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7980 \begin_layout Plain Layout
7986 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7989 \begin_layout Plain Layout
7997 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8000 \begin_layout Plain Layout
8009 \begin_layout Plain Layout
8020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8023 \begin_layout Plain Layout
8029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8032 \begin_layout Plain Layout
8040 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8043 \begin_layout Plain Layout
8051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8054 \begin_layout Plain Layout
8060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8063 \begin_layout Plain Layout
8071 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8074 \begin_layout Plain Layout
8082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8085 \begin_layout Plain Layout
8091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8094 \begin_layout Plain Layout
8102 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8105 \begin_layout Plain Layout
8113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8116 \begin_layout Plain Layout
8122 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8125 \begin_layout Plain Layout
8133 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8136 \begin_layout Plain Layout
8144 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8147 \begin_layout Plain Layout
8153 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8156 \begin_layout Plain Layout
8164 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8167 \begin_layout Plain Layout
8175 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8178 \begin_layout Plain Layout
8184 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8187 \begin_layout Plain Layout
8195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8198 \begin_layout Plain Layout
8206 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8209 \begin_layout Plain Layout
8215 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8218 \begin_layout Plain Layout
8226 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8229 \begin_layout Plain Layout
8237 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8240 \begin_layout Plain Layout
8246 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8249 \begin_layout Plain Layout
8257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8260 \begin_layout Plain Layout
8268 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8271 \begin_layout Plain Layout
8277 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8280 \begin_layout Plain Layout
8288 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8291 \begin_layout Plain Layout
8299 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8302 \begin_layout Plain Layout
8308 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8311 \begin_layout Plain Layout
8319 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8322 \begin_layout Plain Layout
8330 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8333 \begin_layout Plain Layout
8339 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8342 \begin_layout Plain Layout
8350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8353 \begin_layout Plain Layout
8361 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8364 \begin_layout Plain Layout
8370 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8373 \begin_layout Plain Layout
8381 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8384 \begin_layout Plain Layout
8392 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8395 \begin_layout Plain Layout
8401 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8404 \begin_layout Plain Layout
8412 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8415 \begin_layout Plain Layout
8423 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8426 \begin_layout Plain Layout
8432 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8435 \begin_layout Plain Layout
8443 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8446 \begin_layout Plain Layout
8454 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8457 \begin_layout Plain Layout
8463 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8466 \begin_layout Plain Layout
8474 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8477 \begin_layout Plain Layout
8485 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8488 \begin_layout Plain Layout
8494 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8497 \begin_layout Plain Layout
8505 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8508 \begin_layout Plain Layout
8516 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8519 \begin_layout Plain Layout
8525 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8528 \begin_layout Plain Layout
8536 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8539 \begin_layout Plain Layout
8545 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8548 \begin_layout Plain Layout
8554 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8557 \begin_layout Plain Layout
8565 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8568 \begin_layout Plain Layout
8576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8579 \begin_layout Plain Layout
8585 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8588 \begin_layout Plain Layout
8596 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8599 \begin_layout Plain Layout
8607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8610 \begin_layout Plain Layout
8616 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8619 \begin_layout Plain Layout
8627 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8630 \begin_layout Plain Layout
8638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8641 \begin_layout Plain Layout
8647 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8650 \begin_layout Plain Layout
8658 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8661 \begin_layout Plain Layout
8669 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8672 \begin_layout Plain Layout
8678 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8681 \begin_layout Plain Layout
8689 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8692 \begin_layout Plain Layout
8700 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8703 \begin_layout Plain Layout
8709 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8712 \begin_layout Plain Layout
8720 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8723 \begin_layout Plain Layout
8731 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8734 \begin_layout Plain Layout
8740 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8743 \begin_layout Plain Layout
8751 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8754 \begin_layout Plain Layout
8762 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8765 \begin_layout Plain Layout
8771 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8774 \begin_layout Plain Layout
8782 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8785 \begin_layout Plain Layout
8793 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8796 \begin_layout Plain Layout
8802 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8805 \begin_layout Plain Layout
8813 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8816 \begin_layout Plain Layout
8824 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8827 \begin_layout Plain Layout
8833 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8836 \begin_layout Plain Layout
8844 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8847 \begin_layout Plain Layout
8855 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8858 \begin_layout Plain Layout
8864 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8867 \begin_layout Plain Layout
8875 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8878 \begin_layout Plain Layout
8886 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8889 \begin_layout Plain Layout
8895 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8898 \begin_layout Plain Layout
8906 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8909 \begin_layout Plain Layout
8917 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8920 \begin_layout Plain Layout
8926 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8929 \begin_layout Plain Layout
8937 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8940 \begin_layout Plain Layout
8948 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8951 \begin_layout Plain Layout
8957 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8960 \begin_layout Plain Layout
8968 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8971 \begin_layout Plain Layout
8979 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8982 \begin_layout Plain Layout
8988 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8991 \begin_layout Plain Layout
8999 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9002 \begin_layout Plain Layout
9010 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9013 \begin_layout Plain Layout
9019 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9022 \begin_layout Plain Layout
9030 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9033 \begin_layout Plain Layout
9041 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9044 \begin_layout Plain Layout
9050 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9053 \begin_layout Plain Layout
9061 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9064 \begin_layout Plain Layout
9072 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9075 \begin_layout Plain Layout
9081 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9084 \begin_layout Plain Layout
9092 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9095 \begin_layout Plain Layout
9103 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9106 \begin_layout Plain Layout
9112 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9115 \begin_layout Plain Layout
9123 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9126 \begin_layout Plain Layout
9134 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9137 \begin_layout Plain Layout
9143 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
9146 \begin_layout Plain Layout
9154 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9157 \begin_layout Plain Layout
9165 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9168 \begin_layout Plain Layout
9174 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9177 \begin_layout Plain Layout
9191 \begin_layout Section
9193 \begin_inset CommandInset label
9195 name "sec:長尺表にまつわる諸点"
9202 \begin_layout Subsection
9204 \begin_inset Index idx
9207 \begin_layout Plain Layout
9208 ちょうしゃくひょう@長尺表 ! けいさん@計算
9216 \begin_layout Standard
9217 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
9218 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
9221 \begin_layout Standard
9226 setcounter{LTchunksize}{100}
9229 \begin_layout Standard
9230 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9233 \begin_layout Subsection
9235 \begin_inset Index idx
9238 \begin_layout Plain Layout
9239 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9247 \begin_layout Standard
9248 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9254 コマンドを長尺表の前にTeXコードとして書き加えてください。
9257 \begin_layout Subsection
9259 \begin_inset Index idx
9262 \begin_layout Plain Layout
9263 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9271 \begin_layout Standard
9272 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9289 コマンドの前には、現セルよりも右にある列数と同じ数の「
9293 」文字を、TeXコードで挿入してやる必要があります。この
9301 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9302 \begin_inset Newline newline
9313 コマンドの後ろには、現在列の左側にある列数と同じ数の
9318 \begin_inset CommandInset ref
9320 reference "tab:強制改頁"
9324 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9327 \begin_layout Standard
9337 \begin_inset Newline newline
9343 \begin_layout Standard
9348 」の後にTeXコードとして挿入してあります。
9351 \begin_layout Standard
9352 同一行3列目の「111」は削除してあります。
9358 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9359 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9362 \begin_layout Standard
9370 \begin_inset Newline newline
9378 \begin_layout Standard
9382 \begin_layout Standard
9383 改頁をしたいセルが最右列にある場合には、
9386 \begin_layout Standard
9396 \begin_layout Standard
9397 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9401 \begin_layout Standard
9403 \begin_inset Tabular
9404 <lyxtabular version="3" rows="38" columns="3">
9405 <features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9406 <column alignment="left" valignment="top" width="0cm">
9407 <column alignment="left" valignment="top" width="3cm">
9408 <column alignment="center" valignment="top" width="0pt">
9409 <row endfirsthead="true" caption="true">
9410 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9413 \begin_layout Plain Layout
9414 \begin_inset Caption Standard
9416 \begin_layout Plain Layout
9418 \begin_inset CommandInset label
9425 \begin_inset Argument 1
9428 \begin_layout Plain Layout
9444 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9447 \begin_layout Plain Layout
9453 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9456 \begin_layout Plain Layout
9463 <row endfirsthead="true">
9464 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9467 \begin_layout Plain Layout
9475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9478 \begin_layout Plain Layout
9484 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9487 \begin_layout Plain Layout
9494 <row endfirsthead="true">
9495 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9498 \begin_layout Plain Layout
9506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9509 \begin_layout Plain Layout
9515 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9518 \begin_layout Plain Layout
9527 <row endhead="true">
9528 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9531 \begin_layout Plain Layout
9535 \begin_layout Plain Layout
9553 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9556 \begin_layout Plain Layout
9562 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9565 \begin_layout Plain Layout
9572 <row endhead="true">
9573 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9576 \begin_layout Plain Layout
9582 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9585 \begin_layout Plain Layout
9591 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9594 \begin_layout Plain Layout
9601 <row endhead="true">
9602 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9605 \begin_layout Plain Layout
9613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9616 \begin_layout Plain Layout
9622 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9625 \begin_layout Plain Layout
9634 <row endfoot="true">
9635 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9638 \begin_layout Plain Layout
9644 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9647 \begin_layout Plain Layout
9653 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9656 \begin_layout Plain Layout
9664 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9667 \begin_layout Plain Layout
9675 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9678 \begin_layout Plain Layout
9684 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9687 \begin_layout Plain Layout
9695 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9698 \begin_layout Plain Layout
9706 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9709 \begin_layout Plain Layout
9715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9718 \begin_layout Plain Layout
9726 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9729 \begin_layout Plain Layout
9737 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9740 \begin_layout Plain Layout
9746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9749 \begin_layout Plain Layout
9757 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9760 \begin_layout Plain Layout
9768 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9771 \begin_layout Plain Layout
9777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9780 \begin_layout Plain Layout
9788 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9791 \begin_layout Plain Layout
9799 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9802 \begin_layout Plain Layout
9808 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9811 \begin_layout Plain Layout
9819 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9822 \begin_layout Plain Layout
9830 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9833 \begin_layout Plain Layout
9839 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9842 \begin_layout Plain Layout
9850 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9853 \begin_layout Plain Layout
9861 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9864 \begin_layout Plain Layout
9870 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9873 \begin_layout Plain Layout
9881 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9884 \begin_layout Plain Layout
9892 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9895 \begin_layout Plain Layout
9901 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9904 \begin_layout Plain Layout
9912 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9915 \begin_layout Plain Layout
9923 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9926 \begin_layout Plain Layout
9932 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9935 \begin_layout Plain Layout
9943 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9946 \begin_layout Plain Layout
9954 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9957 \begin_layout Plain Layout
9963 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9966 \begin_layout Plain Layout
9974 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9977 \begin_layout Plain Layout
9985 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9988 \begin_layout Plain Layout
9994 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9997 \begin_layout Plain Layout
10005 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10008 \begin_layout Plain Layout
10016 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10019 \begin_layout Plain Layout
10025 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10028 \begin_layout Plain Layout
10036 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10039 \begin_layout Plain Layout
10047 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10050 \begin_layout Plain Layout
10056 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10059 \begin_layout Plain Layout
10067 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10070 \begin_layout Plain Layout
10078 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10081 \begin_layout Plain Layout
10087 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10090 \begin_layout Plain Layout
10098 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10101 \begin_layout Plain Layout
10109 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10112 \begin_layout Plain Layout
10118 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10121 \begin_layout Plain Layout
10129 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10132 \begin_layout Plain Layout
10140 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10143 \begin_layout Plain Layout
10149 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10152 \begin_layout Plain Layout
10160 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10163 \begin_layout Plain Layout
10171 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10174 \begin_layout Plain Layout
10180 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10183 \begin_layout Plain Layout
10191 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10194 \begin_layout Plain Layout
10202 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10205 \begin_layout Plain Layout
10211 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10214 \begin_layout Plain Layout
10222 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10225 \begin_layout Plain Layout
10233 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10236 \begin_layout Plain Layout
10242 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10245 \begin_layout Plain Layout
10253 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10256 \begin_layout Plain Layout
10264 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10267 \begin_layout Plain Layout
10273 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10276 \begin_layout Plain Layout
10284 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10287 \begin_layout Plain Layout
10295 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10298 \begin_layout Plain Layout
10304 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10307 \begin_layout Plain Layout
10315 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10318 \begin_layout Plain Layout
10326 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10329 \begin_layout Plain Layout
10335 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10338 \begin_layout Plain Layout
10346 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10349 \begin_layout Plain Layout
10357 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10360 \begin_layout Plain Layout
10362 Fürst von Montecompatri, 11.
10363 Fürst von Sulmona und Vivaro, 10.
10364 Fürst von Rossano, 5.
10365 Herzog von Canemorte, 11.
10366 Herzog von Palombara, 5.
10367 Herzog von Castelchiodato,
10371 \begin_layout Plain Layout
10382 \begin_layout Plain Layout
10390 Herzog von Poggionativo, 11.
10391 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10392 Graf von Valinfreda, 11.
10393 Baron von Cropalati, 11.
10394 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10399 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10402 \begin_layout Plain Layout
10410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10413 \begin_layout Plain Layout
10421 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10424 \begin_layout Plain Layout
10430 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10433 \begin_layout Plain Layout
10441 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10444 \begin_layout Plain Layout
10452 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10455 \begin_layout Plain Layout
10461 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10464 \begin_layout Plain Layout
10472 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10475 \begin_layout Plain Layout
10483 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10486 \begin_layout Plain Layout
10492 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10495 \begin_layout Plain Layout
10503 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10506 \begin_layout Plain Layout
10514 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10517 \begin_layout Plain Layout
10523 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10526 \begin_layout Plain Layout
10534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10537 \begin_layout Plain Layout
10545 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10548 \begin_layout Plain Layout
10554 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10557 \begin_layout Plain Layout
10565 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10568 \begin_layout Plain Layout
10576 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10579 \begin_layout Plain Layout
10585 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10588 \begin_layout Plain Layout
10596 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10599 \begin_layout Plain Layout
10607 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10610 \begin_layout Plain Layout
10616 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10619 \begin_layout Plain Layout
10627 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10630 \begin_layout Plain Layout
10638 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10641 \begin_layout Plain Layout
10647 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10650 \begin_layout Plain Layout
10664 \begin_layout Section
10668 \begin_layout Subsection
10670 \begin_inset CommandInset label
10677 \begin_inset Index idx
10680 \begin_layout Plain Layout
10681 ひょうせるないのふくすうぎょう@表セル内の複数行
10687 \begin_inset Index idx
10690 \begin_layout Plain Layout
10699 \begin_layout Standard
10701 \begin_inset Float table
10707 \begin_layout Plain Layout
10708 \begin_inset Caption Standard
10710 \begin_layout Plain Layout
10711 \begin_inset CommandInset label
10725 \begin_layout Plain Layout
10727 \begin_inset Tabular
10728 <lyxtabular version="3" rows="3" columns="3">
10729 <features rotate="0" tabularvalignment="middle">
10730 <column alignment="center" valignment="middle" width="2.5cm">
10731 <column alignment="center" valignment="middle">
10732 <column alignment="center" valignment="middle">
10734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10737 \begin_layout Plain Layout
10739 \begin_inset Newline linebreak
10747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10750 \begin_layout Plain Layout
10756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10759 \begin_layout Plain Layout
10767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10770 \begin_layout Plain Layout
10776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10779 \begin_layout Plain Layout
10785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10788 \begin_layout Plain Layout
10796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10799 \begin_layout Plain Layout
10805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10808 \begin_layout Plain Layout
10814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10817 \begin_layout Plain Layout
10836 \begin_layout Standard
10837 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10840 \begin_layout Standard
10842 \begin_inset CommandInset ref
10844 reference "tab:複数行表"
10849 \begin_inset Formula $\times$
10852 3表を作り、最初のセルを右クリックして現れるメニューから、
10856 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10857 \begin_inset space \thinspace{}
10860 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10861 \begin_inset space \thinspace{}
10864 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(
10865 \begin_inset Flex Ruby
10868 \begin_layout Plain Layout
10870 \begin_inset Argument post:1
10873 \begin_layout Plain Layout
10887 arg "newline-insert linebreak"
10890 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10893 \begin_layout Standard
10894 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10895 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10896 \begin_inset space \thinspace{}
10899 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10900 \begin_inset CommandInset ref
10902 reference "tab:ハイフネーション表"
10910 \begin_layout Plain Layout
10915 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10923 \begin_layout Standard
10924 \begin_inset Float table
10930 \begin_layout Plain Layout
10931 \begin_inset Caption Standard
10933 \begin_layout Plain Layout
10934 \begin_inset CommandInset label
10936 name "tab:ハイフネーション表"
10948 \begin_layout Plain Layout
10949 \begin_inset space \hfill{}
10953 \begin_inset Tabular
10954 <lyxtabular version="3" rows="3" columns="3">
10955 <features rotate="0" tabularvalignment="middle">
10956 <column alignment="center" valignment="middle" width="2.5cm">
10957 <column alignment="center" valignment="middle">
10958 <column alignment="center" valignment="middle">
10960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10963 \begin_layout Plain Layout
10964 verylongtablecellword
10969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10972 \begin_layout Plain Layout
10978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10981 \begin_layout Plain Layout
10989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10992 \begin_layout Plain Layout
10998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11001 \begin_layout Plain Layout
11007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11010 \begin_layout Plain Layout
11018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11021 \begin_layout Plain Layout
11027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11030 \begin_layout Plain Layout
11036 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11039 \begin_layout Plain Layout
11051 \begin_inset space \hfill{}
11055 \begin_inset Tabular
11056 <lyxtabular version="3" rows="3" columns="3">
11057 <features rotate="0" tabularvalignment="middle">
11058 <column alignment="center" valignment="middle" width="2.5cm">
11059 <column alignment="center" valignment="middle">
11060 <column alignment="center" valignment="middle">
11062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11065 \begin_layout Plain Layout
11066 \begin_inset space \hspace{}
11070 verylongtablecellword
11075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11078 \begin_layout Plain Layout
11084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11087 \begin_layout Plain Layout
11095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11098 \begin_layout Plain Layout
11104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11107 \begin_layout Plain Layout
11113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11116 \begin_layout Plain Layout
11124 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11127 \begin_layout Plain Layout
11133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11136 \begin_layout Plain Layout
11142 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11145 \begin_layout Plain Layout
11157 \begin_inset space \hfill{}
11168 \begin_layout Subsection
11170 \begin_inset CommandInset label
11177 \begin_inset Index idx
11180 \begin_layout Plain Layout
11187 \begin_inset Index idx
11190 \begin_layout Plain Layout
11199 \begin_layout Subsubsection
11203 \begin_layout Standard
11204 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
11209 arg "inset-modify tabular multicolumn"
11216 編集\SpecialChar \menuseparator
11217 表\SpecialChar \menuseparator
11220 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
11227 \begin_layout Standard
11228 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
11229 、最下行に上罫線のない連結行がある表の例です。
11232 \begin_layout Standard
11234 \begin_inset Tabular
11235 <lyxtabular version="3" rows="3" columns="4">
11236 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11237 <column alignment="center" valignment="top" width="0pt">
11238 <column alignment="center" valignment="middle">
11239 <column alignment="center" valignment="top" width="0in">
11240 <column alignment="center" valignment="top" width="0pt">
11242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11245 \begin_layout Plain Layout
11251 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11254 \begin_layout Plain Layout
11260 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11263 \begin_layout Plain Layout
11269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11272 \begin_layout Plain Layout
11280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11283 \begin_layout Plain Layout
11289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11292 \begin_layout Plain Layout
11298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11301 \begin_layout Plain Layout
11307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11310 \begin_layout Plain Layout
11318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11321 \begin_layout Plain Layout
11327 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11330 \begin_layout Plain Layout
11336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11339 \begin_layout Plain Layout
11345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11348 \begin_layout Plain Layout
11362 \begin_layout Subsubsection
11364 \begin_inset CommandInset label
11371 \begin_inset Index idx
11374 \begin_layout Plain Layout
11375 れんけつれつ@連結列 ! けいさん@計算
11383 \begin_layout Standard
11384 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11387 \begin_layout Standard
11388 \begin_inset Float table
11394 \begin_layout Plain Layout
11395 \begin_inset Caption Standard
11397 \begin_layout Plain Layout
11398 \begin_inset CommandInset label
11404 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11405 \begin_inset Argument 1
11408 \begin_layout Plain Layout
11422 \begin_layout Plain Layout
11424 \begin_inset Tabular
11425 <lyxtabular version="3" rows="3" columns="3">
11426 <features rotate="0" tabularvalignment="middle">
11427 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11428 <column alignment="center" valignment="middle">
11429 <column alignment="center" valignment="top">
11431 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11434 \begin_layout Plain Layout
11440 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11443 \begin_layout Plain Layout
11449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11452 \begin_layout Plain Layout
11460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11463 \begin_layout Plain Layout
11469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11472 \begin_layout Plain Layout
11478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11481 \begin_layout Plain Layout
11489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11492 \begin_layout Plain Layout
11498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11501 \begin_layout Plain Layout
11507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11510 \begin_layout Plain Layout
11529 \begin_layout Standard
11531 \begin_inset CommandInset ref
11533 reference "tab:中央揃え表"
11538 \begin_inset Formula $\times$
11541 3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11545 を選択します。そして現れる表の設定ダイアログで、このセルを
11554 \begin_inset space \thinspace{}
11557 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11558 \begin_inset space \thinspace{}
11561 cm幅に設定します。すると第二列は自動的に1.25
11562 \begin_inset space \thinspace{}
11565 cm幅(連結列幅マイナス第一列の幅)になります。表
11566 \begin_inset CommandInset ref
11568 reference "tab:半分でない表"
11575 \begin_layout Standard
11576 \begin_inset Float table
11581 \begin_layout Plain Layout
11582 \begin_inset Caption Standard
11584 \begin_layout Plain Layout
11585 \begin_inset CommandInset label
11591 連結セルの下の列が正確に半分になっていない表
11592 \begin_inset Argument 1
11595 \begin_layout Plain Layout
11609 \begin_layout Plain Layout
11611 \begin_inset Tabular
11612 <lyxtabular version="3" rows="3" columns="3">
11613 <features rotate="0" tabularvalignment="middle">
11614 <column alignment="center" valignment="top" width="1.25cm">
11615 <column alignment="center" valignment="top">
11616 <column alignment="center" valignment="top">
11618 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11621 \begin_layout Plain Layout
11627 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11630 \begin_layout Plain Layout
11636 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11639 \begin_layout Plain Layout
11647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11650 \begin_layout Plain Layout
11656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11659 \begin_layout Plain Layout
11665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11668 \begin_layout Plain Layout
11676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11679 \begin_layout Plain Layout
11685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11688 \begin_layout Plain Layout
11694 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11697 \begin_layout Plain Layout
11716 \begin_layout Standard
11717 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11719 \begin_inset Formula $W_{\mbox{指}}$
11723 \begin_inset Formula $W_{\text{全}}$
11727 \begin_inset CommandInset ref
11729 reference "cha:式の説明"
11736 \begin_layout Standard
11742 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11746 \begin_inset Formula $W_{\mbox{指}:n}$
11750 \begin_inset Formula
11752 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11760 \begin_layout Standard
11761 で計算することができます。上記の例では
11762 \begin_inset Formula $n=2$
11766 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11770 \begin_inset CommandInset ref
11777 \begin_inset Formula
11779 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11787 \begin_layout Standard
11788 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11791 \begin_layout Standard
11799 \begin_layout Standard
11805 \begin_inset Index idx
11808 \begin_layout Plain Layout
11809 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11814 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11815 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11818 \begin_layout Itemize
11823 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11826 \begin_layout Itemize
11831 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11834 \begin_layout Itemize
11839 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11842 \begin_layout Standard
11843 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11846 \begin_layout Standard
11847 \begin_inset Note Greyedout
11850 \begin_layout Plain Layout
11855 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11863 \begin_layout Standard
11870 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11873 \begin_layout Standard
11878 centering}m{1.25cm-6.2pt}
11881 \begin_layout Standard
11886 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11889 \begin_layout Standard
11890 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11894 \begin_layout Standard
11902 \begin_layout Standard
11903 というLaTeX変数を指定しなくてはなりません。
11906 \begin_layout Subsection
11908 \begin_inset CommandInset label
11915 \begin_inset Index idx
11918 \begin_layout Plain Layout
11925 \begin_inset Index idx
11928 \begin_layout Plain Layout
11929 ひょう@表 ! れんけつぎょう@連結行
11937 \begin_layout Standard
11938 複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
11943 arg "inset-modify tabular multirow"
11950 編集\SpecialChar \menuseparator
11951 表\SpecialChar \menuseparator
11954 を選ぶか、選択したセルを右クリックして、コンテクストメニューから
11956 \SpecialChar \menuseparator
11962 \begin_layout Standard
11963 下記は一列目に連結列を適用した表の例です。
11966 \begin_layout Standard
11968 \begin_inset Tabular
11969 <lyxtabular version="3" rows="3" columns="3">
11970 <features rotate="0" tabularvalignment="middle">
11971 <column alignment="center" valignment="top" width="0pt">
11972 <column alignment="center" valignment="top">
11973 <column alignment="center" valignment="top">
11975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11978 \begin_layout Plain Layout
11984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11987 \begin_layout Plain Layout
11993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11996 \begin_layout Plain Layout
12004 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12007 \begin_layout Plain Layout
12013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12016 \begin_layout Plain Layout
12022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12025 \begin_layout Plain Layout
12033 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12036 \begin_layout Plain Layout
12042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12045 \begin_layout Plain Layout
12051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12054 \begin_layout Plain Layout
12068 \begin_layout Standard
12069 連結列の幅は、列全体の幅と揃えを設定することによって設定することができます。
12073 は、正または負の値を与えると、連結列の内容を上下にシフトします。
12076 \begin_layout Standard
12077 連結行セルの列に明示的な幅が与えられていない場合、連結行セルは当該列の揃えを継承します。それもなければ左揃えです。既定値を上書きするには、
12080 \begin_layout Standard
12092 \begin_layout Standard
12099 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
12100 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
12121 \begin_layout Standard
12122 下記は、-4ミリの垂直オフセットを設定し、3センチ幅の列中にある右揃えの連結列セルがある表の例です。
12125 \begin_layout Standard
12131 \begin_layout Plain Layout
12145 \begin_inset Tabular
12146 <lyxtabular version="3" rows="4" columns="3">
12147 <features rotate="0" tabularvalignment="middle">
12148 <column alignment="center" valignment="top" width="3cm">
12149 <column alignment="center" valignment="top">
12150 <column alignment="center" valignment="top">
12152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12155 \begin_layout Plain Layout
12161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12164 \begin_layout Plain Layout
12170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12173 \begin_layout Plain Layout
12181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12184 \begin_layout Plain Layout
12190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12193 \begin_layout Plain Layout
12199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12202 \begin_layout Plain Layout
12210 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12213 \begin_layout Plain Layout
12219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12222 \begin_layout Plain Layout
12228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12231 \begin_layout Plain Layout
12239 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12242 \begin_layout Plain Layout
12248 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12251 \begin_layout Plain Layout
12257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12260 \begin_layout Plain Layout
12275 \begin_layout Plain Layout
12291 \begin_layout Standard
12292 連結行で新しい行に移るには、強制改行(
12293 \begin_inset Flex Ruby
12296 \begin_layout Plain Layout
12298 \begin_inset Argument post:1
12301 \begin_layout Plain Layout
12315 arg "newline-insert newline"
12318 )を使用できますが、この場合、下記の例に示されているようにセル行との整合を顧慮しません。
12321 \begin_layout Standard
12324 \begin_inset Tabular
12325 <lyxtabular version="3" rows="3" columns="2">
12326 <features rotate="0" tabularvalignment="middle">
12327 <column alignment="left" valignment="middle" width="2cm">
12328 <column alignment="center" valignment="top">
12330 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12333 \begin_layout Plain Layout
12335 \begin_inset Newline newline
12339 \begin_inset Newline newline
12347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12350 \begin_layout Plain Layout
12358 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12361 \begin_layout Plain Layout
12367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12370 \begin_layout Plain Layout
12378 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12381 \begin_layout Plain Layout
12387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12390 \begin_layout Plain Layout
12404 \begin_layout Standard
12405 したがって、強制改行を使うのは注意が必要です。
12408 \begin_layout Subsection
12412 \begin_layout Standard
12413 読者に表中の行見出しや列見出しが何を意味しているかを伝えるには、表の第1セルに対角線を一本ないし二本引いて分割すると便利です。これは、LaTeXパッケージの
12418 \begin_inset Index idx
12421 \begin_layout Plain Layout
12422 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
12427 を文書プリアンブルに読み込むことによって実現できます。このパッケージには、
12433 というコマンドがありますので、以下のように、これに2ないし3の引数をつけて、TeXコードで挿入します。
12436 \begin_layout Standard
12441 diagbox[オプション]{左下}{右上}
12444 \begin_layout Standard
12449 diagbox[オプション]{左下}{左上}{右上}
12452 \begin_layout Standard
12453 最初の書式は、第1セルを一本の対角線で分割し、引数の内容がその上下に入れられます。二つ目の書式は、第1セルを二本の線で分割します。
12456 \begin_layout Standard
12460 \begin_layout Plain Layout
12470 \begin_inset Note Note
12473 \begin_layout Plain Layout
12486 \begin_layout Standard
12493 を第1セル中に2引数書式で使用した表の例です。
12494 \begin_inset VSpace medskip
12500 \begin_layout Standard
12502 \begin_inset Tabular
12503 <lyxtabular version="3" rows="4" columns="4">
12504 <features rotate="0" tabularvalignment="middle">
12505 <column alignment="center" valignment="top">
12506 <column alignment="center" valignment="top">
12507 <column alignment="center" valignment="top">
12508 <column alignment="center" valignment="top">
12510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12513 \begin_layout Plain Layout
12517 \begin_layout Plain Layout
12530 \begin_layout Plain Layout
12541 \begin_layout Plain Layout
12553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12556 \begin_layout Plain Layout
12562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12565 \begin_layout Plain Layout
12571 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12574 \begin_layout Plain Layout
12582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12585 \begin_layout Plain Layout
12591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12594 \begin_layout Plain Layout
12600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12603 \begin_layout Plain Layout
12609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12612 \begin_layout Plain Layout
12620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12623 \begin_layout Plain Layout
12629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12632 \begin_layout Plain Layout
12638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12641 \begin_layout Plain Layout
12647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12650 \begin_layout Plain Layout
12658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12661 \begin_layout Plain Layout
12667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12670 \begin_layout Plain Layout
12676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12679 \begin_layout Plain Layout
12685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12688 \begin_layout Plain Layout
12700 \begin_inset VSpace medskip
12706 \begin_layout Standard
12707 3引数書式は、例えばスポーツリーグや距離を示すクロス表に便利です。
12710 \begin_layout Standard
12713 \begin_inset Tabular
12714 <lyxtabular version="3" rows="4" columns="4">
12715 <features rotate="0" tabularvalignment="middle">
12716 <column alignment="center" valignment="top" width="0pt">
12717 <column alignment="center" valignment="top">
12718 <column alignment="center" valignment="top">
12719 <column alignment="center" valignment="top">
12721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12724 \begin_layout Plain Layout
12728 \begin_layout Plain Layout
12741 \begin_layout Plain Layout
12752 \begin_layout Plain Layout
12763 \begin_layout Plain Layout
12775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12778 \begin_layout Plain Layout
12784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12787 \begin_layout Plain Layout
12793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12796 \begin_layout Plain Layout
12804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12807 \begin_layout Plain Layout
12813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12816 \begin_layout Plain Layout
12822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12825 \begin_layout Plain Layout
12831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12834 \begin_layout Plain Layout
12842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12845 \begin_layout Plain Layout
12851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12854 \begin_layout Plain Layout
12860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12863 \begin_layout Plain Layout
12869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12872 \begin_layout Plain Layout
12880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12883 \begin_layout Plain Layout
12889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12892 \begin_layout Plain Layout
12898 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12901 \begin_layout Plain Layout
12907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12910 \begin_layout Plain Layout
12924 \begin_layout Standard
12925 大きなクロス表では、下記のように、2つないし全部のコーナーセルに対角線を入れると良いかもしれません。
12928 \begin_layout Standard
12931 \begin_inset Tabular
12932 <lyxtabular version="3" rows="5" columns="5">
12933 <features rotate="0" tabularvalignment="middle">
12934 <column alignment="center" valignment="top" width="0pt">
12935 <column alignment="center" valignment="top">
12936 <column alignment="center" valignment="top">
12937 <column alignment="center" valignment="top">
12938 <column alignment="center" valignment="top">
12940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12943 \begin_layout Plain Layout
12947 \begin_layout Plain Layout
12960 \begin_layout Plain Layout
12971 \begin_layout Plain Layout
12982 \begin_layout Plain Layout
12994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12997 \begin_layout Plain Layout
13003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13006 \begin_layout Plain Layout
13012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13015 \begin_layout Plain Layout
13021 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13024 \begin_layout Plain Layout
13028 \begin_layout Plain Layout
13041 \begin_layout Plain Layout
13052 \begin_layout Plain Layout
13063 \begin_layout Plain Layout
13077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13080 \begin_layout Plain Layout
13086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13089 \begin_layout Plain Layout
13095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13098 \begin_layout Plain Layout
13104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13107 \begin_layout Plain Layout
13113 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13116 \begin_layout Plain Layout
13124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13127 \begin_layout Plain Layout
13133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13136 \begin_layout Plain Layout
13142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13145 \begin_layout Plain Layout
13151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13154 \begin_layout Plain Layout
13160 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13163 \begin_layout Plain Layout
13171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13174 \begin_layout Plain Layout
13180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13183 \begin_layout Plain Layout
13189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13192 \begin_layout Plain Layout
13198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13201 \begin_layout Plain Layout
13207 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13210 \begin_layout Plain Layout
13218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13221 \begin_layout Plain Layout
13225 \begin_layout Plain Layout
13238 \begin_layout Plain Layout
13249 \begin_layout Plain Layout
13260 \begin_layout Plain Layout
13272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13275 \begin_layout Plain Layout
13281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13284 \begin_layout Plain Layout
13290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13293 \begin_layout Plain Layout
13299 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13302 \begin_layout Plain Layout
13306 \begin_layout Plain Layout
13319 \begin_layout Plain Layout
13330 \begin_layout Plain Layout
13341 \begin_layout Plain Layout
13361 \begin_layout Standard
13362 対角線を廻すために、コマンドオプションとして
13386 のいずれかで、コンパスでの位置を示します。例えば、
13390 は南西かど(south-west)を示します。したがって、上の表の左下のセルでは、
13393 \begin_layout Standard
13398 diagbox[dir=SW]{ホームチーム}{結果}{アウェイチーム}
13401 \begin_layout Standard
13402 というコマンドを使用しています。方角を指定しなければ、NWを指定したのと同じ事になります。
13405 \begin_layout Standard
13406 対角線を引いたセルに必要な幅は、自動的に計算されます。したがって、計算された幅よりも小さい固定列幅を指定してしまうと、下記の例のように、セルの中身がはみ出てしま
13410 \begin_layout Standard
13413 \begin_inset Tabular
13414 <lyxtabular version="3" rows="2" columns="2">
13415 <features rotate="0" tabularvalignment="middle">
13416 <column alignment="center" valignment="top" width="3cm">
13417 <column alignment="center" valignment="top">
13419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13422 \begin_layout Plain Layout
13426 \begin_layout Plain Layout
13439 \begin_layout Plain Layout
13450 \begin_layout Plain Layout
13462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13465 \begin_layout Plain Layout
13473 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13476 \begin_layout Plain Layout
13482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13485 \begin_layout Plain Layout
13499 \begin_layout Standard
13500 対角線を引いたセルの列に一定の幅が必要な場合は、コマンドオプションとして
13504 (必要に応じて「3cm」を必要な幅に変更)を与えてください。下記の表では、第1列の幅が4
13505 \begin_inset space \thinspace{}
13515 \begin_inset space \thinspace{}
13518 cm)に、本文とセル罫線との間隔の2倍を加えたものになるので、
13525 \begin_inset space \thinspace{}
13529 \begin_inset space \thinspace{}
13534 tabcolsepの幅が必要です。幅の計算は、
13540 のコマンドオプション内では行うことができないので、前もって新しい長さを定義しておく必要があります。これは、TeXコードコマンドで
13543 \begin_layout Standard
13551 \begin_inset Newline newline
13563 \begin_layout Standard
13567 \begin_layout Plain Layout
13576 \begin_layout Plain Layout
13592 \begin_layout Standard
13593 とすれば実現できます。LaTeX内で計算を行うには、文書プリアンブル中で
13598 \begin_inset Index idx
13601 \begin_layout Plain Layout
13602 LaTeXぱっけーじ@LaTeXパッケージ ! calc
13607 パッケージを読み込んでおく必要があります。
13610 \begin_layout Standard
13614 \begin_layout Standard
13624 \begin_layout Standard
13628 \begin_layout Standard
13631 \begin_inset Tabular
13632 <lyxtabular version="3" rows="2" columns="2">
13633 <features rotate="0" tabularvalignment="middle">
13634 <column alignment="center" valignment="top" width="4cm">
13635 <column alignment="center" valignment="top">
13637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13640 \begin_layout Plain Layout
13644 \begin_layout Plain Layout
13659 \begin_layout Plain Layout
13670 \begin_layout Plain Layout
13682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13685 \begin_layout Plain Layout
13693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13696 \begin_layout Plain Layout
13702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13705 \begin_layout Plain Layout
13719 \begin_layout Standard
13720 対角線の引いたセルは、当該列中で最も幅広くなっていなくてはなりません。さもないと、次の表のように、対角線の長さが正しく計算できなくなってしまいます。
13723 \begin_layout Standard
13726 \begin_inset Tabular
13727 <lyxtabular version="3" rows="2" columns="2">
13728 <features rotate="0" tabularvalignment="middle">
13729 <column alignment="center" valignment="top" width="0pt">
13730 <column alignment="center" valignment="top">
13732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13735 \begin_layout Plain Layout
13739 \begin_layout Plain Layout
13752 \begin_layout Plain Layout
13763 \begin_layout Plain Layout
13775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13778 \begin_layout Plain Layout
13786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13789 \begin_layout Plain Layout
13795 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13798 \begin_layout Plain Layout
13812 \begin_layout Standard
13823 オプションを使用してください。こうすると、セル幅が列幅に等しくなるので、2
13825 tabcolsepを足す必要はなくなります。下記の表では、3
13826 \begin_inset space \thinspace{}
13832 \begin_layout Standard
13835 \begin_inset Tabular
13836 <lyxtabular version="3" rows="2" columns="2">
13837 <features rotate="0" tabularvalignment="middle">
13838 <column alignment="center" valignment="top" width="0pt">
13839 <column alignment="center" valignment="top">
13841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13844 \begin_layout Plain Layout
13848 \begin_layout Plain Layout
13852 diagbox[width=3cm]{
13861 \begin_layout Plain Layout
13872 \begin_layout Plain Layout
13884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13887 \begin_layout Plain Layout
13895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13898 \begin_layout Plain Layout
13904 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13907 \begin_layout Plain Layout
13921 \begin_layout Standard
13922 対角線を引いたセルに複数行を入力するには、文章をセルに合わせるために高さを追加する必要があります。これは、
13932 を与えることで実現できます(「3cm」は必要な高さに置き換えてください)。下記の表では、第1セルに
13935 \begin_layout Standard
13940 diagbox[width=3cm,height=1.4cm]{A
13951 \begin_layout Standard
13952 というコマンドを使用しています。ここでコマンド
13964 \begin_layout Plain Layout
13969 を使っての改行は、列が固定幅の時のみ、使用することができます。
13977 \begin_layout Standard
13980 \begin_inset Tabular
13981 <lyxtabular version="3" rows="2" columns="2">
13982 <features rotate="0" tabularvalignment="middle">
13983 <column alignment="center" valignment="top">
13984 <column alignment="center" valignment="top">
13986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13989 \begin_layout Plain Layout
13993 \begin_layout Plain Layout
13997 diagbox[width=3cm,height=1.4cm]{
14006 \begin_layout Plain Layout
14021 \begin_layout Plain Layout
14032 \begin_layout Plain Layout
14047 \begin_layout Plain Layout
14059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14062 \begin_layout Plain Layout
14070 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14073 \begin_layout Plain Layout
14079 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14082 \begin_layout Plain Layout
14096 \begin_layout Standard
14100 \begin_layout Plain Layout
14110 \begin_inset Note Note
14113 \begin_layout Plain Layout
14126 \begin_layout Standard
14131 パッケージを導入しなくてはなりません。
14134 \begin_layout Standard
14138 \begin_layout Plain Layout
14150 \begin_layout Standard
14156 \begin_inset CommandInset citation
14165 \begin_layout Section
14167 \begin_inset CommandInset label
14169 name "sec:フォーマル形式の表"
14174 \begin_inset Index idx
14177 \begin_layout Plain Layout
14178 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
14186 \begin_layout Standard
14188 \begin_inset CommandInset ref
14190 reference "tab:ブックタブ表の例"
14194 のように組版されます。この種の表は、「
14198 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
14201 \begin_layout Standard
14202 \begin_inset Float table
14208 \begin_layout Plain Layout
14209 \begin_inset Caption Standard
14211 \begin_layout Plain Layout
14212 \begin_inset CommandInset label
14214 name "tab:ブックタブ表の例"
14226 \begin_layout Plain Layout
14228 \begin_inset Tabular
14229 <lyxtabular version="3" rows="8" columns="4">
14230 <features rotate="0" booktabs="true" tabularvalignment="middle">
14231 <column alignment="center" valignment="top">
14232 <column alignment="center" valignment="top">
14233 <column alignment="center" valignment="top">
14234 <column alignment="center" valignment="top">
14236 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14239 \begin_layout Plain Layout
14245 <cell alignment="center" valignment="top" topline="true" usebox="none">
14248 \begin_layout Plain Layout
14250 \begin_inset space \thinspace{}
14258 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14261 \begin_layout Plain Layout
14263 \begin_inset space \thinspace{}
14271 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14274 \begin_layout Plain Layout
14282 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14285 \begin_layout Plain Layout
14289 \begin_layout Plain Layout
14302 \begin_layout Plain Layout
14312 \begin_inset Formula $\mu m$
14320 <cell alignment="center" valignment="top" usebox="none">
14323 \begin_layout Plain Layout
14329 <cell alignment="center" valignment="top" usebox="none">
14332 \begin_layout Plain Layout
14338 <cell alignment="center" valignment="top" usebox="none">
14341 \begin_layout Plain Layout
14349 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14352 \begin_layout Plain Layout
14358 <cell alignment="center" valignment="top" topline="true" usebox="none">
14361 \begin_layout Plain Layout
14367 <cell alignment="center" valignment="top" topline="true" usebox="none">
14370 \begin_layout Plain Layout
14376 <cell alignment="center" valignment="top" topline="true" usebox="none">
14379 \begin_layout Plain Layout
14386 <row topspace="default">
14387 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14390 \begin_layout Plain Layout
14392 \begin_inset Formula $\mu m$
14400 <cell alignment="center" valignment="top" usebox="none">
14403 \begin_layout Plain Layout
14409 <cell alignment="center" valignment="top" usebox="none">
14412 \begin_layout Plain Layout
14418 <cell alignment="center" valignment="top" usebox="none">
14421 \begin_layout Plain Layout
14428 <row topspace="default">
14429 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14432 \begin_layout Plain Layout
14433 \begin_inset Formula $f_{\mathrm{max}}$
14441 <cell alignment="center" valignment="top" usebox="none">
14444 \begin_layout Plain Layout
14450 <cell alignment="center" valignment="top" usebox="none">
14453 \begin_layout Plain Layout
14459 <cell alignment="center" valignment="top" usebox="none">
14462 \begin_layout Plain Layout
14469 <row topspace="default">
14470 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14473 \begin_layout Plain Layout
14477 \begin_layout Plain Layout
14481 cmidrule(l{10pt}){1-1}
14491 <cell alignment="center" valignment="top" usebox="none">
14494 \begin_layout Plain Layout
14500 <cell alignment="center" valignment="top" usebox="none">
14503 \begin_layout Plain Layout
14509 <cell alignment="center" valignment="top" usebox="none">
14512 \begin_layout Plain Layout
14520 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14523 \begin_layout Plain Layout
14524 \begin_inset Formula $\mu m$
14532 <cell alignment="center" valignment="top" usebox="none">
14535 \begin_layout Plain Layout
14541 <cell alignment="center" valignment="top" usebox="none">
14544 \begin_layout Plain Layout
14550 <cell alignment="center" valignment="top" usebox="none">
14553 \begin_layout Plain Layout
14561 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14564 \begin_layout Plain Layout
14570 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14573 \begin_layout Plain Layout
14579 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14582 \begin_layout Plain Layout
14588 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14591 \begin_layout Plain Layout
14610 \begin_layout Standard
14612 \begin_inset CommandInset ref
14614 reference "sub:行の余白取り"
14618 節に述べられているように、表の設定ダイアログの
14625 \begin_layout Standard
14626 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
14627 \begin_inset Newline newline
14631 \begin_inset space \thinspace{}
14634 emですが、他の罫線の既定幅は0.05
14635 \begin_inset space \thinspace{}
14641 \begin_layout Standard
14642 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
14645 \begin_layout Standard
14655 \begin_inset Newline newline
14667 \begin_layout Standard
14672 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
14680 に置き換えて下さい。他の罫線の線幅を変更するには、
14688 に置き換えます。線幅を設定する上では、付録
14689 \begin_inset CommandInset ref
14691 reference "cha:LyXで使用できる単位"
14695 に挙げてあるすべての単位を使用することができます。
14698 \begin_layout Standard
14699 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
14705 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
14708 \begin_layout Standard
14713 cmidrule[幅](刈込){開始列-終了列}
14716 \begin_layout Standard
14723 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
14729 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
14733 \begin_layout Standard
14735 \begin_inset space \thinspace{}
14738 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
14747 の値を取り、刈込幅の指定は非必須です。たとえば、
14751 というパラメーターを使うと、罫線が左端から2
14752 \begin_inset space \thinspace{}
14755 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
14756 \begin_inset space \thinspace{}
14762 \begin_layout Standard
14763 \begin_inset VSpace bigskip
14767 \begin_inset CommandInset ref
14769 reference "tab:ブックタブ表の例"
14776 \begin_layout Standard
14786 \begin_layout Standard
14787 というコマンドを第二行の初めに使用し、
14790 \begin_layout Standard
14795 cmidrule(l{10pt}){1-1}
14798 \begin_layout Standard
14802 \begin_layout Standard
14803 \begin_inset VSpace bigskip
14809 \begin_layout Standard
14811 \begin_inset CommandInset ref
14813 reference "tab:特殊なブックタブ表"
14823 が欲しいことがあるかもしれません。これは、TeXコードで
14826 \begin_layout Standard
14834 \begin_layout Standard
14835 コマンドを使用することによって実現することができます。表
14836 \begin_inset CommandInset ref
14838 reference "tab:特殊なブックタブ表"
14845 \begin_layout Standard
14859 \begin_layout Standard
14860 というコマンドが使用されており、第六列には
14863 \begin_layout Standard
14875 \begin_layout Standard
14879 \begin_layout Standard
14880 \begin_inset VSpace bigskip
14886 \begin_layout Standard
14887 罫線の余白取りにどうしても満足が行かない場合には、
14890 \begin_layout Standard
14895 specialrule{幅}{上余白}{下余白}
14898 \begin_layout Standard
14899 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
14904 \begin_inset CommandInset citation
14911 \begin_inset Index idx
14914 \begin_layout Plain Layout
14915 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
14923 \begin_layout Standard
14924 \begin_inset Float table
14930 \begin_layout Plain Layout
14931 \begin_inset Caption Standard
14933 \begin_layout Plain Layout
14934 \begin_inset CommandInset label
14936 name "tab:特殊なブックタブ表"
14948 \begin_layout Plain Layout
14950 \begin_inset Tabular
14951 <lyxtabular version="3" rows="8" columns="4">
14952 <features rotate="0" booktabs="true" tabularvalignment="middle">
14953 <column alignment="center" valignment="top">
14954 <column alignment="center" valignment="top">
14955 <column alignment="center" valignment="top">
14956 <column alignment="center" valignment="top">
14958 <cell alignment="center" valignment="top" topline="true" usebox="none">
14961 \begin_layout Plain Layout
14967 <cell alignment="center" valignment="top" topline="true" usebox="none">
14970 \begin_layout Plain Layout
14972 \begin_inset space \thinspace{}
14980 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14983 \begin_layout Plain Layout
14985 \begin_inset space \thinspace{}
14993 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14996 \begin_layout Plain Layout
15004 <cell alignment="center" valignment="top" usebox="none">
15007 \begin_layout Plain Layout
15011 \begin_layout Plain Layout
15024 \begin_layout Plain Layout
15037 \begin_layout Plain Layout
15050 \begin_layout Plain Layout
15060 \begin_inset Formula $\mu m$
15068 <cell alignment="center" valignment="top" usebox="none">
15071 \begin_layout Plain Layout
15077 <cell alignment="center" valignment="top" usebox="none">
15080 \begin_layout Plain Layout
15086 <cell alignment="center" valignment="top" usebox="none">
15089 \begin_layout Plain Layout
15097 <cell alignment="center" valignment="top" topline="true" usebox="none">
15100 \begin_layout Plain Layout
15106 <cell alignment="center" valignment="top" topline="true" usebox="none">
15109 \begin_layout Plain Layout
15115 <cell alignment="center" valignment="top" topline="true" usebox="none">
15118 \begin_layout Plain Layout
15124 <cell alignment="center" valignment="top" topline="true" usebox="none">
15127 \begin_layout Plain Layout
15134 <row topspace="default">
15135 <cell alignment="center" valignment="top" usebox="none">
15138 \begin_layout Plain Layout
15140 \begin_inset Formula $\mu m$
15148 <cell alignment="center" valignment="top" usebox="none">
15151 \begin_layout Plain Layout
15157 <cell alignment="center" valignment="top" usebox="none">
15160 \begin_layout Plain Layout
15166 <cell alignment="center" valignment="top" usebox="none">
15169 \begin_layout Plain Layout
15176 <row topspace="default">
15177 <cell alignment="center" valignment="top" usebox="none">
15180 \begin_layout Plain Layout
15181 \begin_inset Formula $f_{\mathrm{max}}$
15189 <cell alignment="center" valignment="top" usebox="none">
15192 \begin_layout Plain Layout
15198 <cell alignment="center" valignment="top" usebox="none">
15201 \begin_layout Plain Layout
15207 <cell alignment="center" valignment="top" usebox="none">
15210 \begin_layout Plain Layout
15218 <cell alignment="center" valignment="top" topline="true" usebox="none">
15221 \begin_layout Plain Layout
15225 \begin_layout Plain Layout
15238 \begin_layout Plain Layout
15252 <cell alignment="center" valignment="top" topline="true" usebox="none">
15255 \begin_layout Plain Layout
15261 <cell alignment="center" valignment="top" topline="true" usebox="none">
15264 \begin_layout Plain Layout
15270 <cell alignment="center" valignment="top" topline="true" usebox="none">
15273 \begin_layout Plain Layout
15281 <cell alignment="center" valignment="top" usebox="none">
15284 \begin_layout Plain Layout
15285 \begin_inset Formula $\mu m$
15293 <cell alignment="center" valignment="top" usebox="none">
15296 \begin_layout Plain Layout
15302 <cell alignment="center" valignment="top" usebox="none">
15305 \begin_layout Plain Layout
15311 <cell alignment="center" valignment="top" usebox="none">
15314 \begin_layout Plain Layout
15322 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15325 \begin_layout Plain Layout
15331 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15334 \begin_layout Plain Layout
15340 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15343 \begin_layout Plain Layout
15349 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15352 \begin_layout Plain Layout
15371 \begin_layout Section
15373 \begin_inset Index idx
15376 \begin_layout Plain Layout
15385 \begin_layout Standard
15386 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
15387 \begin_inset CommandInset ref
15389 reference "sec:ボックスダイアログ"
15393 節に述べられているように、ボックスの垂直揃えを行います。
15396 \begin_layout Standard
15398 \begin_inset space \thinspace{}
15405 \begin_layout Plain Layout
15407 \begin_inset CommandInset ref
15409 reference "sec:ミニページ"
15421 \begin_layout Itemize
15423 \begin_inset Box Frameless
15433 height_special "totalheight"
15436 \begin_layout Plain Layout
15437 \begin_inset Tabular
15438 <lyxtabular version="3" rows="3" columns="3">
15439 <features rotate="0" tabularvalignment="middle">
15440 <column alignment="center" valignment="top">
15441 <column alignment="center" valignment="top">
15442 <column alignment="center" valignment="top">
15444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15447 \begin_layout Plain Layout
15453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15456 \begin_layout Plain Layout
15462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15465 \begin_layout Plain Layout
15473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15476 \begin_layout Plain Layout
15482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15485 \begin_layout Plain Layout
15491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15494 \begin_layout Plain Layout
15502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15505 \begin_layout Plain Layout
15511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15514 \begin_layout Plain Layout
15520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15523 \begin_layout Plain Layout
15543 \begin_layout Plain Layout
15555 \begin_inset Box Frameless
15565 height_special "totalheight"
15568 \begin_layout Plain Layout
15569 \begin_inset Tabular
15570 <lyxtabular version="3" rows="3" columns="3">
15571 <features rotate="0" tabularvalignment="middle">
15572 <column alignment="center" valignment="top">
15573 <column alignment="center" valignment="top">
15574 <column alignment="center" valignment="top">
15576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15579 \begin_layout Plain Layout
15585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15588 \begin_layout Plain Layout
15594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15597 \begin_layout Plain Layout
15605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15608 \begin_layout Plain Layout
15614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15617 \begin_layout Plain Layout
15623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15626 \begin_layout Plain Layout
15634 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15637 \begin_layout Plain Layout
15643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15646 \begin_layout Plain Layout
15652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15655 \begin_layout Plain Layout
15675 \begin_layout Plain Layout
15685 \begin_layout Itemize
15687 \begin_inset Box Frameless
15697 height_special "totalheight"
15700 \begin_layout Plain Layout
15701 \begin_inset Tabular
15702 <lyxtabular version="3" rows="3" columns="3">
15703 <features rotate="0" tabularvalignment="middle">
15704 <column alignment="center" valignment="top">
15705 <column alignment="center" valignment="top">
15706 <column alignment="center" valignment="top">
15708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15711 \begin_layout Plain Layout
15717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15720 \begin_layout Plain Layout
15726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15729 \begin_layout Plain Layout
15737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15740 \begin_layout Plain Layout
15746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15749 \begin_layout Plain Layout
15755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15758 \begin_layout Plain Layout
15766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15769 \begin_layout Plain Layout
15775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15778 \begin_layout Plain Layout
15784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15787 \begin_layout Plain Layout
15806 \begin_layout Itemize
15808 \begin_inset Box Frameless
15818 height_special "totalheight"
15821 \begin_layout Plain Layout
15822 \begin_inset Tabular
15823 <lyxtabular version="3" rows="3" columns="3">
15824 <features rotate="0" tabularvalignment="middle">
15825 <column alignment="center" valignment="top">
15826 <column alignment="center" valignment="top">
15827 <column alignment="center" valignment="top">
15829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15832 \begin_layout Plain Layout
15838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15841 \begin_layout Plain Layout
15847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15850 \begin_layout Plain Layout
15858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15861 \begin_layout Plain Layout
15867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15870 \begin_layout Plain Layout
15876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15879 \begin_layout Plain Layout
15887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15890 \begin_layout Plain Layout
15896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15899 \begin_layout Plain Layout
15905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15908 \begin_layout Plain Layout
15928 \begin_layout Plain Layout
15940 \begin_inset Box Frameless
15950 height_special "totalheight"
15953 \begin_layout Plain Layout
15954 \begin_inset Tabular
15955 <lyxtabular version="3" rows="3" columns="3">
15956 <features rotate="0" tabularvalignment="middle">
15957 <column alignment="center" valignment="top">
15958 <column alignment="center" valignment="top">
15959 <column alignment="center" valignment="top">
15961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15964 \begin_layout Plain Layout
15970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15973 \begin_layout Plain Layout
15979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15982 \begin_layout Plain Layout
15990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15993 \begin_layout Plain Layout
15999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16002 \begin_layout Plain Layout
16008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16011 \begin_layout Plain Layout
16019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16022 \begin_layout Plain Layout
16028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16031 \begin_layout Plain Layout
16037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16040 \begin_layout Plain Layout
16060 \begin_layout Plain Layout
16070 \begin_layout Standard
16071 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
16075 \begin_layout Plain Layout
16077 \begin_inset CommandInset ref
16079 reference "sub:垂直揃え"
16088 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
16091 \begin_layout Standard
16101 \begin_layout Standard
16102 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
16106 をTeXコードとして挿入してあります。最後の項目の第二表には、
16109 \begin_layout Standard
16119 \begin_layout Standard
16123 \begin_layout Standard
16124 \begin_inset Note Greyedout
16127 \begin_layout Plain Layout
16132 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
16138 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
16146 \begin_layout Section
16148 \begin_inset CommandInset label
16155 \begin_inset Index idx
16158 \begin_layout Plain Layout
16167 \begin_layout Subsection
16169 \begin_inset Index idx
16172 \begin_layout Plain Layout
16173 ひょうのいろ@表の色 ! せるぶ@セル部
16179 \begin_inset Index idx
16182 \begin_layout Plain Layout
16183 いろつき@色付き ! ひょうせるぶ@表セル部
16191 \begin_layout Standard
16192 \begin_inset Float table
16198 \begin_layout Plain Layout
16199 \begin_inset Caption Standard
16201 \begin_layout Plain Layout
16202 \begin_inset CommandInset label
16204 name "tab:colortblなしの表"
16213 \begin_inset Argument 1
16216 \begin_layout Plain Layout
16230 \begin_layout Plain Layout
16232 \begin_inset Tabular
16233 <lyxtabular version="3" rows="3" columns="3">
16234 <features rotate="0" tabularvalignment="middle">
16235 <column alignment="center" valignment="top">
16236 <column alignment="center" valignment="top">
16237 <column alignment="center" valignment="top">
16239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16242 \begin_layout Plain Layout
16250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16253 \begin_layout Plain Layout
16261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16264 \begin_layout Plain Layout
16274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16277 \begin_layout Plain Layout
16285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16288 \begin_layout Plain Layout
16296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16299 \begin_layout Plain Layout
16309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16312 \begin_layout Plain Layout
16320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16323 \begin_layout Plain Layout
16331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16334 \begin_layout Plain Layout
16355 \begin_layout Standard
16356 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
16358 編集\SpecialChar \menuseparator
16362 \begin_inset CommandInset ref
16364 reference "tab:colortblなしの表"
16368 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
16373 \begin_inset Index idx
16376 \begin_layout Plain Layout
16377 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
16385 \begin_layout Standard
16389 \begin_layout Plain Layout
16399 \begin_inset Note Note
16402 \begin_layout Plain Layout
16403 本節の以下の部分は、LaTeXパッケージ
16415 \begin_layout Standard
16416 色付きの表を作成するには、プリアンブルに
16419 \begin_layout Standard
16424 usepackage{colortbl}
16427 \begin_layout Standard
16432 を読み込まなくてはなりません。列の色は、
16439 \begin_layout Standard
16447 \begin_layout Standard
16448 というコマンドを書いて指定することができます。
16453 \begin_inset CommandInset ref
16455 reference "sub:連結列の計算"
16462 \begin_layout Standard
16463 以下の色彩名が事前に定義されています。
16466 \begin_layout Standard
16500 \begin_layout Standard
16501 \begin_inset VSpace medskip
16507 \begin_layout Standard
16508 また、文書設定中で、文書クラスオプションに
16511 \begin_layout Standard
16514 usenames,dvipsnames
16517 \begin_layout Standard
16518 を与えると、さらに61色を使用することができます。これらの色は、附録
16519 \begin_inset CommandInset ref
16521 reference "chap:dvips色名一覧"
16525 に列挙されています。それらの色の1つ、
16530 \begin_inset CommandInset ref
16532 reference "tab:色付き表"
16539 \begin_layout Standard
16540 \begin_inset VSpace medskip
16546 \begin_layout Standard
16550 \begin_layout Standard
16555 definecolor{色彩名}{色彩モデル}{色彩値}
16558 \begin_layout Standard
16559 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
16562 \begin_layout Labeling
16563 \labelwidthstring 00.00.0000
16583 \begin_layout Labeling
16584 \labelwidthstring 00.00.0000
16600 \begin_layout Labeling
16601 \labelwidthstring 00.00.0000
16605 \begin_layout Standard
16606 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
16609 \begin_layout Standard
16613 \begin_layout Standard
16618 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
16621 \begin_layout Standard
16629 \begin_layout Standard
16634 definecolor{lightgray}{gray}{0.8}
16637 \begin_layout Standard
16645 \begin_layout Standard
16646 \begin_inset VSpace medskip
16652 \begin_layout Standard
16656 \begin_layout Standard
16664 \begin_layout Standard
16665 というコマンドを使用して色付けすることができ、セルは
16668 \begin_layout Standard
16676 \begin_layout Standard
16677 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
16680 \begin_layout Standard
16681 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
16683 編集\SpecialChar \menuseparator
16686 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
16690 \begin_layout Standard
16691 \begin_inset Note Greyedout
16694 \begin_layout Plain Layout
16699 DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
16707 \begin_layout Standard
16708 \begin_inset VSpace bigskip
16714 \begin_layout Standard
16716 \begin_inset CommandInset ref
16718 reference "tab:色付き表"
16722 を作成するには、以下のようにしてください。第一列の色は
16726 にしたいので、この列のLaTeX変数として
16729 \begin_layout Standard
16734 columncolor{darkgreen}
16739 \begin_layout Standard
16740 と書き込みます。第一列は青にしたいので、この列の最初のセルに
16743 \begin_layout Standard
16751 \begin_layout Standard
16752 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最終行の最後のセルは、
16755 \begin_layout Standard
16763 \begin_layout Standard
16764 というTeXコードコマンドを書き込むことで、マルーンに色づけされています。この後、
16766 編集\SpecialChar \menuseparator
16769 メニューを使って、各文字に色付けをすることができます。
16772 \begin_layout Standard
16773 \begin_inset Float table
16779 \begin_layout Plain Layout
16780 \begin_inset Caption Standard
16782 \begin_layout Plain Layout
16785 \begin_inset CommandInset label
16794 \begin_inset Argument 1
16797 \begin_layout Plain Layout
16811 \begin_layout Plain Layout
16813 \begin_inset Tabular
16814 <lyxtabular version="3" rows="3" columns="3">
16815 <features rotate="0" tabularvalignment="middle">
16816 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
16817 <column alignment="center" valignment="top">
16818 <column alignment="center" valignment="top">
16820 <cell alignment="center" valignment="top" usebox="none">
16823 \begin_layout Plain Layout
16827 \begin_layout Plain Layout
16843 <cell alignment="center" valignment="top" usebox="none">
16846 \begin_layout Plain Layout
16854 <cell alignment="center" valignment="top" usebox="none">
16857 \begin_layout Plain Layout
16867 <cell alignment="center" valignment="top" usebox="none">
16870 \begin_layout Plain Layout
16878 <cell alignment="center" valignment="top" usebox="none">
16881 \begin_layout Plain Layout
16889 <cell alignment="center" valignment="top" usebox="none">
16892 \begin_layout Plain Layout
16902 <cell alignment="center" valignment="top" usebox="none">
16905 \begin_layout Plain Layout
16913 <cell alignment="center" valignment="top" usebox="none">
16916 \begin_layout Plain Layout
16924 <cell alignment="center" valignment="top" usebox="none">
16927 \begin_layout Plain Layout
16931 \begin_layout Plain Layout
16960 \begin_layout Standard
16964 \begin_layout Plain Layout
16974 \begin_inset Note Note
16977 \begin_layout Plain Layout
16982 が導入されていないときに表示されます。
16990 \begin_layout Standard
16998 \begin_layout Standard
17002 \begin_layout Plain Layout
17014 \begin_layout Subsection
17016 \begin_inset Index idx
17019 \begin_layout Plain Layout
17020 ひょうのいろ@表の色 ! ぎょうぜんたい@行全体
17026 \begin_inset Index idx
17029 \begin_layout Plain Layout
17030 いろつき@色付き ! ひょうのぎょう@表の行
17038 \begin_layout Standard
17039 表の行を交互に色付けする必要がある場合、前節に述べたのとは別な方法があります。文書プリアンブルに
17042 \begin_layout Standard
17047 usepackage[table]{xcolor}
17050 \begin_layout Standard
17056 \begin_inset Index idx
17059 \begin_layout Plain Layout
17060 LaTeXぱっけーじ@LaTeXパッケージ ! xcolor
17064 \begin_layout Plain Layout
17087 \begin_inset Index idx
17090 \begin_layout Plain Layout
17091 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
17096 パッケージも読み込むので、LaTeXエラーを防ぐためには、お使いのLaTeX頒布版中に
17103 \begin_layout Standard
17107 \begin_layout Plain Layout
17117 \begin_inset Note Note
17120 \begin_layout Plain Layout
17121 本節の以下の部分は、LaTeXパッケージ
17133 \begin_layout Standard
17134 表の行は、文書プリアンブル中か、色付けする最初の表の前にTeXコードで
17137 \begin_layout Standard
17142 rowcolors[コマンド]{行番号}{奇数行の色}{偶数行の色}
17145 \begin_layout Standard
17146 というコマンドを使用すれば、色付けすることができます。ここで、「行番号」は、奇数行色で色付けする最初の行の番号です。「コマンド」は、各行の前で実行したいコマンド
17147 を付加する時に用います。したがって、例えば
17150 \begin_layout Standard
17155 rowcolors{1}{white}{lightgray}
17158 \begin_layout Standard
17160 \begin_inset CommandInset ref
17162 reference "tab:表-行色"
17166 のようなカラースキームをもたらします。また、
17169 \begin_layout Standard
17176 hline]{1}{lightgray}{cyan}
17179 \begin_layout Standard
17181 \begin_inset CommandInset ref
17183 reference "tab:表-行色-2"
17187 のようなカラースキームになります。「奇数行の色」ないし「偶数行の色」(またはその両方)が空のときは、色付けはされませんので、
17190 \begin_layout Standard
17198 \begin_layout Standard
17199 というコマンドはすべての色付けを削除することになります。
17205 は、コマンドに続くすべての表に影響を及ぼします。
17208 \begin_layout Standard
17212 \begin_layout Plain Layout
17216 rowcolors{1}{white}{lightgray}
17224 \begin_layout Standard
17225 \begin_inset Float table
17231 \begin_layout Plain Layout
17232 \begin_inset Caption Standard
17234 \begin_layout Plain Layout
17235 \begin_inset CommandInset label
17249 \begin_layout Plain Layout
17251 \begin_inset Tabular
17252 <lyxtabular version="3" rows="4" columns="3">
17253 <features rotate="0" tabularvalignment="middle">
17254 <column alignment="center" valignment="top">
17255 <column alignment="center" valignment="top" width="0pt">
17256 <column alignment="center" valignment="top" width="0pt">
17258 <cell alignment="center" valignment="top" usebox="none">
17261 \begin_layout Plain Layout
17267 <cell alignment="center" valignment="top" usebox="none">
17270 \begin_layout Plain Layout
17276 <cell alignment="center" valignment="top" usebox="none">
17279 \begin_layout Plain Layout
17287 <cell alignment="center" valignment="top" usebox="none">
17290 \begin_layout Plain Layout
17296 <cell alignment="center" valignment="top" usebox="none">
17299 \begin_layout Plain Layout
17305 <cell alignment="center" valignment="top" usebox="none">
17308 \begin_layout Plain Layout
17316 <cell alignment="center" valignment="top" usebox="none">
17319 \begin_layout Plain Layout
17325 <cell alignment="center" valignment="top" usebox="none">
17328 \begin_layout Plain Layout
17334 <cell alignment="center" valignment="top" usebox="none">
17337 \begin_layout Plain Layout
17345 <cell alignment="center" valignment="top" usebox="none">
17348 \begin_layout Plain Layout
17354 <cell alignment="center" valignment="top" usebox="none">
17357 \begin_layout Plain Layout
17363 <cell alignment="center" valignment="top" usebox="none">
17366 \begin_layout Plain Layout
17385 \begin_layout Standard
17389 \begin_layout Plain Layout
17395 hline]{1}{lightgray}{cyan}
17403 \begin_layout Standard
17404 \begin_inset Float table
17410 \begin_layout Plain Layout
17411 \begin_inset Caption Standard
17413 \begin_layout Plain Layout
17414 \begin_inset CommandInset label
17420 隔行でシアン色に着色され、行間に線の入った表
17428 \begin_layout Plain Layout
17430 \begin_inset Tabular
17431 <lyxtabular version="3" rows="4" columns="3">
17432 <features rotate="0" tabularvalignment="middle">
17433 <column alignment="center" valignment="top">
17434 <column alignment="center" valignment="top">
17435 <column alignment="center" valignment="top" width="0pt">
17437 <cell alignment="center" valignment="top" usebox="none">
17440 \begin_layout Plain Layout
17446 <cell alignment="center" valignment="top" usebox="none">
17449 \begin_layout Plain Layout
17455 <cell alignment="center" valignment="top" usebox="none">
17458 \begin_layout Plain Layout
17466 <cell alignment="center" valignment="top" usebox="none">
17469 \begin_layout Plain Layout
17475 <cell alignment="center" valignment="top" usebox="none">
17478 \begin_layout Plain Layout
17484 <cell alignment="center" valignment="top" usebox="none">
17487 \begin_layout Plain Layout
17495 <cell alignment="center" valignment="top" usebox="none">
17498 \begin_layout Plain Layout
17504 <cell alignment="center" valignment="top" usebox="none">
17507 \begin_layout Plain Layout
17513 <cell alignment="center" valignment="top" usebox="none">
17516 \begin_layout Plain Layout
17524 <cell alignment="center" valignment="top" usebox="none">
17527 \begin_layout Plain Layout
17533 <cell alignment="center" valignment="top" usebox="none">
17536 \begin_layout Plain Layout
17542 <cell alignment="center" valignment="top" usebox="none">
17545 \begin_layout Plain Layout
17564 \begin_layout Standard
17568 \begin_layout Plain Layout
17578 \begin_inset Note Note
17581 \begin_layout Plain Layout
17590 \begin_layout Standard
17594 \begin_layout Plain Layout
17604 \begin_inset Note Note
17607 \begin_layout Plain Layout
17612 が導入されていないときに表示されます。
17620 \begin_layout Standard
17628 \begin_layout Standard
17632 \begin_layout Plain Layout
17644 \begin_layout Subsection
17646 \begin_inset Index idx
17649 \begin_layout Plain Layout
17650 ひょうのいろ@表の色 ! けいせんぶ@罫線部
17656 \begin_inset Index idx
17659 \begin_layout Plain Layout
17660 いろつき@色付き ! ひょうけいせんぶ@表罫線部
17668 \begin_layout Standard
17670 \begin_inset CommandInset ref
17672 reference "sub:罫線幅"
17676 節に述べられているように、表中の全罫線の線幅は、長さ
17682 を使って調節することができます。本節の表では、すべて1.5
17683 \begin_inset space \thinspace{}
17690 \begin_layout Plain Layout
17696 arrayrulewidth}{1.5pt}
17704 \begin_layout Standard
17706 \begin_inset CommandInset ref
17708 reference "sub:自製書式"
17712 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
17715 \begin_layout Standard
17720 newcolumntype{W}{!{
17727 \begin_layout Standard
17729 \begin_inset CommandInset ref
17731 reference "tab:色付き縦罫線の表"
17746 \begin_layout Standard
17747 複数の色を用いたいときには、列書式をもっと定義してください。
17750 \begin_layout Standard
17751 \begin_inset Float table
17757 \begin_layout Plain Layout
17758 \begin_inset Caption Standard
17760 \begin_layout Plain Layout
17761 \begin_inset CommandInset label
17763 name "tab:色付き縦罫線の表"
17775 \begin_layout Plain Layout
17777 \begin_inset Tabular
17778 <lyxtabular version="3" rows="3" columns="3">
17779 <features rotate="0" tabularvalignment="middle">
17780 <column alignment="center" valignment="top" special="Wc">
17781 <column alignment="center" valignment="top" special="Wc">
17782 <column alignment="center" valignment="top" special="WcW">
17784 <cell alignment="center" valignment="top" topline="true" usebox="none">
17787 \begin_layout Plain Layout
17793 <cell alignment="center" valignment="top" topline="true" usebox="none">
17796 \begin_layout Plain Layout
17802 <cell alignment="center" valignment="top" topline="true" usebox="none">
17805 \begin_layout Plain Layout
17813 <cell alignment="center" valignment="top" topline="true" usebox="none">
17816 \begin_layout Plain Layout
17822 <cell alignment="center" valignment="top" topline="true" usebox="none">
17825 \begin_layout Plain Layout
17831 <cell alignment="center" valignment="top" topline="true" usebox="none">
17834 \begin_layout Plain Layout
17842 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17845 \begin_layout Plain Layout
17851 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17854 \begin_layout Plain Layout
17860 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17863 \begin_layout Plain Layout
17882 \begin_layout Standard
17883 \begin_inset VSpace bigskip
17887 \begin_inset CommandInset ref
17889 reference "tab:色付き横罫線の表"
17893 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
17896 \begin_layout Standard
17906 \begin_inset Newline newline
17914 \begin_inset Newline newline
17918 \begin_inset Phantom HPhantom
17921 \begin_layout Plain Layout
17922 \begin_inset space ~
17932 arrayrulecolor{red}
17936 arrayrulecolor{black}}
17939 \begin_layout Standard
17943 \begin_layout Standard
17947 \begin_layout Plain Layout
17958 \begin_layout Plain Layout
17967 \begin_layout Plain Layout
17971 arrayrulecolor{red}
17975 arrayrulecolor{black}}
17981 \begin_inset Float table
17987 \begin_layout Plain Layout
17988 \begin_inset Caption Standard
17990 \begin_layout Plain Layout
17991 \begin_inset CommandInset label
17993 name "tab:色付き横罫線の表"
18005 \begin_layout Plain Layout
18007 \begin_inset Tabular
18008 <lyxtabular version="3" rows="3" columns="3">
18009 <features rotate="0" tabularvalignment="middle">
18010 <column alignment="center" valignment="top">
18011 <column alignment="center" valignment="top">
18012 <column alignment="center" valignment="top">
18014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18017 \begin_layout Plain Layout
18023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18026 \begin_layout Plain Layout
18032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18035 \begin_layout Plain Layout
18043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18046 \begin_layout Plain Layout
18052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18055 \begin_layout Plain Layout
18061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18064 \begin_layout Plain Layout
18072 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18075 \begin_layout Plain Layout
18081 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18084 \begin_layout Plain Layout
18090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18093 \begin_layout Plain Layout
18112 \begin_layout Standard
18116 \begin_layout Standard
18128 \begin_layout Standard
18129 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
18130 \begin_inset CommandInset ref
18132 reference "tab:色付き罫線の表"
18139 \begin_layout Standard
18140 \begin_inset Float table
18146 \begin_layout Plain Layout
18147 \begin_inset Caption Standard
18149 \begin_layout Plain Layout
18150 \begin_inset CommandInset label
18164 \begin_layout Plain Layout
18166 \begin_inset Tabular
18167 <lyxtabular version="3" rows="3" columns="3">
18168 <features rotate="0" tabularvalignment="middle">
18169 <column alignment="center" valignment="top" special="Wc">
18170 <column alignment="center" valignment="top" special="Wc">
18171 <column alignment="center" valignment="top" special="WcW">
18173 <cell alignment="center" valignment="top" topline="true" usebox="none">
18176 \begin_layout Plain Layout
18182 <cell alignment="center" valignment="top" topline="true" usebox="none">
18185 \begin_layout Plain Layout
18191 <cell alignment="center" valignment="top" topline="true" usebox="none">
18194 \begin_layout Plain Layout
18202 <cell alignment="center" valignment="top" topline="true" usebox="none">
18205 \begin_layout Plain Layout
18211 <cell alignment="center" valignment="top" topline="true" usebox="none">
18214 \begin_layout Plain Layout
18220 <cell alignment="center" valignment="top" topline="true" usebox="none">
18223 \begin_layout Plain Layout
18230 <row topspace="default">
18231 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18234 \begin_layout Plain Layout
18240 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18243 \begin_layout Plain Layout
18249 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18252 \begin_layout Plain Layout
18271 \begin_layout Standard
18275 \begin_layout Plain Layout
18291 \begin_layout Standard
18295 \begin_layout Plain Layout
18301 arrayrulewidth}{0.4pt}
18309 \begin_layout Section
18311 \begin_inset CommandInset label
18318 \begin_inset Index idx
18321 \begin_layout Plain Layout
18322 ひょう@表 ! せるのかいてん@セルの回転
18328 \begin_inset Index idx
18331 \begin_layout Plain Layout
18332 かいてん@回転 ! そざいの@素材の---
18340 \begin_layout Standard
18341 \begin_inset Note Greyedout
18344 \begin_layout Plain Layout
18349 すべてのDVIビューアが回転表示できるわけではありません。
18357 \begin_layout Standard
18358 いまのところ、LyXでは、表セルは、反時計回りに90
18359 \begin_inset space \thinspace{}
18362 °毎に回転させることしかできません。これ以外の角度にセルを回転させたい場合には、文書プリアンブルに
18365 \begin_layout Standard
18370 @ifundefined{turnbox}{
18372 usepackage{rotating}}{}
18375 \begin_layout Standard
18376 と書き加えなくてはなりません。回転させる表セルの冒頭に、TeXコードで
18379 \begin_layout Standard
18387 \begin_layout Standard
18388 というコマンドを書き加えてください。ここで角度は、°での回転角です。さらに、セルの終わりで、TeXコードで
18391 \begin_layout Standard
18399 \begin_layout Standard
18401 \begin_inset CommandInset ref
18403 reference "tab:表多行回転"
18407 は、3つのセルを45°回転させた用例です。
18410 \begin_layout Standard
18411 \begin_inset Float table
18416 \begin_layout Plain Layout
18417 \begin_inset Caption Standard
18419 \begin_layout Plain Layout
18420 \begin_inset CommandInset label
18434 \begin_layout Plain Layout
18437 \begin_inset Tabular
18438 <lyxtabular version="3" rows="2" columns="3">
18439 <features rotate="0" tabularvalignment="middle">
18440 <column alignment="center" valignment="top">
18441 <column alignment="center" valignment="top" width="0pt">
18442 <column alignment="center" valignment="top">
18444 <cell alignment="center" valignment="top" usebox="none">
18447 \begin_layout Plain Layout
18451 \begin_layout Plain Layout
18464 \begin_layout Plain Layout
18478 <cell alignment="center" valignment="top" usebox="none">
18481 \begin_layout Plain Layout
18485 \begin_layout Plain Layout
18498 \begin_layout Plain Layout
18512 <cell alignment="center" valignment="top" usebox="none">
18515 \begin_layout Plain Layout
18519 \begin_layout Plain Layout
18532 \begin_layout Plain Layout
18548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18551 \begin_layout Plain Layout
18557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18560 \begin_layout Plain Layout
18566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18569 \begin_layout Plain Layout
18588 \begin_layout Standard
18589 \begin_inset Note Greyedout
18592 \begin_layout Plain Layout
18598 \begin_inset Flex Ruby
18601 \begin_layout Plain Layout
18603 \begin_inset Argument post:1
18606 \begin_layout Plain Layout
18620 arg "newline-insert newline"
18631 \begin_layout Standard
18632 改行を含むセルを回転させたい場合には、セルの内容をminipageかparboxに置かなくてはなりません
18636 \begin_layout Plain Layout
18638 \begin_inset CommandInset ref
18640 reference "sec:ミニページ"
18645 \begin_inset CommandInset ref
18647 reference "sec:Parboxes"
18657 \begin_inset space \thinspace{}
18660 °回転させると、ボックス幅はセルの高さになります。表
18661 \begin_inset CommandInset ref
18663 reference "tab:表多行回転"
18668 \begin_inset space \thinspace{}
18674 \begin_layout Standard
18675 \begin_inset Float table
18680 \begin_layout Plain Layout
18681 \begin_inset Caption Standard
18683 \begin_layout Plain Layout
18684 \begin_inset CommandInset label
18698 \begin_layout Plain Layout
18701 \begin_inset Tabular
18702 <lyxtabular version="3" rows="2" columns="3">
18703 <features rotate="0" tabularvalignment="middle">
18704 <column alignment="center" valignment="top">
18705 <column alignment="center" valignment="top" width="0pt">
18706 <column alignment="center" valignment="top">
18708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18711 \begin_layout Plain Layout
18717 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
18720 \begin_layout Plain Layout
18721 \begin_inset Box Frameless
18731 height_special "totalheight"
18734 \begin_layout Plain Layout
18736 \begin_inset Newline newline
18749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18752 \begin_layout Plain Layout
18760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18763 \begin_layout Plain Layout
18769 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18772 \begin_layout Plain Layout
18778 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18781 \begin_layout Plain Layout
18800 \begin_layout Section
18802 \begin_inset CommandInset label
18811 \begin_layout Standard
18812 幅広の表では、表がページ余白に突き出てしまわないように調整するのが難しいことがあります。表中の全列に固定幅を設定する方法もありますが、では各列にどれくらいの幅を
18816 \begin_layout Standard
18818 \begin_inset Formula $W_{\text{表}}$
18821 は計算することができます。各列の実際の幅は、指定した列幅
18822 \begin_inset Formula $W_{\text{列}}$
18825 に、列の内容と列罫線との間の余白(LaTeX長
18832 \begin_inset space \thinspace{}
18842 \begin_inset space \thinspace{}
18845 pt)を加えたものになります。したがって、もし同じ幅の
18846 \begin_inset Formula $n$
18850 \begin_inset Formula
18852 W_{\text{表}}=n\left(W_{\text{列}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
18860 \begin_layout Standard
18861 となります。表が使用できる幅は、ページ余白の間の幅か、本文段幅(二段組文書の場合)です(LaTeX長
18867 )。表の列をすべて同じ幅にするとすれば、
18868 \begin_inset Formula $W_{\text{表}}$
18872 \begin_inset space \thinspace{}
18877 columnwidthになりますので、
18878 \begin_inset Formula $W_{\text{列}}$
18884 \begin_layout Standard
18885 計算を行わせる場合には、文書プリアンブル中でLaTeXパッケージ
18890 \begin_inset Index idx
18893 \begin_layout Plain Layout
18894 LaTeXぱっけーじ@LaTeXパッケージ ! calc
18899 を読みこませる必要があります。表ダイアログ中で幅を設定するには、
18903 フィールドに書きこまなくてはなりません。このフィールドのコマンドスキームは、第
18904 \begin_inset CommandInset ref
18906 reference "sub:連結列の計算"
18910 節で説明したのと同様です。同幅中央揃え5列の表ならば、各列の同フィールドに
18913 \begin_layout Standard
18920 columnwidth-62.4pt)/5}
18923 \begin_layout Standard
18924 というコマンドを入力します。5列の表で、うち2列が他の3列の幅の0.75倍であるような表の場合には、計算は
18925 \begin_inset Formula
18927 \backslash\mbox{columnwidth} & =3\, W_{\text{列}}+2\cdot0.75\, W_{\text{列}}+\backslash\mbox{arrayrulewidth}\nonumber \\
18928 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
18929 & =4.5\, W_{\text{列}}+62.4\,\mathrm{pt}\nonumber \\
18930 W_{\text{列}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
18938 \begin_layout Standard
18939 となります。したがって、表中の広い列には
18942 \begin_layout Standard
18949 columnwidth-62.4pt)/
18954 \begin_layout Standard
18958 \begin_layout Standard
18965 columnwidth-62.4pt)/
18972 \begin_layout Standard
18973 というコマンドを用いることにすると、以下の表が出来上がります。
18976 \begin_layout Standard
18977 \begin_inset Tabular
18978 <lyxtabular version="3" rows="2" columns="5">
18979 <features rotate="0" tabularvalignment="middle">
18980 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18981 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
18982 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18983 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
18984 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
18986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18989 \begin_layout Plain Layout
18995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18998 \begin_layout Plain Layout
19004 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19007 \begin_layout Plain Layout
19013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19016 \begin_layout Plain Layout
19022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19025 \begin_layout Plain Layout
19033 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19036 \begin_layout Plain Layout
19037 111111 1111111 111111 111111111 11111 11111 1111
19042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19045 \begin_layout Plain Layout
19051 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19054 \begin_layout Plain Layout
19055 2222 22222 222222 222222222 2222222 22 22222
19060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19063 \begin_layout Plain Layout
19069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19072 \begin_layout Plain Layout
19073 333333 333333 333333 33333 3333333 333
19086 \begin_layout Section
19088 \begin_inset Index idx
19091 \begin_layout Plain Layout
19098 \begin_inset Index idx
19101 \begin_layout Plain Layout
19110 \begin_layout Subsection
19112 \begin_inset CommandInset label
19119 \begin_inset Index idx
19122 \begin_layout Plain Layout
19123 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
19131 \begin_layout Standard
19136 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
19139 \begin_layout Description
19140 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
19144 \begin_layout Plain Layout
19146 \begin_inset CommandInset ref
19148 reference "sec:フォーマル形式の表"
19158 \begin_inset space \thinspace{}
19161 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19162 \begin_inset VSpace medskip
19166 \begin_inset Newline newline
19170 \begin_inset space \hspace*{}
19175 \begin_inset space \hfill{}
19179 \begin_inset Tabular
19180 <lyxtabular version="3" rows="3" columns="1">
19181 <features rotate="0" tabularvalignment="middle">
19182 <column alignment="center" valignment="top">
19184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19187 \begin_layout Plain Layout
19194 <row topspace="3mm">
19195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19198 \begin_layout Plain Layout
19200 \begin_inset space \thinspace{}
19210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19213 \begin_layout Plain Layout
19225 \begin_inset space \hfill{}
19229 \begin_inset space \hspace*{}
19234 \begin_inset VSpace medskip
19238 \begin_inset Newline newline
19241 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
19244 \begin_layout Description
19245 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19246 \begin_inset space \thinspace{}
19249 emの余白を挿入し、通常の表ならば既定値として2
19250 \begin_inset space \thinspace{}
19256 \begin_layout Description
19257 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19258 \begin_inset space \thinspace{}
19261 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19262 \begin_inset VSpace medskip
19266 \begin_inset Newline newline
19270 \begin_inset space \hspace*{}
19275 \begin_inset space \hfill{}
19279 \begin_inset Tabular
19280 <lyxtabular version="3" rows="3" columns="1">
19281 <features rotate="0" tabularvalignment="middle">
19282 <column alignment="center" valignment="top">
19284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19287 \begin_layout Plain Layout
19294 <row interlinespace="3mm">
19295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19298 \begin_layout Plain Layout
19299 \begin_inset Formula $\downarrow$
19303 \begin_inset space \thinspace{}
19307 \begin_inset Formula $\downarrow$
19317 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19320 \begin_layout Plain Layout
19321 \begin_inset Formula $\uparrow$
19325 \begin_inset space \thinspace{}
19329 \begin_inset Formula $\uparrow$
19343 \begin_inset space \hfill{}
19347 \begin_inset space \hspace*{}
19352 \begin_inset VSpace medskip
19356 \begin_inset Newline newline
19359 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
19362 \begin_layout Standard
19363 \begin_inset VSpace bigskip
19366 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
19369 \begin_layout Standard
19374 @ifundefined{extrarowheight}
19375 \begin_inset Newline newline
19379 \begin_inset Phantom HPhantom
19382 \begin_layout Plain Layout
19383 \begin_inset space ~
19393 usepackage{array}}{}
19394 \begin_inset Newline newline
19401 extrarowheight}{height}
19404 \begin_layout Standard
19405 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
19409 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
19418 \begin_layout Standard
19419 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
19425 コマンドを挿入することで補正することができます。表
19426 \begin_inset CommandInset ref
19428 reference "tab:垂直揃え"
19435 \begin_layout Standard
19437 \begin_inset Float table
19443 \begin_layout Plain Layout
19444 \begin_inset Caption Standard
19446 \begin_layout Plain Layout
19447 \begin_inset CommandInset label
19461 \begin_layout Plain Layout
19462 \begin_inset space \hfill{}
19466 \begin_inset Float table
19471 \begin_layout Plain Layout
19472 \begin_inset Caption Standard
19474 \begin_layout Plain Layout
19483 \begin_layout Plain Layout
19486 \begin_inset Tabular
19487 <lyxtabular version="3" rows="6" columns="1">
19488 <features rotate="0" tabularvalignment="middle">
19489 <column alignment="left" valignment="top">
19491 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19494 \begin_layout Plain Layout
19502 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19505 \begin_layout Plain Layout
19515 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19518 \begin_layout Plain Layout
19528 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19531 \begin_layout Plain Layout
19541 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19544 \begin_layout Plain Layout
19554 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19557 \begin_layout Plain Layout
19576 \begin_inset space \hfill{}
19580 \begin_inset Float table
19585 \begin_layout Plain Layout
19586 \begin_inset Caption Standard
19588 \begin_layout Plain Layout
19603 \begin_layout Plain Layout
19606 \begin_inset Tabular
19607 <lyxtabular version="3" rows="6" columns="1">
19608 <features rotate="0" tabularvalignment="middle">
19609 <column alignment="left" valignment="top">
19611 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19614 \begin_layout Plain Layout
19622 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19625 \begin_layout Plain Layout
19631 \begin_layout Plain Layout
19647 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19650 \begin_layout Plain Layout
19656 \begin_layout Plain Layout
19672 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19675 \begin_layout Plain Layout
19681 \begin_layout Plain Layout
19697 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19700 \begin_layout Plain Layout
19706 \begin_layout Plain Layout
19722 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19725 \begin_layout Plain Layout
19731 \begin_layout Plain Layout
19756 \begin_inset space \hfill{}
19767 \begin_layout Subsection
19769 \begin_inset CommandInset label
19776 \begin_inset Index idx
19779 \begin_layout Plain Layout
19780 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
19788 \begin_layout Standard
19790 \begin_inset CommandInset ref
19792 reference "tab:表セル"
19796 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
19797 \begin_inset Graphics
19798 filename ../../images/tabular-feature_align-decimal.png
19800 scaleBeforeRotation
19811 \begin_layout Standard
19812 \begin_inset Float table
19818 \begin_layout Plain Layout
19819 \begin_inset Caption Standard
19821 \begin_layout Plain Layout
19822 \begin_inset CommandInset label
19836 \begin_layout Plain Layout
19838 \begin_inset Tabular
19839 <lyxtabular version="3" rows="4" columns="1">
19840 <features rotate="0" booktabs="true" tabularvalignment="middle">
19841 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
19843 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19846 \begin_layout Plain Layout
19854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19857 \begin_layout Plain Layout
19865 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19868 \begin_layout Plain Layout
19876 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
19879 \begin_layout Plain Layout
19898 \begin_layout Standard
19899 \begin_inset Float table
19905 \begin_layout Plain Layout
19906 \begin_inset Caption Standard
19908 \begin_layout Plain Layout
19909 \begin_inset CommandInset label
19923 \begin_layout Plain Layout
19925 \begin_inset Tabular
19926 <lyxtabular version="3" rows="4" columns="2">
19927 <features rotate="0" booktabs="true" tabularvalignment="middle">
19928 <column alignment="right" valignment="top" width="0pt">
19929 <column alignment="left" valignment="top" width="0pt" special="@{}l">
19931 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
19934 \begin_layout Plain Layout
19940 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19943 \begin_layout Plain Layout
19951 <cell alignment="center" valignment="top" usebox="none">
19954 \begin_layout Plain Layout
19955 \begin_inset Formula $12\,+$
19963 <cell alignment="center" valignment="top" usebox="none">
19966 \begin_layout Plain Layout
19967 \begin_inset Formula $\,6$
19977 <cell alignment="center" valignment="top" usebox="none">
19980 \begin_layout Plain Layout
19981 \begin_inset Formula $0\,-$
19989 <cell alignment="center" valignment="top" usebox="none">
19992 \begin_layout Plain Layout
19993 \begin_inset Formula $\,68$
20003 <cell alignment="center" valignment="top" usebox="none">
20006 \begin_layout Plain Layout
20007 \begin_inset Formula $-123\,/$
20015 <cell alignment="center" valignment="top" usebox="none">
20018 \begin_layout Plain Layout
20019 \begin_inset Formula $\,0$
20040 \begin_layout Standard
20041 揃え文字を指定するフィールドには、数式を用いることができないので、この方法を使って、数式中の文字で揃えることはできません。このような場合には、表
20042 \begin_inset CommandInset ref
20044 reference "tab:演算子揃え表"
20048 のような方法を用いる必要があります。この表は、4
20049 \begin_inset Formula $\times$
20052 2表として作成されており、見出しは中央揃え連結列です。第1列には、右揃えで演算子を含む前半部を収め、第2列には、左揃えで残りを収めます。演算子の周りに通常加えら
20053 れる空白を得るために、第2列の各セルの冒頭には、小空白が加えられています。通常、表の列間に加えられる余白を削るために、
20056 \begin_layout Standard
20062 \begin_layout Standard
20063 というLaTeX引数を第2列に指定します。
20066 \begin_layout Standard
20068 \begin_inset CommandInset ref
20070 reference "tab:表セル揃え"
20074 は、揃え方の例をいくつか示しています。関係子で揃えるために、表
20075 \begin_inset CommandInset ref
20077 reference "tab:演算子揃え表"
20081 の冒頭には、小空白が加えられています。
20084 \begin_layout Standard
20085 \begin_inset Float table
20090 \begin_layout Plain Layout
20091 \begin_inset Caption Standard
20093 \begin_layout Plain Layout
20094 \begin_inset CommandInset label
20108 \begin_layout Plain Layout
20110 \begin_inset Tabular
20111 <lyxtabular version="3" rows="4" columns="6">
20112 <features rotate="0" tabularvalignment="middle">
20113 <column alignment="right" valignment="top">
20114 <column alignment="left" valignment="top" special="@{}l">
20115 <column alignment="right" valignment="top">
20116 <column alignment="left" valignment="top" special="@{}l">
20117 <column alignment="right" valignment="top">
20118 <column alignment="left" valignment="top" special="@{}l">
20120 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20123 \begin_layout Plain Layout
20129 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20132 \begin_layout Plain Layout
20138 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20141 \begin_layout Plain Layout
20147 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20150 \begin_layout Plain Layout
20156 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
20159 \begin_layout Plain Layout
20165 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20168 \begin_layout Plain Layout
20176 <cell alignment="center" valignment="top" usebox="none">
20179 \begin_layout Plain Layout
20181 \begin_inset Formula $\times$
20189 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20192 \begin_layout Plain Layout
20198 <cell alignment="center" valignment="top" usebox="none">
20201 \begin_layout Plain Layout
20202 \begin_inset Formula $10\cdot$
20210 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20213 \begin_layout Plain Layout
20214 \begin_inset Formula $10^{\mbox{-}17}$
20222 <cell alignment="center" valignment="top" usebox="none">
20225 \begin_layout Plain Layout
20226 \begin_inset Formula $\Gamma(t)\propto$
20234 <cell alignment="center" valignment="top" usebox="none">
20237 \begin_layout Plain Layout
20238 \begin_inset Formula $\:\Upsilon(t)$
20248 <cell alignment="center" valignment="top" usebox="none">
20251 \begin_layout Plain Layout
20253 \begin_inset Formula $\times$
20261 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20264 \begin_layout Plain Layout
20270 <cell alignment="center" valignment="top" usebox="none">
20273 \begin_layout Plain Layout
20274 \begin_inset Formula $5.78\cdot$
20282 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20285 \begin_layout Plain Layout
20286 \begin_inset Formula $10^{7}$
20294 <cell alignment="center" valignment="top" usebox="none">
20297 \begin_layout Plain Layout
20298 \begin_inset Formula $A\ne$
20306 <cell alignment="center" valignment="top" usebox="none">
20309 \begin_layout Plain Layout
20310 \begin_inset Formula $\: B_{\mathrm{red}}$
20320 <cell alignment="center" valignment="top" usebox="none">
20323 \begin_layout Plain Layout
20325 \begin_inset Formula $\times$
20333 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20336 \begin_layout Plain Layout
20338 \begin_inset space \thinspace{}
20346 <cell alignment="center" valignment="top" usebox="none">
20349 \begin_layout Plain Layout
20351 \begin_inset Formula $33.5\cdot$
20359 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20362 \begin_layout Plain Layout
20363 \begin_inset Formula $10^{4}$
20371 <cell alignment="center" valignment="top" usebox="none">
20374 \begin_layout Plain Layout
20375 \begin_inset Formula $\sin(\alpha)\ge$
20383 <cell alignment="center" valignment="top" usebox="none">
20386 \begin_layout Plain Layout
20387 \begin_inset Formula $\:\sin(\beta)$
20408 \begin_layout Subsection
20410 \begin_inset CommandInset label
20417 \begin_inset Index idx
20420 \begin_layout Plain Layout
20421 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
20429 \begin_layout Standard
20431 \begin_inset CommandInset ref
20433 reference "sec:表幅の計算"
20437 節のようにして通常列の必要幅を計算したり、第
20438 \begin_inset CommandInset ref
20440 reference "sub:連結列の計算"
20444 節のように連結列の必要幅を計算したりするのは、計算の必要な表が複数あるときには、とても大変です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえ
20445 ば、それを文書中のすべての表で使うことができます。書式は、以下のように定義します。
20448 \begin_layout Standard
20453 newcolumntype{書式名}[引数の数]{コマンド}
20456 \begin_layout Standard
20481 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
20484 \begin_layout Standard
20485 \begin_inset VSpace medskip
20491 \begin_layout Standard
20492 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
20495 \begin_layout Standard
20500 newcolumntype{M}[1]{>{
20507 \begin_layout Standard
20515 \begin_inset CommandInset ref
20517 reference "sub:複数行"
20521 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログの
20528 \begin_layout Standard
20534 \begin_layout Standard
20538 \begin_layout Standard
20539 \begin_inset VSpace bigskip
20545 \begin_layout Standard
20546 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
20549 \begin_layout Standard
20554 newcolumntype{S}[2]{>{
20559 \begin_inset Newline newline
20563 \begin_inset Phantom HPhantom
20566 \begin_layout Plain Layout
20580 arrayrulewidth)*(1-#2))/#2}}
20583 \begin_layout Standard
20584 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
20585 \begin_inset CommandInset ref
20594 \begin_layout Standard
20595 こうしておけば、当該セルのLaTeX引数に
20598 \begin_layout Standard
20601 S{連結列セルの幅}{連結列セルがまたがる列の数}
20604 \begin_layout Standard
20608 \begin_layout Standard
20609 \begin_inset VSpace bigskip
20615 \begin_layout Standard
20616 色付き列については、以下のように定義するとよいでしょう。
20619 \begin_layout Standard
20624 newcolumntype{K}[1]{>{
20631 \begin_layout Standard
20632 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
20635 \begin_layout Standard
20641 \begin_layout Standard
20645 \begin_layout Standard
20646 \begin_inset VSpace bigskip
20652 \begin_layout Standard
20654 \begin_inset CommandInset ref
20656 reference "tab:ユーザー定義の表書式"
20660 を生成するには、第1列と連結列にLaTeX引数として
20663 \begin_layout Standard
20669 \begin_layout Standard
20673 \begin_layout Standard
20679 \begin_layout Standard
20683 \begin_layout Standard
20689 \begin_layout Standard
20693 \begin_layout Standard
20694 \begin_inset Float table
20700 \begin_layout Plain Layout
20701 \begin_inset Caption Standard
20703 \begin_layout Plain Layout
20704 \begin_inset CommandInset label
20706 name "tab:ユーザー定義の表書式"
20718 \begin_layout Plain Layout
20720 \begin_inset Tabular
20721 <lyxtabular version="3" rows="3" columns="4">
20722 <features rotate="0" tabularvalignment="middle">
20723 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
20724 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
20725 <column alignment="center" valignment="middle">
20726 <column alignment="center" valignment="middle" special="K{red}">
20728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20731 \begin_layout Plain Layout
20737 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
20740 \begin_layout Plain Layout
20746 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20749 \begin_layout Plain Layout
20755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20758 \begin_layout Plain Layout
20766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20769 \begin_layout Plain Layout
20775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20778 \begin_layout Plain Layout
20784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20787 \begin_layout Plain Layout
20793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20796 \begin_layout Plain Layout
20804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20807 \begin_layout Plain Layout
20813 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20816 \begin_layout Plain Layout
20822 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20825 \begin_layout Plain Layout
20831 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20834 \begin_layout Plain Layout
20853 \begin_layout Subsection
20855 \begin_inset CommandInset label
20862 \begin_inset Index idx
20865 \begin_layout Plain Layout
20866 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
20874 \begin_layout Standard
20875 表中のすべての罫線の罫線幅を調整するには、長さ
20882 \begin_inset CommandInset ref
20884 reference "tab:Table-with-1.5"
20889 \begin_inset space \thinspace{}
20892 ptにするには、表や表フロートの前にTeXコードで
20895 \begin_layout Standard
20902 arrayrulewidth}{1.5pt}
20905 \begin_layout Standard
20906 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
20913 \begin_inset space \thinspace{}
20919 \begin_layout Standard
20923 \begin_layout Plain Layout
20929 arrayrulewidth}{1.5pt}
20935 \begin_inset Float table
20940 \begin_layout Plain Layout
20941 \begin_inset Caption Standard
20943 \begin_layout Plain Layout
20944 \begin_inset CommandInset label
20946 name "tab:Table-with-1.5"
20951 \begin_inset space \thinspace{}
20962 \begin_layout Plain Layout
20964 \begin_inset Tabular
20965 <lyxtabular version="3" rows="3" columns="3">
20966 <features rotate="0" tabularvalignment="middle">
20967 <column alignment="center" valignment="top">
20968 <column alignment="center" valignment="top">
20969 <column alignment="center" valignment="top">
20971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20974 \begin_layout Plain Layout
20980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20983 \begin_layout Plain Layout
20989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20992 \begin_layout Plain Layout
21000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21003 \begin_layout Plain Layout
21009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21012 \begin_layout Plain Layout
21018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21021 \begin_layout Plain Layout
21029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21032 \begin_layout Plain Layout
21038 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21041 \begin_layout Plain Layout
21047 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21050 \begin_layout Plain Layout
21070 \begin_layout Plain Layout
21076 arrayrulewidth}{0.4pt}
21084 \begin_layout Standard
21085 \begin_inset VSpace bigskip
21089 \begin_inset CommandInset ref
21091 reference "tab:1.5pt幅横罫"
21096 \begin_inset space \thinspace{}
21099 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
21102 \begin_layout Standard
21112 \begin_inset Newline newline
21120 \begin_inset Newline newline
21129 arrayrulewidth 1.5pt}
21130 \begin_inset Newline newline
21141 arrayrulewidth 0.4pt}}
21144 \begin_layout Standard
21145 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
21148 \begin_layout Standard
21160 \begin_layout Standard
21164 \begin_layout Plain Layout
21175 \begin_layout Plain Layout
21184 \begin_layout Plain Layout
21192 arrayrulewidth 1.5pt}
21195 \begin_layout Plain Layout
21205 arrayrulewidth 0.4pt}}
21211 \begin_inset Float table
21216 \begin_layout Plain Layout
21217 \begin_inset Caption Standard
21219 \begin_layout Plain Layout
21220 \begin_inset CommandInset label
21222 name "tab:1.5pt幅横罫"
21227 \begin_inset space \thinspace{}
21238 \begin_layout Plain Layout
21240 \begin_inset Tabular
21241 <lyxtabular version="3" rows="3" columns="3">
21242 <features rotate="0" tabularvalignment="middle">
21243 <column alignment="center" valignment="top">
21244 <column alignment="center" valignment="top">
21245 <column alignment="center" valignment="top">
21247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21250 \begin_layout Plain Layout
21256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21259 \begin_layout Plain Layout
21265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21268 \begin_layout Plain Layout
21276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21279 \begin_layout Plain Layout
21285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21288 \begin_layout Plain Layout
21294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21297 \begin_layout Plain Layout
21305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21308 \begin_layout Plain Layout
21314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21317 \begin_layout Plain Layout
21323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21326 \begin_layout Plain Layout
21346 \begin_layout Plain Layout
21362 \begin_layout Standard
21363 \begin_inset VSpace bigskip
21367 \begin_inset space \thinspace{}
21371 \begin_inset CommandInset ref
21373 reference "sub:自製書式"
21377 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
21380 \begin_layout Standard
21385 newcolumntype{V}{!{
21387 vrule width 1.5pt}}
21390 \begin_layout Standard
21392 \begin_inset CommandInset ref
21394 reference "tab:1.5pt幅縦罫"
21401 \begin_layout Standard
21407 \begin_layout Standard
21411 \begin_layout Standard
21417 \begin_layout Standard
21421 \begin_layout Standard
21422 \begin_inset Float table
21427 \begin_layout Plain Layout
21428 \begin_inset Caption Standard
21430 \begin_layout Plain Layout
21431 \begin_inset CommandInset label
21433 name "tab:1.5pt幅縦罫"
21438 \begin_inset space \thinspace{}
21449 \begin_layout Plain Layout
21451 \begin_inset Tabular
21452 <lyxtabular version="3" rows="3" columns="3">
21453 <features rotate="0" tabularvalignment="middle">
21454 <column alignment="center" valignment="top" special="Vc">
21455 <column alignment="center" valignment="top" special="Vc">
21456 <column alignment="center" valignment="top" special="VcV">
21458 <cell alignment="center" valignment="top" topline="true" usebox="none">
21461 \begin_layout Plain Layout
21467 <cell alignment="center" valignment="top" topline="true" usebox="none">
21470 \begin_layout Plain Layout
21476 <cell alignment="center" valignment="top" topline="true" usebox="none">
21479 \begin_layout Plain Layout
21487 <cell alignment="center" valignment="top" topline="true" usebox="none">
21490 \begin_layout Plain Layout
21496 <cell alignment="center" valignment="top" topline="true" usebox="none">
21499 \begin_layout Plain Layout
21505 <cell alignment="center" valignment="top" topline="true" usebox="none">
21508 \begin_layout Plain Layout
21516 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21519 \begin_layout Plain Layout
21525 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21528 \begin_layout Plain Layout
21534 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21537 \begin_layout Plain Layout
21556 \begin_layout Subsection
21558 \begin_inset Index idx
21561 \begin_layout Plain Layout
21562 ひょうのちょうせい@表の調整 ! てんけい@点罫
21570 \begin_layout Standard
21574 \begin_layout Plain Layout
21584 \begin_inset Note Note
21587 \begin_layout Plain Layout
21600 \begin_layout Standard
21601 \begin_inset Float table
21607 \begin_layout Plain Layout
21608 \begin_inset Caption Standard
21610 \begin_layout Plain Layout
21611 \begin_inset CommandInset label
21625 \begin_layout Plain Layout
21627 \begin_inset Tabular
21628 <lyxtabular version="3" rows="5" columns="5">
21629 <features rotate="0" tabularvalignment="middle">
21630 <column alignment="center" valignment="top">
21631 <column alignment="center" valignment="top">
21632 <column alignment="center" valignment="top" special=":c">
21633 <column alignment="center" valignment="top">
21634 <column alignment="center" valignment="top">
21636 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21639 \begin_layout Plain Layout
21645 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21648 \begin_layout Plain Layout
21654 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21657 \begin_layout Plain Layout
21663 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21666 \begin_layout Plain Layout
21672 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21675 \begin_layout Plain Layout
21683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21686 \begin_layout Plain Layout
21692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21695 \begin_layout Plain Layout
21701 <cell alignment="center" valignment="top" topline="true" usebox="none">
21704 \begin_layout Plain Layout
21710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21713 \begin_layout Plain Layout
21719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21722 \begin_layout Plain Layout
21730 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21733 \begin_layout Plain Layout
21737 \begin_layout Plain Layout
21751 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21754 \begin_layout Plain Layout
21760 <cell alignment="center" valignment="top" usebox="none">
21763 \begin_layout Plain Layout
21769 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21772 \begin_layout Plain Layout
21778 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21781 \begin_layout Plain Layout
21789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21792 \begin_layout Plain Layout
21796 \begin_layout Plain Layout
21810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21813 \begin_layout Plain Layout
21819 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
21822 \begin_layout Plain Layout
21828 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21831 \begin_layout Plain Layout
21837 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21840 \begin_layout Plain Layout
21848 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21851 \begin_layout Plain Layout
21857 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21860 \begin_layout Plain Layout
21866 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21869 \begin_layout Plain Layout
21875 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21878 \begin_layout Plain Layout
21884 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21887 \begin_layout Plain Layout
21906 \begin_layout Standard
21907 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
21910 \begin_layout Standard
21915 usepackage{arydshln}
21918 \begin_layout Standard
21919 というコマンドを書き、LaTeXパッケージの
21924 \begin_inset Index idx
21927 \begin_layout Plain Layout
21928 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
21933 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
21936 \begin_layout Standard
21937 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
21940 \begin_layout Standard
21948 \begin_layout Standard
21952 \begin_layout Standard
21953 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
21956 \begin_layout Standard
21966 \begin_layout Standard
21967 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
21970 \begin_layout Standard
21978 \begin_layout Standard
21982 \begin_layout Standard
21983 \begin_inset VSpace bigskip
21989 \begin_layout Standard
21991 \begin_inset CommandInset ref
21993 reference "tab:点罫表"
21997 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
22003 が挿れられており、第4行の最初のセルには、TeXコードのコマンド
22004 \begin_inset Newline newline
22016 \begin_layout Standard
22017 \begin_inset VSpace bigskip
22023 \begin_layout Standard
22025 \begin_inset CommandInset ref
22027 reference "tab:Colored-table-with"
22034 \begin_layout Standard
22038 \begin_layout Plain Layout
22044 arrayrulewidth}{1pt}
22050 \begin_inset Note Note
22053 \begin_layout Plain Layout
22062 \begin_layout Standard
22066 \begin_layout Plain Layout
22070 dashgapcolor{green}
22076 \begin_inset Note Note
22079 \begin_layout Plain Layout
22088 \begin_layout Standard
22092 \begin_layout Plain Layout
22103 \begin_layout Plain Layout
22112 \begin_layout Plain Layout
22116 arrayrulecolor{red}
22120 arrayrulecolor{black}}
22126 \begin_inset Note Note
22129 \begin_layout Plain Layout
22138 \begin_layout Standard
22142 \begin_layout Plain Layout
22153 \begin_layout Plain Layout
22162 \begin_layout Plain Layout
22166 arrayrulecolor{yellow}
22170 arrayrulecolor{black}}
22176 \begin_inset Note Note
22179 \begin_layout Plain Layout
22188 \begin_layout Standard
22189 \begin_inset Float table
22195 \begin_layout Plain Layout
22196 \begin_inset Caption Standard
22198 \begin_layout Plain Layout
22199 \begin_inset CommandInset label
22201 name "tab:Colored-table-with"
22213 \begin_layout Plain Layout
22215 \begin_inset Tabular
22216 <lyxtabular version="3" rows="5" columns="5">
22217 <features rotate="0" tabularvalignment="middle">
22218 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
22219 <column alignment="center" valignment="top" width="0pt">
22220 <column alignment="center" valignment="top" width="0pt" special=":c">
22221 <column alignment="center" valignment="top">
22222 <column alignment="center" valignment="top">
22224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22227 \begin_layout Plain Layout
22233 <cell alignment="center" valignment="top" topline="true" usebox="none">
22236 \begin_layout Plain Layout
22242 <cell alignment="center" valignment="top" topline="true" usebox="none">
22245 \begin_layout Plain Layout
22251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22254 \begin_layout Plain Layout
22260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22263 \begin_layout Plain Layout
22271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22274 \begin_layout Plain Layout
22280 <cell alignment="center" valignment="top" topline="true" usebox="none">
22283 \begin_layout Plain Layout
22289 <cell alignment="center" valignment="top" topline="true" usebox="none">
22292 \begin_layout Plain Layout
22298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22301 \begin_layout Plain Layout
22307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22310 \begin_layout Plain Layout
22318 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22321 \begin_layout Plain Layout
22325 \begin_layout Plain Layout
22338 \begin_layout Plain Layout
22352 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22355 \begin_layout Plain Layout
22361 <cell alignment="center" valignment="top" usebox="none">
22364 \begin_layout Plain Layout
22370 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22373 \begin_layout Plain Layout
22379 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22382 \begin_layout Plain Layout
22390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22393 \begin_layout Plain Layout
22397 \begin_layout Plain Layout
22411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22414 \begin_layout Plain Layout
22420 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
22423 \begin_layout Plain Layout
22429 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22432 \begin_layout Plain Layout
22438 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22441 \begin_layout Plain Layout
22449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22452 \begin_layout Plain Layout
22458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22461 \begin_layout Plain Layout
22467 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
22470 \begin_layout Plain Layout
22476 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22479 \begin_layout Plain Layout
22485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22488 \begin_layout Plain Layout
22492 \begin_layout Plain Layout
22519 \begin_layout Standard
22523 \begin_layout Plain Layout
22537 \begin_inset Note Note
22540 \begin_layout Plain Layout
22549 \begin_layout Standard
22553 \begin_layout Plain Layout
22567 \begin_inset Note Note
22570 \begin_layout Plain Layout
22579 \begin_layout Standard
22583 \begin_layout Plain Layout
22593 \begin_inset Note Note
22596 \begin_layout Plain Layout
22605 \begin_layout Standard
22609 \begin_layout Plain Layout
22615 arrayrulewidth}{0.4pt}
22621 \begin_inset Note Note
22624 \begin_layout Plain Layout
22633 \begin_layout Standard
22635 \begin_inset CommandInset ref
22637 reference "sec:色付きの表"
22641 節に述べられているように動作します。水平線の着色も、
22665 に置き換えれば、そこで述べられているのと同様に機能します。したがって、以下のようなコマンドを使います。
22668 \begin_layout Standard
22678 \begin_inset Newline newline
22686 \begin_inset Newline newline
22690 \begin_inset Phantom HPhantom
22693 \begin_layout Plain Layout
22694 \begin_inset space ~
22704 arrayrulecolor{red}
22708 arrayrulecolor{black}}
22711 \begin_layout Standard
22721 \begin_layout Standard
22731 \begin_inset Newline newline
22739 \begin_inset Newline newline
22743 \begin_inset Phantom HPhantom
22746 \begin_layout Plain Layout
22747 \begin_inset space ~
22757 arrayrulecolor{red}
22761 arrayrulecolor{black}}
22764 \begin_layout Standard
22765 のようになります。黒の罫線に戻すには、以下のコマンドを表の後ろにTeXコードで挿入する必要があります。
22768 \begin_layout Standard
22778 \begin_layout Standard
22790 \begin_layout Standard
22800 \begin_layout Standard
22812 \begin_layout Standard
22813 としてください。点線の間の余白に色をつけるには、表の前にTeXコードで
22816 \begin_layout Standard
22824 \begin_layout Standard
22825 とすれば良いです。ここで「色」は、定義済みの色名です。
22828 \begin_layout Standard
22836 \begin_layout Standard
22846 \begin_layout Standard
22847 \begin_inset Note Greyedout
22850 \begin_layout Plain Layout
22855 1つのセル中に複数のコマンドがある場合、
22859 のコマンドが、そのセル中で最初に来る必要があります。したがって、表
22860 \begin_inset CommandInset ref
22862 reference "tab:Colored-table-with"
22890 \begin_layout Standard
22891 \begin_inset Note Greyedout
22894 \begin_layout Plain Layout
22903 は、文書プリアンブル中でLaTeXパッケージ
22908 \begin_inset Index idx
22911 \begin_layout Plain Layout
22912 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
22917 よりも前に読み込まれている必要があります。
22925 \begin_layout Standard
22929 \begin_layout Plain Layout
22939 \begin_inset Note Note
22942 \begin_layout Plain Layout
22955 \begin_layout Standard
22960 パッケージを導入しなくてはなりません。
22963 \begin_layout Standard
22967 \begin_layout Plain Layout
22979 \begin_layout Standard
22985 \begin_inset CommandInset citation
22994 \begin_layout Chapter
22996 \begin_inset CommandInset label
23003 \begin_inset Index idx
23006 \begin_layout Plain Layout
23015 \begin_layout Section
23017 \begin_inset CommandInset label
23019 name "sec:フロートはじめに"
23024 \begin_inset Index idx
23027 \begin_layout Plain Layout
23036 \begin_layout Standard
23037 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
23046 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
23049 \begin_layout Standard
23050 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
23051 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
23052 ートには連番が割り当てられます。参照については、第
23053 \begin_inset CommandInset ref
23055 reference "sec:フロートの参照"
23062 \begin_layout Standard
23065 挿入\SpecialChar \menuseparator
23071 arg "float-insert figure"
23077 arg "float-insert table"
23080 ツールバーボタン)を使えば、ラベルのついたボックスすなわち
23084 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
23085 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
23086 \begin_inset CommandInset ref
23088 reference "sec:キャプションの配置"
23092 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
23094 \begin_inset Graphics
23095 filename clipart/floatQt4.png
23097 scaleBeforeRotation
23101 のように、灰色ボタンに赤字ラベルで表示されます。
23104 \begin_layout Standard
23105 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
23108 \begin_layout Standard
23109 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
23112 \begin_layout Section
23116 \begin_layout Standard
23118 \begin_inset CommandInset ref
23120 reference "sec:図フロート"
23125 \begin_inset CommandInset ref
23127 reference "sec:表フロート"
23131 節で各々説明されている図フロートと表フロート以外に、
23140 \begin_inset CommandInset ref
23142 reference "sec:折返しフロート"
23149 \begin_layout Subsection
23151 \begin_inset Index idx
23154 \begin_layout Plain Layout
23155 ふろーと@フロート ! あるごりずむ@アルゴリズム
23163 \begin_layout Standard
23164 \begin_inset Float algorithm
23170 \begin_layout Plain Layout
23171 \begin_inset Caption Standard
23173 \begin_layout Plain Layout
23174 \begin_inset CommandInset label
23176 name "alg:アルゴリズムフロートの例"
23188 \begin_layout LyX-Code
23190 \begin_inset Newline newline
23193 Sum:= Sum + A(I); /*comment*/
23194 \begin_inset Newline newline
23198 \begin_inset VSpace -4mm
23209 \begin_layout Standard
23214 \SpecialChar \menuseparator
23215 フロート\SpecialChar \menuseparator
23219 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
23220 \begin_inset CommandInset ref
23222 reference "cha:プログラムコードリスト"
23226 章で説明されているプログラムコードリストの代わりとみなすことができます。
23230 に述べられているように、アルゴリズム向けの環境としては、
23235 \begin_inset CommandInset ref
23237 reference "alg:アルゴリズムフロートの例"
23241 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
23242 \begin_inset space \thinspace{}
23248 \begin_layout Standard
23249 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
23252 \begin_layout Standard
23257 floatname{algorithm}{付けたい名称}
23260 \begin_layout Standard
23261 という行を手動で加える必要があります。ここで
23274 \begin_layout Standard
23275 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
23277 挿入\SpecialChar \menuseparator
23278 一覧/目次\SpecialChar \menuseparator
23281 メニューを使用します。それ以外の場合には、代わりに
23284 \begin_layout Standard
23289 listof{algorithm}{付けたい名称}
23292 \begin_layout Standard
23293 というコマンドをTeXコードとして用います。ここで
23301 s」という単語に相当する、ご使用になりたい言語での単語です。
23304 \begin_layout Standard
23305 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
23306 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
23309 \begin_layout Standard
23314 numberwithin{algorithm}{chapter}
23317 \begin_layout Standard
23324 というコマンドを使用するには、文書設定の
23335 \begin_layout Section
23337 \begin_inset Index idx
23340 \begin_layout Plain Layout
23341 ふろーと@フロート ! れんばん@連番
23349 \begin_layout Standard
23350 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
23354 \begin_layout Standard
23355 節から独立して付けられている連番を変更するには、文書プリアンブルで
23358 \begin_layout Standard
23370 \begin_layout Standard
23377 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
23383 コマンドを使用します。上のコマンドで使用されている
23389 は、表番号を小文字のローマ数字で印字するコマンドです。
23392 \begin_layout Standard
23393 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
23396 \begin_layout Standard
23401 numberwithin{table}{subsection}
23404 \begin_layout Standard
23411 コマンドを使用可能にするためには、文書設定の
23418 \begin_inset space ~
23426 \begin_layout Standard
23427 連番コマンドについての詳細と大切な注意点については、第
23428 \begin_inset CommandInset ref
23430 reference "sub:脚注の付番"
23437 \begin_layout Section
23439 \begin_inset CommandInset label
23446 \begin_inset Index idx
23449 \begin_layout Plain Layout
23450 ふろーと@フロート ! さんしょう@参照
23456 \begin_inset Index idx
23459 \begin_layout Plain Layout
23460 さんしょう@参照 ! ふろーとにたいする@フロートに対する
23468 \begin_layout Standard
23471 挿入\SpecialChar \menuseparator
23474 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
23475 \begin_inset Graphics
23476 filename clipart/labelQt4.png
23477 scaleBeforeRotation
23481 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
23482 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
23489 \begin_layout Standard
23490 ラベルは、参照のための名称兼位置標として用いられます。
23492 挿入\SpecialChar \menuseparator
23500 arg "dialog-show-new-inset ref"
23505 を使えば、ラベルを参照することができます。
23506 \begin_inset Graphics
23507 filename clipart/referenceQt4.png
23509 scaleBeforeRotation
23513 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
23514 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
23518 \begin_layout Standard
23519 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
23520 出力では、参照の代わりに二つの疑問符が表示されることになります。
23523 \begin_layout Standard
23524 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
23525 で、リンクの更新に手間を割く必要はありません。
23528 \begin_layout Standard
23533 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
23537 に変わるので、相互参照にカーソルを戻すのに使用することができます。
23540 \begin_layout Subsection
23542 \begin_inset CommandInset label
23549 \begin_inset Index idx
23552 \begin_layout Plain Layout
23561 \begin_layout Standard
23562 相互参照には、以下の6種類があります。
23565 \begin_layout Description
23566 <参照>: これはフロート番号を表示します。これが既定値です。例:
23567 \begin_inset CommandInset ref
23569 reference "fig:歪められた二つの像"
23576 \begin_layout Description
23577 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
23579 \begin_inset CommandInset ref
23588 \begin_layout Description
23589 <参照ページ>: これはページ番号を表示します。例:Page
23590 \begin_inset space ~
23594 \begin_inset CommandInset ref
23595 LatexCommand pageref
23596 reference "fig:歪められた二つの像"
23603 \begin_layout Description
23605 \begin_inset space ~
23609 \begin_inset space ~
23612 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
23613 \begin_inset CommandInset ref
23614 LatexCommand vpageref
23615 reference "fig:歪められた二つの像"
23622 \begin_layout Description
23624 \begin_inset space ~
23628 \begin_inset space ~
23632 \begin_inset space ~
23635 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
23636 \begin_inset CommandInset ref
23638 reference "fig:歪められた二つの像"
23645 \begin_layout Description
23646 整形された参照: これは自製の相互参照書式で出力します。
23647 \begin_inset Newline newline
23651 \begin_inset Note Greyedout
23654 \begin_layout Plain Layout
23667 が導入されている場合のみ使用することができます。
23668 \begin_inset Index idx
23671 \begin_layout Plain Layout
23672 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
23678 \begin_inset Index idx
23681 \begin_layout Plain Layout
23682 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
23693 \begin_inset Newline newline
23698 文書\SpecialChar \menuseparator
23699 設定\SpecialChar \menuseparator
23704 相互参照に(prettyrefではなく)refstyleを使用
23706 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
23712 コマンド(prettyrefの場合)あるいは
23718 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
23722 」を持ちます)をすべて定義し直すには、
23723 \begin_inset Newline newline
23730 newref{fig}{refcmd={Image on page
23733 \begin_inset Newline newline
23738 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
23739 \begin_inset CommandInset citation
23741 key "prettyref,refstyle"
23748 \begin_layout Description
23749 名称参照: これは、下のような参照のキャプションを出力します。
23750 \begin_inset Newline newline
23754 \begin_inset CommandInset ref
23755 LatexCommand nameref
23756 reference "fig:歪められた二つの像"
23763 \begin_layout Standard
23768 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
23774 <参照> on page <参照ページ>
23776 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
23779 \begin_layout Standard
23780 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
23787 \begin_layout Standard
23788 \begin_inset Note Greyedout
23791 \begin_layout Plain Layout
23801 \begin_inset Index idx
23804 \begin_layout Plain Layout
23805 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
23811 \begin_inset Flex Ruby
23814 \begin_layout Plain Layout
23816 \begin_inset Argument post:1
23819 \begin_layout Plain Layout
23834 \begin_layout Plain Layout
23836 \begin_inset Quotes eld
23840 \begin_inset Quotes erd
23844 \begin_inset Flex Ruby
23847 \begin_layout Plain Layout
23849 \begin_inset Argument post:1
23852 \begin_layout Plain Layout
23868 を全部は解釈できず、国際化もされていないので、
23873 \begin_inset Index idx
23876 \begin_layout Plain Layout
23877 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
23890 \begin_layout Standard
23891 \begin_inset Note Greyedout
23894 \begin_layout Plain Layout
23899 LaTeXパッケージvarioref第1.4w版のバグによって、終止符を活用する言語(仏語等)を文書言語にすると、相互参照形式の一部でLaTeXエラーが発生します
23901 \begin_inset Newline newline
23905 \begin_inset CommandInset href
23907 target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
23912 \begin_inset Newline newline
23923 \begin_layout Subsection
23925 \begin_inset Index idx
23928 \begin_layout Plain Layout
23929 さんしょう@参照 ! じどうめいめい@自動命名
23937 \begin_layout Standard
23951 \begin_inset Index idx
23954 \begin_layout Plain Layout
23955 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
23960 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
23964 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
23965 の機能を使用するには、hyperrefを有効にして、
23968 \begin_layout Standard
23984 \begin_layout Standard
23985 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
23986 \begin_inset space \thinspace{}
23989 」としたいなど、既定の参照名以外のものが欲しい場合には、
23992 \begin_layout Standard
24003 sectionautorefname}
24004 \begin_inset Newline newline
24008 \begin_inset Phantom HPhantom
24011 \begin_layout Plain Layout
24014 \begin_inset space ~
24027 \begin_layout Standard
24028 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
24029 \begin_inset Newline newline
24040 に置き換えてください(***は使用中の言語名)。
24043 \begin_layout Standard
24044 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
24047 \begin_layout Standard
24058 equationautorefname}[1]{}}
24061 \begin_layout Standard
24062 この話題に関する詳細は、hyperrefの説明書
24063 \begin_inset CommandInset citation
24072 \begin_layout Standard
24073 \begin_inset Note Greyedout
24076 \begin_layout Plain Layout
24086 \begin_inset CommandInset ref
24088 reference "sub:相互参照の書式"
24092 節)で使用しているときには、使用することができません。
24100 \begin_layout Standard
24105 』では、参照名の自動命名が使用されています。
24108 \begin_layout Subsection
24110 \begin_inset CommandInset label
24117 \begin_inset Index idx
24120 \begin_layout Plain Layout
24121 さんしょう@参照 ! さんしょういち@参照位置
24129 \begin_layout Standard
24143 \begin_inset Index idx
24146 \begin_layout Plain Layout
24147 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24152 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
24153 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
24158 \begin_inset Index idx
24161 \begin_layout Plain Layout
24162 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24172 \begin_inset Index idx
24175 \begin_layout Plain Layout
24176 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24181 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
24184 \begin_layout Standard
24189 usepackage[figure]{hypcap}
24192 \begin_layout Standard
24193 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
24195 \begin_inset CommandInset citation
24204 \begin_layout Standard
24205 \begin_inset Note Greyedout
24208 \begin_layout Plain Layout
24213 は内部図への参照には効力がありません。
24221 \begin_layout Section
24223 \begin_inset CommandInset label
24230 \begin_inset Index idx
24233 \begin_layout Plain Layout
24242 \begin_layout Standard
24252 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
24253 \begin_inset Newline newline
24274 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
24275 \begin_inset Newline newline
24296 オプションは、フロートを回転するのに用います。第
24306 \begin_inset CommandInset ref
24308 reference "sec:回転フロート"
24324 \begin_layout Standard
24352 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
24355 \begin_layout Description
24365 フロートを挿入位置に配置することを試みます
24368 \begin_layout Description
24378 フロートを現在ページの上部に配置することを試みます
24381 \begin_layout Description
24391 フロートを現在ページの下部に配置することを試みます
24394 \begin_layout Description
24404 フロートを独立したページに配置することを試みます
24407 \begin_layout Standard
24412 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
24420 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
24421 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
24424 \begin_layout Standard
24425 既定では、各オプションはそれぞれ以下の規則を持っています。
24428 \begin_layout Labeling
24429 \labelwidthstring 00.00.0000
24434 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
24443 \begin_layout Labeling
24444 \labelwidthstring 00.00.0000
24449 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
24458 \begin_layout Labeling
24459 \labelwidthstring 00.00.0000
24464 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
24473 \begin_layout Standard
24478 オプションを追加することによって、これらを無視することができます。
24479 \begin_inset Newline newline
24482 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
24483 、ページの5割に変えるには、文書プリアンブルに
24486 \begin_layout Standard
24493 bottomfraction}{0.5}
24496 \begin_layout Standard
24500 \begin_layout Standard
24501 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
24505 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
24506 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
24510 \begin_layout Standard
24511 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
24514 \begin_layout Standard
24515 \begin_inset VSpace bigskip
24521 \begin_layout Standard
24522 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
24523 することがあります。この問題を避けるには、LaTeXコマンドの
24525 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
24526 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
24529 \begin_layout Standard
24539 \begin_inset Newline newline
24553 \begin_layout Standard
24554 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
24555 することがあるので、これらに対する定義はお勧めしません。
24558 \begin_layout Standard
24559 \begin_inset VSpace bigskip
24562 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
24567 \begin_inset Index idx
24570 \begin_layout Plain Layout
24571 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
24576 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
24577 \begin_inset Quotes eld
24583 \begin_inset space ~
24589 \begin_inset Quotes erd
24592 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
24595 \begin_layout Standard
24600 usepackage[options]{endfloat}
24603 \begin_layout Standard
24604 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
24609 \begin_inset CommandInset citation
24616 \begin_inset Newline newline
24620 \begin_inset Note Greyedout
24623 \begin_layout Plain Layout
24628 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
24629 \begin_inset CommandInset citation
24641 \begin_inset Newline newline
24645 \begin_inset Note Greyedout
24648 \begin_layout Plain Layout
24657 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
24671 \begin_layout Standard
24672 \begin_inset VSpace bigskip
24675 フロートの割付に関する詳細は、LaTeX関連書
24676 \begin_inset CommandInset citation
24678 key "latexcompanion,latexguide,latexbook"
24685 \begin_layout Section
24687 \begin_inset CommandInset label
24694 \begin_inset Index idx
24697 \begin_layout Plain Layout
24698 ふろーと@フロート ! かいてん@回転
24706 \begin_layout Standard
24707 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
24714 \begin_layout Standard
24715 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
24719 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
24720 たって回転方向を強制したい場合には、文書クラスオプションに
24731 \begin_layout Standard
24732 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
24733 \begin_inset CommandInset ref
24735 reference "tab:回転した表"
24742 \begin_layout Standard
24743 \begin_inset Note Greyedout
24746 \begin_layout Plain Layout
24751 すべてのDVIビューアが回転フロートを表示できるわけではありません。
24759 \begin_layout Standard
24760 \begin_inset Float table
24765 \begin_layout Plain Layout
24766 \begin_inset Caption Standard
24768 \begin_layout Plain Layout
24769 \begin_inset CommandInset label
24783 \begin_layout Plain Layout
24785 \begin_inset Tabular
24786 <lyxtabular version="3" rows="1" columns="5">
24787 <features rotate="0" tabularvalignment="middle">
24788 <column alignment="center" valignment="top">
24789 <column alignment="center" valignment="top">
24790 <column alignment="center" valignment="top">
24791 <column alignment="center" valignment="top">
24792 <column alignment="center" valignment="top">
24794 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24797 \begin_layout Plain Layout
24803 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24806 \begin_layout Plain Layout
24812 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24815 \begin_layout Plain Layout
24821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24824 \begin_layout Plain Layout
24830 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24833 \begin_layout Plain Layout
24852 \begin_layout Section
24854 \begin_inset Index idx
24857 \begin_layout Plain Layout
24858 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
24866 \begin_layout Standard
24867 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
24868 \begin_inset CommandInset ref
24870 reference "tab:従属表を横に並べたもの"
24875 \begin_inset CommandInset ref
24877 reference "tab:従属表を縦に並べたもの"
24881 に示されているように段落と同様に指定することができます。
24884 \begin_layout Standard
24885 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
24886 \begin_inset CommandInset ref
24888 reference "tab:これは従属表a"
24893 \begin_inset CommandInset ref
24895 reference "tab:これは従属表b"
24900 \begin_inset CommandInset ref
24902 reference "tab:従属表を横に並べたもの"
24907 \begin_inset Float table
24912 \begin_layout Plain Layout
24913 \begin_inset Caption Standard
24915 \begin_layout Plain Layout
24916 \begin_inset CommandInset label
24918 name "tab:従属表を横に並べたもの"
24930 \begin_layout Plain Layout
24931 \begin_inset space \hfill{}
24935 \begin_inset Float table
24940 \begin_layout Plain Layout
24941 \begin_inset Caption Standard
24943 \begin_layout Plain Layout
24944 \begin_inset CommandInset label
24958 \begin_layout Plain Layout
24960 \begin_inset Tabular
24961 <lyxtabular version="3" rows="1" columns="5">
24962 <features rotate="0" tabularvalignment="middle">
24963 <column alignment="center" valignment="top">
24964 <column alignment="center" valignment="top">
24965 <column alignment="center" valignment="top">
24966 <column alignment="center" valignment="top">
24967 <column alignment="center" valignment="top">
24969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24972 \begin_layout Plain Layout
24978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24981 \begin_layout Plain Layout
24987 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24990 \begin_layout Plain Layout
24996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24999 \begin_layout Plain Layout
25005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25008 \begin_layout Plain Layout
25025 \begin_inset space \hfill{}
25029 \begin_inset Float table
25034 \begin_layout Plain Layout
25035 \begin_inset Caption Standard
25037 \begin_layout Plain Layout
25038 \begin_inset CommandInset label
25052 \begin_layout Plain Layout
25054 \begin_inset Tabular
25055 <lyxtabular version="3" rows="1" columns="5">
25056 <features rotate="0" tabularvalignment="middle">
25057 <column alignment="center" valignment="top">
25058 <column alignment="center" valignment="top">
25059 <column alignment="center" valignment="top">
25060 <column alignment="center" valignment="top">
25061 <column alignment="center" valignment="top">
25063 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25066 \begin_layout Plain Layout
25072 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25075 \begin_layout Plain Layout
25081 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25084 \begin_layout Plain Layout
25090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25093 \begin_layout Plain Layout
25099 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25102 \begin_layout Plain Layout
25119 \begin_inset space \hfill{}
25128 \begin_inset Float table
25133 \begin_layout Plain Layout
25134 \begin_inset Caption Standard
25136 \begin_layout Plain Layout
25137 \begin_inset CommandInset label
25139 name "tab:従属表を縦に並べたもの"
25143 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
25151 \begin_layout Plain Layout
25154 \begin_inset Float table
25159 \begin_layout Plain Layout
25160 \begin_inset Caption Standard
25162 \begin_layout Plain Layout
25171 \begin_layout Plain Layout
25173 \begin_inset Tabular
25174 <lyxtabular version="3" rows="1" columns="4">
25175 <features rotate="0" tabularvalignment="middle">
25176 <column alignment="center" valignment="top">
25177 <column alignment="center" valignment="top">
25178 <column alignment="center" valignment="top">
25179 <column alignment="center" valignment="top">
25181 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25184 \begin_layout Plain Layout
25190 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25193 \begin_layout Plain Layout
25199 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25202 \begin_layout Plain Layout
25208 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25211 \begin_layout Plain Layout
25230 \begin_layout Plain Layout
25233 \begin_inset Float table
25238 \begin_layout Plain Layout
25239 \begin_inset Caption Standard
25241 \begin_layout Plain Layout
25250 \begin_layout Plain Layout
25252 \begin_inset Tabular
25253 <lyxtabular version="3" rows="1" columns="5">
25254 <features rotate="0" tabularvalignment="middle">
25255 <column alignment="center" valignment="top">
25256 <column alignment="center" valignment="top">
25257 <column alignment="center" valignment="top">
25258 <column alignment="center" valignment="top">
25259 <column alignment="center" valignment="top">
25261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25264 \begin_layout Plain Layout
25270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25273 \begin_layout Plain Layout
25279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25282 \begin_layout Plain Layout
25288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25291 \begin_layout Plain Layout
25297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25300 \begin_layout Plain Layout
25324 \begin_layout Section
25326 \begin_inset Index idx
25329 \begin_layout Plain Layout
25330 ふろーと@フロート ! よこならび@横並び
25338 \begin_layout Standard
25340 \begin_inset CommandInset ref
25342 reference "fig:左側のフロート"
25347 \begin_inset CommandInset ref
25349 reference "fig:右側のフロート"
25353 のようにフロートを横並びに配置するには、
25357 フロートのみを使用し、その中に二つのminipageボックスを挿入します
25361 \begin_layout Plain Layout
25363 \begin_inset CommandInset ref
25365 reference "sec:ミニページ"
25375 \begin_inset space \thinspace{}
25379 \begin_inset space \thinspace{}
25382 列幅%とし、各minipageのボックス配置を
25386 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
25390 がここではminipageボックスの幅によって計算されることです。
25393 \begin_layout Standard
25394 \begin_inset Float figure
25399 \begin_layout Plain Layout
25400 \begin_inset Box Frameless
25410 height_special "totalheight"
25413 \begin_layout Plain Layout
25415 \begin_inset Graphics
25416 filename ../clipart/mobius.eps
25419 scaleBeforeRotation
25426 \begin_layout Plain Layout
25427 \begin_inset Caption Standard
25429 \begin_layout Plain Layout
25430 \begin_inset CommandInset label
25447 \begin_inset space \hfill{}
25451 \begin_inset Box Frameless
25461 height_special "totalheight"
25464 \begin_layout Plain Layout
25466 \begin_inset Graphics
25467 filename ../clipart/platypus.eps
25470 scaleBeforeRotation
25477 \begin_layout Plain Layout
25478 \begin_inset Caption Standard
25480 \begin_layout Plain Layout
25481 \begin_inset CommandInset label
25500 \begin_layout Plain Layout
25509 \begin_layout Section
25511 \begin_inset Index idx
25514 \begin_layout Plain Layout
25515 きゃぷしょん@キャプション ! しょしきせってい@書式設定
25521 \begin_inset Index idx
25524 \begin_layout Plain Layout
25525 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
25531 \begin_inset CommandInset label
25533 name "sec:キャプションの書式設定"
25540 \begin_layout Standard
25549 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
25553 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
25557 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
25558 。このキャプション書式は、すべての文書書式に適しているわけではありません。
25561 \begin_layout Standard
25562 既定のキャプション書式を変更するには、文書プリアンブルに
25565 \begin_layout Standard
25570 usepackage[format definition]{caption}
25573 \begin_layout Standard
25574 という行を加えて、LaTeXパッケージ
25579 \begin_inset Index idx
25582 \begin_layout Plain Layout
25583 LaTeXぱっけーじ@LaTeXパッケージ ! caption
25588 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
25591 \begin_layout Standard
25596 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
25599 \begin_layout Standard
25600 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
25604 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
25607 \begin_layout Standard
25612 captionsetup[フロート型]{書式定義}
25615 \begin_layout Standard
25616 というコマンドを使用して、個別の書式を指定してください。たとえば、図
25617 \begin_inset CommandInset ref
25619 reference "fig:図キャプション"
25624 \begin_inset CommandInset ref
25626 reference "tab:表キャプション"
25630 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
25633 \begin_layout Standard
25638 usepackage[tableposition=top]{caption}
25641 \begin_inset Newline newline
25648 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
25649 \begin_inset Newline newline
25653 \begin_inset Phantom HPhantom
25656 \begin_layout Plain Layout
25659 captionsetup[figure]{
25665 \begin_inset Newline newline
25670 captionsetup[table]{labelfont={bf,sf}}
25673 \begin_layout Standard
25674 \begin_inset Note Greyedout
25677 \begin_layout Plain Layout
25691 \begin_inset Index idx
25694 \begin_layout Plain Layout
25695 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25700 が使われているときには、無効になります。この場合には、文書クラスオプション
25702 captions=tableheading
25712 \begin_layout Standard
25717 パッケージについての詳細は、その取扱説明書
25718 \begin_inset CommandInset citation
25727 \begin_layout Standard
25728 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
25731 \begin_layout Standard
25743 \begin_layout Standard
25757 \begin_layout Standard
25758 \begin_inset VSpace bigskip
25766 \begin_inset Index idx
25769 \begin_layout Plain Layout
25770 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25777 article (KOMA-script)
25785 letter (KOMA-script)
25789 report (KOMA-script)
25803 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
25806 \begin_layout Standard
25811 setkomafont{captionlabel}{
25816 \begin_layout Standard
25828 \begin_inset CommandInset citation
25837 \begin_layout Standard
25841 \begin_layout Plain Layout
25845 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
25852 \begin_inset Note Note
25855 \begin_layout Plain Layout
25856 キャプション書式は、この例のみ変更してあります。
25864 \begin_layout Standard
25865 \begin_inset Float figure
25871 \begin_layout Plain Layout
25873 \begin_inset Graphics
25874 filename ../clipart/mobius.eps
25877 scaleBeforeRotation
25884 \begin_layout Plain Layout
25885 \begin_inset Caption Standard
25887 \begin_layout Plain Layout
25888 \begin_inset CommandInset label
25894 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
25907 \begin_layout Standard
25911 \begin_layout Plain Layout
25915 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
25924 \begin_layout Standard
25925 \begin_inset Float table
25931 \begin_layout Plain Layout
25932 \begin_inset Caption Standard
25934 \begin_layout Plain Layout
25935 \begin_inset CommandInset label
25941 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
25949 \begin_layout Plain Layout
25951 \begin_inset Tabular
25952 <lyxtabular version="3" rows="1" columns="5">
25953 <features rotate="0" tabularvalignment="middle">
25954 <column alignment="center" valignment="top">
25955 <column alignment="center" valignment="top">
25956 <column alignment="center" valignment="top">
25957 <column alignment="center" valignment="top">
25958 <column alignment="center" valignment="top">
25960 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25963 \begin_layout Plain Layout
25969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25972 \begin_layout Plain Layout
25978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25981 \begin_layout Plain Layout
25987 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25990 \begin_layout Plain Layout
25996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25999 \begin_layout Plain Layout
26018 \begin_layout Section
26020 \begin_inset Index idx
26023 \begin_layout Plain Layout
26024 きゃぷしょん@キャプション ! はいち@配置
26030 \begin_inset Index idx
26033 \begin_layout Plain Layout
26034 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
26040 \begin_inset CommandInset label
26042 name "sec:キャプションの配置"
26049 \begin_layout Standard
26053 \begin_layout Description
26054 図の場合: キャプションを図の下に置く
26057 \begin_layout Description
26058 表の場合: キャプションを表の上に置く
26061 \begin_layout Standard
26062 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
26078 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
26086 \begin_layout Standard
26092 \begin_layout Standard
26097 \begin_layout Plain Layout
26103 \begin_inset CommandInset ref
26105 reference "sec:キャプションの書式設定"
26119 \begin_inset Index idx
26122 \begin_layout Plain Layout
26123 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
26130 article (KOMA-script)
26138 letter (KOMA-script)
26142 report (KOMA-script)
26145 \begin_inset space \thinspace{}
26152 パッケージにオプションを与える代わりに、文書クラスオプション
26155 \begin_layout Standard
26158 captions=tableheading
26161 \begin_layout Standard
26166 \begin_layout Plain Layout
26167 このオプションは本文書で使用されています。
26175 \begin_layout Standard
26176 KOMA-Script文書クラスの文書では、キャプションを右クリックして、文脈依存メニューから、これが図表の上または下に来るべきキャプションかを指定することもで
26177 きます。これによって、文書全体のキャプション配置指定にかかわらず、特定のキャプションの配置を変えることができます。表
26178 \begin_inset CommandInset ref
26180 reference "tab:指定付きキャプション"
26184 は、キャプションは、LyX中では上に置かれているけれども、表の下に来るように指定されている例です。比較のために、表
26185 \begin_inset CommandInset ref
26187 reference "tab:標準表"
26191 のキャプションでは、指定が為されていません。
26194 \begin_layout Standard
26195 \begin_inset Float table
26200 \begin_layout Plain Layout
26201 \begin_inset Caption Below
26203 \begin_layout Plain Layout
26204 \begin_inset CommandInset label
26206 name "tab:指定付きキャプション"
26210 表下に来るように指定されたキャプション
26218 \begin_layout Plain Layout
26220 \begin_inset Tabular
26221 <lyxtabular version="3" rows="3" columns="3">
26222 <features rotate="0" tabularvalignment="middle">
26223 <column alignment="center" valignment="top" width="0pt">
26224 <column alignment="center" valignment="top" width="0pt">
26225 <column alignment="center" valignment="top" width="0pt">
26227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26230 \begin_layout Plain Layout
26236 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26239 \begin_layout Plain Layout
26245 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26248 \begin_layout Plain Layout
26256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26259 \begin_layout Plain Layout
26265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26268 \begin_layout Plain Layout
26274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26277 \begin_layout Plain Layout
26285 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26288 \begin_layout Plain Layout
26289 \begin_inset Formula $\int x^{2}dx$
26297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26300 \begin_layout Plain Layout
26301 \begin_inset Formula $\left[\begin{array}{cc}
26304 \end{array}\right]$
26312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26315 \begin_layout Plain Layout
26316 \begin_inset Formula $1+1=2$
26337 \begin_layout Standard
26338 \begin_inset Float table
26343 \begin_layout Plain Layout
26344 \begin_inset Caption Standard
26346 \begin_layout Plain Layout
26347 \begin_inset CommandInset label
26361 \begin_layout Plain Layout
26363 \begin_inset Tabular
26364 <lyxtabular version="3" rows="3" columns="3">
26365 <features rotate="0" tabularvalignment="middle">
26366 <column alignment="center" valignment="top" width="0pt">
26367 <column alignment="center" valignment="top" width="0pt">
26368 <column alignment="center" valignment="top" width="0pt">
26370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26373 \begin_layout Plain Layout
26379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26382 \begin_layout Plain Layout
26388 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26391 \begin_layout Plain Layout
26399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26402 \begin_layout Plain Layout
26408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26411 \begin_layout Plain Layout
26417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26420 \begin_layout Plain Layout
26428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26431 \begin_layout Plain Layout
26432 \begin_inset Formula $\int x^{2}dx$
26440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26443 \begin_layout Plain Layout
26444 \begin_inset Formula $\left[\begin{array}{cc}
26447 \end{array}\right]$
26455 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26458 \begin_layout Plain Layout
26459 \begin_inset Formula $1+1=2$
26480 \begin_layout Standard
26481 \begin_inset VSpace bigskip
26484 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
26487 \begin_layout Standard
26492 usepackage[option]{sidecap}
26495 \begin_layout Standard
26496 という行を入れて、LaTeXパッケージ
26501 \begin_inset Index idx
26504 \begin_layout Plain Layout
26505 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
26510 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
26514 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
26525 \begin_layout Standard
26529 \begin_layout Plain Layout
26539 \begin_inset Note Note
26542 \begin_layout Plain Layout
26547 が導入されているときのみ表示されます。
26555 \begin_layout Standard
26556 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
26559 \begin_layout Standard
26561 \begin_inset CommandInset line
26572 \begin_layout Standard
26579 TabBesBeg}[1][1.0]{%
26580 \begin_inset Newline newline
26584 \begin_inset Phantom HPhantom
26587 \begin_layout Plain Layout
26588 \begin_inset space ~
26603 \begin_inset Newline newline
26607 \begin_inset Phantom HPhantom
26610 \begin_layout Plain Layout
26613 \begin_inset space ~
26628 \begin_inset Newline newline
26632 \begin_inset Phantom HPhantom
26635 \begin_layout Plain Layout
26638 \begin_inset space ~
26648 renewenvironment{table}[1]{
26650 begin{SCtable}[#1]##1}{
26655 \begin_layout Standard
26663 \begin_inset Newline newline
26667 \begin_inset Phantom HPhantom
26670 \begin_layout Plain Layout
26671 \begin_inset space ~
26686 \begin_inset Newline newline
26690 \begin_inset Phantom HPhantom
26693 \begin_layout Plain Layout
26694 \begin_inset space ~
26711 \begin_layout Standard
26718 FigBesBeg}[1][1.0]{%
26719 \begin_inset Newline newline
26723 \begin_inset Phantom HPhantom
26726 \begin_layout Plain Layout
26727 \begin_inset space ~
26742 \begin_inset Newline newline
26746 \begin_inset Phantom HPhantom
26749 \begin_layout Plain Layout
26750 \begin_inset space ~
26765 \begin_inset Newline newline
26769 \begin_inset Phantom HPhantom
26772 \begin_layout Plain Layout
26773 \begin_inset space ~
26783 renewenvironment{figure}[1]{
26785 begin{SCfigure}[#1]##1}{
26790 \begin_layout Standard
26798 \begin_inset Newline newline
26802 \begin_inset Phantom HPhantom
26805 \begin_layout Plain Layout
26806 \begin_inset space ~
26821 \begin_inset Newline newline
26825 \begin_inset Phantom HPhantom
26828 \begin_layout Plain Layout
26829 \begin_inset space ~
26846 \begin_layout Standard
26848 \begin_inset CommandInset line
26859 \begin_layout Standard
26860 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
26863 \begin_layout Standard
26871 \begin_layout Standard
26872 というコマンドを、フロートの前にTeXコードで入れてください。そして、元のフロート定義に戻したいところで、
26875 \begin_layout Standard
26883 \begin_layout Standard
26887 \begin_layout Standard
26888 表フロートに対しては、対応するコマンド
26891 \begin_layout Standard
26905 \begin_layout Standard
26907 \begin_inset CommandInset ref
26909 reference "fig:図横キャプション"
26914 \begin_inset CommandInset ref
26916 reference "tab:表横キャプション"
26923 \begin_layout Standard
26924 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
26925 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
26928 \begin_layout Standard
26933 sidecaptionvpos{フロート型}{配置}
26936 \begin_layout Standard
26937 というコマンドを使用します。ここで「フロート型」は
26945 であり、「配置」は、上揃えの場合はtopの
26948 \begin_layout Standard
26961 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
26964 \begin_layout Standard
26969 sidecaptionvpos{figure}{c}
26972 \begin_layout Standard
26973 というコマンドを使用します。これは、図
26974 \begin_inset CommandInset ref
26976 reference "fig:図横キャプション-2"
26983 \begin_layout Standard
26984 \begin_inset VSpace medskip
26990 \begin_layout Standard
26991 キャプション幅の既定値は、画像幅ないし表幅です。しかし、表
26992 \begin_inset CommandInset ref
26994 reference "tab:表横キャプション"
26998 のように幅狭の表では、これではキャプションの幅が狭くなりすぎます。キャプション幅を増やすには、画像幅ないし表幅に掛ける因数を指定することができます。指定した幅で
26999 は、キャプションがページ余白ないし段余白に突き出てしまうような場合は、キャプション幅は自動的に再計算してくれます。
27006 \begin_layout Standard
27014 \begin_layout Standard
27021 への非必須引数として与えることもできますし、
27032 \begin_inset CommandInset ref
27034 reference "tab:図横幅広"
27041 \begin_layout Standard
27042 \begin_inset Note Greyedout
27045 \begin_layout Plain Layout
27050 キャプションを横につけたフロートでは、フロート配置オプションの
27058 がサポートしていないので、使用することができません。.
27066 \begin_layout Standard
27067 \begin_inset VSpace medskip
27075 \begin_inset CommandInset citation
27084 \begin_layout Standard
27085 \begin_inset Note Greyedout
27088 \begin_layout Plain Layout
27094 \begin_inset CommandInset ref
27096 reference "sub:参照位置"
27105 \begin_inset Index idx
27108 \begin_layout Plain Layout
27109 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
27114 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
27122 \begin_layout Standard
27123 \begin_inset Note Greyedout
27126 \begin_layout Plain Layout
27136 \begin_inset Index idx
27139 \begin_layout Plain Layout
27140 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
27145 は、pLaTeXと互換性がなく、特に文書全体の見出しのフォントが適切に表示できなくなってしまうため、本日本語訳では当該パッケージを使用していません。その使用例に
27150 』(つまりこの文書)のLyX文書本体を見るか、出力結果を見たい場合には英語版を出力するようにしてください。
27156 \begin_inset Note Note
27159 \begin_layout Plain Layout
27163 \begin_layout Plain Layout
27175 \begin_layout Plain Layout
27176 \begin_inset Float figure
27181 \begin_layout Plain Layout
27182 \begin_inset Graphics
27183 filename ../clipart/escher-lsd.eps
27185 scaleBeforeRotation
27192 \begin_layout Plain Layout
27193 \begin_inset Caption Standard
27195 \begin_layout Plain Layout
27196 \begin_inset CommandInset label
27198 name "fig:図横キャプション"
27215 \begin_layout Plain Layout
27219 \begin_layout Plain Layout
27231 \begin_layout Plain Layout
27235 \begin_layout Plain Layout
27247 \begin_layout Plain Layout
27248 \begin_inset Float table
27253 \begin_layout Plain Layout
27254 \begin_inset Caption Standard
27256 \begin_layout Plain Layout
27257 \begin_inset CommandInset label
27259 name "tab:表横キャプション"
27271 \begin_layout Plain Layout
27272 \begin_inset Tabular
27273 <lyxtabular version="3" rows="4" columns="5">
27274 <features rotate="0" tabularvalignment="middle">
27275 <column alignment="center" valignment="top">
27276 <column alignment="center" valignment="top">
27277 <column alignment="center" valignment="top">
27278 <column alignment="center" valignment="top">
27279 <column alignment="center" valignment="top">
27281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27284 \begin_layout Plain Layout
27290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27293 \begin_layout Plain Layout
27299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27302 \begin_layout Plain Layout
27308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27311 \begin_layout Plain Layout
27317 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27320 \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" usebox="none">
27349 \begin_layout Plain Layout
27355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27358 \begin_layout Plain Layout
27364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27367 \begin_layout Plain Layout
27375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27378 \begin_layout Plain Layout
27384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27387 \begin_layout Plain Layout
27393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27396 \begin_layout Plain Layout
27402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27405 \begin_layout Plain Layout
27411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27414 \begin_layout Plain Layout
27422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27425 \begin_layout Plain Layout
27431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27434 \begin_layout Plain Layout
27440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27443 \begin_layout Plain Layout
27449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27452 \begin_layout Plain Layout
27458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27461 \begin_layout Plain Layout
27480 \begin_layout Plain Layout
27484 \begin_layout Plain Layout
27496 \begin_layout Plain Layout
27500 \begin_layout Plain Layout
27513 \begin_layout Plain Layout
27517 sidecaptionvpos{figure}{c}
27523 \begin_inset Float figure
27528 \begin_layout Plain Layout
27529 \begin_inset Graphics
27530 filename ../clipart/escher-lsd.eps
27532 scaleBeforeRotation
27539 \begin_layout Plain Layout
27540 \begin_inset Caption Standard
27542 \begin_layout Plain Layout
27543 \begin_inset CommandInset label
27545 name "fig:図横キャプション-2"
27549 これは図の横にある縦方向中央揃えのキャプションです。
27562 \begin_layout Plain Layout
27566 \begin_layout Plain Layout
27578 \begin_layout Plain Layout
27582 \begin_layout Plain Layout
27594 \begin_layout Plain Layout
27595 \begin_inset Float table
27600 \begin_layout Plain Layout
27601 \begin_inset Caption Standard
27603 \begin_layout Plain Layout
27604 \begin_inset CommandInset label
27611 \begin_inset CommandInset ref
27613 reference "tab:表横キャプション"
27625 \begin_layout Plain Layout
27626 \begin_inset Tabular
27627 <lyxtabular version="3" rows="4" columns="5">
27628 <features rotate="0" tabularvalignment="middle">
27629 <column alignment="center" valignment="top">
27630 <column alignment="center" valignment="top">
27631 <column alignment="center" valignment="top">
27632 <column alignment="center" valignment="top">
27633 <column alignment="center" valignment="top">
27635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27638 \begin_layout Plain Layout
27644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27647 \begin_layout Plain Layout
27653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27656 \begin_layout Plain Layout
27662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27665 \begin_layout Plain Layout
27671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27674 \begin_layout Plain Layout
27682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27685 \begin_layout Plain Layout
27691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27694 \begin_layout Plain Layout
27700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27703 \begin_layout Plain Layout
27709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27712 \begin_layout Plain Layout
27718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27721 \begin_layout Plain Layout
27729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27732 \begin_layout Plain Layout
27738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27741 \begin_layout Plain Layout
27747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27750 \begin_layout Plain Layout
27756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27759 \begin_layout Plain Layout
27765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27768 \begin_layout Plain Layout
27776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27779 \begin_layout Plain Layout
27785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27788 \begin_layout Plain Layout
27794 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27797 \begin_layout Plain Layout
27803 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27806 \begin_layout Plain Layout
27812 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27815 \begin_layout Plain Layout
27834 \begin_layout Plain Layout
27838 \begin_layout Plain Layout
27855 \begin_layout Standard
27859 \begin_layout Plain Layout
27869 \begin_inset Note Note
27872 \begin_layout Plain Layout
27877 が導入されていないときのみ表示されます。
27885 \begin_layout Standard
27886 本節の残りの部分を出力で表示するには、LaTeXパッケージ
27893 \begin_layout Standard
27897 \begin_layout Plain Layout
27909 \begin_layout Section
27911 \begin_inset Index idx
27914 \begin_layout Plain Layout
27915 ふろーと@フロート ! ふろーといちらん@フロート一覧
27923 \begin_layout Standard
27924 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
27926 挿入\SpecialChar \menuseparator
27932 \begin_layout Standard
27933 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
27936 \begin_layout Standard
27937 本文書の終わりに、図一覧と表一覧があります。
27940 \begin_layout Chapter
27944 \begin_layout Section
27946 \begin_inset Index idx
27949 \begin_layout Plain Layout
27950 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
27958 \begin_layout Standard
27971 挿入\SpecialChar \menuseparator
27974 メニューで挿入することができます。注釈には、以下の三つの型があります。
27977 \begin_layout Description
27978 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
27979 \begin_inset Newline newline
27983 \begin_inset Newline newline
27987 \begin_inset Graphics
27988 filename clipart/LyXNoteImageQt4.png
27991 scaleBeforeRotation
27996 \begin_inset Note Note
27999 \begin_layout Plain Layout
28000 これは、出力には現れない注釈ボックスに書かれた文章です。
28008 \begin_layout Description
28009 コメント この注釈も出力には現れませんが、
28011 ファイル\SpecialChar \menuseparator
28012 書き出し\SpecialChar \menuseparator
28017 \begin_layout Plain Layout
28024 eX (pdflatex) / (平文)
28026 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
28027 \begin_inset Newline newline
28031 \begin_inset Newline newline
28035 \begin_inset Graphics
28036 filename clipart/CommentNoteImageQt4.png
28039 scaleBeforeRotation
28044 \begin_inset Note Comment
28047 \begin_layout Plain Layout
28048 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
28056 \begin_layout Description
28057 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
28058 \begin_inset Newline newline
28062 \begin_inset Newline newline
28066 \begin_inset Graphics
28067 filename clipart/GreyedOutNoteImageQt4.png
28070 scaleBeforeRotation
28075 \begin_inset Newline newline
28082 \begin_layout Plain Layout
28086 renewenvironment{lyxgreyedout}
28089 \begin_layout Plain Layout
28093 textcolor[gray]{0.8}
28103 \begin_inset Note Greyedout
28106 \begin_layout Plain Layout
28107 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
28111 \begin_layout Plain Layout
28112 これは、淡色注釈内に脚注を用いた例です。
28126 \begin_layout Plain Layout
28130 renewenvironment{lyxgreyedout}
28133 \begin_layout Plain Layout
28147 \begin_inset Note Note
28150 \begin_layout Plain Layout
28151 以下に述べられているように、淡色注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色注釈は、LyX本来の定義で表示されるように再
28158 \begin_inset Newline newline
28162 \begin_inset Newline newline
28165 この例から分かるように、淡色注釈の最初の行は少し字下げされるほか、淡色注釈には脚注を入れることができます。
28168 \begin_layout Standard
28169 \begin_inset VSpace bigskip
28186 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
28187 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
28191 \begin_layout Standard
28192 \begin_inset VSpace bigskip
28197 文書\SpecialChar \menuseparator
28198 設定\SpecialChar \menuseparator
28204 \begin_layout Section
28206 \begin_inset CommandInset label
28213 \begin_inset Index idx
28216 \begin_layout Plain Layout
28217 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
28223 \begin_inset Index idx
28226 \begin_layout Plain Layout
28235 \begin_layout Standard
28241 arg "footnote-insert"
28248 挿入\SpecialChar \menuseparator
28251 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
28252 \begin_inset Graphics
28253 filename clipart/footnoteQt4.png
28255 scaleBeforeRotation
28259 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
28260 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
28263 \begin_layout Standard
28268 \begin_layout Plain Layout
28269 \begin_inset CommandInset label
28284 \begin_layout Plain Layout
28288 newcounter{MyRepeatFoot}
28291 \begin_layout Plain Layout
28295 setcounter{MyRepeatFoot}{
28305 \begin_layout Standard
28306 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
28307 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
28310 \begin_layout Standard
28311 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
28312 \begin_inset CommandInset ref
28314 reference "sec:フロートの参照"
28318 節に説明されているようにして、本文中でこのラベルを相互参照してください。
28319 \begin_inset Newline newline
28323 \begin_inset CommandInset ref
28325 reference "fn:これは脚注の一例"
28332 \begin_layout Standard
28333 \begin_inset VSpace defskip
28339 \begin_layout Standard
28340 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
28346 コマンドを入れてください。脚注の本文は、表の後でTeXコード
28353 \begin_inset Newline newline
28357 \begin_inset Newline newline
28371 \begin_inset Newline newline
28377 \begin_layout Standard
28378 \begin_inset Tabular
28379 <lyxtabular version="3" rows="2" columns="1">
28380 <features rotate="0" tabularvalignment="middle">
28381 <column alignment="center" valignment="top">
28383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28386 \begin_layout Plain Layout
28391 \begin_layout Plain Layout
28404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28407 \begin_layout Plain Layout
28412 \begin_layout Plain Layout
28435 \begin_layout Plain Layout
28448 \begin_layout Plain Layout
28458 \begin_layout Standard
28460 \begin_inset CommandInset ref
28462 reference "sub:長尺表での脚注"
28469 \begin_layout Standard
28470 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
28471 \begin_inset CommandInset ref
28473 reference "sec:ミニページ"
28477 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
28492 \begin_layout Standard
28493 \begin_inset Box Frameless
28503 height_special "totalheight"
28506 \begin_layout Plain Layout
28511 \begin_layout Plain Layout
28520 \begin_layout Plain Layout
28525 \begin_layout Plain Layout
28542 \begin_layout Standard
28546 \begin_layout Plain Layout
28559 \begin_layout Plain Layout
28567 \begin_inset VSpace defskip
28573 \begin_layout Standard
28574 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
28581 \begin_inset Newline newline
28584 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
28585 \begin_inset CommandInset ref
28587 reference "fn:これは脚注の一例"
28594 \begin_layout Standard
28599 newcounter{MyRepeatFoot}
28600 \begin_inset Newline newline
28605 setcounter{MyRepeatFoot}{
28610 \begin_layout Standard
28611 というコマンドを挿入しています。そして脚注マークは、
28614 \begin_layout Standard
28624 \begin_layout Standard
28628 \begin_layout Standard
28633 \begin_layout Plain Layout
28647 \begin_layout Standard
28648 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
28651 \begin_layout Standard
28661 \begin_layout Standard
28665 \begin_layout Standard
28670 \begin_layout Plain Layout
28684 \begin_layout Subsection
28686 \begin_inset CommandInset label
28693 \begin_inset Index idx
28696 \begin_layout Plain Layout
28705 \begin_layout Standard
28706 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
28709 \begin_layout Standard
28714 @addtoreset{footnote}{section}
28717 \begin_layout Standard
28721 \begin_layout Standard
28722 \begin_inset VSpace bigskip
28725 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
28728 \begin_layout Standard
28740 \begin_layout Standard
28744 \begin_layout Plain Layout
28761 \begin_layout Plain Layout
28762 これは、ローマ数字を使った脚注の例です。
28770 \begin_layout Standard
28771 付番様式を大文字ローマ数字に変更するには、上記コマンドの
28783 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
28795 を使用してください。記号を使って付「番」するには、
28804 \begin_layout Standard
28805 \begin_inset Note Greyedout
28808 \begin_layout Plain Layout
28813 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
28819 \begin_inset Newline newline
28823 \begin_inset Note Greyedout
28826 \begin_layout Plain Layout
28831 記号を使うと9個の脚注しか番号を振ることができません。
28839 \begin_layout Standard
28840 付番様式を変更した後、既定様式に戻すには、上記コマンドの
28856 \begin_layout Plain Layout
28872 \begin_layout Standard
28873 \begin_inset VSpace bigskip
28879 \begin_layout Standard
28880 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
28883 \begin_layout Standard
28888 numberwithin{footnote}{chapter}
28891 \begin_layout Standard
28898 コマンドを使用できるようにするためには、文書設定の
28905 \begin_inset space ~
28913 \begin_layout Standard
28917 \begin_layout Plain Layout
28921 numberwithin{footnote}{chapter}
28932 \begin_layout Plain Layout
28937 「章番号.脚注番号」スキームで番号を振られた脚注です。
28948 \begin_layout Plain Layout
28964 \begin_layout Standard
28965 \begin_inset Note Greyedout
28968 \begin_layout Plain Layout
28975 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
28983 \begin_layout Standard
28986 Roman{footnote}」スキームを得るには、
28992 の代わりに以下のコマンドを使用してください。
28995 \begin_layout Standard
29009 \begin_layout Subsection
29011 \begin_inset Index idx
29014 \begin_layout Plain Layout
29023 \begin_layout Standard
29024 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
29026 \begin_inset space \thinspace{}
29032 \begin_layout Standard
29042 \begin_inset Newline newline
29056 \begin_layout Standard
29057 \begin_inset VSpace bigskip
29060 二段組文書では、脚注は各段底部に表示されます(図
29061 \begin_inset CommandInset ref
29063 reference "fig:標準的脚注配置"
29068 \begin_inset CommandInset ref
29070 reference "fig:ftnright脚注配置"
29074 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
29077 \begin_layout Standard
29082 usepackage{ftnright}
29085 \begin_layout Standard
29086 というコマンドを書いて、LaTeXパッケージ
29091 \begin_inset Index idx
29094 \begin_layout Plain Layout
29095 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
29101 \begin_inset Float figure
29107 \begin_layout Plain Layout
29111 \begin_layout Plain Layout
29121 \begin_inset Graphics
29122 filename ../clipart/without_fntright.pdf
29124 scaleBeforeRotation
29132 \begin_layout Plain Layout
29142 \begin_layout Plain Layout
29143 \begin_inset Caption Standard
29145 \begin_layout Plain Layout
29146 \begin_inset CommandInset label
29165 \begin_layout Standard
29166 \begin_inset Float figure
29172 \begin_layout Plain Layout
29176 \begin_layout Plain Layout
29186 \begin_inset Graphics
29187 filename ../clipart/with_fntright.pdf
29189 scaleBeforeRotation
29197 \begin_layout Plain Layout
29207 \begin_layout Plain Layout
29208 \begin_inset Caption Standard
29210 \begin_layout Plain Layout
29211 \begin_inset CommandInset label
29213 name "fig:ftnright脚注配置"
29234 \begin_layout Standard
29235 \begin_inset VSpace bigskip
29239 \begin_inset CommandInset ref
29245 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
29246 \begin_inset Index idx
29249 \begin_layout Plain Layout
29255 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
29257 文書\SpecialChar \menuseparator
29258 設定\SpecialChar \menuseparator
29265 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
29268 \begin_layout Standard
29276 \begin_layout Standard
29280 \begin_layout Standard
29281 \begin_inset Float figure
29286 \begin_layout Plain Layout
29291 \begin_layout Plain Layout
29301 \begin_inset Graphics
29302 filename ../clipart/endnotes.pdf
29303 scaleBeforeRotation
29311 \begin_layout Plain Layout
29321 \begin_layout Plain Layout
29322 \begin_inset Caption Standard
29324 \begin_layout Plain Layout
29325 \begin_inset CommandInset label
29331 後注 – 注を節ないし章末に別段落として印字します。
29344 \begin_layout Standard
29345 \begin_inset VSpace medskip
29348 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
29351 \begin_layout Standard
29358 notesname}{Anmerkungen}
29361 \begin_layout Standard
29362 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
29365 \begin_layout Standard
29366 \begin_inset VSpace medskip
29370 \begin_inset CommandInset ref
29372 reference "sub:脚注の付番"
29376 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
29388 を用いてください。後注番号をリセットするには、第
29389 \begin_inset CommandInset ref
29391 reference "sub:脚注の付番"
29412 \begin_layout Standard
29414 \begin_inset CommandInset ref
29435 \begin_layout Standard
29436 \begin_inset VSpace bigskip
29439 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
29444 \begin_inset Index idx
29447 \begin_layout Plain Layout
29448 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
29454 \begin_inset CommandInset citation
29463 \begin_layout Standard
29464 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
29465 \begin_inset CommandInset citation
29467 key "latexcompanion,latexguide,latexbook"
29476 \begin_inset Index idx
29479 \begin_layout Plain Layout
29480 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
29485 文書クラスを使用している場合には、すべての脚注設定を、クラス固有のコマンドで調節することができます(
29486 \begin_inset CommandInset citation
29495 \begin_layout Section
29497 \begin_inset Index idx
29500 \begin_layout Plain Layout
29501 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
29509 \begin_layout Standard
29510 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
29512 挿入\SpecialChar \menuseparator
29520 arg "marginalnote-insert"
29525 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
29528 \begin_layout Standard
29530 \begin_inset Marginal
29533 \begin_layout Plain Layout
29542 \begin_layout Standard
29543 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
29544 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
29547 \begin_layout Standard
29548 \begin_inset VSpace bigskip
29551 傍注を内側余白に置くには、傍注の前にTeXコードで
29554 \begin_layout Standard
29562 \begin_layout Standard
29563 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
29567 \begin_layout Plain Layout
29577 \begin_inset Marginal
29580 \begin_layout Plain Layout
29589 \begin_inset Newline newline
29595 \begin_inset Note Greyedout
29598 \begin_layout Plain Layout
29603 内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
29611 \begin_layout Standard
29615 \begin_layout Standard
29623 \begin_layout Standard
29628 \begin_layout Plain Layout
29638 \begin_inset Note Greyedout
29641 \begin_layout Plain Layout
29648 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
29656 \begin_layout Standard
29657 \begin_inset VSpace bigskip
29661 \begin_inset Marginal
29664 \begin_layout Plain Layout
29665 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
29671 \begin_inset CommandInset ref
29673 reference "sub:複数行"
29677 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
29678 \begin_inset space \thinspace{}
29682 \begin_inset Marginal
29685 \begin_layout Plain Layout
29686 \begin_inset space \hspace*{}
29690 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
29698 \begin_layout Standard
29699 \begin_inset VSpace bigskip
29705 \begin_layout Standard
29706 \begin_inset Note Greyedout
29709 \begin_layout Plain Layout
29714 通常、傍注は表やフロート、脚注の中では使用することができません。
29722 \begin_layout Standard
29723 \begin_inset VSpace bigskip
29729 \begin_layout Standard
29733 \begin_layout Plain Layout
29743 \begin_inset Note Note
29746 \begin_layout Plain Layout
29751 が導入されているときのみ表示されます。
29759 \begin_layout Standard
29765 \begin_inset Index idx
29768 \begin_layout Plain Layout
29769 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
29774 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
29778 パッケージが提供するコマンドを使うようになります。
29781 \begin_layout Standard
29786 usepackage{marginnote}
29787 \begin_inset Newline newline
29799 \begin_layout Standard
29804 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
29808 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
29809 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
29812 \begin_layout Standard
29818 \begin_layout Standard
29819 という形で書くことで設定することができます。ここで「オフセット」には、表
29820 \begin_inset CommandInset ref
29826 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
29831 \begin_inset space \thinspace{}
29835 \begin_inset Marginal
29838 \begin_layout Plain Layout
29840 \begin_inset space \thinspace{}
29852 \begin_layout Plain Layout
29862 \begin_layout Standard
29863 \begin_inset VSpace medskip
29870 を使うと、傍注の揃えを変更することもできます。たとえば、
29873 \begin_layout Standard
29880 raggedleftmarginnote}{
29883 \begin_inset Newline newline
29890 raggedrightmarginnote}{
29895 \begin_layout Standard
29896 というコマンドを使うと、中央揃えになります。
29900 raggedleftmarginnote
29902 とは、左側に表示されている傍注のことを指します
29906 \begin_layout Plain Layout
29912 raggedleftmarginnote}{
29917 \begin_layout Plain Layout
29923 raggedrightmarginnote}{
29931 \begin_inset Marginal
29934 \begin_layout Plain Layout
29935 この傍注の文章は中央揃えになっています。
29943 \begin_layout Standard
29950 raggedleftmarginnote}{
29953 \begin_inset Newline newline
29960 raggedrightmarginnote}{
29968 \begin_layout Plain Layout
29974 raggedleftmarginnote}{
29979 \begin_layout Plain Layout
29985 raggedrightmarginnote}{
29995 \begin_layout Standard
29999 \begin_layout Standard
30000 \begin_inset VSpace medskip
30008 \begin_inset CommandInset citation
30017 \begin_layout Standard
30018 \begin_inset VSpace bigskip
30021 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
30029 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
30032 \begin_layout Standard
30042 \begin_inset Newline newline
30052 \begin_inset Newline newline
30056 \begin_inset Phantom HPhantom
30059 \begin_layout Plain Layout
30062 \begin_inset space ~
30079 \begin_inset Newline newline
30083 \begin_inset Phantom HPhantom
30086 \begin_layout Plain Layout
30089 \begin_inset space ~
30106 \begin_layout Standard
30110 \begin_layout Plain Layout
30121 \begin_layout Plain Layout
30132 \begin_layout Plain Layout
30143 \begin_layout Plain Layout
30157 \begin_inset Marginal
30160 \begin_layout Plain Layout
30161 これは、定義したヘッダをつけた傍注です。
30170 \begin_layout Plain Layout
30181 \begin_layout Plain Layout
30195 \begin_inset Note Note
30198 \begin_layout Plain Layout
30199 傍注書式は、この例の分だけ変更してあります。
30207 \begin_layout Standard
30211 \begin_layout Plain Layout
30221 \begin_inset Note Note
30224 \begin_layout Plain Layout
30229 が導入されていないときのみ表示されます。
30237 \begin_layout Standard
30238 本節の以下の部分を出力に表示するには、LaTeXパッケージ
30245 \begin_layout Standard
30249 \begin_layout Plain Layout
30261 \begin_layout Chapter
30265 \begin_layout Section
30267 \begin_inset Index idx
30270 \begin_layout Plain Layout
30279 \begin_layout Standard
30280 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
30281 \begin_inset CommandInset ref
30283 reference "sec:ミニページ"
30288 \begin_inset CommandInset ref
30294 節参照)、単語がハイフネートされるのを予防したり(第
30295 \begin_inset CommandInset ref
30297 reference "sec:ハイフネーションの回避"
30302 \begin_inset CommandInset ref
30304 reference "sub:垂直揃え"
30308 節参照)、あるいは文章の背景色を設定したり(第
30309 \begin_inset CommandInset ref
30311 reference "sec:色付きボックス"
30318 \begin_layout Standard
30321 挿入\SpecialChar \menuseparator
30329 arg "box-insert Frameless"
30334 を使って挿入することができます。すると、
30335 \begin_inset Graphics
30336 filename clipart/BoxInsetDefaultQt4.png
30338 scaleBeforeRotation
30346 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
30350 メニューを選択すると現れるボックスダイアログでは、
30366 型は、新規ボックスの既定値となっており、第
30367 \begin_inset CommandInset ref
30369 reference "sec:ミニページ"
30378 \begin_inset CommandInset ref
30380 reference "sec:Parboxes"
30389 \begin_inset CommandInset ref
30391 reference "sec:ハイフネーションの回避"
30398 \begin_layout Standard
30399 ボックスは付番されないので、フロートや脚注のように参照することはできません。
30402 \begin_layout Standard
30403 \begin_inset Note Greyedout
30406 \begin_layout Plain Layout
30419 環境の単独要素とすべきではありません。
30427 \begin_layout Standard
30428 \begin_inset Note Greyedout
30431 \begin_layout Plain Layout
30436 理由は不明ですが、枠付きボックスを使用している場合には、
30449 \begin_inset CommandInset ref
30451 reference "sec:ハイフネーションの回避"
30463 \begin_layout Section
30465 \begin_inset CommandInset label
30467 name "sec:ボックスダイアログ"
30472 \begin_inset Index idx
30475 \begin_layout Plain Layout
30476 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
30484 \begin_layout Subsection
30486 \begin_inset Index idx
30489 \begin_layout Plain Layout
30490 ぼっくす@ボックス ! すんぽう@寸法
30498 \begin_layout Standard
30507 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
30508 \begin_inset CommandInset ref
30518 フィールドには、加えて以下の寸法を使用することができます。
30521 \begin_layout Description
30522 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
30523 \begin_inset Newline newline
30527 \begin_inset Newline newline
30531 \begin_inset Newline newline
30535 \begin_inset Box Boxed
30545 height_special "depth"
30548 \begin_layout Plain Layout
30556 \begin_inset Newline newline
30560 \begin_inset Newline newline
30566 \begin_layout Description
30567 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
30568 \begin_inset Box Boxed
30578 height_special "height"
30581 \begin_layout Plain Layout
30591 \begin_layout Description
30593 \begin_inset Box Boxed
30603 height_special "totalheight"
30606 \begin_layout Plain Layout
30616 \begin_layout Description
30617 幅 これはボックスの幅を高さに設定します。
30618 \begin_inset Box Boxed
30628 height_special "width"
30631 \begin_layout Plain Layout
30641 \begin_layout Subsection
30643 \begin_inset Index idx
30646 \begin_layout Plain Layout
30647 ぼっくす@ボックス ! もじそろえ@文字揃え
30655 \begin_layout Standard
30660 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
30663 \begin_layout Description
30665 \begin_inset Box Boxed
30675 height_special "totalheight"
30678 \begin_layout Plain Layout
30688 \begin_layout Description
30690 \begin_inset Box Boxed
30700 height_special "totalheight"
30703 \begin_layout Plain Layout
30713 \begin_layout Description
30715 \begin_inset Box Boxed
30725 height_special "totalheight"
30728 \begin_layout Plain Layout
30738 \begin_layout Standard
30739 \begin_inset Note Greyedout
30742 \begin_layout Plain Layout
30747 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
30755 \begin_layout Standard
30756 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
30759 \begin_layout Standard
30760 \begin_inset VSpace bigskip
30767 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
30770 \begin_layout Description
30772 \begin_inset Box Boxed
30782 height_special "totalheight"
30785 \begin_layout Plain Layout
30795 \begin_layout Description
30797 \begin_inset Box Boxed
30807 height_special "totalheight"
30810 \begin_layout Plain Layout
30820 \begin_layout Description
30822 \begin_inset Box Boxed
30832 height_special "totalheight"
30835 \begin_layout Plain Layout
30845 \begin_layout Description
30846 広げる これは例示のための本文行です。
30847 \begin_inset Box Boxed
30857 height_special "totalheight"
30860 \begin_layout Plain Layout
30865 \begin_layout Plain Layout
30870 \begin_layout Plain Layout
30880 \begin_layout Standard
30881 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
30884 \begin_layout Standard
30885 \begin_inset VSpace bigskip
30892 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
30895 \begin_layout Standard
30897 \begin_inset Box Boxed
30907 height_special "totalheight"
30910 \begin_layout Plain Layout
30915 \begin_layout Plain Layout
30920 \begin_layout Plain Layout
30930 \begin_layout Standard
30935 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
30938 \begin_layout Standard
30940 \begin_inset Box Boxed
30950 height_special "totalheight"
30953 \begin_layout Plain Layout
30954 このボックスの文章は水平方向に広げてあります。
30962 \begin_layout Subsection
30964 \begin_inset CommandInset label
30971 \begin_inset Index idx
30974 \begin_layout Plain Layout
30975 ぼっくす@ボックス ! そうしょく@装飾
30983 \begin_layout Standard
30988 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
30991 \begin_layout Description
30995 \begin_layout Description
30996 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
31003 \begin_inset Box Boxed
31013 height_special "totalheight"
31016 \begin_layout Plain Layout
31026 \begin_layout Description
31027 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
31028 \begin_inset space \thinspace{}
31032 \begin_inset Box ovalbox
31042 height_special "totalheight"
31045 \begin_layout Plain Layout
31055 \begin_layout Description
31056 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
31057 \begin_inset space \thinspace{}
31061 \begin_inset Box Ovalbox
31071 height_special "totalheight"
31074 \begin_layout Plain Layout
31084 \begin_layout Description
31085 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
31092 \begin_inset space \thinspace{}
31096 \begin_inset Box Shadowbox
31106 height_special "totalheight"
31109 \begin_layout Plain Layout
31119 \begin_layout Description
31120 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
31124 \begin_layout Plain Layout
31126 \begin_inset CommandInset ref
31128 reference "sec:色付きボックス"
31137 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
31138 \begin_inset Box Shaded
31148 height_special "totalheight"
31151 \begin_layout Plain Layout
31160 \begin_layout Description
31161 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
31162 \begin_inset space \thinspace{}
31172 \begin_inset space \thinspace{}
31182 \begin_inset space \thinspace{}
31192 \begin_inset space \thinspace{}
31196 \begin_inset space \thinspace{}
31200 \begin_inset space \thinspace{}
31204 \begin_inset Box Doublebox
31214 height_special "totalheight"
31217 \begin_layout Plain Layout
31227 \begin_layout Standard
31228 \begin_inset VSpace bigskip
31231 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
31236 \begin_inset Index idx
31239 \begin_layout Plain Layout
31240 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
31248 \begin_layout Standard
31249 \begin_inset VSpace bigskip
31256 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
31276 \begin_inset Box Framed
31286 height_special "totalheight"
31289 \begin_layout Plain Layout
31298 \begin_layout Section
31300 \begin_inset Index idx
31303 \begin_layout Plain Layout
31304 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
31312 \begin_layout Standard
31320 \begin_inset space \thinspace{}
31323 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
31324 \begin_inset space \thinspace{}
31330 \begin_layout Standard
31340 \begin_layout Standard
31344 \begin_layout Plain Layout
31356 \begin_inset Box Boxed
31366 height_special "totalheight"
31369 \begin_layout Plain Layout
31378 \begin_inset space \thinspace{}
31382 \begin_inset space \thinspace{}
31386 \begin_inset space \thinspace{}
31398 \begin_layout Plain Layout
31412 \begin_layout Standard
31413 \begin_inset VSpace bigskip
31416 枠とボックスの内容との空白は、すべての枠様式について3
31417 \begin_inset space \thinspace{}
31420 ptが既定値になっています。これは、長さ
31426 を別の値に設定することによって変更することができます。たとえば
31429 \begin_layout Standard
31439 \begin_layout Standard
31441 \begin_inset space \thinspace{}
31444 ptにし、以下のボックスのようになります。
31447 \begin_layout Standard
31451 \begin_layout Plain Layout
31463 \begin_inset Box Boxed
31473 height_special "totalheight"
31476 \begin_layout Plain Layout
31485 \begin_inset space \thinspace{}
31489 \begin_inset space \thinspace{}
31493 \begin_inset space \thinspace{}
31505 \begin_layout Plain Layout
31519 \begin_layout Standard
31520 \begin_inset VSpace bigskip
31523 楕円形ボックスの丸い角の直径は、コマンド
31532 \begin_layout Standard
31540 \begin_layout Standard
31542 \begin_inset space \thinspace{}
31548 \begin_layout Standard
31556 \begin_layout Standard
31560 \begin_inset space \thinspace{}
31566 \begin_inset Formula $\times$
31572 \begin_inset space \thinspace{}
31586 \begin_layout Standard
31590 \begin_layout Plain Layout
31600 \begin_inset Box Ovalbox
31610 height_special "totalheight"
31613 \begin_layout Plain Layout
31622 \begin_inset space \thinspace{}
31626 \begin_inset space \thinspace{}
31630 \begin_inset space \thinspace{}
31642 \begin_layout Plain Layout
31654 \begin_layout Standard
31655 \begin_inset VSpace bigskip
31664 を変更することで調整できます。以下のボックスでは
31667 \begin_layout Standard
31677 \begin_layout Standard
31679 \begin_inset space \thinspace{}
31685 \begin_layout Standard
31689 \begin_layout Plain Layout
31701 \begin_inset Box Shadowbox
31711 height_special "totalheight"
31714 \begin_layout Plain Layout
31723 \begin_inset space \thinspace{}
31727 \begin_inset space \thinspace{}
31731 \begin_inset space \thinspace{}
31743 \begin_layout Plain Layout
31757 \begin_layout Standard
31758 \begin_inset VSpace bigskip
31764 \begin_layout Standard
31772 \begin_inset space \thinspace{}
31775 ptです。ボックスの中身と枠の間の空白の既定値は9
31776 \begin_inset space \thinspace{}
31785 の値を変えることで変更することができます。たとえば、下記の
31792 \begin_layout Standard
31800 \begin_inset Newline newline
31810 \begin_layout Standard
31811 というTeXコードコマンドで設定してあります。
31815 \begin_layout Plain Layout
31824 \begin_layout Plain Layout
31836 \begin_inset Box Framed
31846 height_special "totalheight"
31849 \begin_layout Plain Layout
31863 \begin_layout Plain Layout
31872 \begin_layout Plain Layout
31886 \begin_layout Standard
31887 \begin_inset VSpace bigskip
31893 \begin_layout Standard
31898 ボックスでは、ボックスの内容と枠の余白の既定値は3
31899 \begin_inset space \thinspace{}
31908 の値を変更することで変えられます。既定の背景色である赤色は、
31912 definecolor{shadebox}
31914 コマンドで局所的に変更することもできますし、
31916 ツール\SpecialChar \menuseparator
31917 設定\SpecialChar \menuseparator
31918 色\SpecialChar \menuseparator
31921 メニューからグローバルに変更することもできます。
31928 \begin_inset CommandInset ref
31930 reference "sec:色付きの表"
31938 \begin_layout Plain Layout
31949 をプリアンブルに読み込む必要があります。第
31950 \begin_inset CommandInset ref
31952 reference "sec:色付きボックス"
31964 \begin_layout Standard
31965 たとえば、下記の影付き背景ボックスの外見は
31968 \begin_layout Standard
31978 \begin_inset Newline newline
31985 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31988 \begin_layout Standard
31989 というTeXコードコマンドを使って設定してあります。
31992 \begin_layout Standard
31996 \begin_layout Plain Layout
32005 \begin_layout Plain Layout
32009 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
32015 \begin_inset Box Shaded
32025 height_special "totalheight"
32028 \begin_layout Plain Layout
32044 \begin_layout Plain Layout
32053 \begin_layout Plain Layout
32057 definecolor{shadecolor}{rgb}{1,0,0}
32065 \begin_layout Standard
32066 \begin_inset VSpace bigskip
32069 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
32072 \begin_layout Section
32074 \begin_inset CommandInset label
32081 \begin_inset Index idx
32084 \begin_layout Plain Layout
32085 ぼっくす@ボックス ! みにぺーじ@ミニページ
32093 \begin_layout Standard
32094 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
32097 \begin_layout Standard
32098 ミニページは、複数の言語を含む文書を執筆する際に便利です。
32101 \begin_layout Standard
32102 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
32106 \SpecialChar \menuseparator
32111 \SpecialChar \menuseparator
32116 メニューで挿入した水平フィルで隔てられています。
32117 \begin_inset Newpage newpage
32123 \begin_layout Standard
32124 \begin_inset Box Frameless
32134 height_special "totalheight"
32137 \begin_layout Plain Layout
32138 Dies ist ein deutscher Text.
32139 Dies ist ein deutscher Text.
32140 Dies ist ein deutscher Text.
32141 Dies ist ein deutscher Text.
32142 Dies ist ein deutscher Text.
32143 Dies ist ein deutscher Text.
32144 Dies ist ein deutscher Text.
32145 Dies ist ein deutscher Text.
32146 Dies ist ein deutscher Text.
32147 Dies ist ein deutscher Text.
32148 Dies ist ein deutscher Text.
32149 Dies ist ein deutscher Text.
32150 Dies ist ein deutscher Text
32154 \begin_layout Plain Layout
32155 Dies ist eine deutsche Fußnote.
32161 Dies ist ein deutscher Text.
32162 Dies ist ein deutscher Text.
32168 \begin_inset space \hfill{}
32172 \begin_inset Box Frameless
32182 height_special "totalheight"
32185 \begin_layout Plain Layout
32186 This is an English Text.
32187 This is an English Text.
32188 This is an English Text.
32189 This is an English Text.
32190 This is an English Text.
32191 This is an English Text.
32192 This is an English Text.
32193 This is an English Text.
32194 This is an English Text.
32195 This is an English Text.
32196 This is an English Text.
32197 This is an English Text.
32198 This is an English Text.
32199 This is an English Text.
32200 This is an English Text.
32201 This is an English Text.
32205 \begin_layout Plain Layout
32206 This is an English footnote.
32211 This is an English Text.
32219 \begin_layout Standard
32220 \begin_inset VSpace bigskip
32223 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
32227 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
32230 \begin_layout Standard
32231 ミニページは、文章部に背景色を与えるのに使用することもできます。第
32232 \begin_inset CommandInset ref
32234 reference "sub:段落の着色"
32241 \begin_layout Standard
32242 \begin_inset Note Greyedout
32245 \begin_layout Plain Layout
32250 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
32258 \begin_layout Section
32260 \begin_inset CommandInset label
32262 name "sec:Parboxes"
32267 \begin_inset Index idx
32270 \begin_layout Plain Layout
32271 ぼっくす@ボックス ! Parboxes
32279 \begin_layout Standard
32280 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
32283 \begin_layout Standard
32285 \begin_inset Box Frameless
32295 height_special "totalheight"
32298 \begin_layout Plain Layout
32299 これはparbox内の文章です。これはparbox内の文章です。
32302 \begin_layout Plain Layout
32307 \begin_layout Plain Layout
32308 これはparbox内の脚注であり、したがって表示はされません。
32321 \begin_layout Section
32323 \begin_inset Index idx
32326 \begin_layout Plain Layout
32327 ぼっくす@ボックス ! もじよう@文字用
32335 \begin_layout Subsection
32337 \begin_inset CommandInset label
32339 name "sec:ハイフネーションの回避"
32344 \begin_inset Index idx
32347 \begin_layout Plain Layout
32348 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
32356 \begin_layout Standard
32357 単語や文章がハイフネートされるのを防ぐには、
32362 \begin_inset Newline newline
32368 \begin_layout Standard
32369 This line is an example to show how you can prevent the hyphenation of
32370 \begin_inset Quotes eld
32374 \begin_inset Quotes erd
32380 \begin_layout Standard
32381 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
32392 \begin_layout Standard
32396 \begin_layout Standard
32397 This line is an example to show how you can prevent the hyphenation of
32398 \begin_inset Box Frameless
32408 height_special "totalheight"
32411 \begin_layout Plain Layout
32412 \begin_inset Quotes eld
32416 \begin_inset Quotes erd
32427 \begin_layout Standard
32428 別の方法としては、以下のように、単語の前に直接TeXコードで「
32437 \begin_layout Standard
32438 This line is an example to show how you can prevent the hyphenation of
32439 \begin_inset Quotes eld
32446 \begin_layout Plain Layout
32456 \begin_inset Quotes erd
32462 \begin_layout Standard
32463 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
32467 \SpecialChar \menuseparator
32472 \SpecialChar \menuseparator
32478 \begin_inset Flex Ruby
32481 \begin_layout Plain Layout
32483 \begin_inset Argument post:1
32486 \begin_layout Plain Layout
32500 arg "newline-insert newline"
32503 )から改行を単語の前に入れてください。
32506 \begin_layout Standard
32507 This line is an example to show how you can prevent the hyphenation of
32508 \begin_inset Newline newline
32512 \begin_inset Box Frameless
32522 height_special "totalheight"
32525 \begin_layout Plain Layout
32526 \begin_inset Quotes eld
32530 \begin_inset Quotes erd
32541 \begin_layout Subsection
32543 \begin_inset CommandInset label
32550 \begin_inset Index idx
32553 \begin_layout Plain Layout
32554 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
32560 \begin_inset Index idx
32563 \begin_layout Plain Layout
32564 ぼっくす@ボックス ! Raiseboxes
32572 \begin_layout Standard
32579 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
32588 \begin_layout Standard
32593 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
32596 \begin_layout Standard
32597 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
32600 \begin_layout Standard
32601 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
32604 \begin_layout Standard
32614 \begin_layout Standard
32615 というコマンドを挿入してください。単語の後には、閉じ括弧「
32620 \begin_inset Newline newline
32626 \begin_layout Standard
32627 This is a text line with the word
32631 \begin_layout Plain Layout
32643 \begin_inset Quotes eld
32647 \begin_inset Quotes erd
32654 \begin_layout Plain Layout
32664 \begin_layout Standard
32665 \begin_inset VSpace bigskip
32668 行中の文字を上げ下げすると、以下のように行間が広がります。
32671 \begin_layout Standard
32672 This is a text line with the word
32676 \begin_layout Plain Layout
32688 \begin_inset Quotes eld
32692 \begin_inset Quotes erd
32699 \begin_layout Plain Layout
32707 \begin_inset Newline newline
32710 This is a text line with the word
32714 \begin_layout Plain Layout
32724 \begin_inset Quotes eld
32728 \begin_inset Quotes erd
32735 \begin_layout Plain Layout
32745 \begin_layout Standard
32746 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
32749 \begin_layout Standard
32759 \begin_layout Standard
32763 \begin_layout Standard
32764 This is a text line with the word
32768 \begin_layout Plain Layout
32780 \begin_inset Quotes eld
32784 \begin_inset Quotes erd
32791 \begin_layout Plain Layout
32799 \begin_inset Newline newline
32802 This is a text line with the word
32806 \begin_layout Plain Layout
32810 raisebox{0.5cm}[0pt]{
32816 \begin_inset Quotes eld
32820 \begin_inset Quotes erd
32827 \begin_layout Plain Layout
32837 \begin_layout Section
32839 \begin_inset CommandInset label
32846 \begin_inset Index idx
32849 \begin_layout Plain Layout
32850 ぼっくす@ボックス ! いろつき@色付き
32858 \begin_layout Subsection
32860 \begin_inset Index idx
32863 \begin_layout Plain Layout
32872 \begin_layout Standard
32873 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
32878 \begin_inset Index idx
32881 \begin_layout Plain Layout
32882 LaTeXぱっけーじ@LaTeXパッケージ ! color
32887 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
32890 \begin_layout Standard
32895 @ifundefined{textcolor}
32896 \begin_inset Newline newline
32900 \begin_inset Phantom HPhantom
32903 \begin_layout Plain Layout
32906 \begin_inset space ~
32916 usepackage{color}}{}
32919 \begin_layout Standard
32924 パッケージは、文章を着色するとLyXが自動的に読み込みます
32928 \begin_layout Plain Layout
32929 これが二度読み込まれることを回避するには、
32943 \begin_layout Standard
32944 \begin_inset VSpace medskip
32953 コマンドを使って作ります。これは、以下のような書式で使われます。
32956 \begin_layout Standard
32961 colorbox{color}{ボックスの内容}
32964 \begin_layout Standard
32965 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
32968 \begin_layout Standard
32970 \begin_inset Newline newline
33006 \begin_inset Newline newline
33010 \begin_inset CommandInset ref
33012 reference "sec:色付きの表"
33016 節に述べられているようにすれば、自前の色を定義することもできます。
33019 \begin_layout Standard
33020 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
33023 \begin_layout Standard
33031 \begin_layout Standard
33032 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
33037 \begin_inset Newline newline
33043 \begin_layout Standard
33048 \begin_layout Plain Layout
33061 \begin_layout Plain Layout
33071 \begin_layout Standard
33072 \begin_inset VSpace bigskip
33075 ボックスの枠を別の色にしたい場合には、以下の書式で
33084 \begin_layout Standard
33089 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
33092 \begin_layout Standard
33105 の拡張です。枠の太さと枠とボックスの中身との余白は、第
33106 \begin_inset CommandInset ref
33127 \begin_layout Standard
33131 \begin_layout Standard
33136 fcolorbox{cyan}{magenta}{
33139 \begin_layout Standard
33143 \begin_layout Standard
33145 \begin_inset space \thinspace{}
33149 \begin_inset Newline newline
33156 \begin_layout Plain Layout
33171 \begin_layout Plain Layout
33175 fcolorbox{cyan}{magenta}{
33180 これは着色した色付きボックス中の文章です。
33184 \begin_layout Plain Layout
33194 \begin_layout Standard
33195 \begin_inset VSpace bigskip
33198 もちろん、色付きボックスの中に色付き文字を入れることもできます
33199 \begin_inset Newline newline
33206 \begin_layout Plain Layout
33210 fcolorbox{cyan}{magenta}{
33217 これは着色した色付きボックス中の色付き文章です。
33223 \begin_layout Plain Layout
33234 \begin_layout Plain Layout
33248 \begin_layout Standard
33251 \begin_inset VSpace medskip
33257 \begin_layout Standard
33258 \begin_inset Note Greyedout
33261 \begin_layout Plain Layout
33266 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
33274 \begin_layout Subsection
33276 \begin_inset CommandInset label
33283 \begin_inset Index idx
33286 \begin_layout Plain Layout
33295 \begin_layout Standard
33296 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
33305 \begin_layout Standard
33313 \begin_layout Standard
33314 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
33321 \begin_layout Standard
33325 \begin_layout Plain Layout
33329 colorbox{lightgrey}{
33335 \begin_inset Box Frameless
33345 height_special "totalheight"
33348 \begin_layout Plain Layout
33349 これは背景色を付けた文章です。これは背景色を付けた文章です。
33352 \begin_layout Plain Layout
33353 \begin_inset VSpace defskip
33360 \begin_layout Plain Layout
33366 を付けることもできますし、図表を挿入することもできます。
33369 \begin_layout Plain Layout
33371 \begin_inset Tabular
33372 <lyxtabular version="3" rows="3" columns="3">
33373 <features rotate="0" tabularvalignment="middle">
33374 <column alignment="center" valignment="top">
33375 <column alignment="center" valignment="top">
33376 <column alignment="center" valignment="top">
33378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33381 \begin_layout Plain Layout
33387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33390 \begin_layout Plain Layout
33396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33399 \begin_layout Plain Layout
33407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33410 \begin_layout Plain Layout
33416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33419 \begin_layout Plain Layout
33421 \begin_inset Quotes erd
33429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33432 \begin_layout Plain Layout
33440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33443 \begin_layout Plain Layout
33449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33452 \begin_layout Plain Layout
33458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33461 \begin_layout Plain Layout
33481 \begin_layout Plain Layout
33491 \begin_layout Section
33495 \begin_layout Standard
33496 本節で述べられているコマンドを使用するには、文書プリアンブルで
33499 \begin_layout Standard
33504 @ifundefined{rotatebox}
33505 \begin_inset Newline newline
33509 \begin_inset Phantom HPhantom
33512 \begin_layout Plain Layout
33515 \begin_inset space ~
33525 usepackage{graphicx}}{}
33528 \begin_layout Standard
33534 \begin_inset Index idx
33537 \begin_layout Plain Layout
33538 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
33543 LaTeXパッケージを読み込む必要があります。
33546 \begin_layout Standard
33547 \begin_inset Note Greyedout
33550 \begin_layout Plain Layout
33555 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
33563 \begin_layout Standard
33564 \begin_inset Note Greyedout
33567 \begin_layout Plain Layout
33572 フロートは回転伸縮したボックスの中に入れることはできません。
33580 \begin_layout Subsection
33582 \begin_inset Index idx
33585 \begin_layout Plain Layout
33586 ぼっくす@ボックス ! かいてんした@回転した
33592 \begin_inset Index idx
33595 \begin_layout Plain Layout
33596 かいてん@回転 ! そざいの@素材の---
33602 \begin_inset Index idx
33605 \begin_layout Plain Layout
33612 \begin_inset Index idx
33615 \begin_layout Plain Layout
33616 ひょうのちょうせい@表の調整 ! かいてん@回転
33624 \begin_layout Standard
33625 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
33631 コマンドを使用すれば作成することができます。
33634 \begin_layout Standard
33639 rotatebox[回転の原点]{回転角}{ボックスの内容}
33642 \begin_layout Standard
33647 の形で指定します。位置として指定可能なのは、
33667 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
33671 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
33675 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
33678 \begin_layout Standard
33679 以下の例では、「回転した」文章の前にTeXコードで
33683 rotatebox[origin=c]{60}{
33685 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
33692 \begin_layout Standard
33697 \begin_layout Plain Layout
33701 rotatebox[origin=c]{60}{
33710 \begin_layout Plain Layout
33720 \begin_layout Standard
33721 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
33724 \begin_layout Standard
33729 \begin_layout Plain Layout
33733 rotatebox[origin=r]{-60}{
33739 \begin_inset Box Doublebox
33749 height_special "totalheight"
33752 \begin_layout Plain Layout
33762 \begin_layout Plain Layout
33773 \begin_layout Plain Layout
33777 rotatebox[origin=lb]{60}{
33783 \begin_inset Formula $\int A\,\mathrm{d}x=B$
33790 \begin_layout Plain Layout
33800 \begin_layout Standard
33801 あるいは、以下のように図や表を入れることもできます。
33804 \begin_layout Standard
33809 \begin_layout Plain Layout
33813 rotatebox[origin=lb]{90}{
33819 \begin_inset Graphics
33820 filename ../clipart/platypus.eps
33830 \begin_layout Plain Layout
33841 \begin_layout Plain Layout
33845 rotatebox[origin=l]{-90}{
33851 \begin_inset Tabular
33852 <lyxtabular version="3" rows="2" columns="2">
33853 <features rotate="0" tabularvalignment="middle">
33854 <column alignment="center" valignment="top">
33855 <column alignment="center" valignment="top">
33857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33860 \begin_layout Plain Layout
33866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33869 \begin_layout Plain Layout
33877 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33880 \begin_layout Plain Layout
33886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33889 \begin_layout Plain Layout
33904 \begin_layout Plain Layout
33914 \begin_layout Subsection
33916 \begin_inset Index idx
33919 \begin_layout Plain Layout
33920 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
33926 \begin_inset Index idx
33929 \begin_layout Plain Layout
33930 しんしゅく@伸縮 ! そざいの@素材の---
33936 \begin_inset Index idx
33939 \begin_layout Plain Layout
33940 ず@図 ! のしんしゅく@---の伸縮
33946 \begin_inset Index idx
33949 \begin_layout Plain Layout
33950 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
33958 \begin_layout Standard
33974 \begin_layout Standard
33984 \begin_layout Standard
33989 scalebox{水平方向}[垂直方向]{ボックスの内容}
33992 \begin_layout Standard
33993 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
33996 \begin_layout Standard
34003 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
34007 \begin_layout Plain Layout
34020 \begin_layout Plain Layout
34030 \begin_layout Standard
34035 scalebox{2}[1]{こんにちは}
34041 \begin_layout Plain Layout
34054 \begin_layout Plain Layout
34064 \begin_layout Standard
34065 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
34069 scalebox{-1}[1]{こんにちは}
34071 というコマンドは、右のように反転文字を生成するのに使用できます:
34075 \begin_layout Plain Layout
34088 \begin_layout Plain Layout
34098 \begin_layout Standard
34103 scalebox{1}[-1]{こんにちは}
34109 \begin_layout Plain Layout
34122 \begin_layout Plain Layout
34132 \begin_layout Standard
34137 scalebox{-1}[1]{ボックスの内容}
34140 \begin_inset Newline newline
34147 reflectbox{ボックスの内容}
34150 \begin_inset Newline newline
34156 \begin_layout Standard
34157 \begin_inset VSpace bigskip
34160 指定した幅や丈にボックスを伸縮させるには、
34169 \begin_layout Standard
34174 resizebox{幅}{丈}{ボックスの内容}
34177 \begin_layout Standard
34178 です。上記二つのコマンド引数のうち一つが感嘆符「
34182 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
34185 \begin_layout Standard
34190 resizebox{2cm}{1cm}{こんにちは}
34196 \begin_layout Plain Layout
34200 resizebox{2cm}{1cm}{
34209 \begin_layout Plain Layout
34217 \begin_inset Newline newline
34224 resizebox{2cm}{!}{こんにちは}
34230 \begin_layout Plain Layout
34243 \begin_layout Plain Layout
34253 \begin_layout Standard
34254 \begin_inset VSpace bigskip
34258 \begin_inset Note Greyedout
34261 \begin_layout Plain Layout
34274 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
34282 \begin_layout Standard
34283 \begin_inset VSpace bigskip
34289 \begin_layout Standard
34290 ボックスは好きな順序で組み合わせることができます。たとえば、
34291 \begin_inset Newline newline
34298 rotatebox[origin=c]{-45}{
34302 reflectbox{こんにちは}}}
34303 \begin_inset Newline newline
34311 \begin_layout Standard
34316 \begin_layout Plain Layout
34320 rotatebox[origin=c]{-45}{
34333 \begin_layout Plain Layout
34343 \begin_layout Standard
34345 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
34348 \begin_layout Standard
34353 \begin_layout Plain Layout
34357 rotatebox[origin=c]{-30}{
34367 \begin_inset Graphics
34368 filename ../clipart/platypus.eps
34378 \begin_layout Plain Layout
34389 \begin_layout Plain Layout
34393 rotatebox[origin=c]{-45}{
34403 \begin_inset Tabular
34404 <lyxtabular version="3" rows="2" columns="2">
34405 <features rotate="0" tabularvalignment="middle">
34406 <column alignment="center" valignment="top">
34407 <column alignment="center" valignment="top">
34409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34412 \begin_layout Plain Layout
34418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34421 \begin_layout Plain Layout
34429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34432 \begin_layout Plain Layout
34438 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34441 \begin_layout Plain Layout
34456 \begin_layout Plain Layout
34467 \begin_layout Plain Layout
34471 rotatebox[origin=c]{-45}{
34481 \begin_inset Formula $\int A\,\mathrm{d}x=B$
34488 \begin_layout Plain Layout
34498 \begin_layout Standard
34507 \begin_layout Plain Layout
34508 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
34513 には、別行建て数式も伸縮させることができます。
34516 \begin_layout Chapter
34518 \begin_inset Index idx
34521 \begin_layout Plain Layout
34530 \begin_layout Section
34532 \begin_inset CommandInset label
34539 \begin_inset Index idx
34542 \begin_layout Plain Layout
34543 ふろーと@フロート ! おりかえしふろーと@折返しフロート
34549 \begin_inset Index idx
34552 \begin_layout Plain Layout
34553 ほんぶんまわりこみ@本文回り込み ! おりかえしふろーと@折返しフロート
34561 \begin_layout Standard
34562 \begin_inset Wrap figure
34569 \begin_layout Plain Layout
34570 \begin_inset Graphics
34571 filename ../clipart/mobius.eps
34573 scaleBeforeRotation
34574 rotateOrigin center
34581 \begin_layout Plain Layout
34582 \begin_inset Caption Standard
34584 \begin_layout Plain Layout
34585 \begin_inset CommandInset label
34587 name "fig:折返し図フロート"
34601 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
34606 \begin_inset Index idx
34609 \begin_layout Plain Layout
34610 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
34617 挿入\SpecialChar \menuseparator
34618 フロート\SpecialChar \menuseparator
34629 \begin_layout Plain Layout
34630 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
34635 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
34651 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
34652 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
34653 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
34654 \begin_inset CommandInset ref
34656 reference "fig:折返し図フロート"
34661 \begin_inset space \thinspace{}
34665 \begin_inset space \thinspace{}
34668 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります。
34671 \begin_layout Standard
34672 \begin_inset Note Greyedout
34675 \begin_layout Plain Layout
34680 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
34689 \begin_layout Standard
34693 \begin_layout Itemize
34694 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
34695 うになってから、正確な位置に挿入しなくてはなりません。
34698 \begin_layout Itemize
34699 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
34702 \begin_layout Itemize
34703 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
34706 \begin_layout Itemize
34707 折返しフロートは、節見出しや表中に入れることは認められていません。
34710 \begin_layout Itemize
34712 \begin_inset CommandInset ref
34714 reference "chap:フロート"
34721 \begin_layout Section
34723 \begin_inset Index idx
34726 \begin_layout Plain Layout
34727 ほんぶんまわりこみ@本文回り込み ! こていおぶじぇくと@固定オブジェクト
34735 \begin_layout Standard
34737 \begin_inset CommandInset ref
34739 reference "sec:折返しフロート"
34743 節の折返しフロートは、段落中で、以下のような配置がされます。
34746 \begin_layout Standard
34749 \begin_inset Tabular
34750 <lyxtabular version="3" rows="2" columns="2">
34751 <features rotate="0" tabularvalignment="middle">
34752 <column alignment="center" valignment="top">
34753 <column alignment="center" valignment="top">
34755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34758 \begin_layout Plain Layout
34759 \begin_inset Graphics
34760 filename ../../images/dialog-show-new-inset_graphics.png
34762 scaleBeforeRotation
34771 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34774 \begin_layout Plain Layout
34782 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34785 \begin_layout Plain Layout
34791 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34794 \begin_layout Plain Layout
34806 \begin_inset Tabular
34807 <lyxtabular version="3" rows="2" columns="2">
34808 <features rotate="0" tabularvalignment="middle">
34809 <column alignment="center" valignment="top">
34810 <column alignment="center" valignment="top">
34812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34815 \begin_layout Plain Layout
34821 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34824 \begin_layout Plain Layout
34825 \begin_inset Graphics
34826 filename ../../images/dialog-show-new-inset_graphics.png
34828 scaleBeforeRotation
34839 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34842 \begin_layout Plain Layout
34848 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34851 \begin_layout Plain Layout
34865 \begin_layout Standard
34867 \begin_inset VSpace defskip
34873 \begin_layout Standard
34876 \begin_inset Tabular
34877 <lyxtabular version="3" rows="2" columns="2">
34878 <features rotate="0" tabularvalignment="middle">
34879 <column alignment="center" valignment="top">
34880 <column alignment="center" valignment="top">
34882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34885 \begin_layout Plain Layout
34891 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34894 \begin_layout Plain Layout
34902 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34905 \begin_layout Plain Layout
34906 \begin_inset Graphics
34907 filename ../../images/dialog-show-new-inset_graphics.png
34909 scaleBeforeRotation
34918 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34921 \begin_layout Plain Layout
34933 \begin_inset Tabular
34934 <lyxtabular version="3" rows="2" columns="2">
34935 <features rotate="0" tabularvalignment="middle">
34936 <column alignment="center" valignment="top">
34937 <column alignment="center" valignment="top">
34939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34942 \begin_layout Plain Layout
34948 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34951 \begin_layout Plain Layout
34959 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
34962 \begin_layout Plain Layout
34968 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
34971 \begin_layout Plain Layout
34972 \begin_inset Graphics
34973 filename ../../images/dialog-show-new-inset_graphics.png
34975 scaleBeforeRotation
34990 \begin_inset Tabular
34991 <lyxtabular version="3" rows="2" columns="3">
34992 <features rotate="0" tabularvalignment="middle">
34993 <column alignment="center" valignment="top">
34994 <column alignment="center" valignment="top">
34995 <column alignment="center" valignment="top">
34997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35000 \begin_layout Plain Layout
35006 <cell alignment="center" valignment="top" topline="true" usebox="none">
35009 \begin_layout Plain Layout
35010 \begin_inset Graphics
35011 filename ../../images/dialog-show-new-inset_graphics.png
35013 scaleBeforeRotation
35022 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35025 \begin_layout Plain Layout
35033 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35036 \begin_layout Plain Layout
35042 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35045 \begin_layout Plain Layout
35051 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35054 \begin_layout Plain Layout
35066 \begin_inset Tabular
35067 <lyxtabular version="3" rows="2" columns="3">
35068 <features rotate="0" tabularvalignment="middle">
35069 <column alignment="center" valignment="top">
35070 <column alignment="center" valignment="top">
35071 <column alignment="center" valignment="top">
35073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35076 \begin_layout Plain Layout
35082 <cell alignment="center" valignment="top" topline="true" usebox="none">
35085 \begin_layout Plain Layout
35091 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35094 \begin_layout Plain Layout
35102 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35105 \begin_layout Plain Layout
35111 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35114 \begin_layout Plain Layout
35115 \begin_inset Graphics
35116 filename ../../images/dialog-show-new-inset_graphics.png
35118 scaleBeforeRotation
35127 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35130 \begin_layout Plain Layout
35144 \begin_layout Standard
35147 \begin_inset Tabular
35148 <lyxtabular version="3" rows="3" columns="2">
35149 <features rotate="0" tabularvalignment="middle">
35150 <column alignment="center" valignment="top">
35151 <column alignment="center" valignment="top">
35153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35156 \begin_layout Plain Layout
35162 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35165 \begin_layout Plain Layout
35173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35176 \begin_layout Plain Layout
35177 \begin_inset Graphics
35178 filename ../../images/dialog-show-new-inset_graphics.png
35180 scaleBeforeRotation
35189 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35192 \begin_layout Plain Layout
35200 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35203 \begin_layout Plain Layout
35209 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35212 \begin_layout Plain Layout
35224 \begin_inset Tabular
35225 <lyxtabular version="3" rows="3" columns="3">
35226 <features rotate="0" tabularvalignment="middle">
35227 <column alignment="center" valignment="top">
35228 <column alignment="center" valignment="top">
35229 <column alignment="center" valignment="top">
35231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35234 \begin_layout Plain Layout
35240 <cell alignment="center" valignment="top" topline="true" usebox="none">
35243 \begin_layout Plain Layout
35249 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35252 \begin_layout Plain Layout
35260 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35263 \begin_layout Plain Layout
35269 <cell alignment="center" valignment="top" usebox="none">
35272 \begin_layout Plain Layout
35273 \begin_inset Graphics
35274 filename ../../images/dialog-show-new-inset_graphics.png
35276 scaleBeforeRotation
35285 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35288 \begin_layout Plain Layout
35296 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35299 \begin_layout Plain Layout
35305 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35308 \begin_layout Plain Layout
35314 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35317 \begin_layout Plain Layout
35329 \begin_inset Tabular
35330 <lyxtabular version="3" rows="3" columns="2">
35331 <features rotate="0" tabularvalignment="middle">
35332 <column alignment="center" valignment="top">
35333 <column alignment="center" valignment="top">
35335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35338 \begin_layout Plain Layout
35344 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35347 \begin_layout Plain Layout
35355 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35358 \begin_layout Plain Layout
35364 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35367 \begin_layout Plain Layout
35368 \begin_inset Graphics
35369 filename ../../images/dialog-show-new-inset_graphics.png
35371 scaleBeforeRotation
35382 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35385 \begin_layout Plain Layout
35391 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35394 \begin_layout Plain Layout
35408 \begin_layout Standard
35410 オブジェクトを挿入した場所に正確に配置したい時には、
35415 \begin_inset Index idx
35418 \begin_layout Plain Layout
35419 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
35424 LaTeXパッケージを使うことができます。下記はその用例です。
35427 \begin_layout Standard
35431 \begin_layout Plain Layout
35441 \begin_inset Note Note
35444 \begin_layout Plain Layout
35449 が導入されているときのみ表示されます。
35457 \begin_layout Standard
35461 \begin_layout Plain Layout
35465 begin{window}[2,c,{
35471 \begin_inset Graphics
35472 filename ../clipart/mobius.eps
35475 scaleBeforeRotation
35476 rotateOrigin center
35484 \begin_layout Plain Layout
35489 \begin_layout Plain Layout
35498 It was in the spring of the year 1894 that all London was interested, and
35499 the fashionable world dismayed, by the murder of the Honourable Ronald
35500 Adair under most unusual and inexplicable circumstances.
35501 The public has already learned those particulars of the crime which
35507 \begin_layout Plain Layout
35518 came out in the police investigation, but a good deal was suppressed upon
35519 that occasion, since the case for the prosecution was so overwhelmingly
35520 strong that it was not necessary to bring forward all the facts.
35521 Only now, at the end of nearly ten years, am I allowed to supply those
35522 missing links which make up the whole of that remarkable chain.
35528 \begin_layout Plain Layout
35540 \begin_layout Standard
35544 \begin_layout Plain Layout
35557 \begin_layout Plain Layout
35567 \begin_layout Standard
35568 固定回り込みオブジェクトは、オブジェクトの周りに本文を流しこむのに用いられ、段落中のオブジェクトの位置は、オブジェクトの上の行数を指定することで決定します。フロ
35569 ートとは違って、連番のキャプションをつけることはできません。
35572 \begin_layout Standard
35573 固定オブジェクトは、段落冒頭にTeXコードで
35576 \begin_layout Standard
35581 begin{window}[2,c,{
35584 \begin_layout Standard
35585 というコマンドを書くことによって挿入されます。角括弧中の最初のパラメータ(ここでは「2」)は、オブジェクト上に来る行数を指定し、二番目のパラメータ(ここでは「c
35586 」)はオブジェクトの位置を示します。位置としては、「l」「c」「r」が可能です(それぞれ左・中央・右)。このコマンドの後にオブジェクトを挿入します。この例では、
35588 \begin_inset space \thinspace{}
35591 %の画像が挿入されています。オブジェクトは、表やボックス、数式でも構いません。オブジェクトの後には、
35594 \begin_layout Standard
35598 \begin_inset Newline newline
35604 \begin_layout Standard
35605 というコマンドが挿入されています。2行目に「
35609 」が入っていることに注意してください。説明文は非必須です。オブジェクトに回り込む文章は、オブジェクトと同じ段落になくてはなりませんので、
35613 の直後から書き始めてください。段落末には、
35616 \begin_layout Standard
35624 \begin_layout Standard
35625 というコマンドを挿入してください。固定オブジェクトのある段落では、通常のように脚注を挿入することはできません。第
35626 \begin_inset CommandInset ref
35647 \begin_layout Standard
35651 \begin_layout Plain Layout
35661 \begin_inset Note Note
35664 \begin_layout Plain Layout
35669 が導入されていないときのみ表示されます。
35677 \begin_layout Standard
35678 本節の以下の部分を出力に表示するには、LaTeXパッケージ
35685 \begin_layout Standard
35689 \begin_layout Plain Layout
35701 \begin_layout Section
35703 \begin_inset Index idx
35706 \begin_layout Plain Layout
35713 \begin_inset Index idx
35716 \begin_layout Plain Layout
35717 ほんぶんまわりこみ@本文回り込み ! かしらもじ@頭文字
35725 \begin_layout Standard
35726 頭文字を用いるには、LaTeXパッケージ
35727 \begin_inset Index idx
35730 \begin_layout Plain Layout
35731 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
35742 文書\SpecialChar \menuseparator
35743 設定\SpecialChar \menuseparator
35750 様式を使用してください。この様式には、1つの必須引数と2つの非必須引数があります。引数は、
35762 には、頭文字の単語若しくは文字列の残りが入ります。引数
35766 には、頭文字を修正するパラメータが入ります。使うことができるパラメータについての詳細は、
35771 \begin_inset CommandInset citation
35777 をご覧ください。この様式の段落そのものに、頭文字に回り込む文章も入れます。通常、この様式では、最初の文字を頭文字とする単語全体が、
35779 スモールキャップ体(small caps
35784 \begin_layout Standard
35788 \begin_layout Standard
35792 \begin_layout Plain Layout
35802 \begin_inset Note Note
35805 \begin_layout Plain Layout
35810 が導入されているときのみ表示されます。
35818 \begin_layout Enumerate
35819 非必須引数なし。頭文字は、数式フォント
35820 \begin_inset Formula $\mathfrak{Fraktur}$
35827 \begin_layout Initial
35828 \begin_inset Argument 2
35831 \begin_layout Plain Layout
35832 \begin_inset Formula $\mathfrak{I}$
35841 \begin_inset Argument 3
35844 \begin_layout Plain Layout
35850 was in the spring of the year 1894 that all London was interested, and
35851 the fashionable world dismayed, by the murder of the Honourable Ronald
35852 Adair under most unusual and inexplicable circumstances.
35853 The public has already learned those particulars of the crime which came
35854 out in the police investigation, but a good deal was suppressed upon that
35855 occasion, since the case for the prosecution was so overwhelmingly strong
35856 that it was not necessary to bring forward all the facts.
35857 \begin_inset Newpage newpage
35864 \begin_layout Enumerate
35865 頭文字に回り込む行は1行のみ。頭文字は標準フォントで2文字。スモールキャップ体で印字する文字はなし。
35869 \begin_layout Initial
35870 \begin_inset Argument 1
35873 \begin_layout Plain Layout
35880 \begin_inset Argument 2
35883 \begin_layout Plain Layout
35889 was in the spring of the year 1894 that all London was interested, and
35890 the fashionable world dismayed, by the murder of the Honourable Ronald
35891 Adair under most unusual and inexplicable circumstances.
35892 The public has already learned those particulars of the crime which came
35893 out in the police investigation, but a good deal was suppressed upon that
35894 occasion, since the case for the prosecution was so overwhelmingly strong
35895 that it was not necessary to bring forward all the facts.
35899 \begin_layout Enumerate
35901 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
35904 で3行にかかり、マゼンタ色。「t was in the spring」という文章を
35908 。頭文字に色をつけるには、頭文字の前に
35909 \begin_inset Newline newline
35923 \begin_inset Newline newline
35926 というコマンドを挿入しなくてはなりません。ここで、
35930 は「red」・「blue」・「green」・「yellow」・「cyan」・「magenta」・「black」・「white」のいずれかです。また、文書プリアン
35932 \begin_inset Newline newline
35939 @ifundefined{textcolor}
35940 \begin_inset Newline newline
35944 \begin_inset space ~
35949 usepackage{color}}{}
35950 \begin_inset Newline newline
35955 というコマンドを書きこんでおかなくてはなりません。
35959 \begin_layout Standard
35963 \begin_layout Plain Layout
35977 \begin_inset Note Note
35980 \begin_layout Plain Layout
35983 makes the initial magenta
35991 \begin_layout Initial
35992 \begin_inset Argument 1
35995 \begin_layout Plain Layout
35996 lines=3, lhang=0.33, loversize=0.25
36002 \begin_inset Argument 2
36005 \begin_layout Plain Layout
36006 \begin_inset Formula $\mathcal{I}$
36015 \begin_inset Argument 3
36018 \begin_layout Plain Layout
36019 t was in the spring
36024 of the year 1894 that all London was interested, and the fashionable world
36025 dismayed, by the murder of the Honourable Ronald Adair under most unusual
36026 and inexplicable circumstances.
36027 The public has already learned those particulars of the crime which came
36028 out in the police investigation, but a good deal was suppressed upon that
36029 occasion, since the case for the prosecution was so overwhelmingly strong
36030 that it was not necessary to bring forward all the facts.
36034 \begin_layout Standard
36038 \begin_layout Plain Layout
36048 \begin_inset Note Note
36051 \begin_layout Plain Layout
36056 が導入されていないときのみ表示されます。
36064 \begin_layout Standard
36065 本節の以下の部分を出力に表示するには、LaTeXパッケージ
36072 \begin_layout Standard
36076 \begin_layout Plain Layout
36088 \begin_layout Chapter
36090 \begin_inset Index idx
36093 \begin_layout Plain Layout
36094 がいぶぶんしょこうせいようそ@外部文書構成要素
36102 \begin_layout Standard
36105 挿入\SpecialChar \menuseparator
36108 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
36111 \begin_layout Description
36112 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
36115 \begin_layout Description
36116 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
36119 \begin_layout Description
36120 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
36123 \begin_layout Description
36127 \begin_layout Description
36128 子文書 LyXあるいはLaTeX文書。
36131 \begin_layout Section
36133 \begin_inset Index idx
36136 \begin_layout Plain Layout
36137 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
36145 \begin_layout Standard
36146 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
36147 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
36149 操作性\SpecialChar \menuseparator
36152 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
36155 \begin_layout Standard
36160 \SpecialChar \menuseparator
36165 \SpecialChar \menuseparator
36174 ダイアログから挿入することができます。目下、以下のファイル形式(
36181 \begin_layout Description
36185 \begin_inset CommandInset href
36188 target "http://en.wikipedia.org/wiki/XBoard"
36194 プログラムで作成されたチェス棋譜をサポートします。
36197 \begin_layout Description
36202 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
36203 \begin_inset External
36205 filename ../../trunk/lib/trunk/lib/doc/ja
36210 \begin_inset space ~
36214 \begin_inset Note Note
36217 \begin_layout Plain Layout
36218 バグ4398が修正されたら、この保護空白は削除してください!
36224 \begin_inset Newline newline
36227 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
36231 \SpecialChar \menuseparator
36232 日付メニューを使用する方法で、他はLaTeXコマンドの
36238 をTeXコードで使用する方法です。これらの各方法は、表
36239 \begin_inset CommandInset ref
36241 reference "tab:日付挿入方法"
36248 \begin_layout Description
36252 \begin_inset CommandInset href
36255 target "http://ja.wikipedia.org/wiki/Dia_%28%E3%82%BD%E3%83%95%E3%83%88%E3%82%A6%E3%82%A7%E3%82%A2%29"
36261 プログラムで作成したダイアグラムをサポートします。
36264 \begin_layout Description
36265 Gnumeric表計算表 このひな形では、
36268 \begin_inset CommandInset href
36271 target "http://ja.wikipedia.org/wiki/Gnumeric"
36278 \begin_inset CommandInset href
36280 name "OpenDocument"
36281 target "http://ja.wikipedia.org/wiki/OpenDocument"
36286 \begin_inset CommandInset href
36288 name "Microsoft Office XML"
36289 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
36294 \begin_inset CommandInset href
36296 name "Office Open XML"
36297 target "http://ja.wikipedia.org/wiki/Office_Open_XML"
36301 形式の表計算表を挿入することができます。この機能を使用するには、LyXの初期設定中に
36305 プログラムが検出される必要があります。このプログラムはGnumericの一部ですので、Gnumeric以外の形式の表を読み込む場合には、Gnumericが導入済
36306 みである必要があります。用例と制約については、LyX用例ファイル
36313 \begin_layout Description
36314 Lilypond組版楽譜 このひな型は、
36317 \begin_inset CommandInset href
36320 target "http://ja.wikipedia.org/wiki/GNU_LilyPond"
36326 プログラムで作成した楽譜の組版に使用されます。LyXにおけるLilyPond拡張サポートについては、LyX用例ファイル
36333 \begin_layout Description
36334 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
36346 オプションを指定してください。このオプションの引数は、コンマ区切りのリストで、ページ番号(オプションを
36354 )、あるいはこれらの組み合わせで指定できます。空のページを入れるには、{}を指定してください。例えば、
36356 pages={3,{},8-11,15}
36358 は、3ページ目と空のページ、8・9・10・11・15ページ目を挿入します。ページ範囲は、
36374 を省略すると、1ページ目を指定したのと同じ事になり、
36378 を省略すると、文書の最終ページを指定したのと同じ事になります。最終ページは、
36382 というキーワードを使って指定することもできます(これはページ範囲指定のみで有効です)。したがって、
36386 は文書の全ページを挿入することになり、
36390 は全ページを逆順で挿入します。pagesオプションを指定しないと、PDFの最初のページのみが挿入されます。
36391 \begin_inset Newline newline
36398 オプションは、各ページを元々の寸法で挿入します。もしこのオプションが指定されていなければ、各ページは文書のページ幅に合うように大きさが変更されます。
36402 タブでは、取り込むページの縦横の大きさと回転角を指定することができます。100縮尺%以外の幅が指定されると、
36406 オプションは無視されます。詳しい情報と取り得るオプション値については、LaTeXパッケージ
36411 \begin_inset CommandInset citation
36418 \begin_inset Index idx
36421 \begin_layout Plain Layout
36422 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
36428 \begin_inset Newline newline
36435 プレゼンテーションで使用するには、まず
36439 環境を挿入して、続く段落でTeXコードボックスを挿入し、
36443 setbeamertemplate{background canvas}{}
36445 というコマンドを入力してください。すると、PDFページのひな型を含んだ段落を好きなだけ入れることができるようになります。取り込んだPDFページの後で、新しいフレ
36446 ームを開始するか、新しい節を開始することによって、Beamerプレゼンテーションに復帰することができます。PDFページの前に空白ページができてしまうのを防ぐため
36452 \begin_inset Newline newline
36455 下記は、-5度回転させたPDFを取り込んだものです。
36456 \begin_inset Newline newline
36460 \begin_inset Graphics
36461 filename ../clipart/Abstract.pdf
36463 rotateOrigin leftBottom
36468 \begin_inset Newline newline
36472 \begin_inset Note Greyedout
36475 \begin_layout Plain Layout
36484 は、pdflatexに基づいており、LaTeXでは組版ができない(LaTeXパッケージ
36489 \begin_inset CommandInset citation
36495 参照)ため、この外部素材はpLaTeXでは使用することができません。英文版の取扱説明書では、上記のPDFは、
36497 挿入\SpecialChar \menuseparator
36498 ファイル\SpecialChar \menuseparator
36509 を指定して挿入されていますが、ここでは
36511 挿入\SpecialChar \menuseparator
36522 \begin_layout Description
36523 ラスターイメージ これはビットマップ画像に使用します。
36528 \begin_inset CommandInset ref
36530 reference "sec:画像ダイアログ"
36538 ダイアログを使って挿入される画像と同じように取り扱うことができます。通常の画像の取り込みと違うのは、ラスター画像のみを使うことができることです。つまり、PDFや
36539 EPS画像はサポートされていません。右記は、ラスター画像を挿入した例です。
36540 \begin_inset External
36541 template RasterImage
36542 filename clipart/ToolbarEnvBox.png
36549 \begin_layout Description
36553 \begin_inset CommandInset href
36556 target "http://ja.wikipedia.org/wiki/Xfig"
36562 プログラムで作成した画像をサポートします。
36565 \begin_layout Standard
36566 \begin_inset Float table
36572 \begin_layout Plain Layout
36573 \begin_inset Caption Standard
36575 \begin_layout Plain Layout
36576 \begin_inset CommandInset label
36590 \begin_layout Plain Layout
36592 \begin_inset Tabular
36593 <lyxtabular version="3" rows="4" columns="4">
36594 <features rotate="0" tabularvalignment="middle">
36595 <column alignment="center" valignment="top">
36596 <column alignment="center" valignment="top">
36597 <column alignment="center" valignment="top">
36598 <column alignment="center" valignment="top">
36600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36603 \begin_layout Plain Layout
36609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36612 \begin_layout Plain Layout
36615 外部素材\SpecialChar \menuseparator
36621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36624 \begin_layout Plain Layout
36627 挿入\SpecialChar \menuseparator
36633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36636 \begin_layout Plain Layout
36650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36653 \begin_layout Plain Layout
36659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36662 \begin_layout Plain Layout
36668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36671 \begin_layout Plain Layout
36677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36680 \begin_layout Plain Layout
36688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36691 \begin_layout Plain Layout
36697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36700 \begin_layout Plain Layout
36706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36709 \begin_layout Plain Layout
36715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36718 \begin_layout Plain Layout
36726 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36729 \begin_layout Plain Layout
36735 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36738 \begin_layout Plain Layout
36744 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36747 \begin_layout Plain Layout
36753 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
36756 \begin_layout Plain Layout
36775 \begin_layout Standard
36788 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
36789 \begin_inset Newline newline
36792 LyX中での外部素材は、ダイアログ内の
36801 \begin_inset Graphics
36802 filename clipart/ExternalMaterialQt4.png
36804 scaleBeforeRotation
36808 のようなボックスとして表示されるか、画像として表示されます。
36811 \begin_layout Standard
36818 には、自製のひな型を定義する方法が説明されています。
36821 \begin_layout Section
36823 \begin_inset CommandInset label
36830 \begin_inset Index idx
36833 \begin_layout Plain Layout
36834 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
36840 \begin_inset Index idx
36843 \begin_layout Plain Layout
36844 ふぁいる@ファイル ! いんくるーど@インクルード
36852 \begin_layout Standard
36853 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
36854 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる「子文書」であり、親文書はこれら子文書を連結して、文書全体
36855 やその一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
36858 \begin_layout Standard
36859 親文書を開くことなく子文書で作業できるようにするには、子文書の
36863 \SpecialChar \menuseparator
36868 \SpecialChar \menuseparator
36873 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
36876 \begin_layout Standard
36878 \begin_inset Graphics
36879 filename clipart/ChildDocumentQt4.png
36881 scaleBeforeRotation
36885 のようなボックスとして表示されます。子文書を親文書に取り込むには、
36889 \SpecialChar \menuseparator
36894 \SpecialChar \menuseparator
36899 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
36902 \begin_layout Description
36903 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
36911 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
36912 \begin_inset Newline newline
36918 \begin_layout Standard
36924 \begin_inset CommandInset include
36925 LatexCommand include
36926 filename "DummyDocument1.lyx"
36933 \begin_layout Standard
36934 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
36935 あります。取り込んだ文書のラベルは、第
36936 \begin_inset CommandInset ref
36938 reference "sub:外部文書の第1小節"
36942 小節、のように参照することができます。
36945 \begin_layout Standard
36946 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
36947 は、新規頁から始まるように挿入され、改頁して終わります。
36950 \begin_layout Standard
36951 \begin_inset Note Greyedout
36954 \begin_layout Plain Layout
36959 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
36968 \begin_layout Description
36969 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
36973 \begin_layout Itemize
36974 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
36977 \begin_layout Itemize
36978 Inputファイルは、LyX設定の操作性
36980 \SpecialChar \menuseparator
36987 を有効にすると、LyX中でプレビューすることができます。
36990 \begin_layout Itemize
37001 \begin_layout Standard
37007 \begin_inset CommandInset include
37009 filename "DummyDocument2.lyx"
37016 \begin_layout Description
37017 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
37018 に用いられているコマンドは実行されません。
37022 オプションを有効にすると、ソースコード中のすべての空白文字に「
37026 \begin_layout Plain Layout
37037 挿入\SpecialChar \menuseparator
37038 ファイル\SpecialChar \menuseparator
37041 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
37044 \begin_layout Standard
37045 以下は、verbatimとして挿入された子文書です。
37046 \begin_inset CommandInset include
37047 LatexCommand verbatiminput
37048 filename "../DummyTextDocument.txt"
37053 \begin_inset VSpace bigskip
37060 オプションを指定して、verbatimとして挿入された子文書です。
37061 \begin_inset CommandInset include
37062 LatexCommand verbatiminput*
37063 filename "../DummyTextDocument.txt"
37070 \begin_layout Standard
37071 \begin_inset VSpace bigskip
37077 \begin_layout Standard
37078 \begin_inset Note Greyedout
37081 \begin_layout Plain Layout
37090 として取り込んだ文書の文章は、文書行の終わりで改行されません。
37098 \begin_layout Standard
37099 \begin_inset Note Greyedout
37102 \begin_layout Plain Layout
37107 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
37115 \begin_layout Description
37116 プログラムリスト この型については、第
37117 \begin_inset CommandInset ref
37119 reference "cha:プログラムコードリスト"
37126 \begin_layout Standard
37127 \begin_inset Note Greyedout
37130 \begin_layout Plain Layout
37135 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
37143 \begin_layout Standard
37144 コンパイル時間を短縮したり、執筆中のbookの特定の章のみを配布したいなどの理由で、親文書内の特定の子文書のみを表示させたり書きだしたりしたい場合には、子文書の
37145 一部を出力から排除することができます。これは、
37147 文書\SpecialChar \menuseparator
37148 設定\SpecialChar \menuseparator
37151 メニューから行うことができます。そこの一覧中の各子文書の
37155 列をダブルクリックすることによって、その子文書を排除したり取り込んだりすることができます(これは「Input」ではなく「Include」で埋めこまれた文書に対し
37156 てのみ機能することにご注意ください)。
37160 オプションを有効にすると、LyXは、すべてのページ番号と参照等が、文書全体を処理した時と同じように正しくなるようにします。これは、選択した部分文書が、文書全体の
37161 コンテクストの中で表現されるのと全く同じようにしておきたい時に便利です。しかしながら、この機能を実現するには、LyXはバックグラウンドで文書全体を処理しなくては
37162 なりません。したがって、コンパイルの時間を節約し、カウンタや参照が必ずしも正しくなくてもいい場合には、このチェックボックスは外しておいてください。
37165 \begin_layout Standard
37166 あるいは、取り込んだファイルの各々を派生枝の中に入れる方法があります
37170 \begin_layout Plain Layout
37184 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。この方法は、Inputで取り込んだ部分文
37185 書についても動作するという利点があります。ただし、カウンタと参照は、この方法では維持されるとは限りません。
37188 \begin_layout Chapter
37190 \begin_inset CommandInset label
37192 name "cha:プログラムコードリスト"
37197 \begin_inset Index idx
37200 \begin_layout Plain Layout
37207 \begin_inset Index idx
37210 \begin_layout Plain Layout
37217 \begin_inset Index idx
37220 \begin_layout Plain Layout
37221 ふろーと@フロート ! りすと@リスト
37229 \begin_layout Standard
37230 プログラムコードを取り込んで組版するには、
37234 \SpecialChar \menuseparator
37239 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
37244 \begin_inset Index idx
37247 \begin_layout Plain Layout
37248 LaTeXぱっけーじ@LaTeXパッケージ ! listings
37253 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
37256 \begin_layout Standard
37257 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
37260 \begin_layout Standard
37261 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
37266 \begin_inset listings
37267 lstparams "language={C++}"
37271 \begin_layout Plain Layout
37279 \begin_inset Newline newline
37286 オプションは、プログラムリストフロートを生成するものですが、ここで、第
37287 \begin_inset CommandInset ref
37289 reference "sec:フロートの配置"
37293 節に説明されているフロート配置オプションに従って、「
37309 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
37313 」のように区切りを入れることなく入力することができます。「
37317 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
37321 オプションを使用しなければ大丈夫です。
37324 \begin_layout Standard
37329 \SpecialChar \menuseparator
37334 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
37335 \begin_inset CommandInset ref
37337 reference "lst:リストフロート"
37341 のように参照することができます。キャプションのついたプログラムリストの全一覧を、
37345 \SpecialChar \menuseparator
37350 \SpecialChar \menuseparator
37355 で作成することができます。一覧の項目には、プログラムリストのキャプションとプログラムリスト番号が入ります。
37358 \begin_layout Standard
37359 \begin_inset listings
37360 lstparams "language=Python"
37364 \begin_layout Plain Layout
37366 \begin_inset Caption Standard
37368 \begin_layout Plain Layout
37369 \begin_inset CommandInset label
37375 Example Listing Float
37380 # Example listing float
37383 \begin_layout Plain Layout
37388 \begin_layout Plain Layout
37390 'this is a python function'
37393 \begin_layout Plain Layout
37403 \begin_layout Standard
37404 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
37405 onのキーワード「def」が識別され、ボールド体で出力されます。
37408 \begin_layout Standard
37409 \begin_inset Note Greyedout
37412 \begin_layout Plain Layout
37417 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
37421 フォントがボールド体を提供していません。この場合には、
37425 \SpecialChar \menuseparator
37430 \SpecialChar \menuseparator
37435 メニューで別のフォントを選択してください(
37447 の各フォントはボールド体を提供します)。
37455 \begin_layout Standard
37456 \begin_inset Note Greyedout
37459 \begin_layout Plain Layout
37464 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
37472 \begin_layout Standard
37477 のセクションでは、行番号の様式を指定することができます。
37481 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
37484 \begin_layout Standard
37485 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
37489 オプションを使用しなくてはなりません。
37490 \begin_inset Newline newline
37494 \begin_inset Note Greyedout
37497 \begin_layout Plain Layout
37502 これは、pLaTeXではうまく動作しません。
37508 \begin_inset Newline newline
37511 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
37512 \begin_inset space \thinspace{}
37516 \begin_inset space \thinspace{}
37519 8」で設定したプログラムリストの例です。
37522 \begin_layout Standard
37523 \begin_inset listings
37524 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
37528 \begin_layout Plain Layout
37533 \begin_layout Plain Layout
37535 'this is a python function'
37538 \begin_layout Plain Layout
37543 \begin_layout Plain Layout
37548 \begin_layout Plain Layout
37550 'This is a German word: Tschüß'
37553 \begin_layout Plain Layout
37558 \begin_layout Plain Layout
37563 \begin_layout Plain Layout
37565 'this is a python function'
37568 \begin_layout Plain Layout
37578 \begin_layout Standard
37579 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
37586 \begin_layout Standard
37587 \begin_inset Note Greyedout
37590 \begin_layout Plain Layout
37595 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
37604 \begin_layout Standard
37605 \begin_inset VSpace bigskip
37611 \begin_layout Standard
37612 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
37616 \SpecialChar \menuseparator
37621 \SpecialChar \menuseparator
37634 \begin_layout Plain Layout
37635 他の子文書型については、第 section
37636 \begin_inset space ~
37640 \begin_inset CommandInset ref
37642 reference "sec:子文書"
37651 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
37655 \begin_layout Standard
37656 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
37660 \SpecialChar \menuseparator
37665 メニューを使って参照できるようになります。
37668 \begin_layout Standard
37670 \begin_inset CommandInset ref
37672 reference "lst:file-listing"
37676 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
37679 \begin_layout Standard
37680 \begin_inset CommandInset include
37681 LatexCommand lstinputlisting
37682 filename "EmbeddedObjects.lyx"
37683 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
37690 \begin_layout Standard
37691 \begin_inset VSpace bigskip
37697 \begin_layout Standard
37698 リストに数式を入れるには、以下のようにします。
37701 \begin_layout Enumerate
37707 \begin_inset Newline newline
37715 \begin_inset Newline newline
37721 \begin_layout Enumerate
37725 \begin_layout Enumerate
37726 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
37735 \begin_layout Enumerate
37736 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
37745 \begin_layout Standard
37746 \begin_inset listings
37747 lstparams "language=Python,mathescape=true"
37751 \begin_layout Plain Layout
37753 \begin_inset Caption Standard
37755 \begin_layout Plain Layout
37756 Example Listing float containing a formula
37761 # Example listing float
37764 \begin_layout Plain Layout
37769 \begin_layout Plain Layout
37782 \begin_layout Plain Layout
37792 \begin_layout Standard
37793 \begin_inset VSpace bigskip
37799 \begin_layout Standard
37804 \SpecialChar \menuseparator
37809 \SpecialChar \menuseparator
37814 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
37818 フィールドで疑問符「?」を打鍵してください。
37821 \begin_layout Standard
37826 パッケージについての詳しい情報については、取扱説明書
37827 \begin_inset CommandInset citation
37836 \begin_layout Standard
37837 \begin_inset Newpage newpage
37843 \begin_layout Chapter
37846 \begin_inset Index idx
37849 \begin_layout Plain Layout
37856 \begin_inset CommandInset label
37858 name "cha:LyXで使用できる単位"
37865 \begin_layout Standard
37866 この文書で用いられる単位の理解のために、表
37867 \begin_inset CommandInset ref
37873 に、LyXで使うことのできる単位をまとめておきます。
37876 \begin_layout Standard
37877 \begin_inset Float table
37883 \begin_layout Plain Layout
37884 \begin_inset Caption Standard
37886 \begin_layout Plain Layout
37887 \begin_inset CommandInset label
37901 \begin_layout Plain Layout
37902 \begin_inset VSpace medskip
37908 \begin_layout Plain Layout
37910 \begin_inset Tabular
37911 <lyxtabular version="3" rows="20" columns="2">
37912 <features rotate="0" tabularvalignment="middle">
37913 <column alignment="center" valignment="top">
37914 <column alignment="center" valignment="top">
37916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37919 \begin_layout Plain Layout
37925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37928 \begin_layout Plain Layout
37936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37939 \begin_layout Plain Layout
37945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37948 \begin_layout Plain Layout
37956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37959 \begin_layout Plain Layout
37965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37968 \begin_layout Plain Layout
37976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37979 \begin_layout Plain Layout
37985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37988 \begin_layout Plain Layout
37996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37999 \begin_layout Plain Layout
38005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38008 \begin_layout Plain Layout
38010 \begin_inset Formula $\,$
38014 \begin_inset Formula $\,$
38024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38027 \begin_layout Plain Layout
38033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38036 \begin_layout Plain Layout
38038 \begin_inset Formula $\,$
38042 \begin_inset Formula $\,$
38052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38055 \begin_layout Plain Layout
38061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38064 \begin_layout Plain Layout
38066 \begin_inset Formula $\,$
38070 \begin_inset Formula $\,$
38080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38083 \begin_layout Plain Layout
38089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38092 \begin_layout Plain Layout
38094 \begin_inset Formula $\,$
38098 \begin_inset Formula $\,$
38108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38111 \begin_layout Plain Layout
38117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38120 \begin_layout Plain Layout
38122 \begin_inset Formula $\,$
38126 \begin_inset Formula $\approx$
38130 \begin_inset Formula $\,$
38140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38143 \begin_layout Plain Layout
38149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38152 \begin_layout Plain Layout
38154 \begin_inset Formula $\,$
38158 \begin_inset Formula $\,$
38168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38171 \begin_layout Plain Layout
38177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38180 \begin_layout Plain Layout
38188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38191 \begin_layout Plain Layout
38197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38200 \begin_layout Plain Layout
38208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38211 \begin_layout Plain Layout
38217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38220 \begin_layout Plain Layout
38228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38231 \begin_layout Plain Layout
38237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38240 \begin_layout Plain Layout
38248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38251 \begin_layout Plain Layout
38257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38260 \begin_layout Plain Layout
38268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38271 \begin_layout Plain Layout
38277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38280 \begin_layout Plain Layout
38288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38291 \begin_layout Plain Layout
38297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38300 \begin_layout Plain Layout
38308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38311 \begin_layout Plain Layout
38317 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38320 \begin_layout Plain Layout
38328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38331 \begin_layout Plain Layout
38337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38340 \begin_layout Plain Layout
38348 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38351 \begin_layout Plain Layout
38357 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38360 \begin_layout Plain Layout
38362 \begin_inset Formula $\,$
38366 \begin_inset Formula $\,$
38387 \begin_layout Chapter
38389 \begin_inset CommandInset label
38391 name "cha:ファイル出力形式"
38398 \begin_layout Section
38400 \begin_inset Index idx
38403 \begin_layout Plain Layout
38404 ふぁいるしょしき@ファイル書式 ! DVI
38410 \begin_inset Index idx
38413 \begin_layout Plain Layout
38418 \begin_layout Plain Layout
38429 \begin_layout Plain Layout
38444 \begin_layout Standard
38449 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
38450 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
38451 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
38454 \begin_layout Standard
38455 \begin_inset Note Greyedout
38458 \begin_layout Plain Layout
38463 DVIファイルには画像は含まれていません。画像はリンクされているだけです。
38472 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
38473 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
38477 \begin_layout Standard
38482 \SpecialChar \menuseparator
38487 \SpecialChar \menuseparator
38492 メニューを使用して、DVIに書き出すことができます。
38496 メニューから、文書をDVIとして表示させることもできます。
38499 \begin_layout Section
38501 \begin_inset CommandInset label
38503 name "sec:PostScript"
38508 \begin_inset Index idx
38511 \begin_layout Plain Layout
38512 ふぁいるしょしき@ファイル書式 ! PostScript
38518 \begin_inset Index idx
38521 \begin_layout Plain Layout
38526 \begin_layout Plain Layout
38537 \begin_layout Plain Layout
38552 \begin_layout Standard
38561 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
38562 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
38566 \begin_layout Plain Layout
38567 これについてもう少し学ぶ気があれば、LaTeXパッケージ
38572 \begin_inset CommandInset citation
38583 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
38586 \begin_layout Standard
38587 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
38591 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
38592 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
38593 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
38594 を直接EPSとして入れておく方がよいでしょう。
38597 \begin_layout Standard
38602 \SpecialChar \menuseparator
38607 \SpecialChar \menuseparator
38612 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
38617 \begin_inset Graphics
38618 filename ../../images/buffer-view_ps.png
38620 scaleBeforeRotation
38624 を使用することでPostScriptとして表示させることができます。
38627 \begin_layout Section
38629 \begin_inset Index idx
38632 \begin_layout Plain Layout
38633 ふぁいるしょしき@ファイル書式 ! PDF
38639 \begin_inset Index idx
38642 \begin_layout Plain Layout
38651 \begin_layout Standard
38656 」です。この「Portable Document Format (PDF)」は、
38660 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
38661 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
38664 \begin_layout Standard
38665 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
38673 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
38677 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
38678 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
38682 \begin_layout Standard
38687 \SpecialChar \menuseparator
38692 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
38695 \begin_layout Description
38697 \begin_inset space ~
38704 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
38708 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
38711 \begin_layout Description
38713 \begin_inset space ~
38720 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
38723 \begin_layout Description
38725 \begin_inset space ~
38732 プログラムを使って、現在のファイルを直接PDFに変換します。
38735 \begin_layout Standard
38740 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
38743 \begin_inset space ~
38752 プログラムは開発が停止しており、若干時代遅れになっています。
38755 \begin_layout Standard
38756 使用中の文書をPDFとして表示するには、
38761 \begin_inset Graphics
38762 filename ../../images/buffer-view_pdf2.png
38764 scaleBeforeRotation
38771 \begin_inset space ~
38779 \begin_layout Chapter
38781 \begin_inset CommandInset label
38783 name "chap:dvips色名一覧"
38790 \begin_layout Standard
38791 \begin_inset Tabular
38792 <lyxtabular version="3" rows="17" columns="4">
38793 <features rotate="0" tabularvalignment="middle">
38794 <column alignment="left" valignment="top" width="0pt">
38795 <column alignment="left" valignment="top" width="0pt">
38796 <column alignment="left" valignment="top" width="0pt">
38797 <column alignment="left" valignment="top" width="0pt">
38799 <cell alignment="left" valignment="top" usebox="none">
38802 \begin_layout Plain Layout
38806 \begin_layout Plain Layout
38819 \begin_layout Plain Layout
38830 \begin_layout Plain Layout
38842 <cell alignment="left" valignment="top" usebox="none">
38845 \begin_layout Plain Layout
38849 \begin_layout Plain Layout
38862 \begin_layout Plain Layout
38873 \begin_layout Plain Layout
38885 <cell alignment="left" valignment="top" usebox="none">
38888 \begin_layout Plain Layout
38892 \begin_layout Plain Layout
38905 \begin_layout Plain Layout
38916 \begin_layout Plain Layout
38928 <cell alignment="left" valignment="top" usebox="none">
38931 \begin_layout Plain Layout
38935 \begin_layout Plain Layout
38948 \begin_layout Plain Layout
38959 \begin_layout Plain Layout
38973 <cell alignment="center" valignment="top" usebox="none">
38976 \begin_layout Plain Layout
38980 \begin_layout Plain Layout
38993 \begin_layout Plain Layout
39001 \begin_inset Phantom Phantom
39004 \begin_layout Plain Layout
39014 \begin_layout Plain Layout
39026 <cell alignment="center" valignment="top" usebox="none">
39029 \begin_layout Plain Layout
39033 \begin_layout Plain Layout
39046 \begin_layout Plain Layout
39054 \begin_inset Phantom Phantom
39057 \begin_layout Plain Layout
39067 \begin_layout Plain Layout
39079 <cell alignment="center" valignment="top" usebox="none">
39082 \begin_layout Plain Layout
39086 \begin_layout Plain Layout
39099 \begin_layout Plain Layout
39107 \begin_inset Phantom Phantom
39110 \begin_layout Plain Layout
39120 \begin_layout Plain Layout
39132 <cell alignment="center" valignment="top" usebox="none">
39135 \begin_layout Plain Layout
39139 \begin_layout Plain Layout
39152 \begin_layout Plain Layout
39160 \begin_inset Phantom Phantom
39163 \begin_layout Plain Layout
39173 \begin_layout Plain Layout
39187 <cell alignment="left" valignment="top" usebox="none">
39190 \begin_layout Plain Layout
39194 \begin_layout Plain Layout
39207 \begin_layout Plain Layout
39215 \begin_inset Phantom Phantom
39218 \begin_layout Plain Layout
39228 \begin_layout Plain Layout
39240 <cell alignment="left" valignment="top" usebox="none">
39243 \begin_layout Plain Layout
39247 \begin_layout Plain Layout
39260 \begin_layout Plain Layout
39268 \begin_inset Phantom Phantom
39271 \begin_layout Plain Layout
39281 \begin_layout Plain Layout
39293 <cell alignment="left" valignment="top" usebox="none">
39296 \begin_layout Plain Layout
39300 \begin_layout Plain Layout
39313 \begin_layout Plain Layout
39321 \begin_inset Phantom Phantom
39324 \begin_layout Plain Layout
39334 \begin_layout Plain Layout
39346 <cell alignment="left" valignment="top" usebox="none">
39349 \begin_layout Plain Layout
39353 \begin_layout Plain Layout
39366 \begin_layout Plain Layout
39374 \begin_inset Phantom Phantom
39377 \begin_layout Plain Layout
39387 \begin_layout Plain Layout
39401 <cell alignment="left" valignment="top" usebox="none">
39404 \begin_layout Plain Layout
39408 \begin_layout Plain Layout
39421 \begin_layout Plain Layout
39429 \begin_inset Phantom Phantom
39432 \begin_layout Plain Layout
39442 \begin_layout Plain Layout
39454 <cell alignment="left" valignment="top" usebox="none">
39457 \begin_layout Plain Layout
39461 \begin_layout Plain Layout
39474 \begin_layout Plain Layout
39482 \begin_inset Phantom Phantom
39485 \begin_layout Plain Layout
39495 \begin_layout Plain Layout
39507 <cell alignment="left" valignment="top" usebox="none">
39510 \begin_layout Plain Layout
39514 \begin_layout Plain Layout
39527 \begin_layout Plain Layout
39535 \begin_inset Phantom Phantom
39538 \begin_layout Plain Layout
39548 \begin_layout Plain Layout
39560 <cell alignment="left" valignment="top" usebox="none">
39563 \begin_layout Plain Layout
39567 \begin_layout Plain Layout
39580 \begin_layout Plain Layout
39588 \begin_inset Phantom Phantom
39591 \begin_layout Plain Layout
39601 \begin_layout Plain Layout
39615 <cell alignment="left" valignment="top" usebox="none">
39618 \begin_layout Plain Layout
39622 \begin_layout Plain Layout
39635 \begin_layout Plain Layout
39643 \begin_inset Phantom Phantom
39646 \begin_layout Plain Layout
39656 \begin_layout Plain Layout
39668 <cell alignment="left" valignment="top" usebox="none">
39671 \begin_layout Plain Layout
39675 \begin_layout Plain Layout
39688 \begin_layout Plain Layout
39696 \begin_inset Phantom Phantom
39699 \begin_layout Plain Layout
39709 \begin_layout Plain Layout
39721 <cell alignment="left" valignment="top" usebox="none">
39724 \begin_layout Plain Layout
39728 \begin_layout Plain Layout
39741 \begin_layout Plain Layout
39749 \begin_inset Phantom Phantom
39752 \begin_layout Plain Layout
39762 \begin_layout Plain Layout
39774 <cell alignment="left" valignment="top" usebox="none">
39777 \begin_layout Plain Layout
39781 \begin_layout Plain Layout
39794 \begin_layout Plain Layout
39802 \begin_inset Phantom Phantom
39805 \begin_layout Plain Layout
39815 \begin_layout Plain Layout
39829 <cell alignment="left" valignment="top" usebox="none">
39832 \begin_layout Plain Layout
39836 \begin_layout Plain Layout
39849 \begin_layout Plain Layout
39857 \begin_inset Phantom Phantom
39860 \begin_layout Plain Layout
39870 \begin_layout Plain Layout
39882 <cell alignment="left" valignment="top" usebox="none">
39885 \begin_layout Plain Layout
39889 \begin_layout Plain Layout
39902 \begin_layout Plain Layout
39910 \begin_inset Phantom Phantom
39913 \begin_layout Plain Layout
39923 \begin_layout Plain Layout
39935 <cell alignment="left" valignment="top" usebox="none">
39938 \begin_layout Plain Layout
39942 \begin_layout Plain Layout
39955 \begin_layout Plain Layout
39963 \begin_inset Phantom Phantom
39966 \begin_layout Plain Layout
39976 \begin_layout Plain Layout
39988 <cell alignment="left" valignment="top" usebox="none">
39991 \begin_layout Plain Layout
39995 \begin_layout Plain Layout
40008 \begin_layout Plain Layout
40016 \begin_inset Phantom Phantom
40019 \begin_layout Plain Layout
40029 \begin_layout Plain Layout
40043 <cell alignment="center" valignment="top" usebox="none">
40046 \begin_layout Plain Layout
40050 \begin_layout Plain Layout
40063 \begin_layout Plain Layout
40071 \begin_inset Phantom Phantom
40074 \begin_layout Plain Layout
40084 \begin_layout Plain Layout
40096 <cell alignment="center" valignment="top" usebox="none">
40099 \begin_layout Plain Layout
40103 \begin_layout Plain Layout
40116 \begin_layout Plain Layout
40124 \begin_inset Phantom Phantom
40127 \begin_layout Plain Layout
40137 \begin_layout Plain Layout
40149 <cell alignment="center" valignment="top" usebox="none">
40152 \begin_layout Plain Layout
40156 \begin_layout Plain Layout
40169 \begin_layout Plain Layout
40177 \begin_inset Phantom Phantom
40180 \begin_layout Plain Layout
40190 \begin_layout Plain Layout
40202 <cell alignment="center" valignment="top" usebox="none">
40205 \begin_layout Plain Layout
40209 \begin_layout Plain Layout
40222 \begin_layout Plain Layout
40230 \begin_inset Phantom Phantom
40233 \begin_layout Plain Layout
40243 \begin_layout Plain Layout
40257 <cell alignment="left" valignment="top" usebox="none">
40260 \begin_layout Plain Layout
40264 \begin_layout Plain Layout
40277 \begin_layout Plain Layout
40285 \begin_inset Phantom Phantom
40288 \begin_layout Plain Layout
40298 \begin_layout Plain Layout
40310 <cell alignment="left" valignment="top" usebox="none">
40313 \begin_layout Plain Layout
40317 \begin_layout Plain Layout
40330 \begin_layout Plain Layout
40338 \begin_inset Phantom Phantom
40341 \begin_layout Plain Layout
40351 \begin_layout Plain Layout
40363 <cell alignment="left" valignment="top" usebox="none">
40366 \begin_layout Plain Layout
40370 \begin_layout Plain Layout
40383 \begin_layout Plain Layout
40391 \begin_inset Phantom Phantom
40394 \begin_layout Plain Layout
40404 \begin_layout Plain Layout
40416 <cell alignment="left" valignment="top" usebox="none">
40419 \begin_layout Plain Layout
40423 \begin_layout Plain Layout
40436 \begin_layout Plain Layout
40444 \begin_inset Phantom Phantom
40447 \begin_layout Plain Layout
40457 \begin_layout Plain Layout
40471 <cell alignment="left" valignment="top" usebox="none">
40474 \begin_layout Plain Layout
40478 \begin_layout Plain Layout
40491 \begin_layout Plain Layout
40499 \begin_inset Phantom Phantom
40502 \begin_layout Plain Layout
40512 \begin_layout Plain Layout
40524 <cell alignment="left" valignment="top" usebox="none">
40527 \begin_layout Plain Layout
40531 \begin_layout Plain Layout
40544 \begin_layout Plain Layout
40552 \begin_inset Phantom Phantom
40555 \begin_layout Plain Layout
40565 \begin_layout Plain Layout
40577 <cell alignment="left" valignment="top" usebox="none">
40580 \begin_layout Plain Layout
40584 \begin_layout Plain Layout
40597 \begin_layout Plain Layout
40605 \begin_inset Phantom Phantom
40608 \begin_layout Plain Layout
40618 \begin_layout Plain Layout
40630 <cell alignment="left" valignment="top" usebox="none">
40633 \begin_layout Plain Layout
40637 \begin_layout Plain Layout
40650 \begin_layout Plain Layout
40658 \begin_inset Phantom Phantom
40661 \begin_layout Plain Layout
40671 \begin_layout Plain Layout
40685 <cell alignment="left" valignment="top" usebox="none">
40688 \begin_layout Plain Layout
40692 \begin_layout Plain Layout
40705 \begin_layout Plain Layout
40713 \begin_inset Phantom Phantom
40716 \begin_layout Plain Layout
40726 \begin_layout Plain Layout
40738 <cell alignment="left" valignment="top" usebox="none">
40741 \begin_layout Plain Layout
40745 \begin_layout Plain Layout
40758 \begin_layout Plain Layout
40766 \begin_inset Phantom Phantom
40769 \begin_layout Plain Layout
40779 \begin_layout Plain Layout
40791 <cell alignment="left" valignment="top" usebox="none">
40794 \begin_layout Plain Layout
40798 \begin_layout Plain Layout
40811 \begin_layout Plain Layout
40819 \begin_inset Phantom Phantom
40822 \begin_layout Plain Layout
40832 \begin_layout Plain Layout
40844 <cell alignment="left" valignment="top" usebox="none">
40847 \begin_layout Plain Layout
40851 \begin_layout Plain Layout
40864 \begin_layout Plain Layout
40872 \begin_inset Phantom Phantom
40875 \begin_layout Plain Layout
40885 \begin_layout Plain Layout
40899 <cell alignment="left" valignment="top" usebox="none">
40902 \begin_layout Plain Layout
40906 \begin_layout Plain Layout
40919 \begin_layout Plain Layout
40927 \begin_inset Phantom Phantom
40930 \begin_layout Plain Layout
40940 \begin_layout Plain Layout
40952 <cell alignment="left" valignment="top" usebox="none">
40955 \begin_layout Plain Layout
40959 \begin_layout Plain Layout
40972 \begin_layout Plain Layout
40980 \begin_inset Phantom Phantom
40983 \begin_layout Plain Layout
40993 \begin_layout Plain Layout
41005 <cell alignment="left" valignment="top" usebox="none">
41008 \begin_layout Plain Layout
41012 \begin_layout Plain Layout
41025 \begin_layout Plain Layout
41033 \begin_inset Phantom Phantom
41036 \begin_layout Plain Layout
41046 \begin_layout Plain Layout
41058 <cell alignment="left" valignment="top" usebox="none">
41061 \begin_layout Plain Layout
41065 \begin_layout Plain Layout
41078 \begin_layout Plain Layout
41086 \begin_inset Phantom Phantom
41089 \begin_layout Plain Layout
41099 \begin_layout Plain Layout
41113 <cell alignment="left" valignment="top" usebox="none">
41116 \begin_layout Plain Layout
41120 \begin_layout Plain Layout
41133 \begin_layout Plain Layout
41141 \begin_inset Phantom Phantom
41144 \begin_layout Plain Layout
41154 \begin_layout Plain Layout
41166 <cell alignment="left" valignment="top" usebox="none">
41169 \begin_layout Plain Layout
41173 \begin_layout Plain Layout
41186 \begin_layout Plain Layout
41194 \begin_inset Phantom Phantom
41197 \begin_layout Plain Layout
41207 \begin_layout Plain Layout
41219 <cell alignment="left" valignment="top" usebox="none">
41222 \begin_layout Plain Layout
41226 \begin_layout Plain Layout
41239 \begin_layout Plain Layout
41247 \begin_inset Phantom Phantom
41250 \begin_layout Plain Layout
41260 \begin_layout Plain Layout
41272 <cell alignment="left" valignment="top" usebox="none">
41275 \begin_layout Plain Layout
41279 \begin_layout Plain Layout
41292 \begin_layout Plain Layout
41300 \begin_inset Phantom Phantom
41303 \begin_layout Plain Layout
41313 \begin_layout Plain Layout
41327 <cell alignment="left" valignment="top" usebox="none">
41330 \begin_layout Plain Layout
41334 \begin_layout Plain Layout
41347 \begin_layout Plain Layout
41355 \begin_inset Phantom Phantom
41358 \begin_layout Plain Layout
41368 \begin_layout Plain Layout
41380 <cell alignment="left" valignment="top" usebox="none">
41383 \begin_layout Plain Layout
41387 \begin_layout Plain Layout
41400 \begin_layout Plain Layout
41408 \begin_inset Phantom Phantom
41411 \begin_layout Plain Layout
41421 \begin_layout Plain Layout
41433 <cell alignment="left" valignment="top" usebox="none">
41436 \begin_layout Plain Layout
41440 \begin_layout Plain Layout
41453 \begin_layout Plain Layout
41461 \begin_inset Phantom Phantom
41464 \begin_layout Plain Layout
41474 \begin_layout Plain Layout
41486 <cell alignment="left" valignment="top" usebox="none">
41489 \begin_layout Plain Layout
41493 \begin_layout Plain Layout
41506 \begin_layout Plain Layout
41514 \begin_inset Phantom Phantom
41517 \begin_layout Plain Layout
41527 \begin_layout Plain Layout
41541 <cell alignment="left" valignment="top" usebox="none">
41544 \begin_layout Plain Layout
41548 \begin_layout Plain Layout
41561 \begin_layout Plain Layout
41569 \begin_inset Phantom Phantom
41572 \begin_layout Plain Layout
41582 \begin_layout Plain Layout
41594 <cell alignment="left" valignment="top" usebox="none">
41597 \begin_layout Plain Layout
41601 \begin_layout Plain Layout
41614 \begin_layout Plain Layout
41622 \begin_inset Phantom Phantom
41625 \begin_layout Plain Layout
41635 \begin_layout Plain Layout
41647 <cell alignment="left" valignment="top" usebox="none">
41650 \begin_layout Plain Layout
41654 \begin_layout Plain Layout
41667 \begin_layout Plain Layout
41675 \begin_inset Phantom Phantom
41678 \begin_layout Plain Layout
41688 \begin_layout Plain Layout
41700 <cell alignment="left" valignment="top" usebox="none">
41703 \begin_layout Plain Layout
41707 \begin_layout Plain Layout
41720 \begin_layout Plain Layout
41728 \begin_inset Phantom Phantom
41731 \begin_layout Plain Layout
41741 \begin_layout Plain Layout
41755 <cell alignment="left" valignment="top" usebox="none">
41758 \begin_layout Plain Layout
41762 \begin_layout Plain Layout
41775 \begin_layout Plain Layout
41783 \begin_inset Phantom Phantom
41786 \begin_layout Plain Layout
41796 \begin_layout Plain Layout
41808 <cell alignment="left" valignment="top" usebox="none">
41811 \begin_layout Plain Layout
41815 \begin_layout Plain Layout
41828 \begin_layout Plain Layout
41836 \begin_inset Phantom Phantom
41839 \begin_layout Plain Layout
41849 \begin_layout Plain Layout
41861 <cell alignment="left" valignment="top" usebox="none">
41864 \begin_layout Plain Layout
41868 \begin_layout Plain Layout
41881 \begin_layout Plain Layout
41889 \begin_inset Phantom Phantom
41892 \begin_layout Plain Layout
41902 \begin_layout Plain Layout
41914 <cell alignment="left" valignment="top" usebox="none">
41917 \begin_layout Plain Layout
41921 \begin_layout Plain Layout
41934 \begin_layout Plain Layout
41942 \begin_inset Phantom Phantom
41945 \begin_layout Plain Layout
41955 \begin_layout Plain Layout
41969 <cell alignment="left" valignment="top" usebox="none">
41972 \begin_layout Plain Layout
41976 \begin_layout Plain Layout
41989 \begin_layout Plain Layout
41997 \begin_inset Phantom Phantom
42000 \begin_layout Plain Layout
42010 \begin_layout Plain Layout
42022 <cell alignment="left" valignment="top" usebox="none">
42025 \begin_layout Plain Layout
42029 \begin_layout Plain Layout
42042 \begin_layout Plain Layout
42050 \begin_inset Phantom Phantom
42053 \begin_layout Plain Layout
42063 \begin_layout Plain Layout
42075 <cell alignment="left" valignment="top" usebox="none">
42078 \begin_layout Plain Layout
42082 \begin_layout Plain Layout
42095 \begin_layout Plain Layout
42103 \begin_inset Phantom Phantom
42106 \begin_layout Plain Layout
42116 \begin_layout Plain Layout
42128 <cell alignment="left" valignment="top" usebox="none">
42131 \begin_layout Plain Layout
42135 \begin_layout Plain Layout
42148 \begin_layout Plain Layout
42156 \begin_inset Phantom Phantom
42159 \begin_layout Plain Layout
42169 \begin_layout Plain Layout
42183 <cell alignment="left" valignment="top" usebox="none">
42186 \begin_layout Plain Layout
42190 \begin_layout Plain Layout
42203 \begin_layout Plain Layout
42211 \begin_inset Phantom Phantom
42214 \begin_layout Plain Layout
42224 \begin_layout Plain Layout
42236 <cell alignment="left" valignment="top" usebox="none">
42239 \begin_layout Plain Layout
42245 <cell alignment="left" valignment="top" usebox="none">
42248 \begin_layout Plain Layout
42254 <cell alignment="left" valignment="top" usebox="none">
42257 \begin_layout Plain Layout
42271 \begin_layout Chapter
42273 \begin_inset CommandInset ref
42280 \begin_inset CommandInset label
42289 \begin_layout Standard
42290 \begin_inset Formula $n$
42294 \begin_inset Formula $W_{\mathrm{tot\, n}}$
42298 \begin_inset Formula
42300 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
42308 \begin_layout Standard
42310 \begin_inset Formula $W_{g\, n}$
42319 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
42320 \begin_inset space \thinspace{}
42330 \begin_inset space \thinspace{}
42336 \begin_layout Standard
42338 \begin_inset CommandInset ref
42340 reference "eq:Wtot_n"
42345 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
42349 \begin_inset Formula
42351 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
42359 \begin_layout Standard
42361 \begin_inset Formula $n$
42365 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
42369 \begin_inset CommandInset ref
42371 reference "eq:Wtot_n"
42376 \begin_inset CommandInset ref
42378 reference "eq:Wtot_mult"
42382 式が等しいものと置けば、必要となる固定幅
42383 \begin_inset Formula $W_{g\, n}$
42387 \begin_inset Formula
42389 W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
42397 \begin_layout Bibliography
42398 \labelwidthstring 参考文献
42399 \begin_inset CommandInset bibitem
42400 LatexCommand bibitem
42401 key "latexcompanion"
42405 Frank Mittelbach and Michel Goossens:
42407 The LaTeX Companion Second Edition.
42410 Addison-Wesley, 2004
42413 \begin_layout Bibliography
42414 \labelwidthstring 参考文献
42415 \begin_inset CommandInset bibitem
42416 LatexCommand bibitem
42421 Helmut Kopka and Patrick W.
42424 A Guide to LaTeX Fourth Edition.
42427 Addison-Wesley, 2003
42430 \begin_layout Bibliography
42431 \labelwidthstring 参考文献
42432 \begin_inset CommandInset bibitem
42433 LatexCommand bibitem
42440 LaTeX: A Document Preparation System.
42443 Addison-Wesley, second edition, 1994
42446 \begin_layout Bibliography
42447 \labelwidthstring 参考文献
42448 \begin_inset CommandInset bibitem
42449 LatexCommand bibitem
42457 \begin_inset CommandInset href
42460 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
42467 \begin_inset Index idx
42470 \begin_layout Plain Layout
42471 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
42479 \begin_layout Bibliography
42480 \labelwidthstring 参考文献
42481 \begin_inset CommandInset bibitem
42482 LatexCommand bibitem
42490 \begin_inset CommandInset href
42493 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
42500 \begin_inset Index idx
42503 \begin_layout Plain Layout
42504 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
42512 \begin_layout Bibliography
42513 \labelwidthstring 参考文献
42514 \begin_inset CommandInset bibitem
42515 LatexCommand bibitem
42523 \begin_inset CommandInset href
42526 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
42533 \begin_inset Index idx
42536 \begin_layout Plain Layout
42537 LaTeXぱっけーじ@LaTeXパッケージ ! caption
42545 \begin_layout Bibliography
42546 \labelwidthstring 参考文献
42547 \begin_inset CommandInset bibitem
42548 LatexCommand bibitem
42556 \begin_inset CommandInset href
42559 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
42566 \begin_inset Index idx
42569 \begin_layout Plain Layout
42570 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
42578 \begin_layout Bibliography
42579 \labelwidthstring 参考文献
42580 \begin_inset CommandInset bibitem
42581 LatexCommand bibitem
42589 \begin_inset CommandInset href
42592 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
42599 \begin_inset Index idx
42602 \begin_layout Plain Layout
42603 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
42611 \begin_layout Bibliography
42612 \labelwidthstring 参考文献
42613 \begin_inset CommandInset bibitem
42614 LatexCommand bibitem
42622 \begin_inset CommandInset href
42625 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
42632 \begin_inset Index idx
42635 \begin_layout Plain Layout
42636 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
42644 \begin_layout Bibliography
42645 \labelwidthstring 参考文献
42646 \begin_inset CommandInset bibitem
42647 LatexCommand bibitem
42655 \begin_inset CommandInset href
42658 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
42665 \begin_inset Index idx
42668 \begin_layout Plain Layout
42669 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42677 \begin_layout Bibliography
42678 \labelwidthstring 参考文献
42679 \begin_inset CommandInset bibitem
42680 LatexCommand bibitem
42688 \begin_inset CommandInset href
42691 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
42698 \begin_inset Index idx
42701 \begin_layout Plain Layout
42702 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
42710 \begin_layout Bibliography
42711 \labelwidthstring 参考文献
42712 \begin_inset CommandInset bibitem
42713 LatexCommand bibitem
42721 \begin_inset CommandInset href
42724 target "http://mirror.ctan.org/macros/latex/contrib/koma-script/scrguien.pdf"
42731 \begin_inset Index idx
42734 \begin_layout Plain Layout
42735 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
42743 \begin_layout Bibliography
42744 \labelwidthstring 参考文献
42745 \begin_inset CommandInset bibitem
42746 LatexCommand bibitem
42754 \begin_inset CommandInset href
42757 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
42764 \begin_inset CommandInset href
42767 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
42772 \begin_inset Index idx
42775 \begin_layout Plain Layout
42776 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
42784 \begin_layout Bibliography
42785 \labelwidthstring 参考文献
42786 \begin_inset CommandInset bibitem
42787 LatexCommand bibitem
42795 \begin_inset CommandInset href
42798 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
42805 \begin_inset Index idx
42808 \begin_layout Plain Layout
42809 LaTeXぱっけーじ@LaTeXパッケージ ! listings
42817 \begin_layout Bibliography
42818 \labelwidthstring 参考文献
42819 \begin_inset CommandInset bibitem
42820 LatexCommand bibitem
42828 \begin_inset CommandInset href
42831 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
42838 \begin_inset Index idx
42841 \begin_layout Plain Layout
42842 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
42850 \begin_layout Bibliography
42851 \labelwidthstring 参考文献
42852 \begin_inset CommandInset bibitem
42853 LatexCommand bibitem
42861 \begin_inset CommandInset href
42864 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
42871 \begin_inset Index idx
42874 \begin_layout Plain Layout
42875 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
42883 \begin_layout Bibliography
42884 \labelwidthstring 参考文献
42885 \begin_inset CommandInset bibitem
42886 LatexCommand bibitem
42894 \begin_inset CommandInset href
42897 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
42904 \begin_inset Index idx
42907 \begin_layout Plain Layout
42908 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
42916 \begin_layout Bibliography
42917 \labelwidthstring 参考文献
42918 \begin_inset CommandInset bibitem
42919 LatexCommand bibitem
42927 \begin_inset CommandInset href
42930 target "http://tug.org/PSTricks/"
42937 \begin_inset Index idx
42940 \begin_layout Plain Layout
42941 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
42949 \begin_layout Bibliography
42950 \labelwidthstring 参考文献
42951 \begin_inset CommandInset bibitem
42952 LatexCommand bibitem
42960 \begin_inset CommandInset href
42963 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
42970 \begin_inset Index idx
42973 \begin_layout Plain Layout
42974 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
42982 \begin_layout Bibliography
42983 \labelwidthstring 参考文献
42984 \begin_inset CommandInset bibitem
42985 LatexCommand bibitem
42993 \begin_inset CommandInset href
42996 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
43003 \begin_inset Index idx
43006 \begin_layout Plain Layout
43007 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
43015 \begin_layout Bibliography
43016 \labelwidthstring 参考文献
43017 \begin_inset CommandInset bibitem
43018 LatexCommand bibitem
43028 \begin_inset CommandInset href
43031 target "http://wiki.lyx.org/LyX/NewInLyX20"
43038 \begin_layout Standard
43039 \begin_inset CommandInset index_print
43040 LatexCommand printindex