-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
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
Layout primitives #23
Comments
So you like this side by side content? I feel like this is covered by Typst builtins. For the title, that should be handled by the theme. Did you have anything else in mind? |
It is fairly easy to build this sort of stuff with the builtins but I think side-by-side, title-body, etc. are layouts that are common for slides regardless of theme and it would be nice to have commands that you can call to just immediately get those layouts without colors, banners and more. What I find nice with PP/Google Slides is that you can very easily draft up something and group content like this. Then if I want to style it I can apply a proper theme on top of it or do the styling myself. |
I think what you are proposing is rather that the default theme is less "opinionated"? So it looks more like the document you linked to above? We could discuss that. Because right now, if you do "nothing", you get some colours and decoration by the default theme. |
That's one way to look at it. I do like that typst-slides have one/many opinionated themes. It's just that I want to be able to control the content layout separately as well. |
Maybe I don't fully understand what kind of layout controlling you want, yet. If it's "just" this side-by-side thing, then i suggest using |
Yea, that's what I'm already doing. But I think there is something to be said about having slide-specific commands. The side-by-side layout is trivial but very common. So, my argument is that it's more comfortable to have something like
where There is a fine line between this and, as you said before, having the default theme less opinionated. I think what I'm looking for is something where I build my own theme on top of this. I really like In the end it would be cool to be able to compose layouts and build/style themes on top of these slide-specific "primitives", if you understand me better now? |
Would something along these lines help you? And then we could maybe provide a "theme tool box" containing those primitives. You are right that there are many repeating elements in theme creation. A bit of thought would have to go into good abstractions there. |
Oh, I didn't see that feature! But yes, I agree. Here's a slightly better example of what I'm thinking...
Layout primitives could be simple show-rules, but again, specially suited for slides and ready to use from the get-go. Maybe the toolbox/package can include ways of marking the content, like your |
This update is mostly for history. Here's an even more involved example. Things to take note of:
|
Cool ! I've also did a theme for the university, find it here: #21 I tried to create it as modular as possible, feel free to pick ideas and/or suggest improvements! |
Nice theme @drupol, looks very beamer-esque! It would be cool to collect a few more official templates and recreate them (like I did for my university). Do you have any thoughts after implementing it? In this issue I wanted to hear thoughts on the things I listed before. I haven't made very many or very complicated slides in Typst, yet, so if you have any insights I'd love to hear more. |
Hi, love the work!
Do you have/have plans for/any thoughts on layout primitives (theme-agnostic layouts)? See the attached pdf where I imitate google slides.
main.pdf
The text was updated successfully, but these errors were encountered: