tablica pylatex
my_string="Thing" + r" \tab " + "Other thing"
doc.append(NoEscape(my_string))
# LaTeX output:
Thing \tab Other thing
# Text output
Thing Other thing
Powerful Penguin