3.6 ACM Paper Format
#lang scribble/acmart | package: scribble-lib |
Note: a scribble/acmart document must include a title and author.
Example:
#lang scribble/acmart |
@title{Surreal Numbers} |
@author{Ursula N. Owens} |
语法
语法
语法
语法
语法
语法
语法
语法
语法
语法
语法
语法
#lang scribble/acmart @acmsmall |
The manuscript, acmsmall, acmlarge, acmtog, sigconf, siggraph, sigplan, sigchi, and sigchi-a formats are all mutually exclusive.
#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
函数
pre-content : pre-content?
语法
(include-abstract module-path)
函数
(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?
函数
pre-content : pre-content?
函数
(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?
函数
(acmJournal journal ...) → block?
journal : pre-content?
函数
(acmConference name date venue) → block?
name : pre-content? date : pre-content? venue : pre-content?
函数
content : pre-content?
函数
content : pre-content?
函数
(acmArticle content ...) → block?
content : pre-content?
函数
content : pre-content?
函数
content : pre-content?
函数
(acmArticleSeq content ...) → block?
content : pre-content?
函数
content : pre-content?
函数
content : pre-content?
函数
content : pre-content?
函数
text : pre-content?
函数
(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
函数
(affiliation? aff) → boolean?
aff : any/c
函数
(institution [ #:departments departments] inst ...) → institution?
departments : (or/c pre-content? institution? (listof institution)) = '() inst : institution?
函数
(institution? inst) → boolean
inst : any/c
#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?
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?
添加于package scribble-lib的1.29版本。
函数
content : pre-content?
函数
content : pre-content?
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.
函数
content : pre-content?
函数
number? : #f content : pre-content?
@received{February 2007} @received[#:stage "revised"]{March 2009} @received[#:stage "accepted"]{June 2009}
函数
(teaserfigure content ...) → block?
content : pre-flow?
函数
content : pre-flow?
函数
(marginfigure content ...) → block?
content : pre-flow?
函数
(margintable content ...) → block?
content : pre-flow?
函数
content : pre-flow?
函数
(screenonly content ...) → block?
content : pre-flow?
函数
(anonsuppress content ...) → block?
content : pre-flow?
函数
(grantsponsor sponsorID name url) → content?
sponsorID : string? name : string? url : string?
函数
url : string? = #f sponsorID : string? num : string?
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版本。