Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Defining new integral operators

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Defining new integral operators


Chronological Thread 
  • From: Romain Lebreton <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Defining new integral operators
  • Date: Tue, 18 Feb 2014 10:37:57 -0500

Le 18/02/2014 08:08, Miguel de Benito Delgado a écrit :
Hi,

when I need to write averaged integrals I use a macro defined as <superpose|<big|<int>| -> (notice the hackish space before the dash). This sucks because:

1) it only displays well in equations and resizes poorly.
2) the position of the sub/super-index is wrong, so I'm forced to use "script below" for the domain of integration.

Does anybody have any advice on how to solve any of these issues?
--
Miguel de Benito.
Hi Miguel,

I had once to rewrite basic texmacs operators to avoid Type1 (or type3 ?) fonts. I used a combination of rigid, negative spaces, move and so on. This does not seem to work with <big|int>. I tried to look for the definition of <big|oint> in the sources, since it is not so far away from your symbol, but I could not find it.
Anyway, good luck and keep us posted when you find a solution.

Romain

P.S.: My old preamble to avoid old type of fonts in my pdf by redefining some symbols.
<\hide-preamble>
<assign|myassign| <rigid|: <space|-0.8spc>=> >
<assign|mydots|<text|...>>
<assign|mylongrightarrow| <rigid|-<space|-1spc>\<rightarrow\>> >
<assign|mymap| <rigid|<move|\<shortmid\>|0|0.1ex><space|-0.6spc><rigid|-<space|-1spc>\<rightarrow\>>>>
<assign|mycdots|<text|<move|.||0.5ex><move|.||0.5ex><move|.||0.5ex>>>
<assign|myneq| <rigid|=<space|-2spc>/> >
<assign|mysmap| <rigid|<move|\<shortmid\>|0|0.1ex><space|-1spc>\<rightarrow\>> >
<assign|mynotin| <rigid|\<in\><space|-1.8spc>/> >
<assign|mydiagdots|<text|<move|.||1.2ex><move|.||0.5ex><move|.||-0.2ex>>>
<assign|mydivides| \| >
</hide-preamble>



Archive powered by MHonArc 2.6.19.

Top of Page