preamble

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Def

type Def struct {
	Name    string
	Args    int
	Body    string
	Doc     string
	Origin  string
	Private bool
}

func (*Def) ToLaTeX

func (info *Def) ToLaTeX() string

type Preamble

type Preamble struct {
	Defs       set.Set[*Def]
	Snippets   set.Set[*Snippet]
	TikZStyles set.Set[*TikZStyles]
}

func New

func New() Preamble

func (Preamble) ToLaTeX

func (preamble Preamble) ToLaTeX() string

func (Preamble) ToLaTeXDefs

func (preamble Preamble) ToLaTeXDefs() string

func (Preamble) ToTikZStyles

func (preamble Preamble) ToTikZStyles() string

type Snippet

type Snippet struct {
	Code    string
	Private bool
}

type TikZStyles

type TikZStyles struct {
	Code    string
	Private bool
}

Jump to

Keyboard shortcuts

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