def _parse_title(self):
command = LatexCommand(<EOL>'<STR_LIT:title>',<EOL>{'<STR_LIT:name>': '<STR_LIT>', '<STR_LIT>': False, '<STR_LIT>': '<STR_LIT:[>'},<EOL>{'<STR_LIT:name>': '<STR_LIT>', '<STR_LIT>': True, '<STR_LIT>': '<STR_LIT:{>'})<EOL>try:<EOL><INDENT>parsed = next(command.parse(self._tex))<EOL><DEDENT>except StopIteration:<EOL><INDENT>self._logger.warning('<STR_LIT>')<EOL>self._title = None<EOL>self._short_title = None<EOL><DEDENT>self._title = parsed['<STR_LIT>']<EOL>try:<EOL><INDENT>self._short_title = parsed['<STR_LIT>']<EOL><DEDENT>except KeyError:<EOL><INDENT>self._logger.warning('<STR_LIT>')<EOL>self._short_title = None<EOL><DEDENT>
Parse the title from TeX source.

        Sets these attributes:

        - ``_title``
        - ``_short_title``