From 3281a5db13fa9fb03a7e6952148f865960f434a5 Mon Sep 17 00:00:00 2001 From: Joris van der Hoeven Date: Tue, 6 Mar 2012 23:12:07 +0000 Subject: [PATCH] Basic documentation on spreadsheets --- main/interface/man-itf.en.tm | 4 +- main/interface/man-spreadsheet.en.tm | 72 ++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 main/interface/man-spreadsheet.en.tm diff --git a/main/interface/man-itf.en.tm b/main/interface/man-itf.en.tm index 35e3fda..4278d94 100644 --- a/main/interface/man-itf.en.tm +++ b/main/interface/man-itf.en.tm @@ -1,4 +1,4 @@ - + @@ -23,6 +23,8 @@ + + diff --git a/main/interface/man-spreadsheet.en.tm b/main/interface/man-spreadsheet.en.tm new file mode 100644 index 0000000..6a5f913 --- /dev/null +++ b/main/interface/man-spreadsheet.en.tm @@ -0,0 +1,72 @@ + + + + +<\body> + + + provides rudimentary spreadsheet-like facilities with the + advantage that the computations can be carried out using any of the + plug-ins that can be used as a scripting language. In order to use the + spreadsheet facilities, you should therefore start with the selection of a + scripting language in the menu . + + As soon as you have selecting a scripting language, such as , + then you may enter a new spreadsheet using or . You may edit the + spreadsheet as an ordinary table, except that the key will + attempt to reevaluate the cells of the table. + + In addition, when preceding the contents of a cell by =, then cell will be + considered as an input-output switch. More precisely, the input is a + formula which will be evaluated using the current scripting language. After + the evaluation, only the result of the evaluation is shown in the cell. + After pressing a second time in the cell, it will be possible + switch back and edit the input. In the formulas, one may refer to the + others using names such as c5 for the third row and the fifth column. + + <\example> + On the left-hand side of the figure below, we have displayed a simple + table with formulas for evaluating the sums of the first two items of + each row. On the right-hand side, we have shown the result after + evaluation. + + <\big-figure|||>|>|>>|>|>|>>>>>>||>|>|>>>|>|>|>>>>>>>>>> + Evaluation of a simple spreadsheet. + + + + <\example> + The cells may contain mathematical formulas and the spreadsheet may take + advantage of any of the capacities of the scripting language. For + instance, the figure below demonstrates another possible use of + . + + <\big-figure||||)>>>>>|>>|>>|>>>>>>|||)>>>>>||)>>>>>||)>-4*x*sin + |)>>>>>||)>-8*x*cos + |)>>>>>>>>>>>> + Computation of successive derivatives using . + + + + supports a few special notations for applying operations on all + cells in a subtable. For instance, + + + + + + +<\initial> + <\collection> + + + \ No newline at end of file