I don't know this special case, but what TeX commands do you
frequently need?
Well, in my case, these are some really specific commands. For example,
as a chemist, I want the Substances in my Texts to have a number
orderered by appearance, and at the same time I want to define a short
name. So I defined my own Substances TeX-Macro's and now can just once
define a Substance with a short and a long name. Everywhere else, I use
other TeX-Macro's to insert either the long name, the number, or both,
just using the short name.
I also have to use those numbers created in graphics of drawn
structures, so I figured out a way to overlay an existing graphic with
textat specified positions, still using the LyX-way to insert graphics.
This involves the PGF/TikZ-Package and some ERT, so I decided to bind
the ERT involved to a button in my own toolbar.
I can imagine others having different but not less used TeX-code they need.
regards Uwe
Greetings,
Florian