我可以控制标题中使用的字体大小part
。我可以控制单词在页面 Y 轴内的位置。但是对于太长的标题,我得到了以下丑陋的结果:单词“The Long”和“History of Parts”之间有很大的空格(在本例中 - 参见屏幕截图)。
我仍然希望能够使用大字体来显示部分标题,并让这些部分标题得到正确的布局(在这种情况下,两行之间的空间较小)。
% PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[oneside,centered,twocolumn]{book}
\usepackage[T1]{fontenc}
\special{papersize=215.9mm,279.4mm}
\usepackage[english]{babel}
\makeatletter\@addtoreset{chapter}{part}\makeatother%
\usepackage{xcolor} % For links color
\usepackage{showframe}
\usepackage{scrextend}
\usepackage{threeparttable} % For table notes + To allow footnote material to stay with the tabular environment
\usepackage{relsize,etoolbox} % To make table footnote font smaller and quotes small
\usepackage{titlesec}
\usepackage[linguistics,edges]{forest}
\usepackage{tikz}
\usepackage{titling}
\usepackage{fontspec}
\newfontfamily\headingfont[]{TeX Gyre Heros}
\titleformat{\part}[display]
{\bfseries\color{black}\filcenter\fontsize{60}{140}\headingfont} % Size of Part
{\Huge\MakeUppercase\headingfont\thepart}
{12pt}
{\tikz[remember picture,overlay]\node[inner sep=0pt] at ($(current page.north) +
(0pt,-400pt)$) {\includegraphics{example-image}};}
\begin{document}
\part{The Long History of Parts}
\end{document}