On Mon, May 23, 2011 at 11:59 PM, mankoff <mank...@gmail.com> 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

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

Reply via email to