Home Download Buy Blog Forum Support

Double backslash in completions

Double backslash in completions

Postby zloutenka on Sat May 18, 2013 6:03 pm

I need to include \\linewidth in my completion. Writing \\\\ only produces a single backslash. Is there a way to produce two?

My completion:
Code: Select all
{ "trigger": "ki|knitr_image", "contents": "<<$1,out.width='${2:0.65}\\\\linewidth'${3:,fig.width=6,fig.height=6}>>=\n\t$0\n@" }
zloutenka
 
Posts: 13
Joined: Mon May 07, 2012 12:44 pm

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 13 guests

cron