Accueil › Forums › Programmation WIMS › Programmation d’exercices OEF › texmath › Répondre à : texmath
2 mai 2016 à 13:55
#3353
Maître des clés
::
En fait,
Il y a deux problèmes :
\text{D=texmath((x-\d)(x+\d))}
Affiche dans le debug seulement (x-2) et jamais (x-2)(x+2), comme si la commande texmath ne prenait pas en copte toute l’expression. Si je tape
\text{D=texmath((x-\d \right)\left(x+\d))}
Le deuxième problème, c’est quand d est négatif. Dans le debug, j’ai alors (x-+2\right)\left(x++2) ce qui me conforte dans le problème de compréhension des parenthèses par la commande texmath.
JBa