derivation-trees-0.7.2: Typeset Derivation Trees via MetaPost

DerivationTrees

Contents

Synopsis

Basics

TeX extras

tex :: String -> [TeX] -> TeXSource

(!) :: TeX -> TeX -> TeXSource

newtype TeX Source

Constructors

TeX String 

Instances

(<>) :: Monoid a => a -> a -> aSource

Derivation' building

haltDrv :: TeX -> Derivation -> DerivationSource

More compact variant

haltDrv' :: TeX -> Derivation -> DerivationSource

Used when the rest of the derivation is known.

abortDrv :: Tree t1 (Rule t) -> Tree k (Rule t)Source

rule :: TeX -> TeX -> Rule ()Source

type Derivation = Derivation' ()Source

type Premise = Link ::> Derivation' ()Source

data Rule tag Source

Constructors

Rule 

Fields

tag :: tag
 
style :: LineStyle
 
delimiter :: TeX
 
label :: TeX
 
conclusion :: TeX
 

Instances

Show tag => Show (Rule tag) 

Figure building

data Figure tag Source

Constructors

Figure 

Fields

ident :: Int
 
contents :: Derivation' tag
 

Engine