diff options
author | Nishanth Amuluru | 2010-10-12 11:26:09 +0530 |
---|---|---|
committer | Nishanth Amuluru | 2010-10-12 11:26:09 +0530 |
commit | c0466f911b7cf30ef64c84788d2fea06ff2e1a43 (patch) | |
tree | e3b3aa19b7abb89e2097d2c636600949249fa327 | |
parent | 7f8225acf6269500fa02664c4d28d8343fb7f23c (diff) | |
download | st-scripts-c0466f911b7cf30ef64c84788d2fea06ff2e1a43.tar.gz st-scripts-c0466f911b7cf30ef64c84788d2fea06ff2e1a43.tar.bz2 st-scripts-c0466f911b7cf30ef64c84788d2fea06ff2e1a43.zip |
Finished using_sage_to_teach
-rw-r--r-- | using_sage_to_teach/quickref.tex | 31 | ||||
-rw-r--r-- | using_sage_to_teach/script.rst | 8 |
2 files changed, 27 insertions, 12 deletions
diff --git a/using_sage_to_teach/quickref.tex b/using_sage_to_teach/quickref.tex index a0212b3..68e958a 100644 --- a/using_sage_to_teach/quickref.tex +++ b/using_sage_to_teach/quickref.tex @@ -1,11 +1,26 @@ -Creating a tuple:\\ -{\ex \lstinline| t = (1, "hello", 2.5)|} +using @interact:\\ +{\ex \lstinline| @interact + def f(a=5,b=[1,2],c=(0..3))|} -Accessing elements of tuples:\\ -{\ex \lstinline| t[index] Ex: t[2]|} +Default argument for a field input:\\ +{\ex \lstinline| def f(a="hello")|} -Accessing slices of tuples:\\ -{\ex \lstinline| t[start:stop:step]|} +Default argument for slider:\\ +{\ex \lstinline| def f(a=(1..8))|} -Swapping values:\\ -{\ex \lstinline| a, b = b, a|} +Default argument for buttons:\\ +{\ex \lstinline| def f(a=[1, 2, 3])|} + +Publish worksheets:\\ +{\ex \lstinline| Use Publish option on top right corner|} + +Re-Publish worksheets:\\ +{\ex \lstinline| Check the auto re-publish option while publishing or click +on publish and click on the re-publish option on the page.|} + +Share the worksheets:\\ +{\ex \lstinline| Click on the share button and enter the usernames|} + +Editing a published worksheet:\\ +{\ex \lstinline| Open the worksheet and click on the edit button on top left +corner|} diff --git a/using_sage_to_teach/script.rst b/using_sage_to_teach/script.rst index 0316a31..094f84f 100644 --- a/using_sage_to_teach/script.rst +++ b/using_sage_to_teach/script.rst @@ -1,10 +1,10 @@ .. Objectives .. ---------- -.. A - Students and teachers from Science and engineering backgrounds - B - - C - - D - +.. By the end of this tutorial you will be able to + +.. * use ``@interact`` feature of SAGE +.. * learn to share, publish and edit SAGE worksheets .. Prerequisites .. ------------- |