Structure EmitTeX


Source File Identifier index Theory binding index

signature EmitTeX =
sig
    include Abbrev

    val texLinewidth              : int ref
    val texPrefix                 : string ref
    val emitTeXDir                : string ref

    val non_type_definitions      : string -> (string * thm) list
    val non_type_theorems         : string -> (string * thm) list
    val datatype_theorems         : string -> (string * thm) list
    val print_datatypes           : string -> unit
    val datatype_thm_to_string    : thm -> string

    type override_map = string -> (string * int) option
    val raw_pp_term_as_tex        : override_map -> term PP.pprinter
    val raw_pp_type_as_tex        : override_map -> hol_type PP.pprinter
    val raw_pp_theorem_as_tex     : override_map -> thm PP.pprinter

    val pp_term_as_tex            : term PP.pprinter
    val pp_type_as_tex            : hol_type PP.pprinter
    val pp_theorem_as_tex         : thm PP.pprinter

    val print_term_as_tex         : term -> unit
    val print_type_as_tex         : hol_type -> unit
    val print_theorem_as_tex      : thm -> unit
    val print_theory_as_tex       : string -> unit

    val print_theories_as_tex_doc : string list -> string -> unit

    val tex_theory                : string -> unit
end


Source File Identifier index Theory binding index

HOL 4, Kananaskis-14