1 #LyX 1.6.5 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}, tableposition=top]{caption}[2004/07/16]
40 % provides commands to set caption
41 % beside tables/images
44 \newcommand{\TabBesBeg}{%
46 \let\MyEndtable\endtable
47 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
49 \newcommand{\TabBesEnd}{%
51 \let\endtable\MyEndtable}
53 \newcommand{\FigBesBeg}{%
55 \let\MyEndfigure\endfigure
56 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
58 \newcommand{\FigBesEnd}{%
60 \let\endfigure\MyEndfigure}
62 % enables calculation of values,
65 % provides special table cell alignments
68 % increase the bottom float placement fraction
69 \renewcommand{\bottomfraction}{0.5}
71 % avoids that floats are placed before their
72 % corresponding section starts
73 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
75 % speed up the longtable calculation
76 \setcounter{LTchunksize}{100}
78 % used for scaled and rotated boxes
79 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
81 % used for colored tables
82 \@ifundefined{textcolor}
83 {\usepackage{color}}{}
84 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
85 \definecolor{lightgrey}{gray}{0.8}
87 % check for package colortbl
88 % used for colored table cells
90 \IfFileExists{colortbl.sty}
91 {\usepackage{colortbl}
92 \setboolean{colortbl}{true}}
93 {\setboolean{colortbl}{false}}
97 %\renewcommand{\multirowsetup}{\centering}
99 % used for book-style tables
100 \usepackage{booktabs}
102 % used to have extra space in table cells
103 \@ifundefined{extrarowheight}
104 {\usepackage{array}}{}
105 \setlength{\extrarowheight}{2pt}
107 % used for customized tables
110 {>{\centering\hspace{0pt}}m{#1}}
113 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
116 {>{\columncolor{#1}\hspace{0pt}}c}
118 \newcolumntype{V}{!{\vrule width 1.5pt}}
120 \newcolumntype{W}{!{\color{green}\vline}}
123 % insert additional vertical space of
124 % 1.5 mm between footnotes
126 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
128 % number algorithm floats within chapters
129 \numberwithin{algorithm}{chapter}
131 % redefine the greyed out note
132 \renewenvironment{lyxgreyedout}
133 {\textcolor{blue}\bgroup}{\egroup}
135 % ------------------------------------
136 % used to check for needed LaTeX packages
139 % check for package arydshln
140 % used for tables with dashed lines
141 \newboolean{arydshln}
142 \IfFileExists{arydshln.sty}
143 {\usepackage{arydshln}
144 \setboolean{arydshln}{true}}
145 {\setboolean{arydshln}{false}}
147 % check for package marginnote
148 % used for margin notes
149 \newboolean{marginnote}
150 \IfFileExists{marginnote.sty}
151 {\usepackage{marginnote}
152 \let\marginpar\marginnote
153 \setboolean{marginnote}{true}}
154 {\setboolean{marginnote}{false}}
156 % check for package sidecap
157 % used for captions on the side
159 \IfFileExists{sidecap.sty}
160 {\usepackage{sidecap}
161 \setboolean{sidecap}{true}}
162 {\setboolean{sidecap}{false}}
164 % redefine the \LyX macro for PDF bookmarks
165 \def\LyX{\texorpdfstring{%
166 L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
170 \renewcommand{\seename}{→}
173 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
174 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
176 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
177 \use_default_options false
182 \font_typewriter default
183 \font_default_family default
193 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
194 \pdf_author "LyX Team, Uwe Stohr"
195 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
196 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
198 \pdf_bookmarksnumbered true
199 \pdf_bookmarksopen true
200 \pdf_bookmarksopenlevel 1
201 \pdf_breaklinks false
205 \pdf_pdfusetitle false
206 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
213 \paperorientation portrait
220 \paragraph_separation skip
222 \quotes_language english
225 \paperpagestyle default
229 \tracking_changes false
230 \output_changes false
238 LyXにおける図表・フロート・注釈・ボックス・外部素材の詳細についての説明書
246 \begin_layout Plain Layout
248 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
249 \begin_inset CommandInset href
251 name "lyx-docs@lists.lyx.org"
252 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
263 \begin_inset Note Note
266 \begin_layout Plain Layout
273 \begin_inset Newline newline
277 \begin_inset Newline newline
285 \begin_layout Standard
286 \begin_inset CommandInset toc
287 LatexCommand tableofcontents
294 \begin_layout Standard
295 \begin_inset Note Note
298 \begin_layout Plain Layout
299 本文書の全体をPDFやPS、DVIに書き出すには、
315 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
319 \begin_layout Plain Layout
321 \begin_inset Newline newline
326 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
329 \begin_inset Newline newline
340 \begin_layout Chapter
345 \begin_layout Plain Layout
355 \begin_layout Plain Layout
360 \begin_layout Plain Layout
371 \begin_layout Plain Layout
386 \begin_layout Section
391 \begin_layout Plain Layout
392 ず@図 ! がぞうだいあろぐ@画像ダイアログ
398 \begin_inset CommandInset label
407 \begin_layout Standard
408 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
409 \begin_inset Graphics
410 filename ../../images/dialog-show-new-inset_graphics.png
418 挿入\SpecialChar \menuseparator
421 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
424 \begin_layout Standard
425 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
428 \begin_layout Description
433 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
434 \begin_inset CommandInset ref
436 reference "cha:LyXで使用できる単位"
441 \begin_inset Newline newline
448 \begin_layout Plain Layout
454 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
455 \begin_inset Newline newline
462 \begin_layout Plain Layout
468 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
469 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
473 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
474 \begin_inset Newline newline
477 画像を右クリックすると現れるコンテクストメニューで
481 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
485 \begin_layout Description
490 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
494 ボタンを押すことによって、自動的に計算することもできます。
498 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
501 \begin_layout Description
506 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
509 \begin_inset Newline newline
514 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
517 \begin_inset Newline newline
526 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
528 \begin_inset Newline newline
531 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
532 \begin_inset CommandInset ref
534 reference "sec:PostScript"
538 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
539 \begin_inset Newline newline
547 \begin_inset Newline newline
552 zgrep %%Bounding x.eps.gz > x.eps.bb
555 \begin_inset Newline newline
558 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
559 \begin_inset Newline newline
566 フィールドでは、画像設定グループを定義したり既存のグループに所属させたりすることができます
570 \begin_layout Plain Layout
571 ず@図 ! せっていぐるーぷ@設定グループ
576 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
577 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
578 ーを使用して、望むグループ名をチェックすることで行うこともできます。
581 \begin_layout Standard
582 \begin_inset VSpace bigskip
588 \begin_layout Standard
593 \begin_layout Plain Layout
595 \begin_inset CommandInset ref
606 の画像の例で、単独の中央揃えの段落に置いてあります。
609 \begin_layout Standard
611 \begin_inset Graphics
612 filename ../clipart/mobius.eps
622 \begin_layout Standard
623 下記は上と同じ画像ですが、下書きモードのものです。
626 \begin_layout Standard
628 \begin_inset Graphics
629 filename ../clipart/mobius.eps
640 \begin_layout Standard
641 \begin_inset Newpage newpage
647 \begin_layout Section
649 \begin_inset CommandInset label
659 \begin_layout Plain Layout
669 \begin_layout Plain Layout
678 \begin_layout Standard
680 \begin_inset CommandInset ref
682 reference "sec:フロートはじめに"
689 \begin_layout Standard
691 \begin_inset Graphics
692 filename ../../images/float-insert_figure.png
700 挿入\SpecialChar \menuseparator
701 フロート\SpecialChar \menuseparator
704 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
705 \begin_inset CommandInset ref
707 reference "fig:犠牲のカモノハシ"
711 のようにキャプションの上に置くこともできますし、図
712 \begin_inset CommandInset ref
714 reference "fig:エッシャー"
718 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
719 \begin_inset CommandInset ref
721 reference "sec:キャプションの配置"
728 \begin_layout Standard
729 \begin_inset Float figure
734 \begin_layout Plain Layout
736 \begin_inset Graphics
737 filename ../clipart/platypus.eps
747 \begin_layout Plain Layout
750 \begin_layout Plain Layout
751 \begin_inset CommandInset label
770 \begin_layout Standard
771 \begin_inset Float figure
776 \begin_layout Plain Layout
779 \begin_layout Plain Layout
780 \begin_inset CommandInset label
794 \begin_layout Plain Layout
796 \begin_inset Graphics
797 filename ../clipart/escher-lsd.eps
812 \begin_layout Standard
816 \begin_layout Plain Layout
817 さんしょう@参照 ! ずへの@図への ---
823 \begin_inset CommandInset ref
825 reference "fig:犠牲のカモノハシ"
830 \begin_inset CommandInset ref
832 reference "fig:エッシャー"
836 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
838 挿入\SpecialChar \menuseparator
842 \begin_inset Graphics
843 filename ../../images/label-insert.png
849 を使用して、キャプションにラベルを挿入してください。その後、
851 挿入\SpecialChar \menuseparator
855 \begin_inset Graphics
856 filename ../../images/dialog-show-new-inset_ref.png
862 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
863 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
864 \begin_inset Newline newline
868 \begin_inset CommandInset ref
870 reference "sec:フロートの参照"
877 \begin_layout Standard
878 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
879 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
880 \begin_inset CommandInset ref
882 reference "fig:歪められた二つの像"
886 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
887 \begin_inset CommandInset ref
889 reference "fig:何かわからない構造"
894 \begin_inset CommandInset ref
896 reference "fig:カモノハシ"
903 \begin_layout Standard
904 \begin_inset Float figure
909 \begin_layout Plain Layout
910 \begin_inset space \hfill{}
914 \begin_inset Float figure
919 \begin_layout Plain Layout
922 \begin_layout Plain Layout
923 \begin_inset CommandInset label
937 \begin_layout Plain Layout
938 \begin_inset Graphics
939 filename ../clipart/escher-lsd.eps
952 \begin_inset space \hfill{}
956 \begin_inset Float figure
961 \begin_layout Plain Layout
964 \begin_layout Plain Layout
965 \begin_inset CommandInset label
979 \begin_layout Plain Layout
980 \begin_inset Graphics
981 filename ../clipart/platypus.eps
994 \begin_inset space \hfill{}
1000 \begin_layout Plain Layout
1001 \begin_inset Caption
1003 \begin_layout Plain Layout
1004 \begin_inset CommandInset label
1006 name "fig:歪められた二つの像"
1010 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1023 \begin_layout Standard
1024 \begin_inset Newpage newpage
1030 \begin_layout Section
1032 \begin_inset CommandInset label
1042 \begin_layout Plain Layout
1052 \begin_layout Plain Layout
1061 \begin_layout Standard
1062 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1063 \begin_inset CommandInset ref
1065 reference "cha:ファイル出力形式"
1069 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1074 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1075 用するとよいでしょう。出力ファイル書式は、付録
1076 \begin_inset CommandInset ref
1078 reference "cha:ファイル出力形式"
1085 \begin_layout Standard
1086 フォントと同じく、画像形式にも以下の二つの型があります。
1089 \begin_layout Description
1090 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1091 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1099 \begin_layout Plain Layout
1104 \begin_layout Plain Layout
1115 \begin_layout Plain Layout
1127 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1135 \begin_layout Plain Layout
1140 \begin_layout Plain Layout
1151 \begin_layout Plain Layout
1163 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1175 \begin_layout Plain Layout
1180 \begin_layout Plain Layout
1191 \begin_layout Plain Layout
1206 \begin_layout Description
1207 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1208 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1210 \begin_inset Newline newline
1213 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1221 \begin_layout Plain Layout
1226 \begin_layout Plain Layout
1237 \begin_layout Plain Layout
1249 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1257 \begin_layout Plain Layout
1262 \begin_layout Plain Layout
1273 \begin_layout Plain Layout
1285 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1293 \begin_layout Plain Layout
1299 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1307 \begin_layout Plain Layout
1312 \begin_layout Plain Layout
1323 \begin_layout Plain Layout
1335 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1336 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1340 \begin_layout Plain Layout
1341 PDFの場合には、さらに元画像が圧縮されます。
1350 が生成するPDFファイルは、ビットマップ画像です。
1353 \begin_layout Standard
1354 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1355 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1356 \begin_inset Formula $\to$
1359 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1362 \begin_layout Chapter
1367 \begin_layout Plain Layout
1376 \begin_layout Section
1381 \begin_layout Plain Layout
1390 \begin_layout Standard
1401 \begin_inset Graphics
1402 filename ../../images/tabular-insert.png
1416 挿入\SpecialChar \menuseparator
1419 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1420 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1421 \begin_inset Newline newline
1424 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1425 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1428 \begin_layout Standard
1430 \begin_inset Tabular
1431 <lyxtabular version="3" rows="4" columns="4">
1433 <column alignment="center" valignment="top" width="0">
1434 <column alignment="center" valignment="top" width="0">
1435 <column alignment="center" valignment="top" width="0">
1436 <column alignment="center" valignment="top" width="0">
1438 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1441 \begin_layout Plain Layout
1447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1450 \begin_layout Plain Layout
1456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1459 \begin_layout Plain Layout
1465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1468 \begin_layout Plain Layout
1476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1479 \begin_layout Plain Layout
1485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1488 \begin_layout Plain Layout
1494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1497 \begin_layout Plain Layout
1503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1506 \begin_layout Plain Layout
1514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1517 \begin_layout Plain Layout
1523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1526 \begin_layout Plain Layout
1532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1535 \begin_layout Plain Layout
1541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1544 \begin_layout Plain Layout
1552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1555 \begin_layout Plain Layout
1561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1564 \begin_layout Plain Layout
1570 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1573 \begin_layout Plain Layout
1579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1582 \begin_layout Plain Layout
1596 \begin_layout Section
1601 \begin_layout Plain Layout
1610 \begin_layout Standard
1620 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1621 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1634 を選択するのと、セル自体を選択するのは違うことに注意して下さい。表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1637 \begin_layout Description
1642 ここでは、現在列の幅と水平揃えを設定することができます。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセ
1643 ルに入れることができます。これに関しては、第
1644 \begin_inset CommandInset ref
1650 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1651 \begin_inset Newline newline
1654 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1655 \begin_inset CommandInset ref
1662 \begin_inset Newline newline
1665 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1666 \begin_inset Newline newline
1670 \begin_inset Note Greyedout
1673 \begin_layout Plain Layout
1678 DVIビューアのすべてが回転を表示できるわけではありません。
1684 \begin_inset Newline newline
1687 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1688 \begin_inset CommandInset ref
1690 reference "sub:連結列の計算"
1695 \begin_inset CommandInset ref
1697 reference "sec:色付きの表"
1704 \begin_layout Description
1709 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1710 \begin_inset Newline newline
1718 \begin_inset CommandInset ref
1720 reference "sec:フォーマル形式の表"
1724 節に述べられているフォーマル様式の表に表を変換します。
1725 \begin_inset Newline newline
1729 \begin_inset CommandInset ref
1731 reference "sub:行の余白取り"
1735 節に述べられているように、表の行に空白を追加することもできます。
1738 \begin_layout Description
1743 このタブは、複数のページにわたる、いわゆる「
1748 \begin_inset CommandInset ref
1755 \begin_inset CommandInset ref
1757 reference "sec:長尺表にまつわる諸点"
1761 節に、長尺表の機能に関する詳細な説明があります。
1764 \begin_layout Standard
1765 表ダイアログを開いたままでも、セル間をカーソルを使って移動することができ、その際、現在セルの特性が直ちにダイアログに表示されます。
1768 \begin_layout Section
1773 \begin_layout Plain Layout
1782 \begin_layout Standard
1783 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
1784 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
1787 \begin_layout Standard
1788 ツールバーには、以下のアイコンがあります。
1791 \begin_layout Labeling
1792 \begin_inset Graphics
1793 filename ../../images/tabular-feature_append-row.png
1798 は、現在セルあるいは選択範囲の下に行を追加します。
1801 \begin_layout Labeling
1802 \begin_inset Graphics
1803 filename ../../images/tabular-feature_append-column.png
1808 は、現在セルあるいは選択範囲の右に列を追加します。
1811 \begin_layout Labeling
1812 \begin_inset Graphics
1813 filename ../../images/tabular-feature_delete-row.png
1818 は、現在行あるいは選択範囲行を削除します。
1821 \begin_layout Labeling
1822 \begin_inset Graphics
1823 filename ../../images/tabular-feature_delete-column.png
1828 は、現在列あるいは選択範囲列を削除します。
1831 \begin_layout Labeling
1832 \begin_inset Graphics
1833 filename ../../images/tabular-feature_toggle-line-top.png
1838 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
1841 \begin_layout Labeling
1842 \begin_inset Graphics
1843 filename ../../images/tabular-feature_toggle-line-bottom.png
1848 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
1851 \begin_layout Labeling
1852 \begin_inset Graphics
1853 filename ../../images/tabular-feature_toggle-line-left.png
1858 は、 現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
1861 \begin_layout Labeling
1862 \begin_inset Graphics
1863 filename ../../images/tabular-feature_toggle-line-right.png
1868 は、 現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
1871 \begin_layout Labeling
1872 \begin_inset Graphics
1873 filename ../../images/tabular-feature_set-all-lines.png
1878 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
1881 \begin_layout Labeling
1882 \begin_inset Graphics
1883 filename ../../images/tabular-feature_unset-all-lines.png
1888 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
1891 \begin_layout Labeling
1892 \begin_inset Graphics
1893 filename ../../images/tabular-feature_m-align-left.png
1898 は、現在セルあるいは現在列の内容を左揃えにします。
1901 \begin_layout Labeling
1902 \begin_inset Graphics
1903 filename ../../images/tabular-feature_m-align-center.png
1908 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
1911 \begin_layout Labeling
1912 \begin_inset Graphics
1913 filename ../../images/tabular-feature_m-align-right.png
1918 は、現在セルあるいは現在列の内容を右揃えにします。
1921 \begin_layout Labeling
1922 \begin_inset Graphics
1923 filename ../../images/tabular-feature_m-valign-top.png
1928 は、現在セルの内容を垂直方向上揃えにします。
1931 \begin_layout Labeling
1932 \begin_inset Graphics
1933 filename ../../images/tabular-feature_m-valign-middle.png
1938 は、現在セルの内容を垂直方向中央揃えにします。
1941 \begin_layout Labeling
1942 \begin_inset Graphics
1943 filename ../../images/tabular-feature_m-valign-bottom.png
1948 は、現在セルの内容を垂直方向下揃えにします。
1951 \begin_layout Labeling
1952 \begin_inset Graphics
1953 filename ../../images/tabular-feature_set-rotate-cell.png
1958 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
1961 \begin_layout Labeling
1962 \begin_inset Graphics
1963 filename ../../images/tabular-feature_set-rotate-tabular.png
1968 は、表全体を反時計廻りに90度回転します。
1971 \begin_layout Labeling
1972 \begin_inset Graphics
1973 filename ../../images/tabular-feature_multicolumn.png
1978 は、現在セルあるいは選択範囲を連結列にします。
1981 \begin_layout Standard
1982 \begin_inset Note Greyedout
1985 \begin_layout Plain Layout
1990 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
1998 \begin_layout Section
2003 \begin_layout Plain Layout
2004 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2012 \begin_layout Standard
2015 編集\SpecialChar \menuseparator
2018 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2022 \begin_layout Section
2024 \begin_inset CommandInset label
2034 \begin_layout Plain Layout
2044 \begin_layout Plain Layout
2053 \begin_layout Standard
2055 \begin_inset CommandInset ref
2057 reference "sec:フロートはじめに"
2064 \begin_layout Standard
2065 \begin_inset Float table
2071 \begin_layout Plain Layout
2072 \begin_inset Caption
2074 \begin_layout Plain Layout
2075 \begin_inset CommandInset label
2089 \begin_layout Plain Layout
2091 \begin_inset Tabular
2092 <lyxtabular version="3" rows="3" columns="3">
2094 <column alignment="center" valignment="top" width="0pt">
2095 <column alignment="center" valignment="top" width="0pt">
2096 <column alignment="center" valignment="top" width="0pt">
2098 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2101 \begin_layout Plain Layout
2116 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2119 \begin_layout Plain Layout
2134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2137 \begin_layout Plain Layout
2154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2157 \begin_layout Plain Layout
2163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2166 \begin_layout Plain Layout
2172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2175 \begin_layout Plain Layout
2183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2186 \begin_layout Plain Layout
2196 \begin_inset Formula $\int x^{2}dx$
2204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2207 \begin_layout Plain Layout
2217 \begin_inset Formula $\left[\begin{array}{cc}
2219 c & d\end{array}\right]$
2227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2230 \begin_layout Plain Layout
2240 \begin_inset Formula $1+1=2$
2261 \begin_layout Standard
2266 \SpecialChar \menuseparator
2267 フロート\SpecialChar \menuseparator
2272 \begin_inset Graphics
2273 filename ../../images/float-insert_table.png
2282 \begin_layout Standard
2283 フロートは折りたたむことのできるボックスとして表示され、中には「表
2284 \begin_inset space ~
2287 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2290 \begin_layout Standard
2292 \begin_inset space ~
2296 \begin_inset CommandInset ref
2298 reference "tab:表フロート"
2305 \begin_layout Standard
2306 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2307 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2316 \begin_layout Plain Layout
2317 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2325 \begin_layout Standard
2331 \begin_layout Standard
2332 というオプションとともにloadコマンドを使って読み込んでください
2336 \begin_layout Plain Layout
2338 \begin_inset CommandInset ref
2340 reference "sec:キャプションの配置"
2350 \begin_inset CommandInset ref
2352 reference "sec:キャプションの書式設定"
2363 \begin_layout Standard
2367 \begin_layout Plain Layout
2368 さんしょう@参照 ! ひょうへの@表への
2373 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2375 挿入\SpecialChar \menuseparator
2379 \begin_inset Graphics
2380 filename ../../images/label-insert.png
2386 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2388 \begin_inset Graphics
2389 filename ../../images/dialog-show-new-inset_ref.png
2395 を用いて、このラベルを参照することができます。
2396 \begin_inset Newline newline
2400 \begin_inset CommandInset ref
2402 reference "sec:フロートの参照"
2409 \begin_layout Section
2411 \begin_inset CommandInset label
2421 \begin_layout Plain Layout
2431 \begin_layout Plain Layout
2432 ひょう@表 ! ちょうしゃくひょう@長尺表
2440 \begin_layout Standard
2441 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2449 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2453 \begin_layout Description
2454 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2481 が定義されているときは、冒頭ページを除きます。
2490 これと区別して、このヘッダは本体ヘッダと呼びます。
2493 \begin_layout Description
2494 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2497 \begin_layout Description
2498 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2525 が定義されているときは、末尾ページを除きます。
2528 \begin_layout Description
2529 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2532 \begin_layout Description
2533 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2534 \begin_inset CommandInset ref
2536 reference "sub:長尺表のキャプション"
2543 \begin_layout Standard
2544 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2547 \begin_layout Standard
2549 \begin_inset Tabular
2550 <lyxtabular version="3" rows="69" columns="3">
2551 <features islongtable="true">
2552 <column alignment="left" valignment="top" width="0cm">
2553 <column alignment="left" valignment="top" width="0pt">
2554 <column alignment="center" valignment="top" width="0pt">
2555 <row endfirsthead="true">
2556 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2559 \begin_layout Plain Layout
2567 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2570 \begin_layout Plain Layout
2576 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2579 \begin_layout Plain Layout
2586 <row endfirsthead="true">
2587 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2590 \begin_layout Plain Layout
2596 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2599 \begin_layout Plain Layout
2605 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2608 \begin_layout Plain Layout
2617 <row endhead="true">
2618 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2621 \begin_layout Plain Layout
2629 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2632 \begin_layout Plain Layout
2638 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2641 \begin_layout Plain Layout
2648 <row endhead="true">
2649 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2652 \begin_layout Plain Layout
2658 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2661 \begin_layout Plain Layout
2667 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2670 \begin_layout Plain Layout
2679 <row endfoot="true">
2680 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2683 \begin_layout Plain Layout
2689 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2692 \begin_layout Plain Layout
2698 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2701 \begin_layout Plain Layout
2709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2712 \begin_layout Plain Layout
2720 <cell alignment="center" valignment="top" usebox="none">
2723 \begin_layout Plain Layout
2729 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
2732 \begin_layout Plain Layout
2740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2743 \begin_layout Plain Layout
2751 <cell alignment="center" valignment="top" usebox="none">
2754 \begin_layout Plain Layout
2760 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2763 \begin_layout Plain Layout
2771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2774 \begin_layout Plain Layout
2782 <cell alignment="center" valignment="top" usebox="none">
2785 \begin_layout Plain Layout
2791 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2794 \begin_layout Plain Layout
2802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2805 \begin_layout Plain Layout
2813 <cell alignment="center" valignment="top" usebox="none">
2816 \begin_layout Plain Layout
2822 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2825 \begin_layout Plain Layout
2833 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2836 \begin_layout Plain Layout
2844 <cell alignment="center" valignment="top" usebox="none">
2847 \begin_layout Plain Layout
2853 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2856 \begin_layout Plain Layout
2864 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2867 \begin_layout Plain Layout
2875 <cell alignment="center" valignment="top" usebox="none">
2878 \begin_layout Plain Layout
2884 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2887 \begin_layout Plain Layout
2895 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2898 \begin_layout Plain Layout
2906 <cell alignment="center" valignment="top" usebox="none">
2909 \begin_layout Plain Layout
2915 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2918 \begin_layout Plain Layout
2926 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2929 \begin_layout Plain Layout
2937 <cell alignment="center" valignment="top" usebox="none">
2940 \begin_layout Plain Layout
2946 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2949 \begin_layout Plain Layout
2957 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2960 \begin_layout Plain Layout
2968 <cell alignment="center" valignment="top" usebox="none">
2971 \begin_layout Plain Layout
2977 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2980 \begin_layout Plain Layout
2988 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2991 \begin_layout Plain Layout
2999 <cell alignment="center" valignment="top" usebox="none">
3002 \begin_layout Plain Layout
3008 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3011 \begin_layout Plain Layout
3019 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3022 \begin_layout Plain Layout
3030 <cell alignment="center" valignment="top" usebox="none">
3033 \begin_layout Plain Layout
3039 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3042 \begin_layout Plain Layout
3050 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3053 \begin_layout Plain Layout
3061 <cell alignment="center" valignment="top" usebox="none">
3064 \begin_layout Plain Layout
3070 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3073 \begin_layout Plain Layout
3081 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3084 \begin_layout Plain Layout
3092 <cell alignment="center" valignment="top" usebox="none">
3095 \begin_layout Plain Layout
3101 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3104 \begin_layout Plain Layout
3112 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3115 \begin_layout Plain Layout
3123 <cell alignment="center" valignment="top" usebox="none">
3126 \begin_layout Plain Layout
3132 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3135 \begin_layout Plain Layout
3143 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3146 \begin_layout Plain Layout
3154 <cell alignment="center" valignment="top" usebox="none">
3157 \begin_layout Plain Layout
3163 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3166 \begin_layout Plain Layout
3174 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3177 \begin_layout Plain Layout
3185 <cell alignment="center" valignment="top" usebox="none">
3188 \begin_layout Plain Layout
3194 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3197 \begin_layout Plain Layout
3205 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3208 \begin_layout Plain Layout
3216 <cell alignment="center" valignment="top" usebox="none">
3219 \begin_layout Plain Layout
3225 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3228 \begin_layout Plain Layout
3236 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3239 \begin_layout Plain Layout
3247 <cell alignment="center" valignment="top" usebox="none">
3250 \begin_layout Plain Layout
3256 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3259 \begin_layout Plain Layout
3267 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3270 \begin_layout Plain Layout
3278 <cell alignment="center" valignment="top" usebox="none">
3281 \begin_layout Plain Layout
3287 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3290 \begin_layout Plain Layout
3298 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3301 \begin_layout Plain Layout
3309 <cell alignment="center" valignment="top" usebox="none">
3312 \begin_layout Plain Layout
3318 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3321 \begin_layout Plain Layout
3329 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3332 \begin_layout Plain Layout
3340 <cell alignment="center" valignment="top" usebox="none">
3343 \begin_layout Plain Layout
3349 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3352 \begin_layout Plain Layout
3360 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3363 \begin_layout Plain Layout
3371 <cell alignment="center" valignment="top" usebox="none">
3374 \begin_layout Plain Layout
3380 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3383 \begin_layout Plain Layout
3391 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3394 \begin_layout Plain Layout
3402 <cell alignment="center" valignment="top" usebox="none">
3405 \begin_layout Plain Layout
3411 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3414 \begin_layout Plain Layout
3422 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3425 \begin_layout Plain Layout
3433 <cell alignment="center" valignment="top" usebox="none">
3436 \begin_layout Plain Layout
3442 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3445 \begin_layout Plain Layout
3453 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3456 \begin_layout Plain Layout
3464 <cell alignment="center" valignment="top" usebox="none">
3467 \begin_layout Plain Layout
3473 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3476 \begin_layout Plain Layout
3484 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3487 \begin_layout Plain Layout
3495 <cell alignment="center" valignment="top" usebox="none">
3498 \begin_layout Plain Layout
3504 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3507 \begin_layout Plain Layout
3515 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3518 \begin_layout Plain Layout
3526 <cell alignment="center" valignment="top" usebox="none">
3529 \begin_layout Plain Layout
3535 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3538 \begin_layout Plain Layout
3546 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3549 \begin_layout Plain Layout
3557 <cell alignment="center" valignment="top" usebox="none">
3560 \begin_layout Plain Layout
3566 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3569 \begin_layout Plain Layout
3577 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3580 \begin_layout Plain Layout
3588 <cell alignment="center" valignment="top" usebox="none">
3591 \begin_layout Plain Layout
3597 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3600 \begin_layout Plain Layout
3608 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3611 \begin_layout Plain Layout
3619 <cell alignment="center" valignment="top" usebox="none">
3622 \begin_layout Plain Layout
3628 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3631 \begin_layout Plain Layout
3639 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3642 \begin_layout Plain Layout
3650 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3653 \begin_layout Plain Layout
3659 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3662 \begin_layout Plain Layout
3670 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3673 \begin_layout Plain Layout
3679 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3682 \begin_layout Plain Layout
3688 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3691 \begin_layout Plain Layout
3699 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3702 \begin_layout Plain Layout
3710 <cell alignment="center" valignment="top" usebox="none">
3713 \begin_layout Plain Layout
3719 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3722 \begin_layout Plain Layout
3730 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3733 \begin_layout Plain Layout
3741 <cell alignment="center" valignment="top" usebox="none">
3744 \begin_layout Plain Layout
3750 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3753 \begin_layout Plain Layout
3761 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3764 \begin_layout Plain Layout
3772 <cell alignment="center" valignment="top" usebox="none">
3775 \begin_layout Plain Layout
3781 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3784 \begin_layout Plain Layout
3792 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3795 \begin_layout Plain Layout
3803 <cell alignment="center" valignment="top" usebox="none">
3806 \begin_layout Plain Layout
3812 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3815 \begin_layout Plain Layout
3823 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3826 \begin_layout Plain Layout
3834 <cell alignment="center" valignment="top" usebox="none">
3837 \begin_layout Plain Layout
3843 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3846 \begin_layout Plain Layout
3854 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3857 \begin_layout Plain Layout
3865 <cell alignment="center" valignment="top" usebox="none">
3868 \begin_layout Plain Layout
3874 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3877 \begin_layout Plain Layout
3885 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3888 \begin_layout Plain Layout
3896 <cell alignment="center" valignment="top" usebox="none">
3899 \begin_layout Plain Layout
3905 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3908 \begin_layout Plain Layout
3916 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3919 \begin_layout Plain Layout
3927 <cell alignment="center" valignment="top" usebox="none">
3930 \begin_layout Plain Layout
3936 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3939 \begin_layout Plain Layout
3947 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3950 \begin_layout Plain Layout
3958 <cell alignment="center" valignment="top" usebox="none">
3961 \begin_layout Plain Layout
3967 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3970 \begin_layout Plain Layout
3978 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3981 \begin_layout Plain Layout
3989 <cell alignment="center" valignment="top" usebox="none">
3992 \begin_layout Plain Layout
3998 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4001 \begin_layout Plain Layout
4009 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4012 \begin_layout Plain Layout
4020 <cell alignment="center" valignment="top" usebox="none">
4023 \begin_layout Plain Layout
4029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4032 \begin_layout Plain Layout
4040 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4043 \begin_layout Plain Layout
4051 <cell alignment="center" valignment="top" usebox="none">
4054 \begin_layout Plain Layout
4060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4063 \begin_layout Plain Layout
4071 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4074 \begin_layout Plain Layout
4082 <cell alignment="center" valignment="top" usebox="none">
4085 \begin_layout Plain Layout
4091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4094 \begin_layout Plain Layout
4102 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4105 \begin_layout Plain Layout
4113 <cell alignment="center" valignment="top" usebox="none">
4116 \begin_layout Plain Layout
4122 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4125 \begin_layout Plain Layout
4133 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4136 \begin_layout Plain Layout
4144 <cell alignment="center" valignment="top" usebox="none">
4147 \begin_layout Plain Layout
4153 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4156 \begin_layout Plain Layout
4164 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4167 \begin_layout Plain Layout
4175 <cell alignment="center" valignment="top" usebox="none">
4178 \begin_layout Plain Layout
4184 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4187 \begin_layout Plain Layout
4195 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4198 \begin_layout Plain Layout
4206 <cell alignment="center" valignment="top" usebox="none">
4209 \begin_layout Plain Layout
4215 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4218 \begin_layout Plain Layout
4226 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4229 \begin_layout Plain Layout
4237 <cell alignment="center" valignment="top" usebox="none">
4240 \begin_layout Plain Layout
4246 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4249 \begin_layout Plain Layout
4257 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4260 \begin_layout Plain Layout
4268 <cell alignment="center" valignment="top" usebox="none">
4271 \begin_layout Plain Layout
4277 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4280 \begin_layout Plain Layout
4288 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4291 \begin_layout Plain Layout
4299 <cell alignment="center" valignment="top" usebox="none">
4302 \begin_layout Plain Layout
4308 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4311 \begin_layout Plain Layout
4319 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4322 \begin_layout Plain Layout
4330 <cell alignment="center" valignment="top" usebox="none">
4333 \begin_layout Plain Layout
4339 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4342 \begin_layout Plain Layout
4350 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4353 \begin_layout Plain Layout
4361 <cell alignment="center" valignment="top" usebox="none">
4364 \begin_layout Plain Layout
4370 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4373 \begin_layout Plain Layout
4381 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4384 \begin_layout Plain Layout
4392 <cell alignment="center" valignment="top" usebox="none">
4395 \begin_layout Plain Layout
4401 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4404 \begin_layout Plain Layout
4412 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4415 \begin_layout Plain Layout
4423 <cell alignment="center" valignment="top" usebox="none">
4426 \begin_layout Plain Layout
4432 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4435 \begin_layout Plain Layout
4443 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4446 \begin_layout Plain Layout
4454 <cell alignment="center" valignment="top" usebox="none">
4457 \begin_layout Plain Layout
4463 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4466 \begin_layout Plain Layout
4474 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4477 \begin_layout Plain Layout
4485 <cell alignment="center" valignment="top" usebox="none">
4488 \begin_layout Plain Layout
4494 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4497 \begin_layout Plain Layout
4505 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4508 \begin_layout Plain Layout
4516 <cell alignment="center" valignment="top" usebox="none">
4519 \begin_layout Plain Layout
4525 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4528 \begin_layout Plain Layout
4536 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4539 \begin_layout Plain Layout
4547 <cell alignment="center" valignment="top" usebox="none">
4550 \begin_layout Plain Layout
4556 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4559 \begin_layout Plain Layout
4567 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4570 \begin_layout Plain Layout
4578 <cell alignment="center" valignment="top" usebox="none">
4581 \begin_layout Plain Layout
4587 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4590 \begin_layout Plain Layout
4598 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4601 \begin_layout Plain Layout
4609 <cell alignment="center" valignment="top" usebox="none">
4612 \begin_layout Plain Layout
4618 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4621 \begin_layout Plain Layout
4629 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4632 \begin_layout Plain Layout
4640 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4643 \begin_layout Plain Layout
4649 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4652 \begin_layout Plain Layout
4659 <row endlastfoot="true">
4660 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4663 \begin_layout Plain Layout
4669 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4672 \begin_layout Plain Layout
4678 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4681 \begin_layout Plain Layout
4696 \begin_layout Plain Layout
4700 addtocounter{table}{-1}
4706 \begin_inset Note Note
4709 \begin_layout Plain Layout
4711 \begin_inset CommandInset ref
4713 reference "sub:長尺表のキャプション"
4725 \begin_layout Subsection
4727 \begin_inset CommandInset label
4737 \begin_layout Plain Layout
4738 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
4746 \begin_layout Standard
4747 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
4748 \begin_inset CommandInset ref
4750 reference "tab:別キャプション"
4757 \begin_layout Subsection
4762 \begin_layout Plain Layout
4763 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
4771 \begin_layout Standard
4772 長尺表は、既定値では中央揃えになっています。行や列の揃えとは異なり、表の揃えは、いまのところ表ダイアログで変更することができません。長尺表の揃えを変更するには、
4775 \begin_layout Standard
4785 \begin_layout Standard
4786 という行を当該長尺表の前にTeXコードとして挿入して、長さ
4798 の値を変更しなくてはなりません。ここで「値」は、第
4799 \begin_inset CommandInset ref
4805 表に挙げてある単位であれば、どの単位を取ることもできます。
4811 は、左頁余白から長尺表までの水平方向の距離を制御し、
4817 は、右頁余白からの距離を制御します。これらの長さの既定値は
4823 となっており、LyXの水平フィルと同等になっています。
4826 \begin_layout Standard
4834 \begin_inset space \thinspace{}
4841 \begin_layout Plain Layout
4855 \begin_layout Standard
4856 \begin_inset Tabular
4857 <lyxtabular version="3" rows="5" columns="5">
4858 <features islongtable="true">
4859 <column alignment="center" valignment="top" width="0">
4860 <column alignment="center" valignment="top" width="0">
4861 <column alignment="center" valignment="top" width="0">
4862 <column alignment="center" valignment="top" width="0">
4863 <column alignment="center" valignment="top" width="0">
4865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4868 \begin_layout Plain Layout
4874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4877 \begin_layout Plain Layout
4883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4886 \begin_layout Plain Layout
4892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4895 \begin_layout Plain Layout
4901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4904 \begin_layout Plain Layout
4912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4915 \begin_layout Plain Layout
4921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4924 \begin_layout Plain Layout
4930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4933 \begin_layout Plain Layout
4939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4942 \begin_layout Plain Layout
4948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4951 \begin_layout Plain Layout
4959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4962 \begin_layout Plain Layout
4968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4971 \begin_layout Plain Layout
4977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4980 \begin_layout Plain Layout
4986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4989 \begin_layout Plain Layout
4995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4998 \begin_layout Plain Layout
5006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5009 \begin_layout Plain Layout
5015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5018 \begin_layout Plain Layout
5024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5027 \begin_layout Plain Layout
5033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5036 \begin_layout Plain Layout
5042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5045 \begin_layout Plain Layout
5053 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5056 \begin_layout Plain Layout
5062 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5065 \begin_layout Plain Layout
5071 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5074 \begin_layout Plain Layout
5080 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5083 \begin_layout Plain Layout
5089 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5092 \begin_layout Plain Layout
5107 \begin_layout Plain Layout
5124 \begin_layout Plain Layout
5128 addtocounter{table}{-1}
5134 \begin_inset Note Note
5137 \begin_layout Plain Layout
5139 \begin_inset CommandInset ref
5141 reference "sub:長尺表のキャプション"
5153 \begin_layout Subsection
5158 \begin_layout Plain Layout
5159 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5165 \begin_inset CommandInset label
5167 name "sub:長尺表のキャプション"
5174 \begin_layout Standard
5175 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5176 \begin_inset CommandInset ref
5182 節に述べられているように、ある行で長尺表オプションの
5186 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5189 \begin_layout Standard
5190 以下は、動作を確認するための短い長尺表です。
5193 \begin_layout Standard
5194 \begin_inset Tabular
5195 <lyxtabular version="3" rows="6" columns="5">
5196 <features islongtable="true">
5197 <column alignment="center" valignment="top" width="0">
5198 <column alignment="center" valignment="top" width="0">
5199 <column alignment="center" valignment="top" width="0">
5200 <column alignment="center" valignment="top" width="0">
5201 <column alignment="center" valignment="top" width="0">
5202 <row caption="true">
5203 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5206 \begin_layout Plain Layout
5207 \begin_inset Caption
5209 \begin_layout Plain Layout
5214 \begin_layout Plain Layout
5230 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5233 \begin_layout Plain Layout
5239 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5242 \begin_layout Plain Layout
5248 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5251 \begin_layout Plain Layout
5257 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5260 \begin_layout Plain Layout
5268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5271 \begin_layout Plain Layout
5277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5280 \begin_layout Plain Layout
5286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5289 \begin_layout Plain Layout
5295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5298 \begin_layout Plain Layout
5304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5307 \begin_layout Plain Layout
5315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5318 \begin_layout Plain Layout
5324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5327 \begin_layout Plain Layout
5333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5336 \begin_layout Plain Layout
5342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5345 \begin_layout Plain Layout
5351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5354 \begin_layout Plain Layout
5362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5365 \begin_layout Plain Layout
5371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5374 \begin_layout Plain Layout
5380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5383 \begin_layout Plain Layout
5389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5392 \begin_layout Plain Layout
5398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5401 \begin_layout Plain Layout
5409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5412 \begin_layout Plain Layout
5418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5421 \begin_layout Plain Layout
5427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5430 \begin_layout Plain Layout
5436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5439 \begin_layout Plain Layout
5445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5448 \begin_layout Plain Layout
5456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5459 \begin_layout Plain Layout
5465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5468 \begin_layout Plain Layout
5474 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5477 \begin_layout Plain Layout
5483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5486 \begin_layout Plain Layout
5492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5495 \begin_layout Plain Layout
5509 \begin_layout Standard
5510 \begin_inset VSpace medskip
5514 \begin_inset Note Greyedout
5517 \begin_layout Plain Layout
5522 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5523 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5526 \begin_layout Plain Layout
5531 addtocounter{table}{-1}
5534 \begin_layout Plain Layout
5535 というコマンドを挿入する方法があります。
5538 \begin_layout Plain Layout
5539 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5542 \begin_layout Plain Layout
5552 \begin_inset Newline newline
5563 addtocounter{table}{-1}}
5571 \begin_layout Standard
5572 \begin_inset Note Greyedout
5575 \begin_layout Plain Layout
5596 \begin_layout Plain Layout
5597 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5602 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5610 \begin_layout Subsubsection
5615 \begin_layout Plain Layout
5616 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5624 \begin_layout Standard
5625 \begin_inset Tabular
5626 <lyxtabular version="3" rows="6" columns="5">
5627 <features islongtable="true">
5628 <column alignment="center" valignment="top" width="0">
5629 <column alignment="center" valignment="top" width="0">
5630 <column alignment="center" valignment="top" width="0">
5631 <column alignment="center" valignment="top" width="0">
5632 <column alignment="center" valignment="top" width="0">
5633 <row caption="true">
5634 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5637 \begin_layout Plain Layout
5638 \begin_inset Caption
5640 \begin_layout Plain Layout
5642 \begin_inset CommandInset label
5658 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5661 \begin_layout Plain Layout
5667 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5670 \begin_layout Plain Layout
5676 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5679 \begin_layout Plain Layout
5685 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5688 \begin_layout Plain Layout
5696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5699 \begin_layout Plain Layout
5705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5708 \begin_layout Plain Layout
5714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5717 \begin_layout Plain Layout
5723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5726 \begin_layout Plain Layout
5732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5735 \begin_layout Plain Layout
5743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5746 \begin_layout Plain Layout
5752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5755 \begin_layout Plain Layout
5761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5764 \begin_layout Plain Layout
5770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5773 \begin_layout Plain Layout
5779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5782 \begin_layout Plain Layout
5790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5793 \begin_layout Plain Layout
5799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5802 \begin_layout Plain Layout
5808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5811 \begin_layout Plain Layout
5817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5820 \begin_layout Plain Layout
5826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5829 \begin_layout Plain Layout
5837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5840 \begin_layout Plain Layout
5846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5849 \begin_layout Plain Layout
5855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5858 \begin_layout Plain Layout
5864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5867 \begin_layout Plain Layout
5873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5876 \begin_layout Plain Layout
5884 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5887 \begin_layout Plain Layout
5893 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5896 \begin_layout Plain Layout
5902 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5905 \begin_layout Plain Layout
5911 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5914 \begin_layout Plain Layout
5920 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5923 \begin_layout Plain Layout
5937 \begin_layout Standard
5938 長尺表を参照するには、キャプションにラベルを挿入してください。
5941 \begin_layout Standard
5943 \begin_inset CommandInset ref
5952 \begin_layout Standard
5953 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
5961 \begin_layout Plain Layout
5962 LaTeXぱっけーじ@LaTeXパッケージ ! caption
5968 \begin_inset CommandInset ref
5970 reference "sec:キャプションの書式設定"
5977 \begin_layout Subsubsection
5982 \begin_layout Plain Layout
5983 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
5991 \begin_layout Standard
5998 によって指定することができます。既定値は4
5999 \begin_inset space \thinspace{}
6002 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6005 \begin_layout Standard
6015 \begin_layout Standard
6016 というコマンドを書き加えて下さい。ここで「幅」には、付録
6017 \begin_inset CommandInset ref
6019 reference "cha:LyXで使用できる単位"
6023 に挙げられている単位を取ることができます。
6026 \begin_layout Standard
6030 \begin_layout Standard
6031 \begin_inset Tabular
6032 <lyxtabular version="3" rows="6" columns="5">
6033 <features islongtable="true">
6034 <column alignment="center" valignment="top" width="0">
6035 <column alignment="center" valignment="top" width="0">
6036 <column alignment="center" valignment="top" width="0">
6037 <column alignment="center" valignment="top" width="0">
6038 <column alignment="center" valignment="top" width="0">
6039 <row caption="true">
6040 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6043 \begin_layout Plain Layout
6044 \begin_inset Caption
6046 \begin_layout Plain Layout
6047 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6051 \begin_layout Plain Layout
6067 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6070 \begin_layout Plain Layout
6076 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6079 \begin_layout Plain Layout
6085 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6088 \begin_layout Plain Layout
6094 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6097 \begin_layout Plain Layout
6105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6108 \begin_layout Plain Layout
6114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6117 \begin_layout Plain Layout
6123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6126 \begin_layout Plain Layout
6132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6135 \begin_layout Plain Layout
6141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6144 \begin_layout Plain Layout
6152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6155 \begin_layout Plain Layout
6161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6164 \begin_layout Plain Layout
6170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6173 \begin_layout Plain Layout
6179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6182 \begin_layout Plain Layout
6188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6191 \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" usebox="none">
6229 \begin_layout Plain Layout
6235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6238 \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" usebox="none">
6276 \begin_layout Plain Layout
6282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6285 \begin_layout Plain Layout
6293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6296 \begin_layout Plain Layout
6302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6305 \begin_layout Plain Layout
6311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6314 \begin_layout Plain Layout
6320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6323 \begin_layout Plain Layout
6329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6332 \begin_layout Plain Layout
6346 \begin_layout Standard
6350 \begin_layout Plain Layout
6362 \begin_inset Tabular
6363 <lyxtabular version="3" rows="6" columns="5">
6364 <features islongtable="true">
6365 <column alignment="center" valignment="top" width="0">
6366 <column alignment="center" valignment="top" width="0">
6367 <column alignment="center" valignment="top" width="0">
6368 <column alignment="center" valignment="top" width="0">
6369 <column alignment="center" valignment="top" width="0">
6370 <row caption="true">
6371 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6374 \begin_layout Plain Layout
6375 \begin_inset Caption
6377 \begin_layout Plain Layout
6379 \begin_inset space \thinspace{}
6383 \begin_inset space \thinspace{}
6387 \begin_inset space \thinspace{}
6394 \begin_layout Plain Layout
6396 \begin_inset space \thinspace{}
6414 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6417 \begin_layout Plain Layout
6423 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6426 \begin_layout Plain Layout
6432 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6435 \begin_layout Plain Layout
6441 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6444 \begin_layout Plain Layout
6452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6455 \begin_layout Plain Layout
6461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6464 \begin_layout Plain Layout
6470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6473 \begin_layout Plain Layout
6479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6482 \begin_layout Plain Layout
6488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6491 \begin_layout Plain Layout
6499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6502 \begin_layout Plain Layout
6508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6511 \begin_layout Plain Layout
6517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6520 \begin_layout Plain Layout
6526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6529 \begin_layout Plain Layout
6535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6538 \begin_layout Plain Layout
6546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6549 \begin_layout Plain Layout
6555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6558 \begin_layout Plain Layout
6564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6567 \begin_layout Plain Layout
6573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6576 \begin_layout Plain Layout
6582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6585 \begin_layout Plain Layout
6593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6596 \begin_layout Plain Layout
6602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6605 \begin_layout Plain Layout
6611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6614 \begin_layout Plain Layout
6620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6623 \begin_layout Plain Layout
6629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6632 \begin_layout Plain Layout
6640 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6643 \begin_layout Plain Layout
6649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6652 \begin_layout Plain Layout
6658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6661 \begin_layout Plain Layout
6667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6670 \begin_layout Plain Layout
6676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6679 \begin_layout Plain Layout
6693 \begin_layout Standard
6697 \begin_layout Plain Layout
6711 \begin_layout Standard
6712 \begin_inset Note Greyedout
6715 \begin_layout Plain Layout
6728 \begin_layout Plain Layout
6729 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6741 \begin_inset space \thinspace{}
6744 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
6745 \begin_inset space \thinspace{}
6748 in幅のキャプションを作るには、3.99
6749 \begin_inset space \thinspace{}
6753 \begin_inset space \thinspace{}
6764 captionsetup{width=値}
6766 というLaTeXコマンドを用いる方法があります。
6774 \begin_layout Subsubsection
6779 \begin_layout Plain Layout
6780 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
6788 \begin_layout Standard
6789 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
6792 \begin_layout Standard
6804 \begin_layout Standard
6805 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
6806 \begin_inset CommandInset ref
6808 reference "tab:別キャプション"
6812 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
6815 \begin_layout Standard
6817 \begin_inset Tabular
6818 <lyxtabular version="3" rows="59" columns="3">
6819 <features islongtable="true" lastFootEmpty="true">
6820 <column alignment="left" valignment="top" width="0cm">
6821 <column alignment="left" valignment="top" width="0pt">
6822 <column alignment="center" valignment="top" width="0pt">
6823 <row caption="true">
6824 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
6827 \begin_layout Plain Layout
6828 \begin_inset Caption
6830 \begin_layout Plain Layout
6832 \begin_inset CommandInset label
6842 \begin_layout Plain Layout
6858 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6861 \begin_layout Plain Layout
6867 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6870 \begin_layout Plain Layout
6877 <row endfirsthead="true">
6878 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6881 \begin_layout Plain Layout
6889 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
6892 \begin_layout Plain Layout
6898 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
6901 \begin_layout Plain Layout
6908 <row endfirsthead="true">
6909 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6912 \begin_layout Plain Layout
6920 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6923 \begin_layout Plain Layout
6929 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6932 \begin_layout Plain Layout
6941 <row endhead="true">
6942 <cell alignment="left" valignment="top" leftline="true" usebox="none">
6945 \begin_layout Plain Layout
6949 \begin_layout Plain Layout
6967 <cell alignment="center" valignment="top" leftline="true" usebox="none">
6970 \begin_layout Plain Layout
6976 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6979 \begin_layout Plain Layout
6986 <row endhead="true">
6987 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6990 \begin_layout Plain Layout
6998 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7001 \begin_layout Plain Layout
7007 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7010 \begin_layout Plain Layout
7017 <row endhead="true">
7018 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7021 \begin_layout Plain Layout
7029 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7032 \begin_layout Plain Layout
7038 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7041 \begin_layout Plain Layout
7050 <row endfoot="true">
7051 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7054 \begin_layout Plain Layout
7060 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7063 \begin_layout Plain Layout
7069 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7072 \begin_layout Plain Layout
7080 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7083 \begin_layout Plain Layout
7091 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7094 \begin_layout Plain Layout
7100 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7103 \begin_layout Plain Layout
7111 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7114 \begin_layout Plain Layout
7122 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7125 \begin_layout Plain Layout
7131 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7134 \begin_layout Plain Layout
7142 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7145 \begin_layout Plain Layout
7153 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7156 \begin_layout Plain Layout
7162 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7165 \begin_layout Plain Layout
7173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7176 \begin_layout Plain Layout
7184 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7187 \begin_layout Plain Layout
7193 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7196 \begin_layout Plain Layout
7204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7207 \begin_layout Plain Layout
7215 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7218 \begin_layout Plain Layout
7224 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7227 \begin_layout Plain Layout
7235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7238 \begin_layout Plain Layout
7246 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7249 \begin_layout Plain Layout
7255 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7258 \begin_layout Plain Layout
7266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7269 \begin_layout Plain Layout
7277 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7280 \begin_layout Plain Layout
7286 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7289 \begin_layout Plain Layout
7297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7300 \begin_layout Plain Layout
7308 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7311 \begin_layout Plain Layout
7317 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7320 \begin_layout Plain Layout
7328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7331 \begin_layout Plain Layout
7339 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7342 \begin_layout Plain Layout
7348 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7351 \begin_layout Plain Layout
7359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7362 \begin_layout Plain Layout
7370 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7373 \begin_layout Plain Layout
7379 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7382 \begin_layout Plain Layout
7390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7393 \begin_layout Plain Layout
7401 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7404 \begin_layout Plain Layout
7410 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7413 \begin_layout Plain Layout
7421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7424 \begin_layout Plain Layout
7432 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7435 \begin_layout Plain Layout
7441 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7444 \begin_layout Plain Layout
7452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7455 \begin_layout Plain Layout
7463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7466 \begin_layout Plain Layout
7472 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7475 \begin_layout Plain Layout
7483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7486 \begin_layout Plain Layout
7494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7497 \begin_layout Plain Layout
7503 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7506 \begin_layout Plain Layout
7514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7517 \begin_layout Plain Layout
7526 \begin_layout Plain Layout
7537 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7540 \begin_layout Plain Layout
7546 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7549 \begin_layout Plain Layout
7557 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7560 \begin_layout Plain Layout
7568 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7571 \begin_layout Plain Layout
7577 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7580 \begin_layout Plain Layout
7588 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7591 \begin_layout Plain Layout
7599 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7602 \begin_layout Plain Layout
7608 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7611 \begin_layout Plain Layout
7619 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7622 \begin_layout Plain Layout
7630 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7633 \begin_layout Plain Layout
7639 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7642 \begin_layout Plain Layout
7650 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7653 \begin_layout Plain Layout
7661 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7664 \begin_layout Plain Layout
7670 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7673 \begin_layout Plain Layout
7681 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7684 \begin_layout Plain Layout
7692 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7695 \begin_layout Plain Layout
7701 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7704 \begin_layout Plain Layout
7712 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7715 \begin_layout Plain Layout
7723 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7726 \begin_layout Plain Layout
7732 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7735 \begin_layout Plain Layout
7743 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7746 \begin_layout Plain Layout
7754 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7757 \begin_layout Plain Layout
7763 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7766 \begin_layout Plain Layout
7774 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7777 \begin_layout Plain Layout
7785 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7788 \begin_layout Plain Layout
7794 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7797 \begin_layout Plain Layout
7805 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7808 \begin_layout Plain Layout
7816 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7819 \begin_layout Plain Layout
7825 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7828 \begin_layout Plain Layout
7836 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7839 \begin_layout Plain Layout
7847 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7850 \begin_layout Plain Layout
7856 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7859 \begin_layout Plain Layout
7867 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7870 \begin_layout Plain Layout
7878 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7881 \begin_layout Plain Layout
7887 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7890 \begin_layout Plain Layout
7898 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7901 \begin_layout Plain Layout
7909 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7912 \begin_layout Plain Layout
7918 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7921 \begin_layout Plain Layout
7929 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7932 \begin_layout Plain Layout
7940 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7943 \begin_layout Plain Layout
7949 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7952 \begin_layout Plain Layout
7960 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7963 \begin_layout Plain Layout
7971 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7974 \begin_layout Plain Layout
7980 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7983 \begin_layout Plain Layout
7991 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7994 \begin_layout Plain Layout
8002 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8005 \begin_layout Plain Layout
8011 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8014 \begin_layout Plain Layout
8022 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8025 \begin_layout Plain Layout
8033 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8036 \begin_layout Plain Layout
8042 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8045 \begin_layout Plain Layout
8053 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8056 \begin_layout Plain Layout
8062 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8065 \begin_layout Plain Layout
8071 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8074 \begin_layout Plain Layout
8082 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8085 \begin_layout Plain Layout
8093 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8096 \begin_layout Plain Layout
8102 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8105 \begin_layout Plain Layout
8113 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8116 \begin_layout Plain Layout
8124 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8127 \begin_layout Plain Layout
8133 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8136 \begin_layout Plain Layout
8144 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8147 \begin_layout Plain Layout
8155 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8158 \begin_layout Plain Layout
8164 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8167 \begin_layout Plain Layout
8175 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8178 \begin_layout Plain Layout
8186 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8189 \begin_layout Plain Layout
8195 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8198 \begin_layout Plain Layout
8206 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8209 \begin_layout Plain Layout
8217 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8220 \begin_layout Plain Layout
8226 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8229 \begin_layout Plain Layout
8237 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8240 \begin_layout Plain Layout
8248 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8251 \begin_layout Plain Layout
8257 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8260 \begin_layout Plain Layout
8268 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8271 \begin_layout Plain Layout
8279 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8282 \begin_layout Plain Layout
8288 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8291 \begin_layout Plain Layout
8299 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8302 \begin_layout Plain Layout
8310 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8313 \begin_layout Plain Layout
8319 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8322 \begin_layout Plain Layout
8330 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8333 \begin_layout Plain Layout
8341 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8344 \begin_layout Plain Layout
8350 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8353 \begin_layout Plain Layout
8361 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8364 \begin_layout Plain Layout
8372 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8375 \begin_layout Plain Layout
8381 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8384 \begin_layout Plain Layout
8392 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8395 \begin_layout Plain Layout
8403 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8406 \begin_layout Plain Layout
8412 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8415 \begin_layout Plain Layout
8423 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8426 \begin_layout Plain Layout
8434 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8437 \begin_layout Plain Layout
8443 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8446 \begin_layout Plain Layout
8454 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8457 \begin_layout Plain Layout
8465 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8468 \begin_layout Plain Layout
8474 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8477 \begin_layout Plain Layout
8485 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8488 \begin_layout Plain Layout
8496 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8499 \begin_layout Plain Layout
8505 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8508 \begin_layout Plain Layout
8516 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8519 \begin_layout Plain Layout
8527 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8530 \begin_layout Plain Layout
8536 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8539 \begin_layout Plain Layout
8547 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8550 \begin_layout Plain Layout
8558 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8561 \begin_layout Plain Layout
8567 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8570 \begin_layout Plain Layout
8578 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8581 \begin_layout Plain Layout
8589 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8592 \begin_layout Plain Layout
8598 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8601 \begin_layout Plain Layout
8609 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8612 \begin_layout Plain Layout
8620 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8623 \begin_layout Plain Layout
8629 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8632 \begin_layout Plain Layout
8640 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8643 \begin_layout Plain Layout
8651 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8654 \begin_layout Plain Layout
8660 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8663 \begin_layout Plain Layout
8671 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8674 \begin_layout Plain Layout
8682 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8685 \begin_layout Plain Layout
8691 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8694 \begin_layout Plain Layout
8708 \begin_layout Section
8710 \begin_inset CommandInset label
8712 name "sec:長尺表にまつわる諸点"
8719 \begin_layout Subsection
8724 \begin_layout Plain Layout
8725 ちょうしゃくひょう@長尺表 ! けいさん@計算
8733 \begin_layout Standard
8734 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
8735 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
8738 \begin_layout Standard
8743 setcounter{LTchunksize}{100}
8746 \begin_layout Standard
8747 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
8750 \begin_layout Subsection
8755 \begin_layout Plain Layout
8756 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
8764 \begin_layout Standard
8765 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
8771 コマンドを長尺表の前にTeXコードとして書き加えてください。
8774 \begin_layout Subsection
8779 \begin_layout Plain Layout
8780 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
8788 \begin_layout Standard
8789 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
8806 コマンドの前には、現セルよりも右にある列数と同じ数の「
8810 」文字を、TeXコードで挿入してやる必要があります。この
8818 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
8819 \begin_inset Newline newline
8830 コマンドの後ろには、現在列の左側にある列数と同じ数の
8835 \begin_inset CommandInset ref
8837 reference "tab:強制改頁"
8841 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
8844 \begin_layout Standard
8854 \begin_inset Newline newline
8860 \begin_layout Standard
8865 」の後にTeXコードとして挿入してあります。
8868 \begin_layout Standard
8869 同一行3列目の「111」は削除してあります。
8875 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
8876 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
8879 \begin_layout Standard
8887 \begin_inset Newline newline
8895 \begin_layout Standard
8899 \begin_layout Standard
8900 改頁をしたいセルが最右列にある場合には、
8903 \begin_layout Standard
8913 \begin_layout Standard
8914 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
8918 \begin_layout Standard
8920 \begin_inset Tabular
8921 <lyxtabular version="3" rows="38" columns="3">
8922 <features islongtable="true" lastFootEmpty="true">
8923 <column alignment="left" valignment="top" width="0cm">
8924 <column alignment="left" valignment="top" width="3cm">
8925 <column alignment="center" valignment="top" width="0pt">
8926 <row caption="true">
8927 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8930 \begin_layout Plain Layout
8931 \begin_inset Caption
8933 \begin_layout Plain Layout
8935 \begin_inset CommandInset label
8945 \begin_layout Plain Layout
8961 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8964 \begin_layout Plain Layout
8970 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8973 \begin_layout Plain Layout
8980 <row endfirsthead="true">
8981 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8984 \begin_layout Plain Layout
8992 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8995 \begin_layout Plain Layout
9001 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9004 \begin_layout Plain Layout
9011 <row endfirsthead="true">
9012 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9015 \begin_layout Plain Layout
9023 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9026 \begin_layout Plain Layout
9032 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9035 \begin_layout Plain Layout
9044 <row endhead="true">
9045 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9048 \begin_layout Plain Layout
9052 \begin_layout Plain Layout
9070 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9073 \begin_layout Plain Layout
9079 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9082 \begin_layout Plain Layout
9089 <row endhead="true">
9090 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9093 \begin_layout Plain Layout
9099 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9102 \begin_layout Plain Layout
9108 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9111 \begin_layout Plain Layout
9118 <row endhead="true">
9119 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9122 \begin_layout Plain Layout
9130 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9133 \begin_layout Plain Layout
9139 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9142 \begin_layout Plain Layout
9151 <row endfoot="true">
9152 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9155 \begin_layout Plain Layout
9161 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9164 \begin_layout Plain Layout
9170 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9173 \begin_layout Plain Layout
9181 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9184 \begin_layout Plain Layout
9192 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9195 \begin_layout Plain Layout
9201 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9204 \begin_layout Plain Layout
9212 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9215 \begin_layout Plain Layout
9223 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9226 \begin_layout Plain Layout
9232 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9235 \begin_layout Plain Layout
9243 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9246 \begin_layout Plain Layout
9254 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9257 \begin_layout Plain Layout
9263 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9266 \begin_layout Plain Layout
9274 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9277 \begin_layout Plain Layout
9285 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9288 \begin_layout Plain Layout
9294 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9297 \begin_layout Plain Layout
9305 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9308 \begin_layout Plain Layout
9316 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9319 \begin_layout Plain Layout
9325 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9328 \begin_layout Plain Layout
9336 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9339 \begin_layout Plain Layout
9347 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9350 \begin_layout Plain Layout
9356 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9359 \begin_layout Plain Layout
9367 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9370 \begin_layout Plain Layout
9378 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9381 \begin_layout Plain Layout
9387 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9390 \begin_layout Plain Layout
9398 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9401 \begin_layout Plain Layout
9409 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9412 \begin_layout Plain Layout
9418 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9421 \begin_layout Plain Layout
9429 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9432 \begin_layout Plain Layout
9440 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9443 \begin_layout Plain Layout
9449 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9452 \begin_layout Plain Layout
9460 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9463 \begin_layout Plain Layout
9471 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9474 \begin_layout Plain Layout
9480 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9483 \begin_layout Plain Layout
9491 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9494 \begin_layout Plain Layout
9502 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9505 \begin_layout Plain Layout
9511 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9514 \begin_layout Plain Layout
9522 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9525 \begin_layout Plain Layout
9533 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9536 \begin_layout Plain Layout
9542 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9545 \begin_layout Plain Layout
9553 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9556 \begin_layout Plain Layout
9564 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9567 \begin_layout Plain Layout
9573 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9576 \begin_layout Plain Layout
9584 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9587 \begin_layout Plain Layout
9595 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9598 \begin_layout Plain Layout
9604 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9607 \begin_layout Plain Layout
9615 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9618 \begin_layout Plain Layout
9626 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9629 \begin_layout Plain Layout
9635 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9638 \begin_layout Plain Layout
9646 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9649 \begin_layout Plain Layout
9657 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9660 \begin_layout Plain Layout
9666 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9669 \begin_layout Plain Layout
9677 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9680 \begin_layout Plain Layout
9688 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9691 \begin_layout Plain Layout
9697 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9700 \begin_layout Plain Layout
9708 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9711 \begin_layout Plain Layout
9719 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9722 \begin_layout Plain Layout
9728 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9731 \begin_layout Plain Layout
9739 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9742 \begin_layout Plain Layout
9750 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9753 \begin_layout Plain Layout
9759 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9762 \begin_layout Plain Layout
9770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9773 \begin_layout Plain Layout
9781 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9784 \begin_layout Plain Layout
9790 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9793 \begin_layout Plain Layout
9801 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9804 \begin_layout Plain Layout
9812 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9815 \begin_layout Plain Layout
9821 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9824 \begin_layout Plain Layout
9832 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9835 \begin_layout Plain Layout
9843 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9846 \begin_layout Plain Layout
9852 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9855 \begin_layout Plain Layout
9863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9866 \begin_layout Plain Layout
9874 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9877 \begin_layout Plain Layout
9879 Fürst von Montecompatri, 11.
9880 Fürst von Sulmona und Vivaro, 10.
9881 Fürst von Rossano, 5.
9882 Herzog von Canemorte, 11.
9883 Herzog von Palombara, 5.
9884 Herzog von Castelchiodato,
9888 \begin_layout Plain Layout
9899 \begin_layout Plain Layout
9907 Herzog von Poggionativo, 11.
9908 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9909 Graf von Valinfreda, 11.
9910 Baron von Cropalati, 11.
9911 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9916 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9919 \begin_layout Plain Layout
9927 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9930 \begin_layout Plain Layout
9938 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9941 \begin_layout Plain Layout
9947 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9950 \begin_layout Plain Layout
9958 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9961 \begin_layout Plain Layout
9969 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9972 \begin_layout Plain Layout
9978 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9981 \begin_layout Plain Layout
9989 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9992 \begin_layout Plain Layout
10000 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10003 \begin_layout Plain Layout
10009 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10012 \begin_layout Plain Layout
10020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10023 \begin_layout Plain Layout
10031 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10034 \begin_layout Plain Layout
10040 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10043 \begin_layout Plain Layout
10051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10054 \begin_layout Plain Layout
10062 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10065 \begin_layout Plain Layout
10071 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10074 \begin_layout Plain Layout
10082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10085 \begin_layout Plain Layout
10093 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10096 \begin_layout Plain Layout
10102 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10105 \begin_layout Plain Layout
10113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10116 \begin_layout Plain Layout
10124 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10127 \begin_layout Plain Layout
10133 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10136 \begin_layout Plain Layout
10144 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10147 \begin_layout Plain Layout
10155 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10158 \begin_layout Plain Layout
10164 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10167 \begin_layout Plain Layout
10181 \begin_layout Section
10185 \begin_layout Subsection
10187 \begin_inset CommandInset label
10197 \begin_layout Plain Layout
10198 ひょうせるないのふくすうぎょう@表セル内の複数行
10207 \begin_layout Plain Layout
10216 \begin_layout Standard
10218 \begin_inset Float table
10224 \begin_layout Plain Layout
10225 \begin_inset Caption
10227 \begin_layout Plain Layout
10228 \begin_inset CommandInset label
10242 \begin_layout Plain Layout
10244 \begin_inset Tabular
10245 <lyxtabular version="3" rows="3" columns="3">
10247 <column alignment="center" valignment="middle" width="2.5cm">
10248 <column alignment="center" valignment="middle" width="0">
10249 <column alignment="center" valignment="middle" width="0">
10251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10254 \begin_layout Plain Layout
10256 \begin_inset Newline linebreak
10264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10267 \begin_layout Plain Layout
10273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10276 \begin_layout Plain Layout
10284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10287 \begin_layout Plain Layout
10293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10296 \begin_layout Plain Layout
10302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10305 \begin_layout Plain Layout
10313 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10316 \begin_layout Plain Layout
10322 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10325 \begin_layout Plain Layout
10331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10334 \begin_layout Plain Layout
10353 \begin_layout Standard
10354 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10357 \begin_layout Standard
10359 \begin_inset CommandInset ref
10361 reference "tab:複数行表"
10365 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10369 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10370 \begin_inset space \thinspace{}
10373 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10374 \begin_inset space \thinspace{}
10377 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10380 arg "newline-insert linebreak"
10383 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10386 \begin_layout Standard
10387 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10388 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10389 \begin_inset space \thinspace{}
10392 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10393 \begin_inset CommandInset ref
10395 reference "tab:ハイフネーション表"
10403 \begin_layout Plain Layout
10408 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10416 \begin_layout Standard
10417 \begin_inset Float table
10423 \begin_layout Plain Layout
10424 \begin_inset Caption
10426 \begin_layout Plain Layout
10427 \begin_inset CommandInset label
10429 name "tab:ハイフネーション表"
10441 \begin_layout Plain Layout
10442 \begin_inset space \hfill{}
10446 \begin_inset Tabular
10447 <lyxtabular version="3" rows="3" columns="3">
10449 <column alignment="center" valignment="middle" width="2.5cm">
10450 <column alignment="center" valignment="middle" width="0">
10451 <column alignment="center" valignment="middle" width="0">
10453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10456 \begin_layout Plain Layout
10457 verylongtablecellword
10462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10465 \begin_layout Plain Layout
10471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10474 \begin_layout Plain Layout
10482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10485 \begin_layout Plain Layout
10491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10494 \begin_layout Plain Layout
10500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10503 \begin_layout Plain Layout
10511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10514 \begin_layout Plain Layout
10520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10523 \begin_layout Plain Layout
10529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10532 \begin_layout Plain Layout
10544 \begin_inset space \hfill{}
10548 \begin_inset Tabular
10549 <lyxtabular version="3" rows="3" columns="3">
10551 <column alignment="center" valignment="middle" width="2.5cm">
10552 <column alignment="center" valignment="middle" width="0">
10553 <column alignment="center" valignment="middle" width="0">
10555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10558 \begin_layout Plain Layout
10559 \begin_inset space \hspace{}
10563 verylongtablecellword
10568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10571 \begin_layout Plain Layout
10577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10580 \begin_layout Plain Layout
10588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10591 \begin_layout Plain Layout
10597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10600 \begin_layout Plain Layout
10606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10609 \begin_layout Plain Layout
10617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10620 \begin_layout Plain Layout
10626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10629 \begin_layout Plain Layout
10635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10638 \begin_layout Plain Layout
10650 \begin_inset space \hfill{}
10661 \begin_layout Subsection
10663 \begin_inset CommandInset label
10673 \begin_layout Plain Layout
10683 \begin_layout Plain Layout
10692 \begin_layout Subsubsection
10696 \begin_layout Standard
10697 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
10698 \begin_inset Graphics
10699 filename ../../images/tabular-feature_multicolumn.png
10701 scaleBeforeRotation
10707 編集\SpecialChar \menuseparator
10708 表\SpecialChar \menuseparator
10711 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
10718 \begin_layout Standard
10719 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
10720 、最下行に上罫線のない連結行がある表の例です。
10723 \begin_layout Standard
10725 \begin_inset Tabular
10726 <lyxtabular version="3" rows="3" columns="4">
10727 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10728 <column alignment="center" valignment="top" width="0pt">
10729 <column alignment="center" valignment="middle" width="0">
10730 <column alignment="center" valignment="top" width="0in">
10731 <column alignment="center" valignment="top" width="0pt">
10733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10736 \begin_layout Plain Layout
10742 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10745 \begin_layout Plain Layout
10751 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10754 \begin_layout Plain Layout
10760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10763 \begin_layout Plain Layout
10771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10774 \begin_layout Plain Layout
10780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10783 \begin_layout Plain Layout
10789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10792 \begin_layout Plain Layout
10798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10801 \begin_layout Plain Layout
10809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10812 \begin_layout Plain Layout
10818 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10821 \begin_layout Plain Layout
10827 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10830 \begin_layout Plain Layout
10836 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10839 \begin_layout Plain Layout
10853 \begin_layout Subsubsection
10855 \begin_inset CommandInset label
10865 \begin_layout Plain Layout
10866 れんけつれつ@連結列 ! けいさん@計算
10874 \begin_layout Standard
10875 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
10878 \begin_layout Standard
10879 \begin_inset Float table
10885 \begin_layout Plain Layout
10886 \begin_inset Caption
10888 \begin_layout Plain Layout
10889 \begin_inset CommandInset label
10895 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
10896 \begin_inset OptArg
10899 \begin_layout Plain Layout
10913 \begin_layout Plain Layout
10915 \begin_inset Tabular
10916 <lyxtabular version="3" rows="3" columns="3">
10918 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
10919 <column alignment="center" valignment="middle" width="0">
10920 <column alignment="center" valignment="top" width="0">
10922 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
10925 \begin_layout Plain Layout
10931 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10934 \begin_layout Plain Layout
10940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10943 \begin_layout Plain Layout
10951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10954 \begin_layout Plain Layout
10960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10963 \begin_layout Plain Layout
10969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10972 \begin_layout Plain Layout
10980 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10983 \begin_layout Plain Layout
10989 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10992 \begin_layout Plain Layout
10998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11001 \begin_layout Plain Layout
11020 \begin_layout Standard
11022 \begin_inset CommandInset ref
11024 reference "tab:中央揃え表"
11028 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11032 を選択します。そして現れる表の設定ダイアログで、このセルを
11041 \begin_inset space \thinspace{}
11044 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11045 \begin_inset space \thinspace{}
11048 cm幅に設定します。すると第二列は自動的に1.25
11049 \begin_inset space \thinspace{}
11052 cm幅(連結列幅マイナス第一列の幅)になります。表
11053 \begin_inset CommandInset ref
11055 reference "tab:半分でない表"
11062 \begin_layout Standard
11063 \begin_inset Float table
11068 \begin_layout Plain Layout
11069 \begin_inset Caption
11071 \begin_layout Plain Layout
11072 \begin_inset CommandInset label
11078 連結セルの下の列が正確に半分になっていない表
11079 \begin_inset OptArg
11082 \begin_layout Plain Layout
11096 \begin_layout Plain Layout
11098 \begin_inset Tabular
11099 <lyxtabular version="3" rows="3" columns="3">
11101 <column alignment="center" valignment="top" width="1.25cm">
11102 <column alignment="center" valignment="top" width="0">
11103 <column alignment="center" valignment="top" width="0">
11105 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11108 \begin_layout Plain Layout
11114 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11117 \begin_layout Plain Layout
11123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11126 \begin_layout Plain Layout
11134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11137 \begin_layout Plain Layout
11143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11146 \begin_layout Plain Layout
11152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11155 \begin_layout Plain Layout
11163 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11166 \begin_layout Plain Layout
11172 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11175 \begin_layout Plain Layout
11181 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11184 \begin_layout Plain Layout
11203 \begin_layout Standard
11204 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11206 \begin_inset Formula $W_{\mbox{指}}$
11210 \begin_inset Formula $W_{\text{全}}$
11214 \begin_inset CommandInset ref
11216 reference "cha:式の説明"
11223 \begin_layout Standard
11229 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11233 \begin_inset Formula $W_{\mbox{指}:n}$
11237 \begin_inset Formula \begin{equation}
11238 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11245 \begin_layout Standard
11246 で計算することができます。上記の例では
11247 \begin_inset Formula $n=2$
11251 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11255 \begin_inset CommandInset ref
11262 \begin_inset Formula \begin{equation}
11263 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11270 \begin_layout Standard
11271 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11274 \begin_layout Standard
11282 \begin_layout Standard
11291 \begin_layout Plain Layout
11292 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11297 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11298 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11301 \begin_layout Itemize
11306 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11309 \begin_layout Itemize
11314 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11317 \begin_layout Itemize
11322 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11325 \begin_layout Standard
11326 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11329 \begin_layout Standard
11330 \begin_inset Note Greyedout
11333 \begin_layout Plain Layout
11338 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11346 \begin_layout Standard
11353 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11356 \begin_layout Standard
11361 centering}m{1.25cm-6.2pt}
11364 \begin_layout Standard
11369 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11372 \begin_layout Standard
11373 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11377 \begin_layout Standard
11385 \begin_layout Standard
11386 というLaTeX変数を指定しなくてはなりません。
11389 \begin_layout Subsection
11394 \begin_layout Plain Layout
11404 \begin_layout Plain Layout
11405 ひょう@表 ! れんけつぎょう@連結行
11413 \begin_layout Standard
11414 連結列とは対照的に、連結行はLyXではまだサポートされていないために、若干のTeXコードを使用する必要があります。連結行を利用するには、文書プリアンブルに
11417 \begin_layout Standard
11422 usepackage{multirow}
11425 \begin_layout Standard
11426 というコマンドを書いて、LaTeXパッケージの
11434 \begin_layout Plain Layout
11435 LaTeXぱっけーじ@LaTeXパッケージ ! multirow
11440 を読み込んでおく必要があります。連結列は
11443 \begin_layout Standard
11448 multirow{行数}{セル幅}{セルの内容}
11451 \begin_layout Standard
11452 というコマンドで生成することができます。以下の表を作成するには、
11455 \begin_layout Standard
11460 \begin_layout Plain Layout
11474 \begin_inset Tabular
11475 <lyxtabular version="3" rows="3" columns="3">
11477 <column alignment="center" valignment="top" width="0">
11478 <column alignment="center" valignment="top" width="0">
11479 <column alignment="center" valignment="top" width="0">
11481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11484 \begin_layout Plain Layout
11490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11493 \begin_layout Plain Layout
11499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11502 \begin_layout Plain Layout
11510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11513 \begin_layout Plain Layout
11517 \begin_layout Plain Layout
11521 multirow{2}{2.5cm}{
11530 \begin_layout Plain Layout
11542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11545 \begin_layout Plain Layout
11551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11554 \begin_layout Plain Layout
11562 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11565 \begin_layout Plain Layout
11571 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11574 \begin_layout Plain Layout
11580 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11583 \begin_layout Plain Layout
11598 \begin_layout Plain Layout
11614 \begin_layout Standard
11615 まず3×3表を作成して下さい。第一列の最下セル上の罫線を削除して下さい。そして、第二行第一列に
11618 \begin_layout Standard
11623 multirow{2}{2.5cm}{
11626 \begin_layout Standard
11627 というコマンドをTeXコードとして入れると、連結行を作成することができます。このコマンドのパラメータに指定されているように、連結行は2行を連結し、2.5
11628 \begin_inset space \thinspace{}
11631 cmの幅を持つようになります。連結行セルの内容は、TeXコードボックスの後に書き込み、その文章の後に別のTeXコードボックスで右括弧
11638 \begin_layout Standard
11645 は、既定値でその中身を左揃えにします。この既定値を上書きするには、文書プリアンブル中のTeXコードで
11648 \begin_layout Standard
11660 \begin_layout Standard
11667 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11668 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11689 \begin_layout Section
11691 \begin_inset CommandInset label
11693 name "sec:フォーマル形式の表"
11701 \begin_layout Plain Layout
11702 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
11710 \begin_layout Standard
11712 \begin_inset CommandInset ref
11714 reference "tab:ブックタブ表の例"
11718 のように組版されます。この種の表は、「
11722 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
11725 \begin_layout Standard
11726 \begin_inset Float table
11732 \begin_layout Plain Layout
11733 \begin_inset Caption
11735 \begin_layout Plain Layout
11736 \begin_inset CommandInset label
11738 name "tab:ブックタブ表の例"
11750 \begin_layout Plain Layout
11752 \begin_inset Tabular
11753 <lyxtabular version="3" rows="8" columns="4">
11754 <features booktabs="true">
11755 <column alignment="center" valignment="top" width="0">
11756 <column alignment="center" valignment="top" width="0">
11757 <column alignment="center" valignment="top" width="0">
11758 <column alignment="center" valignment="top" width="0">
11760 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
11763 \begin_layout Plain Layout
11769 <cell alignment="center" valignment="top" topline="true" usebox="none">
11772 \begin_layout Plain Layout
11774 \begin_inset space \thinspace{}
11782 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
11785 \begin_layout Plain Layout
11787 \begin_inset space \thinspace{}
11795 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11798 \begin_layout Plain Layout
11806 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11809 \begin_layout Plain Layout
11813 \begin_layout Plain Layout
11826 \begin_layout Plain Layout
11840 <cell alignment="center" valignment="top" usebox="none">
11843 \begin_layout Plain Layout
11849 <cell alignment="center" valignment="top" usebox="none">
11852 \begin_layout Plain Layout
11858 <cell alignment="center" valignment="top" usebox="none">
11861 \begin_layout Plain Layout
11869 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
11872 \begin_layout Plain Layout
11878 <cell alignment="center" valignment="top" topline="true" usebox="none">
11881 \begin_layout Plain Layout
11887 <cell alignment="center" valignment="top" topline="true" usebox="none">
11890 \begin_layout Plain Layout
11896 <cell alignment="center" valignment="top" topline="true" usebox="none">
11899 \begin_layout Plain Layout
11906 <row topspace="default">
11907 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11910 \begin_layout Plain Layout
11916 <cell alignment="center" valignment="top" usebox="none">
11919 \begin_layout Plain Layout
11925 <cell alignment="center" valignment="top" usebox="none">
11928 \begin_layout Plain Layout
11934 <cell alignment="center" valignment="top" usebox="none">
11937 \begin_layout Plain Layout
11944 <row topspace="default">
11945 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11948 \begin_layout Plain Layout
11949 \begin_inset Formula $f_{\mathrm{max}}$
11957 <cell alignment="center" valignment="top" usebox="none">
11960 \begin_layout Plain Layout
11966 <cell alignment="center" valignment="top" usebox="none">
11969 \begin_layout Plain Layout
11975 <cell alignment="center" valignment="top" usebox="none">
11978 \begin_layout Plain Layout
11985 <row topspace="default">
11986 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11989 \begin_layout Plain Layout
11993 \begin_layout Plain Layout
11997 cmidrule(l{10pt}){1-1}
12007 <cell alignment="center" valignment="top" usebox="none">
12010 \begin_layout Plain Layout
12016 <cell alignment="center" valignment="top" usebox="none">
12019 \begin_layout Plain Layout
12025 <cell alignment="center" valignment="top" usebox="none">
12028 \begin_layout Plain Layout
12036 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12039 \begin_layout Plain Layout
12045 <cell alignment="center" valignment="top" usebox="none">
12048 \begin_layout Plain Layout
12054 <cell alignment="center" valignment="top" usebox="none">
12057 \begin_layout Plain Layout
12063 <cell alignment="center" valignment="top" usebox="none">
12066 \begin_layout Plain Layout
12074 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12077 \begin_layout Plain Layout
12083 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12086 \begin_layout Plain Layout
12092 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12095 \begin_layout Plain Layout
12101 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12104 \begin_layout Plain Layout
12123 \begin_layout Standard
12125 \begin_inset CommandInset ref
12127 reference "sub:行の余白取り"
12131 節に述べられているように、表の設定ダイアログの
12138 \begin_layout Standard
12139 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
12140 \begin_inset Newline newline
12144 \begin_inset space \thinspace{}
12147 emですが、他の罫線の既定幅は0.05
12148 \begin_inset space \thinspace{}
12154 \begin_layout Standard
12155 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
12158 \begin_layout Standard
12168 \begin_inset Newline newline
12180 \begin_layout Standard
12185 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
12193 に置き換えて下さい。他の罫線の線幅を変更するには、
12201 に置き換えます。線幅を設定する上では、付録
12202 \begin_inset CommandInset ref
12204 reference "cha:LyXで使用できる単位"
12208 に挙げてあるすべての単位を使用することができます。
12211 \begin_layout Standard
12212 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
12218 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
12221 \begin_layout Standard
12226 cmidrule[幅](刈込){開始列-終了列}
12229 \begin_layout Standard
12236 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
12242 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
12246 \begin_layout Standard
12248 \begin_inset space \thinspace{}
12251 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
12260 の値を取り、刈込幅の指定は非必須です。たとえば、
12264 というパラメーターを使うと、罫線が左端から2
12265 \begin_inset space \thinspace{}
12268 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
12269 \begin_inset space \thinspace{}
12275 \begin_layout Standard
12276 \begin_inset VSpace bigskip
12280 \begin_inset CommandInset ref
12282 reference "tab:ブックタブ表の例"
12289 \begin_layout Standard
12299 \begin_layout Standard
12300 というコマンドを第二行の初めに使用し、
12303 \begin_layout Standard
12308 cmidrule(l{10pt}){1-1}
12311 \begin_layout Standard
12315 \begin_layout Standard
12316 \begin_inset VSpace bigskip
12322 \begin_layout Standard
12324 \begin_inset CommandInset ref
12326 reference "tab:特殊なブックタブ表"
12336 が欲しいことがあるかもしれません。これは、TeXコードで
12339 \begin_layout Standard
12347 \begin_layout Standard
12348 コマンドを使用することによって実現することができます。表
12349 \begin_inset CommandInset ref
12351 reference "tab:特殊なブックタブ表"
12358 \begin_layout Standard
12372 \begin_layout Standard
12373 というコマンドが使用されており、第六列には
12376 \begin_layout Standard
12388 \begin_layout Standard
12392 \begin_layout Standard
12393 \begin_inset VSpace bigskip
12399 \begin_layout Standard
12400 罫線の余白取りにどうしても満足が行かない場合には、
12403 \begin_layout Standard
12408 specialrule{幅}{上余白}{下余白}
12411 \begin_layout Standard
12412 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
12417 \begin_inset CommandInset citation
12427 \begin_layout Plain Layout
12428 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
12436 \begin_layout Standard
12437 \begin_inset Float table
12443 \begin_layout Plain Layout
12444 \begin_inset Caption
12446 \begin_layout Plain Layout
12447 \begin_inset CommandInset label
12449 name "tab:特殊なブックタブ表"
12461 \begin_layout Plain Layout
12463 \begin_inset Tabular
12464 <lyxtabular version="3" rows="8" columns="4">
12465 <features booktabs="true">
12466 <column alignment="center" valignment="top" width="0">
12467 <column alignment="center" valignment="top" width="0">
12468 <column alignment="center" valignment="top" width="0">
12469 <column alignment="center" valignment="top" width="0">
12471 <cell alignment="center" valignment="top" topline="true" usebox="none">
12474 \begin_layout Plain Layout
12480 <cell alignment="center" valignment="top" topline="true" usebox="none">
12483 \begin_layout Plain Layout
12485 \begin_inset space \thinspace{}
12493 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12496 \begin_layout Plain Layout
12498 \begin_inset space \thinspace{}
12506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12509 \begin_layout Plain Layout
12517 <cell alignment="center" valignment="top" usebox="none">
12520 \begin_layout Plain Layout
12524 \begin_layout Plain Layout
12537 \begin_layout Plain Layout
12550 \begin_layout Plain Layout
12563 \begin_layout Plain Layout
12577 <cell alignment="center" valignment="top" usebox="none">
12580 \begin_layout Plain Layout
12586 <cell alignment="center" valignment="top" usebox="none">
12589 \begin_layout Plain Layout
12595 <cell alignment="center" valignment="top" usebox="none">
12598 \begin_layout Plain Layout
12606 <cell alignment="center" valignment="top" topline="true" usebox="none">
12609 \begin_layout Plain Layout
12615 <cell alignment="center" valignment="top" topline="true" usebox="none">
12618 \begin_layout Plain Layout
12624 <cell alignment="center" valignment="top" topline="true" usebox="none">
12627 \begin_layout Plain Layout
12633 <cell alignment="center" valignment="top" topline="true" usebox="none">
12636 \begin_layout Plain Layout
12643 <row topspace="default">
12644 <cell alignment="center" valignment="top" usebox="none">
12647 \begin_layout Plain Layout
12653 <cell alignment="center" valignment="top" usebox="none">
12656 \begin_layout Plain Layout
12662 <cell alignment="center" valignment="top" usebox="none">
12665 \begin_layout Plain Layout
12671 <cell alignment="center" valignment="top" usebox="none">
12674 \begin_layout Plain Layout
12681 <row topspace="default">
12682 <cell alignment="center" valignment="top" usebox="none">
12685 \begin_layout Plain Layout
12686 \begin_inset Formula $f_{\mathrm{max}}$
12694 <cell alignment="center" valignment="top" usebox="none">
12697 \begin_layout Plain Layout
12703 <cell alignment="center" valignment="top" usebox="none">
12706 \begin_layout Plain Layout
12712 <cell alignment="center" valignment="top" usebox="none">
12715 \begin_layout Plain Layout
12723 <cell alignment="center" valignment="top" topline="true" usebox="none">
12726 \begin_layout Plain Layout
12730 \begin_layout Plain Layout
12743 \begin_layout Plain Layout
12757 <cell alignment="center" valignment="top" topline="true" usebox="none">
12760 \begin_layout Plain Layout
12766 <cell alignment="center" valignment="top" topline="true" usebox="none">
12769 \begin_layout Plain Layout
12775 <cell alignment="center" valignment="top" topline="true" usebox="none">
12778 \begin_layout Plain Layout
12786 <cell alignment="center" valignment="top" usebox="none">
12789 \begin_layout Plain Layout
12795 <cell alignment="center" valignment="top" usebox="none">
12798 \begin_layout Plain Layout
12804 <cell alignment="center" valignment="top" usebox="none">
12807 \begin_layout Plain Layout
12813 <cell alignment="center" valignment="top" usebox="none">
12816 \begin_layout Plain Layout
12824 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12827 \begin_layout Plain Layout
12833 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12836 \begin_layout Plain Layout
12842 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12845 \begin_layout Plain Layout
12851 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12854 \begin_layout Plain Layout
12873 \begin_layout Section
12878 \begin_layout Plain Layout
12887 \begin_layout Standard
12888 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
12889 \begin_inset CommandInset ref
12891 reference "sec:ボックスダイアログ"
12895 節に述べられているように、ボックスの垂直揃えを行います。
12898 \begin_layout Standard
12900 \begin_inset space \thinspace{}
12907 \begin_layout Plain Layout
12909 \begin_inset CommandInset ref
12911 reference "sec:ミニページ"
12923 \begin_layout Itemize
12925 \begin_inset Box Frameless
12934 height_special "totalheight"
12937 \begin_layout Plain Layout
12938 \begin_inset Tabular
12939 <lyxtabular version="3" rows="3" columns="3">
12941 <column alignment="center" valignment="top" width="0">
12942 <column alignment="center" valignment="top" width="0">
12943 <column alignment="center" valignment="top" width="0">
12945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12948 \begin_layout Plain Layout
12954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12957 \begin_layout Plain Layout
12963 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12966 \begin_layout Plain Layout
12974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12977 \begin_layout Plain Layout
12983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12986 \begin_layout Plain Layout
12992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12995 \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" usebox="none">
13015 \begin_layout Plain Layout
13021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13024 \begin_layout Plain Layout
13044 \begin_layout Plain Layout
13056 \begin_inset Box Frameless
13065 height_special "totalheight"
13068 \begin_layout Plain Layout
13069 \begin_inset Tabular
13070 <lyxtabular version="3" rows="3" columns="3">
13072 <column alignment="center" valignment="top" width="0">
13073 <column alignment="center" valignment="top" width="0">
13074 <column alignment="center" valignment="top" width="0">
13076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13079 \begin_layout Plain Layout
13085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13088 \begin_layout Plain Layout
13094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13097 \begin_layout Plain Layout
13105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13108 \begin_layout Plain Layout
13114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13117 \begin_layout Plain Layout
13123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13126 \begin_layout Plain Layout
13134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13137 \begin_layout Plain Layout
13143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13146 \begin_layout Plain Layout
13152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13155 \begin_layout Plain Layout
13175 \begin_layout Plain Layout
13185 \begin_layout Itemize
13187 \begin_inset Box Frameless
13196 height_special "totalheight"
13199 \begin_layout Plain Layout
13200 \begin_inset Tabular
13201 <lyxtabular version="3" rows="3" columns="3">
13203 <column alignment="center" valignment="top" width="0">
13204 <column alignment="center" valignment="top" width="0">
13205 <column alignment="center" valignment="top" width="0">
13207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13210 \begin_layout Plain Layout
13216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13219 \begin_layout Plain Layout
13225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13228 \begin_layout Plain Layout
13236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13239 \begin_layout Plain Layout
13245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13248 \begin_layout Plain Layout
13254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13257 \begin_layout Plain Layout
13265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13268 \begin_layout Plain Layout
13274 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13277 \begin_layout Plain Layout
13283 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13286 \begin_layout Plain Layout
13305 \begin_layout Itemize
13307 \begin_inset Box Frameless
13316 height_special "totalheight"
13319 \begin_layout Plain Layout
13320 \begin_inset Tabular
13321 <lyxtabular version="3" rows="3" columns="3">
13323 <column alignment="center" valignment="top" width="0">
13324 <column alignment="center" valignment="top" width="0">
13325 <column alignment="center" valignment="top" width="0">
13327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13330 \begin_layout Plain Layout
13336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13339 \begin_layout Plain Layout
13345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13348 \begin_layout Plain Layout
13356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13359 \begin_layout Plain Layout
13365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13368 \begin_layout Plain Layout
13374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13377 \begin_layout Plain Layout
13385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13388 \begin_layout Plain Layout
13394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13397 \begin_layout Plain Layout
13403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13406 \begin_layout Plain Layout
13426 \begin_layout Plain Layout
13438 \begin_inset Box Frameless
13447 height_special "totalheight"
13450 \begin_layout Plain Layout
13451 \begin_inset Tabular
13452 <lyxtabular version="3" rows="3" columns="3">
13454 <column alignment="center" valignment="top" width="0">
13455 <column alignment="center" valignment="top" width="0">
13456 <column alignment="center" valignment="top" width="0">
13458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13461 \begin_layout Plain Layout
13467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13470 \begin_layout Plain Layout
13476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13479 \begin_layout Plain Layout
13487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13490 \begin_layout Plain Layout
13496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13499 \begin_layout Plain Layout
13505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13508 \begin_layout Plain Layout
13516 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13519 \begin_layout Plain Layout
13525 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13528 \begin_layout Plain Layout
13534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13537 \begin_layout Plain Layout
13557 \begin_layout Plain Layout
13567 \begin_layout Standard
13568 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
13572 \begin_layout Plain Layout
13574 \begin_inset CommandInset ref
13576 reference "sub:垂直揃え"
13585 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
13588 \begin_layout Standard
13598 \begin_layout Standard
13599 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
13603 をTeXコードとして挿入してあります。最後の項目の第二表には、
13606 \begin_layout Standard
13616 \begin_layout Standard
13620 \begin_layout Standard
13621 \begin_inset Note Greyedout
13624 \begin_layout Plain Layout
13629 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
13635 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
13643 \begin_layout Section
13645 \begin_inset CommandInset label
13655 \begin_layout Plain Layout
13664 \begin_layout Subsection
13669 \begin_layout Plain Layout
13670 ひょうのいろ@表の色 ! せるぶ@セル部
13679 \begin_layout Plain Layout
13680 いろつき@色付き ! ひょうせるぶ@表セル部
13688 \begin_layout Standard
13689 \begin_inset Float table
13695 \begin_layout Plain Layout
13696 \begin_inset Caption
13698 \begin_layout Plain Layout
13699 \begin_inset CommandInset label
13701 name "tab:colortblなしの表"
13710 \begin_inset OptArg
13713 \begin_layout Plain Layout
13727 \begin_layout Plain Layout
13729 \begin_inset Tabular
13730 <lyxtabular version="3" rows="3" columns="3">
13732 <column alignment="center" valignment="top" width="0">
13733 <column alignment="center" valignment="top" width="0">
13734 <column alignment="center" valignment="top" width="0">
13736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13739 \begin_layout Plain Layout
13747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13750 \begin_layout Plain Layout
13758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13761 \begin_layout Plain Layout
13771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13774 \begin_layout Plain Layout
13782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13785 \begin_layout Plain Layout
13793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13796 \begin_layout Plain Layout
13806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13809 \begin_layout Plain Layout
13817 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13820 \begin_layout Plain Layout
13828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13831 \begin_layout Plain Layout
13852 \begin_layout Standard
13853 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
13855 編集\SpecialChar \menuseparator
13859 \begin_inset CommandInset ref
13861 reference "tab:colortblなしの表"
13865 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
13873 \begin_layout Plain Layout
13874 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
13882 \begin_layout Standard
13886 \begin_layout Plain Layout
13896 \begin_inset Note Note
13899 \begin_layout Plain Layout
13900 本節の以下の部分は、LaTeXパッケージ
13912 \begin_layout Standard
13913 色付きの表を作成するには、プリアンブルに
13916 \begin_layout Standard
13921 usepackage{colortbl}
13924 \begin_layout Standard
13929 を読み込まなくてはなりません。列の色は、
13936 \begin_layout Standard
13944 \begin_layout Standard
13945 というコマンドを書いて指定することができます。
13950 \begin_inset CommandInset ref
13952 reference "sub:連結列の計算"
13959 \begin_layout Standard
13960 以下の色彩名が事前に定義されています。
13963 \begin_layout Standard
13997 \begin_layout Standard
13998 \begin_inset VSpace medskip
14004 \begin_layout Standard
14008 \begin_layout Standard
14013 definecolor{色彩名}{色彩モデル}{色彩値}
14016 \begin_layout Standard
14017 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
14020 \begin_layout Labeling
14040 \begin_layout Labeling
14056 \begin_layout Labeling
14060 \begin_layout Standard
14061 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
14064 \begin_layout Standard
14068 \begin_layout Standard
14073 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14076 \begin_layout Standard
14084 \begin_layout Standard
14089 definecolor{lightgray}{gray}{0.8}
14092 \begin_layout Standard
14100 \begin_layout Standard
14101 \begin_inset VSpace medskip
14107 \begin_layout Standard
14111 \begin_layout Standard
14119 \begin_layout Standard
14120 というコマンドを使用して色付けすることができ、セルは
14123 \begin_layout Standard
14131 \begin_layout Standard
14132 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
14135 \begin_layout Standard
14136 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
14138 編集\SpecialChar \menuseparator
14141 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
14145 \begin_layout Standard
14146 \begin_inset Note Greyedout
14149 \begin_layout Plain Layout
14150 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
14158 \begin_layout Standard
14159 \begin_inset VSpace bigskip
14165 \begin_layout Standard
14167 \begin_inset CommandInset ref
14169 reference "tab:色付き表"
14173 を作成するには、以下のようにしてください。第一列の色は
14177 にしたいので、この列のLaTeX変数として
14180 \begin_layout Standard
14185 columncolor{darkgreen}
14190 \begin_layout Standard
14191 と書き込みます。第一列は青にしたいので、この列の最初のセルに
14194 \begin_layout Standard
14202 \begin_layout Standard
14203 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最下行の最後のセルは、
14206 \begin_layout Standard
14214 \begin_layout Standard
14215 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
14217 編集\SpecialChar \menuseparator
14220 メニューを使って、各文字に色付けをすることができます。
14223 \begin_layout Standard
14224 \begin_inset Float table
14230 \begin_layout Plain Layout
14231 \begin_inset Caption
14233 \begin_layout Plain Layout
14236 \begin_inset CommandInset label
14245 \begin_inset OptArg
14248 \begin_layout Plain Layout
14262 \begin_layout Plain Layout
14264 \begin_inset Tabular
14265 <lyxtabular version="3" rows="3" columns="3">
14267 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14268 <column alignment="center" valignment="top" width="0">
14269 <column alignment="center" valignment="top" width="0">
14271 <cell alignment="center" valignment="top" usebox="none">
14274 \begin_layout Plain Layout
14278 \begin_layout Plain Layout
14294 <cell alignment="center" valignment="top" usebox="none">
14297 \begin_layout Plain Layout
14305 <cell alignment="center" valignment="top" usebox="none">
14308 \begin_layout Plain Layout
14318 <cell alignment="center" valignment="top" usebox="none">
14321 \begin_layout Plain Layout
14329 <cell alignment="center" valignment="top" usebox="none">
14332 \begin_layout Plain Layout
14340 <cell alignment="center" valignment="top" usebox="none">
14343 \begin_layout Plain Layout
14353 <cell alignment="center" valignment="top" usebox="none">
14356 \begin_layout Plain Layout
14364 <cell alignment="center" valignment="top" usebox="none">
14367 \begin_layout Plain Layout
14375 <cell alignment="center" valignment="top" usebox="none">
14378 \begin_layout Plain Layout
14382 \begin_layout Plain Layout
14411 \begin_layout Standard
14415 \begin_layout Plain Layout
14425 \begin_inset Note Note
14428 \begin_layout Plain Layout
14433 が導入されていないときに表示されます。
14441 \begin_layout Standard
14449 \begin_layout Standard
14453 \begin_layout Plain Layout
14465 \begin_layout Subsection
14470 \begin_layout Plain Layout
14471 ひょうのいろ@表の色 ! けいせんぶ@罫線部
14480 \begin_layout Plain Layout
14481 いろつき@色付き ! ひょうけいせんぶ@表罫線部
14489 \begin_layout Standard
14491 \begin_inset CommandInset ref
14493 reference "sub:罫線幅"
14497 節に述べられているように、表中の全罫線の線幅は、長さ
14503 を使って調節することができます。本節の表では、すべて1.5
14504 \begin_inset space \thinspace{}
14511 \begin_layout Plain Layout
14517 arrayrulewidth}{1.5pt}
14525 \begin_layout Standard
14527 \begin_inset CommandInset ref
14529 reference "sub:自製書式"
14533 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
14536 \begin_layout Standard
14541 newcolumntype{W}{!{
14548 \begin_layout Standard
14550 \begin_inset CommandInset ref
14552 reference "tab:色付き縦罫線の表"
14567 \begin_layout Standard
14568 複数の色を用いたいときには、列書式をもっと定義してください。
14571 \begin_layout Standard
14572 \begin_inset Float table
14578 \begin_layout Plain Layout
14579 \begin_inset Caption
14581 \begin_layout Plain Layout
14582 \begin_inset CommandInset label
14584 name "tab:色付き縦罫線の表"
14596 \begin_layout Plain Layout
14598 \begin_inset Tabular
14599 <lyxtabular version="3" rows="3" columns="3">
14601 <column alignment="center" valignment="top" width="0" special="Wc">
14602 <column alignment="center" valignment="top" width="0" special="Wc">
14603 <column alignment="center" valignment="top" width="0" special="WcW">
14605 <cell alignment="center" valignment="top" topline="true" usebox="none">
14608 \begin_layout Plain Layout
14614 <cell alignment="center" valignment="top" topline="true" usebox="none">
14617 \begin_layout Plain Layout
14623 <cell alignment="center" valignment="top" topline="true" usebox="none">
14626 \begin_layout Plain Layout
14634 <cell alignment="center" valignment="top" topline="true" usebox="none">
14637 \begin_layout Plain Layout
14643 <cell alignment="center" valignment="top" topline="true" usebox="none">
14646 \begin_layout Plain Layout
14652 <cell alignment="center" valignment="top" topline="true" usebox="none">
14655 \begin_layout Plain Layout
14663 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14666 \begin_layout Plain Layout
14672 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14675 \begin_layout Plain Layout
14681 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14684 \begin_layout Plain Layout
14703 \begin_layout Standard
14704 \begin_inset VSpace bigskip
14708 \begin_inset CommandInset ref
14710 reference "tab:色付き横罫線の表"
14714 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
14717 \begin_layout Standard
14727 \begin_inset Newline newline
14735 \begin_inset Newline newline
14742 \begin_layout Plain Layout
14753 arrayrulecolor{red}
14757 arrayrulecolor{black}}
14760 \begin_layout Standard
14764 \begin_layout Standard
14768 \begin_layout Plain Layout
14779 \begin_layout Plain Layout
14788 \begin_layout Plain Layout
14792 arrayrulecolor{red}
14796 arrayrulecolor{black}}
14802 \begin_inset Float table
14808 \begin_layout Plain Layout
14809 \begin_inset Caption
14811 \begin_layout Plain Layout
14812 \begin_inset CommandInset label
14814 name "tab:色付き横罫線の表"
14826 \begin_layout Plain Layout
14828 \begin_inset Tabular
14829 <lyxtabular version="3" rows="3" columns="3">
14831 <column alignment="center" valignment="top" width="0">
14832 <column alignment="center" valignment="top" width="0">
14833 <column alignment="center" valignment="top" width="0">
14835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14838 \begin_layout Plain Layout
14844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14847 \begin_layout Plain Layout
14853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14856 \begin_layout Plain Layout
14864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14867 \begin_layout Plain Layout
14873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14876 \begin_layout Plain Layout
14882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14885 \begin_layout Plain Layout
14893 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14896 \begin_layout Plain Layout
14902 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14905 \begin_layout Plain Layout
14911 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14914 \begin_layout Plain Layout
14933 \begin_layout Standard
14937 \begin_layout Standard
14949 \begin_layout Standard
14950 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
14951 \begin_inset CommandInset ref
14953 reference "tab:色付き罫線の表"
14960 \begin_layout Standard
14961 \begin_inset Float table
14967 \begin_layout Plain Layout
14968 \begin_inset Caption
14970 \begin_layout Plain Layout
14971 \begin_inset CommandInset label
14985 \begin_layout Plain Layout
14987 \begin_inset Tabular
14988 <lyxtabular version="3" rows="3" columns="3">
14990 <column alignment="center" valignment="top" width="0" special="Wc">
14991 <column alignment="center" valignment="top" width="0" special="Wc">
14992 <column alignment="center" valignment="top" width="0" special="WcW">
14994 <cell alignment="center" valignment="top" topline="true" usebox="none">
14997 \begin_layout Plain Layout
15003 <cell alignment="center" valignment="top" topline="true" usebox="none">
15006 \begin_layout Plain Layout
15012 <cell alignment="center" valignment="top" topline="true" usebox="none">
15015 \begin_layout Plain Layout
15023 <cell alignment="center" valignment="top" topline="true" usebox="none">
15026 \begin_layout Plain Layout
15032 <cell alignment="center" valignment="top" topline="true" usebox="none">
15035 \begin_layout Plain Layout
15041 <cell alignment="center" valignment="top" topline="true" usebox="none">
15044 \begin_layout Plain Layout
15051 <row topspace="default">
15052 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15055 \begin_layout Plain Layout
15061 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15064 \begin_layout Plain Layout
15070 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15073 \begin_layout Plain Layout
15092 \begin_layout Standard
15096 \begin_layout Plain Layout
15112 \begin_layout Standard
15116 \begin_layout Plain Layout
15122 arrayrulewidth}{0.4pt}
15130 \begin_layout Section
15135 \begin_layout Plain Layout
15145 \begin_layout Plain Layout
15154 \begin_layout Subsection
15156 \begin_inset CommandInset label
15166 \begin_layout Plain Layout
15167 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
15175 \begin_layout Standard
15180 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
15183 \begin_layout Description
15184 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
15188 \begin_layout Plain Layout
15190 \begin_inset CommandInset ref
15192 reference "sec:フォーマル形式の表"
15202 \begin_inset space \thinspace{}
15205 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15206 \begin_inset VSpace medskip
15210 \begin_inset Newline newline
15214 \begin_inset space \hspace*{}
15219 \begin_inset space \hfill{}
15223 \begin_inset Tabular
15224 <lyxtabular version="3" rows="3" columns="1">
15226 <column alignment="center" valignment="top" width="0">
15228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15231 \begin_layout Plain Layout
15238 <row topspace="3mm">
15239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15242 \begin_layout Plain Layout
15244 \begin_inset space \thinspace{}
15254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15257 \begin_layout Plain Layout
15269 \begin_inset space \hfill{}
15273 \begin_inset space \hspace*{}
15278 \begin_inset VSpace medskip
15282 \begin_inset Newline newline
15285 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
15288 \begin_layout Description
15289 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15290 \begin_inset space \thinspace{}
15293 emの余白を挿入し、通常の表ならば既定値として2
15294 \begin_inset space \thinspace{}
15300 \begin_layout Description
15301 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15302 \begin_inset space \thinspace{}
15305 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15306 \begin_inset VSpace medskip
15310 \begin_inset Newline newline
15314 \begin_inset space \hspace*{}
15319 \begin_inset space \hfill{}
15323 \begin_inset Tabular
15324 <lyxtabular version="3" rows="3" columns="1">
15326 <column alignment="center" valignment="top" width="0">
15328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15331 \begin_layout Plain Layout
15338 <row interlinespace="3mm">
15339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15342 \begin_layout Plain Layout
15343 \begin_inset Formula $\downarrow$
15347 \begin_inset space \thinspace{}
15351 \begin_inset Formula $\downarrow$
15361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15364 \begin_layout Plain Layout
15365 \begin_inset Formula $\uparrow$
15369 \begin_inset space \thinspace{}
15373 \begin_inset Formula $\uparrow$
15387 \begin_inset space \hfill{}
15391 \begin_inset space \hspace*{}
15396 \begin_inset VSpace medskip
15400 \begin_inset Newline newline
15403 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
15406 \begin_layout Standard
15407 \begin_inset VSpace bigskip
15410 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
15413 \begin_layout Standard
15418 @ifundefined{extrarowheight}
15419 \begin_inset Newline newline
15426 \begin_layout Plain Layout
15437 usepackage{array}}{}
15438 \begin_inset Newline newline
15445 extrarowheight}{height}
15448 \begin_layout Standard
15449 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
15453 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
15462 \begin_layout Standard
15463 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
15469 コマンドを挿入することで補正することができます。表
15470 \begin_inset CommandInset ref
15472 reference "tab:垂直揃え"
15479 \begin_layout Standard
15481 \begin_inset Float table
15487 \begin_layout Plain Layout
15488 \begin_inset Caption
15490 \begin_layout Plain Layout
15491 \begin_inset CommandInset label
15505 \begin_layout Plain Layout
15506 \begin_inset space \hfill{}
15510 \begin_inset Float table
15515 \begin_layout Plain Layout
15516 \begin_inset Caption
15518 \begin_layout Plain Layout
15527 \begin_layout Plain Layout
15530 \begin_inset Tabular
15531 <lyxtabular version="3" rows="6" columns="1">
15533 <column alignment="left" valignment="top" width="0">
15535 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15538 \begin_layout Plain Layout
15546 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15549 \begin_layout Plain Layout
15559 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15562 \begin_layout Plain Layout
15572 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15575 \begin_layout Plain Layout
15585 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15588 \begin_layout Plain Layout
15598 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15601 \begin_layout Plain Layout
15620 \begin_inset space \hfill{}
15624 \begin_inset Float table
15629 \begin_layout Plain Layout
15630 \begin_inset Caption
15632 \begin_layout Plain Layout
15647 \begin_layout Plain Layout
15650 \begin_inset Tabular
15651 <lyxtabular version="3" rows="6" columns="1">
15653 <column alignment="left" valignment="top" width="0">
15655 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15658 \begin_layout Plain Layout
15666 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15669 \begin_layout Plain Layout
15675 \begin_layout Plain Layout
15691 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15694 \begin_layout Plain Layout
15700 \begin_layout Plain Layout
15716 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15719 \begin_layout Plain Layout
15725 \begin_layout Plain Layout
15741 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15744 \begin_layout Plain Layout
15750 \begin_layout Plain Layout
15766 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15769 \begin_layout Plain Layout
15775 \begin_layout Plain Layout
15800 \begin_inset space \hfill{}
15811 \begin_layout Subsection
15816 \begin_layout Plain Layout
15817 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
15825 \begin_layout Standard
15827 \begin_inset CommandInset ref
15829 reference "tab:表セル"
15833 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。
15836 \begin_layout Standard
15837 \begin_inset Float table
15843 \begin_layout Plain Layout
15844 \begin_inset Caption
15846 \begin_layout Plain Layout
15847 \begin_inset CommandInset label
15861 \begin_layout Plain Layout
15863 \begin_inset Tabular
15864 <lyxtabular version="3" rows="4" columns="2">
15866 <column alignment="right" valignment="top" width="0">
15867 <column alignment="left" valignment="top" width="0" special="@{}l">
15869 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15872 \begin_layout Plain Layout
15878 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15881 \begin_layout Plain Layout
15889 <cell alignment="center" valignment="top" usebox="none">
15892 \begin_layout Plain Layout
15898 <cell alignment="center" valignment="top" usebox="none">
15901 \begin_layout Plain Layout
15909 <cell alignment="center" valignment="top" usebox="none">
15912 \begin_layout Plain Layout
15918 <cell alignment="center" valignment="top" usebox="none">
15921 \begin_layout Plain Layout
15929 <cell alignment="center" valignment="top" usebox="none">
15932 \begin_layout Plain Layout
15938 <cell alignment="center" valignment="top" usebox="none">
15941 \begin_layout Plain Layout
15960 \begin_layout Standard
15961 この表は4×2表として作成されています。見出しは中央揃えの連結列になっています。第1列には、小数点以上の各桁と小数点が右揃えで収められています。第2列には、小数
15962 点以下の各桁が左揃えで収められています。通常、表の列間に加えられる余白を削るために、
15965 \begin_layout Standard
15971 \begin_layout Standard
15972 というLaTeX引数を第2列に指定します。
15975 \begin_layout Standard
15977 \begin_inset CommandInset ref
15979 reference "tab:表セル揃え"
15983 は、揃え方の例をいくつか示しています。関係子で揃えを行うには、関係詞の周りに正しい余白を取るために、二番目に小さい数式余白を最終列の初めに加えなくてはなりません
15987 \begin_layout Standard
15988 \begin_inset Float table
15993 \begin_layout Plain Layout
15994 \begin_inset Caption
15996 \begin_layout Plain Layout
15997 \begin_inset CommandInset label
16011 \begin_layout Plain Layout
16013 \begin_inset Tabular
16014 <lyxtabular version="3" rows="4" columns="6">
16016 <column alignment="right" valignment="top" width="0">
16017 <column alignment="left" valignment="top" width="0" special="@{}l">
16018 <column alignment="right" valignment="top" width="0">
16019 <column alignment="left" valignment="top" width="0" special="@{}l">
16020 <column alignment="right" valignment="top" width="0">
16021 <column alignment="left" valignment="top" width="0" special="@{}l">
16023 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16026 \begin_layout Plain Layout
16032 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16035 \begin_layout Plain Layout
16041 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16044 \begin_layout Plain Layout
16050 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16053 \begin_layout Plain Layout
16059 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16062 \begin_layout Plain Layout
16068 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16071 \begin_layout Plain Layout
16079 <cell alignment="center" valignment="top" usebox="none">
16082 \begin_layout Plain Layout
16088 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16091 \begin_layout Plain Layout
16097 <cell alignment="center" valignment="top" usebox="none">
16100 \begin_layout Plain Layout
16101 \begin_inset Formula $10\cdot$
16109 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16112 \begin_layout Plain Layout
16113 \begin_inset Formula $10^{\mbox{-}17}$
16121 <cell alignment="center" valignment="top" usebox="none">
16124 \begin_layout Plain Layout
16125 \begin_inset Formula $\Gamma(t)\propto$
16133 <cell alignment="center" valignment="top" usebox="none">
16136 \begin_layout Plain Layout
16137 \begin_inset Formula $\:\Upsilon(t)$
16147 <cell alignment="center" valignment="top" usebox="none">
16150 \begin_layout Plain Layout
16156 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16159 \begin_layout Plain Layout
16165 <cell alignment="center" valignment="top" usebox="none">
16168 \begin_layout Plain Layout
16169 \begin_inset Formula $5.78\cdot$
16177 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16180 \begin_layout Plain Layout
16181 \begin_inset Formula $10^{7}$
16189 <cell alignment="center" valignment="top" usebox="none">
16192 \begin_layout Plain Layout
16193 \begin_inset Formula $A\ne$
16201 <cell alignment="center" valignment="top" usebox="none">
16204 \begin_layout Plain Layout
16205 \begin_inset Formula $\: B_{\mathrm{red}}$
16215 <cell alignment="center" valignment="top" usebox="none">
16218 \begin_layout Plain Layout
16224 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16227 \begin_layout Plain Layout
16229 \begin_inset space \thinspace{}
16237 <cell alignment="center" valignment="top" usebox="none">
16240 \begin_layout Plain Layout
16242 \begin_inset Formula $33.5\cdot$
16250 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16253 \begin_layout Plain Layout
16254 \begin_inset Formula $10^{4}$
16262 <cell alignment="center" valignment="top" usebox="none">
16265 \begin_layout Plain Layout
16266 \begin_inset Formula $\sin(\alpha)\ge$
16274 <cell alignment="center" valignment="top" usebox="none">
16277 \begin_layout Plain Layout
16278 \begin_inset Formula $\:\sin(\beta)$
16299 \begin_layout Standard
16300 \begin_inset VSpace bigskip
16311 \begin_layout Plain Layout
16312 LaTeXぱっけーじ@LaTeXパッケージ ! dcolumn
16317 LaTeXパッケージもあります。しかし残念ながら、このパッケージはセルの内容全体を数式として取扱うため、表セル中に数式を入れることはできません。表
16318 \begin_inset CommandInset ref
16320 reference "tab:表セル揃え"
16329 \begin_inset CommandInset ref
16331 reference "tab:使用したときの揃え"
16335 の第1列のようになり、ちょっとしたテクニックを使わなければ、期待通りにはなりません。表
16336 \begin_inset CommandInset ref
16338 reference "tab:表セル揃え"
16347 \begin_inset Newpage newpage
16353 \begin_layout Standard
16354 \begin_inset Float table
16360 \begin_layout Plain Layout
16361 \begin_inset Caption
16363 \begin_layout Plain Layout
16364 \begin_inset CommandInset label
16366 name "tab:使用したときの揃え"
16370 LaTeXパッケージdcolumnを使用したときの揃えの様子。この出力のようにすべての列を揃えるには、テクニックを用いなくてはなりません。
16378 \begin_layout Plain Layout
16380 \begin_inset Tabular
16381 <lyxtabular version="3" rows="4" columns="3">
16383 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
16384 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
16385 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16387 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16390 \begin_layout Plain Layout
16396 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16399 \begin_layout Plain Layout
16405 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16408 \begin_layout Plain Layout
16416 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16419 \begin_layout Plain Layout
16425 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16428 \begin_layout Plain Layout
16434 <cell alignment="center" valignment="top" usebox="none">
16437 \begin_layout Plain Layout
16442 \begin_layout Plain Layout
16452 \begin_inset Formula $\mbox{本の瓶}$
16462 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16465 \begin_layout Plain Layout
16471 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16474 \begin_layout Plain Layout
16480 <cell alignment="center" valignment="top" usebox="none">
16483 \begin_layout Plain Layout
16488 \begin_layout Plain Layout
16498 \begin_inset Formula $\mbox{ピクセル}$
16508 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16511 \begin_layout Plain Layout
16513 \begin_inset space \thinspace{}
16521 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16524 \begin_layout Plain Layout
16526 \begin_inset space \thinspace{}
16530 \begin_inset Formula $\mbox{cm}$
16538 <cell alignment="center" valignment="top" usebox="none">
16541 \begin_layout Plain Layout
16546 \begin_layout Plain Layout
16556 \begin_inset Formula $\mbox{cm}$
16577 \begin_layout Subsection
16579 \begin_inset CommandInset label
16589 \begin_layout Plain Layout
16590 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
16598 \begin_layout Standard
16599 連結列セルを含む表がいくつもある場合には、第
16600 \begin_inset CommandInset ref
16602 reference "sub:連結列の計算"
16606 節のように連結部分を含む列に必要とされる幅を計算することはたいへん面倒です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のす
16607 べての表で使うことができます。書式は、以下のように定義します。
16610 \begin_layout Standard
16615 newcolumntype{書式名}[引数の数]{コマンド}
16618 \begin_layout Standard
16643 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
16646 \begin_layout Standard
16647 \begin_inset VSpace medskip
16653 \begin_layout Standard
16654 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
16657 \begin_layout Standard
16662 newcolumntype{M}[1]{>{
16669 \begin_layout Standard
16677 \begin_inset CommandInset ref
16679 reference "sub:複数行"
16683 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
16686 \begin_layout Standard
16692 \begin_layout Standard
16696 \begin_layout Standard
16697 \begin_inset VSpace bigskip
16703 \begin_layout Standard
16704 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
16707 \begin_layout Standard
16712 newcolumntype{S}[2]{>{
16717 \begin_inset Newline newline
16724 \begin_layout Plain Layout
16739 \begin_layout Plain Layout
16750 arrayrulewidth)*(1-#2))/#2}}
16753 \begin_layout Standard
16754 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
16755 \begin_inset CommandInset ref
16764 \begin_layout Standard
16765 こうしておけば、当該セルのLaTeX引数に
16768 \begin_layout Standard
16771 S{連結列セルの幅}{連結列セルがまたがる列の数}
16774 \begin_layout Standard
16778 \begin_layout Standard
16779 \begin_inset VSpace bigskip
16785 \begin_layout Standard
16786 色付き列については、以下のように定義するとよいでしょう。
16789 \begin_layout Standard
16794 newcolumntype{K}[1]{>{
16801 \begin_layout Standard
16802 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
16805 \begin_layout Standard
16811 \begin_layout Standard
16815 \begin_layout Standard
16816 \begin_inset VSpace bigskip
16822 \begin_layout Standard
16824 \begin_inset CommandInset ref
16826 reference "tab:ユーザー定義の表書式"
16830 を生成するには、第1列と連結列にLaTeX引数として
16833 \begin_layout Standard
16839 \begin_layout Standard
16843 \begin_layout Standard
16849 \begin_layout Standard
16853 \begin_layout Standard
16859 \begin_layout Standard
16863 \begin_layout Standard
16864 \begin_inset Float table
16870 \begin_layout Plain Layout
16871 \begin_inset Caption
16873 \begin_layout Plain Layout
16874 \begin_inset CommandInset label
16876 name "tab:ユーザー定義の表書式"
16888 \begin_layout Plain Layout
16890 \begin_inset Tabular
16891 <lyxtabular version="3" rows="3" columns="4">
16893 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
16894 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
16895 <column alignment="center" valignment="middle" width="0">
16896 <column alignment="center" valignment="middle" width="0" special="K{red}">
16898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16901 \begin_layout Plain Layout
16907 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
16910 \begin_layout Plain Layout
16916 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16919 \begin_layout Plain Layout
16925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16928 \begin_layout Plain Layout
16936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16939 \begin_layout Plain Layout
16945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16948 \begin_layout Plain Layout
16954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16957 \begin_layout Plain Layout
16963 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16966 \begin_layout Plain Layout
16974 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16977 \begin_layout Plain Layout
16983 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16986 \begin_layout Plain Layout
16992 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16995 \begin_layout Plain Layout
17001 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17004 \begin_layout Plain Layout
17023 \begin_layout Subsection
17025 \begin_inset CommandInset label
17035 \begin_layout Plain Layout
17036 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
17044 \begin_layout Standard
17045 表中のすべての罫線の罫線幅を調整するには、長さ
17052 \begin_inset CommandInset ref
17054 reference "tab:Table-with-1.5"
17059 \begin_inset space \thinspace{}
17062 ptにするには、表や表フロートの前にTeXコードで
17065 \begin_layout Standard
17072 arrayrulewidth}{1.5pt}
17075 \begin_layout Standard
17076 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
17083 \begin_inset space \thinspace{}
17089 \begin_layout Standard
17093 \begin_layout Plain Layout
17099 arrayrulewidth}{1.5pt}
17105 \begin_inset Float table
17110 \begin_layout Plain Layout
17111 \begin_inset Caption
17113 \begin_layout Plain Layout
17114 \begin_inset CommandInset label
17116 name "tab:Table-with-1.5"
17121 \begin_inset space \thinspace{}
17132 \begin_layout Plain Layout
17134 \begin_inset Tabular
17135 <lyxtabular version="3" rows="3" columns="3">
17137 <column alignment="center" valignment="top" width="0">
17138 <column alignment="center" valignment="top" width="0">
17139 <column alignment="center" valignment="top" width="0">
17141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17144 \begin_layout Plain Layout
17150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17153 \begin_layout Plain Layout
17159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17162 \begin_layout Plain Layout
17170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17173 \begin_layout Plain Layout
17179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17182 \begin_layout Plain Layout
17188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17191 \begin_layout Plain Layout
17199 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17202 \begin_layout Plain Layout
17208 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17211 \begin_layout Plain Layout
17217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17220 \begin_layout Plain Layout
17240 \begin_layout Plain Layout
17246 arrayrulewidth}{0.4pt}
17254 \begin_layout Standard
17255 \begin_inset VSpace bigskip
17259 \begin_inset CommandInset ref
17261 reference "tab:1.5pt幅横罫"
17266 \begin_inset space \thinspace{}
17269 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
17272 \begin_layout Standard
17282 \begin_inset Newline newline
17290 \begin_inset Newline newline
17299 arrayrulewidth 1.5pt}
17300 \begin_inset Newline newline
17311 arrayrulewidth 0.4pt}}
17314 \begin_layout Standard
17315 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
17318 \begin_layout Standard
17330 \begin_layout Standard
17334 \begin_layout Plain Layout
17345 \begin_layout Plain Layout
17354 \begin_layout Plain Layout
17362 arrayrulewidth 1.5pt}
17365 \begin_layout Plain Layout
17375 arrayrulewidth 0.4pt}}
17381 \begin_inset Float table
17386 \begin_layout Plain Layout
17387 \begin_inset Caption
17389 \begin_layout Plain Layout
17390 \begin_inset CommandInset label
17392 name "tab:1.5pt幅横罫"
17397 \begin_inset space \thinspace{}
17408 \begin_layout Plain Layout
17410 \begin_inset Tabular
17411 <lyxtabular version="3" rows="3" columns="3">
17413 <column alignment="center" valignment="top" width="0">
17414 <column alignment="center" valignment="top" width="0">
17415 <column alignment="center" valignment="top" width="0">
17417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17420 \begin_layout Plain Layout
17426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17429 \begin_layout Plain Layout
17435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17438 \begin_layout Plain Layout
17446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17449 \begin_layout Plain Layout
17455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17458 \begin_layout Plain Layout
17464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17467 \begin_layout Plain Layout
17475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17478 \begin_layout Plain Layout
17484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17487 \begin_layout Plain Layout
17493 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17496 \begin_layout Plain Layout
17516 \begin_layout Plain Layout
17532 \begin_layout Standard
17533 \begin_inset VSpace bigskip
17537 \begin_inset space \thinspace{}
17541 \begin_inset CommandInset ref
17543 reference "sub:自製書式"
17547 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
17550 \begin_layout Standard
17555 newcolumntype{V}{!{
17557 vrule width 1.5pt}}
17560 \begin_layout Standard
17562 \begin_inset CommandInset ref
17564 reference "tab:1.5pt幅縦罫"
17571 \begin_layout Standard
17577 \begin_layout Standard
17581 \begin_layout Standard
17587 \begin_layout Standard
17591 \begin_layout Standard
17592 \begin_inset Float table
17597 \begin_layout Plain Layout
17598 \begin_inset Caption
17600 \begin_layout Plain Layout
17601 \begin_inset CommandInset label
17603 name "tab:1.5pt幅縦罫"
17608 \begin_inset space \thinspace{}
17619 \begin_layout Plain Layout
17621 \begin_inset Tabular
17622 <lyxtabular version="3" rows="3" columns="3">
17624 <column alignment="center" valignment="top" width="0" special="Vc">
17625 <column alignment="center" valignment="top" width="0" special="Vc">
17626 <column alignment="center" valignment="top" width="0" special="VcV">
17628 <cell alignment="center" valignment="top" topline="true" usebox="none">
17631 \begin_layout Plain Layout
17637 <cell alignment="center" valignment="top" topline="true" usebox="none">
17640 \begin_layout Plain Layout
17646 <cell alignment="center" valignment="top" topline="true" usebox="none">
17649 \begin_layout Plain Layout
17657 <cell alignment="center" valignment="top" topline="true" usebox="none">
17660 \begin_layout Plain Layout
17666 <cell alignment="center" valignment="top" topline="true" usebox="none">
17669 \begin_layout Plain Layout
17675 <cell alignment="center" valignment="top" topline="true" usebox="none">
17678 \begin_layout Plain Layout
17686 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17689 \begin_layout Plain Layout
17695 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17698 \begin_layout Plain Layout
17704 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17707 \begin_layout Plain Layout
17726 \begin_layout Subsection
17731 \begin_layout Plain Layout
17732 ひょうのちょうせい@表の調整 ! てんけい@点罫
17740 \begin_layout Standard
17744 \begin_layout Plain Layout
17754 \begin_inset Note Note
17757 \begin_layout Plain Layout
17758 この節は、LaTeXパッケージarydshlnが導入済みの時のみ表示されます。
17766 \begin_layout Standard
17767 \begin_inset Float table
17773 \begin_layout Plain Layout
17774 \begin_inset Caption
17776 \begin_layout Plain Layout
17777 \begin_inset CommandInset label
17791 \begin_layout Plain Layout
17793 \begin_inset Tabular
17794 <lyxtabular version="3" rows="5" columns="5">
17796 <column alignment="center" valignment="top" width="0">
17797 <column alignment="center" valignment="top" width="0">
17798 <column alignment="center" valignment="top" width="0" special=":c">
17799 <column alignment="center" valignment="top" width="0">
17800 <column alignment="center" valignment="top" width="0">
17802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17805 \begin_layout Plain Layout
17811 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17814 \begin_layout Plain Layout
17820 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17823 \begin_layout Plain Layout
17829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17832 \begin_layout Plain Layout
17838 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17841 \begin_layout Plain Layout
17849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17852 \begin_layout Plain Layout
17858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17861 \begin_layout Plain Layout
17867 <cell alignment="center" valignment="top" topline="true" usebox="none">
17870 \begin_layout Plain Layout
17876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17879 \begin_layout Plain Layout
17885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17888 \begin_layout Plain Layout
17896 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17899 \begin_layout Plain Layout
17903 \begin_layout Plain Layout
17917 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17920 \begin_layout Plain Layout
17926 <cell alignment="center" valignment="top" usebox="none">
17929 \begin_layout Plain Layout
17935 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17938 \begin_layout Plain Layout
17944 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17947 \begin_layout Plain Layout
17955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17958 \begin_layout Plain Layout
17962 \begin_layout Plain Layout
17976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17979 \begin_layout Plain Layout
17985 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
17988 \begin_layout Plain Layout
17994 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
17997 \begin_layout Plain Layout
18003 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18006 \begin_layout Plain Layout
18014 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18017 \begin_layout Plain Layout
18023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18026 \begin_layout Plain Layout
18032 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18035 \begin_layout Plain Layout
18041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18044 \begin_layout Plain Layout
18050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18053 \begin_layout Plain Layout
18072 \begin_layout Standard
18073 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
18076 \begin_layout Standard
18081 usepackage{arydshln}
18084 \begin_layout Standard
18085 というコマンドを書き、LaTeXパッケージの
18093 \begin_layout Plain Layout
18094 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
18099 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
18102 \begin_layout Standard
18103 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
18106 \begin_layout Standard
18114 \begin_layout Standard
18118 \begin_layout Standard
18119 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
18122 \begin_layout Standard
18132 \begin_layout Standard
18133 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
18136 \begin_layout Standard
18144 \begin_layout Standard
18148 \begin_layout Standard
18149 \begin_inset VSpace bigskip
18155 \begin_layout Standard
18157 \begin_inset CommandInset ref
18159 reference "tab:点罫表"
18163 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
18167 hdashlineが挿れられており、第3行の最初のセルには、
18170 \begin_inset Newline newline
18177 cdashline{4-5}が挿れられています。
18180 \begin_layout Standard
18181 \begin_inset Note Greyedout
18184 \begin_layout Plain Layout
18189 ここで用いられているLaTeXパッケージ
18194 \begin_inset CommandInset ref
18196 reference "sec:色付きの表"
18200 節の色付き表で用いられているLaTeXパッケージ
18208 \begin_layout Plain Layout
18209 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
18214 とは、どうやら共存し得ないようです。すなわち、色付き表に点罫をつけることはできません。
18222 \begin_layout Standard
18226 \begin_layout Plain Layout
18236 \begin_inset Note Note
18239 \begin_layout Plain Layout
18252 \begin_layout Standard
18257 パッケージを導入しなくてはなりません。
18260 \begin_layout Standard
18264 \begin_layout Plain Layout
18276 \begin_layout Chapter
18281 \begin_layout Plain Layout
18290 \begin_layout Section
18292 \begin_inset CommandInset label
18294 name "sec:フロートはじめに"
18302 \begin_layout Plain Layout
18311 \begin_layout Standard
18312 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
18321 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
18324 \begin_layout Standard
18325 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
18326 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
18327 ートには連番が割り当てられます。参照については、第
18328 \begin_inset CommandInset ref
18330 reference "sec:フロートの参照"
18337 \begin_layout Standard
18340 挿入\SpecialChar \menuseparator
18343 メニューを使えば、ラベルのついたボックスすなわち
18347 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
18348 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
18349 \begin_inset CommandInset ref
18351 reference "sec:キャプションの配置"
18355 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
18357 \begin_inset Graphics
18358 filename clipart/floatQt4.png
18360 scaleBeforeRotation
18364 のように、灰色ボタンに赤字ラベルで表示されます。
18367 \begin_layout Standard
18368 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
18371 \begin_layout Standard
18372 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
18375 \begin_layout Section
18379 \begin_layout Standard
18381 \begin_inset CommandInset ref
18383 reference "sec:図フロート"
18388 \begin_inset CommandInset ref
18390 reference "sec:表フロート"
18394 節で各々説明されている図フロートと表フロート以外に、
18405 \begin_layout Subsection
18410 \begin_layout Plain Layout
18411 ふろーと@フロート ! あるごりずむ@アルゴリズム
18419 \begin_layout Standard
18420 \begin_inset Float algorithm
18426 \begin_layout Plain Layout
18427 \begin_inset Caption
18429 \begin_layout Plain Layout
18430 \begin_inset CommandInset label
18432 name "alg:アルゴリズムフロートの例"
18444 \begin_layout LyX-Code
18446 \begin_inset Newline newline
18449 Sum:= Sum + A(I); /*comment*/
18450 \begin_inset Newline newline
18454 \begin_inset VSpace -4mm
18465 \begin_layout Standard
18470 \SpecialChar \menuseparator
18471 フロート\SpecialChar \menuseparator
18475 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
18476 \begin_inset CommandInset ref
18478 reference "cha:プログラムコードリスト"
18482 章で説明されているプログラムコードリストの代わりとみなすことができます。
18486 に述べられているように、アルゴリズム向けの環境としては、
18491 \begin_inset CommandInset ref
18493 reference "alg:アルゴリズムフロートの例"
18497 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
18498 \begin_inset space \thinspace{}
18504 \begin_layout Standard
18505 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
18508 \begin_layout Standard
18513 floatname{algorithm}{付けたい名称}
18516 \begin_layout Standard
18517 という行を手動で加える必要があります。ここで
18530 \begin_layout Standard
18531 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
18533 挿入\SpecialChar \menuseparator
18534 一覧/目次\SpecialChar \menuseparator
18537 メニューを使用します。それ以外の場合には、代わりに
18540 \begin_layout Standard
18545 listof{algorithm}{付けたい名称}
18548 \begin_layout Standard
18549 というコマンドをTeXコードとして用います。ここで
18557 s」という単語に相当する、ご使用になりたい言語での単語です。
18560 \begin_layout Standard
18561 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
18562 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
18565 \begin_layout Standard
18570 numberwithin{algorithm}{chapter}
18573 \begin_layout Standard
18580 というコマンドを使用するには、文書設定の
18591 \begin_layout Subsection
18596 \begin_layout Plain Layout
18597 ふろーと@フロート ! おりかえしふろーと@折返しフロート
18605 \begin_layout Standard
18606 \begin_inset Wrap figure
18613 \begin_layout Plain Layout
18614 \begin_inset Graphics
18615 filename ../clipart/mobius.eps
18617 scaleBeforeRotation
18618 rotateOrigin center
18625 \begin_layout Plain Layout
18626 \begin_inset Caption
18628 \begin_layout Plain Layout
18629 \begin_inset CommandInset label
18631 name "fig:折返し図フロート"
18645 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
18653 \begin_layout Plain Layout
18654 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
18661 挿入\SpecialChar \menuseparator
18662 フロート\SpecialChar \menuseparator
18673 \begin_layout Plain Layout
18674 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
18679 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
18695 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
18696 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
18697 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
18698 \begin_inset CommandInset ref
18700 reference "fig:折返し図フロート"
18705 \begin_inset space \thinspace{}
18709 \begin_inset space \thinspace{}
18712 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
18716 \begin_layout Plain Layout
18718 \begin_inset CommandInset ref
18720 reference "cha:LyXで使用できる単位"
18732 \begin_layout Standard
18733 \begin_inset Note Greyedout
18736 \begin_layout Plain Layout
18741 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
18750 \begin_layout Standard
18754 \begin_layout Itemize
18755 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
18756 うになってから、正確な位置に挿入しなくてはなりません。
18759 \begin_layout Itemize
18760 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
18763 \begin_layout Itemize
18764 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
18767 \begin_layout Itemize
18768 折返しフロートは、節見出しや表中に入れることは認められていません。
18771 \begin_layout Section
18776 \begin_layout Plain Layout
18777 ふろーと@フロート ! れんばん@連番
18785 \begin_layout Standard
18786 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
18790 \begin_layout Standard
18791 節から独立して付けられている連番を変更するには、文書プリアンブルで
18794 \begin_layout Standard
18806 \begin_layout Standard
18813 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
18819 コマンドを使用します。上のコマンドで使用されている
18825 は、表番号を小文字のローマ数字で印字するコマンドです。
18828 \begin_layout Standard
18829 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
18832 \begin_layout Standard
18837 numberwithin{table}{subsection}
18840 \begin_layout Standard
18847 コマンドを使用可能にするためには、文書設定の
18854 \begin_inset space ~
18862 \begin_layout Standard
18863 連番コマンドについての詳細と大切な注意点については、第
18864 \begin_inset CommandInset ref
18866 reference "sub:脚注の付番"
18873 \begin_layout Section
18875 \begin_inset CommandInset label
18885 \begin_layout Plain Layout
18886 ふろーと@フロート ! さんしょう@参照
18895 \begin_layout Plain Layout
18896 さんしょう@参照 ! ふろーとにたいする@フロートに対する
18904 \begin_layout Standard
18907 挿入\SpecialChar \menuseparator
18910 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
18911 \begin_inset Graphics
18912 filename ../clipart/labelQt4.png
18914 scaleBeforeRotation
18918 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
18919 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
18926 \begin_layout Standard
18927 ラベルは、参照のための名称兼位置標として用いられます。
18929 挿入\SpecialChar \menuseparator
18933 \begin_inset Graphics
18934 filename ../../images/dialog-show-new-inset_ref.png
18936 scaleBeforeRotation
18940 を使えば、ラベルを参照することができます。
18941 \begin_inset Graphics
18942 filename clipart/referenceQt4.png
18944 scaleBeforeRotation
18948 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
18949 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
18953 \begin_layout Standard
18954 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
18955 出力では、参照の代わりに二つの疑問符が表示されることになります。
18958 \begin_layout Standard
18959 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
18960 で、リンクの更新に手間を割く必要はありません。
18963 \begin_layout Standard
18968 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
18972 に変わるので、相互参照にカーソルを戻すのに使用することができます。相互参照ボックスを右クリックしても、カーソルを参照されているラベルの前に移すことができますが、
18973 この場合には元に戻ることができません。
18976 \begin_layout Subsection
18978 \begin_inset CommandInset label
18988 \begin_layout Plain Layout
18997 \begin_layout Standard
18998 相互参照には、以下の6種類があります。
19001 \begin_layout Description
19002 <参照>: これはフロート番号を表示します。これが既定値です。例:
19003 \begin_inset CommandInset ref
19005 reference "fig:歪められた二つの像"
19012 \begin_layout Description
19013 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
19015 \begin_inset CommandInset ref
19024 \begin_layout Description
19025 <参照ページ>: これはページ番号を表示します。例:Page
19026 \begin_inset space ~
19030 \begin_inset CommandInset ref
19031 LatexCommand pageref
19032 reference "fig:歪められた二つの像"
19039 \begin_layout Description
19041 \begin_inset space ~
19045 \begin_inset space ~
19048 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
19049 \begin_inset CommandInset ref
19050 LatexCommand vpageref
19051 reference "fig:歪められた二つの像"
19058 \begin_layout Description
19060 \begin_inset space ~
19064 \begin_inset space ~
19068 \begin_inset space ~
19071 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
19072 \begin_inset CommandInset ref
19074 reference "fig:歪められた二つの像"
19081 \begin_layout Description
19082 整形された参照: これはユーザー定義の相互参照書式で表示します。
19083 \begin_inset Note Greyedout
19086 \begin_layout Plain Layout
19087 【註】この機能は、LaTeXパッケージのprettyrefが導入済みの時のみ利用できます。
19095 \begin_layout Standard
19096 <参照ページ>様式は、ラベルが同じページにあるか前後隣接するページにある場合には、ページ番号を出力しないことに注意してください。その代わりに、たとえば「
19103 \begin_layout Standard
19104 出力中では、参照されている文書の箇所のページ番号は、LaTeXによって自動的に計算されます。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンド
19112 \begin_layout Subsection
19117 \begin_layout Plain Layout
19118 さんしょう@参照 ! じどうめいめい@自動命名
19126 \begin_layout Standard
19143 \begin_layout Plain Layout
19144 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19149 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
19153 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
19154 の機能を使用するには、hyperrefを有効にして、
19157 \begin_layout Standard
19173 \begin_layout Standard
19174 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
19175 \begin_inset space \thinspace{}
19178 」としたいなど、既定の参照名以外のものが欲しい場合には、
19181 \begin_layout Standard
19192 sectionautorefname}
19193 \begin_inset Newline newline
19200 \begin_layout Plain Layout
19214 \begin_layout Standard
19215 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
19216 \begin_inset Newline newline
19227 に置き換えてください(***は使用中の言語名)。
19230 \begin_layout Standard
19231 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
19234 \begin_layout Standard
19242 \begin_inset Newline newline
19252 \begin_inset Newline newline
19263 equationautorefname}
19264 \begin_inset Newline newline
19271 \begin_layout Plain Layout
19287 \begin_layout Standard
19288 この話題に関する詳細は、hyperrefの説明書
19289 \begin_inset CommandInset citation
19298 \begin_layout Standard
19299 \begin_inset Note Greyedout
19302 \begin_layout Plain Layout
19312 \begin_inset CommandInset ref
19314 reference "sub:相互参照の書式"
19318 節)で使用しているときには、使用することができません。
19326 \begin_layout Standard
19331 は、参照の自動命名が使用されている一例です。
19334 \begin_layout Subsection
19336 \begin_inset CommandInset label
19346 \begin_layout Plain Layout
19347 さんしょう@参照 ! さんしょういち@参照位置
19355 \begin_layout Standard
19372 \begin_layout Plain Layout
19373 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19378 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
19379 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
19387 \begin_layout Plain Layout
19388 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19401 \begin_layout Plain Layout
19402 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19407 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
19410 \begin_layout Standard
19415 usepackage[figure]{hypcap}
19418 \begin_layout Standard
19419 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
19421 \begin_inset CommandInset citation
19430 \begin_layout Standard
19431 \begin_inset Note Greyedout
19434 \begin_layout Plain Layout
19439 は内部図への参照には効力がありません。
19447 \begin_layout Section
19449 \begin_inset CommandInset label
19459 \begin_layout Plain Layout
19468 \begin_layout Standard
19478 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
19479 \begin_inset Newline newline
19500 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
19501 \begin_inset Newline newline
19522 オプションは、フロートを回転するのに用います。第
19532 \begin_inset CommandInset ref
19534 reference "sec:回転フロート"
19550 \begin_layout Standard
19578 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
19581 \begin_layout Description
19591 フロートを挿入位置に配置することを試みます
19594 \begin_layout Description
19604 フロートを現在ページの上部に配置することを試みます
19607 \begin_layout Description
19617 フロートを現在ページの下部に配置することを試みます
19620 \begin_layout Description
19630 フロートを独立したページに配置することを試みます
19633 \begin_layout Standard
19638 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
19646 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
19647 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
19650 \begin_layout Standard
19651 既定では、各オプションはそれぞれ以下の規則を持っています。
19655 \labelwidthstring 00.00.0000
19660 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
19670 \labelwidthstring 00.00.0000
19675 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
19685 \labelwidthstring 00.00.0000
19690 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
19699 \begin_layout Standard
19704 オプションを追加することによって、これらを無視することができます。
19705 \begin_inset Newline newline
19708 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
19709 、ページの5割に変えるには、文書プリアンブルに
19712 \begin_layout Standard
19719 bottomfraction}{0.5}
19722 \begin_layout Standard
19726 \begin_layout Standard
19727 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
19731 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
19732 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
19736 \begin_layout Standard
19737 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
19740 \begin_layout Standard
19741 \begin_inset VSpace bigskip
19747 \begin_layout Standard
19748 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
19749 することがあります。この問題を避けるには、LaTeXコマンドの
19751 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
19752 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
19755 \begin_layout Standard
19765 \begin_inset Newline newline
19779 \begin_layout Standard
19780 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
19781 することがあるので、これらに対する定義はお勧めしません。
19784 \begin_layout Standard
19785 \begin_inset VSpace bigskip
19788 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
19796 \begin_layout Plain Layout
19797 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
19802 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
19803 \begin_inset Quotes eld
19809 \begin_inset space ~
19815 \begin_inset Quotes erd
19818 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
19821 \begin_layout Standard
19826 usepackage[options]{endfloat}
19829 \begin_layout Standard
19830 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
19835 \begin_inset CommandInset citation
19842 \begin_inset Newline newline
19846 \begin_inset Note Greyedout
19849 \begin_layout Plain Layout
19854 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
19855 \begin_inset CommandInset citation
19867 \begin_inset Newline newline
19871 \begin_inset Note Greyedout
19874 \begin_layout Plain Layout
19883 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
19897 \begin_layout Standard
19898 \begin_inset VSpace bigskip
19901 フロートの割付に関する詳細は、LaTeX関連書
19902 \begin_inset CommandInset citation
19904 key "latexcompanion,latexguide,latexbook"
19911 \begin_layout Section
19913 \begin_inset CommandInset label
19923 \begin_layout Plain Layout
19924 ふろーと@フロート ! かいてん@回転
19932 \begin_layout Standard
19933 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
19940 \begin_layout Standard
19941 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
19945 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
19946 たって回転方向を強制したい場合には、文書クラスオプションに
19957 \begin_layout Standard
19958 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
19959 \begin_inset CommandInset ref
19961 reference "tab:回転した表"
19968 \begin_layout Standard
19969 \begin_inset Note Greyedout
19972 \begin_layout Plain Layout
19977 すべてのDVIビューアが回転フロートを表示できるわけではありません。
19985 \begin_layout Standard
19986 \begin_inset Float table
19991 \begin_layout Plain Layout
19992 \begin_inset Caption
19994 \begin_layout Plain Layout
19995 \begin_inset CommandInset label
20009 \begin_layout Plain Layout
20011 \begin_inset Tabular
20012 <lyxtabular version="3" rows="1" columns="5">
20014 <column alignment="center" valignment="top" width="0">
20015 <column alignment="center" valignment="top" width="0">
20016 <column alignment="center" valignment="top" width="0">
20017 <column alignment="center" valignment="top" width="0">
20018 <column alignment="center" valignment="top" width="0">
20020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20023 \begin_layout Plain Layout
20029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20032 \begin_layout Plain Layout
20038 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20041 \begin_layout Plain Layout
20047 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20050 \begin_layout Plain Layout
20056 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20059 \begin_layout Plain Layout
20078 \begin_layout Section
20083 \begin_layout Plain Layout
20084 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
20092 \begin_layout Standard
20093 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
20094 \begin_inset CommandInset ref
20096 reference "tab:従属表を横に並べたもの"
20101 \begin_inset CommandInset ref
20103 reference "tab:従属表を縦に並べたもの"
20107 に示されているように段落と同様に指定することができます。
20110 \begin_layout Standard
20111 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
20112 \begin_inset CommandInset ref
20114 reference "tab:これは従属表a"
20119 \begin_inset CommandInset ref
20121 reference "tab:これは従属表b"
20126 \begin_inset CommandInset ref
20128 reference "tab:従属表を横に並べたもの"
20133 \begin_inset Float table
20138 \begin_layout Plain Layout
20139 \begin_inset Caption
20141 \begin_layout Plain Layout
20142 \begin_inset CommandInset label
20144 name "tab:従属表を横に並べたもの"
20156 \begin_layout Plain Layout
20157 \begin_inset space \hfill{}
20161 \begin_inset Float table
20166 \begin_layout Plain Layout
20167 \begin_inset Caption
20169 \begin_layout Plain Layout
20170 \begin_inset CommandInset label
20184 \begin_layout Plain Layout
20186 \begin_inset Tabular
20187 <lyxtabular version="3" rows="1" columns="5">
20189 <column alignment="center" valignment="top" width="0">
20190 <column alignment="center" valignment="top" width="0">
20191 <column alignment="center" valignment="top" width="0">
20192 <column alignment="center" valignment="top" width="0">
20193 <column alignment="center" valignment="top" width="0">
20195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20198 \begin_layout Plain Layout
20204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20207 \begin_layout Plain Layout
20213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20216 \begin_layout Plain Layout
20222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20225 \begin_layout Plain Layout
20231 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20234 \begin_layout Plain Layout
20251 \begin_inset space \hfill{}
20255 \begin_inset Float table
20260 \begin_layout Plain Layout
20261 \begin_inset Caption
20263 \begin_layout Plain Layout
20264 \begin_inset CommandInset label
20278 \begin_layout Plain Layout
20280 \begin_inset Tabular
20281 <lyxtabular version="3" rows="1" columns="5">
20283 <column alignment="center" valignment="top" width="0">
20284 <column alignment="center" valignment="top" width="0">
20285 <column alignment="center" valignment="top" width="0">
20286 <column alignment="center" valignment="top" width="0">
20287 <column alignment="center" valignment="top" width="0">
20289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20292 \begin_layout Plain Layout
20298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20301 \begin_layout Plain Layout
20307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20310 \begin_layout Plain Layout
20316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20319 \begin_layout Plain Layout
20325 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20328 \begin_layout Plain Layout
20345 \begin_inset space \hfill{}
20354 \begin_inset Float table
20359 \begin_layout Plain Layout
20360 \begin_inset Caption
20362 \begin_layout Plain Layout
20363 \begin_inset CommandInset label
20365 name "tab:従属表を縦に並べたもの"
20369 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
20377 \begin_layout Plain Layout
20378 \begin_inset Float table
20383 \begin_layout Plain Layout
20384 \begin_inset Caption
20386 \begin_layout Plain Layout
20395 \begin_layout Plain Layout
20397 \begin_inset Tabular
20398 <lyxtabular version="3" rows="1" columns="4">
20400 <column alignment="center" valignment="top" width="0">
20401 <column alignment="center" valignment="top" width="0">
20402 <column alignment="center" valignment="top" width="0">
20403 <column alignment="center" valignment="top" width="0">
20405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20408 \begin_layout Plain Layout
20414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20417 \begin_layout Plain Layout
20423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20426 \begin_layout Plain Layout
20432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20435 \begin_layout Plain Layout
20454 \begin_layout Plain Layout
20455 \begin_inset Float table
20460 \begin_layout Plain Layout
20461 \begin_inset Caption
20463 \begin_layout Plain Layout
20472 \begin_layout Plain Layout
20474 \begin_inset Tabular
20475 <lyxtabular version="3" rows="1" columns="5">
20477 <column alignment="center" valignment="top" width="0">
20478 <column alignment="center" valignment="top" width="0">
20479 <column alignment="center" valignment="top" width="0">
20480 <column alignment="center" valignment="top" width="0">
20481 <column alignment="center" valignment="top" width="0">
20483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20486 \begin_layout Plain Layout
20492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20495 \begin_layout Plain Layout
20501 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20504 \begin_layout Plain Layout
20510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20513 \begin_layout Plain Layout
20519 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20522 \begin_layout Plain Layout
20546 \begin_layout Section
20551 \begin_layout Plain Layout
20552 ふろーと@フロート ! よこならび@横並び
20560 \begin_layout Standard
20562 \begin_inset CommandInset ref
20564 reference "fig:左側のフロート"
20569 \begin_inset CommandInset ref
20571 reference "fig:右側のフロート"
20575 のようにフロートを横並びに配置するには、
20579 フロートのみを使用し、その中に二つのminipageボックスを挿入します
20583 \begin_layout Plain Layout
20585 \begin_inset CommandInset ref
20587 reference "sec:ミニページ"
20597 \begin_inset space \thinspace{}
20601 \begin_inset space \thinspace{}
20604 列幅%とし、各minipageのボックス配置を
20608 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
20612 がここではminipageボックスの幅によって計算されることです。
20615 \begin_layout Standard
20616 \begin_inset Float figure
20621 \begin_layout Plain Layout
20622 \begin_inset Box Frameless
20631 height_special "totalheight"
20634 \begin_layout Plain Layout
20636 \begin_inset Graphics
20637 filename ../clipart/mobius.eps
20640 scaleBeforeRotation
20647 \begin_layout Plain Layout
20648 \begin_inset Caption
20650 \begin_layout Plain Layout
20651 \begin_inset CommandInset label
20668 \begin_inset space \hfill{}
20672 \begin_inset Box Frameless
20681 height_special "totalheight"
20684 \begin_layout Plain Layout
20686 \begin_inset Graphics
20687 filename ../clipart/platypus.eps
20690 scaleBeforeRotation
20697 \begin_layout Plain Layout
20698 \begin_inset Caption
20700 \begin_layout Plain Layout
20701 \begin_inset CommandInset label
20720 \begin_layout Plain Layout
20729 \begin_layout Section
20734 \begin_layout Plain Layout
20735 きゃぷしょん@キャプション ! しょしきせってい@書式設定
20744 \begin_layout Plain Layout
20745 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
20751 \begin_inset CommandInset label
20753 name "sec:キャプションの書式設定"
20760 \begin_layout Standard
20769 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
20773 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
20777 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
20778 。このキャプション書式は、すべての文書書式に適しているわけではありません。
20781 \begin_layout Standard
20782 既定のキャプション書式を変更するには、文書プリアンブルに
20785 \begin_layout Standard
20790 usepackage[format definition]{caption}
20793 \begin_layout Standard
20794 という行を加えて、LaTeXパッケージ
20802 \begin_layout Plain Layout
20803 LaTeXぱっけーじ@LaTeXパッケージ ! caption
20808 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
20811 \begin_layout Standard
20816 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
20819 \begin_layout Standard
20820 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
20824 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
20827 \begin_layout Standard
20832 captionsetup[フロート型]{書式定義}
20835 \begin_layout Standard
20836 というコマンドを使用して、個別の書式を指定してください。たとえば、図
20837 \begin_inset CommandInset ref
20839 reference "fig:図キャプション"
20844 \begin_inset CommandInset ref
20846 reference "tab:表キャプション"
20850 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
20853 \begin_layout Standard
20858 usepackage[tableposition=top]{caption}
20861 \begin_inset Newline newline
20868 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
20869 \begin_inset Newline newline
20876 \begin_layout Plain Layout
20884 captionsetup[figure]
20892 \begin_inset Newline newline
20897 captionsetup[table]{labelfont={bf,sf}}
20900 \begin_layout Standard
20901 \begin_inset Note Greyedout
20904 \begin_layout Plain Layout
20921 \begin_layout Plain Layout
20922 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
20927 が使われているときには、無効になります。この場合には、文書クラスオプション
20939 \begin_layout Standard
20944 パッケージについての詳細は、その取扱説明書
20945 \begin_inset CommandInset citation
20954 \begin_layout Standard
20955 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
20958 \begin_layout Standard
20970 \begin_layout Standard
20984 \begin_layout Standard
20985 \begin_inset VSpace bigskip
20996 \begin_layout Plain Layout
20997 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21004 article (KOMA-script)
21012 letter (KOMA-script)
21016 report (KOMA-script)
21030 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
21033 \begin_layout Standard
21038 setkomafont{captionlabel}{
21043 \begin_layout Standard
21055 \begin_inset CommandInset citation
21064 \begin_layout Standard
21068 \begin_layout Plain Layout
21072 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21079 \begin_inset Note Note
21082 \begin_layout Plain Layout
21083 キャプション書式は、この例のみ変更してあります。
21091 \begin_layout Standard
21092 \begin_inset Float figure
21098 \begin_layout Plain Layout
21100 \begin_inset Graphics
21101 filename ../clipart/mobius.eps
21104 scaleBeforeRotation
21111 \begin_layout Plain Layout
21112 \begin_inset Caption
21114 \begin_layout Plain Layout
21115 \begin_inset CommandInset label
21121 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
21134 \begin_layout Standard
21138 \begin_layout Plain Layout
21142 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21151 \begin_layout Standard
21152 \begin_inset Float table
21158 \begin_layout Plain Layout
21159 \begin_inset Caption
21161 \begin_layout Plain Layout
21162 \begin_inset CommandInset label
21168 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
21176 \begin_layout Plain Layout
21178 \begin_inset Tabular
21179 <lyxtabular version="3" rows="1" columns="5">
21181 <column alignment="center" valignment="top" width="0">
21182 <column alignment="center" valignment="top" width="0">
21183 <column alignment="center" valignment="top" width="0">
21184 <column alignment="center" valignment="top" width="0">
21185 <column alignment="center" valignment="top" width="0">
21187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21190 \begin_layout Plain Layout
21196 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21199 \begin_layout Plain Layout
21205 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21208 \begin_layout Plain Layout
21214 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21217 \begin_layout Plain Layout
21223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21226 \begin_layout Plain Layout
21245 \begin_layout Section
21250 \begin_layout Plain Layout
21251 きゃぷしょん@キャプション ! はいち@配置
21260 \begin_layout Plain Layout
21261 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
21267 \begin_inset CommandInset label
21269 name "sec:キャプションの配置"
21276 \begin_layout Standard
21280 \begin_layout Description
21281 図の場合: キャプションを図の下に置く
21284 \begin_layout Description
21285 表の場合: キャプションを表の上に置く
21288 \begin_layout Standard
21289 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
21305 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
21313 \begin_layout Standard
21319 \begin_layout Standard
21324 \begin_layout Plain Layout
21330 \begin_inset CommandInset ref
21332 reference "sec:キャプションの書式設定"
21349 \begin_layout Plain Layout
21350 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21357 article (KOMA-script)
21365 letter (KOMA-script)
21369 report (KOMA-script)
21372 \begin_inset space \thinspace{}
21379 パッケージにオプションを与える代わりに、文書クラスオプション
21386 \begin_layout Standard
21387 \begin_inset VSpace bigskip
21390 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
21393 \begin_layout Standard
21398 usepackage[option]{sidecap}
21401 \begin_layout Standard
21402 という行を入れて、LaTeXパッケージ
21410 \begin_layout Plain Layout
21411 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
21416 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
21420 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
21431 \begin_layout Standard
21435 \begin_layout Plain Layout
21445 \begin_inset Note Note
21448 \begin_layout Plain Layout
21453 が導入されているときのみ表示されます。
21461 \begin_layout Standard
21462 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
21465 \begin_layout Standard
21471 \begin_layout Standard
21479 \begin_inset Newline newline
21486 \begin_layout Plain Layout
21502 \begin_inset Newline newline
21509 \begin_layout Plain Layout
21525 \begin_inset Newline newline
21532 \begin_layout Plain Layout
21543 renewenvironment{table}{
21550 \begin_layout Standard
21558 \begin_inset Newline newline
21565 \begin_layout Plain Layout
21581 \begin_inset Newline newline
21588 \begin_layout Plain Layout
21606 \begin_layout Standard
21614 \begin_inset Newline newline
21621 \begin_layout Plain Layout
21637 \begin_inset Newline newline
21644 \begin_layout Plain Layout
21660 \begin_inset Newline newline
21667 \begin_layout Plain Layout
21678 renewenvironment{figure}{
21685 \begin_layout Standard
21693 \begin_inset Newline newline
21700 \begin_layout Plain Layout
21716 \begin_inset Newline newline
21723 \begin_layout Plain Layout
21741 \begin_layout Standard
21747 \begin_layout Standard
21748 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
21751 \begin_layout Standard
21759 \begin_layout Standard
21760 というコマンドを、フロートの前にTeXコードで入れてください。本来のフロート定義に戻すには、フロートの後に、TeXコードで
21763 \begin_layout Standard
21771 \begin_layout Standard
21775 \begin_layout Standard
21776 表フロートに対しては、対応するコマンド
21779 \begin_layout Standard
21793 \begin_layout Standard
21795 \begin_inset CommandInset ref
21797 reference "fig:図横キャプション"
21802 \begin_inset CommandInset ref
21804 reference "tab:表横キャプション"
21811 \begin_layout Standard
21812 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
21813 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
21816 \begin_layout Standard
21821 sidecaptionvpos{フロート型}{配置}
21824 \begin_layout Standard
21825 というコマンドを使用します。ここで「フロート型」は
21833 であり、「配置」は、上揃えの場合はtopの
21836 \begin_layout Standard
21849 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
21852 \begin_layout Standard
21857 sidecaptionvpos{figure}{c}
21860 \begin_layout Standard
21861 というコマンドを使用します。これは、図
21862 \begin_inset CommandInset ref
21864 reference "fig:図横キャプション-2"
21871 \begin_layout Standard
21872 \begin_inset VSpace medskip
21880 \begin_inset CommandInset citation
21889 \begin_layout Standard
21890 \begin_inset Note Greyedout
21893 \begin_layout Plain Layout
21899 \begin_inset CommandInset ref
21901 reference "sub:参照位置"
21913 \begin_layout Plain Layout
21914 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
21919 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
21927 \begin_layout Standard
21931 \begin_layout Plain Layout
21943 \begin_layout Standard
21944 \begin_inset Float figure
21949 \begin_layout Plain Layout
21950 \begin_inset Graphics
21951 filename ../clipart/escher-lsd.eps
21953 scaleBeforeRotation
21960 \begin_layout Plain Layout
21961 \begin_inset Caption
21963 \begin_layout Plain Layout
21964 \begin_inset CommandInset label
21966 name "fig:図横キャプション"
21983 \begin_layout Standard
21987 \begin_layout Plain Layout
21999 \begin_layout Standard
22000 \begin_inset Float table
22005 \begin_layout Plain Layout
22006 \begin_inset Caption
22008 \begin_layout Plain Layout
22009 \begin_inset CommandInset label
22011 name "tab:表横キャプション"
22023 \begin_layout Plain Layout
22024 \begin_inset Tabular
22025 <lyxtabular version="3" rows="4" columns="5">
22027 <column alignment="center" valignment="top" width="0">
22028 <column alignment="center" valignment="top" width="0">
22029 <column alignment="center" valignment="top" width="0">
22030 <column alignment="center" valignment="top" width="0">
22031 <column alignment="center" valignment="top" width="0">
22033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22036 \begin_layout Plain Layout
22042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22045 \begin_layout Plain Layout
22051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22054 \begin_layout Plain Layout
22060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22063 \begin_layout Plain Layout
22069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22072 \begin_layout Plain Layout
22080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22083 \begin_layout Plain Layout
22089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22092 \begin_layout Plain Layout
22098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22101 \begin_layout Plain Layout
22107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22110 \begin_layout Plain Layout
22116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22119 \begin_layout Plain Layout
22127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22130 \begin_layout Plain Layout
22136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22139 \begin_layout Plain Layout
22145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22148 \begin_layout Plain Layout
22154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22157 \begin_layout Plain Layout
22163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22166 \begin_layout Plain Layout
22174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22177 \begin_layout Plain Layout
22183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22186 \begin_layout Plain Layout
22192 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22195 \begin_layout Plain Layout
22201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22204 \begin_layout Plain Layout
22210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22213 \begin_layout Plain Layout
22232 \begin_layout Standard
22236 \begin_layout Plain Layout
22248 \begin_layout Standard
22252 \begin_layout Plain Layout
22256 sidecaptionvpos{figure}{c}
22262 \begin_inset Float figure
22267 \begin_layout Plain Layout
22268 \begin_inset Graphics
22269 filename ../clipart/escher-lsd.eps
22271 scaleBeforeRotation
22278 \begin_layout Plain Layout
22279 \begin_inset Caption
22281 \begin_layout Plain Layout
22282 \begin_inset CommandInset label
22284 name "fig:図横キャプション-2"
22288 これは図の横にある縦方向中央揃えのキャプションです。
22301 \begin_layout Standard
22305 \begin_layout Plain Layout
22317 \begin_layout Standard
22321 \begin_layout Plain Layout
22331 \begin_inset Note Note
22334 \begin_layout Plain Layout
22339 が導入されていないときのみ表示されます。
22347 \begin_layout Standard
22348 本節の残りの部分を出力で表示するには、LaTeXパッケージ
22355 \begin_layout Standard
22359 \begin_layout Plain Layout
22371 \begin_layout Section
22376 \begin_layout Plain Layout
22377 ふろーと@フロート ! ふろーといちらん@フロート一覧
22385 \begin_layout Standard
22386 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
22388 挿入\SpecialChar \menuseparator
22394 \begin_layout Standard
22395 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
22398 \begin_layout Standard
22399 本文書の終わりに、図一覧と表一覧があります。
22402 \begin_layout Chapter
22406 \begin_layout Section
22411 \begin_layout Plain Layout
22412 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
22420 \begin_layout Standard
22422 \begin_inset Graphics
22423 filename ../../images/note-insert.png
22425 scaleBeforeRotation
22431 挿入\SpecialChar \menuseparator
22434 メニューで挿入することができます。注釈には、以下の三つの型があります。
22437 \begin_layout Description
22438 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
22439 \begin_inset Newline newline
22443 \begin_inset Newline newline
22447 \begin_inset Graphics
22448 filename ../clipart/LyXNoteImageQt4.png
22451 scaleBeforeRotation
22456 \begin_inset Note Note
22459 \begin_layout Plain Layout
22460 これは、出力には現れない注釈ボックスに書かれた文章です。
22468 \begin_layout Description
22469 コメント この注釈も出力には現れませんが、
22471 ファイル\SpecialChar \menuseparator
22472 エクスポート\SpecialChar \menuseparator
22473 LaTeX (pdflatex) / (平文)
22475 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
22476 \begin_inset Newline newline
22480 \begin_inset Newline newline
22484 \begin_inset Graphics
22485 filename ../clipart/CommentNoteImageQt4.png
22488 scaleBeforeRotation
22493 \begin_inset Note Comment
22496 \begin_layout Plain Layout
22497 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
22505 \begin_layout Description
22506 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
22507 \begin_inset Newline newline
22511 \begin_inset Newline newline
22515 \begin_inset Graphics
22516 filename ../clipart/GreyedOutNoteImageQt4.png
22519 scaleBeforeRotation
22524 \begin_inset Newline newline
22531 \begin_layout Plain Layout
22535 renewenvironment{lyxgreyedout}
22538 \begin_layout Plain Layout
22542 textcolor[gray]{0.8}
22552 \begin_inset Note Greyedout
22555 \begin_layout Plain Layout
22556 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
22560 \begin_layout Plain Layout
22561 これは、淡色表示注釈内に脚注を用いた例です。
22575 \begin_layout Plain Layout
22579 renewenvironment{lyxgreyedout}
22582 \begin_layout Plain Layout
22596 \begin_inset Note Note
22599 \begin_layout Plain Layout
22600 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
22607 \begin_inset Newline newline
22611 \begin_inset Newline newline
22614 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
22617 \begin_layout Standard
22618 \begin_inset VSpace bigskip
22622 \begin_inset Graphics
22623 filename ../../images/note-insert.png
22625 scaleBeforeRotation
22633 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
22634 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
22638 \begin_layout Standard
22639 \begin_inset VSpace bigskip
22642 淡色注釈の文字色は、プリアンブルに以下のコマンドを置くことで変更することができます。
22645 \begin_layout Standard
22650 renewenvironment{lyxgreyedout}
22651 \begin_inset Newline newline
22658 \begin_layout Plain Layout
22676 \begin_layout Standard
22677 使用できる色彩名と、自製色の定義の仕方は、第
22678 \begin_inset CommandInset ref
22680 reference "sec:色付きの表"
22687 \begin_layout Standard
22688 本文書で青で表示されている注釈は、青文字に設定した淡色表示注釈を使用しています。
22691 \begin_layout Section
22693 \begin_inset CommandInset label
22703 \begin_layout Plain Layout
22704 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
22713 \begin_layout Plain Layout
22722 \begin_layout Standard
22724 \begin_inset Graphics
22725 filename ../../images/footnote-insert.png
22727 scaleBeforeRotation
22733 挿入\SpecialChar \menuseparator
22736 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
22737 \begin_inset Graphics
22738 filename clipart/footnoteQt4.png
22740 scaleBeforeRotation
22744 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
22745 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
22748 \begin_layout Standard
22753 \begin_layout Plain Layout
22754 \begin_inset CommandInset label
22769 \begin_layout Plain Layout
22773 newcounter{MyRepeatFoot}
22776 \begin_layout Plain Layout
22780 setcounter{MyRepeatFoot}{
22790 \begin_layout Standard
22791 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
22792 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
22795 \begin_layout Standard
22796 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
22797 \begin_inset CommandInset ref
22799 reference "sec:フロートの参照"
22803 節に説明されているようにして、本文中でこのラベルを相互参照してください。
22804 \begin_inset Newline newline
22808 \begin_inset CommandInset ref
22810 reference "fn:これは脚注の一例"
22817 \begin_layout Standard
22818 \begin_inset VSpace defskip
22821 脚注を表中で使用するには、ミニページを使わなくてはなりません。第
22822 \begin_inset CommandInset ref
22824 reference "sec:ミニページ"
22828 節をご参照ください。長尺表中の脚注については、第
22829 \begin_inset CommandInset ref
22831 reference "sub:長尺表での脚注"
22838 \begin_layout Standard
22839 \begin_inset VSpace defskip
22842 脚注の印だけを作成するには、TeXコードで
22848 というコマンドを使用してください。これは、同じ注釈を何度も本文中で使用する際に、いちいち脚注を印字したくないときに使用します。
22849 \begin_inset Newline newline
22852 これらの重複した脚注の番号が何になるかは、文章を書いている時には分からないので、この番号を保管しておかなくてはなりません。以下の脚注印の例では、脚注番号を保管し
22854 \begin_inset CommandInset ref
22856 reference "fn:これは脚注の一例"
22860 の後に、TeXコードで以下のコマンドを挿入してあります。
22863 \begin_layout Standard
22868 newcounter{MyRepeatFoot}
22869 \begin_inset Newline newline
22874 setcounter{MyRepeatFoot}{
22879 \begin_layout Standard
22880 そして、以下のコマンドを使って、脚注印を付けます。
22883 \begin_layout Standard
22893 \begin_layout Standard
22898 \begin_layout Plain Layout
22912 \begin_layout Subsection
22914 \begin_inset CommandInset label
22924 \begin_layout Plain Layout
22933 \begin_layout Standard
22934 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
22937 \begin_layout Standard
22942 @addtoreset{footnote}{section}
22945 \begin_layout Standard
22949 \begin_layout Standard
22950 \begin_inset VSpace bigskip
22953 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
22956 \begin_layout Standard
22968 \begin_layout Standard
22972 \begin_layout Plain Layout
22989 \begin_layout Plain Layout
22990 これは、ローマ数字を使った脚注の例です。
22998 \begin_layout Standard
22999 付番様式を大文字ローマ数字に変更するには、上記コマンドの
23011 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
23023 を使用してください。記号を使って付「番」するには、
23032 \begin_layout Standard
23033 \begin_inset Note Greyedout
23036 \begin_layout Plain Layout
23041 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
23047 \begin_inset Newline newline
23051 \begin_inset Note Greyedout
23054 \begin_layout Plain Layout
23059 記号を使うと9個の脚注しか番号を振ることができません。
23067 \begin_layout Standard
23068 付番様式を変更した後、既定様式に戻すには、上記コマンドの
23084 \begin_layout Plain Layout
23100 \begin_layout Standard
23101 \begin_inset VSpace bigskip
23107 \begin_layout Standard
23108 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
23111 \begin_layout Standard
23116 numberwithin{footnote}{chapter}
23119 \begin_layout Standard
23126 コマンドを使用できるようにするためには、文書設定の
23133 \begin_inset space ~
23141 \begin_layout Standard
23145 \begin_layout Plain Layout
23149 numberwithin{footnote}{chapter}
23160 \begin_layout Plain Layout
23165 「章番号.脚注番号」スキームで番号を振られた脚注です。
23176 \begin_layout Plain Layout
23192 \begin_layout Standard
23193 \begin_inset Note Greyedout
23196 \begin_layout Plain Layout
23203 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
23211 \begin_layout Standard
23214 Roman{footnote}」スキームを得るには、
23220 の代わりに以下のコマンドを使用してください。
23223 \begin_layout Standard
23237 \begin_layout Subsection
23242 \begin_layout Plain Layout
23251 \begin_layout Standard
23252 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
23254 \begin_inset space \thinspace{}
23260 \begin_layout Standard
23270 \begin_inset Newline newline
23284 \begin_layout Standard
23285 \begin_inset VSpace bigskip
23288 二段組文書では、脚注は各段底部に表示されます(図
23289 \begin_inset CommandInset ref
23291 reference "fig:標準的脚注配置"
23296 \begin_inset CommandInset ref
23298 reference "fig:ftnright脚注配置"
23302 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
23305 \begin_layout Standard
23310 usepackage{ftnright}
23313 \begin_layout Standard
23314 というコマンドを書いて、LaTeXパッケージ
23322 \begin_layout Plain Layout
23323 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
23329 \begin_inset Float figure
23335 \begin_layout Plain Layout
23339 \begin_layout Plain Layout
23349 \begin_inset Graphics
23350 filename ../clipart/without_fntright.pdf
23352 scaleBeforeRotation
23360 \begin_layout Plain Layout
23370 \begin_layout Plain Layout
23371 \begin_inset Caption
23373 \begin_layout Plain Layout
23374 \begin_inset CommandInset label
23393 \begin_layout Standard
23394 \begin_inset Float figure
23400 \begin_layout Plain Layout
23404 \begin_layout Plain Layout
23414 \begin_inset Graphics
23415 filename ../clipart/with_fntright.pdf
23417 scaleBeforeRotation
23425 \begin_layout Plain Layout
23435 \begin_layout Plain Layout
23436 \begin_inset Caption
23438 \begin_layout Plain Layout
23439 \begin_inset CommandInset label
23441 name "fig:ftnright脚注配置"
23462 \begin_layout Standard
23463 \begin_inset VSpace bigskip
23467 \begin_inset CommandInset ref
23473 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
23477 \begin_layout Plain Layout
23483 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
23485 文書\SpecialChar \menuseparator
23486 設定\SpecialChar \menuseparator
23493 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
23496 \begin_layout Standard
23504 \begin_layout Standard
23508 \begin_layout Standard
23509 \begin_inset Float figure
23514 \begin_layout Plain Layout
23519 \begin_layout Plain Layout
23529 \begin_inset Graphics
23530 filename ../clipart/endnotes.pdf
23531 scaleBeforeRotation
23539 \begin_layout Plain Layout
23549 \begin_layout Plain Layout
23550 \begin_inset Caption
23552 \begin_layout Plain Layout
23553 \begin_inset CommandInset label
23559 後注 – 注を節ないし章末に別段落として印字します。
23572 \begin_layout Standard
23573 \begin_inset VSpace medskip
23576 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
23579 \begin_layout Standard
23586 notesname}{Anmerkungen}
23589 \begin_layout Standard
23590 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
23593 \begin_layout Standard
23594 \begin_inset VSpace medskip
23598 \begin_inset CommandInset ref
23600 reference "sub:脚注の付番"
23604 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
23616 を用いてください。後注番号をリセットするには、第
23617 \begin_inset CommandInset ref
23619 reference "sub:脚注の付番"
23640 \begin_layout Standard
23642 \begin_inset CommandInset ref
23663 \begin_layout Standard
23664 \begin_inset VSpace bigskip
23667 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
23675 \begin_layout Plain Layout
23676 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
23682 \begin_inset CommandInset citation
23691 \begin_layout Standard
23692 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
23693 \begin_inset CommandInset citation
23695 key "latexcompanion,latexguide,latexbook"
23702 \begin_layout Section
23707 \begin_layout Plain Layout
23708 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
23716 \begin_layout Standard
23717 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
23719 挿入\SpecialChar \menuseparator
23723 \begin_inset Graphics
23724 filename ../../images/marginalnote-insert.png
23726 scaleBeforeRotation
23730 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
23733 \begin_layout Standard
23735 \begin_inset Marginal
23738 \begin_layout Plain Layout
23747 \begin_layout Standard
23748 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
23749 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
23752 \begin_layout Standard
23753 \begin_inset VSpace bigskip
23756 傍注を内側余白に置くには、傍注の前にTeXコードで
23759 \begin_layout Standard
23767 \begin_layout Standard
23768 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
23772 \begin_layout Plain Layout
23782 \begin_inset Marginal
23785 \begin_layout Plain Layout
23794 \begin_inset Newline newline
23800 \begin_inset Note Greyedout
23803 \begin_layout Plain Layout
23804 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
23812 \begin_layout Standard
23816 \begin_layout Standard
23824 \begin_layout Standard
23829 \begin_layout Plain Layout
23839 \begin_inset Note Greyedout
23842 \begin_layout Plain Layout
23849 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
23857 \begin_layout Standard
23858 \begin_inset VSpace bigskip
23862 \begin_inset Marginal
23865 \begin_layout Plain Layout
23866 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
23872 \begin_inset CommandInset ref
23874 reference "sub:複数行"
23878 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
23879 \begin_inset space \thinspace{}
23883 \begin_inset Marginal
23886 \begin_layout Plain Layout
23887 \begin_inset space \hspace*{}
23891 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
23899 \begin_layout Standard
23900 \begin_inset VSpace bigskip
23906 \begin_layout Standard
23907 \begin_inset Note Greyedout
23910 \begin_layout Plain Layout
23915 通常、傍注は表やフロート、脚注の中では使用することができません。
23923 \begin_layout Standard
23924 \begin_inset VSpace bigskip
23930 \begin_layout Standard
23934 \begin_layout Plain Layout
23944 \begin_inset Note Note
23947 \begin_layout Plain Layout
23952 が導入されているときのみ表示されます。
23960 \begin_layout Standard
23969 \begin_layout Plain Layout
23970 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
23975 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
23979 パッケージが提供するコマンドを使うようになります。
23982 \begin_layout Standard
23987 usepackage{marginnote}
23988 \begin_inset Newline newline
24000 \begin_layout Standard
24005 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
24009 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
24010 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
24013 \begin_layout Standard
24019 \begin_layout Standard
24020 という形で書くことで設定することができます。ここで「オフセット」には、表
24021 \begin_inset CommandInset ref
24027 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
24032 \begin_inset space \thinspace{}
24036 \begin_inset Marginal
24039 \begin_layout Plain Layout
24041 \begin_inset space \thinspace{}
24053 \begin_layout Plain Layout
24063 \begin_layout Standard
24064 \begin_inset VSpace medskip
24071 を使うと、傍注の揃えを変更することもできます。たとえば、
24074 \begin_layout Standard
24081 raggedleftmarginnote}{
24084 \begin_inset Newline newline
24091 raggedrightmarginnote}{
24096 \begin_layout Standard
24097 というコマンドを使うと、中央揃えになります。
24101 raggedleftmarginnote
24103 とは、左側に表示されている傍注のことを指します
24107 \begin_layout Plain Layout
24113 raggedleftmarginnote}{
24118 \begin_layout Plain Layout
24124 raggedrightmarginnote}{
24132 \begin_inset Marginal
24135 \begin_layout Plain Layout
24136 この傍注の文章は中央揃えになっています。
24144 \begin_layout Standard
24151 raggedleftmarginnote}{
24154 \begin_inset Newline newline
24161 raggedrightmarginnote}{
24169 \begin_layout Plain Layout
24175 raggedleftmarginnote}{
24180 \begin_layout Plain Layout
24186 raggedrightmarginnote}{
24196 \begin_layout Standard
24200 \begin_layout Standard
24201 \begin_inset VSpace medskip
24209 \begin_inset CommandInset citation
24218 \begin_layout Standard
24219 \begin_inset VSpace bigskip
24222 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
24230 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
24233 \begin_layout Standard
24243 \begin_inset Newline newline
24253 \begin_inset Newline newline
24260 \begin_layout Plain Layout
24278 \begin_inset Newline newline
24285 \begin_layout Plain Layout
24303 \begin_layout Standard
24307 \begin_layout Plain Layout
24318 \begin_layout Plain Layout
24329 \begin_layout Plain Layout
24340 \begin_layout Plain Layout
24354 \begin_inset Marginal
24357 \begin_layout Plain Layout
24358 これは、定義したヘッダをつけた傍注です。
24367 \begin_layout Plain Layout
24378 \begin_layout Plain Layout
24392 \begin_inset Note Note
24395 \begin_layout Plain Layout
24396 傍注書式は、この例の分だけ変更してあります。
24404 \begin_layout Standard
24408 \begin_layout Plain Layout
24418 \begin_inset Note Note
24421 \begin_layout Plain Layout
24426 が導入されていないときのみ表示されます。
24434 \begin_layout Standard
24435 本節の以下の部分を出力に表示するには、LaTeXパッケージ
24442 \begin_layout Standard
24446 \begin_layout Plain Layout
24458 \begin_layout Chapter
24462 \begin_layout Section
24467 \begin_layout Plain Layout
24476 \begin_layout Standard
24477 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
24478 \begin_inset CommandInset ref
24480 reference "sec:ミニページ"
24485 \begin_inset CommandInset ref
24491 節参照)、単語がハイフネートされるのを予防したり(第
24492 \begin_inset CommandInset ref
24494 reference "sec:ハイフネーションの回避"
24499 \begin_inset CommandInset ref
24501 reference "sub:垂直揃え"
24505 節参照)、あるいは文章の背景色を設定したり(第
24506 \begin_inset CommandInset ref
24508 reference "sec:色付きボックス"
24515 \begin_layout Standard
24518 挿入\SpecialChar \menuseparator
24522 \begin_inset Graphics
24523 filename ../../images/box-insert.png
24525 scaleBeforeRotation
24529 を使って挿入することができます。すると、
24530 \begin_inset Graphics
24531 filename ../clipart/BoxInsetDefaultQt4.png
24533 scaleBeforeRotation
24541 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
24545 メニューを選択すると現れるボックスダイアログでは、
24561 型は、新規ボックスの既定値となっており、第
24562 \begin_inset CommandInset ref
24564 reference "sec:ミニページ"
24573 \begin_inset CommandInset ref
24575 reference "sec:Parboxes"
24582 \begin_layout Standard
24583 ボックスは付番されないので、フロートや脚注のように参照することはできません。
24586 \begin_layout Standard
24587 \begin_inset Note Greyedout
24590 \begin_layout Plain Layout
24599 環境の単独要素とすべきではありません。
24607 \begin_layout Standard
24608 \begin_inset Note Greyedout
24611 \begin_layout Plain Layout
24612 【註】理由は不明ですが、枠付きボックスを使用している場合には、
24625 \begin_inset CommandInset ref
24627 reference "sec:ハイフネーションの回避"
24639 \begin_layout Section
24641 \begin_inset CommandInset label
24643 name "sec:ボックスダイアログ"
24651 \begin_layout Plain Layout
24652 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
24660 \begin_layout Subsection
24665 \begin_layout Plain Layout
24666 ぼっくす@ボックス ! すんぽう@寸法
24674 \begin_layout Standard
24683 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
24684 \begin_inset CommandInset ref
24694 フィールドには、加えて以下の寸法を使用することができます。
24697 \begin_layout Description
24698 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
24699 \begin_inset Newline newline
24703 \begin_inset Newline newline
24707 \begin_inset Newline newline
24711 \begin_inset Box Boxed
24720 height_special "depth"
24723 \begin_layout Plain Layout
24731 \begin_inset Newline newline
24735 \begin_inset Newline newline
24741 \begin_layout Description
24742 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
24743 \begin_inset Box Boxed
24752 height_special "height"
24755 \begin_layout Plain Layout
24765 \begin_layout Description
24767 \begin_inset Box Boxed
24776 height_special "totalheight"
24779 \begin_layout Plain Layout
24789 \begin_layout Description
24790 幅 これはボックスの幅を高さに設定します。
24791 \begin_inset Box Boxed
24800 height_special "width"
24803 \begin_layout Plain Layout
24813 \begin_layout Subsection
24818 \begin_layout Plain Layout
24819 ぼっくす@ボックス ! もじそろえ@文字揃え
24827 \begin_layout Standard
24832 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
24835 \begin_layout Description
24837 \begin_inset Box Boxed
24846 height_special "totalheight"
24849 \begin_layout Plain Layout
24859 \begin_layout Description
24861 \begin_inset Box Boxed
24870 height_special "totalheight"
24873 \begin_layout Plain Layout
24883 \begin_layout Description
24885 \begin_inset Box Boxed
24894 height_special "totalheight"
24897 \begin_layout Plain Layout
24907 \begin_layout Standard
24908 \begin_inset Note Greyedout
24911 \begin_layout Plain Layout
24916 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
24924 \begin_layout Standard
24925 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
24928 \begin_layout Standard
24929 \begin_inset VSpace bigskip
24936 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
24939 \begin_layout Description
24941 \begin_inset Box Boxed
24950 height_special "totalheight"
24953 \begin_layout Plain Layout
24963 \begin_layout Description
24965 \begin_inset Box Boxed
24974 height_special "totalheight"
24977 \begin_layout Plain Layout
24987 \begin_layout Description
24989 \begin_inset Box Boxed
24998 height_special "totalheight"
25001 \begin_layout Plain Layout
25011 \begin_layout Description
25012 広げる これは例示のための本文行です。
25013 \begin_inset Box Boxed
25022 height_special "totalheight"
25025 \begin_layout Plain Layout
25030 \begin_layout Plain Layout
25035 \begin_layout Plain Layout
25045 \begin_layout Standard
25046 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
25049 \begin_layout Standard
25050 \begin_inset VSpace bigskip
25057 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
25060 \begin_layout Standard
25062 \begin_inset Box Boxed
25071 height_special "totalheight"
25074 \begin_layout Plain Layout
25079 \begin_layout Plain Layout
25084 \begin_layout Plain Layout
25094 \begin_layout Standard
25099 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
25102 \begin_layout Standard
25104 \begin_inset Box Boxed
25113 height_special "totalheight"
25116 \begin_layout Plain Layout
25118 このボックスの文章は水平方向に広げてあります。
25126 \begin_layout Subsection
25128 \begin_inset CommandInset label
25138 \begin_layout Plain Layout
25139 ぼっくす@ボックス ! そうしょく@装飾
25147 \begin_layout Standard
25152 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
25155 \begin_layout Description
25156 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
25163 \begin_inset Box Boxed
25172 height_special "totalheight"
25175 \begin_layout Plain Layout
25185 \begin_layout Description
25190 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
25210 \begin_inset Box Framed
25219 height_special "totalheight"
25222 \begin_layout Plain Layout
25231 \begin_layout Description
25232 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
25233 \begin_inset space \thinspace{}
25237 \begin_inset Box ovalbox
25246 height_special "totalheight"
25249 \begin_layout Plain Layout
25259 \begin_layout Description
25260 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
25261 \begin_inset space \thinspace{}
25265 \begin_inset Box Ovalbox
25274 height_special "totalheight"
25277 \begin_layout Plain Layout
25287 \begin_layout Description
25288 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
25295 \begin_inset space \thinspace{}
25299 \begin_inset Box Shadowbox
25308 height_special "totalheight"
25311 \begin_layout Plain Layout
25321 \begin_layout Description
25322 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
25326 \begin_layout Plain Layout
25328 \begin_inset CommandInset ref
25330 reference "sec:色付きボックス"
25339 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
25340 \begin_inset Box Shaded
25349 height_special "totalheight"
25352 \begin_layout Plain Layout
25361 \begin_layout Description
25362 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
25363 \begin_inset space \thinspace{}
25373 \begin_inset space \thinspace{}
25383 \begin_inset space \thinspace{}
25393 \begin_inset space \thinspace{}
25397 \begin_inset space \thinspace{}
25401 \begin_inset space \thinspace{}
25405 \begin_inset Box Doublebox
25414 height_special "totalheight"
25417 \begin_layout Plain Layout
25427 \begin_layout Standard
25428 \begin_inset VSpace bigskip
25431 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
25439 \begin_layout Plain Layout
25440 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
25448 \begin_layout Section
25453 \begin_layout Plain Layout
25454 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
25462 \begin_layout Standard
25470 \begin_inset space \thinspace{}
25473 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
25474 \begin_inset space \thinspace{}
25480 \begin_layout Standard
25490 \begin_layout Standard
25494 \begin_layout Plain Layout
25506 \begin_inset Box Boxed
25515 height_special "totalheight"
25518 \begin_layout Plain Layout
25527 \begin_inset space \thinspace{}
25531 \begin_inset space \thinspace{}
25535 \begin_inset space \thinspace{}
25547 \begin_layout Plain Layout
25561 \begin_layout Standard
25562 \begin_inset VSpace bigskip
25565 枠とボックスの内容との空白は、すべての枠様式について3
25566 \begin_inset space \thinspace{}
25569 ptが既定値になっています。これは、長さ
25575 を別の値に設定することによって変更することができます。たとえば
25578 \begin_layout Standard
25588 \begin_layout Standard
25590 \begin_inset space \thinspace{}
25593 ptにし、以下のボックスのようになります。
25596 \begin_layout Standard
25600 \begin_layout Plain Layout
25612 \begin_inset Box Boxed
25621 height_special "totalheight"
25624 \begin_layout Plain Layout
25633 \begin_inset space \thinspace{}
25637 \begin_inset space \thinspace{}
25641 \begin_inset space \thinspace{}
25653 \begin_layout Plain Layout
25667 \begin_layout Standard
25668 \begin_inset VSpace bigskip
25671 楕円形ボックスの丸い角の直径は、コマンド
25680 \begin_layout Standard
25688 \begin_layout Standard
25690 \begin_inset space \thinspace{}
25696 \begin_layout Standard
25704 \begin_layout Standard
25708 \begin_inset space \thinspace{}
25712 \begin_inset space \thinspace{}
25726 \begin_layout Standard
25730 \begin_layout Plain Layout
25740 \begin_inset Box Ovalbox
25749 height_special "totalheight"
25752 \begin_layout Plain Layout
25761 \begin_inset space \thinspace{}
25765 \begin_inset space \thinspace{}
25769 \begin_inset space \thinspace{}
25781 \begin_layout Plain Layout
25793 \begin_layout Standard
25794 \begin_inset VSpace bigskip
25803 を変更することで調整できます。以下のボックスでは
25806 \begin_layout Standard
25816 \begin_layout Standard
25818 \begin_inset space \thinspace{}
25824 \begin_layout Standard
25828 \begin_layout Plain Layout
25840 \begin_inset Box Shadowbox
25849 height_special "totalheight"
25852 \begin_layout Plain Layout
25861 \begin_inset space \thinspace{}
25865 \begin_inset space \thinspace{}
25869 \begin_inset space \thinspace{}
25881 \begin_layout Plain Layout
25895 \begin_layout Standard
25896 \begin_inset VSpace bigskip
25902 \begin_layout Standard
25910 \begin_inset space \thinspace{}
25913 ptです。ボックスの中身と枠の間の空白の既定値は9
25914 \begin_inset space \thinspace{}
25923 の値を変えることで変更することができます。たとえば、下記の
25930 \begin_layout Standard
25938 \begin_inset Newline newline
25948 \begin_layout Standard
25949 というTeXコードコマンドで設定してあります。
25953 \begin_layout Plain Layout
25962 \begin_layout Plain Layout
25974 \begin_inset Box Framed
25983 height_special "totalheight"
25986 \begin_layout Plain Layout
26000 \begin_layout Plain Layout
26009 \begin_layout Plain Layout
26023 \begin_layout Standard
26024 \begin_inset VSpace bigskip
26030 \begin_layout Standard
26035 ボックスでは、ボックスの内容と枠の余白の既定値は3
26036 \begin_inset space \thinspace{}
26045 の値を変更することで変えられます。既定の背景色である赤色は、
26049 definecolor{shadebox}
26051 コマンドで局所的に変更することもできますし、
26053 ツール\SpecialChar \menuseparator
26054 設定\SpecialChar \menuseparator
26055 色\SpecialChar \menuseparator
26058 メニューからグローバルに変更することもできます。
26065 \begin_inset CommandInset ref
26067 reference "sec:色付きの表"
26075 \begin_layout Plain Layout
26086 をプリアンブルに読み込む必要があります。第
26087 \begin_inset CommandInset ref
26089 reference "sec:色付きボックス"
26101 \begin_layout Standard
26102 たとえば、下記の影付き背景ボックスの外見は
26105 \begin_layout Standard
26115 \begin_inset Newline newline
26122 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26125 \begin_layout Standard
26126 というTeXコードコマンドを使って設定してあります。
26129 \begin_layout Standard
26133 \begin_layout Plain Layout
26142 \begin_layout Plain Layout
26146 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26152 \begin_inset Box Shaded
26161 height_special "totalheight"
26164 \begin_layout Plain Layout
26180 \begin_layout Plain Layout
26189 \begin_layout Plain Layout
26193 definecolor{shadecolor}{rgb}{1,0,0}
26201 \begin_layout Standard
26202 \begin_inset VSpace bigskip
26205 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
26208 \begin_layout Section
26210 \begin_inset CommandInset label
26220 \begin_layout Plain Layout
26221 ぼっくす@ボックス ! みにぺーじ@ミニページ
26229 \begin_layout Standard
26230 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
26233 \begin_layout Standard
26234 ミニページは、複数の言語を含む文書を執筆する際に便利です。
26237 \begin_layout Standard
26238 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
26242 \SpecialChar \menuseparator
26247 \SpecialChar \menuseparator
26252 メニューで挿入した水平フィルで隔てられています。
26253 \begin_inset Newpage newpage
26259 \begin_layout Standard
26260 \begin_inset Box Frameless
26269 height_special "totalheight"
26272 \begin_layout Plain Layout
26273 Dies ist ein deutscher Text.
26274 Dies ist ein deutscher Text.
26275 Dies ist ein deutscher Text.
26276 Dies ist ein deutscher Text.
26277 Dies ist ein deutscher Text.
26278 Dies ist ein deutscher Text.
26279 Dies ist ein deutscher Text.
26280 Dies ist ein deutscher Text.
26281 Dies ist ein deutscher Text.
26282 Dies ist ein deutscher Text.
26283 Dies ist ein deutscher Text.
26284 Dies ist ein deutscher Text.
26285 Dies ist ein deutscher Text
26289 \begin_layout Plain Layout
26290 Dies ist eine deutsche Fußnote.
26296 Dies ist ein deutscher Text.
26297 Dies ist ein deutscher Text.
26303 \begin_inset space \hfill{}
26307 \begin_inset Box Frameless
26316 height_special "totalheight"
26319 \begin_layout Plain Layout
26320 This is an English Text.
26321 This is an English Text.
26322 This is an English Text.
26323 This is an English Text.
26324 This is an English Text.
26325 This is an English Text.
26326 This is an English Text.
26327 This is an English Text.
26328 This is an English Text.
26329 This is an English Text.
26330 This is an English Text.
26331 This is an English Text.
26332 This is an English Text.
26333 This is an English Text.
26334 This is an English Text.
26335 This is an English Text.
26339 \begin_layout Plain Layout
26340 This is an English footnote.
26345 This is an English Text.
26354 \begin_layout Standard
26355 \begin_inset VSpace bigskip
26358 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
26359 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
26362 \begin_layout Standard
26364 \begin_inset Tabular
26365 <lyxtabular version="3" rows="3" columns="4">
26367 <column alignment="center" valignment="top" width="0pt">
26368 <column alignment="center" valignment="top" width="0pt">
26369 <column alignment="center" valignment="top" width="0pt">
26370 <column alignment="center" valignment="top" width="0pt">
26372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26375 \begin_layout Plain Layout
26381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26384 \begin_layout Plain Layout
26390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26393 \begin_layout Plain Layout
26398 \begin_layout Plain Layout
26409 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26412 \begin_layout Plain Layout
26420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26423 \begin_layout Plain Layout
26429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26432 \begin_layout Plain Layout
26438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26441 \begin_layout Plain Layout
26447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26450 \begin_layout Plain Layout
26458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26461 \begin_layout Plain Layout
26467 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26470 \begin_layout Plain Layout
26476 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26479 \begin_layout Plain Layout
26485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26488 \begin_layout Plain Layout
26502 \begin_layout Standard
26504 \begin_inset Box Frameless
26513 height_special "totalheight"
26516 \begin_layout Plain Layout
26518 \begin_inset Tabular
26519 <lyxtabular version="3" rows="3" columns="4">
26521 <column alignment="center" valignment="top" width="0pt">
26522 <column alignment="center" valignment="top" width="0pt">
26523 <column alignment="center" valignment="top" width="0pt">
26524 <column alignment="center" valignment="top" width="0pt">
26526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26529 \begin_layout Plain Layout
26535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26538 \begin_layout Plain Layout
26544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26547 \begin_layout Plain Layout
26552 \begin_layout Plain Layout
26563 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26566 \begin_layout Plain Layout
26574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26577 \begin_layout Plain Layout
26583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26586 \begin_layout Plain Layout
26592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26595 \begin_layout Plain Layout
26601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26604 \begin_layout Plain Layout
26612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26615 \begin_layout Plain Layout
26621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26624 \begin_layout Plain Layout
26630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26633 \begin_layout Plain Layout
26639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26642 \begin_layout Plain Layout
26661 \begin_layout Standard
26662 \begin_inset VSpace bigskip
26665 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
26669 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
26672 \begin_layout Standard
26673 ミニページは、文章部に背景色を与えるのに使用することもできます。第
26674 \begin_inset CommandInset ref
26676 reference "sub:段落の着色"
26683 \begin_layout Standard
26684 \begin_inset Note Greyedout
26687 \begin_layout Plain Layout
26692 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
26700 \begin_layout Section
26702 \begin_inset CommandInset label
26704 name "sec:Parboxes"
26712 \begin_layout Plain Layout
26713 ぼっくす@ボックス ! Parboxes
26721 \begin_layout Standard
26722 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。ミニページとの主な違いは、ミニページの方は、parboxとは違って、本
26723 当のボックスではなくLaTeX環境であるところです。
26726 \begin_layout Standard
26728 \begin_inset Box Frameless
26737 height_special "totalheight"
26740 \begin_layout Plain Layout
26741 これはparbox内の文章です。これはparbox内の文章です。
26744 \begin_layout Plain Layout
26749 \begin_layout Plain Layout
26750 これはparbox内の脚注であり、したがって表示はされません。
26763 \begin_layout Section
26768 \begin_layout Plain Layout
26769 ぼっくす@ボックス ! もじよう@文字用
26777 \begin_layout Subsection
26779 \begin_inset CommandInset label
26781 name "sec:ハイフネーションの回避"
26789 \begin_layout Plain Layout
26790 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
26798 \begin_layout Standard
26799 単語や文章がハイフネートされるのを抑制する特殊なボックスを作ることができます。
26800 \begin_inset Newline newline
26806 \begin_layout Standard
26807 This line is an example to show how you can prevent the hyphenation of
26808 \begin_inset Quotes eld
26812 \begin_inset Quotes erd
26818 \begin_layout Standard
26819 「veryverylongword」という単語がハイフネートされるのを抑制するには、単語の前にTeXコードで
26822 \begin_layout Standard
26830 \begin_layout Standard
26831 というコマンドを付け加えます。単語の後ろには、 TeXコードで閉じ括弧「
26838 \begin_layout Standard
26842 \begin_layout Standard
26843 This line is an example to show how you can prevent the hyphenation of
26847 \begin_layout Plain Layout
26857 \begin_inset Quotes eld
26861 \begin_inset Quotes erd
26868 \begin_layout Plain Layout
26878 \begin_layout Standard
26879 別の方法としては、以下のように、単語の前に直接TeXコードで「
26888 \begin_layout Standard
26889 This line is an example to show how you can prevent the hyphenation of
26890 \begin_inset Quotes eld
26897 \begin_layout Plain Layout
26907 \begin_inset Quotes erd
26913 \begin_layout Standard
26914 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
26918 \SpecialChar \menuseparator
26923 \SpecialChar \menuseparator
26931 arg "newline-insert newline"
26934 )から改行を単語の前に入れてください。
26937 \begin_layout Standard
26938 This line is an example to show how you can prevent the hyphenation of
26939 \begin_inset Newline newline
26946 \begin_layout Plain Layout
26956 \begin_inset Quotes eld
26960 \begin_inset Quotes erd
26967 \begin_layout Plain Layout
26977 \begin_layout Subsection
26979 \begin_inset CommandInset label
26989 \begin_layout Plain Layout
26990 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
26999 \begin_layout Plain Layout
27000 ぼっくす@ボックス ! Raiseboxes
27008 \begin_layout Standard
27015 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
27024 \begin_layout Standard
27029 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
27032 \begin_layout Standard
27033 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
27036 \begin_layout Standard
27037 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
27040 \begin_layout Standard
27050 \begin_layout Standard
27051 というコマンドを挿入してください。単語の後には、閉じ括弧「
27056 \begin_inset Newline newline
27062 \begin_layout Standard
27063 This is a text line with the word
27067 \begin_layout Plain Layout
27079 \begin_inset Quotes eld
27083 \begin_inset Quotes erd
27090 \begin_layout Plain Layout
27100 \begin_layout Standard
27101 \begin_inset VSpace bigskip
27104 行中の文字を上げ下げすると、以下のように行間が広がります。
27107 \begin_layout Standard
27108 This is a text line with the word
27112 \begin_layout Plain Layout
27124 \begin_inset Quotes eld
27128 \begin_inset Quotes erd
27135 \begin_layout Plain Layout
27143 \begin_inset Newline newline
27146 This is a text line with the word
27150 \begin_layout Plain Layout
27160 \begin_inset Quotes eld
27164 \begin_inset Quotes erd
27171 \begin_layout Plain Layout
27181 \begin_layout Standard
27182 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
27185 \begin_layout Standard
27195 \begin_layout Standard
27199 \begin_layout Standard
27200 This is a text line with the word
27204 \begin_layout Plain Layout
27216 \begin_inset Quotes eld
27220 \begin_inset Quotes erd
27227 \begin_layout Plain Layout
27235 \begin_inset Newline newline
27238 This is a text line with the word
27242 \begin_layout Plain Layout
27246 raisebox{0.5cm}[0pt]{
27252 \begin_inset Quotes eld
27256 \begin_inset Quotes erd
27263 \begin_layout Plain Layout
27273 \begin_layout Section
27275 \begin_inset CommandInset label
27285 \begin_layout Plain Layout
27286 ぼっくす@ボックス ! いろつき@色付き
27294 \begin_layout Subsection
27299 \begin_layout Plain Layout
27308 \begin_layout Standard
27309 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
27317 \begin_layout Plain Layout
27318 LaTeXぱっけーじ@LaTeXパッケージ ! color
27323 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
27326 \begin_layout Standard
27331 @ifundefined{textcolor}
27332 \begin_inset Newline newline
27339 \begin_layout Plain Layout
27350 usepackage{color}}{}
27353 \begin_layout Standard
27358 パッケージは、文章を着色するとLyXが自動的に読み込みます
27362 \begin_layout Plain Layout
27363 これが二度読み込まれることを回避するには、
27377 \begin_layout Standard
27378 \begin_inset VSpace medskip
27387 コマンドを使って作ります。これは、以下のような書式で使われます。
27390 \begin_layout Standard
27395 colorbox{color}{ボックスの内容}
27398 \begin_layout Standard
27399 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
27402 \begin_layout Standard
27404 \begin_inset Newline newline
27440 \begin_inset Newline newline
27444 \begin_inset CommandInset ref
27446 reference "sec:色付きの表"
27450 節に述べられているようにすれば、自前の色を定義することもできます。
27453 \begin_layout Standard
27454 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
27457 \begin_layout Standard
27465 \begin_layout Standard
27466 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
27471 \begin_inset Newline newline
27477 \begin_layout Standard
27482 \begin_layout Plain Layout
27495 \begin_layout Plain Layout
27505 \begin_layout Standard
27506 \begin_inset VSpace bigskip
27509 ボックスの枠を別の色にしたい場合には、以下の書式で
27518 \begin_layout Standard
27523 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
27526 \begin_layout Standard
27539 の拡張です。枠の太さと枠とボックスの中身との余白は、第
27540 \begin_inset CommandInset ref
27561 \begin_layout Standard
27565 \begin_layout Standard
27570 fcolorbox{cyan}{magenta}{
27573 \begin_layout Standard
27577 \begin_layout Standard
27579 \begin_inset space \thinspace{}
27583 \begin_inset Newline newline
27590 \begin_layout Plain Layout
27605 \begin_layout Plain Layout
27609 fcolorbox{cyan}{magenta}{
27614 これは着色した色付きボックス中の文章です。
27618 \begin_layout Plain Layout
27628 \begin_layout Standard
27629 \begin_inset VSpace bigskip
27632 もちろん、色付きボックスの中に色付き文字を入れることもできます
27633 \begin_inset Newline newline
27640 \begin_layout Plain Layout
27644 fcolorbox{cyan}{magenta}{
27651 これは着色した色付きボックス中の色付き文章です。
27657 \begin_layout Plain Layout
27668 \begin_layout Plain Layout
27682 \begin_layout Standard
27685 \begin_inset VSpace medskip
27691 \begin_layout Standard
27692 \begin_inset Note Greyedout
27695 \begin_layout Plain Layout
27700 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
27708 \begin_layout Subsection
27710 \begin_inset CommandInset label
27720 \begin_layout Plain Layout
27729 \begin_layout Standard
27730 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
27739 \begin_layout Standard
27747 \begin_layout Standard
27748 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
27755 \begin_layout Standard
27759 \begin_layout Plain Layout
27763 colorbox{lightgrey}{
27769 \begin_inset Box Frameless
27778 height_special "totalheight"
27781 \begin_layout Plain Layout
27782 これは背景色を付けた文章です。これは背景色を付けた文章です。
27785 \begin_layout Plain Layout
27786 \begin_inset VSpace defskip
27793 \begin_layout Plain Layout
27799 を付けることもできますし、図表を挿入することもできます。
27802 \begin_layout Plain Layout
27804 \begin_inset Tabular
27805 <lyxtabular version="3" rows="3" columns="3">
27807 <column alignment="center" valignment="top" width="0">
27808 <column alignment="center" valignment="top" width="0">
27809 <column alignment="center" valignment="top" width="0">
27811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27814 \begin_layout Plain Layout
27820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27823 \begin_layout Plain Layout
27829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27832 \begin_layout Plain Layout
27840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27843 \begin_layout Plain Layout
27849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27852 \begin_layout Plain Layout
27854 \begin_inset Quotes erd
27862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27865 \begin_layout Plain Layout
27873 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27876 \begin_layout Plain Layout
27882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27885 \begin_layout Plain Layout
27891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27894 \begin_layout Plain Layout
27914 \begin_layout Plain Layout
27924 \begin_layout Section
27928 \begin_layout Standard
27929 本節で述べられているコマンドを使用するには、文書プリアンブルで
27932 \begin_layout Standard
27937 @ifundefined{rotatebox}
27938 \begin_inset Newline newline
27945 \begin_layout Plain Layout
27956 usepackage{graphicx}}{}
27959 \begin_layout Standard
27968 \begin_layout Plain Layout
27969 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
27974 LaTeXパッケージを読み込む必要があります。
27977 \begin_layout Standard
27978 \begin_inset Note Greyedout
27981 \begin_layout Plain Layout
27986 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
27994 \begin_layout Standard
27995 \begin_inset Note Greyedout
27998 \begin_layout Plain Layout
28003 フロートは回転伸縮したボックスの中に入れることはできません。
28011 \begin_layout Subsection
28016 \begin_layout Plain Layout
28017 ぼっくす@ボックス ! かいてんした@回転した
28026 \begin_layout Plain Layout
28027 かいてん@回転 ! そざいの@素材の---
28036 \begin_layout Plain Layout
28046 \begin_layout Plain Layout
28047 ひょうのちょうせい@表の調整 ! かいてん@回転
28055 \begin_layout Standard
28056 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
28062 コマンドを使用すれば作成することができます。
28065 \begin_layout Standard
28070 rotatebox[回転の原点]{回転角}{ボックスの内容}
28073 \begin_layout Standard
28078 の形で指定します。位置として指定可能なのは、
28098 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
28102 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
28106 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
28109 \begin_layout Standard
28110 以下の例では、「回転した」文章の前にTeXコードで
28114 rotatebox[origin=c]{60}{
28116 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
28123 \begin_layout Standard
28128 \begin_layout Plain Layout
28132 rotatebox[origin=c]{60}{
28141 \begin_layout Plain Layout
28151 \begin_layout Standard
28152 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
28155 \begin_layout Standard
28160 \begin_layout Plain Layout
28164 rotatebox[origin=r]{-60}{
28170 \begin_inset Box Doublebox
28179 height_special "totalheight"
28182 \begin_layout Plain Layout
28192 \begin_layout Plain Layout
28203 \begin_layout Plain Layout
28207 rotatebox[origin=lb]{60}{
28213 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28220 \begin_layout Plain Layout
28230 \begin_layout Standard
28231 あるいは、以下のように図や表を入れることもできます。
28234 \begin_layout Standard
28239 \begin_layout Plain Layout
28243 rotatebox[origin=lb]{90}{
28249 \begin_inset Graphics
28250 filename ../clipart/platypus.eps
28260 \begin_layout Plain Layout
28271 \begin_layout Plain Layout
28275 rotatebox[origin=l]{-90}{
28281 \begin_inset Tabular
28282 <lyxtabular version="3" rows="2" columns="2">
28284 <column alignment="center" valignment="top" width="0">
28285 <column alignment="center" valignment="top" width="0">
28287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28290 \begin_layout Plain Layout
28296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28299 \begin_layout Plain Layout
28307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28310 \begin_layout Plain Layout
28316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28319 \begin_layout Plain Layout
28334 \begin_layout Plain Layout
28344 \begin_layout Subsection
28349 \begin_layout Plain Layout
28350 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
28359 \begin_layout Plain Layout
28360 しんしゅく@伸縮 ! そざいの@素材の---
28369 \begin_layout Plain Layout
28370 ず@図 ! のしんしゅく@---の伸縮
28379 \begin_layout Plain Layout
28380 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
28388 \begin_layout Standard
28404 \begin_layout Standard
28414 \begin_layout Standard
28419 scalebox{水平方向}[垂直方向]{ボックスの内容}
28422 \begin_layout Standard
28423 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
28426 \begin_layout Standard
28433 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
28437 \begin_layout Plain Layout
28450 \begin_layout Plain Layout
28460 \begin_layout Standard
28465 scalebox{2}[1]{こんにちは}
28471 \begin_layout Plain Layout
28484 \begin_layout Plain Layout
28494 \begin_layout Standard
28495 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
28499 scalebox{-1}[1]{こんにちは}
28501 というコマンドは、右のように反転文字を生成するのに使用できます:
28505 \begin_layout Plain Layout
28518 \begin_layout Plain Layout
28528 \begin_layout Standard
28533 scalebox{1}[-1]{こんにちは}
28539 \begin_layout Plain Layout
28552 \begin_layout Plain Layout
28562 \begin_layout Standard
28567 scalebox{-1}[1]{ボックスの内容}
28570 \begin_inset Newline newline
28577 reflectbox{ボックスの内容}
28580 \begin_inset Newline newline
28586 \begin_layout Standard
28587 \begin_inset VSpace bigskip
28590 指定した幅や丈にボックスを伸縮させるには、
28599 \begin_layout Standard
28604 resizebox{幅}{丈}{ボックスの内容}
28607 \begin_layout Standard
28608 です。上記二つのコマンド引数のうち一つが感嘆符「
28612 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
28615 \begin_layout Standard
28620 resizebox{2cm}{1cm}{こんにちは}
28626 \begin_layout Plain Layout
28630 resizebox{2cm}{1cm}{
28639 \begin_layout Plain Layout
28647 \begin_inset Newline newline
28654 resizebox{2cm}{!}{こんにちは}
28660 \begin_layout Plain Layout
28673 \begin_layout Plain Layout
28683 \begin_layout Standard
28684 \begin_inset VSpace bigskip
28688 \begin_inset Note Greyedout
28691 \begin_layout Plain Layout
28704 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
28712 \begin_layout Standard
28713 \begin_inset VSpace bigskip
28719 \begin_layout Standard
28720 ボックスは好きな順序で組み合わせることができます。たとえば、
28721 \begin_inset Newline newline
28728 rotatebox[origin=c]{-45}{
28732 reflectbox{こんにちは}}}
28733 \begin_inset Newline newline
28741 \begin_layout Standard
28746 \begin_layout Plain Layout
28750 rotatebox[origin=c]{-45}{
28763 \begin_layout Plain Layout
28773 \begin_layout Standard
28775 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
28778 \begin_layout Standard
28783 \begin_layout Plain Layout
28787 rotatebox[origin=c]{-30}{
28797 \begin_inset Graphics
28798 filename ../clipart/platypus.eps
28808 \begin_layout Plain Layout
28819 \begin_layout Plain Layout
28823 rotatebox[origin=c]{-45}{
28833 \begin_inset Tabular
28834 <lyxtabular version="3" rows="2" columns="2">
28836 <column alignment="center" valignment="top" width="0">
28837 <column alignment="center" valignment="top" width="0">
28839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28842 \begin_layout Plain Layout
28848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28851 \begin_layout Plain Layout
28859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28862 \begin_layout Plain Layout
28868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28871 \begin_layout Plain Layout
28886 \begin_layout Plain Layout
28897 \begin_layout Plain Layout
28901 rotatebox[origin=c]{-45}{
28911 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28918 \begin_layout Plain Layout
28928 \begin_layout Standard
28937 \begin_layout Plain Layout
28938 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
28943 には、別行建て数式も伸縮させることができます。
28946 \begin_layout Chapter
28951 \begin_layout Plain Layout
28952 がいぶぶんしょこうせいようそ@外部文書構成要素
28960 \begin_layout Standard
28963 挿入\SpecialChar \menuseparator
28966 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
28969 \begin_layout Description
28970 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
28973 \begin_layout Description
28974 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
28977 \begin_layout Description
28978 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
28981 \begin_layout Description
28985 \begin_layout Description
28986 子文書 LyXあるいはLaTeX文書。
28989 \begin_layout Section
28994 \begin_layout Plain Layout
28995 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
29003 \begin_layout Standard
29004 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
29005 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
29007 操作性\SpecialChar \menuseparator
29010 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
29013 \begin_layout Standard
29018 \SpecialChar \menuseparator
29023 \SpecialChar \menuseparator
29032 ダイアログから挿入することができます。目下、以下のファイル形式(
29039 \begin_layout Description
29043 \begin_inset CommandInset href
29046 target "http://en.wikipedia.org/wiki/XBoard"
29052 プログラムで作成されたチェス棋譜をサポートします。
29055 \begin_layout Description
29060 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
29061 \begin_inset External
29068 \begin_inset space ~
29072 \begin_inset Note Note
29075 \begin_layout Plain Layout
29076 バグ4398が修正されたら、この保護空白は削除してください!
29082 \begin_inset Newline newline
29085 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
29089 \SpecialChar \menuseparator
29090 日付メニューを使用する方法で、他はLaTeXコマンドの
29096 をTeXコードで使用する方法です。これらの各方法は、表
29097 \begin_inset CommandInset ref
29099 reference "tab:日付挿入方法"
29106 \begin_layout Description
29110 \begin_inset CommandInset href
29113 target "http://en.wikipedia.org/wiki/Dia_(software)"
29119 プログラムで作成したダイアグラムをサポートします。
29122 \begin_layout Description
29126 \begin_inset CommandInset href
29129 target "http://en.wikipedia.org/wiki/LilyPond"
29135 プログラムで作成した楽譜の組版に使用されます。
29138 \begin_layout Description
29139 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
29155 オプションを指定しないと、PDFの最初のページのみが挿入されます。
29158 \begin_layout Description
29159 ラスターイメージ これはビットマップ画像に使用します。よく使われる画像形式のほとんどすべてがサポートされています。
29164 \begin_inset CommandInset ref
29166 reference "sec:画像ダイアログ"
29174 ダイアログを使って挿入される画像と同じように取り扱うことができます。異なる点といえば、ラスターイメージのみを取り扱うことができる点、すなわちPDFやEPS画像は
29178 \begin_layout Description
29182 \begin_inset CommandInset href
29185 target "http://en.wikipedia.org/wiki/Xfig"
29191 プログラムで作成した画像をサポートします。
29194 \begin_layout Standard
29195 \begin_inset Float table
29201 \begin_layout Plain Layout
29202 \begin_inset Caption
29204 \begin_layout Plain Layout
29205 \begin_inset CommandInset label
29219 \begin_layout Plain Layout
29221 \begin_inset Tabular
29222 <lyxtabular version="3" rows="4" columns="4">
29224 <column alignment="center" valignment="top" width="0">
29225 <column alignment="center" valignment="top" width="0">
29226 <column alignment="center" valignment="top" width="0">
29227 <column alignment="center" valignment="top" width="0">
29229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29232 \begin_layout Plain Layout
29238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29241 \begin_layout Plain Layout
29244 外部素材\SpecialChar \menuseparator
29250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29253 \begin_layout Plain Layout
29256 挿入\SpecialChar \menuseparator
29262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29265 \begin_layout Plain Layout
29279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29282 \begin_layout Plain Layout
29288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29291 \begin_layout Plain Layout
29297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29300 \begin_layout Plain Layout
29306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29309 \begin_layout Plain Layout
29317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29320 \begin_layout Plain Layout
29326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29329 \begin_layout Plain Layout
29335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29338 \begin_layout Plain Layout
29344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29347 \begin_layout Plain Layout
29355 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29358 \begin_layout Plain Layout
29364 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29367 \begin_layout Plain Layout
29373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29376 \begin_layout Plain Layout
29382 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29385 \begin_layout Plain Layout
29404 \begin_layout Standard
29417 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
29418 \begin_inset Newline newline
29421 LyX中での外部素材は、ダイアログ内の
29430 \begin_inset Graphics
29431 filename clipart/ExternalMaterialQt4.png
29433 scaleBeforeRotation
29437 のようなボックスとして表示されるか、画像として表示されます。
29440 \begin_layout Standard
29447 には、自製のひな型を定義する方法が説明されています。
29450 \begin_layout Section
29452 \begin_inset CommandInset label
29462 \begin_layout Plain Layout
29463 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
29472 \begin_layout Plain Layout
29473 ふぁいる@ファイル ! いんくるーど@インクルード
29481 \begin_layout Standard
29482 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
29483 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
29484 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
29487 \begin_layout Standard
29488 親文書を開くことなく子文書で作業できるようにするには、子文書の
29492 \SpecialChar \menuseparator
29497 \SpecialChar \menuseparator
29502 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
29505 \begin_layout Standard
29507 \begin_inset Graphics
29508 filename clipart/ChildDocumentQt4.png
29510 scaleBeforeRotation
29514 のようなボックスとして表示されます。子文書を親文書に取り込むには、
29518 \SpecialChar \menuseparator
29523 \SpecialChar \menuseparator
29528 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
29531 \begin_layout Description
29532 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
29540 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
29541 \begin_inset Newline newline
29547 \begin_layout Standard
29553 \begin_inset CommandInset include
29554 LatexCommand include
29555 filename "DummyDocument1.lyx"
29562 \begin_layout Standard
29563 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
29564 あります。取り込んだ文書のラベルは、第
29565 \begin_inset CommandInset ref
29567 reference "sub:外部文書の第1小節"
29571 小節、のように参照することができます。
29574 \begin_layout Standard
29575 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
29576 は、新規頁から始まるように挿入され、改頁して終わります。
29579 \begin_layout Standard
29580 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
29584 \begin_layout Plain Layout
29598 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
29601 \begin_layout Standard
29602 \begin_inset Note Greyedout
29605 \begin_layout Plain Layout
29610 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
29624 \begin_layout Standard
29625 \begin_inset Note Greyedout
29628 \begin_layout Plain Layout
29633 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
29642 \begin_layout Description
29643 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
29647 \begin_layout Itemize
29648 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
29651 \begin_layout Itemize
29652 Inputファイルは、LyX設定の操作性
29654 \SpecialChar \menuseparator
29661 を有効にすると、LyX中でプレビューすることができます。
29664 \begin_layout Itemize
29675 \begin_layout Standard
29681 \begin_inset CommandInset include
29683 filename "DummyDocument2.lyx"
29690 \begin_layout Description
29691 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
29692 に用いられているコマンドは実行されません。
29696 オプションを有効にすると、ソースコード中のすべての空白文字に「
29700 \begin_layout Plain Layout
29711 挿入\SpecialChar \menuseparator
29712 ファイル\SpecialChar \menuseparator
29715 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
29718 \begin_layout Standard
29719 以下は、verbatimとして挿入された子文書です。
29720 \begin_inset CommandInset include
29721 LatexCommand verbatiminput
29722 filename "../DummyTextDocument.txt"
29727 \begin_inset VSpace bigskip
29734 オプションを指定して、verbatimとして挿入された子文書です。
29735 \begin_inset CommandInset include
29736 LatexCommand verbatiminput*
29737 filename "../DummyTextDocument.txt"
29744 \begin_layout Standard
29745 \begin_inset VSpace bigskip
29751 \begin_layout Standard
29752 \begin_inset Note Greyedout
29755 \begin_layout Plain Layout
29764 として取り込んだ文書の文章は、文書行の終わりで改行されません。
29772 \begin_layout Standard
29773 \begin_inset Note Greyedout
29776 \begin_layout Plain Layout
29781 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
29789 \begin_layout Description
29790 プログラムリスト この型については、第
29791 \begin_inset CommandInset ref
29793 reference "cha:プログラムコードリスト"
29800 \begin_layout Standard
29801 \begin_inset Note Greyedout
29804 \begin_layout Plain Layout
29809 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
29817 \begin_layout Chapter
29819 \begin_inset CommandInset label
29821 name "cha:プログラムコードリスト"
29829 \begin_layout Plain Layout
29839 \begin_layout Plain Layout
29849 \begin_layout Plain Layout
29850 ふろーと@フロート ! りすと@リスト
29858 \begin_layout Standard
29859 プログラムコードを取り込んで組版するには、
29863 \SpecialChar \menuseparator
29868 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
29876 \begin_layout Plain Layout
29877 LaTeXぱっけーじ@LaTeXパッケージ ! listings
29882 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
29885 \begin_layout Standard
29886 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
29889 \begin_layout Standard
29890 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
29895 \begin_inset listings
29896 lstparams "language={C++}"
29900 \begin_layout Plain Layout
29908 \begin_inset Newline newline
29915 オプションは、プログラムリストフロートを生成するものですが、ここで、第
29916 \begin_inset CommandInset ref
29918 reference "sec:フロートの配置"
29922 節に説明されているフロート配置オプションに従って、「
29938 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
29942 」のように区切りを入れることなく入力することができます。「
29946 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
29950 オプションを使用しなければ大丈夫です。
29953 \begin_layout Standard
29958 \SpecialChar \menuseparator
29963 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、Listing
29964 \begin_inset space ~
29968 \begin_inset CommandInset ref
29970 reference "lst:Example-Listing"
29977 \begin_layout Standard
29978 \begin_inset listings
29979 lstparams "language=Python"
29983 \begin_layout Plain Layout
29985 \begin_inset Caption
29987 \begin_layout Plain Layout
29988 \begin_inset CommandInset label
29990 name "lst:Example-Listing"
29994 Example Listing float
29999 # Example listing float
30002 \begin_layout Plain Layout
30007 \begin_layout Plain Layout
30009 'this is a python function'
30012 \begin_layout Plain Layout
30022 \begin_layout Standard
30023 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
30024 onのキーワード「def」が識別され、ボールド体で出力されます。
30027 \begin_layout Standard
30028 \begin_inset Note Greyedout
30031 \begin_layout Plain Layout
30036 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
30040 フォントがボールド体を提供していません。この場合には、
30044 \SpecialChar \menuseparator
30049 \SpecialChar \menuseparator
30054 メニューで別のフォントを選択してください(
30066 の各フォントはボールド体を提供します)。
30074 \begin_layout Standard
30075 \begin_inset Note Greyedout
30078 \begin_layout Plain Layout
30083 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
30091 \begin_layout Standard
30096 のセクションでは、行番号の様式を指定することができます。
30100 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
30103 \begin_layout Standard
30104 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
30108 オプションを使用しなくてはなりません。
30109 \begin_inset Newline newline
30112 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
30113 \begin_inset space \thinspace{}
30117 \begin_inset space \thinspace{}
30120 8」で設定したプログラムリストの例です。
30123 \begin_layout Standard
30124 \begin_inset listings
30125 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
30129 \begin_layout Plain Layout
30134 \begin_layout Plain Layout
30136 'this is a python function'
30139 \begin_layout Plain Layout
30144 \begin_layout Plain Layout
30149 \begin_layout Plain Layout
30151 'This is a German word: Tschüß'
30154 \begin_layout Plain Layout
30159 \begin_layout Plain Layout
30164 \begin_layout Plain Layout
30166 'this is a python function'
30169 \begin_layout Plain Layout
30179 \begin_layout Standard
30180 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
30187 \begin_layout Standard
30188 \begin_inset Note Greyedout
30191 \begin_layout Plain Layout
30196 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
30205 \begin_layout Standard
30206 \begin_inset VSpace bigskip
30212 \begin_layout Standard
30213 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
30217 \SpecialChar \menuseparator
30222 \SpecialChar \menuseparator
30235 \begin_layout Plain Layout
30236 他の子文書型については、第 section
30237 \begin_inset space ~
30241 \begin_inset CommandInset ref
30243 reference "sec:子文書"
30252 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
30256 \begin_layout Standard
30257 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
30261 \SpecialChar \menuseparator
30266 メニューを使って参照できるようになります。
30269 \begin_layout Standard
30271 \begin_inset CommandInset ref
30273 reference "lst:file-listing"
30277 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
30280 \begin_layout Standard
30281 \begin_inset CommandInset include
30282 LatexCommand lstinputlisting
30283 filename "EmbeddedObjects.lyx"
30284 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
30291 \begin_layout Standard
30292 \begin_inset VSpace bigskip
30298 \begin_layout Standard
30303 \SpecialChar \menuseparator
30308 \SpecialChar \menuseparator
30313 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
30317 フィールドで疑問符「?」を打鍵してください。
30320 \begin_layout Standard
30325 パッケージについての詳しい情報については、取扱説明書
30326 \begin_inset CommandInset citation
30335 \begin_layout Standard
30336 \begin_inset Newpage newpage
30342 \begin_layout Chapter
30348 \begin_layout Plain Layout
30355 \begin_inset CommandInset label
30357 name "cha:LyXで使用できる単位"
30364 \begin_layout Standard
30365 この文書で用いられる単位の理解のために、表
30366 \begin_inset CommandInset ref
30372 に、LyXで使うことのできる単位をまとめておきます。
30375 \begin_layout Standard
30376 \begin_inset Float table
30382 \begin_layout Plain Layout
30383 \begin_inset Caption
30385 \begin_layout Plain Layout
30386 \begin_inset CommandInset label
30400 \begin_layout Plain Layout
30401 \begin_inset VSpace medskip
30407 \begin_layout Plain Layout
30409 \begin_inset Tabular
30410 <lyxtabular version="3" rows="20" columns="2">
30412 <column alignment="center" valignment="top" width="0">
30413 <column alignment="center" valignment="top" width="0">
30415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30418 \begin_layout Plain Layout
30424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30427 \begin_layout Plain Layout
30435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30438 \begin_layout Plain Layout
30444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30447 \begin_layout Plain Layout
30455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30458 \begin_layout Plain Layout
30464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30467 \begin_layout Plain Layout
30475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30478 \begin_layout Plain Layout
30484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30487 \begin_layout Plain Layout
30495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30498 \begin_layout Plain Layout
30504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30507 \begin_layout Plain Layout
30509 \begin_inset Formula $\,$
30513 \begin_inset Formula $\,$
30523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30526 \begin_layout Plain Layout
30532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30535 \begin_layout Plain Layout
30537 \begin_inset Formula $\,$
30541 \begin_inset Formula $\,$
30551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30554 \begin_layout Plain Layout
30560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30563 \begin_layout Plain Layout
30565 \begin_inset Formula $\,$
30569 \begin_inset Formula $\,$
30579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30582 \begin_layout Plain Layout
30588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30591 \begin_layout Plain Layout
30593 \begin_inset Formula $\,$
30597 \begin_inset Formula $\,$
30607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30610 \begin_layout Plain Layout
30616 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30619 \begin_layout Plain Layout
30621 \begin_inset Formula $\,$
30625 \begin_inset Formula $\approx$
30629 \begin_inset Formula $\,$
30639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30642 \begin_layout Plain Layout
30648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30651 \begin_layout Plain Layout
30653 \begin_inset Formula $\,$
30657 \begin_inset Formula $\,$
30667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30670 \begin_layout Plain Layout
30676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30679 \begin_layout Plain Layout
30687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30690 \begin_layout Plain Layout
30696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30699 \begin_layout Plain Layout
30707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30710 \begin_layout Plain Layout
30716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30719 \begin_layout Plain Layout
30727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30730 \begin_layout Plain Layout
30736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30739 \begin_layout Plain Layout
30747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30750 \begin_layout Plain Layout
30756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30759 \begin_layout Plain Layout
30767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30770 \begin_layout Plain Layout
30776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30779 \begin_layout Plain Layout
30787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30790 \begin_layout Plain Layout
30796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30799 \begin_layout Plain Layout
30807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30810 \begin_layout Plain Layout
30816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30819 \begin_layout Plain Layout
30827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30830 \begin_layout Plain Layout
30836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30839 \begin_layout Plain Layout
30847 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30850 \begin_layout Plain Layout
30856 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30859 \begin_layout Plain Layout
30861 \begin_inset Formula $\,$
30865 \begin_inset Formula $\,$
30886 \begin_layout Chapter
30888 \begin_inset CommandInset label
30890 name "cha:ファイル出力形式"
30897 \begin_layout Section
30902 \begin_layout Plain Layout
30903 ふぁいるしょしき@ファイル書式 ! DVI
30912 \begin_layout Plain Layout
30917 \begin_layout Plain Layout
30928 \begin_layout Plain Layout
30943 \begin_layout Standard
30948 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
30949 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
30950 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
30953 \begin_layout Standard
30954 \begin_inset Note Greyedout
30957 \begin_layout Plain Layout
30958 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
30967 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
30968 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
30972 \begin_layout Standard
30977 \SpecialChar \menuseparator
30982 \SpecialChar \menuseparator
30987 メニューを使用して、DVIに書き出すことができます。また、
30992 \begin_inset Graphics
30993 filename ../../images/buffer-view_dvi.png
30995 scaleBeforeRotation
30999 を使用すれば、使用中の文書をDVIで表示させることができます。
31002 \begin_layout Section
31004 \begin_inset CommandInset label
31006 name "sec:PostScript"
31014 \begin_layout Plain Layout
31015 ふぁいるしょしき@ファイル書式 ! PostScript
31024 \begin_layout Plain Layout
31029 \begin_layout Plain Layout
31040 \begin_layout Plain Layout
31055 \begin_layout Standard
31064 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
31065 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
31069 \begin_layout Plain Layout
31070 これについてもう少し学ぶ気があれば、LaTeXパッケージ
31075 \begin_inset CommandInset citation
31086 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
31089 \begin_layout Standard
31090 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
31094 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
31095 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
31096 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
31097 を直接EPSとして入れておく方がよいでしょう。
31100 \begin_layout Standard
31105 \SpecialChar \menuseparator
31110 \SpecialChar \menuseparator
31115 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
31120 \begin_inset Graphics
31121 filename ../../images/buffer-view_ps.png
31123 scaleBeforeRotation
31127 を使用することでPostScriptとして表示させることができます。
31130 \begin_layout Section
31135 \begin_layout Plain Layout
31136 ふぁいるしょしき@ファイル書式 ! PDF
31145 \begin_layout Plain Layout
31154 \begin_layout Standard
31159 」です。この「Portable Document Format (PDF)」は、
31163 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
31164 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
31167 \begin_layout Standard
31168 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
31176 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
31180 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
31181 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
31185 \begin_layout Standard
31190 \SpecialChar \menuseparator
31195 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
31198 \begin_layout Description
31200 \begin_inset space ~
31207 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
31211 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
31214 \begin_layout Description
31216 \begin_inset space ~
31223 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
31226 \begin_layout Description
31228 \begin_inset space ~
31235 プログラムを使って、現在のファイルを直接PDFに変換します。
31238 \begin_layout Standard
31243 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
31246 \begin_inset space ~
31255 プログラムは開発が停止しており、若干時代遅れになっています。
31258 \begin_layout Standard
31259 使用中の文書をPDFとして表示するには、
31264 \begin_inset Graphics
31265 filename ../../images/buffer-view_pdf2.png
31267 scaleBeforeRotation
31274 \begin_inset space ~
31282 \begin_layout Chapter
31284 \begin_inset CommandInset ref
31291 \begin_inset CommandInset label
31300 \begin_layout Standard
31301 \begin_inset Formula $n$
31305 \begin_inset Formula $W_{\mathrm{tot\, n}}$
31311 \begin_layout Standard
31312 \begin_inset Formula \begin{equation}
31313 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
31320 \begin_layout Standard
31322 \begin_inset Formula $W_{g\, n}$
31331 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
31332 \begin_inset space \thinspace{}
31342 \begin_inset space \thinspace{}
31348 \begin_layout Standard
31350 \begin_inset CommandInset ref
31352 reference "eq:Wtot_n"
31357 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
31363 \begin_layout Standard
31364 \begin_inset Formula \begin{equation}
31365 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
31372 \begin_layout Standard
31374 \begin_inset Formula $n$
31378 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
31382 \begin_inset CommandInset ref
31384 reference "eq:Wtot_n"
31389 \begin_inset CommandInset ref
31391 reference "eq:Wtot_mult"
31395 式が等しいものと置けば、必要となる固定幅
31396 \begin_inset Formula $W_{g\, n}$
31402 \begin_layout Standard
31403 \begin_inset Formula \begin{equation}
31404 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
31411 \begin_layout Bibliography
31412 \begin_inset CommandInset bibitem
31413 LatexCommand bibitem
31414 key "latexcompanion"
31418 Frank Mittelbach and Michel Goossens:
31420 The LaTeX Companion Second Edition.
31423 Addison-Wesley, 2004
31426 \begin_layout Bibliography
31427 \begin_inset CommandInset bibitem
31428 LatexCommand bibitem
31433 Helmut Kopka and Patrick W.
31436 A Guide to LaTeX Fourth Edition.
31439 Addison-Wesley, 2003
31442 \begin_layout Bibliography
31443 \begin_inset CommandInset bibitem
31444 LatexCommand bibitem
31451 LaTeX: A Document Preparation System.
31454 Addison-Wesley, second edition, 1994
31457 \begin_layout Bibliography
31458 \begin_inset CommandInset bibitem
31459 LatexCommand bibitem
31467 \begin_inset CommandInset href
31470 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
31480 \begin_layout Plain Layout
31481 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
31489 \begin_layout Bibliography
31490 \begin_inset CommandInset bibitem
31491 LatexCommand bibitem
31499 \begin_inset CommandInset href
31502 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
31512 \begin_layout Plain Layout
31513 LaTeXぱっけーじ@LaTeXパッケージ ! caption
31521 \begin_layout Bibliography
31522 \begin_inset CommandInset bibitem
31523 LatexCommand bibitem
31531 \begin_inset CommandInset href
31534 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
31544 \begin_layout Plain Layout
31545 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
31553 \begin_layout Bibliography
31554 \begin_inset CommandInset bibitem
31555 LatexCommand bibitem
31563 \begin_inset CommandInset href
31566 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
31576 \begin_layout Plain Layout
31577 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
31585 \begin_layout Bibliography
31586 \begin_inset CommandInset bibitem
31587 LatexCommand bibitem
31595 \begin_inset CommandInset href
31598 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
31608 \begin_layout Plain Layout
31609 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
31617 \begin_layout Bibliography
31618 \begin_inset CommandInset bibitem
31619 LatexCommand bibitem
31627 \begin_inset CommandInset href
31630 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
31640 \begin_layout Plain Layout
31641 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
31649 \begin_layout Bibliography
31650 \begin_inset CommandInset bibitem
31651 LatexCommand bibitem
31659 \begin_inset CommandInset href
31662 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
31672 \begin_layout Plain Layout
31673 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
31681 \begin_layout Bibliography
31682 \begin_inset CommandInset bibitem
31683 LatexCommand bibitem
31691 \begin_inset CommandInset href
31694 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
31704 \begin_layout Plain Layout
31705 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
31713 \begin_layout Bibliography
31714 \begin_inset CommandInset bibitem
31715 LatexCommand bibitem
31723 \begin_inset CommandInset href
31726 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
31736 \begin_layout Plain Layout
31737 LaTeXぱっけーじ@LaTeXパッケージ ! listings
31745 \begin_layout Bibliography
31746 \begin_inset CommandInset bibitem
31747 LatexCommand bibitem
31755 \begin_inset CommandInset href
31758 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
31768 \begin_layout Plain Layout
31769 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
31777 \begin_layout Bibliography
31778 \begin_inset CommandInset bibitem
31779 LatexCommand bibitem
31787 \begin_inset CommandInset href
31790 target "http://tug.org/PSTricks/"
31800 \begin_layout Plain Layout
31801 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
31809 \begin_layout Bibliography
31810 \begin_inset CommandInset bibitem
31811 LatexCommand bibitem
31819 \begin_inset CommandInset href
31822 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
31832 \begin_layout Plain Layout
31833 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
31841 \begin_layout Bibliography
31842 \begin_inset CommandInset bibitem
31843 LatexCommand bibitem
31853 \begin_inset CommandInset href
31856 target "http://wiki.lyx.org/LyX/NewInLyX16"
31863 \begin_layout Standard
31864 \begin_inset CommandInset index_print
31865 LatexCommand printindex
31872 \begin_layout Standard
31873 \begin_inset FloatList figure
31880 \begin_layout Standard
31881 \begin_inset FloatList table
31888 \begin_layout Standard
31889 \begin_inset FloatList algorithm