1

I created the following command to create colored notes in my paper :

\newcommand{\notes}[1]{\textcolor{red}{Note : #1}}

however, I do not know how to force texstudio to display these notes in the structure menu for a convenient go to note feature. How do I create a new command that allows texstudio to display a note in the paper in the structure menu?

Note : I am also worried that general solutions may not work for the specific package I am using, which is sffms.

  • This is completely an editor thing and has nothing to do with the LaTeX side. – Johannes_B Aug 21 '14 at 13:22
  • Instead of create that command in texstudio, check the todonotes package that can do what you want. In the other hand, in the structure window you're able to see the hierarchy of your document and also the labels you are using. If you want to program something more, you should contact the TeXstudio developers to see what recommend you. – Aradnix Aug 21 '14 at 18:33
  • 2
    You can use something like \newcommand{\notes}[1]{\textcolor{red}{Note : #1}} %TODO: Note: Text and that will appear in the structure menu of TexStudio. You need a new version (> 2.8). – skpblack Aug 23 '14 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.