touying-typ / touying

Touying is a powerful package for creating presentation slides in Typst.
https://touying-typ.github.io/touying/
MIT License
460 stars 10 forks source link

How to center text horizontally? #47

Closed Wongboo closed 1 month ago

Wongboo commented 1 month ago

touying

截屏2024-05-30 12 12 34

beamer

截屏2024-05-30 12 12 28
Wongboo commented 1 month ago

BTW, it seems that touying is wider than beamer, how to fix it?

OrangeX4 commented 1 month ago
  1. #align(horizon)[...]
  2. aspect-ratio: "4-3"
Wongboo commented 1 month ago
  1. #align(horizon)[...]

  2. aspect-ratio: "4-3"

What if I want to align automatically for every slide ?

OrangeX4 commented 1 month ago

(s.methods.slide = s.methods.slide.with(setting: align.with(horizon)))

---Original--- From: @.> Date: Thu, May 30, 2024 12:51 PM To: @.>; Cc: @.**@.>; Subject: Re: [touying-typ/touying] How to center text horizontally? (Issue#47)

align(horizon)[...]

aspect-ratio: "4-3"

What if I want to align automatically for every slide ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Wongboo commented 1 month ago

Thanks sincerely!