我是一个新的 LaTeX 用户,创建了一个简单的文档。现在,我想在标题图像后插入一些额外的空间。我该怎么做?我试过 \medskip,但它不起作用。另外,我该如何在图像之间插入空间——我能以某种方式控制空间量吗?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[cc]{titlepic}
\title{
\leavevmode\smash{\includegraphics[width=0.5\textwidth]{Logo.PNG}
\includegraphics [width=4cm]{Logo.PNG}
}
\medskip
Internship Report
}
\author{%
FirstName LastName
}
\date{\today}
\usepackage{natbib}
\usepackage{graphicx}
\begin{document}
\maketitle
答案1
标题包提供了完全可定制的 \maketitle
命令工具:
\documentclass[demo]{article}
\usepackage[utf8]{inputenc}
%
\usepackage{graphicx}
\usepackage{titling}
\setlength{\droptitle}{-20ex}
\renewcommand{\maketitlehooka}{\centering\includegraphics[width=0.5\textwidth]{Logo.PNG}
\quad\includegraphics [width=4cm]{Logo.PNG}\vskip 6ex}
\title{Internship Report}
\author{%
FirstName LastName
}
\date{\today}
\usepackage{natbib}
\usepackage{graphicx}
\begin{document}
\maketitle
\end{document}