Changes

Jump to navigation Jump to search
58 bytes added ,  18:57, 27 April 2017
no edit summary
snippets.context['item'] = '\\startitem\n\t%0\n\\stopitem'
snippets.context['enumerate'] = '\\startenumerate\n\t%0\n\\stopenumerate'
snippets.context['chapter'] = '\\startchapter[title={%1},marking{%1}]\n\t%0\n\\stopchapter' snippets.context['section'] = '\\startsection[title={%1},marking{%1}]\n\t%0\n\\stopsection' snippets.context['ssection'] = '\\startsubsection[title={%1},marking{%1}]\n\t%0\n\\stopsubsection' snippets.context['title'] = '\\starttitle[title={%1},marking{%1}]\n\t%0\n\\stoptitle' snippets.context['subject'] = '\\startsubject[title={%1},marking{%1}]\n\t%0\n\\stopsubject' snippets.context['ssubject'] = '\\startsubsubject[title={%1},marking{%1}]\n\t%0\n\\stopsubsubject'
* '''Note''' that a backslash <code>\</code> is created by typing a double backslash <code>\\</code>.
* The most important formatting commands are the following:
**<code>%0</code> creates the ''closing'' caret (placeholder) (the cursor will jump here '''last''')**<code>%1</code> creates one or multiple input carets (<code>%1</code>, <code>%2</code>, <code>%3 </code> and so on; you can also use the same integer multiple times: e.g. <code>\\start%1 ... \\stop%1</code>)**<code>%\n</code> creates a new line**<code>%\t</code> creates a tab
**<code>%<selected_text></code> this is where highlighted text will be pasted when enclosing it with a snippet (e.g. <code>{\\emph %<selected_text>%0}</code>)
194

edits

Navigation menu