doc: (fixes #1253) Fix rendering of <tt>

This commit is contained in:
Tom Henderson
2025-08-13 15:47:45 -07:00
parent 298963a0c2
commit 8c3d805cfa
4 changed files with 13 additions and 13 deletions

View File

@@ -337,7 +337,7 @@ The following is the general outline of a module documentation in ns-3:
Examples
~~~~~~~~
For many submissions, it will be important to include at least one example that exercises the new code, so the reviewer understands how it is intended to be used. For final submission, please consider to add as many examples as you can that will help new users of your code. The <tt>samples/</tt> and <tt>examples/</tt> directories are places for these files.
For many submissions, it will be important to include at least one example that exercises the new code, so the reviewer understands how it is intended to be used. For final submission, please consider to add as many examples as you can that will help new users of your code. The ``samples/`` and ``examples/`` directories are places for these files.
Tests
~~~~~

View File

@@ -98,7 +98,7 @@ const Matrix A2p0 = {
* \param [in] s Second multiplicative argument.
* \param [in] c Additive argument.
* \param [in] m Modulus.
* \returns <tt>(a*s +c) MOD m</tt>
* \returns ``(a*s +c) MOD m``
*/
double MultModM (double a, double s, double c, double m)
{

View File

@@ -69,18 +69,18 @@ class Tag;
* @enddot
*
* - Tags are stored in serialized form in a tree of TagData
* structures. (<tt>T1-T7</tt> in the diagram)
* structures. (``T1-T7`` in the diagram)
*
* - Each TagData points (\c next pointers in the diagram)
* toward the root of the tree, which is a null pointer.
*
* - \c count is the number of incoming pointers to this
* TagData. Branch points, where branches merge or join, have
* <tt>count \> 1</tt> (\c T3, \c T5); successive links along
* a branch have <tt>count = 1</tt> (\c T1, \c T2, \c T4, \c T6, \c T7).
* ``count \> 1`` (\c T3, \c T5); successive links along
* a branch have ``count = 1`` (\c T1, \c T2, \c T4, \c T6, \c T7).
*
* - Each PacketTagList points to a specific TagData,
* which is the most recent Tag added to the packet. (<tt>T5-T7</tt>)
* which is the most recent Tag added to the packet. (``T5-T7``)
*
* - Conceptually, therefore, each Packet has a PacketTagList which
* points to a singly-linked list of TagData.

View File

@@ -27,13 +27,13 @@
* Example of TopologyReader: read in a topology in a specified format.
*
* This example can be used with the following parameters:
* - <tt>--format=Inet --input=src/topology-read/examples/Inet_small_toposample.txt</tt>
* - <tt>--format=Inet --input=src/topology-read/examples/Inet_toposample.txt</tt>
* - <tt>--format=Orbis --input=src/topology-read/examples/Orbis_toposample.txt</tt>
* - <tt>--format=Rocket
* --input=src/topology-read/examples/RocketFuel_sample_4755.r0.cch_maps.txt</tt>
* - <tt>--format=Rocket
* --input=src/topology-read/examples/RocketFuel_toposample_1239_weights.txt</tt>
* - ``--format=Inet --input=src/topology-read/examples/Inet_small_toposample.txt``
* - ``--format=Inet --input=src/topology-read/examples/Inet_toposample.txt``
* - ``--format=Orbis --input=src/topology-read/examples/Orbis_toposample.txt``
* - ``--format=Rocket
* --input=src/topology-read/examples/RocketFuel_sample_4755.r0.cch_maps.txt``
* - ``--format=Rocket
* --input=src/topology-read/examples/RocketFuel_toposample_1239_weights.txt``
*/
using namespace ns3;