LaTeXML...Unicode(3)

πŸ“¦ version 0.8.8, in nixos 26.05, nixpkgs unstable

πŸ’– LaTeXML::Util::Unicode β€” Unicode Utilities πŸ’–

okay bestie, welcome to the User Contributed Perl Documentation page for LaTeXML...Unicode(3). This is the one that's all about Unicode utilities, and it's mostly here to help with mathematics. slay ✨


✨ NAME ✨

  • LaTeXML::Util::Unicode β€” Unicode Utilities. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

so "LaTeXML::Util::Unicode" provides several useful utilities for manipulating Unicode for LaTeXML, mostly to assist with mathematics. that's the whole vibe 🫢


🌸 DESCRIPTION 🌸

πŸŽ€ $string = UTF($codepoint);

Converts the given numeric codepoint to unicode. This is useful for codepoints under 255, such as UTF(0xA0) for non-breaking space, which perl does not reliably handle. no cap, perl is being a little dramatic there 😭

πŸ¦‹ $mathvariant = unicode_mathvariant($font);

Converts the font to a Unicode-appropriate mathvariant. The font should be in the string form generally found during post-processing, eg "bold italic". The mathvariant returned can be used in MathML, or passed to unicode_convert to convert strings into the given style. cute, flexible, iconic ✨

πŸ’œ $unicode = unicode_convert($string,$style);

Converts the given string to the codepoints correspinding to the requested style. Returns undef if not all characters in the string can be converted. The recognized styles are "bold", "italic", "bold-italic", "sans-serif", "bold-sans-serif", "sans-serif-italic", "sans-serif-bold-italic", "monospace", "script", "bold-script", "fraktur", "bold-fraktur", "double-struck", as well as "superscript" and "subscript". go off, styles list πŸ‘‘


mwah πŸ’‹ β€” this lil page is from perl v5.42.3, dated 2024-02-26, and it's the LaTeXML...Unicode(3) page. bye bestie, stay unicode-y πŸ«ΆπŸ’–

πŸ“¦ where this page comes from