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

定理环境 #3

Closed
stone-zeng opened this issue Mar 31, 2017 · 1 comment
Closed

定理环境 #3

stone-zeng opened this issue Mar 31, 2017 · 1 comment

Comments

@stone-zeng
Copy link
Owner

stone-zeng commented Mar 31, 2017

目标

实现类似 thmtools 的功能。核心考虑使用 ntheorem

例子

%% 导言区
\fdunewtheorem[style=plain, headerfont=xxx, bodyfont=xxx]{theorem}{定理}
\fdunewtheorem[style=nonumberplain, qed={\ensuremath{\QED}}]{proof}{证明}
%% 导言区

\begin{theorem}
    这是一个定理。
\end{theorem}

\begin{proof}
    Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos
    & generaliter nullam in infinitum ultra quadratum potestatem in duos
    eiusdem nominis fas est dividere cuius rei demonstrationem mirabilem sane
    detexi. Hanc marginis exiguitas non caperet.
\end{proof}
@stone-zeng
Copy link
Owner Author

已在 3d89c14 中处理;在 b2cb4b5 中增加警告与提示;在 829a28a 中将 \fdunewtheorem 重命名为 \newtheorem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant