-
Notifications
You must be signed in to change notification settings - Fork 150
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
使用subfloat命令编译出错 #13
Comments
惭愧,我自己都忘了这是啥时候解决的问题了,先放着吧 ⊙﹏⊙b汗 |
并注释掉\renewcommand*{\thesubfigure}{(\alph{subfigure})},否则两个括号在子标题中。 |
或者修改 cls 文件中 |
然后在导言区加入以下代码实现引用子图时候显示成"1.1(a)"而不是"1.1a" |
或者可以使用 |
comments的窗口实在太小,就简单写一下报的错误:
!Undefined Control Sequence.
\in@ #1#2->begingroup \def in@@
1#1{}\toks@ \expandafter {\in@@ #2{}{}#1...
1.17 \subfloat
[xx]{
Starfish给出的临时解决方法是,将cls文件中的\RequirePackage{subfig}替换为
\RequirePackage{caption}
\RequirePackage{subcaption}
然后在文中使用下面的代码来画子图
\begin{figure}[h]
\centering
\subcaptionbox{First subfigure\label{subfloat:first}}
{\includegraphics[width=0.3\textwidth]{figure/childs2003_graph.pdf}}
\qquad
\subcaptionbox{Second subfigure\label{subfloat:second}}
{\includegraphics[width=0.3\textwidth]{figure/childs2003_graph.pdf}}
经测试,可以解决问题
The text was updated successfully, but these errors were encountered: