This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (table headers #:config [config null] . body) | |
(table-env | |
(if (null? config) | |
(apply tabular headers body) | |
(apply tabular headers #:config config body)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (tabular #:config [config null] headers . entries) | |
(when (null? config) | |
(set! config | |
(make-list (length headers) "l"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket | |
(require "latex.rkt") | |
(provide | |
table | |
table-env | |
tabular) | |
(define (table #:config [config null] headers . body) | |
(table-env |