From 26096d3399d8bddc36011dfe6a50fba55853e660 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 19 Aug 2024 04:43:57 -0400 Subject: [PATCH] tweak table widths for smoother display as PDF --- doc/src/Build_development.rst | 2 ++ doc/src/Build_settings.rst | 2 +- doc/src/Developer_plugins.rst | 2 +- doc/src/Developer_unittest.rst | 2 +- doc/src/Developer_updating.rst | 22 ++++++++++++---------- doc/src/Fortran.rst | 4 ++-- doc/src/Howto_tip3p.rst | 4 ++-- doc/src/Howto_tip4p.rst | 4 ++-- doc/src/Howto_tip5p.rst | 4 ++-- doc/src/Modify_gran_sub_mod.rst | 4 +++- doc/src/atom_style.rst | 2 +- doc/src/fitpod_command.rst | 4 ++-- doc/src/mdi.rst | 2 +- doc/src/molecule.rst | 4 ++-- 14 files changed, 34 insertions(+), 28 deletions(-) diff --git a/doc/src/Build_development.rst b/doc/src/Build_development.rst index 832d750d13..9cd938280b 100644 --- a/doc/src/Build_development.rst +++ b/doc/src/Build_development.rst @@ -213,6 +213,7 @@ The output of this command will be looking something like this: The ``ctest`` command has many options, the most important ones are: .. list-table:: + :widths: 20 80 * - Option - Function @@ -336,6 +337,7 @@ paths in the individual source files. The force style test programs have a common set of options: .. list-table:: + :widths: 25 75 * - Option - Function diff --git a/doc/src/Build_settings.rst b/doc/src/Build_settings.rst index 4ab68f4a7d..dc79cc3ed9 100644 --- a/doc/src/Build_settings.rst +++ b/doc/src/Build_settings.rst @@ -308,7 +308,7 @@ LAMMPS system size restrictions .. list-table:: :header-rows: 1 - :widths: auto + :widths: 18 27 28 27 :align: center * - diff --git a/doc/src/Developer_plugins.rst b/doc/src/Developer_plugins.rst index d00982dc63..4cfdc92504 100644 --- a/doc/src/Developer_plugins.rst +++ b/doc/src/Developer_plugins.rst @@ -53,7 +53,7 @@ Members of ``lammpsplugin_t`` .. list-table:: :header-rows: 1 - :widths: auto + :widths: 15 85 * - Member - Description diff --git a/doc/src/Developer_unittest.rst b/doc/src/Developer_unittest.rst index 96144b087d..07ffb0e2d8 100644 --- a/doc/src/Developer_unittest.rst +++ b/doc/src/Developer_unittest.rst @@ -44,7 +44,7 @@ available: .. list-table:: :header-rows: 1 - :widths: auto + :widths: 32 18 50 :align: left * - File name: diff --git a/doc/src/Developer_updating.rst b/doc/src/Developer_updating.rst index f2aa60d6ae..21980be3d8 100644 --- a/doc/src/Developer_updating.rst +++ b/doc/src/Developer_updating.rst @@ -245,36 +245,38 @@ to use scoped enumerators instead. .. list-table:: :header-rows: 1 - :widths: auto + :widths: 23 10 23 10 23 10 * - Symbolic Constant - Value - Symbolic Constant - Value + - Symbolic Constant + - Value * - Atom::GROW + - 0 + - Atom::ATOMIC - 0 - Atom::MAP_NONE - 0 * - Atom::RESTART + - 1 + - Atom::MOLECULAR - 1 - Atom::MAP_ARRAY - 1 * - Atom::BORDER + - 2 + - Atom::TEMPLATE - 2 - Atom::MAP_HASH - 2 - * - Atom::ATOMIC + * - AtomVec::PER_ATOM - 0 - - Atom::MAP_YES - - 3 - * - Atom::MOLECULAR - - 1 - - AtomVec::PER_ATOM - - 0 - * - Atom::TEMPLATE - - 2 - AtomVec::PER_TYPE - 1 + - Atom::MAP_YES + - 3 Old: diff --git a/doc/src/Fortran.rst b/doc/src/Fortran.rst index 3b12ff2117..a1ea9a72df 100644 --- a/doc/src/Fortran.rst +++ b/doc/src/Fortran.rst @@ -1077,7 +1077,7 @@ Procedures Bound to the :f:type:`lammps` Derived Type .. list-table:: :header-rows: 1 - :widths: auto + :widths: 21 20 40 19 * - Style - Type @@ -1167,7 +1167,7 @@ Procedures Bound to the :f:type:`lammps` Derived Type .. list-table:: :header-rows: 1 - :widths: auto + :widths: 20 19 11 11 21 18 * - Style - Type diff --git a/doc/src/Howto_tip3p.rst b/doc/src/Howto_tip3p.rst index 00449d51d3..4b0346ea1a 100644 --- a/doc/src/Howto_tip3p.rst +++ b/doc/src/Howto_tip3p.rst @@ -32,9 +32,9 @@ optimized for a long-range Coulomb solver (e.g. Ewald or PPPM in LAMMPS) model (without fix shake) is desired, for rigid bonds/angles they are ignored. - .. list-table:: +.. list-table:: :header-rows: 1 - :widths: auto + :widths: 38 22 20 20 * - Parameter - TIP3P-CHARMM diff --git a/doc/src/Howto_tip4p.rst b/doc/src/Howto_tip4p.rst index bc6e91b6b0..d1400ec479 100644 --- a/doc/src/Howto_tip4p.rst +++ b/doc/src/Howto_tip4p.rst @@ -70,9 +70,9 @@ parameters adjusted for use with a long-range Coulombic solver OM distance is specified in the :doc:`pair_style ` command, not as part of the pair coefficients. - .. list-table:: +.. list-table:: :header-rows: 1 - :widths: auto + :widths: 36 19 13 15 17 * - Parameter - TIP4P (original) diff --git a/doc/src/Howto_tip5p.rst b/doc/src/Howto_tip5p.rst index 4bb9754875..438e8b4088 100644 --- a/doc/src/Howto_tip5p.rst +++ b/doc/src/Howto_tip5p.rst @@ -32,9 +32,9 @@ The table below lists the force field parameters (in real :doc:`units ` and the TIP5P-E model :ref:`(Rick) ` for use with a long-range Coulombic solver (e.g. Ewald or PPPM in LAMMPS). - .. list-table:: +.. list-table:: :header-rows: 1 - :widths: auto + :widths: 50 25 25 * - Parameter - TIP5P diff --git a/doc/src/Modify_gran_sub_mod.rst b/doc/src/Modify_gran_sub_mod.rst index c70f3e0759..b61046e3c1 100644 --- a/doc/src/Modify_gran_sub_mod.rst +++ b/doc/src/Modify_gran_sub_mod.rst @@ -37,6 +37,7 @@ includes several public variables that describe the geometry/dynamics of the contact such as .. list-table:: + :widths: 25 75 * - ``xi`` and ``xj`` - Positions of the two contacting bodies @@ -64,6 +65,7 @@ GranSubMod classes. All GranSubMod classes share several general methods which m need to be defined .. list-table:: + :widths: 25 75 * - ``mix_coeff()`` - Optional method to define how coefficients are mixed for different atom types. By default, coefficients are mixed using a geometric mean. @@ -78,6 +80,7 @@ Correspondingly, the Heat sub-model has a ``calculate_heat()`` method. Lastly, the Normal sub-model has a few extra optional methods: .. list-table:: + :widths: 25 75 * - ``touch()`` - Tests whether particles are in contact. By default, when particles overlap. @@ -116,7 +119,6 @@ set of files ``gran_sub_mod_custom.h``: protected: double k1, k2, delta_switch; }; - } // namespace Granular_NS } // namespace LAMMPS_NS diff --git a/doc/src/atom_style.rst b/doc/src/atom_style.rst index 7a48234d5f..8e9d1073aa 100644 --- a/doc/src/atom_style.rst +++ b/doc/src/atom_style.rst @@ -103,7 +103,7 @@ the Additional Information section below. .. list-table:: :header-rows: 1 - :widths: auto + :widths: 12 28 18 32 * - Atom style - Attributes diff --git a/doc/src/fitpod_command.rst b/doc/src/fitpod_command.rst index 3b348fa339..de52e0545b 100644 --- a/doc/src/fitpod_command.rst +++ b/doc/src/fitpod_command.rst @@ -44,7 +44,7 @@ file (i.e. ``Ta_param.pod``) .. list-table:: :header-rows: 1 - :widths: auto + :widths: 40 9 10 41 * - Keyword - Default @@ -139,7 +139,7 @@ in the example above): .. list-table:: :header-rows: 1 - :widths: auto + :widths: 38 9 10 43 * - Keyword - Default diff --git a/doc/src/mdi.rst b/doc/src/mdi.rst index cdb5e432cc..a55a3b8838 100644 --- a/doc/src/mdi.rst +++ b/doc/src/mdi.rst @@ -101,7 +101,7 @@ letter perform actions. Commands that start with "@" are MDI "node" commands, which are described further below. .. list-table:: - :widths: 20 80 + :widths: 33 67 :header-rows: 1 * - Command name diff --git a/doc/src/molecule.rst b/doc/src/molecule.rst index 55972d79bb..903084379b 100644 --- a/doc/src/molecule.rst +++ b/doc/src/molecule.rst @@ -194,9 +194,9 @@ appear if the value(s) are different than the default, except when defining a *body* particle, which requires setting the number of *atoms* to 1, and setting the *inertia* in a specific section (see below). - .. list-table:: +.. list-table:: :header-rows: 1 - :widths: auto + :widths: 20 13 42 15 * - Number(s) - Keyword