그림 캡션을 볼드체로 만드는 방법

그림 캡션을 볼드체로 만드는 방법

그림 캡션을 만들면 LaTeX는 자동으로 부품을 만든 Figure1:다음 캡션을 만듭니다. 해당 부분을 굵게 표시하는 방법은 무엇입니까 Figure1? 내 그림 TeX 코드는 다음과 같습니다.

\begin{figure}[ht!]
\includegraphics[width=80mm]{images/tftype.png}|\includegraphics[width=80mm]{images/tftype1.png}
\caption{An overview of structural variants of transcription factors. Each specific variant binds to a certain class of DNA motifs (shown in blue).  Some of the motifs have a high affinity for the TATAAA box were others favor specific sequences somewhere in the promoter region. {\small http://www.nature.com/scitable/resource?action=showFullImageForTopic\&imgSrc=37950/sadava\_14\_15\_FULL.gif}}
\end{figure}

저는 TeX을 처음 사용하는 사용자인데 아직도 뭔가 이상합니다. 도움을 주시면 감사하겠습니다.

내가 원하는 출력은 다음과 같습니다그림1:매우 흥미로운 정보

답변1

당신은 사용할 수 있습니다caption패키지; 키 labelfont를 사용하면 다음을 지정할 수 있습니다 bf.

\documentclass{article}
\usepackage{caption}
\captionsetup[figure]{labelfont=bf}

\begin{document}

\begin{figure}
\centering
A
\caption{test figure}
\end{figure}

\end{document}

여기에 이미지 설명을 입력하세요

이것이 (뿐만 아니라) 모든 수레에 적용된다면 figure,

\captionsetup[figure]{labelfont=bf}

다음과 같은 방법으로 패키지를 로드합니다.

\usepackage[labelfont=bf]{caption}

관련 정보