Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute proper left and right adjustments for bussproof tables. (mathjax/MathJax#3251) #1115

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Avoid problem with NaN being used for a space width
dpvc committed Jul 2, 2024
commit dd61d08da87c873998d083efab09594e1b88a7d6
2 changes: 1 addition & 1 deletion ts/input/tex/bussproofs/BussproofsUtil.ts
Original file line number Diff line number Diff line change
@@ -492,7 +492,7 @@ export let balanceRules = function(arg: FilterData) {
let rule = getRule(inf);
let premises = getPremises(rule, getProperty(rule, 'inferenceRule') as string);
let premiseF = firstPremise(premises);
let leftAdjust;
let leftAdjust = 0;
if (getProperty(premiseF, 'inference')) {
let adjust = adjustValue(premiseF);
if (adjust) {