remove latex template
This commit is contained in:
55
paper/main.typ
Normal file
55
paper/main.typ
Normal file
@@ -0,0 +1,55 @@
|
||||
#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.")
|
||||
|
||||
#include "introduction.typ"
|
||||
#include "method.typ"
|
||||
#include "result/default.typ"
|
||||
#include "appendix/default.typ"
|
||||
#include "others/default.typ"
|
||||
|
||||
#bibliography("./ref.bib", title: "Reference", style: "american-physics-society")
|
||||
Reference in New Issue
Block a user