make horizontally aligned image formatting consistent and display "click on" message only with html output

This commit is contained in:
Axel Kohlmeyer 2020-07-23 00:35:49 -04:00
parent b97f2e5b6b
commit c21ce0b289
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
7 changed files with 67 additions and 47 deletions

View File

@ -80,16 +80,23 @@ See the python/README file for instructions on how to run them and the
source code for individual scripts for comments about what they do.
Here are screenshots of the vizplotgui_tool.py script in action for
different visualization package options. Click to see larger images:
different visualization package options:
.. image:: img/screenshot_gl.jpg
:scale: 15%
.. |pyex1| image:: img/screenshot_gl.jpg
:width: 24%
.. image:: img/screenshot_atomeye.jpg
:scale: 15%
.. |pyex2| image:: img/screenshot_atomeye.jpg
:width: 24%
.. image:: img/screenshot_pymol.jpg
:scale: 15%
.. |pyex3| image:: img/screenshot_pymol.jpg
:width: 24%
.. |pyex4| image:: img/screenshot_vmd.jpg
:width: 24%
|pyex1| |pyex2| |pyex3| |pyex4|
.. raw:: html
Click to see larger versions of the images.
.. image:: img/screenshot_vmd.jpg
:scale: 15%

View File

@ -177,16 +177,16 @@ volume (area in 2d) assigned to each processor, as in the following 2d
diagram where processor sub-domains are shown and particles are
colored by the processor that owns them.
.. list-table::
.. |balance1| image:: img/balance_uniform.jpg
:width: 32%
* - .. figure:: img/balance_uniform.jpg
:scale: 50%
.. |balance2| image:: img/balance_nonuniform.jpg
:width: 32%
- .. figure:: img/balance_nonuniform.jpg
:scale: 50%
.. |balance3| image:: img/balance_rcb.jpg
:width: 32%
- .. figure:: img/balance_rcb.jpg
:scale: 50%
|balance1| |balance2| |balance3|
The leftmost diagram is the default partitioning of the simulation box
across processors (one sub-box for each of 16 processors); the middle

View File

@ -257,8 +257,7 @@ individual lattice points being "above" or "below" the mathematical
expression for the sinusoidal curve. If a finer lattice were used,
the sinusoid would appear to be "smoother". Also note the use of the
"xlat" and "ylat" :doc:`thermo_style <thermo_style>` keywords which
converts lattice spacings to distance. Click on the image for a
larger version.
converts lattice spacings to distance.
.. code-block:: LAMMPS
@ -279,6 +278,10 @@ larger version.
:scale: 50%
:align: center
.. raw:: html
Click on the image for a larger version.
The *rotate* keyword allows specification of the orientation
at which molecules are inserted. The axis of rotation is
determined by the rotation vector (Rx,Ry,Rz) that goes through the

View File

@ -116,17 +116,17 @@ script to generate the images/movie.
Here are two sample images, rendered as 1024x1024 JPEG files.
.. |dump1| image:: img/dump1.jpg
:width: 48%
.. |dump2| image:: img/dump2.jpg
:width: 48%
|dump1| |dump2|
.. raw:: html
Click to see the full-size images:
.. |dump1| image:: img/dump1.jpg
:scale: 48%
.. |dump2| image:: img/dump2.jpg
:scale: 48%
|dump1| |dump2|
Only atoms in the specified group are rendered in the image. The
:doc:`dump_modify region and thresh <dump_modify>` commands can also
alter what atoms are included in the image.

View File

@ -156,16 +156,16 @@ assigned to each processor, as in the following 2d diagram where
processor sub-domains are shown and atoms are colored by the processor
that owns them.
.. list-table::
.. |balance1| image:: img/balance_uniform.jpg
:width: 32%
* - .. figure:: img/balance_uniform.jpg
:scale: 50%
.. |balance2| image:: img/balance_nonuniform.jpg
:width: 32%
- .. figure:: img/balance_nonuniform.jpg
:scale: 50%
.. |balance3| image:: img/balance_rcb.jpg
:width: 32%
- .. figure:: img/balance_rcb.jpg
:scale: 50%
|balance1| |balance2| |balance3|
The leftmost diagram is the default partitioning of the simulation box
across processors (one sub-box for each of 16 processors); the middle

View File

@ -63,17 +63,22 @@ granular particles when they are close enough to touch the wall. See
the :doc:`fix wall/region <fix_wall_region>` and :doc:`fix wall/gran <fix_wall_gran>` commands for related kinds of walls for
non-granular particles and simpler wall geometries, respectively.
Here are snapshots of example models using this command.
Corresponding input scripts can be found in examples/granregion.
Click on the images to see a bigger picture. Movies of these
simulations are `here on the Movies page <https://lammps.sandia.gov/movies.html#granregion>`_ of the LAMMPS
web site.
Here are snapshots of example models using this command. Corresponding
input scripts can be found in examples/granregion. Movies of these
simulations are `here on the Movies page <https://lammps.sandia.gov/movies.html#granregion>`_
of the LAMMPS web site.
.. image:: img/gran_funnel.png
:scale: 50%
.. |wallgran1| image:: img/gran_funnel.png
:width: 48%
.. image:: img/gran_mixer.png
:scale: 50%
.. |wallgran2| image:: img/gran_mixer.png
:width: 48%
|wallgran1| |wallgran2|
.. raw:: html
Click on the images to see a bigger picture.
----------

View File

@ -392,15 +392,20 @@ barrier.
To illustrate, here are images from the final snapshot produced by the
neb_combine.py script run on the dump files produced by the two
example input scripts in examples/neb. Click on them to see a larger
image.
example input scripts in examples/neb.
.. image:: img/hop1.jpg
:scale: 50%
.. image:: img/hop2.jpg
:scale: 50%
.. |neb1| image:: img/hop1.jpg
:width: 48%
.. |neb2| image:: img/hop2.jpg
:width: 48%
|neb1| |neb2|
.. raw:: html
Click on them to see a larger image.
----------