Compare two revisions of: genericJSXVisualization vs genericGWTVisualization

... ... @@ -41,8 +41,8 @@ For ways to circumvent this behaviour, if really needed, [see below](#Lines-and-
41 41
42 42 1. Sliders are now handled like other variables, and are displayed in the canvas in the lower left corner
43 43 (if listed in the plot command).
44 -2. The new syntax for defining them is `\slider[stepsize]{name}{field}{initialvalue}{leftbound}{rightbound}`
45 -3. Left and right bound may be any expressions evaluating to numbers, but will not change if elements occuring in the
44 +2. The new syntax for defining them is `\slider[stepsize]{name}{initialvalue, leftbound, rightbound}`
45 +3. Left and right bound may be any expressions evaluating to numbers, but will not change if elements occurring in the
46 46 expression change.
47 47 4. The bounds of the slider can not be made editable any more.
48 48 5. Using sliders in text shows its value.
... ... @@ -51,7 +51,7 @@ depend on the slider, and changing the slider will include changes of elements d
51 51
52 52 ## Vectors and Affines
53 53
54 -1. A vector always starts at the origin. It is given by a point, its endpoint. Therefore a vector can never be dragged.
54 +1. A vector always starts at the origin. It is given by a point, its endpoint. Therefore, a vector can never be dragged.
55 55 But is intimitely connected to its point (as lines to their points).
56 56
57 57 2. An affine vector can be given
... ... @@ -98,7 +98,7 @@ would be p[x]^2+p[y]^2<2.
98 98 or by two points and a number (center, starting point, size of angle),
99 99 or by a point and 3 numbers (center, radius, starting angle, end angle).
100 100 In case of an Angle defined by two or more points, there can be provided a further number (scaling factor). Syntax is
101 -`\angle[editable]{name}{field}{value}` and `\arc[editable]{name}{field}{value}`, where _value_ is the comma separated list
101 +`\angle[editable]{name}{value}` and `\arc[editable]{name}{value}`, where _value_ is the comma separated list
102 102 of one of the defining data (in the order listed above).
103 103 * **Showing coordinates of points** on mouseover is now possible by using „showPointCoords“ in the optional value for the \plot-command.
104 104 * For **function graphs and parametricCurves** one can use any parameter different from variable names and predefined names
... ... @@ -112,7 +112,7 @@ for the field _rational_ it denotes the denominator of the fraction to which the
112 112 The feature in the case of rationals should be used with care, as it may cause problems when using it with depending objects.
113 113 * The new visualizations can be used with problems:
114 114 * use number and function variables from the problem or a question via
115 - `\problem{varname}{fieldtype}` or via `\question{questionnr}{varname}{fieldtype}` <br>
115 + `\problem{varname}` or via `\question{questionnr}{varname}` <br>
116 116 **Warning:** Whether the visualization considers the imported variable as number or as
117 117 function depends on whether the term has an indeterminate.
118 118 * provide number values or function values as answers using the command
... ... @@ -122,7 +122,7 @@ The feature in the case of rationals should be used with care, as it may cause p
122 122 More details on using data of visualizations as answers are provided under
123 123 [graphical problems](JSX-Visualizations.md#using-visualizations-with-problems)
124 124 * Text can be placed within the canvas, by defining a variable with the `string`-command. Syntax is
125 -`\string[editable]{name}{field}{value}{position}`.
125 +`\string[editable]{name}{value}{position}`.
126 126
127 127
128 128 # Tipps and Tricks
... ... @@ -152,9 +152,9 @@ Example:
152 152
153 153 ```LaTeX
154 154 \begin{variables}
155 - \function{f}{real}{x^2+2}
156 - \pointOnCurve[editable]{p}{real}{f}{2}
157 - \point{q}{real}{p[x]+1,p[y]+2}
158 - \line{l}{real}{p,q}
155 + \function{f}{x^2+2}
156 + \pointOnCurve[editable]{p}{f}{2}
157 + \point{q}{p[x]+1,p[y]+2}
158 + \line{l}{p,q}
159 159 \end{variables}
160 160 ```
161 161