8

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.

latex fan
  • 520
  • 1
    Oh ,I got it myself. It is %|. –  Dec 22 '13 at 14:15
  • maybe you can add this ans answer and accept it so this question will no longer be "open" ;-) – Tobi Dec 22 '13 at 14:35
  • and first of all: Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Do us a favour and change your username to something more telling than "user1234". :-) – Tobi Dec 22 '13 at 14:35

1 Answers1

12

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

Tim Hoffmann
  • 11,159