math-exercises 1.2.10 → 1.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,7 @@ class Vector {
22
22
  return `\\overrightarrow{${this.name}}`;
23
23
  }
24
24
  toTexWithCoords() {
25
- return `\\overrightarrow{${this.name}}\\begin{pmatrix}${(0, latexParser_1.latexParser)(this.x)} \\${(0, latexParser_1.latexParser)(this.y)} \\end{pmatrix}`;
25
+ return `\\overrightarrow{${this.name}}\\begin{pmatrix}${(0, latexParser_1.latexParser)(this.x)} \\\ ${(0, latexParser_1.latexParser)(this.y)} \\end{pmatrix}`;
26
26
  }
27
27
  scalarProduct(v) {
28
28
  return new addNode_1.AddNode(new multiplyNode_1.MultiplyNode(this.x, v.x), new multiplyNode_1.MultiplyNode(this.y, v.y));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "math-exercises",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "Générateurs d'exercices et questions mathématiques en latex",
5
5
  "main": "src/index.js",
6
6
  "files": [