moved the tex-table.ss file somewhere accessible and documented it

svn: r10708
This commit is contained in:
Robby Findler 2008-07-10 17:21:00 +00:00
parent de3b46aa5b
commit 1858924c50
3 changed files with 12 additions and 3 deletions

View File

@ -7,7 +7,7 @@
mred/mred-sig mred/mred-sig
mzlib/match mzlib/match
"../preferences.ss" "../preferences.ss"
"tex-table.ss" mrlib/tex-table
"sig.ss") "sig.ss")
(import mred^ (import mred^

View File

@ -17,6 +17,7 @@
@include-section["path-dialog.scrbl"] @include-section["path-dialog.scrbl"]
@include-section["plot.scrbl"] @include-section["plot.scrbl"]
@include-section["switchable-button.scrbl"] @include-section["switchable-button.scrbl"]
@include-section["tex-table.scrbl"]
@section{Acknowledgments} @section{Acknowledgments}

View File

@ -1,5 +1,13 @@
#lang scheme/base #lang scheme/base
(provide tex-shortcut-table) (require scheme/contract)
(define (string-len-one? x)
(and (string? x)
(= 1 (string-length x))))
(provide/contract
[tex-shortcut-table
(listof (list/c string? string-len-one?))])
(define tex-shortcut-table (define tex-shortcut-table
'(("Downarrow" "⇓") '(("Downarrow" "⇓")
@ -142,7 +150,7 @@
("cong" "≌") ("cong" "≌")
("sqsubsetb" "⊏") ("sqsubsetb" "⊏")
("sqsupsetb" "⊐") ("sqsupsetb" "⊐")
("neq" "≠") ("neq" #;"≠" "≠")
("smile" "⌣") ("smile" "⌣")
("sqsubseteq" "⊑") ("sqsubseteq" "⊑")
("sqsupseteq" "⊒") ("sqsupseteq" "⊒")