问题
I am making my python docs with sphinx-apidoc. But some text seems messed up because the line does not break in certain cases.
I have tried to set latex_elements on config.py with preamble, but the result is the same. You can also see that the methods table also is a little confusing with a word in front of the other.
latex_elements = {
'papersize': 'a4paper',
'pointsize': '12pt',
'figure_align': 'htbp',
'preamble': r'''
\usepackage[draft]{minted}
\fvset{breaklines=true}
''',
}
Have you had the same problem ?
来源:https://stackoverflow.com/questions/60251546/sphinx-latex-break-line-autodoc