eqn

package
v0.0.0-...-16d536b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Chars = map[string]string{}/* 921 elements not displayed */
View Source
var SpecialChar = map[string]string{
	"!": "\\!",
	"#": "\\#",
	"$": "\\$",
	"%": "\\%",
	"&": "\\&",
	":": "\\:",
	";": "\\;",
	"_": "\\_",
	"{": "\\{",
	"|": "\\|",
	"}": "\\}",
}

Functions

func Convert

func Convert(filepath string) string

Types

type EmbellType

type EmbellType uint8

type MTEFv5

type MTEFv5 struct {

	//是否合法,顺利解析
	Valid bool
	// contains filtered or unexported fields
}

MTEFv5(https://docs.wiris.com/en/mathtype/mathtype_desktop/mathtype-sdk/mtef5)

func (*MTEFv5) Translate

func (m *MTEFv5) Translate() string

type MtAST

type MtAST struct {
	// contains filtered or unexported fields
}

type MtChar

type MtChar struct {
	// contains filtered or unexported fields
}

type MtColorDef

type MtColorDef struct {
	// contains filtered or unexported fields
}

type MtColorDefIndex

type MtColorDefIndex struct {
	// contains filtered or unexported fields
}

type MtEmbell

type MtEmbell struct {
	// contains filtered or unexported fields
}

type MtEmbellRd

type MtEmbellRd struct {
	// contains filtered or unexported fields
}

type MtEqnPrefs

type MtEqnPrefs struct {
	// contains filtered or unexported fields
}

type MtLine

type MtLine struct {
	// contains filtered or unexported fields
}

type MtMatrix

type MtMatrix struct {
	// contains filtered or unexported fields
}

type MtObjList

type MtObjList struct {
	// contains filtered or unexported fields
}

type MtObject

type MtObject interface{}

type MtPile

type MtPile struct {
	// contains filtered or unexported fields
}

type MtRuler

type MtRuler struct {
	// contains filtered or unexported fields
}

type MtSize

type MtSize struct {
	// contains filtered or unexported fields
}

type MtTabStop

type MtTabStop struct {
	// contains filtered or unexported fields
}

type MtTmpl

type MtTmpl struct {
	// contains filtered or unexported fields
}

type MtfontDef

type MtfontDef struct {
	// contains filtered or unexported fields
}

type MtfontStyleDef

type MtfontStyleDef struct {
	// contains filtered or unexported fields
}

type OptionType

type OptionType uint8
const (
	MtefOptNudge           OptionType = 0x08
	MtefOptCharEmbell      OptionType = 0x01
	MtefOptCharFuncStart   OptionType = 0x02
	MtefOptCharEncChar8    OptionType = 0x04
	MtefOptCharEncChar16   OptionType = 0x10
	MtefOptCharEncNoMtcode OptionType = 0x20
	MtefOptLineNull        OptionType = 0x01

	MtefOptLineLspace OptionType = 0x04
	MtefOptLpRuler    OptionType = 0x02
	MtefColorCmyk     OptionType = 0x01
	MtefColorSpot     OptionType = 0x02
	MtefColorName     OptionType = 0x04
)

type RecordType

type RecordType uint8
const (
	END            RecordType = 0
	LINE           RecordType = 1
	CHAR           RecordType = 2
	TMPL           RecordType = 3
	PILE           RecordType = 4
	MATRIX         RecordType = 5
	EMBELL         RecordType = 6
	RULER          RecordType = 7
	FONT_STYLE_DEF RecordType = 8
	SIZE           RecordType = 9
	FULL           RecordType = 10
	SUB            RecordType = 11
	SUB2           RecordType = 12
	SYM            RecordType = 13
	SUBSYM         RecordType = 14
	COLOR          RecordType = 15
	COLOR_DEF      RecordType = 16
	FONT_DEF       RecordType = 17
	EQN_PREFS      RecordType = 18
	ENCODING_DEF   RecordType = 19
	FUTURE         RecordType = 100
	ROOT           RecordType = 255
)

type SelectorType

type SelectorType uint8

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL