Skip to content
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

不支持 algorithm2e 吗? #438

Closed
LikeTheWindGone opened this issue Dec 6, 2024 · 1 comment
Closed

不支持 algorithm2e 吗? #438

LikeTheWindGone opened this issue Dec 6, 2024 · 1 comment
Labels
I need help I want to get help from developers

Comments

@LikeTheWindGone
Copy link

操作系统

MacOS

TeX 套件

TeXLive 2019 或更早的版本

TeX Compiler

XeTeX

zjuthesis 版本号

10.0.0.1

MajorFormat

cs

Degree

graduate

Type

thesis

Period

final

BlindReview

false

GradLevel

master

问题描述

修改 package.tex 算法有关部分如下
%\usepackage[chapter]{algorithm}
\usepackage{algorithm2e}
%\usepackage{algorithmic}

\usepackage{mathptmx} % Use times font in equation env (#426 #425)

编译日志

zjuthesis.log

代码

No response

截图

No response

其他信息

No response

@LikeTheWindGone LikeTheWindGone added the I need help I want to get help from developers label Dec 6, 2024
@ljcppp
Copy link

ljcppp commented Dec 10, 2024

对,因为 config/packages.tex 中已经加载的算法包和 algorithm2e 不兼容。
这是我的简单手动 patch 方法,可能不科学/严谨,但是能用(x

  • 修改 config/format/general/heading.tex
    image
  • 修改 config/format/general/numbering.tex
    image
  • 修改 config/packages.tex
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I need help I want to get help from developers
Projects
None yet
Development

No branches or pull requests

3 participants