problem with dcolumn

2003-01-21 Thread Dipl.-Ing. Robert Sauerbrey
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.

Thanks in advance,

Robert
--
Dipl.-Ing. Robert Sauerbrey
Institut für Chemische Technologie Anorganischer Stoffe
TU Graz
Stremayrgasse 16/III
A-8010 Graz

Tel.:	+43 (0) 316/ 873 8293
Fax.:	+43 (0) 316/ 873 8272
e-mail:	[EMAIL PROTECTED]

#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=1
\clubpenalty=1
\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

problem with dcolumn

2003-01-21 Thread Dipl.-Ing. Robert Sauerbrey
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.

Thanks in advance,

Robert
--
Dipl.-Ing. Robert Sauerbrey
Institut für Chemische Technologie Anorganischer Stoffe
TU Graz
Stremayrgasse 16/III
A-8010 Graz

Tel.:	+43 (0) 316/ 873 8293
Fax.:	+43 (0) 316/ 873 8272
e-mail:	[EMAIL PROTECTED]

#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=1
\clubpenalty=1
\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

problem with dcolumn

2003-01-21 Thread Dipl.-Ing. Robert Sauerbrey
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.

Thanks in advance,

Robert
--
Dipl.-Ing. Robert Sauerbrey
Institut für Chemische Technologie Anorganischer Stoffe
TU Graz
Stremayrgasse 16/III
A-8010 Graz

Tel.:	+43 (0) 316/ 873 8293
Fax.:	+43 (0) 316/ 873 8272
e-mail:	[EMAIL PROTECTED]

#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=1
\clubpenalty=1
\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









\begin_inset Text

\layout Standard

Legierung
\end_inset 


\begin_inset Text

\layout Standard

Bearbeitung
\end_inset 


\begin_inset Text

\layout Standard

E-Modul [GPa]
\end_inset 


\begin_inset Text

\layout Standard


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

 [MPa]
\end_inset 


\begin_inset Text

\layout Standard

\end_inset 




\begin_inset Text

\layout Standard

CP Titan grade 1
\end_inset 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

102.7
\end_inset 


\begin_inset Text

\layout Standard

170
\end_inset 


\begin_inset Text

\layout Standard

\end_inset 




\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 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

102.76
\end_inset 


\begin_inset Text

\layout Standard

75.6
\end_inset 


\begin_inset Text

\layout Standard

\end_inset 




\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 


\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard

1103.4
\end_inset 


\begin_inset Text

\layout Standard

3801.6
\end_inset 


\begin_inset Text

\layout Standard

\end_inset 




\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 


\begin_