'Section and other titles.'

def visit_title(self, node):

    if isinstance(node.parent, nodes.topic):
        self.bookmark(node)
        if (('contents' in self.topic_classes) and self.use_latex_toc):
            self.body.append('\\renewcommand{\\contentsname}{')
            self.context.append('}\n\\tableofcontents\n\n\\bigskip\n')
        elif (('abstract' in self.topic_classes) and self.settings.use_latex_abstract):
            raise nodes.SkipNode
        else:
            self.body.append('\\subsubsection*{~\\hfill    ')
            self.context.append('\\hfill    ~}\n')
    elif (isinstance(node.parent, nodes.sidebar) or isinstance(node.parent, nodes.admonition)):
        self.body.append('\\textbf{\\large    ')
        self.context.append('}\n\\smallskip\n')
    elif isinstance(node.parent, nodes.table):
        self.active_table.caption = self.encode(node.astext())
        raise nodes.SkipNode
    elif (self.section_level == 0):
        self.title = self.encode(node.astext())
        if (not (self.pdfinfo == None)):
            self.pdfinfo.append(('pdftitle={%s}' % self.encode(node.astext())))
        raise nodes.SkipNode
    else:
        self.body.append('\n\n')
        self.body.append(('%' + ('_' * 75)))
        self.body.append('\n\n')
        self.bookmark(node)
        if self.use_latex_toc:
            section_star = ''
        else:
            section_star = '*'
        section_name = self.d_class.section(self.section_level)
        self.body.append(('\\%s%s{' % (section_name, section_star)))
        self.context.append('}\n')
