diff --git a/crates/sfpe_handbook/src/chapter_50/equation_50_15.rs b/crates/sfpe_handbook/src/chapter_50/equation_50_15.rs index 8e54106..abbda28 100644 --- a/crates/sfpe_handbook/src/chapter_50/equation_50_15.rs +++ b/crates/sfpe_handbook/src/chapter_50/equation_50_15.rs @@ -14,7 +14,7 @@ pub fn height_limit_equation( t_s: String, ) -> String { format!( - "{} = 0.000289 \\times \\frac{{ {} \\times ( {} - {} ) }}{{ \\left| \\frac{{1}}{{ {} + 273}} - \\frac{{1}}{{ {} + 273}} \\right| }}", + "{} = 0.000289 \\times \\dfrac{{ {} \\times ( {} - {} ) }}{{ \\left| \\dfrac{{1}}{{ {} + 273}} - \\dfrac{{1}}{{ {} + 273}} \\right| }}", h_m, f_r, delta_p_max, delta_p_min, t_0, t_s ) } diff --git a/crates/sfpe_handbook/src/chapter_50/equation_50_16.rs b/crates/sfpe_handbook/src/chapter_50/equation_50_16.rs index b0a0a9f..8ca1c1c 100644 --- a/crates/sfpe_handbook/src/chapter_50/equation_50_16.rs +++ b/crates/sfpe_handbook/src/chapter_50/equation_50_16.rs @@ -13,7 +13,7 @@ pub fn factor_equation( t_s: String, ) -> String { format!( - "{} = 1 + \\frac{{ {}^2 \\times ( {} + 273 ) }}{{ {}^2 \\times ( {} + 273 ) }}", + "{} = 1 + \\dfrac{{ {}^2 \\times ( {} + 273 ) }}{{ {}^2 \\times ( {} + 273 ) }}", f_r, a_sb, t_b, a_bo, t_s ) } diff --git a/crates/sfpe_handbook/src/chapter_50/equation_50_18.rs b/crates/sfpe_handbook/src/chapter_50/equation_50_18.rs index f4899fd..65c1239 100644 --- a/crates/sfpe_handbook/src/chapter_50/equation_50_18.rs +++ b/crates/sfpe_handbook/src/chapter_50/equation_50_18.rs @@ -6,7 +6,7 @@ pub fn fed(c_i: Vec, delta_t: f64, lc_t50: f64) -> f64 { #[cfg(not(coverage))] pub fn fed_equation(fed: String, c_i: String, delta_t: String, lc_t50: String) -> String { format!( - "{} = \\frac{{ \\sum {} \\times {} }}{{ {} }}", + "{} = \\dfrac{{ \\sum {} \\times {} }}{{ {} }}", fed, c_i, delta_t, lc_t50 ) } diff --git a/crates/sfpe_handbook/src/chapter_50/equation_50_19.rs b/crates/sfpe_handbook/src/chapter_50/equation_50_19.rs index 142fc6f..eba9428 100644 --- a/crates/sfpe_handbook/src/chapter_50/equation_50_19.rs +++ b/crates/sfpe_handbook/src/chapter_50/equation_50_19.rs @@ -5,7 +5,7 @@ pub fn visibility(k: f64, delta_m: f64, c_i: f64) -> f64 { #[cfg(not(coverage))] pub fn visibility_equation(s_i: String, k: String, delta_m: String, c_i: String) -> String { format!( - "{} = \\frac{{{}}}{{2.303 \\times {} \\times {}}}", + "{} = \\dfrac{{{}}}{{2.303 \\times {} \\times {}}}", s_i, k, delta_m, c_i, ) } diff --git a/crates/sfpe_handbook/src/chapter_50/equation_50_20.rs b/crates/sfpe_handbook/src/chapter_50/equation_50_20.rs index b9ff493..dd08c35 100644 --- a/crates/sfpe_handbook/src/chapter_50/equation_50_20.rs +++ b/crates/sfpe_handbook/src/chapter_50/equation_50_20.rs @@ -5,7 +5,7 @@ pub fn visibility(k: f64, l: f64, lambda: f64) -> f64 { #[cfg(not(coverage))] pub fn visibility_equation(s_i: String, k: String, l: String, lambda: String) -> String { format!( - "{} = \\frac{{{} \\times {}}}{{\\ln(1 - \\frac{{{}}}{{100}})}}", + "{} = \\dfrac{{{} \\times {}}}{{\\ln(1 - \\dfrac{{{}}}{{100}})}}", s_i, k, l, lambda, ) } diff --git a/crates/sfpe_handbook/src/chapter_50/equation_50_7.rs b/crates/sfpe_handbook/src/chapter_50/equation_50_7.rs index d97d2f2..e0c03b6 100644 --- a/crates/sfpe_handbook/src/chapter_50/equation_50_7.rs +++ b/crates/sfpe_handbook/src/chapter_50/equation_50_7.rs @@ -5,7 +5,7 @@ pub fn effective_area(a_sr: f64, a_ir: f64, a_io: f64) -> f64 { #[cfg(not(coverage))] pub fn effective_area_equation(a_sr: String, a_ir: String, a_io: String) -> String { format!( - "{} = \\left(\\dfrac{1}{{{}}}^2 + \\dfrac{1}{{{}}}^2 + \\dfrac{1}{{{}}}^2\\right)^{{-0.5}}", + "{} = \\left(\\dfrac{{1}}{{{}}}^2 + \\dfrac{{1}}{{{}}}^2 + \\dfrac{{1}}{{{}}}^2\\right)^{{-0.5}}", "A_{effective}", a_sr, a_ir, a_io ) }