Dipl.-Ing. Robert Sauerbrey schrieb:
Hi there!

I have a rather strange problem with the package dcolumn, which I could only track down after some frustrating hours of work. It´s no problem to correctly align the values on the decimal point in the middle of the column and view the result with Acrobat Reader AS LONG as the font size remains on normal. If I change this to an arbitrarily chosen size, e.g. big or small, I get a pretty amount of errors while trying to convert to PDF.

For example I get something like this:

missing } inserted

{footnotesize 104.1}

I have no ideas left, what might be wrong (sigh). I´m running Lyx 1.2.2 on Windows XP SP1. I´ve added an example file which demontrates this problem. Font size is on the default setting "normal" at the moment, but if changed, the errors start coming in low.
attached the running file. Look into the preamble,
I changed the newcolumntype and commented out
two commands, which are unknown to me (maybe that
they are part of komascript(???)

Herbert



--
http://www.educat.hu-berlin.de/~voss/lyx/
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass scrbook
\begin_preamble
\@addtoreset{equation}{chapter}
\renewcommand{\theequation}{\thechapter.\arabic{equation}}
\@addtoreset{table}{chapter}
\renewcommand{\thetable}{\thechapter.\arabic{table}}
\@addtoreset{figure}{chapter}
\renewcommand{\thefigure}{\thechapter.\arabic{figure}}
%\renewcommand{\sectfont}{\rmfamily\bfseries}
%\setlength{\abovecaptionskip}{0.2cm} % 1cm as an example
%\setlength{\belowcaptionskip}{0.2cm} % 1cm as an example
\renewcommand\arraystretch{1.5} % 1.0 ist Normalabstand für Tabelle
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\thechapter\ #1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\it{\thesection\ #1}}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\leftmark}
\fancypagestyle{plain}{%
 \fancyfoot{}
 \fancyhead[LE,RO]{\thepage} % get rid of headers
}
\renewcommand\headrulewidth{0pt}
\renewcommand\footrulewidth{0pt}
\widowpenalty=10000
\clubpenalty=10000
\usepackage{pdflscape}
\usepackage{color}
\definecolor{darkred}{rgb}{0.5,0,0}
\definecolor{darkgreen}{rgb}{0,0.4,0.3}
\definecolor{darkblue}{rgb}{0,0,0.5}
\usepackage{ccaption} % that is double c
\captionnamefont{\bfseries}
\captiontitlefont{\it} 
\usepackage{array}
\usepackage{dcolumn}
\newcolumntype{.}[1]{D{.}{.}{-1}}
\usepackage{hyperref}
\end_preamble
\language german
\inputencoding auto
\fontscheme pslatex
\graphics default
\float_placement htb
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle fancy

\layout Standard


\begin_inset Float table
wide false
collapsed false

\layout Caption

Test 
\layout Standard


\begin_inset  Tabular
<lyxtabular version="3" rows="6" columns="5">
<features>
<column alignment="left" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" 
width="0pt" special=".{3}">
<column alignment="center" valignment="top" leftline="true" rightline="true" 
width="0pt" special=".{3}">
<column alignment="center" valignment="top" leftline="true" rightline="true" 
width="0pt" special=".{3}">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

Legierung
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

Bearbeitung
\end_inset 
</cell>
<cell multicolumn="1" alignment="center" valignment="top" topline="true" 
bottomline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

E-Modul [GPa]
\end_inset 
</cell>
<cell multicolumn="1" alignment="center" valignment="top" topline="true" 
bottomline="true" rightline="true" usebox="none">
\begin_inset Text

\layout Standard


\begin_inset Formula $\sigma _{S}$
\end_inset 

 [MPa]
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
rightline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

CP Titan grade 1
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

102.7
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

170
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard


\family roman 
\series medium 
\shape up 
\size normal 
\emph off 
\bar no 
\noun off 
\color none
CP Titan grade 
\family default 
\series default 
\shape default 
\size default 
\emph default 
\bar default 
\noun default 
\color default
2
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

102.76
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

75.6
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard


\family roman 
\series medium 
\shape up 
\size normal 
\emph off 
\bar no 
\noun off 
\color none
CP Titan grade 
\family default 
\series default 
\shape default 
\size default 
\emph default 
\bar default 
\noun default 
\color default
3
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

1103.4
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

3801.6
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard


\family roman 
\series medium 
\shape up 
\size normal 
\emph off 
\bar no 
\noun off 
\color none
CP Titan grade 
\family default 
\series default 
\shape default 
\size default 
\emph default 
\bar default 
\noun default 
\color default
4
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

104.1
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

458.1
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

Ti-6Al-4V ELI
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

annealed
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

101
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

795-875
\end_inset 
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text

\layout Standard

\end_inset 
</cell>
</row>
</lyxtabular>

\end_inset 


\end_inset 


\the_end

Reply via email to