我对 Latex 还不太熟悉,我使用的模板在标语中有一个个人资料图片,但我不想使用它。但是一旦我删除图片,我的标语文本就会覆盖标题 这是我的标语代码:
\documentclass[%singlesided,
doublesided,
paper=a4,
fontsize=10pt
]{my-resume}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set geometry
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength\highlightwidth{8cm}
\setlength\headerheight{4cm} % note that margintop gets added to this value, i.e. the header bar is 5cm
\setlength\marginleft{1cm}
\setlength\marginright{\marginleft} % needs to be 1.5 times to be actually equal. why?
\setlength\margintop{1cm}
\setlength\marginbottom{1cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FONTS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{fontspec}
\setmainfont{Carlito}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COLORS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\colorlet{highlightbarcolor}{lightgray}
\colorlet{headerbarcolor}{darkgray}
\colorlet{headerfontcolor}{white}
\colorlet{accent}{awesome-red}
\colorlet{heading}{black}
\colorlet{emphasis}{black}
\colorlet{body}{black}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set document
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\name{Mr. Mohammed Ismail}
\tagline{I am passionate about programming and how the world is advanced by
the fourth industrial revolution day by day. I am very team and work
orientated and love helping my fellow class mates to learn about why
programming in this century is very important. The Use of Technology
has really impacted the world and teaches small business owners how
to be competitive with bigger more reputable companies.}
\makeheader
答案1
在末尾添加一个 \\ 就像这样
\tagline{我对编程充满热情,也对世界如何因第四次工业革命而日新月异的发展充满热情。我非常注重团队合作和工作,并且喜欢帮助我的同学了解为什么编程在这个世纪非常重要。技术的使用确实影响了世界,并教会小企业主如何与更大、更有信誉的公司竞争。 \\ }