diff --git a/doc/src/Python_examples.rst b/doc/src/Python_examples.rst index 0145726042..6b444e40ed 100644 --- a/doc/src/Python_examples.rst +++ b/doc/src/Python_examples.rst @@ -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% diff --git a/doc/src/balance.rst b/doc/src/balance.rst index 059e01c8ec..fbf8c8fb5f 100644 --- a/doc/src/balance.rst +++ b/doc/src/balance.rst @@ -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 diff --git a/doc/src/create_atoms.rst b/doc/src/create_atoms.rst index 5492fc1199..4239933721 100644 --- a/doc/src/create_atoms.rst +++ b/doc/src/create_atoms.rst @@ -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 ` 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 diff --git a/doc/src/dump_image.rst b/doc/src/dump_image.rst index 9dfcdcebd4..396f1eeb2d 100644 --- a/doc/src/dump_image.rst +++ b/doc/src/dump_image.rst @@ -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 ` commands can also alter what atoms are included in the image. diff --git a/doc/src/fix_balance.rst b/doc/src/fix_balance.rst index a38194c114..0753794aa7 100644 --- a/doc/src/fix_balance.rst +++ b/doc/src/fix_balance.rst @@ -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 diff --git a/doc/src/fix_wall_gran_region.rst b/doc/src/fix_wall_gran_region.rst index d31a2248f8..5d40bdd639 100644 --- a/doc/src/fix_wall_gran_region.rst +++ b/doc/src/fix_wall_gran_region.rst @@ -63,17 +63,22 @@ granular particles when they are close enough to touch the wall. See the :doc:`fix wall/region ` and :doc:`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 `_ 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 `_ +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. ---------- diff --git a/doc/src/neb.rst b/doc/src/neb.rst index d709decb55..fdccdf3d9f 100644 --- a/doc/src/neb.rst +++ b/doc/src/neb.rst @@ -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. ----------