#touying: composer slide broken
19 messages · Page 1 of 1 (latest)
The error suggests you need to pass a function, not an array
You could try adding some sample function and seeing what happens
But if that's the manual example then something might be wrong
hmm just using (a=>a) gives the unexpected arguments error
should be its taken straight from the docs
Looks like a typo
try columns: (1fr, auto)
Alternatively, try
composer: utils.with.side-by-side(columns: (1fr, auto), gutter: 1em)
columns gives the error error: assertion failed: unexpected named arguments:("columns",)
also seems to fail with the exact same error, so I maybe think this is a bug
What is your code looking like?
#import "@preview/touying:0.3.2": *
#let s = themes.simple.register(aspect-ratio: "16-9")
#let s = (s.methods.info)(
self: s,
title: [a-title],
subtitle: [a-subtitle],
author: [placeholder],
date: datetime.today(),
institution: [uni],
)
#let (init, slides, touying-outline, alert) = utils.methods(s)
#show: init
// global settings
#set text(size:25pt)
#let (slide, title-slide, focus-slide) = utils.slides(s)
#show: slides
#slide[test]
#slide(composer: utils.side-by-side(columns: auto, gutter: 1em))[
First column.
][
Second column.
]