EmbeddedObjects.lyx: Add section about longtable alignment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19479 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-08-12 21:30:54 +00:00
parent e54ae72e5f
commit 522f352ac0
3 changed files with 1169 additions and 37 deletions

View File

@ -1,4 +1,4 @@
#LyX 1.5.1 created this file. For more info see http://www.lyx.org/
#LyX 1.5.2svn created this file. For more info see http://www.lyx.org/
\lyxformat 276
\begin_document
\begin_header
@ -4683,6 +4683,372 @@ reference "tab:DiffCaptions"
has for example a footnote.
\end_layout
\begin_layout Subsection
Longtable Alignment
\begin_inset LatexCommand index
name "Longtables ! Alignment"
\end_inset
\end_layout
\begin_layout Standard
Longtables are by default centered.
In contrary to the alignment of the table columns and row, the table alignment
can currently not be changed in the table dialog.
To change the alignment of longtables you have to change the value of the
lengths
\series bold
\backslash
LTleft
\series default
and
\series bold
\backslash
LTright
\series default
by inserting this line as ERT before the corresponding longtable:
\end_layout
\begin_layout Standard
\series bold
\backslash
setlength{
\backslash
LTleft}{value}
\end_layout
\begin_layout Standard
Where the value can have any of the units listed in Table\InsetSpace ~
\begin_inset LatexCommand ref
reference "tab:Units"
\end_inset
.
\series bold
\backslash
LTleft
\series default
controls the horizontal distance from the left page border to the longtable,
\series bold
\backslash
LTright
\series default
the distance from the right side.
The default value for both lengths is
\series bold
\backslash
fill
\series default
, which is in this case the same as an horizontal fill in LyX.
\end_layout
\begin_layout Standard
The following longtable was left-aligned by setting
\series bold
\backslash
LTleft
\series default
to 0\InsetSpace \thinspace{}
pt.
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
setlength{
\backslash
LTleft}{0pt}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
<features islongtable="true">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
1
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
2
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
3
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
4
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
5
\end_layout
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
setlength{
\backslash
LTleft}{
\backslash
fill}
\end_layout
\end_inset
\end_layout
\begin_layout Subsection
Longtable Captions
\begin_inset LatexCommand index
@ -5165,6 +5531,12 @@ name "LaTeX-packages ! hyperref"
\end_inset
\end_layout
\begin_layout Standard
\newpage
\end_layout
\begin_layout Subsubsection
@ -5937,7 +6309,7 @@ asd
\begin_layout Standard
\begin_inset ERT
status open
status collapsed
\begin_layout Standard
@ -9863,6 +10235,12 @@ Franz
\end_inset
\end_layout
\begin_layout Standard
\newpage
\end_layout
\begin_layout Section

View File

@ -4927,6 +4927,374 @@ reference "tab:DiffCaptions"
hat zum Beispiel eine Fußnote.
\end_layout
\begin_layout Subsection
Ausrichtung langer Tabellen
\begin_inset LatexCommand index
name "Tabellen ! lange ! Ausrichtung"
\end_inset
\end_layout
\begin_layout Standard
Lange Tabellen sind standardmäßig zentriert ausgerichtet.
Im Gegensatz zur Ausrichtung von Tabellenspalten und -zeilen kann die Ausrichtu
ng von Tabellen nicht im Tabellen-Dialogfenster geändert werden.
Um die Ausrichtung von langen Tabellen zu ändern, müssen die Werte der
Längen
\series bold
\backslash
LTleft
\series default
und
\series bold
\backslash
LTright
\series default
geändert werden, indem diese Zeile als ERT vor die lange Tabelle eingefügt
wird:
\end_layout
\begin_layout Standard
\series bold
\backslash
setlength{
\backslash
LTleft}{Wert}
\end_layout
\begin_layout Standard
Wobei der Wert eine der in Tabelle\InsetSpace ~
\begin_inset LatexCommand ref
reference "tab:Maßeinheiten"
\end_inset
aufgelisteten Einheiten haben kann.
\series bold
\backslash
LTleft
\series default
legt den horizontalen Abstand vom linken Seitenrand bis zur Tabelle fest,
\series bold
\backslash
LTright
\series default
den Abstand von rechts.
Die Voreinstellung für beide Werte ist
\series bold
\backslash
fill
\series default
, was in diesem Fall gleichbedeutend mit einem variablen horizontalen Abstand
in LyX ist.
\end_layout
\begin_layout Standard
Die folgende lange Tabelle wurde links ausgerichtet, indem
\series bold
\backslash
LTleft
\series default
auf den Wert 0\InsetSpace \thinspace{}
pt gesetzt wurde.
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
setlength{
\backslash
LTleft}{0pt}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
<features islongtable="true">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
1
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
2
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
3
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
4
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
5
\end_layout
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
setlength{
\backslash
LTleft}{
\backslash
fill}
\end_layout
\end_inset
\end_layout
\begin_layout Subsection
Beschriftungen lange Tabellen
\begin_inset LatexCommand index

View File

@ -4609,6 +4609,386 @@ reference "tab:DifEncabezados"
tiene un ejemplo de nota al pie.
\end_layout
\begin_layout Subsection
\lang english
Longtable Alignment
\begin_inset LatexCommand index
name "Tablas Largas ! Alignment"
\end_inset
\end_layout
\begin_layout Standard
\lang english
Longtables are by default centered.
In contrary to the alignment of the table columns and row, the table alignment
can currently not be changed in the table dialog.
To change the alignment of longtables you have to change the value of the
lengths
\series bold
\backslash
LTleft
\series default
and
\series bold
\backslash
LTright
\series default
by inserting this line as ERT before the corresponding longtable:
\end_layout
\begin_layout Standard
\series bold
\lang english
\backslash
setlength{
\backslash
LTleft}{value}
\end_layout
\begin_layout Standard
\lang english
Where the value can have any of the units listed in
\lang spanish
tabla\InsetSpace ~
\begin_inset LatexCommand ref
reference "tab:Unidades"
\end_inset
.
\series bold
\lang english
\backslash
LTleft
\series default
controls the horizontal distance from the left page border to the longtable,
\series bold
\backslash
LTright
\series default
the distance from the right side.
The default value for both lengths is
\series bold
\backslash
fill
\series default
, which is in this case the same as an horizontal fill in LyX.
\end_layout
\begin_layout Standard
\lang english
The following longtable was left-aligned by setting
\series bold
\backslash
LTleft
\series default
to
\lang spanish
0\InsetSpace \thinspace{}
pt.
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
setlength{
\backslash
LTleft}{0pt}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
<features islongtable="true">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
1
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
2
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
3
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
4
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
5
\end_layout
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
s
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Standard
asd
\end_layout
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
setlength{
\backslash
LTleft}{
\backslash
fill}
\end_layout
\end_inset
\end_layout
\begin_layout Subsection
Encabezados en Tablas Largas
\begin_inset LatexCommand index
@ -8271,6 +8651,12 @@ Roberto
\end_inset
\end_layout
\begin_layout Standard
\newpage
\end_layout
\begin_layout Section
@ -9234,7 +9620,38 @@ Lassini
\begin_inset Text
\begin_layout Standard
Giancarlo
Giancarlo, 11.
Fürst von Montecompatri, 11.
Fürst von Sulmona und Vivaro, 10.
Fürst von Rossano, 5.
Herzog von Canemorte, 11.
Herzog von Palombara, 5.
Herzog von Castelchiodato,
\begin_inset ERT
status collapsed
\begin_layout Standard
& 111
\backslash
\backslash
\end_layout
\begin_layout Standard
&
\end_layout
\end_inset
11.
Herzog von Poggionativo, 11.
Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
Graf von Valinfreda, 11.
Baron von Cropalati, 11.
Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
\end_layout
\end_inset
@ -9243,7 +9660,7 @@ Giancarlo
\begin_inset Text
\begin_layout Standard
111
\end_layout
\end_inset
@ -9482,38 +9899,7 @@ Rizzardi
\begin_inset Text
\begin_layout Standard
Paolo, 11.
Fürst von Montecompatri, 11.
Fürst von Sulmona und Vivaro, 10.
Fürst von Rossano, 5.
Herzog von Canemorte, 11.
Herzog von Palombara, 5.
Herzog von Castelchiodato,
\begin_inset ERT
status collapsed
\begin_layout Standard
& 111
\backslash
\backslash
\end_layout
\begin_layout Standard
&
\end_layout
\end_inset
11.
Herzog von Poggionativo, 11.
Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
Graf von Valinfreda, 11.
Baron von Cropalati, 11.
Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
Paolo
\end_layout
\end_inset
@ -9522,7 +9908,7 @@ status collapsed
\begin_inset Text
\begin_layout Standard
111
\end_layout
\end_inset