SV: Use of \definecolor in the preamble

2009-01-18 Thread Ingar Pareliussen
 
I know, it's not that old, but I need some tip about this cause it's a
pity to leave out of a document-tutorial the colorful column.

I though you made it work by removing the apostrophes? :) This
workes for me:

\usepackage{colortbl}
\definecolor{111}{rgb}{0.9,0,0.3}
\definecolor{112}{rgb}{1,0,0}
\definecolor{121}{rgb}{0.8,0.3,0.9}
\definecolor{122}{rgb}{0.8,0,0}
\definecolor{123}{rgb}{0.9,0.8,0.8}

\begin{tabular}{ccc}
 \cellcolor{112}112   \cellcolor{111}111   \cellcolor{121}121\tabularnewline
 \cellcolor{123}123   \cellcolor{122}122   \cellcolor{111}111\tabularnewline
\end{tabular}

Ingar


Re: SV: Use of \definecolor in the preamble

2009-01-18 Thread Nikos Alexandris
On Sun, 2009-01-18 at 09:48 +0100, Ingar Pareliussen wrote:
 I know, it's not that old, but I need some tip about this cause it's a
 pity to leave out of a document-tutorial the colorful column.
 
 I though you made it work by removing the apostrophes? :) This
 workes for me:
 
 \usepackage{colortbl}
 \definecolor{111}{rgb}{0.9,0,0.3}
 \definecolor{112}{rgb}{1,0,0}
 \definecolor{121}{rgb}{0.8,0.3,0.9}
 \definecolor{122}{rgb}{0.8,0,0}
 \definecolor{123}{rgb}{0.9,0.8,0.8}
 
 \begin{tabular}{ccc}
  \cellcolor{112}112   \cellcolor{111}111   \cellcolor{121}121\tabularnewline
  \cellcolor{123}123   \cellcolor{122}122   \cellcolor{111}111\tabularnewline
 \end{tabular}
 
 Ingar

Hmm... !?? It works :-) Sorry for the extra-mail.
Cheers, Nikos



SV: Use of \definecolor in the preamble

2009-01-18 Thread Ingar Pareliussen
 
I know, it's not that old, but I need some tip about this cause it's a
pity to leave out of a document-tutorial the colorful column.

I though you made it work by removing the apostrophes? :) This
workes for me:

\usepackage{colortbl}
\definecolor{111}{rgb}{0.9,0,0.3}
\definecolor{112}{rgb}{1,0,0}
\definecolor{121}{rgb}{0.8,0.3,0.9}
\definecolor{122}{rgb}{0.8,0,0}
\definecolor{123}{rgb}{0.9,0.8,0.8}

\begin{tabular}{ccc}
 \cellcolor{112}112   \cellcolor{111}111   \cellcolor{121}121\tabularnewline
 \cellcolor{123}123   \cellcolor{122}122   \cellcolor{111}111\tabularnewline
\end{tabular}

Ingar


Re: SV: Use of \definecolor in the preamble

2009-01-18 Thread Nikos Alexandris
On Sun, 2009-01-18 at 09:48 +0100, Ingar Pareliussen wrote:
 I know, it's not that old, but I need some tip about this cause it's a
 pity to leave out of a document-tutorial the colorful column.
 
 I though you made it work by removing the apostrophes? :) This
 workes for me:
 
 \usepackage{colortbl}
 \definecolor{111}{rgb}{0.9,0,0.3}
 \definecolor{112}{rgb}{1,0,0}
 \definecolor{121}{rgb}{0.8,0.3,0.9}
 \definecolor{122}{rgb}{0.8,0,0}
 \definecolor{123}{rgb}{0.9,0.8,0.8}
 
 \begin{tabular}{ccc}
  \cellcolor{112}112   \cellcolor{111}111   \cellcolor{121}121\tabularnewline
  \cellcolor{123}123   \cellcolor{122}122   \cellcolor{111}111\tabularnewline
 \end{tabular}
 
 Ingar

Hmm... !?? It works :-) Sorry for the extra-mail.
Cheers, Nikos



SV: Use of \definecolor in the preamble

2009-01-18 Thread Ingar Pareliussen
 
>I know, it's not that old, but I need some tip about this cause it's a
>pity to leave out of a document-tutorial the colorful column.

I though you made it work by removing the apostrophes? :) This
workes for me:

\usepackage{colortbl}
\definecolor{111}{rgb}{0.9,0,0.3}
\definecolor{112}{rgb}{1,0,0}
\definecolor{121}{rgb}{0.8,0.3,0.9}
\definecolor{122}{rgb}{0.8,0,0}
\definecolor{123}{rgb}{0.9,0.8,0.8}

\begin{tabular}{ccc}
 \cellcolor{112}112 &  \cellcolor{111}111 &  \cellcolor{121}121\tabularnewline
 \cellcolor{123}123 &  \cellcolor{122}122 &  \cellcolor{111}111\tabularnewline
\end{tabular}

Ingar


Re: SV: Use of \definecolor in the preamble

2009-01-18 Thread Nikos Alexandris
On Sun, 2009-01-18 at 09:48 +0100, Ingar Pareliussen wrote:
> >I know, it's not that old, but I need some tip about this cause it's a
> >pity to leave out of a document-tutorial the colorful column.
> 
> I though you made it work by removing the apostrophes? :) This
> workes for me:
> 
> \usepackage{colortbl}
> \definecolor{111}{rgb}{0.9,0,0.3}
> \definecolor{112}{rgb}{1,0,0}
> \definecolor{121}{rgb}{0.8,0.3,0.9}
> \definecolor{122}{rgb}{0.8,0,0}
> \definecolor{123}{rgb}{0.9,0.8,0.8}
> 
> \begin{tabular}{ccc}
>  \cellcolor{112}112 &  \cellcolor{111}111 &  \cellcolor{121}121\tabularnewline
>  \cellcolor{123}123 &  \cellcolor{122}122 &  \cellcolor{111}111\tabularnewline
> \end{tabular}
> 
> Ingar

Hmm... !?? It works :-) Sorry for the extra-mail.
Cheers, Nikos



Re: Use of \definecolor in the preamble

2009-01-17 Thread Nikos Alexandris
I know, it's not that old, but I need some tip about this cause it's a
pity to leave out of a document-tutorial the colorful column.

So, please accept my apologies for BUMPing ;-)

On Fri, 2009-01-16 at 22:23 +0100, Nikos Alexandris wrote:
 On Fri, 2009-01-16 at 22:22 +0100, Nikos Alexandris wrote:
  Hi list.
  
  (Using LyX 1.6 under Ubuntu II 64-bit).
  
  I want to color some cells in a table. For this I am trying to define
  the following in the preamble:
  \usepackage{colortbl}
 
 
  \definecolor{'111'}{rgb}{0.9,0,0.3}
 # Ooops, that ^^ is {111} and not {'111'}. Sorry :-)
 
  \definecolor{112}{rgb}{1,0,0}
  \definecolor{121}{rgb}{0.8,0.3,0.9}
  \definecolor{122}{rgb}{0.8,0,0}
  \definecolor{123}{rgb}{0.9,0.8,0.8}
  \definecolor{124}{rgb}{0.9,0.8,0.9}
  # [...] a longer list actually of various red,green,blue combinations
  
  
  Then, I use ERTs in a table's cells like
  \cellcolor{111}
  
  The table's column in which I use the ERT's include only numbers (in
  fact, the numbers correspond exactly to the number I use in the preamble
  with \definecolor. The next column includes greek labels (=simply
  greek text).
  
  When I try to pre-view the document I read:
  
  Error:
  LaTeX Error: Undefined color `{111}'.
  
  Description:
  \cellcolor{{111}}111 
  \textgreek{Suneq\char160c} \textgreek{...
  
  Could someone give me a hint to the right direction?
  Kind regards, Nikos




Re: Use of \definecolor in the preamble

2009-01-17 Thread Nikos Alexandris
I know, it's not that old, but I need some tip about this cause it's a
pity to leave out of a document-tutorial the colorful column.

So, please accept my apologies for BUMPing ;-)

On Fri, 2009-01-16 at 22:23 +0100, Nikos Alexandris wrote:
 On Fri, 2009-01-16 at 22:22 +0100, Nikos Alexandris wrote:
  Hi list.
  
  (Using LyX 1.6 under Ubuntu II 64-bit).
  
  I want to color some cells in a table. For this I am trying to define
  the following in the preamble:
  \usepackage{colortbl}
 
 
  \definecolor{'111'}{rgb}{0.9,0,0.3}
 # Ooops, that ^^ is {111} and not {'111'}. Sorry :-)
 
  \definecolor{112}{rgb}{1,0,0}
  \definecolor{121}{rgb}{0.8,0.3,0.9}
  \definecolor{122}{rgb}{0.8,0,0}
  \definecolor{123}{rgb}{0.9,0.8,0.8}
  \definecolor{124}{rgb}{0.9,0.8,0.9}
  # [...] a longer list actually of various red,green,blue combinations
  
  
  Then, I use ERTs in a table's cells like
  \cellcolor{111}
  
  The table's column in which I use the ERT's include only numbers (in
  fact, the numbers correspond exactly to the number I use in the preamble
  with \definecolor. The next column includes greek labels (=simply
  greek text).
  
  When I try to pre-view the document I read:
  
  Error:
  LaTeX Error: Undefined color `{111}'.
  
  Description:
  \cellcolor{{111}}111 
  \textgreek{Suneq\char160c} \textgreek{...
  
  Could someone give me a hint to the right direction?
  Kind regards, Nikos




Re: Use of \definecolor in the preamble

2009-01-17 Thread Nikos Alexandris
I know, it's not that old, but I need some tip about this cause it's a
pity to leave out of a document-tutorial the colorful column.

So, please accept my apologies for BUMPing ;-)

On Fri, 2009-01-16 at 22:23 +0100, Nikos Alexandris wrote:
> On Fri, 2009-01-16 at 22:22 +0100, Nikos Alexandris wrote:
> > Hi list.
> > 
> > (Using LyX 1.6 under Ubuntu II 64-bit).
> > 
> > I want to color some cells in a table. For this I am trying to define
> > the following in the preamble:
> > \usepackage{colortbl}
> 
> 
> > \definecolor{'111'}{rgb}{0.9,0,0.3}
> # Ooops, that ^^ is {111} and not {'111'}. Sorry :-)
> 
> > \definecolor{112}{rgb}{1,0,0}
> > \definecolor{121}{rgb}{0.8,0.3,0.9}
> > \definecolor{122}{rgb}{0.8,0,0}
> > \definecolor{123}{rgb}{0.9,0.8,0.8}
> > \definecolor{124}{rgb}{0.9,0.8,0.9}
> > # [...] a longer list actually of various red,green,blue combinations
> > 
> > 
> > Then, I use ERTs in a table's cells like
> > \cellcolor{111}
> > 
> > The table's column in which I use the ERT's include only numbers (in
> > fact, the numbers correspond exactly to the number I use in the preamble
> > with "\definecolor". The next column includes greek labels (=simply
> > greek text).
> > 
> > When I try to pre-view the document I read:
> > 
> > Error:
> > LaTeX Error: Undefined color `{111}'.
> > 
> > Description:
> > \cellcolor{{111}}111 &
> > \textgreek{Suneq\char160c} \textgreek{...
> > 
> > Could someone give me a hint to the right direction?
> > Kind regards, Nikos




Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
Hi list.

(Using LyX 1.6 under Ubuntu II 64-bit).

I want to color some cells in a table. For this I am trying to define
the following in the preamble:
\usepackage{colortbl}

\definecolor{'111'}{rgb}{0.9,0,0.3}
\definecolor{112}{rgb}{1,0,0}
\definecolor{121}{rgb}{0.8,0.3,0.9}
\definecolor{122}{rgb}{0.8,0,0}
\definecolor{123}{rgb}{0.9,0.8,0.8}
\definecolor{124}{rgb}{0.9,0.8,0.9}
# [...] a longer list actually of various red,green,blue combinations


Then, I use ERTs in a table's cells like
\cellcolor{111}

The table's column in which I use the ERT's include only numbers (in
fact, the numbers correspond exactly to the number I use in the preamble
with \definecolor. The next column includes greek labels (=simply
greek text).

When I try to pre-view the document I read:

Error:
LaTeX Error: Undefined color `{111}'.

Description:
\cellcolor{{111}}111 
\textgreek{Suneq\char160c} \textgreek{...

Could someone give me a hint to the right direction?
Kind regards, Nikos



Re: Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
On Fri, 2009-01-16 at 22:22 +0100, Nikos Alexandris wrote:
 Hi list.
 
 (Using LyX 1.6 under Ubuntu II 64-bit).
 
 I want to color some cells in a table. For this I am trying to define
 the following in the preamble:
 \usepackage{colortbl}


 \definecolor{'111'}{rgb}{0.9,0,0.3}
# Ooops, that ^^ is {111} and not {'111'}. Sorry :-)

 \definecolor{112}{rgb}{1,0,0}
 \definecolor{121}{rgb}{0.8,0.3,0.9}
 \definecolor{122}{rgb}{0.8,0,0}
 \definecolor{123}{rgb}{0.9,0.8,0.8}
 \definecolor{124}{rgb}{0.9,0.8,0.9}
 # [...] a longer list actually of various red,green,blue combinations
 
 
 Then, I use ERTs in a table's cells like
 \cellcolor{111}
 
 The table's column in which I use the ERT's include only numbers (in
 fact, the numbers correspond exactly to the number I use in the preamble
 with \definecolor. The next column includes greek labels (=simply
 greek text).
 
 When I try to pre-view the document I read:
 
 Error:
 LaTeX Error: Undefined color `{111}'.
 
 Description:
 \cellcolor{{111}}111 
 \textgreek{Suneq\char160c} \textgreek{...
 
 Could someone give me a hint to the right direction?
 Kind regards, Nikos
 




Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
Hi list.

(Using LyX 1.6 under Ubuntu II 64-bit).

I want to color some cells in a table. For this I am trying to define
the following in the preamble:
\usepackage{colortbl}

\definecolor{'111'}{rgb}{0.9,0,0.3}
\definecolor{112}{rgb}{1,0,0}
\definecolor{121}{rgb}{0.8,0.3,0.9}
\definecolor{122}{rgb}{0.8,0,0}
\definecolor{123}{rgb}{0.9,0.8,0.8}
\definecolor{124}{rgb}{0.9,0.8,0.9}
# [...] a longer list actually of various red,green,blue combinations


Then, I use ERTs in a table's cells like
\cellcolor{111}

The table's column in which I use the ERT's include only numbers (in
fact, the numbers correspond exactly to the number I use in the preamble
with \definecolor. The next column includes greek labels (=simply
greek text).

When I try to pre-view the document I read:

Error:
LaTeX Error: Undefined color `{111}'.

Description:
\cellcolor{{111}}111 
\textgreek{Suneq\char160c} \textgreek{...

Could someone give me a hint to the right direction?
Kind regards, Nikos



Re: Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
On Fri, 2009-01-16 at 22:22 +0100, Nikos Alexandris wrote:
 Hi list.
 
 (Using LyX 1.6 under Ubuntu II 64-bit).
 
 I want to color some cells in a table. For this I am trying to define
 the following in the preamble:
 \usepackage{colortbl}


 \definecolor{'111'}{rgb}{0.9,0,0.3}
# Ooops, that ^^ is {111} and not {'111'}. Sorry :-)

 \definecolor{112}{rgb}{1,0,0}
 \definecolor{121}{rgb}{0.8,0.3,0.9}
 \definecolor{122}{rgb}{0.8,0,0}
 \definecolor{123}{rgb}{0.9,0.8,0.8}
 \definecolor{124}{rgb}{0.9,0.8,0.9}
 # [...] a longer list actually of various red,green,blue combinations
 
 
 Then, I use ERTs in a table's cells like
 \cellcolor{111}
 
 The table's column in which I use the ERT's include only numbers (in
 fact, the numbers correspond exactly to the number I use in the preamble
 with \definecolor. The next column includes greek labels (=simply
 greek text).
 
 When I try to pre-view the document I read:
 
 Error:
 LaTeX Error: Undefined color `{111}'.
 
 Description:
 \cellcolor{{111}}111 
 \textgreek{Suneq\char160c} \textgreek{...
 
 Could someone give me a hint to the right direction?
 Kind regards, Nikos
 




Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
Hi list.

(Using LyX 1.6 under Ubuntu II 64-bit).

I want to color some cells in a table. For this I am trying to define
the following in the preamble:
\usepackage{colortbl}

\definecolor{'111'}{rgb}{0.9,0,0.3}
\definecolor{112}{rgb}{1,0,0}
\definecolor{121}{rgb}{0.8,0.3,0.9}
\definecolor{122}{rgb}{0.8,0,0}
\definecolor{123}{rgb}{0.9,0.8,0.8}
\definecolor{124}{rgb}{0.9,0.8,0.9}
# [...] a longer list actually of various red,green,blue combinations


Then, I use ERTs in a table's cells like
\cellcolor{111}

The table's column in which I use the ERT's include only numbers (in
fact, the numbers correspond exactly to the number I use in the preamble
with "\definecolor". The next column includes greek labels (=simply
greek text).

When I try to pre-view the document I read:

Error:
LaTeX Error: Undefined color `{111}'.

Description:
\cellcolor{{111}}111 &
\textgreek{Suneq\char160c} \textgreek{...

Could someone give me a hint to the right direction?
Kind regards, Nikos



Re: Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
On Fri, 2009-01-16 at 22:22 +0100, Nikos Alexandris wrote:
> Hi list.
> 
> (Using LyX 1.6 under Ubuntu II 64-bit).
> 
> I want to color some cells in a table. For this I am trying to define
> the following in the preamble:
> \usepackage{colortbl}


> \definecolor{'111'}{rgb}{0.9,0,0.3}
# Ooops, that ^^ is {111} and not {'111'}. Sorry :-)

> \definecolor{112}{rgb}{1,0,0}
> \definecolor{121}{rgb}{0.8,0.3,0.9}
> \definecolor{122}{rgb}{0.8,0,0}
> \definecolor{123}{rgb}{0.9,0.8,0.8}
> \definecolor{124}{rgb}{0.9,0.8,0.9}
> # [...] a longer list actually of various red,green,blue combinations
> 
> 
> Then, I use ERTs in a table's cells like
> \cellcolor{111}
> 
> The table's column in which I use the ERT's include only numbers (in
> fact, the numbers correspond exactly to the number I use in the preamble
> with "\definecolor". The next column includes greek labels (=simply
> greek text).
> 
> When I try to pre-view the document I read:
> 
> Error:
> LaTeX Error: Undefined color `{111}'.
> 
> Description:
> \cellcolor{{111}}111 &
> \textgreek{Suneq\char160c} \textgreek{...
> 
> Could someone give me a hint to the right direction?
> Kind regards, Nikos
>