Skip to content

Conversation

@YDX-2147483647
Copy link
Member

Fixes #589
Fixes #338 (again)
Relates to #445

例子

  1. 本科模板中,代码 2.1(再次)改正为代码 2-1

    图片
    图片

  2. misc/autoref/algo选项仍然正常。

图片

\BITSetup{ misc / autoref / algo = {所谓“算法”} }
\usepackage[ruled, algochapter]{algorithm2e}
\begin{algorithm}
    \caption{An algorithm with caption}\label{alg:two}
    $i\gets 10$\;
    \eIf{$i\geq 5$}
    {
        $i\gets i-1$\;
    }{
        \If{$i\leq 3$}
        {
            $i\gets i+2$\;
        }
    }
\end{algorithm}

@fky2015 fky2015 added this pull request to the merge queue Mar 20, 2025
Merged via the queue into BITNP:main with commit 7c37def Mar 20, 2025
3 checks passed
@YDX-2147483647 YDX-2147483647 deleted the hook branch March 20, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 未使用listing宏包警告LaTeX: Command `\thelstlisting' already defined -- not changed. 代码块caption

2 participants