[Tex/LaTex] How to put placeholder in macros in TexStudio

texstudio

If I launch the macro for the vector math accent, for example, then \vec{·} will be inserted and the cursor will automatically jump to · so that I can type in. It is just like Ctrl+Shift+F for \frac{·}{·}. In TexMaker the placeholder seems to be #INS#, but it doesn't work in TexStudio.

Best Answer

Use %| to place the cursor or %<myname%> to set a placeholder with text. See also the cwl description in the manual.

Related Question