Skip to content

Commit

Permalink
Merge pull request #9737 from ahippo/latex-aggedright
Browse files Browse the repository at this point in the history
LaTeX: fix '\raggedright' escaping causing "aggedright" text
  • Loading branch information
tk0miya committed Oct 23, 2021
2 parents b60c43e + b3bce77 commit b097213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/writers/latex.py
Expand Up @@ -1210,7 +1210,7 @@ def visit_hlist(self, node: Element) -> None:
ncolumns = node['ncolumns']
if self.compact_list > 1:
self.body.append(r'\setlength{\multicolsep}{0pt}' + CR)
self.body.append(r'\begin{multicols}{' + ncolumns + '}\raggedright' + CR)
self.body.append(r'\begin{multicols}{' + ncolumns + r'}\raggedright' + CR)
self.body.append(r'\begin{itemize}\setlength{\itemsep}{0pt}'
r'\setlength{\parskip}{0pt}' + CR)
if self.table:
Expand Down

0 comments on commit b097213

Please sign in to comment.