mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-29 15:26:05 +00:00
618a1cbfc8
also some minor adjustment to some files like date and version
334 lines
6.0 KiB
Plaintext
334 lines
6.0 KiB
Plaintext
#LyX 2.3 created this file. For more info see http://www.lyx.org/
|
|
\lyxformat 544
|
|
\begin_document
|
|
\begin_header
|
|
\save_transient_properties true
|
|
\origin /systemlyxdir/examples/de/
|
|
\textclass article
|
|
\begin_preamble
|
|
\usepackage{dcolumn}
|
|
\newcolumntype{d}[1]{D{.}{.}{#1}}
|
|
\end_preamble
|
|
\use_default_options false
|
|
\maintain_unincluded_children false
|
|
\language ngerman
|
|
\language_package default
|
|
\inputencoding iso8859-1
|
|
\fontencoding global
|
|
\font_roman "default" "default"
|
|
\font_sans "default" "default"
|
|
\font_typewriter "default" "default"
|
|
\font_math "auto" "auto"
|
|
\font_default_family default
|
|
\use_non_tex_fonts false
|
|
\font_sc false
|
|
\font_osf false
|
|
\font_sf_scale 100 100
|
|
\font_tt_scale 100 100
|
|
\use_microtype false
|
|
\use_dash_ligatures false
|
|
\graphics default
|
|
\default_output_format default
|
|
\output_sync 0
|
|
\bibtex_command default
|
|
\index_command default
|
|
\paperfontsize default
|
|
\spacing single
|
|
\use_hyperref false
|
|
\papersize a4paper
|
|
\use_geometry false
|
|
\use_package amsmath 1
|
|
\use_package amssymb 1
|
|
\use_package cancel 1
|
|
\use_package esint 1
|
|
\use_package mathdots 1
|
|
\use_package mathtools 1
|
|
\use_package mhchem 1
|
|
\use_package stackrel 1
|
|
\use_package stmaryrd 1
|
|
\use_package undertilde 1
|
|
\cite_engine basic
|
|
\cite_engine_type default
|
|
\biblio_style plain
|
|
\use_bibtopic false
|
|
\use_indices false
|
|
\paperorientation portrait
|
|
\suppress_date false
|
|
\justification true
|
|
\use_refstyle 0
|
|
\use_minted 0
|
|
\index Stichwortverzeichnis
|
|
\shortcut idx
|
|
\color #008000
|
|
\end_index
|
|
\secnumdepth 3
|
|
\tocdepth 3
|
|
\paragraph_separation indent
|
|
\paragraph_indentation default
|
|
\is_math_indent 0
|
|
\math_numbering_side default
|
|
\quotes_style german
|
|
\dynamic_quotes 0
|
|
\papercolumns 1
|
|
\papersides 1
|
|
\paperpagestyle default
|
|
\tracking_changes false
|
|
\output_changes false
|
|
\html_math_output 0
|
|
\html_css_as_file 0
|
|
\html_be_strict false
|
|
\end_header
|
|
|
|
\begin_body
|
|
|
|
\begin_layout Title
|
|
Eine bessere Dezimalpunkt-Ausrichtung
|
|
\end_layout
|
|
|
|
\begin_layout Author
|
|
Übersetzer: Hartmut Haase
|
|
\end_layout
|
|
|
|
\begin_layout Date
|
|
letzte Änderung: 19.
|
|
April 2007
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
Eine Alternative für die Dezimalpunkt-Ausrichtung bietet das Paket
|
|
\family typewriter
|
|
dcolumn
|
|
\family default
|
|
.
|
|
Fügen Sie folgendes zum LateX-Vorspann hinzu:
|
|
\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
|
|
in die Tabelle und fügen in das Feld
|
|
\family sans
|
|
Tabellen-Einstellungen\SpecialChar menuseparator
|
|
LaTe
|
|
\begin_inset ERT
|
|
status collapsed
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
{}
|
|
\end_layout
|
|
|
|
\end_inset
|
|
|
|
X-Argument:
|
|
\family default
|
|
|
|
\series medium
|
|
\shape up
|
|
\emph off
|
|
folgendes ein:
|
|
\end_layout
|
|
|
|
\begin_layout LyX-Code
|
|
d{Anzahl der Dezimalstellen}
|
|
\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 tabularvalignment="middle">
|
|
<column alignment="center" valignment="top" width="0pt">
|
|
<column alignment="right" valignment="top" width="0pt" special="d{4}">
|
|
<row>
|
|
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
Ausdruck
|
|
\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
|
|
Wert
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
</row>
|
|
<row>
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
<cell multicolumn="1" alignment="right" valignment="top" leftline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
3.1416
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
</row>
|
|
<row>
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
<cell alignment="center" valignment="top" leftline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
36.462
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
</row>
|
|
<row>
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
<cell alignment="right" valignment="top" leftline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
80663.
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
</row>
|
|
<row>
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
<cell alignment="center" valignment="top" leftline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
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
|
|
Um die Spalte zu verbreitern, können Sie die Zahl in
|
|
\family typewriter
|
|
d{}
|
|
\family default
|
|
erhöhen.
|
|
Wenn Sie das
|
|
\family sans
|
|
Mehrfachspalte
|
|
\family default
|
|
-Attribut für eine einzelne Zelle setzen, wird die Dezimalpunkt-Ausrichtung
|
|
ausgeschaltet.
|
|
Eine Schwäche dieser Methode ist, daß der Mathe-Modus in Spalten mit Dezimalpun
|
|
kt-Ausrichtung nicht erlaubt ist, wenn das
|
|
\family sans
|
|
Mehrfachspalte
|
|
\family default
|
|
-Attribut nicht gesetzt ist.
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
Diese Methode bietet dieselbe Flexibilität wie das
|
|
\family typewriter
|
|
dcolumn
|
|
\family default
|
|
-Paket.
|
|
Man könnte zum Beispiel das Ausrichtungszeichen ändern oder verschiedene
|
|
Ausrichtungszeichen für verschiedene Spalten definieren, indem man im \SpecialChar LaTeX
|
|
-Vorspann
|
|
Mehrfachspalten-Typen definiert.
|
|
Die Syntax ist die folgende:
|
|
\end_layout
|
|
|
|
\begin_layout LyX-Code
|
|
D{Eingabetrenner}{Ausgabetrenner}{Dezimalstellen}
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
Der interessierte Benutzer sollte sich die
|
|
\family typewriter
|
|
dcolumn
|
|
\family default
|
|
-Dokumentation ansehen.
|
|
\end_layout
|
|
|
|
\end_body
|
|
\end_document
|