diff --git a/src/functions/accentunder.js b/src/functions/accentunder.js index 6f385fef..3e8c8408 100644 --- a/src/functions/accentunder.js +++ b/src/functions/accentunder.js @@ -37,8 +37,8 @@ defineFunction({ // Generate the vlist, with the appropriate kerns const vlist = buildCommon.makeVList({ - positionType: "bottom", - positionData: accentBody.height + kern, + positionType: "top", + positionData: innerGroup.height, children: [ {type: "elem", elem: accentBody, wrapperClasses: ["svg-align"]}, {type: "kern", size: kern}, diff --git a/test/screenshotter/images/StretchyAccent-chrome.png b/test/screenshotter/images/StretchyAccent-chrome.png index 957d34b4..7f4e73cb 100644 Binary files a/test/screenshotter/images/StretchyAccent-chrome.png and b/test/screenshotter/images/StretchyAccent-chrome.png differ diff --git a/test/screenshotter/images/StretchyAccent-firefox.png b/test/screenshotter/images/StretchyAccent-firefox.png index d1e4fc07..466c4c1a 100644 Binary files a/test/screenshotter/images/StretchyAccent-firefox.png and b/test/screenshotter/images/StretchyAccent-firefox.png differ diff --git a/test/screenshotter/images/StretchyAccentColor-chrome.png b/test/screenshotter/images/StretchyAccentColor-chrome.png index a6bfcb9c..cc38e1fe 100644 Binary files a/test/screenshotter/images/StretchyAccentColor-chrome.png and b/test/screenshotter/images/StretchyAccentColor-chrome.png differ diff --git a/test/screenshotter/images/StretchyAccentColor-firefox.png b/test/screenshotter/images/StretchyAccentColor-firefox.png index 209802ab..b93030ca 100644 Binary files a/test/screenshotter/images/StretchyAccentColor-firefox.png and b/test/screenshotter/images/StretchyAccentColor-firefox.png differ diff --git a/test/screenshotter/ss_data.yaml b/test/screenshotter/ss_data.yaml index e33c3bc7..045d2368 100644 --- a/test/screenshotter/ss_data.yaml +++ b/test/screenshotter/ss_data.yaml @@ -347,13 +347,13 @@ StackRel: a \stackrel{?}{=} b \stackrel{\text{def}}{=} c StretchyAccent: | \begin{array}{l} \overrightarrow{AB} \quad \overleftarrow{AB} \quad \Overrightarrow{AB} \quad \overleftrightarrow{AB} \quad \overgroup{AB} \\ - \overlinesegment{AB} \quad \overleftharpoon{AB} \quad \overrightharpoon{AB} \quad \color{red}{\overrightarrow{AB}} \quad \widehat{\theta} \widetilde{A} \\ + \overlinesegment{AB} \quad \overleftharpoon{AB} \quad \overrightharpoon{AB} \quad \left(\underleftarrow{\frac{value}{j}}\right) \\ \widecheck{AB} \quad \widehat{ABC} \quad \widetilde{AB} \quad \widetilde{ABC} \\ \overrightarrow{F} + \overrightarrow{AB} + \overrightarrow{F}^2 + \overrightarrow{F}_2 + \overrightarrow{F}_1^2 \\ \overrightarrow{AB}^2+\frac{\overrightarrow{AB}}{\overrightarrow{AB}} + \sqrt{\overrightarrow{AB}} + \left\lvert\overrightarrow{AB}\right\rvert \end{array} StretchyAccentColor: | - \red{\overrightarrow{AB}} \quad \color{blue}{\overleftarrow{AB}} \quad \color{blue}{\green{\Overrightarrow{AB}}} + \red{\overrightarrow{AB}} \quad \color{blue}{\overleftarrow{AB}} \quad \color{blue}{\green{\Overrightarrow{AB}}} \quad \widehat{\theta} \widetilde{A} StrikeThrough: | \begin{array}{l} \cancel x \quad \cancel{2B} + \bcancel 5 +\bcancel{5ay} \\