![当章节标题位于页面顶部时,有没有办法在章节标题前留出垂直空间?](https://linux22.com/image/477940/%E5%BD%93%E7%AB%A0%E8%8A%82%E6%A0%87%E9%A2%98%E4%BD%8D%E4%BA%8E%E9%A1%B5%E9%9D%A2%E9%A1%B6%E9%83%A8%E6%97%B6%EF%BC%8C%E6%9C%89%E6%B2%A1%E6%9C%89%E5%8A%9E%E6%B3%95%E5%9C%A8%E7%AB%A0%E8%8A%82%E6%A0%87%E9%A2%98%E5%89%8D%E7%95%99%E5%87%BA%E5%9E%82%E7%9B%B4%E7%A9%BA%E9%97%B4%EF%BC%9F.png)
\documentclass[a4paper,12pt]{article}
%twoside yaz iki taraflı için
\usepackage[top=2.5 cm, bottom=2.5 cm, left=4 cm, right=2.5 cm]{geometry}
\usepackage[turkish,shorthands=:!]{babel}
\usepackage[backend=biber,style=numeric, sorting=none]{biblatex}
\usepackage{titlesec}
\titlespacing{\section}{0pt}{8 cm}{40pt}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\begin{document}
\section{hi}
Latex is the best
\subsection{how are you?}
But sometimes it's hard
\end{document}
我可以使用命令轻松地在节标题后给出位置
\titlespacing{\section}{0pt}{8 cm}{40pt}
{40 pt} 用于此目的并且工作良好,但是当部分位于页面开头的顶部 {8 cm} 时什么也不做。