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

Render equality symbols correctly #257

Merged
merged 2 commits into from Feb 3, 2021

Conversation

hcarvalhoalves
Copy link
Contributor

sicmutils.expression.render/->infix and sicmutils.expression.render/->TeX now handle equality/inequality symbols (=, >=, >, ...) as infix. (sicmutils/placeholder#81)

…r/->TeX` now handle equality symbols (`=`, `>=`, `>`, ...) as infix. (sicmutils/sicmutils#256)
@hcarvalhoalves hcarvalhoalves changed the title Render equality/inequality symbols correctly Render equality symbols correctly Feb 3, 2021
@@ -340,7 +340,9 @@
(str "\\begin{bmatrix}"
body
"\\end{bmatrix}")))
'sqrt #(str "\\sqrt " (maybe-brace (first %)))}
'sqrt #(str "\\sqrt " (maybe-brace (first %)))
'<= #(s/join " \\leq " %)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent, I think this is a good default style vs the slanted version (which honestly looks better).

@sritchie sritchie merged commit e87b4eb into sicmutils:master Feb 3, 2021
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.

None yet

2 participants