author | anand |
Sun, 07 Nov 2010 01:18:26 +0530 | |
changeset 390 | 69f285b3a5ed |
parent 334 | 4b1e81da1c80 |
permissions | -rw-r--r-- |
334 | 1 |
using @interact:\\ |
2 |
{\ex \lstinline| @interact |
|
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 | 5 |
Default argument for a field input:\\ |
6 |
{\ex \lstinline| def f(a="hello")|} |
|
7 |
||
8 |
Default argument for slider:\\ |
|
9 |
{\ex \lstinline| def f(a=(1..8))|} |
|
10 |
||
11 |
Default argument for buttons:\\ |
|
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 | 14 |
Publish worksheets:\\ |
15 |
{\ex \lstinline| Use Publish option on top right corner|} |
|
16 |
||
17 |
Re-Publish worksheets:\\ |
|
18 |
{\ex \lstinline| Check the auto re-publish option while publishing or click |
|
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 | 21 |
Share the worksheets:\\ |
22 |
{\ex \lstinline| Click on the share button and enter the usernames|} |
|
23 |
||
24 |
Editing a published worksheet:\\ |
|
25 |
{\ex \lstinline| Open the worksheet and click on the edit button on top left |
|
26 |
corner|} |