Skip to content

pi should LaTeXize to \pi - #33

Closed
Happypig375 wants to merge 3 commits into
ASC-Community:masterfrom
Happypig375:patch-7
Closed

Happypig375 wants to merge 3 commits into
ASC-Community:masterfrom
Happypig375:patch-7

Conversation

@Happypig375

Copy link
Copy Markdown
Member

No description provided.

@WhiteBlackGoose WhiteBlackGoose left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry, cannot approve this code. It requires some more than one more "if" on a constant

@Happypig375

Copy link
Copy Markdown
Member Author

What do you mean? With this change, AngouriMath.MathS.pi.Latexise() correctly outputs \pi.

@WhiteBlackGoose

Copy link
Copy Markdown
Member

The code should be of a higher quality :). Maybe we should add a table ot latexiseable constants and get all latex forms from there... but not like that

@WhiteBlackGoose WhiteBlackGoose left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No, you shouldn't add such "if-s" to this function. Thank you for this mistake (that constants don't have a latex form), but I probably will fix it myself.

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.

2 participants