-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix latex repr of symbolic distributions #6231
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
deb7764
Fix latex repr of nested variables
mattiadg 8a07528
Adding option to include transformed variables in InferenceData (#6232)
dfm 005818b
Time series clean up (#6240)
junpenglao e82404f
Remove inner $ symbols from latex representations
mattiadg 1f35dcc
Remove inner $ symbols from latex representations
mattiadg a4723df
Add test for a full model that used to be rendered wrong
mattiadg 8088049
Merge branch 'main' into fix_latex_print
mattiadg 96836cc
Merge remote-tracking branch 'origin/main' into fix_latex_print
mattiadg f072d41
Fix failing test because of wrong expected value
mattiadg c306296
Use "\\operatorname{" instead of "operatorname" to determine if the l…
mattiadg 7867066
Merge remote-tracking branch 'origin/main' into fix_latex_print
mattiadg 8fe24c4
Add tests with the code mentioned in the issue
mattiadg cc3c21c
Merge branch 'main' into fix_latex_print
mattiadg 1d5940d
Update tests to new distributions' notation
mattiadg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay for now, but I have a sense that this can be simplified since you're always using it on an output of
_latex_escape
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can add the call to
_latex_escape(text.strip("$")
inside_latex_text_format
and call this also in the other 2 occurrences of_latex_escape
. Then, we can also remove the naked\text{
in there.