Source File
font_mappings.go
Belonging Package
github.com/d2lang/mathjax-go/internal/tex
// Copyright (c) 2017-2022 The MathJax Consortium// SPDX-License-Identifier: Apache-2.0package tex// BaseMappings registers both argument-taking MathFont commands and SetFont// declarations. Use the retained source registrations so aliases share the// existing handlers, including explicit empty variants such as mathnormal.func baseFontMappings( string) map[string]string {:= make(map[string]string)for , := range mjSourceBaseMaps {if .Kind != mjSourceCommandMap || .Name != "macros" {continue}for , := range .Entries {, , := sourceHandler(.Value)if ! || != || len() != 1 {continue}if , := [0].(string); {[.Name] =}}}return}
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |