1

I'm trying to obtain a custom highlighting for the \xnote command in TexStudio editor, and I'm following these instructions, but when I add the lines to tex.qnfa as suggested it highlights the entire text after the first "\xnote": seems like it doesn't recognize the end of the command.

I would ask if you can indicate if there is an error with the lines that I'm adding:

<context id="comment/todocmd" format="commentTodo">
     ...
     <start parenthesis="todo:open" prenthesisweight="12">\\xnote\{</start>
     ...
</context>

Moreover I would like to use this highlight feature in combination with my color scheme, but if I use tex.qnfa it replaces my personal .txs profile setting the standard colours, so I would ask how to do to mantain my color scheme while using tex.qnfa.

qwertxyz
  • 542

0 Answers0