标题页上的图表位置

标题页上的图表位置

我试图在论文标题页中添加两张图片,但失败了……我的想法是将这两张图片放在标题页的右上角和左上角。但我设法得到的最好的结果是这样的:

在此处输入图片描述

看起来图像位置是由其下方的文本决定的 :s。这是一个基本问题,我在这里阅读了很多关于图形定位的帖子,但还没有找到解决方案,我已经被这个问题困扰了好几个小时 :(。

\documentclass[11pt, oneside]{Thesis} % The default font size and one-sided printing (no margin offsets)

\graphicspath{{./Pictures/}} % Specifies the directory where pictures are stored

\usepackage[T1]{fontenc}
\usepackage{mathtools}  % loads »amsmath«
\usepackage{amsmath}
\usepackage{physics}
\usepackage{float}

\usepackage{tabularx}
\usepackage{adjustbox}
\usepackage[english]{babel}
\usepackage[table]{xcolor}
\usepackage{tabularx}
%\usepackage{showframe} % for demo
\usepackage{lmodern}
\usepackage{microtype}
\usepackage{ragged2e}
\usepackage{lua-visual-debug}

\usepackage{placeins}
\usepackage{multirow}
\usepackage{graphicx} 
\usepackage{caption} 
\usepackage{subcaption}
\usepackage[square, numbers, comma, sort&compress]{natbib} 

\usepackage{booktabs}
%\usepackage[table,xcdraw]{xcolor}

\hypersetup{urlcolor=blue, colorlinks=true} % Colors hyperlinks in blue - change to black if annoying
\title{\ttitle} % Defines the thesis title - don't touch this

\begin{document}

%----------------------------------------------------------------------------------------
%   TITLE PAGE
%----------------------------------------------------------------------------------------

\begin{titlepage}
\begin{center}

\begin{figure}
\begin{subfigure}[b]{0.4\linewidth}
\raggedleft
\includegraphics[height=3cm]{UCL}%
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.4\linewidth}
\raggedright
\includegraphics[height=2cm]{EPL}%
\end{subfigure}
\end{figure}

\vfill

\textsc{\LARGE \univname}\\[1.5cm] % University name
\textsc{\Large Master's Thesis}\\[0.5cm] % Thesis type

\HRule \\[0.4cm] % Horizontal line
{\huge \bfseries \ttitle}\\[0.4cm] % Thesis title
\HRule \\[1.5cm] % Horizontal line

\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
{\authornames} % Author name - remove the \href bracket to remove the link
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisor:} \\
{\supname} % Supervisor name - remove the \href bracket to remove the link  
\end{flushright}
\end{minipage}\\[3cm]

\large \textit{A thesis submitted in fulfilment of the requirements\\ for the degree of \degreename}\\[0.3cm] % University requirement text
%\textit{in the}\\[0.4cm]
%\groupname\\\deptname\\[2cm] % Research group name and department name

{\large \today}\\[4cm] % Date
%\includegraphics{Logo} % University/department logo - uncomment to place it

\vfill
\end{center}

\end{titlepage}
\end{document}

答案1

这个怎么样?我不得不裁剪从网上找到的 UCL 徽标。请注意,您可以在底部更改大学徽标 ;o)

\documentclass[a4paper, 11pt, oneside]{thesis} % The default font size and one-sided printing (no margin offsets)
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[showframe, nomarginpar, noheadfoot]{geometry}
%
%%\graphicspath{{./Pictures/}} % Specifies the directory where pictures are stored
\usepackage{mathtools} % loads »amsmath«
%%\usepackage{physics}
\usepackage{float}

\usepackage{tabularx}
\usepackage{adjustbox}
\usepackage[english]{babel}
\usepackage[table]{xcolor}
\usepackage{tabularx}
%\usepackage{showframe} % for demo
\usepackage{lmodern}
\usepackage{microtype}
\usepackage{ragged2e}
%\usepackage{lua-visual-debug}

\usepackage{placeins}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[square, numbers, comma, sort&compress]{natbib}

\usepackage{booktabs}
\usepackage{tabularx} 

%\renewcommand{\tabularxcolumn}1{b{#1}} %\usepackage[table,xcdraw]{xcolor} % \usepackage{hyperref} \hypersetup{urlcolor=blue, colorlinks=true} % 将超链接颜色设为蓝色 - 如果讨厌则改为黑色 \title{\ttitle} % 定义论文标题 - 不要触碰此项

\def\univname{Université catholique de Louvain}
\def\HRule{\rule{\linewidth}{0.8pt}}
\def\ttitle{A very very long thesis tile}
\def\authornames{Charles Lutwige Dodgson}
\def\supname{John Tenniel}
\def\degreename{Master in Nonsense}

\usepackage{makecell} \begin{document}

%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------

\begin{titlepage}
  \centering
\begin{tabularx}{\linewidth}{@{}lXr@{}}
\makecell{\includegraphics[height=3cm]{UCL1}}
 & &\makecell{\includegraphics[height=2cm]{EPL}}\\
 \end{tabularx}\\%
  \vfill
  %
  \textsc{\LARGE \univname}\\[1.5cm] % University name
  \textsc{\Large Master's Thesis}\\[0.5cm] % Thesis type

  \HRule \\[0.667cm] % Horizontal line
  {\huge \bfseries \ttitle}\\[0.4cm] % Thesis title
  \HRule \\[1.5cm] % Horizontal line

  \begin{minipage}{0.4\textwidth}
    \begin{flushleft} \large
      \emph{Author:}\\
      {\authornames} % Author name - remove the \href bracket to remove the link
    \end{flushleft}
  \end{minipage}
  \begin{minipage}{0.4\textwidth}
    \begin{flushright} \large
      \emph{Supervisor:} \\
      {\supname} % Supervisor name - remove the \href bracket to remove the link
    \end{flushright}
  \end{minipage}%
  \vfill

  \large \textit{A thesis submitted in fulfilment of the requirements\\ for the degree of \degreename}\\[0.3cm] % University requirement text
  \textit{in the}\\[0.4cm]
  %\groupname\\\deptname\\[2cm] % Research group name and department name
  UPA group\\
  Cartoons Dept\\[2ex]

  {\large \today}\\[1ex] % Date
  \includegraphics[scale=0.25]{gerald-mcboing-boing} % University/department logo - uncomment to place it

\end{titlepage}

\end{document} 

在此处输入图片描述

答案2

像这样?

\documentclass{article}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{tikzpagenodes}
\usepackage[margin=1in]{geometry}
\usepackage{lipsum}

\begin{document}

\begin{tikzpicture}[remember picture,overlay]
 \node[anchor=north east] at (current page text area.north east) {\includegraphics[height=0.75in]{epl-logo}};
 \node[anchor=north west] at (current page text area.north west) {\includegraphics[height=0.75in]{UCL-logo}};
\end{tikzpicture}
\vspace{0.75in}

\lipsum
\end{document}

在此处输入图片描述

相关内容