Difference between revisions of "Triangle axiom - affine space"

From JSXGraph Wiki
Jump to navigationJump to search
Line 7: Line 7:
 
<jsxgraph width="500" height="500">
 
<jsxgraph width="500" height="500">
 
JXG.Options.label.autoPosition = true;
 
JXG.Options.label.autoPosition = true;
JXG.Options.label.useMathJax = true;
+
JXG.Options.text.useMathJax = true;
  
 
var board = JXG.JSXGraph.initBoard("jxgbox", [-5,5,5,-5]);
 
var board = JXG.JSXGraph.initBoard("jxgbox", [-5,5,5,-5]);
Line 15: Line 15:
 
var r = board.create('point', [3, -3], {name:'r'});
 
var r = board.create('point', [3, -3], {name:'r'});
  
var pq = board.create('arrow', [p, q], {withLabel: true, name:'$\\vec{pq}$', label:{position: 'top', parse: false}, lastArrow: {type: 4, size: 8}});
+
var pq = board.create('arrow', [p, q], {withLabel: true, name:'$\\vec{pq}$', label:{position: 'top', parse: true}, lastArrow: {type: 4, size: 8}});
 
var qr = board.create('arrow', [q, r], {withLabel: true, name:'\\vec{qr}', label:{position: 'top'}, lastArrow: {type: 4, size: 8}});
 
var qr = board.create('arrow', [q, r], {withLabel: true, name:'\\vec{qr}', label:{position: 'top'}, lastArrow: {type: 4, size: 8}});
 
var pr = board.create('arrow', [p, r], {withLabel: true, name:'\\vec{pr}', label:{position: 'top'}, lastArrow: {type: 4, size: 8}});
 
var pr = board.create('arrow', [p, r], {withLabel: true, name:'\\vec{pr}', label:{position: 'top'}, lastArrow: {type: 4, size: 8}});

Revision as of 11:50, 12 April 2021

Axiom (A2) "triangle rule" for affine spaces.