newcommand is fine.
since you use a cwl file, it does not matter anyway.
which version of txs do you use ?
can you provide the files or a simplified example ?Thiago hat geschrieben:Yes, my sty file has the same name as the cwl file. I tried selecting it on the completion options and nothing works. Then I tried deselecting it and agains, nothing happens.

I don't know if this is the reason but my sty file contains the command \alerta{} defined by \newcommand instead of \def or \let.

Is this the problem?

Auto completion for personal commands

Sent from because you indicated interest in

To unsubscribe from further messages, please visit