Index: src/sans/models/media/model_functions.rst
===================================================================
--- src/sans/models/media/model_functions.rst	(revision eacf6a8c90a006ec898dc069e532baeb0e99d197)
+++ src/sans/models/media/model_functions.rst	(revision c5442fb9c93b55a4ff1953361bf88eb0245cf572)
@@ -267,8 +267,9 @@
 
 
-.. _References:
+.. _REFERENCE
 
 3. References
 -------------
+
 *Small-Angle Scattering of X-Rays*
 A. Guinier and G. Fournet
@@ -448,10 +449,10 @@
 From the reference
 
-The "fuzziness" of the interface is defined by the parameter |sigma| :sub:`fuzzy`\ . The particle radius *R*
-represents the radius of the particle where the scattering length density profile decreased to 1/2 of the core
-density. The |sigma| :sub:`fuzzy`\ is the width of the smeared particle surface; i.e., the standard deviation
-from the average height of the fuzzy interface. The inner regions of the microgel that display a higher density
-are described by the radial box profile extending to a radius of approximately *Rbox* ~ *R* - 2\ |sigma|\ . The
-profile approaches zero as *Rsans* ~ *R* + 2\ |sigma|\ .
+  The "fuzziness" of the interface is defined by the parameter |sigma| :sub:`fuzzy`\ . The particle radius *R*
+  represents the radius of the particle where the scattering length density profile decreased to 1/2 of the core
+  density. The |sigma| :sub:`fuzzy`\ is the width of the smeared particle surface; i.e., the standard deviation
+  from the average height of the fuzzy interface. The inner regions of the microgel that display a higher density
+  are described by the radial box profile extending to a radius of approximately *Rbox* ~ *R* - 2\ |sigma|\ . The
+  profile approaches zero as *Rsans* ~ *R* + 2\ |sigma|\ .
 
 For 2D data: The 2D scattering intensity is calculated in the same way as 1D, where the *q* vector is defined as
@@ -4539,5 +4540,5 @@
 *Figure. 1D plot using the default values (w/200 data point).*
 
-References:
+REFERENCE
 
 Debye, Anderson, Brumberger, "Scattering by an Inhomogeneous Solid.
@@ -4645,5 +4646,5 @@
 *Figure. 1D plot using the default values (w/200 data point).*
 
-References:
+REFERENCE
 
 Teubner, M; Strey, R. J. Chem. Phys., 87, 3195 (1987).
@@ -4734,5 +4735,5 @@
 
 
-References:
+REFERENCE
 
 J. Teixeira, (1988) J. Appl. Cryst., vol. 21, p781-785
@@ -4807,5 +4808,5 @@
 
 
-References:
+REFERENCE
 
 D. Mildner, and P. Hall, J. Phys. D.: Appl. Phys., 19, 1535-1545
@@ -4885,5 +4886,5 @@
 
 
-References:
+REFERENCE
 
 D. Mildner, and P. Hall, J. Phys. D.: Appl. Phys., 19, 1535-1545
@@ -4970,5 +4971,5 @@
 
 
-References:
+REFERENCE
 
 P. Schmidt, J Appl. Cryst., 24, 414-435 (1991), Equation(19).
@@ -5073,5 +5074,5 @@
 
 
-References:
+REFERENCE
 
 See the PolyCore and Fractal documentation. * *
@@ -5227,5 +5228,5 @@
 0.0
 
-References:
+REFERENCE
 
 Borue, V. Y., Erukhimovich, I. Y. Macromolecules 21, 3240 (1988).
@@ -6111,5 +6112,5 @@
 
 
-REFERENCES
+REFERENCE
 
 G. Beaucage (1995). J. Appl. Cryst., vol. 28, p717-728.
@@ -6287,5 +6288,5 @@
 
 
-REFERENCES
+REFERENCE
 
 Mitsuhiro Shibayama, Toyoichi Tanaka, Charles C. Han, J. Chem. Phys.
@@ -6311,6 +6312,5 @@
 
 
-References:
-
+REFERENCE
 H. Benoit, J. Polymer Science., 11, 596-599 (1953)
 
@@ -6327,5 +6327,8 @@
 **2.3.1. HardSphereStructure Factor**
 
-This calculates the interparticle structure factor for monodisperse spherical particles interacting through hard sphere (excluded volume) interactions. The calculation uses the Percus-Yevick closure where the interparticle potential is:
+This calculates the interparticle structure factor for monodisperse spherical particles interacting through hard
+sphere (excluded volume) interactions.
+
+The calculation uses the Percus-Yevick closure where the interparticle potential is
 
 
@@ -6335,5 +6338,5 @@
 where r is the distance from the center of the sphere of a radius R.
 
-For 2D plot, the wave transfer is defined as .
+For a 2D plot, the wave transfer is defined as
 
 Parameter name
@@ -6357,7 +6360,6 @@
 *Figure. 1D plot using the default values (in linear scale).*
 
-References:
-
-Percus, J. K.; Yevick, J. Phys. Rev. 110, 1. (1958).
+REFERENCE
+J. K. Percus, J. Yevick, *J. Phys. Rev.*, 110, (1958) 1
 
 
@@ -6365,5 +6367,5 @@
 **2.3.2. SquareWellStructure Factor**
 
-This calculates the interparticle structure factor for a square well fluid spherical particles The mean spherical
+This calculates the interparticle structure factor for a square well fluid spherical particles. The mean spherical
 approximation (MSA) closure was used for this calculation, and is not the most appropriate closure for an attractive
 interparticle potential. This solution has been compared to Monte Carlo simulations for a square well fluid, showing
@@ -6417,7 +6419,6 @@
 *Figure. 1D plot using the default values (in linear scale).*
 
-References:
-
-Sharma, R. V.; Sharma, K. C. Physica, 89A, 213. (1977).
+REFERENCE
+R. V. Sharma, K. C. Sharma, *Physica*, 89A (1977) 213
 
 
@@ -6477,9 +6478,7 @@
 *Figure. 1D plot using the default values (in linear scale).*
 
-References:
-
-JP Hansen and JB Hayter, Molecular Physics 46, 651-656 (1982).
-
-JB Hayter and J Penfold, Molecular Physics 42, 109-118 (1981).
+REFERENCE
+J. B. Hayter and J. Penfold, *Molecular Physics*, 42 (1981) 109-118
+J. P. Hansen and J. B. Hayter, *Molecular Physics*, 46 (1982) 651-656
 
 
@@ -6565,8 +6564,6 @@
 *Figure. 1D plot using the default values (in linear scale).*
 
-References:
-
-Menon, S. V. G., Manohar, C. and K. Srinivas Rao J. Chem. Phys.,
-95(12), 9186-9190 (1991).
+REFERENCE
+S. V. G. Menon, C. Manohar, and K. S. Rao, *J. Chem. Phys.*, 95(12) (1991) 9186-9190
 
 
@@ -6590,5 +6587,5 @@
 .. _testmodel_2:
 
-**4.2. testmodel_2**
+**2.4.2. testmodel_2**
 
 This function, as an example of a user defined function, calculates
@@ -6604,5 +6601,5 @@
 .. _sum_p1_p2:
 
-**4.3. sum_p1_p2**
+**2.4.3. sum_p1_p2**
 
 This function, as an example of a user defined function, calculates
@@ -6619,5 +6616,5 @@
 .. _sum_Ap1_1_Ap2:
 
-**4.4. sum_Ap1_1_Ap2**
+**2.4.4. sum_Ap1_1_Ap2**
 
 This function, as an example of a user defined function, calculates
@@ -6634,5 +6631,5 @@
 .. _polynomial5:
 
-**4.5. polynomial5**
+**2.4.5. polynomial5**
 
 This function, as an example of a user defined function, calculates
@@ -6646,5 +6643,5 @@
 .. _sph_bessel_jn:
 
-**4.6. sph_bessel_jn**
+**2.4.6. sph_bessel_jn**
 
 This function, as an example of a user defined function, calculates
