... |
... |
@@ -49,6 +49,24 @@ The environment `\begin{variables} ... \end{variables}` can be set for the whole |
49 |
49 |
* $$d=5$$ and |
50 |
50 |
* functions $$f=\frac{12}{4}$$ and $$g=\frac{10}{5}$$ |
51 |
51 |
|
|
52 |
+# Names of variables |
|
53 |
+ |
|
54 |
+The names of your variables are restricted to some constraints: |
|
55 |
+* It must only contain the standard letters (a-z and A-Z), digits (0-9), and underscore (\_ ), |
|
56 |
+* It has to begin with a standard letter (a-z or A-Z), |
|
57 |
+* It must not be equal to a predefined constant or function (see [expression syntax](Expression-Syntax-For-Generic-Applets.md)) |
|
58 |
+ |
|
59 |
+It is not excluded that other names may also work, but it is highly recommended to stick to the constraints given above. |
|
60 |
+ |
|
61 |
+Variable names are case sensitive, e.g. |
|
62 |
+```LaTeX |
|
63 |
+\begin{variables} |
|
64 |
+ \number{a}{12} |
|
65 |
+ \function{A}{a+2} |
|
66 |
+\end{variables} |
|
67 |
+``` |
|
68 |
+results in two variables, one named `a` with value 12 and one named `A` with value 14. |
|
69 |
+ |
52 |
70 |
# Commands |
53 |
71 |
|
54 |
72 |
|Command|Description|Details| |
55 |
73 |
|