在本页中:
manuscript
acmsmall
acmlarge
acmtog
sigconf
siggraph
sigplan
sigchi
sigchi-a
dtrap
tiot
tdsci
review
screen
natbib
anonymous
authorversion
9pt
10pt
11pt
12pt
abstract
include-abstract
title
subtitle
author
acm  Journal
acm  Conference
acm  Volume
acm  Number
acm  Article
acm  Year
acm  Month
acm  Article  Seq
acm  Price
acm  ISBN
acm  DOI
acm  Badge  L
acm  Badge  R
email
email?
affiliation
affiliation?
institution
institution?
authorsaddresses
shortauthors
terms
keywords
start  Page
ccsdesc
received
teaserfigure
sidebar
marginfigure
margintable
printonly
screenonly
anonsuppress
acks
grantsponsor
grantnum
7.0.0.18

3.6 ACM Paper Format

The scribble/acmart language is like scribble/base, but configured with LaTeX style defaults to use the acmart class for typesetting publications for the Association of Computing Machinery.

Note: a scribble/acmart document must include a title and author.

Example:

  #lang scribble/acmart

  @title{Surreal Numbers}

  @author{Ursula N. Owens}

语法

manuscript

语法

acmsmall

语法

acmlarge

语法

acmtog

语法

sigconf

语法

siggraph

语法

sigplan

语法

sigchi

语法

sigchi-a

语法

dtrap

语法

tiot

语法

tdsci

Enables the given document format. Use the format only on the same line as #lang, with only whitespace (or other options) between scribble/acmart and the format name:

  #lang scribble/acmart @acmsmall

The manuscript, acmsmall, acmlarge, acmtog, sigconf, siggraph, sigplan, sigchi, and sigchi-a formats are all mutually exclusive.

语法

review

语法

screen

语法

natbib

语法

anonymous

语法

authorversion

语法

9pt

语法

10pt

语法

11pt

语法

12pt

Enables the given document format option. Use the option only on the same line as #lang, with only whitespace (or other options) between scribble/acmart and the format option. Any number of options may be used:

  #lang scribble/acmart @acmsmall @review @anonymous @natbib

If multiple font size options are used, all but the last are ignored.

The ACM documentation (version 1.54, 2018-07-16, by Boris Veytsman) provides these defaults and descriptions:

name

 

default

 

description

review

 

false

 

A review version: lines are numbered and hyperlinks are colored

screen

 

see text

 

A screen version: hyperlinks are colored

natbib

 

true

 

Whether to use the natbib package

anonymous

 

false

 

Whether to make author(s) anonymous

authorversion

 

false

 

Whether to generate a special version for the authors’ personal use or posting

Further details for some of these are provided by the full documentation for the acmart LaTeX class.

In order to disable a default-true option (e.g. natbib), call the option as a function with the value #false:

#lang scribble/acmart @natbib[#f] @sigplan

函数

(abstract pre-content ...)  block?

  pre-content : pre-content?
Generates a nested flow for a paper abstract.

语法

(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.

函数

(title [#:short short-title    
  #:tag tag    
  #:tag-prefix prefix    
  #:style style    
  #:version version    
  #:date date]    
  title ...)  title-decl?
  short-title : pre-content? = #f
  tag : (or/c string? (listof string?) #f) = #f
  prefix : (or/c string? module-path? #f) = #f
  style : (or/c style? string? symbol? #f) = #f
  version : (or/c string? #f) = #f
  date : (or/c string? #f) = #f
  title : pre-content?
Specifies the title of the document, optionally with a short version of the title for running heads.

函数

(subtitle pre-content ...)  content?

  pre-content : pre-content?
Specifies a subtitle.

函数

(author [#:orcid orcid    
  #:affiliation affiliation    
  #:email email]    
  name ...)  block?
  orcid : (or/c pre-content? #f) = #f
  affiliation : 
(or/c pre-content?
      affiliation?
      (listof pre-content?)
      (listof affiliation?)
      #f)
 = #f
  email : (or/c pre-content? (listof pre-content?) #f) = #f
  name : pre-content?
Specifies an author with an optional email address, affiliation, and/or orcid.

函数

(acmJournal journal ...)  block?

  journal : pre-content?

函数

(acmConference name date venue)  block?

  name : pre-content?
  date : pre-content?
  venue : pre-content?

函数

(acmVolume content ...)  block?

  content : pre-content?

函数

(acmNumber content ...)  block?

  content : pre-content?

函数

(acmArticle content ...)  block?

  content : pre-content?

函数

(acmYear content ...)  block?

  content : pre-content?

函数

(acmMonth content ...)  block?

  content : pre-content?

函数

(acmArticleSeq content ...)  block?

  content : pre-content?

函数

(acmPrice content ...)  block?

  content : pre-content?

函数

(acmISBN content ...)  block?

  content : pre-content?

函数

(acmDOI content ...)  block?

  content : pre-content?
Declares information that is collected into the front-matter region of the paper.

函数

(acmBadgeL [#:url url] graphics)  block?

  url : string? = #f
  graphics : string?

函数

(acmBadgeR [#:url url] graphics)  block?

  url : string? = #f
  graphics : string?
Display a special badge, such as an artifact evaluation badge, on the left or right of the first page. If url is provided, the screen version of the image links to the badge authority.

函数

(email text ...)  email?

  text : pre-content?
Creates an email? object for use with author.

函数

(email? email)  boolean?

  email : any/c
Returns #t if email is an email, #f otherwise.

函数

(affiliation [#:position position    
  #:institution institution    
  #:street-address street-address    
  #:city city    
  #:state state    
  #:postcode postcode    
  #:country country])  affiliation?
  position : (or/c pre-content? #f) = #f
  institution : (listof (or/c pre-content? institution?)) = '()
  street-address : (or/c pre-content? #f) = #f
  city : (or/c pre-content? #f) = #f
  state : (or/c pre-content? #f) = #f
  postcode : (or/c pre-content? #f) = #f
  country : (or/c pre-content? #f) = #f
Creates an affiliation? object for use with author.

函数

(affiliation? aff)  boolean?

  aff : any/c
Returns #t if aff is an affiliation, #f otherwise.

函数

(institution [#:departments departments]    
  inst ...)  institution?
  departments : (or/c pre-content? institution? (listof institution))
   = '()
  inst : institution?
Creates an institution? object for use in author.

函数

(institution? inst)  boolean

  inst : any/c
Returns #t if inst is an institution, #f otherwise.

#lang scribble/acmart
@title{Some Title}
@author["David Van Horn"
        #:affiliation @affiliation[
                       #:institution
                       @institution[
                        #:departments (list @institution{Department of Computer Science}
                                            @institution{UMIACS})]{
                         University of Maryland}
                       #:city "College Park"
                       #:state "Maryland"]
        #:email "dvanhorn@cs.umd.edu"]}
 
@abstract{This is an abstract.}

函数

(authorsaddresses addresses ...)  block?

  addresses : pre-content?
Sets the text for the authors’ addresses on the first page in some styles. By default this field is set to the authors and their affiliation information.

The addresses parameter takes the address text. As a special case the empty list removes the addresses field entirely.

#lang scribble/acmart @acmsmall
@title{A fancy paper}
@author["Ronon Dex"]
@authorsaddresses{}

添加于package scribble-lib的1.26版本。

函数

(shortauthors name ...)  element?

  name : pre-content?
Sets the text for the names of the authors in the running header.

添加于package scribble-lib的1.29版本。

函数

(terms content ...)  content?

  content : pre-content?

函数

(keywords content ...)  content?

  content : pre-content?
Typesets term and keyword information for the paper, which is normally placed immediately after an abstract form. See also http://www.acm.org/about/class/how-to-use.

For terms, each general term should be in titlecase. Terms are usually drawn from a fixed list, and they are usually optional.

For keywords, capitalize only the first letter of the first word, separate phrases by commas, and do not include “and” before the last one. Keywords should be noun phrases, not adjectives.

函数

(startPage content ...)  content?

  content : pre-content?
Sets the start page for the paper.

函数

(ccsdesc #:number number? content ...)  content?

  number? : #f
  content : pre-content?
Declares CCS description with optional numeric code.

函数

(received [#:stage stage] date)  content?

  stage : string? = #f
  date : string?
Sets the history of the publication. If stage is omitted, it defaults to "Received" for the first occurrence and "revised" in subsequent uses.

@received{February 2007}
@received[#:stage "revised"]{March 2009}
@received[#:stage "accepted"]{June 2009}

函数

(teaserfigure content ...)  block?

  content : pre-flow?
Creates a teaser figure to appear before main text.

函数

(sidebar content ...)  block?

  content : pre-flow?

函数

(marginfigure content ...)  block?

  content : pre-flow?

函数

(margintable content ...)  block?

  content : pre-flow?
In the sigchi-a format, special sidebars, tables and figures on the margin.

函数

(printonly content ...)  block?

  content : pre-flow?

函数

(screenonly content ...)  block?

  content : pre-flow?

函数

(anonsuppress content ...)  block?

  content : pre-flow?
Marks content to be included only for print or screen editions, or excluded from anonymous editions.

函数

(acks content ...)  block?

  content : pre-flow?
Creates an unnumbered section “Acknowledgments” section, unless the anonymous mode is selected.

函数

(grantsponsor sponsorID name url)  content?

  sponsorID : string?
  name : string?
  url : string?

函数

(grantnum [#:url url] sponsorID num)  content?

  url : string? = #f
  sponsorID : string?
  num : string?
All financial support must be listed using the grantsponsor and grantnum commands inside of acks.

Here sponsorID is the unique ID used to match grants to sponsors, name is the name of the sponsor. The sponsorID of a grantnum must match some sponsorID of a grantsponsor command.

@acks{
  The author thanks Ben Greenman for helpful comments on this
  code. Financial support provided by the @grantsponsor["NSF7000"
  "National Scribble Foundation"]{http://racket-lang.org} under
  grant No.: @grantnum["NSF7000"]{867-5309}.}

添加于package scribble-lib的1.20版本。