def METHOD_NAME(self):
    """
    Output in LaTeX format.
    """
    if self.is_warning:
        latex = '\\emph{%s}\n' % self.current_state
    else:
        latex = f'{self.current_state}\n'
    return latex