# Why does renderig my equation in Mathematica using MaTeX does not work out?

I have some problem with showing this LaTeX input:

$F = (x_1 \\lor x_2) \\land (x_1 \\lor \\overline x_3) \\land (x_2 \\lor x_4) \\land (\\overline x_3 \\lor \\overline x_4) \\land (\\overline x_1 \\lor \\overline x_4)$


I tried using MaTex["F = (x_1 \\lor x_2) \\land (x_1 \\lor \\overline x_3) \\land (x_2 \\lor x_4) \\land (\\overline x_3 \\lor \\overline x_4) \\land (\\overline x_1 \\lor \\overline x_4)"] but it does not work.

Do we have any other solution to show this text in Matematica?

• You have written MaTex but it should be MaTeX. Using MaTeX[ ... ] works out fine. ;-)
– gwr
Jun 5 '20 at 9:29
• @gwr I did not even notice this until now :) I was wondering for a while why it did not work for OP. I thought it was a version issue or such. Jun 5 '20 at 9:38
• @Nasser Sometimes we have to also see the trees for the forest. :)
– gwr
Jun 5 '20 at 9:43
• We should all then blame the Author of the nice package MaTeX for making his package name using mixed UpperAndLowerCaseLetters instead of all lowercaseletters (In case Szabolcs reads this, I am just kidding :) Jun 5 '20 at 9:47
• @Nasser You have a good point actually ... I'd suggest defining matex = MaTeX then just use matex. Or even shorter, mt = MaTeX. It's too late to change the name now. Jun 5 '20 at 10:02

it works for me

expr="F = (x_1  \\lor x_2)  \\land (x_1 \\lor \\overline x_3) \\land (x_2 \\lor x_4) \\land (\\overline x_3 \\lor \\overline x_4) \\land (\\overline x_1 \\lor \\overline x_4)";


And now

MaTeX[expr, Magnification -> 2]


gives

Here is full screen shot

• Many thanks works! Jun 5 '20 at 9:19