我正在尝试在 overleaf 中制作一个首页模板,但出现了以下错误:段落 5--5 行的 \hbox 未满(badness 10000)
我尝试使用的数字不在正确的位置:
它看起来应该是这样的:
实际情况是这样的:
这是我使用的代码:
\begin{titlepage}
\newgeometry{hmargin=2.5cm,vmargin=2cm}
\begin{figure}
\centering
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{logo_UCL.png}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.3\textwidth}
\centering
\includegraphics[width=\textwidth]{logo_ELIE.jpg}
\end{subfigure}
\end{figure}
\vspace*{\stretch{0.5}}
\begin{center}
\makeatletter
\textsc{Materials and methods}\\
\vspace*{\stretch{0.1}}
\textsc{First version}
\vspace*{\stretch{0.5}}
\LARGE
\textbf{\@title}
\vspace*{\stretch{1}}
\normalsize
\begin{tabular*}{\textwidth}{l @{\extracolsep{\fill}} r}
\textbf{Supervisor} & \textbf{Student} \\
\supervisor & \@author \\
\\
\textbf{Cosupervisor} \\
\assistantsupervisor \\
\end{tabular*}
\vspace*{\stretch{2}}
\textsc{Academic year : 2023-2024} \\
\vspace*{\stretch{0.1}}
\makeatother
\end{center}
\restoregeometry
\end{titlepage}
以及我是如何使用它的:
\documentclass[12pt,a4paper,twoside,openright]{extreport}
\usepackage{parskip}
\usepackage{subfigure}
\usepackage{graphicx}
\usepackage[
a4paper,
top=2cm,bottom=2cm,
outer=2cm,inner=3cm,
includeheadfoot
]{geometry}
\usepackage[a-1a]{pdfx}
\usepackage{subcaption}
\usepackage{svg}
\usepackage{amsmath}
\usepackage[output-decimal-marker={,}]{siunitx}
\usepackage{setspace}
\usepackage{biblatex}
\bibliography{Lac Tanganyika}
\title{Identification of water quality spatiotemporal variability on estuarine areas of Lake Tanganyika}
\author{Aurélien Lengrand}
\date{GG/MM/AAAA}
\newcommand{\supervisor}{Vanclooster Marnik}
\newcommand{\assistantsupervisor}{Alonso Alice}
\begin{document}
\pagenumbering{roman}
\pagestyle{empty}
\input{title_page}
\cleardoublepage
\section{Schéma global}
\section{Chlorophyll-A}
This map \cite{bergamino_spatio-temporal_2010}
\section{Remote sensing}
\section{OCX equation}
\printbibliography[]
\end{document}
以下是我的背面文档的链接: