![在 \title 和 \author 之间插入图片](https://linux22.com/image/383185/%E5%9C%A8%20%5Ctitle%20%E5%92%8C%20%5Cauthor%20%E4%B9%8B%E9%97%B4%E6%8F%92%E5%85%A5%E5%9B%BE%E7%89%87.png)
我正在尝试在标题页上插入图片之间实际标题和作者。我尝试使用,\titlepic{\includegraphics[width=70mm]{img/myimg.png}}
但这总是在标题、作者和日期之后插入图像。有没有办法将图像准确地插入到标题和作者之间?以下是展示该问题的示例文档:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{titlepic}
\usepackage{graphicx}
\title{LaTeX Test Document}
\author{John Smith }
\date{September 2018}
\titlepic{\includegraphics[width=70mm]{myimage.png}}
\begin{document}
\maketitle
\end{document}
输出结果如下:
答案1
你可以尝试titling
包:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{titling}
\pretitle{\begin{center}\fontsize{18bp}{18bp}\selectfont}
\posttitle{\vspace{14bp}\par\includegraphics[width=70mm]{respect-cat}\par\end{center}}
\preauthor{\begin{center}\fontsize{14bp}{14bp}\selectfont}
\postauthor{\par\end{center}}
\predate{\begin{center}}
\postdate{\par\end{center} }
\title{titling-proof}
\author{Kyu96}
\date{\today}
\begin{document}
\maketitle
\end{document}
你可以玩尺寸...