Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
macros [2018/08/09 07:39]
rowlesmr3 adding new page
macros [2018/12/07 13:59]
johnsoevans
Line 3: Line 3:
 The links in the table are to different macros that users have contributed (most are taken from the collection at [[http://​www.dur.ac.uk/​john.evans/​topas_academic/​macros.inc]]). ​ Please feel free to add your own macros. ​ Follow the format of one of the pages already created (or look at [[how_to_contribute#​formatting_macros]]). ​ Please add enough documentation that others can follow it! Try and keep the table roughly alphabetical. ​ More detailed instructions are available on [[how to add a macro]]. The links in the table are to different macros that users have contributed (most are taken from the collection at [[http://​www.dur.ac.uk/​john.evans/​topas_academic/​macros.inc]]). ​ Please feel free to add your own macros. ​ Follow the format of one of the pages already created (or look at [[how_to_contribute#​formatting_macros]]). ​ Please add enough documentation that others can follow it! Try and keep the table roughly alphabetical. ​ More detailed instructions are available on [[how to add a macro]].
  
-The page [[all_macros]] contains many macros in a single file+The page [[all_macros]] contains many macros in a single file
 + 
 +You can just copy/paste a macro into an INP file OR (not and!) place it in "​local.inc"​ which is in the main topas directory. ​ Note that you topas will throw an exception if a macro is defined twice. ​ You can learn the syntax by looking at the predefined macros which are in topas.inc. ​ There'​s also a great forum post on this by Matthew Rowles.
  
 \\ \\

Personal Tools