Proteopedia:DIY:Macros
From Proteopedia
(Difference between revisions)
m |
m |
||
Line 29: | Line 29: | ||
</pre> | </pre> | ||
- | The <code><nowiki>bobble()</nowiki></code> part triggers the action. The <code><nowiki>exit</nowiki></code> ends the looping bobble.< | + | The <code><nowiki>bobble()</nowiki></code> part triggers the action. The <code><nowiki>exit</nowiki></code> ends the looping bobble.<br/> |
You can try the result here: | You can try the result here: | ||
Line 91: | Line 91: | ||
- | You can try the result here:< | + | You can try the result here:<br/> |
To show ligand(s), click on the green sun symbol in the parentheses --> (<jmol> | To show ligand(s), click on the green sun symbol in the parentheses --> (<jmol> | ||
<jmolLink> | <jmolLink> |
Revision as of 03:03, 4 January 2021
Macros as a tool
Macros can be used in Proteopedia pages to call commonly used JSmol code. Macro functions can take parameters so that the code is general but can act on the specified item or items. Additional macros can be made.
This page is meant to be a resource for finding and using macros.
|