Hi guys,(adsbygoogle = window.adsbygoogle || []).push({});

I have to do alot of equations in a report, and I was wondering if there is a package for Latex so that I can just cut and paste matlab/excel coding straight into Latex and it will set it out properly. i.e. so that instead of typing \frac{5+x}{4} I can just write (5+x)/4?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Cut and paste Matlab coding into Latex for equations

**Physics Forums | Science Articles, Homework Help, Discussion**