
지금은 크고 굵은 다음 글꼴로 장 제목을 얻고 있습니다.
그러나 일반 크기, 일반 텍스트, 일반 글꼴 유형, 가운데 맞춤 형식으로 변경하고 싶습니다.
위 그림의 "소개" 텍스트를 의미합니다. 내 일반 코드는 다음과 같습니다.
\documentclass[12pt]{report}
\usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]{geometry}
...
\begin{document}
...
\pagenumbering{arabic}
\setcounter{page}{1}
\begin{center}
INTRODUCTION
\end{center}
Hi there! I want my chapter text and the section text to be the same default font
...
\end{document}
편집: 이제 Hafid Boukhoulda가 권장하는 코드를 사용했으므로 글꼴을 변경할 수 있지만 페이지 번호가 빈 페이지에서 시작하고 소개 텍스트가 다음 페이지에서 시작된다는 다른 문제에 직면했습니다. 분명하다면. 내 코드는 다음과 같습니다
\fancyhf{}
\fancyhead[C]{\thepage}
\pagestyle{fancy}
\titleformat{\chapter}{\normalfont\centering}{}{0pt}{}
\titlelabel{}
\titlespacing*{\chapter}{0pt}{-50pt}{10pt}
\begin{document}
\setlength{\headheight}{50pt} %to note where the header lies.
\setlength{\headsep}{15pt} %to set the distance between header and the first line after it.
....
\pagenumbering{arabic}
\setcounter{page}{1}
\begin{center}
\chapter{INTRODUCTION}
\end{center}
정말 감사합니다!
답변1
\documentclass[12pt]{report}
\usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]{geometry}
\usepackage[rm,tiny]{titlesec}
\titleformat{\chapter}{\normalfont\centering}{}{0pt}{}
\titlelabel{}
\begin{document}
%\pagenumbering{arabic}
%\setcounter{page}{1}
\chapter{The chapter title in normal font}
\section{The section title in normal font}
The paragraph in normal font
\end{document}