Ben Greenman
procedure
( add-commas r)→string?
r:real?
"42"
"42,000"
Always use the Oxford comma. Remember the Maine truck drivers! (settlement)
procedure
( format-url url)→element?
url:string?
procedure
( integer->word i[#:title?title?])→string?
"zero"
"forty-two"
"negative-eight-million-six-hundred-seventy-five-thousand-three-hundred-nine"
The current implementation fails unless (abs i) is less than 1 quadrillion.
procedure
( Integer->word i)→string?
procedure
Wikipedia: roman numeral
"II"
"IV"
"LIV"
"CI"
"MDLV"
procedure
5
4
49
0
procedure
'(X L I V)
procedure
( roman-symbol? x)→boolean?
x:any/c
#t
#f
#t
#f
syntax
syntax
.... end of previous paragraph.
@|noindent|Beginning of un-indented paragraph.
(element (style "relax" '(exact-chars)) '("\\frac{2}{3}"))
procedure
( definition termdef-elem*...)→paragraph?
term:string?def-elem*:pre-content?
(paragraph
(style #f '())
(list
(element (style "relax" '(exact-chars)) '("\\vspace{1ex}\n"))
(element 'bold '("Definition"))
(list
(element #f (list " (" (element 'emph '("rose")) ") "))
"A rose is a rose is a rose is a rose.")
(element (style "relax" '(exact-chars)) '("\\vspace{1ex}\n"))))
This usually looks good to me.
procedure
( Section-ref tag)→element?
tag:string?procedure
( section-ref tag)→element?
tag:string?
NOTE: This function is deprecated; use secref , instead.
Renders the section number for tag prefixed with the word "Section" (respectively, "section").
These functions assume that the following LaTeX command appears somewhere between the definition of Scribble’s SecRef (see Base Latex Macros) and the first occurrence of section-ref :
\renewcommand{\SecRef}[2]{#1}
procedure
( tech/guide pre-content...)→element?
pre-content:pre-content?
procedure
( tech/reference pre-content...)→element?
pre-content:pre-content?
procedure
( racketfile filename)→element?
filename:path-string?
procedure
#:titletitle#:startstartcode:string?title:#fstart:1keep-lang:#t
(string-join'("#lang racket/base""(require scribble-abbrevs/pict)""(codeblock-pict/numbers \"(+ 2 \n3)\")")"\n"))
procedure
#:margin-topmargin-top#:margin-bottommargin-bottom#:margin-leftmargin-leftp:pict?margin-top:2margin-bottom:2margin-left:2margin-right:2
See also frame .