Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Cancellation of terms

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Cancellation of terms


Chronological Thread 
  • From: Nicola Mingotti <address@hidden>
  • To: Martial Tarizzo <address@hidden>, TeXmacs <address@hidden>
  • Subject: Re: [TeXmacs] Cancellation of terms
  • Date: Wed, 18 Mar 2015 17:52:19 +0100

Umm ...

I could be wrong, but the idea of using
a draw-over-selection was exactly that you don't need
to provide coordinates. The coordinates are the ones of
the selection box.

Every graphical windows usually define xmin-xmax, ymin-ymax,
so, in theory you should simply say, (line (pt xmin ymin) (pt xmax ymax))

... but as i said, i'm an humble beginner in Texmacs, i think it should
be like that, but i can't do it;)

bye
n.









On Wed, Mar 18, 2015 at 5:34 PM, Martial Tarizzo <address@hidden> wrote:
You don't need a graphic, and a small macro can do the job, badly ...
because one have to provide the coordinates of the start/end points of
the line.
It would be great to compute these coordinates (i.e the position, width
and height of the box), but I didn't find a way to get them ...

Martial Tarizzo


Le mercredi 18 mars 2015 à 16:59 +0100, Nicola Mingotti a écrit :
> Hi,
>
>
> Look, i found one (trivial) way to start implementing it.
> You can select the part you would like to "/" then,
> select "Insert -> image -> Draw over selection".
>
> ... and of course draw a line from two opposite corners of the
> selection;P
>
>
> Then, if you can do it by hand, it should be possible to make
>
> it automatic in Texmacs, with a single "<\slash-it>" command.
>
> I tried to look at the source buffer code and ok, i get it ... but i
>
> don't know enough to automate the thing;P
>
>
>
> bye
>
> Nicola
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Wed, Mar 18, 2015 at 3:22 PM, Sam Liddicott <address@hidden>
> wrote:
>         I tried, initially with <repeat> to test an idea
>
>         x+5y^3=0
>
>         <math|x+<repeat|5y<rsup|<repeat|3|X>>|/>=0>
>
>
>         But found that the power 3 was not overstruck with the X
>
>
>         Sam
>
>
>         On Mon, Mar 16, 2015 at 1:57 AM, Nicola Mingotti
>         <address@hidden> wrote:
>                 wow, that is quite cool ! if i had time i would really
>                 try
>
>                 to do it:)
>
>
>
>
>
>
>                 On Sun, Mar 15, 2015 at 10:16 PM, Michael Shea
>                 <address@hidden> wrote:
>                         Is there any way in TexMacs to do cancel like
>                         below.
>
>
>                         enter image description here
>
>
>
>
>
>
>
>





Archive powered by MHonArc 2.6.19.

Top of Page