创建重叠文本和图像

创建重叠文本和图像

我正在尝试为我的硕士论文制作一个标题页,并且我希望我的名字(以文本书写)和签名(带有透明背景)稍微重叠。

我的想法是调整图片和文字之间的距离,但我不知道该怎么做。

\begin{figure}[h]
\centering
\includegraphics[width=0.35\textwidth]{Illustrations/signature-01.eps}
% adjust distance here to make the picture and the text overlap
\centerline{\large\normalfont\bfseries NAME}
\end{figure}

我也尝试过使用标题,但我无法用命令删除标题标签。当我使用类和包\caption*时,它似乎不起作用。memoirsidecap

工作示例

\documentclass[a4paper, twoside]{memoir}

% Packages (most of them)
\usepackage[english, danish]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{gensymb}    

% Titlepage
\newlength{\drop}%
\newcommand*{\titleMS}{\begingroup% MS Thesis
\thispagestyle{empty}
\newgeometry{left=25mm,right=25mm}
\drop=0.1\textheight
\vspace*{0.5\drop}
\centering
{\huge\sffamily\bfseries
UNIVERSITY \\
\Large\sffamily\mdseries Department}\\[2\baselineskip]
{\LARGE\sffamily\bfseries TITLE}\par

\vfill

{\Large Master's Thesis\\ 30 \textsc{ects} points}\par

\vfill

{\large \textbf{Author}\\
NAME\\
EDUCATION\\
\textbf{Supervisors}\\
NAME AND TITLE\\
\textbf{Submitted}\\
DATE}\par

\vspace{\drop}

\begin{figure}[h]
\centering
\includegraphics[width=0.35\textwidth]{Illustrations/signature-01.eps}
% adjust distance here to make the picture and the text overlap
\centerline{\large\normalfont\bfseries NAME}
\end{figure}

\vspace*{\drop}
\endgroup
\pagebreak
\restoregeometry}


\begin{document}
\fontfamily{pplj}\selectfont
\selectlanguage{english}
\titleMS
my\end{document}

答案1

我们也可以使用命令来在这里分隔部分,但我们给它一个负空间。我尝试清理一下代码。

由于您想为标题页留出额外的边距,您可以完全放弃回忆录,制作标题页并将其包含在论文中。 确实没有必要为边距而烦恼。

christoffer标题页

\documentclass[a4paper]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\usepackage{xcolor}
\geometry{margin=25mm}

\newlength{\drop}%
\newcommand*{\titleMS}{
    \begin{titlepage}
\fontfamily{pplj}\selectfont
    \drop=0.1\textheight
    \vspace*{0.5\drop}
    \centering
    {\huge\sffamily\bfseries
        UNIVERSITY \par
    \Large\sffamily\mdseries Department\par}
    \vspace{2\baselineskip}
    {\LARGE\sffamily\bfseries TITLE\par}
    \vfill
    {\Large Master's Thesis\\ 30 \textsc{ects} points\par}
    \vfill
    {\large \textbf{Author}\par
    NAME\par
    EDUCATION\par
    \textbf{Supervisors}\par
    NAME AND TITLE\par
    \textbf{Submitted}\par
DATE\par}

\vspace{\drop}

    % adjust distance here to make the picture and the text overlap
%\includegraphics[width=.35\linewidth]{example-image-a}\par
{\color{gray!50}\fontsize{40pt}{56pt}\usefont{T1}{qzc}{m}{it} Christoffer\par}
\vspace{-.7\baselineskip}
    {\large\normalfont\bfseries NAME\par}
\end{titlepage}
}
\begin{document}
\titleMS
\end{document}

相关内容