Forgot password?
 Create new account
Author: abababa

行间公式加脚注,怎么才能让脚注标号在同一行

[Copy link]

701

Threads

110K

Posts

910K

Credits

Credits
94177
QQ

Show all posts

kuing Posted at 2017-6-1 22:17:48
回复 20# abababa

只是要紧随脚注的话,其实用 minipage 也行,不过可能需要调节行距、缩进之类的一些细节。

418

Threads

1628

Posts

110K

Credits

Credits
11891

Show all posts

 Author| abababa Posted at 2017-6-1 23:22:48
Last edited by abababa at 2017-6-1 23:37:00回复 21# kuing

minipage 的以前也看过,这个mdtheorem可能也是用minipage做的。

现在对这个有点感觉了,用如下的方式:

\newtheorem{proof}{证明}% (*)
\theoremstyle{nonumberplain}%这个好像是表示不对证明编号
\usepackage[ntheorem]{mdframed}
\newmdtheoremenv{myproof}[proof]{证明}%这里的[proof]必须和前面(*)处的proof同名才行。

这样之后,用proof环境就是脚注在最底下,用myproof环境就是脚注随着证明之后。newmdtheoremenv还有一些选项,能调背景色之类的,但我想把边框调没。另外在myproof中的注释编号是a,可能是用英文字母编号的,还不知道怎么换成数字编号。

边框的那个找到了,是用下边的实现的:
\newmdtheoremenv[topline=false,rightline=false,leftline=false,bottomline=false]{xproof}[proof]{证明}

为了让那个白方格在myproof中也出现,还得在前面加上
\theoremsymbol{\ensuremath{\square}}

418

Threads

1628

Posts

110K

Credits

Credits
11891

Show all posts

 Author| abababa Posted at 2022-12-19 17:06:14
这回在myproof里用了一下footnotemark,然后脚注的那个正文里显示的是1,2,3这样的,而底下的注释里显示的是a,b,c这样的,并且都没有链接,这个能让它显示一致吗?

  1. \begin{myproof}
  2. \begin{align*}
  3. ax^2+bx+c
  4. &=\footnotemark[1] 2x^2+3x+5\\
  5. &=10
  6. \end{align*}
  7. \footnotetext[1]{
  8. $a=2,b=3,c=5$。
  9. }
  10. \end{myproof}
Copy the Code


其中的myproof的定义如下:
  1. \theoremsymbol{\ensuremath{\square}}
  2. \mdfdefinestyle{proofStyle}{linewidth=0pt,innerleftmargin=0,innerrightmargin=0,innertopmargin=-\topskip}
  3. \newmdtheoremenv[style=proofStyle]{myproof}{证明}
Copy the Code


我发现我没定义proofStyle,是不是内置的?

手机版Mobile version|Leisure Math Forum

2025-4-20 22:26 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list