1 #LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
7 %% Added by the translator
8 % Correction for PDF bookmarks
9 \usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,bookmarkstype=toc]{hyperref}
10 \ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else
11 \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi
17 % set fonts for nicer pdf view
18 \IfFileExists{lmodern.sty}
19 {\usepackage{lmodern}}{}
21 \fi % end if pdflatex is used
23 % that links to image floats jumps
24 % to the beginning of the float and
26 \usepackage[figure]{hypcap}
28 % the pages of the TOC is numbered roman
29 % and a PDF-bookmark for the TOC is added
30 \let\myTOC\tableofcontents
31 \renewcommand\tableofcontents{%
33 \pdfbookmark[1]{\contentsname}{}
37 % provides caption formatting
38 \usepackage[labelfont={bf,sf}, 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}
132 % ------------------------------------
133 % used to check for needed LaTeX packages
136 % check for package arydshln
137 % used for tables with dashed lines
138 \newboolean{arydshln}
139 \IfFileExists{arydshln.sty}
140 {\usepackage{arydshln}
141 \setboolean{arydshln}{true}}
142 {\setboolean{arydshln}{false}}
144 % check for package marginnote
145 % used for margin notes
146 \newboolean{marginnote}
147 \IfFileExists{marginnote.sty}
148 {\usepackage{marginnote}
149 \let\marginpar\marginnote
150 \setboolean{marginnote}{true}}
151 {\setboolean{marginnote}{false}}
153 % check for package sidecap
154 % used for captions on the side
156 \IfFileExists{sidecap.sty}
157 {\usepackage{sidecap}
158 \setboolean{sidecap}{true}}
159 {\setboolean{sidecap}{false}}
161 % redefine the \LyX macro for PDF bookmarks
162 \def\LyX{\texorpdfstring{%
163 L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
167 \renewcommand{\seename}{→}
170 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
171 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
173 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
174 \use_default_options false
175 \maintain_unincluded_children false
181 \font_typewriter default
182 \font_default_family default
190 \default_output_format default
192 \bibtex_command default
193 \index_command default
197 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
198 \pdf_author "LyX Team, Uwe Stohr"
199 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
200 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
202 \pdf_bookmarksnumbered true
203 \pdf_bookmarksopen true
204 \pdf_bookmarksopenlevel 1
205 \pdf_breaklinks false
209 \pdf_pdfusetitle false
210 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
220 \paperorientation portrait
222 \notefontcolor #0000ff
233 \paragraph_separation skip
235 \quotes_language english
238 \paperpagestyle default
242 \tracking_changes false
243 \output_changes false
245 \html_be_strict false
251 LyXにおける図表・フロート・注釈・ボックス・外部素材の詳細についての説明書
259 \begin_layout Plain Layout
261 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
262 \begin_inset CommandInset href
264 name "lyx-docs@lists.lyx.org"
265 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
276 \begin_inset Note Note
279 \begin_layout Plain Layout
286 \begin_inset Newline newline
290 \begin_inset Newline newline
298 \begin_layout Standard
299 \begin_inset CommandInset toc
300 LatexCommand tableofcontents
307 \begin_layout Standard
308 \begin_inset Note Note
311 \begin_layout Plain Layout
312 本文書の全体をPDFやPS、DVIに書き出すには、
328 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
332 \begin_layout Plain Layout
334 \begin_inset Newline newline
339 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
342 \begin_inset Newline newline
353 \begin_layout Chapter
355 \begin_inset Index idx
358 \begin_layout Plain Layout
365 \begin_inset Index idx
368 \begin_layout Plain Layout
373 \begin_layout Plain Layout
384 \begin_layout Plain Layout
399 \begin_layout Section
401 \begin_inset Index idx
404 \begin_layout Plain Layout
405 ず@図 ! がぞうだいあろぐ@画像ダイアログ
411 \begin_inset CommandInset label
420 \begin_layout Standard
421 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
422 \begin_inset Graphics
423 filename ../../images/dialog-show-new-inset_graphics.png
431 挿入\SpecialChar \menuseparator
434 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
437 \begin_layout Standard
438 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
441 \begin_layout Description
446 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
447 \begin_inset CommandInset ref
449 reference "cha:LyXで使用できる単位"
454 \begin_inset Newline newline
458 \begin_inset Index idx
461 \begin_layout Plain Layout
467 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
468 \begin_inset Newline newline
472 \begin_inset Index idx
475 \begin_layout Plain Layout
481 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
482 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
486 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
487 \begin_inset Newline newline
490 画像を右クリックすると現れるコンテクストメニューで
494 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
498 \begin_layout Description
503 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
507 ボタンを押すことによって、自動的に計算することもできます。
511 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
514 \begin_layout Description
519 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
522 \begin_inset Newline newline
527 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
530 \begin_inset Newline newline
539 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
541 \begin_inset Newline newline
544 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
545 \begin_inset CommandInset ref
547 reference "sec:PostScript"
551 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
552 \begin_inset Newline newline
560 \begin_inset Newline newline
565 zgrep %%Bounding x.eps.gz > x.eps.bb
568 \begin_inset Newline newline
571 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
572 \begin_inset Newline newline
579 フィールドでは、画像設定グループを定義したり既存のグループに所属させたりすることができます
580 \begin_inset Index idx
583 \begin_layout Plain Layout
584 ず@図 ! せっていぐるーぷ@設定グループ
589 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
590 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
591 ーを使用して、望むグループ名をチェックすることで行うこともできます。
594 \begin_layout Standard
595 \begin_inset VSpace bigskip
601 \begin_layout Standard
606 \begin_layout Plain Layout
608 \begin_inset CommandInset ref
619 の画像の例で、単独の中央揃えの段落に置いてあります。
622 \begin_layout Standard
624 \begin_inset Graphics
625 filename ../clipart/mobius.eps
635 \begin_layout Standard
636 下記は上と同じ画像ですが、下書きモードのものです。
639 \begin_layout Standard
641 \begin_inset Graphics
642 filename ../clipart/mobius.eps
653 \begin_layout Standard
654 \begin_inset Newpage newpage
660 \begin_layout Section
662 \begin_inset CommandInset label
669 \begin_inset Index idx
672 \begin_layout Plain Layout
679 \begin_inset Index idx
682 \begin_layout Plain Layout
691 \begin_layout Standard
693 \begin_inset CommandInset ref
695 reference "sec:フロートはじめに"
702 \begin_layout Standard
704 \begin_inset Graphics
705 filename ../../images/float-insert_figure.png
713 挿入\SpecialChar \menuseparator
714 フロート\SpecialChar \menuseparator
717 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
718 \begin_inset CommandInset ref
720 reference "fig:犠牲のカモノハシ"
724 のようにキャプションの上に置くこともできますし、図
725 \begin_inset CommandInset ref
727 reference "fig:エッシャー"
731 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
732 \begin_inset CommandInset ref
734 reference "sec:キャプションの配置"
741 \begin_layout Standard
742 \begin_inset Float figure
747 \begin_layout Plain Layout
749 \begin_inset Graphics
750 filename ../clipart/platypus.eps
760 \begin_layout Plain Layout
763 \begin_layout Plain Layout
764 \begin_inset CommandInset label
783 \begin_layout Standard
784 \begin_inset Float figure
789 \begin_layout Plain Layout
792 \begin_layout Plain Layout
793 \begin_inset CommandInset label
807 \begin_layout Plain Layout
809 \begin_inset Graphics
810 filename ../clipart/escher-lsd.eps
825 \begin_layout Standard
826 \begin_inset Index idx
829 \begin_layout Plain Layout
830 さんしょう@参照 ! ずへの@図への ---
836 \begin_inset CommandInset ref
838 reference "fig:犠牲のカモノハシ"
843 \begin_inset CommandInset ref
845 reference "fig:エッシャー"
849 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
851 挿入\SpecialChar \menuseparator
855 \begin_inset Graphics
856 filename ../../images/label-insert.png
862 を使用して、キャプションにラベルを挿入してください。その後、
864 挿入\SpecialChar \menuseparator
868 \begin_inset Graphics
869 filename ../../images/dialog-show-new-inset_ref.png
875 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
876 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
877 \begin_inset Newline newline
881 \begin_inset CommandInset ref
883 reference "sec:フロートの参照"
890 \begin_layout Standard
891 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
892 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
893 \begin_inset CommandInset ref
895 reference "fig:歪められた二つの像"
899 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
900 \begin_inset CommandInset ref
902 reference "fig:何かわからない構造"
907 \begin_inset CommandInset ref
909 reference "fig:カモノハシ"
916 \begin_layout Standard
917 \begin_inset Float figure
922 \begin_layout Plain Layout
923 \begin_inset space \hfill{}
927 \begin_inset Float figure
932 \begin_layout Plain Layout
935 \begin_layout Plain Layout
936 \begin_inset CommandInset label
950 \begin_layout Plain Layout
951 \begin_inset Graphics
952 filename ../clipart/escher-lsd.eps
965 \begin_inset space \hfill{}
969 \begin_inset Float figure
974 \begin_layout Plain Layout
977 \begin_layout Plain Layout
978 \begin_inset CommandInset label
992 \begin_layout Plain Layout
993 \begin_inset Graphics
994 filename ../clipart/platypus.eps
1007 \begin_inset space \hfill{}
1013 \begin_layout Plain Layout
1014 \begin_inset Caption
1016 \begin_layout Plain Layout
1017 \begin_inset CommandInset label
1019 name "fig:歪められた二つの像"
1023 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1036 \begin_layout Standard
1037 \begin_inset Newpage newpage
1043 \begin_layout Section
1045 \begin_inset CommandInset label
1052 \begin_inset Index idx
1055 \begin_layout Plain Layout
1062 \begin_inset Index idx
1065 \begin_layout Plain Layout
1074 \begin_layout Standard
1075 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1076 \begin_inset CommandInset ref
1078 reference "cha:ファイル出力形式"
1082 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1087 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1088 用するとよいでしょう。出力ファイル書式は、付録
1089 \begin_inset CommandInset ref
1091 reference "cha:ファイル出力形式"
1098 \begin_layout Standard
1099 フォントと同じく、画像形式にも以下の二つの型があります。
1102 \begin_layout Description
1103 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1104 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1109 \begin_inset Index idx
1112 \begin_layout Plain Layout
1117 \begin_layout Plain Layout
1128 \begin_layout Plain Layout
1140 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1145 \begin_inset Index idx
1148 \begin_layout Plain Layout
1153 \begin_layout Plain Layout
1164 \begin_layout Plain Layout
1176 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1185 \begin_inset Index idx
1188 \begin_layout Plain Layout
1193 \begin_layout Plain Layout
1204 \begin_layout Plain Layout
1219 \begin_layout Description
1220 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1221 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1223 \begin_inset Newline newline
1226 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1231 \begin_inset Index idx
1234 \begin_layout Plain Layout
1239 \begin_layout Plain Layout
1250 \begin_layout Plain Layout
1262 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1267 \begin_inset Index idx
1270 \begin_layout Plain Layout
1275 \begin_layout Plain Layout
1286 \begin_layout Plain Layout
1298 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1303 \begin_inset Index idx
1306 \begin_layout Plain Layout
1312 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1317 \begin_inset Index idx
1320 \begin_layout Plain Layout
1325 \begin_layout Plain Layout
1336 \begin_layout Plain Layout
1348 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1349 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1353 \begin_layout Plain Layout
1354 PDFの場合には、さらに元画像が圧縮されます。
1363 が生成するPDFファイルは、ビットマップ画像です。
1366 \begin_layout Standard
1367 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1368 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1369 \begin_inset Formula $\to$
1372 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1375 \begin_layout Chapter
1377 \begin_inset Index idx
1380 \begin_layout Plain Layout
1389 \begin_layout Section
1391 \begin_inset Index idx
1394 \begin_layout Plain Layout
1403 \begin_layout Standard
1414 \begin_inset Graphics
1415 filename ../../images/tabular-insert.png
1429 挿入\SpecialChar \menuseparator
1432 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1433 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1434 \begin_inset Newline newline
1437 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1438 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1441 \begin_layout Standard
1443 \begin_inset Tabular
1444 <lyxtabular version="3" rows="4" columns="4">
1445 <features tabularvalignment="middle">
1446 <column alignment="center" valignment="top" width="0">
1447 <column alignment="center" valignment="top" width="0">
1448 <column alignment="center" valignment="top" width="0">
1449 <column alignment="center" valignment="top" width="0">
1451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1454 \begin_layout Plain Layout
1460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1463 \begin_layout Plain Layout
1469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1472 \begin_layout Plain Layout
1478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1481 \begin_layout Plain Layout
1489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1492 \begin_layout Plain Layout
1498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1501 \begin_layout Plain Layout
1507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1510 \begin_layout Plain Layout
1516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1519 \begin_layout Plain Layout
1527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1530 \begin_layout Plain Layout
1536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1539 \begin_layout Plain Layout
1545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1548 \begin_layout Plain Layout
1554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1557 \begin_layout Plain Layout
1565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1568 \begin_layout Plain Layout
1574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1577 \begin_layout Plain Layout
1583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1586 \begin_layout Plain Layout
1592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1595 \begin_layout Plain Layout
1609 \begin_layout Section
1611 \begin_inset Index idx
1614 \begin_layout Plain Layout
1623 \begin_layout Standard
1633 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1634 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1647 を選択するのと、セル自体を選択するのは違うことに注意して下さい。表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1650 \begin_layout Description
1655 ここでは、現在列の幅と水平揃えを設定することができます。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセ
1656 ルに入れることができます。これに関しては、第
1657 \begin_inset CommandInset ref
1663 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1664 \begin_inset Newline newline
1667 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1668 \begin_inset CommandInset ref
1675 \begin_inset Newline newline
1678 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1679 \begin_inset Newline newline
1683 \begin_inset Note Greyedout
1686 \begin_layout Plain Layout
1691 DVIビューアのすべてが回転を表示できるわけではありません。
1697 \begin_inset Newline newline
1700 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1701 \begin_inset CommandInset ref
1703 reference "sub:連結列の計算"
1708 \begin_inset CommandInset ref
1710 reference "sec:色付きの表"
1717 \begin_layout Description
1722 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1723 \begin_inset Newline newline
1731 \begin_inset CommandInset ref
1733 reference "sec:フォーマル形式の表"
1737 節に述べられているフォーマル様式の表に表を変換します。
1738 \begin_inset Newline newline
1742 \begin_inset CommandInset ref
1744 reference "sub:行の余白取り"
1748 節に述べられているように、表の行に空白を追加することもできます。
1751 \begin_layout Description
1756 このタブは、複数のページにわたる、いわゆる「
1761 \begin_inset CommandInset ref
1768 \begin_inset CommandInset ref
1770 reference "sec:長尺表にまつわる諸点"
1774 節に、長尺表の機能に関する詳細な説明があります。
1777 \begin_layout Standard
1778 表ダイアログを開いたままでも、セル間をカーソルを使って移動することができ、その際、現在セルの特性が直ちにダイアログに表示されます。
1781 \begin_layout Section
1783 \begin_inset Index idx
1786 \begin_layout Plain Layout
1795 \begin_layout Standard
1796 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
1797 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
1800 \begin_layout Standard
1801 ツールバーには、以下のアイコンがあります。
1804 \begin_layout Labeling
1805 \begin_inset Graphics
1806 filename ../../images/tabular-feature_append-row.png
1811 は、現在セルあるいは選択範囲の下に行を追加します。
1814 \begin_layout Labeling
1815 \begin_inset Graphics
1816 filename ../../images/tabular-feature_append-column.png
1821 は、現在セルあるいは選択範囲の右に列を追加します。
1824 \begin_layout Labeling
1825 \begin_inset Graphics
1826 filename ../../images/tabular-feature_delete-row.png
1831 は、現在行あるいは選択範囲行を削除します。
1834 \begin_layout Labeling
1835 \begin_inset Graphics
1836 filename ../../images/tabular-feature_delete-column.png
1841 は、現在列あるいは選択範囲列を削除します。
1844 \begin_layout Labeling
1845 \begin_inset Graphics
1846 filename ../../images/tabular-feature_toggle-line-top.png
1851 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
1854 \begin_layout Labeling
1855 \begin_inset Graphics
1856 filename ../../images/tabular-feature_toggle-line-bottom.png
1861 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
1864 \begin_layout Labeling
1865 \begin_inset Graphics
1866 filename ../../images/tabular-feature_toggle-line-left.png
1871 は、 現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
1874 \begin_layout Labeling
1875 \begin_inset Graphics
1876 filename ../../images/tabular-feature_toggle-line-right.png
1881 は、 現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
1884 \begin_layout Labeling
1885 \begin_inset Graphics
1886 filename ../../images/tabular-feature_set-all-lines.png
1891 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
1894 \begin_layout Labeling
1895 \begin_inset Graphics
1896 filename ../../images/tabular-feature_unset-all-lines.png
1901 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
1904 \begin_layout Labeling
1905 \begin_inset Graphics
1906 filename ../../images/tabular-feature_m-align-left.png
1911 は、現在セルあるいは現在列の内容を左揃えにします。
1914 \begin_layout Labeling
1915 \begin_inset Graphics
1916 filename ../../images/tabular-feature_m-align-center.png
1921 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
1924 \begin_layout Labeling
1925 \begin_inset Graphics
1926 filename ../../images/tabular-feature_m-align-right.png
1931 は、現在セルあるいは現在列の内容を右揃えにします。
1934 \begin_layout Labeling
1935 \begin_inset Graphics
1936 filename ../../images/tabular-feature_m-valign-top.png
1941 は、現在セルの内容を垂直方向上揃えにします。
1944 \begin_layout Labeling
1945 \begin_inset Graphics
1946 filename ../../images/tabular-feature_m-valign-middle.png
1951 は、現在セルの内容を垂直方向中央揃えにします。
1954 \begin_layout Labeling
1955 \begin_inset Graphics
1956 filename ../../images/tabular-feature_m-valign-bottom.png
1961 は、現在セルの内容を垂直方向下揃えにします。
1964 \begin_layout Labeling
1965 \begin_inset Graphics
1966 filename ../../images/tabular-feature_set-rotate-cell.png
1971 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
1974 \begin_layout Labeling
1975 \begin_inset Graphics
1976 filename ../../images/tabular-feature_set-rotate-tabular.png
1981 は、表全体を反時計廻りに90度回転します。
1984 \begin_layout Labeling
1985 \begin_inset Graphics
1986 filename ../../images/tabular-feature_multicolumn.png
1991 は、現在セルあるいは選択範囲を連結列にします。
1994 \begin_layout Standard
1995 \begin_inset Note Greyedout
1998 \begin_layout Plain Layout
2003 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2011 \begin_layout Section
2013 \begin_inset Index idx
2016 \begin_layout Plain Layout
2017 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2025 \begin_layout Standard
2028 編集\SpecialChar \menuseparator
2031 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2035 \begin_layout Section
2037 \begin_inset CommandInset label
2044 \begin_inset Index idx
2047 \begin_layout Plain Layout
2054 \begin_inset Index idx
2057 \begin_layout Plain Layout
2066 \begin_layout Standard
2068 \begin_inset CommandInset ref
2070 reference "sec:フロートはじめに"
2077 \begin_layout Standard
2078 \begin_inset Float table
2084 \begin_layout Plain Layout
2085 \begin_inset Caption
2087 \begin_layout Plain Layout
2088 \begin_inset CommandInset label
2102 \begin_layout Plain Layout
2104 \begin_inset Tabular
2105 <lyxtabular version="3" rows="3" columns="3">
2106 <features tabularvalignment="middle">
2107 <column alignment="center" valignment="top" width="0pt">
2108 <column alignment="center" valignment="top" width="0pt">
2109 <column alignment="center" valignment="top" width="0pt">
2111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2114 \begin_layout Plain Layout
2129 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2132 \begin_layout Plain Layout
2147 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2150 \begin_layout Plain Layout
2167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2170 \begin_layout Plain Layout
2176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2179 \begin_layout Plain Layout
2185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2188 \begin_layout Plain Layout
2196 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2199 \begin_layout Plain Layout
2209 \begin_inset Formula $\int x^{2}dx$
2217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2220 \begin_layout Plain Layout
2230 \begin_inset Formula $\left[\begin{array}{cc}
2241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2244 \begin_layout Plain Layout
2254 \begin_inset Formula $1+1=2$
2275 \begin_layout Standard
2280 \SpecialChar \menuseparator
2281 フロート\SpecialChar \menuseparator
2286 \begin_inset Graphics
2287 filename ../../images/float-insert_table.png
2296 \begin_layout Standard
2297 フロートは折りたたむことのできるボックスとして表示され、中には「表
2298 \begin_inset space ~
2301 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2304 \begin_layout Standard
2306 \begin_inset space ~
2310 \begin_inset CommandInset ref
2312 reference "tab:表フロート"
2319 \begin_layout Standard
2320 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2321 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2327 \begin_inset Index idx
2330 \begin_layout Plain Layout
2331 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2339 \begin_layout Standard
2345 \begin_layout Standard
2346 というオプションとともにloadコマンドを使って読み込んでください
2350 \begin_layout Plain Layout
2352 \begin_inset CommandInset ref
2354 reference "sec:キャプションの配置"
2364 \begin_inset CommandInset ref
2366 reference "sec:キャプションの書式設定"
2377 \begin_layout Standard
2378 \begin_inset Index idx
2381 \begin_layout Plain Layout
2382 さんしょう@参照 ! ひょうへの@表への
2387 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2389 挿入\SpecialChar \menuseparator
2393 \begin_inset Graphics
2394 filename ../../images/label-insert.png
2400 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2402 \begin_inset Graphics
2403 filename ../../images/dialog-show-new-inset_ref.png
2409 を用いて、このラベルを参照することができます。
2410 \begin_inset Newline newline
2414 \begin_inset CommandInset ref
2416 reference "sec:フロートの参照"
2423 \begin_layout Section
2425 \begin_inset CommandInset label
2432 \begin_inset Index idx
2435 \begin_layout Plain Layout
2442 \begin_inset Index idx
2445 \begin_layout Plain Layout
2446 ひょう@表 ! ちょうしゃくひょう@長尺表
2454 \begin_layout Standard
2455 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2463 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2467 \begin_layout Description
2468 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2495 が定義されているときは、冒頭ページを除きます。
2504 これと区別して、このヘッダは本体ヘッダと呼びます。
2507 \begin_layout Description
2508 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2511 \begin_layout Description
2512 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2539 が定義されているときは、末尾ページを除きます。
2542 \begin_layout Description
2543 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2546 \begin_layout Description
2547 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2548 \begin_inset CommandInset ref
2550 reference "sub:長尺表のキャプション"
2557 \begin_layout Standard
2558 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2561 \begin_layout Standard
2563 \begin_inset Tabular
2564 <lyxtabular version="3" rows="69" columns="3">
2565 <features islongtable="true" longtabularalignment="center">
2566 <column alignment="left" valignment="top" width="0cm">
2567 <column alignment="left" valignment="top" width="0pt">
2568 <column alignment="center" valignment="top" width="0pt">
2569 <row endfirsthead="true">
2570 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2573 \begin_layout Plain Layout
2581 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2584 \begin_layout Plain Layout
2590 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2593 \begin_layout Plain Layout
2600 <row endfirsthead="true">
2601 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2604 \begin_layout Plain Layout
2610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2613 \begin_layout Plain Layout
2619 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2622 \begin_layout Plain Layout
2631 <row endhead="true">
2632 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2635 \begin_layout Plain Layout
2643 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2646 \begin_layout Plain Layout
2652 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2655 \begin_layout Plain Layout
2662 <row endhead="true">
2663 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2666 \begin_layout Plain Layout
2672 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2675 \begin_layout Plain Layout
2681 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2684 \begin_layout Plain Layout
2693 <row endfoot="true">
2694 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2697 \begin_layout Plain Layout
2703 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2706 \begin_layout Plain Layout
2712 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2715 \begin_layout Plain Layout
2723 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2726 \begin_layout Plain Layout
2734 <cell alignment="center" valignment="top" usebox="none">
2737 \begin_layout Plain Layout
2743 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
2746 \begin_layout Plain Layout
2754 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2757 \begin_layout Plain Layout
2765 <cell alignment="center" valignment="top" usebox="none">
2768 \begin_layout Plain Layout
2774 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2777 \begin_layout Plain Layout
2785 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2788 \begin_layout Plain Layout
2796 <cell alignment="center" valignment="top" usebox="none">
2799 \begin_layout Plain Layout
2805 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2808 \begin_layout Plain Layout
2816 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2819 \begin_layout Plain Layout
2827 <cell alignment="center" valignment="top" usebox="none">
2830 \begin_layout Plain Layout
2836 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2839 \begin_layout Plain Layout
2847 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2850 \begin_layout Plain Layout
2858 <cell alignment="center" valignment="top" usebox="none">
2861 \begin_layout Plain Layout
2867 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2870 \begin_layout Plain Layout
2878 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2881 \begin_layout Plain Layout
2889 <cell alignment="center" valignment="top" usebox="none">
2892 \begin_layout Plain Layout
2898 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2901 \begin_layout Plain Layout
2909 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2912 \begin_layout Plain Layout
2920 <cell alignment="center" valignment="top" usebox="none">
2923 \begin_layout Plain Layout
2929 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2932 \begin_layout Plain Layout
2940 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2943 \begin_layout Plain Layout
2951 <cell alignment="center" valignment="top" usebox="none">
2954 \begin_layout Plain Layout
2960 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2963 \begin_layout Plain Layout
2971 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2974 \begin_layout Plain Layout
2982 <cell alignment="center" valignment="top" usebox="none">
2985 \begin_layout Plain Layout
2991 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
2994 \begin_layout Plain Layout
3002 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3005 \begin_layout Plain Layout
3013 <cell alignment="center" valignment="top" usebox="none">
3016 \begin_layout Plain Layout
3022 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3025 \begin_layout Plain Layout
3033 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3036 \begin_layout Plain Layout
3044 <cell alignment="center" valignment="top" usebox="none">
3047 \begin_layout Plain Layout
3053 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3056 \begin_layout Plain Layout
3064 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3067 \begin_layout Plain Layout
3075 <cell alignment="center" valignment="top" usebox="none">
3078 \begin_layout Plain Layout
3084 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3087 \begin_layout Plain Layout
3095 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3098 \begin_layout Plain Layout
3106 <cell alignment="center" valignment="top" usebox="none">
3109 \begin_layout Plain Layout
3115 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3118 \begin_layout Plain Layout
3126 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3129 \begin_layout Plain Layout
3137 <cell alignment="center" valignment="top" usebox="none">
3140 \begin_layout Plain Layout
3146 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3149 \begin_layout Plain Layout
3157 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3160 \begin_layout Plain Layout
3168 <cell alignment="center" valignment="top" usebox="none">
3171 \begin_layout Plain Layout
3177 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3180 \begin_layout Plain Layout
3188 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3191 \begin_layout Plain Layout
3199 <cell alignment="center" valignment="top" usebox="none">
3202 \begin_layout Plain Layout
3208 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3211 \begin_layout Plain Layout
3219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3222 \begin_layout Plain Layout
3230 <cell alignment="center" valignment="top" usebox="none">
3233 \begin_layout Plain Layout
3239 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3242 \begin_layout Plain Layout
3250 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3253 \begin_layout Plain Layout
3261 <cell alignment="center" valignment="top" usebox="none">
3264 \begin_layout Plain Layout
3270 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3273 \begin_layout Plain Layout
3281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3284 \begin_layout Plain Layout
3292 <cell alignment="center" valignment="top" usebox="none">
3295 \begin_layout Plain Layout
3301 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3304 \begin_layout Plain Layout
3312 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3315 \begin_layout Plain Layout
3323 <cell alignment="center" valignment="top" usebox="none">
3326 \begin_layout Plain Layout
3332 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3335 \begin_layout Plain Layout
3343 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3346 \begin_layout Plain Layout
3354 <cell alignment="center" valignment="top" usebox="none">
3357 \begin_layout Plain Layout
3363 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3366 \begin_layout Plain Layout
3374 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3377 \begin_layout Plain Layout
3385 <cell alignment="center" valignment="top" usebox="none">
3388 \begin_layout Plain Layout
3394 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3397 \begin_layout Plain Layout
3405 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3408 \begin_layout Plain Layout
3416 <cell alignment="center" valignment="top" usebox="none">
3419 \begin_layout Plain Layout
3425 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3428 \begin_layout Plain Layout
3436 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3439 \begin_layout Plain Layout
3447 <cell alignment="center" valignment="top" usebox="none">
3450 \begin_layout Plain Layout
3456 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3459 \begin_layout Plain Layout
3467 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3470 \begin_layout Plain Layout
3478 <cell alignment="center" valignment="top" usebox="none">
3481 \begin_layout Plain Layout
3487 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3490 \begin_layout Plain Layout
3498 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3501 \begin_layout Plain Layout
3509 <cell alignment="center" valignment="top" usebox="none">
3512 \begin_layout Plain Layout
3518 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3521 \begin_layout Plain Layout
3529 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3532 \begin_layout Plain Layout
3540 <cell alignment="center" valignment="top" usebox="none">
3543 \begin_layout Plain Layout
3549 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3552 \begin_layout Plain Layout
3560 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3563 \begin_layout Plain Layout
3571 <cell alignment="center" valignment="top" usebox="none">
3574 \begin_layout Plain Layout
3580 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3583 \begin_layout Plain Layout
3591 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3594 \begin_layout Plain Layout
3602 <cell alignment="center" valignment="top" usebox="none">
3605 \begin_layout Plain Layout
3611 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3614 \begin_layout Plain Layout
3622 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3625 \begin_layout Plain Layout
3633 <cell alignment="center" valignment="top" usebox="none">
3636 \begin_layout Plain Layout
3642 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3645 \begin_layout Plain Layout
3653 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3656 \begin_layout Plain Layout
3664 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3667 \begin_layout Plain Layout
3673 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3676 \begin_layout Plain Layout
3684 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3687 \begin_layout Plain Layout
3693 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3696 \begin_layout Plain Layout
3702 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3705 \begin_layout Plain Layout
3713 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3716 \begin_layout Plain Layout
3724 <cell alignment="center" valignment="top" usebox="none">
3727 \begin_layout Plain Layout
3733 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3736 \begin_layout Plain Layout
3744 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3747 \begin_layout Plain Layout
3755 <cell alignment="center" valignment="top" usebox="none">
3758 \begin_layout Plain Layout
3764 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3767 \begin_layout Plain Layout
3775 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3778 \begin_layout Plain Layout
3786 <cell alignment="center" valignment="top" usebox="none">
3789 \begin_layout Plain Layout
3795 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3798 \begin_layout Plain Layout
3806 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3809 \begin_layout Plain Layout
3817 <cell alignment="center" valignment="top" usebox="none">
3820 \begin_layout Plain Layout
3826 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3829 \begin_layout Plain Layout
3837 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3840 \begin_layout Plain Layout
3848 <cell alignment="center" valignment="top" usebox="none">
3851 \begin_layout Plain Layout
3857 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3860 \begin_layout Plain Layout
3868 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3871 \begin_layout Plain Layout
3879 <cell alignment="center" valignment="top" usebox="none">
3882 \begin_layout Plain Layout
3888 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3891 \begin_layout Plain Layout
3899 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3902 \begin_layout Plain Layout
3910 <cell alignment="center" valignment="top" usebox="none">
3913 \begin_layout Plain Layout
3919 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3922 \begin_layout Plain Layout
3930 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3933 \begin_layout Plain Layout
3941 <cell alignment="center" valignment="top" usebox="none">
3944 \begin_layout Plain Layout
3950 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3953 \begin_layout Plain Layout
3961 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3964 \begin_layout Plain Layout
3972 <cell alignment="center" valignment="top" usebox="none">
3975 \begin_layout Plain Layout
3981 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3984 \begin_layout Plain Layout
3992 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3995 \begin_layout Plain Layout
4003 <cell alignment="center" valignment="top" usebox="none">
4006 \begin_layout Plain Layout
4012 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4015 \begin_layout Plain Layout
4023 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4026 \begin_layout Plain Layout
4034 <cell alignment="center" valignment="top" usebox="none">
4037 \begin_layout Plain Layout
4043 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4046 \begin_layout Plain Layout
4054 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4057 \begin_layout Plain Layout
4065 <cell alignment="center" valignment="top" usebox="none">
4068 \begin_layout Plain Layout
4074 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4077 \begin_layout Plain Layout
4085 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4088 \begin_layout Plain Layout
4096 <cell alignment="center" valignment="top" usebox="none">
4099 \begin_layout Plain Layout
4105 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4108 \begin_layout Plain Layout
4116 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4119 \begin_layout Plain Layout
4127 <cell alignment="center" valignment="top" usebox="none">
4130 \begin_layout Plain Layout
4136 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4139 \begin_layout Plain Layout
4147 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4150 \begin_layout Plain Layout
4158 <cell alignment="center" valignment="top" usebox="none">
4161 \begin_layout Plain Layout
4167 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4170 \begin_layout Plain Layout
4178 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4181 \begin_layout Plain Layout
4189 <cell alignment="center" valignment="top" usebox="none">
4192 \begin_layout Plain Layout
4198 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4201 \begin_layout Plain Layout
4209 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4212 \begin_layout Plain Layout
4220 <cell alignment="center" valignment="top" usebox="none">
4223 \begin_layout Plain Layout
4229 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4232 \begin_layout Plain Layout
4240 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4243 \begin_layout Plain Layout
4251 <cell alignment="center" valignment="top" usebox="none">
4254 \begin_layout Plain Layout
4260 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4263 \begin_layout Plain Layout
4271 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4274 \begin_layout Plain Layout
4282 <cell alignment="center" valignment="top" usebox="none">
4285 \begin_layout Plain Layout
4291 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4294 \begin_layout Plain Layout
4302 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4305 \begin_layout Plain Layout
4313 <cell alignment="center" valignment="top" usebox="none">
4316 \begin_layout Plain Layout
4322 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4325 \begin_layout Plain Layout
4333 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4336 \begin_layout Plain Layout
4344 <cell alignment="center" valignment="top" usebox="none">
4347 \begin_layout Plain Layout
4353 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4356 \begin_layout Plain Layout
4364 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4367 \begin_layout Plain Layout
4375 <cell alignment="center" valignment="top" usebox="none">
4378 \begin_layout Plain Layout
4384 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4387 \begin_layout Plain Layout
4395 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4398 \begin_layout Plain Layout
4406 <cell alignment="center" valignment="top" usebox="none">
4409 \begin_layout Plain Layout
4415 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4418 \begin_layout Plain Layout
4426 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4429 \begin_layout Plain Layout
4437 <cell alignment="center" valignment="top" usebox="none">
4440 \begin_layout Plain Layout
4446 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4449 \begin_layout Plain Layout
4457 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4460 \begin_layout Plain Layout
4468 <cell alignment="center" valignment="top" usebox="none">
4471 \begin_layout Plain Layout
4477 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4480 \begin_layout Plain Layout
4488 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4491 \begin_layout Plain Layout
4499 <cell alignment="center" valignment="top" usebox="none">
4502 \begin_layout Plain Layout
4508 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4511 \begin_layout Plain Layout
4519 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4522 \begin_layout Plain Layout
4530 <cell alignment="center" valignment="top" usebox="none">
4533 \begin_layout Plain Layout
4539 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4542 \begin_layout Plain Layout
4550 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4553 \begin_layout Plain Layout
4561 <cell alignment="center" valignment="top" usebox="none">
4564 \begin_layout Plain Layout
4570 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4573 \begin_layout Plain Layout
4581 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4584 \begin_layout Plain Layout
4592 <cell alignment="center" valignment="top" usebox="none">
4595 \begin_layout Plain Layout
4601 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4604 \begin_layout Plain Layout
4612 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4615 \begin_layout Plain Layout
4623 <cell alignment="center" valignment="top" usebox="none">
4626 \begin_layout Plain Layout
4632 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4635 \begin_layout Plain Layout
4643 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4646 \begin_layout Plain Layout
4654 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4657 \begin_layout Plain Layout
4663 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4666 \begin_layout Plain Layout
4673 <row endlastfoot="true">
4674 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4677 \begin_layout Plain Layout
4683 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4686 \begin_layout Plain Layout
4692 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4695 \begin_layout Plain Layout
4710 \begin_layout Plain Layout
4714 addtocounter{table}{-1}
4720 \begin_inset Note Note
4723 \begin_layout Plain Layout
4725 \begin_inset CommandInset ref
4727 reference "sub:長尺表のキャプション"
4739 \begin_layout Subsection
4741 \begin_inset CommandInset label
4748 \begin_inset Index idx
4751 \begin_layout Plain Layout
4752 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
4760 \begin_layout Standard
4761 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
4762 \begin_inset CommandInset ref
4764 reference "tab:別キャプション"
4771 \begin_layout Subsection
4773 \begin_inset Index idx
4776 \begin_layout Plain Layout
4777 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
4785 \begin_layout Standard
4786 長尺表は、既定値では中央揃えになっています。行や列の揃えとは異なり、表の揃えは、いまのところ表ダイアログで変更することができません。長尺表の揃えを変更するには、
4789 \begin_layout Standard
4799 \begin_layout Standard
4800 という行を当該長尺表の前にTeXコードとして挿入して、長さ
4812 の値を変更しなくてはなりません。ここで「値」は、第
4813 \begin_inset CommandInset ref
4819 表に挙げてある単位であれば、どの単位を取ることもできます。
4825 は、左頁余白から長尺表までの水平方向の距離を制御し、
4831 は、右頁余白からの距離を制御します。これらの長さの既定値は
4837 となっており、LyXの水平フィルと同等になっています。
4840 \begin_layout Standard
4848 \begin_inset space \thinspace{}
4855 \begin_layout Plain Layout
4869 \begin_layout Standard
4870 \begin_inset Tabular
4871 <lyxtabular version="3" rows="5" columns="5">
4872 <features islongtable="true" longtabularalignment="center">
4873 <column alignment="center" valignment="top" width="0">
4874 <column alignment="center" valignment="top" width="0">
4875 <column alignment="center" valignment="top" width="0">
4876 <column alignment="center" valignment="top" width="0">
4877 <column alignment="center" valignment="top" width="0">
4879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4882 \begin_layout Plain Layout
4888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4891 \begin_layout Plain Layout
4897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4900 \begin_layout Plain Layout
4906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4909 \begin_layout Plain Layout
4915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4918 \begin_layout Plain Layout
4926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4929 \begin_layout Plain Layout
4935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4938 \begin_layout Plain Layout
4944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4947 \begin_layout Plain Layout
4953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4956 \begin_layout Plain Layout
4962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4965 \begin_layout Plain Layout
4973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4976 \begin_layout Plain Layout
4982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4985 \begin_layout Plain Layout
4991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4994 \begin_layout Plain Layout
5000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5003 \begin_layout Plain Layout
5009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5012 \begin_layout Plain Layout
5020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5023 \begin_layout Plain Layout
5029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5032 \begin_layout Plain Layout
5038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5041 \begin_layout Plain Layout
5047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5050 \begin_layout Plain Layout
5056 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5059 \begin_layout Plain Layout
5067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5070 \begin_layout Plain Layout
5076 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5079 \begin_layout Plain Layout
5085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5088 \begin_layout Plain Layout
5094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5097 \begin_layout Plain Layout
5103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5106 \begin_layout Plain Layout
5121 \begin_layout Plain Layout
5138 \begin_layout Plain Layout
5142 addtocounter{table}{-1}
5148 \begin_inset Note Note
5151 \begin_layout Plain Layout
5153 \begin_inset CommandInset ref
5155 reference "sub:長尺表のキャプション"
5167 \begin_layout Subsection
5169 \begin_inset Index idx
5172 \begin_layout Plain Layout
5173 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5179 \begin_inset CommandInset label
5181 name "sub:長尺表のキャプション"
5188 \begin_layout Standard
5189 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5190 \begin_inset CommandInset ref
5196 節に述べられているように、ある行で長尺表オプションの
5200 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5203 \begin_layout Standard
5204 以下は、動作を確認するための短い長尺表です。
5207 \begin_layout Standard
5208 \begin_inset Tabular
5209 <lyxtabular version="3" rows="6" columns="5">
5210 <features islongtable="true" longtabularalignment="center">
5211 <column alignment="center" valignment="top" width="0">
5212 <column alignment="center" valignment="top" width="0">
5213 <column alignment="center" valignment="top" width="0">
5214 <column alignment="center" valignment="top" width="0">
5215 <column alignment="center" valignment="top" width="0">
5216 <row caption="true">
5217 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5220 \begin_layout Plain Layout
5221 \begin_inset Caption
5223 \begin_layout Plain Layout
5225 \begin_inset Argument
5228 \begin_layout Plain Layout
5244 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5247 \begin_layout Plain Layout
5253 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5256 \begin_layout Plain Layout
5262 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5265 \begin_layout Plain Layout
5271 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5274 \begin_layout Plain Layout
5282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5285 \begin_layout Plain Layout
5291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5294 \begin_layout Plain Layout
5300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5303 \begin_layout Plain Layout
5309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5312 \begin_layout Plain Layout
5318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5321 \begin_layout Plain Layout
5329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5332 \begin_layout Plain Layout
5338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5341 \begin_layout Plain Layout
5347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5350 \begin_layout Plain Layout
5356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5359 \begin_layout Plain Layout
5365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5368 \begin_layout Plain Layout
5376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5379 \begin_layout Plain Layout
5385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5388 \begin_layout Plain Layout
5394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5397 \begin_layout Plain Layout
5403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5406 \begin_layout Plain Layout
5412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5415 \begin_layout Plain Layout
5423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5426 \begin_layout Plain Layout
5432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5435 \begin_layout Plain Layout
5441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5444 \begin_layout Plain Layout
5450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5453 \begin_layout Plain Layout
5459 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5462 \begin_layout Plain Layout
5470 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5473 \begin_layout Plain Layout
5479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5482 \begin_layout Plain Layout
5488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5491 \begin_layout Plain Layout
5497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5500 \begin_layout Plain Layout
5506 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5509 \begin_layout Plain Layout
5523 \begin_layout Standard
5524 \begin_inset VSpace medskip
5528 \begin_inset Note Greyedout
5531 \begin_layout Plain Layout
5536 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5537 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5540 \begin_layout Plain Layout
5545 addtocounter{table}{-1}
5548 \begin_layout Plain Layout
5549 というコマンドを挿入する方法があります。
5552 \begin_layout Plain Layout
5553 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5556 \begin_layout Plain Layout
5566 \begin_inset Newline newline
5577 addtocounter{table}{-1}}
5585 \begin_layout Standard
5586 \begin_inset Note Greyedout
5589 \begin_layout Plain Layout
5607 \begin_inset Index idx
5610 \begin_layout Plain Layout
5611 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5616 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5624 \begin_layout Subsubsection
5626 \begin_inset Index idx
5629 \begin_layout Plain Layout
5630 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5638 \begin_layout Standard
5639 \begin_inset Tabular
5640 <lyxtabular version="3" rows="6" columns="5">
5641 <features islongtable="true" longtabularalignment="center">
5642 <column alignment="center" valignment="top" width="0">
5643 <column alignment="center" valignment="top" width="0">
5644 <column alignment="center" valignment="top" width="0">
5645 <column alignment="center" valignment="top" width="0">
5646 <column alignment="center" valignment="top" width="0">
5647 <row caption="true">
5648 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5651 \begin_layout Plain Layout
5652 \begin_inset Caption
5654 \begin_layout Plain Layout
5656 \begin_inset CommandInset label
5672 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5675 \begin_layout Plain Layout
5681 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5684 \begin_layout Plain Layout
5690 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5693 \begin_layout Plain Layout
5699 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5702 \begin_layout Plain Layout
5710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5713 \begin_layout Plain Layout
5719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5722 \begin_layout Plain Layout
5728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5731 \begin_layout Plain Layout
5737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5740 \begin_layout Plain Layout
5746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5749 \begin_layout Plain Layout
5757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5760 \begin_layout Plain Layout
5766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5769 \begin_layout Plain Layout
5775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5778 \begin_layout Plain Layout
5784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5787 \begin_layout Plain Layout
5793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5796 \begin_layout Plain Layout
5804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5807 \begin_layout Plain Layout
5813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5816 \begin_layout Plain Layout
5822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5825 \begin_layout Plain Layout
5831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5834 \begin_layout Plain Layout
5840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5843 \begin_layout Plain Layout
5851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5854 \begin_layout Plain Layout
5860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5863 \begin_layout Plain Layout
5869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5872 \begin_layout Plain Layout
5878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5881 \begin_layout Plain Layout
5887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5890 \begin_layout Plain Layout
5898 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5901 \begin_layout Plain Layout
5907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5910 \begin_layout Plain Layout
5916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5919 \begin_layout Plain Layout
5925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5928 \begin_layout Plain Layout
5934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5937 \begin_layout Plain Layout
5951 \begin_layout Standard
5952 長尺表を参照するには、キャプションにラベルを挿入してください。
5955 \begin_layout Standard
5957 \begin_inset CommandInset ref
5966 \begin_layout Standard
5967 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
5972 \begin_inset Index idx
5975 \begin_layout Plain Layout
5976 LaTeXぱっけーじ@LaTeXパッケージ ! caption
5982 \begin_inset CommandInset ref
5984 reference "sec:キャプションの書式設定"
5991 \begin_layout Subsubsection
5993 \begin_inset Index idx
5996 \begin_layout Plain Layout
5997 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6005 \begin_layout Standard
6012 によって指定することができます。既定値は4
6013 \begin_inset space \thinspace{}
6016 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6019 \begin_layout Standard
6029 \begin_layout Standard
6030 というコマンドを書き加えて下さい。ここで「幅」には、付録
6031 \begin_inset CommandInset ref
6033 reference "cha:LyXで使用できる単位"
6037 に挙げられている単位を取ることができます。
6040 \begin_layout Standard
6044 \begin_layout Standard
6045 \begin_inset Tabular
6046 <lyxtabular version="3" rows="6" columns="5">
6047 <features islongtable="true" longtabularalignment="center">
6048 <column alignment="center" valignment="top" width="0">
6049 <column alignment="center" valignment="top" width="0">
6050 <column alignment="center" valignment="top" width="0">
6051 <column alignment="center" valignment="top" width="0">
6052 <column alignment="center" valignment="top" width="0">
6053 <row caption="true">
6054 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6057 \begin_layout Plain Layout
6058 \begin_inset Caption
6060 \begin_layout Plain Layout
6061 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6062 \begin_inset Argument
6065 \begin_layout Plain Layout
6081 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6084 \begin_layout Plain Layout
6090 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6093 \begin_layout Plain Layout
6099 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6102 \begin_layout Plain Layout
6108 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6111 \begin_layout Plain Layout
6119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6122 \begin_layout Plain Layout
6128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6131 \begin_layout Plain Layout
6137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6140 \begin_layout Plain Layout
6146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6149 \begin_layout Plain Layout
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6158 \begin_layout Plain Layout
6166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6169 \begin_layout Plain Layout
6175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6178 \begin_layout Plain Layout
6184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6187 \begin_layout Plain Layout
6193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6196 \begin_layout Plain Layout
6202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6205 \begin_layout Plain Layout
6213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6216 \begin_layout Plain Layout
6222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6225 \begin_layout Plain Layout
6231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6234 \begin_layout Plain Layout
6240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6243 \begin_layout Plain Layout
6249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6252 \begin_layout Plain Layout
6260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6263 \begin_layout Plain Layout
6269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6272 \begin_layout Plain Layout
6278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6281 \begin_layout Plain Layout
6287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6290 \begin_layout Plain Layout
6296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6299 \begin_layout Plain Layout
6307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6310 \begin_layout Plain Layout
6316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6319 \begin_layout Plain Layout
6325 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6328 \begin_layout Plain Layout
6334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6337 \begin_layout Plain Layout
6343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6346 \begin_layout Plain Layout
6360 \begin_layout Standard
6364 \begin_layout Plain Layout
6376 \begin_inset Tabular
6377 <lyxtabular version="3" rows="6" columns="5">
6378 <features islongtable="true" longtabularalignment="center">
6379 <column alignment="center" valignment="top" width="0">
6380 <column alignment="center" valignment="top" width="0">
6381 <column alignment="center" valignment="top" width="0">
6382 <column alignment="center" valignment="top" width="0">
6383 <column alignment="center" valignment="top" width="0">
6384 <row caption="true">
6385 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6388 \begin_layout Plain Layout
6389 \begin_inset Caption
6391 \begin_layout Plain Layout
6393 \begin_inset space \thinspace{}
6397 \begin_inset space \thinspace{}
6401 \begin_inset space \thinspace{}
6405 \begin_inset Argument
6408 \begin_layout Plain Layout
6410 \begin_inset space \thinspace{}
6428 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6431 \begin_layout Plain Layout
6437 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6440 \begin_layout Plain Layout
6446 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6449 \begin_layout Plain Layout
6455 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6458 \begin_layout Plain Layout
6466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6469 \begin_layout Plain Layout
6475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6478 \begin_layout Plain Layout
6484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6487 \begin_layout Plain Layout
6493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6496 \begin_layout Plain Layout
6502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6505 \begin_layout Plain Layout
6513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6516 \begin_layout Plain Layout
6522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6525 \begin_layout Plain Layout
6531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6534 \begin_layout Plain Layout
6540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6543 \begin_layout Plain Layout
6549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6552 \begin_layout Plain Layout
6560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6563 \begin_layout Plain Layout
6569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6572 \begin_layout Plain Layout
6578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6581 \begin_layout Plain Layout
6587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6590 \begin_layout Plain Layout
6596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6599 \begin_layout Plain Layout
6607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6610 \begin_layout Plain Layout
6616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6619 \begin_layout Plain Layout
6625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6628 \begin_layout Plain Layout
6634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6637 \begin_layout Plain Layout
6643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6646 \begin_layout Plain Layout
6654 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6657 \begin_layout Plain Layout
6663 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6666 \begin_layout Plain Layout
6672 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6675 \begin_layout Plain Layout
6681 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6684 \begin_layout Plain Layout
6690 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6693 \begin_layout Plain Layout
6707 \begin_layout Standard
6711 \begin_layout Plain Layout
6725 \begin_layout Standard
6726 \begin_inset Note Greyedout
6729 \begin_layout Plain Layout
6739 \begin_inset Index idx
6742 \begin_layout Plain Layout
6743 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6755 \begin_inset space \thinspace{}
6758 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
6759 \begin_inset space \thinspace{}
6762 in幅のキャプションを作るには、3.99
6763 \begin_inset space \thinspace{}
6767 \begin_inset space \thinspace{}
6778 captionsetup{width=値}
6780 というLaTeXコマンドを用いる方法があります。
6788 \begin_layout Subsubsection
6790 \begin_inset Index idx
6793 \begin_layout Plain Layout
6794 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
6802 \begin_layout Standard
6803 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
6806 \begin_layout Standard
6818 \begin_layout Standard
6819 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
6820 \begin_inset CommandInset ref
6822 reference "tab:別キャプション"
6826 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
6829 \begin_layout Standard
6831 \begin_inset Tabular
6832 <lyxtabular version="3" rows="59" columns="3">
6833 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
6834 <column alignment="left" valignment="top" width="0cm">
6835 <column alignment="left" valignment="top" width="0pt">
6836 <column alignment="center" valignment="top" width="0pt">
6837 <row caption="true">
6838 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
6841 \begin_layout Plain Layout
6842 \begin_inset Caption
6844 \begin_layout Plain Layout
6846 \begin_inset CommandInset label
6853 \begin_inset Argument
6856 \begin_layout Plain Layout
6872 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6875 \begin_layout Plain Layout
6881 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6884 \begin_layout Plain Layout
6891 <row endfirsthead="true">
6892 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6895 \begin_layout Plain Layout
6903 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
6906 \begin_layout Plain Layout
6912 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
6915 \begin_layout Plain Layout
6922 <row endfirsthead="true">
6923 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6926 \begin_layout Plain Layout
6934 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6937 \begin_layout Plain Layout
6943 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6946 \begin_layout Plain Layout
6955 <row endhead="true">
6956 <cell alignment="left" valignment="top" leftline="true" usebox="none">
6959 \begin_layout Plain Layout
6963 \begin_layout Plain Layout
6981 <cell alignment="center" valignment="top" leftline="true" usebox="none">
6984 \begin_layout Plain Layout
6990 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6993 \begin_layout Plain Layout
7000 <row endhead="true">
7001 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7004 \begin_layout Plain Layout
7012 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7015 \begin_layout Plain Layout
7021 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7024 \begin_layout Plain Layout
7031 <row endhead="true">
7032 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7035 \begin_layout Plain Layout
7043 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7046 \begin_layout Plain Layout
7052 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7055 \begin_layout Plain Layout
7064 <row endfoot="true">
7065 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7068 \begin_layout Plain Layout
7074 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7077 \begin_layout Plain Layout
7083 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7086 \begin_layout Plain Layout
7094 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7097 \begin_layout Plain Layout
7105 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7108 \begin_layout Plain Layout
7114 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7117 \begin_layout Plain Layout
7125 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7128 \begin_layout Plain Layout
7136 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7139 \begin_layout Plain Layout
7145 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7148 \begin_layout Plain Layout
7156 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7159 \begin_layout Plain Layout
7167 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7170 \begin_layout Plain Layout
7176 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7179 \begin_layout Plain Layout
7187 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7190 \begin_layout Plain Layout
7198 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7201 \begin_layout Plain Layout
7207 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7210 \begin_layout Plain Layout
7218 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7221 \begin_layout Plain Layout
7229 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7232 \begin_layout Plain Layout
7238 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7241 \begin_layout Plain Layout
7249 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7252 \begin_layout Plain Layout
7260 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7263 \begin_layout Plain Layout
7269 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7272 \begin_layout Plain Layout
7280 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7283 \begin_layout Plain Layout
7291 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7294 \begin_layout Plain Layout
7300 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7303 \begin_layout Plain Layout
7311 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7314 \begin_layout Plain Layout
7322 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7325 \begin_layout Plain Layout
7331 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7334 \begin_layout Plain Layout
7342 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7345 \begin_layout Plain Layout
7353 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7356 \begin_layout Plain Layout
7362 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7365 \begin_layout Plain Layout
7373 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7376 \begin_layout Plain Layout
7384 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7387 \begin_layout Plain Layout
7393 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7396 \begin_layout Plain Layout
7404 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7407 \begin_layout Plain Layout
7415 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7418 \begin_layout Plain Layout
7424 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7427 \begin_layout Plain Layout
7435 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7438 \begin_layout Plain Layout
7446 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7449 \begin_layout Plain Layout
7455 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7458 \begin_layout Plain Layout
7466 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7469 \begin_layout Plain Layout
7477 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7480 \begin_layout Plain Layout
7486 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7489 \begin_layout Plain Layout
7497 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7500 \begin_layout Plain Layout
7508 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7511 \begin_layout Plain Layout
7517 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7520 \begin_layout Plain Layout
7528 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7531 \begin_layout Plain Layout
7540 \begin_layout Plain Layout
7551 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7554 \begin_layout Plain Layout
7560 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7563 \begin_layout Plain Layout
7571 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7574 \begin_layout Plain Layout
7582 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7585 \begin_layout Plain Layout
7591 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7594 \begin_layout Plain Layout
7602 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7605 \begin_layout Plain Layout
7613 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7616 \begin_layout Plain Layout
7622 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7625 \begin_layout Plain Layout
7633 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7636 \begin_layout Plain Layout
7644 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7647 \begin_layout Plain Layout
7653 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7656 \begin_layout Plain Layout
7664 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7667 \begin_layout Plain Layout
7675 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7678 \begin_layout Plain Layout
7684 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7687 \begin_layout Plain Layout
7695 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7698 \begin_layout Plain Layout
7706 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7709 \begin_layout Plain Layout
7715 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7718 \begin_layout Plain Layout
7726 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7729 \begin_layout Plain Layout
7737 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7740 \begin_layout Plain Layout
7746 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7749 \begin_layout Plain Layout
7757 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7760 \begin_layout Plain Layout
7768 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7771 \begin_layout Plain Layout
7777 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7780 \begin_layout Plain Layout
7788 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7791 \begin_layout Plain Layout
7799 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7802 \begin_layout Plain Layout
7808 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7811 \begin_layout Plain Layout
7819 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7822 \begin_layout Plain Layout
7830 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7833 \begin_layout Plain Layout
7839 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7842 \begin_layout Plain Layout
7850 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7853 \begin_layout Plain Layout
7861 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7864 \begin_layout Plain Layout
7870 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7873 \begin_layout Plain Layout
7881 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7884 \begin_layout Plain Layout
7892 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7895 \begin_layout Plain Layout
7901 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7904 \begin_layout Plain Layout
7912 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7915 \begin_layout Plain Layout
7923 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7926 \begin_layout Plain Layout
7932 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7935 \begin_layout Plain Layout
7943 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7946 \begin_layout Plain Layout
7954 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7957 \begin_layout Plain Layout
7963 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7966 \begin_layout Plain Layout
7974 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7977 \begin_layout Plain Layout
7985 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7988 \begin_layout Plain Layout
7994 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7997 \begin_layout Plain Layout
8005 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8008 \begin_layout Plain Layout
8016 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8019 \begin_layout Plain Layout
8025 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8028 \begin_layout Plain Layout
8036 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8039 \begin_layout Plain Layout
8047 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8050 \begin_layout Plain Layout
8056 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8059 \begin_layout Plain Layout
8067 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8070 \begin_layout Plain Layout
8076 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8079 \begin_layout Plain Layout
8085 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8088 \begin_layout Plain Layout
8096 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8099 \begin_layout Plain Layout
8107 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8110 \begin_layout Plain Layout
8116 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8119 \begin_layout Plain Layout
8127 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8130 \begin_layout Plain Layout
8138 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8141 \begin_layout Plain Layout
8147 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8150 \begin_layout Plain Layout
8158 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8161 \begin_layout Plain Layout
8169 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8172 \begin_layout Plain Layout
8178 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8181 \begin_layout Plain Layout
8189 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8192 \begin_layout Plain Layout
8200 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8203 \begin_layout Plain Layout
8209 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8212 \begin_layout Plain Layout
8220 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8223 \begin_layout Plain Layout
8231 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8234 \begin_layout Plain Layout
8240 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8243 \begin_layout Plain Layout
8251 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8254 \begin_layout Plain Layout
8262 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8265 \begin_layout Plain Layout
8271 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8274 \begin_layout Plain Layout
8282 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8285 \begin_layout Plain Layout
8293 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8296 \begin_layout Plain Layout
8302 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8305 \begin_layout Plain Layout
8313 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8316 \begin_layout Plain Layout
8324 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8327 \begin_layout Plain Layout
8333 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8336 \begin_layout Plain Layout
8344 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8347 \begin_layout Plain Layout
8355 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8358 \begin_layout Plain Layout
8364 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8367 \begin_layout Plain Layout
8375 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8378 \begin_layout Plain Layout
8386 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8389 \begin_layout Plain Layout
8395 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8398 \begin_layout Plain Layout
8406 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8409 \begin_layout Plain Layout
8417 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8420 \begin_layout Plain Layout
8426 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8429 \begin_layout Plain Layout
8437 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8440 \begin_layout Plain Layout
8448 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8451 \begin_layout Plain Layout
8457 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8460 \begin_layout Plain Layout
8468 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8471 \begin_layout Plain Layout
8479 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8482 \begin_layout Plain Layout
8488 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8491 \begin_layout Plain Layout
8499 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8502 \begin_layout Plain Layout
8510 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8513 \begin_layout Plain Layout
8519 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8522 \begin_layout Plain Layout
8530 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8533 \begin_layout Plain Layout
8541 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8544 \begin_layout Plain Layout
8550 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8553 \begin_layout Plain Layout
8561 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8564 \begin_layout Plain Layout
8572 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8575 \begin_layout Plain Layout
8581 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8584 \begin_layout Plain Layout
8592 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8595 \begin_layout Plain Layout
8603 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8606 \begin_layout Plain Layout
8612 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8615 \begin_layout Plain Layout
8623 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8626 \begin_layout Plain Layout
8634 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8637 \begin_layout Plain Layout
8643 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8646 \begin_layout Plain Layout
8654 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8657 \begin_layout Plain Layout
8665 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8668 \begin_layout Plain Layout
8674 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8677 \begin_layout Plain Layout
8685 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8688 \begin_layout Plain Layout
8696 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8699 \begin_layout Plain Layout
8705 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8708 \begin_layout Plain Layout
8722 \begin_layout Section
8724 \begin_inset CommandInset label
8726 name "sec:長尺表にまつわる諸点"
8733 \begin_layout Subsection
8735 \begin_inset Index idx
8738 \begin_layout Plain Layout
8739 ちょうしゃくひょう@長尺表 ! けいさん@計算
8747 \begin_layout Standard
8748 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
8749 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
8752 \begin_layout Standard
8757 setcounter{LTchunksize}{100}
8760 \begin_layout Standard
8761 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
8764 \begin_layout Subsection
8766 \begin_inset Index idx
8769 \begin_layout Plain Layout
8770 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
8778 \begin_layout Standard
8779 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
8785 コマンドを長尺表の前にTeXコードとして書き加えてください。
8788 \begin_layout Subsection
8790 \begin_inset Index idx
8793 \begin_layout Plain Layout
8794 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
8802 \begin_layout Standard
8803 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
8820 コマンドの前には、現セルよりも右にある列数と同じ数の「
8824 」文字を、TeXコードで挿入してやる必要があります。この
8832 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
8833 \begin_inset Newline newline
8844 コマンドの後ろには、現在列の左側にある列数と同じ数の
8849 \begin_inset CommandInset ref
8851 reference "tab:強制改頁"
8855 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
8858 \begin_layout Standard
8868 \begin_inset Newline newline
8874 \begin_layout Standard
8879 」の後にTeXコードとして挿入してあります。
8882 \begin_layout Standard
8883 同一行3列目の「111」は削除してあります。
8889 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
8890 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
8893 \begin_layout Standard
8901 \begin_inset Newline newline
8909 \begin_layout Standard
8913 \begin_layout Standard
8914 改頁をしたいセルが最右列にある場合には、
8917 \begin_layout Standard
8927 \begin_layout Standard
8928 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
8932 \begin_layout Standard
8934 \begin_inset Tabular
8935 <lyxtabular version="3" rows="38" columns="3">
8936 <features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
8937 <column alignment="left" valignment="top" width="0cm">
8938 <column alignment="left" valignment="top" width="3cm">
8939 <column alignment="center" valignment="top" width="0pt">
8940 <row caption="true">
8941 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8944 \begin_layout Plain Layout
8945 \begin_inset Caption
8947 \begin_layout Plain Layout
8949 \begin_inset CommandInset label
8956 \begin_inset Argument
8959 \begin_layout Plain Layout
8975 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8978 \begin_layout Plain Layout
8984 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8987 \begin_layout Plain Layout
8994 <row endfirsthead="true">
8995 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8998 \begin_layout Plain Layout
9006 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9009 \begin_layout Plain Layout
9015 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9018 \begin_layout Plain Layout
9025 <row endfirsthead="true">
9026 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9029 \begin_layout Plain Layout
9037 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9040 \begin_layout Plain Layout
9046 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9049 \begin_layout Plain Layout
9058 <row endhead="true">
9059 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9062 \begin_layout Plain Layout
9066 \begin_layout Plain Layout
9084 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9087 \begin_layout Plain Layout
9093 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9096 \begin_layout Plain Layout
9103 <row endhead="true">
9104 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9107 \begin_layout Plain Layout
9113 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9116 \begin_layout Plain Layout
9122 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9125 \begin_layout Plain Layout
9132 <row endhead="true">
9133 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9136 \begin_layout Plain Layout
9144 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9147 \begin_layout Plain Layout
9153 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9156 \begin_layout Plain Layout
9165 <row endfoot="true">
9166 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9169 \begin_layout Plain Layout
9175 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9178 \begin_layout Plain Layout
9184 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9187 \begin_layout Plain Layout
9195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9198 \begin_layout Plain Layout
9206 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9209 \begin_layout Plain Layout
9215 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9218 \begin_layout Plain Layout
9226 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9229 \begin_layout Plain Layout
9237 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9240 \begin_layout Plain Layout
9246 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9249 \begin_layout Plain Layout
9257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9260 \begin_layout Plain Layout
9268 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9271 \begin_layout Plain Layout
9277 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9280 \begin_layout Plain Layout
9288 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9291 \begin_layout Plain Layout
9299 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9302 \begin_layout Plain Layout
9308 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9311 \begin_layout Plain Layout
9319 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9322 \begin_layout Plain Layout
9330 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9333 \begin_layout Plain Layout
9339 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9342 \begin_layout Plain Layout
9350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9353 \begin_layout Plain Layout
9361 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9364 \begin_layout Plain Layout
9370 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9373 \begin_layout Plain Layout
9381 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9384 \begin_layout Plain Layout
9392 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9395 \begin_layout Plain Layout
9401 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9404 \begin_layout Plain Layout
9412 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9415 \begin_layout Plain Layout
9423 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9426 \begin_layout Plain Layout
9432 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9435 \begin_layout Plain Layout
9443 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9446 \begin_layout Plain Layout
9454 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9457 \begin_layout Plain Layout
9463 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9466 \begin_layout Plain Layout
9474 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9477 \begin_layout Plain Layout
9485 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9488 \begin_layout Plain Layout
9494 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9497 \begin_layout Plain Layout
9505 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9508 \begin_layout Plain Layout
9516 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9519 \begin_layout Plain Layout
9525 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9528 \begin_layout Plain Layout
9536 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9539 \begin_layout Plain Layout
9547 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9550 \begin_layout Plain Layout
9556 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9559 \begin_layout Plain Layout
9567 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9570 \begin_layout Plain Layout
9578 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9581 \begin_layout Plain Layout
9587 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9590 \begin_layout Plain Layout
9598 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9601 \begin_layout Plain Layout
9609 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9612 \begin_layout Plain Layout
9618 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9621 \begin_layout Plain Layout
9629 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9632 \begin_layout Plain Layout
9640 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9643 \begin_layout Plain Layout
9649 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9652 \begin_layout Plain Layout
9660 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9663 \begin_layout Plain Layout
9671 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9674 \begin_layout Plain Layout
9680 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9683 \begin_layout Plain Layout
9691 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9694 \begin_layout Plain Layout
9702 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9705 \begin_layout Plain Layout
9711 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9714 \begin_layout Plain Layout
9722 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9725 \begin_layout Plain Layout
9733 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9736 \begin_layout Plain Layout
9742 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9745 \begin_layout Plain Layout
9753 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9756 \begin_layout Plain Layout
9764 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9767 \begin_layout Plain Layout
9773 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9776 \begin_layout Plain Layout
9784 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9787 \begin_layout Plain Layout
9795 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9798 \begin_layout Plain Layout
9804 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9807 \begin_layout Plain Layout
9815 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9818 \begin_layout Plain Layout
9826 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9829 \begin_layout Plain Layout
9835 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9838 \begin_layout Plain Layout
9846 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9849 \begin_layout Plain Layout
9857 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9860 \begin_layout Plain Layout
9866 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9869 \begin_layout Plain Layout
9877 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9880 \begin_layout Plain Layout
9888 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9891 \begin_layout Plain Layout
9893 Fürst von Montecompatri, 11.
9894 Fürst von Sulmona und Vivaro, 10.
9895 Fürst von Rossano, 5.
9896 Herzog von Canemorte, 11.
9897 Herzog von Palombara, 5.
9898 Herzog von Castelchiodato,
9902 \begin_layout Plain Layout
9913 \begin_layout Plain Layout
9921 Herzog von Poggionativo, 11.
9922 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9923 Graf von Valinfreda, 11.
9924 Baron von Cropalati, 11.
9925 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9930 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9933 \begin_layout Plain Layout
9941 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9944 \begin_layout Plain Layout
9952 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9955 \begin_layout Plain Layout
9961 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9964 \begin_layout Plain Layout
9972 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9975 \begin_layout Plain Layout
9983 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9986 \begin_layout Plain Layout
9992 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9995 \begin_layout Plain Layout
10003 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10006 \begin_layout Plain Layout
10014 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10017 \begin_layout Plain Layout
10023 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10026 \begin_layout Plain Layout
10034 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10037 \begin_layout Plain Layout
10045 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10048 \begin_layout Plain Layout
10054 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10057 \begin_layout Plain Layout
10065 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10068 \begin_layout Plain Layout
10076 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10079 \begin_layout Plain Layout
10085 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10088 \begin_layout Plain Layout
10096 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10099 \begin_layout Plain Layout
10107 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10110 \begin_layout Plain Layout
10116 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10119 \begin_layout Plain Layout
10127 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10130 \begin_layout Plain Layout
10138 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10141 \begin_layout Plain Layout
10147 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10150 \begin_layout Plain Layout
10158 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10161 \begin_layout Plain Layout
10169 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10172 \begin_layout Plain Layout
10178 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10181 \begin_layout Plain Layout
10195 \begin_layout Section
10199 \begin_layout Subsection
10201 \begin_inset CommandInset label
10208 \begin_inset Index idx
10211 \begin_layout Plain Layout
10212 ひょうせるないのふくすうぎょう@表セル内の複数行
10218 \begin_inset Index idx
10221 \begin_layout Plain Layout
10230 \begin_layout Standard
10232 \begin_inset Float table
10238 \begin_layout Plain Layout
10239 \begin_inset Caption
10241 \begin_layout Plain Layout
10242 \begin_inset CommandInset label
10256 \begin_layout Plain Layout
10258 \begin_inset Tabular
10259 <lyxtabular version="3" rows="3" columns="3">
10260 <features tabularvalignment="middle">
10261 <column alignment="center" valignment="middle" width="2.5cm">
10262 <column alignment="center" valignment="middle" width="0">
10263 <column alignment="center" valignment="middle" width="0">
10265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10268 \begin_layout Plain Layout
10270 \begin_inset Newline linebreak
10278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10281 \begin_layout Plain Layout
10287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10290 \begin_layout Plain Layout
10298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10301 \begin_layout Plain Layout
10307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10310 \begin_layout Plain Layout
10316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10319 \begin_layout Plain Layout
10327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10330 \begin_layout Plain Layout
10336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10339 \begin_layout Plain Layout
10345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10348 \begin_layout Plain Layout
10367 \begin_layout Standard
10368 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10371 \begin_layout Standard
10373 \begin_inset CommandInset ref
10375 reference "tab:複数行表"
10379 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10383 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10384 \begin_inset space \thinspace{}
10387 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10388 \begin_inset space \thinspace{}
10391 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10394 arg "newline-insert linebreak"
10397 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10400 \begin_layout Standard
10401 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10402 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10403 \begin_inset space \thinspace{}
10406 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10407 \begin_inset CommandInset ref
10409 reference "tab:ハイフネーション表"
10417 \begin_layout Plain Layout
10422 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10430 \begin_layout Standard
10431 \begin_inset Float table
10437 \begin_layout Plain Layout
10438 \begin_inset Caption
10440 \begin_layout Plain Layout
10441 \begin_inset CommandInset label
10443 name "tab:ハイフネーション表"
10455 \begin_layout Plain Layout
10456 \begin_inset space \hfill{}
10460 \begin_inset Tabular
10461 <lyxtabular version="3" rows="3" columns="3">
10462 <features tabularvalignment="middle">
10463 <column alignment="center" valignment="middle" width="2.5cm">
10464 <column alignment="center" valignment="middle" width="0">
10465 <column alignment="center" valignment="middle" width="0">
10467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10470 \begin_layout Plain Layout
10471 verylongtablecellword
10476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10479 \begin_layout Plain Layout
10485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10488 \begin_layout Plain Layout
10496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10499 \begin_layout Plain Layout
10505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10508 \begin_layout Plain Layout
10514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10517 \begin_layout Plain Layout
10525 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10528 \begin_layout Plain Layout
10534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10537 \begin_layout Plain Layout
10543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10546 \begin_layout Plain Layout
10558 \begin_inset space \hfill{}
10562 \begin_inset Tabular
10563 <lyxtabular version="3" rows="3" columns="3">
10564 <features tabularvalignment="middle">
10565 <column alignment="center" valignment="middle" width="2.5cm">
10566 <column alignment="center" valignment="middle" width="0">
10567 <column alignment="center" valignment="middle" width="0">
10569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10572 \begin_layout Plain Layout
10573 \begin_inset space \hspace{}
10577 verylongtablecellword
10582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10585 \begin_layout Plain Layout
10591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10594 \begin_layout Plain Layout
10602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10605 \begin_layout Plain Layout
10611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10614 \begin_layout Plain Layout
10620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10623 \begin_layout Plain Layout
10631 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10634 \begin_layout Plain Layout
10640 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10643 \begin_layout Plain Layout
10649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10652 \begin_layout Plain Layout
10664 \begin_inset space \hfill{}
10675 \begin_layout Subsection
10677 \begin_inset CommandInset label
10684 \begin_inset Index idx
10687 \begin_layout Plain Layout
10694 \begin_inset Index idx
10697 \begin_layout Plain Layout
10706 \begin_layout Subsubsection
10710 \begin_layout Standard
10711 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
10712 \begin_inset Graphics
10713 filename ../../images/tabular-feature_multicolumn.png
10715 scaleBeforeRotation
10721 編集\SpecialChar \menuseparator
10722 表\SpecialChar \menuseparator
10725 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
10732 \begin_layout Standard
10733 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
10734 、最下行に上罫線のない連結行がある表の例です。
10737 \begin_layout Standard
10739 \begin_inset Tabular
10740 <lyxtabular version="3" rows="3" columns="4">
10741 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
10742 <column alignment="center" valignment="top" width="0pt">
10743 <column alignment="center" valignment="middle" width="0">
10744 <column alignment="center" valignment="top" width="0in">
10745 <column alignment="center" valignment="top" width="0pt">
10747 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10750 \begin_layout Plain Layout
10756 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10759 \begin_layout Plain Layout
10765 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10768 \begin_layout Plain Layout
10774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10777 \begin_layout Plain Layout
10785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10788 \begin_layout Plain Layout
10794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10797 \begin_layout Plain Layout
10803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10806 \begin_layout Plain Layout
10812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10815 \begin_layout Plain Layout
10823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10826 \begin_layout Plain Layout
10832 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10835 \begin_layout Plain Layout
10841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10844 \begin_layout Plain Layout
10850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10853 \begin_layout Plain Layout
10867 \begin_layout Subsubsection
10869 \begin_inset CommandInset label
10876 \begin_inset Index idx
10879 \begin_layout Plain Layout
10880 れんけつれつ@連結列 ! けいさん@計算
10888 \begin_layout Standard
10889 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
10892 \begin_layout Standard
10893 \begin_inset Float table
10899 \begin_layout Plain Layout
10900 \begin_inset Caption
10902 \begin_layout Plain Layout
10903 \begin_inset CommandInset label
10909 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
10910 \begin_inset Argument
10913 \begin_layout Plain Layout
10927 \begin_layout Plain Layout
10929 \begin_inset Tabular
10930 <lyxtabular version="3" rows="3" columns="3">
10931 <features tabularvalignment="middle">
10932 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
10933 <column alignment="center" valignment="middle" width="0">
10934 <column alignment="center" valignment="top" width="0">
10936 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
10939 \begin_layout Plain Layout
10945 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10948 \begin_layout Plain Layout
10954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10957 \begin_layout Plain Layout
10965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10968 \begin_layout Plain Layout
10974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10977 \begin_layout Plain Layout
10983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10986 \begin_layout Plain Layout
10994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10997 \begin_layout Plain Layout
11003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11006 \begin_layout Plain Layout
11012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11015 \begin_layout Plain Layout
11034 \begin_layout Standard
11036 \begin_inset CommandInset ref
11038 reference "tab:中央揃え表"
11042 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11046 を選択します。そして現れる表の設定ダイアログで、このセルを
11055 \begin_inset space \thinspace{}
11058 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11059 \begin_inset space \thinspace{}
11062 cm幅に設定します。すると第二列は自動的に1.25
11063 \begin_inset space \thinspace{}
11066 cm幅(連結列幅マイナス第一列の幅)になります。表
11067 \begin_inset CommandInset ref
11069 reference "tab:半分でない表"
11076 \begin_layout Standard
11077 \begin_inset Float table
11082 \begin_layout Plain Layout
11083 \begin_inset Caption
11085 \begin_layout Plain Layout
11086 \begin_inset CommandInset label
11092 連結セルの下の列が正確に半分になっていない表
11093 \begin_inset Argument
11096 \begin_layout Plain Layout
11110 \begin_layout Plain Layout
11112 \begin_inset Tabular
11113 <lyxtabular version="3" rows="3" columns="3">
11114 <features tabularvalignment="middle">
11115 <column alignment="center" valignment="top" width="1.25cm">
11116 <column alignment="center" valignment="top" width="0">
11117 <column alignment="center" valignment="top" width="0">
11119 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11122 \begin_layout Plain Layout
11128 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11131 \begin_layout Plain Layout
11137 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11140 \begin_layout Plain Layout
11148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11151 \begin_layout Plain Layout
11157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11160 \begin_layout Plain Layout
11166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11169 \begin_layout Plain Layout
11177 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11180 \begin_layout Plain Layout
11186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11189 \begin_layout Plain Layout
11195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11198 \begin_layout Plain Layout
11217 \begin_layout Standard
11218 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11220 \begin_inset Formula $W_{\mbox{指}}$
11224 \begin_inset Formula $W_{\text{全}}$
11228 \begin_inset CommandInset ref
11230 reference "cha:式の説明"
11237 \begin_layout Standard
11243 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11247 \begin_inset Formula $W_{\mbox{指}:n}$
11251 \begin_inset Formula \begin{equation}
11252 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11259 \begin_layout Standard
11260 で計算することができます。上記の例では
11261 \begin_inset Formula $n=2$
11265 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11269 \begin_inset CommandInset ref
11276 \begin_inset Formula \begin{equation}
11277 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11284 \begin_layout Standard
11285 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11288 \begin_layout Standard
11296 \begin_layout Standard
11302 \begin_inset Index idx
11305 \begin_layout Plain Layout
11306 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11311 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11312 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11315 \begin_layout Itemize
11320 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11323 \begin_layout Itemize
11328 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11331 \begin_layout Itemize
11336 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11339 \begin_layout Standard
11340 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11343 \begin_layout Standard
11344 \begin_inset Note Greyedout
11347 \begin_layout Plain Layout
11352 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11360 \begin_layout Standard
11367 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11370 \begin_layout Standard
11375 centering}m{1.25cm-6.2pt}
11378 \begin_layout Standard
11383 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11386 \begin_layout Standard
11387 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11391 \begin_layout Standard
11399 \begin_layout Standard
11400 というLaTeX変数を指定しなくてはなりません。
11403 \begin_layout Subsection
11405 \begin_inset Index idx
11408 \begin_layout Plain Layout
11415 \begin_inset Index idx
11418 \begin_layout Plain Layout
11419 ひょう@表 ! れんけつぎょう@連結行
11427 \begin_layout Standard
11428 連結列とは対照的に、連結行はLyXではまだサポートされていないために、若干のTeXコードを使用する必要があります。連結行を利用するには、文書プリアンブルに
11431 \begin_layout Standard
11436 usepackage{multirow}
11439 \begin_layout Standard
11440 というコマンドを書いて、LaTeXパッケージの
11445 \begin_inset Index idx
11448 \begin_layout Plain Layout
11449 LaTeXぱっけーじ@LaTeXパッケージ ! multirow
11454 を読み込んでおく必要があります。連結列は
11457 \begin_layout Standard
11462 multirow{行数}{セル幅}{セルの内容}
11465 \begin_layout Standard
11466 というコマンドで生成することができます。以下の表を作成するには、
11469 \begin_layout Standard
11474 \begin_layout Plain Layout
11488 \begin_inset Tabular
11489 <lyxtabular version="3" rows="3" columns="3">
11490 <features tabularvalignment="middle">
11491 <column alignment="center" valignment="top" width="0">
11492 <column alignment="center" valignment="top" width="0">
11493 <column alignment="center" valignment="top" width="0">
11495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11498 \begin_layout Plain Layout
11504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11507 \begin_layout Plain Layout
11513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11516 \begin_layout Plain Layout
11524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11527 \begin_layout Plain Layout
11531 \begin_layout Plain Layout
11535 multirow{2}{2.5cm}{
11544 \begin_layout Plain Layout
11556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11559 \begin_layout Plain Layout
11565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11568 \begin_layout Plain Layout
11576 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11579 \begin_layout Plain Layout
11585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11588 \begin_layout Plain Layout
11594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11597 \begin_layout Plain Layout
11612 \begin_layout Plain Layout
11628 \begin_layout Standard
11629 まず3×3表を作成して下さい。第一列の最下セル上の罫線を削除して下さい。そして、第二行第一列に
11632 \begin_layout Standard
11637 multirow{2}{2.5cm}{
11640 \begin_layout Standard
11641 というコマンドをTeXコードとして入れると、連結行を作成することができます。このコマンドのパラメータに指定されているように、連結行は2行を連結し、2.5
11642 \begin_inset space \thinspace{}
11645 cmの幅を持つようになります。連結行セルの内容は、TeXコードボックスの後に書き込み、その文章の後に別のTeXコードボックスで右括弧
11652 \begin_layout Standard
11659 は、既定値でその中身を左揃えにします。この既定値を上書きするには、文書プリアンブル中のTeXコードで
11662 \begin_layout Standard
11674 \begin_layout Standard
11681 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11682 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11703 \begin_layout Section
11705 \begin_inset CommandInset label
11707 name "sec:フォーマル形式の表"
11712 \begin_inset Index idx
11715 \begin_layout Plain Layout
11716 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
11724 \begin_layout Standard
11726 \begin_inset CommandInset ref
11728 reference "tab:ブックタブ表の例"
11732 のように組版されます。この種の表は、「
11736 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
11739 \begin_layout Standard
11740 \begin_inset Float table
11746 \begin_layout Plain Layout
11747 \begin_inset Caption
11749 \begin_layout Plain Layout
11750 \begin_inset CommandInset label
11752 name "tab:ブックタブ表の例"
11764 \begin_layout Plain Layout
11766 \begin_inset Tabular
11767 <lyxtabular version="3" rows="8" columns="4">
11768 <features booktabs="true" tabularvalignment="middle">
11769 <column alignment="center" valignment="top" width="0">
11770 <column alignment="center" valignment="top" width="0">
11771 <column alignment="center" valignment="top" width="0">
11772 <column alignment="center" valignment="top" width="0">
11774 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
11777 \begin_layout Plain Layout
11783 <cell alignment="center" valignment="top" topline="true" usebox="none">
11786 \begin_layout Plain Layout
11788 \begin_inset space \thinspace{}
11796 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
11799 \begin_layout Plain Layout
11801 \begin_inset space \thinspace{}
11809 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11812 \begin_layout Plain Layout
11820 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11823 \begin_layout Plain Layout
11827 \begin_layout Plain Layout
11840 \begin_layout Plain Layout
11854 <cell alignment="center" valignment="top" usebox="none">
11857 \begin_layout Plain Layout
11863 <cell alignment="center" valignment="top" usebox="none">
11866 \begin_layout Plain Layout
11872 <cell alignment="center" valignment="top" usebox="none">
11875 \begin_layout Plain Layout
11883 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
11886 \begin_layout Plain Layout
11892 <cell alignment="center" valignment="top" topline="true" usebox="none">
11895 \begin_layout Plain Layout
11901 <cell alignment="center" valignment="top" topline="true" usebox="none">
11904 \begin_layout Plain Layout
11910 <cell alignment="center" valignment="top" topline="true" usebox="none">
11913 \begin_layout Plain Layout
11920 <row topspace="default">
11921 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11924 \begin_layout Plain Layout
11930 <cell alignment="center" valignment="top" usebox="none">
11933 \begin_layout Plain Layout
11939 <cell alignment="center" valignment="top" usebox="none">
11942 \begin_layout Plain Layout
11948 <cell alignment="center" valignment="top" usebox="none">
11951 \begin_layout Plain Layout
11958 <row topspace="default">
11959 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11962 \begin_layout Plain Layout
11963 \begin_inset Formula $f_{\mathrm{max}}$
11971 <cell alignment="center" valignment="top" usebox="none">
11974 \begin_layout Plain Layout
11980 <cell alignment="center" valignment="top" usebox="none">
11983 \begin_layout Plain Layout
11989 <cell alignment="center" valignment="top" usebox="none">
11992 \begin_layout Plain Layout
11999 <row topspace="default">
12000 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12003 \begin_layout Plain Layout
12007 \begin_layout Plain Layout
12011 cmidrule(l{10pt}){1-1}
12021 <cell alignment="center" valignment="top" usebox="none">
12024 \begin_layout Plain Layout
12030 <cell alignment="center" valignment="top" usebox="none">
12033 \begin_layout Plain Layout
12039 <cell alignment="center" valignment="top" usebox="none">
12042 \begin_layout Plain Layout
12050 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12053 \begin_layout Plain Layout
12059 <cell alignment="center" valignment="top" usebox="none">
12062 \begin_layout Plain Layout
12068 <cell alignment="center" valignment="top" usebox="none">
12071 \begin_layout Plain Layout
12077 <cell alignment="center" valignment="top" usebox="none">
12080 \begin_layout Plain Layout
12088 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12091 \begin_layout Plain Layout
12097 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12100 \begin_layout Plain Layout
12106 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12109 \begin_layout Plain Layout
12115 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12118 \begin_layout Plain Layout
12137 \begin_layout Standard
12139 \begin_inset CommandInset ref
12141 reference "sub:行の余白取り"
12145 節に述べられているように、表の設定ダイアログの
12152 \begin_layout Standard
12153 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
12154 \begin_inset Newline newline
12158 \begin_inset space \thinspace{}
12161 emですが、他の罫線の既定幅は0.05
12162 \begin_inset space \thinspace{}
12168 \begin_layout Standard
12169 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
12172 \begin_layout Standard
12182 \begin_inset Newline newline
12194 \begin_layout Standard
12199 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
12207 に置き換えて下さい。他の罫線の線幅を変更するには、
12215 に置き換えます。線幅を設定する上では、付録
12216 \begin_inset CommandInset ref
12218 reference "cha:LyXで使用できる単位"
12222 に挙げてあるすべての単位を使用することができます。
12225 \begin_layout Standard
12226 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
12232 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
12235 \begin_layout Standard
12240 cmidrule[幅](刈込){開始列-終了列}
12243 \begin_layout Standard
12250 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
12256 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
12260 \begin_layout Standard
12262 \begin_inset space \thinspace{}
12265 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
12274 の値を取り、刈込幅の指定は非必須です。たとえば、
12278 というパラメーターを使うと、罫線が左端から2
12279 \begin_inset space \thinspace{}
12282 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
12283 \begin_inset space \thinspace{}
12289 \begin_layout Standard
12290 \begin_inset VSpace bigskip
12294 \begin_inset CommandInset ref
12296 reference "tab:ブックタブ表の例"
12303 \begin_layout Standard
12313 \begin_layout Standard
12314 というコマンドを第二行の初めに使用し、
12317 \begin_layout Standard
12322 cmidrule(l{10pt}){1-1}
12325 \begin_layout Standard
12329 \begin_layout Standard
12330 \begin_inset VSpace bigskip
12336 \begin_layout Standard
12338 \begin_inset CommandInset ref
12340 reference "tab:特殊なブックタブ表"
12350 が欲しいことがあるかもしれません。これは、TeXコードで
12353 \begin_layout Standard
12361 \begin_layout Standard
12362 コマンドを使用することによって実現することができます。表
12363 \begin_inset CommandInset ref
12365 reference "tab:特殊なブックタブ表"
12372 \begin_layout Standard
12386 \begin_layout Standard
12387 というコマンドが使用されており、第六列には
12390 \begin_layout Standard
12402 \begin_layout Standard
12406 \begin_layout Standard
12407 \begin_inset VSpace bigskip
12413 \begin_layout Standard
12414 罫線の余白取りにどうしても満足が行かない場合には、
12417 \begin_layout Standard
12422 specialrule{幅}{上余白}{下余白}
12425 \begin_layout Standard
12426 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
12431 \begin_inset CommandInset citation
12438 \begin_inset Index idx
12441 \begin_layout Plain Layout
12442 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
12450 \begin_layout Standard
12451 \begin_inset Float table
12457 \begin_layout Plain Layout
12458 \begin_inset Caption
12460 \begin_layout Plain Layout
12461 \begin_inset CommandInset label
12463 name "tab:特殊なブックタブ表"
12475 \begin_layout Plain Layout
12477 \begin_inset Tabular
12478 <lyxtabular version="3" rows="8" columns="4">
12479 <features booktabs="true" tabularvalignment="middle">
12480 <column alignment="center" valignment="top" width="0">
12481 <column alignment="center" valignment="top" width="0">
12482 <column alignment="center" valignment="top" width="0">
12483 <column alignment="center" valignment="top" width="0">
12485 <cell alignment="center" valignment="top" topline="true" usebox="none">
12488 \begin_layout Plain Layout
12494 <cell alignment="center" valignment="top" topline="true" usebox="none">
12497 \begin_layout Plain Layout
12499 \begin_inset space \thinspace{}
12507 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
12510 \begin_layout Plain Layout
12512 \begin_inset space \thinspace{}
12520 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12523 \begin_layout Plain Layout
12531 <cell alignment="center" valignment="top" usebox="none">
12534 \begin_layout Plain Layout
12538 \begin_layout Plain Layout
12551 \begin_layout Plain Layout
12564 \begin_layout Plain Layout
12577 \begin_layout Plain Layout
12591 <cell alignment="center" valignment="top" usebox="none">
12594 \begin_layout Plain Layout
12600 <cell alignment="center" valignment="top" usebox="none">
12603 \begin_layout Plain Layout
12609 <cell alignment="center" valignment="top" usebox="none">
12612 \begin_layout Plain Layout
12620 <cell alignment="center" valignment="top" topline="true" usebox="none">
12623 \begin_layout Plain Layout
12629 <cell alignment="center" valignment="top" topline="true" usebox="none">
12632 \begin_layout Plain Layout
12638 <cell alignment="center" valignment="top" topline="true" usebox="none">
12641 \begin_layout Plain Layout
12647 <cell alignment="center" valignment="top" topline="true" usebox="none">
12650 \begin_layout Plain Layout
12657 <row topspace="default">
12658 <cell alignment="center" valignment="top" usebox="none">
12661 \begin_layout Plain Layout
12667 <cell alignment="center" valignment="top" usebox="none">
12670 \begin_layout Plain Layout
12676 <cell alignment="center" valignment="top" usebox="none">
12679 \begin_layout Plain Layout
12685 <cell alignment="center" valignment="top" usebox="none">
12688 \begin_layout Plain Layout
12695 <row topspace="default">
12696 <cell alignment="center" valignment="top" usebox="none">
12699 \begin_layout Plain Layout
12700 \begin_inset Formula $f_{\mathrm{max}}$
12708 <cell alignment="center" valignment="top" usebox="none">
12711 \begin_layout Plain Layout
12717 <cell alignment="center" valignment="top" usebox="none">
12720 \begin_layout Plain Layout
12726 <cell alignment="center" valignment="top" usebox="none">
12729 \begin_layout Plain Layout
12737 <cell alignment="center" valignment="top" topline="true" usebox="none">
12740 \begin_layout Plain Layout
12744 \begin_layout Plain Layout
12757 \begin_layout Plain Layout
12771 <cell alignment="center" valignment="top" topline="true" usebox="none">
12774 \begin_layout Plain Layout
12780 <cell alignment="center" valignment="top" topline="true" usebox="none">
12783 \begin_layout Plain Layout
12789 <cell alignment="center" valignment="top" topline="true" usebox="none">
12792 \begin_layout Plain Layout
12800 <cell alignment="center" valignment="top" usebox="none">
12803 \begin_layout Plain Layout
12809 <cell alignment="center" valignment="top" usebox="none">
12812 \begin_layout Plain Layout
12818 <cell alignment="center" valignment="top" usebox="none">
12821 \begin_layout Plain Layout
12827 <cell alignment="center" valignment="top" usebox="none">
12830 \begin_layout Plain Layout
12838 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12841 \begin_layout Plain Layout
12847 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12850 \begin_layout Plain Layout
12856 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12859 \begin_layout Plain Layout
12865 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12868 \begin_layout Plain Layout
12887 \begin_layout Section
12889 \begin_inset Index idx
12892 \begin_layout Plain Layout
12901 \begin_layout Standard
12902 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
12903 \begin_inset CommandInset ref
12905 reference "sec:ボックスダイアログ"
12909 節に述べられているように、ボックスの垂直揃えを行います。
12912 \begin_layout Standard
12914 \begin_inset space \thinspace{}
12921 \begin_layout Plain Layout
12923 \begin_inset CommandInset ref
12925 reference "sec:ミニページ"
12937 \begin_layout Itemize
12939 \begin_inset Box Frameless
12949 height_special "totalheight"
12952 \begin_layout Plain Layout
12953 \begin_inset Tabular
12954 <lyxtabular version="3" rows="3" columns="3">
12955 <features tabularvalignment="middle">
12956 <column alignment="center" valignment="top" width="0">
12957 <column alignment="center" valignment="top" width="0">
12958 <column alignment="center" valignment="top" width="0">
12960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12963 \begin_layout Plain Layout
12969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12972 \begin_layout Plain Layout
12978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12981 \begin_layout Plain Layout
12989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12992 \begin_layout Plain Layout
12998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13001 \begin_layout Plain Layout
13007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13010 \begin_layout Plain Layout
13018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13021 \begin_layout Plain Layout
13027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13030 \begin_layout Plain Layout
13036 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13039 \begin_layout Plain Layout
13059 \begin_layout Plain Layout
13071 \begin_inset Box Frameless
13081 height_special "totalheight"
13084 \begin_layout Plain Layout
13085 \begin_inset Tabular
13086 <lyxtabular version="3" rows="3" columns="3">
13087 <features tabularvalignment="middle">
13088 <column alignment="center" valignment="top" width="0">
13089 <column alignment="center" valignment="top" width="0">
13090 <column alignment="center" valignment="top" width="0">
13092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13095 \begin_layout Plain Layout
13101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13104 \begin_layout Plain Layout
13110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13113 \begin_layout Plain Layout
13121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13124 \begin_layout Plain Layout
13130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13133 \begin_layout Plain Layout
13139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13142 \begin_layout Plain Layout
13150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13153 \begin_layout Plain Layout
13159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13162 \begin_layout Plain Layout
13168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13171 \begin_layout Plain Layout
13191 \begin_layout Plain Layout
13201 \begin_layout Itemize
13203 \begin_inset Box Frameless
13213 height_special "totalheight"
13216 \begin_layout Plain Layout
13217 \begin_inset Tabular
13218 <lyxtabular version="3" rows="3" columns="3">
13219 <features tabularvalignment="middle">
13220 <column alignment="center" valignment="top" width="0">
13221 <column alignment="center" valignment="top" width="0">
13222 <column alignment="center" valignment="top" width="0">
13224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13227 \begin_layout Plain Layout
13233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13236 \begin_layout Plain Layout
13242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13245 \begin_layout Plain Layout
13253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13256 \begin_layout Plain Layout
13262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13265 \begin_layout Plain Layout
13271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13274 \begin_layout Plain Layout
13282 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13285 \begin_layout Plain Layout
13291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13294 \begin_layout Plain Layout
13300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13303 \begin_layout Plain Layout
13322 \begin_layout Itemize
13324 \begin_inset Box Frameless
13334 height_special "totalheight"
13337 \begin_layout Plain Layout
13338 \begin_inset Tabular
13339 <lyxtabular version="3" rows="3" columns="3">
13340 <features tabularvalignment="middle">
13341 <column alignment="center" valignment="top" width="0">
13342 <column alignment="center" valignment="top" width="0">
13343 <column alignment="center" valignment="top" width="0">
13345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13348 \begin_layout Plain Layout
13354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13357 \begin_layout Plain Layout
13363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13366 \begin_layout Plain Layout
13374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13377 \begin_layout Plain Layout
13383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13386 \begin_layout Plain Layout
13392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13395 \begin_layout Plain Layout
13403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13406 \begin_layout Plain Layout
13412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13415 \begin_layout Plain Layout
13421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13424 \begin_layout Plain Layout
13444 \begin_layout Plain Layout
13456 \begin_inset Box Frameless
13466 height_special "totalheight"
13469 \begin_layout Plain Layout
13470 \begin_inset Tabular
13471 <lyxtabular version="3" rows="3" columns="3">
13472 <features tabularvalignment="middle">
13473 <column alignment="center" valignment="top" width="0">
13474 <column alignment="center" valignment="top" width="0">
13475 <column alignment="center" valignment="top" width="0">
13477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13480 \begin_layout Plain Layout
13486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13489 \begin_layout Plain Layout
13495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13498 \begin_layout Plain Layout
13506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13509 \begin_layout Plain Layout
13515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13518 \begin_layout Plain Layout
13524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13527 \begin_layout Plain Layout
13535 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13538 \begin_layout Plain Layout
13544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13547 \begin_layout Plain Layout
13553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13556 \begin_layout Plain Layout
13576 \begin_layout Plain Layout
13586 \begin_layout Standard
13587 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
13591 \begin_layout Plain Layout
13593 \begin_inset CommandInset ref
13595 reference "sub:垂直揃え"
13604 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
13607 \begin_layout Standard
13617 \begin_layout Standard
13618 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
13622 をTeXコードとして挿入してあります。最後の項目の第二表には、
13625 \begin_layout Standard
13635 \begin_layout Standard
13639 \begin_layout Standard
13640 \begin_inset Note Greyedout
13643 \begin_layout Plain Layout
13648 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
13654 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
13662 \begin_layout Section
13664 \begin_inset CommandInset label
13671 \begin_inset Index idx
13674 \begin_layout Plain Layout
13683 \begin_layout Subsection
13685 \begin_inset Index idx
13688 \begin_layout Plain Layout
13689 ひょうのいろ@表の色 ! せるぶ@セル部
13695 \begin_inset Index idx
13698 \begin_layout Plain Layout
13699 いろつき@色付き ! ひょうせるぶ@表セル部
13707 \begin_layout Standard
13708 \begin_inset Float table
13714 \begin_layout Plain Layout
13715 \begin_inset Caption
13717 \begin_layout Plain Layout
13718 \begin_inset CommandInset label
13720 name "tab:colortblなしの表"
13729 \begin_inset Argument
13732 \begin_layout Plain Layout
13746 \begin_layout Plain Layout
13748 \begin_inset Tabular
13749 <lyxtabular version="3" rows="3" columns="3">
13750 <features tabularvalignment="middle">
13751 <column alignment="center" valignment="top" width="0">
13752 <column alignment="center" valignment="top" width="0">
13753 <column alignment="center" valignment="top" width="0">
13755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13758 \begin_layout Plain Layout
13766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13769 \begin_layout Plain Layout
13777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13780 \begin_layout Plain Layout
13790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13793 \begin_layout Plain Layout
13801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13804 \begin_layout Plain Layout
13812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13815 \begin_layout Plain Layout
13825 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13828 \begin_layout Plain Layout
13836 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13839 \begin_layout Plain Layout
13847 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13850 \begin_layout Plain Layout
13871 \begin_layout Standard
13872 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
13874 編集\SpecialChar \menuseparator
13878 \begin_inset CommandInset ref
13880 reference "tab:colortblなしの表"
13884 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
13889 \begin_inset Index idx
13892 \begin_layout Plain Layout
13893 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
13901 \begin_layout Standard
13905 \begin_layout Plain Layout
13915 \begin_inset Note Note
13918 \begin_layout Plain Layout
13919 本節の以下の部分は、LaTeXパッケージ
13931 \begin_layout Standard
13932 色付きの表を作成するには、プリアンブルに
13935 \begin_layout Standard
13940 usepackage{colortbl}
13943 \begin_layout Standard
13948 を読み込まなくてはなりません。列の色は、
13955 \begin_layout Standard
13963 \begin_layout Standard
13964 というコマンドを書いて指定することができます。
13969 \begin_inset CommandInset ref
13971 reference "sub:連結列の計算"
13978 \begin_layout Standard
13979 以下の色彩名が事前に定義されています。
13982 \begin_layout Standard
14016 \begin_layout Standard
14017 \begin_inset VSpace medskip
14023 \begin_layout Standard
14027 \begin_layout Standard
14032 definecolor{色彩名}{色彩モデル}{色彩値}
14035 \begin_layout Standard
14036 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
14039 \begin_layout Labeling
14059 \begin_layout Labeling
14075 \begin_layout Labeling
14079 \begin_layout Standard
14080 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
14083 \begin_layout Standard
14087 \begin_layout Standard
14092 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14095 \begin_layout Standard
14103 \begin_layout Standard
14108 definecolor{lightgray}{gray}{0.8}
14111 \begin_layout Standard
14119 \begin_layout Standard
14120 \begin_inset VSpace medskip
14126 \begin_layout Standard
14130 \begin_layout Standard
14138 \begin_layout Standard
14139 というコマンドを使用して色付けすることができ、セルは
14142 \begin_layout Standard
14150 \begin_layout Standard
14151 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
14154 \begin_layout Standard
14155 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
14157 編集\SpecialChar \menuseparator
14160 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
14164 \begin_layout Standard
14165 \begin_inset Note Greyedout
14168 \begin_layout Plain Layout
14169 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
14177 \begin_layout Standard
14178 \begin_inset VSpace bigskip
14184 \begin_layout Standard
14186 \begin_inset CommandInset ref
14188 reference "tab:色付き表"
14192 を作成するには、以下のようにしてください。第一列の色は
14196 にしたいので、この列のLaTeX変数として
14199 \begin_layout Standard
14204 columncolor{darkgreen}
14209 \begin_layout Standard
14210 と書き込みます。第一列は青にしたいので、この列の最初のセルに
14213 \begin_layout Standard
14221 \begin_layout Standard
14222 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。最下行の最後のセルは、
14225 \begin_layout Standard
14233 \begin_layout Standard
14234 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
14236 編集\SpecialChar \menuseparator
14239 メニューを使って、各文字に色付けをすることができます。
14242 \begin_layout Standard
14243 \begin_inset Float table
14249 \begin_layout Plain Layout
14250 \begin_inset Caption
14252 \begin_layout Plain Layout
14255 \begin_inset CommandInset label
14264 \begin_inset Argument
14267 \begin_layout Plain Layout
14281 \begin_layout Plain Layout
14283 \begin_inset Tabular
14284 <lyxtabular version="3" rows="3" columns="3">
14285 <features tabularvalignment="middle">
14286 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14287 <column alignment="center" valignment="top" width="0">
14288 <column alignment="center" valignment="top" width="0">
14290 <cell alignment="center" valignment="top" usebox="none">
14293 \begin_layout Plain Layout
14297 \begin_layout Plain Layout
14313 <cell alignment="center" valignment="top" usebox="none">
14316 \begin_layout Plain Layout
14324 <cell alignment="center" valignment="top" usebox="none">
14327 \begin_layout Plain Layout
14337 <cell alignment="center" valignment="top" usebox="none">
14340 \begin_layout Plain Layout
14348 <cell alignment="center" valignment="top" usebox="none">
14351 \begin_layout Plain Layout
14359 <cell alignment="center" valignment="top" usebox="none">
14362 \begin_layout Plain Layout
14372 <cell alignment="center" valignment="top" usebox="none">
14375 \begin_layout Plain Layout
14383 <cell alignment="center" valignment="top" usebox="none">
14386 \begin_layout Plain Layout
14394 <cell alignment="center" valignment="top" usebox="none">
14397 \begin_layout Plain Layout
14401 \begin_layout Plain Layout
14430 \begin_layout Standard
14434 \begin_layout Plain Layout
14444 \begin_inset Note Note
14447 \begin_layout Plain Layout
14452 が導入されていないときに表示されます。
14460 \begin_layout Standard
14468 \begin_layout Standard
14472 \begin_layout Plain Layout
14484 \begin_layout Subsection
14486 \begin_inset Index idx
14489 \begin_layout Plain Layout
14490 ひょうのいろ@表の色 ! けいせんぶ@罫線部
14496 \begin_inset Index idx
14499 \begin_layout Plain Layout
14500 いろつき@色付き ! ひょうけいせんぶ@表罫線部
14508 \begin_layout Standard
14510 \begin_inset CommandInset ref
14512 reference "sub:罫線幅"
14516 節に述べられているように、表中の全罫線の線幅は、長さ
14522 を使って調節することができます。本節の表では、すべて1.5
14523 \begin_inset space \thinspace{}
14530 \begin_layout Plain Layout
14536 arrayrulewidth}{1.5pt}
14544 \begin_layout Standard
14546 \begin_inset CommandInset ref
14548 reference "sub:自製書式"
14552 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
14555 \begin_layout Standard
14560 newcolumntype{W}{!{
14567 \begin_layout Standard
14569 \begin_inset CommandInset ref
14571 reference "tab:色付き縦罫線の表"
14586 \begin_layout Standard
14587 複数の色を用いたいときには、列書式をもっと定義してください。
14590 \begin_layout Standard
14591 \begin_inset Float table
14597 \begin_layout Plain Layout
14598 \begin_inset Caption
14600 \begin_layout Plain Layout
14601 \begin_inset CommandInset label
14603 name "tab:色付き縦罫線の表"
14615 \begin_layout Plain Layout
14617 \begin_inset Tabular
14618 <lyxtabular version="3" rows="3" columns="3">
14619 <features tabularvalignment="middle">
14620 <column alignment="center" valignment="top" width="0" special="Wc">
14621 <column alignment="center" valignment="top" width="0" special="Wc">
14622 <column alignment="center" valignment="top" width="0" special="WcW">
14624 <cell alignment="center" valignment="top" topline="true" usebox="none">
14627 \begin_layout Plain Layout
14633 <cell alignment="center" valignment="top" topline="true" usebox="none">
14636 \begin_layout Plain Layout
14642 <cell alignment="center" valignment="top" topline="true" usebox="none">
14645 \begin_layout Plain Layout
14653 <cell alignment="center" valignment="top" topline="true" usebox="none">
14656 \begin_layout Plain Layout
14662 <cell alignment="center" valignment="top" topline="true" usebox="none">
14665 \begin_layout Plain Layout
14671 <cell alignment="center" valignment="top" topline="true" usebox="none">
14674 \begin_layout Plain Layout
14682 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14685 \begin_layout Plain Layout
14691 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14694 \begin_layout Plain Layout
14700 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
14703 \begin_layout Plain Layout
14722 \begin_layout Standard
14723 \begin_inset VSpace bigskip
14727 \begin_inset CommandInset ref
14729 reference "tab:色付き横罫線の表"
14733 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
14736 \begin_layout Standard
14746 \begin_inset Newline newline
14754 \begin_inset Newline newline
14758 \begin_inset Phantom HPhantom
14761 \begin_layout Plain Layout
14762 \begin_inset space ~
14772 arrayrulecolor{red}
14776 arrayrulecolor{black}}
14779 \begin_layout Standard
14783 \begin_layout Standard
14787 \begin_layout Plain Layout
14798 \begin_layout Plain Layout
14807 \begin_layout Plain Layout
14811 arrayrulecolor{red}
14815 arrayrulecolor{black}}
14821 \begin_inset Float table
14827 \begin_layout Plain Layout
14828 \begin_inset Caption
14830 \begin_layout Plain Layout
14831 \begin_inset CommandInset label
14833 name "tab:色付き横罫線の表"
14845 \begin_layout Plain Layout
14847 \begin_inset Tabular
14848 <lyxtabular version="3" rows="3" columns="3">
14849 <features tabularvalignment="middle">
14850 <column alignment="center" valignment="top" width="0">
14851 <column alignment="center" valignment="top" width="0">
14852 <column alignment="center" valignment="top" width="0">
14854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14857 \begin_layout Plain Layout
14863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14866 \begin_layout Plain Layout
14872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14875 \begin_layout Plain Layout
14883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14886 \begin_layout Plain Layout
14892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14895 \begin_layout Plain Layout
14901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14904 \begin_layout Plain Layout
14912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14915 \begin_layout Plain Layout
14921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14924 \begin_layout Plain Layout
14930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14933 \begin_layout Plain Layout
14952 \begin_layout Standard
14956 \begin_layout Standard
14968 \begin_layout Standard
14969 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
14970 \begin_inset CommandInset ref
14972 reference "tab:色付き罫線の表"
14979 \begin_layout Standard
14980 \begin_inset Float table
14986 \begin_layout Plain Layout
14987 \begin_inset Caption
14989 \begin_layout Plain Layout
14990 \begin_inset CommandInset label
15004 \begin_layout Plain Layout
15006 \begin_inset Tabular
15007 <lyxtabular version="3" rows="3" columns="3">
15008 <features tabularvalignment="middle">
15009 <column alignment="center" valignment="top" width="0" special="Wc">
15010 <column alignment="center" valignment="top" width="0" special="Wc">
15011 <column alignment="center" valignment="top" width="0" special="WcW">
15013 <cell alignment="center" valignment="top" topline="true" usebox="none">
15016 \begin_layout Plain Layout
15022 <cell alignment="center" valignment="top" topline="true" usebox="none">
15025 \begin_layout Plain Layout
15031 <cell alignment="center" valignment="top" topline="true" usebox="none">
15034 \begin_layout Plain Layout
15042 <cell alignment="center" valignment="top" topline="true" usebox="none">
15045 \begin_layout Plain Layout
15051 <cell alignment="center" valignment="top" topline="true" usebox="none">
15054 \begin_layout Plain Layout
15060 <cell alignment="center" valignment="top" topline="true" usebox="none">
15063 \begin_layout Plain Layout
15070 <row topspace="default">
15071 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15074 \begin_layout Plain Layout
15080 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15083 \begin_layout Plain Layout
15089 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15092 \begin_layout Plain Layout
15111 \begin_layout Standard
15115 \begin_layout Plain Layout
15131 \begin_layout Standard
15135 \begin_layout Plain Layout
15141 arrayrulewidth}{0.4pt}
15149 \begin_layout Section
15151 \begin_inset Index idx
15154 \begin_layout Plain Layout
15161 \begin_inset Index idx
15164 \begin_layout Plain Layout
15173 \begin_layout Subsection
15175 \begin_inset CommandInset label
15182 \begin_inset Index idx
15185 \begin_layout Plain Layout
15186 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
15194 \begin_layout Standard
15199 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
15202 \begin_layout Description
15203 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
15207 \begin_layout Plain Layout
15209 \begin_inset CommandInset ref
15211 reference "sec:フォーマル形式の表"
15221 \begin_inset space \thinspace{}
15224 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15225 \begin_inset VSpace medskip
15229 \begin_inset Newline newline
15233 \begin_inset space \hspace*{}
15238 \begin_inset space \hfill{}
15242 \begin_inset Tabular
15243 <lyxtabular version="3" rows="3" columns="1">
15244 <features tabularvalignment="middle">
15245 <column alignment="center" valignment="top" width="0">
15247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15250 \begin_layout Plain Layout
15257 <row topspace="3mm">
15258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15261 \begin_layout Plain Layout
15263 \begin_inset space \thinspace{}
15273 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15276 \begin_layout Plain Layout
15288 \begin_inset space \hfill{}
15292 \begin_inset space \hspace*{}
15297 \begin_inset VSpace medskip
15301 \begin_inset Newline newline
15304 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
15307 \begin_layout Description
15308 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15309 \begin_inset space \thinspace{}
15312 emの余白を挿入し、通常の表ならば既定値として2
15313 \begin_inset space \thinspace{}
15319 \begin_layout Description
15320 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
15321 \begin_inset space \thinspace{}
15324 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
15325 \begin_inset VSpace medskip
15329 \begin_inset Newline newline
15333 \begin_inset space \hspace*{}
15338 \begin_inset space \hfill{}
15342 \begin_inset Tabular
15343 <lyxtabular version="3" rows="3" columns="1">
15344 <features tabularvalignment="middle">
15345 <column alignment="center" valignment="top" width="0">
15347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15350 \begin_layout Plain Layout
15357 <row interlinespace="3mm">
15358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15361 \begin_layout Plain Layout
15362 \begin_inset Formula $\downarrow$
15366 \begin_inset space \thinspace{}
15370 \begin_inset Formula $\downarrow$
15380 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15383 \begin_layout Plain Layout
15384 \begin_inset Formula $\uparrow$
15388 \begin_inset space \thinspace{}
15392 \begin_inset Formula $\uparrow$
15406 \begin_inset space \hfill{}
15410 \begin_inset space \hspace*{}
15415 \begin_inset VSpace medskip
15419 \begin_inset Newline newline
15422 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
15425 \begin_layout Standard
15426 \begin_inset VSpace bigskip
15429 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
15432 \begin_layout Standard
15437 @ifundefined{extrarowheight}
15438 \begin_inset Newline newline
15442 \begin_inset Phantom HPhantom
15445 \begin_layout Plain Layout
15446 \begin_inset space ~
15456 usepackage{array}}{}
15457 \begin_inset Newline newline
15464 extrarowheight}{height}
15467 \begin_layout Standard
15468 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
15472 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
15481 \begin_layout Standard
15482 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
15488 コマンドを挿入することで補正することができます。表
15489 \begin_inset CommandInset ref
15491 reference "tab:垂直揃え"
15498 \begin_layout Standard
15500 \begin_inset Float table
15506 \begin_layout Plain Layout
15507 \begin_inset Caption
15509 \begin_layout Plain Layout
15510 \begin_inset CommandInset label
15524 \begin_layout Plain Layout
15525 \begin_inset space \hfill{}
15529 \begin_inset Float table
15534 \begin_layout Plain Layout
15535 \begin_inset Caption
15537 \begin_layout Plain Layout
15546 \begin_layout Plain Layout
15549 \begin_inset Tabular
15550 <lyxtabular version="3" rows="6" columns="1">
15551 <features tabularvalignment="middle">
15552 <column alignment="left" valignment="top" width="0">
15554 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15557 \begin_layout Plain Layout
15565 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15568 \begin_layout Plain Layout
15578 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15581 \begin_layout Plain Layout
15591 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15594 \begin_layout Plain Layout
15604 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15607 \begin_layout Plain Layout
15617 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15620 \begin_layout Plain Layout
15639 \begin_inset space \hfill{}
15643 \begin_inset Float table
15648 \begin_layout Plain Layout
15649 \begin_inset Caption
15651 \begin_layout Plain Layout
15666 \begin_layout Plain Layout
15669 \begin_inset Tabular
15670 <lyxtabular version="3" rows="6" columns="1">
15671 <features tabularvalignment="middle">
15672 <column alignment="left" valignment="top" width="0">
15674 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15677 \begin_layout Plain Layout
15685 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15688 \begin_layout Plain Layout
15694 \begin_layout Plain Layout
15710 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15713 \begin_layout Plain Layout
15719 \begin_layout Plain Layout
15735 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15738 \begin_layout Plain Layout
15744 \begin_layout Plain Layout
15760 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15763 \begin_layout Plain Layout
15769 \begin_layout Plain Layout
15785 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15788 \begin_layout Plain Layout
15794 \begin_layout Plain Layout
15819 \begin_inset space \hfill{}
15830 \begin_layout Subsection
15832 \begin_inset Index idx
15835 \begin_layout Plain Layout
15836 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
15844 \begin_layout Standard
15846 \begin_inset CommandInset ref
15848 reference "tab:表セル"
15852 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。
15855 \begin_layout Standard
15856 \begin_inset Float table
15862 \begin_layout Plain Layout
15863 \begin_inset Caption
15865 \begin_layout Plain Layout
15866 \begin_inset CommandInset label
15880 \begin_layout Plain Layout
15882 \begin_inset Tabular
15883 <lyxtabular version="3" rows="4" columns="2">
15884 <features tabularvalignment="middle">
15885 <column alignment="right" valignment="top" width="0">
15886 <column alignment="left" valignment="top" width="0" special="@{}l">
15888 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15891 \begin_layout Plain Layout
15897 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15900 \begin_layout Plain Layout
15908 <cell alignment="center" valignment="top" usebox="none">
15911 \begin_layout Plain Layout
15917 <cell alignment="center" valignment="top" usebox="none">
15920 \begin_layout Plain Layout
15928 <cell alignment="center" valignment="top" usebox="none">
15931 \begin_layout Plain Layout
15937 <cell alignment="center" valignment="top" usebox="none">
15940 \begin_layout Plain Layout
15948 <cell alignment="center" valignment="top" usebox="none">
15951 \begin_layout Plain Layout
15957 <cell alignment="center" valignment="top" usebox="none">
15960 \begin_layout Plain Layout
15979 \begin_layout Standard
15980 この表は4×2表として作成されています。見出しは中央揃えの連結列になっています。第1列には、小数点以上の各桁と小数点が右揃えで収められています。第2列には、小数
15981 点以下の各桁が左揃えで収められています。通常、表の列間に加えられる余白を削るために、
15984 \begin_layout Standard
15990 \begin_layout Standard
15991 というLaTeX引数を第2列に指定します。
15994 \begin_layout Standard
15996 \begin_inset CommandInset ref
15998 reference "tab:表セル揃え"
16002 は、揃え方の例をいくつか示しています。関係子で揃えを行うには、関係詞の周りに正しい余白を取るために、二番目に小さい数式余白を最終列の初めに加えなくてはなりません
16006 \begin_layout Standard
16007 \begin_inset Float table
16012 \begin_layout Plain Layout
16013 \begin_inset Caption
16015 \begin_layout Plain Layout
16016 \begin_inset CommandInset label
16030 \begin_layout Plain Layout
16032 \begin_inset Tabular
16033 <lyxtabular version="3" rows="4" columns="6">
16034 <features tabularvalignment="middle">
16035 <column alignment="right" valignment="top" width="0">
16036 <column alignment="left" valignment="top" width="0" special="@{}l">
16037 <column alignment="right" valignment="top" width="0">
16038 <column alignment="left" valignment="top" width="0" special="@{}l">
16039 <column alignment="right" valignment="top" width="0">
16040 <column alignment="left" valignment="top" width="0" special="@{}l">
16042 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16045 \begin_layout Plain Layout
16051 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16054 \begin_layout Plain Layout
16060 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16063 \begin_layout Plain Layout
16069 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16072 \begin_layout Plain Layout
16078 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16081 \begin_layout Plain Layout
16087 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16090 \begin_layout Plain Layout
16098 <cell alignment="center" valignment="top" usebox="none">
16101 \begin_layout Plain Layout
16107 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16110 \begin_layout Plain Layout
16116 <cell alignment="center" valignment="top" usebox="none">
16119 \begin_layout Plain Layout
16120 \begin_inset Formula $10\cdot$
16128 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16131 \begin_layout Plain Layout
16132 \begin_inset Formula $10^{\mbox{-}17}$
16140 <cell alignment="center" valignment="top" usebox="none">
16143 \begin_layout Plain Layout
16144 \begin_inset Formula $\Gamma(t)\propto$
16152 <cell alignment="center" valignment="top" usebox="none">
16155 \begin_layout Plain Layout
16156 \begin_inset Formula $\:\Upsilon(t)$
16166 <cell alignment="center" valignment="top" usebox="none">
16169 \begin_layout Plain Layout
16175 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16178 \begin_layout Plain Layout
16184 <cell alignment="center" valignment="top" usebox="none">
16187 \begin_layout Plain Layout
16188 \begin_inset Formula $5.78\cdot$
16196 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16199 \begin_layout Plain Layout
16200 \begin_inset Formula $10^{7}$
16208 <cell alignment="center" valignment="top" usebox="none">
16211 \begin_layout Plain Layout
16212 \begin_inset Formula $A\ne$
16220 <cell alignment="center" valignment="top" usebox="none">
16223 \begin_layout Plain Layout
16224 \begin_inset Formula $\: B_{\mathrm{red}}$
16234 <cell alignment="center" valignment="top" usebox="none">
16237 \begin_layout Plain Layout
16243 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16246 \begin_layout Plain Layout
16248 \begin_inset space \thinspace{}
16256 <cell alignment="center" valignment="top" usebox="none">
16259 \begin_layout Plain Layout
16261 \begin_inset Formula $33.5\cdot$
16269 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16272 \begin_layout Plain Layout
16273 \begin_inset Formula $10^{4}$
16281 <cell alignment="center" valignment="top" usebox="none">
16284 \begin_layout Plain Layout
16285 \begin_inset Formula $\sin(\alpha)\ge$
16293 <cell alignment="center" valignment="top" usebox="none">
16296 \begin_layout Plain Layout
16297 \begin_inset Formula $\:\sin(\beta)$
16318 \begin_layout Standard
16319 \begin_inset VSpace bigskip
16327 \begin_inset Index idx
16330 \begin_layout Plain Layout
16331 LaTeXぱっけーじ@LaTeXパッケージ ! dcolumn
16336 LaTeXパッケージもあります。しかし残念ながら、このパッケージはセルの内容全体を数式として取扱うため、表セル中に数式を入れることはできません。表
16337 \begin_inset CommandInset ref
16339 reference "tab:表セル揃え"
16348 \begin_inset CommandInset ref
16350 reference "tab:使用したときの揃え"
16354 の第1列のようになり、ちょっとしたテクニックを使わなければ、期待通りにはなりません。表
16355 \begin_inset CommandInset ref
16357 reference "tab:表セル揃え"
16366 \begin_inset Newpage newpage
16372 \begin_layout Standard
16373 \begin_inset Float table
16379 \begin_layout Plain Layout
16380 \begin_inset Caption
16382 \begin_layout Plain Layout
16383 \begin_inset CommandInset label
16385 name "tab:使用したときの揃え"
16389 LaTeXパッケージdcolumnを使用したときの揃えの様子。この出力のようにすべての列を揃えるには、テクニックを用いなくてはなりません。
16397 \begin_layout Plain Layout
16399 \begin_inset Tabular
16400 <lyxtabular version="3" rows="4" columns="3">
16401 <features tabularvalignment="middle">
16402 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
16403 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
16404 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16406 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16409 \begin_layout Plain Layout
16415 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16418 \begin_layout Plain Layout
16424 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16427 \begin_layout Plain Layout
16435 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16438 \begin_layout Plain Layout
16444 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16447 \begin_layout Plain Layout
16453 <cell alignment="center" valignment="top" usebox="none">
16456 \begin_layout Plain Layout
16461 \begin_layout Plain Layout
16471 \begin_inset Formula $\mbox{本の瓶}$
16481 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16484 \begin_layout Plain Layout
16490 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16493 \begin_layout Plain Layout
16499 <cell alignment="center" valignment="top" usebox="none">
16502 \begin_layout Plain Layout
16507 \begin_layout Plain Layout
16517 \begin_inset Formula $\mbox{ピクセル}$
16527 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16530 \begin_layout Plain Layout
16532 \begin_inset space \thinspace{}
16540 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16543 \begin_layout Plain Layout
16545 \begin_inset space \thinspace{}
16549 \begin_inset Formula $\mbox{cm}$
16557 <cell alignment="center" valignment="top" usebox="none">
16560 \begin_layout Plain Layout
16565 \begin_layout Plain Layout
16575 \begin_inset Formula $\mbox{cm}$
16596 \begin_layout Subsection
16598 \begin_inset CommandInset label
16605 \begin_inset Index idx
16608 \begin_layout Plain Layout
16609 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
16617 \begin_layout Standard
16618 連結列セルを含む表がいくつもある場合には、第
16619 \begin_inset CommandInset ref
16621 reference "sub:連結列の計算"
16625 節のように連結部分を含む列に必要とされる幅を計算することはたいへん面倒です。そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のす
16626 べての表で使うことができます。書式は、以下のように定義します。
16629 \begin_layout Standard
16634 newcolumntype{書式名}[引数の数]{コマンド}
16637 \begin_layout Standard
16662 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
16665 \begin_layout Standard
16666 \begin_inset VSpace medskip
16672 \begin_layout Standard
16673 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
16676 \begin_layout Standard
16681 newcolumntype{M}[1]{>{
16688 \begin_layout Standard
16696 \begin_inset CommandInset ref
16698 reference "sub:複数行"
16702 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
16705 \begin_layout Standard
16711 \begin_layout Standard
16715 \begin_layout Standard
16716 \begin_inset VSpace bigskip
16722 \begin_layout Standard
16723 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
16726 \begin_layout Standard
16731 newcolumntype{S}[2]{>{
16736 \begin_inset Newline newline
16740 \begin_inset Phantom HPhantom
16743 \begin_layout Plain Layout
16757 arrayrulewidth)*(1-#2))/#2}}
16760 \begin_layout Standard
16761 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
16762 \begin_inset CommandInset ref
16771 \begin_layout Standard
16772 こうしておけば、当該セルのLaTeX引数に
16775 \begin_layout Standard
16778 S{連結列セルの幅}{連結列セルがまたがる列の数}
16781 \begin_layout Standard
16785 \begin_layout Standard
16786 \begin_inset VSpace bigskip
16792 \begin_layout Standard
16793 色付き列については、以下のように定義するとよいでしょう。
16796 \begin_layout Standard
16801 newcolumntype{K}[1]{>{
16808 \begin_layout Standard
16809 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
16812 \begin_layout Standard
16818 \begin_layout Standard
16822 \begin_layout Standard
16823 \begin_inset VSpace bigskip
16829 \begin_layout Standard
16831 \begin_inset CommandInset ref
16833 reference "tab:ユーザー定義の表書式"
16837 を生成するには、第1列と連結列にLaTeX引数として
16840 \begin_layout Standard
16846 \begin_layout Standard
16850 \begin_layout Standard
16856 \begin_layout Standard
16860 \begin_layout Standard
16866 \begin_layout Standard
16870 \begin_layout Standard
16871 \begin_inset Float table
16877 \begin_layout Plain Layout
16878 \begin_inset Caption
16880 \begin_layout Plain Layout
16881 \begin_inset CommandInset label
16883 name "tab:ユーザー定義の表書式"
16895 \begin_layout Plain Layout
16897 \begin_inset Tabular
16898 <lyxtabular version="3" rows="3" columns="4">
16899 <features tabularvalignment="middle">
16900 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
16901 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
16902 <column alignment="center" valignment="middle" width="0">
16903 <column alignment="center" valignment="middle" width="0" special="K{red}">
16905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16908 \begin_layout Plain Layout
16914 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
16917 \begin_layout Plain Layout
16923 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16926 \begin_layout Plain Layout
16932 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16935 \begin_layout Plain Layout
16943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16946 \begin_layout Plain Layout
16952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16955 \begin_layout Plain Layout
16961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16964 \begin_layout Plain Layout
16970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16973 \begin_layout Plain Layout
16981 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16984 \begin_layout Plain Layout
16990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16993 \begin_layout Plain Layout
16999 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17002 \begin_layout Plain Layout
17008 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17011 \begin_layout Plain Layout
17030 \begin_layout Subsection
17032 \begin_inset CommandInset label
17039 \begin_inset Index idx
17042 \begin_layout Plain Layout
17043 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
17051 \begin_layout Standard
17052 表中のすべての罫線の罫線幅を調整するには、長さ
17059 \begin_inset CommandInset ref
17061 reference "tab:Table-with-1.5"
17066 \begin_inset space \thinspace{}
17069 ptにするには、表や表フロートの前にTeXコードで
17072 \begin_layout Standard
17079 arrayrulewidth}{1.5pt}
17082 \begin_layout Standard
17083 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
17090 \begin_inset space \thinspace{}
17096 \begin_layout Standard
17100 \begin_layout Plain Layout
17106 arrayrulewidth}{1.5pt}
17112 \begin_inset Float table
17117 \begin_layout Plain Layout
17118 \begin_inset Caption
17120 \begin_layout Plain Layout
17121 \begin_inset CommandInset label
17123 name "tab:Table-with-1.5"
17128 \begin_inset space \thinspace{}
17139 \begin_layout Plain Layout
17141 \begin_inset Tabular
17142 <lyxtabular version="3" rows="3" columns="3">
17143 <features tabularvalignment="middle">
17144 <column alignment="center" valignment="top" width="0">
17145 <column alignment="center" valignment="top" width="0">
17146 <column alignment="center" valignment="top" width="0">
17148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17151 \begin_layout Plain Layout
17157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17160 \begin_layout Plain Layout
17166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17169 \begin_layout Plain Layout
17177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17180 \begin_layout Plain Layout
17186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17189 \begin_layout Plain Layout
17195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17198 \begin_layout Plain Layout
17206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17209 \begin_layout Plain Layout
17215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17218 \begin_layout Plain Layout
17224 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17227 \begin_layout Plain Layout
17247 \begin_layout Plain Layout
17253 arrayrulewidth}{0.4pt}
17261 \begin_layout Standard
17262 \begin_inset VSpace bigskip
17266 \begin_inset CommandInset ref
17268 reference "tab:1.5pt幅横罫"
17273 \begin_inset space \thinspace{}
17276 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
17279 \begin_layout Standard
17289 \begin_inset Newline newline
17297 \begin_inset Newline newline
17306 arrayrulewidth 1.5pt}
17307 \begin_inset Newline newline
17318 arrayrulewidth 0.4pt}}
17321 \begin_layout Standard
17322 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
17325 \begin_layout Standard
17337 \begin_layout Standard
17341 \begin_layout Plain Layout
17352 \begin_layout Plain Layout
17361 \begin_layout Plain Layout
17369 arrayrulewidth 1.5pt}
17372 \begin_layout Plain Layout
17382 arrayrulewidth 0.4pt}}
17388 \begin_inset Float table
17393 \begin_layout Plain Layout
17394 \begin_inset Caption
17396 \begin_layout Plain Layout
17397 \begin_inset CommandInset label
17399 name "tab:1.5pt幅横罫"
17404 \begin_inset space \thinspace{}
17415 \begin_layout Plain Layout
17417 \begin_inset Tabular
17418 <lyxtabular version="3" rows="3" columns="3">
17419 <features tabularvalignment="middle">
17420 <column alignment="center" valignment="top" width="0">
17421 <column alignment="center" valignment="top" width="0">
17422 <column alignment="center" valignment="top" width="0">
17424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17427 \begin_layout Plain Layout
17433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17436 \begin_layout Plain Layout
17442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17445 \begin_layout Plain Layout
17453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17456 \begin_layout Plain Layout
17462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17465 \begin_layout Plain Layout
17471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17474 \begin_layout Plain Layout
17482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17485 \begin_layout Plain Layout
17491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17494 \begin_layout Plain Layout
17500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17503 \begin_layout Plain Layout
17523 \begin_layout Plain Layout
17539 \begin_layout Standard
17540 \begin_inset VSpace bigskip
17544 \begin_inset space \thinspace{}
17548 \begin_inset CommandInset ref
17550 reference "sub:自製書式"
17554 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
17557 \begin_layout Standard
17562 newcolumntype{V}{!{
17564 vrule width 1.5pt}}
17567 \begin_layout Standard
17569 \begin_inset CommandInset ref
17571 reference "tab:1.5pt幅縦罫"
17578 \begin_layout Standard
17584 \begin_layout Standard
17588 \begin_layout Standard
17594 \begin_layout Standard
17598 \begin_layout Standard
17599 \begin_inset Float table
17604 \begin_layout Plain Layout
17605 \begin_inset Caption
17607 \begin_layout Plain Layout
17608 \begin_inset CommandInset label
17610 name "tab:1.5pt幅縦罫"
17615 \begin_inset space \thinspace{}
17626 \begin_layout Plain Layout
17628 \begin_inset Tabular
17629 <lyxtabular version="3" rows="3" columns="3">
17630 <features tabularvalignment="middle">
17631 <column alignment="center" valignment="top" width="0" special="Vc">
17632 <column alignment="center" valignment="top" width="0" special="Vc">
17633 <column alignment="center" valignment="top" width="0" special="VcV">
17635 <cell alignment="center" valignment="top" topline="true" usebox="none">
17638 \begin_layout Plain Layout
17644 <cell alignment="center" valignment="top" topline="true" usebox="none">
17647 \begin_layout Plain Layout
17653 <cell alignment="center" valignment="top" topline="true" usebox="none">
17656 \begin_layout Plain Layout
17664 <cell alignment="center" valignment="top" topline="true" usebox="none">
17667 \begin_layout Plain Layout
17673 <cell alignment="center" valignment="top" topline="true" usebox="none">
17676 \begin_layout Plain Layout
17682 <cell alignment="center" valignment="top" topline="true" usebox="none">
17685 \begin_layout Plain Layout
17693 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17696 \begin_layout Plain Layout
17702 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17705 \begin_layout Plain Layout
17711 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17714 \begin_layout Plain Layout
17733 \begin_layout Subsection
17735 \begin_inset Index idx
17738 \begin_layout Plain Layout
17739 ひょうのちょうせい@表の調整 ! てんけい@点罫
17747 \begin_layout Standard
17751 \begin_layout Plain Layout
17761 \begin_inset Note Note
17764 \begin_layout Plain Layout
17765 この節は、LaTeXパッケージarydshlnが導入済みの時のみ表示されます。
17773 \begin_layout Standard
17774 \begin_inset Float table
17780 \begin_layout Plain Layout
17781 \begin_inset Caption
17783 \begin_layout Plain Layout
17784 \begin_inset CommandInset label
17798 \begin_layout Plain Layout
17800 \begin_inset Tabular
17801 <lyxtabular version="3" rows="5" columns="5">
17802 <features tabularvalignment="middle">
17803 <column alignment="center" valignment="top" width="0">
17804 <column alignment="center" valignment="top" width="0">
17805 <column alignment="center" valignment="top" width="0" special=":c">
17806 <column alignment="center" valignment="top" width="0">
17807 <column alignment="center" valignment="top" width="0">
17809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17812 \begin_layout Plain Layout
17818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17821 \begin_layout Plain Layout
17827 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17830 \begin_layout Plain Layout
17836 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17839 \begin_layout Plain Layout
17845 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17848 \begin_layout Plain Layout
17856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17859 \begin_layout Plain Layout
17865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17868 \begin_layout Plain Layout
17874 <cell alignment="center" valignment="top" topline="true" usebox="none">
17877 \begin_layout Plain Layout
17883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17886 \begin_layout Plain Layout
17892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17895 \begin_layout Plain Layout
17903 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17906 \begin_layout Plain Layout
17910 \begin_layout Plain Layout
17924 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17927 \begin_layout Plain Layout
17933 <cell alignment="center" valignment="top" usebox="none">
17936 \begin_layout Plain Layout
17942 <cell alignment="center" valignment="top" leftline="true" usebox="none">
17945 \begin_layout Plain Layout
17951 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
17954 \begin_layout Plain Layout
17962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17965 \begin_layout Plain Layout
17969 \begin_layout Plain Layout
17983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17986 \begin_layout Plain Layout
17992 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
17995 \begin_layout Plain Layout
18001 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18004 \begin_layout Plain Layout
18010 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18013 \begin_layout Plain Layout
18021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18024 \begin_layout Plain Layout
18030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18033 \begin_layout Plain Layout
18039 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18042 \begin_layout Plain Layout
18048 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18051 \begin_layout Plain Layout
18057 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18060 \begin_layout Plain Layout
18079 \begin_layout Standard
18080 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
18083 \begin_layout Standard
18088 usepackage{arydshln}
18091 \begin_layout Standard
18092 というコマンドを書き、LaTeXパッケージの
18097 \begin_inset Index idx
18100 \begin_layout Plain Layout
18101 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
18106 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
18109 \begin_layout Standard
18110 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
18113 \begin_layout Standard
18121 \begin_layout Standard
18125 \begin_layout Standard
18126 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
18129 \begin_layout Standard
18139 \begin_layout Standard
18140 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
18143 \begin_layout Standard
18151 \begin_layout Standard
18155 \begin_layout Standard
18156 \begin_inset VSpace bigskip
18162 \begin_layout Standard
18164 \begin_inset CommandInset ref
18166 reference "tab:点罫表"
18170 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
18174 hdashlineが挿れられており、第3行の最初のセルには、
18177 \begin_inset Newline newline
18184 cdashline{4-5}が挿れられています。
18187 \begin_layout Standard
18188 \begin_inset Note Greyedout
18191 \begin_layout Plain Layout
18196 ここで用いられているLaTeXパッケージ
18201 \begin_inset CommandInset ref
18203 reference "sec:色付きの表"
18207 節の色付き表で用いられているLaTeXパッケージ
18212 \begin_inset Index idx
18215 \begin_layout Plain Layout
18216 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
18221 とは、どうやら共存し得ないようです。すなわち、色付き表に点罫をつけることはできません。
18229 \begin_layout Standard
18233 \begin_layout Plain Layout
18243 \begin_inset Note Note
18246 \begin_layout Plain Layout
18259 \begin_layout Standard
18264 パッケージを導入しなくてはなりません。
18267 \begin_layout Standard
18271 \begin_layout Plain Layout
18283 \begin_layout Chapter
18285 \begin_inset Index idx
18288 \begin_layout Plain Layout
18297 \begin_layout Section
18299 \begin_inset CommandInset label
18301 name "sec:フロートはじめに"
18306 \begin_inset Index idx
18309 \begin_layout Plain Layout
18318 \begin_layout Standard
18319 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
18328 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
18331 \begin_layout Standard
18332 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
18333 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
18334 ートには連番が割り当てられます。参照については、第
18335 \begin_inset CommandInset ref
18337 reference "sec:フロートの参照"
18344 \begin_layout Standard
18347 挿入\SpecialChar \menuseparator
18350 メニューを使えば、ラベルのついたボックスすなわち
18354 差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
18355 ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
18356 \begin_inset CommandInset ref
18358 reference "sec:キャプションの配置"
18362 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
18364 \begin_inset Graphics
18365 filename clipart/floatQt4.png
18367 scaleBeforeRotation
18371 のように、灰色ボタンに赤字ラベルで表示されます。
18374 \begin_layout Standard
18375 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
18378 \begin_layout Standard
18379 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
18382 \begin_layout Section
18386 \begin_layout Standard
18388 \begin_inset CommandInset ref
18390 reference "sec:図フロート"
18395 \begin_inset CommandInset ref
18397 reference "sec:表フロート"
18401 節で各々説明されている図フロートと表フロート以外に、
18412 \begin_layout Subsection
18414 \begin_inset Index idx
18417 \begin_layout Plain Layout
18418 ふろーと@フロート ! あるごりずむ@アルゴリズム
18426 \begin_layout Standard
18427 \begin_inset Float algorithm
18433 \begin_layout Plain Layout
18434 \begin_inset Caption
18436 \begin_layout Plain Layout
18437 \begin_inset CommandInset label
18439 name "alg:アルゴリズムフロートの例"
18451 \begin_layout LyX-Code
18453 \begin_inset Newline newline
18456 Sum:= Sum + A(I); /*comment*/
18457 \begin_inset Newline newline
18461 \begin_inset VSpace -4mm
18472 \begin_layout Standard
18477 \SpecialChar \menuseparator
18478 フロート\SpecialChar \menuseparator
18482 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
18483 \begin_inset CommandInset ref
18485 reference "cha:プログラムコードリスト"
18489 章で説明されているプログラムコードリストの代わりとみなすことができます。
18493 に述べられているように、アルゴリズム向けの環境としては、
18498 \begin_inset CommandInset ref
18500 reference "alg:アルゴリズムフロートの例"
18504 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
18505 \begin_inset space \thinspace{}
18511 \begin_layout Standard
18512 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
18515 \begin_layout Standard
18520 floatname{algorithm}{付けたい名称}
18523 \begin_layout Standard
18524 という行を手動で加える必要があります。ここで
18537 \begin_layout Standard
18538 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
18540 挿入\SpecialChar \menuseparator
18541 一覧/目次\SpecialChar \menuseparator
18544 メニューを使用します。それ以外の場合には、代わりに
18547 \begin_layout Standard
18552 listof{algorithm}{付けたい名称}
18555 \begin_layout Standard
18556 というコマンドをTeXコードとして用います。ここで
18564 s」という単語に相当する、ご使用になりたい言語での単語です。
18567 \begin_layout Standard
18568 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
18569 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
18572 \begin_layout Standard
18577 numberwithin{algorithm}{chapter}
18580 \begin_layout Standard
18587 というコマンドを使用するには、文書設定の
18598 \begin_layout Subsection
18600 \begin_inset Index idx
18603 \begin_layout Plain Layout
18604 ふろーと@フロート ! おりかえしふろーと@折返しフロート
18612 \begin_layout Standard
18613 \begin_inset Wrap figure
18620 \begin_layout Plain Layout
18621 \begin_inset Graphics
18622 filename ../clipart/mobius.eps
18624 scaleBeforeRotation
18625 rotateOrigin center
18632 \begin_layout Plain Layout
18633 \begin_inset Caption
18635 \begin_layout Plain Layout
18636 \begin_inset CommandInset label
18638 name "fig:折返し図フロート"
18652 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
18657 \begin_inset Index idx
18660 \begin_layout Plain Layout
18661 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
18668 挿入\SpecialChar \menuseparator
18669 フロート\SpecialChar \menuseparator
18680 \begin_layout Plain Layout
18681 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
18686 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
18702 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
18703 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
18704 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
18705 \begin_inset CommandInset ref
18707 reference "fig:折返し図フロート"
18712 \begin_inset space \thinspace{}
18716 \begin_inset space \thinspace{}
18719 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
18723 \begin_layout Plain Layout
18725 \begin_inset CommandInset ref
18727 reference "cha:LyXで使用できる単位"
18739 \begin_layout Standard
18740 \begin_inset Note Greyedout
18743 \begin_layout Plain Layout
18748 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
18757 \begin_layout Standard
18761 \begin_layout Itemize
18762 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
18763 うになってから、正確な位置に挿入しなくてはなりません。
18766 \begin_layout Itemize
18767 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
18770 \begin_layout Itemize
18771 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
18774 \begin_layout Itemize
18775 折返しフロートは、節見出しや表中に入れることは認められていません。
18778 \begin_layout Section
18780 \begin_inset Index idx
18783 \begin_layout Plain Layout
18784 ふろーと@フロート ! れんばん@連番
18792 \begin_layout Standard
18793 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
18797 \begin_layout Standard
18798 節から独立して付けられている連番を変更するには、文書プリアンブルで
18801 \begin_layout Standard
18813 \begin_layout Standard
18820 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
18826 コマンドを使用します。上のコマンドで使用されている
18832 は、表番号を小文字のローマ数字で印字するコマンドです。
18835 \begin_layout Standard
18836 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
18839 \begin_layout Standard
18844 numberwithin{table}{subsection}
18847 \begin_layout Standard
18854 コマンドを使用可能にするためには、文書設定の
18861 \begin_inset space ~
18869 \begin_layout Standard
18870 連番コマンドについての詳細と大切な注意点については、第
18871 \begin_inset CommandInset ref
18873 reference "sub:脚注の付番"
18880 \begin_layout Section
18882 \begin_inset CommandInset label
18889 \begin_inset Index idx
18892 \begin_layout Plain Layout
18893 ふろーと@フロート ! さんしょう@参照
18899 \begin_inset Index idx
18902 \begin_layout Plain Layout
18903 さんしょう@参照 ! ふろーとにたいする@フロートに対する
18911 \begin_layout Standard
18914 挿入\SpecialChar \menuseparator
18917 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
18918 \begin_inset Graphics
18919 filename ../clipart/labelQt4.png
18921 scaleBeforeRotation
18925 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
18926 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
18933 \begin_layout Standard
18934 ラベルは、参照のための名称兼位置標として用いられます。
18936 挿入\SpecialChar \menuseparator
18940 \begin_inset Graphics
18941 filename ../../images/dialog-show-new-inset_ref.png
18943 scaleBeforeRotation
18947 を使えば、ラベルを参照することができます。
18948 \begin_inset Graphics
18949 filename clipart/referenceQt4.png
18951 scaleBeforeRotation
18955 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
18956 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
18960 \begin_layout Standard
18961 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
18962 出力では、参照の代わりに二つの疑問符が表示されることになります。
18965 \begin_layout Standard
18966 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
18967 で、リンクの更新に手間を割く必要はありません。
18970 \begin_layout Standard
18975 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
18979 に変わるので、相互参照にカーソルを戻すのに使用することができます。相互参照ボックスを右クリックしても、カーソルを参照されているラベルの前に移すことができますが、
18980 この場合には元に戻ることができません。
18983 \begin_layout Subsection
18985 \begin_inset CommandInset label
18992 \begin_inset Index idx
18995 \begin_layout Plain Layout
19004 \begin_layout Standard
19005 相互参照には、以下の6種類があります。
19008 \begin_layout Description
19009 <参照>: これはフロート番号を表示します。これが既定値です。例:
19010 \begin_inset CommandInset ref
19012 reference "fig:歪められた二つの像"
19019 \begin_layout Description
19020 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
19022 \begin_inset CommandInset ref
19031 \begin_layout Description
19032 <参照ページ>: これはページ番号を表示します。例:Page
19033 \begin_inset space ~
19037 \begin_inset CommandInset ref
19038 LatexCommand pageref
19039 reference "fig:歪められた二つの像"
19046 \begin_layout Description
19048 \begin_inset space ~
19052 \begin_inset space ~
19055 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
19056 \begin_inset CommandInset ref
19057 LatexCommand vpageref
19058 reference "fig:歪められた二つの像"
19065 \begin_layout Description
19067 \begin_inset space ~
19071 \begin_inset space ~
19075 \begin_inset space ~
19078 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
19079 \begin_inset CommandInset ref
19081 reference "fig:歪められた二つの像"
19088 \begin_layout Description
19089 整形された参照: これはユーザー定義の相互参照書式で表示します。
19090 \begin_inset Note Greyedout
19093 \begin_layout Plain Layout
19094 【註】この機能は、LaTeXパッケージのprettyrefが導入済みの時のみ利用できます。
19102 \begin_layout Standard
19103 <参照ページ>様式は、ラベルが同じページにあるか前後隣接するページにある場合には、ページ番号を出力しないことに注意してください。その代わりに、たとえば「
19110 \begin_layout Standard
19111 出力中では、参照されている文書の箇所のページ番号は、LaTeXによって自動的に計算されます。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンド
19119 \begin_layout Subsection
19121 \begin_inset Index idx
19124 \begin_layout Plain Layout
19125 さんしょう@参照 ! じどうめいめい@自動命名
19133 \begin_layout Standard
19147 \begin_inset Index idx
19150 \begin_layout Plain Layout
19151 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19156 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
19160 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
19161 の機能を使用するには、hyperrefを有効にして、
19164 \begin_layout Standard
19180 \begin_layout Standard
19181 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
19182 \begin_inset space \thinspace{}
19185 」としたいなど、既定の参照名以外のものが欲しい場合には、
19188 \begin_layout Standard
19199 sectionautorefname}
19200 \begin_inset Newline newline
19204 \begin_inset Phantom HPhantom
19207 \begin_layout Plain Layout
19210 \begin_inset space ~
19223 \begin_layout Standard
19224 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
19225 \begin_inset Newline newline
19236 に置き換えてください(***は使用中の言語名)。
19239 \begin_layout Standard
19240 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
19243 \begin_layout Standard
19251 \begin_inset Newline newline
19261 \begin_inset Newline newline
19272 equationautorefname}
19273 \begin_inset Newline newline
19277 \begin_inset Phantom HPhantom
19280 \begin_layout Plain Layout
19283 \begin_inset space ~
19298 \begin_layout Standard
19299 この話題に関する詳細は、hyperrefの説明書
19300 \begin_inset CommandInset citation
19309 \begin_layout Standard
19310 \begin_inset Note Greyedout
19313 \begin_layout Plain Layout
19323 \begin_inset CommandInset ref
19325 reference "sub:相互参照の書式"
19329 節)で使用しているときには、使用することができません。
19337 \begin_layout Standard
19342 は、参照の自動命名が使用されている一例です。
19345 \begin_layout Subsection
19347 \begin_inset CommandInset label
19354 \begin_inset Index idx
19357 \begin_layout Plain Layout
19358 さんしょう@参照 ! さんしょういち@参照位置
19366 \begin_layout Standard
19380 \begin_inset Index idx
19383 \begin_layout Plain Layout
19384 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19389 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
19390 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
19395 \begin_inset Index idx
19398 \begin_layout Plain Layout
19399 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19409 \begin_inset Index idx
19412 \begin_layout Plain Layout
19413 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
19418 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
19421 \begin_layout Standard
19426 usepackage[figure]{hypcap}
19429 \begin_layout Standard
19430 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
19432 \begin_inset CommandInset citation
19441 \begin_layout Standard
19442 \begin_inset Note Greyedout
19445 \begin_layout Plain Layout
19450 は内部図への参照には効力がありません。
19458 \begin_layout Section
19460 \begin_inset CommandInset label
19467 \begin_inset Index idx
19470 \begin_layout Plain Layout
19479 \begin_layout Standard
19489 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
19490 \begin_inset Newline newline
19511 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
19512 \begin_inset Newline newline
19533 オプションは、フロートを回転するのに用います。第
19543 \begin_inset CommandInset ref
19545 reference "sec:回転フロート"
19561 \begin_layout Standard
19589 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
19592 \begin_layout Description
19602 フロートを挿入位置に配置することを試みます
19605 \begin_layout Description
19615 フロートを現在ページの上部に配置することを試みます
19618 \begin_layout Description
19628 フロートを現在ページの下部に配置することを試みます
19631 \begin_layout Description
19641 フロートを独立したページに配置することを試みます
19644 \begin_layout Standard
19649 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
19657 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
19658 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
19661 \begin_layout Standard
19662 既定では、各オプションはそれぞれ以下の規則を持っています。
19666 \labelwidthstring 00.00.0000
19671 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
19681 \labelwidthstring 00.00.0000
19686 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
19696 \labelwidthstring 00.00.0000
19701 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
19710 \begin_layout Standard
19715 オプションを追加することによって、これらを無視することができます。
19716 \begin_inset Newline newline
19719 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
19720 、ページの5割に変えるには、文書プリアンブルに
19723 \begin_layout Standard
19730 bottomfraction}{0.5}
19733 \begin_layout Standard
19737 \begin_layout Standard
19738 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
19742 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
19743 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
19747 \begin_layout Standard
19748 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
19751 \begin_layout Standard
19752 \begin_inset VSpace bigskip
19758 \begin_layout Standard
19759 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
19760 することがあります。この問題を避けるには、LaTeXコマンドの
19762 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
19763 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
19766 \begin_layout Standard
19776 \begin_inset Newline newline
19790 \begin_layout Standard
19791 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
19792 することがあるので、これらに対する定義はお勧めしません。
19795 \begin_layout Standard
19796 \begin_inset VSpace bigskip
19799 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
19804 \begin_inset Index idx
19807 \begin_layout Plain Layout
19808 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
19813 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
19814 \begin_inset Quotes eld
19820 \begin_inset space ~
19826 \begin_inset Quotes erd
19829 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
19832 \begin_layout Standard
19837 usepackage[options]{endfloat}
19840 \begin_layout Standard
19841 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
19846 \begin_inset CommandInset citation
19853 \begin_inset Newline newline
19857 \begin_inset Note Greyedout
19860 \begin_layout Plain Layout
19865 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
19866 \begin_inset CommandInset citation
19878 \begin_inset Newline newline
19882 \begin_inset Note Greyedout
19885 \begin_layout Plain Layout
19894 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
19908 \begin_layout Standard
19909 \begin_inset VSpace bigskip
19912 フロートの割付に関する詳細は、LaTeX関連書
19913 \begin_inset CommandInset citation
19915 key "latexcompanion,latexguide,latexbook"
19922 \begin_layout Section
19924 \begin_inset CommandInset label
19931 \begin_inset Index idx
19934 \begin_layout Plain Layout
19935 ふろーと@フロート ! かいてん@回転
19943 \begin_layout Standard
19944 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
19951 \begin_layout Standard
19952 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
19956 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
19957 たって回転方向を強制したい場合には、文書クラスオプションに
19968 \begin_layout Standard
19969 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
19970 \begin_inset CommandInset ref
19972 reference "tab:回転した表"
19979 \begin_layout Standard
19980 \begin_inset Note Greyedout
19983 \begin_layout Plain Layout
19988 すべてのDVIビューアが回転フロートを表示できるわけではありません。
19996 \begin_layout Standard
19997 \begin_inset Float table
20002 \begin_layout Plain Layout
20003 \begin_inset Caption
20005 \begin_layout Plain Layout
20006 \begin_inset CommandInset label
20020 \begin_layout Plain Layout
20022 \begin_inset Tabular
20023 <lyxtabular version="3" rows="1" columns="5">
20024 <features tabularvalignment="middle">
20025 <column alignment="center" valignment="top" width="0">
20026 <column alignment="center" valignment="top" width="0">
20027 <column alignment="center" valignment="top" width="0">
20028 <column alignment="center" valignment="top" width="0">
20029 <column alignment="center" valignment="top" width="0">
20031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20034 \begin_layout Plain Layout
20040 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20043 \begin_layout Plain Layout
20049 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20052 \begin_layout Plain Layout
20058 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20061 \begin_layout Plain Layout
20067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20070 \begin_layout Plain Layout
20089 \begin_layout Section
20091 \begin_inset Index idx
20094 \begin_layout Plain Layout
20095 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
20103 \begin_layout Standard
20104 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
20105 \begin_inset CommandInset ref
20107 reference "tab:従属表を横に並べたもの"
20112 \begin_inset CommandInset ref
20114 reference "tab:従属表を縦に並べたもの"
20118 に示されているように段落と同様に指定することができます。
20121 \begin_layout Standard
20122 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
20123 \begin_inset CommandInset ref
20125 reference "tab:これは従属表a"
20130 \begin_inset CommandInset ref
20132 reference "tab:これは従属表b"
20137 \begin_inset CommandInset ref
20139 reference "tab:従属表を横に並べたもの"
20144 \begin_inset Float table
20149 \begin_layout Plain Layout
20150 \begin_inset Caption
20152 \begin_layout Plain Layout
20153 \begin_inset CommandInset label
20155 name "tab:従属表を横に並べたもの"
20167 \begin_layout Plain Layout
20168 \begin_inset space \hfill{}
20172 \begin_inset Float table
20177 \begin_layout Plain Layout
20178 \begin_inset Caption
20180 \begin_layout Plain Layout
20181 \begin_inset CommandInset label
20195 \begin_layout Plain Layout
20197 \begin_inset Tabular
20198 <lyxtabular version="3" rows="1" columns="5">
20199 <features tabularvalignment="middle">
20200 <column alignment="center" valignment="top" width="0">
20201 <column alignment="center" valignment="top" width="0">
20202 <column alignment="center" valignment="top" width="0">
20203 <column alignment="center" valignment="top" width="0">
20204 <column alignment="center" valignment="top" width="0">
20206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20209 \begin_layout Plain Layout
20215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20218 \begin_layout Plain Layout
20224 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20227 \begin_layout Plain Layout
20233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20236 \begin_layout Plain Layout
20242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20245 \begin_layout Plain Layout
20262 \begin_inset space \hfill{}
20266 \begin_inset Float table
20271 \begin_layout Plain Layout
20272 \begin_inset Caption
20274 \begin_layout Plain Layout
20275 \begin_inset CommandInset label
20289 \begin_layout Plain Layout
20291 \begin_inset Tabular
20292 <lyxtabular version="3" rows="1" columns="5">
20293 <features tabularvalignment="middle">
20294 <column alignment="center" valignment="top" width="0">
20295 <column alignment="center" valignment="top" width="0">
20296 <column alignment="center" valignment="top" width="0">
20297 <column alignment="center" valignment="top" width="0">
20298 <column alignment="center" valignment="top" width="0">
20300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20303 \begin_layout Plain Layout
20309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20312 \begin_layout Plain Layout
20318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20321 \begin_layout Plain Layout
20327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20330 \begin_layout Plain Layout
20336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20339 \begin_layout Plain Layout
20356 \begin_inset space \hfill{}
20365 \begin_inset Float table
20370 \begin_layout Plain Layout
20371 \begin_inset Caption
20373 \begin_layout Plain Layout
20374 \begin_inset CommandInset label
20376 name "tab:従属表を縦に並べたもの"
20380 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
20388 \begin_layout Plain Layout
20389 \begin_inset Float table
20394 \begin_layout Plain Layout
20395 \begin_inset Caption
20397 \begin_layout Plain Layout
20406 \begin_layout Plain Layout
20408 \begin_inset Tabular
20409 <lyxtabular version="3" rows="1" columns="4">
20410 <features tabularvalignment="middle">
20411 <column alignment="center" valignment="top" width="0">
20412 <column alignment="center" valignment="top" width="0">
20413 <column alignment="center" valignment="top" width="0">
20414 <column alignment="center" valignment="top" width="0">
20416 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20419 \begin_layout Plain Layout
20425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20428 \begin_layout Plain Layout
20434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20437 \begin_layout Plain Layout
20443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20446 \begin_layout Plain Layout
20465 \begin_layout Plain Layout
20466 \begin_inset Float table
20471 \begin_layout Plain Layout
20472 \begin_inset Caption
20474 \begin_layout Plain Layout
20483 \begin_layout Plain Layout
20485 \begin_inset Tabular
20486 <lyxtabular version="3" rows="1" columns="5">
20487 <features tabularvalignment="middle">
20488 <column alignment="center" valignment="top" width="0">
20489 <column alignment="center" valignment="top" width="0">
20490 <column alignment="center" valignment="top" width="0">
20491 <column alignment="center" valignment="top" width="0">
20492 <column alignment="center" valignment="top" width="0">
20494 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20497 \begin_layout Plain Layout
20503 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20506 \begin_layout Plain Layout
20512 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20515 \begin_layout Plain Layout
20521 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20524 \begin_layout Plain Layout
20530 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20533 \begin_layout Plain Layout
20557 \begin_layout Section
20559 \begin_inset Index idx
20562 \begin_layout Plain Layout
20563 ふろーと@フロート ! よこならび@横並び
20571 \begin_layout Standard
20573 \begin_inset CommandInset ref
20575 reference "fig:左側のフロート"
20580 \begin_inset CommandInset ref
20582 reference "fig:右側のフロート"
20586 のようにフロートを横並びに配置するには、
20590 フロートのみを使用し、その中に二つのminipageボックスを挿入します
20594 \begin_layout Plain Layout
20596 \begin_inset CommandInset ref
20598 reference "sec:ミニページ"
20608 \begin_inset space \thinspace{}
20612 \begin_inset space \thinspace{}
20615 列幅%とし、各minipageのボックス配置を
20619 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
20623 がここではminipageボックスの幅によって計算されることです。
20626 \begin_layout Standard
20627 \begin_inset Float figure
20632 \begin_layout Plain Layout
20633 \begin_inset Box Frameless
20643 height_special "totalheight"
20646 \begin_layout Plain Layout
20648 \begin_inset Graphics
20649 filename ../clipart/mobius.eps
20652 scaleBeforeRotation
20659 \begin_layout Plain Layout
20660 \begin_inset Caption
20662 \begin_layout Plain Layout
20663 \begin_inset CommandInset label
20680 \begin_inset space \hfill{}
20684 \begin_inset Box Frameless
20694 height_special "totalheight"
20697 \begin_layout Plain Layout
20699 \begin_inset Graphics
20700 filename ../clipart/platypus.eps
20703 scaleBeforeRotation
20710 \begin_layout Plain Layout
20711 \begin_inset Caption
20713 \begin_layout Plain Layout
20714 \begin_inset CommandInset label
20733 \begin_layout Plain Layout
20742 \begin_layout Section
20744 \begin_inset Index idx
20747 \begin_layout Plain Layout
20748 きゃぷしょん@キャプション ! しょしきせってい@書式設定
20754 \begin_inset Index idx
20757 \begin_layout Plain Layout
20758 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
20764 \begin_inset CommandInset label
20766 name "sec:キャプションの書式設定"
20773 \begin_layout Standard
20782 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
20786 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
20790 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
20791 。このキャプション書式は、すべての文書書式に適しているわけではありません。
20794 \begin_layout Standard
20795 既定のキャプション書式を変更するには、文書プリアンブルに
20798 \begin_layout Standard
20803 usepackage[format definition]{caption}
20806 \begin_layout Standard
20807 という行を加えて、LaTeXパッケージ
20812 \begin_inset Index idx
20815 \begin_layout Plain Layout
20816 LaTeXぱっけーじ@LaTeXパッケージ ! caption
20821 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
20824 \begin_layout Standard
20829 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
20832 \begin_layout Standard
20833 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
20837 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
20840 \begin_layout Standard
20845 captionsetup[フロート型]{書式定義}
20848 \begin_layout Standard
20849 というコマンドを使用して、個別の書式を指定してください。たとえば、図
20850 \begin_inset CommandInset ref
20852 reference "fig:図キャプション"
20857 \begin_inset CommandInset ref
20859 reference "tab:表キャプション"
20863 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
20866 \begin_layout Standard
20871 usepackage[tableposition=top]{caption}
20874 \begin_inset Newline newline
20881 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
20882 \begin_inset Newline newline
20886 \begin_inset Phantom HPhantom
20889 \begin_layout Plain Layout
20892 captionsetup[figure]{
20898 \begin_inset Newline newline
20903 captionsetup[table]{labelfont={bf,sf}}
20906 \begin_layout Standard
20907 \begin_inset Note Greyedout
20910 \begin_layout Plain Layout
20924 \begin_inset Index idx
20927 \begin_layout Plain Layout
20928 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
20933 が使われているときには、無効になります。この場合には、文書クラスオプション
20945 \begin_layout Standard
20950 パッケージについての詳細は、その取扱説明書
20951 \begin_inset CommandInset citation
20960 \begin_layout Standard
20961 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
20964 \begin_layout Standard
20976 \begin_layout Standard
20990 \begin_layout Standard
20991 \begin_inset VSpace bigskip
20999 \begin_inset Index idx
21002 \begin_layout Plain Layout
21003 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21010 article (KOMA-script)
21018 letter (KOMA-script)
21022 report (KOMA-script)
21036 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
21039 \begin_layout Standard
21044 setkomafont{captionlabel}{
21049 \begin_layout Standard
21061 \begin_inset CommandInset citation
21070 \begin_layout Standard
21074 \begin_layout Plain Layout
21078 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21085 \begin_inset Note Note
21088 \begin_layout Plain Layout
21089 キャプション書式は、この例のみ変更してあります。
21097 \begin_layout Standard
21098 \begin_inset Float figure
21104 \begin_layout Plain Layout
21106 \begin_inset Graphics
21107 filename ../clipart/mobius.eps
21110 scaleBeforeRotation
21117 \begin_layout Plain Layout
21118 \begin_inset Caption
21120 \begin_layout Plain Layout
21121 \begin_inset CommandInset label
21127 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
21140 \begin_layout Standard
21144 \begin_layout Plain Layout
21148 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21157 \begin_layout Standard
21158 \begin_inset Float table
21164 \begin_layout Plain Layout
21165 \begin_inset Caption
21167 \begin_layout Plain Layout
21168 \begin_inset CommandInset label
21174 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
21182 \begin_layout Plain Layout
21184 \begin_inset Tabular
21185 <lyxtabular version="3" rows="1" columns="5">
21186 <features tabularvalignment="middle">
21187 <column alignment="center" valignment="top" width="0">
21188 <column alignment="center" valignment="top" width="0">
21189 <column alignment="center" valignment="top" width="0">
21190 <column alignment="center" valignment="top" width="0">
21191 <column alignment="center" valignment="top" width="0">
21193 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21196 \begin_layout Plain Layout
21202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21205 \begin_layout Plain Layout
21211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21214 \begin_layout Plain Layout
21220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21223 \begin_layout Plain Layout
21229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21232 \begin_layout Plain Layout
21251 \begin_layout Section
21253 \begin_inset Index idx
21256 \begin_layout Plain Layout
21257 きゃぷしょん@キャプション ! はいち@配置
21263 \begin_inset Index idx
21266 \begin_layout Plain Layout
21267 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
21273 \begin_inset CommandInset label
21275 name "sec:キャプションの配置"
21282 \begin_layout Standard
21286 \begin_layout Description
21287 図の場合: キャプションを図の下に置く
21290 \begin_layout Description
21291 表の場合: キャプションを表の上に置く
21294 \begin_layout Standard
21295 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
21311 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
21319 \begin_layout Standard
21325 \begin_layout Standard
21330 \begin_layout Plain Layout
21336 \begin_inset CommandInset ref
21338 reference "sec:キャプションの書式設定"
21352 \begin_inset Index idx
21355 \begin_layout Plain Layout
21356 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
21363 article (KOMA-script)
21371 letter (KOMA-script)
21375 report (KOMA-script)
21378 \begin_inset space \thinspace{}
21385 パッケージにオプションを与える代わりに、文書クラスオプション
21392 \begin_layout Standard
21393 \begin_inset VSpace bigskip
21396 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
21399 \begin_layout Standard
21404 usepackage[option]{sidecap}
21407 \begin_layout Standard
21408 という行を入れて、LaTeXパッケージ
21413 \begin_inset Index idx
21416 \begin_layout Plain Layout
21417 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
21422 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
21426 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
21437 \begin_layout Standard
21441 \begin_layout Plain Layout
21451 \begin_inset Note Note
21454 \begin_layout Plain Layout
21459 が導入されているときのみ表示されます。
21467 \begin_layout Standard
21468 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
21471 \begin_layout Standard
21473 \begin_inset CommandInset line
21484 \begin_layout Standard
21492 \begin_inset Newline newline
21496 \begin_inset Phantom HPhantom
21499 \begin_layout Plain Layout
21502 \begin_inset space ~
21517 \begin_inset Newline newline
21521 \begin_inset Phantom HPhantom
21524 \begin_layout Plain Layout
21527 \begin_inset space ~
21542 \begin_inset Newline newline
21546 \begin_inset Phantom HPhantom
21549 \begin_layout Plain Layout
21552 \begin_inset space ~
21562 renewenvironment{table}{
21569 \begin_layout Standard
21577 \begin_inset Newline newline
21581 \begin_inset Phantom HPhantom
21584 \begin_layout Plain Layout
21587 \begin_inset space ~
21602 \begin_inset Newline newline
21606 \begin_inset Phantom HPhantom
21609 \begin_layout Plain Layout
21612 \begin_inset space ~
21629 \begin_layout Standard
21637 \begin_inset Newline newline
21641 \begin_inset Phantom HPhantom
21644 \begin_layout Plain Layout
21647 \begin_inset space ~
21662 \begin_inset Newline newline
21666 \begin_inset Phantom HPhantom
21669 \begin_layout Plain Layout
21672 \begin_inset space ~
21687 \begin_inset Newline newline
21691 \begin_inset Phantom HPhantom
21694 \begin_layout Plain Layout
21697 \begin_inset space ~
21707 renewenvironment{figure}{
21714 \begin_layout Standard
21722 \begin_inset Newline newline
21726 \begin_inset Phantom HPhantom
21729 \begin_layout Plain Layout
21732 \begin_inset space ~
21747 \begin_inset Newline newline
21751 \begin_inset Phantom HPhantom
21754 \begin_layout Plain Layout
21757 \begin_inset space ~
21774 \begin_layout Standard
21776 \begin_inset CommandInset line
21787 \begin_layout Standard
21788 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
21791 \begin_layout Standard
21799 \begin_layout Standard
21800 というコマンドを、フロートの前にTeXコードで入れてください。本来のフロート定義に戻すには、フロートの後に、TeXコードで
21803 \begin_layout Standard
21811 \begin_layout Standard
21815 \begin_layout Standard
21816 表フロートに対しては、対応するコマンド
21819 \begin_layout Standard
21833 \begin_layout Standard
21835 \begin_inset CommandInset ref
21837 reference "fig:図横キャプション"
21842 \begin_inset CommandInset ref
21844 reference "tab:表横キャプション"
21851 \begin_layout Standard
21852 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
21853 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
21856 \begin_layout Standard
21861 sidecaptionvpos{フロート型}{配置}
21864 \begin_layout Standard
21865 というコマンドを使用します。ここで「フロート型」は
21873 であり、「配置」は、上揃えの場合はtopの
21876 \begin_layout Standard
21889 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
21892 \begin_layout Standard
21897 sidecaptionvpos{figure}{c}
21900 \begin_layout Standard
21901 というコマンドを使用します。これは、図
21902 \begin_inset CommandInset ref
21904 reference "fig:図横キャプション-2"
21911 \begin_layout Standard
21912 \begin_inset VSpace medskip
21920 \begin_inset CommandInset citation
21929 \begin_layout Standard
21930 \begin_inset Note Greyedout
21933 \begin_layout Plain Layout
21939 \begin_inset CommandInset ref
21941 reference "sub:参照位置"
21950 \begin_inset Index idx
21953 \begin_layout Plain Layout
21954 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
21959 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
21967 \begin_layout Standard
21971 \begin_layout Plain Layout
21983 \begin_layout Standard
21984 \begin_inset Float figure
21989 \begin_layout Plain Layout
21990 \begin_inset Graphics
21991 filename ../clipart/escher-lsd.eps
21993 scaleBeforeRotation
22000 \begin_layout Plain Layout
22001 \begin_inset Caption
22003 \begin_layout Plain Layout
22004 \begin_inset CommandInset label
22006 name "fig:図横キャプション"
22023 \begin_layout Standard
22027 \begin_layout Plain Layout
22039 \begin_layout Standard
22040 \begin_inset Float table
22045 \begin_layout Plain Layout
22046 \begin_inset Caption
22048 \begin_layout Plain Layout
22049 \begin_inset CommandInset label
22051 name "tab:表横キャプション"
22063 \begin_layout Plain Layout
22064 \begin_inset Tabular
22065 <lyxtabular version="3" rows="4" columns="5">
22066 <features tabularvalignment="middle">
22067 <column alignment="center" valignment="top" width="0">
22068 <column alignment="center" valignment="top" width="0">
22069 <column alignment="center" valignment="top" width="0">
22070 <column alignment="center" valignment="top" width="0">
22071 <column alignment="center" valignment="top" width="0">
22073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22076 \begin_layout Plain Layout
22082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22085 \begin_layout Plain Layout
22091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22094 \begin_layout Plain Layout
22100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22103 \begin_layout Plain Layout
22109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22112 \begin_layout Plain Layout
22120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22123 \begin_layout Plain Layout
22129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22132 \begin_layout Plain Layout
22138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22141 \begin_layout Plain Layout
22147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22150 \begin_layout Plain Layout
22156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22159 \begin_layout Plain Layout
22167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22170 \begin_layout Plain Layout
22176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22179 \begin_layout Plain Layout
22185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22188 \begin_layout Plain Layout
22194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22197 \begin_layout Plain Layout
22203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22206 \begin_layout Plain Layout
22214 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22217 \begin_layout Plain Layout
22223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22226 \begin_layout Plain Layout
22232 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22235 \begin_layout Plain Layout
22241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22244 \begin_layout Plain Layout
22250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22253 \begin_layout Plain Layout
22272 \begin_layout Standard
22276 \begin_layout Plain Layout
22288 \begin_layout Standard
22292 \begin_layout Plain Layout
22296 sidecaptionvpos{figure}{c}
22302 \begin_inset Float figure
22307 \begin_layout Plain Layout
22308 \begin_inset Graphics
22309 filename ../clipart/escher-lsd.eps
22311 scaleBeforeRotation
22318 \begin_layout Plain Layout
22319 \begin_inset Caption
22321 \begin_layout Plain Layout
22322 \begin_inset CommandInset label
22324 name "fig:図横キャプション-2"
22328 これは図の横にある縦方向中央揃えのキャプションです。
22341 \begin_layout Standard
22345 \begin_layout Plain Layout
22357 \begin_layout Standard
22361 \begin_layout Plain Layout
22371 \begin_inset Note Note
22374 \begin_layout Plain Layout
22379 が導入されていないときのみ表示されます。
22387 \begin_layout Standard
22388 本節の残りの部分を出力で表示するには、LaTeXパッケージ
22395 \begin_layout Standard
22399 \begin_layout Plain Layout
22411 \begin_layout Section
22413 \begin_inset Index idx
22416 \begin_layout Plain Layout
22417 ふろーと@フロート ! ふろーといちらん@フロート一覧
22425 \begin_layout Standard
22426 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
22428 挿入\SpecialChar \menuseparator
22434 \begin_layout Standard
22435 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
22438 \begin_layout Standard
22439 本文書の終わりに、図一覧と表一覧があります。
22442 \begin_layout Chapter
22446 \begin_layout Section
22448 \begin_inset Index idx
22451 \begin_layout Plain Layout
22452 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
22460 \begin_layout Standard
22462 \begin_inset Graphics
22463 filename ../../images/note-insert.png
22465 scaleBeforeRotation
22471 挿入\SpecialChar \menuseparator
22474 メニューで挿入することができます。注釈には、以下の三つの型があります。
22477 \begin_layout Description
22478 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
22479 \begin_inset Newline newline
22483 \begin_inset Newline newline
22487 \begin_inset Graphics
22488 filename ../clipart/LyXNoteImageQt4.png
22491 scaleBeforeRotation
22496 \begin_inset Note Note
22499 \begin_layout Plain Layout
22500 これは、出力には現れない注釈ボックスに書かれた文章です。
22508 \begin_layout Description
22509 コメント この注釈も出力には現れませんが、
22511 ファイル\SpecialChar \menuseparator
22512 エクスポート\SpecialChar \menuseparator
22513 LaTeX (pdflatex) / (平文)
22515 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
22516 \begin_inset Newline newline
22520 \begin_inset Newline newline
22524 \begin_inset Graphics
22525 filename ../clipart/CommentNoteImageQt4.png
22528 scaleBeforeRotation
22533 \begin_inset Note Comment
22536 \begin_layout Plain Layout
22537 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
22545 \begin_layout Description
22546 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
22547 \begin_inset Newline newline
22551 \begin_inset Newline newline
22555 \begin_inset Graphics
22556 filename ../clipart/GreyedOutNoteImageQt4.png
22559 scaleBeforeRotation
22564 \begin_inset Newline newline
22571 \begin_layout Plain Layout
22575 renewenvironment{lyxgreyedout}
22578 \begin_layout Plain Layout
22582 textcolor[gray]{0.8}
22592 \begin_inset Note Greyedout
22595 \begin_layout Plain Layout
22596 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
22600 \begin_layout Plain Layout
22601 これは、淡色表示注釈内に脚注を用いた例です。
22615 \begin_layout Plain Layout
22619 renewenvironment{lyxgreyedout}
22622 \begin_layout Plain Layout
22636 \begin_inset Note Note
22639 \begin_layout Plain Layout
22640 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
22647 \begin_inset Newline newline
22651 \begin_inset Newline newline
22654 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
22657 \begin_layout Standard
22658 \begin_inset VSpace bigskip
22662 \begin_inset Graphics
22663 filename ../../images/note-insert.png
22665 scaleBeforeRotation
22673 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
22674 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
22678 \begin_layout Standard
22679 \begin_inset VSpace bigskip
22682 淡色注釈の文字色は、プリアンブルに以下のコマンドを置くことで変更することができます。
22685 \begin_layout Standard
22690 renewenvironment{lyxgreyedout}
22691 \begin_inset Newline newline
22695 \begin_inset Phantom HPhantom
22698 \begin_layout Plain Layout
22701 \begin_inset space ~
22718 \begin_layout Standard
22719 使用できる色彩名と、自製色の定義の仕方は、第
22720 \begin_inset CommandInset ref
22722 reference "sec:色付きの表"
22729 \begin_layout Standard
22730 本文書で青で表示されている注釈は、青文字に設定した淡色表示注釈を使用しています。
22733 \begin_layout Section
22735 \begin_inset CommandInset label
22742 \begin_inset Index idx
22745 \begin_layout Plain Layout
22746 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
22752 \begin_inset Index idx
22755 \begin_layout Plain Layout
22764 \begin_layout Standard
22766 \begin_inset Graphics
22767 filename ../../images/footnote-insert.png
22769 scaleBeforeRotation
22775 挿入\SpecialChar \menuseparator
22778 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
22779 \begin_inset Graphics
22780 filename clipart/footnoteQt4.png
22782 scaleBeforeRotation
22786 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
22787 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
22790 \begin_layout Standard
22795 \begin_layout Plain Layout
22796 \begin_inset CommandInset label
22811 \begin_layout Plain Layout
22815 newcounter{MyRepeatFoot}
22818 \begin_layout Plain Layout
22822 setcounter{MyRepeatFoot}{
22832 \begin_layout Standard
22833 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
22834 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
22837 \begin_layout Standard
22838 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
22839 \begin_inset CommandInset ref
22841 reference "sec:フロートの参照"
22845 節に説明されているようにして、本文中でこのラベルを相互参照してください。
22846 \begin_inset Newline newline
22850 \begin_inset CommandInset ref
22852 reference "fn:これは脚注の一例"
22859 \begin_layout Standard
22860 \begin_inset VSpace defskip
22863 脚注を表中で使用するには、ミニページを使わなくてはなりません。第
22864 \begin_inset CommandInset ref
22866 reference "sec:ミニページ"
22870 節をご参照ください。長尺表中の脚注については、第
22871 \begin_inset CommandInset ref
22873 reference "sub:長尺表での脚注"
22880 \begin_layout Standard
22881 \begin_inset VSpace defskip
22884 脚注の印だけを作成するには、TeXコードで
22890 というコマンドを使用してください。これは、同じ注釈を何度も本文中で使用する際に、いちいち脚注を印字したくないときに使用します。
22891 \begin_inset Newline newline
22894 これらの重複した脚注の番号が何になるかは、文章を書いている時には分からないので、この番号を保管しておかなくてはなりません。以下の脚注印の例では、脚注番号を保管し
22896 \begin_inset CommandInset ref
22898 reference "fn:これは脚注の一例"
22902 の後に、TeXコードで以下のコマンドを挿入してあります。
22905 \begin_layout Standard
22910 newcounter{MyRepeatFoot}
22911 \begin_inset Newline newline
22916 setcounter{MyRepeatFoot}{
22921 \begin_layout Standard
22922 そして、以下のコマンドを使って、脚注印を付けます。
22925 \begin_layout Standard
22935 \begin_layout Standard
22940 \begin_layout Plain Layout
22954 \begin_layout Subsection
22956 \begin_inset CommandInset label
22963 \begin_inset Index idx
22966 \begin_layout Plain Layout
22975 \begin_layout Standard
22976 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
22979 \begin_layout Standard
22984 @addtoreset{footnote}{section}
22987 \begin_layout Standard
22991 \begin_layout Standard
22992 \begin_inset VSpace bigskip
22995 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
22998 \begin_layout Standard
23010 \begin_layout Standard
23014 \begin_layout Plain Layout
23031 \begin_layout Plain Layout
23032 これは、ローマ数字を使った脚注の例です。
23040 \begin_layout Standard
23041 付番様式を大文字ローマ数字に変更するには、上記コマンドの
23053 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
23065 を使用してください。記号を使って付「番」するには、
23074 \begin_layout Standard
23075 \begin_inset Note Greyedout
23078 \begin_layout Plain Layout
23083 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
23089 \begin_inset Newline newline
23093 \begin_inset Note Greyedout
23096 \begin_layout Plain Layout
23101 記号を使うと9個の脚注しか番号を振ることができません。
23109 \begin_layout Standard
23110 付番様式を変更した後、既定様式に戻すには、上記コマンドの
23126 \begin_layout Plain Layout
23142 \begin_layout Standard
23143 \begin_inset VSpace bigskip
23149 \begin_layout Standard
23150 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
23153 \begin_layout Standard
23158 numberwithin{footnote}{chapter}
23161 \begin_layout Standard
23168 コマンドを使用できるようにするためには、文書設定の
23175 \begin_inset space ~
23183 \begin_layout Standard
23187 \begin_layout Plain Layout
23191 numberwithin{footnote}{chapter}
23202 \begin_layout Plain Layout
23207 「章番号.脚注番号」スキームで番号を振られた脚注です。
23218 \begin_layout Plain Layout
23234 \begin_layout Standard
23235 \begin_inset Note Greyedout
23238 \begin_layout Plain Layout
23245 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
23253 \begin_layout Standard
23256 Roman{footnote}」スキームを得るには、
23262 の代わりに以下のコマンドを使用してください。
23265 \begin_layout Standard
23279 \begin_layout Subsection
23281 \begin_inset Index idx
23284 \begin_layout Plain Layout
23293 \begin_layout Standard
23294 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
23296 \begin_inset space \thinspace{}
23302 \begin_layout Standard
23312 \begin_inset Newline newline
23326 \begin_layout Standard
23327 \begin_inset VSpace bigskip
23330 二段組文書では、脚注は各段底部に表示されます(図
23331 \begin_inset CommandInset ref
23333 reference "fig:標準的脚注配置"
23338 \begin_inset CommandInset ref
23340 reference "fig:ftnright脚注配置"
23344 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
23347 \begin_layout Standard
23352 usepackage{ftnright}
23355 \begin_layout Standard
23356 というコマンドを書いて、LaTeXパッケージ
23361 \begin_inset Index idx
23364 \begin_layout Plain Layout
23365 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
23371 \begin_inset Float figure
23377 \begin_layout Plain Layout
23381 \begin_layout Plain Layout
23391 \begin_inset Graphics
23392 filename ../clipart/without_fntright.pdf
23394 scaleBeforeRotation
23402 \begin_layout Plain Layout
23412 \begin_layout Plain Layout
23413 \begin_inset Caption
23415 \begin_layout Plain Layout
23416 \begin_inset CommandInset label
23435 \begin_layout Standard
23436 \begin_inset Float figure
23442 \begin_layout Plain Layout
23446 \begin_layout Plain Layout
23456 \begin_inset Graphics
23457 filename ../clipart/with_fntright.pdf
23459 scaleBeforeRotation
23467 \begin_layout Plain Layout
23477 \begin_layout Plain Layout
23478 \begin_inset Caption
23480 \begin_layout Plain Layout
23481 \begin_inset CommandInset label
23483 name "fig:ftnright脚注配置"
23504 \begin_layout Standard
23505 \begin_inset VSpace bigskip
23509 \begin_inset CommandInset ref
23515 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
23516 \begin_inset Index idx
23519 \begin_layout Plain Layout
23525 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
23527 文書\SpecialChar \menuseparator
23528 設定\SpecialChar \menuseparator
23535 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
23538 \begin_layout Standard
23546 \begin_layout Standard
23550 \begin_layout Standard
23551 \begin_inset Float figure
23556 \begin_layout Plain Layout
23561 \begin_layout Plain Layout
23571 \begin_inset Graphics
23572 filename ../clipart/endnotes.pdf
23573 scaleBeforeRotation
23581 \begin_layout Plain Layout
23591 \begin_layout Plain Layout
23592 \begin_inset Caption
23594 \begin_layout Plain Layout
23595 \begin_inset CommandInset label
23601 後注 – 注を節ないし章末に別段落として印字します。
23614 \begin_layout Standard
23615 \begin_inset VSpace medskip
23618 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
23621 \begin_layout Standard
23628 notesname}{Anmerkungen}
23631 \begin_layout Standard
23632 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
23635 \begin_layout Standard
23636 \begin_inset VSpace medskip
23640 \begin_inset CommandInset ref
23642 reference "sub:脚注の付番"
23646 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
23658 を用いてください。後注番号をリセットするには、第
23659 \begin_inset CommandInset ref
23661 reference "sub:脚注の付番"
23682 \begin_layout Standard
23684 \begin_inset CommandInset ref
23705 \begin_layout Standard
23706 \begin_inset VSpace bigskip
23709 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
23714 \begin_inset Index idx
23717 \begin_layout Plain Layout
23718 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
23724 \begin_inset CommandInset citation
23733 \begin_layout Standard
23734 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
23735 \begin_inset CommandInset citation
23737 key "latexcompanion,latexguide,latexbook"
23744 \begin_layout Section
23746 \begin_inset Index idx
23749 \begin_layout Plain Layout
23750 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
23758 \begin_layout Standard
23759 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
23761 挿入\SpecialChar \menuseparator
23765 \begin_inset Graphics
23766 filename ../../images/marginalnote-insert.png
23768 scaleBeforeRotation
23772 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
23775 \begin_layout Standard
23777 \begin_inset Marginal
23780 \begin_layout Plain Layout
23789 \begin_layout Standard
23790 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
23791 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
23794 \begin_layout Standard
23795 \begin_inset VSpace bigskip
23798 傍注を内側余白に置くには、傍注の前にTeXコードで
23801 \begin_layout Standard
23809 \begin_layout Standard
23810 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
23814 \begin_layout Plain Layout
23824 \begin_inset Marginal
23827 \begin_layout Plain Layout
23836 \begin_inset Newline newline
23842 \begin_inset Note Greyedout
23845 \begin_layout Plain Layout
23846 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
23854 \begin_layout Standard
23858 \begin_layout Standard
23866 \begin_layout Standard
23871 \begin_layout Plain Layout
23881 \begin_inset Note Greyedout
23884 \begin_layout Plain Layout
23891 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
23899 \begin_layout Standard
23900 \begin_inset VSpace bigskip
23904 \begin_inset Marginal
23907 \begin_layout Plain Layout
23908 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
23914 \begin_inset CommandInset ref
23916 reference "sub:複数行"
23920 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
23921 \begin_inset space \thinspace{}
23925 \begin_inset Marginal
23928 \begin_layout Plain Layout
23929 \begin_inset space \hspace*{}
23933 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
23941 \begin_layout Standard
23942 \begin_inset VSpace bigskip
23948 \begin_layout Standard
23949 \begin_inset Note Greyedout
23952 \begin_layout Plain Layout
23957 通常、傍注は表やフロート、脚注の中では使用することができません。
23965 \begin_layout Standard
23966 \begin_inset VSpace bigskip
23972 \begin_layout Standard
23976 \begin_layout Plain Layout
23986 \begin_inset Note Note
23989 \begin_layout Plain Layout
23994 が導入されているときのみ表示されます。
24002 \begin_layout Standard
24008 \begin_inset Index idx
24011 \begin_layout Plain Layout
24012 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
24017 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
24021 パッケージが提供するコマンドを使うようになります。
24024 \begin_layout Standard
24029 usepackage{marginnote}
24030 \begin_inset Newline newline
24042 \begin_layout Standard
24047 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
24051 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
24052 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
24055 \begin_layout Standard
24061 \begin_layout Standard
24062 という形で書くことで設定することができます。ここで「オフセット」には、表
24063 \begin_inset CommandInset ref
24069 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
24074 \begin_inset space \thinspace{}
24078 \begin_inset Marginal
24081 \begin_layout Plain Layout
24083 \begin_inset space \thinspace{}
24095 \begin_layout Plain Layout
24105 \begin_layout Standard
24106 \begin_inset VSpace medskip
24113 を使うと、傍注の揃えを変更することもできます。たとえば、
24116 \begin_layout Standard
24123 raggedleftmarginnote}{
24126 \begin_inset Newline newline
24133 raggedrightmarginnote}{
24138 \begin_layout Standard
24139 というコマンドを使うと、中央揃えになります。
24143 raggedleftmarginnote
24145 とは、左側に表示されている傍注のことを指します
24149 \begin_layout Plain Layout
24155 raggedleftmarginnote}{
24160 \begin_layout Plain Layout
24166 raggedrightmarginnote}{
24174 \begin_inset Marginal
24177 \begin_layout Plain Layout
24178 この傍注の文章は中央揃えになっています。
24186 \begin_layout Standard
24193 raggedleftmarginnote}{
24196 \begin_inset Newline newline
24203 raggedrightmarginnote}{
24211 \begin_layout Plain Layout
24217 raggedleftmarginnote}{
24222 \begin_layout Plain Layout
24228 raggedrightmarginnote}{
24238 \begin_layout Standard
24242 \begin_layout Standard
24243 \begin_inset VSpace medskip
24251 \begin_inset CommandInset citation
24260 \begin_layout Standard
24261 \begin_inset VSpace bigskip
24264 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
24272 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
24275 \begin_layout Standard
24285 \begin_inset Newline newline
24295 \begin_inset Newline newline
24299 \begin_inset Phantom HPhantom
24302 \begin_layout Plain Layout
24305 \begin_inset space ~
24322 \begin_inset Newline newline
24326 \begin_inset Phantom HPhantom
24329 \begin_layout Plain Layout
24332 \begin_inset space ~
24349 \begin_layout Standard
24353 \begin_layout Plain Layout
24364 \begin_layout Plain Layout
24375 \begin_layout Plain Layout
24386 \begin_layout Plain Layout
24400 \begin_inset Marginal
24403 \begin_layout Plain Layout
24404 これは、定義したヘッダをつけた傍注です。
24413 \begin_layout Plain Layout
24424 \begin_layout Plain Layout
24438 \begin_inset Note Note
24441 \begin_layout Plain Layout
24442 傍注書式は、この例の分だけ変更してあります。
24450 \begin_layout Standard
24454 \begin_layout Plain Layout
24464 \begin_inset Note Note
24467 \begin_layout Plain Layout
24472 が導入されていないときのみ表示されます。
24480 \begin_layout Standard
24481 本節の以下の部分を出力に表示するには、LaTeXパッケージ
24488 \begin_layout Standard
24492 \begin_layout Plain Layout
24504 \begin_layout Chapter
24508 \begin_layout Section
24510 \begin_inset Index idx
24513 \begin_layout Plain Layout
24522 \begin_layout Standard
24523 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
24524 \begin_inset CommandInset ref
24526 reference "sec:ミニページ"
24531 \begin_inset CommandInset ref
24537 節参照)、単語がハイフネートされるのを予防したり(第
24538 \begin_inset CommandInset ref
24540 reference "sec:ハイフネーションの回避"
24545 \begin_inset CommandInset ref
24547 reference "sub:垂直揃え"
24551 節参照)、あるいは文章の背景色を設定したり(第
24552 \begin_inset CommandInset ref
24554 reference "sec:色付きボックス"
24561 \begin_layout Standard
24564 挿入\SpecialChar \menuseparator
24568 \begin_inset Graphics
24569 filename ../../images/box-insert.png
24571 scaleBeforeRotation
24575 を使って挿入することができます。すると、
24576 \begin_inset Graphics
24577 filename ../clipart/BoxInsetDefaultQt4.png
24579 scaleBeforeRotation
24587 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
24591 メニューを選択すると現れるボックスダイアログでは、
24607 型は、新規ボックスの既定値となっており、第
24608 \begin_inset CommandInset ref
24610 reference "sec:ミニページ"
24619 \begin_inset CommandInset ref
24621 reference "sec:Parboxes"
24634 \begin_inset CommandInset ref
24636 reference "sec:ハイフネーションの回避"
24643 \begin_layout Standard
24644 ボックスは付番されないので、フロートや脚注のように参照することはできません。
24647 \begin_layout Standard
24648 \begin_inset Note Greyedout
24651 \begin_layout Plain Layout
24660 環境の単独要素とすべきではありません。
24668 \begin_layout Standard
24669 \begin_inset Note Greyedout
24672 \begin_layout Plain Layout
24673 【註】理由は不明ですが、枠付きボックスを使用している場合には、
24686 \begin_inset CommandInset ref
24688 reference "sec:ハイフネーションの回避"
24700 \begin_layout Section
24702 \begin_inset CommandInset label
24704 name "sec:ボックスダイアログ"
24709 \begin_inset Index idx
24712 \begin_layout Plain Layout
24713 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
24721 \begin_layout Subsection
24723 \begin_inset Index idx
24726 \begin_layout Plain Layout
24727 ぼっくす@ボックス ! すんぽう@寸法
24735 \begin_layout Standard
24744 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
24745 \begin_inset CommandInset ref
24755 フィールドには、加えて以下の寸法を使用することができます。
24758 \begin_layout Description
24759 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
24760 \begin_inset Newline newline
24764 \begin_inset Newline newline
24768 \begin_inset Newline newline
24772 \begin_inset Box Boxed
24782 height_special "depth"
24785 \begin_layout Plain Layout
24793 \begin_inset Newline newline
24797 \begin_inset Newline newline
24803 \begin_layout Description
24804 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
24805 \begin_inset Box Boxed
24815 height_special "height"
24818 \begin_layout Plain Layout
24828 \begin_layout Description
24830 \begin_inset Box Boxed
24840 height_special "totalheight"
24843 \begin_layout Plain Layout
24853 \begin_layout Description
24854 幅 これはボックスの幅を高さに設定します。
24855 \begin_inset Box Boxed
24865 height_special "width"
24868 \begin_layout Plain Layout
24878 \begin_layout Subsection
24880 \begin_inset Index idx
24883 \begin_layout Plain Layout
24884 ぼっくす@ボックス ! もじそろえ@文字揃え
24892 \begin_layout Standard
24897 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
24900 \begin_layout Description
24902 \begin_inset Box Boxed
24912 height_special "totalheight"
24915 \begin_layout Plain Layout
24925 \begin_layout Description
24927 \begin_inset Box Boxed
24937 height_special "totalheight"
24940 \begin_layout Plain Layout
24950 \begin_layout Description
24952 \begin_inset Box Boxed
24962 height_special "totalheight"
24965 \begin_layout Plain Layout
24975 \begin_layout Standard
24976 \begin_inset Note Greyedout
24979 \begin_layout Plain Layout
24984 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
24992 \begin_layout Standard
24993 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
24996 \begin_layout Standard
24997 \begin_inset VSpace bigskip
25004 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
25007 \begin_layout Description
25009 \begin_inset Box Boxed
25019 height_special "totalheight"
25022 \begin_layout Plain Layout
25032 \begin_layout Description
25034 \begin_inset Box Boxed
25044 height_special "totalheight"
25047 \begin_layout Plain Layout
25057 \begin_layout Description
25059 \begin_inset Box Boxed
25069 height_special "totalheight"
25072 \begin_layout Plain Layout
25082 \begin_layout Description
25083 広げる これは例示のための本文行です。
25084 \begin_inset Box Boxed
25094 height_special "totalheight"
25097 \begin_layout Plain Layout
25102 \begin_layout Plain Layout
25107 \begin_layout Plain Layout
25117 \begin_layout Standard
25118 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
25121 \begin_layout Standard
25122 \begin_inset VSpace bigskip
25129 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
25132 \begin_layout Standard
25134 \begin_inset Box Boxed
25144 height_special "totalheight"
25147 \begin_layout Plain Layout
25152 \begin_layout Plain Layout
25157 \begin_layout Plain Layout
25167 \begin_layout Standard
25172 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
25175 \begin_layout Standard
25177 \begin_inset Box Boxed
25187 height_special "totalheight"
25190 \begin_layout Plain Layout
25192 このボックスの文章は水平方向に広げてあります。
25200 \begin_layout Subsection
25202 \begin_inset CommandInset label
25209 \begin_inset Index idx
25212 \begin_layout Plain Layout
25213 ぼっくす@ボックス ! そうしょく@装飾
25221 \begin_layout Standard
25226 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
25229 \begin_layout Description
25233 \begin_inset space ~
25236 frame Nothing is drawn.
25239 \begin_layout Description
25240 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
25247 \begin_inset Box Boxed
25257 height_special "totalheight"
25260 \begin_layout Plain Layout
25270 \begin_layout Description
25271 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
25272 \begin_inset space \thinspace{}
25276 \begin_inset Box ovalbox
25286 height_special "totalheight"
25289 \begin_layout Plain Layout
25299 \begin_layout Description
25300 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
25301 \begin_inset space \thinspace{}
25305 \begin_inset Box Ovalbox
25315 height_special "totalheight"
25318 \begin_layout Plain Layout
25328 \begin_layout Description
25329 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
25336 \begin_inset space \thinspace{}
25340 \begin_inset Box Shadowbox
25350 height_special "totalheight"
25353 \begin_layout Plain Layout
25363 \begin_layout Description
25364 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
25368 \begin_layout Plain Layout
25370 \begin_inset CommandInset ref
25372 reference "sec:色付きボックス"
25381 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
25382 \begin_inset Box Shaded
25392 height_special "totalheight"
25395 \begin_layout Plain Layout
25404 \begin_layout Description
25405 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
25406 \begin_inset space \thinspace{}
25416 \begin_inset space \thinspace{}
25426 \begin_inset space \thinspace{}
25436 \begin_inset space \thinspace{}
25440 \begin_inset space \thinspace{}
25444 \begin_inset space \thinspace{}
25448 \begin_inset Box Doublebox
25458 height_special "totalheight"
25461 \begin_layout Plain Layout
25471 \begin_layout Standard
25472 \begin_inset VSpace bigskip
25475 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
25480 \begin_inset Index idx
25483 \begin_layout Plain Layout
25484 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
25492 \begin_layout Standard
25493 \begin_inset VSpace bigskip
25500 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
25520 \begin_inset Box Framed
25530 height_special "totalheight"
25533 \begin_layout Plain Layout
25542 \begin_layout Section
25544 \begin_inset Index idx
25547 \begin_layout Plain Layout
25548 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
25556 \begin_layout Standard
25564 \begin_inset space \thinspace{}
25567 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
25568 \begin_inset space \thinspace{}
25574 \begin_layout Standard
25584 \begin_layout Standard
25588 \begin_layout Plain Layout
25600 \begin_inset Box Boxed
25610 height_special "totalheight"
25613 \begin_layout Plain Layout
25622 \begin_inset space \thinspace{}
25626 \begin_inset space \thinspace{}
25630 \begin_inset space \thinspace{}
25642 \begin_layout Plain Layout
25656 \begin_layout Standard
25657 \begin_inset VSpace bigskip
25660 枠とボックスの内容との空白は、すべての枠様式について3
25661 \begin_inset space \thinspace{}
25664 ptが既定値になっています。これは、長さ
25670 を別の値に設定することによって変更することができます。たとえば
25673 \begin_layout Standard
25683 \begin_layout Standard
25685 \begin_inset space \thinspace{}
25688 ptにし、以下のボックスのようになります。
25691 \begin_layout Standard
25695 \begin_layout Plain Layout
25707 \begin_inset Box Boxed
25717 height_special "totalheight"
25720 \begin_layout Plain Layout
25729 \begin_inset space \thinspace{}
25733 \begin_inset space \thinspace{}
25737 \begin_inset space \thinspace{}
25749 \begin_layout Plain Layout
25763 \begin_layout Standard
25764 \begin_inset VSpace bigskip
25767 楕円形ボックスの丸い角の直径は、コマンド
25776 \begin_layout Standard
25784 \begin_layout Standard
25786 \begin_inset space \thinspace{}
25792 \begin_layout Standard
25800 \begin_layout Standard
25804 \begin_inset space \thinspace{}
25808 \begin_inset space \thinspace{}
25822 \begin_layout Standard
25826 \begin_layout Plain Layout
25836 \begin_inset Box Ovalbox
25846 height_special "totalheight"
25849 \begin_layout Plain Layout
25858 \begin_inset space \thinspace{}
25862 \begin_inset space \thinspace{}
25866 \begin_inset space \thinspace{}
25878 \begin_layout Plain Layout
25890 \begin_layout Standard
25891 \begin_inset VSpace bigskip
25900 を変更することで調整できます。以下のボックスでは
25903 \begin_layout Standard
25913 \begin_layout Standard
25915 \begin_inset space \thinspace{}
25921 \begin_layout Standard
25925 \begin_layout Plain Layout
25937 \begin_inset Box Shadowbox
25947 height_special "totalheight"
25950 \begin_layout Plain Layout
25959 \begin_inset space \thinspace{}
25963 \begin_inset space \thinspace{}
25967 \begin_inset space \thinspace{}
25979 \begin_layout Plain Layout
25993 \begin_layout Standard
25994 \begin_inset VSpace bigskip
26000 \begin_layout Standard
26008 \begin_inset space \thinspace{}
26011 ptです。ボックスの中身と枠の間の空白の既定値は9
26012 \begin_inset space \thinspace{}
26021 の値を変えることで変更することができます。たとえば、下記の
26028 \begin_layout Standard
26036 \begin_inset Newline newline
26046 \begin_layout Standard
26047 というTeXコードコマンドで設定してあります。
26051 \begin_layout Plain Layout
26060 \begin_layout Plain Layout
26072 \begin_inset Box Framed
26082 height_special "totalheight"
26085 \begin_layout Plain Layout
26099 \begin_layout Plain Layout
26108 \begin_layout Plain Layout
26122 \begin_layout Standard
26123 \begin_inset VSpace bigskip
26129 \begin_layout Standard
26134 ボックスでは、ボックスの内容と枠の余白の既定値は3
26135 \begin_inset space \thinspace{}
26144 の値を変更することで変えられます。既定の背景色である赤色は、
26148 definecolor{shadebox}
26150 コマンドで局所的に変更することもできますし、
26152 ツール\SpecialChar \menuseparator
26153 設定\SpecialChar \menuseparator
26154 色\SpecialChar \menuseparator
26157 メニューからグローバルに変更することもできます。
26164 \begin_inset CommandInset ref
26166 reference "sec:色付きの表"
26174 \begin_layout Plain Layout
26185 をプリアンブルに読み込む必要があります。第
26186 \begin_inset CommandInset ref
26188 reference "sec:色付きボックス"
26200 \begin_layout Standard
26201 たとえば、下記の影付き背景ボックスの外見は
26204 \begin_layout Standard
26214 \begin_inset Newline newline
26221 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26224 \begin_layout Standard
26225 というTeXコードコマンドを使って設定してあります。
26228 \begin_layout Standard
26232 \begin_layout Plain Layout
26241 \begin_layout Plain Layout
26245 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
26251 \begin_inset Box Shaded
26261 height_special "totalheight"
26264 \begin_layout Plain Layout
26280 \begin_layout Plain Layout
26289 \begin_layout Plain Layout
26293 definecolor{shadecolor}{rgb}{1,0,0}
26301 \begin_layout Standard
26302 \begin_inset VSpace bigskip
26305 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
26308 \begin_layout Section
26310 \begin_inset CommandInset label
26317 \begin_inset Index idx
26320 \begin_layout Plain Layout
26321 ぼっくす@ボックス ! みにぺーじ@ミニページ
26329 \begin_layout Standard
26330 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
26333 \begin_layout Standard
26334 ミニページは、複数の言語を含む文書を執筆する際に便利です。
26337 \begin_layout Standard
26338 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
26342 \SpecialChar \menuseparator
26347 \SpecialChar \menuseparator
26352 メニューで挿入した水平フィルで隔てられています。
26353 \begin_inset Newpage newpage
26359 \begin_layout Standard
26360 \begin_inset Box Frameless
26370 height_special "totalheight"
26373 \begin_layout Plain Layout
26374 Dies ist ein deutscher Text.
26375 Dies ist ein deutscher Text.
26376 Dies ist ein deutscher Text.
26377 Dies ist ein deutscher Text.
26378 Dies ist ein deutscher Text.
26379 Dies ist ein deutscher Text.
26380 Dies ist ein deutscher Text.
26381 Dies ist ein deutscher Text.
26382 Dies ist ein deutscher Text.
26383 Dies ist ein deutscher Text.
26384 Dies ist ein deutscher Text.
26385 Dies ist ein deutscher Text.
26386 Dies ist ein deutscher Text
26390 \begin_layout Plain Layout
26391 Dies ist eine deutsche Fußnote.
26397 Dies ist ein deutscher Text.
26398 Dies ist ein deutscher Text.
26404 \begin_inset space \hfill{}
26408 \begin_inset Box Frameless
26418 height_special "totalheight"
26421 \begin_layout Plain Layout
26422 This is an English Text.
26423 This is an English Text.
26424 This is an English Text.
26425 This is an English Text.
26426 This is an English Text.
26427 This is an English Text.
26428 This is an English Text.
26429 This is an English Text.
26430 This is an English Text.
26431 This is an English Text.
26432 This is an English Text.
26433 This is an English Text.
26434 This is an English Text.
26435 This is an English Text.
26436 This is an English Text.
26437 This is an English Text.
26441 \begin_layout Plain Layout
26442 This is an English footnote.
26447 This is an English Text.
26456 \begin_layout Standard
26457 \begin_inset VSpace bigskip
26460 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
26461 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
26464 \begin_layout Standard
26466 \begin_inset Tabular
26467 <lyxtabular version="3" rows="3" columns="4">
26468 <features tabularvalignment="middle">
26469 <column alignment="center" valignment="top" width="0pt">
26470 <column alignment="center" valignment="top" width="0pt">
26471 <column alignment="center" valignment="top" width="0pt">
26472 <column alignment="center" valignment="top" width="0pt">
26474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26477 \begin_layout Plain Layout
26483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26486 \begin_layout Plain Layout
26492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26495 \begin_layout Plain Layout
26500 \begin_layout Plain Layout
26511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26514 \begin_layout Plain Layout
26522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26525 \begin_layout Plain Layout
26531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26534 \begin_layout Plain Layout
26540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26543 \begin_layout Plain Layout
26549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26552 \begin_layout Plain Layout
26560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26563 \begin_layout Plain Layout
26569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26572 \begin_layout Plain Layout
26578 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26581 \begin_layout Plain Layout
26587 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26590 \begin_layout Plain Layout
26604 \begin_layout Standard
26606 \begin_inset Box Frameless
26616 height_special "totalheight"
26619 \begin_layout Plain Layout
26621 \begin_inset Tabular
26622 <lyxtabular version="3" rows="3" columns="4">
26623 <features tabularvalignment="middle">
26624 <column alignment="center" valignment="top" width="0pt">
26625 <column alignment="center" valignment="top" width="0pt">
26626 <column alignment="center" valignment="top" width="0pt">
26627 <column alignment="center" valignment="top" width="0pt">
26629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26632 \begin_layout Plain Layout
26638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26641 \begin_layout Plain Layout
26647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26650 \begin_layout Plain Layout
26655 \begin_layout Plain Layout
26666 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26669 \begin_layout Plain Layout
26677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26680 \begin_layout Plain Layout
26686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26689 \begin_layout Plain Layout
26695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26698 \begin_layout Plain Layout
26704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26707 \begin_layout Plain Layout
26715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26718 \begin_layout Plain Layout
26724 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26727 \begin_layout Plain Layout
26733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26736 \begin_layout Plain Layout
26742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26745 \begin_layout Plain Layout
26764 \begin_layout Standard
26765 \begin_inset VSpace bigskip
26768 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
26772 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
26775 \begin_layout Standard
26776 ミニページは、文章部に背景色を与えるのに使用することもできます。第
26777 \begin_inset CommandInset ref
26779 reference "sub:段落の着色"
26786 \begin_layout Standard
26787 \begin_inset Note Greyedout
26790 \begin_layout Plain Layout
26795 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
26803 \begin_layout Section
26805 \begin_inset CommandInset label
26807 name "sec:Parboxes"
26812 \begin_inset Index idx
26815 \begin_layout Plain Layout
26816 ぼっくす@ボックス ! Parboxes
26824 \begin_layout Standard
26825 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。ミニページとの主な違いは、ミニページの方は、parboxとは違って、本
26826 当のボックスではなくLaTeX環境であるところです。
26829 \begin_layout Standard
26831 \begin_inset Box Frameless
26841 height_special "totalheight"
26844 \begin_layout Plain Layout
26845 これはparbox内の文章です。これはparbox内の文章です。
26848 \begin_layout Plain Layout
26853 \begin_layout Plain Layout
26854 これはparbox内の脚注であり、したがって表示はされません。
26867 \begin_layout Section
26869 \begin_inset Index idx
26872 \begin_layout Plain Layout
26873 ぼっくす@ボックス ! もじよう@文字用
26881 \begin_layout Subsection
26883 \begin_inset CommandInset label
26885 name "sec:ハイフネーションの回避"
26890 \begin_inset Index idx
26893 \begin_layout Plain Layout
26894 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
26902 \begin_layout Standard
26905 You can use the box type
26909 to prevent words or text from being hyphenated.
26912 \begin_inset Newline newline
26918 \begin_layout Standard
26919 This line is an example to show how you can prevent the hyphenation of
26920 \begin_inset Quotes eld
26924 \begin_inset Quotes erd
26930 \begin_layout Standard
26933 To prevent the hyphenation of the word
26934 \begin_inset Quotes eld
26938 \begin_inset Quotes erd
26941 , put the word into a box, set the
26944 \begin_inset space ~
26954 \begin_inset space \thinspace{}
26960 \begin_layout Standard
26964 \begin_layout Standard
26965 This line is an example to show how you can prevent the hyphenation of
26966 \begin_inset Box Frameless
26976 height_special "totalheight"
26979 \begin_layout Plain Layout
26980 \begin_inset Quotes eld
26984 \begin_inset Quotes erd
26995 \begin_layout Standard
26996 別の方法としては、以下のように、単語の前に直接TeXコードで「
27005 \begin_layout Standard
27006 This line is an example to show how you can prevent the hyphenation of
27007 \begin_inset Quotes eld
27014 \begin_layout Plain Layout
27024 \begin_inset Quotes erd
27030 \begin_layout Standard
27031 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
27035 \SpecialChar \menuseparator
27040 \SpecialChar \menuseparator
27048 arg "newline-insert newline"
27051 )から改行を単語の前に入れてください。
27054 \begin_layout Standard
27055 This line is an example to show how you can prevent the hyphenation of
27056 \begin_inset Newline newline
27060 \begin_inset Box Frameless
27070 height_special "totalheight"
27073 \begin_layout Plain Layout
27074 \begin_inset Quotes eld
27078 \begin_inset Quotes erd
27089 \begin_layout Subsection
27091 \begin_inset CommandInset label
27098 \begin_inset Index idx
27101 \begin_layout Plain Layout
27102 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
27108 \begin_inset Index idx
27111 \begin_layout Plain Layout
27112 ぼっくす@ボックス ! Raiseboxes
27120 \begin_layout Standard
27127 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
27136 \begin_layout Standard
27141 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
27144 \begin_layout Standard
27145 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
27148 \begin_layout Standard
27149 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
27152 \begin_layout Standard
27162 \begin_layout Standard
27163 というコマンドを挿入してください。単語の後には、閉じ括弧「
27168 \begin_inset Newline newline
27174 \begin_layout Standard
27175 This is a text line with the word
27179 \begin_layout Plain Layout
27191 \begin_inset Quotes eld
27195 \begin_inset Quotes erd
27202 \begin_layout Plain Layout
27212 \begin_layout Standard
27213 \begin_inset VSpace bigskip
27216 行中の文字を上げ下げすると、以下のように行間が広がります。
27219 \begin_layout Standard
27220 This is a text line with the word
27224 \begin_layout Plain Layout
27236 \begin_inset Quotes eld
27240 \begin_inset Quotes erd
27247 \begin_layout Plain Layout
27255 \begin_inset Newline newline
27258 This is a text line with the word
27262 \begin_layout Plain Layout
27272 \begin_inset Quotes eld
27276 \begin_inset Quotes erd
27283 \begin_layout Plain Layout
27293 \begin_layout Standard
27294 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
27297 \begin_layout Standard
27307 \begin_layout Standard
27311 \begin_layout Standard
27312 This is a text line with the word
27316 \begin_layout Plain Layout
27328 \begin_inset Quotes eld
27332 \begin_inset Quotes erd
27339 \begin_layout Plain Layout
27347 \begin_inset Newline newline
27350 This is a text line with the word
27354 \begin_layout Plain Layout
27358 raisebox{0.5cm}[0pt]{
27364 \begin_inset Quotes eld
27368 \begin_inset Quotes erd
27375 \begin_layout Plain Layout
27385 \begin_layout Section
27387 \begin_inset CommandInset label
27394 \begin_inset Index idx
27397 \begin_layout Plain Layout
27398 ぼっくす@ボックス ! いろつき@色付き
27406 \begin_layout Subsection
27408 \begin_inset Index idx
27411 \begin_layout Plain Layout
27420 \begin_layout Standard
27421 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
27426 \begin_inset Index idx
27429 \begin_layout Plain Layout
27430 LaTeXぱっけーじ@LaTeXパッケージ ! color
27435 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
27438 \begin_layout Standard
27443 @ifundefined{textcolor}
27444 \begin_inset Newline newline
27448 \begin_inset Phantom HPhantom
27451 \begin_layout Plain Layout
27454 \begin_inset space ~
27464 usepackage{color}}{}
27467 \begin_layout Standard
27472 パッケージは、文章を着色するとLyXが自動的に読み込みます
27476 \begin_layout Plain Layout
27477 これが二度読み込まれることを回避するには、
27491 \begin_layout Standard
27492 \begin_inset VSpace medskip
27501 コマンドを使って作ります。これは、以下のような書式で使われます。
27504 \begin_layout Standard
27509 colorbox{color}{ボックスの内容}
27512 \begin_layout Standard
27513 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
27516 \begin_layout Standard
27518 \begin_inset Newline newline
27554 \begin_inset Newline newline
27558 \begin_inset CommandInset ref
27560 reference "sec:色付きの表"
27564 節に述べられているようにすれば、自前の色を定義することもできます。
27567 \begin_layout Standard
27568 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
27571 \begin_layout Standard
27579 \begin_layout Standard
27580 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
27585 \begin_inset Newline newline
27591 \begin_layout Standard
27596 \begin_layout Plain Layout
27609 \begin_layout Plain Layout
27619 \begin_layout Standard
27620 \begin_inset VSpace bigskip
27623 ボックスの枠を別の色にしたい場合には、以下の書式で
27632 \begin_layout Standard
27637 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
27640 \begin_layout Standard
27653 の拡張です。枠の太さと枠とボックスの中身との余白は、第
27654 \begin_inset CommandInset ref
27675 \begin_layout Standard
27679 \begin_layout Standard
27684 fcolorbox{cyan}{magenta}{
27687 \begin_layout Standard
27691 \begin_layout Standard
27693 \begin_inset space \thinspace{}
27697 \begin_inset Newline newline
27704 \begin_layout Plain Layout
27719 \begin_layout Plain Layout
27723 fcolorbox{cyan}{magenta}{
27728 これは着色した色付きボックス中の文章です。
27732 \begin_layout Plain Layout
27742 \begin_layout Standard
27743 \begin_inset VSpace bigskip
27746 もちろん、色付きボックスの中に色付き文字を入れることもできます
27747 \begin_inset Newline newline
27754 \begin_layout Plain Layout
27758 fcolorbox{cyan}{magenta}{
27765 これは着色した色付きボックス中の色付き文章です。
27771 \begin_layout Plain Layout
27782 \begin_layout Plain Layout
27796 \begin_layout Standard
27799 \begin_inset VSpace medskip
27805 \begin_layout Standard
27806 \begin_inset Note Greyedout
27809 \begin_layout Plain Layout
27814 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
27822 \begin_layout Subsection
27824 \begin_inset CommandInset label
27831 \begin_inset Index idx
27834 \begin_layout Plain Layout
27843 \begin_layout Standard
27844 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
27853 \begin_layout Standard
27861 \begin_layout Standard
27862 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
27869 \begin_layout Standard
27873 \begin_layout Plain Layout
27877 colorbox{lightgrey}{
27883 \begin_inset Box Frameless
27893 height_special "totalheight"
27896 \begin_layout Plain Layout
27897 これは背景色を付けた文章です。これは背景色を付けた文章です。
27900 \begin_layout Plain Layout
27901 \begin_inset VSpace defskip
27908 \begin_layout Plain Layout
27914 を付けることもできますし、図表を挿入することもできます。
27917 \begin_layout Plain Layout
27919 \begin_inset Tabular
27920 <lyxtabular version="3" rows="3" columns="3">
27921 <features tabularvalignment="middle">
27922 <column alignment="center" valignment="top" width="0">
27923 <column alignment="center" valignment="top" width="0">
27924 <column alignment="center" valignment="top" width="0">
27926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27929 \begin_layout Plain Layout
27935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27938 \begin_layout Plain Layout
27944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27947 \begin_layout Plain Layout
27955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27958 \begin_layout Plain Layout
27964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27967 \begin_layout Plain Layout
27969 \begin_inset Quotes erd
27977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27980 \begin_layout Plain Layout
27988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27991 \begin_layout Plain Layout
27997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28000 \begin_layout Plain Layout
28006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28009 \begin_layout Plain Layout
28029 \begin_layout Plain Layout
28039 \begin_layout Section
28043 \begin_layout Standard
28044 本節で述べられているコマンドを使用するには、文書プリアンブルで
28047 \begin_layout Standard
28052 @ifundefined{rotatebox}
28053 \begin_inset Newline newline
28057 \begin_inset Phantom HPhantom
28060 \begin_layout Plain Layout
28063 \begin_inset space ~
28073 usepackage{graphicx}}{}
28076 \begin_layout Standard
28082 \begin_inset Index idx
28085 \begin_layout Plain Layout
28086 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
28091 LaTeXパッケージを読み込む必要があります。
28094 \begin_layout Standard
28095 \begin_inset Note Greyedout
28098 \begin_layout Plain Layout
28103 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
28111 \begin_layout Standard
28112 \begin_inset Note Greyedout
28115 \begin_layout Plain Layout
28120 フロートは回転伸縮したボックスの中に入れることはできません。
28128 \begin_layout Subsection
28130 \begin_inset Index idx
28133 \begin_layout Plain Layout
28134 ぼっくす@ボックス ! かいてんした@回転した
28140 \begin_inset Index idx
28143 \begin_layout Plain Layout
28144 かいてん@回転 ! そざいの@素材の---
28150 \begin_inset Index idx
28153 \begin_layout Plain Layout
28160 \begin_inset Index idx
28163 \begin_layout Plain Layout
28164 ひょうのちょうせい@表の調整 ! かいてん@回転
28172 \begin_layout Standard
28173 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
28179 コマンドを使用すれば作成することができます。
28182 \begin_layout Standard
28187 rotatebox[回転の原点]{回転角}{ボックスの内容}
28190 \begin_layout Standard
28195 の形で指定します。位置として指定可能なのは、
28215 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
28219 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
28223 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
28226 \begin_layout Standard
28227 以下の例では、「回転した」文章の前にTeXコードで
28231 rotatebox[origin=c]{60}{
28233 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
28240 \begin_layout Standard
28245 \begin_layout Plain Layout
28249 rotatebox[origin=c]{60}{
28258 \begin_layout Plain Layout
28268 \begin_layout Standard
28269 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
28272 \begin_layout Standard
28277 \begin_layout Plain Layout
28281 rotatebox[origin=r]{-60}{
28287 \begin_inset Box Doublebox
28297 height_special "totalheight"
28300 \begin_layout Plain Layout
28310 \begin_layout Plain Layout
28321 \begin_layout Plain Layout
28325 rotatebox[origin=lb]{60}{
28331 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28338 \begin_layout Plain Layout
28348 \begin_layout Standard
28349 あるいは、以下のように図や表を入れることもできます。
28352 \begin_layout Standard
28357 \begin_layout Plain Layout
28361 rotatebox[origin=lb]{90}{
28367 \begin_inset Graphics
28368 filename ../clipart/platypus.eps
28378 \begin_layout Plain Layout
28389 \begin_layout Plain Layout
28393 rotatebox[origin=l]{-90}{
28399 \begin_inset Tabular
28400 <lyxtabular version="3" rows="2" columns="2">
28401 <features tabularvalignment="middle">
28402 <column alignment="center" valignment="top" width="0">
28403 <column alignment="center" valignment="top" width="0">
28405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28408 \begin_layout Plain Layout
28414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28417 \begin_layout Plain Layout
28425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28428 \begin_layout Plain Layout
28434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28437 \begin_layout Plain Layout
28452 \begin_layout Plain Layout
28462 \begin_layout Subsection
28464 \begin_inset Index idx
28467 \begin_layout Plain Layout
28468 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
28474 \begin_inset Index idx
28477 \begin_layout Plain Layout
28478 しんしゅく@伸縮 ! そざいの@素材の---
28484 \begin_inset Index idx
28487 \begin_layout Plain Layout
28488 ず@図 ! のしんしゅく@---の伸縮
28494 \begin_inset Index idx
28497 \begin_layout Plain Layout
28498 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
28506 \begin_layout Standard
28522 \begin_layout Standard
28532 \begin_layout Standard
28537 scalebox{水平方向}[垂直方向]{ボックスの内容}
28540 \begin_layout Standard
28541 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
28544 \begin_layout Standard
28551 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
28555 \begin_layout Plain Layout
28568 \begin_layout Plain Layout
28578 \begin_layout Standard
28583 scalebox{2}[1]{こんにちは}
28589 \begin_layout Plain Layout
28602 \begin_layout Plain Layout
28612 \begin_layout Standard
28613 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
28617 scalebox{-1}[1]{こんにちは}
28619 というコマンドは、右のように反転文字を生成するのに使用できます:
28623 \begin_layout Plain Layout
28636 \begin_layout Plain Layout
28646 \begin_layout Standard
28651 scalebox{1}[-1]{こんにちは}
28657 \begin_layout Plain Layout
28670 \begin_layout Plain Layout
28680 \begin_layout Standard
28685 scalebox{-1}[1]{ボックスの内容}
28688 \begin_inset Newline newline
28695 reflectbox{ボックスの内容}
28698 \begin_inset Newline newline
28704 \begin_layout Standard
28705 \begin_inset VSpace bigskip
28708 指定した幅や丈にボックスを伸縮させるには、
28717 \begin_layout Standard
28722 resizebox{幅}{丈}{ボックスの内容}
28725 \begin_layout Standard
28726 です。上記二つのコマンド引数のうち一つが感嘆符「
28730 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
28733 \begin_layout Standard
28738 resizebox{2cm}{1cm}{こんにちは}
28744 \begin_layout Plain Layout
28748 resizebox{2cm}{1cm}{
28757 \begin_layout Plain Layout
28765 \begin_inset Newline newline
28772 resizebox{2cm}{!}{こんにちは}
28778 \begin_layout Plain Layout
28791 \begin_layout Plain Layout
28801 \begin_layout Standard
28802 \begin_inset VSpace bigskip
28806 \begin_inset Note Greyedout
28809 \begin_layout Plain Layout
28822 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
28830 \begin_layout Standard
28831 \begin_inset VSpace bigskip
28837 \begin_layout Standard
28838 ボックスは好きな順序で組み合わせることができます。たとえば、
28839 \begin_inset Newline newline
28846 rotatebox[origin=c]{-45}{
28850 reflectbox{こんにちは}}}
28851 \begin_inset Newline newline
28859 \begin_layout Standard
28864 \begin_layout Plain Layout
28868 rotatebox[origin=c]{-45}{
28881 \begin_layout Plain Layout
28891 \begin_layout Standard
28893 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
28896 \begin_layout Standard
28901 \begin_layout Plain Layout
28905 rotatebox[origin=c]{-30}{
28915 \begin_inset Graphics
28916 filename ../clipart/platypus.eps
28926 \begin_layout Plain Layout
28937 \begin_layout Plain Layout
28941 rotatebox[origin=c]{-45}{
28951 \begin_inset Tabular
28952 <lyxtabular version="3" rows="2" columns="2">
28953 <features tabularvalignment="middle">
28954 <column alignment="center" valignment="top" width="0">
28955 <column alignment="center" valignment="top" width="0">
28957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28960 \begin_layout Plain Layout
28966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28969 \begin_layout Plain Layout
28977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28980 \begin_layout Plain Layout
28986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28989 \begin_layout Plain Layout
29004 \begin_layout Plain Layout
29015 \begin_layout Plain Layout
29019 rotatebox[origin=c]{-45}{
29029 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29036 \begin_layout Plain Layout
29046 \begin_layout Standard
29055 \begin_layout Plain Layout
29056 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
29061 には、別行建て数式も伸縮させることができます。
29064 \begin_layout Chapter
29066 \begin_inset Index idx
29069 \begin_layout Plain Layout
29070 がいぶぶんしょこうせいようそ@外部文書構成要素
29078 \begin_layout Standard
29081 挿入\SpecialChar \menuseparator
29084 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
29087 \begin_layout Description
29088 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
29091 \begin_layout Description
29092 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
29095 \begin_layout Description
29096 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
29099 \begin_layout Description
29103 \begin_layout Description
29104 子文書 LyXあるいはLaTeX文書。
29107 \begin_layout Section
29109 \begin_inset Index idx
29112 \begin_layout Plain Layout
29113 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
29121 \begin_layout Standard
29122 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
29123 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
29125 操作性\SpecialChar \menuseparator
29128 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
29131 \begin_layout Standard
29136 \SpecialChar \menuseparator
29141 \SpecialChar \menuseparator
29150 ダイアログから挿入することができます。目下、以下のファイル形式(
29157 \begin_layout Description
29161 \begin_inset CommandInset href
29164 target "http://en.wikipedia.org/wiki/XBoard"
29170 プログラムで作成されたチェス棋譜をサポートします。
29173 \begin_layout Description
29178 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
29179 \begin_inset External
29186 \begin_inset space ~
29190 \begin_inset Note Note
29193 \begin_layout Plain Layout
29194 バグ4398が修正されたら、この保護空白は削除してください!
29200 \begin_inset Newline newline
29203 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
29207 \SpecialChar \menuseparator
29208 日付メニューを使用する方法で、他はLaTeXコマンドの
29214 をTeXコードで使用する方法です。これらの各方法は、表
29215 \begin_inset CommandInset ref
29217 reference "tab:日付挿入方法"
29224 \begin_layout Description
29228 \begin_inset CommandInset href
29231 target "http://en.wikipedia.org/wiki/Dia_(software)"
29237 プログラムで作成したダイアグラムをサポートします。
29240 \begin_layout Description
29244 \begin_inset CommandInset href
29247 target "http://en.wikipedia.org/wiki/LilyPond"
29253 プログラムで作成した楽譜の組版に使用されます。
29256 \begin_layout Description
29257 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
29273 オプションを指定しないと、PDFの最初のページのみが挿入されます。
29276 \begin_layout Description
29277 ラスターイメージ これはビットマップ画像に使用します。よく使われる画像形式のほとんどすべてがサポートされています。
29282 \begin_inset CommandInset ref
29284 reference "sec:画像ダイアログ"
29292 ダイアログを使って挿入される画像と同じように取り扱うことができます。異なる点といえば、ラスターイメージのみを取り扱うことができる点、すなわちPDFやEPS画像は
29296 \begin_layout Description
29300 \begin_inset CommandInset href
29303 target "http://en.wikipedia.org/wiki/Xfig"
29309 プログラムで作成した画像をサポートします。
29312 \begin_layout Standard
29313 \begin_inset Float table
29319 \begin_layout Plain Layout
29320 \begin_inset Caption
29322 \begin_layout Plain Layout
29323 \begin_inset CommandInset label
29337 \begin_layout Plain Layout
29339 \begin_inset Tabular
29340 <lyxtabular version="3" rows="4" columns="4">
29341 <features tabularvalignment="middle">
29342 <column alignment="center" valignment="top" width="0">
29343 <column alignment="center" valignment="top" width="0">
29344 <column alignment="center" valignment="top" width="0">
29345 <column alignment="center" valignment="top" width="0">
29347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29350 \begin_layout Plain Layout
29356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29359 \begin_layout Plain Layout
29362 外部素材\SpecialChar \menuseparator
29368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29371 \begin_layout Plain Layout
29374 挿入\SpecialChar \menuseparator
29380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29383 \begin_layout Plain Layout
29397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29400 \begin_layout Plain Layout
29406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29409 \begin_layout Plain Layout
29415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29418 \begin_layout Plain Layout
29424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29427 \begin_layout Plain Layout
29435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29438 \begin_layout Plain Layout
29444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29447 \begin_layout Plain Layout
29453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29456 \begin_layout Plain Layout
29462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29465 \begin_layout Plain Layout
29473 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29476 \begin_layout Plain Layout
29482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29485 \begin_layout Plain Layout
29491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29494 \begin_layout Plain Layout
29500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29503 \begin_layout Plain Layout
29522 \begin_layout Standard
29535 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
29536 \begin_inset Newline newline
29539 LyX中での外部素材は、ダイアログ内の
29548 \begin_inset Graphics
29549 filename clipart/ExternalMaterialQt4.png
29551 scaleBeforeRotation
29555 のようなボックスとして表示されるか、画像として表示されます。
29558 \begin_layout Standard
29565 には、自製のひな型を定義する方法が説明されています。
29568 \begin_layout Section
29570 \begin_inset CommandInset label
29577 \begin_inset Index idx
29580 \begin_layout Plain Layout
29581 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
29587 \begin_inset Index idx
29590 \begin_layout Plain Layout
29591 ふぁいる@ファイル ! いんくるーど@インクルード
29599 \begin_layout Standard
29600 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
29601 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
29602 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
29605 \begin_layout Standard
29606 親文書を開くことなく子文書で作業できるようにするには、子文書の
29610 \SpecialChar \menuseparator
29615 \SpecialChar \menuseparator
29620 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
29623 \begin_layout Standard
29625 \begin_inset Graphics
29626 filename clipart/ChildDocumentQt4.png
29628 scaleBeforeRotation
29632 のようなボックスとして表示されます。子文書を親文書に取り込むには、
29636 \SpecialChar \menuseparator
29641 \SpecialChar \menuseparator
29646 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
29649 \begin_layout Description
29650 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
29658 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
29659 \begin_inset Newline newline
29665 \begin_layout Standard
29671 \begin_inset CommandInset include
29672 LatexCommand include
29673 filename "DummyDocument1.lyx"
29680 \begin_layout Standard
29681 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
29682 あります。取り込んだ文書のラベルは、第
29683 \begin_inset CommandInset ref
29685 reference "sub:外部文書の第1小節"
29689 小節、のように参照することができます。
29692 \begin_layout Standard
29693 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
29694 は、新規頁から始まるように挿入され、改頁して終わります。
29697 \begin_layout Standard
29698 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
29702 \begin_layout Plain Layout
29716 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
29719 \begin_layout Standard
29720 \begin_inset Note Greyedout
29723 \begin_layout Plain Layout
29728 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
29742 \begin_layout Standard
29743 \begin_inset Note Greyedout
29746 \begin_layout Plain Layout
29751 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
29760 \begin_layout Description
29761 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
29765 \begin_layout Itemize
29766 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
29769 \begin_layout Itemize
29770 Inputファイルは、LyX設定の操作性
29772 \SpecialChar \menuseparator
29779 を有効にすると、LyX中でプレビューすることができます。
29782 \begin_layout Itemize
29793 \begin_layout Standard
29799 \begin_inset CommandInset include
29801 filename "DummyDocument2.lyx"
29808 \begin_layout Description
29809 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
29810 に用いられているコマンドは実行されません。
29814 オプションを有効にすると、ソースコード中のすべての空白文字に「
29818 \begin_layout Plain Layout
29829 挿入\SpecialChar \menuseparator
29830 ファイル\SpecialChar \menuseparator
29833 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
29836 \begin_layout Standard
29837 以下は、verbatimとして挿入された子文書です。
29838 \begin_inset CommandInset include
29839 LatexCommand verbatiminput
29840 filename "../DummyTextDocument.txt"
29845 \begin_inset VSpace bigskip
29852 オプションを指定して、verbatimとして挿入された子文書です。
29853 \begin_inset CommandInset include
29854 LatexCommand verbatiminput*
29855 filename "../DummyTextDocument.txt"
29862 \begin_layout Standard
29863 \begin_inset VSpace bigskip
29869 \begin_layout Standard
29870 \begin_inset Note Greyedout
29873 \begin_layout Plain Layout
29882 として取り込んだ文書の文章は、文書行の終わりで改行されません。
29890 \begin_layout Standard
29891 \begin_inset Note Greyedout
29894 \begin_layout Plain Layout
29899 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
29907 \begin_layout Description
29908 プログラムリスト この型については、第
29909 \begin_inset CommandInset ref
29911 reference "cha:プログラムコードリスト"
29918 \begin_layout Standard
29919 \begin_inset Note Greyedout
29922 \begin_layout Plain Layout
29927 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
29935 \begin_layout Chapter
29937 \begin_inset CommandInset label
29939 name "cha:プログラムコードリスト"
29944 \begin_inset Index idx
29947 \begin_layout Plain Layout
29954 \begin_inset Index idx
29957 \begin_layout Plain Layout
29964 \begin_inset Index idx
29967 \begin_layout Plain Layout
29968 ふろーと@フロート ! りすと@リスト
29976 \begin_layout Standard
29977 プログラムコードを取り込んで組版するには、
29981 \SpecialChar \menuseparator
29986 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
29991 \begin_inset Index idx
29994 \begin_layout Plain Layout
29995 LaTeXぱっけーじ@LaTeXパッケージ ! listings
30000 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
30003 \begin_layout Standard
30004 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
30007 \begin_layout Standard
30008 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
30013 \begin_inset listings
30014 lstparams "language={C++}"
30018 \begin_layout Plain Layout
30026 \begin_inset Newline newline
30033 オプションは、プログラムリストフロートを生成するものですが、ここで、第
30034 \begin_inset CommandInset ref
30036 reference "sec:フロートの配置"
30040 節に説明されているフロート配置オプションに従って、「
30056 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
30060 」のように区切りを入れることなく入力することができます。「
30064 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
30068 オプションを使用しなければ大丈夫です。
30071 \begin_layout Standard
30076 \SpecialChar \menuseparator
30081 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、Listing
30082 \begin_inset space ~
30086 \begin_inset CommandInset ref
30088 reference "lst:Example-Listing"
30095 \begin_layout Standard
30096 \begin_inset listings
30097 lstparams "language=Python"
30101 \begin_layout Plain Layout
30103 \begin_inset Caption
30105 \begin_layout Plain Layout
30106 \begin_inset CommandInset label
30108 name "lst:Example-Listing"
30112 Example Listing float
30117 # Example listing float
30120 \begin_layout Plain Layout
30125 \begin_layout Plain Layout
30127 'this is a python function'
30130 \begin_layout Plain Layout
30140 \begin_layout Standard
30141 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
30142 onのキーワード「def」が識別され、ボールド体で出力されます。
30145 \begin_layout Standard
30146 \begin_inset Note Greyedout
30149 \begin_layout Plain Layout
30154 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
30158 フォントがボールド体を提供していません。この場合には、
30162 \SpecialChar \menuseparator
30167 \SpecialChar \menuseparator
30172 メニューで別のフォントを選択してください(
30184 の各フォントはボールド体を提供します)。
30192 \begin_layout Standard
30193 \begin_inset Note Greyedout
30196 \begin_layout Plain Layout
30201 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
30209 \begin_layout Standard
30214 のセクションでは、行番号の様式を指定することができます。
30218 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
30221 \begin_layout Standard
30222 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
30226 オプションを使用しなくてはなりません。
30227 \begin_inset Newline newline
30230 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
30231 \begin_inset space \thinspace{}
30235 \begin_inset space \thinspace{}
30238 8」で設定したプログラムリストの例です。
30241 \begin_layout Standard
30242 \begin_inset listings
30243 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
30247 \begin_layout Plain Layout
30252 \begin_layout Plain Layout
30254 'this is a python function'
30257 \begin_layout Plain Layout
30262 \begin_layout Plain Layout
30267 \begin_layout Plain Layout
30269 'This is a German word: Tschüß'
30272 \begin_layout Plain Layout
30277 \begin_layout Plain Layout
30282 \begin_layout Plain Layout
30284 'this is a python function'
30287 \begin_layout Plain Layout
30297 \begin_layout Standard
30298 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
30305 \begin_layout Standard
30306 \begin_inset Note Greyedout
30309 \begin_layout Plain Layout
30314 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
30323 \begin_layout Standard
30324 \begin_inset VSpace bigskip
30330 \begin_layout Standard
30331 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
30335 \SpecialChar \menuseparator
30340 \SpecialChar \menuseparator
30353 \begin_layout Plain Layout
30354 他の子文書型については、第 section
30355 \begin_inset space ~
30359 \begin_inset CommandInset ref
30361 reference "sec:子文書"
30370 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
30374 \begin_layout Standard
30375 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
30379 \SpecialChar \menuseparator
30384 メニューを使って参照できるようになります。
30387 \begin_layout Standard
30389 \begin_inset CommandInset ref
30391 reference "lst:file-listing"
30395 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
30398 \begin_layout Standard
30399 \begin_inset CommandInset include
30400 LatexCommand lstinputlisting
30401 filename "EmbeddedObjects.lyx"
30402 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
30409 \begin_layout Standard
30410 \begin_inset VSpace bigskip
30416 \begin_layout Standard
30421 \SpecialChar \menuseparator
30426 \SpecialChar \menuseparator
30431 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
30435 フィールドで疑問符「?」を打鍵してください。
30438 \begin_layout Standard
30443 パッケージについての詳しい情報については、取扱説明書
30444 \begin_inset CommandInset citation
30453 \begin_layout Standard
30454 \begin_inset Newpage newpage
30460 \begin_layout Chapter
30463 \begin_inset Index idx
30466 \begin_layout Plain Layout
30473 \begin_inset CommandInset label
30475 name "cha:LyXで使用できる単位"
30482 \begin_layout Standard
30483 この文書で用いられる単位の理解のために、表
30484 \begin_inset CommandInset ref
30490 に、LyXで使うことのできる単位をまとめておきます。
30493 \begin_layout Standard
30494 \begin_inset Float table
30500 \begin_layout Plain Layout
30501 \begin_inset Caption
30503 \begin_layout Plain Layout
30504 \begin_inset CommandInset label
30518 \begin_layout Plain Layout
30519 \begin_inset VSpace medskip
30525 \begin_layout Plain Layout
30527 \begin_inset Tabular
30528 <lyxtabular version="3" rows="20" columns="2">
30529 <features tabularvalignment="middle">
30530 <column alignment="center" valignment="top" width="0">
30531 <column alignment="center" valignment="top" width="0">
30533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30536 \begin_layout Plain Layout
30542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30545 \begin_layout Plain Layout
30553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30556 \begin_layout Plain Layout
30562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30565 \begin_layout Plain Layout
30573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30576 \begin_layout Plain Layout
30582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30585 \begin_layout Plain Layout
30593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30596 \begin_layout Plain Layout
30602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30605 \begin_layout Plain Layout
30613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30616 \begin_layout Plain Layout
30622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30625 \begin_layout Plain Layout
30627 \begin_inset Formula $\,$
30631 \begin_inset Formula $\,$
30641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30644 \begin_layout Plain Layout
30650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30653 \begin_layout Plain Layout
30655 \begin_inset Formula $\,$
30659 \begin_inset Formula $\,$
30669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30672 \begin_layout Plain Layout
30678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30681 \begin_layout Plain Layout
30683 \begin_inset Formula $\,$
30687 \begin_inset Formula $\,$
30697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30700 \begin_layout Plain Layout
30706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30709 \begin_layout Plain Layout
30711 \begin_inset Formula $\,$
30715 \begin_inset Formula $\,$
30725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30728 \begin_layout Plain Layout
30734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30737 \begin_layout Plain Layout
30739 \begin_inset Formula $\,$
30743 \begin_inset Formula $\approx$
30747 \begin_inset Formula $\,$
30757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30760 \begin_layout Plain Layout
30766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30769 \begin_layout Plain Layout
30771 \begin_inset Formula $\,$
30775 \begin_inset Formula $\,$
30785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30788 \begin_layout Plain Layout
30794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30797 \begin_layout Plain Layout
30805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30808 \begin_layout Plain Layout
30814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30817 \begin_layout Plain Layout
30825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30828 \begin_layout Plain Layout
30834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30837 \begin_layout Plain Layout
30845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30848 \begin_layout Plain Layout
30854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30857 \begin_layout Plain Layout
30865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30868 \begin_layout Plain Layout
30874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30877 \begin_layout Plain Layout
30885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30888 \begin_layout Plain Layout
30894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30897 \begin_layout Plain Layout
30905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30908 \begin_layout Plain Layout
30914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30917 \begin_layout Plain Layout
30925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30928 \begin_layout Plain Layout
30934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30937 \begin_layout Plain Layout
30945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30948 \begin_layout Plain Layout
30954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30957 \begin_layout Plain Layout
30965 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30968 \begin_layout Plain Layout
30974 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30977 \begin_layout Plain Layout
30979 \begin_inset Formula $\,$
30983 \begin_inset Formula $\,$
31004 \begin_layout Chapter
31006 \begin_inset CommandInset label
31008 name "cha:ファイル出力形式"
31015 \begin_layout Section
31017 \begin_inset Index idx
31020 \begin_layout Plain Layout
31021 ふぁいるしょしき@ファイル書式 ! DVI
31027 \begin_inset Index idx
31030 \begin_layout Plain Layout
31035 \begin_layout Plain Layout
31046 \begin_layout Plain Layout
31061 \begin_layout Standard
31066 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
31067 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
31068 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
31071 \begin_layout Standard
31072 \begin_inset Note Greyedout
31075 \begin_layout Plain Layout
31076 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
31085 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
31086 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
31090 \begin_layout Standard
31095 \SpecialChar \menuseparator
31100 \SpecialChar \menuseparator
31105 メニューを使用して、DVIに書き出すことができます。また、
31110 \begin_inset Graphics
31111 filename ../../images/buffer-view_dvi.png
31113 scaleBeforeRotation
31117 を使用すれば、使用中の文書をDVIで表示させることができます。
31120 \begin_layout Section
31122 \begin_inset CommandInset label
31124 name "sec:PostScript"
31129 \begin_inset Index idx
31132 \begin_layout Plain Layout
31133 ふぁいるしょしき@ファイル書式 ! PostScript
31139 \begin_inset Index idx
31142 \begin_layout Plain Layout
31147 \begin_layout Plain Layout
31158 \begin_layout Plain Layout
31173 \begin_layout Standard
31182 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
31183 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
31187 \begin_layout Plain Layout
31188 これについてもう少し学ぶ気があれば、LaTeXパッケージ
31193 \begin_inset CommandInset citation
31204 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
31207 \begin_layout Standard
31208 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
31212 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
31213 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
31214 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
31215 を直接EPSとして入れておく方がよいでしょう。
31218 \begin_layout Standard
31223 \SpecialChar \menuseparator
31228 \SpecialChar \menuseparator
31233 メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
31238 \begin_inset Graphics
31239 filename ../../images/buffer-view_ps.png
31241 scaleBeforeRotation
31245 を使用することでPostScriptとして表示させることができます。
31248 \begin_layout Section
31250 \begin_inset Index idx
31253 \begin_layout Plain Layout
31254 ふぁいるしょしき@ファイル書式 ! PDF
31260 \begin_inset Index idx
31263 \begin_layout Plain Layout
31272 \begin_layout Standard
31277 」です。この「Portable Document Format (PDF)」は、
31281 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
31282 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
31285 \begin_layout Standard
31286 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
31294 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
31298 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
31299 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
31303 \begin_layout Standard
31308 \SpecialChar \menuseparator
31313 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
31316 \begin_layout Description
31318 \begin_inset space ~
31325 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
31329 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
31332 \begin_layout Description
31334 \begin_inset space ~
31341 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
31344 \begin_layout Description
31346 \begin_inset space ~
31353 プログラムを使って、現在のファイルを直接PDFに変換します。
31356 \begin_layout Standard
31361 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
31364 \begin_inset space ~
31373 プログラムは開発が停止しており、若干時代遅れになっています。
31376 \begin_layout Standard
31377 使用中の文書をPDFとして表示するには、
31382 \begin_inset Graphics
31383 filename ../../images/buffer-view_pdf2.png
31385 scaleBeforeRotation
31392 \begin_inset space ~
31400 \begin_layout Chapter
31402 \begin_inset CommandInset ref
31409 \begin_inset CommandInset label
31418 \begin_layout Standard
31419 \begin_inset Formula $n$
31423 \begin_inset Formula $W_{\mathrm{tot\, n}}$
31429 \begin_layout Standard
31430 \begin_inset Formula \begin{equation}
31431 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}
31438 \begin_layout Standard
31440 \begin_inset Formula $W_{g\, n}$
31449 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
31450 \begin_inset space \thinspace{}
31460 \begin_inset space \thinspace{}
31466 \begin_layout Standard
31468 \begin_inset CommandInset ref
31470 reference "eq:Wtot_n"
31475 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
31481 \begin_layout Standard
31482 \begin_inset Formula \begin{equation}
31483 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
31490 \begin_layout Standard
31492 \begin_inset Formula $n$
31496 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
31500 \begin_inset CommandInset ref
31502 reference "eq:Wtot_n"
31507 \begin_inset CommandInset ref
31509 reference "eq:Wtot_mult"
31513 式が等しいものと置けば、必要となる固定幅
31514 \begin_inset Formula $W_{g\, n}$
31520 \begin_layout Standard
31521 \begin_inset Formula \begin{equation}
31522 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
31529 \begin_layout Bibliography
31530 \labelwidthstring 参考文献
31531 \begin_inset CommandInset bibitem
31532 LatexCommand bibitem
31533 key "latexcompanion"
31537 Frank Mittelbach and Michel Goossens:
31539 The LaTeX Companion Second Edition.
31542 Addison-Wesley, 2004
31545 \begin_layout Bibliography
31546 \labelwidthstring 参考文献
31547 \begin_inset CommandInset bibitem
31548 LatexCommand bibitem
31553 Helmut Kopka and Patrick W.
31556 A Guide to LaTeX Fourth Edition.
31559 Addison-Wesley, 2003
31562 \begin_layout Bibliography
31563 \labelwidthstring 参考文献
31564 \begin_inset CommandInset bibitem
31565 LatexCommand bibitem
31572 LaTeX: A Document Preparation System.
31575 Addison-Wesley, second edition, 1994
31578 \begin_layout Bibliography
31579 \labelwidthstring 参考文献
31580 \begin_inset CommandInset bibitem
31581 LatexCommand bibitem
31589 \begin_inset CommandInset href
31592 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
31599 \begin_inset Index idx
31602 \begin_layout Plain Layout
31603 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
31611 \begin_layout Bibliography
31612 \labelwidthstring 参考文献
31613 \begin_inset CommandInset bibitem
31614 LatexCommand bibitem
31622 \begin_inset CommandInset href
31625 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
31632 \begin_inset Index idx
31635 \begin_layout Plain Layout
31636 LaTeXぱっけーじ@LaTeXパッケージ ! caption
31644 \begin_layout Bibliography
31645 \labelwidthstring 参考文献
31646 \begin_inset CommandInset bibitem
31647 LatexCommand bibitem
31655 \begin_inset CommandInset href
31658 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
31665 \begin_inset Index idx
31668 \begin_layout Plain Layout
31669 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
31677 \begin_layout Bibliography
31678 \labelwidthstring 参考文献
31679 \begin_inset CommandInset bibitem
31680 LatexCommand bibitem
31688 \begin_inset CommandInset href
31691 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
31698 \begin_inset Index idx
31701 \begin_layout Plain Layout
31702 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
31710 \begin_layout Bibliography
31711 \labelwidthstring 参考文献
31712 \begin_inset CommandInset bibitem
31713 LatexCommand bibitem
31721 \begin_inset CommandInset href
31724 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
31731 \begin_inset Index idx
31734 \begin_layout Plain Layout
31735 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
31743 \begin_layout Bibliography
31744 \labelwidthstring 参考文献
31745 \begin_inset CommandInset bibitem
31746 LatexCommand bibitem
31754 \begin_inset CommandInset href
31757 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
31764 \begin_inset Index idx
31767 \begin_layout Plain Layout
31768 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
31776 \begin_layout Bibliography
31777 \labelwidthstring 参考文献
31778 \begin_inset CommandInset bibitem
31779 LatexCommand bibitem
31787 \begin_inset CommandInset href
31790 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
31797 \begin_inset Index idx
31800 \begin_layout Plain Layout
31801 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
31809 \begin_layout Bibliography
31810 \labelwidthstring 参考文献
31811 \begin_inset CommandInset bibitem
31812 LatexCommand bibitem
31820 \begin_inset CommandInset href
31823 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
31830 \begin_inset Index idx
31833 \begin_layout Plain Layout
31834 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
31842 \begin_layout Bibliography
31843 \labelwidthstring 参考文献
31844 \begin_inset CommandInset bibitem
31845 LatexCommand bibitem
31853 \begin_inset CommandInset href
31856 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
31863 \begin_inset Index idx
31866 \begin_layout Plain Layout
31867 LaTeXぱっけーじ@LaTeXパッケージ ! listings
31875 \begin_layout Bibliography
31876 \labelwidthstring 参考文献
31877 \begin_inset CommandInset bibitem
31878 LatexCommand bibitem
31886 \begin_inset CommandInset href
31889 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
31896 \begin_inset Index idx
31899 \begin_layout Plain Layout
31900 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
31908 \begin_layout Bibliography
31909 \labelwidthstring 参考文献
31910 \begin_inset CommandInset bibitem
31911 LatexCommand bibitem
31919 \begin_inset CommandInset href
31922 target "http://tug.org/PSTricks/"
31929 \begin_inset Index idx
31932 \begin_layout Plain Layout
31933 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
31941 \begin_layout Bibliography
31942 \labelwidthstring 参考文献
31943 \begin_inset CommandInset bibitem
31944 LatexCommand bibitem
31952 \begin_inset CommandInset href
31955 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
31962 \begin_inset Index idx
31965 \begin_layout Plain Layout
31966 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
31974 \begin_layout Bibliography
31975 \labelwidthstring 参考文献
31976 \begin_inset CommandInset bibitem
31977 LatexCommand bibitem
31987 \begin_inset CommandInset href
31990 target "http://wiki.lyx.org/LyX/NewInLyX16"
31997 \begin_layout Standard
31998 \begin_inset CommandInset index_print
31999 LatexCommand printindex
32007 \begin_layout Standard
32008 \begin_inset FloatList figure
32015 \begin_layout Standard
32016 \begin_inset FloatList table
32023 \begin_layout Standard
32024 \begin_inset FloatList algorithm