LaTeXML...Unicode(3)
π 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
- nixos 26.05: perl5.42.3-LaTeXML 0.8.8
- nixpkgs unstable: perl5.42.3-LaTeXML 0.8.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms