]> git.lyx.org Git - features.git/commitdiff
EmbeddedObjects.lyx: describe the new table cell alignment feature
authorUwe Stöhr <uwestoehr@web.de>
Wed, 20 Oct 2010 23:56:00 +0000 (23:56 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Wed, 20 Oct 2010 23:56:00 +0000 (23:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35737 a592a061-630c-0410-9148-cb99ea01b6c8

lib/doc/EmbeddedObjects.lyx
lib/doc/de/EmbeddedObjects.lyx
lib/doc/es/EmbeddedObjects.lyx
lib/doc/fr/EmbeddedObjects.lyx
lib/doc/ja/EmbeddedObjects.lyx

index a50f9c7a24583efc1e6eeaf8c384a4e00546dde3..8aacb638e80514e9fe93139d8a7e75445c393b85 100644 (file)
@@ -56,9 +56,6 @@
 % enables calculation of values,
 \usepackage{calc}
 
-% provides special table cell alignments
-\usepackage{dcolumn}
-
 % increase the bottom float placement fraction
 \renewcommand{\bottomfraction}{0.5}
 
@@ -2026,6 +2023,30 @@ Settings
 \family default
  Here you can set the horizontal alignment and the width of the current
  column.
+ The alignment 
+\family sans
+At
+\begin_inset space ~
+\end_inset
+
+Decimal
+\begin_inset space ~
+\end_inset
+
+Separator
+\family default
+ is described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Special-Cell-Alignment"
+
+\end_inset
+
+.
  When you have set a width you can also adjust the vertical alignment of
  the current row.
  A given width will allow the cell to have line breaks and multiple paragraphs
@@ -16616,6 +16637,13 @@ Huger
 
 \begin_layout Subsection
 Special Cell Alignment
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Special-Cell-Alignment"
+
+\end_inset
+
+
 \begin_inset Index idx
 status collapsed
 
@@ -16645,11 +16673,38 @@ with the decimal separator as in Table
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "tab:Table-cells-of"
+reference "tab:Table-cells-align"
+
+\end_inset
 
+.
+ This alignment is achieved by highlighting the last 3
+\begin_inset space ~
+\end_inset
+
+cells of the column and then either pressing the toolbar button 
+\begin_inset Graphics
+       filename ../images/tabular-feature_align-decimal.png
+       scale 85
+       scaleBeforeRotation
+
+\end_inset
+
+ or setting the alignment in the table settings to 
+\family sans
+At
+\begin_inset space ~
+\end_inset
+
+Decimal
+\begin_inset space ~
 \end_inset
 
+Separator
+\family default
 .
+ The alignment character can be a character of your choice and is specified
+ in the table settings.
 \end_layout
 
 \begin_layout Standard
@@ -16665,7 +16720,7 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "tab:Table-cells-of"
+name "tab:Table-cells-align"
 
 \end_inset
 
@@ -16675,15 +16730,102 @@ Table cells of a column aligned with the decimal separator.
 \end_inset
 
 
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="1">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="decimal" decimal_point="." valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+heading
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+12.6
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.68
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-123.0
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\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:Table-align-operator"
+
+\end_inset
+
+Table cells of a column aligned with the operators.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Plain Layout
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="right" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt" special="@{}l">
 <row>
 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
 \begin_inset Text
@@ -16709,7 +16851,10 @@ heading
 \begin_inset Text
 
 \begin_layout Plain Layout
-12.
+\begin_inset Formula $12\,+$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16718,7 +16863,10 @@ heading
 \begin_inset Text
 
 \begin_layout Plain Layout
-6
+\begin_inset Formula $\,6$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16729,7 +16877,10 @@ heading
 \begin_inset Text
 
 \begin_layout Plain Layout
-0.
+\begin_inset Formula $0\,-$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16738,7 +16889,10 @@ heading
 \begin_inset Text
 
 \begin_layout Plain Layout
-68
+\begin_inset Formula $\,68$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16749,7 +16903,10 @@ heading
 \begin_inset Text
 
 \begin_layout Plain Layout
--123.
+\begin_inset Formula $-123\,/$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16758,7 +16915,10 @@ heading
 \begin_inset Text
 
 \begin_layout Plain Layout
-0
+\begin_inset Formula $\,0$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16777,12 +16937,27 @@ heading
 \end_layout
 
 \begin_layout Standard
-This table was created with a 4×2 table.
+For alignments at characters in formulas this method does not work because
+ the field to specify the alignment character does not allow formulas.
+ In this case one need to use the method from Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-align-operator"
+
+\end_inset
+
+.
+ This table was created with a 4×2 table.
  The heading is a centered multicolumn.
- The first column is right-aligned and contains the digits before the decimal
- point and the decimal point.
- The second column is left aligned and contains the digits after the decimal
- point.
+ The first column is right-aligned and contains the first part including
+ the operator.
+ The second column is left aligned and contains the rest.
+ A small space was added at the beginning of each cell of the second column
+ to get the space that is usually around operators.
  To omit the space that is normally between two table columns, the following
  LaTeX-argument was used for the second column:
 \end_layout
@@ -16806,9 +16981,19 @@ reference "tab:Several-table-cell"
 \end_inset
 
  shows some example alignments.
- For the alignment with the relation sign, you must add the second smallest
- math-space at the beginning of the last column to get the correct space
- surrounding the relation sign.
+ For the alignment with the relation sign, a small space was added like
+ for the second column of Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-align-operator"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Standard
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-There is also the LaTeX-package 
-\series bold
-dcolumn
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! dcolumn
-\end_layout
-
-\end_inset
-
- that provides table cell alignments.
- But this unfortunately treats the cell entries as math and does not allow
- formulas in table cells: The first column of Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Several-table-cell"
-
-\end_inset
-
- will look with 
-\series bold
-dcolumn
-\series default
- like the first column in Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Alignments-when"
-
-\end_inset
-
- and only with some tricks as you would want.
- The alignment of the second and third column of Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Several-table-cell"
-
-\end_inset
-
- is not possible with 
-\series bold
-dcolumn
-\series default
-.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\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:Alignments-when"
-
-\end_inset
-
-Alignments when LaTeX-package dcolumn is used.
- For all column alignments tricks have to be used to get the output.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
-<column alignment="center" valignment="top" width="0" special="D{+}{\,}{9.7}">
-<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-units
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-units
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-units
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-bottles
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{bottles}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-24+
-\begin_inset Formula $\mbox{bottles}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-
-Pixels
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{Pixels}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-768+
-\begin_inset Formula $\mbox{Pixels}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-cm
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-6+
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
index ed80231b0e553b9986e603a9ac5d7c70bb6b27a7..7a9c6da6a7186158c678014f3725ae30f8fe492b 100644 (file)
@@ -54,9 +54,6 @@
 % ermöglicht das Berechnen von Werten
 \usepackage{calc}
 
-% Ermöglicht besondere Tabellenzellen-Ausrichtungen
-\usepackage{dcolumn}
-
 %Vergrößert den Teil der Seite, in dem Gleitobjekte
 % unten angeordnet werden dürfen
 \renewcommand{\bottomfraction}{0.5}
@@ -1930,32 +1927,36 @@ Tabellen-Einstellungen
 \family sans
 Tabellen-Einstellungen
 \family default
- Hier können Sie die 
-\family sans
-Horizontale
+ Hier können Sie die Horizontale
 \begin_inset space ~
 \end_inset
 
-Ausrichtung
-\family default
- der momentanen Spalte und die 
-\family sans
-Spaltenbreite
-\family default
- festlegen.
- Wenn Sie eine 
+Ausrichtung der momentanen Spalte und die Spaltenbreite festlegen.
+ Die Ausrichtung 
 \family sans
-Spaltenbreite
-\family default
- festgelegt haben, können Sie auch eine 
-\family sans
-Vertikale
+Am
 \begin_inset space ~
 \end_inset
 
-Ausrichtung
+Dezimaltrenner
 \family default
- der momentanen Zeile wählen.
+ ist in Abschnitt
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Besondere-Zellenausrichtung"
+
+\end_inset
+
+ beschrieben.
+ Wenn Sie eine Spaltenbreite festgelegt haben, können Sie auch eine Vertikale
+\begin_inset space ~
+\end_inset
+
+Ausrichtung der momentanen Zeile wählen.
  Bei einer festen Spaltenbreite können Zellen Zeilenumbrüche und mehrere
  Absätze haben, wie in Abschnitt
 \begin_inset space ~
@@ -2020,24 +2021,9 @@ Achtung:
 \begin_inset Newline newline
 \end_inset
 
-Man kann auch ein 
-\family sans
-LaTe
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{}
-\end_layout
-
-\end_inset
-
-X-Argument
-\family default
- für besondere Tabellen-Formatierun\SpecialChar \-
-gen einfügen, wie in den Abschnitten
+Man kann auch ein LaTeX-Argument für besondere Tabellen-Formatierun\SpecialChar \-
+gen einfügen,
+ wie in den Abschnitten 
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "uab:Mehrfachspalten-Berechnungen"
@@ -2107,13 +2093,17 @@ Lange
 Tabelle
 \family default
  Hier kann eine Tabelle als 
-\family sans
+\begin_inset Quotes gld
+\end_inset
+
 Lange
 \begin_inset space ~
 \end_inset
 
 Tabelle
-\family default
+\begin_inset Quotes grd
+\end_inset
+
  definiert werden, die über mehrere Seiten reicht.
  Die Abschnitte
 \begin_inset space ~
@@ -16910,6 +16900,13 @@ Gigantisch
 
 \begin_layout Subsection
 Besondere Zellenausrichtung
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Besondere-Zellenausrichtung"
+
+\end_inset
+
+
 \begin_inset Index idx
 status collapsed
 
@@ -16936,6 +16933,30 @@ reference "tab:Tabellenzellen-sind-auf"
 \end_inset
 
 .
+ Diese Ausrichtung erhält man, indem die 3
+\begin_inset space ~
+\end_inset
+
+letzten Zellen der Spalte markiert und man dann entweder den Werkzeugleistenknop
+f 
+\begin_inset Graphics
+       filename ../../images/tabular-feature_align-decimal.png
+       scale 85
+       scaleBeforeRotation
+
+\end_inset
+
+ drücken oder in den Tabelleneinstellungen die Ausrichtung auf 
+\family sans
+Am
+\begin_inset space ~
+\end_inset
+
+Dezimaltrenner
+\family default
+ setzen.
+ Das Zeichen, auf das ausgerichtet wird, kann man in den Tabelleneinstellungen
+ frei wählen.
 \end_layout
 
 \begin_layout Standard
@@ -16961,15 +16982,102 @@ Tabellenzellen sind auf den Dezimalpunkt ausgerichtet
 \end_inset
 
 
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="1">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="decimal" decimal_point="," valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Überschrift
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+12,6
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0,68
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-123,0
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\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:Tabellenzellen-Operator"
+
+\end_inset
+
+Tabellenzellen sind auf den Operator ausgerichtet
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Plain Layout
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="right" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt" special="@{}l">
 <row>
 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
 \begin_inset Text
@@ -16995,7 +17103,10 @@ Tabellenzellen sind auf den Dezimalpunkt ausgerichtet
 \begin_inset Text
 
 \begin_layout Plain Layout
-12.
+\begin_inset Formula $12\,+$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17004,7 +17115,10 @@ Tabellenzellen sind auf den Dezimalpunkt ausgerichtet
 \begin_inset Text
 
 \begin_layout Plain Layout
-6
+\begin_inset Formula $\,6$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17015,7 +17129,10 @@ Tabellenzellen sind auf den Dezimalpunkt ausgerichtet
 \begin_inset Text
 
 \begin_layout Plain Layout
-0.
+\begin_inset Formula $0\,-$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17024,7 +17141,10 @@ Tabellenzellen sind auf den Dezimalpunkt ausgerichtet
 \begin_inset Text
 
 \begin_layout Plain Layout
-68
+\begin_inset Formula $\,68$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17035,7 +17155,10 @@ Tabellenzellen sind auf den Dezimalpunkt ausgerichtet
 \begin_inset Text
 
 \begin_layout Plain Layout
--123.
+\begin_inset Formula $-123\,/$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17044,7 +17167,10 @@ Tabellenzellen sind auf den Dezimalpunkt ausgerichtet
 \begin_inset Text
 
 \begin_layout Plain Layout
-0
+\begin_inset Formula $\,0$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17063,27 +17189,29 @@ Tabellenzellen sind auf den Dezimalpunkt ausgerichtet
 \end_layout
 
 \begin_layout Standard
-Diese Tabelle wurde als 4×2 Tabelle erstellt.
- Die Überschrift ist eine zentrierte Mehrfachspalte.
- Die erste Spalte ist rechtsbündig ausgerichtet und enthält den Vorkommateil
- der Zahlen einschließlich Dezimalpunkt.
- Die zweite Spalte ist linksbündig ausgerichtet und enthält den Nachkommateil
- der Zahlen.
-  Um den Raum zwischen den beiden Spalten zu löschen, wurde im 
-\family sans
-LaTe
-\begin_inset ERT
-status collapsed
+Bei Ausrichtungen bezüglich Zeichen in Formeln ist diese Methode nicht möglich,
+ da das Feld für das Ausrichtungszeichen in den Tabelleneinstellungen keine
+ Formeln erlaubt.
+ In diesem Fall verwendet man die Methode von Tabelle
+\begin_inset space ~
+\end_inset
 
-\begin_layout Plain Layout
 
-{}
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tabellenzellen-Operator"
 
 \end_inset
 
-X-Argument
-\family default
+.
+ Diese Tabelle wurde als 4×2 Tabelle erstellt.
+ Die Überschrift ist eine zentrierte Mehrfachspalte.
+ Die erste Spalte ist rechtsbündig ausgerichtet und enthält den ersten Teil
+ und den Operator.
+ Die zweite Spalte ist linksbündig ausgerichtet und enthält den Rest.
+ Ein kleiner Leerraum wurde zu Beginn jeder Zelle der zweiten Spalte eingefügt,
+ um den üblichen Leerraum um einen Operator zu erhalten.
+ Um den Raum zwischen den beiden Spalten zu löschen, wurde im LaTeX-Argument
  für die zweite Spalte folgendes eingefügt:
 \end_layout
 
@@ -17106,20 +17234,22 @@ reference "tab:Verschiedene-Ausrichtungen"
 \end_inset
 
  zeigt einige Ausrichtungen.
- Für die Ausrichtung der Relationen müssen Sie den 
+ Für die Ausrichtung der Relationen wurde ein kleiner 
 \family sans
-Mittleren
+Leerraum
+\family default
+ eingefügt; wie in der zweiten Spalte von Tabelle
 \begin_inset space ~
 \end_inset
 
-Abstand
-\family default
- aus der 
-\family sans
-Mathe-Werkzeugleiste
-\family default
- am Anfang der letzten Spalte einfügen, um den gleichen Abstand links und
- rechts vom Relationszeichen zu bekommen.
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tabellenzellen-Operator"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Standard
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-Es gibt auch noch das LaTeX-Paket 
-\series bold
-dcolumn
-\series default
-,
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-Pakete ! dcolumn
-\end_layout
-
-\end_inset
-
- mit dem man Zellen ausrichten kann.
- Aber es behandelt den Zelleninhalt als Mathematik und erlaubt keine Formeln
- in den Zellen.
- Die erste Spalte von Tabelle
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Verschiedene-Ausrichtungen"
-
-\end_inset
-
- wird mit 
-\series bold
-dcolumn
-\series default
- wie die erste Spalte von Tabelle
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Ausrichtung-mit-dem"
-
-\end_inset
-
- aussehen und nur mit ein paar Tricks wie erwartet.
- Die Ausrichtung der zweiten und dritten Spalte wie in Tabelle
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Verschiedene-Ausrichtungen"
-
-\end_inset
-
- ist mit 
-\series bold
-dcolumn
-\series default
- nicht möglich.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\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:Ausrichtung-mit-dem"
-
-\end_inset
-
-Ausrichtung mit dem LaTeX-Paket 
-\series bold
-dcolumn
-\series default
-.
- Bei allen Spalten musste getrickst werden, um die gewünschte Ausgabe zu
- bekommen.
-\begin_inset Argument
-status collapsed
-
-\begin_layout Plain Layout
-Ausrichtung mit dem LaTeX-Paket 
-\series bold
-dcolumn
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
-<column alignment="center" valignment="top" width="0" special="D{+}{\,}{9.7}">
-<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Einheiten
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Einheiten
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Einheiten
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-Flaschen
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{Flaschen}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-24+
-\begin_inset Formula $\mbox{Flaschen}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-
-Pixel
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{Pixel}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-768+
-\begin_inset Formula $\mbox{Pixel}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-cm
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-6+
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
index 069dcd4b8647bea16ed5ef4b235ad579fc6f0b59..a4766451e5412bcac0aeddc5ef0ede6245b63f13 100644 (file)
@@ -56,9 +56,6 @@
 % enables calculation of values,
 \usepackage{calc}
 
-% provides special table cell alignments
-\usepackage{dcolumn}
-
 % increase the bottom float placement fraction
 \renewcommand{\bottomfraction}{0.5}
 
@@ -1903,6 +1900,33 @@ tabla
 \family default
  Aquí puedes establecer la alineación horizontal y la anchura de la columna
  actual.
+ La alineación 
+\family sans
+\lang english
+At
+\begin_inset space ~
+\end_inset
+
+Decimal
+\begin_inset space ~
+\end_inset
+
+Separator
+\family default
+ is described in
+\lang spanish
+ sección
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Alineación-especial-de"
+
+\end_inset
+
+.
  Una vez puesta la anchura puedes ajustar también el alineamiento vertical.
  Una anchura determinada permite tener saltos de línea y distintos párrafos
  de texto, véase sección
@@ -16566,6 +16590,13 @@ Más enorme
 
 \begin_layout Subsection
 Alineación especial de celdas
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Alineación-especial-de"
+
+\end_inset
+
+
 \begin_inset Index idx
 status collapsed
 
@@ -16595,11 +16626,132 @@ el separador decimal, como en la tabla
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "tab:Tabla-con-celdas-de"
+reference "tab:Table-cells-align"
 
 \end_inset
 
 .
+\lang english
+This alignment is achieved by highlighting the last 3
+\begin_inset space ~
+\end_inset
+
+cells of the column and then either pressing the toolbar button
+\lang spanish
+\begin_inset Graphics
+       filename ../../images/tabular-feature_align-decimal.png
+       scale 85
+       scaleBeforeRotation
+
+\end_inset
+
+\lang english
+or setting the alignment in the table settings to 
+\family sans
+At
+\begin_inset space ~
+\end_inset
+
+Decimal
+\begin_inset space ~
+\end_inset
+
+Separator
+\family default
+.
+ The alignment character can be a character of your choice and is specified
+ in the table settings.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+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:Table-cells-align"
+
+\end_inset
+
+Ta
+\lang english
+ble cells of a column aligned with the decimal separator.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="1">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="decimal" decimal_point="," valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+leyenda
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+12,6
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0,68
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-123,0
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -16618,7 +16770,11 @@ name "tab:Tabla-con-celdas-de"
 
 \end_inset
 
-Tabla con celdas alineadas con el separador decimal.
+Tabla con celdas alineadas con 
+\lang english
+the operators
+\lang spanish
+.
 \end_layout
 
 \end_inset
@@ -16630,9 +16786,9 @@ Tabla con celdas alineadas con el separador decimal.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="right" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt" special="@{}l">
 <row>
 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
 \begin_inset Text
@@ -16658,7 +16814,10 @@ leyenda
 \begin_inset Text
 
 \begin_layout Plain Layout
-12,
+\begin_inset Formula $12\,+$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16667,7 +16826,10 @@ leyenda
 \begin_inset Text
 
 \begin_layout Plain Layout
-6
+\begin_inset Formula $\,6$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16678,7 +16840,10 @@ leyenda
 \begin_inset Text
 
 \begin_layout Plain Layout
-0,
+\begin_inset Formula $0\,-$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16687,7 +16852,10 @@ leyenda
 \begin_inset Text
 
 \begin_layout Plain Layout
-68
+\begin_inset Formula $\,68$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16698,7 +16866,10 @@ leyenda
 \begin_inset Text
 
 \begin_layout Plain Layout
--123,
+\begin_inset Formula $-123\,/$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16707,7 +16878,10 @@ leyenda
 \begin_inset Text
 
 \begin_layout Plain Layout
-0
+\begin_inset Formula $\,0$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -16726,12 +16900,34 @@ leyenda
 \end_layout
 
 \begin_layout Standard
-Esta es una tabla 4×2.
+
+\lang english
+For alignments at characters in formulas this method does not work because
+ the field to specify the alignment character does not allow formulas.
+ In this case one need to use the method from 
+\lang spanish
+tabla
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tabla-con-celdas-de"
+
+\end_inset
+
+.
+ Esta es una tabla 4×2.
  La leyenda es una multicolumna centrada.
- La primera columna está alineada a la derecha y contiene el punto decimal
- y los dígitos anteriores.
- La segunda columna está alineada a la izquierda y contiene los dígitos
- posteriores al punto decimal.
+ La primera columna está alineada a la derecha y contiene el 
+\lang english
+first part including the operator.
+ The second column is left aligned and contains the rest.
+ A small space was added at the beginning of each cell of the second column
+ to get the space that is usually around operators.
+
+\lang spanish
  Para omitir el espacio que hay normalmente entre dos columnas se ha usado
  el siguiente argumento LaTeX para la segunda columna:
 \end_layout
@@ -16755,9 +16951,22 @@ reference "tab:Varias-alineaciones"
 \end_inset
 
  muestra varios ejemplos de alineación.
- Para alinear con el signo de relación debes añadir el segundo espacio matemátic
-o más pequeño al comienzo de la última columna para conseguir el espacio
- adecuado alrededor del signo.
+ Para alinear con el signo de relación 
+\lang english
+a small space was added like for the second column of
+\lang spanish
+ tabla
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tabla-con-celdas-de"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Standard
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-También hay un paquete LaTeX, 
-\series bold
-dcolumn
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-paquetes ! dcolumn
-\end_layout
-
-\end_inset
-
-, que permite alinear el contenido de las celdas.
- Pero desgraciadamente trata las entradas de celda en modo matemático y
- no permite fórmulas en celdas: la primera columna de la tabla
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Varias-alineaciones"
-
-\end_inset
-
- se verá con 
-\series bold
-dcolumn
-\series default
- como la primera columna en la tabla
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Alineaciones-con-el"
-
-\end_inset
-
- y sólo con algunos trucos se consigue lo que se espera.
- La alineación de la segunda y tercera columnas de la tabla
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Varias-alineaciones"
-
-\end_inset
-
- no es posible con 
-\series bold
-dcolumn
-\series default
-.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\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:Alineaciones-con-el"
-
-\end_inset
-
-
-\begin_inset Argument
-status collapsed
-
-\begin_layout Plain Layout
-Tabla alineada con 
-\series bold
-dcolumn
-\end_layout
-
-\end_inset
-
-Alineaciones con el paquete LaTeX 
-\series bold
-dcolumn
-\series default
-.
- Hay que usar algunos trucos para la alineación de las columnas en la salida.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
-<column alignment="center" valignment="top" width="0" special="D{+}{\,}{9.7}">
-<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-unidades
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-unidades
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-unidades
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-bottles
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{bottles}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times
-\end_layout
-
-\end_inset
-
-24+
-\begin_inset Formula $\mbox{bottles}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-
-Pixels
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{Pixels}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times
-\end_layout
-
-\end_inset
-
-768+
-\begin_inset Formula $\mbox{Pixels}$
-\end_inset
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-cm
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times
-\end_layout
-
-\end_inset
-
-6+
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
index 9c66fea02a1ffa6a5e8b9d4053616e54fe9a6d79..b79cc5739177336ef4050bf0eb24fb8f8a81936d 100644 (file)
@@ -56,9 +56,6 @@
 % enables calculation of values,
 \usepackage{calc}
 
-% provides special table cell alignments
-\usepackage{dcolumn}
-
 % increase the bottom float placement fraction
 \renewcommand{\bottomfraction}{0.5}
 
@@ -2190,6 +2187,33 @@ d'une cellule et sélectionner la cellule elle-même.
 \begin_layout Description
 Tableau Avec cet onglet, vous pouvez choisir l'alignement horizontal et
  la largeur de la colonne courante.
+ L'alignement 
+\family sans
+\lang english
+At
+\begin_inset space ~
+\end_inset
+
+Decimal
+\begin_inset space ~
+\end_inset
+
+Separator
+\family default
+ is described in
+\lang french
+ section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Alignements-de-cellules"
+
+\end_inset
+
+.
  Quand vous avez fixé une largeur, vous pouvez aussi modifier l'alignement
  vertical de la ligne courante.
  Une largeur fixée va permettre aux cellules d'avoir des sauts de lignes
@@ -17019,10 +17043,24 @@ Huger
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsection
 Alignements de cellules spéciaux
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Alignements-de-cellules"
+
+\end_inset
+
+
 \begin_inset Index idx
 status collapsed
 
@@ -17045,11 +17083,44 @@ On peut parfois améliorer l'aspect d'un tableau en alignant le contenu des
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "tab:Tableau-centré-sur-séparateur"
+reference "tab:Tableau-centré-sur-séparateur-1"
 
 \end_inset
 
 .
+\lang english
+This alignment is achieved by highlighting the last 3
+\begin_inset space ~
+\end_inset
+
+cells of the column and then either pressing the toolbar button
+\lang french
+\begin_inset Graphics
+       filename ../../images/tabular-feature_align-decimal.png
+       scale 85
+       scaleBeforeRotation
+
+\end_inset
+
+\lang english
+or setting the alignment in the table settings to 
+\family sans
+At
+\begin_inset space ~
+\end_inset
+
+Decimal
+\begin_inset space ~
+\end_inset
+
+Separator
+\family default
+.
+ The alignment character can be a character of your choice and is specified
+ in the table settings.
 \end_layout
 
 \begin_layout Standard
@@ -17065,7 +17136,7 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "tab:Tableau-centré-sur-séparateur"
+name "tab:Tableau-centré-sur-séparateur-1"
 
 \end_inset
 
@@ -17075,15 +17146,102 @@ Les cellules d'une colonnes sont centrées sur le séparateur décimal.
 \end_inset
 
 
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="1">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="decimal" decimal_point="," valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+en-tête
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+12,6
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0,68
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-123,0
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\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:Tableau-centré-sur-séparateur-2"
+
+\end_inset
+
+Les cellules d'une colonnes sont centrées sur les opérateurs.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Plain Layout
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="right" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt" special="@{}l">
 <row>
 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
 \begin_inset Text
@@ -17109,7 +17267,10 @@ en-tête
 \begin_inset Text
 
 \begin_layout Plain Layout
-12,
+\begin_inset Formula $12\,+$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17118,7 +17279,10 @@ en-tête
 \begin_inset Text
 
 \begin_layout Plain Layout
-6
+\begin_inset Formula $\,6$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17129,7 +17293,10 @@ en-tête
 \begin_inset Text
 
 \begin_layout Plain Layout
-0,
+\begin_inset Formula $0\,-$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17138,7 +17305,10 @@ en-tête
 \begin_inset Text
 
 \begin_layout Plain Layout
-68
+\begin_inset Formula $\,68$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17149,7 +17319,10 @@ en-tête
 \begin_inset Text
 
 \begin_layout Plain Layout
--123,
+\begin_inset Formula $-123\,/$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17158,7 +17331,10 @@ en-tête
 \begin_inset Text
 
 \begin_layout Plain Layout
-0
+\begin_inset Formula $\,0$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17177,12 +17353,34 @@ en-tête
 \end_layout
 
 \begin_layout Standard
-Ce tableau a été créé comme un tableau 4×2.
+
+\lang english
+For alignments at characters in formulas this method does not work because
+ the field to specify the alignment character does not allow formulas.
+ In this case one need to use the method from
+\lang french
+ tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-centré-sur-séparateur-2"
+
+\end_inset
+
+.
+ Ce tableau a été créé comme un tableau 4×2.
  L'en-tête est une cellule multicolonne centrée.
- La première colonne est alignée à droite et contient les chiffres qui se
- trouvent avant la virgule ainsi que la virgule elle-même.
- La deuxième colonne est alignée à gauche et contient les chiffres situés
- après la virgule.
+ La première colonne est alignée à droite et contient le 
+\lang english
+first part including the operator.
+ The second column is left aligned and contains the rest.
+ A small space was added at the beginning of each cell of the second column
+ to get the space that is usually around operators.
+
+\lang french
  Pour éviter l'espace qui est normalement placé entre deux colonnes d'un
  tableau, le paramètre LaTeX suivant 
 \lang english
@@ -17210,9 +17408,22 @@ reference "tab:Plusieurs-exemples-alignements"
 \end_inset
 
  montre quelques exemples d'alignements.
- Pour l'alignement sur l'opérateur de relation, vous devez ajouter le deuxième
- plus petit espace mathématique au début de la dernière colonne pour obtenir
- l'espacement correct autour du signe de relation.
+ Pour l'alignement sur l'opérateur de relation, 
+\lang english
+a small space was added like for the second column of
+\lang french
+ tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-centré-sur-séparateur-2"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Standard
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-Il y a aussi le paquetage LaTeX 
-\series bold
-dcolumn
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Paquetages LaTeX ! dcolumn
-\end_layout
-
-\end_inset
-
- qui fournit des alignements pour les cellules de tableaux.
- Mais malheureusement, il traite le contenu des cellules comme des mathématiques
- et ne permet pas de formules dans les cellules du tableau : Avec 
-\series bold
-dcolumn
-\series default
- la première colonne du tableau
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Plusieurs-exemples-alignements"
-
-\end_inset
-
- ressemblera à la première colonne du tableau
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Alignements-avec-dcolumn"
-
-\end_inset
-
-
-\lang english
- and only with some tricks like the expected.
-\lang french
-On ne peut pas aligner la deuxième et la troisième colonne du tableau
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Plusieurs-exemples-alignements"
-
-\end_inset
-
- avec 
-\series bold
-dcolumn
-\series default
-.
-\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:Alignements-avec-dcolumn"
-
-\end_inset
-
-Alignements quand on utilise le paquetage LaTeX dcolumn.
- Pour toutes les colonnes des astuces d'alignement ont dû être utilisées
- pour obtenir la sortie.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1.0}">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.11}">
-<column alignment="center" valignment="top" width="0" special="D{+}{\,}{9.9}">
-<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-unités
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-unités
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-unités
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-bouteilles
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{bouteilles}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-24+
-\begin_inset Formula $\mbox{bouteilles}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-
-Pixels
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{Pixels}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-768+
-\begin_inset Formula $\mbox{Pixels}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-cm
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-6+
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
index 8545115606e73f244e0656d712542d1131d95062..43ffaaa26633e1e1906b9f16e9c18d327a3a9034 100644 (file)
@@ -62,9 +62,6 @@
 % enables calculation of values,
 \usepackage{calc}
 
-% provides special table cell alignments
-\usepackage{dcolumn}
-
 % increase the bottom float placement fraction
 \renewcommand{\bottomfraction}{0.5}
 
@@ -1649,8 +1646,30 @@ status collapsed
 \family sans
 表の設定
 \family default
- ここでは、現在列の幅と水平揃えを設定することができます。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセ
-ルに入れることができます。これに関しては、第
+ ここでは、現在列の幅と水平揃えを設定することができます。
+\lang english
+The alignment 
+\family sans
+At
+\begin_inset space ~
+\end_inset
+
+Decimal
+\begin_inset space ~
+\end_inset
+
+Separator
+\family default
+ is described in
+\lang japanese
+ 第
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:特殊なセル揃え"
+
+\end_inset
+
+。幅を設定した場合には、現在行の垂直揃えも調整することができます。列幅を与えると、改行や多段落の文章をセルに入れることができます。これに関しては、第
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "sub:複数行"
@@ -15770,6 +15789,13 @@ Huger
 
 \begin_layout Subsection
 特殊なセル揃え
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:特殊なセル揃え"
+
+\end_inset
+
+
 \begin_inset Index idx
 status collapsed
 
@@ -15790,7 +15816,39 @@ reference "tab:表セル"
 
 \end_inset
 
-の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。
+の小数点のように、同一列の各セルの内容が、特定の文字で揃えられた方が見栄えの良いことがあります。 
+\lang english
+This alignment is achieved by highlighting the last 3
+\begin_inset space ~
+\end_inset
+
+cells of the column and then either pressing the toolbar button
+\lang japanese
+\begin_inset Graphics
+       filename ../../images/tabular-feature_align-decimal.png
+       scale 85
+       scaleBeforeRotation
+
+\end_inset
+
+\lang english
+or setting the alignment in the table settings to 
+\family sans
+At
+\begin_inset space ~
+\end_inset
+
+Decimal
+\begin_inset space ~
+\end_inset
+
+Separator
+\family default
+.
+ The alignment character can be a character of your choice and is specified
+ in the table settings.
 \end_layout
 
 \begin_layout Standard
@@ -15816,15 +15874,104 @@ name "tab:表セル"
 \end_inset
 
 
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="1">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="decimal" decimal_point="." valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" 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" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+12.6
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.68
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-123.0
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\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:Table-align-operator"
+
+\end_inset
+
+
+\lang english
+Table cells of a column aligned with the operators.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Plain Layout
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="right" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt" special="@{}l">
 <row>
 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
 \begin_inset Text
@@ -15850,7 +15997,10 @@ name "tab:表セル"
 \begin_inset Text
 
 \begin_layout Plain Layout
-12.
+\begin_inset Formula $12\,+$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -15859,7 +16009,10 @@ name "tab:表セル"
 \begin_inset Text
 
 \begin_layout Plain Layout
-6
+\begin_inset Formula $\,6$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -15870,7 +16023,10 @@ name "tab:表セル"
 \begin_inset Text
 
 \begin_layout Plain Layout
-0.
+\begin_inset Formula $0\,-$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -15879,7 +16035,10 @@ name "tab:表セル"
 \begin_inset Text
 
 \begin_layout Plain Layout
-68
+\begin_inset Formula $\,68$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -15890,7 +16049,10 @@ name "tab:表セル"
 \begin_inset Text
 
 \begin_layout Plain Layout
--123.
+\begin_inset Formula $-123\,/$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -15899,7 +16061,10 @@ name "tab:表セル"
 \begin_inset Text
 
 \begin_layout Plain Layout
-0
+\begin_inset Formula $\,0$
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -15918,8 +16083,32 @@ name "tab:表セル"
 \end_layout
 
 \begin_layout Standard
-この表は4×2表として作成されています。見出しは中央揃えの連結列になっています。第1列には、小数点以上の各桁と小数点が右揃えで収められています。第2列には、小数
-点以下の各桁が左揃えで収められています。通常、表の列間に加えられる余白を削るために、
+
+\lang english
+For alignments at characters in formulas this method does not work because
+ the field to specify the alignment character does not allow formulas.
+ In this case one need to use the method from 
+\lang japanese
+表
+\lang english
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-align-operator"
+
+\end_inset
+
+.
+ This table was created with a 4×2 table.
+ The heading is a centered multicolumn.
+ The first column is right-aligned and contains the first part including
+ the operator.
+ The second column is left aligned and contains the rest.
+ A small space was added at the beginning of each cell of the second column
+ to get the space that is usually around operators.
+
+\lang japanese
+ 第2列には、小数点以下の各桁が左揃えで収められています。通常、表の列間に加えられる余白を削るために、
 \end_layout
 
 \begin_layout Standard
@@ -15940,8 +16129,19 @@ reference "tab:表セル揃え"
 
 \end_inset
 
-は、揃え方の例をいくつか示しています。関係子で揃えを行うには、関係詞の周りに正しい余白を取るために、二番目に小さい数式余白を最終列の初めに加えなくてはなりません
-。
+は、揃え方の例をいくつか示しています。
+\lang english
+For the alignment with the relation sign, a small space was added like for
+ the second column of
+\lang japanese
+ 表
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-align-operator"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Standard
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-表のセルの揃えを取り扱うものには、
-\series bold
-dcolumn
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeXぱっけーじ@LaTeXパッケージ ! dcolumn
-\end_layout
-
-\end_inset
-
- LaTeXパッケージもあります。しかし残念ながら、このパッケージはセルの内容全体を数式として取扱うため、表セル中に数式を入れることはできません。表
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:表セル揃え"
-
-\end_inset
-
-の第1列は、
-\series bold
-dcolumn
-\series default
-では表
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:使用したときの揃え"
-
-\end_inset
-
-の第1列のようになり、ちょっとしたテクニックを使わなければ、期待通りにはなりません。表
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:表セル揃え"
-
-\end_inset
-
-の第2列と第3列のような揃え方は、
-\series bold
-dcolumn
-\series default
-ではできません。
-\begin_inset Newpage newpage
-\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
-
-LaTeXパッケージdcolumnを使用したときの揃えの様子。この出力のようにすべての列を揃えるには、テクニックを用いなくてはなりません。
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
-<column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
-<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-単位
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-単位
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-単位
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24本の瓶
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24本の瓶
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-24+
-\begin_inset Formula $\mbox{本の瓶}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768ピクセル
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768ピクセル
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-768+
-\begin_inset Formula $\mbox{ピクセル}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-cm
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times 
-\end_layout
-
-\end_inset
-
-6+
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection