如何增加乳胶中章节名称的字体大小

问题描述

这里需要一个小的指导。 我用的是报表类,不需要每一章的章号,只需要章名。

有没有办法只增加章节名称的字体大小?

\documentclass[11pt]{report}
\usepackage[utf8]{inputenc}


\begin{document}
\chapter{Introduction}
\end{document}

观察:

Attached code output

Wanted result with greater font size

章节编号将被删除。我非常感谢任何增加章节名称字体大小的指导。

我尝试了以下方法删除章节编号。但是字体大小引起了一些关注

\titleformat{\chapter}[display]
{\normalfont\bfseries}{}{5pt}{\huge}

谢谢

解决方法

您可以通过 \titleformat 的第三个参数控制章节标题的字体大小。在您的示例中,这是 \normalsize,将其更改为您喜欢的任何大小:

\documentclass[11pt]{report}

\usepackage{lmodern}

\usepackage{titlesec}
\titleformat{\chapter}[display]{\fontsize{56pt}{64pt}\bfseries}{}{5pt}{}

\begin{document}
\chapter{Introduction}

text
\end{document}

enter image description here