Skip to content

Improve sizing of figures in the PDF output #5

Description

@thomaspiller

LaTeX does not interpret image dimensions as defined for the HTML output. This results in many images being too large and lacking definition in the PDF.

One approach to solve this is to use conditional blocks to define different settings for HTML and PDF outputs:

.. only:: html

   .. image:: path/to/your/image.png
      :width: 50%

.. only:: latex

   .. image:: path/to/your/image.png
      :width: 10cm

This was implemented on part of the User interface chapter (b59d71f) and should be extended to the whole documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions