def visit_literal(self, node: Element) -> None:
    if self.is_samp(node):
        self.in_samp += 1
    self.body.append('@code{')
def visit_literal(self, node: Element) -> None:
    if self.is_samp(node):
        self.in_samp += 1
    self.body.append('@code{')