hi,

I am trying to control the width of my images depending on the type of
output. Is there a better way to do the below?

.. only:: latex

    .. _node-architecture:

    .. figure:: figures/node.*
        :width: 5in

        High-level node architecture

.. only:: not latex

    .. _node-architecture:

    .. figure:: figures/node.*

        High-level node architecture


Mathieu
-- 
Mathieu Lacage <mathieu.lac...@gmail.com>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to