docs: function factory( options, clbk ) {
  	var opts;
  	var err;
  	opts = copy( defaults );
  	err = validate( opts, options );
  	if ( err ) {
  		throw err;
  	}
  	if ( !isFunction( clbk ) ) {
  		throw new TypeError( 'invalid input argument. Callback argument must be a function. Value: `' + clbk + '`.' );
  	}
  	if ( opts.inline === true ) {
  		opts.format = 'inline-TeX';
  	}
  	delete opts.inline;
  	/**
  	* FUNCTION: tex2svg( str )
  	*	Converts a TeX or LaTeX string to an SVG.
  	*
  	* @param {String} str - string to convert
  	* @returns {Void}
  	*/
  	return function tex2svg( str ) {
  		if ( !isString( str ) ) {
  			throw new TypeError( 'invalid input argument. Must provide a string primitive. Value: `' + str + '`.' );
  		}
  		opts.math = str;
  		mathjax.typeset( opts, done );
  		/**
  		* FUNCTION: done( data )
  		*	Callback invoked upon converting a string to SVG.
  		*
  		* @private
  		* @param {Object} data - output
  		* @returns {Void}
  		*/
  		function done( data ) {
  			var err;
  			if ( data.errors ) {
  				err = new Error( data.errors[ 0 ] );
  				return clbk( err );
  			}
  			clbk( null, data.svg );
  		} // end FUNCTION done()
  	}; // end FUNCTION tex2svg()
  }