Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 855e51c

Browse files
authored
Merge pull request #15837 from meeseeksmachine/auto-backport-of-pr-15799-on-v3.2.x
Backport PR #15799 on branch v3.2.x (Improve display of author names on PDF titlepage of matplotlib own docs)
2 parents 6a4807a + c9fee7f commit 855e51c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

doc/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ def _check_dependencies():
295295

296296
latex_documents = [
297297
('contents', 'Matplotlib.tex', 'Matplotlib',
298-
'John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the '
299-
'matplotlib development team', 'manual'),
298+
'John Hunter\\and Darren Dale\\and Eric Firing\\and Michael Droettboom'
299+
'\\and and the matplotlib development team', 'manual'),
300300
]
301301

302302

@@ -307,6 +307,9 @@ def _check_dependencies():
307307
latex_elements = {}
308308
# Additional stuff for the LaTeX preamble.
309309
latex_elements['preamble'] = r"""
310+
% One line per author on title page
311+
\DeclareRobustCommand{\and}%
312+
{\end{tabular}\kern-\tabcolsep\\\begin{tabular}[t]{c}}%
310313
% In the parameters section, place a newline after the Parameters
311314
% header. (This is stolen directly from Numpy's conf.py, since it
312315
% affects Numpy-style docstrings).

0 commit comments

Comments
 (0)