Skip to content

SunamoLaTeX

Conversion of unicode characters into text symbols


A .NET library for converting LaTeX symbol notation to Unicode characters. Maps over 2400 LaTeX commands to their corresponding Unicode equivalents.

Overview

SunamoLaTeX is part of the Sunamo package ecosystem, providing modular, platform-independent utilities for .NET development.

Key Classes

  • LatexHelper - Provides static methods for LaTeX-to-Unicode conversion.

Key Methods

  • ConvertToUnicode(string latexText) - Converts LaTeX text to Unicode by replacing LaTeX symbols with their Unicode equivalents.

Installation

dotnet add package SunamoLaTeX

Usage

using SunamoLaTeX;

string unicode = LatexHelper.ConvertToUnicode("\\alpha + \\beta = \\gamma");
// Result: "α + β = γ"

Dependencies

  • Microsoft.Extensions.Logging.Abstractions (v10.0.2)

Package Information

  • Package Name: SunamoLaTeX
  • Target Frameworks: net10.0;net9.0;net8.0
  • License: MIT

This package is part of the Sunamo package ecosystem. For more information about related packages, visit the main repository.

License

See the repository root for license information.