页面顶部的垂直间隙

页面顶部的垂直间隙

顶部有一个垂直间隙,因此我认为该页面的内容会转移到另一个页面。我尝试在网上搜索解决方案。但对我都不起作用。你能帮帮我吗?

谢谢。

以下是PDF的代码和图像。

\documentclass[12pt,a4paper]{article}

\usepackage[T1]{fontenc}

\usepackage{fancybox}

\usepackage{float}

\usepackage{graphicx}
\graphicspath{ {images/} }

\usepackage{fontspec}
\setmainfont{Times New Roman}

\usepackage{tikz}
\usetikzlibrary{calc}

\linespread{1.5}

\begin{document}


\begin{center}
    
    \begin{tikzpicture}[remember picture,overlay]
        \draw[black,line width=2pt] ([xshift=-1.5cm,yshift=-1.5cm]current page.north east)
        coordinate (A)--([xshift=1.5cm,yshift=-1.5cm]current page.north west)
        coordinate(B)--([xshift=1.5cm,yshift=1.5cm]current page.south west)
        coordinate (C)--([xshift=-1.5cm,yshift=1.5cm]current page.south east)
        coordinate(D)--cycle;
    \end{tikzpicture}

    \thispagestyle{empty}
    Title
    
    Subtitle
    \begin{figure}[h]
        \centering
        \includegraphics[width=1\textwidth]{logo.jpg}
    \end{figure}
    
    {\large \textbf{Project Name}} \\
    
    {\normalsize On} \\
    
    {\large \textbf{Project Title}} \\
    \textit{subtext} \\
    {\large \textbf{Degree}} \\
    {\normalsize \textbf{In}} \\
    {\large \textbf{Degree Title}} \\
    {\normalsize \textbf{Submitted by}} \\
    {\normalsize Name} \\
    {\normalsize \textbf{Under}} \\
    Name \\
    {\normalsize \textbf{Under}} \\
    Name \\
    SCHOOL name \\
    Address. \\
    Year
\end{center}

\newpage
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

\end{document}



第 1 页:
第 1 页

第2页:
第2页

相关内容