20 请求改写一个beamer样式

发布于 2025-07-12 06:01:27

https://github.com/sano-jin/express-beamer

日本TeX用户做的,但不是常规的目录结构,请求高手将之改写成常规的目录结构。

改好的文件请用文叔叔 https://www.wenshushu.cn/ 上传分享

查看更多

关注者
0
被浏览
192
Sagittarius Rover
我要成为Typst糕手/(ㄒoㄒ)/~~

0.本站不是一个「do-it-for-me」的地方,请你给出你的尝试
1.什么是「但不是常规的目录结构,请求高手将之改写成常规的目录结构」?请截图提供目录目前的样式预期的样式区别。
2.不建议使用外链做内容分享,有非常严重的过期风险,一旦过期,则本post将毫无意义。


我猜测你需要修改的「不是常规的结构」的代码由这里控制:

https://github.com/sano-jin/express-beamer/blob/e503e4b561b93dbd21fcf7efc7cba4ea2045b779/sty/zh-cn/style.sty#L240-L261

% https://github.com/sano-jin/express-beamer/blob/e503e4b561b93dbd21fcf7efc7cba4ea2045b779/sty/zh-cn/style.sty#L240-L261
\AtBeginSection[]{{
    \setbeamertemplate{headline}{}%
    \begin{frame}
      \tableofcontents[
        currentsection,
        sectionstyle=show/shaded,
        subsectionstyle=hide
      ]
    \end{frame}
}}

\AtBeginSubsection[]
{{
    \setbeamertemplate{headline}{}%
    \begin{frame}
      \tableofcontents[
        currentsection,
        sectionstyle=show/shaded,
        subsectionstyle=show/shaded/hide
      ]
    \end{frame}
}}
2 个回答
-XM-
-XM- 2天前
这家伙很懒,什么也没写!

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览