我该怎么做才能用框架遮住图号和标题?
我为此使用的代码是:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[h]
\centering
\includegraphics[bb=0 0 268 167, fbox]{fig1.jpg}
% fig1.jpg: 357x223 pixel, 96dpi, 6x4 cm, bb=0 0 268 167
\caption{ The circles $A_C$ and $B_C$ intersect only at the point $C$.}
\label{fig1}
\end{figure}
\end{document}
答案1
minipage
在浮动中插入一个框架:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\framebox{\begin{minipage}[t]{\linewidth}%
\includegraphics[width=\linewidth]{example-image-a}
\caption{Your caption}
\end{minipage}}
\end{figure}
\end{document}