mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #9737 from ahippo/latex-aggedright
LaTeX: fix '\raggedright' escaping causing "aggedright" text
This commit is contained in:
commit
b097213098
@ -1210,7 +1210,7 @@ class LaTeXTranslator(SphinxTranslator):
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user