Skip to content

0.5.0 Evaluation Update Alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 02 Aug 08:23
· 19 commits to master since this release
0f81662

Changes from v0.4.2 (Recently merged first)

馃殌 Features

`Change AngouriMath reference to use NuGet package instead of git submodule` (#149) @Happypig375

Also added a calculator to Avalonia Example

`Parser refactor (part 1)` (#143) @Happypig375

Now every command is put into a central place for lookup.

Also added \atopwithdelims to let MathListFromLaTeX be able to consume MathListToLaTeX output, and % for comments are now supported in MathListFromLaTeX and MathListToLaTeX.

AliasDictionary has been split into BiDictionary and ProxyAdder.

Contributes to #58.

`System.Drawing.Color` (#141) @charlesroddie

Reduce code by removing a Color structure that duplicates System.Drawing.Color. Presumably this predated netstandard.

`Added the bra and ket commands for Dirac notation support` (#134) @jclapis

This pull request adds the \bra{} and \ket{} commands, which are useful shorthand commands for work involving quantum mechanics and Dirac notation.

Example of a common use case:
image

Their implementation is inspired by the popular braket LaTeX package.

馃悰 Bug Fixes

`Killing four bugs with one PR?` (#144) @Happypig375

This should finish #123, #136, #137 and possibly #138.

`Spacing and bounding boxes (part 1)` (#132) @Happypig375

Part of a series of PRs on fixing #32

  • Fixed large space above large matrices
  • Fixed several parsing bugs like \left( x\\ y\right) which round-tripped to \left( x\\ y&\right)
  • Better error messages for \begin \end and \left \right pairs
  • And refactorings
`Align text center and right correctly` (#126) @Happypig375

Implements #123

`Fix punctuation` (#128) @Happypig375

According to AMSMath documentation, ! should be of Class Punctuation instead of Close. Not sure why ? and ! are classified as Close which brings complexity when dealing with brackets.

`Punctuation should stick to inline maths` (#119) @Happypig375

Implements #113

馃О Maintenance

`Updated Avalonia to 0.10.0-preview1` (#146) @jp2masa

Changes

  • Updated Avalonia to 0.10.0-preview1:
    • Updated default text color and font size:
      • Text color is now based on fluent theme resources (won't work for default theme, which I think will be deprecated soon anyway).
      • Font size is now constant 14.0f (this value comes from fluent theme resources, there is also a bug which blocks using the resource: it is double, but font size is float, probably a bug in Avalonia).
    • Updated Avalonia sample:
      • Also removed SideBar.xaml: the default styles for TabControl is good in fluent theme, also the side bar styles don't look good in fluent.
  • Apparently you can add redirect buttons in issue template selection (#147) @Happypig375
`Enable CSharpMath.Rendering.Tests.TextPainterSettings` (#139) @Happypig375

Comment out specific problematic test cases instead of skipping the whole test

Also fixed CSharpMath.Ios.Tests.MathInline not actually being inline

`CSharpMath.Ios.Tests` (#133) @Happypig375

Also enabled artifact uploading of image test results.

A better way of comparing images will be needed, as image size comparisons are unreliable.

`Fix dependency version of CI packages + SourceLink infrastructure` (#131) @Happypig375

Per dotnet/sourcelink#255, non-NuGet feeds do not support .snupkgs, so they are not available for CI packages.

Contributors

@Happypig375, @charlesroddie, @jclapis and @jp2masa