We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
square
The square Function draws a square with optional content. It might have no body, making touying broken.
body
#import "@preview/touying:0.5.2": themes #import themes.simple: simple-theme #show: simple-theme.with(aspect-ratio: "16-9") #square()
error: content does not contain field "body" ┌─ @preview/touying:0.5.2\src\core.typ:1124:16 │ 1124 │ child.body, │ ^^^^
touying/src/core.typ
Lines 1119 to 1125 in 334f8a2
The text was updated successfully, but these errors were encountered:
Give an invisible body: #square("").
#square("")
Caveat: The square shrinks to fit this content, and no longer takes on the default 30pt.
30pt
Sorry, something went wrong.
Thanks! This is indeed a bug. You can bypass it for now by using #context square()
#context square()
fix: Allow a content to have no body
content
7c50ac7
Fixes touying-typ#73
d3c8377
Successfully merging a pull request may close this issue.
The
square
Function draws a square with optional content. It might have nobody
, making touying broken.touying/src/core.typ
Lines 1119 to 1125 in 334f8a2
The text was updated successfully, but these errors were encountered: