NY Times 스타일과 유사한 캡션, 하위 캡션 및 소스를 표시하려면 어떻게 해야 합니까?

NY Times 스타일과 유사한 캡션, 하위 캡션 및 소스를 표시하려면 어떻게 해야 합니까?

NY Times의 Upshot 블로그에 사용된 스타일을 모방한 LaTeX 문서를 만들고 싶습니다(예:뉴욕 타임즈).

원하는 출력은 다음과 같습니다.


원하는 출력


다음과 같은 기능이 있습니다.

  • 그림 시작 부분의 얇은 회색 선
  • 큰 제목
  • 제목 아래에 간단한 설명
  • 도표
  • 차트 아래에 "소스" 텍스트 크기의 각주
  • 닫힌 얇은 회색 선

이것이 내가 지금까지 가지고 있는 것입니다:

\documentclass{article}

% Helps the layout (put tables (H)ere!)
\usepackage{float}
\floatstyle{ruled}
\restylefloat{figure}

\begin{document}

\section{Chart Example}

This is some text above the chart.

<<fig.cap="Chart showing Cars Data", fig.pos="H", echo=FALSE, message=FALSE>>=
plot(cars)
@

And here is some text below the chart.

\end{document}

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

관련 정보