add syntax for batch and latex