[texworks] More ideas for DTX completion

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Oct 29 19:45:59 CET 2008


A slightly improved version of my previous suggestions:

%%!TEX encoding = UTF-8 Unicode
bcode:=    \begin{macrocode}#RET##INS##RET#%    \end{macrocode}
benv:=\begin{environment}{#INS#}#RET#%•#RET#%\end{environment}
bmac:=\begin{macro}{#INS#}#RET#%•#RET#%\end{macro}
cc:=\changes{#INS#}{•}{•}•
cmd:=\cmd{#INS#}
cs:=\cs{#INS#}
denvc:=\DescribeEnvironment{#INS#}
dmac:=\DescribeMacro{#INS#}
ecode:=    \end{macrocode}#RET#%#INS##RET#%    \begin{macrocode}
{environment}{#INS#}#RET#%•#RET#%\end{environment}
{macrocode}#RET##INS##RET#%    \end{macrocode}
{macro}{#INS#}#RET#%•#RET#%\end{macro}
-- 
Joseph Wright


More information about the texworks mailing list