我正在写一封求职信moderncv
,想将徽标的位置与姓名字段/个人信息垂直对齐(徽标和姓名应平行/垂直对齐)。但是,我当前的代码将徽标置于姓名/个人信息之上。
\documentclass[11pt,a4paper,roman]{moderncv}
\usepackage[english]{babel}
\usepackage{ragged2e}
\usepackage{float}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{fontspec}
\setmainfont{Georgia}
\moderncvstyle{classic}
\moderncvcolor{green} % Bullet point color
% Page margins
\usepackage[scale=0.8]{geometry} % Page margins
% Your Information, please revise
\name{Don}{Jones}
\address{123 Lane}{City, Zip}
\phone[mobile]{123-123-1234}
\email{[email protected]}
%--------------------------------------%
\begin{document}
%--------------------------------------%
% Insert Logo
\begin{minipage}[t]{\textwidth}
\includegraphics[width=0.60\textwidth]{signature_print.jpg}
\end{minipage}
\recipient{Dear Members of the Search Committee,}{}
\opening{\vspace*{-2em}}
\closing{Sincerely,}{\vspace*{-2em}}
\enclosure[Enclosures]{Curriculum Vitae, Writing Sample, Transcript}
\makelettertitle
\justifying
My resume is enclosed, and will give you further insight into my skill set and experience. I would like to schedule an interview so I could express my desire to join XXX company and learn more about the position.
\vspace{0.5cm}
\makeletterclosing
\end{document}
答案1
最简单的方法是将图像移动到以下位置:
\documentclass{moderncv}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\moderncvstyle{classic}
\moderncvcolor{green} % Bullet point color
% Page margins
\usepackage[scale=0.8]{geometry} % Page margins
% Your Information, please revise
\name{Don}{Jones}
\address{123 Lane}{City, Zip}
\phone[mobile]{123-123-1234}
\email{[email protected]}
\recipient{Dear Members of the Search Committee,}{}
\opening{\vspace*{-2em}}
\closing{Sincerely,}{\vspace*{-2em}}
\enclosure[Enclosures]{Curriculum Vitae, Writing Sample, Transcript}
%--------------------------------------%
\begin{document}
%--------------------------------------%
\raisebox{\dimexpr-.5\height-2.5\baselineskip}[0pt][0pt]{%
\includegraphics[width=0.6\textwidth,height=3\baselineskip]{example-image}%
}%
\makelettertitle
My resume is enclosed, and will give you further insight into my skill set and experience. I would like to schedule an interview so I could express my desire to join XXX company and learn more about the position.
\vspace{0.5cm}
\makeletterclosing
\end{document}
当然,如果你只是打印一封信,就没有必要使用moderncv
;您只需使用该类即可article
。