mailing-list for TeXmacs Users

Text archives Help


Re: Colored crossouts in math.


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: Karl Hegbloom <address@hidden>
  • Cc: <address@hidden>
  • Subject: Re: Colored crossouts in math.
  • Date: Fri, 16 Apr 2004 20:10:38 +0200 (CEST)


On Thu, 8 Apr 2004, Karl Hegbloom wrote:
> In expressing a telescoping series expansion, I want to show matched
> crossouts (Alt-n) with color. I'd like the term itself to be typeset in
> black ink, and the crossout lines typeset in colors. I don't know if
> TeXmacs can do this or not. It would be a neat feature.

Simply select red, type A-n, select black, and type whatever you like.
More sophisticated is the following macro:

(assign "crossout"
(macro "x"
(with "old-color" (value "color") "color" "red"
(neg (with "color" (value "old-color") (arg "x"))))))

(import this piece as scheme)



  • Re: Colored crossouts in math., Joris van der Hoeven, 04/16/2004

Archive powered by MHonArc 2.6.19.

Top of page