Something like this ? If yes, what you need is
- \usepackage{colortbl} in preamble
- |>{\columncolor[gray]{.8}}l| in table->extra-options->special
alignment or whatever the names in your current language.
NOTEs :
- As you want to change only a few lines, you have to use the
multicol options and alignement, and then "manually" manage your borders.
( I never obtain "perfect" result in less than half-an-hour :-)) )
- my example is with lyx 1.1.5. Tables handling changed with
1.1.6, so you may be in trouble reading the file (I didn't test, because
I have a lot of files with tables which must be frozen before I switch.
Can somebody tell me if there is any problem/solution to switch from
1.1.5 to 1.1.6 ? ).
Hope this help.
Alain
On Fri, 2 Feb 2001, R. E. de Lima-Lopes wrote:
> Hi
>
> I need to have some lines of a table with a 10% grey coloured
> background. It would help readers to read it better, since
> the table is
> much too long.
>
> Does anyone hae a cue?
>
> many thanks
>
> []s
> lima-lopes
> --------------------
> R.E. de Lima-Lopes
> [EMAIL PROTECTED]
> GNU/Linux Registered User # 182240
>
>
>
Veuillez noter ma nouvelle adresse "courriel". Merci
PLEASE NOTE my new email address.Thank's
*******************************************************************
* Alain Castera *
* LPNHE - Tour 33 RdC | e-mail : [EMAIL PROTECTED] *
* 4 Place Jussieu | or [EMAIL PROTECTED] *
* 75252 Paris Cedex 05 | Telephone : (+33) 144274187 *
* France | Fax : (+33) 144274638 *
*******************************************************************
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble
\usepackage{colortbl}
\end_preamble
\language francais
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize Default
\paperpackage a4wide
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Standard
\align center \LyXTable
multicol5
5 3 0 0 -1 -1 -1 -1
1 0 0 0
0 1 1 0
1 0 0 0
1 1 0 0
0 1 1 0
2 1 0 "" ""
2 1 0 "" ""
2 1 1 "30mm" ""
0 2 1 0 1 0 1 "" "10mm"
0 8 1 0 1 0 1 "" "90mm"
0 8 1 0 0 0 0 "" "30mm"
1 8 1 0 0 0 1 "" ""
0 8 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
1 2 1 0 0 0 1 "|>{\columncolor[gray]{.8}}l|" ""
2 2 1 0 0 0 0 "" ""
2 2 1 0 0 0 0 "" ""
0 8 1 0 1 0 1 "" "10mm"
0 8 1 1 0 0 1 "" ""
0 8 1 1 0 0 0 "" ""
1 8 1 1 0 0 1 "" ""
0 2 1 1 0 0 0 "" ""
1 8 1 1 0 0 0 "" ""
A
\newline
blah
\newline
blah
\newline
\newline
\newline
\newline
\newline
B
\newline
bluh
\newline
bluh
\newline
\newline
\newline
\layout LaTeX
\layout LaTeX
\the_end