latex's `'pxunit''s default written .75bp` for conciseness

It boils down to exact same value (`̀ 49336sp``) as formerly.
This commit is contained in:
jfbu 2017-02-09 14:13:09 +01:00
parent f2111d8f8a
commit a9fba76829
2 changed files with 4 additions and 3 deletions

View File

@ -1713,8 +1713,9 @@ These options influence LaTeX output. See further :doc:`latex`.
``'12pt'``), default ``'10pt'``.
``'pxunit'``
the value of the ``px`` when used in image attributes ``width`` and
``height``. The default value is ``'49336sp'`` which achieves
``96px=1in`` (``1in = 72.27*65536 = 4736286.72sp``, and all dimensions
``height``. The default value is ``'0.75bp'`` which achieves
``96px=1in`` (``1in = 72bp = 72.27pt`` in TeX, and ``1pt=65536sp``,
all dimensions
in TeX are internally integer multiples of ``sp``). To obtain for
example ``100px=1in``, one can use ``'0.01in'`` but it is more precise
to use ``'47363sp'``. To obtain ``72px=1in``, use ``'1bp'``.

View File

@ -50,7 +50,7 @@ DEFAULT_SETTINGS = {
'latex_engine': 'pdflatex',
'papersize': 'letterpaper',
'pointsize': '10pt',
'pxunit': '49336sp',
'pxunit': '.75bp',
'classoptions': '',
'extraclassoptions': '',
'maxlistdepth': '',