mailing-list for TeXmacs Users

Text archives Help


[TeXmacs] bold symbols in TeXmacs


Chronological Thread 
  • From: Youjun Hu <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] bold symbols in TeXmacs
  • Date: Mon, 13 Apr 2015 13:03:59 +0800

Hi all,

It is a convention in math and physics that vectors are denoted by bold and upright symbols.
In texmacs-1.0.7 (I had used this version for 8 years), I input vectors by using latex commands \mathbf. However, the characters input this way are bold but not upright.
When I ask about this issue on the mail list (2011).
Joris van der Hoeven made the following comments: "we should interpret bold upright symbols as special symbols, and not as standard symbols in a fancy font. This requires to add several Unicode characters to TeXmacs, which is somewhat a hassle for me right now, but on the todo list."
It seems to me that the things on the todo list has been implemented in the TeXmacs-1.99.2.
The bold upright symbols can be input by using C-F6-x, where x is a character desired (corresponding to the .tm source code \<b-up-x\>).
In TeXmacs-1.99.2, the latex command \mathbf seems to be disabled, and it no longer generates bold fonts.
However all the .tm files created by me before using texmacs-1.99.2 are using the \mathbf command to generate bold characters.
To make these old .tm files able to be viewed in Texmacs-1.99.2, I edit the source of the .tm file by using emacs and do the following regexpress replace:
 regexp replace: <with|math-font-series|bold|\(.*\)>
to  \\<b-up-\1\\>
Although this works, but it is tedious since I have lots of old .tm files that use \mathbf.

My question is:
Is it possible to make the latex simulator \mathbf still generate bold fonts in Texmacs-1.99.2?

Best,
Youjun

--
YouJun Hu
Institute of Plasma Physics
Chinese Academy of Sciences
Hefei, 230031, P. R. China
Email: address@hidden
Phone: +86-18256900186 (cell), +86-551-5593246
Homepage: http://theory.ipp.ac.cn/~yj/




Archive powered by MHonArc 2.6.19.

Top of page