
왜 논문 문서 클래스의 장 제목이 장 번호 아래에 위치합니까? 장 제목과 장 번호를 모두 한 줄에 배치해야 한다는 뜻입니다.
답변1
명시적 옵션과 함께 titlesec 패키지를 사용하는 솔루션은 다음과 같습니다.
\documentclass[11pt, twoside]{report}% http://ctan.org/pkg/amsproc
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[explicit]{titlesec}%
\usepackage{xcolor}
\titleformat{name=\chapter}[block]{\filcenter\color{blue}\normalfont\bfseries\huge\boldmath}{}{0ex}{#1\quad\fontsize{60}{72}\selectfont\thechapter}%
\begin{document}
\chapter{First Chapter}
Once upon a time, a long while ago, there were four little people whose names were Violet, Slingsby, Guy and Lionel, and they all thought they should like to see the world. So they bought a large boat to sail quite round the world by sea, and then they were to come back on the other side by land. The boat was painted blue with green spots, and the sail was yellow with red stripes; and when they set off, they only took a small Cat to steer and look after the boat, besides an elderly Quangle-Wangle, who had to cook dinner and make the tea; for which purposes they took a large kettle.
\end{document}
물론 \filcenter를 \fillleft나 filright로 변경할 수 있습니다.