Documentation ¶
Overview ¶
Package latex provides latex image generation for egen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageGenerator ¶
type ImageGenerator struct {
// contains filtered or unexported fields
}
ImageGenerator is a latex image generator.
func NewImageGenerator ¶
func NewImageGenerator(dirPath string) *ImageGenerator
NewImageGenerator creates a new latex image generator.
func (*ImageGenerator) SVGBlock ¶
func (g *ImageGenerator) SVGBlock(math []byte) ([]byte, error)
SVGBlock generates a latex block svg image from math.
func (*ImageGenerator) SVGInline ¶
func (g *ImageGenerator) SVGInline(math []byte) ([]byte, error)
SVGBlock generates an inline latex svg image from math.
func (*ImageGenerator) SetDirPath ¶
func (g *ImageGenerator) SetDirPath(dirPath string) error
SetDirPath sets the path of the directory that will be used by the generator.
Click to show internal directories.
Click to hide internal directories.