Hi,
I just came across the following yasnippet (see
https://groups.google.com/d/msg/smart-snippet/8Og-1U5zJ2E/3aIMTNmwrKAJ):
--8<---cut here---start->8---
# -*- mode: snippet -*-
# name: nxm matrix
# key: pm
# type: command
# --
(insert "\\begin{pmatrix}\n")
(
On Mon, Feb 29 2016, Denis Bitouzé wrote:
> I just came across the following yasnippet (see
> https://groups.google.com/d/msg/smart-snippet/8Og-1U5zJ2E/3aIMTNmwrKAJ):
[...]
> What's nice: you are able to specify the dimensions of the matrix and
> the resulting template provides placeholders.
>
> W
Le 29/02/16 à 21h20, Joost Kremers a écrit :
> On Mon, Feb 29 2016, Denis Bitouzé wrote:
>> I just came across the following yasnippet (see
>> https://groups.google.com/d/msg/smart-snippet/8Og-1U5zJ2E/3aIMTNmwrKAJ):
> [...]
>> What's nice: you are able to specify the dimensions of the matrix and
Salut Jean-François,
Not tested idea :
Can't you fool the parser by writing \^^64ocumentclass instead of
\documentclass when you are inside the verbatim env.
I guess that the ^^64 is parsed by TeX input processor, so it is not sensitive
to verbatim catcodification. Am I wrong ?
Vincent.
Hi Denis,
2016-02-29 18:36 GMT+01:00 Denis Bitouzé :
> Hi,
>
> I just came across the following yasnippet (see
> https://groups.google.com/d/msg/smart-snippet/8Og-1U5zJ2E/3aIMTNmwrKAJ):
>
> --8<---cut here---start->8---
> # -*- mode: snippet -*-
> # name: nxm ma
Le 01/03/16 à 00h19, Mosè Giordano a écrit :
> Hi Denis,
Hi Mosè,
> 2016-02-29 18:36 GMT+01:00 Denis Bitouzé :
>> Hi,
>>
>> I just came across the following yasnippet (see
>> https://groups.google.com/d/msg/smart-snippet/8Og-1U5zJ2E/3aIMTNmwrKAJ):
>>
>> --8<---cut here--
Bonjour Vincent
let's take a risk and reply without testing either ;-)
I trust the \^^64ocumentclass will fool the AUCTeX parser (it should ;-) )
but the problem is that within a verbatim the ^ is sanitized to catcode 12.
Thus the latex run will actually print verbatim ^^64.
The ^^ input form ne