[texhax] listings options

Neal H. Walfield neal at walfield.org
Tue Jan 3 16:19:12 CET 2012


At Tue, 03 Jan 2012 16:07:14 +0100,
Lars Madsen wrote:
> because of the expansion you canno store listings keys in macros. Use 
> listings styles instead, i.e.
> 
> \lstdefinestyle{mystyle}{
> key-vals
> }
> 
> and then use it via style=mystyle
> 
> very handy

This is what I was looking for but didn't find.  Thanks!



More information about the texhax mailing list