Accueil › Forums › Programmation WIMS › Programmation d’exercices OEF › mathml input et tableau de variation › Répondre à : mathml input et tableau de variation
14 mai 2017 à 08:34
#3842
Participant
::
Hi,
I’m not sure what your problem is, but I guess it’s the \hline…this is not implemented in wims_mathml (item2mml).
see changelog:
added extra (non LaTeX) option to \begin{array}{} commmand.
now a single "-" will produce on all rows a "\hline"
now "-.-.-" will produce a hline under row1,row3,row5
(the MathML code attribute is: rowlines="solid none solid none solid")
The options do not adversely interfere with normal latex (for gif)
example:
\begin{array}{c|c:|c-.-.-.}
1 & 2 & 3 \\
1 & 2 & 3 \\
1 & 2 & 3 \\
1 & 2 & 3 \\
1 & 2 & 3 \\
1 & 2 & 3
\end{array}
Or in your example:
\special{mathmlinput [
\begin{array}{-c|lcccr|}
x & -\infty & & 0 & & +\infty \\
& +\infty & & & & +\infty \\
x^2 & & \searrow & & \nearrow & \\
& & &reply1 & & \\
\end{array}],6
reply1,3}