On Mon, Oct 18, 2010 at 2:57 AM, Dr. David Kirkby
<[email protected]>wrote:

> On 10/18/10 07:31 AM, Nikos Apostolakis wrote:
>
>> Dear group,
>>
>> we are creating some worksheets to be used in teaching precalculus, and
>> we wonder if it's possible to have parts of a worksheet "locked", so
>> that the're not easily (read accidentally) editable.  The fear is that
>> students may accidentally, double click on the text and inadvertently
>> delete or corrupt the text while they work through the worksheet.  Also
>> is it possible to have some cells "locked?" that is the code should not
>> be easily editable, but stil able to be evaluated?
>>
>
> I'm not aware of one, but there might be.


Yes, you can do this as follows.

(1) Enter the following in an input cell:

%hideall
html(r"""
This is a test.

$$\alpha + \beta$$

""")

(2) Complete refresh the page.

You should see just the output text, no input box, and the output text
cannot be edited
via double click.  To edit it, one must click the Edit button in the upper
right.

William


>
>
>  I've been told that Mathematica has a similar feature for its worksheets.
>>
>
> Yes, one selects the cell, then on the main menu "Cell -> Cell Properties
> -> Editable" It is a very useful feature.
>
>  TIA,
>> Nikos Apostolakis
>>
>>
>
> Dave
>
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<sage-support%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
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