建立重疊的文字和圖像

建立重疊的文字和圖像

我正在嘗試為我的碩士論文製作標題頁,我希望我的名字(以文字形式書寫)和簽名(透明背景)稍微重疊。

我的想法是調整圖片和文字的距離,但我不知道怎麼做。

\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*命令刪除標題標籤。當我使用memoir類別和包時,它似乎不起作用sidecap

工作範例

\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

我們也可以在此處使用該命令來分隔各部分,但我們給它一個負空格。我嘗試稍微清理一下程式碼。

如果您希望扉頁有額外的頁邊距,您可以將回憶錄完全放在這裡,製作您的扉頁並將其包含在論文中。搞亂邊距確實沒有什麼用處。

克里斯多福扉頁

\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}

相關內容