Difference between revisions of "Triangle axiom - affine space"

From JSXGraph Wiki
Jump to navigationJump to search
Line 3: Line 3:
 
<jsxgraph width="500" height="500">
 
<jsxgraph width="500" height="500">
 
JXG.Options.label.autoPosition = true;
 
JXG.Options.label.autoPosition = 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 9: Line 11:
 
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:'pq', label:{position: 'top'}, lastArrow: {type: 4, size: 8}});
+
var pq = board.create('arrow', [p, q], {withLabel: true, name:'\\vec{pq}', label:{position: 'top'}, lastArrow: {type: 4, size: 8}});
var qr = board.create('arrow', [q, r], {withLabel: true, name:'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:'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}});
 
</jsxgraph>
 
</jsxgraph>
 +
 +
[[Category:Examples]]
 +
[[Category:Geometry]]

Revision as of 11:45, 12 April 2021

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