-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.typ
38 lines (30 loc) · 907 Bytes
/
template.typ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#import "@preview/codelst:2.0.0": sourcecode
#import "@preview/tablex:0.0.7": tablex, hlinex
#set text(lang: "ja")
#set page(numbering: "1")
#set heading(numbering: "1.1")
#set text(font: (
"Times New Roman",
"Noto Serif CJK JP",
))
#show heading: set text(font: (
"Times New Roman",
"Noto Sans CJK JP",
))
#show raw: set text(font: (
"UDEV Gothic 35NFLG",
"Ubuntu Mono",
"Noto Sans Mono CJK JP",
))
// https://github.com/typst/typst/issues/311
#set par(first-line-indent: 1em)
#let afterpar(pad, it) = { it; par(text(size: .5em, "")); v(pad) }
#show heading: afterpar.with(0em)
#show figure: afterpar.with(-1.2em)
#set enum(tight: false)
#set quote(block: true)
#show figure.where(kind: raw): set figure.caption(position: top)
#let fullw(body) = box(width: 100%, align(start, body))
////////////////////////////////////////////////////////////////
#set enum(numbering: "1.")
= 目的