racket/collects/scribblings/scribble/lncs.scrbl
Eli Barzilay d61eb53686 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00

58 lines
1.9 KiB
Racket

#lang scribble/manual
@(require (except-in "utils.rkt" author)
(except-in (for-label scribble/lncs/lang) #%module-begin))
@(define-syntax-rule (def base-author)
(begin
(require (for-label scribble/base))
(define base-author @racket[author])))
@(def base-author)
@title{LNCS Paper Format}
@defmodulelang[scribble/lncs #:use-sources (scribble/lncs/lang)]{
The @racketmodname[scribble/lncs]
language is like @racketmodname[scribble/manual], but configured with
Latex style defaults to use the @filepath{llncs.cls} class
file. The class file is not included with Scribble due to license issues,
but if the file is not manually installed into the
@racket[scribble/lncs] collection, then it is downloaded on demand to
@racket[(find-system-path 'addon-dir)].}
@defproc[(abstract [pre-content pre-content?] ...) block?]{
Generates a @tech{nested flow} for a paper abstract.}
@defform[(include-abstract module-path)]{
Similar to @racket[include-section], but incorporates the document in the
specified module as an abstract. The document must have no title or
sub-parts.}
@defform/subs[(authors auth ...)
([auth (author pre-content-expr ...)
(author #:inst str-expr pre-content-expr ...)])
#:contracts ([pre-content-expr pre-content?]
[str-expr string?])]{
A replacement for @base-author from @racketmodname[scribble/base].
The @racket[#:inst] should be a number that matches up to one of the
arguments to @racket[institutes].
}
@defform[#:literals (institute)
(institutes (institute pre-content-expr ...) ...)
#:contracts ([pre-content-expr pre-content?])]{
The @racket[pre-content-expr]s are used as the institutions of the authors.
}
@defidform[institute]{For use only in @racket[institutes].}
@defform[(email pre-content-expr ...)]{
Specifies an email address; must be used inside @racket[institute].
}