LaTeX Custom Mathematica Shortcut: Copy as LateX

This can be very useful, so I thought i'd share.
If you edit the

Code:
> 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:
    		MenuItem["Plain &Text", FrontEnd`CopySpecial["PlainText"]],
			MenuItem["&LaTeX",
				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.
 

Related Threads for: Custom Mathematica Shortcut: Copy as LateX

Replies
0
Views
2K
Replies
0
Views
3K
  • Last Post
Replies
0
Views
3K
  • Last Post
Replies
0
Views
2K
  • Last Post
Replies
0
Views
1K
  • Last Post
Replies
0
Views
5K
Replies
0
Views
2K
  • Last Post
Replies
0
Views
2K
Top