标题页下部空白太多

标题页下部空白太多

我的问题是,标题页下部有太多空白。理想情况下,从 inked_logo 往下的所有元素都应该分布得更好。最后一个文本元素(“Things”)应该与页脚一样往下。

\documentclass[12pt,a4paper]{article}
\setlength{\headheight}{75pt}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{alphabeta} 

\usepackage[pdftex]{graphicx}
\usepackage{geometry}

\linespread{1.06}
\setlength{\parskip}{8pt plus2pt minus2pt}

\widowpenalty 10000
\clubpenalty 10000

\newcommand{\eat}[1]{}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\usepackage[official]{eurosym}
\usepackage{enumitem}
\setlist{nolistsep,noitemsep}
\usepackage[hidelinks]{hyperref}
\usepackage{cite}
\usepackage{lipsum}
\usepackage{booktabs}
\usepackage{tikz} % image front
\usepackage{fancyhdr} %header
\pagestyle{fancy} %header

\fancyhf{}
\fancyhead{\includegraphics[width=\textwidth]{header_inked}}
\fancyfoot[LE,RO]{\thepage}

\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}


\begin{document}

%===========================================================
\begin{titlepage}
\begin{center}

% Top  Logo
\begin{tikzpicture}[remember picture, overlay]
\node[anchor=north west, inner sep=0pt] at (current page.north west) {\includegraphics[width=\paperwidth, height=0.4\paperheight]{inkedHF}};
\end{tikzpicture}

\vspace{75mm}

% Title
\begin{flushleft}
{\LARGE 
  \textbf{Title}\\[0.1cm]
  \textbf{Title again}\\[0.4cm]
  {\scriptsize hello \\ Stand: \today}
}
\end{flushleft} 

\vfill

% Logo Business
\begin{figure}[h]
\centering
  \includegraphics[width=0.4\textwidth]{inked_logo}
\end{figure}


\vfill

% Infos
\begin{flushleft}
{\large Version x.y\newline
hello\newline
Date: \today}
\end{flushleft}

% Bottom 
{\tiny Things}

\end{center}
\end{titlepage}

答案1

我删除了 fancyhdr 和 \headheight 内容,因为 titlepage\pagestyle{empty}无论如何都会设置。除非你想在每个页面上都显示那个巨大的徽标...

center 和 Flushleft 环境每次都会在上方和下方添加空间,我想您不会想要这样。如果您想与页面底部重叠,只需\vspace在末尾添加一些负片即可。

棘手的部分是使日期与文本区域底部齐平。

\documentclass[12pt,a4paper]{article}
\usepackage[showframe]{geometry}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{alphabeta} 

\usepackage{graphicx}


\linespread{1.06}
\setlength{\parskip}{8pt plus2pt minus2pt}

\widowpenalty 10000
\clubpenalty 10000

\newcommand{\eat}[1]{}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\usepackage[official]{eurosym}
\usepackage{enumitem}
\setlist{nolistsep,noitemsep}

\usepackage{lipsum}
\usepackage{booktabs}
\usepackage{tikz} % image front

\usepackage[hidelinks]{hyperref}
\usepackage{cite}
\begin{document}

%===========================================================
\begin{titlepage}
% Top  Logo
\begin{tikzpicture}[remember picture, overlay]
\node[anchor=north west, inner sep=0pt] at (current page.north west) {\includegraphics[width=\paperwidth, height=0.4\paperheight]{example-image}};
\end{tikzpicture}
\vspace*{\dimexpr 0.4\paperheight-1in-\topmargin-\headheight-\headsep-\topskip}
\hrule height0pt
\raggedright
{\LARGE 
  \textbf{Title}\\[0.1cm]
  \textbf{Title again}\\[0.4cm]
  {\scriptsize hello \\ Stand: \today}
}
\vfill

% Logo Business
\centering
  \includegraphics[width=0.4\textwidth]{example-image}
\vfill

% Infos
\vbox{\raggedright% fills entire width
\large Version x.y\newline
hello\newline
Date: \today}
% Bottom 
\vbox to \footskip{\vfill
\centering
{\tiny Things}}\vspace{-\footskip}
\end{titlepage}
\end{document}

相关内容