Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
Although a major release with certain formally breaking changes, these changes should hopefully not break any normal usage of the library (if the user code doesn't implement own IElementRenderer
).
AvaloniaBrushExtensions
to AvaloniaExtensions
.WpfBrushExtensions
to WpfExtensions
.IElementRenderer
is now required to implement a new method, RenderLine
(required for the new \cancel*
commands).jlm_msam10.ttf
font with a lot of new characters, thanks @Orace, that closes the following requests:
\cancel
, \bcancel
, \xcancel
(partially addressing issue #349), thanks @Orace.Published by github-actions[bot] over 1 year ago
\cases
, thanks @Orace.\begin{align}
, thanks @Orace.Published by github-actions[bot] over 1 year ago
WpfMath.Shared
assembly was renamed to XamlMath.Shared
:
WpfMath
namespace to XamlMath
,XamlMath.Shared
assembly has been extracted into a separately published NuGet package.WpfMath.Colors.IColorParser::Parse
now accepts IReadOnlyList
instead of IEnumerable
.XamlMath.Colors.StandardColorParsers::Dictionary
static public field is now readonly
.WpfMath.Rendering.WpfBrushFactory
's constructor is now private
.WpfMath.Rendering.WpfBrushFactory::Instance
static public field is now readonly
.TexRenderer
class. Use extension methods from WpfMath.Rendering.WpfTeXFormulaExtensions
and WpfMath.Rendering.TeXFormulaExtensions
to replace its functionality in your code.Avalonia version is now available! Install the AvaloniaMath NuGet package to get it.
It supports the following .NET variants:
Portable PDB packages are now published to NuGet.
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
(Breaking change.) The library is now distributed in the form of two assemblies: WpfMath
and WpfMath.Shared
(as a future cross-platform core of the library).
Both of the assemblies are still distributed in the same NuGet package.
A lot of types were moved to WpfMath.Shared
assembly (preserving their namespaces).
(Breaking change.) It is no longer recommended to create instances of TexEnvironment
using the public constructor. Use WpfMath.Rendering.WpfTeXEnvironment::Create
instead.
(Breaking change.) It is no longer recommended to create instances of TexFormulaParser
using public constructors. Use WpfMath.Parsers.WpfTeXFormulaParser::Instance
instead.
(Breaking change.) WPF-specific WpfMath.Rendering.IBrush
has been replaced with WpfMath.Rendering.IBrush
in most of the public interfaces. Use WpfMath.Rendering.WpfBrushExtensions
to convert back and forth to the WPF type.
(Breaking change.) WpfMath.Rendering.IElementRenderer
has been updated:
RenderGlyphRun
has been replaced with RenderCharacter
method (not reliant on any WPF-specific types),RenderRectangle
now receives an instance of a new WpfMath.Rendering.Rectangle
type (decoupled from WPF).WpfMath.TexRenderer
is now obsolete. Consult the documentation on new recommended ways to perform custom rendering. There are new extension methods in two classes (WpfMath.Rendering.WpfTeXFormulaExtensions
and WpfMath.Rendering.TeXFormulaExtensions
) that are the main way to render formulae now.
(Breaking change.) WpfMath.TexFormnula::GetRenderer
is gone. Create a TexRenderer
using constructor (obsolete) or use the aforementioned extension methods instead.
WpfMath.CharInfo
: a new public type to work with a font character. Use WpfMath.Fonts.WpfCharInfoEx::GetGlyphRun
if you need to get a System.Windows.Media.GlyphRun
from it.WpfMath.Rendering.WpfTeXFormulaExtensions
to render a WpfMath.TexFormula
into a System.Windows.Media.Imaging.BitmapSource
or System.Windows.Media.Geometry
.WpfMath.Rendering.IElementRenderer
interface and TexFormulaParser
constructor parameters to know more).WpfMath.Colors.RgbaColor
as a new portable color representation.WpfMath.Fonts.IFontProvider
: implement this interface to provide alternate font reading functionality.WpfMath.Fonts.ITeXFont
: implement this interface to provide access to a platform-specific font resource.WpfMath.Rendering.IBrushFactory
: implement this interface to provide access to creation of platform-specific solid-colored brushes.WpfMath.TeXFontMetrics
that contains some measurements of a font glyph.Result
struct is now public.Published by github-actions[bot] almost 2 years ago
\begin{pmatrix}
(see #329).Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] over 3 years ago
Foreground
property not working on FormulaControl
SystemTextFontNameProperty
\limsup
throws exception\hat{x}_{y}
)\sqrt{}
OverUnderBox
constructor may dereference scriptBox parameter if it's null
New features:
\left\\
\\
outside of a matrixFixed issues: