Dismiss Notice
Join Physics Forums Today!
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

  1. Aug 14, 2011 #1
    Hi guys,

    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?
  2. jcsd
  3. Aug 14, 2011 #2


    User Avatar
    Gold Member

    Last edited by a moderator: Apr 26, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook