Il 30/05/2011 17:37, Christoph Mayer ha scritto:
Dear all,
I have some trouble to format the following table. I've attached just an
exemplary Version as .lyx-file, since it's a quite complicated table and I
don't know where to search for the reason. The table as shown in Lyx itself is
as I want it to have: I have some multicolumns, multirows. After each
Multicolumn, marked with Section 1, Section 2, and so on, I want to have at
least a normal separation in order to distinguish better between these
sections. It is shown well in Lyx, but during compilation, between the
different Sections, there is no separation anymore visible, which makes the
table much harder to read. Could you please help me with some hints to find out
what went wrong with my table or how the format could be improved?
I'm running Lyx 2.0 under OsX.
thank you very much for your kind help, all the best and a nice evening!
Christoph
Dear Christoph,
I had the very same problem and I have already signaled it as a bug in
the LyX forum.
When you use multirow, some borders disapper.
You can solve by using the old command \multirow as I show in the
attached file (you must also put \usepackage{multirow} in the preamble).
Instead, when you do not have borders, you can use the multirow botton
in LyX.
Francesco
#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass memoir
\begin_preamble
\usepackage{multirow}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\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 Standard
\begin_inset Float table
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset Caption
\begin_layout Plain Layout
Test caption
\begin_inset CommandInset label
LatexCommand label
name "tab:Test-caption"
\end_inset
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\noindent
\align center
\size scriptsize
\begin_inset Tabular
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
def
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
ghi
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
iii
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
abc
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
one
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
two
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
three
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
four
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
five
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
six
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
seven
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
\begin_inset ERT
status open
\begin_layout Plain Layout
\size scriptsize
\backslash
multirow{5}{*}{Section 1}
\end_layout
\end_inset
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
1.1
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
\size scriptsize
\begin_inset Formula $20\pm0.5$
\end_inset
\end_layout
\end_inset
\begin_in