【问题标题】:How to increase font size of just chapter names in latex如何在乳胶中增加章节名称的字体大小
【发布时间】:2021-03-31 17:41:10
【问题描述】:

这里需要一个小的指导。 我正在使用报告类,我不需要每个章节的章节编号,只需要章节名称。

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

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


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

观察:

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

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

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

谢谢

【问题讨论】:

标签: latex


【解决方案1】:

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

\documentclass[11pt]{report}

\usepackage{lmodern}

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

\begin{document}
\chapter{Introduction}

text
\end{document}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-04
    • 1970-01-01
    • 1970-01-01
    • 2013-04-03
    相关资源
    最近更新 更多