On May 24, 12:03 am, Mike Hansen <[email protected]> wrote:
> On Mon, May 23, 2011 at 11:59 PM, mankoff <[email protected]> wrote:
> > Is there a way to change the language for one cell? For example, if in
> > a worksheet I'd like to have just one paragraph of LaTeX or a chunk of
> > R. It is awkward to wrap it all in a latex('...') function call. If a
> > command exists that means "everything from here down is in language X"
> > or "This cell is in language X" that would be nice. The dropdown menu
> > lets me do this for a worksheet, but that is too large a scope.
>
> You can put "%r" or "%latex" on the first line of the cell.  It will
> only apply to that particular cell.
>
> --Mike

Cool! Easy!

Thanks,

  -k.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to