prev  next 
File:  Presentation/TokenElements/mo/moAlrspace13.xml (mml file)  
Author:  Robert Miner and Jeff Schaefer, Geometry Technologies  
Description:  This tests the 'lspace' and 'rspace' attributes for <mo>. Ordinarily, these are set by the operator dictionary, and that isn't really tested here (except for +). This test also checks that CSS units are being processed for the attribute values. Units should be ems by default.  
Sample Rendering: 

Your browser's rendering:
$x+x+x+x+x+x$
Source Code:
<math> <mi>x</mi> <mo>+</mo> <mi>x</mi> <mo lspace='0px'>+</mo> <mi>x</mi> <mo rspace='0%'>+</mo> <mi>x</mi> <mo lspace='2em' rspace='1em'>+</mo> <mi>x</mi> <mo lspace='1cm' rspace='10px'>+</mo> <mi>x</mi> </math>