基于 Typst 和 Touying 框架开发的演示文稿主题模板,灵感源自《吹响吧!上低音号》动画作品。通过现代排版系统实现优雅的演示文稿设计,适配学术汇报与创意展示场景。
功能演示 | 页面效果 |
---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
在项目根目录中新建 .typ
文件:
// 导入主题模板
#import "touying-euphonium.typ": *
// 应用主题配置
#show: euphonium-theme.with(
aspect-ratio: "16-9",
config-info(
title: [标题文本/内容块], // 主标题
subtitle: [副标题内容], // 副标题
institution: [机构名称], // 组织单位
author: [默认作者], // 单作者模式
authors: ([作者1], [作者2]), // 多作者模式
date: datetime(...), // 日期格式
)
)
以下是对 README 中内置函数部分的润色建议:
Caution
使用带有 background-image
参数的函数会导致编译速度变慢,建议在需要时使用。
// 基础标题页
#title-slide()
// 自定义背景标题页
#title-slide(
background-image: (
path: "path/to/image.jpg", // 图片路径(必填)
alpha: 50%, // 透明度(0%-100%)
),
)
// 基础焦点页
#focus-slide()[你的内容]
// 带背景焦点页
#focus-slide(
background-image: (
path: "path/to/image.jpg",
alpha: 50%,
),
)[你的内容]
// 标准目录页
#outline-slide()
// 便笺风格目录页(自定义样式)
#sticky-custom-outlines()
// 基础幻灯片
#slide()[你的内容]
// 背景图幻灯片
#slide(
background-image: (
path: "path/to/image.jpg",
alpha: 50%,
),
)[你的内容]