code: protected function getSpacesByWord($word)
  	{
  		$length = $this->getSideBordersLength() + static::SPACE_FROM_ARROW + static::ARROW_WIDTH;
  
  		$extra = $this->getHalfWidth(true) - $length - strlen($word);
  
  		return $extra > 0 ? str_repeat(' ', $extra) : '';
  	}
docs: Retrieve the blank spaces close to a word.
  
  @author	Andrea Marco Sartori
  @param	string	$word
  @return	string