created: 20150117152607000
modified: 20150124180333000
title: $:/editions/tw5.com/doc-macros
tags: $:/tags/Macro
\define .def(_) $_$
\define .em(_) $_$
\define .strong(_) $_$
\define .place(_) $_$
\define .word(_) "$_$"
\define .preamble(_) :.doc-preamble $_$
\define .note(_)
@@.doc-note
;Note
: $_$
@@
\end
\define .tid(_) $_$
\define .tag(_) $_$
\define .field(_) $_$
\define .value(_) $_$
\define .op(_) $_$
\define .var(_) $_$
\define .wid(_) $$_$
\define .attr(_) $_$
\define .otitle(_) $_$ Operator
\define .link(_,to) <$link to="$to$">$_$$link>
\define .clink(_,to) <<.link """$_$""" "$to$">>
\define .flink(to) <$macrocall $name=".link" _="<<.field {{$to$!!caption}}>>" to="$to$"/>
\define .olink(_) <$macrocall $name=".link" _=<<.op "$_$">> to=<<.otitle "$_$">>/>
\define .olink2(_,to) <$macrocall $name=".link" _=<<.op "$_$">> to=<<.otitle "$to$">>/>
\define .wlink(to) <$macrocall $name=".link" _="<<.wid {{$to$!!caption}}>>" to="$to$"/>
\define .key(_) $_$
\define .combokey(_) <$macrocall $name=".if" cond="$_$" then="<<.key '$_$'>>"/>
\define .keycombo(1,2,3,4) <<.combokey "$1$">><<.if "$2$" +>><<.combokey "$2$">><<.if "$3$" +>><<.combokey "$3$">><<.if "$4$" +>><<.combokey "$4$">>
\define .tab(_) {{$_$!!caption}}
\define .sidebar-tab(_) <<.tab "$:/core/ui/SideBar/$_$">>
\define .more-tab(_) <<.tab "$:/core/ui/MoreSideBar/$_$">>
\define .info-tab(_) <<.tab "$:/core/ui/TiddlerInfo/$_$">>
\define .controlpanel-tab(_) <<.tab "$:/core/ui/ControlPanel/$_$">>
\define .advancedsearch-tab(_) <<.tab "$:/core/ui/AdvancedSearch/$_$">>
\define .toc-tab() <<.tab "TableOfContents">>
\define .example-tab(_) $_$
\define .button(_) {{$:/core/ui/Buttons/$_$!!caption}}
\define .state-prefix() $:/state/editions/tw5.com/