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

section、chapter加脚注加引用。(\protect命令) #41

Open
shaodongtang opened this issue Oct 13, 2018 · 1 comment
Open

section、chapter加脚注加引用。(\protect命令) #41

shaodongtang opened this issue Oct 13, 2018 · 1 comment

Comments

@shaodongtang
Copy link

\protect
http://blog.sina.com.cn/s/blog_5e16f1770100ld2u.html
LaTeX会对表格或者图片的标题命令\caption{}中使用引用非常严苛(另外,section命令中使用脚注也是类似),可以把\protect命令放在命令前来修正。
如:
\caption{Data taken from \protect \cite{Efron79t}}
\section{data taken from \protect \footnote{the email of author}}

@muzimuzhi
Copy link

更一般地,所有出现在 moving argument 中的脆弱命令(fragile command)都需要用 \protect 保护。
参考:http://latexref.xyz/_005cprotect.html#g_t_005cprotect

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

No branches or pull requests

2 participants