Skip to main content
An update
Source Link
Garid
  • 760
  • 2
  • 14

I'm trying out calc-embedded feature to write evaluate/manipulate equations in calc then write the output to my latex/org buffer.

In calc, one can change the display mode to LaTeX with d L (or calc-latex-language). It's so GREAT so convenient.


However the calc-latex-language in calc uses \times symbol for the multiplication (e.g. c \times (a + b) 1-st row of image below). I much prefer \cdot notation (2-nd row of image below).

enter image description here


I can change \times with \cdot after every time equation is imported from calc. However, this seems bit inconvenient.

Quesiton:

  • Is there way to change the calc-latex-language settings so that that calc uses \cdot in the first place instead of \times?

Update/Info:

It might be something to do with below in the ‘calc-lang.el’.

(put 'tex 'math-oper-table
  '( ( "\\hat"    calcFunc-hat     -1  950 )
             ...
     ( "\\times"  *        191 190 )            <-- may be this line????
     ( "*"        *        191 190 )
              ...

Being unable to read/write elisp, I can do nothing more.

I'm trying out calc-embedded feature to write evaluate/manipulate equations in calc then write the output to my latex/org buffer.

In calc, one can change the display mode to LaTeX with d L (or calc-latex-language). It's so GREAT so convenient.


However the calc-latex-language in calc uses \times symbol for the multiplication (e.g. c \times (a + b) 1-st row of image below). I much prefer \cdot notation (2-nd row of image below).

enter image description here


I can change \times with \cdot after every time equation is imported from calc. However, this seems bit inconvenient.

Quesiton:

  • Is there way to change the calc-latex-language settings so that that calc uses \cdot in the first place instead of \times?

I'm trying out calc-embedded feature to write evaluate/manipulate equations in calc then write the output to my latex/org buffer.

In calc, one can change the display mode to LaTeX with d L (or calc-latex-language). It's so GREAT so convenient.


However the calc-latex-language in calc uses \times symbol for the multiplication (e.g. c \times (a + b) 1-st row of image below). I much prefer \cdot notation (2-nd row of image below).

enter image description here


I can change \times with \cdot after every time equation is imported from calc. However, this seems bit inconvenient.

Quesiton:

  • Is there way to change the calc-latex-language settings so that that calc uses \cdot in the first place instead of \times?

Update/Info:

It might be something to do with below in the ‘calc-lang.el’.

(put 'tex 'math-oper-table
  '( ( "\\hat"    calcFunc-hat     -1  950 )
             ...
     ( "\\times"  *        191 190 )            <-- may be this line????
     ( "*"        *        191 190 )
              ...

Being unable to read/write elisp, I can do nothing more.

Source Link
Garid
  • 760
  • 2
  • 14

GNU-Calc: How to change default multiplication symbol (\times) with (\cdot) in LaTeX language display mode

I'm trying out calc-embedded feature to write evaluate/manipulate equations in calc then write the output to my latex/org buffer.

In calc, one can change the display mode to LaTeX with d L (or calc-latex-language). It's so GREAT so convenient.


However the calc-latex-language in calc uses \times symbol for the multiplication (e.g. c \times (a + b) 1-st row of image below). I much prefer \cdot notation (2-nd row of image below).

enter image description here


I can change \times with \cdot after every time equation is imported from calc. However, this seems bit inconvenient.

Quesiton:

  • Is there way to change the calc-latex-language settings so that that calc uses \cdot in the first place instead of \times?