Skip to content

Add \truemean and \truemeanf, deprecate \truemeanfn and \truemeanfnf, define all directly as \mu - #225

Merged
d-morrison merged 4 commits into
mainfrom
claude/truemeanfn-direct-definition
Oct 18, 2026
Merged

d-morrison merged 4 commits into
mainfrom
claude/truemeanfn-direct-definition

Conversation

@d-morrison

@d-morrison d-morrison commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by Ezra · project thread

Before: \truemeanfn expanded to \targetfn, so redefining \targetfn later would silently change the true mean function. There were no short forms.

After: \truemean and \truemeanfn are both \mu. \truemeanf{x} is \truemean\paren{x} and \truemeanfnf{x} is \truemeanfn\paren{x}. Every one prints μ or μ(x), as before, so no page changes. \truemeanfn and \truemeanfnf stay working but their interpretations.tsv rows now say they are deprecated in favor of \truemean and \truemeanf (Ezra's calls in the project thread, after the name-shortening question in #224).

How: four lines in macros.qmd and interpretations.tsv rows for the two new keys and the two deprecated ones. cut -f1 interpretations.tsv | sort | uniq -d is empty, and \truemean and \truemeanf were unused in macros, lds, sds, pds and mds. The PDF check was not run because the printed output is unchanged by construction. The sweep of lds and sds from the old names to the new ones comes after this merges and the pins bump.

🤖 Generated with Claude Code

https://claude.ai/code/session_017xy73o7QCEzWR2H25iWy7x

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xy73o7QCEzWR2H25iWy7x
@d-morrison d-morrison self-assigned this Oct 18, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xy73o7QCEzWR2H25iWy7x
@d-morrison d-morrison changed the title Define \truemeanfn directly as \mu Add \truemean and \truemeanf; define all four true-mean macros directly as \mu Oct 18, 2026
…d \truemeanf

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xy73o7QCEzWR2H25iWy7x
@d-morrison d-morrison changed the title Add \truemean and \truemeanf; define all four true-mean macros directly as \mu Add \truemean and \truemeanf, deprecate \truemeanfn and \truemeanfnf, define all directly as \mu Oct 18, 2026
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.

2026-10-18 08:14 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants