Skip to Content.
Sympa Menu

texmacs-users - Overline kind of accent

Subject: mailing-list for TeXmacs Users

List archive

Overline kind of accent


Chronological Thread 
  • From: Pierre-Henri Jondot <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: Overline kind of accent
  • Date: Tue, 26 Oct 2021 11:28:08 +0200

Hi everyone,

I am trying to obtain a line over a matrix or vector name to mean the conjugate of all its coefficients.

The default extending line over an _expression_ I don't like. For uppercase letters, it is too small :
Capture d’écran 2021-10-26 à 10.52.31.png
Furthermore, the chosen size (as it is an extending accent) is sometimes a bit surprising, as I get this 
Capture d’écran 2021-10-26 à 10.53.44.pngor that :
Capture d’écran 2021-10-26 à 10.55.11.pngwhile I would expect both to look similar. (Yes, I get that this n is a tiny bit larger than the 1 above, but still, it is so dissimilar as it looks weird)

Luckily, the LaTeX command \overline looks better, and I prefer the line I get over an uppercase letter, such as 
Capture d’écran 2021-10-26 à 10.57.02.png (although maybe it extends a bit too much on the right, but it is still better to my eyes)

It is a bit more cumbersome to write, but the problem is that I don't know how to exit from the overlined part once I use this accent, so when I want to enter this product (again, in this example, the line over the first X is, to my eyes, a bit too small)
Capture d’écran 2021-10-26 à 11.01.52.png
using \overline, I tried this :
typing \overline then Enter, then X then right arrow to exit the overline environment (hopefully) then ^, then T (looks fine so far) then right arrow again to exit the exponent, and then the line extends over the exponent too, and I can't exit the overline, even after exiting the formula itself (which looks like a bug to me)

It is even worse in a demo environment where if I do the same thing, that is, in a formula, \overline enter X right arrow then I get this with the line extending to the right margin :
Capture d’écran 2021-10-26 à 11.16.45.png
So the first question is : how would I manage the kind of result I'd like ? 

And the second would be : Am I right that \overline is kind of buggy with TeXmacs right now ?

And if it is not a bug, how would one properly use the hybrid latex command \overline ?

Hopefully the images I pasted in this mail will show properly. I remember last time Joris told me they didn't, so I tried to compose this mail using gmail web client.

Regards,

Pierre-Henri

PNG image

PNG image

PNG image

PNG image

PNG image

PNG image




Archive powered by MHonArc 2.6.19.

Top of Page