在下面的代码中,如何将徽标放在左侧,同时保持标题下的内容仍然居中并与徽标处于同一水平。欢迎提出任何建议。
\documentclass[11pt,a4paper,addpoints]{exam}
\noprintanswers
%\printanswers
\pointsinmargin
%\pointsinrightmargin
%\bracketedpoints
\boxedpoints
%\noboxedpoints
\parindent=0pt
\title{UNIVERSITY OF MALTA\\FACULTY OF SCIENCE \vspace{-1em}}
\author{Department of Mathematics\\B.SC.(Hons.) YEAR 1\\January 2013 Examination Session\\MAT1511 Analytical Geometry \qquad January 25, 2016}
\date{11.45 a.m. - 1.45 p.m }
\begin{document}
\maketitle
Answer THREE QUESTIONS
\hrule
\end{document}
答案1
只需使用\includegraphics{}
并定位在相对于中心的所需位置,
\documentclass[11pt,a4paper,addpoints]{exam}
\usepackage{graphicx}
\noprintanswers
%\printanswers
\pointsinmargin
%\pointsinrightmargin
%\bracketedpoints
\boxedpoints
%\noboxedpoints
%https://tex.stackexchange.com/questions/102066/how-to-insert-logo-in-exam-document-class
\parindent=0pt
\title{\begin{picture}(0,0)\unitlength=1cm
\put (-5,-1) {\includegraphics[width=5em]{example-image-a}}
\end{picture}UNIVERSITY OF MALTA\\FACULTY OF SCIENCE \vspace{-1em}}
\author{Department of Mathematics\\B.SC.(Hons.) YEAR 1\\January 2013 Examination Session\\MAT1511 Analytical Geometry \qquad January 25, 2016}
\date{11.45 a.m. - 1.45 p.m }
\begin{document}
\maketitle
Answer THREE QUESTIONS
\hrule
\end{document}
你可以得到:
您\put ({x}, {y})
可以定义x-y
徽标位置的坐标。