Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Custom Mathematica Shortcut: Copy as LateX

  1. Feb 3, 2012 #1
    This can be very useful, so I thought i'd share.
    If you edit the

    Code (Text):
    > Wolfram Research\Mathematica\8.0\SystemFiles\FrontEnd\TextResources\Windows\MenuSetup.tr  
    file you can make Strl+Shift+C copy not plain but in LateX format. Very useful. Look for the line in the file that says "&LaTeX" and the one that says "Plain &Text". The & sign gives the underscore letter in the menu. Then replace them with the following:
    Code (Text):

                MenuItem["Plain &Text", FrontEnd`CopySpecial["PlainText"]],
                    KernelExecute[ToExpression["FrontEnd`CopyAsTeX[]"]], MenuKey["C", Modifiers->{"Control", "Shift"}],
                    MenuEvaluator -> Automatic],
    Restart Matematica and you are done.

    The question i would have is if anyone knows what *MenuEvaluator* does, or if you know how to do this modification from a notebook in mathematica rather than modifying the config file.
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted

Similar Discussions: Custom Mathematica Shortcut: Copy as LateX