Normalize spacing before units across all calc sheets

Plain units already get a gap from the source whitespace, so drop the
leading space inside the string; keep it only on superscripted units
(in^2, in^3, in^4, ft^2). Also fix the generated concrete-beam figure
labels. Regenerate all affected PDFs.
This commit is contained in:
smillmorel 2026-09-21 20:38:04 -04:00
commit aa790c1be5
17 changed files with 728 additions and 771 deletions

View file

@ -106,7 +106,7 @@ def render(values: dict) -> str:
)
add(
f" #place(dx: {_f(ox)}pt, dy: {_f(dim_y + 3)}pt, "
f'box(width: {_f(w_sec)}pt, align(center, text(size: 7pt)[$b_w = {_f(bw)} " in"$])))'
f'box(width: {_f(w_sec)}pt, align(center, text(size: 7pt)[$b_w = {_f(bw)} "in"$])))'
)
x_h = ox - 6.0
@ -121,7 +121,7 @@ def render(values: dict) -> str:
)
add(
f" #place(dx: 0.5pt, dy: {_f(oy + h_sec / 2.0 - 3)}pt, "
f'text(size: 7pt)[$h = {_f(h)} " in"$])'
f'text(size: 7pt)[$h = {_f(h)} "in"$])'
)
label_x = ox + w_sec + 8.0