CSharpMath 0.5.0-alpha
See the version list below for details.
dotnet add package CSharpMath --version 0.5.0-alpha
NuGet\Install-Package CSharpMath -Version 0.5.0-alpha
<PackageReference Include="CSharpMath" Version="0.5.0-alpha" />
paket add CSharpMath --version 0.5.0-alpha
#r "nuget: CSharpMath, 0.5.0-alpha"
// Install CSharpMath as a Cake Addin #addin nuget:?package=CSharpMath&version=0.5.0-alpha&prerelease // Install CSharpMath as a Cake Tool #tool nuget:?package=CSharpMath&version=0.5.0-alpha&prerelease
The core of the C# math rendering engine - CSharpMath.
Can display beautiful math equations and symbols from the LaTeX format.
Needs a front end to function.
Currently, front ends exist for Avalonia, iOS, SkiaSharp and Xamarin.Forms.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 4.6.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on CSharpMath:
Package | Downloads |
---|---|
CSharpMath.Editor
The base code for a What You See Is What You Get math editor. |
|
CSharpMath.Ios
The iOS front end for CSharpMath. |
|
CSharpMath.Evaluation
Can convert CSharpMath.Atom.MathList parsed from LaTeX with CSharpMath.Atom.LaTeXParser into actual mathematical expressions that are evaluatable with AngouriMath. Supports arithmetic, trigonometry, symbolic simplification and expansion, as well as matrices, sets, and equation solving. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on CSharpMath:
Repository | Stars |
---|---|
lennart-finke/GodoTeX
Rendering LaTeX in Godot.
|
Version | Downloads | Last updated |
---|---|---|
0.5.1 | 60,544 | 5/5/2021 |
0.5.0 | 1,694 | 4/20/2021 |
0.5.0-beta | 5,478 | 11/1/2020 |
0.5.0-alpha4 | 5,963 | 8/3/2020 |
0.5.0-alpha3 | 835 | 8/3/2020 |
0.5.0-alpha2.2 | 278 | 8/2/2020 |
0.5.0-alpha2.1 | 250 | 8/2/2020 |
0.5.0-alpha | 541 | 8/2/2020 |
0.4.2 | 12,187 | 4/15/2020 |
0.4.1 | 1,447 | 4/14/2020 |
0.4.0 | 4,248 | 4/10/2020 |
0.4.0-beta | 1,004 | 4/3/2020 |
0.4.0-alpha | 829 | 3/18/2020 |
0.3.0 | 1,983 | 12/19/2019 |
0.3.0-beta3 | 1,052 | 11/8/2019 |
0.3.0-beta2 | 804 | 11/4/2019 |
0.3.0-beta | 923 | 9/8/2019 |
0.3.0-alpha | 830 | 8/23/2019 |
0.2.0 | 4,211 | 1/22/2019 |
0.2.0-beta1 | 1,128 | 1/5/2019 |
0.2.0-alpha3 | 1,141 | 11/24/2018 |
0.2.0-alpha2 | 1,009 | 11/17/2018 |
0.2.0-alpha | 1,006 | 11/6/2018 |
0.1.5 | 1,492 | 1/1/2019 |
0.1.4 | 1,426 | 12/5/2018 |
0.1.3 | 1,400 | 11/11/2018 |
0.1.2 | 1,459 | 10/21/2018 |
0.1.1 | 1,448 | 10/13/2018 |
0.1.0 | 1,505 | 10/6/2018 |
0.1.0-rc.3 | 1,320 | 10/1/2018 |
0.1.0-rc.2 | 609 | 9/21/2018 |
0.1.0-rc.1 | 579 | 9/19/2018 |
0.1.0-rc.0 | 616 | 9/14/2018 |
0.1.0-pre8 | 1,398 | 8/26/2018 |
0.1.0-pre7 | 1,129 | 8/16/2018 |
0.1.0-pre6 | 1,059 | 8/8/2018 |
0.1.0-pre5 | 1,078 | 7/27/2018 |
0.1.0-pre4 | 1,117 | 7/20/2018 |
0.1.0-pre3 | 1,182 | 7/17/2018 |
0.1.0-pre2 | 1,098 | 7/14/2018 |
0.1.0-pre10 | 1,135 | 9/6/2018 |
0.1.0-pre1 | 1,127 | 6/28/2018 |
0.0.0 | 1,135 | 12/29/2017 |
# 0.5.0 Evaluation Update Alpha
## Changes from v0.4.2 (Recently merged first)
## 🚀 Features
<details><summary>`Change AngouriMath reference to use NuGet package instead of git submodule` (#149) @Happypig375</summary><table><td>
Also added a calculator to Avalonia Example
</td></table></details>
<details><summary>`Parser refactor (part 1)` (#143) @Happypig375</summary><table><td>
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.
</td></table></details>
<details><summary>`System.Drawing.Color` (#141) @charlesroddie</summary><table><td>
Reduce code by removing a Color structure that duplicates System.Drawing.Color. Presumably this predated netstandard.
</td></table></details>
<details><summary>`Added the bra and ket commands for Dirac notation support` (#134) @jclapis</summary><table><td>
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](https://user-images.githubusercontent.com/627896/85193555-a702b600-b297-11ea-8b23-86924f09c3f8.png)
Their implementation is inspired by the popular [braket LaTeX package](https://www.ctan.org/pkg/braket).
</td></table></details>
## 🐛 Bug Fixes
<details><summary>`Killing four bugs with one PR?` (#144) @Happypig375</summary><table><td>
This should finish #123, #136, #137 and possibly #138.
</td></table></details>
<details><summary>`Spacing and bounding boxes (part 1)` (#132) @Happypig375</summary><table><td>
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
</td></table></details>
<details><summary>`Align text center and right correctly` (#126) @Happypig375</summary><table><td>
Implements #123
</td></table></details>
<details><summary>`Fix punctuation` (#128) @Happypig375</summary><table><td>
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.
</td></table></details>
<details><summary>`Punctuation should stick to inline maths` (#119) @Happypig375</summary><table><td>
Implements #113
</td></table></details>
## 🧰 Maintenance
- `CSharpMath.Evaluation.Interpret tests` (#151) @Happypig375
- `Automatic releasing` (#150) @Happypig375
<details><summary>`Updated Avalonia to 0.10.0-preview1` (#146) @jp2masa</summary><table><td>
## 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.
</td></table></details>
- `Apparently you can add redirect buttons in issue template selection` (#147) @Happypig375
<details><summary>`Enable CSharpMath.Rendering.Tests.TextPainterSettings` (#139) @Happypig375</summary><table><td>
Comment out specific problematic test cases instead of skipping the whole test
Also fixed CSharpMath.Ios.Tests.MathInline not actually being inline
</td></table></details>
<details><summary>`CSharpMath.Ios.Tests` (#133) @Happypig375</summary><table><td>
Also enabled artifact uploading of image test results.
A better way of comparing images will be needed, as image size comparisons are unreliable.
</td></table></details>
<details><summary>`Fix dependency version of CI packages + SourceLink infrastructure` (#131) @Happypig375</summary><table><td>
Per https://github.com/dotnet/sourcelink/issues/255, non-NuGet feeds do not support `.snupkg`s, so they are not available for CI packages.
</td></table></details>
- `Add nightly steps to README` (#130) @Happypig375
- `New shields` (#129) @Happypig375
- `Upload CI artifacts` (#127) @Happypig375
- `Stick a Status:New label to all non-Chat issue templates` (#122) @Happypig375
## Contributors
@Happypig375, @charlesroddie, @jclapis and @jp2masa