我使用
\titleformat{\section}{\normalfont\bfseries\color{blue}}{\thesection}{0.5em}{}
将部分标题设置为粗体,但是我发现标题比例不好,我只想在标题上设置scale =0.9
或更小,我该怎么做?我的乳胶引擎是xelatex。谢谢你的帮助。
MWE:
\documentclass[10pt,a4paper,oneside]{book}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{titlesec}
\titleformat{\part}{\normalfont\bfseries\color{black}}{\makebox[2em] {\thepart}}{0.5em}{}
\titleformat{\chapter}{\normalfont\bfseries\color{red}}{\thechapter}{0.5em}{}
\usepackage{graphicx}
\begin{document}
This line is Latin Modern font\\
This line is Latin Modern font\\
\bfseries{This line is Latin Modern font bold}
\end{document}