floatstyle
调用floatstyle{boxed}
和命令后如何恢复默认设置\restylefloat{figure}
?
答案1
你可以恢复plain
风格:
\documentclass{article}
\usepackage{float}
\floatstyle{boxed}
\restylefloat{figure}
\begin{document}
\begin{figure}
\centering
A
\caption{A boxed figure}
\end{figure}
\floatstyle{plain}
\restylefloat{figure}
\begin{figure}
\centering
A
\caption{A regular figure}
\end{figure}
\end{document}