Skip to content

Commit

Permalink
Add printer test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrswift committed Jul 13, 2024
1 parent 9360d8e commit 4507ae4
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl.typ
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
place(left , pad(1cm,gradient-printer-test()))

place(right+bottom, pad(1cm,circular-printer-test(size: 2cm)))
place(left+bottom , pad(1cm,crosshair-printer-test(size: 1em)))
place(left+bottom , pad(1cm,crosshair-printer-test()))
}
)

Expand Down
Binary file added tests/printer-test/ref/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions tests/printer-test/test.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#import "../../src/lib.typ" as springer-spaniel

#show: springer-spaniel.template(
title: [Towards Swifter Interstellar Mail Delivery],
authors: (
(
name: "Joana Swift",
institute: "Primary Logistics Departmen",
address: "Delivery Institute, Berlin, Germany",
email: "[email protected]"
),
(
name: "Egon Stellaris",
institute: "Communications Group",
address: "Space Institute, Florence, Italy",
email: "[email protected]"
),
(
name: "Oliver Liam",
institute: "Missing Letters Task Force",
address: "Mail Institute, Budapest, Hungary",
email: "[email protected]"
)
),
abstract: lorem(75),
printer-test: true,
)

0 comments on commit 4507ae4

Please sign in to comment.