Hi.

I got some troubles with tables. 

First (and maybe this explains everything) I am a bit puzzled by the
documentation (v1.0 pre 2 and 1.0.1). It is said that it is possible
to work on cells selection. But how do you select cells in a
column ? Selecting by the left button of the mouse selects text
"sequentially", from wherever you start to next cells in the same 
row, then the next row and so on (Hum, not clear. I mean : if your table
is

a b c
d e f
g h i

you cannot select (b e h) but (b c d e f g h) like in plain text)
It is also said that you can customize a given cell borders by setting
the multicolumn option. This seems to work for top and bottom borders, not
for vertical ones (the whole column is affected).

The second point is closely related to this, and describe a "feature",
also I don't know where it is : I wanted to get 2 tables side by side in a
table float (crazy, I agree), each one with a sub caption (see attached
files). As I didn't succeed, I created one table, using multicolumn to
play with the borders. The fact is that I got (I don't know how, playing
with the table pop-up) a correct result for the first "subcaption, but not
for the second (a border on the left remains, right disappears ok). Note
that the result is "correct" in the output, not on the screen.

To obtain the expected ouput, I edited the generated tex file : 2 lines
before "\end{tabular} I changed 
                   \multicolumn{1}{c|}{~}&
to
                   \multicolumn{1}{c}{~}&


This is a poor workaround as it supposes to work outside Lyx, and to to
the job every time you modify the lyx file.


May be I am not supposed to do things like this. In this case, could you
help me to do it "properly" ? In all cases, the behavior is strange, also
the problem is not serious, and if this could help you in investigating
the "dark corner"....

Thanks for listening, and many thanks for your great job.

        Alain

P.S. : I remember that I am supposed to send some layouts and comments on
the documentation. I started to work on Elsevier class (elsart.cls) and
letter (based on a very nice letter class from Observatoire de Geneve),
but this is still pending as I got lots of other activities in the
meanwhile. The last project is interesting because I tried to get rid of
imposed ordering of letter parts (he, WYSIWYG is not so bad from time to
time), and this implies a lot of latex code in the layout.

I apologize.

 *******************************************************************
 *        Alain Castera                                            *
 * LPNHE - Tour 33 RdC           | e-mail : [EMAIL PROTECTED]*
 * 4 Place Jussieu               | Telephone :     (+33) 144274187 *
 * 75252 Paris Cedex 05          | Fax :           (+33) 144274638 *
 * France                        |                                 *
 *******************************************************************
#This file was created by <castera> Fri Apr 23 14:26:17 1999
#LyX 1.0 (C) 1995-1998 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

\begin_float tab 
\layout Standard
\align center \LyXTable
multicol5
8 5 0 0 -1 -1 -1 -1
1 1 0 0
0 1 0 0
0 1 0 0
0 1 0 0
0 1 0 0
0 1 0 0
0 1 0 0
0 0 0 0
8 1 0 "" ""
8 1 1 "" ""
8 0 0 "" ""
8 1 0 "" ""
8 1 1 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
1 8 0 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
1 8 0 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
1 8 0 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
1 8 0 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
1 8 0 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
1 8 0 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
1 8 0 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
1 8 0 0 0 0 0 "c" ""
2 8 1 0 0 0 0 "" ""
1 8 0 0 0 0 0 "" ""
1 8 0 0 0 0 0 "c" ""
2 8 0 0 0 0 0 "" ""


\size small 
BlockLength = 172
\newline 
1 LongWord
\newline 

\size default 

\protected_separator 

\newline 

\size small 
BlockLength = 320
\newline 
1 LongWord
\newline 
version = 0
\newline 
1 LongWord
\newline 

\size default 

\protected_separator 

\newline 

\size small 
version = 0
\newline 
1 LongWord
\newline 
BbLSBLOCKS = 2
\newline 
1 LongWord
\newline 

\size default 

\protected_separator 

\newline 

\size small 
BbLSBLOCKS = 2
\newline 
1 LongWord
\newline 
HeaderLength = 16
\newline 
1 LongWord
\newline 

\size default 

\protected_separator 

\newline 

\size small 
HeaderLength = 16
\newline 
1 LongWord
\newline 
LSC message
\newline 
150 bytes
\newline 

\size default 

\protected_separator 

\newline 

\size small 
LSC message
\size default 
 1
\size small 

\newline 
150 bytes
\newline 
padding =00
\newline 
1 word
\newline 

\size default 

\protected_separator 

\newline 

\size small 
LSC message 2
\newline 
150 bytes
\newline 
0x1ABCDEF2
\newline 
1 LongWord
\newline 

\size default 

\protected_separator 

\newline 

\size small 
0x1ABCDEF2
\newline 
1 LongWord
\newline 
1 single LSC message in the block
\size default 

\newline 

\protected_separator 

\newline 

\size small 
 2 LSC messages in the same block
\layout Caption


\begin_inset LatexCommand \label{BbLSBLOCKSMess}

\end_inset 

Examples of BbLSBLOCKS messages in version 0
\end_float 
 
\the_end
%% This LaTeX-file was created by <castera> Fri Apr 23 14:26:34 1999
%% LyX 1.0 (C) 1995-1998 by Matthias Ettrich and the LyX Team

%% Do not edit this file unless you know what you are doing.
\documentclass{article}

\makeatletter


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\spacefactor1000}

\makeatother

\begin{document}

\begin{table}
{\centering \begin{tabular}{|c|c|c|c|c|}
\cline{1-1} \cline{2-2} \cline{4-4} \cline{5-5} 
{\small BlockLength = 172}&
{\small 1 LongWord}&
\multicolumn{1}{c|}{~}&
{\small BlockLength = 320}&
{\small 1 LongWord}\\
\cline{1-1} \cline{2-2} \cline{4-4} \cline{5-5} 
{\small version = 0}&
{\small 1 LongWord}&
\multicolumn{1}{c|}{~}&
{\small version = 0}&
{\small 1 LongWord}\\
\cline{1-1} \cline{2-2} \cline{4-4} \cline{5-5} 
{\small BbLSBLOCKS = 2}&
{\small 1 LongWord}&
\multicolumn{1}{c|}{~}&
{\small BbLSBLOCKS = 2}&
{\small 1 LongWord}\\
\cline{1-1} \cline{2-2} \cline{4-4} \cline{5-5} 
{\small HeaderLength = 16}&
{\small 1 LongWord}&
\multicolumn{1}{c|}{~}&
{\small HeaderLength = 16}&
{\small 1 LongWord}\\
\cline{1-1} \cline{2-2} \cline{4-4} \cline{5-5} 
{\small LSC message}&
{\small 150 bytes}&
\multicolumn{1}{c|}{~}&
{\small LSC message} 1{\small }&
{\small 150 bytes}\\
\cline{1-1} \cline{2-2} \cline{4-4} \cline{5-5} 
{\small padding =00}&
{\small 1 word}&
\multicolumn{1}{c|}{~}&
{\small LSC message 2}&
{\small 150 bytes}\\
\cline{1-1} \cline{2-2} \cline{4-4} \cline{5-5} 
{\small 0x1ABCDEF2}&
{\small 1 LongWord}&
\multicolumn{1}{c|}{~}&
{\small 0x1ABCDEF2}&
{\small 1 LongWord}\\
\cline{1-1} \cline{2-2} \cline{4-4} \cline{5-5} 
\multicolumn{2}{c}{{\small 1 single LSC message in the block}}&
\multicolumn{1}{c|}{~}&
\multicolumn{2}{c}{ {\small 2 LSC messages in the same block}}\\
\end{tabular}\small \par}


\caption{\label{BbLSBLOCKSMess}Examples of BbLSBLOCKS messages in version 0}
\end{table}  

\end{document}

Reply via email to