盲猜 `subfloat` 传参问题。
```tex
\documentclass{article}
\usepackage{subfig}
\usepackage[demo]{graphicx}
\begin{document}
other part of code which compiles fine
\begin{figure}
\centering
\subfloat[][a]{\includegraphics{}\label{}}
\subfloat[][b]{\includegraphics{}\label{}}
\caption{Comparison of steady state results (a) x method (b) y method}
\label{steady_state}
\end{figure}
%remaining part
\end{document}
```
reference: https://tex.stackexchange.com/questions/111822/using-subfloat-to-place-figures-side-by-side
学习之余也要会自己多探索,加油啊。
![](https://pics.latexstudio.net/data/images/202002/fd2c897947314ad.png)
回答: 2020-02-16 13:44
一周热门 更多>