► |  | Scribble: The Racket Documentation Tool

1 | Getting Started
2 | @ Syntax
3 | High-Level Scribble API
4 | Scribbling Documentation
5 | Literate Programming
6 | Low-Level Scribble API
7 | Running scribble
| Index

▼ | 3 | High-Level Scribble API

3.1 | Base Document Format
3.2 | Racket Manual Format
3.3 | Book Format
3.4 | Report Format
3.5 | SIGPLAN Paper Format
3.6 | JFP Paper Format
3.7 | LNCS Paper Format

On this page:

abstract
include-abstract
author
author/ short
affiliation
affiliation-mark
affiliation-sep

6.8
top ← prev up next →

#### 3.6`` JFP Paper Format

#lang scribble/jfp | package: scribble-lib

The scribble/jfp language is like scribble/base, but configured with Latex style defaults to use the "jfp1.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 scribble/jfp collections, then it is downloaded on demand to (find-system-path 'addon-dir).

Latex output with scribble/jfp uses a main-document version supplied to title as the short-form document name (to be used in page headers).

> procedure (abstract pre-content ...) → block?
> pre-content : pre-content?

Generates a nested flow for a paper abstract.

> syntax (include-abstract module-path)

Similar to include-section, but incorporates the document in the specified module as an abstract. The document must have no title or sub-parts.

> procedure (author name ...) → block?
> name : pre-content?

A replacement for author from scribble/base.

> procedure ((author/short short-name ...) long-name ...) → block?
> short-name : pre-content?
> long-name : pre-content?

Like author, but allows the short-form names (to be used in page headers) to be specified separately from the long-form name.

> procedure (affiliation place ...) → element?
> place : pre-content?
> procedure (affiliation-mark mark ...) → element?
> mark : pre-content?
> procedure (affiliation-sep) → element?

Use affiliation within author or the long-name part of author/short to specify affiliations after all authors. If different authors have different affiliations, use affiliation-mark with a number after each author, and then use affiliation-mark before each different affiliation within a single affiliation, using (affiliation-sep) to separate affiliations.

Examples:

> #lang scribble/jfp
> @title{My First Love Story}
> @((author/short "Romeo M. and Juliet C.")
> "ROMEO" (affiliation-mark "1")
> " and "
> "JULIET" (affiliation-mark "2")
> @affiliation[
> "House Montague" (affiliation-mark "1")
> (affiliation-sep)
> "House Capulet" (affiliation-mark "2")])

top ← prev up next →