2006-05-05 10:26:53 +00:00
|
|
|
#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
|
2007-07-24 17:45:46 +00:00
|
|
|
\lyxformat 276
|
2005-11-10 14:18:17 +00:00
|
|
|
\begin_document
|
|
|
|
\begin_header
|
|
|
|
\textclass article
|
|
|
|
\begin_preamble
|
|
|
|
\usepackage{dcolumn}
|
|
|
|
\newcolumntype{d}[1]{D{.}{.}{#1}}
|
|
|
|
\end_preamble
|
|
|
|
\language ngerman
|
|
|
|
\inputencoding latin1
|
2007-04-25 20:16:29 +00:00
|
|
|
\font_roman default
|
|
|
|
\font_sans default
|
|
|
|
\font_typewriter default
|
|
|
|
\font_default_family default
|
|
|
|
\font_sc false
|
|
|
|
\font_osf false
|
|
|
|
\font_sf_scale 100
|
|
|
|
\font_tt_scale 100
|
2005-11-10 14:18:17 +00:00
|
|
|
\graphics default
|
|
|
|
\paperfontsize default
|
|
|
|
\spacing single
|
|
|
|
\papersize a4paper
|
|
|
|
\use_geometry false
|
|
|
|
\use_amsmath 0
|
2007-04-25 20:16:29 +00:00
|
|
|
\use_esint 0
|
2005-11-10 14:18:17 +00:00
|
|
|
\cite_engine basic
|
|
|
|
\use_bibtopic false
|
|
|
|
\paperorientation portrait
|
|
|
|
\secnumdepth 3
|
|
|
|
\tocdepth 3
|
|
|
|
\paragraph_separation indent
|
|
|
|
\defskip medskip
|
|
|
|
\quotes_language german
|
|
|
|
\papercolumns 1
|
|
|
|
\papersides 1
|
|
|
|
\paperpagestyle default
|
|
|
|
\tracking_changes false
|
2007-04-25 20:16:29 +00:00
|
|
|
\output_changes false
|
|
|
|
\author "Hartmut Haase" hha4491@atomstromfrei.de
|
2005-11-10 14:18:17 +00:00
|
|
|
\end_header
|
|
|
|
|
|
|
|
\begin_body
|
|
|
|
|
|
|
|
\begin_layout Title
|
|
|
|
Eine bessere Dezimalpunkt-Ausrichtung
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Author
|
2007-04-25 20:16:29 +00:00
|
|
|
Übersetzer: Hartmut Haase
|
2005-11-10 14:18:17 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Date
|
2007-04-25 20:16:29 +00:00
|
|
|
letzte Änderung: 19.
|
|
|
|
April 2007
|
2005-11-10 14:18:17 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2007-04-25 20:16:29 +00:00
|
|
|
Eine Alternative für die Dezimalpunkt-Ausrichtung bietet das Paket
|
2005-11-10 14:18:17 +00:00
|
|
|
\family typewriter
|
|
|
|
dcolumn
|
|
|
|
\family default
|
|
|
|
.
|
2007-04-25 20:16:29 +00:00
|
|
|
Fügen Sie folgendes zum LateX-Vorspann hinzu:
|
2005-11-10 14:18:17 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout LyX-Code
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
usepackage{dcolumn}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout LyX-Code
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
newcolumntype{d}[1]{D{.}{.}{#1}}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Um eine Spalte am Dezimalpunkt auszurichten, machen Sie einen Rechtsklick
|
2007-04-25 20:16:29 +00:00
|
|
|
in die Tabelle und fügen in das Feld
|
2005-11-10 14:18:17 +00:00
|
|
|
\family sans
|
2007-04-25 20:16:29 +00:00
|
|
|
Tabellen-Einstellungen\SpecialChar \menuseparator
|
|
|
|
LaTe
|
2005-11-10 14:18:17 +00:00
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
{}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2007-04-25 20:16:29 +00:00
|
|
|
X-Argument:
|
2005-11-10 14:18:17 +00:00
|
|
|
\family default
|
2007-04-25 20:16:29 +00:00
|
|
|
|
|
|
|
\series medium
|
|
|
|
\shape up
|
|
|
|
\emph off
|
|
|
|
folgendes ein:
|
2005-11-10 14:18:17 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout LyX-Code
|
2007-04-25 20:16:29 +00:00
|
|
|
d{Anzahl der Dezimalstellen}
|
2005-11-10 14:18:17 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
In der folgenden Tabelle ist es
|
|
|
|
\family typewriter
|
|
|
|
d{4}
|
|
|
|
\family default
|
|
|
|
:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset VSpace 0.3cm
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\align center
|
|
|
|
\begin_inset Tabular
|
|
|
|
<lyxtabular version="3" rows="5" columns="2">
|
|
|
|
<features>
|
|
|
|
<column alignment="center" valignment="top" width="0pt">
|
|
|
|
<column alignment="right" valignment="top" leftline="true" width="0pt" special="d{4}">
|
|
|
|
<row bottomline="true">
|
|
|
|
<cell alignment="center" valignment="top" topline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Ausdruck
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Wert
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<cell alignment="center" valignment="top" topline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
<cell multicolumn="1" alignment="right" valignment="top" leftline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
3.1416
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<cell alignment="center" valignment="top" topline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
36.462
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<cell alignment="center" valignment="top" topline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
<cell alignment="right" valignment="top" leftline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
80663.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<cell alignment="center" valignment="top" topline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
1.3402e18
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
</row>
|
|
|
|
</lyxtabular>
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset VSpace 0.3cm
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2007-04-25 20:16:29 +00:00
|
|
|
Um die Spalte zu verbreitern, können Sie die Zahl in
|
2005-11-10 14:18:17 +00:00
|
|
|
\family typewriter
|
|
|
|
d{}
|
|
|
|
\family default
|
2007-04-25 20:16:29 +00:00
|
|
|
erhöhen.
|
2005-11-10 14:18:17 +00:00
|
|
|
Wenn Sie das
|
|
|
|
\family sans
|
2007-04-25 20:16:29 +00:00
|
|
|
Mehrfachspalte
|
2005-11-10 14:18:17 +00:00
|
|
|
\family default
|
2007-04-25 20:16:29 +00:00
|
|
|
-Attribut für eine einzelne Zelle setzen, wird die Dezimalpunkt-Ausrichtung
|
2005-11-10 14:18:17 +00:00
|
|
|
ausgeschaltet.
|
2007-04-25 20:16:29 +00:00
|
|
|
Eine Schwäche dieser Methode ist, daß der Mathe-Modus in Spalten mit Dezimalpun
|
2005-11-10 14:18:17 +00:00
|
|
|
kt-Ausrichtung nicht erlaubt ist, wenn das
|
|
|
|
\family sans
|
2007-04-25 20:16:29 +00:00
|
|
|
Mehrfachspalte
|
2005-11-10 14:18:17 +00:00
|
|
|
\family default
|
|
|
|
-Attribut nicht gesetzt ist.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2007-04-25 20:16:29 +00:00
|
|
|
Diese Methode bietet dieselbe Flexibilität wie das
|
2005-11-10 14:18:17 +00:00
|
|
|
\family typewriter
|
|
|
|
dcolumn
|
|
|
|
\family default
|
|
|
|
-Paket.
|
2007-04-25 20:16:29 +00:00
|
|
|
Man könnte zum Beispiel das Ausrichtungszeichen ändern oder verschiedene
|
|
|
|
Ausrichtungszeichen für verschiedene Spalten definieren, indem man im LaTeX-Vor
|
2005-11-10 14:18:17 +00:00
|
|
|
spann Mehrfachspalten-Typen definiert.
|
|
|
|
Die Syntax ist die folgende:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout LyX-Code
|
2007-04-25 20:16:29 +00:00
|
|
|
D{Eingabetrenner}{Ausgabetrenner}{Dezimalstellen}
|
2005-11-10 14:18:17 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Der interessierte Benutzer sollte sich die
|
|
|
|
\family typewriter
|
|
|
|
dcolumn
|
|
|
|
\family default
|
|
|
|
-Dokumentation ansehen.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_body
|
|
|
|
\end_document
|