using_sage_to_teach/quickref.tex
author anand
Mon, 08 Nov 2010 01:36:47 +0530
changeset 455 f5b7d0b693d9
parent 334 4b1e81da1c80
permissions -rw-r--r--
checklist OK
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
334
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
     1
using @interact:\\
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
     2
{\ex \lstinline|    @interact
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
     3
                    def f(a=5,b=[1,2],c=(0..3))|}
256
a3aa223c1662 added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     4
334
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
     5
Default argument for a field input:\\
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
     6
{\ex \lstinline|    def f(a="hello")|}
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
     7
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
     8
Default argument for slider:\\
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
     9
{\ex \lstinline|    def f(a=(1..8))|}
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    10
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    11
Default argument for buttons:\\
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    12
{\ex \lstinline|    def f(a=[1, 2, 3])|}
256
a3aa223c1662 added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    13
334
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    14
Publish worksheets:\\
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    15
{\ex \lstinline|    Use Publish option on top right corner|}
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    16
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    17
Re-Publish worksheets:\\
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    18
{\ex \lstinline|    Check the auto re-publish option while publishing or click
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    19
on publish and click on the re-publish option on the page.|}
256
a3aa223c1662 added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff changeset
    20
334
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    21
Share the worksheets:\\
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    22
{\ex \lstinline|    Click on the share button and enter the usernames|}
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    23
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    24
Editing a published worksheet:\\
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    25
{\ex \lstinline|    Open the worksheet and click on the edit button on top left
4b1e81da1c80 Finished using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents: 256
diff changeset
    26
corner|}