review
This commit is contained in:
parent
e2cc4ecfec
commit
56021ab305
6 changed files with 50 additions and 69 deletions
|
|
@ -21,6 +21,7 @@
|
|||
// department, organization, location, and email. Everything but
|
||||
// but the name is optional.
|
||||
authors: (),
|
||||
anon: false,
|
||||
|
||||
// The paper's abstract. Can be omitted if you don't have one.
|
||||
abstract: none,
|
||||
|
|
@ -81,7 +82,7 @@
|
|||
1
|
||||
}
|
||||
|
||||
set text(10pt, weight: 400)
|
||||
set text(10pt, weight: "regular")
|
||||
if it.level == 1 [
|
||||
#show: smallcaps
|
||||
#v(12pt, weak: true)
|
||||
|
|
@ -107,59 +108,40 @@
|
|||
// Start with names
|
||||
set align(center)
|
||||
let nbr_authors = authors.len()
|
||||
for (i,author) in authors.enumerate(){
|
||||
if i+1 == nbr_authors{
|
||||
[#author.name\ ]
|
||||
}else{
|
||||
[#author.name, ]
|
||||
if not anon{
|
||||
for (i,author) in authors.enumerate(){
|
||||
if i+1 == nbr_authors{
|
||||
[#author.name\ ]
|
||||
}else{
|
||||
[#author.name, ]
|
||||
}
|
||||
}
|
||||
}
|
||||
// Continue with affiliations
|
||||
for author in authors{
|
||||
if author.department+author.organization+author.location != ""{
|
||||
[#author.department, #author.organization, #author.location\ ]
|
||||
// Continue with affiliations
|
||||
for author in authors{
|
||||
if author.department+author.organization+author.location != ""{
|
||||
[#author.department, #author.organization, #author.location\ ]
|
||||
}
|
||||
}
|
||||
}
|
||||
// Continue with the emails, same way as for authors
|
||||
for (i,author) in authors.enumerate(){
|
||||
if i+1 == nbr_authors{
|
||||
[#author.email\ ]
|
||||
}else{
|
||||
[#author.email, ]
|
||||
// Continue with the emails, same way as for authors
|
||||
for (i,author) in authors.enumerate(){
|
||||
if i+1 == nbr_authors{
|
||||
[#author.email\ ]
|
||||
}else{
|
||||
[#author.email, ]
|
||||
}
|
||||
}
|
||||
[\*Corresponding author]
|
||||
}else{
|
||||
[
|
||||
\
|
||||
\
|
||||
\
|
||||
\
|
||||
|
||||
]
|
||||
}
|
||||
[\*Corresponding author]
|
||||
|
||||
set align(left)
|
||||
|
||||
// Display the authors list.
|
||||
//for i in range(calc.ceil(authors.len() / 3)) {
|
||||
// let end = calc.min((i + 1) * 3, authors.len())
|
||||
// let is-last = authors.len() == end
|
||||
// let slice = authors.slice(i * 3, end)
|
||||
// grid(
|
||||
// columns: slice.len() * (1fr,),
|
||||
// gutter: 12pt,
|
||||
// ..slice.map(author => align(center, {
|
||||
// text(12pt, author.name)
|
||||
// if "department" in author [
|
||||
// \ #emph(author.department)
|
||||
// ]
|
||||
// if "organization" in author [
|
||||
// \ #emph(author.organization)
|
||||
// ]
|
||||
// if "location" in author [
|
||||
// \ #author.location
|
||||
// ]
|
||||
// if "email" in author [
|
||||
// \ #link("mailto:" + author.email)
|
||||
// ]
|
||||
// }))
|
||||
// )
|
||||
|
||||
// if not is-last {
|
||||
// v(16pt, weak: true)
|
||||
// }
|
||||
//}
|
||||
v(40pt, weak: true)
|
||||
|
||||
// Start two column mode and configure paragraph properties.
|
||||
|
|
@ -169,7 +151,7 @@
|
|||
|
||||
// Display abstract and index terms.
|
||||
if abstract != none [
|
||||
#set text(weight: "regular")
|
||||
//#set text(weight: "regular")
|
||||
#h(1em) _Abstract_---#abstract
|
||||
|
||||
#if index-terms != () [
|
||||
|
|
@ -187,4 +169,3 @@
|
|||
bibliography(bibliography-file, title: text(10pt)[References], style: "ieee")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue