Jack Tanner <ihok <at> hotmail.com> writes:

> 
> I'd like to have a program listing, and to be able to insert math in 
> comments in the listing. Is that possible?
> 
> For example,
> 
> void main(argv[]) {
>    // calculate the mean $\mu$
>    for (int i = 0; ...
> }
> 
> 

Right click on the listing, click Settings..., go to the Advanced tab, and enter
mathescape=true in the right-hand box.

/Paul



Reply via email to