Skip to main content
2 of 5
added 92 characters in body
Crypto
  • 372
  • 1
  • 10

HoldForm does not Hold Form for fractions sometimes

I'm facing a strange behavior of HoldForm.

I need to display 1/2*3/4 in LaTeX like this : $$ \frac{1}{2} \times \frac{3}{4} $$

So I use Mathematica : 1/2* 3/4 // HoldForm // TeXForm BUT I get $$ \frac{3}{2\ 4} $$

First the writing 2 space 4 is ambigous and second it does not hold form at all :(

Can you help me ? Thank you ! (happy Holidays)

EDIT : I would need (a simple) automatic transformation of any input to correct TeX.

Crypto
  • 372
  • 1
  • 10