Re: mathed color inset

2003-10-28 Thread Dekel Tsur
 
 This is 'old style' font switching ( i.e. {\it ...} vs  \textit{...} )..
 
 Not nice.
 
 Should we stick to \color or is there anything else that could be used?


\textcolor{blue}{...}


Re: mathed color inset

2003-10-28 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 05:30:10PM +, Angus Leeming wrote:
 I now see that you mean something else entirely. Why is 'the old style' so 
 bad?

Bad too parse, difficult to decide whether extra braces are needed...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-28 Thread Andre Poenitz
On Tue, Oct 28, 2003 at 09:07:51AM +0200, Dekel Tsur wrote:
  
  This is 'old style' font switching ( i.e. {\it ...} vs  \textit{...} )..
  
  Not nice.
  
  Should we stick to \color or is there anything else that could be used?
 
 
 \textcolor{blue}{...}

But that would mean another level of $...$ to go back to math mode,
doesn't it?

Is there a \mathcolor{blue}{...}?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-28 Thread Dekel Tsur
On Tue, Oct 28, 2003 at 09:32:04AM +0100, Andre Poenitz wrote:
 
 But that would mean another level of $...$ to go back to math mode,
 doesn't it?
 
 Is there a \mathcolor{blue}{...}?

\textcolor does not exit from math mode.


Re: mathed color inset

2003-10-28 Thread Andre Poenitz
On Tue, Oct 28, 2003 at 10:42:41AM +0200, Dekel Tsur wrote:
 On Tue, Oct 28, 2003 at 09:32:04AM +0100, Andre Poenitz wrote:
  
  But that would mean another level of $...$ to go back to math mode,
  doesn't it?
  
  Is there a \mathcolor{blue}{...}?
 
 \textcolor does not exit from math mode.

Ah good. That's exactly what I was looking for.

Thank you.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-28 Thread Dekel Tsur
> 
> This is 'old style' font switching ( i.e. {\it ...} vs  \textit{...} )..
> 
> Not nice.
> 
> Should we stick to \color or is there anything else that could be used?


\textcolor{blue}{...}


Re: mathed color inset

2003-10-28 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 05:30:10PM +, Angus Leeming wrote:
> I now see that you mean something else entirely. Why is 'the old style' so 
> bad?

Bad too parse, difficult to decide whether extra braces are needed...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-28 Thread Andre Poenitz
On Tue, Oct 28, 2003 at 09:07:51AM +0200, Dekel Tsur wrote:
> > 
> > This is 'old style' font switching ( i.e. {\it ...} vs  \textit{...} )..
> > 
> > Not nice.
> > 
> > Should we stick to \color or is there anything else that could be used?
> 
> 
> \textcolor{blue}{...}

But that would mean another level of $...$ to go back to math mode,
doesn't it?

Is there a \mathcolor{blue}{...}?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-28 Thread Dekel Tsur
On Tue, Oct 28, 2003 at 09:32:04AM +0100, Andre Poenitz wrote:
> 
> But that would mean another level of $...$ to go back to math mode,
> doesn't it?
> 
> Is there a \mathcolor{blue}{...}?

\textcolor does not exit from math mode.


Re: mathed color inset

2003-10-28 Thread Andre Poenitz
On Tue, Oct 28, 2003 at 10:42:41AM +0200, Dekel Tsur wrote:
> On Tue, Oct 28, 2003 at 09:32:04AM +0100, Andre Poenitz wrote:
> > 
> > But that would mean another level of $...$ to go back to math mode,
> > doesn't it?
> > 
> > Is there a \mathcolor{blue}{...}?
> 
> \textcolor does not exit from math mode.

Ah good. That's exactly what I was looking for.

Thank you.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


mathed color inset

2003-10-27 Thread Angus Leeming
André, I have mentioned in the past that I really like your new color 
inset. (Attached is the lyx file I used to generate the 'improved' 
buttons in the Qt math toolbar.)

However, it is very intrusive isn't it? Instead of displaying a 
fraction as
[blue]a
---
[blue]b
wouldn't it be more elegant to use the math-macro display machinery? 
Ie, the display only gets expanded to '[blue]a' when the cursor 
enters the inset.

Thoughts?

Angus

ps apologies if my replies take a long time to come through. gmane 
appears to be suffering from a nasty slow up so it takes ages for the 
posts to become visible.

math_panel.lyx
Description: application/lyx


Re: mathed color inset

2003-10-27 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
 André, I have mentioned in the past that I really like your new color 
 inset. (Attached is the lyx file I used to generate the 'improved' 
 buttons in the Qt math toolbar.)
 
 However, it is very intrusive isn't it?

Hm yes.

 Instead of displaying a fraction as
 [blue]a
 ---
 [blue]b
 wouldn't it be more elegant to use the math-macro display machinery? 
 Ie, the display only gets expanded to '[blue]a' when the cursor 
 enters the inset.
 
 Thoughts?

Urm ...

Andre'


Re: mathed color inset

2003-10-27 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 05:54:12PM +0100, Andre' Poenitz wrote:
  Thoughts?
 
 Urm ...

Better now?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-27 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
 André, I have mentioned in the past that I really like your new color 
 inset.

I just noticed there is a bug problem

 x \color{blue}{y} z

Create a blue z.

Should that get exported as


  x {\color{blues}{y}} z

?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-27 Thread Angus Leeming
On Monday 27 October 2003 5:01 pm, Andre Poenitz wrote:
 On Mon, Oct 27, 2003 at 05:54:12PM +0100, Andre' Poenitz wrote:
   Thoughts?
 
  Urm ...

 Better now?

Yes. Thank you.

Nonetheless, I do think that the macro-display machinery is a very powerful 
feature that could make the display of font stuff (textbg, mathbg, color etc) 
really obvious.

Angus



Re: mathed color inset

2003-10-27 Thread Angus Leeming
On Monday 27 October 2003 5:03 pm, Andre Poenitz wrote:
 On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
  André, I have mentioned in the past that I really like your new color
  inset.

 I just noticed there is a bug problem

  x \color{blue}{y} z

 Create a blue z.

 Should that get exported as


   x {\color{blues}{y}} z

You mean
x \colorspaceblueright arrowyspacez
?
In a word: Yes.


Re: mathed color inset

2003-10-27 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 05:08:15PM +, Angus Leeming wrote:
 On Monday 27 October 2003 5:03 pm, Andre Poenitz wrote:
  On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
   André, I have mentioned in the past that I really like your new color
   inset.
 
  I just noticed there is a bug problem
 
   x \color{blue}{y} z
 
  Create a blue z.
 
  Should that get exported as
 
 
x {\color{blues}{y}} z
 
 You mean
   x \colorspaceblueright arrowyspacez
 ?
 In a word: Yes.

Why behaves \color this way?

This is 'old style' font switching ( i.e. {\it ...} vs  \textit{...} )..

Not nice.

Should we stick to \color or is there anything else that could be used?


Andre'



-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-27 Thread Angus Leeming
On Monday 27 October 2003 5:17 pm, Andre Poenitz wrote:
 On Mon, Oct 27, 2003 at 05:08:15PM +, Angus Leeming wrote:
  On Monday 27 October 2003 5:03 pm, Andre Poenitz wrote:
   On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
André, I have mentioned in the past that I really like your new color
inset.
  
   I just noticed there is a bug problem
  
x \color{blue}{y} z
  
   Create a blue z.
  
   Should that get exported as
  
  
 x {\color{blues}{y}} z
 
  You mean
  x \colorspaceblueright arrowyspacez
  ?
  In a word: Yes.

 Why behaves \color this way?
 This is 'old style' font switching ( i.e. {\it ...} vs  \textit{...} )..

 Not nice.
 Should we stick to \color or is there anything else that could be used?

Sorry, I don't understand. I saw a space following the {y} in your original 
bug report:
 x \color{blue}{y} z
and presumed that you were typing
x \colorspaceblueright arrowyspacez
Ie, the space before 'z' escapes us from the color macro.

I now see that you mean something else entirely. Why is 'the old style' so 
bad?

Angus



mathed color inset

2003-10-27 Thread Angus Leeming
André, I have mentioned in the past that I really like your new color 
inset. (Attached is the lyx file I used to generate the 'improved' 
buttons in the Qt math toolbar.)

However, it is very intrusive isn't it? Instead of displaying a 
fraction as
[blue]a
---
[blue]b
wouldn't it be more elegant to use the math-macro display machinery? 
Ie, the display only gets expanded to '[blue]a' when the cursor 
enters the inset.

Thoughts?

Angus

ps apologies if my replies take a long time to come through. gmane 
appears to be suffering from a nasty slow up so it takes ages for the 
posts to become visible.

math_panel.lyx
Description: application/lyx


Re: mathed color inset

2003-10-27 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
> André, I have mentioned in the past that I really like your new color 
> inset. (Attached is the lyx file I used to generate the 'improved' 
> buttons in the Qt math toolbar.)
> 
> However, it is very intrusive isn't it?

Hm yes.

> Instead of displaying a fraction as
> [blue]a
> ---
> [blue]b
> wouldn't it be more elegant to use the math-macro display machinery? 
> Ie, the display only gets expanded to '[blue]a' when the cursor 
> enters the inset.
> 
> Thoughts?

Urm ...

Andre'


Re: mathed color inset

2003-10-27 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 05:54:12PM +0100, Andre' Poenitz wrote:
> > Thoughts?
> 
> Urm ...

Better now?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-27 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
> André, I have mentioned in the past that I really like your new color 
> inset.

I just noticed there is a bug problem

 x \color{blue}{y} z

Create a blue z.

Should that get exported as


  x {\color{blues}{y}} z

?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-27 Thread Angus Leeming
On Monday 27 October 2003 5:01 pm, Andre Poenitz wrote:
> On Mon, Oct 27, 2003 at 05:54:12PM +0100, Andre' Poenitz wrote:
> > > Thoughts?
> >
> > Urm ...
>
> Better now?

Yes. Thank you.

Nonetheless, I do think that the macro-display machinery is a very powerful 
feature that could make the display of font stuff (textbg, mathbg, color etc) 
really obvious.

Angus



Re: mathed color inset

2003-10-27 Thread Angus Leeming
On Monday 27 October 2003 5:03 pm, Andre Poenitz wrote:
> On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
> > André, I have mentioned in the past that I really like your new color
> > inset.
>
> I just noticed there is a bug problem
>
>  x \color{blue}{y} z
>
> Create a blue z.
>
> Should that get exported as
>
>
>   x {\color{blues}{y}} z

You mean
x \colorblueyz
?
In a word: "Yes".


Re: mathed color inset

2003-10-27 Thread Andre Poenitz
On Mon, Oct 27, 2003 at 05:08:15PM +, Angus Leeming wrote:
> On Monday 27 October 2003 5:03 pm, Andre Poenitz wrote:
> > On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
> > > André, I have mentioned in the past that I really like your new color
> > > inset.
> >
> > I just noticed there is a bug problem
> >
> >  x \color{blue}{y} z
> >
> > Create a blue z.
> >
> > Should that get exported as
> >
> >
> >   x {\color{blues}{y}} z
> 
> You mean
>   x \colorblueyz
> ?
> In a word: "Yes".

Why behaves \color this way?

This is 'old style' font switching ( i.e. {\it ...} vs  \textit{...} )..

Not nice.

Should we stick to \color or is there anything else that could be used?


Andre'



-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: mathed color inset

2003-10-27 Thread Angus Leeming
On Monday 27 October 2003 5:17 pm, Andre Poenitz wrote:
> On Mon, Oct 27, 2003 at 05:08:15PM +, Angus Leeming wrote:
> > On Monday 27 October 2003 5:03 pm, Andre Poenitz wrote:
> > > On Mon, Oct 27, 2003 at 04:49:08PM +, Angus Leeming wrote:
> > > > André, I have mentioned in the past that I really like your new color
> > > > inset.
> > >
> > > I just noticed there is a bug problem
> > >
> > >  x \color{blue}{y} z
> > >
> > > Create a blue z.
> > >
> > > Should that get exported as
> > >
> > >
> > >   x {\color{blues}{y}} z
> >
> > You mean
> > x \colorblueyz
> > ?
> > In a word: "Yes".
>
> Why behaves \color this way?
> This is 'old style' font switching ( i.e. {\it ...} vs  \textit{...} )..
>
> Not nice.
> Should we stick to \color or is there anything else that could be used?

Sorry, I don't understand. I saw a  following the {y} in your original 
bug report:
 x \color{blue}{y} z
and presumed that you were typing
x \colorblueyz
Ie, the  before 'z' escapes us from the color macro.

I now see that you mean something else entirely. Why is 'the old style' so 
bad?

Angus