改變 \frame{} 的邊框顏色 2024-6-17 • graphics color framed 我正在使用該\frame{}命令在圖像周圍繪製一個框,例如\frame{\includegraphics{...}}.有沒有辦法改變這個盒子的顏色呢?預設情況下它是黑色的。 答案1 \documentclass{article} \usepackage{xcolor,graphicx} \begin{document} \frame{\includegraphics[width=3cm]{example-image-duck}} \textcolor{red}{\frame{\includegraphics[width=3cm]{example-image-duck}}} \end{document} 相關內容