#touying: composer slide broken

19 messages · Page 1 of 1 (latest)

frozen mesa
#

the composer slide seems to be broken right now, even just using the given exaple. It seems that composer wants a function instead of an array

#

@stray gale

#

even with the simple theme

native osprey
#

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

frozen mesa
native osprey
#

try columns: (1fr, auto)

#

Alternatively, try

composer: utils.with.side-by-side(columns: (1fr, auto), gutter: 1em)

frozen mesa
frozen mesa
native osprey
frozen mesa
# native osprey 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.
]
stray gale
#

update it to 0.3.3

#

the version is "there are no breaking changes in these versions, so you can update it with confidence"

#

composer: utils.side-by-side.with(columns: (1fr, auto), gutter: 1em)