Skip to content

Commit

Permalink
test: add incr corpus
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Sep 18, 2023
1 parent ebb4b81 commit bfdb897
Showing 1 changed file with 157 additions and 0 deletions.
157 changes: 157 additions & 0 deletions fuzzers/corpora/viewers/preview-incr_01.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
#let text_base_size=10pt
#let text_h1_size=20pt
#let header_size_increment=3pt
#set page(
paper: "a4",
header: align(right)[
Multi-purpose Combat Chassis [FALKEN]
],
numbering: "1",
margin: (x:20mm, y:12.7mm)
)

#set par(justify: true)
#set text(
font: "LXGW WenKai",
size: text_base_size,
lang: "zh",
)
#let emp_block(body,fill:luma(230),stroke:orange) = {
block(
width:100%,
fill: fill,
inset: 8pt,
radius: 0pt,
stroke: (left:(stroke+3pt),right:(luma(200)+3pt)),
body,
)
}

#let booktab() = {
block(
width: 100%,
[
#line(length: 100%,stroke: 3pt+luma(140))
#move(line(length: 100%), dx: 0pt, dy: -9pt)
]
)
v(0pt, weak: true)
}

#show heading: it => block[
#let heading_size=text_h1_size - (it.level - 1) * header_size_increment
#set text(size: heading_size, font: "HarmonyOS Sans SC")
#emph(it.body)
]

#let img = "/assets/files/tiger.jpg"

= #lorem(4)

#outline(title:none, indent:auto, )

#booktab()

#lorem(5000)

#pagebreak()
== #lorem(3)

#emp_block()[
#lorem(100)
]
#booktab()

#lorem(5000)

#pagebreak()
== 隼的轻武器

#booktab()

#lorem(5000)

#let images_rkg3=("tiger.jpg","tiger.jpg")

#align(center)[
#stack(
dir: ltr,
..images_rkg3.map(n=>align(center)[#image(img, height:15%)])
)
]

#lorem(300)

#let images_pistol=("tiger.jpg","tiger.jpg")
#let cell = rect.with(
inset: 8pt,
fill: rgb("e4e5ea"),
width: 100%,
radius: 6pt
)
#grid(
columns: (1fr,1fr),
rows: (),
gutter: 3pt,
..images_pistol.map(n=>align(center)[#image(img, width:20%)])
)

#lorem(450)

#figure(
image(img, width: 50%)
)

#lorem(450)

#figure(
image(img, width: 50%)
)

#lorem(300)

=== 电磁枪

#lorem(450)

#pagebreak()
== 武器舱和背部重武器

#booktab()

#lorem(300)

#figure(
image(img, width: 60%),
caption: [30mm Rapid Railgun with Extended Barrel, also retrofitted as 2nd stage rail on Arclight]
)

#lorem(5000)

#figure(
image(img, width: 60%),
caption: [TGLS/Tactical Graviton Laser(Lance) System]
)

#lorem(1000)

#figure(
image(img, width: 60%),
caption: [炮管展开60°的状态]
)

#lorem(300)

#figure(
image(img, width: 80%),
caption: [4Sure Ballistics Man-Portable ASAT Missile]
)

#lorem(500)

#pagebreak()
== 辅助机 —— "FRAMER"

#booktab()

#lorem(500)

0 comments on commit bfdb897

Please sign in to comment.