\setboolean{colortbl}{true}}
{\setboolean{colortbl}{false}}
+% used for colored table rows
+\usepackage[table]{xcolor}
+
% used to have extra space in table cells
\@ifundefined{extrarowheight}
{\usepackage{array}}{}
\begin_layout Standard
画像を文書に挿入するには、文中の挿入箇所にカーソルを置いて、ツールバーアイコン
-\family sans
-
\begin_inset Info
type "icon"
arg "dialog-show-new-inset graphics"
\end_inset
-
-\family default
をクリックするか、
\family sans
挿入\SpecialChar \menuseparator
ラベル
\family default
メニューかツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "label-insert"
\end_inset
-
-\family default
を使用して、キャプションにラベルを挿入してください。その後、
\family sans
挿入\SpecialChar \menuseparator
相互参照
\family default
メニューかツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "dialog-show-new-inset ref"
\end_inset
-
-\family default
を使用して、ラベルを参照することができます。LaTeXは仕上文書でのフロートの位置を調整するので、「上図」のような曖昧な参照のしかたをするのではなく、フロートを
直接参照することが重要です。仕上文書では、「上図」ではないことが、大いにありうるからです。
\begin_inset Newline newline
\end_inset
回転関連のチェックボックスは、現在セルや選択範囲あるいは表全体を反時計廻りに90度回転させます。回転は、LyX内部では反映されず、出力にのみ現れます。
+\lang english
+For more information see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\lang japanese
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Rotated-Table-Cells"
+
+\end_inset
+
+。
\begin_inset Newline newline
\end_inset
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular append-row"
\end_inset
-
-\family default
は、現在セルあるいは選択範囲の下に行を追加します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular append-column"
\end_inset
-
-\family default
は、現在セルあるいは選択範囲の右に列を追加します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular delete-row"
\end_inset
-
-\family default
は、現在行あるいは選択範囲行を削除します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular delete-column"
\end_inset
-
-\family default
は、現在列あるいは選択範囲列を削除します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular toggle-line-top"
\end_inset
-
-\family default
は、現在セルや現在行、あるいは選択範囲の上部に罫線を描画します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular toggle-line-bottom"
\end_inset
-
-\family default
は、現在セルや現在行、あるいは選択範囲の下部に罫線を描画します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular toggle-line-left"
\end_inset
-
-\family default
は、現在セルや現在行、あるいは選択範囲の左側に罫線を描画します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular toggle-line-right"
\end_inset
-
-\family default
は、現在セルや現在行、あるいは選択範囲の右側に罫線を描画します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular set-all-lines"
\end_inset
-
-\family default
は、現在セルあるいは選択範囲の周囲に罫線を描画します。現在セルが連結列でなければ、現在行と現在列にも影響します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular unset-all-lines"
\end_inset
-
-\family default
は、現在セルあるいは選択範囲のすべての罫線を消去します。現在セルが連結列でなければ、現在行と現在列にも影響します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-align-left"
\end_inset
-
-\family default
は、現在セルあるいは現在列の内容を左揃えにします。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-align-center"
\end_inset
-
-\family default
は、現在セルあるいは現在列の内容を水平方向中央揃えにします。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-align-right"
\end_inset
-
-\family default
は、現在セルあるいは現在列の内容を右揃えにします。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular align-decimal"
\end_inset
-
-\family default
は、現在セルの内容を特定文字位置で揃えます。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-valign-top"
\end_inset
-
-\family default
は、現在セルの内容を垂直方向上揃えにします。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-valign-middle"
\end_inset
-
-\family default
は、現在セルの内容を垂直方向中央揃えにします。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-valign-bottom"
\end_inset
-
-\family default
は、現在セルの内容を垂直方向下揃えにします。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular set-rotate-cell"
\end_inset
-
-\family default
は、現在セルあるいは選択範囲を反時計廻りに90度回転します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular set-rotate-tabular"
\end_inset
-
-\family default
は、表全体を反時計廻りに90度回転します。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular multicolumn"
\end_inset
-
-\family default
は、現在セルあるいは選択範囲を連結列にします。
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular multirow"
\end_inset
-
-\family default
は、現在セルあるいは選択範囲を連結行にします。
\end_layout
ラベル
\family default
メニューかツールバーボタンの
-\family sans
-
\begin_inset Info
type "icon"
arg "label-insert"
\end_inset
-
-\family default
を用いて、キャプションにラベルを挿入して下さい。然る後に、挿入\SpecialChar \menuseparator
相互参照メニューかツールバーボタンの
-\family sans
-
\begin_inset Info
type "icon"
arg "dialog-show-new-inset ref"
\end_inset
-
-\family default
を用いて、このラベルを参照することができます。
\begin_inset Newline newline
\end_inset
\begin_layout Standard
一つのセルが複数の列にまたがるようにするためには、行中から一つの連結セルにまとめるべき各セルを選択して、表ツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "inset-modify tabular multicolumn"
\end_inset
-
-\family default
を押すか、
\family sans
編集\SpecialChar \menuseparator
\begin_layout Standard
複数行にかかるセルを連結するには、同一列中の統合したいセルをすべて選択し、ツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "inset-modify tabular multirow"
\end_inset
-
-\family default
を押すか、メニュー
\family sans
編集\SpecialChar \menuseparator
\end_layout
\begin_layout Subsection
-色付き罫線
+
+\lang english
+Colored Rows
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-ひょうのいろ@表の色 ! けいせんぶ@罫線部
+
+\lang english
+Table Color ! for Rows
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-いろつき@色付き ! ひょうけいせんぶ@表罫線部
+
+\lang english
+Color ! for Table Rows
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-第
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:罫線幅"
+
+\lang english
+In case every second table row needs to be colored there is an alternative
+ to the method described in the previous section: One loads the package
+
+\series bold
+xcolor
+\series default
+\lang japanese
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeXぱっけーじ@LaTeXパッケージ ! xcolor
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{4mm}
+\end_layout
\end_inset
-節に述べられているように、表中の全罫線の線幅は、長さ
+
+\end_layout
+
+\end_inset
+
+
+\lang english
+ in the document preamble with the command
+\end_layout
+
+\begin_layout Standard
+
\series bold
\backslash
-arrayrulewidth
+usepackage[table]{xcolor}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+xcolor
\series default
-を使って調節することができます。本節の表では、すべて1.5
-\begin_inset space \thinspace{}
+ automatically loads also the package
+\series bold
+colortbl
+\series default
+\lang japanese
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeXぱっけーじ@LaTeXパッケージ ! colortbl
+\end_layout
+
\end_inset
-ptに設定されています。
+
+\lang english
+, so
+\series bold
+colortbl
+\series default
+ must be installed in your LaTeX-distribution, otherwise you get LaTeX-errors.
+\end_layout
+
+\begin_layout Standard
\begin_inset ERT
status collapsed
\backslash
-setlength{
+ifcolortbl
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+本節の以下の部分は、LaTeXパッケージ
+\series bold
+colortbl
+\series default
+が導入済みのときのみ表示されます。
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The table rows are colored with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
\backslash
-arrayrulewidth}{1.5pt}
+rowcolors[commands]{row number}{odd row color}{even row color}
\end_layout
+\begin_layout Standard
+
+\lang english
+that is either inserted in the document preamble or as TeX-Code before the
+ first table to be colored.
+ row
+\begin_inset space ~
\end_inset
+number is the number of the first row which should be colored according
+ to the odd row color.
+ commands can be additional commands that are executed before every table
+ row.
+ So for example the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\backslash
+rowcolors{1}{white}{lightgray}
\end_layout
\begin_layout Standard
-たとえば縦罫線を緑に着色するには、第
+
+\lang english
+leads to the coloring scheme of Table
+\begin_inset space ~
+\end_inset
+
+
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:自製書式"
+reference "tab:Table-rowcolors"
\end_inset
-節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
+.
+ The command
\end_layout
\begin_layout Standard
\series bold
\backslash
-newcolumntype{W}{!{
-\backslash
-color{green}
+rowcolors[
\backslash
-vline}}
+hline]{1}{lightgray}{cyan}
\end_layout
\begin_layout Standard
-表
+
+\lang english
+leads to the coloring scheme of Table
+\begin_inset space ~
+\end_inset
+
+
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:色付き縦罫線の表"
+reference "tab:Table-rowcolors-2"
\end_inset
-では、最右列にLaTeX変数
+.
+ If odd
+\begin_inset space ~
+\end_inset
+
+row
+\begin_inset space ~
+\end_inset
+
+color and/or even
+\begin_inset space ~
+\end_inset
+
+row
+\begin_inset space ~
+\end_inset
+
+color are left empty, no color will be used so that the command
+\end_layout
+
+\begin_layout Standard
+
\series bold
-WcW
-\series default
-、他の列にLaTeX変数
+
+\backslash
+rowcolors{1}{}{}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+deletes all colors.
+
\series bold
-Wc
+
+\backslash
+rowcolors
\series default
-が使用されています。
+ affects all tables following that command.
\end_layout
\begin_layout Standard
-複数の色を用いたいときには、列書式をもっと定義してください。
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolors{1}{white}{lightgray}
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
\begin_inset Caption
\begin_layout Plain Layout
+
+\lang english
\begin_inset CommandInset label
LatexCommand label
-name "tab:色付き縦罫線の表"
+name "tab:Table-rowcolors"
\end_inset
-色付き縦罫線の表
+Table where every second row is colored light gray.
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="4" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+X
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+Y
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+Z
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+2
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+3
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+5
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+6
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+7
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+8
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+9
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\begin_inset ERT
+status open
-表
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:色付き横罫線の表"
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolors[
+\backslash
+hline]{1}{lightgray}{cyan}
+\end_layout
\end_inset
-のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
+
\end_layout
\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
-\series bold
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+
+\lang english
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-rowcolors-2"
-\backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
-\begin_inset Newline newline
\end_inset
+Table where every second row is colored cyan and at which there is a line
+ between each row.
+\end_layout
-\backslash
-renewcommand{
-\backslash
-hline}
-\begin_inset Newline newline
\end_inset
-\begin_inset Phantom HPhantom
-status open
+\end_layout
\begin_layout Plain Layout
-\begin_inset space ~
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+X
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Y
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Z
+\end_layout
+
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+2
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+5
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+6
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+8
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+9
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolors{1}{}{}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+turn off the row coloring
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+以下は、LaTeXパッケージ
+\series bold
+colortbl
+\series default
+が導入されていないときに表示されます。
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+この節の内容を出力で表示させるには、
+\series bold
+colortbl
+\series default
+パッケージを導入する必要があります。
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+色付き罫線
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ひょうのいろ@表の色 ! けいせんぶ@罫線部
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+いろつき@色付き ! ひょうけいせんぶ@表罫線部
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+第
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:罫線幅"
+
+\end_inset
+
+節に述べられているように、表中の全罫線の線幅は、長さ
+\series bold
+
+\backslash
+arrayrulewidth
+\series default
+を使って調節することができます。本節の表では、すべて1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+ptに設定されています。
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1.5pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+たとえば縦罫線を緑に着色するには、第
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:自製書式"
+
+\end_inset
+
+節の説明にしたがって、以下の列書式を文書プリアンブル中で作成して下さい。
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcolumntype{W}{!{
+\backslash
+color{green}
+\backslash
+vline}}
+\end_layout
+
+\begin_layout Standard
+表
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:色付き縦罫線の表"
+
+\end_inset
+
+では、最右列にLaTeX変数
+\series bold
+WcW
+\series default
+、他の列にLaTeX変数
+\series bold
+Wc
+\series default
+が使用されています。
+\end_layout
+
+\begin_layout Standard
+複数の色を用いたいときには、列書式をもっと定義してください。
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:色付き縦罫線の表"
+
+\end_inset
+
+色付き縦罫線の表
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="WcW">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+表
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:色付き横罫線の表"
+
+\end_inset
+
+のように、たとえば横罫線を赤にしたいときには、表ないし表フロートの前にTeXコードで
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+myHlineC
+\backslash
+hline
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+hline}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myHlineC
+\backslash
+arrayrulecolor{black}}
+\end_layout
+
+\begin_layout Standard
+というコマンドを入力して下さい。
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+let
+\backslash
+myHlineC
+\backslash
+hline
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+hline}
+\end_layout
+
+\begin_layout Plain Layout
+
+ {
+\backslash
+arrayrulecolor{red}
+\backslash
+myHlineC
+\backslash
+arrayrulecolor{black}}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:色付き横罫線の表"
+
+\end_inset
+
+色付き横罫線の表
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+既定値の黒罫線に戻るには、
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
+\end_layout
+
+\begin_layout Standard
+というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:色付き罫線の表"
+
+\end_inset
+
+は、縦横罫線を色付けした例です。
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:色付き罫線の表"
+
+\end_inset
+
+色付き罫線の表
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="WcW">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+\lang english
+Rotated Table Cells
+\lang japanese
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Rotated-Table-Cells"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Table ! Rotated Cells
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Rotated Material
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note:
+\series default
+ Not all DVI-viewers are able to display rotations.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Currently LyX only offers to rotate table cells by 90
+\begin_inset space \thinspace{}
+\end_inset
+
+° counter-clockwise.
+ To rotate cells by an angle of your choice, you have to add this to the
+ document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+@ifundefined{turnbox}{
+\backslash
+usepackage{rotating}}{}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In the table cell that should be rotated, add at the beginning this command
+ as TeX-code:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+begin{turn}{angle}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+where angle is the rotation angle in °.
+ At the end of the cell the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
-{
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
\backslash
-arrayrulecolor{black}}
+end{turn}
\end_layout
\begin_layout Standard
-というコマンドを入力して下さい。
+
+\lang english
+is inserted as TeX-code.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\lang english
+Table
+\begin_inset space ~
+\end_inset
-\backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
-\end_layout
-\begin_layout Plain Layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-rotated-multi"
+\end_inset
-\backslash
-renewcommand{
-\backslash
-hline}
-\end_layout
+ is an example where 3
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
+cells were rotated by 45
+\begin_inset space \thinspace{}
+\end_inset
- {
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
+°.
\end_layout
-\end_inset
-
+\begin_layout Standard
+\lang english
\begin_inset Float table
-placement h
wide false
sideways false
status open
\begin_layout Plain Layout
+
+\lang english
\begin_inset Caption
\begin_layout Plain Layout
+
+\lang english
\begin_inset CommandInset label
LatexCommand label
-name "tab:色付き横罫線の表"
+name "tab:Table-with-rotated"
\end_inset
-色付き横罫線の表
+Table with rotated cells in the first row.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
+\noindent
\align center
+
+\lang english
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{turn}{45}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+cups
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+
+\backslash
+end{turn}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{turn}{45}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+plates
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+
+\backslash
+end{turn}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{turn}{45}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+saucers
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+
+\backslash
+end{turn}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Plain Layout
+\lang english
+45
\end_layout
\end_inset
\begin_layout Plain Layout
+\lang english
+33
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+21
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-既定値の黒罫線に戻るには、
-\end_layout
-\begin_layout Standard
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
\series bold
+\lang english
+Note:
+\series default
+ Line breaks (shortcut
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+) are not allowed in rotated cells.
+\end_layout
+
+\end_inset
+
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
\end_layout
\begin_layout Standard
-というコマンドを、表ないし表フロートの後にTeXコードで入力して下さい。表
+
+\lang english
+If you want to rotate table cells containing line breaks, you have to put
+ the cell content into a minipage or a parbox.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+For more about these boxes see sec.
+\lang japanese
+
+\begin_inset space \thinspace{}
+\end_inset
+
+
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:色付き罫線の表"
+reference "sec:ミニページ"
\end_inset
-は、縦横罫線を色付けした例です。
+
+\lang english
+and
+\lang japanese
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Parbox"
+
+\end_inset
+
+。
+\end_layout
+
+\end_inset
+
+ If you rotate this cell by 90
+\begin_inset space \thinspace{}
+\end_inset
+
+° the width of the box is the height of the cell.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-rotated-multi"
+
+\end_inset
+
+ is an example for a rotated multiline cell where the box width was set
+ to 3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm.
\end_layout
\begin_layout Standard
+
+\lang english
\begin_inset Float table
-placement h
wide false
sideways false
status open
\begin_layout Plain Layout
+
+\lang english
\begin_inset Caption
\begin_layout Plain Layout
+
+\lang english
\begin_inset CommandInset label
LatexCommand label
-name "tab:色付き罫線の表"
+name "tab:Table-with-rotated-multi"
\end_inset
-色付き罫線の表
+Table with rotated multiline cell.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
+\noindent
\align center
+
+\lang english
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+a
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+\lang english
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "3cm"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
\begin_layout Plain Layout
-\end_layout
-
+\lang english
+rotated cell
+\begin_inset Newline newline
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
+with line break
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+e
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+b
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+c
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+d
\end_layout
\end_inset
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{0.4pt}
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Section
\end_inset
の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。この揃え方は、当該列にカーソルを置いて、ツールバーボタン
-\begin_inset Graphics
- filename ../../images/tabular-feature_align-decimal.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "inset-modify tabular align-decimal"
\end_inset
を押すか、表設定中で揃えを
\family sans
キャプション
\family default
-差込枠が挿入されます。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプショ
-ンの上ないし下に別の段落として挿入します。キャプションの配置に関して詳しくは、第
+差込枠が挿入されます (
+\lang english
+toolbar button
+\lang japanese
+
+\begin_inset Info
+type "icon"
+arg "float-insert figure"
+\end_inset
+
+
+\lang english
+ or
+\lang japanese
+
+\begin_inset Info
+type "icon"
+arg "float-insert table"
+\end_inset
+
+)。このラベルは、出力の際に自動的に文書言語に翻訳されます。ラベルの後ろには、キャプションの文章を入れ、画像ないし表は、フロート中、キャプションの上ないし下に別
+の段落として挿入します。キャプションの配置に関して詳しくは、第
\begin_inset CommandInset ref
LatexCommand ref
reference "sec:キャプションの配置"
相互参照
\family default
メニューかツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "dialog-show-new-inset ref"
\end_inset
-
-\family default
を使えば、ラベルを参照することができます。
\begin_inset Graphics
filename clipart/referenceQt4.png
\family sans
戻る
\family default
-に変わるので、相互参照にカーソルを戻すのに使用することができます。相互参照ボックスを右クリックしても、カーソルを参照されているラベルの前に移すことができますが、
-この場合には元に戻ることができません。
+に変わるので、相互参照にカーソルを戻すのに使用することができます。
\end_layout
\begin_layout Subsection
\series bold
-\backslash
-newlength{
-\backslash
-abc}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-settowidth{
-\backslash
-abc}{
-\backslash
-space}
-\begin_inset Newline newline
-\end_inset
-
-
\backslash
addto
\backslash
extrasenglish{
\backslash
-renewcommand{
-\backslash
-equationautorefname}
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-\begin_inset space ~
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-{
-\backslash
-hspace{-
+renewcommand*{
\backslash
-abc}}
+equationautorefname}[1]{}}
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-取扱説明書
+
+\lang english
+LyX's english
\emph on
-数式篇
+Math
\emph default
-は、参照の自動命名が使用されている一例です。
+ manual is an example where automatic reference naming is used.
\end_layout
\begin_layout Subsection
\begin_layout Standard
注釈は、ツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "note-insert"
\end_inset
-
-\family default
か、
\family sans
挿入\SpecialChar \menuseparator
\end_inset
注釈を挿入するのにツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "note-insert"
\end_inset
-
-\family default
を使用すると、
\family sans
LyX注釈
\begin_layout Standard
脚注は、ツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "footnote-insert"
\end_inset
-
-\family default
か、
\family sans
挿入\SpecialChar \menuseparator
傍注
\family default
メニューかツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "marginalnote-insert"
\end_inset
-
-\family default
で挿入することができます。すると、紫字で「傍注」と書かれた灰色のボックスが現れて、そこに傍注文を入れることができます。
\end_layout
ボックス
\family default
メニューかツールバーボタン
-\family sans
-
\begin_inset Info
type "icon"
arg "box-insert Frameless"
\end_inset
-
-\family default
を使って挿入することができます。すると、
\begin_inset Graphics
filename ../clipart/BoxInsetDefaultQt4.png
型については第
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Parboxes"
+reference "sec:Parbox"
\end_inset
Parbox
\begin_inset CommandInset label
LatexCommand label
-name "sec:Parboxes"
+name "sec:Parbox"
\end_inset
\end_inset
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-ず@図 ! のかいてん@---の回転
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-ひょうのちょうせい@表の調整 ! かいてん@回転
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
special "width"
height "1in"
height_special "totalheight"
-status open
+status collapsed
\begin_layout Plain Layout
回転した
\end_inset
表を含む行です。
-\end_layout
-
-\begin_layout Subsection
-ボックスの伸縮
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-ã\81¼ã\81£ã\81\8fã\81\99@ã\83\9cã\83\83ã\82¯ã\82¹ ! ã\81\97ã\82\93ã\81\97ã\82\85ã\81\8fã\81\95ã\81\9bã\81\9f@伸縮ã\81\95ã\81\9bã\81\9f---
+ã\81\9a@å\9b³ ! ã\81®ã\81\8bã\81\84ã\81¦ã\82\93@---ã\81®å\9b\9e転
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-ã\81\97ã\82\93ã\81\97ã\82\85ã\81\8f@伸縮 ! ã\81\9dã\81\96ã\81\84ã\81®@ç´ æ\9d\90ã\81®---
+ã\81²ã\82\87ã\81\86ã\81®ã\81¡ã\82\87ã\81\86ã\81\9bã\81\84@表ã\81®èª¿æ\95´ ! ã\81\8bã\81\84ã\81¦ã\82\93@å\9b\9e転
\end_layout
\end_inset
+\end_layout
+
+\begin_layout Subsection
+ボックスの伸縮
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-ã\81\9a@å\9b³ ! ã\81®ã\81\97ã\82\93ã\81\97ã\82\85ã\81\8f@---ã\81®ä¼¸ç¸®
+ã\81¼ã\81£ã\81\8fã\81\99@ã\83\9cã\83\83ã\82¯ã\82¹ ! ã\81\97ã\82\93ã\81\97ã\82\85ã\81\8fã\81\95ã\81\9bã\81\9f@伸縮ã\81\95ã\81\9bã\81\9f---
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-ã\81²ã\82\87ã\81\86ã\81®ã\81¡ã\82\87ã\81\86ã\81\9bã\81\84@表ã\81®èª¿æ\95´ ! ã\81\97ã\82\93ã\81\97ã\82\85ã\81\8f@伸縮
+ã\81\97ã\82\93ã\81\97ã\82\85ã\81\8f@伸縮 ! ã\81\9dã\81\96ã\81\84ã\81®@ç´ æ\9d\90ã\81®---
\end_layout
\end_inset
\end_inset
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ず@図 ! のしんしゅく@---の伸縮
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+ひょうのちょうせい@表の調整 ! しんしゅく@伸縮
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-文書は、
+
+\lang english
+You can export your document to PostScript using the menu
\family sans
+\lang japanese
ファイル
\family default
\SpecialChar \menuseparator
\family sans
Postscript
\family default
-メニューを使用して、PostScriptに書き出すことができます。使用中の文書は、
+\lang english
+.
+ You can view your document as PostScript via the
\family sans
-表示
+View
\family default
-メニューかツールバーボタン
-\begin_inset Graphics
- filename ../../images/buffer-view_ps.png
- scale 85
- scaleBeforeRotation
-
-\end_inset
-
-を使用することでPostScriptとして表示させることができます。
+ menu.
\end_layout
\begin_layout Section
\end_layout
\begin_layout Standard
-使用中の文書をPDFとして表示するには、
-\family sans
-表示
-\family default
-メニューかツールバーボタン
-\begin_inset Graphics
- filename ../../images/buffer-view_pdf2.png
- scale 85
- scaleBeforeRotation
-
-\end_inset
-(これは
+\lang english
+You can view your document as PDF via the
\family sans
-PDF
-\begin_inset space ~
-\end_inset
-
-(pdflatex)
+View
\family default
-を使用します)を用います。
+ menu or by using a toolbar button.
\end_layout
\begin_layout Chapter