[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /html/adm/help/tex Authoring_Output_Tags.tex

raeburn raeburn at source.lon-capa.org
Fri Jan 22 12:24:44 EST 2021


raeburn		Fri Jan 22 17:24:44 2021 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/html/adm/help/tex	Authoring_Output_Tags.tex 
  Log:
  - For 2.11
  - Remove doc for <lm> (2.12 feature).
  
  
Index: loncom/html/adm/help/tex/Authoring_Output_Tags.tex
diff -u loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.27 loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.27.2.1
--- loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.27	Fri Jan 22 17:16:31 2021
+++ loncom/html/adm/help/tex/Authoring_Output_Tags.tex	Fri Jan 22 17:24:44 2021
@@ -206,77 +206,6 @@
 You will get the equation rendered with no +-, no matter what value
 \$b may take on.
 
-
-\item \textbf{lm}\index{lm}\index{equations}: This is another way to input math, which does not require
-knowing \LaTeX{}.
-The lm syntax describes mathematical operations rather than appearance (as opposed to LaTeX, which describes how the math should appear). Display is the same when the math operations are the same, for instance 2*(x) will be displayed just like 2x. One advantage to that system is that math will be displayed in a consistent way, even when written by several authors. The drawback is that display cannot be chosen precisely.
-Eventually, this syntax will also be used to evaluate \texttt{<formularesponse>} (it is already used for the real-time preview).
-
-\begin{description}
-\item[Spaces]~\\
-    Spaces are always ignored.
-
-\item[Decimal separators and function parameter separators]~\\
-    To keep compatible with previous \texttt{<formularesponse>} syntax, only ``.'' can be used as a decimal separator, and ``,'' is used to separate function and vector/matrix parameters.
-    
-\item[Variables and constants]~\\
-    Variable names and constant names are used directly, without any special character before. They are displayed in italics.
-    
-\item[Units]~\\
-    Unit names are used directly. They are displayed with a straight font. LON-CAPA has a list of known units and a list of known constants to differentiate them in units mode.
-    
-\item[Parenthesis]~\\
-    Parenthesis can be used to specify evaluation order. They are only displayed when necessary.
-    
-\item[Operators]~\\
-    arithmetic: \texttt{+ - * / \^{}}\\
-    factorial: \texttt{!}\\
-    relational: \texttt{= \# < <= >= >}\\
-    units: \texttt{`}\\
-    Example: \texttt{2`m + 3`m = 5`m}\\
-    scalar product for vectors, multiplication for matrices: \texttt{.}\\
-
-\item[Implicit operators]~\\
-    \texttt{*} and \texttt{`} are implicit.
-
-    The parser will try to guess which operator is missing whenever possible. The choice between * and ` depends on the mode for interpreting equations.
-
-    Example: \texttt{2c+3m/s} is understood in unit mode to be \texttt{2*c + 3`(m/s)}. In symbolic mode, it would be interpreted \texttt{2*c + (3*m)/s} (m and s being variables).
-    
-\item[Functions]~\\
-    Functions use the syntax \texttt{f(a,b)}.
-
-        basic:
-
-        \quad \texttt{sqrt(x)}, \texttt{abs(x)}, \texttt{exp(x)=e\^{}x}, \texttt{factorial(x)=x!}
-
-        binomial (displayed like a vector):
-
-        \quad \texttt{binomial(n,p)=n!/(p!*(n-p)!)}
-
-        sum and product (requiring symbolic mode):
-
-        \quad \texttt{sum(f(x),x,x1,x2)}, \texttt{product(f(x),x,x1,x2)}
-
-        differential, integral, limit:
-
-        \quad \texttt{diff(expr,x,n)}, \texttt{integrate(expr,x,a,b)}, \texttt{limit(expr,x,val,dir)}
-
-\item[Vectors and matrices]~\\
-    Vectors and matrices are defined with square brackets. A matrix is made of a list of row vectors.
-
-        vectors: \texttt{[1,2,3]}\\
-        matrices: \texttt{[[1,2],[3,4]]}
-
-\item[Sets]~\\
-    Sets are defined with curly brackets: \texttt{\{1,2,3\}}
-
-        union: \texttt{union(\{1,2\},\{1,3\}) = \{1,2,3\}}\\
-        intersection: \texttt{intersection(\{1,2\},\{1,3\}) = \{1\}}
-    
-\end{description}
-
-
 \item \textbf{randomlabel}\index{randomlabel}: This shows a specified image
 with images or text labels randomly assigned to a set of specific
 locations. Those locations may also have values assigned to them.




More information about the LON-CAPA-cvs mailing list