Skip to content

Instantly share code, notes, and snippets.

@brunobord
Created December 1, 2023 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunobord/19d46b659fd78d65cfc2b48b5eb17709 to your computer and use it in GitHub Desktop.
Save brunobord/19d46b659fd78d65cfc2b48b5eb17709 to your computer and use it in GitHub Desktop.
Two-column translations with Typst
#let translations(english, german) = grid(
columns: (1fr, 1fr),
column-gutter: 1em,
text(lang: "en", english),
text(lang: "de", german),
)
#translations[
The quick brown fox jumps over the lazy dog.
][
Der flotte braune Fuchs springt über den faulen Hund.
]
#translations[
The quick brown fox jumps over the lazy dog.
][
Der flotte braune Fuchs springt über den faulen Hund.
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment