1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 %% Added by the translator
8 % Correction for PDF bookmarks
9 %\usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,bookmarkstype=toc]{hyperref}
10 \ifnum 42146=\euc"A4A2 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}\else
11 \AtBeginDvi{\special{pdf:tounicode 90ms-RKSJ-UCS2}}\fi
17 % set fonts for nicer pdf view
18 \IfFileExists{lmodern.sty}
19 {\usepackage{lmodern}}{}
21 \fi % end if pdflatex is used
23 % that links to image floats jumps
24 % to the beginning of the float and
26 \usepackage[figure]{hypcap}
28 % the pages of the TOC is numbered roman
29 % and a PDF-bookmark for the TOC is added
30 \let\myTOC\tableofcontents
31 \renewcommand\tableofcontents{%
33 \pdfbookmark[1]{\contentsname}{}
37 % provides caption formatting
38 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
40 % provides commands to set caption
41 % beside tables/images
42 \newcommand{\TabBesBeg}[1][1.0]{%
44 \let\MyEndtable\endtable
45 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
47 \newcommand{\TabBesEnd}{%
49 \let\endtable\MyEndtable}
51 \newcommand{\FigBesBeg}[1][1.0]{%
53 \let\MyEndfigure\endfigure
54 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
56 \newcommand{\FigBesEnd}{%
58 \let\endfigure\MyEndfigure}
60 % enables calculation of values,
63 % increase the bottom float placement fraction
64 \renewcommand{\bottomfraction}{0.5}
66 % avoids that floats are placed before their
67 % corresponding section starts
68 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
70 % speed up the longtable calculation
71 \setcounter{LTchunksize}{100}
73 % used for scaled and rotated boxes
74 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
76 % used for colored tables
77 \@ifundefined{textcolor}
78 {\usepackage{color}}{}
79 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
80 \definecolor{lightgrey}{gray}{0.8}
82 % check for package colortbl
83 % used for colored table cells
85 \IfFileExists{colortbl.sty}
86 {\usepackage{colortbl}
87 \setboolean{colortbl}{true}}
88 {\setboolean{colortbl}{false}}
90 % used for colored table rows
91 \usepackage[table]{xcolor}
93 % used to have extra space in table cells
94 \@ifundefined{extrarowheight}
95 {\usepackage{array}}{}
96 \setlength{\extrarowheight}{2pt}
98 % used for customized tables
101 {>{\centering\hspace{0pt}}m{#1}}
104 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
107 {>{\columncolor{#1}\hspace{0pt}}c}
109 \newcolumntype{V}{!{\vrule width 1.5pt}}
111 \newcolumntype{W}{!{\color{green}\vline}}
114 % insert additional vertical space of
115 % 1.5 mm between footnotes
117 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
119 % number algorithm floats within chapters
120 \numberwithin{algorithm}{chapter}
123 % ------------------------------------
124 % used to check for needed LaTeX packages
127 % check for package arydshln
128 % used for tables with dashed lines
129 \newboolean{arydshln}
130 \IfFileExists{arydshln.sty}
131 {\usepackage{arydshln}
132 \setboolean{arydshln}{true}}
133 {\setboolean{arydshln}{false}}
135 % check for package marginnote
136 % used for margin notes
137 \newboolean{marginnote}
138 \IfFileExists{marginnote.sty}
139 {\usepackage{marginnote}
140 \let\marginpar\marginnote
141 \setboolean{marginnote}{true}}
142 {\setboolean{marginnote}{false}}
144 % check for package sidecap
145 % used for captions on the side
147 \IfFileExists{sidecap.sty}
148 {\usepackage{sidecap}
149 \setboolean{sidecap}{true}}
150 {\setboolean{sidecap}{false}}
153 % used for surrounded fixed objects
154 \newboolean{picinpar}
155 \IfFileExists{picinpar.sty}
156 {\usepackage{picinpar}
157 \setboolean{picinpar}{true}}
158 {\setboolean{picinpar}{false}}
161 \newboolean{lettrine}
162 \IfFileExists{lettrine.sty}
163 {\usepackage{lettrine}
164 \setboolean{lettrine}{true}}
165 {\setboolean{lettrine}{false}}
169 \IfFileExists{diagbox.sty}
170 {\usepackage{diagbox}
171 \setboolean{diagbox}{true}}
172 {\setboolean{diagbox}{false}}
175 \renewcommand{\seename}{→}
178 \DeclareCaptionOption{large}[]{\def\captionfont{\large}}
179 \DeclareCaptionOption{Large}[]{\def\captionfont{\Large}}
181 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
182 \use_default_options false
186 \maintain_unincluded_children false
188 \language_package default
193 \font_typewriter default
195 \font_default_family default
196 \use_non_tex_fonts false
202 \default_output_format default
204 \bibtex_command default
205 \index_command default
209 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
210 \pdf_author "LyX Team, Uwe Stohr"
211 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
212 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
214 \pdf_bookmarksnumbered true
215 \pdf_bookmarksopen true
216 \pdf_bookmarksopenlevel 1
217 \pdf_breaklinks false
221 \pdf_pdfusetitle false
222 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
225 \use_package amsmath 2
226 \use_package amssymb 2
228 \use_package mathdots 1
229 \use_package mathtools 0
230 \use_package mhchem 1
231 \use_package stackrel 0
232 \use_package stmaryrd 0
233 \use_package undertilde 0
235 \cite_engine_type numerical
239 \paperorientation portrait
243 \notefontcolor #0000ff
254 \paragraph_separation skip
256 \quotes_language english
259 \paperpagestyle default
260 \tracking_changes false
261 \output_changes false
264 \html_be_strict false
270 LyXの図表・フロート・注釈・ボックス・外部素材に関する詳細説明書
278 \begin_layout Plain Layout
280 コメントや間違いの指摘がありましたら、LyX文書化メーリングリスト
281 \begin_inset CommandInset href
283 name "lyx-docs@lists.lyx.org"
284 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
295 \begin_inset Note Note
298 \begin_layout Plain Layout
305 \begin_inset Newline newline
309 \begin_inset Newline newline
317 \begin_layout Standard
318 \begin_inset CommandInset toc
319 LatexCommand tableofcontents
326 \begin_layout Standard
327 \begin_inset Note Note
330 \begin_layout Plain Layout
331 本文書の全体をPDFやPS、DVIに書き出すには、
359 の各LaTeXパッケージが導入されている必要があります。これらが導入されていなくても、文書を書き出すことはできますが、これらのパッケージが必要な節は出力には表示
363 \begin_layout Plain Layout
365 \begin_inset Newline newline
370 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
373 \begin_inset Newline newline
384 \begin_layout Chapter
386 \begin_inset Index idx
389 \begin_layout Plain Layout
396 \begin_inset Index idx
399 \begin_layout Plain Layout
404 \begin_layout Plain Layout
415 \begin_layout Plain Layout
430 \begin_layout Section
432 \begin_inset Index idx
435 \begin_layout Plain Layout
436 ず@図 ! がぞうだいあろぐ@画像ダイアログ
442 \begin_inset CommandInset label
451 \begin_layout Standard
452 画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
455 arg "dialog-show-new-inset graphics"
460 挿入\SpecialChar \menuseparator
463 メニューを使用して下さい。すると、ダイアログが現れるので、読み込むファイルを選択して下さい。出力中での画像は、本文中の挿入位置に正確に出力されます。
466 \begin_layout Standard
467 画像ダイアログは、画像をクリックすることによって、いつでも呼び出すことができます。このダイアログには、以下の三つのタブがあります。
470 \begin_layout Description
475 ここでは、画像ファイルを選択し、その出力での表示のしかたを調整することができます。画像寸法で使用することのできる単位については付録
476 \begin_inset CommandInset ref
478 reference "cha:LyXで使用できる単位"
483 \begin_inset Newline newline
487 \begin_inset Index idx
490 \begin_layout Plain Layout
496 回転角と回転原点を指定することによって、反時計廻り方向へ画像を回転することができます。画像は、LyX内でも回転して表示されます。
497 \begin_inset Newline newline
501 \begin_inset Index idx
504 \begin_layout Plain Layout
510 画像は、パーセント値を指定するか、幅と高さを明示的に設定することによって、伸縮させることができます。幅と高さのどちらか一方のみを指定した場合には、残りの寸法は自
511 動的に決定されます。両方とも指定した場合には、指定した寸法に画像が変換されますので、変形してしまう可能性があります。画像が変形するのを防ぐには、
515 オプションを指定して下さい。すると画像は、幅と高さが指定した寸法を越えないように伸縮されます。
516 \begin_inset Newline newline
519 画像を右クリックすると現れるコンテクストメニューで
523 という項目を選ぶことによって、画像を指定したプログラムで開くことができます。このプログラムは、LyX設定のファイル書式設定で、各画像書式ごとに設定することができ
527 \begin_layout Description
532 伸縮単位を使用する代わりに、出力における画像の縦横の長さを調整するのに、画像座標の設定をすることができます。座標は、
536 ボタンを押すことによって、自動的に計算することもできます。
540 オプションは、指定された座標内の画像領域のみ印字します。通常は、画像座標を気にする必要はないので、このタブは無視して構いません。
543 \begin_layout Description
548 このタブでは、LyX内での画像表示法を調整できる他、LaTeXのエキスパート向けにLaTeXオプションを追加することができるようになっています。
551 \begin_inset Newline newline
556 オプションを指定すると、画像は出力には現れず、画像と同じ大きさの枠だけが表示されます。
559 \begin_inset Newline newline
568 のような、zip圧縮されたEPS画像のみに有効です。このオプションが有効になっていると、LaTeXはzip圧縮EPS画像をそのまま取り扱えるので、画像は解凍され
570 \begin_inset Newline newline
573 zip圧縮EPS画像は、出力書式としてPostScriptを選択する場合には、ディスク領域を節約できるので便利です。付録
574 \begin_inset CommandInset ref
576 reference "sec:PostScript"
580 をご参照下さい。EPS画像をzip圧縮するには、UNIXシェルかWindowsコンソールから以下のコマンドを実行して下さい。
581 \begin_inset Newline newline
589 \begin_inset Newline newline
594 zgrep %%Bounding x.eps.gz > x.eps.bb
597 \begin_inset Newline newline
600 二つめのコマンドは、LaTeXが圧縮画像を取り扱う際に必要な領域ボックスファイル「x.eps.bb」を生成します。
601 \begin_inset Newline newline
614 you can define or join an image settings group.
617 \begin_inset Index idx
620 \begin_layout Plain Layout
621 ず@図 ! せっていぐるーぷ@設定グループ
626 。これらのグループ内の画像は、共通した設定を持つので、グループ内の一つの画像の設定をいじると、自動的にグループ内の全ての画像の設定が同じように変更されます。した
627 がって、たとえば、たくさんの画像の寸法を変更したいときにも、一つ一つの寸法を手動で変更せずに済むのです。既存のグループに帰属させるには、画像のコンテクストメニュ
628 ーを使用して、望むグループ名をチェックすることで行うこともできます。
631 \begin_layout Standard
632 \begin_inset VSpace bigskip
638 \begin_layout Standard
643 \begin_layout Plain Layout
645 \begin_inset CommandInset ref
656 の画像の例で、単独の中央揃えの段落に置いてあります。
659 \begin_layout Standard
661 \begin_inset Graphics
662 filename ../clipart/mobius.eps
672 \begin_layout Standard
673 下記は上と同じ画像ですが、下書きモードのものです。
676 \begin_layout Standard
678 \begin_inset Graphics
679 filename ../clipart/mobius.eps
690 \begin_layout Standard
691 \begin_inset Newpage newpage
697 \begin_layout Section
699 \begin_inset CommandInset label
706 \begin_inset Index idx
709 \begin_layout Plain Layout
716 \begin_inset Index idx
719 \begin_layout Plain Layout
728 \begin_layout Standard
730 \begin_inset CommandInset ref
732 reference "sec:フロートはじめに"
739 \begin_layout Standard
745 arg "float-insert figure"
752 挿入\SpecialChar \menuseparator
753 フロート\SpecialChar \menuseparator
756 メニューを用いると、「図 #」(#は実際には数字です)というラベルのキャプションを持ったフロートが挿入されます。画像は、図
757 \begin_inset CommandInset ref
759 reference "fig:犠牲のカモノハシ"
763 のようにキャプションの上に置くこともできますし、図
764 \begin_inset CommandInset ref
766 reference "fig:エッシャー"
770 のようにキャプションの下に置くこともできます。キャプションの配置について詳しくは、第
771 \begin_inset CommandInset ref
773 reference "sec:キャプションの配置"
780 \begin_layout Standard
781 \begin_inset Float figure
786 \begin_layout Plain Layout
788 \begin_inset Graphics
789 filename ../clipart/platypus.eps
799 \begin_layout Plain Layout
800 \begin_inset Caption Standard
802 \begin_layout Plain Layout
803 \begin_inset CommandInset label
822 \begin_layout Standard
823 \begin_inset Float figure
828 \begin_layout Plain Layout
829 \begin_inset Caption Standard
831 \begin_layout Plain Layout
832 \begin_inset CommandInset label
846 \begin_layout Plain Layout
848 \begin_inset Graphics
849 filename ../clipart/escher-lsd.eps
864 \begin_layout Standard
865 \begin_inset Index idx
868 \begin_layout Plain Layout
869 さんしょう@参照 ! ずへの@図への ---
875 \begin_inset CommandInset ref
877 reference "fig:犠牲のカモノハシ"
882 \begin_inset CommandInset ref
884 reference "fig:エッシャー"
888 図は、参照された図の例です。図は、本文中でラベルを参照することによって参照できます。これをするには、まず、
890 挿入\SpecialChar \menuseparator
899 を使用して、キャプションにラベルを挿入してください。その後、
901 挿入\SpecialChar \menuseparator
907 arg "dialog-show-new-inset ref"
910 を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
911 直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
912 \begin_inset Newline newline
916 \begin_inset CommandInset ref
918 reference "sec:フロートの参照"
925 \begin_layout Standard
926 通常、図フロートには一つの画像だけを挿入しますが、場合によっては、二つの画像に別々の副キャプションをつけて挿入したいこともあるかもしれません。その場合は、既存の
927 図フロートの中に図フロートを入れ込むことによって、実現することができます。ただし、図一覧にはフロートの主キャプションのみが表示されることに留意してください。図
928 \begin_inset CommandInset ref
930 reference "fig:歪められた二つの像"
934 は、二つの画像が横に並んでいる図フロートの例です。二つめの画像を一つめの下に持ってくることも可能です。図
935 \begin_inset CommandInset ref
937 reference "fig:何かわからない構造"
942 \begin_inset CommandInset ref
944 reference "fig:カモノハシ"
951 \begin_layout Standard
952 \begin_inset Float figure
957 \begin_layout Plain Layout
958 \begin_inset space \hfill{}
962 \begin_inset Float figure
967 \begin_layout Plain Layout
968 \begin_inset Caption Standard
970 \begin_layout Plain Layout
971 \begin_inset CommandInset label
985 \begin_layout Plain Layout
986 \begin_inset Graphics
987 filename ../clipart/escher-lsd.eps
1000 \begin_inset space \hfill{}
1004 \begin_inset Float figure
1009 \begin_layout Plain Layout
1010 \begin_inset Caption Standard
1012 \begin_layout Plain Layout
1013 \begin_inset CommandInset label
1027 \begin_layout Plain Layout
1028 \begin_inset Graphics
1029 filename ../clipart/platypus.eps
1042 \begin_inset space \hfill{}
1048 \begin_layout Plain Layout
1049 \begin_inset Caption Standard
1051 \begin_layout Plain Layout
1052 \begin_inset CommandInset label
1054 name "fig:歪められた二つの像"
1058 歪められた二つの像。両画像とも、「歪曲」画像設定グループに属しています。
1071 \begin_layout Standard
1072 \begin_inset Newpage newpage
1078 \begin_layout Section
1080 \begin_inset CommandInset label
1087 \begin_inset Index idx
1090 \begin_layout Plain Layout
1097 \begin_inset Index idx
1100 \begin_layout Plain Layout
1109 \begin_layout Standard
1110 画像は、既知のファイル形式であれば、どのような形式でも挿入することができます。しかし、付録
1111 \begin_inset CommandInset ref
1113 reference "cha:ファイル出力形式"
1117 で説明されているように、出力に関しては、どの出力文書形式も、いくつかの画像形式しか受け付けません。したがってLyXは、画像を正しい形式に変換するのに、バックグラ
1122 というプログラムを使用しています。バックグラウンドで変換が発生することを避けて作業能率を上げようとお考えならば、出力ファイル書式に直接埋め込める画像書式のみを使
1123 用するとよいでしょう。出力ファイル書式は、付録
1124 \begin_inset CommandInset ref
1126 reference "cha:ファイル出力形式"
1133 \begin_layout Standard
1134 フォントと同じく、画像形式にも以下の二つの型があります。
1137 \begin_layout Description
1138 ビットマップ画像 は、ピクセル値を(時により圧縮された形で)保持しています。したがって、この画像形式は完全に伸縮可能ではなく、拡大するとピクセルが目立つようにな
1139 ります。よく知られたビットマップ画像形式には、「Graphics Interchange Format(画像交換形式)」(GIF・ファイル拡張子は「
1144 \begin_inset Index idx
1147 \begin_layout Plain Layout
1152 \begin_layout Plain Layout
1163 \begin_layout Plain Layout
1175 、「Portable Network Graphics(可搬性ネットワーク画像ファイル)」(PNG・ファイル拡張子は「
1180 \begin_inset Index idx
1183 \begin_layout Plain Layout
1188 \begin_layout Plain Layout
1199 \begin_layout Plain Layout
1211 、「Joint Photographic Experts Group(写真専門家連合組織)」(JPG・ファイル拡張子は「
1220 \begin_inset Index idx
1223 \begin_layout Plain Layout
1228 \begin_layout Plain Layout
1239 \begin_layout Plain Layout
1254 \begin_layout Description
1255 ベクトル画像 はベクトル値を保持しているので、データ損失なしに任意の寸法の伸縮させることができます。プレゼンテーションは、ビデオプロジェクタがかならず伸縮操作を
1256 行うことになるので、プレゼンテーションを作成したいときには画像が伸縮できることが必須です。また、伸縮性は、オンライン文書でユーザーが図の拡大ができるようにするの
1258 \begin_inset Newline newline
1261 よく知られた伸縮可能画像形式には、「Scalable Vector Graphics(伸縮可能ベクトル画像ファイル)」(SVG・ファイル拡張子は「
1266 \begin_inset Index idx
1269 \begin_layout Plain Layout
1274 \begin_layout Plain Layout
1285 \begin_layout Plain Layout
1297 、「Encapsulated PostScript(カプセル化ポストスクリプト)」(EPS・ファイル拡張子は「
1302 \begin_inset Index idx
1305 \begin_layout Plain Layout
1310 \begin_layout Plain Layout
1321 \begin_layout Plain Layout
1333 、「Portable Document Format(可搬文書形式)」(PDF・ファイル拡張子は「
1338 \begin_inset Index idx
1341 \begin_layout Plain Layout
1347 、「Windowsメタファイル」(WMF・ファイル拡張子は「
1352 \begin_inset Index idx
1355 \begin_layout Plain Layout
1360 \begin_layout Plain Layout
1371 \begin_layout Plain Layout
1383 がありえます。「ありえます」と言ったのは、ビットマップ画像はいつでもPDFやEPSに変換することができますが、変換後も依然としてビットマップ画像のままだからです
1384 。このような場合には、画像特性を示すヘッダが元々の画像に付け加えられるだけなのです
1388 \begin_layout Plain Layout
1389 PDFの場合には、さらに元画像が圧縮されます。
1398 が生成するPDFファイルは、ビットマップ画像です。
1401 \begin_layout Standard
1402 通常、ビットマップ画像を伸縮可能画像には変換できず、その逆のみが可能です。PDFやPostScript出力ファイルに直接埋め込むことができるのは、それぞれPDF
1403 画像書式とEPS画像書式のみです。いまのところ適切なWMF/SVG
1404 \begin_inset Formula $\to$
1407 PDF/EPS変換子がないので、SVGおよびWMF画像は、出力ファイルが生成される際にビットマップに計算し直されます。
1410 \begin_layout Chapter
1412 \begin_inset Index idx
1415 \begin_layout Plain Layout
1424 \begin_layout Section
1426 \begin_inset Index idx
1429 \begin_layout Plain Layout
1438 \begin_layout Standard
1460 arg "tabular-insert"
1481 挿入\SpecialChar \menuseparator
1484 メニューを選択します。ツールバーボタンを押すと、グラフィカルな選択ができます。マウスを動かして、生成する表の行数・列数を設定し、マウスボタンを押して下さい。表を
1485 作るのにメニューを使う場合は、ダイアログが現れ、行数と列数を訊いてきます。
1486 \begin_inset Newline newline
1489 既定の表では、各セルの周囲に罫線が引かれ、第一行が表の他の部分から分離して表示されます。この分離が起こるのは二重線のためです。第一行のセルが下に罫線を伴っている
1490 のと同時に、第二行のセルも上に罫線を伴っているのです。以下は表の一例です。
1493 \begin_layout Standard
1495 \begin_inset Tabular
1496 <lyxtabular version="3" rows="4" columns="4">
1497 <features rotate="0" tabularvalignment="middle">
1498 <column alignment="center" valignment="top" width="0">
1499 <column alignment="center" valignment="top" width="0">
1500 <column alignment="center" valignment="top" width="0">
1501 <column alignment="center" valignment="top" width="0">
1503 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1506 \begin_layout Plain Layout
1512 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1515 \begin_layout Plain Layout
1521 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1524 \begin_layout Plain Layout
1530 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1533 \begin_layout Plain Layout
1541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1544 \begin_layout Plain Layout
1550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1553 \begin_layout Plain Layout
1559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1562 \begin_layout Plain Layout
1568 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1571 \begin_layout Plain Layout
1579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1582 \begin_layout Plain Layout
1588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1591 \begin_layout Plain Layout
1597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1600 \begin_layout Plain Layout
1606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1609 \begin_layout Plain Layout
1617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1620 \begin_layout Plain Layout
1626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1629 \begin_layout Plain Layout
1635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1638 \begin_layout Plain Layout
1644 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1647 \begin_layout Plain Layout
1661 \begin_layout Section
1663 \begin_inset Index idx
1666 \begin_layout Plain Layout
1675 \begin_layout Standard
1685 表を右クリックすると、表ダイアログが表示されて、表を変更することができます。ここでは、現在カーソルが置かれているセルないし行・列の設定を調節することができます。
1686 また、ダイアログオプションのほとんどは、選択範囲に対しても動作します。つまり、複数のセルや行・列を選択していれば、操作は選択範囲の全てに対して行われます。
1699 を選択するのと、セル自体を選択するのは違うことに注意して下さい。
1700 \begin_inset Newline newline
1707 を使用すると、ダイアログ中に行った変更が直ちに適用されるようになります。カーソルを別のセルに移動すると、ダイアログも新しいセルのパラメーターに更新されます。ダイ
1708 アログ中の長さの値を変更した場合には、リターンを押さないと変更が適用されません。
1709 \begin_inset Newline newline
1712 表ダイアログの以下の各タブを使用して、表に変更を加えることができます。
1715 \begin_layout Description
1720 ここでは、現在列の幅と水平揃えを設定することができます。
1725 \begin_inset CommandInset ref
1727 reference "sub:特殊なセル揃え"
1731 で説明されています。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関して
1733 \begin_inset CommandInset ref
1739 節をご参照下さい。列幅を設定しない場合には、列幅は、もっとも幅の広いセル内容の幅になります。
1740 \begin_inset Newline newline
1743 さらに、同一行の一つまたは複数のセルを連結列セルとして指定することができます。これに関しては、第
1744 \begin_inset CommandInset ref
1750 節をご参照下さい。あるいは同一列のセルを連結行セルとして指定することもできます。これについては、第
1751 \begin_inset CommandInset ref
1758 \begin_inset Newline newline
1761 回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
1763 For more information see sec.
1764 \begin_inset space \thinspace{}
1770 \begin_inset CommandInset ref
1772 reference "sec:Rotated-Table-Cells"
1777 \begin_inset Newline newline
1781 \begin_inset Note Greyedout
1784 \begin_layout Plain Layout
1789 DVIビューアのすべてが回転を表示できるわけではありません。
1795 \begin_inset Newline newline
1798 下記は、本文行中の表に、表全体の垂直揃えを適用したものです。
1799 \begin_inset Newline newline
1803 \begin_inset Tabular
1804 <lyxtabular version="3" rows="2" columns="2">
1805 <features rotate="0" tabularvalignment="top">
1806 <column alignment="center" valignment="top" width="0pt">
1807 <column alignment="center" valignment="top" width="0">
1809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1812 \begin_layout Plain Layout
1818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1821 \begin_layout Plain Layout
1829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1832 \begin_layout Plain Layout
1838 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1841 \begin_layout Plain Layout
1853 \begin_inset Tabular
1854 <lyxtabular version="3" rows="2" columns="2">
1855 <features rotate="0" tabularvalignment="middle">
1856 <column alignment="center" valignment="top" width="0">
1857 <column alignment="center" valignment="top" width="0">
1859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1862 \begin_layout Plain Layout
1868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1871 \begin_layout Plain Layout
1879 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1882 \begin_layout Plain Layout
1888 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1891 \begin_layout Plain Layout
1903 \begin_inset Tabular
1904 <lyxtabular version="3" rows="2" columns="2">
1905 <features rotate="0" tabularvalignment="bottom">
1906 <column alignment="center" valignment="top" width="0pt">
1907 <column alignment="center" valignment="top" width="0">
1909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1912 \begin_layout Plain Layout
1918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1921 \begin_layout Plain Layout
1929 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1932 \begin_layout Plain Layout
1938 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1941 \begin_layout Plain Layout
1953 \begin_inset Newline newline
1956 また、特殊な表設定に必要なLaTeX引数を入力することもできます。これに関しては、第
1957 \begin_inset CommandInset ref
1959 reference "sub:連結列の計算"
1964 \begin_inset CommandInset ref
1966 reference "sec:色付きの表"
1973 \begin_layout Description
1978 このタブでは、現在列ないし現在行の罫線を引いたり消したりすることができます。
1979 \begin_inset Newline newline
1987 \begin_inset CommandInset ref
1989 reference "sec:フォーマル形式の表"
1993 節に述べられているフォーマル様式の表に表を変換します。
1994 \begin_inset Newline newline
1998 \begin_inset CommandInset ref
2000 reference "sub:行の余白取り"
2004 節に述べられているように、表の行に空白を追加することもできます。
2007 \begin_layout Description
2012 このタブは、複数のページにわたる、いわゆる「
2017 \begin_inset CommandInset ref
2024 \begin_inset CommandInset ref
2026 reference "sec:長尺表にまつわる諸点"
2030 節に、長尺表の機能に関する詳細な説明があります。
2033 \begin_layout Section
2035 \begin_inset Index idx
2038 \begin_layout Plain Layout
2047 \begin_layout Standard
2048 表ツールバーは、表ダイアログの代わりに、表をすばやく変更できるようにするためのものです。通常、カーソルが表の内部にあるときに、LyXのメインウィンドウの底部に表
2049 示されます。ご希望であれば、LyXのメインメニューバーを右クリックすることによって、つねに表示されるように切り替えることもできます。
2052 \begin_layout Standard
2053 ツールバーには、以下のアイコンがあります。
2056 \begin_layout Labeling
2057 \labelwidthstring 00.00.0000
2060 arg "inset-modify tabular append-row"
2063 は、現在セルあるいは選択範囲の下に行を追加します。
2066 \begin_layout Labeling
2067 \labelwidthstring 00.00.0000
2070 arg "inset-modify tabular append-column"
2073 は、現在セルあるいは選択範囲の右に列を追加します。
2076 \begin_layout Labeling
2077 \labelwidthstring 00.00.0000
2080 arg "inset-modify tabular delete-row"
2083 は、現在行あるいは選択範囲行を削除します。
2086 \begin_layout Labeling
2087 \labelwidthstring 00.00.0000
2090 arg "inset-modify tabular delete-column"
2093 は、現在列あるいは選択範囲列を削除します。
2096 \begin_layout Labeling
2097 \labelwidthstring 00.00.0000
2100 arg "inset-modify tabular toggle-line-top"
2103 は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
2106 \begin_layout Labeling
2107 \labelwidthstring 00.00.0000
2110 arg "inset-modify tabular toggle-line-bottom"
2113 は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
2116 \begin_layout Labeling
2117 \labelwidthstring 00.00.0000
2120 arg "inset-modify tabular toggle-line-left"
2123 は、現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
2126 \begin_layout Labeling
2127 \labelwidthstring 00.00.0000
2130 arg "inset-modify tabular toggle-line-right"
2133 は、現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
2136 \begin_layout Labeling
2137 \labelwidthstring 00.00.0000
2140 arg "inset-modify tabular set-all-lines"
2143 は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2146 \begin_layout Labeling
2147 \labelwidthstring 00.00.0000
2150 arg "inset-modify tabular unset-all-lines"
2153 は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
2156 \begin_layout Labeling
2157 \labelwidthstring 00.00.0000
2160 arg "inset-modify tabular m-align-left"
2163 は、現在セルあるいは現在列の内容を左揃えにします。
2166 \begin_layout Labeling
2167 \labelwidthstring 00.00.0000
2170 arg "inset-modify tabular m-align-center"
2173 は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
2176 \begin_layout Labeling
2177 \labelwidthstring 00.00.0000
2180 arg "inset-modify tabular m-align-right"
2183 は、現在セルあるいは現在列の内容を右揃えにします。
2186 \begin_layout Labeling
2187 \labelwidthstring 00.00.0000
2190 arg "inset-modify tabular align-decimal"
2193 は、現在セルの内容を特定文字位置で揃えます。
2196 \begin_layout Labeling
2197 \labelwidthstring 00.00.0000
2200 arg "inset-modify tabular m-valign-top"
2203 は、現在セルの内容を垂直方向上揃えにします。
2206 \begin_layout Labeling
2207 \labelwidthstring 00.00.0000
2210 arg "inset-modify tabular m-valign-middle"
2213 は、現在セルの内容を垂直方向中央揃えにします。
2216 \begin_layout Labeling
2217 \labelwidthstring 00.00.0000
2220 arg "inset-modify tabular m-valign-bottom"
2223 は、現在セルの内容を垂直方向下揃えにします。
2226 \begin_layout Labeling
2227 \labelwidthstring 00.00.0000
2230 arg "inset-modify tabular set-rotate-cell"
2233 は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
2236 \begin_layout Labeling
2237 \labelwidthstring 00.00.0000
2240 arg "inset-modify tabular set-rotate-tabular"
2243 は、表全体を反時計廻りに90度回転します。
2246 \begin_layout Labeling
2247 \labelwidthstring 00.00.0000
2250 arg "inset-modify tabular multicolumn"
2253 は、現在セルあるいは選択範囲を連結列にします。
2256 \begin_layout Labeling
2257 \labelwidthstring 00.00.0000
2260 arg "inset-modify tabular multirow"
2263 は、現在セルあるいは選択範囲を連結行にします。
2266 \begin_layout Standard
2267 \begin_inset Note Greyedout
2270 \begin_layout Plain Layout
2275 出力では、行の最初のセルの垂直揃えが、同一行の他のセルすべてに適用されます。
2283 \begin_layout Section
2285 \begin_inset Index idx
2288 \begin_layout Plain Layout
2289 ひょう@表 ! へんしゅうめにゅー@編集メニュー
2297 \begin_layout Standard
2300 編集\SpecialChar \menuseparator
2303 メニューでも、現在行や現在列の罫線を引いたり消したりすることができ、あるいは現在の選択範囲を連結列に指定したりすることができます。このメニューは、カーソルが表内
2307 \begin_layout Section
2309 \begin_inset CommandInset label
2316 \begin_inset Index idx
2319 \begin_layout Plain Layout
2326 \begin_inset Index idx
2329 \begin_layout Plain Layout
2338 \begin_layout Standard
2340 \begin_inset CommandInset ref
2342 reference "sec:フロートはじめに"
2349 \begin_layout Standard
2350 \begin_inset Float table
2356 \begin_layout Plain Layout
2357 \begin_inset Caption Standard
2359 \begin_layout Plain Layout
2360 \begin_inset CommandInset label
2374 \begin_layout Plain Layout
2376 \begin_inset Tabular
2377 <lyxtabular version="3" rows="3" columns="3">
2378 <features rotate="0" tabularvalignment="middle">
2379 <column alignment="center" valignment="top" width="0pt">
2380 <column alignment="center" valignment="top" width="0pt">
2381 <column alignment="center" valignment="top" width="0pt">
2383 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2386 \begin_layout Plain Layout
2401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2404 \begin_layout Plain Layout
2419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2422 \begin_layout Plain Layout
2439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2442 \begin_layout Plain Layout
2448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2451 \begin_layout Plain Layout
2457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2460 \begin_layout Plain Layout
2468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2471 \begin_layout Plain Layout
2481 \begin_inset Formula $\int x^{2}dx$
2489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2492 \begin_layout Plain Layout
2502 \begin_inset Formula $\left[\begin{array}{cc}
2513 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2516 \begin_layout Plain Layout
2526 \begin_inset Formula $1+1=2$
2547 \begin_layout Standard
2552 \SpecialChar \menuseparator
2553 フロート\SpecialChar \menuseparator
2562 arg "float-insert table"
2570 \begin_layout Standard
2571 フロートは折りたたむことのできるボックスとして表示され、中には「表
2572 \begin_inset space ~
2575 #:」(#は実際には表番号です)というラベルのついたキャプションがあります。表は、このキャプションの上にも下にも入れることができます。
2578 \begin_layout Standard
2580 \begin_inset space ~
2584 \begin_inset CommandInset ref
2586 reference "tab:表フロート"
2593 \begin_layout Standard
2594 キャプションを表の上に入れるのは、標準的な組版方法ですが、残念ながらLaTeXの標準クラスではサポートされていません。つまり、article・book・lett
2595 er・reportのような文書クラスを使用した場合には、キャプションと表のあいだに余白が入りません。必要な余白を入れるには、使用中の文書のプリアンブルに、LaT
2601 \begin_inset Index idx
2604 \begin_layout Plain Layout
2605 LaTeXぱっけーじ@LaTeXパッケージ ! caption
2613 \begin_layout Standard
2619 \begin_layout Standard
2620 というオプションとともにloadコマンドを使って読み込んでください
2624 \begin_layout Plain Layout
2626 \begin_inset CommandInset ref
2628 reference "sec:キャプションの配置"
2638 \begin_inset CommandInset ref
2640 reference "sec:キャプションの書式設定"
2651 \begin_layout Standard
2652 \begin_inset Index idx
2655 \begin_layout Plain Layout
2656 さんしょう@参照 ! ひょうへの@表への
2661 表は、本文中において、ラベルを参照することによって相互参照することができます。そのためには、
2663 挿入\SpecialChar \menuseparator
2672 を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
2676 arg "dialog-show-new-inset ref"
2679 を用いて、このラベルを参照することができます。
2680 \begin_inset Newline newline
2684 \begin_inset CommandInset ref
2686 reference "sec:フロートの参照"
2693 \begin_layout Section
2695 \begin_inset CommandInset label
2702 \begin_inset Index idx
2705 \begin_layout Plain Layout
2712 \begin_inset Index idx
2715 \begin_layout Plain Layout
2716 ひょう@表 ! ちょうしゃくひょう@長尺表
2724 \begin_layout Standard
2725 表が長すぎて1ページに収まりきらないときには、表ダイアログの
2733 オプションを使用して、複数ページに自動的に分割させることができます。このオプションを有効にすると、いくつかのチェックボックスが使えるようになり、以下のものを定義
2737 \begin_layout Description
2738 ヘッダ: カーソル位置の行が、長尺表の全ページに表示されるヘッダ行として定義されます。
2765 が定義されているときは、冒頭ページを除きます。
2774 これと区別して、このヘッダは本体ヘッダと呼びます。
2777 \begin_layout Description
2778 冒頭ヘッダ: カーソル位置の行が、長尺表の最初のページに表示されるヘッダ行として定義されます。
2781 \begin_layout Description
2782 フッタ: カーソル位置の行が、長尺表の全ページに表示されるフッタ行として定義されます。
2809 が定義されているときは、末尾ページを除きます。
2812 \begin_layout Description
2813 末尾フッタ: カーソル位置の行が、長尺表の最後のページに表示されるフッタ行として定義されます。
2816 \begin_layout Description
2817 キャプション: カーソル位置の行を表のキャプションにします。この行は一列にリセットされ、キャプションが挿入されます。長尺表のキャプションについての詳細は、第
2818 \begin_inset CommandInset ref
2820 reference "sub:長尺表のキャプション"
2827 \begin_layout Standard
2828 加えて、表が分割される行を指定することができます。長尺表の動作を見るために以下の例を参照してください。
2831 \begin_layout Standard
2833 \begin_inset Tabular
2834 <lyxtabular version="3" rows="69" columns="3">
2835 <features rotate="0" islongtable="true" longtabularalignment="center">
2836 <column alignment="left" valignment="top" width="0cm">
2837 <column alignment="left" valignment="top" width="0pt">
2838 <column alignment="center" valignment="top" width="0pt">
2839 <row endfirsthead="true">
2840 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2843 \begin_layout Plain Layout
2851 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2854 \begin_layout Plain Layout
2860 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2863 \begin_layout Plain Layout
2870 <row endfirsthead="true">
2871 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2874 \begin_layout Plain Layout
2880 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2883 \begin_layout Plain Layout
2889 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2892 \begin_layout Plain Layout
2901 <row endhead="true">
2902 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2905 \begin_layout Plain Layout
2913 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2916 \begin_layout Plain Layout
2922 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2925 \begin_layout Plain Layout
2932 <row endhead="true">
2933 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2936 \begin_layout Plain Layout
2942 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2945 \begin_layout Plain Layout
2951 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2954 \begin_layout Plain Layout
2963 <row endfoot="true">
2964 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
2967 \begin_layout Plain Layout
2973 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2976 \begin_layout Plain Layout
2982 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2985 \begin_layout Plain Layout
2993 <cell alignment="center" valignment="top" leftline="true" usebox="none">
2996 \begin_layout Plain Layout
3004 <cell alignment="center" valignment="top" usebox="none">
3007 \begin_layout Plain Layout
3013 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3016 \begin_layout Plain Layout
3024 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3027 \begin_layout Plain Layout
3035 <cell alignment="center" valignment="top" usebox="none">
3038 \begin_layout Plain Layout
3044 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3047 \begin_layout Plain Layout
3055 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3058 \begin_layout Plain Layout
3066 <cell alignment="center" valignment="top" usebox="none">
3069 \begin_layout Plain Layout
3075 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3078 \begin_layout Plain Layout
3086 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3089 \begin_layout Plain Layout
3097 <cell alignment="center" valignment="top" usebox="none">
3100 \begin_layout Plain Layout
3106 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3109 \begin_layout Plain Layout
3117 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3120 \begin_layout Plain Layout
3128 <cell alignment="center" valignment="top" usebox="none">
3131 \begin_layout Plain Layout
3137 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3140 \begin_layout Plain Layout
3148 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3151 \begin_layout Plain Layout
3159 <cell alignment="center" valignment="top" usebox="none">
3162 \begin_layout Plain Layout
3168 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3171 \begin_layout Plain Layout
3179 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3182 \begin_layout Plain Layout
3190 <cell alignment="center" valignment="top" usebox="none">
3193 \begin_layout Plain Layout
3199 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3202 \begin_layout Plain Layout
3210 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3213 \begin_layout Plain Layout
3221 <cell alignment="center" valignment="top" usebox="none">
3224 \begin_layout Plain Layout
3230 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3233 \begin_layout Plain Layout
3241 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3244 \begin_layout Plain Layout
3252 <cell alignment="center" valignment="top" usebox="none">
3255 \begin_layout Plain Layout
3261 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3264 \begin_layout Plain Layout
3272 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3275 \begin_layout Plain Layout
3283 <cell alignment="center" valignment="top" usebox="none">
3286 \begin_layout Plain Layout
3292 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3295 \begin_layout Plain Layout
3303 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3306 \begin_layout Plain Layout
3314 <cell alignment="center" valignment="top" usebox="none">
3317 \begin_layout Plain Layout
3323 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3326 \begin_layout Plain Layout
3334 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3337 \begin_layout Plain Layout
3345 <cell alignment="center" valignment="top" usebox="none">
3348 \begin_layout Plain Layout
3354 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3357 \begin_layout Plain Layout
3365 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3368 \begin_layout Plain Layout
3376 <cell alignment="center" valignment="top" usebox="none">
3379 \begin_layout Plain Layout
3385 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3388 \begin_layout Plain Layout
3396 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3399 \begin_layout Plain Layout
3407 <cell alignment="center" valignment="top" usebox="none">
3410 \begin_layout Plain Layout
3416 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3419 \begin_layout Plain Layout
3427 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3430 \begin_layout Plain Layout
3438 <cell alignment="center" valignment="top" usebox="none">
3441 \begin_layout Plain Layout
3447 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3450 \begin_layout Plain Layout
3458 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3461 \begin_layout Plain Layout
3469 <cell alignment="center" valignment="top" usebox="none">
3472 \begin_layout Plain Layout
3478 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3481 \begin_layout Plain Layout
3489 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3492 \begin_layout Plain Layout
3500 <cell alignment="center" valignment="top" usebox="none">
3503 \begin_layout Plain Layout
3509 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3512 \begin_layout Plain Layout
3520 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3523 \begin_layout Plain Layout
3531 <cell alignment="center" valignment="top" usebox="none">
3534 \begin_layout Plain Layout
3540 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3543 \begin_layout Plain Layout
3551 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3554 \begin_layout Plain Layout
3562 <cell alignment="center" valignment="top" usebox="none">
3565 \begin_layout Plain Layout
3571 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3574 \begin_layout Plain Layout
3582 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3585 \begin_layout Plain Layout
3593 <cell alignment="center" valignment="top" usebox="none">
3596 \begin_layout Plain Layout
3602 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3605 \begin_layout Plain Layout
3613 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3616 \begin_layout Plain Layout
3624 <cell alignment="center" valignment="top" usebox="none">
3627 \begin_layout Plain Layout
3633 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3636 \begin_layout Plain Layout
3644 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3647 \begin_layout Plain Layout
3655 <cell alignment="center" valignment="top" usebox="none">
3658 \begin_layout Plain Layout
3664 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3667 \begin_layout Plain Layout
3675 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3678 \begin_layout Plain Layout
3686 <cell alignment="center" valignment="top" usebox="none">
3689 \begin_layout Plain Layout
3695 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3698 \begin_layout Plain Layout
3706 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3709 \begin_layout Plain Layout
3717 <cell alignment="center" valignment="top" usebox="none">
3720 \begin_layout Plain Layout
3726 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3729 \begin_layout Plain Layout
3737 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3740 \begin_layout Plain Layout
3748 <cell alignment="center" valignment="top" usebox="none">
3751 \begin_layout Plain Layout
3757 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3760 \begin_layout Plain Layout
3768 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3771 \begin_layout Plain Layout
3779 <cell alignment="center" valignment="top" usebox="none">
3782 \begin_layout Plain Layout
3788 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3791 \begin_layout Plain Layout
3799 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3802 \begin_layout Plain Layout
3810 <cell alignment="center" valignment="top" usebox="none">
3813 \begin_layout Plain Layout
3819 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3822 \begin_layout Plain Layout
3830 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3833 \begin_layout Plain Layout
3841 <cell alignment="center" valignment="top" usebox="none">
3844 \begin_layout Plain Layout
3850 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3853 \begin_layout Plain Layout
3861 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3864 \begin_layout Plain Layout
3872 <cell alignment="center" valignment="top" usebox="none">
3875 \begin_layout Plain Layout
3881 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3884 \begin_layout Plain Layout
3892 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3895 \begin_layout Plain Layout
3903 <cell alignment="center" valignment="top" usebox="none">
3906 \begin_layout Plain Layout
3912 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3915 \begin_layout Plain Layout
3923 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3926 \begin_layout Plain Layout
3934 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3937 \begin_layout Plain Layout
3943 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3946 \begin_layout Plain Layout
3954 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3957 \begin_layout Plain Layout
3963 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3966 \begin_layout Plain Layout
3972 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3975 \begin_layout Plain Layout
3983 <cell alignment="left" valignment="top" leftline="true" usebox="none">
3986 \begin_layout Plain Layout
3994 <cell alignment="center" valignment="top" usebox="none">
3997 \begin_layout Plain Layout
4003 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4006 \begin_layout Plain Layout
4014 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4017 \begin_layout Plain Layout
4025 <cell alignment="center" valignment="top" usebox="none">
4028 \begin_layout Plain Layout
4034 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4037 \begin_layout Plain Layout
4045 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4048 \begin_layout Plain Layout
4056 <cell alignment="center" valignment="top" usebox="none">
4059 \begin_layout Plain Layout
4065 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4068 \begin_layout Plain Layout
4076 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4079 \begin_layout Plain Layout
4087 <cell alignment="center" valignment="top" usebox="none">
4090 \begin_layout Plain Layout
4096 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4099 \begin_layout Plain Layout
4107 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4110 \begin_layout Plain Layout
4118 <cell alignment="center" valignment="top" usebox="none">
4121 \begin_layout Plain Layout
4127 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4130 \begin_layout Plain Layout
4138 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4141 \begin_layout Plain Layout
4149 <cell alignment="center" valignment="top" usebox="none">
4152 \begin_layout Plain Layout
4158 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4161 \begin_layout Plain Layout
4169 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4172 \begin_layout Plain Layout
4180 <cell alignment="center" valignment="top" usebox="none">
4183 \begin_layout Plain Layout
4189 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4192 \begin_layout Plain Layout
4200 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4203 \begin_layout Plain Layout
4211 <cell alignment="center" valignment="top" usebox="none">
4214 \begin_layout Plain Layout
4220 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4223 \begin_layout Plain Layout
4231 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4234 \begin_layout Plain Layout
4242 <cell alignment="center" valignment="top" usebox="none">
4245 \begin_layout Plain Layout
4251 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4254 \begin_layout Plain Layout
4262 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4265 \begin_layout Plain Layout
4273 <cell alignment="center" valignment="top" usebox="none">
4276 \begin_layout Plain Layout
4282 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4285 \begin_layout Plain Layout
4293 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4296 \begin_layout Plain Layout
4304 <cell alignment="center" valignment="top" usebox="none">
4307 \begin_layout Plain Layout
4313 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4316 \begin_layout Plain Layout
4324 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4327 \begin_layout Plain Layout
4335 <cell alignment="center" valignment="top" usebox="none">
4338 \begin_layout Plain Layout
4344 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4347 \begin_layout Plain Layout
4355 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4358 \begin_layout Plain Layout
4366 <cell alignment="center" valignment="top" usebox="none">
4369 \begin_layout Plain Layout
4375 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4378 \begin_layout Plain Layout
4386 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4389 \begin_layout Plain Layout
4397 <cell alignment="center" valignment="top" usebox="none">
4400 \begin_layout Plain Layout
4406 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4409 \begin_layout Plain Layout
4417 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4420 \begin_layout Plain Layout
4428 <cell alignment="center" valignment="top" usebox="none">
4431 \begin_layout Plain Layout
4437 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4440 \begin_layout Plain Layout
4448 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4451 \begin_layout Plain Layout
4459 <cell alignment="center" valignment="top" usebox="none">
4462 \begin_layout Plain Layout
4468 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4471 \begin_layout Plain Layout
4479 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4482 \begin_layout Plain Layout
4490 <cell alignment="center" valignment="top" usebox="none">
4493 \begin_layout Plain Layout
4499 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4502 \begin_layout Plain Layout
4510 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4513 \begin_layout Plain Layout
4521 <cell alignment="center" valignment="top" usebox="none">
4524 \begin_layout Plain Layout
4530 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4533 \begin_layout Plain Layout
4541 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4544 \begin_layout Plain Layout
4552 <cell alignment="center" valignment="top" usebox="none">
4555 \begin_layout Plain Layout
4561 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4564 \begin_layout Plain Layout
4572 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4575 \begin_layout Plain Layout
4583 <cell alignment="center" valignment="top" usebox="none">
4586 \begin_layout Plain Layout
4592 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4595 \begin_layout Plain Layout
4603 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4606 \begin_layout Plain Layout
4614 <cell alignment="center" valignment="top" usebox="none">
4617 \begin_layout Plain Layout
4623 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4626 \begin_layout Plain Layout
4634 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4637 \begin_layout Plain Layout
4645 <cell alignment="center" valignment="top" usebox="none">
4648 \begin_layout Plain Layout
4654 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4657 \begin_layout Plain Layout
4665 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4668 \begin_layout Plain Layout
4676 <cell alignment="center" valignment="top" usebox="none">
4679 \begin_layout Plain Layout
4685 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4688 \begin_layout Plain Layout
4696 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4699 \begin_layout Plain Layout
4707 <cell alignment="center" valignment="top" usebox="none">
4710 \begin_layout Plain Layout
4716 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4719 \begin_layout Plain Layout
4727 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4730 \begin_layout Plain Layout
4738 <cell alignment="center" valignment="top" usebox="none">
4741 \begin_layout Plain Layout
4747 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4750 \begin_layout Plain Layout
4758 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4761 \begin_layout Plain Layout
4769 <cell alignment="center" valignment="top" usebox="none">
4772 \begin_layout Plain Layout
4778 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4781 \begin_layout Plain Layout
4789 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4792 \begin_layout Plain Layout
4800 <cell alignment="center" valignment="top" usebox="none">
4803 \begin_layout Plain Layout
4809 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4812 \begin_layout Plain Layout
4820 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4823 \begin_layout Plain Layout
4831 <cell alignment="center" valignment="top" usebox="none">
4834 \begin_layout Plain Layout
4840 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4843 \begin_layout Plain Layout
4851 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4854 \begin_layout Plain Layout
4862 <cell alignment="center" valignment="top" usebox="none">
4865 \begin_layout Plain Layout
4871 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4874 \begin_layout Plain Layout
4882 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4885 \begin_layout Plain Layout
4893 <cell alignment="center" valignment="top" usebox="none">
4896 \begin_layout Plain Layout
4902 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4905 \begin_layout Plain Layout
4913 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4916 \begin_layout Plain Layout
4924 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4927 \begin_layout Plain Layout
4933 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4936 \begin_layout Plain Layout
4943 <row endlastfoot="true">
4944 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4947 \begin_layout Plain Layout
4953 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4956 \begin_layout Plain Layout
4962 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4965 \begin_layout Plain Layout
4980 \begin_layout Plain Layout
4984 addtocounter{table}{-1}
4990 \begin_inset Note Note
4993 \begin_layout Plain Layout
4995 \begin_inset CommandInset ref
4997 reference "sub:長尺表のキャプション"
5009 \begin_layout Subsection
5011 \begin_inset CommandInset label
5018 \begin_inset Index idx
5021 \begin_layout Plain Layout
5022 ちょうしゃくひょう@長尺表 ! きゃくちゅう@脚注
5030 \begin_layout Standard
5031 脚注は、どの長尺表セルにも入れることができます。脚注は、脚注のついた表セルのあるページの下部に表示されます。たとえば、表
5032 \begin_inset CommandInset ref
5034 reference "tab:別キャプション"
5041 \begin_layout Subsection
5043 \begin_inset Index idx
5046 \begin_layout Plain Layout
5047 ちょうしゃくひょう@長尺表 ! たてよこぞろえ@縦横揃え
5055 \begin_layout Standard
5056 表設定ダイアログでは、長尺表の水平揃えを指定することができます。左揃えや右揃えでは、表は直接ページ境界に寄せられます。表と境界の間に余白を加えるには、中央揃えに
5060 \begin_layout Standard
5070 \begin_layout Standard
5071 という行を当該長尺表の前にTeXコードとして挿入して、長さ
5083 の値を変更しなくてはなりません。ここで「値」は、第
5084 \begin_inset CommandInset ref
5090 表に挙げてある単位であれば、どの単位を取ることもできます。
5096 は、左頁余白から長尺表までの水平方向の距離を制御し、
5102 は、右頁余白からの距離を制御します。これらの長さの既定値は
5108 となっており、LyXの水平フィルと同等になっています。
5111 \begin_layout Standard
5128 \begin_layout Plain Layout
5144 \begin_layout Standard
5145 \begin_inset Tabular
5146 <lyxtabular version="3" rows="5" columns="5">
5147 <features rotate="0" islongtable="true" longtabularalignment="center">
5148 <column alignment="center" valignment="top" width="0">
5149 <column alignment="center" valignment="top" width="0">
5150 <column alignment="center" valignment="top" width="0">
5151 <column alignment="center" valignment="top" width="0">
5152 <column alignment="center" valignment="top" width="0">
5154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5157 \begin_layout Plain Layout
5163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5166 \begin_layout Plain Layout
5172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5175 \begin_layout Plain Layout
5181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5184 \begin_layout Plain Layout
5190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5193 \begin_layout Plain Layout
5201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5204 \begin_layout Plain Layout
5210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5213 \begin_layout Plain Layout
5219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5222 \begin_layout Plain Layout
5228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5231 \begin_layout Plain Layout
5237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5240 \begin_layout Plain Layout
5248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5251 \begin_layout Plain Layout
5257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5260 \begin_layout Plain Layout
5266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5269 \begin_layout Plain Layout
5275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5278 \begin_layout Plain Layout
5284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5287 \begin_layout Plain Layout
5295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5298 \begin_layout Plain Layout
5304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5307 \begin_layout Plain Layout
5313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5316 \begin_layout Plain Layout
5322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5325 \begin_layout Plain Layout
5331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5334 \begin_layout Plain Layout
5342 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5345 \begin_layout Plain Layout
5351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5354 \begin_layout Plain Layout
5360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5363 \begin_layout Plain Layout
5369 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5372 \begin_layout Plain Layout
5378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5381 \begin_layout Plain Layout
5396 \begin_layout Plain Layout
5413 \begin_layout Plain Layout
5417 addtocounter{table}{-1}
5423 \begin_inset Note Note
5426 \begin_layout Plain Layout
5428 \begin_inset CommandInset ref
5430 reference "sub:長尺表のキャプション"
5442 \begin_layout Subsection
5444 \begin_inset Index idx
5447 \begin_layout Plain Layout
5448 ちょうしゃくひょう@長尺表 ! きゃぷしょん@キャプション
5454 \begin_inset CommandInset label
5456 name "sub:長尺表のキャプション"
5463 \begin_layout Standard
5464 フロートは一頁に収まらなくてはならないので、長尺表を表フロートに入れることはできません。しかし、第
5465 \begin_inset CommandInset ref
5471 節に述べられているように、ある行で長尺表オプションの
5475 を使用すれば、フロートのキャプション環境を長尺表でも使用することができます。キャプションを入れることができる行はひとつだけです。
5478 \begin_layout Standard
5479 以下は、動作を確認するための短い長尺表です。
5482 \begin_layout Standard
5483 \begin_inset Tabular
5484 <lyxtabular version="3" rows="6" columns="5">
5485 <features rotate="0" islongtable="true" longtabularalignment="center">
5486 <column alignment="center" valignment="top" width="0">
5487 <column alignment="center" valignment="top" width="0">
5488 <column alignment="center" valignment="top" width="0">
5489 <column alignment="center" valignment="top" width="0">
5490 <column alignment="center" valignment="top" width="0">
5491 <row endfirsthead="true" caption="true">
5492 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5495 \begin_layout Plain Layout
5496 \begin_inset Caption Standard
5498 \begin_layout Plain Layout
5500 \begin_inset Argument 1
5503 \begin_layout Plain Layout
5519 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5522 \begin_layout Plain Layout
5528 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5531 \begin_layout Plain Layout
5537 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5540 \begin_layout Plain Layout
5546 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5549 \begin_layout Plain Layout
5557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5560 \begin_layout Plain Layout
5566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5569 \begin_layout Plain Layout
5575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5578 \begin_layout Plain Layout
5584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5587 \begin_layout Plain Layout
5593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5596 \begin_layout Plain Layout
5604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5607 \begin_layout Plain Layout
5613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5616 \begin_layout Plain Layout
5622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5625 \begin_layout Plain Layout
5631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5634 \begin_layout Plain Layout
5640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5643 \begin_layout Plain Layout
5651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5654 \begin_layout Plain Layout
5660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5663 \begin_layout Plain Layout
5669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5672 \begin_layout Plain Layout
5678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5681 \begin_layout Plain Layout
5687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5690 \begin_layout Plain Layout
5698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5701 \begin_layout Plain Layout
5707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5710 \begin_layout Plain Layout
5716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5719 \begin_layout Plain Layout
5725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5728 \begin_layout Plain Layout
5734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5737 \begin_layout Plain Layout
5745 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5748 \begin_layout Plain Layout
5754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5757 \begin_layout Plain Layout
5763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5766 \begin_layout Plain Layout
5772 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5775 \begin_layout Plain Layout
5781 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5784 \begin_layout Plain Layout
5798 \begin_layout Standard
5799 \begin_inset VSpace medskip
5803 \begin_inset Note Greyedout
5806 \begin_layout Plain Layout
5811 表番号は、長尺表にキャプションを付けなかったとしても、各長尺表毎に加番されます。このため、あいだにキャプションのない二つの長尺表が挟まっていたならば、表一覧では
5812 、たとえば表2.1の後に表2.4が来ることがあります。これを回避するためには、キャプションのないすべての長尺表の後に、TeXコードで
5815 \begin_layout Plain Layout
5820 addtocounter{table}{-1}
5823 \begin_layout Plain Layout
5824 というコマンドを挿入する方法があります。
5827 \begin_layout Plain Layout
5828 全長尺表にキャプションがなかったり、文書プリアンブルに以下のコードを書き加えていれば、以上のことは必要ありません。
5831 \begin_layout Plain Layout
5841 \begin_inset Newline newline
5852 addtocounter{table}{-1}}
5860 \begin_layout Standard
5861 \begin_inset Note Greyedout
5864 \begin_layout Plain Layout
5882 \begin_inset Index idx
5885 \begin_layout Plain Layout
5886 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
5891 を使用している場合、長尺表キャプションへのリンクは、つねに文頭に向けられます。
5899 \begin_layout Subsubsection
5901 \begin_inset Index idx
5904 \begin_layout Plain Layout
5905 ちょうしゃくひょう@長尺表 ! さんしょう@参照
5913 \begin_layout Standard
5914 \begin_inset Tabular
5915 <lyxtabular version="3" rows="6" columns="5">
5916 <features rotate="0" islongtable="true" longtabularalignment="center">
5917 <column alignment="center" valignment="top" width="0">
5918 <column alignment="center" valignment="top" width="0">
5919 <column alignment="center" valignment="top" width="0">
5920 <column alignment="center" valignment="top" width="0">
5921 <column alignment="center" valignment="top" width="0">
5922 <row endfirsthead="true" caption="true">
5923 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5926 \begin_layout Plain Layout
5927 \begin_inset Caption Standard
5929 \begin_layout Plain Layout
5931 \begin_inset CommandInset label
5947 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5950 \begin_layout Plain Layout
5956 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5959 \begin_layout Plain Layout
5965 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5968 \begin_layout Plain Layout
5974 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5977 \begin_layout Plain Layout
5985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5988 \begin_layout Plain Layout
5994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5997 \begin_layout Plain Layout
6003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6006 \begin_layout Plain Layout
6012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6015 \begin_layout Plain Layout
6021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6024 \begin_layout Plain Layout
6032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6035 \begin_layout Plain Layout
6041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6044 \begin_layout Plain Layout
6050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6053 \begin_layout Plain Layout
6059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6062 \begin_layout Plain Layout
6068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6071 \begin_layout Plain Layout
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6082 \begin_layout Plain Layout
6088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6091 \begin_layout Plain Layout
6097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6100 \begin_layout Plain Layout
6106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6109 \begin_layout Plain Layout
6115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6118 \begin_layout Plain Layout
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6129 \begin_layout Plain Layout
6135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6138 \begin_layout Plain Layout
6144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6147 \begin_layout Plain Layout
6153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6156 \begin_layout Plain Layout
6162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6165 \begin_layout Plain Layout
6173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6176 \begin_layout Plain Layout
6182 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6185 \begin_layout Plain Layout
6191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6194 \begin_layout Plain Layout
6200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6203 \begin_layout Plain Layout
6209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6212 \begin_layout Plain Layout
6226 \begin_layout Standard
6227 長尺表を参照するには、キャプションにラベルを挿入してください。
6230 \begin_layout Standard
6232 \begin_inset CommandInset ref
6241 \begin_layout Standard
6242 キャプションのレイアウトは、文書中の他のすべてのキャプションと一緒に、LaTeXパッケージの
6247 \begin_inset Index idx
6250 \begin_layout Plain Layout
6251 LaTeXぱっけーじ@LaTeXパッケージ ! caption
6257 \begin_inset CommandInset ref
6259 reference "sec:キャプションの書式設定"
6266 \begin_layout Subsubsection
6268 \begin_inset Index idx
6271 \begin_layout Plain Layout
6272 ちょうしゃくひょう@長尺表 ! きゃぷしょんのはば@キャプションの幅
6280 \begin_layout Standard
6287 によって指定することができます。既定値は4
6288 \begin_inset space \thinspace{}
6291 inです。これを変更するには、現文書の文書プリアンブルか、調整したい長尺表の前の文中にTeXコードとして
6294 \begin_layout Standard
6304 \begin_layout Standard
6305 というコマンドを書き加えて下さい。ここで「幅」には、付録
6306 \begin_inset CommandInset ref
6308 reference "cha:LyXで使用できる単位"
6312 に挙げられている単位を取ることができます。
6315 \begin_layout Standard
6319 \begin_layout Standard
6320 \begin_inset Tabular
6321 <lyxtabular version="3" rows="6" columns="5">
6322 <features rotate="0" islongtable="true" longtabularalignment="center">
6323 <column alignment="center" valignment="top" width="0">
6324 <column alignment="center" valignment="top" width="0">
6325 <column alignment="center" valignment="top" width="0">
6326 <column alignment="center" valignment="top" width="0">
6327 <column alignment="center" valignment="top" width="0">
6328 <row endfirsthead="true" caption="true">
6329 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6332 \begin_layout Plain Layout
6333 \begin_inset Caption Standard
6335 \begin_layout Plain Layout
6336 既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル・既定幅のなが〜いフルタイトル
6337 \begin_inset Argument 1
6340 \begin_layout Plain Layout
6356 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6359 \begin_layout Plain Layout
6365 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6368 \begin_layout Plain Layout
6374 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6377 \begin_layout Plain Layout
6383 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6386 \begin_layout Plain Layout
6394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6397 \begin_layout Plain Layout
6403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6406 \begin_layout Plain Layout
6412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6415 \begin_layout Plain Layout
6421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6424 \begin_layout Plain Layout
6430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6433 \begin_layout Plain Layout
6441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6444 \begin_layout Plain Layout
6450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6453 \begin_layout Plain Layout
6459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6462 \begin_layout Plain Layout
6468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6471 \begin_layout Plain Layout
6477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6480 \begin_layout Plain Layout
6488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6491 \begin_layout Plain Layout
6497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6500 \begin_layout Plain Layout
6506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6509 \begin_layout Plain Layout
6515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6518 \begin_layout Plain Layout
6524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6527 \begin_layout Plain Layout
6535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6538 \begin_layout Plain Layout
6544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6547 \begin_layout Plain Layout
6553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6556 \begin_layout Plain Layout
6562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6565 \begin_layout Plain Layout
6571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6574 \begin_layout Plain Layout
6582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6585 \begin_layout Plain Layout
6591 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6594 \begin_layout Plain Layout
6600 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6603 \begin_layout Plain Layout
6609 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6612 \begin_layout Plain Layout
6618 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6621 \begin_layout Plain Layout
6635 \begin_layout Standard
6639 \begin_layout Plain Layout
6651 \begin_inset Tabular
6652 <lyxtabular version="3" rows="6" columns="5">
6653 <features rotate="0" islongtable="true" longtabularalignment="center">
6654 <column alignment="center" valignment="top" width="0">
6655 <column alignment="center" valignment="top" width="0">
6656 <column alignment="center" valignment="top" width="0">
6657 <column alignment="center" valignment="top" width="0">
6658 <column alignment="center" valignment="top" width="0">
6659 <row endfirsthead="true" caption="true">
6660 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6663 \begin_layout Plain Layout
6664 \begin_inset Caption Standard
6666 \begin_layout Plain Layout
6668 \begin_inset space \thinspace{}
6672 \begin_inset space \thinspace{}
6676 \begin_inset space \thinspace{}
6680 \begin_inset Argument 1
6683 \begin_layout Plain Layout
6685 \begin_inset space \thinspace{}
6703 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6706 \begin_layout Plain Layout
6712 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6715 \begin_layout Plain Layout
6721 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6724 \begin_layout Plain Layout
6730 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6733 \begin_layout Plain Layout
6741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6744 \begin_layout Plain Layout
6750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6753 \begin_layout Plain Layout
6759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6762 \begin_layout Plain Layout
6768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6771 \begin_layout Plain Layout
6777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6780 \begin_layout Plain Layout
6788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6791 \begin_layout Plain Layout
6797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6800 \begin_layout Plain Layout
6806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6809 \begin_layout Plain Layout
6815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6818 \begin_layout Plain Layout
6824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6827 \begin_layout Plain Layout
6835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6838 \begin_layout Plain Layout
6844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6847 \begin_layout Plain Layout
6853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6856 \begin_layout Plain Layout
6862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6865 \begin_layout Plain Layout
6871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6874 \begin_layout Plain Layout
6882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6885 \begin_layout Plain Layout
6891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6894 \begin_layout Plain Layout
6900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6903 \begin_layout Plain Layout
6909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6912 \begin_layout Plain Layout
6918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6921 \begin_layout Plain Layout
6929 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6932 \begin_layout Plain Layout
6938 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6941 \begin_layout Plain Layout
6947 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6950 \begin_layout Plain Layout
6956 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6959 \begin_layout Plain Layout
6965 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6968 \begin_layout Plain Layout
6982 \begin_layout Standard
6986 \begin_layout Plain Layout
7000 \begin_layout Standard
7001 \begin_inset Note Greyedout
7004 \begin_layout Plain Layout
7014 \begin_inset Index idx
7017 \begin_layout Plain Layout
7018 LaTeXぱっけーじ@LaTeXパッケージ ! caption
7030 \begin_inset space \thinspace{}
7033 inを使用している場合、ページの全幅が用いられます。この場合、正確に4
7034 \begin_inset space \thinspace{}
7037 in幅のキャプションを作るには、3.99
7038 \begin_inset space \thinspace{}
7042 \begin_inset space \thinspace{}
7053 captionsetup{width=値}
7055 というLaTeXコマンドを用いる方法があります。
7063 \begin_layout Subsubsection
7065 \begin_inset Index idx
7068 \begin_layout Plain Layout
7069 ちょうしゃくひょう@長尺表 ! ぺーじごとにことなるきゃぷしょん@ページごとに異なるキャプション
7077 \begin_layout Standard
7078 次頁以降の表のキャプションを、1頁めとは異なるものにしたい場合には、キャプションを
7081 \begin_layout Standard
7093 \begin_layout Standard
7094 というTeXコードコマンドを使って、ヘッダとして指定したダミーのキャプション行に入れて下さい。表
7095 \begin_inset CommandInset ref
7097 reference "tab:別キャプション"
7101 は、異なるヘッダを持つ長尺表の一例です。2番目のキャプションには表番が現れないようにしてあります。
7104 \begin_layout Standard
7106 \begin_inset Tabular
7107 <lyxtabular version="3" rows="59" columns="3">
7108 <features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
7109 <column alignment="left" valignment="top" width="0cm">
7110 <column alignment="left" valignment="top" width="0pt">
7111 <column alignment="center" valignment="top" width="0pt">
7112 <row endfirsthead="true" caption="true">
7113 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7116 \begin_layout Plain Layout
7117 \begin_inset Caption Standard
7119 \begin_layout Plain Layout
7121 \begin_inset CommandInset label
7128 \begin_inset Argument 1
7131 \begin_layout Plain Layout
7147 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7150 \begin_layout Plain Layout
7156 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7159 \begin_layout Plain Layout
7166 <row endfirsthead="true">
7167 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7170 \begin_layout Plain Layout
7178 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7181 \begin_layout Plain Layout
7187 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7190 \begin_layout Plain Layout
7197 <row endfirsthead="true">
7198 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7201 \begin_layout Plain Layout
7209 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7212 \begin_layout Plain Layout
7218 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7221 \begin_layout Plain Layout
7230 <row endhead="true">
7231 <cell alignment="left" valignment="top" leftline="true" usebox="none">
7234 \begin_layout Plain Layout
7238 \begin_layout Plain Layout
7256 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7259 \begin_layout Plain Layout
7265 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7268 \begin_layout Plain Layout
7275 <row endhead="true">
7276 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7279 \begin_layout Plain Layout
7287 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7290 \begin_layout Plain Layout
7296 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7299 \begin_layout Plain Layout
7306 <row endhead="true">
7307 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7310 \begin_layout Plain Layout
7318 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7321 \begin_layout Plain Layout
7327 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7330 \begin_layout Plain Layout
7339 <row endfoot="true">
7340 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7343 \begin_layout Plain Layout
7349 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7352 \begin_layout Plain Layout
7358 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7361 \begin_layout Plain Layout
7369 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7372 \begin_layout Plain Layout
7380 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7383 \begin_layout Plain Layout
7389 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
7392 \begin_layout Plain Layout
7400 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7403 \begin_layout Plain Layout
7411 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7414 \begin_layout Plain Layout
7420 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7423 \begin_layout Plain Layout
7431 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7434 \begin_layout Plain Layout
7442 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7445 \begin_layout Plain Layout
7451 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7454 \begin_layout Plain Layout
7462 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7465 \begin_layout Plain Layout
7473 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7476 \begin_layout Plain Layout
7482 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7485 \begin_layout Plain Layout
7493 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7496 \begin_layout Plain Layout
7504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7507 \begin_layout Plain Layout
7513 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7516 \begin_layout Plain Layout
7524 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7527 \begin_layout Plain Layout
7535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7538 \begin_layout Plain Layout
7544 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7547 \begin_layout Plain Layout
7555 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7558 \begin_layout Plain Layout
7566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7569 \begin_layout Plain Layout
7575 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7578 \begin_layout Plain Layout
7586 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7589 \begin_layout Plain Layout
7597 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7600 \begin_layout Plain Layout
7606 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7609 \begin_layout Plain Layout
7617 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7620 \begin_layout Plain Layout
7628 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7631 \begin_layout Plain Layout
7637 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7640 \begin_layout Plain Layout
7648 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7651 \begin_layout Plain Layout
7659 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7662 \begin_layout Plain Layout
7668 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7671 \begin_layout Plain Layout
7679 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7682 \begin_layout Plain Layout
7690 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7693 \begin_layout Plain Layout
7699 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7702 \begin_layout Plain Layout
7710 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7713 \begin_layout Plain Layout
7721 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7724 \begin_layout Plain Layout
7730 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7733 \begin_layout Plain Layout
7741 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7744 \begin_layout Plain Layout
7752 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7755 \begin_layout Plain Layout
7761 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7764 \begin_layout Plain Layout
7772 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7775 \begin_layout Plain Layout
7783 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7786 \begin_layout Plain Layout
7792 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7795 \begin_layout Plain Layout
7803 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7806 \begin_layout Plain Layout
7815 \begin_layout Plain Layout
7826 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7829 \begin_layout Plain Layout
7835 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7838 \begin_layout Plain Layout
7846 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7849 \begin_layout Plain Layout
7857 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7860 \begin_layout Plain Layout
7866 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7869 \begin_layout Plain Layout
7877 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7880 \begin_layout Plain Layout
7888 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7891 \begin_layout Plain Layout
7897 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7900 \begin_layout Plain Layout
7908 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7911 \begin_layout Plain Layout
7919 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7922 \begin_layout Plain Layout
7928 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7931 \begin_layout Plain Layout
7939 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7942 \begin_layout Plain Layout
7950 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7953 \begin_layout Plain Layout
7959 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7962 \begin_layout Plain Layout
7970 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7973 \begin_layout Plain Layout
7981 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7984 \begin_layout Plain Layout
7990 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7993 \begin_layout Plain Layout
8001 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8004 \begin_layout Plain Layout
8012 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8015 \begin_layout Plain Layout
8021 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8024 \begin_layout Plain Layout
8032 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8035 \begin_layout Plain Layout
8043 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8046 \begin_layout Plain Layout
8052 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8055 \begin_layout Plain Layout
8063 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8066 \begin_layout Plain Layout
8074 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8077 \begin_layout Plain Layout
8083 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8086 \begin_layout Plain Layout
8094 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8097 \begin_layout Plain Layout
8105 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8108 \begin_layout Plain Layout
8114 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8117 \begin_layout Plain Layout
8125 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8128 \begin_layout Plain Layout
8136 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8139 \begin_layout Plain Layout
8145 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8148 \begin_layout Plain Layout
8156 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8159 \begin_layout Plain Layout
8167 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8170 \begin_layout Plain Layout
8176 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8179 \begin_layout Plain Layout
8187 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8190 \begin_layout Plain Layout
8198 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8201 \begin_layout Plain Layout
8207 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8210 \begin_layout Plain Layout
8218 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8221 \begin_layout Plain Layout
8229 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8232 \begin_layout Plain Layout
8238 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8241 \begin_layout Plain Layout
8249 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8252 \begin_layout Plain Layout
8260 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8263 \begin_layout Plain Layout
8269 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8272 \begin_layout Plain Layout
8280 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8283 \begin_layout Plain Layout
8291 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8294 \begin_layout Plain Layout
8300 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8303 \begin_layout Plain Layout
8311 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8314 \begin_layout Plain Layout
8322 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8325 \begin_layout Plain Layout
8331 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8334 \begin_layout Plain Layout
8342 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8345 \begin_layout Plain Layout
8351 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8354 \begin_layout Plain Layout
8360 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8363 \begin_layout Plain Layout
8371 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8374 \begin_layout Plain Layout
8382 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8385 \begin_layout Plain Layout
8391 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8394 \begin_layout Plain Layout
8402 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8405 \begin_layout Plain Layout
8413 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8416 \begin_layout Plain Layout
8422 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8425 \begin_layout Plain Layout
8433 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8436 \begin_layout Plain Layout
8444 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8447 \begin_layout Plain Layout
8453 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8456 \begin_layout Plain Layout
8464 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8467 \begin_layout Plain Layout
8475 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8478 \begin_layout Plain Layout
8484 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8487 \begin_layout Plain Layout
8495 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8498 \begin_layout Plain Layout
8506 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8509 \begin_layout Plain Layout
8515 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8518 \begin_layout Plain Layout
8526 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8529 \begin_layout Plain Layout
8537 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8540 \begin_layout Plain Layout
8546 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8549 \begin_layout Plain Layout
8557 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8560 \begin_layout Plain Layout
8568 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8571 \begin_layout Plain Layout
8577 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8580 \begin_layout Plain Layout
8588 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8591 \begin_layout Plain Layout
8599 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8602 \begin_layout Plain Layout
8608 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8611 \begin_layout Plain Layout
8619 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8622 \begin_layout Plain Layout
8630 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8633 \begin_layout Plain Layout
8639 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8642 \begin_layout Plain Layout
8650 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8653 \begin_layout Plain Layout
8661 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8664 \begin_layout Plain Layout
8670 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8673 \begin_layout Plain Layout
8681 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8684 \begin_layout Plain Layout
8692 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8695 \begin_layout Plain Layout
8701 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8704 \begin_layout Plain Layout
8712 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8715 \begin_layout Plain Layout
8723 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8726 \begin_layout Plain Layout
8732 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8735 \begin_layout Plain Layout
8743 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8746 \begin_layout Plain Layout
8754 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8757 \begin_layout Plain Layout
8763 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8766 \begin_layout Plain Layout
8774 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8777 \begin_layout Plain Layout
8785 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8788 \begin_layout Plain Layout
8794 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8797 \begin_layout Plain Layout
8805 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8808 \begin_layout Plain Layout
8816 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8819 \begin_layout Plain Layout
8825 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8828 \begin_layout Plain Layout
8836 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8839 \begin_layout Plain Layout
8847 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8850 \begin_layout Plain Layout
8856 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8859 \begin_layout Plain Layout
8867 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8870 \begin_layout Plain Layout
8878 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8881 \begin_layout Plain Layout
8887 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8890 \begin_layout Plain Layout
8898 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8901 \begin_layout Plain Layout
8909 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8912 \begin_layout Plain Layout
8918 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8921 \begin_layout Plain Layout
8929 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8932 \begin_layout Plain Layout
8940 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8943 \begin_layout Plain Layout
8949 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8952 \begin_layout Plain Layout
8960 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8963 \begin_layout Plain Layout
8971 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8974 \begin_layout Plain Layout
8980 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8983 \begin_layout Plain Layout
8997 \begin_layout Section
8999 \begin_inset CommandInset label
9001 name "sec:長尺表にまつわる諸点"
9008 \begin_layout Subsection
9010 \begin_inset Index idx
9013 \begin_layout Plain Layout
9014 ちょうしゃくひょう@長尺表 ! けいさん@計算
9022 \begin_layout Standard
9023 LaTeXは、表ページの頁高と改頁をいわゆる単位塊(チャンクchunk)を使って計算します。単位塊は、一度にLaTeXのメモリに読み込まれる表の断片です。歴史上
9024 の経緯から、既定値はたった表20行分に設定されています。多頁にわたる長尺表がある場合、この設定では文書の生成に時間がかかるかもしれません。この場合、
9027 \begin_layout Standard
9032 setcounter{LTchunksize}{100}
9035 \begin_layout Standard
9036 というコマンド行を文書のプリアンブルに書き加えることで、単位塊の大きさを100から1000の値に支障なく増やすことができます。
9039 \begin_layout Subsection
9041 \begin_inset Index idx
9044 \begin_layout Plain Layout
9045 ちょうしゃくひょう@長尺表 ! ふろーと@フロート
9053 \begin_layout Standard
9054 長尺表が開始するのと同じページにフロートが置かれると問題が発生する可能性があります。このような状況を避けるためには、
9060 コマンドを長尺表の前にTeXコードとして書き加えてください。
9063 \begin_layout Subsection
9065 \begin_inset Index idx
9068 \begin_layout Plain Layout
9069 ちょうしゃくひょう@長尺表 ! きょうせいかいぺーじ@強制改頁
9077 \begin_layout Standard
9078 既定の設定では、表は行の間でのみ改頁されます。もし複数行を含むセルがあり、そのセル中で改頁を行いたい時には、セル中の改頁してもよい場所にTeXコードで改行コマン
9095 コマンドの前には、現セルよりも右にある列数と同じ数の「
9099 」文字を、TeXコードで挿入してやる必要があります。この
9107 の後に、右側の本来のセルに入るべき内容をTeXコードで書き込み、右側のセルの内容は削除してください。
9108 \begin_inset Newline newline
9119 コマンドの後ろには、現在列の左側にある列数と同じ数の
9124 \begin_inset CommandInset ref
9126 reference "tab:強制改頁"
9130 では、改頁さるべきセルは、全3列中2列めにあります。したがって、
9133 \begin_layout Standard
9143 \begin_inset Newline newline
9149 \begin_layout Standard
9154 」の後にTeXコードとして挿入してあります。
9157 \begin_layout Standard
9158 同一行3列目の「111」は削除してあります。
9164 は、改行がこの場所でかならず起こるように指定したいときのみ必要です。これを書かなければ、改頁の候補として指定するに過ぎません。何らかの理由で長尺表のフッタ行に上
9165 罫線を引いていないけれども、セルを改頁する場所で水平線を引きたい場合には、代わりに
9168 \begin_layout Standard
9176 \begin_inset Newline newline
9184 \begin_layout Standard
9188 \begin_layout Standard
9189 改頁をしたいセルが最右列にある場合には、
9192 \begin_layout Standard
9202 \begin_layout Standard
9203 というコマンドを当該セルの初めにTeXコードで挿入しなくてはなりません。こうすることで、新規頁部分に表示されるセル内の部分が、正しく全幅を使用するようにできます
9207 \begin_layout Standard
9209 \begin_inset Tabular
9210 <lyxtabular version="3" rows="38" columns="3">
9211 <features rotate="0" islongtable="true" lastFootEmpty="true" longtabularalignment="center">
9212 <column alignment="left" valignment="top" width="0cm">
9213 <column alignment="left" valignment="top" width="3cm">
9214 <column alignment="center" valignment="top" width="0pt">
9215 <row endfirsthead="true" caption="true">
9216 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9219 \begin_layout Plain Layout
9220 \begin_inset Caption Standard
9222 \begin_layout Plain Layout
9224 \begin_inset CommandInset label
9231 \begin_inset Argument 1
9234 \begin_layout Plain Layout
9250 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9253 \begin_layout Plain Layout
9259 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9262 \begin_layout Plain Layout
9269 <row endfirsthead="true">
9270 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9273 \begin_layout Plain Layout
9281 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9284 \begin_layout Plain Layout
9290 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9293 \begin_layout Plain Layout
9300 <row endfirsthead="true">
9301 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9304 \begin_layout Plain Layout
9312 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9315 \begin_layout Plain Layout
9321 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9324 \begin_layout Plain Layout
9333 <row endhead="true">
9334 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9337 \begin_layout Plain Layout
9341 \begin_layout Plain Layout
9359 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9362 \begin_layout Plain Layout
9368 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9371 \begin_layout Plain Layout
9378 <row endhead="true">
9379 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9382 \begin_layout Plain Layout
9388 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9391 \begin_layout Plain Layout
9397 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9400 \begin_layout Plain Layout
9407 <row endhead="true">
9408 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9411 \begin_layout Plain Layout
9419 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9422 \begin_layout Plain Layout
9428 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9431 \begin_layout Plain Layout
9440 <row endfoot="true">
9441 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9444 \begin_layout Plain Layout
9450 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9453 \begin_layout Plain Layout
9459 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9462 \begin_layout Plain Layout
9470 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9473 \begin_layout Plain Layout
9481 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9484 \begin_layout Plain Layout
9490 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9493 \begin_layout Plain Layout
9501 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9504 \begin_layout Plain Layout
9512 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9515 \begin_layout Plain Layout
9521 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9524 \begin_layout Plain Layout
9532 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9535 \begin_layout Plain Layout
9543 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9546 \begin_layout Plain Layout
9552 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9555 \begin_layout Plain Layout
9563 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9566 \begin_layout Plain Layout
9574 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9577 \begin_layout Plain Layout
9583 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9586 \begin_layout Plain Layout
9594 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9597 \begin_layout Plain Layout
9605 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9608 \begin_layout Plain Layout
9614 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9617 \begin_layout Plain Layout
9625 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9628 \begin_layout Plain Layout
9636 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9639 \begin_layout Plain Layout
9645 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9648 \begin_layout Plain Layout
9656 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9659 \begin_layout Plain Layout
9667 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9670 \begin_layout Plain Layout
9676 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9679 \begin_layout Plain Layout
9687 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9690 \begin_layout Plain Layout
9698 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9701 \begin_layout Plain Layout
9707 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9710 \begin_layout Plain Layout
9718 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9721 \begin_layout Plain Layout
9729 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9732 \begin_layout Plain Layout
9738 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9741 \begin_layout Plain Layout
9749 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9752 \begin_layout Plain Layout
9760 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9763 \begin_layout Plain Layout
9769 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9772 \begin_layout Plain Layout
9780 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9783 \begin_layout Plain Layout
9791 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9794 \begin_layout Plain Layout
9800 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9803 \begin_layout Plain Layout
9811 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9814 \begin_layout Plain Layout
9822 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9825 \begin_layout Plain Layout
9831 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9834 \begin_layout Plain Layout
9842 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9845 \begin_layout Plain Layout
9853 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9856 \begin_layout Plain Layout
9862 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9865 \begin_layout Plain Layout
9873 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9876 \begin_layout Plain Layout
9884 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9887 \begin_layout Plain Layout
9893 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9896 \begin_layout Plain Layout
9904 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9907 \begin_layout Plain Layout
9915 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9918 \begin_layout Plain Layout
9924 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9927 \begin_layout Plain Layout
9935 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9938 \begin_layout Plain Layout
9946 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9949 \begin_layout Plain Layout
9955 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9958 \begin_layout Plain Layout
9966 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9969 \begin_layout Plain Layout
9977 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9980 \begin_layout Plain Layout
9986 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9989 \begin_layout Plain Layout
9997 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10000 \begin_layout Plain Layout
10008 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10011 \begin_layout Plain Layout
10017 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10020 \begin_layout Plain Layout
10028 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10031 \begin_layout Plain Layout
10039 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10042 \begin_layout Plain Layout
10048 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10051 \begin_layout Plain Layout
10059 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10062 \begin_layout Plain Layout
10070 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10073 \begin_layout Plain Layout
10079 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10082 \begin_layout Plain Layout
10090 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10093 \begin_layout Plain Layout
10101 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10104 \begin_layout Plain Layout
10110 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10113 \begin_layout Plain Layout
10121 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10124 \begin_layout Plain Layout
10132 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10135 \begin_layout Plain Layout
10141 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10144 \begin_layout Plain Layout
10152 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10155 \begin_layout Plain Layout
10163 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10166 \begin_layout Plain Layout
10168 Fürst von Montecompatri, 11.
10169 Fürst von Sulmona und Vivaro, 10.
10170 Fürst von Rossano, 5.
10171 Herzog von Canemorte, 11.
10172 Herzog von Palombara, 5.
10173 Herzog von Castelchiodato,
10177 \begin_layout Plain Layout
10188 \begin_layout Plain Layout
10196 Herzog von Poggionativo, 11.
10197 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10198 Graf von Valinfreda, 11.
10199 Baron von Cropalati, 11.
10200 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10205 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10208 \begin_layout Plain Layout
10216 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10219 \begin_layout Plain Layout
10227 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10230 \begin_layout Plain Layout
10236 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10239 \begin_layout Plain Layout
10247 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10250 \begin_layout Plain Layout
10258 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10261 \begin_layout Plain Layout
10267 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10270 \begin_layout Plain Layout
10278 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10281 \begin_layout Plain Layout
10289 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10292 \begin_layout Plain Layout
10298 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10301 \begin_layout Plain Layout
10309 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10312 \begin_layout Plain Layout
10320 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10323 \begin_layout Plain Layout
10329 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10332 \begin_layout Plain Layout
10340 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10343 \begin_layout Plain Layout
10351 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10354 \begin_layout Plain Layout
10360 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10363 \begin_layout Plain Layout
10371 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10374 \begin_layout Plain Layout
10382 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10385 \begin_layout Plain Layout
10391 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10394 \begin_layout Plain Layout
10402 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10405 \begin_layout Plain Layout
10413 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10416 \begin_layout Plain Layout
10422 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10425 \begin_layout Plain Layout
10433 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10436 \begin_layout Plain Layout
10444 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10447 \begin_layout Plain Layout
10453 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10456 \begin_layout Plain Layout
10470 \begin_layout Section
10474 \begin_layout Subsection
10476 \begin_inset CommandInset label
10483 \begin_inset Index idx
10486 \begin_layout Plain Layout
10487 ひょうせるないのふくすうぎょう@表セル内の複数行
10493 \begin_inset Index idx
10496 \begin_layout Plain Layout
10505 \begin_layout Standard
10507 \begin_inset Float table
10513 \begin_layout Plain Layout
10514 \begin_inset Caption Standard
10516 \begin_layout Plain Layout
10517 \begin_inset CommandInset label
10531 \begin_layout Plain Layout
10533 \begin_inset Tabular
10534 <lyxtabular version="3" rows="3" columns="3">
10535 <features rotate="0" tabularvalignment="middle">
10536 <column alignment="center" valignment="middle" width="2.5cm">
10537 <column alignment="center" valignment="middle" width="0">
10538 <column alignment="center" valignment="middle" width="0">
10540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10543 \begin_layout Plain Layout
10545 \begin_inset Newline linebreak
10553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10556 \begin_layout Plain Layout
10562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10565 \begin_layout Plain Layout
10573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10576 \begin_layout Plain Layout
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" bottomline="true" leftline="true" usebox="none">
10605 \begin_layout Plain Layout
10611 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10614 \begin_layout Plain Layout
10620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10623 \begin_layout Plain Layout
10642 \begin_layout Standard
10643 列に固定幅を指定することによって、文章をハイフネーションを伴った複数行の段落として、入れることができるようになります。
10646 \begin_layout Standard
10648 \begin_inset CommandInset ref
10650 reference "tab:複数行表"
10654 を生成するには、まず3×3表を作り、最初のセルを右クリックして現れるメニューから、
10658 メニューを選択します。すると表ダイアログが現れるので、セル幅を2.5
10659 \begin_inset space \thinspace{}
10662 cm幅とし、水平揃え及び垂直揃えをともに中央揃えに設定します。垂直揃えは、その行のすべてのセルに適用されます。この例の文章は2.5
10663 \begin_inset space \thinspace{}
10666 cmよりも短いため、一行しか表示されません。そこで二行とも表示するために、両端揃え改行(短絡キー
10669 arg "newline-insert linebreak"
10672 )を挿入してあります。もし文章が設定されたセル幅よりも広い場合には、文章は自動的にいくつかの行に改行されます。
10675 \begin_layout Standard
10676 固定幅のセルに長い単語を入れた場合、もしそれがセルの最初にあると、LaTeXはハイフネーションを行うことができません。したがって、その単語がセルの最初に来ないよ
10677 うにするためには、何かを入れなくてはなりません。そこで、その単語の前に0
10678 \begin_inset space \thinspace{}
10681 pt幅の水平空白を挿入します。空白がゼロ幅なので、出力は変わりません。表
10682 \begin_inset CommandInset ref
10684 reference "tab:ハイフネーション表"
10692 \begin_layout Plain Layout
10697 pLaTeXを使用している場合、日本語の文章は正しく改行されます。
10705 \begin_layout Standard
10706 \begin_inset Float table
10712 \begin_layout Plain Layout
10713 \begin_inset Caption Standard
10715 \begin_layout Plain Layout
10716 \begin_inset CommandInset label
10718 name "tab:ハイフネーション表"
10730 \begin_layout Plain Layout
10731 \begin_inset space \hfill{}
10735 \begin_inset Tabular
10736 <lyxtabular version="3" rows="3" columns="3">
10737 <features rotate="0" tabularvalignment="middle">
10738 <column alignment="center" valignment="middle" width="2.5cm">
10739 <column alignment="center" valignment="middle" width="0">
10740 <column alignment="center" valignment="middle" width="0">
10742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10745 \begin_layout Plain Layout
10746 verylongtablecellword
10751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10754 \begin_layout Plain Layout
10760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10763 \begin_layout Plain Layout
10771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10774 \begin_layout Plain Layout
10780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10783 \begin_layout Plain Layout
10789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10792 \begin_layout Plain Layout
10800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10803 \begin_layout Plain Layout
10809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10812 \begin_layout Plain Layout
10818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10821 \begin_layout Plain Layout
10833 \begin_inset space \hfill{}
10837 \begin_inset Tabular
10838 <lyxtabular version="3" rows="3" columns="3">
10839 <features rotate="0" tabularvalignment="middle">
10840 <column alignment="center" valignment="middle" width="2.5cm">
10841 <column alignment="center" valignment="middle" width="0">
10842 <column alignment="center" valignment="middle" width="0">
10844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10847 \begin_layout Plain Layout
10848 \begin_inset space \hspace{}
10852 verylongtablecellword
10857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10860 \begin_layout Plain Layout
10866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10869 \begin_layout Plain Layout
10877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10880 \begin_layout Plain Layout
10886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10889 \begin_layout Plain Layout
10895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10898 \begin_layout Plain Layout
10906 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10909 \begin_layout Plain Layout
10915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10918 \begin_layout Plain Layout
10924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10927 \begin_layout Plain Layout
10939 \begin_inset space \hfill{}
10950 \begin_layout Subsection
10952 \begin_inset CommandInset label
10959 \begin_inset Index idx
10962 \begin_layout Plain Layout
10969 \begin_inset Index idx
10972 \begin_layout Plain Layout
10981 \begin_layout Subsubsection
10985 \begin_layout Standard
10986 一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
10989 arg "inset-modify tabular multicolumn"
10994 編集\SpecialChar \menuseparator
10995 表\SpecialChar \menuseparator
10998 メニューを使用するか、あるいは選択したセルを右クリックして現れるメニューから
11005 \begin_layout Standard
11006 連結列はセル設定が独立しています。つまり、セル罫線やセルの縦横揃え、幅設定等を変更した場合には、現在の連結列のみに適用されるのです。以下は、第一行に連結行があり
11007 、最下行に上罫線のない連結行がある表の例です。
11010 \begin_layout Standard
11012 \begin_inset Tabular
11013 <lyxtabular version="3" rows="3" columns="4">
11014 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11015 <column alignment="center" valignment="top" width="0pt">
11016 <column alignment="center" valignment="middle" width="0">
11017 <column alignment="center" valignment="top" width="0in">
11018 <column alignment="center" valignment="top" width="0pt">
11020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11023 \begin_layout Plain Layout
11029 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11032 \begin_layout Plain Layout
11038 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11041 \begin_layout Plain Layout
11047 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11050 \begin_layout Plain Layout
11058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11061 \begin_layout Plain Layout
11067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11070 \begin_layout Plain Layout
11076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11079 \begin_layout Plain Layout
11085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11088 \begin_layout Plain Layout
11096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11099 \begin_layout Plain Layout
11105 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11108 \begin_layout Plain Layout
11114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11117 \begin_layout Plain Layout
11123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11126 \begin_layout Plain Layout
11140 \begin_layout Subsubsection
11142 \begin_inset CommandInset label
11149 \begin_inset Index idx
11152 \begin_layout Plain Layout
11153 れんけつれつ@連結列 ! けいさん@計算
11161 \begin_layout Standard
11162 LyXは、連結列を直接にサポートしていますが、同列にある連結セル以外のセル幅については、考慮が必要です。
11165 \begin_layout Standard
11166 \begin_inset Float table
11172 \begin_layout Plain Layout
11173 \begin_inset Caption Standard
11175 \begin_layout Plain Layout
11176 \begin_inset CommandInset label
11182 中央揃え連結列の下にちょうど半分の幅を持つ列が2つある表
11183 \begin_inset Argument 1
11186 \begin_layout Plain Layout
11200 \begin_layout Plain Layout
11202 \begin_inset Tabular
11203 <lyxtabular version="3" rows="3" columns="3">
11204 <features rotate="0" tabularvalignment="middle">
11205 <column alignment="center" valignment="middle" width="1.25cm" special=">{\centering}m{1.25cm-6.2pt}">
11206 <column alignment="center" valignment="middle" width="0">
11207 <column alignment="center" valignment="top" width="0">
11209 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="2.5cm" special=">{\centering}m{2.5cm}">
11212 \begin_layout Plain Layout
11218 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11221 \begin_layout Plain Layout
11227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11230 \begin_layout Plain Layout
11238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11241 \begin_layout Plain Layout
11247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11250 \begin_layout Plain Layout
11256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11259 \begin_layout Plain Layout
11267 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11270 \begin_layout Plain Layout
11276 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11279 \begin_layout Plain Layout
11285 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11288 \begin_layout Plain Layout
11307 \begin_layout Standard
11309 \begin_inset CommandInset ref
11311 reference "tab:中央揃え表"
11315 を生成するには、3×3表の第一行の最初の二つのセルを選択して、右クリックして現れるメニューから
11319 を選択します。そして現れる表の設定ダイアログで、このセルを
11328 \begin_inset space \thinspace{}
11331 cm幅に設定します。被連結列のセルが連結列セルのちょうど半分の幅になるようにしたいので、第一列の幅を1.25
11332 \begin_inset space \thinspace{}
11335 cm幅に設定します。すると第二列は自動的に1.25
11336 \begin_inset space \thinspace{}
11339 cm幅(連結列幅マイナス第一列の幅)になります。表
11340 \begin_inset CommandInset ref
11342 reference "tab:半分でない表"
11349 \begin_layout Standard
11350 \begin_inset Float table
11355 \begin_layout Plain Layout
11356 \begin_inset Caption Standard
11358 \begin_layout Plain Layout
11359 \begin_inset CommandInset label
11365 連結セルの下の列が正確に半分になっていない表
11366 \begin_inset Argument 1
11369 \begin_layout Plain Layout
11383 \begin_layout Plain Layout
11385 \begin_inset Tabular
11386 <lyxtabular version="3" rows="3" columns="3">
11387 <features rotate="0" tabularvalignment="middle">
11388 <column alignment="center" valignment="top" width="1.25cm">
11389 <column alignment="center" valignment="top" width="0">
11390 <column alignment="center" valignment="top" width="0">
11392 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11395 \begin_layout Plain Layout
11401 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11404 \begin_layout Plain Layout
11410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11413 \begin_layout Plain Layout
11421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11424 \begin_layout Plain Layout
11430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11433 \begin_layout Plain Layout
11439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11442 \begin_layout Plain Layout
11450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11453 \begin_layout Plain Layout
11459 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11462 \begin_layout Plain Layout
11468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11471 \begin_layout Plain Layout
11490 \begin_layout Standard
11491 ご覧になって分かるように、第一列が、連結セルの幅の半分よりも少し大きくなっています。その原因は、セル幅が、指定された幅よりもつねに少しだけ大きく描かれるために、
11493 \begin_inset Formula $W_{\mbox{指}}$
11497 \begin_inset Formula $W_{\text{全}}$
11501 \begin_inset CommandInset ref
11503 reference "cha:式の説明"
11510 \begin_layout Standard
11516 \begin_inset Formula $W_{\mbox{全}:\mbox{連結}}/n$
11520 \begin_inset Formula $W_{\mbox{指}:n}$
11524 \begin_inset Formula
11526 W_{\mbox{指}:n}=(W_{\mbox{指}:\text{連結列}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
11534 \begin_layout Standard
11535 で計算することができます。上記の例では
11536 \begin_inset Formula $n=2$
11540 \begin_inset Formula $W_{\text{指}:\mbox{連結列}}=2.5\,$
11544 \begin_inset CommandInset ref
11551 \begin_inset Formula
11553 W_{\text{指}:2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
11561 \begin_layout Standard
11562 となります。LaTeX中で計算を可能にするには、文書プリアンブル行に
11565 \begin_layout Standard
11573 \begin_layout Standard
11579 \begin_inset Index idx
11582 \begin_layout Plain Layout
11583 LaTeXぱっけーじ@LaTeXパッケージ ! calc
11588 を読み込まなくてはなりません。LyXの「表の設定」ダイアログの幅フィールドでは、長さを計算することができません。したがって、ダイアログのLaTeXの引数欄に書き
11589 込むことによって列を整形しなくてはなりません。以下は、その引数の概要です。
11592 \begin_layout Itemize
11597 は固定幅セルを生成し、内容文は垂直方向上揃えになります。
11600 \begin_layout Itemize
11605 は固定幅セルを生成し、内容文は垂直方向中央揃えになります。
11608 \begin_layout Itemize
11613 は固定幅セルを生成し、内容文は垂直方向下揃えになります。
11616 \begin_layout Standard
11617 LaTeX変数を入力すると、表ダイアログで設定されたすべてのセル設定は無効になります。
11620 \begin_layout Standard
11621 \begin_inset Note Greyedout
11624 \begin_layout Plain Layout
11629 バグのせいで、LyXは無効にされた設定も表示してしまいます。
11637 \begin_layout Standard
11644 コマンドを入れます。したがって、以下のようなLaTeX変数を、最初の被連結列に入れます。
11647 \begin_layout Standard
11652 centering}m{1.25cm-6.2pt}
11655 \begin_layout Standard
11660 コマンドは、セルが生成される前に中括弧内のコマンドを適用するという意味です。
11663 \begin_layout Standard
11664 こうして被連結列セルの文章に、中央揃えを選択しましたが、連結セルの文章は依然として左揃えになっています。これは、LyXは揃えを一列分のみに適用するためです。した
11668 \begin_layout Standard
11676 \begin_layout Standard
11677 というLaTeX変数を指定しなくてはなりません。
11680 \begin_layout Subsection
11682 \begin_inset CommandInset label
11689 \begin_inset Index idx
11692 \begin_layout Plain Layout
11699 \begin_inset Index idx
11702 \begin_layout Plain Layout
11703 ひょう@表 ! れんけつぎょう@連結行
11711 \begin_layout Standard
11712 複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
11715 arg "inset-modify tabular multirow"
11720 編集\SpecialChar \menuseparator
11721 表\SpecialChar \menuseparator
11724 を選ぶか、選択したセルを右クリックして、コンテクストメニューから
11726 \SpecialChar \menuseparator
11732 \begin_layout Standard
11733 下記は一列目に連結列を適用した表の例です。
11736 \begin_layout Standard
11738 \begin_inset Tabular
11739 <lyxtabular version="3" rows="3" columns="3">
11740 <features rotate="0" tabularvalignment="middle">
11741 <column alignment="center" valignment="top" width="0pt">
11742 <column alignment="center" valignment="top" width="0">
11743 <column alignment="center" valignment="top" width="0">
11745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11748 \begin_layout Plain Layout
11754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11757 \begin_layout Plain Layout
11763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11766 \begin_layout Plain Layout
11774 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11777 \begin_layout Plain Layout
11783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11786 \begin_layout Plain Layout
11792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11795 \begin_layout Plain Layout
11803 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11806 \begin_layout Plain Layout
11812 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11815 \begin_layout Plain Layout
11821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11824 \begin_layout Plain Layout
11838 \begin_layout Standard
11839 連結列の幅は、列全体の幅と揃えを設定することによって設定することができます。
11843 は、正または負の値を与えると、連結列の内容を上下にシフトします。
11846 \begin_layout Standard
11847 連結行セルの列に明示的な幅が与えられていない場合、連結行セルは当該列の揃えを継承します。それもなければ左揃えです。既定値を上書きするには、
11850 \begin_layout Standard
11862 \begin_layout Standard
11869 を書き換えて下さい。すると、文書中の連結行の中身が、すべて中央揃えになります。もしいくつかの表だけ中央揃えにしたいのであれば、プリアンブルではなく表の直前にTe
11870 Xコードボックスを入れて、このコマンドを書き換えれば済みます。文章を右揃えにしたい場合には、
11891 \begin_layout Standard
11892 下記は、-4ミリの垂直オフセットを設定し、3センチ幅の列中にある右揃えの連結列セルがある表の例です。
11895 \begin_layout Standard
11901 \begin_layout Plain Layout
11915 \begin_inset Tabular
11916 <lyxtabular version="3" rows="4" columns="3">
11917 <features rotate="0" tabularvalignment="middle">
11918 <column alignment="center" valignment="top" width="3cm">
11919 <column alignment="center" valignment="top" width="0">
11920 <column alignment="center" valignment="top" width="0">
11922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11925 \begin_layout Plain Layout
11931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11934 \begin_layout Plain Layout
11940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11943 \begin_layout Plain Layout
11951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11954 \begin_layout Plain Layout
11960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11963 \begin_layout Plain Layout
11969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11972 \begin_layout Plain Layout
11980 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11983 \begin_layout Plain Layout
11989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11992 \begin_layout Plain Layout
11998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12001 \begin_layout Plain Layout
12009 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12012 \begin_layout Plain Layout
12018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12021 \begin_layout Plain Layout
12027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12030 \begin_layout Plain Layout
12045 \begin_layout Plain Layout
12061 \begin_layout Standard
12064 To start a new line in a multirow you can use a forced line break (shortcut
12068 arg "newline-insert newline"
12071 ) but this will not respect the cell lines as demonstrated in this table:
12074 \begin_layout Standard
12079 \begin_inset Tabular
12080 <lyxtabular version="3" rows="3" columns="2">
12081 <features rotate="0" tabularvalignment="middle">
12082 <column alignment="left" valignment="middle" width="2cm">
12083 <column alignment="center" valignment="top" width="0">
12085 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12088 \begin_layout Plain Layout
12092 \begin_inset Newline newline
12096 \begin_inset Newline newline
12104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12107 \begin_layout Plain Layout
12117 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12120 \begin_layout Plain Layout
12126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12129 \begin_layout Plain Layout
12139 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12142 \begin_layout Plain Layout
12150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12153 \begin_layout Plain Layout
12169 \begin_layout Standard
12172 Therefore be careful with forced line breaks.
12175 \begin_layout Subsection
12178 Cells with diagonal line(s)
12181 \begin_layout Standard
12184 To tell the reader what is meant by column and row headings in a table,
12185 it is helpful to split the first cell of the table by one or two diagonal
12187 This can be achieved by loading the LaTeX-package
12193 \begin_inset Index idx
12196 \begin_layout Plain Layout
12197 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
12204 in the document preamble.
12205 The package provides the command
12211 that is inserted as TeX-Code and that can take 2 or 3
12212 \begin_inset space ~
12218 \begin_layout Standard
12224 diagbox[options]{lower left}{upper right}
12227 \begin_layout Standard
12233 diagbox[options]{lower left}{upper left}{upper right}
12236 \begin_layout Standard
12239 The first scheme divides the cell by a single diagonal line and the arguments
12240 are placed below and above this line.
12241 The second scheme divides the cell by 2
12242 \begin_inset space ~
12248 \begin_layout Standard
12252 \begin_layout Plain Layout
12262 \begin_inset Note Note
12265 \begin_layout Plain Layout
12278 \begin_layout Standard
12281 Here is an example table where
12287 is used in the 2-argument scheme in the first cell:
12288 \begin_inset VSpace medskip
12294 \begin_layout Standard
12298 \begin_inset Tabular
12299 <lyxtabular version="3" rows="4" columns="4">
12300 <features rotate="0" tabularvalignment="middle">
12301 <column alignment="center" valignment="top" width="0">
12302 <column alignment="center" valignment="top" width="0">
12303 <column alignment="center" valignment="top" width="0">
12304 <column alignment="center" valignment="top" width="0">
12306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12309 \begin_layout Plain Layout
12315 \begin_layout Plain Layout
12328 \begin_layout Plain Layout
12339 \begin_layout Plain Layout
12351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12354 \begin_layout Plain Layout
12362 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12365 \begin_layout Plain Layout
12373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12376 \begin_layout Plain Layout
12386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12389 \begin_layout Plain Layout
12397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12400 \begin_layout Plain Layout
12408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12411 \begin_layout Plain Layout
12419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12422 \begin_layout Plain Layout
12432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12435 \begin_layout Plain Layout
12443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12446 \begin_layout Plain Layout
12454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12457 \begin_layout Plain Layout
12465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12468 \begin_layout Plain Layout
12478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12481 \begin_layout Plain Layout
12489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12492 \begin_layout Plain Layout
12500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12503 \begin_layout Plain Layout
12511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12514 \begin_layout Plain Layout
12528 \begin_inset VSpace medskip
12534 \begin_layout Standard
12537 The 3-argument scheme is for example useful for cross-tables of sports leagues
12541 \begin_layout Standard
12546 \begin_inset Tabular
12547 <lyxtabular version="3" rows="4" columns="4">
12548 <features rotate="0" tabularvalignment="middle">
12549 <column alignment="center" valignment="top" width="0pt">
12550 <column alignment="center" valignment="top" width="0">
12551 <column alignment="center" valignment="top" width="0">
12552 <column alignment="center" valignment="top" width="0">
12554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12557 \begin_layout Plain Layout
12563 \begin_layout Plain Layout
12576 \begin_layout Plain Layout
12587 \begin_layout Plain Layout
12598 \begin_layout Plain Layout
12610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12613 \begin_layout Plain Layout
12621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12624 \begin_layout Plain Layout
12632 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12635 \begin_layout Plain Layout
12645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12648 \begin_layout Plain Layout
12656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12659 \begin_layout Plain Layout
12667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12670 \begin_layout Plain Layout
12678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12681 \begin_layout Plain Layout
12691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12694 \begin_layout Plain Layout
12702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12705 \begin_layout Plain Layout
12713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12716 \begin_layout Plain Layout
12724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12727 \begin_layout Plain Layout
12737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12740 \begin_layout Plain Layout
12748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12751 \begin_layout Plain Layout
12759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12762 \begin_layout Plain Layout
12770 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12773 \begin_layout Plain Layout
12789 \begin_layout Standard
12792 For larger cross-tables one might use split cells in 2 or every corner of
12793 the table like in this example:
12796 \begin_layout Standard
12801 \begin_inset Tabular
12802 <lyxtabular version="3" rows="5" columns="5">
12803 <features rotate="0" tabularvalignment="middle">
12804 <column alignment="center" valignment="top" width="0pt">
12805 <column alignment="center" valignment="top" width="0">
12806 <column alignment="center" valignment="top" width="0">
12807 <column alignment="center" valignment="top" width="0">
12808 <column alignment="center" valignment="top" width="0">
12810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12813 \begin_layout Plain Layout
12819 \begin_layout Plain Layout
12832 \begin_layout Plain Layout
12843 \begin_layout Plain Layout
12854 \begin_layout Plain Layout
12866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12869 \begin_layout Plain Layout
12877 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12880 \begin_layout Plain Layout
12888 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12891 \begin_layout Plain Layout
12899 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
12902 \begin_layout Plain Layout
12908 \begin_layout Plain Layout
12921 \begin_layout Plain Layout
12932 \begin_layout Plain Layout
12943 \begin_layout Plain Layout
12957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12960 \begin_layout Plain Layout
12968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12971 \begin_layout Plain Layout
12979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12982 \begin_layout Plain Layout
12990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12993 \begin_layout Plain Layout
13001 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13004 \begin_layout Plain Layout
13014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13017 \begin_layout Plain Layout
13025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13028 \begin_layout Plain Layout
13036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13039 \begin_layout Plain Layout
13047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13050 \begin_layout Plain Layout
13058 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13061 \begin_layout Plain Layout
13071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13074 \begin_layout Plain Layout
13082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13085 \begin_layout Plain Layout
13093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13096 \begin_layout Plain Layout
13104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13107 \begin_layout Plain Layout
13115 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13118 \begin_layout Plain Layout
13128 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13131 \begin_layout Plain Layout
13137 \begin_layout Plain Layout
13150 \begin_layout Plain Layout
13161 \begin_layout Plain Layout
13172 \begin_layout Plain Layout
13184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13187 \begin_layout Plain Layout
13195 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13198 \begin_layout Plain Layout
13206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13209 \begin_layout Plain Layout
13217 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13220 \begin_layout Plain Layout
13226 \begin_layout Plain Layout
13239 \begin_layout Plain Layout
13250 \begin_layout Plain Layout
13261 \begin_layout Plain Layout
13281 \begin_layout Standard
13284 To rotate the diagonal lines, the command option
13309 and represent a point of a compass.
13314 is for example the south-west corner.
13315 Thus in the lower left cell of the above table the command
13318 \begin_layout Standard
13324 diagbox[dir=SW]{Team home}{Result}{Team away}
13327 \begin_layout Standard
13331 If no direction is given, it will be NW.
13334 \begin_layout Standard
13337 The necessary width of split cells is automatically calculated.
13338 Thus if you set a fixed column width smaller than the calculated one, the
13339 cell's content will protrude the cell borders:
13342 \begin_layout Standard
13347 \begin_inset Tabular
13348 <lyxtabular version="3" rows="2" columns="2">
13349 <features rotate="0" tabularvalignment="middle">
13350 <column alignment="center" valignment="top" width="3cm">
13351 <column alignment="center" valignment="top" width="0">
13353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13356 \begin_layout Plain Layout
13362 \begin_layout Plain Layout
13375 \begin_layout Plain Layout
13386 \begin_layout Plain Layout
13398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13401 \begin_layout Plain Layout
13411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13414 \begin_layout Plain Layout
13422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13425 \begin_layout Plain Layout
13441 \begin_layout Standard
13444 If you need a certain width for columns with a split cell, use the command
13449 (replace '3cm' by the width you need).
13450 In the following table the width of the first column is set to 4
13451 \begin_inset space \thinspace{}
13462 \begin_inset space \thinspace{}
13466 \begin_inset space \thinspace{}
13471 tabcolsep is necessary because the overall width is the width for the text
13472 (in this case the 4
13473 \begin_inset space \thinspace{}
13476 cm) plus two times the separation of the text and the cell border.
13477 The calculation of the width cannot be done in the command option of
13483 so one needs to create a new length which can be used later.
13484 This is done with the TeX-Code commands
13487 \begin_layout Standard
13495 \begin_inset Newline newline
13507 \begin_layout Standard
13511 \begin_layout Plain Layout
13520 \begin_layout Plain Layout
13536 \begin_layout Standard
13539 To enable calculations in LaTeX one needs to load the package
13545 \begin_inset Index idx
13548 \begin_layout Plain Layout
13549 LaTeXぱっけーじ@LaTeXパッケージ ! calc
13556 in the document preamble.
13559 \begin_layout Standard
13562 In this table you can now use the command
13565 \begin_layout Standard
13576 \begin_layout Standard
13582 \begin_layout Standard
13587 \begin_inset Tabular
13588 <lyxtabular version="3" rows="2" columns="2">
13589 <features rotate="0" tabularvalignment="middle">
13590 <column alignment="center" valignment="top" width="4cm">
13591 <column alignment="center" valignment="top" width="0">
13593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13596 \begin_layout Plain Layout
13602 \begin_layout Plain Layout
13617 \begin_layout Plain Layout
13628 \begin_layout Plain Layout
13640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13643 \begin_layout Plain Layout
13653 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13656 \begin_layout Plain Layout
13664 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13667 \begin_layout Plain Layout
13683 \begin_layout Standard
13686 Note that the split cell needs to be the widest one in the column.
13687 Otherwise the length of the diagonal line cannot be calculated correctly
13688 like in this table:
13691 \begin_layout Standard
13696 \begin_inset Tabular
13697 <lyxtabular version="3" rows="2" columns="2">
13698 <features rotate="0" tabularvalignment="middle">
13699 <column alignment="center" valignment="top" width="0pt">
13700 <column alignment="center" valignment="top" width="0">
13702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13705 \begin_layout Plain Layout
13711 \begin_layout Plain Layout
13724 \begin_layout Plain Layout
13735 \begin_layout Plain Layout
13747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13750 \begin_layout Plain Layout
13760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13763 \begin_layout Plain Layout
13771 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13774 \begin_layout Plain Layout
13790 \begin_layout Standard
13793 In this case use the
13804 It is then not necessary to add 2
13806 tabcolsep because the cell width is now the width of the column.
13807 In this table a width of 3
13808 \begin_inset space \thinspace{}
13814 \begin_layout Standard
13819 \begin_inset Tabular
13820 <lyxtabular version="3" rows="2" columns="2">
13821 <features rotate="0" tabularvalignment="middle">
13822 <column alignment="center" valignment="top" width="0pt">
13823 <column alignment="center" valignment="top" width="0">
13825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13828 \begin_layout Plain Layout
13834 \begin_layout Plain Layout
13838 diagbox[width=3cm]{
13847 \begin_layout Plain Layout
13858 \begin_layout Plain Layout
13870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13873 \begin_layout Plain Layout
13883 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13886 \begin_layout Plain Layout
13894 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13897 \begin_layout Plain Layout
13913 \begin_layout Standard
13916 For multiple text lines in split cells one needs some extra height to fit
13917 the text to the cell.
13918 This can be achieved with the
13928 (replace '3cm' by the height you need).
13929 In the following table the command
13932 \begin_layout Standard
13938 diagbox[width=3cm,height=1.4cm]{A
13949 \begin_layout Standard
13952 is used in the first cell.
13961 creates hereby the line break.
13965 \begin_layout Plain Layout
13968 Breaking lines with
13972 is only possible when the column has a fixed width.
13980 \begin_layout Standard
13985 \begin_inset Tabular
13986 <lyxtabular version="3" rows="2" columns="2">
13987 <features rotate="0" tabularvalignment="middle">
13988 <column alignment="center" valignment="top" width="0">
13989 <column alignment="center" valignment="top" width="0">
13991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13994 \begin_layout Plain Layout
14000 \begin_layout Plain Layout
14004 diagbox[width=3cm,height=1.4cm]{
14013 \begin_layout Plain Layout
14028 \begin_layout Plain Layout
14039 \begin_layout Plain Layout
14054 \begin_layout Plain Layout
14066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14069 \begin_layout Plain Layout
14079 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14082 \begin_layout Plain Layout
14090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14093 \begin_layout Plain Layout
14109 \begin_layout Standard
14113 \begin_layout Plain Layout
14123 \begin_inset Note Note
14126 \begin_layout Plain Layout
14139 \begin_layout Standard
14144 パッケージを導入しなくてはなりません。
14147 \begin_layout Standard
14151 \begin_layout Plain Layout
14163 \begin_layout Standard
14166 For more info about the LaTeX-package
14170 , see its documentation
14173 \begin_inset CommandInset citation
14182 \begin_layout Section
14184 \begin_inset CommandInset label
14186 name "sec:フォーマル形式の表"
14191 \begin_inset Index idx
14194 \begin_layout Plain Layout
14195 ひょう@表 ! ふぉーまるけいしき@フォーマル形式
14203 \begin_layout Standard
14205 \begin_inset CommandInset ref
14207 reference "tab:ブックタブ表の例"
14211 のように組版されます。この種の表は、「
14215 」と呼ばれます。表をフォーマル形式にするには、表の設定ダイアログの罫線タブでフォーマル形式オプションを有効にして下さい。
14218 \begin_layout Standard
14219 \begin_inset Float table
14225 \begin_layout Plain Layout
14226 \begin_inset Caption Standard
14228 \begin_layout Plain Layout
14229 \begin_inset CommandInset label
14231 name "tab:ブックタブ表の例"
14243 \begin_layout Plain Layout
14245 \begin_inset Tabular
14246 <lyxtabular version="3" rows="8" columns="4">
14247 <features rotate="0" booktabs="true" tabularvalignment="middle">
14248 <column alignment="center" valignment="top" width="0">
14249 <column alignment="center" valignment="top" width="0">
14250 <column alignment="center" valignment="top" width="0">
14251 <column alignment="center" valignment="top" width="0">
14253 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14256 \begin_layout Plain Layout
14262 <cell alignment="center" valignment="top" topline="true" usebox="none">
14265 \begin_layout Plain Layout
14267 \begin_inset space \thinspace{}
14275 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14278 \begin_layout Plain Layout
14280 \begin_inset space \thinspace{}
14288 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14291 \begin_layout Plain Layout
14299 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14302 \begin_layout Plain Layout
14306 \begin_layout Plain Layout
14319 \begin_layout Plain Layout
14333 <cell alignment="center" valignment="top" usebox="none">
14336 \begin_layout Plain Layout
14342 <cell alignment="center" valignment="top" usebox="none">
14345 \begin_layout Plain Layout
14351 <cell alignment="center" valignment="top" usebox="none">
14354 \begin_layout Plain Layout
14362 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14365 \begin_layout Plain Layout
14371 <cell alignment="center" valignment="top" topline="true" usebox="none">
14374 \begin_layout Plain Layout
14380 <cell alignment="center" valignment="top" topline="true" usebox="none">
14383 \begin_layout Plain Layout
14389 <cell alignment="center" valignment="top" topline="true" usebox="none">
14392 \begin_layout Plain Layout
14399 <row topspace="default">
14400 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14403 \begin_layout Plain Layout
14409 <cell alignment="center" valignment="top" usebox="none">
14412 \begin_layout Plain Layout
14418 <cell alignment="center" valignment="top" usebox="none">
14421 \begin_layout Plain Layout
14427 <cell alignment="center" valignment="top" usebox="none">
14430 \begin_layout Plain Layout
14437 <row topspace="default">
14438 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14441 \begin_layout Plain Layout
14442 \begin_inset Formula $f_{\mathrm{max}}$
14450 <cell alignment="center" valignment="top" usebox="none">
14453 \begin_layout Plain Layout
14459 <cell alignment="center" valignment="top" usebox="none">
14462 \begin_layout Plain Layout
14468 <cell alignment="center" valignment="top" usebox="none">
14471 \begin_layout Plain Layout
14478 <row topspace="default">
14479 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14482 \begin_layout Plain Layout
14486 \begin_layout Plain Layout
14490 cmidrule(l{10pt}){1-1}
14500 <cell alignment="center" valignment="top" usebox="none">
14503 \begin_layout Plain Layout
14509 <cell alignment="center" valignment="top" usebox="none">
14512 \begin_layout Plain Layout
14518 <cell alignment="center" valignment="top" usebox="none">
14521 \begin_layout Plain Layout
14529 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14532 \begin_layout Plain Layout
14538 <cell alignment="center" valignment="top" usebox="none">
14541 \begin_layout Plain Layout
14547 <cell alignment="center" valignment="top" usebox="none">
14550 \begin_layout Plain Layout
14556 <cell alignment="center" valignment="top" usebox="none">
14559 \begin_layout Plain Layout
14567 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14570 \begin_layout Plain Layout
14576 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14579 \begin_layout Plain Layout
14585 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14588 \begin_layout Plain Layout
14594 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
14597 \begin_layout Plain Layout
14616 \begin_layout Standard
14618 \begin_inset CommandInset ref
14620 reference "sub:行の余白取り"
14624 節に述べられているように、表の設定ダイアログの
14631 \begin_layout Standard
14632 通常の表と違って、フォーマル形式の表には縦罫線がありません。表の横罫線は、通常の表と同様に指定することができますが、出力でこれらの線幅は異なります。
14633 \begin_inset Newline newline
14637 \begin_inset space \thinspace{}
14640 emですが、他の罫線の既定幅は0.05
14641 \begin_inset space \thinspace{}
14647 \begin_layout Standard
14648 これらの既定幅は、以下のプリアンブル行を指定することによって変更することができます。
14651 \begin_layout Standard
14661 \begin_inset Newline newline
14673 \begin_layout Standard
14678 という最初の罫線を設定しています。最後の罫線の線幅を変更するには、
14686 に置き換えて下さい。他の罫線の線幅を変更するには、
14694 に置き換えます。線幅を設定する上では、付録
14695 \begin_inset CommandInset ref
14697 reference "cha:LyXで使用できる単位"
14701 に挙げてあるすべての単位を使用することができます。
14704 \begin_layout Standard
14705 全列にまたがらない罫線は、連結列セルに罫線を指定することで作成することができます。LyXは、内部的に
14711 コマンドを使用して、このような罫線を引きます。このコマンドの完全な書式は
14714 \begin_layout Standard
14719 cmidrule[幅](刈込){開始列-終了列}
14722 \begin_layout Standard
14729 のオプションは、現在のところLyXがサポートしていないので、オプションを使用するためには、TeXコードを使わなくてはなりません。
14735 は、行の第一列の中に、最初にTeXコードでこのコマンドを入れることによって、手動で指定することができます。この罫線は、出力では現在行の上に引かれることになります
14739 \begin_layout Standard
14741 \begin_inset space \thinspace{}
14744 emです。「開始列」は罫線を開始する列番号で、「終了列」は罫線を終了する列番号です。終了列は、罫線を一列だけに引きたいときも含めて、常に指定しなくてはなりません
14753 の値を取り、刈込幅の指定は非必須です。たとえば、
14757 というパラメーターを使うと、罫線が左端から2
14758 \begin_inset space \thinspace{}
14761 ptだけ刈り込まれます。刈込幅を指定しないと、罫線は既定値の0.5
14762 \begin_inset space \thinspace{}
14768 \begin_layout Standard
14769 \begin_inset VSpace bigskip
14773 \begin_inset CommandInset ref
14775 reference "tab:ブックタブ表の例"
14782 \begin_layout Standard
14792 \begin_layout Standard
14793 というコマンドを第二行の初めに使用し、
14796 \begin_layout Standard
14801 cmidrule(l{10pt}){1-1}
14804 \begin_layout Standard
14808 \begin_layout Standard
14809 \begin_inset VSpace bigskip
14815 \begin_layout Standard
14817 \begin_inset CommandInset ref
14819 reference "tab:特殊なブックタブ表"
14829 が欲しいことがあるかもしれません。これは、TeXコードで
14832 \begin_layout Standard
14840 \begin_layout Standard
14841 コマンドを使用することによって実現することができます。表
14842 \begin_inset CommandInset ref
14844 reference "tab:特殊なブックタブ表"
14851 \begin_layout Standard
14865 \begin_layout Standard
14866 というコマンドが使用されており、第六列には
14869 \begin_layout Standard
14881 \begin_layout Standard
14885 \begin_layout Standard
14886 \begin_inset VSpace bigskip
14892 \begin_layout Standard
14893 罫線の余白取りにどうしても満足が行かない場合には、
14896 \begin_layout Standard
14901 specialrule{幅}{上余白}{下余白}
14904 \begin_layout Standard
14905 というコマンドを使用すれば、全列にわたる罫線を生成することができます。これらの特殊機能については、LaTeXパッケージ
14910 \begin_inset CommandInset citation
14917 \begin_inset Index idx
14920 \begin_layout Plain Layout
14921 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
14929 \begin_layout Standard
14930 \begin_inset Float table
14936 \begin_layout Plain Layout
14937 \begin_inset Caption Standard
14939 \begin_layout Plain Layout
14940 \begin_inset CommandInset label
14942 name "tab:特殊なブックタブ表"
14954 \begin_layout Plain Layout
14956 \begin_inset Tabular
14957 <lyxtabular version="3" rows="8" columns="4">
14958 <features rotate="0" booktabs="true" tabularvalignment="middle">
14959 <column alignment="center" valignment="top" width="0">
14960 <column alignment="center" valignment="top" width="0">
14961 <column alignment="center" valignment="top" width="0">
14962 <column alignment="center" valignment="top" width="0">
14964 <cell alignment="center" valignment="top" topline="true" usebox="none">
14967 \begin_layout Plain Layout
14973 <cell alignment="center" valignment="top" topline="true" usebox="none">
14976 \begin_layout Plain Layout
14978 \begin_inset space \thinspace{}
14986 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14989 \begin_layout Plain Layout
14991 \begin_inset space \thinspace{}
14999 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15002 \begin_layout Plain Layout
15010 <cell alignment="center" valignment="top" usebox="none">
15013 \begin_layout Plain Layout
15017 \begin_layout Plain Layout
15030 \begin_layout Plain Layout
15043 \begin_layout Plain Layout
15056 \begin_layout Plain Layout
15070 <cell alignment="center" valignment="top" usebox="none">
15073 \begin_layout Plain Layout
15079 <cell alignment="center" valignment="top" usebox="none">
15082 \begin_layout Plain Layout
15088 <cell alignment="center" valignment="top" usebox="none">
15091 \begin_layout Plain Layout
15099 <cell alignment="center" valignment="top" topline="true" usebox="none">
15102 \begin_layout Plain Layout
15108 <cell alignment="center" valignment="top" topline="true" usebox="none">
15111 \begin_layout Plain Layout
15117 <cell alignment="center" valignment="top" topline="true" usebox="none">
15120 \begin_layout Plain Layout
15126 <cell alignment="center" valignment="top" topline="true" usebox="none">
15129 \begin_layout Plain Layout
15136 <row topspace="default">
15137 <cell alignment="center" valignment="top" usebox="none">
15140 \begin_layout Plain Layout
15146 <cell alignment="center" valignment="top" usebox="none">
15149 \begin_layout Plain Layout
15155 <cell alignment="center" valignment="top" usebox="none">
15158 \begin_layout Plain Layout
15164 <cell alignment="center" valignment="top" usebox="none">
15167 \begin_layout Plain Layout
15174 <row topspace="default">
15175 <cell alignment="center" valignment="top" usebox="none">
15178 \begin_layout Plain Layout
15179 \begin_inset Formula $f_{\mathrm{max}}$
15187 <cell alignment="center" valignment="top" usebox="none">
15190 \begin_layout Plain Layout
15196 <cell alignment="center" valignment="top" usebox="none">
15199 \begin_layout Plain Layout
15205 <cell alignment="center" valignment="top" usebox="none">
15208 \begin_layout Plain Layout
15216 <cell alignment="center" valignment="top" topline="true" usebox="none">
15219 \begin_layout Plain Layout
15223 \begin_layout Plain Layout
15236 \begin_layout Plain Layout
15250 <cell alignment="center" valignment="top" topline="true" usebox="none">
15253 \begin_layout Plain Layout
15259 <cell alignment="center" valignment="top" topline="true" usebox="none">
15262 \begin_layout Plain Layout
15268 <cell alignment="center" valignment="top" topline="true" usebox="none">
15271 \begin_layout Plain Layout
15279 <cell alignment="center" valignment="top" usebox="none">
15282 \begin_layout Plain Layout
15288 <cell alignment="center" valignment="top" usebox="none">
15291 \begin_layout Plain Layout
15297 <cell alignment="center" valignment="top" usebox="none">
15300 \begin_layout Plain Layout
15306 <cell alignment="center" valignment="top" usebox="none">
15309 \begin_layout Plain Layout
15317 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15320 \begin_layout Plain Layout
15326 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15329 \begin_layout Plain Layout
15335 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15338 \begin_layout Plain Layout
15344 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15347 \begin_layout Plain Layout
15366 \begin_layout Section
15368 \begin_inset Index idx
15371 \begin_layout Plain Layout
15380 \begin_layout Standard
15381 本文行中で表の垂直揃えをするには、その表をボックスの中に入れなくてはなりません。そうした上で、第
15382 \begin_inset CommandInset ref
15384 reference "sec:ボックスダイアログ"
15388 節に述べられているように、ボックスの垂直揃えを行います。
15391 \begin_layout Standard
15393 \begin_inset space \thinspace{}
15400 \begin_layout Plain Layout
15402 \begin_inset CommandInset ref
15404 reference "sec:ミニページ"
15416 \begin_layout Itemize
15418 \begin_inset Box Frameless
15428 height_special "totalheight"
15431 \begin_layout Plain Layout
15432 \begin_inset Tabular
15433 <lyxtabular version="3" rows="3" columns="3">
15434 <features rotate="0" tabularvalignment="middle">
15435 <column alignment="center" valignment="top" width="0">
15436 <column alignment="center" valignment="top" width="0">
15437 <column alignment="center" valignment="top" width="0">
15439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15442 \begin_layout Plain Layout
15448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15451 \begin_layout Plain Layout
15457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15460 \begin_layout Plain Layout
15468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15471 \begin_layout Plain Layout
15477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15480 \begin_layout Plain Layout
15486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15489 \begin_layout Plain Layout
15497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15500 \begin_layout Plain Layout
15506 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15509 \begin_layout Plain Layout
15515 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15518 \begin_layout Plain Layout
15538 \begin_layout Plain Layout
15550 \begin_inset Box Frameless
15560 height_special "totalheight"
15563 \begin_layout Plain Layout
15564 \begin_inset Tabular
15565 <lyxtabular version="3" rows="3" columns="3">
15566 <features rotate="0" tabularvalignment="middle">
15567 <column alignment="center" valignment="top" width="0">
15568 <column alignment="center" valignment="top" width="0">
15569 <column alignment="center" valignment="top" width="0">
15571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15574 \begin_layout Plain Layout
15580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15583 \begin_layout Plain Layout
15589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15592 \begin_layout Plain Layout
15600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15603 \begin_layout Plain Layout
15609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15612 \begin_layout Plain Layout
15618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15621 \begin_layout Plain Layout
15629 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15632 \begin_layout Plain Layout
15638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15641 \begin_layout Plain Layout
15647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15650 \begin_layout Plain Layout
15670 \begin_layout Plain Layout
15680 \begin_layout Itemize
15682 \begin_inset Box Frameless
15692 height_special "totalheight"
15695 \begin_layout Plain Layout
15696 \begin_inset Tabular
15697 <lyxtabular version="3" rows="3" columns="3">
15698 <features rotate="0" tabularvalignment="middle">
15699 <column alignment="center" valignment="top" width="0">
15700 <column alignment="center" valignment="top" width="0">
15701 <column alignment="center" valignment="top" width="0">
15703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15706 \begin_layout Plain Layout
15712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15715 \begin_layout Plain Layout
15721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15724 \begin_layout Plain Layout
15732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15735 \begin_layout Plain Layout
15741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15744 \begin_layout Plain Layout
15750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15753 \begin_layout Plain Layout
15761 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15764 \begin_layout Plain Layout
15770 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15773 \begin_layout Plain Layout
15779 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15782 \begin_layout Plain Layout
15801 \begin_layout Itemize
15803 \begin_inset Box Frameless
15813 height_special "totalheight"
15816 \begin_layout Plain Layout
15817 \begin_inset Tabular
15818 <lyxtabular version="3" rows="3" columns="3">
15819 <features rotate="0" tabularvalignment="middle">
15820 <column alignment="center" valignment="top" width="0">
15821 <column alignment="center" valignment="top" width="0">
15822 <column alignment="center" valignment="top" width="0">
15824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15827 \begin_layout Plain Layout
15833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15836 \begin_layout Plain Layout
15842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15845 \begin_layout Plain Layout
15853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15856 \begin_layout Plain Layout
15862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15865 \begin_layout Plain Layout
15871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15874 \begin_layout Plain Layout
15882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15885 \begin_layout Plain Layout
15891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15894 \begin_layout Plain Layout
15900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15903 \begin_layout Plain Layout
15923 \begin_layout Plain Layout
15935 \begin_inset Box Frameless
15945 height_special "totalheight"
15948 \begin_layout Plain Layout
15949 \begin_inset Tabular
15950 <lyxtabular version="3" rows="3" columns="3">
15951 <features rotate="0" tabularvalignment="middle">
15952 <column alignment="center" valignment="top" width="0">
15953 <column alignment="center" valignment="top" width="0">
15954 <column alignment="center" valignment="top" width="0">
15956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15959 \begin_layout Plain Layout
15965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15968 \begin_layout Plain Layout
15974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15977 \begin_layout Plain Layout
15985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15988 \begin_layout Plain Layout
15994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15997 \begin_layout Plain Layout
16003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16006 \begin_layout Plain Layout
16014 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16017 \begin_layout Plain Layout
16023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16026 \begin_layout Plain Layout
16032 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16035 \begin_layout Plain Layout
16055 \begin_layout Plain Layout
16065 \begin_layout Standard
16066 上記のとおり、表の第一行あるいは最終行の中身が、表外の本文行と揃っていません。これらを揃えるには、minipageボックスをraisebox
16070 \begin_layout Plain Layout
16072 \begin_inset CommandInset ref
16074 reference "sub:垂直揃え"
16083 の中に入れなくてはなりません。上記の例では、最初の項目の第二表は、ボックスの前に
16086 \begin_layout Standard
16096 \begin_layout Standard
16097 というTeXコードコマンドを使用して揃えています。ボックスの後には、閉じ括弧
16101 をTeXコードとして挿入してあります。最後の項目の第二表には、
16104 \begin_layout Standard
16114 \begin_layout Standard
16118 \begin_layout Standard
16119 \begin_inset Note Greyedout
16122 \begin_layout Plain Layout
16127 表の行の中身の周囲の本文行への揃えは、つねに同じ値をとるわけではありません。この揃え方に必要な
16133 コマンドの値は、文書フォントやフォント寸法、表罫線の線幅によって変わります。
16141 \begin_layout Section
16143 \begin_inset CommandInset label
16150 \begin_inset Index idx
16153 \begin_layout Plain Layout
16162 \begin_layout Subsection
16164 \begin_inset Index idx
16167 \begin_layout Plain Layout
16168 ひょうのいろ@表の色 ! せるぶ@セル部
16174 \begin_inset Index idx
16177 \begin_layout Plain Layout
16178 いろつき@色付き ! ひょうせるぶ@表セル部
16186 \begin_layout Standard
16187 \begin_inset Float table
16193 \begin_layout Plain Layout
16194 \begin_inset Caption Standard
16196 \begin_layout Plain Layout
16197 \begin_inset CommandInset label
16199 name "tab:colortblなしの表"
16208 \begin_inset Argument 1
16211 \begin_layout Plain Layout
16225 \begin_layout Plain Layout
16227 \begin_inset Tabular
16228 <lyxtabular version="3" rows="3" columns="3">
16229 <features rotate="0" tabularvalignment="middle">
16230 <column alignment="center" valignment="top" width="0">
16231 <column alignment="center" valignment="top" width="0">
16232 <column alignment="center" valignment="top" width="0">
16234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16237 \begin_layout Plain Layout
16245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16248 \begin_layout Plain Layout
16256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16259 \begin_layout Plain Layout
16269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16272 \begin_layout Plain Layout
16280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16283 \begin_layout Plain Layout
16291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16294 \begin_layout Plain Layout
16304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16307 \begin_layout Plain Layout
16315 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16318 \begin_layout Plain Layout
16326 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16329 \begin_layout Plain Layout
16350 \begin_layout Standard
16351 もし色の付いた文章が欲しいだけならば、そのセルを選択して、
16353 編集\SpecialChar \menuseparator
16357 \begin_inset CommandInset ref
16359 reference "tab:colortblなしの表"
16363 を作るのに、この方法が使われています。それ以外の場合には、LaTeXパッケージの
16368 \begin_inset Index idx
16371 \begin_layout Plain Layout
16372 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
16380 \begin_layout Standard
16384 \begin_layout Plain Layout
16394 \begin_inset Note Note
16397 \begin_layout Plain Layout
16398 本節の以下の部分は、LaTeXパッケージ
16410 \begin_layout Standard
16411 色付きの表を作成するには、プリアンブルに
16414 \begin_layout Standard
16419 usepackage{colortbl}
16422 \begin_layout Standard
16427 を読み込まなくてはなりません。列の色は、
16434 \begin_layout Standard
16442 \begin_layout Standard
16443 というコマンドを書いて指定することができます。
16448 \begin_inset CommandInset ref
16450 reference "sub:連結列の計算"
16457 \begin_layout Standard
16458 以下の色彩名が事前に定義されています。
16461 \begin_layout Standard
16495 \begin_layout Standard
16496 \begin_inset VSpace medskip
16502 \begin_layout Standard
16505 If you add the options
16508 \begin_layout Standard
16511 usenames,dvipsnames
16514 \begin_layout Standard
16517 to the document class options in the document settings, you can additionally
16519 \begin_inset space ~
16523 These colors are listed in appendix
16524 \begin_inset space ~
16528 \begin_inset CommandInset ref
16530 reference "chap:List-of-dvips-colornames"
16535 One of these colors,
16539 , is used as example in Table
16542 \begin_inset space ~
16546 \begin_inset CommandInset ref
16548 reference "tab:色付き表"
16555 \begin_layout Standard
16556 \begin_inset VSpace medskip
16562 \begin_layout Standard
16566 \begin_layout Standard
16571 definecolor{色彩名}{色彩モデル}{色彩値}
16574 \begin_layout Standard
16575 というコマンドを使用すれば、自分自身の色彩を定義することができます。ここで色彩モデルは
16578 \begin_layout Labeling
16579 \labelwidthstring 00.00.0000
16599 \begin_layout Labeling
16600 \labelwidthstring 00.00.0000
16616 \begin_layout Labeling
16617 \labelwidthstring 00.00.0000
16621 \begin_layout Standard
16622 から選択することができ、色彩値は、0から1の間の数字をコンマで区切ったもので、それぞれ当該色彩モデルにおける各色彩の大きさを示します。
16625 \begin_layout Standard
16629 \begin_layout Standard
16634 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
16637 \begin_layout Standard
16645 \begin_layout Standard
16650 definecolor{lightgray}{gray}{0.8}
16653 \begin_layout Standard
16661 \begin_layout Standard
16662 \begin_inset VSpace medskip
16668 \begin_layout Standard
16672 \begin_layout Standard
16680 \begin_layout Standard
16681 というコマンドを使用して色付けすることができ、セルは
16684 \begin_layout Standard
16692 \begin_layout Standard
16693 というコマンドで色付けすることができます。どちらのコマンドも、セルの冒頭にTeXコードで書き込みます。
16696 \begin_layout Standard
16697 表中の文字に色付けをするには、セルを選択してから、LyXのメニュー
16699 編集\SpecialChar \menuseparator
16702 を使用します。セルにTeXコードが入っている場合には、文章部分だけ選択してください。さもないと色付け指定されたTeXコードがLaTeXエラーを引き起こしてしまい
16706 \begin_layout Standard
16707 \begin_inset Note Greyedout
16710 \begin_layout Plain Layout
16711 【註】DVIビューアーのすべてが自己定義の色を表示できるわけではありません。
16719 \begin_layout Standard
16720 \begin_inset VSpace bigskip
16726 \begin_layout Standard
16728 \begin_inset CommandInset ref
16730 reference "tab:色付き表"
16734 を作成するには、以下のようにしてください。第一列の色は
16738 にしたいので、この列のLaTeX変数として
16741 \begin_layout Standard
16746 columncolor{darkgreen}
16751 \begin_layout Standard
16752 と書き込みます。第一列は青にしたいので、この列の最初のセルに
16755 \begin_layout Standard
16763 \begin_layout Standard
16764 というTeXコードコマンドを書き込みます。これによって、第一セルの列色指定が上書きされてしまうことに注意してください。
16766 The last cell of the last row is colored maroon by inserting the TeX-Code
16770 \begin_layout Standard
16778 \begin_layout Standard
16779 というTeXコードコマンドを書き込むことで、マゼンタに色づけされています。この後、
16781 編集\SpecialChar \menuseparator
16784 メニューを使って、各文字に色付けをすることができます。
16787 \begin_layout Standard
16788 \begin_inset Float table
16794 \begin_layout Plain Layout
16795 \begin_inset Caption Standard
16797 \begin_layout Plain Layout
16800 \begin_inset CommandInset label
16809 \begin_inset Argument 1
16812 \begin_layout Plain Layout
16826 \begin_layout Plain Layout
16828 \begin_inset Tabular
16829 <lyxtabular version="3" rows="3" columns="3">
16830 <features rotate="0" tabularvalignment="middle">
16831 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
16832 <column alignment="center" valignment="top" width="0">
16833 <column alignment="center" valignment="top" width="0">
16835 <cell alignment="center" valignment="top" usebox="none">
16838 \begin_layout Plain Layout
16842 \begin_layout Plain Layout
16858 <cell alignment="center" valignment="top" usebox="none">
16861 \begin_layout Plain Layout
16869 <cell alignment="center" valignment="top" usebox="none">
16872 \begin_layout Plain Layout
16882 <cell alignment="center" valignment="top" usebox="none">
16885 \begin_layout Plain Layout
16893 <cell alignment="center" valignment="top" usebox="none">
16896 \begin_layout Plain Layout
16904 <cell alignment="center" valignment="top" usebox="none">
16907 \begin_layout Plain Layout
16917 <cell alignment="center" valignment="top" usebox="none">
16920 \begin_layout Plain Layout
16928 <cell alignment="center" valignment="top" usebox="none">
16931 \begin_layout Plain Layout
16939 <cell alignment="center" valignment="top" usebox="none">
16942 \begin_layout Plain Layout
16946 \begin_layout Plain Layout
16975 \begin_layout Standard
16979 \begin_layout Plain Layout
16989 \begin_inset Note Note
16992 \begin_layout Plain Layout
16997 が導入されていないときに表示されます。
17005 \begin_layout Standard
17013 \begin_layout Standard
17017 \begin_layout Plain Layout
17029 \begin_layout Subsection
17033 \begin_inset Index idx
17036 \begin_layout Plain Layout
17039 Table Color ! for Rows
17045 \begin_inset Index idx
17048 \begin_layout Plain Layout
17051 Color ! for Table Rows
17059 \begin_layout Standard
17062 In case every second table row needs to be colored there is an alternative
17063 to the method described in the previous section: One loads the package
17070 \begin_inset Index idx
17073 \begin_layout Plain Layout
17074 LaTeXぱっけーじ@LaTeXパッケージ ! xcolor
17078 \begin_layout Plain Layout
17094 in the document preamble with the command
17097 \begin_layout Standard
17102 usepackage[table]{xcolor}
17105 \begin_layout Standard
17111 automatically loads also the package
17117 \begin_inset Index idx
17120 \begin_layout Plain Layout
17121 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
17132 must be installed in your LaTeX-distribution, otherwise you get LaTeX-errors.
17135 \begin_layout Standard
17139 \begin_layout Plain Layout
17149 \begin_inset Note Note
17152 \begin_layout Plain Layout
17153 本節の以下の部分は、LaTeXパッケージ
17165 \begin_layout Standard
17168 The table rows are colored with the command
17171 \begin_layout Standard
17177 rowcolors[commands]{row number}{odd row color}{even row color}
17180 \begin_layout Standard
17183 that is either inserted in the document preamble or as TeX-Code before the
17184 first table to be colored.
17186 \begin_inset space ~
17189 number is the number of the first row which should be colored according
17190 to the odd row color.
17191 commands can be additional commands that are executed before every table
17193 So for example the command
17196 \begin_layout Standard
17201 rowcolors{1}{white}{lightgray}
17204 \begin_layout Standard
17207 leads to the coloring scheme of Table
17208 \begin_inset space ~
17212 \begin_inset CommandInset ref
17214 reference "tab:Table-rowcolors"
17222 \begin_layout Standard
17229 hline]{1}{lightgray}{cyan}
17232 \begin_layout Standard
17235 leads to the coloring scheme of Table
17236 \begin_inset space ~
17240 \begin_inset CommandInset ref
17242 reference "tab:Table-rowcolors-2"
17248 \begin_inset space ~
17252 \begin_inset space ~
17256 \begin_inset space ~
17260 \begin_inset space ~
17263 color are left empty, no color will be used so that the command
17266 \begin_layout Standard
17274 \begin_layout Standard
17277 deletes all colors.
17284 affects all tables following that command.
17287 \begin_layout Standard
17291 \begin_layout Plain Layout
17295 rowcolors{1}{white}{lightgray}
17303 \begin_layout Standard
17304 \begin_inset Float table
17310 \begin_layout Plain Layout
17311 \begin_inset Caption Standard
17313 \begin_layout Plain Layout
17316 \begin_inset CommandInset label
17318 name "tab:Table-rowcolors"
17322 Table where every second row is colored light gray.
17330 \begin_layout Plain Layout
17332 \begin_inset Tabular
17333 <lyxtabular version="3" rows="4" columns="3">
17334 <features rotate="0" tabularvalignment="middle">
17335 <column alignment="center" valignment="top" width="0">
17336 <column alignment="center" valignment="top" width="0pt">
17337 <column alignment="center" valignment="top" width="0pt">
17339 <cell alignment="center" valignment="top" usebox="none">
17342 \begin_layout Plain Layout
17348 <cell alignment="center" valignment="top" usebox="none">
17351 \begin_layout Plain Layout
17357 <cell alignment="center" valignment="top" usebox="none">
17360 \begin_layout Plain Layout
17368 <cell alignment="center" valignment="top" usebox="none">
17371 \begin_layout Plain Layout
17377 <cell alignment="center" valignment="top" usebox="none">
17380 \begin_layout Plain Layout
17386 <cell alignment="center" valignment="top" usebox="none">
17389 \begin_layout Plain Layout
17397 <cell alignment="center" valignment="top" usebox="none">
17400 \begin_layout Plain Layout
17406 <cell alignment="center" valignment="top" usebox="none">
17409 \begin_layout Plain Layout
17415 <cell alignment="center" valignment="top" usebox="none">
17418 \begin_layout Plain Layout
17426 <cell alignment="center" valignment="top" usebox="none">
17429 \begin_layout Plain Layout
17435 <cell alignment="center" valignment="top" usebox="none">
17438 \begin_layout Plain Layout
17444 <cell alignment="center" valignment="top" usebox="none">
17447 \begin_layout Plain Layout
17466 \begin_layout Standard
17470 \begin_layout Plain Layout
17476 hline]{1}{lightgray}{cyan}
17484 \begin_layout Standard
17485 \begin_inset Float table
17491 \begin_layout Plain Layout
17492 \begin_inset Caption Standard
17494 \begin_layout Plain Layout
17497 \begin_inset CommandInset label
17499 name "tab:Table-rowcolors-2"
17503 Table where every second row is colored cyan and at which there is a line
17512 \begin_layout Plain Layout
17514 \begin_inset Tabular
17515 <lyxtabular version="3" rows="4" columns="3">
17516 <features rotate="0" tabularvalignment="middle">
17517 <column alignment="center" valignment="top" width="0">
17518 <column alignment="center" valignment="top" width="0">
17519 <column alignment="center" valignment="top" width="0pt">
17521 <cell alignment="center" valignment="top" usebox="none">
17524 \begin_layout Plain Layout
17530 <cell alignment="center" valignment="top" usebox="none">
17533 \begin_layout Plain Layout
17539 <cell alignment="center" valignment="top" usebox="none">
17542 \begin_layout Plain Layout
17550 <cell alignment="center" valignment="top" usebox="none">
17553 \begin_layout Plain Layout
17559 <cell alignment="center" valignment="top" usebox="none">
17562 \begin_layout Plain Layout
17568 <cell alignment="center" valignment="top" usebox="none">
17571 \begin_layout Plain Layout
17579 <cell alignment="center" valignment="top" usebox="none">
17582 \begin_layout Plain Layout
17588 <cell alignment="center" valignment="top" usebox="none">
17591 \begin_layout Plain Layout
17597 <cell alignment="center" valignment="top" usebox="none">
17600 \begin_layout Plain Layout
17608 <cell alignment="center" valignment="top" usebox="none">
17611 \begin_layout Plain Layout
17617 <cell alignment="center" valignment="top" usebox="none">
17620 \begin_layout Plain Layout
17626 <cell alignment="center" valignment="top" usebox="none">
17629 \begin_layout Plain Layout
17648 \begin_layout Standard
17652 \begin_layout Plain Layout
17662 \begin_inset Note Note
17665 \begin_layout Plain Layout
17668 turn off the row coloring
17676 \begin_layout Standard
17680 \begin_layout Plain Layout
17690 \begin_inset Note Note
17693 \begin_layout Plain Layout
17698 が導入されていないときに表示されます。
17706 \begin_layout Standard
17714 \begin_layout Standard
17718 \begin_layout Plain Layout
17730 \begin_layout Subsection
17732 \begin_inset Index idx
17735 \begin_layout Plain Layout
17736 ひょうのいろ@表の色 ! けいせんぶ@罫線部
17742 \begin_inset Index idx
17745 \begin_layout Plain Layout
17746 いろつき@色付き ! ひょうけいせんぶ@表罫線部
17754 \begin_layout Standard
17756 \begin_inset CommandInset ref
17758 reference "sub:罫線幅"
17762 節に述べられているように、表中の全罫線の線幅は、長さ
17768 を使って調節することができます。本節の表では、すべて1.5
17769 \begin_inset space \thinspace{}
17776 \begin_layout Plain Layout
17782 arrayrulewidth}{1.5pt}
17790 \begin_layout Standard
17792 \begin_inset CommandInset ref
17794 reference "sub:自製書式"
17798 節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
17801 \begin_layout Standard
17806 newcolumntype{W}{!{
17813 \begin_layout Standard
17815 \begin_inset CommandInset ref
17817 reference "tab:色付き縦罫線の表"
17832 \begin_layout Standard
17833 複数の色を用いたいときには、列書式をもっと定義してください。
17836 \begin_layout Standard
17837 \begin_inset Float table
17843 \begin_layout Plain Layout
17844 \begin_inset Caption Standard
17846 \begin_layout Plain Layout
17847 \begin_inset CommandInset label
17849 name "tab:色付き縦罫線の表"
17861 \begin_layout Plain Layout
17863 \begin_inset Tabular
17864 <lyxtabular version="3" rows="3" columns="3">
17865 <features rotate="0" tabularvalignment="middle">
17866 <column alignment="center" valignment="top" width="0" special="Wc">
17867 <column alignment="center" valignment="top" width="0" special="Wc">
17868 <column alignment="center" valignment="top" width="0" special="WcW">
17870 <cell alignment="center" valignment="top" topline="true" usebox="none">
17873 \begin_layout Plain Layout
17879 <cell alignment="center" valignment="top" topline="true" usebox="none">
17882 \begin_layout Plain Layout
17888 <cell alignment="center" valignment="top" topline="true" usebox="none">
17891 \begin_layout Plain Layout
17899 <cell alignment="center" valignment="top" topline="true" usebox="none">
17902 \begin_layout Plain Layout
17908 <cell alignment="center" valignment="top" topline="true" usebox="none">
17911 \begin_layout Plain Layout
17917 <cell alignment="center" valignment="top" topline="true" usebox="none">
17920 \begin_layout Plain Layout
17928 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17931 \begin_layout Plain Layout
17937 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17940 \begin_layout Plain Layout
17946 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
17949 \begin_layout Plain Layout
17968 \begin_layout Standard
17969 \begin_inset VSpace bigskip
17973 \begin_inset CommandInset ref
17975 reference "tab:色付き横罫線の表"
17979 のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
17982 \begin_layout Standard
17992 \begin_inset Newline newline
18000 \begin_inset Newline newline
18004 \begin_inset Phantom HPhantom
18007 \begin_layout Plain Layout
18008 \begin_inset space ~
18018 arrayrulecolor{red}
18022 arrayrulecolor{black}}
18025 \begin_layout Standard
18029 \begin_layout Standard
18033 \begin_layout Plain Layout
18044 \begin_layout Plain Layout
18053 \begin_layout Plain Layout
18057 arrayrulecolor{red}
18061 arrayrulecolor{black}}
18067 \begin_inset Float table
18073 \begin_layout Plain Layout
18074 \begin_inset Caption Standard
18076 \begin_layout Plain Layout
18077 \begin_inset CommandInset label
18079 name "tab:色付き横罫線の表"
18091 \begin_layout Plain Layout
18093 \begin_inset Tabular
18094 <lyxtabular version="3" rows="3" columns="3">
18095 <features rotate="0" tabularvalignment="middle">
18096 <column alignment="center" valignment="top" width="0">
18097 <column alignment="center" valignment="top" width="0">
18098 <column alignment="center" valignment="top" width="0">
18100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18103 \begin_layout Plain Layout
18109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18112 \begin_layout Plain Layout
18118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18121 \begin_layout Plain Layout
18129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18132 \begin_layout Plain Layout
18138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18141 \begin_layout Plain Layout
18147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18150 \begin_layout Plain Layout
18158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18161 \begin_layout Plain Layout
18167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18170 \begin_layout Plain Layout
18176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18179 \begin_layout Plain Layout
18198 \begin_layout Standard
18202 \begin_layout Standard
18214 \begin_layout Standard
18215 というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
18216 \begin_inset CommandInset ref
18218 reference "tab:色付き罫線の表"
18225 \begin_layout Standard
18226 \begin_inset Float table
18232 \begin_layout Plain Layout
18233 \begin_inset Caption Standard
18235 \begin_layout Plain Layout
18236 \begin_inset CommandInset label
18250 \begin_layout Plain Layout
18252 \begin_inset Tabular
18253 <lyxtabular version="3" rows="3" columns="3">
18254 <features rotate="0" tabularvalignment="middle">
18255 <column alignment="center" valignment="top" width="0" special="Wc">
18256 <column alignment="center" valignment="top" width="0" special="Wc">
18257 <column alignment="center" valignment="top" width="0" special="WcW">
18259 <cell alignment="center" valignment="top" topline="true" usebox="none">
18262 \begin_layout Plain Layout
18268 <cell alignment="center" valignment="top" topline="true" usebox="none">
18271 \begin_layout Plain Layout
18277 <cell alignment="center" valignment="top" topline="true" usebox="none">
18280 \begin_layout Plain Layout
18288 <cell alignment="center" valignment="top" topline="true" usebox="none">
18291 \begin_layout Plain Layout
18297 <cell alignment="center" valignment="top" topline="true" usebox="none">
18300 \begin_layout Plain Layout
18306 <cell alignment="center" valignment="top" topline="true" usebox="none">
18309 \begin_layout Plain Layout
18316 <row topspace="default">
18317 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18320 \begin_layout Plain Layout
18326 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18329 \begin_layout Plain Layout
18335 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18338 \begin_layout Plain Layout
18357 \begin_layout Standard
18361 \begin_layout Plain Layout
18377 \begin_layout Standard
18381 \begin_layout Plain Layout
18387 arrayrulewidth}{0.4pt}
18395 \begin_layout Section
18398 Rotated Table Cells
18401 \begin_inset CommandInset label
18403 name "sec:Rotated-Table-Cells"
18408 \begin_inset Index idx
18411 \begin_layout Plain Layout
18414 Table ! Rotated Cells
18420 \begin_inset Index idx
18423 \begin_layout Plain Layout
18434 \begin_layout Standard
18437 \begin_inset Note Greyedout
18440 \begin_layout Plain Layout
18446 Not all DVI-viewers are able to display rotations.
18454 \begin_layout Standard
18457 Currently LyX only offers to rotate table cells by 90
18458 \begin_inset space \thinspace{}
18461 ° counter-clockwise.
18462 To rotate cells by an angle of your choice, you have to add this to the
18466 \begin_layout Standard
18471 @ifundefined{turnbox}{
18473 usepackage{rotating}}{}
18476 \begin_layout Standard
18479 In the table cell that should be rotated, add at the beginning this command
18483 \begin_layout Standard
18492 \begin_layout Standard
18495 where angle is the rotation angle in °.
18496 At the end of the cell the command
18499 \begin_layout Standard
18507 \begin_layout Standard
18510 is inserted as TeX-code.
18513 \begin_layout Standard
18517 \begin_inset space ~
18521 \begin_inset CommandInset ref
18523 reference "tab:Table-with-rotated-multi"
18527 is an example where 3
18528 \begin_inset space ~
18531 cells were rotated by 45
18532 \begin_inset space \thinspace{}
18538 \begin_layout Standard
18541 \begin_inset Float table
18546 \begin_layout Plain Layout
18549 \begin_inset Caption Standard
18551 \begin_layout Plain Layout
18554 \begin_inset CommandInset label
18556 name "tab:Table-with-rotated"
18560 Table with rotated cells in the first row.
18568 \begin_layout Plain Layout
18573 \begin_inset Tabular
18574 <lyxtabular version="3" rows="2" columns="3">
18575 <features rotate="0" tabularvalignment="middle">
18576 <column alignment="center" valignment="top" width="0">
18577 <column alignment="center" valignment="top" width="0pt">
18578 <column alignment="center" valignment="top" width="0">
18580 <cell alignment="center" valignment="top" usebox="none">
18583 \begin_layout Plain Layout
18589 \begin_layout Plain Layout
18602 \begin_layout Plain Layout
18616 <cell alignment="center" valignment="top" usebox="none">
18619 \begin_layout Plain Layout
18625 \begin_layout Plain Layout
18638 \begin_layout Plain Layout
18652 <cell alignment="center" valignment="top" usebox="none">
18655 \begin_layout Plain Layout
18661 \begin_layout Plain Layout
18674 \begin_layout Plain Layout
18690 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18693 \begin_layout Plain Layout
18701 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18704 \begin_layout Plain Layout
18712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18715 \begin_layout Plain Layout
18736 \begin_layout Standard
18739 \begin_inset Note Greyedout
18742 \begin_layout Plain Layout
18748 Line breaks (shortcut
18751 arg "newline-insert newline"
18754 ) are not allowed in rotated cells.
18762 \begin_layout Standard
18765 If you want to rotate table cells containing line breaks, you have to put
18766 the cell content into a minipage or a parbox.
18770 \begin_layout Plain Layout
18773 For more about these boxes see sec.
18776 \begin_inset space \thinspace{}
18780 \begin_inset CommandInset ref
18782 reference "sec:ミニページ"
18791 \begin_inset CommandInset ref
18793 reference "sec:Parbox"
18802 If you rotate this cell by 90
18803 \begin_inset space \thinspace{}
18806 ° the width of the box is the height of the cell.
18808 \begin_inset space ~
18812 \begin_inset CommandInset ref
18814 reference "tab:Table-with-rotated-multi"
18818 is an example for a rotated multiline cell where the box width was set
18820 \begin_inset space \thinspace{}
18826 \begin_layout Standard
18829 \begin_inset Float table
18834 \begin_layout Plain Layout
18837 \begin_inset Caption Standard
18839 \begin_layout Plain Layout
18842 \begin_inset CommandInset label
18844 name "tab:Table-with-rotated-multi"
18848 Table with rotated multiline cell.
18856 \begin_layout Plain Layout
18861 \begin_inset Tabular
18862 <lyxtabular version="3" rows="2" columns="3">
18863 <features rotate="0" tabularvalignment="middle">
18864 <column alignment="center" valignment="top" width="0">
18865 <column alignment="center" valignment="top" width="0pt">
18866 <column alignment="center" valignment="top" width="0">
18868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18871 \begin_layout Plain Layout
18879 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
18882 \begin_layout Plain Layout
18885 \begin_inset Box Frameless
18895 height_special "totalheight"
18898 \begin_layout Plain Layout
18902 \begin_inset Newline newline
18915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18918 \begin_layout Plain Layout
18928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18931 \begin_layout Plain Layout
18939 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18942 \begin_layout Plain Layout
18950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18953 \begin_layout Plain Layout
18974 \begin_layout Section
18977 Table Width Calculation
18978 \begin_inset CommandInset label
18980 name "sec:Table-Width-Calculation"
18987 \begin_layout Standard
18990 For wide tables it is sometimes difficult to assure that the table does
18991 not protrude over the page margin.
18992 Setting a fixed width for every column of the table is the solution, but
18993 what amount of space is needed for each column?
18996 \begin_layout Standard
19000 \begin_inset Formula $W_{\mathrm{table}}$
19003 can be calculated: Every column has the width of the specified column width
19005 \begin_inset Formula $W_{\mathrm{column}}$
19008 (that the content of the column can consume) plus two times the separation
19009 between the column content and the column border (LaTeX length
19016 \begin_inset space \thinspace{}
19019 pt) plus the width of a border line (LaTeX length
19026 \begin_inset space \thinspace{}
19030 \begin_inset Formula $n$
19034 \begin_inset space ~
19037 columns have the same width, the table width is
19040 \begin_inset Formula
19042 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
19050 \begin_layout Standard
19053 The available width for a table is the space between the page margins or
19054 the width of a text column (for a two-column document) (LaTeX length
19061 If all table columns should have the same width and
19062 \begin_inset Formula $W_{\mathrm{table}}$
19066 \begin_inset space \thinspace{}
19072 \begin_inset Formula $W_{\mathrm{column}}$
19075 can easily be calculated.
19078 \begin_layout Standard
19081 To be able to perform calculations you need to load the LaTeX-package
19087 \begin_inset Index idx
19090 \begin_layout Plain Layout
19091 LaTeXぱっけーじ@LaTeXパッケージ ! calc
19098 in the document preamble.
19099 To set the width in the table dialog you have to use the field
19104 The command scheme for this field is the same that is explained in section
19105 \begin_inset space ~
19111 \begin_inset CommandInset ref
19113 reference "sub:連結列の計算"
19121 \begin_inset space \thinspace{}
19124 columns with an uniform width and centered text, enter there for each column
19128 \begin_layout Standard
19135 columnwidth-62.4pt)/5}
19138 \begin_layout Standard
19142 \begin_inset space \thinspace{}
19145 columns where 2 should have 0.75
19146 \begin_inset space ~
19149 times the width than the 3 others, the calculation is
19152 \begin_inset Formula
19154 \backslash\mbox{columnwidth} & =3\, W_{\mathrm{column}}+2\cdot0.75\, W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
19155 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
19156 & =4.5\, W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
19157 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
19165 \begin_layout Standard
19168 In the table therefore the command
19171 \begin_layout Standard
19178 columnwidth-62.4pt)/
19183 \begin_layout Standard
19186 is used for the wider columns and
19189 \begin_layout Standard
19196 columnwidth-62.4pt)/
19203 \begin_layout Standard
19206 for the smaller ones:
19209 \begin_layout Standard
19210 \begin_inset Tabular
19211 <lyxtabular version="3" rows="2" columns="5">
19212 <features rotate="0" tabularvalignment="middle">
19213 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
19214 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
19215 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
19216 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
19217 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
19219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19222 \begin_layout Plain Layout
19228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19231 \begin_layout Plain Layout
19237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19240 \begin_layout Plain Layout
19246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19249 \begin_layout Plain Layout
19255 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19258 \begin_layout Plain Layout
19266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19269 \begin_layout Plain Layout
19270 111111 1111111 111111 111111111 11111 11111 1111
19275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19278 \begin_layout Plain Layout
19284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19287 \begin_layout Plain Layout
19288 2222 22222 222222 222222222 2222222 22 22222
19293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19296 \begin_layout Plain Layout
19302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19305 \begin_layout Plain Layout
19306 333333 333333 333333 33333 3333333 333
19319 \begin_layout Section
19321 \begin_inset Index idx
19324 \begin_layout Plain Layout
19331 \begin_inset Index idx
19334 \begin_layout Plain Layout
19343 \begin_layout Subsection
19345 \begin_inset CommandInset label
19352 \begin_inset Index idx
19355 \begin_layout Plain Layout
19356 ひょうのちょうせい@表の調整 ! ぎょうのよはくどり@行の余白取り
19364 \begin_layout Standard
19369 タブで、表の行に縦方向の余白を加えることができます。ここでは三つのことができます。
19372 \begin_layout Description
19373 行上 これは表の行の文字上に余白を追加します。もし表がフォーマル形式の表
19377 \begin_layout Plain Layout
19379 \begin_inset CommandInset ref
19381 reference "sec:フォーマル形式の表"
19391 \begin_inset space \thinspace{}
19394 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19395 \begin_inset VSpace medskip
19399 \begin_inset Newline newline
19403 \begin_inset space \hspace*{}
19408 \begin_inset space \hfill{}
19412 \begin_inset Tabular
19413 <lyxtabular version="3" rows="3" columns="1">
19414 <features rotate="0" tabularvalignment="middle">
19415 <column alignment="center" valignment="top" width="0">
19417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19420 \begin_layout Plain Layout
19427 <row topspace="3mm">
19428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19431 \begin_layout Plain Layout
19433 \begin_inset space \thinspace{}
19443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19446 \begin_layout Plain Layout
19458 \begin_inset space \hfill{}
19462 \begin_inset space \hspace*{}
19467 \begin_inset VSpace medskip
19471 \begin_inset Newline newline
19474 したがって、通常表の行上に余白を加えるのは、縦罫線がないときのみに使用することができます。
19477 \begin_layout Description
19478 行下 これは表の行の文字下に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19479 \begin_inset space \thinspace{}
19482 emの余白を挿入し、通常の表ならば既定値として2
19483 \begin_inset space \thinspace{}
19489 \begin_layout Description
19490 行間 これは表の現在行と次の行の間に余白を追加します。もし表がフォーマル形式の表ならば、LyXは既定値として0.5
19491 \begin_inset space \thinspace{}
19494 emの余白を挿入します。通常の表の場合には、余白を追加すると、残念ながら以下の表のように縦罫線が破壊されてしまいます。
19495 \begin_inset VSpace medskip
19499 \begin_inset Newline newline
19503 \begin_inset space \hspace*{}
19508 \begin_inset space \hfill{}
19512 \begin_inset Tabular
19513 <lyxtabular version="3" rows="3" columns="1">
19514 <features rotate="0" tabularvalignment="middle">
19515 <column alignment="center" valignment="top" width="0">
19517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19520 \begin_layout Plain Layout
19527 <row interlinespace="3mm">
19528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19531 \begin_layout Plain Layout
19532 \begin_inset Formula $\downarrow$
19536 \begin_inset space \thinspace{}
19540 \begin_inset Formula $\downarrow$
19550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19553 \begin_layout Plain Layout
19554 \begin_inset Formula $\uparrow$
19558 \begin_inset space \thinspace{}
19562 \begin_inset Formula $\uparrow$
19576 \begin_inset space \hfill{}
19580 \begin_inset space \hspace*{}
19585 \begin_inset VSpace medskip
19589 \begin_inset Newline newline
19592 したがって、通常表の行間に余白を加えるのは、縦罫線がないときのみに使用することができます。
19595 \begin_layout Standard
19596 \begin_inset VSpace bigskip
19599 すべての表の全セルの高さを上げたい場合には、以下の行をプリアンブルに加えることによって実現できます。
19602 \begin_layout Standard
19607 @ifundefined{extrarowheight}
19608 \begin_inset Newline newline
19612 \begin_inset Phantom HPhantom
19615 \begin_layout Plain Layout
19616 \begin_inset space ~
19626 usepackage{array}}{}
19627 \begin_inset Newline newline
19634 extrarowheight}{height}
19637 \begin_layout Standard
19638 しかしこの方法は、セル内の文章が縦方向に中央揃えにならないという欠点があります(自己定義の表書式を用いると、LyXは自動的に
19642 パッケージを読み込みます。これが二度読み込まれることを防ぐために、上記のコマンドでは
19651 \begin_layout Standard
19652 標準大よりも大きいフォント寸法を使用している場合には、文字が表罫線に近寄りすぎることがよくあります。これは、表の行の最初にTeXコードで
19658 コマンドを挿入することで補正することができます。表
19659 \begin_inset CommandInset ref
19661 reference "tab:垂直揃え"
19668 \begin_layout Standard
19670 \begin_inset Float table
19676 \begin_layout Plain Layout
19677 \begin_inset Caption Standard
19679 \begin_layout Plain Layout
19680 \begin_inset CommandInset label
19694 \begin_layout Plain Layout
19695 \begin_inset space \hfill{}
19699 \begin_inset Float table
19704 \begin_layout Plain Layout
19705 \begin_inset Caption Standard
19707 \begin_layout Plain Layout
19716 \begin_layout Plain Layout
19719 \begin_inset Tabular
19720 <lyxtabular version="3" rows="6" columns="1">
19721 <features rotate="0" tabularvalignment="middle">
19722 <column alignment="left" valignment="top" width="0">
19724 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19727 \begin_layout Plain Layout
19735 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19738 \begin_layout Plain Layout
19748 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19751 \begin_layout Plain Layout
19761 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19764 \begin_layout Plain Layout
19774 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19777 \begin_layout Plain Layout
19787 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19790 \begin_layout Plain Layout
19809 \begin_inset space \hfill{}
19813 \begin_inset Float table
19818 \begin_layout Plain Layout
19819 \begin_inset Caption Standard
19821 \begin_layout Plain Layout
19836 \begin_layout Plain Layout
19839 \begin_inset Tabular
19840 <lyxtabular version="3" rows="6" columns="1">
19841 <features rotate="0" tabularvalignment="middle">
19842 <column alignment="left" valignment="top" width="0">
19844 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19847 \begin_layout Plain Layout
19855 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19858 \begin_layout Plain Layout
19864 \begin_layout Plain Layout
19880 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19883 \begin_layout Plain Layout
19889 \begin_layout Plain Layout
19905 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19908 \begin_layout Plain Layout
19914 \begin_layout Plain Layout
19930 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19933 \begin_layout Plain Layout
19939 \begin_layout Plain Layout
19955 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19958 \begin_layout Plain Layout
19964 \begin_layout Plain Layout
19989 \begin_inset space \hfill{}
20000 \begin_layout Subsection
20002 \begin_inset CommandInset label
20009 \begin_inset Index idx
20012 \begin_layout Plain Layout
20013 ひょうのちょうせい@表の調整 ! とくしゅなせるぞろえ@特殊なセル揃え
20021 \begin_layout Standard
20023 \begin_inset CommandInset ref
20025 reference "tab:表セル"
20029 の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
20032 arg "inset-modify tabular align-decimal"
20042 \begin_layout Standard
20043 \begin_inset Float table
20049 \begin_layout Plain Layout
20050 \begin_inset Caption Standard
20052 \begin_layout Plain Layout
20053 \begin_inset CommandInset label
20067 \begin_layout Plain Layout
20069 \begin_inset Tabular
20070 <lyxtabular version="3" rows="4" columns="1">
20071 <features rotate="0" booktabs="true" tabularvalignment="middle">
20072 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
20074 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20077 \begin_layout Plain Layout
20085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20088 \begin_layout Plain Layout
20096 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20099 \begin_layout Plain Layout
20107 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20110 \begin_layout Plain Layout
20129 \begin_layout Standard
20130 \begin_inset Float table
20136 \begin_layout Plain Layout
20137 \begin_inset Caption Standard
20139 \begin_layout Plain Layout
20140 \begin_inset CommandInset label
20154 \begin_layout Plain Layout
20156 \begin_inset Tabular
20157 <lyxtabular version="3" rows="4" columns="2">
20158 <features rotate="0" booktabs="true" tabularvalignment="middle">
20159 <column alignment="right" valignment="top" width="0pt">
20160 <column alignment="left" valignment="top" width="0pt" special="@{}l">
20162 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
20165 \begin_layout Plain Layout
20171 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20174 \begin_layout Plain Layout
20182 <cell alignment="center" valignment="top" usebox="none">
20185 \begin_layout Plain Layout
20186 \begin_inset Formula $12\,+$
20194 <cell alignment="center" valignment="top" usebox="none">
20197 \begin_layout Plain Layout
20198 \begin_inset Formula $\,6$
20208 <cell alignment="center" valignment="top" usebox="none">
20211 \begin_layout Plain Layout
20212 \begin_inset Formula $0\,-$
20220 <cell alignment="center" valignment="top" usebox="none">
20223 \begin_layout Plain Layout
20224 \begin_inset Formula $\,68$
20234 <cell alignment="center" valignment="top" usebox="none">
20237 \begin_layout Plain Layout
20238 \begin_inset Formula $-123\,/$
20246 <cell alignment="center" valignment="top" usebox="none">
20249 \begin_layout Plain Layout
20250 \begin_inset Formula $\,0$
20271 \begin_layout Standard
20272 揃え文字を指定するフィールドには、数式を用いることができないので、この方法を使って、数式中の文字で揃えることはできません。このような場合には、表
20273 \begin_inset CommandInset ref
20275 reference "tab:演算子揃え表"
20279 のような方法を用いる必要があります。この表は、4×2表として作成されており、見出しは中央揃え連結列です。第1列には、右揃えで演算子を含む前半部を収め、第2列には
20280 、左揃えで残りを収めます。演算子の周りに通常加えられる空白を得るために、第2列の各セルの冒頭には、小空白が加えられています。通常、表の列間に加えられる余白を削る
20284 \begin_layout Standard
20290 \begin_layout Standard
20291 というLaTeX引数を第2列に指定します。
20294 \begin_layout Standard
20296 \begin_inset CommandInset ref
20298 reference "tab:表セル揃え"
20302 は、揃え方の例をいくつか示しています。関係子で揃えるために、表
20303 \begin_inset CommandInset ref
20305 reference "tab:演算子揃え表"
20309 の冒頭には、小空白が加えられています。
20312 \begin_layout Standard
20313 \begin_inset Float table
20318 \begin_layout Plain Layout
20319 \begin_inset Caption Standard
20321 \begin_layout Plain Layout
20322 \begin_inset CommandInset label
20336 \begin_layout Plain Layout
20338 \begin_inset Tabular
20339 <lyxtabular version="3" rows="4" columns="6">
20340 <features rotate="0" tabularvalignment="middle">
20341 <column alignment="right" valignment="top" width="0">
20342 <column alignment="left" valignment="top" width="0" special="@{}l">
20343 <column alignment="right" valignment="top" width="0">
20344 <column alignment="left" valignment="top" width="0" special="@{}l">
20345 <column alignment="right" valignment="top" width="0">
20346 <column alignment="left" valignment="top" width="0" special="@{}l">
20348 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20351 \begin_layout Plain Layout
20357 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20360 \begin_layout Plain Layout
20366 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20369 \begin_layout Plain Layout
20375 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20378 \begin_layout Plain Layout
20384 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
20387 \begin_layout Plain Layout
20393 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20396 \begin_layout Plain Layout
20404 <cell alignment="center" valignment="top" usebox="none">
20407 \begin_layout Plain Layout
20413 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20416 \begin_layout Plain Layout
20422 <cell alignment="center" valignment="top" usebox="none">
20425 \begin_layout Plain Layout
20426 \begin_inset Formula $10\cdot$
20434 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20437 \begin_layout Plain Layout
20438 \begin_inset Formula $10^{\mbox{-}17}$
20446 <cell alignment="center" valignment="top" usebox="none">
20449 \begin_layout Plain Layout
20450 \begin_inset Formula $\Gamma(t)\propto$
20458 <cell alignment="center" valignment="top" usebox="none">
20461 \begin_layout Plain Layout
20462 \begin_inset Formula $\:\Upsilon(t)$
20472 <cell alignment="center" valignment="top" usebox="none">
20475 \begin_layout Plain Layout
20481 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20484 \begin_layout Plain Layout
20490 <cell alignment="center" valignment="top" usebox="none">
20493 \begin_layout Plain Layout
20494 \begin_inset Formula $5.78\cdot$
20502 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20505 \begin_layout Plain Layout
20506 \begin_inset Formula $10^{7}$
20514 <cell alignment="center" valignment="top" usebox="none">
20517 \begin_layout Plain Layout
20518 \begin_inset Formula $A\ne$
20526 <cell alignment="center" valignment="top" usebox="none">
20529 \begin_layout Plain Layout
20530 \begin_inset Formula $\: B_{\mathrm{red}}$
20540 <cell alignment="center" valignment="top" usebox="none">
20543 \begin_layout Plain Layout
20549 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20552 \begin_layout Plain Layout
20554 \begin_inset space \thinspace{}
20562 <cell alignment="center" valignment="top" usebox="none">
20565 \begin_layout Plain Layout
20567 \begin_inset Formula $33.5\cdot$
20575 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20578 \begin_layout Plain Layout
20579 \begin_inset Formula $10^{4}$
20587 <cell alignment="center" valignment="top" usebox="none">
20590 \begin_layout Plain Layout
20591 \begin_inset Formula $\sin(\alpha)\ge$
20599 <cell alignment="center" valignment="top" usebox="none">
20602 \begin_layout Plain Layout
20603 \begin_inset Formula $\:\sin(\beta)$
20624 \begin_layout Subsection
20626 \begin_inset CommandInset label
20633 \begin_inset Index idx
20636 \begin_layout Plain Layout
20637 ひょうのちょうせい@表の調整 ! せるとれつのしょしき@セルと列の書式
20645 \begin_layout Standard
20648 Calculating the required width for normal columns as described in section
20649 \begin_inset space ~
20653 \begin_inset CommandInset ref
20655 reference "sec:Table-Width-Calculation"
20659 or for spanned columns as described in section
20660 \begin_inset space ~
20666 \begin_inset CommandInset ref
20668 reference "sub:連結列の計算"
20674 is very annoying if you have several tables where a calculation is necessary.
20677 そこで楽をするために、プリアンブルでセル・列書式を定義してしまえば、それを文書中のすべての表で使うことができます。書式は、以下のように定義します。
20680 \begin_layout Standard
20685 newcolumntype{書式名}[引数の数]{コマンド}
20688 \begin_layout Standard
20713 の文字は定義済みですので使用することができませんが、これらの文字の大文字は使用可能です。
20716 \begin_layout Standard
20717 \begin_inset VSpace medskip
20723 \begin_layout Standard
20724 固定幅の縦横中央揃えの連結列セルの場合は、以下のセル書式を定義するとよいでしょう。
20727 \begin_layout Standard
20732 newcolumntype{M}[1]{>{
20739 \begin_layout Standard
20747 \begin_inset CommandInset ref
20749 reference "sub:複数行"
20753 節で述べたように、最初の単語がハイフネートされる問題を回避するためのものです。すると連結列を作成する際には、表ダイアログのLaTeX引数で
20756 \begin_layout Standard
20762 \begin_layout Standard
20766 \begin_layout Standard
20767 \begin_inset VSpace bigskip
20773 \begin_layout Standard
20774 連結列セルにまたがられる各セルについては、以下の書式を定義するとよいでしょう。
20777 \begin_layout Standard
20782 newcolumntype{S}[2]{>{
20787 \begin_inset Newline newline
20791 \begin_inset Phantom HPhantom
20794 \begin_layout Plain Layout
20808 arrayrulewidth)*(1-#2))/#2}}
20811 \begin_layout Standard
20812 この書式は、またがられる各セルが同じ幅になる幅を計算するのに、第
20813 \begin_inset CommandInset ref
20822 \begin_layout Standard
20823 こうしておけば、当該セルのLaTeX引数に
20826 \begin_layout Standard
20829 S{連結列セルの幅}{連結列セルがまたがる列の数}
20832 \begin_layout Standard
20836 \begin_layout Standard
20837 \begin_inset VSpace bigskip
20843 \begin_layout Standard
20844 色付き列については、以下のように定義するとよいでしょう。
20847 \begin_layout Standard
20852 newcolumntype{K}[1]{>{
20859 \begin_layout Standard
20860 最後の「c」は、文字列が水平方向中央揃えになった可変幅の列を生成します。こうしておいて、LaTeX引数に
20863 \begin_layout Standard
20869 \begin_layout Standard
20873 \begin_layout Standard
20874 \begin_inset VSpace bigskip
20880 \begin_layout Standard
20882 \begin_inset CommandInset ref
20884 reference "tab:ユーザー定義の表書式"
20888 を生成するには、第1列と連結列にLaTeX引数として
20891 \begin_layout Standard
20897 \begin_layout Standard
20901 \begin_layout Standard
20907 \begin_layout Standard
20911 \begin_layout Standard
20917 \begin_layout Standard
20921 \begin_layout Standard
20922 \begin_inset Float table
20928 \begin_layout Plain Layout
20929 \begin_inset Caption Standard
20931 \begin_layout Plain Layout
20932 \begin_inset CommandInset label
20934 name "tab:ユーザー定義の表書式"
20946 \begin_layout Plain Layout
20948 \begin_inset Tabular
20949 <lyxtabular version="3" rows="3" columns="4">
20950 <features rotate="0" tabularvalignment="middle">
20951 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
20952 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
20953 <column alignment="center" valignment="middle" width="0">
20954 <column alignment="center" valignment="middle" width="0" special="K{red}">
20956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20959 \begin_layout Plain Layout
20965 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
20968 \begin_layout Plain Layout
20974 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20977 \begin_layout Plain Layout
20983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20986 \begin_layout Plain Layout
20994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20997 \begin_layout Plain Layout
21003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21006 \begin_layout Plain Layout
21012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21015 \begin_layout Plain Layout
21021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21024 \begin_layout Plain Layout
21032 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21035 \begin_layout Plain Layout
21041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21044 \begin_layout Plain Layout
21050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21053 \begin_layout Plain Layout
21059 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21062 \begin_layout Plain Layout
21081 \begin_layout Subsection
21083 \begin_inset CommandInset label
21090 \begin_inset Index idx
21093 \begin_layout Plain Layout
21094 ひょうのちょうせい@表の調整 ! けいせんはば@罫線幅
21102 \begin_layout Standard
21103 表中のすべての罫線の罫線幅を調整するには、長さ
21110 \begin_inset CommandInset ref
21112 reference "tab:Table-with-1.5"
21117 \begin_inset space \thinspace{}
21120 ptにするには、表や表フロートの前にTeXコードで
21123 \begin_layout Standard
21130 arrayrulewidth}{1.5pt}
21133 \begin_layout Standard
21134 というコマンドを挿入します。こうして変更した罫線幅は、これ以降のすべての表に適用されます。ふたたび既定値を使用するには、表か表フロートの前にTeXコードで
21141 \begin_inset space \thinspace{}
21147 \begin_layout Standard
21151 \begin_layout Plain Layout
21157 arrayrulewidth}{1.5pt}
21163 \begin_inset Float table
21168 \begin_layout Plain Layout
21169 \begin_inset Caption Standard
21171 \begin_layout Plain Layout
21172 \begin_inset CommandInset label
21174 name "tab:Table-with-1.5"
21179 \begin_inset space \thinspace{}
21190 \begin_layout Plain Layout
21192 \begin_inset Tabular
21193 <lyxtabular version="3" rows="3" columns="3">
21194 <features rotate="0" tabularvalignment="middle">
21195 <column alignment="center" valignment="top" width="0">
21196 <column alignment="center" valignment="top" width="0">
21197 <column alignment="center" valignment="top" width="0">
21199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21202 \begin_layout Plain Layout
21208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21211 \begin_layout Plain Layout
21217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21220 \begin_layout Plain Layout
21228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21231 \begin_layout Plain Layout
21237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21240 \begin_layout Plain Layout
21246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21249 \begin_layout Plain Layout
21257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21260 \begin_layout Plain Layout
21266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21269 \begin_layout Plain Layout
21275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21278 \begin_layout Plain Layout
21298 \begin_layout Plain Layout
21304 arrayrulewidth}{0.4pt}
21312 \begin_layout Standard
21313 \begin_inset VSpace bigskip
21317 \begin_inset CommandInset ref
21319 reference "tab:1.5pt幅横罫"
21324 \begin_inset space \thinspace{}
21327 pt幅にするには、表または表フロートの前にTeXコードとして以下のコマンドを挿入してください。
21330 \begin_layout Standard
21340 \begin_inset Newline newline
21348 \begin_inset Newline newline
21357 arrayrulewidth 1.5pt}
21358 \begin_inset Newline newline
21369 arrayrulewidth 0.4pt}}
21372 \begin_layout Standard
21373 既定幅に戻すには、表または表フロートの後にTeXコードとして以下のコマンドを挿入します。
21376 \begin_layout Standard
21388 \begin_layout Standard
21392 \begin_layout Plain Layout
21403 \begin_layout Plain Layout
21412 \begin_layout Plain Layout
21420 arrayrulewidth 1.5pt}
21423 \begin_layout Plain Layout
21433 arrayrulewidth 0.4pt}}
21439 \begin_inset Float table
21444 \begin_layout Plain Layout
21445 \begin_inset Caption Standard
21447 \begin_layout Plain Layout
21448 \begin_inset CommandInset label
21450 name "tab:1.5pt幅横罫"
21455 \begin_inset space \thinspace{}
21466 \begin_layout Plain Layout
21468 \begin_inset Tabular
21469 <lyxtabular version="3" rows="3" columns="3">
21470 <features rotate="0" tabularvalignment="middle">
21471 <column alignment="center" valignment="top" width="0">
21472 <column alignment="center" valignment="top" width="0">
21473 <column alignment="center" valignment="top" width="0">
21475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21478 \begin_layout Plain Layout
21484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21487 \begin_layout Plain Layout
21493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21496 \begin_layout Plain Layout
21504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21507 \begin_layout Plain Layout
21513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21516 \begin_layout Plain Layout
21522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21525 \begin_layout Plain Layout
21533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21536 \begin_layout Plain Layout
21542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21545 \begin_layout Plain Layout
21551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21554 \begin_layout Plain Layout
21574 \begin_layout Plain Layout
21590 \begin_layout Standard
21591 \begin_inset VSpace bigskip
21595 \begin_inset space \thinspace{}
21599 \begin_inset CommandInset ref
21601 reference "sub:自製書式"
21605 節の説明にしたがって、文書プリアンブルに以下のような列書式を作成してください。
21608 \begin_layout Standard
21613 newcolumntype{V}{!{
21615 vrule width 1.5pt}}
21618 \begin_layout Standard
21620 \begin_inset CommandInset ref
21622 reference "tab:1.5pt幅縦罫"
21629 \begin_layout Standard
21635 \begin_layout Standard
21639 \begin_layout Standard
21645 \begin_layout Standard
21649 \begin_layout Standard
21650 \begin_inset Float table
21655 \begin_layout Plain Layout
21656 \begin_inset Caption Standard
21658 \begin_layout Plain Layout
21659 \begin_inset CommandInset label
21661 name "tab:1.5pt幅縦罫"
21666 \begin_inset space \thinspace{}
21677 \begin_layout Plain Layout
21679 \begin_inset Tabular
21680 <lyxtabular version="3" rows="3" columns="3">
21681 <features rotate="0" tabularvalignment="middle">
21682 <column alignment="center" valignment="top" width="0" special="Vc">
21683 <column alignment="center" valignment="top" width="0" special="Vc">
21684 <column alignment="center" valignment="top" width="0" special="VcV">
21686 <cell alignment="center" valignment="top" topline="true" usebox="none">
21689 \begin_layout Plain Layout
21695 <cell alignment="center" valignment="top" topline="true" usebox="none">
21698 \begin_layout Plain Layout
21704 <cell alignment="center" valignment="top" topline="true" usebox="none">
21707 \begin_layout Plain Layout
21715 <cell alignment="center" valignment="top" topline="true" usebox="none">
21718 \begin_layout Plain Layout
21724 <cell alignment="center" valignment="top" topline="true" usebox="none">
21727 \begin_layout Plain Layout
21733 <cell alignment="center" valignment="top" topline="true" usebox="none">
21736 \begin_layout Plain Layout
21744 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21747 \begin_layout Plain Layout
21753 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21756 \begin_layout Plain Layout
21762 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21765 \begin_layout Plain Layout
21784 \begin_layout Subsection
21786 \begin_inset Index idx
21789 \begin_layout Plain Layout
21790 ひょうのちょうせい@表の調整 ! てんけい@点罫
21798 \begin_layout Standard
21802 \begin_layout Plain Layout
21812 \begin_inset Note Note
21815 \begin_layout Plain Layout
21828 \begin_layout Standard
21829 \begin_inset Float table
21835 \begin_layout Plain Layout
21836 \begin_inset Caption Standard
21838 \begin_layout Plain Layout
21839 \begin_inset CommandInset label
21853 \begin_layout Plain Layout
21855 \begin_inset Tabular
21856 <lyxtabular version="3" rows="5" columns="5">
21857 <features rotate="0" tabularvalignment="middle">
21858 <column alignment="center" valignment="top" width="0">
21859 <column alignment="center" valignment="top" width="0">
21860 <column alignment="center" valignment="top" width="0" special=":c">
21861 <column alignment="center" valignment="top" width="0">
21862 <column alignment="center" valignment="top" width="0">
21864 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21867 \begin_layout Plain Layout
21873 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21876 \begin_layout Plain Layout
21882 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21885 \begin_layout Plain Layout
21891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21894 \begin_layout Plain Layout
21900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21903 \begin_layout Plain Layout
21911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21914 \begin_layout Plain Layout
21920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21923 \begin_layout Plain Layout
21929 <cell alignment="center" valignment="top" topline="true" usebox="none">
21932 \begin_layout Plain Layout
21938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21941 \begin_layout Plain Layout
21947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21950 \begin_layout Plain Layout
21958 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21961 \begin_layout Plain Layout
21965 \begin_layout Plain Layout
21979 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21982 \begin_layout Plain Layout
21988 <cell alignment="center" valignment="top" usebox="none">
21991 \begin_layout Plain Layout
21997 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22000 \begin_layout Plain Layout
22006 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22009 \begin_layout Plain Layout
22017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22020 \begin_layout Plain Layout
22024 \begin_layout Plain Layout
22038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22041 \begin_layout Plain Layout
22047 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
22050 \begin_layout Plain Layout
22056 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22059 \begin_layout Plain Layout
22065 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22068 \begin_layout Plain Layout
22076 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22079 \begin_layout Plain Layout
22085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22088 \begin_layout Plain Layout
22094 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
22097 \begin_layout Plain Layout
22103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22106 \begin_layout Plain Layout
22112 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22115 \begin_layout Plain Layout
22134 \begin_layout Standard
22135 LyXは点罫を自前ではサポートしません。そこでTeXコードを使用する必要があります。必須要件として、文書プリアンブル中に
22138 \begin_layout Standard
22143 usepackage{arydshln}
22146 \begin_layout Standard
22147 というコマンドを書き、LaTeXパッケージの
22152 \begin_inset Index idx
22155 \begin_layout Plain Layout
22156 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
22161 を読み込んでおく必要があります。縦罫を点罫にするには、表セルダイアログのLaTeX変数として、水平揃え用の文字とともにコロン「:」を入力してください。
22164 \begin_layout Standard
22165 横点罫を得るには、表中当該行の最初のセルの冒頭に、TeXコードで
22168 \begin_layout Standard
22176 \begin_layout Standard
22180 \begin_layout Standard
22181 連結列に点罫を書くには、表中当該行の最初のセルの冒頭に、TeXコードで
22184 \begin_layout Standard
22194 \begin_layout Standard
22195 なるコマンドを使用してください。たとえば、第2列から第4列にわたる連結列があって、その上に点罫が欲しい場合には、連結列のある行の最初のセルの冒頭に
22198 \begin_layout Standard
22206 \begin_layout Standard
22210 \begin_layout Standard
22211 \begin_inset VSpace bigskip
22217 \begin_layout Standard
22219 \begin_inset CommandInset ref
22221 reference "tab:点罫表"
22225 は、第3列のLaTeX変数に「:c」を指定して作られています。第3行の最初のセルには、TeXコードのコマンド
22231 が挿れられており、第3行の最初のセルには、TeXコードのコマンド
22232 \begin_inset Newline newline
22244 \begin_layout Standard
22245 \begin_inset VSpace bigskip
22251 \begin_layout Standard
22254 Tables with dashed lines can also be colored as shown by Table
22257 \begin_inset space ~
22261 \begin_inset CommandInset ref
22263 reference "tab:Colored-table-with"
22270 \begin_layout Standard
22274 \begin_layout Plain Layout
22280 arrayrulewidth}{1pt}
22288 \begin_inset Note Note
22291 \begin_layout Plain Layout
22294 thicker lines for better visualization of the line color
22302 \begin_layout Standard
22306 \begin_layout Plain Layout
22310 dashgapcolor{green}
22318 \begin_inset Note Note
22321 \begin_layout Plain Layout
22324 color gaps between dashes green
22332 \begin_layout Standard
22336 \begin_layout Plain Layout
22347 \begin_layout Plain Layout
22356 \begin_layout Plain Layout
22360 arrayrulecolor{red}
22364 arrayrulecolor{black}}
22372 \begin_inset Note Note
22375 \begin_layout Plain Layout
22378 color horizontal, dashed lines red
22386 \begin_layout Standard
22390 \begin_layout Plain Layout
22401 \begin_layout Plain Layout
22410 \begin_layout Plain Layout
22414 arrayrulecolor{yellow}
22418 arrayrulecolor{black}}
22426 \begin_inset Note Note
22429 \begin_layout Plain Layout
22432 color partial horizontal, dashed lines yellow
22440 \begin_layout Standard
22441 \begin_inset Float table
22447 \begin_layout Plain Layout
22448 \begin_inset Caption Standard
22450 \begin_layout Plain Layout
22451 \begin_inset CommandInset label
22453 name "tab:Colored-table-with"
22459 Colored table with dashed lines
22467 \begin_layout Plain Layout
22469 \begin_inset Tabular
22470 <lyxtabular version="3" rows="5" columns="5">
22471 <features rotate="0" tabularvalignment="middle">
22472 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
22473 <column alignment="center" valignment="top" width="0pt">
22474 <column alignment="center" valignment="top" width="0pt" special=":c">
22475 <column alignment="center" valignment="top" width="0">
22476 <column alignment="center" valignment="top" width="0">
22478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22481 \begin_layout Plain Layout
22487 <cell alignment="center" valignment="top" topline="true" usebox="none">
22490 \begin_layout Plain Layout
22496 <cell alignment="center" valignment="top" topline="true" usebox="none">
22499 \begin_layout Plain Layout
22505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22508 \begin_layout Plain Layout
22514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22517 \begin_layout Plain Layout
22525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22528 \begin_layout Plain Layout
22534 <cell alignment="center" valignment="top" topline="true" usebox="none">
22537 \begin_layout Plain Layout
22543 <cell alignment="center" valignment="top" topline="true" usebox="none">
22546 \begin_layout Plain Layout
22552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22555 \begin_layout Plain Layout
22561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22564 \begin_layout Plain Layout
22572 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22575 \begin_layout Plain Layout
22579 \begin_layout Plain Layout
22592 \begin_layout Plain Layout
22606 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22609 \begin_layout Plain Layout
22615 <cell alignment="center" valignment="top" usebox="none">
22618 \begin_layout Plain Layout
22624 <cell alignment="center" valignment="top" leftline="true" usebox="none">
22627 \begin_layout Plain Layout
22633 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22636 \begin_layout Plain Layout
22644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22647 \begin_layout Plain Layout
22651 \begin_layout Plain Layout
22665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22668 \begin_layout Plain Layout
22674 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
22677 \begin_layout Plain Layout
22683 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22686 \begin_layout Plain Layout
22692 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22695 \begin_layout Plain Layout
22703 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22706 \begin_layout Plain Layout
22712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22715 \begin_layout Plain Layout
22721 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
22724 \begin_layout Plain Layout
22730 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22733 \begin_layout Plain Layout
22739 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22742 \begin_layout Plain Layout
22746 \begin_layout Plain Layout
22773 \begin_layout Standard
22777 \begin_layout Plain Layout
22793 \begin_inset Note Note
22796 \begin_layout Plain Layout
22807 \begin_layout Standard
22811 \begin_layout Plain Layout
22827 \begin_inset Note Note
22830 \begin_layout Plain Layout
22841 \begin_layout Standard
22845 \begin_layout Plain Layout
22857 \begin_inset Note Note
22860 \begin_layout Plain Layout
22871 \begin_layout Standard
22875 \begin_layout Plain Layout
22881 arrayrulewidth}{0.4pt}
22889 \begin_inset Note Note
22892 \begin_layout Plain Layout
22903 \begin_layout Standard
22906 The coloring of lines, columns and lines works as decribed in section
22907 \begin_inset space ~
22913 \begin_inset CommandInset ref
22915 reference "sec:色付きの表"
22922 Coloring horizontal lines works analogically as described there as well,
22923 one only needs to replace in the commands
22947 ; so one uses the command
22950 \begin_layout Standard
22960 \begin_inset Newline newline
22968 \begin_inset Newline newline
22972 \begin_inset Phantom HPhantom
22975 \begin_layout Plain Layout
22976 \begin_inset space ~
22986 arrayrulecolor{red}
22990 arrayrulecolor{black}}
22993 \begin_layout Standard
23005 \begin_layout Standard
23015 \begin_inset Newline newline
23023 \begin_inset Newline newline
23027 \begin_inset Phantom HPhantom
23030 \begin_layout Plain Layout
23031 \begin_inset space ~
23041 arrayrulecolor{red}
23045 arrayrulecolor{black}}
23048 \begin_layout Standard
23051 To get back the black line color, one needs to insert the following commands
23052 as TeX-Code behind the table:
23055 \begin_layout Standard
23065 \begin_layout Standard
23077 \begin_layout Standard
23087 \begin_layout Standard
23099 \begin_layout Standard
23102 To color the gaps between the dashes the command
23105 \begin_layout Standard
23111 dashgapcolor{color}
23114 \begin_layout Standard
23117 can be used in front of a table as TeX-Code.
23118 color is hereby the name of a defined color.
23122 \begin_layout Standard
23130 \begin_layout Standard
23133 unsets the changes made by
23142 \begin_layout Standard
23145 \begin_inset Note Greyedout
23148 \begin_layout Plain Layout
23155 : If there are multiple commands in a cell, the command of
23159 needs to be the first one in the cell.
23165 \begin_inset space ~
23169 \begin_inset CommandInset ref
23171 reference "tab:Colored-table-with"
23195 \begin_layout Standard
23198 \begin_inset Note Greyedout
23201 \begin_layout Plain Layout
23212 must be loaded in the document preamble before the LaTeX-package
23220 \begin_inset Index idx
23223 \begin_layout Plain Layout
23224 LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
23239 \begin_layout Standard
23243 \begin_layout Plain Layout
23253 \begin_inset Note Note
23256 \begin_layout Plain Layout
23269 \begin_layout Standard
23274 パッケージを導入しなくてはなりません。
23277 \begin_layout Standard
23281 \begin_layout Plain Layout
23293 \begin_layout Standard
23296 For more information about dashed lines see the documentation of
23303 \begin_inset CommandInset citation
23312 \begin_layout Chapter
23314 \begin_inset CommandInset label
23321 \begin_inset Index idx
23324 \begin_layout Plain Layout
23333 \begin_layout Section
23335 \begin_inset CommandInset label
23337 name "sec:フロートはじめに"
23342 \begin_inset Index idx
23345 \begin_layout Plain Layout
23354 \begin_layout Standard
23355 フロートは、何かしらのラベルに関連付けられた文章の塊で、固定された居場所を持ちません。フロートはもっとも適した場所を求めて、1頁ないし2頁、前後にただよう(フロ
23364 も、当該ページに註が多すぎる場合には次頁にただよって行きますので、フロートの一種です。
23367 \begin_layout Standard
23368 フロートを使うと、質の良いレイアウトを組むことができます。図表が均等に各ページに割り当てられるので、文章のない空白やページが出ることを避けることができるためです
23369 。このようなフローティングは、文章と図表のあいだの連関を破壊してしまうことがあるので、各フロートは文中から参照することができるようになっています。このため、フロ
23370 ートには連番が割り当てられます。参照については、第
23371 \begin_inset CommandInset ref
23373 reference "sec:フロートの参照"
23380 \begin_layout Standard
23383 挿入\SpecialChar \menuseparator
23386 メニューを使えば、ラベルのついたボックスすなわち
23397 arg "float-insert figure"
23407 arg "float-insert table"
23410 )。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプションの上ないし下に別
23411 の段落として挿入します。キャプションの配置に関して詳しくは、第
23412 \begin_inset CommandInset ref
23414 reference "sec:キャプションの配置"
23418 節に述べられています。また、LyX文書を読みやすくするために、ボックスラベルを左クリックすれば、フロートボックスを広げたり畳んだりすることができるようになってい
23420 \begin_inset Graphics
23421 filename clipart/floatQt4.png
23423 scaleBeforeRotation
23427 のように、灰色ボタンに赤字ラベルで表示されます。
23430 \begin_layout Standard
23431 周囲の文章に特殊な整形がなされているときにはLaTeXエラーが発生し得るので、これを避けるために、フロートは独立した段落として挿入することをお勧めします。
23434 \begin_layout Standard
23435 既存の図表は、選択した後に新規フロートのツールバーボタンを押せば、フロート中の図表にすることができます。
23438 \begin_layout Section
23442 \begin_layout Standard
23444 \begin_inset CommandInset ref
23446 reference "sec:図フロート"
23451 \begin_inset CommandInset ref
23453 reference "sec:表フロート"
23457 節で各々説明されている図フロートと表フロート以外に、
23467 The latter are explained in sec.
23470 \begin_inset space \thinspace{}
23474 \begin_inset CommandInset ref
23476 reference "sec:折返しフロート"
23483 \begin_layout Subsection
23485 \begin_inset Index idx
23488 \begin_layout Plain Layout
23489 ふろーと@フロート ! あるごりずむ@アルゴリズム
23497 \begin_layout Standard
23498 \begin_inset Float algorithm
23504 \begin_layout Plain Layout
23505 \begin_inset Caption Standard
23507 \begin_layout Plain Layout
23508 \begin_inset CommandInset label
23510 name "alg:アルゴリズムフロートの例"
23522 \begin_layout LyX-Code
23524 \begin_inset Newline newline
23527 Sum:= Sum + A(I); /*comment*/
23528 \begin_inset Newline newline
23532 \begin_inset VSpace -4mm
23543 \begin_layout Standard
23548 \SpecialChar \menuseparator
23549 フロート\SpecialChar \menuseparator
23553 メニューを使うと挿入することができます。これは、プログラムコードやアルゴリズムの記述に用いられ、第
23554 \begin_inset CommandInset ref
23556 reference "cha:プログラムコードリスト"
23560 章で説明されているプログラムコードリストの代わりとみなすことができます。
23564 に述べられているように、アルゴリズム向けの環境としては、
23569 \begin_inset CommandInset ref
23571 reference "alg:アルゴリズムフロートの例"
23575 は、アルゴリズムフロートの一例であり、下の罫線が最後の文字行のちょうど下に来るように、フロートの終わりに-4
23576 \begin_inset space \thinspace{}
23582 \begin_layout Standard
23583 フロートラベルは、自動的に文書言語に翻訳されるわけではありません。使用中の文書が英語でない場合には、文書プリアンブルに
23586 \begin_layout Standard
23591 floatname{algorithm}{付けたい名称}
23594 \begin_layout Standard
23595 という行を手動で加える必要があります。ここで
23608 \begin_layout Standard
23609 アルゴリズム一覧を挿入するには、文書言語がLyXのメニューに表示されている言語と同じであるならば、
23611 挿入\SpecialChar \menuseparator
23612 一覧/目次\SpecialChar \menuseparator
23615 メニューを使用します。それ以外の場合には、代わりに
23618 \begin_layout Standard
23623 listof{algorithm}{付けたい名称}
23626 \begin_layout Standard
23627 というコマンドをTeXコードとして用います。ここで
23635 s」という単語に相当する、ご使用になりたい言語での単語です。
23638 \begin_layout Standard
23639 アルゴリズムフロートは、多くの文書クラスにおける図表フロートとは違って、「chapter.algorithm」スキームでは既定で付番されていません。このスキームで
23640 アルゴリズムフロートに連番を振るには、使用している文書のプリアンブルに
23643 \begin_layout Standard
23648 numberwithin{algorithm}{chapter}
23651 \begin_layout Standard
23658 というコマンドを使用するには、文書設定の
23669 \begin_layout Section
23671 \begin_inset Index idx
23674 \begin_layout Plain Layout
23675 ふろーと@フロート ! れんばん@連番
23683 \begin_layout Standard
23684 フロートは通常、フロートのある節とは関係なく番号が振られるか、あるいは「章.番号」や「節.番号」といった形で番号が付けられます。これは、使用している文書クラスによっ
23688 \begin_layout Standard
23689 節から独立して付けられている連番を変更するには、文書プリアンブルで
23692 \begin_layout Standard
23704 \begin_layout Standard
23711 は表番号を印字するコマンドで、図フロートの場合であれば、代わりに
23717 コマンドを使用します。上のコマンドで使用されている
23723 は、表番号を小文字のローマ数字で印字するコマンドです。
23726 \begin_layout Standard
23727 連番の付け方をたとえば「小節.番号」に変更するには、プリアンブルで
23730 \begin_layout Standard
23735 numberwithin{table}{subsection}
23738 \begin_layout Standard
23745 コマンドを使用可能にするためには、文書設定の
23752 \begin_inset space ~
23760 \begin_layout Standard
23761 連番コマンドについての詳細と大切な注意点については、第
23762 \begin_inset CommandInset ref
23764 reference "sub:脚注の付番"
23771 \begin_layout Section
23773 \begin_inset CommandInset label
23780 \begin_inset Index idx
23783 \begin_layout Plain Layout
23784 ふろーと@フロート ! さんしょう@参照
23790 \begin_inset Index idx
23793 \begin_layout Plain Layout
23794 さんしょう@参照 ! ふろーとにたいする@フロートに対する
23802 \begin_layout Standard
23805 挿入\SpecialChar \menuseparator
23808 メニューかツールバーボタンを使用して、フロートのキャプションにラベルを挿入してください。
23809 \begin_inset Graphics
23810 filename ../clipart/labelQt4.png
23812 scaleBeforeRotation
23816 のような灰色のラベルボックスが挿入され、ラベルウィンドウがポップアップして、ラベルの字句を入力するよう促します。LyXは、キャプションの最初の数単語に前置句をつ
23817 けたものを候補として示します。前置句はフロート型に依存し、たとえば図フロートには「
23824 \begin_layout Standard
23825 ラベルは、参照のための名称兼位置標として用いられます。
23827 挿入\SpecialChar \menuseparator
23833 arg "dialog-show-new-inset ref"
23836 を使えば、ラベルを参照することができます。
23837 \begin_inset Graphics
23838 filename clipart/referenceQt4.png
23840 scaleBeforeRotation
23844 のような灰色の相互参照ボックスが挿入され、文書中のすべてのラベルを表示した相互参照ウィンドウが現れます。複数のLyX文書が開かれている場合には、ダイアログの上方
23845 にあるドロップリストから作業中の文書を選択してください。ここでラベルを整序してから選ぶこともできます。出力中では、相互参照ボックスの位置にはフロート番号が表示さ
23849 \begin_layout Standard
23850 相互参照名と数字の間に改行が入るのを防ぐために、両者の間の空白には保護された空白を用いた方が良いでしょう。もし相互参照が存在しないラベルを参照している場合には、
23851 出力では、参照の代わりに二つの疑問符が表示されることになります。
23854 \begin_layout Standard
23855 ラベルは、ラベルボックスをクリックすることによって、いつでも変更することができます。変更されたラベルへの参照は、自動的に新しいラベル文へのリンクに変更されますの
23856 で、リンクの更新に手間を割く必要はありません。
23859 \begin_layout Standard
23864 ボタンは、参照されているラベルの前にカーソルを移動します。すると、ボタンの文字が
23868 に変わるので、相互参照にカーソルを戻すのに使用することができます。
23871 \begin_layout Subsection
23873 \begin_inset CommandInset label
23880 \begin_inset Index idx
23883 \begin_layout Plain Layout
23892 \begin_layout Standard
23893 相互参照には、以下の6種類があります。
23896 \begin_layout Description
23897 <参照>: これはフロート番号を表示します。これが既定値です。例:
23898 \begin_inset CommandInset ref
23900 reference "fig:歪められた二つの像"
23907 \begin_layout Description
23908 (<参照>): これはフロート番号を2つのかっこの中に表示します。これはふつう数式を、とくに参照名「Equation」を省略して参照する際に用いられる様式です。
23910 \begin_inset CommandInset ref
23919 \begin_layout Description
23920 <参照ページ>: これはページ番号を表示します。例:Page
23921 \begin_inset space ~
23925 \begin_inset CommandInset ref
23926 LatexCommand pageref
23927 reference "fig:歪められた二つの像"
23934 \begin_layout Description
23936 \begin_inset space ~
23940 \begin_inset space ~
23943 <参照ページ>: これは「on page」という文とページ番号を表示します。例:
23944 \begin_inset CommandInset ref
23945 LatexCommand vpageref
23946 reference "fig:歪められた二つの像"
23953 \begin_layout Description
23955 \begin_inset space ~
23959 \begin_inset space ~
23963 \begin_inset space ~
23966 <参照ページ>: これはフロート番号と「on page」という文とページ番号を表示します。例:
23967 \begin_inset CommandInset ref
23969 reference "fig:歪められた二つの像"
23976 \begin_layout Description
23977 整形された参照: これは自製の相互参照書式で出力します。
23978 \begin_inset Newline newline
23982 \begin_inset Note Greyedout
23985 \begin_layout Plain Layout
23986 【註】この機能は、LaTeXパッケージ
23994 が導入されている場合のみ使用することができます。
23995 \begin_inset Index idx
23998 \begin_layout Plain Layout
23999 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
24005 \begin_inset Index idx
24008 \begin_layout Plain Layout
24009 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
24020 \begin_inset Newline newline
24025 文書\SpecialChar \menuseparator
24026 設定\SpecialChar \menuseparator
24031 相互参照に(prettyrefではなく)refstyleを使用
24033 を設定すると、この機能で使用するLaTeXパッケージを選択することができます。書式は、文書プリアンブルに
24039 コマンド(prettyrefの場合)あるいは
24045 コマンド(refstyleの場合)を書き加えることによって指定することができます。たとえば、図への参照(これは短絡ラベル「
24049 」を持ちます)をすべて定義し直すには、
24050 \begin_inset Newline newline
24057 newref{fig}{refcmd={Image on page
24060 \begin_inset Newline newline
24065 というコマンドを用います。書式についての詳細は、パッケージの取扱説明書
24066 \begin_inset CommandInset citation
24068 key "prettyref,refstyle"
24075 \begin_layout Description
24076 名称参照: これは、右のように参照のキャプションを出力します。
24077 \begin_inset CommandInset ref
24078 LatexCommand nameref
24079 reference "fig:歪められた二つの像"
24086 \begin_layout Standard
24091 は、ラベルが同一あるいは前後ページにある場合には、ページ番号を出力しません。その代わりに「
24097 <参照> on page <参照ページ>
24099 では、ラベルが同一ページにある場合には、ページに関することは出力されません。
24102 \begin_layout Standard
24103 出力中で参照されている頁番号と文書中の位置は、LaTeXが自動的に計算します。参照の種類は、相互参照ボックスをクリックすると現れる相互参照ウィンドウ中の
24110 \begin_layout Standard
24111 \begin_inset Note Greyedout
24114 \begin_layout Plain Layout
24119 It is recommended to use the LaTeX-package
24124 \begin_inset Index idx
24127 \begin_layout Plain Layout
24128 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
24138 \begin_inset Index idx
24141 \begin_layout Plain Layout
24142 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
24147 does not know all of LyX's possible label shortcuts
24151 \begin_layout Plain Layout
24152 \begin_inset Quotes eld
24156 \begin_inset Quotes erd
24159 is for example LyX's shortcut for labels in figure captions.
24164 and is not internationalized.
24172 \begin_layout Subsection
24174 \begin_inset Index idx
24177 \begin_layout Plain Layout
24178 さんしょう@参照 ! じどうめいめい@自動命名
24186 \begin_layout Standard
24200 \begin_inset Index idx
24203 \begin_layout Plain Layout
24204 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24209 LaTeXパッケージは、相互参照が参照されたフロート(あるいは
24213 のような文章中の箇所)の名称を自動的に取り入れてくれるという、たいへん便利な機能を提供します。つまり、図への参照毎に前に「図」と書き込む必要はなくなるのです。こ
24214 の機能を使用するには、hyperrefを有効にして、
24217 \begin_layout Standard
24233 \begin_layout Standard
24234 という行をLaTeXプリアンブルに挿入してください。たとえば「section」の代わりに「sec.
24235 \begin_inset space \thinspace{}
24238 」としたいなど、既定の参照名以外のものが欲しい場合には、
24241 \begin_layout Standard
24252 sectionautorefname}
24253 \begin_inset Newline newline
24257 \begin_inset Phantom HPhantom
24260 \begin_layout Plain Layout
24263 \begin_inset space ~
24276 \begin_layout Standard
24277 のようにプリアンブルに挿入することで参照名を再定義することができます。英語以外の文書言語を使用している際には、
24278 \begin_inset Newline newline
24289 に置き換えてください(***は使用中の言語名)。
24292 \begin_layout Standard
24293 自動命名を行いたいけれども、ある参照型以外、たとえば数式以外に対して行いたいときには、以下のようなプリアンブルコードを書いてください。
24296 \begin_layout Standard
24307 equationautorefname}[1]{}}
24310 \begin_layout Standard
24311 この話題に関する詳細は、hyperrefの説明書
24312 \begin_inset CommandInset citation
24321 \begin_layout Standard
24322 \begin_inset Note Greyedout
24325 \begin_layout Plain Layout
24335 \begin_inset CommandInset ref
24337 reference "sub:相互参照の書式"
24341 節)で使用しているときには、使用することができません。
24349 \begin_layout Standard
24356 manual is an example where automatic reference naming is used.
24359 \begin_layout Subsection
24361 \begin_inset CommandInset label
24368 \begin_inset Index idx
24371 \begin_layout Plain Layout
24372 さんしょう@参照 ! さんしょういち@参照位置
24380 \begin_layout Standard
24394 \begin_inset Index idx
24397 \begin_layout Plain Layout
24398 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24403 を使用して出力中で相互参照をリンクするようにした場合には、画像フロート参照をクリックすると、画像ラベルに移動できるようになります。キャプションは、スクリーン上の
24404 テキストの最初の部分なので、スクロールしないと画像を見ることができません。これは、参照リンク標がラベルの位置に置かれるからです。LaTeXパッケージの
24409 \begin_inset Index idx
24412 \begin_layout Plain Layout
24413 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24423 \begin_inset Index idx
24426 \begin_layout Plain Layout
24427 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
24432 パッケージを使うと、リンク標はフロートの最初に置かれます。この機能を図フロートに対して使用するには、文書プリアンブルに
24435 \begin_layout Standard
24440 usepackage[figure]{hypcap}
24443 \begin_layout Standard
24444 という行を書いて、hypcapを読み込んでください。hypcapをすべてのフロート型に対して使用することもできますが、安定性の問題から推奨できません。詳しくは、
24446 \begin_inset CommandInset citation
24455 \begin_layout Standard
24456 \begin_inset Note Greyedout
24459 \begin_layout Plain Layout
24464 は内部図への参照には効力がありません。
24472 \begin_layout Section
24474 \begin_inset CommandInset label
24481 \begin_inset Index idx
24484 \begin_layout Plain Layout
24493 \begin_layout Standard
24503 フロートボックスを右クリックすると、ダイアログが開いて、ここでLaTeXがフロートを配置するのに使う配置オプションを変更できるようになります。
24504 \begin_inset Newline newline
24525 オプションは、二段組文書でのみ有効です。これを選択すると、フロートは段の中のみに収められないで、ページの両段にまたがって広がります。
24526 \begin_inset Newline newline
24547 オプションは、フロートを回転するのに用います。第
24557 \begin_inset CommandInset ref
24559 reference "sec:回転フロート"
24575 \begin_layout Standard
24603 オプションを無効にしたときには、特定のフロートの配置を設定するのに以下のオプションの一つ以上を設定することができます。
24606 \begin_layout Description
24616 フロートを挿入位置に配置することを試みます
24619 \begin_layout Description
24629 フロートを現在ページの上部に配置することを試みます
24632 \begin_layout Description
24642 フロートを現在ページの下部に配置することを試みます
24645 \begin_layout Description
24655 フロートを独立したページに配置することを試みます
24658 \begin_layout Standard
24663 上記のオプション順を用います。すなわち、既定の配置を使用すると、LaTeXはまず
24671 、その後他のオプションを試みます。既定値を使わないときには、LaTeXは有効化されたオプションのみを使用しますが、やはり同じ順序でこれらを試みます。これら四つの
24672 配置がいずれも無理な場合は、フロートを内部的に次のページにおいてみて同様の手続きがうまくいくかどうかを試みます。
24675 \begin_layout Standard
24676 既定では、各オプションはそれぞれ以下の規則を持っています。
24679 \begin_layout Labeling
24680 \labelwidthstring 00.00.0000
24685 は、フロートのページに占める割合が7割以下の場合のみ、ページ上部に配置します(
24694 \begin_layout Labeling
24695 \labelwidthstring 00.00.0000
24700 は、フロートのページに占める割合が3割以下の場合のみ、ページ下部に配置します(
24709 \begin_layout Labeling
24710 \labelwidthstring 00.00.0000
24715 には、フロートのページに占める割合が5割以下の場合のみ、複数のフロートを同一ページに配置します(
24724 \begin_layout Standard
24729 オプションを追加することによって、これらを無視することができます。
24730 \begin_inset Newline newline
24733 上記説明の後ろに括弧でくくってあるLaTeXコマンドを使うと、これらの規則を定義しなおすこともできます。たとえば、往々にして小さすぎる、ページ下部規則の既定値を
24734 、ページの5割に変えるには、文書プリアンブルに
24737 \begin_layout Standard
24744 bottomfraction}{0.5}
24747 \begin_layout Standard
24751 \begin_layout Standard
24752 ときにはフロートを、挿入位置に正確に、しかもかならず配置させたい場合があるかもしれません。このような場合には、
24756 オプションを使用します。このオプションはできる限り使わないようにし、使う場合でも印刷する直前にまで文書が仕上がってから、使用するようにしてください。なぜならば、
24757 このオプションを使うことによって、フロートはもはや「漂う」ことができなくなりますから、文書に変更を加えてしまうと、ページのレイアウトが往々にして破壊されてしまう
24761 \begin_layout Standard
24762 折返しフロートは、つねにどれかの段落の本文で囲まれますので、配置オプションはありません。
24765 \begin_layout Standard
24766 \begin_inset VSpace bigskip
24772 \begin_layout Standard
24773 対応する節がページの中程から始まるのというのに、フロートがページの先頭に置かれてしまうために、読者がフロートを前節の一部であると勘違いしてしまうという問題に直面
24774 することがあります。この問題を避けるには、LaTeXコマンドの
24776 suppressfloatsを使用することができます。これは、これが挿入されたページの特定のフロートの配置を抑制するので、節が始まる前にフロートが設定されてしま
24777 うのを避けるのに使用することができます。これを用いるには、文書プリアンブルに以下のコマンドを加えてください。
24780 \begin_layout Standard
24790 \begin_inset Newline newline
24804 \begin_layout Standard
24805 これと同じものは、章や小節など、すべての節見出しに用いることができます。この定義は、小々節のような小さい文字の部分では、LaTeXが適当な配置を見つけるのに失敗
24806 することがあるので、これらに対する定義はお勧めしません。
24809 \begin_layout Standard
24810 \begin_inset VSpace bigskip
24813 場合によっては、すべての図表を文末に置く必要があることがあります。この目的のために、LaTeXパッケージ
24818 \begin_inset Index idx
24821 \begin_layout Plain Layout
24822 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
24827 が開発されました。このパッケージは、すべての図表を文末に独立した節として置きます。元のフロート位置には、
24828 \begin_inset Quotes eld
24834 \begin_inset space ~
24840 \begin_inset Quotes erd
24843 というようなヒント文が挿入されます。endfloatパッケージは、プリアンブルに
24846 \begin_layout Standard
24851 usepackage[options]{endfloat}
24854 \begin_layout Standard
24855 という行を加えることで読み込まれます。このようにして生成された図表の節を整形するために、さまざまなパッケージオプションがあります。詳細は、
24860 \begin_inset CommandInset citation
24867 \begin_inset Newline newline
24871 \begin_inset Note Greyedout
24874 \begin_layout Plain Layout
24879 は、ヒント文の自動翻訳を行わないので、手動で行わなくてはなりません。
24880 \begin_inset CommandInset citation
24892 \begin_inset Newline newline
24896 \begin_inset Note Greyedout
24899 \begin_layout Plain Layout
24908 にはキャプションにドイツ語の「ß」が含まれているときにうまく動かないバグがあります。この場合には、「ß」の代わりにTeXコードで「
24922 \begin_layout Standard
24923 \begin_inset VSpace bigskip
24926 フロートの割付に関する詳細は、LaTeX関連書
24927 \begin_inset CommandInset citation
24929 key "latexcompanion,latexguide,latexbook"
24936 \begin_layout Section
24938 \begin_inset CommandInset label
24945 \begin_inset Index idx
24948 \begin_layout Plain Layout
24949 ふろーと@フロート ! かいてん@回転
24957 \begin_layout Standard
24958 特に横長の表などの場合、フロートを回転させたいことがあります。キャプションを含むフロート全体を回転させたいときは、フロートボックスを右クリックして、
24965 \begin_layout Standard
24966 回転フロートは、つねに独立したページ(二段組文書のときは独立した段)に配置されます。フロート設定の
24970 オプションを有効にすれば、複数の段にまたがるようにすることができます。また、回転フロートは、外側余白方向から読むことができるような形に回転されます。全ページにわ
24971 たって回転方向を強制したい場合には、文書クラスオプションに
24982 \begin_layout Standard
24983 回転フロートへの相互参照は、通常のフロートの場合と同じです。キャプションの形式も同じです。表
24984 \begin_inset CommandInset ref
24986 reference "tab:回転した表"
24993 \begin_layout Standard
24994 \begin_inset Note Greyedout
24997 \begin_layout Plain Layout
25002 すべてのDVIビューアが回転フロートを表示できるわけではありません。
25010 \begin_layout Standard
25011 \begin_inset Float table
25016 \begin_layout Plain Layout
25017 \begin_inset Caption Standard
25019 \begin_layout Plain Layout
25020 \begin_inset CommandInset label
25034 \begin_layout Plain Layout
25036 \begin_inset Tabular
25037 <lyxtabular version="3" rows="1" columns="5">
25038 <features rotate="0" tabularvalignment="middle">
25039 <column alignment="center" valignment="top" width="0">
25040 <column alignment="center" valignment="top" width="0">
25041 <column alignment="center" valignment="top" width="0">
25042 <column alignment="center" valignment="top" width="0">
25043 <column alignment="center" valignment="top" width="0">
25045 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25048 \begin_layout Plain Layout
25054 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25057 \begin_layout Plain Layout
25063 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25066 \begin_layout Plain Layout
25072 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25075 \begin_layout Plain Layout
25081 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25084 \begin_layout Plain Layout
25103 \begin_layout Section
25105 \begin_inset Index idx
25108 \begin_layout Plain Layout
25109 ふろーと@フロート ! じゅうぞくふろーと@従属フロート
25117 \begin_layout Standard
25118 従属フロートは、図が複数の画像から成るような場合に使用します。これは、フロートの中に新たなフロートを挿入することで作ることができます。従属フロートの揃えは、表
25119 \begin_inset CommandInset ref
25121 reference "tab:従属表を横に並べたもの"
25126 \begin_inset CommandInset ref
25128 reference "tab:従属表を縦に並べたもの"
25132 に示されているように段落と同様に指定することができます。
25135 \begin_layout Standard
25136 従属フロートの参照は、通常のフロートの参照と同様にすることができます。例:表
25137 \begin_inset CommandInset ref
25139 reference "tab:これは従属表a"
25144 \begin_inset CommandInset ref
25146 reference "tab:これは従属表b"
25151 \begin_inset CommandInset ref
25153 reference "tab:従属表を横に並べたもの"
25158 \begin_inset Float table
25163 \begin_layout Plain Layout
25164 \begin_inset Caption Standard
25166 \begin_layout Plain Layout
25167 \begin_inset CommandInset label
25169 name "tab:従属表を横に並べたもの"
25181 \begin_layout Plain Layout
25182 \begin_inset space \hfill{}
25186 \begin_inset Float table
25191 \begin_layout Plain Layout
25192 \begin_inset Caption Standard
25194 \begin_layout Plain Layout
25195 \begin_inset CommandInset label
25209 \begin_layout Plain Layout
25211 \begin_inset Tabular
25212 <lyxtabular version="3" rows="1" columns="5">
25213 <features rotate="0" tabularvalignment="middle">
25214 <column alignment="center" valignment="top" width="0">
25215 <column alignment="center" valignment="top" width="0">
25216 <column alignment="center" valignment="top" width="0">
25217 <column alignment="center" valignment="top" width="0">
25218 <column alignment="center" valignment="top" width="0">
25220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25223 \begin_layout Plain Layout
25229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25232 \begin_layout Plain Layout
25238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25241 \begin_layout Plain Layout
25247 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25250 \begin_layout Plain Layout
25256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25259 \begin_layout Plain Layout
25276 \begin_inset space \hfill{}
25280 \begin_inset Float table
25285 \begin_layout Plain Layout
25286 \begin_inset Caption Standard
25288 \begin_layout Plain Layout
25289 \begin_inset CommandInset label
25303 \begin_layout Plain Layout
25305 \begin_inset Tabular
25306 <lyxtabular version="3" rows="1" columns="5">
25307 <features rotate="0" tabularvalignment="middle">
25308 <column alignment="center" valignment="top" width="0">
25309 <column alignment="center" valignment="top" width="0">
25310 <column alignment="center" valignment="top" width="0">
25311 <column alignment="center" valignment="top" width="0">
25312 <column alignment="center" valignment="top" width="0">
25314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25317 \begin_layout Plain Layout
25323 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25326 \begin_layout Plain Layout
25332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25335 \begin_layout Plain Layout
25341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25344 \begin_layout Plain Layout
25350 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25353 \begin_layout Plain Layout
25370 \begin_inset space \hfill{}
25379 \begin_inset Float table
25384 \begin_layout Plain Layout
25385 \begin_inset Caption Standard
25387 \begin_layout Plain Layout
25388 \begin_inset CommandInset label
25390 name "tab:従属表を縦に並べたもの"
25394 従属表を縦に並べたもの。(a)は4セルから成る表、(b)は5セルから成る表。
25402 \begin_layout Plain Layout
25403 \begin_inset Float table
25408 \begin_layout Plain Layout
25409 \begin_inset Caption Standard
25411 \begin_layout Plain Layout
25420 \begin_layout Plain Layout
25422 \begin_inset Tabular
25423 <lyxtabular version="3" rows="1" columns="4">
25424 <features rotate="0" tabularvalignment="middle">
25425 <column alignment="center" valignment="top" width="0">
25426 <column alignment="center" valignment="top" width="0">
25427 <column alignment="center" valignment="top" width="0">
25428 <column alignment="center" valignment="top" width="0">
25430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25433 \begin_layout Plain Layout
25439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25442 \begin_layout Plain Layout
25448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25451 \begin_layout Plain Layout
25457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25460 \begin_layout Plain Layout
25479 \begin_layout Plain Layout
25480 \begin_inset Float table
25485 \begin_layout Plain Layout
25486 \begin_inset Caption Standard
25488 \begin_layout Plain Layout
25497 \begin_layout Plain Layout
25499 \begin_inset Tabular
25500 <lyxtabular version="3" rows="1" columns="5">
25501 <features rotate="0" tabularvalignment="middle">
25502 <column alignment="center" valignment="top" width="0">
25503 <column alignment="center" valignment="top" width="0">
25504 <column alignment="center" valignment="top" width="0">
25505 <column alignment="center" valignment="top" width="0">
25506 <column alignment="center" valignment="top" width="0">
25508 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25511 \begin_layout Plain Layout
25517 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25520 \begin_layout Plain Layout
25526 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25529 \begin_layout Plain Layout
25535 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25538 \begin_layout Plain Layout
25544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25547 \begin_layout Plain Layout
25571 \begin_layout Section
25573 \begin_inset Index idx
25576 \begin_layout Plain Layout
25577 ふろーと@フロート ! よこならび@横並び
25585 \begin_layout Standard
25587 \begin_inset CommandInset ref
25589 reference "fig:左側のフロート"
25594 \begin_inset CommandInset ref
25596 reference "fig:右側のフロート"
25600 のようにフロートを横並びに配置するには、
25604 フロートのみを使用し、その中に二つのminipageボックスを挿入します
25608 \begin_layout Plain Layout
25610 \begin_inset CommandInset ref
25612 reference "sec:ミニページ"
25622 \begin_inset space \thinspace{}
25626 \begin_inset space \thinspace{}
25629 列幅%とし、各minipageのボックス配置を
25633 に設定します。minipageボックスには、フロートと同じように画像とキャプションを入れます。フロートと唯一違う点は、画像単位
25637 がここではminipageボックスの幅によって計算されることです。
25640 \begin_layout Standard
25641 \begin_inset Float figure
25646 \begin_layout Plain Layout
25647 \begin_inset Box Frameless
25657 height_special "totalheight"
25660 \begin_layout Plain Layout
25662 \begin_inset Graphics
25663 filename ../clipart/mobius.eps
25666 scaleBeforeRotation
25673 \begin_layout Plain Layout
25674 \begin_inset Caption Standard
25676 \begin_layout Plain Layout
25677 \begin_inset CommandInset label
25694 \begin_inset space \hfill{}
25698 \begin_inset Box Frameless
25708 height_special "totalheight"
25711 \begin_layout Plain Layout
25713 \begin_inset Graphics
25714 filename ../clipart/platypus.eps
25717 scaleBeforeRotation
25724 \begin_layout Plain Layout
25725 \begin_inset Caption Standard
25727 \begin_layout Plain Layout
25728 \begin_inset CommandInset label
25747 \begin_layout Plain Layout
25756 \begin_layout Section
25758 \begin_inset Index idx
25761 \begin_layout Plain Layout
25762 きゃぷしょん@キャプション ! しょしきせってい@書式設定
25768 \begin_inset Index idx
25771 \begin_layout Plain Layout
25772 ふろーと@フロート ! きゃぷしょんのしょしきせってい@キャプションの書式設定
25778 \begin_inset CommandInset label
25780 name "sec:キャプションの書式設定"
25787 \begin_layout Standard
25796 の既定の段落環境です。キャプションは、LyX画面上では、例えば「
25800 」のようなラベルの後に、キャプション文を伴って表示されます。ここで「
25804 」には、実際には参照番号が入ります。既定の設定では、ラベルと番号はキャプション文と同じフォントになっており、ラベルと文を分けるために、番号の後にコロンが入ります
25805 。このキャプション書式は、すべての文書書式に適しているわけではありません。
25808 \begin_layout Standard
25809 既定のキャプション書式を変更するには、文書プリアンブルに
25812 \begin_layout Standard
25817 usepackage[format definition]{caption}
25820 \begin_layout Standard
25821 という行を加えて、LaTeXパッケージ
25826 \begin_inset Index idx
25829 \begin_layout Plain Layout
25830 LaTeXぱっけーじ@LaTeXパッケージ ! caption
25835 を読み込んでください。たとえば、ラベルと番号をサンセリフのボールド体にして、表キャプションを、この文書のように常に表の上に置くようにするには、
25838 \begin_layout Standard
25843 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
25846 \begin_layout Standard
25847 というコマンドを使用してください。また、各フロート型毎に別々のキャプション書式を定義することもできます。この場合には、
25851 パッケージを書式関連オプション抜きで読み込み、文書プリアンブルに
25854 \begin_layout Standard
25859 captionsetup[フロート型]{書式定義}
25862 \begin_layout Standard
25863 というコマンドを使用して、個別の書式を指定してください。たとえば、図
25864 \begin_inset CommandInset ref
25866 reference "fig:図キャプション"
25871 \begin_inset CommandInset ref
25873 reference "tab:表キャプション"
25877 に使われているキャプション書式は、文書プリアンブルに以下のコマンドを指定することで作り出すことができます。
25880 \begin_layout Standard
25885 usepackage[tableposition=top]{caption}
25888 \begin_inset Newline newline
25895 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
25896 \begin_inset Newline newline
25900 \begin_inset Phantom HPhantom
25903 \begin_layout Plain Layout
25906 captionsetup[figure]{
25912 \begin_inset Newline newline
25917 captionsetup[table]{labelfont={bf,sf}}
25920 \begin_layout Standard
25921 \begin_inset Note Greyedout
25924 \begin_layout Plain Layout
25938 \begin_inset Index idx
25941 \begin_layout Plain Layout
25942 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
25947 が使われているときには、無効になります。この場合には、文書クラスオプション
25949 captions=tableheading
25959 \begin_layout Standard
25964 パッケージについての詳細は、その取扱説明書
25965 \begin_inset CommandInset citation
25974 \begin_layout Standard
25975 ラベル名を、たとえば「図」から「画像」に変更するには、以下のプリアンブルコマンドを使用してください。
25978 \begin_layout Standard
25990 \begin_layout Standard
26004 \begin_layout Standard
26005 \begin_inset VSpace bigskip
26013 \begin_inset Index idx
26016 \begin_layout Plain Layout
26017 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
26024 article (KOMA-script)
26032 letter (KOMA-script)
26036 report (KOMA-script)
26050 を使用することもできます。たとえば、キャプションラベルをボールド体にするには、以下のコマンドを文書プリアンブルに加えます。
26053 \begin_layout Standard
26058 setkomafont{captionlabel}{
26063 \begin_layout Standard
26075 \begin_inset CommandInset citation
26084 \begin_layout Standard
26088 \begin_layout Plain Layout
26092 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
26099 \begin_inset Note Note
26102 \begin_layout Plain Layout
26103 キャプション書式は、この例のみ変更してあります。
26111 \begin_layout Standard
26112 \begin_inset Float figure
26118 \begin_layout Plain Layout
26120 \begin_inset Graphics
26121 filename ../clipart/mobius.eps
26124 scaleBeforeRotation
26131 \begin_layout Plain Layout
26132 \begin_inset Caption Standard
26134 \begin_layout Plain Layout
26135 \begin_inset CommandInset label
26141 これは、別のキャプション書式を例示するための、一行よりも長い図キャプションです。ここでは、自製キャプション書式が使用されています。
26154 \begin_layout Standard
26158 \begin_layout Plain Layout
26162 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
26171 \begin_layout Standard
26172 \begin_inset Float table
26178 \begin_layout Plain Layout
26179 \begin_inset Caption Standard
26181 \begin_layout Plain Layout
26182 \begin_inset CommandInset label
26188 これは、別のキャプション書式を例示するための、一行よりも長い表キャプションです。ここでは、この文書での表キャプションの標準書式が使用されています。
26196 \begin_layout Plain Layout
26198 \begin_inset Tabular
26199 <lyxtabular version="3" rows="1" columns="5">
26200 <features rotate="0" tabularvalignment="middle">
26201 <column alignment="center" valignment="top" width="0">
26202 <column alignment="center" valignment="top" width="0">
26203 <column alignment="center" valignment="top" width="0">
26204 <column alignment="center" valignment="top" width="0">
26205 <column alignment="center" valignment="top" width="0">
26207 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26210 \begin_layout Plain Layout
26216 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26219 \begin_layout Plain Layout
26225 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26228 \begin_layout Plain Layout
26234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26237 \begin_layout Plain Layout
26243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26246 \begin_layout Plain Layout
26265 \begin_layout Section
26267 \begin_inset Index idx
26270 \begin_layout Plain Layout
26271 きゃぷしょん@キャプション ! はいち@配置
26277 \begin_inset Index idx
26280 \begin_layout Plain Layout
26281 ふろーと@フロート ! きゃぷしょんのはいち@キャプションの配置
26287 \begin_inset CommandInset label
26289 name "sec:キャプションの配置"
26296 \begin_layout Standard
26300 \begin_layout Description
26301 図の場合: キャプションを図の下に置く
26304 \begin_layout Description
26305 表の場合: キャプションを表の上に置く
26308 \begin_layout Standard
26309 という風になっています。LaTeXの標準クラスでは、キャプションを表の上に置くことは、残念ながらサポートされていません。したがって、
26325 といった文書クラスを使用している時には、キャプションと表の間に余白が置かれなくなってしまいます。本来あるべき余白を挿入するには、お使いの文書プリアンブルでLaT
26333 \begin_layout Standard
26339 \begin_layout Standard
26344 \begin_layout Plain Layout
26350 \begin_inset CommandInset ref
26352 reference "sec:キャプションの書式設定"
26366 \begin_inset Index idx
26369 \begin_layout Plain Layout
26370 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
26377 article (KOMA-script)
26385 letter (KOMA-script)
26389 report (KOMA-script)
26392 \begin_inset space \thinspace{}
26399 パッケージにオプションを与える代わりに、文書クラスオプション
26401 captions=tableheading
26406 \begin_layout Standard
26407 \begin_inset VSpace bigskip
26410 また、キャプションは、図表の横に置くこともできます。これを実現するには、文書プリアンブルに
26413 \begin_layout Standard
26418 usepackage[option]{sidecap}
26421 \begin_layout Standard
26422 という行を入れて、LaTeXパッケージ
26427 \begin_inset Index idx
26430 \begin_layout Plain Layout
26431 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
26436 を読み込まなくてはなりません。オプションを与えなければ、ページの外側余白の側に---偶数ページでは右側、奇数頁では左側に---キャプションが置かれます。
26440 オプションを与えれば、内側余白側に配置を変更することができます。配置をつねに右側ないし左側に来るように強制するには、
26451 \begin_layout Standard
26455 \begin_layout Plain Layout
26465 \begin_inset Note Note
26468 \begin_layout Plain Layout
26473 が導入されているときのみ表示されます。
26481 \begin_layout Standard
26482 LyXでフロートのキャプションを横に配置するには、以下のコマンド群を文書プリアンブルに追加する必要があります。
26485 \begin_layout Standard
26487 \begin_inset CommandInset line
26498 \begin_layout Standard
26505 TabBesBeg}[1][1.0]{%
26506 \begin_inset Newline newline
26510 \begin_inset Phantom HPhantom
26513 \begin_layout Plain Layout
26514 \begin_inset space ~
26529 \begin_inset Newline newline
26533 \begin_inset Phantom HPhantom
26536 \begin_layout Plain Layout
26539 \begin_inset space ~
26554 \begin_inset Newline newline
26558 \begin_inset Phantom HPhantom
26561 \begin_layout Plain Layout
26564 \begin_inset space ~
26574 renewenvironment{table}[1]{
26576 begin{SCtable}[#1]##1}{
26581 \begin_layout Standard
26589 \begin_inset Newline newline
26593 \begin_inset Phantom HPhantom
26596 \begin_layout Plain Layout
26597 \begin_inset space ~
26612 \begin_inset Newline newline
26616 \begin_inset Phantom HPhantom
26619 \begin_layout Plain Layout
26620 \begin_inset space ~
26637 \begin_layout Standard
26644 FigBesBeg}[1][1.0]{%
26645 \begin_inset Newline newline
26649 \begin_inset Phantom HPhantom
26652 \begin_layout Plain Layout
26653 \begin_inset space ~
26668 \begin_inset Newline newline
26672 \begin_inset Phantom HPhantom
26675 \begin_layout Plain Layout
26676 \begin_inset space ~
26691 \begin_inset Newline newline
26695 \begin_inset Phantom HPhantom
26698 \begin_layout Plain Layout
26699 \begin_inset space ~
26709 renewenvironment{figure}[1]{
26711 begin{SCfigure}[#1]##1}{
26716 \begin_layout Standard
26724 \begin_inset Newline newline
26728 \begin_inset Phantom HPhantom
26731 \begin_layout Plain Layout
26732 \begin_inset space ~
26747 \begin_inset Newline newline
26751 \begin_inset Phantom HPhantom
26754 \begin_layout Plain Layout
26755 \begin_inset space ~
26772 \begin_layout Standard
26774 \begin_inset CommandInset line
26785 \begin_layout Standard
26786 これらのコマンドは、キャプションが脇に来るようにフロートを再定義することを可能にするものです。図フロートの場合は、
26789 \begin_layout Standard
26797 \begin_layout Standard
26798 というコマンドを、フロートの前にTeXコードで入れてください。
26800 And insert the command
26803 \begin_layout Standard
26811 \begin_layout Standard
26814 in TeX-Code at the point where you want to get back to the original float
26818 \begin_layout Standard
26819 表フロートに対しては、対応するコマンド
26822 \begin_layout Standard
26836 \begin_layout Standard
26838 \begin_inset CommandInset ref
26840 reference "fig:図横キャプション"
26845 \begin_inset CommandInset ref
26847 reference "tab:表横キャプション"
26854 \begin_layout Standard
26855 これらの例において、表フロートの場合には、キャプションの文章がフロート上部に表示され、図フロートではフロート下部に表示されることが確認いただけると思います。これ
26856 を変更するには、文書プリアンブルかフロート直前に、TeXコードとして
26859 \begin_layout Standard
26864 sidecaptionvpos{フロート型}{配置}
26867 \begin_layout Standard
26868 というコマンドを使用します。ここで「フロート型」は
26876 であり、「配置」は、上揃えの場合はtopの
26879 \begin_layout Standard
26892 」のいずれかになります。たとえば、図フロートのキャプションを縦方向中央揃えとしたい場合には、
26895 \begin_layout Standard
26900 sidecaptionvpos{figure}{c}
26903 \begin_layout Standard
26904 というコマンドを使用します。これは、図
26905 \begin_inset CommandInset ref
26907 reference "fig:図横キャプション-2"
26914 \begin_layout Standard
26915 \begin_inset VSpace medskip
26921 \begin_layout Standard
26924 The default caption width is the width of the image/table.
26925 For thin image/tables, like in Table
26928 \begin_inset space ~
26932 \begin_inset CommandInset ref
26934 reference "tab:表横キャプション"
26940 this leads to captions that are too thin.
26941 You can increase the width by specifying a factor that will be multiplied
26942 with the image/table width to get the caption width.
26943 The caption width will automatically be recalculated in case it would protrude
26944 over the page or column margin due to the specified width.
26949 can either be given as optional argument for
26958 \begin_layout Standard
26967 \begin_layout Standard
26970 or in the definition of
26980 with another value.
26981 If you do the latter, your factor will be the default if
26987 is used without an argument.
26991 \begin_inset space ~
26995 \begin_inset CommandInset ref
26997 reference "tab:cap-beside-tab-wider"
27003 the factor 5 was used.
27006 \begin_layout Standard
27009 \begin_inset Note Greyedout
27012 \begin_layout Plain Layout
27018 For floats with captions set beside, you cannot use the float placement
27022 \begin_inset space ~
27027 because it is not supported by
27039 \begin_layout Standard
27040 \begin_inset VSpace medskip
27048 \begin_inset CommandInset citation
27057 \begin_layout Standard
27058 \begin_inset Note Greyedout
27061 \begin_layout Plain Layout
27067 \begin_inset CommandInset ref
27069 reference "sub:参照位置"
27078 \begin_inset Index idx
27081 \begin_layout Plain Layout
27082 LaTeXぱっけーじ@LaTeXパッケージ ! hypcap
27087 は、キャプションを脇に表示したフロートに対しては、効果を持ちません。
27095 \begin_layout Standard
27099 \begin_layout Plain Layout
27111 \begin_layout Standard
27112 \begin_inset Float figure
27117 \begin_layout Plain Layout
27118 \begin_inset Graphics
27119 filename ../clipart/escher-lsd.eps
27121 scaleBeforeRotation
27128 \begin_layout Plain Layout
27129 \begin_inset Caption Standard
27131 \begin_layout Plain Layout
27132 \begin_inset CommandInset label
27134 name "fig:図横キャプション"
27151 \begin_layout Standard
27155 \begin_layout Plain Layout
27167 \begin_layout Standard
27171 \begin_layout Plain Layout
27183 \begin_layout Standard
27184 \begin_inset Float table
27189 \begin_layout Plain Layout
27190 \begin_inset Caption Standard
27192 \begin_layout Plain Layout
27193 \begin_inset CommandInset label
27195 name "tab:表横キャプション"
27207 \begin_layout Plain Layout
27208 \begin_inset Tabular
27209 <lyxtabular version="3" rows="4" columns="5">
27210 <features rotate="0" tabularvalignment="middle">
27211 <column alignment="center" valignment="top" width="0">
27212 <column alignment="center" valignment="top" width="0">
27213 <column alignment="center" valignment="top" width="0">
27214 <column alignment="center" valignment="top" width="0">
27215 <column alignment="center" valignment="top" width="0">
27217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27220 \begin_layout Plain Layout
27226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27229 \begin_layout Plain Layout
27235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27238 \begin_layout Plain Layout
27244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27247 \begin_layout Plain Layout
27253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27256 \begin_layout Plain Layout
27264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27267 \begin_layout Plain Layout
27273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27276 \begin_layout Plain Layout
27282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27285 \begin_layout Plain Layout
27291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27294 \begin_layout Plain Layout
27300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27303 \begin_layout Plain Layout
27311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27314 \begin_layout Plain Layout
27320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27323 \begin_layout Plain Layout
27329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27332 \begin_layout Plain Layout
27338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27341 \begin_layout Plain Layout
27347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27350 \begin_layout Plain Layout
27358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27361 \begin_layout Plain Layout
27367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27370 \begin_layout Plain Layout
27376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27379 \begin_layout Plain Layout
27385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27388 \begin_layout Plain Layout
27394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27397 \begin_layout Plain Layout
27416 \begin_layout Standard
27420 \begin_layout Plain Layout
27432 \begin_layout Standard
27436 \begin_layout Plain Layout
27440 sidecaptionvpos{figure}{c}
27446 \begin_inset Float figure
27451 \begin_layout Plain Layout
27452 \begin_inset Graphics
27453 filename ../clipart/escher-lsd.eps
27455 scaleBeforeRotation
27462 \begin_layout Plain Layout
27463 \begin_inset Caption Standard
27465 \begin_layout Plain Layout
27466 \begin_inset CommandInset label
27468 name "fig:図横キャプション-2"
27472 これは図の横にある縦方向中央揃えのキャプションです。
27485 \begin_layout Standard
27489 \begin_layout Plain Layout
27501 \begin_layout Standard
27505 \begin_layout Plain Layout
27517 \begin_layout Standard
27518 \begin_inset Float table
27523 \begin_layout Plain Layout
27524 \begin_inset Caption Standard
27526 \begin_layout Plain Layout
27529 \begin_inset CommandInset label
27531 name "tab:cap-beside-tab-wider"
27535 This is a caption is wider than the one in Table
27538 \begin_inset space ~
27542 \begin_inset CommandInset ref
27544 reference "tab:表横キャプション"
27556 \begin_layout Plain Layout
27557 \begin_inset Tabular
27558 <lyxtabular version="3" rows="4" columns="5">
27559 <features rotate="0" tabularvalignment="middle">
27560 <column alignment="center" valignment="top" width="0">
27561 <column alignment="center" valignment="top" width="0">
27562 <column alignment="center" valignment="top" width="0">
27563 <column alignment="center" valignment="top" width="0">
27564 <column alignment="center" valignment="top" width="0">
27566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27569 \begin_layout Plain Layout
27575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27578 \begin_layout Plain Layout
27584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27587 \begin_layout Plain Layout
27593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27596 \begin_layout Plain Layout
27602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27605 \begin_layout Plain Layout
27613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27616 \begin_layout Plain Layout
27622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27625 \begin_layout Plain Layout
27631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27634 \begin_layout Plain Layout
27640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27643 \begin_layout Plain Layout
27649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27652 \begin_layout Plain Layout
27660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27663 \begin_layout Plain Layout
27669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27672 \begin_layout Plain Layout
27678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27681 \begin_layout Plain Layout
27687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27690 \begin_layout Plain Layout
27696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27699 \begin_layout Plain Layout
27707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27710 \begin_layout Plain Layout
27716 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27719 \begin_layout Plain Layout
27725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27728 \begin_layout Plain Layout
27734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27737 \begin_layout Plain Layout
27743 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27746 \begin_layout Plain Layout
27765 \begin_layout Standard
27769 \begin_layout Plain Layout
27781 \begin_layout Standard
27785 \begin_layout Plain Layout
27795 \begin_inset Note Note
27798 \begin_layout Plain Layout
27803 が導入されていないときのみ表示されます。
27811 \begin_layout Standard
27812 本節の残りの部分を出力で表示するには、LaTeXパッケージ
27819 \begin_layout Standard
27823 \begin_layout Plain Layout
27835 \begin_layout Section
27837 \begin_inset Index idx
27840 \begin_layout Plain Layout
27841 ふろーと@フロート ! ふろーといちらん@フロート一覧
27849 \begin_layout Standard
27850 文書中の各節が列挙されたものである目次と同様、文書中の図など、すべてのフロート型に一覧があります。これらは、
27852 挿入\SpecialChar \menuseparator
27858 \begin_layout Standard
27859 一覧の見出しは、フロートのキャプションないし短縮タイトル、フロート番号、これらが文書中で現れるページ番号で構成されます。
27862 \begin_layout Standard
27863 本文書の終わりに、図一覧と表一覧があります。
27866 \begin_layout Chapter
27870 \begin_layout Section
27872 \begin_inset Index idx
27875 \begin_layout Plain Layout
27876 ちゅうしゃく@注釈 ! LyXのーと@LyXノート
27884 \begin_layout Standard
27893 挿入\SpecialChar \menuseparator
27896 メニューで挿入することができます。注釈には、以下の三つの型があります。
27899 \begin_layout Description
27900 LyX注釈 この注釈型は、内部用途の注釈で出力には現れません。注釈ボックスは、以下のように表示されます。
27901 \begin_inset Newline newline
27905 \begin_inset Newline newline
27909 \begin_inset Graphics
27910 filename ../clipart/LyXNoteImageQt4.png
27913 scaleBeforeRotation
27918 \begin_inset Note Note
27921 \begin_layout Plain Layout
27922 これは、出力には現れない注釈ボックスに書かれた文章です。
27930 \begin_layout Description
27931 コメント この注釈も出力には現れませんが、
27933 ファイル\SpecialChar \menuseparator
27934 書き出し\SpecialChar \menuseparator
27935 LaTeX (pdflatex) / (平文)
27937 メニューを使って文書をLaTeXにエクスポートする際には、LaTeXコメントとして出力されます。注釈ボックスは、以下のように表示されます。
27938 \begin_inset Newline newline
27942 \begin_inset Newline newline
27946 \begin_inset Graphics
27947 filename ../clipart/CommentNoteImageQt4.png
27950 scaleBeforeRotation
27955 \begin_inset Note Comment
27958 \begin_layout Plain Layout
27959 これは、LaTeXファイルのコメントのみに現れる注釈ボックスに書かれた文章です。
27967 \begin_layout Description
27968 淡色表示 この注釈は、薄灰色の文章として出力に現れます。注釈ボックスは、以下のように表示されます。
27969 \begin_inset Newline newline
27973 \begin_inset Newline newline
27977 \begin_inset Graphics
27978 filename ../clipart/GreyedOutNoteImageQt4.png
27981 scaleBeforeRotation
27986 \begin_inset Newline newline
27993 \begin_layout Plain Layout
27997 renewenvironment{lyxgreyedout}
28000 \begin_layout Plain Layout
28004 textcolor[gray]{0.8}
28014 \begin_inset Note Greyedout
28017 \begin_layout Plain Layout
28018 これは、出力に薄灰色の文章として現れるコメントに書かれた文章
28022 \begin_layout Plain Layout
28023 これは、淡色表示注釈内に脚注を用いた例です。
28037 \begin_layout Plain Layout
28041 renewenvironment{lyxgreyedout}
28044 \begin_layout Plain Layout
28058 \begin_inset Note Note
28061 \begin_layout Plain Layout
28062 以下に述べられているように、淡色表示注釈は、青文字で表示されるよう本文書のプリアンブルで再定義されているため、ここの淡色表示注釈は、LyX本来の定義で表示される
28069 \begin_inset Newline newline
28073 \begin_inset Newline newline
28076 この例から分かるように、淡色表示注釈の最初の行は少し字下げされるほか、淡色表示注釈には脚注を入れることができます。
28079 \begin_layout Standard
28080 \begin_inset VSpace bigskip
28093 が挿入されます。注釈ボックスを右クリックすれば、五つの注釈型を切り替えることができます。既存の平文を注釈に変えるには、平文を選択して、注釈ツールバーボタンをクリ
28094 ックしてください。注釈を平文に変更するには、カーソルを注釈の先頭に置いてBackspaceキーを押すか、カーソルを注釈の最後に置いてDeleteキーを押してくだ
28098 \begin_layout Standard
28099 \begin_inset VSpace bigskip
28104 You can change the text color of the greyed out notes in the menu
28106 Document\SpecialChar \menuseparator
28107 Settings\SpecialChar \menuseparator
28113 \begin_layout Section
28115 \begin_inset CommandInset label
28122 \begin_inset Index idx
28125 \begin_layout Plain Layout
28126 ちゅうしゃく@注釈 ! きゃくちゅう@脚注
28132 \begin_inset Index idx
28135 \begin_layout Plain Layout
28144 \begin_layout Standard
28148 arg "footnote-insert"
28153 挿入\SpecialChar \menuseparator
28156 メニューを使って挿入することができます。すると、脚注文を挿入したところに、
28157 \begin_inset Graphics
28158 filename clipart/footnoteQt4.png
28160 scaleBeforeRotation
28164 のような脚注ボックスが現れます。もし既存の文章を脚注に変えたいならば、その文章を選択して、脚注ツールバーボタンをクリックしてください。脚注を平文に変えるには、カ
28165 ーソルが脚注の先頭にある時にBackspaceキーを押すか、カーソルが脚注の最後にある時にDeleteキーを押します。
28168 \begin_layout Standard
28173 \begin_layout Plain Layout
28174 \begin_inset CommandInset label
28189 \begin_layout Plain Layout
28193 newcounter{MyRepeatFoot}
28196 \begin_layout Plain Layout
28200 setcounter{MyRepeatFoot}{
28210 \begin_layout Standard
28211 出力に於いては、脚注は、文中の脚注ボックスを置いた位置に上付き数字として表示され、脚注文は現ページ底部に置かれます。脚注番号はLaTeXが計算を行い、連番が付け
28212 られます。脚注番号が章毎にリセットされるか否かは、使用する文書クラスに依ります。
28215 \begin_layout Standard
28216 脚注もフロート同様、参照することができます。脚注にラベルを挿入し、第
28217 \begin_inset CommandInset ref
28219 reference "sec:フロートの参照"
28223 節に説明されているようにして、本文中でこのラベルを相互参照してください。
28224 \begin_inset Newline newline
28228 \begin_inset CommandInset ref
28230 reference "fn:これは脚注の一例"
28237 \begin_layout Standard
28238 \begin_inset VSpace defskip
28244 \begin_layout Standard
28245 LaTeXでは、技術的要因により、表中の脚注は印字されません。しかし、それを行うには他の方法があり、まず脚注の代わりにTeXコードで
28251 コマンドを入れてください。脚注の本文は、表の後でTeXコード
28258 \begin_inset Newline newline
28262 \begin_inset Newline newline
28276 \begin_inset Newline newline
28282 \begin_layout Standard
28283 \begin_inset Tabular
28284 <lyxtabular version="3" rows="2" columns="1">
28285 <features rotate="0" tabularvalignment="middle">
28286 <column alignment="center" valignment="top" width="0">
28288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28291 \begin_layout Plain Layout
28296 \begin_layout Plain Layout
28309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28312 \begin_layout Plain Layout
28317 \begin_layout Plain Layout
28340 \begin_layout Plain Layout
28353 \begin_layout Plain Layout
28363 \begin_layout Standard
28365 \begin_inset CommandInset ref
28367 reference "sub:長尺表での脚注"
28374 \begin_layout Standard
28375 ミニページ中の脚注は出力されますが、ミニボックスは頁中の頁のようなものなので、ボックス内に独立した連番として出力されます(ミニページについての詳細は、第
28376 \begin_inset CommandInset ref
28378 reference "sec:ミニページ"
28382 節を参照)。通常の脚注のように頁底部に出力されるミニページを得るには、やはり
28397 \begin_layout Standard
28398 \begin_inset Box Frameless
28408 height_special "totalheight"
28411 \begin_layout Plain Layout
28416 \begin_layout Plain Layout
28425 \begin_layout Plain Layout
28430 \begin_layout Plain Layout
28447 \begin_layout Standard
28451 \begin_layout Plain Layout
28464 \begin_layout Plain Layout
28472 \begin_inset VSpace defskip
28478 \begin_layout Standard
28479 毎回脚注本文を出力せずに、同じ脚注を何度か参照したい場合には、TeXコードでコマンド
28486 \begin_inset Newline newline
28489 文章を書いている途中には、繰り返す脚注の数はわからないので、その番号は保存しておかなくてはなりません。以下の脚注例では、脚注
28490 \begin_inset CommandInset ref
28492 reference "fn:これは脚注の一例"
28499 \begin_layout Standard
28504 newcounter{MyRepeatFoot}
28505 \begin_inset Newline newline
28510 setcounter{MyRepeatFoot}{
28515 \begin_layout Standard
28516 というコマンドを挿入しています。そして脚注マークは、
28519 \begin_layout Standard
28529 \begin_layout Standard
28533 \begin_layout Standard
28538 \begin_layout Plain Layout
28552 \begin_layout Standard
28553 直前の脚注を繰り返すには、脚注番号の保存を行わないで、直ちに
28556 \begin_layout Standard
28566 \begin_layout Standard
28570 \begin_layout Standard
28575 \begin_layout Plain Layout
28589 \begin_layout Subsection
28591 \begin_inset CommandInset label
28598 \begin_inset Index idx
28601 \begin_layout Plain Layout
28610 \begin_layout Standard
28611 各節毎に脚注番号を1にリセットするには、文書プリアンブルに
28614 \begin_layout Standard
28619 @addtoreset{footnote}{section}
28622 \begin_layout Standard
28626 \begin_layout Standard
28627 \begin_inset VSpace bigskip
28630 以下のプリアンブルコマンドを使うと、脚注の付番様式を小文字ローマ数字に変更することができます。
28633 \begin_layout Standard
28645 \begin_layout Standard
28649 \begin_layout Plain Layout
28666 \begin_layout Plain Layout
28667 これは、ローマ数字を使った脚注の例です。
28675 \begin_layout Standard
28676 付番様式を大文字ローマ数字に変更するには、上記コマンドの
28688 に置き換えてください。脚注を大文字または小文字ラテン「文字」で付番するには、それぞれ
28700 を使用してください。記号を使って付「番」するには、
28709 \begin_layout Standard
28710 \begin_inset Note Greyedout
28713 \begin_layout Plain Layout
28718 この付番方法には1文字しか使えないので、ラテン文字を使うと26個の脚注しか番号を振ることができません。
28724 \begin_inset Newline newline
28728 \begin_inset Note Greyedout
28731 \begin_layout Plain Layout
28736 記号を使うと9個の脚注しか番号を振ることができません。
28744 \begin_layout Standard
28745 付番様式を変更した後、既定様式に戻すには、上記コマンドの
28761 \begin_layout Plain Layout
28777 \begin_layout Standard
28778 \begin_inset VSpace bigskip
28784 \begin_layout Standard
28785 脚注を「章番号.脚注番号」スキームで付番したいときには、使用中文書のプリアンブルに
28788 \begin_layout Standard
28793 numberwithin{footnote}{chapter}
28796 \begin_layout Standard
28803 コマンドを使用できるようにするためには、文書設定の
28810 \begin_inset space ~
28818 \begin_layout Standard
28822 \begin_layout Plain Layout
28826 numberwithin{footnote}{chapter}
28837 \begin_layout Plain Layout
28842 「章番号.脚注番号」スキームで番号を振られた脚注です。
28853 \begin_layout Plain Layout
28869 \begin_layout Standard
28870 \begin_inset Note Greyedout
28873 \begin_layout Plain Layout
28880 は、脚注番号を常にアラビア数字で出力します。それよりも前にアラビア数字以外に再定義されたものは無効となります。
28888 \begin_layout Standard
28891 Roman{footnote}」スキームを得るには、
28897 の代わりに以下のコマンドを使用してください。
28900 \begin_layout Standard
28914 \begin_layout Subsection
28916 \begin_inset Index idx
28919 \begin_layout Plain Layout
28928 \begin_layout Standard
28929 同一ページに複数の脚注がある場合、それらはページ底部に縦方向の余白を空けることなく、並べられます。これを読みやすくするには、例えば以下のようなコマンドをプリアン
28931 \begin_inset space \thinspace{}
28937 \begin_layout Standard
28947 \begin_inset Newline newline
28961 \begin_layout Standard
28962 \begin_inset VSpace bigskip
28965 二段組文書では、脚注は各段底部に表示されます(図
28966 \begin_inset CommandInset ref
28968 reference "fig:標準的脚注配置"
28973 \begin_inset CommandInset ref
28975 reference "fig:ftnright脚注配置"
28979 のように、脚注を右段底部にのみ表示するようにするには、文書プリアンブルに
28982 \begin_layout Standard
28987 usepackage{ftnright}
28990 \begin_layout Standard
28991 というコマンドを書いて、LaTeXパッケージ
28996 \begin_inset Index idx
28999 \begin_layout Plain Layout
29000 LaTeXぱっけーじ@LaTeXパッケージ ! ftnright
29006 \begin_inset Float figure
29012 \begin_layout Plain Layout
29016 \begin_layout Plain Layout
29026 \begin_inset Graphics
29027 filename ../clipart/without_fntright.pdf
29029 scaleBeforeRotation
29037 \begin_layout Plain Layout
29047 \begin_layout Plain Layout
29048 \begin_inset Caption Standard
29050 \begin_layout Plain Layout
29051 \begin_inset CommandInset label
29070 \begin_layout Standard
29071 \begin_inset Float figure
29077 \begin_layout Plain Layout
29081 \begin_layout Plain Layout
29091 \begin_inset Graphics
29092 filename ../clipart/with_fntright.pdf
29094 scaleBeforeRotation
29102 \begin_layout Plain Layout
29112 \begin_layout Plain Layout
29113 \begin_inset Caption Standard
29115 \begin_layout Plain Layout
29116 \begin_inset CommandInset label
29118 name "fig:ftnright脚注配置"
29139 \begin_layout Standard
29140 \begin_inset VSpace bigskip
29144 \begin_inset CommandInset ref
29150 のように、節の末尾に別段落を設けて、脚注をまとめて出力することも普通に行われます。これは「後注
29151 \begin_inset Index idx
29154 \begin_layout Plain Layout
29160 」と呼ばれるものです。文書中で脚注の代わりに後注を使用するには、
29162 文書\SpecialChar \menuseparator
29163 設定\SpecialChar \menuseparator
29170 を読み込んでください。まとめた注を出力するには、節ないし章末にTeXコードで
29173 \begin_layout Standard
29181 \begin_layout Standard
29185 \begin_layout Standard
29186 \begin_inset Float figure
29191 \begin_layout Plain Layout
29196 \begin_layout Plain Layout
29206 \begin_inset Graphics
29207 filename ../clipart/endnotes.pdf
29208 scaleBeforeRotation
29216 \begin_layout Plain Layout
29226 \begin_layout Plain Layout
29227 \begin_inset Caption Standard
29229 \begin_layout Plain Layout
29230 \begin_inset CommandInset label
29236 後注 – 注を節ないし章末に別段落として印字します。
29249 \begin_layout Standard
29250 \begin_inset VSpace medskip
29253 後注の段落見出しは、文書言語に自動的に翻訳されることはありませんので、手動で翻訳しなくてはなりません。プリアンブルで
29256 \begin_layout Standard
29263 notesname}{Anmerkungen}
29266 \begin_layout Standard
29267 というコマンドを使えば、既定の英語名「Notes」を独語訳「Anmerkungen」に変えることができます。
29270 \begin_layout Standard
29271 \begin_inset VSpace medskip
29275 \begin_inset CommandInset ref
29277 reference "sub:脚注の付番"
29281 節で述べた脚注の付番と同様に、後注の付番も変更することができます。
29293 を用いてください。後注番号をリセットするには、第
29294 \begin_inset CommandInset ref
29296 reference "sub:脚注の付番"
29317 \begin_layout Standard
29319 \begin_inset CommandInset ref
29340 \begin_layout Standard
29341 \begin_inset VSpace bigskip
29344 脚注はページ余白に置くこともでき、脚注文の揃えも変更することができます。詳細は、LaTeXパッケージ
29349 \begin_inset Index idx
29352 \begin_layout Plain Layout
29353 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
29359 \begin_inset CommandInset citation
29368 \begin_layout Standard
29369 脚注の整形にまつわるその他多くの話題が、LaTeX関連書籍
29370 \begin_inset CommandInset citation
29372 key "latexcompanion,latexguide,latexbook"
29385 \begin_inset Index idx
29388 \begin_layout Plain Layout
29389 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-Script
29396 document class, you can adjust all footnote settings using class-specific
29400 \begin_inset CommandInset citation
29409 \begin_layout Section
29411 \begin_inset Index idx
29414 \begin_layout Plain Layout
29415 ちゅうしゃく@注釈 ! ぼうちゅう@傍注
29423 \begin_layout Standard
29424 LyX内において、傍注注釈は、脚注のような外見と挙動を示します。これは
29426 挿入\SpecialChar \menuseparator
29432 arg "marginalnote-insert"
29435 で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
29438 \begin_layout Standard
29440 \begin_inset Marginal
29443 \begin_layout Plain Layout
29452 \begin_layout Standard
29453 片面文書においては、傍注は右側に表示され、両面文書においては外側余白---偶数ページでは左側、奇数ページでは右側---に表示されます。傍注文は、外側余白の反対側
29454 に---注が左余白に現れるときには右揃えに---寄せられます。傍注文の一行目は、傍注が挿入された文書箇所と同じ行に来るように配置されます。
29457 \begin_layout Standard
29458 \begin_inset VSpace bigskip
29461 傍注を内側余白に置くには、傍注の前にTeXコードで
29464 \begin_layout Standard
29472 \begin_layout Standard
29473 というコマンドを書き加えてください。この新しい配置は、以後のすべての傍注に対して効力があります。
29477 \begin_layout Plain Layout
29487 \begin_inset Marginal
29490 \begin_layout Plain Layout
29499 \begin_inset Newline newline
29505 \begin_inset Note Greyedout
29508 \begin_layout Plain Layout
29509 【註】内側余白には充分な空白がないことがよくあり、出力で傍注が正しく表示されないことがあります。
29517 \begin_layout Standard
29521 \begin_layout Standard
29529 \begin_layout Standard
29534 \begin_layout Plain Layout
29544 \begin_inset Note Greyedout
29547 \begin_layout Plain Layout
29554 コマンドが既に挿入されている段落内では、このコマンドは無視されます。
29562 \begin_layout Standard
29563 \begin_inset VSpace bigskip
29567 \begin_inset Marginal
29570 \begin_layout Plain Layout
29571 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされない例。
29577 \begin_inset CommandInset ref
29579 reference "sub:複数行"
29583 節で述べられている事例と同様に、長い単語が傍注文の最初の単語として来るとハイフネートが行われません。これを回避するには、その単語の前に0
29584 \begin_inset space \thinspace{}
29588 \begin_inset Marginal
29591 \begin_layout Plain Layout
29592 \begin_inset space \hspace*{}
29596 AVeryLongMarginParWord(とっても長い傍注段落中の単語)がハイフネートされる例。
29604 \begin_layout Standard
29605 \begin_inset VSpace bigskip
29611 \begin_layout Standard
29612 \begin_inset Note Greyedout
29615 \begin_layout Plain Layout
29620 通常、傍注は表やフロート、脚注の中では使用することができません。
29628 \begin_layout Standard
29629 \begin_inset VSpace bigskip
29635 \begin_layout Standard
29639 \begin_layout Plain Layout
29649 \begin_inset Note Note
29652 \begin_layout Plain Layout
29657 が導入されているときのみ表示されます。
29665 \begin_layout Standard
29671 \begin_inset Index idx
29674 \begin_layout Plain Layout
29675 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
29680 を使用することで回避することができます。以下の二行を使用中の文書プリアンブルに書き加えると、LyXが傍注に使うコマンドが再定義されて、
29684 パッケージが提供するコマンドを使うようになります。
29687 \begin_layout Standard
29692 usepackage{marginnote}
29693 \begin_inset Newline newline
29705 \begin_layout Standard
29710 には他にも便利な機能があるので、この方法が本文書でも使われています。というのは、
29714 を使うと、傍注文に垂直オフセットを設定することができるからです。これは、あまりにもたくさんの傍注が非常に近いところに集まっていたり、もっとよいページレイアウトが
29715 望まれるときなどに、よく必要とされます。オフセットは、LyX中の傍注の後ろにTeXコードで直接
29718 \begin_layout Standard
29724 \begin_layout Standard
29725 という形で書くことで設定することができます。ここで「オフセット」には、表
29726 \begin_inset CommandInset ref
29732 に挙げてある単位の一つを使用します。負の値を与えると注釈は上にずれ、正の値だと下にずれます。たとえば、この本文行の横にある傍注は、TeXコードコマンド「
29737 \begin_inset space \thinspace{}
29741 \begin_inset Marginal
29744 \begin_layout Plain Layout
29746 \begin_inset space \thinspace{}
29758 \begin_layout Plain Layout
29768 \begin_layout Standard
29769 \begin_inset VSpace medskip
29776 を使うと、傍注の揃えを変更することもできます。たとえば、
29779 \begin_layout Standard
29786 raggedleftmarginnote}{
29789 \begin_inset Newline newline
29796 raggedrightmarginnote}{
29801 \begin_layout Standard
29802 というコマンドを使うと、中央揃えになります。
29806 raggedleftmarginnote
29808 とは、左側に表示されている傍注のことを指します
29812 \begin_layout Plain Layout
29818 raggedleftmarginnote}{
29823 \begin_layout Plain Layout
29829 raggedrightmarginnote}{
29837 \begin_inset Marginal
29840 \begin_layout Plain Layout
29841 この傍注の文章は中央揃えになっています。
29849 \begin_layout Standard
29856 raggedleftmarginnote}{
29859 \begin_inset Newline newline
29866 raggedrightmarginnote}{
29874 \begin_layout Plain Layout
29880 raggedleftmarginnote}{
29885 \begin_layout Plain Layout
29891 raggedrightmarginnote}{
29901 \begin_layout Standard
29905 \begin_layout Standard
29906 \begin_inset VSpace medskip
29914 \begin_inset CommandInset citation
29923 \begin_layout Standard
29924 \begin_inset VSpace bigskip
29927 傍注のレイアウトは、傍注の定義を変更することによって変えることができます。たとえば、すべての傍注に、下線を引いたサンセリフ体の太字で「
29935 」というヘッダ文をつけるには、以下を使用している文書プリアンブルに書き加えてください。
29938 \begin_layout Standard
29948 \begin_inset Newline newline
29958 \begin_inset Newline newline
29962 \begin_inset Phantom HPhantom
29965 \begin_layout Plain Layout
29968 \begin_inset space ~
29985 \begin_inset Newline newline
29989 \begin_inset Phantom HPhantom
29992 \begin_layout Plain Layout
29995 \begin_inset space ~
30012 \begin_layout Standard
30016 \begin_layout Plain Layout
30027 \begin_layout Plain Layout
30038 \begin_layout Plain Layout
30049 \begin_layout Plain Layout
30063 \begin_inset Marginal
30066 \begin_layout Plain Layout
30067 これは、定義したヘッダをつけた傍注です。
30076 \begin_layout Plain Layout
30087 \begin_layout Plain Layout
30101 \begin_inset Note Note
30104 \begin_layout Plain Layout
30105 傍注書式は、この例の分だけ変更してあります。
30113 \begin_layout Standard
30117 \begin_layout Plain Layout
30127 \begin_inset Note Note
30130 \begin_layout Plain Layout
30135 が導入されていないときのみ表示されます。
30143 \begin_layout Standard
30144 本節の以下の部分を出力に表示するには、LaTeXパッケージ
30151 \begin_layout Standard
30155 \begin_layout Plain Layout
30167 \begin_layout Chapter
30171 \begin_layout Section
30173 \begin_inset Index idx
30176 \begin_layout Plain Layout
30185 \begin_layout Standard
30186 ボックスは、一塊の文章を整形するのに使用します。ボックスは、多言語文書を書くのに使用したり(第
30187 \begin_inset CommandInset ref
30189 reference "sec:ミニページ"
30194 \begin_inset CommandInset ref
30200 節参照)、単語がハイフネートされるのを予防したり(第
30201 \begin_inset CommandInset ref
30203 reference "sec:ハイフネーションの回避"
30208 \begin_inset CommandInset ref
30210 reference "sub:垂直揃え"
30214 節参照)、あるいは文章の背景色を設定したり(第
30215 \begin_inset CommandInset ref
30217 reference "sec:色付きボックス"
30224 \begin_layout Standard
30227 挿入\SpecialChar \menuseparator
30233 arg "box-insert Frameless"
30236 を使って挿入することができます。すると、
30237 \begin_inset Graphics
30238 filename ../clipart/BoxInsetDefaultQt4.png
30240 scaleBeforeRotation
30248 というラベルのついた灰色の箱形が挿入されます。ボックス型は、この箱形を右クリックすると出てくるメニューで指定することができます。
30252 メニューを選択すると現れるボックスダイアログでは、
30268 型は、新規ボックスの既定値となっており、第
30269 \begin_inset CommandInset ref
30271 reference "sec:ミニページ"
30280 \begin_inset CommandInset ref
30282 reference "sec:Parbox"
30291 \begin_inset CommandInset ref
30293 reference "sec:ハイフネーションの回避"
30300 \begin_layout Standard
30301 ボックスは付番されないので、フロートや脚注のように参照することはできません。
30304 \begin_layout Standard
30305 \begin_inset Note Greyedout
30308 \begin_layout Plain Layout
30317 環境の単独要素とすべきではありません。
30325 \begin_layout Standard
30326 \begin_inset Note Greyedout
30329 \begin_layout Plain Layout
30330 【註】理由は不明ですが、枠付きボックスを使用している場合には、
30343 \begin_inset CommandInset ref
30345 reference "sec:ハイフネーションの回避"
30357 \begin_layout Section
30359 \begin_inset CommandInset label
30361 name "sec:ボックスダイアログ"
30366 \begin_inset Index idx
30369 \begin_layout Plain Layout
30370 ぼっくす@ボックス ! ぼっくすだいあろぐ@ボックスダイアログ
30378 \begin_layout Subsection
30380 \begin_inset Index idx
30383 \begin_layout Plain Layout
30384 ぼっくす@ボックス ! すんぽう@寸法
30392 \begin_layout Standard
30401 の各フィールドでボックスのジオメトリを調整することができます。ジオメトリに使用することのできる単位は、表
30402 \begin_inset CommandInset ref
30412 フィールドには、加えて以下の寸法を使用することができます。
30415 \begin_layout Description
30416 階層 これは平文の「高さ」です。ボックス中に複数行がある場合には、全体としての階層は無視されます。
30417 \begin_inset Newline newline
30421 \begin_inset Newline newline
30425 \begin_inset Newline newline
30429 \begin_inset Box Boxed
30439 height_special "depth"
30442 \begin_layout Plain Layout
30450 \begin_inset Newline newline
30454 \begin_inset Newline newline
30460 \begin_layout Description
30461 高さ これはボックス内部にある文章の高さです。この寸法でたとえば2の値を与えると、ボックスの高さを文章の2倍の高さに設定します。
30462 \begin_inset Box Boxed
30472 height_special "height"
30475 \begin_layout Plain Layout
30485 \begin_layout Description
30487 \begin_inset Box Boxed
30497 height_special "totalheight"
30500 \begin_layout Plain Layout
30510 \begin_layout Description
30511 幅 これはボックスの幅を高さに設定します。
30512 \begin_inset Box Boxed
30522 height_special "width"
30525 \begin_layout Plain Layout
30535 \begin_layout Subsection
30537 \begin_inset Index idx
30540 \begin_layout Plain Layout
30541 ぼっくす@ボックス ! もじそろえ@文字揃え
30549 \begin_layout Standard
30554 を選んだ場合には、ボックスの垂直揃えを以下のいずれかに設定できます。
30557 \begin_layout Description
30559 \begin_inset Box Boxed
30569 height_special "totalheight"
30572 \begin_layout Plain Layout
30582 \begin_layout Description
30584 \begin_inset Box Boxed
30594 height_special "totalheight"
30597 \begin_layout Plain Layout
30607 \begin_layout Description
30609 \begin_inset Box Boxed
30619 height_special "totalheight"
30622 \begin_layout Plain Layout
30632 \begin_layout Standard
30633 \begin_inset Note Greyedout
30636 \begin_layout Plain Layout
30641 同一行に二つのボックスがあり、一方だけに影付きなどが設定されている場合には、ボックスの垂直文字揃えが出力中で無効となる場合があります。
30649 \begin_layout Standard
30650 ボックスを独立した段落においた場合には、ボックスの水平文字揃えは、LyXの段落ダイアログから設定できます。
30653 \begin_layout Standard
30654 \begin_inset VSpace bigskip
30661 を設定したときには、ボックスの内容を以下のように垂直揃えを行うことができます。
30664 \begin_layout Description
30666 \begin_inset Box Boxed
30676 height_special "totalheight"
30679 \begin_layout Plain Layout
30689 \begin_layout Description
30691 \begin_inset Box Boxed
30701 height_special "totalheight"
30704 \begin_layout Plain Layout
30714 \begin_layout Description
30716 \begin_inset Box Boxed
30726 height_special "totalheight"
30729 \begin_layout Plain Layout
30739 \begin_layout Description
30740 広げる これは例示のための本文行です。
30741 \begin_inset Box Boxed
30751 height_special "totalheight"
30754 \begin_layout Plain Layout
30759 \begin_layout Plain Layout
30764 \begin_layout Plain Layout
30774 \begin_layout Standard
30775 ボックスの内容を広げるには、ボックスに複数の段落がなくてはなりません。上述の例では、文章の各行を独立の段落に設定してあります。
30778 \begin_layout Standard
30779 \begin_inset VSpace bigskip
30786 を設定しているときに、ボックスの内容を水平方向に揃えるには、LyXの段落ダイアログを用います。
30789 \begin_layout Standard
30791 \begin_inset Box Boxed
30801 height_special "totalheight"
30804 \begin_layout Plain Layout
30809 \begin_layout Plain Layout
30814 \begin_layout Plain Layout
30824 \begin_layout Standard
30829 を設定していないときには、ボックスの内容は、ボックスダイアログの中で水平揃えの設定をすることができます。
30832 \begin_layout Standard
30834 \begin_inset Box Boxed
30844 height_special "totalheight"
30847 \begin_layout Plain Layout
30848 このボックスの文章は水平方向に広げてあります。
30856 \begin_layout Subsection
30858 \begin_inset CommandInset label
30865 \begin_inset Index idx
30868 \begin_layout Plain Layout
30869 ぼっくす@ボックス ! そうしょく@装飾
30877 \begin_layout Standard
30882 ドロップダウン式一覧から指定することができます。以下の型を指定することができます。
30885 \begin_layout Description
30889 \begin_layout Description
30890 簡素な長方形の枠 これはボックスの周りに長方形の枠を描きます。枠線の太さは
30897 \begin_inset Box Boxed
30907 height_special "totalheight"
30910 \begin_layout Plain Layout
30920 \begin_layout Description
30921 楕円形の枠(細線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.4
30922 \begin_inset space \thinspace{}
30926 \begin_inset Box ovalbox
30936 height_special "totalheight"
30939 \begin_layout Plain Layout
30949 \begin_layout Description
30950 楕円形の枠(太線) これはボックスの周りに楕円形の枠を描きます。枠線の太さは0.8
30951 \begin_inset space \thinspace{}
30955 \begin_inset Box Ovalbox
30965 height_special "totalheight"
30968 \begin_layout Plain Layout
30978 \begin_layout Description
30979 影付き これはボックスの周りに影付きの長方形の枠を描きます。枠線の太さは
30986 \begin_inset space \thinspace{}
30990 \begin_inset Box Shadowbox
31000 height_special "totalheight"
31003 \begin_layout Plain Layout
31013 \begin_layout Description
31014 影の背景 これは背景色が赤のボックスを描きます。色付きボックスとは違って
31018 \begin_layout Plain Layout
31020 \begin_inset CommandInset ref
31022 reference "sec:色付きボックス"
31031 、これは列幅全体を使用し、ボックスは独立した段落に設定されます。
31032 \begin_inset Box Shaded
31042 height_special "totalheight"
31045 \begin_layout Plain Layout
31054 \begin_layout Description
31055 二重線の長方形の枠 これはボックスの周りに二重線の長方形の枠を描きます。内側の枠線の太さは0.75
31056 \begin_inset space \thinspace{}
31066 \begin_inset space \thinspace{}
31076 \begin_inset space \thinspace{}
31086 \begin_inset space \thinspace{}
31090 \begin_inset space \thinspace{}
31094 \begin_inset space \thinspace{}
31098 \begin_inset Box Doublebox
31108 height_special "totalheight"
31111 \begin_layout Plain Layout
31121 \begin_layout Standard
31122 \begin_inset VSpace bigskip
31125 LyXのボックスラベルには、使用中の枠の型が表示されます。すべての型を使用可能にするには、LaTeXパッケージ
31130 \begin_inset Index idx
31133 \begin_layout Plain Layout
31134 LaTeXぱっけーじ@LaTeXパッケージ ! fancybox
31142 \begin_layout Standard
31143 \begin_inset VSpace bigskip
31150 を使用し、内部ボックスをなしにした場合には、ボックス内で改行をすることができます。その際、他の枠付きボックスと異なり、枠は列幅全体に広げられて独立した段落に置か
31170 \begin_inset Box Framed
31180 height_special "totalheight"
31183 \begin_layout Plain Layout
31192 \begin_layout Section
31194 \begin_inset Index idx
31197 \begin_layout Plain Layout
31198 ぼっくす@ボックス ! しょうさいなせってい@詳細な設定
31206 \begin_layout Standard
31214 \begin_inset space \thinspace{}
31217 ptです。これは、TeXコードで以下のコマンドを使うことによって、たとえば2
31218 \begin_inset space \thinspace{}
31224 \begin_layout Standard
31234 \begin_layout Standard
31238 \begin_layout Plain Layout
31250 \begin_inset Box Boxed
31260 height_special "totalheight"
31263 \begin_layout Plain Layout
31272 \begin_inset space \thinspace{}
31276 \begin_inset space \thinspace{}
31280 \begin_inset space \thinspace{}
31292 \begin_layout Plain Layout
31306 \begin_layout Standard
31307 \begin_inset VSpace bigskip
31310 枠とボックスの内容との空白は、すべての枠様式について3
31311 \begin_inset space \thinspace{}
31314 ptが既定値になっています。これは、長さ
31320 を別の値に設定することによって変更することができます。たとえば
31323 \begin_layout Standard
31333 \begin_layout Standard
31335 \begin_inset space \thinspace{}
31338 ptにし、以下のボックスのようになります。
31341 \begin_layout Standard
31345 \begin_layout Plain Layout
31357 \begin_inset Box Boxed
31367 height_special "totalheight"
31370 \begin_layout Plain Layout
31379 \begin_inset space \thinspace{}
31383 \begin_inset space \thinspace{}
31387 \begin_inset space \thinspace{}
31399 \begin_layout Plain Layout
31413 \begin_layout Standard
31414 \begin_inset VSpace bigskip
31417 楕円形ボックスの丸い角の直径は、コマンド
31426 \begin_layout Standard
31434 \begin_layout Standard
31436 \begin_inset space \thinspace{}
31442 \begin_layout Standard
31450 \begin_layout Standard
31454 \begin_inset space \thinspace{}
31458 \begin_inset space \thinspace{}
31472 \begin_layout Standard
31476 \begin_layout Plain Layout
31486 \begin_inset Box Ovalbox
31496 height_special "totalheight"
31499 \begin_layout Plain Layout
31508 \begin_inset space \thinspace{}
31512 \begin_inset space \thinspace{}
31516 \begin_inset space \thinspace{}
31528 \begin_layout Plain Layout
31540 \begin_layout Standard
31541 \begin_inset VSpace bigskip
31550 を変更することで調整できます。以下のボックスでは
31553 \begin_layout Standard
31563 \begin_layout Standard
31565 \begin_inset space \thinspace{}
31571 \begin_layout Standard
31575 \begin_layout Plain Layout
31587 \begin_inset Box Shadowbox
31597 height_special "totalheight"
31600 \begin_layout Plain Layout
31609 \begin_inset space \thinspace{}
31613 \begin_inset space \thinspace{}
31617 \begin_inset space \thinspace{}
31629 \begin_layout Plain Layout
31643 \begin_layout Standard
31644 \begin_inset VSpace bigskip
31650 \begin_layout Standard
31658 \begin_inset space \thinspace{}
31661 ptです。ボックスの中身と枠の間の空白の既定値は9
31662 \begin_inset space \thinspace{}
31671 の値を変えることで変更することができます。たとえば、下記の
31678 \begin_layout Standard
31686 \begin_inset Newline newline
31696 \begin_layout Standard
31697 というTeXコードコマンドで設定してあります。
31701 \begin_layout Plain Layout
31710 \begin_layout Plain Layout
31722 \begin_inset Box Framed
31732 height_special "totalheight"
31735 \begin_layout Plain Layout
31749 \begin_layout Plain Layout
31758 \begin_layout Plain Layout
31772 \begin_layout Standard
31773 \begin_inset VSpace bigskip
31779 \begin_layout Standard
31784 ボックスでは、ボックスの内容と枠の余白の既定値は3
31785 \begin_inset space \thinspace{}
31794 の値を変更することで変えられます。既定の背景色である赤色は、
31798 definecolor{shadebox}
31800 コマンドで局所的に変更することもできますし、
31802 ツール\SpecialChar \menuseparator
31803 設定\SpecialChar \menuseparator
31804 色\SpecialChar \menuseparator
31807 メニューからグローバルに変更することもできます。
31814 \begin_inset CommandInset ref
31816 reference "sec:色付きの表"
31824 \begin_layout Plain Layout
31835 をプリアンブルに読み込む必要があります。第
31836 \begin_inset CommandInset ref
31838 reference "sec:色付きボックス"
31850 \begin_layout Standard
31851 たとえば、下記の影付き背景ボックスの外見は
31854 \begin_layout Standard
31864 \begin_inset Newline newline
31871 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31874 \begin_layout Standard
31875 というTeXコードコマンドを使って設定してあります。
31878 \begin_layout Standard
31882 \begin_layout Plain Layout
31891 \begin_layout Plain Layout
31895 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
31901 \begin_inset Box Shaded
31911 height_special "totalheight"
31914 \begin_layout Plain Layout
31930 \begin_layout Plain Layout
31939 \begin_layout Plain Layout
31943 definecolor{shadecolor}{rgb}{1,0,0}
31951 \begin_layout Standard
31952 \begin_inset VSpace bigskip
31955 変更した長さや幅は、変更を設定したコマンド以後のすべてのボックスに有効となります。
31958 \begin_layout Section
31960 \begin_inset CommandInset label
31967 \begin_inset Index idx
31970 \begin_layout Plain Layout
31971 ぼっくす@ボックス ! みにぺーじ@ミニページ
31979 \begin_layout Standard
31980 ミニページは、LaTeXによってページの中のページとして取り扱われるので、たとえばそれ自身で脚注を持つことができます。
31983 \begin_layout Standard
31984 ミニページは、複数の言語を含む文書を執筆する際に便利です。
31987 \begin_layout Standard
31988 下掲は、二つの例示用ミニページを横に並べたものです。これらの幅は45列幅%に設定され、
31992 \SpecialChar \menuseparator
31997 \SpecialChar \menuseparator
32002 メニューで挿入した水平フィルで隔てられています。
32003 \begin_inset Newpage newpage
32009 \begin_layout Standard
32010 \begin_inset Box Frameless
32020 height_special "totalheight"
32023 \begin_layout Plain Layout
32024 Dies ist ein deutscher Text.
32025 Dies ist ein deutscher Text.
32026 Dies ist ein deutscher Text.
32027 Dies ist ein deutscher Text.
32028 Dies ist ein deutscher Text.
32029 Dies ist ein deutscher Text.
32030 Dies ist ein deutscher Text.
32031 Dies ist ein deutscher Text.
32032 Dies ist ein deutscher Text.
32033 Dies ist ein deutscher Text.
32034 Dies ist ein deutscher Text.
32035 Dies ist ein deutscher Text.
32036 Dies ist ein deutscher Text
32040 \begin_layout Plain Layout
32041 Dies ist eine deutsche Fußnote.
32047 Dies ist ein deutscher Text.
32048 Dies ist ein deutscher Text.
32054 \begin_inset space \hfill{}
32058 \begin_inset Box Frameless
32068 height_special "totalheight"
32071 \begin_layout Plain Layout
32072 This is an English Text.
32073 This is an English Text.
32074 This is an English Text.
32075 This is an English Text.
32076 This is an English Text.
32077 This is an English Text.
32078 This is an English Text.
32079 This is an English Text.
32080 This is an English Text.
32081 This is an English Text.
32082 This is an English Text.
32083 This is an English Text.
32084 This is an English Text.
32085 This is an English Text.
32086 This is an English Text.
32087 This is an English Text.
32091 \begin_layout Plain Layout
32092 This is an English footnote.
32097 This is an English Text.
32105 \begin_layout Standard
32106 \begin_inset VSpace bigskip
32109 ミニページのもう一つの応用例としては、表内での脚注があります。LaTeXの制約のせいで、表中の脚注は、同一ページの底部には表示されません。しかし、脚注を含む表を
32110 ミニページ内に置けば、脚注は底部に表示され、ラテン文字で付番されます。脚注番号は、ミニページ毎に1にリセットされますが、ミニページ外ではリセットされません。
32113 \begin_layout Standard
32115 \begin_inset Tabular
32116 <lyxtabular version="3" rows="3" columns="4">
32117 <features rotate="0" tabularvalignment="middle">
32118 <column alignment="center" valignment="top" width="0pt">
32119 <column alignment="center" valignment="top" width="0pt">
32120 <column alignment="center" valignment="top" width="0pt">
32121 <column alignment="center" valignment="top" width="0pt">
32123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32126 \begin_layout Plain Layout
32132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32135 \begin_layout Plain Layout
32141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32144 \begin_layout Plain Layout
32149 \begin_layout Plain Layout
32160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32163 \begin_layout Plain Layout
32171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32174 \begin_layout Plain Layout
32180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32183 \begin_layout Plain Layout
32189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32192 \begin_layout Plain Layout
32198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32201 \begin_layout Plain Layout
32209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32212 \begin_layout Plain Layout
32218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32221 \begin_layout Plain Layout
32227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32230 \begin_layout Plain Layout
32236 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32239 \begin_layout Plain Layout
32253 \begin_layout Standard
32255 \begin_inset Box Frameless
32265 height_special "totalheight"
32268 \begin_layout Plain Layout
32270 \begin_inset Tabular
32271 <lyxtabular version="3" rows="3" columns="4">
32272 <features rotate="0" tabularvalignment="middle">
32273 <column alignment="center" valignment="top" width="0pt">
32274 <column alignment="center" valignment="top" width="0pt">
32275 <column alignment="center" valignment="top" width="0pt">
32276 <column alignment="center" valignment="top" width="0pt">
32278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32281 \begin_layout Plain Layout
32287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32290 \begin_layout Plain Layout
32296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32299 \begin_layout Plain Layout
32304 \begin_layout Plain Layout
32315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32318 \begin_layout Plain Layout
32326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32329 \begin_layout Plain Layout
32335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32338 \begin_layout Plain Layout
32344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32347 \begin_layout Plain Layout
32353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32356 \begin_layout Plain Layout
32364 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32367 \begin_layout Plain Layout
32373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32376 \begin_layout Plain Layout
32382 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32385 \begin_layout Plain Layout
32391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32394 \begin_layout Plain Layout
32413 \begin_layout Standard
32414 \begin_inset VSpace bigskip
32417 ミニページ内では、文書全体の段落設定は無視されます。つまり、たとえば文書設定で
32421 を設定していたとしても、ミニページ内の段落間には余白が置かれません。
32424 \begin_layout Standard
32425 ミニページは、文章部に背景色を与えるのに使用することもできます。第
32426 \begin_inset CommandInset ref
32428 reference "sub:段落の着色"
32435 \begin_layout Standard
32436 \begin_inset Note Greyedout
32439 \begin_layout Plain Layout
32444 ミニページ内にフロートや傍注を使用することはできませんが、ミニページを表・フロート・他のボックス内で使用することはできます。
32452 \begin_layout Section
32454 \begin_inset CommandInset label
32461 \begin_inset Index idx
32464 \begin_layout Plain Layout
32465 ぼっくす@ボックス ! Parboxes
32473 \begin_layout Standard
32474 Parboxはミニページに非常によく似ていますが、脚注を付けることができない点が違います。
32477 \begin_layout Standard
32479 \begin_inset Box Frameless
32489 height_special "totalheight"
32492 \begin_layout Plain Layout
32493 これはparbox内の文章です。これはparbox内の文章です。
32496 \begin_layout Plain Layout
32501 \begin_layout Plain Layout
32502 これはparbox内の脚注であり、したがって表示はされません。
32515 \begin_layout Section
32517 \begin_inset Index idx
32520 \begin_layout Plain Layout
32521 ぼっくす@ボックス ! もじよう@文字用
32529 \begin_layout Subsection
32531 \begin_inset CommandInset label
32533 name "sec:ハイフネーションの回避"
32538 \begin_inset Index idx
32541 \begin_layout Plain Layout
32542 ぼっくす@ボックス ! はいふねーしょんのかいひ@ハイフネーションの回避
32550 \begin_layout Standard
32551 単語や文章がハイフネートされるのを防ぐには、
32556 \begin_inset Newline newline
32562 \begin_layout Standard
32563 This line is an example to show how you can prevent the hyphenation of
32564 \begin_inset Quotes eld
32568 \begin_inset Quotes erd
32574 \begin_layout Standard
32575 単語「veryverylongword」がハイフネートされるのを防ぐには、単語をボックスの中に入れて、
32586 \begin_layout Standard
32590 \begin_layout Standard
32591 This line is an example to show how you can prevent the hyphenation of
32592 \begin_inset Box Frameless
32602 height_special "totalheight"
32605 \begin_layout Plain Layout
32606 \begin_inset Quotes eld
32610 \begin_inset Quotes erd
32621 \begin_layout Standard
32622 別の方法としては、以下のように、単語の前に直接TeXコードで「
32631 \begin_layout Standard
32632 This line is an example to show how you can prevent the hyphenation of
32633 \begin_inset Quotes eld
32640 \begin_layout Plain Layout
32650 \begin_inset Quotes erd
32656 \begin_layout Standard
32657 もちろん、こうすることでこの単語は右余白に突き出てしまいます。これを回避するには、以下のように
32661 \SpecialChar \menuseparator
32666 \SpecialChar \menuseparator
32674 arg "newline-insert newline"
32677 )から改行を単語の前に入れてください。
32680 \begin_layout Standard
32681 This line is an example to show how you can prevent the hyphenation of
32682 \begin_inset Newline newline
32686 \begin_inset Box Frameless
32696 height_special "totalheight"
32699 \begin_layout Plain Layout
32700 \begin_inset Quotes eld
32704 \begin_inset Quotes erd
32715 \begin_layout Subsection
32717 \begin_inset CommandInset label
32724 \begin_inset Index idx
32727 \begin_layout Plain Layout
32728 ぼっくす@ボックス ! すいちょくぞろえのしかた@垂直揃えの仕方
32734 \begin_inset Index idx
32737 \begin_layout Plain Layout
32738 ぼっくす@ボックス ! Raiseboxes
32746 \begin_layout Standard
32753 コマンドを使うと、単語や文字や他のボックスを、周囲の文章に対して垂直方向に整列させることができます。
32762 \begin_layout Standard
32767 raisebox{持ち上げ幅}[高さ][深さ]{ボックスの内容}
32770 \begin_layout Standard
32771 ここで持ち上げ幅は、正の値ならばボックスを持ち上げ、負の値ならばボックスを引き下げます。
32774 \begin_layout Standard
32775 たとえば、「preventing」という単語を、そのもっとも「深い」文字「p」の底部がベースラインに来るように揃えるには、単語の前にTeXコードで
32778 \begin_layout Standard
32788 \begin_layout Standard
32789 というコマンドを挿入してください。単語の後には、閉じ括弧「
32794 \begin_inset Newline newline
32800 \begin_layout Standard
32801 This is a text line with the word
32805 \begin_layout Plain Layout
32817 \begin_inset Quotes eld
32821 \begin_inset Quotes erd
32828 \begin_layout Plain Layout
32838 \begin_layout Standard
32839 \begin_inset VSpace bigskip
32842 行中の文字を上げ下げすると、以下のように行間が広がります。
32845 \begin_layout Standard
32846 This is a text line with the word
32850 \begin_layout Plain Layout
32862 \begin_inset Quotes eld
32866 \begin_inset Quotes erd
32873 \begin_layout Plain Layout
32881 \begin_inset Newline newline
32884 This is a text line with the word
32888 \begin_layout Plain Layout
32898 \begin_inset Quotes eld
32902 \begin_inset Quotes erd
32909 \begin_layout Plain Layout
32919 \begin_layout Standard
32920 何らかの理由でこれを抑制したい場合には、ボックスの高さを零に設定してください。たとえば、
32923 \begin_layout Standard
32933 \begin_layout Standard
32937 \begin_layout Standard
32938 This is a text line with the word
32942 \begin_layout Plain Layout
32954 \begin_inset Quotes eld
32958 \begin_inset Quotes erd
32965 \begin_layout Plain Layout
32973 \begin_inset Newline newline
32976 This is a text line with the word
32980 \begin_layout Plain Layout
32984 raisebox{0.5cm}[0pt]{
32990 \begin_inset Quotes eld
32994 \begin_inset Quotes erd
33001 \begin_layout Plain Layout
33011 \begin_layout Section
33013 \begin_inset CommandInset label
33020 \begin_inset Index idx
33023 \begin_layout Plain Layout
33024 ぼっくす@ボックス ! いろつき@色付き
33032 \begin_layout Subsection
33034 \begin_inset Index idx
33037 \begin_layout Plain Layout
33046 \begin_layout Standard
33047 文章の背景を着色するには、文章をいわゆる「色付きボックス」に入れなくてはなりません。このためには、LaTeXパッケージ
33052 \begin_inset Index idx
33055 \begin_layout Plain Layout
33056 LaTeXぱっけーじ@LaTeXパッケージ ! color
33061 が、以下のようなコマンドで文書プリアンブルに読み込まれていなくてはなりません。
33064 \begin_layout Standard
33069 @ifundefined{textcolor}
33070 \begin_inset Newline newline
33074 \begin_inset Phantom HPhantom
33077 \begin_layout Plain Layout
33080 \begin_inset space ~
33090 usepackage{color}}{}
33093 \begin_layout Standard
33098 パッケージは、文章を着色するとLyXが自動的に読み込みます
33102 \begin_layout Plain Layout
33103 これが二度読み込まれることを回避するには、
33117 \begin_layout Standard
33118 \begin_inset VSpace medskip
33127 コマンドを使って作ります。これは、以下のような書式で使われます。
33130 \begin_layout Standard
33135 colorbox{color}{ボックスの内容}
33138 \begin_layout Standard
33139 ボックスの内容には、ボックスが入ることもできますし、色付きボックスを他のボックスに入れることもできます。
33142 \begin_layout Standard
33144 \begin_inset Newline newline
33180 \begin_inset Newline newline
33184 \begin_inset CommandInset ref
33186 reference "sec:色付きの表"
33190 節に述べられているようにすれば、自前の色を定義することもできます。
33193 \begin_layout Standard
33194 たとえば、単語の背景を赤にするには、単語の前にTeXコードで
33197 \begin_layout Standard
33205 \begin_layout Standard
33206 というコマンドを入れてください。単語の後には、TeXコードで閉じ括弧「
33211 \begin_inset Newline newline
33217 \begin_layout Standard
33222 \begin_layout Plain Layout
33235 \begin_layout Plain Layout
33245 \begin_layout Standard
33246 \begin_inset VSpace bigskip
33249 ボックスの枠を別の色にしたい場合には、以下の書式で
33258 \begin_layout Standard
33263 fcolorbox{枠の色}{ボックスの色}{ボックスの内容}
33266 \begin_layout Standard
33279 の拡張です。枠の太さと枠とボックスの中身との余白は、第
33280 \begin_inset CommandInset ref
33301 \begin_layout Standard
33305 \begin_layout Standard
33310 fcolorbox{cyan}{magenta}{
33313 \begin_layout Standard
33317 \begin_layout Standard
33319 \begin_inset space \thinspace{}
33323 \begin_inset Newline newline
33330 \begin_layout Plain Layout
33345 \begin_layout Plain Layout
33349 fcolorbox{cyan}{magenta}{
33354 これは着色した色付きボックス中の文章です。
33358 \begin_layout Plain Layout
33368 \begin_layout Standard
33369 \begin_inset VSpace bigskip
33372 もちろん、色付きボックスの中に色付き文字を入れることもできます
33373 \begin_inset Newline newline
33380 \begin_layout Plain Layout
33384 fcolorbox{cyan}{magenta}{
33391 これは着色した色付きボックス中の色付き文章です。
33397 \begin_layout Plain Layout
33408 \begin_layout Plain Layout
33422 \begin_layout Standard
33425 \begin_inset VSpace medskip
33431 \begin_layout Standard
33432 \begin_inset Note Greyedout
33435 \begin_layout Plain Layout
33440 色付きボックス中の文章は改行できません。複数行あるいは段落に色を付けるには、以下に述べるように、色付きボックス中でボックスを使用してください。
33448 \begin_layout Subsection
33450 \begin_inset CommandInset label
33457 \begin_inset Index idx
33460 \begin_layout Plain Layout
33469 \begin_layout Standard
33470 二行以上の背景色を設定するには、文章をミニページに入れてください。ミニページの前に、TeXコードで
33479 \begin_layout Standard
33487 \begin_layout Standard
33488 のように挿入します。ミニページの後には、TeXコードで閉じ括弧「
33495 \begin_layout Standard
33499 \begin_layout Plain Layout
33503 colorbox{lightgrey}{
33509 \begin_inset Box Frameless
33519 height_special "totalheight"
33522 \begin_layout Plain Layout
33523 これは背景色を付けた文章です。これは背景色を付けた文章です。
33526 \begin_layout Plain Layout
33527 \begin_inset VSpace defskip
33534 \begin_layout Plain Layout
33540 を付けることもできますし、図表を挿入することもできます。
33543 \begin_layout Plain Layout
33545 \begin_inset Tabular
33546 <lyxtabular version="3" rows="3" columns="3">
33547 <features rotate="0" tabularvalignment="middle">
33548 <column alignment="center" valignment="top" width="0">
33549 <column alignment="center" valignment="top" width="0">
33550 <column alignment="center" valignment="top" width="0">
33552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33555 \begin_layout Plain Layout
33561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33564 \begin_layout Plain Layout
33570 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33573 \begin_layout Plain Layout
33581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33584 \begin_layout Plain Layout
33590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33593 \begin_layout Plain Layout
33595 \begin_inset Quotes erd
33603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33606 \begin_layout Plain Layout
33614 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33617 \begin_layout Plain Layout
33623 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33626 \begin_layout Plain Layout
33632 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33635 \begin_layout Plain Layout
33655 \begin_layout Plain Layout
33665 \begin_layout Section
33669 \begin_layout Standard
33670 本節で述べられているコマンドを使用するには、文書プリアンブルで
33673 \begin_layout Standard
33678 @ifundefined{rotatebox}
33679 \begin_inset Newline newline
33683 \begin_inset Phantom HPhantom
33686 \begin_layout Plain Layout
33689 \begin_inset space ~
33699 usepackage{graphicx}}{}
33702 \begin_layout Standard
33708 \begin_inset Index idx
33711 \begin_layout Plain Layout
33712 LaTeXぱっけーじ@LaTeXパッケージ ! graphicx
33717 LaTeXパッケージを読み込む必要があります。
33720 \begin_layout Standard
33721 \begin_inset Note Greyedout
33724 \begin_layout Plain Layout
33729 DVIビューアによっては、回転伸縮したものの表示ができないものがあります。
33737 \begin_layout Standard
33738 \begin_inset Note Greyedout
33741 \begin_layout Plain Layout
33746 フロートは回転伸縮したボックスの中に入れることはできません。
33754 \begin_layout Subsection
33756 \begin_inset Index idx
33759 \begin_layout Plain Layout
33760 ぼっくす@ボックス ! かいてんした@回転した
33766 \begin_inset Index idx
33769 \begin_layout Plain Layout
33770 かいてん@回転 ! そざいの@素材の---
33778 \begin_layout Standard
33779 何かを回転させたい場合には、回転させたボックスに入れましょう。そのようなボックスは、TeXコードで以下のような書式で
33785 コマンドを使用すれば作成することができます。
33788 \begin_layout Standard
33793 rotatebox[回転の原点]{回転角}{ボックスの内容}
33796 \begin_layout Standard
33801 の形で指定します。位置として指定可能なのは、
33821 (上揃え)と、これら五つの適切な組み合わせです。たとえば、
33825 と指定した場合には、回転の原点をボックスの左上隅にするということです。回転原点が指定されなかった場合には、位置として
33829 が使用されます。回転角は、角度を指定する数字で負の値もとることができます。回転の方向は、反時計回りです。
33832 \begin_layout Standard
33833 以下の例では、「回転した」文章の前にTeXコードで
33837 rotatebox[origin=c]{60}{
33839 というコマンドを挿入し、文章の後にTeXコードで閉じ括弧
33846 \begin_layout Standard
33851 \begin_layout Plain Layout
33855 rotatebox[origin=c]{60}{
33864 \begin_layout Plain Layout
33874 \begin_layout Standard
33875 ボックスの中身には、以下のように、もう一つボックスを入れたり行内数式を入れたりすることもできます。
33878 \begin_layout Standard
33883 \begin_layout Plain Layout
33887 rotatebox[origin=r]{-60}{
33893 \begin_inset Box Doublebox
33903 height_special "totalheight"
33906 \begin_layout Plain Layout
33916 \begin_layout Plain Layout
33927 \begin_layout Plain Layout
33931 rotatebox[origin=lb]{60}{
33937 \begin_inset Formula $\int A\,\mathrm{d}x=B$
33944 \begin_layout Plain Layout
33954 \begin_layout Standard
33955 あるいは、以下のように図や表を入れることもできます。
33958 \begin_layout Standard
33963 \begin_layout Plain Layout
33967 rotatebox[origin=lb]{90}{
33973 \begin_inset Graphics
33974 filename ../clipart/platypus.eps
33984 \begin_layout Plain Layout
33995 \begin_layout Plain Layout
33999 rotatebox[origin=l]{-90}{
34005 \begin_inset Tabular
34006 <lyxtabular version="3" rows="2" columns="2">
34007 <features rotate="0" tabularvalignment="middle">
34008 <column alignment="center" valignment="top" width="0">
34009 <column alignment="center" valignment="top" width="0">
34011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34014 \begin_layout Plain Layout
34020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34023 \begin_layout Plain Layout
34031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34034 \begin_layout Plain Layout
34040 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34043 \begin_layout Plain Layout
34058 \begin_layout Plain Layout
34066 \begin_inset Index idx
34069 \begin_layout Plain Layout
34076 \begin_inset Index idx
34079 \begin_layout Plain Layout
34080 ひょうのちょうせい@表の調整 ! かいてん@回転
34088 \begin_layout Subsection
34090 \begin_inset Index idx
34093 \begin_layout Plain Layout
34094 ぼっくす@ボックス ! しんしゅくさせた@伸縮させた---
34100 \begin_inset Index idx
34103 \begin_layout Plain Layout
34104 しんしゅく@伸縮 ! そざいの@素材の---
34112 \begin_layout Standard
34128 \begin_layout Standard
34138 \begin_layout Standard
34143 scalebox{水平方向}[垂直方向]{ボックスの内容}
34146 \begin_layout Standard
34147 水平方向と垂直方向は、それぞれ対応する伸縮因子です。垂直方向の伸縮因子を省略した場合には、水平方向の伸縮因子が垂直方向にも適用されます。
34150 \begin_layout Standard
34157 というコマンドは、文書の本文の大きさに比して2倍に引き延ばされた
34161 \begin_layout Plain Layout
34174 \begin_layout Plain Layout
34184 \begin_layout Standard
34189 scalebox{2}[1]{こんにちは}
34195 \begin_layout Plain Layout
34208 \begin_layout Plain Layout
34218 \begin_layout Standard
34219 伸縮因子に負の値が与えられると、ボックスの内容は鏡像になります。したがって、
34223 scalebox{-1}[1]{こんにちは}
34225 というコマンドは、右のように反転文字を生成するのに使用できます:
34229 \begin_layout Plain Layout
34242 \begin_layout Plain Layout
34252 \begin_layout Standard
34257 scalebox{1}[-1]{こんにちは}
34263 \begin_layout Plain Layout
34276 \begin_layout Plain Layout
34286 \begin_layout Standard
34291 scalebox{-1}[1]{ボックスの内容}
34294 \begin_inset Newline newline
34301 reflectbox{ボックスの内容}
34304 \begin_inset Newline newline
34310 \begin_layout Standard
34311 \begin_inset VSpace bigskip
34314 指定した幅や丈にボックスを伸縮させるには、
34323 \begin_layout Standard
34328 resizebox{幅}{丈}{ボックスの内容}
34331 \begin_layout Standard
34332 です。上記二つのコマンド引数のうち一つが感嘆符「
34336 」であるならば、ボックスの内容の縦横比が一定に保たれるように大きさが調節されます。
34339 \begin_layout Standard
34344 resizebox{2cm}{1cm}{こんにちは}
34350 \begin_layout Plain Layout
34354 resizebox{2cm}{1cm}{
34363 \begin_layout Plain Layout
34371 \begin_inset Newline newline
34378 resizebox{2cm}{!}{こんにちは}
34384 \begin_layout Plain Layout
34397 \begin_layout Plain Layout
34407 \begin_layout Standard
34408 \begin_inset VSpace bigskip
34412 \begin_inset Note Greyedout
34415 \begin_layout Plain Layout
34428 の引数を零に設定した場合には、文書を書き出す際にLaTeXエラーは発生しませんが、書き出したファイルは表示できなかったり、一部しか表示されなかったりします。
34436 \begin_layout Standard
34437 \begin_inset VSpace bigskip
34443 \begin_layout Standard
34444 ボックスは好きな順序で組み合わせることができます。たとえば、
34445 \begin_inset Newline newline
34452 rotatebox[origin=c]{-45}{
34456 reflectbox{こんにちは}}}
34457 \begin_inset Newline newline
34465 \begin_layout Standard
34470 \begin_layout Plain Layout
34474 rotatebox[origin=c]{-45}{
34487 \begin_layout Plain Layout
34497 \begin_layout Standard
34499 という出力になります。ボックスの内容には、以下のように、画像や表や行内数式を入れてもかまいません。
34502 \begin_layout Standard
34507 \begin_layout Plain Layout
34511 rotatebox[origin=c]{-30}{
34521 \begin_inset Graphics
34522 filename ../clipart/platypus.eps
34532 \begin_layout Plain Layout
34543 \begin_layout Plain Layout
34547 rotatebox[origin=c]{-45}{
34557 \begin_inset Tabular
34558 <lyxtabular version="3" rows="2" columns="2">
34559 <features rotate="0" tabularvalignment="middle">
34560 <column alignment="center" valignment="top" width="0">
34561 <column alignment="center" valignment="top" width="0">
34563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34566 \begin_layout Plain Layout
34572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
34575 \begin_layout Plain Layout
34583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
34586 \begin_layout Plain Layout
34592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
34595 \begin_layout Plain Layout
34610 \begin_layout Plain Layout
34621 \begin_layout Plain Layout
34625 rotatebox[origin=c]{-45}{
34635 \begin_inset Formula $\int A\,\mathrm{d}x=B$
34642 \begin_layout Plain Layout
34650 \begin_inset Index idx
34653 \begin_layout Plain Layout
34654 ず@図 ! のしんしゅく@---の伸縮
34660 \begin_inset Index idx
34663 \begin_layout Plain Layout
34664 ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
34672 \begin_layout Standard
34681 \begin_layout Plain Layout
34682 つまり、文書クラスオプションに「fleqn」を書き加えた場合。
34687 には、別行建て数式も伸縮させることができます。
34690 \begin_layout Chapter
34693 Objects Surrounded by Text
34694 \begin_inset Index idx
34697 \begin_layout Plain Layout
34708 \begin_layout Section
34710 \begin_inset CommandInset label
34717 \begin_inset Index idx
34720 \begin_layout Plain Layout
34721 ふろーと@フロート ! おりかえしふろーと@折返しフロート
34729 \begin_inset Index idx
34732 \begin_layout Plain Layout
34735 Surrounded by text ! Wrap Floats
34743 \begin_layout Standard
34744 \begin_inset Wrap figure
34751 \begin_layout Plain Layout
34752 \begin_inset Graphics
34753 filename ../clipart/mobius.eps
34755 scaleBeforeRotation
34756 rotateOrigin center
34763 \begin_layout Plain Layout
34764 \begin_inset Caption Standard
34766 \begin_layout Plain Layout
34767 \begin_inset CommandInset label
34769 name "fig:折返し図フロート"
34783 このフロート型は、本文が図の周りに折返して入ることによって、図が段幅の一部しか占拠しないようにしたいときに用います。折返しフロートは、LaTeXパッケージの
34788 \begin_inset Index idx
34791 \begin_layout Plain Layout
34792 LaTeXぱっけーじ@LaTeXパッケージ ! wrapfig
34799 挿入\SpecialChar \menuseparator
34800 フロート\SpecialChar \menuseparator
34811 \begin_layout Plain Layout
34812 LaTeXパッケージの導入方法は、取扱説明書の『LaTeXの設定』に説明されています。
34817 。フロートの設定は、フロートボックスを右クリックすることで変更することができます。必須の設定項目は、フロートの
34833 があります。前者は、フロートがどれくらい段落ないしページ余白に入り込むかを指定するものであり、後者は、フロートが必要とするおおよその本文行数を指定するものです。
34834 行幅は、推測するのが難しいことがよくあるので、フロートの配置に問題が生じたときのみ使用するようにした方が良いでしょう。さらに、フロートを段落内でフロートするよう
34835 にするか、周囲の段落までフロートすることをLaTeXに許可するかを指定することができます。第
34836 \begin_inset CommandInset ref
34838 reference "fig:折返し図フロート"
34843 \begin_inset space \thinspace{}
34847 \begin_inset space \thinspace{}
34850 cmのぶら下げを持ち、左揃えの折返しフロートを例示してあります
34854 \begin_layout Plain Layout
34856 \begin_inset CommandInset ref
34858 reference "cha:LyXで使用できる単位"
34870 \begin_layout Standard
34871 \begin_inset Note Greyedout
34874 \begin_layout Plain Layout
34879 折返しフロートは壊れやすいことがあります!例えば、図をページの下すぎる位置に置いてしまうと、ごちゃごちゃになって、フロートが出力に現れなかったり、他の本文の上に
34888 \begin_layout Standard
34892 \begin_layout Itemize
34893 折返しフロートは、改頁に掛かってしまう段落に置くべきではありません。つまり、折返しフロートは、文書がほぼ完成する段階になって、どこに改頁が現れるかを予測できるよ
34894 うになってから、正確な位置に挿入しなくてはなりません。
34897 \begin_layout Itemize
34898 折返しフロートは、入れ込む段落の前に単独の段落を設けて挿入するか、その段落自体の中に挿入しなくてはなりません。
34901 \begin_layout Itemize
34902 折返しフロートを二つの段落に連続して入れると問題を引き起こす可能性があるので、二つの折返しフロートのあいだには本文のみの段落が入るのようにしてください。
34905 \begin_layout Itemize
34906 折返しフロートは、節見出しや表中に入れることは認められていません。
34909 \begin_layout Itemize
34912 Their numbering and referencing works as described in chap.
34915 \begin_inset space \thinspace{}
34919 \begin_inset CommandInset ref
34921 reference "chap:フロート"
34928 \begin_layout Section
34931 Surrounded Fixed Objects
34932 \begin_inset Index idx
34935 \begin_layout Plain Layout
34938 Surrounded by text ! Fixed objects
34946 \begin_layout Standard
34949 The wrap floats described in sec.
34952 \begin_inset space \thinspace{}
34956 \begin_inset CommandInset ref
34958 reference "sec:折返しフロート"
34964 have these positions in the paragraph:
34967 \begin_layout Standard
34972 \begin_inset Tabular
34973 <lyxtabular version="3" rows="2" columns="2">
34974 <features rotate="0" tabularvalignment="middle">
34975 <column alignment="center" valignment="top" width="0">
34976 <column alignment="center" valignment="top" width="0">
34978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
34981 \begin_layout Plain Layout
34984 \begin_inset Graphics
34985 filename ../../images/dialog-show-new-inset_graphics.png
34987 scaleBeforeRotation
34996 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
34999 \begin_layout Plain Layout
35009 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35012 \begin_layout Plain Layout
35020 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35023 \begin_layout Plain Layout
35037 \begin_inset Tabular
35038 <lyxtabular version="3" rows="2" columns="2">
35039 <features rotate="0" tabularvalignment="middle">
35040 <column alignment="center" valignment="top" width="0">
35041 <column alignment="center" valignment="top" width="0">
35043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35046 \begin_layout Plain Layout
35054 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35057 \begin_layout Plain Layout
35060 \begin_inset Graphics
35061 filename ../../images/dialog-show-new-inset_graphics.png
35063 scaleBeforeRotation
35074 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35077 \begin_layout Plain Layout
35085 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35088 \begin_layout Plain Layout
35104 \begin_layout Standard
35107 To get an object exactly at the position where it is inserted, for example
35108 to get one of these positions:
35109 \begin_inset VSpace defskip
35115 \begin_layout Standard
35120 \begin_inset Tabular
35121 <lyxtabular version="3" rows="2" columns="2">
35122 <features rotate="0" tabularvalignment="middle">
35123 <column alignment="center" valignment="top" width="0">
35124 <column alignment="center" valignment="top" width="0">
35126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35129 \begin_layout Plain Layout
35137 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35140 \begin_layout Plain Layout
35150 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35153 \begin_layout Plain Layout
35156 \begin_inset Graphics
35157 filename ../../images/dialog-show-new-inset_graphics.png
35159 scaleBeforeRotation
35168 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35171 \begin_layout Plain Layout
35185 \begin_inset Tabular
35186 <lyxtabular version="3" rows="2" columns="2">
35187 <features rotate="0" tabularvalignment="middle">
35188 <column alignment="center" valignment="top" width="0">
35189 <column alignment="center" valignment="top" width="0">
35191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35194 \begin_layout Plain Layout
35202 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35205 \begin_layout Plain Layout
35215 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35218 \begin_layout Plain Layout
35226 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35229 \begin_layout Plain Layout
35232 \begin_inset Graphics
35233 filename ../../images/dialog-show-new-inset_graphics.png
35235 scaleBeforeRotation
35250 \begin_inset Tabular
35251 <lyxtabular version="3" rows="2" columns="3">
35252 <features rotate="0" tabularvalignment="middle">
35253 <column alignment="center" valignment="top" width="0">
35254 <column alignment="center" valignment="top" width="0">
35255 <column alignment="center" valignment="top" width="0">
35257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35260 \begin_layout Plain Layout
35268 <cell alignment="center" valignment="top" topline="true" usebox="none">
35271 \begin_layout Plain Layout
35274 \begin_inset Graphics
35275 filename ../../images/dialog-show-new-inset_graphics.png
35277 scaleBeforeRotation
35286 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35289 \begin_layout Plain Layout
35299 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35302 \begin_layout Plain Layout
35310 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35313 \begin_layout Plain Layout
35321 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35324 \begin_layout Plain Layout
35338 \begin_inset Tabular
35339 <lyxtabular version="3" rows="2" columns="3">
35340 <features rotate="0" tabularvalignment="middle">
35341 <column alignment="center" valignment="top" width="0">
35342 <column alignment="center" valignment="top" width="0">
35343 <column alignment="center" valignment="top" width="0">
35345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35348 \begin_layout Plain Layout
35356 <cell alignment="center" valignment="top" topline="true" usebox="none">
35359 \begin_layout Plain Layout
35367 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35370 \begin_layout Plain Layout
35380 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35383 \begin_layout Plain Layout
35391 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35394 \begin_layout Plain Layout
35397 \begin_inset Graphics
35398 filename ../../images/dialog-show-new-inset_graphics.png
35400 scaleBeforeRotation
35409 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35412 \begin_layout Plain Layout
35428 \begin_layout Standard
35433 \begin_inset Tabular
35434 <lyxtabular version="3" rows="3" columns="2">
35435 <features rotate="0" tabularvalignment="middle">
35436 <column alignment="center" valignment="top" width="0">
35437 <column alignment="center" valignment="top" width="0">
35439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35442 \begin_layout Plain Layout
35450 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35453 \begin_layout Plain Layout
35463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35466 \begin_layout Plain Layout
35469 \begin_inset Graphics
35470 filename ../../images/dialog-show-new-inset_graphics.png
35472 scaleBeforeRotation
35481 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35484 \begin_layout Plain Layout
35494 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35497 \begin_layout Plain Layout
35505 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35508 \begin_layout Plain Layout
35522 \begin_inset Tabular
35523 <lyxtabular version="3" rows="3" columns="3">
35524 <features rotate="0" tabularvalignment="middle">
35525 <column alignment="center" valignment="top" width="0">
35526 <column alignment="center" valignment="top" width="0">
35527 <column alignment="center" valignment="top" width="0">
35529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35532 \begin_layout Plain Layout
35540 <cell alignment="center" valignment="top" topline="true" usebox="none">
35543 \begin_layout Plain Layout
35551 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35554 \begin_layout Plain Layout
35564 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35567 \begin_layout Plain Layout
35575 <cell alignment="center" valignment="top" usebox="none">
35578 \begin_layout Plain Layout
35581 \begin_inset Graphics
35582 filename ../../images/dialog-show-new-inset_graphics.png
35584 scaleBeforeRotation
35593 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35596 \begin_layout Plain Layout
35606 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35609 \begin_layout Plain Layout
35617 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
35620 \begin_layout Plain Layout
35628 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35631 \begin_layout Plain Layout
35645 \begin_inset Tabular
35646 <lyxtabular version="3" rows="3" columns="2">
35647 <features rotate="0" tabularvalignment="middle">
35648 <column alignment="center" valignment="top" width="0">
35649 <column alignment="center" valignment="top" width="0">
35651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
35654 \begin_layout Plain Layout
35662 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
35665 \begin_layout Plain Layout
35675 <cell alignment="center" valignment="top" leftline="true" usebox="none">
35678 \begin_layout Plain Layout
35686 <cell alignment="center" valignment="top" rightline="true" usebox="none">
35689 \begin_layout Plain Layout
35692 \begin_inset Graphics
35693 filename ../../images/dialog-show-new-inset_graphics.png
35695 scaleBeforeRotation
35706 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
35709 \begin_layout Plain Layout
35717 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
35720 \begin_layout Plain Layout
35736 \begin_layout Standard
35740 you can use the LaTeX-package
35747 \begin_inset Index idx
35750 \begin_layout Plain Layout
35751 LaTeXぱっけーじ@LaTeXパッケージ ! picinpar
35764 \begin_layout Standard
35768 \begin_layout Plain Layout
35778 \begin_inset Note Note
35781 \begin_layout Plain Layout
35786 が導入されているときのみ表示されます。
35794 \begin_layout Standard
35798 \begin_layout Plain Layout
35802 begin{window}[2,c,{
35808 \begin_inset Graphics
35809 filename ../clipart/mobius.eps
35812 scaleBeforeRotation
35813 rotateOrigin center
35821 \begin_layout Plain Layout
35826 \begin_layout Plain Layout
35836 It was in the spring of the year 1894 that all London was interested, and
35837 the fashionable world dismayed, by the murder of the Honourable Ronald
35838 Adair under most unusual and inexplicable circumstances.
35839 The public has already learned those particulars of the crime which
35845 \begin_layout Plain Layout
35856 came out in the police investigation, but a good deal was suppressed upon
35857 that occasion, since the case for the prosecution was so overwhelmingly
35858 strong that it was not necessary to bring forward all the facts.
35859 Only now, at the end of nearly ten years, am I allowed to supply those
35860 missing links which make up the whole of that remarkable chain
35868 \begin_layout Plain Layout
35880 \begin_layout Standard
35886 \begin_layout Plain Layout
35895 Footnote of the paragraph with the fixed object.
35899 \begin_layout Plain Layout
35909 \begin_layout Standard
35912 Surrounded fixed objects are used to let text float around them, at which
35913 the object's position in the paragraph can be determined by the number
35915 In contrary to floats is it not possible to have a numbered caption.
35918 \begin_layout Standard
35921 A fixed object is inserted by adding the command
35924 \begin_layout Standard
35929 begin{window}[2,c,{
35932 \begin_layout Standard
35935 as TeX Code at the beginning of the paragraph.
35936 The first parameter in the bracket, here '2', defines the number of lines
35937 above the object, the second, here 'c', the position of the object.
35938 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
35939 Behind the command you insert the object.
35940 In this example an image with a width of 40
35941 \begin_inset space \thinspace{}
35944 % of the text column width was inserted.
35945 The object can also be a table, a box or an equation.
35946 Behind the object the command
35949 \begin_layout Standard
35952 },description text]
35953 \begin_inset Newline newline
35959 \begin_layout Standard
35964 \begin_inset Quotes eld
35972 \begin_inset Quotes erd
35975 is in the second line.
35976 The description text is optional.
35977 The text surrounding the object must be in the same paragraph as the object,
35978 so it must begin directly after the
35983 At the end of the paragraph insert the command:
35986 \begin_layout Standard
35994 \begin_layout Standard
35997 Within a paragraph with a fixed object, you cannot insert footnotes in the
35999 You have to use instead the command
36005 inside the paragraph and outside the command
36011 as described in sec.
36014 \begin_inset space \thinspace{}
36018 \begin_inset CommandInset ref
36027 \begin_layout Standard
36031 \begin_layout Plain Layout
36041 \begin_inset Note Note
36044 \begin_layout Plain Layout
36049 が導入されていないときのみ表示されます。
36057 \begin_layout Standard
36058 本節の以下の部分を出力に表示するには、LaTeXパッケージ
36065 \begin_layout Standard
36069 \begin_layout Plain Layout
36081 \begin_layout Section
36085 \begin_inset Index idx
36088 \begin_layout Plain Layout
36097 \begin_inset Index idx
36100 \begin_layout Plain Layout
36103 Surrounded by text ! Initials
36111 \begin_layout Standard
36114 To use initials, you must have the LaTeX package
36121 \begin_inset Index idx
36124 \begin_layout Plain Layout
36125 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
36132 installed and use the module
36136 in your document (menu
36138 Document\SpecialChar \menuseparator
36139 Settings\SpecialChar \menuseparator
36143 To insert an initial, use the style
36148 This style has a mandatory and two optional arguments.
36149 The arguments are inserted via the
36154 The mandatory argument
36158 contains the letter(s) that is the initial, the argument
36161 \begin_inset space ~
36165 \begin_inset space ~
36170 contains the rest of the word or text of the initial letter(s).
36175 contains parameters to modify the initial.
36176 For more information about the possible parameters see the documentation
36184 \begin_inset CommandInset citation
36193 The style itself contains the text that is surrounding the initial.
36194 The usual style is hereby that the word whose first letter is the initial,
36202 \begin_layout Standard
36205 Here are some examples:
36208 \begin_layout Standard
36212 \begin_layout Plain Layout
36222 \begin_inset Note Note
36225 \begin_layout Plain Layout
36230 が導入されているときのみ表示されます。
36238 \begin_layout Enumerate
36241 No optional argument, the initial is the letter 'I' in the math font
36242 \begin_inset Formula $\mathfrak{Fraktur}$
36249 \begin_layout Initial
36250 \begin_inset Argument 2
36253 \begin_layout Plain Layout
36254 \begin_inset Formula $\mathfrak{I}$
36263 \begin_inset Argument 3
36266 \begin_layout Plain Layout
36274 was in the spring of the year 1894 that all London was interested, and the
36275 fashionable world dismayed, by the murder of the Honourable Ronald Adair
36276 under most unusual and inexplicable circumstances.
36277 The public has already learned those particulars of the crime which came
36278 out in the police investigation, but a good deal was suppressed upon that
36279 occasion, since the case for the prosecution was so overwhelmingly strong
36280 that it was not necessary to bring forward all the facts.
36281 \begin_inset Newpage newpage
36288 \begin_layout Enumerate
36291 Only one line is surrounding the initial, which is formed by two letters
36292 in standard font and no text is printed in small caps:
36296 \begin_layout Initial
36297 \begin_inset Argument 1
36300 \begin_layout Plain Layout
36307 \begin_inset Argument 2
36310 \begin_layout Plain Layout
36318 was in the spring of the year 1894 that all London was interested, and the
36319 fashionable world dismayed, by the murder of the Honourable Ronald Adair
36320 under most unusual and inexplicable circumstances.
36321 The public has already learned those particulars of the crime which came
36322 out in the police investigation, but a good deal was suppressed upon that
36323 occasion, since the case for the prosecution was so overwhelmingly strong
36324 that it was not necessary to bring forward all the facts.
36328 \begin_layout Enumerate
36331 Magenta, hanging initial over 3
36332 \begin_inset space ~
36335 lines in the math font
36336 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
36340 \begin_inset Quotes eld
36343 t was in the spring
36344 \begin_inset Quotes erd
36351 ; to color the initial, you must insert this command before the initial:
36352 \begin_inset Newline newline
36366 \begin_inset Newline newline
36374 \begin_inset Quotes eld
36378 \begin_inset Quotes erd
36382 \begin_inset Quotes eld
36386 \begin_inset Quotes erd
36390 \begin_inset Quotes eld
36394 \begin_inset Quotes erd
36398 \begin_inset Quotes eld
36402 \begin_inset Quotes erd
36406 \begin_inset Quotes eld
36410 \begin_inset Quotes erd
36414 \begin_inset Quotes eld
36418 \begin_inset Quotes erd
36422 \begin_inset Quotes eld
36426 \begin_inset Quotes erd
36430 \begin_inset Quotes eld
36434 \begin_inset Quotes erd
36437 , and add this command to the document preamble
36440 \begin_inset Newline newline
36447 @ifundefined{textcolor}
36448 \begin_inset Newline newline
36452 \begin_inset space ~
36457 usepackage{color}}{}
36461 \begin_layout Standard
36465 \begin_layout Plain Layout
36481 \begin_inset Note Note
36484 \begin_layout Plain Layout
36487 makes the initial magenta
36495 \begin_layout Initial
36496 \begin_inset Argument 1
36499 \begin_layout Plain Layout
36500 lines=3, lhang=0.33, loversize=0.25
36506 \begin_inset Argument 2
36509 \begin_layout Plain Layout
36510 \begin_inset Formula $\mathcal{I}$
36519 \begin_inset Argument 3
36522 \begin_layout Plain Layout
36525 t was in the spring
36532 of the year 1894 that all London was interested, and the fashionable world
36533 dismayed, by the murder of the Honourable Ronald Adair under most unusual
36534 and inexplicable circumstances.
36535 The public has already learned those particulars of the crime which came
36536 out in the police investigation, but a good deal was suppressed upon that
36537 occasion, since the case for the prosecution was so overwhelmingly strong
36538 that it was not necessary to bring forward all the facts.
36542 \begin_layout Standard
36546 \begin_layout Plain Layout
36556 \begin_inset Note Note
36559 \begin_layout Plain Layout
36564 が導入されていないときのみ表示されます。
36572 \begin_layout Standard
36573 本節の以下の部分を出力に表示するには、LaTeXパッケージ
36580 \begin_layout Standard
36584 \begin_layout Plain Layout
36596 \begin_layout Chapter
36598 \begin_inset Index idx
36601 \begin_layout Plain Layout
36602 がいぶぶんしょこうせいようそ@外部文書構成要素
36610 \begin_layout Standard
36613 挿入\SpecialChar \menuseparator
36616 メニューを使うと、使用中の文書に外部素材を挿入することができます。挿入できるのは、
36619 \begin_layout Description
36620 LyX文書 別のLyX文書。その内容は直接使用中の文書に挿入されます。
36623 \begin_layout Description
36624 平文 テキスト文書。そのテキスト行各々が、使用中の文書に独立した段落として挿入されます。
36627 \begin_layout Description
36628 平文(行を連結して) テキスト文書。各テキスト行がその形のまま挿入されます。空の行があると、使用中の文書に新規段落を生成します。
36631 \begin_layout Description
36635 \begin_layout Description
36636 子文書 LyXあるいはLaTeX文書。
36639 \begin_layout Section
36641 \begin_inset Index idx
36644 \begin_layout Plain Layout
36645 がいぶぶんしょこうせいようそ@外部文書構成要素 ! がいぶそざい@外部素材
36653 \begin_layout Standard
36654 外部素材機能は、文書の出力書式が読むことのできる形式に前もって変換しなくても、LyXが必要な変換を行うことで、使用中の文書にファイルを挿入することができるように
36655 するものです。これは、画像が様々な画像形式のままでLyX文書に挿入することができるのと同様の働きをします。LyX設定の
36657 操作性\SpecialChar \menuseparator
36660 で自動プレビューを有効にすると、外部素材のDia形式とXfig形式は、直接LyX中に表示されるようになります。
36663 \begin_layout Standard
36668 \SpecialChar \menuseparator
36673 \SpecialChar \menuseparator
36682 ダイアログから挿入することができます。目下、以下のファイル形式(
36689 \begin_layout Description
36693 \begin_inset CommandInset href
36696 target "http://en.wikipedia.org/wiki/XBoard"
36702 プログラムで作成されたチェス棋譜をサポートします。
36705 \begin_layout Description
36710 の書式で日付を挿入します。右は、外部素材として挿入された日付です:
36711 \begin_inset External
36718 \begin_inset space ~
36722 \begin_inset Note Note
36725 \begin_layout Plain Layout
36726 バグ4398が修正されたら、この保護空白は削除してください!
36732 \begin_inset Newline newline
36735 日付はLyX内では表示されず、出力のみで表示されます。日付を挿入するには、ほかに二つの方法があります。一つは、
36739 \SpecialChar \menuseparator
36740 日付メニューを使用する方法で、他はLaTeXコマンドの
36746 をTeXコードで使用する方法です。これらの各方法は、表
36747 \begin_inset CommandInset ref
36749 reference "tab:日付挿入方法"
36756 \begin_layout Description
36760 \begin_inset CommandInset href
36763 target "http://ja.wikipedia.org/wiki/Dia_%28%E3%82%BD%E3%83%95%E3%83%88%E3%82%A6%E3%82%A7%E3%82%A2%29"
36769 プログラムで作成したダイアグラムをサポートします。
36772 \begin_layout Description
36775 GnumericSpreadsheet With this template you can insert spreadsheets
36776 \begin_inset space \thinspace{}
36780 \begin_inset space \thinspace{}
36783 tables in the format of
36786 \begin_inset CommandInset href
36789 target "http://ja.wikipedia.org/wiki/Gnumeric"
36796 \begin_inset CommandInset href
36798 name "OpenDocument"
36799 target "http://ja.wikipedia.org/wiki/OpenDocument"
36804 \begin_inset CommandInset href
36806 name "Microsoft Office XML"
36807 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
36812 \begin_inset CommandInset href
36814 name "Office Open XML"
36815 target "http://ja.wikipedia.org/wiki/Office_Open_XML"
36820 For this feature LyX must have found the program
36824 during its configuration.
36825 This program is part of Gnumeric, so that you must have Gnumeric installed,
36826 also if you don't have tables in the Gnumeric format.
36827 For examples and possible limitations have a look at LyX's example file
36835 \begin_layout Description
36839 \begin_inset CommandInset href
36842 target "http://ja.wikipedia.org/wiki/GNU_LilyPond"
36848 プログラムで作成した楽譜の組版に使用されます。
36850 For LyX's extended support for LilyPond have a look at LyX's example file
36858 \begin_layout Description
36859 PDFページ このひな型を使えば、PDF文書を使用中の文書に挿入することができます。PDFの一部頁ないし全頁を挿入するには、ダイアログ中のひな型の解説に沿って、
36873 The argument of this option is a comma separated list, containing page numbers
36878 ), ranges of page numbers (
36882 ) or any combination.
36883 To insert empty pages use {}.
36885 \begin_inset space \thinspace{}
36889 \begin_inset space ~
36894 pages={3,{},8-11,15}
36896 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
36897 Page ranges are specified in the syntax
36906 This selects all pages from
36919 defaults to the first page; omitting
36923 defaults to the last page of the document.
36924 The last page can also be selected with the keyword
36929 (This is only permitted in a page range.) So
36933 will insert all pages of the document and
36937 will insert all pages in reverse order.
36942 オプションを指定しないと、PDFの最初のページのみが挿入されます。
36943 \begin_inset Newline newline
36952 inserts the pages with their original size, if this option is not given,
36953 the pages will be resized to fith the width of the page of your document.
36958 you can specify the width and height of the input pages and their rotation.
36959 If another width than 100
36960 \begin_inset space \thinspace{}
36963 Scale% is used, the option
36967 will be overwritten.
36968 For more info and possible options, have a look into the documentation
36969 of the LaTeX-package
36975 \begin_inset CommandInset citation
36982 \begin_inset Index idx
36985 \begin_layout Plain Layout
36986 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
36992 \begin_inset Newline newline
36997 To use this template in a
37001 presentation you need to first insert an
37005 environment and in a subsequent paragraph a TeX Code box containing the
37010 setbeamertemplate{background canvas}{}
37013 Then you can insert as many paragraphs containing the PDFPages template
37015 Behind the included PDF pages you can resume the Beamer presentation by
37016 beginning a new frame or by starting a new section.
37017 To avoid stray blank pages prior to the PDF pages, make sure to use the
37022 alignment for the paragraph containing the template.
37023 \begin_inset Newline newline
37026 Here is an included PDF which is rotated by -5°:
37029 \begin_inset External
37031 filename ../clipart/Abstract.pdf
37032 extra LaTeX "noautoscale, pages=-"
37034 rotateOrigin bottomleft
37041 \begin_layout Description
37042 ラスターイメージ これはビットマップ画像に使用します。
37047 \begin_inset CommandInset ref
37049 reference "sec:画像ダイアログ"
37057 ダイアログを使って挿入される画像と同じように取り扱うことができます。
37059 The difference to the normal image input is that only raster images are
37060 allowed; that means that PDF and EPS-images are not supported
37065 Here is an inserted raster image:
37068 \begin_inset External
37069 template RasterImage
37070 filename ../clipart/ToolbarEnvBox.png
37077 \begin_layout Description
37081 \begin_inset CommandInset href
37084 target "http://ja.wikipedia.org/wiki/Xfig"
37090 プログラムで作成した画像をサポートします。
37093 \begin_layout Standard
37094 \begin_inset Float table
37100 \begin_layout Plain Layout
37101 \begin_inset Caption Standard
37103 \begin_layout Plain Layout
37104 \begin_inset CommandInset label
37118 \begin_layout Plain Layout
37120 \begin_inset Tabular
37121 <lyxtabular version="3" rows="4" columns="4">
37122 <features rotate="0" tabularvalignment="middle">
37123 <column alignment="center" valignment="top" width="0">
37124 <column alignment="center" valignment="top" width="0">
37125 <column alignment="center" valignment="top" width="0">
37126 <column alignment="center" valignment="top" width="0">
37128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37131 \begin_layout Plain Layout
37137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37140 \begin_layout Plain Layout
37143 外部素材\SpecialChar \menuseparator
37149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37152 \begin_layout Plain Layout
37155 挿入\SpecialChar \menuseparator
37161 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37164 \begin_layout Plain Layout
37178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37181 \begin_layout Plain Layout
37187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37190 \begin_layout Plain Layout
37196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37199 \begin_layout Plain Layout
37205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37208 \begin_layout Plain Layout
37216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37219 \begin_layout Plain Layout
37225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37228 \begin_layout Plain Layout
37234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37237 \begin_layout Plain Layout
37243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37246 \begin_layout Plain Layout
37254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37257 \begin_layout Plain Layout
37263 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37266 \begin_layout Plain Layout
37272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37275 \begin_layout Plain Layout
37281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37284 \begin_layout Plain Layout
37303 \begin_layout Standard
37316 オプションを指定すると、出力中には挿入したファイルのパスだけが表示されます。
37317 \begin_inset Newline newline
37320 LyX中での外部素材は、ダイアログ内の
37329 \begin_inset Graphics
37330 filename clipart/ExternalMaterialQt4.png
37332 scaleBeforeRotation
37336 のようなボックスとして表示されるか、画像として表示されます。
37339 \begin_layout Standard
37346 には、自製のひな型を定義する方法が説明されています。
37349 \begin_layout Section
37351 \begin_inset CommandInset label
37358 \begin_inset Index idx
37361 \begin_layout Plain Layout
37362 がいぶぶんしょこうせいようそ@外部文書構成要素 ! こぶんしょ@子文書
37368 \begin_inset Index idx
37371 \begin_layout Plain Layout
37372 ふぁいる@ファイル ! いんくるーど@インクルード
37380 \begin_layout Standard
37381 子文書は、大きな部や節を複数含む長大な文書を作成するときに使われます。メンテナンス上の理由から、文書をいくつかのファイルに分割して、個別に修正できるようにした方
37382 が便利なことはよくあり、場合によってはそうすることが必要な場合さえあります。こうした個別文書がいわゆる子文書であり、親文書はこれら子文書を連結して、文書全体やそ
37383 の一部を印刷できるようにします。子文書は、LaTeXプリアンブルや書誌情報や相互参照用ラベルなどの親文書の内容を引き継ぎます。
37386 \begin_layout Standard
37387 親文書を開くことなく子文書で作業できるようにするには、子文書の
37391 \SpecialChar \menuseparator
37396 \SpecialChar \menuseparator
37401 メニューで親文書を指定してください。すると、子文書を編集する際には、LyXがバックグラウンドでこの親文書を扱うようになります。
37404 \begin_layout Standard
37406 \begin_inset Graphics
37407 filename clipart/ChildDocumentQt4.png
37409 scaleBeforeRotation
37413 のようなボックスとして表示されます。子文書を親文書に取り込むには、
37417 \SpecialChar \menuseparator
37422 \SpecialChar \menuseparator
37427 メニューを使用します。するとダイアログが現れ、以下のように4つの取り込み方法を選択することができます。
37430 \begin_layout Description
37431 Include(インクルード) LyX文書とLaTeX文書は、インクルードすることができます。
37439 ボタンを押すと、インクルードされた文書が、LyX中に新規ファイルタブとして開き、修正ができるようになります。
37440 \begin_inset Newline newline
37446 \begin_layout Standard
37452 \begin_inset CommandInset include
37453 LatexCommand include
37454 filename "DummyDocument1.lyx"
37461 \begin_layout Standard
37462 取り込んだファイルの節番は、各節を親文書に挿入した順序にしたがって取り込まれます。たとえば、上で取り込まんだ例示文書には、この節の小節として番号を振られた小節が
37463 あります。取り込んだ文書のラベルは、第
37464 \begin_inset CommandInset ref
37466 reference "sub:外部文書の第1小節"
37470 小節、のように参照することができます。
37473 \begin_layout Standard
37474 子文書のプリアンブルは無視され、親文書のプリアンブルだけが使用されます。親文書に同じ名称の派生枝がない限り、親文書は子文書の派生枝を無視します。取り込まれた文書
37475 は、新規頁から始まるように挿入され、改頁して終わります。
37478 \begin_layout Standard
37479 大きな文書のうち、特定の章だけの作業を行っている際に、コンパイル時間を短縮したい場合、取り込んだファイルの各々を派生枝の中に入れる方法があります
37483 \begin_layout Plain Layout
37497 。派生枝を有効化したり無効化したりすることによって、取り込んだファイルのどれを出力に表示させるかを決めることができます。
37500 \begin_layout Standard
37501 \begin_inset Note Greyedout
37504 \begin_layout Plain Layout
37509 LyXのバグにより、どのファイルを取り込むかを決める他の方法として、現在のところ、LaTeXコマンドの
37523 \begin_layout Standard
37524 \begin_inset Note Greyedout
37527 \begin_layout Plain Layout
37532 LyXまたはLaTeXファイルを取り込んだ際、子文書が親文書と異なる文書クラスを使用している場合には、予期せぬ出力を避けるために、文書を書き出したり閲覧する際に
37541 \begin_layout Description
37542 Input(インプット) この方法は、Includeによる方法に非常によく似ています。異なっている点は、
37546 \begin_layout Itemize
37547 Inputファイルは、新規頁として始まることはなく、終わりに改頁されることもありません。
37550 \begin_layout Itemize
37551 Inputファイルは、LyX設定の操作性
37553 \SpecialChar \menuseparator
37560 を有効にすると、LyX中でプレビューすることができます。
37563 \begin_layout Itemize
37574 \begin_layout Standard
37580 \begin_inset CommandInset include
37582 filename "DummyDocument2.lyx"
37589 \begin_layout Description
37590 Verbatim(文字通り) この方法では、テキストファイルなら何でも取り込むことができます。出力中では、ファイルはそのソースコードの通りに表示され、テキスト中
37591 に用いられているコマンドは実行されません。
37595 オプションを有効にすると、ソースコード中のすべての空白文字に「
37599 \begin_layout Plain Layout
37610 挿入\SpecialChar \menuseparator
37611 ファイル\SpecialChar \menuseparator
37614 メニューを使う方法との違いは、こちらは文書の内容がLyX中に表示されないことです。
37617 \begin_layout Standard
37618 以下は、verbatimとして挿入された子文書です。
37619 \begin_inset CommandInset include
37620 LatexCommand verbatiminput
37621 filename "../DummyTextDocument.txt"
37626 \begin_inset VSpace bigskip
37633 オプションを指定して、verbatimとして挿入された子文書です。
37634 \begin_inset CommandInset include
37635 LatexCommand verbatiminput*
37636 filename "../DummyTextDocument.txt"
37643 \begin_layout Standard
37644 \begin_inset VSpace bigskip
37650 \begin_layout Standard
37651 \begin_inset Note Greyedout
37654 \begin_layout Plain Layout
37663 として取り込んだ文書の文章は、文書行の終わりで改行されません。
37671 \begin_layout Standard
37672 \begin_inset Note Greyedout
37675 \begin_layout Plain Layout
37680 verbatimで日本語のファイルを読み込むときは、子文書のエンコーディングを文書エンコーディングに合わせてください。さもないと出力が文字化けします。
37688 \begin_layout Description
37689 プログラムリスト この型については、第
37690 \begin_inset CommandInset ref
37692 reference "cha:プログラムコードリスト"
37699 \begin_layout Standard
37700 \begin_inset Note Greyedout
37703 \begin_layout Plain Layout
37708 同一文書中に、同じ文書を異なる方法で二度取り込むと、LaTeXで問題が発生する可能性があります。
37716 \begin_layout Chapter
37718 \begin_inset CommandInset label
37720 name "cha:プログラムコードリスト"
37725 \begin_inset Index idx
37728 \begin_layout Plain Layout
37735 \begin_inset Index idx
37738 \begin_layout Plain Layout
37745 \begin_inset Index idx
37748 \begin_layout Plain Layout
37749 ふろーと@フロート ! りすと@リスト
37757 \begin_layout Standard
37758 プログラムコードを取り込んで組版するには、
37762 \SpecialChar \menuseparator
37767 メニューを使用して挿入されるプログラムリスト差込枠を使用することができます。ここで使用されるLaTeXパッケージ
37772 \begin_inset Index idx
37775 \begin_layout Plain Layout
37776 LaTeXぱっけーじ@LaTeXパッケージ ! listings
37781 は、使用中の文書にプログラムソースコードを挿入する強力で柔軟な方法を提供します。
37784 \begin_layout Standard
37785 プログラムリスト差込枠を右クリックすると、コンテクストメニューが開き、リスト書式を設定することができます。
37788 \begin_layout Standard
37789 既定では、出力におけるプログラムリストは、新しい段落として始まります。配置オプションで
37794 \begin_inset listings
37795 lstparams "language={C++}"
37799 \begin_layout Plain Layout
37807 \begin_inset Newline newline
37814 オプションは、プログラムリストフロートを生成するものですが、ここで、第
37815 \begin_inset CommandInset ref
37817 reference "sec:フロートの配置"
37821 節に説明されているフロート配置オプションに従って、「
37837 」の配置オプションを指定することができます。配置オプションは組み合わせて使用することができ、「
37841 」のように区切りを入れることなく入力することができます。「
37845 」オプションは効かない場合がありますが、フロートでないプログラムリストにもキャプションを入れることができ、また参照もできるので、この場合には
37849 オプションを使用しなければ大丈夫です。
37852 \begin_layout Standard
37857 \SpecialChar \menuseparator
37862 メニューを使えば、プログラムリストにキャプションを付けることができます。プログラムリストは、フロート同様、リスト
37863 \begin_inset CommandInset ref
37865 reference "lst:リストフロート"
37872 \begin_layout Standard
37873 \begin_inset listings
37874 lstparams "language=Python"
37878 \begin_layout Plain Layout
37880 \begin_inset Caption Standard
37882 \begin_layout Plain Layout
37883 \begin_inset CommandInset label
37889 Example Listing Float
37894 # Example listing float
37897 \begin_layout Plain Layout
37902 \begin_layout Plain Layout
37904 'this is a python function'
37907 \begin_layout Plain Layout
37917 \begin_layout Standard
37918 プログラムリストダイアログでプログラミング言語を指定すると、その言語のキーワードが識別されて、出力中で特別に組版されます。上の例示プログラムリストでは、Pyth
37919 onのキーワード「def」が識別され、ボールド体で出力されます。
37922 \begin_layout Standard
37923 \begin_inset Note Greyedout
37926 \begin_layout Plain Layout
37931 タイプライタフォントを使用している際にキーワードがボールド体にならない場合には、おそらくお使いの
37935 フォントがボールド体を提供していません。この場合には、
37939 \SpecialChar \menuseparator
37944 \SpecialChar \menuseparator
37949 メニューで別のフォントを選択してください(
37961 の各フォントはボールド体を提供します)。
37969 \begin_layout Standard
37970 \begin_inset Note Greyedout
37973 \begin_layout Plain Layout
37978 プログラムリスト差込枠中では、日本語のエンコーディングを表示できないため、日本語は使用できません。プログラムリスト差込枠中のキャプションでも同様です。
37986 \begin_layout Standard
37991 のセクションでは、行番号の様式を指定することができます。
37995 フィールドでは、どの行に番号を振るかを指定する数字を入れることができます。たとえば、「3」と入れると、3行ごとに数字が振られます。
37998 \begin_layout Standard
37999 さらに行の範囲を指定することもでき、この場合にはこれらの行のみが出力に表示されます。プログラムリスト中でドイツ語のウムラウトのような国字を使用する場合には、
38003 オプションを使用しなくてはなりません。
38004 \begin_inset Newline newline
38007 以下は、左側の行番号・行間「3」・言語「Python」・「拡張文字コード表を使う」オプション・「空白を記号で表示」オプション・行範囲「3
38008 \begin_inset space \thinspace{}
38012 \begin_inset space \thinspace{}
38015 8」で設定したプログラムリストの例です。
38018 \begin_layout Standard
38019 \begin_inset listings
38020 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
38024 \begin_layout Plain Layout
38029 \begin_layout Plain Layout
38031 'this is a python function'
38034 \begin_layout Plain Layout
38039 \begin_layout Plain Layout
38044 \begin_layout Plain Layout
38046 'This is a German word: Tschüß'
38049 \begin_layout Plain Layout
38054 \begin_layout Plain Layout
38059 \begin_layout Plain Layout
38061 'this is a python function'
38064 \begin_layout Plain Layout
38074 \begin_layout Standard
38075 プログラムリスト中でタビュレータを使う場合は、タビュレータが確保する文字の数を
38082 \begin_layout Standard
38083 \begin_inset Note Greyedout
38086 \begin_layout Plain Layout
38091 パッケージにはバグがあり、前にプログラムリストがある毎に、行番号が一行ずつずれます。上記プログラムリストで3行目と6行目に番号が振られる代わりに、2行目と5行目
38100 \begin_layout Standard
38101 \begin_inset VSpace bigskip
38107 \begin_layout Standard
38108 また、ファイルの各行をプログラムリストとして印字することも可能です。そのためには、
38112 \SpecialChar \menuseparator
38117 \SpecialChar \menuseparator
38130 \begin_layout Plain Layout
38131 他の子文書型については、第 section
38132 \begin_inset space ~
38136 \begin_inset CommandInset ref
38138 reference "sec:子文書"
38147 。子文書ダイアログでは、テキストボックスにプログラムリストのパラメータを指定することができます。使用できる全パラメータの一覧を見たい場合は、テキストボックス中で
38151 \begin_layout Standard
38152 子文書プログラムリストを参照したい場合には、子文書ダイアログの対応するフィールドにラベル文を書き込んでください。すると、このラベルは
38156 \SpecialChar \menuseparator
38161 メニューを使って参照できるようになります。
38164 \begin_layout Standard
38166 \begin_inset CommandInset ref
38168 reference "lst:file-listing"
38172 は、ファイルを使ったプログラムリストの一例です。ここでは、このLyXファイルの10行目から15行目が表示されています。
38175 \begin_layout Standard
38176 \begin_inset CommandInset include
38177 LatexCommand lstinputlisting
38178 filename "EmbeddedObjects.lyx"
38179 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
38186 \begin_layout Standard
38187 \begin_inset VSpace bigskip
38193 \begin_layout Standard
38194 リストに数式を入れるには、以下のようにします。
38197 \begin_layout Enumerate
38203 \begin_inset Newline newline
38211 \begin_inset Newline newline
38217 \begin_layout Enumerate
38221 \begin_layout Enumerate
38222 数式の内容(数式差込枠ではなく)をクリップボードにコピーします(短縮キー
38231 \begin_layout Enumerate
38232 リストに「$$」と書き、クリップボードの内容をドルマークの間に貼り付けます(短縮キー
38241 \begin_layout Standard
38242 \begin_inset listings
38243 lstparams "language=Python,mathescape=true"
38247 \begin_layout Plain Layout
38249 \begin_inset Caption Standard
38251 \begin_layout Plain Layout
38252 Example Listing float containing a formula
38257 # Example listing float
38260 \begin_layout Plain Layout
38265 \begin_layout Plain Layout
38278 \begin_layout Plain Layout
38288 \begin_layout Standard
38289 \begin_inset VSpace bigskip
38295 \begin_layout Standard
38300 \SpecialChar \menuseparator
38305 \SpecialChar \menuseparator
38310 ダイアログで設定することができます。ここで利用できるオプションの一覧を得るには、
38314 フィールドで疑問符「?」を打鍵してください。
38317 \begin_layout Standard
38322 パッケージについての詳しい情報については、取扱説明書
38323 \begin_inset CommandInset citation
38332 \begin_layout Standard
38333 \begin_inset Newpage newpage
38339 \begin_layout Chapter
38342 \begin_inset Index idx
38345 \begin_layout Plain Layout
38352 \begin_inset CommandInset label
38354 name "cha:LyXで使用できる単位"
38361 \begin_layout Standard
38362 この文書で用いられる単位の理解のために、表
38363 \begin_inset CommandInset ref
38369 に、LyXで使うことのできる単位をまとめておきます。
38372 \begin_layout Standard
38373 \begin_inset Float table
38379 \begin_layout Plain Layout
38380 \begin_inset Caption Standard
38382 \begin_layout Plain Layout
38383 \begin_inset CommandInset label
38397 \begin_layout Plain Layout
38398 \begin_inset VSpace medskip
38404 \begin_layout Plain Layout
38406 \begin_inset Tabular
38407 <lyxtabular version="3" rows="20" columns="2">
38408 <features rotate="0" tabularvalignment="middle">
38409 <column alignment="center" valignment="top" width="0">
38410 <column alignment="center" valignment="top" width="0">
38412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38415 \begin_layout Plain Layout
38421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38424 \begin_layout Plain Layout
38432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38435 \begin_layout Plain Layout
38441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38444 \begin_layout Plain Layout
38452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38455 \begin_layout Plain Layout
38461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38464 \begin_layout Plain Layout
38472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38475 \begin_layout Plain Layout
38481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38484 \begin_layout Plain Layout
38492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38495 \begin_layout Plain Layout
38501 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38504 \begin_layout Plain Layout
38506 \begin_inset Formula $\,$
38510 \begin_inset Formula $\,$
38520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38523 \begin_layout Plain Layout
38529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38532 \begin_layout Plain Layout
38534 \begin_inset Formula $\,$
38538 \begin_inset Formula $\,$
38548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38551 \begin_layout Plain Layout
38557 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38560 \begin_layout Plain Layout
38562 \begin_inset Formula $\,$
38566 \begin_inset Formula $\,$
38576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38579 \begin_layout Plain Layout
38585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38588 \begin_layout Plain Layout
38590 \begin_inset Formula $\,$
38594 \begin_inset Formula $\,$
38604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38607 \begin_layout Plain Layout
38613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38616 \begin_layout Plain Layout
38618 \begin_inset Formula $\,$
38622 \begin_inset Formula $\approx$
38626 \begin_inset Formula $\,$
38636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38639 \begin_layout Plain Layout
38645 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38648 \begin_layout Plain Layout
38650 \begin_inset Formula $\,$
38654 \begin_inset Formula $\,$
38664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38667 \begin_layout Plain Layout
38673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38676 \begin_layout Plain Layout
38684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38687 \begin_layout Plain Layout
38693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38696 \begin_layout Plain Layout
38704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38707 \begin_layout Plain Layout
38713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38716 \begin_layout Plain Layout
38724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38727 \begin_layout Plain Layout
38733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38736 \begin_layout Plain Layout
38744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38747 \begin_layout Plain Layout
38753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38756 \begin_layout Plain Layout
38764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38767 \begin_layout Plain Layout
38773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38776 \begin_layout Plain Layout
38784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38787 \begin_layout Plain Layout
38793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38796 \begin_layout Plain Layout
38804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38807 \begin_layout Plain Layout
38813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38816 \begin_layout Plain Layout
38824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38827 \begin_layout Plain Layout
38833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38836 \begin_layout Plain Layout
38844 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38847 \begin_layout Plain Layout
38853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38856 \begin_layout Plain Layout
38858 \begin_inset Formula $\,$
38862 \begin_inset Formula $\,$
38883 \begin_layout Chapter
38885 \begin_inset CommandInset label
38887 name "cha:ファイル出力形式"
38894 \begin_layout Section
38896 \begin_inset Index idx
38899 \begin_layout Plain Layout
38900 ふぁいるしょしき@ファイル書式 ! DVI
38906 \begin_inset Index idx
38909 \begin_layout Plain Layout
38914 \begin_layout Plain Layout
38925 \begin_layout Plain Layout
38940 \begin_layout Standard
38945 」です。このファイル型は完全に可搬性があるので「device-independent(DVI:デバイス独立型)」の名称がついています。これはあるコンピュータから
38946 別のコンピュータへ、何らの変換も行うことなしに移動することができます。このファイル書式が開発された当時には、これは当然のことでは全くありませんでした。DVIは手
38947 っ取り早くプレビューしたり、PostScriptなどの他の出力形式への中間段階として使用されます。
38950 \begin_layout Standard
38951 \begin_inset Note Greyedout
38954 \begin_layout Plain Layout
38955 【註】DVIファイルには画像は含まれていません。画像はリンクされているだけです。
38964 ファイルを別のコンピュータに移すときには、このことを忘れてはいけません。この性質は、DVIを閲覧する際にお使いのコンピュータを遅くしてしまうことがあります。DV
38965 Iビューアは、DVIをスクロールする際、画像を表示できるようにバックグラウンドで変換しなくてはならないためです。ですから、画像のたくさんあるファイルの場合は、P
38969 \begin_layout Standard
38974 \SpecialChar \menuseparator
38979 \SpecialChar \menuseparator
38984 メニューを使用して、DVIに書き出すことができます。
38986 You can view your document as DVI via the
38993 \begin_layout Section
38995 \begin_inset CommandInset label
38997 name "sec:PostScript"
39002 \begin_inset Index idx
39005 \begin_layout Plain Layout
39006 ふぁいるしょしき@ファイル書式 ! PostScript
39012 \begin_inset Index idx
39015 \begin_layout Plain Layout
39020 \begin_layout Plain Layout
39031 \begin_layout Plain Layout
39046 \begin_layout Standard
39055 社によってプリンタ言語として開発されました。したがって、このファイルにはプリンタがファイルを印字するコマンドが書かれています。PostScripは、計算を行った
39056 り図表や画像を描いたりすることもできるので、「プログラミング言語」と見なすことができます
39060 \begin_layout Plain Layout
39061 これについてもう少し学ぶ気があれば、LaTeXパッケージ
39066 \begin_inset CommandInset citation
39077 。この機能のためにPostScriptはPDFよりも大きくなりがちです。
39080 \begin_layout Standard
39081 PostScriptは、「Encapsulated PostScript(EPS:ファイル拡張子「
39085 」)」形式の画像のみを含めることができます。LyXでは、既知の画像形式であればどれでも文書中で使用することができるようになっているため、LyXはバックグラウンド
39086 で画像をEPSに変換しなくてはなりません。文書中に、仮に50の画像があれば、文書を表示したり書き出ししたりするたびに、LyXは50もの変換を行わなくてはなりませ
39087 ん。すると、LyXで行う作業手順が、著しく遅れてしまいます。したがって、もしPostScriptを使用することを考えているならば、この問題を回避するために、画像
39088 を直接EPSとして入れておく方がよいでしょう。
39091 \begin_layout Standard
39094 You can export your document to PostScript using the menu
39099 \SpecialChar \menuseparator
39104 \SpecialChar \menuseparator
39111 You can view your document as PostScript via the
39118 \begin_layout Section
39120 \begin_inset Index idx
39123 \begin_layout Plain Layout
39124 ふぁいるしょしき@ファイル書式 ! PDF
39130 \begin_inset Index idx
39133 \begin_layout Plain Layout
39142 \begin_layout Standard
39147 」です。この「Portable Document Format (PDF)」は、
39151 社によってPostScriptの派生として開発されました。PDFは、PostScriptよりも圧縮されており、かなり少ないコマンドしか使いません。「portab
39152 le(可搬的)」の名称が示すとおり、この形式は、どのコンピュータシステムでも処理することができ、印字出力は全く同じように出すことができます。
39155 \begin_layout Standard
39156 PDFは画像を、同じPDF形式か、「Joint Photographic Experts Group(JPG:ファイル拡張子「
39164 」)」形式か、「Portable Network Graphics(PNG:ファイル拡張子「
39168 」)」として含めることができます。それにもかかわらず、LyXは画像をこれらの形式のいずれかにバックグラウンドで変換を行うので、他の画像形式も自由に使用することが
39169 できます。しかし、PostScriptの節で説明したように、この画像変換は作業手順を遅らせます。したがって、上記で述べた3つの画像形式のうちいずれかを使用するこ
39173 \begin_layout Standard
39178 \SpecialChar \menuseparator
39183 メニューを使用して、以下の3つの方法のうちいずれかでPDFに書き出すことができます。
39186 \begin_layout Description
39188 \begin_inset space ~
39195 プログラムを使って、現在のファイルのPostScript版からPDFを生成します。このPostScript版は、中間段階にDVI版を使用する
39199 プログラムによって生成されます。つまり、この書き出し方法は、3段階の変換を伴います。
39202 \begin_layout Description
39204 \begin_inset space ~
39211 プログラムを使って、現在のファイルをバックグラウンドでDVIに変換し、2段階目でPDFに変換します。
39214 \begin_layout Description
39216 \begin_inset space ~
39223 プログラムを使って、現在のファイルを直接PDFに変換します。
39226 \begin_layout Standard
39231 は現在のPDF版のすべての機能をサポートし、高速で問題なく安定して動作するので、
39234 \begin_inset space ~
39243 プログラムは開発が停止しており、若干時代遅れになっています。
39246 \begin_layout Standard
39249 You can view your document as PDF via the
39253 menu or by using a toolbar button.
39256 \begin_layout Chapter
39259 List of dvips color names
39260 \begin_inset CommandInset label
39262 name "chap:List-of-dvips-colornames"
39269 \begin_layout Standard
39270 \begin_inset Tabular
39271 <lyxtabular version="3" rows="17" columns="4">
39272 <features rotate="0" tabularvalignment="middle">
39273 <column alignment="left" valignment="top" width="0pt">
39274 <column alignment="left" valignment="top" width="0pt">
39275 <column alignment="left" valignment="top" width="0pt">
39276 <column alignment="left" valignment="top" width="0pt">
39278 <cell alignment="left" valignment="top" usebox="none">
39281 \begin_layout Plain Layout
39285 \begin_layout Plain Layout
39298 \begin_layout Plain Layout
39313 \begin_layout Plain Layout
39327 <cell alignment="left" valignment="top" usebox="none">
39330 \begin_layout Plain Layout
39334 \begin_layout Plain Layout
39347 \begin_layout Plain Layout
39362 \begin_layout Plain Layout
39376 <cell alignment="left" valignment="top" usebox="none">
39379 \begin_layout Plain Layout
39383 \begin_layout Plain Layout
39396 \begin_layout Plain Layout
39411 \begin_layout Plain Layout
39425 <cell alignment="left" valignment="top" usebox="none">
39428 \begin_layout Plain Layout
39432 \begin_layout Plain Layout
39445 \begin_layout Plain Layout
39460 \begin_layout Plain Layout
39476 <cell alignment="center" valignment="top" usebox="none">
39479 \begin_layout Plain Layout
39483 \begin_layout Plain Layout
39496 \begin_layout Plain Layout
39504 \begin_inset Phantom Phantom
39507 \begin_layout Plain Layout
39517 \begin_layout Plain Layout
39529 <cell alignment="center" valignment="top" usebox="none">
39532 \begin_layout Plain Layout
39536 \begin_layout Plain Layout
39549 \begin_layout Plain Layout
39557 \begin_inset Phantom Phantom
39560 \begin_layout Plain Layout
39570 \begin_layout Plain Layout
39582 <cell alignment="center" valignment="top" usebox="none">
39585 \begin_layout Plain Layout
39589 \begin_layout Plain Layout
39602 \begin_layout Plain Layout
39610 \begin_inset Phantom Phantom
39613 \begin_layout Plain Layout
39623 \begin_layout Plain Layout
39635 <cell alignment="center" valignment="top" usebox="none">
39638 \begin_layout Plain Layout
39642 \begin_layout Plain Layout
39655 \begin_layout Plain Layout
39663 \begin_inset Phantom Phantom
39666 \begin_layout Plain Layout
39676 \begin_layout Plain Layout
39690 <cell alignment="left" valignment="top" usebox="none">
39693 \begin_layout Plain Layout
39697 \begin_layout Plain Layout
39710 \begin_layout Plain Layout
39718 \begin_inset Phantom Phantom
39721 \begin_layout Plain Layout
39731 \begin_layout Plain Layout
39743 <cell alignment="left" valignment="top" usebox="none">
39746 \begin_layout Plain Layout
39750 \begin_layout Plain Layout
39763 \begin_layout Plain Layout
39771 \begin_inset Phantom Phantom
39774 \begin_layout Plain Layout
39784 \begin_layout Plain Layout
39796 <cell alignment="left" valignment="top" usebox="none">
39799 \begin_layout Plain Layout
39803 \begin_layout Plain Layout
39816 \begin_layout Plain Layout
39824 \begin_inset Phantom Phantom
39827 \begin_layout Plain Layout
39837 \begin_layout Plain Layout
39849 <cell alignment="left" valignment="top" usebox="none">
39852 \begin_layout Plain Layout
39856 \begin_layout Plain Layout
39869 \begin_layout Plain Layout
39877 \begin_inset Phantom Phantom
39880 \begin_layout Plain Layout
39890 \begin_layout Plain Layout
39904 <cell alignment="left" valignment="top" usebox="none">
39907 \begin_layout Plain Layout
39911 \begin_layout Plain Layout
39924 \begin_layout Plain Layout
39932 \begin_inset Phantom Phantom
39935 \begin_layout Plain Layout
39945 \begin_layout Plain Layout
39957 <cell alignment="left" valignment="top" usebox="none">
39960 \begin_layout Plain Layout
39964 \begin_layout Plain Layout
39977 \begin_layout Plain Layout
39985 \begin_inset Phantom Phantom
39988 \begin_layout Plain Layout
39998 \begin_layout Plain Layout
40010 <cell alignment="left" valignment="top" usebox="none">
40013 \begin_layout Plain Layout
40017 \begin_layout Plain Layout
40030 \begin_layout Plain Layout
40038 \begin_inset Phantom Phantom
40041 \begin_layout Plain Layout
40051 \begin_layout Plain Layout
40063 <cell alignment="left" valignment="top" usebox="none">
40066 \begin_layout Plain Layout
40070 \begin_layout Plain Layout
40083 \begin_layout Plain Layout
40091 \begin_inset Phantom Phantom
40094 \begin_layout Plain Layout
40104 \begin_layout Plain Layout
40118 <cell alignment="left" valignment="top" usebox="none">
40121 \begin_layout Plain Layout
40125 \begin_layout Plain Layout
40138 \begin_layout Plain Layout
40146 \begin_inset Phantom Phantom
40149 \begin_layout Plain Layout
40159 \begin_layout Plain Layout
40171 <cell alignment="left" valignment="top" usebox="none">
40174 \begin_layout Plain Layout
40178 \begin_layout Plain Layout
40191 \begin_layout Plain Layout
40199 \begin_inset Phantom Phantom
40202 \begin_layout Plain Layout
40212 \begin_layout Plain Layout
40224 <cell alignment="left" valignment="top" usebox="none">
40227 \begin_layout Plain Layout
40231 \begin_layout Plain Layout
40244 \begin_layout Plain Layout
40252 \begin_inset Phantom Phantom
40255 \begin_layout Plain Layout
40265 \begin_layout Plain Layout
40277 <cell alignment="left" valignment="top" usebox="none">
40280 \begin_layout Plain Layout
40284 \begin_layout Plain Layout
40297 \begin_layout Plain Layout
40305 \begin_inset Phantom Phantom
40308 \begin_layout Plain Layout
40318 \begin_layout Plain Layout
40332 <cell alignment="left" valignment="top" usebox="none">
40335 \begin_layout Plain Layout
40339 \begin_layout Plain Layout
40352 \begin_layout Plain Layout
40360 \begin_inset Phantom Phantom
40363 \begin_layout Plain Layout
40373 \begin_layout Plain Layout
40385 <cell alignment="left" valignment="top" usebox="none">
40388 \begin_layout Plain Layout
40392 \begin_layout Plain Layout
40405 \begin_layout Plain Layout
40413 \begin_inset Phantom Phantom
40416 \begin_layout Plain Layout
40426 \begin_layout Plain Layout
40438 <cell alignment="left" valignment="top" usebox="none">
40441 \begin_layout Plain Layout
40445 \begin_layout Plain Layout
40458 \begin_layout Plain Layout
40466 \begin_inset Phantom Phantom
40469 \begin_layout Plain Layout
40479 \begin_layout Plain Layout
40491 <cell alignment="left" valignment="top" usebox="none">
40494 \begin_layout Plain Layout
40498 \begin_layout Plain Layout
40511 \begin_layout Plain Layout
40519 \begin_inset Phantom Phantom
40522 \begin_layout Plain Layout
40532 \begin_layout Plain Layout
40546 <cell alignment="center" valignment="top" usebox="none">
40549 \begin_layout Plain Layout
40553 \begin_layout Plain Layout
40566 \begin_layout Plain Layout
40574 \begin_inset Phantom Phantom
40577 \begin_layout Plain Layout
40587 \begin_layout Plain Layout
40599 <cell alignment="center" valignment="top" usebox="none">
40602 \begin_layout Plain Layout
40606 \begin_layout Plain Layout
40619 \begin_layout Plain Layout
40627 \begin_inset Phantom Phantom
40630 \begin_layout Plain Layout
40640 \begin_layout Plain Layout
40652 <cell alignment="center" valignment="top" usebox="none">
40655 \begin_layout Plain Layout
40659 \begin_layout Plain Layout
40672 \begin_layout Plain Layout
40680 \begin_inset Phantom Phantom
40683 \begin_layout Plain Layout
40693 \begin_layout Plain Layout
40705 <cell alignment="center" valignment="top" usebox="none">
40708 \begin_layout Plain Layout
40712 \begin_layout Plain Layout
40725 \begin_layout Plain Layout
40733 \begin_inset Phantom Phantom
40736 \begin_layout Plain Layout
40746 \begin_layout Plain Layout
40760 <cell alignment="left" valignment="top" usebox="none">
40763 \begin_layout Plain Layout
40767 \begin_layout Plain Layout
40780 \begin_layout Plain Layout
40788 \begin_inset Phantom Phantom
40791 \begin_layout Plain Layout
40801 \begin_layout Plain Layout
40813 <cell alignment="left" valignment="top" usebox="none">
40816 \begin_layout Plain Layout
40820 \begin_layout Plain Layout
40833 \begin_layout Plain Layout
40841 \begin_inset Phantom Phantom
40844 \begin_layout Plain Layout
40854 \begin_layout Plain Layout
40866 <cell alignment="left" valignment="top" usebox="none">
40869 \begin_layout Plain Layout
40873 \begin_layout Plain Layout
40886 \begin_layout Plain Layout
40894 \begin_inset Phantom Phantom
40897 \begin_layout Plain Layout
40907 \begin_layout Plain Layout
40919 <cell alignment="left" valignment="top" usebox="none">
40922 \begin_layout Plain Layout
40926 \begin_layout Plain Layout
40939 \begin_layout Plain Layout
40947 \begin_inset Phantom Phantom
40950 \begin_layout Plain Layout
40960 \begin_layout Plain Layout
40974 <cell alignment="left" valignment="top" usebox="none">
40977 \begin_layout Plain Layout
40981 \begin_layout Plain Layout
40994 \begin_layout Plain Layout
41002 \begin_inset Phantom Phantom
41005 \begin_layout Plain Layout
41015 \begin_layout Plain Layout
41027 <cell alignment="left" valignment="top" usebox="none">
41030 \begin_layout Plain Layout
41034 \begin_layout Plain Layout
41047 \begin_layout Plain Layout
41055 \begin_inset Phantom Phantom
41058 \begin_layout Plain Layout
41068 \begin_layout Plain Layout
41080 <cell alignment="left" valignment="top" usebox="none">
41083 \begin_layout Plain Layout
41087 \begin_layout Plain Layout
41100 \begin_layout Plain Layout
41108 \begin_inset Phantom Phantom
41111 \begin_layout Plain Layout
41121 \begin_layout Plain Layout
41133 <cell alignment="left" valignment="top" usebox="none">
41136 \begin_layout Plain Layout
41140 \begin_layout Plain Layout
41153 \begin_layout Plain Layout
41161 \begin_inset Phantom Phantom
41164 \begin_layout Plain Layout
41174 \begin_layout Plain Layout
41188 <cell alignment="left" valignment="top" usebox="none">
41191 \begin_layout Plain Layout
41195 \begin_layout Plain Layout
41208 \begin_layout Plain Layout
41216 \begin_inset Phantom Phantom
41219 \begin_layout Plain Layout
41229 \begin_layout Plain Layout
41241 <cell alignment="left" valignment="top" usebox="none">
41244 \begin_layout Plain Layout
41248 \begin_layout Plain Layout
41261 \begin_layout Plain Layout
41269 \begin_inset Phantom Phantom
41272 \begin_layout Plain Layout
41282 \begin_layout Plain Layout
41294 <cell alignment="left" valignment="top" usebox="none">
41297 \begin_layout Plain Layout
41301 \begin_layout Plain Layout
41314 \begin_layout Plain Layout
41322 \begin_inset Phantom Phantom
41325 \begin_layout Plain Layout
41335 \begin_layout Plain Layout
41347 <cell alignment="left" valignment="top" usebox="none">
41350 \begin_layout Plain Layout
41354 \begin_layout Plain Layout
41367 \begin_layout Plain Layout
41375 \begin_inset Phantom Phantom
41378 \begin_layout Plain Layout
41388 \begin_layout Plain Layout
41402 <cell alignment="left" valignment="top" usebox="none">
41405 \begin_layout Plain Layout
41409 \begin_layout Plain Layout
41422 \begin_layout Plain Layout
41430 \begin_inset Phantom Phantom
41433 \begin_layout Plain Layout
41443 \begin_layout Plain Layout
41455 <cell alignment="left" valignment="top" usebox="none">
41458 \begin_layout Plain Layout
41462 \begin_layout Plain Layout
41475 \begin_layout Plain Layout
41483 \begin_inset Phantom Phantom
41486 \begin_layout Plain Layout
41496 \begin_layout Plain Layout
41508 <cell alignment="left" valignment="top" usebox="none">
41511 \begin_layout Plain Layout
41515 \begin_layout Plain Layout
41528 \begin_layout Plain Layout
41536 \begin_inset Phantom Phantom
41539 \begin_layout Plain Layout
41549 \begin_layout Plain Layout
41561 <cell alignment="left" valignment="top" usebox="none">
41564 \begin_layout Plain Layout
41568 \begin_layout Plain Layout
41581 \begin_layout Plain Layout
41589 \begin_inset Phantom Phantom
41592 \begin_layout Plain Layout
41602 \begin_layout Plain Layout
41616 <cell alignment="left" valignment="top" usebox="none">
41619 \begin_layout Plain Layout
41623 \begin_layout Plain Layout
41636 \begin_layout Plain Layout
41644 \begin_inset Phantom Phantom
41647 \begin_layout Plain Layout
41657 \begin_layout Plain Layout
41669 <cell alignment="left" valignment="top" usebox="none">
41672 \begin_layout Plain Layout
41676 \begin_layout Plain Layout
41689 \begin_layout Plain Layout
41697 \begin_inset Phantom Phantom
41700 \begin_layout Plain Layout
41710 \begin_layout Plain Layout
41722 <cell alignment="left" valignment="top" usebox="none">
41725 \begin_layout Plain Layout
41729 \begin_layout Plain Layout
41742 \begin_layout Plain Layout
41750 \begin_inset Phantom Phantom
41753 \begin_layout Plain Layout
41763 \begin_layout Plain Layout
41775 <cell alignment="left" valignment="top" usebox="none">
41778 \begin_layout Plain Layout
41782 \begin_layout Plain Layout
41795 \begin_layout Plain Layout
41803 \begin_inset Phantom Phantom
41806 \begin_layout Plain Layout
41816 \begin_layout Plain Layout
41830 <cell alignment="left" valignment="top" usebox="none">
41833 \begin_layout Plain Layout
41837 \begin_layout Plain Layout
41850 \begin_layout Plain Layout
41858 \begin_inset Phantom Phantom
41861 \begin_layout Plain Layout
41871 \begin_layout Plain Layout
41883 <cell alignment="left" valignment="top" usebox="none">
41886 \begin_layout Plain Layout
41890 \begin_layout Plain Layout
41903 \begin_layout Plain Layout
41911 \begin_inset Phantom Phantom
41914 \begin_layout Plain Layout
41924 \begin_layout Plain Layout
41936 <cell alignment="left" valignment="top" usebox="none">
41939 \begin_layout Plain Layout
41943 \begin_layout Plain Layout
41956 \begin_layout Plain Layout
41964 \begin_inset Phantom Phantom
41967 \begin_layout Plain Layout
41977 \begin_layout Plain Layout
41989 <cell alignment="left" valignment="top" usebox="none">
41992 \begin_layout Plain Layout
41996 \begin_layout Plain Layout
42009 \begin_layout Plain Layout
42017 \begin_inset Phantom Phantom
42020 \begin_layout Plain Layout
42030 \begin_layout Plain Layout
42044 <cell alignment="left" valignment="top" usebox="none">
42047 \begin_layout Plain Layout
42051 \begin_layout Plain Layout
42064 \begin_layout Plain Layout
42072 \begin_inset Phantom Phantom
42075 \begin_layout Plain Layout
42085 \begin_layout Plain Layout
42097 <cell alignment="left" valignment="top" usebox="none">
42100 \begin_layout Plain Layout
42104 \begin_layout Plain Layout
42117 \begin_layout Plain Layout
42125 \begin_inset Phantom Phantom
42128 \begin_layout Plain Layout
42138 \begin_layout Plain Layout
42150 <cell alignment="left" valignment="top" usebox="none">
42153 \begin_layout Plain Layout
42157 \begin_layout Plain Layout
42170 \begin_layout Plain Layout
42178 \begin_inset Phantom Phantom
42181 \begin_layout Plain Layout
42191 \begin_layout Plain Layout
42203 <cell alignment="left" valignment="top" usebox="none">
42206 \begin_layout Plain Layout
42210 \begin_layout Plain Layout
42223 \begin_layout Plain Layout
42231 \begin_inset Phantom Phantom
42234 \begin_layout Plain Layout
42244 \begin_layout Plain Layout
42258 <cell alignment="left" valignment="top" usebox="none">
42261 \begin_layout Plain Layout
42265 \begin_layout Plain Layout
42278 \begin_layout Plain Layout
42286 \begin_inset Phantom Phantom
42289 \begin_layout Plain Layout
42299 \begin_layout Plain Layout
42311 <cell alignment="left" valignment="top" usebox="none">
42314 \begin_layout Plain Layout
42318 \begin_layout Plain Layout
42331 \begin_layout Plain Layout
42339 \begin_inset Phantom Phantom
42342 \begin_layout Plain Layout
42352 \begin_layout Plain Layout
42364 <cell alignment="left" valignment="top" usebox="none">
42367 \begin_layout Plain Layout
42371 \begin_layout Plain Layout
42384 \begin_layout Plain Layout
42392 \begin_inset Phantom Phantom
42395 \begin_layout Plain Layout
42405 \begin_layout Plain Layout
42417 <cell alignment="left" valignment="top" usebox="none">
42420 \begin_layout Plain Layout
42424 \begin_layout Plain Layout
42437 \begin_layout Plain Layout
42445 \begin_inset Phantom Phantom
42448 \begin_layout Plain Layout
42458 \begin_layout Plain Layout
42472 <cell alignment="left" valignment="top" usebox="none">
42475 \begin_layout Plain Layout
42479 \begin_layout Plain Layout
42492 \begin_layout Plain Layout
42500 \begin_inset Phantom Phantom
42503 \begin_layout Plain Layout
42513 \begin_layout Plain Layout
42525 <cell alignment="left" valignment="top" usebox="none">
42528 \begin_layout Plain Layout
42532 \begin_layout Plain Layout
42545 \begin_layout Plain Layout
42553 \begin_inset Phantom Phantom
42556 \begin_layout Plain Layout
42566 \begin_layout Plain Layout
42578 <cell alignment="left" valignment="top" usebox="none">
42581 \begin_layout Plain Layout
42585 \begin_layout Plain Layout
42598 \begin_layout Plain Layout
42606 \begin_inset Phantom Phantom
42609 \begin_layout Plain Layout
42619 \begin_layout Plain Layout
42631 <cell alignment="left" valignment="top" usebox="none">
42634 \begin_layout Plain Layout
42638 \begin_layout Plain Layout
42651 \begin_layout Plain Layout
42659 \begin_inset Phantom Phantom
42662 \begin_layout Plain Layout
42672 \begin_layout Plain Layout
42686 <cell alignment="left" valignment="top" usebox="none">
42689 \begin_layout Plain Layout
42693 \begin_layout Plain Layout
42706 \begin_layout Plain Layout
42714 \begin_inset Phantom Phantom
42717 \begin_layout Plain Layout
42727 \begin_layout Plain Layout
42739 <cell alignment="left" valignment="top" usebox="none">
42742 \begin_layout Plain Layout
42748 <cell alignment="left" valignment="top" usebox="none">
42751 \begin_layout Plain Layout
42757 <cell alignment="left" valignment="top" usebox="none">
42760 \begin_layout Plain Layout
42774 \begin_layout Chapter
42776 \begin_inset CommandInset ref
42783 \begin_inset CommandInset label
42792 \begin_layout Standard
42793 \begin_inset Formula $n$
42797 \begin_inset Formula $W_{\mathrm{tot\, n}}$
42801 \begin_inset Formula
42803 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
42811 \begin_layout Standard
42813 \begin_inset Formula $W_{g\, n}$
42822 は、セルテキストとセル罫線のあいだを指すLaTeX長であり、既定値は6
42823 \begin_inset space \thinspace{}
42833 \begin_inset space \thinspace{}
42839 \begin_layout Standard
42841 \begin_inset CommandInset ref
42843 reference "eq:Wtot_n"
42848 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
42852 \begin_inset Formula
42854 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
42862 \begin_layout Standard
42864 \begin_inset Formula $n$
42868 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
42872 \begin_inset CommandInset ref
42874 reference "eq:Wtot_n"
42879 \begin_inset CommandInset ref
42881 reference "eq:Wtot_mult"
42885 式が等しいものと置けば、必要となる固定幅
42886 \begin_inset Formula $W_{g\, n}$
42890 \begin_inset Formula
42892 W_{g\, n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
42900 \begin_layout Bibliography
42901 \begin_inset CommandInset bibitem
42902 LatexCommand bibitem
42903 key "latexcompanion"
42907 Frank Mittelbach and Michel Goossens:
42909 The LaTeX Companion Second Edition.
42912 Addison-Wesley, 2004
42915 \begin_layout Bibliography
42916 \begin_inset CommandInset bibitem
42917 LatexCommand bibitem
42922 Helmut Kopka and Patrick W.
42925 A Guide to LaTeX Fourth Edition.
42928 Addison-Wesley, 2003
42931 \begin_layout Bibliography
42932 \begin_inset CommandInset bibitem
42933 LatexCommand bibitem
42940 LaTeX: A Document Preparation System.
42943 Addison-Wesley, second edition, 1994
42946 \begin_layout Bibliography
42947 \begin_inset CommandInset bibitem
42948 LatexCommand bibitem
42956 \begin_inset CommandInset href
42959 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
42966 \begin_inset Index idx
42969 \begin_layout Plain Layout
42970 LaTeXぱっけーじ@LaTeXパッケージ ! arydshln
42978 \begin_layout Bibliography
42979 \begin_inset CommandInset bibitem
42980 LatexCommand bibitem
42988 \begin_inset CommandInset href
42991 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
42998 \begin_inset Index idx
43001 \begin_layout Plain Layout
43002 LaTeXぱっけーじ@LaTeXパッケージ ! booktabs
43010 \begin_layout Bibliography
43011 \begin_inset CommandInset bibitem
43012 LatexCommand bibitem
43020 \begin_inset CommandInset href
43023 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
43030 \begin_inset Index idx
43033 \begin_layout Plain Layout
43034 LaTeXぱっけーじ@LaTeXパッケージ ! caption
43042 \begin_layout Bibliography
43043 \begin_inset CommandInset bibitem
43044 LatexCommand bibitem
43052 \begin_inset CommandInset href
43055 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
43062 \begin_inset Index idx
43065 \begin_layout Plain Layout
43066 LaTeXぱっけーじ@LaTeXパッケージ ! diagbox
43074 \begin_layout Bibliography
43075 \begin_inset CommandInset bibitem
43076 LatexCommand bibitem
43084 \begin_inset CommandInset href
43087 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
43094 \begin_inset Index idx
43097 \begin_layout Plain Layout
43098 LaTeXぱっけーじ@LaTeXパッケージ ! endfloat
43106 \begin_layout Bibliography
43107 \begin_inset CommandInset bibitem
43108 LatexCommand bibitem
43116 \begin_inset CommandInset href
43119 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
43126 \begin_inset Index idx
43129 \begin_layout Plain Layout
43130 LaTeXぱっけーじ@LaTeXパッケージ ! footmisc
43138 \begin_layout Bibliography
43139 \begin_inset CommandInset bibitem
43140 LatexCommand bibitem
43148 \begin_inset CommandInset href
43151 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
43158 \begin_inset Index idx
43161 \begin_layout Plain Layout
43162 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
43170 \begin_layout Bibliography
43171 \begin_inset CommandInset bibitem
43172 LatexCommand bibitem
43180 \begin_inset CommandInset href
43183 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
43190 \begin_inset Index idx
43193 \begin_layout Plain Layout
43194 LaTeXぱっけーじ@LaTeXパッケージ ! hyperref
43202 \begin_layout Bibliography
43203 \begin_inset CommandInset bibitem
43204 LatexCommand bibitem
43212 \begin_inset CommandInset href
43215 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
43222 \begin_inset Index idx
43225 \begin_layout Plain Layout
43226 LaTeXぱっけーじ@LaTeXパッケージ ! KOMA-script
43234 \begin_layout Bibliography
43235 \begin_inset CommandInset bibitem
43236 LatexCommand bibitem
43244 \begin_inset CommandInset href
43247 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
43258 \begin_inset CommandInset href
43261 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
43266 \begin_inset Index idx
43269 \begin_layout Plain Layout
43270 LaTeXぱっけーじ@LaTeXパッケージ ! lettrine
43278 \begin_layout Bibliography
43279 \begin_inset CommandInset bibitem
43280 LatexCommand bibitem
43288 \begin_inset CommandInset href
43291 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
43298 \begin_inset Index idx
43301 \begin_layout Plain Layout
43302 LaTeXぱっけーじ@LaTeXパッケージ ! listings
43310 \begin_layout Bibliography
43311 \begin_inset CommandInset bibitem
43312 LatexCommand bibitem
43320 \begin_inset CommandInset href
43323 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
43330 \begin_inset Index idx
43333 \begin_layout Plain Layout
43334 LaTeXぱっけーじ@LaTeXパッケージ ! marginnote
43342 \begin_layout Bibliography
43343 \begin_inset CommandInset bibitem
43344 LatexCommand bibitem
43352 \begin_inset CommandInset href
43355 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
43362 \begin_inset Index idx
43365 \begin_layout Plain Layout
43366 LaTeXぱっけーじ@LaTeXパッケージ ! pdfpages
43374 \begin_layout Bibliography
43375 \begin_inset CommandInset bibitem
43376 LatexCommand bibitem
43384 \begin_inset CommandInset href
43387 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
43394 \begin_inset Index idx
43397 \begin_layout Plain Layout
43398 LaTeXぱっけーじ@LaTeXパッケージ! prettyref
43406 \begin_layout Bibliography
43407 \begin_inset CommandInset bibitem
43408 LatexCommand bibitem
43416 \begin_inset CommandInset href
43419 target "http://tug.org/PSTricks/"
43426 \begin_inset Index idx
43429 \begin_layout Plain Layout
43430 LaTeXぱっけーじ@LaTeXパッケージ ! PSTricks
43438 \begin_layout Bibliography
43439 \begin_inset CommandInset bibitem
43440 LatexCommand bibitem
43448 \begin_inset CommandInset href
43451 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
43458 \begin_inset Index idx
43461 \begin_layout Plain Layout
43462 LaTeXぱっけーじ@LaTeXパッケージ ! refstyle
43470 \begin_layout Bibliography
43471 \begin_inset CommandInset bibitem
43472 LatexCommand bibitem
43480 \begin_inset CommandInset href
43483 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
43490 \begin_inset Index idx
43493 \begin_layout Plain Layout
43494 LaTeXぱっけーじ@LaTeXパッケージ ! sidecap
43502 \begin_layout Bibliography
43503 \begin_inset CommandInset bibitem
43504 LatexCommand bibitem
43514 \begin_inset CommandInset href
43517 target "http://wiki.lyx.org/LyX/NewInLyX20"
43524 \begin_layout Standard
43525 \begin_inset CommandInset index_print
43526 LatexCommand printindex