% used for book-style tables
\usepackage{booktabs}
-% used to have extra space in table cells,
+% used to have extra space in table cells
+\@ifundefined{extrarowheight}
+ {\usepackage{array}}{}
\setlength{\extrarowheight}{2pt}
% used for customized tables
\newcolumntype{W}{!{\color{green}\vline}}
% ---
-% To be able to enter the characters ° and · directly in LyX
-\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
-\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
-
% insert additional vertical space of
% 1.5 mm between footnotes
\let\myFoot\footnote
\bullet 3 2 7 -1
\tracking_changes false
\output_changes false
-\author "usti"
-\author "Bo Peng"
-\author "muso"
-\author "Uwe Stöhr"
+\author ""
+\author ""
\end_header
\begin_body
:
\begin_inset Formula \begin{equation}
-W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
+W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
\end_inset
\end_inset
the LaTeX-argument
-\end_layout
-
-\begin_layout Standard
-
\series bold
-WcW
-\end_layout
-
-\begin_layout Standard
-was used for the last column and
-\end_layout
-
-\begin_layout Standard
-
+ WcW
+\series default
+ was used for the last column and
\series bold
-Wc
-\end_layout
-
-\begin_layout Standard
-for the other columns.
+ Wc
+\series default
+ for the other columns.
\end_layout
\begin_layout Standard
\backslash
renewcommand{
\backslash
-hline}{
+hline}
+\newline
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+hphantom{ }
+\end_layout
+
+\end_inset
+
+{
\backslash
arrayrulecolor{red}
\backslash
\backslash
renewcommand{
\backslash
-hline}{
+hline}
+\end_layout
+
+\begin_layout Standard
+
+ {
\backslash
arrayrulecolor{red}
\backslash
\begin_layout Standard
\begin_inset Float table
+placement h
wide false
sideways false
status open
em space.
For normal tables the inserted space will unfortunately destroy the vertical
table lines as in the following table:
-\begin_inset VSpace defskip
+\begin_inset VSpace medskip
\end_inset
\end_inset
-\begin_inset VSpace defskip
+\begin_inset VSpace medskip
\end_inset
em space.
For normal tables the inserted space will unfortunately destroy the vertical
table lines as in the following table:
-\begin_inset VSpace defskip
+\begin_inset VSpace medskip
\end_inset
\end_inset
-\begin_inset VSpace defskip
+\begin_inset VSpace medskip
\end_inset
\end_layout
\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
When you want to add extra height to all cells of all tables, you can do
- this with the following preamble line:
+ this with the following preamble lines:
\end_layout
\begin_layout Standard
\series bold
+\backslash
+@ifundef\SpecialChar \textcompwordmark{}
+ined{extrarowheight}
+\newline
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+hphantom{ }
+\end_layout
+
+\end_inset
+
+{
+\backslash
+usepackage{array}}{}
+\newline
+
\backslash
setlength{
\backslash
\begin_layout Standard
But this has the disadvantage that the cell texts are no longer exactly
vertically centered.
+ (The package
+\series bold
+array
+\series default
+ will be loaded automatically by LyX when you use self defined table formats.
+ To avoid that it is loaded twice the command
+\series bold
+
+\backslash
+@ifundef\SpecialChar \textcompwordmark{}
+ined
+\series default
+ is used in the above command.)
\end_layout
\begin_layout Subsection
\series bold
\backslash
-floatpagefraction
+f\SpecialChar \textcompwordmark{}
+loatpagefraction
\series default
)
\end_layout
To force a certain rotation direction for all pages, you can add either
the option
\series bold
-figuresleft
+f\SpecialChar \textcompwordmark{}
+iguresleft
\series default
or
\series bold
-figuresright
+f\SpecialChar \textcompwordmark{}
+iguresright
\series default
to the document class options.
\end_layout
\series bold
tablecaptionabove
\series default
-, or you can use the environment
-\family sans
-caption\InsetSpace ~
-above
-\family default
- instead of the
-\family sans
-caption
-\family default
- environment.
+.
\end_layout
\begin_layout Standard
is recognized and printed bold in the output.
\end_layout
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+ If you don't get bold keywords when using typewriter fonts, your typewriter
+ font probably doesn't provide a bold shape.
+ In this case select a different one in the menu
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Fonts
+\family default
+.
+ (The fonts
+\emph on
+LuxiMono, BeraMono
+\emph default
+ and
+\emph on
+Courier
+\emph default
+ provide bold shapes.)
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
In section
\family sans
\series bold
Note:
\series default
- The line numbering is shifted by a line by every previous listing.
+ Due to a bug in the
+\series bold
+listings
+\series default
+ package the line numbering is shifted by a line by every previous listing.
That's the reason why the lines 2 and 5 are numbered in the above listing
and not the lines 3 and 6.
\end_layout
\begin_layout Standard
\begin_inset Formula \begin{equation}
-W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
+W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
\end_inset
\begin_layout Standard
\begin_inset Formula \begin{equation}
-W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
+W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
\end_inset
\begin_layout Standard
\begin_inset Formula \begin{equation}
-W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
+W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
\end_inset