mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX: remove usage of \scalebox by incorporating scale in height/width
Closes: #5954
This commit is contained in:
@@ -1225,7 +1225,7 @@ def test_latex_image_in_parsed_literal(app, status, warning):
|
||||
|
||||
result = (app.outdir / 'Python.tex').text(encoding='utf8')
|
||||
assert ('{\\sphinxunactivateextrasandspace \\raisebox{-0.5\\height}'
|
||||
'{\\scalebox{2.000000}{\\sphinxincludegraphics[height=1cm]{{pic}.png}}}'
|
||||
'{\\sphinxincludegraphics[height=2.00000cm]{{pic}.png}}'
|
||||
'}AFTER') in result
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user