<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def latex_name(self):
 """Return the name of the class used in LaTeX. It can be `None` when the class doesn't have a name. """

        star = ('*' if self._star_latex_name else '')
        if self._latex_name is not None:
            return self._latex_name + star
        return self.__class__.__name__.lower() + star