From c62d008cfb4cbefe59b29ed245e73c82eafb08b0 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Fri, 26 Jun 2020 16:22:16 -0500 Subject: [PATCH] add \usepackage{txfonts} to the defaults for latex in scribble related to racket/gui#128 --- scribble-lib/info.rkt | 2 +- scribble-lib/scribble/latex-render.rkt | 4 ++++ scribble-lib/scribble/scribble-load.tex | 1 + scribble-lib/scribble/scribble.tex | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scribble-lib/info.rkt b/scribble-lib/info.rkt index a6cf7305..669f5e6c 100644 --- a/scribble-lib/info.rkt +++ b/scribble-lib/info.rkt @@ -23,4 +23,4 @@ (define pkg-authors '(mflatt eli)) -(define version "1.35") +(define version "1.36") diff --git a/scribble-lib/scribble/latex-render.rkt b/scribble-lib/scribble/latex-render.rkt index 68cb1399..34d64c4c 100644 --- a/scribble-lib/scribble/latex-render.rkt +++ b/scribble-lib/scribble/latex-render.rkt @@ -1317,6 +1317,10 @@ [(#\⋱) "$\\ddots$"] [(#\⋯) "$\\cdots$"] [(#\⋯) "\\hdots"] + [(#\⊸) "$\\multimap$"] + [(#\⟜) "$\\multimapinv$"] + [(#\⅋) "$\\invamp$"] + [(#\□) "$\\square$"] [else (cond [(char<=? #\uAC00 c #\uD7AF) ; Korean Hangul diff --git a/scribble-lib/scribble/scribble-load.tex b/scribble-lib/scribble/scribble-load.tex index 7da426e8..ee07af01 100644 --- a/scribble-lib/scribble/scribble-load.tex +++ b/scribble-lib/scribble/scribble-load.tex @@ -8,6 +8,7 @@ \newcommand{\packageWasysym}{ \let\leftmoon\relax \let\rightmoon\relax \let\fullmoon\relax \let\newmoon\relax \let\diameter\relax \usepackage{wasysym}} +\newcommand{\packageTxfonts}{\usepackage{txfonts}} \newcommand{\packageTextcomp}{\usepackage{textcomp}} \newcommand{\packageFramed}{\usepackage{framed}} \newcommand{\packageHyphenat}{\usepackage[htt]{hyphenat}} diff --git a/scribble-lib/scribble/scribble.tex b/scribble-lib/scribble/scribble.tex index dec3a0b4..3b4baac2 100644 --- a/scribble-lib/scribble/scribble.tex +++ b/scribble-lib/scribble/scribble.tex @@ -6,6 +6,7 @@ \packageRelsize \packageMathabx \packageWasysym +\packageTxfonts \packageTextcomp \packageFramed \packageHyphenat