Skip to content

Commit b00995b

Browse files
committed
Move matchFontHeight to CHTML output jax
1 parent aad35c3 commit b00995b

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

ts/output/chtml.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ CommonOutputJax<N, T, D, CHTMLWrapper<N, T, D>, CHTMLWrapperFactory<N, T, D>, CH
6060
public static OPTIONS: OptionList = {
6161
...CommonOutputJax.OPTIONS,
6262
adaptiveCSS: true, // true means only produce CSS that is used in the processed equations
63+
matchFontHeight: true, // true to match ex-height of surrounding font
6364
};
6465

6566
/**

ts/output/common/OutputJax.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ export abstract class CommonOutputJax<
8686
...AbstractOutputJax.OPTIONS,
8787
scale: 1, // global scaling factor for all expressions
8888
minScale: .5, // smallest scaling factor to use
89-
matchFontHeight: true, // true to match ex-height of surrounding font
9089
mtextInheritFont: false, // true to make mtext elements use surrounding font
9190
merrorInheritFont: false, // true to make merror text use surrounding font
9291
mtextFont: '', // font to use for mtext, if not inheriting (empty means use MathJax fonts)

0 commit comments

Comments
 (0)