Conversation
- Modified the handle_prefix function to clone the fetched token and update its text for global version handling. - Ensured the modified token is pushed to the parser's gullet before consumption, improving the parsing flow.
- Added a new function `layout_cancel` to handle the rendering of strike-through overlays (\cancel, \bcancel, \xcancel, \sout) with appropriate diagonal and horizontal lines. - Updated the `layout_enclose` function to utilize `layout_cancel` for these overlays. - Modified related test images to reflect the new rendering behavior.
- Updated metrics for symbols ∬ and ∭ to provide wider widths and better centering under the symbols. - Enhanced layout calculations to include italic correction in width, ensuring limits are properly centered above/below operators. - Added extra vertical padding to prevent limits from sitting too close to operators, improving overall layout aesthetics.
- Implemented an ellipse overlay for the integral symbols ∬ and ∭ to enhance visual representation. - Updated the `build_op_base` function to include the new overlay logic, ensuring proper rendering of these symbols. - Added a helper function `ellipse_overlay_path` to generate the path commands for the ellipse overlay. - Adjusted related comments for clarity on the rendering process.
- Implemented special handling for the leftmapsto and rightarrow paths to ensure proper rendering as a single continuous path. - Added logic to manage the shaft and vertical bar positioning, improving visual accuracy for the xmapsto representation. - Updated the existing path clipping logic to accommodate the new rendering requirements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
∬
∭
xmapsto
cancel
svg path render