[OS X TeX] Inserting TeX code via a contextual menu

Claus Gerhardt claus.gerhardt at uni-heidelberg.de
Mon Dec 20 17:04:45 EST 2010

You could use TeXShop macros for this, some macros inserting TeX code already exist.

Another way of doing it would be provided by the application MathFormulas which is part of TeXHelpers. The typeset results of some TeX code is shown and the code will be inserted at the point where the cursor is by clicking on the corresponding image similar as in the Latex panel. If you had the source code of MathFormulas you could define your own examples, or you could write your own application.


On Dec 20, 2010, at 21:20, William Adams wrote:

> Is something like this already implemented?
> Open up AppleScript Editor
> <CTRL>-click in a new script
> Scroll down to the Folder icons at the bottom, then select some bit of code.
> I know we have the Templates button, but this is wonderfully interactive, and allows one to easily indicate where the code should go.
> I'd love to be able to have a folder where I could stash all of my TeX code snippets, then insert them thus.
> William
> -- 
> William Adams
> senior graphic designer
> Fry Communications
> Sphinx of black quartz, judge my vow.
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the MacOSX-TeX mailing list