#import "@preview/starter-journal-article:0.4.0": article, author-meta #show: article.with( title: "Article Title", authors: ( "Haonan Chen": author-meta( "xmu", // email: "chn@chn.moe", ), "Junyong Kang": author-meta( "xmu", email: "jykang@xmu.edu.cn" ) ), affiliations: ( "xmu": "Xiamen University", ), abstract: [#lorem(100)], keywords: ("Typst", "Template", "Journal Article"), ) // 行号 #set par.line(numbering: "1") // 两端对齐 #set par(justify: true) #set par(first-line-indent: (amount: 2em, all: true)) // 中文使用思源宋体,英文使用 Times New Roman #set text(font: ("Times New Roman", "Source Han Serif SC")) // 图表标题 #show figure.caption: it => { set text(10pt) align(center, box(align(left, it), width: 80%)) } // 页码 #set page( numbering: "1/1", ) // TODO: why globally set placement not work? // #set figure(placement: none) // 标题序号 #set heading(numbering: "1.") // 增加标题的间距 #show heading: set block(below: 1em) // 公式编号 #set math.equation(numbering: "(1)") #include "introduction.typ" #include "method/default.typ" #include "result/default.typ" #include "appendix/default.typ" #include "others/default.typ" #bibliography("./ref.bib", title: "Reference", style: "american-physics-society") #include "todo.typ"